Roberto Ierusalimschy
|
abb85fc059
|
new definition for 'luaD_checkstack' to avoid possible overflows
|
16 years ago |
Roberto Ierusalimschy
|
aabe3ddbf4
|
errors in 'resume' should be all protected
|
16 years ago |
Roberto Ierusalimschy
|
0c258c8492
|
smart use of varargs may create functions that return too
many arguments and overflow the stack of C functions.
|
16 years ago |
Roberto Ierusalimschy
|
d57c9cdefc
|
BUG: 'luaV_settable' may invalidate a reference to a table and try
to reuse it.
|
16 years ago |
Roberto Ierusalimschy
|
afb3f7e754
|
bug: 'luaV_settable' may invalidate a reference to a table and try
to reuse it.
|
16 years ago |
Roberto Ierusalimschy
|
88564c3aec
|
Standard library for bitwise operations
|
16 years ago |
Roberto Ierusalimschy
|
3abe3da9fb
|
new module 'lbitlib.c' for bitwise operations
|
16 years ago |
Roberto Ierusalimschy
|
eb8499c8e0
|
use of LUAI_UINT32 replaced by 'unsigned LUA_INT32' (one less
definition needed)
|
16 years ago |
Roberto Ierusalimschy
|
47c562435b
|
better error messages for luaL_checkversion
|
16 years ago |
Roberto Ierusalimschy
|
02504d86d3
|
l_version may be local to 'lua_version'
|
16 years ago |
Roberto Ierusalimschy
|
4a818f068a
|
'checkversion' implemented in the auxiliary library
|
16 years ago |
Roberto Ierusalimschy
|
1d6ebce296
|
new function 'lua_version' (so that 'checkversion' can be implemented
in the auxiliary library)
|
16 years ago |
Roberto Ierusalimschy
|
bc3e02a1b7
|
default paths have dot option as the last one (to improve security)
|
16 years ago |
Roberto Ierusalimschy
|
f4eed60ca9
|
better treatment of integer formats in string.format
|
16 years ago |
Roberto Ierusalimschy
|
c1de1fdac6
|
small optimization in 'lua_arith' (avoids overhead in the common case
of both arguments being numbers)
|
16 years ago |
Roberto Ierusalimschy
|
a36c8e1718
|
new macro 'changenvalue'
|
16 years ago |
Roberto Ierusalimschy
|
d7872dcf91
|
small optimization (reorder of BinOpr enum to unify some cases
in switches)
|
16 years ago |
Roberto Ierusalimschy
|
14115170bc
|
lua_objlen should not work for numbers (according to the manual)
|
16 years ago |
Roberto Ierusalimschy
|
ec52149485
|
'lua_lessthan' replaced by more generic 'lua_compare'
|
16 years ago |
Roberto Ierusalimschy
|
6980cb1aa7
|
new functions 'lua_arith' and 'lua_compare'
|
16 years ago |
Roberto Ierusalimschy
|
59a59fafc6
|
exports luaV_arith to be used by lua_arith
|
16 years ago |
Roberto Ierusalimschy
|
2bdd194f43
|
exports luaV_arith to be used by lua_arith + uses 'luaO_arith' to
perform basic arith. operations
|
16 years ago |
Roberto Ierusalimschy
|
96fa34ec32
|
constant folding uses 'luaO_arith' to perform basic operations
|
16 years ago |
Roberto Ierusalimschy
|
6a024df440
|
new function 'luaO_arith' to perform basic arithmetic operations
|
16 years ago |
Roberto Ierusalimschy
|
77fd93188e
|
'lessequal' renamed 'luaV_lessequal' and exported to be used by
'lua_compare'
|
16 years ago |
Roberto Ierusalimschy
|
a21c89ddc8
|
new API function 'lua_mainthread'
|
16 years ago |
Roberto Ierusalimschy
|
49b88b1c39
|
patch for wrong code generation for some particular boolean expressions
|
16 years ago |
Roberto Ierusalimschy
|
3db5f60547
|
BUG: "(((1 or false) and true) or false)" gives wrong result
|
16 years ago |
Roberto Ierusalimschy
|
2258ec6bc9
|
'getline' renamed to 'getfuncline' (to avoid problems with POSIX)
|
16 years ago |
Roberto Ierusalimschy
|
2598138ece
|
new function 'luaK_codek' (detail)
|
16 years ago |
Roberto Ierusalimschy
|
4a67e48611
|
new macro 'condmovestack' instead of 'condhardstacktests'
|
16 years ago |
Roberto Ierusalimschy
|
5cdec7d124
|
added "\n" at the end of 'package.config' (so that the string
is a sequence of complete lines)
|
16 years ago |
Roberto Ierusalimschy
|
9423e22aa3
|
no more L->base + ci->base only for Lua functions (C functions may use
'func')
|
16 years ago |
Roberto Ierusalimschy
|
57f8414de1
|
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
16 years ago |
Roberto Ierusalimschy
|
139d562861
|
type of 'luai_ctype_' array changed to unsigned (safer for bitwise
operations)
|
16 years ago |
Roberto Ierusalimschy
|
eea6d10866
|
details (use ci->base instead of L->base when possible)
|
16 years ago |
Roberto Ierusalimschy
|
019ebcb85f
|
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
__gc MetaMethod)
|
16 years ago |
Roberto Ierusalimschy
|
889284ebd0
|
hexadecimal escape sequences in strings + better error messages for
bad decimal escape sequences
|
16 years ago |
Roberto Ierusalimschy
|
6956331093
|
new macro 'zungetc'
|
16 years ago |
Roberto Ierusalimschy
|
92479f1a8b
|
new property 'lisupper' (needed to compute values for hexa digits)
|
16 years ago |
Roberto Ierusalimschy
|
e67dc3a227
|
'symbexec' merged with 'getobjname' (as only use for symbolic execution
now is to find a "good" name for an object)
|
16 years ago |
Roberto Ierusalimschy
|
0cc3add9f8
|
variable renaming: 'lualibs' -> 'loadedlibs'; 'luareqlibs' ->
'preloadedlibs'
|
16 years ago |
Roberto Ierusalimschy
|
71c2eeff98
|
comments
|
16 years ago |
Roberto Ierusalimschy
|
d7bc346d7a
|
no more code checking
|
16 years ago |
Roberto Ierusalimschy
|
673c456cba
|
resize string hash table only when new size is smaller than current one
|
16 years ago |
Roberto Ierusalimschy
|
ea44570883
|
hash table for strings is rehashed in place
|
16 years ago |
Roberto Ierusalimschy
|
e091a254df
|
new way to GC stacks: the entire stack must be correct all the times;
the 'dead' part of a stack (after the top) must have only nil's, so
that 'top' may go up without cleaning the stack.
|
16 years ago |
Roberto Ierusalimschy
|
58c3aa8b5f
|
malicious zero-length string in binary code may segfault Lua +
wrong code generation for some particular boolean expressions
|
16 years ago |
Roberto Ierusalimschy
|
c1f78ff3d3
|
unused arguments removed
|
16 years ago |
Roberto Ierusalimschy
|
e5249b9fb5
|
'exit' changed to 'abort' in case of panic (+ some extra comments)
'abort' seems more in line with panic ("abnormal termination")
|
16 years ago |