Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | allows calling luaL_checkstack with no message (in runC) | Roberto Ierusalimschy | 2014-11-14 | 1 | -2/+5 | |
| | ||||||
* | small bug (error of "chunk has too many lines" might use 't.token' | Roberto Ierusalimschy | 2014-11-14 | 1 | -2/+3 | |
| | | | | before reading the first token) | |||||
* | uses return value from luaL_getmetatable | Roberto Ierusalimschy | 2014-11-12 | 1 | -3/+2 | |
| | ||||||
* | uses return value from lua_getfield | Roberto Ierusalimschy | 2014-11-12 | 1 | -3/+3 | |
| | ||||||
* | details (matching parameter names with manual) | Roberto Ierusalimschy | 2014-11-12 | 1 | -10/+11 | |
| | ||||||
* | details (match parameter names with lua.h and manual) | Roberto Ierusalimschy | 2014-11-12 | 1 | -12/+12 | |
| | ||||||
* | detail (use new returned value from 'lua_getglobal' ) | Roberto Ierusalimschy | 2014-11-11 | 1 | -3/+2 | |
| | ||||||
* | detail (to avoid a "to avoid warnings" return) | Roberto Ierusalimschy | 2014-11-11 | 1 | -10/+8 | |
| | ||||||
* | independent code for 'printstack' + test for panic function can | Roberto Ierusalimschy | 2014-11-11 | 1 | -17/+21 | |
| | | | | ran code there | |||||
* | no need to ensure any stack space for panic function + some changes | Roberto Ierusalimschy | 2014-11-11 | 1 | -16/+12 | |
| | | | | in 'tryfuncTM' (small simplification) | |||||
* | details | Roberto Ierusalimschy | 2014-11-11 | 1 | -3/+3 | |
| | ||||||
* | details | Roberto Ierusalimschy | 2014-11-10 | 1 | -7/+11 | |
| | ||||||
* | bug: memory error in panic mode does not push error message on | Roberto Ierusalimschy | 2014-11-10 | 1 | -2/+14 | |
| | | | | the stack + stack check in tryfuncTM + comments | |||||
* | new function 'T.checkpanic' (to check panic errors) | Roberto Ierusalimschy | 2014-11-10 | 1 | -1/+52 | |
| | ||||||
* | detail (comment) | Roberto Ierusalimschy | 2014-11-10 | 1 | -2/+2 | |
| | ||||||
* | luaL_loadbuffer replaced by luaL_loadstring (to test luaL_loadstring) | Roberto Ierusalimschy | 2014-11-10 | 1 | -4/+11 | |
| | | | | + 'rawgetp'/'rawsetp' added to C interpreter | |||||
* | added missing cases for debug info about tag methods + | Roberto Ierusalimschy | 2014-11-10 | 1 | -17/+20 | |
| | | | | better error message for bitwise operators | |||||
* | better error message for bitwise operators (they are not arithmetic...) | Roberto Ierusalimschy | 2014-11-10 | 2 | -5/+8 | |
| | ||||||
* | using address instead of string for key for table 'CLIBS' in the | Roberto Ierusalimschy | 2014-11-10 | 1 | -6/+10 | |
| | | | | registry | |||||
* | using address key (light userdata) for hook table, instead of | Roberto Ierusalimschy | 2014-11-10 | 1 | -12/+12 | |
| | | | | string | |||||
* | removed unneeded test (result of b_str2int is already checked | Roberto Ierusalimschy | 2014-11-10 | 1 | -3/+1 | |
| | | | | against length) | |||||
* | details (error messages) | Roberto Ierusalimschy | 2014-11-08 | 1 | -4/+3 | |
| | ||||||
* | detail (line break) | Roberto Ierusalimschy | 2014-11-08 | 1 | -3/+2 | |
| | ||||||
* | when checking thread consistency, check its entire stack (always | Roberto Ierusalimschy | 2014-11-07 | 1 | -4/+4 | |
| | | | | the entire stack must have valid values) | |||||
* | cleaner test for overflow for range of 'math.random' | Roberto Ierusalimschy | 2014-11-07 | 1 | -3/+3 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2014-11-05 | 1 | -2/+2 | |
| | ||||||
* | more direct way to fill sign-extension extra bytes when packing | Roberto Ierusalimschy | 2014-11-05 | 1 | -13/+29 | |
| | | | | integers with sizes larger than lua_Integer + added comments | |||||
* | removed repeated flags (-Wall/-Wdisabled-optimization) + removed flag | Roberto Ierusalimschy | 2014-11-05 | 1 | -73/+77 | |
| | | | | | -Wcast-align (Lua does some unconventional casts) + added flag -std=c99 + added file lprefix.h in dependency lists | |||||
* | no need to cast '*s' to unsigned char when we know it is a digit + | Roberto Ierusalimschy | 2014-11-04 | 1 | -4/+4 | |
| | | | | no need to call 'luaO_hexavalue' for decimal digits | |||||
* | added macro for configuring padding value in 'string.pack' | Roberto Ierusalimschy | 2014-11-04 | 1 | -6/+12 | |
| | ||||||
* | macro to change method of conversion from float to integer (make it | Roberto Ierusalimschy | 2014-11-03 | 1 | -6/+15 | |
| | | | | use floor intead of requiring an exact integral value) | |||||
* | Definitions for Lua code that must come before any other header file | Roberto Ierusalimschy | 2014-11-03 | 1 | -0/+39 | |
| | ||||||
* | keep "#include <windows.h>" in this file, but without the | Roberto Ierusalimschy | 2014-11-03 | 1 | -1/+3 | |
| | | | | | previous requirement that it must be included before any other header file (it doesn't seem to matter) | |||||
* | Windows uses "LONGLONG" option, even not having long long (it has __int64) | Roberto Ierusalimschy | 2014-11-02 | 1 | -12/+17 | |
| | ||||||
* | comments (references to "ANSI C" changed to "ISO C", which is the | Roberto Ierusalimschy | 2014-11-02 | 8 | -20/+19 | |
| | | | | international name | |||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 35 | -145/+198 | |
| | | | | any other header file | |||||
* | 'lua_load' sets _ENV for any chunk with upvalues (not just those | Roberto Ierusalimschy | 2014-10-31 | 1 | -2/+2 | |
| | | | | with exactly one upvalue) | |||||
* | LUA_WIN -> LUA_USE_WINDOWS | Roberto Ierusalimschy | 2014-10-31 | 2 | -5/+5 | |
| | ||||||
* | new option '=' (native endian) for pack/unpack | Roberto Ierusalimschy | 2014-10-31 | 1 | -1/+2 | |
| | ||||||
* | comments (a few extra quotes around identifiers) | Roberto Ierusalimschy | 2014-10-30 | 6 | -17/+17 | |
| | ||||||
* | default changed from C89 to C99 + extra tests before using C99 | Roberto Ierusalimschy | 2014-10-30 | 1 | -82/+92 | |
| | | | | | features (when possible) + LUA_32BITS use 'int' when possible ('long' can be 64 bits) | |||||
* | Better organization of definitions in categories + removed | Roberto Ierusalimschy | 2014-10-29 | 1 | -170/+165 | |
| | | | | | | | '_CRT_SECURE_NO_WARNINGS' (useless there) + LUA_ENV/luai_writestring/ luai_writeline/luai_writestringerror/LUA_INT32/LUAI_UMEM/LUAI_MEM moved to other places (no need to be in luaconf.h) + changed definition for LUAL_BUFFERSIZE | |||||
* | configurations for types 'lu_mem'/'l_mem'/'Instruction' moved to here | Roberto Ierusalimschy | 2014-10-29 | 1 | -14/+26 | |
| | | | | | (from 'luaconf.h'), as they are not needed by the API and probably will not be changed | |||||
* | definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror' | Roberto Ierusalimschy | 2014-10-29 | 5 | -21/+46 | |
| | | | | | moved to 'lauxlib.h' (they do not need to be stable or configurable) + prefixes changed from 'luai_' to 'lua_' (they are not part of the core) | |||||
* | definition for 'LUA_ENV' moved from 'luaconf.h' to here (no need to | Roberto Ierusalimschy | 2014-10-29 | 1 | -1/+5 | |
| | | | | be visible outside Lua + no need for easy redefinitions) | |||||
* | added comment and assert about an (impossible) division by zero | Roberto Ierusalimschy | 2014-10-29 | 1 | -3/+6 | |
| | ||||||
* | small simplifications in code for 'lua_strx2number' | Roberto Ierusalimschy | 2014-10-28 | 1 | -15/+13 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2014-10-28 | 1 | -2/+2 | |
| | ||||||
* | removed useless 'include math.h' | Roberto Ierusalimschy | 2014-10-28 | 1 | -2/+1 | |
| | ||||||
* | comment | Roberto Ierusalimschy | 2014-10-28 | 1 | -2/+2 | |
| |