Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Details | Roberto Ierusalimschy | 2019-08-01 | 1 | -7/+13 |
| | | | | | - removed rule about RCS from makefile - comments and nitpicking in 'llex.c' | ||||
* | Details | Roberto Ierusalimschy | 2019-06-03 | 1 | -2/+2 |
| | | | | | Several small changes from feedback on 5.4 alhpa rc1 (warnings, typos in the manual, and the like) | ||||
* | A few more improvements in 'luaO_pushvfstring' | Roberto Ierusalimschy | 2019-05-03 | 1 | -1/+4 |
| | | | | | | | | - 'L' added to the 'BuffFS' structure - '%c' does not handle control characters (it is not its business. This now is done by the lexer, who is the one in charge of that kind of errors.) - avoid the direct use of 'l_sprintf' in the Lua kernel | ||||
* | Syntax should not allow numbers touching identifiers | Roberto Ierusalimschy | 2019-04-09 | 1 | -0/+2 |
| | | | | Code like 'a = 1print()' should not be accepted. | ||||
* | Fixed small bugs/issues | Roberto Ierusalimschy | 2019-03-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | - In 'readutf8esc' (llex.c), the overflow check must be done before shifting the accumulator. It was working because tests were using 64-bit longs. Failed with 32-bit longs. - In OP_FORPREP (lvm.c), avoid negating an unsigned value. Visual Studio gives a warning for that operation, despite being well defined in ISO C. - In 'luaV_execute' (lvm.c), 'cond' can be defined only when needed, like all other variables. | ||||
* | Changes in the validation of UTF-8 | Roberto Ierusalimschy | 2019-03-15 | 1 | -1/+1 |
| | | | | | | | | | | | All UTF-8 encoding functionality (including the escape sequence '\u') accepts all values from the original UTF-8 specification (with sequences of up to six bytes). By default, the decoding functions in the UTF-8 library do not accept invalid Unicode code points, such as surrogates. A new parameter 'nonstrict' makes them accept all code points up to (2^31)-1, as in the original UTF-8 specification. | ||||
* | Bug: Long brackets with a huge number of '=' causes overflow | Roberto Ierusalimschy | 2018-12-14 | 1 | -14/+16 |
| | | | | | | | A long bracket with too many equal signs can overflow the 'int' used for the counting and some arithmetic done on the value. Changing the counter to 'size_t' avoids that. (Because what is counted goes to a buffer, an overflow in the counter will first raise a buffer-overflow error.) | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | no more nil-in-table | Roberto Ierusalimschy | 2018-04-04 | 1 | -2/+2 |
| | |||||
* | new experimental syntax using reserved word 'undef' | Roberto Ierusalimschy | 2018-03-07 | 1 | -2/+2 |
| | |||||
* | first version of empty entries in tables | Roberto Ierusalimschy | 2018-02-23 | 1 | -2/+2 |
| | | | | (so that, in the future, tables can contain regular nil entries) | ||||
* | janitor work on casts | Roberto Ierusalimschy | 2018-01-28 | 1 | -2/+2 |
| | |||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 1 | -2/+2 |
| | | | | (we may want to put extra info there in the future) | ||||
* | in hash nodes, keys are stored in separate pieces to avoid wasting | Roberto Ierusalimschy | 2017-06-09 | 1 | -3/+3 |
| | | | | space with alignments | ||||
* | now that 'luaO_str2num' always accepts a dot as a radix character, | Roberto Ierusalimschy | 2016-05-02 | 1 | -33/+2 |
| | | | | the lexer does not need to bother with this issue. | ||||
* | details (typos in comments) | Roberto Ierusalimschy | 2015-11-19 | 1 | -2/+2 |
| | |||||
* | macro 'buff2num' replaced by its body (it caused more harm than good | Roberto Ierusalimschy | 2015-10-28 | 1 | -5/+3 |
| | | | | to readability) | ||||
* | reuse of 'addinfo' by lexical errors | Roberto Ierusalimschy | 2015-05-22 | 1 | -4/+3 |
| | |||||
* | more consistent use of locale radix character across Lua | Roberto Ierusalimschy | 2015-04-03 | 1 | -7/+2 |
| | |||||
* | details (avoid 'lint' warnings) | Roberto Ierusalimschy | 2015-03-28 | 1 | -5/+7 |
| | |||||
* | detail (use 'luaS_newliteral' when possible) | Roberto Ierusalimschy | 2015-03-03 | 1 | -3/+3 |
| | |||||
* | small bug (error of "chunk has too many lines" might use 't.token' | Roberto Ierusalimschy | 2014-11-14 | 1 | -2/+3 |
| | | | | before reading the first token) | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | comments (a few extra quotes around identifiers) | Roberto Ierusalimschy | 2014-10-30 | 1 | -2/+2 |
| | |||||
* | detail | Roberto Ierusalimschy | 2014-10-26 | 1 | -2/+2 |
| | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -7/+7 |
| | |||||
* | added 'l_' prefix for names that can be redefined externally | Roberto Ierusalimschy | 2014-10-22 | 1 | -4/+4 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -4/+4 |
| | |||||
* | '$c' in 'lua_pushfstring' prints non-printable characters with | Roberto Ierusalimschy | 2014-10-10 | 1 | -4/+3 |
| | | | | their codes | ||||
* | better to use 'long' to represent UTF-8 code points | Roberto Ierusalimschy | 2014-10-01 | 1 | -3/+3 |
| | |||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -6/+6 |
| | | | | (union used only for size purposes) | ||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -3/+3 |
| | | | | problems detected by this check) | ||||
* | small improvements concerning 'check_next' | Roberto Ierusalimschy | 2014-05-21 | 1 | -25/+39 |
| | |||||
* | better error message for unfinished long strings/comments | Roberto Ierusalimschy | 2014-05-11 | 1 | -4/+8 |
| | |||||
* | 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of | Roberto Ierusalimschy | 2014-05-01 | 1 | -2/+2 |
| | | | | receiving it | ||||
* | 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts | Roberto Ierusalimschy | 2014-04-30 | 1 | -27/+25 |
| | | | | to float or integer according to the string syntax) | ||||
* | new syntax for Unicode escape '\u{012F}' | Roberto Ierusalimschy | 2014-02-14 | 1 | -5/+8 |
| | |||||
* | UTF-8 encoding exported as format '%U' in 'lua_pushfstring' | Roberto Ierusalimschy | 2014-02-06 | 1 | -18/+7 |
| | |||||
* | added support for UTF-8 escapes | Roberto Ierusalimschy | 2014-02-04 | 1 | -11/+45 |
| | |||||
* | simpler way to create messages for errors in escape sequences | Roberto Ierusalimschy | 2014-01-31 | 1 | -27/+31 |
| | |||||
* | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -6/+9 |
| | |||||
* | bug (GC can collect long identifier during parser) + change (using | Roberto Ierusalimschy | 2013-08-30 | 1 | -6/+9 |
| | | | | a single constant table for all functions in a chunk) | ||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -4/+6 |
| | | | | 'allgc' list with a bit marking them) | ||||
* | new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible | Roberto Ierusalimschy | 2013-06-19 | 1 | -2/+2 |
| | | | | from Lua; these must fit in a lua_Integer | ||||
* | 'luaO_str2int' more generic: accepts white spaces around the numeral | Roberto Ierusalimschy | 2013-05-14 | 1 | -2/+3 |
| | | | | and handles signal | ||||
* | new operation '//' (integer division) | Roberto Ierusalimschy | 2013-04-26 | 1 | -2/+7 |
| | |||||
* | first implementation of literal integers (no constant folding yet) | Roberto Ierusalimschy | 2013-04-16 | 1 | -17/+30 |
| | |||||
* | typos in comments | Roberto Ierusalimschy | 2013-03-16 | 1 | -2/+2 |
| | |||||
* | added some comments | Roberto Ierusalimschy | 2012-12-05 | 1 | -4/+4 |
| | |||||
* | field 'reserved' -> 'extra' (may be used for other purposes too) | Roberto Ierusalimschy | 2012-01-23 | 1 | -4/+4 |
| |