Commit Graph

8227 Commits (d78e7e3b2b7f9a040360fa1932ce0be916b78b63)

Author SHA1 Message Date
playX d78e7e3b2b
js: codegen fixes, W.I.P `os` availability for JS backend () 2021-08-23 14:25:02 +03:00
Benjamin Stigsen 76205cff2b
gg: add scaling to draw_convex_poly () 2021-08-23 13:38:29 +03:00
Miccah 51d7aede68
net.http: render each header value on a newline () 2021-08-23 00:38:09 +03:00
Benjamin Stigsen 352df873d5
gg: add scaling to draw_empty_poly() () 2021-08-23 00:37:20 +03:00
Ulises Jeremias Cornejo Fandos 1cfc4198f5
vlib/math: Add a pure V backend for vlib/math () 2021-08-23 00:35:28 +03:00
playX dd486bb0fb
js: match support () 2021-08-22 19:36:49 +03:00
yuyi b80777df4b
table: fix alias of sumtype method_call () 2021-08-22 17:20:10 +03:00
Delyan Angelov ec196cfcd1
all: support overriding individual function from .v files in .c.v or .js.v files. 2021-08-22 15:51:26 +03:00
Simon ed06c47a51
net: remove sockets if they already exists () 2021-08-22 13:38:02 +03:00
yuyi 2e28c9a4d6
checker: remove a duplicate check () 2021-08-22 12:09:14 +03:00
penguindark fde934cd93
builtin: optimize hex() () 2021-08-22 11:10:24 +03:00
playX 2f6b2dd189
js: math.big support, f{32,64}_bits,from_bits support, typeof(expr).name support () 2021-08-21 17:18:57 +03:00
yuyi 0d81d0c0c6
table, checker: fix sumtype array appending aggregate type values (fix ) () 2021-08-21 17:18:01 +03:00
pancake 02d823fa6e
v.gen.native: support infinite loops `for {}` in amd64 and arm64 () 2021-08-20 14:23:15 +03:00
pancake 82b16453e4
v.gen.native: improve error messages for unsupported features () 2021-08-20 14:21:05 +03:00
Alexander Medvednikov c9d6242c6d json: top level array test 2021-08-20 11:41:09 +03:00
yuyi e87cf8bac6
checker: cleanup checker.v () 2021-08-20 10:25:16 +03:00
yuyi 6201e78201
checker: fix generic struct with non-generic interface in generic fn () 2021-08-20 09:28:26 +03:00
Hualin Song 4fb570522a
json: fix json.decode bug for u64 values greater than 2^31 () 2021-08-20 09:14:55 +03:00
playX 1570e613b5
math: inf,nan,fmod for the JS backend () 2021-08-20 01:14:49 +03:00
Benjamin Stigsen 70a658a265
gg: set_pixels() () 2021-08-20 01:14:25 +03:00
yuyi a440b43630
checker, cgen: fix generic struct with non_generic interface () 2021-08-20 01:13:48 +03:00
Miccah 2cb0db633d
vweb: use Response struct for 302 response () 2021-08-20 01:13:36 +03:00
spaceface 67e8031a08
cgen: fix interface parameters in fn type aliases () 2021-08-20 01:12:31 +03:00
Jordan Liese a9fb24cb5f
vweb: fix missing newline in redirect header string () 2021-08-19 14:58:57 +03:00
Miccah 6991a3c8d5
net.http: add graceful shutdown .stop() method to the http.Server struct () 2021-08-19 11:19:49 +03:00
Leo Developer 7bffabbce2
vdoc: add `-comments` and new comment merger () 2021-08-19 10:20:43 +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
yuyi 3d22dc1608
all: fix formating Foo<A,B> to Foo<A, B> () 2021-08-18 17:17:21 +03:00
div72 881510e7ce
cgen: fix enum print () 2021-08-18 17:11:12 +03:00
div72 2bf1015ae1
os: add File.read_into_ptr () 2021-08-18 17:08:41 +03:00
JalonSolov b3c641f7d5
time: use `&C.time_t` instead of `&time_t` in C fn declaration () 2021-08-18 17:05:43 +03:00
spaceface d2ce1f74d6
ast.table: fix aggregate field type equality check () 2021-08-18 14:09:54 +03:00
yuyi e07678d6f3
checker: check using redundant parentheses () 2021-08-18 13:49:50 +03:00
spaceface 09e854c064
cgen: small interface conversion fix () 2021-08-18 13:47:57 +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 () 2021-08-18 11:33:37 +03:00
yuyi c51f83efba
checker: fix match expr type mismatch () 2021-08-18 08:52:01 +03:00
JalonSolov 1dee4f25fd
vweb: add more common mime types () 2021-08-18 08:51:18 +03:00
spaceface 7d9969ac17
all: support runtime interface conversions () 2021-08-17 21:00:27 +03:00
spaceface 7c9a1defa4
fmt: preserve method receiver mutability in interface decls () 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 ) () 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 () 2021-08-17 09:12:39 +03:00
pancake 90b25e7a4b
os: filesystem level locking api () 2021-08-17 08:21:33 +03:00
yuyi 8521e227b4
cgen: fix if expr of multi stmts () 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 () 2021-08-16 14:59:23 +03:00