<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/sqfs/comp, branch v0.8</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.8</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.8'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-12-29T19:36:19+00:00</updated>
<entry>
<title>Add a small version of zlib that can be built in statically</title>
<updated>2019-12-29T19:36:19+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-12-27T14:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=761b3051699bb7c9f02579a7a6139e647d422fab'/>
<id>urn:sha1:761b3051699bb7c9f02579a7a6139e647d422fab</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a small version of liblz4 that can be built in statically</title>
<updated>2019-12-28T15:15:35+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-12-27T10:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=113b174c5807f76cb14cfed7a8f86a299393666e'/>
<id>urn:sha1:113b174c5807f76cb14cfed7a8f86a299393666e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix "buffer to small" being treated as error in zstd compressor</title>
<updated>2019-12-12T09:40:01+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-12-12T09:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=bcb73d076b043c34ab88265c2bdddaff8b702cc1'/>
<id>urn:sha1:bcb73d076b043c34ab88265c2bdddaff8b702cc1</id>
<content type='text'>
The zstd compress function returns an error code if it cannot fit the
compressed data into the given destination buffer.

This commit adds a check for this error and reports that the
libsquashfs compressor implementation was unable to shrink the input
instead of claiming a fatal error happened.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: Return combined return value from compressor id by name</title>
<updated>2019-11-28T15:11:22+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-11-28T15:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7f53d2785816e5b65dfdb0daa4039249569e58f9'/>
<id>urn:sha1:7f53d2785816e5b65dfdb0daa4039249569e58f9</id>
<content type='text'>
Instead of returning the ID through a pointer and an error code as
return status, return a single int that could be a compressor ID
(positive values) or an error code (negative values).

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move overflow safe alloc code into libsquashfs</title>
<updated>2019-11-25T12:20:08+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-11-25T12:13:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=fc9a644002dc501a5c224e5cc1a7dfba3ca2d1d8'/>
<id>urn:sha1:fc9a644002dc501a5c224e5cc1a7dfba3ca2d1d8</id>
<content type='text'>
There were only a hand full of instances outside libsquashfs that used
the alloc code. In most cases, the thing allocated hat its size derived
from something already in memory anyway, so it is safe to assume its
size fits into a size_t.

At the same time, the opencoded Windows path conversion functions are
all unified into a single helper function.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup libsquashfs invalid argument error codes</title>
<updated>2019-11-24T15:47:49+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-11-24T15:36:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=162142b7930248d83a77e8d8f4eba5896d5b267a'/>
<id>urn:sha1:162142b7930248d83a77e8d8f4eba5896d5b267a</id>
<content type='text'>
 - Add an explicit "you're holding it wrong" error code.
 - Consistently return error codes and not have some special places
   where -1 is returned.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: Move LZO compressor from libsquashfs to libcommon</title>
<updated>2019-11-24T00:03:10+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-11-23T23:45:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0f89517d418ff907fd9cf51f5313974812ceb305'/>
<id>urn:sha1:0f89517d418ff907fd9cf51f5313974812ceb305</id>
<content type='text'>
The liblzo2 library is licensed under GPLv2, so it is not possible to
distribute binaries of libsquashfs that link against liblzo2 under
LGPL.

This commit moves the LZO compressor implementation to libcommon,
where this isn't a problem, since the tools themselves are licensed
under GPLv3.

It removes the ability of libsquashfs to read or generate LZO compressed
SquashFS images, but the tools still can.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: move libutil related headers to "util" sub directory</title>
<updated>2019-10-07T13:34:22+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-10-07T13:26:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=c973bcc1039b64ec00acaf8e8d61b9f5229da56f'/>
<id>urn:sha1:c973bcc1039b64ec00acaf8e8d61b9f5229da56f</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Improve ABI backward &amp; forward compatibillity</title>
<updated>2019-10-07T10:22:05+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-10-07T09:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a68eb730558fb90bc8d9524564d8f9e58f3ccac1'/>
<id>urn:sha1:a68eb730558fb90bc8d9524564d8f9e58f3ccac1</id>
<content type='text'>
 - Padd the compressor config union
    - 128 bytes aught to be enough for everyone, i.e. future compressors.
    - Insist that the padding space is initialized to 0. If a field gets
      added to an existing compressor, it can test for 0 as a sentinel
      value.
 - Add a size field to the hook structure, aka "the Microsoft way".
    - The explanation is in the comment.
    - Don't make the Microsoft mistake of checking for &gt;=, insist on *exact*
      size match. Future users will need a fallback if their hooks are
      rejected. But at least they will be rejected instead of silently not
      being used.
 - Add an unsupported flag check to the dir tree reader.
 - Add a basic abi unit test that, for now, checks the size of the compressor
   config struct fields.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: rename "compress.h" to "compressor.h"</title>
<updated>2019-09-29T12:13:37+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-09-29T12:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=825acfdfe4628523ff2a9ea86cd91c4c280f8e86'/>
<id>urn:sha1:825acfdfe4628523ff2a9ea86cd91c4c280f8e86</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
