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

221 Commits

Author SHA1 Message Date
Delyan Angelov
17266ecb07 tools: support cmd/tools/.disable_autorecompilation in v up and v self too 2021-01-18 09:33:33 +02:00
Delyan Angelov
72790cda83 v.util: support cmd/tools/.disable_autorecompilation 2021-01-18 08:43:20 +02:00
zakuro
33694665f0 fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
Swastik Baranwal
1f5255c2bb cgen: implement >= and <= (#7991) 2021-01-10 12:24:46 +02:00
Delyan Angelov
aa37382e8d tools: let v fmt use VTMP too, stabilise v test-cleancode 2021-01-09 20:41:15 +02:00
Delyan Angelov
9593ad20f9 v.util: extend launch_tool with auto recompilation of a folder with several .v files too 2021-01-06 23:48:38 +02:00
Alexander Medvednikov
3e04dfc79f builtin: fix byte.str() (part 1) 2021-01-05 18:59:51 +01:00
yuyi
443bf44031 tests: fix ci error in vtest-fixed (fix #7827) (#7830) 2021-01-03 16:38:28 +01:00
Swastik Baranwal
9033099676 cgen: implement overriding of != and == (#7837) 2021-01-03 16:19:02 +01:00
yuyi
01e098aa77 vrepl: fix v repl on Windows (#7798) 2021-01-02 12:17:39 +01:00
Swastik Baranwal
24b18f05c4 cgen: implement > and < for structs (#7774) 2021-01-01 14:54:32 +01:00
Ryan Prior
64e7c54884 v.util: accomodate reproducible build environments like guix, by not recompiling cmd/tools when mtime < 1024 (#7702) 2020-12-31 10:31:38 +02:00
Delyan Angelov
b4f02adc32 os: add os.execve/3 (extracted from unix_spawn_process); use os.execvp/2 in v.util.launch_tool/3 2020-12-30 18:14:03 +02:00
Alexander Medvednikov
e26a690975 0.2.1 2020-12-29 21:24:33 +01:00
Delyan Angelov
8872b0a23b v.util: fix launch_tool for the vdoc (folder) case 2020-12-27 17:43:44 +02:00
Daniel Däschle
929a002229 vdoc: move to it's own directory cmd/tools/vdoc/ (#7606) 2020-12-27 14:43:23 +02:00
spaceface
214290d55b fmt: add a space around single-line unsafe expressions (#7505) 2020-12-23 19:13:42 +01:00
Alexander Medvednikov
e4f94b6ad5 V 0.2 2020-12-22 20:48:45 +01:00
joe-conigliaro
d782db8878 util: add clipboard & ui to bundle_modules (fix dupe symbols) 2020-12-20 03:38:11 +11:00
Delyan Angelov
2f1cc2bd08 v.util: simplify the sorting of v's timing output 2020-12-19 12:55:42 +02:00
Delyan Angelov
a1c81aa49d v,gen,checker: implement -d time_checking -d time_cgening -d time_v 2020-12-19 12:36:08 +02:00
Delyan Angelov
6f7889a3ca parser: support for -d time_parsing 2020-12-18 17:23:57 +02:00
Delyan Angelov
7e1e247f56 builder: implement b.timing_start/1 and b.timing_measure/1 2020-12-18 13:21:17 +02:00
joe-conigliaro
239a8c8aa3 cgen: cached modules fixes (#7345) 2020-12-15 16:07:06 +01:00
spaceface777
50a3009113 fmt: make single-stmt or blocks single-line (#7126) 2020-12-04 13:25:23 +02:00
Alexander Medvednikov
ed39d151b7 V 0.1.30 2020-11-28 04:43:11 +01:00
pancake
d8f64f516b js: fix codegen for multiline strings (#6791) 2020-11-18 18:23:44 +01:00
Lukas Neubert
dbdcef5166 quote_path: also quote ampersands (#6846) 2020-11-16 19:26:44 +02:00
Delyan Angelov
4b35495fbe all: support VMODULES environment variable (defaulting to ~/.vmodules) 2020-11-08 08:07:17 +02:00
Larpon
785bf40f67 all: remove comp time '@' expansion from scanner (#6746) 2020-11-05 10:12:32 +02:00
Ned Palacios
7b5a580c0c util: split bom checking to a separate fn (#6694) 2020-10-29 17:21:08 +01:00
Delyan Angelov
23ee3018c3 tools: add v test-vet 2020-10-24 16:37:58 +03:00
Delyan Angelov
9322e91d1b v test-fmt: add 1 sec sleep before rebuilding vfmt, to avoid its parallel recompilation afterwards 2020-10-21 15:20:07 +03:00
Delyan Angelov
87f659a0dc ci: fix should_recompile_tool/2 2020-10-21 15:07:57 +03:00
Delyan Angelov
1aa6c125d9 ci: fix v self 2020-10-21 13:43:18 +03:00
Delyan Angelov
02db94c4bc v test-fmt: reuse v.util.should_recompile_tool/2, extracted from v.util.launch_tool/3 2020-10-21 12:54:10 +03:00
Enzo
b083f4014b fmt: fix multiple things and format most of the compiler (#6631)
Format expressions inside string interpolation like the rest (it used to be a+b instead of a + b, not too sure why)
Fix formatting some match branches when there were only one statement inside (it was inlined)
Fix parsing and formatting some comments edge case on struct field init. You should check out this test because the result is a bit different from before. I personally find it more logical but I would understand if the former format was to stay
Fix formatting of void-returning function signature
2020-10-15 22:12:59 +02:00
Alexander Medvednikov
7da1afa140 all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests 2020-10-15 12:32:28 +02:00
Enzo
93bb7564dc fmt: fix multiple problems with types (#6603) 2020-10-12 09:27:55 +03:00
Delyan Angelov
ac384db71f builder: cleanup .timing_message/2 2020-10-01 18:21:34 +03:00
Delyan Angelov
a0e4be04be compiler: print more suggestions, without a good specific match 2020-10-01 17:27:31 +03:00
Henrixounez
46dc6cc24b repl: fix ctrl+z job to background on linux (#6417) 2020-09-18 16:34:00 +03:00
Alexander Medvednikov
ea31f75098 checker: more default field fixes 2020-09-09 14:14:44 +02:00
Uwe Krüger
cbcba2e4cf parser: enable module auto import (of sync) (#6271) 2020-08-31 10:44:39 +02:00
Uwe Krüger
c351f8fa47 checker, builtin: prepage for builtin channels (#6262) 2020-08-30 08:55:31 +02:00
spaceface777
d663f57d43 parser: move flag logic to checker (#6239) 2020-08-28 09:24:04 +03:00
Alexander Medvednikov
a55bea44da table: register rune type 2020-08-25 18:15:24 +02:00
Alexander Medvednikov
f965ddae49 parser: handle several errors in types; cgen: objC includes 2020-08-16 19:16:59 +02:00
Nick Treleaven
bab5c21224 parser: warn when fixed-size ArrayInit doesn't have trailing {}. (#6137) 2020-08-16 04:54:05 +02:00
Delyan Angelov
ca7a64a451 cgen: add support for -g again 2020-08-12 02:05:45 +03:00