Roberto Ierusalimschy
|
c31f4946e9
|
copyright updated to 2011
|
2011-04-18 11:15:48 -03:00 |
|
Roberto Ierusalimschy
|
6098e06e09
|
better organization for coercion functions between lua_Number and
integer types + IEEE trick to be used in most platforms, by default
|
2010-10-26 17:32:19 -02:00 |
|
Roberto Ierusalimschy
|
c6b64ffe65
|
new type lua_Unsigned and corresponding projection/injection functions
|
2010-10-25 18:31:11 -02: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
|
8b7cf8c62d
|
'lua_[gs]etenv' -> 'lua_[gs]etuservalue'
|
2010-07-25 12:18:19 -03:00 |
|
Roberto Ierusalimschy
|
85c1461422
|
new macros LUA_VERSION_{MAJOR/MINOR/RELEASE}
|
2010-07-25 12:02:41 -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
|
e924a7f9ea
|
new API function 'lua_absindex'
|
2010-05-12 11:09:20 -03:00 |
|
Roberto Ierusalimschy
|
2d81cfa4e1
|
corrected definition of 'lua_register' (there is no LUA_ENVIRONINDEX
anymore)
|
2010-05-10 10:50:20 -03:00 |
|
Roberto Ierusalimschy
|
afdb19ac82
|
no more 'ccall' nor 'cpcall' functions. (With light C functions they
are obsolete.)
|
2010-04-14 12:14:21 -03:00 |
|
Roberto Ierusalimschy
|
d20ff60615
|
new macro LUA_NUMTAGS
|
2010-04-12 13:07:29 -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
|
064e406f67
|
no more fenvs!
|
2010-03-26 17:58:11 -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
|
caf74dd731
|
'cpcall' renamed to 'ccall' as it does not do a protected call
|
2010-03-19 18:04:17 -03:00 |
|
Roberto Ierusalimschy
|
489253d753
|
better definitions for lua_[gs]etglobal + less uses of ENVIRONINDEX
|
2010-03-13 00:57:46 -03:00 |
|
Roberto Ierusalimschy
|
03b556b963
|
corrected copyright notice to 2010
|
2010-01-11 15:15:11 -02:00 |
|
Roberto Ierusalimschy
|
19f8c87375
|
compatibility code moved to luaconf.h
|
2010-01-06 13:08:00 -02:00 |
|
Roberto Ierusalimschy
|
5bcfe0c700
|
new debug info 'isvararg' and 'nparams'
|
2010-01-06 12:42:35 -02:00 |
|
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).
|
2010-01-05 16:33:26 -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
|
ec0fc1a13b
|
missing parentheses around 'lua_version' + moving typdef's before
the extra include
|
2009-12-18 13:32:36 -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
|
2e51792596
|
avoid using deprecated macros lua_[gs]etglobal
|
2009-12-11 11:40:44 -02:00 |
|
Roberto Ierusalimschy
|
3c4d970a7b
|
comment typos
|
2009-11-26 09:39:20 -02:00 |
|
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
|
2009-11-25 13:27:51 -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
|
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
|
916587508c
|
parser keeps list of active local variables in a single dynamic array,
therefore saving C stack space
|
2009-10-11 17:02:19 -03:00 |
|
Roberto Ierusalimschy
|
a5382b763c
|
new function lua_copy
|
2009-10-05 13:44:33 -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
|
0e45ffb8e4
|
first implementation of 'lua_yieldk' (yield with continuation)
|
2009-09-14 11:30:39 -03:00 |
|
Roberto Ierusalimschy
|
f76f4cb79d
|
new way to control stack overflow, controling only total size of the stack
|
2009-07-15 14:26:14 -03:00 |
|
Roberto Ierusalimschy
|
1d6ebce296
|
new function 'lua_version' (so that 'checkversion' can be implemented
in the auxiliary library)
|
2009-06-18 15:59:18 -03:00 |
|
Roberto Ierusalimschy
|
6980cb1aa7
|
new functions 'lua_arith' and 'lua_compare'
|
2009-06-17 14:53:14 -03:00 |
|
Roberto Ierusalimschy
|
a21c89ddc8
|
new API function 'lua_mainthread'
|
2009-06-15 16:51:31 -03:00 |
|
Roberto Ierusalimschy
|
019ebcb85f
|
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
__gc MetaMethod)
|
2009-05-21 17:06:11 -03:00 |
|
Roberto Ierusalimschy
|
4f88418170
|
'CallInfo' stack implemented as double-linked list instead of an array
|
2009-04-17 11:28:06 -03:00 |
|
Roberto Ierusalimschy
|
70a63fa5ad
|
first implementation of yieldable 'pcall'
|
2009-04-08 15:04:33 -03:00 |
|
Roberto Ierusalimschy
|
6d0ae11c57
|
'context' added to suspendable calls
|
2009-03-23 11:26:12 -03:00 |
|
Roberto Ierusalimschy
|
ba484b9eb1
|
yielding across lua_call (first version)
|
2009-03-10 14:14:37 -03:00 |
|
Roberto Ierusalimschy
|
d2ebdc045b
|
new macro 'lua_checkversion' to check whether core and application are
compatible
|
2009-02-18 14:20:56 -03:00 |
|
Roberto Ierusalimschy
|
d69aa51088
|
added missing parentheses around function names
|
2008-08-13 11:08:49 -03:00 |
|
Roberto Ierusalimschy
|
4db2cddeee
|
LUA_COMPAT -> LUA_COMPAT_API (more specific)
|
2008-07-18 16:58:10 -03:00 |
|
Roberto Ierusalimschy
|
6b8725b0ee
|
new macro LUA_COMPAT to control some compatibility macros
|
2008-07-11 14:50:31 -03:00 |
|
Roberto Ierusalimschy
|
5fa55df2ca
|
updated years in some comments/strings
|
2008-05-09 13:51:44 -03:00 |
|