summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* php-codegen fixesAndreas Rumpf2016-02-061-0/+5
|
* PHP codegen can generate PHP classesAndreas Rumpf2016-02-061-5/+5
|
* first version of an PHP codegenAndreas Rumpf2016-02-061-128/+271
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2016-02-061-1/+1
|\
| * Merge pull request #3106 from def-/deprecationAndreas Rumpf2016-02-061-1/+1
| |\ | | | | | | Fix a few deprecation warnings
| | * Fix a few deprecation warningsdef2016-01-251-1/+1
| | |
* | | some progress on GC v2Andreas Rumpf2016-02-032-8/+12
|/ /
* | fixes #1895Andreas Rumpf2016-01-301-3/+6
| |
* | Remove system.setupForeignThreadGc if `threads` option is off or TLSAnatoly Galiulin2016-01-281-12/+22
|/ | | | emulation is enabled
* Use ByteAddress instead of deprecated TAddressdef2016-01-243-8/+8
|
* Fixed unicode strings in JSYuriy Glukhov2016-01-221-7/+38
|
* Revert "Fixed unicode handling in JS. Fixes #3714."Yuriy Glukhov2016-01-211-26/+7
|
* Merge pull request #3754 from yglukhov/js-unsignedAndreas Rumpf2016-01-211-36/+0
|\ | | | | Unsigned arith corrected for JS
| * Unsigned arith corrected for JSYuriy Glukhov2016-01-211-36/+0
| |
* | Fixed unicode handling in JS. Fixes #3714.Yuriy Glukhov2016-01-181-7/+26
|/
* add support for uint32 and uint64 in reprMichał Zieliński2016-01-161-2/+4
|
* do not print spurious warnings when dlopen fails; can be re-enabled with ↵Andreas Rumpf2015-12-291-3/+4
| | | | -d:nimDebugDlOpen
* Task proc in nimscript module will now export the proc it creates.Dominik Picheta2015-12-241-1/+1
|
* modified the integrated profiler to hopefully produce more reliable resultsAndreas Rumpf2015-12-181-17/+9
|
* Fixed copying of nil seq in JSYuriy Glukhov2015-12-161-7/+12
|
* Merge pull request #3595 from dfdeshom/develDominik Picheta2015-12-041-1/+3
|\ | | | | Print out more detailed error messages when compilation fails
| * Print out more detailed error messages when compilation failsdfdeshom2015-11-261-1/+3
| |
* | removes 'x is iterator' special casing in the languageAraq2015-12-031-0/+2
| |
* | set debug switch to false againAraq2015-12-011-1/+1
| |
* | proper color flippingAraq2015-12-011-34/+27
| |
* | next steps for the GCAraq2015-12-012-6/+23
| |
* | only mark roots when markingAraq2015-12-011-4/+5
| |
* | first compiling version of the new GCAraq2015-12-012-19/+46
| |
* | lambda lifting support for iterToProc pluginAraq2015-12-011-1/+4
| |
* | fixes typoAraq2015-12-011-1/+1
| |
* | added CellSetIter for git's historyAraq2015-12-011-0/+35
| |
* | first version of the new hard realtime GCAraq2015-12-011-1005/+478
|/
* Removed Node, NodeType and Document definitions from jssys.Yuriy Glukhov2015-11-251-74/+20
|
* Add 'auto-decoration' to nimGetProcAddrjyelon2015-11-111-1/+6
| | | | | | | | | | | | | | 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.
* Nimscript fixes 'cpFile' typoAraq2015-11-031-1/+1
|
* system/dyncalls: OS X is already handled as posixAdam Strzelecki2015-10-221-36/+0
| | | | | So elif defined(mac) has absolutely no effect, also this block uses some legacy discouraged NSCreateObjectFileImageFromFile function.
* createThread is more convenient to use with a proc taking no argumentsAraq2015-10-191-0/+3
|
* Fixed ret by var in jsYuriy Glukhov2015-10-151-3/+9
|
* udpated the compiler and tester to use getOrDefaultAraq2015-10-131-0/+5
|
* Merge branch 'gc-fixes' of https://github.com/rbehrends/Nim into ↵Araq2015-10-122-42/+65
|\ | | | | | | rbehrends-gc-fixes
| * Remove spurious unsigned operations from system/threads.nim.Reimer Behrends2015-09-081-3/+0
| | | | | | | | | | | | These operations were included before the unsigned module was incorporated directly into system.nim and subsequently caused compilation errors with --gc:go due to duplicate definitions.
| * Properly register threads with the Boehm GC.Reimer Behrends2015-09-082-38/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to be able to scan thread stacks, the Boehm GC needs to know about newly created threads. We establish the end of the stack by using GC_call_with_stack_base (this works properly also with the dual-stack Itanium architecture) and then GC_register_my_thread() to register a thrad and GC_unregister_my_thread() to unregister it again. This patch also includes a modification for the refc and markandsweep collectors to set the stack bottom for thread stacks correctly even if an optimizer aggressively inlines and optimizes procedures (this is already being done for the stack of the main thread). Finally, we use the {.noconv.} pragma for the Boehm GC, as the Boehm API uses no specific calling convention.
| * Properly initialize the Boehm GC on all platforms.Reimer Behrends2015-09-061-1/+1
| |
* | Merge remote-tracking branch 'nim-lang/devel' into emscripten-supportAndrey Sobolev2015-10-061-1/+2
|\ \
| * | fixes 'line too long' warningAraq2015-10-031-1/+2
| | |
* | | Merge remote-tracking branch 'nim-lang/devel' into emscripten-supportAndrey Sobolev2015-10-011-4/+7
|\| |
| * | Merge pull request #3345 from rbehrends/no-unmapAndreas Rumpf2015-09-301-4/+7
| |\ \ | | | | | | | | Add option to disable munmap() use in the allocator.
| | * | Add option to disable munmap() use in the allocator.Reimer Behrends2015-09-181-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | When compiling with '-d:nimAllocNoUnmap', the allocator will not attempt to return large chunks to the OS. For certain allocation behaviors, this can be a significant speedup.
* | | | Merge remote-tracking branch 'nim-lang/devel' into emscripten-supportAndrey Sobolev2015-09-301-1/+1
|\| | |
| * | | NimScript: setCommand takes an optional project filenameAraq2015-09-291-1/+1
| |/ /