summaryrefslogtreecommitdiffstats
path: root/src/common/file_util.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-05-21Common: Make recursive FileUtil functions take a maximum recursionEmmanuel Gil Peyrot1-20/+28
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-15fix driver root identification on Windowswwylele1-3/+12
2016-04-14file_util: In-class initialize data membersLioncash1-4/+2
2016-04-14file_util: const qualify IOFile's Tell and GetSize functionsLioncash1-6/+6
2016-04-14file_util: Don't expose IOFile internals through the APILioncash1-22/+3
2016-03-31remove debug codeLFsWang1-1/+1
2016-03-31fix unicode url problem on windowsLFsWang1-6/+18
2016-03-31Fix encode problem On WindowsLFsWang1-12/+17
2016-01-16DiskDirectory: Initialize the directory member with valid info.Subv1-1/+1
2015-12-23Add missing return values in ForeachDirectoryEntryLFsWang1-4/+14
ForeachDirectoryEntry is changed by #1256 ,but return value at last line was missing.
2015-11-27Refactor ScanDirectoryTreeAndCallback to separate errors and retvalsarchshift1-37/+35
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-01Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behaviorarchshift1-100/+60
Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally.
2015-09-16general: Silence some warnings when using clangLioncash1-2/+2
2015-06-28Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot1-2/+9
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-1/+1
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-2/+4
2015-05-07Common: Move IO-specific compatibility macros to file_util.cppYuri Kunde Schlesner1-18/+26
2015-05-07Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner1-2/+2
2015-02-25Common: Switch to the XDG Base Directory Specification for directory selection.Emmanuel Gil Peyrot1-9/+68
This allows for easily movable and independent configuration and data directories, using standardized paths.
2015-02-20Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.Emmanuel Gil Peyrot1-7/+7
2015-01-04Archives: Changed the way paths are built for the archives.Subv1-10/+2
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-03Archives: Change the folder layout of some archives.Subv1-0/+2
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-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv1-0/+2
Fixed a few warnings and cleaned up the code
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv1-0/+2
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-21License changepurpasmart961-2/+2
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv1-0/+2
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-18Filesystem/Archives: Implemented the SaveData archiveSubv1-0/+2
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-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-42/+42
2014-12-12Common: Add "sysdata" to GetUserPath and cleanup.bunnei1-13/+1
2014-12-03Change NULLs to nullptrs.Rohit Nirmal1-12/+12
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-31/+31
2014-10-23Use std sized types instead of platform specific typedefsYuri Kunde Schlesner1-0/+1
2014-10-23Common: Return from CreateFullPath early if the directory creation failsarchshift1-2/+4
2014-10-08Added configuration file system.archshift1-36/+36
Uses QSettings on citra-qt, and inih on citra-cli.
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot1-0/+42
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-09-28Fix warnings in core and commonLioncash1-2/+2
2014-09-21Use the citra user path for the sdmc directoryarchshift1-0/+2
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot1-19/+19
2014-09-09common: Prune all redundant includesarchshift1-7/+0
2014-09-09Added string_util to common, small changes in loader.cpparchshift1-13/+13
2014-08-17Common: Move remaining C header includes over to their C++ equivalentLioncash1-2/+2
2014-04-23fixes to build on linuxbunnei1-1/+1
2014-04-09fixed project includes to use new directory structurebunnei1-5/+5
2014-04-09got rid of 'src' folders in each sub-projectbunnei1-0/+0
2014-04-02convert tabs to spacesbunnei1-572/+572
2013-09-09fixed some code warningsShizZy1-1/+1
2013-09-09 removed unneeded dolphin paths code, fixed linker problems with common.libShizZy1-117/+105
2013-09-05replaced common code with dolphin commonShizZy1-0/+922