20129 Commits

Author SHA1 Message Date
Alexander Medvednikov
03e93b35e3 checker: move arr << logic to check_append() 2025-06-04 03:38:38 +03:00
Delyan Angelov
262a72ea96
examples: cleanup memory.v (reduce it to 135 lines) 2025-06-03 11:17:13 +03:00
Swastik Baranwal
3ad384e92a
checker: cycle through all ast.ParExpr first in prefix_expr (fix #24584) (#24588) 2025-06-03 10:26:12 +03:00
Alain Gilbert
dbc4071f6f
veb: fix readme typo (#24645) weekly.2025.23 2025-06-03 07:40:52 +03:00
Alexander Medvednikov
55d004e310 cgen: reduce v.c size by ~4% by removing comments and using shorter literals 2025-06-03 02:59:55 +03:00
Delyan Angelov
d7061cbfef
examples: add a small memory game (#24643) 2025-06-02 23:02:48 +03:00
Mike
366f3d6b98
math.big: add test for radix_str() and integer_from_radix() (#24644) 2025-06-02 22:20:57 +03:00
Louis Schmieder
2944710abd
orm: add in and not in to orm_func (fix #24639) (#24642) 2025-06-02 22:10:30 +03:00
Gonzalo Chumillas
8320da22e7
jsgen: fix map to string fails on rune keys (fix #24637) (#24638) 2025-06-02 10:19:25 +03:00
Felipe Pena
bfc6d5469f
comptime: fix T.indirections comparison (fix #24630) (#24636) 2025-06-02 10:17:24 +03:00
Louis Schmieder
73ebf42015
orm: add IN and NOT IN (#24634) 2025-06-02 03:49:10 +03:00
Eliyaan (Nopana)
566d22ab66
builtin: remove playground related code (the current playground uses a container/sandbox) (#24632) 2025-06-01 17:12:51 +03:00
Denise
ea25988dac
os: support dotfiles := os.walk_ext('.', '', hidden: true) (#24617) 2025-06-01 17:10:04 +03:00
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