Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Big compiler Cleanup (#14777) | Clyybber | 2020-08-28 | 1 | -1/+1 |
| | |||||
* | fixes #15026 [backport] (#15040) | Andreas Rumpf | 2020-07-22 | 1 | -1/+1 |
| | | | no test case since only a special case was affected and the special case got removed | ||||
* | fixes #14925 (#14947) | Andreas Rumpf | 2020-07-09 | 1 | -0/+4 |
| | |||||
* | scoped memory management (#14790) | Andreas Rumpf | 2020-07-04 | 1 | -8/+16 |
| | | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups | ||||
* | fixes #14240 [backport:1.2] (#14757) | Andreas Rumpf | 2020-06-22 | 1 | -8/+9 |
| | |||||
* | fix #14369 (#14386) | cooldome | 2020-05-18 | 1 | -0/+1 |
| | | | | | * fix #14369 * empty commit | ||||
* | fixes #13998 [backport:1.2] | Andreas Rumpf | 2020-05-13 | 1 | -1/+1 |
| | |||||
* | fix for asm statement; refs #12650 | Araq | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | Implements RFCs #209 (#13995) | cooldome | 2020-04-16 | 1 | -24/+7 |
| | | | | | * add test * add changelod entry Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fixes #13782 (#13834) | Andreas Rumpf | 2020-04-01 | 1 | -0/+3 |
| | |||||
* | Attempt to finish off araq cpp exceptions (#13695) | cooldome | 2020-03-19 | 1 | -8/+173 |
| | | | | | | | | | | | | | | | * 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> | ||||
* | rewritten goto based exception handling; much cleaner implementation;… ↵ | Andreas Rumpf | 2020-03-17 | 1 | -22/+6 |
| | | | | | | (#13677) * rewritten goto based exception handling; much cleaner implementation; fixes #13668 | ||||
* | catchable defects (#13626) | Andreas Rumpf | 2020-03-12 | 1 | -27/+36 |
| | | | | | | | | | | * 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 | ||||
* | fixes #13599 (#13614) | Andreas Rumpf | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | fix #8312 --hints:off and --warnings:off now honored everywhere (#13489) | Timothee Cour | 2020-02-26 | 1 | -1/+1 |
| | |||||
* | Fixes #13186 (#13188) | slangmgh | 2020-01-19 | 1 | -2/+4 |
| | |||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 1 | -1/+1 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | fixes #12961 (#13019) | Andreas Rumpf | 2020-01-03 | 1 | -9/+12 |
| | |||||
* | --exception:goto switch for deterministic exception handling (#12977) | Andreas Rumpf | 2020-01-01 | 1 | -24/+157 |
| | | | | | This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented. | ||||
* | fixes #12826 | Araq | 2019-12-24 | 1 | -2/+2 |
| | |||||
* | Fix #12785 (#12943) | RSDuck | 2019-12-21 | 1 | -0/+4 |
| | | | | | | * Fix #12785 and add test * better variable name | ||||
* | ARC related bugfixes and refactorings (#12781) | Andreas Rumpf | 2019-12-05 | 1 | -3/+10 |
| | |||||
* | better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799) | Andreas Rumpf | 2019-12-05 | 1 | -12/+26 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -174/+165 |
| | | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls | ||||
* | --gc:destructors now means Nim uses pure refcounting (#12557) | Andreas Rumpf | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | refactoring: --newruntime consists of 3 different switches | Araq | 2019-10-20 | 1 | -4/+4 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -20/+20 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | allows access to .compileTime vars at runtime (#12128) | Andreas Rumpf | 2019-09-05 | 1 | -11/+12 |
| | |||||
* | Remove ENDB (#12095) | Clyybber | 2019-08-31 | 1 | -26/+0 |
| | |||||
* | only store finally block in exception stack (#11876) | Jacek Sieka | 2019-08-28 | 1 | -9/+11 |
| | |||||
* | fixes #11891 | Andreas Rumpf | 2019-08-10 | 1 | -1/+3 |
| | |||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -5/+5 |
| | | | | * fixes #11847 | ||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -1/+1 |
| | | | | --styleCheck:error | ||||
* | msgs, ccgstmts: fixes #11572 (#11621) | alaviss | 2019-06-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | * [refactor] msgs: toFilename now return just the filename The C codegen uses just the file name for stacktrace when excessiveStackTrace is off (see quotedName), so there aren't any reason for other codegen to not do the same. The file name is now cached in TFileInfo.shortName, which was introduced for nimsuggest, and went unused after several refactoring of the compiler. A toProjPath() proc has been added for the previous behavior of toFilename(). * ccgstmt: use quotedFilename() for raiseExceptionEx This is the same proc used for stacktrace when --stacktrace:on Fixes #11572 * msgs: handle case where file name is not available | ||||
* | Warn about object case transitions at compile time (#11378) | genotrance | 2019-06-02 | 1 | -0/+1 |
| | |||||
* | fixes #11205 | Araq | 2019-05-28 | 1 | -1/+26 |
| | |||||
* | Small cleanup (#11185) | Andreas Rumpf | 2019-05-08 | 1 | -10/+10 |
|\ | | | | | | | | | | | | | | | * Remove mStaticTy and mTypeTy * Replace countup(x, y-1) with x ..< y * Replace countup(x, y) with x .. y | ||||
| * | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -8/+8 |
| | | |||||
| * | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -2/+2 |
| | | |||||
* | | no 'defers' in my backend | Araq | 2019-05-08 | 1 | -16/+15 |
| | | |||||
* | | cleanup (#11192) | Jasper Jenkins | 2019-05-07 | 1 | -2/+0 |
|/ | |||||
* | Fixes for ptr array deref codegen (#11191) | Jasper Jenkins | 2019-05-07 | 1 | -37/+12 |
| | | | | | * fixes for ptr array derefence codegen * fix comments, make diff nicer | ||||
* | newruntime: make 'discard new RootObj' work | Araq | 2019-04-26 | 1 | -2/+3 |
| | |||||
* | fixes #11082 | Andreas Rumpf | 2019-04-23 | 1 | -3/+5 |
| | |||||
* | fewer ropes (#11037) | Arne Döring | 2019-04-19 | 1 | -2/+2 |
| | |||||
* | Less ropes (#10979) | Arne Döring | 2019-04-11 | 1 | -52/+53 |
| | | | | | * convert ropecg to a macro * fewer intermediate ropes | ||||
* | newruntime: raising an exception works but currently leaks memory because ↵ | Araq | 2019-04-10 | 1 | -0/+2 |
| | | | | currentException global is not an 'owned' ref | ||||
* | don't emit an implicit try finally when in system.nim in order to prevent ↵ | Araq | 2019-04-09 | 1 | -1/+2 |
| | | | | endless recursions in the try handler | ||||
* | Add OpenMP overload with stepping (#10891) | Mamy Ratsimbazafy | 2019-03-22 | 1 | -5/+15 |
| |