Updated makefiles, added debug symbols to SCREENMAN to check out some memory leaks
authorMark Cannon <vyhdycokio@gmail.com>
Mon, 3 Nov 2008 23:26:09 +0000 (23:26 +0000)
committerMark Cannon <vyhdycokio@gmail.com>
Mon, 3 Nov 2008 23:26:09 +0000 (23:26 +0000)
git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@536 83fadc84-e282-4d84-a09a-c4228d6ae7e5

ToDo.txt
src/Makefile.am
src/ScreenManager.cpp
src/StepMania-net2003.vcproj

index 24f83b4..653e144 100644 (file)
--- a/ToDo.txt
+++ b/ToDo.txt
@@ -1,7 +1,7 @@
 /* More-or-less in order of priority. */\r
 \r
 /* Major bug fixing */\r
--Switching modes on the main menu causes OpenITG to hang\r
+-Switching modes on the main menu causes OpenITG to hang (out-of-memory error)\r
 -Figure out what the hell's up with saving USB stats\r
 \r
 /* Minor bug fixing */\r
index daa278f..a3958ed 100755 (executable)
@@ -299,7 +299,9 @@ RageFileDriverTimeout.cpp RageFileDriverTimeout.h \
 RageFileDriverCrypt.cpp RageFileDriverCrypt.h RageFileDriverPatch.cpp RageFileDriverPatch.h
 
 Rage = $(PCRE) $(RageFile) $(RageSoundFileReaders) \
-RageBitmapTexture.cpp RageBitmapTexture.h RageDisplay.cpp RageDisplay.h RageDisplay_OGL.cpp RageDisplay_OGL.h \
+RageBitmapTexture.cpp RageBitmapTexture.h RageCryptInterface.cpp RageCryptInterface.h \
+RageCryptInterface_ITG2.cpp RageCryptInterface_ITG2.h \
+RageDisplay.cpp RageDisplay.h RageDisplay_OGL.cpp RageDisplay_OGL.h \
 RageDisplay_OGL_Extensions.cpp RageDisplay_OGL_Extensions.h \
 RageDisplay_Null.cpp RageDisplay_Null.h RageException.cpp RageException.h RageInput.cpp RageInput.h \
 RageInputDevice.cpp RageInputDevice.h RageLog.cpp RageLog.h RageMath.cpp RageMath.h \
@@ -373,7 +375,6 @@ crypto/CryptRand.cpp crypto/CryptRand.h crypto/CryptSH512.cpp crypto/CryptSH512.
 crypto/CryptSHA.cpp crypto/CryptSHA.h
 
 cryptopp = \
-ITG2CryptInterface.cpp ITG2CryptInterface.h \
 crypto51/algebra.cpp crypto51/algebra.h crypto51/algparam.cpp crypto51/algparam.h crypto51/argnames.h \
 crypto51/asn.cpp crypto51/asn.h crypto51/config.h crypto51/cryptlib.cpp crypto51/cryptlib.h crypto51/files.cpp \
 crypto51/files.h crypto51/filters.cpp crypto51/filters.h crypto51/fltrimpl.h crypto51/integer.cpp crypto51/integer.h \
index 71a6117..a9c0f3d 100755 (executable)
@@ -267,6 +267,7 @@ void ScreenManager::Input( const DeviceInput& DeviceI, const InputEventType type
 /* Just create a new screen; don't do any associated cleanup. */
 Screen* ScreenManager::MakeNewScreenInternal( const CString &sScreenName )
 {
+       LOG->Debug( "ScreenManager::MakeNewScreenInternal( %s )", sScreenName.c_str() );
        RageTimer t;
        LOG->Trace( "Loading screen name '%s'", sScreenName.c_str() );
 
@@ -287,6 +288,7 @@ Screen* ScreenManager::MakeNewScreenInternal( const CString &sScreenName )
 
 Screen* ScreenManager::MakeNewScreen( const CString &sScreenName )
 {
+       LOG->Debug( "ScreenManager::MakeNewScreen( %s )", sScreenName.c_str() );
        m_bZeroNextUpdate = true;
 
        /* By default, RageSounds handles the song timer.  When we change screens, reset this;
@@ -356,6 +358,8 @@ void ScreenManager::ClearScreenStack()
  * current screens are removed.  This is the only function that adds to m_ScreenStack. */
 void ScreenManager::SetFromNewScreen( Screen *pNewScreen, bool Stack )
 {
+       LOG->Debug( "ScreenManager::SetFromNewScreen()" );
+
        if( !Stack )
                ClearScreenStack();
 
@@ -368,6 +372,7 @@ void ScreenManager::SetFromNewScreen( Screen *pNewScreen, bool Stack )
 
 void ScreenManager::SetNewScreen( const CString &sScreenName )
 {
+       LOG->Debug( "ScreenManager::SetNewScreen( %s )", sScreenName.c_str() );
        ASSERT( sScreenName != "" );
        m_sDelayedScreen = sScreenName;
 
index b5ad017..9d742aa 100755 (executable)
@@ -2326,6 +2326,18 @@ cl /Zl /nologo /c verstub.cpp /Fo&quot;$(IntDir)&quot;\
                                RelativePath=".\RageBitmapTexture.h">\r
                        </File>\r
                        <File\r
+                               RelativePath="RageCryptInterface.cpp">\r
+                       </File>\r
+                       <File\r
+                               RelativePath="RageCryptInterface.h">\r
+                       </File>\r
+                       <File\r
+                               RelativePath="RageCryptInterface_ITG2.cpp">\r
+                       </File>\r
+                       <File\r
+                               RelativePath="RageCryptInterface_ITG2.h">\r
+                       </File>\r
+                       <File\r
                                RelativePath="RageDisplay.cpp">\r
                        </File>\r
                        <File\r
@@ -3111,12 +3123,6 @@ cl /Zl /nologo /c verstub.cpp /Fo&quot;$(IntDir)&quot;\
                                        RelativePath="crypto51\iterhash.h">\r
                                </File>\r
                                <File\r
-                                       RelativePath="ITG2CryptInterface.cpp">\r
-                               </File>\r
-                               <File\r
-                                       RelativePath="ITG2CryptInterface.h">\r
-                               </File>\r
-                               <File\r
                                        RelativePath="crypto51\misc.cpp">\r
                                </File>\r
                                <File\r