Commit Graph

1101 Commits

Author SHA1 Message Date
Dominik Picheta
add0a0e9bc Merge pull request #1351 from def-/random-openarrays
Add random() for openarrays
2014-08-13 21:12:12 +01:00
Araq
abc8447331 fixes #1413 2014-08-13 02:34:08 +02:00
Araq
62e454f41b asynchttpserver compiles again; made some tests green 2014-08-13 01:16:18 +02:00
Araq
9e772a80f3 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-12 22:38:30 +02:00
Araq
1ee87b88ee asyncio compiles again 2014-08-12 22:38:10 +02:00
Andreas Rumpf
b1bfd51200 Merge pull request #1403 from def-/newseqwith
Add newSeqWith
2014-08-12 20:00:25 +02:00
Andreas Rumpf
bba644fbd1 Merge pull request #1405 from boydgreenfield/add_mmap_map_populate
Add mmap map populate
2014-08-12 19:50:14 +02:00
Araq
4d863ebb5e fix failed tests due to gcsafe 2014-08-12 10:11:58 +02:00
def
61a6ecfd94 Move newSeqWith to sequtils 2014-08-11 21:05:21 +02:00
Araq
aaf4b04203 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-11 20:38:36 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Dominik Picheta
a2ec3c91f1 Fix asyncnet example. Rearrange net code. 2014-08-10 12:28:17 +01:00
Dominik Picheta
ef2f377bfa Added SafeDisconn for accept. 2014-08-10 11:39:37 +01:00
Dominik Picheta
eb6ac2a901 Asynchttpserver now uses new uri module for URL parsing. 2014-08-10 10:54:59 +01:00
Dominik Picheta
7358fc256f More future debug info. Added new error code to SafeDisconn list. 2014-08-09 20:50:06 +01:00
Dominik Picheta
f8e714bd30 Fixes async on Linux. 2014-08-09 18:10:45 +01:00
Dominik Picheta
4f5f98f0b1 Fixes incorrect async exception handling. Adds sleepAsync.
The tasyncexceptions test has been added which tests for this incorrect
exception handling behaviour. The problem was that the exception was
raised inside a callback which was called from a previously finished async
procedure. This caused a "Future already finished" error. The fix was to
simply reraise the exception if the retFutureSym is already finished.

sleepAsync was added to help with the reproduction of this test. It should
also be useful for users however.

Finally some debug information was added to futures to help with future
bugs.
2014-08-09 17:13:22 +01:00
Araq
abf511245a nice error message 2014-08-08 09:54:43 +02:00
Araq
c5b9486455 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-08 02:28:35 +02:00
Araq
68accb53c4 setMaxPoolSize improvements 2014-08-08 02:25:07 +02:00
Varriount
0db99beecb Merge pull request #1446 from gradha/pr_links_typetraits_module
Links typetraits module
2014-08-06 22:54:35 -04:00
Dwight Schauer
530d210c91 Added carriage return and linefeed check to os::parseCmdLine ti delimiting whitespace eating. 2014-08-05 18:57:45 -05:00
Grzegorz Adam Hankiewicz
00f56b20d7 Adds usage example to typetraits.name().
Credit goes to fowl (http://forum.nimrod-lang.org/t/430).
2014-08-05 11:25:54 +02:00
def
dc756a7618 replace nil comparisons with calls to isNil 2014-08-01 02:23:13 +02:00
def
2c6406703c Add some nil checks for xmldom (and clean up a bit) 2014-07-30 23:23:02 +02:00
Varriount
6debe48b23 Merge pull request #1414 from gradha/pr_sets_improvements
Sets improvements
2014-07-27 22:21:38 -04:00
Grzegorz Adam Hankiewicz
d597767d70 Adds hyperlinks to copyFile* docstrings. 2014-07-27 20:27:38 +02:00
Grzegorz Adam Hankiewicz
f345b0278b Adds os.copyDirWithPermissions(). 2014-07-27 20:24:39 +02:00
Grzegorz Adam Hankiewicz
e9417b55cf Adds definition of card term to sets module. 2014-07-27 09:42:49 +02:00
Grzegorz Adam Hankiewicz
48a13a76c8 Adds more docstrings to the sets module. 2014-07-27 00:14:55 +02:00
Grzegorz Adam Hankiewicz
0bfe956c05 Adds TSet.init(), wraps initSet around it. 2014-07-26 22:11:27 +02:00
Grzegorz Adam Hankiewicz
d21b682268 Adds TOrderedSet.init(), wraps initOrderedSet around it. 2014-07-26 22:11:27 +02:00
Grzegorz Adam Hankiewicz
6c3b967de3 Adds test cases for remaining TSet procs. 2014-07-26 22:11:26 +02:00
Grzegorz Adam Hankiewicz
dd47fa9037 Moves TSet procs to their code block. 2014-07-26 22:11:26 +02:00
Grzegorz Adam Hankiewicz
cdecac11c2 Adds TOrderedSet.isValid(). 2014-07-26 22:11:22 +02:00
Grzegorz Adam Hankiewicz
90e3c99bae Adds TSet.isValid(). 2014-07-26 22:11:17 +02:00
Dominik Picheta
f59d76a59e Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-07-26 02:15:14 +01:00
Dominik Picheta
030c2d6deb Fixes base64 crash. 2014-07-26 02:14:26 +01:00
Varriount
ba394e6d36 Merge pull request #1410 from Varriount/flyx-ptables_fix
Flyx ptables fix
2014-07-24 18:18:41 -04:00
Clay Sweetser
18003ff196 Added stylistic consistancy. 2014-07-24 18:17:20 -04:00
Clay Sweetser
e5acd9d410 Merge branch 'ptables_fix' of git://github.com/flyx/Nimrod into flyx-ptables_fix 2014-07-24 18:13:14 -04:00
Varriount
99aaefeaae Merge pull request #1289 from fowlmouth/patch-5
json.== handles nil now
2014-07-24 18:05:44 -04:00
jfhg
26ba9e6d32 fix build on DragonFly BSD and FreeBSD 2014-07-23 22:47:16 +02:00
Nick Greenfield
3a57052e57 Revert "Do not automatically use MAP_POPULATE for opening mmap files."
This reverts commit cba75db4e3. The prior
commit yields a compiler error 'error: lvalue required as left operand
of assignment; MAP_POPULATE = ((int) 0);'. So for now this branch
*always* adds MAP_POPULATE when using the open and mapMem procs.
2014-07-23 11:36:35 -07:00
Nick Greenfield
cba75db4e3 Do not automatically use MAP_POPULATE for opening mmap files.
Adds use_map_populate keyword to memfiles.open and memfiles.mapMem
to govern MAP_POPULATE use. This is set to false by default.
2014-07-23 11:31:03 -07:00
Nick Greenfield
272fd42c97 Add automatic MAP_POPULATE flag for opening read_only (MAP_PRIVATE) and shared (MAP_SHARED) mmap files. 2014-07-23 11:25:21 -07:00
Araq
821fe72ff5 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-07-22 20:23:28 +02:00
Araq
725cf0e22d '[]' for crit bit trees doesn't need the 'var' parameter 2014-07-22 20:23:19 +02:00
Dominik Picheta
8968b5114f Fixes #1065. 2014-07-20 15:11:03 +01:00
Dominik Picheta
be616fc432 Fixes #1219. 2014-07-19 13:22:58 +01:00