Commit graph

63 commits

Author SHA1 Message Date
Delyan Angelov
97145ca3a8
v.builder: support -d trace_type_symbols_after_checker 2025-09-11 12:47:58 +03:00
Delyan Angelov
01f108e349
builtin: fix v -W -Wimpure-v examples/hello_world.v (move ctovstring_impl to builtin.c.v) 2025-09-10 09:11:17 +03:00
Delyan Angelov
79ede5ed09
tools: cleanup output of v test-all 2025-01-05 19:25:13 +02:00
Delyan Angelov
d25f281b25
tests: fix compilation of the semaphore_wait.v program with latest V 2024-10-26 17:24:01 +03:00
Delyan Angelov
26c560bc82 thirdparty: fix compilation of programs using miniz.h on macos 2024-09-15 13:35:18 +03:00
yuyi
cb58db56ef
all: change empty comment to newline (#22053) 2024-08-16 12:09:30 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Delyan Angelov
d94473e1d4
tests, tools: add short command tests in v test-all, to ensure -d trace_http_request and -d trace_http_response do not regress (#21981) 2024-08-02 01:17:39 +03:00
Delyan Angelov
1d13289b86
markused: mark explicitly all used array and map methods with -skip-unused (fix #21907) (#21914) 2024-07-23 17:42:59 +03:00
Delyan Angelov
463125e20a
tools: add a test for crosscompiling hw, on linux and macos, to FreeBSD (#21553) 2024-05-23 13:45:57 +03:00
Delyan Angelov
0a9d65946b
ci: do not allow new notices for v build-tools and v build-examples on the Linux CI jobs (#21448) 2024-05-07 13:34:05 +03:00
Delyan Angelov
be4f7176f4
v.builder: allow for v -shared -os windows file.v on Linux/macos (fix #20445) (#20453) 2024-01-10 03:39:53 +02:00
Delyan Angelov
9effbec648
tests: fix v test-all 2023-11-05 13:09:37 +02:00
Turiiya
e34e06350a
pref: fix unintended file extensions in default output names, allow for v run file.c.v (#19745) 2023-11-03 19:51:44 +02:00
Turiiya
2332c17bea
tools: fix typos (#19546) 2023-10-11 03:16:59 +03:00
Delyan Angelov
c0a7397637
native: support -no-builtin (generate executables < 1KB Linux with v -no-builtin -b native examples/hello_world.v) 2023-10-02 19:44:02 +03:00
Delyan Angelov
b3ee304381
tests: skip testing v -os windows -experimental -b native -o hw.exe examples/hello_world.v on !windows 2023-09-27 12:31:33 +03:00
Delyan Angelov
24cb98d5dc
parser: fix regression for v -e "import os; import math;", add a test to check it (#19353) 2023-09-15 09:59:05 +03:00
Delyan Angelov
5bb02b3dd7
tools: fix some noise in the output of v test-all 2023-08-03 23:19:14 +03:00
Delyan Angelov
d97423d385
tools: add a test for v -os wasm32_emscripten examples/2048 in v test-all 2023-07-31 10:57:57 +03:00
Delyan Angelov
48d42287a9
v.markused: enable v -skip-unused -live run examples/hot_reload/bounce.v 2023-04-08 14:36:01 +03:00
Delyan Angelov
b2a71ecab2
pref: support v -e "println(2+5)" (#17605) 2023-03-12 00:42:36 +01:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Wertzui123
5047058595
stbi: fix memory leak from stbi.load/1 with GC (#16028) 2022-10-11 15:19:36 +03:00
Annie
8f7958273b
compiler: add -raw-vsh-tmp-prefix tmp flag, to allow for executing scripts without .vsh extension (#15829) 2022-09-20 15:52:18 +03:00
Delyan Angelov
993802f6a6
markused: fix compilation of gg programs with -skip-unused, add test to prevent regressions (#15821) 2022-09-20 08:03:03 +03:00
Delyan Angelov
5498a6c263 tests: add more -skip-unused cases to v test-all 2022-07-11 11:02:17 +03:00
Delyan Angelov
6a4ba22eae
tests: flush test headers to ensure stable output with VJOBS>1 2022-06-22 12:46:32 +03:00
Delyan Angelov
60e205a193
tests: add ability to check the output of commands for .starts_with, .ends_with and .contains strings, in v test-all 2022-04-25 12:20:38 +03:00
Delyan Angelov
31b28af179
bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111) 2022-04-21 00:12:50 +03:00
lemon
960225f7a7
builtin: fix -cc gcc -gc boehm on linux and macos (#14115) 2022-04-21 00:12:17 +03:00
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
Delyan Angelov
359b674cff
ci: fix more failing tests 2022-01-22 23:18:09 +02:00
Delyan Angelov
62c3ad4953
use os.quoted_path more 2022-01-22 22:22:22 +02:00
playX
ec91de3504
builtin: use dlmalloc for -freestanding (#13054) 2022-01-06 14:10:37 +02:00
Delyan Angelov
1521d08e84
eval: ignore ast.Module (fixes v interpret file.v regression after 07cf6d9) 2022-01-02 10:09:50 +02:00
Delyan Angelov
0021fbbaa9
gg: support VGG_STOP_AT_FRAME=120 VGG_SCREENSHOT_FOLDER=. VGG_SCREENSHOT_FRAMES=10,20,30 ./v -d gg_record run examples/gg/bezier_anim.v (#12767) 2021-12-08 22:38:33 +02:00
pancake
1b691e7612
native: implement for-c and for-in range loops (#12155) 2021-11-30 11:49:30 +02:00
pancake
89bab98833
native: implement a working hello world compilation for w64 (#12577) 2021-11-26 19:03:15 +02:00
Delyan Angelov
6c728cf389
js: add draft support for -skip-unused (hello_world.v works) 2021-10-12 19:34:37 +03:00
Delyan Angelov
bf0b86774a
fix for the "v.c should be buildable with no warnings" step in v test-all 2021-09-28 10:34:54 +03:00
crthpl
85b58b03a3
cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
Delyan Angelov
6ea750da8d
v test-all: add a v run examples/v_script.vsh step too 2021-09-10 12:45:52 +03:00
Delyan Angelov
2b92ccecb5
ci: fix v build-examples and v build-tools 2021-08-28 12:44:03 +03:00
Delyan Angelov
3ffa6c1664
v.pref: fix ./v -usecache -cg run examples/hello_world.v 2021-08-15 08:35:41 +03:00
Daniel Däschle
ad3835b598
parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
Delyan Angelov
a007dd5d22
builder: support -o - to print the generated C/JS source to stdout 2021-07-18 16:26:50 +03:00
Delyan Angelov
027be2ecd4
tests: show a list of all failed commands in the summary too 2021-07-15 11:53:14 +03:00
Delyan Angelov
5322a25690
tests: detect missing -o v.c files earlier 2021-07-13 22:24:38 +03:00