Delyan Angelov
bb2d605653
tests: cleanup obsolete TODOs about cgen errors
2025-05-31 07:53:18 +03:00
Delyan Angelov
5ce4f95f0a
cgen: improve the readability of switch() {
statements, generated by match() {
ones ( #24618 )
2025-05-31 07:39:15 +03:00
Delyan Angelov
21da729354
native: fix the cross compilation step in v test-all
, which does v -os macos -experimental -b native -o hw.macos examples/hello_world.v
2025-05-30 18:43:50 +03:00
Mike
0d00eb712c
math.big: remove unnecessary casting from Integer.is_power_of_2/0 ( #24614 )
2025-05-30 14:15:39 +03:00
Delyan Angelov
5e2ce5f3e1
checker: reduce dump() calls in ensure_generic_type_specify_type_names/4 (reduce diff sizes of vc.v
2025-05-30 06:40:45 +03:00
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