Commit Graph

2460 Commits

Author SHA1 Message Date
Daniil Yarancev
d2457c7979 @dom96's comments: remove bountysource, revert configurator change. 2017-10-14 16:03:50 +03:00
Daniil Yarancev
e29e6ec76e [JSON] getBVal -> getBool; getFNum -> getFloat 2017-10-14 15:49:53 +03:00
Andreas Rumpf
5dca695bcf new destroyer pass works with procs too 2017-10-13 07:00:52 +02:00
Andreas Rumpf
ffe52a7f7b added a test case for --newruntime 2017-10-13 06:39:26 +02:00
Andreas Rumpf
13f974336e Merge branch 'araq-stringify-array' into devel 2017-10-10 13:18:32 +02:00
Andreas Rumpf
8cdd89f456 make tests green again 2017-10-10 09:34:03 +02:00
Andreas Rumpf
55cb959a68 make tests green again; closes #5861 2017-10-10 09:18:31 +02:00
GULPF
8bd9c7a4e6 Add dst formatting tests (#6468)
* Rename ttime.nim => ttimes.nim
* Add formating tests for DST, closes #3199
* Make appveyor green
* Remove broken test
2017-10-10 01:05:31 +02:00
Andreas Rumpf
db0d353281 Merge branch 'stringify-array' of https://github.com/krux02/Nim into krux02-stringify-array 2017-10-09 23:46:24 +02:00
Andreas Rumpf
9d4f5c6d2c enable unguarded_access test 2017-10-02 23:35:56 +02:00
Andreas Rumpf
a883005f65 attempt to make appveyor green again 2017-10-02 23:25:21 +02:00
Dominik Picheta
7889c03cbc Add tests for examples from Nim in Action. 2017-10-01 17:17:40 +01:00
Andreas Rumpf
68c7da227f make tests green again 2017-10-01 07:46:13 +02:00
Andreas Rumpf
e8eb496e6f make tests green again 2017-09-30 22:34:54 +02:00
Andreas Rumpf
ddc131cf07 the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
GULPF
5cf789ac3f Improved unittest check macro, fixes #5784 (#6446) 2017-09-30 15:39:00 +02:00
Andreas Rumpf
f151b7efd1 added missing test for methods 2017-09-28 21:52:23 +02:00
Andreas Rumpf
414e7eff04 make tests green again 2017-09-26 23:07:37 +02:00
ephja
ea47234b35 Array typedesc len (#6032) 2017-09-17 15:48:02 +02:00
Daniil Yarancev
ae7fe5087f Closes #6083, closes #6086, closes #6379 (#6392) 2017-09-16 22:54:32 +02:00
Mamy Ratsimbazafy
5b8f33a905 Reorder json add and %, fixes #6385 (#6388)
* Reorder json `add` and `%`, fixes https://github.com/nim-lang/Nim/issues/6385

* rename json test files
2017-09-16 19:09:44 +01:00
Parashurama
88a5e9d88c Fix operations on string as openarray in VM. (#6257)
* fix openarray.len for string as openArray in VM.
* fix openarray[idx] for string as openArray in VM.
* fix openarray[idx]=val for string as openArray in VM.
* add tests for passing string as openArray in VM.
* fix issue with NimNode.len
NimNode.len was also returning len for string literals.
also fix logic bug in if/elif chain.
2017-09-15 13:35:57 +02:00
Yuriy Glukhov
7d49fc796d Changed JSON stringification to preserve UTF (#6330) 2017-09-15 10:53:58 +02:00
superfunc
d1f6ddfd64 Add counterpart to containsOrIncl for excl (#6360) 2017-09-15 10:49:32 +02:00
Simon Krauter
94e336fe85 Fix wrong result of countLines() (#6371) 2017-09-15 10:45:22 +02:00
superfunc
0ce26313a4 Add test for objvariant construction order
Fixes #4665
2017-09-09 15:45:19 -07:00
Araq
cf28222d2c attempt to make travis green again 2017-09-05 23:26:17 +02:00
Andreas Rumpf
b67ea9e73b fixes #6327 2017-09-05 09:03:09 +02:00
Araq
21e22624a2 fixes #6294 2017-09-05 01:03:23 +02:00
Araq
7132b04f44 equality check on NimSym has now support in the VM; refs #6139 2017-09-03 01:15:40 +02:00
Parashurama
0861249de7 Fix seq.setLen initialisation in VM (#6224) 2017-09-02 22:53:22 +02:00
Dominik Picheta
90fa64501f Implement .nimble-link files in the compiler and add tests for them. 2017-09-02 15:28:25 +01:00
Dominik Picheta
9b465a2361 Add readme to tests. Add fileDir option to testament & create nimble test. 2017-09-02 15:03:39 +01:00
Andreas Rumpf
27e89eef6b closes #3583 2017-09-01 16:22:23 +02:00
Andreas Rumpf
686a9ae66a tester: better error message comparisons 2017-08-31 21:39:24 +02:00
Andreas Rumpf
a08fb61da9 make tests green again 2017-08-31 13:59:25 +02:00
Andreas Rumpf
4846e4e452 tester: make 'nimout' matching more robust against whitespace issues 2017-08-31 13:59:06 +02:00
BigEpsilon
6f6e6fe4eb Fix #6295 (#6296) 2017-08-30 14:44:11 +02:00
Andreas Rumpf
920f4acadf fixes #6279 2017-08-29 00:33:46 +02:00
Jacek Sieka
22684370b0 remove ArrayDummySize with unchecked arrays (#5818) 2017-08-28 15:44:35 +02:00
Parashurama
f64eee3a1e add testcase for mitems returning tuple on VM. 2017-08-19 08:58:57 +02:00
Zahary Karadjov
7ad115f530 Restore the old behavior of parsing "quote do:"
close #5845
2017-08-19 08:57:43 +02:00
Zahary Karadjov
c3e5c6c326 treat var modifiers inside the concept body correctly: #1033 2017-08-19 08:57:43 +02:00
Daniil Yarancev
5c7ae14074 Fixes #5965 (#6237) 2017-08-14 17:43:39 +02:00
Daniil Yarancev
4bf6325739 Fix typo (#6236) 2017-08-12 14:00:40 +02:00
Andreas Rumpf
88b65ea957 fixes #6234 2017-08-11 20:14:44 +02:00
Andreas Rumpf
dfe067a74a reorder pass: consider the 'using' statement; disabled debug output 2017-08-11 20:14:44 +02:00
Arne Döring
608cc18178 reverted genEcho 2017-08-08 13:58:50 +02:00
Arne Döring
54808ab12f don't filter '\0' characters in string generation 2017-08-07 18:21:21 +02:00
Fredrik Høisæther Rasch
c39e202976 Introduce first class support for Android (#5772) 2017-08-06 02:18:15 +02:00