17455 Commits

Author SHA1 Message Date
gingerBill
c19540dda4 Merge pull request #6696 from Spooky309/no-thread-local
Honour -no-thread-local for variables declared at procedure scope
2026-05-18 16:28:39 +01:00
gingerBill
9d92bf6a2e Merge pull request #6706 from BadWolfuu/master
adding missing documentation to strconv.parse_int and strconv.parse_uint
2026-05-18 16:28:25 +01:00
gingerBill
9501894e80 Merge pull request #6701 from Creativty/fix_poly_proc_nil
Fix nil typing when procedure call argument
2026-05-18 15:00:18 +01:00
gingerBill
bb819109c0 Merge pull request #6702 from Creativty/add_switch_type_duplicate_checks
Add duplicates checking in type switches
2026-05-18 14:58:34 +01:00
gingerBill
1e1f37fcef n -> num_appended for append return values 2026-05-18 14:33:35 +01:00
BadWolfuu
37aaf4519c adding missing documentation to strconv.parse_int and strconv.parse_uint
parse_int and parse_uint where missing documentation for the optional parameter `n: ^int` to store the length of the parsed substring
2026-05-18 14:01:31 +02:00
Abderrahim Indjaren
d02c5e1a21 add: check duplicates in type switches 2026-05-18 03:15:55 +01:00
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
Spooky309
765776d136 Honour no-thread-local for variables declared at procedure scope 2026-05-16 10:56:17 +01: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