summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated posix proc (#19774)Juan Carlos2022-05-081-10/+0
| | | | | * 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
|
* 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
|
* 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>
* fixes #18612; apply cache and memcmp for methods in arc/orc (#19749)flywind2022-04-261-2/+26
| | | | | | | | | | | | | | | | | * try using endsWith * use memcmp * add cache * cleanup * better * minor * fix * improve test coverage for methods with ARC
* macros: make hasCustomPragma more permissive (#19747)ehmry2022-04-251-3/+5
| | | | Make hasCustomPragma return false rather than fail for invalid parameters.
* 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.
* Really fix StringStream with ARC at compile-time, improve streams test (#19739)Danil Yarantsev2022-04-251-2/+8
| | | | | * Fix compile-time StringStream with ARC * make readDataStr work with ARC, improve test
* 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
|
* Fix string stream crashing when created on nimscript due to last fix (#19717)Jason Beetham2022-04-141-1/+1
|
* Better error message and tests for bad await (#19622)huantian2022-04-131-3/+13
| | | | | | | | | | | * 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-1317-63/+63
| | | | | | | | | | | | | | | * enable style:usages for stdlib tests * freeAddrInfo * more tests * importc * bufSize * fix more * => parseSql and renderSql
* StringStreams no longer errors when intialized with literals on arc/orc (#19708)Jason Beetham2022-04-111-0/+2
|
* typetraits: add toSigned, toUnsigned (#18445)Timothee Cour2022-04-074-31/+54
| | | | | | | | * typetraits: add toSigned, toUnsigned * improve and add tests Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: flywind <xzsflywind@gmail.com>
* improve the error messages for std/tasks [backport: 1.6] (#19695)flywind2022-04-071-6/+6
|
* use two spaces indentation (#19696)flywind2022-04-071-14/+14
|
* 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>
* 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-311-2/+1
| | | | | * Deprecate selfExe Nimscript * Deprecate selfExe Nimscript
* Embedded Network patches - eventfd & socket getters (#19632)Jaremy Creechley2022-03-282-9/+36
|
* Fix dial ignoring buffered parameter (#19650) [backport]John Titor2022-03-261-1/+1
|
* Add support for `Window.matchMedia` (#19648)tandy10002022-03-261-0/+6
|
* remove unnecessary framePtr code (#19645)flywind2022-03-251-1/+2
|
* Remove deprecated typo poDemon (#19631)Juan Carlos2022-03-231-5/+0
| | | | | * Remove Deprecated poDemon * Remove Deprecated poDemon
* Remove Deprecated domextension (#19630)Juan Carlos2022-03-231-3/+0
| | | | | * Remove Deprecated domextension * Remove Deprecated domextension
* Remove Deprecated Nimscript proc (#19629)Juan Carlos2022-03-231-8/+0
|
* move assertions out of system (#19599)flywind2022-03-2331-9/+110
|
* 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.
* db_sqlite: added a spaceAraq2022-03-181-1/+1
|
* Removed deprecated httpcore func (#19550)Juan Carlos2022-03-181-10/+0
| | | | | | | | | * Remove Deprecated httpcore func * Remove Deprecated httpcore func * Fix a test with Deprecated func * Restart CI, Apple can code shit anymore I tell you
* register callback for marshal in VM (#19578)flywind2022-03-081-8/+20
| | | | | | | | | | | | | * register callback for marshal in VM * remove unrelated code * polish * more tests * more tests * add loadVM and toVM
* fix not flushing stdout in MSYS (#19590)Hamid Bluri2022-03-071-0/+1
| | | I did this pull request according to what xflywind said: https://github.com/nim-lang/Nim/pull/19584#issuecomment-1060085141
* apply changes from #18017 and some fixes (#19571)flywind2022-03-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * implements https://github.com/nim-lang/RFCs/issues/369 * deprecate unsafeAddr; extend addr addr is now available for all addressable locations, unsafeAddr is deprecated and become an alias for addr * follow @Vindaar's advice * change the signature of addr * unsafeAddr => addr (stdlib) * Update changelog.md * unsafeAddr => addr (tests) * Revert "unsafeAddr => addr (stdlib)" This reverts commit ab83c99c507048a8396e636bf22d55fdd84d7d1c. * doc changes; thanks to @konsumlamm Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * merge * remove * fix bug Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Add error message to pointer size check assert in lib/nimbase.h (#19549)Tomohiro2022-02-271-1/+1
|
* Remove define for jsfetch (#19530)Juan Carlos2022-02-252-97/+96
| | | | | | | | | * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch * Remove define nimExperimentalAsyncjsThen for std/asyncjs.then and std/jsfetch
* Allow std/macros.params to work with nnkProcTy (#19563)Tanguy2022-02-251-4/+11
| | | | | * Allow std/macros.params to work with nnkProcTy * Add tests for proc params & pragma
* Remove Deprecated jsre func (#19551)Juan Carlos2022-02-251-4/+0
| | | | | | | * Remove Deprecated jsre func * Remove Deprecated jsre func * ReStart CI, because OSX is dumb and I have no permission to restart
* Update chcks.nim (#19540)rockcavera2022-02-171-1/+1
|
* Documentation: Fix word usage (#19529)Sizhe Zhao2022-02-144-7/+7
|
* Remove deprecated math.c_frexp (#19518)Juan Carlos2022-02-141-5/+0
| | | | | | | * Remove Deprecated math proc * Remove Deprecated math proc * Remove Deprecated math proc
* Remove Deprecated oids.oidsToString (#19519)Juan Carlos2022-02-141-5/+0
| | | | | * Remove deprecated oids.oidToString * Remove deprecated oids.oidToString
* use OrderedTable instead of OrderedTableRef for mimedb (#19522)David Krause2022-02-141-2/+2
| | | | | | | | | * use OrderedTable instead of OrderedTableRef for mimedb Signed-off-by: David Krause <enthus1ast@users.noreply.github.com> * added changelog entry for mimedb change Signed-off-by: David Krause <enthus1ast@users.noreply.github.com>
* Remove backslash in glob pattern (#19524)konsumlamm2022-02-141-3/+3
|
* fix #16458; make useNimRtl compile for --gc:orc (#19512)flywind2022-02-113-5/+7
| | | | | * fix #16458; make useNimRtl compile for --gc:orc/arc * fix tests