Commit graph

2243 commits

Author SHA1 Message Date
Delyan Angelov
8504beaaab
net.http: implement http.download_file_with_progress/2, saving each chunk, as it is received, without growing the memory usage (#21633) 2024-06-02 10:26:37 +03:00
Delyan Angelov
5ac8249af7
tools: increase max_samples in cmd/tools/fast/fast.v to decrease the variations of the results on https://fast.vlang.io/ 2024-05-31 09:15:11 +03:00
Turiiya
52dfef1a8c
vfmt: exit with error code if encountering diffs with -diff flag (#21603) 2024-05-30 17:51:30 +03:00
Delyan Angelov
62416356bb
tools: add v download URL for downloading single files, to avoid curl/wget etc, which are not available uniformly. (#21597) 2024-05-29 21:47:08 +03:00
Felipe Pena
80397e679e
tools,cgen,pref: add -coverage support + vcover tool (#21154) 2024-05-27 23:06:52 +03:00
Delyan Angelov
37f385c9d0
testing: implement a separate -show-asserts option, for cleaner test output (-stats still works, and still shows both the compilation stats and the asserts) (#21578) 2024-05-26 18:50:42 +03:00
Delyan Angelov
1cd561feb4
tests: reduce the likelyhood of naming collisions for v test session folders, started at the exact same time (the time resolution on windows is much lower) 2024-05-24 13:08:45 +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
7a36b44c6a
ci: skip compiling the simple_sin_tones.v example again, but only in the tests-sanitize-memory-clang job 2024-05-22 08:45:50 +03:00
Delyan Angelov
6a550ab86e
tools: cleanup skips for v build-examples in cmd/tools/modules/testing/common.v (#21542) 2024-05-21 16:04:20 +03:00
Alexander Medvednikov
736067dd18 V 0.4.6 2024-05-20 21:06:54 +03:00
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