Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reduce debug output (#10638) | Arne Döring | 2019-02-13 | 1 | -58/+63 |
| | |||||
* | Fix codegen problem with strict C++ compilers (#10639) | LemonBoy | 2019-02-13 | 1 | -1/+1 |
| | | | | | | Since tyCString is convertible to a tyPointer we must be extra careful to emit a cast to (void*) in order to appease clang++. Reported by masnagam on the Nim forum. | ||||
* | Propagate tfGcSafe flag to generic instantiations (#10620) | LemonBoy | 2019-02-13 | 1 | -3/+2 |
| | | | Fixes a nasty endless loop in the generic instantiation phase. | ||||
* | revive #10228 (fix #9880) (#10610) | Timothee Cour | 2019-02-13 | 2 | -13/+13 |
| | | | | | | * Make index out of bounds more useful by including the 'bounds'. * fixes #9880 index out of bounds (remaining cases); revives #10228 * change err msg to: `index 3 not in 0 .. 1` | ||||
* | fixes #10547 | Andreas Rumpf | 2019-02-13 | 1 | -5/+6 |
| | |||||
* | Do not walk into type sub-nodes for cast/conv expr (#10616) | LemonBoy | 2019-02-13 | 1 | -0/+6 |
| | |||||
* | fixes #6955 | Andreas Rumpf | 2019-02-13 | 1 | -3/+7 |
| | |||||
* | fixes #10606 | Andreas Rumpf | 2019-02-13 | 1 | -2/+4 |
| | |||||
* | Print missing case labels (#10600) | Arne Döring | 2019-02-13 | 2 | -1/+26 |
| | |||||
* | Merge branch 'devel' into araq-quirky-exceptions | Andreas Rumpf | 2019-02-08 | 54 | -1061/+1806 |
|\ | |||||
| * | make tests green again | Andreas Rumpf | 2019-02-08 | 1 | -2/+2 |
| | | |||||
| * | Fix wrong result in tuple assignment (#9340) | LemonBoy | 2019-02-08 | 1 | -0/+34 |
| | | | | | | Fixes #9177 | ||||
| * | error messages can have spaces, don't be dyslexic | Araq | 2019-02-08 | 1 | -1/+1 |
| | | |||||
| * | Rework exception handling in the VM (#10544) | LemonBoy | 2019-02-08 | 2 | -110/+171 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework exception handling in the VM Make the safepoint handling more precise and less forgiving. The new code is clearer and more commented. Perform cleanup on `return`. The no-exception-thrown case in a try block should be slightly faster since we don't parse the whole set of exceptions every time. More tests. * Fix silly error that broke a few tests * Testament doesn't like files having the same name * Remove test case that failed compilation to js | ||||
| * | Fix edge case in type hashing (#10601) [backport] | LemonBoy | 2019-02-08 | 2 | -13/+17 |
| | | | | | | | | Empty types introduced by a template produced the same hash of the "clean" type sharing the same name. | ||||
| * | Stop useless suggestion of unsafeAddr (#10598) | LemonBoy | 2019-02-08 | 2 | -2/+7 |
| | | | | | | Fixes #10594 | ||||
| * | compiler/[msgs, suggest]: improve highlighter accuracy (#10496) | alaviss | 2019-02-07 | 2 | -3/+42 |
| | | | | | | | | | | | | | | | | | | | | Previously the compiler would generate suggestions based on the symbol identifier length, but that might not reflect the actual representation of it within the actual source code. This commit implements a simple source scanner for the suggest module to address the problem outlined above. Fixes nim-lang/nimsuggest#24 | ||||
| * | Fix codegen when debugger is enabled (#10595) | LemonBoy | 2019-02-07 | 1 | -4/+5 |
| | | | | | | | | | | Decrement the frame length before closing the parent scope. Fixes #10589 | ||||
| * | Fix handling of reraise in effect tracking (#10582) | LemonBoy | 2019-02-07 | 1 | -5/+11 |
| | | | | | | | | | | | | This is the MVP in order not to get a completely useless error message from the compiler. Fixes #10579 | ||||
| * | fixes #10585 | Araq | 2019-02-07 | 1 | -2/+5 |
| | | |||||
| * | helpers2 now has a real name | Araq | 2019-02-07 | 2 | -2/+2 |
| | | |||||
| * | ignore nkCommentStmt in lambda lifting | Andreas Rumpf | 2019-02-06 | 1 | -1/+1 |
| | | |||||
| * | fixes some bug | Andreas Rumpf | 2019-02-06 | 1 | -0/+1 |
| | | |||||
| * | Reject assignments with nkEmpty RHS (#9000) | LemonBoy | 2019-02-06 | 1 | -7/+9 |
| | | | | | | Fixes #8997 | ||||
| * | Merge pull request #10577 from zielmicha/fix-10568 | LemonBoy | 2019-02-06 | 1 | -1/+1 |
| |\ | | | | | | | Fixes #10568: Fix null pointer dereference in address computation for incrSeqV3. | ||||
| | * | Fixes #10568: Fix null pointer dereference in address computation. | Michał Zieliński | 2019-02-06 | 1 | -1/+1 |
| | | | | | | | | | | | | According to https://hownot2code.com/2016/08/18/null-pointer-dereferencing-causes-undefined-behavior/ this was an undefined behaviour. | ||||
| * | | Avoid evaluating macros twice in type sections (#10550) | LemonBoy | 2019-02-06 | 1 | -0/+5 |
| | | | | | | | | | Fixes #10548 | ||||
| * | | Do not raise ProveInit/WanrUninit for .noinit. var (#10566) | LemonBoy | 2019-02-06 | 1 | -1/+4 |
| |/ | |||||
| * | fixes a lexer regression for 'nimble check' | Araq | 2019-02-05 | 1 | -3/+4 |
| | | |||||
| * | Vm bitops fixes (#10520) | Arne Döring | 2019-02-05 | 3 | -1/+14 |
| | | |||||
| * | compiler: don't use 2 spaces in an error message | Araq | 2019-02-04 | 1 | -1/+1 |
| | | |||||
| * | make the lexer more forgiving so that nim-regex compiles again | Araq | 2019-02-04 | 1 | -11/+17 |
| | | |||||
| * | Implement {.booldefine.} (#10533) | Oscar Nihlgård | 2019-02-03 | 6 | -14/+22 |
| | | |||||
| * | devel docs should point to devel src (#10529) | Miran | 2019-02-02 | 1 | -1/+2 |
| | | | | | | | | | | Currently, devel docs (https://nim-lang.github.io/Nim/lib.html) source links point to master branch, leading to outdated source code and showing the wrong line. | ||||
| * | Fix vm signed xor (#10519) | Arne Döring | 2019-02-01 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | * fix #10482 * undo changes * fix for bitwise not * remove dead opcode | ||||
| * | vm fix for bitwise signed ints (#10507) | cooldome | 2019-01-31 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | * fixes #10482 * add missing file * bug fix | ||||
| * | fixes #10042 (allow spaces in import) (#10504) | Miran | 2019-01-31 | 1 | -1/+0 |
| | | | | | | | | | | This allows spaces in imports, by using the following syntax: * `import "directory with spaces" / subdir / file`, or * `import "directory with spaces/subdir/file"` | ||||
| * | fixes silly typo causing tons of async regressions | Araq | 2019-01-30 | 1 | -1/+1 |
| | | |||||
| * | destructors: do not produce strong backrefs in closure environments so that ↵ | Araq | 2019-01-30 | 1 | -4/+17 |
| | | | | | | | | refcounting works | ||||
| * | The `file` directive is relative to the file it is in | LemonBoy | 2019-01-30 | 1 | -1/+1 |
| | | |||||
| * | Make sure the test snippet directory exists | LemonBoy | 2019-01-30 | 1 | -5/+7 |
| | | |||||
| * | gc: destructors is beginning to work (#10483) | Andreas Rumpf | 2019-01-29 | 10 | -53/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers | ||||
| * | Fixes https://github.com/nim-lang/Nim/issues/8484 (#10470) [backport] | Neelesh Chandola | 2019-01-28 | 1 | -1/+2 |
| | | |||||
| * | Fixes #10352 (#10416) | slangmgh | 2019-01-28 | 1 | -10/+14 |
| | | |||||
| * | suggest: quote operators and keywords on suggestion (#10460) | alaviss | 2019-01-28 | 1 | -2/+6 |
| | | |||||
| * | isLastRead regression fix (#10463) | cooldome | 2019-01-28 | 2 | -10/+15 |
| | | | | | | | | | | | | * fixes #10462 * add a test | ||||
| * | semcall: correct lineinfo for accquoted symbols (#10461) | alaviss | 2019-01-27 | 1 | -1/+1 |
| | | |||||
| * | Fix exception tracking in try blocks (#10455) | LemonBoy | 2019-01-27 | 1 | -1/+9 |
| | | | | | | | | | | | | Exceptions raised inside a nkFinally/nkExcept block are not caught by the block itself. Fixes #3886 | ||||
| * | fixes double object field symbol lookups (no test case available) (#10450) | cooldome | 2019-01-25 | 1 | -1/+5 |
| | | |||||
| * | docgen: style tweak | Araq | 2019-01-25 | 1 | -1/+1 |
| | |