17732 Commits

Author SHA1 Message Date
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
Turiiya
3ec1994b32
ci: pass a good commit to oldv.v in bootstrapping_ci.yml (#21393) 2024-05-01 15:05:27 +03:00
Delyan Angelov
a097e540a2
examples: fix v -N examples/regex/regex_example.v 2024-05-01 14:48:55 +03:00
Delyan Angelov
91bef02469
docs: add examples of @[flag] enum Bitfield { autogenerated method usages (for .clear_all(), .zero(), .from/1 etc) 2024-05-01 14:48:55 +03:00
Delyan Angelov
b7387af57a
Revert "v.pref: cleanup conditions in os.v and arch.c.v (#21395)"
This reverts commit df041fe47f448d7d312729d432231cc934d3f40c.
2024-05-01 14:41:23 +03:00
Turiiya
df041fe47f
v.pref: cleanup conditions in os.v and arch.c.v (#21395) 2024-05-01 14:23:32 +03:00
Turiiya
b632ef6c96
ci: update bootstrapping_ci.yml trigger paths (#21394) 2024-05-01 10:05:04 +03:00
Delyan Angelov
4bc0f0bcff
stbi: make LoadParams.desired_channels public 2024-04-30 23:44:57 +03:00
Turiiya
927cc01f7d
v.pref: cleanup Backend and CompilerType functions, make minor performance adjustments (#21389) 2024-04-30 20:40:18 +03:00