Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes a regression about indexing into UncheckedArray | Andreas Rumpf | 2018-10-16 | 1 | -1/+12 |
| | |||||
* | nimpretty: fixes #9144 | Andreas Rumpf | 2018-10-16 | 1 | -0/+1 |
| | |||||
* | nimpretty: add #!nimpretty on/off directives | Andreas Rumpf | 2018-10-16 | 3 | -5/+23 |
| | |||||
* | nimpretty: fixes #8626 | Andreas Rumpf | 2018-10-16 | 2 | -2/+4 |
| | |||||
* | nimpretty: render r-strings properly, fixes #9236 | Andreas Rumpf | 2018-10-16 | 2 | -11/+15 |
| | |||||
* | Merge branch 'Fixes-7845' of https://github.com/cooldome/Nim into ↵ | Araq | 2018-10-15 | 2 | -8/+8 |
|\ | | | | | | | cooldome-Fixes-7845 | ||||
| * | one more attempt | cooldome | 2018-06-28 | 1 | -3/+5 |
| | | |||||
| * | Fix failing test | cooldome | 2018-06-26 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'devel' into Fixes-7845 | cooldome | 2018-06-26 | 112 | -5860/+4799 |
| |\ | |||||
| * | | FIx test tembarrassing_generic_failure | cooldome | 2018-06-12 | 1 | -1/+1 |
| | | | |||||
| * | | Fixes | cooldome | 2018-06-12 | 1 | -5/+4 |
| | | | |||||
| * | | Fixes 7845 | cooldome | 2018-06-10 | 2 | -9/+8 |
| | | | |||||
* | | | fixes #2760 | Araq | 2018-10-15 | 1 | -1/+1 |
| | | | |||||
* | | | DFA: implement exception handling properly | Andreas Rumpf | 2018-10-14 | 2 | -3/+22 |
| | | | |||||
* | | | [WIP] Early evaluation of mIs (#8723) | LemonBoy | 2018-10-14 | 2 | -44/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Early evaluation of mIs The `evalIs` implementation was just a broken copy of `isOpImpl` so let's just avoid it alltogether: `mIs` nodes are either resolved during the semantic phase or bust. * Remove dead code and tidy it up | ||||
* | | | fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to ↵ | Timothee Cour | 2018-10-14 | 1 | -5/+27 |
| | | | | | | | | | | | | call undeclared routine' error (#8786) | ||||
* | | | sizeof(UncheckedArray) should be invalid; fixed the formating of ↵ | Araq | 2018-10-14 | 1 | -87/+34 |
| | | | | | | | | | | | | sizealignoffsetimpl.nim to make it bearable | ||||
* | | | implement sizeof and alignof operator (manually squashed #5664) (#9356) | Timothee Cour | 2018-10-14 | 13 | -222/+526 |
| | | | |||||
* | | | Make sure the annotation for `||` is avail. at CT (#9354) | LemonBoy | 2018-10-14 | 1 | -0/+8 |
| | | | | | | | | | Closes #9353 | ||||
* | | | dfa.nim: clarify exception handling | Andreas Rumpf | 2018-10-13 | 1 | -1/+4 |
| | | | |||||
* | | | destructors: optimize more assignments into moves; also fixes #9294 | Andreas Rumpf | 2018-10-12 | 1 | -7/+78 |
| | | | |||||
* | | | compiler: cleanup dfa.nim | Andreas Rumpf | 2018-10-12 | 1 | -21/+25 |
| | | | |||||
* | | | don't crash when rendering wrong nkInfix nodes | Andreas Rumpf | 2018-10-12 | 1 | -8/+8 |
| | | | |||||
* | | | Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316) | c-blake | 2018-10-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s. | ||||
* | | | string to string conversion keeps the dest type (#9323) | LemonBoy | 2018-10-12 | 1 | -1/+1 |
| | | | | | | | | | Fixes #9322 | ||||
* | | | gogc: GCC-8.2.0 compatibility and other improvements (#9211) | Ștefan Talpalaru | 2018-10-11 | 3 | -12/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | - Go's write barriers are now plugged-in in all the relevant points - "gcGo" is correctly classified by usesWriteBarrier() - some gogc structures and functions now use golib wrappers to keep GCC version-specific conditions out of the compiler/stdlib code - we no longer allow mixing the C malloc with Go's - fix a problem with string copying | ||||
* | | | fixes #9281 | Araq | 2018-10-11 | 2 | -3/+17 |
| | | | |||||
* | | | Add procs to retrieve project name, directory and full path to nimscript (#9274) | Solitude | 2018-10-11 | 1 | -0/+6 |
| | | | |||||
* | | | fixes #9297 (#9298) | cooldome | 2018-10-11 | 3 | -10/+9 |
| | | | | | | | | | | | | | | | | | | * fixes #9297 * improve spacing | ||||
* | | | test case for #9180 and re-enables the disabled tcompilerapi test (#9181) | Timothee Cour | 2018-10-11 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | * add findNimStdLibCompileTime and un-disable tcompilerapi test; add test case for #9180 * address comments | ||||
* | | | compiler: show name of instantiating context in error traces (#6763) (#9207) | xzfc | 2018-10-11 | 6 | -15/+24 |
| | | | |||||
* | | | Fix wrong heuristic in codegen (#9293) | LemonBoy | 2018-10-11 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286 | ||||
* | | | Unchecked arrays now have their own type (#9267) | LemonBoy | 2018-10-10 | 12 | -19/+60 |
| | | | |||||
* | | | fixes #9263 | Andreas Rumpf | 2018-10-10 | 1 | -62/+80 |
| | | | |||||
* | | | Fixes #9154 (#9193) | manterolat | 2018-10-10 | 2 | -0/+6 |
| | | | |||||
* | | | fix #9264 regression (#9265) | Timothee Cour | 2018-10-09 | 1 | -5/+2 |
| | | | |||||
* | | | fixes unexpected transforming of runnableExamples (#9158) | Steve Kellock | 2018-10-09 | 3 | -7/+9 |
| | | | |||||
* | | | Fix overload resolution for pragmas evaluation (#8902) | LemonBoy | 2018-10-09 | 4 | -32/+43 |
| | | | | | | | | | | | | Fixes #6448 Fixes #4384 | ||||
* | | | Field checks for everybody (#8957) | LemonBoy | 2018-10-09 | 7 | -44/+149 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend | ||||
* | | | Try/Catch support for native JS exceptions (#8955) | LemonBoy | 2018-10-09 | 2 | -8/+35 |
| | | | | | | | | | | | | | | | | | | * Try/Catch support for native JS exceptions * Better tests | ||||
* | | | Fix transformation of yield in inline context (#9135) | LemonBoy | 2018-10-09 | 1 | -15/+28 |
| | | | | | | | | | | | | | | | | | | When the loop variables are part of the envP block it is not safe to use a nkFastAsgn. Fixes #2656 | ||||
* | | | Make the registered passes local to the ModuleGraph (#9259) | LemonBoy | 2018-10-09 | 12 | -64/+60 |
| | | | | | | | | | Closes #9068 | ||||
* | | | Fix range type construction in the VM (#9205) | LemonBoy | 2018-10-09 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | The `range[X,Y]` representation is wrong, we use `range[X .. Y]` instead. Fixes #9194 | ||||
* | | | fixes #9222 (#9224) | cooldome | 2018-10-09 | 1 | -1/+6 |
| | | | |||||
* | | | nim doc can run code blocks (#9228) | LemonBoy | 2018-10-09 | 1 | -24/+32 |
| | | | |||||
* | | | Codegen fix for procs taking type(nil) (#9231) | xzfc | 2018-10-09 | 1 | -1/+1 |
| | | | |||||
* | | | Prevent the construction of recursive tyStatic types (#9256) | LemonBoy | 2018-10-09 | 1 | -4/+7 |
| | | | | | | | | | Fixes #9255 | ||||
* | | | Add checks for except: body blocks (#9191) | Dheepak Krishnamurthy | 2018-10-09 | 2 | -2/+20 |
| | | | |||||
* | | | fixes #4435 (#9185) | jcosborn | 2018-10-09 | 1 | -1/+1 |
| | | | |||||
* | | | attempt to fix the .line pragma | Araq | 2018-10-03 | 1 | -12/+1 |
| | | |