Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replace some runtime repr in stdlib for gc:arc (#12716) | Andy Davidoff | 2019-11-25 | 3 | -4/+5 |
| | |||||
* | fix typo in the manual (#12723) | tauplus | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | Fix wrong section hierarchy in the manual (#12724) [backport] | tauplus | 2019-11-25 | 1 | -9/+9 |
| | |||||
* | csize_t changes: pinToCpu didn't compile (#12725) | Mamy Ratsimbazafy | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | Revert "ARC: another critical bugfix; temporary tuples we introduce for ↵ | narimiran | 2019-11-24 | 2 | -2/+1 |
| | | | | | | tuple unpackaging are not owning the data" This reverts commit 8b2f8f5430e8c328efe5bce94e397f15e3c501af. | ||||
* | ARC: another critical bugfix; temporary tuples we introduce for tuple ↵ | Araq | 2019-11-22 | 2 | -1/+2 |
| | | | | unpackaging are not owning the data | ||||
* | delete list comprehension (#12392) | Arne Döring | 2019-11-22 | 3 | -67/+1 |
| | | | The `lc` macro is now part of `graveyard` repository. | ||||
* | ARC: yet another silly bugfix | Araq | 2019-11-22 | 2 | -0/+31 |
| | |||||
* | 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 | 2 | -1/+98 |
| | | | | | | * 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 | ||||
* | implemented a new localPassc pragma (#12706) | Andreas Rumpf | 2019-11-22 | 7 | -12/+48 |
| | |||||
* | Improve head comment on JS (#12548) | Juan Carlos | 2019-11-22 | 1 | -15/+13 |
| | | | | | | * Improve comment on JSGen, replace 12+ concatenations by 1 multiline string * Peer review feedbacks https://github.com/nim-lang/Nim/pull/12548#discussion_r340051147 | ||||
* | added the --asm command line option for inspection of the produced assember ↵ | Andreas Rumpf | 2019-11-21 | 5 | -8/+39 |
| | | | | code (#12699) | ||||
* | thavlak.nim: more idiomatic code | Araq | 2019-11-21 | 1 | -45/+45 |
| | |||||
* | more thavlak.nim improvements | Araq | 2019-11-21 | 1 | -4/+4 |
| | |||||
* | more thavlak.nim improvements | Araq | 2019-11-21 | 1 | -78/+51 |
| | |||||
* | thavlak.nim test: improved the code style | Araq | 2019-11-21 | 1 | -28/+21 |
| | |||||
* | Remove a stray file (#12697) | Jjp137 | 2019-11-21 | 1 | -1/+0 |
| | |||||
* | fixes #12670 [backport] (#12693) | Andreas Rumpf | 2019-11-20 | 2 | -1/+22 |
| | |||||
* | conversions to unsigned numbers are not checked anymore; implements /… ↵ | Andreas Rumpf | 2019-11-20 | 6 | -6/+29 |
| | | | | | | | | (#12688) [backport] * conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175 * change the spec yet again to be less consistent but to make more sense; updated the changelog | ||||
* | more arc improvements (#12690) | Andreas Rumpf | 2019-11-20 | 4 | -5/+32 |
| | | | | | * ARC: bugfix for =destroy for inherited objects * added code useful for debugging | ||||
* | Discussion both in (#12678) | c-blake | 2019-11-20 | 3 | -33/+44 |
| | | | | | | | | | | | 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 #12612 [backport] (#12681) | Andreas Rumpf | 2019-11-19 | 2 | -6/+17 |
| | |||||
* | fix regression in align (#12680) | Arne Döring | 2019-11-19 | 4 | -5/+20 |
| | | | | | | * fix regression in align * add test typesym without type | ||||
* | ARC: closure bugfixes (#12677) | Andreas Rumpf | 2019-11-18 | 4 | -16/+72 |
| | | | | | | | | * ARC: closure bugfixes * progress * ARC closures: create =hooks for captured parameters * ARC: always destroy constructions like tuples, arrays properly, even in edge cases * fixes a regression | ||||
* | 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: () ``` | ||||
* | attempt to add valgrind support to the CIs and testament (#12646) | Andreas Rumpf | 2019-11-18 | 5 | -8/+29 |
| | | | | | | * attempt to add valgrind support to the CIs and testament * valgrind (currently) works only on 64-bit Linux | ||||
* | fixes and changes the recently introduced 'alignas' to be 'align' (#12666) | Andreas Rumpf | 2019-11-15 | 9 | -44/+50 |
| | | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements | ||||
* | Fix htmlgen html lang (#12668) [backport] | Juan Carlos | 2019-11-15 | 2 | -2/+2 |
| | | | | | * Fix HTMLGen enable lang on html tag | ||||
* | fixes #12319 - change exception handling for finish.exe (#12413) | Gampol T | 2019-11-15 | 1 | -0/+2 |
| | | | | | | * documented behaviour of recv on bufferd socket * fixes #12319- check exception using errorCode | ||||
* | ARC: fixes leaking new() statement (#12665) | Andreas Rumpf | 2019-11-15 | 3 | -8/+24 |
| | |||||
* | remove two asserts in int128.nim (#12648) [backport] | Miran | 2019-11-15 | 1 | -2/+0 |
| | | | | | | | Before this PR, `tests/misc/tconv.nim` fails when the compiler is compiled without `-d:danger` flag. Bear in mind that even without the asserts, the values outside of a given range are still checked and a meaningful error message (from `compiler/semexprs.nim`) is printed. | ||||
* | fix documentation of `$`*(dt: DateTime) (#12660) | David Krause | 2019-11-15 | 1 | -1/+1 |
| | | | | (cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa) | ||||
* | ARC: solves phase ordering problems (#12654) | Andreas Rumpf | 2019-11-14 | 9 | -62/+65 |
| | |||||
* | ARC: closure inside object constructor now works | Araq | 2019-11-13 | 3 | -4/+30 |
| | |||||
* | ARC: handle closures like tuples consistently | Araq | 2019-11-13 | 1 | -2/+2 |
| | |||||
* | ARC: use the new .cursor annotation for 'up' pointers | Araq | 2019-11-13 | 2 | -3/+7 |
| | |||||
* | 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 | ||||
* | 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 |
| |