|
3881e97a40
|
vlib: remove ustring usage (#10618)
|
2021-06-30 22:30:28 +03:00 |
|
|
1492eae27d
|
v.fmt: keep selective type imports used for casting (#10597)
|
2021-06-28 13:21:26 +03:00 |
|
|
d56ae2d508
|
v.fmt: keep comments after struct embeds
|
2021-06-18 18:42:05 +03:00 |
|
|
5dff8dc097
|
v.fmt: keep [ ... \n 123, // end of line comment \n ... ] as is
|
2021-06-18 16:43:03 +03:00 |
|
|
9f6ddb4c21
|
v.fmt: add an independent Comment.is_inline flag. Use it for fixing [ .. //x ] => [ .. //x, ]
|
2021-06-18 15:52:31 +03:00 |
|
|
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 |
|
|
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 |
|
|
ddcc22a778
|
fmt: fix removal of selective imported map key type (#10235)
|
2021-05-28 22:29:03 +03:00 |
|
|
306c16f0fa
|
fmt: don't break indexing in string interpolation. (#10195)
|
2021-05-25 07:45:32 +03:00 |
|
|
79b97fa361
|
fmt: keep names of parameters in anonymus function (#10173)
|
2021-05-23 05:54:39 +03:00 |
|
|
e512caf8f5
|
vfmt: do not error on field [fsize]Type , where fsize is from another .v file
|
2021-05-22 16:42:38 +03:00 |
|
|
788520eb52
|
fmt, ast: fix usage of import aliases (#10151)
|
2021-05-21 20:33:04 +03:00 |
|
|
d8cf26aaba
|
fmt: fix trailing arg formatting (#10155)
|
2021-05-21 06:14:07 +03:00 |
|
|
be189e0059
|
fmt: keep generics for selective import as fn param (#10138)
|
2021-05-19 21:25:02 +03:00 |
|
|
9a7acd244d
|
fmt: keep selective struct import when used in orm block (#10124)
|
2021-05-18 12:45:42 +03:00 |
|
|
4d7f15b55b
|
fmt: fix formating cascade generic types call_expr (#10107)
|
2021-05-16 11:53:55 +03:00 |
|
|
c16d4911c2
|
v.checker: deprecate $if linux_or_macos { in favor of $if linux || macos {
|
2021-05-08 21:00:21 +03:00 |
|
|
8c44873674
|
fmt,parser: prevent unknown module error (#10004)
|
2021-05-05 14:09:30 +03:00 |
|
|
9e717e02c9
|
parser, fmt: prevent error with comment after expr inside match (#9995)
|
2021-05-04 18:26:10 +03:00 |
|
|
5b826b2663
|
fmt: keep module alias in interfaces (#9985)
|
2021-05-03 15:07:12 +03:00 |
|
|
b406de20df
|
parser, vfmt: multi line comments are not treated as follow-up comments anymore (#9892)
|
2021-04-29 09:48:08 +03:00 |
|
|
e711e8634e
|
fmt: prevent rare code corruption with array pre comments (#9908)
|
2021-04-29 08:28:44 +03:00 |
|
|
dee733aae4
|
fmt: reset const field align after multi line exprs (#9916)
|
2021-04-29 02:17:37 +03:00 |
|
|
a065d014a2
|
fmt: keep constant sizes in struct field fixed array types (#9910)
|
2021-04-28 22:11:15 +03:00 |
|
|
2df260acbb
|
parser: fix last_line of no body C struct (#9809)
|
2021-04-20 21:37:00 +03:00 |
|
|
bd539b6427
|
vfmt: fix string interpolation formatting with multiple ',",\' and \" .
|
2021-04-20 20:26:06 +03:00 |
|
|
f5e6cadf63
|
fmt: proper infix operator detection in wrapping logic (#9824)
|
2021-04-20 15:20:11 +03:00 |
|
|
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 |
|
|
70c651ff17
|
all: make __global behave consistent with const (#9711)
|
2021-04-19 17:07:47 +03:00 |
|
|
3158617ce2
|
parser: simplify parse_generic_struct_inst_type() (#9801)
|
2021-04-19 14:47:39 +03:00 |
|
|
990c4ab17a
|
fmt: move else branch of match expr to the end (#9766)
|
2021-04-17 08:28:33 +03:00 |
|
|
1b0f099552
|
parser: fix handling of - inside array literals (#9771)
|
2021-04-17 02:37:17 +03:00 |
|
|
968cb13a36
|
fmt: mark types import as used in interface (#9718)
|
2021-04-15 01:29:17 +02:00 |
|
|
ada763e0f4
|
fmt: remove parenthesis around single ident (#9696)
|
2021-04-12 16:01:03 +03:00 |
|
|
a706215e52
|
ast, parser: add type_pos to TypeDecl nodes (#9571)
|
2021-04-09 14:51:25 +03:00 |
|
|
690c0309ad
|
vfmt: fix fn/method that return generic struct (#9638)
|
2021-04-08 08:24:34 +03:00 |
|
|
3a07fbc653
|
fmt: improve match branch wrapping (#9619)
|
2021-04-07 15:26:10 +02:00 |
|
|
1d5ed89138
|
fmt: remove trailing space in comments (#9620)
|
2021-04-07 15:25:11 +02:00 |
|
|
a0648a3ec2
|
all: fixes related to Node.pos (#9613)
|
2021-04-06 15:16:19 +02:00 |
|
|
57e6138a61
|
all: remove byteptr and charptr; replace them with &byte and &char
|
2021-04-04 17:43:32 +03:00 |
|
|
0eb59cf2bd
|
fmt: prevent possible trailing whitespace in wrapped infixes (#9573)
|
2021-04-03 18:30:25 +02:00 |
|
|
cd74273869
|
fmt: fix import aliases in type declarations (#9483)
|
2021-03-27 11:33:41 +01:00 |
|
|
e76c8d5dc0
|
fmt: use type_to_str_using_alias instead of type_to_str in struct.v (#9431)
* fmt: use type_to_str_using_alias instead of type_to_str in struct.v
* update test
|
2021-03-24 20:13:11 +02:00 |
|
|
1b572f75e8
|
fmt: minor array wrap improvement (#9420)
|
2021-03-22 23:06:12 +01:00 |
|
|
49eeddcd1c
|
parser: set correct last line for struct inits (#9349)
|
2021-03-17 20:46:08 +02:00 |
|
|
0a06a83d9b
|
fmt: fix possible removal of PrefixExpr or blocks (#9351)
|
2021-03-17 20:43:28 +02:00 |
|
|
05b51c5b01
|
parser: correctly set pos of sql blocks (#9334)
|
2021-03-16 23:00:50 +02:00 |
|
|
e554415123
|
fmt: allow ascii art block comments (#9332)
|
2021-03-16 20:49:55 +02:00 |
|
|
f648e3f10d
|
fmt: use iembed cmts in arrays at line start when exprs come afterwards (#9285)
|
2021-03-13 09:58:50 +02:00 |
|
|
cfbb783649
|
fmt: fix linebreak in non-block consts (#9260)
|
2021-03-12 12:27:05 +02:00 |
|