summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* small updatesv5.3.4Roberto Ierusalimschy2017-01-311-7/+10
|
* Handling of LUA_PATH/LUA_CPATH moved back to 'package' libraryRoberto Ierusalimschy2017-01-123-94/+101
| | | | to avoid incompatibilites with previous releases
* release 5.3.4 (year 2017)Roberto Ierusalimschy2016-12-221-4/+4
|
* detail (removing spaces at end of lines)Roberto Ierusalimschy2016-12-2212-30/+30
|
* Using LUAI_UAC* types more consistently on vararg callsRoberto Ierusalimschy2016-12-205-24/+35
|
* 'moveresults' and 'luaD_poscall' moved up in the fileRoberto Ierusalimschy2016-12-131-67/+67
|
* LUA_PATHSUFFIX -> LUA_VERSUFFIX + LUA_VERSUFFIX used in theRoberto Ierusalimschy2016-12-131-7/+7
| | | | definition of LUA_INITVARVERSION, too.
* detail (wrong comment)Roberto Ierusalimschy2016-12-061-2/+2
|
* using constants for "_LOADED" and "PRELOAD"Roberto Ierusalimschy2016-12-045-27/+34
|
* 'luaL_tolstring' uses metatable's "__name" when availableRoberto Ierusalimschy2016-12-041-5/+14
|
* using 'lastfree == NULL' to signal that table is using the dummyRoberto Ierusalimschy2016-11-074-30/+38
| | | | node for its hash part + new macro 'allocsizenode'
* bug: When a coroutine tries to resume a non-suspended coroutine,Roberto Ierusalimschy2016-10-191-2/+28
| | | | it can do some mess (and break C assertions) before detecting the error.
* check whether function is finalizer when finding a name for it +Roberto Ierusalimschy2016-10-191-13/+32
| | | | | comments + some instructions can call functions in unespected ways (e.g., finalizers)
* new flag in 'CallInfo.callstatus' to tell whether function is runningRoberto Ierusalimschy2016-10-192-2/+5
| | | | as a finalizer
* detail (ANSI C does not accept empty arguments to macros)Roberto Ierusalimschy2016-09-201-3/+3
|
* cleaner and more correct code for 'luaD_shrinkstack' (the oldRoberto Ierusalimschy2016-09-081-5/+8
| | | | | test "inuse <= LUAI_MAXSTACK" for stack overflow is not correct, as the real maximum usable size is "LUAI_MAXSTACK - EXTRA_STACK")
* bug (with compat on): 'ipairs' can work with any type that providesRoberto Ierusalimschy2016-09-051-2/+2
| | | | | an __index; so, 'pairsmeta' should not check for tables. ('pairs' already checks for tables through 'next'.)
* comments + removed unused variableRoberto Ierusalimschy2016-09-051-10/+6
|
* detail (macro 'l_checkmode' reimplemented as function)Roberto Ierusalimschy2016-09-011-5/+6
|
* wrong test in '#if' for floating-point typeRoberto Ierusalimschy2016-08-221-3/+3
|
* do not eliminate varargs from functions that do not use varargsRoberto Ierusalimschy2016-08-013-10/+9
| | | | (confuses the debug lib and gains very little in performance)
* bug: When a coroutine tries to resume a non-suspended coroutine,Roberto Ierusalimschy2016-07-291-16/+19
| | | | | it coud do some mess (and break C assertions) before detecting the error. Now it tests for those errors before anything else.
* redefine MAXINDEXRK (for debugging, to force most values toRoberto Ierusalimschy2016-07-191-2/+5
| | | | go through registers)
* MAXINDEXRK can be redefined (for debugging, to force most values toRoberto Ierusalimschy2016-07-191-1/+3
| | | | go through registers)
* bug: Lua can generate wrong code in functions with too many constantsRoberto Ierusalimschy2016-07-192-5/+32
|
* bug: 'checkoption' could read past end of string + 'os.date' canRoberto Ierusalimschy2016-07-181-12/+16
| | | | handle embedded zeros
* Handling of LUA_PATH/LUA_CPATH moved from package library to standRoberto Ierusalimschy2016-07-183-95/+109
| | | | | alone interpreter (so that 'lua.c' concentrates all handling of environment variables)
* new bug: Checking a format for 'os.date' may read pass the format stringRoberto Ierusalimschy2016-07-151-0/+23
|
* small corrections for C++ complianceRoberto Ierusalimschy2016-06-272-4/+4
|
* bug: expression list with four or more expressions inRoberto Ierusalimschy2016-06-221-5/+4
| | | | | a 'for' loop can crash the interpreter. ('adjust_assign' must remove extra expresssions from its registers.)
* bug: expression list with four or more expressions inRoberto Ierusalimschy2016-06-211-0/+39
| | | | a 'for' loop can crash the interpreter.
* all 'static' variables should be 'const'Roberto Ierusalimschy2016-06-201-5/+6
|
* allow more bits in 'callstatus' (use no extra space due to alignments)Roberto Ierusalimschy2016-06-161-2/+2
|
* 'lua_pushglobaltable' returns 'void'v5.3.3Roberto Ierusalimschy2016-05-301-2/+2
|
* 'string.format("%q")' writes 'math.mininteger' in hexa, to ensureRoberto Ierusalimschy2016-05-201-14/+19
| | | | it is read back as an integer
* do not convert decimal constants with overflow to integers.Roberto Ierusalimschy2016-05-201-2/+8
| | | | (Therefore, they will be converted as floats)
* 'string.pack("cn")' does not accept strings longer than 'n'Roberto Ierusalimschy2016-05-181-8/+6
|
* 'singlevaraux' returns result only in 'var->k'Roberto Ierusalimschy2016-05-131-10/+10
|
* comment (FALLTHROUGH)Roberto Ierusalimschy2016-05-132-5/+5
|
* 'io.read("n")' accepts both a dot and the locale point as itsRoberto Ierusalimschy2016-05-021-8/+11
| | | | | radix character + 'MAXRN' -> 'L_MAXLENNUM' + small detail in 'test2'
* now that 'luaO_str2num' always accepts a dot as a radix character,Roberto Ierusalimschy2016-05-022-35/+3
| | | | the lexer does not need to bother with this issue.
* 'luaO_str2num' (and, therefore, 'lua_stringtonumber', 'number',Roberto Ierusalimschy2016-05-021-10/+46
| | | | | and coercions) accepts both the locale point and a dot as its radix character
* 'string.format("%q", number)' ensures a dot as decimal pointRoberto Ierusalimschy2016-05-021-7/+21
|
* detail (macro should "use" all its arguments)Roberto Ierusalimschy2016-05-011-2/+2
|
* no more time limits to pattern matching (at least for now)Roberto Ierusalimschy2016-04-221-38/+1
|
* match time limit defined by variable 'string.pattlimit'Roberto Ierusalimschy2016-04-191-16/+36
|
* 'os.time(t)' normalizes 't' fieldsRoberto Ierusalimschy2016-04-181-10/+20
|
* error handling in 'wrap' does not coerce numbers into string messagesRoberto Ierusalimschy2016-04-111-2/+2
|
* details ('error' does not coerce numbers to strings + comments)Roberto Ierusalimschy2016-04-111-6/+5
|
* diff for last bug was against wrong versionRoberto Ierusalimschy2016-04-111-3/+3
|