Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docfix: fix wrong link in doc/manual.rst (#14367) | Bung | 2020-05-16 | 1 | -1/+1 |
| | |||||
* | Remove the uses of {.procvar.} pragma (#14359) | Kaushal Modi | 2020-05-15 | 13 | -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) | Bung | 2020-05-15 | 2 | -17/+19 |
| | | | | | | | * fix #9771 * map SQLLEN SQLULEN * fix proc params take TSqlLen Co-authored-by: bung87 <crc32@qq.com> | ||||
* | New "ping-pong" DFA (#14322) | Clyybber | 2020-05-15 | 3 | -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) | PMunch | 2020-05-15 | 2 | -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 Yarantsev | 2020-05-15 | 1 | -6/+6 |
| | |||||
* | fix #14350, cstrings in JS init as null (#14355) | hlaaftana | 2020-05-15 | 4 | -6/+11 |
| | | | | * fix #14350, cstrings in JS init as null | ||||
* | fixes #14340 | Araq | 2020-05-14 | 1 | -4/+4 |
| | |||||
* | Fail quickly if re or nre module is attempted to be compiled with js ↵ | Kaushal Modi | 2020-05-14 | 2 | -1/+6 |
| | | | | | [backport] (#14341) Fixes https://github.com/nim-lang/Nim/issues/14338 . | ||||
* | fix #14333 (#14336) | cooldome | 2020-05-13 | 2 | -5/+19 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | fixes #13998 [backport:1.2] | Andreas Rumpf | 2020-05-13 | 1 | -1/+1 |
| | |||||
* | fixes #13862 | Araq | 2020-05-13 | 1 | -1/+1 |
| | |||||
* | fixes #13104 [backport] | Andreas Rumpf | 2020-05-13 | 1 | -0/+3 |
| | |||||
* | fixes #13935 | Andreas Rumpf | 2020-05-13 | 1 | -0/+3 |
| | |||||
* | no more guessing where compiler msgs came from (#14317) | Timothee Cour | 2020-05-13 | 3 | -19/+40 |
| | |||||
* | fixes #14331 | Araq | 2020-05-13 | 1 | -0/+28 |
| | |||||
* | `osproc.execCmdEx` now takes an optional `input` for stdin, `env`, ↵ | Timothee Cour | 2020-05-13 | 4 | -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 Cour | 2020-05-13 | 10 | -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) | PMunch | 2020-05-12 | 5 | -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 threadsafe | Araq | 2020-05-12 | 1 | -5/+5 |
| | |||||
* | fix detecting closure env for nested asts (#14326) | b3liever | 2020-05-12 | 1 | -3/+3 |
| | | | Co-authored-by: b3liever <b3liever@yandex.com> | ||||
* | close #13071 by adding test: nim cpp -r --gc:arc` segfaults on caught ↵ | Timothee Cour | 2020-05-12 | 1 | -0/+16 |
| | | | | AssertionError (#14323) | ||||
* | fix #14314 do not analyze importc procs for effects (#14319) | Timothee Cour | 2020-05-12 | 4 | -7/+44 |
| | |||||
* | fixes #13881 | Andreas Rumpf | 2020-05-12 | 9 | -23/+84 |
| | | | | | | * fixes #13881 * documented changed requirements for system.onThreadDestruction * destructors.rst: update the documentation | ||||
* | fix one motr dicriminator bug | cooldome | 2020-05-12 | 1 | -2/+7 |
| | |||||
* | fix test | cooldome | 2020-05-12 | 1 | -3/+5 |
| | |||||
* | fix #14312 | cooldome | 2020-05-12 | 2 | -8/+22 |
| | |||||
* | Added a reference to ternary operators. (#14309) | Avahe Kellenberger | 2020-05-12 | 1 | -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 Cour | 2020-05-12 | 4 | -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) | cooldome | 2020-05-11 | 3 | -1/+17 |
| | | | Co-authored-by: cooldome <ariabushenko@bk.ru> | ||||
* | Make --backend:cpp|js work for :test: code-blocks as well (#14306) | Kaushal Modi | 2020-05-11 | 2 | -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] | slangmgh | 2020-05-11 | 1 | -1/+2 |
| | |||||
* | fixes #13946 (#14302) | Andreas Rumpf | 2020-05-11 | 2 | -11/+5 |
| | |||||
* | small refactoring (#14303) | b3liever | 2020-05-11 | 1 | -3/+4 |
| | | | Co-authored-by: Antonis <b3liever@yandex.com> | ||||
* | fix #14294 (#14301) | cooldome | 2020-05-11 | 2 | -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 Rumpf | 2020-05-11 | 6 | -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 message | Antonis | 2020-05-11 | 1 | -1/+1 |
| | |||||
* | fix closure env check | Antonis | 2020-05-11 | 1 | -1/+2 |
| | |||||
* | Fix for --styleCheck:error | Antonis | 2020-05-11 | 1 | -4/+4 |
| | |||||
* | refactor: renamed readme to readme.md (#14283) | Jovial Joe Jayarson | 2020-05-11 | 2 | -5/+7 |
| | |||||
* | `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵ | Timothee Cour | 2020-05-11 | 22 | -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 Cour | 2020-05-11 | 4 | -1/+36 |
| | | | | IO [backport] (#14296) | ||||
* | simple typo in locks.nim (#14297) | Andy Davidoff | 2020-05-11 | 1 | -1/+1 |
| | |||||
* | diable nimx (CI failure) refs https://github.com/timotheecour/Nim/issues/167 ↵ | Timothee Cour | 2020-05-10 | 1 | -1/+1 |
| | | | | (#14293) | ||||
* | `nim doc -r main` and `nim rst2html -r main` now call openDefaultBrowser ↵ | Timothee Cour | 2020-05-10 | 2 | -4/+16 |
| | | | | (#14285) | ||||
* | Fix #14269 (#14286) | Clyybber | 2020-05-09 | 2 | -2/+105 |
| | |||||
* | --hint:processing (+friends) is now supported and means ↵ | Timothee Cour | 2020-05-08 | 5 | -6/+30 |
| | | | | `--hint:processing:on`, like all other bool flags (#14271) | ||||
* | Merge pull request #14265 from alaviss/quickfix | Andreas Rumpf | 2020-05-08 | 1 | -1/+1 |
|\ | | | | | nativesockets: add missing inheritable pass-through | ||||
| * | nativesockets: add missing inheritable pass-through | Leorize | 2020-05-07 | 1 | -1/+1 |
| | | |||||
* | | fix root cause of https://github.com/dom96/choosenim/issues/193; ↵ | Andreas Rumpf | 2020-05-08 | 1 | -3/+2 |
|\ \ | | | | | | | | | | config/config.nims should get installed (#14267) |