Update of /cvsroot/wpdev/wolfpack/win
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25472/win
Modified Files:
console_win.cpp
Log Message:
fixed possible bug with python interface ( possibly source of crashing bugs )
Added Py_RETURN_NONE/TRUE/FALSE as in Python 2.4
added status on MySQL/SQLite modules.
Index: console_win.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/win/console_win.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** console_win.cpp 15 Jun 2004 02:44:47 -0000 1.22
--- console_win.cpp 20 Jul 2004 04:40:52 -0000 1.23
***************
*** 218,226 ****
pythonBuild = pythonBuild.left( pythonBuild.find( ' ' ) );
! #if defined(Py_ENABLE_SHARED)
credits += QString( "Python: %1 Shared (Compiled: %2)\n" ).arg( pythonBuild ).arg( PY_VERSION );
! #else
credits += QString( "Python: %1 Static (Compiled: %2)\n" ).arg( pythonBuild ).arg( PY_VERSION );
! #endif
cr.cpMin = GetWindowTextLength( richtext );
--- 218,232 ----
pythonBuild = pythonBuild.left( pythonBuild.find( ' ' ) );
! #if defined(Py_ENABLE_SHARED)
credits += QString( "Python: %1 Shared (Compiled: %2)\n" ).arg( pythonBuild ).arg( PY_VERSION );
! #else
credits += QString( "Python: %1 Static (Compiled: %2)\n" ).arg( pythonBuild ).arg( PY_VERSION );
! #endif
! credits += "SQLite Support: enabled\n";
! #if defined (MYSQL_DRIVER)
! credits += "MySQL Support.: enabled\n";
! #else
! credits += "MySQL Support.: disabled\n";
! #endif
cr.cpMin = GetWindowTextLength( richtext );
***************
*** 779,783 ****
char message[512];
! unsigned int msecs, seconds, minutes, hours, days;
days = Server::instance()->time() / 86400000;
hours = ( Server::instance()->time() % 86400000 ) / 3600000;
--- 785,789 ----
char message[512];
! unsigned int seconds, minutes, hours, days;
days = Server::instance()->time() / 86400000;
hours = ( Server::instance()->time() % 86400000 ) / 3600000;
|