Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #19569 (#19595) [backport] | Andreas Rumpf | 2022-03-09 | 1 | -8/+6 |
| | | | | | * minor code refactorings * fixes #19569 | ||||
* | fixes #19051 [backport:1.6] (#19133) | Andreas Rumpf | 2021-11-12 | 1 | -2/+17 |
| | |||||
* | cString => cSourceString; tyCString => tyCstring so that error msgs show ↵ | Timothee Cour | 2021-04-17 | 1 | -1/+1 |
| | | | | cstring, not cString (#17744) | ||||
* | Fix #12636 (#15850) | cooldome | 2020-11-05 | 1 | -2/+6 |
| | | | | | | | | | * close #11142 * fix #12636 * undo unwanted changes * fix illegal recursion case | ||||
* | fix #15752 (#15754) | cooldome | 2020-10-28 | 1 | -4/+4 |
| | |||||
* | fixes view types for sizeof() and --gc:orc (#15680) | Andreas Rumpf | 2020-10-22 | 1 | -1/+1 |
| | |||||
* | fix #15516 (#15518) | cooldome | 2020-10-08 | 1 | -4/+6 |
| | |||||
* | allow packed union (#14868) | Clyybber | 2020-07-01 | 1 | -9/+7 |
| | | | Co-authored-by: Arne Döring <arne.doering@gmx.net> | ||||
* | sizeof for empty objects/tuples should be 1; fixes #14690 (#14751) | Andreas Rumpf | 2020-06-21 | 1 | -2/+2 |
| | |||||
* | `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵ | Timothee Cour | 2020-05-11 | 1 | -1/+1 |
| | | | | | | | | | | `--doccmd:skip` + other improvements (#14278) * `nim doc --backend:js|cpp...` `nim doc --doccmd:'-d:foo --threads:on'` `nim r --backend:cpp...` (implies --run --usenimcache) * --usenimcache works with all targets * --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst | ||||
* | CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static ↵ | Timothee Cour | 2020-04-23 | 1 | -1/+2 |
| | | | | | | | | | | | 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.}) | ||||
* | catchable defects (#13626) | Andreas Rumpf | 2020-03-12 | 1 | -1/+1 |
| | | | | | | | | | | * allow defects to be caught even for --exceptions:goto (WIP) * implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180 * new implementation for integer overflow checking * produce a warning if a user-defined exception type inherits from Exception directly * applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic' * fixes #13627 * don't inherit from Exception directly | ||||
* | make case-object transitions explicit, make unknownLineInfo a const, replace ↵ | Jasper Jenkins | 2020-01-17 | 1 | -2/+2 |
| | | | | a few magic numbers with consts (#13170) | ||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -28/+28 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | implemented alignas pragma (#12643) | Arne Döring | 2019-11-13 | 1 | -0/+4 |
| | | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof. | ||||
* | refactoring: use the new strings and seqs when optSeqDestructors is active | Araq | 2019-10-20 | 1 | -2/+2 |
| | |||||
* | fixes #12264 [backport] (#12302) | Andreas Rumpf | 2019-09-30 | 1 | -5/+6 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Small ast.nim cleanup (#12156) | Clyybber | 2019-09-09 | 1 | -4/+4 |
| | | | | | * Remove sonsLen * Use Indexable | ||||
* | refactor sizealignoffset (#12077) | Andreas Rumpf | 2019-08-28 | 1 | -201/+142 |
| | | | | | | | | | | | | | | * small refactoring * refactor computeObjectOffsetFoldFunction with AccumObject * refactor packed object offstes fold function * refactor compute union object offsets fold function * merge normal/packed object offset fold function * compiletime offsetof in c++ inheritance objects * enable c++ inheritance offsetof tests * correct alignment for big sets/enums on weird 32bit platforms * uncomputedSize -> unknownSize * workaround for travis * fixes win32 alignment problems | ||||
* | int128 on firstOrd, lastOrd and lengthOrd (#11701) | Arne Döring | 2019-08-07 | 1 | -4/+4 |
| | | | | * fixes #11847 | ||||
* | fixes #11792 (#11793) | cooldome | 2019-07-21 | 1 | -1/+1 |
| | |||||
* | there is only one style -- my style | Araq | 2019-07-10 | 1 | -4/+4 |
| | |||||
* | Offsetof fixes (#11690) | Arne Döring | 2019-07-09 | 1 | -18/+123 |
| | | | | | | | | * first fixes * more tests and fixes * code normalization | ||||
* | [backport] fix #11320 (#11538) | Arne Döring | 2019-07-03 | 1 | -1/+1 |
| | | | | | * [backport] fix #11320 * fix test for 32 bit test | ||||
* | Replace countup(x, y-1) with x ..< y | Clyybber | 2019-05-07 | 1 | -1/+1 |
| | |||||
* | newruntime: progress | Araq | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | Size ptr tuple (#10846) | Arne Döring | 2019-03-18 | 1 | -8/+0 |
| | | | | | | * fixes #10117 * Add support for recursive tuples * detect in generics | ||||
* | sizealign of union type (#10780) | Arne Döring | 2019-03-04 | 1 | -2/+52 |
| | | | | | | * sizealign of union type * add error message for packed union | ||||
* | Fix for sizeof bitsize combination (#10227) | Arne Döring | 2019-01-07 | 1 | -3/+8 |
| | | | | | | | | * fix #10082 * added test | ||||
* | fixes #10082 | Andreas Rumpf | 2018-12-30 | 1 | -25/+11 |
| | |||||
* | fixes #9868 | Araq | 2018-12-05 | 1 | -1/+2 |
| | |||||
* | gc:destructors: more progress | Andreas Rumpf | 2018-11-29 | 1 | -2/+2 |
| | |||||
* | fixes #9794: sizeof tuple is incorrect if contains imported object (#9795) | cooldome | 2018-11-26 | 1 | -3/+3 |
| | | | | | | * fixes #9794 * Fix linux test | ||||
* | Fixes multiple bugs with sink arguments (#9802) | cooldome | 2018-11-26 | 1 | -4/+4 |
| | | | | | | * fixes #9781 * fix spacing | ||||
* | bitsize respected in size calculation. (#9756) | Arne Döring | 2018-11-19 | 1 | -3/+8 |
| | |||||
* | make tsizeof run on C++ backend (#9734) | Arne Döring | 2018-11-18 | 1 | -10/+18 |
| | |||||
* | Merge pull request #9511 from krux02/krux02-devel | Arne Döring | 2018-10-31 | 1 | -0/+9 |
|\ | | | | | Krux02 devel | ||||
| * | set code owner | Arne Döring | 2018-10-30 | 1 | -0/+9 |
| | | |||||
* | | Sizeof alignof fixes (#9568) | Arne Döring | 2018-10-30 | 1 | -1/+1 |
|/ | | | | | fixes #9545 | ||||
* | 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 | 1 | -0/+447 |