Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -3/+3 |
| | |||||
* | some gc:destructors progress | Andreas Rumpf | 2019-09-16 | 1 | -14/+0 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -14/+14 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | fixes #7258 (#12054) | Andreas Rumpf | 2019-08-26 | 1 | -1/+25 |
| | |||||
* | fixes tcompiletimerange [bugfix] (#11720) | Andreas Rumpf | 2019-07-12 | 1 | -0/+20 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -1/+1 |
| | | | | --styleCheck:error | ||||
* | fixes #11660 (#11677) | Andreas Rumpf | 2019-07-07 | 1 | -1/+4 |
| | |||||
* | fixes #7816 (#11261) | Andreas Rumpf | 2019-05-15 | 1 | -0/+1 |
| | |||||
* | Merge pull request #11201 from nim-lang/araq-fixes-11200 | Andreas Rumpf | 2019-05-08 | 1 | -1/+1 |
|\ | | | | | fixes 11200 | ||||
| * | fixes #11200 | Araq | 2019-05-08 | 1 | -1/+1 |
| | | |||||
* | | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -7/+7 |
|/ | |||||
* | Fix 105, few fixes for 101 (#11148) | genotrance | 2019-05-04 | 1 | -2/+4 |
| | |||||
* | destructors: internal compiler refactoring | Araq | 2019-04-18 | 1 | -13/+12 |
| | |||||
* | more destructor based changes (#10885) | Andreas Rumpf | 2019-03-23 | 1 | -2/+2 |
| | | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures | ||||
* | fixes #10884 (#10887) | Andreas Rumpf | 2019-03-22 | 1 | -1/+1 |
| | |||||
* | Size ptr tuple (#10846) | Arne Döring | 2019-03-18 | 1 | -2/+1 |
| | | | | | | * fixes #10117 * Add support for recursive tuples * detect in generics | ||||
* | --newruntime: work in progress | Andreas Rumpf | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | introduce tfHasOwned for fast must-move checkings; removed tfAcyclic as the ↵ | Andreas Rumpf | 2019-03-05 | 1 | -5/+1 |
| | | | | GC has ignored this hint for quite some time now | ||||
* | gc:destructors: progress | Andreas Rumpf | 2019-02-28 | 1 | -0/+16 |
| | |||||
* | first steps in implementing 'owned' pointers; undocumented, do not use | Andreas Rumpf | 2019-02-23 | 1 | -1/+1 |
| | |||||
* | Propagate tfGcSafe flag to generic instantiations (#10620) | LemonBoy | 2019-02-13 | 1 | -3/+2 |
| | | | Fixes a nasty endless loop in the generic instantiation phase. | ||||
* | gc: destructors is beginning to work (#10483) | Andreas Rumpf | 2019-01-29 | 1 | -13/+24 |
| | | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers | ||||
* | Fix for issue #10342. better message for generic subclass instantiation (#10354) | Ray Imber | 2019-01-22 | 1 | -1/+14 |
| | | | * Fix for issue #10342. better message for generic subclass instantiation errors. | ||||
* | Merge pull request #8748 from LemonBoy/when-in-objects | Andreas Rumpf | 2018-12-12 | 1 | -0/+40 |
|\ | | | | | Pervasive replacement of nkRecWhen in generic types | ||||
| * | Pervasive replacement of nkRecWhen in generic types | LemonBoy | 2018-10-19 | 1 | -0/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Long story short, even if the type contains no reference at all to its generic parameters we still have to walk its AST and evaluate any nkRecWhen nodes that semRecordNodeAux skipped due to the type being a generic one. We also must be careful to modify the type `n` node in place since it may be referenced by the caller as seen in the tillegaltyperecursion test. Moreover we also can't have the nkSym drift away from their original values in order not to break the JS nkObjConstr codegen. | ||||
* | | IC: further progress | Araq | 2018-12-01 | 1 | -1/+1 |
| | | |||||
* | | language cleanup: the .unchecked pragma is dead | Araq | 2018-11-06 | 1 | -5/+0 |
| | | |||||
* | | Change the order of compilation passes, transformation is made lazy at code ↵ | cooldome | 2018-10-18 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux | ||||
* | | replace deprecated `safeAdd` with `add` (#9416) | Miran | 2018-10-18 | 1 | -1/+1 |
| | | |||||
* | | fixes #5479 | Araq | 2018-10-02 | 1 | -6/+11 |
| | | |||||
* | | fixes #8883 | Araq | 2018-09-14 | 1 | -2/+5 |
|/ | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | enable destructors without the --newruntime switch | Andreas Rumpf | 2018-07-04 | 1 | -5/+1 |
| | |||||
* | requested pull-request changes | Zahary Karadjov | 2018-06-16 | 1 | -2/+3 |
| | |||||
* | fixes #7222; fixes #5595; fixes #3747 | Zahary Karadjov | 2018-06-16 | 1 | -12/+12 |
| | | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -9/+10 |
| | |||||
* | platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | |||||
* | make tests green again | Araq | 2018-05-14 | 1 | -2/+2 |
| | |||||
* | guards.nim does compile | Andreas Rumpf | 2018-05-11 | 1 | -22/+21 |
| | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -2/+2 |
| | |||||
* | Static[T] fixes (#7333) | zah | 2018-03-24 | 1 | -0/+4 |
| | | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests | ||||
* | preparations for language extensions: 'sink' and 'lent' types | Andreas Rumpf | 2018-01-07 | 1 | -3/+3 |
| | |||||
* | fixes #6489 | Araq | 2017-11-23 | 1 | -2/+2 |
| | |||||
* | fixes #6682 | Araq | 2017-11-22 | 1 | -1/+2 |
| | |||||
* | deprecated unary '<' | Andreas Rumpf | 2017-10-29 | 1 | -8/+8 |
| | |||||
* | destructors: supportsCopyMem finally works for recursive types | Araq | 2017-10-26 | 1 | -10/+26 |
| | |||||
* | destructors: irresponsibly simple tcustomseq test works | Andreas Rumpf | 2017-10-17 | 1 | -1/+4 |
| | |||||
* | destructors: preparations for upcoming changes | Araq | 2017-10-17 | 1 | -5/+1 |
| | |||||
* | minor refactorings for better destructors | Andreas Rumpf | 2017-10-14 | 1 | -5/+11 |
| | |||||
* | first implementation of the 'func' keyword | Andreas Rumpf | 2017-09-23 | 1 | -1/+1 |
| |