Commit graph

260 commits

Author SHA1 Message Date
blackshirt
66d222cc72
x.crypto: add x.crypto.chacha20 stream cipher module (#20417) 2024-01-07 15:21:23 +02:00
Casper Küthe
7c310a1bd7
x.vweb, picoev: fix timeout event (#20377) 2024-01-04 12:05:39 +02:00
Delyan Angelov
1ca808cdc7
ci: retry vlib/x/vweb/sse/sse_test.v 3 times, to avoid false positives for unrelated PRs 2024-01-02 17:36:03 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Hitalo Souza
cb28144eea
json2: strict module (#17927) 2024-01-01 13:56:19 +02:00
Hitalo Souza
abb0cf774f
x.json2: support sumtype encoding in a more robust way (#20093) 2024-01-01 13:24:32 +02:00
Hitalo Souza
e333d548f3
x.json2: improve performance for checking option values for none (#20325) 2024-01-01 13:10:19 +02:00
Delyan Angelov
923b410d4d
x.vweb: fix $vweb.html() integration in cgen for the newer x.vweb module (fix #20204) 2023-12-30 23:05:07 +02:00
Casper Küthe
fa81188887
x.vweb.assets: reimplement assets module for x.vweb (#20280) 2023-12-30 22:10:10 +02:00
Hitalo Souza
7fc31591ad
x.json2: optimise encoding to be faster than cJSON with -prod (#20052) 2023-12-29 18:28:11 +02:00
Carlos Esquerdo Bernat
db80a002d6
x.json2: make public the generic function map_from/1 (#20294) 2023-12-29 10:45:45 +02:00
Casper Küthe
ada9efd825
x.vweb: fix fsanitize-address test for SSE, improve documentation on the usage of takeover_conn (#20249) 2023-12-22 09:53:27 +02:00
Delyan Angelov
944b9554bd
x.json2: fix encoding of 💀🐈 etc emojis (fix #20243) (#20247) 2023-12-21 23:44:49 +02:00
Swastik Baranwal
94d288197e
x.json2: add encoder support for time.Time (#20228) 2023-12-20 17:31:20 +02:00
Casper Küthe
cfd19bfe77
x.vweb.sse: reimplement SSE module for x.vweb (#20203) 2023-12-17 21:00:10 +02:00
Casper Küthe
70c575a9f2
examples: add TODO app example with x.vweb (#20175) 2023-12-14 20:20:16 +02:00
Casper Küthe
d898636bda
x.vweb: reimplement csrf module (#20160) 2023-12-13 18:04:42 +02:00
Casper Küthe
ebab6d5270
x.vweb: fix large payload (#20155) 2023-12-12 11:06:14 +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
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03: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
5e37798560
ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
JalonSolov
6cc51f254f
sync,szip,term,time,x.ttf: prepare for making -W impure-v the default (#19929) 2023-11-19 18:33:07 +02:00
Kim Shrier
cc220e60a5
vlib: change byte to u8 (#19930) 2023-11-19 04:23:32 +03:00
Kim Shrier
709976f42e
x.json2: replace deprecated type byte with u8 in the tests (#19909) 2023-11-17 11:56:04 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Turiiya
e86abe0376
checker: extend byte deprecation warning to array init types (#19671) 2023-10-29 14:22:51 +02:00
Turiiya
9051ac8921
all: fix typos (#19634) 2023-10-23 21:21:15 +03:00
Adam Oates
b8d47646f0
json2: add support for nested structs (#19579) 2023-10-16 14:04:37 +03:00
Larpon
3c68e78f32
sokol: fix usage of sokol sampler (#19527) 2023-10-07 21:05:30 +03:00
Alexander Medvednikov
0bf85d049e sokol: upgrade to latest version, fix all related issues 2023-10-05 20:22:49 +03:00
yuyi
55ca8d8d8e
fmt: align the custom values of the enum fields (#19331) 2023-09-12 14:44:38 +03:00
yuyi
18e60e77de
fmt: remove inline comments (#19263) 2023-09-03 23:51:56 +03:00
yuyi
d417bba432
checker: check error for or_expr inside infix expression (#19213) 2023-08-25 20:00:58 +03:00
Delyan Angelov
bf1a982273
x.ttf: fix a compiler notice for vlib/x/ttf/text_block.v 2023-08-21 18:08:28 +03:00
yuyi
e1758bc0c5
cgen: fix infix expr with number overflow (fix #18905) (#18936) 2023-07-23 13:18:22 +03:00
Hitalo Souza
aeebb4f118
json2: small refactor (#16913) 2023-06-27 20:07:44 +03:00
squidink7
5006ffb304
time, x.json2: improve iso8601 time decoding (#18496) 2023-06-21 12:34:50 +03:00
Felipe Pena
2c123dffbb
cgen: fix comptimeselector option propagation (#18092) 2023-05-03 08:31:48 +03:00
Hitalo Souza
b0589c645d
json2: encode reference fields too (#17058) 2023-04-28 16:24:27 +03:00
Hitalo Souza
91874f3244
json2: encode array (#17926) 2023-04-10 19:54:43 +03:00
Hitalo Souza
4d4d76d65b
json2: fix encoding of nested maps like map[string]map[string]int (#17924) 2023-04-10 18:57:02 +03:00
Felipe Pena
5c439b6621
cgen: fix auto_str for option values (#17910) 2023-04-10 05:56:57 +02:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Hitalo Souza
dc11f1fe05
json2: fix decode to map doesn't work (#17757) 2023-03-24 17:30:32 +02:00
Hitalo Souza
979066856b
json2: encode map (#16928) 2023-03-24 13:45:26 +02:00
Felipe Pena
9a9cfe425c
all: comptime type lowercase ($int, $enum, $option, etc) (#17732) 2023-03-23 00:02:42 +01:00
yuyi
d349c1d86d
checker: check generic fn call argument type mismatch (#17680) 2023-03-16 21:19:03 +02:00
Felipe Pena
785546f277
json2: fix decode result with option fields (#17561) 2023-03-08 20:54:28 +01:00