<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git, branch v5.4.0</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>Details</title>
<updated>2020-06-18T14:07:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-18T14:07:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=c33b1728aeb7dfeec4013562660e07d32697aa6b'/>
<id>c33b1728aeb7dfeec4013562660e07d32697aa6b</id>
<content type='text'>
Added as incompatibility, in the manual, the extra return of 'io.lines'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added as incompatibility, in the manual, the extra return of 'io.lines'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Detail in 'lua_resetthread'</title>
<updated>2020-06-17T13:36:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-17T13:36:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=a304199836ef37af6912a1da6f9b6cad33466a84'/>
<id>a304199836ef37af6912a1da6f9b6cad33466a84</id>
<content type='text'>
'lua_resetthread' should reset the CallInfo list before calling
'luaF_close'. luaF_close can call functions, and those functions
should not run with dead functions still in the CallInfo list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'lua_resetthread' should reset the CallInfo list before calling
'luaF_close'. luaF_close can call functions, and those functions
should not run with dead functions still in the CallInfo list.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed missing GC barriers in compiler and undump</title>
<updated>2020-06-16T12:54:20+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-16T12:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=6d7cd31feec58011a593cf732274a33dcc1bcb53'/>
<id>6d7cd31feec58011a593cf732274a33dcc1bcb53</id>
<content type='text'>
While building a new prototype, the GC needs barriers for every object
(strings and nested prototypes) that is attached to the new prototype.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While building a new prototype, the GC needs barriers for every object
(strings and nested prototypes) that is attached to the new prototype.
</pre>
</div>
</content>
</entry>
<entry>
<title>In 'lua_checkmemory', userdata can be gray, too</title>
<updated>2020-06-15T15:01:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-15T15:01:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=993c58fde3a85c27f52f094002ec57dabca81028'/>
<id>993c58fde3a85c27f52f094002ec57dabca81028</id>
<content type='text'>
Since commit ca6fe7449a74, userdata with uservalues can be gray
and can belong to gray lists ('gclist').
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit ca6fe7449a74, userdata with uservalues can be gray
and can belong to gray lists ('gclist').
</pre>
</div>
</content>
</entry>
<entry>
<title>'luaE_shrinkCI' shouldn't remove first free CallInfo</title>
<updated>2020-06-15T14:58:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-15T14:58:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=d49b2887282b86a5e6f40a386511aa8040f3c7b0'/>
<id>d49b2887282b86a5e6f40a386511aa8040f3c7b0</id>
<content type='text'>
Due to emergency collections, 'luaE_shrinkCI' can be called while Lua
is building a new CallInfo, which for a while is still a free CallInfo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to emergency collections, 'luaE_shrinkCI' can be called while Lua
is building a new CallInfo, which for a while is still a free CallInfo.
</pre>
</div>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-06-10T19:39:37+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-10T19:39:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=69e84805e48b0253007bd0daf481ce7955367d73'/>
<id>69e84805e48b0253007bd0daf481ce7955367d73</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid calling 'fprintf' with NULL</title>
<updated>2020-06-09T19:12:01+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-09T19:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=364e569945c044fd18c70ee1bc851364534aef97'/>
<id>364e569945c044fd18c70ee1bc851364534aef97</id>
<content type='text'>
Avoid undefined behavior in calls like «fprintf("%s", NULL)».
('lua_writestringerror' is implemented as 'fprintf', and 'lua_tostring'
can return NULL if object is not a string.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid undefined behavior in calls like «fprintf("%s", NULL)».
('lua_writestringerror' is implemented as 'fprintf', and 'lua_tostring'
can return NULL if object is not a string.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed two bugs in to-be-closed variables x constants</title>
<updated>2020-06-01T18:07:58+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-01T18:07:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=63295f1f7fa052fabcb4d69d49203cf33a7deef0'/>
<id>63295f1f7fa052fabcb4d69d49203cf33a7deef0</id>
<content type='text'>
The parser were mixing compiler indices of variables with stack indices,
so that when a to-be-closed variable was used inside the scope of
compile-time constants (which may be optimized away), it might be closed
in the wrong place. (See new tests for examples.)

Besides fixing the bugs, this commit also changed comments and variable
names to avoid that kind of confusion and added tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The parser were mixing compiler indices of variables with stack indices,
so that when a to-be-closed variable was used inside the scope of
compile-time constants (which may be optimized away), it might be closed
in the wrong place. (See new tests for examples.)

Besides fixing the bugs, this commit also changed comments and variable
names to avoid that kind of confusion and added tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements in the manual</title>
<updated>2020-05-29T13:41:32+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-05-29T13:41:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=50523b107d5bcc8069b1aec4b5b11b3fcc87da8d'/>
<id>50523b107d5bcc8069b1aec4b5b11b3fcc87da8d</id>
<content type='text'>
- more consistent nomenclature for error handling
- more precise definition for dead objects
- added algorithm used by 'math.random'
- added luaL_pushfail
- some other minor changes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- more consistent nomenclature for error handling
- more precise definition for dead objects
- added algorithm used by 'math.random'
- added luaL_pushfail
- some other minor changes
</pre>
</div>
</content>
</entry>
<entry>
<title>Details (more uniformity in error messages)</title>
<updated>2020-05-27T14:46:47+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-05-27T14:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=aa8d4a782d88738b3ea921cde5a450656da8fa63'/>
<id>aa8d4a782d88738b3ea921cde5a450656da8fa63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
