Commit graph

2051 commits

Author SHA1 Message Date
Delyan Angelov
73b5423b6f
ci: show hg version too, to ease the diagnosing of install_version_test.v failures 2025-05-15 11:32:24 +03:00
Delyan Angelov
3bf8f4232a
tools: let v check-md . skip .md files located in /testdata/ folders (enable passing v test-all, when the burntsushi TOML tests are downloaded/present) 2025-05-13 23:40:55 +03:00
omahs
1957162c2a
all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
Mike
81b238e6f7
tools: fix how the relative path of the tests run by v test is formed, by removing ts.vroot only from beginning of the path (fix #24363) (#24467) 2025-05-12 18:08:22 +03:00
Delyan Angelov
469e268c79
v.pref: add get_build_facts_and_defines/0 and set_build_flags_and_defines/2 2025-05-10 11:26:04 +03:00
kbkpbot
3291372c57
vlib,tools: add an arrays.diff module, implement a simple platform independent tool v diff file1.txt file2.txt using it (#24428) 2025-05-08 11:09:36 +03:00
Laurent Cheylus
2d43b83584
tools: fix v doctor output on FreeBSD ; do not run ldd to get the glibc version (#24427) 2025-05-07 08:43:06 +03:00
Laurent Cheylus
4eed91eda1
tools: check for Git repository in v doctor (packaged V versions often lack a .git/ folder) (fix #24419) (#24420) 2025-05-05 19:44:10 +03:00
Delyan Angelov
5944f3b0a0
tools: improve show_ancient_deprecations.v, by ignoring false positives for deprecation tags in // comments 2025-05-05 09:27:14 +03:00
Delyan Angelov
e60d928593
tools: reduce padding for v doc produced html nodes too 2025-05-04 18:47:39 +03:00
Delyan Angelov
d704798cdd
tools: reduce padding for code examples, to fit more examples on the same screen without scrolling 2025-05-04 18:39:38 +03:00
Eliyaan (Nopana)
cf36360023
tools: save the modified content more frequently in v reduce, fix timeout leaks (#24405) 2025-05-04 12:24:05 +03:00
Delyan Angelov
496c017175
ci: reduce false positives for cover_test.v and vdoc_test.v 2025-05-01 10:56:31 +03:00
Delyan Angelov
bdeef49c02
tools: fix ./v -d network test cmd/tools/vpm 2025-05-01 09:31:03 +03:00
Delyan Angelov
72f4aa9b7e
tools: fix v timeout 2 sleep 5 2025-05-01 09:04:03 +03:00
Eliyaan (Nopana)
8fb8fa2e12
tools: vreduce fix var names (#24373) 2025-04-30 21:02:25 +03:00
Eliyaan (Nopana)
3ca3e5c5ce
tools: use breadth first search in vreduce (#24369) 2025-04-30 20:11:37 +03:00
kbkpbot
6d0eaa5328
tools: rewrite v timeout, support killing the child process on timeout by default (#24367) 2025-04-30 20:10:16 +03:00
Eliyaan (Nopana)
80a9d27499
tools: support vreduce timeout, vreduce custom run command (#24359) 2025-04-30 12:13:12 +03:00
sudopacman
146c766dc9
tools: fix vrepl for import mod { f } (#24340) 2025-04-28 11:01:48 +03:00
Delyan Angelov
59909cde89
ci: use windows-2025 for the gcc-windows job (since it has gcc 14.2.0) (#24304) 2025-04-24 13:03:25 +03:00
kbkpbot
491a1ac515
vdoc: fix infinit recursive calls (fix #24232) (#24274) 2025-04-21 17:53:23 +03:00
Delyan Angelov
385ae6cc3c
tools: add support for // vtest build: !os_id_ubuntu? tags in the _test.v files, detected by v test 2025-04-16 15:01:54 +03:00
Delyan Angelov
eee32e52db
tools: simplify the implementation of get_linux_os_name in v doctor 2025-04-16 14:47:07 +03:00
JalonSolov
c3d6858bf3
tools: remove the src subdir from projects, created by v new (#24236) 2025-04-16 06:37:51 +03:00
kbkpbot
5e69315fc2
orm: add function call based builder API for dynamic queries (fix #24178) (#24196) 2025-04-13 19:18:29 +03:00
kbkpbot
690f845594
cgen: fix nested array support for the orm (fix #19327) (#24080) 2025-03-30 15:26:16 +03:00
kbkpbot
0056d557b6
markused: support orm or expr (fix #24040) (#24059) 2025-03-28 12:43:49 +02:00
Delyan Angelov
175b0fa415
os,tools: make easier analyzing process_test.v failures on the CI 2025-03-26 14:00:47 +02:00
Delyan Angelov
d629a017a0
tools: let test_os_process.v use unbuffer_stdout() to make the output more reliable 2025-03-22 18:33:18 +02:00
Alexander Medvednikov
9b1937a871 V 0.4.10 2025-03-20 14:42:00 +03:00
Delyan Angelov
0893a72792
tools: support v doctor -skip-github to fully skip the fetching step, in places that have limited connectivity (alternative fix/workaround for #23955) 2025-03-18 11:11:19 +02:00
Delyan Angelov
9a8961f9e6
tools: add a custom timeout of 5s for the network using command git -C . fetch V_REPO in v doctor (it normally takes <1s) (fix #23955) 2025-03-18 11:07:40 +02:00
Delyan Angelov
7c42822f77
tools: add v timeout to be able to later use v timeout 5.1 git -C . fetch V_REPO in v doctor and other tools. 2025-03-18 10:57:36 +02:00
kbkpbot
d16aa2547b
tools: add --check flag to v ast (#23938) 2025-03-15 11:54:07 +02:00
Delyan Angelov
5dbb808ef0
tools: make v repeat -R 5 -r 10 "v run examples/hello_world.v" also show the time it took for all runs in each repeat 2025-03-14 08:17:43 +02:00
Delyan Angelov
23d4754f2c
tools: make v repeat failing_cmd show the error output *just once*, but also still measure the time it took to execute 2025-03-14 07:49:59 +02:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Alexander Medvednikov
951d30405f builtin: string.index_after() ?int 2025-03-12 23:03:25 +03:00
Delyan Angelov
35b1cff2d3
tools: support // vtest build: !do_not_test ?, // vtest build: !windows && tinyc to skip files during testing on specific platforms, without having to keep centralised skip lists (#23900) 2025-03-11 21:57:47 +02:00
Hitalo Souza
f787e0317e
examples: add vanilla_http_server - a fast, multi-threaded, non-blocking, port and host reuse, thread-safe, epoll server (#23094) 2025-03-10 19:44:32 +02:00
larpon
81afd8f502
docs, cmd: fix broken docs source links regression in vdoc (#23889) 2025-03-09 16:31:14 +02:00
Delyan Angelov
615e74d341
vlib: reduce false positive matches for /// , cleanup commented code 2025-03-08 17:47:13 +02:00
kbkpbot
698018cd3f
vrepl: fix slow response for empty line input (after just pressing 'enter/return') (fix #23856) (#23858) 2025-03-05 00:01:36 +02:00
Delyan Angelov
cec123a0df
math,examples: add examples/sokol/sounds/simple_sin_tone_using_audio_push.v, cleanup math 2025-03-04 12:19:27 +02:00
Delyan Angelov
cb3b980379
tools: make v install avoid using --filter=blob:none --shallow-submodules --also-filter-submodules on windows (#23840) 2025-03-01 19:23:54 +02:00
Alexander Medvednikov
f83af8a1a2 veb: deprecate vweb (part 1); update the blog tutorial 2025-03-01 03:34:16 +03:00
Delyan Angelov
9062d76bb4
tools: support module no_main based examples in v should-compile-all 2025-02-22 14:22:22 +02:00
Delyan Angelov
5698a6ae79
ci: fix v build-examples failure on gcc-windows 2025-02-20 09:13:06 +02:00
Alexander Medvednikov
a045bb0132 all: use arguments() instead of os.args in some files 2025-02-20 03:07:30 +03:00