<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/common, branch feature/goliath/msvc</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=feature%2Fgoliath%2Fmsvc</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=feature%2Fgoliath%2Fmsvc'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2020-04-01T23:07:57+00:00</updated>
<entry>
<title>Import the remaining utility files into VisualStudio project</title>
<updated>2020-04-01T23:07:57+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-04-01T23:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a772248e1a2f0886d8479b2f14392f020ea8c6e0'/>
<id>urn:sha1:a772248e1a2f0886d8479b2f14392f020ea8c6e0</id>
<content type='text'>
 - The libcommon print verion function requires the PACKAGE_NAME and
   PACKAGE_VERSION defines. Those are added manually to the msvc stub
   of config.h.
 - Also, libcommon cannot directly include getopt.h
 - libfstree needs to change the return type for getline

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix missing header without LZO</title>
<updated>2020-04-01T16:28:54+00:00</updated>
<author>
<name>Alyssa Ross</name>
<email>hi@alyssa.is</email>
</author>
<published>2020-04-01T14:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b3f2636f44eea1a8b6fbf892d2daa611cff9d4af'/>
<id>urn:sha1:b3f2636f44eea1a8b6fbf892d2daa611cff9d4af</id>
<content type='text'>
lib/common/compress.c: In function 'compressor_get_default':
lib/common/compress.c:39:2: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
   39 |  assert(0);
      |  ^~~~~~
lib/common/compress.c:8:1: note: 'assert' is defined in header '&lt;assert.h&gt;'; did you forget to '#include &lt;assert.h&gt;'?
    7 | #include "common.h"
  +++ |+#include &lt;assert.h&gt;
    8 |
</content>
</entry>
<entry>
<title>Fix compressor availability check in libcommon</title>
<updated>2020-03-19T22:09:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-19T22:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=43d38a3c0f8f6e234a75a69df7bc5009f6f3cd85'/>
<id>urn:sha1:43d38a3c0f8f6e234a75a69df7bc5009f6f3cd85</id>
<content type='text'>
Initialize have_compressor to false before testing, to make
the check work.

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 printf format specifies for sqfs_u64</title>
<updated>2020-03-01T21:34:45+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-01T20:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=aaf7e68c75a907c3c08e83dfd2972665a0f1c1a3'/>
<id>urn:sha1:aaf7e68c75a907c3c08e83dfd2972665a0f1c1a3</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: Replace bit shifts in parse_size with SZ_MUL_OV</title>
<updated>2020-03-01T20:54:08+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-01T20:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=39bfcc7f27b5c5173455140abf902b38c21f0acb'/>
<id>urn:sha1:39bfcc7f27b5c5173455140abf902b38c21f0acb</id>
<content type='text'>
On 32 bit systems, size_t is a 32 bit integer and doing 64 bit shifts
won't do us any good. So instead, use the existing size_t multiply and
catch overflow macros.

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>
</feed>
