<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/ltests.c, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-04-23T21:00:23+00:00</updated>
<entry>
<title>new macro 'setnilvalue2s'</title>
<updated>2026-04-23T21:00:23+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-23T21:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ae23e726018bd31a25c1279600328d90207ec81c'/>
<id>urn:sha1:ae23e726018bd31a25c1279600328d90207ec81c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid macros luaL_loadbuffer and luaL_loadfile</title>
<updated>2026-04-07T16:42:34+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-07T16:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=29cf284089d543408d726440a3f1acaecdf73636'/>
<id>urn:sha1:29cf284089d543408d726440a3f1acaecdf73636</id>
<content type='text'>
Use luaL_loadbufferx and luaL_loadfilex instead, being explicit about
whether to accept binary chunks.
</content>
</entry>
<entry>
<title>More effort in avoiding errors in finalizers</title>
<updated>2026-01-11T18:36:03+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-01-11T18:36:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded'/>
<id>urn:sha1:2a7cf4f319fc276f4554a8f6364e6b1ba4eb2ded</id>
<content type='text'>
Before calling a finalizer, Lua not only checks stack limits, but
actually ensures that a minimum number of slots are already allocated
for the call. (If it cannot ensure that, it postpones the finalizer.)
That avoids finalizers not running due to memory errors that the
programmer cannot control.
</content>
</entry>
<entry>
<title>'onelua' can use the test library</title>
<updated>2025-07-29T17:35:04+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-29T17:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=8fddca81e7d4137512e92f398ca638d61b935dbd'/>
<id>urn:sha1:8fddca81e7d4137512e92f398ca638d61b935dbd</id>
<content type='text'>
Just add -DLUA_USER_H='"ltests.h"' when compiling it.
</content>
</entry>
<entry>
<title>Short strings can be external, too</title>
<updated>2025-07-15T17:40:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-15T17:40:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=60b6599e8322dd93e3b33c9496ff035a1c45552f'/>
<id>urn:sha1:60b6599e8322dd93e3b33c9496ff035a1c45552f</id>
<content type='text'>
That complicates a little object equality (and therefore table access
for long strings), but the old behavior was somewhat weird. (Short
strings, a concept otherwise absent from the manual, could not be
external.)
</content>
</entry>
<entry>
<title>Janitorial work on casts</title>
<updated>2025-05-08T18:18:57+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-05-08T18:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7ade1557627cf3f09c23c892ee227b7386f28414'/>
<id>urn:sha1:7ade1557627cf3f09c23c892ee227b7386f28414</id>
<content type='text'>
</content>
</entry>
<entry>
<title>io.write returns number of written bytes on error</title>
<updated>2025-04-03T14:32:49+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-04-03T14:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3f4f28010aa5065456f1edf97de1ab268cc49944'/>
<id>urn:sha1:3f4f28010aa5065456f1edf97de1ab268cc49944</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2025-03-24T18:23:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-24T18:23:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cad5a4fdbb0f0843ec67596d1e472187decf1c88'/>
<id>urn:sha1:cad5a4fdbb0f0843ec67596d1e472187decf1c88</id>
<content type='text'>
Small changes in test library:
- execute mode added to 'all.lua';
- more information about subtypes (tags) when printing a stack.
</content>
</entry>
<entry>
<title>New function 'printallstack' in test library</title>
<updated>2025-03-17T17:30:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-17T17:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=205f9aa67b43b3d9b5059769cfc1ed0265341586'/>
<id>urn:sha1:205f9aa67b43b3d9b5059769cfc1ed0265341586</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Wrong error message when using "_ENV" fields</title>
<updated>2025-03-14T18:16:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-14T18:16:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=94d38560c3095190fa2c868cbf7bcf39ca444568'/>
<id>urn:sha1:94d38560c3095190fa2c868cbf7bcf39ca444568</id>
<content type='text'>
The string "_ENV" is erroneously identified as a variable _ENV,
so that results from a field is classified as a global.
</content>
</entry>
</feed>
