summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* move `system/atomics` out of system; `std/atomics` should be preferred (#20875)ringabout2022-11-227-17/+23
| | | | | | | | | | | | | * move `system/atomics` out of system; `std/atomics` should be preferred * add deprecation message * fixes * fixes * fixes * fixes more tests
* fix #18964 Small string case with else statement first in AST evaluat… ↵Bung2022-11-222-1/+18
| | | | | (#20862) fix #18964 Small string case with else statement first in AST evaluates wrongly
* fixes #20026; marks system procs which can raise defects (#20864)ringabout2022-11-227-19/+26
| | | | | | | | | * marks system procs which can raise defects * add tests * add more systemRaisesDefect * add comment
* fix #20866 [ORC] Bad codegen for global pointer to iterator (#20876)Bung2022-11-222-3/+14
|
* NimMain/NimPreMain calls are now only volatile when it makes sense. (#20882)Yuriy Glukhov2022-11-221-49/+31
|
* correct Ptr field name for RTL_CONDITION_VARIABLE? (#20896)metagn2022-11-221-1/+1
| | | | | correct field name for RTL_CONDITION_VARIABLE? ref #20895
* Fix compiler build with -d:nimDebugReorder (#20888)Kyle Coffey2022-11-221-12/+15
| | | | | | | * add missing import for -d:debugReorder * rename compile-time symbol to match best practices Fix #20887.
* switch to the official taskpools URL (#20893)ringabout2022-11-221-1/+1
| | | ref https://github.com/status-im/nim-taskpools/pull/24
* Small cleanup to cgen output (#20874)Matt Moseley2022-11-211-9/+9
|
* Fix #14476 (#20878)Jake Leahy2022-11-217-8/+8
| | | | | | | * Use link from webpage. Closes #14476 * Update doc generation tests * Update RST test
* 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 #20856; store defaults directly (#20859)ringabout2022-11-173-10/+16
| | | | | | | | | | | * fixes #20856; store defaults directly * fixes * fixes * check * fixes
* fixes a severe bug of testament (#20832)ringabout2022-11-1713-1/+13
| | | | | | | | | | | | | | | | | | | * 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-1611-12/+12
| | | | | | | | | * rename `std/threads` to `std/oldthreads` * fixes tests * rename to `typedthreads` * changelog
* fixes ptr to cstring warnings[backport] (#20848)ringabout2022-11-1625-50/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fixes a long-standing ARC bug (#20849)ringabout2022-11-162-2/+18
| | | | | * fixes an ARC bug * add a testcase
* add documentation and changelog for default object fields (#20845)ringabout2022-11-152-0/+53
|
* createDir is now callable at compile time (#20824)Don-Duong Quach2022-11-141-3/+18
|
* add more test for #20836 (#20842)Derek 呆2022-11-141-0/+15
|
* fixes object default fields bugs and add tests (#20839)ringabout2022-11-154-20/+66
| | | | | | | | | | | * fixes object default fields bugs and add tests * Update compiler/semmagic.nim * Update compiler/sem.nim * Update compiler/sem.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Allow users to set log flushing rules (#20817)Matt Haggard2022-11-142-17/+38
| | | | | | | | | | | * 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
* fixes #20836; fixes #20833; fixes `unsafeNew` (#20841)ringabout2022-11-142-1/+14
| | | | | * fixes #20836; fixes `unsafeNew` * fixes #20833
* fix a few "broken link" warnings (#20837)Andrey Makarov2022-11-146-6/+6
|
* fixes a CI error (#20834)ringabout2022-11-141-1/+1
|
* fixes flaky CI with channels and ORC (#20831)ringabout2022-11-131-0/+1
| | | | | fixes flasky CI with channels channels doesn't seem to work well with arc/orc
* fixes tests and add notes (#20830)ringabout2022-11-131-1/+4
|
* fix #3505 wrong var {.global.} initialization, asign variable to it (#20812)Bung2022-11-122-1/+54
| | | | | | | | | | | | | | | | | | | | | | | * fix #3505 wrong var {.global.} initialization, asign variable to it * fix #5132 as well * follow suggestions * handle all call kinds * Update tests/global/t3505.nim * Update compiler/semstmts.nim * Update compiler/semstmts.nim * Update compiler/semstmts.nim * follow suggestion * Update compiler/semstmts.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Revert "fixes #20699; generate an empty struct for void type" (#20806)Andreas Rumpf2022-11-123-29/+32
| | | | | | | * Revert "fixes #20699; generate an empty struct for void type (#20790)" This reverts commit 8fcb9380f076e55bde29e365d395bd0603fc6229. * better fix [backport]
* [minor] documentation improvement (#20825)ringabout2022-11-121-4/+4
| | | [minor] documentation improvament
* chore: wider nim cache name detection (#20826)scarf2022-11-121-3/+3
| | | ignores directories such as nimcache19994
* fixes a strange issue most likely caused by a git merge (#20822)Andreas Rumpf2022-11-121-4/+2
|
* [testament] `parsetoml` switches to official URL (#20819)ringabout2022-11-121-1/+1
|
* fixes #20807, refs #20450, regression with seq inference (#20818)metagn2022-11-122-1/+16
|
* issue a warning for ptr to cstring conversion[backport] (#20814)ringabout2022-11-113-0/+11
| | | | | * issue a warning for ptr to cstring conversion[backport] * add a changelog
* support `UncheckedArray[T]` in repr_v2.nim (#20816)Derek 呆2022-11-112-1/+12
|
* switch to official docopt URL (#20815)ringabout2022-11-111-1/+1
|
* fixes tests for quit (#20813)ringabout2022-11-111-1/+1
| | | Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* revert #19891; `nimRawSetjmp` causes problems for mingw 32 bits too ↵ringabout2022-11-111-5/+0
| | | | | [backport] (#20758) revert https://github.com/nim-lang/Nim/pull/19891
* enable yaml tests (#20810)ringabout2022-11-111-1/+1
| | | follow up https://github.com/flyx/NimYAML/commit/7dd8e88639b86f43d0a76f7c3763234c68741026
* [sugar] handle HiddenDeref in capture, error at CT if unsupported nnk (#20680)Vindaar2022-11-102-3/+73
| | | | | | | | | | | | * [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
* refactor strongSpaceB with an enum (#20809)ringabout2022-11-105-23/+26
| | | refactor strongSpaceB
* add `taskpools` to important packages (#20803)ringabout2022-11-101-0/+1
| | | | | * add `taskpools` to important packages * Update testament/important_packages.nim
* fixes #20798; add stew to important_packages (#20799)ringabout2022-11-101-0/+1
| | | ref https://github.com/status-im/nim-stew/pull/148
* fixes #13781; fixes #14901; add acyclic pragmas to FlowVar (#20804)ringabout2022-11-102-3/+12
| | | | | * add acyclic pragmas to FlowVar * add testcases
* use `tlsEmulation:off` for freebsd (#20802)ringabout2022-11-101-1/+3
|
* fix topt_no_cursor.nim (#20791)Bung2022-11-091-11/+22
|