17665 Commits

Author SHA1 Message Date
Turiiya
427b6dbcbb
vdoc: improve line merging for readme contents (#21224) 2024-04-08 18:45:51 +03:00
Turiiya
4e8d00d368
vdoc: minor cleanup (#21225) 2024-04-08 18:39:50 +03:00
Ikko Eltociear Ashimine
0fd67b225c
math: fix occuring -> occurring typo in stats.v (#21227) 2024-04-08 18:39:01 +03:00
Turiiya
6a3d8d28b5
vdoc: fix indentation in module readmes (#21220) 2024-04-08 12:48:01 +03:00
Felipe Pena
19ef7689a6
cgen: fix comptime $if !autofree { (#21218) 2024-04-08 10:17:08 +03:00
Turiiya
38353088e0
vpm: optimize performance by adding filter when cloning (#21216) 2024-04-07 17:11:58 +03:00
Turiiya
4056353381
parser, checker: improve the error message for an unknown type (#21207) 2024-04-07 17:05:13 +03:00
Felipe Pena
d692d884e3
cgen: add autofree comptime check (#21197) 2024-04-07 09:43:23 +03:00
Turiiya
01a94483bc
fmt: extend import import alias reference map for submodules (#21200) 2024-04-07 09:36:51 +03:00
Turiiya
f7d178d8de
parser: update file path fields; use more expressive name for file path, remove obsolete file_name_dir field (#21202) 2024-04-07 09:34:24 +03:00
Turiiya
ef3a224ea1
os: clarify some doc comments (#21209) 2024-04-07 09:30:12 +03:00
Casper Küthe
d0cbfc1461
x.vweb: accept query params as method arguments (#21201) 2024-04-07 09:20:55 +03:00
Turiiya
c2c83f78f3
ci: remove -stats flag from tests (#21203) 2024-04-07 09:08:53 +03:00
Turiiya
ad17be5dfa
parser: remove redundant comments_mode field (#21198) 2024-04-06 21:10:12 +03:00
Felipe Pena
9d889842aa
x.json2: add a way to decode an array (#21186) 2024-04-06 12:33:50 +03:00
Turiiya
3d5dbcaaf5
vdoc: select first result when entering search term, use more explict query for header.doc-nav (#21193) 2024-04-06 12:32:46 +03:00
Turiiya
3a6cf5adfc
tools.vpm: debug-log to $VMODULES/cache/vpm.log if not running in debug mode (#21192) 2024-04-06 12:29:43 +03:00
Turiiya
31fdf580a4
ci: move build step for VPM site, into apps and modules ci, add concurrency config (#21191) 2024-04-05 21:00:36 +03:00
Alexander Medvednikov
5cbed731dc gg: draw_text with custom fonts 2024-04-05 18:09:47 +03:00
Turiiya
a7d68cbc2d
xml: update entity parse test (#21190) 2024-04-05 17:31:32 +03:00
Turiiya
254250d375
v: add @VMODHASH comptime variable to store the commit sha of a V module (#21091) 2024-04-05 11:27:50 +03:00
Kim Shrier
67db38ac4e
bitfield: correct a few typos (#21187) 2024-04-05 11:24:31 +03:00
4zv4l
38b3115a9c
breaking,net.ftp: allow to choose a different port than port 21 (change FTP.connect to accept host:port, not just a host address) (#21185) 2024-04-05 11:23:01 +03:00
Delyan Angelov
2c646bfadd
examples: allow for v run examples/sokol/06_obj_viewer /full/path/to/model.obj 2024-04-04 19:52:35 +03:00
Delyan Angelov
cd0e0b18ea
ci: mark both vweb and x.vweb versions of vweb_should_listen_on_both_ipv4_and_ipv6_by_default_test.v as flaky
Both started failing randomly near a1d4712b from 2024-04-02 (mainly on the macos runner).
2024-04-04 16:15:47 +03:00
Felipe Pena
625048c5b4
x.json2,checker,toml: allow field.typ compile-time checking with MatchExpr and add array of option checking (#21171) 2024-04-04 12:43:59 +03:00
Turiiya
ba577e4e5f
parser, checker: move more match validation from the parser into the checker, add error for match without branches (#21181) 2024-04-04 12:43:22 +03:00
Delyan Angelov
d133f64c86
examples: add vtail.v, deprecate File.read_bytes_into_newline/1 in favor of File.read_bytes_with_newline/1 (#21182) 2024-04-04 11:09:06 +03:00
Turiiya
a458adefb7
v.utils: update githash to be able to get the githash of every passed project (#21178) 2024-04-04 05:26:11 +03:00
Turiiya
bb42e1ce73
checker: remove resolved vfmt workaround and TODO (#21175) 2024-04-03 20:58:59 +03:00
Turiiya
f9fa8d8e66
fmt: fix duplicates remove import comments (#21177) 2024-04-03 20:58:22 +03:00
Turiiya
55cafa9ba2
fmt: improve import processing, add test (#21172) 2024-04-03 17:52:28 +03:00
Delyan Angelov
4d24f8c3fc
ci: change listen ports in vweb_should_listen_on_both_ipv4_and_ipv6_by_default_test.v for both vweb and x.vweb, to reduce probability of network errors 2024-04-03 17:51:02 +03:00
Delyan Angelov
a1d4712b0b
tools: cleanup obsolete functions in cmd/tools/vfmt.v 2024-04-02 19:41:28 +03:00
Delyan Angelov
015007c539
tools: add v run cmd/tools/measure/fmt_speed.v file.v 2024-04-02 19:36:52 +03:00
Delyan Angelov
bc0fd8ebee
tools: fix v run cmd/tools/measure/parser_speed.v file.v 2024-04-02 19:35:33 +03:00
Turiiya
be0986dc52
net.http: fix panic on empty addr, cleanup listen_and_serve Server method (#21164) 2024-04-02 11:12:43 +03:00
Turiiya
a1b6360da5
x.json2: add ability to decode arrays (#21163) 2024-04-02 05:32:11 +03:00
Swastik Baranwal
656009dc62
json: allow i32 decoding and encoding (#21162) 2024-04-02 05:24:36 +03:00
Turiiya
c086bee5be
breaking,vlib: update handling of imports whose symbols are not directly used in imported file, remove pub const is_used = 1 workarounds (#21160) weekly.2024.14 2024-04-01 22:07:05 +03:00
Turiiya
97e1b24d30
stbi: update thirdparty/stb_image to latest commit ae721c5 (#21127) 2024-04-01 22:05:43 +03:00
Delyan Angelov
ef48fb60c6
toml: update the alexcrichton and BurntSushi repos to their successors toml-rs, and toml-test, record new exceptions (#21152) 2024-04-01 22:03:35 +03:00
Turiiya
5da1fccaed
docs: fix sponsors bade in readme (#21159) 2024-04-01 19:49:36 +03:00
Kim Shrier
ecbd214ee1
vweb, x.vweb: improve descriptions (#21155) 2024-04-01 19:48:46 +03:00
Turiiya
9704a01406
parser: fix case of falsely registering imports as used, remove unused imports (#21156) 2024-04-01 19:46:50 +03:00
Kim Shrier
59a5a790c9
tests: fix assignment to pointer (failing even with -cstrict on more recent clang versions) (#21158) 2024-04-01 14:30:46 +03:00
Felipe Pena
24af002249
v,breaking: add ability to read enum, fn, interface and sumtype attributes in compile-time, change builtin StructAttribute to VAttribute (#21149) 2024-03-31 09:14:33 +03:00
Felipe Pena
dbc4896aa1
checker: fix C struct embedded init fields checking (#21137) 2024-03-31 09:11:36 +03:00
Kim Shrier
5bccacae51
v.pkgconfig: add pkgconfig path /usr/libdata/pkgconfig for FreeBSD base packages (#21151) 2024-03-31 09:11:17 +03:00
Delyan Angelov
c6e8dfbf5a
tests: skip an assertion in os_stat_test.v on FreeBSD, since its invariant is not universal across different filesystem types 2024-03-30 19:26:34 +02:00