Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) | Timothee Cour | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * VM: allow certain hardcoded special var variables at CT * VM: allow all importc var, cast[int](ptr) * fix tests tests/vm/tstaticprintseq.nim, tests/cpp/t8241.nim * VM: == works for ptr/pointer nodes * bugfix: ==, cast now also works for pointer, not just ptr * VM supports cast PtrLikeKinds <=> PtrLikeKinds / int * improve cname handling * fixup + bug fix * VM: support cast from ref to int * address comment: opcLdGlobalDeref => opcLdGlobalDerefFFI * defensive check against typ == nil | ||||
* | fixes #12978 (#13012) | Andreas Rumpf | 2020-01-03 | 1 | -4/+6 |
| | |||||
* | --exception:goto switch for deterministic exception handling (#12977) | Andreas Rumpf | 2020-01-01 | 1 | -30/+24 |
| | | | | | 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. | ||||
* | minor refactorings | Andreas Rumpf | 2019-12-27 | 1 | -4/+4 |
| | |||||
* | a better bugfix | Araq | 2019-12-24 | 1 | -3/+3 |
| | |||||
* | fixes #12826 | Araq | 2019-12-24 | 1 | -19/+34 |
| | |||||
* | fixes #12899 (#12921) | Andreas Rumpf | 2019-12-18 | 1 | -2/+2 |
| | | | | | | * fixes #12899 * fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it | ||||
* | completes #12799, fixes #12216 (#12870) | Andreas Rumpf | 2019-12-10 | 1 | -0/+1 |
| | |||||
* | fixes #12827 (#12829) [backport] | cooldome | 2019-12-10 | 1 | -4/+5 |
| | |||||
* | ARC related bugfixes and refactorings (#12781) | Andreas Rumpf | 2019-12-05 | 1 | -1/+1 |
| | |||||
* | better support for PROGMEM like annotations for lets/vars; fixes #12216 (#12799) | Andreas Rumpf | 2019-12-05 | 1 | -5/+15 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -186/+185 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | fixes and changes the recently introduced 'alignas' to be 'align' (#12666) | Andreas Rumpf | 2019-11-15 | 1 | -5/+5 |
| | | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements | ||||
* | ARC: solves phase ordering problems (#12654) | Andreas Rumpf | 2019-11-14 | 1 | -4/+11 |
| | |||||
* | implemented alignas pragma (#12643) | Arne Döring | 2019-11-13 | 1 | -1/+7 |
| | | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof. | ||||
* | fix #12426 (#12462) | Arne Döring | 2019-10-20 | 1 | -2/+3 |
| | |||||
* | refactoring: use the new strings and seqs when optSeqDestructors is active | Araq | 2019-10-20 | 1 | -5/+5 |
| | |||||
* | refactoring: --newruntime consists of 3 different switches | Araq | 2019-10-20 | 1 | -1/+1 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -4/+4 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -1/+1 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | exportc now mangles same as importc, fixes #10578 (#12144) | Timothee Cour | 2019-09-06 | 1 | -1/+2 |
| | | | | | | | * fixes #10578 * add tests * add changelog * add {.exportcpp.} | ||||
* | Remove ENDB (#12095) | Clyybber | 2019-08-31 | 1 | -42/+3 |
| | |||||
* | - adding _actual as a suffix only for calls to an actual proc and not ↵ | Viktor Kirilov | 2019-08-23 | 1 | -1/+6 |
| | | | | | | through a global function pointer - fixes https://github.com/nim-lang/Nim/issues/11996 (#12007) - adding forward declarations for reloadable functions within a module - fix compilation errors when 2 such functions reference each other - fixes https://github.com/nim-lang/Nim/issues/11608 - preserve permissions of copied executable binaries | ||||
* | removed unused imports [refactoring] | Andreas Rumpf | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | Incremental compilation (IC): Improvements (#11881) | Andreas Rumpf | 2019-08-08 | 1 | -55/+60 |
| | | | | | | | | | | | | | | | | | | | * IC: C codegen is aware of IC * manual: minor change to make VSCode's RST plugin render it properly * IC: minor refactoring * testament: code refactorings * rodutils: removed dead code * IC: always build the compiler with the IC feature * IC: C codegen improvements * IC: implement the undocumented -d:nimMustCache option for testing purposes * IC: added first basic tests * IC: extensive testing of the deserialization feature * testament: refactoring; better IC tests * IC: removes 'nimMustCache' flag; readonly does the same * testament: minor refactoring * update Nimble version * testament: removed dead code and imports; IC: added simple test * IC: progress | ||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -0/+3 |
| | | | | * fixes #11847 | ||||
* | IC: some progress | Andreas Rumpf | 2019-07-27 | 1 | -1/+2 |
| | |||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -2/+2 |
| | |||||
* | [refactoring] moves transformation for 'spawn' into its own spawn.nim ↵ | Araq | 2019-07-14 | 1 | -1/+1 |
| | | | | implementation | ||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -12/+12 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -14/+14 |
| | | | | --styleCheck:error | ||||
* | fixes #11563 (#11594) | Andreas Rumpf | 2019-06-26 | 1 | -1/+1 |
| | |||||
* | fixes #10299 (#11324) | Andreas Rumpf | 2019-05-25 | 1 | -3/+3 |
| | |||||
* | fixes #11309 (#11310) | Andreas Rumpf | 2019-05-23 | 1 | -0/+10 |
| | |||||
* | fixes #10963, disallow implicit mixing of strings and ints/floats (#11292) | Miran | 2019-05-21 | 1 | -1/+1 |
| | |||||
* | fixes #11202 | Andreas Rumpf | 2019-05-14 | 1 | -5/+8 |
| | |||||
* | fixes #11194 (#11242) | Arne Döring | 2019-05-14 | 1 | -3/+2 |
| | |||||
* | Fix destructor injections for global variables (#11230) | Clyybber | 2019-05-13 | 1 | -0/+3 |
| | | | | | | | | * attach global destructors at end of mainModule * Add testcase * Minor cleanup * Inject topLevelVar temporaries' destructors early * Fix megatest | ||||
* | Replace countup(x, y) with x .. y | Clyybber | 2019-05-07 | 1 | -3/+3 |
| | |||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -2/+2 |
| | |||||
* | revert discardable transformation (#10905) | Andreas Rumpf | 2019-04-21 | 1 | -0/+9 |
| | | | | | | | | | | * Revert "Properly wrap discarded statements (#10322)" This reverts commit 15584879b91e14565156ca140eef1dc100cf34c4. * add test for implicit discard after defer * enable t10241 again * make C++ tests green again | ||||
* | fewer ropes (#11037) | Arne Döring | 2019-04-19 | 1 | -6/+6 |
| | |||||
* | Less ropes (#10979) | Arne Döring | 2019-04-11 | 1 | -104/+177 |
| | | | | | * convert ropecg to a macro * fewer intermediate ropes | ||||
* | more efficient enumToStr implementation that works without the old typeinfo ↵ | Andreas Rumpf | 2019-04-07 | 1 | -1/+4 |
| | | | | structures | ||||
* | fixes #10943 (#10947) | cooldome | 2019-04-05 | 1 | -1/+4 |
| | |||||
* | fixes #10942. Lent T bug (#10946) | cooldome | 2019-04-03 | 1 | -7/+7 |
| | | | | | | | | * fixes #10942 * add test * bug build | ||||
* | fixes #10948 (#10949) | cooldome | 2019-04-03 | 1 | -1/+1 |
| | |||||
* | simple program works with --newruntime | Araq | 2019-04-02 | 1 | -0/+1 |
| | |||||
* | newruntime: progress | Araq | 2019-04-02 | 1 | -1/+1 |
| |