From: John L. <jr...@us...> - 2006-09-15 00:11:00
|
Update of /cvsroot/wxlua/wxLua/samples In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv23109/wxLua/samples Modified Files: editor.wx.lua Log Message: rename EVT_WXLUA_DEBUG_XXX to EVT_WXLUA_DEBUGGER since that's what they apply to rename wxEVT_WXLUA_DEBUG_XXX to wxEVT_WXLUA_DEBUGGER_XXX wxLuaDebugEvent renamed to wxLuaDebuggerEvent rename wxLUASOCKET_DEBUG_EVENT_XXX to wxLUASOCKET_DEBUGGEE_EVENT_XXX rename wxLUASOCKET_DEBUG_CMD_XXX to wxLUASOCKET_DEBUGGER_CMD_XXX make all wxLuaSocketBase::ReadXXX functions return bool for success checking rename wxLuaDebugServer to wxLuaDebuggerServer Index: editor.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/editor.wx.lua,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** editor.wx.lua 7 Sep 2006 04:20:54 -0000 1.19 --- editor.wx.lua 15 Sep 2006 00:10:56 -0000 1.20 *************** *** 73,77 **** fHaveFound = nil -- true when string has been found editorApp = wx.wxGetApp() ! debugServer = nil -- wxLuaDebugServer object when debugging fIsRunning = nil -- true when the debuggee is running fIsConnected = nil -- true when a client has connected --- 73,77 ---- fHaveFound = nil -- true when string has been found editorApp = wx.wxGetApp() ! debugServer = nil -- wxLuaDebuggerServer object when debugging fIsRunning = nil -- true when the debuggee is running fIsConnected = nil -- true when a client has connected *************** *** 1519,1523 **** frame:Connect(ID_ATTACH_DEBUG, wx.wxEVT_COMMAND_MENU_SELECTED, function ( event ) ! debugServer = wx.wxLuaDebugServer(portNumber) if debugServer then debugServer:StartServerThread() --- 1519,1523 ---- frame:Connect(ID_ATTACH_DEBUG, wx.wxEVT_COMMAND_MENU_SELECTED, function ( event ) ! debugServer = wx.wxLuaDebuggerServer(portNumber) if debugServer then debugServer:StartServerThread() *************** *** 1563,1567 **** frame:Connect(ID_START_DEBUG, wx.wxEVT_COMMAND_MENU_SELECTED, function ( event ) ! debugServer = wx.wxLuaDebugServer(portNumber) if debugServer then debugServer:StartClient() --- 1563,1567 ---- frame:Connect(ID_START_DEBUG, wx.wxEVT_COMMAND_MENU_SELECTED, function ( event ) ! debugServer = wx.wxLuaDebuggerServer(portNumber) if debugServer then debugServer:StartClient() *************** *** 1583,1587 **** local id = editor:GetId() local filePath = makeDebugFileName(editor, openDocuments[id].filePath) ! wx.wxLuaDebugServerCompile(filePath, editorText) end) frame:Connect(ID_COMPILE, wx.wxEVT_UPDATE_UI, --- 1583,1587 ---- local id = editor:GetId() local filePath = makeDebugFileName(editor, openDocuments[id].filePath) ! wx.wxLuaDebuggerServerCompile(filePath, editorText) end) frame:Connect(ID_COMPILE, wx.wxEVT_UPDATE_UI, *************** *** 1719,1723 **** end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUG_CLIENT_CONNECTED, function (event) if debugServer then --- 1719,1723 ---- end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUGGER_CLIENT_CONNECTED, function (event) if debugServer then *************** *** 1746,1750 **** end ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUG_BREAK, function (event) if exitingProgram then return end --- 1746,1750 ---- end ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUGGER_BREAK, function (event) if exitingProgram then return end *************** *** 1821,1835 **** end ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUG_PRINT, function (event) displayOutput(event:GetMessage().."\n") end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUG_ERROR, function (event) displayOutput(event:GetMessage().."\n") end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUG_EXIT, function (event) for id, document in pairs(openDocuments) do --- 1821,1835 ---- end ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUGGER_PRINT, function (event) displayOutput(event:GetMessage().."\n") end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUGGER_ERROR, function (event) displayOutput(event:GetMessage().."\n") end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUGGER_EXIT, function (event) for id, document in pairs(openDocuments) do *************** *** 1848,1852 **** end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUG_EVALUATE_EXPR, function (event) if watchListCtrl then --- 1848,1852 ---- end) ! editorApp:Connect(wx.wxID_ANY, wx.wxEVT_WXLUA_DEBUGGER_EVALUATE_EXPR, function (event) if watchListCtrl then |