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

3180 Commits

Author SHA1 Message Date
Uwe Krüger
8278af4ee8 parser: hot fix to handle x = <-ch[i] or { } (#7416) 2020-12-19 22:44:16 +02:00
joe-conigliaro
d782db8878 util: add clipboard & ui to bundle_modules (fix dupe symbols) 2020-12-20 03:38:11 +11:00
Delyan Angelov
19bfd5ffb5 ci: fix building 2020-12-19 13:16:18 +02:00
Delyan Angelov
2f1cc2bd08 v.util: simplify the sorting of v's timing output 2020-12-19 12:55:42 +02:00
Delyan Angelov
a1c81aa49d v,gen,checker: implement -d time_checking -d time_cgening -d time_v 2020-12-19 12:36:08 +02:00
Alexander Medvednikov
10168d307e pref: remove duplicate flag "build" 2020-12-19 10:34:59 +01:00
Alexander Medvednikov
1f74f83bc6 parser: map or block; checker: require ref field init 2020-12-19 10:28:17 +01:00
Ned Palacios
3a86f27b9f cgen: fix optional struct const field access (#7405) 2020-12-19 09:43:50 +01:00
yuyi
e4973782b1 cgen: fix multi_array prepend/insert (#7381) 2020-12-19 07:28:15 +01:00
yuyi
598d18cbd9 cgen: fix default zero in map fields (fix #7328) (#7394) 2020-12-19 06:55:13 +01:00
Delyan Angelov
adaffd0d8e pref: pass custom -d options down to v build-module (fix for -usecache) 2020-12-19 01:54:18 +02:00
yuyi
ff2cfd4f38 checker: fix fn_array types check (#7376) 2020-12-19 01:10:11 +02:00
Nick Treleaven
042449cd3d cgen: use voidptr key methods: map_get_1, map_set_1, map_get_and_set_1 (#7390) 2020-12-19 01:05:16 +02:00
ka-weihe
5788d6d768 cc: enable more C warnings (#7401) 2020-12-18 23:33:51 +02:00
Delyan Angelov
6f7889a3ca parser: support for -d time_parsing 2020-12-18 17:23:57 +02:00
Delyan Angelov
7e1e247f56 builder: implement b.timing_start/1 and b.timing_measure/1 2020-12-18 13:21:17 +02:00
Delyan Angelov
04757a4853 vfmt: fix struct Abc { field fn() ? } 2020-12-18 11:32:04 +02:00
joe-conigliaro
05e15bdd59 builder/cgen: fix -usecache using absolute mod paths (ui examples ~/.vmodules) 2020-12-18 11:21:40 +11:00
yuyi
b10f692c43 gen: fix errors of string interpolation of fn values in struct/array/map (#7367) 2020-12-17 11:16:27 +02:00
Ned Palacios
c164586fd5 cgen: fix map clone (#7366) 2020-12-17 08:44:50 +01:00
joe-conigliaro
05e101bd95 builder: v fmt cc.v 2020-12-17 16:51:13 +11:00
joe-conigliaro
40bad75a8f builder: temp macos self -usecache fix (will break -usecache with ~/.vmodules/ui) 2020-12-17 16:46:20 +11:00
joe-conigliaro
f2f32626bc all: get -usecache working with mods in ~/.vmodules (ui examples) 2020-12-17 16:08:28 +11:00
Daniel Däschle
7022456c9d Alias string compare (#7364) 2020-12-16 21:40:56 +02:00
Swastik Baranwal
1a2c7cd336 checker: add more casts checks (#7355) 2020-12-16 17:50:39 +01:00
yuyi
525b521b4a cgen: impliment gen_str_for_fn_type() (#7353) 2020-12-16 11:07:58 +02:00
Ned Palacios
604eab7742 cgen: fix interface struct field initialization (#7340) 2020-12-16 11:03:28 +02:00
joe-conigliaro
7426544610 parser: vfmt parser.v 2020-12-16 18:09:02 +11:00
joe-conigliaro
a7879ce77e parser: differentiate recursive alias & existing type err + rune fix 2020-12-16 18:03:49 +11:00
Swastik Baranwal
52f908839e parser: add error for self aliasing (#7347) 2020-12-15 21:49:04 +02:00
Delyan Angelov
3a9034a0d0 dl: add a complete tested shared library generation/usage example 2020-12-15 18:22:07 +02:00
yuyi
e40e1500a8 cgen: fix map['xxx']() error (#7342) 2020-12-15 16:07:24 +01:00
joe-conigliaro
239a8c8aa3 cgen: cached modules fixes (#7345) 2020-12-15 16:07:06 +01:00
Delyan Angelov
8067fcee57 builder: change the tcc recompilation failed message 2020-12-15 10:47:41 +02:00
Delyan Angelov
ed50e22e18 parser: support _js.v and _c.v for -Wimpure-v 2020-12-15 08:24:26 +02:00
yuyi
bfa8e4bf86 parser: minor cleanup of check() (#7333) 2020-12-15 04:31:34 +01:00
Swastik Baranwal
da9588c1a5 checker: fix struct cast (#7308) 2020-12-15 04:30:51 +01:00
Lukas Neubert
c922565525 fmt: only insert a space after // if the 3rd char is alphanumeric (#7330) 2020-12-15 04:26:28 +01:00
yuyi
8ab59c5f0f parser: implement a direct call to an array of functions (fix #6908) (#7322) 2020-12-15 04:24:57 +01:00
Swastik Baranwal
a3c3fd4d20 cgen: fix generation of array names in generic structs (#7324) 2020-12-15 02:52:20 +11:00
Enzo
78fb84c4dd gen: fix comparing signed int to u32/u64 (#7312) 2020-12-14 12:01:11 +02:00
Lukas Neubert
9b139c58ca fmt: keep module alias in struct decl field types (#7305) 2020-12-14 05:03:43 +01:00
Lukas Neubert
d59c5b01e1 fmt: intelligent line wrap for trailing struct syntax (#7309) 2020-12-14 05:03:17 +01:00
LilEnvy
0aacc9a80a array: [].map(fn...) return type can be different than original type (#7300) 2020-12-13 03:29:48 +01:00
Daniel Däschle
fb9db11a00 cgen: fix line number generation on match (#7292) 2020-12-12 23:08:45 +01:00
ka-weihe
4d025582c0 cgen: fix shadowing warning (#7289) 2020-12-12 23:06:02 +01:00
Daniel Däschle
7e3e30aa9c ci: add a parser fuzzer step too (#7288) 2020-12-12 15:20:38 +02:00
Daniel Däschle
b76c91ec05 parser: silent mode fixes (#7286) 2020-12-12 13:52:22 +01:00
Nick Treleaven
d785e22a6e checker: disallow assigning number to pointer (#7267) 2020-12-12 10:42:07 +01:00
joe-conigliaro
0aa9f5a007 all: optimize scope usage in checker & parser. store scope in ast nodes (#7281) 2020-12-12 19:01:12 +11:00