Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move asciitables to std/private/ (#16498) | flywind | 2020-12-29 | 1 | -1/+1 |
| | | | | | * move asciitables * minor | ||||
* | fix #16469 vm float constants: do not conflate -0.0 and 0.0 (#16470) | Timothee Cour | 2020-12-27 | 1 | -1/+6 |
| | | | | | * fix #16469 vm float constants: do not conflate -0.0 and 0.0 * fix test for 32bit | ||||
* | [backport => 1.0] fix #16428 vmops now works for generic procs (#16429) | Timothee Cour | 2020-12-22 | 1 | -10/+2 |
| | | | | | * fix #16428 vmops now works for generic procs * remove duplication | ||||
* | [docs minor]space for code-block (#16266) | flywind | 2020-12-06 | 1 | -1/+1 |
| | | | | | | | | | * [docs minor]space for code-block * correct more errors * to runnableExamples * add newline | ||||
* | fixes #15939, fixes #15464, fixes #16169, fixes #16226 VM now supports ↵ | Timothee Cour | 2020-12-03 | 1 | -4/+6 |
| | | | | | | | | | `addr(mystring[ind])` (index + index assignment) (#15987) * fix #15939, fix #15464 VM now supports `addr(mystring[ind])` (index + index assignment), var char return etc * cleanups * cstring tests * add test for bug #15464 * improve test coverage | ||||
* | combine PR#16009 and PR#16012 (#16024) | flywind | 2020-11-18 | 1 | -0/+5 |
| | | | | | | | | * fix #15623 * add testcase for #15623 * add testcase * combine #16009 * support casting nil to NilableTypes in VM | ||||
* | Revert "follow #16009 VM supports cast nil to ptr (#16012)" | Andrey R (cooldome) | 2020-11-17 | 1 | -3/+0 |
| | | | | This reverts commit fec19c980e36e62747eb119f0740cb785e858ac3. | ||||
* | follow #16009 VM supports cast nil to ptr (#16012) | flywind | 2020-11-17 | 1 | -0/+3 |
| | | | | | * follow #16009 VM supports cast nil to ptr * more testcase | ||||
* | fix #15463 (#15831) | flywind | 2020-11-05 | 1 | -1/+1 |
| | |||||
* | Closure iterators are not supported by VM (#15818) | flywind | 2020-11-02 | 1 | -0/+2 |
| | |||||
* | fixes #15717 | flywind | 2020-11-02 | 1 | -0/+2 |
| | |||||
* | fix #15704 #15597 wrong VM register was freed (#15705) | Timothee Cour | 2020-10-26 | 1 | -2/+4 |
| | | | | | | | | | | | | | * fix #15704 #15597 wrong VM register was freed * same treatment for nkCheckedFieldExpr * note concerning HighRegisterPressure * bump NimPatch * Update lib/system.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | explicit ID generation for easier IC (#15559) | Andreas Rumpf | 2020-10-25 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | * refactoring: idents don't need inheritance * refactoring: adding an IdGenerator (part 1) * refactoring: adding an IdGenerator (part 2) * refactoring: adding an IdGenerator (part 3) * refactoring: adding an IdGenerator (part 4) * refactoring: adding an IdGenerator (part 5) * refactoring: adding an IdGenerator (part 5) * IdGenerator must be a ref type; hello world works again * make bootstrapping work again * progress: add back the 'exactReplica' ideas * added back the missing exactReplica hacks * make tcompilerapi work again * make important packages green * attempt to fix the build for 32 bit machines (probably need a better solution here) | ||||
* | [minor] nimVMDebug: fix codeListing formatting for jump-to-file to work (#15711) | Timothee Cour | 2020-10-25 | 1 | -1/+1 |
| | |||||
* | fix #15662 (#15678) | cooldome | 2020-10-23 | 1 | -17/+15 |
| | | | | | | | * fix #15662 * alternative fix * fix spacing | ||||
* | const view types; fixes some cases from ↵ | Andreas Rumpf | 2020-10-05 | 1 | -1/+1 |
| | | | | https://github.com/nim-lang/Nim/issues/15428 (#15488) | ||||
* | fix warnings for deprecated `low` and `high` (#15291) | Miran | 2020-09-11 | 1 | -1/+1 |
| | |||||
* | Big compiler Cleanup (#14777) | Clyybber | 2020-08-28 | 1 | -17/+4 |
| | |||||
* | 'isolate' builtin; refs https://github.com/nim-lang/RFCs/issues/244 (#15011) | Andreas Rumpf | 2020-07-20 | 1 | -1/+1 |
| | |||||
* | remove tyOpt, mOpt (#14636) | Timothee Cour | 2020-06-12 | 1 | -2/+0 |
| | | | | | * remove tyOpt, mOpt * fixup | ||||
* | CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static ↵ | Timothee Cour | 2020-04-23 | 1 | -3/+6 |
| | | | | | | | | | | | checks (#13926) * -d:checkabi obsolete (ABI check now enforced); add `addTypeHeader` helper * cleanups * import sizeof at CT for {.completeType.} * address comments; revert default enabling of -d:checkAbi for now * mimportc_size_check.nim => msizeof5.nim; merge mabi_check.nim into msizeof5.nim; refactor * all pragmas in errmsgs should be written: '.importc' (un-ambiguous and less verbose than {.importc.}) | ||||
* | fix operators containing percent for VM usage (#13536) | Arne Döring | 2020-03-11 | 1 | -2/+2 |
| | | | | * fixes #13513 * merge tarithmetics in tarithm | ||||
* | Remove dead magics (#13551) | Arne Döring | 2020-03-03 | 1 | -32/+3 |
| | |||||
* | EndsInNoReturn in expressions extension, fixes #13490 (#13520) | cooldome | 2020-02-28 | 1 | -2/+0 |
| | | | | * fix #13490 | ||||
* | VM: support importc var, ptr/pointer types, cast int <=> ptr/pointer (#12877) | Timothee Cour | 2020-01-05 | 1 | -4/+30 |
| | | | | | | | | | | | | | | * 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 | ||||
* | Refactored VM registerlayout. The size and location of the registers in (#12775) | Ico Doornekamp | 2019-11-30 | 1 | -20/+20 |
| | | | | the instructions are now all derived from a single definition, allowing the register layout to be changed. | ||||
* | fixes #11727 [backport] | Araq | 2019-11-28 | 1 | -2/+7 |
| | |||||
* | fixes #12488 [backport] | Araq | 2019-11-28 | 1 | -1/+4 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -262/+256 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | VM: improvements for var T/addr (#12667); fixes #12489 | Andreas Rumpf | 2019-11-28 | 1 | -8/+14 |
| | |||||
* | fixes #12612 [backport] (#12681) | Andreas Rumpf | 2019-11-19 | 1 | -6/+9 |
| | |||||
* | ARC: solves phase ordering problems (#12654) | Andreas Rumpf | 2019-11-14 | 1 | -2/+1 |
| | |||||
* | fixes #12547 [backport] | Araq | 2019-10-29 | 1 | -0/+7 |
| | |||||
* | VM: fixes register leaks [backport] (#12510) | Andreas Rumpf | 2019-10-25 | 1 | -0/+2 |
| | |||||
* | VM: fixes most ran-out-registers problems [backport] (#12485) | Andreas Rumpf | 2019-10-24 | 1 | -19/+38 |
| | |||||
* | fixes #12310 [backport] (#12470) | Andreas Rumpf | 2019-10-20 | 1 | -2/+6 |
| | |||||
* | fixes #12294 [backport] | Andreas Rumpf | 2019-09-30 | 1 | -1/+0 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | fixes #10981; fixes #7261 (#12217) | Andreas Rumpf | 2019-09-19 | 1 | -1/+4 |
| | |||||
* | add nodeId proc to macros (#11456) | Arne Döring | 2019-09-18 | 1 | -0/+2 |
| | | | | | | | | * add nodeId proc to macros * add doc comment. * fix typo | ||||
* | rename cast opcodes, fix for 32bit cast, fix python pretty printer (#12207) | Arne Döring | 2019-09-18 | 1 | -5/+9 |
| | |||||
* | fixes #12195 | Araq | 2019-09-17 | 1 | -18/+17 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -9/+9 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | Merge branch 'devel' into uint-range-checks | Andreas Rumpf | 2019-09-02 | 1 | -1/+1 |
|\ | |||||
| * | fix min/max for float numbers (#12068) | Arne Döring | 2019-09-02 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'devel' into uint-range-checks | Araq | 2019-09-02 | 1 | -2/+1 |
|\| | |||||
| * | Fix to int to biggest int (#12066) | Arne Döring | 2019-08-27 | 1 | -2/+1 |
| | | | | | | | | | | * fix to(Biggest)Int * kill toFloat magics as well | ||||
* | | minor stuff | Arne Döring | 2019-08-27 | 1 | -10/+4 |
|/ | |||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -3/+3 |
| | | | | * fixes #11847 | ||||
* | fixes #9829 (#11849) | Arne Döring | 2019-08-04 | 1 | -1/+1 |
| |