Commit graph

18316 commits

Author SHA1 Message Date
Alexander Medvednikov
c9a79ea026 bench: crypto/ecdsa.v 2024-09-26 22:36:23 +03:00
Alexander Medvednikov
f7cc9d5daa crypto: ecdsa module (on top of openssl) 2024-09-26 22:30:07 +03:00
Alexander Medvednikov
9c0a7e7955 json: support null sum types in decode() 2024-09-26 19:39:38 +03:00
Meng Zhuo
b1c9941065
builtin: enable GC lib on rv64 build (#22319) 2024-09-26 10:58:33 +03:00
Delyan Angelov
e03bd3f803
io: make buffered_writer_test.v more robust 2024-09-26 08:45:13 +03:00
Felipe Pena
9bc975eb07
net: allow ipv6 address with brackets (fix #22313) (#22316) 2024-09-26 08:18:52 +03:00
Jakub Jabłoński
956f74ab95
ci: add cache and trigger for pushes, in the Hub docker action (#22314) 2024-09-26 08:02:21 +03:00
Felipe Pena
e3084ba636
cgen: fix variadic arg var passed to another call which expects variadic (fix #22315) (#22317) 2024-09-26 07:29:06 +03:00
Felipe Pena
08eef34f26
cgen: fix codegen for assign from unsafeexpr resulting fixed array (fix #22301) (#22309) 2024-09-26 07:25:46 +03:00
Felipe Pena
31e71e90ae
checker: add missing check for duplicated items on in expr (fix #22305) (#22308) 2024-09-26 06:52:45 +03:00
yuyi
1dfe004f53
checker: check array.delete() argument mismatch (#22307) 2024-09-25 22:03:00 +03:00
Jakub Jabłoński
27973f70ab
docker: hub docker action fix (#22312) 2024-09-25 22:02:38 +03:00
yuyi
4248fc55c5
cgen: fix operation overload for type aliases of fixed arrays (fix #22297) (#22304) 2024-09-25 11:49:27 +03:00
Felipe Pena
1a4ad55651
parser: add back the escape for @ using @@ in $tmpl() templates, add tests (the regression happened in 3115796 from 2024-09-22) (#22303) 2024-09-25 09:27:54 +03:00
Delyan Angelov
e1900ae56a
ci: make Git less picky in the newer ubuntu-docker-musl image 2024-09-25 09:12:00 +03:00
Delyan Angelov
1d427da99d
tools: make vretry_test.v more verbose when run on the CI 2024-09-25 09:03:24 +03:00
Jakub Jabłoński
14bf78d66d
ci: add hub_docker_ci.yml, for building docker images (triggered manually for now) (#22302) 2024-09-25 08:43:16 +03:00
Felipe Pena
41e045c553
cgen: fix codegen for method call on rangeexpr (fix #12610) (#22291) 2024-09-25 00:05:38 +03:00
Felipe Pena
d5f0db9847
tmpl: fix extra newline added on @if-@else-@end block (#22289) 2024-09-24 23:59:08 +03:00
yuyi
e974460b45
fmt: cleanup align.v (#22295) 2024-09-24 22:16:38 +03:00
yuyi
4ee948feaa
parser: check enum method duplicated (fix #20924) (#22294) 2024-09-24 12:20:19 +03:00
Felipe Pena
07465a4e7d
checker: fix fntype var marked as auto heap (#22290) 2024-09-24 06:54:02 +03:00
Alexander Medvednikov
03e0b9e646 math: document q_rsqrt 2024-09-24 04:33:46 +03:00
skeris
c72dde20d0
vlib: add a go like x.benchmark module, that estimates automatically how many iterations are needed, to get a statistically significant result (#22215) 2024-09-23 13:56:00 +03:00
Delyan Angelov
e5d46d2f81
examples: add a consistent background to flappylearning, shown when the height of the view is very high (on Android) 2024-09-23 13:30:22 +03:00
Felipe Pena
b79aa0208f
cgen: fix option cast from fntype (fix #22283, #22284) (#22285) 2024-09-23 00:34:24 +03:00
Delyan Angelov
8ff61ffeab
tools: remove drag_n_drop.v from the list of examples, that are checked for visual differences with vgret, since it now uses the default gg font 2024-09-23 00:22:02 +03:00
Felipe Pena
4f39bac1fd
checker, cgen: fix codegen for option fntype used in a match (fix #22278) (#22280) 2024-09-22 21:11:01 +03:00
Delyan Angelov
f98e9d5757
examples: remove the setting of font_path from drag_n_drop.v and quadtree_demo.v (make them portable to Android + setting the font does not matter, for their goal) 2024-09-22 20:58:17 +03:00
Delyan Angelov
cfa91d81d7
examples,os: add an os.asset module, use it to simplify code in examples/, by removing $if android { checks (#22281) 2024-09-22 16:04:05 +03:00
Einar Hjortdal
64d1770cf1
io: add a BufferedWriter and supporting methods (#22265) 2024-09-22 15:57:46 +03:00
Delyan Angelov
295807d7ef
net: use explicit int casts for net.error_eintr etc in the unix implementation too for consistency with the windows one 2024-09-22 15:28:20 +03:00
Delyan Angelov
2f59018a96
net: fix compilation on windows (use casts to int for net.error_eintr etc) 2024-09-22 15:22:26 +03:00
Felipe Pena
635a0c6658
cgen: fix codegen for alias to charptr passed as ptr (fix #9679) (#22271) 2024-09-22 08:29:56 +03:00
Carlos Esquerdo Bernat
3115796756
parser: fix .${var} used in a template, compiled by $tmpl() (fix #22231) (#22270) 2024-09-22 08:22:24 +03:00
larpon
59d5115483
examples: make gg/stars.v run on android (#22276) 2024-09-22 08:02:14 +03:00
larpon
d139e56ca7
examples: make gg/rectangles.v Android friendly (#22275) 2024-09-22 08:00:41 +03:00
Felipe Pena
1233858488
json: fix json encode/decode with embed support (#22277) 2024-09-22 07:54:22 +03:00
Jacob Davis
3ec4939506
net.websocket: use retrying on EINTR in Client.listen() (#22279) 2024-09-22 07:48:53 +03:00
larpon
1e1bc1046a
examples: add gc_is_enabled() check to 2048 to prevent crash in Android emulator (#22274) 2024-09-22 07:41:26 +03:00
Delyan Angelov
33073407c6
Revert "ci: fix failures in vab_ci.yml (#22267)"
This reverts commit 7af312c542.
2024-09-21 20:04:55 +03:00
Einar Hjortdal
5e624a5b23
crypto.rand: add support for convenient generation of a random big integer in the interval [0, n) (#22266) 2024-09-21 15:58:10 +03:00
Felipe Pena
8ae627ff79
cgen: fix C name mangling with inherited closure vars (fix #22262) (#22263) 2024-09-21 09:07:58 +03:00
Felipe Pena
651a116159
json: fix decoding of structs with embeds (#22264) 2024-09-21 09:01:11 +03:00
Delyan Angelov
7af312c542
ci: fix failures in vab_ci.yml (#22267) 2024-09-21 08:33:48 +03:00
Felipe Pena
c866e375e2
cgen: fix code for C ident when ptr is expected (#22259) 2024-09-20 11:24:03 +03:00
vlang-bot
9a0f4d8461 tools: make fast.v and fast_job.v more self sufficient 2024-09-19 13:51:27 +03:00
vlang-bot
24088a7ca4 tools: make fast_job.v more robust (setup a custom PATH) and informative on fast.v failures (compile it with -g) 2024-09-19 12:22:42 +03:00
yuyi
1f0a6337ce
ci: restore format v-analyzer job in v_apps_and_modules_compile_ci.yml (#22258) 2024-09-19 11:48:17 +03:00
yuyi
63957f248d
strconv: cleanup format_fl()/format_es() (#22257) 2024-09-19 04:49:39 +03:00