summary refs log tree commit diff stats
path: root/lib/system.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixed shr documentationMagnus Jöud2015-10-261-4/+5
| | | | add docs on shr filling with zeros
* documentation improvements; system.nim docs adapted to unix's braindead idea ↵Araq2015-10-211-8/+0
| | | | of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either
* fixes wrong doc commentsAraq2015-10-191-4/+4
|
* add example to proc headings forJamesP2015-10-191-2/+42
| | | | addr, and, or, xor, div, mod, shl, cmp, setLen
* Avoid extra copy in JS when inserting.Yuriy Glukhov2015-10-151-1/+1
|
* Fixed ret by var in jsYuriy Glukhov2015-10-151-1/+2
|
* Merge pull request #3423 from petermora/breakSequtilsAndreas Rumpf2015-10-121-47/+0
|\ | | | | Break sequtils
| * sequtils related changesPeter Mora2015-10-051-47/+0
| |
* | Merge branch 'gc-fixes' of https://github.com/rbehrends/Nim into ↵Araq2015-10-121-0/+9
|\ \ | |/ |/| | | rbehrends-gc-fixes
| * Properly register threads with the Boehm GC.Reimer Behrends2015-09-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | NimScript: --threads:on works in a nims fileAraq2015-09-301-1/+1
| |
* | fixed wrong examplesJakob Oesterling2015-09-261-2/+2
| |
* | Merge branch 'devel' of github.com:TheAnonymous/Nim into develJakob Oesterling2015-09-251-0/+2
|\ \
| * | Update system.nimJakob O.2015-09-241-0/+2
| | |
* | | added examples in documenation for add del delete repr insertJakob Oesterling2015-09-251-0/+22
| | |
* | | added examples in documenation for sizeof high lowJakob Oesterling2015-09-251-0/+24
|/ /
* | added examples in documenation for len dec inc incl exclJakob Oesterling2015-09-241-0/+23
| |
* | Fixes #2889. Merges *tostring tests in tests/system.Dominik Picheta2015-09-231-1/+3
| |
* | fixes #3343Araq2015-09-181-1/+1
| |
* | fixes the most pressing regressions introduced by the new handling of a[i] ↵Araq2015-09-161-0/+1
| | | | | | | | in the compiler
* | clarify the meaning of the 'auto' metatype; 'auto' is now bind-multiple; ↵Araq2015-09-141-8/+8
| | | | | | | | fixes #3224
* | first attempt to fix 'a[i]' handling in genericsAraq2015-09-121-0/+8
| |
* | Merge pull request #3274 from yglukhov/seq-insert-js-fixAndreas Rumpf2015-09-091-13/+33
|\ \ | |/ |/| Fixed seq.insert and seq.delete for js.
| * Fixed seq.insert and seq.delete for js.Yuriy Glukhov2015-09-071-13/+33
| |
* | fixes #3300Araq2015-09-081-1/+1
|/
* Fixed nimvm in generics.Yuriy Glukhov2015-09-071-3/+3
|
* nimvm is magicYuriy Glukhov2015-09-041-0/+4
|
* fixes 'line too long' warningsAraq2015-09-031-11/+18
|
* Merge pull request #3143 from def-/readline-fasterAndreas Rumpf2015-08-211-6/+6
|\ | | | | Improve performance of readLine by using fgets
| * Improve performance of readLine by using fgetsdef2015-07-241-6/+6
| | | | | | | | This drops compatibility with pure CR line endings of old Mac systems
* | implements experimental new config system based on NimScriptAraq2015-08-161-49/+59
| |
* | attempt to fix bootstrapping; refs #3139Araq2015-08-071-1/+3
| |
* | fixes #3193Araq2015-08-071-1/+2
| |
* | Merge pull request #3180 from yglukhov/3179-workaroundDominik Picheta2015-08-051-1/+1
|\ \ | | | | | | Workaround for #3179.
| * | Workaround for #3179.Yuriy Glukhov2015-08-031-1/+1
| | |
* | | added system.unsafeAddrAraq2015-08-041-0/+7
| | |
* | | Updated documentation of system.new. Ref #2699.Dominik Picheta2015-08-041-1/+4
|/ /
* | Improve discoverability of 'of' operatorMichał Zieliński2015-08-021-0/+1
| |
* | Merge pull request #2699 from SSPkrolik/newrefrefAndreas Rumpf2015-08-021-2/+8
|\ \ | | | | | | new now able to make distinction between ref and non-ref types, so we…
| * | new now able to make distinction between ref and non-ref types, so we don't ↵krolik2015-05-121-2/+8
| | | | | | | | | | | | get 'ref ref' type when calling new on ref type
* | | Add arm64 support (untested)def2015-07-311-1/+1
| | |
* | | Add powerpc64el support (untested)def2015-07-311-2/+2
| | |
* | | Add Mipsel CPU support (untested)def2015-07-311-1/+2
| | |
* | | `$` for tuples/objects now handles a nil value correctly. Fixes #3149.Dominik Picheta2015-07-261-1/+5
| |/ |/|
* | removed system.freeAraq2015-07-181-2/+1
| |
* | staticExec now supports cachingAraq2015-07-151-3/+12
| |
* | Merge pull request #2272 from def-/unsignedAndreas Rumpf2015-07-111-1/+44
|\ \ | | | | | | Move unsigned int operations to system module
| * | Move unsigned int operations to system moduledef2015-07-011-1/+44
| | | | | | | | | | | | | | | This should lead to less confusion because uint numbers and literals seem to work, but operators are just missing.
* | | Merge pull request #3073 from apense/patch-12Andreas Rumpf2015-07-111-0/+5
|\ \ \ | | | | | | | | Added safeAdd documentation
| * | | Corrected documentationapense2015-07-091-3/+3
| | | |