From: John L. <jr...@us...> - 2008-01-24 00:19:09
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv6513/wxLua/docs Modified Files: changelog.txt Log Message: * The wxLua type numbers are now generated when the first wxLuaState is created rather then when the bindings are registered into Lua. This means that each wxLua type stays the same for the life of the program no matter what bindings are installed or in what order. - The copy of the wxLuaBindingList in the wxLuaState was removed since it is no longer needed. Renamed the functions static wxLuaBinding::GetBindXXX() to FindBindXXX() since they no longer needed the extra wxLuaBindingList parameter and they had the same signature as the existing GetBindXXX() functions. - Added wxLuaState::RegisterBinding(wxLuaBinding*) function to register single bindings at a time. You may also reregister bindings, which means that their metatable functions are simple rewritten. Index: changelog.txt =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/changelog.txt,v retrieving revision 1.59 retrieving revision 1.60 diff -C2 -d -r1.59 -r1.60 *** changelog.txt 20 Jan 2008 19:23:01 -0000 1.59 --- changelog.txt 24 Jan 2008 00:19:07 -0000 1.60 *************** *** 90,95 **** The new term for the C++ objects that wxLua wraps in Lua userdata and assigns a metatable to are wxLua types. ! wxLua types < 0, the WXLUA_TXXX types, correspond to the LUA_TXXX Lua types. ! wxLua types > 0 are types from the bindings and denote a class or struct. - Most notably for people who have written their own overrides for their bindings will be that wxLuaState::PushUserTag() is now wxluaT_PushUserDataType(). --- 90,95 ---- The new term for the C++ objects that wxLua wraps in Lua userdata and assigns a metatable to are wxLua types. ! WXLUA_TXXX types < WXLUA_T_MAX correspond to the LUA_TXXX Lua types. ! wxLua types > WXLUA_T_MAX are types from the bindings and denote a class or struct. - Most notably for people who have written their own overrides for their bindings will be that wxLuaState::PushUserTag() is now wxluaT_PushUserDataType(). *************** *** 113,117 **** replaced them with the C functions wxlua_errorinfo() and wxlua_LUA_ERR_msg() respectively. ! - Added wxlua_pushargs(wxChar**, int) for a standard way to push args into Lua. - Copy Lua's print() function to print_lua() instead of simply --- 113,117 ---- replaced them with the C functions wxlua_errorinfo() and wxlua_LUA_ERR_msg() respectively. ! - Added wxlua_pushargs(wxChar**, int) for a standard way to push args into Lua. - Copy Lua's print() function to print_lua() instead of simply *************** *** 122,126 **** each wxWidgets library when --enable-wxbind* options are left in "auto" mode ! * Updated Lua to 5.1.3-rc1 - Added static bool wxLuaState::sm_wxAppMainLoop_will_run so that Lua code --- 122,126 ---- each wxWidgets library when --enable-wxbind* options are left in "auto" mode ! * Updated Lua to 5.1.3-rc1 - Added static bool wxLuaState::sm_wxAppMainLoop_will_run so that Lua code *************** *** 128,131 **** --- 128,144 ---- should call it if they create a wxLuaState and run Lua code from their wxApp:OnInit() when wxApp:IsMainLoopRunning() returns false. + See the apps for usage. + + * The wxLua type numbers are now generated when the first wxLuaState is created + rather then when the bindings are registered into Lua. This means that + each wxLua type stays the same for the life of the program no matter what + bindings are installed or in what order. + - The copy of the wxLuaBindingList in the wxLuaState was removed since it is + no longer needed. Renamed the functions static wxLuaBinding::GetBindXXX() + to FindBindXXX() since they no longer needed the extra wxLuaBindingList parameter + and they had the same signature as the existing GetBindXXX() functions. + - Added wxLuaState::RegisterBinding(wxLuaBinding*) function to register + single bindings at a time. You may also reregister bindings, which means + that their metatable functions are simple rewritten. version 2.8.4.2 |