summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* conversions to unsigned numbers are not checked anymore; implements /… ↵Andreas Rumpf2019-11-206-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 Rumpf2019-11-204-5/+32
| | | | | * ARC: bugfix for =destroy for inherited objects * added code useful for debugging
* Discussion both in (#12678)c-blake2019-11-203-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 Rumpf2019-11-192-6/+17
|
* fix regression in align (#12680)Arne Döring2019-11-194-5/+20
| | | | | | * fix regression in align * add test typesym without type
* ARC: closure bugfixes (#12677)Andreas Rumpf2019-11-184-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 Picheta2019-11-181-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 Rumpf2019-11-185-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 Rumpf2019-11-159-44/+50
| | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements
* Fix htmlgen html lang (#12668) [backport]Juan Carlos2019-11-152-2/+2
| | | | | * Fix HTMLGen enable lang on html tag
* fixes #12319 - change exception handling for finish.exe (#12413)Gampol T2019-11-151-0/+2
| | | | | | * documented behaviour of recv on bufferd socket * fixes #12319- check exception using errorCode
* ARC: fixes leaking new() statement (#12665)Andreas Rumpf2019-11-153-8/+24
|
* remove two asserts in int128.nim (#12648) [backport]Miran2019-11-151-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 Krause2019-11-151-1/+1
| | | | (cherry picked from commit 39122ecd93854dd696aad2a5a0a5ad04d6dcdbfa)
* ARC: solves phase ordering problems (#12654)Andreas Rumpf2019-11-149-62/+65
|
* ARC: closure inside object constructor now worksAraq2019-11-133-4/+30
|
* ARC: handle closures like tuples consistentlyAraq2019-11-131-2/+2
|
* ARC: use the new .cursor annotation for 'up' pointersAraq2019-11-132-3/+7
|
* make tests green againAndreas Rumpf2019-11-131-2/+2
|
* gc:arc: support GC_ref/unref for ref TAraq2019-11-133-5/+16
|
* async: cleaner solution that avoids GC_ref on strings which doesn't exist ↵Araq2019-11-131-6/+5
| | | | for --gc:arc
* a better way to test Arraymancernarimiran2019-11-131-2/+2
|
* remove long-deprecated 'mapIt'narimiran2019-11-131-7/+0
|
* implemented alignas pragma (#12643)Arne Döring2019-11-1313-19/+153
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* fixes #12644Andreas Rumpf2019-11-121-7/+10
|
* .cursor implementation (#12637)Andreas Rumpf2019-11-1212-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)Euan2019-11-113-0/+570
| | | | | | * Fix #12135 and fix #12109 - fix OpenBSD type defs * Fix Mode definition as in #12132
* Version of trimZeros without temp strings (#12633)b3liever2019-11-112-13/+47
|
* --gc:destructors: bugfixesAraq2019-11-091-6/+6
|
* inhibit silly warning about moving closure environments for performanceAraq2019-11-091-1/+3
|
* --gc:destructors improvements (#12626)Andreas Rumpf2019-11-092-14/+18
| | | | | | * do not cache the noDestructors transformation * liftdestructor: improvements * undo bugfix
* Implemented outplace differently (#12599)Clyybber2019-11-092-0/+50
| | | | | * implemented sugar.outplace; refs #12550 * Different approach, allows for chaining
* fix #12519: introduce OrderedTable.take, CountTable.del, CountTable.take ↵Miran2019-11-082-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)cooldome2019-11-081-5/+5
| | | | | | * fix compilation warning * comments incorporated
* Fix crash in terminate handler (#12572) [backport]Volodymyr Lashko2019-11-071-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/newruntimeAndreas Rumpf2019-11-071-2/+2
|
* added support for openArray's for `gcd` and `lcm` (#12621)Yanis Zafirópulos2019-11-071-1/+25
|
* fix #12597 (#12604)Arne Döring2019-11-072-4/+10
|
* allow random module to be used in standalone: (#12617)Judd2019-11-071-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]cooldome2019-11-075-14/+47
|
* backtick and export marker handling in `eqIdent` (#12574)Arne Döring2019-11-074-12/+47
|
* added 'since' template for further stdlib additionsAndreas Rumpf2019-11-072-1/+5
|
* bugfix that enables the 'since' template [backport]Andreas Rumpf2019-11-071-2/+7
|
* pragmas.nim: tiny code formattingAndreas Rumpf2019-11-071-2/+1
|
* fix failing testnarimiran2019-11-071-1/+1
|
* osproc needs 'import linux' for -d:useCloneAndreas Rumpf2019-11-071-0/+3
|
* error message: Nim calls it 'proc'Andreas Rumpf2019-11-071-1/+1
|
* Merge pull request #12613 from nim-lang/miran-unused-importsDominik Picheta2019-11-0623-46/+22
|\ | | | | Remove unused imports
| * remove unused imports from testsnarimiran2019-11-0612-18/+10
| |
| * remove unused importsnarimiran2019-11-0611-28/+12
| |