Commit Graph

10927 Commits (6201e78201b1d942a92df559f1914252694c1547)

Author SHA1 Message Date
yuyi 6201e78201
checker: fix generic struct with non-generic interface in generic fn (#11252) 2021-08-20 09:28:26 +03:00
Hualin Song 4fb570522a
json: fix json.decode bug for u64 values greater than 2^31 (#11238) 2021-08-20 09:14:55 +03:00
playX 1570e613b5
math: inf,nan,fmod for the JS backend (#11246) 2021-08-20 01:14:49 +03:00
Benjamin Stigsen 70a658a265
gg: set_pixels() (#11236) 2021-08-20 01:14:25 +03:00
yuyi a440b43630
checker, cgen: fix generic struct with non_generic interface (#11240) 2021-08-20 01:13:48 +03:00
Miccah 2cb0db633d
vweb: use Response struct for 302 response (#11245) 2021-08-20 01:13:36 +03:00
spaceface 67e8031a08
cgen: fix interface parameters in fn type aliases (#11247) 2021-08-20 01:12:31 +03:00
Jordan Liese a9fb24cb5f
vweb: fix missing newline in redirect header string (#11242) 2021-08-19 14:58:57 +03:00
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