summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Feature/xmltree additions (#20988)Michael Voronin2022-12-229-3/+552
| | | | | | | * [change] add/insert/delete family of xmltree expanded with several variations. Added replace methods family * [change] Lifted child limitations on insert methods (consulted with @araq) * [tests] add/insert/replace/delete of xmltree XmlNodes tests added
* fixes #20244; fixes castSizes warnings (#21102)ringabout2022-12-224-3/+20
| | | | | | | | | | | | | | | | | * fixes #20244; fixes castSizes warnings * fixes js * fixes js * fixes js * fixes * typo * extend using uint64 * Update lib/std/syncio.nim
* Use `ErrorColor` when a warning that is turned into an error is raised (#21131)Jake Leahy2022-12-221-1/+2
| | | Use ErrorColor when a warning that is turned into an error is raised
* fix #16541 (#21148)Bung2022-12-222-0/+14
|
* Implement setLineInfo (#21153)Peter Munch-Ellingsen2022-12-226-5/+72
| | | | | * Implement setLineInfo * Add tests
* fixes #21144; try expression will not match the less indentation except (#21152)ringabout2022-12-212-1/+30
| | | fixes #21144; try expression will not match the less indent except
* bump csource_v2 to include fixes for macos m1 (#21147)ringabout2022-12-211-1/+1
|
* ucpu fix-up for arm64 value on macos m1 (#21142)Luca Guzzon2022-12-201-0/+3
|
* fixes #19292; fixes #21122; fixes putEnv and setEnv with vcc (#21143)ringabout2022-12-203-15/+25
| | | | | * fixes #19292; fixes 21122; fixes putEnv and setEnv with vcc * add a test
* fix #20248;fix #6215;turns into simple CT error (#21141)Bung2022-12-202-0/+16
|
* disable "Warning: gc is deprecated" in compiler (#21137)ringabout2022-12-201-0/+2
| | | | | * disable "Warning: gc is deprecated" in compiler * Apply @tersec 's suggestion
* fix #21109 (#21127)Bung2022-12-192-0/+15
|
* add changelog for the new strict function checking algorithm (#21129)ringabout2022-12-191-0/+2
| | | add changelog for the new strict function checking
* close #11705; add a testcase (#21128)ringabout2022-12-181-0/+17
|
* fixes misplaced changelog entries; pre-existing issue (#21125)ringabout2022-12-172-33/+19
| | | | | * move misplaced changelog entries to the right place * fixes misplaced changelog
* remove unused imports (#21126)ringabout2022-12-171-2/+0
|
* add 2.0 changelog (#21107)ringabout2022-12-172-293/+324
| | | [backport: 2.0] add v2.0 changelog
* fixes #21116; always mangles the param (#21121)ringabout2022-12-173-6/+12
| | | | | | | | | * fixes #21116; always mangles the param * idOrSig * fixes tests * Apply suggestions from code review
* Nim now ships nimble with 0.14.1 version (#21120)ringabout2022-12-171-1/+1
| | | | | * Nimble now uses latest patch * Update koch.nim
* Bump the devel version to 1.9.1 (#21117)ringabout2022-12-161-2/+2
|
* bump csource_v2 hash (#21118)ringabout2022-12-161-1/+1
|
* fix #12122 (#21096)Bung2022-12-1623-140/+140
|
* csource building prefers `bin/nim` (#21115)ringabout2022-12-161-2/+13
|
* the devel branch now uses csources_v2 (#21108)ringabout2022-12-164-6/+7
| | | | | | | * the devel branch now uses csources_v2 * fixes hash * bump csources_v2
* fixes chronicles (#21114)ringabout2022-12-161-1/+1
|
* Check file exists in `{.compile.}` pragma (#21105)Jake Leahy2022-12-152-2/+10
| | | | | | | | | * Add test * Check file exists before adding it into compilation * Make error message look like other error messages i.e. following the format `error msg: file`
* fix #20588 (#21104)Bung2022-12-152-0/+24
|
* Make async stacktraces less verbose (#21091)Jake Leahy2022-12-156-63/+33
| | | | | | | | | | | | | | | | | | | | | | | * Name iterators something human readable Remove intermediate async procs from stacktraces Clean async traceback message from reraises message * Remove unused import/variable * Fix failing tests Don't add {.stackTrace: off.} to anonymous procs (They already don't appear in stacktrace) * Fix failing tests in pragma category Now check that the nim is a routine type first so we don't run into any assertion defects * Hide stack trace pragma in docs and update doc tests User doesn't need to know if something won't appear so this more becomes verbose noise If this is a bad idea we can always add a `when defined(nimdoc)` switch so we don't add {.stackTrace: off.} to the Future[T] returning proc for docs
* fix #19580; add warning for bare except: clause (#21099)ringabout2022-12-1514-26/+50
| | | | | | | | | | | | | | | | | | | | | * fix #19580; add warning for bare except: clause * fixes some easy ones * Update doc/manual.md * fixes docs * Update changelog.md * addition * Apply suggestions from code review Co-authored-by: Jacek Sieka <arnetheduck@gmail.com> * Update doc/tut2.md Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
* generic `define` pragma + string alias (#20979)metagn2022-12-138-53/+218
| | | | | | | | | * generic `define` pragma + string alias * clean * add tests and document * remove char/float, minimize changelog
* Fix #20416. Enable the recursion limit for ref/ptr types. (#21092)Aditya Siram2022-12-132-4/+34
|
* Document that system:pop() may raise IndexDefect (#21070)Xavier Noria2022-12-132-3/+5
| | | | | * Document system:pop() may raise IndexDefect * Add backticks to KeyError
* JS backend properly extends string with `setLen` (#21087)Jake Leahy2022-12-132-1/+14
| | | | | * Add test case * Extend string with '0' when setting length to be longer
* Refactor JS sourcemap generator (#21053)Jake Leahy2022-12-133-373/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Parse the new line format * Fix pattern Didn't have space after the path * Remove duplicate sources Sources would sometimes double up with a new line at the end * Remove unused variable * Refactor sourcemap.nim Removes the multiple translations needed, now goes from single high level type to the final SourceMap Adds documentation for procs * Line numbers line up properly now Files aren't linking correctly though * Files now link up correctly Lines are sometimes off but overall seems pretty good Just need to implement parser * Add column info to output Add sourceMappingURL to rope directly to prevent copy * Properly handle columns * Remove debug lines * Add testcase * Finish testcase * Use the outdir folder instead of the folder the test is in to find the sourcemap Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* add CI for version-2-0 branch (#21084)ringabout2022-12-131-0/+1
|
* Nimsuggest now defines the backends symbol (#21083)Jake Leahy2022-12-123-2/+13
| | | | | | | * Add testcase * Define the backend symbol * Remove unneeded whitespace
* fixes #21043; fixes a named exception in the infixAs expression which ↵ringabout2022-12-123-1/+27
| | | | | | | | | | | generate an implicit uninitialized let statement (#21081) * fixes #21043; fixes a named exception in the infixAs expression which generate an implicit uninitialized let statement * Update compiler/sempass2.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* remove implicitDeref feature enum (#21075)ringabout2022-12-121-2/+1
| | | remove implicitDeref feature
* add a changelog for nimble (#21078)ringabout2022-12-121-3/+1
|
* work around chronos (#21079)ringabout2022-12-121-1/+1
| | | | | | | | | * work around chronos chronos has tests against the devel branch, it will be eventually fine. * Apply suggestions from code review * Update testament/important_packages.nim
* closes #20808 (#21077)Andreas Rumpf2022-12-121-0/+35
|
* Docs expand `using` parameters (#21076)Jake Leahy2022-12-126-10/+52
| | | | | | | | | | | | | | | * Trying to fix by changing renderer * add renderExpandUsing flag This flag makes the renderer expand parameters that use using statement to have their full type * Update docs * Make comment better explain why checking for nkSym * Fix nil access when macro/template has parameter with no type * Fix nil access when node is not semmed yet
* ship a modern nimble with lock files support (#21061)ringabout2022-12-124-5/+5
| | | | | | | | | | | | | | | | | | | | | | | * change `include genode/env` to an import ref https://github.com/nim-lang/Nim/commit/0b262e9496387d5e8adc0c5f6020b3f3300e8f79#diff-8718bd20d8f61d6638d3d64b19efc31bcd40a6d5be8215b2a1f0b75ed93e8d56 * fixes comments * ship a modern nimble with lock files support * not sure whether the latest nimble has a regression now I'm trying 0.14.0 * change `pkgs` to `pkgs2` (#21073) * overwrite problematic packages * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review
* fix #15836 proc arg return type auto unexpectly match proc with concr… ↵Bung2022-12-1212-12/+74
| | | | | | | | | (#21065) * fix #15836 proc arg return type auto unexpectly match proc with concrete type * fix #16244 * add test case for #12869
* alternative, much simpler algorithm for strict func checking (#21066)Andreas Rumpf2022-12-1114-78/+187
| | | | | | | | | | | | | * alternative, much simpler algorithm for strict func checking * forgot to git add new compiler module * new spec is incredibly simple to describe * fixes bigints regression * typos * closes #16305; closes #17387; closes #20863
* `multisync` now allows tuples in return type (#21074)Jake Leahy2022-12-112-2/+21
| | | | | | | * Add test case * Use .toStrLit() on param node first This means that more complex types are fully rendered
* fix #16758 Nim crashes in fixAbstractType (#20855)Bung2022-12-112-0/+41
| | | | | | | | | * fix #16758 Nim crashes in fixAbstractType * Update compiler/semexprs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056)ringabout2022-12-105-22/+51
| | | | | * fix #21045 getTime with vmopsDanger is broken; alternative to #21054 * typo
* clean up the documentation of threads (#21067)ringabout2022-12-102-18/+1
| | | | | * clean up the documentation of threads * cleanup
* fixes #21062 (#21068)Andreas Rumpf2022-12-101-2/+3
|