17732 Commits

Author SHA1 Message Date
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
Odai Alghamdi
e8ce02b50a
datatypes: add push_many for doubly and singly linked list + add insert_many for heap (#19975) 2023-11-24 09:40:08 +02:00
Kim Shrier
be544d73f3
net.openssl: correctly assign nil to reference values after the recent notice about it (#19981) 2023-11-24 09:38:05 +02:00
Turiiya
eeb8d27c6d
tools.vpm: cleanup, extract parsing into parse.v (#19979) 2023-11-24 09:36:55 +02:00
Swastik Baranwal
2884ec52de
checker: disallow casting strings to pointers outside unsafe (#19977) 2023-11-24 09:32:05 +02:00
shove
65089eee41
checker: add a qualification to array elements ref initialization checks (#19980) 2023-11-24 08:05:01 +02:00
Felipe Pena
043ebb855a
cgen: fix const array of struct initiatization on msvc (#19969) 2023-11-23 19:59:09 +02:00
Felipe Pena
9ca4c22043
cgen: fix auto str for interface struct member which implements str method (#19970) 2023-11-23 19:52:35 +02:00
shove
bb77707c19
checker: fix ref elements of an array must be initialized right away (fix #14958) (#19971) 2023-11-23 17:34:48 +02:00
Turiiya
29eda896a1
tools.vpm: fix installing of modules with conflicting names, extend tests (#19961) 2023-11-23 16:07:00 +02:00
Turiiya
fb9382833c
v.doc: fix handling of multiline doc contents (#19938) 2023-11-23 13:38:56 +02:00
Turiiya
c80515465e
docs: update deprecated blockquote highlight syntax (#19974) 2023-11-23 13:33:33 +02:00
shove
2a6c1d9074
all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955) 2023-11-23 11:16:26 +02:00
Felipe Pena
9d7fe51b6e
sync: add a FreeBSD specific version of vlib/sync/sync_default.c.v (#19962) 2023-11-23 11:13:30 +02:00
☠ ✈︎
cd145b2467
tools: fix v up, by not deleting ./v when missing a .git folder (#19965) 2023-11-22 22:27:08 +02:00
shove
d577e54152
cgen: fix ref and deref when an interface is used as a function parameter (fix #19947) (#19966) 2023-11-22 15:34:43 +02:00
Turiiya
980912dc96
doc: update linebreak logic, handle "highlight-comments" (#19967) 2023-11-22 15:27:31 +02:00