Roberto Ierusalimschy
|
fd80e63468
|
configuration for NaN trick big-endian + macro 'luai_checknum' to
ensure numbers comming from C are not "improper" (some kinds of
signaling NaNs)
|
14 years ago |
Roberto Ierusalimschy
|
3b44821334
|
stricter control (using tag variants) over closure kinds (Lua x C)
|
14 years ago |
Roberto Ierusalimschy
|
821bd7025e
|
more uniform names for 'equalobj'-related functions
|
14 years ago |
Roberto Ierusalimschy
|
9b7dddad7d
|
no need for two different implementations for equality (one raw and
one with metamethods)
|
14 years ago |
Roberto Ierusalimschy
|
119d5e46d5
|
lua_arith gets no fake operand for unary minus
|
14 years ago |
Roberto Ierusalimschy
|
868ff40339
|
full collection does not restart collector + avoid changing GC
state if an error happens in a step
|
14 years ago |
Roberto Ierusalimschy
|
551b076f1c
|
change in the relationship between totalbytes and GCdebt - luaM_realloc_
is too critical to update two counters
|
14 years ago |
Roberto Ierusalimschy
|
737f119187
|
better control for GC running or stopped
|
14 years ago |
Roberto Ierusalimschy
|
9b7a12c46d
|
finalizers (__gc) for tables
|
14 years ago |
Roberto Ierusalimschy
|
f1629217f1
|
code for conversion macros moved from luaconf to llimits + 'uint'
renamed to 'unsigned' in those macros
|
14 years ago |
Roberto Ierusalimschy
|
c6b64ffe65
|
new type lua_Unsigned and corresponding projection/injection functions
|
14 years ago |
Roberto Ierusalimschy
|
4590a89b32
|
corrected warnings from different compilers (mostly casts and small
details)
|
14 years ago |
Roberto Ierusalimschy
|
e3eabcf913
|
'lua_[gs]etupvalue' may work even without debug information
(that is, without upvalue names)
|
14 years ago |
Roberto Ierusalimschy
|
0df2238063
|
name "_ENV" configurable through 'luaconf.h'
|
14 years ago |
Roberto Ierusalimschy
|
6828f6d427
|
new parameter 'majorinc' to control frequency of major collections
in generational mode
|
14 years ago |
Roberto Ierusalimschy
|
5e7dbd0b8b
|
api checks to ensure that thread is OK when using lua_call/lua_pcall
|
14 years ago |
Roberto Ierusalimschy
|
8b7cf8c62d
|
'lua_[gs]etenv' -> 'lua_[gs]etuservalue'
|
14 years ago |
Roberto Ierusalimschy
|
a9dc7c8828
|
functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx
that have an extra out parameter with conversion status
|
15 years ago |
Roberto Ierusalimschy
|
3819c30e55
|
better names for barrier macros
|
15 years ago |
Roberto Ierusalimschy
|
bd619b9311
|
new macro MAXUPVAL (maximum number of upvalues per closure)
|
15 years ago |
Roberto Ierusalimschy
|
4a925c1552
|
in 'absindex', do not need to call gettop (can inline it)
|
15 years ago |
Roberto Ierusalimschy
|
e924a7f9ea
|
new API function 'lua_absindex'
|
15 years ago |
Roberto Ierusalimschy
|
8e1bdda66a
|
stupid bug when calling 'luaC_changemode' (in function lua_gc)
|
15 years ago |
Roberto Ierusalimschy
|
d77898597e
|
new function 'luaC_changemode'
|
15 years ago |
Roberto Ierusalimschy
|
3eb1788bb4
|
new way to control GC speed (keeping a 'debt' counter)
|
15 years ago |
Roberto Ierusalimschy
|
ed720d09f3
|
upvalue barriers for Lua functions must act on the upvalue itself,
not on its closure
|
15 years ago |
Roberto Ierusalimschy
|
1bb407e494
|
in lua_gc/step, 'luaC_step' changes GCthreshold, so there was little
control over the real step size.
|
15 years ago |
Roberto Ierusalimschy
|
53f9499f7f
|
"light C function" is a better name than "C-function pointer"
|
15 years ago |
Roberto Ierusalimschy
|
7dfa4cd655
|
first implementation of light C functions
|
15 years ago |
Roberto Ierusalimschy
|
a2f98314a3
|
'lua_pushstring' now uses 'luaS_new'
|
15 years ago |
Roberto Ierusalimschy
|
11126422d9
|
option to return GC to normal (incremental, non generational) mode
|
15 years ago |
Roberto Ierusalimschy
|
a8d3aa14fd
|
global table now is only kept in the registry
|
15 years ago |
Roberto Ierusalimschy
|
064e406f67
|
no more fenvs!
|
15 years ago |
Roberto Ierusalimschy
|
5c87f61e6b
|
major collections in generational mode
|
15 years ago |
Roberto Ierusalimschy
|
74123e9686
|
draft version of a generational mode for garbage collection. (Not well
tested; no major collections; ...)
|
15 years ago |
Roberto Ierusalimschy
|
1124cb1247
|
first step towards _ENV: all chunks have an puvalues _ENV with the
global table
|
15 years ago |
Roberto Ierusalimschy
|
c8ff7de7f0
|
field 'oldtop' renamed to 'extra', as it can be used for other
purposes
|
15 years ago |
Roberto Ierusalimschy
|
4f5f2fe367
|
new function 'luaL_cpcall'
|
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
|
cef96b73e1
|
added casts from int to enumerations to follow C++ rules
|
15 years ago |
Roberto Ierusalimschy
|
f75be1cb28
|
removed parentheses around some function names in their definitions
|
15 years ago |
Roberto Ierusalimschy
|
cec25167d1
|
new api_check that 'pcallk' cannot be called inside hooks
|
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
|
c3a6f3fa1c
|
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 years ago |
Roberto Ierusalimschy
|
9fbe0690fb
|
base-level C use global table as its environment
|
15 years ago |
Roberto Ierusalimschy
|
ed117bb42a
|
lua_checkstack does not raise memory errors (instead it signals them)
|
15 years ago |
Roberto Ierusalimschy
|
86312e1a7d
|
lua_objlen calls __len metamethod on tables (if present)
|
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
|
7fe405739c
|
renaming: 'lua_upvaladdr' -> 'lua_upvalueid',
'lua_upvaljoin' -> 'lua_upvaluejoin'
|
15 years ago |