<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/testes/strings.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>Portability issue in a test for 'string.format'</title>
<updated>2022-10-19T19:20:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-10-19T19:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7f12bf40c401ea465c792156be31bf4a38a7499f'/>
<id>urn:sha1:7f12bf40c401ea465c792156be31bf4a38a7499f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revamp of format validation in 'string.format'</title>
<updated>2021-09-03T16:14:56+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-09-03T16:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9db4bfed6bb9d5828c99c0f24749eedf54d70cc2'/>
<id>urn:sha1:9db4bfed6bb9d5828c99c0f24749eedf54d70cc2</id>
<content type='text'>
When calling 'sprintf', not all conversion specifiers accept all
flags; some combinations are undefined behavior.
</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>Simplification and smaller buffers for 'lua_pushfstring'</title>
<updated>2020-07-03T14:36:56+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-03T14:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e96385adede47a1abf160a41565ec742d3d4e413'/>
<id>urn:sha1:e96385adede47a1abf160a41565ec742d3d4e413</id>
<content type='text'>
The function 'lua_pushfstring' is seldom called with large strings,
there is no need to optimize too much for that cases.
</content>
</entry>
<entry>
<title>Fixed bug in 'string.format("%p")'</title>
<updated>2020-03-16T17:13:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-03-16T17:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=513559cc4760392b6fa33754c516683ef49dba22'/>
<id>urn:sha1:513559cc4760392b6fa33754c516683ef49dba22</id>
<content type='text'>
The string "(null)" used for non-collectable values must be printed as a
string, not as a pointer. (Bug introduced in commit e0cbaa50fa7).
</content>
</entry>
<entry>
<title>Joined common code in 'lua_rawset' and 'lua_rawsetp'</title>
<updated>2019-12-17T18:45:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-12-17T18:45:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c646e57fd6307bd891e4e50ef5d6ee56b34e4cac'/>
<id>urn:sha1:c646e57fd6307bd891e4e50ef5d6ee56b34e4cac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More generic pattern when testing 'string.format'</title>
<updated>2019-11-22T14:07:47+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-11-22T14:07:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=6f1c033d72af8fe65bb67e17a242314b6aeb182f'/>
<id>urn:sha1:6f1c033d72af8fe65bb67e17a242314b6aeb182f</id>
<content type='text'>
The result of 'string.format("%a", 0.0)' can have multiple zeros
after the dot.
</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>
</feed>
