summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* dom: remove X* = ref XObj [backport] (#20910)metagn2022-11-291-76/+37
| | | dom: remove X* = ref XObj
* fix #20969 - making vcc work again with cpp backend (#20970)rockcavera2022-11-291-2/+2
| | | Update sysatomics.nim
* move `asyncftpclient` to nimble packages (#20952)ringabout2022-11-281-524/+0
|
* Improve jsformdata (#20929)Juan Carlos2022-11-281-6/+10
| | | | | * jsformdata now accepts Blob data type similar to JS * jsformdata now accepts Blob data type similar to JS
* Support IBM Z architecture (#20943)Federico Ceratto2022-11-281-1/+3
|
* Fix several memory leaks in the Postgres wrapper. (#20940)jfilby2022-11-271-11/+18
|
* fixes documentation regression (#20925)ringabout2022-11-261-2/+2
| | | follow up https://github.com/nim-lang/Nim/pull/17004
* fixes #20873; rework vcc with arc/orc (#20913)ringabout2022-11-251-21/+49
| | | | | * fixes #20873; arc/orc is broken for vcc * fixes signature
* fixes broken importc for vcc [backport] (#20909)ringabout2022-11-241-2/+2
| | | fixes broken imports for vcc
* An unnamed break in a block now gives an `UnnamedBreak` warning (#20901)ringabout2022-11-242-11/+13
| | | | | | | | | | | | | | | | | | | | | * unnamed break in the block now gives an error * bootstrap * fixes * more fixes * break with label * label again * one moee * Delete test5.txt * it now gives a UnnamedBreak warning * change the URL of bump back to the original one
* alloc uses atomic operations only when necessary (#20899)ringabout2022-11-231-5/+17
|
* move `system/atomics` out of system; `std/atomics` should be preferred (#20875)ringabout2022-11-226-17/+22
| | | | | | | | | | | | | * move `system/atomics` out of system; `std/atomics` should be preferred * add deprecation message * fixes * fixes * fixes * fixes more tests
* fixes #20026; marks system procs which can raise defects (#20864)ringabout2022-11-221-15/+18
| | | | | | | | | * marks system procs which can raise defects * add tests * add more systemRaisesDefect * add comment
* correct Ptr field name for RTL_CONDITION_VARIABLE? (#20896)metagn2022-11-221-1/+1
| | | | | correct field name for RTL_CONDITION_VARIABLE? ref #20895
* echo: only lock when threading is enabled (#20890)Tanguy2022-11-211-1/+2
|
* fixes strict effects (#20885)ringabout2022-11-211-1/+1
| | | | | | | * fixes strict effects * remove nosideeffect * Update lib/system/comparisons.nim
* channel send() condition variable lock ordering (#20879)Ico Doornekamp2022-11-211-1/+1
|
* fix #20835 (#20872)rockcavera2022-11-181-2/+21
| | | Update syncio.nim
* remove useless defines (#20867)ringabout2022-11-171-4/+0
|
* fixes a severe bug of testament (#20832)ringabout2022-11-171-0/+1
| | | | | | | | | | | | | | | | | | | * test azure * use exit 1 * try again * use useSysAssert * disable i386 * use refc for tlsEmulation on i386 * use refc * disable i386 Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* rename `std/threads` to `std/typedthreads` (#20850)ringabout2022-11-163-4/+4
| | | | | | | | | * rename `std/threads` to `std/oldthreads` * fixes tests * rename to `typedthreads` * changelog
* fixes ptr to cstring warnings[backport] (#20848)ringabout2022-11-1619-41/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix =#13790 ptr char (+friends) should not implicitly convert to cstring * Apply suggestions from code review * first round; compiles on windows * nimPreviewSlimSystem * conversion is unsafe, cast needed * fixes more tests * fixes asyncnet * another try another error * last one * true * one more * why bugs didn't show at once * add `nimPreviewCstringConversion` switch * typo * fixes ptr to cstring warnings[backport] * add fixes Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* Allow users to set log flushing rules (#20817)Matt Haggard2022-11-141-17/+35
| | | | | | | | | | | * Add flushThreshold to std/logging loggers * Remove duplicate field * Add -d:nimFlushAllLogs for changing default flush behavior globally * Add changelog entry for log flushing change * Flush all log levels by default in Nim v2
* fix a few "broken link" warnings (#20837)Andrey Makarov2022-11-142-2/+2
|
* [minor] documentation improvement (#20825)ringabout2022-11-121-4/+4
| | | [minor] documentation improvament
* support `UncheckedArray[T]` in repr_v2.nim (#20816)Derek 呆2022-11-111-1/+4
|
* [sugar] handle HiddenDeref in capture, error at CT if unsupported nnk (#20680)Vindaar2022-11-101-3/+13
| | | | | | | | | | | | * [sugar] handle HiddenDeref in capture, error at CT if unsupported nnk Instead of running into trouble of the `.strVal` access failing, it's better to error at CT. * [tests] remove unnecessary import in test case * improve ident extraction & extend test cases * [tests] improve tests for `capture` of different types & act. check
* fixes #13781; fixes #14901; add acyclic pragmas to FlowVar (#20804)ringabout2022-11-101-2/+2
| | | | | * add acyclic pragmas to FlowVar * add testcases
* remove name field for ARC (#20797)ringabout2022-11-092-2/+4
| | | | | | | | | | | | | * remove name field for ARC * mistake * improvement * better * typo * fixes a pre-existing bug
* Use same defaults as JS for fetch options (#20783)Jake Leahy2022-11-091-3/+3
| | | | | * Use same defaults as JS for fetch options * Add changelog entry
* clean up `system/arc` (#20792)ringabout2022-11-091-37/+0
|
* implements display based subtype checking (6.4x faster without threads; 2.8x ↵ringabout2022-11-082-16/+5
| | | | | | | | faster with threads) (#20781) * WIP: fast 'of' operator based on the literature * implement display based subtype checking Co-authored-by: Araq <rumpf_a@web.de>
* fixes nightlies regression; patches for freebsd (#20786)ringabout2022-11-081-0/+12
|
* fixes #20694; the `exit` function now takes `cint` type (#20775)ringabout2022-11-071-8/+7
|
* Export trace member of exception type to allow custom stack trace entries ↵Ico Doornekamp2022-11-071-2/+2
| | | | | (#20772) Added insertStackTraceEntry() proc to allow custom stack trace entries
* fixes pre-existing `quit` documentation regression [backport] (#20763)ringabout2022-11-061-3/+3
| | | fixes pre-existing `quit` documentation regression
* add effectsOf to map in the std/sets module (#20760)ringabout2022-11-051-1/+4
|
* 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-052-24/+41
| | | | | | | | | | | | | | | | | * 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
* revert #20719; relieve `std/assertions` of the `sysFatal` dep (#20743)ringabout2022-11-043-23/+21
| | | | | | | * 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
|
* Uri.isIpv6 exported (#20736)Juan Carlos2022-11-031-1/+1
| | | | | * Export Uri.isIpv6 * Export Uri.isIpv6
* Improve dollar IpAddress (#20729)Juan Carlos2022-11-031-10/+14
| | | | | | | | | | | | | | | * 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>
* Export FileMode (#20726)Antonis Geralis2022-11-021-0/+1
|
* fixes ssl static link regression (#20722)ringabout2022-11-011-1/+5
|
* fixes #20526; use `nimPreviewSlimSystem` for documentation build (#20714)ringabout2022-11-0114-4/+35
| | | | | | | * 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
* refactor os imports into corresponding small modules (#20720)ringabout2022-11-017-7/+9
|
* make `system/fatal` importable (#20719)ringabout2022-11-013-16/+15
|
* Improve dollar (#20672)Juan Carlos2022-10-311-30/+49
| | | | | | | | | | | | | | | | | | | | | | | * 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>