From: John L. <jr...@us...> - 2009-10-05 02:51:41
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/include In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10796/wxLua/modules/wxluadebug/include Modified Files: wxldebug.h wxlstack.h Log Message: Add a few more wxDateTime member functions. Speedup check for wxSpinEvent vs wxScrollEvent in wxLuaEventCallback::OnEvent() Reorder list of lightuserdata keys for LUA_REGISTRYINDEX in wxlstate.h Cleanup in wxLuaStackDialog, remove EnumerateGlobalData() and just treat is as a regular table. Fix ignoring events for controls in controls.wx.lua Index: wxldebug.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxldebug.h,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** wxldebug.h 22 Dec 2007 06:07:16 -0000 1.50 --- wxldebug.h 5 Oct 2009 02:51:29 -0000 1.51 *************** *** 138,143 **** // table then add a reference to it in the references array int EnumerateStackEntry(const wxLuaState& wxlState, int stack_frame, wxArrayInt& references); ! // fill this with the name and value of items in a table at the given reference, ! // if the table has a sub table then add a reference to it to the references array int EnumerateTable(const wxLuaState& wxlState, int nRef, int nEntry, wxArrayInt& references); --- 138,145 ---- // table then add a reference to it in the references array int EnumerateStackEntry(const wxLuaState& wxlState, int stack_frame, wxArrayInt& references); ! // Fill this with the name and value of items in a table at the given reference ! // in the wxlua_lreg_debug_refs_key in the LUA_REGISTRYINDEX. ! // nRef may also be LUA_GLOBALSINDEX and LUA_REGISTRYINDEX. ! // If the table has a sub table then add a reference to it to the references array. int EnumerateTable(const wxLuaState& wxlState, int nRef, int nEntry, wxArrayInt& references); Index: wxlstack.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxlstack.h,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** wxlstack.h 22 Dec 2007 06:07:16 -0000 1.18 --- wxlstack.h 5 Oct 2009 02:51:29 -0000 1.19 *************** *** 78,86 **** wxLuaDebugItem* GetDebugItem() { return m_parentDebugData.Item(m_item_idx); } ! int m_item_idx; ! int m_level; ! wxLuaDebugData m_parentDebugData; ! wxLuaDebugData m_childrenDebugData; ! wxTreeItemId m_treeId; }; --- 78,86 ---- wxLuaDebugItem* GetDebugItem() { return m_parentDebugData.Item(m_item_idx); } ! int m_item_idx; // this item # in m_parentDebugData ! int m_level; // depth into the Lua tables ! wxLuaDebugData m_parentDebugData; // ref of parent's data ! wxLuaDebugData m_childrenDebugData; // valid if this item has children, e.g. a table ! wxTreeItemId m_treeId; // valid if this item is in the treectrl, e.g. a table }; *************** *** 152,156 **** LIST_COL_KEY_TYPE, LIST_COL_VALUE_TYPE, ! LIST_COL_VALUE }; --- 152,158 ---- LIST_COL_KEY_TYPE, LIST_COL_VALUE_TYPE, ! LIST_COL_VALUE, ! ! LIST_COL__MAX }; *************** *** 168,172 **** virtual void EnumerateStackEntry(int nEntry); virtual void EnumerateTable(int nRef, int nEntry, long lc_item); - virtual void EnumerateGlobalData(long lc_item); // Fill the combobox with the stack entries in the debug data and select --- 170,173 ---- |