aboutsummaryrefslogtreecommitdiff
path: root/ldump.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-16detail ('fopen' needs 'stdio.h')Roberto Ierusalimschy1-1/+2
2015-02-13bug: suspended function can have its 'func' field not pointing toRoberto Ierusalimschy1-2/+25
its function, crashing debug functions
2015-02-13some changes in 'hashfloat' to avoid undefined (in ISO C) numericalRoberto Ierusalimschy1-8/+21
conversions
2015-02-11added API checks to some unprotected 'top' incrementsRoberto Ierusalimschy1-7/+12
2015-02-09detailRoberto Ierusalimschy1-2/+2
2015-02-09bug (in 5.2): Chunk with too many lines can seg. faultRoberto Ierusalimschy1-2/+26
2015-02-09detail (no need to write 'double' in source)Roberto Ierusalimschy1-3/+4
2015-02-09detail (use 'l_floor' instead of 'l_mathop(floor)')Roberto Ierusalimschy1-2/+2
2015-02-05detailRoberto Ierusalimschy1-2/+2
2015-02-05macros 'luai_num*' (for float arithmetic operations) moved toRoberto Ierusalimschy4-46/+53
llimits.h.
2015-02-05added comments documenting LUA_NOCVTN2S/LUA_NOCVTS2NRoberto Ierusalimschy1-1/+19
2015-02-04make buffer for format specification a little larger (length modifierRoberto Ierusalimschy1-3/+2
can be larger than 2, e.g. "I64")
2015-02-04own implementation for 'string.format("%a")' for C89 platformsRoberto Ierusalimschy2-11/+92
2015-02-03detail ('luaL_getmetatable' does not return a boolean, but a tag)Roberto Ierusalimschy1-2/+2
2015-01-16LUAL_BUFFERSIZE affects the API, so it is better not to change itRoberto Ierusalimschy1-2/+3
between releases of the same version. (The long double case seems to be too rare, so that should not be a problem; moreover, that case is related to a bug)
2015-01-16LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does notRoberto Ierusalimschy2-11/+12
affect the API and is seldom modified)
2015-01-16size of short strings stored in a single byte, to reduce the sizeRoberto Ierusalimschy9-45/+69
of struct 'TString'
2015-01-16larger MINSTRTABSIZE (standard Lua starts with ~230 strings, afterRoberto Ierusalimschy1-3/+8
oppening the standard libraries)
2015-01-16commentsRoberto Ierusalimschy1-2/+12
2015-01-13removed macro LUAI_FIRSTPSEUDOIDX (that stuff does not needRoberto Ierusalimschy2-7/+6
to be configurable)
2015-01-13 Long double needs a larger LUAL_BUFFERSIZE (becauseRoberto Ierusalimschy1-3/+10
'string.format("%.99f", 1e4900)' can generate quite long strings), but otherwise buffer can be 1~2K
2015-01-13BUG (when compiled with long double): buffer overflow when formattingRoberto Ierusalimschy1-5/+11
string.format("%.99f", 1e4930)
2015-01-13better check for overflows in 'table.move' (removes restriction thatRoberto Ierusalimschy1-3/+5
initial position should be positive)
2015-01-13definition for 'MAXUPVAL' moved for a more "private" place and itsRoberto Ierusalimschy2-7/+9
value and comment corrected to reflect current implementation
2015-01-13typo in commentRoberto Ierusalimschy1-3/+3
2015-01-12typo in error messageRoberto Ierusalimschy1-2/+2
2015-01-05'setkey' -> 'setnodekey' (to avoid conflicts with POSIX)v5.3.0Roberto Ierusalimschy2-4/+4
2015-01-05new macro 'cast_func' adds '__extension__' (in gnu compilers) whenRoberto Ierusalimschy1-2/+14
converting void* to function, to avoid warnings
2015-01-05includes 'stddef.h' (as it uses NULL)Roberto Ierusalimschy2-5/+9
2015-01-02detail (added -Wconversion as a comment, to be used ocasionally)Roberto Ierusalimschy1-0/+1
2015-01-02'lua_setlocal' should not pop value when failing (to be consistentRoberto Ierusalimschy2-5/+11
with the manual and with 'lua_setupvalue')
2015-01-02clearer(?) code (also avoids a warning about 'c' being usedRoberto Ierusalimschy1-5/+3
without initialization)
2014-12-29does not define _XOPEN_SOURCE when LUA_USE_C89 is defined + definingRoberto Ierusalimschy1-2/+8
_XOPEN_SOURCE==0 undefines that macro
2014-12-29all "divisions" (div,idiv,mod) by zero are not folded, to avoidRoberto Ierusalimschy1-24/+10
problems during compilation + does not fold zero results, as they can collapse with -0.0 and the ANSI test to distinguish both needs a division by zero (which we are trying to avoid) + removed macro 'luai_numinvalidop' (as its main use case were divisions by zero)
2014-12-29detail (macro 'luai_numidiv' uses 'luai_numdiv' to compute the division)Roberto Ierusalimschy1-2/+2
2014-12-27bug: 'random' limit is 2^31-1, not RAND_MAXRoberto Ierusalimschy1-3/+5
2014-12-27detailsRoberto Ierusalimschy1-4/+4
2014-12-27change in macro 'vmcase', avoding code inside it. (Code inside theRoberto Ierusalimschy1-97/+142
macro harms tools such as debuggers.)
2014-12-26new year (2015)Roberto Ierusalimschy1-3/+3
2014-12-26detail (to avoid warnings)Roberto Ierusalimschy1-3/+3
2014-12-26removed macro 'luai_numinvalidop' (main motivation removed, as foldingRoberto Ierusalimschy2-15/+2
does not handle any division by zero by default)
2014-12-26removed useless initializationsRoberto Ierusalimschy2-4/+4
2014-12-20comments were wrong (not updated about several changes)Roberto Ierusalimschy1-6/+6
2014-12-19details in 'luaM_reallocvchar'Roberto Ierusalimschy2-5/+6
2014-12-19new macro 'luaM_reallocvchar' to allocate arrays of chars (avoidsRoberto Ierusalimschy2-3/+9
uneeded tests and respective warnings)
2014-12-19new macro 'nvalue' (to convert an object to a float when we knowRoberto Ierusalimschy3-10/+7
object is a number)
2014-12-19detail (in test for 'luai_numinvalidop', use a round float)Roberto Ierusalimschy1-2/+2
2014-12-19commentRoberto Ierusalimschy1-2/+2
2014-12-19old Visual Studio versions did not support 'noreturn' attributeRoberto Ierusalimschy1-2/+2
2014-12-18stupid bug in T.stacklevel (not in use by the tests)Roberto Ierusalimschy1-2/+2