Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | small reorganization of tests around LUA_USE_C99 | Roberto Ierusalimschy | 2014-10-27 | 2 | -41/+26 |
| | |||||
* | comments + Windows numeric types not used if LUA_ANSI is defined | Roberto Ierusalimschy | 2014-10-27 | 1 | -6/+7 |
| | |||||
* | comments | Roberto Ierusalimschy | 2014-10-27 | 1 | -5/+5 |
| | |||||
* | 'T.limits' reports some more useful limits | Roberto Ierusalimschy | 2014-10-27 | 1 | -2/+5 |
| | |||||
* | better (and safer?) way to test native size of type 'int' | Roberto Ierusalimschy | 2014-10-27 | 1 | -11/+9 |
| | |||||
* | 'MAXSTACK' -> 'MAXREGS' and moved to 'lcode.c' (there is no reason | Roberto Ierusalimschy | 2014-10-27 | 2 | -7/+7 |
| | | | | to change that constant...) | ||||
* | pack/unpack do not handle final '\0' as an "option" (it streches | Roberto Ierusalimschy | 2014-10-27 | 1 | -19/+11 |
| | | | | unnecessarily the switch range) | ||||
* | detail | Roberto Ierusalimschy | 2014-10-26 | 1 | -2/+2 |
| | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 31 | -180/+180 |
| | |||||
* | avoid redeclaration of _CRT_SECURE_NO_WARNINGS + 'lua_numtointeger' -> | Roberto Ierusalimschy | 2014-10-24 | 1 | -3/+5 |
| | | | | 'lua_numbertointeger' | ||||
* | added some casts to avoid warnings in some compilers | Roberto Ierusalimschy | 2014-10-24 | 2 | -6/+6 |
| | |||||
* | 'lua_numtointeger' -> 'lua_numbertointeger' | Roberto Ierusalimschy | 2014-10-24 | 3 | -6/+6 |
| | |||||
* | detail (using 'sizeof' instead of 'strlen' for length of a constantv5.3-beta | Roberto Ierusalimschy | 2014-10-22 | 1 | -2/+3 |
| | | | | string) | ||||
* | added 'l_' prefix for names that can be redefined externally | Roberto Ierusalimschy | 2014-10-22 | 3 | -13/+13 |
| | |||||
* | use 'opf' (float) variants only when explicitly allowed (LUA_USE_C99) | Roberto Ierusalimschy | 2014-10-21 | 1 | -9/+4 |
| | |||||
* | comments | Roberto Ierusalimschy | 2014-10-20 | 1 | -5/+6 |
| | |||||
* | error in comment | Roberto Ierusalimschy | 2014-10-20 | 1 | -2/+2 |
| | |||||
* | message handler always adds a traceback to messages (even if they | Roberto Ierusalimschy | 2014-10-20 | 1 | -14/+14 |
| | | | | are not strings), unless they have a __tostring method. | ||||
* | in 'pack'/'unpack', endianness and alignment treated like options + | Roberto Ierusalimschy | 2014-10-20 | 1 | -55/+52 |
| | | | | small changes in names and handling of internal options ('KOption') | ||||
* | does not use 'long long' when LUA_ANSI is set | Roberto Ierusalimschy | 2014-10-20 | 1 | -2/+2 |
| | |||||
* | 'lua_stringtonum' -> 'lua_stringtonumber' | Roberto Ierusalimschy | 2014-10-17 | 4 | -10/+10 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 16 | -75/+67 |
| | |||||
* | 'debug.sizeof' removed | Roberto Ierusalimschy | 2014-10-17 | 1 | -29/+1 |
| | |||||
* | 'dumpint' and related functions replaced by 'string.pack'/'string.unpack' | Roberto Ierusalimschy | 2014-10-17 | 1 | -157/+340 |
| | |||||
* | added "_CRT_SECURE_NO_WARNINGS" for Windows (to avoid warnings about | Roberto Ierusalimschy | 2014-10-15 | 1 | -9/+6 |
| | | | | several standard C functions) + small changes in '#include's | ||||
* | 'charpatt' -> 'charpattern' | Roberto Ierusalimschy | 2014-10-15 | 1 | -3/+3 |
| | |||||
* | 'lua_strtonum' -> 'lua_stringtonum' | Roberto Ierusalimschy | 2014-10-15 | 4 | -9/+9 |
| | |||||
* | '$c' in 'lua_pushfstring' prints non-printable characters with | Roberto Ierusalimschy | 2014-10-10 | 2 | -6/+8 |
| | | | | their codes |