Changed RageFileManager to use the StripMacResourceForks function that already existed in RageUtil. Updated changelog.
This commit is contained in:
@@ -16,6 +16,10 @@ Example:
|
|||||||
This means that three strings were added to the "ScreenDebugOverlay" section,
|
This means that three strings were added to the "ScreenDebugOverlay" section,
|
||||||
"Mute actions", "Mute actions on", and "Mute actions off".
|
"Mute actions", "Mute actions on", and "Mute actions off".
|
||||||
|
|
||||||
|
2016/01/18
|
||||||
|
----------
|
||||||
|
* [ScreenEdit] Clear timing in region
|
||||||
|
|
||||||
2015/10/02
|
2015/10/02
|
||||||
----------
|
----------
|
||||||
* [ScreenEdit] save_success_no_sm_split_timing
|
* [ScreenEdit] save_success_no_sm_split_timing
|
||||||
|
|||||||
@@ -4,6 +4,41 @@ The StepMania 5 Changelog covers all post-sm-ssc changes. For a list of changes
|
|||||||
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
from StepMania 4 alpha 5 to sm-ssc v1.2.5, see Changelog_sm-ssc.txt.
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
|
|
||||||
|
2016/01/18
|
||||||
|
----------
|
||||||
|
* [Edit Mode] Added "Clear timing in region" to timing menu. [kyzentun]
|
||||||
|
Fixed crash that occurs when "Paste timing data" is used after copying a
|
||||||
|
region of timing data that only contains stops. [kyzentun]
|
||||||
|
|
||||||
|
2016/01/14
|
||||||
|
----------
|
||||||
|
* [Gameplay] Added pause menu to default theme. Activated by pressing Start,
|
||||||
|
Select, or Back twice without pressing something else. Has options for
|
||||||
|
restarting or forfeiting the current song in normal play. Course mode has
|
||||||
|
options for skipping the current song or ending the course or forfeiting.
|
||||||
|
[kyzentun]
|
||||||
|
* [Graphics] When fetching the list of resolutions, only 32bpp modes are
|
||||||
|
tested because less than 32bpp is not supported on Windows 8 and newer, and
|
||||||
|
because the bpp doesn't matter when fetching a list of resolutions. This
|
||||||
|
speeds up the load time of the Graphics/Sound option screen. [kyzentun]
|
||||||
|
|
||||||
|
2016/01/10
|
||||||
|
----------
|
||||||
|
* [RageFile] Lua functions for RageFile should now emit an error when the
|
||||||
|
file was not opened correctly instead of crashing. [kyzentun]
|
||||||
|
|
||||||
|
2016/01/05
|
||||||
|
----------
|
||||||
|
* [Linux] Disable DPMS on startup and restore setting on exit. [kyzentun]
|
||||||
|
|
||||||
|
2015/12/27
|
||||||
|
----------
|
||||||
|
* [RageFileManager] Ignore OS X special files in GetDirListing. [kyzentun]
|
||||||
|
|
||||||
|
2015/12/20
|
||||||
|
----------
|
||||||
|
* [Fonts] Fixed crash bug in Texture Font Generator. [drewbarbs]
|
||||||
|
|
||||||
2015/12/16
|
2015/12/16
|
||||||
----------
|
----------
|
||||||
* [Player] ChangeLife and SetLife functions added. [kyzentun]
|
* [Player] ChangeLife and SetLife functions added. [kyzentun]
|
||||||
|
|||||||
+1
-13
@@ -434,19 +434,7 @@ void RageFileManager::GetDirListing( const RString &sPath_, vector<RString> &Add
|
|||||||
|
|
||||||
// Remove files that start with ._ from the list because these are special
|
// Remove files that start with ._ from the list because these are special
|
||||||
// OS X files that cause interference on other platforms. -Kyz
|
// OS X files that cause interference on other platforms. -Kyz
|
||||||
for(size_t i= iOldSize; i < AddTo.size(); ++i)
|
StripMacResourceForks(AddTo);
|
||||||
{
|
|
||||||
size_t last_slash= AddTo[i].rfind('/');
|
|
||||||
last_slash= (last_slash == string::npos) ? 0 : (last_slash+1);
|
|
||||||
if(last_slash < AddTo[i].size() - 1)
|
|
||||||
{
|
|
||||||
if(AddTo[i][last_slash] == '.' && AddTo[i][last_slash+1] == '_')
|
|
||||||
{
|
|
||||||
AddTo.erase(AddTo.begin() + i);
|
|
||||||
--i;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if( iDriversThatReturnedFiles > 1 )
|
if( iDriversThatReturnedFiles > 1 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user