Commit graph

332 commits

Author SHA1 Message Date
Hitalo Souza
ee3cd36760
picoev: renaming, doc (#20567) 2024-02-10 05:54:27 +03:00
blackshirt
ce7780af69
x.crypto: add poly1305 message authentication code (mac) in pure v (#20752) 2024-02-09 11:46:30 +02:00
GGRei
9782b3c51f
dtm: optimize parser/gen of the template manager (#20751) 2024-02-08 19:23:11 +02:00
Casper Küthe
3bd99309dd
x.vweb: add new sessions module (#20642) 2024-02-07 19:00:48 +02:00
Casper Küthe
ee55e9b461
x.vweb: add serve_static example in README (#20740) 2024-02-07 06:35:21 +02:00
MedLabs
9f32af78eb
x.vweb: fix cors example (#20738) 2024-02-06 21:18:05 +02:00
GGRei
b3e9725a93
dtm: add a README.md (#20716) 2024-02-06 21:17:15 +02:00
GGRei
2f4858c5f7
dtm: redesign certain parts (#20735) 2024-02-06 18:16:18 +02:00
Casper Küthe
4b4646169b
x.vweb: add cors middleware (#20713) 2024-02-05 00:16:29 +02:00
Delyan Angelov
a80af0ff62
x.vweb: add the missing include for C.sendfile to sendfile_linux.c.v 2024-02-04 23:09:20 +02:00
Delyan Angelov
8609ea1954
x.vweb: use $if debug_ev_callback ? { for the [vweb] error: write event on connection should be closed message 2024-02-04 16:39:07 +02:00
Alexander Medvednikov
68275ec7bd x.vweb: error() and simpler redirect(); comptime: a clearer error 2024-02-03 04:23:38 +03:00
GGRei
07016fb3d5
vlib: add a new Dynamic Template Manager module in x.templating.dtm and an example vweb server that uses it (#20468) 2024-02-02 16:14:51 +02:00
Casper Küthe
32b4a3c008
x.vweb: support HTTP 1.1 persistent connections (#20658) 2024-01-27 07:07:00 +02:00
kbkpbot
10aaeeb54e
x.crypto: add sm4 module (#20651) 2024-01-26 20:45:26 +02:00
Casper Küthe
8714233f79
vweb, x.vweb: update error checking for new error io.Eof (#20656) 2024-01-26 02:47:25 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Muhammad Saleh Solahudin
7b6349f0a4
vweb,x.vweb: fix typos in README files (#20604) 2024-01-21 11:48:04 +02:00
Pierre Curto
d585e50281
x.json2: fix panic on calling json2.decode of an optional enum (fix #20593) (#20603) 2024-01-21 09:01:25 +02:00
Hitalo Souza
62872c677f
json2: cleanup (#20347) 2024-01-12 22:48:28 +02:00
Casper Küthe
464062774f
x.vweb: add error, when static directory does not exist (#20455) 2024-01-10 18:07:55 +02:00
blackshirt
0713e398a6
x.crypto.chacha20: speed up the core functionality of the ChaCha20 stream cipher (#20470) 2024-01-10 17:51:08 +02:00
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