Commit Graph

5052 Commits

Author SHA1 Message Date
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
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
flaviut
08a76f0466 replace nil checks with assert 2014-05-31 14:18:26 -04:00
Andreas Rumpf
208a594ff1 Merge pull request #1178 from EXetoC/nostackframe
noStackFrame -> asmNoStackFrame
2014-05-29 02:15:01 +02:00
flaviut
c7a57dc184 Switch chaining to the {} and {}= operators 2014-05-26 16:13:19 -04:00
Varriount
1d6c05edc3 Update selectors.nim 2014-05-25 12:20:24 -04:00
Varriount
f10f9c4b7e Update selectors.nim
Fixed selectors.nim on macosx
2014-05-25 11:35:10 -04:00
Araq
030eac86c0 bugfix: regionized pointers in a generic context; renamed 'Future' to 'Promise' 2014-05-25 15:19:46 +02:00
Dominik Picheta
b4366366d1 Clean createVar template. 2014-05-25 13:09:18 +01:00
Dominik Picheta
d54b902441 Modified future behaviour when completing with an exception.
Futures will now raise the exception if they did not have a callback
associated with them.
2014-05-24 15:55:39 +01:00
Dominik Picheta
b386d38208 Add asyncdispatch.unregister. 2014-05-24 15:55:37 +01:00
Varriount
b3a39524ee Merge pull request #1225 from Varriount/fix-issue/1134
Fix issue #1134
2014-05-24 09:12:46 -04:00
Clay Sweetser
0dc770332e Fix issue #1134
Adds the necessary imports for selectors under MacOSX
2014-05-24 09:12:07 -04:00
Varriount
ede902a13d Merge pull request #1223 from Varriount/queues/fix-assertion
Fix assertion in queues.dequeue
2014-05-24 08:42:46 -04:00
Clay Sweetser
05953381e9 Fix assertion in queues.dequeue 2014-05-24 08:41:12 -04:00
Andreas Rumpf
912fbb9893 Merge pull request #1196 from EXetoC/cpp-target-fixes
C++ target fixes
2014-05-24 01:41:34 +02:00
Andreas Rumpf
b9b45c1bb4 Merge pull request #1180 from barcharcraz/OpenBSDFix
Added define check for openBSD around fmtmsg.h stuff
2014-05-24 01:35:58 +02:00
Dominik Picheta
c6c7c651e6 Merge pull request #1209 from fowlmouth/patch-3
`=>` macro tripped on generic return types
2014-05-23 13:57:22 +01:00
Dominik Picheta
6a38d36239 Rename asyncdispatch.close to asyncdispatch.closeSocket. 2014-05-23 13:14:28 +01:00
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
Araq
d2dbcf2fa4 progress with futures 2014-05-23 08:57:16 +02:00
Araq
417b9f5a1d 'parallel' statement almost working 2014-05-22 08:41:50 +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