<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/util/src, 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>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>Make trim() helpers from get_line available outside</title>
<updated>2023-06-21T14:29:45+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-21T14:29:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a1246757bcaa058144b335ff64a6a250e63effbd'/>
<id>urn:sha1:a1246757bcaa058144b335ff64a6a250e63effbd</id>
<content type='text'>
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>libcompat: Add a helper to get/set OS error state</title>
<updated>2023-06-15T16:13:26+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T16:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8bff2715bfdfd2e6ce0c707f1310b169d4e454d0'/>
<id>urn:sha1:8bff2715bfdfd2e6ce0c707f1310b169d4e454d0</id>
<content type='text'>
On Unix like OSes, this saves/restores errno, on Windows both errno
and GetLastError state are saved/restored.

This should make it simpler to preserve that across function calls.

Additionally, while tracking down uses of GetLastError, some places
where the error code was printed out directly where replaced with
instances of w32_perror.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move directory iterator from libutil to libio</title>
<updated>2023-05-13T15:18:43+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-05-13T15:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e501c9a4bc230dab034571c2078a12a8a856c67a'/>
<id>urn:sha1:e501c9a4bc230dab034571c2078a12a8a856c67a</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move the pattern matching from gensquashfs to dir_tree_iterator_t</title>
<updated>2023-04-30T12:41:42+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-04-29T14:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7a39921d7fff089c87ac183d3c0d6e42e5cbaa04'/>
<id>urn:sha1:7a39921d7fff089c87ac183d3c0d6e42e5cbaa04</id>
<content type='text'>
A simple unit test is added that mainly checks for the behavior of
recursing into a sub-tree and only matching the children at the end,
but not reporting the parents that don't match. The behavior is
inteded to immitate the `find` command.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move dir entry remapping from gensquashfs to libutil</title>
<updated>2023-04-29T21:44:05+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-04-29T00:56:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f21fa23162d294b1327aaa3528444c1aaceb5b5a'/>
<id>urn:sha1:f21fa23162d294b1327aaa3528444c1aaceb5b5a</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
