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
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
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
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
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
boydgreenfield
c210e1255c
Clarify newFileSize & mappedSize params in memfiles.open() docs
2014-05-05 14:56:14 -07: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
EXetoC
8802688e9f
Fix #1171 .
2014-05-03 23:32:14 +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
d438ecc246
async might work now reliably
2014-04-30 00:52:58 +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
Grzegorz Adam Hankiewicz
15bd91a5da
Adds example of custom object types used as table key.
2014-04-22 09:37:24 +02:00
Araq
a868575436
doc2 likes future.nim now
2014-04-21 02:45:57 +02:00
Andreas Rumpf
23621857bb
Merge pull request #1099 from Varriount/os/getFileInfo
...
Added os.getFileInfo procedure.
2014-04-20 23:40:29 +02:00
Dominik Picheta
443fdd6d69
Fixed docs in future module.
2014-04-20 22:17:56 +01:00
Dominik Picheta
dad99376a5
Param name and type combos now work in type sig. sugar.
2014-04-20 22:08:03 +01:00
Araq
4075159933
reintroduce thread analysis but disable it for backwards compatibility
2014-04-20 22:15:25 +02:00
Araq
1bb0bdec24
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-20 20:01:36 +02:00
Araq
e6d17e6273
made large parts of the stdlib gcsafe
2014-04-20 20:01:24 +02:00
Dominik Picheta
013289480d
Merge pull request #1076 from runvnc/redis_pipeline
...
Redis: optional pipelining and better tested transactions
2014-04-20 16:59:38 +01:00
Dominik Picheta
ed935dfef1
Remove echo from => macro and fix tclosuremacro test.
2014-04-20 14:38:10 +01:00
Dominik Picheta
232d252885
Added new future module with a closure macro.
2014-04-20 14:33:44 +01:00
Jason Livesay
d7caba8b65
Use enum
2014-04-20 04:29:24 -07:00
Dominik Picheta
00dc93b65b
Fixes collections/ttables.
2014-04-18 21:50:51 +01:00
Jason Livesay
7584d867e1
delete extra statement from debugging
2014-04-17 03:52:33 -07:00
Jason Livesay
1068022dfb
Allow QUEUED reply only if pipelined; don't return status replies from flushPipeline; Rewrite someTests
2014-04-17 03:47:44 -07:00
Grzegorz Adam Hankiewicz
de04c97696
Improves startProcess docstring for poEvalCommand usage.
2014-04-16 23:14:13 +02:00
Clay Sweetser
73570cbe38
Allowed getFileInfo to accept TFile objects.
2014-04-16 03:35:08 -04:00
Clay Sweetser
79f0c66b4d
Completed Linux/Posix implementation of getFileInfo
...
Moved parts of getFileInfo into a helper template.
2014-04-16 03:35:08 -04:00
Clay Sweetser
8af083c847
Added Posix implementation of getFileInfo, organized code.
2014-04-16 03:35:07 -04:00
Clay Sweetser
37ac424e9a
Added Windows implementation of getFileInfo procedures
2014-04-16 03:35:07 -04:00
Dominik Picheta
941cc937d3
Fixes docgen.
2014-04-15 22:09:12 +01:00
Dominik Picheta
21d0cc8cdf
Add checks for invalid socket when creating sockets.
2014-04-15 13:51:25 +01:00
Simon Hafner
bb94abd88a
Merge pull request #1084 from gradha/pr_adds_sequtils_split
...
Adds generic split proc to sequtils.
2014-04-13 15:08:25 -05:00
Dominik Picheta
3612aca5fe
Implemented buffering for asynchronous sockets.
2014-04-13 14:18:47 +01:00
Grzegorz Adam Hankiewicz
c3cb03c640
Renames split to distribute. Refs #1084 .
2014-04-13 10:50:27 +02:00
Andreas Rumpf
2e9950afe8
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-04-13 00:40:17 +02:00