ringabout
4480fd3e93
fixes #16656 ; add nre to lib.md ( #21042 )
2022-12-08 08:51:31 +01:00
ringabout
4da3ead294
fixes strictnotnil documentation; comment unfinished sections ( #21041 )
...
fixes documentation; comment unfinished sections
2022-12-08 10:06:48 +08:00
ringabout
53fbb497e9
add a changelog for std/cmdline ( #21039 )
...
for a changelog for `std/cmdline`
2022-12-08 10:06:25 +08:00
ringabout
d6b485493d
switch to the official URL of nimquery ( #21038 )
...
ref 3f728fb480
2022-12-07 11:33:31 +08:00
ringabout
9ba07edb2e
build the documentation of official packages ( #20986 )
...
* 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
2022-12-06 22:37:16 +08:00
metagn
4ca2dcb404
Named arguments in commands + many grammar fixes ( #20994 )
...
* 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
2022-12-06 13:11:56 +01:00
ringabout
1564ae650f
fixes #21027 ; cast expressions need a type ( #21029 )
...
* fixes #21027 ; cast expressions need a type
* Apply suggestions from code review
Thanks to @beef331
2022-12-06 13:09:50 +01:00
ringabout
b2c7019006
definite assignment analysis for let ( #21024 )
...
* 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
2022-12-06 10:19:12 +01:00
metagn
6d8cf25bd7
deprecate do: meaning do (): + misc cleanup ( #20927 )
...
* 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
2022-12-06 09:44:26 +01:00
metagn
739e1badb6
stdlib organization & documentation improvements ( #20971 )
...
* 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 >
2022-12-06 09:37:03 +01:00
Bung
5d469686b0
fix #20829 Regression in int64 type matching since ( #21019 )
...
fix #20829 Regression in int64 type matching
2022-12-06 07:44:54 +01:00
ringabout
feb0481ba3
Revert "fixes #20883 ; Unspecified generic on default value segfaults the compiler" ( #21028 )
...
Revert "fixes #20883 ; Unspecified generic on default value segfaults the compiler (#20917 )"
This reverts commit 10b6e4f5b4 .
2022-12-06 12:50:16 +08:00
metagn
e98efdcc5e
fix #16639 ( #21017 )
2022-12-05 22:52:49 +01:00
Yuriy Glukhov
c47d5196be
Dont produce initing moves for sfNoInit variables in closure env ( #21026 )
2022-12-05 22:49:31 +01:00
ringabout
b83bd282dc
fixes #20954 ; bounchecks for len(toOpenArray()) [backport] ( #20956 )
...
* bounchecks for len(toOpenArray())
* add a testcase
2022-12-05 22:27:18 +01:00
ringabout
a8090f7d65
fixes isLocalVarSym; an implicit global is a global nonetheless ( #21025 )
...
fixes isLocalVarSym; an implicit global is a global nonetheless
2022-12-05 22:24:36 +01:00
Dmitry Arkhipenko
794bcc8029
Add: missing nintendo-switch define ( #21009 )
2022-12-05 07:24:24 +01:00
ringabout
6f96c4bc96
ref #20846 ; give a deprecation message for overriding = hook ( #21020 )
...
give a deprecation message for overriding `=` hook
2022-12-05 07:13:51 +01:00
Juan Carlos
1b5e03f975
Remove deprecated posix.CLONE_STOPPED ( #21012 )
...
* Remove deprecated CLONE_STOPPED
* Remove deprecated CLONE_STOPPED
2022-12-05 06:53:40 +01:00
ringabout
78b387d948
fixes deprecation message by update action versions ( #21021 )
2022-12-05 12:37:23 +08:00
metagn
5536f74992
fix #20996 ( #21016 )
...
* fix #20996
* hopefully fix
2022-12-04 20:37:23 +01:00
ringabout
55373e65b4
unpublic arrayWith and rename it to nimArrayWith ( #21006 )
...
* unpublic arrayWith
* unindent
2022-12-04 15:39:14 +08:00
Michal Maršálek
83493e4294
Update prelude example ( #21005 )
...
comment to match what's actually being imported.
2022-12-03 21:25:49 +08:00
ringabout
ece41d2605
minor cleanup; correct the module name ( #21001 )
...
* 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 >
2022-12-02 15:10:08 -05:00
metagn
79ec6d677c
Add back error message to tprevent_forloopvar_mutations ( #20992 )
2022-12-02 16:19:26 +08:00
ringabout
10b6e4f5b4
fixes #20883 ; Unspecified generic on default value segfaults the compiler ( #20917 )
...
test CI
2022-12-01 22:04:11 +01:00
ringabout
8266750497
[unittest] remove unnecessay export for testing ( #20868 )
2022-12-01 14:31:48 -05:00
Ikko Ashimine
a104aa4714
IC: fix typo in rodfiles.nim ( #20989 )
...
preceeded -> preceded
2022-12-01 14:26:59 -05:00
Bung
658b28dc57
tyInt tyUint fit target int bit width ( #20829 )
2022-12-01 13:34:00 +01:00
ringabout
a70d3abd37
replace data init function with consts for typeinfov2 ( #20977 )
...
* replace data initial function with consts for typeinfov2
* fixes
* fixes
* workaround C++
* C++ keeps the previous implementaion
* fixes
2022-12-01 13:29:58 +01:00
ringabout
54f5ab12b7
add smtp to important packages ( #20984 )
2022-12-01 08:14:42 +01:00
metagn
2449c37137
better procvar ambiguity errors, clean up after #20457 ( #20932 )
...
* 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
2022-12-01 08:01:13 +01:00
Federico Ceratto
b36f5119ae
Add HPPA and sparc64 architectures ( #20934 )
...
* 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 >
2022-12-01 12:48:47 +08:00
ringabout
17ac8c31bf
move smtp to nimble packages ( #20953 )
...
* move `smtp` to nimble packages
* fixes
* install smtp
* yes
2022-11-30 21:52:36 +01:00
ringabout
a7133e0594
removed unused sections in codegen ( #20976 )
2022-11-30 21:51:13 +01:00
IgorDeepakM
84ea62ea0d
Move command line parameter code ( #20946 )
...
Command line paramater code moved from os.nim to cmdparam.nim
Co-authored-by: IgorDeepakM <IgorDeepak@noreply.com >
2022-11-30 11:00:26 +01:00
Chavdar Ivanov
8f728ace35
Update tssl.nim ( #20973 )
...
This test hangs also under NetBSD and prevents the rest of the tests to carry over to the end.
2022-11-30 07:21:47 +08:00
metagn
ce971400c0
dom: remove X* = ref XObj [backport] ( #20910 )
...
dom: remove X* = ref XObj
2022-11-29 14:24:51 -05:00
rockcavera
9c5061eab7
fix #20969 - making vcc work again with cpp backend ( #20970 )
...
Update sysatomics.nim
2022-11-29 14:07:17 -05:00
ringabout
09b8f989b4
add pkg/asyncftpclient to important packages ( #20964 )
2022-11-29 23:49:38 +08:00
Jaremy Creechley
5658e8e5c5
Add --genCDeps for better integration with CMake ( #20950 )
...
* 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 >
2022-11-29 15:27:48 +01:00
ringabout
77a337a39a
fixes documentation regression ( #20960 )
...
follow up https://github.com/nim-lang/Nim/pull/20371
2022-11-29 14:49:40 +08:00
ringabout
3d5edb41be
fixes #20958 ; fixes the return type of slice function [backport] ( #20959 )
...
* fixes #20958 ; fixes the return type of slice function
* add a testcase
2022-11-29 07:21:44 +01:00
ringabout
d4afa53fd5
fixes #13583 ; enforce void for nkWhileStmt ( #20947 )
...
* fixes #13583 ; enfore void for nkWhileStmt
* one more case
2022-11-29 06:41:38 +01:00
Anna
b5a008bac8
Allow some tests to run without network ( #20955 )
...
* thttpclient.nim: respect NIM_TESTAMENT_REMOTE_NETWORKING
* tnetconnect.nim: respect NIM_TESTAMENT_REMOTE_NETWORKING
2022-11-29 06:40:28 +01:00
metagn
15d00ca0e1
allow proc expressions in place of statements ( #20935 )
...
properly fixes #18714
2022-11-29 06:37:00 +01:00
metagn
555c5ed1a7
fix bugs with dot & call operators [backport] ( #20931 )
...
* better error messages for dot operators [backport]
fixes #13063
* also fixes #7777
* fix #6981 and #9831 too
* fix
* minor improvement
* sus test fixes
* make test multiplatform lol
* fix nimsuggest test, extra improvements
2022-11-28 21:33:02 +01:00
ringabout
f31dc63169
move asyncftpclient to nimble packages ( #20952 )
2022-11-28 21:17:50 +01:00
Juan Carlos
dd57410afe
Improve jsformdata ( #20929 )
...
* jsformdata now accepts Blob data type similar to JS
* jsformdata now accepts Blob data type similar to JS
2022-11-28 15:15:44 -05:00
Federico Ceratto
8a68ed65d0
Support IBM Z architecture ( #20943 )
2022-11-28 13:33:09 -05:00