Henrik Rydgård
4f2379a2d3
Remove obsolete code path
2024-05-22 00:24:36 +02:00
Henrik Rydgård
947f0a876e
Delegate shouldn't keep the specific ViewController type
2024-05-21 14:57:30 +02:00
Henrik Rydgård
b1a435840c
Renaming and comments
2024-05-21 14:48:28 +02:00
Henrik Rydgård
3166eee3f0
iOS ViewController: Move external methods to a protocol
2024-05-21 14:20:42 +02:00
Henrik Rydgård
835aa02a28
Add basic soft-keyboard support on iOS
...
This uses the old UIKeyInput which is a bit limited language-wise, however, it's enough
to log into RetroAchievements and change your nickname, at least, and it was the easiest to implement.
So, this solves 90% of the problems caused by missing keyboard support, at least.
2024-05-20 19:08:35 +02:00
Henrik Rydgård
c083e0966a
iOS: Add recognizer for swipe-from-left-edge gesture, for Back
2024-05-20 16:22:27 +02:00
Henrik Rydgård
aa6962df4a
iOS swipe gesture recognizer experiment
2024-05-20 16:12:25 +02:00
Henrik Rydgård
8756a2100e
iOS: Fix threading issue with launch-url
2024-05-20 15:43:27 +02:00
Henrik Rydgård
d720224c87
iOS: Switch to the same screen dimming logic as Windows/Android
2024-05-20 14:27:42 +02:00
Henrik Rydgård
1ff7710854
Folder/file browser tweaks
2024-05-20 10:04:11 +02:00
Henrik Rydgård
b8248c51cc
Update icons
2024-05-20 10:04:11 +02:00
Henrik Rydgård
27f9bd0919
Create a .xcassets folder for the icons, link it properly
2024-05-20 10:04:11 +02:00
Henrik Rydgård
c8a4961f95
Add 1024x1024 icons (as now required for iOS apps...)
2024-05-20 10:04:11 +02:00
Henrik Rydgård
ac058261fe
iOS: Remove use of a non-public vibration API in app store builds
2024-05-20 10:04:11 +02:00
Henrik Rydgård
16dffaa92d
Add a little perl script to try to convert version numbers to Apple-compatible format.
2024-05-20 10:04:11 +02:00
Henrik Rydgård
ca7f781ae8
Rename ExportFree.plist to Export.plist
2024-05-20 10:04:11 +02:00
Henrik Rydgård
fc554050fd
Fix updating the version in the plist, various cleanup
2024-05-20 10:04:11 +02:00
Henrik Rydgård
90f7a90aa8
More build work
2024-05-20 10:04:11 +02:00
Henrik Rydgård
2df7a24748
Messy hackery, we now seem to be able to export
2024-05-20 10:04:11 +02:00
Henrik Rydgård
aa94867128
Warning fixes
2024-05-20 10:04:11 +02:00
Henrik Rydgård
640eb1f799
Limit file browsing in app store builds
2024-05-20 10:04:11 +02:00
Henrik Rydgård
a2a150a95e
More work on iOS Gold version
2024-05-20 10:04:11 +02:00
Henrik Rydgård
3011a5222a
Pass in team ID, start of gold prep
2024-05-20 10:04:11 +02:00
Henrik Rydgård
f6f45dda0a
Disable the JIT hackery in app store builds
2024-05-20 10:04:11 +02:00
Henrik Rydgård
1f13eaa874
Add gold icon files for iOS
2024-05-20 10:04:11 +02:00
Henrik Rydgård
f5b6836bf9
Initial work on app store support
2024-05-20 10:04:11 +02:00
Henrik Rydgård
ae1ee41eb0
Add functionality to limit a pathbrowser to a specific root
2024-05-03 17:54:57 +02:00
Henrik Rydgård
616ee81f84
Add another parameter to the internal "request" framework.
2024-04-06 12:04:45 +02:00
Henrik Rydgård
5a8140c301
Initialize RAIntegration support if available. Untested.
2024-04-05 18:15:10 +02:00
Henrik Rydgård
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
e3177ac870
Make some global string pointers const, not just the strings.
...
Minor cleanup.
2023-12-29 14:09:45 +01:00
Halo-Michael
c4008ee274
Little cleanup
2023-12-10 22:34:26 +08:00
Halo-Michael
17daebfc56
Update JIT enable method from project UTM
...
See at 714871a85d/Services/UTMJailbreak.m
2023-12-10 20:06:25 +08:00
Henrik Rydgård
c5469c409a
Add specific sysprop for accelerometer
2023-11-06 18:33:01 -06:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
80a99a67d9
Control: Change internal interfaces to batch-process input axis updates
...
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.
Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård
60492ae579
Make System_ShowFileInFolder a "request"
...
Also makes support queryable.
Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Henrik Rydgård
1ea11c233c
Remove "SwapBuffers" from the GraphicsContext interface.
...
Buildfixes
More buildfix
headless buildfix
One more buildfix
2023-08-11 01:57:02 +02:00
Henrik Rydgård
bcae36d8cb
Merge NativeUpdate and NativeRender, we always call them together.
2023-08-07 22:50:57 +02:00
Henrik Rydgård
ab6e902fea
Make naett work on Android, UWP, Mac. Exclude on Linux
2023-07-21 10:28:31 +02:00
Henrik Rydgård
caebef63a0
iOS buildfix
2023-07-20 11:26:20 +02:00
Henrik Rydgård
85f5136a81
Add a GetProperty query for the git version
2023-07-20 10:57:52 +02:00
Henrik Rydgård
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +02:00
Henrik Rydgård
d23f659533
Android and iOS buildfixes
2023-06-30 17:35:27 +02:00
Henrik Rydgård
8fa7cb2122
iOS buildfix, cleanup
2023-06-20 16:10:13 +02:00
Henrik Rydgård
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Serena
d886b23ae1
Automatically hide home indicator on iPhone X/all devices with home indicator
2023-05-20 00:02:14 +03:00
Henrik Rydgård
38f4cc4cc9
Make reverse mapping lookup work for the simple PSP buttons.
2023-03-31 11:05:29 +02:00
Unknown W. Brackets
441c940fa9
UI: Remove some unnecessary Host.h includes.
2023-03-25 17:19:21 -07:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Henrik Rydgård
b440e28e38
Remove System_SendMessage!
...
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
ac47476253
And share_text, toast, recreate
2023-03-22 23:52:25 +01:00
Henrik Rydgård
87d0c21f14
Make proper requests for the external hardware commands (gps, microphone, camera)
2023-03-22 23:52:25 +01:00
Henrik Rydgård
410b35fba3
Get rid of "finish" and "setclipboardtext" messages, replace with requests.
2023-03-22 22:17:26 +01:00
Henrik Rydgård
dfa06c4e77
SDL buildfix, fix file/folder browsers on Darwin
2023-03-22 19:25:35 +01:00
Henrik Rydgård
49efa4499e
Blind convert iOS to the new folder picking path
2023-03-22 19:25:35 +01:00
Henrik Rydgård
376cd34182
iOS buildfix
2023-03-22 16:59:47 +01:00
Henrik Rydgård
47ae31e293
Minor cleanups, drive-by fix for folder browser on iOS
2023-03-22 15:36:14 +01:00
Henrik Rydgård
de064e210e
Replace the inputbox queue with a more generic RequestManager.
2023-03-22 12:41:11 +01:00
Henrik Rydgård
f5472ba0d8
Cleanup up unnecessary audio init functions
2023-03-21 13:39:02 +01:00
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8
Get rid of an ifdef
2023-03-21 10:24:36 +01:00
Henrik Rydgård
53172eff63
Renaming and file splitting
2023-03-06 16:42:50 +01:00
Halo-Michael
8f1b4d6740
Update PPSSPP-Info.plist
...
First, we are no longer support armv7
then specific CFBundleDevelopmentRegion key will make
a11ca4cb90/ios/main.mm (L109)
always return en_XX
2023-02-28 20:47:26 +08:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Serena
7e31ee1e2b
Remove SubtleVolume
2023-02-01 20:53:15 +03:00
Henrik Rydgård
ce40744cdd
Merge pull request #16874 from SerenaKit/serena/darwin-browse-button
...
Browse button on Darwin platforms, rename some classes/functions
2023-02-01 17:21:53 +01:00
Serena
482e989cd7
convert to System_SendMessage insanity
2023-02-01 19:03:12 +03:00
Henrik Rydgård
5735b9a8ac
Buildfixes for libretro, ios
2023-01-30 15:57:18 +01:00
Henrik Rydgård
6f703128ec
Experimentally revert "Delete some misguided FPU control code, that we definitely don't want"
...
This reverts commit d52d383c22
.
2022-10-10 18:35:29 +02:00
Henrik Rydgård
d52d383c22
Delete some misguided FPU control code, that we definitely don't want
2022-10-10 10:46:51 +02:00
Halo-Michael
58d28b4e4d
Assign value to version where appropriate
2022-08-14 02:42:05 +08:00
Halo-Michael
c7f261cf86
Update
2022-08-13 17:56:27 +08:00
Halo-Michael
856c5e58c4
A better way to get property
2022-08-13 17:15:21 +08:00
Halo-Michael
3ac120d96d
Merge branch 'hrydgard:master' into master
2022-08-13 16:18:23 +08:00
Henrik Rydgård
a831cab14c
Remove unmotivated check preventing texture ini creation on mobile. ( #15647 )
...
* Remove unmotivated check preventing texture ini creation on mobile.
Fixes #15644
* Show a "toast" message on platforms that don't support opening a text editor, when you try to create/open a texture ini file.
* Avoid the need to ifdef around calls to SystemToast
* UWP buildfix (and some warning fixes).
And possibly libretro fix
* Rename for a bit more consistency
2022-07-10 22:34:44 +02:00
Unknown W. Brackets
536c050943
Core: Track names of connected pad devices.
...
Rather than just that it's a pad. This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
Halo-Michael
232224dbce
Merge update into master
2022-05-30 06:30:10 +08:00
Unknown W. Brackets
170441313c
Net: Ignore SIGPIPE errors on POSIX systems.
...
This should work on BSD/macOS/Linux/iOS/similar.
2022-04-03 06:57:45 -07:00
Yifan Gu
633a6f612b
Refactor and unify analog input settings
2021-07-05 12:38:46 +02:00
Unknown W. Brackets
62da29505a
iOS: Guard extended button selector access.
...
See #14495 .
2021-06-02 21:20:18 -07:00
Henrik Rydgård
0150dcfd44
Change pointer ID allocation on iOS. Fixes part of #14240
...
The dialog code checks for touch.id != 0 to decide whether to close.
Not sure if really necessary, but keeping it and just changing the IDs.
2021-04-17 12:11:21 +02:00
Unknown W. Brackets
cb9a22c0cb
Build: Recompress pngs using better zlib.
...
Used pngwolf to recompress all pngs. Not a big change, but should
slightly reduce app download size.
2021-04-11 11:09:18 -07:00
Henrik Rydgård
725f054e17
iOS: Try a different JIT detection method, thanks Halo-Michael.
...
Also add an escape route from games list settings without a back button.
See #14240
2021-03-01 22:41:51 +01:00
Henrik Rydgård
45628cde95
Tweak to jit detection based on feedback to #14201
2021-03-01 13:04:55 +01:00
Henrik Rydgård
21511ac7b2
Don't even try the hack on iOS 14.4
2021-02-22 09:31:18 +01:00
Henrik Rydgård
bd7b283399
Add iOS version detection, turn off JIT on bootup if >= 14.3.
2021-02-22 09:16:51 +01:00
Unknown W. Brackets
b77d47e357
iOS: Undo app ID change.
2021-02-20 07:03:39 -08:00
Henrik Rydgård
224bd05b4c
iOS: Fix multitouch tracking.
...
Patterned on #9602 .
Fixes #5099 .
Note that the iPhone supports max 5 touches and will cancel all on the 6th touch.
That's platform behavior that can't be changed. We interpret touch cancellation
as touch up.
2021-02-20 13:16:09 +01:00
Henrik Rydgård
1759f1fad8
CMake fixes and new --ios-xcode ./b.sh command.
...
Also enables stencil for the iOS backbuffer. Fixes the GPU test and will doubtlessly
fix problems with running non-buffered (which you shouldn't do anyway though).
Slim alternative to #13766 with less risk to buildbots.
2021-01-17 11:34:27 +01:00
Unknown W. Brackets
eee529c6c9
UI: Cleanup Windows header in MainScreen.cpp.
...
Better to have this come from System, probably. It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
Henrik Rydgård
1c753e4a22
Use hacky methods to retrieve SD card directory if available.
...
This will disappear in future Android versions but can be useful for
older devices.
Fixes (or at least tries to) #10199 , at least for some devices.
Might help #13827 ?
Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Unknown W. Brackets
20d161f4a3
iOS: Change iOS 13 check.
2021-01-05 07:21:58 -08:00
Unknown W. Brackets
43948d4d4a
iOS: Expose iOS 12.1+/13/14 buttons.
...
Now with corrected version checks.
2021-01-02 12:57:58 -08:00
Henrik Rydgård
c4d6c19725
Revert "Merge pull request #13807 from unknownbrackets/ios-buttons"
...
Temporary, see #13824
This reverts commit b40385396a
, reversing
changes made to 98e82c5c63
.
2020-12-27 17:06:53 +01:00
Unknown W. Brackets
05b05618e2
iOS: Expose iOS 12.1+ buttons.
2020-12-23 08:49:35 -08:00
Henrik Rydgård
207b76da6e
Show an error on screen if a shader fails to compile.
...
Part of #1 investigation of #13541
2020-11-05 08:27:13 +01:00