| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Turn on the TLS emulation when using Boehm, since it doesn't scan the
real TLS.
|
| |
|
|
|
|
|
| |
* fix #14369
* empty commit
|
|
|
|
|
|
|
| |
compiler (#14334)
* fix #12293 findNimStdLibCompileTime should not break with nimble install compiler
* address comment to unblock PR
|
|
|
|
|
| |
* fix some issues with --backend
* fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New ping-pong analysis
* Add testcase for #13456
* Remove debugging leftover
* Unquote "unstructured controlflow"
* Fix typo
* Fix exponential complexity in edge cases
* Add sanity testcase
* Fix
|
|
|
|
|
|
|
|
|
|
| |
* Improve nimeval, changes some defaults
This improves nimeval to make it easier to use NimScript as an embedded
scripting languages. It does change some of the defaults, so in case
anything used the old version and depended on the old behaviour these
would have to be changed.
* Remove dependency on nimhcr for nimscript
|
|
|
|
| |
* fix #14350, cstrings in JS init as null
|
| |
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow let to not have value when using importc
This allows a let statement with the `{.importc.}` pragma to not be
initialised with a value. This allows us to declare C constants as Nim
lets without putting the value in the Nim code (which can lead to
errors, and requires us to go looking for the value). Fixes #14253
* Proper fix and documentation + changelog entry
* Improve testcase with one from timotheecour
* Add test to verify it working with macros
|
|
|
| |
Co-authored-by: b3liever <b3liever@yandex.com>
|
| |
|
|
|
|
|
|
| |
* fixes #13881
* documented changed requirements for system.onThreadDestruction
* destructors.rst: update the documentation
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* properly fix https://github.com/nim-lang/Nim/issues/12389
* use --lib:lib in koch.nim.cfg instead
* third time is the charm
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
|
|
|
|
|
| |
Continues https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322
Ref:
- https://github.com/nim-lang/Nim/commit/9502e39b634eea8e04f07ddc110b466387f42322#commitcomment-39087584
- https://github.com/nim-lang/Nim/pull/14278
Fixes https://github.com/nim-lang/Nim/issues/13129 .
|
|
|
| |
Co-authored-by: Antonis <b3liever@yandex.com>
|
|
|
|
|
|
|
| |
* fix #14294
* fix orc as well
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
|
|
|
|
|
| |
* do not track 'raise Defect' in the .raises: [] clause anymore
* --panics:on maps 'raise Defect' to an unrecoverable fatal error
* make tests green again
* update the documentation too
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
`--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
|
|
|
|
| |
(#14285)
|
| |
|
|
|
|
| |
`--hint:processing:on`, like all other bool flags (#14271)
|
|\
| |
| |
| | |
config/config.nims should get installed (#14267)
|
| |
| |
| |
| | |
config/config.nims should get installed
|
| |
| |
| |
| | |
works even if implicitly set (#14277)
|
|/ |
|
|
|
|
|
| |
* fix #14243
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
|
| |
* Fix the DFA for "unstructured controlflow"
* Add testcase from #14233
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
| |
it works like GCC
|
|
|
|
| |
supported
|
|
|
|
|
| |
function (#14230)
* fix https://github.com/timotheecour/Nim/issues/135 ; unify all file,line,col formatting into a single function
|
|
|
|
| |
* fixes #14209 [backport:1.2]
* improve stability
|
|
|
| |
Co-authored-by: cooldome <ariabushenko@bk.ru>
|
|
|
|
|
|
|
|
|
| |
`^[[0m` to stderr when callStyledWriteLineStderr not called (#14214)
* fix https://github.com/timotheecour/Nim/issues/152 `^[[0m` is inserted in stderr for `echo code | nim c -`
* resetAttributes not even needed, already handled in styledWriteLine
* simplify tests in tests/trunner.nim thanks to this fix
|
| |
|
|
|
|
|
| |
* destructors: don't produce stupid code for 'cast'
* fixes #14207
|
| |
|