17665 Commits

Author SHA1 Message Date
Turiiya
0b83ea77c9
vdoc: update merge_doc_comments so recent fixes extend to all output formats (#21289) weekly.2024.16 2024-04-15 18:16:27 +03:00
Hitalo Souza
107c43a34d
json2: decode (#21039) 2024-04-15 16:47:59 +03:00
Turiiya
e387fcbdcb
vdoc: fix markdown lists in html (#21287) 2024-04-15 15:00:36 +03:00
Turiiya
e676245903
os: format readme, fix markdown inside html (#21286) 2024-04-15 14:56:44 +03:00
Turiiya
183c199021
vdoc: improve creation of trimmed node descriptions, extend tests (#21281) 2024-04-15 14:54:06 +03:00
Felipe Pena
7142463d02
parser: allow struct init on for in Iterator{} { (fix #21179) (#21282) 2024-04-15 05:25:48 +03:00
Delyan Angelov
c230acfb86
examples: cleanup 2048, add pgup/pgdown to speed up the AI moves (#21284) 2024-04-15 05:24:04 +03:00
Turiiya
3ce587085a
tests: enable again http_httpbin_test.v, since net.http now uses mbedtls (#21279) 2024-04-14 23:25:52 +03:00
Felipe Pena
149cbba39b
cgen: fix none passed to a generic option cast expression (fix #21215) (#21276) 2024-04-14 17:52:12 +03:00
Turiiya
ae5421e76e
v.util: polish off diff utils after recent updates and fixes, add doc comments to pub fns (#21275) 2024-04-14 08:58:53 +03:00
Turiiya
39600564a9
tools: add check for unavailable files in vtest (#21272) 2024-04-14 07:52:42 +03:00
Turiiya
96751ede14
tools: revise vtest-self.v: remove dead paths, fix json2 essential test path (#21267) 2024-04-13 09:06:04 +03:00
Turiiya
b838418338
v.util: fix diff coloring, add test (#21260) 2024-04-13 09:00:12 +03:00
Kim Shrier
175d74c824
v.util.diff: return diff options with the diff command for FreeBSD/OpenBSD (#21271) 2024-04-13 08:58:17 +03:00
Agam Sama
cdb6f46eb4
crypto.ed25519: fix proted -> ported typo in README.md (#21274) 2024-04-13 08:53:23 +03:00
Felipe Pena
eb44844ccf
cgen: optimize .map(), .any(), .filter() and .all() when using closure (#21256) 2024-04-12 16:32:56 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Delyan Angelov
a8d0cdd31b
all: replace usages of C.atexit(cb) with at_exit(cb) or {} (part 2) (#21263) 2024-04-12 13:51:18 +03:00
Delyan Angelov
2a651396cf
ci: add logging to .github/workflows/retry.sh 2024-04-12 13:49:35 +03:00
Turiiya
423c39ccb4
vpm: check for git version before adding --also-filter-submodules flag (#21259) 2024-04-12 10:59:22 +03:00
Turiiya
b44361344a
vdoc: fix regression on example comments (#21226) 2024-04-12 10:53:30 +03:00
Turiiya
76b85a0d8d
v.util: improve find_diff_cmd: don't add spaces to result without env opts (#21242) 2024-04-12 10:36:15 +03:00
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