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

101 Commits

Author SHA1 Message Date
walking devel
3682a9cf88
orm: allow use of mut db orm.Connection (#17439) 2023-03-01 00:49:30 +02:00
l-m
0625caad56
wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
walking devel
b7b6c2368e
orm: allow using connections, that were explicitly casted to orm.Connection too (#17427) 2023-02-27 23:54:03 +02:00
Delyan Angelov
9c511e03f6
tools: remove import v.pref, just for pref.vexe_path(), to compile tools faster (#17411) 2023-02-26 07:56:14 +02:00
yuyi
b5b1efbb7b
cgen: fix sumtype as cast with calling twice (#17196) 2023-02-02 13:57:37 +02:00
Delyan Angelov
6572d597f9
Revert "cgen: fix sumtype as cast with calling twice (fix #17156) (#17183)"
This reverts commit 90ae3c82c9.
2023-02-02 10:49:15 +02:00
yuyi
90ae3c82c9
cgen: fix sumtype as cast with calling twice (fix #17156) (#17183) 2023-02-02 09:31:11 +02:00
walking devel
4747e70d9d
orm: make last_id() return int, instead of orm.Primitive (fix #12110) (#17151) 2023-01-29 16:00:23 +02:00
walking devel
9a86456365
cgen: support string interpolation in ORM queries (#17141) 2023-01-29 01:27:34 +02:00
walking devel
a9a04bba55
orm: support fn calls in where (#17127) 2023-01-26 22:36:30 +02:00
walking devel
2fb9bdce9a
cgen, checker: add panic in ORM for invalid queries, when there are no or {} blocks, add type checking for the fkey attribute, add tests (#16977) 2023-01-17 20:21:10 +02:00
yuyi
64558df764
vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
Felipe Pena
ba091a36dd
checker: fix unreachable code checking for sql ORM blocks (#16948) 2023-01-12 15:36:44 +02:00
Delyan Angelov
6a32c81070
tests: extract slow tests (prod, valgrind, inout, repl etc), from vlib/v/tests/ to vlib/v/slow_tests/ (#16892) 2023-01-09 23:47:03 +02:00
Delyan Angelov
c1a9f42b05
ci: add vlib/v/tests/orm_sub_array_struct_test.v to the skip list for the tests-sanitize-undefined-gcc job 2023-01-05 19:51:44 +02:00
Hitalo Souza
3598e7d08e
orm: add tests for fkey: relationship attribute and retrival of joined rows (#16877) 2023-01-05 15:20:15 +02:00
Felipe Pena
1ba1f99b9c
orm: declare missing functions to handle literal types (#16627) 2022-12-09 20:34:34 +02:00
Delyan Angelov
a987f84b15
ci: skip the very slow running tests in v test-self, when -asan-compiler or -msan-compiler is passed as well. 2022-11-22 19:52:43 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Dominik Pytlewski
2634b99769
sqlite: expose SQLite's VFS layer (#16359) 2022-11-09 19:57:06 +02:00
yuyi
117c829a97
vtest-self: add skipping ssl tests on windows (#16107) 2022-10-19 11:03:29 +03:00
Delyan Angelov
7fb2718609
ci: only run openssl_compiles_test.v on !windows 2022-10-16 23:15:00 +03:00
Delyan Angelov
14923123ad
ci: skip const_fixed_array_containing_references_to_itself_test.v on windows-msvc 2022-10-10 13:30:35 +03:00
Alfie Ranstead
27305d1a5f
net.websocket: swap unsafe use of nil for a safe default value (#15836) 2022-09-22 08:00:03 +03:00
Delyan Angelov
993802f6a6
markused: fix compilation of gg programs with -skip-unused, add test to prevent regressions (#15821) 2022-09-20 08:03:03 +03:00
flopetautschnig
1c63ce479c
vweb: adding a vweb.csrf protection module (#15586) 2022-09-06 13:18:39 +03:00
Louis Schmieder
6110373519
orm: init or implementation (#14989) 2022-08-31 14:43:20 +03:00
Joe Conigliaro
c3866bb7b1
gen.golang: skip tests only on ubuntu-docker-musl 2022-06-29 21:11:28 +10:00
Joe Conigliaro
86549feafa
gen.golang: globally skip go backend tests & run only on ubuntu-tcc 2022-06-29 20:55:43 +10:00
Delyan Angelov
e1360ccf8c
ci: add VTEST_JUST_ESSENTIAL=1 ./v test-self mode. Use it for alpine-docker-musl-gcc . 2022-06-09 15:26:52 +03:00
Delyan Angelov
82eb495617 ci: on windows-msvc, skip const_fixed_array_containing_references_to_itself_test.v 2022-06-04 13:05:27 +03:00
Delyan Angelov
2fa64f1471
ci: skip embed_file_test.v for now 2022-06-01 12:06:02 +03:00
Delyan Angelov
3fc4459485
ci: ignore orm_joined_tables_select_test.v on tasks, that do not have sqlite installed 2022-05-17 12:53:07 +03:00
Larpon
ef6225c542
vvet: fix false positive, add test (#14403) 2022-05-16 12:24:21 +03:00
spaceface
dab649ec8a
cgen: rewrite the closure implementation (#14223) 2022-04-30 09:32:46 +03:00
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
Delyan Angelov
fad254dcce
ci: skip use_net_and_net_unix_together_test.v on windows 2022-02-18 12:45:32 +02:00
starryskye
6d2a88e31f
net.smtp: add STARTTLS and implicit SSL support (#13473) 2022-02-16 09:18:51 +02:00
yuyi
be1e40dac0
cgen: fix error for sql statement inside fn call (fix #13330) (#13346) 2022-02-02 18:05:31 +02:00
spaceface
de92f819f0
cgen: support closures with any number of parameters of any size on amd64 (#12891) 2021-12-18 17:33:24 +02:00
Benjamin Stigsen
75830f1fe3
gg: add draw_ellipse_filled() + draw_ellipse_empty() APIs (#12869) 2021-12-17 21:19:18 +02:00
spaceface
c6b902d2b7
cgen: support closures on arm64 (#12863) 2021-12-16 18:02:05 +02:00
spaceface
d13fe7843c
v: fix build and failing tests on arm64 (#12840) 2021-12-15 09:00:38 +02:00
Delyan Angelov
7bbc70820a
tools: make v test vlib and v test-self skip _test.js.v files, when node is not installed 2021-12-07 21:31:29 +02:00
Taillook
7d1dec5b44
sync: add sync.ManyTimes (#12729) 2021-12-05 19:44:25 +02:00
Taillook
0c713f6edc
sync.once: add Once (#12722) 2021-12-05 18:56:03 +02:00
Ulises Jeremias Cornejo Fandos
f7926ec9a4
vlib/context: add onecontext as submodule (#12549) 2021-12-02 11:15:07 +02:00
playX
4333a53f28
js: support running .js.v tests in v test-self, fixes for array methods & codegen (#12011) 2021-09-29 15:33:14 +03:00
Ulises Jeremias Cornejo Fandos
c151e075e1
context: update ValueContext to handle Any value and more Key types, use closures (#11993) 2021-09-27 17:52:20 +03:00
Alexander Medvednikov
29f550158e all: update chdir usages 2021-08-28 09:39:18 +03:00