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

67 Commits

Author SHA1 Message Date
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
Delyan Angelov
5f90d5702e v test-self: support skipping specific tests for amd64/!amd64 (closure_test.v on m1 for now) 2021-08-27 09:47:04 +03:00
Miccah
2cb0db633d
vweb: use Response struct for 302 response (#11245) 2021-08-20 01:13:36 +03:00
Miccah
6991a3c8d5
net.http: add graceful shutdown .stop() method to the http.Server struct (#11233) 2021-08-19 11:19:49 +03:00
Enzo
da53f818df
all: initial support for closures (x64 / linux-only) (#11114) 2021-08-10 21:27:15 +03:00
Louis Schmieder
1943da54a5
orm: integrate psql to orm (#10933) 2021-07-24 20:49:40 +03:00
Louis Schmieder
26db3b0995
orm: redesign orm (re-write it in V) (#10353) 2021-07-23 12:33:55 +03:00
Delyan Angelov
d41a4ec662
v test-self: check unsafe_test.v, match_test.v, match_in_fn_call_test.v with -cstrict 2021-07-20 19:34:16 +03:00
Tomas Hellström
ec973f5c6e
x.websocket: move to net.websocket module (#10648) 2021-07-03 02:56:00 +03:00
Delyan Angelov
90d04b0ce6
ci: skip udp_test.v and tcp_test.v on windows-tcc for now 2021-06-14 13:10:20 +03:00
Miccah
c2981de4d5
http: add server.v and organize HTTP request and response code (#10355) 2021-06-06 00:43:14 +03:00
Delyan Angelov
b28def7c11
tests: add vlib/v/tests/failing_tests_test.v, support testdata in v test-self too 2021-06-03 00:32:09 +03:00
Delyan Angelov
7287ecd6c7
ci: skip too slow tests in any sanitize mode, use VTEST_RUN_FSANITIZE_TOO_SLOW to override 2021-05-29 12:15:10 +03:00
Delyan Angelov
bb6907473b
ci: add the slowest tests in skip_with_fsanitize_memory 2021-05-29 11:38:53 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Louis Schmieder
b8e070b2a1
orm: fix multi substructs (#9941) 2021-05-04 12:35:18 +03:00
spaceface
73352583e7
ci: fix all -cstrict warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
Delyan Angelov
f0dd2bbf6e
tests: skip deadline_test.v everywhere 2021-04-15 09:28:40 +03:00
ka-weihe
25a9d30a70
channels: fix C warnings (#9732) 2021-04-15 01:44:39 +02:00
Delyan Angelov
56e15741b0
ci: tag deadline_test.v in the skip_with_fsanitize_memory and skip_on_windows lists 2021-04-14 20:06:05 +03:00
Delyan Angelov
3e297bced4
ci: remove some tests from skip_with_werror in v test-self 2021-04-14 12:47:24 +03:00
Ulises Jeremias Cornejo Fandos
909c9c7ee7
context: small refactor to always use Context type instead of multiple types (#9705) 2021-04-13 07:04:13 +03:00
Ulises Jeremias Cornejo Fandos
07a6f4e445
context: add a new context module, based on Golang's context, intended to be used in webservers (#9563) 2021-04-12 19:32:51 +03:00
Uwe Krüger
84fa1ae444
boehm-gc: support a [keep_args_alive] tag for C functions (#9641) 2021-04-09 13:13:49 +03:00
Ali Chraghi
9881ff8448
tests: fix option_print_errors_test.v (#9616) 2021-04-08 08:46:08 +03:00
ka-weihe
f885c7cea9
tests: fix three tests with address errors (#9441) 2021-03-24 00:01:29 +02:00
Delyan Angelov
ae6420afc7
tools: fix substring in s usages, preventing v -W build-tools 2021-03-23 13:36:50 +02:00
ka-weihe
801da20fd9
ci: test-self (V compiled with -fsanitize=memory) (#9423) 2021-03-22 23:05:48 +01:00
Delyan Angelov
b0e225ac2d
dl: fix v -cflags "-Werror" use_test.v 2021-03-19 23:27:14 +02:00
Delyan Angelov
ea3d1405ee
ci: fix failing -Werror job with tcc 2021-03-19 09:34:41 +02:00
Delyan Angelov
1753445a64
builtin: make panics more IDE friendly 2021-03-16 20:50:11 +02:00
Delyan Angelov
98c611d5d9
ci: skip crypto_rand_read_test.v on the tests-sanitize-memory-clang job 2021-03-16 17:10:03 +02:00
Uwe Krüger
dd475f4e37
checker/cgen: enable IfGuardExpr for a[k] and <-ch (#9065) 2021-03-03 10:10:38 +02:00
ka-weihe
83a77542e3
ci: update skipped tests (#9034) 2021-03-01 13:54:49 +01:00
Miccah
d0fab60981
vweb: refactor routing logic (#9025) 2021-03-01 11:50:52 +01:00