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

50 Commits

Author SHA1 Message Date
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
6750ed254f x64: rename to native to not conflict with the x64 comptime variable 2021-04-27 12:24:58 +03:00
16e79bc3ca tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +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
14434cc86a all: bare metal support (fix -freestanding) (#9624) 2021-04-14 07:50:50 +02:00
85e9cf1bd3 tests: add vlib/x/json2 to vtest-cleancode.v 2021-04-11 11:34:08 +03:00
cca06fce90 encoding.utf8: remove const unicode_con_table_up_to_low table (#9672) 2021-04-11 10:28:19 +03:00
46e7e27ba3 v vet: give an error for trailing whitespace (#9574) 2021-04-09 13:22:14 +03:00
dd31a1de9f ci: fix the rest of v test-cleancode 5. Describe the problems of the SKIPed files 2021-04-05 21:47:11 +03:00
d11fb8497a ci: fix some of v test-cleancode 3 2021-04-05 21:21:46 +03:00
7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
4a10514081 tests: run vfmt over some of the tests in vlib/v/tests (#9455) 2021-03-27 19:29:57 +02:00
7664964c56 vfmt: format all of cmd/ and add it to v test-cleancode (#9418) 2021-03-24 23:37:10 +02:00
6bc9ef7373 builtin: vfmt every .v file, except vlib/builtin/int_test.v (#9448) 2021-03-24 20:39:59 +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
dad5a5e774 v test-cleancode: add -fix flag (#9364) 2021-03-19 12:37:44 +02:00
04095f4088 ci: fix failing v -W build-tools and v -W build-examples; run vfmt. 2021-03-19 09:49:26 +02:00
ddbe57e00a v test-cleancode: ensure more .v files are kept vmft-ed 2021-03-14 12:17:31 +02:00
98a12fdc2e ci: fix v test-cleancode 2021-03-07 19:15:47 +02:00
18e88d2fc8 test-cleancode: add more of vlib/v (#8882) 2021-02-21 20:17:12 +02:00
32cc95a340 test-cleancode: check some of the examples too 2021-02-04 17:34:59 +02:00
ffedbe4b81 cgen: move cgen from v.gen to v.gen.c (#8515) 2021-02-02 15:41:51 +01:00
d991712b3c gg: native rendering mode on macOS 2021-01-23 10:25:43 +01:00
aa37382e8d tools: let v fmt use VTMP too, stabilise v test-cleancode 2021-01-09 20:41:15 +02:00
ca83746884 tools: ensure that v test-cleancode is always run in the vroot folder 2021-01-09 19:25:50 +02:00
8f315d226b vvet: move to own subdir, prepare richer suggestions (#7989) 2021-01-09 16:11:49 +02:00
b299fb1e92 vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00
b7a5dbf7b4 test-cleancode: add the rest of vlib/x/websocket/ 2020-12-28 07:25:46 +02:00
bd67b647f2 websocket: vfmt 2020-12-28 01:06:57 +01:00
6f194f2fa9 test-cleancode: add benchmark and bitfield (#7613) 2020-12-27 15:51:55 +02:00
929a002229 vdoc: move to it's own directory cmd/tools/vdoc/ (#7606) 2020-12-27 14:43:23 +02:00
d563261e58 vweb: run vfmt, add it to v test-cleancode 2020-12-27 11:38:12 +02:00
13b14ecead test-cleancode: add the arrays module too (#7583) 2020-12-26 20:21:52 +02:00
6969300f8a test-cleancode: add vlib/orm (#7577) 2020-12-26 14:40:22 +02:00
fc251a653e test-cleancode: remove time.v duplicate (#7460) 2020-12-22 10:18:37 +02:00
93c0f503a2 math.big: make big.from_string take a decimal, add big.from_hex_string 2020-12-22 09:45:56 +02:00
9eb6c4ef87 flag: run vfmt over vlib/flag, add it to vtest-cleancode.v 2020-12-21 22:24:10 +02:00
6c341a77f5 strings: run v fmt (#7438) 2020-12-21 22:00:32 +02:00
3c210a57f9 all: minor array fixes 2020-12-20 15:40:49 +01:00
742e5a91ac tools/clean: fix path 2020-12-20 10:45:56 +01:00
4a5fb854e0 array: vfmt array_test.v 2020-12-20 10:34:19 +01:00
1ee57649b9 os: vfmt all of os .v files, add it to v test-cleancode with no exceptions 2020-12-16 14:15:11 +02:00
88a8507dd8 os: vfmt most of os, add it to v test-cleancode 2020-12-16 11:08:23 +02:00
f4419328b2 tools: fix v test-cleancode 2020-12-15 10:38:38 +02:00
999fe846e5 vtest-cleancode: add builtin/map.v to fmt list (#7285) 2020-12-14 12:31:24 +02:00
2ba8d31118 vdoc: fix sorting; fix missing symbols; document functions (#7161) 2020-12-07 02:43:25 +01:00
92d3cff957 vfmt: run vfmt over v.v, and add it to v test-cleancode too 2020-11-21 10:24:11 +02:00
4559b4138f cmd: rename test-vet to test-cleancode 2020-11-15 16:40:35 +02:00