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
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
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
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
EXetoC
502f7bffa3
Resolve type mismatches.
2014-05-13 15:03:58 +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
Araq
71de04b4ba
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-05-06 00:05:38 +02:00
Araq
4055fd4376
some additions to winlean
2014-05-06 00:04:36 +02:00
boydgreenfield
c210e1255c
Clarify newFileSize & mappedSize params in memfiles.open() docs
2014-05-05 14:56:14 -07:00
Charlie Barto
3070264525
Added define check for openBSD around fmtmsg.h stuff, OpenBSD does not actually include this header
2014-05-04 23:48:38 -04:00
Dominik Picheta
88cb4850ce
Merge pull request #1175 from EXetoC/await-discard
...
Fix #1170 .
2014-05-04 21:04:07 +01:00
Reimer Behrends
79891b6b9b
Added support for ref type hash tables.
...
This reuses the hash table implementation for objects (and the
associated tests). For efficiency reasons, iterator implementations
are currently adapted rather than calling the TTable code.
2014-05-04 15:22:50 +02:00
EXetoC
b1c865a656
Fix #1170 .
2014-05-04 01:52:42 +02:00
Dominik Picheta
05712fe805
Merge pull request #1173 from EXetoC/pfuture-nested-type-param
...
Fix #1171 .
2014-05-03 22:51:03 +01:00
EXetoC
8802688e9f
Fix #1171 .
2014-05-03 23:32:14 +02:00
Simon Hafner
9428bedcc8
Fixes #1168
2014-05-03 15:59:04 -05:00
Dominik Picheta
24babdedf1
DWORD -> PULONG for POverlapped.
2014-05-03 21:05:45 +01:00
Araq
d0438540d0
implemented builtin noncopying slice
2014-05-02 08:44:03 +02:00
Dominik Picheta
a21289f5d5
Await is now supported in try statements.
2014-05-01 23:27:43 +01:00
Dominik Picheta
543687f345
Fixes buffered recv in asyncnet.
2014-04-30 22:50:17 +01:00
Dominik Picheta
6c4870d812
Get rid unsafe pointer type in GetQueuedCompletionStatus.
2014-04-30 17:38:44 +01:00
Araq
81d4049797
bugfix: MS-GC GC_unref
2014-04-30 01:05:52 +02:00
Araq
d438ecc246
async might work now reliably
2014-04-30 00:52:58 +02:00
Araq
ed1927e001
bugfix: MS GC acknowledges GC_ref/unref properly
2014-04-30 00:22:45 +02:00
Araq
5bbb09acf8
give system.lines a proper buffer
2014-04-30 00:18:34 +02:00
Araq
0049a2a388
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-25 19:55:06 +02:00
Araq
fab8cee13d
minor tweaks; updated todo.txt
2014-04-25 19:54:42 +02:00
Araq
3851ee209c
DLL generation works again
2014-04-23 00:29:11 +02:00
Araq
5aa8278f6c
Haiku build works again
2014-04-23 00:06:56 +02:00
Araq
8d6ed9429a
make getAppFilename work when there is no procfs
2014-04-22 23:15:29 +02:00
Araq
e37d72f8d4
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-22 21:40:26 +02:00
Araq
a146d6b2b9
building of nimrtl.dll should work again
2014-04-22 21:40:12 +02:00
Grzegorz Adam Hankiewicz
15bd91a5da
Adds example of custom object types used as table key.
2014-04-22 09:37:24 +02:00
Varriount
c0338eacb6
Merge pull request #1118 from gradha/pr_show_boot_options
...
Version switch displays options used during `koch boot`
2014-04-21 15:41:03 -04:00
Simon Hafner
bc79f40281
changed pointer to array in sqlite callback
2014-04-21 13:21:30 -05:00