Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix docs for subdirs too (#13180) | Clyybber | 2020-01-17 | 1 | -11/+15 |
| | | | | | * Fix doc subdirs * Extract to helper proc, and fix on windows | ||||
* | make sink operator optional (#13068) | cooldome | 2020-01-17 | 2 | -48/+42 |
| | | | | | | | | | | | | | | | | * make sink operator optional * bug fix, add changelog entry * Trigger build * fix one regression * fix test * Trigger build * fix typos | ||||
* | ARC works for async on Windows (#13179) | Andreas Rumpf | 2020-01-17 | 1 | -2/+2 |
| | |||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 32 | -201/+183 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | fixes #13095 (#13181) | cooldome | 2020-01-17 | 1 | -0/+3 |
| | | | | | | * fixes #13095 * fix typo | ||||
* | Cleanup DFA (#13173) | Clyybber | 2020-01-16 | 2 | -36/+16 |
| | |||||
* | fixes #12998 nim doc regression (#13117) | Timothee Cour | 2020-01-16 | 4 | -3/+14 |
| | |||||
* | Working towards arc codegen (#13153) | cooldome | 2020-01-16 | 1 | -31/+39 |
| | | | fixes #13029 | ||||
* | ARC: misc bugfixes (#13156) | Andreas Rumpf | 2020-01-15 | 3 | -25/+87 |
| | | | | | | | | * fixes #13102 * closes #13149 * ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing) * proper fix; fixes #12957 * fixes yet another case object '=' code generation problem | ||||
* | successX now correctly shows html output for `nim doc`, `nim jsondoc`; fix ↵ | Timothee Cour | 2020-01-15 | 5 | -6/+18 |
| | | | | | | | | #13121 (#13116) * successX now correctly shows html output for nim doc * fixes #13121 * fixup hintSuccessX to be less weird | ||||
* | Added 'ansic' os support for minimal (embedded) targets (#13088) | Ico Doornekamp | 2020-01-15 | 1 | -1/+5 |
| | | | | | | | | * os:any implementation * os:asny: omit flock/funlock calls in echoBinSafe * Disabled default "unhandled expection" reporting for `--os:any` to reduce code size. Added unhandledExceptionHook instead which can be used to get a notification from Nim and handle it from the application. | ||||
* | fixes #9674 [backport] (#13143) | Andreas Rumpf | 2020-01-14 | 1 | -1/+12 |
| | |||||
* | fixes #13104 [backport] (#13142) | Andreas Rumpf | 2020-01-14 | 1 | -0/+1 |
| | |||||
* | pass platform argument only if vccexe is used (#13078) | cooldome | 2020-01-14 | 1 | -10/+9 |
| | | | | | * pass platform only if vccexe is used * fixes #12297 | ||||
* | fixes #10665 (#13141) [backport] | Andreas Rumpf | 2020-01-14 | 1 | -22/+26 |
| | |||||
* | fixes #13105 (#13138) | Andreas Rumpf | 2020-01-14 | 1 | -1/+1 |
| | |||||
* | fixes #13119 (#13128) | Andreas Rumpf | 2020-01-14 | 3 | -3/+11 |
| | | | | | * fixes #13119 * fixes a regression | ||||
* | fixes #13100 nim doc now treats `export localSymbol` correctly (#13123) ↵ | Timothee Cour | 2020-01-13 | 2 | -14/+26 |
| | | | | | | | [backport] * fix #13100 nim doc now treats `export localSymbol` correctly * use owner instead | ||||
* | fixes #13112 (#13127) | Andreas Rumpf | 2020-01-13 | 2 | -2/+18 |
| | | | | | | * improve line error information * fixes #13112 | ||||
* | fixes #13122 (#13126) | Andreas Rumpf | 2020-01-13 | 2 | -5/+5 |
| | | | | | | * fixes #13122 * moved tests to where they belong | ||||
* | fix rtti sizeof for varargs in global scope (#13125) [backport] | Jasper Jenkins | 2020-01-13 | 1 | -2/+2 |
| | |||||
* | more arc features (#13098) | Andreas Rumpf | 2020-01-10 | 4 | -1/+38 |
| | | | | | * config update * ARC now supports 'repr' and 'new' with finalizers is supported | ||||
* | fixes #13072; no test case because it will be added later with more ↵ | Araq | 2020-01-10 | 1 | -1/+1 |
| | | | | exception handling related bugfixes | ||||
* | remove all remaining warnings when build nim (with -d:nimHasLibFFI) (#13084) | Timothee Cour | 2020-01-09 | 3 | -14/+7 |
| | | | | | | * cleanup deprecations in evalffi + elsewhere * remove dead code getOrdValue64 | ||||
* | fix crash due to errant symbols in nim.cfg (#13073) [backport] | Andy Davidoff | 2020-01-08 | 1 | -2/+3 |
| | |||||
* | make SuccessX show project file + output file (#13043) | Timothee Cour | 2020-01-08 | 3 | -11/+22 |
| | | | | | | | * make SuccessX show project file + output file * address comments * fix test and add `result.err = reNimcCrash` otherwise hard to see where reNimcCrash used * address comments | ||||
* | distinctBase type trait for distinct types (#13031) | cooldome | 2020-01-08 | 1 | -0/+16 |
| | |||||
* | [easy] --hint:link:on now shows link cmd instead of nothing (#13056) | Timothee Cour | 2020-01-07 | 2 | -3/+2 |
| | | | | | | * --hint:link:on now shows link cmd instead of nothing * update doc for --listCmd | ||||
* | --styleCheck:hint now works (#13055) | Timothee Cour | 2020-01-07 | 1 | -1/+1 |
| | |||||
* | 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 |
| |