Abderrahim Indjaren
d37284ce55
fix: nil keeps its type instead of taking expected type
2026-05-17 18:49:49 +01:00
gingerBill
97482f53f4
Minor rearrange
2026-05-17 13:18:48 +01:00
gingerBill
d8bbdf5ae6
Add EBNF for Odin
2026-05-17 12:54:22 +01:00
Jeroen van Rijn
e2c8d9ea33
Merge pull request #6697 from dogue/master
...
[core:io/utils]: fix undeclared name in read_slice (typo)
2026-05-16 20:21:43 +02:00
dogue
e6d10b02e5
[core:io/utils]: fix undeclared name in read_slice (typo)
...
Fixes a typo where `read_slice` tries to pass a `w` argument to
`read_ptr` instead of `r`.
2026-05-16 14:07:41 -04:00
gingerBill
80a21a01cc
Merge pull request #6687 from MightyChubz/xlib-signature-changes
...
Additional Xlib binding changes
2026-05-15 12:40:17 +01:00
Alexander Cusaac (MightyChubz)
6888cca982
refactor: Change bit_set type for SizeHints to int
...
This doesn't really change actual behavior, but to stay accurate to the internal logic of X11, this would be a regular long for the flags, not an unsigned long.
2026-05-13 18:07:57 -04:00
gingerBill
7c2588b101
Fix formatting to keep -vet happy
2026-05-13 14:05:20 +01:00
gingerBill
1d1f72fa1a
Merge pull request #6683 from jasonKercher/oslinux-statx
...
core:os (Linux): Convert (f)stat calls to statx
2026-05-13 14:03:05 +01:00
gingerBill
265a81eb09
Merge pull request #6684 from ddenizozgur/fix-x11-XInternAtoms
...
vendor/x11: fix missing only_if_exists parameter in XInternAtoms
2026-05-13 14:01:26 +01:00
Alexander Cusaac (MightyChubz)
310d27ff19
fix: Change discard from bool to b32 in Sync
2026-05-13 02:13:46 -04:00
Alexander Cusaac (MightyChubz)
53dd8075b1
refactor: Clean signature for GetWindowProperty
2026-05-13 02:13:15 -04:00
Alexander Cusaac (MightyChubz)
e294f3f1e1
feat: Add atom constants for XA_CARDINAL and XA_INTEGER
...
XA_CARDINAL is used in particular for frame extents.
2026-05-13 02:11:58 -04:00
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
ddenizozgur
4de05d4b49
vendor/x11: fix missing only_if_exists parameter in XInternAtoms
2026-05-13 04:08:05 +03:00
jason
57b63263b3
get .MODE and .TYPE right
2026-05-12 18:53:39 -04:00
jason
bb9cddabac
linux.Stat -> linux.Statx
...
This provides access to os.Stat.creation_time for Linux.
Added a cast to string_interner.cpp for 32-bit compiles.
2026-05-12 18:24:08 -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