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
Delyan Angelov
ddfedc79ae
examples: add primes.v, that shows how to get command line arguments, and use loops and functions
2025-05-19 17:39:18 +03:00
Gonzalo Chumillas
d6031bae10
jsgen: fix casting ( fix #24512 ) ( #24519 )
2025-05-19 16:35:22 +03:00
Delyan Angelov
6ca0976896
cleanup: fix permissions of .vv/.out files in vlib/v/
2025-05-19 16:24:51 +03:00
Delyan Angelov
b4b860cb1f
tests: fix all warnings for v test-all
on linux
2025-05-19 16:16:53 +03:00
Felipe Pena
18f1874586
cgen: fix tmp var redeclaration on const inited later ( fix #24521 ) ( fix #24517 ) ( #24524 )
2025-05-19 16:16:35 +03:00
Delyan Angelov
171df75cc7
veb: reduce veb_max_write_bytes from 16KB to 2KB (fix sending large dynamic responses from veb on macos/freebsd) ( fix #24523 ) ( #24522 )
2025-05-19 15:30:21 +03:00
yuyi
b1fefc5e0c
repl: fix typeof(a) with warning ( fix #24499 ) ( #24515 )
2025-05-19 14:02:32 +03:00
Swastik Baranwal
2c42574e6a
builtin: remove old TODOs from array_test
( #24510 )
2025-05-18 16:49:07 +03:00
Delyan Angelov
d06e11188b
examples: add a simple sudoku solver
2025-05-18 11:54:56 +03:00
Delyan Angelov
05361b75ca
cgen: fix pattern generated by const_init_or_block.vv
in vlib/v/gen/c/coutput_test.v
, when VFLAGS=-no-parallel is used
2025-05-18 09:47:08 +03:00
Felipe Pena
6ee06d8f4c
cgen: fix codegen inconsistency handling nil
param to arg expecting ptr ( fix #24491 ) ( #24503 )
2025-05-18 08:46:25 +03:00
Felipe Pena
511a64424f
cgen: fix codegen for array of option element auto eq a == [?int(none)]
( #24504 )
2025-05-18 08:44:05 +03:00
Felipe Pena
1824b94219
checker: fix resolver for returning struct generic ( fix #24493 ) ( #24506 )
2025-05-18 08:40:30 +03:00
Felipe Pena
ef9bb8e628
cgen: fix codegen for assigning nil
or 0
to option ptr field ( fix #24447 ) ( fix #24500 ) ( #24502 )
2025-05-18 08:38:02 +03:00
yuyi
d433835ac1
cgen: fix map of fixed array value in if guard ( fix #24488 ) ( #24496 )
2025-05-16 14:11:43 +03:00
kbkpbot
bc06620648
v.util: use internal diff ( #24495 )
2025-05-16 08:14:58 +03:00
Delyan Angelov
811d486733
tests: use another web service in http_httpbin_test.v, instead of httpbin.org (which is slow and is not reliable anymore for the CI)
2025-05-15 20:39:19 +03:00