Delyan Angelov
|
008d15dcb5
|
builder,pref: add support for -no-builtin (useful for writing Linux kernel modules)
|
2021-10-23 12:53:53 +03:00 |
|
czkz
|
da7dad07a3
|
builder: fix sigint handling for v run (#12246)
|
2021-10-21 16:40:32 +03:00 |
|
yuyi
|
ff02c19827
|
table, builder, checker: cleanup unwrap_generic (#12241)
|
2021-10-21 05:48:02 +03:00 |
|
Lance Fredrickson
|
7c1fff3495
|
builder: pass -std=gnu99 to the C backend under linux (#12236)
|
2021-10-20 14:26:25 +03:00 |
|
Delyan Angelov
|
b23984a211
|
builder: only print the thirdparty object rebuilding line with '-v'
|
2021-10-18 13:28:09 +03:00 |
|
czkz
|
3a073329ff
|
builder: use os.new_process() instead of os.system() in v run (#12214)
|
2021-10-17 19:01:34 +03:00 |
|
Delyan Angelov
|
dee4ffbc99
|
builder: make -usecache rebuild cached, but changed modules, and their dependants (#12193)
|
2021-10-15 12:22:59 +03:00 |
|
pancake
|
a0a0ae85eb
|
native: add support for pe64 when -os windows is used (#12149)
|
2021-10-12 10:43:40 +03:00 |
|
Delyan Angelov
|
149517ced4
|
v.builder,v.gen: time Builder.front_stages.parse_files, Builder.resolve_deps, Gen.sort_structs
|
2021-09-30 20:49:19 +03:00 |
|
playX
|
4333a53f28
|
js: support running .js.v tests in v test-self , fixes for array methods & codegen (#12011)
|
2021-09-29 15:33:14 +03:00 |
|
Delyan Angelov
|
87fe15e39f
|
ci: fix typo
|
2021-09-28 15:30:05 +03:00 |
|
Delyan Angelov
|
3467ab1551
|
ci: fix the g++ build and the alpine-musl task
|
2021-09-28 15:29:00 +03:00 |
|
crthpl
|
85b58b03a3
|
cgen: parallelize (#10844)
|
2021-09-28 10:28:04 +03:00 |
|
yuyi
|
108a01d65f
|
fmt: fix unnecessary line break in array init (fix #11448) (#11562)
|
2021-09-21 16:20:09 +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 |
|
Delyan Angelov
|
6b2cc9c5cf
|
v.pref: add a simple options_test.v to check for -cflags regressions
|
2021-09-18 16:08:15 +03:00 |
|
Delyan Angelov
|
2eeba4758a
|
v.builder: fix -cc msvc -cflags /O2 and support CFLAGS and LDFLAGS env vars
|
2021-09-18 09:14:21 +03:00 |
|
yuyi
|
fb75d528eb
|
builder: remove panics, when cleaning up tmp files after tests (#11525)
|
2021-09-17 20:56:33 +03:00 |
|
playX
|
c175b4fd48
|
v.gen.js: refactor code, fix alias codegen, -stats now again works with tests on the JS backend (#11512)
|
2021-09-16 14:00:15 +03:00 |
|
Ekopalypse
|
41fc4c55c6
|
v.builder: simplify target architecture logic for msvc (#11491)
|
2021-09-14 17:47:26 +03:00 |
|
Ekopalypse
|
f9eb14d914
|
builder: remove fPic argument from windows builds (#11467)
|
2021-09-11 04:48:02 +03:00 |
|
Delyan Angelov
|
bdd053fcf1
|
v.builder: fix ./v examples/v_script.vsh on windows (this quickfix is thanks to yuyi98)
|
2021-09-10 12:30:40 +03:00 |
|
playX
|
72089c4feb
|
js: use prefixed names for functions and global symbols (#11387)
|
2021-09-08 20:30:46 +03:00 |
|
Delyan Angelov
|
aec016bb14
|
v.builder: change exit code of v -check file.v to 0, when file.v is clean from any errors.
|
2021-09-07 07:29:45 +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 |
|
Delyan Angelov
|
9496fcdfe1
|
v.builder: fix compilation with tcc on FreeBSD 13.0
|
2021-08-30 13:21:49 +00:00 |
|
Alexander Medvednikov
|
853d3cb83e
|
os: make chmod() return error
|
2021-08-28 09:37:24 +03:00 |
|
Alexander Medvednikov
|
858ba25d55
|
os: make chdir() return error
|
2021-08-28 09:35:39 +03:00 |
|
Alexander Medvednikov
|
4824b409b1
|
builder: simplify the C error message
|
2021-08-24 06:24:35 +03:00 |
|
Delyan Angelov
|
9ca99c6f93
|
v.builder: add -Wl,--allow-multiple-definition when targeting FreeBSD
|
2021-08-18 12:57:44 +03:00 |
|
Leo Developer
|
b3094b0667
|
checker: abort prematurely on too many errors (#11185)
|
2021-08-15 13:41:51 +03:00 |
|
Delyan Angelov
|
6843b85063
|
ci: fix clang -std=c99 -D_DEFAULT_SOURCE -o v vc/v.c warnings
|
2021-08-15 11:12:48 +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 |
|
Delyan Angelov
|
d540b3f1a8
|
v.util: improve formatted_error by adding cached_file2sourcelines, so .split_into_lines is called just once (important for long source files with many errors)
|
2021-08-14 23:01:30 +03:00 |
|
Leo Developer
|
f6d7170e77
|
checker: changes related to warn/error limit (#11184)
|
2021-08-14 22:14:13 +03:00 |
|
Delyan Angelov
|
1743ad05c0
|
v.util: add a small cache for util.read_file, so reading individual source files is done just once
|
2021-08-14 21:59:28 +03:00 |
|
Caden Haustein
|
cf0767ad6c
|
v: add constant folding AST transformation (#11085)
|
2021-08-06 23:19:18 +03:00 |
|
Delyan Angelov
|
33e4dc3ad3
|
ci: fix coutput_test.v on windows by fixing -o - on windows
|
2021-08-01 00:27:06 +03:00 |
|
Delyan Angelov
|
d25bd95a0e
|
v: support -show-depgraph in addition to -show-callgraph
|
2021-07-28 16:42:11 +03:00 |
|
Delyan Angelov
|
b0a721b2ec
|
js: draft support for compiling -b js x_test.v
|
2021-07-27 13:49:47 +03:00 |
|
Delyan Angelov
|
45a15755b8
|
v.builder: implement -show-callgraph
|
2021-07-24 13:32:56 +03:00 |
|
Delyan Angelov
|
72c56ccc85
|
v.builder: use os.write_file/os.write_file_array for writing full files to disk.
|
2021-07-24 13:32:55 +03:00 |
|
Delyan Angelov
|
5098334e65
|
os: add execute_or_exit(cmd), use it consistently instead of execute_or_panic(cmd)
|
2021-07-20 15:22:04 +03:00 |
|
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
|
playX
|
425ca5e3c3
|
v.gen.js: add three backend options for JS, and comptime if support (#10859)
|
2021-07-19 15:55:03 +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 |
|
Delyan Angelov
|
a007dd5d22
|
builder: support -o - to print the generated C/JS source to stdout
|
2021-07-18 16:26:50 +03:00 |
|
yuyi
|
a5c784830b
|
all: simplify global_scope processing (#10848)
|
2021-07-18 15:29:34 +03:00 |
|
shadowninja55
|
0d587d3580
|
checker: prohibit using non-lvalue as mut receiver (#10790)
|
2021-07-16 13:03:40 +03:00 |
|