Commit Graph

102 Commits

Author SHA1 Message Date
Henrik Rydgård 3de6865380 Remove error prone error reporting in MemStickScreen 2026-05-10 23:41:39 +02:00
Henrik Rydgård 34938e3de6 Move Notice to Common/UI 2026-01-25 15:10:26 +01:00
Henrik Rydgård 22b3ad2372 Get rid of the SettingInfoMessage popups 2025-11-23 13:56:34 +01:00
Henrik Rydgård 2b9f2672bb UI screens header cleanup 2025-10-29 00:15:41 +01:00
Henrik Rydgård 7ffd72b32e Rename some screen classes 2025-10-29 00:02:43 +01:00
Henrik Rydgård 58456ae950 Remove the UI::EventReturn return values. Makes editing the UI nicer. 2025-09-15 11:09:00 -06:00
Henrik Rydgård 3f77775306 Legacy build: Attempt to lower version requirements, also allow manually specifying the path
Should fix #20509 (not extensively tested)
2025-06-13 20:08:41 +02:00
Henrik Rydgård a361a32f4b More minor cleanups 2025-05-29 13:39:33 +02:00
Henrik Rydgård 5eb87f0fb4 Logging fixes and cleanups around folder move 2025-05-29 13:13:07 +02:00
Henrik Rydgård 5538176ce0 When changing memstick dir, don't bother calculating space for the "old" choice. Can be super slow. 2025-05-28 15:28:26 +02:00
Henrik Rydgård 6b987fa4ac MemstickScreen: Cleanly cancel instead of blocking the back button if space calculation is underway 2025-05-28 15:27:00 +02:00
Henrik Rydgård 22b1ecf65b Memstick: Show a warning if you pick a folder inside the previous one (common mistake) 2025-05-26 13:23:10 +02:00
Henrik Rydgård 776dc4734a Prevent UI from hanging if backing out of the MemstickScreen while tasks are underway 2025-05-26 11:57:19 +02:00
Henrik Rydgård 832c6aa218 Clean up some more "#ifdef GOLD" checks 2025-05-18 10:37:16 +02:00
Henrik Rydgård 8a5be21140 MemStick screen: Call free_disk_space from async tasks
See #19522
2024-10-11 13:45:43 +02:00
Henrik Rydgård 4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård 4665196535 iOS app store: Hide the "Set memoery stick" option in developer tools
It's really not a good idea to change it.

In case someone does have a use case for it, we keep the option anyway,
but in developer tools, with a loud warning next to it.

Should help #18929 by reducing the number of people causing themselves trouble
with the option.
2024-09-26 21:17:00 +02:00
Henrik Rydgård 66993c8ff2 Android buildfix, warning fix 2024-09-26 12:04:29 +02:00
Henrik Rydgård d47c05f4a1 Android memstick folder move: Minor logging and robustness improvements 2024-09-09 17:47:21 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Herman Semenov 0d1f7e2e6c [Core/GL/UI] Not all fields initilize and minor code refactor 2024-04-11 15:50:42 +03:00
Henrik Rydgård 5398820867 Crashfix on memstick screen.
Fixes #18886
2024-02-24 18:49:57 +07: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 bc92226715 Folder browser (like when clicking Browse...): Preinitialize with the current folder. 2024-01-25 12:47:37 +01:00
Henrik Rydgård 6e587f50f3 Rework memstick moves between devices to copy, verify and then delete 2024-01-22 21:52:39 +01:00
Henrik Rydgård c6c0d0bf42 Android memstick folder moves: Do recursive moves if in the same device. Drastically faster. 2024-01-22 16:26:29 +01:00
Henrik Rydgård 6ae9d42516 Preparations for reworking the memstick folder move functionality 2024-01-22 15:56:07 +01:00
Henrik Rydgård b2c19695ed Extra check and comment 2024-01-21 13:47:11 +01:00
Henrik Rydgård 1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Herman Semenov 95f535dab0 [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
Herman Semenov 3d422b11c0 [GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params 2023-12-14 14:23:31 +03:00
Henrik Rydgård 6a0c8a8380 Fix creating the directories after choosing a folder on Android. 2023-08-18 15:51:16 +02:00
Bashar Astifan dc32ab134d Exclude root choice from memStickScreen (UWP)
This was wrapped before with `#if PPSSPP_PLATFORM(ANDROID)` after it got removed now start to appear in UWP, this should fix it.
2023-08-14 09:27:51 +04:00
Bashar Astifan a35c8425e6 Merge branch 'master' into master 2023-07-17 23:20:52 +04:00
Henrik Rydgård 7144e01472 Minor UI upgrades on MemStickScreen and system settings 2023-07-15 12:24:00 +02:00
Henrik Rydgård 63144340f5 First-boot memstick screen: Attempt to fix some logic holes
This handles some cases better that I don't really see how they can
happen, but who knows. Intended to help #17683
2023-07-12 11:29:24 +02:00
M4xw 71639acd16 [Switch] Enable all System_InputBoxGetString usages 2023-06-22 00:47:00 +02:00
Bashar Astifan f86a462145 Revert creating ToShortFriendlyPath, more cleanup
Path preview can actually solved within ToVisualString without creating another function, I feel it will cause confusing as both function will be similar.
2023-05-04 12:03:14 +04:00
Bashar Astifan b63f528a36 Code cleanup 2023-05-04 00:37:27 +04:00
Bashar Astifan 132a00ade3 Merge branch 'master' into master 2023-05-03 23:23:29 +04:00
Bashar Astifan 9b0577351f Review's changes, more fixes and better structure 2023-05-02 00:09:22 +04:00
Henrik Rydgård 6468319599 Fix memory bug in memstick file copy routine 2023-05-01 13:56:35 +02:00
Bashar Astifan d0b6935592 UWP Improved Support 2023-04-28 23:22:17 +04:00
Henrik Rydgård ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård 77f90c5406 Restore tabs, oops. 2023-03-25 18:51:06 +01:00
Henrik Rydgård 5a55fd5fd3 And replace "graphics_restart", "toggle_fullscreen", etc 2023-03-22 23:52:15 +01:00
Henrik Rydgård 9508ef467e Port folder browser too, now this time start with Qt 2023-03-22 19:25:35 +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 d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Unknown W. Brackets 88ba003f46 ThreadManager: Add a simple priority field.
Currently, not actually respected.
2023-02-02 17:08:24 -08:00