summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* make jsffi properly gensym (#22539)metagn2023-08-232-22/+35
| | | fixes #21208
* don't render underscore identifiers with id (#22538)metagn2023-08-231-3/+5
|
* Fix #21532: Check if template return is untyped (#22517)SirOlaf2023-08-232-0/+11
| | | | | | | | | * Don't ignore return in semTemplateDef * Add test --------- Co-authored-by: SirOlaf <>
* allow tuples and procs in 'toTask' + minor things (#22530)Andreas Rumpf2023-08-222-3/+3
|
* fix #22492 (#22511)Hamid Bluri2023-08-2211-20/+22
| | | | | | | | | | | | | | | | | | | | | | | | | * fix #22492 * Update nimdoc.css remove scroll-y * Update nimdoc.out.css * Update nimdoc.css * make it sticky again * Update nimdoc.out.css * danm sticky, use fixed * Update nimdoc.out.css * fix margin * Update nimdoc.out.css * make search input react to any change (not just keyboard events) according to https://github.com/nim-lang/Nim/pull/22511#issuecomment-1685218787
* allow non-pragma special words as user pragmas (#22526)metagn2023-08-213-11/+29
| | | | | allow non-pragma special words as macro pragmas fixes #22525
* fix getNullValue for cstring in VM, make other VM code aware of nil cstring ↵metagn2023-08-214-6/+53
| | | | | | | | | | | | | (#22527) * fix getNullValue for cstring in VM fixes #22524 * very ugly fixes, but fix #15730 * nil cstring len works, more test lines * fix high
* use old typeinfo generation for hot code reloading (#22518)metagn2023-08-203-3/+7
| | | | | * use old typeinfo generation for hot code reloading * at least test hello world compilation on orc
* Fix #21722 (#22512)SirOlaf2023-08-191-6/+8
| | | | | | | | | | | * Keep return in mind for sink * Keep track of return using bool instead of mode * Update compiler/injectdestructors.nim * Add back IsReturn --------- Co-authored-by: SirOlaf <> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* #22514 expand testament option docs (#22516)PhilippMDoerner2023-08-191-6/+55
| | | | | | | | | | | | | | | | | | * #22514 Expand docs on testament spec options The file, line and column options of testament are not in the docs, but can be very important to know. They allow you to specify where a compile-time error originated from. Particularly given that testament assumes the origin to always be the test-file, this is important to know. * #22514 Specify nimout relevance a bit more * #22514 Fix slightly erroneous doc-link * #22514 Add example * #22514 Add some docs on ccodecheck
* Markdown code blocks migration part 9 (#22506)Amjad Ben Hedhili2023-08-196-91/+91
| | | | | * Markdown code blocks migration part 9 * fix [skip ci]
* replace getOpt with getopt (#22515)Nan Xiao2023-08-196-6/+6
|
* Remove Deprecated Babel (#22507)Juan Carlos2023-08-191-4/+2
|
* Fix #22366 by making nimlf_/nimln_ part of the same line (#22503)Alberto Torres2023-08-181-2/+2
| | | Fix #22366 by making nimlf_/nimln_ part of the same line so the debugger doesn't advance to the next line before executing it
* Add staticFileExists and staticDirExists (#22278)Tomohiro2023-08-184-0/+27
|
* make float32 literals stringifying behave in JS the same as in C (#22500)ringabout2023-08-172-5/+9
|
* cascade tyFromExpr in type conversions in generic bodies (#22499)metagn2023-08-172-5/+15
| | | fixes #22490, fixes #22491, adapts #22029 to type conversions
* bump checksums (#22497)ringabout2023-08-171-1/+1
|
* fixes syncio document (#22498)Nan Xiao2023-08-171-2/+2
|
* fixes #22441; build documentation for more modules in the checksums (#22453)ringabout2023-08-171-0/+3
| | | Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* close #22748; cursorinference + -d:nimNoLentIterators results in err… (#22495)ringabout2023-08-171-0/+46
| | | closed #22748; cursorinference + -d:nimNoLentIterators results in erroneous recursion
* updates manual with codegenDecl on params docs (#22333)Juan M Gómez2023-08-171-3/+2
| | | | | | | | | | | | * documents member * Update doc/manual_experimental.md Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* Fix `seq.capacity` (#22488)Amjad Ben Hedhili2023-08-171-2/+2
|
* fixes #22357; don't sink elements of var tuple cursors (#22486)ringabout2023-08-161-1/+3
|
* fixes #22481; fixes `card` undefined misalignment behavior (#22484)ringabout2023-08-151-1/+3
| | | | | | | | | * fixes `card` undefined misalignment behavior * Update lib/system/sets.nim --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* When in object handles procedure call again, fixes #22474 (#22480)Jason Beetham2023-08-152-1/+33
| | | Ping @narimiran please backport to the 2.0 line.
* update test command of important packages (#22485)ringabout2023-08-151-6/+6
|
* Markdown code blocks migration part 8 (#22478)Andrey Makarov2023-08-1546-630/+726
|
* Add Linux constant SO_BINDTODEVICE (#22468)Emery Hemingway2023-08-143-0/+3
|
* fixes #22469; generates nimTestErrorFlag for top level statements (#22472)ringabout2023-08-143-2/+22
| | | fixes #22469; generates `nimTestErrorFlag` for top level statements
* fixes CI (#22471)ringabout2023-08-143-4/+4
| | | | | Revert "fixes bareExcept warnings; catch specific exceptions (#21119)" This reverts commit 9207d77848d6f5db3635ae64f3cd4972cdbe3296.
* fixes syncio document (#22467)Nan Xiao2023-08-141-2/+2
|
* fixes bareExcept warnings; catch specific exceptions (#21119)ringabout2023-08-133-4/+4
| | | | | * fixes bareExcept warnings; catch specific exceptions * Update lib/pure/coro.nim
* relax the parameter of `ensureMove`; allow let statements (#22466)ringabout2023-08-123-4/+6
| | | | | * relax the parameter of `ensureMove`; allow let statements * fixes the test
* documents member (#22460)Juan M Gómez2023-08-121-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | * documents member * Apply suggestions from code review Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * Update doc/manual_experimental.md * Update doc/manual_experimental.md * Update doc/manual_experimental.md * Update doc/manual_experimental.md * Update doc/manual_experimental.md * Update doc/manual_experimental.md --------- Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* better initialization patterns for seminst (#22456)ringabout2023-08-121-14/+5
| | | | | | | * better initialization patterns for seminst * Update compiler/seminst.nim * Update compiler/seminst.nim
* replace `doAssert false` with `raiseAssert` in lib, which works better with ↵ringabout2023-08-1122-34/+34
| | | | strictdefs (#22458)
* fix #22448 Remove `structuredErrorHook` temporary in `tryConstExpr` (#22450)Pylgos2023-08-112-0/+20
| | | | | * fix #22448 * add test
* unpublic the sons field of PType; the precursor to PType refactorings (#22446)ringabout2023-08-1121-76/+94
| | | | | | | | | | | * unpublic the sons field of PType * tiny fixes * fixes an omittance * fixes IC * fixes
* refactor `result = default(...)` into object construction (#22455)ringabout2023-08-111-10/+4
|
* close #17045;Compiler crash when a tuple iterator with when nimvm is … ↵Bung2023-08-111-0/+28
| | | | | (#22452) close #17045;Compiler crash when a tuple iterator with when nimvm is iterated in a closure iterator
* close #18103 internal error: inconsistent environment type (#22451)Bung2023-08-111-0/+35
|
* modernize lambdalifting (#22449)ringabout2023-08-111-9/+6
| | | | | * modernize lambdalifting * follow @beef331's suggestions
* `initNodeTable` and friends now return (#22444)ringabout2023-08-1115-64/+51
|
* fixes move sideeffects issues [backport] (#22439)ringabout2023-08-102-3/+33
| | | | | | | * fixes move sideeffects issues [backport] * fix openarray * fixes openarray
* replaces `doAssert false` with `raiseAssert` for unreachable branches, which ↵ringabout2023-08-1021-42/+34
| | | | | works better with strictdefs (#22436) replaces `doAssert false` with `raiseAssert`, which works better with strictdefs
* `getTemp` and friends now return `TLoc` as requested (#22440)ringabout2023-08-106-77/+60
| | | getTemp and friends now return `TLoc`
* adds support for functor in member (#22433)Juan M Gómez2023-08-102-1/+17
| | | | | * adds support for functor in member * improves functor test
* fixes a typo (#22437)ringabout2023-08-101-1/+1
|
* fix #19304 Borrowing std/times.format causes Error: illformed AST (#20659)Bung2023-08-105-29/+80
| | | | | | | | | * fix #19304 Borrowing std/times.format causes Error: illformed AST * follow suggestions * mitigate for #4121 * improve error message