20129 Commits

Author SHA1 Message Date
Delyan Angelov
91328346a5
examples: support boxoban style collections of levels files (from https://github.com/google-deepmind/boxoban-levels/) 2025-05-15 15:42:53 +03:00
kbkpbot
4c530217d2
term: add writeln_color() (#24463) 2025-05-15 13:37:13 +03:00
Laurent Cheylus
558c034efd
os: add note for the availability of the debugger_present implementation (#24492) 2025-05-15 13:29:46 +03:00
Mike
029564bab1
math.big: respect the sign of the dividend in % operator, add test (#24489) 2025-05-15 13:17:36 +03:00
kbkpbot
7ecc1751b0
cgen: workaround tcc aarch64 spawn call bug (fix #24482) (#24483) 2025-05-15 13:15:24 +03:00
Laurent Cheylus
478607dc07
os: add debugger_present implementation for OpenBSD (fix #23603) (#24490) 2025-05-15 13:05:39 +03:00
Delyan Angelov
0b547598f5
ci: use a different starting port for the hg server web server processes in the different tests, to minimise the chances of conflicts 2025-05-15 12:14:49 +03:00
Delyan Angelov
226e1d6442
tools: let cmd/tools/vpm/install_test.v use a .hg/hgrc file too 2025-05-15 12:10:39 +03:00
Delyan Angelov
e3218ff73e
tools: use a .hg/hgrc file for install_version_test.v (workaround windows failure) 2025-05-15 11:59:37 +03:00
Delyan Angelov
73b5423b6f
ci: show hg version too, to ease the diagnosing of install_version_test.v failures 2025-05-15 11:32:24 +03:00
Delyan Angelov
ded45dce4c net.http: support v -http -d http_folder=vlib/_docs (allow customizing the folder, port, and index file through CLI arguments to v -http) weekly.2025.20 2025-05-14 21:54:21 +03:00
Mike
65767d23d8
math.big: fix the + operator for big.Integer for negative numbers, add test (#24487) 2025-05-14 20:13:02 +03:00
Gonzalo Chumillas
2ca920905e
jsgen: fix alias type initalization (fix #24475) (#24480) 2025-05-14 15:13:06 +03:00
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) weekly.2025.19 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