<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/util/test, 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>libutil: add a string list helper to replace some of the adhoc ones</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-21T13:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7f89eb3cfff465cf32d03a2ae6919252eae67e9b'/>
<id>urn:sha1:7f89eb3cfff465cf32d03a2ae6919252eae67e9b</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Document decimal integer parsing helpers, add an octal variant</title>
<updated>2023-08-31T11:40:46+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-08-31T11:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=035433e913872bc9c99fb19cd5b2eec1463ccdec'/>
<id>urn:sha1:035433e913872bc9c99fb19cd5b2eec1463ccdec</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Consolidate some of the stray integer parsers</title>
<updated>2023-07-02T22:57:06+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-01T10:41:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a64417804f4c2b0425e167851d10854cf1f23e99'/>
<id>urn:sha1:a64417804f4c2b0425e167851d10854cf1f23e99</id>
<content type='text'>
There are several ad-hoc int/uint parsers scattered around the code,
add a single helper function for that task and replace the multiple
instances. A simple white-box test case is added for the utility
function.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a helper to libutil for splitting token separated lines</title>
<updated>2023-06-21T14:14:31+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-20T15:43:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=12727806af641970a651b8f969cba33677ae7395'/>
<id>urn:sha1:12727806af641970a651b8f969cba33677ae7395</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move istream_get_line function to libutil</title>
<updated>2023-06-20T08:57:38+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-19T16:57:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ca9b6ba17257f88b8d575f18cab0b1e23660cfa5'/>
<id>urn:sha1:ca9b6ba17257f88b8d575f18cab0b1e23660cfa5</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libsquashfs: cleanup the flag situation on istream/ostream functions</title>
<updated>2023-06-15T14:39:14+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T14:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=849e6718448793b12d7c6641d59779ca12a2ba08'/>
<id>urn:sha1:849e6718448793b12d7c6641d59779ca12a2ba08</id>
<content type='text'>
 - The ostream creation functions already have flag arguments,
   but make them an sqfs_u32 instead of int.
 - Add flag arguments to the istream functions, sanitzie and forward
   them when opening the handle.

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