Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no more "-2" for limits. (Limits should be precise; safety is in | Roberto Ierusalimschy | 2014-07-18 | 1 | -6/+6 |
| | | | | the code that handles these limits.) | ||||
* | detail (no need to define LUAI_USER_ALIGNMENT_T when it is not | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+5 |
| | | | | defined; simpler to define 'L_Umaxalign' directly) | ||||
* | removed unused parameter Ä'L' in macro 'api_check' and company | Roberto Ierusalimschy | 2014-07-15 | 1 | -7/+4 |
| | |||||
* | 'IntPoint' -> 'point2int' + ensure that casted value fits in | Roberto Ierusalimschy | 2014-06-26 | 1 | -3/+3 |
| | | | | destination type | ||||
* | cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from | Roberto Ierusalimschy | 2014-04-15 | 1 | -5/+9 |
| | | | | outside (mostly for testing) | ||||
* | macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that | Roberto Ierusalimschy | 2014-04-15 | 1 | -3/+12 |
| | | | | should be used only between lua_Integer and lua_Unsigned | ||||
* | new global macro 'LUA_MAXUNSIGNED' | Roberto Ierusalimschy | 2014-04-12 | 1 | -5/+1 |
| | |||||
* | correct definition for 'MAX_SIZE' (using singed integers as the limit, | Roberto Ierusalimschy | 2014-04-11 | 1 | -8/+9 |
| | | | | not unsigned ones) + new type 'l_uacInt' | ||||
* | 'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER' | Roberto Ierusalimschy | 2014-04-11 | 1 | -5/+2 |
| | |||||
* | new macro 'cast_void' | Roberto Ierusalimschy | 2014-03-07 | 1 | -1/+2 |
| | |||||
* | added macro MAX_UINTEGER | Roberto Ierusalimschy | 2014-02-26 | 1 | -3/+5 |
| | |||||
* | initial size of string table (MINSTRTABSIZE) should be large enough | Roberto Ierusalimschy | 2013-08-21 | 1 | -2/+2 |
| | | | | to hold all strings needed by an empty Lua state | ||||
* | new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible | Roberto Ierusalimschy | 2013-06-19 | 1 | -1/+7 |
| | | | | from Lua; these must fit in a lua_Integer | ||||
* | removed all tricks for conversions + 'luai_hashnum' moved to ltable.c | Roberto Ierusalimschy | 2013-05-29 | 1 | -43/+1 |
| | |||||
* | "legal" way to convert a float to an integer in C | Roberto Ierusalimschy | 2013-05-27 | 1 | -1/+7 |
| | |||||
* | removed 'IEEE tricks' (should not be needed in Lua with integers) | Roberto Ierusalimschy | 2013-05-23 | 1 | -56/+1 |
| | |||||
* | new cast macros for lua_Integer and lua_Unsigned | Roberto Ierusalimschy | 2013-04-25 | 1 | -1/+3 |
| | |||||
* | 'l_tg' was renamed to 'l_mathop' and this use was not corrected at | Roberto Ierusalimschy | 2013-02-20 | 1 | -2/+2 |
| | | | | the time | ||||
* | small improvement in the support of 'float' as lua_Number | Roberto Ierusalimschy | 2013-01-29 | 1 | -2/+2 |
| | |||||
* | macro 'lua_number2unsigned' also needs proper definition if | Roberto Ierusalimschy | 2012-10-02 | 1 | -2/+2 |
| | | | | lua_Number is float | ||||
* | LUA_CORE condition removed from definition of some 'tricks' (as it | Roberto Ierusalimschy | 2012-10-01 | 1 | -2/+2 |
| | | | | | controlled only a few other defines) + MS_ASMTRICK renamed to LUA_MSASMTRICK | ||||
* | definition for 'MAX_LMEM' | Roberto Ierusalimschy | 2012-05-28 | 1 | -1/+3 |
| | |||||
* | better(?) handling of '#define's for IEEE-related tricks + avoid using | Roberto Ierusalimschy | 2012-05-11 | 1 | -5/+10 |
| | | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines) | ||||
* | definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there) | Roberto Ierusalimschy | 2012-03-28 | 1 | -10/+1 |
| | |||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 1 | -1/+10 |
| | |||||
* | no more explicit support for 'luaall_c': unifying file can do | Roberto Ierusalimschy | 2011-12-06 | 1 | -2/+2 |
| | | | | the work | ||||
* | small change to avoid warnings of non-specified order of access | Roberto Ierusalimschy | 2011-11-29 | 1 | -2/+2 |
| | | | | to volatile fields | ||||
* | new type 'l_noret' for function that do not return | Roberto Ierusalimschy | 2011-10-07 | 1 | -1/+14 |
| | |||||
* | lint (unused definition) | Roberto Ierusalimschy | 2011-09-30 | 1 | -2/+1 |
| | |||||
* | detail (make 'lua_assert' a valid expression even when turned off) | Roberto Ierusalimschy | 2011-09-13 | 1 | -3/+3 |
| | |||||
* | simpler 'luai_apicheck' (and avoids compilation error...) | Roberto Ierusalimschy | 2011-07-02 | 1 | -3/+7 |
| | |||||
* | new macro 'lua_longassert' that is equivalent to an assertion without | Roberto Ierusalimschy | 2011-05-05 | 1 | -1/+4 |
| | | | | | a stringfication of the condition, to avoid too long string literals (limited by C90 to ~510 characters) | ||||
* | small problems with 'luaone.c' | Roberto Ierusalimschy | 2011-02-28 | 1 | -3/+3 |
| | |||||
* | better control for GC running or stopped | Roberto Ierusalimschy | 2011-02-01 | 1 | -2/+2 |
| | |||||
* | more efficient hash for numbers in IEEE754 machines | Roberto Ierusalimschy | 2010-12-23 | 1 | -9/+10 |
| | |||||
* | new macro 'cast_uchar' | Roberto Ierusalimschy | 2010-12-10 | 1 | -1/+2 |
| | |||||
* | code should not use "defined" types, but "typedef"s types when they | Roberto Ierusalimschy | 2010-11-08 | 1 | -10/+11 |
| | | | | | | are available (i.e., after including lua.h) + small changes to make conversions more portable across diferent types for lua_Number (long double) and lua_Unsigned (long long unsigned) | ||||
* | code for conversion macros moved from luaconf to llimits + 'uint' | Roberto Ierusalimschy | 2010-11-03 | 1 | -1/+90 |
| | | | | renamed to 'unsigned' in those macros | ||||
* | new macro MAXUPVAL (maximum number of upvalues per closure) | Roberto Ierusalimschy | 2010-05-31 | 1 | -1/+6 |
| | |||||
* | GC should not run when stopped, even in hard tests | Roberto Ierusalimschy | 2010-05-24 | 1 | -2/+3 |
| | |||||
* | 'lua_assert' can be empty when assertions are off | Roberto Ierusalimschy | 2010-05-07 | 1 | -2/+2 |
| | |||||
* | new way to control GC speed (keeping a 'debt' counter) | Roberto Ierusalimschy | 2010-04-29 | 1 | -1/+2 |
| | |||||
* | ensure that 'luai_userstatethread' is always called (even if | Roberto Ierusalimschy | 2010-04-19 | 1 | -5/+5 |
| | | | | 'stack_init' throws a memory error) | ||||
* | more options moved from luaconf.h into internal files | Roberto Ierusalimschy | 2009-12-17 | 1 | -1/+33 |
| | |||||
* | several configuration options that do not change often moved out of | Roberto Ierusalimschy | 2009-12-17 | 1 | -15/+30 |
| | | | | luaconf.h and into more internal files | ||||
* | when doing hard memory tests, perform a full GC at every possible step | Roberto Ierusalimschy | 2009-11-17 | 1 | -1/+7 |
| | |||||
* | API checks now have explanatory messages | Roberto Ierusalimschy | 2009-08-31 | 1 | -3/+5 |
| | |||||
* | new way to control stack overflow, controling only total size of the stack | Roberto Ierusalimschy | 2009-07-15 | 1 | -3/+3 |
| | |||||
* | use of LUAI_UINT32 replaced by 'unsigned LUA_INT32' (one less | Roberto Ierusalimschy | 2009-07-01 | 1 | -2/+2 |
| | | | | definition needed) | ||||
* | new macro 'condmovestack' instead of 'condhardstacktests' | Roberto Ierusalimschy | 2009-06-08 | 1 | -3/+4 |
| |