<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/lapi.c, branch v5.4.6</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/'/>
<entry>
<title>Stack indices changed to union's</title>
<updated>2022-10-29T15:06:37+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-10-29T15:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=413a393e6222482f46599e138bebac162610a572'/>
<id>413a393e6222482f46599e138bebac162610a572</id>
<content type='text'>
That will allow to change pointers to offsets while reallocating
the stack.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That will allow to change pointers to offsets while reallocating
the stack.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug: 'lua_settop' may use an invalid pointer to stack</title>
<updated>2022-05-25T20:41:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-05-25T20:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=196bb94d66e727e0aec053a0276c3ad701500762'/>
<id>196bb94d66e727e0aec053a0276c3ad701500762</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>'lua_checkstack' doesn't need to check stack overflow</title>
<updated>2022-05-23T13:38:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-05-23T13:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=4a00f61276a9a38b0427fbae3dbbd86dfb5a0749'/>
<id>4a00f61276a9a38b0427fbae3dbbd86dfb5a0749</id>
<content type='text'>
'luaD_growstack' already checks that. This commit also fixes an
internal bug in 'luaD_growstack': a large 'n' could cause an arithmetic
overflow when computing 'needed'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'luaD_growstack' already checks that. This commit also fixes an
internal bug in 'luaD_growstack': a large 'n' could cause an arithmetic
overflow when computing 'needed'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2021-12-21T10:39:25+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-12-21T10:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=86ec152433baf8daf39f03a59c6842cbe33a179d'/>
<id>86ec152433baf8daf39f03a59c6842cbe33a179d</id>
<content type='text'>
correction in macro for hard tests + type in comment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
correction in macro for hard tests + type in comment
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug: GC is not reentrant</title>
<updated>2021-12-13T13:41:17+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-12-13T13:41:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=0bfc572e51d9035a615ef6e9523f736c9ffa8e57'/>
<id>0bfc572e51d9035a615ef6e9523f736c9ffa8e57</id>
<content type='text'>
As the GC is not reentrant, finalizers should not be able to invoke it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As the GC is not reentrant, finalizers should not be able to invoke it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Using 'inline' in some functions</title>
<updated>2021-09-15T14:18:41+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-09-15T14:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=2ff34717227b8046b0fdcb96206f11f5e888664e'/>
<id>2ff34717227b8046b0fdcb96206f11f5e888664e</id>
<content type='text'>
According to ISO C, "making a function an inline function suggests that
calls to the function be as fast as possible." (Not available in C89.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to ISO C, "making a function an inline function suggests that
calls to the function be as fast as possible." (Not available in C89.)
</pre>
</div>
</content>
</entry>
<entry>
<title>'index2value' more robust</title>
<updated>2021-05-24T19:48:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-05-24T19:48:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=fc6c74f1004b5f67d0503633ddb74174a3c8d6ad'/>
<id>fc6c74f1004b5f67d0503633ddb74174a3c8d6ad</id>
<content type='text'>
'index2value' accepts pseudo-indices also when called from a Lua
function, through a hook.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'index2value' accepts pseudo-indices also when called from a Lua
function, through a hook.
</pre>
</div>
</content>
</entry>
<entry>
<title>lua_settop/lua_pop closes to-be-closed variables</title>
<updated>2021-03-09T14:42:45+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-09T14:42:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=511d53a826760dd11cd82947184583e2d094e2d2'/>
<id>511d53a826760dd11cd82947184583e2d094e2d2</id>
<content type='text'>
The existence of 'lua_closeslot' is no reason for lua_pop not to close
to-be-closed variables too.  It is too error-prone for lua_pop not to
close tbc variables being popped from the stack.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existence of 'lua_closeslot' is no reason for lua_pop not to close
to-be-closed variables too.  It is too error-prone for lua_pop not to
close tbc variables being popped from the stack.
</pre>
</div>
</content>
</entry>
<entry>
<title>New implementation for to-be-closed variables</title>
<updated>2021-02-09T17:00:05+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-09T17:00:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=4e47f81188d37e29027158b76271d02a781242e2'/>
<id>4e47f81188d37e29027158b76271d02a781242e2</id>
<content type='text'>
To-be-closed variables are linked in their own list, embedded into the
stack elements. (Due to alignment, this information does not change
the size of the stack elements in most architectures.)  This new list
does not produce garbage and avoids memory errors when creating tbc
variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To-be-closed variables are linked in their own list, embedded into the
stack elements. (Due to alignment, this information does not change
the size of the stack elements in most architectures.)  This new list
does not produce garbage and avoids memory errors when creating tbc
variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>New macro 'completestate'</title>
<updated>2021-02-05T20:51:25+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-05T20:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=c63e5d212bc5dec1b1c749e3f07b42cd83081826'/>
<id>c63e5d212bc5dec1b1c749e3f07b42cd83081826</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
