17665 Commits

Author SHA1 Message Date
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
Turiiya
0cd3cf5a96
v.pref: update os_from_string, add missing qnx, remove deprecated wasm options that used - instead of _ (#21390) 2024-04-30 20:38:13 +03:00
Delyan Angelov
7977e73e4b
cgen: fine tune the line count reset for the C footer (fix off by 1 error in 00dd0bf) 2024-04-30 19:38:16 +03:00
Delyan Angelov
00dd0bf938
cgen: use the real C line number instead of #line 1000000 ... in the C footer with -g (#21388) 2024-04-30 17:03:53 +03:00
Turiiya
08b6cc7af5
v.pref: extract architecture related code into arch.c.v; rename pref.c.v to pref.v (#21387) 2024-04-30 17:03:33 +03:00
Delyan Angelov
12ca2f253e
v.pref: fix typo in test 2024-04-30 10:00:01 +03:00
Delyan Angelov
b0484ebdfe
ci: speed up bootstrapping_ci.yml, by using the default tcc when possible 2024-04-30 09:51:45 +03:00
Delyan Angelov
d599631aa1
ci: do trigger bootstrapping_ci.yml periodically, but just on changes 2024-04-30 09:43:39 +03:00
Delyan Angelov
fd66067bc0
ci: set cancel-in-progress to false in bootstrapping_ci.yml to avoid false positives 2024-04-30 09:42:48 +03:00
Turiiya
3861a4badf
builder: simplify generic cc detection (#21380) 2024-04-30 09:03:40 +03:00
Kim Shrier
87a82ba423
v.pref: fix new pref test on FreeBSD (#21385) 2024-04-30 09:01:19 +03:00
Turiiya
45eed64d9b
ci: update detection of accidentally added gpl licenses (#21384)
* ci: update detection of accidentally added gpl licenses

* update checkout step name, use var that stays human friendly for reading on prs
2024-04-30 05:20:22 +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
a1bb84f455
pref: fix conflict (#21382) 2024-04-29 20:59:57 +03:00
Turiiya
e4bbd73da3
pref: make minor performance related changes / simplify (#21379) 2024-04-29 20:48:42 +03:00
Turiiya
08da3cde2a
pref: fix version flag handling (#21377) 2024-04-29 20:36:54 +03:00
Turiiya
ec59760815
builder: use cc enum in CcompilerOptions, fix cc detection, enable cc guessing without prod flag (#21370) 2024-04-29 17:14:41 +03:00