summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-033-25/+18
|
* Add jsre (#14870)Juan Carlos2020-07-033-2/+45
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-026-27/+27
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* Clean out sharedlists (#14857)Juan Carlos2020-07-021-6/+0
|
* Clean out strutils (#14859)Juan Carlos2020-07-011-5/+0
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #14846; add macros.extractDocCommentsAndRunnables (#14849)Timothee Cour2020-07-012-3/+39
| | | | | | | | | * fix #14846; add macros.extractDocCommentsAndRunnables * fixup * update tests * address comment
* Clean out sharedtables (#14858)Juan Carlos2020-06-301-10/+0
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Removed asyncdispatch.newAsyncNativeSocket, was deprecated since 0.18 (#14854)Juan Carlos2020-06-301-10/+0
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* typetraits: features and fixes (#14791)alaviss2020-06-301-3/+39
| | | | | | | | | | | | | * typetraits: add support for nnkTypeOfExpr * typetraits: don't wrap typedesc symbols in StaticParam * typetraits: add nested generics support to genericParams * typetraits: make genericParams understand array[I, T] whackiness Also moved tests to ttypetraits * typetraits: clarify comment on genericParams
* Fix asyncdispatch drain behavior (#14820) (#14838)Ray Imber2020-06-301-4/+9
| | | | | | | | | | | * Fix asyncdispatch drain behavior (#14820) * Changed test to use asyncCheck instead of discard after code review (#14820) * Added some debug statements to help understand what is happening in Azure. * Removed debug statements and increased timeouts by 1 order of magnitude to account for slow Azure VMs Co-authored-by: Ray Imber <ray@crankuptheamps.com>
* add debug fmt string like python's (#14808)flywind2020-06-301-2/+12
| | | | | | | * add debug format string * remove try except * add changelog
* Clean out dom (#14855)Juan Carlos2020-06-301-4/+0
| | | | | * Clean out dom * Clean out dom
* fix #13432 typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] (#14799)Timothee Cour2020-06-291-21/+0
| | | | | * typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] * changelog
* Clean out Deprecated proc (#14797)Juan Carlos2020-06-291-8/+0
| | | | * Remove and/or clean out Deprecated 'add' proc for floats * Update a test
* SSL_CTX_load_verify_locations parameters are reversed (#14815) [backport]aguspiza2020-06-291-1/+1
|
* fixed #14839 (#14840)lqdev2020-06-281-1/+2
|
* add a second asyncnet.recvFrom (#14237)rockcavera2020-06-272-18/+85
| | | | | | | | | * add a second asyncnet.recvFrom * fixes * pre-allocating address * add a new nativesockets.getAddrString()
* docs: Make `..<`, `.. ^` more discoverable (#14835)Manuel Bojato2020-06-271-18/+23
|
* testament: generic N-fold batching: windows CI 37mn=>16m (#14823)Timothee Cour2020-06-272-0/+8
| | | | | | | | | * testament: run CI faster thanks to batching * move ta_in, tstdin into existing tosproc * move ta_out,tafalse,texitcode,tstderr into existing tosproc * joinable osproc * move tstdout into existing tosproc * spec: batchable; fix tests * fixup
* Add all missing css properties to dom.nim. (#14825)treeform2020-06-261-4/+270
| | | | | * Add all missing css properties * remove extra space
* Add hasAttribute method to dom.nim. (#14814)treeform2020-06-251-0/+1
| | | See: https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
* turn 'runnableExample' into 'code-block' to make nightlies greennarimiran2020-06-251-9/+12
| | | | | This example doesn't work on our nightlies CI. Other procs in this module already use 'code-block'.
* add typetraits.elementType (#14780)Timothee Cour2020-06-241-0/+12
| | | | | * add typetraits.elementType * add a test for 0-sized seq
* fromJson: support object variants (#14694)Timothee Cour2020-06-241-15/+73
|
* CI: Install the pkg we cloned (#14770)Clyybber2020-06-241-32/+0
|
* fix #14750, don't allocate too much in newWideCString (#14773)Miran2020-06-231-3/+2
|
* fixes #14760 (#14769)Andreas Rumpf2020-06-231-1/+1
|
* init checks and 'out' parameters (#14521)Andreas Rumpf2020-06-2320-44/+80
| | | | | | | | | | | * I don't care about observable stores * enforce explicit initializations * cleaner code for the stdlib * stdlib: use explicit initializations * make tests green * algorithm.nim: set result explicitly * remove out parameters and bring the PR into a mergable state * updated the changelog
* Deprecate and/or remove ospaths (#14767)Juan Carlos2020-06-232-2/+2
|
* Remove outdated comment and copy of length (#14759)Clyybber2020-06-221-13/+3
|
* added normal variate function (#14725)b3liever2020-06-221-1/+42
| | | | | | | * added normal variate function * change method only slightly faster * changelog + since Co-authored-by: b3liever <b3liever@yandex.com>
* posix_other: add define to force time_t to 64 bit [backport] (#14753)alaviss2020-06-221-1/+6
| | | | | | | | This is a temporary remedy for time_t transition to 64 bit on newer Linux libc (musl >= 1.2.0, glibc >= 2.32). In the future we might want to move away from libc, or figure out a way to reliably detect the real size of C types at compile time, both of which are difficult.
* [backport] Docs: Fix broken `code-block` (#14749)ee72020-06-222-25/+25
| | | | | | | | This commit indents the contents of a `code-block` in `httpclient.nim` so that it displays correctly. The bug was introduced by 42a64245f8. I did a quick search for other `code-block`s that are broken in the same way, but the only other one I found (in `pegs.nim`) is not included in the generated documentation.
* Export fields from the Selection object. (#14752)treeform2020-06-211-0/+7
| | | See: https://developer.mozilla.org/en-US/docs/Web/API/Selection
* encodings: use only one iconv definition [backport:1.2] (#14741)alaviss2020-06-211-18/+15
| | | | | | | | Fix an issue reported on IRC: using encodings with --dynlibOverrideAll result in duplicated iconv definitions, causing compile errors. This commit remove the `var` wrapper of iconv and go all out on pointers, as it should due to how the API accepts nil. Also corrected the API to resemble iconv(3p).
* Add css white-space property to dom.nim. (#14743)treeform2020-06-211-0/+1
| | | https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
* fix #13899 defer now works with async (#14723)Timothee Cour2020-06-191-0/+3
|
* fixes #14718 [backport]Araq2020-06-191-4/+4
|
* add legacy workaround; improve test so that it actually tests for the bugfixTimothee Cour2020-06-191-3/+5
|
* Update tuple newLitsolo9892020-06-191-5/+12
|
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-1716-436/+12
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* remove compilerproc from `newIdentNode` (#14692)Timothee Cour2020-06-171-1/+1
|
* Update macros.nim (#14697)solo9892020-06-171-3/+2
|
* `addQuitProc` now works with closures, and c, js(node/browser) backend; fix ↵Timothee Cour2020-06-164-36/+79
| | | | | | | | | | | | | | | some bugs in testament (#14342) * make addQuitProc great again * fix bugs in testament * fix test * change 2016 => 2020 * addQuitProc => addExitProc + locks * move to std/exitprocs
* fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658)Timothee Cour2020-06-162-72/+70
| | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs
* make `fromJson/toJson` work with `array[range, typ]`, + 1 bugfix (#14669)Timothee Cour2020-06-151-8/+24
| | | | | * make toJson more robust * properly handle array
* normalizeExe (#14668)Timothee Cour2020-06-151-2/+14
|
* Update newLit set[T] to work when set is empty. (#14662)solo9892020-06-151-0/+4
| | | | | | | | | * Update macros.nim * Update lib/core/macros.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* Added --benchmarkVM to times.cpuTime() documentation (#14663)Ico Doornekamp2020-06-151-0/+2
|
* fix #14655 setLen(seq) now zeros memory (#14656)Timothee Cour2020-06-141-14/+15
| | | | | * simplify sysstr.nim * fix #14655