Commit Graph

603 Commits

Author SHA1 Message Date
Dan Balasescu 8b0479287a
Change namespaces from SDL3 -> SDL 2024-04-20 21:08:58 +09:00
Dan Balasescu 56b9eb7076
Merge pull request #51 from smoogipoo/add-ios-tests
Add iOS tests
2024-04-20 20:21:04 +09:00
Dan Balasescu 934b2cd6bc
Remove assets 2024-04-20 20:11:49 +09:00
Dan Balasescu 4c5173715e
Fix RID not actually working 2024-04-20 19:51:26 +09:00
Dan Balasescu 784d305d9c
Remove unnecessary condition 2024-04-20 19:49:46 +09:00
Dan Balasescu d6b1c3e077
Adjust filtered solutions 2024-04-20 19:43:46 +09:00
Dan Balasescu 5e0aa03e9b
Add iOS tests project 2024-04-20 19:32:41 +09:00
Dan Balasescu 7bff9f51f3
Adjust run configs 2024-04-20 19:32:41 +09:00
Dan Balasescu badeebcf63
Remove unnecessary reference (it's transitive) 2024-04-20 19:32:41 +09:00
Dan Balasescu 59cb0158ba
Add desktop tests project
The primary purpose of this is to split out the handling of the native
libs. This is a consequence of using ProjectReference, and resolves the
following issues:

1. When compiling for iOS, it really doesn't like multiple files being
   included in the same output path. Example: all Windows SDL.dll files
   placed as SDL.dll in the output path.
2. Even if (1) was somehow resolved, the iOS build also doesn't like the
   linux-specific .so files being included.
3. As a consequence of (1), it's likely that the project already doesn't
   work on some configurations. For example, because win-x86 is
   specified as the last item, it will likely take precedence over all
   other versions.
4. It looks like `RuntimeIdentifier` is not project-transitive, against
   my expectations. I really want the project to both select the correct
   single native lib for the current platform, and also support
   compiling with a RID (`dotnet build -r ...`).

So now we only copy the correct lib to the output path, and don't do it
while packaging (not required).
2024-04-20 19:30:24 +09:00
Dan Balasescu a16389d76c
Merge pull request #50 from Susko3/add-simple-android-tests
Add simple android tests
2024-04-20 14:21:50 +09:00
Dan Balasescu 0fcba2894d
Add projects to filtered solution 2024-04-20 14:10:45 +09:00
Dan Balasescu 02cedd7cb6
Merge pull request #49 from Susko3/fix-namespaces
Fix namespaces (from `SDL3` to `SDL`)
2024-04-20 14:06:02 +09:00
Susko3 2a253a0e2d Add MVP android tests 2024-04-19 19:34:09 +02:00
Susko3 3d1b5059b6 Change all namespaces to `SDL` (from `SDL3`)
The only real issue with this is Android, as the `SDL3` namespace shadows
the `SDL.SDL3` static class.
2024-04-19 19:02:22 +02:00
Susko3 7ee4e91d60 Remove SourceGeneration project PackageId
The project is consumed locally by SDL3-CS, it's not meant to be packaged to nuget.
2024-04-19 19:00:28 +02:00
Dan Balasescu 0bb695ed2c
Merge pull request #48 from smoogipoo/fix-android-nupkg-upload
Fix path separator on Windows runner
2024-04-18 01:52:08 +09:00
Dan Balasescu ee29df1362
Fix path separator on Windows runner 2024-04-18 01:51:06 +09:00
Dan Balasescu 2e0965609a
Merge pull request #47 from Susko3/update-bindings
Update SDL3 bindings
2024-04-18 01:43:05 +09:00
Susko3 d35c803958 Regenerate SDL3 bindings
Includes changes up to commit:
a2eb2697a3

70ce808c09
is manually excluded to keep SDL_Keycode sane.
2024-04-17 18:37:09 +02:00
Dan Balasescu 7b24554969
Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2024-04-18 01:30:41 +09:00
Dan Balasescu 68732f2091
Merge remote-tracking branch 'upstream/update-android-binaries' 2024-04-18 01:29:05 +09:00
Dan Balasescu 3508b79917
Merge remote-tracking branch 'upstream/update-ios-binaries' 2024-04-18 01:29:04 +09:00
Dan Balasescu bf2fbdf786
Merge remote-tracking branch 'upstream/update-linux-x64-binaries' 2024-04-18 01:29:03 +09:00
Dan Balasescu ac3b4be3b0
Merge remote-tracking branch 'upstream/update-linux-x86-binaries' 2024-04-18 01:29:03 +09:00
Dan Balasescu ae32b24fe6
Merge remote-tracking branch 'upstream/update-osx-arm64-binaries' 2024-04-18 01:29:02 +09:00
Dan Balasescu 44ae1cad13
Merge remote-tracking branch 'upstream/update-osx-x64-binaries' 2024-04-18 01:29:01 +09:00
Dan Balasescu 232a32ce80
Merge remote-tracking branch 'upstream/update-win-arm64-binaries' 2024-04-18 01:29:00 +09:00
Dan Balasescu 61cdd395b4
Merge remote-tracking branch 'upstream/update-win-x64-binaries' 2024-04-18 01:28:59 +09:00
smoogipoo 9b6c3dd5e3 Update win-arm64 SDL binaries 2024-04-17 16:28:20 +00:00
smoogipoo 84b82f6532 Update win-x64 SDL binaries 2024-04-17 16:27:38 +00:00
smoogipoo b17f230e0c Update win-x86 SDL binaries 2024-04-17 16:27:11 +00:00
smoogipoo 1cf9c12b35 Update iOS SDL binaries 2024-04-17 16:26:03 +00:00
smoogipoo 08b64a59cf Update osx-x64 SDL binaries 2024-04-17 16:26:00 +00:00
smoogipoo 6f23111ea6 Update osx-arm64 SDL binaries 2024-04-17 16:25:47 +00:00
smoogipoo 6aa7c54b49 Update Android SDL binaries 2024-04-17 16:25:30 +00:00
smoogipoo 6a3e74ece9 Update linux-x86 SDL binaries 2024-04-17 16:24:27 +00:00
smoogipoo dae8b1a04b Update linux-x64 SDL binaries 2024-04-17 16:23:46 +00:00
Dan Balasescu f07bc5b0d3
Merge pull request #37 from Susko3/add-Utf8String-helper
Add `Utf8String` helper for safely passing in strings to native methods
2024-04-18 00:43:07 +09:00
Susko3 c40e8b150c Inline `ensureTrailingNull()` 2024-04-17 13:37:11 +02:00
Susko3 8f5e52d944 Update old xmldoc 2024-04-17 13:30:41 +02:00
Susko3 13b2c6ebba Update tests 2024-04-17 13:24:26 +02:00
Susko3 42b32e36d5 Make `Utf8String.Raw` internal 2024-04-17 13:24:26 +02:00
Susko3 a6838a3f9f Use Utf8String directly in `fixed` statement 2024-04-17 13:24:23 +02:00
Susko3 ec3ce75780 Change deceptive test name 2024-04-17 12:14:05 +02:00
Susko3 6f8564fb9d Cover all cases of "creating" `Utf8String`s 2024-04-17 12:12:45 +02:00
Susko3 2f459c7a84 Add missing test
It was present in `TestReadOnlySpan` but not for strings.
2024-04-17 12:10:35 +02:00
Dan Balasescu aab02bf6f9
Fix inspections 2024-04-17 12:08:38 +09:00
Susko3 8a98ba5103 Add rider generated files 2024-04-16 13:02:14 +02:00
Susko3 8e0066d7f7 Remove unnecessary `UTF8GetBytes()` helper 2024-04-16 13:01:13 +02:00