18040 Commits

Author SHA1 Message Date
Turiiya
f08b333b52
v, vet: move now obsolete vlib vet module to cmd vet (#21445) 2024-05-06 18:29:11 +03:00
Turiiya
920ae6d50f
ci: merge docker_alpine and docker_ubuntu workflows in docker_ci.yml (#21446) 2024-05-06 18:26:38 +03:00
Delyan Angelov
3563b58a24
v.util: fix performance with v test-cleancode, when a slower diff tool is installed (#21447) 2024-05-06 17:58:08 +03:00
Delyan Angelov
13282cc1e1
tools: add .github/workflows/show_manual_release_cmd.vsh, to make cross platform testing of the release process easier 2024-05-06 13:47:45 +03:00
Delyan Angelov
4885b815f4
docs: fix typo, force regeneration of docs.vlang.io 2024-05-06 11:55:52 +03:00
Turiiya
ea1df0260e
vet, parser, scanner: remove vetting for spaces after / before parens (#21437) 2024-05-06 11:14:36 +03:00
Felipe Pena
f8f7c99e2d
cgen: fix option ptr unwrapping (#21415) 2024-05-06 11:02:37 +03:00
Felipe Pena
5667437f39
cgen: fix array.delete_last call generation (#21439) 2024-05-06 11:00:40 +03:00
Delyan Angelov
d3c29ef230
v.util: make diff_test.v more robust to the color settings for the chosen local diff tool 2024-05-06 10:55:11 +03:00
Kim Shrier
6425de844e
regex: fix a handful of typos in the regex README (#21442) 2024-05-06 10:32:36 +03:00
Kim Shrier
7e02baebd0
regex: fix typo in regex character class example (#21441) 2024-05-06 10:31:47 +03:00
Turiiya
996382fe47
v.util: fix color when auto tool is diff (#21435) 2024-05-06 09:52:35 +03:00
Delyan Angelov
1b5f905512
ci: temporary fix for gitly compilation 2024-05-06 08:54:28 +03:00
Felipe Pena
6944f61721
all: add @[_linker_section] for global variable 2024-05-06 01:30:11 +03:00
Turiiya
58527cc71c
vet, parser: remove vet_errors and vet_notices from parser (#21424) 2024-05-05 21:24:26 +03:00
Delyan Angelov
44c84f6187
net: improve error message in .port() 2024-05-05 21:22:36 +03:00
Turiiya
a1f36240b0
v: utilize new diff functions p2 (#21434) 2024-05-05 20:40:05 +03:00
vcker
a4cdc48542
net: add a .port()! method for net.Addr (#21412) 2024-05-05 20:12:33 +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
5b9ffe0070
v.help: update help for fmt (#21430) 2024-05-05 16:17:15 +03:00
Turiiya
ee22dcb0f6
v: utilize new diff functions p1 (#21431) 2024-05-05 15:59:58 +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
f0abc452fa
checker: disallow structs with @[params] attribute as mutable function parameters (#21206) 2024-05-04 17:09:45 +03:00
Turiiya
206441c9df
ci: ensure v master is available when trying to check out its commits to build oldv (#21414) 2024-05-04 17:06:49 +03:00
Delyan Angelov
065399e931
ci: run the v up tests on macos as well (#21411) 2024-05-03 20:21:09 +03:00
Henrik Holst
4cb5949d14
time: fix the string representation of a negative Duration (#21407) 2024-05-03 17:51:42 +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
Turiiya
0be5377fcc
v.pref: simplify command arg handling, add tests (#21406) 2024-05-03 09:38:23 +03:00
Henrik Holst
c7fb7553b7
os: fix os.execute stderr redirection (fix #20986) (#21404) 2024-05-03 00:16:02 +03:00
Turiiya
4dc46ed9e6
v.pref: improve maintainability and performance for parsing args; add tests (#21405) 2024-05-03 00:12:28 +03:00
Delyan Angelov
1760347fa6
v.cflag: fix \t, used inside $first_existing() 2024-05-02 22:09:52 +03:00
Delyan Angelov
01550b5b77
v.parser: fix comptime panic for $tmpl("x.html"), when the template file contained % at the end (#21402) 2024-05-02 19:59:04 +03:00
Delyan Angelov
1c2fe61663
ci: add a v-up-works-ubuntu job, to ensure more robust v up runs (#21401) 2024-05-02 17:56:06 +03:00
Delyan Angelov
045951924f
tools: be verbose, when a git commands that v up executes fails weekly.2024.18.2 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
937a36ac1c
sync.stdatomic: add paths for compilation with musl on Gentoo (#21400) 2024-05-02 13:51:45 +03:00
Turiiya
b77a7e3187
ci: remove now redundant tool tests also from gcc sanitized undefined job (#21399) 2024-05-02 12:40:02 +03:00
Felipe Pena
7c89d77d5b
parser: add check for result type on chan init (#21363) 2024-05-02 08:59:15 +03:00
Delyan Angelov
c3d75cf4f9
ci: stop earlier on vc/v.c files, that may break on systems != linux (#21397) 2024-05-01 22:51:20 +03:00
Felipe Pena
6f7f7e08c6
datatypes: fix for set - operator, union and intersection, now they no longer change the receiver (fix #21315) (#21362) 2024-05-01 22:05:24 +03:00
Delyan Angelov
794e238c7a Revert "v.pref: cleanup os from and to string functions (#21396)"
This reverts commit 7e3b277d1dcdc55eb8d37f8694c4b720e2715ad7.
2024-05-01 21:57:30 +03:00
Delyan Angelov
d435ef34fc os,runtime: workaround for v.c generation instability 2024-05-01 21:51:28 +03:00
Turiiya
7e3b277d1d
v.pref: cleanup os from and to string functions (#21396) 2024-05-01 21:08:35 +03:00
Turiiya
7170f9da36
cli: simplify flag parsing (#21392) 2024-05-01 21:07:25 +03:00