Roberto Ierusalimschy
|
e3eabcf913
|
'lua_[gs]etupvalue' may work even without debug information
(that is, without upvalue names)
|
2010-09-07 16:35:04 -03:00 |
|
Roberto Ierusalimschy
|
0df2238063
|
name "_ENV" configurable through 'luaconf.h'
|
2010-09-07 16:21:39 -03:00 |
|
Roberto Ierusalimschy
|
6828f6d427
|
new parameter 'majorinc' to control frequency of major collections
in generational mode
|
2010-09-03 11:14:01 -03:00 |
|
Roberto Ierusalimschy
|
5e7dbd0b8b
|
api checks to ensure that thread is OK when using lua_call/lua_pcall
|
2010-08-04 15:40:28 -03:00 |
|
Roberto Ierusalimschy
|
8b7cf8c62d
|
'lua_[gs]etenv' -> 'lua_[gs]etuservalue'
|
2010-07-25 12:18:19 -03:00 |
|
Roberto Ierusalimschy
|
a9dc7c8828
|
functions lua_tonumber/lua_tointeger replaced by lua_tonumberx/lua_tointegerx
that have an extra out parameter with conversion status
|
2010-07-02 14:35:06 -03:00 |
|
Roberto Ierusalimschy
|
3819c30e55
|
better names for barrier macros
|
2010-06-04 10:05:29 -03:00 |
|
Roberto Ierusalimschy
|
bd619b9311
|
new macro MAXUPVAL (maximum number of upvalues per closure)
|
2010-05-31 13:08:55 -03:00 |
|
Roberto Ierusalimschy
|
4a925c1552
|
in 'absindex', do not need to call gettop (can inline it)
|
2010-05-14 10:15:26 -03:00 |
|
Roberto Ierusalimschy
|
e924a7f9ea
|
new API function 'lua_absindex'
|
2010-05-12 11:09:20 -03:00 |
|
Roberto Ierusalimschy
|
8e1bdda66a
|
stupid bug when calling 'luaC_changemode' (in function lua_gc)
|
2010-05-07 15:10:01 -03:00 |
|
Roberto Ierusalimschy
|
d77898597e
|
new function 'luaC_changemode'
|
2010-05-05 15:53:41 -03:00 |
|
Roberto Ierusalimschy
|
3eb1788bb4
|
new way to control GC speed (keeping a 'debt' counter)
|
2010-04-29 14:31:31 -03:00 |
|
Roberto Ierusalimschy
|
ed720d09f3
|
upvalue barriers for Lua functions must act on the upvalue itself,
not on its closure
|
2010-04-20 17:14:50 -03:00 |
|
Roberto Ierusalimschy
|
1bb407e494
|
in lua_gc/step, 'luaC_step' changes GCthreshold, so there was little
control over the real step size.
|
2010-04-19 13:33:19 -03:00 |
|
Roberto Ierusalimschy
|
53f9499f7f
|
"light C function" is a better name than "C-function pointer"
|
2010-04-18 10:22:48 -03:00 |
|
Roberto Ierusalimschy
|
7dfa4cd655
|
first implementation of light C functions
|
2010-04-14 12:13:48 -03:00 |
|
Roberto Ierusalimschy
|
a2f98314a3
|
'lua_pushstring' now uses 'luaS_new'
|
2010-04-05 11:21:38 -03:00 |
|
Roberto Ierusalimschy
|
11126422d9
|
option to return GC to normal (incremental, non generational) mode
|
2010-04-02 12:19:19 -03:00 |
|
Roberto Ierusalimschy
|
a8d3aa14fd
|
global table now is only kept in the registry
|
2010-03-29 14:43:14 -03:00 |
|
Roberto Ierusalimschy
|
064e406f67
|
no more fenvs!
|
2010-03-26 17:58:11 -03:00 |
|
Roberto Ierusalimschy
|
5c87f61e6b
|
major collections in generational mode
|
2010-03-25 16:37:23 -03:00 |
|
Roberto Ierusalimschy
|
74123e9686
|
draft version of a generational mode for garbage collection. (Not well
tested; no major collections; ...)
|
2010-03-22 15:28:03 -03:00 |
|
Roberto Ierusalimschy
|
1124cb1247
|
first step towards _ENV: all chunks have an puvalues _ENV with the
global table
|
2010-03-08 13:55:52 -03:00 |
|
Roberto Ierusalimschy
|
c8ff7de7f0
|
field 'oldtop' renamed to 'extra', as it can be used for other
purposes
|
2010-02-09 09:55:37 -02:00 |
|
Roberto Ierusalimschy
|
4f5f2fe367
|
new function 'luaL_cpcall'
|
2010-01-21 14:49:21 -02:00 |
|
Roberto Ierusalimschy
|
070d3743a7
|
"no value" added to array luaT_typenames + occurrences of "userdata"
in that array unified in a single address
|
2010-01-13 14:18:25 -02:00 |
|
Roberto Ierusalimschy
|
cef96b73e1
|
added casts from int to enumerations to follow C++ rules
|
2010-01-11 15:38:30 -02:00 |
|
Roberto Ierusalimschy
|
f75be1cb28
|
removed parentheses around some function names in their definitions
|
2010-01-08 13:16:56 -02:00 |
|
Roberto Ierusalimschy
|
cec25167d1
|
new api_check that 'pcallk' cannot be called inside hooks
|
2010-01-04 16:17:51 -02:00 |
|
Roberto Ierusalimschy
|
cb3f95d516
|
'lua_cpcall' is deprecated
|
2009-12-22 14:47:00 -02:00 |
|
Roberto Ierusalimschy
|
f84b575cfa
|
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
through registry
|
2009-12-22 13:32:50 -02:00 |
|
Roberto Ierusalimschy
|
c3a6f3fa1c
|
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
2009-12-17 14:20:01 -02:00 |
|
Roberto Ierusalimschy
|
9fbe0690fb
|
base-level C use global table as its environment
|
2009-12-15 09:25:36 -02:00 |
|
Roberto Ierusalimschy
|
ed117bb42a
|
lua_checkstack does not raise memory errors (instead it signals them)
|
2009-12-08 14:15:43 -02:00 |
|
Roberto Ierusalimschy
|
86312e1a7d
|
lua_objlen calls __len metamethod on tables (if present)
|
2009-12-07 13:49:47 -02:00 |
|
Roberto Ierusalimschy
|
3e41afcec5
|
extra api checks for number of returns of C functions and for lua_yield
|
2009-11-27 13:37:59 -02:00 |
|
Roberto Ierusalimschy
|
7fe405739c
|
renaming: 'lua_upvaladdr' -> 'lua_upvalueid',
'lua_upvaljoin' -> 'lua_upvaluejoin'
|
2009-11-09 17:10:48 -02:00 |
|
Roberto Ierusalimschy
|
1ce819333d
|
new option 'isrunning' for 'lua_gc' (and 'collectgarbage')
|
2009-11-09 16:55:17 -02:00 |
|
Roberto Ierusalimschy
|
88eb901f81
|
registry and global table may be changed through the API without a
write barrier, so GC should visit them in the atomic phase.
|
2009-11-09 16:29:21 -02:00 |
|
Roberto Ierusalimschy
|
599789a907
|
better to enclose macros in 'if' bodies with brackets
|
2009-11-06 15:03:37 -02:00 |
|
Roberto Ierusalimschy
|
b7d5f18d71
|
api functions to manipulate upvalues do not need to check their
arguments (the caller must check them before calling)
|
2009-11-05 15:26:00 -02:00 |
|
Roberto Ierusalimschy
|
5598b2bc55
|
new functions to identify and join upvalues
|
2009-11-05 14:48:31 -02:00 |
|
Roberto Ierusalimschy
|
5bc91c6405
|
no more one environment per thread: all threads share a single global
environment
|
2009-10-23 17:12:19 -02:00 |
|
Roberto Ierusalimschy
|
a5382b763c
|
new function lua_copy
|
2009-10-05 13:44:33 -03:00 |
|
Roberto Ierusalimschy
|
5938212748
|
information about upvalues (where they come from) kept in Proto structure,
instead of sequence of pseudo-opcodes after OP_CLOSURE
|
2009-09-28 13:32:50 -03:00 |
|
Roberto Ierusalimschy
|
a650378822
|
'cpcall' reimplemented as a predefined value in the registry
|
2009-09-21 09:09:52 -03:00 |
|
Roberto Ierusalimschy
|
67cae2854c
|
'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
|
2009-09-17 15:04:21 -03:00 |
|
Roberto Ierusalimschy
|
4a714cebd1
|
API checks now have explanatory messages
|
2009-08-31 11:26:28 -03:00 |
|
Roberto Ierusalimschy
|
3135a6bbab
|
luaH_[gs]etnum renamed to luaH_[gs]etint (as they only accept integers,
not generic numbers)
|
2009-08-07 13:17:41 -03:00 |
|