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 |
Roberto Ierusalimschy
|
c4ea0c3b29
|
detail (cleaning trailing spaces)
|
14 years ago |
Roberto Ierusalimschy
|
12779b2b71
|
getlocal/setlocal can access vararg parameters
|
14 years ago |
Roberto Ierusalimschy
|
cd0ebd0a80
|
'proto->source' may be NULL (if dump strips debug information)
|
14 years ago |
Roberto Ierusalimschy
|
0df2238063
|
name "_ENV" configurable through 'luaconf.h'
|
14 years ago |
Roberto Ierusalimschy
|
ca3865cf1b
|
'getlocal' gets information about parameters of Lua functions
|
15 years ago |
Roberto Ierusalimschy
|
409741e900
|
'what' may be NULL in 'kname'
|
15 years ago |
Roberto Ierusalimschy
|
7dfa4cd655
|
first implementation of light C functions
|
15 years ago |
Roberto Ierusalimschy
|
28aa733c15
|
macro 'eqstr' was being used to compare non-string entities
|
15 years ago |
Roberto Ierusalimschy
|
d394d5536a
|
new macro 'eqstr'
|
15 years ago |
Roberto Ierusalimschy
|
22ef84b6c8
|
'_ENV' name permanently stored in global state for easier access
|
15 years ago |
Roberto Ierusalimschy
|
25c557ec63
|
first version of _ENV; no more global variables
|
15 years ago |
Roberto Ierusalimschy
|
c295147874
|
when finding a 'name' for a function, handle the case when the function
is a for iterator
|
15 years ago |
Roberto Ierusalimschy
|
0fe2576a39
|
new instructions to optimize indexing on upvalues
|
15 years ago |
Roberto Ierusalimschy
|
070d3743a7
|
"no value" added to array luaT_typenames + occurrences of "userdata"
in that array unified in a single address
|
15 years ago |
Roberto Ierusalimschy
|
427e01eb63
|
removed useless initialization
|
15 years ago |
Roberto Ierusalimschy
|
5bcfe0c700
|
new debug info 'isvararg' and 'nparams'
|
15 years ago |