summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* enable static tests for topenarray (#20620)ringabout2022-10-231-1/+1
|
* add `std/appdirs` (#20618)ringabout2022-10-222-1/+87
|
* Unpack mSlice tupleconstr for static openarrays (#20615)Jason Beetham2022-10-223-0/+36
|
* fixes a strict case object problem that has been reported on the forum (#20614)Andreas Rumpf2022-10-212-2/+25
|
* add typesafe `std/paths`, `std/files`, `std/dirs`, `std/symlinks` (#20582)ringabout2022-10-216-0/+775
| | | | | | | | | | | | * split std/os; add typesafe std/paths * add more files, dirs, paths * add documentation * add testcase * remove tryRemoveFile * clean up * Delete test.nim * apply changes * add `add` and fixes
* fix #20152 Illegal capture of closure iterator, when should be legal (#20607)Bung2022-10-212-1/+21
|
* fix #19349 incompatible type when mixing float32 and cfloat in generics (#20551)Bung2022-10-212-1/+21
|
* fix #19426 compile error using when/elif/else and typedesc in template (#20550)Bung2022-10-212-0/+17
|
* Add `safe` parameter to `base64.encodeMime` (#20559)Amjad Ben Hedhili2022-10-212-3/+12
| | | | | | | | | | | | | | | | | | * Improve `encodeMime` signature * `string` to `openArray[char or byte]` * `safe` parameter * Fix * Revert "Fix" This reverts commit a394c505c2ab751621c24fd29b17e97c01251c1f. * Remove encodeMime's openArray overload * Document the `safe` parameter * Add changelog entry
* closes #19969; add testcase for #19969 #15952 #16306 (#20610)ringabout2022-10-211-0/+27
| | | closes #19969; add testcase
* implemented strictCaseObjects (#20608)Andreas Rumpf2022-10-216-8/+80
| | | | | * implemented strictCaseObjects * changelog update
* Implemented `mSlice` on the VM allowing `toOpenArray` to work at compile ↵Jason Beetham2022-10-204-30/+204
| | | | | | | | | | | | | | | | | | | | | | | | | time. (#20586) * Implemented opcSlice to make 'toOpenArray' work on the VM * Added nkOpenArray for VM to reduce bodgeness * Fixed range issues and erraneous comments * Range check correctly for openArrays in opcLdArr * Inverted logic for ldArr checking * vm now supports slicing strings * Added string tests * Removed usage of 'nkOpenArray' and redundant operations * Refactored vmSlice implementation, removing redundant and incorrect code * Made tuples go throw opcWrObj for field assignment * All strkinds should be considered for openarrays
* move procs in os to `appdirs` (#20605)ringabout2022-10-202-141/+150
| | | | | * move procs in os to `appdirs` * Update lib/std/private/osappdirs.nim
* change vm imports after bootstrapping (#20602)ringabout2022-10-201-1/+2
|
* enable ggplotnim (#20600)ringabout2022-10-201-1/+1
| | | | ref https://github.com/Vindaar/ggplotnim/pull/151 ref https://github.com/Vindaar/ggplotnim/commit/b1a653b19881edfde5c87db91173c097a6a36dce
* [std/os] split and re-export (#20593)ringabout2022-10-207-2047/+2251
| | | | | | | * [std/os] split and export * move to private modules * fixes docs and tests Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* add measuremancer to important packages (#20599)ringabout2022-10-201-0/+1
| | | | | | | | | | | * add measuremancer to important packages wait for https://github.com/nim-lang/packages/pull/2392 * Update testament/important_packages.nim * Update testament/important_packages.nim * Update testament/important_packages.nim
* [backport] Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent ↵SirOlaf2022-10-182-0/+20
| | | | | | | | | | | | (#20578) * Handle nkOpenSymChoice for nkAccQuoted in considerQuotedIdent * Add test * Update compiler/lookups.nim Co-authored-by: SirOlaf <a> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* refactor envvars, oserrors; register vmops (#20592)ringabout2022-10-185-347/+17
| | | | | * refactor envvars, oserrors; register vmops * remove type definitions
* enable telebot (#20589)ringabout2022-10-181-1/+1
| | | | ref https://github.com/ba0f3/telebot.nim/pull/79 ref https://github.com/ba0f3/telebot.nim/releases/tag/2022.10.18
* fixes niminst with stricteffects; add testcase for niminst (#20587)ringabout2022-10-183-1/+17
| | | fixes niminst with stricteffects; add testcase
* fixes #20572 (#20585)Andreas Rumpf2022-10-1725-70/+116
| | | | | * fixes #20572 * added a test case
* [`std/os` clean up] import and export `osseps` (#20580)ringabout2022-10-174-3/+4
| | | import and export osseps
* Documentation only, dom (#20584)Juan Carlos2022-10-171-0/+31
| | | Add docs to dom
* Fix #12517 Allow single branch when nimvm statements (#20577)Can Lehmann2022-10-172-3/+27
| | | Allow single branch when statements
* Fix "imported but not used" warnings (#20575)Andrey Makarov2022-10-166-7/+7
|
* fixes #20515; base `method` requires explicit `{.gcsafe.}` to be GC-safe ↵ringabout2022-10-162-4/+32
| | | | | | | (#20574) * fixes #20515; base requires explicit `{.gcsafe.}` to be GC-safe * add tests
* enable glob (#20573)ringabout2022-10-161-1/+1
| | | ref https://github.com/haltcase/glob/commit/5cc331043791578e88c9c5d6d0cce0ac419dfcf5
* atomicInc global alloc counters (#20571)Antonis Geralis2022-10-162-9/+9
|
* fixes #19162; enable `strictEffects` for v2 (#19380)ringabout2022-10-1516-39/+38
| | | | | | | | | | | | | | | | | | | * enable stricteffects * add gcsafe * fix tests * use func * fixes pegs tests * explicitly mark repr related procs with noSideEffect * add nimLegacyEffects * change URL * fixes docopt * add `raises: []` to repr * fixes weave * fixes nimyaml * fixes glob * fixes parsetoml * Apply suggestions from code review * Update testament/important_packages.nim * add legacy:laxEffects
* fix #19700 Crash when passing a template to a generic functio… (#20567)Bung2022-10-152-0/+12
| | | fix nim-lang#19700 Crash when passing a template to a generic function expecting a procedure
* fixes changelog for oids (#20565)ringabout2022-10-141-2/+1
|
* fix #8821 JS codegen can produce extreme switch statements with case … ↵Bung2022-10-142-10/+2
| | | | | | | (#20548) * fix #8821 JS codegen can produce extreme switch statements with case a of range * remove totalRange
* fixes #3748 (#20563)Andreas Rumpf2022-10-144-6/+24
| | | | | | | | | * fixes #3748 * fix the regression * don't use the new allocator for the SSL wrapper * fixes regression
* Validate `nimgrep` filter options not empty (#20562)Andrey Makarov2022-10-141-13/+19
|
* follow up #19714; add `memmem` optimizations for `find` on Linux, Macos and ↵ringabout2022-10-131-1/+26
| | | | | | | | | | | | | | | BSDs (#20556) * fixes tests * add memmem optimization for find * fixes * ty[o * fixes `"abc".find("") == 0 doesn't work on macOS Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* fixes #20553; don't format code for stropping identifier (#20561) [backport]ringabout2022-10-133-5/+31
| | | | | | | * fixes #20553; don't format code for stropping identifier * add tests * Update nimpretty/tests/expected/simple.nim
* fix #18136 tests/proc/t17157.nim now gives SIGSEGV instead of error (#20555)Bung2022-10-132-1/+1
|
* add nimPNG to important packages (#20557)ringabout2022-10-131-1/+2
| | | | | | | * try to enable nico since nimPNG works with ORC now ref https://github.com/jangko/nimPNG/commit/2dccf3e19ceb3fdf3f3f415e717d9d336d473a19 * Update important_packages.nim
* fix #18990 Regression in proc symbol resolution; Error: attempting to… ↵Bung2022-10-124-2/+9
| | | | | (#20554) fix #18990 Regression in proc symbol resolution; Error: attempting to call routine
* Return error message in output of gorge/staticExec. (#18942)Dominik Picheta2022-10-122-2/+12
| | | | | * Return error message in output of gorge/staticExec. * Document nimLegacyGorgeErrors in changelog.
* Markdown code blocks migration part 7 (#20547)Andrey Makarov2022-10-1217-414/+429
|
* oids sticks to 24 length strings; fixes breaking changes (#20546)ringabout2022-10-122-8/+8
| | | oids sticks 24 length strings
* move google fonts to the last part (#20541)ringabout2022-10-118-32/+24
| | | | | | | * move google fonts to the last part * fixes tests * fix rst2html
* fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural' (#20522)Bung2022-10-112-2/+11
| | | | | * fix #7446 Generics: type mismatch 'SomeunsignedInt or Natural' * try fix
* 'lock levels' are deprecated, now a noop (#20539)ringabout2022-10-1157-372/+121
| | | | | * 'lock levels' are deprecated, now a noop * fixes tests
* time to make IC work with ORC (here we go again...) (#20538)Andreas Rumpf2022-10-113-11/+40
| | | works for me
* remove unused `userVersion:1.6` which is succeeded by `nimPreviewSlimSystem` ↵ringabout2022-10-101-2/+2
| | | | | in this case (#20535) removed unused userVersion:1.6
* update the maintained repo of ast-pattern-matching (#20537)ringabout2022-10-101-1/+1
|
* refactorings (#20536)Andreas Rumpf2022-10-109-16/+16
| | | | | | | * refactoring * refactoring: removed unused macroUsagesSection * enum instead of bool for better readability