summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* buffer size changed from size_t to int (it is always small) +Roberto Ierusalimschy2015-06-241-7/+10
| | | | comments + assert that printf result fits in given buffer
* detailRoberto Ierusalimschy2015-06-241-2/+2
|
* detailRoberto Ierusalimschy2015-06-211-2/+2
|
* redefine 'l_sprintf' to test correctness of buffer sizes givenRoberto Ierusalimschy2015-06-181-1/+10
| | | | to 'snprintf'
* using 'snprintf' in C99 (both for documentation of buffer sizesRoberto Ierusalimschy2015-06-183-26/+39
| | | | and some complains from tools)
* using 'lua_longassert' to avoid warningsRoberto Ierusalimschy2015-06-181-2/+2
|
* better implementation for buffers (reallocated memory directlyRoberto Ierusalimschy2015-06-181-8/+52
| | | | with allocation function; generates much less garbage)
* detail (i + 1 > exp is simply i >= exp)Roberto Ierusalimschy2015-06-181-2/+2
|
* details (use original type when saving variable's value)Roberto Ierusalimschy2015-06-182-4/+4
|
* missing ']]' in long stringRoberto Ierusalimschy2015-06-181-0/+2
|
* bug in order NaN x int (tests must ensure that NaN does not getv5.3.1Roberto Ierusalimschy2015-06-091-11/+12
| | | | converted to integer)
* using macros ('rttype' and 'settt_') to access "private" field 'tt_'Roberto Ierusalimschy2015-06-091-3/+3
|
* comment (FALLTHROUGH position)Roberto Ierusalimschy2015-06-091-3/+3
|
* commentRoberto Ierusalimschy2015-06-091-6/+6
|
* new release number (5.3.1)Roberto Ierusalimschy2015-06-031-2/+2
|
* When comparing integers with floats, use float as common type whenRoberto Ierusalimschy2015-06-021-52/+69
| | | | | | possible (i.e., when integer fits in a float without losses); seems to be more efficient in architectures with native support for used Lua numbers
* 'strcache' elements as arrays of 1 element hints that cache canRoberto Ierusalimschy2015-06-012-11/+11
| | | | be n-way (instead of direct mapped)
* bug: return hook may not see correct values for active local variablesRoberto Ierusalimschy2015-05-221-0/+13
| | | | when function returns
* dependencies updatedRoberto Ierusalimschy2015-05-221-17/+17
|
* bug: interpreter cannot pop activation frame before calling returnRoberto Ierusalimschy2015-05-223-14/+13
| | | | | hook (as it may want to access local variables active by the end of the function)
* reuse of 'addinfo' by lexical errorsRoberto Ierusalimschy2015-05-223-19/+21
|
* 'l <= r' for numbers has its own function, instead of usingRoberto Ierusalimschy2015-05-201-14/+30
| | | | 'not (r < l)' (seems to be slightly more efficient)
* new configuration macro 'l_mathlim' (simplifies some dependenciesRoberto Ierusalimschy2015-05-202-16/+17
| | | | on float type)
* new semantics for numerical order (following math regardlessRoberto Ierusalimschy2015-05-201-28/+90
| | | | representation)
* detail (removed useless '#include')Roberto Ierusalimschy2015-05-201-2/+1
|
* new semantics for equality int-floatRoberto Ierusalimschy2015-04-291-5/+3
|
* error message ("too complex" -> "too many registers") + MAXREGSRoberto Ierusalimschy2015-04-291-4/+5
| | | | changed to 255 (no reason not to use maximum allowed)
* patch for last bug corrected to be against last released versionRoberto Ierusalimschy2015-04-131-15/+15
| | | | (and not against last version in RCS...)
* some details in 'luaO_int2fb' + more consistent use of the localeRoberto Ierusalimschy2015-04-111-10/+20
| | | | decimal point
* Bug: suspended '__le' metamethod can give wrong resultRoberto Ierusalimschy2015-04-103-12/+90
|
* re-organization of initial configuration optionsRoberto Ierusalimschy2015-04-101-27/+40
|
* avoid using API functions inside the coreRoberto Ierusalimschy2015-04-061-12/+10
|
* more consistent use of locale radix character across LuaRoberto Ierusalimschy2015-04-034-20/+21
|
* detail (removed unused macro VARBITS)Roberto Ierusalimschy2015-04-021-3/+1
|
* new function 'log2' to test 'luaO_ceillog2' (if needed)Roberto Ierusalimschy2015-04-021-1/+9
|
* detail (comment)Roberto Ierusalimschy2015-04-021-2/+2
|
* 'LUA_REAL_*' -> 'LUA_FLOAT_*' (everywhere else we are using 'float')Roberto Ierusalimschy2015-03-311-16/+21
|
* janitor work (comments, variable names, some other details)Roberto Ierusalimschy2015-03-301-25/+31
|
* calls to 'luaC_checkGC' in luaD_precall moved near to 'luaD_checkstack'Roberto Ierusalimschy2015-03-301-4/+4
| | | | (which is what can need memory)
* detail ('b + base' -> 'base + b' to follow all other similar uses)Roberto Ierusalimschy2015-03-301-2/+2
|
* avoid expression with side effect (in debug mode) inside 'sizeof'Roberto Ierusalimschy2015-03-301-2/+3
|
* details (avoid 'lint' warnings)Roberto Ierusalimschy2015-03-303-12/+12
|
* details (avoid some 'lint' warnings)Roberto Ierusalimschy2015-03-281-5/+6
|
* details (avoid 'lint' warnings)Roberto Ierusalimschy2015-03-287-35/+37
|
* 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (whichRoberto Ierusalimschy2015-03-253-17/+18
| | | | keeps all code related to this cache)
* commentsRoberto Ierusalimschy2015-03-141-5/+5
|
* code detail ('if' -> '?:')Roberto Ierusalimschy2015-03-131-6/+6
|
* use 'log2' when availableRoberto Ierusalimschy2015-03-121-1/+4
|
* 'ci_func' don't need to be exportedRoberto Ierusalimschy2015-03-113-7/+8
|
* 'lua_pushliteral' implemented with 'lua_pushstring' (to takeRoberto Ierusalimschy2015-03-101-3/+2
| | | | advantage of the cache)