Commit Graph

1304 Commits

Author SHA1 Message Date
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
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
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
Ignacy Koper
748e1ecd3f removed Haiku from vendor:directx/dxc package
Signed-off-by: Ignacy Koper <ignacy423@gmail.com>
2026-04-28 19:27:23 +02:00
gingerBill
ef4241e00a Merge pull request #6565 from taylormck/update-vulkan-version-macros
feat(vulkan): add version macros
2026-04-17 10:18:20 +01:00
victhor
c9c42f986c Use Maybe(^T) 2026-04-16 11:19:45 +02:00
victhor
915a9589cc Removed #by_ptr from args that are valid as nil
The docs say nil is not valid for the rest of the functions that still have #by_ptr
2026-04-16 08:56:00 +02:00
c4veman
21f63bbcce vendor/zlib: Fix signature of inflateInit_ 2026-04-13 18:02:04 +01:00
Taylor
ba9d7b6c9c feat(vulkan): add version macros 2026-04-13 22:52:01 +09:00
Mohit Sethi
5398d2cfc1 Fix D3D12_BARRIER_SUBRESOURCE_RANGE struct
Should be all u32 in this struct, not uint

https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_barrier_subresource_range
2026-04-12 14:30:14 +01:00
Laytan Laats
fc842a8cb2 wgpu: update to v29.0.0.0 2026-04-11 19:45:42 +02:00
gingerBill
885db93e20 Add intrinsics.simd_sums_of_n 2026-04-07 13:18:03 +01:00
Jakub Tomsu
2f8ffc75b2 move WASAPI to vendor:windows/wasapi 2026-03-21 22:12:00 +01:00
Jakub Tomsu
d03f61bc76 add core WASAPI bindings 2026-03-21 20:31:54 +01:00
Laytan Laats
261881e57c vendor/stb/vorbis: support WASM 2026-03-19 19:44:34 +01:00
Jeroen van Rijn
274e99015c Add SDL3 Mixer binaries 2026-03-19 12:04:32 +01:00
A1029384756
36e6bd4235 [SDL3/mixer] initial commit 2026-03-18 15:37:49 -04:00
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
connnnal
e77dd887aa Partial 1.619.x d3d12 bindings 2026-03-08 16:50:53 +00:00
Jeroen van Rijn
38c61e06be Rename GetWorldPointVelocity to Body_GetWorldPointVelocity 2026-03-02 20:15:55 +01:00
gingerBill
7cc68da719 Merge pull request #6342 from fendevel/webgl-additions
webgl: Add bindings, fix `Tex*Image*D`
2026-03-01 13:15:56 +00:00
Michael Lee
f01fb605bc [vendor:stb/vorbis] don't use core:c/libc 2026-02-28 10:24:00 -06:00
fendevel
eeb7e775f3 webgl: Add bindings, fix Tex*Image*D 2026-02-28 00:37:34 +00:00
Bruno
e65dcd64b8 add bindings to allow custom cursors 2026-02-27 09:54:26 -03:00
Jeroen van Rijn
275ffa1a0e Update SDL3 libs 2026-02-26 14:12:30 +01:00
Jeroen van Rijn
ab9925c991 Merge pull request #6325 from nowhereware/master
Update SDL3 to 3.4.2
2026-02-26 14:11:04 +01:00
Jeroen van Rijn
ffcaa3830c Update miniaudio.lib 2026-02-26 13:44:14 +01:00
laytan
4ce6b7653f vendor/miniaudio: update .lib to 0.11.24 and use LFS 2026-02-25 18:53:08 +01:00
Laytan Laats
60c3898a13 vendor/miniaudio: update to 0.11.24 2026-02-25 19:40:28 +01:00
nowhereware
509ae9c45c Update LICENSE 2026-02-23 15:17:23 -05:00
nowhereware
20e3237da1 Update SDL3 to 3.4.2 2026-02-23 15:14:08 -05:00
fnky
ae45458193 Remove pointer from part arg 2026-02-22 19:31:09 +01:00
jakubtomsu
a48a4b98ce remove FORCE_DWORD enum elements 2026-02-17 22:51:23 +01:00
jakubtomsu
97e09b19d1 refactor d3d11/d3d12/d3dcompiler dependencies 2026-02-17 18:27:34 +01:00
jakubtomsu
39c725a084 Merge branch 'odin-lang:master' into more-import-cleanup 2026-02-17 17:54:34 +01:00
gingerBill
355b8a8c83 Merge pull request #6245 from odin-lang/new_os
`core:os/os2` -> `core:os` integration
2026-02-11 17:53:16 +00:00
jakubtomsu
bd70ac47ca use core:c instead of libc in miniaudio 2026-02-10 20:23:08 +01:00
gingerBill
132e4e470f Merge pull request #6249 from laytan/fix-box2d-build-and-try-lfs
fix box2d build and try Git LFS
2026-02-10 13:30:24 +00:00
jakubtomsu
d492122bd4 import cleanup 2026-02-09 20:08:22 +01:00
laytan
5a02132ac3 fix box2d build and try git LFS 2026-02-09 19:48:27 +01:00
Jeroen van Rijn
e7dbabf668 core:os -> core:os/old && core:os/os2 -> core:os 2026-02-09 15:50:21 +01:00
Jeroen van Rijn
b16ca5a986 fix libc-shim 2026-02-08 13:51:49 +01:00