Commit Graph

72 Commits (b166ec340374fd2ee6295dc36b94ec524a66ece6)

Author SHA1 Message Date
Stenzek f05ff4103e
Misc: Build fixes for Android 3 years ago
Stenzek 4d2c544ca9 FileSystem: Fix DeleteDirectory() on Unix 3 years ago
Stenzek 184b0a1a52 Misc: Swap most C format strings for fmt 3 years ago
Stenzek b217f64bcf PostProcessing: Refactor config to use separate sections 3 years ago
Stenzek 39f64a03ee Common: Error/FileSystem backports 3 years ago
Stenzek a3c7449749 FileSystem: Fix POSIXLock positioning 4 years ago
Connor McLaughlin 8c7a192128 Misc: Add copyright/license statement to applicable files
Should've did this in the beginning.
4 years ago
Connor McLaughlin 72dfbaf6cc Misc: Backports from PCSX2 UI 4 years ago
Connor McLaughlin ca571f8a78 GameList: Add played time tracker 4 years ago
Connor McLaughlin d9722516c3 GameList: Handle non-extension-suffixed urls based on content type 4 years ago
Connor McLaughlin 7bbacd2392 Misc: Remove unused code 4 years ago
Connor McLaughlin 25d2148ae4 Misc: Necessary emucore changes for Android 4 years ago
Connor McLaughlin 571a773b29 FileSystem: Fix build failure 4 years ago
Connor McLaughlin 97d5d659d3 FileSystem: Fix zeros getting stripped in path 4 years ago
Connor McLaughlin 89659db7ee Path: Unicode handling and tests for SanitizeFileName 4 years ago
Connor McLaughlin 9b22f0564f Misc: Remove backported license text
For anyone trying to start drama, I have copyright over this code and
never signed a CLA, therefore can relicense it how I see fit (in this
case is no license, i.e. no rights, although the entire DuckStation as
is currently distributed is GPLv3).
4 years ago
Connor McLaughlin d2ca454576 Sync filesystem.h/path.h 4 years ago
Connor McLaughlin b5bf3593c4 ByteStream: Move routines from FileSystem to ByteStream 4 years ago
Connor McLaughlin 592a591b5f FileSystem: Get rid of trailing nulls in GetWorkingDirectory() 5 years ago
Connor McLaughlin fca4a2ec28 Common/FileSystem: Fix a couple of warnings from #2716 5 years ago
Connor McLaughlin e45f15ef41 FileSystem: Implement StatFile/FileExists/DirectoryExists for scoped storage 5 years ago
Connor McLaughlin 3847c94a42 FileSystem: Don't treat dotfiles as hidden on Windows 5 years ago
Connor McLaughlin 3be6270b2d ByteStream: Fix atomic updates on external storage with UWP 5 years ago
Connor McLaughlin e8c16056b6 Common/FileSystem: Handle S/R modes for UWP 5 years ago
Connor McLaughlin 03ab18909a Common: Add UWP support for helper classes 5 years ago
Connor McLaughlin 53cabbb134 FileSystem: Add RenamePath() 5 years ago
Connor McLaughlin 911e9a37f1 WIN32 macro -> _WIN32 5 years ago
Connor McLaughlin 350049826f Fix a bunch of compiler warnings 5 years ago
Connor McLaughlin 46d19eeb1f Android: Allow opening/getting files relative to downloads directory 5 years ago
Connor McLaughlin d6d8d21eff Common/FileSystem: Make file functions content URI-aware 6 years ago
Connor McLaughlin e1578be20f Common/FileSystem: Add BuildRelativePath() function 6 years ago
Connor McLaughlin c71f78ffa0 FileSystem: Add 64-bit fseek/ftell wrappers 6 years ago
Albert Liu 46ff2b553d CDImage: Add support for loading PBP images 6 years ago
Connor McLaughlin 627f147a90 Support compiling for FreeBSD 6 years ago
Connor McLaughlin 322f1492b2 FileSystem: Add SanitizeFilename() overload for std::string 6 years ago
Connor McLaughlin 3ab7e140ee FileSystem: Add some overloads for FILE* 6 years ago
Connor McLaughlin cacf12c209 FileSystem: Migrate component extractors to std::string_view 6 years ago
Connor McLaughlin 61d0af30a2 FileSystem: Add read/write binary stream helpers 6 years ago
Connor McLaughlin 5875b738dc Common/FileSystem: Add a helper to get root directory list 6 years ago
Connor McLaughlin f61427017d GameList: Remove exe/psf extensions from titles in game list 6 years ago
Michael Forney 4bca193ee1 FileSystem: Include <limits.h> for PATH_MAX 6 years ago
Michael Forney 7a40a843d4 Common/FileSystem: Fix misspelling of 'separator' 6 years ago
Michael Forney d0398c8a83 Common/FileSystem: Fix canonicalization of paths beginning with `./`
If we don't skip past the following separator when the destination
is empty, then `./file` gets canonicalized as `/file`.

Also, consider the case where we end up with an empty string (for
example, from `foo/..`). Canonicalize this as `.`.
6 years ago
Connor McLaughlin f21d901cf1 Common/FileSystem: Fix macOS build 6 years ago
Connor McLaughlin 744629e9a8 Common/FileSystem: Fix modification time not being set in find
Fixes game list list always re-scanning on Linux/Android.
6 years ago
Connor McLaughlin 4a482875ca Common/FileSystem: Add helpers for ByteStream 6 years ago
Connor McLaughlin 6624660b0d Common/FileSystem: Fix a compile error on macOS 6 years ago
C.W. Betts 152ccd5917 Fix stat64 failure on Apple Silicon: just use the (not deprecated on OS X) stat (which is 64-bit since 10.6 via linking trickery, and always 64-bit on 64-bit OSes). 6 years ago
Connor McLaughlin f1086b18f9 FileSystem: Remove heap allocations from FileExists/DirectoryExists 6 years ago
Connor McLaughlin cd0199a07a FileSystem: Fix size being unfilled on Linux
Fixes BIOS detection.
6 years ago