Commit Graph

1520 Commits

Author SHA1 Message Date
Andreas Rumpf
608170b9d6 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-19 01:08:00 +01:00
Andreas Rumpf
12b5c0985d Merge pull request #3881 from endragor/nocppexceptions
Added --noCppExceptions switch
2016-02-19 00:33:47 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
cheatfate
a27e4b5193 bug fix: repr() of sized enums presentation Issue #3864 2016-02-18 15:40:55 +02:00
Anatoly Galiulin
b0eeacf71e Added rlocks module to documentation and news.txt 2016-02-18 09:46:34 +06:00
Andreas Rumpf
8ec5c01cae further progress on --gc:v2 2016-02-17 14:52:02 +01:00
Anatoly Galiulin
0290bc2240 Added reentrant locks module to stdlib 2016-02-17 17:05:20 +06:00
Andreas Rumpf
8ec7c0af20 php-codegen fixes 2016-02-06 19:58:28 +01:00
Andreas Rumpf
9b44ca17c2 PHP codegen can generate PHP classes 2016-02-06 15:39:56 +01:00
Andreas Rumpf
35567a1eb9 first version of an PHP codegen 2016-02-06 15:39:56 +01:00
Andreas Rumpf
58f6bfb1dc Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-02-06 15:29:25 +01:00
Andreas Rumpf
03f4aa23d7 Merge pull request #3106 from def-/deprecation
Fix a few deprecation warnings
2016-02-06 15:22:19 +01:00
Andreas Rumpf
19677a11b0 some progress on GC v2 2016-02-03 17:42:10 +01:00
Andreas Rumpf
fb149d2eef fixes #1895 2016-01-30 14:23:03 +01:00
Anatoly Galiulin
4f8244c717 Remove system.setupForeignThreadGc if threads option is off or TLS
emulation is enabled
2016-01-28 12:29:53 +06:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
def
4e0f8cf595 Use ByteAddress instead of deprecated TAddress 2016-01-24 14:02:20 +01:00
Yuriy Glukhov
c3d09aeeac Fixed unicode strings in JS 2016-01-22 11:24:00 +02:00
Yuriy Glukhov
5f092520d1 Revert "Fixed unicode handling in JS. Fixes #3714." 2016-01-21 22:26:50 +02:00
Andreas Rumpf
1dac302975 Merge pull request #3754 from yglukhov/js-unsigned
Unsigned arith corrected for JS
2016-01-21 16:28:03 +01:00
Yuriy Glukhov
c0d0e5efd9 Unsigned arith corrected for JS 2016-01-21 17:00:42 +02:00
Yuriy Glukhov
8fab2f81e3 Fixed unicode handling in JS. Fixes #3714. 2016-01-18 13:30:21 +02:00
Michał Zieliński
26f2bb0eab add support for uint32 and uint64 in repr 2016-01-16 17:06:03 +01:00
Andreas Rumpf
72f804671d do not print spurious warnings when dlopen fails; can be re-enabled with -d:nimDebugDlOpen 2015-12-29 20:39:52 +01:00
Dominik Picheta
a01eb098f1 Task proc in nimscript module will now export the proc it creates. 2015-12-24 17:09:58 +00:00
Andreas Rumpf
f75d11193a modified the integrated profiler to hopefully produce more reliable results 2015-12-18 01:47:39 +01:00
Yuriy Glukhov
62422b93c6 Fixed copying of nil seq in JS 2015-12-16 15:25:58 +02:00
Dominik Picheta
60b23d1f7a Merge pull request #3595 from dfdeshom/devel
Print out more detailed error messages when compilation fails
2015-12-04 15:27:06 +00:00
Araq
760242b870 removes 'x is iterator' special casing in the language 2015-12-03 01:08:03 +01:00
Araq
076b809677 set debug switch to false again 2015-12-01 00:53:30 +01:00
Araq
af29ea1ea2 proper color flipping 2015-12-01 00:53:30 +01:00
Araq
10530add48 next steps for the GC 2015-12-01 00:53:30 +01:00
Araq
9ed635d5c0 only mark roots when marking 2015-12-01 00:53:30 +01:00
Araq
070403ca5e first compiling version of the new GC 2015-12-01 00:53:30 +01:00
Araq
217e0ab6e9 lambda lifting support for iterToProc plugin 2015-12-01 00:53:30 +01:00
Araq
d7433d02bc fixes typo 2015-12-01 00:53:30 +01:00
Araq
9d1f197773 added CellSetIter for git's history 2015-12-01 00:53:30 +01:00
Araq
a1739455d3 first version of the new hard realtime GC 2015-12-01 00:53:30 +01:00
dfdeshom
5b35efe5b7 Print out more detailed error messages when compilation fails 2015-11-26 12:23:26 -06:00
Yuriy Glukhov
0abfbf8f0d Removed Node, NodeType and Document definitions from jssys. 2015-11-25 16:37:36 +02:00
jyelon
e8bc19f79c Add 'auto-decoration' to nimGetProcAddr
Maintainers of win32 DLLs can opt to provide libraries with
'decorated' function names (Google "stdcall name decoration").  To
pull a function pointer out of one of these DLLs, you have to pass a
decorated name to getProcAddress.  This is painful for the authors
of NIM DLL wrappers - they have to pass manually-decorated strings
to "importc", but only on win32.

This commit adds auto-decoration to nimGetProcAddress.  This function
will probe the DLL for the undecorated name, and if that fails, it
will automatically add decoration and try again.  That way, the author
of the wrapper doesn't have to deal with it.
2015-11-11 21:55:33 -05:00
Araq
5c8342eef9 Nimscript fixes 'cpFile' typo 2015-11-03 14:52:36 +01:00
Adam Strzelecki
a02359b4e1 system/dyncalls: OS X is already handled as posix
So elif defined(mac) has absolutely no effect, also this block uses some legacy
discouraged NSCreateObjectFileImageFromFile function.
2015-10-22 20:40:02 +02:00
Araq
03550f14f8 createThread is more convenient to use with a proc taking no arguments 2015-10-19 16:09:35 +02:00
Yuriy Glukhov
2166b7bc46 Fixed ret by var in js 2015-10-15 16:04:53 +03:00
Araq
8be9e46403 udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
Araq
967c20743a Merge branch 'gc-fixes' of https://github.com/rbehrends/Nim into rbehrends-gc-fixes 2015-10-12 17:34:44 +02:00
Andrey Sobolev
d1b67cb9bb Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-10-06 10:55:52 +06:00
Araq
28b1340f94 fixes 'line too long' warning 2015-10-03 23:19:14 +02:00
Andrey Sobolev
4c53a3a7a5 Merge remote-tracking branch 'nim-lang/devel' into emscripten-support 2015-10-01 22:08:29 +06:00