Vladar4
ea4397fbb0
fixed bug when the first random(max: float) call is the same value, regardless of randomize() ( #5257 )
2017-01-20 19:35:20 +01:00
Araq
cdebcf23d9
new segfaults.nim stdlib module works on Windows
2017-01-20 17:08:11 +01:00
Araq
64a7d2fd08
ansi_c.nim: avoid deprecated 'expr' type
2017-01-20 13:17:45 +01:00
Araq
54bd728c13
some progress on #5228
2017-01-20 13:17:45 +01:00
Andreas Rumpf
7ff80cc8b2
first implementation of segfaults stdlib module
2017-01-20 12:40:54 +01:00
Andreas Rumpf
e22c36dfc2
posix.nim: make new sigaction wrapper compatible with C++
2017-01-20 12:40:54 +01:00
Michael Jendrusch
953b8cbcc2
fixes #5234 ( #5240 )
2017-01-20 05:16:42 +01:00
Arne Döring
e8a00b805f
fix seq add for nim node in VM ( #5253 )
...
fixes #4821
2017-01-19 20:10:01 +01:00
Andreas Rumpf
ecf1802568
posix.nim add 'sigaction' with 3rd nil parameter
2017-01-19 20:00:31 +01:00
Arne Döring
130f30ddb2
make quote ast a ref type ( #5246 )
...
* make quote ast a ref type
* recursive set flag isRef for quoted ast
2017-01-19 16:39:18 +01:00
Andreas Rumpf
b85898cd41
fixes #5237
2017-01-19 13:26:22 +01:00
timothy eichler
4ec0f9305e
Remove Build status waterfall, all links 502 ( #5249 )
2017-01-19 13:21:33 +01:00
Andreas Rumpf
249a352c6b
fixes #3434
2017-01-19 07:11:17 +01:00
Lolo Iccl
a296f091e4
Fixes #5225 ( #5243 )
...
* Fixes #5225
* Fixes #5225
* Fixes #5225
fix typo
2017-01-18 21:04:03 +01:00
Yuriy Glukhov
fe0291f127
Import ospaths instead of include ( #5233 )
...
* Import ospaths instead of include
* searchExtPos made public
2017-01-18 20:17:53 +01:00
Yuriy Glukhov
05dec08cea
Fixes #5244 ( #5245 )
2017-01-18 20:13:08 +01:00
Dominik Picheta
bde768cb09
Merge pull request #5239 from illogica/patch-2
...
Fix nativesockets.select()
2017-01-18 17:49:49 +01:00
Andreas Rumpf
61937974e2
added system.onThreadCreation feature for safe thread local storage initializations
2017-01-18 13:41:55 +01:00
Andreas Rumpf
2f08fdf623
implements {.gcsafe.} enforcement as a pragma block
2017-01-18 12:55:33 +01:00
Loris Pederiva
9b0b079634
Fix nativesockets.select()
2017-01-18 09:42:56 +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