summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Improve documentation for random (#17015)konsumlamm2021-02-121-185/+168
| | | | | | | | | | | | | * Improve documentation for random Use runnableExamples Minor changes * Apply suggestions Remove echo Use RNG in more places * Fix skipRandomNumbers example
* parse RST headings when EOF follows them (#17014)Andrey Makarov2021-02-121-3/+5
|
* add system random to stdlib: std/sysrand (#16459)flywind2021-02-113-0/+315
|
* [backport:1.4] JS cstring null fixes (#16979)hlaaftana2021-02-112-3/+17
| | | | | * [backport:1.4] JS cstring null fixes * fix JS move string * make it look cleaner
* Improve documentation for assertions (#16988)konsumlamm2021-02-111-35/+51
| | | | | | | | | | | * Improve documentation for assertions * Apply suggestions Fix tests/assert/tassert_c.nim * Use runnableExamples * Move runnableExamples to module scope
* Improve documentation for cstrutils (#17004)konsumlamm2021-02-101-19/+23
|
* std/wrapnils does not use experimental:dotOperators anymore (#16996)Timothee Cour2021-02-101-12/+9
|
* fix warning nim nim doc posix (#16995)Timothee Cour2021-02-101-0/+4
|
* Improve documentation for unidecode (#16986)konsumlamm2021-02-092-26/+28
| | | | | | | * Improve documentation for unidecode Minor changes to gen.py * Fix typo in gen.py
* Improve documentation for std/sha1 (#16970)konsumlamm2021-02-091-35/+50
|
* add linenoise.readLineStatus to get status (eg: ctrl-D or ctrl-C) (#16977)Timothee Cour2021-02-094-15/+75
| | | | | * add linenoise.readLineStatus to get status (eg: ctrl-D or ctrl-C) * changelog
* final SSL changes [backport:1.2] (#16983)Andreas Rumpf2021-02-092-8/+23
|
* uri module uses runnableExamples (#16982)flywind2021-02-091-50/+43
|
* fix #16967 [backport:1.2] (#16976)hlaaftana2021-02-091-1/+1
| | | | | * fix #16967 [backport:1.2] * move test to tsugar
* fix lists docs regression (#16981)flywind2021-02-091-21/+14
|
* Another typo corrected (#16974)Héctor M. Monacci2021-02-081-1/+1
| | | From `fliter proc` to `filter proc`
* Deprecate any (#16920)Juan Carlos2021-02-081-1/+1
|
* Refactoring `bitops.rotateLeftBits()` and `bitops.rotateRightBits()`; adding ↵rockcavera2021-02-081-65/+223
| | | | | builtins and intrinsics. (#16622) Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* std/lists: Various changes to `lists` (RFC #303) (#16536)Peter Salvi2021-02-081-142/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Various changes to `lists` (RFC #303) * Removing a non-element is no-op; better tests * Remove preserves cycles; add appendMove alias; tests. * Return value for (singly linked) `lists.remove` * More test for lists.remove * Moved `lists.append` to the end of the file to see all `add` definitions * Disable testing js for now * Use workaround for swap js bug * Smaller diff * Undo "silent" deprecation of append * Correct typo in changelog Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Remove `appendMoved` Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Don't remove appendMoved Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Correct typo (#16972)Héctor M. Monacci2021-02-081-1/+1
| | | From `fliter proc` to `filter proc`
* basic cleanups regarding SSL handling (#16940) [backport:1.0]Andreas Rumpf2021-02-083-17/+58
| | | | | | | * basic cleanups regarding SSL handling * enabled certificate checking on Windows * updated the SSL test * quoting helps
* fix some warnings (#16952)flywind2021-02-0822-119/+119
|
* document typeof (#16965)Timothee Cour2021-02-081-2/+17
|
* close #15767 (#16959)flywind2021-02-081-1/+8
| | | | | | | | | * fix some warnings * close #15767 * Revert "fix some warnings" This reverts commit 39f2f23b0026d50c42af7be3ad80edf0f1f19610.
* use typeof instead type (#16962)flywind2021-02-0816-202/+202
|
* Add initRand() with seed based on time (#16953)hlaaftana2021-02-071-10/+35
|
* close #16921 (#16951)flywind2021-02-061-30/+29
|
* make style consistent (#16944)flywind2021-02-051-16/+18
|
* fix `of` procs + runnableExamples (#16932)Timothee Cour2021-02-051-8/+25
|
* document `default` (#16942)Timothee Cour2021-02-051-2/+17
|
* clarify docs for wrapnils (#16929)Timothee Cour2021-02-041-2/+7
| | | Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Correct typo in osseps.nim (#16939)Rummskartoffel2021-02-041-1/+1
|
* add createElementNS, will hopefully fix svgs for karax (#16938)Antonis Geralis2021-02-051-0/+1
|
* stdlib/os: handle symlinks in copy/move functions (#16709)Roman Inflianskas2021-02-042-107/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | * stdlib/os: handle symlinks in copy/move functions - Added optional `options` argument to `copyFile`, `copyFileToDir`, and `copyFileWithPermissions`. By default, symlinks are followed (copy files symlinks point to). - `copyDir` and `copyDirWithPermissions` copy symlinks as symlinks (instead of skipping them as it was before). - `moveFile` and `moveDir` move symlinks as symlinks (instead of skipping them sometimes as it was before). - Added optional `followSymlinks` argument to `setFilePermissions`. See also: https://github.com/nim-lang/RFCs/issues/319 Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Address comments in #16709 Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Address comments in #16709 (second iteration) Skip symlinks on Windows. Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Fix link to switchClyybber2021-02-041-1/+1
|
* Allow strings for -- in config.nims (#16934)Clyybber2021-02-041-5/+18
|
* Sugar tests (#16820)konsumlamm2021-02-021-12/+14
|
* [ci skip] CountTable, remove link to unexisting procnarimiran2021-02-021-1/+0
|
* link compile-time options together in docs (#16879)n5m2021-02-022-4/+35
| | | | | | | | | | | | | | | | | | | | | * link similar compiler option proc together * fixup links * fix formatting and links * example formatting * drop declared * link to compilesettings * only link define pragmas once * drop another declared * backlink to compileOptions from compilesettings * remove newline
* `dumpToString`: improves on `sugar.dump` (#16841)Timothee Cour2021-02-021-3/+32
| | | | | | | * dumpToString * _ * fixup * changelog * address comment: removed the word "Deprecated"
* Improve doc comments (#16902)konsumlamm2021-02-021-85/+123
| | | | | Add runnableExamples Use `reduce` in `initRational` and `//` Add static tests
* 2.5x- 3x faster copyFile on osx (#16883)Timothee Cour2021-02-011-0/+31
|
* add widestrs.newWideCString overload (#16860)flywind2021-02-011-0/+3
|
* JS: make hash float support IE/Safari (#16872)flywind2021-02-012-5/+14
|
* critbits: fix error from strictFuncs (#16877)ee72021-02-011-2/+2
| | | | | | | | | Previously, compiling a file containing just `import critbits` with `nim c --experimental:strictFuncs` would produce the following error: critbits.nim(529, 6) Error: 'toCritBitTree' can have side effects This was introduced by 2aed4186989e (#16564). Fixes: #16873
* distinctBase now is identity instead of error for non distinct types (#16891)Timothee Cour2021-02-011-7/+7
|
* remove quotation marks around imports - fixes links in the docs (#16888)Miran2021-02-013-4/+4
|
* Add more runnableExamples (#16864)konsumlamm2021-01-311-30/+80
| | | Add more links
* Minor docs improvement for oids (#16882)konsumlamm2021-01-311-9/+10
|
* refactor hash in JS backend (#16863)flywind2021-01-302-29/+39
|