summaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerxRoberto Ierusalimschy2010-07-021-6/+13
| | | | that have an extra out parameter with conversion status
* better names for barrier macrosRoberto Ierusalimschy2010-06-041-4/+4
|
* new macro MAXUPVAL (maximum number of upvalues per closure)Roberto Ierusalimschy2010-05-311-3/+3
|
* in 'absindex', do not need to call gettop (can inline it)Roberto Ierusalimschy2010-05-141-2/+2
|
* new API function 'lua_absindex'Roberto Ierusalimschy2010-05-121-3/+13
|
* stupid bug when calling 'luaC_changemode' (in function lua_gc)Roberto Ierusalimschy2010-05-071-3/+6
|
* new function 'luaC_changemode'Roberto Ierusalimschy2010-05-051-9/+4
|
* new way to control GC speed (keeping a 'debt' counter)Roberto Ierusalimschy2010-04-291-7/+7
|
* upvalue barriers for Lua functions must act on the upvalue itself,Roberto Ierusalimschy2010-04-201-6/+10
| | | | not on its closure
* in lua_gc/step, 'luaC_step' changes GCthreshold, so there was littleRoberto Ierusalimschy2010-04-191-4/+2
| | | | control over the real step size.
* "light C function" is a better name than "C-function pointer"Roberto Ierusalimschy2010-04-181-5/+5
|
* first implementation of light C functionsRoberto Ierusalimschy2010-04-141-27/+41
|
* 'lua_pushstring' now uses 'luaS_new'Roberto Ierusalimschy2010-04-051-3/+11
|
* option to return GC to normal (incremental, non generational) modeRoberto Ierusalimschy2010-04-021-1/+5
|
* global table now is only kept in the registryRoberto Ierusalimschy2010-03-291-5/+11
|
* no more fenvs!Roberto Ierusalimschy2010-03-261-68/+29
|
* major collections in generational modeRoberto Ierusalimschy2010-03-251-9/+15
|
* draft version of a generational mode for garbage collection. (Not wellRoberto Ierusalimschy2010-03-221-1/+7
| | | | tested; no major collections; ...)
* first step towards _ENV: all chunks have an puvalues _ENV with theRoberto Ierusalimschy2010-03-081-1/+7
| | | | global table
* field 'oldtop' renamed to 'extra', as it can be used for otherRoberto Ierusalimschy2010-02-091-2/+2
| | | | purposes
* new function 'luaL_cpcall'Roberto Ierusalimschy2010-01-211-10/+1
|
* "no value" added to array luaT_typenames + occurrences of "userdata"Roberto Ierusalimschy2010-01-131-2/+2
| | | | in that array unified in a single address
* added casts from int to enumerations to follow C++ rulesRoberto Ierusalimschy2010-01-111-2/+3
|
* removed parentheses around some function names in their definitionsRoberto Ierusalimschy2010-01-081-3/+3
|
* new api_check that 'pcallk' cannot be called inside hooksRoberto Ierusalimschy2010-01-041-1/+3
|
* 'lua_cpcall' is deprecatedRoberto Ierusalimschy2009-12-221-2/+3
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-7/+6
| | | | through registry
* 'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'Roberto Ierusalimschy2009-12-171-14/+17
|
* base-level C use global table as its environmentRoberto Ierusalimschy2009-12-151-13/+12
|
* lua_checkstack does not raise memory errors (instead it signals them)Roberto Ierusalimschy2009-12-081-5/+17
|
* lua_objlen calls __len metamethod on tables (if present)Roberto Ierusalimschy2009-12-071-6/+13
|
* extra api checks for number of returns of C functions and for lua_yieldRoberto Ierusalimschy2009-11-271-4/+1
|
* renaming: 'lua_upvaladdr' -> 'lua_upvalueid',Roberto Ierusalimschy2009-11-091-3/+3
| | | | 'lua_upvaljoin' -> 'lua_upvaluejoin'
* new option 'isrunning' for 'lua_gc' (and 'collectgarbage')Roberto Ierusalimschy2009-11-091-1/+5
|
* registry and global table may be changed through the API without aRoberto Ierusalimschy2009-11-091-2/+3
| | | | write barrier, so GC should visit them in the atomic phase.
* better to enclose macros in 'if' bodies with bracketsRoberto Ierusalimschy2009-11-061-2/+3
|
* api functions to manipulate upvalues do not need to check theirRoberto Ierusalimschy2009-11-051-19/+12
| | | | arguments (the caller must check them before calling)
* new functions to identify and join upvaluesRoberto Ierusalimschy2009-11-051-1/+45
|
* no more one environment per thread: all threads share a single globalRoberto Ierusalimschy2009-10-231-10/+4
| | | | environment
* new function lua_copyRoberto Ierusalimschy2009-10-051-15/+29
|
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-281-2/+2
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* 'cpcall' reimplemented as a predefined value in the registryRoberto Ierusalimschy2009-09-211-35/+9
|
* 'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREADRoberto Ierusalimschy2009-09-171-6/+1
|
* API checks now have explanatory messagesRoberto Ierusalimschy2009-08-311-23/+26
|
* luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,Roberto Ierusalimschy2009-08-071-3/+3
| | | | not generic numbers)
* new macro 'getproto'Roberto Ierusalimschy2009-07-151-2/+2
|
* 'index2adr' -> 'index2addr' (correct spelling)Roberto Ierusalimschy2009-07-151-40/+40
|
* new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy2009-07-151-8/+9
|
* l_version may be local to 'lua_version'Roberto Ierusalimschy2009-06-191-4/+3
|
* new function 'lua_version' (so that 'checkversion' can be implementedRoberto Ierusalimschy2009-06-181-8/+6
| | | | in the auxiliary library)