Roberto Ierusalimschy
|
c31f4946e9
|
copyright updated to 2011
|
14 years ago |
Roberto Ierusalimschy
|
6098e06e09
|
better organization for coercion functions between lua_Number and
integer types + IEEE trick to be used in most platforms, by default
|
14 years ago |
Roberto Ierusalimschy
|
c6b64ffe65
|
new type lua_Unsigned and corresponding projection/injection functions
|
14 years ago |
Roberto Ierusalimschy
|
6828f6d427
|
new parameter 'majorinc' to control frequency of major collections
in generational mode
|
14 years ago |
Roberto Ierusalimschy
|
8b7cf8c62d
|
'lua_[gs]etenv' -> 'lua_[gs]etuservalue'
|
14 years ago |
Roberto Ierusalimschy
|
85c1461422
|
new macros LUA_VERSION_{MAJOR/MINOR/RELEASE}
|
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
|
e924a7f9ea
|
new API function 'lua_absindex'
|
15 years ago |
Roberto Ierusalimschy
|
2d81cfa4e1
|
corrected definition of 'lua_register' (there is no LUA_ENVIRONINDEX
anymore)
|
15 years ago |
Roberto Ierusalimschy
|
afdb19ac82
|
no more 'ccall' nor 'cpcall' functions. (With light C functions they
are obsolete.)
|
15 years ago |
Roberto Ierusalimschy
|
d20ff60615
|
new macro LUA_NUMTAGS
|
15 years ago |
Roberto Ierusalimschy
|
11126422d9
|
option to return GC to normal (incremental, non generational) mode
|
15 years ago |
Roberto Ierusalimschy
|
064e406f67
|
no more fenvs!
|
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
|
caf74dd731
|
'cpcall' renamed to 'ccall' as it does not do a protected call
|
15 years ago |
Roberto Ierusalimschy
|
489253d753
|
better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX
|
15 years ago |
Roberto Ierusalimschy
|
03b556b963
|
corrected copyright notice to 2010
|
15 years ago |
Roberto Ierusalimschy
|
19f8c87375
|
compatibility code moved to luaconf.h
|
15 years ago |
Roberto Ierusalimschy
|
5bcfe0c700
|
new debug info 'isvararg' and 'nparams'
|
15 years ago |
Roberto Ierusalimschy
|
25189b420d
|
field 'nups' in struct 'lua_Debug' changed from 'int' to 'unsigned
char' to save some space (even C functions cannot have more than
maxchar upvalues).
|
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
|
ec0fc1a13b
|
missing parentheses around 'lua_version' + moving typdef's before
the extra include
|
15 years ago |
Roberto Ierusalimschy
|
c3a6f3fa1c
|
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 years ago |
Roberto Ierusalimschy
|
2e51792596
|
avoid using deprecated macros lua_[gs]etglobal
|
15 years ago |
Roberto Ierusalimschy
|
3c4d970a7b
|
comment typos
|
15 years ago |
Roberto Ierusalimschy
|
b0f2b288a6
|
new scheme for debug info about tail calls: no more 'fake' stack entries,
but stack entry knows whether it was tail called
|
15 years ago |
Roberto Ierusalimschy
|
7fe405739c
|
renaming: 'lua_upvaladdr' -> 'lua_upvalueid',
'lua_upvaljoin' -> 'lua_upvaluejoin'
|
15 years ago |
Roberto Ierusalimschy
|
1ce819333d
|
new option 'isrunning' for 'lua_gc' (and 'collectgarbage')
|
15 years ago |
Roberto Ierusalimschy
|
b7d5f18d71
|
api functions to manipulate upvalues do not need to check their
arguments (the caller must check them before calling)
|
15 years ago |
Roberto Ierusalimschy
|
5598b2bc55
|
new functions to identify and join upvalues
|
15 years ago |
Roberto Ierusalimschy
|
916587508c
|
parser keeps list of active local variables in a single dynamic array,
therefore saving C stack space
|
15 years ago |
Roberto Ierusalimschy
|
a5382b763c
|
new function lua_copy
|
15 years ago |
Roberto Ierusalimschy
|
a650378822
|
'cpcall' reimplemented as a predefined value in the registry
|
15 years ago |
Roberto Ierusalimschy
|
67cae2854c
|
'lua_mainthread' replaced by new preregistered value LUA_RIDX_MAINTHREAD
|
15 years ago |
Roberto Ierusalimschy
|
0e45ffb8e4
|
first implementation of 'lua_yieldk' (yield with continuation)
|
15 years ago |
Roberto Ierusalimschy
|
f76f4cb79d
|
new way to control stack overflow, controling only total size of the stack
|
16 years ago |
Roberto Ierusalimschy
|
1d6ebce296
|
new function 'lua_version' (so that 'checkversion' can be implemented
in the auxiliary library)
|
16 years ago |
Roberto Ierusalimschy
|
6980cb1aa7
|
new functions 'lua_arith' and 'lua_compare'
|
16 years ago |
Roberto Ierusalimschy
|
a21c89ddc8
|
new API function 'lua_mainthread'
|
16 years ago |
Roberto Ierusalimschy
|
019ebcb85f
|
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
__gc MetaMethod)
|
16 years ago |
Roberto Ierusalimschy
|
4f88418170
|
'CallInfo' stack implemented as double-linked list instead of an array
|
16 years ago |
Roberto Ierusalimschy
|
70a63fa5ad
|
first implementation of yieldable 'pcall'
|
16 years ago |
Roberto Ierusalimschy
|
6d0ae11c57
|
'context' added to suspendable calls
|
16 years ago |
Roberto Ierusalimschy
|
ba484b9eb1
|
yielding across lua_call (first version)
|
16 years ago |
Roberto Ierusalimschy
|
d2ebdc045b
|
new macro 'lua_checkversion' to check whether core and application are
compatible
|
16 years ago |
Roberto Ierusalimschy
|
d69aa51088
|
added missing parentheses around function names
|
16 years ago |
Roberto Ierusalimschy
|
4db2cddeee
|
LUA_COMPAT -> LUA_COMPAT_API (more specific)
|
17 years ago |
Roberto Ierusalimschy
|
6b8725b0ee
|
new macro LUA_COMPAT to control some compatibility macros
|
17 years ago |
Roberto Ierusalimschy
|
5fa55df2ca
|
updated years in some comments/strings
|
17 years ago |