Roberto Ierusalimschy
|
9a38c08011
|
no need to ensure any stack space for panic function + some changes
in 'tryfuncTM' (small simplification)
|
2014-11-11 15:13:39 -02:00 |
|
Roberto Ierusalimschy
|
bfa0898312
|
bug: memory error in panic mode does not push error message on
the stack + stack check in tryfuncTM + comments
|
2014-11-10 15:42:04 -02:00 |
|
Roberto Ierusalimschy
|
e75c0148c3
|
comments (references to "ANSI C" changed to "ISO C", which is the
international name
|
2014-11-02 17:33:33 -02:00 |
|
Roberto Ierusalimschy
|
28fdbcf393
|
added include for 'lprefix.h', for stuff that must be added before
any other header file
|
2014-11-02 17:19:04 -02:00 |
|
Roberto Ierusalimschy
|
bdf566a8a3
|
`name' in comments changed to 'name'
|
2014-10-25 09:50:46 -02:00 |
|
Roberto Ierusalimschy
|
f97c64d7bf
|
macros 'LUA_QL'/'LUA_QL' deprecated
|
2014-10-17 13:28:21 -03:00 |
|
Roberto Ierusalimschy
|
85fc9ecd5f
|
detail ('G(L)' -> 'g')
|
2014-10-08 09:20:26 -03:00 |
|
Roberto Ierusalimschy
|
2a21f6c894
|
'lua_Kcontext' -> 'lua_KContext'
|
2014-10-07 15:29:13 -03:00 |
|
Roberto Ierusalimschy
|
2be88d5084
|
'lua_Ctx' -> 'lua_Kcontext'
|
2014-08-01 14:33:08 -03:00 |
|
Roberto Ierusalimschy
|
1aa4f69b51
|
new type 'lua_Ctx' for continuation-function contexts (to allow type
to be configurable)
|
2014-07-17 10:53:37 -03:00 |
|
Roberto Ierusalimschy
|
5bbb4a06a6
|
removed unused parameter Ä'L' in macro 'api_check' and company
|
2014-07-15 18:26:50 -03:00 |
|
Roberto Ierusalimschy
|
b9dcf9974d
|
detail (typos in comments)
|
2014-06-30 16:48:08 -03:00 |
|
Roberto Ierusalimschy
|
89b56e7d84
|
more precision between closure types ('LClosure' x 'CClosure')
|
2014-06-19 15:27:20 -03:00 |
|
Roberto Ierusalimschy
|
fa3113ffbf
|
cleaner way to handle bit CIST_OAH (with auxiliar macros)
|
2014-06-12 16:07:30 -03:00 |
|
Roberto Ierusalimschy
|
d94bb6c273
|
janitor work on 'lua_resume' and related code
|
2014-06-11 13:01:55 -03:00 |
|
Roberto Ierusalimschy
|
88a9e51f34
|
bit-field CIST_YIELDED removed (it was never consulted)
|
2014-06-10 16:18:50 -03:00 |
|
Roberto Ierusalimschy
|
542b6cfc02
|
no need for field 'status' in structure 'CallInfo' (after removal
of 'lua_getctx') + field 'old_allowhook' can be packed into a single
bit
|
2014-06-10 15:51:21 -03:00 |
|
Roberto Ierusalimschy
|
6f6fd96e3b
|
new type lua_KFunction + no more 'lua_getctx'
|
2014-06-10 14:41:38 -03:00 |
|
Roberto Ierusalimschy
|
35a6aad0d7
|
added comments
|
2014-06-09 13:32:18 -03:00 |
|
Roberto Ierusalimschy
|
1bd70a8e40
|
new function 'lua_isyieldable' (and 'coroutine.isyieldable')
|
2014-05-08 10:52:20 -03:00 |
|
Roberto Ierusalimschy
|
da4811238a
|
details (typos in comments)
|
2014-03-21 10:52:33 -03:00 |
|
Roberto Ierusalimschy
|
c6c41e85b2
|
more uniformity for defining system-dependent features
|
2014-02-26 12:27:56 -03:00 |
|
Roberto Ierusalimschy
|
ffa96d988d
|
field 'op' renamed to 'open'
|
2014-02-15 11:12:01 -02:00 |
|
Roberto Ierusalimschy
|
7a8eb83b4a
|
bug: attempting to resume the running coroutine makes it unyieldable
|
2013-11-08 16:16:33 -02:00 |
|
Roberto Ierusalimschy
|
4c6dfc342b
|
CallInfo lists shrinks together with their associated stacks
|
2013-09-17 12:40:06 -03:00 |
|
Roberto Ierusalimschy
|
af35c7f398
|
upvalues collected by reference count
|
2013-08-27 15:53:35 -03:00 |
|
Roberto Ierusalimschy
|
fa3b126a23
|
BUG: stack overflow in vararg functions with many fixed
parameters called with few arguments
|
2013-04-19 18:05:04 -03:00 |
|
Roberto Ierusalimschy
|
b157f3546e
|
BUG: 'pcall' may not restore previous error function when
inside coroutines
|
2012-10-01 11:05:04 -03:00 |
|
Roberto Ierusalimschy
|
2dc91ca5ee
|
checks garbage collector every time it calls a function (as the
stack can grow and so allocates more memory)
|
2012-08-28 15:30:45 -03:00 |
|
Roberto Ierusalimschy
|
b926472312
|
change in error message
|
2012-06-29 16:23:33 -03:00 |
|
Roberto Ierusalimschy
|
cc2a60ecb7
|
bugs in yields inside debug hooks
|
2012-06-08 12:14:04 -03:00 |
|
Roberto Ierusalimschy
|
3cadc37f47
|
no more 'Proto' objects on the stack. Protos are anchored on outer
Protos or on a Closure, which must be created before the Proto.
|
2012-05-08 10:53:33 -03:00 |
|
Roberto Ierusalimschy
|
a94ce68e0a
|
bug: wrong handling of 'nCcalls' in coroutines
|
2012-04-26 17:41:18 -03:00 |
|
Roberto Ierusalimschy
|
3617e04e97
|
'lua_load' has an extra argument 'mode'
|
2011-11-29 13:55:08 -02:00 |
|
Roberto Ierusalimschy
|
217e67cb22
|
new type 'l_noret' for function that do not return
|
2011-10-07 17:45:19 -03:00 |
|
Roberto Ierusalimschy
|
ec431ce5db
|
comment
|
2011-09-12 17:33:03 -03:00 |
|
Roberto Ierusalimschy
|
3dc5475e23
|
'nCcalls' should be local to each thread, as each thread may have its
own C stack (with LuaThreads or something similar)
|
2011-08-23 14:24:34 -03:00 |
|
Roberto Ierusalimschy
|
f180822fa6
|
back to internal table for 'ctype', no more locale manipulation
|
2011-06-28 12:42:04 -03:00 |
|
Roberto Ierusalimschy
|
136f8e148d
|
added cast to void to calls to 'setlocale' (to easy redefining it as
a constant)
|
2011-06-20 13:36:03 -03:00 |
|
Roberto Ierusalimschy
|
cb4950a6d8
|
parser must work with C locale, but external locale must be preserved
|
2011-06-18 14:08:58 -03:00 |
|
Roberto Ierusalimschy
|
3b44821334
|
stricter control (using tag variants) over closure kinds (Lua x C)
|
2011-06-02 16:31:40 -03:00 |
|
Roberto Ierusalimschy
|
3f04a9f2c0
|
code is simpler without 'goto' here
|
2011-05-30 13:36:38 -03:00 |
|
Roberto Ierusalimschy
|
7482e8f914
|
no need of lookahead in Zio
|
2011-02-23 10:13:10 -03:00 |
|
Roberto Ierusalimschy
|
f079749287
|
some reorganization of dynamic data structures used by the parser
|
2011-02-07 15:14:50 -02:00 |
|
Roberto Ierusalimschy
|
7cc0e63d8a
|
first implementation of 'goto'
|
2011-02-04 15:34:43 -02:00 |
|
Roberto Ierusalimschy
|
4590a89b32
|
corrected warnings from different compilers (mostly casts and small
details)
|
2010-10-25 17:01:37 -02:00 |
|
Roberto Ierusalimschy
|
ffff9a49da
|
'nresults' in CallInfo now refers to number of results that the current
function returns (and not what it expects from a call)
|
2010-09-30 14:21:31 -03:00 |
|
Roberto Ierusalimschy
|
545f43065f
|
'luaF_newLclosure' gets prototype of new closure as argument
|
2010-06-04 10:06:15 -03:00 |
|
Roberto Ierusalimschy
|
237f755dca
|
typos in comments
|
2010-05-05 15:49:56 -03:00 |
|
Roberto Ierusalimschy
|
53f9499f7f
|
"light C function" is a better name than "C-function pointer"
|
2010-04-18 10:22:48 -03:00 |
|