yuyi
108a01d65f
fmt: fix unnecessary line break in array init ( fix #11448 ) ( #11562 )
2021-09-21 16:20:09 +03:00
Delyan Angelov
df8a4a03a0
tests: support `// vtest retry: 4` for marking flaky tests
2021-09-18 11:48:32 +03:00
yuyi
ef690dc06b
testing: remove panics when cleaning up after test runs ( #11505 )
2021-09-15 15:15:46 +03:00
Dialga
2cfc6e007d
test: allow testing files from a relative directory ( #11391 )
2021-09-06 03:11:58 +03:00
Alexander Medvednikov
29f550158e
all: update chdir usages
2021-08-28 09:39:18 +03:00
Delyan Angelov
0675079b98
ci: skip const_comptime_eval_before_vinit_test.v with MSVC
2021-07-30 21:46:59 +03:00
Uwe Krüger
abd17ddb6a
cgen: initialize globals with default initializer when none is given. ( #10979 )
2021-07-27 20:14:30 +03:00
Daniel Däschle
ad3835b598
parser: deprecate short struct init ( #10842 )
2021-07-20 11:17:08 +03:00
Delyan Angelov
027be2ecd4
tests: show a list of all failed commands in the summary too
2021-07-15 11:53:14 +03:00
Delyan Angelov
01a8d3f8a1
tests: skip building psql/customer.v on macos (requires postgres)
2021-06-07 18:23:18 +03:00
Delyan Angelov
bf623e191f
tests: ignore `testdata` folders while scanning for tests and .v files
2021-06-02 21:19:03 +03:00
Delyan Angelov
2376b343ba
tests: always use / for paths shown in tests
2021-05-31 15:56:36 +03:00
Delyan Angelov
dd0a97541c
tests: use term.header_left, and a more compact output layout
2021-05-20 11:25:07 +03:00
Delyan Angelov
d11cd50773
ci: skip vweb_app_test.v except in the ubuntu-tcc job
2021-05-11 17:47:43 +03:00
Delyan Angelov
8a380f4699
tools: make `v test-cleancode` test everything by default ( #10050 )
2021-05-08 13:32:29 +03:00
Don Park
aebb551e93
cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` ( #9878 )
2021-04-27 08:18:48 +03:00
Delyan Angelov
2f29e7903c
tests: cleanup obsolete skips in common.v
2021-04-23 15:31:04 +03:00
Louis Schmieder
64391efa4d
orm: add mysql support ( #9630 )
...
* add mysql to orm
* fix got to big packet error
* format sql.v
* format example
* custom sql types
* add mysql table cration
* add documentation
* format sql.v
* fix markdown
* start implementing select_expr for mysql
* remove orm.c
* format sql.v
* finish mysql expr
* remove c
* remove unessecary files
* change to c implementation
* remove c
* added str interpolation for idents
* fix string insert
* fix compilation problems
* fix gitly compilation
* fix typing mistake
* add link to orm docs
2021-04-10 17:38:27 +03:00
Alexander Medvednikov
ed37512ea9
ci: run wkhtmltopdf only on linux again
2021-04-05 07:55:32 +03:00
penguindark
a2ef9967fe
examples: add .obj viewer as a sokol example ( #9456 )
2021-03-25 16:53:13 +01:00
Lukas Neubert
7664964c56
vfmt: format all of cmd/ and add it to `v test-cleancode` ( #9418 )
2021-03-24 23:37:10 +02:00
crthpl
fafb035fb5
all: reimplement inline assembly ( #8645 )
2021-03-17 01:43:17 +01:00
Delyan Angelov
d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result ( #8974 )
2021-03-08 20:52:13 +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
Nick Treleaven
23f231ee61
builtin: tag array methods unsafe: *_many, grow_len, pointers ( #8983 )
2021-02-26 22:55:09 +01:00
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