Commit Graph

10969 Commits (a85467eb0f711a7b06dd5ad60327904ab2ddc664)

Author SHA1 Message Date
Miccah 6991a3c8d5
net.http: add graceful shutdown .stop() method to the http.Server struct (#11233) 2021-08-19 11:19:49 +03:00
Leo Developer 7bffabbce2
vdoc: add `-comments` and new comment merger (#11221) 2021-08-19 10:20:43 +03:00
Alexander Medvednikov 337c325109 roadmap: remove fn == 0 2021-08-19 08:19:26 +03:00
Delyan Angelov fe08e1c504
strings: add Builder.write_rune/1 and Builder.write_runes/1 methods 2021-08-19 07:18:09 +03:00
Alexander Medvednikov 26b77515b9 builtin: optimize []rune.string() 2021-08-19 06:58:53 +03:00
Delyan Angelov 0cbc77d881
Revert "vpm: support `v install ui https://github.com/vlang/markdown` (git urls by default), cleanup vpm.v (#11189)"
This reverts commit eee71cebd4.
2021-08-18 18:58:24 +03:00
Stefan Schroeder 6983f74a9d
example: add an animated analog clock (#11231) 2021-08-18 17:40:20 +03:00
yuyi 3d22dc1608
all: fix formating Foo<A,B> to Foo<A, B> (#11225) 2021-08-18 17:17:21 +03:00
div72 881510e7ce
cgen: fix enum print (#11218) 2021-08-18 17:11:12 +03:00
div72 2bf1015ae1
os: add File.read_into_ptr (#11219) 2021-08-18 17:08:41 +03:00
JalonSolov b3c641f7d5
time: use `&C.time_t` instead of `&time_t` in C fn declaration (#11232) 2021-08-18 17:05:43 +03:00
spaceface d2ce1f74d6
ast.table: fix aggregate field type equality check (#11210) 2021-08-18 14:09:54 +03:00
mahdi ramezaan zaade eee71cebd4
vpm: support `v install ui https://github.com/vlang/markdown` (git urls by default), cleanup vpm.v (#11189) 2021-08-18 14:05:10 +03:00
yuyi e07678d6f3
checker: check using redundant parentheses (#11228) 2021-08-18 13:49:50 +03:00
spaceface 09e854c064
cgen: small interface conversion fix (#11229) 2021-08-18 13:47:57 +03:00
Delyan Angelov 7a3fe3ca70
ci: enable again `./fast -clang` in .cirrus.yml (it should work now in FreeBSD 13) 2021-08-18 13:10:12 +03:00
Delyan Angelov 9ca99c6f93
v.builder: add `-Wl,--allow-multiple-definition` when targeting FreeBSD 2021-08-18 12:57:44 +03:00
playX 0121c8b4fd
v.gen.js: fix method calls and other codegen parts, rand module compiles (#11205) 2021-08-18 11:33:37 +03:00
yuyi c51f83efba
checker: fix match expr type mismatch (#11220) 2021-08-18 08:52:01 +03:00
JalonSolov 1dee4f25fd
vweb: add more common mime types (#11226) 2021-08-18 08:51:18 +03:00
spaceface 7d9969ac17
all: support runtime interface conversions (#11212) 2021-08-17 21:00:27 +03:00
spaceface 7c9a1defa4
fmt: preserve method receiver mutability in interface decls (#11222) 2021-08-17 19:39:53 +03:00
Delyan Angelov f96b81b53a
ci: fix failing vweb_test.v 2021-08-17 18:57:04 +03:00
yuyi e1c762a616
cgen: fix assert fn_call with parentheses (fix #11207) (#11214) 2021-08-17 18:21:15 +03:00
Alexander Medvednikov f8174c381c net.http: simplify fetch() 2021-08-17 09:17:03 +03:00
Miccah 19abe8c750
math.big: add from_bytes function (#11213) 2021-08-17 09:12:39 +03:00
pancake 90b25e7a4b
os: filesystem level locking api (#11191) 2021-08-17 08:21:33 +03:00
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