aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* new way to GC stacks: the entire stack must be correct all the times;Roberto Ierusalimschy2009-04-284-47/+63
| | | | | the 'dead' part of a stack (after the top) must have only nil's, so that 'top' may go up without cleaning the stack.
* malicious zero-length string in binary code may segfault Lua +Roberto Ierusalimschy2009-04-271-2/+30
| | | | wrong code generation for some particular boolean expressions
* unused arguments removedRoberto Ierusalimschy2009-04-271-9/+9
|
* '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-178-138/+133
| | | | erasing savedpc from lua_State)
* 'luaM_freearray' does not need array type as argumentRoberto Ierusalimschy2009-04-175-18/+18
|
* 'CallInfo' stack implemented as double-linked list instead of an arrayRoberto Ierusalimschy2009-04-1710-126/+127
|
* 'nresults' is saved in CallInfo from the caller, not the calledRoberto Ierusalimschy2009-04-151-5/+4
|
* new function 'T.makeCfunc' (for later use)Roberto Ierusalimschy2009-04-141-16/+38
|
* first implementation of yieldable 'pcall'Roberto Ierusalimschy2009-04-085-30/+110
|
* detailRoberto Ierusalimschy2009-04-031-2/+2
|
* added comment explaining why the 'feof' test when loading a fileRoberto Ierusalimschy2009-04-021-1/+4
|
* Lua will abort anyway, so 'panic' does not need to.Roberto Ierusalimschy2009-03-311-2/+2
|
* in 'lua_call', avoid preparing a continuation when thread cannot yield.Roberto Ierusalimschy2009-03-301-8/+8
|
* avoid making 'lastfree' an invalid pointerRoberto Ierusalimschy2009-03-301-2/+3
|
* 'loadlib(lib, "*")' loads 'lib' with global names exported to allRoberto Ierusalimschy2009-03-261-13/+20
|
* small bug: EOZ is a valid character to be testedRoberto Ierusalimschy2009-03-262-12/+21
|
* no more support for old-style varargsRoberto Ierusalimschy2009-03-265-51/+10
|
* 'context' added to suspendable callsRoberto Ierusalimschy2009-03-236-24/+39
|
* 'math.random' uses lua_Number to manage its arguments (there is noRoberto Ierusalimschy2009-03-171-8/+8
| | | | reason to lose range).
* missing argument to 'assert' raises "assertion failed" errorRoberto Ierusalimschy2009-03-161-2/+1
|
* new optional argument to 'load', to control allowed modes (binary orRoberto Ierusalimschy2009-03-131-15/+41
| | | | textual chunks)
* ctype 'lalpha' includes '_' (as '_' behaves as a letter from theRoberto Ierusalimschy2009-03-113-9/+11
| | | | point of view of Lua)
* added macro 'lisxdigit' (just in case :)Roberto Ierusalimschy2009-03-102-6/+8
|
* yielding across lua_call (first version)Roberto Ierusalimschy2009-03-1013-110/+169
|
* better notes about some opcodes (comments only)Roberto Ierusalimschy2009-03-091-11/+16
|
* initial separation, in CallInfo, of what is relevant only to LuaRoberto Ierusalimschy2009-03-044-11/+15
| | | | functions or only to C functions
* new states have a reasonable panic function +Roberto Ierusalimschy2009-03-031-4/+18
| | | | | testC may run code on different threads + rename of some testC operations ('rawcall'->'call', 'call'->'pcall')
* if thread has no error handling, try main thread handler before panickingRoberto Ierusalimschy2009-03-031-7/+13
|
* detailRoberto Ierusalimschy2009-03-021-2/+2
|
* error functions search global space for a name for a function whenRoberto Ierusalimschy2009-02-271-3/+55
| | | | no other name is available
* code section 'Traceback' moved to the beginning of the fileRoberto Ierusalimschy2009-02-271-52/+61
|
* closing a "popen" file returns the process exit statusRoberto Ierusalimschy2009-02-202-7/+12
|
* global array of ctypes renamed to 'luai_ctype_' (extern names mustRoberto Ierusalimschy2009-02-202-9/+9
| | | | use a "lua" prefix...)
* Lua now uses "homemade" lctype (instead of ctype.h from ANSI C)Roberto Ierusalimschy2009-02-194-26/+28
|
* "homemade" version of ctype.hRoberto Ierusalimschy2009-02-192-0/+78
|
* 'fputs' changed to 'luai_writestring' + use of 'lua_checkversion'Roberto Ierusalimschy2009-02-191-2/+3
|
* 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-185-5/+22
| | | | compatible
* using light userdata to represent "remote" statesRoberto Ierusalimschy2009-02-181-8/+14
|
* panic mode does not reset stack (so that panic function can gatherRoberto Ierusalimschy2009-02-181-14/+1
| | | | debug information from it)
* 'log10' is deprecated nowRoberto Ierusalimschy2009-02-182-2/+21
|
* better precision for log(x, 10)Roberto Ierusalimschy2009-02-181-4/+10
|
* finalizers always called protectedRoberto Ierusalimschy2009-02-172-16/+10
|
* buffer creation ensures buffer space plus MINSTACK in the stackRoberto Ierusalimschy2009-02-171-1/+2
|
* 'db_errorfb' changed to 'db_traceback' for consistencyRoberto Ierusalimschy2009-02-171-3/+3
|
* no more '__len' metamethod for stringsRoberto Ierusalimschy2009-02-161-3/+1
|
* 'luaL_typeerror' spelled rightRoberto Ierusalimschy2009-02-132-6/+10
|
* comment (should not use 'go trhough' when simply using multiple labels)Roberto Ierusalimschy2009-02-111-2/+2
|
* 'writestring' changed into a configurable macroRoberto Ierusalimschy2009-02-072-18/+12
|