crthpl
|
500b48788e
|
parser, cgen: fix basic asm registers, fix numbered labels in addressing, support indirect branching (#10545)
|
2021-06-23 14:20:07 +03:00 |
|
Delyan Angelov
|
b6bd6d1d35
|
tests: add cmd/tools/vdoc/tests/vdoc_file_test.v, extract a v.util.diff module, cleanup
|
2021-06-22 18:52:34 +03:00 |
|
Delyan Angelov
|
d56ae2d508
|
v.fmt: keep comments after struct embeds
|
2021-06-18 18:42:05 +03:00 |
|
Delyan Angelov
|
5dff8dc097
|
v.fmt: keep [ ... \n 123, // end of line comment \n ... ] as is
|
2021-06-18 16:43:03 +03:00 |
|
Delyan Angelov
|
9f6ddb4c21
|
v.fmt: add an independent Comment.is_inline flag. Use it for fixing [ .. //x ] => [ .. //x, ]
|
2021-06-18 15:52:31 +03:00 |
|
yuyi
|
1dca06495d
|
checker: implement if smartcast multi conds (part 1) (#10477)
|
2021-06-16 19:16:15 +03:00 |
|
Uwe Krüger
|
2ac39d9112
|
all: new function isreftype(T) to know if T contains pointers (#10438)
|
2021-06-13 06:26:13 +03:00 |
|
Delyan Angelov
|
000790b112
|
vfmt: fix eating JS. from JS.Struct{}
|
2021-06-08 21:27:05 +03:00 |
|
zakuro
|
4089aa38c5
|
fmt: fix removal of Abc in import mod { Abc } , where Abc is used in a x as Abc expression #10306
|
2021-06-03 06:35:54 +03:00 |
|
zakuro
|
90292ce981
|
fmt: fix removal of Abc in import mod { Abc } , where Abc is used in a x is Abc expression (#10286)
|
2021-05-31 17:35:16 +03:00 |
|
Delyan Angelov
|
eac1e25c5d
|
strings: simplify Builder (#10263)
|
2021-05-31 14:21:06 +03:00 |
|
Lukas Neubert
|
ddcc22a778
|
fmt: fix removal of selective imported map key type (#10235)
|
2021-05-28 22:29:03 +03:00 |
|
Lukas Neubert
|
8a109b031c
|
fmt: minor optimization in call_expr (#10228)
|
2021-05-27 22:40:54 +03:00 |
|
Lukas Neubert
|
d5cacd1e5f
|
ast: use string builder for StringInterLiteral.str() (#10207)
|
2021-05-27 10:17:51 +03:00 |
|
Ryan Roden-Corrent
|
306c16f0fa
|
fmt: don't break indexing in string interpolation. (#10195)
|
2021-05-25 07:45:32 +03:00 |
|
Lukas Neubert
|
79b97fa361
|
fmt: keep names of parameters in anonymus function (#10173)
|
2021-05-23 05:54:39 +03:00 |
|
Delyan Angelov
|
e512caf8f5
|
vfmt: do not error on field [fsize]Type , where fsize is from another .v file
|
2021-05-22 16:42:38 +03:00 |
|
Lukas Neubert
|
788520eb52
|
fmt, ast: fix usage of import aliases (#10151)
|
2021-05-21 20:33:04 +03:00 |
|
zakuro
|
d8cf26aaba
|
fmt: fix trailing arg formatting (#10155)
|
2021-05-21 06:14:07 +03:00 |
|
Lukas Neubert
|
be189e0059
|
fmt: keep generics for selective import as fn param (#10138)
|
2021-05-19 21:25:02 +03:00 |
|
Lukas Neubert
|
9a7acd244d
|
fmt: keep selective struct import when used in orm block (#10124)
|
2021-05-18 12:45:42 +03:00 |
|
yuyi
|
4d7f15b55b
|
fmt: fix formating cascade generic types call_expr (#10107)
|
2021-05-16 11:53:55 +03:00 |
|
crthpl
|
4273a9697e
|
parser: add support for flags in asm output constraints (#10103)
|
2021-05-14 12:01:15 +03:00 |
|
Delyan Angelov
|
c16d4911c2
|
v.checker: deprecate $if linux_or_macos { in favor of $if linux || macos {
|
2021-05-08 21:00:21 +03:00 |
|
zakuro
|
8c44873674
|
fmt,parser: prevent unknown module error (#10004)
|
2021-05-05 14:09:30 +03:00 |
|
Lukas Neubert
|
9e717e02c9
|
parser, fmt: prevent error with comment after expr inside match (#9995)
|
2021-05-04 18:26:10 +03:00 |
|
Lukas Neubert
|
5b826b2663
|
fmt: keep module alias in interfaces (#9985)
|
2021-05-03 15:07:12 +03:00 |
|
Delyan Angelov
|
4b818fa2be
|
v: implement interface embedding (#9935)
|
2021-05-02 03:00:47 +03:00 |
|
Lukas Neubert
|
b406de20df
|
parser, vfmt: multi line comments are not treated as follow-up comments anymore (#9892)
|
2021-04-29 09:48:08 +03:00 |
|
Lukas Neubert
|
e711e8634e
|
fmt: prevent rare code corruption with array pre comments (#9908)
|
2021-04-29 08:28:44 +03:00 |
|
Lukas Neubert
|
dee733aae4
|
fmt: reset const field align after multi line exprs (#9916)
|
2021-04-29 02:17:37 +03:00 |
|
Lukas Neubert
|
a065d014a2
|
fmt: keep constant sizes in struct field fixed array types (#9910)
|
2021-04-28 22:11:15 +03:00 |
|
Louis Schmieder
|
faf2656335
|
orm: support multiline statements (#9888)
|
2021-04-27 15:28:57 +03:00 |
|
spaceface
|
7acb48df83
|
parser: parse JS. interfaces properly (#9876)
|
2021-04-26 09:58:05 +03:00 |
|
Uwe Krüger
|
3c0a368af3
|
all: automatically move (some) referenced objects to heap (#9873)
|
2021-04-25 21:40:38 +03:00 |
|
yuyi
|
8ccdae6188
|
all: cleanup generics call_expr (#9856)
|
2021-04-24 09:44:15 +03:00 |
|
Alexander Medvednikov
|
9b14f71631
|
all: fix build-tools
|
2021-04-23 15:10:14 +03:00 |
|
yuyi
|
431d806dcf
|
ast, parser: cleanup of generic structs (#9839)
|
2021-04-22 18:21:01 +03:00 |
|
Lukas Neubert
|
2df260acbb
|
parser: fix last_line of no body C struct (#9809)
|
2021-04-20 21:37:00 +03:00 |
|
Delyan Angelov
|
bd539b6427
|
vfmt: fix string interpolation formatting with multiple ',",\' and \" .
|
2021-04-20 20:26:06 +03:00 |
|
Lukas Neubert
|
f5e6cadf63
|
fmt: proper infix operator detection in wrapping logic (#9824)
|
2021-04-20 15:20:11 +03:00 |
|
Lukas Neubert
|
fe88a4460b
|
fmt: fix module docs generation (#9810)
|
2021-04-20 04:54:08 +03:00 |
|
Lukas Neubert
|
4a1f75c964
|
fmt: split infix wrapping into smaller functions and fix a trailing space bug (#9806)
* change recursive fn calls to reduce write operations
* format files and test
* Update vtest-cleancode.v
* fix test
|
2021-04-19 21:56:39 +03:00 |
|
Lukas Neubert
|
70c651ff17
|
all: make __global behave consistent with const (#9711)
|
2021-04-19 17:07:47 +03:00 |
|
yuyi
|
3158617ce2
|
parser: simplify parse_generic_struct_inst_type() (#9801)
|
2021-04-19 14:47:39 +03:00 |
|
zakuro
|
990c4ab17a
|
fmt: move else branch of match expr to the end (#9766)
|
2021-04-17 08:28:33 +03:00 |
|
Uwe Krüger
|
1b0f099552
|
parser: fix handling of - inside array literals (#9771)
|
2021-04-17 02:37:17 +03:00 |
|
zakuro
|
968cb13a36
|
fmt: mark types import as used in interface (#9718)
|
2021-04-15 01:29:17 +02:00 |
|
Lukas Neubert
|
ada763e0f4
|
fmt: remove parenthesis around single ident (#9696)
|
2021-04-12 16:01:03 +03:00 |
|
Louis Schmieder
|
67d8639917
|
orm: add unique fields & add drop table stmt (#9684)
|
2021-04-11 23:57:25 +02:00 |
|