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

13688 Commits

Author SHA1 Message Date
Delyan Angelov
5d8d11c989
ci: fix v cmd/tools/vast after ast.StructInit field renaming 2022-07-10 18:28:24 +03:00
Delyan Angelov
d15e9f4866
ci: remove forgotten dump call 2022-07-10 17:05:49 +03:00
Delyan Angelov
69aaf68f2f
cgen: fix anon struct auto string method generation 2022-07-10 16:57:13 +03:00
yuyi
64eab72f4c
checker: fix anon fn using global variable (fix #15004) (#15008) 2022-07-10 12:43:50 +03:00
Alexander Medvednikov
7d0a9186bb all: wrap up anonymous structs 2022-07-10 12:00:17 +03:00
Ken
1ae11b41e7
net.websocket: make logger configurable (#14998) 2022-07-09 17:39:07 +03:00
Thomas Peißl
739f3cd90b
pref: detect termux more reliably (#15001) 2022-07-09 17:23:19 +03:00
Subhomoy Haldar
8ee614d3f8
encoding.binary: add unit tests and module documentation (#15000) 2022-07-09 15:52:19 +03:00
Hitalo de Jesus do Rosário Souza
d4b0ebf215
doc: clear the explanation to 'sql: type' (#14915) 2022-07-09 14:04:35 +03:00
Delyan Angelov
f56aaa1007
examples: simplify examples/websocket/ping.v (end automatically, when the client ends) 2022-07-09 12:40:52 +03:00
CC
7e1c45ab44
math: add round_sig function for f64 (#14997) 2022-07-09 10:41:58 +03:00
shove
c5a290ffc6
cgen: fix lost return in ComptimeCall (fixes #14962) (#14995) 2022-07-09 08:55:01 +03:00
Alexander Medvednikov
70890b27a5 cgen: handle default anonymous structs 2022-07-08 15:40:57 +03:00
Emirhan Yener
1a49db4ea1
examples: remove empty comments (#14986) 2022-07-08 15:35:45 +03:00
Delyan Angelov
02d675ab67
os: restore the env TERMUX_VERSION based final resort for runtime auto detection of Termux 2022-07-08 11:16:53 +03:00
StunxFS
bcaa3ac915
vlib: remove jsdom module, use js.dom instead (#14985) 2022-07-08 09:23:10 +03:00
penguindark
df4bd88d45
x.ttf: fix a bug in TTF fixed point data management (#14987) 2022-07-08 09:20:59 +03:00
yuyi
5aa6ec0693
cgen: fix error for comptime method call (#14992) 2022-07-08 09:18:49 +03:00
Delyan Angelov
5f140fe2ff
ci: v fmt -w vlib/v/builder/cc.v 2022-07-07 23:57:21 +03:00
StunxFS
9376009c39
v.eval: support panic function (#14972) 2022-07-07 20:00:59 +03:00
CC
6b597a4b58
builder: add support for icc (Intel C Compiler) (#14975) 2022-07-07 19:48:07 +03:00
yuyi
758f84fa86
ast, parser, cgen: fix anon sumtype cast (fix #14967) (#14976) 2022-07-07 18:51:57 +03:00
yuyi
029d583bb2
cgen: a minor fix in match_expr (#14983) 2022-07-07 18:51:27 +03:00
Larpon
9f3b6e3e3a
android: provide more predictable logging, add comptime termux support (#14984) 2022-07-07 18:28:29 +03:00
Delyan Angelov
71a85249ea
ci: fix failing ./v -W build-tools 2022-07-07 18:22:21 +03:00
Alexander Medvednikov
f5001192f9 fmt: handle anon structs; tests: bring back anon struct test 2022-07-07 16:11:13 +03:00
zakuro
972bba66d1
checker,ast: clean up deprecation code (#14980) 2022-07-07 15:45:45 +03:00
Delyan Angelov
de77114593
eval: support assignment operators like +=, make for a in 0..10 { more robust 2022-07-07 15:13:22 +03:00
Alexander Medvednikov
15ce15d41b tests: disable anon struct test for now 2022-07-07 13:08:10 +03:00
Delyan Angelov
91acd0f380
ci: fix failing v check-md vlib/sqlite/README.md 2022-07-07 13:05:05 +03:00
Alexander Medvednikov
7da466e81b parser: show a hint when using v . with multiple fn mains 2022-07-07 13:04:08 +03:00
Alexander Medvednikov
426421bebb all: anonymous structs (part 2) 2022-07-06 21:38:45 +03:00
yuyi
f4b39fbe4f
cgen: fix sumtype with none (#14965) 2022-07-06 21:03:42 +03:00
CC
d86b4951c7
sqlite: add sync and journal funcs, docs (#14970) 2022-07-06 21:01:27 +03:00
Delyan Angelov
f0ce7fb9d3
Revert "gg: fix android compilation for ~/.vmodules/ui/examples/rectangles.v"
This reverts commit f1a855e6d2.
2022-07-06 16:19:40 +03:00
Delyan Angelov
f1a855e6d2
gg: fix android compilation for ~/.vmodules/ui/examples/rectangles.v 2022-07-06 16:02:50 +03:00
Delyan Angelov
82f7597a0c
ci: fix failing v check-md doc/docs.md 2022-07-06 15:52:18 +03:00
Delyan Angelov
3308313167
os: remove the closing of stream handles at the end of Process.win_slurp/1 2022-07-06 15:43:13 +03:00
zakuro
a46bcf3571
all: v.ast.byte_type -> v.ast.u8_type (#14964) 2022-07-06 13:32:30 +03:00
Alexander Medvednikov
00dfce655e
doc: document if as 2022-07-06 12:41:36 +03:00
CC
6a567a0dd6
sqlite: improve exec_none behaviour (#14955) 2022-07-06 10:44:36 +03:00
yuyi
bb2223c8b0
checker: fix shared_element_lock.vv test (#14960) 2022-07-06 10:43:36 +03:00
Alexander Medvednikov
59d6ca0c95 js: remove duplicate match 2022-07-06 07:46:58 +03:00
Alexander Medvednikov
819b6f475a os: remove unnecessary unsafes 2022-07-06 07:07:48 +03:00
Alexander Medvednikov
d3090de02e checker: apply the new array check only to len:, not cap: inits 2022-07-06 07:03:36 +03:00
yuyi
fab5802deb
all: fix latest ci errors (#14957) 2022-07-06 07:02:16 +03:00
Alexander Medvednikov
3f3fb5be47 js: handle Nil 2022-07-06 06:47:37 +03:00
Alexander Medvednikov
c48ed52f43 checker: vfmt 2022-07-05 23:56:53 +03:00
Alexander Medvednikov
163c7ba2bb checker: stricter []&Type{len:x} check 2022-07-05 23:51:29 +03:00
Alexander Medvednikov
9b4dec7b98 parser: anonymous structs (part 1) 2022-07-05 23:17:00 +03:00