Commit graph

176 commits

Author SHA1 Message Date
Delyan Angelov
01bee65f16
ci: fix github job names in cmd/tools/vtest-self.v 2025-02-17 22:36:07 +02:00
Delyan Angelov
55f482bb63
ci: update linux image runners from ubuntu-20.04 to ubuntu-24.04 (#23706) 2025-02-17 07:37:59 +02:00
Delyan Angelov
46447f1262
tools: move cmd/tools/vdoc/doc to cmd/tools/vdoc/document, so that it can be imported from other programs through -path, without conflicting with the top level doc/ folder in the main repo (#23733) 2025-02-15 23:12:57 +02:00
kbkpbot
f7841e125b
checker: check and error for invalid utf8 string literals (#23721) 2025-02-15 19:32:38 +02:00
Delyan Angelov
99a587af95
tools: let v test . show the running _test.v files each minute (set by VTEST_REPORT_RUNNING_PERIOD_MS); diagnose stuck windows gcc CI jobs (#23649) 2025-02-04 10:33:51 +02:00
Alexander Medvednikov
e5f70278ea x.vweb: remove the entire module (it's now veb) 2025-01-19 05:43:03 +03:00
Delyan Angelov
40b574b409
tools,v.doc: move vlib/v/doc/ to cmd/tools/vdoc/doc/ to reduce the runtime of the CI runs, when v doc is changed (#23483) 2025-01-16 14:40:28 +02:00
Felipe Pena
7078a2e185
orm: fix codegen for option fk (fix #23383) (#23400) 2025-01-07 17:53:37 +02:00
Swastik Baranwal
f089ba9ff2
cgen, checker: allow using smartcasted sumtype variant values in the ORM queries (fix #23239) (#23241) 2024-12-23 16:19:27 +02:00
Felipe Pena
ebeef84be9
orm: fix update stmt with enum value (fix #23031) (#23037) 2024-12-03 23:17:51 +02:00
yuyi
d2cb41c887
builtin: cleanup by merging fixed array tests into one test file (#22884) 2024-11-17 12:58:36 +02:00
Felipe Pena
ebb3a8eb25
orm: fix crash when working with array field (fix #22822) (#22824) 2024-11-13 09:59:04 +02:00
Hitalo Souza
8ebbacecd6
json: move _test.v files to vlib/json/tests/ (#22731) 2024-11-12 20:33:01 +02:00
Alexander Mandrikov
e1a5acc1ef
orm: support plain @[serial] attribute for marking struct fields (#22814) 2024-11-09 17:26:22 +02:00
Felipe Pena
fad49da199
orm: fix order by with custom column name (#22813) 2024-11-09 08:24:59 +03:00
Felipe Pena
6f97ced860
orm: allow comptime field.name as field name (fix #22329) (#22344) 2024-09-29 07:53:47 +03:00
Delyan Angelov
6488041a74
tests: split vlib/v/tests/ into several subfolders, to mitigate github limits for number of files in a folder (#22158) 2024-09-04 09:38:09 +03:00
encyclopaedia
a31cd37b66
vlib: add an arrays.parallel module, containing parallel.run/3 and parallel.amap/3 implementations (#22090) 2024-08-24 17:57:06 +03:00
yuyi
481b842fb6
tools: fix vtest-self.v on Windows and tcc compiler (#22110) 2024-08-24 17:13:59 +03:00
Felipe Pena
1e86e06eb6
orm: fix subquery without where expr (#21598) 2024-06-04 13:22:06 +03:00
Turiiya
5e01f673de
vlib, cmd: fix typo unkown -> unknown (#21535) 2024-05-20 08:28:46 +03:00
Turiiya
7f7d7a1bb0
builder, ci: fix compilation on macos-arm with -cstrict; run macos ci also on the arm runner (#21408) 2024-05-03 17:49:22 +03:00
Delyan Angelov
fe9be9632d
ci: fix the ubuntu-docker-musl job by skipping veb_app_test.v 2024-04-25 06:36:14 +03:00
Turiiya
8dafca126f
test, ci: fix network tests; update and activate tests in periodic ci (#21339) 2024-04-25 02:15:22 +03:00
Turiiya
1595211fbe
tools: rewrite test-self arg handling (#21327) 2024-04-23 14:12:45 +03:00
Turiiya
3b0c6206bb
tools: allow for selectively running v test-self vlib/ and v test-self cmd/ (#21326) 2024-04-22 20:13:29 +03:00
Turiiya
a6087d01a2
vdoc: cleanup get_module_list, add unit tests (#21057) 2024-04-18 21:47:51 +03:00
Turiiya
183c199021
vdoc: improve creation of trimmed node descriptions, extend tests (#21281) 2024-04-15 14:54:06 +03:00
Turiiya
3ce587085a
tests: enable again http_httpbin_test.v, since net.http now uses mbedtls (#21279) 2024-04-14 23:25:52 +03:00
Turiiya
39600564a9
tools: add check for unavailable files in vtest (#21272) 2024-04-14 07:52:42 +03:00
Turiiya
96751ede14
tools: revise vtest-self.v: remove dead paths, fix json2 essential test path (#21267) 2024-04-13 09:06:04 +03:00
Turiiya
739730b9d8
vdoc: fix sorting of docnodes on other than linux, enable tests (#21253) 2024-04-12 10:35:01 +03:00
David Legrand
0a2346a2eb
vtest-self: add native_test to skippable tests for sandboxed packaging (#21095) 2024-03-25 13:11:01 +02:00
David Legrand
36f1750de7
vtest-self: add sandboxed packaging case (#21059) 2024-03-19 11:36:03 +02:00
Turiiya
164a738744
ci,tests: enable vdoc tests on linux; fix unintended line break (#21014) 2024-03-14 10:16:50 +02:00
Delyan Angelov
f43b52860d
tools: use the same same skipping logic for the platform specific _test.v files in v test-self too (#20815) 2024-02-13 18:36:51 +02:00
syrmel
6a4f2937ef
vtest,pref: add ability to have platform specific _test.v files (#20810) 2024-02-13 12:06:47 +02:00
Delyan Angelov
5269c02faf
ast: make Scope.find methods more robust, when called on default initialised scope &Scope = unsafe { nil } fields (#20774) 2024-02-10 19:53:10 +02:00
Casper Küthe
3bd99309dd
x.vweb: add new sessions module (#20642) 2024-02-07 19:00:48 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
gym603
bc37c85cae
tests: make 'test-self' pass under msys2/MINGW32 (#20614) 2024-01-22 01:20:53 +02:00
gym603
9f95ab7c5e
tests: make v test-self run _test.c.v files too (#20612) 2024-01-21 21:11:23 +02:00
Delyan Angelov
6107e0d154
tests: show compile time and runtime for each _test.v file in separate columns (#20520) 2024-01-20 17:38:46 +02:00
Felipe Pena
1303c244e2
orm.pg: fix f32 and f64 endianness (#20412) 2024-01-06 22:27:10 +02:00
Anton
18954afa73
cgen: escape table names (fix #20313) (#20322) 2024-01-01 15:23:25 +02:00
jacksonmowry
06a536eff2
db.pg: fix invalid memory access in res_to_rows (#20248) 2023-12-22 02:02:31 +02:00
jacksonmowry
d86a11c257
db.mysql: add ability to prepare and execute statements separately (#20146) 2023-12-11 13:34:20 +02:00
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03:00
Felipe Pena
dfab24b936
orm: fix code generated for fields of ?[]Type (#20032) 2023-11-30 23:36:50 +02:00
Delyan Angelov
0c4abf0c19
ci: skip the cmd/tools/vpm/ tests on the fsanitize_memory jobs, because of the handshake code in net.mbedtls, which uses assembly, that is known to sporadically fail the sanitizer 2023-11-30 23:16:49 +02:00