Commit Graph

11342 Commits (9fabf9f20ca327a5fdc048d817ed6d5bb952cafc)

Author SHA1 Message Date
yuyi 8521e227b4
cgen: fix if expr of multi stmts (#11208) 2021-08-16 21:48:58 +03:00
Delyan Angelov 405ed584a1
v.vmod: return errors instead of panic-ing 2021-08-16 16:54:41 +03:00
Louis Schmieder 0d30667ab5
orm: fix orm unique lists (#11198) 2021-08-16 14:59:23 +03:00
Louis Schmieder 482eecbc13
cgen: fix comptime selector reserved field names (#11199) 2021-08-16 14:58:23 +03:00
Leo Developer b417d3c043
v.readline: fix key delete panic'king on linux (#11204) 2021-08-16 12:28:40 +03:00
Miccah d235de63e2
math: add egcd function implementing the extended Euclidean algorithm (#11203) 2021-08-16 11:49:50 +03:00
yuyi 90b052b1db
v.gen.c: fix error of if_expr in infix_expr (#11200) 2021-08-16 11:23:19 +03:00
Delyan Angelov d7490abe19
ci: fix binary_artifact.yml 2 2021-08-16 11:20:39 +03:00
Delyan Angelov 9aa84082fd
cleanup binary_artifact.yml, remove failing build-linux-arm64 job 2021-08-16 11:13:50 +03:00
Delyan Angelov f8d6fe7a8b
ci: skip running `fast` on FreeBSD 13 for now 2021-08-16 10:13:44 +03:00
Delyan Angelov 46ede3fb98
v check-md: reduce false positives for too long lines in various cases (real problems are easier to spot now) 2021-08-16 10:12:29 +03:00
Delyan Angelov e28dc0489d
ci: fix `./v check-md README.md` 2021-08-16 08:37:13 +03:00
Alexander Medvednikov e09d3eef5f tools/fast: fix uploading 2021-08-16 08:33:53 +03:00
Alexander Medvednikov 22b1fca793 tools/fast: minor fixes 2021-08-16 08:26:50 +03:00
Alexander Medvednikov 20ca038a56 ci: build hello world with -usecache 2021-08-16 06:42:43 +03:00
Alexander Medvednikov fadfc3b457 gg: format a line 2021-08-16 06:36:23 +03:00
Alexander Medvednikov 7f2d6b779d
readme: add a link to vinix 2021-08-16 06:35:26 +03:00
Alexander Medvednikov 58999423b7
readme: add vinix info 2021-08-16 06:34:13 +03:00
Alexander Medvednikov 765759817d ci: run fast.v with clang on freebsd 2021-08-16 06:30:35 +03:00
Alexander Medvednikov eb1ac5b30d time: use i64 in unix() 2021-08-16 06:28:54 +03:00
Lukas Neubert 1c847e04c8
fmt: fix malformed import for incorrect module lookup paths (#11192) 2021-08-16 05:15:32 +03:00
Miccah 60f21f065f
encoding.hex: remove strconv dependency (#11196) 2021-08-16 04:59:21 +03:00
Benjamin Stigsen 022503a107
gg: fix top left corner pixel not being drawn (#11202) 2021-08-16 04:59:05 +03:00
Miccah ea4f6fd48f
encoding: add a hex sub-module (#11193) 2021-08-15 21:42:51 +03:00
playX 4cde618582
js: fix builtin casts & global declarations with no initializer (#11187) 2021-08-15 18:10:06 +03:00
playX 659f823c5c
js: initial work on porting rand module to JS backend (#11188) 2021-08-15 18:09:51 +03:00
Delyan Angelov 6ee77724e8
cmd/tools/gen1m.v: fix unused variable warnings in 1m.v 2021-08-15 16:04:45 +03:00
Delyan Angelov 0be20f1556
v.pref: keep the -error-limit option for now too 2021-08-15 13:46:50 +03:00
Leo Developer b3094b0667
checker: abort prematurely on too many errors (#11185) 2021-08-15 13:41:51 +03:00
Delyan Angelov 6bc44acc70
Revert "ci: cleanup .cirrus.yml"
This reverts commit c26d82cc1a.
2021-08-15 12:22:36 +03:00
Delyan Angelov c26d82cc1a
ci: cleanup .cirrus.yml 2021-08-15 12:20:43 +03:00
Delyan Angelov 5da13ac5b1
ci: do not run fast on the FreeBSD runner for now 2021-08-15 12:11:52 +03:00
Delyan Angelov 344f13d6de
ci: cleanup .cirrus.yml 2021-08-15 12:03:09 +03:00
Delyan Angelov e0451c5b33
cmd/tools/fast/fast.v: use clang instead of tcc on the cirrus ci build ¯\_(ツ)_/¯ ... 2021-08-15 12:00:51 +03:00
Delyan Angelov 1a5c4b18ec
cmd/tools/fast/fast.v: do not use -no-std and -no-rsp anymore (tcc is the most recent on the CI runner now) 2021-08-15 11:52:11 +03:00
Delyan Angelov e64a9fa592
freebsd_build_tcc.sh: use an explicit --cc=clang 2021-08-15 11:43:25 +03:00
Delyan Angelov 3c553f16ed
ci: use gmake in freebsd_build_tcc.sh 2021-08-15 11:32:40 +03:00
Delyan Angelov d4af86738b
ci: try using freebsd_build_tcc.sh again on the FreeBSD runner 2021-08-15 11:27:45 +03:00
Delyan Angelov 0dde8ab0e5
cmd/tools/fast/fast.v: use -no-std for tcc too 2021-08-15 11:21:25 +03:00
Delyan Angelov 6843b85063
ci: fix `clang -std=c99 -D_DEFAULT_SOURCE -o v vc/v.c` warnings 2021-08-15 11:12:48 +03:00
Delyan Angelov eef7eea7bc
v.pref, v.builder: support `-no-std` (skips passing `-std=c99` to the C backend) 2021-08-15 11:05:06 +03:00
Delyan Angelov b1186cca3f
cmd/tools/fast/fast.v: use -no-rsp for tcc (which may be much older on freebsd) 2021-08-15 10:47:44 +03:00
Delyan Angelov f7cbcc241a
v.pref, v.builder: support `-no-rsp` (pass C options directly to the C compiler backend, without writing response files) 2021-08-15 10:47:44 +03:00
Delyan Angelov 7494d7f6c7
ci: just rely on the freebsd's tcc being recent enough :-| 2021-08-15 10:06:04 +03:00
Delyan Angelov 1e7c9ad8d0
ci: do use freebsd_build_tcc.sh on the freebsd runner 2021-08-15 09:59:24 +03:00
Delyan Angelov 15eff279f4
ci: fix .cirrus.yml (tab => spaces) 2021-08-15 09:51:42 +03:00
Delyan Angelov e3bd793f43
ci: add a script to install tcc from source on freebsd so it can be run the freebsd job 2021-08-15 09:49:56 +03:00
Delyan Angelov c225bb8465
ci: install tcc on the freebsd runner too 2021-08-15 09:38:34 +03:00
Alexander Medvednikov e6d79f2fa7 ci: run fast.v on freebsd 2021-08-15 09:27:17 +03:00
Alexander Medvednikov f1244bd7f1 ci: do not upload fast.v results 2021-08-15 09:22:01 +03:00