summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* add simple writeStackTrace for JS backend (#16016)flywind2020-11-242-1/+6
| | | | | | | * add simple writeStackTrace for JS backend * add testcase for writeStackTrace * changelog
* add simple runnableExamples for atomics (#16116)flywind2020-11-241-0/+40
|
* move tests to testament (#16101)flywind2020-11-2428-2190/+0
| | | | | | | | | * move tests to testament * minor * fix random * disable test random
* improve document for heapqueue (#16107)flywind2020-11-241-46/+69
|
* fix #16103 (#16109) [backport:1.0]flywind2020-11-241-5/+21
| | | | | * fix #16103 * docs
* typeinfo minor improvement (#16083)flywind2020-11-231-111/+52
| | | | | | | | | * typeinfo minor improvement * minor * Update lib/core/typeinfo.nim * rename typeinfo
* fix #14056 (#16071)kemifl2020-11-231-10/+10
| | | fix #14056, incorporate review comments
* fix ropes format errors (#16106) [backport:1.0]flywind2020-11-231-1/+1
| | | | | | | * fix rope index * add testcase * fix ropes format
* ref #5617 add lineinfo to complete (#16102)flywind2020-11-231-3/+8
|
* fixes #16080 (#16091) [backport:1.2]RokkuCode2020-11-231-1/+1
| | | | | | | * fixes #16080 db_sqlite: Error: undeclared field: 'untypedLen' * redacting fix
* correct errors in xmltree docs (#16104)flywind2020-11-231-81/+72
|
* fix rope index (#16100)flywind2020-11-231-1/+1
| | | | | * fix rope index * add testcase
* fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] (#16090)flywind2020-11-221-1/+2
| | | | | | | * fix asyncmacro * Apply suggestions from code review * Update lib/pure/asyncmacro.nim
* sets minor improvement (#16087)flywind2020-11-211-269/+1
|
* deques minor improvement (#16084)flywind2020-11-211-129/+18
|
* xmltree minor improvement (#16085)flywind2020-11-211-87/+3
|
* complex minor improvement (#16086)flywind2020-11-211-129/+21
|
* heapqueue minor improvement (#16088)flywind2020-11-211-62/+10
|
* colors: Reuse the HexDigits constant in strutils (#16065)satoru2020-11-201-1/+1
| | | Co-authored-by: Xuecong Liao <xliao@flexport.com>
* alternative way to fix #16022 (#16064) [backport:1.4]flywind2020-11-201-2/+2
| | | | | | * alternative way to fix #16022 * add testcase for #16022 [backport:1.4]
* packedsets fix regression introduced in #15564 (#16060)Timothee Cour2020-11-201-8/+9
| | | | | * packedsets fix regression introduced in #15564 * add tests
* Improve enumerate (#16053)Antonis Geralis2020-11-201-10/+43
| | | | | | | * Improve enumerate * updates * add tests
* fix #16025 repr now consistent: does not insert trailing newline (#16034)Timothee Cour2020-11-193-2/+7
|
* makes parsesql .gcsafe [backport:1.0] (#16039)Andreas Rumpf2020-11-191-3/+3
|
* fixes db_mysql broken quoting; refs ↵Andreas Rumpf2020-11-181-1/+0
| | | | https://github.com/nim-lang/Nim/commit/c16ee37a7106c645a0d17cc6bd8d399e20f61d96#r44209990 [backport:1.4] (#16035)
* ORC: prepare for another patent-pending optimization (#15996)Andreas Rumpf2020-11-183-25/+51
| | | | | | | | | | | | | | | | | * ORC: prepare for another patent-pending optimization * bugfix * '=copy' for refs can take a cyclic parameter for more ORC optimizations * ORC: exploit the common 'it = it.next' pattern * can't hurt to check for nil * use an algorithm that is not obviously broken * restore the test case * final cleanups for --gc:orc
* Do not read the whole file to compute SHA1 hash (fixes 15997) (#16006)Igor Ribeiro de Assis2020-11-181-1/+16
| | | | | | | | | | | | | | | | | * Do not read the whole file to compute SHA1 hash (fixes 15997) * Update lib/std/sha1.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/std/sha1.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Directly break from loop Co-authored-by: Andreas Rumpf <rumpf_a@web.de> [backport:1.2] [backport:1.4]
* fix https://github.com/nim-lang/RFCs/issues/286: add FileInfo.blockSize (#16023)Timothee Cour2020-11-181-34/+37
|
* Revert "fix #15623 (#16009)"Andrey R (cooldome)2020-11-171-1/+1
| | | | This reverts commit 0f7f159a35bc10a43ff15bcb6c20eefdc574138e.
* fix #15623 (#16009)flywind2020-11-171-1/+1
| | | | | | | | | * fix #15623 * add testcase for #15623 * fix * add testcase
* htmlgen: Add lazy loading (#15986)Juan Carlos2020-11-161-2/+2
|
* fix #15934 and #15620 (#15938) [backport:1.4]Andreas Rumpf2020-11-151-1/+4
|\ | | | | | | * make workaround for #15934 and #15620 * add testcase for #9754
| * nilflywind2020-11-131-0/+2
| |
| * make workaround for #15934 and #15620flywind2020-11-121-1/+2
| |
* | asynchttpserver cleanups [backport:1.0] (#15966)Andreas Rumpf2020-11-151-11/+9
| | | | | | | | * asynchttpserver cleanups [backport:1.0]
* | attempt to make asynchttpserver better; fixes #15925; [backport:1.0] (#15957)Andreas Rumpf2020-11-136-34/+116
|\ \ | | | | | | | | | | | | | | | | | | | | | * attempt to make asynchttpserver better; fixes #15925; [backport:1.0] * better documentation * fixes 'nim doc' * makes test green again * ported to FreeRTOS * fixes the doc rendering
| * | fixes the doc renderingAraq2020-11-131-38/+35
| | |
| * | ported to FreeRTOSAraq2020-11-132-11/+22
| | |
| * | fixes 'nim doc'Araq2020-11-131-1/+1
| | |
| * | better documentationAraq2020-11-131-4/+11
| | |
| * | attempt to make asynchttpserver better; fixes #15925; [backport:1.0]Araq2020-11-136-50/+117
| | |
* | | Make IntSet a generic ordinal set OrdSet[A] (#15564)landerlo2020-11-132-687/+614
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make IntSet an ordinal set OrdSet[A: Ordinal] Backward compatibility with IntSet is maintained. IntSet is an alias for OrdSet[int] * move ordsets to new file, intsets exports it * ordset, move to lib/std folder * Fix `$` for ordsets and test cleanup * Fix ordsets compilation in doc example * Rename ordsets to packedsets
* | | Alternate to https://github.com/nim-lang/Nim/pull/15915 (#15937)c-blake2020-11-131-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | * Alternate PR to https://github.com/nim-lang/Nim/pull/15915 to resolve the problem mentioned there (`hash() == 0`) as well as to close https://github.com/nim-lang/Nim/issues/15624 * Address https://github.com/nim-lang/Nim/pull/15937#discussion_r522759669 { though this was only a move from 2 copies to 3 copies. ;-) }
* | | refactoring: modernize rst.nim (#15953)Miran2020-11-131-509/+449
|/ /
* | Don't use os for Standalone (#15944)wilypomegranate2020-11-131-2/+2
| |
* | Add documentElement to Document. (#15943)treeform2020-11-131-0/+1
| |
* | fix #15941 (#15948)flywind2020-11-131-4/+7
| | | | | | | | | | | | | | * fix #15941 * add testcase * update
* | js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, ↵Timothee Cour2020-11-121-215/+251
| | | | | | | | | | | | | | | | | | | | | | `existsEnv` (v2) (#15826) * js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv` * refactor to osenv * fix for js (without -d:nodejs) + VM Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* | add parent property to window in dom.nim (#15922)Bung2020-11-121-0/+1
| |
* | make var string return var char w/ BackwardsIndex (#15461)hlaaftana2020-11-122-3/+4
| | | | | | | | | | | | | | | | * make var string return var char w/ BackwardsIndex fixes #14497 * work around VM bug * properly workaround again