summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* Enhance values SIGNALS on more OS.cheatfate2016-06-161-1/+2
| | | | Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
* Correction as I hadn't realised setvbuf had been renamed.A. S. Budden2016-06-131-3/+3
|
* Merged upstream/devel into this branch to resolve conflicts and ensure an ↵A. S. Budden2016-06-1317-238/+196
|\ | | | | | | easy merge back into upstream/devel
| * Fixed emscripten compilationYuriy Glukhov2016-06-131-1/+1
| |
| * fixes sysio/readChar regressionAndreas Rumpf2016-06-131-1/+1
| |
| * disable StringStream for JS (needs copyMem)Jacek Sieka2016-06-081-1/+1
| |
| * fix fgets typeJacek Sieka2016-06-081-1/+1
| |
| * prefer consts to importing #defines from headersJacek Sieka2016-06-066-39/+65
| | | | | | | | | | to be completed - better would be to have a libc wrapper that deals with all pesky C ABI details
| * remove system/ansi_c include from osJacek Sieka2016-06-054-30/+4
| |
| * fix types of ansi_c/sysio to more closely match C ABIJacek Sieka2016-06-0511-167/+138
| | | | | | | | | | also fixes some instances of using C library functions when there are nim alternatives available
| * remove strange file types in ansi_cJacek Sieka2016-06-011-30/+17
| |
* | Corrected setStdIoUnbuffered for systems without stdout, stderr or stdin ↵A. S. Budden2016-06-131-3/+6
| | | | | | | | declared.
* | Added setStdIoUnbuffered for unbuffered stdio (fixes #2146).A. S. Budden2016-06-121-0/+5
|/
* widestrs are always available for better interopAndreas Rumpf2016-05-281-2/+1
|
* Merge pull request #4216 from Parashurama/fix_4212Andreas Rumpf2016-05-251-2/+2
|\ | | | | fixes issue 4212 && add test for various valid zero floats.
| * fixes issue 4212 && add test for various valid zero floats.Parashurama2016-05-251-2/+2
| |
* | gc:stack compiles with --threads:onAndreas Rumpf2016-05-251-7/+17
|/
* Merge pull request #4213 from oderwat/nimphpext-stack-gcAndreas Rumpf2016-05-252-3/+21
|\ | | | | Made nimphpext work with gc:stack.
| * Made nimphpext work with gc:stack.Hans Raaf2016-05-252-3/+21
| |
* | fixes #4212Andreas Rumpf2016-05-251-5/+0
|/
* new GC listens to GC_ref/GC_unrefAndreas Rumpf2016-05-231-2/+21
|
* GC v2 compiles againAndreas Rumpf2016-05-231-0/+8
|
* Merge pull request #4199 from oderwat/oderwat-fix-pragmasAndreas Rumpf2016-05-221-2/+2
|\ | | | | Fixing pragmas (so syntax highligthing works).
| * Fixing pragmas (so syntax highligting works).Hans Raaf2016-05-201-2/+2
| |
* | Merge branch 'prim-gc' into develAndreas Rumpf2016-05-222-185/+51
|\ \
| * | fixes #3184Andreas Rumpf2016-05-222-53/+45
| | |
| * | fixes #3793Andreas Rumpf2016-05-161-1/+1
| | |
| * | GC with primitive MSAndreas Rumpf2016-05-161-131/+5
| | |
* | | Fix toJSStr for control charactersnigredo-tori2016-05-201-1/+5
| |/ |/| | | | | | | fixes #4190 Add leading zero to encoded character if it is less than 0x10
* | fixes some issues with underscores in float literals. add more tests.Parashurama2016-05-191-5/+7
| | | | | | | | | | | | fixes some potential issues with underscores in float literals. adds more checks for badly positionned underscores in float literals. adds more test files.
* | fix issue 4181. add testcase.Parashurama2016-05-181-2/+5
| |
* | Merge pull request #4173 from Parashurama/better_float_parsingAndreas Rumpf2016-05-171-37/+104
|\ \ | | | | | | fixes issue #4117 and make float parsing locale independent.
| * | make float parsing locale independent.Parashurama2016-05-161-37/+104
| |/
* / fixes typo in system/timers.Parashurama2016-05-161-1/+1
|/
* PHP codegen improvementsAndreas Rumpf2016-05-131-1/+4
|
* Merge pull request #4142 from endragor/gc-allow-skip-stackAndreas Rumpf2016-05-122-2/+26
|\ | | | | Added stackSize parameter to GC_step
| * Replaced ignoreStackAndRegisters with stackSize in GC_stepRuslan Mustakov2016-05-112-28/+48
| |
| * Added ignoreStackAndRegisters parameter to GC_stepRuslan Mustakov2016-05-102-23/+27
| |
* | PHP codegen array constructor hack.Hans Raaf2016-05-111-5/+8
|/ | | | | | | | | | | | | | | | | | | Because of PHP can't have refs for literal function parameters I needed to come up with a hack such that the following code compiles with PHP target. ```nim type Foo = tuple[a: string, b: int] var foo: array [0..2, Foo] foo[0] = ("Test", 1) foo[1] = ("Me", 2) for x in foo: echo x.a echo x.b ```
* JS target improvementsAndreas Rumpf2016-04-291-0/+2
|
* Merge remote-tracking branch 'origin/devel' into malloc-store-sizeJacek Sieka2016-04-2611-192/+734
|\
| * Fixed stacktrace errorYuriy Glukhov2016-04-261-0/+2
| |
| * Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2016-04-191-0/+3
| |\
| | * Add `import sharedlist` when `hasThreadSupport`James Boyden2016-04-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change, a user's Nim code won't compile if they're using both threads & the mark-and-sweep GC: lib/system/gc_ms.nim(75, 18) Error: undeclared identifier: 'SharedList' toDispose: SharedList[pointer] ^ This small code block addition was copied from "lib/system/gc.nim" (where it appears directly after a `when defined(memProfiler)` block also).
| * | simple stuff works with --gc:stackAndreas Rumpf2016-04-183-212/+271
| |/
| * Merge branch 'devel' of github.com:nim-lang/Nim into develDominik Picheta2016-04-042-33/+53
| |\
| | * Use ``when insideRLocksModule`` instead of ``when compiles``Anatoly Galiulin2016-03-311-2/+2
| | |
| | * Fix ``XDeclaredButNotUsed`` warning when locks or rlocks module is usedAnatoly Galiulin2016-03-311-19/+16
| | |
| | * Merge pull request #4018 from cheatfate/dyncalls_changeAndreas Rumpf2016-03-311-2/+23
| | |\ | | | | | | | | Replace csprintf() in windows version of nimGetProcAddr
| | | * Replace csprintf() in windows version of nimGetProcAddr to pure nim's ↵cheatfate2016-03-311-2/+23
| | | | | | | | | | | | | | | | implementation, to avoid possible overflow.