Commit graph

1787 commits

Author SHA1 Message Date
Turiiya
3ce587085a
tests: enable again http_httpbin_test.v, since net.http now uses mbedtls (#21279) 2024-04-14 23:25:52 +03:00
Turiiya
39600564a9
tools: add check for unavailable files in vtest (#21272) 2024-04-14 07:52:42 +03:00
Turiiya
96751ede14
tools: revise vtest-self.v: remove dead paths, fix json2 essential test path (#21267) 2024-04-13 09:06:04 +03:00
Delyan Angelov
a8d0cdd31b
all: replace usages of C.atexit(cb) with at_exit(cb) or {} (part 2) (#21263) 2024-04-12 13:51:18 +03:00
Turiiya
423c39ccb4
vpm: check for git version before adding --also-filter-submodules flag (#21259) 2024-04-12 10:59:22 +03:00
Turiiya
b44361344a
vdoc: fix regression on example comments (#21226) 2024-04-12 10:53:30 +03:00
Turiiya
739730b9d8
vdoc: fix sorting of docnodes on other than linux, enable tests (#21253) 2024-04-12 10:35:01 +03:00
Turiiya
313c3bc49d
vdoc: minor cleanup (#21258) 2024-04-12 10:34:13 +03:00
Turiiya
af4111b9de
vdoc: fix issues related to markdown codeblocks in vdoc generate (#21248) 2024-04-11 16:47:17 +03:00
Turiiya
39de87c895
vdoc: fix out path if -o is not passed but input has a path, add test (#21246) 2024-04-11 16:28:16 +03:00
Turiiya
4afeac316a
vdoc: fix character escape in code blocks in readme contents (#21230) 2024-04-09 07:31:54 +03:00
Turiiya
ba74ab0ccf
vdoc: fix indention of readme when generating docs with -readme in project root (#21232) 2024-04-09 06:53:54 +03:00
Turiiya
efc395eb64
vdoc: don't add _docs directory when an out path is specified (#21233) 2024-04-09 06:50:50 +03:00
Turiiya
427b6dbcbb
vdoc: improve line merging for readme contents (#21224) 2024-04-08 18:45:51 +03:00
Turiiya
4e8d00d368
vdoc: minor cleanup (#21225) 2024-04-08 18:39:50 +03:00
Turiiya
6a3d8d28b5
vdoc: fix indentation in module readmes (#21220) 2024-04-08 12:48:01 +03:00
Turiiya
38353088e0
vpm: optimize performance by adding filter when cloning (#21216) 2024-04-07 17:11:58 +03:00
Turiiya
ad17be5dfa
parser: remove redundant comments_mode field (#21198) 2024-04-06 21:10:12 +03:00
Turiiya
3d5dbcaaf5
vdoc: select first result when entering search term, use more explict query for header.doc-nav (#21193) 2024-04-06 12:32:46 +03:00
Turiiya
3a6cf5adfc
tools.vpm: debug-log to $VMODULES/cache/vpm.log if not running in debug mode (#21192) 2024-04-06 12:29:43 +03:00
Turiiya
a458adefb7
v.utils: update githash to be able to get the githash of every passed project (#21178) 2024-04-04 05:26:11 +03:00
Delyan Angelov
a1d4712b0b
tools: cleanup obsolete functions in cmd/tools/vfmt.v 2024-04-02 19:41:28 +03:00
Delyan Angelov
015007c539
tools: add v run cmd/tools/measure/fmt_speed.v file.v 2024-04-02 19:36:52 +03:00
Delyan Angelov
bc0fd8ebee
tools: fix v run cmd/tools/measure/parser_speed.v file.v 2024-04-02 19:35:33 +03:00
Turiiya
a4ff389b32
vet: allow to overwrite excluded dirs (#21142) 2024-03-30 13:16:33 +02:00
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