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

10614 Commits

Author SHA1 Message Date
Ken
3075e35237 encoding.csv: handle bools (#15103) 2022-07-17 10:54:36 +03:00
b4dedcae43 encoding.csv: generic serialization (#15097) 2022-07-16 22:21:05 +03:00
8d24522d02 parser: check generic interface method declaration (#15095) 2022-07-16 16:58:39 +03:00
5e0899853b dlmalloc: fix warning about fixed arrays of references, by using unsafe{} 2022-07-16 16:37:20 +03:00
ac7e809464 checker: fix generics struct init in generic fn (fix #15080) (#15088) 2022-07-15 17:30:56 +03:00
560afac5d5 cgen: fix fixed array of threads (#15086) 2022-07-15 14:19:11 +03:00
f2961ec862 native: refer to types to generate code (#15077) 2022-07-15 14:18:32 +03:00
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