16493 Commits

Author SHA1 Message Date
Turiiya
b347f546f2
all: update remaining deprecated attr syntax (#19908) 2023-11-17 12:03:51 +02:00
Kim Shrier
709976f42e
x.json2: replace deprecated type byte with u8 in the tests (#19909) 2023-11-17 11:56:04 +02:00
Felipe Pena
8c8df9e806
checker: fix comptime dumping var (#19887) 2023-11-17 10:54:08 +02:00
Subhomoy Haldar
1482a2f28d
encoding.xml: fix parsing for self closing empty tags (#19907) 2023-11-17 10:51:46 +02:00
Kim Shrier
66181f05bd
net.openssl: add flags for preferring openssl from the ports collection (in /usr/local) (#19904) 2023-11-17 10:50:01 +02:00
Kim Shrier
722fe40a2f
json: replaced deprecated type byte with u8 (#19905) 2023-11-17 10:47:41 +02:00
Kim Shrier
439aeeffa0
math.fractions: fix deprecation warnings in tests (#19906) 2023-11-17 10:46:41 +02:00
shove
c3cf9ee832
cgen: fix temporary var name conflicts between const definitions with or_block in different files(fix #19149) (#19894) 2023-11-16 20:33:47 +02:00
Swastik Baranwal
4458e49652
vdoc: fix syntax highlighting for symbols before ! and between ( and , (#19888) 2023-11-16 20:14:28 +02:00
Subhomoy Haldar
c9429f3331
encoding.xml: make functions public, add documentation, tests, fix attribute parsing for self-closing tags (#19901) 2023-11-16 20:13:36 +02:00
Turiiya
e9258c2a08
tools.vcreate: rework cli arg handling to extend scaffolding and fix issues (#19889) 2023-11-16 15:40:23 +02:00
Hitalo Souza
9308bcd48a
tests: improve the incorrect_name_sum_type.vv and its .out file (#19890) 2023-11-16 15:37:43 +02:00
Delyan Angelov
7699d82779
scanner: cleanup dead code, reduce allocations when decoding a lot of unicode escapes like this \u2605 (#19897) 2023-11-16 15:32:09 +02:00
Delyan Angelov
7778618b16
ci: bump the timeout-minutes for the windows jobs again (to 271m this time) 2023-11-16 15:26:17 +02:00
shove
9e2b238078
checker: fix inability to use multiple import some modname as _ in the same .v file (fix #19899) (#19900) 2023-11-16 15:19:07 +02:00
Delyan Angelov
e787620861
os: fix bootstrapping for OpenBSD 2023-11-16 13:43:55 +02:00
Turiiya
aa1debcabf
tools.vpm: fix has_vmod test in install_test interpreting wrong dir as install dir (#19891) 2023-11-16 09:14:57 +02:00
shove
4dff383e35
parser, checker: fix const var below at struct fixed array fields(fix#19593) (#19893) 2023-11-16 08:20:28 +02:00
Turiiya
6d2f79176a
tools.vpm: simplify, add update result info (#19892) 2023-11-16 08:04:06 +02:00
Felipe Pena
ae980802a1
checker: fix generate dump code for array fixed struct field (#19886) 2023-11-16 07:53:38 +02:00
Delyan Angelov
192d6d2b84
v: support $if T is $array_dynamic { and $if T is $array_fixed { in addition to $if T is $array { (#19882) 2023-11-15 20:32:16 +02:00
Delyan Angelov
c8382264a4
ci,tools: remove skips for the wasm backend, since binaryen is not required anymore (#19883) 2023-11-15 20:30:14 +02:00
Swastik Baranwal
f2ef89aace
vdoc: fix parsing of static functions (#19876) 2023-11-15 18:26:01 +02:00
Felipe Pena
83b4167c19
fmt: fix interface fields alignment (#19866) 2023-11-15 18:17:35 +02:00
yuyi
915ac4ed4f
checker, cgen: fix generic fn returning fixed array (#19885) 2023-11-15 18:07:23 +02:00
Delyan Angelov
7c0aed1606
ci: split containers_ci.yml to docker_alpine.yml and docker_ubuntu.yml, so that restarting the flakier alpine job will not have to stop/cancel the slower but more robust ubuntu musl job 2023-11-15 14:35:49 +02:00
Joe C
1e3d38255f
parser: deprecate old attribute syntax & update remaining (missed) attributes (#19879) 2023-11-15 13:07:59 +02:00
Turiiya
bc24683608
tools: skip download count increment when vpm runs in CI by default (#19861) 2023-11-15 10:56:19 +02:00
Turiiya
4e439442ab
os: ignore empty path segments in join_path (#19877) 2023-11-15 10:54:20 +02:00
Turiiya
107d466fad
tools: use shared contexts in vpm's update, to resolve dependencies during threaded module updates (#19878) 2023-11-15 09:13:24 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
lemon
dd81cb98c6
checker: change the warning more than 1000 possibilities in match range to a notice (#19862) 2023-11-14 23:46:10 +02:00
Turiiya
b7400fc058
os: add fast path to mkdir_all, when the given folder already exists (#19869) 2023-11-14 23:41:39 +02:00
koplenov
b5673c6172
vweb: add the mime type for .toml files (#19875) 2023-11-14 23:02:38 +02:00
Delyan Angelov
0827949b5d
ci: bump timeout-minutes for recenly timeout-ing jobs (mostly gcc on windows) 2023-11-14 22:39:05 +02:00
Felipe Pena
51efe040ad
cgen: fix auto deref for interface variable (#19841) 2023-11-14 23:34:38 +03:00
shove
f5bf18c79a
parser, checker: fix var scope in lambda(fix #19860) (#19871) 2023-11-14 23:34:16 +03:00
Delyan Angelov
50c3e4001b
parser: fix failures found with fuzzing (#19873) 2023-11-14 22:32:51 +02:00
Turiiya
53d49d9c29
tools: don't interrupt resolving deps by vpm, when a module failed updating, improve detecting invalid, add update_test (#19867) 2023-11-14 22:16:11 +02:00
yuyi
4628fe7672
parser: fix generic fn call with fixed array argument (#19868) 2023-11-14 11:34:36 +02:00
Turiiya
bf120cca6b
tools: handle paths in vcreate more gracefully (#19870) 2023-11-14 11:07:17 +02:00
shove
e4bae91dd2
checker: a minor cleanup (#19855) 2023-11-14 11:03:39 +02:00
Delyan Angelov
8b71639f1f ci: skip file_log_test.v on windows 2023-11-14 08:48:19 +02:00
Swastik Baranwal
55cac8841a
checker: disallow $for i in struct.values and $for i in enum.fields (#19845) 2023-11-13 18:12:54 +02:00
Kim Shrier
b119941778
log: add a reopen method, to enable cleaner log rotation (#19854) 2023-11-13 18:10:58 +02:00
shove
1a3d107016
ast, checker, cgen: extract common methods into ast.Table (#19859) 2023-11-13 18:09:36 +02:00
Subhomoy Haldar
5f08d45c7c
encoding.xml: update parser logic to skip BOM before prolog (#19858) 2023-11-13 14:24:39 +02:00
shove
e0207b6830
checker: fix blank_ident as param of lambda exprs (fix #19853) (#19856) 2023-11-13 13:29:36 +02:00
shove
c9df064407
checker, cgen: fix match branches return type ref mismatch, when the return type exists as interface or sumtype (fix #16203) (#19806) 2023-11-13 13:07:39 +02:00
Turiiya
bcc2bfad15
cgen: cleanup, use expected_is_ptr instead of calling .is_ptr() again (#19836) 2023-11-13 13:02:31 +02:00