Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "fix #13417 (#13712)" (#13728) | Andreas Rumpf | 2020-03-23 | 1 | -10/+11 |
| | | | This reverts commit a5f02cac85281fc2804e910f330f0c11d3c4f77b. | ||||
* | better error messages for Nim's effect system | Araq | 2020-03-22 | 2 | -20/+43 |
| | |||||
* | fix #13417 (#13712) | Arne Döring | 2020-03-22 | 1 | -11/+10 |
| | | | | | * fix #13417 * add test | ||||
* | fixes #13715 (#13716) | Arne Döring | 2020-03-22 | 1 | -1/+4 |
| | | | | | * fixes #13715 * fix test | ||||
* | typo | Araq | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | fix #13720 (#13721) | Arne Döring | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | fixes #13708 (#13711) | cooldome | 2020-03-21 | 2 | -10/+20 |
| | | | | | | * fixes #13708 * differentiate between arc and rest of GC Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | [RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other ↵ | Timothee Cour | 2020-03-20 | 1 | -1/+1 |
| | | | | | languages (#13642) Co-authored-by: narimiran | ||||
* | fixes #13698 (#13706) | Andreas Rumpf | 2020-03-20 | 1 | -1/+3 |
| | |||||
* | make 'nim check' more robust for illdefined constants | Araq | 2020-03-20 | 1 | -1/+1 |
| | |||||
* | fix #13538 sigmatch errors are now sorted (#13701) | Timothee Cour | 2020-03-20 | 1 | -0/+7 |
| | | | | | | | * fix #13538 sigmatch now sorted and has reliable order * re-enable tests that were disabled because of that bug * fix remaining tests and un-disable 2 other tests that were affected by this bug | ||||
* | cycle breaker (#13593) | Andreas Rumpf | 2020-03-19 | 5 | -22/+42 |
| | | | | * cycle breaking as an alternative to cycle detection | ||||
* | Clean 1 old deprecated empty file (#13696) | Juan Carlos | 2020-03-19 | 1 | -6/+0 |
| | |||||
* | Attempt to finish off araq cpp exceptions (#13695) | cooldome | 2020-03-19 | 5 | -26/+205 |
| | | | | | | | | | | | | | | | * config update * disable a questionable test * remove c++ exception handling IDs, new impl doesn't require it anymore * C++ based exceptions finally work * fixes bootstrapping problem in C++ mode * teach GCC it's 2020 now * more bugfixes for C++ based exception handling * apply cooldome's patch * another attempt to enable C++11 * bug fix Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fixes #13691 (#13694) | Andreas Rumpf | 2020-03-19 | 1 | -2/+5 |
| | |||||
* | fix #13412 nim now recompiles for stdin input; SuccessX now configurable; ↵ | Timothee Cour | 2020-03-19 | 2 | -1/+11 |
| | | | | | | can show whether it recompiled (#13506) * fix #13412 nim now recompiles for stdin input; SuccessX now indicates whether it recompiled | ||||
* | added a switch -d:nimEmulateOverflowChecks for broken or old GCC versions ↵ | Andreas Rumpf | 2020-03-19 | 1 | -3/+5 |
| | | | | (#13692) | ||||
* | enable --tlsEmulation:on for --gc:arc (#13685) | Andreas Rumpf | 2020-03-18 | 1 | -1/+1 |
| | | | | * enable --tlsEmulation:on for --gc:arc * make -d:useMalloc work with --gc:arc --threads:on | ||||
* | arc optimizations (#13325) | Andreas Rumpf | 2020-03-18 | 4 | -84/+247 |
| | | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now | ||||
* | new feature: --staticBoundChecks:on to enforce static array index checking ↵ | Andreas Rumpf | 2020-03-18 | 11 | -29/+129 |
| | | | | (#10965) | ||||
* | fix #13524 astToStr now works inside generics (#13681) | Timothee Cour | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | fixes #13622 (#13679) | Andreas Rumpf | 2020-03-18 | 1 | -2/+4 |
| | |||||
* | fixes #13671 [backport] (#13678) | Andreas Rumpf | 2020-03-18 | 1 | -1/+1 |
| | |||||
* | fix when statements in inheritable generic objects (#13667) [backport] | Jasper Jenkins | 2020-03-17 | 1 | -1/+1 |
| | |||||
* | rewritten goto based exception handling; much cleaner implementation;… ↵ | Andreas Rumpf | 2020-03-17 | 2 | -23/+7 |
| | | | | | | (#13677) * rewritten goto based exception handling; much cleaner implementation; fixes #13668 | ||||
* | Fixes #13659 (#13674) | cooldome | 2020-03-17 | 1 | -2/+2 |
| | | | | | * fixes #13659 Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647) | Timothee Cour | 2020-03-17 | 2 | -12/+16 |
| | | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream | ||||
* | fix sets of scoped imported enums (#13666) | Jasper Jenkins | 2020-03-17 | 1 | -1/+2 |
| | |||||
* | rename sfAlwaysReturn to sfNeverRaises | Araq | 2020-03-16 | 4 | -5/+5 |
| | |||||
* | fixes #13661 (#13664) [backport] | Andreas Rumpf | 2020-03-16 | 2 | -2/+5 |
| | |||||
* | fix .deprecated. object typedef crash (#13643) | Andy Davidoff | 2020-03-16 | 1 | -3/+5 |
| | | | | | * fix .deprecated. object typedef crash * fixup a test that i don't understand * disable the test rather than debug ci | ||||
* | fixes #13646 | Araq | 2020-03-16 | 2 | -3/+12 |
| | |||||
* | minor code style change | Araq | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | minor code style changes | Araq | 2020-03-16 | 3 | -12/+13 |
| | |||||
* | fixes #12747 [backport] (#13651) | cooldome | 2020-03-16 | 1 | -3/+12 |
| | | | | | | | * fixes #12747 * fix tests * improve code style Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵ | Timothee Cour | 2020-03-13 | 2 | -0/+15 |
| | | | | | | | | other fixes (#13550) * fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings | ||||
* | catchable defects (#13626) | Andreas Rumpf | 2020-03-12 | 14 | -92/+151 |
| | | | | | | | | | | * allow defects to be caught even for --exceptions:goto (WIP) * implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180 * new implementation for integer overflow checking * produce a warning if a user-defined exception type inherits from Exception directly * applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic' * fixes #13627 * don't inherit from Exception directly | ||||
* | rename `lenTuple` and `lenVarargs` (#13639) | Miran | 2020-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | * rename 'lenTuple' to 'tupleLen' Rationale: `lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`), `tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`) * rename 'lenVarargs' to 'varargsLen' The same rationale as a previous commit. Consistency. | ||||
* | fix #13633 fix koch boot crashing regression (#13635) | Timothee Cour | 2020-03-12 | 1 | -1/+1 |
| | |||||
* | Amend fix for #13633 (#13636) | Clyybber | 2020-03-12 | 1 | -1/+1 |
| | |||||
* | Fix #13633 | Clyybber | 2020-03-12 | 1 | -1/+2 |
| | |||||
* | Fix #12676 (#13634) | genotrance | 2020-03-12 | 1 | -2/+2 |
| | |||||
* | Make listCmd honor hint:cc:off (#13606) | Clyybber | 2020-03-11 | 1 | -50/+35 |
| | | | | | | | | | | | | | | | | | * Make listCmd honor hint:cc:off * Tiny cleanup * Tiny tiny cleanup * VERY IMPORTANT: --hint:cc:on will overwrite --verbosity:0 :p * Tiny cleanup * Stupid * Move displayProgressCC to where its required * Tiny cleanup | ||||
* | fixes #13240 | Araq | 2020-03-11 | 1 | -1/+8 |
| | |||||
* | fixes #13519 | Araq | 2020-03-11 | 2 | -4/+9 |
| | |||||
* | fixes #12757 | Araq | 2020-03-11 | 1 | -6/+13 |
| | |||||
* | fix operators containing percent for VM usage (#13536) | Arne Döring | 2020-03-11 | 7 | -77/+69 |
| | | | | * fixes #13513 * merge tarithmetics in tarithm | ||||
* | `koch --nim:pathto/nim boot` and `koch boot --hint:cc:off` now work (#13516) | Timothee Cour | 2020-03-11 | 2 | -15/+20 |
| | | | | | * `koch boot --hint:cc:off` now works * `koch --nim:pathto/nim boot` now works; code cleanup | ||||
* | Revert "Support cross compiling from host to host (#12859)" (#13591) | genotrance | 2020-03-10 | 1 | -1/+2 |
| | | | This reverts commit e4f7656772657069cd3e27704d687b292d8d24ab. | ||||
* | fixes #13436 (#13615) | Andreas Rumpf | 2020-03-10 | 2 | -4/+11 |
| |