Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make tests green again | Andreas Rumpf | 2019-02-08 | 2 | -1/+2 |
| | |||||
* | Fix wrong result in tuple assignment (#9340) | LemonBoy | 2019-02-08 | 1 | -0/+15 |
| | | | 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 | -0/+71 |
| | | | | | | | | | | | | | | | | | * 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 | 1 | -0/+15 |
| | | | | 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 | 1 | -0/+7 |
| | | | Fixes #10594 | ||||
* | Fix handling of reraise in effect tracking (#10582) | LemonBoy | 2019-02-07 | 1 | -0/+12 |
| | | | | | | This is the MVP in order not to get a completely useless error message from the compiler. Fixes #10579 | ||||
* | followup on #10573: prevent common user config to interfere with testament ↵ | Timothee Cour | 2019-02-07 | 1 | -0/+1 |
| | | | | (excessiveStackTrace) (#10590) | ||||
* | fix #10591 regression (#10592) | Timothee Cour | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | Reject assignments with nkEmpty RHS (#9000) | LemonBoy | 2019-02-06 | 1 | -0/+26 |
| | | | Fixes #8997 | ||||
* | system refactorings (#10559) | Andreas Rumpf | 2019-02-06 | 1 | -2/+2 |
| | | | | | | | | * move IO subsystem into its own module; refs #10385 * make standalone test compile again * make C++ examples compile again * make more tests green * make sysAssert and gcAssert work again | ||||
* | New implementation of times.between (#10523) | Oscar Nihlgård | 2019-02-06 | 1 | -35/+138 |
| | | | | | | | | * Refactor ttimes * New implementation of times.between * Deprecate times.toTimeInterval | ||||
* | Avoid evaluating macros twice in type sections (#10550) | LemonBoy | 2019-02-06 | 1 | -0/+15 |
| | | | Fixes #10548 | ||||
* | Fix getCustomPragmaVal on `var` fields | LemonBoy | 2019-02-06 | 1 | -0/+5 |
| | |||||
* | prevent common user config to interfere with testament (#10573) | Timothee Cour | 2019-02-06 | 2 | -1/+6 |
| | |||||
* | Vm bitops fixes (#10520) | Arne Döring | 2019-02-05 | 1 | -51/+16 |
| | |||||
* | Implement {.booldefine.} (#10533) | Oscar Nihlgård | 2019-02-03 | 1 | -0/+18 |
| | |||||
* | Fix vm signed xor (#10519) | Arne Döring | 2019-02-01 | 1 | -5/+11 |
| | | | | | | | | | | * fix #10482 * undo changes * fix for bitwise not * remove dead opcode | ||||
* | vm fix for bitwise signed ints (#10507) | cooldome | 2019-01-31 | 1 | -0/+39 |
| | | | | | | | | * fixes #10482 * add missing file * bug fix | ||||
* | fix #8063 by adding a testcase for: Deprecation warnings for enum values ↵ | Timothee Cour | 2019-01-31 | 1 | -2/+25 |
| | | | | print twice (#10508) | ||||
* | fixes #10042 (allow spaces in import) (#10504) | Miran | 2019-01-31 | 2 | -0/+5 |
| | | | | | This allows spaces in imports, by using the following syntax: * `import "directory with spaces" / subdir / file`, or * `import "directory with spaces/subdir/file"` | ||||
* | gc: destructors is beginning to work (#10483) | Andreas Rumpf | 2019-01-29 | 3 | -2/+11 |
| | | | | | | | | | | | | | | | | * 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 #9149 [backport] | Araq | 2019-01-29 | 1 | -0/+22 |
| | |||||
* | isLastRead regression fix (#10463) | cooldome | 2019-01-28 | 1 | -0/+9 |
| | | | | | | * fixes #10462 * add a test | ||||
* | Fix exception tracking in try blocks (#10455) | LemonBoy | 2019-01-27 | 1 | -0/+14 |
| | | | | | | Exceptions raised inside a nkFinally/nkExcept block are not caught by the block itself. Fixes #3886 | ||||
* | closes #8610 ; adds test case (#10454) | Timothee Cour | 2019-01-25 | 1 | -0/+5 |
| | |||||
* | properly deprecate parseopt2 (#10452) | Miran | 2019-01-25 | 3 | -32/+6 |
| | |||||
* | move tests from `tospaths` to `tos`, fixes #9671 | narimiran | 2019-01-23 | 2 | -142/+111 |
| | | | | Also, change some of `echo`s to `doAssert`. | ||||
* | fix #10339 by returning type attached to nkEmpty (#10370) | Vindaar | 2019-01-23 | 2 | -0/+32 |
| | | | | | | | | | | | | | | | * fix #10339 by checking for nkObjConstr * revert check for nkObjConstr, return type from nkEmpty node The correct type needed in `semObjConstr` to fix #10339 is indeed available, but attached to an `nkEmpty` node. These were previously discarded in `semTypeNode`, which is used to extract the type for the object. * simplify return of PType from `nkEmpty` * also fixes #9866, add test case | ||||
* | Harmonize the var/let and const handling (#10410) | LemonBoy | 2019-01-23 | 1 | -0/+11 |
| | | | Fixes #10333 | ||||
* | remove `tdont_be_stupid`, fixes #10386 | narimiran | 2019-01-23 | 1 | -23/+0 |
| | |||||
* | Added basic bit manipulation procs to bitops (#10338) | Ico Doornekamp | 2019-01-23 | 1 | -0/+57 |
| | |||||
* | close #3899 by adding test case (#10424) | Vindaar | 2019-01-23 | 1 | -0/+10 |
| | |||||
* | Fix semantic analysis with noReturn proc in tail pos (#10422) | LemonBoy | 2019-01-23 | 1 | -0/+10 |
| | | | Fixes #10417 | ||||
* | Fix for issue #10342. better message for generic subclass instantiation (#10354) | Ray Imber | 2019-01-22 | 2 | -1/+12 |
| | | | * Fix for issue #10342. better message for generic subclass instantiation errors. | ||||
* | Remove deprecated modules (asyncio, sockets, ftpclient) (#10401) | Miran | 2019-01-22 | 5 | -9/+14 |
| | |||||
* | Restrict ptr/ref to ptr/ref implicit conversion (#10411) | LemonBoy | 2019-01-22 | 1 | -0/+8 |
| | | | | | | | | * Restrict ptr/ref to ptr/ref implicit conversion Fixes #10409 * Make the ptr conversions explicit in db_odbc | ||||
* | Fix compileTime pragma applying to whole var/let section (#10389) | Neelesh Chandola | 2019-01-22 | 1 | -0/+15 |
| | |||||
* | Object downconversion in VM should not copy (#10378) | LemonBoy | 2019-01-22 | 1 | -0/+17 |
| | | | | | | Hopefully the type-check phase already rejected all the invalid conversions by the time we execute the VM bytecode. Problem reported by chrisheller on the Nim Forum | ||||
* | Finalizer proc must be global (#10388) | LemonBoy | 2019-01-22 | 1 | -0/+31 |
| | | | Fixes #10376 | ||||
* | Fix subtype conversion w/ varargs arguments (#10402) | LemonBoy | 2019-01-21 | 4 | -0/+4 |
| | | | | | | | | | The type matching is done on the `T` of the `varargs[T]` so the conversion must be performed to `T` and not to the whole type. This problem is only noticeable with the cpp backend since C doesn't give a damn shit about your fucking (wrong) types. Fixes #9845 | ||||
* | Proper check for tyStatic[T] -> U conversions (#10382) | LemonBoy | 2019-01-21 | 1 | -0/+5 |
| | | | | | Drop the outer tyStatic shell then perform the check. Fixes #7609 | ||||
* | Support system.reset in vm (#10400) | Oscar Nihlgård | 2019-01-21 | 1 | -0/+28 |
| | |||||
* | Fix error lexer error messages for to large numbers (#10394) | Oscar Nihlgård | 2019-01-21 | 1 | -0/+15 |
| | |||||
* | Fix spelling errors (#10379) | Federico Ceratto | 2019-01-19 | 1 | -1/+1 |
| | |||||
* | ported havlak and gcbench benchmarks to work with --gc:regions | Andreas Rumpf | 2019-01-19 | 2 | -41/+54 |
| | |||||
* | GC tests: make them take less time to save CI cycles | Andreas Rumpf | 2019-01-19 | 2 | -7/+5 |
| | |||||
* | Fixed getCustomPragmaVal to allow multiple fields in custom annotations (#10289) | Ico Doornekamp | 2019-01-18 | 1 | -0/+9 |
| | |||||
* | fix #9629 every binary cmd line option allows on/off/empty=on (#10353) | Timothee Cour | 2019-01-18 | 1 | -1/+4 |
| | | | | | | * fix #9629 every binary cmd line option allows on/off/empty=on * workaround refs #10359 | ||||
* | destructors: first step towards fixing #9617 (#10341) | cooldome | 2019-01-18 | 2 | -0/+23 |
| |