Commit graph

1650 commits

Author SHA1 Message Date
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Turiiya
dbdbfe24a5
vdoc,tests: detect expected files from input instead of hardcoding names (#21074) 2024-03-22 08:50:57 +02:00
Delyan Angelov
8a9def6534
examples: port sokol/clear.v and sokol/sdf/sdf.v (#21069) 2024-03-21 06:28:25 +02:00
Alexander Medvednikov
27c224efdf changelog: 0.4.5 changelog 2024-03-20 07:08:49 +03:00
Alexander Medvednikov
cf7d6cd648 tools: instantly generate the entire changelog in changelog_helper.v 2024-03-20 06:51:55 +03:00
Turiiya
e5be870fd7
tools.fmt: extend exit codes to allow spotting unformatted files next to internal errors (#21058) 2024-03-19 21:36:59 +02:00
David Legrand
36f1750de7
vtest-self: add sandboxed packaging case (#21059) 2024-03-19 11:36:03 +02:00
Turiiya
164a738744
ci,tests: enable vdoc tests on linux; fix unintended line break (#21014) 2024-03-14 10:16:50 +02:00
Turiiya
565cdf25b6
doc: fix multiline codeblock comments (#20996) 2024-03-11 17:16:09 +02:00
Glenn Lewis
1007a871e4
vdoc: enable browser custom search with ?q=<search> (#20949) 2024-03-04 12:35:42 +02:00
yuyi
667f65bb5f
checker: check assigning immutable reference struct field (fix #20814) (#20883) 2024-02-22 19:22:13 +02:00
Turiiya
8b52420035
tools.vpm: fix remove command on Windows, add test (#20852) 2024-02-17 10:54:45 +02:00
Felipe Pena
d2af0dc96a
cgen, ast, checker: fix auto deref arg when fn expects ref (#20846) 2024-02-16 22:04:34 +02:00
Delyan Angelov
ca4531177d
tools: make the output of v check-md . more informative (#20819) 2024-02-14 02:01:02 +02:00
Delyan Angelov
f43b52860d
tools: use the same same skipping logic for the platform specific _test.v files in v test-self too (#20815) 2024-02-13 18:36:51 +02:00
syrmel
6a4f2937ef
vtest,pref: add ability to have platform specific _test.v files (#20810) 2024-02-13 12:06:47 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Turiiya
cf00017415
doc: simplify is_module_readme function (#20793) 2024-02-12 03:23:43 +02:00
Delyan Angelov
5269c02faf
ast: make Scope.find methods more robust, when called on default initialised scope &Scope = unsafe { nil } fields (#20774) 2024-02-10 19:53:10 +02:00
Casper Küthe
3bd99309dd
x.vweb: add new sessions module (#20642) 2024-02-07 19:00:48 +02:00
Delyan Angelov
b46c58a3a5
tools: cleanup vwatch.v 2024-02-06 19:03:11 +02:00
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