437 Commits

Author SHA1 Message Date
Larsimusrex
d249bfb04e
decoder2: fix remaining json2 discrepancies (#25029) 2025-08-03 10:27:43 +03:00
Larsimusrex
809e617501
decoder2: support custom decoders (#25021) 2025-08-02 14:07:29 +03:00
Larsimusrex
f03d800800
decoder2: fix number decoding and improve errors (#25015) 2025-08-01 06:56:39 +03:00
Delyan Angelov
b511f2239e
ci,x.json2.decoder2: fix sanitize jobs 2025-07-26 16:53:53 +03:00
Larsimusrex
66c669fffd
decoder2: rework decoding of sumtypes (#24949) 2025-07-26 07:06:43 +03:00
Delyan Angelov
ba826c047b
ci: retry session_app_test.v 2 times, since it is network dependent, and sometimes (rarely) fails 2025-07-23 15:09:58 +03:00
Delyan Angelov
3725576729
docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
Larsimusrex
747af8c360
x.json2.decoder2: fix decoding of structs with option fields (fix #24409) (#24922) 2025-07-18 11:03:21 +03:00
Larsimusrex
54c6daab54
decoder2: fix checking and decoding of escape characters (fix #24834) (#24915)
Co-authored-by: Lars Dumke <lars-luis.dumke@keysight.com>
2025-07-17 08:34:05 +03:00
Felipe Pena
54fec7b772
x.json2.decoder2: fix option decode (fix #24861) (#24881) 2025-07-13 10:26:45 +03:00
Felipe Pena
8f15d65168
cgen, x.json2: fix anon struct encode (fix #24836) (#24852) 2025-07-06 06:41:42 +03:00
Delyan Angelov
30ce22866d docs: put some more dots in the doc comments of public APIs, found by find_doc_comments_with_no_dots.v 2025-07-02 16:12:03 +03:00
blackshirt
226359ca71
x.crypto.curve25519: fix possible double free, add consistencies check, cleanup dead test code (#24762) 2025-06-20 07:25:15 +03:00
Delyan Angelov
99be39cbd1
ci: remove the // vtest flaky: true tags from the remaining tests (#24379) 2025-06-19 20:16:49 +03:00
blackshirt
d32969ed3e
x.crypto: initial addition of curve25519 module (#24748) 2025-06-19 07:25:26 +03:00
VolodymyrBg
10da1f632e
x.templating.dtm: fix demo link in README (#24729) 2025-06-16 06:43:18 +03:00
Hitalo Souza
cd244757db
x.json2: update tests to integrate decoder2 in json2 (#24551) 2025-05-29 13:01:50 +03:00
Delyan Angelov
e2cb01db88
x.benchmark: align the output of BenchmarkResult.print/0 2025-05-22 10:00:45 +03:00
Laurent Cheylus
4dc3465046
x.json2: fix tests for deprecated function fast_raw_decode (#24527) 2025-05-20 16:03:00 +03:00
omahs
1957162c2a
all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
Hitalo Souza
a412f53e62
x.json2.decoder2: fix array decoding in struct is field, when array is initialized (#24422) 2025-05-06 12:32:53 +03:00
Alexander Medvednikov
7d57a19d7e checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
kbkpbot
44a4975504
type_resolver: i32 is now $int too (fix #24346) (#24378) 2025-05-01 09:12:35 +03:00
blackshirt
f8c35b43f6
x.crypto.chacha20: add a check counter overflow to set_counter for standard mode (#24365) 2025-04-30 19:29:39 +03:00
kbkpbot
1f8f6d0e7d
x.json2: add u16(),u32() (fix #24337) (#24342) 2025-04-28 04:20:38 +03:00
blackshirt
a8a4507237
x.crypto.slhdsa: add a SLH-DSA implementation, a stateless hash-based DSA, a post quantum cryptographic module (#24086) 2025-04-01 14:01:26 +03:00
kbkpbot
8a23ea6e94
ci, x.crypto.chacha20: fix overflow detected in the sanitized runs on the CI (#24064) 2025-03-28 11:10:43 +02:00
blackshirt
19a6668864
x.crypto.chacha20: enable support for 64-bit counter (fix #23904) (#24053) 2025-03-27 19:30:31 +02:00
blackshirt
e491eb05ab
x.crypto.chacha20: makes the underlying cipher routine aware of the 64-bit counter (#24050) 2025-03-26 14:02:58 +02:00
blackshirt
f2b90bfa01
x.crypto.chacha20: fix xor_key_stream failing after a while (fix #24043) (#24046) 2025-03-25 23:31:10 +02:00
blackshirt
2b7690254d
x.crypto.chacha20: change internal cipher to support a 64 bit counter (related to #23904) (#24039) 2025-03-25 12:03:31 +02:00
blackshirt
287e9a8fa8
x.crypto.chacha20: clean up as preliminary work to support 64-bit counter (#24038) 2025-03-25 07:48:26 +02:00
Hitalo Souza
1f07431e1a
x.json2.decoder2: update decode.v (#24020) 2025-03-23 21:40:00 +02:00
blackshirt
a199a6ea2e
x.crypto.chacha20: fix consecutive calls of xor_key_stream, add tests (fix #23977) (#24003) 2025-03-23 18:49:43 +02:00
Mr. Doge
21874f93dc
x.json2: fix "\\" scanner bug, disallow (ch < 0x20) unescaped control characters (#23954) 2025-03-16 13:38:40 +02:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Delyan Angelov
af6247135c
x.json2: add a convenience Any.as_map_of_strings/0 method 2025-03-08 16:49:50 +02:00
Hitalo Souza
c349381aa5
x.json2.decoder2: improve string tests (#23809) 2025-02-26 03:49:04 +02:00
Delyan Angelov
55f482bb63
ci: update linux image runners from ubuntu-20.04 to ubuntu-24.04 (#23706) 2025-02-17 07:37:59 +02:00
Felipe Pena
a4541c2351
checker: fix sumtype variant option type mismatch (#23659) 2025-02-07 16:48:22 +02:00
Felipe Pena
c2e436518b
checker: fix private symbol visibility checking (fix #23518) (#23543) 2025-01-27 11:42:27 +02:00
Felipe Pena
5be2fcab7b
checker: make option_var.str() an error, when done without unwrapping it first (fix #23557, fix #23558) (#23563) 2025-01-25 07:23:05 +02:00
Delyan Angelov
c432ed1216
ci: fix failure of the check-markdown job 2025-01-19 12:58:06 +02:00
Alexander Medvednikov
e5f70278ea x.vweb: remove the entire module (it's now veb) 2025-01-19 05:43:03 +03:00
Delyan Angelov
e983d75b64
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
Felipe Pena
87c0a9ce28
checker: fix comptime indexexpr resolving (#23333) 2025-01-02 01:48:50 +02:00
Felipe Pena
2112bb82eb
checker: fix structinit validation on nested generic Map[K]V (fix #23329) (#23332) 2025-01-01 15:33:56 +02:00
Felipe Pena
052e5af8f3
checker: fix assign check, when rechecking for another concrete type (#23212) 2024-12-20 19:39:11 +02:00
larpon
05cbbfbabc
x.ttf: add missing doc strings to the module's public symbols (#23205) 2024-12-19 14:32:41 +02:00
Hitalo Souza
e32e9f70ce
x.json2.decode2: minor improvements and bugfixes (#23083) 2024-12-07 10:22:46 +02:00