summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Revert "Introduce explicit copy (#15330)" (#15346)Andreas Rumpf2020-09-161-5/+0
| | | This reverts commit a3e9cc52343a54cadc7b77b783e1c8b6ba2b327f.
* Fixed undeclared nimIdentNormalize compilation error in parseEnum (#15343)Yuriy Glukhov2020-09-161-2/+1
|
* fixes #9754 [backport] (#15342)Andreas Rumpf2020-09-161-4/+1
|
* proc params as syms (#15332)cooldome2020-09-161-1/+9
| | | | | | | | | | | | | | | | | * proc params are now syms * Fix typesrenderer * Add testcase for disrupteks issue * fix test * Trigger build * Trigger build * Trigger build Co-authored-by: Clyybber <darkmine956@gmail.com>
* Introduce explicit copy (#15330)cooldome2020-09-161-0/+5
|
* docs minor and #15335 (#15337)flywind2020-09-161-0/+7
|
* allow old styled RTTI for arc/orc (#15331)Andreas Rumpf2020-09-1613-193/+337
|
* fixes #15076 (#15329)Andreas Rumpf2020-09-151-5/+18
|
* fixes a critical ORC bug, refs #15076 (#15323)Andreas Rumpf2020-09-141-35/+29
|
* fix cookie with comma (#15319)flywind2020-09-141-1/+5
|
* dom.Navigator add missing attributes (#15310)Juan Carlos2020-09-141-1/+16
| | | | | | | * Add missing attributes and methods to dom.Navigator * Add missing attributes and methods to dom.Navigator * Add missing attributes and methods to dom.Navigator
* Fixing issue #15302 -- lwip doesn't support signals (#15303)Jaremy Creechley2020-09-143-14/+30
| | | | | | | | * Fixing issue #15302 -- lwip doesn't support signals * Adding test to catch issue #15302 -- lwip/freertos net library don't try to build / run on windows, it'll compile only but not run Fixing issue #15302 -- reworking test to compile on other platforms
* remove annoying messages when creating orderedTables (#15309)flywind2020-09-121-11/+11
| | | | | * nativesockets docs minor [backport: 1.2] * remove annoying messages
* fix broken links in the documentationnarimiran2020-09-121-21/+21
|
* fixes #15021Araq2020-09-111-2/+2
|
* Fix #15183 (#15300)Juan Carlos2020-09-111-10/+13
|
* Improve prelude so it does not hijacks documentation when used (#15299)Juan Carlos2020-09-111-12/+10
|
* Add some enhancements to `jsonutils.nim` (#15133)Ivan Bobev2020-09-095-57/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add some enhancements to `jsonutils.nim` * Use `jsonutils.nim` hookable API to add a possibility to deserialize JSON arrays directly to `HashSet` and `OrderedSet` types and respectively to serialize those types to JSON arrays. * Also add a possibility to deserialize JSON `null` objects to Nim option objects and respectively to serialize Nim option object to JSON object if some or to JSON `null` object if none. * Move serialization/deserialization functionality for `Table` and `OrderedTable` types from `jsonutils.nim` to `tables.nim` via the hookable API. * Add object `jsonutils.Joptions` and parameter from its type to `jsonutils.fromJson` procedure to control whether to allow deserializing JSON objects to Nim objects when the JSON has some extra or missing keys. * Add unit tests for the added functionalities to `tjsonutils.nim`. * improve fromJsonFields * Add changelog entry for the jsonutils enhancements * Add TODO in `jsonutils.nim` * Added an entry to "Future directions" section in `jsonutils.nim` as suggestion for future support of serialization and de-serialization of nested variant objects. * Added currently disabled test case in `tjsonutils.nim` for testing serialization and de-serialization of nested variant objects. * Move JSON hooks to `jsonutils.nim` Move `fromJsonHook` and `toJsonHook` procedures for different types to `jsonutils.nim` module to avoid a dependency of collections modules to the `json.nim` module. The hooks are removed from the following modules: * `tables.nim` * `sets.nim` * `options.nim` * `strtabs.nim` * Add some tests about `StringTableRef` Add tests for `StringTableRef`'s `fromJsonHook` and `toJsonHook` to `tjsonutils.nim`. * Disable a warning in `jsonutils.nim` Mark `fun` template in `jsonutils` module with `{.used.}` pragma in order to disable `[XDeclaredButNotUsed]` hint. The template is actually used by the `initCaseObject` macro in the same module. Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* add getprotobyname (#15273)flywind2020-09-092-0/+28
| | | | | | | * add getprotobyname * tests, docs, changelog * add since
* deprecate `high(value)` and `low(value)` (#15283)Miran2020-09-091-6/+8
|
* nativesockets docs minor [backport: 1.2] (#15285)flywind2020-09-081-9/+9
|