Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								22b7e4fcf6 
								
							 
						 
						
							
							
								
								file_util: Make move constructor/assignment operator and related functions noexcept  
							
							... 
							
							
							
							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-29 18:34:09 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								324ee31fc3 
								
							 
						 
						
							
							
								
								general: Convert assertion macros over to be fmt-compatible  
							
							
							
						 
						
							2018-04-27 10:04:02 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								f4cc29c07c 
								
							 
						 
						
							
							
								
								common: Move logging macros over to new fmt-capable macros where applicable  
							
							
							
						 
						
							2018-04-26 20:09:58 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									James Rowe 
								
							 
						 
						
							
							
							
							
								
							
							
								ea88c44eb8 
								
							 
						 
						
							
							
								
								Format: Run the new clang format on everything  
							
							
							
						 
						
							2018-01-20 16:45:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wwylele 
								
							 
						 
						
							
							
							
							
								
							
							
								f1b8adf818 
								
							 
						 
						
							
							
								
								file_util: Log when using local user directory  
							
							
							
						 
						
							2017-03-11 18:31:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wwylele 
								
							 
						 
						
							
							
							
							
								
							
							
								0ca9e1d4b0 
								
							 
						 
						
							
							
								
								file_util: lower logging level for harmless cases  
							
							
							
						 
						
							2017-03-08 17:42:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									noah the goodra 
								
							 
						 
						
							
							
							
							
								
							
							
								8477e269c3 
								
							 
						 
						
							
							
								
								file_util: Fixed implicit type conversion warning ( #2503 )  
							
							
							
						 
						
							2017-01-30 20:08:00 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wwylele 
								
							 
						 
						
							
							
							
							
								
							
							
								2c0bde2fb7 
								
							 
						 
						
							
							
								
								file_util: fix missing sysdata path  
							
							
							
						 
						
							2016-12-23 22:19:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									bunnei 
								
							 
						 
						
							
							
							
							
								
							
							
								b2fcbaedf4 
								
							 
						 
						
							
							
								
								file_util: Remove unused paths.  
							
							
							
						 
						
							2016-12-21 23:29:12 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jeffrey Pfau 
								
							 
						 
						
							
							
							
							
								
							
							
								12cca651ce 
								
							 
						 
						
							
							
								
								Common: Fix gcc build on macOS  
							
							
							
						 
						
							2016-12-13 10:20:33 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									freiro 
								
							 
						 
						
							
							
							
							
								
							
							
								662d907aa7 
								
							 
						 
						
							
							
								
								WINVER definition moved to CMake and cleanup  
							
							
							
						 
						
							2016-11-30 15:47:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									freiro 
								
							 
						 
						
							
							
							
							
								
							
							
								0459aadcb5 
								
							 
						 
						
							
							
								
								Removed /user/ from path  
							
							
							
						 
						
							2016-11-26 01:00:52 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									freiro 
								
							 
						 
						
							
							
							
							
								
							
							
								f25ecd351d 
								
							 
						 
						
							
							
								
								Switch to AppData/Roaming  
							
							
							
						 
						
							2016-11-24 16:42:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									freiro 
								
							 
						 
						
							
							
							
							
								
							
							
								a3d3f96af9 
								
							 
						 
						
							
							
								
								Return by value and other fixes  
							
							
							
						 
						
							2016-11-19 15:50:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									freiro 
								
							 
						 
						
							
							
							
							
								
							
							
								92977a28a8 
								
							 
						 
						
							
							
								
								Win32 move default user folder location to AppData  
							
							
							
						 
						
							2016-11-19 15:49:52 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anthony J. Bentley 
								
							 
						 
						
							
							
							
							
								
							
							
								f78b6cd433 
								
							 
						 
						
							
							
								
								common: convert to standard stat()/fstat() interfaces  
							
							... 
							
							
							
							Most modern Unix environments use 64-bit off_t by default: OpenBSD,
FreeBSD, OS X, and Linux libc implementations such as Musl.
glibc is the lone exception; it can default to 32 bits but this is
configurable by setting _FILE_OFFSET_BITS.
Avoiding the stat64()/fstat64() interfaces is desirable because they
are nonstandard and not implemented on many systems (including
OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either
the default or trivial to set up. 
							
						 
						
							2016-10-27 23:28:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jan Beich 
								
							 
						 
						
							
							
							
							
								
							
							
								dbc84319b8 
								
							 
						 
						
							
							
								
								common: stat64 is non-standard, hide on a random Unix  
							
							... 
							
							
							
							src/common/file_util.cpp:79:19: error: variable has incomplete type 'struct stat64'
    struct stat64 file_info;
                  ^
src/common/file_util.cpp:79:12: note: forward declaration of 'stat64'
    struct stat64 file_info;
           ^
src/common/file_util.cpp:99:19: error: variable has incomplete type 'struct stat64'
    struct stat64 file_info;
                  ^
src/common/file_util.cpp:99:12: note: forward declaration of 'stat64'
    struct stat64 file_info;
           ^
src/common/file_util.cpp:342:19: error: variable has incomplete type 'struct stat64'
    struct stat64 buf;
                  ^
src/common/file_util.cpp:342:12: note: forward declaration of 'stat64'
    struct stat64 buf;
           ^
src/common/file_util.cpp:359:19: error: variable has incomplete type 'struct stat64'
    struct stat64 buf;
                  ^
src/common/file_util.cpp:359:12: note: forward declaration of 'stat64'
    struct stat64 buf;
           ^
4 errors generated. 
							
						 
						
							2016-10-27 23:28:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								32bddfa1f5 
								
							 
						 
						
							
							
								
								Remove special rules for Windows.h and library includes  
							
							
							
						 
						
							2016-09-21 00:16:33 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								fa5d9d8266 
								
							 
						 
						
							
							
								
								Use negative priorities to avoid special-casing the self-include  
							
							
							
						 
						
							2016-09-21 00:15:56 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								1138ec0d49 
								
							 
						 
						
							
							
								
								Remove empty newlines in #include blocks.  
							
							... 
							
							
							
							This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation. 
							
						 
						
							2016-09-21 11:15:47 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								1e4a5da9f4 
								
							 
						 
						
							
							
								
								Manually tweak source formatting and then re-run clang-format  
							
							
							
						 
						
							2016-09-18 21:14:25 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								628ed4376a 
								
							 
						 
						
							
							
								
								Sources: Run clang-format on everything.  
							
							
							
						 
						
							2016-09-18 09:38:01 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								721bb69d6e 
								
							 
						 
						
							
							
								
								Common: readdir_r() is deprecated, switch to readdir().  
							
							
							
						 
						
							2016-09-13 22:11:23 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								8e468474ab 
								
							 
						 
						
							
							
								
								Fix recursive scanning of directories  
							
							... 
							
							
							
							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-06-19 00:12:15 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								97e8c6c845 
								
							 
						 
						
							
							
								
								Common: Make recursive FileUtil functions take a maximum recursion  
							
							... 
							
							
							
							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-05-21 16:41:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									bunnei 
								
							 
						 
						
							
							
							
							
								
							
							
								af0f444b5a 
								
							 
						 
						
							
							
								
								Merge pull request  #1672  from wwylele/win-driver-fix  
							
							... 
							
							
							
							Fix driver root identification on Windows 
							
						 
						
							2016-04-19 17:40:13 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wwylele 
								
							 
						 
						
							
							
							
							
								
							
							
								1656473b42 
								
							 
						 
						
							
							
								
								fix driver root identification on Windows  
							
							
							
						 
						
							2016-04-15 14:50:34 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								9b38494bcd 
								
							 
						 
						
							
							
								
								file_util: In-class initialize data members  
							
							
							
						 
						
							2016-04-13 20:17:24 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								6c42d6bce9 
								
							 
						 
						
							
							
								
								file_util: const qualify IOFile's Tell and GetSize functions  
							
							
							
						 
						
							2016-04-13 20:17:23 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								dc210b6498 
								
							 
						 
						
							
							
								
								file_util: Don't expose IOFile internals through the API  
							
							
							
						 
						
							2016-04-13 20:17:17 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									LFsWang 
								
							 
						 
						
							
							
							
							
								
							
							
								26fb25e106 
								
							 
						 
						
							
							
								
								remove debug code  
							
							
							
						 
						
							2016-03-31 20:29:39 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									LFsWang 
								
							 
						 
						
							
							
							
							
								
							
							
								04990e5614 
								
							 
						 
						
							
							
								
								fix unicode url problem on windows  
							
							
							
						 
						
							2016-03-31 19:21:03 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									LFsWang 
								
							 
						 
						
							
							
							
							
								
							
							
								9ad1f457de 
								
							 
						 
						
							
							
								
								Fix encode problem On Windows  
							
							
							
						 
						
							2016-03-31 18:58:37 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Subv 
								
							 
						 
						
							
							
							
							
								
							
							
								155cba90f3 
								
							 
						 
						
							
							
								
								DiskDirectory: Initialize the directory member with valid info.  
							
							
							
						 
						
							2016-01-16 09:30:29 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									LFsWang 
								
							 
						 
						
							
							
							
							
								
							
							
								d8d9d5d916 
								
							 
						 
						
							
							
								
								Add missing return values in ForeachDirectoryEntry  
							
							... 
							
							
							
							ForeachDirectoryEntry is changed by #1256  ,but return value at last line
was missing. 
							
						 
						
							2015-12-23 16:26:38 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									archshift 
								
							 
						 
						
							
							
							
							
								
							
							
								6e66a1244e 
								
							 
						 
						
							
							
								
								Refactor ScanDirectoryTreeAndCallback to separate errors and retvals  
							
							... 
							
							
							
							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-11-27 13:33:38 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									bunnei 
								
							 
						 
						
							
							
							
							
								
							
							
								bc1663cbb8 
								
							 
						 
						
							
							
								
								Merge pull request  #1095  from archshift/game-list  
							
							... 
							
							
							
							Initial implementation of a game list 
							
						 
						
							2015-10-01 23:35:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									archshift 
								
							 
						 
						
							
							
							
							
								
							
							
								7b96bd3136 
								
							 
						 
						
							
							
								
								Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behavior  
							
							... 
							
							
							
							Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively
to use the new ScanDirectoryTreeAndCallback function internally. 
							
						 
						
							2015-09-30 21:04:47 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lioncash 
								
							 
						 
						
							
							
							
							
								
							
							
								08147474cb 
								
							 
						 
						
							
							
								
								general: Silence some warnings when using clang  
							
							
							
						 
						
							2015-09-16 08:51:53 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								8cf9eb7f43 
								
							 
						 
						
							
							
								
								Common: Fix FileUtil includes, and everything relying on those.  
							
							
							
						 
						
							2015-06-28 00:36:53 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								b1503b2020 
								
							 
						 
						
							
							
								
								Remove every trailing whitespace from the project (but externals).  
							
							
							
						 
						
							2015-05-29 21:59:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								e1fbac3ca1 
								
							 
						 
						
							
							
								
								Common: Remove common.h  
							
							
							
						 
						
							2015-05-07 15:45:22 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								f3c096951b 
								
							 
						 
						
							
							
								
								Common: Move IO-specific compatibility macros to file_util.cpp  
							
							
							
						 
						
							2015-05-07 15:45:20 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yuri Kunde Schlesner 
								
							 
						 
						
							
							
							
							
								
							
							
								bf12f270b3 
								
							 
						 
						
							
							
								
								Common: Remove many unnecessary cross-platform compatibility macros  
							
							
							
						 
						
							2015-05-06 23:50:08 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								129ad721c1 
								
							 
						 
						
							
							
								
								Common: Switch to the XDG Base Directory Specification for directory selection.  
							
							... 
							
							
							
							This allows for easily movable and independent configuration and data directories, using standardized paths. 
							
						 
						
							2015-02-25 05:27:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emmanuel Gil Peyrot 
								
							 
						 
						
							
							
							
							
								
							
							
								54d6f6c82b 
								
							 
						 
						
							
							
								
								Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.  
							
							
							
						 
						
							2015-02-20 16:54:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Subv 
								
							 
						 
						
							
							
							
							
								
							
							
								71a063f45c 
								
							 
						 
						
							
							
								
								Archives: Changed the way paths are built for the archives.  
							
							... 
							
							
							
							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 20:46:05 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Subv 
								
							 
						 
						
							
							
							
							
								
							
							
								3bc9f5509b 
								
							 
						 
						
							
							
								
								Archives: Change the folder layout of some archives.  
							
							... 
							
							
							
							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-02 21:55:13 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Subv 
								
							 
						 
						
							
							
							
							
								
							
							
								aade417b14 
								
							 
						 
						
							
							
								
								Archives: Reduced duplicate code in RomFS and SaveCheck.  
							
							... 
							
							
							
							Fixed a few warnings and cleaned up the code 
							
						 
						
							2015-01-02 21:13:54 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Subv 
								
							 
						 
						
							
							
							
							
								
							
							
								2c89d4d5cd 
								
							 
						 
						
							
							
								
								Archives: Implemented ExtSaveData and SharedExtSaveData  
							
							... 
							
							
							
							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-29 22:29:55 -05:00