Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | using 'snprintf' in C99 (both for documentation of buffer sizes | Roberto Ierusalimschy | 2015-06-18 | 1 | -16/+18 | |
| | | | | and some complains from tools) | |||||
* | new configuration macro 'l_mathlim' (simplifies some dependencies | Roberto Ierusalimschy | 2015-05-20 | 1 | -10/+7 | |
| | | | | on float type) | |||||
* | more consistent use of locale radix character across Lua | Roberto Ierusalimschy | 2015-04-03 | 1 | -2/+3 | |
| | ||||||
* | details (avoid 'lint' warnings) | Roberto Ierusalimschy | 2015-03-28 | 1 | -12/+12 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2015-02-09 | 1 | -2/+2 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2015-02-05 | 1 | -2/+2 | |
| | ||||||
* | make buffer for format specification a little larger (length modifier | Roberto Ierusalimschy | 2015-02-04 | 1 | -3/+2 | |
| | | | | can be larger than 2, e.g. "I64") | |||||
* | own implementation for 'string.format("%a")' for C89 platforms | Roberto Ierusalimschy | 2015-02-04 | 1 | -3/+84 | |
| | ||||||
* | BUG (when compiled with long double): buffer overflow when formatting | Roberto Ierusalimschy | 2015-01-13 | 1 | -5/+11 | |
| | | | | string.format("%.99f", 1e4930) | |||||
* | correct computation for limit in 'getnum' | Roberto Ierusalimschy | 2014-12-11 | 1 | -3/+3 | |
| | ||||||
* | better limits for 'sting.rep' and 'string.packsize' | Roberto Ierusalimschy | 2014-12-11 | 1 | -12/+17 | |
| | ||||||
* | new function 'string.packsize' | Roberto Ierusalimschy | 2014-12-10 | 1 | -1/+24 | |
| | ||||||
* | no more default size for option 'c' in pack/unpack | Roberto Ierusalimschy | 2014-12-04 | 1 | -2/+6 | |
| | ||||||
* | detail (to avoid a "to avoid warnings" return) | Roberto Ierusalimschy | 2014-11-11 | 1 | -10/+8 | |
| | ||||||
* | details (error messages) | Roberto Ierusalimschy | 2014-11-08 | 1 | -4/+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 | |||||
* | added macro for configuring padding value in 'string.pack' | Roberto Ierusalimschy | 2014-11-04 | 1 | -6/+12 | |
| | ||||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 | |
| | | | | any other header file | |||||
* | 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 | 1 | -2/+2 | |
| | ||||||
* | detail | Roberto Ierusalimschy | 2014-10-28 | 1 | -2/+2 | |
| | ||||||
* | pack/unpack do not handle final '\0' as an "option" (it streches | Roberto Ierusalimschy | 2014-10-27 | 1 | -19/+11 | |
| | | | | unnecessarily the switch range) | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -13/+13 | |
| | ||||||
* | added some casts to avoid warnings in some compilers | Roberto Ierusalimschy | 2014-10-24 | 1 | -3/+3 | |
| | ||||||
* | 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') | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -11/+8 | |
| | ||||||
* | 'dumpint' and related functions replaced by 'string.pack'/'string.unpack' | Roberto Ierusalimschy | 2014-10-17 | 1 | -157/+340 | |
| | ||||||
* | deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) | Roberto Ierusalimschy | 2014-10-01 | 1 | -4/+4 | |
| | ||||||
* | [un]'dumpint' -> [un]'dumpinteger' | Roberto Ierusalimschy | 2014-08-20 | 1 | -3/+3 | |
| | ||||||
* | do not assume numbers are coercible to strings | Roberto Ierusalimschy | 2014-07-30 | 1 | -4/+7 | |
| | ||||||
* | added some casts between integral types (to avoid warnings) | Roberto Ierusalimschy | 2014-07-29 | 1 | -6/+6 | |
| | ||||||
* | using lua_Unsigned (instead of lua_Integer) for bit manipulation | Roberto Ierusalimschy | 2014-04-27 | 1 | -7/+8 | |
| | ||||||
* | back to larger sizes for 'dumpint/undumpint' (small Lua should | Roberto Ierusalimschy | 2014-04-16 | 1 | -13/+39 | |
| | | | | be able to dump/undump long-long integers) | |||||
* | size of strings in 'string.rep' should be limited by the size of | Roberto Ierusalimschy | 2014-04-14 | 1 | -3/+3 | |
| | | | | lua_Integer, not of 'int' | |||||
* | new global macro 'LUA_MAXUNSIGNED' | Roberto Ierusalimschy | 2014-04-12 | 1 | -2/+2 | |
| | ||||||
* | maximum size for dump of integers is size of lua_Integer (which | Roberto Ierusalimschy | 2014-04-10 | 1 | -36/+17 | |
| | | | | means that there is no overflows when undumping) | |||||
* | pack/unpack functions renamed dump/undump | Roberto Ierusalimschy | 2014-04-10 | 1 | -14/+14 | |
| | ||||||
* | avoid constant overflow when shifting left signed integers until | Roberto Ierusalimschy | 2014-04-03 | 1 | -5/+5 | |
| | | | | their last bit | |||||
* | fancier way to do sign extension | Roberto Ierusalimschy | 2014-03-31 | 1 | -4/+3 | |
| | ||||||
* | missplelling in comments/function names (endianess -> endianness) | Roberto Ierusalimschy | 2014-03-27 | 1 | -8/+8 | |
| | ||||||
* | native lua_Number may be neither float nor double (in pack/unpackfloat) | Roberto Ierusalimschy | 2014-03-21 | 1 | -17/+22 | |
| | ||||||
* | details (typos in comments) | Roberto Ierusalimschy | 2014-03-21 | 1 | -8/+8 | |
| | ||||||
* | detail in string.rep: allow large repetitions of the empty string (no | Roberto Ierusalimschy | 2014-03-12 | 1 | -4/+5 | |
| | | | | possibility of overflows) | |||||
* | added 'strip' parameter to lua_dump/string.dump | Roberto Ierusalimschy | 2014-02-25 | 1 | -2/+3 | |
| | ||||||
* | added explicit default options to string.pack/unpack functions | Roberto Ierusalimschy | 2014-01-09 | 1 | -5/+9 | |
| | ||||||
* | first implementation for string.pack/unpackfloat + try not to assume | Roberto Ierusalimschy | 2014-01-08 | 1 | -14/+97 | |
| | | | | that chars have 8 bits | |||||
* | first implementation of string.packint/string.unpackint | Roberto Ierusalimschy | 2014-01-05 | 1 | -1/+124 | |
| | ||||||
* | added "reasonable" limit for 'string.rep' (otherwise it is too easy | Roberto Ierusalimschy | 2013-06-20 | 1 | -3/+8 | |
| | | | | to crash the machine) | |||||
* | use lua_Integer for integer parameters to avoid truncation | Roberto Ierusalimschy | 2013-06-19 | 1 | -15/+15 | |
| |