summaryrefslogtreecommitdiff
path: root/lapi.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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)
* 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
|