Andreas Rumpf
2f08fdf623
implements {.gcsafe.} enforcement as a pragma block
2017-01-18 12:55:33 +01:00
Lolo Iccl
b6b5a11be7
Fixes #5112 (Fix error messages raised when multiple modules have the same original name) ( #5220 )
...
Fixes #5112
2017-01-17 16:58:50 +01:00
Michael Jendrusch
454547da8e
Removed mangling of object fields for the js target only. ( #5226 )
...
* removed mangling of object fields for the js target only.
* changed default mangling behaviour for the php target as well.
* Added test for unorthodox field names (reserved words and operators). Adjusted field accessors and object constructors / new to be ECMAScript first edition compatible, when using fieldnames which are reserved words.
2017-01-17 16:43:06 +01:00
Andreas Rumpf
54a6c5b348
fixes #5218
2017-01-16 23:04:53 +01:00
Andreas Rumpf
915cc86f5d
docs for the heap dump feature
2017-01-16 23:04:53 +01:00
jlp765
704eae8495
re additions for buffer (cstring) RE matching ( #5117 )
...
* Replace expr with untyped
* Add buffer (cstring) related procs
Replace expr with untyped
Replace testing assert() procs with doAssert()
* make the string variants call the cstring variants in order to fight code size
* Remove redundant proc
* fix casting of cstring
add init of variables (identified by verbosity:3)
* Speed up - use pattern.e for exec()
inline some procs
2017-01-16 15:55:15 +01:00
Eugene Kabanov
108f5e688e
Fix #5128 , #5184 . ( #5214 )
...
* Fix #5128 , #5184 .
Removed flush() procedure from ioselectors.nim
Changed methods of work with application-driven data
* Make cache switch for kqueue, update test for it.
* Fix registerProcess bug returns wrong id.
Fix tupcoming_async test to compile with upcoming again.
Change socket() as unique identifier to dup(socket) as unique identifier.
2017-01-16 14:01:40 +01:00
MednauN
f8736dcfb7
Fixed Mersenne Twister ( #5227 )
2017-01-16 13:35:43 +01:00
Brandon Pickering
9f95dd8e1d
Create temp var in deepcopy if needed ( #5205 )
2017-01-15 06:26:59 +01:00
Andreas Rumpf
03916fa3b1
M&S GC gets the heap dump feature
2017-01-15 10:12:28 +01:00
Andreas Rumpf
e216e0debd
finish tool: untested download feature
2017-01-15 10:12:28 +01:00
Andreas Rumpf
723a5a09f4
Update system.nim
2017-01-14 16:21:05 +01:00
Andreas Rumpf
823fbd4e40
default GC can do a sort of heap dump via -d:nimTypeNames and dumpNumberOfInstances()
2017-01-14 04:00:06 +01:00
Andreas Rumpf
9753782f96
memory allocator hotfix: do not allocate tremendous amounts of memory
2017-01-13 12:07:37 +01:00
Andreas Rumpf
e142f4c371
finish tool: slightly more informative error message
2017-01-13 12:07:37 +01:00
Dominik Picheta
922f9c4b85
Merge pull request #5211 from illogica/patch-1
...
Make SockAddr.sa_data public
2017-01-12 18:58:08 +01:00
mfxmfx
8699372109
Correct the spelling of the word 'overridden'. ( #5212 )
2017-01-11 13:40:10 +01:00
Loris Pederiva
f237f7f1cf
Make SockAddr.sa_data public
...
Make SockAddr.sa_data public, coherently with its Posix counterpart.
2017-01-11 12:01:27 +01:00
Dmitriy Fomichev
d356c37185
Workaround for the high cpu usage issue in coroutines on linux ( #5186 )
...
Fixes high cpu usage when all coroutines are asleep
2017-01-11 10:01:03 +01:00
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