Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
16 سال پیش |
Roberto Ierusalimschy
|
a5382b763c
new function lua_copy
|
16 سال پیش |
Roberto Ierusalimschy
|
ba21aa8b2b
'cpcall' must ensure correct environment for called function
|
16 سال پیش |
Roberto Ierusalimschy
|
bed2cb725a
initialize g->estimate (just in case)
|
16 سال پیش |
Roberto Ierusalimschy
|
a650378822
'cpcall' reimplemented as a predefined value in the registry
|
16 سال پیش |
Roberto Ierusalimschy
|
67cae2854c
'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
|
16 سال پیش |
Roberto Ierusalimschy
|
f76f4cb79d
new way to control stack overflow, controling only total size of the stack
|
16 سال پیش |
Roberto Ierusalimschy
|
1d6ebce296
new function 'lua_version' (so that 'checkversion' can be implemented
|
16 سال پیش |
Roberto Ierusalimschy
|
9423e22aa3
no more L->base + ci->base only for Lua functions (C functions may use
|
16 سال پیش |
Roberto Ierusalimschy
|
e091a254df
new way to GC stacks: the entire stack must be correct all the times;
|
16 سال پیش |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
16 سال پیش |
Roberto Ierusalimschy
|
c6b442bd36
'luaM_freearray' does not need array type as argument
|
16 سال پیش |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
16 سال پیش |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 سال پیش |
Roberto Ierusalimschy
|
d2ebdc045b
new macro 'lua_checkversion' to check whether core and application are
|
16 سال پیش |
Roberto Ierusalimschy
|
d07abcc6c7
finalizers always called protected
|
16 سال پیش |
Roberto Ierusalimschy
|
f94cd2201c
better control of call status through CallInfo
|
17 سال پیش |
Roberto Ierusalimschy
|
394646891c
new field 'status' in CallInfo structure
|
17 سال پیش |
Roberto Ierusalimschy
|
0c8f5fc2fd
simplification in the handling of finalizers: no more 'tmudata' list +
|
17 سال پیش |
Roberto Ierusalimschy
|
e2b366c760
userdata with finalizers are kept in a separated list
|
17 سال پیش |
Roberto Ierusalimschy
|
a73930228a
more options for 'kinds' of Garbage Collection
|
17 سال پیش |
Roberto Ierusalimschy
|
5e8dd55574
first implementation of ephemerons
|
18 سال پیش |
Roberto Ierusalimschy
|
0e961ad47a
some changes toward ephemerons
|
18 سال پیش |
Roberto Ierusalimschy
|
afa0d0ac0d
new constant LUA_OK
|
19 سال پیش |
Roberto Ierusalimschy
|
a7c9e45c64
avoid trailing white spaces
|
19 سال پیش |
Roberto Ierusalimschy
|
93bf618504
BUG: there is only one C stack, so nCcalls must be global
|
19 سال پیش |
Roberto Ierusalimschy
|
3ca9af51a4
emergency garbage collector (core forces a GC when allocation fails)
|
19 سال پیش |
Roberto Ierusalimschy
|
c408158047
only destroy state after running all finalizers
|
19 سال پیش |
Roberto Ierusalimschy
|
d31c04c049
missing macros 'luai_userstate*'
|
20 سال پیش |
Roberto Ierusalimschy
|
361a9adba7
smaller initial tables (for programs that create many states)
|
20 سال پیش |