1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

8080 Commits

Author SHA1 Message Date
09df5adbdd builtin: re-gen v.c 2021-07-29 06:45:04 +03:00
1343ec7444 builtin: fix temporary u8 alias 2021-07-29 06:42:22 +03:00
0b9b80e0c9 cgen: register u8 2021-07-29 05:02:13 +03:00
628498e0dc table: register u8 type 2021-07-29 05:00:03 +03:00
a7270148e5 builtin: remove u8 alias to re-generate v.c 2021-07-28 22:41:41 +03:00
65126efdc3 builtin: remove u8 for now 2021-07-28 22:36:04 +03:00
d25bd95a0e v: support -show-depgraph in addition to -show-callgraph 2021-07-28 16:42:11 +03:00
e3cf95b058 js: add more tests for array, support array insert_many, minor fixes for references (#10983) 2021-07-28 13:01:00 +03:00
66bc8bc0cb vlib: remove many deprecated functions (#10972) 2021-07-28 09:22:19 +03:00
9f4431544d checker: fix typo in selector_expr() (#10977) 2021-07-28 08:28:55 +03:00
45ad48d76a cgen: properly handle initialization expression for globals (#10981) 2021-07-28 08:11:55 +03:00
8eb544146e os: fix building V on Haiku 2021-07-27 20:28:04 +03:00
abd17ddb6a cgen: initialize globals with default initializer when none is given. (#10979) 2021-07-27 20:14:30 +03:00
a56f579e0d Revert "cgen: define new u8 type"
This reverts commit b7f2adb69c.
2021-07-27 19:38:48 +03:00
b7f2adb69c cgen: define new u8 type 2021-07-27 19:07:47 +03:00
ef0161c233 v.markused: handle compiling vweb, -live and orm example programs 2021-07-27 15:50:42 +03:00
e98817e5ce sync: only release semaphore in WaitGroup when there are waiters (#10967) 2021-07-27 15:49:51 +03:00
b0a721b2ec js: draft support for compiling -b js x_test.v 2021-07-27 13:49:47 +03:00
6e0c9f637d v.markused: support import json programs too 2021-07-27 13:00:07 +03:00
6134c4870b v.util: extract v.util.version, use it to speed up building v repl, v up and v doctor 2021-07-27 12:59:56 +03:00
cb7be87d4e parser: fix struct init and assign using sql variable (#10968) 2021-07-26 21:14:31 +03:00
79c7aed3c2 gg: allow easily detecting the edges of key_down keyboard events 2021-07-26 18:39:59 +03:00
0d12d55295 gg: allow customisation of the image format in gg.new_streaming_image 2021-07-26 11:05:16 +03:00
4cf91a28f6 checker: fix generics interface with multi generic types (#10964) 2021-07-26 08:54:57 +03:00
b666482d84 ci: fix the vinix-build job 2021-07-26 08:50:05 +03:00
b44f81528f v.gen.c: fix codegen for const a = u64(5) + 5 2021-07-26 08:06:59 +03:00
db5e0f2117 v.gen.c: fix cgen regression after f457b94 (prevented vinix builds), add tests 2021-07-25 23:31:23 +03:00
6438099644 builtin: fix building vinix (missing C.strerror) 2021-07-25 23:31:22 +03:00
e4e6c90292 zip: read in memory (#10960) 2021-07-25 21:29:51 +03:00
684c10af1f json: support for a [required] field attribute (#10955) 2021-07-25 17:27:37 +03:00
8a097293a8 sokol: define a pixel color format (#10951) 2021-07-25 17:27:07 +03:00
e246ed9818 cgen: fix VUNREACHABLE on freebsd/tcc 2021-07-25 16:29:05 +03:00
ab20b8c53a cgen: fix generics interface with multi generic structs (#10950) 2021-07-25 15:54:22 +03:00
a6245a56d8 builtin: fix Windows panic message (#10952) 2021-07-25 15:34:48 +03:00
0bcb955258 checker: fix regression of anon fns that have loops with break/continue 2021-07-25 10:46:31 +03:00
55c5b9ce7b cgen: panic with error message when go command fails (#10943) 2021-07-25 01:13:34 +03:00
a09324faa9 scanner: remove pos 0 hack which is no longer needed (#10935) 2021-07-25 01:13:07 +03:00
1943da54a5 orm: integrate psql to orm (#10933) 2021-07-24 20:49:40 +03:00
a0e27d3fd9 net.http: refactor the Response struct (#10922) 2021-07-24 20:47:45 +03:00
3979e5c5ff v.parser: show better position for sort struct init warning (#10939) 2021-07-24 20:41:59 +03:00
3be8ef3b5a checker: check duplicated field and method (only for fields that are anon-fns for now) (#10927) 2021-07-24 16:06:09 +03:00
a621149fc2 builtin: add bdwgc to thirdparty, statically link it on Windows (#10542) 2021-07-24 16:04:26 +03:00
f51fa7e665 v.gen.js: fix references and add iterator to map (#10938) 2021-07-24 15:35:17 +03:00
45a15755b8 v.builder: implement -show-callgraph 2021-07-24 13:32:56 +03:00
c8e671d88c v.pref: support a -show-callgraph option 2021-07-24 13:32:56 +03:00
a4c9aeab14 v.ast.walker: pass nodes by reference 2021-07-24 13:32:56 +03:00
9ffbda3833 v.scanner: improve error diagnostic when scanner's file_path is not a file 2021-07-24 13:32:55 +03:00
b9771ea120 v.checker: small cleanup for incomplete match errors 2021-07-24 13:32:55 +03:00
72c56ccc85 v.builder: use os.write_file/os.write_file_array for writing full files to disk. 2021-07-24 13:32:55 +03:00
0acb84d5a5 net: add parse_headers function and handle header line folding (#10936)
Closes https://github.com/vlang/v/issues/10930
2021-07-24 11:31:33 +03:00