dolphin/Source/Core/DolphinWX
JosJuice 5ca3aee00a FileUtil: Add a class for Exists/IsDirectory/GetSize
Some code was calling more than one of these functions in a row
(in particular, FileUtil.cpp itself did it a lot...), which is
a waste since it's possible to call stat a single time and then
read all three values from the stat struct. This commit adds a
File::FileInfo class that calls stat once on construction and
then lets Exists/IsDirectory/GetSize be executed very quickly.

The performance improvement mostly matters for functions that
can be handling a lot of files, such as File::ScanDirectoryTree.

I've also done some cleanup in code that uses these functions.
For instance, some code had checks like !Exists() || !IsDirectory(),
which is functionally equivalent to !IsDirectory(), and some
code was using File::GetSize even though there was an IOFile
object that the code could call GetSize on.
2017-06-29 19:07:29 +02:00
..
Cheats StringUtil: Make SplitString return by value 2017-06-11 16:48:20 +02:00
Config FileUtil: Add a class for Exists/IsDirectory/GetSize 2017-06-29 19:07:29 +02:00
Debugger Don't enable Boot to Pause by default in the debugger 2017-06-23 16:05:27 +02:00
Input FileUtil: Add a class for Exists/IsDirectory/GetSize 2017-06-29 19:07:29 +02:00
ISOProperties FileUtil: Add a class for Exists/IsDirectory/GetSize 2017-06-29 19:07:29 +02:00
NetPlay DolphinWX: rename CGameListCtrl -> GameListCtrl 2017-06-23 17:25:52 -07:00
resources
AboutDolphin.cpp WX: HiDPI: AboutDolphin 2016-10-04 13:47:21 +11:00
AboutDolphin.h
AuiToolBar.h Drop Dolphin-specific patch to wxWindows 2016-09-07 15:15:09 +02:00
CMakeLists.txt CodeView: Assemble menu item added 2017-06-03 20:21:25 +01:00
ControllerConfigDiag.cpp Qt: Add controller (overview) window 2017-05-09 18:49:10 +02:00
ControllerConfigDiag.h Qt: Add controller (overview) window 2017-05-09 18:49:10 +02:00
DolphinSlider.cpp WX: HiDPI Support Framework 2016-10-04 13:47:21 +11:00
DolphinSlider.h WX: HiDPI Support Framework 2016-10-04 13:47:21 +11:00
DolphinWX.manifest Use .manifest file for apps on Windows 2017-02-10 14:18:45 -08:00
DolphinWX.rc
DolphinWX.vcxproj Remove OpenAL DLL from Externals 2017-06-27 00:06:14 -07:00
DolphinWX.vcxproj.filters Merge pull request #5408 from sepalani/assemble 2017-06-05 18:26:33 -07:00
DolphinWX.vcxproj.user msbuild: increment other version numbers to vs2017 equivalents 2017-06-03 18:20:39 -07:00
FifoPlayerDlg.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
FifoPlayerDlg.h WX: HiDPI: FifoPlayerDlg 2016-10-04 13:47:22 +11:00
Frame.cpp DolphinWX: show simple message about scanning in statusbar. 2017-06-23 17:25:53 -07:00
Frame.h WX: Add menu item to perform online update 2017-06-28 11:22:10 +02:00
FrameAui.cpp DolphinWX: show simple message about scanning in statusbar. 2017-06-23 17:25:53 -07:00
FrameTools.cpp WX: Add menu item to perform online update 2017-06-28 11:22:10 +02:00
GameListCtrl.cpp GameListCtrl: Put CACHE_REVISION in .cpp file 2017-06-27 11:27:36 +02:00
GameListCtrl.h GameListCtrl: Put CACHE_REVISION in .cpp file 2017-06-27 11:27:36 +02:00
Globals.h WX: Add menu item to perform online update 2017-06-28 11:22:10 +02:00
Info.plist.in CMake: use CMAKE_OSX_DEPLOYMENT_TARGET 2017-01-24 01:27:41 -08:00
ISOFile.cpp GameListItem: Rename m_banner to m_volume_banner 2017-06-27 21:31:37 +02:00
ISOFile.h GameListItem: Rename m_banner to m_volume_banner 2017-06-27 21:31:37 +02:00
LogConfigWindow.cpp Restore saving logger settings to .ini 2016-10-04 02:02:07 -07:00
LogConfigWindow.h Restore saving logger settings to .ini 2016-10-04 02:02:07 -07:00
LogWindow.cpp Logging: Remove duplicated code 2017-06-17 10:20:30 +02:00
LogWindow.h Logging: Remove duplicated code 2017-06-17 10:20:30 +02:00
Main.cpp DolphinWX: show simple message about scanning in statusbar. 2017-06-23 17:25:53 -07:00
Main.h DolphinWX: provide empty OnCmdLineParsed 2017-02-26 17:38:18 -08:00
MainMenuBar.cpp WX: Add menu item to perform online update 2017-06-28 11:22:10 +02:00
MainMenuBar.h WX: Add menu item to perform online update 2017-06-28 11:22:10 +02:00
MainToolBar.cpp Core: Convert State enum into an enum class 2017-02-05 08:32:23 -05:00
MainToolBar.h DolphinWX: Move common wxUpdateUIEvent functions to WxEventUtils 2016-11-06 09:02:59 -05:00
MemcardManager.cpp GCMemcard: Move memcard source files to their own directory 2017-03-14 21:55:25 -04:00
MemcardManager.h MemcardManager: Get rid of prefixed double-underscores from an identifier 2017-02-03 11:30:39 -05:00
PatchAddEdit.cpp WX: HiDPI: ISOProperties 2016-10-04 13:47:21 +11:00
PatchAddEdit.h
PostProcessingConfigDiag.cpp WX: HiDPI: VideoConfigDiag 2016-10-04 13:47:22 +11:00
PostProcessingConfigDiag.h WX: HiDPI: VideoConfigDiag 2016-10-04 13:47:22 +11:00
resource.h
SoftwareVideoConfigDialog.cpp GameConfigLoader: Add GFX Game INI translations 2017-06-03 18:13:02 +01:00
SoftwareVideoConfigDialog.h
TASInputDlg.cpp Don't translate button names 2017-05-06 16:29:10 +02:00
TASInputDlg.h TASInputDlg: Use an enum for ID constants 2017-04-03 04:29:15 -04:00
VideoConfigDiag.cpp VideoConfigDiag: Refresh VideoConfig before opening configuration dialog 2017-06-10 16:40:10 +01:00
VideoConfigDiag.h GameConfigLoader: Add GFX Game INI translations 2017-06-03 18:13:02 +01:00
WxEventUtils.cpp Core: Convert State enum into an enum class 2017-02-05 08:32:23 -05:00
WxEventUtils.h DolphinWX: Move common wxUpdateUIEvent functions to WxEventUtils 2016-11-06 09:02:59 -05:00
WxUtils.cpp WX: Replace SetIcon with SetIcons(wxIconBundle) 2016-10-04 13:47:22 +11:00
WxUtils.h WX: Replace SetIcon with SetIcons(wxIconBundle) 2016-10-04 13:47:22 +11:00