summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix #19435; don't create TypeBoundOps for tyOpenArray, tyVarargs [backport: ↵flywind2022-04-252-1/+30
| | | | | | | | | 1.6] (#19723) * fix #19435; openArray wronyly registers typebounds * add testcase * don't create TypeBoundOps for tyOpenArray, tyVarargs
* document localPassC consistently with compiler; fix ANSI capitalization (#19721)tersec2022-04-251-4/+4
|
* fix db_sqlite.tryInsertID does raise exceptions in 1.6.0 #19743 (#19744)flywind2022-04-241-11/+14
|
* Fix doc: list of async backends (#19741)huantian2022-04-241-3/+3
|
* Move common Latex code into class nimdoc.cls (#19734)Andrey Makarov2022-04-214-188/+198
|
* Fix string stream crashing when created on nimscript due to last fix (#19717)Jason Beetham2022-04-142-1/+5
|
* Better error message and tests for bad await (#19622)huantian2022-04-132-6/+45
| | | | | | | | | | | * Better error message and tests for bad await * Use compiles to check if await is valid * temp: disable windows noasync test * Better error report, simplify test Co-authored-by: flywind <xzsflywind@gmail.com>
* enable style:usages for stdlib tests [backport: 1.6] (#19715)flywind2022-04-1342-146/+149
| | | | | | | | | | | | | | | * enable style:usages for stdlib tests * freeAddrInfo * more tests * importc * bufSize * fix more * => parseSql and renderSql
* 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
|