<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/files.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-08-17T13:42:56+00:00</updated>
<entry>
<title>More control over encoding of test files</title>
<updated>2023-08-17T13:42:56+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-08-17T13:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f4211a5ea4e235ccfa8b8dfa46031c23e9e839e2'/>
<id>urn:sha1:f4211a5ea4e235ccfa8b8dfa46031c23e9e839e2</id>
<content type='text'>
The few UTF-8 test files are commented as such, and there is only one
non UTF-8 test file (to test non UTF-8 sources).
</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>Small simplification in overflow check in 'getfield'</title>
<updated>2022-09-23T13:57:35+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-09-23T13:57:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cfbe378f906061ee56f91acfbdf569d0d3fb9556'/>
<id>urn:sha1:cfbe378f906061ee56f91acfbdf569d0d3fb9556</id>
<content type='text'>
Subtracting a small non-negative int from a non-negative int cannot
overflow, and adding a non-negative int to INT_MIN cannot overflow.
</content>
</entry>
<entry>
<title>Fixed bug: invalid mode can crash 'io.popen'</title>
<updated>2020-07-15T19:01:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-15T19:01:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1ecfbfa1a1debd2258decdf7c1954ac6f9761699'/>
<id>urn:sha1:1ecfbfa1a1debd2258decdf7c1954ac6f9761699</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added macro 'luaL_pushfail'</title>
<updated>2019-08-16T17:58:02+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-08-16T17:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=b96b0b5abbf40cbdbed7952bf35a5a27ddf75928'/>
<id>urn:sha1:b96b0b5abbf40cbdbed7952bf35a5a27ddf75928</id>
<content type='text'>
The macro 'luaL_pushfail' documents all places in the standard libraries
that return nil to signal some kind of failure. It is defined as
'lua_pushnil'. The manual also got a notation (@fail) to document those
returns. The tests were changed to be agnostic regarding whether 'fail'
is 'nil' or 'false'.
</content>
</entry>
<entry>
<title>Change in the syntax of attributes</title>
<updated>2019-07-30T15:18:19+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-30T15:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0d529138042563baf260366e19a7aa2c60a07174'/>
<id>urn:sha1:0d529138042563baf260366e19a7aa2c60a07174</id>
<content type='text'>
Attributes changed to posfixed ('x &lt;const&gt;', instead of '&lt;const&gt; x'),
and "toclose" renamed to "close". Posfixed attributes seem to make it
clearer that it applies to only one variable when there are multiple
variables.
</content>
</entry>
<entry>
<title>Some improvements in date/time functions</title>
<updated>2019-07-24T18:01:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-24T18:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0eb6aa4013051c8c0148c09d8c85ee7cbdc96f42'/>
<id>urn:sha1:0eb6aa4013051c8c0148c09d8c85ee7cbdc96f42</id>
<content type='text'>
- Range in date table extended to full 32 bits.
- Easier support for times represented as floats.
- Added more tests.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2019-07-10T17:58:31+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-10T17:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=be8445d7e4b6122620c428877b51a27d464253d5'/>
<id>urn:sha1:be8445d7e4b6122620c428877b51a27d464253d5</id>
<content type='text'>
In the generic for loop, it is simpler for OP_TFORLOOP to use the
same 'ra' as OP_TFORCALL. Moreover, the internal names of the loop
temporaries "(for ...)" don't need to leak internal details (even
because the numerical for loop doesn't have a fixed role for each of
its temporaries).
</content>
</entry>
<entry>
<title>First implementation for 'const' variables</title>
<updated>2019-05-17T14:11:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-05-17T14:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d9f40e3f6fb61650240c47d548bee69b24b07859'/>
<id>urn:sha1:d9f40e3f6fb61650240c47d548bee69b24b07859</id>
<content type='text'>
A variable can be declared const, which means it cannot be assigned to,
with the syntax 'local &lt;const&gt; name = exp'.
</content>
</entry>
<entry>
<title>Flag for to-be-closed variables changed to '&lt;toclose&gt;'</title>
<updated>2019-05-09T15:10:31+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-05-09T15:10:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d881325c2fcbb6d2c434ec403b0bbe51ac200c7b'/>
<id>urn:sha1:d881325c2fcbb6d2c434ec403b0bbe51ac200c7b</id>
<content type='text'>
The flag for to-be-closed variables was changed from '*toclose'
to '&lt;toclose&gt;'. Several people found confusing the old syntax and
the new one has a clear terminator, making it more flexible for
future changes.
</content>
</entry>
</feed>
