| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
cstring, not cString (#17744)
|
|
|
|
|
|
|
|
|
| |
* close #11142
* fix #12636
* undo unwanted changes
* fix illegal recursion case
|
| |
|
| |
|
| |
|
|
|
| |
Co-authored-by: Arne Döring <arne.doering@gmx.net>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
`--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
|
|
|
|
|
|
|
|
|
|
|
| |
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.})
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
a few magic numbers with consts (#13170)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* fix bootstrap
* generate c++ compatible syntax for alignas
* Make it work.
* Multiple alignof expressions. Implement top level alignof.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Remove sonsLen
* Use Indexable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* fixes #11847
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* first fixes
* more tests and fixes
* code normalization
|
|
|
|
|
| |
* [backport] fix #11320
* fix test for 32 bit test
|
| |
|
| |
|
|
|
|
|
|
| |
* fixes #10117
* Add support for recursive tuples
* detect in generics
|
|
|
|
|
|
| |
* sizealign of union type
* add error message for packed union
|
|
|
|
|
|
|
|
| |
* fix #10082
* added test
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* fixes #9794
* Fix linux test
|
|
|
|
|
|
| |
* fixes #9781
* fix spacing
|
| |
|
| |
|
|\
| |
| | |
Krux02 devel
|
| | |
|
|/
|
|
|
| |
fixes #9545
|
|
|
|
| |
sizealignoffsetimpl.nim to make it bearable
|
|
|