17988 Commits

Author SHA1 Message Date
Swastik Baranwal
58a8fc6c13
cgen: handle auto deref var for index when the array element is an interface or a sumtype (#21491) weekly.2024.20 2024-05-13 19:26:09 +03:00
Felipe Pena
331ccac3e3
cgen: fix c struct option alias printing (#21496) 2024-05-13 19:23:58 +03:00
Delyan Angelov
c23c543b67
os: simplify and unify os.join_path and os.join_path_single, and add more tests (#21494) 2024-05-13 17:33:10 +03:00
Henrik Holst
76142b18a9
os: fix join-path (#21425) 2024-05-13 10:37:55 +03:00
Alexander Medvednikov
35f6523e47 autofree: use g.file.path 2024-05-12 07:49:34 +03:00
Alexander Medvednikov
86994f537c autofree: improve print_autofree_vars 2024-05-12 07:40:50 +03:00
Alexander Medvednikov
021a69be7d autofree: print_autofree_vars 2024-05-12 06:48:42 +03:00
Alexander Medvednikov
8b3623af5a checker: set auto Return pos correctly; cgen: autofree fix for optional returns 2024-05-12 05:34:01 +03:00
Delyan Angelov
0e2b6041b8
testing: fix v -stats test folder/ not failing for a _test.v that fails (#21483) 2024-05-10 23:30:24 +03:00
Delyan Angelov
776e7ad0b1
sync,os,thirdparty: fix cross compilation from macos to windows (#21484) 2024-05-10 22:04:52 +03:00
Rom
1eead82915
picoev: handle EAGAIN or EWOULDBLOCK quietly (#21480) 2024-05-10 11:19:20 +03:00
gym603
81418b7fe5
tests: fix dependence on presence of vlib/bitfield/_docs in vdoc_file_test.v (#21478) 2024-05-09 21:12:06 +03:00
Delyan Angelov
6a6d8e0fcd
docs: fix syntax highlighting of some of the examples, by using the proper code tag 2024-05-09 06:50:54 +03:00
Delyan Angelov
0c6c1f3150
ci: update the helper script, for getting the most recent sqlite-amalgamation-3380200.zip (#21474) 2024-05-08 19:11:32 +03:00
Turiiya
152cd1c94e
toml: simplify decode_quoted_escapes (#21472) 2024-05-08 18:39:49 +03:00
Ikko Eltociear Ashimine
328e53bff3
math.big: fix typo tranform -> transform in special_array_ops.v (#21475) 2024-05-08 18:10:21 +03:00
Delyan Angelov
ecf94ee470
ci: add a retry to vcreate_init_test.v (it is sporadically flaky on macos) 2024-05-08 17:52:47 +03:00
Delyan Angelov
8eaaba6094
tools: move _test.v files for vdoc at the same level (#21473) 2024-05-08 17:29:49 +03:00
Turiiya
972a137087
tools, ci: print info to use v symlink instead of v symlink -githubci (#21471) 2024-05-08 17:28:18 +03:00
Turiiya
f19f0797d8
tools.vet: reduce nesting in vet_fn_documentation, skip vetting empty lines (#21465) 2024-05-08 17:15:43 +03:00
Turiiya
c0fec31bef
cli: fix default flags when their command equivalents are disabled (#21469)
* always replace `\r\n` with `\n`

* fix

* test

* cleanup

* add doc comment
2024-05-08 14:11:40 +03:00
Turiiya
4320f8641b
cli: cleanup execute functions of default commands / flags like -help and -man (#21470) 2024-05-08 13:47:26 +03:00
Kim Shrier
f71b801707
math.unsigned: permit _ separators in Uint128 decimal strings passed to uint128_from_dec_str (#21461) 2024-05-08 13:05:49 +03:00
Turiiya
fec2a8b7b1
ci: make issue template title consistent, fix linter error regarding labels (#21460) 2024-05-08 11:58:49 +03:00
Kim Shrier
307c5b8cc1
regex: fix typos and inconsistencies in the documentation (#21468) 2024-05-08 11:31:49 +03:00
gym603
2e9b4cf42c
tools: call mkdir_all before set_output_path to avoid a vpm panic when ~/.vmodules/cache does not exist (#21463) 2024-05-08 11:27:03 +03:00
Turiiya
78d4157ccf
tools.vet: update diff comparison in vet_test.v (#21457) 2024-05-08 10:16:42 +03:00
Turiiya
b53012a09b
cli: make program outputs using the cli module testable in cli/testdata (#21456) 2024-05-08 10:11:23 +03:00
Turiiya
b0c2841655
v.util: remove fast path in diff.compare_text (#21458) 2024-05-08 10:04:01 +03:00
Turiiya
3158f582d1
ci: update symlink ci, extend tested cases (#21466) 2024-05-08 10:01:05 +03:00
Turiiya
c21f7f0b90
ci: add a linter for the .yml workflow files (#21459) 2024-05-08 09:50:55 +03:00
Turiiya
c8004fc905
ci: use v symlink without -githubci for regular symlinking (#21455) 2024-05-08 09:42:04 +03:00
Andreas Evensen
caf67ed952
tools: capitalize information output of v up (#21464) 2024-05-08 09:40:51 +03:00
Delyan Angelov
279405a36e
ci: use v instead of ./v in the platform linux/macos/windows/_ci.yml files (#21454) 2024-05-07 21:33:23 +03:00
Alexander Medvednikov
6cc096a4b3 checker: ambiguous expression notice for & << >>, similar to && || 2024-05-07 20:38:32 +03:00
Delyan Angelov
5e7d8cd99a
ci: replace .github/workflows/retry.sh usages in the CI with the shorter v retry --, move v test-cleancode upwards to save time for unformatted PRs (#21452) 2024-05-07 19:34:40 +03:00
Turiiya
6cda618ead
tools: make ./v symlink work platform independent in CI (part 1) (#21453) 2024-05-07 19:24:47 +03:00
Delyan Angelov
02d123a667
tools: improve performance of v test-cleancode and v fmt -inprocess -verify . (#21450) 2024-05-07 16:28:21 +03:00
Delyan Angelov
20f907a70d
ci: reduce false negatives for tcp_test.v, retry it 3 times before failing 2024-05-07 15:30:56 +03:00
Turiiya
9604cd5f70
tools.vet: move error methods to vvet/errors.v (#21449) 2024-05-07 13:35:56 +03:00
Delyan Angelov
0a9d65946b
ci: do not allow new notices for v build-tools and v build-examples on the Linux CI jobs (#21448) 2024-05-07 13:34:05 +03:00
Delyan Angelov
5c2466c021
ci: port changes from Vinix's check.yml at 8231e569 to vinix_ci.yml 2024-05-07 13:30:59 +03:00
Delyan Angelov
0ff9dd1b3e
ci: fix vinix_ci.yml by using ./v symlink -githubci in vinix_ci.yml 2024-05-07 13:23:42 +03:00
Delyan Angelov
2e0881742c
cleanup: fix v -N -W build-examples 2024-05-07 10:51:58 +03:00
Delyan Angelov
d6d0f9b9e2
ci: add workflow_dispatch: to gen_vc_ci.yml weekly.2024.19 2024-05-07 00:22:22 +03:00
Turiiya
476e939706
ci: update binary artifact workflow, add matrix (#21378) 2024-05-06 23:59:33 +03:00
Turiiya
c1b21a8d55
v.util: make all available diff tools accessible, extend tests (#21443) 2024-05-06 21:17:53 +03:00
Turiiya
7e82654414
vet, parser: use parse_file, remove parse_vet_file (#21444) 2024-05-06 18:31:13 +03:00
Turiiya
f08b333b52
v, vet: move now obsolete vlib vet module to cmd vet (#21445) 2024-05-06 18:29:11 +03:00
Turiiya
920ae6d50f
ci: merge docker_alpine and docker_ubuntu workflows in docker_ci.yml (#21446) 2024-05-06 18:26:38 +03:00