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

13563 Commits

Author SHA1 Message Date
Delyan Angelov
ee4a179e71
tests: add a test for Node{123, unsafe { nil }, unsafe { nil }} 2022-07-20 11:29:01 +03:00
Delyan Angelov
50075d5a79
ast,cgen: support a := Abc{unsafe{nil}}, for struct Abc { next &Abc } 2022-07-20 10:47:04 +03:00
Fossean1
1ccb4c3ac0
doc: minor fixes in examples (#15125) 2022-07-19 20:59:59 +03:00
Hitalo de Jesus do Rosário Souza
a13b8ff0c8
mysql: fix for adapting mysql types to v structs (#15100) 2022-07-19 18:29:09 +03:00
yuyi
041e90b2e2
checker, cgen: fix interface embedding smartcast (fix #13296) (#15127) 2022-07-19 16:36:16 +03:00
Alexander Medvednikov
0afa2f76c8 ci: fix gitly ci 2022-07-19 13:53:05 +03:00
Alexander Medvednikov
fd47385ff2 checker: check untyped nil in assignment 2022-07-19 13:31:10 +03:00
Alexander Medvednikov
1aeca113d3 sokol: do not crash if an image cannot be rendered 2022-07-19 13:21:34 +03:00
SakthiMahendran
e4674cb8e1
examples: replace "resp.text" with "resp.body". (#15123) 2022-07-19 12:52:42 +03:00
yuyi
a39fe68af1
cgen: clean up ident() in cgen.v (#15121) 2022-07-19 10:54:03 +03:00
Ned
c7ec71cd06
tools/vls: skip 'ls' argument on v ls (#15126) 2022-07-19 10:52:39 +03:00
Larpon
02925cecd1
ci: fix report-missing-fn-doc (#15118) 2022-07-18 22:33:18 +03:00
Mehmet Ali
12d57e8e7b
sokol: add mouse cursor support (#15111) 2022-07-18 09:44:48 +03:00
Zhomart Mukhamejanov
c1502b3c1f
examples: add macos_tray example app (#15101) 2022-07-18 09:42:45 +03:00
yuyi
5462d4aebf
checker: check generic interface declaration (#15108) 2022-07-18 01:36:37 +03:00
penguindark
706a922e0c
x.ttf: update to fix compilation of vlang/pdf and failing ci (#15109) 2022-07-17 19:44:11 +03:00
yuyi
eed496d0bc
checker: check generic struct declaration (#15106) 2022-07-17 18:09:15 +03:00
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