summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maxsplit' of https://github.com/mjoud/Nim into mjoud-maxsplitAndreas Rumpf2016-05-281-10/+29
|\
| * modified strutils.splitMagnus Jöud2015-10-141-9/+6
| |
| * added tests for strutils.splitMagnus Jöud2015-10-141-0/+6
| |
| * added maxsplit argument to strutils.splitMagnus Jöud2015-10-141-10/+25
| |
* | fixes #3882Andreas Rumpf2016-05-282-31/+59
| |
* | cleanup of #4113Andreas Rumpf2016-05-282-30/+30
| |
* | Merge pull request #4113 from jcosborn/gettypeinstAndreas Rumpf2016-05-285-38/+306
|\ \ | | | | | | getTypeInst
| * | getTypeInst and getTypeImpl mostly working now and added testJames Osborn2016-05-045-32/+251
| | |
| * | changed getTypeInst handling for distinct typesJames Osborn2016-05-041-5/+15
| | |
| * | added getTypeInst which includes generic parametersJames Osborn2016-05-044-23/+62
| | |
* | | fixes #2159Andreas Rumpf2016-05-284-1/+18
| | | | | | | | | | | | Hints and warnings are only emitted for the main package that is compiled
* | | Merge pull request #4232 from moigagoo/patch-3Dominik Picheta2016-05-281-0/+2
|\ \ \ | | | | | | | | Stdlib: httpclient: `export strtabs` added.
| * | | Stdlib: httpclient: `export strtabs` added.Konstantin Molchanov2016-05-281-0/+2
| | | | | | | | | | | | | | | | | | | | When using `httpclient`, viewing HTTP headers is impossible without importing `strtabs`, which is very much _not_ obvious; it's impossible to know without deep diving into the docs. Dealing with headers is an essential part of working with HTTP in general, so I propose this change. The situation is analogous to this one with `nre` and `options`: https://github.com/nim-lang/Nim/issues/4158
* | | | makes tests green againAndreas Rumpf2016-05-281-3/+4
|/ / /
* | | fixes critical 'do' parsing bugAndreas Rumpf2016-05-282-2/+82
| | |
* | | 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)