16598 Commits

Author SHA1 Message Date
gym603
dc3ea0f87f
os: flush stdout and stderr before calling _wsystem (on windows), as the MSDN doc advices (#20034) 2023-11-29 19:25:41 +02:00
Turiiya
74c59abf4e
tools.vpm: update tests, add get_installed test (#20028) 2023-11-29 19:11:50 +02:00
gym603
f4937aef9e
repl: make sure the prompt is output before user input (on windows) (#20035) 2023-11-29 18:12:21 +02:00
Ned
0b2feefd87
vdoc: use markdown.default_html_transformer underneath, remove html_tag_escape (#19785) 2023-11-29 18:03:58 +02:00
Felipe Pena
883eaa6e1f
cgen: fix cross method call + method_call cleanup (#20025) 2023-11-29 18:02:26 +02:00
Swastik Baranwal
fed3552671
tests: add checker and passing test for generic receiver indexing (#20036) 2023-11-29 17:54:54 +02:00
Ned
782bf86555
vdoc: refactor html_highlight and handle strings with string interpolations (eg. ${a}.${b}.${c}) (#19784) 2023-11-28 15:37:10 +02:00
shove
52f40aa6e1
ast: fix generics with embed generics structs(fix #20021) (#20022) 2023-11-28 15:28:07 +02:00
gym603
46086c046f
tests: make 'v test-self' pass under msys2/MINGW64 (#20010) 2023-11-28 15:03:30 +02:00
Delyan Angelov
6bafc28855
fix long line in README.md 2023-11-28 14:55:06 +02:00
Delyan Angelov
39fe077941
vdoc: add a cmd/tools/vdoc/tests/testdata/output_formats/README.md, update the expected outputs 2023-11-28 14:39:49 +02:00
Delyan Angelov
20c9ef21e5
tests: fix quoted path bug in cmd/tools/vdoc/tests/vdoc_file_test.v, that effectively disabled most of the tests there 2023-11-28 14:38:21 +02:00
Turiiya
50f3ac4968
tools.vpm: extend recursive dependency fix for module installation (#20015) 2023-11-28 10:10:51 +02:00
Turiiya
920be09c7e
tools.vpm: remove obsolete array clone (#20016) 2023-11-28 09:44:07 +02:00
Felipe Pena
b5ba12256d
cgen: add missing sync auto import, when using SelectExpr (#19998) weekly.2023.48 2023-11-27 20:14:23 +02:00
Jose Mendoza
2964855d15
vfmt: fix the formatting of comments after const declarations (#20005) 2023-11-27 16:00:05 +02:00
Kim Shrier
5283f19443
tests: remove vlib/crypto/aes/const.v from the skip list in vtest-fmt.v, since it now uses vfmt off/vfmt on markers 2023-11-27 13:14:10 +02:00
Jose Mendoza
f0e4438e08
vfmt: remove empty __global() (#20004) 2023-11-27 12:59:27 +02:00
yuyi
52e41f8879
ast, checker: fix generics with embed generic method call (#20011) 2023-11-27 13:27:59 +03:00
Delyan Angelov
19b055c22f
ci: use git -C vc push || true in .github/workflows/gen_vc_ci.yml, to prevent false positives in forked repos 2023-11-27 08:05:17 +02:00
Kim Shrier
ef598087e6
tests: use real path of a test folder for repl tests (#20007) 2023-11-27 07:43:17 +02:00
shove
b9a7de5b3a
checker: disallow indexing mut struct, passed as a fn parameter (#19992) 2023-11-27 07:39:49 +02:00
Felipe Pena
8ba04d37a3
cgen: fix lambda initialization on option struct field (fix #19474) (#19995) 2023-11-27 07:36:54 +02:00
shove
fc99781de2
checker, cgen: fix generics call with interface arg (fix #19976) (#20002) 2023-11-27 07:36:04 +02:00
Bakul Shah
63ba05b5ca
builtin: pass USE_MMAP when compiling the GC library on freebsd, when tcc is not used (#20006) 2023-11-27 07:35:17 +02:00
Jose Mendoza
6084dcdc44
vlib: add a compress.szip module, deprecate the szip one after 2023-12-31 (#20003) 2023-11-27 07:33:09 +02:00
Felipe Pena
90c3ca38c2
cgen, checker: fix loop on aggregates of arrays (in match branches) of sumtypes (fix #18548) (#19988) 2023-11-26 18:08:04 +02:00
Turiiya
69ce060737
tools.vpm: evaluate dependencies earlier to fix potential recursive install loop (#19987) 2023-11-26 17:41:32 +02:00
Kim Shrier
eaacf8314e
v.help: run help init with the current compiler under test (#19990) 2023-11-26 17:12:09 +02:00
Turiiya
70b33105d9
tools.vpm: remove flaky flag from tests to better spot issues on different platforms (#19986) 2023-11-26 15:59:13 +02:00
Turiiya
e1cf85fc98
tools.vpm: fix install paths, only normalize relevant, restore assign install_path_fmted, add input tests (#19984) 2023-11-26 15:50:56 +02:00
Felipe Pena
bc62c5cfd7
cgen: fix code generation for generic channels (#19993) 2023-11-26 13:58:23 +02:00
Felipe Pena
e2aa9b358d
tools.vast: add missing LambdaExpr in v ast file.v (#19994) 2023-11-26 13:54:49 +02:00
Turiiya
b088f43033
os: update comments (#19989) 2023-11-26 09:39:51 +03:00
xn0px90
8da8027a68
doc: update --web flag (#19991) 2023-11-26 09:39:38 +03:00
Alexander Medvednikov
643589ab88 fmt: handle new vweb.html(path) 2023-11-26 07:12:35 +03:00
Alexander Medvednikov
51bb2768ca vweb: .html('custom_template.html') 2023-11-26 03:01:48 +03:00
Delyan Angelov
c532ee6162
parser: fix new timeout in the parser-silent job 2023-11-26 01:16:45 +02:00
Delyan Angelov
e1a474e184
tools: remove unused variable in vbin2v.v 2023-11-25 15:37:03 +02:00
Delyan Angelov
37767cfa8d
fmt: fix comments.v 2023-11-25 10:49:37 +02:00
Delyan Angelov
820f53caa3
tools,fmt: fix vbin2v.v; extract fmt_bin2v_test.v from fmt_keep_test.v 2023-11-25 10:40:10 +02:00
Delyan Angelov
5e37798560
ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
Delyan Angelov
c963dc619e tools: fox cmd/tools/vbump_test.v 2023-11-25 09:10:58 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Alexander Medvednikov
399af6768d gg: fn (data voidptr, e &Event) for events, allows methods 2023-11-25 01:19:39 +03:00
Alexander Medvednikov
fc69b2fdb1
tutorials: minor vweb blog updates 2023-11-25 00:49:22 +03:00
shove
febd54b77c
checker: disallow directly indexing sumtype and interface, when using as parameters(fix #19811) (#19982) 2023-11-24 20:26:02 +02:00
Felipe Pena
90d3523a26
parser: fix infix expr handling with cast on left side of << operator (#19985) 2023-11-24 20:24:11 +02:00
Swastik Baranwal
67fabddcaf
datatypes: make Direction pub and fix and add tests for push_many (#19983) 2023-11-24 16:10:00 +02:00
Delyan Angelov
43709e9c58
tests,ci: add a retry loop for the tasks done by vlib/v/compiler_errors_test.v, to reduce false positives for alpine-docker-musl-gcc 2023-11-24 12:06:10 +02:00