Roberto Ierusalimschy
|
5bcfe0c700
|
new debug info 'isvararg' and 'nparams'
|
15 years ago |
Roberto Ierusalimschy
|
8cd395564c
|
no need to use two different defines (LUA_DL_DLOPEN and LUA_USE_DLOPEN)
|
15 years ago |
Roberto Ierusalimschy
|
389c890ed3
|
again changing macro to function to save a few bytes
|
15 years ago |
Roberto Ierusalimschy
|
e3866afa97
|
macro 'luaY_checklimit' changed into a function (and renamed 'checklimit').
It makes no sense to trade space for time in the parser.
|
15 years ago |
Roberto Ierusalimschy
|
25189b420d
|
field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsigned
char' to save some space (even C functions cannot have more than
maxchar upvalues).
|
15 years ago |
Roberto Ierusalimschy
|
cec25167d1
|
new api_check that 'pcallk' cannot be called inside hooks
|
15 years ago |
Roberto Ierusalimschy
|
1fd4c482a0
|
reorganization of switch in function 'match' (details)
|
15 years ago |
Roberto Ierusalimschy
|
35e729fa6d
|
comments + small details
|
15 years ago |
Roberto Ierusalimschy
|
0dc09cb42e
|
'unpack' moved to table library (and therefore "renamed" to
'table.unpack'.
|
15 years ago |
Roberto Ierusalimschy
|
cc1cbd19a0
|
'lua_cpcall' is deprecated + other small changes in 'pmain' (comments
and reordering to check arguments before running any Lua code)
|
15 years ago |
Roberto Ierusalimschy
|
cb3f95d516
|
'lua_cpcall' is deprecated
|
15 years ago |
Roberto Ierusalimschy
|
f84b575cfa
|
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
through registry
|
15 years ago |
Roberto Ierusalimschy
|
3cb343efd6
|
code for error message for 'setn' removed
|
15 years ago |
Roberto Ierusalimschy
|
ec0fc1a13b
|
missing parentheses around 'lua_version' + moving typdef's before
the extra include
|
15 years ago |
Roberto Ierusalimschy
|
c3a6f3fa1c
|
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 years ago |
Roberto Ierusalimschy
|
0bbdddc86b
|
allocator function receives the tag of object being allocated in 'osize'
when 'ptr' is NULL.
|
15 years ago |
Roberto Ierusalimschy
|
b3b8dfaaea
|
yet more options moved from luaconf.h into internal files
|
15 years ago |
Roberto Ierusalimschy
|
adc6a4865b
|
macro name change: LUA_INIT->LUA_INIT_VAR
|
15 years ago |
Roberto Ierusalimschy
|
2108754e46
|
macro name change: LUA_PATH->LUA_PATH_VAR, LUA_CPATH->LUA_CPATH_VAR,
LUA_PATHSEP->LUA_PATH_SEP, LUA_EXECDIR->LUA_EXEC_DIR
|
15 years ago |
Roberto Ierusalimschy
|
46f1429936
|
more options moved from luaconf.h into internal files
|
15 years ago |
Roberto Ierusalimschy
|
e0f9d1c8f5
|
removed export of function only for coco
|
15 years ago |
Roberto Ierusalimschy
|
de6fc75d63
|
several configuration options that do not change often moved out of
luaconf.h and into more internal files
|
15 years ago |
Roberto Ierusalimschy
|
2af0d3b459
|
allocator function receives the tag of object being allocated in 'osize'
when 'ptr' is NULL.
|
15 years ago |
Roberto Ierusalimschy
|
9fbe0690fb
|
base-level C use global table as its environment
|
15 years ago |
Roberto Ierusalimschy
|
a25b8ff69c
|
detail ('lua_tolstring' instead of lua_objlen)
|
15 years ago |
Roberto Ierusalimschy
|
15b823ce4f
|
cleaner way to add extra space in a lua state.
|
15 years ago |
Roberto Ierusalimschy
|
8da245bfd2
|
better to keep GC state numbers sequential, to optimize switch in
'singlestep'
|
15 years ago |
Roberto Ierusalimschy
|
a2a2abcba4
|
new function 'luaC_runtilstate' to advance GC until a "valid" state
|
15 years ago |
Roberto Ierusalimschy
|
2e51792596
|
avoid using deprecated macros lua_[gs]etglobal
|
15 years ago |
Roberto Ierusalimschy
|
3a9ae612a4
|
macro 'ngcotouv' is the same as 'gco2uv', so it was removed
|
15 years ago |
Roberto Ierusalimschy
|
9db693a57c
|
detail (comment)
|
15 years ago |
Roberto Ierusalimschy
|
1375435e4a
|
several new features in testC to allow better testing of lua_resume
at the C API level
|
15 years ago |
Roberto Ierusalimschy
|
2bb19ccf08
|
reordering of some functions + cleaner way to code lua_resume/resume +
small bug in lua_resume (in case of calling errors lua_resume should
remove only new arguments from the stack and push error message).
|
15 years ago |
Roberto Ierusalimschy
|
64d5df7772
|
detail (lua_resume should empty coroutine stack even if they do not
fit into caller stack)
|
15 years ago |
Roberto Ierusalimschy
|
2643da67c6
|
error messages from 'lua_resume' must be generated in protected mode,
to avoid raising memory errors
|
15 years ago |
Roberto Ierusalimschy
|
ed117bb42a
|
lua_checkstack does not raise memory errors (instead it signals them)
|
15 years ago |
Roberto Ierusalimschy
|
a4472490bc
|
new 'table.pack' function
|
15 years ago |
Roberto Ierusalimschy
|
86312e1a7d
|
lua_objlen calls __len metamethod on tables (if present)
|
15 years ago |
Roberto Ierusalimschy
|
df1dc3f1f5
|
strings in C scripts may be delimited by quotes + new functionality to
set C scripts as C hooks
|
15 years ago |
Roberto Ierusalimschy
|
513d0258d9
|
details
|
15 years ago |
Roberto Ierusalimschy
|
cfa8bc3ca4
|
continuations may be upvalues too
|
15 years ago |
Roberto Ierusalimschy
|
a654e82f5c
|
coroutines may have C bodies
|
15 years ago |
Roberto Ierusalimschy
|
3e41afcec5
|
extra api checks for number of returns of C functions and for lua_yield
|
15 years ago |
Roberto Ierusalimschy
|
3acf5ec5a1
|
update of file dependencies (gcc -MM)
|
15 years ago |
Roberto Ierusalimschy
|
93695db903
|
'table.maxn' deprecated
|
15 years ago |
Roberto Ierusalimschy
|
9107dd115c
|
no more compatibility code for 'string.gfind'
|
15 years ago |
Roberto Ierusalimschy
|
dc4c459546
|
a few new warnings
|
15 years ago |
Roberto Ierusalimschy
|
19a6c38745
|
detail in 'currentpc' (only needs to work for Lua functions)
|
15 years ago |
Roberto Ierusalimschy
|
3c4d970a7b
|
comment typos
|
15 years ago |
Roberto Ierusalimschy
|
b0f2b288a6
|
new scheme for debug info about tail calls: no more 'fake' stack entries,
but stack entry knows whether it was tail called
|
15 years ago |