Commit Graph

253 Commits (ddec89f9ee44a85b593b8caa8f833470139ce386)

Author SHA1 Message Date
Larpon 5deb56fc79
docs: add `v shader` section, add help text (#12594) 2021-11-28 17:17:04 +02:00
yuyi 08667c5645
pref: allow running a .vsh script with just `v build.vsh gcc`, instead of `v run build.vsh gcc` (#12409) 2021-11-08 15:18:11 +02:00
Delyan Angelov a85707246f
help: document `-skip-unused` in the `v help` output. 2021-10-21 16:33:04 +03:00
Lance Fredrickson 7c1fff3495
builder: pass `-std=gnu99` to the C backend under linux (#12236) 2021-10-20 14:26:25 +03:00
Larpon 678e3a210d
tools: add vshader (#12195) 2021-10-16 22:10:48 +03:00
Delyan Angelov fbe54e49f5
tools: support `v fmt -w -backup file.v` 2021-10-07 13:59:49 +03:00
crthpl 85b58b03a3
cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
Delyan Angelov 5cf0ee46b3
v.pref,v.builder: support overriding the C cross compiler by setting `VCROSS_COMPILER_NAME` 2021-09-20 19:57:43 +03:00
Enzo e3b65092d6
parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
Ned Palacios aedb6b8e84
v.builder: implement a `-check` mode, that runs only the parser + the checker, without codegen (#11414) 2021-09-07 07:17:53 +03:00
pancake 4503ff337b
v help: enumerate all `js_*` backends (#11383)
Co-authored-by: pancake <pancake@nopcode.org>
2021-09-04 11:03:21 +03:00
Leo Developer 7bffabbce2
vdoc: add `-comments` and new comment merger (#11221) 2021-08-19 10:20:43 +03:00
Delyan Angelov 0cbc77d881
Revert "vpm: support `v install ui https://github.com/vlang/markdown` (git urls by default), cleanup vpm.v (#11189)"
This reverts commit eee71cebd4.
2021-08-18 18:58:24 +03:00
mahdi ramezaan zaade eee71cebd4
vpm: support `v install ui https://github.com/vlang/markdown` (git urls by default), cleanup vpm.v (#11189) 2021-08-18 14:05:10 +03:00
Delyan Angelov 0be20f1556
v.pref: keep the -error-limit option for now too 2021-08-15 13:46:50 +03:00
Leo Developer b3094b0667
checker: abort prematurely on too many errors (#11185) 2021-08-15 13:41:51 +03:00
Delyan Angelov eef7eea7bc
v.pref, v.builder: support `-no-std` (skips passing `-std=c99` to the C backend) 2021-08-15 11:05:06 +03:00
Delyan Angelov f7cbcc241a
v.pref, v.builder: support `-no-rsp` (pass C options directly to the C compiler backend, without writing response files) 2021-08-15 10:47:44 +03:00
Leo Developer 8a8a0932f7
all: add limit to accumulated errors / warnings (#11183) 2021-08-14 19:49:21 +03:00
mahdi ramezaan zaade 5bd602d0a7
vpm: install directly from git/hg (#11166) 2021-08-13 12:28:30 +03:00
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