summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* line info for strformat + fix issue with typed templates (#21761)metagn2023-05-023-8/+40
| | | | | * line info in strformat * also fix #20381
* underscore as special word (#21766)metagn2023-05-026-9/+10
| | | | | * underscore as special word * fix really hard to notice error
* cheap fix for #10853 + better tuple subscript error message (#21767)metagn2023-05-025-3/+11
| | | | | | | * cheap fix for #10853 * also better tuple subscript error message * weird
* fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702)ringabout2023-05-0233-91/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move sha1, md5 to nimble packages * boot the compiler * fixes tests * build the documentation * fixes docs * lol, I forgot koch.nim * add `nimHasChecksums` define * clone checksums but maybe copying is better * bump nimble hash * use ChecksumsStableCommit * fixes tests * deprecate them * fixes paths * fixes koch
* Ignore pkgs folder (#21755)Amjad Ben Hedhili2023-05-021-0/+1
|
* implements #21747 (#21748)Juan M Gómez2023-05-022-28/+34
|
* fixes #20144; fixes asyncnet ssl on bsds (#21763)ringabout2023-05-011-2/+5
| | | fixes asyncnet on bsds
* fixes #21483; fixes nim doc skips documentation of annotated elements of ↵ringabout2023-04-295-1/+48
| | | | | | | | | objects (#21743) * fixes #21483; skipPragmaExpr * add a test case for #21483 * fixes HTML
* fix build on haiku (#21752)Al Hoang2023-04-292-2/+2
| | | * missing maxDescriptors
* Save and restore ci_bench cache (#21750)Federico Ceratto2023-04-291-10/+10
|
* closes #21745 (#21746)ringabout2023-04-281-1/+0
|
* improve C/C++ debug output readability (1/N) (#21690)heterodoxic2023-04-284-129/+159
| | | | | * hacky attempt to reconcile default explicit constructors with enforcement of brace initialization, instead of memsetting imported objects to 0 * improve C/C++ debug output readability (1/N)
* handle quoted routine symbols and non symbols expressions as before (#21740)ringabout2023-04-282-2/+14
|
* fixes #21245; warn about destructors that can raise (#21726)Andreas Rumpf2023-04-264-7/+26
| | | | | | | | | * fixes #21245; warn about destructors that can raise * doc update * progress * typo
* fixes broken CI (#21732)ringabout2023-04-261-1/+1
| | | | | * fixes broken CI * Update testament/important_packages.nim
* 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
|