Alexander Medvednikov
|
ae41d1d3c6
|
builtin, cgen: more -nofloat fixes
|
2021-09-13 19:06:19 +03:00 |
Uwe Krüger
|
c560d58f1e
|
cgen: use heuristic to detect circular reference in auto str (#11090)
|
2021-08-07 14:56:09 +03:00 |
yuyi
|
fd58e9f819
|
cgen: fix auto str for map of reference struct (fix #11024) (#11028)
|
2021-08-03 08:03:00 +03:00 |
shadowninja55
|
355f46f475
|
gen: implement `thread.str()` (#10820)
|
2021-07-17 11:19:28 +03:00 |
spaceface
|
6e942bf4c2
|
v: initial support for generic interfaces and sumtypes (#10795)
|
2021-07-15 08:29:13 +03:00 |
yuyi
|
a3ed9c1bbd
|
cgen: fix fixed array of function str() (fix #10744) (#10753)
|
2021-07-11 19:24:33 +03:00 |
yuyi
|
c0f855ace7
|
cgen: fix anon optional fn (fix #10640) (#10644)
|
2021-07-02 17:07:05 +03:00 |
yuyi
|
aaee251550
|
cgen: simplify auto_str_methods.v (#10606)
|
2021-06-29 18:47:03 +03:00 |
yuyi
|
0ac0ab6b4b
|
cgen: fix auto str for sumtype with alias (#10599)
|
2021-06-28 14:17:00 +03:00 |
Delyan Angelov
|
c3b9eaf146
|
v.c.gen: fix codegen of auto str methods for structs having &voidptr fields
|
2021-06-28 10:05:42 +03:00 |
spaceface
|
4bed4afef7
|
cgen: fix clash in generated variant and method names (#10581)
|
2021-06-27 19:05:32 +03:00 |
yuyi
|
93bb87f44f
|
cgen: simplify auto_str_methods (#10544)
|
2021-06-23 20:13:14 +03:00 |
yuyi
|
0aef92b613
|
cgen: cleanup auto_str_methods() (#10540)
|
2021-06-22 14:28:44 +03:00 |
Delyan Angelov
|
f9c4365dc7
|
v.gen.c: free `indents` in autogenerated .str() methods
|
2021-06-08 17:24:08 +03:00 |
Delyan Angelov
|
5cb2683e97
|
v.gen.c,v.markused: fix `println(ch)` when ch is a channel
|
2021-06-01 13:46:59 +03:00 |
penguindark
|
2dd1d3fcbb
|
all: string interpolation code cleaning (#10204)
|
2021-05-26 09:30:08 +03:00 |
Enzo
|
886f69bfcf
|
all: use operator overloading on strings (p. 2) (#10183)
|
2021-05-24 11:38:31 +03:00 |
penguindark
|
d8d05e0106
|
all: new string interpolation in pure V (#10181)
|
2021-05-24 05:20:45 +03:00 |
Delyan Angelov
|
da090f91d8
|
cgen: fix using and auto printing `x := [16]&Type{}`
|
2021-05-20 15:59:02 +03:00 |
yuyi
|
d236d6a473
|
parser, cgen: fix generics fn typeof name (fix #7357) (#9939)
|
2021-04-30 13:40:36 +03:00 |
yuyi
|
844662e0d6
|
cgen: fix generics fn str() (fix #7403) (#9940)
|
2021-04-30 13:40:07 +03:00 |
Delyan Angelov
|
79fa15ec3a
|
cgen: allow printing of C.Structs containing &char/charptr fields
|
2021-04-12 00:14:58 +03:00 |
spaceface
|
4feb09fa5b
|
checker, cgen: add sumtype-like smartcasting capabilites to interfaces (#9256)
|
2021-04-09 11:00:05 +03:00 |
Delyan Angelov
|
5bc29492fd
|
ci: fix vlib/v/tests/str_gen_test.v (all of `v test-self` is ok now)
|
2021-04-05 19:31:28 +03:00 |
Lukas Neubert
|
0eb59cf2bd
|
fmt: prevent possible trailing whitespace in wrapped infixes (#9573)
|
2021-04-03 18:30:25 +02:00 |
Alexander Medvednikov
|
7385f8e56b
|
all: a massive merge of ast and table modules
|
2021-04-02 01:57:09 +03:00 |
yuyi
|
cabbf93faa
|
cgen: fix generic_struct str() (#9504)
|
2021-03-29 11:15:59 +02:00 |
Alexander Medvednikov
|
bb5958991c
|
checker: warn about automatic (de)referencing; freetype: compilation flag fixes
|
2021-03-26 11:42:51 +03:00 |
Lukas Neubert
|
1b572f75e8
|
fmt: minor array wrap improvement (#9420)
|
2021-03-22 23:06:12 +01:00 |
spaceface
|
3f9e921c95
|
builtin: add a proper str() method to IError (#9379)
|
2021-03-20 01:55:16 +02:00 |
spaceface
|
e9797c618a
|
all: implement error interfaces (#9291)
|
2021-03-13 18:13:50 +01:00 |
spaceface
|
f1469a8761
|
checker: allow accessing fields common to all sumtype members (#9201)
|
2021-03-09 19:16:18 +02:00 |
Vassilis Panagiotopoulos
|
b893373e63
|
cgen: make .alias fields in structs use their proper string format, instead of the default %d (#9197)
|
2021-03-08 23:36:59 +02:00 |
spaceface
|
7663f826e5
|
cgen: add auto str method generation for interfaces (#9095)
|
2021-03-04 12:41:42 +02:00 |
spaceface
|
b9a381f101
|
all: migrate to the new Option (p. 1) (#8924)
|
2021-02-28 22:24:29 +03:00 |
Uwe Krüger
|
12a4e7ad90
|
cgen: fix `type_to_fmt()` for `i64` and `u32` (#8954)
|
2021-02-25 01:29:44 +01:00 |
zakuro
|
f54c1a5cc2
|
all: add strings.Builder.write_string and use write_string instead of write (#8892)
|
2021-02-22 13:18:11 +02:00 |
Nicolas Sauzede
|
f67a4c3ee0
|
checker, cgen: allow | between bitfield enum values, autogenerate a more specific .str method for them too (#8856)
|
2021-02-20 21:51:54 +02:00 |
yuyi
|
4878077c62
|
gen/c: fix gen_str_for_struct with custom ref str (fix #7179) (#8820)
|
2021-02-18 18:19:42 +02:00 |
yuyi
|
a9c2045dbd
|
cgen: fix var name clash of array/map (fix #1994) (#8765)
|
2021-02-15 15:51:57 +02:00 |
Peter Badida
|
6781f732f4
|
gen: fix infinite loop when struct's ref field is pointing to self (#8632) (#8641)
|
2021-02-15 15:43:10 +02:00 |
yuyi
|
f2100166c7
|
cgen: minor cleanup in gen_str_for_option (#8622)
|
2021-02-08 17:00:51 +02:00 |
Nick Treleaven
|
9e751f72c4
|
doc, fmt: use `map{key: value}` syntax for map literals (#8623)
|
2021-02-08 16:57:42 +02:00 |
Delyan Angelov
|
48892a52fa
|
strings: make valgrind reports for strings builders more usefull (#8553)
|
2021-02-04 20:45:35 +01:00 |
yuyi
|
abde1cd73d
|
cgen: fix array/map of alias to string (#8549)
|
2021-02-04 17:52:14 +02:00 |
joe-conigliaro
|
ffedbe4b81
|
cgen: move cgen from v.gen to v.gen.c (#8515)
|
2021-02-02 15:41:51 +01:00 |