Commit Graph

88 Commits

Author SHA1 Message Date
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
Henrik Rydgård
4287365411 Update URLs, fix feedback from #16851 2023-01-29 00:25:27 +01:00
Henrik Rydgård
0e3cf9862e ComputePathTo: Handle case where from == to. 2023-01-02 22:10:00 +01:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03: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
Henrik Rydgård
3a09c85fb1 Fix hang when choosing "Skip" in first-time init. Warning fix, comment add.
Fixes #15011
2022-04-17 23:02:37 +02:00
Henrik Rydgård
4f85b8b2ef Threading: Remove a level of indirection from Promise and Mailbox.
Makes using small copyable or POD objects in these more efficient, and if you want
to you can just put a pointer or smart pointer in there, which will
effectively do the same thing as the old setup.
2021-11-20 22:40:10 +01:00
Henrik Rydgård
16c1713a87 Hide "What's This"? button on Android TV - no browser anyway 2021-10-05 11:38:34 +02:00
Henrik Rydgård
64b8ac603a Fix bug in deleting of directories in memory stick move. Also improve progress reporting. 2021-10-04 23:49:08 +02:00
Henrik Rydgård
fbf56766f5
Merge pull request #14889 from hrydgard/translation-updates-2
Move the What's this? translation to the Memstick section
2021-09-20 16:59:12 +02:00
Henrik Rydgård
33b1f59cee Move the What's this? translation to the Memstick section 2021-09-20 16:40:33 +02:00
Unknown W. Brackets
4aa0c41a90 UI: Add a bit of reporting in failure cases. 2021-09-20 07:20:58 -07:00
Unknown W. Brackets
76dcfa9386 UI: Use OK instead of Confirm.
Other dialogs use OK.
2021-09-20 07:13:37 -07:00
Henrik Rydgård
c9cac67bfb Preparations for translating MemStickScreen and related strings. 2021-09-20 08:36:05 +02:00
Henrik Rydgård
50e008e385 Browse -> OK. Align buttons. 2021-09-19 20:24:28 +02:00