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

11550 Commits

Author SHA1 Message Date
3c6356ba36 ci: fix request_test.v (add missing \r to hardcoded post data) 2021-11-10 18:16:15 +02:00
466ced2876 net.http: fix multipart/form-data file upload handling 2021-11-10 17:31:41 +02:00
66e53279c2 toml: check for more wrong line ending cases (#12424) 2021-11-10 15:03:51 +02:00
d5e767f389 checker, cgen: fix alias of map keys() (#12422) 2021-11-10 13:04:59 +02:00
194b3647e2 js,checker: allow casting JS primitives to V primitives and vice-versa (#12420) 2021-11-10 11:37:16 +02:00
6c244d3065 cgen: improve diagnostic for a v compiler panic in dicordv 2021-11-10 08:12:12 +02:00
8f4180ea09 parser: check generic parameters error of generic struct declaration (#12418) 2021-11-09 09:25:57 +02:00
3f841edec1 v.util: make get_vtmp_folder() return /tmp/v_{uid} by default (see https://github.com/vlang/v/discussions/11796) 2021-11-09 08:25:19 +02:00
08667c5645 pref: allow running a .vsh script with just v build.vsh gcc, instead of v run build.vsh gcc (#12409) weekly.2021.45 2021-11-08 15:18:11 +02:00
15242d8082 docs: add description of how to use a custom table name to the ORM example – (#12408) 2021-11-08 12:22:42 +02:00
758c18a906 cgen: fix for in mut val in array.index() (#12410) 2021-11-08 11:12:10 +02:00
1211029926 cgen: avoid generating typedef generic array type (#12407) 2021-11-07 21:24:30 +02:00
c8ff9e39b5 checker: cleanup generic struct init (#12406) 2021-11-07 18:47:38 +02:00
bc98da9111 ast: speed up the frequently called methods .find_field, .find_method etc 2021-11-07 18:07:04 +02:00
9ec1262734 ast: fix generic nested struct init (#12405) 2021-11-07 17:06:37 +02:00
1c12186701 v.token,ast,scanner,parser: use a KeywordsMatcher lookup for builtin_type_names searches too 2021-11-07 16:39:40 +02:00
80242c8041 builtin,ast: apply small performance improvements, suggested by hotspot 2021-11-07 13:30:44 +02:00
d8f971ffb5 jsdom: add Path2D API, All CanvasRenderingContext2D methods (except image methods) (#12404) 2021-11-07 10:06:28 +02:00
852d85b3a9 gg: cleanup the minimal gg program more 2021-11-07 09:16:49 +02:00
32b74dd348 gg: simplify the minimal gg application even more with context.user_data = context 2021-11-06 18:24:19 +02:00
8be64ef80e gg: improve font loading diagnostics with -d debug_font 2021-11-06 17:15:17 +02:00
5f3dcde358 jsdom,builtin: add all methods for DOMMatrix; add conversion methods to convet from/to JS types (#12395) 2021-11-06 15:52:24 +02:00
7a9ba9f41f ci: pin burntsushi/toml-test to their latest master for now 2021-11-06 15:47:49 +02:00
d2d67e9f4d toml: add new inline-table duplicate-key test to skip list (#12399) 2021-11-06 15:19:40 +02:00
9b00564d98 toml: panic if access fails to a key that was checked (#12384) 2021-11-05 14:14:50 +02:00
24cd619ff8 toml: fix parsing array of tables (#12388) 2021-11-05 12:08:40 +02:00
db65b65f3c toml: disallow spacing between (array of tables) key syntax (#12382) 2021-11-05 11:29:25 +02:00
c3b389cde9 toml: rename sub_key -> dotted_key (#12383) 2021-11-05 11:28:54 +02:00
b963aff8e8 vast: update to latest V (#12387) 2021-11-04 19:57:51 +02:00
7ea57bfa1e builtin: make map.keys() public 2021-11-04 19:09:37 +03:00
ace9444108 checker: more c2v fixes 2021-11-04 18:43:02 +03:00
1999fb9a95 toml: remove some skipped tests related to recent formatting update (#12380) 2021-11-04 14:27:14 +02:00
fc7f4c5b1f toml: disallow multiline keys (#12381) 2021-11-04 14:26:25 +02:00
59e21c2068 cgen: fix array of threads wait (fix #12350) (#12378) 2021-11-04 14:24:58 +02:00
73e25ccb3c checker: check generic struct field fn args type mismatch (#12379) 2021-11-04 10:18:36 +02:00
a27833ed0d all: support volatile field Type in struct declarations 2021-11-04 09:45:50 +02:00
1a54817c81 toml: parse formatting (#12374) 2021-11-04 09:15:50 +02:00
2b4154910c jsdom, checker: add more methods for CanvasRenderingContext2D, fix interop check for JS methods (#12372) 2021-11-03 16:54:28 +02:00
c4e282a0c8 parser: check fn args in declarations too with -Wimpure-v
`v -Wimpure-v examples/2048/` now passes cleanly.
2021-11-03 16:20:24 +02:00
4bafc5042b checker: check generic struct field fn args error (#12373) 2021-11-03 10:20:39 +02:00
45c938bdec toml: streamline scanner.at() return type, fixes #12344 (#12370) 2021-11-03 10:18:09 +02:00
bd5e2db460 toml: add Parser.peek(n) method (#12369) 2021-11-03 10:15:40 +02:00
99fd84dfe4 toml: fix hex values starting with a, e or E and comments ending with crlf (#12367) 2021-11-02 19:07:27 +02:00
3fdbfca202 cgen: fix for in with mutable structs (#12368) 2021-11-02 18:40:13 +03:00
639cbfa0d1 checker: fix generics with assign nested generic fn call (#12366) weekly.2021.44 2021-11-02 10:12:26 +02:00
0952af606c checker: fix comptime if T is interface (#12365) 2021-11-02 09:35:01 +02:00
4ed6fb0e9b tools: cleanup a dump() from vwatch.v 2021-11-02 09:29:12 +02:00
1d1793ec34 fmt: correctly format segment offsets (#12364) 2021-11-02 08:04:41 +02:00
9aba00cd08 doc: update github link to libsodium (#12360) 2021-11-02 03:35:54 +03:00
dcf230ca24 checker: fix nested generic method call (#12353) 2021-11-01 15:41:54 +03:00