summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* implements https://github.com/nim-lang/RFCs/issues/258 (#15503)Andreas Rumpf2020-10-061-4/+39
| | | | | | | | | * implements https://github.com/nim-lang/RFCs/issues/258 * don't be too strict with custom pragma blocks * cast pragmas: documentation * added most missing inference query procs to effecttraits.nim
* Iterate over smaller set when computing intersection (#15497)Benjamin Lee2020-10-061-2/+9
| | | Closes #15496
* typoAraq2020-10-061-1/+1
|
* inline tiny func on httpcore (#15480)Juan Carlos2020-10-051-16/+14
|
* use func in uri module (#15486)flywind2020-10-051-26/+26
|
* doc(sugar): added description and examples to dup (#15455)Luis Felipe Manfroni2020-10-051-1/+19
|
* Provide a configurable progressInterval. (#15477)supakeen2020-10-041-6/+11
|
* Installation Instruction (#15485)Abhishek Dubey2020-10-041-2/+2
| | | The instruction command was missing `install` for Ubuntu.
* Return type of asyncftpclient to fix example. (#15476)supakeen2020-10-031-1/+1
| | | Related to: #13641
* heapqueue.nim: Add `toHeapQueue` proc (#15459)ee72020-10-021-0/+18
| | | | | | | | | Similar to: - `critbits.toCritBitTree` - `deques.toDeque` - `sets.toHashSet` - `tables.toTable` Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* intsets.nim: Add `toIntSet` proc (#15460)ee72020-10-021-3/+25
| | | | | | | Similar to: - `critbits.toCritBitTree` - `deques.toDeque` - `sets.toHashSet` - `tables.toTable`
* Added std/effecttraits.nim (#15462)Andreas Rumpf2020-10-021-0/+19
|
* closureiters: fixes #15243 (#15454) [backport:1.2]Andreas Rumpf2020-10-021-2/+2
| | | | * fixes #15243 [backport:1.2]
* use func in httpcore (#15457)flywind2020-10-021-22/+22
|
* Add first draft of new osproc.readLines (#15429)c-blake2020-10-011-0/+51
| | | | | | | | | | | | | | | | | | | | | * Add first draft of new osproc.readLines * Add test for new osproc.readLines * Rename test to start w/t to run; Also add newline to output * Suppress hint messages. * Output should match this time. * Shoulda picked a program with simpler syntax than ..lol * Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-701890898 and https://github.com/nim-lang/Nim/pull/15429#issuecomment-701985976 by factoring `readLines` into `iterator lines` and a wrapper `proc`. * Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-702127289 and also add a `ReadIOEffect` tag to the iterator (called by the wrapper.. so it should need no separate tag, if I understand correctly).
* fix #15405. deepcopy arc (#15410)cooldome2020-10-011-0/+3
| | | | | | | * fix #15405 * fix tests * deepcopy for ARC has to be enabled via --deepcopy:on Co-authored-by: Araq <rumpf_a@web.de>
* [docs minor] unify generates and Generates (#15434)flywind2020-10-011-110/+110
| | | | | * [docs] unify generates and Generates * fix typo
* Add critbits.toCritBitTree (#15444)Juan Carlos2020-10-011-8/+20
| | | | | * Add critbits.toCritBitTree * https://github.com/nim-lang/Nim/pull/15444#discussion_r498035342
* Clean out (#15440)Juan Carlos2020-10-011-4/+0
|
* Clean out jssys (#15442)Juan Carlos2020-10-011-6/+0
|
* Add 1 overload to apply (#15439)Juan Carlos2020-10-011-0/+5
|
* various documentation fixes [backport] (#15422)Miran2020-09-292-5/+5
|
* odbc regression from #14357 (#15417)shirleyquirk2020-09-291-1/+1
| | | | #14357 changed from sending 'val', an int, to a pointer to int, which is understandable, but not how SQLSetEnvAttr works. "Depending on the value of Attribute, ValuePtr will be a 32-bit integer value or point to a null-terminated character string"
* Dont assert on setstacksize result in iOS (#15427) [backport:1.2]Yuriy Glukhov2020-09-291-1/+4
|
* .noalias annotation; frontend support (#15419)Andreas Rumpf2020-09-282-1/+4
| | | | | * .noalias annotation; frontend support * added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
* cleanup lib/system/stacktraces.nim; refs #15416 (#15418)Andreas Rumpf2020-09-282-7/+1
|
* fix #11537, correct parse inline code without surrounding spaces (#15399)Miran2020-09-251-0/+2
|
* fixes #14983 (#15320)Andreas Rumpf2020-09-251-18/+45
| | | | | | | | | * fixes #14983 * allow bootstrapping with 0.20 * added a test case for the new system.add with a sink parameter * make npeg green again
* fix #14474, crash inside of a sole code-block (#15402)Miran2020-09-241-0/+2
|
* fix #15333 (#15336)flywind2020-09-241-2/+26
|
* finish the stacktraces.nim implementation [backport:1.2] (#15393)Andreas Rumpf2020-09-231-6/+6
|
* add `enumerate` macro (#15297)Miran2020-09-222-0/+57
| | | | | | | * add `enumerate` macro * address the comments * put `enumerate` in its own module
* deinitLock (#15383)flywind2020-09-222-0/+3
| | | | | * deinitLock * minor
* better nativestacktrace support; refs #15284; backport [1.2] (#15384)Andreas Rumpf2020-09-225-28/+124
| | | | | | | | | | | | | | | | | * nimStackTraceOverride: enable stack traces in exceptions This is a two-step stack trace collection scheme, because re-raised exceptions will collect multiple stack traces but use them rarely, when printing info about an uncaught exception, so it makes sense to only do the cheap stack unwinding all the time and the relatively expensive debugging information collection on-demand. `asyncfutures` implements its own `$` proc for printing `seq[StackTraceEntry]`, so we have to add the debugging info there, just like we do for the private `$` proc in `system/excpt`. * cleaned up PR #15284 Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com>
* Add strutils.indentation and make unindent use it (#15264)Clyybber2020-09-221-11/+36
| | | | | | | | | | | | | | | | | | | | | | | * Add strutils.indentation and make unindent use it * Code style * Fix bootstrapping * Improve wording * Fix test * Introduce without breaking change * Fix * Reduce diff * Fix docs link * Add since annotation * Update changelog
* os: make getApplFreebsd available for NetBSD (#15381)alaviss2020-09-211-1/+1
| | | | | | NetBSD was switched to getApplFreebsd() in #15359, however the proc was not made available for the said target. This commit exposes `getApplFreebsd()` to NetBSD.
* fix #6430, support `:target:` for images (#15379)Miran2020-09-211-0/+12
|
* async: removed the 'unown' references, async never worked with --newruntime ↵Andreas Rumpf2020-09-202-9/+9
| | | | anyway and --newruntime is dead (#15374)
* arc: =deepcopy fixesAraq2020-09-201-5/+14
|
* fixes #15369 (#15371)Andreas Rumpf2020-09-201-3/+3
|
* ORC/ARC async progress (#15370)Andreas Rumpf2020-09-202-10/+9
| | | | | | | * ARC/ORC: fixes memory leak for empty seqs that have a non-zero capacity * async: minor refactorings * it helps to finish a refactoring
* base64: fixes the error message for an invalid base64 input character ↵Andreas Rumpf2020-09-201-1/+1
| | | | [backport:1.2]
* ORC and stdlib optimizations (#15362)Andreas Rumpf2020-09-195-29/+45
|
* doc fix typo in lib/pure/httpclient.nim (#15364)Timothee Cour2020-09-191-1/+1
|
* Use sysctl on NetBSD to get exe name (#15359)Euan2020-09-181-3/+10
|
* fix coro proc crash for stack problem when run long enough than a GC cycle ↵yatsen12020-09-182-0/+14
| | | | | | (#7612) (#11410) Co-authored-by: drswinghead <drswinghead@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* more ORC bugfixes (#15355)Andreas Rumpf2020-09-182-8/+35
| | | | | * introduced --define:nimArcIds * ORC: bugfixes
* bump NimVersion to 1.3.7narimiran2020-09-181-1/+1
|
* async: minor refactorings (#15354)Andreas Rumpf2020-09-185-66/+47
|
* string is not nil anymore (#15352)flywind2020-09-182-8/+3
|