Commit Graph

581 Commits

Author SHA1 Message Date
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
Susko3 d86ca88246 Update SDL bindings 2024-12-17 15:49:42 +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
Dan Balasescu b3dec6b80c
Refactor source generator a bit 2024-12-09 10:51:26 +09:00
Dan Balasescu 53a87f4a74
Fix SDL3-CS iOS native include 2024-12-09 10:42:27 +09:00
Dan Balasescu 491a9bceae
Adjust SDL3-CS references 2024-12-09 10:38:11 +09:00
Dan Balasescu 8e928a4f2e
Fix filtered solutions 2024-12-09 10:31:25 +09: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
WizzardMaker 06fabcf8b0 added enums to ttf and image 2024-12-03 15:44:40 +01:00
WizzardMaker 957e29d137 updated SDL build script to build ttf and image 2024-12-03 15:44:40 +01:00
WizzardMaker 52c2c1b31e split up sdl libraries into separate projects 2024-12-03 15:44:40 +01:00
WizzardMaker af476b4cc4 added sister projects to visible internals in SDL3-CS 2024-12-03 15:44:40 +01:00
WizzardMaker 1e78619716 updated c# source generator to also take other SDL methods into account 2024-12-03 15:44:40 +01:00
WizzardMaker 5b0abdca7c added sdl_image and sdl_ttf 2024-12-03 15:44:40 +01: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