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

13646 Commits

Author SHA1 Message Date
Spydr
368cccb059
native: add typechecking to gen_var_to_string() (#15107) 2022-07-17 18:09:03 +03:00
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
Delyan Angelov
bd4e9f6225
v: offer a suggestion for misspelled commands like v held 2022-07-16 14:58:26 +03:00
Delyan Angelov
b01df8ed0a
help: chmod 644 cmd/v/help/where.txt 2022-07-16 12:45:08 +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
Sebastian Atlántico
4f997feee7
tools: add tests for v where; improve usability (#15059) 2022-07-15 07:59:11 +03:00
Alexander Medvednikov
89a757aba0
doc: clean up 2022-07-14 11:10:15 +03:00
Alexander Medvednikov
8d0fe3894a
doc: document anonymous structs 2022-07-14 11:06:10 +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
Sebastian Atlántico
47b5d206a6
cmd/tools: vwhere fixes (#15051) 2022-07-13 18:04:26 +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
Hunam
4238e5f6b9
roadmap: update (#15038) 2022-07-13 10:04:27 +03:00
yuyi
7594157deb
checker: check generic interface declaration (#15047) 2022-07-13 09:43:54 +03:00
Sebastian Atlántico
28fd17654e
tools: add a v where fn join_path command, for platform independent searching the location of a symbol in the local project, vlib, ~/.vmodules (#15014) 2022-07-13 07:40: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
Jun
16a6972e2a
readme: fix vinix screenshots (#15041) 2022-07-13 01:13:45 +03:00
yuyi
19d0d758c9
cgen: fix struct shared field with default init (#15040) 2022-07-12 20:04:06 +03:00
yuyi
7a17a29952
examples: fix typo in c_interop_wkhtmltopdf.v (#15036) 2022-07-12 19:42:55 +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
b59e6b1d06
ci: do periodic runs only in the main V repository (not in forks) 2022-07-12 11:03:59 +03:00
Delyan Angelov
662d0a3ef2
ci: change ci_bootstrapping_works.yml to a periodic run, *only* on the main repository. 2022-07-12 11:02:51 +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
5498a6c263 tests: add more -skip-unused cases to v test-all 2022-07-11 11:02:17 +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
Ned
a331cf577a
tools/vls: fix installing vls when config is not present (#15017) 2022-07-11 07:56:53 +03:00