Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ARC: implemented a simple cycle detector | Araq | 2019-11-28 | 1 | -0/+2 |
| | |||||
* | Fix for 16 bit platforms (#12760) [backend] | PMunch | 2019-11-28 | 2 | -7/+9 |
| | | | | | This fixes some tiny issues with using Nim on 16-bit platforms. Not entirely sure why the AVR chip I was compiling for with "cpu = avr" was detected as 16-bit, but that's probably another issue.. | ||||
* | [backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687. ↵ | 3n-k1 | 2019-11-28 | 6 | -92/+92 |
| | | | | (#12754) | ||||
* | [backport] Fix spelling typos (#12755) | Brian Wignall | 2019-11-28 | 1 | -1/+1 |
| | |||||
* | more fixes for --cpu:avr [backport] (#12748) | Andreas Rumpf | 2019-11-27 | 4 | -5/+8 |
| | |||||
* | ARC: ported the GC tests over to --gc:arc | Araq | 2019-11-26 | 3 | -12/+34 |
| | |||||
* | replace some runtime repr in stdlib for gc:arc (#12716) | Andy Davidoff | 2019-11-25 | 3 | -4/+5 |
| | |||||
* | csize_t changes: pinToCpu didn't compile (#12725) | Mamy Ratsimbazafy | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | delete list comprehension (#12392) | Arne Döring | 2019-11-22 | 1 | -58/+0 |
| | | | The `lc` macro is now part of `graveyard` repository. | ||||
* | index out of bounds exception when data is empty (#12428) | Jack Tang | 2019-11-22 | 1 | -9/+11 |
| | |||||
* | add collect macro (#12708) | b3liever | 2019-11-22 | 1 | -0/+97 |
| | | | | | | * add collect macro * Add to changelog | ||||
* | fixes #11863 multipart data need $ (#12707) | Andreas Rumpf | 2019-11-22 | 1 | -0/+13 |
| | | | | | * fixes #11863 * improved the code; refs #12412 | ||||
* | more arc improvements (#12690) | Andreas Rumpf | 2019-11-20 | 1 | -2/+5 |
| | | | | | * ARC: bugfix for =destroy for inherited objects * added code useful for debugging | ||||
* | Discussion both in (#12678) | c-blake | 2019-11-20 | 1 | -31/+41 |
| | | | | | | | | | | | https://github.com/nim-lang/Nim/pull/12600 and in https://forum.nim-lang.org/t/5499 indicates that everyone is happy/happier with ``pop``. This just renames the brand new ``take``s to ``pop`` and installs inline aliases/wrappers to preserve ``Table.take`` and ``TableRef.take``. Update apis.rst to try to maintain consistency of remove-and-return procs. | ||||
* | Fixes ambiguity errors when evaluating Nimble files. (#12674) [backport] | Dominik Picheta | 2019-11-18 | 1 | -6/+6 |
| | | | | | | | | When trying to evaluate a Nimble file which imports a Nim module I was getting the following errors for some reason: ``` /Users/dom/projects/nim/lib/pure/parseopt.nim(229, 46) Error: ambiguous call; both system.paramCount() [declared in /Users/dom/projects/nim/lib/system/nimscript.nim(65, 6)] and os.paramCount() [declared in /Users/dom/projects/nim/lib/pure/os.nim(2613, 8)] match for: () ``` | ||||
* | fixes and changes the recently introduced 'alignas' to be 'align' (#12666) | Andreas Rumpf | 2019-11-15 | 1 | -1/+6 |
| | | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements | ||||
* | Fix htmlgen html lang (#12668) [backport] | Juan Carlos | 2019-11-15 | 1 | -1/+1 |
| | | | | | * Fix HTMLGen enable lang on html tag | ||||
* | 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 |
| |