summaryrefslogtreecommitdiffstats
path: root/src/common/file_util.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch to AppData/Roamingfreiro2016-11-241-1/+1
|
* Return by value and other fixesfreiro2016-11-191-1/+1
|
* Win32 move default user folder location to AppDatafreiro2016-11-191-0/+1
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-2/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-55/+63
|
* Fix recursive scanning of directoriesYuri Kunde Schlesner2016-06-191-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.
* Common: Make recursive FileUtil functions take a maximum recursionEmmanuel Gil Peyrot2016-05-211-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!
* VideoCore: Run include-what-you-use and fix most includes.Emmanuel Gil Peyrot2016-04-301-1/+1
|
* Protect use of std::is_trivially_copyable to compile with GCC 4.9LittleWhite2016-04-231-0/+4
|
* file_util: In-class initialize data membersLioncash2016-04-141-2/+2
|
* file_util: const qualify IOFile's Tell and GetSize functionsLioncash2016-04-141-2/+2
|
* file_util: Don't expose IOFile internals through the APILioncash2016-04-141-8/+1
|
* file_util: Check for is_trivially_copyableLioncash2016-04-141-3/+5
| | | | Also applies the template checks to ReadArray as well.
* file_util: Make IOFile data members privateLioncash2016-04-141-0/+1
|
* FileUtil: Missing #include, Add const to IOFile methodsMerryMage2016-04-121-6/+7
|
* Refactor ScanDirectoryTreeAndCallback to separate errors and retvalsarchshift2015-11-271-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.
* Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behaviorarchshift2015-10-011-3/+23
| | | | | Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally.
* Fix building under MinGWdarkf2015-08-181-1/+1
|
* Common: Remove the unused and commented GetThemeDir prototype from FileUtil.Emmanuel Gil Peyrot2015-07-181-3/+0
|
* FileUtil: Add a WriteObject method for writing a single, POD-type object.Tony Wasserka2015-07-131-0/+10
|
* Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot2015-06-281-2/+1
|
* Common: Remove common.hYuri Kunde Schlesner2015-05-071-1/+1
|
* Archives: Changed the way paths are built for the archives.Subv2015-01-041-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
* Archives: Change the folder layout of some archives.Subv2015-01-031-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
* Archives: Reduced duplicate code in RomFS and SaveCheck.Subv2015-01-031-0/+1
| | | | Fixed a few warnings and cleaned up the code
* Archives: Implemented ExtSaveData and SharedExtSaveDataSubv2014-12-301-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.
* License changepurpasmart962014-12-211-2/+2
|
* SaveData: Implemented the SystemSaveData archive.Subv2014-12-181-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.
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-181-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
* Common: Add "sysdata" to GetUserPath and cleanup.bunnei2014-12-121-0/+1
|
* Change NULLs to nullptrs.Rohit Nirmal2014-12-031-2/+2
|
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-191-93/+93
|
* Merge pull request #108 from archshift/configbunnei2014-10-081-7/+7
|\ | | | | Configuration files
| * Added configuration file system.archshift2014-10-081-7/+7
| | | | | | | | Uses QSettings on citra-qt, and inih on citra-cli.
* | Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot2014-10-061-0/+11
| | | | | | | | Core: Fix the SDMC Directory implementation to make blargSnes work.
* | Fix warnings in core and commonLioncash2014-09-281-3/+3
|/
* Use the citra user path for the sdmc directoryarchshift2014-09-211-0/+1
|
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-171-1/+1
|
* Common: Return the number of items read/written in IOFile’s methods instead of a boolean.Emmanuel Gil Peyrot2014-09-171-8/+20
|
* Added string_util to common, small changes in loader.cpparchshift2014-09-091-1/+1
|
* Common: Move header guards over to pragma onceLioncash2014-08-171-5/+1
| | | | Also replaced C headers with the C++ equivalent ones
* fixed project includes to use new directory structurebunnei2014-04-091-2/+2
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-091-0/+224