Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Continue #13002 (#13021) | Clyybber | 2020-01-06 | 1 | -37/+81 |
| | |||||
* | Allow `-o` option for `buildIndex` (#13037) [backport] | BinHong Lee | 2020-01-05 | 1 | -1/+4 |
| | | | | | Addressing #12771 This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue. | ||||
* | fixes #13013, reverts previous changes to readLines() (#13036) [backport] | cooldome | 2020-01-05 | 1 | -1/+1 |
| | | | | | | | * Revert "remove default argument for readLines (#12807) [backport]" This reverts commit c949b81efdeb08b38224e1678ad140b7b7663b15. | ||||
* | fix enumtostr crash for enum-range (#13035) | Jasper Jenkins | 2020-01-05 | 1 | -1/+1 |
| | |||||
* | VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) | Timothee Cour | 2020-01-05 | 7 | -35/+199 |
| | | | | | | | | | | | | | | * 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 #12964 (#13027) | Andreas Rumpf | 2020-01-04 | 1 | -2/+2 |
| | |||||
* | Fixes #13026 (#13028) | cooldome | 2020-01-04 | 1 | -1/+1 |
| | |||||
* | fix #12988 (#13022) | rockcavera | 2020-01-03 | 1 | -3/+3 |
| | | | fix #12988 | ||||
* | fixes #12956 (#13020) | Andreas Rumpf | 2020-01-03 | 2 | -2/+4 |
| | |||||
* | fixes #12961 (#13019) | Andreas Rumpf | 2020-01-03 | 1 | -9/+12 |
| | |||||
* | fixes #12978 (#13012) | Andreas Rumpf | 2020-01-03 | 1 | -4/+6 |
| | |||||
* | remove default argument for readLines (#12807) [backport] | cooldome | 2020-01-02 | 1 | -1/+1 |
| | |||||
* | Sink to MemMove optimization in injectdestructors (#13002) | cooldome | 2020-01-02 | 3 | -25/+29 |
| | |||||
* | fix #12985 {.push.} now does not apply to generic instantiations (#12986) | Timothee Cour | 2020-01-02 | 1 | -1/+1 |
| | |||||
* | --exception:goto switch for deterministic exception handling (#12977) | Andreas Rumpf | 2020-01-01 | 13 | -77/+247 |
| | | | | | 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 disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport] | Andy Davidoff | 2019-12-31 | 1 | -2/+3 |
| | |||||
* | fixes #12989 (#12992) | cooldome | 2019-12-31 | 2 | -9/+10 |
| | | | | | | | * fixes #12989 * Revert "remove unwanted changes" This reverts commit 501829732a8e44deef2d815c303859efbe452cb5. | ||||
* | Revert "fixes #12989" | Andrii Riabushenko | 2019-12-31 | 1 | -0/+1 |
| | | | | This reverts commit 928c2fee06bd11a0901c5f563b4953788be76ae6. | ||||
* | fixes #12989 | Andrii Riabushenko | 2019-12-31 | 1 | -1/+0 |
| | |||||
* | minor refactorings | Andreas Rumpf | 2019-12-27 | 4 | -13/+25 |
| | |||||
* | fixes #12945 (#12959) | cooldome | 2019-12-24 | 1 | -6/+6 |
| | |||||
* | fixes another regression | Araq | 2019-12-24 | 1 | -4/+11 |
| | |||||
* | fixes a silly regression | Araq | 2019-12-24 | 1 | -1/+3 |
| | |||||
* | a better bugfix | Araq | 2019-12-24 | 2 | -33/+36 |
| | |||||
* | fixes a regression | Araq | 2019-12-24 | 1 | -4/+4 |
| | |||||
* | fixes #12826 | Araq | 2019-12-24 | 3 | -39/+69 |
| | |||||
* | fixes a bug that kept sugar.collect from working with for loop macros [backport] | Araq | 2019-12-24 | 1 | -10/+11 |
| | |||||
* | case coverage error message for `char` (#12948) | Jasper Jenkins | 2019-12-22 | 2 | -3/+6 |
| | |||||
* | fixes #12735 on osx, call dsymutil for debug builds (#12931) | Timothee Cour | 2019-12-21 | 2 | -0/+22 |
| | | | | | | * fix #12735 osx: dsymutil needs to be called for debug builds * also write dsymutil command to extraCmds in json build file | ||||
* | Fix #12785 (#12943) | RSDuck | 2019-12-21 | 1 | -0/+4 |
| | | | | | | * Fix #12785 and add test * better variable name | ||||
* | fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport] | Timothee Cour | 2019-12-19 | 1 | -3/+15 |
| | |||||
* | Better case coverage error message for alias and range enum (#12913) | Jasper Jenkins | 2019-12-18 | 3 | -67/+60 |
| | |||||
* | fixes #12899 (#12921) | Andreas Rumpf | 2019-12-18 | 3 | -12/+18 |
| | | | | | | * fixes #12899 * fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it | ||||
* | Cleanup leftovers of #12911(#12916) | Clyybber | 2019-12-17 | 1 | -2/+1 |
| | |||||
* | ARC: cycle detector (#12823) | Andreas Rumpf | 2019-12-17 | 14 | -153/+297 |
| | | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish | ||||
* | allow typed/untyped in magic procs (#12911) | Timothee Cour | 2019-12-17 | 1 | -4/+10 |
| | |||||
* | fixes #12885 [backport] (#12895) | Andreas Rumpf | 2019-12-13 | 1 | -0/+4 |
| | |||||
* | Fixes #12883 (#12894) | cooldome | 2019-12-13 | 1 | -0/+13 |
| | | | | | | | | | | * fixes #12883 * fix comment * add normalize * fix | ||||
* | fixes #12882 (#12889) | cooldome | 2019-12-13 | 1 | -1/+1 |
| | | | | * fixes #12882 | ||||
* | fixes #12148 [backport] (#12888) | Andreas Rumpf | 2019-12-12 | 1 | -1/+1 |
| | |||||
* | invoke createTypeBoundOps for constructors (#12878) | cooldome | 2019-12-11 | 1 | -0/+7 |
| | |||||
* | ARC: fixes cycle detection and move the .cursor attribute into closures (#12872) | Andreas Rumpf | 2019-12-11 | 2 | -1/+3 |
| | |||||
* | Increased TInstr field sizes: allow long jumps and 65535 VM registers (#12777) | Ico Doornekamp | 2019-12-10 | 1 | -5/+5 |
| | | | | | | | | | * Increased regBx size from 16 to 24 bits to increase jump range in the VM from 32K to 8M instructions. Fixes #12727 * Increased VM TInst register field sizes to 16 bits to allow up to 65535 VM registers per proc * Added test case for >255 VM registers | ||||
* | ARC: yet another bugfix (#12871) | Andreas Rumpf | 2019-12-10 | 1 | -25/+41 |
| | |||||
* | completes #12799, fixes #12216 (#12870) | Andreas Rumpf | 2019-12-10 | 1 | -0/+1 |
| | |||||
* | fixes #12827 (#12829) [backport] | cooldome | 2019-12-10 | 1 | -4/+5 |
| | |||||
* | fixes #12820 (#12828) | cooldome | 2019-12-09 | 1 | -0/+7 |
| | |||||
* | Support cross compiling from host to host (#12859) | Neelesh Chandola | 2019-12-09 | 1 | -2/+1 |
| | |||||
* | Assigning template to var/let/const gives a proper error (#12851) | Neelesh Chandola | 2019-12-09 | 1 | -5/+9 |
| | | | | | | * Assigning template to var/let/const gives a proper error * Fix style | ||||
* | Fixes #12832 (#12842) [backport] | Neelesh Chandola | 2019-12-08 | 1 | -0/+5 |
| | | | | | | * Fix #12832 * nimVm -> nimvm in json.nim * Use suggestSym() instead of markUsed(); Also use styleCheckUse() for finding style violations |