summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Weekday parse/format (replacement) (#21857)Carlo Capocasa2023-05-213-79/+134
| | | | | * parsing capability for iso week year * remove outdated test
* Fixed generic parameters failing to be used in inheritance (#21866)Jason Beetham2023-05-212-11/+63
|
* implements: "Allow bycopy to work in params #21874" (#21877)Juan M Gómez2023-05-213-4/+9
| | | | | | | | | * implements: "Allow bycopy to work in params #21874" * Update compiler/pragmas.nim --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* implements allow byref to work in params #21873 (#21875)Juan M Gómez2023-05-218-52/+76
|
* remove legacy define for zero_functional tests (#21871)metagn2023-05-211-1/+1
| | | test remove legacy define for zero_functional tests
* Moves virtual under its own section manual_experimental.md (#21870)Juan M Gómez2023-05-201-2/+2
|
* fix #14254 (#21837)metagn2023-05-205-4/+17
| | | | | | | * fix #14254 * use temporary PR branch for neo * fix url
* refactor gettypedesc so it accepts its own kind instead of symkind (#21867)Juan M Gómez2023-05-194-81/+100
|
* potential fix for C++ codegen with ARC/ORC and goto exceptions fixes #21579, ↵heterodoxic2023-05-191-1/+2
| | | | | fixes #21862 (#21868) potential fix for C++ codegen with ARC/ORC and goto exceptions
* Update threadpool.nim with correct link to typedthreads module (#21865)noah edward hall2023-05-191-1/+1
|
* documents virtual (#21860)Juan M Gómez2023-05-191-0/+76
| | | | | | | | | * documents virtual * Apply suggestions from code review --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Cpp Vfunctions draft (#21790)Juan M Gómez2023-05-178-13/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * introduces virtual pragma, modifies proc def, prevents proc decl * marks virtual procs as infix * forward declare vfuncs inside the typedef * adds naked callConv to virtual * virtual proc error if not defined in the same top level scope as the type * first param is now this. extracts genvirtualheaderproc * WIP syntax * supports obj. Removes the need for the prefix * parameter count starts as this. Cleanup * clean up * sem tests * adds integration tests * uses constraint to store the virtual content * introduces genVirtualProcParams --------- Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* tasks that support return values (#21859)Andreas Rumpf2023-05-172-25/+53
| | | tasks.nim: Code cleanups and support expressions that produce a value
* fixes #21847; let `parseFloat` behave like `strtod` (#21854)ringabout2023-05-172-3/+11
|
* fixes #21708; skip colons for tuples in VM (#21850)ringabout2023-05-172-1/+17
| | | | | | | * fixes #21708; skip colon for tuples in VM * skip nimnodes * fixes types
* close #19990; adds a test case (#21853)ringabout2023-05-151-0/+14
|
* fix #21848 (#21852)heterodoxic2023-05-151-7/+8
|
* isolation spec update; WIP (#21843)Andreas Rumpf2023-05-149-15/+284
| | | | | | | | | | | * isolation spec update; WIP * wip * docs update, WIP * progress * Update doc/manual.md
* closes #7590; add a test case (#21846)ringabout2023-05-141-0/+20
|
* improve `wasMoved` hooks; allow reset to use the overridden `wasMoved` hook ↵ringabout2023-05-125-20/+43
| | | | | | | (#21831) * improve `wasMoved` hooks * Because `wasMoved` is lifted
* add getDataDir to std/appdirs.nim (#21754)Ecorous2023-05-121-0/+17
| | | | | | | | | | | * add getDataDir to std/appdirs.nim * reuse `osappdirs.getDataDir` * Update lib/std/appdirs.nim --------- Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* fixes #21840; nested local template lookup regression (#21841)ringabout2023-05-122-7/+81
| | | | | | | * fixes #21840; nested local template lookup regression * use original types * fixes js vm tests
* 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.