20196 Commits

Author SHA1 Message Date
Gonzalo Chumillas
55eccf6abe
jsgen: fix string.runes method (fix #20500) (#24609) 2025-05-30 06:15:08 +03:00
Gonzalo Chumillas
90fdf102fc
jsgen: implement Map.keys() and Map.values() methods (fix #24209) (#24608) 2025-05-30 05:54:44 +03:00
Delyan Angelov
3ecffe68ff
math.big, docs: document the behaviour of % for negative numbers; in V: -10 % 7 == -3 (#24604) 2025-05-30 05:49:19 +03:00
Eliyaan (Nopana)
ebde7bc85e
native: improve string support (#24600) 2025-05-30 05:41:55 +03:00
Eliyaan (Nopana)
399454fb89
builtin: flush stdout on panic (#24606) 2025-05-30 05:40:29 +03:00
kbkpbot
d6a2a5e925
sync: add condition support (#24574) 2025-05-29 18:00:17 +03:00
Gonzalo Chumillas
2432286a48
cgen: fix initialize error object in or_block (fix #24529) (#24576) 2025-05-29 16:12:25 +03:00
Hitalo Souza
cd244757db
x.json2: update tests to integrate decoder2 in json2 (#24551) 2025-05-29 13:01:50 +03:00
Felipe Pena
7dc3889f19
markused: fix printing smartcasted interface values (fix #24579) (#24583) 2025-05-29 11:09:17 +03:00
Felipe Pena
c91cb87671
cgen: fix generic name handling for struct generic (fix #24530) (#24565) 2025-05-29 10:51:17 +03:00
Felipe Pena
7568526b14
checker: fix fn var resolver (fix #24525) (#24542) 2025-05-29 10:48:37 +03:00
kbkpbot
7b8c9fb715
sync.stdatomic: turn panic() in new_atomic[T]() into a $compile_error() (#24573) 2025-05-29 10:34:57 +03:00
Felipe Pena
ccd2252cf3
checker: fix struct update expr checking, when an alias is used (fix #24581) (#24582) 2025-05-29 10:28:03 +03:00
Eliyaan (Nopana)
464e297351
native: use builtin exit function (#24578) 2025-05-29 10:23:46 +03:00
Felipe Pena
eeeef41030
markused: fix x := t.wait(), when t := go fn () string { (fix #24577) (#24580) 2025-05-29 10:09:34 +03:00
Laurent Cheylus
27d318e4d4
v.builder: enable -fwrap for C compilation on OpenBSD too (#24585) 2025-05-29 09:14:17 +03:00
Laurent Cheylus
c6dbe323f4
thirdparty: add thirdparty/build_scripts/thirdparty-openbsd-amd64_tcc.sh for compiling tcc on OpenBSD (#24592) 2025-05-29 09:10:13 +03:00
kbkpbot
af8ecdaa26
thirdparty: upgrade zstd to 1.5.8 (#24597) 2025-05-29 09:03:47 +03:00
Laurent Cheylus
52c7130a2f
net.mbedtls: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on OpenBSD (#24572) weekly.2025.22 2025-05-25 13:19:22 +03:00
Felipe Pena
eebfa1ba6b
markused: fix for generic ptr receiver on method call (fix #24555) (#24558) 2025-05-25 13:18:09 +03:00
Mike
ca379439fb
math.big: rewrite subtract_in_place() to fix Karatsuba, add tests (#24563) 2025-05-25 13:14:08 +03:00
kbkpbot
ed7a8a34f1
sync.stdatomic: add atomic types (#24561) 2025-05-25 13:10:08 +03:00
Mike
f19e8a7fa3
math.big: optimize divide_array_by_digit() (#24566) 2025-05-25 13:06:27 +03:00
Laurent Cheylus
22c327fee5
net.mbedtls: disable AES-NI on OpenBSD with tcc (fix #22239) (#24560) 2025-05-24 11:07:46 +03:00
kbkpbot
a993fb04d8
parser: fix duplicate mod imports (fix #24552) (#24559) 2025-05-24 11:05:25 +03:00
Laurent Cheylus
a8aeae2111
net.openssl: replace SSL_get1_peer_certificate by SSL_get_peer_certificate for OpenBSD (#24556)
OpenBSD uses LibreSSL (OpenSSL fork) by default for libssl/libcrypto.
SSL_get1_peer_certificate is not supported by LibreSSL, replace it by
SSL_get_peer_certificate.
2025-05-23 16:15:48 +03:00
Felipe Pena
ddb15646a7
db.pg: fix incompatible fn signature (#24549) 2025-05-22 20:49:49 +03:00
Jose L Cuevas
299ebdff04
checker: revise logic for reporting import conflicts with module names (#24539) 2025-05-22 11:46:20 +03:00
Delyan Angelov
140c7ea889
parser: allow mut static counter := 0 inside unsafe {} blocks (prepare for removing a -translated mode quirk) 2025-05-22 11:32:59 +03:00
Delyan Angelov
e2cb01db88
x.benchmark: align the output of BenchmarkResult.print/0 2025-05-22 10:00:45 +03:00
larpon
90445259d3
math: add exp_decay to interpolation.v (#24545) 2025-05-21 21:30:40 +03:00
Laurent Cheylus
31c6db51ba
encoding.utf8: add more tests for UTF-8 strings (#24544) 2025-05-21 18:45:01 +03:00
Laurent Cheylus
a5c8b4f94a
checker: replace warning by notice for UTF8 strings validation (fix #24538) (#24543) 2025-05-21 18:42:46 +03:00
Swastik Baranwal
be49e2bf6c
checker: disallow invalid expr for filter, count, any, all (fix #24508) (#24540) 2025-05-21 14:00:20 +03:00
Mike
c27bc602bd
math.big: fix Karatsuba's add_in_place() function, add carry handler on exit (#24541) 2025-05-21 13:54:21 +03:00
Delyan Angelov
717deacf52
ci: prevent future changes to cmd/tools/vpm/common.v, that introduce warnings/notices to pass in PRs 2025-05-21 13:51:00 +03:00
Delyan Angelov
ff85408722
ci: fix unused var warning in cmd/tools/vpm/common.v 2025-05-21 13:42:50 +03:00
Delyan Angelov
7c50fb1655
checker: reallow passing closures as voidptr parameters with no warning, to enable convenient interfacing with C libs 2025-05-21 11:37:43 +03:00
Laurent Cheylus
9fd7e3e7c1
builtin: fix tests for isnil for -prod or -W, after the recent new cast warning (#24531) 2025-05-21 06:10:34 +03:00
kbkpbot
89305aabe7
builtin: fix mix prod and debug ucrt lib (#24498) 2025-05-21 06:07:56 +03:00
Mike
341008687d
math.big: add missing assert for test_multiply_karatsuba_02 (#24534) 2025-05-21 06:06:28 +03:00
Laurent Cheylus
89fae6096a
builtin: fix recent cast warning for tests for map (fix compilation with -prod or -W) (#24532) 2025-05-21 06:04:33 +03:00
kbkpbot
11ee29c3cf
tools: make v search ui work again through the vpm site (fix #23966) (#24535) 2025-05-21 06:02:39 +03:00
Gonzalo Chumillas
0181d38a0f
tests: simplify assertions in vlib/v/gen/js/tests/alias.v (#24533) 2025-05-21 05:59:14 +03:00
Laurent Cheylus
4dc3465046
x.json2: fix tests for deprecated function fast_raw_decode (#24527) weekly.2025.21 2025-05-20 16:03:00 +03:00
Laurent Cheylus
35d33ff309
builtin: fix tests for int (avoid new V warning) (#24528) 2025-05-20 15:54:01 +03:00
Gonzalo Chumillas
b21dbbb420
jsgen: alias types are not properly resolved (fix #24486) (fix #24507) (#24514) 2025-05-20 15:41:57 +03:00
kbkpbot
c72d77d8a4
os: fix os.File's tell/0 method for windows (fix #24217) (#24218) 2025-05-20 15:41:15 +03:00
Delyan Angelov
9e10b2392d tools: make v doctor show CFLAGS and LDFLAGS too (if set) 2025-05-20 15:24:36 +03:00
Gonzalo Chumillas
6be298d208
v.pref: prevent overriding backend (fix #21758) (#24526) 2025-05-20 09:26:12 +03:00