<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes, branch v5.4.3</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.3</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2021-03-10T13:35:57+00:00</updated>
<entry>
<title>File 'tracegc.lua' added to 'packtests'</title>
<updated>2021-03-10T13:35:57+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-10T13:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=05b13651f96117674ba30dace03620658760acbd'/>
<id>urn:sha1:05b13651f96117674ba30dace03620658760acbd</id>
<content type='text'>
</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='https://git.lua4.win/lua/commit/?id=511d53a826760dd11cd82947184583e2d094e2d2'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>Wrong assertion in 'getbaseline'</title>
<updated>2021-03-05T15:10:34+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-05T15:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f5df7f91f70234850484d26caf24e71e001e5304'/>
<id>urn:sha1:f5df7f91f70234850484d26caf24e71e001e5304</id>
<content type='text'>
The assertion cannot compute 'f-&gt;abslineinfo[i]' when the initial
estimate 'i' is -1.
</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='https://git.lua4.win/lua/commit/?id=5276973224066e591b0f1a79c3b091d395848ac4'/>
<id>urn:sha1:5276973224066e591b0f1a79c3b091d395848ac4</id>
<content type='text'>
New module easies the inclusion of GC tracing in individual test files.
</content>
</entry>
<entry>
<title>New control for reentrancy of emergency collections</title>
<updated>2021-02-26T14:41:02+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-26T14:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1537d6680bb66dc2484e11815bc2cd0e31ca39cc'/>
<id>urn:sha1:1537d6680bb66dc2484e11815bc2cd0e31ca39cc</id>
<content type='text'>
Instead of assuming that shrinking a block may be an emergency
collection, use an explicit field ('gcstopem') to stop emergency
collections while GC is working.
</content>
</entry>
<entry>
<title>Bug (kind of) in 'isinstack'</title>
<updated>2021-02-25T16:39:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-25T16:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e0260eb2d4085723302d637dd8f3fca339d18817'/>
<id>urn:sha1:e0260eb2d4085723302d637dd8f3fca339d18817</id>
<content type='text'>
The function 'isinstack' tried to work around the undefined behavior
of subtracting two pointers that do not point to the same object,
but the compiler killed to trick. (It optimizes out the safety check,
because in a correct execution it will be always true.)
</content>
</entry>
<entry>
<title>Bug: 'string.concat' error message uses wrong format</title>
<updated>2021-02-15T16:31:45+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-15T16:31:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c03c527fd207b4ad8f5a8e0f4f2c176bd227c979'/>
<id>urn:sha1:c03c527fd207b4ad8f5a8e0f4f2c176bd227c979</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: cannot allow the call 'debug.getinfo(0, "&gt;")'</title>
<updated>2021-02-15T13:38:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-15T13:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=38cc7d40a4bcb89314d212fdffd2ca8deebc3cb7'/>
<id>urn:sha1:38cc7d40a4bcb89314d212fdffd2ca8deebc3cb7</id>
<content type='text'>
A 'what' argument starting with '&gt;' indicates that there is a function
in the C stack, which won't be there if the first argument is not a
function.
</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='https://git.lua4.win/lua/commit/?id=bc970005ce2e258e29a5c315ea4e49f76a66586e'/>
<id>urn:sha1: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>
</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='https://git.lua4.win/lua/commit/?id=4e47f81188d37e29027158b76271d02a781242e2'/>
<id>urn:sha1: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>
</entry>
</feed>
