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

5917 Commits

Author SHA1 Message Date
Swastik Baranwal
56ae3797dd
checker: add checks and test for ~ operator 2020-06-12 12:05:20 +02:00
yuyi
b4ad174b7f
array: fix multiple array.repeat index error 2020-06-12 11:42:26 +02:00
Adam Stankiewicz
827a9e221f
cgen: do not double-reference anon fn 2020-06-12 10:48:44 +02:00
Delyan Angelov
0a07dc5762 Revert "_vinit: use static initialization of large const []number"
This reverts commit b306c04e99.
2020-06-12 09:57:38 +03:00
Delyan Angelov
b306c04e99 _vinit: use static initialization of large const []number 2020-06-12 09:41:32 +03:00
joe-conigliaro
0845a9b7c3 tools: update gen_vc init method 2020-06-12 16:34:19 +10:00
joe-conigliaro
438adfc2be tools: update/fix gen_vc 2020-06-12 16:22:01 +10:00
yuyi
47ffedc5de
cgen: minor array_init fix 2020-06-12 02:19:48 +02:00
yuyi
ff1437fc5a
cgen: fix multi_array index issue 2020-06-12 01:24:25 +02:00
Alexander Medvednikov
c9cfe9d40b vweb: @js and @css template fns 2020-06-11 20:34:59 +02:00
Alexander Medvednikov
72fdb09e46 time: relative_short(); fmt: handle $vweb.html() 2020-06-11 20:26:49 +02:00
Delyan Angelov
3bf9b28773 vlib: add fixes for problems, found by check_os_api_parity.v 2020-06-11 21:16:12 +03:00
Delyan Angelov
5ef9569098 cmd/tools: add check_os_api_parity.v - keep module APIs even 2020-06-11 21:13:36 +03:00
Delyan Angelov
05177b9dcb builder: add 'builtin' to builtin_module_parts instead of .clone() 2020-06-11 19:23:13 +03:00
Delyan Angelov
b2428290f9 builder: fix a const changing bug that prevented 2 builders 2020-06-11 18:35:41 +03:00
yuyi
a66753871d
checker: check array.map/filter fn or anon_fn 2020-06-11 13:14:07 +02:00
Alexander Medvednikov
8f3f27f286 vweb: bring back @header 2020-06-11 11:13:41 +02:00
Don Alfons Nisnoni
39c5c9b966
mysql: update documentation 2020-06-11 11:07:17 +03:00
Delyan Angelov
b01709e502 doc: fix formatting 2020-06-11 08:00:14 +03:00
Delyan Angelov
6c087de837 doc: mention charptr in the primitives section too 2020-06-11 07:58:52 +03:00
Daniel Däschle
dc72d2591e
vdoc: move builtin to top 2020-06-11 00:52:41 +02:00
Emily Hudson
19c3ba2f8f
cgen: ensure struct has empty_struct_declaration to appease msvc 2020-06-11 00:52:06 +02:00
Alexander Medvednikov
684a443b08 cgen: disable _STR_TMP 2020-06-10 21:24:59 +00:00
spaceface777
e50706f25c
jsgen: implement array map and filter 2020-06-10 22:18:20 +02:00
spaceface777
6f886dccca
jsgen: initial string interpolation support 2020-06-10 20:53:43 +02:00
Daniel Däschle
123d788d0d
vweb: include directive 2020-06-10 18:53:04 +02:00
Alexander Medvednikov
a2d7bc6e6f vweb: look for html templates in templates/ 2020-06-10 18:00:11 +02:00
Delyan Angelov
972f60d785 cgen: do use g.write_defer_stmts in opt()? calls 2020-06-10 18:43:23 +03:00
yuyi
b6e2495aa2
cgen: remove redundant code for array.map/filter(anon_fn) 2020-06-10 17:25:54 +02:00
Alexander Medvednikov
1254d7a302 cc: fix windows cross compiling for programs that use json 2020-06-10 17:15:24 +02:00
Emily Hudson
bf7f84d16f
cgen: fix using C constants in enums, none propagation 2020-06-10 17:01:55 +02:00
Delyan Angelov
a43b8b5c96 vfmt: add maps_in_fn_args__keep.vv test for 3a369f5 2020-06-10 17:15:53 +03:00
Delyan Angelov
3a369f513c vfmt: fix table.type_to_str(), keep map[string]mod.Type in fn args 2020-06-10 17:12:55 +03:00
yuyi
acf0b84523
cgen: fix array.filter(anon_fn) 2020-06-10 13:18:59 +02:00
yuyi
12faf9fcfa
cgen: fix multiple array.map(anon_fn) calls 2020-06-10 13:18:45 +02:00
Alexander Medvednikov
a130d3cd14 vweb: fix unused var warning 2020-06-10 12:17:49 +02:00
Alexander Medvednikov
deddc71720 examples: fix vweb_assets.v 2020-06-10 12:05:35 +02:00
Alexander Medvednikov
b904d7d1ba vweb: debug prints behind $if debug 2020-06-10 11:50:06 +02:00
Alexander Medvednikov
931bba1d7d net: fix windows urlmon flag 2020-06-10 11:25:41 +02:00
Alexander Medvednikov
c261ac4f46 net: fix windows headers 2020-06-10 11:24:37 +02:00
Alexander Medvednikov
2ed4457c5f vweb: init_once() 2020-06-10 11:24:36 +02:00
Tomas Hellström
2dc547a45c
time: fix iso8601 parser and utc time 2020-06-10 11:14:55 +02:00
Ned Palacios
8f9f426479
vdoc: plaintext fixes 2020-06-10 11:14:03 +02:00
Ned Palacios
e3c40f1df8
vdoc: minor css fix + add error message 2020-06-10 11:13:42 +02:00
joe-conigliaro
e38a221dc3 checker: fix second use of gloabl ident 2020-06-10 16:59:31 +10:00
Alexander Medvednikov
4a7ec90bef vweb: fix a bug with <span> 2020-06-10 01:43:04 +02:00
Alexander Medvednikov
e5aba94ae4 vweb: use state enum 2020-06-09 23:20:51 +02:00
Alexander Medvednikov
4fdb33bb0a
doc: make attrs more clear 2020-06-09 23:04:46 +02:00
Alexander Medvednikov
66696e1329
doc: [inline] 2020-06-09 22:49:40 +02:00
Alexander Medvednikov
3f6c3edd19
doc: minor fixes 2020-06-09 22:47:41 +02:00