summaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* '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)
* small optimization in 'lua_arith' (avoids overhead in the common caseRoberto Ierusalimschy2009-06-181-2/+6
| | | | of both arguments being numbers)
* lua_objlen should not work for numbers (according to the manual)Roberto Ierusalimschy2009-06-171-8/+1
|
* new functions 'lua_arith' and 'lua_compare'Roberto Ierusalimschy2009-06-171-13/+15
|
* new API function 'lua_mainthread'Roberto Ierusalimschy2009-06-151-1/+6
|
* no more L->base + ci->base only for Lua functions (C functions may useRoberto Ierusalimschy2009-06-011-13/+17
| | | | 'func')
* small bug in 'luaV_concat' (L->top was left incorrect in some cases)Roberto Ierusalimschy2009-05-271-3/+2
|
* several small improvements based on 'ci' being fixed now (includingRoberto Ierusalimschy2009-04-171-9/+10
| | | | erasing savedpc from lua_State)
* 'CallInfo' stack implemented as double-linked list instead of an arrayRoberto Ierusalimschy2009-04-171-3/+3
|
* first implementation of yieldable 'pcall'Roberto Ierusalimschy2009-04-081-8/+25
|
* in 'lua_call', avoid preparing a continuation when thread cannot yield.Roberto Ierusalimschy2009-03-301-8/+8
|
* 'context' added to suspendable callsRoberto Ierusalimschy2009-03-231-6/+17
|
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-101-9/+13
|
* better error messages for 'lua_checkversion'Roberto Ierusalimschy2009-02-191-3/+3
|
* new macro 'lua_checkversion' to check whether core and application areRoberto Ierusalimschy2009-02-181-1/+11
| | | | compatible
* GC step does not unblock collector (when it is blocked by "stop")Roberto Ierusalimschy2008-08-011-1/+4
|
* bug: GC step could loop forever under very particular circumstancesRoberto Ierusalimschy2008-07-041-8/+8
|
* userdata with finalizers are kept in a separated listRoberto Ierusalimschy2008-02-191-4/+4
|
* bug: lua_checkstack may have arithmetic overflow for large 'size'Roberto Ierusalimschy2008-02-141-5/+4
|
* added assertions checking maximum number of upvaluesRoberto Ierusalimschy2008-02-121-2/+4
|
* comment (LUA_GLOBALSINDEX does not need write barrier in lua_replace)Roberto Ierusalimschy2008-01-251-1/+2
|
* BUG: lua_setfenv may crash if called over an invalid objectRoberto Ierusalimschy2007-11-281-2/+2
|
* detail (LUA_COPYRIGHT includes release number)Roberto Ierusalimschy2007-08-071-2/+2
|
* lua_pushstring/pushlstring return stringRoberto Ierusalimschy2007-04-171-6/+11
|
* more specific ident labelsRoberto Ierusalimschy2007-02-071-3/+3
|
* avoid $URL for ident; it is reserved in subversionRoberto Ierusalimschy2006-10-171-4/+3
|