summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Feature/xmltree additions (#20988)Michael Voronin2022-12-221-3/+150
| | | | | | | * [change] add/insert/delete family of xmltree expanded with several variations. Added replace methods family * [change] Lifted child limitations on insert methods (consulted with @araq) * [tests] add/insert/replace/delete of xmltree XmlNodes tests added
* fixes #20244; fixes castSizes warnings (#21102)ringabout2022-12-221-2/+14
| | | | | | | | | | | | | | | | | * fixes #20244; fixes castSizes warnings * fixes js * fixes js * fixes js * fixes * typo * extend using uint64 * Update lib/std/syncio.nim
* Implement setLineInfo (#21153)Peter Munch-Ellingsen2022-12-221-0/+16
| | | | | * Implement setLineInfo * Add tests
* fixes #19292; fixes #21122; fixes putEnv and setEnv with vcc (#21143)ringabout2022-12-202-15/+19
| | | | | * fixes #19292; fixes 21122; fixes putEnv and setEnv with vcc * add a test
* remove unused imports (#21126)ringabout2022-12-171-2/+0
|
* Bump the devel version to 1.9.1 (#21117)ringabout2022-12-161-2/+2
|
* fix #12122 (#21096)Bung2022-12-1620-134/+134
|
* Make async stacktraces less verbose (#21091)Jake Leahy2022-12-152-18/+14
| | | | | | | | | | | | | | | | | | | | | | | * Name iterators something human readable Remove intermediate async procs from stacktraces Clean async traceback message from reraises message * Remove unused import/variable * Fix failing tests Don't add {.stackTrace: off.} to anonymous procs (They already don't appear in stacktrace) * Fix failing tests in pragma category Now check that the nim is a routine type first so we don't run into any assertion defects * Hide stack trace pragma in docs and update doc tests User doesn't need to know if something won't appear so this more becomes verbose noise If this is a bad idea we can always add a `when defined(nimdoc)` switch so we don't add {.stackTrace: off.} to the Future[T] returning proc for docs
* fix #19580; add warning for bare except: clause (#21099)ringabout2022-12-153-5/+7
| | | | | | | | | | | | | | | | | | | | | * fix #19580; add warning for bare except: clause * fixes some easy ones * Update doc/manual.md * fixes docs * Update changelog.md * addition * Apply suggestions from code review Co-authored-by: Jacek Sieka <arnetheduck@gmail.com> * Update doc/tut2.md Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
* Document that system:pop() may raise IndexDefect (#21070)Xavier Noria2022-12-132-3/+5
| | | | | * Document system:pop() may raise IndexDefect * Add backticks to KeyError
* alternative, much simpler algorithm for strict func checking (#21066)Andreas Rumpf2022-12-116-33/+31
| | | | | | | | | | | | | * alternative, much simpler algorithm for strict func checking * forgot to git add new compiler module * new spec is incredibly simple to describe * fixes bigints regression * typos * closes #16305; closes #17387; closes #20863
* `multisync` now allows tuples in return type (#21074)Jake Leahy2022-12-111-2/+2
| | | | | | | * Add test case * Use .toStrLit() on param node first This means that more complex types are fully rendered
* fix #21045; getTime with vmopsDanger is broken; alternative to #21054 (#21056)ringabout2022-12-101-19/+25
| | | | | * fix #21045 getTime with vmopsDanger is broken; alternative to #21054 * typo
* clean up the documentation of threads (#21067)ringabout2022-12-101-6/+0
| | | | | * clean up the documentation of threads * cleanup
* fixes #21062 (#21068)Andreas Rumpf2022-12-101-2/+3
|
* Use a unique name for template in async macro return (#21058)Jake Leahy2022-12-101-3/+3
| | | Use unique template name
* Implicit return working for async proc (#20933)Jake Leahy2022-12-091-2/+11
| | | | | | | | | | | | | * Implicit return working for asyncdispatch proc Closes #11558 * Test case * Test that return value is actually used * Update tests/async/t11558.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Remove deprecated rightSize (#21011)Juan Carlos2022-12-081-10/+0
| | | | | * Remove deprecated rightSize nop * Remove deprecated rightSize nop
* macros.customPragmaNode: walk brackets on brackets (#21040)Emery Hemingway2022-12-081-5/+3
|
* build the documentation of official packages (#20986)ringabout2022-12-0612-5675/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove db stuffs * remove punycode * remove * fixes script * add cloner * patches * disable * patch * fixes external packages * disable two packages * preview documentation build * try again * fixes URL * fixes a bug * simplify * fixes documentaion * fixes * Apply suggestions from code review
* stdlib organization & documentation improvements (#20971)metagn2022-12-0623-12/+32
| | | | | | | | | | | | | | | | | * stdlib organization & documentation improvements * fix CI * Update doc/lib.md Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * fix ci, remove jshttpcore, export in jsfetch instead * fix alphabetical order violations * add cmdline, db_odbc Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* Remove deprecated posix.CLONE_STOPPED (#21012)Juan Carlos2022-12-051-1/+1
| | | | | * Remove deprecated CLONE_STOPPED * Remove deprecated CLONE_STOPPED
* unpublic `arrayWith` and rename it to `nimArrayWith` (#21006)ringabout2022-12-041-1/+1
| | | | | * unpublic arrayWith * unindent
* Update prelude example (#21005)Michal Maršálek2022-12-031-1/+1
| | | comment to match what's actually being imported.
* minor cleanup; correct the module name (#21001)ringabout2022-12-021-2/+2
| | | | | | | | | | | * minor cleanup follow up https://github.com/nim-lang/Nim/pull/20946 * Update lib/std/cmdline.nim * Update lib/std/cmdline.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* [unittest] remove unnecessay export for testing (#20868)ringabout2022-12-011-2/+0
|
* tyInt tyUint fit target int bit width (#20829)Bung2022-12-0113-244/+247
|
* Add HPPA and sparc64 architectures (#20934)Federico Ceratto2022-12-011-0/+2
| | | | | | | | | | | * Add comments on CPU arch detection * Support HPPA/hppa/parisc64 CPU architecture * Support sparc64 CPU architecture * Update tools/niminst/makefile.nimf Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* move `smtp` to nimble packages (#20953)ringabout2022-11-301-361/+0
| | | | | | | | | * move `smtp` to nimble packages * fixes * install smtp * yes
* Move command line parameter code (#20946)IgorDeepakM2022-11-303-272/+318
| | | | | Command line paramater code moved from os.nim to cmdparam.nim Co-authored-by: IgorDeepakM <IgorDeepak@noreply.com>
* dom: remove X* = ref XObj [backport] (#20910)metagn2022-11-291-76/+37
| | | dom: remove X* = ref XObj
* fix #20969 - making vcc work again with cpp backend (#20970)rockcavera2022-11-291-2/+2
| | | Update sysatomics.nim
* move `asyncftpclient` to nimble packages (#20952)ringabout2022-11-281-524/+0
|
* Improve jsformdata (#20929)Juan Carlos2022-11-281-6/+10
| | | | | * jsformdata now accepts Blob data type similar to JS * jsformdata now accepts Blob data type similar to JS
* Support IBM Z architecture (#20943)Federico Ceratto2022-11-281-1/+3
|
* Fix several memory leaks in the Postgres wrapper. (#20940)jfilby2022-11-271-11/+18
|
* fixes documentation regression (#20925)ringabout2022-11-261-2/+2
| | | follow up https://github.com/nim-lang/Nim/pull/17004
* fixes #20873; rework vcc with arc/orc (#20913)ringabout2022-11-251-21/+49
| | | | | * fixes #20873; arc/orc is broken for vcc * fixes signature
* fixes broken importc for vcc [backport] (#20909)ringabout2022-11-241-2/+2
| | | fixes broken imports for vcc
* An unnamed break in a block now gives an `UnnamedBreak` warning (#20901)ringabout2022-11-242-11/+13
| | | | | | | | | | | | | | | | | | | | | * unnamed break in the block now gives an error * bootstrap * fixes * more fixes * break with label * label again * one moee * Delete test5.txt * it now gives a UnnamedBreak warning * change the URL of bump back to the original one
* alloc uses atomic operations only when necessary (#20899)ringabout2022-11-231-5/+17
|
* move `system/atomics` out of system; `std/atomics` should be preferred (#20875)ringabout2022-11-226-17/+22
| | | | | | | | | | | | | * move `system/atomics` out of system; `std/atomics` should be preferred * add deprecation message * fixes * fixes * fixes * fixes more tests
* fixes #20026; marks system procs which can raise defects (#20864)ringabout2022-11-221-15/+18
| | | | | | | | | * marks system procs which can raise defects * add tests * add more systemRaisesDefect * add comment
* correct Ptr field name for RTL_CONDITION_VARIABLE? (#20896)metagn2022-11-221-1/+1
| | | | | correct field name for RTL_CONDITION_VARIABLE? ref #20895
* echo: only lock when threading is enabled (#20890)Tanguy2022-11-211-1/+2
|
* fixes strict effects (#20885)ringabout2022-11-211-1/+1
| | | | | | | * fixes strict effects * remove nosideeffect * Update lib/system/comparisons.nim
* channel send() condition variable lock ordering (#20879)Ico Doornekamp2022-11-211-1/+1
|
* fix #20835 (#20872)rockcavera2022-11-181-2/+21
| | | Update syncio.nim
* remove useless defines (#20867)ringabout2022-11-171-4/+0
|
* fixes a severe bug of testament (#20832)ringabout2022-11-171-0/+1
| | | | | | | | | | | | | | | | | | | * 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>