42 Commits
Author SHA1 Message Date
Alexander Medvednikov fca9fad345 compiler: deprecate isize and usize in favor of int and uint (#31113) 2026-10-25 14:43:23 +03:00
Alexander Medvednikov 039967259f encoding.binary: complete offset float endian conversions (#30112) 2026-10-12 11:07:27 +03:00
scherandAlexander Medvednikov 99c47afe76 encoding.binary: check slice bounds in endian decode and put functions (#29973)
* encoding.binary: check slice bounds in endian decode and put functions

* encoding.binary: document slice bounds and cover extreme offsets

---------

Co-authored-by: Alexander Medvednikov <alexander@medvednikov.com>
2026-10-10 14:38:00 +03:00
Alexander Medvednikov e814006e31 all: lots of mac/linux ci fixes 2026-09-23 23:04:50 +03:00
Alexander Medvednikov 58c7231793 all: vfmt 2026-09-17 10:47:56 +03:00
Alexander Medvednikov 37513121a3 all: fix more tests 2026-04-28 18:31:13 +03:00
Alexander Medvednikov e2e5cf8db5 all: super_batch3 fixes 2026-04-13 04:18:00 +03:00
Alexander Medvednikov b0c59bd77f encoding.binary: add stream reader/writer (fixes #19037) 2026-04-13 04:09:17 +03:00
Alexander Medvednikov 4e71138489 comptime: fix struct comptime remove attrs' quotation mark (fixes #24186) 2026-03-10 21:52:42 +03:00
JalonSolov 3caa1b7297 encoding.binary: use unions for small speed increase and readability (#25867) 2025-11-30 20:17:10 +02:00
kbkpbot ab626909af encoding.binary: fix serialize skip struct shared fields (related to issue #25600) (#25613) 2025-10-29 11:58:05 +02:00
Mike 696b2fb166 encoding.binary: use a[idx] instead of << in long blocks of linear code (#25476) 2025-10-11 11:02:44 +03:00
kbkpbot e146ee600f encoding.binary: fix serialize map struct (fix #24190) (#24192) 2025-04-13 11:32:13 +03:00
kbkpbot 592615c049 encoding.binary: add encode_binary()/decode_binary() generic functions (#24106) 2025-04-02 09:05:22 +03:00
Ivan Vatlin 6aeef5e4db encoding.binary: add u16/u32/u64 -> []u8 conversion functions (#22193) 2024-09-10 20:22:34 +03:00
Alexander Medvednikov 39f419139e encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error 2024-07-01 15:07:07 +03:00
Alexander Medvednikov 940fc41c19 encoding.binary: little_endian_f32_at 2024-07-01 14:08:37 +03:00
Delyan Angelov 729a1cbc9f encoding.binary: add _fixed variants for the conversion fns, that accept fixed arrays (#20766) 2024-02-09 22:07:59 +02:00
Anton 763f94388b all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Kim Shrier c7ce72f314 encoding.binary: fix u32 little endian comments (#20256) 2023-12-23 15:26:17 +02:00
Joe C 757929392e all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Alexander Medvednikov 6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Makhnev Petr c8c70de87d docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
Nacho Verdón 42efc383d2 encoding.binary: fix function names in comments (#15317) 2022-08-02 00:30:06 +03:00
Nacho Verdón 9561fb406e encoding.binary: add functions to read/write with an offset and at the end of the array, split files by endianness (#15301) 2022-08-01 08:20:14 +03:00
Subhomoy Haldar 8ee614d3f8 encoding.binary: add unit tests and module documentation (#15000) 2022-07-09 15:52:19 +03:00
Delyan Angelov fc64f09f0b crypto.md5: improve performance of md5.blockblock_generic 2022-05-30 21:56:39 +03:00
Alexander Medvednikov fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
Alexander Medvednikov d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Delyan Angelov 8a380f4699 tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Lukas Neubert ac2c3847af all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
yuyi 5ae8853648 all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +02:00
Shun Sakai c8c43a2475 update copyright year 2020-01-23 21:04:46 +01:00
invisiblesoldiers 74713ffb62 encoding.binary: removed unneeded castings, rename function 2020-01-13 19:58:14 +01:00
Alexander Medvednikov a251db068f run vfmt on math and sha; add vfmt check to test-compiler 2019-12-22 02:50:20 +03:00
joe-conigliaro 8974aa4513 compiler/vlib: change _ := to _ = and disable _ := 2019-09-25 15:10:45 +03:00
joe-conigliaro f187c35fb2 vlib: inline certain functions 2019-09-18 15:45:32 +03:00
joe-conigliaro 9c9e6290a6 remove unnecessary mut argument (#2016) 2019-09-17 01:09:19 +03:00
Alexander Medvednikov 34e0b164eb make function arguments immutable by default 2019-08-07 08:59:00 +02:00
Alexander Medvednikov c35adbea91 vfmt fixes 2019-07-17 21:00:39 +02:00
joe-conigliaro a7529b7b05 sha1 implementation + helper funcs 2019-07-15 17:49:01 +02:00