Commit Graph

2479 Commits

Author SHA1 Message Date
Araq
fa02ffaeba made 'testament all' run in parallel 2017-10-25 17:37:03 +02:00
Araq
a5f1abc5ca testament: no sqlite or re dependencies anymore 2017-10-25 17:37:03 +02:00
Araq
14e236af05 don't use .this in tcustomstrings.nim 2017-10-25 17:37:03 +02:00
Fredrik Høisæther Rasch
e40bf9036f Testament HTML generation upgrade (#6058) 2017-10-25 13:48:59 +02:00
Thomas Johnson
61a50d9c8c Fixes #6571 (#6578) 2017-10-24 10:48:45 +02:00
Viktor Marosvary
ce04288d64 isAlphaNumberic and isDigit improvement + tests (#6579)
if we encounter a character that does not satisfy the proc, we return immediately, without continuing to loop over the rest of the chars in the string.
2017-10-24 10:22:18 +02:00
Andreas Rumpf
1a0032eb68 added broken tbintree test 2017-10-19 21:03:20 +02:00
Andreas Rumpf
4f633dde64 make nested custom seqs work 2017-10-19 13:29:11 +02:00
Andreas Rumpf
7b8c8f3e48 destructors: tcustomseqs less embarrassing 2017-10-17 22:32:38 +02:00
Andreas Rumpf
35c8b5e3bc destructors: irresponsibly simple tcustomseq test works 2017-10-17 22:04:40 +02:00
Andreas Rumpf
58d5f96790 destructors: lift type bound ops to objects and arrays etc 2017-10-17 14:48:16 +02:00
Andreas Rumpf
9485f1c888 make tests green again 2017-10-16 20:29:16 +02:00
Dominik Picheta
955b48cf15 Merge pull request #6495 from GULPF/Fix-countLeapYears
Fix countLeapYears
2017-10-16 15:40:29 +01:00
Daniil Yarancev
9570c6e6f4 Add a test-case for #1641 2017-10-16 14:04:36 +03:00
Araq
b219fc74ad fixes #5143 2017-10-16 12:45:43 +02:00
Andreas Rumpf
e6f0bff6dd make tests green again 2017-10-15 09:32:53 +02:00
Araq
a75f3b3661 fixes #4910 2017-10-14 22:35:20 +02:00
Araq
9af9480340 fixes #5620 2017-10-14 22:35:20 +02:00
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
Oscar Nihlgård
f2ba3d174c Fix countLeapYears 2017-10-10 15:47:12 +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