Commit Graph

5128 Commits

Author SHA1 Message Date
Arne Döring
0852be2dec remove $ for ptr/ref, prefer using string over array of char 2017-07-24 23:21:51 +02:00
Arne Döring
1f7fc7f279 arrays can now be printed 2017-07-24 23:21:51 +02:00
Andreas Rumpf
cb0d65280f fixes #6131 2017-07-22 15:42:09 +02:00
Andreas Rumpf
e968fbb7dd added system.deallocHeap feature for Nim's native GCs 2017-07-22 11:38:47 +02:00
Andreas Rumpf
ad608838bf closures have an object type field so that we can perform correct deepCopy() for the BoehmGC target 2017-07-22 11:10:52 +02:00
Yuriy Glukhov
1f13e94dd0 Disable stacktrace in locks (#6128) 2017-07-21 17:20:46 +02:00
Yuriy Glukhov
bbbf5cf800 Added newAsyncFile proc (#6129) 2017-07-21 17:20:21 +02:00
Andreas Rumpf
6f89323385 make the GCs more robust 2017-07-20 18:42:08 +02:00
Andreas Rumpf
ebba9f06ae fixes #5871 2017-07-20 18:42:08 +02:00
Erik Johansson Andersson
24fd86f8ee make asyncfutures.complete compile 2017-07-18 18:10:01 +02:00
Araq
f127a7f7aa fixes #6096 2017-07-17 16:43:10 +02:00
Yuriy Glukhov
30e2af969c Revert "GC_fullCollect on sync threadpool (#6107)" (#6119)
This reverts commit bdb653c415.
2017-07-17 13:45:54 +02:00
Arne Döring
52f092d02b Lineinfo change (#6084) 2017-07-17 08:12:15 +02:00
Dmitry Atamanov
9427724a71 Fix (#6093) 2017-07-17 08:09:54 +02:00
Yuriy Glukhov
bdb653c415 GC_fullCollect on sync threadpool (#6107) 2017-07-17 08:09:21 +02:00
andri lim
c245cfc1fd fixes #5986 js backend failed to compile try ... except new syntax (#6116) 2017-07-17 08:07:47 +02:00
Eugene Kabanov
3c36aed100 Cache threadId to not perform syscalls all the time (#6111)
Use syscall to get threadId on FreeBSD and MacOS
2017-07-16 17:01:58 +02:00
andri lim
2ecdf582a8 fixes #6049 add mixin release, acquire to withLock (#6113) 2017-07-16 16:54:09 +02:00
Yuriy Glukhov
4846ce0f41 Suppress "pointless conversion" hint (#6103) 2017-07-15 14:34:27 +02:00
Yuriy Glukhov
bdf6f59c6d Fixes #5738 (#6059) 2017-07-15 08:50:41 +02:00
Dominik Picheta
8b107972c5 Merge pull request #5938 from zielmicha/futures
[WIP] Better Future
2017-07-14 20:18:06 +01:00
Emery Hemingway
85d4109a0d Genode readdir fix (#6080)
The Genode readdir is inherited from then FreeBSD libc.
2017-07-14 16:43:42 +02:00
andri lim
ca0155a458 fixes #6046 parsecfg failed to parse negative int (#6097) 2017-07-14 16:28:39 +02:00
Yuriy Glukhov
8bdcade1a0 Fixes #6090 (#6092) 2017-07-14 08:15:37 +02:00
Arne Döring
52cab78ae5 newLit emty seq fix (#6091)
* the type of the empty seq is still the correct type
* updated test
2017-07-13 17:07:33 +02:00
Andreas Rumpf
03e0aa37e3 fixes system.onUnhandledException feature 2017-07-12 15:39:12 +02:00
Andreas Rumpf
57ed077c1e add system.onUnhandledException feature 2017-07-12 15:37:49 +02:00
Michał Zieliński
cb5b1c9344 asyncdispatch: formatting fixes 2017-07-12 10:23:48 +02:00
Dominik Picheta
ccbc09fb0b Merge pull request #6047 from euantorano/patch-1
Wait for reads to finish before reading the result
2017-07-11 19:19:19 +01:00
Euan Torano
3f3853945d Adding test for recvline
Signed-off-by: Euan Torano <euantorano@gmail.com>
2017-07-09 20:50:47 +01:00
Andreas Rumpf
2b72f775e2 make os.nim compile on Windows again 2017-07-09 01:02:14 +02:00
Andreas Rumpf
f5e4f8c324 fixes a typo 2017-07-09 01:01:37 +02:00
Andreas Rumpf
46dffbed71 minor improvements to os.paramStr 2017-07-08 21:48:03 +02:00
Ganesh Viswanathan
915ce2871f Fix for issue #5736. (#6061) 2017-07-07 08:10:39 +02:00
Michał Zieliński
6bdd00db0e asyncdispatch: add callSoon getter/setter, renames 2017-07-06 13:27:42 +02:00
nonylene
6c708038c1 system.nim: Fix documentation ( 7 div 5 == 1 ) (#6057) 2017-07-06 08:03:24 +02:00
Michał Zieliński
797690ba3f Future: support for multiple callbacks 2017-07-05 12:54:09 +02:00
Michał Zieliński
93827e6ab8 split FutureStream from asyncfutures 2017-07-05 12:54:09 +02:00
Michał Zieliński
e86863e8f5 asyncdispatch: split asyncfutures into its own module
This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately.
2017-07-05 12:54:09 +02:00
Euan T
a5681d03e3 Wait for reads to finish before reading the result
As requested by @dom96, this fixes an issue seen here: https://github.com/nim-lang/redis/pull/4#issuecomment-312713921
2017-07-03 20:13:25 +01:00
Andreas Rumpf
3993718335 JS codegen: make 'echo' use console.log unless you define -d:nimOldEcho 2017-06-28 16:18:19 +02:00
Araq
5334fd4533 fixes #6021! 2017-06-27 15:34:42 +02:00
Yuriy Glukhov
0345238d6e Added moveDir (#6015) 2017-06-27 10:09:41 +02:00
Euan T
3a2ab81df1 Fix #6010 documenting subtracting time interval (#6012) 2017-06-22 13:52:13 +02:00
Fabian Keller
a6e0494a6f fixes #5966 2017-06-20 12:11:09 +02:00
Andreas Rumpf
1c8a50797a Merge branch 'fix-5995' of https://github.com/yglukhov/Nim into yglukhov-fix-5995 2017-06-20 10:44:03 +02:00
Andreas Rumpf
0fbca73e71 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-06-19 17:43:18 +02:00
Andreas Rumpf
8db37455dd fixes withRegion for --gc:stack 2017-06-19 17:43:12 +02:00
Daniil Yarancev
3b0dba7a75 Update times.nim 2017-06-18 01:28:48 +03:00
Yuriy Glukhov
58eae1171d Fixes #5995 2017-06-18 00:57:05 +03:00