Commit Graph

867 Commits

Author SHA1 Message Date
gingerBill
d21fea404b Merge pull request #6631 from heavyrain266/deprecate-haiku
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
Yawning Angel
d2c29c025e core/crypto/mlkem: Initial import 2026-05-06 09:53:02 +09:00
Yawning Angel
8f1067f290 tests/core/crypto/wycheproof: Break up into separate files 2026-05-06 09:53:02 +09:00
Yawning Angel
e3504c94ad core/crypto: Get rid of set (only used by legacy) 2026-05-06 09:53:02 +09:00
Ignacy Koper
d1915fa6f5 removed Haiku from compiler targets, and tests
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:23 +02:00
Nikolay Hadzhiev
f91fd92842 gh 6621 2026-04-27 10:28:35 +02:00
Nikolay Hadzhiev
48e83ad003 gh 6594
prevent compiler crash from self-referential global initialisation
2026-04-22 13:14:08 +02:00
Yawning Angel
6ad118ca90 ci: Run the core/crypto/noise known answer tests 2026-04-20 21:34:24 +09:00
Yawning Angel
40554a5d87 test/core/crypto/noise: Add known answer tests 2026-04-20 21:34:24 +09:00
Yawning Angel
195b8593b5 test/core/crypto/wycheproof: Refactor/dead code removal 2026-04-20 21:34:24 +09:00
Yawning Angel
4e8c80f80b core/crypto/noise: Move the smoke tests to the standard location 2026-04-20 21:34:24 +09:00
FourteenBrush
cce574cfc4 Add invalid array bound trap test 2026-04-13 14:51:51 +02:00
k-nrd
2c6c646342 Merge branch 'master' into fix/field-first-writes-into-dynamic-soa 2026-04-09 15:19:11 -03:00
Harold Brenes
7da7bc8456 Add test case for issue #6484 2026-03-26 20:10:24 -04:00
Mortimer Snerd
6aceb7639f Clean up the name of the test file for this PR 2026-03-25 19:55:38 -04:00
Mortimer Snerd
2363f85944 Fix for corner case in the scratch allocator.
The scratch allocator could erroneously return a slice
overlapping previously allocated memory for allocation
requests that were smaller than the arena size, but larger
than the amount of free space left in the arena.

- fix the check in mem::scratch_alloc_bytes_non_zeroed
  that wasn't routing the request to the backup allocator.
- added concrete reproduction test under tests/issues.
2026-03-25 19:33:17 -04:00
Harold Brenes
35b4c42f87 Use odin test for test_pr_6470.odin on windows 2026-03-24 16:07:59 -04:00
Harold Brenes
b66e65e7f8 Rename temp test name given PR number 2026-03-24 15:40:29 -04:00
Harold Brenes
7a017d2ecd Add test case for implicit cast pointer to offset zero subtype field proc param 2026-03-24 15:37:04 -04:00
Laytan
99dffb344a Merge pull request #6424 from andzdroid/patch-4
encoding/cbor: fix order-dependent partial unmarshals
2026-03-16 15:17:57 +01:00
andzdroid
f123fb1e91 encoding/cbor: fix order-dependent partial unmarshals 2026-03-15 13:20:57 +00:00
gingerBill
c6772dfd06 Merge branch 'master' into bill/fixed-capacity-dynamic-array 2026-03-15 11:41:01 +00:00
gingerBill
0e6ea3884d General improves 2026-03-14 16:26:42 +00:00
gingerBill
c7308d86d4 Fix tests as they are not direct matches to small_array 2026-03-12 17:33:54 +00:00
gingerBill
6e9d6bfbe5 Fixed tests 2026-03-12 16:55:46 +00:00
gingerBill
43d8c2bb34 Add basic tests
I know this is not the best place to put them but since `[dynamic; N]T` is meant to a replacement for `small_array.Small_Array(N, T)`, I thought it would be fine for the time being.
2026-03-12 16:41:24 +00:00
Jeroen van Rijn
b0e88fbed4 Merge pull request #6398 from Faker-09/virtual_arena_overcommit_bug_5821
Fix for virtual arena overcommit bug #5821
2026-03-12 12:29:44 +01:00
bymehul
763c8d3a42 Fix generic cycle deadlock in struct layout 2026-03-11 03:04:26 +05:30
bymehul
c9e55d3add fix: handle full-width bit_field literal masks 2026-03-10 23:21:19 +05:30
Shane Shrybman
5a82f06ba1 Add virtual arena tests for bug #5821 2026-03-10 11:12:45 -04:00
StudebakerGuy
c4f5f9e55a Add files needed to generate unicode tables
This commit adds the directory `/core/assets/UCD/`. This directory
contains three files; `PropList.txt`, `UnicodeData.txt`, and `license.txt`.
These files are from the Unicode Database (UCD). The first two  are used to
generate tables for `core/unicode`. The third is the license that
covers the files that make up the UCD.

These files are from Unicode version 17.0.0. The latest versions may be
found ad [ucd](https://www.unicode.org/Public/UCD/latest/ucd/).
2026-03-09 19:48:07 +01:00
Yawning Angel
86b629ba84 core/crypto/argon2id: Initial import 2026-03-04 21:29:55 +09:00
Yawning Angel
058bd9a914 core:crypto/_blake2: Cleanups and fixes
The fixes apply to "use it as a MAC" which was not part of the
documented/exposed API.  It now is, and is covered by the self-test
routines from the RFC.
2026-03-04 21:22:56 +09:00
Louis Novy
7732a78c08 harden run.bat and add missing test_issue_2395 2026-03-01 21:33:14 -08:00
Louis Novy
1a27af515f add test file 2026-03-01 21:18:30 -08:00
Louis Novy
e3d6fe72f8 fix broken bit_set parapoly specialization #6240 2026-03-01 20:58:43 -08:00
Gustavo Konrad
f82d41bc9a fix #6344: field-first index writes on #soa[dynamic]T and #soa[]T 2026-02-28 12:33:57 -03:00
Jeroen van Rijn
a0b9d710f7 Merge pull request #6336 from bplu4t2f/master
Fix MultiByteToWideChar usage in utf8_to_wstring_buf
2026-02-28 13:16:39 +01:00
miningape
4ec443df9b fix: strings.substring not returning end of range 2026-02-28 00:44:26 +01:00
Jeroen van Rijn
3c84305e38 [core:net] Make IPv6 resolution test failure informative instead. 2026-02-27 21:35:36 +01:00
Laytan Laats
f61a216c9f nbio: put clearing of list nodes in proper place and simplify test 2026-02-27 21:04:43 +01:00
bplu4t2f
1c09a2be55 Add tests for utf8_to_utf16_alloc, utf8_to_wstring_alloc 2026-02-26 20:49:36 +01:00
bplu4t2f
572bebd031 Add tests for win32 string conversion functions 2026-02-26 18:11:48 +01:00
andzdroid
334a554de3 nbio: fix op re-use 2026-02-26 00:31:12 +00:00
bplu4t2f
730f417ecb Fix MultiByteToWideChar usage in utf8_to_wstring_buf 2026-02-25 23:02:14 +01:00
George Potoshin
5335bdbe34 [core:text/regex] Follow up to fix #6323 and add test case. As was said in the issue discussion I had suspicion that there may be a sibling bug in .Assert_Non_Word_Boundary implementation and I was able to confirm that with re.findall(rB", ") python code. Odin implementation outputed an empty string wherase python gave "'". That is the same bug related to incorrect logic on string ends. This commit makes implementation of those 2 instructions cleaner and adds a test case. 2026-02-25 14:33:09 +01:00
Jeroen van Rijn
3bcddb43c7 missing , 2026-02-25 10:55:30 +01:00
Jeroen van Rijn
e696073d7b [core:text/regex] Fix #6323 and add test case
Thanks to @GPotoshin for the fix.
2026-02-25 10:49:27 +01:00
Jeroen van Rijn
4321efacc3 [core:container/priority_queue] Add example and tests 2026-02-24 13:05:26 +01:00
Jeroen van Rijn
82b3917300 Update unicode.xml to 17 2026-02-21 14:02:41 +01:00