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

11572 Commits

Author SHA1 Message Date
Larpon
8a4756819a
toml: disallow unclosed arrays (#12273) 2021-10-22 20:30:29 +03:00
Larpon
506924b01c
android: hide printf hijack for android logging behind define (#12269) 2021-10-22 19:59:25 +03:00
Larpon
8273c0582b
toml: check for illegal characters, fix all related skipped tests (#12270) 2021-10-22 19:57:32 +03:00
Larpon
eb364f0301
toml: check for exponents starting with an underscore (#12271) 2021-10-22 19:56:43 +03:00
Delyan Angelov
eed94c727c
os: move C struct declarations in their own _default.c.v files (#12268) 2021-10-22 17:08:08 +03:00
Delyan Angelov
0401b5ece0
mysql: fix compilation with libmariadb-dev, but no libmysqlclient-dev installed 2021-10-22 16:44:08 +03:00
Larpon
76ff708cf8
toml: squash recently fixed invalid tests (#12266) 2021-10-22 13:38:36 +03:00
Subramani
0d7057dd44
readme: improve wording, fix typos (#12250) 2021-10-22 08:18:01 +03:00
Larpon
cc2ef4188d
toml: support parsing (+/-)nan and (+/-)inf (#12256) 2021-10-22 08:16:47 +03:00
Alexander Medvednikov
47313cbf27
doc: clean up array init docs 2021-10-22 07:23:45 +03:00
ChAoS_UnItY
5b69593766
cgen,js: fix missing break in switch case, generated by match with range branches (#12260) 2021-10-21 22:30:05 +03:00
czkz
da7dad07a3
builder: fix sigint handling for v run (#12246) 2021-10-21 16:40:32 +03:00
Larpon
909ed76b8f
toml: check binary, octal and hexadecimals literals (#12255) 2021-10-21 16:37:38 +03:00
Delyan Angelov
a85707246f
help: document -skip-unused in the v help output. 2021-10-21 16:33:04 +03:00
a-iga
1ba839dc3b
openssl: change read_into to read (#12251) 2021-10-21 14:13:04 +03:00
Larpon
a84b1a53ec
toml: fix bin, oct and hex capital identifier check (#12254) 2021-10-21 14:12:17 +03:00
czkz
5607224be6
docs: improve os.ProcessState markdown rendering (#12245) 2021-10-21 11:19:01 +03:00
yuyi
ff02c19827
table, builder, checker: cleanup unwrap_generic (#12241) 2021-10-21 05:48:02 +03:00
playX
57c79770b3
js: port more methods (os, builtin) (#12238) 2021-10-20 16:02:21 +03:00
Lance Fredrickson
7c1fff3495
builder: pass -std=gnu99 to the C backend under linux (#12236) 2021-10-20 14:26:25 +03:00
05st
3e52d54586
cgen: fix match expr when evaluating to sumtype (#12237) 2021-10-20 11:52:11 +03:00
Delyan Angelov
ef0eaeee08
ci: fix broken js tests 2021-10-19 20:05:27 +03:00
Alexander Medvednikov
a8ced46564 sokol: fix a typo 2021-10-19 17:18:49 +03:00
ChAoS_UnItY
ab350d52ec
cgen: support RangeExpr while emitting enum switch case (#12226) 2021-10-19 17:02:22 +03:00
Alexander Medvednikov
d8ea9e4969 sokol: move _sapp_macos_resize_window 2021-10-19 16:58:39 +03:00
Alexander Medvednikov
45534b512b time: move pure V function from time.c.v 2021-10-19 16:03:45 +03:00
Delyan Angelov
f2cda1a529
parser: update p.inside_or_expr consistently (fix v fmt -w vls/analyzer/symbol_registration.v) 2021-10-19 13:36:10 +03:00
yuyi
6aca360507
parser: fix checking unexpected name (#12233) 2021-10-19 12:27:59 +03:00
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