Commit Graph

13074 Commits (ff02e5667b35e2cf7d9f5dce3843df1da8bcc4a9)

Author SHA1 Message Date
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
penguindark 4eb5aacd20
regex: fix #14370, last IST not managed in advance tests (#14372) 2022-05-13 10:10:38 +02:00
Delyan Angelov f77085e34f
checker: fix a compiler panic on `fntest()?(&int,&int){return test()?}` 2022-05-13 10:10:38 +02:00
yuyi 49d57dfccd
rand: minor cleanup in choose() (#14376) 2022-05-13 10:10:38 +02:00
yuyi a8dceb74ec
checker: check error for cast function to string (#14375) 2022-05-13 10:10:38 +02:00
CC a91bd5a5bb
builtin: add a map.clear() method (#14373) 2022-05-13 10:10:38 +02:00
spaceface 1bde8611f0
gen: make the closure implementation more performant (#14352) 2022-05-13 10:10:38 +02:00
Emily Hudson 50ab19d136
net: select with deadlines (#14369) 2022-05-13 10:10:38 +02:00
yuyi d2eef45612
checker: check generic sumtype declare error (#14367) 2022-05-13 10:10:38 +02:00
Larpon d8531717d1
os: add `raw_execute` on Windows (#14363) 2022-05-13 10:10:38 +02:00
David 'Epper' Marshall 66e61d771e
time: update doc comments (#14359) 2022-05-13 10:10:38 +02:00
Larpon b42e897a5d
szip: expose zip_folder (#14356) 2022-05-13 10:10:38 +02:00