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

10557 Commits

Author SHA1 Message Date
57c4188d98 ast, checker: check generic fn declaration error (#15079) 2022-07-15 14:18:06 +03:00
b4ed5d5f20 net: add a net.dial_tcp_with_bind/2 function (#15055) (#15056) 2022-07-15 12:38:17 +03:00
0d6d6f7de8 cgen: fix fixed array literal index (fix #14959) (#15054) 2022-07-14 08:23:29 +03:00
a38310f929 checker: array of references check 2022-07-14 00:58:14 +03:00
3f3742122f orm: sql type in struct by attribute (#14919) 2022-07-13 18:03:30 +03:00
7594157deb checker: check generic interface declaration (#15047) 2022-07-13 09:43:54 +03:00
d12a8aef68 json: use C.cJSON_free, for freeing the intermediate result in json_print and json_print_pretty (#15029) 2022-07-13 07:11:18 +03:00
19d0d758c9 cgen: fix struct shared field with default init (#15040) 2022-07-12 20:04:06 +03:00
9839ab6a6c parser: fix parse c function with optional argument name (fix #13234) (#15037) 2022-07-12 11:06:29 +03:00
a4e0e0fa57 builtin: add drafts for __new_array_noscan, __new_array_with_default_noscan, __new_array_with_array_default_noscan for array_notd_gcboehm_opt.v 2022-07-12 10:00:58 +03:00
62d800a775 checker, cgen: fix array of sumtype appending alias (#15034) 2022-07-12 09:26:11 +03:00
8a4313c1b8 ci: fix vlib/v/builder/builder_test.v failures on msvc (#15035) 2022-07-12 08:46:59 +03:00
f35a3a89f9 checker: fix dereferencing voidptr. (#15033) 2022-07-12 01:12:29 +03:00
dc68469818 use trimmed output for comparison (#15032) 2022-07-11 22:47:32 +03:00
fbad48b5d9 v.builder: retain executable after v run, if the executable was already existing (#15021) 2022-07-11 21:08:53 +03:00
f16355eeba ci: fix build failure (complete renaming in 39b6851) 2022-07-11 20:59:37 +03:00
39b68518b2 checker: minor refactor in infix_expr() (#15028) 2022-07-11 20:16:42 +03:00
032cb3f115 checker: fix the type of ComptimeCall (fixes #14996) (#15013) 2022-07-11 20:08:01 +03:00
398bd2280d cgen: fix printing reference alias (#15027) 2022-07-11 20:04:34 +03:00
ec19f4289c checker, cgen: fix alias operator overloading (#15024) 2022-07-11 19:20:15 +03:00
9231697966 parser: check for illegal use of any type (fix #15003) (#15020) 2022-07-11 15:29:25 +03:00
94e35b710c markused: fix C compilation failures on -skip-unused -profile 2022-07-11 10:56:13 +03:00
81d694b1f8 tests: restore interfaces_map_test (#15019) 2022-07-11 09:05:36 +03:00
a6cc4c4c28 parser: minor cleanup in parse_type.v (#15011) 2022-07-11 08:03:08 +03:00
7ff20c09ca tests: restore test_interface_struct_from_mut_array() (#15018) 2022-07-11 07:57:14 +03:00
cc43a23f29 vweb: check invalid port number (#15016) 2022-07-11 07:55:33 +03:00
bfcf5b13ed checker: fix #define check on windows 2022-07-11 00:20:12 +03:00
22dac71b33 checker: do not allow #define everywhere 2022-07-10 22:51:06 +03:00
58c5d387c4 parser: check closure capture global variable (#15010) 2022-07-10 20:21:54 +03:00
3b575e83f1 ci: fix ./v cmd/tools/builders/golang_builder.v 2022-07-10 18:53:18 +03:00
01dabe5966 ci: fix failing invalid_struct_decl_script_err.vv 2022-07-10 18:37:42 +03:00
d15e9f4866 ci: remove forgotten dump call 2022-07-10 17:05:49 +03:00
69aaf68f2f cgen: fix anon struct auto string method generation 2022-07-10 16:57:13 +03:00
64eab72f4c checker: fix anon fn using global variable (fix #15004) (#15008) 2022-07-10 12:43:50 +03:00
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
739f3cd90b pref: detect termux more reliably (#15001) 2022-07-09 17:23:19 +03:00
8ee614d3f8 encoding.binary: add unit tests and module documentation (#15000) 2022-07-09 15:52:19 +03:00
d4b0ebf215 doc: clear the explanation to 'sql: type' (#14915) 2022-07-09 14:04:35 +03:00
CC
7e1c45ab44 math: add round_sig function for f64 (#14997) 2022-07-09 10:41:58 +03:00
c5a290ffc6 cgen: fix lost return in ComptimeCall (fixes #14962) (#14995) 2022-07-09 08:55:01 +03:00
70890b27a5 cgen: handle default anonymous structs 2022-07-08 15:40:57 +03:00
02d675ab67 os: restore the env TERMUX_VERSION based final resort for runtime auto detection of Termux 2022-07-08 11:16:53 +03:00
bcaa3ac915 vlib: remove jsdom module, use js.dom instead (#14985) 2022-07-08 09:23:10 +03:00
df4bd88d45 x.ttf: fix a bug in TTF fixed point data management (#14987) 2022-07-08 09:20:59 +03:00
5aa6ec0693 cgen: fix error for comptime method call (#14992) 2022-07-08 09:18:49 +03:00
5f140fe2ff ci: v fmt -w vlib/v/builder/cc.v 2022-07-07 23:57:21 +03:00
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
758f84fa86 ast, parser, cgen: fix anon sumtype cast (fix #14967) (#14976) 2022-07-07 18:51:57 +03:00