summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4083 from vegansk/vm_readfileAndreas Rumpf2016-05-241-0/+8
|\ | | | | Add ``readFile`` implementation for nimvm
| * Add ``readFile`` implementation for nimvmAnatoly Galiulin2016-04-131-0/+8
| |
* | Merge pull request #4203 from def-/torationaloverflowDominik Picheta2016-05-231-11/+11
|\ \ | | | | | | Fix toRational overflow by calculating internally with int64s (fixes #4194)
| * | Fix toRational overflow by calculating internally with int64s (fixes #4194)def2016-05-221-11/+11
| | |
* | | 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
* | | Merge pull request #4187 from Lompik/develAndreas Rumpf2016-05-201-1/+1
|\ \ \ | | | | | | | | Remove spurious semicolon in type definition
| * | | Remove spurious semicolon in type definitionStephane Fontaine2016-05-191-1/+1
| | | |
* | | | 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.
* | | Merge pull request #4180 from cheatfate/callsoon2Dominik Picheta2016-05-181-3/+24
|\ \ \ | | | | | | | | Resolve bugs with `deep recursion` of asyncdispatch.
| * | | Resolve bugs with `deep recursion` of asyncdispatch.cheatfate2016-05-181-3/+24
| | | | | | | | | | | | | | | | | | | | Introduce callSoon() implementation. Patch tests to use waitFor() instead of asyncCheck()
* | | | 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
|/ / /
* | | Merge pull request #4075 from yglukhov/jsonDominik Picheta2016-05-151-9/+38
|\ \ \ | | | | | | | | Json serialization for openarrays and objects
| * | | Json serialization for openarrays and objectsYuriy Glukhov2016-05-131-9/+38
| | | |
* | | | Merge pull request #4161 from moigagoo/develAndreas Rumpf2016-05-151-0/+10
|\ \ \ \ | | | | | | | | | | Stdlib: nre: Convenience proc ``contains`` added.
| * | | | Stdlib: nre: Convenience proc ``contains`` added.Konstantin Molchanov2016-05-141-0/+10
| |/ / /
* | | | Merge pull request #4154 from yglukhov/sizeof-docAndreas Rumpf2016-05-151-0/+3
|\ \ \ \ | | | | | | | | | | Added limitations note to sizeof. Closes #4153.
| * | | | Added limitations note to sizeof. Closes #4153.Yuriy Glukhov2016-05-131-0/+3
| |/ / /
* | | | Fix 2 compile errors in LockFreeHash.nimLompiktab2016-05-141-3/+3
| | | | | | | | | | | | | | | | | | | | * type mismatch in range (line 55) * invalid indentation (line 249)
* | | | Fix missing `]`Stephane Fontaine2016-05-131-1/+1
|/ / / | | | | | | | | | other nim can't parse the file. Introduced in https://github.com/nim-lang/Nim/commit/192ba3bbc0ae7f570c1277c9211d24eeea2cf48a#diff-1a01187da2fad29f03da8ce36ffe1f91
* | | Restore sanity check for bytesReceived in asyncdispatch.Dominik Picheta2016-05-131-0/+4
| | |
* | | Merge pull request #4150 from cheatfate/winasyncDominik Picheta2016-05-132-53/+21
|\ \ \ | |/ / |/| | Resolve bugs based on unreliable `bytesReceived` value.
| * | Resolve bugs based on unreliable `bytesReceived` value.cheatfate2016-05-122-53/+21
| | |
* | | PHP codegen improvementsAndreas Rumpf2016-05-132-2/+5
|/ /
* | 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
| | |
* | | Merge pull request #4025 from flyx/highlight-yamlAndreas Rumpf2016-05-121-2/+307
|\ \ \ | | | | | | | | YAML highlighting support for doctools/highlite
| * | | Fixes to YAML highlighting support, added testsFelix Krause2016-04-011-7/+18
| | | |
| * | | Added YAML support to doctools/highliteFelix Krause2016-03-291-2/+296
| | | |
* | | | Merge pull request #4149 from oderwat/HARA-PHP_ArrayConstr_HackAndreas Rumpf2016-05-121-5/+8
|\ \ \ \ | | | | | | | | | | PHP codegen array constructor hack (!!!) for demo purpose only I guess
| * | | | 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 ```
* | | | | Pegs: fixes edge caseAndreas Rumpf2016-05-121-2/+6
| | | | |
* | | | | Merge pull request #4136 from oderwat/HARA-peg-replace-cbAndreas Rumpf2016-05-111-0/+59
|\ \ \ \ \ | |/ / / / |/| | | | Added a replace() with callback to pegs.
| * | | | Added a replace() proc using a callback to pegs.Hans Raaf2016-05-071-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was missing a nice way to use pegs with a more specialized replace functionality. Here my try to create a universal and versatile version of replace for that.
* | | | | added another version of eqIdentAraq2016-05-101-1/+17
| | | | |
* | | | | added scanp macro as an alternative to pegsAraq2016-05-101-9/+234
| | | | |
* | | | | minor whitespace changeAraq2016-05-101-1/+1
| | | | |
* | | | | added strscans stdlib moduleAraq2016-05-102-0/+312
| | | | |
* | | | | split too long linesAraq2016-05-101-5/+9
| | | | |