summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fix #15836 proc arg return type auto unexpectly match proc with concr… ↵Bung2022-12-099-12/+23
| | | | | (#21044) fix #15836 proc arg return type auto unexpectly match proc with concrete type
* remove duplicate assignment (#21050)ringabout2022-12-091-1/+0
| | | `newNodeIT` has already assigned `n.typ` to x.
* Remove deprecated rightSize (#21011)Juan Carlos2022-12-082-10/+2
| | | | | * Remove deprecated rightSize nop * Remove deprecated rightSize nop
* fix issue #20922 by handling missing expr in `exprList` for `tkOf` (#20930)Vindaar2022-12-083-8/+73
| | | | | | | | | | | | | | | | | | * fix issue #20922 by handling missing expr in `exprList` for `tkOf` * fix line numbers in test case * rewrite exprList requiring expr, add optionalExprList for except As suggested by @metagn. * update test case to reflect new code * update grammar.txt * update line numbers in test case taking into account nimout Given the number of errors that are produced it seems easier to do it this way instead of using `tt.Error`.
* Mention toSet in the docs of the set type (#21037)Xavier Noria2022-12-081-0/+8
|
* macros.customPragmaNode: walk brackets on brackets (#21040)Emery Hemingway2022-12-081-5/+3
|
* fixes #9839; fixes noReturn pragma doesn't work for non-simple templates ↵ringabout2022-12-082-3/+38
| | | | (#21048)
* fixes #16656; add nre to lib.md (#21042)ringabout2022-12-081-0/+4
|
* fixes `strictnotnil` documentation; comment unfinished sections (#21041)ringabout2022-12-081-6/+9
| | | fixes documentation; comment unfinished sections
* add a changelog for `std/cmdline` (#21039)ringabout2022-12-081-0/+1
| | | for a changelog for `std/cmdline`
* switch to the official URL of nimquery (#21038)ringabout2022-12-071-1/+1
| | | ref https://github.com/GULPF/nimquery/commit/3f728fb48082b4977b87103654d02f21c24cb0ba
* build the documentation of official packages (#20986)ringabout2022-12-0631-6358/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove db stuffs * remove punycode * remove * fixes script * add cloner * patches * disable * patch * fixes external packages * disable two packages * preview documentation build * try again * fixes URL * fixes a bug * simplify * fixes documentaion * fixes * Apply suggestions from code review
* Named arguments in commands + many grammar fixes (#20994)metagn2022-12-0618-147/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Breaking parser changes, implement https://github.com/nim-lang/RFCs/issues/442 Types are separated from expressions and better reflected in the grammar. * add test * more accurate grammar * fix keyword typedescs * accept expressions in proc argument lists * CI "fixes" * fixes * allow full ref expressions again, adapt old tests * cleanup, fix some tests * improve grammar, try and revert semtypes change * restrict sigil binding to identOrLiteral * fix, should have caught this immediately * add changelog entry, fix double not nil bug * correct grammar * change section * fix * real fix hopefully * fix test * support LL(1) for tuples * make grammar.txt too
* fixes #21027; cast expressions need a type (#21029)ringabout2022-12-062-0/+7
| | | | | | | * fixes #21027; cast expressions need a type * Apply suggestions from code review Thanks to @beef331
* definite assignment analysis for let (#21024)ringabout2022-12-069-30/+144
| | | | | | | | | | | | | | | | | | | * draft for let daa * patch * fixes bugs * errors for global let variable reassignments * checkpoint * out param accepts let * add more tests * add documentation * merge tests
* deprecate `do:` meaning `do ():` + misc cleanup (#20927)metagn2022-12-0613-65/+42
| | | | | | | | | | | | | | | | | * test disable do: block lambda lifting * fix last test [skip ci] * deprecate `do:` meaning `do ():` + misc cleanup closes https://github.com/nim-lang/RFCs/issues/486 * oops * fix * no idea what could be causing nimsuggest failure other than this * ensure ci works
* stdlib organization & documentation improvements (#20971)metagn2022-12-0626-53/+167
| | | | | | | | | | | | | | | | | * stdlib organization & documentation improvements * fix CI * Update doc/lib.md Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * fix ci, remove jshttpcore, export in jsfetch instead * fix alphabetical order violations * add cmdline, db_odbc Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* fix #20829 Regression in int64 type matching since (#21019)Bung2022-12-062-2/+16
| | | fix #20829 Regression in int64 type matching
* Revert "fixes #20883; Unspecified generic on default value segfaults the ↵ringabout2022-12-062-7/+2
| | | | | | | compiler" (#21028) Revert "fixes #20883; Unspecified generic on default value segfaults the compiler (#20917)" This reverts commit 10b6e4f5b4a119a8fa42f82a24ae7e4b08b2c103.
* fix #16639 (#21017)metagn2022-12-052-3/+25
|
* Dont produce initing moves for sfNoInit variables in closure env (#21026)Yuriy Glukhov2022-12-051-1/+4
|
* fixes #20954; bounchecks for len(toOpenArray()) [backport] (#20956)ringabout2022-12-052-0/+20
| | | | | * bounchecks for len(toOpenArray()) * add a testcase
* fixes `isLocalVarSym`; an implicit global is a global nonetheless (#21025)ringabout2022-12-051-2/+2
| | | fixes isLocalVarSym; an implicit global is a global nonetheless
* Add: missing nintendo-switch define (#21009)Dmitry Arkhipenko2022-12-051-0/+1
|
* ref #20846; give a deprecation message for overriding `=` hook (#21020)ringabout2022-12-052-0/+13
| | | give a deprecation message for overriding `=` hook
* Remove deprecated posix.CLONE_STOPPED (#21012)Juan Carlos2022-12-052-1/+4
| | | | | * Remove deprecated CLONE_STOPPED * Remove deprecated CLONE_STOPPED
* fixes deprecation message by update action versions (#21021)ringabout2022-12-052-4/+4
|
* fix #20996 (#21016)metagn2022-12-043-8/+27
| | | | | * fix #20996 * hopefully fix
* unpublic `arrayWith` and rename it to `nimArrayWith` (#21006)ringabout2022-12-043-6/+6
| | | | | * unpublic arrayWith * unindent
* Update prelude example (#21005)Michal Maršálek2022-12-031-1/+1
| | | comment to match what's actually being imported.
* minor cleanup; correct the module name (#21001)ringabout2022-12-021-2/+2
| | | | | | | | | | | * minor cleanup follow up https://github.com/nim-lang/Nim/pull/20946 * Update lib/std/cmdline.nim * Update lib/std/cmdline.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* Add back error message to tprevent_forloopvar_mutations (#20992)metagn2022-12-021-0/+9
|
* fixes #20883; Unspecified generic on default value segfaults the compiler ↵ringabout2022-12-012-2/+7
| | | | | (#20917) test CI
* [unittest] remove unnecessay export for testing (#20868)ringabout2022-12-012-2/+1
|
* IC: fix typo in rodfiles.nim (#20989)Ikko Ashimine2022-12-011-1/+1
| | | preceeded -> preceded
* tyInt tyUint fit target int bit width (#20829)Bung2022-12-0117-275/+314
|
* replace data init function with consts for typeinfov2 (#20977)ringabout2022-12-012-4/+47
| | | | | | | | | | | | | * replace data initial function with consts for typeinfov2 * fixes * fixes * workaround C++ * C++ keeps the previous implementaion * fixes
* add smtp to important packages (#20984)ringabout2022-12-011-0/+1
|
* better procvar ambiguity errors, clean up after #20457 (#20932)metagn2022-12-015-36/+76
| | | | | | | | | | | | | | | * better procvar ambiguity errors, clean up after #20457 fixes #6359, fixes #13849 * only trigger on closedsymchoice again * new approach * add manual entry for ambiguous enums too * add indent [skip ci] * move to proc
* Add HPPA and sparc64 architectures (#20934)Federico Ceratto2022-12-012-0/+9
| | | | | | | | | | | * Add comments on CPU arch detection * Support HPPA/hppa/parisc64 CPU architecture * Support sparc64 CPU architecture * Update tools/niminst/makefile.nimf Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* move `smtp` to nimble packages (#20953)ringabout2022-11-306-367/+3
| | | | | | | | | * move `smtp` to nimble packages * fixes * install smtp * yes
* removed unused sections in codegen (#20976)ringabout2022-11-302-12/+1
|
* Move command line parameter code (#20946)IgorDeepakM2022-11-303-272/+318
| | | | | Command line paramater code moved from os.nim to cmdparam.nim Co-authored-by: IgorDeepakM <IgorDeepak@noreply.com>
* Update tssl.nim (#20973)Chavdar Ivanov2022-11-301-0/+1
| | | This test hangs also under NetBSD and prevents the rest of the tests to carry over to the end.
* dom: remove X* = ref XObj [backport] (#20910)metagn2022-11-291-76/+37
| | | dom: remove X* = ref XObj
* fix #20969 - making vcc work again with cpp backend (#20970)rockcavera2022-11-291-2/+2
| | | Update sysatomics.nim
* add `pkg/asyncftpclient` to important packages (#20964)ringabout2022-11-291-0/+1
|
* Add `--genCDeps` for better integration with CMake (#20950)Jaremy Creechley2022-11-293-0/+26
| | | | | | | | | | | | | | | | | * add gencdeps option * add case statement * Update compiler/main.nim * Update compiler/main.nim * Apply suggestions from code review Fixes Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fixes documentation regression (#20960)ringabout2022-11-291-1/+1
| | | follow up https://github.com/nim-lang/Nim/pull/20371
* fixes #20958; fixes the return type of slice function [backport] (#20959)ringabout2022-11-292-0/+15
| | | | | * fixes #20958; fixes the return type of slice function * add a testcase