Commit Graph

17431 Commits

Author SHA1 Message Date
Alexander Cusaac (MightyChubz)
a1a201b4ff typo
oops
2026-05-13 00:51:40 -04:00
Alexander Cusaac (MightyChubz)
844f813ab6 refactor: Add returns to all window mapping/unmapping functions
These do return a `b32` value on return, true for success and false for
failure. They should be here since these can fail.
2026-05-13 00:51:31 -04:00
gingerBill
e0781c0e40 Just change the type when transposing #row_major to #column_major matrix types 2026-05-12 17:19:49 +01:00
gingerBill
16ebdc19dd Merge pull request #6672 from JoltedJon/gh-6660
Add unicode mapping between 'ẞ' <-> 'ß'
2026-05-12 14:55:06 +01:00
gingerBill
bab064ce61 Merge pull request #6680 from MightyChubz/xlib-binding-fixes
Fix xlib binding signatures
2026-05-12 14:54:55 +01:00
gingerBill
2952af3398 Merge pull request #6669 from BradLewis/fix/json-handle-invalid-utf8
Handle invalid utf8 when parsing json
2026-05-12 14:40:49 +01:00
gingerBill
d4508e39de Merge pull request #6677 from BigBoyBarney/builtin-fix
Fix `make_aligned` and `new_aligned` to be builtin
2026-05-12 14:31:26 +01:00
gingerBill
3715544202 Merge pull request #6670 from Creativty/fix_dynamic_cap_doc
Handle Fixed Capacity Dynamic Arrays in write_expr_to_string
2026-05-12 14:29:09 +01:00
gingerBill
26d72060a5 Merge pull request #6668 from Creativty/fix_parapoly_return
Fix deferred_return and segfault in docs writer
2026-05-12 14:28:42 +01:00
gingerBill
cd073bc797 Remove bad merge issue 2026-05-12 10:48:04 +01:00
gingerBill
8ac7819bf5 zero allocation 2026-05-12 10:44:01 +01:00
gingerBill
e4733b9a4e Merge pull request #6676 from odin-lang/bill/matrix-optimizations
General Matrix Optimizations + `@(fast_math)` attribute
2026-05-12 10:42:35 +01:00
Alexander Cusaac (MightyChubz)
202a4f19ca refactor: Change return type for IconifyWindow
This one is a little tricky. While the docs show that XIconifyWIndow
returns a Status type, hinting at the Status enum we have, it is not
*treated* like a Status type. This function, so far in my experience, is
the only one to return non-zero when successful, and zero when a failure
occurrs (BadValue or BadWindow). Because of this, the type should
actually be a b32 to act as a boolean. Zero (false) for failure,
non-zero (true) for true.
2026-05-11 20:55:33 -04:00
Alexander Cusaac (MightyChubz)
3b909eab03 fix: Add missing parameter to TranslateCoordinates
This adds the missing child_return parameter to TranslateCoordinates to
fix random segfaults occurring when calling it. This function in the man
pages for X11 list a child_return parameter, so I added it as part of
the signature. After running 20 tests calling to this function, all
passed without failing, compared to before where it crashed roughly ~60%
of the time on my system.
2026-05-11 20:52:52 -04:00
Sylphrena
b603e7400f Fix make_aligned and new_aligned to be builtin 2026-05-11 21:54:31 +02:00
gingerBill
724ce14677 More improvements to linalg functions 2026-05-11 15:44:12 +01:00
gingerBill
86a6f69793 General clean up 2026-05-11 14:01:50 +01:00
gingerBill
7d0dba1b82 Improve code generation for intrinsics.transpose 2026-05-11 13:41:30 +01:00
gingerBill
b752ff4bdb Add a minor optimization for row_major * row_major 2026-05-11 13:28:54 +01:00
gingerBill
58e4e6be24 Improve matrix * vector code generation 2026-05-11 13:14:02 +01:00
gingerBill
b0ee0bb635 Add @(fast_math={...}) + intrinsics.Fast_Math_Flags 2026-05-11 11:55:07 +01:00
gingerBill
65ff188c1c Add optimization edge case for square mat * mat 2026-05-11 11:16:27 +01:00
JoltedJon
539ea7a003 Add unicode mapping between 'ẞ' <-> 'ß' 2026-05-10 17:41:19 -04:00
Abderrahim Indjaren
7954e3bdbe add: cap dynamic array is now handled in write_expr_to_string 2026-05-10 15:48:32 +01:00
Brad Lewis
87d58b9fb7 Handle invalid utf8 when parsing json 2026-05-10 16:23:26 +10:00
Abderrahim Indjaren
ebd50de56c fix: no more deferred_return in generic parapoly type name
fix: segfault on accessing empty tags array in docs writer
2026-05-09 23:07:57 +01:00
gingerBill
1ba0ab8790 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-05-08 16:19:01 +01:00
gingerBill
daa6bb1aee Fix check_multi_expr_with_type_hint to use return rather than break 2026-05-08 14:34:44 +01:00
Jeroen van Rijn
9cf809f329 Merge pull request #6664 from Deserted999/add-defsubclassproc
Add DefSubclassProc binding
2026-05-08 15:21:38 +02:00
Deserted999
95cd01e32d fix alignment 2026-05-08 16:02:19 +03:00
Deserted999
e9cf5fdc3a Add DefSubclassProc binding 2026-05-08 15:01:11 +03:00
Jeroen van Rijn
e70f846de0 Merge pull request #6658 from BunterSchatten/nightly-arm-workflow
Add /src as safe directory for nightly linux arm workflow
2026-05-07 10:46:46 +02:00
gingerBill
ca7576a8b0 Merge pull request #6659 from jakubtomsu/tracking-alloc-panic
Use `context.assertion_failure_proc` in tracking allocator bad free callback
2026-05-07 09:09:32 +01:00
jakubtomsu
450e6917b2 use context.assertion_failure_proc in tracking allocator bad free callback 2026-05-06 20:57:19 +02:00
David Bader
f8410b1b6d Add /src as safe directory for nightly linux arm workflow 2026-05-06 17:09:03 +02:00
gingerBill
d21fea404b Merge pull request #6631 from heavyrain266/deprecate-haiku
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
gingerBill
54d8261355 Merge pull request #6649 from krnowak/krnowak/prefix-inc-dec-error-reporting
Better error reporting for unary decrement/increment operators
2026-05-06 11:11:21 +01:00
Jeroen van Rijn
f8dccc907a Merge pull request #6635 from Yawning/feature/mlkem
core/crypto/mlkem: Support ML-KEM (FIPS 203)
2026-05-06 11:59:08 +02: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
a3d7300e55 core/crypto/ecdh,ecdsa: Add require_results annotations 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
Krzesimir Nowak
34b198019f Better error reporting for unary decrement/increment operators
There was a missing routing for those operators in parse_stmt
function.
2026-05-05 15:16:49 +02:00
gingerBill
7788ca0242 Fix minor indentation problem 2026-05-05 12:16:42 +01:00
gingerBill
b083b980f7 Fix variable based procedure groups 2026-05-05 12:09:27 +01:00
gingerBill
09c7b75f79 Remove Odin_Endian_Type.Unknown 2026-05-05 10:18:19 +01:00
gingerBill
560f8847c7 Merge pull request #6651 from IllusionMan1212/os-fixes
os fixes
2026-05-04 19:55:04 +01:00
IllusionMan1212
bda83a7c36 fix(os): create all dst directories in copy_directory_all 2026-05-04 01:26:23 +02:00
IllusionMan1212
a1a7da6f8a fix(os): store absolute path on File_Info on Windows, matching Linux
fixes #6170
2026-05-04 01:25:19 +02:00
gingerBill
ea5175d865 Support s: [2]u16 = "hi" dev-2026-05 2026-05-02 12:11:39 +01:00