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

11631 Commits

Author SHA1 Message Date
Delyan Angelov
32b74dd348
gg: simplify the minimal gg application even more with context.user_data = context 2021-11-06 18:24:19 +02:00
Delyan Angelov
8be64ef80e
gg: improve font loading diagnostics with -d debug_font 2021-11-06 17:15:17 +02:00
playX
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
Delyan Angelov
7a9ba9f41f
ci: pin burntsushi/toml-test to their latest master for now 2021-11-06 15:47:49 +02:00
Larpon
d2d67e9f4d
toml: add new inline-table duplicate-key test to skip list (#12399) 2021-11-06 15:19:40 +02:00
Larpon
9b00564d98
toml: panic if access fails to a key that was checked (#12384) 2021-11-05 14:14:50 +02:00
Larpon
24cd619ff8
toml: fix parsing array of tables (#12388) 2021-11-05 12:08:40 +02:00
Larpon
db65b65f3c
toml: disallow spacing between (array of tables) key syntax (#12382) 2021-11-05 11:29:25 +02:00
Larpon
c3b389cde9
toml: rename sub_key -> dotted_key (#12383) 2021-11-05 11:28:54 +02:00
lydiandy
b963aff8e8
vast: update to latest V (#12387) 2021-11-04 19:57:51 +02:00
Alexander Medvednikov
7ea57bfa1e builtin: make map.keys() public 2021-11-04 19:09:37 +03:00
Alexander Medvednikov
ace9444108 checker: more c2v fixes 2021-11-04 18:43:02 +03:00
Larpon
1999fb9a95
toml: remove some skipped tests related to recent formatting update (#12380) 2021-11-04 14:27:14 +02:00
Larpon
fc7f4c5b1f
toml: disallow multiline keys (#12381) 2021-11-04 14:26:25 +02:00
yuyi
59e21c2068
cgen: fix array of threads wait (fix #12350) (#12378) 2021-11-04 14:24:58 +02:00
yuyi
73e25ccb3c
checker: check generic struct field fn args type mismatch (#12379) 2021-11-04 10:18:36 +02:00
Delyan Angelov
a27833ed0d
all: support volatile field Type in struct declarations 2021-11-04 09:45:50 +02:00
Larpon
1a54817c81
toml: parse formatting (#12374) 2021-11-04 09:15:50 +02:00
playX
2b4154910c
jsdom, checker: add more methods for CanvasRenderingContext2D, fix interop check for JS methods (#12372) 2021-11-03 16:54:28 +02:00
Delyan Angelov
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
yuyi
4bafc5042b
checker: check generic struct field fn args error (#12373) 2021-11-03 10:20:39 +02:00
Larpon
45c938bdec
toml: streamline scanner.at() return type, fixes #12344 (#12370) 2021-11-03 10:18:09 +02:00
Larpon
bd5e2db460
toml: add Parser.peek(n) method (#12369) 2021-11-03 10:15:40 +02:00
Larpon
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
yuyi
3fdbfca202
cgen: fix for in with mutable structs (#12368) 2021-11-02 18:40:13 +03:00
yuyi
639cbfa0d1
checker: fix generics with assign nested generic fn call (#12366) 2021-11-02 10:12:26 +02:00
yuyi
0952af606c
checker: fix comptime if T is interface (#12365) 2021-11-02 09:35:01 +02:00
Delyan Angelov
4ed6fb0e9b
tools: cleanup a dump() from vwatch.v 2021-11-02 09:29:12 +02:00
crthpl
1d1793ec34
fmt: correctly format segment offsets (#12364) 2021-11-02 08:04:41 +02:00
Wertzui123
9aba00cd08
doc: update github link to libsodium (#12360) 2021-11-02 03:35:54 +03:00
yuyi
dcf230ca24
checker: fix nested generic method call (#12353) 2021-11-01 15:41:54 +03:00
null
0ab133a563
doc: fix typo (#12357)
changed `submiting` to `submitting`.
2021-11-01 15:41:07 +03:00
yuyi
da65680acf
checker: fix comptime if expr of sync.threads (#12356) 2021-11-01 09:41:04 +02:00
Lucas Jenß
51f5841b6e
checker: do not deref non-pointer types in fn_signature_using_aliases (#12340) 2021-11-01 02:26:15 +03:00
Lucas Jenß
28cada3fd5
docs: fix some typos (#12341) 2021-10-31 14:12:04 +02:00
Delyan Angelov
6937074e7a
strings,builder: reduce V cgen and parser memory consumption, fix strings.Builder leak (#12342) 2021-10-31 12:58:55 +02:00
Miccah
ce9f26c589
examples/vweb: use map instead of string in call to app.json (#12338) 2021-10-31 12:31:49 +02:00
czkz
81b95ece51
docs: improve the docs by provide better examples and describe module publishing (#12308) 2021-10-31 11:32:31 +02:00
Delyan Angelov
579d5ae649
builtin,checker: add array.flags. Allow changing it in unsafe {} blocks 2021-10-31 11:04:56 +02:00
Wertzui123
612e742c1f
examples: remove unneeded workaround (#12336) 2021-10-30 18:49:54 +03:00
Delyan Angelov
a7d4236337
sync,strings,cgen: reduce memory consumption in cgen 2021-10-29 22:29:56 +03:00
Xiao
7e0f2fcda9
docs: update VS Code debugger configuration descriptions (#12335) 2021-10-29 18:06:28 +03:00
Delyan Angelov
1785b184b9
readline: improve README.md with working examples 2021-10-29 17:36:17 +03:00
Delyan Angelov
d1acca3e52
ci: fix ./v -cg -cstrict -o v cmd/v job failures for clang 2021-10-29 17:21:53 +03:00
yuyi
d5642b6134
cgen: fix error of nested match expr (#12334) 2021-10-29 17:14:49 +03:00
Delyan Angelov
71392111f8
ci: fix cross compilation of vc/v.c 2021-10-29 17:12:05 +03:00
Delyan Angelov
4c67c01e72
parser,util: improve libleak false positive detection rate 2021-10-29 16:42:55 +03:00
Delyan Angelov
3d800b12e8
scanner: small optimisation of the ident_name hot loop 2021-10-29 16:18:34 +03:00
Delyan Angelov
b86c79329b
os, builtin: reduce leaks without -autofree 2021-10-29 15:49:30 +03:00
Lucas Jenß
f801ef5e17
checker: disallow mut keyword in right-hand side of assignment (#12318) 2021-10-29 12:03:05 +03:00