| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* Handle nimsuggest in tryExpr
* Added test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When --compileOnly is on, extraCmds are not added to JsonBuildInstructions.
```
$ echo 'echo 123'>test.nim
$ nim c --debuginfo --nimcache:cache test
$ ls
cache test test.dSYM test.nim
$ tail -n3 cache/test.json
"extraCmds": ["dsymutil /Users/khronos31/src/tmp/test"],
"stdinInput": false
}
```
```
$ echo 'echo 123'>test.nim
$ nim c --debuginfo --nimcache:cache --compileOnly test
$ nim jsonscript --nimcache:cache test
$ ls
cache test test.nim
$ tail -n3 cache/test.json
"extraCmds": [],
"stdinInput": false
}
```
|
| |
|
|
|
|
| |
[backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 (#14510)
|
| |
|
| |
|
|
|
|
|
| |
* fix #14421 items uses lent T for seq + openArray
* add -d:nimWorkaround14447
* fix test
|
| |
|
|
|
|
| |
* sigmatch: removed dead code
|
|
|
|
|
|
| |
(#13261)
* disallow typedesc in arrays and move previous checks to types.typeAllowedAux
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and all formatting; other bug fix (#14439)
* fix #8871 runnableExamples now preserves source code comments, litterals, and all formatting
* remove orig deadcode from getAllRunnableExamplesImpl
* fix expected examples
* add test to close https://github.com/nim-lang/Nim/issues/14473
* correctly handle regular comments before 1st token inside runnableExamples
* add test to answer https://github.com/nim-lang/Nim/pull/14439#discussion_r431829199
* update tests
|
| |
|
| |
|
|
|
|
| |
* Add thiscall calling convention, mostly for hooking purpose
* add changelog and documentation
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
runnableExamples and be docgen'd correctly (#14441)
* fix #9227 proc doc comments after 1st runnableExamples are not ignored anymore
|
|
|
|
|
|
|
|
|
| |
fixes with nim doc (#14324)
* refs #6583 fix nim doc output
* changelog
* change default for outDir when unspecified
* cleanups
* --project implies --index
|
| |
|
|
|
|
|
|
|
| |
(#14415)
* no more code duplication bw rawMessage and liMessage; fixes some bugs in rawMessage
* all compiler messages work with hint:msgorigin
|
| |
|
|
|
|
|
|
|
| |
* change the [Processing] messages into dots
* better implementation
* maybe I should work on something else...
|
|
|
|
| |
https://github.com/nim-lang/Nim/commit/e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6#r39287564 (#14412)
|
| |
|
|
|
|
| |
* runnableExamples "-b:cpp -r:off": code
|
|
|
|
|
| |
* fixes #14126 [backport:1.2]
* used more logic to optimize it further; updated Nimble version
|
|
|
|
|
|
|
| |
* progress
* make tests green
* maybe we also want to reset pointers, dunno
* progress
* cleanup; fixes #13879 [backport:1.2]
|
|
|
|
|
|
|
|
|
|
| |
cleanups (#14377)
* use check
* trunner now works with cpp
* cleanup: move compiler/unittest_light => stdtest/unittest_light
* fix tests/readme.md
* remove deadcode references to rodfiles
* fix for windows
|
|
|
|
| |
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
|
| |
|
| |
|