Commit Graph

107 Commits (1e839224e8202dc5a094594bd697fb27f253285f)

Author SHA1 Message Date
Stenzek 2e6deca76f
FileSystem: Don't use POSIX locks on Android
Requires SDK 24, and it's pointless anyway.
2 years ago
Stenzek c9c4307871
FileSystem: Android build fix 2 years ago
Stenzek 04e472d088
FileSystem: Add non-blocking option to POSIXLock 2 years ago
Stenzek d93c713fb7
FileSystem: Make POSIXLock moveable 2 years ago
Stenzek aafc029682
Misc: Un-namespace Timer 2 years ago
Stenzek 57d3aa4850
FileSystem: Add Error parameter to StatFile() 2 years ago
Stenzek 1434507b41
FileSystem: Add span overload for WriteBinaryFile()
And normalize filename -> path parameter names.
2 years ago
Stenzek ccc3b114d4
FileSystem: Slight ifdef tidy-ups 2 years ago
Stenzek 3dca598063
Log: Switch to enum class
Need to change the channel to a bitset too.. the string lookups are
horribly slow, and conflict when one is a prefix of another.
2 years ago
Stenzek 87eded4bce
FileSystem: Fix FD leak with atomic updated file on Linux
Also add the ability to explicitly commit and check for errors.
2 years ago
Stenzek 6d0f92d4fb
dep/fmt: Bump to v11.0.2 2 years ago
Stenzek 7f4e5d55db
Misc: Update copyright headers 2 years ago
Stenzek 707453b596
FileSystem: Swap vector for DynamicHeapArray
No point zeroing it out.
2 years ago
Stenzek 8ad133dbc0
FileSystem: Fix crash on file open fail in WriteAtomicRenamedFile() 2 years ago
Stenzek 81295c8a7d
FileSystem: Correctly use lstat() on Linux 2 years ago
Stenzek 3a83c4265c
Misc: Fix a bunch of code analysis warnings
Some of which were even actual errors.
2 years ago
Stenzek c83b5fdd05
FileSystem: Add AtomicRenamedFile 2 years ago
Stenzek 40356fc381
FileSystem: Remove unnecessary checks 2 years ago
Stenzek 0815aedca2
FileSystem: Drop use of stat64()
We define _FILE_OFFSET_BITS on 32-bit Linux anyway.
2 years ago
Stenzek 41e15539f9
FileSystem: Add Error parameter to more functions 2 years ago
Stenzek ec851c9d6d
FileSystem: Add FTruncate64() 2 years ago
Stenzek eba0794b4f
FileSystem: Add Error to file writing 2 years ago
Stenzek 7927ec647f
Qt: Fix a couple of instances of inconsistent sorting 2 years ago
Stenzek 4e922a34a7
Log: Simplify macros 2 years ago
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2 years ago
Stenzek ca3cfbaa99
Misc: Pass string_view by value 2 years ago
Stenzek 1cdfca155d
Qt: Clean and remove empty game settings 2 years ago
Stenzek e2d87f554b
FileSystem: Canonicalize() after RealPath() 2 years ago
Stenzek eb504143c1
FileSystem: Add Error to CreateDirectory()/RenamePath() 3 years ago
Stenzek 979b7bd36f
FileSystem: Use PathCchCanonicalizeEx() for GetWin32Path() 3 years ago
Stenzek ab445ec69d
FileSystem: Handle paths longer than MAX_PATH on Windows 3 years ago
Stenzek 43eb6e20fa
System: Improve screenshot naming 3 years ago
Stenzek 9211d9f2e3
Path: Add CreateFileURL() 3 years ago
Stenzek ecd8d97f72
FileSystem: Handle infinite symlink loops in FindFiles() 3 years ago
Stenzek 524625269f
Path: Add RealPath() 3 years ago
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