17988 Commits

Author SHA1 Message Date
Alexander Medvednikov
7baff15c39 V 0.4.7 0.4.7 2024-07-26 07:41:00 +03:00
Delyan Angelov
97432c3593
v.scanner: use table lookups for very frequently done character checks (#21931) 2024-07-25 11:34:59 +03:00
yuyi
581c5c7eeb
readline: fix s := read_line('Message\nName:') on unix/linux (#21930) 2024-07-25 10:44:59 +03:00
Swastik Baranwal
b2a38346e2
checker: allow embed of type alias anon struct (#21928) 2024-07-25 05:21:23 +03:00
Felipe Pena
eb63cda0a9
cgen: fix generic option/result reference return (#21922) 2024-07-24 18:56:49 +03:00
Wertzui123
ec7ee482f4
readme: fix wrong X handle being displayed (missing _), due to missing URL escaping (#21925) 2024-07-24 18:55:20 +03:00
yuyi
3f1ba3d64f
checker: check enum field value duplicate 2 (#21924) 2024-07-24 18:40:42 +03:00
Felipe Pena
d186c3946f
arrays: fix arrays.fold, when the init value in the call, is an array (#21921) 2024-07-24 16:37:20 +03:00
yuyi
b5ba466488
checker: check enum field value duplicate (#21920) 2024-07-24 14:32:19 +03:00
yuyi
38ea5dcc44
cgen: fix enum with const value (#21919) 2024-07-24 14:25:45 +03:00
kbkpbot
4c30d357fe
net.conv: add conv.reverse_bytes_u64/u32/u16 (#21917) 2024-07-23 18:41:59 +03:00
Delyan Angelov
1d13289b86
markused: mark explicitly all used array and map methods with -skip-unused (fix #21907) (#21914) 2024-07-23 17:42:59 +03:00
Delyan Angelov
c6b6130529
tools: update the report template used by v bug file.v 2024-07-23 17:05:14 +03:00
Swastik Baranwal
6bea0cb354
checker: require enum values to be declared, before using them in other enum values (#21913) 2024-07-23 15:14:58 +03:00
Felipe Pena
fd7986c7fb
parser: fix recognition of mod.Enum.val inside fn args (#21908) 2024-07-23 11:47:34 +03:00
Felipe Pena
6e8124fdf9
checker: fix spawn when calling undefined function (#21906) 2024-07-23 08:48:44 +03:00
Alexander Medvednikov
22df56facd
roadmap: 0.6, incremental compilation 2024-07-23 03:35:57 +03:00
Delyan Angelov
d9a3a3aa0a
strconv,math.bits: eliminate bounds checking in commonly used routines 2024-07-22 13:43:50 +03:00
Mike Ward
9179038e86
examples: add a gg raycaster demo (#21904) weekly.2024.30 2024-07-21 23:27:24 +03:00
Swastik Baranwal
69bc4be512
builtin: add s.trim_space_left/0 and s.trim_space_right/0 methods (#21903) 2024-07-21 22:38:59 +03:00
yuyi
0ebf184cb5
vrepl: fix handling of multi-line type declaration syntax errors (#21902) 2024-07-21 13:58:15 +03:00
Felipe Pena
25b26e0e6f
cgen,checker: fix builtin fn var resolving (#21899) 2024-07-21 13:48:08 +03:00
Felipe Pena
eb6cbeb28b
checker,cgen: fix typeof(var.typ) with comptime $for variables (#21901) 2024-07-21 13:45:57 +03:00
Swastik Baranwal
b3b6ce5b97
checker: improve checks for embed in anon struct (#21877) 2024-07-21 13:41:01 +03:00
Felipe Pena
5486f0bb34
cgen: fix wrong missing unsafe block checking when calling generic functions with @[unsafe] attr (#21898) 2024-07-20 21:31:28 +03:00
Felipe Pena
8a0fc258a4
checker: fix global fixed array key resolution when it is a constant ident (#21900) 2024-07-20 21:10:14 +03:00
larpon
60089d61e5
flag: fix rendering bug, make newline logic/code more readable and clean (#21896) 2024-07-20 13:55:30 +03:00
yuyi
6d4f167f48
vrepl: fix handling of single-line type declaration syntax errors (#21895) 2024-07-20 04:40:12 +03:00
Hitalo Souza
e515a75b73
time: increase http_header_string performance (#21894) 2024-07-19 21:35:20 +03:00
yuyi
a7db095ab2
cgen: fix optional closure direct call (#21892) 2024-07-19 07:50:52 +03:00
Felipe Pena
98a764067d
cgen: fix missing & in string representation of map[X]&Y (#21890) 2024-07-19 07:36:10 +03:00
yuyi
2ffe3175a1
vrepl: fix type declaration (#21891) 2024-07-18 09:25:02 +03:00
larpon
3bc6d30b69
flag, examples: add compact to flag.DocOptions (#21888) 2024-07-18 09:19:58 +03:00
yuyi
6d3a2acf23
vrepl: fix const declaration and single line struct/enum/interface (#21887) 2024-07-17 18:02:50 +03:00
Delyan Angelov
be7b24d87b
examples: fix examples/web_crawler/web_crawler.v to fetch from https://news.ycombinator.com/ instead of tuicool.com (which is offline) (fix #21854) 2024-07-17 17:58:15 +03:00
yuyi
e9652f86c5
vrepl: fix enum and interface declarations (#21886) 2024-07-17 12:13:16 +03:00
Delyan Angelov
1a65695a5a
v.builder: improve the C compilation output on cgen errors (#21885) 2024-07-17 09:28:43 +03:00
yuyi
adb85e05f9
vrepl: minor cleanup in run_repl() (related #21879) (#21881) 2024-07-17 08:37:59 +03:00
yuyi
22d2d1aa2d
vrepl: fix structure definition (#21879) 2024-07-16 14:19:02 +03:00
Felipe Pena
615a9a08fc
cgen: fix generic type init syntax for primitive types (#21872) weekly.2024.29 2024-07-15 21:32:51 +03:00
yuyi
aa340472e6
cgen: fix fn mut argument of sumtype reference (#21874) 2024-07-15 15:18:49 +03:00
yuyi
64430f9471
checker: check mismatch of fn call mut argument (fix #21857) (#21873) 2024-07-15 12:13:21 +03:00
Felipe Pena
9088970da9
ast: fix high order generic fn resolution (#21871) 2024-07-15 06:12:51 +03:00
Delyan Angelov
bbbb86442d
builtin: support -d use_bundled_libgc to make it easier to debug/upgrade reliably libgc cloned from ivmai/bdwgc (#21869) 2024-07-15 04:34:14 +03:00
larpon
e8eda21038
flag: add flag.using[T]()! that uses an existing instance of T (#21865) 2024-07-14 16:53:47 +03:00
Felipe Pena
769e9147c3
v: change old attr syntax mention to new one in comments too (#21860) 2024-07-14 09:39:37 +03:00
yuyi
5c2d64a235
vrepl: minor cleanup in current_source_code() (#21863) 2024-07-13 17:32:10 +03:00
yuyi
510500d21b
vrepl: fix error of undefined ident (#21861) 2024-07-13 12:34:20 +03:00
larpon
6f61e30062
flag: add flag.to_struct[T]()! and flag.to_doc[T]()! + tests (#21845) 2024-07-13 12:33:03 +03:00
JalonSolov
12dc6f3de3
docs: add missing @ on export attributes (#21858) 2024-07-13 12:31:19 +03:00