<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lbaselib.c, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-04-23T20:58:55+00:00</updated>
<entry>
<title>'load' reader function doesn't need to preserve stack</title>
<updated>2026-04-23T20:58:55+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-23T20:58:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4c5d5063a54c0088729b16fb25a333f0f9f836b0'/>
<id>urn:sha1:4c5d5063a54c0088729b16fb25a333f0f9f836b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid macros luaL_loadbuffer and luaL_loadfile</title>
<updated>2026-04-07T16:42:34+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-07T16:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=29cf284089d543408d726440a3f1acaecdf73636'/>
<id>urn:sha1:29cf284089d543408d726440a3f1acaecdf73636</id>
<content type='text'>
Use luaL_loadbufferx and luaL_loadfilex instead, being explicit about
whether to accept binary chunks.
</content>
</entry>
<entry>
<title>'__pairs' can also return a to-be-closed object</title>
<updated>2025-11-11T18:11:06+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-11-11T18:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4cf498210e6a60637a7abb06d32460ec21efdbdc'/>
<id>urn:sha1:4cf498210e6a60637a7abb06d32460ec21efdbdc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Parameter for lua_gc/LUA_GCSTEP changed to 'size_t'</title>
<updated>2024-09-10T20:05:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-09-10T20:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4901853c1163d0bba81ef1579835cb2b6560e245'/>
<id>urn:sha1:4901853c1163d0bba81ef1579835cb2b6560e245</id>
<content type='text'>
'size_t' is the common type for measuring memory. 'int' can be too
small for steps.
</content>
</entry>
<entry>
<title>Added gcc option '-Wconversion'</title>
<updated>2024-07-27T16:32:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-27T16:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b'/>
<id>urn:sha1:0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b</id>
<content type='text'>
No warnings for standard numerical types. Still pending alternative
numerical types.
</content>
</entry>
<entry>
<title>llimits.h being used by all Lua code</title>
<updated>2024-06-20T17:46:06+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-20T17:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0'/>
<id>urn:sha1:a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0</id>
<content type='text'>
The definitions in llimits.h are useful not only for the core. That
header only defines types and '#define's, so libs and core still do
not share any real code/data.
</content>
</entry>
<entry>
<title>'getmode' renamed to 'getMode'</title>
<updated>2024-04-08T17:28:26+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-04-08T17:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0897c0a4289ef3a8d45761266124613f364bef60'/>
<id>urn:sha1:0897c0a4289ef3a8d45761266124613f364bef60</id>
<content type='text'>
The name 'getmode' conficts with a function from BSD, defined
in &lt;unistd.h&gt;. Although 'lbaselib.c' cannot include that header,
'onelua.c' can.
</content>
</entry>
<entry>
<title>New mechanism to query GC parameters</title>
<updated>2024-01-16T20:02:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-01-16T20:02:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4a8e48086433ad12f2991c07f3064278714fd0f1'/>
<id>urn:sha1:4a8e48086433ad12f2991c07f3064278714fd0f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Several tweaks in the garbage collector</title>
<updated>2023-12-27T15:09:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-12-27T15:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=12b6f610b0f1b4157c04f0db264f1f1d0634709b'/>
<id>urn:sha1:12b6f610b0f1b4157c04f0db264f1f1d0634709b</id>
<content type='text'>
- back with step size in collectgarbage("step")
- adjustments in defaults for some GC parameters
- adjustments in 'luaO_codeparam'
</content>
</entry>
<entry>
<title>Removed compatibility option LUA_COMPAT_GCPARAMS</title>
<updated>2023-12-22T17:57:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-12-22T17:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e81f586001d767c8de9b760ae2e2c3b5da1542c6'/>
<id>urn:sha1:e81f586001d767c8de9b760ae2e2c3b5da1542c6</id>
<content type='text'>
The meaning of different GC parameters changed, so there is point in
supporting old values for them. The new code simply ignores the
parameters when changing the GC mode, so the incompatibility is small.
</content>
</entry>
</feed>
