Commit Graph

16995 Commits

Author SHA1 Message Date
gingerBill
ee667ec02b Update core/reflect/reflect.odin
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2026-03-14 16:21:38 +00:00
gingerBill
411e85f02e Fix copy-and-paste doc typo 2026-03-13 13:37:34 +00: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
gingerBill
fa72a38036 Add fixed capacity dynamic array stuff to core:reflect 2026-03-12 17:44:35 +00:00
gingerBill
8e23c58620 Add intrinsics type_fixed_capacity_dynamic_array_len_offset and type_is_fixed_capacity_dynamic_array 2026-03-12 17:39:44 +00:00
gingerBill
c7308d86d4 Fix tests as they are not direct matches to small_array 2026-03-12 17:33:54 +00:00
gingerBill
26eb58b589 Move raw closer to usage 2026-03-12 17:03:07 +00:00
gingerBill
6c61b1d46c Remove loc being passed 2026-03-12 16:59:58 +00:00
gingerBill
fac8471019 Fix typos 2026-03-12 16:59:11 +00:00
gingerBill
6e9d6bfbe5 Fixed tests 2026-03-12 16:55:46 +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
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
gingerBill
e485d82c9d cbor support for fixed capacity dynamic arrays 2026-03-12 13:01:29 +00:00
gingerBill
bc636e4b36 raddbg debug view for fixed capacity dynamic arrays 2026-03-12 12:56:00 +00:00
gingerBill
a6160770ff Support compound literals for fixed capacity dynamic arrays 2026-03-12 10:03:58 +00:00
gingerBill
8ff07d29be Fix parser position for fixed capacity dynamic arrays 2026-03-12 09:42:46 +00:00
gingerBill
6a03cf5d68 Add "remove" procedures to fixed capacity dynamic arrays 2026-03-12 09:40:31 +00:00
gingerBill
535b70b82e Add other @builtin procedures for fixed capacity dynamic arrays 2026-03-12 09:37:27 +00: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
143a8762a0 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-03-11 14:22:49 +00:00
gingerBill
b7bb7a1dc4 Use scope_reserve call directly 2026-03-11 14:22:36 +00:00
gingerBill
ea3f5b1ead Merge pull request #6389 from connnnal/d3d12-1.619.x-partial
Partial 1.619.x d3d12 bindings
2026-03-11 14:20:54 +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
gingerBill
c4ef17db3d Merge pull request #6402 from bymehul/fix-6401-generic-cycle-deadlock
Fix generic cycle deadlock in struct layout
2026-03-11 11:45:22 +00:00
gingerBill
03fff831bc Merge pull request #6400 from bymehul/fix-bitfield-literal-6396
fix: handle full-width bit_field literal masks
2026-03-11 11:33:41 +00:00
Jeroen van Rijn
7fc670c8a6 Merge pull request #6403 from mifreundorfer/fix-auto-reset-event-deadlock
Fix auto reset event signal deadlock
2026-03-11 10:25:11 +01: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
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
gingerBill
7a41092dcc Merge pull request #6395 from daninaga/master
correcting SIMD shr examples documentation
2026-03-10 12:25:19 +00: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
dca824c6af Merge pull request #6393 from Kelimion/unicode
Unicode
2026-03-09 20:00:09 +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
StudebakerGuy
3bfa01d4a8 Generate Unicode Punctuation Tables 2026-03-09 19:48:20 +01:00
StudebakerGuy
9b38bdf849 Refactor to remove the us of if do 2026-03-09 19:48:18 +01:00