Commit Graph

633 Commits

Author SHA1 Message Date
Susko3 7f8ddcd477 Add SDL_GetEventDescription to tests 2025-06-06 18:53:31 +02:00
Susko3 53bedf11e3 Add new SDL_haptic typedefs and enums
While SDL_HapticEffectType has flag-like values, it's publicly not a [Flags] enum
as the possible values are exclusive.
See for example https://wiki.libsdl.org/SDL3/SDL_HapticPeriodic.
2025-06-06 18:47:40 +02:00
Susko3 29c7e9c126 Add SDL_GetEventDescription helper 2025-06-06 18:23:59 +02:00
Dan Balasescu 831d80fc10
Update bindings to 7dd5e765df239986f78c9b0016e3f3023d885084 2025-06-06 20:17:45 +09:00
Dan Balasescu 23a162db1e
Merge pull request #208 from SaxxonPike/Enumerable-SdlArrays
Allow `foreach` enumeration over `SDLArray`
2025-06-06 20:03:05 +09:00
Anthony Konzel 080b1e571e Allow `foreach` enumeration over SDLArray 2025-06-05 12:57:08 -05:00
Dan Balasescu c61b11ee5d
Merge pull request #207 from SaxxonPike/Utf8String-Allocations
Allocate string memory only once in Utf8String when input lacks null terminator
2025-06-05 13:38:25 +09:00
Susko3 e4a0124bfc Clean up code 2025-06-05 02:16:48 +02:00
Anthony Konzel e18e833799 Reduce the number of string allocations in Utf8String when input strings do not contain a null terminator 2025-06-04 16:40:37 -05:00
Dan Balasescu 7124e530e1
Merge branch 'master' into feature/sdl-libs 2025-05-20 15:20:06 +09:00
Bartłomiej Dach 7155c09e71
Merge pull request #203 from hwsmm/add-pw
Update dependencies for Ubuntu 22.04
2025-02-25 08:50:41 +01:00
hwsmm 0b4f2d1e85 Use distro libdecor instead 2025-02-20 21:53:36 +09:00
Bartłomiej Dach 4cc974e2bc
Merge pull request #202 from ppy/update-native-binaries
Update native binaries
2025-02-20 13:31:22 +01:00
hwsmm c4d3ee27e8 Add PipeWire dependency 2025-02-20 21:25:51 +09:00
bdach 507c28c23c Update native binaries 2025-02-20 12:25:31 +00:00
Bartłomiej Dach 40d5663603
Merge pull request #201 from hwsmm/update
Update bindings
2025-02-20 13:20:40 +01:00
hwsmm c747f1dcdd Update bindings 2025-02-20 20:49:58 +09:00
Bartłomiej Dach 6cbfbf8aad
Bump ubuntu images & runners to 22.04
While this may mean the binaries produced will no longer be compatible
with some unix installations with older glibc versions present,
GitHub are pulling support for the `ubuntu-20.04` runner on April 1,
so we don't really have much of a say in this matter.

The docker image tags could possibly stay for a while longer, but the
whole reason why GitHub are pulling the 20.04 runners is that the LTS
period for Ubuntu 20.04 *also* ends on April 1, so maybe best to just
get it out of the way all across the board.
2025-02-12 15:18:01 +01:00
Susko3 710d4787a6
Merge pull request #200 from ppy/update-native-binaries
Update native binaries
2025-01-25 18:06:08 +00:00
Susko3 490ffdcaa4 Update native binaries 2025-01-25 18:00:42 +00:00
Susko3 d5ae94981e
Merge pull request #199 from hwsmm/ubuntu-arm-ver
Use ARM runners and Ubuntu 20.04 ARM
2025-01-25 17:56:22 +00:00
hwsmm 5f4ba18c0d
Apply suggestion
Co-authored-by: Susko3 <Susko3@protonmail.com>
2025-01-26 02:50:00 +09:00
hwsmm 10972ff222 Try ARM runners 2025-01-26 02:33:08 +09:00
Susko3 96486c7a02
Merge pull request #198 from Susko3/fix-sdl_pen-constants
Fix SDL_Pen constants
2025-01-25 17:23:27 +00:00
Susko3 87b6598855 Fix SDL_Pen constants 2025-01-25 17:19:15 +00:00
hwsmm 4ac4588e18 Use Ubuntu 20.04 ARM and make apt noninteractive 2025-01-26 02:09:44 +09:00
Susko3 e1fb215d12
Merge pull request #197 from Susko3/update-bindings
Update SDL3 bindings for Windows Ink support
2025-01-25 15:47:19 +00:00
Susko3 e9be289b30 Add new enum members 2025-01-25 15:33:05 +00:00
Susko3 b00293457a Update SDL3 bindings for Windows Ink support 2025-01-25 15:00:58 +00:00
Dan Balasescu ab7c7f5a9c
Merge pull request #196 from Susko3/add-SDL_GetTrayEntries-helper
Implement helper for `SDL_GetTrayEntries()`
2025-01-05 17:24:19 +09:00
Susko3 f988cb2d0b Implement helper for SDL_GetTrayEntries()
The returned array should not be SDL_free'd as it's a `const` pointer.
2025-01-05 04:33:11 +00:00
Susko3 3681588414
Merge pull request #195 from ppy/update-native-binaries
Update native binaries
2025-01-03 20:12:36 +01:00
smoogipoo 31ee86e59e Update native binaries 2025-01-02 06:30:45 +00:00
Dan Balasescu 07db29ef06
Merge pull request #194 from hwsmm/fix-build
Fix Windows builds
2025-01-02 15:00:33 +09:00
hwsmm 2f7c96d5bd Ignore git reset error 2025-01-02 14:08:46 +09:00
hwsmm 23a3b77bcd Fix build.sh formatting 2025-01-02 13:46:35 +09:00
hwsmm 9daf986190 Don't suppress pushd/popd output to make output clear 2025-01-02 13:31:46 +09:00
hwsmm 3c24492891 Use sed instead of a patch 2025-01-02 13:23:25 +09:00
Susko3 c86db6c2fd Revert "Clearly signal that sudo is not available on windows"
Breaks linux-arm and linux-arm64 build for some reason.
This reverts commit d836630eab.
2025-01-02 00:05:23 +01:00
Susko3 d836630eab Clearly signal that sudo is not available on windows 2025-01-01 23:44:59 +01:00
hwsmm c3dee83d20 Make bash quit on a command error 2025-01-02 00:52:41 +09:00
hwsmm d2e30d2167 Patch SDL to not include gameinput.h 2025-01-02 00:51:58 +09:00
Dan Balasescu 20e10af7aa
Merge pull request #190 from Susko3/SDL_tray-tests
Add simple `SDL_tray` test
2025-01-01 21:02:38 +09:00
Dan Balasescu 365fe5c594
Merge pull request #189 from hwsmm/update
Update bindings
2025-01-01 20:59:49 +09:00
Susko3 4ee7f7e617 Mark interactive test with `[Explicit]` 2024-12-31 02:57:20 +01:00
Susko3 3a0f3844b7 Add simple SDL_tray test
Just to get a feel for the API and to see how it works/behaves across operating systems.
2024-12-31 02:56:57 +01:00
Susko3 e017626460 Add SDL_tray 2024-12-31 01:06:32 +01:00
hwsmm d393ea3354 Update bindings 2024-12-29 20:12:05 +09:00
Susko3 061ef9ebfb
Merge pull request #187 from smoogipoo/fix-dockerfile-android
Fix Dockerfile not working with multi-targeted project
2024-12-18 14:18:02 +01:00
Dan Balasescu 7137484799
Merge pull request #184 from Susko3/update-bindings
Update SDL bindings
2024-12-18 15:13:35 +09:00