Delyan Angelov
|
955dc12523
|
v: replace execuast => executable
|
2021-05-31 09:39:18 +03:00 |
Delyan Angelov
|
39de06c200
|
v.pref: cleanup V options, support the documented -output and -backend
|
2021-05-28 09:07:06 +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 |
Enzo
|
4f246222b0
|
v: replace `--enable-globals` with `-enable-globals` (#9898)
|
2021-04-28 07:44:28 +03:00 |
pancake
|
9a3869c521
|
v.ast: rename aarch64 to arm64 and aarch32 to arm32
|
2021-04-27 12:24:58 +03:00 |
pancake
|
6750ed254f
|
x64: rename to `native` to not conflict with the x64 comptime variable
|
2021-04-27 12:24:58 +03:00 |
Delyan Angelov
|
1d2ef79545
|
v: fix -assert aborts
|
2021-04-15 20:29:58 +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 |
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 |
crthpl
|
903dd49212
|
v: add support for `$if freestanding {`, without using it (part 1) (#9656)
|
2021-04-09 23:24:25 +03:00 |
Delyan Angelov
|
c698fa1a58
|
all: support `v -watch run` (#9577)
|
2021-04-04 16:05:06 +02:00 |
Alexander Medvednikov
|
7385f8e56b
|
all: a massive merge of ast and table modules
|
2021-04-02 01:57:09 +03: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 |
Alexander Medvednikov
|
0c055a1ce9
|
all: s.contains(s2) instead of `in`
|
2021-03-23 11:38:56 +03:00 |
Delyan Angelov
|
8810af76df
|
all: support `-gc boehm` on systems with libgc-dev installed (#9382)
|
2021-03-20 14:16:36 +01:00 |
crthpl
|
fafb035fb5
|
all: reimplement inline assembly (#8645)
|
2021-03-17 01:43:17 +01:00 |
Leah Lundqvist
|
0823ea4af1
|
builder: produce an iOS binary instead of a bundle (#9316)
|
2021-03-15 19:03:05 +01:00 |
Delyan Angelov
|
25c07c2f43
|
v.ast: handle more expressions in Expr.str()
|
2021-03-15 06:27:56 +02:00 |
Delyan Angelov
|
69f1e7c9c3
|
v: fixes for `v -autofree -o v2 cmd/v`
|
2021-03-14 09:37:38 +02:00 |
Delyan Angelov
|
64bc2fb40a
|
v: fix `[if debug] fn abc(){} ... abc()`
|
2021-03-07 12:05:07 +02:00 |
Lukas Neubert
|
fdcfe397d4
|
fmt: write empty or blocks the same as empty fn bodies, empty structs, etc (#9136)
|
2021-03-06 21:04:51 +02:00 |
Delyan Angelov
|
0f042124cb
|
tests: support `fn test_fn() ? { opt()? }`
|
2021-03-05 14:18:21 +02:00 |
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 |
spaceface
|
b712af56fd
|
all: bring back `panic(err.msg)` -> `panic(err)` (#9022)
|
2021-03-01 00:18:14 +01:00 |
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
spaceface
|
adf2aa8760
|
pref: add a `-debug-tcc` alias option (#8834)
|
2021-02-20 18:53:22 +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 |
zakuro
|
b3a26ca0ce
|
v.pref: make passing multiple target .v files an error (#8814)
|
2021-02-18 09:42:00 +02:00 |
Uwe Krüger
|
374739b804
|
all: rename `[ref_only]` -> `[heap]` (#8718)
|
2021-02-13 16:52:01 +02:00 |
Delyan Angelov
|
40fff7b56a
|
v.pref: support `v -skip-unused run examples/hello_world.v`
|
2021-02-05 11:12:28 +02:00 |
Alexander Medvednikov
|
1084b43ffb
|
all: ast walker for marking unused fns
|
2021-02-05 08:05:35 +01:00 |
Delyan Angelov
|
17062dc5c8
|
v.pref: support `-obf` in addition to `-obfuscate`, as described in `v help build`
|
2021-02-02 12:24:34 +02:00 |
Alexander Medvednikov
|
2c4674eb42
|
cgen: obfuscate functions
|
2021-02-02 09:14:41 +01:00 |
Lukas Neubert
|
cf1084105c
|
fmt: allow single line ternary if as function argument (#8486)
|
2021-02-01 20:08:42 +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
|
e5a84719ca
|
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}`
|
2021-01-26 16:43:17 +02:00 |
Delyan Angelov
|
728344ff65
|
ci: fix `v test-cleancode`
|
2021-01-25 12:55:01 +02:00 |
Lukas Neubert
|
8b61891348
|
fmt: smarter if condition wrapping (#8201)
|
2021-01-23 10:33:22 +02:00 |
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
Delyan Angelov
|
5ae55731b9
|
embed: move to `v.embed_file`, fix CI failing test
|
2021-01-16 20:03:07 +02:00 |
Daniel Däschle
|
53941c4a0a
|
fmt: fix if cond break readability (#8132)
|
2021-01-16 02:12:17 +01:00 |
zakuro
|
33694665f0
|
fmt: align each contiguous field of struct. not the whole. (#7981)
|
2021-01-12 04:38:43 +01: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
|
dd516858d4
|
fmt: align struct field comments (#7632)
|
2021-01-03 21:10:25 +01:00 |
zakuro
|
1fb6710c89
|
build: remove `v build file.v` (#7695)
|
2020-12-31 15:24:55 +01:00 |