Dan Balasescu
3d92f36990
Fix Dockerfile not working with multi-targeted project
2024-12-18 15:06:42 +09:00
Dan Balasescu
09cd92181a
Merge pull request #185 from Susko3/fix-SDL_GetWindows-managed-helper
...
Fix `SDL_GetWindows()` managed helper
2024-12-18 12:35:34 +09:00
Dan Balasescu
b89c25b60e
Merge pull request #186 from Susko3/publish-jetbrains-annotations
...
Publish JetBrains annotations
2024-12-18 12:17:08 +09:00
Susko3
8932ea3b6c
Publish JetBrains annotations
...
Mandatory for making `[MustDisposeResource]` useful
2024-12-17 17:26:18 +01:00
Susko3
be946eb23c
Add `SDLOpaquePointerArray` and use it for SDL_GetWindows()
...
`SDLPointerArray` is inadequate as it does `*(SDL_Window*)ptr` which doesn't make sense
as SDL_Window* is an opaque pointer type
2024-12-17 17:20:45 +01:00
Susko3
d5287637ef
Add a simple usage test for SDL_GetWindows()
2024-12-17 17:20:39 +01:00
Dean Herbert
5a7b49ca74
Merge pull request #182 from frenzibyte/ios-codesign
...
Specify default codesign key for iOS test project
2024-12-10 05:45:16 -08:00
Salman Alshamrani
aac627922e
Specify default codesign key for iOS test project
2024-12-10 04:25:48 -05:00
Susko3
882a88219e
Merge pull request #181 from smoogipoo/merge-android
...
Merge Android into the main project + NuGet package
2024-12-04 18:20:11 +00:00
Dan Balasescu
2cc61ee837
Remove IDEA workspaces
2024-12-04 14:56:41 +09:00
Dan Balasescu
be06fff363
Update GHA workflows
2024-12-04 14:56:41 +09:00
Dan Balasescu
cc37b8245b
Merge SDL3-CS.Android into main project
2024-12-04 14:14:07 +09:00
Susko3
7803512144
Merge pull request #180 from smoogipoo/add-docker-readme
...
Document binding generation in README
2024-12-03 11:37:08 +00:00
Dan Balasescu
50c10fc39e
Document binding generation in README
2024-12-03 17:40:10 +09:00
Dan Balasescu
f4001dad7d
Merge pull request #178 from frenzibyte/save-android
...
Work around Android CI workflow errors
2024-11-28 17:35:58 +09:00
Salman Alshamrani
7d0d0d7569
Fix android workflow not installing .NET 8 version
2024-11-27 23:44:32 -05:00
Dan Balasescu
fa446c3285
Merge pull request #176 from ppy/update-native-binaries
...
Update native binaries
2024-11-18 11:18:16 +09:00
smoogipoo
e41affe943
Update native binaries
2024-11-18 01:35:45 +00:00
Dan Balasescu
7eb48f25ec
Merge pull request #174 from Susko3/update-bindings
...
Update bindings, including manual macro update
2024-11-18 10:05:21 +09:00
Susko3
2590a7205e
Update SDL_ISPIXELFORMAT_ALPHA
...
e027b85cc4
2024-11-17 21:51:08 +00:00
Susko3
1bbb7292b3
Update SDL and generate bindings
2024-11-17 21:34:24 +00:00
hwsmm
f5875c5ea8
Merge pull request #173 from Susko3/remove-sed-hack
...
Specify Android ABIs as command line params to SDL `androidbuildlibs.sh`
2024-10-30 09:42:17 +09:00
Susko3
609a319551
Specify Android ABIs as command line params
2024-10-29 21:49:02 +00:00
Susko3
0ef3dbab09
Merge pull request #169 from smoogipoo/dockerfile
...
Add dockerfile + generation wrapper script
2024-10-28 13:23:18 +00:00
Dan Balasescu
22c6c79701
Fix up caching + remove python3 symlink
2024-10-28 21:47:48 +09:00
Dan Balasescu
81e5c4cb7f
Remove unused script
2024-10-28 20:34:10 +09:00
Dan Balasescu
f46a595008
Improve Dockerfile
2024-10-28 20:31:11 +09:00
Susko3
a7f3fe450d
Generate bindings on Linux
...
This will be the canonical representation going forward.
2024-10-24 12:04:00 +01:00
Dan Balasescu
dcea5f47c3
Hack around missing process.h on Unix systems
...
Co-authored-by: Susko3 <Susko3@protonmail.com>
2024-10-24 19:34:51 +09:00
Dan Balasescu
04c71afe67
Remove now unnecessary undefines
2024-10-24 19:19:00 +09:00
Susko3
69c7e23842
Fix 64-bit integers on `x86_64-linux-gnu`
...
The __LP64__ macros work fine on aarch64, but they don't seem to do much on x86_64
2024-10-24 10:44:19 +01:00
Dan Balasescu
520ae0ebc7
Remove duplicate definition
2024-10-24 16:26:44 +09:00
Dan Balasescu
e7c8dec375
Merge branch 'master' into dockerfile
2024-10-24 16:18:48 +09:00
Dan Balasescu
36c251aed2
Merge pull request #172 from Susko3/remove-some-platform-specific-defines
...
Update bindings and remove some platform/windows specific symbols
2024-10-24 15:45:24 +09:00
Susko3
11228b67aa
Ensure consistent representation of 64-bit integer constants
...
by providing custom definitions of `SDL_{S,U}INT64_C`.
Made possible by https://github.com/libsdl-org/SDL/pull/11315
2024-10-24 01:18:39 +01:00
Susko3
4831863919
Update SDL and bindings
2024-10-24 01:18:31 +01:00
Susko3
ec696f7bab
Remove `[NativeTypeName("unsigned int")]`
...
This would appear a lot when bindgen is run on Linux (underlying enum type is unsigned int).
2024-10-24 00:52:29 +01:00
Susko3
fa61d32dfc
Exclude symbols that don't work cross-platform
...
As seen when trying to build on Linux in #169 .
Removes:
- Windows-specific begin/end thread symbols that don't do anything
- Things that statically depend on `size_t`
- 64-bit printf specifiers that depend on int64_t definition
(long vs long long)
2024-10-24 00:48:29 +01:00
Dan Balasescu
ed43193103
Force `int` as base type
2024-10-23 17:03:25 +09:00
Dan Balasescu
140e73678d
Fix va_list for another platform
2024-10-23 17:03:09 +09:00
Dan Balasescu
c991b5bd06
Forward args to python script
...
Co-authored-by: Susko3 <Susko3@protonmail.com>
2024-10-22 19:42:16 +09:00
Dan Balasescu
a64cdd9e4f
Fix SDL_thread generation
2024-10-22 18:16:41 +09:00
Dan Balasescu
904f50cb99
Merge pull request #170 from ppy/update-native-binaries
...
Update native binaries
2024-10-22 18:15:42 +09:00
smoogipoo
46e1411e24
Update native binaries
2024-10-22 09:13:18 +00:00
Dan Balasescu
5227b62690
Add dockerfile + generation wrapper script
2024-10-22 17:52:46 +09:00
Dan Balasescu
ee98235385
Merge pull request #168 from Susko3/update-bindings
...
Update bindings and fix bindgen script
2024-10-22 17:42:51 +09:00
Susko3
5ab6d58b9e
Update comment
2024-10-22 09:27:28 +01:00
Susko3
e5a7980b9e
Exclude `enum`s from platform-specific bindgen
2024-10-22 09:20:55 +01:00
Susko3
c7fdd26674
Update bindings (to illustrate problem)
...
Duplicate `SDL_Sandbox` definitions prevent compiling.
2024-10-22 09:11:15 +01:00
Dean Herbert
bfa2ad06c4
Merge pull request #167 from bdach/android-enter-fix
...
Update SDL to pull in android enter key fix
2024-10-22 16:55:45 +09:00