Commit Graph

5256 Commits

Author SHA1 Message Date
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
Araq
947b152163 some changes 2014-06-09 08:03:54 +02:00
Grzegorz Adam Hankiewicz
3f9ad7ef22 Documents -d: in the compiler guide and hyperlinks assert/defined. 2014-06-06 22:03:38 +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
Grzegorz Adam Hankiewicz
6975e77d43 Adds docstring example to system.fieldPairs. 2014-06-06 19:10:08 +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
6ae46265cc Merge pull request #1221 from rbehrends/readallbuf-fix
Fixed readAllBuffer() to avoid adding garbage bytes at end.
2014-05-31 20:51:16 +02:00
Varriount
4bb07bc88c Merge pull request #1237 from Varriount/gradha-pr_documents_koch
Gradha pr documents koch
2014-05-31 14:44:04 -04:00
Clay Sweetser
24e6baa3e2 Merge branch 'pr_documents_koch' of git://github.com/gradha/Nimrod into gradha-pr_documents_koch
Conflicts:
	web/nimrod.ini
2014-05-31 14:41:34 -04: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
794b035e89 Merge pull request #1126 from fowlmouth/patch-1
added md5 functions from <openssl/md5.h>
2014-05-31 14:37:33 +02:00
Andreas Rumpf
2b72e02ecc Merge pull request #1208 from jbe/shared_mem_stats
added getTotalSharedMem et al.
2014-05-31 14:33:53 +02:00
Andreas Rumpf
208a594ff1 Merge pull request #1178 from EXetoC/nostackframe
noStackFrame -> asmNoStackFrame
2014-05-29 02:15:01 +02:00
Charlie
ee0cbbe44c renamed UINT in windows.nim to WINUINT 2014-05-26 23:47:18 -04:00
flaviut
c7a57dc184 Switch chaining to the {} and {}= operators 2014-05-26 16:13:19 -04:00
Reimer Behrends
ce773b70a7 Fixed readAllBuffer() to avoid adding garbage bytes at end.
The function readAllBuffer() always returned a string that was a
multiple of the BufSize in length, regardless of how many bytes were
actually read, padding the result with garbage bytes on the last chunk.
This fix properly trims the last chunk to its actual size.
2014-05-26 14:29:55 +02:00
Andreas Rumpf
97fa3391f2 Merge pull request #1132 from gradha/pr_index_improvements
Documentation index improvements
2014-05-26 00:12:25 +02:00
Araq
ab5f2273a6 pdcurses wrapper compiles again 2014-05-25 21:51:08 +02: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