summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 'setkey' -> 'setnodekey' (to avoid conflicts with POSIX)v5.3.0Roberto Ierusalimschy2015-01-052-4/+4
|
* new macro 'cast_func' adds '__extension__' (in gnu compilers) whenRoberto Ierusalimschy2015-01-051-2/+14
| | | | converting void* to function, to avoid warnings
* includes 'stddef.h' (as it uses NULL)Roberto Ierusalimschy2015-01-052-5/+9
|
* detail (added -Wconversion as a comment, to be used ocasionally)Roberto Ierusalimschy2015-01-021-0/+1
|
* 'lua_setlocal' should not pop value when failing (to be consistentRoberto Ierusalimschy2015-01-022-5/+11
| | | | with the manual and with 'lua_setupvalue')
* clearer(?) code (also avoids a warning about 'c' being usedRoberto Ierusalimschy2015-01-021-5/+3
| | | | without initialization)
* does not define _XOPEN_SOURCE when LUA_USE_C89 is defined + definingRoberto Ierusalimschy2014-12-291-2/+8
| | | | _XOPEN_SOURCE==0 undefines that macro
* all "divisions" (div,idiv,mod) by zero are not folded, to avoidRoberto Ierusalimschy2014-12-291-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)
* detail (macro 'luai_numidiv' uses 'luai_numdiv' to compute the division)Roberto Ierusalimschy2014-12-291-2/+2
|
* bug: 'random' limit is 2^31-1, not RAND_MAXRoberto Ierusalimschy2014-12-271-3/+5
|
* detailsRoberto Ierusalimschy2014-12-271-4/+4
|
* change in macro 'vmcase', avoding code inside it. (Code inside theRoberto Ierusalimschy2014-12-271-97/+142
| | | | macro harms tools such as debuggers.)
* new year (2015)Roberto Ierusalimschy2014-12-261-3/+3
|
* detail (to avoid warnings)Roberto Ierusalimschy2014-12-261-3/+3
|
* removed macro 'luai_numinvalidop' (main motivation removed, as foldingRoberto Ierusalimschy2014-12-262-15/+2
| | | | does not handle any division by zero by default)
* removed useless initializationsRoberto Ierusalimschy2014-12-262-4/+4
|
* comments were wrong (not updated about several changes)Roberto Ierusalimschy2014-12-201-6/+6
|
* details in 'luaM_reallocvchar'Roberto Ierusalimschy2014-12-192-5/+6
|
* new macro 'luaM_reallocvchar' to allocate arrays of chars (avoidsRoberto Ierusalimschy2014-12-192-3/+9
| | | | uneeded tests and respective warnings)
* new macro 'nvalue' (to convert an object to a float when we knowRoberto Ierusalimschy2014-12-193-10/+7
| | | | object is a number)
* detail (in test for 'luai_numinvalidop', use a round float)Roberto Ierusalimschy2014-12-191-2/+2
|
* commentRoberto Ierusalimschy2014-12-191-2/+2
|
* old Visual Studio versions did not support 'noreturn' attributeRoberto Ierusalimschy2014-12-191-2/+2
|
* stupid bug in T.stacklevel (not in use by the tests)Roberto Ierusalimschy2014-12-181-2/+2
|
* Windows uses 'long long' (instead of '__int64') when present; again,Roberto Ierusalimschy2014-12-161-15/+15
| | | | uses macro LLONG_MAX as a proxy for the support for 'long long'.
* added macro LUA_USE_I64 for separate control of use of Windows-specificRoberto Ierusalimschy2014-12-161-2/+3
| | | | types
* traverse loaded modules (instead of globals) for a name for a function +Roberto Ierusalimschy2014-12-141-5/+13
| | | | removes prefix '_G.' from names (if present)
* commentsRoberto Ierusalimschy2014-12-131-11/+11
|
* in traceback names, give preference to 'name' over '_G.name'Roberto Ierusalimschy2014-12-131-3/+4
|
* reinsertion-control macro renamed: lconfig_h -> luaconf_hRoberto Ierusalimschy2014-12-121-3/+3
|
* correct computation for limit in 'getnum'Roberto Ierusalimschy2014-12-111-3/+3
|
* better limits for 'sting.rep' and 'string.packsize'Roberto Ierusalimschy2014-12-111-12/+17
|
* new specifiers in 'strftime' are defined in C99 (not Posix)Roberto Ierusalimschy2014-12-101-3/+3
|
* 'ipairs' needs an argumentRoberto Ierusalimschy2014-12-101-1/+2
|
* macro 'LUA_C89_NUMBERS' makes a little easier to use C89 numerical typesRoberto Ierusalimschy2014-12-101-37/+25
|
* new function 'string.packsize'Roberto Ierusalimschy2014-12-101-1/+24
|
* give preference to global names in tracebacksRoberto Ierusalimschy2014-12-101-12/+10
|
* new parameter for testC instruction 'pcall' (error handler)Roberto Ierusalimschy2014-12-101-4/+4
|
* error handler does not need to be a function (can be a callableRoberto Ierusalimschy2014-12-101-2/+1
| | | | object)
* redefinition of LUAI_MAXSTACK to make stack-overflow tests run fasterRoberto Ierusalimschy2014-12-091-1/+6
|
* no more 'preloadedlibs' when opening libraries (as it is dead code now)Roberto Ierusalimschy2014-12-092-26/+12
|
* handle case where function was called as a hookRoberto Ierusalimschy2014-12-081-4/+7
|
* In 'debug.gethook', does not query hook table (which may not exist) ifRoberto Ierusalimschy2014-12-081-6/+8
| | | | there is no hook set
* 'assert' checks that it has (at least) one parameter + 'assert' ensuresRoberto Ierusalimschy2014-12-081-4/+5
| | | | it passes only one value to 'error'
* use 'namewhat' when building a tracebackRoberto Ierusalimschy2014-12-081-2/+2
|
* avoid octal numeralsRoberto Ierusalimschy2014-12-081-2/+2
|
* in test mode, debug library is not predefined (to allow testingRoberto Ierusalimschy2014-12-062-3/+11
| | | | 'preloadedlibs')
* no more default size for option 'c' in pack/unpackRoberto Ierusalimschy2014-12-041-2/+6
|
* some functions from test module must be exportedRoberto Ierusalimschy2014-11-291-4/+5
|
* casts ('(int)' -> 'cast_int')Roberto Ierusalimschy2014-11-291-9/+9
|