aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 'string.format"%q"' now works for all basic types (nil, boolean,Roberto Ierusalimschy2016-04-081-6/+36
| | | | numbers, and strings)
* LUA_PACKPADBYTE -> LUAL_PACKPADBYTE (it is an internal libraryRoberto Ierusalimschy2016-04-071-6/+6
| | | | name, not something to be usually configured)
* new way to avoid infinite loops in empty matches: "Python rule"Roberto Ierusalimschy2016-03-311-8/+8
| | | | | ("Empty matches for the pattern are replaced only when not adjacent to a previous match")
* do not try to ensure that 'sweepgc' points to a live objectRoberto Ierusalimschy2016-03-311-18/+11
| | | | | | when entering sweep phase ('entersweep'); that may be too expensive to be done still inside the atomic step. Walking one single object more often than not will work.
* detail (comment)Roberto Ierusalimschy2016-03-311-2/+2
|
* commentsRoberto Ierusalimschy2016-03-231-12/+12
|
* bug: 'gmatch' iterator fails when called from a coroutine differentRoberto Ierusalimschy2016-03-232-5/+31
| | | | from the one that created it
* bug: label between local definitions can mix-up their initializationsRoberto Ierusalimschy2016-03-072-2/+35
|
* call 'checkGC' *after* creating new objects (this is how 'execute'Roberto Ierusalimschy2016-02-291-10/+10
| | | | | | does it) (It increases the changes that 'allgc' start with a non-white object, which helps 'entersweep')
* When available, use metafield '__name' in error messagesRoberto Ierusalimschy2016-02-263-8/+25
|
* '\0' is a control character, no need to check it explicitlyRoberto Ierusalimschy2016-02-251-2/+2
|
* in 'table.move', destination table can be source table even ifRoberto Ierusalimschy2016-02-251-3/+3
| | | | given as an explicit extra argument
* simpler yet definition for 'checkoption'Roberto Ierusalimschy2016-02-091-18/+14
|
* simpler code for 'checkoption' + added conversion specifiers specificRoberto Ierusalimschy2016-02-081-25/+34
| | | | to Windows
* details (removed silly use of 'luaL_opt' + better error messagesRoberto Ierusalimschy2016-02-081-3/+3
| | | | in cases of "table expected")
* new macro 'vmfetch' to help changing code to computed goto's (macroRoberto Ierusalimschy2016-02-051-8/+13
| | | | abstracts the code to run before each instruction)
* new release number + new yearRoberto Ierusalimschy2016-01-131-4/+4
|
* no more extra space in 'luaL_checkstack'. (It was already uselessRoberto Ierusalimschy2016-01-081-11/+10
| | | | | for the first call, and function works ok without that space anyway (just error message misses the 'msg' component)
* details (comments + text of error messages)Roberto Ierusalimschy2016-01-061-5/+5
|
* 'getcode' -> 'getinstruction'Roberto Ierusalimschy2016-01-053-18/+22
|
* 'luaV_fastget' only treats the real fast case (table with a non-nilRoberto Ierusalimschy2016-01-053-55/+67
| | | | value at given key, so that it does not need to check metamethods)
* bug: Metatable may access its own dealocated field whenRoberto Ierusalimschy2016-01-041-21/+22
| | | | it has a self reference in __newindex + some refactoring
* more refactoringRoberto Ierusalimschy2016-01-041-94/+97
|