Commit Graph

95 Commits

Author SHA1 Message Date
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 3d14cd16eb Add a null check in PopupMultiChoice::UpdateText 2023-09-27 12:31:17 +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 cf587d2ccc More cleanup after making PopupTextInputChoice choose method automatically 2023-06-22 09:01:14 +02:00
M4xw 71639acd16 [Switch] Enable all System_InputBoxGetString usages 2023-06-22 00:47:00 +02:00
Henrik Rydgård 2294af8f6e Android buildfix 2023-04-07 10:35:01 +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 6f9339b011 Add defaults for all int-slider settings too 2023-04-05 10:50:53 +02: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 b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik Rydgård 360de9a372 RemoteISO screens: Make them dialogs so ESC works to exit them on PC.
Also fix the background on the main one, and in savedata manager.

See #16605
2023-01-01 21:55:02 +01:00
Unknown W. Brackets 682f5fae97 UI: Fix reverse-dependency in PathBrowser. 2022-12-27 15:08:57 -08:00
Henrik Rydgård 7ff0030772 Added vertical layout for display layout screen 2022-12-08 16:04:20 +01:00
lainon b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +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 8c882e9571 UI: Add more keyboard sysprop checks. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets 4c51f4761d http: Add Accept header as a parameter in requests. 2021-08-22 10:03:59 -07:00
Unknown W. Brackets f712fecefe http: Show a more standard browser for remote.
This way if we add search or otherwise, it should work.
2021-05-16 18:34:02 -07:00
Henrik Rydgård 8727679353 Clean up PathBrowser a bit
Fix UWP build

Fix booting homebrew.

Qt buildfix
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
Unknown W. Brackets 3379f33882 http: Always use/require progress in requests.
This fixes several cases where we weren't passing cancel flags
consistently.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets a35b21a5d7 http: Set a more useful user agent. 2021-04-30 23:12:42 -07:00
Henrik Rydgård 1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02: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
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 f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +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 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +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 ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård 054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Unknown W. Brackets e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Unknown W. Brackets 4914c04989 Windows: Warn if Windows Firewall blocks PPSSPP.
This should alert people who are using Public firewall profiles or
similar, and have their sharing blocked.
2020-03-09 23:01:55 -07:00
Unknown W. Brackets 3a40a39a63 http: Show more detailed status when scanning.
This may not help, but at least it's some information on what's going on.

Ultimately, a firewall will just result in a connection timing out.
2020-03-09 19:57:59 -07:00
Unknown W. Brackets a3e12f4242 Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
iota97 e3c130d238 Rebase on master 2020-03-01 15:34:35 +01: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
Henrik Rydgård 13f87301cf Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Unknown W. Brackets d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets 2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Unknown W. Brackets 3e12734b80 http: Use relative paths for remote isos. 2019-10-06 08:50:35 -07:00
Unknown W. Brackets 2db8c89607 http: Avoid detaching threads, join instead. 2019-09-28 10:48:07 -07:00
Unknown W. Brackets fb2ce46eca UI: Add a note for HTML link parsing.
It's a bit messy but should probably do this eventually.
2019-06-23 13:34:54 -07:00
Henrik Rydgård 83039f3f90 Remote ISO: Fix bugs from issue #12018 and probably #12019 2019-05-07 23:26:13 +02:00
Unknown W. Brackets 1428684d1d http: Check for available discs before connecting.
This prevents trying to connect to a device serving only a debugger.
2018-12-21 22:41:02 -08:00
Unknown W. Brackets 02b418e711 http: Allow pbp and ppdmp files too.
Also cleanup a bit.
2018-10-07 14:53:38 -07:00