summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Added math.clamp for slice clamping (#17246)Jason Beetham2021-03-033-0/+23
| | | | | | | * Added math.clamp for slice clamping * Added inline to math.clamp * Cleaned up math.clamp + test
* followup #17225: simplify code after removing gc2, generational (#17242)Timothee Cour2021-03-038-16/+15
|
* fix #16384 and #17144 (#17126) [backport]flywind2021-03-032-219/+225
|
* https://github.com/nim-lang/Nim/pull/15826/files#r585368355 (#17233)Juan Carlos2021-03-032-3/+8
|
* fix #17177 (#17243)flywind2021-03-032-2/+13
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * fix #17177 * add testcase
* \r now renders as \r, not \c which was not standard (#17244)Timothee Cour2021-03-032-3/+5
|
* Use readable escape sequences (#17241)Clyybber2021-03-035-68/+68
|
* rename prepareStrMutation to prepareMutation (#17235)flywind2021-03-034-10/+10
| | | | | | | * remove unnecessary when statement * remove outdated codes * rename prepareStrMutation to prepareMutation
* Use nicer escape sequences in renderer.nim (#17239)Clyybber2021-03-021-11/+11
|
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-029-57/+277
|
* fix #16731: using deprecated flags triggers a warning (#17225)Timothee Cour2021-03-022-24/+20
| | | | | | * using deprecated flags triggers a warning * cleanups * fixup * address comments
* document copy on write behavior of string literals in arc/orc (#17224)flywind2021-03-021-0/+70
| | | | | | * Update doc/destructors.rst Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* re-enable disabled tests after #17173 (#17228)Timothee Cour2021-03-021-111/+75
|
* Simple fix to make the linenoise wrapper do the right thing (#17234)PMunch2021-03-021-1/+1
|
* add runnableExamples for prepareStrMutation (#17227)flywind2021-03-022-2/+9
| | | | | * Update lib/system.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* attempt to fix #16374 (#17232)flywind2021-03-022-1/+44
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * attempt to fix #16374 * fix
* fixes #17198, DFA failure on large case stmts (#17210)Saem Ghani2021-03-022-3/+40
| | | | | | This alters the DFA control flow graph generation for case statments. Gotos are now generated as a chained link, this ensures that evaluation of variant branches collapses as early as possible, without hitting the 2k call limit.
* re-enable pkg optionsutils (#17231)Timothee Cour2021-03-021-1/+1
|
* Remove the note about old naming conventions (#17222)Danil Yarantsev2021-03-021-9/+0
|
* close #5342 add testcase (#17230)flywind2021-03-021-0/+23
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * close #5342 add testcase * update the example
* Replace double backticks with single backticks - Part 5 out of ~8 (#17217)Danil Yarantsev2021-03-011-232/+232
| | | Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Replace double backticks with single backticks - Part 4 out of ~7 (#17216)Danil Yarantsev2021-03-016-122/+122
|
* Follow NEP1 in NEP1 (#17221)Danil Yarantsev2021-03-021-1/+1
|
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-0115-53/+37
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar
* fixes #17173 (#17213)Andreas Rumpf2021-03-015-2/+33
| | | | | | | | | | | | | | | | | | | | | | * fixes #17173 * add testcase (#17214) * Apply suggestions from code review * fix for newruntime * Apply suggestions from code review * Update lib/system.nim * Update lib/system.nim * Update lib/system.nim Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com>
* add 'pixie' to important_packages (#17215)Miran2021-03-011-0/+1
|
* add overload `add(a: var string, b: openArray[char])` (#15951)Timothee Cour2021-03-015-142/+172
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* use `-r:off` for runnableExamples that should compile but not run (#17203)Timothee Cour2021-03-015-44/+40
| | | | | * use -r:off for runnableExamples that should compile but not run * use -r:off in other RT disabled tests
* Replace double backticks with single backticks - Part 3 out of ~7 (#17207)Danil Yarantsev2021-02-285-159/+159
|
* Replace double backticks with single backticks - Part 2 out of ~6 (#17206)Danil Yarantsev2021-02-2810-136/+136
|
* Replace double backticks with single backticks - Part 1 out of ~6 (#17205)Danil Yarantsev2021-02-2810-75/+75
|
* Change stdlib imports to use std prefix in most examples (#17202)Danil Yarantsev2021-02-2845-127/+127
|
* Fix Typos (#17194)Juan Carlos2021-02-271-1/+1
|
* add warnings to std/sysrand (#17191)flywind2021-02-261-0/+4
| | | | | | | | | | | | | | * remove unnecessary when statement * remove outdated codes * add warnings to std/sysrand * Update lib/std/sysrand.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* document `;` vs `,` for generic params (#17192)Timothee Cour2021-02-261-1/+6
|
* fix code-block test bugs: fix #17183, fix ↵Timothee Cour2021-02-263-2/+21
| | | | | | | https://github.com/timotheecour/Nim/issues/620 (#17184) * fix code-block test bugs: fix #17183, fix https://github.com/timotheecour/Nim/issues/620 * cleanup
* Fix unicode.split with seperators examples (#17176)zetashift2021-02-261-58/+25
| | | | | | | | | | | | | | | | | | | | | | * Fix unicode.split with seperators examples https://nim-lang.org/docs/unicode.html#split.i%2Cstring%2CRune%2Cint didn't work with the set constructor `{}` so replaced it with a string that's converted to an openArray compatible type containing `Rune`s. * Add runnableExamples to unicode.split * Add runnableExamples to split with single separator too * Simplify runnableExamples unicode.split * Improve the rest of the runnableExamples with the simplified code * Simplify runnableExamples of unicode.split even more * Formatted unicode.split example * Update lib/pure/unicode.nim Co-authored-by: zetashift <rishi2@laptop.localdomain> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* hashes: support object default hash (#17175)Timothee Cour2021-02-263-18/+62
|
* improve docs for sugar.collect (#17188)Timothee Cour2021-02-261-24/+29
|
* make jsconsole.assertion errors less confusing in logs (#17179)Timothee Cour2021-02-251-1/+1
| | | | | | | * make jsconsole.assertion errors less confusing in logs * address comments * fixup
* clarify the docs of existsOrCreateDir a bit (#17182)flywind2021-02-251-4/+3
| | | | | | | * remove unnecessary when statement * remove outdated codes * clarify the docs a bit
* clean up wrapnilsflywind2021-02-251-1/+0
|
* refs #17114: workaround for arm64 which should segfault but does not (#17178)Timothee Cour2021-02-252-1/+2
| | | | | | | * refs #17114: workaround for arm64 which should segfault but does not * fixup * Update lib/std/wrapnils.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* mark inline (#17180)flywind2021-02-241-2/+2
|
* use single backtick (#17181)flywind2021-02-2410-381/+381
|
* `std/options`: `$some(3)` is now `"some(3)"`, etc. (#17147)Timothee Cour2021-02-246-20/+29
| | | | | | | * std/options: $some(3) is now "some(3)", not "Some(3)", `$none(int)` is now `"none(int)"` instead of `"None[int]"` * fix tests * disable optionsutils
* asyncjs: add `then`, `catch` for promise pipelining (#16871)Timothee Cour2021-02-247-24/+166
| | | | | | * asyncjs: add then * improve tests, changelog, API * fix cryptic windows error: The parameter is incorrect * address comments
* remove deprecated stuff in unittest module (#17156)flywind2021-02-242-43/+48
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * remove deprecated stuff in testament * fix
* compiler/installer.ini: package cacert.pem on Windows [backport:1.2] (#17172)alaviss2021-02-241-0/+1
| | | | | | | | | Follow up of https://github.com/nim-lang/nightlies/commit/5dc544e1f521e94874c22ee5209d38460b968243 After updating windeps.zip, it appears that Windows' build was unchanged. As it turns out, cacert.pem is not set for packaging by the compiler package manifest. This commit add cacert.pem to the Windows package.
* fixes #17170 (#17171)Andreas Rumpf2021-02-243-1/+37
|