Commit graph

1629 commits

Author SHA1 Message Date
Delyan Angelov
804a7bdda5
vfmt,parser: keep the original import name in ast.Import, and use it without modifications for paths unders ~/.vmodules 2024-01-29 19:53:25 +02:00
Pierre Curto
91d50e415c
vdoc: fix #8044 and -comments flag (#20592) 2024-01-27 07:10:50 +02:00
Delyan Angelov
22e0b984d4
testing: retry 1 additional time sporadic silent test run failures on macos 2024-01-23 23:31:00 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Delyan Angelov
9a857c11c6
testing: fix warning for compiling ./v cmd/tools/vtest.v 2024-01-23 04:13:14 +02:00
Delyan Angelov
020515406a
testing: implement a retry loop for *the test compilation* as well controlled with VTEST_MAX_COMPILATION_RETRIES, with a randomized delay between each try 2024-01-22 22:12:20 +02:00
gym603
bc37c85cae
tests: make 'test-self' pass under msys2/MINGW32 (#20614) 2024-01-22 01:20:53 +02:00
gym603
9f95ab7c5e
tests: make v test-self run _test.c.v files too (#20612) 2024-01-21 21:11:23 +02:00
Delyan Angelov
4991fc7491
testing: make the FAIL tests more verbose, to ease remote CI failure diagnostics 2024-01-21 17:46:24 +02:00
Delyan Angelov
3e8c53568d
tools: support setting another SCANNER_MODE=parse_comments in parser_speed.v and scanner_speed.v 2024-01-21 08:16:51 +02:00
Delyan Angelov
6107e0d154
tests: show compile time and runtime for each _test.v file in separate columns (#20520) 2024-01-20 17:38:46 +02:00
Felipe Pena
9f6448e30e
v: $dbg statement - native V debugger REPL (#20533) 2024-01-19 07:10:17 +02:00
Tim Marston
bb9acf4261
vast,ast: output map init update expression (#20574) 2024-01-18 05:19:14 +02:00
Delyan Angelov
2f58ac3866
tools: bump too_long_line_length_link to 250, to avoid warnings for very common long links 2024-01-14 18:24:58 +02:00
Delyan Angelov
70b93935be
tools: bump too_long_line_length_table to 160, to avoid warnings for just v check-md doc/docs.md (most common) 2024-01-14 18:24:57 +02:00
Hitalo Souza
cb224076ec
examples: add examples/wasm/change_color_by_id/ (#20519) 2024-01-14 13:34:23 +02:00
Vinicius Silva
175ede54b6
repl: fix an issue with print and println after the execution of for or if (fix #20524) (#20525) 2024-01-14 11:37:49 +02:00
Delyan Angelov
35e91a7e70
checker,cgen: change x.filter(cond).len > 0 to x.any(cond), and x.filter(cond) == 0 to x.all(!cond) (#20513) 2024-01-13 08:52:31 +02:00
Vinicius Silva
d986f8252a
repl: support executing shell commands on the REPL with !sh [COMMAND] (#20496) 2024-01-12 16:08:03 +02:00
Delyan Angelov
be4f7176f4
v.builder: allow for v -shared -os windows file.v on Linux/macos (fix #20445) (#20453) 2024-01-10 03:39:53 +02:00
Delyan Angelov
89f06d35fd
Revert "tools: update the style.css for fast.vlang.io pages, so that the rownumber counter is reversed" (Chrome does not support counting in reverse)
This reverts commit 2765ca45b8.
2024-01-08 20:58:54 +02:00
Delyan Angelov
2765ca45b8
tools: update the style.css for fast.vlang.io pages, so that the rownumber counter is reversed 2024-01-08 19:43:57 +02:00
Delyan Angelov
f2dee664ba
tools: extract all the common styles for fast.vlang.io pages into a separete style.css 2024-01-08 19:33:20 +02:00
Delyan Angelov
33d7843027
tools: add a visual row counter for the <tr> elements in cmd/tools/fast 2024-01-08 19:20:10 +02:00
Felipe Pena
1303c244e2
orm.pg: fix f32 and f64 endianness (#20412) 2024-01-06 22:27:10 +02:00
Alexander Medvednikov
169d49de9d changelog: 0.4.4 (part 1) 2024-01-04 01:52:41 +03:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Anton
18954afa73
cgen: escape table names (fix #20313) (#20322) 2024-01-01 15:23:25 +02:00
Hitalo Souza
7fc31591ad
x.json2: optimise encoding to be faster than cJSON with -prod (#20052) 2023-12-29 18:28:11 +02:00
jacksonmowry
06a536eff2
db.pg: fix invalid memory access in res_to_rows (#20248) 2023-12-22 02:02:31 +02:00
Delyan Angelov
a64b87204f
vdoc: make the vdoc html output less dense, and more easily diffable 2023-12-20 14:26:23 +02:00
Delyan Angelov
818744e381
vdoc: filter testdata and tests folders by default, reduce filesystem stats calls 2023-12-20 13:54:08 +02:00
Delyan Angelov
23ed1e9ae8
vdoc: extract files.v and highlight.v from utils.v 2023-12-20 11:55:15 +02:00
Turiiya
9ea039e6fc
tools.vpm: improve detection of already parsed modules (#20223) 2023-12-19 23:47:37 +02:00
Turiiya
3b0802deb4
tools.vpm: refine is_outdated, add v outdated test (#20215) 2023-12-19 14:18:26 +02:00
Turiiya
17bf8d1771
tools: simplify and remove redundancies in vshader.v (#20161) 2023-12-13 09:44:21 +02:00
Turiiya
e5e26db5c4
os: update mv fns, improve performance, add params struct to control overwrite behavior (#20156) 2023-12-13 09:43:18 +02:00
Turiiya
4e213f29ed
tools.vpm: fix moving from temp to vmodules dir (#20152) 2023-12-11 21:28:36 +02:00
Hitalo Souza
1b3c4f596e
examples: serve the wasm mandelbrot project using a v web server (#19937) 2023-12-11 14:10:06 +02:00
jacksonmowry
d86a11c257
db.mysql: add ability to prepare and execute statements separately (#20146) 2023-12-11 13:34:20 +02:00
Turiiya
2ceb12826f
tools.vpm: add support for ssh and hg version installations (#20125) 2023-12-11 01:13:34 +02:00
Delyan Angelov
e6bb6df591
tools.vpm: skip slow tests, that do need network access, when -d network is not provided 2023-12-10 12:20:09 +02:00
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03:00
Turiiya
3d0fcfe456
tools.vpm: extract outdated logic into outdated.v, fix outdated hg, extend tests (#20116) 2023-12-08 07:16:55 +02:00
Delyan Angelov
e2b75bde9e
tools: add v repeat 'sleep 1' 'sleep 2' (rename repeat.v to vrepeat.v), improve its output, add its flags to vcomplete.v (#20114) 2023-12-07 19:13:02 +02:00
Turiiya
7b44bb973d
tools.vpm: add manifest fetch for hg repositories, add test (#20107) 2023-12-07 18:36:22 +02:00
Turiiya
f0fe3df0a6
tools.vpm: be more specific, when handling .git endings (#20110) 2023-12-07 18:21:09 +02:00
Turiiya
77e65ac82b
tools.vpm: update vcs handling (#20090) 2023-12-05 11:30:15 +02:00
Felipe Pena
dfab24b936
orm: fix code generated for fields of ?[]Type (#20032) 2023-11-30 23:36:50 +02:00
Delyan Angelov
0c4abf0c19
ci: skip the cmd/tools/vpm/ tests on the fsanitize_memory jobs, because of the handshake code in net.mbedtls, which uses assembly, that is known to sporadically fail the sanitizer 2023-11-30 23:16:49 +02:00