20216 Commits

Author SHA1 Message Date
Larsimusrex
809e617501
decoder2: support custom decoders (#25021) 2025-08-02 14:07:29 +03:00
Delyan Angelov
b628626923
builtin: fix assert "ä ö å æ ã ø ô é ë".title() == "Ä Ö Å Æ Ã Ø Ô É Ë" (fix #25017) (#25026) 2025-08-02 14:03:28 +03:00
Felipe Pena
198ecd09bc
markused: fix generic map index (fix #25012) (#25022) 2025-08-02 10:26:53 +03:00
Felipe Pena
f834855cb5
markused: improve array resources tracking + remove all_fns loop for orm (#25007) 2025-08-01 21:15:55 +03:00
xieke
a1a94a67fc
sokol.gfx: set the missed array_count field too in the set_vert_uniform and set_frag_uniform APIs (#25019) 2025-08-01 20:57:31 +03:00
Delyan Angelov
f38ca9b825
tools: fix vdoc tests after the vlang/markdown -> html <h2 id="title-topic">Title Topic</h2> change 2025-08-01 20:48:26 +03:00
Delyan Angelov
d1696104c9
tools: use Copying instead of Generating for the static resources in ./v doc -m -f html vlib/ 2025-08-01 18:47:49 +03:00
Delyan Angelov
2a9d1b204b
tools: improve the output of ./v doc -m -f html vlib/ 2025-08-01 18:44:40 +03:00
Delyan Angelov
ca620f4965
builtin: fix warnings for ./v doc -m -f html vlib/builtin/ 2025-08-01 18:27:46 +03:00
Delyan Angelov
2c7b42030a
ci: improve the alignment of the results of file size comparisons in compare_pr_to_master.v 2025-08-01 16:23:19 +03:00
Delyan Angelov
019fc8e7c8
ci: compare the sizes of small programs like hello_world.v, but generated with -cc gcc too 2025-08-01 16:09:02 +03:00
Delyan Angelov
e7bf4f2475
ci: make sure to always compare with the latest commit on the main V repo's master branch, when running .github/workflows/compare_pr_to_master.v 2025-08-01 16:02:14 +03:00
Delyan Angelov
f604b38cf8 ci: trigger updates to the module docs, even if just only the static files for the doc generator are changed 2025-08-01 11:50:10 +03:00
Delyan Angelov
35e925a2f1
vdoc: fix overlapping fn titles on mobile browsers in portrait mode 2025-08-01 11:11:06 +03:00
Larsimusrex
f03d800800
decoder2: fix number decoding and improve errors (#25015) 2025-08-01 06:56:39 +03:00
Eliyaan (Nopana)
c49b9da04e
native: add support for (elf) globals (#25016) 2025-08-01 06:38:49 +03:00
Delyan Angelov
5ec3cc17e1
markused: improve the tracking of used closures (#25009) 2025-07-31 20:41:43 +03:00
Krchi
ac00d441ad
cgen: fix generic key's type with in operation (fix #24983) (#25011) 2025-07-31 20:09:00 +03:00
Delyan Angelov
af0a73f04f
ci: fix the performance-compare-with-master job, when run on PRs (#25014) 2025-07-31 19:29:04 +03:00
Delyan Angelov
6da1923884
ci,tools: implement support for VREPEAT_SILENT=1 and v repeat -S, to only show the summary of the runs, without the progress lines 2025-07-31 12:29:06 +03:00
Delyan Angelov
5a4dbf19d0
tools: fix return"" in vdoc html output (fix #24979) 2025-07-31 10:33:35 +03:00
Delyan Angelov
10f737e1df
ci: add a performance-compare-with-master job 2025-07-31 09:05:07 +03:00
Delyan Angelov
8eba7b2bf5
Revert "markused: clean up features tracking from checker - remove 1 all_fns loop (#24999)"
This reverts commit 844b7007a7db22d5e470dade941eb6874777e6c5.
2025-07-31 08:32:33 +03:00
Felipe Pena
844b7007a7
markused: clean up features tracking from checker - remove 1 all_fns loop (#24999) 2025-07-31 08:18:40 +03:00
Delyan Angelov
bb13e6601e
examples: use a sieve of Eratosthenes in primes.v, to handle bigger inputs more efficiently 2025-07-31 07:54:36 +03:00
gechandesu
75417c55fc
archive.tar: fix type in new_compressor fn name (#25006) 2025-07-30 19:49:00 +03:00
Jorge Mireles
a8d75c10b5
vlib: add archive.tar module to enable reading of .tar ang .tar.gz files (#24995) 2025-07-30 19:11:41 +03:00
Delyan Angelov
b876644e82
parser,ast,checker,cgen: use enum comparisons instead of string ones on ast.ComptimeCall.method_name (#25003) 2025-07-30 13:59:36 +03:00
Krchi
cd94cff219
comptime: support type interpolation in the msg argument of $compile_warn(msg) and $compile_error(msg) (#24992) 2025-07-30 08:29:34 +03:00
Felipe Pena
56b51b69d8
checker: remove dump() dependency from ComptimeFor (#25000) 2025-07-30 03:08:16 +03:00
Delyan Angelov
efd6eccadc
v.util: add support for setting VUTIL_RETRY_MAX_COUNT=1 to ease the workflow for developing backends 2025-07-29 19:41:27 +03:00
Felipe Pena
6915a5a1b5
markused: clean up map fns handling (#24998) 2025-07-29 18:48:09 +03:00
Delyan Angelov
eb99497ffc
builtin,markused: consider println of non string to use .str() method calls too, reduce generated C code for v -cc gcc examples/hello_world.v (#24996) 2025-07-29 14:52:24 +03:00
Delyan Angelov
2c8685a386
markused: use eprintln for PANIC DEPS too (for consistency and easier redirection for the whole trace) 2025-07-29 09:49:37 +03:00
Felipe Pena
396dc77a20
markused: reduce hello world csize by 49%, do more cleanups and improvements (#24971) 2025-07-29 09:00:57 +03:00
Delyan Angelov
59d408f72c
v: limit -div-by-zero-is-zero influence to just the integer types (for f32 and f64, / produces a +inf or -inf value, and the program continues to run) 2025-07-29 07:37:53 +03:00
Delyan Angelov
a5f9899ae3
v: support -div-by-zero-is-zero, which allows for x / 0 == 0 and x % 0 == x, avoiding division by zero traps/panics (#24981) weekly.2025.31 2025-07-28 10:41:18 +03:00
Delyan Angelov
c1db6006bd
time: fix more panics in the supported specifiers in Time.custom_format/1 (#24988) 2025-07-27 20:34:11 +03:00
Delyan Angelov
6aede65485
markused,checker: fix hello world size after the introduction of builtin.closure in 2d87ac4 (#24989) 2025-07-27 20:29:28 +03:00
Delyan Angelov
ace5df7236
ci: workaround -usecache issue afte 2d87ac4 2025-07-27 20:24:13 +03:00
kbkpbot
2d87ac4837
cgen: move closure C code to V code under vlib/builtin/closure/ (#24912) 2025-07-27 17:44:06 +03:00
Delyan Angelov
a08ea74167
time: fix timezone test on windows 2025-07-27 15:56:36 +03:00
kbkpbot
dc2a7b2b7c
time: fix custom_format panic (fix #24977) (#24987) 2025-07-27 15:46:56 +03:00
Delyan Angelov
f719c2cbe3
ci: force changes to vlib/x/json2 to trigger the full sanitized checks (the implementation there uses unsafe blocks and vmemcmp/3...) 2025-07-26 16:57:00 +03:00
Delyan Angelov
b511f2239e
ci,x.json2.decoder2: fix sanitize jobs 2025-07-26 16:53:53 +03:00
Delyan Angelov
318394dd47
tests: move newer fn tests to vlib/v/tests/fns/ 2025-07-26 07:15:08 +03:00
Delyan Angelov
dff623e143
tests: move newer struct related tests to vlib/v/tests/structs/ 2025-07-26 07:15:07 +03:00
Delyan Angelov
2e9f101cfc
tests: move new test from 261a4fb to vlib/v/tests/loops/ 2025-07-26 07:15:07 +03:00
Larsimusrex
66c669fffd
decoder2: rework decoding of sumtypes (#24949) 2025-07-26 07:06:43 +03:00
Krchi
261a4fb31b
parser: fix syntax error for for c in [othermod.Struct{field: 255}] { (fix #24943) (#24978) 2025-07-26 06:55:30 +03:00