17323 Commits

Author SHA1 Message Date
gingerBill
0a080751e0 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-04-21 16:36:09 +01:00
gingerBill
92c17b85e1 Allow assigning subtypes to unions 2026-04-21 16:35:57 +01:00
gingerBill
ec091a638a Merge pull request #6586 from Znarf64/prevent_coredump_from_systemcall
Prevent coredump when child process gets killed by signal.
2026-04-21 16:26:15 +01:00
Jeroen van Rijn
a970a5c35b Merge pull request #6573 from Yawning/feature/crypto/noise
core/crypto/noise: Import Lord-Hellgrim's noise implementation
2026-04-21 13:29:09 +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
Yawning Angel
81011ec361 core/crypto/noise: Add support for deferred patterns 2026-04-20 21:34:24 +09:00
Yawning Angel
81c89a6094 core/crypto/noise: Rename things to match convention 2026-04-20 21:34:24 +09:00
Yawning Angel
2a61f0920d core/crypto/noise: Fix HandshakeState_[Read,Write]Message
Per the specification EncryptAndHash/DecryptAndHash are always called.
2026-04-20 19:25:30 +09:00
Lord_Hellgrim
2623a8fa9f Added noise package to core:crypto
Special thanks to Yawning for review, guidance, and massive updates.
2026-04-20 19:25:30 +09:00
Yawning Angel
19f249b475 core/crypto/ecdh: Add private_key_set and public_key_set 2026-04-20 19:25:30 +09:00
Yawning Angel
64868089a6 core/crypto/ed25519: Add private_key_set, public_key_(set,clear) 2026-04-20 19:25:30 +09:00
Yawning Angel
bd7b67317d core/crypto/ecdsa: Add private_key_set and public_key_set 2026-04-20 19:25:30 +09:00
Yawning Angel
0af538c70a core/crypto: Fix doc comment (No functional changes) 2026-04-20 15:16:46 +09:00
gingerBill
5d75090014 Add more ntdll related timing procedures 2026-04-18 13:06:54 +01:00
Franz
fa3a9b6f04 Prevent coredump when child process gets killed by signal.
Generating a coredump here is not useful, but is relatively
slow and generates a useless ~20M file every time.
The child process still creates a coredump.
2026-04-17 12:49:29 +02:00
gingerBill
ef4241e00a Merge pull request #6565 from taylormck/update-vulkan-version-macros
feat(vulkan): add version macros
2026-04-17 10:18:20 +01:00
gingerBill
f462fbf0d9 Merge pull request #6583 from Znarf64/fix_array_count
Fix array counts for floats that are exactly representable as ints eg. [1.1e4]int
2026-04-17 09:52:11 +01:00
Franz
87c40b6465 Fix array counts for floats that are exactly representable as ints eg. [1.1e4]int 2026-04-16 22:57:20 +02:00
gingerBill
320f0f0fbd Merge pull request #6581 from jakubtomsu/fmt-map-set
Omit value when formatting map[T]struct{}
2026-04-16 18:05:54 +01:00
Jeroen van Rijn
ccd789f442 Merge pull request #6575 from juaumjuaumjuaum/master
core:path/filepath Create wrappers for allocating procedures
2026-04-16 18:25:09 +02:00
jakubtomsu
1b99e08a9e omit value when formatting map[T]struct{} 2026-04-16 17:04:34 +02:00
Jeroen van Rijn
df6fff6e4d Merge pull request #6579 from juaumjuaumjuaum/os-stem-empty-fix
Fix os.stem on empty path
2026-04-16 15:37:02 +02:00
juaum
7e4240a460 Fix os.stem on empty path 2026-04-16 15:11:40 +02:00
juaum
54866dc3c8 core:path/filepath Add wrappers that use context.allocator to functions that allocate
core:path/filepath Remove repeated function

core:os/path.base() Change empty return string if path is empty

core:os dir() & base() Revert changes to return output on empty path
2026-04-16 14:57:24 +02:00
gingerBill
813e2bd807 Merge pull request #6558 from sudokit/master
`address_hint` onto virtual memory reserve proc
2026-04-16 13:37:47 +01:00
gingerBill
421eaecd11 Merge pull request #6577 from c4veman/c4veman-patch-1
Fix virtual.map_file usage example
2026-04-16 12:58:30 +01:00
c4veman
9d0a27af7a Fix virtual.map_file usage example 2026-04-16 10:56:02 +01:00
gingerBill
508f0b62cb Merge pull request #6576 from victor-Lopez25/fix-sdl3_mixer-bindings
[SDL3_mixer] [bug] Removed #by_ptr from args that are valid as nil
2026-04-16 10:35:27 +01:00
victhor
c9c42f986c Use Maybe(^T) 2026-04-16 11:19:45 +02:00
victhor
915a9589cc Removed #by_ptr from args that are valid as nil
The docs say nil is not valid for the rest of the functions that still have #by_ptr
2026-04-16 08:56:00 +02:00
gingerBill
76eefe5a7e Merge pull request #6566 from c4veman/master
vendor/zlib: Fix signature of inflateInit_
2026-04-15 10:27:22 +01:00
gingerBill
32d45bbd27 Merge pull request #6553 from jakubtomsu/minimal-sroa
`-o:minimal` SROA and simplification passes
2026-04-15 10:25:21 +01:00
gingerBill
4558356bcf Merge pull request #6567 from Faker-09/print_double_flush
Remove extra 'defer bufio.writer_flush' from fprint procs
2026-04-14 11:02:43 +01:00
Jeroen van Rijn
1c170a8eca Merge pull request #6570 from blob1807/test-win-oob-exception
[core:test] Windows - Fix stop reason being wrong for OOB
2026-04-14 11:34:31 +02:00
blob1807
912a2d78c9 [core:test] Windows Fix stop reason being wrong for OOB 2026-04-14 19:11:42 +10:00
Shane Shrybman
38a2e7f259 Remove extra 'defer bufio.writer_flush' from print procs 2026-04-13 13:09:02 -04:00
c4veman
21f63bbcce vendor/zlib: Fix signature of inflateInit_ 2026-04-13 18:02:04 +01:00
Lukas Arens
55c592955d removed default arguments from virtual_{platform}.odin files 2026-04-13 19:28:17 +03:00
Taylor
ba9d7b6c9c feat(vulkan): add version macros 2026-04-13 22:52:01 +09:00
gingerBill
3a70c8c89a Merge pull request #6557 from GloriousPtr/d3d12_fix
Fix D3D12_BARRIER_SUBRESOURCE_RANGE struct
2026-04-13 14:29:00 +01:00
gingerBill
a1100166ac Merge pull request #6562 from heavyrain266/ioring
IoRing API bindings
2026-04-13 14:26:32 +01:00
gingerBill
f252704e4e Merge pull request #6563 from FourteenBrush/patch-6
Win32: ensure `make_*` style bounds traps are handled in test runner `expect_signal`
2026-04-13 14:26:30 +01:00
gingerBill
4ad670f476 Merge pull request #6559 from krnowak/krnowak/xar-typo
core/container/xar: Fix a typo in example
2026-04-13 14:25:25 +01:00
FourteenBrush
cce574cfc4 Add invalid array bound trap test 2026-04-13 14:51:51 +02:00
FourteenBrush
742cd5bc77 Add EXCEPTION_ARRAY_BOUNDS_EXCEEDED to win32 testing.expect_signal handler 2026-04-13 14:43:08 +02:00
Ignacy Koper
68c50e845f core:sys/windows: Added IoRing API bindings
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-13 14:02:42 +02:00
Krzesimir Nowak
000e92d632 core/container/xar: Fix a typo in example 2026-04-12 22:47:08 +02:00