<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/bin/sqfsdiff, 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 memory/stdio streams to libcommon</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-23T08:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=6e7b20a41c8a7f10392884e1741b031b579a93fa'/>
<id>urn:sha1:6e7b20a41c8a7f10392884e1741b031b579a93fa</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libsqfs: bring sqfs_file_t in line with stream API</title>
<updated>2023-09-08T16:49:54+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-08T16:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d5e2c6a3146c20354ab11f1dae48ab755996fa96'/>
<id>urn:sha1:d5e2c6a3146c20354ab11f1dae48ab755996fa96</id>
<content type='text'>
Rename the open function to sqfs_file_open, use an argument for the
return pointer and pass back and error number on failure. Also add
an inermediate function to open an sqfs_file_t using a handle, similar
to the stream API. The get_file_size function is moved to the native
wrappers and some of the implementation is cleaned up a little.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>coverity: fix: potential null-pointer dereference</title>
<updated>2023-09-03T18:08:27+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-03T18:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0cd1d25438f233de573cba45dd140331edef7287'/>
<id>urn:sha1:0cd1d25438f233de573cba45dd140331edef7287</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a data reader based sqfs_istream_t implementation</title>
<updated>2023-08-10T07:28:27+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-18T19:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=5a3b741b92b793be7221a481efca316aec208ebe'/>
<id>urn:sha1:5a3b741b92b793be7221a481efca316aec208ebe</id>
<content type='text'>
To the sqfs_data_reader_t is added, an sqfs_istream_t implementation
that internally reads through the data reader. The uses of the
data_reader_dump function are removed and the function is subsequently
removed from libcommon.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Migrate file istream/ostream from libio to libsquashfs</title>
<updated>2023-06-15T13:16:03+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T13:16:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=484cd01590ec488cca1f8a5c7c76cd223609e299'/>
<id>urn:sha1:484cd01590ec488cca1f8a5c7c76cd223609e299</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>libsquashfs: Add sqfs_open_native_file function</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-12T21:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=89cdef0859259fdea0165b0d3918777d1ed42955'/>
<id>urn:sha1:89cdef0859259fdea0165b0d3918777d1ed42955</id>
<content type='text'>
Having a function to interpret the flags and open a native file handle
simplifies the istream/ostream/file code which shares that decoding
part, particularly on windows where the character set needs to be
transformed.

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: replace OSTREAM_OPEN_* flags with SQFS_FILE_OPEN_* flags</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-12T17:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2694532a5479d157903b6c600d9b1d5c145a4e4c'/>
<id>urn:sha1:2694532a5479d157903b6c600d9b1d5c145a4e4c</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: flip the meaning of the ostream_t sparse flag</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-12T17:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=1f506a17903f5eeaded9065e42726c1a09dc6f89'/>
<id>urn:sha1:1f506a17903f5eeaded9065e42726c1a09dc6f89</id>
<content type='text'>
Instead of "open sparse", make that the default and turn it into
a "no sparse" flag.

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