16422 Commits

Author SHA1 Message Date
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
penguindark
6b2a6b9bb0
regex: fix bug for issue #19789 (#19793) 2023-11-07 14:26:23 +02:00
Turiiya
93d5c2dccc
tools: improve error messages, add color coding and debug logging (#19781) 2023-11-07 14:23:53 +02:00
Turiiya
f1127cd45c
tools: cleanup and simplify vcreate, for upcoming fixes and features (#19794) 2023-11-07 14:10:34 +02:00
Delyan Angelov
50c22b5a12
os: implement os.fd_is_pending/1, os.Process.pipe_read/1, os.Process.is_pending/1 (#19787) 2023-11-07 13:47:25 +02:00
Delyan Angelov
a92700e93b
maps: add maps.merge/2 and maps.merge_in_place/2 generic utility functions (#19776) 2023-11-06 20:09:05 +02:00
Delyan Angelov
bd52a94e60
tests: add a small delay too between the test retries, in the non -stats branch, handling flaky test failures 2023-11-06 16:51:57 +02:00
Subhomoy Haldar
35558df96c
vlib: add an encoding.xml module with parser, validation, entity encoding, unit tests (#19708) 2023-11-06 15:14:30 +02:00
JalonSolov
01022e918e
flag,json,net: handle C calls in .v files (part of enabling -W impure-v as default) (#19779) 2023-11-06 14:27:00 +02:00
shove
1e25d45243
cgen: fix g.obf_table data missing(fix #19695) (#19778) 2023-11-06 13:58:41 +03:00
Delyan Angelov
140c838f2e
ci: mark install_test.v as flaky too 2023-11-06 12:24:58 +02:00
Delyan Angelov
2362450340
ci: mark more tests as flaky 2023-11-06 12:23:11 +02:00
Joe C
af4ee6addd
cgen: only generate free in wrapper for spawn and not go (#19780) 2023-11-06 13:18:43 +03:00
Delyan Angelov
b07e3d00e1
docs: use #!/usr/bin/env bash instead of #!/bin/bash 2023-11-06 08:47:57 +02:00
Sudoer
4e6186ee95
ast: add missing docstrings for the public fns in vlib/v/ast/types.v (#19752) 2023-11-05 20:49:32 +02:00
JalonSolov
9ec8807dbe
compress,coroutines,encoding: handle C calls in .v files (part of enabling -W impure-v as default) (#19769) 2023-11-05 17:38:03 +02:00
Turiiya
9fa1f8e275
tools: fix resolving external dependencies in vpm, add test (#19772) 2023-11-05 17:31:43 +02:00
Matthew Muller
e7f0c6bc3d
transformer: fix using a constant, instead of a fn parameter with the same name (fix #19766) (#19773) 2023-11-05 15:59:49 +02:00
Turiiya
1f8fbb51e8
tools: simplify command execution in vpm, use os.execute_opt (#19741) 2023-11-05 15:55:45 +02:00
shove
510f0915b1
checker, cgen: allow for a shared variable, to be whole reassigned (keeping the same mutex state) (fix #15649) (#19751) 2023-11-05 15:15:14 +02:00
l-m
f82529e020
os: add os.page_size() (#19770) 2023-11-05 13:35:28 +02:00
Delyan Angelov
9effbec648
tests: fix v test-all 2023-11-05 13:09:37 +02:00
Turiiya
b734197714
tools: use a safer way to initialise settings in vpm (#19755) 2023-11-05 11:09:48 +02:00
l-m
d1f044d089
picoev: implement raw mode (#19771) 2023-11-05 10:49:54 +02:00