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

10417 Commits

Author SHA1 Message Date
Spydr
c73c4dc884
native: system for defining internal builtin algorithms which are not inlined (#15105) 2022-07-17 16:22:54 +03:00
yuyi
58ad6f7999
checker: check generic fn declaration (#15104) 2022-07-17 14:32:59 +03:00
yuyi
78242627c3
parser: fix fn argument type position (#15102) 2022-07-17 10:55:20 +03:00
Ken
3075e35237
encoding.csv: handle bools (#15103) 2022-07-17 10:54:36 +03:00
boris-741
b4dedcae43
encoding.csv: generic serialization (#15097) 2022-07-16 22:21:05 +03:00
yuyi
8d24522d02
parser: check generic interface method declaration (#15095) 2022-07-16 16:58:39 +03:00
Delyan Angelov
5e0899853b
dlmalloc: fix warning about fixed arrays of references, by using unsafe{} 2022-07-16 16:37:20 +03:00
yuyi
ac7e809464
checker: fix generics struct init in generic fn (fix #15080) (#15088) 2022-07-15 17:30:56 +03:00
yuyi
560afac5d5
cgen: fix fixed array of threads (#15086) 2022-07-15 14:19:11 +03:00
lemon
f2961ec862
native: refer to types to generate code (#15077) 2022-07-15 14:18:32 +03:00
yuyi
57c4188d98
ast, checker: check generic fn declaration error (#15079) 2022-07-15 14:18:06 +03:00
shove
b4ed5d5f20
net: add a net.dial_tcp_with_bind/2 function (#15055) (#15056) 2022-07-15 12:38:17 +03:00
yuyi
0d6d6f7de8
cgen: fix fixed array literal index (fix #14959) (#15054) 2022-07-14 08:23:29 +03:00
Alexander Medvednikov
a38310f929 checker: array of references check 2022-07-14 00:58:14 +03:00
Hitalo de Jesus do Rosário Souza
3f3742122f
orm: sql type in struct by attribute (#14919) 2022-07-13 18:03:30 +03:00
yuyi
7594157deb
checker: check generic interface declaration (#15047) 2022-07-13 09:43:54 +03:00
wilesun
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
yuyi
19d0d758c9
cgen: fix struct shared field with default init (#15040) 2022-07-12 20:04:06 +03:00
yuyi
9839ab6a6c
parser: fix parse c function with optional argument name (fix #13234) (#15037) 2022-07-12 11:06:29 +03:00
Delyan Angelov
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
yuyi
62d800a775
checker, cgen: fix array of sumtype appending alias (#15034) 2022-07-12 09:26:11 +03:00
Subhomoy Haldar
8a4313c1b8
ci: fix vlib/v/builder/builder_test.v failures on msvc (#15035) 2022-07-12 08:46:59 +03:00
Dmitriy Smirnov
f35a3a89f9
checker: fix dereferencing voidptr. (#15033) 2022-07-12 01:12:29 +03:00
Subhomoy Haldar
dc68469818
use trimmed output for comparison (#15032) 2022-07-11 22:47:32 +03:00
Subhomoy Haldar
fbad48b5d9
v.builder: retain executable after v run, if the executable was already existing (#15021) 2022-07-11 21:08:53 +03:00
Delyan Angelov
f16355eeba
ci: fix build failure (complete renaming in 39b6851) 2022-07-11 20:59:37 +03:00
yuyi
39b68518b2
checker: minor refactor in infix_expr() (#15028) 2022-07-11 20:16:42 +03:00
shove
032cb3f115
checker: fix the type of ComptimeCall (fixes #14996) (#15013) 2022-07-11 20:08:01 +03:00
yuyi
398bd2280d
cgen: fix printing reference alias (#15027) 2022-07-11 20:04:34 +03:00
yuyi
ec19f4289c
checker, cgen: fix alias operator overloading (#15024) 2022-07-11 19:20:15 +03:00
yuyi
9231697966
parser: check for illegal use of any type (fix #15003) (#15020) 2022-07-11 15:29:25 +03:00
Delyan Angelov
94e35b710c markused: fix C compilation failures on -skip-unused -profile 2022-07-11 10:56:13 +03:00
yuyi
81d694b1f8
tests: restore interfaces_map_test (#15019) 2022-07-11 09:05:36 +03:00
yuyi
a6cc4c4c28
parser: minor cleanup in parse_type.v (#15011) 2022-07-11 08:03:08 +03:00
yuyi
7ff20c09ca
tests: restore test_interface_struct_from_mut_array() (#15018) 2022-07-11 07:57:14 +03:00
yuyi
cc43a23f29
vweb: check invalid port number (#15016) 2022-07-11 07:55:33 +03:00
Alexander Medvednikov
bfcf5b13ed checker: fix #define check on windows 2022-07-11 00:20:12 +03:00
Alexander Medvednikov
22dac71b33 checker: do not allow #define everywhere 2022-07-10 22:51:06 +03:00
yuyi
58c5d387c4
parser: check closure capture global variable (#15010) 2022-07-10 20:21:54 +03:00
Delyan Angelov
3b575e83f1
ci: fix ./v cmd/tools/builders/golang_builder.v 2022-07-10 18:53:18 +03:00
Delyan Angelov
01dabe5966
ci: fix failing invalid_struct_decl_script_err.vv 2022-07-10 18:37:42 +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
CC
7e1c45ab44
math: add round_sig function for f64 (#14997) 2022-07-09 10:41:58 +03:00