From: John L. <jr...@us...> - 2007-12-13 00:48:22
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15370/wxLua/docs Modified Files: changelog.txt Log Message: * Allowed using wxObject:DynamicCast() on an object and be able to use the object as both types. The problem was that wxEvent:GetEventObject() returned a wxObject which overwrote the wxWindow (perhaps) that you had as a userdata in Lua already. Additionally, if you delete an object all of the userdata that wrap it have their metatables cleared for safety. Functions renamed since they didn't do the same thing or behave the same. wxluaO_istrackedobject -> wxluaO_isgcobject wxluaO_addtrackedobject -> wxluaO_addgcobject wxluaO_removetrackedobject -> wxluaO_deletegcobject - Created a central luauserdata:delete() function for the bindings to reduce code. wxLua_wxluabind_delete(L) wxLuaStackDialog: You can expand both key and values of a table and more information is provided about items wxLua knows about. Index: changelog.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/changelog.txt,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** changelog.txt 10 Dec 2007 05:39:05 -0000 1.51 --- changelog.txt 13 Dec 2007 00:47:48 -0000 1.52 *************** *** 19,23 **** - wxLuaStackDialog has better search for all columns, collapse and expand tables, and show metatables. It also now uses a virtual wxListCtrl so ! it's much faster. - Separated the "tags" for C++ classes from "refs" for objects we want a handle on in the Lua registry by putting them in separate tables. --- 19,24 ---- - wxLuaStackDialog has better search for all columns, collapse and expand tables, and show metatables. It also now uses a virtual wxListCtrl so ! it's much faster. You can expand both key and values of a table and ! more information is provided about items wxLua knows about. - Separated the "tags" for C++ classes from "refs" for objects we want a handle on in the Lua registry by putting them in separate tables. *************** *** 41,45 **** lua_setfenv may crash if called over an invalid object. - Made the garbage collector more aggressive since we push void* pointers ! but the data behind them may be quite large. Unfortunately there is no mechanism to give a size hint to Lua without modifying Lua. lua_gc(L, LUA_GCSETPAUSE, 120); lua_gc(L, LUA_GCSETSTEPMUL, 400); --- 42,46 ---- lua_setfenv may crash if called over an invalid object. - Made the garbage collector more aggressive since we push void* pointers ! but the data behind them may be quite large. Unfortunately there is no mechanism to give a size hint to Lua without modifying Lua. lua_gc(L, LUA_GCSETPAUSE, 120); lua_gc(L, LUA_GCSETSTEPMUL, 400); *************** *** 47,50 **** --- 48,66 ---- wxArtProviders in Lua. + * Allowed using wxObject:DynamicCast() on an object and be able to use the + object as both types. The problem was that wxEvent:GetEventObject() + returned a wxObject which overwrote the wxWindow (perhaps) that you had as + a userdata in Lua already. + Additionally, if you delete an object all of the userdata that wrap it + have their metatables cleared for safety. + + Functions renamed since they didn't do the same thing or behave the same. + wxluaO_istrackedobject -> wxluaO_isgcobject + wxluaO_addtrackedobject -> wxluaO_addgcobject + wxluaO_removetrackedobject -> wxluaO_deletegcobject + + - Created a central luauserdata:delete() function for the bindings to reduce + code. wxLua_wxluabind_delete(L) + version 2.8.4.2 -------------------------------------------------------------------- |