summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated posix proc (#19774)Juan Carlos2022-05-082-11/+1
| | | | | * Remove deprecated posix proc that takes wrong argument types * Remove deprecated posix proc that takes wrong argument types
* Update nimscript `withDir` doc example (#19776)huantian2022-05-081-4/+4
|
* Add new self-signed 4096 bit certificate to testdata (#19758)kraptor2022-05-081-28/+77
| | | | | | | The test tasyncssl may fail on modern linux versions as they require at least 2048 bit certificates. A new certificate and private key with default values has been added to meet this new requirement.
* "ip" protocol as id 0 is long gone (#19760)kraptor2022-05-071-4/+0
| | | | | | | | | | | | | | | IANA is using id 0 for "HOPOPT" instead of "ip" for some time now and those systems that still support the old mapping will stop doing so at some point in the future. Some BSDs and openSUSE are already following this change as per IANA list here: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml As new unixes (and maybe Windows, who knows) start to adopt the updated IANA list, this will keep failing from time to time, so it's better to remove the "ip" check altogether.
* Fix questionable suggestion in `strutils` docs (#19765)Zoom2022-05-061-9/+16
| | | | | | | | | | | * Fix questionable suggestion in `stutils` docs - Removes the recommendation to pass a string slice for getting a relative index for `find` and `rfind` functions, as this currently makes a string copy, while a simple subtraction is enough. - Docstring for `SkipTable` type. * Doc layout fixup
* Fix broken link in sets documentation. (#19769)Anthony Dario2022-05-061-1/+1
|
* Add 'usages' option to the --stylechecks error msg (#19759)Zoom2022-05-041-2/+2
|
* switch to mainline bigints (#19756)flywind2022-05-031-1/+1
|
* Fix link to experimental manual in macro pragmas section [skip ci] (#19753)Jake Leahy2022-05-031-1/+1
|
* Rework discarding futures documentation in asyncdispatch (#19738)huantian2022-05-021-6/+33
| | | | | | | | | | | | | | | | | | | | | | | | | * Rework discarding futures docs in asyncdispatch * Fix typos Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> * Use rst note:: Co-authored-by: flywind <xzsflywind@gmail.com> * Split discarding and handling futures. * Update lib/pure/asyncdispatch.nim * Update lib/pure/asyncdispatch.nim * Update lib/pure/asyncdispatch.nim * Update lib/pure/asyncdispatch.nim Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Fix fixAbstractType for user defined typeclasses, fixes #19730 & #18409 (#19732)nc-x2022-04-303-1/+58
|
* Make sure that field usage preserves the original line info (#19751)Ivan Yonchovski2022-04-292-0/+17
| | | | Currently `struct.field` will generate a node with `info` that points to the symbol definition instead of having the actual node location.
* fixes #18612; apply cache and memcmp for methods in arc/orc (#19749)flywind2022-04-269-6/+44
| | | | | | | | | | | | | | | | | * try using endsWith * use memcmp * add cache * cleanup * better * minor * fix * improve test coverage for methods with ARC
* use signed comparisons for the index checking in the hope it improves the ↵Andreas Rumpf2022-04-261-7/+7
| | | | code generation (#19712)
* macros: make hasCustomPragma more permissive (#19747)ehmry2022-04-251-3/+5
| | | | Make hasCustomPragma return false rather than fail for invalid parameters.
* fixes #19662; Indent level errored for first line (#19718)flywind2022-04-254-1/+12
|
* Revert "fix db_sqlite.tryInsertID does raise exceptions in 1.6.0 #19743 ↵Andreas Rumpf2022-04-251-14/+11
| | | | | (#19744)" (#19745) This reverts commit b10f0e7bca43761316f6424786a771af33254e19.
* fix NimNode comment repr() regression [backport: 1.2] (#19726)flywind2022-04-252-0/+21
|
* add warnings for gc:option (#19722)flywind2022-04-251-42/+49
|
* Really fix StringStream with ARC at compile-time, improve streams test (#19739)Danil Yarantsev2022-04-252-4/+15
| | | | | * Fix compile-time StringStream with ARC * make readDataStr work with ARC, improve test
* 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
|