Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix documentation of `$`*(dt: DateTime) (#12660) | David Krause | 2019-11-15 | 1 | -1/+1 |
| | | | | (cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa) | ||||
* | make tests green again | Andreas Rumpf | 2019-11-13 | 1 | -2/+2 |
| | |||||
* | gc:arc: support GC_ref/unref for ref T | Araq | 2019-11-13 | 3 | -5/+16 |
| | |||||
* | async: cleaner solution that avoids GC_ref on strings which doesn't exist ↵ | Araq | 2019-11-13 | 1 | -6/+5 |
| | | | | for --gc:arc | ||||
* | remove long-deprecated 'mapIt' | narimiran | 2019-11-13 | 1 | -7/+0 |
| | |||||
* | implemented alignas pragma (#12643) | Arne Döring | 2019-11-13 | 1 | -0/+1 |
| | | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof. | ||||
* | fixes #12644 | Andreas Rumpf | 2019-11-12 | 1 | -7/+10 |
| | |||||
* | .cursor implementation (#12637) | Andreas Rumpf | 2019-11-12 | 3 | -7/+10 |
| | | | | | | | | | | | * cursors: first implementation * added currently failing test * .cursor works for doubly linked lists * make -d:useMalloc work again * added code to nil out refs in a destructor * it's now called --gc:arc * renderer.nim: render nkBreakState properly * make simple closure iterators work without leaking | ||||
* | Fix #12135 and #12109 (#12137) | Euan | 2019-11-11 | 3 | -0/+570 |
| | | | | | | * Fix #12135 and fix #12109 - fix OpenBSD type defs * Fix Mode definition as in #12132 | ||||
* | Version of trimZeros without temp strings (#12633) | b3liever | 2019-11-11 | 1 | -13/+11 |
| | |||||
* | Implemented outplace differently (#12599) | Clyybber | 2019-11-09 | 1 | -0/+45 |
| | | | | | * implemented sugar.outplace; refs #12550 * Different approach, allows for chaining | ||||
* | fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.take ↵ | Miran | 2019-11-08 | 1 | -4/+148 |
| | | | | | | | | | | | | (#12600) * add OrderedTable.take * add CountTable.del and CountTable.take * add .since pragma to the introduced public procs * add changelog entry [ci skip] | ||||
* | fix compilation warning (#12618) | cooldome | 2019-11-08 | 1 | -5/+5 |
| | | | | | | * fix compilation warning * comments incorporated | ||||
* | Fix crash in terminate handler (#12572) [backport] | Volodymyr Lashko | 2019-11-07 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | * fix undefined behavior in terminate handler * fix failing unit test * Revert "fix failing unit test" This reverts commit 0e5e385fbf972d53909347e246a2e9b018fe9906. * Revert "fix undefined behavior in terminate handler" This reverts commit 2b582871f1981492838cc70d30e8c0e00ab8c9a9. * do not throw inside terminate handler with msvc < 1923 | ||||
* | make parsexml compatible with --gc:destructors/newruntime | Andreas Rumpf | 2019-11-07 | 1 | -2/+2 |
| | |||||
* | added support for openArray's for `gcd` and `lcm` (#12621) | Yanis Zafirópulos | 2019-11-07 | 1 | -1/+25 |
| | |||||
* | fix #12597 (#12604) | Arne Döring | 2019-11-07 | 1 | -4/+4 |
| | |||||
* | allow random module to be used in standalone: (#12617) | Judd | 2019-11-07 | 1 | -1/+1 |
| | | | | proc randomized*() uses time releated function which is not available on standalone, so disable this function for standalone. | ||||
* | backtick and export marker handling in `eqIdent` (#12574) | Arne Döring | 2019-11-07 | 1 | -6/+12 |
| | |||||
* | added 'since' template for further stdlib additions | Andreas Rumpf | 2019-11-07 | 2 | -1/+5 |
| | |||||
* | osproc needs 'import linux' for -d:useClone | Andreas Rumpf | 2019-11-07 | 1 | -0/+3 |
| | |||||
* | Merge pull request #12613 from nim-lang/miran-unused-imports | Dominik Picheta | 2019-11-06 | 4 | -10/+4 |
|\ | | | | | Remove unused imports | ||||
| * | remove unused imports | narimiran | 2019-11-06 | 4 | -10/+4 |
| | | |||||
* | | [backport] print more information for the previous commit | narimiran | 2019-11-06 | 1 | -0/+2 |
| | | |||||
* | | [backport] rewrite flaky runnable example | narimiran | 2019-11-06 | 1 | -3/+5 |
|/ | |||||
* | async: use $ and not repr in debug mode | Araq | 2019-11-05 | 1 | -1/+1 |
| | |||||
* | Add `or detectOs(Manjaro)` (#12587) [backport] | jiro | 2019-11-05 | 1 | -1/+1 |
| | | | | | | Using `pacman` command in Manjaro Linux (cherry picked from commit 1ff3494dabd0fa5bf619fc8bd558381ead7c358d) | ||||
* | remove deprecated procs (#12535) | Andreas Rumpf | 2019-11-05 | 7 | -395/+18 |
| | |||||
* | fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' (#12592) | Miran | 2019-11-05 | 2 | -17/+8 |
| | | | | | | | | | | | | | | * fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' 'formatFloat' with 'precision = 0' now gives the same result (a number without a decimal point) in all backends. This is compatible with Python's formatters, too. * fix failing tests * add changelog entry * add version switch | ||||
* | Make sequtils.zip return seq of anonymous tuples (#12575) | Kaushal Modi | 2019-11-04 | 1 | -40/+64 |
| | | | | | | | | | | * Make sequtils.zip return seq of anonymous tuples Earlier the tuples had named fields "a" and "b" and that made it difficult to assign the zip returned seqs to other vars which expected seqs of tuples with field names other than "a" and "b". * Make sequtils.zip backwards compatible with Nim 1.0.x | ||||
* | [backport] fix #12395 (#12590) | Miran | 2019-11-04 | 1 | -3/+3 |
| | | | | | 'countBits32' is now fixed in the same way that 'countBits64' was already patched earlier (by adding 'u32 where needed). | ||||
* | fix conversions to uint in varints.nim (#12564) | Arne Döring | 2019-11-04 | 1 | -22/+22 |
| | |||||
* | NimPatch of devel version should be an odd number because of the earlier hacks | narimiran | 2019-11-03 | 1 | -1/+1 |
| | |||||
* | newruntime: only check for dangling refs when 'owned ref T' support is enabled | Andreas Rumpf | 2019-11-03 | 1 | -7/+8 |
| | |||||
* | [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 | 12 | -48/+56 |
| | |||||
* | --gc:destructors now means Nim uses pure refcounting (#12557) | Andreas Rumpf | 2019-10-30 | 6 | -18/+34 |
| | |||||
* | 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 | 22 | -29/+29 |
| | |||||
* | Fix newLit for objects having string fields (#12542) [backport] | zah | 2019-10-28 | 1 | -5/+5 |
| | |||||
* | [backport] fix #12528, fix #12525: incorrect generic type resolution for ↵ | Andreas Rumpf | 2019-10-28 | 1 | -0/+3 |
| | | | | | | default values (#12538) | ||||
* | proof that refcounting can handle Nim's async (#12533) | Andreas Rumpf | 2019-10-28 | 1 | -1/+8 |
| | |||||
* | 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 | 1 | -3/+16 |
| | | | | | | | | * 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 | 1 | -14/+25 |
| | | | | | | | | | | 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 | 2 | -52/+135 |
| | | | fixes #12479 | ||||
* | fix deprecation warnings related to Int128 (#12474) | Miran | 2019-10-28 | 1 | -1/+1 |
| | | | | | | | | * semfold: fix deprecation warnings related to Int128 * semmagic: fix deprecation warnings related to Int128 * system/io: remove unneeded conversion of TaintedString to itself | ||||
* | 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 |
| |