Commit Graph

114 Commits

Author SHA1 Message Date
Henrik Rydgård
680bb2bf22 Remove a bad debug assert 2024-10-17 21:11:52 +02:00
Henrik Rydgård
4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård
66993c8ff2 Android buildfix, warning fix 2024-09-26 12:04:29 +02:00
Henrik Rydgård
f020d1d815 Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords 2024-09-26 10:48:31 +02:00
Henrik Rydgård
514f29d63b Fix save data manager dialog popup 2024-09-07 16:17:28 +02:00
Henrik Rydgård
48a0c0f068 Fix using ESC in savedata screen. Warning fix 2024-09-07 16:00:52 +02:00
Henrik Rydgård
8186f14a57 Much more UI work on savedata import
fix
2024-09-07 15:28:57 +02:00
Henrik Rydgård
3a047369fd Add ability to install savedata from GameFAQs-style ZIP files 2024-09-05 17:12:10 +02:00
Henrik Rydgård
eb317378e3 Typo fix, thanks oltolm 2024-05-31 13:01:41 +02:00
Henrik Rydgård
5999690af5 i18n: Remove our awkward ampersand-escape support, except in [DesktopUI] 2024-05-31 09:45:59 +02:00
Henrik Rydgård
72c77ea2cd
Update SavedataScreen.cpp - preserve the old behavior 2024-04-02 13:41:50 +02:00
Herman Semenov
0f94ac9189 Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType() 2024-04-02 14:25:26 +03:00
Henrik Rydgård
76242cb9f7 More gameinfocache fixes 2024-01-30 12:27:58 +01:00
Henrik Rydgård
d7e5928b2c Minor tweaks to spacing on savedata popup.
Might help #18762
2024-01-30 11:33:08 +01:00
Henrik Rydgård
a93b55c215 Handle icon loading failures better (avoid retrying every frame). 2024-01-29 10:44:46 +01:00
Henrik Rydgård
884c366692 Fix some longstanding issues with the GameInfoCache and optimize away double work 2024-01-28 16:23:27 +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
Henrik Rydgård
b78c7ad470
Merge pull request #18545 from GermanAizek/const-ref-params
Objects in function parameters have been replaced with constant references
2023-12-14 13:49:33 +01: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
75e96df448 Don't use ManagedTexture in GameInfoCache, not needed. 2023-12-12 22:34:31 +01:00
Henrik Rydgård
87ddb3f3b1 Add easy way to verify games against the Redump database, supplied as CSV. 2023-10-23 19:11:01 -05: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
German Semenov
c498a42e92 Core, UI, Windows: Removed excess converting C-string in params 2023-09-15 13:54:11 +03:00
Unknown W. Brackets
23b05b9037 UI: Fix search within savedata screen. 2023-09-07 17:34:23 -07:00
Henrik Rydgård
8a59ed0062 Add function ApplySafeSubstitution for translation strings with parameters 2023-07-16 16:26:49 +02:00
Henrik Rydgård
84fffec4f3 Switch all NativeMessageReceived to System_PostUIMessage 2023-07-06 17:26:02 +02:00
Henrik Rydgård
a17710a914 Remove additional ifdef checks for inputbox 2023-06-22 09:06:19 +02:00
M4xw
71639acd16 [Switch] Enable all System_InputBoxGetString usages 2023-06-22 00:47:00 +02: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
Unknown W. Brackets
441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07: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
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
9f3851678e Add tags to all our UI screens. Useful to debug UI problems. 2022-09-16 10:14:00 +02:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
0f83901838 UI: Keep buttons at bottom for savedata.
Also make them wider, looks like a layout mistake.
2021-10-05 23:55:51 -07:00
Unknown W. Brackets
e8a83269bb UI: Add scroll to savedata viewer for long descs. 2021-10-05 23:50:21 -07:00
Unknown W. Brackets
09ca16361c UI: Asynchronously update size and dates on sort.
This means items shift and jump into place, but it also means we don't
hang even for large savedata collections.
2021-09-23 22:31:43 -07:00
Unknown W. Brackets
8c937f45f7 UI: Cache save size on save buttons.
It was calculating the size and date for each permutation, which became
monstrously slow on Android with scoped storage.
2021-09-23 22:14:25 -07:00
Unknown W. Brackets
7513d92862 UI: Reduce IO in savedata manager sorting. 2021-09-23 22:00:16 -07:00
Henrik Rydgård
fcc0337576 Fix the Android recursive size computation and hook it up. 2021-09-11 18:12:30 +02:00
Henrik Rydgård
85ac0f8856 Fix a couple sort comparators for the savedata screen 2021-09-10 01:14:59 +02:00
Henrik Rydgård
43ba908225 Propagate errors from file identification upwards better. 2021-08-07 11:54:45 +02:00
Unknown W. Brackets
d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Henrik Rydgård
4d344f556a Additional feedback. 2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
e2e1c677cb GameInfoCache: Don't expose the workqueue.
Was unused anyway.
2021-04-30 23:04:24 -07:00
Henrik Rydgård
770f7f60e4 Delete unused function, rename two more. 2021-04-25 20:57:37 +02:00