summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Improve the ropes module (#17145)konsumlamm2021-02-222-117/+130
| | | | | | | | | | | | | | * Improve ropes module Improve wording Update runnableExamples Add index bound check for `[]` Minor format changes * Update tests/stdlib/tropes.nim Run on C & JS target Test in VM Add tests for `[]`
* fix #15215 (#17142)rockcavera2021-02-222-5/+34
| | | | | | | | | | | | | | | | * fix 15215 * fix test * end line * Update tests/stdlib/tnetconnect.nim Co-authored-by: flywind <xzsflywind@gmail.com> * Update lib/pure/net.nim Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* when statements branches exit early (#17143)Saem Ghani2021-02-223-0/+72
| | | | | When statement branches exit early outside of nimvm. In nimvm it seems that all sides of the branches must be evaluated as the code gen happens at a later stage, this remains intact.
* Add example for pattern matching on options (#17120)konsumlamm2021-02-221-21/+49
| | | | | | | | | | | * Add example for pattern matching on options * Use code-block * Apply suggestions * Use block comments * Fix example
* fix prelude regression refs #16238: `include prelude` doesn't interfere with ↵Timothee Cour2021-02-223-42/+16
| | | | | | | | | `nim doc` (#17111) * fix bug1 from #16238 nim doc now works with include prelude * fix for windows * fixup
* [JS + docs] improve std/monotimes module (#17103)flywind2021-02-222-43/+49
|
* testament: support disabled:osx as alias to disabled:macosx (#17124)Timothee Cour2021-02-223-4/+4
|
* make rst.nim use object variant (#17138)Andrey Makarov2021-02-225-132/+159
| | | | | | | * make rst.nim use object variant * add workaround * fix mistake
* remove outdated codes (#17140)flywind2021-02-222-2/+0
| | | | | * remove unnecessary when statement * remove outdated codes
* fix #17118 (#17119) [backport:1.2]flywind2021-02-222-19/+30
| | | | | * fix js unsigned integer * Use `std` prefix for standard library modules * fix #17118
* make copySign for js consistent with other backends (#16609)Timothee Cour2021-02-223-44/+48
| | | | | | * make copySign work more robustly in js * improve tests * improve tests/vm/tcastint.nim
* important_packages: document that packages tested should ideally have recent ↵Timothee Cour2021-02-221-1/+15
| | | | release tags (#17134)
* use single backtick (#17141)flywind2021-02-2111-68/+68
|
* followup #17077: also use assert instead of doAssert for `code-block` rst ↵Timothee Cour2021-02-211-1/+2
| | | | blocks intended to be used as `runnableExamples` (#17122)
* Split last read and first write analysis (#17137)Clyybber2021-02-211-20/+42
| | | | | | | | * Split last read and first write analysis This improves performance by 10% for some cases. * Remove outdated comments
* remove unnecessary when statement (#17135)flywind2021-02-212-13/+17
|
* use single backtick (#17133)flywind2021-02-2110-103/+103
|
* promote std prefix in docs (#17128)flywind2021-02-209-41/+41
|
* disable chronos (#17131)flywind2021-02-201-2/+3
|
* refs #17107 use 2 instead of 3 parallel jobs for openbsd (#17108)Timothee Cour2021-02-204-37/+4
|
* move prelude so that `include std/prelude` also works (#17110)Timothee Cour2021-02-207-11/+28
| | | | | * move prelude so that `include std/prelude` also works * add test
* Improve the strformat module (#17106)konsumlamm2021-02-202-692/+657
| | | | | | | | | | | | | | | | | | | | | | * Improve the strformat module Improve documentation Use runnableExamples * Fix overflow error for low(int64) Add test * Use assert in runnableExamples * Improve tstrformat Put tests in proc & test VM Put tests in blocks Add c, js targets * Use doAssert in tests * Disable JS & VM tests
* enable bsd for tsetutils; improve setutils API (#17098)Timothee Cour2021-02-202-7/+12
|
* important_packages: add fusion (#17094)Timothee Cour2021-02-201-0/+3
|
* stricter checks for RST headlines (#17089)Andrey Makarov2021-02-209-17/+72
|
* uri: document removeDotSegments, add tests, show failure modes (#17064)Timothee Cour2021-02-202-9/+32
| | | | * uri: document removeDotSegments, add tests, show failure modes * address comments
* use single backtick (#17115)flywind2021-02-2010-174/+174
|
* [nep1] Use `std` prefix for standard library modules (#17105)flywind2021-02-191-1/+4
|
* [backport:1.2] update nimble commit hash (#17109)Miran2021-02-192-4/+4
|
* workaround #17091: manual.rst now renders as RST in github (#17092)Timothee Cour2021-02-191-7/+8
|
* Ref #12700 add testcase (#17096)flywind2021-02-191-1/+9
| | | | | | | * fix js unsigned integer * better * ref #12700 add testcase
* fixes #17085 [backport:1.2] (#17101)Andreas Rumpf2021-02-194-3/+26
|
* close #13859; add testcase (#17099)flywind2021-02-191-0/+19
| | | | | | | * fix js unsigned integer * better * close #13859; add testcase
* system/excpt: let the OS handle termination on signal (#16712)alaviss2021-02-194-3/+46
|
* add example of hashing an object by all of its fields with `fields` (#16643)dawidkotlin2021-02-191-0/+14
| | | | | | | | | | | | * add example of hashing an object by all of its fields with `fields` * Update lib/pure/hashes.nim * Update lib/pure/hashes.nim * Update lib/pure/hashes.nim Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* use single backtick (#17100)flywind2021-02-1810-81/+81
|
* Add setutils.complement, setutils.fullSet (#17066)Jason Beetham2021-02-183-9/+55
|
* contributing: prefer assert to doAssert in runnableExamples (#17077)Timothee Cour2021-02-181-7/+24
|
* followup #17065 (#17090)Timothee Cour2021-02-181-1/+1
|
* nep1: triple quote literals should start with newline (#17065)Timothee Cour2021-02-181-0/+21
|
* fix stringify unsigned integer in JS and JS VM (#17086)flywind2021-02-182-18/+57
| | | | | * fix js unsigned integer * better
* fixes #17060 (#17083)Andreas Rumpf2021-02-181-1/+3
|
* Improve documentation for options (#17036)konsumlamm2021-02-181-130/+104
|
* fixes #16585 (#17074)Andreas Rumpf2021-02-181-2/+17
|
* [nodejs backend] paramStr, paramCount (#17082)flywind2021-02-182-9/+44
|
* fix #17078 csources generation (#17079)Timothee Cour2021-02-182-6/+4
| | | | | * fix #17078 csources generation * fixup
* fix #17076 (#17081)flywind2021-02-182-4/+30
|
* system: more runnableExamples + doc improvements (#17075)Timothee Cour2021-02-171-39/+48
|
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-1720-23/+43
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* fix math.frexp function signature (#16725)flywind2021-02-173-41/+65
|