Roberto Ierusalimschy
|
6d95de83c6
|
no more field 'base' in CallInfo (base is always equal to 'func + 1',
with old/new vararg implementation)
|
8 years ago |
Roberto Ierusalimschy
|
5c8770f896
|
back to old-style vararg system (with vararg table collecting extra
arguments)
|
8 years ago |
Roberto Ierusalimschy
|
a454e884e0
|
details in 'findsetreg'
|
8 years ago |
Roberto Ierusalimschy
|
502a1d1108
|
new opcodes for table access with constant keys (strings and integers)
|
8 years ago |
Roberto Ierusalimschy
|
173e41b2eb
|
new opcode OP_ADDI (for immediate integer operand) (Experimental)
|
8 years ago |
Roberto Ierusalimschy
|
e2dc807c6e
|
check whether function is finalizer when finding a name for it +
comments + some instructions can call functions in unespected ways
(e.g., finalizers)
|
8 years ago |
Roberto Ierusalimschy
|
d77a7a8c26
|
detail (comment)
|
9 years ago |
Roberto Ierusalimschy
|
7777b412de
|
When available, use metafield '__name' in error messages
|
9 years ago |
Roberto Ierusalimschy
|
a051b3323e
|
comments (about hooks vs signals)
|
9 years ago |
Roberto Ierusalimschy
|
ff1289a361
|
in 'luaD_call', use two functions instead of one with fixed boolean
argument
|
9 years ago |
Roberto Ierusalimschy
|
ee5ef0f295
|
hook test in 'luaV_execute' reduced to minimum (rest done in
'luaG_traceexec'
|
9 years ago |
Roberto Ierusalimschy
|
6142e663e4
|
reuse of 'addinfo' by lexical errors
|
10 years ago |
Roberto Ierusalimschy
|
e723c75c02
|
details (avoid 'lint' warnings)
|
10 years ago |
Roberto Ierusalimschy
|
0cf3b6495a
|
'ci_func' don't need to be exported
|
10 years ago |
Roberto Ierusalimschy
|
a30c66f0fc
|
macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameter
(some people use it)
|
10 years ago |
Roberto Ierusalimschy
|
4bdf9962bf
|
bug: suspended function can have its 'func' field not pointing to
its function, crashing debug functions
|
10 years ago |
Roberto Ierusalimschy
|
3a29087cb7
|
'lua_setlocal' should not pop value when failing (to be consistent
with the manual and with 'lua_setupvalue')
|
10 years ago |
Roberto Ierusalimschy
|
b4633c586b
|
error handler does not need to be a function (can be a callable
object)
|
10 years ago |
Roberto Ierusalimschy
|
c6e74e41c9
|
handle case where function was called as a hook
|
10 years ago |
Roberto Ierusalimschy
|
be87789a6c
|
details
|
10 years ago |
Roberto Ierusalimschy
|
d1d1ddec1e
|
details
|
10 years ago |
Roberto Ierusalimschy
|
9212175ffb
|
added missing cases for debug info about tag methods +
better error message for bitwise operators
|
10 years ago |
Roberto Ierusalimschy
|
e75c0148c3
|
comments (references to "ANSI C" changed to "ISO C", which is the
international name
|
10 years ago |
Roberto Ierusalimschy
|
28fdbcf393
|
added include for 'lprefix.h', for stuff that must be added before
any other header file
|
10 years ago |
Roberto Ierusalimschy
|
bdf566a8a3
|
`name' in comments changed to 'name'
|
10 years ago |
Roberto Ierusalimschy
|
f97c64d7bf
|
macros 'LUA_QL'/'LUA_QL' deprecated
|
10 years ago |
Roberto Ierusalimschy
|
34ac039fb8
|
new macro 'cvt2str' to better control whether numbers are convertible
to strings
|
10 years ago |
Roberto Ierusalimschy
|
8bb272a3e3
|
new conversion float->integer: conversion is valid only when
float has an exact representation as an integer
|
10 years ago |
Roberto Ierusalimschy
|
5bbb4a06a6
|
removed unused parameter Ä'L' in macro 'api_check' and company
|
10 years ago |
Roberto Ierusalimschy
|
16493b777f
|
'lua_sethook' returns void
|
11 years ago |
Roberto Ierusalimschy
|
98d76cdcae
|
bug: Wrong error message in some short-cut expressions
|
11 years ago |
Roberto Ierusalimschy
|
f2043b7a58
|
correct error message for conversion errors from float to int
|
12 years ago |
Roberto Ierusalimschy
|
9b9becf384
|
added 'const' to parameters of 'luaG_concaterror'
|
12 years ago |
Roberto Ierusalimschy
|
4abe99dc34
|
new interface for 'tonumber'
|
12 years ago |
Roberto Ierusalimschy
|
a2f5c28a80
|
new operation '//' (integer division)
|
12 years ago |
Roberto Ierusalimschy
|
32bf6c9b27
|
functions 'traceexec', 'callTM', and 'call_binTM' moved to other
files to make 'lvm.c' a little smaller
|
12 years ago |
Roberto Ierusalimschy
|
a3e1c40d6d
|
remove of unecessary luaD_checkstack. (In some cases, C should
ensure stack space; in others, Lua can use the extra slots for
temporary values.)
|
12 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
|
6d8b672094
|
more uses of 'l_noret'
|
13 years ago |
Roberto Ierusalimschy
|
217e67cb22
|
new type 'l_noret' for function that do not return
|
13 years ago |
Roberto Ierusalimschy
|
2275030b86
|
details (and missing 'break's)
|
13 years ago |
Roberto Ierusalimschy
|
05de314701
|
upvalue names always can be NULL (if debug info was removed), so
always check for that case
|
13 years ago |
Roberto Ierusalimschy
|
0b65cb74cd
|
new implementation for 'getobjname': first search for relevant
instruction (new function 'findsetreg') and then try to build
a meaningful name
|
13 years ago |
Roberto Ierusalimschy
|
92afcf2823
|
no more 'luaH_setstr (used only once) + 'luaH_setint' receives value
to be set.
|
13 years ago |
Roberto Ierusalimschy
|
3b44821334
|
stricter control (using tag variants) over closure kinds (Lua x C)
|
14 years ago |
Roberto Ierusalimschy
|
d120ec29ca
|
bug in OP_SELF when method name goes to a register
|
14 years ago |
Roberto Ierusalimschy
|
4758113043
|
change in opcode OP_LOADNIL: B is used as a counter instead of a
register. (Avoids an assignment to R(B), not present in any other
instruction.)
|
14 years ago |
Roberto Ierusalimschy
|
a4e644add2
|
small bug (masked by wrong entry for OP_TEST in opcodes.c)
|
14 years ago |
Roberto Ierusalimschy
|
2e9b8476ca
|
detail ('luai_apicheck' should be used always through macro 'api_check')
|
14 years ago |
Roberto Ierusalimschy
|
427ee519db
|
new instruction OP_LOADKX (to replace OP_LOADK with extra argument)
|
14 years ago |