summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix #16973 ; nim doc now shows correct, canonical import name in title (#16999)Timothee Cour2021-03-233-20/+38
| | | | * nim doc now shows correct import name in title
* IC: backend: remember produced type information (#17440)Andreas Rumpf2021-03-239-42/+93
|
* fix #17458 tnetconnect.nim flaky (#17459)Timothee Cour2021-03-231-12/+16
| | | | | * fix tests * fix #17458
* refs #17292 fix `repr` with `do:` (#17449)Timothee Cour2021-03-232-3/+90
| | | | | * refs #17292 fix `repr` with `do:` * address comment
* fix #17454 (#17461)Timothee Cour2021-03-232-12/+13
|
* refs #16338 make thttpclient_ssl_remotenetwork.nim less flaky (#17457)Timothee Cour2021-03-231-3/+14
|
* remove redundant void return in stdlib (#17464)Timothee Cour2021-03-237-12/+11
|
* hint:cc goes to stderr (like all other hints) instead of stdout (#17465)Timothee Cour2021-03-222-8/+8
| | | Co-authored-by: ee7 <45465154+ee7@users.noreply.github.com>
* semTemplateDef and t17433 clean-ups (#17448)Saem Ghani2021-03-224-42/+44
| | | | | - use `doAssert` in t17433 - use setGenericParamsMisc in semTemplateDef akin to semProcAux - pragma handling in semTemplateDef inline with semProcAux
* 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>
* Fixes #17433; gensym callDef return in templ body (#17445)Saem Ghani2021-03-222-1/+17
|
* added more modules to docs lib (#17430)AFaurholt2021-03-211-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added more modules * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/lib.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * listed alphabetically + link to json module * Added suggestion #17430 Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* prevent bitmasks double included in mmdist if -d:nimArcDebug added (#17436)Derek 呆2021-03-211-1/+2
|
* Improve jsre (#17365)Juan Carlos2021-03-212-30/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-212-15/+179
| | | | | | | | | | | | | | | | | | | | | * 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>
* Close #8545 by add a test case (#17432)konsumlamm2021-03-201-0/+23
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.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-192-3/+11
| | | | | | | | | | | | | * 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-1930-187/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* follow up #17391 add testcase (#17404)flywind2021-03-191-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 #16901: sidebar groups now works with all routines, not just proc,func ↵Timothee Cour2021-03-193-34/+91
| | | | | | | (#17416) * fix #16901: sidebar groups now works with all routines, not just proc,func * fix tests
* improve jsconsole (#17414)Juan Carlos2021-03-192-0/+12
| | | | | | | | | * 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-1830-1351/+1403
| | | | | (#17258) Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* RST backtick refactor manual.rst (#17259)quantimnot2021-03-181-863/+863
| | | Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* disable i386 CI until we figure out how to fix itnarimiran2021-03-181-5/+5
|
* 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>
* adjust spellSuggestSecretSauce logic to avoid too many matches for small ↵Timothee Cour2021-03-183-4/+10
| | | | symbols (#17410)
* followup #17398: `getTempDir`, `getConfigDir` now do not have trailing ↵Timothee Cour2021-03-183-12/+16
| | | | | | | DirSep (#17402) * followup #17398: `getTempDir`, `getConfigDir` now do not have trailing DirSep * fix test
* docs contributing: mention https://man.sr.ht/builds.sr.ht/build-ssh.md for ↵Timothee Cour2021-03-181-1/+5
| | | | ssh to CI machines (#17409)
* Rst test check messages (fix #17280) (#17338)Andrey Makarov2021-03-174-90/+156
|
* semLambda removed, semProcAux reworked (#17379)Saem Ghani2021-03-1718-210/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simplified proc-like name ident to symbol code * wip - reworking generic param sem * wip - closer to removing nkEmpty generic params * it's hacky but tests pass * slowly tweaking semProcAux to take on semLambda * fix pragma superset check proto vs current * Set the symbol owner earlier * partial progress reworking proto found bug where default values between forward and impl lead to overload resolution issues. * simplified pragma handling and callConv checks Co-authored-by: Clyybber <Clyybber@users.noreply.github.com> * partially working * cgexprs issue * It works! * comment clean-up * clean-up asserts, comments, and other bits * add isGenericParams, inline isGeneric queries * seeing if this is sufficiently consistent * can use this approach or continue it in a further PR * commentary about nullary generics and clean-ups * fixed a mistake in PNode isGenericRoutine * Some small cleanups * Small cleanup * for func lambdas ensure we use lambda pragmas * add some basic compileTime func tests * [ci skip] remove comments Co-authored-by: Clyybber <Clyybber@users.noreply.github.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* allow short-style rst references with symbols (#17372)Andrey Makarov2021-03-172-11/+55
|
* [std/channels]fix recv leaks(Part One) (#17394)flywind2021-03-173-26/+9
|
* fix #17393 getHomeDir and expandTilde should not include trailing `/` (#17398)Timothee Cour2021-03-172-2/+14
| | | | | * fix #17393 getHomeDir and expandTilde should not include trailing `/` * changelog
* followup #16067 --spellSuggest (#17401)Timothee Cour2021-03-174-23/+25
| | | | | | | * followup #16067 --spellSuggest * enable --spellSuggest by default * fixup
* followup #17389; add see also in std/json (#17400)Timothee Cour2021-03-162-0/+11
| | | 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-164-6/+56
| | | | | | | 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 #2844 #3911; add --spellsuggest to suggest symbols in scope with similar ↵Timothee Cour2021-03-169-32/+178
| | | | | | | spellings on undefined symbol error (#16067) * add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors * implement --spellsuggest with 0 arguments
* fix #17380 (#17391)flywind2021-03-161-1/+2
|
* Let koch temp -u:leanCompiler work (#17388)Clyybber2021-03-151-1/+1
|
* fix #17385, `len` must be declared before `items` (#17386)Miran2021-03-153-21/+36
|
* make std/sysrand better (#17360)flywind2021-03-151-19/+29
|
* Make add work in the destructors example (#17354)Clyybber2021-03-151-1/+3
|