Commit Graph

9974 Commits

Author SHA1 Message Date
Parashurama
d04ca6ef23 Improve & optimize strutils 'find' procs (#5196)
* add 'last' argument to 'find' procs in strutils
* add 'rfind' proc for looking up set[char] in strutils
* use optimised C function 'memchr' when available
2017-01-11 09:48:31 +01:00
Lolo Iccl
abe5cb82a0 Fix for #5134 (parseJson(string) should fail on leftover data) (#5203) 2017-01-11 06:50:18 +01:00
Brandon Pickering
da1293c405 Reset exprs before return by arg. Fixes #5098 (#5191) 2017-01-11 06:24:31 +01:00
Andreas Rumpf
767524d62a random.shuffle now takes an openArray proc 2017-01-11 06:13:27 +01:00
Benjamin Summerton
17c62bb545 Documented shuffle from random module (#5204) 2017-01-11 06:05:41 +01:00
Brandon Pickering
c98a8f3701 Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
mfxmfx
88f95a2f7e nim.cfg: update comments about the stack size to match reality (#5206) 2017-01-11 05:23:38 +01:00
Zahary Karadjov
28005cf02d alternative fix for #4884; fixes tlateboundstatic 2017-01-11 00:44:52 +02:00
Dominik Picheta
c86988491f Merge pull request #5208 from luked99/async-json-example-fix
Async json example fix
2017-01-10 22:02:24 +01:00
Luke Diamand
de7f42a741 asynchttpserver: import json in the example code
The example code won't compile unless json is imported, because
of the use of the %* operator. This can trip-up inexperienced
Nim developers.
2017-01-10 20:39:29 +00:00
Andreas Rumpf
6ee487b0eb bugfix: abs(0.0) should be +0.0 2017-01-10 18:29:26 +01:00
Andreas Rumpf
aceb2e1bdf add 'koch nimsuggest' command for consistency 2017-01-10 11:32:06 +01:00
Andreas Rumpf
013e11fcc4 add copyDir stdlib test 2017-01-10 11:27:03 +01:00
Andreas Rumpf
3702d1f6c7 use os.copyDir, not your own broken implementation of it 2017-01-10 11:26:48 +01:00
Araq
639fa92378 add distros to docs properly 2017-01-09 07:40:03 +01:00
Araq
65f3d9ea69 updated koch docs 2017-01-08 23:43:28 +01:00
Araq
e0b05b80ce added checksums 2017-01-08 23:43:28 +01:00
Zahary Karadjov
bf612a7f19 fix #4884 2017-01-08 23:24:27 +02:00
Dominik Picheta
5947403e84 Small fixes in readme. 2017-01-08 21:23:15 +01:00
Dominik Picheta
b040f74356 Fix C source gen. v0.16.0 2017-01-08 20:52:53 +01:00
Araq
c6c226a6a2 updated download page 2017-01-08 18:32:30 +01:00
Fabian Keller
5f6f444d55 naive work-around for time redefinition (#5193) 2017-01-08 17:53:43 +01:00
Brandon Pickering
06740d674b Remove colon when unpacking yielded tuples. Fixes #5173 (#5190) 2017-01-08 14:07:29 +01:00
Araq
6acfbb9e1d make random.nim work for the JS target again 2017-01-08 14:00:52 +01:00
Araq
13649778c1 random.nim: added shuffle proc; fixes 'mod' bias 2017-01-08 00:53:23 +01:00
Araq
9c47bb9cc0 happy new year 2017-01-07 22:35:09 +01:00
Araq
fc636e2d12 updated to version 0.16.0 2017-01-07 21:44:40 +01:00
Araq
e95c5c926c minor manual improvement; refs #5181 2017-01-07 21:43:42 +01:00
Dominik Picheta
961096b564 Add 0.16.0 release notes. 2017-01-07 14:37:46 +00:00
Andreas Rumpf
a93ca14418 disable pinToCpu for OSX 2017-01-07 13:27:16 +01:00
Andreas Rumpf
5ce414141e koch.nim: critical fix for the tar.xz installations 2017-01-07 13:27:16 +01:00
jlp765
86c73cdfc2 Further tutorial updates (#5176)
* tut1: added multiline comments
* tut2: replaced expr/stmt with untyped/typed
* added some more template/macro example
* remove immediate pragma from example
2017-01-07 09:18:45 +01:00
Araq
92ecbc9958 fixes #5179 2017-01-07 03:05:48 +01:00
Araq
7cd8b0b5e6 attempt to make the build green again 2017-01-07 02:55:15 +01:00
Araq
5c08ca7ed2 make Nim compiler compile with 0.15.2 2017-01-07 02:43:31 +01:00
Araq
9d488261df added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994 2017-01-07 02:38:26 +01:00
Araq
a17d996be9 use new nimble file format to make Nim's version DRY 2017-01-07 00:31:03 +01:00
Araq
5a64e1a531 random.nim: add a warning about crypo; refs #5047 2017-01-07 00:31:03 +01:00
Andreas Rumpf
edf2a57a70 Merge pull request #5188 from trustable-code/patch-2
fixes #4804
2017-01-07 00:27:53 +01:00
Andreas Rumpf
7c8563b8dd Merge pull request #5187 from krux02/new-htmlgen
get rid of immediate macros in htmlgen module
2017-01-07 00:24:04 +01:00
Simon Krauter
45c251cb1d fixes 4804
toTime(): Use the Windows-specific part for every OS, because it gives correct results on Linux too. The removed code for Linux gives wrong results.
2017-01-06 23:29:20 +01:00
Arne Döring
9547bcbb88 get rid of immediate macros in htmlgen module 2017-01-06 22:54:25 +01:00
Andreas Rumpf
92b48dbcad fixes 'nim c file_without_nim_ext' regression; refs #5183 2017-01-06 18:22:27 +01:00
Andreas Rumpf
64912d3d70 fixes #5185 2017-01-06 18:15:08 +01:00
Dominik Picheta
76bc890e36 Fixes bootstrapping. 2017-01-06 15:02:09 +00:00
Araq
36964d7491 findExe finds cmd and bat files; refs #5049 2017-01-06 14:07:47 +01:00
Dominik Picheta
864946afb8 Add async IO overview to asyncnet module docs. 2017-01-06 12:43:37 +00:00
Araq
75b7756d79 fixes #4948 2017-01-06 13:21:59 +01:00
Andreas Rumpf
86ea5ea92c Merge pull request #5141 from c-blake/devel
Add a proc `==` for MemSlice.
2017-01-06 13:15:10 +01:00
Araq
4b73194bb0 koch and nims updates 2017-01-06 13:11:17 +01:00