16741 Commits

Author SHA1 Message Date
shove
0b12d647b6
cgen: fix wrong cname of anon fn(fix #20163) (#20164) 2023-12-13 22:32:52 +02:00
Hitalo Souza
4018a784b3
checker: cast sumtype to its variant generic type (#20166) 2023-12-13 22:24:16 +02:00
Casper Küthe
d898636bda
x.vweb: reimplement csrf module (#20160) 2023-12-13 18:04:42 +02:00
Felipe Pena
e9213ad209
cgen: remove debugging comments (#20165) 2023-12-13 17:13:47 +02:00
shove
aef3643ab8
fmt: add linebreak after const decl (fix #20157) (#20162) 2023-12-13 09:46:08 +02:00
Turiiya
17bf8d1771
tools: simplify and remove redundancies in vshader.v (#20161) 2023-12-13 09:44:21 +02:00
Turiiya
e5e26db5c4
os: update mv fns, improve performance, add params struct to control overwrite behavior (#20156) 2023-12-13 09:43:18 +02:00
yuyi
936790e43e
checker, cgen: fix generics chans select (#20159) 2023-12-12 14:24:08 +02:00
Delyan Angelov
033d72093a
ci: mark all orm tests as flaky (mainly to reduce the false positives on windows+MSVC, due to 'cannot open file' sqlite3.obj, when it is rebuilt in parallel) 2023-12-12 12:11:19 +02:00
yuyi
5d99138cb2
checker: fix generic fn with generic fn call returning generic map (fix #20106) (#20150) 2023-12-12 11:41:58 +02:00
shove
d2fdbaf67e
parser: fix an error message when initializing a struct from another module(fix #20141) (#20158) 2023-12-12 11:28:03 +02:00
Casper Küthe
ebab6d5270
x.vweb: fix large payload (#20155) 2023-12-12 11:06:14 +02:00
Turiiya
4e213f29ed
tools.vpm: fix moving from temp to vmodules dir (#20152) 2023-12-11 21:28:36 +02:00
Turiiya
acde573deb
os: fix mv_by_cp for directories (#20154) 2023-12-11 20:44:33 +02:00
Delyan Angelov
423b34f03e
vweb: support a startup_message field too in app.run_at 2023-12-11 16:55:22 +02:00
Delyan Angelov
2de9a24f2f
examples: increase the resolution of the generated image in examples/wasm/mandelbrot 2023-12-11 16:54:09 +02:00
Hitalo Souza
1b3c4f596e
examples: serve the wasm mandelbrot project using a v web server (#19937) 2023-12-11 14:10:06 +02:00
Delyan Angelov
131052c1ed
ci: rename duplicate example files, to make them unique, and reduce false positives in v build-examples on windows. 2023-12-11 13:40:57 +02:00
jacksonmowry
d86a11c257
db.mysql: add ability to prepare and execute statements separately (#20146) 2023-12-11 13:34:20 +02:00
Kim Shrier
e6a30dc4ef
crypto: add blake2s and blake2b hashes (#20149) 2023-12-11 12:40:07 +02:00
Felipe Pena
850e76857d
cgen: fix mutable comptimeselector usage (fix #20027) (#20134) 2023-12-11 12:23:12 +02:00
Delyan Angelov
d1c5c7978b
ci: mark large_payload_test.v as flaky, and repeat it up to 3 times when it fails (it does sporadically mainly on windows) 2023-12-11 08:19:57 +02:00
Felipe Pena
964798d5ab
cgen: fix assignment to the elements of an array of fixed arrays (#20133) weekly.2023.50 2023-12-11 01:16:40 +02:00
Turiiya
2ceb12826f
tools.vpm: add support for ssh and hg version installations (#20125) 2023-12-11 01:13:34 +02:00
shove
083eb3450b
checker: fix struct init update with generics (fix #20136) (#20139) 2023-12-11 00:59:50 +02:00
penguindark
cfcbcb416a
encoding.csv: add a sequential reader too (suitable for very large .csv files, it does not read everything at once) (#20140) 2023-12-11 00:57:08 +02:00
Hitalo Souza
99d9473643
ci: include msgpack in v_apps_and_modules_compile_ci.yml (#20137) 2023-12-10 17:17:39 +02:00
Felipe Pena
42a8c7e16b
net.http: fix http.delete() checking (#20131) 2023-12-10 14:32:30 +02:00
shove
fe4e1c0672
checker: fix unwrap, when generic structs are used as arguments, in uncalled methods (fix #20132) (#20135) 2023-12-10 13:34:12 +02:00
Felipe Pena
4938b35971
cgen: improve uninitialized option struct field declaration (#20129) 2023-12-10 12:40:10 +02:00
Delyan Angelov
e6bb6df591
tools.vpm: skip slow tests, that do need network access, when -d network is not provided 2023-12-10 12:20:09 +02:00
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03:00
penguindark
2768de1fc7
encoding.csv: add a new RandomAccessReader (#20119) 2023-12-08 22:17:27 +02:00
Dmitriy Mihaylenko
75c0c92759
os: fix os.open_file/3 wb mode creation of text files containing crlf on Windows (#20101) 2023-12-08 21:52:52 +02:00
shove
4d1eb5f215
ast, checker, cgen: fix generics interface signature methods call with embeded (fix #20113) (#20124) 2023-12-08 18:54:55 +02:00
Delyan Angelov
4687f8c1f7
examples: add an example of a simple process wrapper, built around an interactive python process, in wrapping_interactive_python.v 2023-12-08 14:39:08 +02:00
Coachonko
0cb5c23861
json: add comment about the role of the @[omitempty] field tag (#20122) 2023-12-08 13:37:38 +02:00
Turiiya
3d0fcfe456
tools.vpm: extract outdated logic into outdated.v, fix outdated hg, extend tests (#20116) 2023-12-08 07:16:55 +02:00
Larpon
64e8139d46
examples, x: fix notice about assigning 0 to a reference field (#20115) 2023-12-07 22:34:53 +02:00
Delyan Angelov
e2b75bde9e
tools: add v repeat 'sleep 1' 'sleep 2' (rename repeat.v to vrepeat.v), improve its output, add its flags to vcomplete.v (#20114) 2023-12-07 19:13:02 +02:00
Felipe Pena
c121f56ffa
cgen, checker: fix comptime map type resolution on generic arg (#20097) 2023-12-07 18:42:57 +02:00
Turiiya
7b44bb973d
tools.vpm: add manifest fetch for hg repositories, add test (#20107) 2023-12-07 18:36:22 +02:00
Turiiya
5b74f3af3e
vlib: use the builtin flush functions, instead of the C. ones (#20108) 2023-12-07 18:24:27 +02:00
Turiiya
9817dfc5ba
net.html: fix doc comments for html.parse functions (#20109) 2023-12-07 18:22:15 +02:00
Turiiya
f0fe3df0a6
tools.vpm: be more specific, when handling .git endings (#20110) 2023-12-07 18:21:09 +02:00
shove
772f11494f
regex: fix '\0' terminator always matched as last character(fix #19802) (#20104) 2023-12-06 18:07:42 +02:00
shove
55e86febf6
checker: fix generics method call with struct short syntax args(fix #20030) (#20100) 2023-12-06 12:24:48 +02:00
Felipe Pena
d564db6ca8
checker: fix comptimecall type resolution on checker phase and method.return_type comptime checking and assignment from option comptimecall (#20092) 2023-12-06 12:21:07 +02:00
yuyi
09d05bb57b
checker: fix generic interface interring error (#20098) 2023-12-06 11:38:13 +02:00
Delyan Angelov
21d44072cd
tests: improve the formatting of the output of coutput_test.v 2023-12-05 21:37:56 +02:00