Henrik Rydgård
4dd3621fa0
Remove some unnecessary <algorithm> includes.
2024-12-18 17:04:27 +01:00
Henrik Rydgård
edbc7afcc1
Add support for prefix filtering in directory listing.
2024-11-29 11:14:52 +01:00
Henrik Rydgård
59a56d66c7
Add a "reason" argument to sleep_ms().
...
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.
This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
e51c58716b
Fix minor code issues flagged by PVS-Studio and reported by alphrixus.
2024-10-10 14:10:30 +02:00
Henrik Rydgård
2ba4eaf3dd
First part of the const changes etc
2024-09-17 15:13:13 +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
Henrik Rydgård
b85890c37b
Rewrite GetFriendlyPath to not crash and work in more situations
2024-05-31 20:41:03 +02:00
Henrik Rydgård
1ff7710854
Folder/file browser tweaks
2024-05-20 10:04:11 +02:00
Henrik Rydgård
ae1ee41eb0
Add functionality to limit a pathbrowser to a specific root
2024-05-03 17:54:57 +02:00
Henrik Rydgård
ee62ffdb02
Audit our use of condition variables, fix some minor issues
2024-01-29 11:09:08 +01:00
Henrik Rydgård
9c1fd06c2f
Various fixes to PathBrowser etc to handle browsing HTTP subfolders
2023-12-29 21:34:24 +01:00
Herman Semenov
2a31f8c6c0
[Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope)
2023-12-20 12:33:56 +03:00
Henrik Rydgård
19eeaef2ea
More uses of string_view
2023-11-13 23:36:34 +01:00
Henrik Rydgård
a84cb357dc
Comment fixes, adjust a couple of sleeps
2023-08-13 17:57:46 +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
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02: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
916404f0e4
Try to get a bit better at detaching threads that have used JNI from the VM.
2023-01-05 08:38:49 +01:00
Unknown W. Brackets
682f5fae97
UI: Fix reverse-dependency in PathBrowser.
2022-12-27 15:08:57 -08: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
Henrik Rydgård
52527798c0
Some file move process tweaks
2021-09-19 20:23:46 +02:00
Unknown W. Brackets
4c51f4761d
http: Add Accept header as a parameter in requests.
2021-08-22 10:03:59 -07:00
Henrik Rydgård
dbd3d8ca2a
Handle an empty path in the game browser.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
7c3bc01268
Make GetFilesInDir fully-featured enough to use in DirectoryFileSystem
...
To later reduce code duplication in #14619
2021-07-19 10:31:48 +02:00
Henrik Rydgård
0a4da48978
PathBrowser: Load all types of path asynchronously. Helps with slow scoped storage listings :/
2021-07-10 11:54:03 +02:00
Henrik Rydgård
a0bae1855f
Path browser: Move special handling of Windows root directory to GetFilesInDir.
2021-07-10 11:47:03 +02:00
Henrik Rydgård
c86c7686a8
Remove more special casing of content URIs
2021-06-07 00:24:52 +02:00
Henrik Rydgård
1eb36cd655
Remove now-unnecessary special cases in PathBrowser
2021-06-07 00:24:52 +02:00
Henrik Rydgård
e3cf04bb34
Implement file filters for Android in PathBrowser
...
asdf
Move Android file listing parsing logic into app-android.cpp.
Add utility for parsing/writing Android Content Storage URIs.
Fix some bugs. Allow upwards navigation in file browser from directories downstream from tree URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
87a25fd230
Start experimenting with DocumentsContract (the thing DocumentFile wraps)
...
wip
Some progress towards making the file browser work with DOCUMENT_TREE
More directory browsing progress
More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.
Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Unknown W. Brackets
81f2184214
http: Fix remote disc browsing.
2021-05-16 17:48:25 -07:00
Unknown W. Brackets
a097403298
Common: Remove File::GetFilename().
2021-05-14 23:08:31 -07:00
Unknown W. Brackets
d376e67f87
Common: Cleanup some Path constructions.
2021-05-14 22:48:04 -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
36549a960f
Common: Fix dir listing extension filter.
...
Oops. Also correct std::move() usage, which assumed it cleared the
source string.
2021-05-10 21:28:51 -07:00
Unknown W. Brackets
774b0e07e0
Common: Cleanup AssetReader extension filter.
2021-05-09 17:57:07 -07:00
Henrik Rydgård
74a652491c
Common: Update path browser extension handling.
2021-05-09 17:56:05 -07: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
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
Henrik Rydgård
770f7f60e4
Delete unused function, rename two more.
2021-04-25 20:57:37 +02:00
Henrik Rydgård
77b8a14770
Merge GetFileInfo/GetFileDetails into GetFileInfo
2021-04-25 20:52:29 +02:00
Henrik Rydgård
08843673d9
Rename a couple of functions.
2021-04-25 20:39:32 +02:00
Henrik Rydgård
1b13badeb4
Move remaining FileUtil functions into the File namespace.
2021-04-25 20:38:22 +02:00
Unknown W. Brackets
58f6751891
UI: Avoid PathBrowser lock with no remote files.
...
Only needs locks once the thread starts.
2021-02-17 00:29:39 -08:00
Henrik Rydgård
76504c1a36
Remove redundant method from PathBrowser.cpp
2021-01-07 23:22:25 +01:00
Henrik Rydgård
ddb5462bce
Folder browsing on main screen: Prevent navigating "up" when you can't.
2020-12-20 01:47:52 +01:00
Henrik Rydgård
aa2f102a0a
PathBrowser: Show simplified version of paths under the memstick dir.
2020-12-20 01:00:07 +01:00