Commit Graph

103 Commits (ac2c3847afc0f7a9a0d3b99064188124df6a6fb5)

Author SHA1 Message Date
Lukas Neubert ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Delyan Angelov 460f32baf2
tests: add `v test-all`, move `v test-fixed` to `v test-compiler-full` 2021-01-17 16:11:10 +02:00
Delyan Angelov 8724749728
tools: implement `v wipe-cache` to ease cleaning up the cache on windows 2020-12-30 21:36:54 +02:00
joe-conigliaro 23bfbf1665
cmd/pref: disable -usecache on windows & enable by default (commented) 2020-12-21 03:31:57 +11:00
Delyan Angelov 19bfd5ffb5
ci: fix building 2020-12-19 13:16:18 +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
Daniel Däschle 334d605d90
tools,vls: add `v test-parser examples/hello_world.v` (#7145) 2020-12-06 12:42:56 +02:00
Delyan Angelov f2d59fbc0f
cmd/v: make `echo ...|v` same as `echo ...|v run -` (#6899) 2020-11-21 15:39:47 +01:00
Delyan Angelov 92d3cff957 vfmt: run vfmt over v.v, and add it to `v test-cleancode` too 2020-11-21 10:24:11 +02:00
Larpon 82b16cbf45
v: add shell auto-completion with `source <(v complete setup bash)` (#6886) 2020-11-20 16:17:31 +02:00
Delyan Angelov 4559b4138f cmd: rename test-vet to test-cleancode 2020-11-15 16:40:35 +02:00
Delyan Angelov fee56b1902 v repl: improve the V REPL welcome message 2020-10-30 14:09:43 +02:00
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03:00
Delyan Angelov 62f6e65509 repl: fix `reset`; make `echo "print(2.0 * 3.14159)" | ./v` print only the result 2020-10-11 10:50:24 +03:00
Nick Treleaven 05dcdfd267
pref: error if unknown argument passed to `v` (#6487) 2020-09-29 03:13:54 +02:00
Delyan Angelov 79ac431e9e doctor: add first draft 2020-09-20 13:13:20 +03:00
pancake b5b53a5311
vpm: add 'vpm upgrade' to update all the outdated vpm modules (#6157) 2020-08-18 02:44:18 +02:00
Delyan Angelov 14fd7d93ca v.pref: fix `v build file.v` 2020-07-21 19:36:58 +03:00
Lukas Neubert c93467bca5
vpm: add list command (#5888) 2020-07-20 17:39:37 +03:00
Delyan Angelov c858978348 cgen: add support for `-d trace_gen` too. Add `v tracev` command. 2020-07-20 12:36:27 +03:00
Lukas Neubert cc7c8009a1
vpm: outdated command (#5833) 2020-07-15 21:55:07 +02:00
Alexander Medvednikov 03b76d19f1 repl: make the info message a bit smaller 2020-07-08 17:22:38 +02:00
Delyan Angelov 652380c5fd cgen: fix `-printfn main` 2020-07-03 17:42:59 +03:00
Ned Palacios 025652bb78
vdoc: dd .vdocignore + minor fixes 2020-06-29 11:03:09 +02:00
Alexander Medvednikov 2bfe8e5153 vet: a basic version that just checks indentation for now 2020-06-27 14:50:07 +02:00
Lukas Neubert eec5cf1eb1
vpm: use only `-v` for verbose output 2020-06-07 14:20:56 +02:00
Daniel Däschle d0f9bdf85e
vdoc: style and other improvements 2020-06-04 23:50:59 +02:00
Ned Palacios b99ba21ddd
vdoc: markdown, html, json generation + lots of fixes 2020-06-02 12:10:01 +02:00
Tim Basel 7e538d7401
utils: add args to launch_tool 2020-05-28 19:40:09 +03:00
Delyan Angelov 7585483c69 v symlink: extract to cmd/tools/vsymlink.v , use setx on windows 2020-05-26 09:30:26 +03:00
Alexander Medvednikov 81148fa2bd cmd/v: version: print only main repo hash 2020-05-16 23:52:06 +02:00
Alexander Medvednikov 8cbb9e1c1f pref: move parse_define() 2020-05-16 22:57:55 +02:00
Alexander Medvednikov 0845b2cfbe builder: skip warnings; pref: move pref creation to pref.v 2020-05-16 22:45:38 +02:00
Alexander Medvednikov 7caebc5781 doc: print available modules 2020-05-15 23:09:38 +02:00
Delyan Angelov d830620651 compiler: restore support for --enable-globals flag, and add tests. 2020-05-14 08:43:12 +03:00
Ned Palacios 5f0ad0f562
compiler: add output mode for errors and warnings, support for `-silent` flag 2020-05-10 12:26:57 +03:00
Delyan Angelov e08566d571 compiler: do not exit early, when given -o x.c or -o x.js 2020-05-08 15:31:03 +03:00
Delyan Angelov 4c320e1512 profile: support for -profile-no-inline (with it, [inline] fns will not get profiled) 2020-05-08 15:01:59 +03:00
Delyan Angelov f9fe5b60a7 v doc: skip _x.c.v when not on x, i.e. filter files like v itself 2020-05-05 08:08:03 +03:00
yuyi 4794c6a0e7
cmd: simplify internal.help => help 2020-05-04 14:21:32 +02:00
Delyan Angelov 7038f59ca5 compiler: add back support for -live 2020-05-02 01:14:44 +03:00
Delyan Angelov a6dfc6d46b compiler: support ctags with -print_v_files and .ctags.d/v.ctags 2020-04-30 19:45:50 +03:00
Delyan Angelov ce1215f507 vfmt: set Preferences.is_fmt flag (bugfix) 2020-04-27 23:20:16 +03:00
Delyan Angelov e67bf674e3 scanner: cleanup, only v.parser now depends on v.scanner 2020-04-27 16:08:04 +03:00
Alexander Medvednikov eb8973c362 builder: module caching fixes 2020-04-27 14:46:25 +02:00
Alexander Medvednikov f005079e0b pref: rename keep_c 2020-04-27 13:28:00 +02:00
Delyan Angelov 4bcdf11743 cgen: support `-profile -` and `-profile x.txt` 2020-04-25 13:41:49 +03:00
Delyan Angelov eecf92cdb0 cgen: implement -profile support. 2020-04-25 13:05:49 +03:00
Delyan Angelov e0ab318f56 cgen: add support for `v -printfn main file.v` 2020-04-25 11:15:57 +03:00
Delyan Angelov 1d9d9757cf Revert "Revert "compiler: support setting pref.output_cross_c with -os cross""
This reverts commit ba85b8d024.
2020-04-23 22:46:29 +03:00