Commit Graph
29814 Commits
Author SHA1 Message Date
ANR2ME d5177e33b9 Fix possible crash issue on blocking socket implementation. 2021-05-16 12:55:55 +07:00
Henrik Rydgård 29ae351a52 Merge pull request #14464 from unknownbrackets/path-cleanup
Further Path cleanup
2021-05-15 23:17:48 +02: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 2558022afe Config: Move data path settings to Paths. 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
Henrik Rydgård 138d81e14d Merge pull request #14460 from unknownbrackets/path-cleanup
Fix headless test run, small cleanups to Path usage
2021-05-15 09:48:11 +02:00
Unknown W. Brackets a097403298 Common: Remove File::GetFilename(). 2021-05-14 23:08:31 -07:00
Unknown W. Brackets b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Unknown W. Brackets 8db4277e6c UI: Correct fallback to screenshots for icons. 2021-05-14 22:48:48 -07:00
Unknown W. Brackets c03e68c996 Debugger: Simplify symbol map filename build. 2021-05-14 22:48:32 -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
Unknown W. Brackets ed2ade4e22 headless: Correct tests. 2021-05-14 22:44:05 -07:00
Henrik Rydgård 89ea9625a5 Revert gradle update (investigating build server issue)
This reverts commit 2987b8c17a.
2021-05-14 23:01:36 +02:00
Henrik Rydgård 81b5e080ff Merge pull request #14436 from hrydgard/path-struct
Introduce Path, start using it all over the place.
2021-05-14 21:58:17 +02: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 274be61339 Fix crash in homebrew store after installing game 2021-05-13 11:08:38 +02:00
Henrik Rydgård 5cd565d327 Fix path bug installing homebrew 2021-05-13 11:08:27 +02:00
Henrik Rydgård ea5b3b1c09 Minor error message improvement 2021-05-13 10:39:17 +02:00
Henrik Rydgård cbbe458829 UWP iso-loading fix
Having override:// as a fake file name was no good, Path would remove
one slash.
2021-05-13 10:39:17 +02:00
Unknown W. Brackets 66b7e21676 GameManager: Base isDir off of zipped file name. 2021-05-13 10:39:17 +02:00
Henrik Rydgård 4d344f556a Additional feedback. 2021-05-13 10:39:17 +02:00
Henrik Rydgård 40ab92fe7b Remove unused function GetHostPath from filesystems 2021-05-13 10:39:17 +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
Henrik Rydgård 2987b8c17a Update gradle again, for Android Studio 4.2 2021-05-13 10:31:52 +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
Unknown W. Brackets 6c00b5c6cd Merge pull request #14451 from SeanMcG.
Patches to fix recent regressions with CPUDetect && FileUtils.
2021-05-11 21:56:27 -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
Henrik Rydgård d775bf4e4c Merge pull request #14442 from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Henrik Rydgård 7141a01a27 Merge pull request #14443 from unknownbrackets/libzip
Update libzip to 1.7.3
2021-05-10 09:13:44 +02:00
Henrik Rydgård b89a27d587 Merge pull request #14441 from unknownbrackets/path-cpp-file
Remove File::OpenCPPFile()
2021-05-10 09:12:16 +02:00
Unknown W. Brackets ba4fb398ca UWP: Order includes, avoid file attrs to buildfix.
Not sure why CREATEFILE2_EXTENDED_PARAMETERS isn't being found.
2021-05-09 21:56:34 -07:00
Unknown W. Brackets 18a51b8e97 Update libzip to 1.7.3. 2021-05-09 20:45:53 -07:00
Unknown W. Brackets f947aa4844 Common: Remove OpenCPPFile(). 2021-05-09 20:21:37 -07:00