<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/io/src/xfrm, branch master</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=master</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2023-10-24T13:57:18+00:00</updated>
<entry>
<title>Cleanup: move xfrm stream wrappers to libxfrm</title>
<updated>2023-10-24T13:57:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-23T09:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ee26abcab9faf037cf87438cca20d54e5b0edd05'/>
<id>urn:sha1:ee26abcab9faf037cf87438cca20d54e5b0edd05</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>coverity: fix: remove dead code</title>
<updated>2023-09-03T18:23:43+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-03T18:15:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=37a9a22eee01eae170049c95d628c33f75ab8efa'/>
<id>urn:sha1:37a9a22eee01eae170049c95d628c33f75ab8efa</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Overhaul sqfs_istream_t/sqfs_ostream_t error handling</title>
<updated>2023-06-15T12:09:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-13T21:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=fd5c9f1259d0191af57b20f06dda35e62acb6275'/>
<id>urn:sha1:fd5c9f1259d0191af57b20f06dda35e62acb6275</id>
<content type='text'>
Report an error number from the implementations, change the users to
forward that error number (which also means libtar write header/link
now returns an error code) and all subsequent binaries to use
sqfs_perror() instead of relying on the function to print an error
internally.

Also, make sure to preserve errno/GetLastError() in the implementations
and print out a stringified error in sqfs_perror() if the error code
indicates an I/O error.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move sqfs_istream_t &amp; sqfs_ostream_t into libsquashfs</title>
<updated>2023-06-15T11:38:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-12T19:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ba99ef34e7b073c03519ef74f017091de6c9bee8'/>
<id>urn:sha1:ba99ef34e7b073c03519ef74f017091de6c9bee8</id>
<content type='text'>
For now, only the interfaces and helper functions are moved, the
concrete implementations remain in libio.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Mass rename istream_t/ostream_t with sqfs_ prefix</title>
<updated>2023-06-15T11:38:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-12T18:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e811851deba9c45f3d9b3c5b4ad5eaa7945382d5'/>
<id>urn:sha1:e811851deba9c45f3d9b3c5b4ad5eaa7945382d5</id>
<content type='text'>
istream_t becomes sqfs_istream_t and ostream_t becomes sqfs_ostream_t

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: remove ostream_append_sparse and fallback implementation</title>
<updated>2023-06-15T11:38:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-12T16:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=eb9a4b9034453ae3093d678a6f3898303dc5a5a0'/>
<id>urn:sha1:eb9a4b9034453ae3093d678a6f3898303dc5a5a0</id>
<content type='text'>
Instead of a separate append-sparse function, simply accept NULL
as an input for append. For both Unix and Win32, a fallback needs
to be implemented. For XFRM, we can just memset the input buffer
to zero, same for the libsquashfs data writer.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: remove single line wrapper functions</title>
<updated>2023-06-15T11:38:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-11T21:27:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=63bc750fecb00fc5878ca889204fc65510893778'/>
<id>urn:sha1:63bc750fecb00fc5878ca889204fc65510893778</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: move istream buffer logic into interall callbacks</title>
<updated>2023-06-11T17:29:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-11T15:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=c7eae87870da755586446fecb4eb30063c1d641c'/>
<id>urn:sha1:c7eae87870da755586446fecb4eb30063c1d641c</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: remove precache from istream_advance_buffer</title>
<updated>2023-06-11T13:40:26+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-11T13:40:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=366ccf20745b23f1eb8554cbe17e6972271de002'/>
<id>urn:sha1:366ccf20745b23f1eb8554cbe17e6972271de002</id>
<content type='text'>
Since the user has to call istream_get_buffered_data afterwards anyway,
we can do the precache lazily.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: add desired read size to istream_get_buffered_data</title>
<updated>2023-06-10T15:56:27+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-10T15:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ad1691aa33cfc1b1558ce10e93552d0eb1cdcd63'/>
<id>urn:sha1:ad1691aa33cfc1b1558ce10e93552d0eb1cdcd63</id>
<content type='text'>
This properly maps to all of our use cases and makes istream_precache
obsolete.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
