10042 Commits

Author SHA1 Message Date
Dominik Picheta
2158952917 Linux async fixes. 2014-07-13 22:43:52 +01:00
Dominik Picheta
ac8ddb0720 Implement safe flags for socket operations. 2014-07-13 22:32:39 +01:00
Dominik Picheta
cdcdab49b7 Fix broken async tests. 2014-07-13 11:02:34 +01:00
Dominik Picheta
374706b1c3 Void futures are no longer discardable. 2014-07-13 10:19:48 +01:00
Dominik Picheta
634a416c67 Async fixes for Linux. 2014-07-13 00:11:05 +01:00
Dominik Picheta
cf5c8a204e Many async optimisations.
* Selectors implementation will now attempt to immediately execute an IO
  operation instead of waiting for a ready notification.
* Removed recursion in asynchttpserver.
* Improved buffered implementation of recvLine in asyncnet.
* Optimised ``respond`` in asynchttpserver removing a possible "Delayed ACK"
  situation.
2014-07-12 22:51:06 +01:00
Grzegorz Adam Hankiewicz
7c51f67e85 Improves docstring contents and visibility of paramStr and friends. 2014-07-12 10:46:08 +02:00
def
fc6a799fc6 Add random() for openarrays 2014-07-12 03:04:43 +02:00
def
82fc908ebb Export FileInfo object 2014-07-11 01:27:01 +02:00
def
66fad12391 Change wordwrap to remove separators at newlines 2014-07-09 20:40:01 +02:00
def
8b796763a3 Fix to included last element in reversed 2014-07-09 18:54:05 +02:00
def
c591db16c8 Add reversed proc 2014-07-09 18:43:00 +02:00
Andreas Rumpf
ec12922c43 Merge pull request #1336 from Varriount/fix-542
Fixes #542
2014-07-09 09:49:10 +02:00
Clay Sweetser
27fdc5fe33 Fixes #542 2014-07-08 16:25:13 -04:00
Araq
91ecae9c93 fixes #1328 2014-07-08 08:48:48 +02:00
Araq
1d5938a0ef Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-06-30 19:30:44 +02:00
Andreas Rumpf
ca8f02c7d6 Merge pull request #1299 from gradha/pr_documents_interfacing
Documents backend interfacing
2014-06-30 19:11:30 +02:00
Andreas Rumpf
dc15d37db0 Merge pull request #1301 from def-/sequtils-filter-directly
Add keepIf proc and keepIfIt template to sequtils
2014-06-30 18:33:50 +02:00
Andreas Rumpf
5555d4ab0c Merge pull request #1312 from def-/missing-unsigned-operators
Add missing operators for uint and uint64: `+=`, `-=`, `*=`
2014-06-30 18:31:40 +02:00
Araq
678f3d7f5b fixes constant array indexing bug 2014-06-30 16:45:55 +02:00
Andreas Rumpf
33106884ec Merge pull request #1318 from rbehrends/rename-distnct
Rename sequtils.distnct to sequtils.deduplicate.
2014-06-28 21:27:25 +02:00
Reimer Behrends
cbcf01fc06 Rename sequtils.distnct to sequtils.deduplicate. 2014-06-28 19:18:13 +02:00
def
5439699b9b Add type constraints for uint and uint64 to the System module's procs instead 2014-06-28 16:24:14 +02:00
def
f6c4864f9f Rename keepIfIt to keepItIf 2014-06-28 14:39:21 +02:00
Dominik Picheta
f830aed869 AsyncHttpServer now supports POST. 2014-06-28 13:08:11 +01:00
Araq
c71d7213e8 Merge branch 'devel' of https://github.com/Araq/Nimrod into new_spawn 2014-06-28 13:58:32 +02:00
Dominik Picheta
9ea0d0c59e Futures with an error but no callback no longer raise.
This was done as a safety measure against futures which may be
accidentally discarded when they have an exception leading the exception
being silently forgotten. Unfortunately we will need to come up with
some other solution.
2014-06-28 12:16:08 +01:00
Felix Krause
f59ca2736d Fixed == for PTables, added test. 2014-06-27 16:57:01 +02:00
def
4f24facb7c Add inc and dec for uint and uint64 2014-06-27 16:32:08 +02:00
def
79cdb26b46 Add missing operators for uint and uint64: +=, -=, *= 2014-06-27 15:19:09 +02:00
Felix Krause
ac3f872fa3 Fixed TSet proc names to conform with set 2014-06-26 20:55:46 +02:00
Felix Krause
84643abd3e Fixed doc comments in sets.nim 2014-06-26 20:55:46 +02:00
Araq
85a1d896c2 Merge branch 'devel' of https://github.com/Araq/Nimrod into new_spawn
Conflicts:
	lib/system.nim
2014-06-26 17:19:28 +02:00
Araq
eed443d4b3 rewrote lambdalifting; fixes deeply nested closures 2014-06-26 15:58:41 +02:00
Araq
e712dbaef5 added OEMCP for the default OEM codepage 2014-06-26 15:52:23 +02:00
Felix Krause
bdd3b6c612 Added logical set operations to TSet 2014-06-25 22:07:28 +02:00
def
92e958b654 Add keepIf proc and keepIfIt template to sequtils 2014-06-22 23:15:53 +02:00
Dominik Picheta
38cdd7595e Remove varargs from json.{} 2014-06-22 20:25:38 +01:00
Grzegorz Adam Hankiewicz
2353b5633e Hyperlinks back JavaScript target. 2014-06-21 23:48:41 +02:00
Billingsly Wetherfordshire
bd8f5c8392 json.== handles nil now 2014-06-19 13:00:11 -05:00
Dominik Picheta
7ebbc09578 Allow async lambdas. Other socket modifications. 2014-06-19 00:05:27 +01:00
Billingsly Wetherfordshire
13608c0a1a fix json.[] 2014-06-17 15:05:50 -07:00
flaviut
2456c8dfe3 Fix bootstrapping 2014-06-16 17:25:34 -04:00
Andreas Rumpf
2ec1501c7a Merge pull request #1281 from Araq/new_spawn
New spawn
2014-06-16 23:03:17 +02:00
Varriount
13542572ab Update json.nim
Fixed a bug with json.[], which caused a segfault on debug builds.
2014-06-14 22:10:54 -04:00
katlogic
cea2a9087d More human readable $(float)
The output matches that of Python (eg 1e100, not 1.0e100), but also
reflects locale (assuming it was set using setlocale() before).
2014-06-15 01:49:14 +02:00
Andreas Rumpf
d927eb5854 Merge pull request #1251 from gradha/pr_misc_docs
Misc docs suggestions
2014-06-12 16:39:20 +02:00
Araq
15909c7be2 optimized method dispatchers 2014-06-12 16:05:50 +02:00
Araq
9354b8a9d7 added allValues iterator 2014-06-12 14:45:56 +02:00
Grzegorz Adam Hankiewicz
af6abac491 Revert "Adds to tables module example of reference type vs value type."
This reverts commit bde9d1ac07.
2014-06-10 00:39:19 +02:00