Commit graph

1959 commits

Author SHA1 Message Date
Kim Shrier
774253eeef
tools: default to -cc clang on FreeBSD in cmd/tools/vtest_test.v (#21534) 2024-05-20 10:38:08 +03:00
Turiiya
5e01f673de
vlib, cmd: fix typo unkown -> unknown (#21535) 2024-05-20 08:28:46 +03:00
Turiiya
f56b2b6833
tools.vet: add notice for empty strings conditions (#21421) 2024-05-19 21:40:25 +03:00
Turiiya
f7e820cdeb
v: vet for empty string conditions (#21529) 2024-05-19 17:57:52 +03:00
Delyan Angelov
961bc7907c
ci: run v fmt -w cmd/tools/vdoc/vdoc_test.v 2024-05-18 15:06:20 +03:00
Turiiya
755cdca249
vdoc: improve vdocignore file handling by walking all .vdocignore sub-paths in IgnoreRules.get, add test (#21521) 2024-05-18 14:30:50 +03:00
Turiiya
41b7e5fc21
vdoc: fix handling of .vdocignore files in subdirectories (#21514) 2024-05-16 22:42:28 +03:00
Turiiya
9639f55db0
vdoc: include src dir when trying to generate doc comments for module (#21505) 2024-05-15 21:07:15 +03:00
Turiiya
8a515c03b8
vdoc: fix search in README index.html when generated with v doc -f html -m -readme flags (#21506) 2024-05-15 21:06:26 +03:00
Delyan Angelov
0e2b6041b8
testing: fix v -stats test folder/ not failing for a _test.v that fails (#21483) 2024-05-10 23:30:24 +03:00
gym603
81418b7fe5
tests: fix dependence on presence of vlib/bitfield/_docs in vdoc_file_test.v (#21478) 2024-05-09 21:12:06 +03:00
Delyan Angelov
ecf94ee470
ci: add a retry to vcreate_init_test.v (it is sporadically flaky on macos) 2024-05-08 17:52:47 +03:00
Delyan Angelov
8eaaba6094
tools: move _test.v files for vdoc at the same level (#21473) 2024-05-08 17:29:49 +03:00
Turiiya
972a137087
tools, ci: print info to use v symlink instead of v symlink -githubci (#21471) 2024-05-08 17:28:18 +03:00
Turiiya
f19f0797d8
tools.vet: reduce nesting in vet_fn_documentation, skip vetting empty lines (#21465) 2024-05-08 17:15:43 +03:00
gym603
2e9b4cf42c
tools: call mkdir_all before set_output_path to avoid a vpm panic when ~/.vmodules/cache does not exist (#21463) 2024-05-08 11:27:03 +03:00
Turiiya
78d4157ccf
tools.vet: update diff comparison in vet_test.v (#21457) 2024-05-08 10:16:42 +03:00
Andreas Evensen
caf67ed952
tools: capitalize information output of v up (#21464) 2024-05-08 09:40:51 +03:00
Turiiya
6cda618ead
tools: make ./v symlink work platform independent in CI (part 1) (#21453) 2024-05-07 19:24:47 +03:00
Delyan Angelov
02d123a667
tools: improve performance of v test-cleancode and v fmt -inprocess -verify . (#21450) 2024-05-07 16:28:21 +03:00
Turiiya
9604cd5f70
tools.vet: move error methods to vvet/errors.v (#21449) 2024-05-07 13:35:56 +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
2e0881742c
cleanup: fix v -N -W build-examples 2024-05-07 10:51:58 +03:00
Turiiya
7e82654414
vet, parser: use parse_file, remove parse_vet_file (#21444) 2024-05-06 18:31:13 +03:00
Turiiya
f08b333b52
v, vet: move now obsolete vlib vet module to cmd vet (#21445) 2024-05-06 18:29:11 +03:00
Turiiya
ea1df0260e
vet, parser, scanner: remove vetting for spaces after / before parens (#21437) 2024-05-06 11:14:36 +03:00
Turiiya
58527cc71c
vet, parser: remove vet_errors and vet_notices from parser (#21424) 2024-05-05 21:24:26 +03:00
Turiiya
a1f36240b0
v: utilize new diff functions p2 (#21434) 2024-05-05 20:40:05 +03:00
Turiiya
598de74185
vet, parser: move array_init_one_val checks from parser into vet (#21422) 2024-05-05 16:19:23 +03:00
Turiiya
97984adaf3
v.util: rewrite diff module, deprecate old functions (#21403) 2024-05-05 13:12:04 +03:00
Turiiya
8e7a6e3640
vet, parser: move dynamic const array check from parser into vet (#21423) 2024-05-05 12:55:27 +03:00
Turiiya
387af74302
vet, parser: rewrite vet error handling (improve parser performance extend vvet) p1 (#21417) 2024-05-05 00:18:39 +03:00
Turiiya
7f7d7a1bb0
builder, ci: fix compilation on macos-arm with -cstrict; run macos ci also on the arm runner (#21408) 2024-05-03 17:49:22 +03:00
Delyan Angelov
045951924f
tools: be verbose, when a git commands that v up executes fails 2024-05-02 16:07:08 +03:00
Delyan Angelov
44317785e7
tools: use more meaningful names in vup.v 2024-05-02 15:58:54 +03:00
Delyan Angelov
f6d4285d14
tools: use proper ignore/exclude patterns in the git clean, that v up does 2024-05-02 15:49:05 +03:00
Delyan Angelov
1e8873fbb6
tools: protect from cleaning during v up, only ./v , not any matching folder 2024-05-02 15:29:26 +03:00
Delyan Angelov
671f59c570
tools: exclude thirdparty/tcc from the git clean operation, that vup does in case of a missing .git folder 2024-05-02 15:21:21 +03:00
Delyan Angelov
08fec8749b
tools: be more verbose when doing v up in V folder produced by extracting a .zip release file 2024-05-02 14:09:15 +03:00
Delyan Angelov
d8c480cc8d
ci: workaround defer codegen failing with nested if blocks and -cstrict in vdoc_file_test.v 2024-04-30 05:04:28 +03:00
Delyan Angelov
caa5fb4b00
tests: make vdoc_file_test.v use bitfield (pure V), make it more informative when it fails, let it clean after itself 2024-04-29 21:37:03 +03:00
Turiiya
32263652c5
tools: refine check_os_api_parity.v (#21371) 2024-04-29 14:01:34 +03:00
Turiiya
31171263df
tools: update check_os_api_parity.v (#21367) 2024-04-28 16:11:35 +03:00
Turiiya
0e711f9f44
tools: utilize environment specific files for vsymlink (#21360) 2024-04-27 10:48:12 +03:00
Delyan Angelov
a9247372f7
tools: make fast.v more robust to independent remote changes in vlang/docs 2024-04-26 17:20:55 +03:00
Delyan Angelov
6c113cf777
tools: fix v install for the FreeBSD instance that updates docs.vlang.io . 2024-04-26 15:56:12 +03:00
Delyan Angelov
544085b5af
tools: fix building vpm on the FreeBSD instance, that runs fast.v 2024-04-26 15:43:15 +03:00
Delyan Angelov
cdec163154
tools: update fast.v and fast_job.v to update docs.vlang.io and fast.vlang.io on each commit to master. 2024-04-26 15:02:45 +03:00
Turiiya
903a585e9e
tools: cleanup vwhere (#21350) 2024-04-25 14:14:45 +03:00
Turiiya
9f788de03b
tools: fix compiling vwhere with -cc gcc -cstrict (#21347) 2024-04-25 06:41:48 +03:00