Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | details ('Type* id' -> 'Type *id') | Roberto Ierusalimschy | 2013-06-07 | 1 | -3/+3 | |
| | ||||||
* | more definitions to support integer formatting | Roberto Ierusalimschy | 2013-04-25 | 1 | -56/+12 | |
| | ||||||
* | details (remove of some extra spaces) | Roberto Ierusalimschy | 2012-08-14 | 1 | -4/+4 | |
| | ||||||
* | Bug: Some patterns can overflow the C stack, due to recursion | Roberto Ierusalimschy | 2012-07-31 | 1 | -77/+124 | |
| | | | | (Took the opportunity to refactor function 'match') | |||||
* | spaces -> tabs in #defines | Roberto Ierusalimschy | 2012-05-23 | 1 | -8/+8 | |
| | ||||||
* | different scheme to check arguments to '%d', '%x', etc. Old scheme | Roberto Ierusalimschy | 2012-04-20 | 1 | -8/+9 | |
| | | | | did not work well when lua_Number is an integer. | |||||
* | 'if' to avoid empty 'memcpy' (may be expensive) | Roberto Ierusalimschy | 2012-04-03 | 1 | -2/+4 | |
| | ||||||
* | allow non-integer arguments to integer formats (%d, %x, etc.), | Roberto Ierusalimschy | 2011-11-30 | 1 | -9/+10 | |
| | | | | but check range | |||||
* | detail (comment) | Roberto Ierusalimschy | 2011-10-25 | 1 | -2/+2 | |
| | ||||||
* | 'string.format' checks whether values for integer formats are | Roberto Ierusalimschy | 2011-08-09 | 1 | -5/+14 | |
| | | | | actually integers | |||||
* | no more errors on accesses to 'string' and strings | Roberto Ierusalimschy | 2011-06-28 | 1 | -19/+7 | |
| | ||||||
* | avoid warning about -unsigned value | Roberto Ierusalimschy | 2011-06-16 | 1 | -2/+2 | |
| | ||||||
* | better way to test overflows with string indices | Roberto Ierusalimschy | 2011-06-09 | 1 | -2/+2 | |
| | ||||||
* | more complete (and hopefuly more correct) handling of 'sizeof(char)' | Roberto Ierusalimschy | 2011-05-03 | 1 | -5/+5 | |
| | ||||||
* | 'LUA_USELONGLONG' -> 'LUA_USE_LONGLONG' | Roberto Ierusalimschy | 2011-04-20 | 1 | -2/+2 | |
| | ||||||
* | use of 'luaL_tolstring' for option '%s' in 'string.format' | Roberto Ierusalimschy | 2011-03-18 | 1 | -3/+3 | |
| | ||||||
* | trying to avoid assumption that sizeof(char)==1 | Roberto Ierusalimschy | 2011-02-07 | 1 | -2/+2 | |
| | ||||||
* | detail (cleaning trailing spaces) | Roberto Ierusalimschy | 2011-01-26 | 1 | -2/+2 | |
| | ||||||
* | 'sep' argument to 'string.rep' + 'string.rep' preallocates entire | Roberto Ierusalimschy | 2011-01-12 | 1 | -9/+23 | |
| | | | | buffer before creating resulting string | |||||
* | error when indexing strings with invalid keys | Roberto Ierusalimschy | 2010-12-20 | 1 | -7/+19 | |
| | ||||||
* | official support for floating hexa numerals | Roberto Ierusalimschy | 2010-12-10 | 1 | -1/+4 | |
| | ||||||
* | 'gfind' was deprecated in 5.1 | Roberto Ierusalimschy | 2010-11-19 | 1 | -8/+1 | |
| | ||||||
* | small bug: 'find' did not detect magic chars after a \0 in a pattern | Roberto Ierusalimschy | 2010-11-16 | 1 | -3/+15 | |
| | | | | and did a plain search in those cases | |||||
* | added support for conditional use of %Lg when using long double | Roberto Ierusalimschy | 2010-11-08 | 1 | -8/+25 | |
| | ||||||
* | comment typos | Roberto Ierusalimschy | 2010-10-29 | 1 | -2/+2 | |
| | ||||||
* | corrected warnings from different compilers (mostly casts and small | Roberto Ierusalimschy | 2010-10-25 | 1 | -3/+3 | |
| | | | | details) | |||||
* | new module policy: C modules do not create globals and do not register | Roberto Ierusalimschy | 2010-07-02 | 1 | -2/+2 | |
| | | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated. | |||||
* | added class '%g' in patterns (for graphical characters) | Roberto Ierusalimschy | 2010-05-24 | 1 | -1/+2 | |
| | ||||||
* | no need to handle '\0' differently from other control chars in | Roberto Ierusalimschy | 2010-05-04 | 1 | -2/+2 | |
| | | | | format '%q' | |||||
* | BUG: 'string.format' may get buffer when there are missing arguments | Roberto Ierusalimschy | 2010-04-12 | 1 | -4/+15 | |
| | ||||||
* | patterns now accept '\0' as a regular character | Roberto Ierusalimschy | 2010-04-12 | 1 | -28/+38 | |
| | ||||||
* | new implementation for Generic Buffer manipulation (using userdata as | Roberto Ierusalimschy | 2010-04-09 | 1 | -22/+27 | |
| | | | | temporary buffer space) | |||||
* | reorganization of switch in function 'match' (details) | Roberto Ierusalimschy | 2010-01-04 | 1 | -18/+18 | |
| |