aboutsummaryrefslogtreecommitdiff
path: root/ldo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* back to internal table for 'ctype', no more locale manipulationRoberto Ierusalimschy2011-06-281-23/+4
|
* added cast to void to calls to 'setlocale' (to easy redefining it asRoberto Ierusalimschy2011-06-201-3/+3
| | | | a constant)
* parser must work with C locale, but external locale must be preservedRoberto Ierusalimschy2011-06-181-4/+23
|
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-54/+54
|
* code is simpler without 'goto' hereRoberto Ierusalimschy2011-05-301-9/+3
|
* no need of lookahead in ZioRoberto Ierusalimschy2011-02-231-3/+3
|
* some reorganization of dynamic data structures used by the parserRoberto Ierusalimschy2011-02-071-13/+10
|
* first implementation of 'goto'Roberto Ierusalimschy2011-02-041-2/+9
|
* corrected warnings from different compilers (mostly casts and smallRoberto Ierusalimschy2010-10-251-2/+2
| | | | details)
* 'nresults' in CallInfo now refers to number of results that the currentRoberto Ierusalimschy2010-09-301-3/+4
| | | | function returns (and not what it expects from a call)
* 'luaF_newLclosure' gets prototype of new closure as argumentRoberto Ierusalimschy2010-06-041-3/+2
|
* typos in commentsRoberto Ierusalimschy2010-05-051-2/+2
|
* "light C function" is a better name than "C-function pointer"Roberto Ierusalimschy2010-04-181-2/+2
|
* macro LUA_USE_LONGJMP allows choosing longjmp when compiling Lua asRoberto Ierusalimschy2010-04-181-2/+2
| | | | C++ code
* first implementation of light C functionsRoberto Ierusalimschy2010-04-141-23/+31
|
* keep memory-error message in the global state, so that its useRoberto Ierusalimschy2010-04-081-3/+3
| | | | | does not depend on Lua internalizing strings to avoid a string creation on memory errors
* no more fenvs!Roberto Ierusalimschy2010-03-261-2/+2
|
* when yielding, original 'func' value must be kept and restored soRoberto Ierusalimschy2010-02-091-7/+6
| | | | that 'poscall' puts results in the right slot.
* correct error message when yielding from outside a coroutineRoberto Ierusalimschy2010-01-131-3/+7
|
* no more pseudoindex LUA_GLOBALSINDEX; global table now accessibleRoberto Ierusalimschy2009-12-221-2/+2
| | | | through registry
* removed export of function only for cocoRoberto Ierusalimschy2009-12-171-5/+5
|
* several configuration options that do not change often moved out ofRoberto Ierusalimschy2009-12-171-1/+33
| | | | luaconf.h and into more internal files
* 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).
* error messages from 'lua_resume' must be generated in protected mode,Roberto Ierusalimschy2009-12-081-36/+43
| | | | to avoid raising memory errors
* extra api checks for number of returns of C functions and for lua_yieldRoberto Ierusalimschy2009-11-271-1/+5
|
* new scheme for debug info about tail calls: no more 'fake' stack entries,Roberto Ierusalimschy2009-11-251-28/+26
| | | | but stack entry knows whether it was tail called
* ensure that reader function cannot yield during parsingRoberto Ierusalimschy2009-11-171-1/+3
|
* parser/scanner keep GC runningRoberto Ierusalimschy2009-11-171-2/+1
|
* no more one environment per thread: all threads share a single globalRoberto Ierusalimschy2009-10-231-2/+2
| | | | environment
* parser keeps list of active local variables in a single dynamic array,Roberto Ierusalimschy2009-10-111-3/+7
| | | | therefore saving C stack space
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-281-3/+3
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* first implementation of 'lua_yieldk' (yield with continuation)Roberto Ierusalimschy2009-09-141-5/+23
|
* new way to control stack overflow, controling only total size of the stackRoberto Ierusalimschy2009-07-151-18/+50
|
* no more L->base + ci->base only for Lua functions (C functions may useRoberto Ierusalimschy2009-06-011-16/+11
| | | | 'func')
* errors in finalizers are propagated with code LUA_ERRGCMM (ERRor inRoberto Ierusalimschy2009-05-211-1/+2
| | | | __gc MetaMethod)
* new way to GC stacks: the entire stack must be correct all the times;Roberto Ierusalimschy2009-04-281-12/+14
| | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack.
* 'exit' changed to 'abort' in case of panic (+ some extra comments)Roberto Ierusalimschy2009-04-261-9/+9
| | | | 'abort' seems more in line with panic ("abnormal termination")
* several small improvements based on 'ci' being fixed now (includingRoberto Ierusalimschy2009-04-171-27/+25
| | | | erasing savedpc from lua_State)
* 'CallInfo' stack implemented as double-linked list instead of an arrayRoberto Ierusalimschy2009-04-171-48/+21
|
* 'nresults' is saved in CallInfo from the caller, not the calledRoberto Ierusalimschy2009-04-151-5/+4
|
* first implementation of yieldable 'pcall'Roberto Ierusalimschy2009-04-081-12/+53
|
* no more support for old-style varargsRoberto Ierusalimschy2009-03-261-21/+1
|
* 'context' added to suspendable callsRoberto Ierusalimschy2009-03-231-4/+3
|
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-101-62/+41
|
* initial separation, in CallInfo, of what is relevant only to LuaRoberto Ierusalimschy2009-03-041-4/+4
| | | | functions or only to C functions
* if thread has no error handling, try main thread handler before panickingRoberto Ierusalimschy2009-03-031-7/+13
|
* panic mode does not reset stack (so that panic function can gatherRoberto Ierusalimschy2009-02-181-14/+1
| | | | debug information from it)
* concat TM can yieldRoberto Ierusalimschy2008-11-061-11/+21
|
* generic for coded as two dedicated instructions to simplify resumptionRoberto Ierusalimschy2008-10-301-11/+7
|
* yields accross metamethods and for iterators (except for __concat)Roberto Ierusalimschy2008-10-281-10/+59
|