<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/calls.lua, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2023-09-08T19:19:21+00:00</updated>
<entry>
<title>Removed test for "corrupted binary dump"</title>
<updated>2023-09-08T19:19:21+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-09-08T19:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=6baee9ef9d5657ab582c8a4b9f885ec58ed502d0'/>
<id>urn:sha1:6baee9ef9d5657ab582c8a4b9f885ec58ed502d0</id>
<content type='text'>
Test is too non portable. (For instance, it does not work for
different number types.)
</content>
</entry>
<entry>
<title>Details</title>
<updated>2023-07-03T17:12:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-07-03T17:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cbae01620278f9b568805db16a96d0631ced473d'/>
<id>urn:sha1:cbae01620278f9b568805db16a96d0631ced473d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: Loading a corrupted binary file can segfault</title>
<updated>2023-03-17T18:52:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-03-17T18:52:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ab859fe59b464a038a45552921cb2b23892343af'/>
<id>urn:sha1:ab859fe59b464a038a45552921cb2b23892343af</id>
<content type='text'>
The size of the list of upvalue names are stored separated from the
size of the list of upvalues, but they share the same array.
</content>
</entry>
<entry>
<title>Avoid excessive name pollution in test files</title>
<updated>2022-12-28T21:34:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-12-28T21:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=314745ed8438d1276c6c928d5f9d4be018dfadb6'/>
<id>urn:sha1:314745ed8438d1276c6c928d5f9d4be018dfadb6</id>
<content type='text'>
Test files are more polite regarding the use of globals when locals
would do, and when globals are necessary deleting them after use.
</content>
</entry>
<entry>
<title>More checks and documentation for uses of EXTRA_STACK</title>
<updated>2022-05-26T18:14:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-05-26T18:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d61b0c60287c38008d312ddd11724a15b1737f7b'/>
<id>urn:sha1:d61b0c60287c38008d312ddd11724a15b1737f7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed bug of long strings in binary chunks</title>
<updated>2020-08-18T17:42:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-08-18T17:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=6bc0f13505bf5d4f613d725fe008c79e72f83ddf'/>
<id>urn:sha1:6bc0f13505bf5d4f613d725fe008c79e72f83ddf</id>
<content type='text'>
When "undumping" a long string, the function 'loadVector' can call the
reader function, which can run the garbage collector, which can collect
the string being read. So, the string must be anchored during the call
to 'loadVector'.
</content>
</entry>
<entry>
<title>Fixed detail in 'loadUpvalues'</title>
<updated>2020-06-30T18:36:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-30T18:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=422ce50d2e8856ed789d1359c673122dbb0088ea'/>
<id>urn:sha1:422ce50d2e8856ed789d1359c673122dbb0088ea</id>
<content type='text'>
In 'lundump.c', when loading the upvalues of a function, there can be
a read error if the chunk is truncated. In that case, the creation
of the error message can trigger an emergency collection while the
prototype is still anchored. So, the prototype must be GC consistent
before loading the upvales, which implies that it the 'name' fields
must be filled with NULL before the reading.
</content>
</entry>
<entry>
<title>Back to old encoding of versions in binary files</title>
<updated>2020-05-06T17:19:08+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-05-06T17:19:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=61a4e64a6667bedaa882571c48a173ef5a4ba73b'/>
<id>urn:sha1:61a4e64a6667bedaa882571c48a173ef5a4ba73b</id>
<content type='text'>
(Undoing part of commit f53eabeed8.)  It is better to keep this encoding
stable, so that all Lua versions can read at least the version of a
binary file.
</content>
</entry>
<entry>
<title>Fixed bug in tail calls of __call chains</title>
<updated>2019-10-28T18:58:07+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-10-28T18:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7d526e75a7f45a2593e874d97c7fdfa0e45cc013'/>
<id>urn:sha1:7d526e75a7f45a2593e874d97c7fdfa0e45cc013</id>
<content type='text'>
A tail call of a __call chain (a __call metamethod that itself is
also not a function) was being perfomed as a regular call.
</content>
</entry>
<entry>
<title>'__call' metamethod can be any callable object</title>
<updated>2019-06-25T20:45:50+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-06-25T20:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c1a63c45f8ec5932993c8cec40d3c5ec0743349c'/>
<id>urn:sha1:c1a63c45f8ec5932993c8cec40d3c5ec0743349c</id>
<content type='text'>
Removed the restriction that a '__call' metamethod must be an actual
function.
</content>
</entry>
</feed>
