summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| | * | Make windows locks do not use dyncallcheatfate2016-03-311-12/+14
| | |/
| * / Fixes #3752.Dominik Picheta2016-04-041-0/+2
| |/
| * Windows: fixes a regression; codegen might not know about & at this pointAraq2016-03-291-2/+3
| |
| * Makes dyncall errors report to stderr. Fixes #3987Alex Berghage2016-03-291-7/+7
| | | | | | | | | | Hooray for bugtracker items tagged 'Easy'. Also I happened to notice this one earlier today anyway, conveniently enough.
| * munmap for LLVMAndreas Rumpf2016-03-281-2/+2
| |
| * added new memory management ideaAndreas Rumpf2016-03-281-0/+382
| |
| * beginnings of --gc:stackAndreas Rumpf2016-03-283-149/+175
| |
| * GCs support ForeignCellsAndreas Rumpf2016-03-284-0/+47
| |
* | store block size in when using malloc and nogcJacek Sieka2016-03-251-5/+20
|/ | | | | this allows for a correct implementation of realloc, which is needed as code using it assumes new values will be zeroed out / nil
* Merge pull request #3963 from def-/compiler-dirAndreas Rumpf2016-03-231-0/+21
|\ | | | | Don't try to read directories as files
| * Explicitly return falsedef2016-03-181-1/+1
| |
| * Comment to explain not opening directories in open()def2016-03-171-0/+3
| |
| * Don't check opened file for directory in nimscriptdef2016-03-161-2/+2
| |
| * Don't open directories as filesdef2016-03-141-0/+18
| |
* | Rewrote enum sign extension with branchless bit operations (also fixes travis)gmpreussner2016-03-151-8/+8
| |
* | Fixed negative enum values not getting stringified.gmpreussner2016-03-141-3/+3
|/
* Merge pull request #3947 from def-/iofbfAndreas Rumpf2016-03-101-3/+2
|\ | | | | Support IOFBF and IONBF on all systems
| * Support IOFBF and IONBF on all systemsdef2016-03-061-3/+2
| |
* | Fixed threading issues for tcc backendAnatoly Galiulin2016-03-101-1/+46
| |
* | Merge pull request #3951 from arnetheduck/munmap-ret-fixAndreas Rumpf2016-03-081-4/+6
|\ \ | | | | | | Munmap ret fix