Commit graph

1959 commits

Author SHA1 Message Date
Delyan Angelov
988f8b487d
ci: fix failing jobs after 4ed9d13 (#22606) 2024-10-20 23:51:19 +03:00
Alexander Medvednikov
4ed9d13803 veb: translations via %translation_key 2024-10-20 21:35:27 +03:00
Delyan Angelov
dd9776a75d
tools: use a ~same~ label, when the results in v repeat are not different enough 2024-10-20 16:51:40 +03:00
yuyi
e97036a25b
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159) (#22547) 2024-10-17 11:04:23 +03:00
JalonSolov
55ae30cba4
tools: grammar changes in oldv usage (#22515) 2024-10-13 18:30:22 +03:00
Delyan Angelov
b1142548b9
ast,parser,cgen: add a new ast.FnDecl field is_c_extern, set it during parsing, to be available in markused and checker too 2024-10-13 16:47:58 +03:00
yuyi
2ca3fdfa8d
all: replace enum field name '@xxx' with 'xxx' (#22479) 2024-10-11 02:09:23 +03:00
yuyi
f2cb462d26
vrepl: replace enum field name '@none' with 'none' (#22477) 2024-10-10 20:57:15 +03:00
Delyan Angelov
469b56ef4e
v.vcache: store the cache files in ~/.vmodules/.cache by default, allowing for user modules, that are named cache (fix #22459) (#22472) 2024-10-10 16:28:07 +03:00
yuyi
51b471b060
all: replace enum field name 'xxx_' with 'xxx' (#22469) 2024-10-10 09:17:19 +03:00
yuyi
b97b2b1c9c
all: replace enum field name struct_ with struct (#22466) 2024-10-10 04:41:15 +03:00
kbkpbot
747794998b
encoding: add an encoding.iconv module with tests (#22332) 2024-10-02 19:37:48 +03:00
Turiiya
be26233670
vdoc: fix scrolling on keyboard select in search results with overflow (#22352) 2024-09-29 19:17:26 +03:00
Felipe Pena
6f97ced860
orm: allow comptime field.name as field name (fix #22329) (#22344) 2024-09-29 07:53:47 +03:00
Alexander Medvednikov
747508c35b changelog: minor 0.4.8 fixes 2024-09-28 18:13:56 +03:00
Alexander Medvednikov
106cc3ec35 changelog: V 0.4.8 changelog 2024-09-28 17:56:27 +03:00
Delyan Angelov
765b88f9f2
tests: skip ecdsa_test.v on windows and on tests-sanitize-memory-clang (since it needs OpenSSL) 2024-09-27 07:32:13 +03:00
Felipe Pena
31e71e90ae
checker: add missing check for duplicated items on in expr (fix #22305) (#22308) 2024-09-26 06:52:45 +03:00
Delyan Angelov
1d427da99d
tools: make vretry_test.v more verbose when run on the CI 2024-09-25 09:03:24 +03:00
Delyan Angelov
8ff61ffeab
tools: remove drag_n_drop.v from the list of examples, that are checked for visual differences with vgret, since it now uses the default gg font 2024-09-23 00:22:02 +03:00
vlang-bot
9a0f4d8461 tools: make fast.v and fast_job.v more self sufficient 2024-09-19 13:51:27 +03:00
vlang-bot
24088a7ca4 tools: make fast_job.v more robust (setup a custom PATH) and informative on fast.v failures (compile it with -g) 2024-09-19 12:22:42 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
Delyan Angelov
26c560bc82 thirdparty: fix compilation of programs using miniz.h on macos 2024-09-15 13:35:18 +03:00
Felipe Pena
5fcfc27e50
cgen: fix interface type generation for generic struct (fix #22186) (#22189) 2024-09-14 23:14:59 +03:00
Delyan Angelov
715dc31161
tools: fix v doc not converting <s> in plain code blocks into encoded html entities in its .html output 2024-09-11 19:42:44 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
Delyan Angelov
9238dd6b31
tools: fix v doc truncating code blocks, that lack a specific language (fix #22017) 2024-09-05 16:41:13 +03:00
Delyan Angelov
6488041a74
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158) 2024-09-04 09:38:09 +03:00
Delyan Angelov
b898987ece
tools: add diagnostic in v repeat for invalid combinations of -r, -i and -a flags 2024-09-03 07:48:18 +03:00
Delyan Angelov
da228e93df
tools: implement a -repeats/-R N option to v repeat, to eliminate another need for platform dependent scripting 2024-09-02 20:38:15 +03:00
Delyan Angelov
673ac0a411
builtin: fix map.clear() not resetting map's metas and keys blocks (fix #22139) (#22140) 2024-09-01 12:02:03 +03:00
Martin Skou
caa0c46484
docs: add a copy code function (top/right copy icon) on doc examples (#22114) 2024-08-25 17:35:07 +03:00
Martin Skou
62c69e8a31
docs: improve formatting in time.parse_format description (#22113) 2024-08-25 08:05:13 +03:00
encyclopaedia
a31cd37b66
vlib: add an arrays.parallel module, containing parallel.run/3 and parallel.amap/3 implementations (#22090) 2024-08-24 17:57:06 +03:00
yuyi
481b842fb6
tools: fix vtest-self.v on Windows and tcc compiler (#22110) 2024-08-24 17:13:59 +03:00
Delyan Angelov
1777bcc69c
tools: improve the help screen for v repeat -h, add detailed example for using -t and -p to produce a matrix of 24 permutation runs 2024-08-23 12:22:48 +03:00
Delyan Angelov
89d0743fd6
tools: improve the output of v repeat command, by coloring the faster/slower label 2024-08-23 09:59:35 +03:00
Delyan Angelov
a98a0290a0
tools: use separate .autofuzz.log files too for the separate invocations of fuzz_v_parser_with_radamsa.sh 2024-08-20 22:16:52 +03:00
Delyan Angelov
a23ebcba97
tools: allow passing parameters to fuzz_v_parser_with_radamsa.sh, so that it could be run in several processes from the same folder 2024-08-20 22:07:09 +03:00
Delyan Angelov
6dbf9c9155
parser: fix more edge case panics on fuzzed V source code in vlib/v/parser/testdata/silent/ 2024-08-20 16:11:59 +03:00
Delyan Angelov
c92577e6ed
parser,scanner,ast: make the scanner and parser more robust, by implementing more limits (preventing panics, discovered by fuzzing) 2024-08-20 15:15:24 +03:00
yuyi
cb58db56ef
all: change empty comment to newline (#22053) 2024-08-16 12:09:30 +03:00
yuyi
38e23a76f3
fmt: fix interface fields/methods alignment (#22055) 2024-08-16 11:35:53 +03:00
yuyi
4bce71e12f
fmt: fix enum/struct_decl/struct_init fields with empty newlines (#22051) 2024-08-15 17:28:52 +03:00
Delyan Angelov
a7e733538e
tools: colorise the output of cmd/tools/show_ancient_deprecations.v, reduce false positives (#22048) 2024-08-15 11:39:41 +03:00
larpon
198d4f49ef
tools: add a few missing v command entries and their flags in v complete (#22041) 2024-08-13 18:14:42 +03:00
Delyan Angelov
e862aa004d
tools: support a -fix option in v check-md file.v to make usage easier on Windows. Add an usage hint on formatting errors. 2024-08-13 18:05:37 +03:00
Kim Shrier
ac3045b472
tools: add an amalgamate tool and description of usage (#22034) 2024-08-12 10:51:08 +03:00
Kim Shrier
42d99ba872
tools: sort the match results in the vwhere test, to make it less flaky (#22033) 2024-08-12 01:11:21 +03:00