16545 Commits

Author SHA1 Message Date
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
Delyan Angelov
999328a136
tools: support v doc -run-examples math, to ensure that all // Example: code doc comments are working (#19852) 2023-11-13 12:53:42 +02:00
Turiiya
453f65a20a
net.mbedtls: use char and usize types for describing more precisely the C API of mbedtls (#19837) 2023-11-13 12:51:32 +02:00
Delyan Angelov
2ea02f7e1f
ci: compile gitly with gcc on ubuntu-latest (workaround recent failure to build with tcc) 2023-11-13 10:08:19 +02:00
Turiiya
fbb43f5ae4
tools: use expansion character/string to format home paths in vpm output (#19847) 2023-11-12 16:09:04 +02:00
Turiiya
7c5d439717
tools: support --verbose in vpm, as an alternative to -v, to enable verbose output (#19848) 2023-11-12 13:49:50 +02:00
shove
14e53f9a75
compress.gzip: change the endianness for validation to conform to the gzip file specification (fix #19839) (#19849) 2023-11-12 11:30:05 +02:00
JalonSolov
c494b63d75
os,picohttpparser,sokol,strconv: prepare for making -W impure-v the default (#19846) 2023-11-12 09:52:14 +02:00
Joe Conigliaro
a15c067189
tools: add support for new attribute syntax to missdoc 2023-11-12 17:53:43 +11:00
Joe Conigliaro
72718c2a62
parser: fix parsing comments after new attribute syntax 2023-11-12 12:49:58 +11:00
Turiiya
744b92a844
tools: fix already installed detection when running v install --once without args (#19838) 2023-11-12 03:01:49 +03:00
Felipe Pena
e1312d053a
json: fix recursive pointer encoding (#19840) 2023-11-12 03:00:23 +03:00
shove
239430aad5
parser: fix invalid warning 'unused' for mut var in if/match cond(fix #19539) (#19843) 2023-11-12 02:59:54 +03:00
Alexander Medvednikov
a9190e3434 changelog: finish the 0.4.3 changelog 2023-11-12 02:46:57 +03:00
Delyan Angelov
1b2be2a5fb v: fix v help in the prebuilt v executables from the zips in the releases 2023-11-11 17:58:11 +02:00
Delyan Angelov
cd337e2e06
ci: add macos_arm64, macos_x86_64 in more jobs in binary_artifact.yml weekly.2023.45.1 2023-11-11 15:39:27 +02:00
Delyan Angelov
a741050ea4
ci: fix build-macos-arm64 in binary_artifact.yml weekly.2023.45 2023-11-11 14:47:47 +02:00
Turiiya
19bc16516f
tools: extend vpm to support specifying git version tags when installing modules (#19835) 2023-11-11 14:40:34 +02:00
Alexander Medvednikov
44cf1451bc V 0.4.3 2023-11-11 13:51:30 +03:00
shove
e92d210bd0
checker: add missing check when assignment statement lvalue is ParExpr (fix #19819) (#19830) 2023-11-11 13:27:00 +03:00
Casper Küthe
c0eeb85eab
net.unix: update the module to make it compatible with windows and coroutines (#19831) 2023-11-11 10:07:56 +02:00
Casper Küthe
a176021afe
picoev: improve raw mode, change fn signature for the raw_cb field to fn (mut Picoev, int) (#19817) 2023-11-11 09:36:52 +02:00
Alexander Medvednikov
e7cad4f55d net,vweb: reduce allocations by ~80% 2023-11-11 01:10:34 +03:00
shove
b3a9701129
cgen: fix gen interface to string(fix #19788) (#19829) 2023-11-10 18:15:53 +02:00
Turiiya
11bc8084de
tools: cleanup, prepare vpm version installs (#19821) 2023-11-10 14:11:31 +02:00
Turiiya
33e865c8a8
tools: require the presence of a v.mod file, to install external urls via vpm (#19825) 2023-11-10 14:04:13 +02:00
Joe Conigliaro
f77e5b6b7e
parser: add multiple struct attributes error for new attribute syntax 2023-11-10 20:54:28 +11:00
Subhomoy Haldar
00f2e4a8c5
encoding.xml: make tag name and attribute parsing more robust and cleaner (#19828) 2023-11-10 11:31:36 +02:00
Joe Conigliaro
e59c194457
parser: correct start pos for new attribute syntax 2023-11-10 17:22:46 +11:00
Joe C
7087b538fd
ast,fmt,parser: fix attribute alignment & remove unneeded code (#19826) 2023-11-10 16:53:43 +11:00
Joe Conigliaro
ab4c1f4dd2
parser: add missing field to unsafe attribute ast node 2023-11-10 12:17:40 +11:00
Roman
e4f55fb299
net.http: add socks5|http(s) proxy support [Linux] (#19676) 2023-11-09 23:56:16 +02:00
Joe C
78709b0e57
ci: add macos arm64 binary release (#19823) 2023-11-09 23:49:47 +02:00
Subhomoy Haldar
cd2e36a44d
encoding.xml: fix parsing of single letter tag names (#19815) 2023-11-09 13:02:05 +02:00
Turiiya
10160c0cae
tools: add parse_query to vpm (#19814) 2023-11-09 13:00:58 +02:00
Swastik Baranwal
2b21dea013
parser: give a friendly error when misusing if over $if (#19810) 2023-11-09 12:21:07 +03:00
Artem Yurchenko
97f7c3f609
builtin: move min/max integer values consts from math to builtin (#19809) 2023-11-08 20:43:48 +02:00
shove
7e7e43866a
cgen: fix shared assign from call_expr(fix #19790) (#19807) 2023-11-08 20:26:28 +02:00
Ikko Eltociear Ashimine
ad935cad3e
tools: fix typo in vbuild-tools.v (#19797) 2023-11-08 10:46:49 +02:00
shove
b111a823b4
parser: fix shared generic struct as fn parameters (fix #19804) (#19805) 2023-11-08 05:47:49 +02:00
Delyan Angelov
b1ed652bac
ci: fix vlib/v/checker/tests/option_ref_init_err.vv/.out after e736eca 2023-11-08 05:45:03 +02:00
Felipe Pena
e736ecaadd
checker: avoid nil assign to option var (#19746) 2023-11-07 21:30:58 +02:00
Felipe Pena
09f3e1e971
checker: fix field ?&Type without default value (#19786) 2023-11-07 21:25:20 +02:00
shove
6fa9a84753
cgen: fix shared variable assign generic structs (fix #19798) (#19800) 2023-11-07 21:23:42 +02:00
Delyan Angelov
92a72df5f8
tools: fix v build-tools, make v test more robust (#19803) 2023-11-07 21:19:58 +02:00
Delyan Angelov
d86b3689d9
tests: workaround name conflict, causing false positives with msvc on windows, when both tests were executed at the same time (locked executable) 2023-11-07 14:41:25 +02:00
Turiiya
22e17c3e8f
fmt: remove additional line breaks after call_expr before params struct args (#19795) 2023-11-07 14:32:36 +02:00
yuyi
cd5c5561db
cgen: fix closure variable in smartcast (#19796) 2023-11-07 14:29:03 +02:00
Felipe Pena
60ba14038a
cgen, checker: fix comptime enumdata value property access (#19768) 2023-11-07 14:27:37 +02:00