Araq
b3e55e532b
allocator: fixes regression: get alignment right for small objects
2017-01-31 21:21:08 +01:00
Andreas Rumpf
d12a5a6525
make getThreadId() work on OSX
2017-01-31 16:06:37 +01:00
araq
bd580e9d6e
another attempt to getThreadId work on Linux
2017-01-31 15:44:11 +01:00
araq
eaa0eda72d
make getThreadId() work on Linux
2017-01-31 13:49:32 +01:00
Araq
c32c39f1de
make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes
2017-01-31 13:08:47 +01:00
Araq
d59dd577f8
make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes
2017-01-31 13:08:23 +01:00
Araq
b173499543
added system.getThreadId for various OSes (untested)
2017-01-31 13:06:19 +01:00
Araq
082f6f15e7
dirty changes to Nim's memory tracker; requires cleanups
2017-01-31 12:59:12 +01:00
Andreas Rumpf
51c764e048
fix the racy allocator properly
2017-01-31 08:55:18 +01:00
Araq
79f4b37d3b
added test case; threadex example crashes now
2017-01-30 21:11:37 +01:00
Araq
b26e6e3589
fixes #5301
2017-01-30 19:01:03 +01:00
Andreas Rumpf
76eb20d2d3
deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib deprecations
2017-01-30 08:50:57 +01:00
Andreas Rumpf
eca72755bb
Merge branch 'Fix5290_1' of https://github.com/cheatfate/Nim into cheatfate-Fix5290_1
2017-01-29 13:39:32 +01:00
Araq
edd542fe6b
devel version has to be odd
2017-01-29 00:32:25 +01:00
cheatfate
210ac5c138
One more fix for #5290 .
2017-01-28 10:34:13 +02:00
Andreas Rumpf
1bf78618fe
Merge branch 'fix5290' of https://github.com/cheatfate/Nim into cheatfate-fix5290
2017-01-27 18:51:46 +01:00
cheatfate
9c2721c8bb
Fix mistake
2017-01-27 14:12:26 +02:00
cheatfate
e84efc4d01
asyncdispatch exception memory leaks fixes.
2017-01-27 12:14:53 +02:00
cheatfate
4b95819146
Fix #5290 .
...
Some cosmetic changes.
2017-01-27 11:08:57 +02:00
Araq
376f6efa80
make segfaults compilation robust on Windows
2017-01-27 09:49:17 +01:00
Yuriy Glukhov
c8dcf8993f
Added heapqueue.del ( #5289 )
2017-01-27 08:22:17 +01:00
Andreas Rumpf
2836ea7868
Merge branch 'fixsharray' of https://github.com/cheatfate/Nim into cheatfate-fixsharray
2017-01-27 08:06:22 +01:00
Andreas Rumpf
cb6c975d3a
fixes repr regression
2017-01-27 07:06:22 +01:00
Andreas Rumpf
8d3d9ce5cc
repr.nim: minor improvement when outputting addresses of cstrings
2017-01-26 23:50:19 +01:00
cheatfate
6caefcc573
oops.
2017-01-26 18:41:22 +02:00
cheatfate
78e3bd392c
Fix changes table must be SharedArray when hasThreadSupport.
2017-01-26 18:28:34 +02:00
Andreas Rumpf
ca0b16fd33
newException supports setting of the 'parent' field
2017-01-26 15:20:24 +01:00
Andreas Rumpf
f7e3addb89
bugfix: onThreadDestruction callbacks should be run in reverse order
2017-01-26 11:28:25 +01:00
Andreas Rumpf
05a3c1b10a
improvements to memtracking
2017-01-26 11:26:02 +01:00
Andreas Rumpf
303c49b9f3
memory tracker is aware of threads (still not threadsafe though)
2017-01-26 11:26:02 +01:00
David Krause
b20817c3fb
added default param to strtabs.getOrDefault ( #5280 )
2017-01-26 10:34:02 +01:00
Jeff Ciesielski
7f30d04d6a
Fix compilation for 16 bit targets ( #5286 )
2017-01-26 07:05:03 +01:00
Michael Jendrusch
536015ee7b
Implement RFC #4873 improvements to JavaScript FFI ( #5213 )
2017-01-26 00:07:30 +01:00
Jeff Ciesielski
74ae66ddbc
Add volatile load/store ( #5263 )
...
Adds volatile load/store capability to the impure part of the standard
library. Note that this currently only supports numerical types.
Should resolve https://github.com/nim-lang/Nim/issues/3382
2017-01-25 20:02:19 +01:00
Gangsta Cat
c54bffae5b
Fix a typo in system's staticExec procedure description ( #5276 )
2017-01-24 16:57:39 +01:00
Andreas Rumpf
eb96eaa5c2
onThreadDestruction feature added to Nim's threading model
2017-01-24 12:07:44 +01:00
Ruslan Mustakov
35d48765fb
Use onThreadCreation to set default SSL context for each thread ( #5265 )
...
Fixes : #4998
2017-01-23 21:04:14 +01:00
Eugene Kabanov
e17969c03f
Fix declaration of inet_ntop to be GCSafe. ( #5266 )
2017-01-23 16:58:00 +01:00
Dominik Picheta
9e723166fe
Merge pull request #5250 from yglukhov/http-redirect
...
Redirects support in request proc
2017-01-21 11:48:50 +01:00
Dominik Picheta
e634ee858c
Merge pull request #5255 from enthus1ast/devel
...
added isAbsolute to uri.nim
2017-01-21 11:44:52 +01:00
enthus1ast
f2ce8eb372
more isAbsolute tests for uri.nim
...
Signed-off-by: enthus1ast <enthus1ast>
2017-01-21 02:54:38 +01:00
enthus1ast
46ac235715
added protocol-relative test to uri.nim
...
Signed-off-by: enthus1ast <enthus1ast>
2017-01-21 02:40:09 +01:00
Araq
572fd067cf
added system.runOnThreadCreationHandlers for initialization of thread local storage for the main thread
2017-01-20 20:32:41 +01:00
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
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
Yuriy Glukhov
2f320fb286
Fixed query and anchor during relative redirection
2017-01-20 12:59:13 +02:00
enthus1ast
9626919cd3
added isAbsolute to uri.nim
2017-01-20 00:45:44 +01:00