Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15042/wxLua/modules/wxluadebug/src
Modified Files:
debug.cpp staktree.cpp
Log Message:
initialize vars in debugio.cpp
add static function in wxLuaHandler to get the global handler, deprecate global function
code cleaning
Index: debug.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/debug.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** debug.cpp 7 Jun 2005 04:17:40 -0000 1.2
--- debug.cpp 25 Nov 2005 18:52:22 -0000 1.3
***************
*** 7,11 ****
// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
! // Ray Gilbert
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
--- 7,11 ----
// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
! // Ray Gilbert
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
***************
*** 53,57 ****
// ----------------------------------------------------------------------------
! // wxLuaBuffer
// ----------------------------------------------------------------------------
--- 53,57 ----
// ----------------------------------------------------------------------------
! // wxLuaDebuggerBase
// ----------------------------------------------------------------------------
***************
*** 75,79 ****
{
SetEventType(eventType);
!
m_fHasMessage = false;
m_pDebugData = NULL;
--- 75,79 ----
{
SetEventType(eventType);
!
m_fHasMessage = false;
m_pDebugData = NULL;
***************
*** 83,97 ****
wxLuaDebugEvent::wxLuaDebugEvent(int eventType,
! int lineNumber,
const wxString &file,
bool enabledFlag)
{
SetEventType(eventType);
!
m_lineNumber = lineNumber;
m_fileName = file;
m_fHasMessage = false;
m_nReference = -1;
! m_pDebugData = NULL;
m_fEnabledFlag = enabledFlag;
}
--- 83,97 ----
wxLuaDebugEvent::wxLuaDebugEvent(int eventType,
! int lineNumber,
const wxString &file,
bool enabledFlag)
{
SetEventType(eventType);
!
m_lineNumber = lineNumber;
m_fileName = file;
m_fHasMessage = false;
m_nReference = -1;
! m_pDebugData = NULL;
m_fEnabledFlag = enabledFlag;
}
***************
*** 164,168 ****
// ----------------------------------------------------------------------------
! // wxLuaDebugDataItem
// ----------------------------------------------------------------------------
wxLuaDebugDataItem::wxLuaDebugDataItem(const wxString &itemName,
--- 164,168 ----
// ----------------------------------------------------------------------------
! // wxLuaDebugDataItem
// ----------------------------------------------------------------------------
wxLuaDebugDataItem::wxLuaDebugDataItem(const wxString &itemName,
Index: staktree.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/staktree.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** staktree.cpp 25 Nov 2005 02:43:02 -0000 1.4
--- staktree.cpp 25 Nov 2005 18:52:22 -0000 1.5
***************
*** 135,139 ****
// if (m_pServer != NULL)
! // wxGetLuaHandler().SetStackFrame(NULL);
}
--- 135,139 ----
// if (m_pServer != NULL)
! // wxLuaHandler::GetHandler().SetStackFrame(NULL);
}
***************
*** 148,152 ****
// if (m_pServer != NULL)
! // wxGetLuaHandler().SetStackFrame(this);
m_stackComboBox = new wxComboBox( this,
--- 148,152 ----
// if (m_pServer != NULL)
! // wxLuaHandler::GetHandler().SetStackFrame(this);
m_stackComboBox = new wxComboBox( this,
|