Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22233/wxLua/modules/wxluadebug/src
Modified Files:
wxldebug.cpp wxlstack.cpp
Log Message:
Add wxShutdown()
Rename lua -> Lua
Index: wxlstack.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxlstack.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** wxlstack.cpp 26 Jul 2007 18:56:39 -0000 1.13
--- wxlstack.cpp 7 Aug 2007 20:23:26 -0000 1.14
***************
*** 1,5 ****
/////////////////////////////////////////////////////////////////////////////
// Name: StackTree.cpp
! // Purpose: Display the lua stack in a dialog.
// Author: J. Winwood, John Labenski
// Created: February 2002
--- 1,5 ----
/////////////////////////////////////////////////////////////////////////////
// Name: StackTree.cpp
! // Purpose: Display the Lua stack in a dialog.
// Author: J. Winwood, John Labenski
// Created: February 2002
***************
*** 136,140 ****
wxDefaultPosition, wxDefaultSize,
0, NULL, 0, wxDefaultValidator ); // help GCC find which fn to call
! m_stackChoice->SetToolTip(wxT("Select lua stack to display."));
wxButton* expandButton = new wxButton(panel, ID_WXLUA_STACK_EXPAND_BUTTON,
--- 136,140 ----
wxDefaultPosition, wxDefaultSize,
0, NULL, 0, wxDefaultValidator ); // help GCC find which fn to call
! m_stackChoice->SetToolTip(wxT("Select Lua stack to display."));
wxButton* expandButton = new wxButton(panel, ID_WXLUA_STACK_EXPAND_BUTTON,
***************
*** 1026,1030 ****
m_luaReferences.RemoveAt(idx);
else
! wxPrintf(wxT("Missing lua reference in listctrl #%d ok %d ref %d count %d idx %d\n"), i, ok, debugItem->GetReference(), m_luaReferences.GetCount(), idx);
}
}
--- 1026,1030 ----
m_luaReferences.RemoveAt(idx);
else
! wxPrintf(wxT("Missing Lua reference in listctrl #%d ok %d ref %d count %d idx %d\n"), i, ok, debugItem->GetReference(), m_luaReferences.GetCount(), idx);
}
}
***************
*** 1034,1039 ****
{
bool ok = m_wxlState.tremove(m_luaReferences[i]);
! wxCHECK_RET(ok, wxT("Unable to remove a reference in lua"));
! //wxPrintf(wxT("Extra lua reference in listctrl #%d ok %d ref %d count %d\n"), i, ok, m_luaReferences[i], m_luaReferences.GetCount());
}
--- 1034,1039 ----
{
bool ok = m_wxlState.tremove(m_luaReferences[i]);
! wxCHECK_RET(ok, wxT("Unable to remove a reference in Lua"));
! //wxPrintf(wxT("Extra Lua reference in listctrl #%d ok %d ref %d count %d\n"), i, ok, m_luaReferences[i], m_luaReferences.GetCount());
}
Index: wxldebug.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxldebug.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** wxldebug.cpp 3 Aug 2007 22:17:17 -0000 1.42
--- wxldebug.cpp 7 Aug 2007 20:23:26 -0000 1.43
***************
*** 80,84 ****
m_refData = new wxLuaDebugDataRefData;
! // Sanity check to make sure that lua hasn't changed the items on us
wxCHECK_RET((WXLUA_DEBUGITEM_TNONE == WXLUA_DEBUGITEM_T_SHIFT + LUA_TNONE) ||
(WXLUA_DEBUGITEM_TNIL == WXLUA_DEBUGITEM_T_SHIFT + LUA_TNIL) ||
--- 80,84 ----
m_refData = new wxLuaDebugDataRefData;
! // Sanity check to make sure that Lua hasn't changed the items on us
wxCHECK_RET((WXLUA_DEBUGITEM_TNONE == WXLUA_DEBUGITEM_T_SHIFT + LUA_TNONE) ||
(WXLUA_DEBUGITEM_TNIL == WXLUA_DEBUGITEM_T_SHIFT + LUA_TNIL) ||
|