summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* clean up old codes (#17071)flywind2021-02-172-5/+2
|
* fix the unused warnings on windows (#17073)flywind2021-02-171-8/+13
|
* make system random work in VM (#17059)flywind2021-02-171-4/+5
| | | | * make system random work in VM
* fixes #17033 [backport:1.4] (#17061)Andreas Rumpf2021-02-171-4/+2
| | | | | | | * fixes #17033 [backport:1.4] * make test robust against stdlib gensym things * cleanup assertions.nim to make topt_no_cursor easier to get right
* remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ↵Timothee Cour2021-02-1720-723/+559
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#16918) * nimNoArrayToCstringConversion deadcode * nimbabel deadcode * nimHasalignOf deadcode * nimvarargstyped deadcode * nimhygiene deadcode * nimNewTypedesc deadcode * nimlocks deadcode * nimHasCppDefine deadcode * nimHasRunnableExamples deadcode * nimHasNilChecks deadcode * nimSymKind deadcode * minor macros refactoring * nimVmEqIdent deadcode * nimNoNil deadcode * nimNoZeroTerminator deadcode * nimHasSymOwnerInMacro deadcode * nimVmExportFixed deadcode * nimNewRuntime deadcode * nimAshr deadcode * nimUncheckedArrayTyp deadcode * nimHasTypeof deadcode * nimErrorProcCanHaveBody deadcode * nimHasHotCodeReloading deadcode * nimHasSignatureHashInMacro deadcode * nimHasDefault deadcode * nimMacrosSizealignof deadcode
* don't introduce 'dispose', use '=dispose', fixes #17003 [backport:1.4] (#17062)Andreas Rumpf2021-02-171-1/+1
|
* document `since` (#17048)Timothee Cour2021-02-161-1/+15
| | | | * document `since` * address comment
* [Minor] improve the docs of getTempDir (#17058)flywind2021-02-161-3/+5
| | | | | | | | | * [Minor] improve the docs of getTempDir * more clear * Update lib/pure/os.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* postgres module fixes (followup #17030) (#17053)Artem Klevtsov2021-02-161-2/+4
| | | | | | | * Fix pqSetSingleRowMode case. Add links to the docs * Add missing PGContextVisibility enum * Remove unused PGContextVisibility enum
* Improve documentation for bitops (#16961)konsumlamm2021-02-151-128/+131
| | | | | | | | | | * Improve documentation for bitops Use func Use let in runnableExamples * Remove unnecessary tests Fix #7587
* better getTempDir (#16914)flywind2021-02-152-16/+49
| | | | | | | | | | | * better getTempDir * fix comments * better * address comments * use uint32
* Better error message for rand(153 .. 102) (#17031)Dominik Picheta2021-02-151-1/+1
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* avoid doAssert on contents of osReleaseFile (#16955)n5m2021-02-151-1/+1
|
* RST: implement footnotes and citations (#16960)Andrey Makarov2021-02-153-35/+417
| | | | | | | | | * RST: implement footnotes and citations * manual fixup of nimdoc.out.css * remove unused code * shorter printing code * Update lib/packages/docutils/rst.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Improve the heapqueue module (#17034)konsumlamm2021-02-151-55/+82
| | | | | | Improve documentation Optimize toHeapQueue Rename siftup and siftdown Add tests for the heap property
* Fix bug in removeDotSegments when path ends with dot (#17038) [backport:1.2]Benoit Favre2021-02-151-1/+1
|
* array literals uses typed arrays; fix a jsgen bug (#16850)flywind2021-02-151-0/+8
| | | | | | | * array litterals uses typed arrays * Update compiler/jsgen.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix the wrong examples (#17035)flywind2021-02-151-19/+42
|
* Small update for packedsets (#17037)konsumlamm2021-02-151-12/+11
| | | | Rename PTrunk to Trunk Use ord instead of cast[int]
* Add pqsetsinglerowmode to postgres module (#17030)Artem Klevtsov2021-02-141-2/+6
| | | | | | | | | | | | * Add pqsetsinglerowmode to postgres module Very useful to reduce memory usage when fetch a large amount of data. Documentation: https://www.postgresql.org/docs/current/libpq-single-row-mode.html * Add missing enum to the ExecStatusType * Revert entry * Update ConnStatusType enum
* fix #16978 unittest js foreign exception (#16998)Timothee Cour2021-02-131-3/+8
| | | | * fix #16978 unittest js foreign exception
* rst: single backticks now render correctly in both rst2html and github (#17028)Timothee Cour2021-02-133-0/+7
| | | | | | * rst: `` => ` * support default-role in rst2html * update docstyle regarding single vs double backticks
* tables module uses runnableExamples (#16994)flywind2021-02-133-335/+312
| | | | | * tables module use runnableExamples * disable the tests
* Make parseopt available on all backends (#17009)hlaaftana2021-02-132-141/+150
| | | | | | | | | * Make parseopt available on all backends * fix spaces * fix getopt and update prelude * no crazy unnecessary version checks, use doAssert
* compilesettings: add libpath (#16997)Timothee Cour2021-02-121-0/+1
| | | | | | | | | | | * compilesettings: add libpath * add test * changelog * fixup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Improve math module (#17019)konsumlamm2021-02-121-496/+425
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve documentation for math Support empty input for cumsummed Use runnableExamples Move some examples to tests Add more tests * Update tests/stdlib/tmath.nim Move some tests to trandom.nim Move tests into main template where possible Add test for #17017 * Add more tests for gamma & lgamma Remove gamma(-1.0) example Small fixes/changes * Move more tests into template main() * Fix typos * Add edge case examples for copySign
* 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.