<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/lapi.c, branch v5.4.4</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>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>
<entry>
<title>Fixed some bugs around stack reallocation</title>
<updated>2021-02-05T14:00:28+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-05T14:00:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=2bfa13e520e53210b96ead88f49a9ca20c5a5d18'/>
<id>2bfa13e520e53210b96ead88f49a9ca20c5a5d18</id>
<content type='text'>
Long time without using HARDSTACKTESTS...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Long time without using HARDSTACKTESTS...
</pre>
</div>
</content>
</entry>
<entry>
<title>Janitorial work</title>
<updated>2021-01-25T13:39:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-01-25T13:39:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=1f81baffadad9d955b030a1a29b9b06042a66552'/>
<id>1f81baffadad9d955b030a1a29b9b06042a66552</id>
<content type='text'>
Comments, code details, identation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Comments, code details, identation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow yields inside '__close' metamethods</title>
<updated>2021-01-13T16:54:10+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-01-13T16:54:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=b07fc10e91a5954254b47280aba287220c734a4b'/>
<id>b07fc10e91a5954254b47280aba287220c734a4b</id>
<content type='text'>
Initial implementation to allow yields inside '__close' metamethods.
This current version still does not allow a '__close' metamethod
to yield when called due to an error. '__close' metamethods from
C functions also are not allowed to yield.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial implementation to allow yields inside '__close' metamethods.
This current version still does not allow a '__close' metamethod
to yield when called due to an error. '__close' metamethods from
C functions also are not allowed to yield.
</pre>
</div>
</content>
</entry>
</feed>
