summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rst test check messages (fix #17280) (#17338)Andrey Makarov2021-03-172-13/+24
|
* allow short-style rst references with symbols (#17372)Andrey Makarov2021-03-171-11/+30
|
* [std/channels]fix recv leaks(Part One) (#17394)flywind2021-03-171-23/+6
|
* fix #17393 getHomeDir and expandTilde should not include trailing `/` (#17398)Timothee Cour2021-03-171-2/+12
| | | | | * fix #17393 getHomeDir and expandTilde should not include trailing `/` * changelog
* followup #17389; add see also in std/json (#17400)Timothee Cour2021-03-161-0/+8
| | | Co-authored-by: flywind <xzsflywind@gmail.com>
* Fix FutureStream memory usage (#17395) [backport:1.2]Igor Ribeiro de Assis2021-03-161-1/+5
|
* fix #17383: json.%,to and jsonutils.formJson,toJson now works with ↵Timothee Cour2021-03-162-5/+21
| | | | | | | uint|uint64 (#17389) [backport:1.2] * fix #17383: json.%,to and jsonutils.formJson,toJson now works with uint|uint64 * fixup * fix for js
* Documentation only jsconsole (#17384)Juan Carlos2021-03-161-0/+12
| | | | Co-authored-by: Danil Yarantsev <tiberiumk12@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* fix #17380 (#17391)flywind2021-03-161-1/+2
|
* fix #17385, `len` must be declared before `items` (#17386)Miran2021-03-151-21/+21
|
* make std/sysrand better (#17360)flywind2021-03-151-19/+29
|
* Clean up imports in httpclient.nim (#17367)xioren2021-03-141-4/+5
| | | | | | | | | | | * Clean up imports Fix duplicate 'streams' import. * Update lib/pure/httpclient.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* clarify the behavior of newChan flywind2021-03-121-0/+4
| | | follow up the advice of `timothee`
* New channels implementation for ORC (#17305)flywind2021-03-121-0/+510
| | | | | | | * Update lib/std/channels.nim * Rename tchannel_pthread.nim to tchannels_pthread.nim * Rename tchannel_simple.nim to tchannels_simple.nim Co-authored-by: Mamy Ratsimbazafy <mamy_github@numforge.co>
* rename channels to channels_builtin (#17330)flywind2021-03-124-3/+3
| | | | | | | * improve test coverage for isolation * a bit better * rename channels to channels_builtin
* 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
|