<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/testes/locals.lua, 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>Bug: 'local function' can assign to '&lt;const&gt;' variables</title>
<updated>2021-06-20T18:36:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-06-20T18:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6a0dace25a4b5b77f0fa6911de2ba26ef0fdff2c'/>
<id>6a0dace25a4b5b77f0fa6911de2ba26ef0fdff2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug: yielding in '__close' mess up number of returns</title>
<updated>2021-04-16T18:41:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-04-16T18:41:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=681297187ec45268e872b26753c441586c12bdd8'/>
<id>681297187ec45268e872b26753c441586c12bdd8</id>
<content type='text'>
Yielding in a __close metamethod called when returning vararg results
changes the top and so messes up the number of returned values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Yielding in a __close metamethod called when returning vararg results
changes the top and so messes up the number of returned values.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug: tbc variables in "for" loops don't avoid tail calls</title>
<updated>2021-04-07T17:59:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-04-07T17:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=47cffdc723c2e0c6dfaf62b7775ca1c1d338c0a4'/>
<id>47cffdc723c2e0c6dfaf62b7775ca1c1d338c0a4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>New test module 'tracegc'</title>
<updated>2021-03-01T16:54:29+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-01T16:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5276973224066e591b0f1a79c3b091d395848ac4'/>
<id>5276973224066e591b0f1a79c3b091d395848ac4</id>
<content type='text'>
New module easies the inclusion of GC tracing in individual test files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New module easies the inclusion of GC tracing in individual test files.
</pre>
</div>
</content>
</entry>
<entry>
<title>'__close' methods can yield in the return of a C function</title>
<updated>2021-02-12T16:36:30+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-12T16:36:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=bc970005ce2e258e29a5c315ea4e49f76a66586e'/>
<id>bc970005ce2e258e29a5c315ea4e49f76a66586e</id>
<content type='text'>
When, inside a coroutine, a C function with to-be-closed slots return,
the corresponding metamethods can yield. ('__close' metamethods called
through 'lua_closeslot' still cannot yield, as there is no continuation
to go when resuming.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When, inside a coroutine, a C function with to-be-closed slots return,
the corresponding metamethods can yield. ('__close' metamethods called
through 'lua_closeslot' still cannot yield, as there is no continuation
to go when resuming.)
</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>Correct order of return hooks vs. close metamethods</title>
<updated>2021-01-21T13:27:22+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-01-21T13:27:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=0e9254dfa03d95c3aa2888cf78e9a30bc88d41bc'/>
<id>0e9254dfa03d95c3aa2888cf78e9a30bc88d41bc</id>
<content type='text'>
The return hook should be called only after closing variables (which
are still part of the function). C functions were calling the hook
before the metamethods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The return hook should be called only after closing variables (which
are still part of the function). C functions were calling the hook
before the metamethods.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simpler handling of errors when creating tbc variables</title>
<updated>2021-01-19T13:03:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-01-19T13:03:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6ccd24eff58340c00db2877c4558a63c6b859442'/>
<id>6ccd24eff58340c00db2877c4558a63c6b859442</id>
<content type='text'>
New field 'lua_State.ptbc' keeps to-be-closed variable until its
upvalue is created, so that it can be closed in case of a
memory-allocation error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New field 'lua_State.ptbc' keeps to-be-closed variable until its
upvalue is created, so that it can be closed in case of a
memory-allocation error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow yields in '__close' metamethods ater errors</title>
<updated>2021-01-18T14:40:45+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-01-18T14:40:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=d0f34d91373fa265d4445e456e4a10ce206c1559'/>
<id>d0f34d91373fa265d4445e456e4a10ce206c1559</id>
<content type='text'>
Completes commit b07fc10e91a. '__close' metamethods can yield even
when they are being called due to an error. '__close' metamethods from
C functions are still not allowed to yield.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Completes commit b07fc10e91a. '__close' metamethods can yield even
when they are being called due to an error. '__close' metamethods from
C functions are still not allowed to yield.
</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>
