Commit graph

2243 commits

Author SHA1 Message Date
Delyan Angelov
a949f53bc7
pref: stop parsing CLI options, on encountering -- (#23470) 2025-01-15 01:21:26 +02:00
Delyan Angelov
3523c44f42
tools: make cmd/tools/vretry_test.v independent from the presence of git (fix issue #23398) 2025-01-13 08:10:13 +02:00
blackshirt
68c2da2560
crypto.ecdsa: expand ecdsa module, to support other curves like secp384r1, secp521r1, secp256k1 (#23407) 2025-01-12 12:19:05 +02:00
Felipe Pena
f75aa34580
vvet: fix for v vet folder/ + new features (track long fns, empty fns and repeated code), enabled by the new -F and -r flags (#23405) 2025-01-09 09:46:35 +02:00
Felipe Pena
7078a2e185
orm: fix codegen for option fk (fix #23383) (#23400) 2025-01-07 17:53:37 +02:00
Delyan Angelov
63db71b650
ci: make easier the debugging of the docker-alpine-musl-gcc job (#23399) 2025-01-07 15:19:59 +02:00
Delyan Angelov
738f847f89
tools: improve output of v bug file.v, fix v bug /long/abs/path/file.v too 2025-01-05 20:49:08 +02:00
Delyan Angelov
79ede5ed09
tools: cleanup output of v test-all 2025-01-05 19:25:13 +02:00
Delyan Angelov
c77292ac2c
tools: fix v buf file.v, when run in a folder != vroot 2025-01-05 18:46:45 +02:00
Felipe Pena
c421c8cc86
ci: fix v -W build-tools (#23368) 2025-01-04 14:48:28 +02:00
Delyan Angelov
cb490a74f9
tools: restore emcc --version diagnostic in v doctor, when emcc is present 2025-01-04 11:34:57 +02:00
kbkpbot
30de0724ac
tools: fix v doctor format, fixes for windows, tcc and others (#23361) 2025-01-04 11:32:30 +02:00
Delyan Angelov
c44570c471
tools: improve v bug report wording 2025-01-02 14:35:17 +02:00
Bruno-Vdr
7cf77fbda0
tools: allow for passing arbitrary compiler flags to v bug, for example: v bug -cg -autofree file.v (#23335) 2025-01-02 01:53:34 +02:00
Delyan Angelov
42222e6c0c
tools: avoid os.glob, in favour of os.walk_ext (which works consistently even on windows) 2025-01-01 20:36:30 +02:00
Delyan Angelov
02a7355cfa
tools: improve v should-compile-all . with support for compiling .wasm.v and .js.v files; skip module name files, compile projects that have .glsl files 2025-01-01 20:18:20 +02:00
Delyan Angelov
8902f7dda0
tools: support v should-compile-all folder/, where folder/ contains project subfolders (containing v.mod files and multiple top level .v files) 2025-01-01 19:28:22 +02:00
Delyan Angelov
f96781fddf
tools: pass the vc_v_cpermissive_flags to the cv -> v stage, in the oldv bootstrapping too 2024-12-27 19:17:21 +02:00
Swastik Baranwal
f089ba9ff2
cgen, checker: allow using smartcasted sumtype variant values in the ORM queries (fix #23239) (#23241) 2024-12-23 16:19:27 +02:00
Delyan Angelov
2eb2f9f554
tools: add v time, to measure command execution time, in a cross platform way, without relying on other external tools 2024-12-22 11:46:35 +02:00
Delyan Angelov
9ae0a9db9b
v,ast,fmt,parser: support @[tag] for hash statements, like #define and #flag (#23210) 2024-12-20 08:49:03 +02:00
larpon
87e017e618
vcomplete: sync all flags from pref.v to auto_complete_flags (#23189) 2024-12-17 14:43:35 +02:00
Alexander Medvednikov
597d4e2239 cbuilder: store split up C files in vtmp 2024-12-17 13:07:00 +03:00
Felipe Pena
b1502d4ff1
parser,checker,cgen,fmt: fix array fixed option initialization (none) (complete #23164) (#23176) 2024-12-16 16:54:46 +02:00
Delyan Angelov
11dc600561
tools: let oldv fail early, when git fails to do network operations or checkouts 2024-12-07 16:54:11 +02:00
Hitalo Souza
de3b184b01
json2.decoder2: prepare decoder in json2 to be replaced by json2.decode2 (#23078) 2024-12-06 19:47:17 +02:00
Felipe Pena
ebeef84be9
orm: fix update stmt with enum value (fix #23031) (#23037) 2024-12-03 23:17:51 +02:00
Delyan Angelov
b383cce382
tools: describe more precisely what commands are used by oldv, so it can fail early, with a meaningful error message, if they are not present. 2024-12-02 10:59:52 +02:00
Delyan Angelov
56a381fd1e
tools: use -Wno-error=incompatible-pointer-types in oldv, which is more permissive than just -Wno-error=incompatible-function-pointer-types, and works with gcc too, not just clang 2024-12-01 18:41:46 +02:00
Delyan Angelov
13fd599619
tools: improve oldv compatibility for using new stricter C compilers like clang-18, to compile older V versions from 2020 and 2019 2024-12-01 18:28:08 +02:00
Felipe Pena
a85071878e
v: fix all -skip-unused issues so that it can be enabled by default (#23002) 2024-12-01 02:11:09 +03:00
Delyan Angelov
2c3ad8ddf6 tools: make oldv aware of when to pass -no-parallel when bootstrapping V from v.c (fix #22990, part 2) 2024-11-27 16:36:24 +02:00
Alexander Medvednikov
c03b4f68fc markused: make work with json 2024-11-25 22:36:31 +03:00
Delyan Angelov
b801083f13
Revert "os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966)"
This reverts commit 93009823f9.
2024-11-25 15:10:15 +02:00
Elsie
93009823f9
os: deprecate os.getwd in favor of os.get_current_dir (part 1) (#22966) 2024-11-25 12:17:33 +02:00
Elsie
1345eac570
vet: make v vet produce a nicer note, including the offending files, instead of file.v (#22957) 2024-11-24 12:21:16 +02:00
Delyan Angelov
fbc3fc6fcf
tools: cleanup the output for failing tests with v test . (#22921) 2024-11-20 14:20:33 +02:00
Turiiya
931a7e9ab7
vdoc: use directional overflow for search division (#22914) 2024-11-19 08:51:16 +02:00
yuyi
d2cb41c887
builtin: cleanup by merging fixed array tests into one test file (#22884) 2024-11-17 12:58:36 +02:00
Delyan Angelov
b5813c25e2
tools: measure execution speed, even if the compilation commands fail, in order to not break https://fast.vlang.io/ 2024-11-16 12:13:23 +02:00
Delyan Angelov
ee3a182dfd
tools: allow for v download -RD URL/script.vsh, to download script.vsh, then run it locally, then remove it, in a single command 2024-11-13 20:38:45 +02:00
Felipe Pena
ebb3a8eb25
orm: fix crash when working with array field (fix #22822) (#22824) 2024-11-13 09:59:04 +02:00
Hitalo Souza
8ebbacecd6
json: move _test.v files to vlib/json/tests/ (#22731) 2024-11-12 20:33:01 +02:00
Delyan Angelov
4e82b62142
tools: use v retry in more places, that do network operations that can fail temporarily (#22836) 2024-11-12 13:01:37 +02:00
Delyan Angelov
ce1fbaa0bd ci: improve output of macos_ci.vsh 2024-11-10 13:13:38 +02:00
Delyan Angelov
65038a4a2a tools,testing: limit header length used in v test, make CI assertion failures easier to read 2024-11-10 11:10:04 +02:00
Alexander Mandrikov
e1a5acc1ef
orm: support plain @[serial] attribute for marking struct fields (#22814) 2024-11-09 17:26:22 +02:00
Felipe Pena
fad49da199
orm: fix order by with custom column name (#22813) 2024-11-09 08:24:59 +03:00
Felipe Pena
43d9cd6e90
builder: fix msvc build thirdparty obj file from .cpp (fix #22772) (#22789) 2024-11-08 12:35:14 +02:00
Delyan Angelov
22983a08e6
tools: bump default v retry timeout to 10 minutes, clarify the usage of its --timeout option. 2024-11-08 09:26:22 +02:00