Commit Graph

14506 Commits

Author SHA1 Message Date
Timothee Cour
9e68b2ce5d fix test 2019-01-14 17:00:54 -08:00
Timothee Cour
0a8762eb7b fix #9842 #9951: nim -r and parseopt.cmdLineRest are now correct 2019-01-14 17:00:54 -08:00
Timothee Cour
e17321aa24 improve formatting in assertEquals 2019-01-14 17:00:54 -08:00
genotrance
dd1f23f6fc Expose CTime (#10301) 2019-01-14 22:16:11 +01:00
Andreas Rumpf
1899d8d107 make tests green again 2019-01-14 20:11:33 +01:00
Arne Döring
b78af990b8 Fixes #10065 (#10260)
CountTable now returns 0 instead of 'key not found' for get requests.
2019-01-14 17:16:17 +01:00
Araq
d69a7842fa fixes #7878 2019-01-14 12:36:34 +01:00
Araq
825e08b046 fixes #7524 2019-01-14 12:15:40 +01:00
Timothee Cour
65593e76f4 fixes leftover from #9647 : use nimf as standardized extension for source code filters (#10294) 2019-01-14 11:58:16 +01:00
genotrance
c707267212 Add stdin read support to nimscrit #3983 (#10292) 2019-01-14 09:26:10 +01:00
narimiran
29e0a792ff [backport] fix documentation leak to os.nim[ci skip] 2019-01-14 09:24:12 +01:00
Arne Döring
2b37bf5d5b added proc rand for typedesc (#10259) 2019-01-14 09:20:31 +01:00
Araq
d983d998b2 fixes #9218 2019-01-13 18:53:27 +01:00
Araq
3c2d82eaae make megatest green 2019-01-13 17:19:36 +01:00
Araq
80c69ffd31 nimgrep: use standard regular expression syntax, not reExtended 2019-01-13 16:23:08 +01:00
Araq
bd5dd2b95b nimgrep: fixes #989 2019-01-13 16:22:19 +01:00
Araq
2ccc9db59d closes #3744 2019-01-13 16:05:42 +01:00
Araq
aa7ad88978 fixes #10075 [backport] 2019-01-13 15:52:50 +01:00
Araq
ab99bdfc40 fixes #10136 2019-01-13 14:56:50 +01:00
Araq
451377f737 fixes #10271 [backport] 2019-01-13 14:24:38 +01:00
Araq
7f0559b93f fixes #7241 2019-01-13 14:09:14 +01:00
Araq
0c10fc67eb fixes #10104 2019-01-13 14:09:13 +01:00
Dominik Picheta
d740a5b79a Implements BackwardsIndex [] for deque. (#10105) 2019-01-13 14:06:16 +01:00
Araq
796432ff94 make tests more robust; tests should be deterministic, no randomize() calls in tests 2019-01-13 13:54:44 +01:00
Araq
40115cd645 improve error messages quality for '.push: raises []' 2019-01-13 13:30:01 +01:00
Araq
5cd18b0f24 make system.task compatible with NimScript; refs #10254 2019-01-13 09:04:57 +01:00
Strømberg
2823da5e52 setCommand nop update documentation (#10254)
When I used Warning: Using `setCommand 'nop'` is not necessary.
2019-01-13 09:04:40 +01:00
Timothee Cour
9af85fb69f fixes #10273 execShellCmd now returns nonzero when child killed with signal + other fixes (#10274)
* s/exitStatus(...)/exitStatusLikeShell(...)/
* fix #10273 execShellCmd now returns nonzero when child exits with signal
* test case for #10249 and explanation for the bug
* fix test failure
* add tests/nim.cfg
2019-01-13 09:00:39 +01:00
rec
f5cc2e2de5 Fixes 10202 (#10283)
* Add a test case for #10202
* Fix asgn for object tyVars; fixes #10202
* Check the variant kind before accessing the sym field
2019-01-12 19:49:31 +01:00
Timothee Cour
98ef545bed fix #10281 (#10282) 2019-01-12 08:18:04 +01:00
Ico Doornekamp
7e7603ed2b Documented error source argument of macros.error() (#10279) 2019-01-12 08:17:20 +01:00
Araq
647066e378 make the stdlib work with the changed docgen 2019-01-11 22:17:43 +01:00
Araq
56b804a283 RST parser: fixes #8158 2019-01-11 22:17:43 +01:00
Araq
ee7f2d97cc docgen: support markdown headings too 2019-01-11 22:17:43 +01:00
Araq
5ef5dc86c5 docgen: support markdown link syntax; enable markdown extensions 2019-01-11 22:17:43 +01:00
Araq
c3d80647ae docgen: render 'interpreted text' the same as inline literals for markdown compat 2019-01-11 22:17:43 +01:00
Neelesh Chandola
b0979c8b1c Cleanup comesFromPush logic (#10278) 2019-01-11 19:16:03 +01:00
Timothee Cour
09ef25810a refs #10249 ; more debug info to diagnose failures (#10266) 2019-01-11 17:03:19 +01:00
Andreas Rumpf
5397c5d31d fixes #10216 (#10270) 2019-01-11 16:34:22 +01:00
Andreas Rumpf
d1b7aa28e7 fixes #10240 (#10269)
* kochdocs.nim: code cleanup

* fixes #10420
2019-01-11 15:55:16 +01:00
Jörg Wollenschläger
ceabbeadd7 Fixes new atomics for C + vcc (#10267) 2019-01-11 12:07:46 +01:00
narimiran
0a2f711b9e revert moving oids and smtp to graveyard 2019-01-11 08:51:19 +01:00
Timothee Cour
540d102d87 fix #10261 unittest now returns 1 on error instead of buggy behavior (#10264) 2019-01-11 07:59:20 +01:00
Jörg Wollenschläger
ab425d793a [RFC] Better atomics (#8620)
* Initial version of C++11 style atomics
* Make Atomic[T] always concrete
2019-01-10 19:18:00 +01:00
Ico Doornekamp
a5fe676f37 Added 'Limitations' section to nimscript manual listing the restrictions of the VM (#10209) 2019-01-10 17:57:21 +01:00
Timothee Cour
0bb76dde54 fixes #10030 bootstrap is insulated from user config (#10244) 2019-01-10 17:49:57 +01:00
Vindaar
8e600b78ca add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267)
* add unsetControlCHook to remove a Ctrl-C hook after it was set

Adds the inverse proc to setControlCHook in order to lift a Ctrl-C
hook after it has been set.

* remove check for noSignalHandler in system/excpt.nim
2019-01-10 13:44:44 +01:00
Neelesh Chandola
d998cb58dd void object fields are now ignored by codegen and fields/fieldPairs iterator (#10144)
* Codegen now ignores object fields of type void
* Fix `$` bug for objects/tuples where it does not add a comma
* fields/fieldPairs iterators now ignore void types
* Use `isEmptyType` instead of checking for `tyVoid` directly
2019-01-10 12:49:35 +01:00
Miran
6389271d1c Merge pull request #10248 from narimiran/graveyard
Move four modules to graveyard
2019-01-10 11:17:06 +01:00
Oscar Nihlgård
b3435d22dc Times cosmetic changes (#10237)
* Add more Date wrappers to jscore

* Times cosmetic changes
- Improved docs
- Code wrapped at 80 chars
- Formatting fixes using nimpretty
- Remove some old deprecated procs
2019-01-10 10:56:12 +01:00