Commit Graph

40364 Commits

Author SHA1 Message Date
Henrik Rydgård
946881dcf1 Minor cleanup (remove redundant stuff from the storyboard) 2024-05-23 09:41:00 +02:00
Henrik Rydgård
47f12dfeec Make linking to MoltenVK work 2024-05-23 09:41:00 +02:00
Henrik Rydgård
41f8670d2a Add MoltenVK.xcframework as a submodule 2024-05-23 09:41:00 +02:00
Henrik Rydgård
26ab2b77d7
Merge pull request #19175 from hrydgard/vulkan-init-simplification
Add a convenience method to VulkanContext to reduce code duplication
2024-05-23 09:40:28 +02:00
Henrik Rydgård
fea6727ffd Add a convenience method to VulkanContext to reduce code duplication
Will need the exact same code for iOS.
2024-05-23 02:13:54 +02:00
Henrik Rydgård
b6ce56dec0
Merge pull request #19173 from hrydgard/ir-interpreter-prefix-check
IRInterpreter compiler: Reject all vec2ops where the prefix is unknown while compiling
2024-05-23 00:19:44 +02:00
Henrik Rydgård
5e3abe3def IRInterpreter compiler: Reject all vec2ops where the prefix is unknown
Fixes #19164

May help #19172
2024-05-22 23:19:14 +02:00
Henrik Rydgård
dc68f406aa
Merge pull request #19171 from hrydgard/ios-even-more-viewcontroller
iOS: Even more viewcontroller refactor
2024-05-22 16:56:39 +02:00
Henrik Rydgård
4726e1f4b3 Remove the last non-interface function on the ViewController 2024-05-22 16:43:18 +02:00
Henrik Rydgård
538cc62f16 Remove a redundant function 2024-05-22 16:43:18 +02:00
Henrik Rydgård
cc37476c79 Add a ViewControllerCommon.h 2024-05-22 16:43:16 +02:00
Henrik Rydgård
832b21ad45
Merge pull request #19170 from hrydgard/ios-more-window-refactor
iOS: More ViewController code refactor
2024-05-22 13:46:21 +02:00
Henrik Rydgård
016e90f7a4 Buildfix, cleanup use of long-deprecated stuff. 2024-05-22 13:34:17 +02:00
Henrik Rydgård
98e87a78d8 Extract the iCade code to Controls.mm 2024-05-22 12:11:51 +02:00
Henrik Rydgård
bf8d55c970 Finish extracting the touch tracker from the ViewController 2024-05-22 11:59:26 +02:00
Henrik Rydgård
1db11599b4 Move some more code 2024-05-22 11:36:52 +02:00
Henrik Rydgård
75af8c6704 Some C++-ification 2024-05-22 11:24:00 +02:00
Henrik Rydgård
82573b4f82 Move controller setup to Controls.mm 2024-05-22 11:18:03 +02:00
Henrik Rydgård
04a260bded Move System_LaunchUri to a more appropriate place 2024-05-22 11:17:38 +02:00
Henrik Rydgård
c34079a908 Hide keyboard on app display 2024-05-22 11:17:01 +02:00
Henrik Rydgård
09e89e9d79 Minor cleanup 2024-05-22 10:38:40 +02:00
Henrik Rydgård
4f2379a2d3 Remove obsolete code path 2024-05-22 00:24:36 +02:00
Henrik Rydgård
1a01e4fd2e
Merge pull request #19168 from hrydgard/ios-window-refactor
iOS ViewController refactor
2024-05-22 00:07:22 +02:00
Henrik Rydgård
d41a2ad303
Merge pull request #19167 from Kaitul/master
Update zh_TW.ini
2024-05-21 15:01:21 +02:00
Henrik Rydgård
947f0a876e Delegate shouldn't keep the specific ViewController type 2024-05-21 14:57:30 +02:00
Kung-chih
ceb5c699ca
Update zh_TW.ini 2024-05-21 20:54:09 +08: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
076194eb6f
Merge pull request #19165 from hrydgard/ui-crash-fixes
UI crash fix in control mapping screen
2024-05-21 11:32:38 +02:00
Henrik Rydgård
58f7e190c4 Move the category array outside the function 2024-05-21 11:17:34 +02:00
Henrik Rydgård
635b4d4acf Fix memory error in control mapping dialog
Can't put pointers to member variables in a static const array, it'll
get initialized once, then it'll be wrong the next time.
2024-05-21 11:15:54 +02:00
Henrik Rydgård
1129000d8f Add some asserts, small cleanup 2024-05-21 11:08:09 +02:00
Henrik Rydgård
aecc77f232
Merge pull request #19163 from hrydgard/update-es-la
Update es_LA translation (thanks xKinet).
2024-05-20 21:38:48 +02:00
Henrik Rydgård
54affdb4f4 Update es_LA translation (thanks xKinet). Assorted other translation fixes 2024-05-20 21:37:45 +02:00
Henrik Rydgård
b00b4fb70b
Merge pull request #19161 from hrydgard/basic-ios-keyboard
Add basic soft-keyboard support on iOS
2024-05-20 19:36:28 +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
e829ac896a
Merge pull request #19160 from hrydgard/soft-keyboard-refactor
Change UI event notifications (used for soft-keyboard in UWP mode) from strings to enums
2024-05-20 19:08:22 +02:00
Henrik Rydgård
f61baa3b51 Switch UI event notifications (used for soft-keyboard) from strings to enums 2024-05-20 18:25:16 +02:00
Henrik Rydgård
f0befda912
Merge pull request #19159 from hrydgard/minor-ios-fixes
iOS: Fix threading issue, add back gesture
2024-05-20 16:42:24 +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
612f879e4a
Merge pull request #19158 from hrydgard/screen-dimming-refactor
Make a new internal system request KEEP_SCREEN_BRIGHT
2024-05-20 15:20:49 +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
5042555d7b Make a dedicated system request KEEP_SCREEN_BRIGHT, unify behavior between Windows and Android more 2024-05-20 14:03:54 +02:00
Henrik Rydgård
ab598f37f6
Merge pull request #19157 from hrydgard/android-fix-blurry-fonts
Workaround for blurry text when high contrast text is enabled in Android Accessibility
2024-05-20 11:07:56 +02:00
Henrik Rydgård
4933deb94f
Merge pull request #19156 from hrydgard/ios-build-script
iOS build changes for app store
2024-05-20 11:07:45 +02:00
Henrik Rydgård
744e3db73c Workaround for blurry text when high contrast text is enabled in Android Accessibility
Unfortunately this breaks emoji, so we only use this if the option is
enabled. Fortunately, we barely use emoji in the UI. They do appear in
RetroAchievemnts sometimes.
2024-05-20 10:44:36 +02:00
Henrik Rydgård
1ca5bc9d86 Partially revert previous commit 2024-05-20 10:04:11 +02:00
Henrik Rydgård
f1e40987cb Update URIs for iOS 2024-05-20 10:04:11 +02:00