Commit Graph

7518 Commits

Author SHA1 Message Date
gingerBill
7207b545e6 Merge pull request #6406 from odin-lang/bill/fixed-capacity-dynamic-array
Fixed Capacity Dynamic Arrays
2026-03-15 15:31:31 +00:00
Jeroen van Rijn
66be1a799b Fix #6425 2026-03-15 15:25:54 +01:00
gingerBill
2f8da5ec67 Add fixed capacity dynamic array to the doc-format 2026-03-15 11:55:04 +00:00
gingerBill
c6772dfd06 Merge branch 'master' into bill/fixed-capacity-dynamic-array 2026-03-15 11:41:01 +00:00
Barinzaya
e5c7ab0660 Add fmt field tags to core:container/small_array.Small_Array.
This enables fmt (and other packages that use it, like log) to format
Small_Arrays with only the used portion of the array.
2026-03-15 07:16:02 -04:00
Jeroen van Rijn
fcac43e08f Merge pull request #6420 from mlgudi/fix-math-big-powmod-int-mul-high
Fix two bugs in `core:math/big` modular exponentiation
2026-03-15 11:26:28 +01:00
Jeroen van Rijn
f82fbc9405 -vet-tabs 2026-03-15 11:06:22 +01:00
Yawning Angel
9194b599ec core/crypto/sha2: Add ARMv8 SHA256 acceleration 2026-03-15 18:44:29 +09:00
mlgudi
76da2c3233 mul_high: fix aliasing bug when dest overlaps input 2026-03-15 02:47:26 +00:00
mlgudi
84b38810f1 powmod: fix Montgomery branch calling Barrett implementation 2026-03-15 02:46:30 +00:00
gingerBill
59bc428782 Update core/odin/ast/ast.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:22:12 +00:00
gingerBill
7b0121756c Update core/encoding/cbor/marshal.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:22:01 +00:00
gingerBill
ee667ec02b Update core/reflect/reflect.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:21:38 +00:00
Yawning Angel
3a59e8c849 core/simd/arm: Add the SHA intrinsics
The SHA3 ones aren't in the developer.arm.com documentation.
2026-03-14 14:05:15 +09:00
Yawning Angel
adb2890d2b core/simd/arm: Formating fixes (NFC) 2026-03-14 14:05:15 +09:00
gingerBill
411e85f02e Fix copy-and-paste doc typo 2026-03-13 13:37:34 +00:00
Yawning Angel
3139b7e755 core/crypto/aes: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
e09923f585 core/crypto/deoxysii: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
df1a966100 core/crypto/aegis: Migrate to generic SIMD + HW AES 2026-03-13 22:01:16 +09:00
Yawning Angel
6aeed0e20e core/crypto/_aes/hw: Initial import 2026-03-13 22:01:16 +09:00
Yawning Angel
48b1f3b830 core/simd/arm: Initial import 2026-03-13 21:00:42 +09:00
Yawning Angel
004a65e382 core/crypto/_aes/hw_intel: Remove a copy of zero_explicit 2026-03-13 21:00:42 +09:00
gingerBill
b5801ea5c1 Handle endianness for floats 2026-03-13 11:10:28 +00:00
gingerBill
987aa04d6c Minor formatting improvements, and more use of or_return 2026-03-13 11:08:50 +00:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
gingerBill
fa72a38036 Add fixed capacity dynamic array stuff to core:reflect 2026-03-12 17:44:35 +00:00
gingerBill
6898cbe678 Replace usage of Small_Array(N; T) with [dynamic; N]T in core:nbio for posix systems 2026-03-12 16:46:51 +00:00
gingerBill
e485d82c9d cbor support for fixed capacity dynamic arrays 2026-03-12 13:01:29 +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
Laytan Laats
273ab7e3bb nbio: fix posix big send/recv wrongly check if done 2026-03-11 22:19:28 +01:00
gingerBill
4df2de057b Add Type_Info_Fixed_Capacity_Dynamic_Array to json 2026-03-11 18:43:01 +00:00
gingerBill
f1dbe9c242 [dynamic; N]T proof of concept: fixed capacity dynamic array (akin to small_array.Small_Array(N, T)) 2026-03-11 16:46:33 +00:00
gingerBill
461486ef6c Fix comments which used /// instead of // 2026-03-11 13:41:27 +00:00
gingerBill
770ee8e420 Merge pull request #6392 from maximusdionyssopoulos/master
core:sys/darwin/Foundation: Fix NSTimer binding
2026-03-11 11:45:40 +00:00
Michael Freundorfer
8b4cd5a3f3 Fix auto reset event signal deadlock
The status variables need to be updated every iteration, otherwise the thread
will spin forever, if another thread waits on the event between the load
and the compare exchange, because the old value is never updated.
2026-03-11 10:08:58 +01:00
Shane Shrybman
5d80809dc8 Fix virtual arena memory block overcommit bug #5821 2026-03-10 11:13:15 -04:00
turu
72db43f2d6 correcting SIMD shr examples documentation 2026-03-09 21:33:23 -05:00
Jeroen van Rijn
7ae1a4c456 Merge pull request #6394 from StudebakerGuy/ucd
UCD minor error
2026-03-10 00:50:11 +01:00
StudebakerGuy
d3a71c5dc6 string_to_proplist_property returns error
string_to_proplist_property was being used with an or_return but
did not return an error. The function now returns an error when
it cannot identify a property.
2026-03-09 19:32:27 -04:00
StudebakerGuy
20b4d5757f Corrected type name Prop_List_Property 2026-03-09 19:25:00 -04:00
Jeroen van Rijn
4cf2f1a61b Merge pull request #6391 from mtarik34b/duration-unit-spacing
Add formatting flag for space between time.Duration and unit of measurement
2026-03-10 00:21:10 +01:00
Tarık B.
e119b9883f Use fi.space instead of fi.hash 2026-03-10 00:05:46 +01:00
Jeroen van Rijn
d880404b84 Style 2026-03-09 19:48:28 +01:00
Jeroen van Rijn
df0d74efbe Simplify table writer 2026-03-09 19:48:27 +01:00
Jeroen van Rijn
7928d1b92c Simplify 2026-03-09 19:48:26 +01:00
Jeroen van Rijn
7b79f28522 Allow compiling with -vet -vet-tabs -strict-style -vet-style -vet-cast -warnings-as-errors -disallow-do
Support the same strict flags as used throughout the CI tests.
2026-03-09 19:48:25 +01:00
Jeroen van Rijn
3f330752cd Replace iterators; fixes line ending handling 2026-03-09 19:48:24 +01:00
StudebakerGuy
1d0510d27f is_graphic now uses the generated Unicode tables
unicode.is_graphic has been modified to use the generted Unicode
tables. The tables Me, Mn, Mc, and Zs were add as needed by is_graphic.
2026-03-09 19:48:23 +01:00
StudebakerGuy
65d0e5c82f is_symbol uses generated Unicode tables
Tables for Sm, Sc, Sk, So are now being generated. These tables
are now being searched by is_symbol
2026-03-09 19:48:22 +01:00
StudebakerGuy
8f5f1ee1cc is_punct now searches generated tables 2026-03-09 19:48:20 +01:00