Commit Graph

233 Commits (75c41252d9c5de5fdc7b316e00a5c7dd3e50982e)

Author SHA1 Message Date
Delyan Angelov 6134c4870b
v.util: extract v.util.version, use it to speed up building `v repl`, `v up` and `v doctor` 2021-07-27 12:59:56 +03:00
Delyan Angelov 517260a1eb
v help: support `v help topics` to list all help .txt file names 2021-07-26 09:41:11 +03:00
Delyan Angelov 88a49d35e3
v help: fix typo in `v help build-c` 2021-07-26 09:41:10 +03:00
Delyan Angelov 744a753b47
v help other: describe bug and ast subcommands 2021-07-25 10:15:38 +03:00
Delyan Angelov 016240d00b
v: support `-o - x_test.v` too, describe `-o -` in the `v help` screen 2021-07-18 16:41:32 +03:00
William Gooch 51dd8304bb
tools: make the `v` REPL help screen look nicer (#10833) 2021-07-17 11:23:29 +03:00
Delyan Angelov 7c5f012cbc
v: add a warning note to `v repl` 2021-07-16 12:01:51 +03:00
Delyan Angelov 85564b7b83
vinix: support -os vinix (part 1) 2021-07-13 11:24:09 +03:00
Delyan Angelov 972cbe2e9a
serenity: add more support 2021-07-09 11:33:51 +03:00
pancake 9356c329ac
native: drop x64 backend reference (#10701) 2021-07-08 21:26:07 +03:00
Delyan Angelov 3b5a37628f
v watch: allow customising the auto-restart timeout for the workers with an env variable VWATCH_TIMEOUT 2021-06-19 16:51:40 +03:00
shadowninja55 85e9300a78
v help: add all tool commands to `v help <command>` (#10419) 2021-06-12 15:10:30 +03:00
Andreas Heissenberger 96c8d147b2
v.gen.js: add source map creation support (inline only, no src) (#10384) 2021-06-10 08:33:46 +03:00
Delyan Angelov 007ba5178e
v: add more timing points 2021-06-06 12:23:00 +03:00
StunxFS 04642211b4
v.help: remove duplicate line (#10326) 2021-06-02 20:34:18 +03:00
lydiandy 43acda083a
cmd/tools/vast: add comments and cleanup code (#10246) 2021-05-29 17:05:05 +03:00
lydiandy e09f0234ea
tools: add `v ast file.v` (#10236) 2021-05-28 19:54:44 +03:00
Delyan Angelov 39de06c200
v.pref: cleanup V options, support the documented -output and -backend 2021-05-28 09:07:06 +03:00
Enzo 0d25106b4d
cmd/tools/vpm: improve v show (#10198) 2021-05-25 14:30:48 +03:00
pancake efa07cbcbf
native: initial support for linux-arm64 (hello world only for now) (#10176) 2021-05-23 05:54:28 +03:00
Delyan Angelov 7a4ec9f60a
tools: add --before and --after options to `v watch` 2021-05-16 17:50:16 +03:00
Delyan Angelov 252249a348
tools: add a --silent option to `v watch` 2021-05-16 17:50:16 +03:00
Delyan Angelov 7288f12847
v help: add `v help watch`, rename -watch in `v help` too 2021-05-05 21:38:41 +03:00
pancake 5152cd4a62
v help: add a `v help build-native` section (#9906) 2021-04-29 09:47:11 +03:00
Delyan Angelov 626517f5f7
tools: turn `v -watch` into a `v watch` sub-command, so that it can have its own options 2021-04-28 12:29:50 +03:00
Delyan Angelov ba512a6a8e
v help: describe CFLAGS and LDFLAGS support in `v help build-c` 2021-04-22 18:14:33 +03:00
Lukas Neubert 0b0a5de9e5
vet: hide skipped file messages behind verbose flag (#9823) 2021-04-20 17:20:50 +03:00
Enzo c174bfa52f
tools: add a `v bug file.v` tool to automatically report bugs on GitHub (#9746) 2021-04-19 21:40:54 +03:00
crthpl 0a1d0e062d
freestanding: small fixes (#9760) 2021-04-17 02:38:41 +03:00
Delyan Angelov c7752ce8d3
v: add an -assert aborts/backtraces option to ease debugging 2021-04-15 20:26:51 +03:00
Delyan Angelov d90be54850
v: add -cstrict for optionally turning on all ccoptions.wargs 2021-04-15 14:56:45 +03:00
Delyan Angelov 365f9fcfc5
v.v: cleanup deprecated commands test-fixed, test-compiler-full, test-compiler 2021-04-14 09:59:52 +03:00
crthpl 14434cc86a
all: bare metal support (fix `-freestanding`) (#9624) 2021-04-14 07:50:50 +02:00
Uwe Krüger 10bf974cda
all: gc: provide optimized mode (#9716) 2021-04-14 00:40:26 +02:00
Delyan Angelov 19e4f5ec73
tools: implement progres bar for `v check-md .` 2021-04-12 15:51:28 +03:00
Delyan Angelov ee42dd914c
tools: make `v check-md` more strict about unformatted code samples in `failcompile` sections. 2021-04-12 15:11:57 +03:00
Delyan Angelov c698fa1a58
all: support `v -watch run` (#9577) 2021-04-04 16:05:06 +02:00
Uwe Krüger 97f43d6a97
gc: make generational mode of Boehm-GC available (#9514) 2021-03-30 09:36:22 +02:00
Uwe Krüger 257eadd2e1
gc: add `-gc boehm_leak` for leak detection (#9464) 2021-03-25 16:52:33 +01:00
Lukas Neubert 7664964c56
vfmt: format all of cmd/ and add it to `v test-cleancode` (#9418) 2021-03-24 23:37:10 +02:00
Delyan Angelov 8810af76df
all: support `-gc boehm` on systems with libgc-dev installed (#9382) 2021-03-20 14:16:36 +01:00
Lukas Neubert 39a9beb9e0
vet: add -W flag and detailed help (#9331) 2021-03-16 19:49:06 +02:00
Swastik Baranwal 26138f98af
v doc: implement color highlighting for the stdout format, enable it by default (#9312) 2021-03-15 13:21:19 +02:00
StunxFS e09a8a47b0
vcreate: minor tweaks (#9275) 2021-03-13 08:43:12 +02:00
Major Taylor 98a5e9f369
v help: unify and clarify some 'help' documents (#9276) 2021-03-13 08:37:12 +02:00
Ned Palacios 62458e3553
vdoc: remove local mode (#9282) 2021-03-13 07:49:03 +02:00
fossdd 27cb0d97cc
v.v: fix exit codes and add stderr (#9247) 2021-03-11 14:52:13 +02:00
Delyan Angelov d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result (#8974) 2021-03-08 20:52:13 +02:00
Patrick Hintermayer 8f0ede34ad
v doc: add available output formats (#9180) 2021-03-08 17:21:40 +02:00
zakuro 7a9d9f1e78
v new: accept name and description from argument (#9142) 2021-03-06 21:03:20 +02:00