Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 0705e7b39f detail (no need to write 'double' in source) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 4ccc4578b3 detail (use 'l_floor' instead of 'l_mathop(floor)') %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 5e8c162b6c detail %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy c8d6cb0136 macros 'luai_num*' (for float arithmetic operations) moved to %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 0edcdf49c0 added comments documenting LUA_NOCVTN2S/LUA_NOCVTS2N %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy b7dfd18612 make buffer for format specification a little larger (length modifier %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 8efcd411fe own implementation for 'string.format("%a")' for C89 platforms %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 90d016980f detail ('luaL_getmetatable' does not return a boolean, but a tag) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy b3996c55f6 LUAL_BUFFERSIZE affects the API, so it is better not to change it %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 438a9fcc78 LUAI_MAXSHORTLEN moved from 'luaconf.h' to 'llimits.h' (does not %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 7e2015a46d size of short strings stored in a single byte, to reduce the size %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 5b01cb39b5 larger MINSTRTABSIZE (standard Lua starts with ~230 strings, after %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy a0503305bd comments %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 965f74525b removed macro LUAI_FIRSTPSEUDOIDX (that stuff does not need %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 3f2e21f0ea Long double needs a larger LUAL_BUFFERSIZE (because %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 3509914916 BUG (when compiled with long double): buffer overflow when formatting %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy ae27be40c9 better check for overflows in 'table.move' (removes restriction that %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy cdd26700e8 definition for 'MAXUPVAL' moved for a more "private" place and its %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy a9a4bf68b0 typo in comment %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy f31cc8e342 typo in error message %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 3c55790ebe 'setkey' -> 'setnodekey' (to avoid conflicts with POSIX) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 0adfa773b9 new macro 'cast_func' adds '__extension__' (in gnu compilers) when %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 3317f5c6d9 includes 'stddef.h' (as it uses NULL) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy dbf911c516 detail (added -Wconversion as a comment, to be used ocasionally) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 3a29087cb7 'lua_setlocal' should not pop value when failing (to be consistent %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 234fb7f695 clearer(?) code (also avoids a warning about 'c' being used %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy c077d47465 does not define _XOPEN_SOURCE when LUA_USE_C89 is defined + defining %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 8e5290d81e all "divisions" (div,idiv,mod) by zero are not folded, to avoid %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy a1c37f834a detail (macro 'luai_numidiv' uses 'luai_numdiv' to compute the division) %!s(int64=10) %!d(string=hai) anos
  Roberto Ierusalimschy 1a7868c1d5 bug: 'random' limit is 2^31-1, not RAND_MAX %!s(int64=10) %!d(string=hai) anos