summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* ref #20694; quit value gets saturated to ranges (#20753)ringabout2022-11-0516-64/+95
| | | | | | | | | | | | | | | | | | | | | * quit value gets saturated to ranges * add documentation * minimal changes * refactor * small fix * add documentation * fixes * Update lib/system.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* fix posix.mq_receive compilation with cpp backend (#20710)n5m2022-11-053-25/+85
| | | | | | | | | | | | | | | | | * fix posix.mq_receive compilation with cpp backend * only enable runnableExample on posix * linux, not posix * simplify example * add test * mqueue.h does not exist on MacOS * place test case in own block * drop runnableExamples
* Support doc comments in new-styled concepts (#20752)konsumlamm2022-11-042-0/+5
| | | Support comments in new-styled concepts
* Fix #18079 Illegal storage access compiling call with nested ref/deref (#20738)Bung2022-11-044-9/+38
| | | | | | * add test case * refactoring transformAddrDeref and fix #18079 * fix jsgen
* revert #20719; relieve `std/assertions` of the `sysFatal` dep (#20743)ringabout2022-11-045-28/+27
| | | | | | | * Revert "make `system/fatal` importable (#20718)" This reverts commit d735c447d35948ef6fda8270d1665cbd66c4636a. * relieve `std/assertions` of the sysFatal dep
* add `effectsOf` to `std/tables` (#20751)ringabout2022-11-041-2/+6
|
* add a testcase for laxeffects (#20750)ringabout2022-11-041-0/+11
|
* Uri.isIpv6 exported (#20736)Juan Carlos2022-11-032-1/+2
| | | | | * Export Uri.isIpv6 * Export Uri.isIpv6
* Improve dollar IpAddress (#20729)Juan Carlos2022-11-032-10/+17
| | | | | | | | | | | | | | | * Improve dollar * Improve dollar * Simplify, remove 1 if in for loop * ci * Update lib/pure/net.nim * Update lib/pure/net.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Improve dollar int (#20737)Juan Carlos2022-11-031-1/+3
| | | Improve dollar
* fixes #15688; handle `strongSpace` overflow issues (#20724)ringabout2022-11-036-20/+24
| | | | | | | * fixes #15688; handle `strongSpace` overflow issues * stop at 1 * change the type of strongSpaceA to bool
* fixes #20740; fixes pre-existing field visibility issues and removes ↵ringabout2022-11-035-11/+28
| | | | | `efSkipFieldVisibilityCheck` (#20741) fixes #20740 pre-existing field visibility and refactoring
* nim-gdb: remove unnecessary quotes and fix uname (#20739)Xiao-Yong2022-11-031-1/+1
|
* closes #13618; add testcase (#20734)ringabout2022-11-021-0/+6
|
* Export FileMode (#20726)Antonis Geralis2022-11-021-0/+1
|
* closes #14216; add testcase (#20733)ringabout2022-11-021-0/+39
|
* closes #16331; add testcase (#20730)ringabout2022-11-021-0/+12
|
* fix sighashes for generic ref (#20723)Jacek Sieka2022-11-011-1/+2
| | | | the `hashType` issue in #12229 was never really fixed - it just stopped being called in that context
* fixes ssl static link regression (#20722)ringabout2022-11-011-1/+5
|
* fixes #20526; use `nimPreviewSlimSystem` for documentation build (#20714)ringabout2022-11-0116-5/+39
| | | | | | | * fixes #20526; use `nimPreviewSlimSystem` for `koch docs` * fixes documentation errors * fixes remaning issues
* change `include genode/env` to an import (#20721)ringabout2022-11-012-2/+2
| | | | | | | * change `include genode/env` to an import ref https://github.com/nim-lang/Nim/commit/0b262e9496387d5e8adc0c5f6020b3f3300e8f79#diff-8718bd20d8f61d6638d3d64b19efc31bcd40a6d5be8215b2a1f0b75ed93e8d56 * fixes comments
* fix semcase on tySequence and tyObject #20283 #19682 (#20339)Bung2022-11-014-8/+41
| | | | | | | | | | | | | * fix semcase on tySequence and tyObject #20283 #19682 * use better arg name * avoiding returns nil use errorNode instead, clean code * use efNoDiagnostics flag * remove tests/errmsgs/t19682.nim * combine 2 test cases to one file
* refactor os imports into corresponding small modules (#20720)ringabout2022-11-018-8/+11
|
* make `system/fatal` importable (#20719)ringabout2022-11-013-16/+15
|
* fix #20272 range of uint64 shows signed upper bound (#20702)Bung2022-11-012-1/+8
|
* Improve dollar (#20672)Juan Carlos2022-10-312-31/+52
| | | | | | | | | | | | | | | | | | | | | | | * Improve dollar for uri * Refactor * . * . * verde * optimize * https://github.com/nim-lang/Nim/pull/20672#issuecomment-1295440246 [skip ci] * https://github.com/nim-lang/Nim/pull/20670#issuecomment-1295937393 * ci * Update lib/pure/uri.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Improve getDataUri (#20670)Juan Carlos2022-10-311-4/+12
| | | | | | | * Improve getDataUri * Restart ci * https://github.com/nim-lang/Nim/pull/20670#issuecomment-1295937393
* Genode: add scheduleCallbacks to asyncdispatch (#20708)ehmry2022-10-315-3/+188
| | | | | | | | | * Genode: add native signal handler * Genode: add scheduleCallbacks to asyncdispatch This resolves some awkwardness where an RPC server may or may not use callSoon while dispatching RPC but without scheduling timers or I/O.
* fixes #20715; range[a..b] inside object variant fails (#20716)ringabout2022-10-312-5/+36
| | | | | | | | | | | * fixes #20715; range[a..b] inside object variant fails * step one fix * better fix * fixes private fields * mistake
* fix closure iter state table init type [backport] (#20717)Jacek Sieka2022-10-311-1/+1
| | | | | | | fix closure iter state table init type It is a well-known fact that using closed intervals for ranges is logically, objectively and eternally wrong, as evidenced by this off-by-one.
* allow deferred close of nil stream (#20706)n5m2022-10-312-4/+20
| | | | | * allow deferred close of nil stream * improve example
* removes channels_builtin when enabling `nimPreviewSlimSystem` (#20713)ringabout2022-10-317-18/+9
|
* put std/threads under the umbrella of nimPreviewSlimSystem (#20711)ringabout2022-10-3113-19/+33
| | | | | | | | | | | * put `std/threads` under the umbrella of `nimPreviewSlimSystem` * add changelog * fixes tests * fixes tests again * fixes tests
* follow up #20668; fixes nightlies (#20701)ringabout2022-10-311-4/+5
|
* fix dispatcher call type [backport] (#20696)Jacek Sieka2022-10-291-0/+1
| | | | | | fix dispatcher call type The call node should have the type of the dispatcher, not the static call
* 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
|