Commit Graph

12853 Commits (8824f5f103873ea7e9ceefd259783cfa349a3c79)

Author SHA1 Message Date
yuyi 8824f5f103
checker: check map builtin method's arguments (#14120) 2022-04-25 19:07:26 +02:00
Delyan Angelov 9d764cd25e
ci: enable again the `v install ui` task
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-04-21 10:35:00 +02:00
StunxFS 4dd35da9b0
tools: minor cleanup in fast.v (#14117) 2022-04-21 10:35:00 +02:00
ChAoS_UnItY 73260c6fc0
checker, cgen: allow static (fixed) arrays in `in` operator (#14121) 2022-04-21 10:35:00 +02:00
Delyan Angelov 80c278222c
ci: temporarily use `git clone https://github.com/vlang/xyz ~/.vmodules/xyz` instead of `v install xyz` 2022-04-21 10:35:00 +02:00
sunnylcw 864a4ffa6c
doc: add link to V's standard library documentation at the start (#14114) 2022-04-21 10:35:00 +02:00
Delyan Angelov 13e2d73339
bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111) 2022-04-21 10:34:58 +02:00
lemon 262ec40851
builtin: fix `-cc gcc -gc boehm` on linux and macos (#14115) 2022-04-21 10:34:34 +02:00
Nick Treleaven 47ae5a93d4
builtin: remove unnecessary casts for defunct small unsigned warning (#14108) 2022-04-21 10:34:34 +02:00
yuyi 1a76b50004
checker: minor cleanup in assign_stmt() (#14107) 2022-04-21 10:34:34 +02:00
Hunam 1e42538e22
os: small cleanup of function description (#14112) 2022-04-21 10:34:34 +02:00
mjh 43e810024c
datatypes: fix bst child access, when .root is 0 (#14080) 2022-04-21 10:34:34 +02:00
Larpon 1cb4fe5a0a
os: add info about overwritten content to `write_file` (#14109) 2022-04-21 10:34:34 +02:00
yuyi 5ec0820332
ast: minor cleanup of types.v (#14103) 2022-04-21 10:34:34 +02:00
yuyi 81a178ee8d
checker, cgen: use 'stmts.last()' instead of 'stmts[stmts.len - 1]' (#14105) 2022-04-21 10:34:34 +02:00
yuyi 9abf3a62c0
checker: fix error for fn with multi return (#14095) 2022-04-21 10:34:34 +02:00
yuyi f7dbbba7ae
checker: fix error for assign array of aliases (#14096) 2022-04-21 10:34:33 +02:00
Alexander Medvednikov fac15fb862
builtin: define C.abs() 2022-04-21 10:34:33 +02:00
Isaiah ae3906141d
vpm: fix get_all_modules() (#14097) 2022-04-21 10:34:33 +02:00
yuyi 9c7da323f1
checker: check error for arguments of array.contains() (#14102) 2022-04-21 10:34:33 +02:00
playX 9c9b50933c
v.util: add math to builtin_module_names (temporary fix for C2V) (#14100) 2022-04-21 10:34:33 +02:00
playX 0065dba88a
checker: c2v fixes (#14091) 2022-04-21 10:34:33 +02:00
Delyan Angelov f3ce968124
sync: use #insert for atomic.h, so that bootstrapping can be simplified 2022-04-21 10:34:33 +02:00
Delyan Angelov b03aa06152
checker, cgen: add support for #insert, to simplify bootstrapping V 2022-04-21 10:34:33 +02:00
JalonSolov 43efdd464e
checker: fix error message when number of generic parameters is incorrect (#14090) 2022-04-21 10:34:33 +02:00
Jef Roosens 32d7ae7835
Made publish curl's failable
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-04-19 12:42:44 +02:00
yuyi 168531d4e0
examples: fix optional in string interpolation and format error (#14079) 2022-04-19 12:42:44 +02:00
yuyi 1660be910d
token: minor cleanup of token.v (#14083) 2022-04-19 12:42:44 +02:00
yuyi 33005becf1
checker: check fn return type mismatch (#14081) 2022-04-19 12:42:44 +02:00
Nick Treleaven f291e5fdd8
checker: Revert part of small_unsigned == signed (#13967) (#14075)
`gcc -W` doesn't error for e.g. u16 == i32, only for u32 == i16.
Any u16 value can fit in an i32.
2022-04-19 12:42:43 +02:00
yuyi 898167f986
checker: check error for fn decl with optional arguments (#14076) 2022-04-19 12:42:43 +02:00
yuyi 77593d6c68
cgen: minor cleanup of infix_expr.v (#14070) 2022-04-19 12:42:43 +02:00
Delyan Angelov cc3740fda6
ci: update windows-install-sqlite.bat to latest sqlite 2022-04-19 12:42:43 +02:00
yuyi 0d4d4ffc2d
ast, checker, cgen: fix aggregations type check (#14066) 2022-04-19 12:42:43 +02:00
spaceface 090a9755db
builtin: compile the gc statically by default (#14063) 2022-04-19 12:42:43 +02:00
Jef Roosens 761ed28bb4
Fixed typo in ci config [CI SKIP] 2022-04-18 10:28:04 +02:00
Jef Roosens 07cab64d12
Added PKGBUILD & CI step for deploying packages
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-04-18 10:27:07 +02:00
Jef Roosens 92ad025d40
Corrected GNUmakefile as well [CI SKIP] 2022-04-17 18:31:46 +02:00
Jef Roosens 38cceeafe5
Verify ssh keys; stop building for armv7
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-04-17 18:05:06 +02:00
Jef Roosens 56597ba354
Please just work
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 18:01:01 +02:00
Jef Roosens 01b9d033d8
Perhaps some more quoting issues
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:54:48 +02:00
Jef Roosens 5833d5e9c2
Clone using ssh url instead
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:49:25 +02:00
Jef Roosens 1529b6a3f6
Merged build & gen-vc
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:46:16 +02:00
Jef Roosens 18ef6e4a31
Main instead of master
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:43:54 +02:00
Jef Roosens 31ff4c32ed
Commit to awake ci
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:38:51 +02:00
Jef Roosens a05a3a9fdb
Some more quoting 2022-04-17 17:35:30 +02:00
Jef Roosens 31566d784c
Once again, we need git
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:31:07 +02:00
Jef Roosens f23e273f3d
Why is git not in build-essential gosh
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:29:32 +02:00
Jef Roosens 5618916a67
Install build-essential for compiler build
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:28:39 +02:00
Jef Roosens d0d1f60c7f
Perhaps quote the square brackets?
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-04-17 17:26:12 +02:00