<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lundump.h, 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:57:42+00:00</updated>
<entry>
<title>Bug: 'lua_load' does not preserve the stack</title>
<updated>2026-04-23T20:57:42+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-23T20:57:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3228a97c6a953dcf397944161bb64b12f1ff5384'/>
<id>urn:sha1:3228a97c6a953dcf397944161bb64b12f1ff5384</id>
<content type='text'>
'lua_load' does not preserve the stack through the calls to the
reader function, as it should. Immediately after the first call (to
detect whether chunk is binary) it adds stuff, and it also adds a new
table when starting the compilation of each new function.
</content>
</entry>
<entry>
<title>Checks for type 'int' added to binary header</title>
<updated>2025-03-10T18:21:32+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-03-10T18:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=b5b1995f2925b2f9be4a48304ac97a38f8608648'/>
<id>urn:sha1:b5b1995f2925b2f9be4a48304ac97a38f8608648</id>
<content type='text'>
The structure 'AbsLineInfo' is hard-dumped into binary chunks, and
it comprises two 'int' fields.
</content>
</entry>
<entry>
<title>Removed type 'varint_t'</title>
<updated>2024-03-13T12:16:51+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-03-13T12:16:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cc2b66c85687b095e68304c010b59851ca4093e1'/>
<id>urn:sha1:cc2b66c85687b095e68304c010b59851ca4093e1</id>
<content type='text'>
size_t should be big enough to count the number of strings in a dump.
(And, by definition, it is big enough to count the length of each
string.)
</content>
</entry>
<entry>
<title>Revising code for Varint encoding in dumps</title>
<updated>2024-02-12T18:16:11+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-02-12T18:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c8121ce34b39c6fd31899f4da91e26063c8af54f'/>
<id>urn:sha1:c8121ce34b39c6fd31899f4da91e26063c8af54f</id>
<content type='text'>
- Usign lua_Unsigned to count strings.
- Varint uses a type large enough both for size_t and lua_Unsigned.
- Most-Significant Bit 0 means last byte, to conform to common usage.
- (unrelated) Change in macro 'getaddr' so that multiplication is
  by constants.
</content>
</entry>
<entry>
<title>Cleaner protocol between 'lua_dump' and writer function</title>
<updated>2023-12-14T14:41:57+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-12-14T14:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5'/>
<id>urn:sha1:4eda1acafa1a69224b2d4f786cf1ec8f7a4d9ac5</id>
<content type='text'>
'lua_dump' signals to the writer function the end of a dump, so that
is has more freedom when using the stack.
</content>
</entry>
<entry>
<title>Added suport for Fixed Buffers</title>
<updated>2023-09-05T18:30:45+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-09-05T18:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=14e416355f83cf0a1b871eedec2c92b86dbe76d6'/>
<id>urn:sha1:14e416355f83cf0a1b871eedec2c92b86dbe76d6</id>
<content type='text'>
A fixed buffer keeps a binary chunk "forever", so that the program
does not need to copy some of its parts when loading it.
</content>
</entry>
<entry>
<title>Merge branch 'master' into nextversion</title>
<updated>2023-08-23T18:14:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-08-23T18:14:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c815c2f0eb7a4ac01d4f664f3db44c199ee4e211'/>
<id>urn:sha1:c815c2f0eb7a4ac01d4f664f3db44c199ee4e211</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Details</title>
<updated>2023-07-03T17:12:54+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-07-03T17:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cbae01620278f9b568805db16a96d0631ced473d'/>
<id>urn:sha1:cbae01620278f9b568805db16a96d0631ced473d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Dump/undump reuse strings</title>
<updated>2022-12-15T19:44:22+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-12-15T19:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d70a0c91ad42275af1f6f1b6e37c604442b3f0d1'/>
<id>urn:sha1:d70a0c91ad42275af1f6f1b6e37c604442b3f0d1</id>
<content type='text'>
A repeated string in a dump is represented as an index to its first
occurence, instead of another copy of the string.
</content>
</entry>
<entry>
<title>Details in comments</title>
<updated>2020-05-07T17:52:19+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-05-07T17:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27'/>
<id>urn:sha1:0be57b9b6d1a4ea8d41c9c9b9b434b4749ccbb27</id>
<content type='text'>
</content>
</entry>
</feed>
