17543 Commits

Author SHA1 Message Date
Turiiya
739730b9d8
vdoc: fix sorting of docnodes on other than linux, enable tests (#21253) 2024-04-12 10:35:01 +03:00
Turiiya
313c3bc49d
vdoc: minor cleanup (#21258) 2024-04-12 10:34:13 +03:00
Swastik Baranwal
433f914388
checker, cgen: allow op overload for type with generic parent (#21262) 2024-04-12 10:31:48 +03:00
Delyan Angelov
a222d7beb2
builtin: implement an at_exit(cb) wrapper for C.atexit (part 1) (#21254) 2024-04-12 09:15:13 +03:00
Turiiya
27cd1b106e
builtin: cleanup compare_strings functions (#21255) 2024-04-11 22:17:12 +03:00
Turiiya
fa321ed874
v.util: improve code related to diff tool specified via environment, add check if the diff tool exists (#21240) 2024-04-11 16:52:51 +03:00
Turiiya
af4111b9de
vdoc: fix issues related to markdown codeblocks in vdoc generate (#21248) 2024-04-11 16:47:17 +03:00
Turiiya
d33ad622ef
v.util: improve color_compare_files 2nd try, add test (#21247) 2024-04-11 16:34:42 +03:00
Turiiya
39de87c895
vdoc: fix out path if -o is not passed but input has a path, add test (#21246) 2024-04-11 16:28:16 +03:00
Turiiya
6dc417e662
vdoc: cleanup node.v (#21250) 2024-04-11 16:23:44 +03:00
Turiiya
6be2717680
ci: prefer dedicated tiggers for platform workflows, so sporadic fails can be retried quicker (#21251) 2024-04-11 16:19:01 +03:00
Turiiya
48800d4b0c
v.util: add diff tool color support detection (tested on linux and freebsd) (#21244) 2024-04-10 14:54:00 +03:00
Turiiya
b832b96da8
v.util: improve detection for opendiff when automatically searching difftools (#21241) 2024-04-10 10:57:08 +03:00
Delyan Angelov
056a44378c
Revert "v.util: improve color_compare_files (#21243)"
This reverts commit bfd53a9b3855e9675058e9fd59576079c38ebfe3.
It restores the ability to use diff.find_working_diff_command() and
customise the result with VDIFF_TOOL and VDIFF_OPTIONS.
2024-04-10 09:21:02 +03:00
Turiiya
bfd53a9b38
v.util: improve color_compare_files (#21243) 2024-04-09 20:38:41 +03:00
Delyan Angelov
4dcc9265e1
examples: add pidigits.v; optimise math.big's Integer divide a bit (#21239) 2024-04-09 17:01:05 +03:00
Delyan Angelov
d25e349020
checker: fix -parallel-cc regression (part 1, workaround .filter(fn[c]) used in checker/orm.v) (#21238) 2024-04-09 17:00:14 +03:00
Turiiya
95426d53f0
time: cleanup module (#21217) 2024-04-09 14:05:14 +03:00
Swastik Baranwal
cca426f69e
checker, cgen: allow for mut v in [12, 13, 14] { v+= 2 } (#21237) 2024-04-09 14:04:49 +03:00
Sudoer
294f7e4169
ast: add missing docstrings for vlib/v/ast/comptime_const_values.v functions (#21219) 2024-04-09 07:37:35 +03:00
Turiiya
82f283fdcb
ci: limit workflows to relevant paths, fix typo in workflow comment (#21228) 2024-04-09 07:33:16 +03:00
Turiiya
4afeac316a
vdoc: fix character escape in code blocks in readme contents (#21230) 2024-04-09 07:31:54 +03:00
Turiiya
ba74ab0ccf
vdoc: fix indention of readme when generating docs with -readme in project root (#21232) 2024-04-09 06:53:54 +03:00
Turiiya
efc395eb64
vdoc: don't add _docs directory when an out path is specified (#21233) 2024-04-09 06:50:50 +03:00
Felipe Pena
23532d4dec
cgen, checker: allow passing none to fn f(arg ?&Type) { (fix #21213) (#21231) 2024-04-09 06:48:36 +03:00
Turiiya
ca839b6e43
time: extract Duration related code into duration.v (#21229) 2024-04-09 06:40:46 +03:00
Turiiya
4ff3c85606
ci: remove redundant tests runs (#21235) 2024-04-09 06:39:44 +03:00
Felipe Pena
3db7b44894
os: fix double free in os.get_raw_line() (used by os.input), with -autofree (#21204) 2024-04-08 18:48:05 +03:00
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