16922 Commits

Author SHA1 Message Date
Turiiya
db1cdba411
sync: fix compilation of bench many_writers_and_receivers_on_1_channel.v (#19956) 2023-11-21 11:48:29 +02:00
Kim Shrier
be8e911d61
semver: replace use of .eq method with == (#19953) 2023-11-21 09:38:23 +02:00
Turiiya
f8ed96a2e0
tools.vpm: validate VCS during parsing (#19943) 2023-11-21 05:14:45 +03:00
yuyi
0966fd3b9f
cgen: fix variable name conflict, when using a C reserved name (#19942) 2023-11-20 17:58:14 +02:00
Turiiya
8c1da9ba94
net.openssl: use actual C values for the SSLError enum (#19945) 2023-11-20 17:57:35 +02:00
Turiiya
1beeb6d039
builtin: remove unused array.c.v file (#19948) 2023-11-20 17:56:54 +02:00
Felipe Pena
b66447cf11
ast: fix flagged enum value evaluation in find_enum_field_val (#19939) 2023-11-20 11:21:20 +02:00
shove
8957572e1d
checker, cgen: rename the field name inside_casting_to_str to inside_interface_deref (#19941) 2023-11-20 10:33:00 +02:00
JalonSolov
0da00cc457
v: prepare for making -W impure-v the default (#19940) 2023-11-20 09:17:59 +02:00
JalonSolov
6cc51f254f
sync,szip,term,time,x.ttf: prepare for making -W impure-v the default (#19929) 2023-11-19 18:33:07 +02:00
Turiiya
8267874d14
tools.vpm: improve version detection of installed modules (#19933) 2023-11-19 18:32:03 +02:00
shove
09c65a7213
ast, checker, cgen: fix interface embeded methods call(fix #16496) (#19936) 2023-11-19 18:30:56 +02:00
Turiiya
9e9a084cf9
tools.vpm: add output, when scanning modules in an install query (#19934) 2023-11-19 17:11:43 +02:00
Swastik Baranwal
7e280a4b61
semver: use operator overloading (#19935) 2023-11-19 16:50:12 +02:00
Delyan Angelov
4b347a8881
ci: make the report-missing-fn-doc step a bit more sensitive, and verbose in its diagnostic output for missing comments on deprecated methods/fns 2023-11-19 16:06:44 +02:00
Kim Shrier
cc220e60a5
vlib: change byte to u8 (#19930) 2023-11-19 04:23:32 +03:00
Felipe Pena
53e1e5e686
cgen: fix option sumtype auto deref (#19919) 2023-11-19 02:29:17 +03:00
Felipe Pena
976c5fba61
cgen: fix generic array initialization (fix #19903) (#19916) 2023-11-18 14:47:04 +02:00
Kim Shrier
6c73da3ffd
tests: rename byte to u8, and fix implicit clone notice in closure_generator_test.v (#19922) 2023-11-18 14:45:08 +02:00
Turiiya
b7bced03e8
tools.vpm: add warning, when installing a vpm module missing a manifest (#19927) 2023-11-18 14:42:19 +02:00
Andrey
d866ec5cba
doc: change the markup for the "Note" quotes (#19918) 2023-11-18 14:34:10 +02:00
shove
aa502c26e9
checker, cgen: fix arrays alias built-in methods call(fix #19896) (#19910) 2023-11-18 11:55:51 +02:00
Turiiya
fb3d0cdbe9
tools.vpm: support again http installs, when installing from an url (workaround) (#19914) 2023-11-18 11:55:28 +02:00
Kim Shrier
8ea1116896
v.util.diff: accomodate differences in FreeBSD's diff command options (#19923) 2023-11-18 11:42:14 +02:00
Kim Shrier
0b2a8e1632
docs: fix the C sqlite example with flags to make it work on FreeBSD (#19924) 2023-11-18 11:07:31 +02:00
Delyan Angelov
f7b9e4eafd
vfmt: automate transition from the old [attribute] to the new @[attribute] syntax (#19912) 2023-11-17 17:43:29 +02:00
Delyan Angelov
157d603e5c
testing: fix reliance on os.join_path with , to produce a folder ending with / or \ (#19913) 2023-11-17 17:29:15 +02:00
igrekus
76530de56d
scanner: implement support for UTF-32 escape codes in string literals (#19911) 2023-11-17 17:11:30 +02:00
yuyi
373da77792
parser, fmt: fix match with multi-commmented branchs (#19898) 2023-11-17 15:37:48 +02:00
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