summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fixes #20699; generate an empty struct for void type (#20790)Aditya Siram2022-11-092-11/+28
| | | | | * fixes #20699; generate an empty struct for void type * Add docs and test case.
* reduce openArray-related C undefined behavior (#20795)tersec2022-11-093-10/+25
|
* fixes documentation regression and a bit clean up (#20793)ringabout2022-11-091-9/+7
| | | | | | | | | * fixes documentation regression and a bit clean up follow up https://github.com/nim-lang/Nim/pull/20371 * Apply suggestions from code review * Apply suggestions from code review
* remove name field for ARC (#20797)ringabout2022-11-093-14/+19
| | | | | | | | | | | | | * remove name field for ARC * mistake * improvement * better * typo * fixes a pre-existing bug
* add more `{.cursor.}` to vm (#20796)ringabout2022-11-091-13/+13
|
* Use same defaults as JS for fetch options (#20783)Jake Leahy2022-11-092-4/+4
| | | | | * Use same defaults as JS for fetch options * Add changelog entry
* clean up `system/arc` (#20792)ringabout2022-11-091-37/+0
|
* arc/orc no longer needs type names by default; with `nimTypeNames` it gets ↵ringabout2022-11-081-20/+16
| | | | | | nicer names (#20789) Co-authored-by: Araq <rumpf_a@web.de>
* implements display based subtype checking (6.4x faster without threads; 2.8x ↵ringabout2022-11-085-53/+84
| | | | | | | | 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
|
* Update testament usage to clarify testament all (#20757)Lee Matos2022-11-071-1/+1
|
* fixes regression #20746; remove string copies for ORC booted compiler (#20776)ringabout2022-11-072-1/+16
| | | | | | | | | | | | | * fixes #20746; remove string copies for ORC booted compiler * add a test case * use `cursor` thanks to @beef331 * for old compilers * change file extension * change test cases
* fixes #20694; the `exit` function now takes `cint` type (#20775)ringabout2022-11-071-8/+7
|