Commit Graph

18917 Commits

Author SHA1 Message Date
Araq
387593bcaa Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn 2014-06-02 23:32:28 +02:00
Reimer Behrends
c2b58f3a54 Properly terminate "nimrod i" on end of file.
Nimrod in interactive mode got stuck in an infinite loop when
encountering EOF (Ctrl-D), unless GNU Readline was being used. This
change mimics the GNU Readline behavior in rdstdin.nim and calls quit(0)
when encountering EOF while reading from stdin in interactive mode.
2014-06-02 19:38:51 +02:00
Araq
7303c3292f fixed codegen for barriers 2014-06-02 19:03:21 +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
Araq
e6d12f3f6e fixed codegen for return values 2014-06-01 15:02:13 +02:00
klaufir
56a912fb2a adding header pragma for printf ffi example 2014-06-01 04:20:47 +02:00
Araq
40baebebfe pi test compiles, but crashes randomly 2014-06-01 01:45:44 +02:00
Andreas Rumpf
cbe25a41b0 Merge pull request #1229 from Varriount/fix-1203
Fix issue #1203
2014-05-31 22:53:36 +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
enurlyx
33eeb66ea2 Add support for structs/unions defined in structs/unions 2014-05-31 16:02:15 +02: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
Araq
9953e0bbca tdisjoint_slice2 works 2014-05-31 01:16:16 +02:00
Araq
bea1761da1 tester works again 2014-05-30 17:04:39 +02:00
Araq
ea16aca09e correct code generation for tforstmt 2014-05-30 13:15:54 +02:00
Araq
6470bd8f87 'parallel' proves array bounds 2014-05-29 13:27:45 +02:00
Araq
f12a0820e0 added 'sortoutput' option to make output deterministic for threading tests 2014-05-29 13:19:26 +02:00
Simon Hafner
eb27c2c7dd Merge pull request #1228 from Varriount/compiler/document-parser
Document parser structures and procedures.
2014-05-29 05:00:22 -05:00
Andreas Rumpf
4b98937700 Merge pull request #1222 from Varriount/doc/fix-assertion
Doc/fix assertion
2014-05-29 02:25:27 +02:00
Andreas Rumpf
208a594ff1 Merge pull request #1178 from EXetoC/nostackframe
noStackFrame -> asmNoStackFrame
2014-05-29 02:15:01 +02:00
Andreas Rumpf
7ab2bc38e6 Merge pull request #1230 from flaviut/fix1226
Fix 1226 and document associated methods
2014-05-29 01:59:24 +02:00
Andreas Rumpf
7d9042b1ba Merge pull request #1231 from flaviut/test1149
Add test for #1149
2014-05-29 01:58:39 +02:00
Varriount
e02abc6eb6 Merge pull request #1233 from barcharcraz/fixedWindows
renamed UINT in windows.nim to WINUINT
2014-05-27 02:07:10 -04: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
flaviut
2fcc911a94 Enable disabled test 2014-05-26 13:50:08 -04:00
flaviut
4d4ac62d40 Add test for #1149 2014-05-26 13:49:23 -04:00
flaviut
85e6e2a240 Document mangling 2014-05-26 10:44:14 -04:00
Clay Sweetser
10e23e9159 Renamed considerAccents to considerQuotedIdent 2014-05-26 10:42:10 -04:00
flaviut
056c78020b Fix #1226 2014-05-26 10:39:37 -04:00
Clay Sweetser
9d68fe3782 Rename some variables in the isCastable code 2014-05-26 10:16:59 -04:00
Clay Sweetser
c4f77ecd9a Fix issue #1203 2014-05-26 10:13:29 -04:00
Clay Sweetser
6608fcc60f Update 'isCastable' and 'semCast' doc-comments 2014-05-26 10:12:46 -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
Araq
04a1555f4a Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-05-25 21:20:26 +02:00
Araq
b230303fd6 fixes the bug that keeps the template engine package from working 2014-05-25 21:20:11 +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
Araq
030eac86c0 bugfix: regionized pointers in a generic context; renamed 'Future' to 'Promise' 2014-05-25 15:19:46 +02:00
Dominik Picheta
225d4f410d Added powerpc to the list of CPUs that C sources are built for. 2014-05-25 13:54:46 +01:00
Dominik Picheta
b4366366d1 Clean createVar template. 2014-05-25 13:09:18 +01:00