Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | async: cleaner solution that avoids GC_ref on strings which doesn't exist ↵ | Araq | 2019-11-13 | 1 | -6/+5 |
| | | | | for --gc:arc | ||||
* | a better way to test Arraymancer | narimiran | 2019-11-13 | 1 | -2/+2 |
| | |||||
* | remove long-deprecated 'mapIt' | narimiran | 2019-11-13 | 1 | -7/+0 |
| | |||||
* | implemented alignas pragma (#12643) | Arne Döring | 2019-11-13 | 13 | -19/+153 |
| | | | | | | | | | | | | * 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 | 12 | -36/+106 |
| | | | | | | | | | | | * 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 | 2 | -13/+47 |
| | |||||
* | --gc:destructors: bugfixes | Araq | 2019-11-09 | 1 | -6/+6 |
| | |||||
* | inhibit silly warning about moving closure environments for performance | Araq | 2019-11-09 | 1 | -1/+3 |
| | |||||
* | --gc:destructors improvements (#12626) | Andreas Rumpf | 2019-11-09 | 2 | -14/+18 |
| | | | | | | * do not cache the noDestructors transformation * liftdestructor: improvements * undo bugfix | ||||
* | Implemented outplace differently (#12599) | Clyybber | 2019-11-09 | 2 | -0/+50 |
| | | | | | * implemented sugar.outplace; refs #12550 * Different approach, allows for chaining | ||||
* | fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.take ↵ | Miran | 2019-11-08 | 2 | -5/+150 |
| | | | | | | | | | | | | (#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 | 2 | -4/+10 |
| | |||||
* | 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. | ||||
* | fixes #5050; fixes #11826 (#12606) [backport] | cooldome | 2019-11-07 | 5 | -14/+47 |
| | |||||
* | backtick and export marker handling in `eqIdent` (#12574) | Arne Döring | 2019-11-07 | 4 | -12/+47 |
| | |||||
* | added 'since' template for further stdlib additions | Andreas Rumpf | 2019-11-07 | 2 | -1/+5 |
| | |||||
* | bugfix that enables the 'since' template [backport] | Andreas Rumpf | 2019-11-07 | 1 | -2/+7 |
| | |||||
* | pragmas.nim: tiny code formatting | Andreas Rumpf | 2019-11-07 | 1 | -2/+1 |
| | |||||
* | fix failing test | narimiran | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | osproc needs 'import linux' for -d:useClone | Andreas Rumpf | 2019-11-07 | 1 | -0/+3 |
| | |||||
* | error message: Nim calls it 'proc' | Andreas Rumpf | 2019-11-07 | 1 | -1/+1 |
| | |||||
* | Merge pull request #12613 from nim-lang/miran-unused-imports | Dominik Picheta | 2019-11-06 | 23 | -46/+22 |
|\ | | | | | Remove unused imports | ||||
| * | remove unused imports from tests | narimiran | 2019-11-06 | 12 | -18/+10 |
| | | |||||
| * | remove unused imports | narimiran | 2019-11-06 | 11 | -28/+12 |
| | | |||||
* | | restore --define:key:val in nim.cfg and fix #12367 (#12611) | Andy Davidoff | 2019-11-06 | 1 | -0/+6 |
| | | |||||
* | | add --clearNimblePath; fixes #12601 (#12609) | Andy Davidoff | 2019-11-06 | 3 | -0/+7 |
| | | |||||
* | | [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 |
| | | |||||
* | | [backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip] | Tor Arvid Lund | 2019-11-06 | 1 | -1/+1 |
| | | | | | | Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x` | ||||
* | | export nim.cfg parser (#12602) | Andy Davidoff | 2019-11-06 | 1 | -1/+1 |
|/ | |||||
* | [backport] Add links to packaging and distro pages (#12603) [ci skip] | Federico Ceratto | 2019-11-06 | 2 | -0/+4 |
| | |||||
* | async: use $ and not repr in debug mode | Araq | 2019-11-05 | 1 | -1/+1 |
| | |||||
* | expr -> untyped | 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 | 39 | -567/+111 |
| | |||||
* | fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' (#12592) | Miran | 2019-11-05 | 4 | -28/+39 |
| | | | | | | | | | | | | | | * 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 | ||||
* | implement the --useVersion emulation feature | Andreas Rumpf | 2019-11-04 | 1 | -1/+4 |
| | |||||
* | Make sequtils.zip return seq of anonymous tuples (#12575) | Kaushal Modi | 2019-11-04 | 3 | -42/+66 |
| | | | | | | | | | | * 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 | ||||
* | Fixes #12379 (#12591) [backport] | Clyybber | 2019-11-04 | 4 | -19/+21 |
| | |||||
* | compiler/suggest: add variable support to `con` (#12569) | alaviss | 2019-11-04 | 2 | -1/+21 |
| | | | This allows for the type of a variable to be retrieved. | ||||
* | [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 |
| | |||||
* | --os:ios needs to imply defined(macosx) [backport] (#12585) | Andreas Rumpf | 2019-11-04 | 1 | -1/+1 |
| | |||||
* | NimPatch of devel version should be an odd number because of the earlier hacks | narimiran | 2019-11-03 | 1 | -1/+1 |
| |