Commit Graph

429 Commits

Author SHA1 Message Date
Salman Alshamrani
456b586a66 Move on-screen keyboard check to SDLGameHost 2024-11-09 05:05:59 -05:00
Salman Alshamrani
141f9b02cb Disable OnScreenKeyboardOverlapsGameWindow on iOS when hardware keyboard is attached 2024-11-04 00:20:05 -05:00
hwsmm
10ad2e7c89 Apply changes for SDL3-CS update 2024-10-16 00:26:16 +09:00
Dan Balasescu
793e67495c Hide iOS home indicator by default 2024-10-09 00:03:20 +09:00
Dean Herbert
622f214ff3 Update iOS method calls 2024-08-08 01:25:15 +09:00
Dan Balasescu
1b7438fe11 Fix iOS/Android projects, always use SDL3 on them 2024-05-21 19:29:08 +09:00
Susko3
fac74e00ac Use SDL3 screen saver functions to implement AllowScreenSuspension
This removes the custom Android and iOS implementations, and also adds support for desktop platforms.
2024-04-30 12:35:21 +02:00
Bartłomiej Dach
f6b4c3cedf Merge branch 'master' into sdl-cs-android 2024-04-26 10:17:48 +02:00
FreezyLemon
7fe8bcbdaa Add HostOptions.FriendlyGameName and set as SDL APP_NAME hint 2024-04-23 17:40:45 +02:00
hwsmm
b3314484f9 Apply review suggestions and cleanup 2024-04-20 22:57:15 +09:00
Dan Balasescu
041900c086 Fix iOS build 2024-04-18 02:07:19 +09:00
Susko3
2ea78bb6f7 Rename classes from SDL2* to SDL3* 2024-04-08 16:01:56 +02:00
Susko3
40c1e4106d Set DllImportResolver on iOS 2024-04-08 16:01:56 +02:00
Susko3
0e78180d07 Remove borderless fullscreen on non-Windows platforms
e3395a7585/docs/README-migration.md (L1693)
2024-04-08 16:01:56 +02:00
Susko3
57112d0e00 Use function pointers for callback functions
`WindowsMouseHandler` is not updated as it's on the chopping block.
2024-04-08 16:01:56 +02:00
Susko3
95c9f572b1 Update pointer types from IntPtr to specific ones
Also adds a bunch of `unsafe` /shrug
2024-04-08 16:01:55 +02:00
Susko3
4172d68644 Convert to regular using (from using static) 2024-04-08 16:01:52 +02:00
Susko3
e936173aa4 Switch to ppy.SDL3-CS and update usings 2024-04-08 15:01:13 +02:00
Susko3
392703fb2e Convert SDL2 usages to using static
This helps with migrating enums, as ClangSharp doesn't put them in the `SDL3` class.
2024-04-07 12:24:58 +02:00
Dan Balasescu
2c9e7a6d7c Upgrade to .NET 8 SDK 2024-02-02 16:21:16 +09:00
Dean Herbert
d84d489379 Merge branch 'master' into update-veldrid-spirv-on-ios 2023-09-16 19:10:27 +09:00
Salman Ahmed
d22743cfd0 Remove local veldrid-spirv iOS native libraries 2023-09-16 03:10:46 +03:00
Bartłomiej Dach
0c26a97773 Merge branch 'master' into #24696-OpenUrlExternally-exception-handling 2023-09-14 20:03:01 +02:00
Bartłomiej Dach
9bc79c648a Inline external link error message constant
Not really worth it to split out the const, for one, and even if it was,
then it _definitely_ should not live in `Logger` of all places.
2023-09-14 20:01:47 +02:00
Dean Herbert
b22076ff55 Allow testflight/app store links to be opened externally
This allows apps using osu!framework to redirect users to find
a new version of the app from testflight.
2023-09-14 18:45:23 +09:00
yesseruser
0778714748 Removed redundant using statements. 2023-09-12 20:17:16 +02:00
yesseruser
7861661997 Added a constant for the external link open failed in the Logger class and changed it to "Unable to open external link." 2023-09-12 20:15:50 +02:00
yesseruser
ffb930531d Added a try/catch statement to OpenUrlExternally
Added a try/catch statement to all overrides of the osu.Framework.Platform.GameHost.OpenUrlExternally method (in Desktop, IOS and Android platforms) for the bodies of the methods (excluding the url valid check).
2023-09-12 18:20:19 +02:00
FreezyLemon
eaf0d4d8ca Remove libavfilter where possible 2023-08-23 14:23:36 +02:00
Salman Ahmed
b7c3165657 Update workarounds file to fix iOS AOT build issues via command line 2023-08-11 14:04:29 +03:00
Dean Herbert
6f4fa78b3e Disable front-to-back pass on all platforms for now 2023-07-07 16:19:39 +09:00
Salman Ahmed
3df1db116b Fix iOS main run loop method requiring JIT compilation 2023-07-07 03:07:56 +03:00
Salman Ahmed
06b8cd3ebe Fix SDL library not found exception with AOT enabled
Depends on https://github.com/ppy/SDL2-CS/pull/169
2023-07-07 03:07:56 +03:00
Salman Ahmed
c43346250b Work around iOS linker including ApplicationServices framework 2023-07-04 06:37:23 +03:00
Susko3
269dc246a1 Make IWindow implementations internal
Actually public members that were only in `SDL2Window` are now properly exposed in `IWindow`.
2023-07-01 19:00:20 +02:00
Dean Herbert
8c188a949b Fix mobile build warnings 2023-06-24 10:36:45 +09:00
Dean Herbert
75ed421f60 Automated pass 2023-06-24 00:42:48 +09:00
Dean Herbert
02ebc8fb80 Add note about multi-threaded weirdness 2023-05-31 18:05:38 +09:00
Dean Herbert
e2679a4b6c Use SDL2 animation callback for iOS
stuff
2023-05-31 18:05:29 +09:00
Dean Herbert
d4f3518ac6 Fix one new null inspection in IOSGameHost 2023-05-31 17:51:38 +09:00
Salman Ahmed
0b52c21275 Update manifest info 2023-04-18 14:57:47 +03:00
Salman Ahmed
ec974a65e4 Update veldrid-spirv native libraries with lower minimum iOS version 2023-04-18 14:06:37 +03:00
Salman Ahmed
1ac26f6a74 Update mono workaround libraries
See https://github.com/ppy/veldrid/pull/12
2023-04-16 14:53:24 +03:00
Dean Herbert
981f6647eb Remove imagesharp AOT workaround
I'm 99.9% sure we don't need this anymore. Originally added in
https://github.com/ppy/osu-framework/pull/1409.
2023-03-29 16:52:26 +09:00
Salman Ahmed
019864011c Convert to XML files for readable diff 2023-03-26 19:13:51 +03:00
Salman Ahmed
b93742527b Fix iOS native libraries for SPIRV not specifying bundle version on manifest 2023-03-26 19:12:04 +03:00
Dean Herbert
ed5381d142 Merge branch 'sdl-ios' into veldrid-ios 2023-03-24 19:30:58 +09:00
Dean Herbert
d0a25b53d5 Implement IOS UpdateWindowStateAndSize to do its own thing 2023-03-24 19:28:36 +09:00
Dean Herbert
899773faa9 Apply nullability to IOSWindow 2023-03-23 15:49:30 +09:00
Dean Herbert
3b4a86a7db Apply nullability to IOSWindow 2023-03-23 12:44:57 +09:00