summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix #17325 linux 32bit CI; fix #17085 flaky test (#17469)Timothee Cour2021-03-244-10/+22
|
* make unary minus part of number literals, refs #17020 (#17488)Andreas Rumpf2021-03-245-39/+173
| | | | * make unary minus part of number literals, refs #17020 * fixes regression
* [isolation]fix empty ref object bug (#17471)flywind2021-03-242-2/+14
| | | | | | | | | | | | | * fix nim js cmp fails at CT * [Minor]fix empty ref object for isolation * Update compiler/isolation_check.nim * Update compiler/isolation_check.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* follow up #17486 (#17492)flywind2021-03-241-0/+45
| | | | | | | | | * fix nim js cmp fails at CT * follow up #17486 * test more branches * better
* fix #17490 (#17491)flywind2021-03-242-4/+21
|
* closes #17085; boehm has problems with large allocations, that is expected ↵Andreas Rumpf2021-03-241-1/+1
| | | | and we don't care (#17487)
* fixes #16076 (#17486)Andreas Rumpf2021-03-231-1/+2
|
* followup #16182 (#17472)flywind2021-03-231-3/+3
| | | | | * fix nim js cmp fails at CT * followup #16182
* update nimgrep documentation (#17415)Andrey Makarov2021-03-233-124/+157
| | | | | | | * update nimgrep documentation * Update doc/nimgrep_cmdline.txt Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fixes #17450 (#17477)Clyybber2021-03-233-1/+27
| | | | | * Fixes #17450 * Add missing test output
* Revert "Fixes #17450 (#17474)" (#17476)Clyybber2021-03-233-27/+1
| | | This reverts commit 5f0c52048970cb7449937bd19191638c9e9f0c8f.
* Fixes #17450 (#17474)Clyybber2021-03-233-1/+27
| | | | | * Fixes #17450 * Add missing test output
* remove {.compileTime.} for procs with NimNode: redundant because of ↵Timothee Cour2021-03-236-112/+106
| | | | tfTriggersCompileTime (#17463)
* add algorithm.merge (#16182)flywind2021-03-233-1/+255
| | | | | | | | | * 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 #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>