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

11394 Commits

Author SHA1 Message Date
playX
c1aa782a6c
js,checker: fix some modules build for v -b js self, fix or block check in ast.CallExpr (#12231) 2021-10-19 12:11:54 +03:00
Delyan Angelov
39c3817ce4
readme: add a section for installing openssl so linking to it when answering is easier. 2021-10-19 09:43:29 +03:00
czkz
a84a6d1fb1
docs: fix typos, cleanup wording (#12227) 2021-10-18 21:03:27 +03:00
xiao xigua
108644d260
vweb: add file method to vweb.Context, make the existing json method generic (#12211) 2021-10-18 18:25:06 +03:00
Delyan Angelov
e9aa18fcc8
roadmap: mark parallel cgen and interface embedding as done 2021-10-18 17:50:05 +03:00
lydiandy
3af53e29c9
doc: update the interface sections (#12225) 2021-10-18 14:24:09 +03:00
Delyan Angelov
b23984a211
builder: only print the thirdparty object rebuilding line with '-v' 2021-10-18 13:28:09 +03:00
ChAoS_UnItY
53c2e262f1
cgen & jsgen: generate when possible a switch from match x { (#12216) 2021-10-18 10:59:52 +03:00
playX
a3de67de28
js: support WASM interoperability using wasm_import/wasm_export fn tags (#12212) 2021-10-18 10:56:21 +03:00
lydiandy
2070839722
io: pub the RandomReader interface (#12222) 2021-10-18 10:51:36 +03:00
Delyan Angelov
5dd3864617
markused: fix v -skip-unused cmd/tools/vpm.v regression after 98b2bdb 2021-10-18 08:43:56 +03:00
Delyan Angelov
735c961682
autofree: add skipped string_plus_string_plus.v sample 2021-10-17 19:46:35 +03:00
Delyan Angelov
6e4bda3741
strconv: fix string builder leaks in format_dec_old, format_es_old, format_fl_old, v_sprintf 2021-10-17 19:46:34 +03:00
Delyan Angelov
1313dcf601
gg: fix leak in draw_image_with_config 2021-10-17 19:46:34 +03:00
lydiandy
98b2bdb410
io: cleanup ReaderWriter interface (#12218) 2021-10-17 19:39:51 +03:00
czkz
3a073329ff
builder: use os.new_process() instead of os.system() in v run (#12214) 2021-10-17 19:01:34 +03:00
yuyi
a006090b08
ast: minor cleanup of register_type_symbol (#12213) 2021-10-17 15:50:42 +03:00
czkz
29f068997b
math: add fn clamp (#12205) 2021-10-17 06:42:40 +03:00
05st
fd3a10ab43
checker: fix mut check bypass with for in loops (#12208) 2021-10-17 06:41:39 +03:00
Alexander Medvednikov
e6b7ab8b9d net.http: authority header 2021-10-17 06:40:19 +03:00
Larpon
678e3a210d
tools: add vshader (#12195) 2021-10-16 22:10:48 +03:00
Larpon
bff7cc5f20
thirdparty: remove patch marks in sokol_gfx.h (#12198) 2021-10-15 19:36:44 +03:00
Delyan Angelov
dee4ffbc99
builder: make -usecache rebuild cached, but changed modules, and their dependants (#12193) 2021-10-15 12:22:59 +03:00
yuyi
c108e01917
checker: fix generic fn return types with generic struct (#12186) 2021-10-15 11:50:10 +03:00
yuyi
27cd21e459
cgen: fix infix ops, for cross assignments of types with overloaded operators (#12192) 2021-10-15 11:32:58 +03:00
playX
814b4ebb4c
term: get_terminal_size() for js_node, term.clear() for all js backends (#12189) 2021-10-15 10:10:40 +03:00
playX
d3887c1568
time: fix sys_mono_now for the JS backend (#12187) 2021-10-15 09:22:15 +03:00
czkz
c29a5cdedb
term: fix readme typo (#12180) 2021-10-15 06:08:31 +03:00
ChAoS_UnItY
4d1307f29b
all: index accessor in array init expression (#12181) 2021-10-15 03:57:49 +03:00
Carlos Esquerdo Bernat
6d62574e7f
tutorials: fix argument type (#12182) 2021-10-15 02:24:22 +03:00
yuyi
c9b2f878b3
parser, checker: optimize checking generic struct type mismatch (#12179) 2021-10-15 00:11:31 +03:00
Ulises Jeremias Cornejo Fandos
4490d5ed29
context: cleanup the tests and the documentation (#12175) 2021-10-14 13:32:42 +03:00
Delyan Angelov
4c2cb1b6df
vdoc: prevent leaking to the docs the pure_v_but_overriden_by_ prefix 2021-10-14 11:47:50 +03:00
yuyi
05885059bd
cgen: remove the extra generated parentheses of single in_expr (fix #12158) (#12168) 2021-10-14 11:38:16 +03:00
ChAoS_UnItY
6f629d1a6a
transformer: eliminate unreachable branches & redundant branch expressions in MatchExpr (#12174) 2021-10-14 02:15:52 +03:00
nyx-litenite
5b9553d5c4
orm: fix last_id() call in mysql (#12173) 2021-10-13 21:24:07 +03:00
Larpon
5bfa3d5530
sokol: add screenshot function to OpenGL based backends (#12169) 2021-10-13 21:22:58 +03:00
yuyi
97e999768a
checker: fix generic fn return array of generic struct (#12170) 2021-10-13 21:21:32 +03:00
playX
d373eba79b
js: implement more functions for JS backend (#12167) 2021-10-13 09:40:14 +03:00
pancake
ade5774313
native: fix return a+b infix construction (#12161) 2021-10-12 19:38:17 +03:00
Delyan Angelov
6c728cf389
js: add draft support for -skip-unused (hello_world.v works) 2021-10-12 19:34:37 +03:00
pancake
1d2b56d71d
native: fix example exit((1,2)->(a,b)return a+b) (#12154) 2021-10-12 18:51:28 +03:00
pancake
347ebe5fd3
native: append .exe, when using the native backend on windows (#12159) 2021-10-12 18:49:42 +03:00
pancake
a0a0ae85eb
native: add support for pe64 when -os windows is used (#12149) 2021-10-12 10:43:40 +03:00
playX
22962dd2d2
js: change codegen for match statement, speedup string.split_into_lines (#12157) 2021-10-12 09:52:16 +03:00
Alexander Medvednikov
cfc56b24fb vweb: fix [post] route matching 2021-10-12 08:18:04 +03:00
Alexander Medvednikov
555e8cada6 tutorials: update the vweb tutorial with the new form parsing syntax 2021-10-12 07:17:49 +03:00
Alexander Medvednikov
da58ba0d5c vweb: populate action method params with form values 2021-10-12 07:10:12 +03:00
Anton Zavodchikov
4d7bb95c2f
vweb: add a vweb_global attribute (#12064) 2021-10-12 06:35:36 +03:00
pancake
5eba02ea94
native: fix stackframe bug on return statements (#12153) 2021-10-12 06:03:44 +03:00