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

284 Commits

Author SHA1 Message Date
Ned Palacios
ed7ed6262f
vpm: use current folder v.mod, if no args provided in v install 2020-05-24 15:25:29 +03:00
Delyan Angelov
465dc685cc repl: treat =x at the start of a new line, the same as println(x) 2020-05-24 14:16:38 +03:00
Ned Palacios
c95a1138ba
repl: fix one-line for-loop printing 2020-05-24 11:36:17 +03:00
Delyan Angelov
acb58a1f98 parser: add p.peek_tok3, fix for ...<a.len... 2020-05-22 19:48:47 +03:00
yuyi
dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
Delyan Angelov
1cc52b0fae docs: update obsolete references to the compiler/ folder 2020-05-22 10:11:12 +03:00
Alexander Medvednikov
27644333a8 tests: bring back pointers_test.v 2020-05-22 06:21:48 +02:00
yuyi
047e982318
gen: fix pointer_str_test.v 2020-05-21 15:09:35 +03:00
Delyan Angelov
0de70e8b2c vpm: handle -v as well as -verbose 2020-05-21 08:30:38 +03:00
yuyi
b8c028c727
parser: fix -5.str() precedence 2020-05-20 23:26:23 +02:00
Delyan Angelov
9d4fe88d09 compiler: support for -color/-nocolor option overrides 2020-05-20 20:34:04 +03:00
Delyan Angelov
ebb3f4e402 ci: add new explict job 'install-modules', to test 'v install' 2020-05-20 12:20:13 +03:00
spaceface777
b10df252dc
all: replace is_c, is_js with language 2020-05-19 17:12:47 +02:00
yuyi
74686d0ec4
test: fix alias type errors and type_test.v 2020-05-19 15:04:51 +03:00
Maddi Kopfermann
96a8eaabc5
repl: handle assigning anonymous function to a variable 2020-05-19 14:15:01 +03:00
Uwe Krüger
2635be511f
all: re-apply C++ support 2020-05-18 21:38:06 +02:00
Alexander Medvednikov
07a78b2843 Revert "all: C++ compiler support"
This reverts commit 9a237c3e82.
2020-05-18 17:05:48 +02:00
Uwe Krüger
9a237c3e82
all: C++ compiler support 2020-05-18 15:51:36 +02:00
Alexander Medvednikov
857276e81f vup: use v.exe 2020-05-18 15:49:26 +02:00
Ned Palacios
ae3df002a2
vmod: add v.mod parser 2020-05-18 14:35:28 +02:00
Delyan Angelov
59c080be97 tools: update performance_compare.v 2020-05-18 11:46:25 +03:00
yuyi
7f4cf08516
parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
yuyi
02fb393747
test: fix vrepl and cast test errors 2020-05-17 02:13:08 +02:00
Alexander Medvednikov
81148fa2bd cmd/v: version: print only main repo hash 2020-05-16 23:52:06 +02:00
Delyan Angelov
fb27fe5379 CI: add v build-tools task to the tcc job 2020-05-17 00:14:06 +03:00
Alexander Medvednikov
8cbb9e1c1f pref: move parse_define() 2020-05-16 22:57:55 +02:00
Alexander Medvednikov
0845b2cfbe builder: skip warnings; pref: move pref creation to pref.v 2020-05-16 22:45:38 +02:00
Delyan Angelov
3e4d99a0e3 vup: show the current V version after an update 2020-05-16 22:18:45 +03:00
Delyan Angelov
62cb48d252 repl: treat middle imports in a more forgiving way 2020-05-16 22:03:28 +03:00
Delyan Angelov
a3a19e899d repl: implement list and reset commands 2020-05-16 18:20:47 +00:00
Delyan Angelov
7a404af097 repl: detect fn/enums/struct/const/interface declarations too 2020-05-16 14:40:54 +03:00
Alexander Medvednikov
7caebc5781 doc: print available modules 2020-05-15 23:09:38 +02:00
Maddi Kopfermann
d73bedc1fb
vrepl: fix declaring structs 2020-05-15 16:12:15 +03:00
yuyi
6d0b791ac8
parser: warning about unused imports 2020-05-14 17:14:24 +02:00
Delyan Angelov
74005b4362 vfmt: handle file paths with spaces 2020-05-14 09:07:14 +03:00
Delyan Angelov
d830620651 compiler: restore support for --enable-globals flag, and add tests. 2020-05-14 08:43:12 +03:00
Alexander Medvednikov
c92b09d3e7 vup: run make only on breaking changes 2020-05-13 15:15:37 +02:00
Lukas Neubert
60dd7a7471
vpm: fix v update ui 2020-05-13 08:19:12 +03:00
JalonSolov
5f7a8df885
tools/fast: fix unused var, use Stopwatch, .gitignore 2020-05-13 01:55:33 +02:00
yuyi
14bba54ddc
vrepl: fix array_init error
* optimize print conditions
2020-05-11 07:15:08 +03:00
Delyan Angelov
d33082dffe oldv: fix compilation, make VGitOptions fields public 2020-05-10 18:41:46 +03:00
eyelash
f396f70ae7
repl: fix newline in error messages 2020-05-10 16:26:56 +02:00
Ned Palacios
5f0ad0f562
compiler: add output mode for errors and warnings, support for -silent flag 2020-05-10 12:26:57 +03:00
Don Alfons Nisnoni
1c8d2c21b5
vpm: fix 404 error message 2020-05-08 22:50:36 +02:00
Delyan Angelov
4b347ff148 v self: force the subprocess to show colors 2020-05-08 19:04:24 +03:00
Delyan Angelov
e08566d571 compiler: do not exit early, when given -o x.c or -o x.js 2020-05-08 15:31:03 +03:00
Delyan Angelov
4c320e1512 profile: support for -profile-no-inline (with it, [inline] fns will not get profiled) 2020-05-08 15:01:59 +03:00
yuyi
8866773f97
vrepl: fix import and comment error in the middle of other lines 2020-05-08 09:34:59 +03:00
Delyan Angelov
e3366281ee tests: skip sqlite_test.v on musl too, fix compilation of path_tracing.v 2020-05-06 23:50:20 +03:00
Delyan Angelov
6005b7fdb6 tests: skip clipboard_test.v on musl too 2020-05-06 23:26:44 +03:00