Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
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
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
16 жил өмнө |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
16 жил өмнө |
Roberto Ierusalimschy
|
70a63fa5ad
first implementation of yieldable 'pcall'
|
16 жил өмнө |
Roberto Ierusalimschy
|
6d0ae11c57
'context' added to suspendable calls
|
16 жил өмнө |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 жил өмнө |
Roberto Ierusalimschy
|
1817dfc301
initial separation, in CallInfo, of what is relevant only to Lua
|
16 жил өмнө |
Roberto Ierusalimschy
|
d2ebdc045b
new macro 'lua_checkversion' to check whether core and application are
|
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
|
8fd28611d5
outdated comment
|
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
|
593bfc9668
should not manipulate NULL pointers (even without accessing them)
|
18 жил өмнө |
Roberto Ierusalimschy
|
d1ef7e0ec6
avoid local "pc" in interpreter loop (tricky optimization with no real gain)
|
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
|
ea2cc2bc47
small improvements for allignments
|
19 жил өмнө |
Roberto Ierusalimschy
|
e84b11a494
avoid names starting with '_'
|
20 жил өмнө |
Roberto Ierusalimschy
|
eca9fa02d2
small improvement
|
20 жил өмнө |
Roberto Ierusalimschy
|
6cf85dcc90
metatables for all types
|
20 жил өмнө |
Roberto Ierusalimschy
|
8718fda9b2
added LUAI_FUNC to functions not in the API
|
20 жил өмнө |
Roberto Ierusalimschy
|
7b6c3b463e
small optimizations
|
20 жил өмнө |
Roberto Ierusalimschy
|
390256edf7
better name for GC pause
|
20 жил өмнө |