summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* move threads out of system (#20674)ringabout2022-10-2915-391/+425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move syslocks first * progress * clean up * go on * clean up * clean up * add imports syslocks * remove documentation * public deallocOsPages * fixes genode * fixes more * fixes boehmGC * cover more cases * fixes cyclic deps * fixes genode * cleanup * unpublic fields * cleanup * clean up
* fix #20148 implicit compile time conversion int to ranged float cause… ↵Bung2022-10-292-1/+12
| | | | | (#20698) fix #20148 implicit compile time conversion int to ranged float causes compiler fatal error
* fix #16264 low(Time) OverflowDefect (#20552)Bung2022-10-292-1/+3
| | | fix #16264 regression(0.18.0 => devel): import times; echo low(Time) gives OverflowDefect
* enable weave (#20692)ringabout2022-10-291-1/+1
|
* alternate fix + test for #12094, refs #13804 (#20686)metagn2022-10-293-3/+13
|
* add back discard as a way to do multiline comments, see #12352 (#20688)Pietro Peterlongo2022-10-281-0/+12
|
* fixes #20681; add efSkipFieldVisibilityCheck to skip check (#20639)ringabout2022-10-287-47/+50
| | | | | | | | | | | | | | | | | * don't sem const objectConstr defaults * fixes * add `efSkipFieldVisibilityCheck`; fixes nkBracket types * fixes #20681 * fixes tests * suggestion from @metagn * fixes tests Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* Fix #20628 for Windows (#20667)Andrey Makarov2022-10-287-38/+41
| | | | | | | * Fix #20628 for Windows * Move isRegular - !isSpecial and onlyRegular - skipSpecial * Forgot to change it in 1 more place
* openssl 3 support no longer opt in + some 1.0 support (#20668)metagn2022-10-274-53/+103
| | | | | | | | | | | | | | | * Revert "Add OpenSSL 3 support (#19814)" This reverts commit 2dcfd732609a2cfa805e5a94cc105399a2f18632. * openssl 3 support no longer opt in + some 1.0 support * hopefully fix * maybe fix * final attempt * actual fix hopefully
* fixes type check of ranges for default fields (#20660)ringabout2022-10-272-2/+15
|
* int128.nim fix warnings (#20666)Juan Carlos2022-10-271-5/+4
| | | | | | | * Silence warning false positive for int128.nim: Warning: target type is larger than source type * Silence warning false positive for int128.nim: Warning: target type is larger than source type * https://github.com/nim-lang/Nim/pull/20666#discussion_r1006162835
* Added openarray[char] overloads to std/unicode (#20648)Jason Beetham2022-10-272-46/+418
| | | | | | | | | | | | | | | | | * Added openarray[char] overloads to std/unicode Call substr instead of index slice inside unicode Added substr overload for openarray for parity with string functionality Made style checker happies and fixed overloads for substr * Added update to changelog [skip ci] * Inline unicode string operations * Moved substr overload to unicode Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #6637 array index type depends generic (#20673)Bung2022-10-272-1/+10
|
* cleanup os related documentation links (#20663)ringabout2022-10-273-27/+12
| | | cleanup documentation links
* add changelog for new modules (#20675)ringabout2022-10-271-2/+4
|
* Documentation only, koch (#20665)Juan Carlos2022-10-271-1/+1
| | | | | * Fix doc about Travis CI * Rerun ci
* add test case for #500 (#20661)Bung2022-10-261-0/+8
|
* fixes #19201; fixes sink causes crash in VM (#20658)ringabout2022-10-252-2/+8
|
* fixes #20654 FAMs should not be used in the C++ backend (#20655)Juan M Gómez2022-10-251-1/+3
| | | | | * fixes #20654 FAMs should not be used in the C++ backend * updates the test so it only affects clang
* closes #6213 #11777; add testcase (#20656)ringabout2022-10-251-0/+27
|
* clean up `std/os` related modules (#20651)ringabout2022-10-256-157/+140
| | | | | | | | | * clean up `std/os` related modules * use `cmpPaths` * reset * cleanup
* Change both code snippets to use the same test URL (#20647)Saint2022-10-251-1/+1
|
* fix #12094 Use of _ (as var placeholder) inside a template causes XDe… ↵Bung2022-10-251-1/+2
| | | | | (#20635) fix #12094 Use of _ (as var placeholder) inside a template causes XDeclaredButNotUsed
* Implement Unix file regularity check (#20448) (#20628)Andrey Makarov2022-10-257-45/+107
| | | | | * Implement Unix file regularity check * update std/dirs also
* add type check for default fields (#20652)ringabout2022-10-252-2/+32
|
* fixes #1027; disallow templates to use ambiguous identifiers (#20631)ringabout2022-10-244-0/+26
| | | | | | | | | | | | | | | | | | | | * test qualifiedLookUp in templates * check later * add testcase * add 4errormsg * Update tests/template/m1027a.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> * Update tests/template/m1027b.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* fixes #20645 (#20646)Andreas Rumpf2022-10-243-7/+24
| | | | | * fixes #20645 * better bugfix
* Added 'openArray[char]' overloads to 'std/parseutils' (#20527)Jason Beetham2022-10-248-172/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 'openarray[char]' overloads to 'std/parseutils' * Removed redundant `start` and `last` params from slice using procs * Fixed type for parseIdent overload * fixed one by off with 'substr' * removed missed start parameters for procedures * Added 'openarray[char]' overloads to 'std/parseutils' * Removed redundant `start` and `last` params from slice using procs * Fixed type for parseIdent overload * fixed one by off with 'substr' * removed missed start parameters for procedures * Fixed VM op to work with new 'opcSlice' * Corrected captureBetween's logic to work with openarray * js sys's parsefloat logic now uses openarray Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* Add better error messages to `std/jsonutils` (#20629)Jake Leahy2022-10-241-7/+7
| | | | | * Add better error messages * Add fmt on tuple msg
* fix fwrite prototype (#20644)Jacek Sieka2022-10-242-2/+2
| | | | | | | | | * fix fwrite prototype * Update lib/std/syncio.nim Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* fixes #19278; make `privateAccess` work with generic ref object (#20640)ringabout2022-10-243-3/+18
| | | | | * fixes #19278; make `privateAccess` work with generic ref object * fixes
* fixes the typical (not a == b) bug in the documentation (#20643)ringabout2022-10-241-2/+2
| | | | | * fixes the typical (not a == b) bug; uses runnableExamples * cannot add runnableExamples
* Fix tuple size check in `std/jsonutils` (#20637)Jake Leahy2022-10-242-3/+19
| | | | | | | | | | | * Add test for tuple being invalid size * Test tuple size before accessing fields * Fix formatting for import * Fix not being able to build from csources_v1 Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* borrowed procs can have a body now for documentation generation (#20617)ringabout2022-10-242-3/+20
| | | | | * borrowed procs can have a body now * fixes examples
* Fix double defer with break in closureiterators [backport] (#20630)Tanguy2022-10-242-0/+32
| | | | | | | Fix double defer with break in closureiterators Signed-off-by: Tanguy <tanguy@status.im> Signed-off-by: Tanguy <tanguy@status.im>
* Pass json options to hooks (#20638)Jake Leahy2022-10-242-14/+38
| | | | | | | | | | | * Added tests * Fix expected string * Allow hooks to take an optional parameter that is the current options * Add options to hooks for other generic types * Fix doc links
* Remove side-effects from sysFatal with panics on (#20632)Tanguy2022-10-242-16/+25
|
* closes #4678; add testcase (#20634)ringabout2022-10-241-0/+16
|
* closes #4466; add testcase (#20625)ringabout2022-10-231-0/+9
|
* improve error message when using `toTask` with a call with a return value ↵ringabout2022-10-231-1/+2
| | | | (#20622)
* 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