summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* '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
|
* Metatable may access its own dealocated field whenRoberto Ierusalimschy2016-01-041-1/+48
| | | | it has a self reference in __newindex.
* more comments + reordeing of union inside 'expdesc' to allowRoberto Ierusalimschy2015-12-301-13/+16
| | | | static initialization of a VKINT value
* avoid empty macro arguments (invalid in C89)Roberto Ierusalimschy2015-12-212-4/+4
|
* comments (*lots* of them) + assertsRoberto Ierusalimschy2015-12-181-84/+324
|
* comments. (More explanation about kinds of expressions.)Roberto Ierusalimschy2015-12-171-17/+27
|
* reordering of some functions + 'code_label' renamed to 'code_loadbool'Roberto Ierusalimschy2015-12-171-61/+61
|
* detail ('while' -> 'for') in 'luaK_patchclose'Roberto Ierusalimschy2015-12-171-4/+2
|
* comments (about hooks vs signals)Roberto Ierusalimschy2015-12-162-4/+15
|
* make 'hook' volatile (as it may be changed in signal handling)Roberto Ierusalimschy2015-12-161-2/+2
|
* comments + small code changes around stack usage when 'luaL_checkstack'Roberto Ierusalimschy2015-12-141-5/+21
| | | | raises an error (and needs the stack to create the error message...)