summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* gc.rst that doesn't lie (#13686)Andreas Rumpf2020-03-191-54/+34
|
* enable --tlsEmulation:on for --gc:arc (#13685)Andreas Rumpf2020-03-184-8/+5
| | | | * enable --tlsEmulation:on for --gc:arc * make -d:useMalloc work with --gc:arc --threads:on
* Documentation GC (#13109)Juan Carlos2020-03-181-76/+98
| | | | | | | | | | | | | | | | * Update Documentation about GC, add ARC based on code observations and https://forum.nim-lang.org/t/5734#35562 * Rephrase 'Garbage Collector' on documentation, see #13331 * Peer Review Feedbacks * When the body of a documentation section is all for garbage collector details then add 'for garbage collectors' to the title to identify they may not apply for ARC * Change 'GC' for 'garbage collector'. * Move 'Memory Management Strategies' at the top, without changes * Move the info for RefC GC from 'Introduction' to 'RefC' section without changes, make 'Introduction' about Nims 'Multi-paradigm Memory Management Strategies'.
* allow category nimble-packages to test a single package (#13576)Arne Döring2020-03-182-3/+4
|
* arc optimizations (#13325)Andreas Rumpf2020-03-1811-95/+312
| | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now
* removed .gitattributes as it only causes trouble for meAraq2020-03-181-2/+0
|
* new feature: --staticBoundChecks:on to enforce static array index checking ↵Andreas Rumpf2020-03-1816-50/+152
| | | | (#10965)
* fix #13524 astToStr now works inside generics (#13681)Timothee Cour2020-03-182-1/+7
|
* fixes #13622 (#13679)Andreas Rumpf2020-03-182-2/+24
|
* fixes hash(HashSet) which was wrong as it didn't respect tombstones; refs #13649Araq2020-03-181-1/+2
|
* fixes #13671 [backport] (#13678)Andreas Rumpf2020-03-182-1/+6
|
* fix when statements in inheritable generic objects (#13667) [backport]Jasper Jenkins2020-03-172-1/+12
|
* add nnkMacroDef to RoutineNodes (#13676)Jasper Jenkins2020-03-171-1/+1
|
* rewritten goto based exception handling; much cleaner implementation;… ↵Andreas Rumpf2020-03-174-26/+79
| | | | | | (#13677) * rewritten goto based exception handling; much cleaner implementation; fixes #13668
* fixes a bug for 'dup' and 'with'; they can now handle nested statement lists ↵Araq2020-03-173-25/+22
| | | | that can result from macros
* Fixes #13659 (#13674)cooldome2020-03-172-3/+27
| | | | | * fixes #13659 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647)Timothee Cour2020-03-174-14/+18
| | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream
* fix sets of scoped imported enums (#13666)Jasper Jenkins2020-03-173-1/+14
|
* updated builds.sr.ht script according to their email (#13669)Andreas Rumpf2020-03-171-5/+1
|
* workflows/ci: disableLeorize2020-03-171-0/+0
| | | | | | Since we got Azure Pipelines running, this will be a fallback pipeline. Activate by removing the `.disabled` suffix
* gitattributes: fix tests for windowsLeorize2020-03-171-1/+1
| | | | | | Nim-generated files used in tests all end in LF, so we tell git to not touch them. Should allow a Windows user to clone and run tests without having to tweak their git settings
* .github/workflows: new CI pipeline (#13656)alaviss2020-03-163-0/+126
| | | | | | | | | | | | | | | | | | | | * .github/workflows: new CI pipeline As Azure Pipelines went offline, this will be our (temporary?) replacement. This pipeline covers everything that Azure Pipelines does. * workflows/ci: disable pipeline * workflows/ci: properly disable the pipeline * gitattributes: .txt used in tests should be LF-terminated This avoids test failures when the compiler was cloned on an OS where git attempts to convert LF->CRLF. We target only .txt in tests/ as the minimum required to keep tests running correctly. * workflows/ci: re-enable for testing
* fixes #13654Andreas Rumpf2020-03-161-1/+1
|
* rename sfAlwaysReturn to sfNeverRaisesAraq2020-03-164-5/+5
|
* fixes #13661 (#13664) [backport]Andreas Rumpf2020-03-163-2/+17
|
* fixes #13645Araq2020-03-161-16/+18
|
* fix .deprecated. object typedef crash (#13643)Andy Davidoff2020-03-163-11/+12
| | | | | * fix .deprecated. object typedef crash * fixup a test that i don't understand * disable the test rather than debug ci
* fixes #13646Araq2020-03-163-6/+34
|
* minor code style changeAraq2020-03-161-1/+1
|
* minor code style changesAraq2020-03-163-12/+13
|
* fixes #12747 [backport] (#13651)cooldome2020-03-164-5/+25
| | | | | | | * fixes #12747 * fix tests * improve code style Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix typo (#13660) [ci skip]Kartik Saranathan2020-03-161-1/+1
|
* Fix gdb scripts (#13658)Joey2020-03-163-16/+11
| | | | | | | | * Fix nim-gdb and rename to nim-gdb.bash * Add symlink to nim-gdb.bash * Fix windows debug script * Add PR suggestions * Make readlink check easier to maintain/understand * Swap symlinks
* azure-pipelines: walkaround issues with triggers (#13657)alaviss2020-03-151-0/+9
| | | See https://status.dev.azure.com/_event/179641421
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵Timothee Cour2020-03-1311-12/+27
| | | | | | | | other fixes (#13550) * fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings
* azure-pipelines: use OSX 10.15 (was just enabled upstream) (#13546)Timothee Cour2020-03-131-2/+2
|
* disable nimgame2 for nowAraq2020-03-131-1/+1
|
* catchable defects (#13626)Andreas Rumpf2020-03-1235-142/+441
| | | | | | | | | | * allow defects to be caught even for --exceptions:goto (WIP) * implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180 * new implementation for integer overflow checking * produce a warning if a user-defined exception type inherits from Exception directly * applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic' * fixes #13627 * don't inherit from Exception directly
* rename `lenTuple` and `lenVarargs` (#13639)Miran2020-03-126-32/+33
| | | | | | | | | | | * rename 'lenTuple' to 'tupleLen' Rationale: `lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`), `tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`) * rename 'lenVarargs' to 'varargsLen' The same rationale as a previous commit. Consistency.
* Change order of forwarded koch boot command line options, so as to be able ↵Clyybber2020-03-121-4/+4
| | | | to overwrite the nimcache location (#13637)
* fix #13633 fix koch boot crashing regression (#13635)Timothee Cour2020-03-121-1/+1
|
* Amend fix for #13633 (#13636)Clyybber2020-03-121-1/+1
|
* Fix #13633Clyybber2020-03-121-1/+2
|
* Fix #12676 (#13634)genotrance2020-03-122-9/+17
|
* unicode.split: Fix the splitting when a Rune separator is used [backport] ↵Kaushal Modi2020-03-121-14/+11
| | | | | | | | | | (#13629) * unicode.split: Fix the splitting when a Rune separator is used [backport] - Fixes https://github.com/nim-lang/Nim/issues/13628 - Ref https://irclogs.nim-lang.org/11-03-2020.html#20:01:34 * unicode.split: Remove the sepLen based logic.. resulted in wrong jumps
* Add more JS stuff to dom.nim (#13483)treeform2020-03-111-26/+45
| | | | | | | | | | | | | | | * Add more JS stuff to dom.nim * Make all links to docs doc comments. * Fix minor textContent * space. * Remove Selection object. * More work on docs. * Fixing links. * Made the links be "see <docs>".
* Make listCmd honor hint:cc:off (#13606)Clyybber2020-03-111-50/+35
| | | | | | | | | | | | | | | | | * Make listCmd honor hint:cc:off * Tiny cleanup * Tiny tiny cleanup * VERY IMPORTANT: --hint:cc:on will overwrite --verbosity:0 :p * Tiny cleanup * Stupid * Move displayProgressCC to where its required * Tiny cleanup
* fix #13310, Deque misbehaves on VM (#13625)Miran2020-03-111-2/+15
| | | | * fix #13310, Deque misbehaves on VM * use 'when nimVM'
* fixes #13558: toDateTime buggy on 29th, 30th and 31th of each month; ↵Timothee Cour2020-03-112-13/+7
| | | | breaking change: do not use `now` to compute result, was undocumented and non-sensical (#13565)
* disable chronos testing for nowAraq2020-03-111-1/+2
|