Commit Graph

464 Commits

Author SHA1 Message Date
Andreas Rumpf
2ec1501c7a Merge pull request #1281 from Araq/new_spawn
New spawn
2014-06-16 23:03:17 +02: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
Araq
15909c7be2 optimized method dispatchers 2014-06-12 16:05:50 +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
Araq
b7cbb08f99 added 'fence' instructions to the barrier 2014-06-06 02:05:17 +02:00
Araq
2de99653d0 Promises are now refs 2014-06-05 08:46:29 +02: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
Andreas Rumpf
2b72e02ecc Merge pull request #1208 from jbe/shared_mem_stats
added getTotalSharedMem et al.
2014-05-31 14:33:53 +02: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
Araq
030eac86c0 bugfix: regionized pointers in a generic context; renamed 'Future' to 'Promise' 2014-05-25 15:19:46 +02:00
Andreas Rumpf
912fbb9893 Merge pull request #1196 from EXetoC/cpp-target-fixes
C++ target fixes
2014-05-24 01:41:34 +02:00
Araq
417b9f5a1d 'parallel' statement almost working 2014-05-22 08:41:50 +02:00
Varriount
c40f2d682e Merge pull request #1169 from Araq/sigpipe
Fixes #1168
2014-05-21 17:54:55 -04:00
Jostein Berre Eliassen
f5ed8f3a1b added getTotalSharedMem et al. 2014-05-20 00:44:16 +02:00
EXetoC
502f7bffa3 Resolve type mismatches. 2014-05-13 15:03:58 +02:00
Araq
6195dbe491 initial non-compiling version of 'parallel' 2014-05-12 11:12:37 +02:00
Simon Hafner
9428bedcc8 Fixes #1168 2014-05-03 15:59:04 -05:00
Araq
d0438540d0 implemented builtin noncopying slice 2014-05-02 08:44:03 +02:00
Araq
81d4049797 bugfix: MS-GC GC_unref 2014-04-30 01:05:52 +02:00
Araq
ed1927e001 bugfix: MS GC acknowledges GC_ref/unref properly 2014-04-30 00:22:45 +02:00
Araq
0049a2a388 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-04-25 19:55:06 +02:00
Araq
fab8cee13d minor tweaks; updated todo.txt 2014-04-25 19:54:42 +02:00
Araq
a146d6b2b9 building of nimrtl.dll should work again 2014-04-22 21:40:12 +02:00
Varriount
c0338eacb6 Merge pull request #1118 from gradha/pr_show_boot_options
Version switch displays options used during `koch boot`
2014-04-21 15:41:03 -04:00
Araq
5e839d50b4 fixes DLL generation 2014-04-21 03:44:48 +02:00
Araq
2c97242739 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-04-21 00:07:40 +02:00
Araq
e3fab47508 attempt to make some tests green 2014-04-21 00:07:31 +02:00
Dominik Picheta
ca2b73f64a Revert 4b09baa0a and 33fcd1123. 2014-04-20 22:35:17 +01:00
Araq
36fc1d9d72 spawn has a chance of working on posix 2014-04-20 22:42:51 +02:00
Araq
da7d6c8446 fixes bootstrapping 2014-04-20 21:34:17 +02:00
Araq
e6d17e6273 made large parts of the stdlib gcsafe 2014-04-20 20:01:24 +02:00
Grzegorz Adam Hankiewicz
03ffc344e1 Version switch displays options used during koch boot 2014-04-20 12:23:54 +02:00
Araq
c80d563afb actors compile again 2014-04-20 12:10:23 +02:00
Araq
05e89ffceb Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-04-20 01:19:10 +02:00
Araq
9a2704056a marked markAndSweep GC thread safe 2014-04-20 01:17:46 +02:00
Araq
3b69a8d27a New concurrency model: next steps 2014-04-19 22:24:43 +02:00
Araq
8e08ff559f first version of 'spawn' 2014-04-16 08:44:57 +02:00
Grzegorz Adam Hankiewicz
6baedfe946 Fixes typo to be able to use debugger. 2014-04-15 21:23:52 +02:00
Dominik Picheta
b0a16fb619 Fixes problems with JS code gen.
--out for JS backend now works. setLen now works, this also fixes the base64
module. getCurrentExceptionMsg now also works with exceptions thrown by
JS. log() supports a variable number of args now. Fixed some case
sensitivity issues with arrayConstr and other functions.
2014-04-11 21:36:02 +01:00
Andreas Rumpf
bb8b9da391 Merge pull request #902 from reactormonk/float_toString
use `.f` instead of `.16e` for floats
2014-04-09 00:06:18 +02:00
Araq
42a8ab34f1 preparations for easier debugging 2014-04-07 23:28:29 +02:00
Araq
a4ccd7b865 doc generation for asyncdispatch works 2014-04-06 19:36:29 +02:00
Araq
de5d18188f ENDB: got rid of deprecated 'nil' stmt 2014-03-27 19:59:31 +01:00
Araq
a431207e52 bugfix: reprEnum for enums with negative values 2014-03-22 02:49:51 +01:00
Araq
10768904eb Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Conflicts:
	lib/system/jssys.nim
2014-02-25 01:06:35 +01:00
Araq
ab72377ce6 renamed noStackFrame to asmNoStackFrame 2014-02-18 09:57:59 +01:00
Zahary Karadjov
cda92048ba fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone] 2014-02-18 02:46:14 +02:00
Simon Hafner
33fcd11236 add a trailing zero to $float 2014-02-11 17:46:34 -06:00
Simon Hafner
4b09baa0a0 use .f instead of .16e for floats
It doesn't write a trailing zero, but it's better than floats being all
over your screen.
2014-02-11 15:06:24 -06:00