19314 Commits

Author SHA1 Message Date
Felipe Pena
5b272332fb
cgen: fix codegen for const fixed array initialization with another const as item (fix #23565) (#23572) 2025-01-25 19:40:09 +02:00
Delyan Angelov
d710d9ef85
builtin: change the default builder size used for string interpolations, from 256 bytes to 64 bytes 2025-01-25 16:50:24 +02:00
Delyan Angelov
1059a28946
builtin: cleanup prealloc.c.v a bit 2025-01-25 15:27:10 +02:00
Felipe Pena
5be2fcab7b
checker: make option_var.str() an error, when done without unwrapping it first (fix #23557, fix #23558) (#23563) 2025-01-25 07:23:05 +02:00
Swastik Baranwal
89089ab1d5
checker: disallow expr is Type if expr is Optional (fix #23486) (#23510) 2025-01-25 07:18:20 +02:00
Felipe Pena
fac8bb8694
cgen: fix codegen for array's .grow_cap and .grow_len methods for generic arrays (fix #23566) (#23568) 2025-01-25 06:58:58 +02:00
Delyan Angelov
991ec1f9d2
builtin: add -prealloc -d prealloc_memset -d prealloc_memset_value=65 -d prealloc_dump, to better analyze the memory patterns of running V programs 2025-01-24 16:54:49 +02:00
Mike Ward
b0d2eeea5d
doc: document that struct fields can now use keywords as their names (#23564) 2025-01-24 12:11:40 +02:00
Delyan Angelov
a44ff7813a
picoev: enable running veb services on Termux 2025-01-24 11:34:03 +02:00
Felipe Pena
772d21034c
cgen: fix codegen for assigning from infixexpr with generic operand (fix #23560) (#23561) 2025-01-24 08:49:01 +02:00
Felipe Pena
da5bb68b61
markused: fix option ptr printing (fix #23559) (#23562) 2025-01-23 20:37:13 +02:00
Felipe Pena
25f14d3bbb
cgen: fix auto str which expects ptr for ptr type (fix #23552) (#23553) 2025-01-23 17:00:50 +02:00
Felipe Pena
d9a2fb1630
cgen: fix return on last statement of return IfExpr (fix #23550) (#23551) 2025-01-23 12:13:19 +02:00
Felipe Pena
6b0c272213
cgen: fix codegen for a fixed array init with different node types (fix #23545) (#23547) 2025-01-22 16:58:52 +02:00
Felipe Pena
b036a6a492
cgen: fix codegen for assign from unsafe fn returning fixed array (fix #23546) (#23548) 2025-01-22 16:55:51 +02:00
Felipe Pena
45b79dfb97
vet: add an -I option to notice fns, with the potential to be inlined (#23534) 2025-01-22 15:58:02 +02:00
gechandesu
4e68a86025
breaking,log: set stderr as default log output, add .set_output_stream() to allow for opting in the old default of stdout (#23444) 2025-01-21 19:13:21 +02:00
Delyan Angelov
8654cb9885
readme: explain the tradeoffs between using Mbed-TLS and OpenSSL. Recommend using -d use_openssl on !windows systems 2025-01-21 14:49:14 +02:00
yuyi
bff90d0e9d
checker: minor cleanup in smartcast_if_conds() (#23542) 2025-01-21 13:46:16 +02:00
kbkpbot
2a69b7c525
os: add split_path/1: os.split_path('/usr/lib/test.so') -> ('/usr/lib','test','.so'); fix platform dependent behaviour of os.dir/1, os.base/1, os.file_name/1 (#23532) 2025-01-21 06:58:47 +02:00
Felipe Pena
305a272067
cgen: fix unwrapping option interface field (fix #23540) (#23541) 2025-01-21 06:50:42 +02:00
Felipe Pena
ea5f25e77b
markused: cleanup as_cast handling (#23538) 2025-01-21 06:34:30 +02:00
Delyan Angelov
eb1f52a6cd
parser,ast,cgen: support nested unions with field union {, to improve interoperability with C (similar to field struct {) (#23539) 2025-01-20 21:34:03 +02:00
Felipe Pena
907c089492
checker: cache repeated node.args.len, method.generic_names.len, node.concrete_types.len and node.op.str() (#23536) 2025-01-20 21:31:06 +02:00
Felipe Pena
4f3444ed67
markused: minor optmization checking names with dot (#23537) 2025-01-20 21:27:27 +02:00
kbkpbot
c713ece2c1
cgen,cheaders: move _vinit_caller()/_vcleanup_caller() fn declare forword (fix #23496) (#23507) 2025-01-20 17:37:32 +02:00
Felipe Pena
27f637a8dc
checker: simplify unwrap nested selector fix (#23526) 2025-01-20 17:28:19 +02:00
Felipe Pena
facee322fc
v.util, v.parser: inline some commonly used fns (#23535) 2025-01-20 17:09:08 +02:00
Felipe Pena
4800a609f6
cgen: fix codegen for spawn with interface on submodule (fix #23471) (#23517) 2025-01-20 13:36:43 +02:00
Delyan Angelov
619ebe7cd5
GNUmakefile: add ctags and etags make targets for the V compiler frontend 2025-01-20 12:01:19 +02:00
Felipe Pena
bd10e12460
checker: fix message with old attr syntax (#23529) 2025-01-20 10:36:09 +02:00
yuyi
6d40bb8374
cgen: fix interface casting in anon fn (fix #23530) (#23533) 2025-01-20 10:33:35 +02:00
Kim Shrier
839d526780
blake2s, blake2b: fix typo in new_digest description (#23531) 2025-01-20 06:13:18 +02:00
Alexander Medvednikov
f9d3bd39a6 parser: make old [attr] syntax an error 2025-01-19 23:13:04 +03:00
German Swan
11c59cf8b9
v.pref: set DYLD_FALLBACK_LIBRARY_PATH on macos, when -use-coroutines is used, so that v run can work, and the executable can find the downloaded photonwrapper shared library (#23516) 2025-01-19 16:51:21 +02:00
Felipe Pena
9871050603
checker: fix selector nested unwrapping (fix #23519) (#23521) 2025-01-19 16:47:32 +02:00
Felipe Pena
cf0100f140
checker: fix missing check for invalid argument for builtin (fix #23511) (#23515) 2025-01-19 16:36:38 +02:00
Felipe Pena
b51dfcfe7d
checker: fix missing check for concrete type on match branch expr (fix #23506) (#23508) 2025-01-19 16:33:57 +02:00
Kim Shrier
fda0af482f
doc: fix minor grammar error in attributes description (#23513) weekly.2025.03 2025-01-19 13:17:07 +02:00
Kim Shrier
b9a44ee0cf
regex: fix misspelled word "firts" in replace_n description (#23514) 2025-01-19 13:15:06 +02:00
Delyan Angelov
c94e1e05f6
ci: fix failure of the docker-ubuntu-musl job (keep vlib/vweb/vweb_app_test.v in the skip_files) 2025-01-19 13:01:06 +02:00
Delyan Angelov
c432ed1216
ci: fix failure of the check-markdown job 2025-01-19 12:58:06 +02:00
Alexander Medvednikov
a93d94aadd checker: remove vweb deprecation for now 2025-01-19 07:18:27 +03:00
Alexander Medvednikov
e5f70278ea x.vweb: remove the entire module (it's now veb) 2025-01-19 05:43:03 +03:00
Kim Shrier
504ec54be1
flag: fix minor typo (#23512) 2025-01-19 00:59:44 +03:00
blackshirt
c2b7dbf9b4
crypto.ecdsa: improve safety checking, unify signing (and verifying) api to accept options (#23463) 2025-01-18 20:07:19 +02:00
Felipe Pena
3c4878063e
checker: fix missing check for a := [none] (fix #23457) (#23504) 2025-01-18 15:53:59 +02:00
Delyan Angelov
e202641268
ci: fix toml-module-pass-external-test-suites after the CI image runner upgraded jq to version 1.7, by downloading and using the release version of jq-1.6 2025-01-18 15:22:29 +02:00
Felipe Pena
5dd28cf941
markused: fix markused auto str detection (fix #23501) (#23503) 2025-01-18 10:29:52 +02:00
Felipe Pena
1b9f15d60d
checker: cleanup used_features logic (#23502) 2025-01-18 01:14:18 +02:00