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

34 Commits

Author SHA1 Message Date
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
c0b37409d2 tools: support a v vet -p file.v option that will warn about private functions with missing documentation 2022-04-30 16:09:30 +03:00
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
291a1ffd8d token: rename Position to Pos, rename position() to pos() (#13279) 2022-01-26 12:36:28 +02:00
fa6f7d4c83 os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
25bf68e2f1 ci: os.chdir() fixes for windows jobs 2021-08-28 16:21:46 +03:00
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
6745a7d725 vet: allow vetting of vsh files (#9997) 2021-05-04 18:25:56 +03:00
0b0a5de9e5 vet: hide skipped file messages behind verbose flag (#9823) 2021-04-20 17:20:50 +03:00
b2c16ced57 parser: filter out vet space indent errors inside StringInterLiterals (#9695) 2021-04-12 16:03:22 +03:00
46e7e27ba3 v vet: give an error for trailing whitespace (#9574) 2021-04-09 13:22:14 +03:00
10619d098c ci: fix a race in vlib/v/compiler_errors_test.v execution on m1 2021-04-05 22:57:59 +03:00
646d46b4dc vet: turn warnings into errors with -W flag (#9575) 2021-04-03 18:30:15 +02:00
094441c863 vet: remove false positive space indent errors inside strings (#9568) 2021-04-03 12:16:49 +02:00
e438b158a6 vet: remove false positive space indentation error inside block comments (#9565) 2021-04-02 16:26:53 +02:00
7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
8b7085e050 vvet: big cleanup (#9454) 2021-03-24 23:53:44 +02:00
9b78d7d21d tools: check formatting of more modules with v test-cleancode, colorize v vet output 2021-03-24 12:39:39 +02:00
39a9beb9e0 vet: add -W flag and detailed help (#9331) 2021-03-16 19:49:06 +02:00
d7049ae2da os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
b712af56fd all: bring back panic(err.msg) -> panic(err) (#9022) 2021-03-01 00:18:14 +01:00
d63b7bc35a all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
3e4e0a35e3 vvet: fix silent exit when invoked on a single .v file. 2021-02-04 17:23:58 +02:00
dbaccd4272 vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00
29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
8b61891348 fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
ee663364de vet: simplify fn name identifying, add warning for incomplete documentation (#8227) 2021-01-21 12:46:50 +01:00
ac2c3847af all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
53941c4a0a fmt: fix if cond break readability (#8132) 2021-01-16 02:12:17 +01:00
33694665f0 fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
93ad595ffb vet: add suggestions for function documentation (#7890) 2021-01-10 18:48:39 +02:00
fb7a5ee3af ci: fix warning for cmd/tools/vvet/vvet.v 2021-01-09 19:41:30 +02:00
8f315d226b vvet: move to own subdir, prepare richer suggestions (#7989) 2021-01-09 16:11:49 +02:00