<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lobject.c, 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-17T18:59:28+00:00</updated>
<entry>
<title>More disciplined use of 'getstr' and 'tsslen'</title>
<updated>2023-08-17T18:59:28+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-08-17T18:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9b4f39ab14fb2e55345c3d23537d129dac23b091'/>
<id>urn:sha1:9b4f39ab14fb2e55345c3d23537d129dac23b091</id>
<content type='text'>
We may want to add other string variants in the future; this change
documents better where the code may need to handle those variants.
</content>
</entry>
<entry>
<title>Stack indices changed to union's</title>
<updated>2022-10-29T15:06:37+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-10-29T15:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=413a393e6222482f46599e138bebac162610a572'/>
<id>urn:sha1:413a393e6222482f46599e138bebac162610a572</id>
<content type='text'>
That will allow to change pointers to offsets while reallocating
the stack.
</content>
</entry>
<entry>
<title>Negation in constant folding of '&gt;&gt;' may overflow</title>
<updated>2022-09-23T14:08:10+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-09-23T14:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=26be27459b11feabed52cf40aaa76f86c7edc977'/>
<id>urn:sha1:26be27459b11feabed52cf40aaa76f86c7edc977</id>
<content type='text'>
</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>Detail</title>
<updated>2022-01-03T12:12:17+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-01-03T12:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=8dd2c912d299b84566c6f6d659336edfa9b18e9b'/>
<id>urn:sha1:8dd2c912d299b84566c6f6d659336edfa9b18e9b</id>
<content type='text'>
Warnings with clang when using long double for Lua floats.
</content>
</entry>
<entry>
<title>'luaL_newstate' should not allocate extra memory</title>
<updated>2020-11-03T19:34:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-11-03T19:34:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=58216600eba27d472de33dbb89e2f3e629bf8a59'/>
<id>urn:sha1:58216600eba27d472de33dbb89e2f3e629bf8a59</id>
<content type='text'>
The allocation of a userdata for the state of the warn system can
cause a panic if it fails; 'luaL_ref' also can fail. This commit
re-implements the warn system so that it does not need an explicit
state. Instead, the system uses different functions to represent
the different states.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-07-03T16:02:41+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-03T16:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0280407fc54f9b6225139c5ac27326f98f0cf043'/>
<id>urn:sha1:0280407fc54f9b6225139c5ac27326f98f0cf043</id>
<content type='text'>
Comments in makefile and function 'l_str2d'.
</content>
</entry>
<entry>
<title>'luaV_concat' can "concat" one single value</title>
<updated>2020-07-03T14:54:58+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-03T14:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ae809e9fd132ab867741a6a777450f9bc0d49be4'/>
<id>urn:sha1:ae809e9fd132ab867741a6a777450f9bc0d49be4</id>
<content type='text'>
Several of its callers needed that case and had to do the check
themselves.
</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>Undo change in the handling of 'L-&gt;top' (commit b80077b8f3)</title>
<updated>2019-08-29T15:52:37+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-08-29T15:52:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=72a094bda7d71050a91a88474d67d39aa2bc1c46'/>
<id>urn:sha1:72a094bda7d71050a91a88474d67d39aa2bc1c46</id>
<content type='text'>
With MMBIN instructions, there are fewer opcodes that need to update
'L-&gt;top', so that change does not seem to pay for the increased
complexity.
</content>
</entry>
</feed>
