summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* make deprecated statement a no-op (#21836)metagn2023-05-128-56/+48
|
* fixes nightlies regressions; disable `build-id=none` on macos (#21839)ringabout2023-05-121-2/+4
| | | | | * fixes nightlies regressions; disable `build-id=none` on macos * fixes typos
* Add `minmax` to comparisons (#21820)Matt Wilson2023-05-123-0/+18
| | | | | | | | | | | | | | * Add `minmax` to sequtils This adds a `minmax` proc to complement `min` and `max`; it computes both results in a single pass for efficiency. * Update lib/pure/collections/sequtils.nim * Add minmax note to changelog. --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* just set CallNodes = nnkCallKinds, follows up #21829 (#21833)metagn2023-05-111-2/+1
| | | These sets are now equal
* cursor fields cannot form reference cycles (#21832)ringabout2023-05-112-13/+28
| | | | | | | * cursor fields cannot form a reference cycle * fixes typo * fixes position
* Bootstrap: Allow to override number of CPUs (#21823)Tanguy2023-05-111-1/+5
| | | | | * Allow to override number of cpu * NCPU -> NIMCORES
* switch to the official URL of loop-fusion in the impoerant packages (#21830)ringabout2023-05-111-1/+1
| | | ref https://github.com/mratsim/loop-fusion/pull/9
* Add nnkHiddenCallConv to nnkCallKinds (#21781) (#21829)Matt Wilson2023-05-111-1/+3
|
* adds documentation for `=wasMoved` and `=dup` hooks and small fixes (#21827)ringabout2023-05-117-7/+44
| | | | | | | | | | | * adds documentation for `=wasMoved` and `=dup` hooks and small fixes * Update doc/destructors.md * Update doc/destructors.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Improve nimsuggest (#21825)Juan Carlos2023-05-111-1/+1
| | | Small improvement for nimsuggest
* bring #21802 back; fixes #21753 [backport] (#21815)ringabout2023-05-117-26/+174
| | | | | | | | | | | | | * bring #21802 back; fixes #21753 [backport] * adds tests and multiple fixes * add test cases * refactor and remove startId * fixes custom hooks and adds tests * handle tyUncheckedArray better
* clean up SOME pending/xxx/issue link comments (#21826)metagn2023-05-1135-178/+111
| | | | | * clean up SOME pending/xxx/issue link comments * great
* Remove LineTooLong (#21819)Juan Carlos2023-05-117-19/+13
| | | | | | | * LineTooLong refactor to make it actually useful * Improve error message * changelog wording * Fix typo
* make `reset` use the `=destroy` and `wasMoved` pair (#21821)ringabout2023-05-111-1/+9
| | | | | | | | | | | | | * make reset use the `=destroy` and `waMoved` pair * fixes a space * fixes `shrink` instead * tiny fix * fixes vm * suppress the annotations since it breaks some important packages
* fixes links of generic `define` pragma (#21828)ringabout2023-05-112-2/+2
|
* make ORC threadlocal, take two (#21818)Andreas Rumpf2023-05-103-8/+8
| | | | | * ORC: make rootsThreshold thread local [backport] * fixes the regression
* fix #9423 followup #17594: distinct generics now work in VM (#21816)ringabout2023-05-105-19/+40
| | | | | | | | | * fix #9423 distinct generics now work in vm * fixes cpp tests --------- Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* ignore inline hint for dynlib procs in codegen [backport] (#21817)metagn2023-05-091-14/+14
|
* fix nimrtl and nimhcr on arc/orc (#21814)metagn2023-05-095-22/+23
| | | | | | | | | | | * fix/workaround for nimrtl and nimhcr on arc/orc fixes #21803 * try fix clang, debug linux failure * just make duplicated procs not rtl * actual fix for duplicated procs
* Improve and refactor cellseqs_v2 in Nim standard library (#21796)Jordan Gillard2023-05-091-13/+10
| | | | | | | | | | | * Refactor and optimize cellseqs_v2 in Nim standard library * Extract resizing logic into a separate 'resize' procedure for better readability and separation of concerns * Implement realloc for non-threaded cases to improve memory operations efficiency * Use ',' instead of ';' between parameters in 'add' procedure for consistency with other Nim code * Respond to Araq's feedback: Refactor resize function to use reallocShared This commit replaces the usage of allocShared and deallocShared with reallocShared to optimize memory allocation and deallocation while resizing the CellSeq.
* re-enable badssl test (#21775)metagn2023-05-091-4/+4
| | | test reenable badssl
* Add build-id=none for GCC when build for Release (#21808)Juan Carlos2023-05-082-0/+7
| | | | | | | | | | | | | * Add build-id=none to GCC/Clang, unneeded metadata in binaries * Add build-id=none to GCC/Clang, unneeded metadata in binaries * Add build-id=none to Clang * Fix * Fix * Add build-id=none to GCC
* Windows: use __declspec(thread) TLS implementation, it is MUCH faster… ↵Andreas Rumpf2023-05-081-1/+7
| | | | | | | | | (#21810) * Windows: use __declspec(thread) TLS implementation, it is MUCH faster than _Thread_local [backport] * Update lib/nimbase.h * better fix
* documents codegendecl for object types (#21811)Juan M Gómez2023-05-081-2/+25
|
* adds an experimental `mm:atomicArc` switch (#21798)ringabout2023-05-0819-53/+71
|
* fixes #21801; object field initialization with overloaded functions (#21805)ringabout2023-05-082-1/+24
| | | | | * fixes #21801; object field initialization with overloaded functions * use the correct type
* 🚀 Enhancing CellSeq for Better Readability and Maintainability (#21797)Jordan Gillard2023-05-071-8/+11
| | | | | | Refactor and improve readability of CellSeq in system directory * Use half-open range in the contains procedure for better readability and to avoid potential off-by-one errors * Extract resizing logic from add procedure into a separate resize procedure for better code readability and separation of concerns
* revert #21799 and #21802 which don't pass the tests (#21804)ringabout2023-05-074-13/+10
| | | | | | | | | * Revert "ORC: make rootsThreshold thread local [backport] (#21799)" This reverts commit b74d49c037734079765770426d0f5c79dee6cf87. * Revert "fixes #21752 [backport] (#21802)" This reverts commit d0c62fa169f3970653ce0d5bbd16e123efb24251.
* fixes #21280; Enum with int64.high() value crashes compiler (#21285)ringabout2023-05-062-1/+14
| | | | | | | | | | | | | | | * fixes #21280; Enum with int64.high() value crashes compiler * Update tests/enum/tenum.nim * Update tests/enum/tenum.nim * fixes tests * Update tests/enum/tenum.nim --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* implement `=dup` hook eliminating `wasMoved` and `=copy` pairs (#21586)ringabout2023-05-0612-17/+170
| | | | | | | | | | | | | | | | | | | * import `=dup` hook eliminating `wasMoved` and `=copy` pairs * add dup * add a test for dup * fixes documentation * fixes signature * resolve comments * fixes tests * fixes tests * clean up
* some Token refactors (#21762)metagn2023-05-065-33/+28
| | | | | | | | | | | | | | | * test some Token refactors * fix CI * showcase for more reductions, will revert * Revert "showcase for more reductions, will revert" This reverts commit 5ba48591f4d53e8d83a27de8b03d26c6178dd3d1. * make line and column int32 * remove int32 change
* fixes #21753 [backport] (#21802)Andreas Rumpf2023-05-061-3/+6
|
* Fix some `styleCheck` bugs (#20095)quantimnot2023-05-066-6/+73
| | | | | | | | | | | refs #19822 Fixes these bugs: * Style check violations in generics defined in foreign packages are raised. * Builtin pragma usage style check violations in foreign packages are raised. * User pragma definition style check violations are not raised. Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* fixes #21704; remove nfIsRef for genLit in VM (#21765)ringabout2023-05-062-0/+70
| | | | | | | | | | | | | * fixes #21704; remove `nfIsRef` for genLit * remove nfIsRef from the output of macros * make the logic better * try again * act together * excl nfIsRef
* ORC: make rootsThreshold thread local [backport] (#21799)Andreas Rumpf2023-05-063-7/+7
|
* Document about size pragma (#21794)Tomohiro2023-05-061-0/+31
| | | | | | | | | | | | | * Document about size pragma * Fix typos * Fix manual.md * Update doc/manual.md --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Update the Nim Manual compile pragma with the second tuple form (#21773)Daniel Belmes2023-05-051-0/+6
| | | | | * Update the nim manual compile pragma with the second tuple form of * Incorrectly put 'two' forms
* fixes #21792; enable checks for sum, prod, cumsummed and cumsum (#21793)ringabout2023-05-052-61/+78
| | | | | | | * enable checks for sum, prod, cumsummed and cumsum * fixes #21792 * add test cases
* adds `koch --skipIntegrityCheck boot` support (#21795)ringabout2023-05-052-4/+12
| | | add `koch --skipIntegrityCheck boot` support
* consistent use of scForceOpen for generic dot field symbols (#21738)metagn2023-05-054-12/+73
| | | | | | | | | | | | | | | | | | | | | * always force open generic dot field symbols? fixes #21724 but might break code * alternative, should fix CI * other alternative, add test for previous CI failure * not needed * make sure call doesn't compile too * ok actual second test * ok final actual correct test * apply performance idea * don't make fromDotExpr static
* build documentation for `checksums/md5` and `checksums/sha1` (#21791)ringabout2023-05-044-4/+8
| | | | | * build documentation for md5 and sha1 * fixes documentation reference
* fixes #21780 [backport:1.6] (#21785)Andreas Rumpf2023-05-041-4/+4
| | | | | * fixes #21780 [backport:1.6] * complete patch
* Benchmark CI: drop id (#21787)Federico Ceratto2023-05-041-2/+0
|
* amends #21690 to fix broken Nim to C++ source line mappings (#21784)heterodoxic2023-05-044-124/+125
| | | resync fork
* minor cleanup vmprofiler (#21783)ringabout2023-05-041-1/+1
|
* adds checksums to important packages (#21782)ringabout2023-05-042-1/+2
|
* error on user pragma args (#21776)metagn2023-05-032-1/+10
| | | closes #20978
* closes #21778; document `threading/channels` (#21779)ringabout2023-05-031-1/+1
|
* closes #21771; fixes the link (#21777)ringabout2023-05-031-1/+1
| | | closes #21771
* closes #10108; add a test case (#21770)ringabout2023-05-031-10/+22
|