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

183 Commits

Author SHA1 Message Date
pancake
c65d65a3f5
v: use dash instead of lowerdash for -print-v-files (#9111) 2021-03-04 14:38:05 +02:00
Delyan Angelov
31321b68ea
v: show help for -h, -help, and --help, in addition to v help 2021-03-02 12:22:10 +02:00
Lukas Neubert
cfe9f6d5d3
help: remove http doc server options (#8839) 2021-02-21 16:18:50 +02:00
Delyan Angelov
0142d58aa6
v.pref: prevent Too many targets. from triggering when the command is an external one 2021-02-18 12:13:28 +02:00
Lukas Neubert
76ea3e7b41
tools/check-md: allow directories as args and deprecate -all flag (#8582) 2021-02-05 16:46:20 +01:00
Julia Bogdan Filipchuk
d26ac0f6cb
vfmt: add ability to use vfmt as a filter from stdin to stdout (#8432) 2021-01-30 12:38:54 +02:00
Delyan Angelov
4d180171ba
builder: implement -dump-c-flags flags.txt 2021-01-29 18:05:14 +02:00
Delyan Angelov
dbaccd4272
vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00
Alexander Medvednikov
29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
Delyan Angelov
927606dc39
tools: rename v test-compiler-full to v test-self 2021-01-19 10:41:51 +02:00
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