Stenzek
707453b596
FileSystem: Swap vector for DynamicHeapArray
...
No point zeroing it out.
2024-08-25 22:13:18 +10:00
Stenzek
8ad133dbc0
FileSystem: Fix crash on file open fail in WriteAtomicRenamedFile()
2024-08-09 12:36:21 +10:00
Stenzek
81295c8a7d
FileSystem: Correctly use lstat() on Linux
2024-08-06 15:52:26 +10:00
Stenzek
3a83c4265c
Misc: Fix a bunch of code analysis warnings
...
Some of which were even actual errors.
2024-08-02 23:56:07 +10:00
Stenzek
c83b5fdd05
FileSystem: Add AtomicRenamedFile
2024-07-29 17:27:32 +10:00
Stenzek
40356fc381
FileSystem: Remove unnecessary checks
2024-07-28 19:06:17 +10:00
Stenzek
0815aedca2
FileSystem: Drop use of stat64()
...
We define _FILE_OFFSET_BITS on 32-bit Linux anyway.
2024-07-19 22:25:57 +10:00
Stenzek
41e15539f9
FileSystem: Add Error parameter to more functions
2024-07-19 15:51:25 +10:00
Stenzek
ec851c9d6d
FileSystem: Add FTruncate64()
2024-07-09 21:38:38 +10:00
Stenzek
eba0794b4f
FileSystem: Add Error to file writing
2024-07-06 19:36:15 +10:00
Stenzek
7927ec647f
Qt: Fix a couple of instances of inconsistent sorting
2024-07-04 13:25:26 +10:00
Stenzek
4e922a34a7
Log: Simplify macros
2024-05-24 02:08:14 +10:00
Stenzek
b6d019db66
Misc: Replace log printf calls with fmt
2024-05-24 00:29:49 +10:00
Stenzek
ca3cfbaa99
Misc: Pass string_view by value
2024-05-05 22:28:29 +10:00
Stenzek
1cdfca155d
Qt: Clean and remove empty game settings
2024-04-25 14:02:16 +10:00
Stenzek
e2d87f554b
FileSystem: Canonicalize() after RealPath()
2024-04-11 14:44:29 +10:00
Stenzek
eb504143c1
FileSystem: Add Error to CreateDirectory()/RenamePath()
2024-03-31 15:50:13 +10:00
Stenzek
979b7bd36f
FileSystem: Use PathCchCanonicalizeEx() for GetWin32Path()
2024-03-30 00:46:38 +10:00
Stenzek
ab445ec69d
FileSystem: Handle paths longer than MAX_PATH on Windows
2024-03-29 16:23:03 +10:00
Stenzek
43eb6e20fa
System: Improve screenshot naming
2024-03-16 14:14:15 +10:00
Stenzek
9211d9f2e3
Path: Add CreateFileURL()
2024-03-16 14:10:35 +10:00
Stenzek
ecd8d97f72
FileSystem: Handle infinite symlink loops in FindFiles()
2024-01-21 00:07:32 +10:00
Stenzek
524625269f
Path: Add RealPath()
2023-12-05 16:05:27 +10:00
Stenzek
f05ff4103e
Misc: Build fixes for Android
2023-11-04 20:11:51 +10:00
Stenzek
4d2c544ca9
FileSystem: Fix DeleteDirectory() on Unix
2023-09-23 22:21:50 +10:00
Stenzek
184b0a1a52
Misc: Swap most C format strings for fmt
2023-09-23 14:14:52 +10:00
Stenzek
b217f64bcf
PostProcessing: Refactor config to use separate sections
2023-08-30 00:44:01 +10:00
Stenzek
39f64a03ee
Common: Error/FileSystem backports
2023-08-20 12:40:47 +10:00
Stenzek
a3c7449749
FileSystem: Fix POSIXLock positioning
2023-01-30 19:26:48 +10:00
Connor McLaughlin
8c7a192128
Misc: Add copyright/license statement to applicable files
...
Should've did this in the beginning.
2022-12-04 21:03:49 +10:00
Connor McLaughlin
72dfbaf6cc
Misc: Backports from PCSX2 UI
2022-10-23 14:49:44 +10:00
Connor McLaughlin
ca571f8a78
GameList: Add played time tracker
2022-10-21 21:20:21 +10:00
Connor McLaughlin
d9722516c3
GameList: Handle non-extension-suffixed urls based on content type
2022-09-18 13:24:55 +10:00
Connor McLaughlin
7bbacd2392
Misc: Remove unused code
2022-08-22 19:55:38 +10:00
Connor McLaughlin
25d2148ae4
Misc: Necessary emucore changes for Android
2022-08-05 17:05:21 +10:00
Connor McLaughlin
571a773b29
FileSystem: Fix build failure
2022-07-31 17:42:58 +10:00
Connor McLaughlin
97d5d659d3
FileSystem: Fix zeros getting stripped in path
2022-07-31 17:37:21 +10:00
Connor McLaughlin
89659db7ee
Path: Unicode handling and tests for SanitizeFileName
2022-07-30 21:46:14 +10:00
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).
2022-07-23 13:55:09 +10:00
Connor McLaughlin
d2ca454576
Sync filesystem.h/path.h
2022-07-21 17:29:57 +10:00
Connor McLaughlin
b5bf3593c4
ByteStream: Move routines from FileSystem to ByteStream
2022-07-21 17:29:57 +10:00
Connor McLaughlin
592a591b5f
FileSystem: Get rid of trailing nulls in GetWorkingDirectory()
2021-12-25 14:28:33 +10:00
Connor McLaughlin
fca4a2ec28
Common/FileSystem: Fix a couple of warnings from #2716
2021-11-10 13:18:30 +10:00
Connor McLaughlin
e45f15ef41
FileSystem: Implement StatFile/FileExists/DirectoryExists for scoped storage
2021-08-18 00:18:03 +10:00
Connor McLaughlin
3847c94a42
FileSystem: Don't treat dotfiles as hidden on Windows
2021-07-21 20:26:00 +10:00
Connor McLaughlin
3be6270b2d
ByteStream: Fix atomic updates on external storage with UWP
2021-07-11 19:05:30 +10:00
Connor McLaughlin
e8c16056b6
Common/FileSystem: Handle S/R modes for UWP
2021-07-11 19:05:08 +10:00
Connor McLaughlin
03ab18909a
Common: Add UWP support for helper classes
2021-07-11 15:20:38 +10:00
Connor McLaughlin
53cabbb134
FileSystem: Add RenamePath()
2021-07-03 16:50:51 +10:00
Connor McLaughlin
911e9a37f1
WIN32 macro -> _WIN32
2021-06-30 14:38:07 +10:00