summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix RST parsing when no indent after enum.item (fix #17249) (#17257)Andrey Makarov2021-03-123-10/+51
|
* Relocate 4xx/5xx exception in downloadFile (#17332) [backport:1.2]xioren2021-03-121-6/+6
| | | Move 4xx/5xx exception to before disk i/o. As it stands an empty file is created on http error 4xx/5xx.
* fix wrong examples (#17350)flywind2021-03-121-11/+6
| | | | | | | | | * fix wrong examples * Update lib/std/compilesettings.nim * Update lib/std/compilesettings.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* refs #4347, add `ZZZ` and `ZZZZ` patterns for timezone offsets without ↵Miran2021-03-111-17/+29
| | | | colons (#17318)
* Clarify behaviour of ```replace``` (#17337)Héctor M. Monacci2021-03-111-1/+1
| | | | | | | | | | | | * Clarify behaviour of ```replace``` Clarify behaviour of ```replace``` by adding the word ```every``` * Update lib/pure/strutils.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* clarify the docs of isolation (#17335)flywind2021-03-111-1/+7
| | | | | | | * improve test coverage for isolation * a bit better * clarify the docs of isolation
* Use `.. warning::` (#17320)konsumlamm2021-03-1015-88/+84
|
* add typetraits.OrdinalEnum, enumutils.symbolName (#17281)Timothee Cour2021-03-102-8/+34
|
* Change parameter names in lists module from `L` (#17321)konsumlamm2021-03-101-127/+127
|
* Improve the lists module (#17312)konsumlamm2021-03-101-166/+185
|
* Small improvements for the distros module (#17309)konsumlamm2021-03-091-25/+18
|
* Add Portals (#17306)Juan Carlos2021-03-091-0/+4
| | | | | * Add Portals * Add Portals
* fix #17275 (#17276)flywind2021-03-092-3/+10
|
* remove unnecessary deps (#17307)flywind2021-03-091-2/+0
| | | | | | | * improve test coverage for isolation * a bit better * remove unnecessary deps
* fix #13491 #17279 runnableExamples now don't get lost in translation (#17282)Timothee Cour2021-03-091-3/+2
| | | | | * fix #13491 runnableExamples rendering * fix a runnableExamples thanks to this bugfix
* add setutils.[]= (#17272)Timothee Cour2021-03-081-3/+17
| | | | | * add setutils.[]= * address comments * proc => func (for other symbols too)
* Add Debug breakpoints support (#17295)Juan Carlos2021-03-081-0/+6
| | | | | * Add Debug breakpoints support * Add Debug breakpoints support
* stdlib/os: add isAdmin (#17012)Roman Inflianskas2021-03-072-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | * stdlib/os: add isAdmin * uint8 -> cuchar, assert isAdmin on Azure Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update lib/pure/os.nim docs Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Address comments on #17012 * Raise on errors in #17012 * Check the result of FreeSid in #17012 * Change case in #17012 * Fix memory leak in #17012 * Address comments in #17012 Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* use lowercase --define switches (#17283)flywind2021-03-0713-33/+33
|
* Add module jsfetch (#12531)Juan Carlos2021-03-063-0/+346
| | | | | | | | | | | | * Add module jsfetch for fetch support for JavaScript target https://developer.mozilla.org/docs/Web/API/Fetch_API * Update lib/std/jsheaders.nim * Update lib/std/jsformdata.nim * Update lib/std/jsfetch.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com>
* runnableExamples for walkFiles + friends (#17271)Timothee Cour2021-03-061-0/+12
| | | | | * runnableExamples for walkFiles + friends * address comments
* add warnings to std/isolation (#17270)flywind2021-03-051-0/+3
| | | | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage * add warnings to std/isolation
* Add unsafeIsolate and extract to std/isolation [backport:1.4] (#17263)flywind2021-03-051-0/+8
|
* Fix macros.quote custom op symbol interpolation. (#17256)quantimnot2021-03-051-2/+6
| | | | | | | | | | Provides a workaround/fix for #7589. https://github.com/nim-lang/Nim/issues/7589 Updated docs and tutorial to reflect change. Updated runnableExamples to include an example. Co-authored-by: name <name@example.com>
* fix #17264 [backport:1.4] (#17266)flywind2021-03-051-1/+2
| | | | | * fix #17264 * fix vm * fix js and add tests
* Remove support for named procs with sugar.=> (#17220)konsumlamm2021-03-051-10/+0
| | | | | | * Add docs & tests for named procs with sugar.=> * Remove support for named procs in sugar.=> * Resolve conflict * Fix test
* IC: further progress (#17150)Andreas Rumpf2021-03-051-3/+0
| | | | | | | * IC: respect the -f switch * IC: better rod file inspection * progress
* follow up #17165 (#17262)flywind2021-03-042-3/+3
|
* Added assertion to clamp (#17248)Jason Beetham2021-03-042-2/+7
| | | Co-authored-by: flywind <xzsflywind@gmail.com>
* reuse jsffi in json module (#17165)flywind2021-03-041-20/+7
| | | | | | | | | * remove unnecessary when statement * remove outdated codes * reuse jsffi * move js json coverage
* Improve Bigint (#17252)Juan Carlos2021-03-041-0/+2
| | | | | | | | | | | | | * https://github.com/timotheecour/Nim/issues/566#issue-799927295 * Update lib/std/jsbigints.nim Co-authored-by: flywind <xzsflywind@gmail.com> * Update lib/std/jsbigints.nim Co-authored-by: flywind <xzsflywind@gmail.com> Co-authored-by: flywind <xzsflywind@gmail.com>
* followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189)Timothee Cour2021-03-041-21/+58
| | | | | | | | | | * followup #16871 asyncjs.then: allow pipelining procs returning futures * rename test files where they belong * fix tests * tests for then with `onReject` callback * rename test file containing fail to avoid messing with grep * address comments * cleanup * un-disable 1 test
* use .. warning:: (#17226)flywind2021-03-045-16/+13
| | | | | | | * remove unnecessary when statement * remove outdated codes * use warnings
* Added math.clamp for slice clamping (#17246)Jason Beetham2021-03-031-0/+10
| | | | | | | * 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-034-7/+7
|
* https://github.com/nim-lang/Nim/pull/15826/files#r585368355 (#17233)Juan Carlos2021-03-031-2/+3
|
* fix #17177 (#17243)flywind2021-03-031-2/+3
| | | | | | | | | * 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-031-3/+3
|
* Use readable escape sequences (#17241)Clyybber2021-03-034-65/+65
|
* rename prepareStrMutation to prepareMutation (#17235)flywind2021-03-033-6/+6
| | | | | | | * remove unnecessary when statement * remove outdated codes * rename prepareStrMutation to prepareMutation
* RST heading improvements (fix #17091) (#17195)Andrey Makarov2021-03-023-49/+107
|
* 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>
* 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
|
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-011-20/+13
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar
* fixes #17173 (#17213)Andreas Rumpf2021-03-013-1/+16
| | | | | | | | | | | | | | | | | | | | | | * 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 overload `add(a: var string, b: openArray[char])` (#15951)Timothee Cour2021-03-012-7/+24
| | | 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
|