Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | newruntime: only check for dangling refs when 'owned ref T' support is enabled | Andreas Rumpf | 2019-11-03 | 1 | -7/+8 |
| | |||||
* | JS improve indent (#12581) | Juan Carlos | 2019-11-03 | 2 | -2/+2 |
| | | | | * JSgen make indent be all spaces, instead of mixed spaces and tabs, for generated JS | ||||
* | fixes #12577 [backport] (#12584) | Andreas Rumpf | 2019-11-03 | 1 | -8/+4 |
| | |||||
* | Fixes #12536 (#12568) [backport] | Tomohiro | 2019-11-02 | 5 | -14/+38 |
| | |||||
* | --gc:destructors: simple closures work | Andreas Rumpf | 2019-11-02 | 4 | -13/+20 |
| | |||||
* | make renderIds work again | Andreas Rumpf | 2019-11-01 | 1 | -2/+3 |
| | |||||
* | improve codegen quality for --gc:destructors | Andreas Rumpf | 2019-11-01 | 1 | -4/+7 |
| | |||||
* | [backport] Add docs to better distinguish among getProjectPath, ↵ | Kaushal Modi | 2019-10-31 | 3 | -5/+42 |
| | | | | | getCurrentDir and currentSourcePath (#12565) Fixes https://github.com/nim-lang/Nim/issues/10477. | ||||
* | introduce csize_t instead of fixing csize (#12497) | Arne Döring | 2019-10-31 | 18 | -97/+101 |
| | |||||
* | Switch mingw links (#12561) | genotrance | 2019-10-31 | 5 | -6/+6 |
| | |||||
* | better testing for nimcrypto; re-enable chronos testing (#12560) | Andreas Rumpf | 2019-10-31 | 1 | -2/+2 |
| | |||||
* | --gc:destructors now means Nim uses pure refcounting (#12557) | Andreas Rumpf | 2019-10-30 | 12 | -35/+123 |
| | |||||
* | Improve Math.Trunc code emit on JS, had weird whitespaces and indents (#12549) | Juan Carlos | 2019-10-30 | 1 | -10/+10 |
| | |||||
* | fix several typos in documentation and comments (#12553) | Nindaleth | 2019-10-30 | 29 | -37/+37 |
| | |||||
* | fixes #12547 [backport] | Araq | 2019-10-29 | 1 | -0/+7 |
| | |||||
* | Fix newLit for objects having string fields (#12542) [backport] | zah | 2019-10-28 | 1 | -5/+5 |
| | |||||
* | destructors.rst: added a missing 'var' to the motivating example | Araq | 2019-10-28 | 1 | -1/+1 |
| | |||||
* | [backport] fix #12528, fix #12525: incorrect generic type resolution for ↵ | Andreas Rumpf | 2019-10-28 | 3 | -7/+32 |
| | | | | | | default values (#12538) | ||||
* | proof that refcounting can handle Nim's async (#12533) | Andreas Rumpf | 2019-10-28 | 3 | -19/+99 |
| | |||||
* | Fix code style errors (#12545) | Solitude | 2019-10-28 | 1 | -2/+2 |
| | |||||
* | [backport] fix broken link to non-existing c2nim manual html, fixes #12537 ↵ | Anthon van der Neut | 2019-10-28 | 1 | -1/+1 |
| | | | | [ci skip] (#12544) | ||||
* | Add a changelog entry related to PR #11748 [ci skip] (#12541) | Tomohiro | 2019-10-28 | 1 | -0/+1 |
| | |||||
* | colors: fix 'mix' template and make most examples runnable (#12532) [backport] | Jjp137 | 2019-10-28 | 1 | -61/+61 |
| | | | | | * colors: fix the 'mix' template * colors: make most examples runnable | ||||
* | splitPath() behavior synchronized with splitFile() (#12481) | Artem V L | 2019-10-28 | 2 | -3/+17 |
| | | | | | | | | * splitPath() behavior synchronized with splitFile() having the expected behavior in all languages splitPath() docstrings update, tests added for both splitPath() and splitFile() * Path splitting refined and described | ||||
* | [feature]strformat: add 2 'fmt' macros that use specified characters instead ↵ | Tomohiro | 2019-10-28 | 2 | -14/+57 |
| | | | | | | | | | | of '{}' (#11748) * [feature]strformat: add 2 'fmt' macros that use specified chars instead of '{}' * strformat: revert documentation comments of `&` and 'fmt' * strformat: removed single open/close char variant of fmt | ||||
* | Extent json.to testing to VM, add workrounds for VM bugs. (#12493) | Arne Döring | 2019-10-28 | 3 | -168/+257 |
| | | | fixes #12479 | ||||
* | fix deprecation warnings related to Int128 (#12474) | Miran | 2019-10-28 | 3 | -50/+51 |
| | | | | | | | | * semfold: fix deprecation warnings related to Int128 * semmagic: fix deprecation warnings related to Int128 * system/io: remove unneeded conversion of TaintedString to itself | ||||
* | integer literal documentation [ci skip] (#12513) | Arne Döring | 2019-10-28 | 1 | -0/+88 |
| | | | | | | * integer literal documentation [ci skip] * apply feedback [ci skip] | ||||
* | some progress on bug #12443 | Andreas Rumpf | 2019-10-27 | 5 | -26/+45 |
| | |||||
* | fixes #12502 | Andreas Rumpf | 2019-10-27 | 1 | -2/+2 |
| | |||||
* | development version should be 1.1.0 so that version checking can work properly | Andreas Rumpf | 2019-10-27 | 1 | -2/+2 |
| | |||||
* | minor improvements | Andreas Rumpf | 2019-10-27 | 2 | -8/+9 |
| | |||||
* | Add /nologo option when nim call cl.exe (#12524) | Tomohiro | 2019-10-27 | 1 | -2/+3 |
| | |||||
* | fixes #12514 (#12520) [backport] | Arne Döring | 2019-10-27 | 1 | -2/+18 |
| | |||||
* | Remove sentences referring to the graphics module (#12522) | Jjp137 | 2019-10-26 | 2 | -4/+2 |
| | |||||
* | '#' value parcing is explained (disambiguated) (#12476) | Artem V L | 2019-10-25 | 1 | -1/+2 |
| | |||||
* | sequtils: replace deprecated 'random' call within example (#12515) [backport] | Jjp137 | 2019-10-25 | 1 | -1/+1 |
| | |||||
* | compiler/semtypes: improve lineinfo for exported object fields (#12495) | alaviss | 2019-10-25 | 2 | -2/+17 |
| | | | | | | | The line info should now points to the `a`, not the `*`, like this: a*: string ^ Additionally this fixes nimsuggest's highlighting of exported object fields. | ||||
* | VM: fixes register leaks [backport] (#12510) | Andreas Rumpf | 2019-10-25 | 1 | -0/+2 |
| | |||||
* | Fix Nim specify wrong option to vccexe when vcc.options.always is set ↵ | Tomohiro | 2019-10-24 | 1 | -1/+1 |
| | | | | (#12490) [backport] | ||||
* | fixes #12491 [backport] | Andreas Rumpf | 2019-10-24 | 1 | -1/+5 |
| | |||||
* | compiler/semcall: return the correct lineinfo for nkCallStrLit (#12484) | alaviss | 2019-10-24 | 2 | -1/+13 |
| | |||||
* | VM: fixes most ran-out-registers problems [backport] (#12485) | Andreas Rumpf | 2019-10-24 | 1 | -19/+38 |
| | |||||
* | [backport] Add link to posix_utils.html - related to #10723 (#12509) | Federico Ceratto | 2019-10-24 | 1 | -1/+2 |
| | |||||
* | [backport] Clarifies experimental / parallel example on manual.rst (#12472) | UNIcodeX | 2019-10-24 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clarifies experimental / parallel on manual.rst Details: Calling `useParallel()` in example fails with compiler error Error: 'parallel' section without 'spawn' Adding `spawn` causes error: Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c <file> Therefore a separate proc, `threadedEcho`, is added for the echo'ing of the string, which allows the example to build, however, `sync()` must be added so that the "echo in parallel" strings will actually be shown on the terminal. Otherwise, the program will spawn of the threads and exit before they can return to the main thread. * Fixes and clarifies example for threading in manual.rst Issue: Calling useParallel() in example failed with compiler error `Error: 'parallel' section without 'spawn'` Adding spawn yielded compiler error: ```bash Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c ``` Proposed Solution: - Separate proc, threadedEcho, is added for the echo'ing of the string, which allows the example to build - Added the thread number so that it can demonstrate that sometimes threads which were started sooner, come back after threads which were started later. | ||||
* | Fix many broken links and prefer relative links within docs (#12463) | Miran | 2019-10-24 | 39 | -216/+239 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix many broken links Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. * Prefer relative links for Nim documentation This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead. * koch.rst: remove link to nonexistent section * manual.rst: remove unintended link cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output. * asyncstreams: replace unintended link with emphasis * Fix word wrapping | ||||
| * | Fix word wrapping | Jjp137 | 2019-10-22 | 18 | -125/+146 |
| | | |||||
| * | asyncstreams: replace unintended link with emphasis | Jjp137 | 2019-10-22 | 1 | -1/+1 |
| | | |||||
| * | manual.rst: remove unintended link | Jjp137 | 2019-10-22 | 1 | -1/+1 |
| | | | | | | | | | | cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output. | ||||
| * | koch.rst: remove link to nonexistent section | Jjp137 | 2019-10-22 | 1 | -1/+1 |
| | |