summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* conversion from pointer to void to pointer to function seems moreRoberto Ierusalimschy2010-01-111-2/+2
| | | | | | "correct" if done through an integral type (because conversions between pointers and numbers are allowed, only "implementation defined").
* missing 'external' in variable declarationRoberto Ierusalimschy2010-01-111-2/+2
|
* pathes corrected to 5.2Roberto Ierusalimschy2010-01-111-3/+3
|
* corrected copyright notice to 2010Roberto Ierusalimschy2010-01-111-3/+3
|
* include of 'windows.h' moved to where it is neededRoberto Ierusalimschy2010-01-112-3/+3
|
* Dynamic C functions should be created with the global table as theirRoberto Ierusalimschy2010-01-111-2/+4
| | | | initial environments
* changed macro lua_number2int for Windows (added brackets; some recentRoberto Ierusalimschy2010-01-111-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 Ierusalimschy2010-01-111-7/+14
|
* removed old prototype for 'luaI_openlib' (which does not exist anymore)Roberto Ierusalimschy2010-01-111-3/+1
|
* better may to force recompilation when makefile changesRoberto Ierusalimschy2010-01-081-47/+48
|
* 'setobj' must assing fields one by one, to allow trick of usingRoberto Ierusalimschy2010-01-081-3/+5
| | | | pad space in table keys
* removed parentheses around some function names in their definitionsRoberto Ierusalimschy2010-01-081-3/+3
|
* some changes in compatibility macros: added LUA_COMPAT_ALL + compatibilityRoberto Ierusalimschy2010-01-061-50/+43
| | | | macros from lua.h and lauxlib.h moved to luaconf.h
* compatibility code removed or moved to luaconf.hRoberto Ierusalimschy2010-01-061-7/+1
|
* compatibility code moved to luaconf.hRoberto Ierusalimschy2010-01-061-28/+4
|
* new debug info 'isvararg' and 'nparams'Roberto Ierusalimschy2010-01-063-8/+25
|
* no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)Roberto Ierusalimschy2010-01-061-3/+3
|
* again changing macro to function to save a few bytesRoberto Ierusalimschy2010-01-061-5/+9
|
* macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').Roberto Ierusalimschy2010-01-051-10/+12
| | | | It makes no sense to trade space for time in the parser.
* field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsignedRoberto Ierusalimschy2010-01-051-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 hooksRoberto Ierusalimschy2010-01-041-1/+3
|
* reorganization of switch in function 'match' (details)Roberto Ierusalimschy2010-01-041-18/+18
|
* comments + small detailsRoberto Ierusalimschy2010-01-041-16/+14
|
* 'unpack' moved to table library (and therefore "renamed" toRoberto Ierusalimschy2009-12-283-21/+33
| | | | 'table.unpack'.
* 'lua_cpcall' is deprecated + other small changes in 'pmain' (commentsRoberto Ierusalimschy2009-12-221-31/+28
| | | | and reordering to check arguments before running any Lua code)
* 'lua_cpcall' is deprecatedRoberto Ierusalimschy2009-12-223-6/+14
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-2212-53/+63
| | | | through registry
* code for error message for 'setn' removedRoberto Ierusalimschy2009-12-181-7/+1
|
* missing parentheses around 'lua_version' + moving typdef's beforeRoberto Ierusalimschy2009-12-181-10/+10
| | | | the extra include
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-1711-42/+69
|
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-178-52/+59
| | | | when 'ptr' is NULL.
* yet more options moved from luaconf.h into internal filesRoberto Ierusalimschy2009-12-173-44/+48
|
* macro name change: LUA_INIT->LUA_INIT_VARRoberto Ierusalimschy2009-12-171-5/+5
|
* macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR,Roberto Ierusalimschy2009-12-171-22/+22
| | | | LUA_PATHSEP->LUA_PATH_SEP, LUA_EXECDIR->LUA_EXEC_DIR
* more options moved from luaconf.h into internal filesRoberto Ierusalimschy2009-12-173-36/+53
|
* removed export of function only for cocoRoberto Ierusalimschy2009-12-172-9/+6
|
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-1710-267/+215
| | | | luaconf.h and into more internal files
* allocator function receives the tag of object being allocated in 'osize'Roberto Ierusalimschy2009-12-162-5/+5
| | | | when 'ptr' is NULL.
* base-level C use global table as its environmentRoberto Ierusalimschy2009-12-151-13/+12
|
* detail ('lua_tolstring' instead of lua_objlen)Roberto Ierusalimschy2009-12-151-3/+4
|
* cleaner way to add extra space in a lua state.Roberto Ierusalimschy2009-12-143-19/+29
|
* better to keep GC state numbers sequential, to optimize switch inRoberto Ierusalimschy2009-12-113-18/+18
| | | | 'singlestep'
* new function 'luaC_runtilstate' to advance GC until a "valid" stateRoberto Ierusalimschy2009-12-114-21/+35
|
* avoid using deprecated macros lua_[gs]etglobalRoberto Ierusalimschy2009-12-114-13/+14
|
* macro 'ngcotouv' is the same as 'gco2uv', so it was removedRoberto Ierusalimschy2009-12-112-5/+4
|
* detail (comment)Roberto Ierusalimschy2009-12-101-3/+4
|
* several new features in testC to allow better testing of lua_resumeRoberto Ierusalimschy2009-12-101-27/+62
| | | | at the C API level
* reordering of some functions + cleaner way to code lua_resume/resume +Roberto Ierusalimschy2009-12-101-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 notRoberto Ierusalimschy2009-12-101-1/+2
| | | | fit into caller stack)
* error messages from 'lua_resume' must be generated in protected mode,Roberto Ierusalimschy2009-12-081-36/+43
| | | | to avoid raising memory errors