From: John L. <jr...@us...> - 2006-12-08 23:12:18
|
Update of /cvsroot/wxlua/wxLua/docs In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16116/wxLua/docs Modified Files: install.html wxlua.html Log Message: update docs for not having to define the WXLUA_LUA_NEWTHREAD HANDLER Index: wxlua.html =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/wxlua.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** wxlua.html 7 Dec 2006 22:05:53 -0000 1.9 --- wxlua.html 8 Dec 2006 23:12:15 -0000 1.10 *************** *** 64,69 **** <ul> ! <li>wxLua maintains it's own version of lua 5.1 that is ! slightly modified to track the creation of coroutines.</li> <li>Any program that works using the official --- 64,68 ---- <ul> ! <li>wxLua uses an unmodified copy of lua 5.1.</li> <li>Any program that works using the official *************** *** 1162,1166 **** <li>The editor is run if no parameters are given.</li> ! <li>Note that the switches -c, -q, -e must be specified before -d, -o, -r</li> --- 1161,1167 ---- <li>The editor is run if no parameters are given.</li> ! <li>Note that the switches -c (print console), -q (don't ! quit if no top level window open), -e (execute lua code) must be ! specified before -d, -o, -r</li> *************** *** 1173,1176 **** --- 1174,1187 ---- program name are pushed into the lua as a table named 'arg'.</li> + <ul> + + <li><i>wxLua editor.wx.lua</i> is the same as + just running <i>wxLua</i> itself. You can run the + editor this way to customize it, but please don't forget to + post any enhancements to the wxlua-users mailing list so they can be + incorporated back into wxLua.</li> + + </ul> + <li>If you want to run a program or provide arguments to your lua program that use -X or /X semantics you need to use *************** *** 1332,1348 **** <ul> ! <li>The source code of lua itself. It is basically the original ! source for the version used with as few modifications made as ! possible. </li> ! ! <li>One of the changes made was to add a hook to intercept ! the creation of coroutine lua_States, see lstate.c. In order for the ! wxLuaState to use this hook (internally, you need not worry about it) ! you must define in your compiler <i>WXLUA_LUA_NEWTHREAD</i> ! by typically adding the directive -DWXLUA_LUA_NEWTHREAD. Without this ! define coroutines cannot find the data associated with the lua_State ! and therefore cannot have any wxWidgets classes. You may perhaps be ! able to use pure lua code in coroutines however.</li> </ul> --- 1343,1350 ---- <ul> ! <li>The source code of lua itself. It is the original ! source for the version, with some of the header files copied to the ! include directory for the installation routines. </li> </ul> *************** *** 1449,1453 **** the same way as a wxBitmap, wxPen, or any of the other wxObject derived classes that make ! use of it's ref counting. What this means for wxLua is that instead of keeping pointers to the lua_State you have instances of the wxLuaState, there is a slight overhead for this, but it is minimal. --- 1451,1456 ---- the same way as a wxBitmap, wxPen, or any of the other wxObject derived classes that make ! use of it's ref counting mechanism. What this means for wxLua is that ! instead of keeping pointers to the lua_State you have instances of the wxLuaState, there is a slight overhead for this, but it is minimal. *************** *** 1458,1462 **** things can get out of order. Care must be taken for pushed event handlers from lua because if the lua_State is closed, but the window ! hasn't been deleted just yet... So it's best to have a way to check and the wxLuaState wraps this all up.<br> --- 1461,1465 ---- things can get out of order. Care must be taken for pushed event handlers from lua because if the lua_State is closed, but the window ! hasn't been deleted just yet... It's best to have a way to check and the wxLuaState wraps this all up.<br> Index: install.html =================================================================== RCS file: /cvsroot/wxlua/wxLua/docs/install.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** install.html 10 Mar 2006 07:16:52 -0000 1.10 --- install.html 8 Dec 2006 23:12:15 -0000 1.11 *************** *** 3,48 **** <head> - - - - - - - - [...2515 lines suppressed...] ! <span style="font-family: monospace;">msw</span>, <span style="font-family: monospace;">x11</span>, etc; <span style="font-family: monospace;">WXLIBPOSTFIX </span>can ! be <span style="font-family: monospace;">u</span>, <span style="font-family: monospace;">d</span>, <span style="font-family: monospace;">ud</span>.<br> <br> <span style="font-weight: bold;">NOTE</span>: many ! linkers actually link libraries in the opposite order in which they ! appear on the command line.<br> <br> </div> <br> <hr style="width: 100%; height: 2px;"><br> $Id$ </body> |