summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* docfix: fix wrong link in doc/manual.rst (#14367)Bung2020-05-161-1/+1
|
* Remove the uses of {.procvar.} pragma (#14359)Kaushal Modi2020-05-1513-68/+67
| | | | | | | This pragma did nothing. Ref: - https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469 - https://github.com/nim-lang/Nim/issues/12975
* fix #9771 (#14357)Bung2020-05-152-17/+19
| | | | | | | * fix #9771 * map SQLLEN SQLULEN * fix proc params take TSqlLen Co-authored-by: bung87 <crc32@qq.com>
* New "ping-pong" DFA (#14322)Clyybber2020-05-153-73/+163
| | | | | | | | | | | | | | | | | * 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 (#14351)PMunch2020-05-152-4/+8
| | | | | | | | | | * 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
* Speed up testing of some packages (#14358)Danil Yarantsev2020-05-151-6/+6
|
* fix #14350, cstrings in JS init as null (#14355)hlaaftana2020-05-154-6/+11
| | | | * fix #14350, cstrings in JS init as null
* fixes #14340Araq2020-05-141-4/+4
|
* Fail quickly if re or nre module is attempted to be compiled with js ↵Kaushal Modi2020-05-142-1/+6
| | | | | [backport] (#14341) Fixes https://github.com/nim-lang/Nim/issues/14338 .
* fix #14333 (#14336)cooldome2020-05-132-5/+19
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* fixes #13998 [backport:1.2]Andreas Rumpf2020-05-131-1/+1
|
* fixes #13862Araq2020-05-131-1/+1
|
* fixes #13104 [backport]Andreas Rumpf2020-05-131-0/+3
|
* fixes #13935Andreas Rumpf2020-05-131-0/+3
|
* no more guessing where compiler msgs came from (#14317)Timothee Cour2020-05-133-19/+40
|
* fixes #14331Araq2020-05-131-0/+28
|
* `osproc.execCmdEx` now takes an optional `input` for stdin, `env`, ↵Timothee Cour2020-05-134-14/+51
| | | | | | | workingDir (#14211) * `osproc.execCmdEx` now takes an optional `input` for stdin * execCmdEx now also takes an optional ``workingDir` and `env`
* fix #14320 (tasyncawait.nim is recently very flaky) + avoid hardcoding ↵Timothee Cour2020-05-1310-92/+102
| | | | | | | service ports everywhere + flakyAssert (#14327) * hotfix #14320 tasyncawait.nim is recently very flaky * fix #14327 * add flakyAssert
* Allow let to not have value when using importc (#14258)PMunch2020-05-125-5/+52
| | | | | | | | | | | | | | * 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
* cycle collector: make it threadsafeAraq2020-05-121-5/+5
|
* fix detecting closure env for nested asts (#14326)b3liever2020-05-121-3/+3
| | | Co-authored-by: b3liever <b3liever@yandex.com>
* close #13071 by adding test: nim cpp -r --gc:arc` segfaults on caught ↵Timothee Cour2020-05-121-0/+16
| | | | AssertionError (#14323)
* fix #14314 do not analyze importc procs for effects (#14319)Timothee Cour2020-05-124-7/+44
|
* fixes #13881Andreas Rumpf2020-05-129-23/+84
| | | | | | * fixes #13881 * documented changed requirements for system.onThreadDestruction * destructors.rst: update the documentation
* fix one motr dicriminator bugcooldome2020-05-121-2/+7
|
* fix testcooldome2020-05-121-3/+5
|
* fix #14312cooldome2020-05-122-8/+22
|
* Added a reference to ternary operators. (#14309)Avahe Kellenberger2020-05-121-0/+1
| | | | | `if expressions` are similar to ternary operators in other languages. In order to make this easier to find in the manual, I've added a sentence about it.
* properly fixes #13758 so that `import std/macros` stays legal (#14291)Timothee Cour2020-05-124-7/+18
| | | | | * properly fix https://github.com/nim-lang/Nim/issues/12389 * use --lib:lib in koch.nim.cfg instead * third time is the charm
* fix #14219 (#14225)cooldome2020-05-113-1/+17
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* Make --backend:cpp|js work for :test: code-blocks as well (#14306)Kaushal Modi2020-05-112-2/+3
| | | | | | | | | 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 .
* Fix #14289 (#14304) [backport]slangmgh2020-05-111-1/+2
|
* fixes #13946 (#14302)Andreas Rumpf2020-05-112-11/+5
|
* small refactoring (#14303)b3liever2020-05-111-3/+4
| | | Co-authored-by: Antonis <b3liever@yandex.com>
* fix #14294 (#14301)cooldome2020-05-112-2/+31
| | | | | | | * fix #14294 * fix orc as well Co-authored-by: cooldome <ariabushenko@bk.ru>
* do not track 'raise Defect' in the .raises: [] clause anymore (#14298)Andreas Rumpf2020-05-116-8/+74
| | | | | | | | | * 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
* better error messageAntonis2020-05-111-1/+1
|
* fix closure env checkAntonis2020-05-111-1/+2
|
* Fix for --styleCheck:errorAntonis2020-05-111-4/+4
|
* refactor: renamed readme to readme.md (#14283)Jovial Joe Jayarson2020-05-112-5/+7
|
* `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵Timothee Cour2020-05-1122-99/+213
| | | | | | | | | | `--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
* fix a critical bug in windows.osproc leading to resource leaks and blocking ↵Timothee Cour2020-05-114-1/+36
| | | | IO [backport] (#14296)
* simple typo in locks.nim (#14297)Andy Davidoff2020-05-111-1/+1
|
* diable nimx (CI failure) refs https://github.com/timotheecour/Nim/issues/167 ↵Timothee Cour2020-05-101-1/+1
| | | | (#14293)
* `nim doc -r main` and `nim rst2html -r main` now call openDefaultBrowser ↵Timothee Cour2020-05-102-4/+16
| | | | (#14285)
* Fix #14269 (#14286)Clyybber2020-05-092-2/+105
|
* --hint:processing (+friends) is now supported and means ↵Timothee Cour2020-05-085-6/+30
| | | | `--hint:processing:on`, like all other bool flags (#14271)
* Merge pull request #14265 from alaviss/quickfixAndreas Rumpf2020-05-081-1/+1
|\ | | | | nativesockets: add missing inheritable pass-through
| * nativesockets: add missing inheritable pass-throughLeorize2020-05-071-1/+1
| |
* | fix root cause of https://github.com/dom96/choosenim/issues/193; ↵Andreas Rumpf2020-05-081-3/+2
|\ \ | | | | | | | | | config/config.nims should get installed (#14267)