summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* remove docutils.nimble (not a real nimble package, and affected canonical ↵Timothee Cour2021-03-296-13/+7
| | | | | | | imports) (#17544) * remove docutils.nimble (not a real nimble package, and affected canonical imports) * cleanup redundant references
* Small doc improvements for `std/with` (#17556)konsumlamm2021-03-291-3/+4
|
* Fix net.readLine infine loop #17534 (#17535)ben2021-03-291-0/+1
| | | | | * Fix net.readLine infine loop #17534 * fix #17534 add return to template
* fix #14010(fix std/registry + arc) (#17551)flywind2021-03-291-8/+10
| | | | | | | | | | | | | * fix nim js cmp fails at CT * fix #14010 * Update tests/stdlib/tregistry.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tregistry.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Free the certificate after checking in `checkCertName` (#17558) [backport:1.2]Danil Yarantsev2021-03-292-3/+6
| | | | | | * Fix small leak in checkCertName * Size is not needed either * Free the certificate after checking
* [docs]close #12580 (#17549)flywind2021-03-281-2/+2
|
* follow up #17539 (#17548)flywind2021-03-292-2/+1
| | | | | * fix nim js cmp fails at CT * follow up #17539
* Add a getter for all defined Sections in parsecfg (#15450)Ardek Romak2021-03-281-0/+6
|
* system: fix link in `delete` proc (#17550)ee72021-03-281-1/+1
| | | The `delete` proc had a "See also" link that linked to itself.
* set const arch64 to fix compiling with vcc/icc (#17539)rockcavera2021-03-281-0/+1
|
* nnkArglist => nnkArgList + special case stylecheck:error (#17529)Timothee Cour2021-03-273-3/+3
| | | | | * nnkArglist => nnkArgList * special case stylecheck:error
* cleaned up the internal documentation (#17524)Andreas Rumpf2021-03-262-1/+81
|
* lent support for tables (#17505)flywind2021-03-251-9/+9
|
* fix RST parsing after option lists (#17442)Andrey Makarov2021-03-251-1/+72
|
* fix #17260 render `\` properly in nim doc, rst2html (#17315)Timothee Cour2021-03-242-7/+18
|
* fix #17325 linux 32bit CI; fix #17085 flaky test (#17469)Timothee Cour2021-03-241-3/+4
|
* fix #17490 (#17491)flywind2021-03-241-4/+10
|
* followup #16182 (#17472)flywind2021-03-231-3/+3
| | | | | * fix nim js cmp fails at CT * followup #16182
* remove {.compileTime.} for procs with NimNode: redundant because of ↵Timothee Cour2021-03-236-112/+106
| | | | tfTriggersCompileTime (#17463)
* add algorithm.merge (#16182)flywind2021-03-231-0/+94
| | | | | | | | | * add merge to algorithm * Apply suggestions from code review * Update lib/pure/algorithm.nim * Apply suggestions from code review * Update changelog.md Co-authored-by: ee7 <45465154+ee7@users.noreply.github.com>
* 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>