jpeg729
aaf3d3315d
tutorials: fix compilation errors in Building a simple web blog with Veb
( #24631 )
2025-06-01 17:07:44 +03:00
Felipe Pena
056998a42a
checker: fix checking for int to array of interface ( fix #24624 ) ( #24625 )
2025-06-01 06:14:33 +03:00
Hitalo Souza
8b5ee60275
vlib: vanilla_http_server ( #24202 )
2025-06-01 03:21:33 +03:00
Delyan Angelov
711d7c4949
type_resolver: support $if T is $pointer {
and $if T is $voidptr {
, to make it easier to implement a pure V dump(), without cgen specific code ( #24628 )
2025-06-01 01:15:22 +03:00
Eliyaan (Nopana)
da8d8fa27c
native: support nested structs, improve support for right expr of IndexExpr ( #24627 )
2025-06-01 00:46:54 +03:00
omerrob
64872fe858
v.pkgconfig: add the default /opt/local/lib/pkgconfig
for MacPorts on macos ( #24626 )
2025-05-31 23:25:31 +03:00
Delyan Angelov
b3cb8a1597
ci: make sure that only one copy of native_test.v is executed at once, when run through v test vlib
( fix #24505 )
2025-05-31 19:37:46 +03:00
Delyan Angelov
e90c0a8eb0
tools: ease diagnosing CI failures of vtimeout_test.v
2025-05-31 14:55:17 +03:00
Eliyaan (Nopana)
f9a4f8f19f
native: implement for in string
for amd64 ( #24613 )
2025-05-31 13:38:05 +03:00
Delyan Angelov
42a992775e
ci: reduce code duplication in linux_ci.vsh
2025-05-31 13:20:15 +03:00
kbkpbot
1274cdc344
thirdparty: upgrade to mbedtls v3.6.3.1, add a .patch file with the local changes ( #24602 )
2025-05-31 12:02:37 +03:00
Delyan Angelov
4fd405cfb1
thirdparty.zstd: add a runnable update.vsh script
2025-05-31 09:06:43 +03:00
Mike
b19fa76c6e
math.big: make is_power_of_2() be false for negatives (it now matches Julia's ispow2/1) ( #24619 )
2025-05-31 08:11:16 +03:00
kbkpbot
a1c5f41c6b
thirdparty.zstd: upgrade to v1.5.7 release, add the local changes to a reusable .patch file ( #24611 )
2025-05-31 08:06:36 +03:00
Gonzalo Chumillas
b84512d408
jsgen: fix direct map key access and map.len ( fix #24616 , fix #24605 ) ( #24620 )
2025-05-31 08:00:34 +03:00
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 )
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