Commit graph

19916 commits

Author SHA1 Message Date
Laurent Cheylus
9834bb06d5
v.util.version: fix output for V full version (followup on issue #24263 and PR #24264) (#24478) 2025-05-14 14:58:03 +03:00
kbkpbot
b9fe26cbf1
cgen: workaround tcc aarch64 fn call bug (fix #24473) (#24477) 2025-05-14 10:44:28 +03:00
Delyan Angelov
457d7b616e
ci: use v retry to reduce the false positives for retrieving the dependencies for vinix too 2025-05-14 10:40:22 +03:00
Swastik Baranwal
915ff40926
checker: check invalid comptime field name assignment (fix #24415) (#24421) 2025-05-14 01:18:24 +03:00
Delyan Angelov
3bf8f4232a
tools: let v check-md . skip .md files located in /testdata/ folders (enable passing v test-all, when the burntsushi TOML tests are downloaded/present) 2025-05-13 23:40:55 +03:00
Mike
861adfcc65
math.big: add new .bitwise_com/0 method + tests (#24476) 2025-05-13 23:28:57 +03:00
omahs
1957162c2a
all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
kbkpbot
0a37c22e4f
gen: workaround tcc aarch64 bug (fix #24473) (#24474) 2025-05-13 17:47:06 +03:00
kbkpbot
a3f4b06b87
sync.stdatomic: workaround for libatomic.a indirect symbols tcc bug (fix #23924) (#24472) 2025-05-13 16:22:16 +03:00
Adam Stringer
0b7a20d938
term.ui: fix panic from missing cursor pos response (#24468) 2025-05-12 22:19:21 +03:00
Mike
81b238e6f7
tools: fix how the relative path of the tests run by v test is formed, by removing ts.vroot only from beginning of the path (fix #24363) (#24467) 2025-05-12 18:08:22 +03:00
Felipe Pena
4578af33aa
test: cleanup after #24457 - remove wrong comment since bug has been fixed (#24464) 2025-05-12 18:06:07 +03:00
Felipe Pena
e93c344b56
checker: fix generic option array arg passing to []T (fix #24423) (#24457) 2025-05-12 13:00:03 +03:00
Mike
2dd7de41c1
slow_tests: use strict pointer casting in asm_test.amd64.v (#24461) 2025-05-12 12:47:34 +03:00
Delyan Angelov
5e61690898 examples: add more Sokoban levels 2025-05-12 12:32:20 +03:00
Delyan Angelov
d96310f07d examples: support directly loading sokoban level files by path 2025-05-12 11:49:56 +03:00
Delyan Angelov
4f46aa84e5 os.asset: add read_text/2 too, use it to simplify the sokoban example 2025-05-12 11:20:12 +03:00
Delyan Angelov
95bac6db00 examples: show the number of pushes in sokoban too 2025-05-12 10:36:48 +03:00
Gonzalo Chumillas
27829d56cd
jsgen: cannot assign unsafe nil values (fix #24407, #24436) (#24458) 2025-05-11 10:57:28 +03:00
Felipe Pena
3f76b69165
checker: add check for decomposing to interface (fix #24441) (#24453) 2025-05-10 21:38:45 +03:00
Felipe Pena
6a98e38f0d
cgen: fix assign from for mut var in arr { to pointer (fix #24432) (#24456) 2025-05-10 21:10:52 +03:00
Felipe Pena
d0de08338f
cgen: fix comptimecall with map receiver (fix #24448) (#24449) 2025-05-10 21:03:11 +03:00
Mike
f3baaa0fb8
slow_tests: fix asm_test.amd64.v (#24451) 2025-05-10 20:55:15 +03:00
Felipe Pena
00ef1a6c52
cgen: fix const declaration dependant mapping when using update_expr (fix #24437) (#24455) 2025-05-10 20:53:37 +03:00
Felipe Pena
3b8f2fe5f5
cgen: fix array init with interface element type (fix #24442) (#24454) 2025-05-10 17:36:51 +03:00
Delyan Angelov
35e0039ff2
cgen: small cleanup in write_sumtype_casting_fn 2025-05-10 13:44:39 +03:00
Laurent Cheylus
2fcad534db
runtime: fix cast error in free_memory implementation for OpenBSD (#24445) 2025-05-10 12:19:30 +03:00
larpon
031fce4361
toml: add compile error when passing encode/1 types of T != struct (fix #24435) (#24443) 2025-05-10 11:40:12 +03:00
Delyan Angelov
469e268c79
v.pref: add get_build_facts_and_defines/0 and set_build_flags_and_defines/2 2025-05-10 11:26:04 +03:00
Delyan Angelov
ed84fb9ce8
examples: cleanup unsafe{} blocks that are not needed anymore in examples/sokol/08_sdf/sdf.v 2025-05-10 10:19:34 +03:00
Mike
47f8f347b1
ast,cgen,parser,pref: support loongarch64 inline assembly, add test (#24440) 2025-05-09 14:57:52 +03:00
Delyan Angelov
9dc69ef2aa
veb: support -d veb_max_read_bytes=16384, -d veb_max_write_bytes=16384, -d veb_default_port=1234, -d veb_max_http_post_size_bytes=8388608 2025-05-09 11:56:52 +03:00
dependabot[bot]
b577475d48
ci: bump creyD/prettier_action from 4.3 to 4.5 (#24439) 2025-05-09 11:21:33 +03:00
Delyan Angelov
90ab5d2cdb
veb: allow route methods, that are tagged with @[unsafe] 2025-05-09 11:00:50 +03:00
Laurent Cheylus
656afa9d13
runtime: improve free_memory implementation for OpenBSD, by getting the stats from its UVM system (#24431) 2025-05-08 12:55:10 +03:00
Mike
bbee42f15e
comptime: enable ppc64le, add docs (#24433) 2025-05-08 11:11:26 +03:00
kbkpbot
3291372c57
vlib,tools: add an arrays.diff module, implement a simple platform independent tool v diff file1.txt file2.txt using it (#24428) 2025-05-08 11:09:36 +03:00
Gonzalo Chumillas
1070378a46
jsgen: fix array initialization with "index" and "it" (fix #24397) (#24429) 2025-05-07 09:41:52 +03:00
Felipe Pena
be85287632
cgen, checker: fix for with mut generic value (fix #24360) (#24426) 2025-05-07 09:41:01 +03:00
Laurent Cheylus
2d43b83584
tools: fix v doctor output on FreeBSD ; do not run ldd to get the glibc version (#24427) 2025-05-07 08:43:06 +03:00
Felipe Pena
dd859eae55
cgen: fix interface unsafe {nil} comparison and initialization (fix #24374) (#24411) 2025-05-06 12:48:55 +03:00
Hitalo Souza
a412f53e62
x.json2.decoder2: fix array decoding in struct is field, when array is initialized (#24422) 2025-05-06 12:32:53 +03:00
Felipe Pena
d9afebc277
cgen: fix if mut var != none { for optional interface values (fix #24351) (#24410) 2025-05-05 19:50:33 +03:00
kbkpbot
0c1a02f910
os: force using C.CREATE_NO_WINDOW on windows in os.raw_execute/1 (fix #24390) (#24418) 2025-05-05 19:48:11 +03:00
Laurent Cheylus
4eed91eda1
tools: check for Git repository in v doctor (packaged V versions often lack a .git/ folder) (fix #24419) (#24420) 2025-05-05 19:44:10 +03:00
Delyan Angelov
a1d94500e6
all: remove deprecations made before 2024-11-06 2025-05-05 09:31:32 +03:00
Delyan Angelov
5944f3b0a0
tools: improve show_ancient_deprecations.v, by ignoring false positives for deprecation tags in // comments 2025-05-05 09:27:14 +03:00
Delyan Angelov
84e2fd8c51
ci: reduce the noise in check annotations for github PR reviews, due to the new warning in option_test.c.v 2025-05-05 09:05:06 +03:00
Felipe Pena
5adfc55b82
cgen: fix codegen for anon option fn struct field init (fix #24392) (#24400) 2025-05-05 08:41:00 +03:00
Delyan Angelov
e60d928593
tools: reduce padding for v doc produced html nodes too 2025-05-04 18:47:39 +03:00