Commit Graph

68 Commits (30ed2016008e80293baa7579929784ba3e347fdd)

Author SHA1 Message Date
penguindark 198b395cde
examples: add examples/sokol/05_instancing_glsl, cleanup code (#8809) 2021-02-18 11:11:26 +02:00
penguindark 325aef6d41
gg: add gg.m4, use it in the sokol GLSL examples (#8755) 2021-02-15 15:40:28 +02:00
Delyan Angelov 578de634fe
sync: move pool related code to `sync.pool`, cleanup, add a README.md 2021-02-11 10:55:23 +02:00
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
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 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 e02f25a108 test-compiler: fix sporadic fails for vpm/v install 2020-10-14 18:20:19 +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 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
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
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 acd80f052b
tests: improve diagnostic output on failure 2020-05-04 11:21:25 +03:00