Henrik Rydgård
ccc78c42f5
Route DirectoryFileSystem::Open to Android storage.
2021-06-07 00:24:52 +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
825478bbf7
Remove CreateDirIn, not useful enough to keep.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
5e3019073c
Android content URI support in Path.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
6553b96368
Remove AndroidStorageFileSystem. Not useful.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
40fb114f60
Delete a couple unused constructors of IOFile
2021-06-07 00:24:51 +02:00
Henrik Rydgård
a2fa724d8e
Convert GetFileSize to use Path
2021-06-07 00:24:51 +02:00
Henrik Rydgård
1f018d33c5
Start work on supporting Android Content URIs in the FileUtil API.
...
Add tentative Android Content URI support to much of FileUtil.h.
Buildfix
Fix some issues with the file browser in storage URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
b397e5c455
Assorted plumbing.
...
wip
Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
ef607a5fe2
Implement a "FileSystem" that wraps Android content storage. So far unused.
2021-06-07 00:24:51 +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
64678e0114
Reporting: Move message report interface to Common.
...
This makes it so we can call reporting from Common.
2021-06-06 09:22:03 -07:00
Henrik Rydgård
914b4478b6
Merge pull request #14493 from unknownbrackets/replay
...
Add debugger APIs for replay recording
2021-05-31 11:45:39 +02:00
Unknown W. Brackets
2af40d07bb
Debugger: Fix websocket read silly mistake.
...
Surprised I didn't notice this before.
2021-05-30 15:25:41 -07:00
Henrik Rydgård
72915f88c8
Config: Remove the use of multiple search paths.
2021-05-30 12:39:16 +02:00
Unknown W. Brackets
ecc2f62688
Common: Zero initialize readlink buffer.
...
See #14483 .
2021-05-27 23:12:40 -07:00
kotcrab
312506a41b
Fix crash in HTTPServer when processing invalid request
2021-05-27 14:10:40 +02:00
Henrik Rydgård
79e3d1c5f9
Buildfix (debug mode)
...
libpng isn't so happy if you force include the memory debug wrappers.
We should probably not have it in Common anyway, not sure how it ended
up there.
2021-05-27 01:02:02 +02:00
Henrik Rydgård
8d08991ad6
Merge pull request #14467 from unknownbrackets/texreplace-zim
...
Add support for ZIMs in texture replacements
2021-05-24 07:33:54 +02:00
Unknown W. Brackets
b0de7ee0e1
UI: Move to ScreenManager for mapping.
...
Otherwise we'll detect repeated axis for some devices and you won't be
able to map what you want.
2021-05-23 15:18:21 -07:00
Unknown W. Brackets
ad5ef08f06
http: Improve navigating up within http:// paths.
...
This way, if you're browsing a remote path with dirs, or you press up,
things largely work.
2021-05-16 18:34:02 -07:00
Unknown W. Brackets
81f2184214
http: Fix remote disc browsing.
2021-05-16 17:48:25 -07:00
Unknown W. Brackets
7afd02e7e0
Tools: Make ZimTool able to use ZSTD/specify level.
...
There's decompression speed tradeoffs at some levels.
2021-05-16 09:39:39 -07:00
Unknown W. Brackets
e4dc8e6000
Common: Prevent non_path IOFile usage.
2021-05-15 11:12:56 -07:00
Unknown W. Brackets
f2b2f26e8e
Common: Use Path for GetExeDirectory().
2021-05-15 11:12:54 -07:00
Unknown W. Brackets
7b175627b3
VFS: Use Path for DirectoryAssetReader.
2021-05-15 11:12:04 -07:00
Unknown W. Brackets
82cd904e99
Common: Use Path for GetFileSize().
2021-05-15 11:11:37 -07:00
Unknown W. Brackets
15038bb663
Common: Remove File funcs redundant with Path.
...
Shouldn't use these anymore anyway.
2021-05-15 11:11:37 -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
Unknown W. Brackets
2a9170a2ea
http: Use Path for the download file.
2021-05-14 22:46:03 -07:00
Henrik Rydgård
0cd7af44f1
Fix ZipAssetReader file listing. Fixes post shaders on Android
2021-05-13 11:49:33 +02:00
Henrik Rydgård
9c66f81cbc
Address additional feedback
2021-05-13 10:39:17 +02:00
Henrik Rydgård
47039b4bcd
Address all the easy feedback. Some is left.
2021-05-13 10:39:17 +02: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
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
ae06499a0c
Change Copy, Rename to use Path. Remove std::string version of Exists().
...
Buildfixes
Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
0d80362c30
Change parameter of DeleteDir and friends to Path
2021-05-13 10:39:16 +02:00
Henrik Rydgård
b7fe72bfc9
Load IniFile from Path
...
Buildfixing
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
e725eddf13
CPUDetect: Ensure we never get zero cores.
2021-05-11 22:02:42 -07:00
Unknown W. Brackets
92ace6716a
Common: Fix read of special files with fake size.
...
On some Linux systems, /sys/ files report a size of 4096, but actually
have less content.
2021-05-11 21:57:36 -07:00
Sean McGovern
9e106e1d3d
FileUtil: check for errors after a fread() in ReadFileToString()
2021-05-11 23:56:45 -04:00
Sean McGovern
4cc34e384c
CPUDetect: saturate lower bound of CPU count to 1
2021-05-11 23:56:45 -04:00
Sean McGovern
328074e9bc
CPUDetect: prevent a divide-by-zero when ParseCPUList() fails
2021-05-11 23:56:45 -04: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
b3ce171523
Common: Correct ReadFileToString() with no size.
...
If SEEK_END returns an error, just read bit by bit. Also remove the
unnecessary temp buffer.
2021-05-10 18:29:06 -07:00