10042 Commits

Author SHA1 Message Date
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
fd086abb43 fixes #1456 2014-08-08 09:55:19 +02: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
32197b7a13 fixes #1456 2014-08-08 02:26:56 +02:00
Araq
68accb53c4 setMaxPoolSize improvements 2014-08-08 02:25:07 +02:00
Araq
057b53e139 'lambda' is no keyword anymore 2014-08-08 02:24:19 +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
Varriount
505b4158aa Merge pull request #1447 from gradha/pr_tutorial_improvements
Tutorial improvements
2014-08-06 22:53:08 -04:00
Clay Sweetser
c4ac8edce9 Make device and file ID's public.
Added the isHidden() proc
2014-08-06 20:42:43 -04:00
Araq
404ada2aff Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-08-06 09:54:31 +02:00
Araq
a64d733029 some bugfixes for 'deepCopy' 2014-08-06 09:54:23 +02:00
def
c0422ae8af Move floating point rounding and exceptions handling to math
(it's C99 as well, not just POSIX)
2014-08-06 02:31:19 +02: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
Araq
cf61072cc9 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Conflicts:
	compiler/ccgexprs.nim
2014-08-05 21:53:26 +02:00
def
2476ee0cd7 Add -lm for fesetround and fegetround 2014-08-05 20:34:07 +02:00
Grzegorz Adam Hankiewicz
f3d785b5cf Factors exception hierarchy into reusable fragment.
The fragment with hyperlinks is included now from the system module.
2014-08-05 18:11:41 +02:00
Grzegorz Adam Hankiewicz
1daa54e5a2 Downgrades public module comments to private level.
This avoids the weird concatenation in the final system.html file which
doesn't make any sense.
2014-08-05 17:07:43 +02: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
c7898a0c81 Extend list comprehension documentation 2014-08-03 19:07:45 +02:00
def
9f99dd0196 Add list comprehensions to future module 2014-08-03 14:11:57 +02:00
Araq
9673e4f2df progress on deepCopy 2014-08-01 23:40:48 +02:00
Andreas Rumpf
ee61a39cff Merge pull request #1430 from def-/xmldom-nil
Add some nil checks for xmldom (and clean up a bit)
2014-08-01 02:28:51 +02:00
def
dc756a7618 replace nil comparisons with calls to isNil 2014-08-01 02:23:13 +02:00
def
7b9e2881d8 Add "struct" to POSIX flock 2014-07-31 11:28:26 +02:00
def
2c6406703c Add some nil checks for xmldom (and clean up a bit) 2014-07-30 23:23:02 +02:00
Dominik Picheta
779f2b37aa Fixes typeinfo after PR #1408 broke it. 2014-07-29 21:29:39 +01:00
def
06bbd6e7d7 flush -> flushFile in doc 2014-07-29 19:52:41 +02:00
Andreas Rumpf
651f5122e4 Merge pull request #1408 from Skrylar/skry-unsigned-any
Add better support for unsigned ints via typeinfo.
2014-07-29 19:39:22 +02:00
Grzegorz Adam Hankiewicz
69949c07b7 Escapes properly code blocks without highlite support. 2014-07-28 23:22:39 +02:00
def
c78b1070a8 overlapping as a parameter for count instead 2014-07-28 16:48:21 +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
Grzegorz Adam Hankiewicz
b287f13d4a Handles :file: option for code blocks to avoid warnings. 2014-07-26 14:39:01 +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