Roberto Ierusalimschy
|
bb1146dc39
|
wrong error message when 'coroutine.create' or 'coroutine.wrap' are
called with no arguments (new thread is assumed to be the missing
argument).
|
13 years ago |
Roberto Ierusalimschy
|
fc24a3a6c4
|
small bug: a reader function should not modify the Lua stack
|
13 years ago |
Roberto Ierusalimschy
|
a94ce68e0a
|
bug: wrong handling of 'nCcalls' in coroutines
|
13 years ago |
Roberto Ierusalimschy
|
ec22fc963a
|
detail (separate code to create 'searchers' table into a new function)
|
13 years ago |
Roberto Ierusalimschy
|
c54f5f64c9
|
primaryexp -> suffixedexp; prefixexp -> primaryexp + more 'syntactical'
way to distinguish between function calls and assignments
|
13 years ago |
Roberto Ierusalimschy
|
4cca1a436d
|
details (using lua_setglobal/lua_getglobal instead of explicit
use of the global table)
|
13 years ago |
Roberto Ierusalimschy
|
8df0198178
|
release 5.2.1
|
13 years ago |
Roberto Ierusalimschy
|
048be9cf27
|
different scheme to check arguments to '%d', '%x', etc. Old scheme
did not work well when lua_Number is an integer.
|
13 years ago |
Roberto Ierusalimschy
|
1485ea2ee7
|
Finalizers may call functions from a dynamic library after
the library has been unloaded
|
13 years ago |
Roberto Ierusalimschy
|
b10dbe5c72
|
bug: C libraries must be unloaded after all other finalizers have run,
because a finalizer may use a C function from a C library
|
13 years ago |
Roberto Ierusalimschy
|
462375ba47
|
'if' to avoid empty 'memcpy' (may be expensive)
|
13 years ago |
Roberto Ierusalimschy
|
cfbe2333a4
|
string hash may not use all bytes (but this is configurable now) +
small other changes
|
13 years ago |
Roberto Ierusalimschy
|
afc3fcf952
|
definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there)
|
13 years ago |
Roberto Ierusalimschy
|
99bd1a000f
|
error function can be 'l_noret'
|
13 years ago |
Roberto Ierusalimschy
|
3e66d3b4be
|
cleaner code (avoids loop with empty body)
|
13 years ago |
Roberto Ierusalimschy
|
29a28693e5
|
'luaL_checkversion' called by 'luaL_setfuncs'
|
13 years ago |
Roberto Ierusalimschy
|
678c1255c9
|
random seed used in the hash of all strings to avoid intentional
collisions
|
13 years ago |
Roberto Ierusalimschy
|
a4b96ce9a3
|
first implementation of long strings
|
13 years ago |
Roberto Ierusalimschy
|
291f564485
|
field 'reserved' -> 'extra' (may be used for other purposes too)
|
13 years ago |
Roberto Ierusalimschy
|
9f1a8dbdd3
|
'eqstr' -> 'luaS_eqstr'
|
13 years ago |
Roberto Ierusalimschy
|
d19f1da6ef
|
new macro 'isreserved' + 'eqstr' -> 'luaS_eqstr' (may be a function)
|
13 years ago |
Roberto Ierusalimschy
|
f88806a1fb
|
"default: lua_assert(0)" in switches helps debugging + uses
non-variant types in binary files
|
13 years ago |
Roberto Ierusalimschy
|
fb6eee2805
|
Lua never uses Ã'assert' (it is always 'lua_assert')
|
13 years ago |
Roberto Ierusalimschy
|
0010ec68b1
|
documentation comment (small correction about strings being
gray)
|
13 years ago |
Roberto Ierusalimschy
|
28f8ed9113
|
new macro 'checktype'
|
13 years ago |
Roberto Ierusalimschy
|
fd22ccd6d0
|
object tag keeps variant bits too -> no need for 'isC' field in
Closures + more strick typing for closure variants
|
13 years ago |
Roberto Ierusalimschy
|
76eab106df
|
bug: Lexical gets confused with some combination of arithmetic
operators and hexadecimal numbers
|
13 years ago |
Roberto Ierusalimschy
|
81ed85ecfb
|
BUG: memory hoarding when creating Lua hooks for coroutines
BUG: Lexical gets confused with some combination of arithmetic
operators and hexadecimal numbers
|
13 years ago |
Roberto Ierusalimschy
|
7dcc02b165
|
BUG: coroutine hooks were not collected together with coroutine
|
13 years ago |
Roberto Ierusalimschy
|
e2fc2ce8df
|
new way to handle -E option (write a mark in the registry to avoid
reading environment variables)
|
13 years ago |
Roberto Ierusalimschy
|
a241b6cb3c
|
removed redundant definition for FILEHANDLE
|
13 years ago |
Roberto Ierusalimschy
|
f0d143f30f
|
avoid a few warnings (casts)
|
13 years ago |
Roberto Ierusalimschy
|
c82087b8dd
|
cast from 'bool' to 'int' (for C++)
|
13 years ago |
Roberto Ierusalimschy
|
138be5b843
|
no more explicit support for 'luaall_c': unifying file can do
the work
|
13 years ago |
Roberto Ierusalimschy
|
e320b5b672
|
small bug: format '%d' for lua_Number argument
|
13 years ago |
Roberto Ierusalimschy
|
ca9c405fef
|
some compilers (e.g., gcc C++) do not accept NULL as a pointer in
that context
|
13 years ago |
Roberto Ierusalimschy
|
e2feb886d6
|
macro 'luaL_getmetatable' seems more appropriate when getting
metatables in registry
|
13 years ago |
Roberto Ierusalimschy
|
5999e14ad9
|
old error messages may be misleading
|
13 years ago |
Roberto Ierusalimschy
|
01747f2c24
|
error message: "tag method" -> "metamethod"
|
13 years ago |
Roberto Ierusalimschy
|
7377fbdebc
|
function prototype did not match one in .h
|
13 years ago |
Roberto Ierusalimschy
|
f1d2ac3a98
|
allow non-integer arguments to integer formats (%d, %x, etc.),
but check range
|
13 years ago |
Roberto Ierusalimschy
|
c5da4f4cd0
|
unused variable removed
|
13 years ago |
Roberto Ierusalimschy
|
7bcb2462e4
|
comments
|
13 years ago |
Roberto Ierusalimschy
|
0bd99b327b
|
avoid "unreachable" 'break'
|
13 years ago |
Roberto Ierusalimschy
|
6d8b672094
|
more uses of 'l_noret'
|
13 years ago |
Roberto Ierusalimschy
|
e21b26a964
|
avoid 'return' "to avoid warnings"
|
13 years ago |
Roberto Ierusalimschy
|
0f388193b3
|
'lUA' -> 'LUA'
|
13 years ago |
Roberto Ierusalimschy
|
7948b8568e
|
when available, use '*_r' versions of 'gmtime' and 'localtime'
|
13 years ago |
Roberto Ierusalimschy
|
61b1d9a466
|
another try to avoid warnings about unreachable 'return' after 'exit'
|
13 years ago |
Roberto Ierusalimschy
|
3617e04e97
|
'lua_load' has an extra argument 'mode'
|
13 years ago |