summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix #19680; check if stderr is static (#19709)flywind2022-04-122-1/+11
|
* StringStreams no longer errors when intialized with literals on arc/orc (#19708)Jason Beetham2022-04-112-0/+4
|
* fix #17286 nim check -b:js works (#19704)flywind2022-04-092-0/+18
| | | | | * fix #17286 nim check -b:js works * fix
* fix: Fix introductory macro examples (#19706)Leon2022-04-091-3/+17
| | | Co-authored-by: adigitoleo <adigitoleo@dissimulo.com>
* rewrite docs JS in Nim (#19701)flywind2022-04-098-302/+35
| | | | | | | * rewrite docs JS in Nim * fixup * fix nimdoc/rsttester
* fix stylecheck bug with nre (#19356)flywind2022-04-082-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stylecheck usages part two: stdlib cleanup typeinfo.nim: importCompilerProc => importcompilerproc nre.nim: newLineFlags => newlineFlags system.nim: JSRoot => JsRoot ref #19319 * prefer importCompilerProc * fix stylecheck error with asyncdispatch it is a partial regression since #12842 * add tests * don't use echo in tests * fix stylecheck bug with nre * Update compiler/linter.nim * no need to check dotexpr again * neither did let/var/const
* typetraits: add toSigned, toUnsigned (#18445)Timothee Cour2022-04-077-33/+85
| | | | | | | | * typetraits: add toSigned, toUnsigned * improve and add tests Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: flywind <xzsflywind@gmail.com>
* add testcase for #16462 (#19692)flywind2022-04-073-0/+11
|
* improve the error messages for std/tasks [backport: 1.6] (#19695)flywind2022-04-071-6/+6
|
* [nimsuggest] return the type when on symbol in let/var (#19639)Ivan Yonchovski2022-04-072-3/+13
| | | - make sure `suggestSym` is called after `PSym.typ` is set.
* use two spaces indentation (#19696)flywind2022-04-071-14/+14
|
* remove useless compilation condition (#19690)flywind2022-04-071-1/+1
| | | ref https://github.com/nim-lang/Nim/pull/18546
* No need to export pos from OptParser (#19688)Nan Xiao2022-04-061-1/+1
| | | Co-authored-by: flywind <xzsflywind@gmail.com>
* std/tasks: fix spelling (#19691) [backport]Jacek Sieka2022-04-061-2/+2
| | | | | | why aren't these not being caught by style check options? --styleCheck:usages finds it. Co-authored-by: flywind <xzsflywind@gmail.com>
* Revert "Load Google Fonts last (#19683)" (#19693)flywind2022-04-061-8/+6
| | | This reverts commit abe3b0eb644c60be4423bd3595382a126c4746db.
* Load Google Fonts last (#19683)locriacyber2022-04-061-6/+8
|
* [backport] fix broken SSL tests (#19684)Miran2022-04-061-6/+5
| | | | | * [backport] fix broken SSL tests * remove a flaky one
* fix #18986; Import/except doesn't work on devel [backport: 1.6] (#19687)flywind2022-04-063-1/+14
| | | | | * fix #18986; Import/except doesn't work on devel [backport: 1.6] * add testcase
* Fix bug in freshVarForClosureIter. Fixes #18474 (#19675) [backport]flywind2022-04-044-21/+35
| | | | | | | | | | * Fix bug in freshVarForClosureIter. Fixes #18474. freshVarForClosureIter was returning non-fresh symbols sometimes. Fixed by making addField return the generated PSym. * remove discardable Co-authored-by: Nick Smallbone <nick@smallbone.se>
* add somes links to docs (#19668)flywind2022-04-011-5/+5
|
* fix 19655 - fixing more url fragments (#19669)Nan Xiao2022-04-011-2/+2
|
* fix 19655 - fixing url fragment (#19667)rockcavera2022-04-011-1/+1
|
* Deprecate selfExe (#19660)Juan Carlos2022-03-312-2/+3
| | | | | * Deprecate selfExe Nimscript * Deprecate selfExe Nimscript
* Embedded Network patches - eventfd & socket getters (#19632)Jaremy Creechley2022-03-282-9/+36
|
* fixes #14318 (#14335)Andreas Rumpf2022-03-261-1/+1
|
* fix #8219; nim check/dump shouldn't run single nimscript project [backport: ↵flywind2022-03-263-5/+9
| | | | | | 1.6] (#19641) * fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6]
* Fix dial ignoring buffered parameter (#19650) [backport]John Titor2022-03-261-1/+1
|
* Fixed description as option in advopt.txt (#19635)Omar Flores2022-03-261-3/+7
| | | | | | | | | | | | * Fixed formatting error in warningAsError. There was only a single space character between the warning and its description, so it shows up as part of the name (in bold) and with no description. Copied the way hotCodeReloading was formatted, with the description in a new line. Also changed descriptions from 'ditto' to what the description it references says. * Fixed typo in advopt.txt Corrected 'hints' to 'warnings' in updated advopt.txt.
* remove tmpFramePtr when optStackTrace is absent (#19649)flywind2022-03-261-4/+0
|
* Add support for `Window.matchMedia` (#19648)tandy10002022-03-261-0/+6
|
* fixes #19603; some pragmas were really only supported as top level ↵Andreas Rumpf2022-03-262-7/+16
| | | | statements. Now this is enforced properly. (#19646)
* mitigates #19364 [backport]; we make this bug more unlikely to appear by ↵Andreas Rumpf2022-03-261-6/+12
| | | | producing better code to begin with; real fix will come later (#19647)
* remove unnecessary framePtr code (#19645)flywind2022-03-252-4/+8
|
* Add more info for {.bycopy.} (#18815)treeform2022-03-241-0/+1
| | | | | | | | | | | * Add more info for {.bycopy.} See confusion here: https://github.com/nim-lang/Nim/issues/18807 I hope this will help people googling to find this. * Update doc/manual.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix nim check nimscript [backport: 1.6] (#19444)flywind2022-03-233-1/+18
| | | | fix #19440; fix #3858
* [add testcase] arc problems with recursive types (#19456)flywind2022-03-231-0/+87
| | | | | | | | | | | * [add testcase] arc problems with recursive types close #9650 * do test * expand * Update tests/arc/t9650.nim
* output byref types into --header file [backport: 1.6] (#19505)flywind2022-03-233-2/+23
| | | | | | | | | * output byref types into --header file fix #19445 * fix comments * set targets
* Remove deprecated typo poDemon (#19631)Juan Carlos2022-03-232-5/+2
| | | | | * Remove Deprecated poDemon * Remove Deprecated poDemon
* Remove Deprecated domextension (#19630)Juan Carlos2022-03-232-3/+1
| | | | | * Remove Deprecated domextension * Remove Deprecated domextension
* Remove Deprecated Nimscript proc (#19629)Juan Carlos2022-03-231-8/+0
|
* build external deps with userversion:1.6 (#19612)flywind2022-03-231-2/+2
|
* move assertions out of system (#19599)flywind2022-03-23110-10/+361
|
* Fix process lines iterator (#19605)Dominic Ward2022-03-231-6/+8
| | | | | | | * Ensure lines when process done * eliminate post-EOF exit test * Recommend fixes for execCmdEx/execProcess
* system: thread: stack dealloction on Zephyr (#19633) [backport:1.6]Jaremy Creechley2022-03-221-2/+16
| | | Try to free the stack allocation when a thread exits. Possibly works for FreeRTOS as well.
* fixes #19615; emit better code for integer divisions when the divisor… ↵Andreas Rumpf2022-03-221-6/+16
| | | | | | | (#19626) * fixes #19615; emit better code for integer divisions when the divisor is known at compile-time * proper bugfix: unsigned numbers cannot be -1
* fixes #19631 (#19618)Andreas Rumpf2022-03-202-3/+39
| | | Aliasing is hard and we have to watch out not to compile 'x = f(x.a)' into 'f(x.a, addr x)'
* compiler: Handle nkCheckedFieldExpr better in dfa (#19616)Clyybber2022-03-181-4/+2
| | | | | | | Simply recurse into their first child, which is always a nkDotExpr instead of treating them seperately. This fixes the rhs sym of a nkCheckedFieldExpr being checked twice in aliases. This double checking didn't cause any issues, but was unintentional and redundant.
* db_sqlite: added a spaceAraq2022-03-181-1/+1
|
* Removed deprecated httpcore func (#19550)Juan Carlos2022-03-183-14/+5
| | | | | | | | | * Remove Deprecated httpcore func * Remove Deprecated httpcore func * Fix a test with Deprecated func * Restart CI, Apple can code shit anymore I tell you
* support useVersion:1.6 (#19601)flywind2022-03-106-9/+57
|