Commit Graph

92 Commits

Author SHA1 Message Date
Herman Semenov
9e126b5f00 Fixed possible accidental conversion memsize type to strict 32 bit 2024-04-02 19:03:12 +03: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
cfadc397f5 Store: remove the broken download speed indicator. 2024-01-30 14:50:55 +01:00
Henrik Rydgård
c2850ff65a Store: Implement progress bar for homebrew installs 2024-01-22 11:55:42 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +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
f8927df9a6 Load savestate screenshots in the background 2023-12-13 12:07:23 +01:00
Henrik Rydgård
4c3f82da55 Remove ManagedTexture from HttpImageView 2023-12-12 22:44:03 +01:00
Henrik Rydgård
d2e10a058e Some renaming 2023-12-12 22:15:55 +01:00
Henrik Rydgård
d234fa24e6 Add progress bar (without %) to install/uninstall. Other fixes. 2023-12-08 16:16:28 +01:00
Henrik Rydgård
888b32e243 Store: Perform uninstalls on a background thread, to avoid hanging the UI 2023-12-08 16:16:26 +01:00
Henrik Rydgård
2648cd0eee Store: Fix race condition causing crashes if looking at another game before an icon finishes downloading 2023-09-20 21:49:17 +02:00
Henrik Rydgård
93bb113009 Common: Rename Download to Request, and the old Request to ServerRequest. 2023-07-21 22:12:00 +02:00
Henrik Rydgård
ae354a7639 Store: Use HTTPS based on availability 2023-07-21 10:28:32 +02:00
Henrik Rydgård
fbd980bee6 Get basic Naett requests to work (the store works in https mode) 2023-07-21 10:28:17 +02:00
Henrik Rydgård
4a416174b1 Avoid an assert for empty icon files in the store (should look into this more) 2023-07-21 10:27:40 +02:00
Henrik Rydgård
ecea3844b0 Improved progress bar popups for downloads
Now shows the filename, and also there's a delay mode where they'll only
be visible if the download takes more than a second, plus they can be
named.
2023-07-18 15:13:44 +02:00
Henrik Rydgård
2bf2f745e2 IconCache: Add pending state to avoid duplicate downloads in some cases 2023-06-18 14:54:11 +02:00
Henrik Rydgård
8a27627a9f Use the new icon cache for the icons in the homebrew store. 2023-06-18 14:11:12 +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
Henrik Rydgård
f418b2bf11 Remove the unused filter stuff from store. 2022-12-27 17:12:17 +01:00
Henrik Rydgård
9f5430b819 Make the string "PPSSPP Homebrew Store" translatable in one more place
No new string needed.

Also removed changing the title of the homebrew store when downloading,
we already show a progress bar, that's enough (and saves us two more
translation strings).
2022-12-12 00:09:04 +01:00
Henrik Rydgård
4c6f8d2b58 Fix memory issues in homebrew store
Lots of problems in a few lines of code. We retained references to the
filtered vector that lived temporarily in the load function...

Plus, the "hidden" flag is utterly broken and could only ever work on
the last entry, due to the above issue, and even then only if lucky.

So I'm banning it from use, pointless anyway.
2022-12-11 11:35:31 +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
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
afcf6d8e65 http: Specify expected mime types in downloads. 2021-08-22 10:03:59 -07:00
Henrik Rydgård
821a6a60aa Store: Display the error code in case of error downloading the json.
See #14572
2021-08-22 12:21:44 +02:00
Unknown W. Brackets
69ef21a65c Store: Make description focusable.
Descriptions aren't that long currently, but this allows for longer
descriptions with controller/keyboard scrolling.
2021-08-13 20:45:31 -07:00
Henrik Rydgård
bd15ae4f75 Fix bug in homebrew store with files with "." in their names.
Also, move the homebrew store button to the top bar instead of the
bottom of the list.
2021-07-12 11:55:15 +02:00
Unknown W. Brackets
2a9170a2ea http: Use Path for the download file. 2021-05-14 22:46:03 -07:00
Henrik Rydgård
274be61339 Fix crash in homebrew store after installing game 2021-05-13 11:08:38 +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
Unknown W. Brackets
20443571bd Store: Retain cancel/speed on resize or switch. 2021-05-01 11:20:05 -07:00
Unknown W. Brackets
2f08fb6583 Store: Show a rough speed indicator.
Some of the homebrew are a bit larger, it's nice to see a speed and not
just the progress bar.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
3360121b5c UI: Expose lists better in descriptions.
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -08:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
fbf6008a03 Set debug names for more framebuffers and textures 2020-08-09 09:36:54 +02:00
Henrik Rydgård
90071fd868 Fix a crash bug in homebrew store 2020-05-17 14:44:11 +02:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets
78571b8e37 http: Don't treat http:// as a relative path. 2019-10-06 08:30:39 -07:00
Henrik Rydgård
66c3f31ff9 More GameManager improvements. 2019-07-13 18:19:44 +02:00