<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/lua-github.git/lapi.c, branch v5.4.2</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>'lua_upvalueid' returns NULL on invalid upvalue index</title>
<updated>2020-10-12T17:51:28+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-10-12T17:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=30528049f1d11ea2854a6431e8e8524f83206559'/>
<id>30528049f1d11ea2854a6431e8e8524f83206559</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid any code before locks in the API</title>
<updated>2020-07-06T17:06:47+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-06T17:06:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=314c6057b785cd94ac88905ccfce61724107d66b'/>
<id>314c6057b785cd94ac88905ccfce61724107d66b</id>
<content type='text'>
For consistency in the C API, avoid any initializations before
callling lua_lock.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For consistency in the C API, avoid any initializations before
callling lua_lock.
</pre>
</div>
</content>
</entry>
<entry>
<title>Keep memory errors as memory errors</title>
<updated>2020-07-06T15:09:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-07-06T15:09:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=b57574d6fb9071b2f8f261b32c9378ed72db7023'/>
<id>b57574d6fb9071b2f8f261b32c9378ed72db7023</id>
<content type='text'>
Allow memory errors to be raised through the API (throwing the
error with the memory error message); error in external allocations
raises a memory error; memory errors in coroutines are re-raised
as memory errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow memory errors to be raised through the API (throwing the
error with the memory error message); error in external allocations
raises a memory error; memory errors in coroutines are re-raised
as memory errors.
</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>Fixed detail in 'loadUpvalues'</title>
<updated>2020-06-30T18:36:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-30T18:36:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=422ce50d2e8856ed789d1359c673122dbb0088ea'/>
<id>422ce50d2e8856ed789d1359c673122dbb0088ea</id>
<content type='text'>
In 'lundump.c', when loading the upvalues of a function, there can be
a read error if the chunk is truncated. In that case, the creation
of the error message can trigger an emergency collection while the
prototype is still anchored. So, the prototype must be GC consistent
before loading the upvales, which implies that it the 'name' fields
must be filled with NULL before the reading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 'lundump.c', when loading the upvalues of a function, there can be
a read error if the chunk is truncated. In that case, the creation
of the error message can trigger an emergency collection while the
prototype is still anchored. So, the prototype must be GC consistent
before loading the upvales, which implies that it the 'name' fields
must be filled with NULL before the reading.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clearer distinction between types and tags</title>
<updated>2020-01-31T14:09:53+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-01-31T14:09:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e'/>
<id>46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e</id>
<content type='text'>
LUA_T* represents only types; tags (types + Variants) are represented
by LUA_V* constants.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
LUA_T* represents only types; tags (types + Variants) are represented
by LUA_V* constants.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed internal representation of booleans</title>
<updated>2020-01-06T14:38:31+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-01-06T14:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=5ff408d2189c6c24fdf8908db4a31432bbdd6f15'/>
<id>5ff408d2189c6c24fdf8908db4a31432bbdd6f15</id>
<content type='text'>
Instead of an explicit value (field 'b'), true and false use different
tag variants. This avoids reading an extra field and results in more
direct code. (Most code that uses booleans needs to distinguish between
true and false anyway.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of an explicit value (field 'b'), true and false use different
tag variants. This avoids reading an extra field and results in more
direct code. (Most code that uses booleans needs to distinguish between
true and false anyway.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug in 'aux_rawset'</title>
<updated>2019-12-30T17:53:38+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-12-30T17:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=e3c83835e7b396ab7db538fb3b052f02d7807dee'/>
<id>e3c83835e7b396ab7db538fb3b052f02d7807dee</id>
<content type='text'>
In 'aux_rawset', top must be decremented after the barrier, which
refers to top-1. (Bug introduced in commit c646e57fd.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In 'aux_rawset', top must be decremented after the barrier, which
refers to top-1. (Bug introduced in commit c646e57fd.)
</pre>
</div>
</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='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=c646e57fd6307bd891e4e50ef5d6ee56b34e4cac'/>
<id>c646e57fd6307bd891e4e50ef5d6ee56b34e4cac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Small correction in assertion</title>
<updated>2019-12-13T17:02:42+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2019-12-13T17:02:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/lua-github.git/commit/?id=37474873203f247552021ab5856ab69d777166a2'/>
<id>37474873203f247552021ab5856ab69d777166a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
