Commit graph

2243 commits

Author SHA1 Message Date
Felipe Pena
3278614abb
parser,checker: improve static method call resolution (fix #22773) (#22787) 2024-11-07 19:46:51 +02:00
Felipe Pena
dab25cad49
cgen: remove unused code generated for unwrapping temp var from callexpr (detect unused return value from CallExpr), fix parser bugs (#22769) 2024-11-07 12:01:33 +02:00
Delyan Angelov
2ebbbd8aeb ci: reduce flakyness of cmd/tools/vcover/cover_test.v (workaround for a race condition while updating the OK tasks counter in v test) 2024-11-06 14:16:45 +02:00
Delyan Angelov
399159ff79
tools: fix v doctor output for missing cc. Add a diagnostic line checking for emcc --version too 2024-11-06 13:12:22 +02:00
Delyan Angelov
164c68174a
ci: use macos-14 instead of macos-12 because of https://github.com/actions/runner-images/issues/10721 2024-11-04 21:47:50 +02:00
Delyan Angelov
2ad5d0cd15
tools: change v test to allow for // vtest hide_retries so that retry_test.v can hide its own (deliberate) retries 2024-10-31 20:23:19 +02:00
Delyan Angelov
d48cb18c3a
tools: show the full test output, on known flaky test failure with v test folder/ (#22716) 2024-10-31 19:02:14 +02:00
Delyan Angelov
d25f281b25
tests: fix compilation of the semaphore_wait.v program with latest V 2024-10-26 17:24:01 +03:00
Delyan Angelov
5fabc8ef5e
tools: allow for v repeat -N ./cmd/tools/vtest_test, by adding a -N/--no_vexe_reset option to v repeat 2024-10-22 17:44:24 +03:00
Felipe Pena
cf03ecd0de
fmt: add support for comments inside sql db { ... } blocks (fix #22601) (#22602) 2024-10-21 12:08:04 +03:00
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