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
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
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
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
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
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
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
d51019dd77
unify vexe_path
2020-02-20 11:33:01 +01:00
lutherwenxu
9332a83ce6
move v.v to cmd/v
2020-02-09 10:08:04 +01:00