666 Commits

Author SHA1 Message Date
Jeroen van Rijn
97683ae014 Simplify 2026-02-12 10:48:26 +01:00
Jeroen van Rijn
8366e7094a Fix up ABI name for core:os and core:os/old 2026-02-09 16:27:53 +01:00
Jeroen van Rijn
e7dbabf668 core:os -> core:os/old && core:os/os2 -> core:os 2026-02-09 15:50:21 +01:00
Jeroen van Rijn
8ed264680b Remove all core:os imports from JS targets
Fix `local_tz_name` on FreeBSD.
2026-02-09 15:07:27 +01:00
Jeroen van Rijn
2c39af1581 Fix 2026-02-08 13:06:19 +01:00
Jeroen van Rijn
13228c14e8 More conflicts during rebase 2026-02-08 13:04:44 +01:00
Jeroen van Rijn
5924fb448e Add tests for glob + match 2026-02-08 12:54:25 +01:00
Jeroen van Rijn
5d03da8365 Start of glob test 2026-02-08 12:54:24 +01:00
Jeroen van Rijn
691dc44719 Add glob + match to os2 2026-02-08 12:51:29 +01:00
Jeroen van Rijn
af57035fd6 tests/core/io -> os2 2026-02-08 12:50:23 +01:00
Jeroen van Rijn
f63c209478 Convert core:encoding/hxa 2026-02-08 12:42:26 +01:00
Jeroen van Rijn
1cbd60f40e Reenable core:encoding/ini tests 2026-02-08 12:42:25 +01:00
Jeroen van Rijn
270df36468 Merge pull request #6213 from Yawning/feature/more-secec
crypto: More core:crypto
2026-02-03 15:45:57 +01:00
Yawning Angel
eadd5f789c core/crypto/ecdh: Add secp384r1 2026-02-03 18:48:07 +09:00
Yawning Angel
64ce2bdf0e core/crypto/_weierstrass: Add secp384r1 2026-02-03 18:48:07 +09:00
Laytan Laats
0a05ff05a3 nbio: fix send/recv buffer logic 2026-01-30 23:37:31 +01:00
Yawning Angel
c35b49bf60 core/crypto/ecdh: Initial import 2026-01-28 22:50:27 +09:00
Yawning Angel
5ce448a8d5 core/crypto: Start work on the NIST curves 2026-01-28 22:50:27 +09:00
Yawning Angel
429e8a46db core/crypto/ed25519: Cosmetic fixes (NFC) 2026-01-28 22:20:03 +09:00
Jeroen van Rijn
4acdd3f60b Fix CRC 2026-01-22 11:49:47 +01:00
Jeroen van Rijn
3f8a32aeb9 Merge branch 'master' into xmlcomment 2026-01-22 11:47:23 +01:00
Jeroen van Rijn
27ac0ebc37 Merge pull request #6145 from odin-lang/bill/html-escape
Update `core:encoding/entity`
2026-01-18 13:37:45 +01:00
gingerBill
ca507d0596 Fix crc32 for xml_test_entities_unbox_decode 2026-01-18 12:30:55 +00:00
rykad
454f75cb22 core:encoding/base64: add support for url variant 2026-01-17 22:26:25 +00:00
Laytan Laats
24ee35af28 nbio: add package 2026-01-11 20:21:25 +01:00
Laytan Laats
872fe3ff73 kqueue: fix bsds, add user filter, add struct tests 2026-01-11 20:21:25 +01:00
Laytan Laats
ec040c1fcb rbtree: fix pointer usages 2026-01-11 20:21:25 +01:00
Laytan Laats
c10771305d net: implement OpenBSD and NetBSD support & add stubs for other targets & cleanup 2026-01-11 20:21:21 +01:00
StudebakerGuy
fb479b3aae Corrected CRC's
CRC's were correct in relation to changes to address comments containing
-- at the end.
2026-01-08 11:34:50 -05:00
Zoltán Kéri
d802a4e9fa encoding/base32: Fix padding validation for malformed input
Fix a bug where padding characters in the middle of input were
not detected when there was no trailing padding.

The "verify no padding in middle" check was inside `if
padding_count > 0`, so inputs like "MZ===YTBMZXW6YTB" would
incorrectly pass validation.

Test case added for this edge case.
2025-12-27 04:30:37 +01:00
Laytan Laats
9cace19277 net(docs): recv of 0 bytes with no error is a graceful close 2025-12-21 19:10:42 +01:00
Harold Brenes
eda6e64639 Fix nfds_t alias for Linux 2025-12-20 16:55:06 -05:00
Andreas Stenmark
14a27b4d2f Removed unneded semicolons. 2025-11-30 22:23:01 +01:00
Andreas Stenmark
ad11d3bea0 Fix #5978: choice_bit_set respects bit_set domain 2025-11-30 21:46:26 +01:00
Yawning Angel
aa8e6e0938 tests: Add random number generator tests 2025-11-29 16:16:52 +09:00
Jeroen van Rijn
eff32e18a7 Also test a big int with a large number of zeroes. 2025-11-27 16:32:27 +01:00
Jeroen van Rijn
1ea5990be2 Speed up big.itoa
Extract 18 (64-bit) or 8 (32-bit) digits per big division.
This gives a 2.5x speedup for a 1024-bit bigint.
2025-11-27 15:35:05 +01:00
gingerBill
0b4884ada4 Update test generator 2025-11-27 09:21:54 +00:00
Jeroen van Rijn
1fb95dade2 Expand base64 tests to include roundtrip 2025-11-22 15:44:19 +01:00
Jeroen van Rijn
56aab55d82 Fix #5931
Fix #5931 and add test case for it.
2025-11-18 15:37:57 +01:00
Laytan Laats
8f2a268c2f Revert "temp log for more info about semid_ds fail"
This reverts commit fb50a548f7.
2025-11-08 21:27:06 +01:00
Laytan Laats
0a091063ce debug offsets 2025-11-08 21:20:09 +01:00
Laytan Laats
fb50a548f7 temp log for more info about semid_ds fail 2025-11-08 20:26:11 +01:00
gingerBill
e5153a937b Merge pull request #5859 from odin-lang/bill/change-license
Change Odin's LICENSE to zlib from BSD 3-clause
2025-11-04 13:53:13 +00:00
thetarnav
e364e76f7f Add inject_at_soa and append_nothing_soa procedures 2025-11-02 12:13:11 +01:00
gingerBill
50176deeba Remove unneeded newlines 2025-10-28 14:53:26 +00:00
gingerBill
842cfee0f3 Change Odin's LICENSE to zlib from BSD 3-clause
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Jeroen van Rijn
a1be1b63d5 [core:hash] Add CCITT CRC-16 2025-10-21 16:33:07 +02:00
Jeroen van Rijn
ee93f48729 core:math/bits: Finish docs, add bitfield_extract + bitfield_insert test. 2025-10-14 23:30:38 +02:00
Jeroen van Rijn
347eae3a66 core:math/bits: Add docs + tests for rotate_left* and log2 2025-10-14 23:30:38 +02:00