Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-09-15 | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 1 | -12/+13 | |
2018-08-12 | file_util: Add getter for NAND registration directory | Zach Hilman | 1 | -0/+2 | |
2018-08-09 | file_util: Use enum instead of bool for specifing path behavior | Zach Hilman | 1 | -2/+5 | |
2018-08-09 | file_util: Add platform-specific slash option to SanitizePath | Zach Hilman | 1 | -2/+3 | |
2018-08-08 | common: Convert type traits templates over to variable template versions where applicable | Lioncash | 1 | -5/+5 | |
Uses the C++17 inline variable variants | |||||
2018-08-07 | file_util: Avoid sign-conversions in WriteArray() and ReadArray() | Lioncash | 1 | -4/+8 | |
Prevents compiler warnings. | |||||
2018-08-01 | Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch | Zach Hilman | 1 | -0/+1 | |
2018-08-01 | Remove files that are not used | Zach Hilman | 1 | -0/+2 | |
2018-07-24 | VFS Regression and Accuracy Fixes (#776) | Zach Hilman | 1 | -0/+3 | |
* Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator& | |||||
2018-07-22 | file_util, vfs: Use std::string_view where applicable | Lioncash | 1 | -6/+7 | |
Avoids unnecessary construction of std::string instances where applicable. | |||||
2018-07-22 | file_util: Use a u64 to represent number of entries | Lioncash | 1 | -4/+4 | |
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away. | |||||
2018-07-21 | file_util: Use an enum class for GetUserPath() | Lioncash | 1 | -14/+13 | |
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case. | |||||
2018-07-19 | file_util: return string by const reference for GetExeDirectory() | Lioncash | 1 | -1/+1 | |
This disallows modifying the internal string buffer (which shouldn't be modified anyhow). | |||||
2018-07-19 | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 1 | -31/+35 | |
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | |||||
2018-07-08 | Revert "Virtual Filesystem (#597)" | bunnei | 1 | -32/+31 | |
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | |||||
2018-07-06 | Virtual Filesystem (#597) | Zach Hilman | 1 | -31/+32 | |
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename | |||||
2018-07-03 | Add configurable logging backends | James Rowe | 1 | -2/+9 | |
2018-04-30 | file_util: Make move constructor/assignment operator and related functions noexcept | Lioncash | 1 | -3/+3 | |
Without this, it's possible to get compilation failures in the (rare) scenario where a container is used to store a bunch of live IOFile instances, as they may be using std::move_if_noexcept under the hood. Given these definitely don't throw exceptions this is also not incorrect to add either. | |||||
2018-04-30 | file_util: Add static assertions to ReadBytes() and WriteBytes() | Lioncash | 1 | -2/+6 | |
Ensure that the actual types being passed in are trivially copyable. The internal call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char* which is always trivially copyable. | |||||
2018-04-28 | file_util: Remove compiler version checks around is_trivially_copyable() | Lioncash | 1 | -8/+0 | |
The minimum clang/GCC versions we support already support this. We can also remove is_standard_layout(), as fread and fwrite only require the type to be trivially copyable. | |||||
2018-03-26 | file_util.h: Update Comment from citra to yuzu | N00byKing | 1 | -1/+1 | |
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -1/+1 | |
2016-12-22 | file_util: Remove unused paths. | bunnei | 1 | -20/+0 | |
2016-11-24 | Switch to AppData/Roaming | freiro | 1 | -1/+1 | |
2016-11-19 | Return by value and other fixes | freiro | 1 | -1/+1 | |
2016-11-19 | Win32 move default user folder location to AppData | freiro | 1 | -0/+1 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -2/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -55/+63 | |
2016-06-19 | Fix recursive scanning of directories | Yuri Kunde Schlesner | 1 | -5/+2 | |
ForeachDirectoryEntry didn't actually do anything with the `recursive` parameter, and the corresponding callback parameter was shadowing the actual recursion counters in the user functions. | |||||
2016-05-21 | Common: Make recursive FileUtil functions take a maximum recursion | Emmanuel Gil Peyrot | 1 | -4/+8 | |
Fixes #1115. Also improves the performances of DiskArchive’s directory implementation a lot, simply by not going through the entire tree instead of just listing the first level files. Thanks to JayRoxFox for rebasing this on current master! | |||||
2016-04-30 | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2016-04-23 | Protect use of std::is_trivially_copyable to compile with GCC 4.9 | LittleWhite | 1 | -0/+4 | |
2016-04-14 | file_util: In-class initialize data members | Lioncash | 1 | -2/+2 | |
2016-04-14 | file_util: const qualify IOFile's Tell and GetSize functions | Lioncash | 1 | -2/+2 | |
2016-04-14 | file_util: Don't expose IOFile internals through the API | Lioncash | 1 | -8/+1 | |
2016-04-14 | file_util: Check for is_trivially_copyable | Lioncash | 1 | -3/+5 | |
Also applies the template checks to ReadArray as well. | |||||
2016-04-14 | file_util: Make IOFile data members private | Lioncash | 1 | -0/+1 | |
2016-04-12 | FileUtil: Missing #include, Add const to IOFile methods | MerryMage | 1 | -6/+7 | |
2015-11-27 | Refactor ScanDirectoryTreeAndCallback to separate errors and retvals | archshift | 1 | -13/+18 | |
ScanDirectoryTreeAndCallback, before this change, coupled error/return codes and actual return values (number of entries found). This caused confusion and difficulty interpreting the precise way the function worked. Supersedes, and closes #1255. | |||||
2015-10-01 | Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behavior | archshift | 1 | -3/+23 | |
Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally. | |||||
2015-08-18 | Fix building under MinGW | darkf | 1 | -1/+1 | |
2015-07-18 | Common: Remove the unused and commented GetThemeDir prototype from FileUtil. | Emmanuel Gil Peyrot | 1 | -3/+0 | |
2015-07-13 | FileUtil: Add a WriteObject method for writing a single, POD-type object. | Tony Wasserka | 1 | -0/+10 | |
2015-06-28 | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 1 | -2/+1 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-01-04 | Archives: Changed the way paths are built for the archives. | Subv | 1 | -5/+1 | |
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout | |||||
2015-01-03 | Archives: Change the folder layout of some archives. | Subv | 1 | -0/+1 | |
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW | |||||
2015-01-03 | Archives: Reduced duplicate code in RomFS and SaveCheck. | Subv | 1 | -0/+1 | |
Fixed a few warnings and cleaned up the code | |||||
2014-12-30 | Archives: Implemented ExtSaveData and SharedExtSaveData | Subv | 1 | -0/+1 | |
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded. | |||||
2014-12-21 | License change | purpasmart96 | 1 | -2/+2 | |
2014-12-18 | SaveData: Implemented the SystemSaveData archive. | Subv | 1 | -0/+1 | |
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service. | |||||
2014-12-18 | Filesystem/Archives: Implemented the SaveData archive | Subv | 1 | -0/+1 | |
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found | |||||
2014-12-12 | Common: Add "sysdata" to GetUserPath and cleanup. | bunnei | 1 | -0/+1 | |
2014-12-03 | Change NULLs to nullptrs. | Rohit Nirmal | 1 | -2/+2 | |
2014-11-19 | Remove tabs in all files except in skyeye imports and in generated GL code | Emmanuel Gil Peyrot | 1 | -93/+93 | |
2014-10-08 | Added configuration file system. | archshift | 1 | -7/+7 | |
Uses QSettings on citra-qt, and inih on citra-cli. | |||||
2014-10-06 | Common: Add a helper function to generate a 8.3 filename from a long one. | Emmanuel Gil Peyrot | 1 | -0/+11 | |
Core: Fix the SDMC Directory implementation to make blargSnes work. | |||||
2014-09-28 | Fix warnings in core and common | Lioncash | 1 | -3/+3 | |
2014-09-21 | Use the citra user path for the sdmc directory | archshift | 1 | -0/+1 | |
2014-09-17 | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2014-09-17 | Common: Return the number of items read/written in IOFile’s methods instead of a boolean. | Emmanuel Gil Peyrot | 1 | -8/+20 | |
2014-09-09 | Added string_util to common, small changes in loader.cpp | archshift | 1 | -1/+1 | |
2014-08-17 | Common: Move header guards over to pragma once | Lioncash | 1 | -5/+1 | |
Also replaced C headers with the C++ equivalent ones | |||||
2014-04-09 | fixed project includes to use new directory structure | bunnei | 1 | -2/+2 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2013-09-09 | removed unneeded dolphin paths code, fixed linker problems with common.lib | ShizZy | 1 | -13/+5 | |
2013-09-05 | replaced common code with dolphin common | ShizZy | 1 | -0/+232 | |