summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4231 from tautologico/fix-4001Andreas Rumpf2016-05-281-0/+1
|\ | | | | Fix issue #4001: invalid pragma {. hint[]: off .}
| * Deleted test for fix #4001Andrei Formiga2016-05-271-6/+0
| |
| * Fix issue #4001: invalid pragma {. hint[]: off .}Andrei Formiga2016-05-272-0/+7
|/ | | | | | | | | | | | | | | The bug was in processNote, module pragmas. The code assumed that a nkBracketExpr AST node always had two children (without testing this), and tried to access elements with index 0 and 1 in the sons array of the nkBracketExpr node. The code that triggered the bug was just {. hint[]: off .} by itself in a module; in this case the nkBracketExpr has only one children in the sons array, so the code in processNote caused an out-of-bounds array access. This commit also adds a test to guarantee that this pragma is rejected, as is.
* remove funny debug outputAndreas Rumpf2016-05-271-1/+0
|
* fixes #4225Andreas Rumpf2016-05-271-1/+1
|
* fixes #4227Andreas Rumpf2016-05-275-7/+32
|
* improve error messages for mismatched templates involving 'untyped' and stmtsAndreas Rumpf2016-05-271-3/+5
|
* Merge pull request #4229 from moigagoo/patch-2Andreas Rumpf2016-05-271-0/+2
|\ | | | | Stdlib: nre: Add `export options`
| * Stdlib: nre: Add `export options`Konstantin Molchanov2016-05-271-0/+2
|/ | | This should make `nre` more user friendly. See https://github.com/nim-lang/Nim/issues/4158
* Merge pull request #4226 from cheatfate/tables_templatesAndreas Rumpf2016-05-271-0/+45
|\ | | | | Introduce template withValue() for tables.nim too.
| * Introduce template withValue() for tables.nim too.cheatfate2016-05-271-0/+45
|/
* Merge pull request #4224 from cheatfate/sharedtables_templatesAndreas Rumpf2016-05-261-0/+53
|\ | | | | Introduce template withValue()
| * Introduce template withValue()cheatfate2016-05-261-0/+53
|/
* Merge pull request #4130 from lihf8515/develAndreas Rumpf2016-05-262-25/+233
|\ | | | | Update parsecfg.nim
| * Update parsecfg.nimlihf85152016-05-021-2/+198
| |
| * Update tparscfg.nimlihf85152016-05-021-23/+35
| |
* | Merge pull request #4223 from yglukhov/fix-4222Andreas Rumpf2016-05-262-5/+16
|\ \ | | | | | | Fixes #4222
| * | Fixes #4222Yuriy Glukhov2016-05-262-5/+16
|/ /
* | Merge pull request #4216 from Parashurama/fix_4212Andreas Rumpf2016-05-252-15/+23
|\ \ | | | | | | fixes issue 4212 && add test for various valid zero floats.
| * | fixes issue 4212 && add test for various valid zero floats.Parashurama2016-05-252-15/+23
| | |
* | | 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
| | |
* | | Merge pull request #4201 from oderwat/oderwat-gitignoresAndreas Rumpf2016-05-251-0/+5
|\ \ \ | | | | | | | | Extending .gitignore to skip common IDE files and directories
| * | | Added `.*/`, `~*` and `*.log` to GIT ignore list.Hans Raaf2016-05-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using differend IDEs for the Nim compiler I am constantly running into the problem that my global .gitignore is not working for the Nim directory. This is caused by the `*` / `!*.*` like rules, which reset all other rules. So I thought a bit about a sensible filtering of common IDE special files and added that to the .gitignore.
* | | | fixes #4212Andreas Rumpf2016-05-252-6/+1
| |/ / |/| |
* | | Nimscript knows about the command line definesAndreas Rumpf2016-05-242-4/+4
| | |
* | | Merge pull request #4208 from cheatfate/osproc2Andreas Rumpf2016-05-241-12/+165
|\ \ \ | | | | | | | | Make waitForExit() to use timeout.
| * | | Resolve bugscheatfate2016-05-241-2/+2
| | | |
| * | | Resolve #4200cheatfate2016-05-241-12/+165
| | | | | | | | | | | | | | | | Resolve [Deprecated] warning for raiseOsError at line 878
* | | | allow to check verbosity level via compileOptionAndreas Rumpf2016-05-241-0/+1
| | | |
* | | | Merge pull request #4083 from vegansk/vm_readfileAndreas Rumpf2016-05-242-31/+45
|\ \ \ \ | | | | | | | | | | Add ``readFile`` implementation for nimvm
| * | | | Add ``readFile`` implementation for nimvmAnatoly Galiulin2016-04-132-31/+45
| | | | |
* | | | | Nim check defines 'nimcheck' conditional symbolAndreas Rumpf2016-05-241-0/+1
| |/ / / |/| | |
* | | | 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-226-186/+549
|\ \ \ \
| * | | | fixes #3184Andreas Rumpf2016-05-224-53/+503
| | | | |
| * | | | fixes #3793Andreas Rumpf2016-05-162-0/+39
| | | | |
| * | | | fixes #3793Andreas Rumpf2016-05-161-1/+1
| | | | |
| * | | | GC with primitive MSAndreas Rumpf2016-05-162-132/+6
| | | | |
| * | | | refactoring: flags instead of boolsAndreas Rumpf2016-05-156-25/+31
| | | | |
* | | | | Merge pull request #4191 from nigredo-tori/fix_tojsstrAndreas Rumpf2016-05-202-1/+13
|\ \ \ \ \ | |_|/ / / |/| | | | Fix toJSStr for control characters
| * | | | Slightly better test caseDmitry Polienko2016-05-201-1/+3
| | | | | | | | | | | | | | | | | | | | Tests identity rather than exact output.
| * | | | Fix toJSStr for control charactersnigredo-tori2016-05-202-1/+11
|/ / / / | | | | | | | | | | | | | | | | 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