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

132 Commits

Author SHA1 Message Date
Ruofan XU
8b1337029f
ci: add build-examples task to tcc-windows CI (#8653) 2021-02-11 01:23:03 +01:00
Lukas Neubert
46f8e68bec
ci: skip process/command example on windows (#8617) 2021-02-07 13:46:22 +02:00
Delyan Angelov
4f4e3e9b61
ci: fix failing windows tests (skip the websockets examples) 2021-01-31 18:37:45 +02:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
Delyan Angelov
cb04e6dccc
tests: move is_nodejs_working() to jsgen_test.v 2021-01-25 18:46:28 +02:00
Delyan Angelov
9d1d35ebdc
tests: fix a test message index bug on VTEST_SHOW_START=1 2021-01-25 17:58:08 +02:00
Delyan Angelov
0a61149476
tests: implement VTEST_SHOW_START=1 v test vlib/math 2021-01-25 16:29:56 +02:00
Delyan Angelov
fafd949770
tests: skip vlib/v/gen/js/jsgen_test.v when there is no node --version working 2021-01-17 19:21:18 +02:00
Daniel Däschle
a22982d662
tests: colorize failing tests, improve layout (#8066) 2021-01-13 11:07:12 +02:00
Delyan Angelov
49ec2c86ae
oldv: match the v commit in the vc log by --grep, falling back to --before= 2021-01-12 12:44:34 +02:00
penguindark
c067cc0357
vlib: add a TTF font loader and render in x.ttf (#7995) 2021-01-10 20:14:41 +02:00
Delyan Angelov
ca83746884
tools: ensure that v test-cleancode is always run in the vroot folder 2021-01-09 19:25:50 +02:00
Larpon
b299fb1e92
vdoc: heavy refactor, immutable config (#7945) 2021-01-08 12:25:22 +02:00
Tomas Hellström
f9a873736e
x.websocket: server broadcast plus examples (#7922) 2021-01-06 15:43:54 +01:00
Delyan Angelov
acc93a66bb
ci: skip the mysql.v example on windows too 2021-01-04 00:28:51 +02:00
Delyan Angelov
095857d59b
ci: skip building examples/database/mysql.v on macos 2021-01-03 19:52:28 +02:00
Leandro Silva
86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751) 2021-01-03 16:56:55 +01:00
Delyan Angelov
74f7a1a549 ci: run v build-examples on windows jobs too 2020-12-21 19:51:20 +02:00
Alexander Medvednikov
6bf21c300a checker: do not allow arr1=arr2 without cloning 2020-12-20 15:33:55 +01:00
Delyan Angelov
3f2133c65e
examples,tools: cleanup most warnings 2020-12-04 16:05:39 +02:00
Delyan Angelov
4b94c29c91
tests: use .replace_each() instead of a .replace() chain 2020-12-02 19:47:07 +02:00
Delyan Angelov
cc1d313d68
tools: fix v build-tools 2020-12-01 17:44:07 +02:00
Delyan Angelov
fff70368b7 tests: show all the failed messages even with -silent 2020-11-04 13:38:05 +02:00
Delyan Angelov
9cf5c9ac43 tests: simplify print mode logic 2020-10-18 20:49:25 +03:00
Delyan Angelov
7bc94fff9a tests: implement compact progress mode (the old one is available with -expand) 2020-10-18 19:27:29 +03:00
Delyan Angelov
a9659beabe tests: simplify the synchronized printing of results, using chan string 2020-10-18 18:16:33 +03:00
Delyan Angelov
31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00
Delyan Angelov
3795aaab5c v test-fmt: reformat some skipped files, comment on the remaining ones 2020-10-15 00:39:09 +03:00
Delyan Angelov
e02f25a108 test-compiler: fix sporadic fails for vpm/v install 2020-10-14 18:20:19 +03:00
Delyan Angelov
0edcd5efb0 repeat.v: support --max_time limit for the average time of a command 2020-10-09 11:08:59 +03:00
Delyan Angelov
1fb127ba79 tests: sort the test session file paths before running the tests 2020-09-26 10:11:45 +03:00
Delyan Angelov
78e6ddee75 tests: enable running v test . inside vlib/v/ too 2020-09-18 19:20:01 +03:00
Delyan Angelov
a97716de33 test: do not strip vroot/ from test report 2020-09-18 18:35:38 +03:00
Delyan Angelov
6c27ce58ed v.util.vtest: extract the common code for VTEST_ONLY in a single place 2020-08-05 19:34:27 +03:00
Delyan Angelov
9511d086bd oldv: use green color for tracing/diagnostic lines 2020-08-04 11:22:37 +03:00
Ryan Willis
e804ba5294
vfmt: add support for VDIFF_TOOL, detect more diffing tools (#5857) 2020-07-17 14:03:07 +03:00
Delyan Angelov
73a259496e tests: support VTEST_ONLY=fn_,match_ ./v test-fixed and in compiler_test.v 2020-07-09 10:47:16 +03:00
Delyan Angelov
ce31c4c03e tests: support VTEST_ONLY=parser ./v vlib/v/compiler_errors_test.v 2020-07-09 10:27:31 +03:00
Delyan Angelov
6b2777e681 compiler: support VTMP; tests: delete .tmp.c files on successfull tests 2020-07-06 15:08:46 +03:00
Uwe Krüger
3b067f5f85
all: experimental locked concurrency support, part 1 (#5637) 2020-07-04 12:44:25 +02:00
Larpon
aec3ea5d32
examples: add sokol particle example (#5599) 2020-07-01 14:29:58 +03:00
Emily Hudson
09236a438b
msvc: unique names for pdb files, remove test job limit 2020-06-26 17:16:15 +02:00
Delyan Angelov
cadde3e9f0 vlib: fix os.exec().output usages, that may rely on trimmed lines 2020-06-15 15:38:20 +03:00
Alexander Medvednikov
931cf86cc3 tests: build vweb example 2020-06-07 15:44:33 +02:00
Sumeet Chhetri
442030a7c8
picoev: make compile, add header parsing 2020-06-07 01:23:30 +02:00
Alexander Medvednikov
fb7ca56d87 gg: minor fixes 2020-06-04 19:57:16 +02:00
Alexander Medvednikov
42e314d281 examples: skip live gg examples for now 2020-06-04 19:14:24 +02:00
yuyi
5ae8853648
all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +02:00
Alexander Medvednikov
7496c1be2a examples: fix remaining examples and add them to CI 2020-06-02 19:47:28 +02:00
Alexander Medvednikov
4e51867612 make v build-examples work: part 1 2020-06-02 16:09:41 +02:00
Alexander Medvednikov
78f8a8aee6 cgen: remove g_ hack 2020-06-02 15:49:43 +02:00
Uwe Krüger
013fdb8a4b
checker: restrict numeric promotions to cases where no data is lost 2020-05-27 05:42:48 +02:00
Delyan Angelov
acb58a1f98 parser: add p.peek_tok3, fix for ...<a.len... 2020-05-22 19:48:47 +03:00
yuyi
7f4cf08516
parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
Delyan Angelov
fb27fe5379 CI: add v build-tools task to the tcc job 2020-05-17 00:14:06 +03:00
Delyan Angelov
d33082dffe oldv: fix compilation, make VGitOptions fields public 2020-05-10 18:41:46 +03:00
Delyan Angelov
acd80f052b
tests: improve diagnostic output on failure 2020-05-04 11:21:25 +03:00
yuyi
9f4d498ff1
all: updateimport () and []array 2020-04-26 13:49:31 +02:00
Delyan Angelov
b898970031 cmd/tools: use same line imports too 2020-04-26 09:32:05 +03:00
Delyan Angelov
7a03b18bfe vgit: avoid generics; enables compilation of the performance_compare & oldv tools. 2020-04-20 18:39:25 +03:00
Major Taylor
392986b763
testing: fix race condition, make messages private 2020-04-18 17:44:21 +02:00
Kris Cherven
eb923b4995
testing: fix count of succeeded tests 2020-04-18 05:49:03 +03:00
Alexander Medvednikov
e8afd7a1b7 ci: msvc tests fix 2020-04-11 16:57:02 +02:00
yuyi
3c6a4dedd6
tool: fix vgit.v 2020-04-07 13:14:22 +02:00
Alexey
6a5cc0fa19
tests: update assert output 2020-04-03 13:39:11 +02:00
Alexander Medvednikov
8dfb14b1c4 remove 15k lines of code of the old backend; make V2 the default backend 2020-04-01 21:25:31 +02:00
Delyan Angelov
b62035e3d0
solaris & termux: fix both, using the more portable termios.h 2020-03-31 12:46:46 +02:00
Alexey
a333ac1888
all: remove redundant parentheses in if statements 2020-03-29 10:08:42 +02:00
Delyan Angelov
ba088056ed
solaris: make 'v test-compiler' pass (stage 2) 2020-03-21 09:48:02 +01:00
yuyi
2f27758a4b
os: realpath => real_path 2020-03-20 16:41:18 +01:00
yuyi
010f3efcf0
os: filename => file_name 2020-03-19 15:49:07 +01:00
yuyi
9ef8499183
flag: unify apis 2020-03-19 07:06:37 +01:00
lutherwenxu
c2ffd027d0
cmd/v: implement help 2020-03-13 20:52:49 +01:00
yuyi
57b1b12ab6
os: tmpdir => temp_dir 2020-03-10 15:02:09 +01:00
yuyi
876b73f92c
os: join => join_path 2020-03-09 02:23:34 +01:00
yuyi
783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
lutherwenxu
aab31f4b35
cmd/v: rewrite flags 2020-03-06 18:53:29 +01:00
Alexander Medvednikov
b0ece3a9d8
sync: implement pool.work_on_items to process a list of items in parallel 2020-03-04 20:28:42 +01:00
yuyi
448ed41562
os api: rmdir_recursive => rmdir_all 2020-03-03 15:02:50 +01:00
yuyi
d51019dd77
unify vexe_path 2020-02-20 11:33:01 +01:00
yuyi
6849a4e770
filepath: path separator (#3756) 2020-02-17 20:31:23 +01:00
lutherwenxu
9332a83ce6
move v.v to cmd/v 2020-02-09 10:08:04 +01:00