Commit Graph

14044 Commits

Author SHA1 Message Date
Yuriy Glukhov
410fd1deae Fixes 9716 [backport] (#9790)
* reuse temporary variable
* fixes #9716 [backport]
* Declare local vars in safer place
2018-11-24 10:50:48 +01:00
Dominik Picheta
47d0582ebf Merge pull request #9548 from tonygparsehub/put-delete
fix #8777 add missing http methods in httpClient
2018-11-23 22:45:28 +00:00
Arne Döring
56c4a4ae1f fix #9759 (#9789) 2018-11-23 16:19:35 +01:00
PMunch
a20169af91 Made nimsuggest importable as a library and add Nim-path override option (#9784)
* Made nimsuggest importable as a library and add Nim-path override option

* Remove leftover debug output
2018-11-23 15:45:48 +01:00
Alexander Ivanov
88d707cb88 Support only some types as JsAssoc types (#8627) 2018-11-23 15:05:15 +01:00
Araq
562d185cb7 cleanup tests; don't use non-working 'msg' spec field 2018-11-23 13:16:45 +01:00
Araq
2d0aa9b72b testament: remove debugging echo 2018-11-23 11:59:59 +01:00
Araq
e07188b79e threw away a silly test 2018-11-23 11:58:33 +01:00
Araq
0c0f9ba974 Windows: disabled tests 2018-11-23 11:58:32 +01:00
Arne Döring
1f7dcb874d print more to see the test in the log that was never finished. 2018-11-23 11:58:32 +01:00
Arne Döring
a29ec40032 join simple test 2018-11-23 11:58:32 +01:00
Arne Döring
ce7121530d remove problem test 2018-11-23 11:58:31 +01:00
Arne Döring
be553e691b more eyewash 2018-11-23 11:58:31 +01:00
Arne Döring
523ca76c4d eyewash 2018-11-23 11:58:31 +01:00
Arne Döring
6946116272 fix for nimInAction 2018-11-23 11:58:30 +01:00
Arne Döring
161e14829a disable tio.nim, it just causes problems 2018-11-23 11:58:30 +01:00
Arne Döring
bfcf82c7e5 maybe this time? 2018-11-23 11:58:29 +01:00
Arne Döring
d60615583f hopefully this time the tests will compile on the server 2018-11-23 11:58:29 +01:00
Arne Döring
27a9e369de fix coro test 2018-11-23 11:58:29 +01:00
Arne Döring
f200976058 fix for dll tests 2018-11-23 11:58:29 +01:00
Arne Döring
534601637a more tests fixed 2018-11-23 11:58:29 +01:00
Arne Döring
9c2365d5c2 activated more tests, allow input in test spec 2018-11-23 11:58:28 +01:00
Arne Döring
e012eb1001 updated tests to be executed 2018-11-23 11:58:28 +01:00
Arne Döring
8ea72bdcea delete old cruft 2018-11-23 11:58:28 +01:00
Arne Döring
031bfdec6f make run the default action of a test in tester 2018-11-23 11:58:28 +01:00
Araq
610283b9b0 fixes #9764 2018-11-23 09:54:57 +01:00
Araq
61d08ebcd8 IC: further progress 2018-11-22 23:17:47 +01:00
cooldome
962b2e4b39 Destructors: move into nkTupleConstr and move on tuple unpacking (#9776) 2018-11-22 18:33:19 +01:00
Ștefan Talpalaru
f8fa94cb20 fix segfault when calling shallow() on an empty string (#9782) [backport]
shallow() casts its string argument to a seq and then tries to access
its fields. Guess what happens when that string is nil, which seems to
be the representation of an empty string (both the default value and an
explicitly assigned "").

Segfault encountered when running "ntags -R ." on a large project. The relevant line:
a1c62c38e5/ntags.nim (lines-125)
2018-11-22 14:47:27 +01:00
alaviss
c7eba64dee don't raise exception in the default handler (#9783)
fixes #9657
2018-11-22 14:46:07 +01:00
Timothee Cour
02351d02e7 universal toSeq: works with UFCS; works with inline & closure iterators, and with iterables (#8711)
* universal toSeq: works with UFCS; works with inline, closure, and proc
iterators, and also non-iterators

* support all iterables with toSeq

* workaround for #9130
2018-11-22 11:47:14 +01:00
cooldome
086676782a Add isInstanceOf for generic procs to the macros module (#9730) 2018-11-21 21:30:03 +01:00
Araq
1cc8b7814d tut3: improved the wording 2018-11-21 20:45:31 +01:00
Arne Döring
30480605c1 added a new macro tutorial (#9588) 2018-11-21 15:46:58 +01:00
ishowta
6ff596d4f8 Empty check in shallow [backport] (#9676) 2018-11-21 11:56:38 +01:00
Araq
b78699917e document the --incremental build switch; make CIs green again 2018-11-21 11:39:38 +01:00
Araq
6ad5e01160 pathutils: remove dead code 2018-11-21 11:39:38 +01:00
Jacek Sieka
2b2fc5c7e9 compiler: remove unused assignment flags (#9760) 2018-11-21 11:04:45 +01:00
Andreas Rumpf
574cdfc156 IC: produce a good error message for when the compiler was built without the incremental recompilation feature 2018-11-20 23:55:06 +01:00
Araq
8285e24805 IR: also serialize the new transformedBody field 2018-11-20 23:48:15 +01:00
Timothee Cour
fe2eb25650 nimsuggest: fixes #96 2018-11-20 22:57:27 +01:00
Oscar Nihlgård
b4a42386d9 Times module cosmetic changes (#9770) 2018-11-20 22:56:25 +01:00
Araq
eeb7cc6780 IC: further progress 2018-11-20 19:30:00 +01:00
Arne Döring
39ad3a0da6 fix #9726 (#9765) 2018-11-20 13:12:47 +01:00
Yuriy Glukhov
d146516008 Fixed wording (#9761) 2018-11-20 12:50:08 +01:00
Araq
e8bec61413 incremental compilation: bugfixes 2018-11-19 18:51:47 +01:00
Araq
6acffcd28f incremental compilation: simple recompilation works 2018-11-19 17:16:52 +01:00
Arne Döring
1e08fff2d5 bitsize respected in size calculation. (#9756) 2018-11-19 13:48:40 +01:00
Araq
2418d0cac5 fixes #9743 2018-11-19 11:28:06 +01:00
Randy Smith
6c7abe6e5b Fixes #9671 (#9750) 2018-11-19 09:22:21 +01:00