summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* [backport] Add docs to better distinguish among getProjectPath, ↵Kaushal Modi2019-10-313-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öring2019-10-3118-97/+101
|
* Switch mingw links (#12561)genotrance2019-10-315-6/+6
|
* better testing for nimcrypto; re-enable chronos testing (#12560)Andreas Rumpf2019-10-311-2/+2
|
* --gc:destructors now means Nim uses pure refcounting (#12557)Andreas Rumpf2019-10-3012-35/+123
|
* Improve Math.Trunc code emit on JS, had weird whitespaces and indents (#12549)Juan Carlos2019-10-301-10/+10
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-3029-37/+37
|
* fixes #12547 [backport]Araq2019-10-291-0/+7
|
* Fix newLit for objects having string fields (#12542) [backport]zah2019-10-281-5/+5
|
* destructors.rst: added a missing 'var' to the motivating exampleAraq2019-10-281-1/+1
|
* [backport] fix #12528, fix #12525: incorrect generic type resolution for ↵Andreas Rumpf2019-10-283-7/+32
| | | | | | default values (#12538)
* proof that refcounting can handle Nim's async (#12533)Andreas Rumpf2019-10-283-19/+99
|
* Fix code style errors (#12545)Solitude2019-10-281-2/+2
|
* [backport] fix broken link to non-existing c2nim manual html, fixes #12537 ↵Anthon van der Neut2019-10-281-1/+1
| | | | [ci skip] (#12544)
* Add a changelog entry related to PR #11748 [ci skip] (#12541)Tomohiro2019-10-281-0/+1
|
* colors: fix 'mix' template and make most examples runnable (#12532) [backport]Jjp1372019-10-281-61/+61
| | | | | * colors: fix the 'mix' template * colors: make most examples runnable
* splitPath() behavior synchronized with splitFile() (#12481)Artem V L2019-10-282-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 ↵Tomohiro2019-10-282-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öring2019-10-283-168/+257
| | | fixes #12479
* fix deprecation warnings related to Int128 (#12474)Miran2019-10-283-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öring2019-10-281-0/+88
| | | | | | * integer literal documentation [ci skip] * apply feedback [ci skip]
* some progress on bug #12443Andreas Rumpf2019-10-275-26/+45
|
* fixes #12502Andreas Rumpf2019-10-271-2/+2
|
* development version should be 1.1.0 so that version checking can work properlyAndreas Rumpf2019-10-271-2/+2
|
* minor improvementsAndreas Rumpf2019-10-272-8/+9
|
* Add /nologo option when nim call cl.exe (#12524)Tomohiro2019-10-271-2/+3
|
* fixes #12514 (#12520) [backport]Arne Döring2019-10-271-2/+18
|
* Remove sentences referring to the graphics module (#12522)Jjp1372019-10-262-4/+2
|
* '#' value parcing is explained (disambiguated) (#12476)Artem V L2019-10-251-1/+2
|
* sequtils: replace deprecated 'random' call within example (#12515) [backport]Jjp1372019-10-251-1/+1
|
* compiler/semtypes: improve lineinfo for exported object fields (#12495)alaviss2019-10-252-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 Rumpf2019-10-251-0/+2
|
* Fix Nim specify wrong option to vccexe when vcc.options.always is set ↵Tomohiro2019-10-241-1/+1
| | | | (#12490) [backport]
* fixes #12491 [backport]Andreas Rumpf2019-10-241-1/+5
|
* compiler/semcall: return the correct lineinfo for nkCallStrLit (#12484)alaviss2019-10-242-1/+13
|
* VM: fixes most ran-out-registers problems [backport] (#12485)Andreas Rumpf2019-10-241-19/+38
|
* [backport] Add link to posix_utils.html - related to #10723 (#12509)Federico Ceratto2019-10-241-1/+2
|
* [backport] Clarifies experimental / parallel example on manual.rst (#12472)UNIcodeX2019-10-241-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)Miran2019-10-2439-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 wrappingJjp1372019-10-2218-125/+146
| |
| * asyncstreams: replace unintended link with emphasisJjp1372019-10-221-1/+1
| |
| * manual.rst: remove unintended linkJjp1372019-10-221-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 sectionJjp1372019-10-221-1/+1
| |
| * Prefer relative links for Nim documentationJjp1372019-10-225-10/+10
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix many broken linksJjp1372019-10-2235-143/+145
| | | | | | | | | | | | 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.
* | [backport] Documentation Math module (#12460)Juan Carlos2019-10-241-0/+2
| |
* | disable package 'chronos' for nownarimiran2019-10-241-1/+1
| |
* | fixes a regression that caused that Nim devel cannot compile 1.0 anymoreAraq2019-10-241-0/+1
| |
* | fixes a regression that caused that Nim devel cannot compile 1.0 anymoreAraq2019-10-241-0/+1
| |
* | ast.nim: slightly better documentationAraq2019-10-241-1/+1
| |