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