Commit Graph

1022 Commits

Author SHA1 Message Date
Dominik Picheta
41bb0bf9dc Added debug code for futures. 2014-07-14 21:06:04 +01:00
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
def
82fc908ebb Export FileInfo object 2014-07-11 01:27:01 +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
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
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
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
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
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
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
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
Andreas Rumpf
d927eb5854 Merge pull request #1251 from gradha/pr_misc_docs
Misc docs suggestions
2014-06-12 16:39:20 +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
Araq
947b152163 some changes 2014-06-09 08:03:54 +02:00
Araq
4220b1c81d Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn 2014-06-06 21:11:11 +02:00
Grzegorz Adam Hankiewicz
f45a1dbf1d Adds brief intro to hashes module. 2014-06-06 20:58:51 +02:00
Grzegorz Adam Hankiewicz
bde9d1ac07 Adds to tables module example of reference type vs value type. 2014-06-06 20:18:19 +02:00
Grzegorz Adam Hankiewicz
9009841d62 Avoids temporal string in tables hashing example. 2014-06-06 19:53:39 +02:00
Grzegorz Adam Hankiewicz
7da3c5e71e Adds do notation example to algorithm.sort. 2014-06-06 19:32:36 +02:00
Araq
59c18eb743 big rename: Promise -> FlowVar 2014-06-06 07:56:47 +02:00
Araq
b7cbb08f99 added 'fence' instructions to the barrier 2014-06-06 02:05:17 +02:00
Dominik Picheta
69a5954807 Capitalised enum value names in JSON module. 2014-06-05 23:12:22 +01:00
Andreas Rumpf
2dba171acc Merge pull request #1174 from fowlmouth/patch-2
added `==` for PJsonNode
2014-06-05 23:43:51 +02:00
Araq
2de99653d0 Promises are now refs 2014-06-05 08:46:29 +02:00
Araq
a4323b06b3 barrier more efficient 2014-06-03 08:25:42 +02:00
Billingsly Wetherfordshire
4ae9486eef fix #1241 2014-06-02 18:21:37 -05:00
Billingsly Wetherfordshire
ac797e1801 added json.hash 2014-06-02 18:13:56 -05:00
Araq
387593bcaa Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn 2014-06-02 23:32:28 +02:00
Araq
fbadbb399e hopefully faster barrier implementation 2014-06-02 19:03:01 +02:00
Araq
b78173788d bugfix: codegen for promises 2014-06-02 09:13:16 +02:00
Clay Sweetser
93fa75bb07 Fixed #1172 (for real) 2014-06-01 17:40:06 -04:00
Araq
be229163af Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn 2014-06-01 22:00:06 +02:00
Andreas Rumpf
726003ac52 Merge pull request #1089 from flaviut/jsonchange
Allow for nil chaining in JSON and require an exception on out-of-bounds indexing
2014-05-31 20:35:26 +02:00