summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix #17454 (#17461)Timothee Cour2021-03-231-11/+9
|
* remove redundant void return in stdlib (#17464)Timothee Cour2021-03-237-12/+11
|
* close #11330 sets uses optimized countSetBits (#17334)flywind2021-03-224-85/+98
| | | | | | | * Update lib/pure/bitops.nim * Update lib/system/sets.nim * Apply suggestions from code review Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* prevent bitmasks double included in mmdist if -d:nimArcDebug added (#17436)Derek 呆2021-03-211-1/+2
|
* Improve jsre (#17365)Juan Carlos2021-03-211-30/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add dollar for regex * Add dollar for regex * Peer review feedbacks * Peer review feedbacks * Update lib/js/jsre.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update lib/js/jsre.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update lib/js/jsre.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Pear review * Beer review * Beer review Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* improve jsutils docs (#17421)Timothee Cour2021-03-211-10/+42
| | | | | * improve jsutils docs * address comments
* Add documentation to the `macrocache` module (#17431)Danil Yarantsev2021-03-211-15/+176
| | | | | | | | | | | | | | | | | | | | | * Add docs to macrocache * use hint * Use incl in the incl example * add macrocache to lib * consistency * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * apply suggestions * clarify the warning Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* strutils: improve doc comments for `replace` funcs (#17427)ee72021-03-201-3/+4
| | | | | | | | | | | | | This commit fixes mispellings of "occurrence" introduced by: - 76a3b350ce0f (#17337) - 8e8bea9044f0 (#17339) and adds the same "every occurrence of" in the `replaceWord` func. Other changes: - Prefer "replace with" to "replace by". - Be more consistent with "the" - prefer "of the character" given that we wrote "by the character". - Try to be more consistent with writing the types - add "the string `sub`" given that we wrote "the character `sub`".
* Use importjs (#17422)konsumlamm2021-03-194-56/+56
|
* [FIX] use `mixin` for strscans.scanp (#17371)haxscramper2021-03-191-1/+2
|
* Clarify behaviour of char replace (#17339)Héctor M. Monacci2021-03-191-1/+1
| | | Clarify behaviour of char replace by adding ```every ocurrence of character```
* follow up #17276 (#17355)flywind2021-03-191-2/+10
| | | | | | | | | | | | | * improve test coverage for isolation * a bit better * rename channels to channels_builtin * follow up #17276 * fix * Update lib/std/private/jsutils.nim
* IC: green tests (#17311)Andreas Rumpf2021-03-195-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * IC: renamed to_packed_ast module to ic module * IC: don't store the --forceBuild flag, makes it easier to test * IC: enable hello world test * Codegen: refactorings for IC; changed the name mangling algorithm * fixed the HCR regressions * life is too short for HCR * tconvexhull is now allowed to use deepCopy * IC exposed a stdlib bug, required a refactoring * codegen: code cleanups * IC: even if a module is outdated, its dependencies might come from disk * IC: progress * IC: better name mangling, module IDs are not stable * IC: another refactoring helping with --ic:on --gc:arc * disable arraymancer on Windows for the time being * disable arraymancer altogether * IC: make basic test work with 'nim cpp' * IC: progress on --ic:on --gc:arc * wip; name mangling for type info
* fix a typo (#17417)flywind2021-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "make system random work in VM" * fix #17380 * attempt to fix bug * fix * better * fix * a bit * fix the leaks * revert * fix * better * follow up #17391 * fix * Update tchannels.nim * Update tests/stdlib/tchannels.nim * Update tchannels.nim * fix a typo
* improve jsconsole (#17414)Juan Carlos2021-03-191-0/+10
| | | | | | | | | * Add jsconsole.dir * Update lib/js/jsconsole.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* RST backtick refactor (all *.rst except manual.rst and rst_examples.rst) ↵quantimnot2021-03-181-1/+3
| | | | | (#17258) Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* doc times: do not use `now` (and also `epochTime`) for benchmarking (#17405)Timothee Cour2021-03-181-1/+6
| | | | | | | | | | | | | * doc times: do not use now for benchmarking * Update lib/pure/times.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update lib/pure/times.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* followup #17398: `getTempDir`, `getConfigDir` now do not have trailing ↵Timothee Cour2021-03-181-7/+11
| | | | | | | DirSep (#17402) * followup #17398: `getTempDir`, `getConfigDir` now do not have trailing DirSep * fix test
* 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