summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* oids: switch from PRNG to random module (#16203)flywind2021-01-072-20/+25
| | | | | | | * switch from PRNG to random module * fix the regression * comments + tests * runnableExamples * make oids better
* add math.signbit (#16592)flywind2021-01-074-1/+45
|
* Fixes the asynchttpserver example some more (#16599)Dominik Picheta2021-01-071-8/+7
| | | | | I dislike this example a lot (busy looping for FDs to be closed is a very poor waste of resources) but at least with these changes it's a little bit better.
* Jsonutils: pass opt for object in object (#16615)inv20042021-01-072-1/+7
| | | | | * jsonutils: fromJson forward opt param fix * jsonutils: object in object test + fix: opt pass
* Minor docs/format changes (cpuinfo, volatile) (#16602)konsumlamm2021-01-062-12/+11
|
* [backport 1.0] add backend support for js bigint (#16606)Timothee Cour2021-01-063-1/+63
| | | | | | | | | | | | | * add backend support for js bigint * cleanup * add tests * add -d:nimHasJsBigIntBackend * cleanup * more tests
* fixes nim-lang/nimsuggest#119 outline includes (#16608)Saem Ghani2021-01-062-5/+21
| | | | | | nimsuggest outline should account for includes, now it does: - the module prefix will be of the module doing the including - the filename will be of the module that was included - adds a test case for it
* Improve documentation for deques (#16589)konsumlamm2021-01-061-156/+106
|
* macros.quote: document hard to use `op`; add more useful examples (#16489)Timothee Cour2021-01-061-23/+71
| | | | | | | | | | | | | | | | | * macros.quote: document hard to use `op`; add more useful examples * add back doc comment removed in a60305fbf3897cd90680e693dd4c0db2334d85d4 * address comment * fixup * clarify quoting rules * Update lib/core/macros.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* jsonutils: fromJson forward opt param fix (#16612)inv20042021-01-062-4/+18
|
* fix #16516 method dispatch for sink args (#16594)cooldome2021-01-062-1/+34
| | | | | | | * fix #16516 * fix comment * Trigger build
* fix syntax in macros documentation (#16604)n5m2021-01-061-1/+1
|
* Link the <fenv.h> header (#16597)konsumlamm2021-01-052-5/+6
|
* make cstrutils work in VM (#16590)flywind2021-01-054-104/+132
| | | | | * make cstrutils work in VM * more
* Improve documentation for complex (#16588)konsumlamm2021-01-052-107/+165
| | | | | | | | | | | | | * Improve documentation for complex Add missing doc comments * Add runnableExample Add links for principal values Optimize `-` Change var to let * Use std prefix for imports
* fix #9125 (#16582)flywind2021-01-053-7/+40
| | | | | | | | | | | | * fix #9125 * Update tests/stdlib/tmath.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * back Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Remove old untested undocumented examples (#16595)Juan Carlos2021-01-0515-311/+0
|
* remove duplication in asynchttpserver examples (#16586)Timothee Cour2021-01-051-48/+28
| | | | | | | * remove duplication in asynchttpserver examples * fixup * add comment showing how to run snippet locally
* Make tmath test more strict (#16593)Clyybber2021-01-051-13/+13
| | | | Don't use approximate equality when comparing numbers that are representable with perfect precision.
* merge tmath_misc.nim into tmath.nim (#16591)Timothee Cour2021-01-052-24/+13
|
* fix #16506 by changing the example (#16580)Miran2021-01-041-2/+2
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* clean up the docs of some modules under lib/js (#16579)flywind2021-01-048-56/+55
|
* fix #16576: honor matrix in testament by making such tests non joinable (#16577)Timothee Cour2021-01-046-12/+37
| | | | | | | * refs #16576: honor matrix in testament by making such tests non joinable * add tests + misc fixes * fix test for i386 with -d:danger
* make --gc:arc --exceptions:quirky work again [backport:1.4] (#16583)Andreas Rumpf2021-01-048-17/+49
| | | | | * make --gc:arc --exceptions:quirky work again [backport:1.4] * fixes #16404 [backport:1.4]
* Add test for static proc/lambda params (#16584)Clyybber2021-01-041-0/+16
|
* fix #16499 (#16514)flywind2021-01-042-11/+15
|
* Add backwards index overload for `[]` for JsonNode (#16501)Neelesh Chandola2021-01-042-0/+15
| | | | | | | | | | | * Add backwards index overload for `[]` for JsonNode * Add since Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> * Add docs, example, and changelog Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* Add posix_utils.osReleaseFile (#16452)Juan Carlos2021-01-042-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add posix_utils.osReleaseFile * Update lib/posix/posix_utils.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> * Update lib/posix/posix_utils.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> * Add a basic sanity test * Add a basic sanity test * Add a basic sanity test * Add a basic sanity test * https://github.com/nim-lang/Nim/pull/16452#issuecomment-753364096 * Update lib/posix/posix_utils.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update lib/posix/posix_utils.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> * Update changelog.md Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* enable tmath tests for JS backend (#16562)flywind2021-01-041-6/+5
|
* continue #15456 add #pragma directives compiler support (#16472)flywind2021-01-041-6/+13
| | | | | * continue #15456 * follow the advice from juan_carlos
* Improve sequtils documentation (#16559)konsumlamm2021-01-042-82/+81
| | | | | | | * Improve sequtils documentation Uncomment assertions in tests * Use present tense
* fix #12311 (#16578)flywind2021-01-042-4/+14
|
* Improve documentation for critbits (#16568)konsumlamm2021-01-031-135/+107
|
* Make test independent of repo location (#16571)Clyybber2021-01-031-3/+1
| | | | | * Make test independent of repo location * Fix differently
* fix #12958 (#16565)Roman Inflianskas2021-01-031-18/+29
| | | | | | | | | | Sync between Linux kernel code (header: https://github.com/torvalds/linux/blob/master/tools/include/uapi/linux/sched.h) and the linux module in lib. `CLONE_STOPPED` was marked as deprecated, as it was removed in the Linux kernel upstream. Fixes #12958.
* fix #8412 (#16563)flywind2021-01-031-6/+12
| | | | | | | | | | | | | | | | | * Revert "Make config processing order test more robust" This reverts commit cf714c129f7dd598863d1cc588e685df2438c658. * enable tmath tests * fix #8412 * Revert "enable tmath tests" This reverts commit 293b63f57ef71e6c43b9faf24883c998c40a9484. * add tests * fix
* Fix #16554 (#16564)hlaaftana2021-01-031-2/+3
|
* Revert "Make config processing order test more robust" (#16561)flywind2021-01-031-1/+1
| | | This reverts commit cf714c129f7dd598863d1cc588e685df2438c658.
* Make config processing order test more robustClyybber2021-01-021-1/+1
|
* fix #16526 run config.nims before foo.nim.cfg (#16557)Timothee Cour2021-01-027-2/+21
| | | | | * fix #16526 run config.nims before foo.nim.cfg * add test
* Algorithm improvements (#16529)konsumlamm2021-01-022-136/+144
| | | | | | | | | | | | * Improve documentation for algorithm Remove unused import in algorithm tests Improve formatting * Reapply fix for reverse on empty openArray * Use 3rd person singular Add more explanations.
* fix #16061 (#16551)flywind2021-01-022-5/+16
|
* fix `is "closure"` (#16552)flywind2021-01-022-2/+10
|
* fix #16542 (#16549)flywind2021-01-022-3/+51
| | | * fix #16542
* fix #16206, `nim r / nim -r` recompiles if cwd changes (#16349)Timothee Cour2021-01-021-2/+13
|
* Add mimetypes.mimesLongest (#16480)Juan Carlos2021-01-022-1/+31
| | | | | | | | | | | | | | | | | | | * Allow single alloc mimetypes ops * Allow single alloc mimetypes ops * Update lib/pure/mimetypes.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> * https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190 * https://github.com/nim-lang/Nim/pull/16480#issuecomment-752630190 * https://github.com/nim-lang/Nim/pull/16480#issuecomment-753349661 * update changelog Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* big steps torwards an efficient, simple IC implementation (#16543)Andreas Rumpf2021-01-0257-1720/+1432
| | | | | | | | | | | | | | | | | | | * reworked ID handling * the packed AST now has its own ID mechanism * basic serialization code works * extract rodfiles to its own module * rodfiles: store and compare configs * rodfiles: store dependencies * store config at the end * precise dependency tracking * dependency tracking for rodfiles * completed loading of PSym, PType, etc * removed dead code * bugfix: do not realloc seqs when taking addr into an element * make IC opt-in for now * makes tcompilerapi green again * final cleanups Co-authored-by: Andy Davidoff <github@andy.disruptek.com>
* fix #14340 (#16386)Timothee Cour2021-01-012-1/+20
|
* Documentation only Testament unittest (#16532)Juan Carlos2021-01-011-9/+13
| | | | | | | | | * Link Testament from unittest doc * Update lib/pure/unittest.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
* reuse const (#16422)n5m2021-01-011-1/+1
|