Andreas Rumpf
726003ac52
Merge pull request #1089 from flaviut/jsonchange
...
Allow for nil chaining in JSON and require an exception on out-of-bounds indexing
2014-05-31 20:35:26 +02:00
flaviut
08a76f0466
replace nil checks with assert
2014-05-31 14:18:26 -04:00
Andreas Rumpf
794b035e89
Merge pull request #1126 from fowlmouth/patch-1
...
added md5 functions from <openssl/md5.h>
2014-05-31 14:37:33 +02:00
Andreas Rumpf
2b72e02ecc
Merge pull request #1208 from jbe/shared_mem_stats
...
added getTotalSharedMem et al.
2014-05-31 14:33:53 +02:00
Andreas Rumpf
208a594ff1
Merge pull request #1178 from EXetoC/nostackframe
...
noStackFrame -> asmNoStackFrame
2014-05-29 02:15:01 +02:00
Charlie
ee0cbbe44c
renamed UINT in windows.nim to WINUINT
2014-05-26 23:47:18 -04:00
flaviut
c7a57dc184
Switch chaining to the {} and {}= operators
2014-05-26 16:13:19 -04:00
Reimer Behrends
ce773b70a7
Fixed readAllBuffer() to avoid adding garbage bytes at end.
...
The function readAllBuffer() always returned a string that was a
multiple of the BufSize in length, regardless of how many bytes were
actually read, padding the result with garbage bytes on the last chunk.
This fix properly trims the last chunk to its actual size.
2014-05-26 14:29:55 +02:00
Andreas Rumpf
97fa3391f2
Merge pull request #1132 from gradha/pr_index_improvements
...
Documentation index improvements
2014-05-26 00:12:25 +02:00
Araq
ab5f2273a6
pdcurses wrapper compiles again
2014-05-25 21:51:08 +02:00
Varriount
1d6c05edc3
Update selectors.nim
2014-05-25 12:20:24 -04:00
Varriount
f10f9c4b7e
Update selectors.nim
...
Fixed selectors.nim on macosx
2014-05-25 11:35:10 -04:00
Araq
030eac86c0
bugfix: regionized pointers in a generic context; renamed 'Future' to 'Promise'
2014-05-25 15:19:46 +02:00
Dominik Picheta
b4366366d1
Clean createVar template.
2014-05-25 13:09:18 +01:00
Dominik Picheta
d54b902441
Modified future behaviour when completing with an exception.
...
Futures will now raise the exception if they did not have a callback
associated with them.
2014-05-24 15:55:39 +01:00
Dominik Picheta
b386d38208
Add asyncdispatch.unregister.
2014-05-24 15:55:37 +01:00
Varriount
b3a39524ee
Merge pull request #1225 from Varriount/fix-issue/1134
...
Fix issue #1134
2014-05-24 09:12:46 -04:00
Clay Sweetser
0dc770332e
Fix issue #1134
...
Adds the necessary imports for selectors under MacOSX
2014-05-24 09:12:07 -04:00
Varriount
38e550de0e
Merge pull request #1224 from Varriount/enurlyx-Windows
...
Manual merge of Enurlyx windows
2014-05-24 08:59:08 -04:00
Clay Sweetser
d43c06d4c5
Manual merge of pull request #1138
2014-05-24 08:58:40 -04:00
Clay Sweetser
46fa465eb4
Merge branch 'Windows' of git://github.com/enurlyx/Nimrod into enurlyx-Windows
2014-05-24 08:54:53 -04:00
Varriount
ede902a13d
Merge pull request #1223 from Varriount/queues/fix-assertion
...
Fix assertion in queues.dequeue
2014-05-24 08:42:46 -04:00
Clay Sweetser
05953381e9
Fix assertion in queues.dequeue
2014-05-24 08:41:12 -04:00
Grzegorz Adam Hankiewicz
489d7e526d
Computes TIndexEntry hash without temporary strings.
2014-05-24 11:52:56 +02:00
Andreas Rumpf
912fbb9893
Merge pull request #1196 from EXetoC/cpp-target-fixes
...
C++ target fixes
2014-05-24 01:41:34 +02:00
Andreas Rumpf
b9b45c1bb4
Merge pull request #1180 from barcharcraz/OpenBSDFix
...
Added define check for openBSD around fmtmsg.h stuff
2014-05-24 01:35:58 +02:00
Dominik Picheta
c6c7c651e6
Merge pull request #1209 from fowlmouth/patch-3
...
`=>` macro tripped on generic return types
2014-05-23 13:57:22 +01:00
Dominik Picheta
6a38d36239
Rename asyncdispatch.close to asyncdispatch.closeSocket.
2014-05-23 13:14:28 +01:00
Reimer Behrends
8b8a21cb59
Fixed parsing of float literals.
...
Float literals were not parsed properly when their fractional part
exceeded 53 significant bits. This affected in particular math.PI
and math.E. Rather than reinventing the wheel, this patch reuses
C's strtod() implementation, which already does the heavy lifting
with respect to correctness, though some caution is necessary to
keep float parsing locale-independent.
2014-05-23 11:27:39 +02:00
Araq
d2dbcf2fa4
progress with futures
2014-05-23 08:57:16 +02:00
Araq
417b9f5a1d
'parallel' statement almost working
2014-05-22 08:41:50 +02:00
Varriount
b54f66eeff
Merge pull request #1182 from boydgreenfield/devel
...
Clarify newFileSize & mappedSize params in memfiles.open() docs
2014-05-21 18:17:48 -04:00
Varriount
f05ba51391
Merge pull request #1210 from boydgreenfield/nimprof-lock-fix
...
Fix nimprof import error when --threads:on.
2014-05-21 17:55:07 -04:00
Varriount
c40f2d682e
Merge pull request #1169 from Araq/sigpipe
...
Fixes #1168
2014-05-21 17:54:55 -04:00
Nick Greenfield
35e603b89c
Fix nimprof import error when --threads:on.
2014-05-20 17:07:20 -04:00
boydgreenfield
fd352cc0b5
Revert 876cad3a - making nimprof fix on a new branch
2014-05-20 17:02:51 -04:00
boydgreenfield
876cad3a91
Fix missing import in nimprof.nim when --threads:on
2014-05-20 16:57:33 -04:00
Billingsly Wetherfordshire
657a00056e
=> macro tripped on generic return types
...
example fail `(a:int,b:int) -> Foo[int] => Foo[int](x: a + b)`
2014-05-19 19:05:57 -05:00
Jostein Berre Eliassen
f5ed8f3a1b
added getTotalSharedMem et al.
2014-05-20 00:44:16 +02:00
Charlie
d32b4272c3
added a note about random(max: float): float's resolution on windows
2014-05-18 15:16:35 -04:00
Charlie
8a183dac78
added random(max: float): float support to windows
2014-05-18 15:13:37 -04:00
Dominik Picheta
e54ab22bf9
Fixes #1197 .
2014-05-14 23:35:46 +01:00
EXetoC
f66f43bca0
Fix more 'undeclared identifier' errors.
2014-05-14 18:12:47 +02:00
Araq
c43e8df90c
progress for the 'parallel' statement
2014-05-14 01:51:44 +02:00
EXetoC
502f7bffa3
Resolve type mismatches.
2014-05-13 15:03:58 +02:00
Araq
6195dbe491
initial non-compiling version of 'parallel'
2014-05-12 11:12:37 +02:00
Charlie Barto
46d4e5d052
changed openssl to import CRYPTO_mem_set_functions from libcrypto and made sockets.nim exclude the sslv2 code on BSD
2014-05-10 18:54:30 -04:00
Charlie Barto
295b103ac4
Merge branch 'devel' into OpenBSDFix
2014-05-09 14:08:16 -04:00
boydgreenfield
a309a5f38a
Update posix open() call to incl. permissions
...
This explicitly grants user read/write access to newly-created mmap files. Previously, on some systems files would be created but could not be re-opened as the user lacked sufficient permissions.
2014-05-05 16:42:30 -07:00
Araq
77d5ab1708
bootstraps works again; get rid of compile-time 'rand' (too weird)
2014-05-06 00:17:41 +02:00