<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/sqfs/comp, branch v0.9.1</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=v0.9.1</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2020-03-18T21:30:17+00:00</updated>
<entry>
<title>Fix build of lz4 compressor with older versions of liblz4</title>
<updated>2020-03-18T21:30:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-18T21:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ddd4f22e33a7d5d9835f129a6cd0af9c175d76a4'/>
<id>urn:sha1:ddd4f22e33a7d5d9835f129a6cd0af9c175d76a4</id>
<content type='text'>
Older versions of liblz4 don't define LZ4HC_CLEVEL_MAX. This commit
adds a definition if liblz4 doesn't provide one.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Get rid of sqfs_compressor_exists</title>
<updated>2020-03-05T21:55:09+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-05T21:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=dfab234dfae735103d2e5206b0f335c8449ee3d5'/>
<id>urn:sha1:dfab234dfae735103d2e5206b0f335c8449ee3d5</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Change the signature of sqfs_compressor_create to return an error code</title>
<updated>2020-03-05T21:41:04+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-05T21:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=85e36aab1258d8d9ec7b61ce013f167ef8e03ae0'/>
<id>urn:sha1:85e36aab1258d8d9ec7b61ce013f167ef8e03ae0</id>
<content type='text'>
Make sure the function has a way of telling the caller *why* it failed.

This way, the function can convey whether it had an internal error, an
allocation failure, whether the arguments are totaly nonsensical, or
simply that the compressor *or specific configuration* is not supported.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: Remove the E_ prefix from all libsquashfs enumerators</title>
<updated>2020-03-05T14:17:45+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-05T14:17:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=5acb22a6a7168f8b961777482f39a125158def50'/>
<id>urn:sha1:5acb22a6a7168f8b961777482f39a125158def50</id>
<content type='text'>
Avoid namespace polution. Make sure all exportet symbols are prefixed
with either sqfs_ or SQFS_.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a generic copying mechanism to sqfs_object_t</title>
<updated>2020-03-03T23:58:53+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-03T18:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=44c81eeffe9c8820b1009a7a5c728782aa5ebf40'/>
<id>urn:sha1:44c81eeffe9c8820b1009a7a5c728782aa5ebf40</id>
<content type='text'>
This patch adds a deep-copy callback to sqfs_object_t and removes the
copying mechanism from sqfs_compressor_t. This is also interesting for
other types.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: strictly verify compressor settings in config initialization</title>
<updated>2020-02-27T00:05:42+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-25T08:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=73132aa1f2643c01e929de69f1d2f1b74708a525'/>
<id>urn:sha1:73132aa1f2643c01e929de69f1d2f1b74708a525</id>
<content type='text'>
Make sure the function throws an error if a given compressor ID or
flag is not known. This way, libsquahfs supports *exactly* and *only*
what the on-disk format specifies.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a function to the compressor interface to get the configuration</title>
<updated>2020-02-27T00:05:42+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-25T08:13:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=3c1a4c2548cbbae96f44469278b53046c8b48868'/>
<id>urn:sha1:3c1a4c2548cbbae96f44469278b53046c8b48868</id>
<content type='text'>
This allows getting the compressor configuration back after
creating it, for various purposes.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move utilities back out of libsquashfs</title>
<updated>2020-02-21T11:39:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-21T11:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b63e39ade1e376ad8f433a0d751eddf4826a5230'/>
<id>urn:sha1:b63e39ade1e376ad8f433a0d751eddf4826a5230</id>
<content type='text'>
This commit removes the allocation helpers and string table functions
out of libsquashfs back into a "libutil.a". The problem of libsquashfs
exporting stuff that it shouldn't is resolved by retaining the internal
attributes and directly adding the source to libsquashfs instead of
trying to somehow link against libutil.la.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Replace crc32 with xxhash32</title>
<updated>2020-02-16T01:07:31+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-16T01:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=05eab84c84394faa96633cfa86fa5a42c1810e2b'/>
<id>urn:sha1:05eab84c84394faa96633cfa86fa5a42c1810e2b</id>
<content type='text'>
On the one hand, benchmarking and profiling determined xxhash32 to be
faster than the zlib implementation of crc32, on the other hand
profiling determined that crc32 computation contributed signifficantly
to the overall runtime.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Implement a more explicit object system</title>
<updated>2020-02-12T01:26:24+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-02-12T01:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=303680ebcd5adaac2934b63a0edc2d9d1a36d7fb'/>
<id>urn:sha1:303680ebcd5adaac2934b63a0edc2d9d1a36d7fb</id>
<content type='text'>
Make every dynamically allocated, opaque data structure inherit from
a common sqfs_object_t structure with common entry points (e.g. destroy).

This removes tons of public API functions and replaces them with a
simple sqfs_destroy instead. If semantics of the (until now implicit)
object system need to be extended, it can be much more conveniantely
done this way.

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