19849 Commits

Author SHA1 Message Date
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
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