Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dynamic C functions should be created with the global table as their | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+4 |
| | | | | initial environments | ||||
* | changed macro lua_number2int for Windows (added brackets; some recent | Roberto Ierusalimschy | 2010-01-11 | 1 | -2/+3 |
| | | | | | compilers complain about the old format) + added missing definition for 'lua_number2int' in Windows case. | ||||
* | "-"-trick in C packages now accept name-v13... | Roberto Ierusalimschy | 2010-01-11 | 1 | -7/+14 |
| | |||||
* | removed old prototype for 'luaI_openlib' (which does not exist anymore) | Roberto Ierusalimschy | 2010-01-11 | 1 | -3/+1 |
| | |||||
* | better may to force recompilation when makefile changes | Roberto Ierusalimschy | 2010-01-08 | 1 | -47/+48 |
| | |||||
* | 'setobj' must assing fields one by one, to allow trick of using | Roberto Ierusalimschy | 2010-01-08 | 1 | -3/+5 |
| | | | | pad space in table keys | ||||
* | removed parentheses around some function names in their definitions | Roberto Ierusalimschy | 2010-01-08 | 1 | -3/+3 |
| | |||||
* | some changes in compatibility macros: added LUA_COMPAT_ALL + compatibility | Roberto Ierusalimschy | 2010-01-06 | 1 | -50/+43 |
| | | | | macros from lua.h and lauxlib.h moved to luaconf.h | ||||
* | compatibility code removed or moved to luaconf.h | Roberto Ierusalimschy | 2010-01-06 | 1 | -7/+1 |
| | |||||
* | compatibility code moved to luaconf.h | Roberto Ierusalimschy | 2010-01-06 | 1 | -28/+4 |
| | |||||
* | new debug info 'isvararg' and 'nparams' | Roberto Ierusalimschy | 2010-01-06 | 3 | -8/+25 |
| | |||||
* | no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN) | Roberto Ierusalimschy | 2010-01-06 | 1 | -3/+3 |
| | |||||
* | again changing macro to function to save a few bytes | Roberto Ierusalimschy | 2010-01-06 | 1 | -5/+9 |
| | |||||
* | macro 'luaY_checklimit' changed into a function (and renamed 'checklimit'). | Roberto Ierusalimschy | 2010-01-05 | 1 | -10/+12 |
| | | | | It makes no sense to trade space for time in the parser. | ||||
* | field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsigned | Roberto Ierusalimschy | 2010-01-05 | 1 | -2/+2 |
| | | | | | char' to save some space (even C functions cannot have more than maxchar upvalues). | ||||
* | new api_check that 'pcallk' cannot be called inside hooks | Roberto Ierusalimschy | 2010-01-04 | 1 | -1/+3 |
| | |||||
* | reorganization of switch in function 'match' (details) | Roberto Ierusalimschy | 2010-01-04 | 1 | -18/+18 |
| | |||||
* | comments + small details | Roberto Ierusalimschy | 2010-01-04 | 1 | -16/+14 |
| | |||||
* | 'unpack' moved to table library (and therefore "renamed" to | Roberto Ierusalimschy | 2009-12-28 | 3 | -21/+33 |
| | | | | 'table.unpack'. | ||||
* | 'lua_cpcall' is deprecated + other small changes in 'pmain' (comments | Roberto Ierusalimschy | 2009-12-22 | 1 | -31/+28 |
| | | | | and reordering to check arguments before running any Lua code) | ||||
* | 'lua_cpcall' is deprecated | Roberto Ierusalimschy | 2009-12-22 | 3 | -6/+14 |
| | |||||
* | no more pseudoindex LUA_GLOBALSINDEX; global table now accessible | Roberto Ierusalimschy | 2009-12-22 | 12 | -53/+63 |
| | | | | through registry | ||||
* | code for error message for 'setn' removed | Roberto Ierusalimschy | 2009-12-18 | 1 | -7/+1 |
| | |||||
* | missing parentheses around 'lua_version' + moving typdef's before | Roberto Ierusalimschy | 2009-12-18 | 1 | -10/+10 |
| | | | | the extra include | ||||
* | 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len' | Roberto Ierusalimschy | 2009-12-17 | 11 | -42/+69 |
| | |||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-17 | 8 | -52/+59 |
| | | | | when 'ptr' is NULL. | ||||
* | yet more options moved from luaconf.h into internal files | Roberto Ierusalimschy | 2009-12-17 | 3 | -44/+48 |
| | |||||
* | macro name change: LUA_INIT->LUA_INIT_VAR | Roberto Ierusalimschy | 2009-12-17 | 1 | -5/+5 |
| | |||||
* | macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR, | Roberto Ierusalimschy | 2009-12-17 | 1 | -22/+22 |
| | | | | LUA_PATHSEP->LUA_PATH_SEP, LUA_EXECDIR->LUA_EXEC_DIR | ||||
* | more options moved from luaconf.h into internal files | Roberto Ierusalimschy | 2009-12-17 | 3 | -36/+53 |
| | |||||
* | removed export of function only for coco | Roberto Ierusalimschy | 2009-12-17 | 2 | -9/+6 |
| | |||||
* | several configuration options that do not change often moved out of | Roberto Ierusalimschy | 2009-12-17 | 10 | -267/+215 |
| | | | | luaconf.h and into more internal files | ||||
* | allocator function receives the tag of object being allocated in 'osize' | Roberto Ierusalimschy | 2009-12-16 | 2 | -5/+5 |
| | | | | when 'ptr' is NULL. | ||||
* | base-level C use global table as its environment | Roberto Ierusalimschy | 2009-12-15 | 1 | -13/+12 |
| | |||||
* | detail ('lua_tolstring' instead of lua_objlen) | Roberto Ierusalimschy | 2009-12-15 | 1 | -3/+4 |
| | |||||
* | cleaner way to add extra space in a lua state. | Roberto Ierusalimschy | 2009-12-14 | 3 | -19/+29 |
| | |||||
* | better to keep GC state numbers sequential, to optimize switch in | Roberto Ierusalimschy | 2009-12-11 | 3 | -18/+18 |
| | | | | 'singlestep' | ||||
* | new function 'luaC_runtilstate' to advance GC until a "valid" state | Roberto Ierusalimschy | 2009-12-11 | 4 | -21/+35 |
| | |||||
* | avoid using deprecated macros lua_[gs]etglobal | Roberto Ierusalimschy | 2009-12-11 | 4 | -13/+14 |
| | |||||
* | macro 'ngcotouv' is the same as 'gco2uv', so it was removed | Roberto Ierusalimschy | 2009-12-11 | 2 | -5/+4 |
| | |||||
* | detail (comment) | Roberto Ierusalimschy | 2009-12-10 | 1 | -3/+4 |
| | |||||
* | several new features in testC to allow better testing of lua_resume | Roberto Ierusalimschy | 2009-12-10 | 1 | -27/+62 |
| | | | | at the C API level | ||||
* | reordering of some functions + cleaner way to code lua_resume/resume + | Roberto Ierusalimschy | 2009-12-10 | 1 | -55/+55 |
| | | | | | small bug in lua_resume (in case of calling errors lua_resume should remove only new arguments from the stack and push error message). | ||||
* | detail (lua_resume should empty coroutine stack even if they do not | Roberto Ierusalimschy | 2009-12-10 | 1 | -1/+2 |
| | | | | fit into caller stack) | ||||
* | error messages from 'lua_resume' must be generated in protected mode, | Roberto Ierusalimschy | 2009-12-08 | 1 | -36/+43 |
| | | | | to avoid raising memory errors | ||||
* | lua_checkstack does not raise memory errors (instead it signals them) | Roberto Ierusalimschy | 2009-12-08 | 1 | -5/+17 |
| | |||||
* | new 'table.pack' function | Roberto Ierusalimschy | 2009-12-07 | 1 | -1/+25 |
| | |||||
* | lua_objlen calls __len metamethod on tables (if present) | Roberto Ierusalimschy | 2009-12-07 | 1 | -6/+13 |
| | |||||
* | strings in C scripts may be delimited by quotes + new functionality to | Roberto Ierusalimschy | 2009-12-01 | 1 | -16/+76 |
| | | | | set C scripts as C hooks | ||||
* | details | Roberto Ierusalimschy | 2009-12-01 | 1 | -3/+7 |
| |