Commit Graph

173 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 cf93be918f
docs: update debugging information 2021-01-13 12:50:35 +02:00
Delyan Angelov 083dc23db8
gen: implement a `[manualfree]` tag, for functions, that want to do their own memory management 2021-01-08 16:22:27 +02:00
zakuro 1fb6710c89
build: remove `v build file.v` (#7695) 2020-12-31 15:24:55 +01:00
Delyan Angelov c3e8e2ad31
help: describe wipe-cache in `v help other` 2020-12-30 22:10:18 +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
Lukas Neubert e8b5fa2134
vfmt: fix early exit when verifying multiple files; update help (#7611) 2020-12-27 14:36:59 +01:00
Stéphane Aulery 712bacab98
help: add an entry about the doctor tool in `v help` (#7589) 2020-12-26 22:09:58 +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
Alexander Medvednikov a4aa9c0320 help: remove "build" 2020-12-19 10:35:32 +01:00
Lukas Neubert a9c71a89cf
vfmt: improve the documentation for the -c flag (#7196) 2020-12-09 10:58:37 +02:00
Delyan Angelov d5915bde7c
parser: implement support for -Wimpure-v (#7195) 2020-12-08 17:52:24 +01:00
Daniel Däschle 334d605d90
tools,vls: add `v test-parser examples/hello_world.v` (#7145) 2020-12-06 12:42:56 +02:00
Daniel Däschle 47d0ed308d
parser: prepare for better VLS integration, more accurate parser errors (#7119) 2020-12-04 20:34:05 +02:00
Nick Treleaven 8f15af6adc
pref: add -m32, -m64 command-line options (#7011) 2020-11-29 14:53:49 +01:00
Nick Treleaven 9772306ae9
help: list -showcc, -w (#7013) 2020-11-29 14:11:12 +01:00
Alexander Medvednikov 13948152b6 cmd/v: rename reuse-tmpc to keepc 2020-11-27 20:16:24 +01: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
Nicolas Sauzede 159932d59b
v: run code from stdin `echo println(2+2) | v run -`, with no repl limits (#6884) 2020-11-20 10:25:59 +02:00
Delyan Angelov 4559b4138f cmd: rename test-vet to test-cleancode 2020-11-15 16:40:35 +02:00
Delyan Angelov 4b35495fbe all: support VMODULES environment variable (defaulting to ~/.vmodules) 2020-11-08 08:07:17 +02:00
Delyan Angelov fee56b1902 v repl: improve the V REPL welcome message 2020-10-30 14:09:43 +02:00
Jabba Laci a7e3092165
help text is nicely aligned (#6683) 2020-10-26 11:24:25 +02:00
Delyan Angelov 8b01146b90 compiler: implement -W and -reuse-tmpc 2020-10-24 20:34:50 +03:00
Delyan Angelov 23ee3018c3 tools: add `v test-vet` 2020-10-24 16:37:58 +03:00
Alexey 3ae3196d42
vdoc: allow to omit timestamp (#6652) 2020-10-19 21:30:37 +02: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
Alexander Medvednikov defa9c1d00 cmd: update flags help 2020-09-29 03:28:41 +02:00
Nick Treleaven 05dcdfd267
pref: error if unknown argument passed to `v` (#6487) 2020-09-29 03:13:54 +02:00
Denis 6981f2afeb
help: print errors to stderr (#6486) 2020-09-28 06:14:34 +02:00
Ned Palacios 744f685973
vdoc: document variables in a specific pos/scope; support `v doc os File` (#6354) 2020-09-21 17:40:39 +03:00
Delyan Angelov 79ac431e9e doctor: add first draft 2020-09-20 13:13:20 +03:00
Lukas Neubert 5c8e1c7eeb
help: remove note about v2 backend (#6364) 2020-09-14 15:33:58 +02:00
Nick Treleaven 497bf226e2
add TESTS.md file to explain different tests (#6318) 2020-09-07 13:48:15 +02:00
pancake b5b53a5311
vpm: add 'vpm upgrade' to update all the outdated vpm modules (#6157) 2020-08-18 02:44:18 +02:00
Alexander Medvednikov 3a461e7cee vfmt: update help 2020-08-06 18:09:14 +02:00
pancake 36352085ae
v: add support for iOS crosscompilation (#5943) 2020-07-23 07:58:44 +03: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
Ryan Willis e804ba5294
vfmt: add support for VDIFF_TOOL, detect more diffing tools (#5857) 2020-07-17 14:03:07 +03:00
Lukas Neubert cc7c8009a1
vpm: outdated command (#5833) 2020-07-15 21:55:07 +02:00
Delyan Angelov e23925f2be pref: add -show-timings option 2020-07-14 18:47:40 +03:00
Lukas Neubert ee46c8075f
help: document existence of vet (#5816) 2020-07-13 16:41:47 +02:00
Alexander Medvednikov 03b76d19f1 repl: make the info message a bit smaller 2020-07-08 17:22:38 +02:00