aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* detailRoberto Ierusalimschy2015-03-101-3/+3
|
* line history keep lines without added 'return'Roberto Ierusalimschy2015-03-091-8/+11
|
* always use macros to operate on lua_NumbersRoberto Ierusalimschy2015-03-071-2/+2
|
* macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameterRoberto Ierusalimschy2015-03-066-54/+60
| | | | (some people use it)
* allocation function is not exactly API (and cannot raise errorsRoberto Ierusalimschy2015-03-061-3/+2
| | | | like other API functions); better not use 'api_check' for cheking it.
* detail (use 'lua_pushliteral' to push an empty string)Roberto Ierusalimschy2015-03-061-2/+2
|
* avoid using 'lua_pushliteral' in a non-zero-terminated stringRoberto Ierusalimschy2015-03-051-2/+2
|
* avoid testing for NULL when marking objects that cannot be NULLRoberto Ierusalimschy2015-03-041-11/+21
|
* new cache for interning stringsRoberto Ierusalimschy2015-03-046-15/+61
|
* 'point2int' -> 'point2uint' (to reflect its actual result type)Roberto Ierusalimschy2015-03-032-5/+5
|
* do not attempt emergency collection while building state (it isRoberto Ierusalimschy2015-03-031-3/+5
| | | | useless, and state can be inconsistent)
* detail (use 'luaS_newliteral' when possible)Roberto Ierusalimschy2015-03-031-3/+3
|
* configuration for numerical types through only one #define forRoberto Ierusalimschy2015-03-021-20/+28
| | | | each type
* new macros 'chgfltvalue'/'chgivalue' (numerical for loop doesRoberto Ierusalimschy2015-03-022-4/+10
| | | | not need to set the type of its internal variable at each iteration)
* LUA_COMPAT_5_1 needs some options deprecated from 5.2 to 5.3Roberto Ierusalimschy2015-02-281-10/+14
|
* added patches to two bugsRoberto Ierusalimschy2015-02-231-13/+28
|
* bug: 'string.format("%f")' can cause a buffer overflow (with long doubles)Roberto Ierusalimschy2015-02-201-2/+92
| | | | | bug: 'debug.getlocal' on a coroutine suspended in a hook can crash the interpreter
* 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (oldRoberto Ierusalimschy2015-02-203-41/+21
| | | | 'tointeger_aux'), which can do the same job.
* make 'hashfloat' configurableRoberto Ierusalimschy2015-02-201-8/+8
|
* bug: when manipulating other threads, there is no garanties aboutRoberto Ierusalimschy2015-02-191-1/+20
| | | | their stack space
* detail (file does not need 'string.h')Roberto Ierusalimschy2015-02-161-2/+1
|
* detail ('fopen' needs 'stdio.h')Roberto Ierusalimschy2015-02-161-1/+2
|
* bug: suspended function can have its 'func' field not pointing toRoberto Ierusalimschy2015-02-131-2/+25
| | | | its function, crashing debug functions
* some changes in 'hashfloat' to avoid undefined (in ISO C) numericalRoberto Ierusalimschy2015-02-131-8/+21
| | | | conversions
* added API checks to some unprotected 'top' incrementsRoberto Ierusalimschy2015-02-111-7/+12
|
* detailRoberto Ierusalimschy2015-02-091-2/+2
|
* bug (in 5.2): Chunk with too many lines can seg. faultRoberto Ierusalimschy2015-02-091-2/+26
|
* detail (no need to write 'double' in source)Roberto Ierusalimschy2015-02-091-3/+4
|
* detail (use 'l_floor' instead of 'l_mathop(floor)')Roberto Ierusalimschy2015-02-091-2/+2
|
* detailRoberto Ierusalimschy2015-02-051-2/+2
|
* macros 'luai_num*' (for float arithmetic operations) moved toRoberto Ierusalimschy2015-02-054-46/+53
| | | | llimits.h.
* added comments documenting LUA_NOCVTN2S/LUA_NOCVTS2NRoberto Ierusalimschy2015-02-051-1/+19
|
* make buffer for format specification a little larger (length modifierRoberto Ierusalimschy2015-02-041-3/+2
| | | | can be larger than 2, e.g. "I64")