Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove tests/deps/ (#17132) | Timothee Cour | 2021-02-23 | 49 | -27270/+26 |
| | | | | | | | | | * remove tests/deps/ * fix tests * fix tests/manyloc/keineschweine/lib/zlib_helpers.nim * fixup | ||||
* | fix `UnusedImport` for `nim c compiler/nim` (#17152) | Timothee Cour | 2021-02-23 | 1 | -3/+4 |
| | |||||
* | Fixes #17039 - ldObj checks node/nodeAddr access (#17123) | Saem Ghani | 2021-02-23 | 2 | -1/+11 |
| | | | | | | Checked field expressions, such as an object variant field access results in occasionally broken address analysis crashing the VM. This guard added here mimics guarded access in ldObjAddr as well. This is to prevent a crash, while a fix is devised. | ||||
* | A few rst doc fixes (#17151) | Danil Yarantsev | 2021-02-23 | 2 | -2/+2 |
| | | | | | * Fix a couple of rst formatting issues * no need for the extra space | ||||
* | add io.readChars overload (simpler, less error prone) (#16044) | Timothee Cour | 2021-02-22 | 5 | -6/+50 |
| | | | | | | | | | | * add simpler to use readChars overload * use new readChars overload * Update lib/wrappers/openssl.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: flywind <xzsflywind@gmail.com> | ||||
* | Improve the ropes module (#17145) | konsumlamm | 2021-02-22 | 2 | -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) | rockcavera | 2021-02-22 | 2 | -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 Ghani | 2021-02-22 | 3 | -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) | konsumlamm | 2021-02-22 | 1 | -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 Cour | 2021-02-22 | 3 | -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) | flywind | 2021-02-22 | 2 | -43/+49 |
| | |||||
* | testament: support disabled:osx as alias to disabled:macosx (#17124) | Timothee Cour | 2021-02-22 | 3 | -4/+4 |
| | |||||
* | make rst.nim use object variant (#17138) | Andrey Makarov | 2021-02-22 | 5 | -132/+159 |
| | | | | | | | * make rst.nim use object variant * add workaround * fix mistake | ||||
* | remove outdated codes (#17140) | flywind | 2021-02-22 | 2 | -2/+0 |
| | | | | | * remove unnecessary when statement * remove outdated codes | ||||
* | fix #17118 (#17119) [backport:1.2] | flywind | 2021-02-22 | 2 | -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 Cour | 2021-02-22 | 3 | -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 Cour | 2021-02-22 | 1 | -1/+15 |
| | | | | release tags (#17134) | ||||
* | use single backtick (#17141) | flywind | 2021-02-21 | 11 | -68/+68 |
| | |||||
* | followup #17077: also use assert instead of doAssert for `code-block` rst ↵ | Timothee Cour | 2021-02-21 | 1 | -1/+2 |
| | | | | blocks intended to be used as `runnableExamples` (#17122) | ||||
* | Split last read and first write analysis (#17137) | Clyybber | 2021-02-21 | 1 | -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) | flywind | 2021-02-21 | 2 | -13/+17 |
| | |||||
* | use single backtick (#17133) | flywind | 2021-02-21 | 10 | -103/+103 |
| | |||||
* | promote std prefix in docs (#17128) | flywind | 2021-02-20 | 9 | -41/+41 |
| | |||||
* | disable chronos (#17131) | flywind | 2021-02-20 | 1 | -2/+3 |
| | |||||
* | refs #17107 use 2 instead of 3 parallel jobs for openbsd (#17108) | Timothee Cour | 2021-02-20 | 4 | -37/+4 |
| | |||||
* | move prelude so that `include std/prelude` also works (#17110) | Timothee Cour | 2021-02-20 | 7 | -11/+28 |
| | | | | | * move prelude so that `include std/prelude` also works * add test | ||||
* | Improve the strformat module (#17106) | konsumlamm | 2021-02-20 | 2 | -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 Cour | 2021-02-20 | 2 | -7/+12 |
| | |||||
* | important_packages: add fusion (#17094) | Timothee Cour | 2021-02-20 | 1 | -0/+3 |
| | |||||
* | stricter checks for RST headlines (#17089) | Andrey Makarov | 2021-02-20 | 9 | -17/+72 |
| | |||||
* | uri: document removeDotSegments, add tests, show failure modes (#17064) | Timothee Cour | 2021-02-20 | 2 | -9/+32 |
| | | | | * uri: document removeDotSegments, add tests, show failure modes * address comments | ||||
* | use single backtick (#17115) | flywind | 2021-02-20 | 10 | -174/+174 |
| | |||||
* | [nep1] Use `std` prefix for standard library modules (#17105) | flywind | 2021-02-19 | 1 | -1/+4 |
| | |||||
* | [backport:1.2] update nimble commit hash (#17109) | Miran | 2021-02-19 | 2 | -4/+4 |
| | |||||
* | workaround #17091: manual.rst now renders as RST in github (#17092) | Timothee Cour | 2021-02-19 | 1 | -7/+8 |
| | |||||
* | Ref #12700 add testcase (#17096) | flywind | 2021-02-19 | 1 | -1/+9 |
| | | | | | | | * fix js unsigned integer * better * ref #12700 add testcase | ||||
* | fixes #17085 [backport:1.2] (#17101) | Andreas Rumpf | 2021-02-19 | 4 | -3/+26 |
| | |||||
* | close #13859; add testcase (#17099) | flywind | 2021-02-19 | 1 | -0/+19 |
| | | | | | | | * fix js unsigned integer * better * close #13859; add testcase | ||||
* | system/excpt: let the OS handle termination on signal (#16712) | alaviss | 2021-02-19 | 4 | -3/+46 |
| | |||||
* | add example of hashing an object by all of its fields with `fields` (#16643) | dawidkotlin | 2021-02-19 | 1 | -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) | flywind | 2021-02-18 | 10 | -81/+81 |
| | |||||
* | Add setutils.complement, setutils.fullSet (#17066) | Jason Beetham | 2021-02-18 | 3 | -9/+55 |
| | |||||
* | contributing: prefer assert to doAssert in runnableExamples (#17077) | Timothee Cour | 2021-02-18 | 1 | -7/+24 |
| | |||||
* | followup #17065 (#17090) | Timothee Cour | 2021-02-18 | 1 | -1/+1 |
| | |||||
* | nep1: triple quote literals should start with newline (#17065) | Timothee Cour | 2021-02-18 | 1 | -0/+21 |
| | |||||
* | fix stringify unsigned integer in JS and JS VM (#17086) | flywind | 2021-02-18 | 2 | -18/+57 |
| | | | | | * fix js unsigned integer * better | ||||
* | fixes #17060 (#17083) | Andreas Rumpf | 2021-02-18 | 1 | -1/+3 |
| | |||||
* | Improve documentation for options (#17036) | konsumlamm | 2021-02-18 | 1 | -130/+104 |
| | |||||
* | fixes #16585 (#17074) | Andreas Rumpf | 2021-02-18 | 1 | -2/+17 |
| | |||||
* | [nodejs backend] paramStr, paramCount (#17082) | flywind | 2021-02-18 | 2 | -9/+44 |
| |