Commit Graph

13085 Commits (15b84567ecc722fb96665d8d9e54d721b07f80e2)

Author SHA1 Message Date
playX 15b84567ec
checker: c2v array fix (#14426) 2022-05-17 10:03:13 +02:00
Delyan Angelov ec5559a379
checker: apply fix for ui suggested by spaceface 2022-05-17 10:03:13 +02:00
Delyan Angelov 972c1855bc
Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)""
This reverts commit e5c7fe3006.
2022-05-17 10:03:13 +02:00
yuyi 57055a9c63
cgen: fix struct field array index error (#14417) 2022-05-17 10:03:13 +02:00
Delyan Angelov 1064085656
Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"
This reverts commit 36bec823c2.
2022-05-17 10:03:13 +02:00
Delyan Angelov e814497831
clipboard: fix `v -gc boehm run x.v`, where x.v does c.paste() (fix #14281) 2022-05-17 10:03:12 +02:00
yuyi cdfdf19697
ast, cgen: fix generic method with variadic generic argument (#14404) 2022-05-17 10:03:12 +02:00
Larpon f1b35aff22
vvet: fix false positive, add test (#14403) 2022-05-17 10:03:12 +02:00
yuyi 9eba367a46
cgen: minor cleanup in struct_init() (#14405) 2022-05-17 10:03:12 +02:00
spaceface 4179e1cac2
checker: allow using methods as vars when expecting a ctx arg (#14414) 2022-05-17 10:03:12 +02:00
WoodyAtHome 9e179ab11f
net.smtp: handle UTF-8 subjects according to RFC 1342 (#14410) 2022-05-17 10:03:12 +02:00
Delyan Angelov ff02e5667b
checker: add a suggestion for misspelled mod.const_name + a test 2022-05-17 10:03:12 +02:00
Delyan Angelov baf72a7459
tests: simplify cmd/tools/modules/testing/common.v 2022-05-17 10:03:12 +02:00
Ben 6a87650935
os: fix is_abs_path function for Windows systems (#14397) 2022-05-17 10:03:12 +02:00
yuyi 689f3f7128
fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413) 2022-05-17 10:03:12 +02:00
Larpon cf2f34cf3f
ftp: document all public methods (#14408) 2022-05-17 10:03:12 +02:00
Jah-On cd43bae0b4
clipboard: add `[heap]` tag to the Clipboard structs (#14412) 2022-05-17 10:03:12 +02:00
WoodyAtHome 8ce7860e8a
net.openssl: read doesn't block infinitely (#14406) 2022-05-17 10:03:11 +02:00
spaceface ec2346d45c
checker,gen: allow using methods as function pointers (#14407) 2022-05-17 10:03:11 +02:00
Delyan Angelov a133f038bd
sync: only run channel_select_test.v when VTEST_RUN_FLAKY=1 2022-05-17 10:03:11 +02:00
crthpl 82018034ef
checker,cgen: fix if expressions in lock expression (#14384) 2022-05-17 10:03:11 +02:00
David 'Epper' Marshall fd17b62ea6
time: fix calculate_date_from_offset (#14399) 2022-05-17 10:03:11 +02:00
Delyan Angelov 771ec47a04
ci: simplify ci_sanitized.yml again; use `v.exe fmt -verify vlib/builtin` for windows/msvc instead of `v test-cleancode` 2022-05-17 10:03:11 +02:00
Delyan Angelov 3f2bb98152
ci: add a skip list in compiler_test.v (for tmpl_parse_html.vv) 2022-05-17 10:03:11 +02:00
Delyan Angelov 4f1f764485
ci: restore .github/workflows/ to its state at cee7856, when all checks were done 2022-05-17 10:03:11 +02:00
Larpon 7492907e77
examples: fix 2048 scaling on Android (#14380) 2022-05-17 10:03:11 +02:00
David 'Epper' Marshall 153b095518
math: cbrt fix (#14395) 2022-05-17 10:03:11 +02:00
Delyan Angelov 46ee0ff572
ci: further cleanup of ci_sanitized.yml 2022-05-17 10:03:11 +02:00
Delyan Angelov 1f6849e89c
ci: simplify ci_sanitized.yml 2022-05-17 10:03:10 +02:00
yuyi f983dd8a95
cgen: fix appending struct to interface array (#14388) 2022-05-17 10:03:10 +02:00
Alexander Medvednikov 5a427907d5
tmpl: fix a test 2022-05-17 10:03:10 +02:00
Alexander Medvednikov 58c54a5c05
vweb: simplify @foo by removing V_TEMPLATE rule 2022-05-17 10:03:10 +02:00
Daniel Däschle c6b0ebe06f
ci: require code to be formatted before everything else (minimise CI queue length) (#14396) 2022-05-17 10:03:10 +02:00
JalonSolov b2f520028f
examples: add missing v.mod file (#14392) 2022-05-17 10:03:10 +02:00
j. redhead 9abaadb690
checker: fix optionals in infix expression check (fix #14354) (#14390) 2022-05-17 10:03:10 +02:00
Delyan Angelov 638b267e4e
ci: add a quick `v test-cleancode` check, before more costlier tasks 2022-05-17 10:03:10 +02:00
Delyan Angelov b74461f255
ci: fix .out regression after d407a64 2022-05-17 10:03:10 +02:00
Delyan Angelov d1b8a67bca
ci: extract v_apps_and_modules_compile.yml 2022-05-17 10:03:10 +02:00
playX b10cf3e0f4
checker: allow to pass alias to array as a pointer (c2v) (#14389)
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
2022-05-13 10:10:40 +02:00
Daniel Däschle efd1597d84
parser: fix dollar (closes #14292) (#14378) 2022-05-13 10:10:40 +02:00
Delyan Angelov 1e750041ee
math.big: reduce memory usage of Integer.str() (free intermediary Integers), optimise some operations using `[direct_array_access]` (#14353) 2022-05-13 10:10:39 +02:00
yuyi 870ed86afc
checker, cgen: fix generic fn with array and fixed array arguments (#14385) 2022-05-13 10:10:39 +02:00
Daniel Däschle 54bbc00493
fmt: remove space in front of ? and ! (#14366) 2022-05-13 10:10:39 +02:00
Delyan Angelov 0866c73f4b
Revert "ci: run `code-formatting` job before everything else (try 2) (#14379)"
This reverts commit 0972e67f72.
2022-05-13 10:10:39 +02:00
Daniel Däschle 9501866b17
ci: run `code-formatting` job before everything else (try 2) (#14379) 2022-05-13 10:10:39 +02:00
Delyan Angelov 76e759b7fd
ci: run `v fmt -w vlib/v/checker/fn.v` (fix CI regression after 4952967) 2022-05-13 10:10:39 +02:00
Delyan Angelov b9ee4204df
parser: make script mode errors more informative, when a top level declaration is encountered, after script mode had already started 2022-05-13 10:10:39 +02:00
Hunam b1b10f48ad
checker: fix typo (#14368) 2022-05-13 10:10:39 +02:00
playX 31453e321a
checker: alias C2V fix (#14377) 2022-05-13 10:10:39 +02:00
yuyi d09c84f46f
checker: check error for generic sumtype types (#14374) 2022-05-13 10:10:39 +02:00