summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes #21731; fixes #21537; disable `warnBareExcept` by default [backport] ↵ringabout2023-04-262-2/+2
| | | | | | | (#21728) * disable warnBareExcept for default * fixes a typo
* fix #21727 (#21729)metagn2023-04-263-12/+28
|
* Add benchmarking based on Minimize (#21566)Federico Ceratto2023-04-251-0/+117
| | | | | | | | | | | * Add benchmarking based on Minimize * Update .github/workflows/ci_bench.yml Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* documents #21628 (#21723)Juan M Gómez2023-04-241-0/+29
| | | | | | | | | * documents #21628 * Update doc/manual.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Pragma to force the exportc of a type. #21645 (#21648)Juan M Gómez2023-04-241-3/+12
| | | | | exportc export all types not just those used by exported proc/globals Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes #21703; moveOrCopy should consider when vm (#21721)ringabout2023-04-241-1/+2
|
* refactoring in preparation for better, simpler name mangling that wor… ↵Andreas Rumpf2023-04-2445-202/+216
| | | | | | | | | | | (#21667) * refactoring in preparation for better, simpler name mangling that works with IC flawlessly * use new disamb field * see if this makes tests green * make tests green again
* fix iterator equality + add test for proc equality + fix sameType (#21707)metagn2023-04-237-5/+73
| | | | | | | | | | | | | | | | | | | | | | | * fix iterator equality + add test also for procs fixes #21706 * all targets * and isNil and repr * separate overloads, fix sameType * more restricted sameType? * merge overloads again?? * remove sametype change for now * fix sameType anyway (CI failure was not related) --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* fixes booting warnings (#21711)ringabout2023-04-231-1/+1
| | | follow up https://github.com/nim-lang/Nim/pull/21604
* temporarily disable badssl tests (#21710)metagn2023-04-231-65/+77
| | | | | | | * temporarily disable badssl tests refs #21709 * fix
* alias syntax fixes, improvements and tests (#21671)metagn2023-04-2211-148/+226
| | | | | | | | | | | | | * alias syntax fixes, improvements and tests * even better, cannot use alias syntax with generics * more type tests, improve comment * fix again * consistent error message + make t5167_5 work * more comments, remove {.noalias.}
* implements #21620: allowing to import multiple modules with shared names ↵Juan M Gómez2023-04-214-9/+21
| | | | (#21628)
* stdlib tests now check refc too (#21664)ringabout2023-04-21140-39/+256
| | | | | | | | | | | * stdlib tests now check refc too * typo * fixes line numbers * disable cpp * do not touch
* Documented path substitution by compiler (#21662)Raynei2023-04-213-0/+14
| | | Document compiler path substitution (nim-lang#19928)
* tweak spellsuggest; three counts for equal distances candidates by default ↵ringabout2023-04-212-7/+4
| | | | | | | (#21700) * tweak spellsuggest; three counts for equal distances candidates * only suggest typos when length > 3
* refact: Remove assertion effect hiding workaround (#21472)quantimnot2023-04-211-6/+1
| | | | | | | | refact: Remove asseertion effect hiding workaround There was a code comment to remove after bootstrapping with `nim >= 1.4.0`. Co-authored-by: quantimnot <quantimnot@users.noreply.github.com> Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* add test for #13764 (#21699)Bung2023-04-211-0/+6
|
* Fix json.to for float fields that are not present (#21695)Yardanico2023-04-211-1/+1
|
* static link pthread correctly (#21693)ringabout2023-04-202-2/+3
|
* Fixed `window.find` return (#21621)Thiago2023-04-191-1/+1
| | | https://developer.mozilla.org/en-US/docs/Web/API/Window/find
* fixes nightlies regression (#21689)ringabout2023-04-191-2/+1
| | | | | | | | | | | | * fixes nightlies regression ref https://github.com/nim-lang/Nim/pull/21659 ref https://github.com/nim-lang/nightlies/actions/runs/4727252660/jobs/8387899690 > /home/runner/work/nightlies/nightlies/nim-1.9.3/lib/std/sysrand.nim(198, 12) Error: cannot evaluate at compile time: EINTR Because EINTR is not a const on i386 * Update lib/std/sysrand.nim
* fixes #21540; deref block at transf phase to make injectdestructors function ↵ringabout2023-04-193-17/+69
| | | | | | | | | | | | | properly (#21688) * fixes #21540; deref block at transf phase to make injectdestructors function properly * add a test case * add one more test * fixes the type of block * transform block
* fix #20997 (#21165)Bung2023-04-191-4/+2
| | | | | * fix #20997 * use ptr UncheckedArray[uint8] instead
* docuement case statement breaking changes in the changelog (#21686)ringabout2023-04-191-0/+3
| | | | Reported on Discord follow up https://github.com/nim-lang/Nim/pull/20862
* Fix RST/Markdown false heading detection (#21685)Andrey Makarov2023-04-183-14/+57
|
* import brackets support `as` and prefixes [backport] (#21636)metagn2023-04-182-15/+22
| | | | | | | * import brackets support `as` and prefixes fixes #21635 * copyTree -> copyNode
* actually fix #19015 (#21680)metagn2023-04-172-1/+31
| | | | | | | * actually fix #19015 * more tests * round out
* revert #21227 (#21681)metagn2023-04-173-10/+17
| | | | | | | | | * revert #21227 but keep test * add test for #21677 * don't export * delete test
* warn on set types bigger than max size, default to 0..255 for int literals ↵metagn2023-04-1715-32/+59
| | | | | | | | | | | | | | | | | | | (#21659) * test implicitly huge set types refs https://github.com/nim-lang/RFCs/issues/298 * oh my god * boot at least * don't error, fix remaining issues, no 2 len arrays * fix runnable example * test assuming 0..255 for int literal * test refactor, add changelog, test
* compiler/docgen: pass --path:… to runnableExamples (#21669)Emery Hemingway2023-04-171-2/+5
|
* fixes #21674; `lent` can be used in the fields or the cast type as a ↵ringabout2023-04-183-2/+20
| | | | | | | | | parameter (#21684) * fixes #21674; `lent` can be used in the fields or the cast type as a parameter * add a test case * fix the test
* fixes #20155; repr range with distinct types is broken in ORC (#21682)ringabout2023-04-173-3/+16
| | | fixes #20155; repr range with distinct types is broken with ORC
* fix small mistake from #21629 (#21672)metagn2023-04-171-2/+2
|
* change compile pragma to use mangled compile objects (#21678)Jaremy Creechley2023-04-171-2/+7
| | | change compile pragma to use mangle
* LTO improvements - fix #15578 (#21679)Mamy Ratsimbazafy2023-04-171-10/+16
|
* Update nim 2.0 documentation for docgen & nimgrep (#21665)Andrey Makarov2023-04-173-31/+102
| | | | | | | | | | | | | * Update nim 2.0 documentation for docgen & nimgrep * [skip ci] Update changelogs/changelog_2_0_0.md Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * [skip ci] expand section on Markdown migration and `doctype` --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* minor codegen bugfix (#21670)Andreas Rumpf2023-04-151-1/+1
|
* fixes #18146; fixes #19372; disable tlsEmulation on windows; static link ↵ringabout2023-04-145-6/+5
| | | | | | | pthreads with mingw (#21668) * fixes #18146; disable tlsEmulation on windows; static link libwinthreads DLL * whatever
* runnableExamples imports std/assertions by default (#21658)metagn2023-04-142-1/+7
| | | closes https://github.com/nim-lang/RFCs/issues/499
* make grammar a bit more honest (#21655)metagn2023-04-142-18/+20
| | | | | | | | | | | * test if expr parsing expr refs #19802 * in any case * just be honest * fix symbol/keyword issue too
* custom pragmas: correct error condition, remove outdated symkind whitelist ↵metagn2023-04-135-16/+73
| | | | | | | | | | | | | | | (#21653) * test not restricting custom pragma applied symbols fixes #21652 * fix other test * different patch * fix tests * actually test #18212 and other routines
* fixes #20900; Calling template through from generic function across module ↵ringabout2023-04-133-2/+12
| | | | | | | fails to build (#21649) * fixes #20900; Calling template through from generic function across module fails to build * sanother way
* set module symbol type to None instead of nil for discard check (#21657)metagn2023-04-134-13/+38
| | | | | | | * set module symbol type to None instead of nil fixes #19225 * alright
* stops building nimsuggest twice and nim_dbg in tests; saves 3 * 5 minutes CI ↵ringabout2023-04-131-1/+9
| | | | | time (#21654) stop building nimsuggest twice and nim_dbg in tests; saving 3 * 5 minutes CI time
* fixes #21632; enforce deref for `wasMoved` in ORC (#21647)ringabout2023-04-123-6/+15
| | | fixes #21632; enforce deref for `wasMoved`
* int64/uint64 as bigint in JS (#21613)metagn2023-04-1126-111/+329
| | | | | | | | | | | * int64/uint64 as bigint in JS * fix CI * convert to compile option * fix lie * smaller diff, changelog entry
* fix #15691 (#21623)metagn2023-04-112-2/+22
| | | `semProcAux` has a check for `checkMinSonsLen(n, bodyPos + 1)`
* `proc` typeclass accounts for `iterator`, call conventions + `nil` fix + ↵metagn2023-04-1112-57/+222
| | | | | | | | | | | | | document typeclass AST (#21629) * test fix #16546 #16548 + another issue * please don't tell me other packages do this * fix CI + test typeclass callconv pragma * better logic in parser * docs and changelog
* Fix option lists with additional indentation in Markdown (#21633)Andrey Makarov2023-04-112-1/+29
| | | | | | | | This is more Markdown-ish way to fix issue #21055, then PR #21625. It does not enable RST definition lists, instead it makes adding additional indentation (less than 4) right after a paragraph be ignored, as it's done for all block elements in Markdown. (In this case this tenet is applied to option lists that are not part of CommonMark spec by themselves).
* disable i386 tests for now; help wanted (#21642)ringabout2023-04-111-5/+5
| | | I have done some investigations but still cannot figure it out in https://github.com/nim-lang/Nim/pull/21637, https://github.com/nim-lang/Nim/pull/21612 and https://forum.nim-lang.org/t/10069. If someone has a clue, please enlighten me.