<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/lobject.c, branch v5.4.4</title>
<subtitle>github.com: lua/lua.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/'/>
<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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=8dd2c912d299b84566c6f6d659336edfa9b18e9b'/>
<id>8dd2c912d299b84566c6f6d659336edfa9b18e9b</id>
<content type='text'>
Warnings with clang when using long double for Lua floats.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Warnings with clang when using long double for Lua floats.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=58216600eba27d472de33dbb89e2f3e629bf8a59'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=0280407fc54f9b6225139c5ac27326f98f0cf043'/>
<id>0280407fc54f9b6225139c5ac27326f98f0cf043</id>
<content type='text'>
Comments in makefile and function 'l_str2d'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Comments in makefile and function 'l_str2d'.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=ae809e9fd132ab867741a6a777450f9bc0d49be4'/>
<id>ae809e9fd132ab867741a6a777450f9bc0d49be4</id>
<content type='text'>
Several of its callers needed that case and had to do the check
themselves.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several of its callers needed that case and had to do the check
themselves.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e96385adede47a1abf160a41565ec742d3d4e413'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The function 'lua_pushfstring' is seldom called with large strings,
there is no need to optimize too much for that cases.
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=72a094bda7d71050a91a88474d67d39aa2bc1c46'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change in the handling of 'L-&gt;top' when calling metamethods</title>
<updated>2019-07-26T17:59:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-26T17:59:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=b80077b8f3e27a94c6afa895b41a9f8b52c42e61'/>
<id>b80077b8f3e27a94c6afa895b41a9f8b52c42e61</id>
<content type='text'>
Instead of updating 'L-&gt;top' in every place that may call a
metamethod, the metamethod functions themselves (luaT_trybinTM and
luaT_callorderTM) correct the top. (When calling metamethods from
the C API, however, the callers must preserve 'L-&gt;top'.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of updating 'L-&gt;top' in every place that may call a
metamethod, the metamethod functions themselves (luaT_trybinTM and
luaT_callorderTM) correct the top. (When calling metamethods from
the C API, however, the callers must preserve 'L-&gt;top'.)
</pre>
</div>
</content>
</entry>
<entry>
<title>OP_NEWTABLE keeps exact size of arrays</title>
<updated>2019-07-12T19:13:50+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-07-12T19:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=1fb4d539254b67e7e35ed698250c66d1edff0e08'/>
<id>1fb4d539254b67e7e35ed698250c66d1edff0e08</id>
<content type='text'>
OP_NEWTABLE is followed by an OP_EXTRAARG, so that it can keep
the exact size of the array part of the table to be created.
(Functions 'luaO_int2fb'/'luaO_fb2int' were removed.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OP_NEWTABLE is followed by an OP_EXTRAARG, so that it can keep
the exact size of the array part of the table to be created.
(Functions 'luaO_int2fb'/'luaO_fb2int' were removed.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2019-06-03T14:36:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-06-03T14:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=2c68e66570206aa1496f9c76fcf2a1a0f550d692'/>
<id>2c68e66570206aa1496f9c76fcf2a1a0f550d692</id>
<content type='text'>
Several small changes from feedback on 5.4 alhpa rc1 (warnings,
typos in the manual, and the like)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several small changes from feedback on 5.4 alhpa rc1 (warnings,
typos in the manual, and the like)
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2019-05-28T18:46:49+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-05-28T18:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=b293ae0577bebaca7169cb4f041b800641d5e2c4'/>
<id>b293ae0577bebaca7169cb4f041b800641d5e2c4</id>
<content type='text'>
- new error message for "attempt to assign to const variable"
- note in the manual about compatibility options
- comments
- small changes in 'read_line' and 'pushstr'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- new error message for "attempt to assign to const variable"
- note in the manual about compatibility options
- comments
- small changes in 'read_line' and 'pushstr'
</pre>
</div>
</content>
</entry>
</feed>
