Commit graph

2135 commits

Author SHA1 Message Date
Turiiya
a015824eef
vet: optimize performance for path detection, when vetting files (#21139) 2024-03-29 19:28:18 +02:00
Turiiya
030a85c2d0
vet: skip testdata dirs (#21138) 2024-03-29 19:16:16 +02:00
Delyan Angelov
f172a040ef
ci: improve test robustness on windows (#21116) 2024-03-28 07:29:17 +02:00
Laurent Cheylus
f1fba25e49
tools: fix v build-tools (it skipped all tools in subfolders of cmd/tools/ after 6a4f293) (#21120) 2024-03-28 07:28:59 +02:00
Turiiya
1e8d1a4d0b
tools.vet: print help when passing no files or --help/-help flag after vet command (#21108) 2024-03-27 14:17:25 +02:00
Larpon
22744ce495
examples: fix simple_shader compile error, add 2 shader examples to CI (#21112) 2024-03-27 14:05:42 +02:00
Delyan Angelov
e4ac5c7552
vpm: make all tests use cmd_ok and cmd_fail to ease understanding CI errors 2024-03-27 13:28:40 +02:00
Delyan Angelov
80e688e9a1
ci: fix vpm tests with -d network, add more diagnostic output 2024-03-27 12:22:42 +02:00
Delyan Angelov
bb320f19c8
vpm: show the final path where a module is installed, improve color contrast for white on black terminal sessions 2024-03-27 10:36:27 +02:00
Delyan Angelov
992334390c
tools: add v retry apt update, intended to replace the retry.sh script, for more robust CI jobs (#21104) 2024-03-26 17:44:07 +02:00
David Legrand
556f9f12ce
tools: prevent module updates during v build-tools, when VTEST_SANDBOXED_PACKAGING is set (#21094) 2024-03-25 13:12:47 +02:00
David Legrand
0a2346a2eb
vtest-self: add native_test to skippable tests for sandboxed packaging (#21095) 2024-03-25 13:11:01 +02:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Turiiya
dbdbfe24a5
vdoc,tests: detect expected files from input instead of hardcoding names (#21074) 2024-03-22 08:50:57 +02:00
Delyan Angelov
8a9def6534
examples: port sokol/clear.v and sokol/sdf/sdf.v (#21069) 2024-03-21 06:28:25 +02:00
Alexander Medvednikov
27c224efdf changelog: 0.4.5 changelog 2024-03-20 07:08:49 +03:00
Alexander Medvednikov
cf7d6cd648 tools: instantly generate the entire changelog in changelog_helper.v 2024-03-20 06:51:55 +03:00
Turiiya
e5be870fd7
tools.fmt: extend exit codes to allow spotting unformatted files next to internal errors (#21058) 2024-03-19 21:36:59 +02:00
David Legrand
36f1750de7
vtest-self: add sandboxed packaging case (#21059) 2024-03-19 11:36:03 +02:00
Turiiya
164a738744
ci,tests: enable vdoc tests on linux; fix unintended line break (#21014) 2024-03-14 10:16:50 +02:00
Turiiya
565cdf25b6
doc: fix multiline codeblock comments (#20996) 2024-03-11 17:16:09 +02:00
Glenn Lewis
1007a871e4
vdoc: enable browser custom search with ?q=<search> (#20949) 2024-03-04 12:35:42 +02:00
yuyi
667f65bb5f
checker: check assigning immutable reference struct field (fix #20814) (#20883) 2024-02-22 19:22:13 +02:00
Turiiya
8b52420035
tools.vpm: fix remove command on Windows, add test (#20852) 2024-02-17 10:54:45 +02:00
Felipe Pena
d2af0dc96a
cgen, ast, checker: fix auto deref arg when fn expects ref (#20846) 2024-02-16 22:04:34 +02:00
Delyan Angelov
ca4531177d
tools: make the output of v check-md . more informative (#20819) 2024-02-14 02:01:02 +02:00
Delyan Angelov
f43b52860d
tools: use the same same skipping logic for the platform specific _test.v files in v test-self too (#20815) 2024-02-13 18:36:51 +02:00
syrmel
6a4f2937ef
vtest,pref: add ability to have platform specific _test.v files (#20810) 2024-02-13 12:06:47 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Turiiya
cf00017415
doc: simplify is_module_readme function (#20793) 2024-02-12 03:23:43 +02:00
Delyan Angelov
5269c02faf
ast: make Scope.find methods more robust, when called on default initialised scope &Scope = unsafe { nil } fields (#20774) 2024-02-10 19:53:10 +02:00
Casper Küthe
3bd99309dd
x.vweb: add new sessions module (#20642) 2024-02-07 19:00:48 +02:00
Delyan Angelov
b46c58a3a5
tools: cleanup vwatch.v 2024-02-06 19:03:11 +02:00
Delyan Angelov
804a7bdda5
vfmt,parser: keep the original import name in ast.Import, and use it without modifications for paths unders ~/.vmodules 2024-01-29 19:53:25 +02:00
Pierre Curto
91d50e415c
vdoc: fix #8044 and -comments flag (#20592) 2024-01-27 07:10:50 +02:00
Delyan Angelov
22e0b984d4
testing: retry 1 additional time sporadic silent test run failures on macos 2024-01-23 23:31:00 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Delyan Angelov
9a857c11c6
testing: fix warning for compiling ./v cmd/tools/vtest.v 2024-01-23 04:13:14 +02:00
Delyan Angelov
020515406a
testing: implement a retry loop for *the test compilation* as well controlled with VTEST_MAX_COMPILATION_RETRIES, with a randomized delay between each try 2024-01-22 22:12:20 +02:00
gym603
bc37c85cae
tests: make 'test-self' pass under msys2/MINGW32 (#20614) 2024-01-22 01:20:53 +02:00
gym603
9f95ab7c5e
tests: make v test-self run _test.c.v files too (#20612) 2024-01-21 21:11:23 +02:00
Delyan Angelov
4991fc7491
testing: make the FAIL tests more verbose, to ease remote CI failure diagnostics 2024-01-21 17:46:24 +02:00
Delyan Angelov
3e8c53568d
tools: support setting another SCANNER_MODE=parse_comments in parser_speed.v and scanner_speed.v 2024-01-21 08:16:51 +02:00
Delyan Angelov
6107e0d154
tests: show compile time and runtime for each _test.v file in separate columns (#20520) 2024-01-20 17:38:46 +02:00
Felipe Pena
9f6448e30e
v: $dbg statement - native V debugger REPL (#20533) 2024-01-19 07:10:17 +02:00
Tim Marston
bb9acf4261
vast,ast: output map init update expression (#20574) 2024-01-18 05:19:14 +02:00
Delyan Angelov
2f58ac3866
tools: bump too_long_line_length_link to 250, to avoid warnings for very common long links 2024-01-14 18:24:58 +02:00
Delyan Angelov
70b93935be
tools: bump too_long_line_length_table to 160, to avoid warnings for just v check-md doc/docs.md (most common) 2024-01-14 18:24:57 +02:00
Hitalo Souza
cb224076ec
examples: add examples/wasm/change_color_by_id/ (#20519) 2024-01-14 13:34:23 +02:00
Vinicius Silva
175ede54b6
repl: fix an issue with print and println after the execution of for or if (fix #20524) (#20525) 2024-01-14 11:37:49 +02:00