<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/extras, 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>libsqfs: Add the path lookup function back to the dir reader</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-22T18:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0e7b2348ea8fbfd9cb9fb532d552e27a9636010a'/>
<id>urn:sha1:0e7b2348ea8fbfd9cb9fb532d552e27a9636010a</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add pwd and path dependent prompt to browser example</title>
<updated>2023-09-19T09:45:53+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-16T11:29:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=accd38b7034f6b9e292d4191afb39322fe943486'/>
<id>urn:sha1:accd38b7034f6b9e292d4191afb39322fe943486</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix example code to use iterator/stream based API</title>
<updated>2023-09-19T09:45:53+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-16T00:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=73ad00f9a414a13d8970d27296f52e774ff6954e'/>
<id>urn:sha1:73ad00f9a414a13d8970d27296f52e774ff6954e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libsqfs: bring sqfs_file_t in line with stream API</title>
<updated>2023-09-08T16:49:54+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-08T16:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d5e2c6a3146c20354ab11f1dae48ab755996fa96'/>
<id>urn:sha1:d5e2c6a3146c20354ab11f1dae48ab755996fa96</id>
<content type='text'>
Rename the open function to sqfs_file_open, use an argument for the
return pointer and pass back and error number on failure. Also add
an inermediate function to open an sqfs_file_t using a handle, similar
to the stream API. The get_file_size function is moved to the native
wrappers and some of the implementation is cleaned up a little.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Refactor: rename sqfs_dir_entry_t to sqfs_dir_node_t</title>
<updated>2023-07-03T07:30:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-02T17:29:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=181815fb432007f5e8b8cbd15c3f66beea04e601'/>
<id>urn:sha1:181815fb432007f5e8b8cbd15c3f66beea04e601</id>
<content type='text'>
Exact operation performed:

	git ls-files -z | \
	xargs -0 sed -i -e 's/sqfs_dir_entry_t/sqfs_dir_node_t/g'

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Implement rudimentary reference counting for sqfs_object_t</title>
<updated>2023-01-19T15:24:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-12-04T00:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=47f24f2a8faf71395a1d054e9823beb000442cce'/>
<id>urn:sha1:47f24f2a8faf71395a1d054e9823beb000442cce</id>
<content type='text'>
Implement grab/drop functions to increase/decrease reference count
and destroy the object if the count drops to 0.

Make sure that all objects that maintain internal references actually
grab that reference, duplicate it in the copy function, drop it in
the destroy handler.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add support for '.' and '..' entries in sqfs_dir_reader_t</title>
<updated>2022-04-09T21:26:13+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-04-09T21:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=020698f3a92195eb371e806a0b3ed0649565046f'/>
<id>urn:sha1:020698f3a92195eb371e806a0b3ed0649565046f</id>
<content type='text'>
Two flags are added to the dir reader API, one for the create function
that the dir reader should report those entries and one to the open
function to suppress that if it was enabled.

To implement the feature, a mapping of visited directory inodes is
maintained internally, that mapps inode numbers to inode references.

When opening a directory, state is maintained to generate the fake
entries for '.' and '..'. Since all the other functions are based on
the open/read/rewind API, no alterations need to be made. The tree
scan function is modified, to use the suppress flag, so it does not
accidentally catch those entries.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>sqfs_dir_tree_destroy/sqfs_destroy: allow NULL input</title>
<updated>2022-03-30T20:31:30+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>luca.boccassi@microsoft.com</email>
</author>
<published>2021-07-30T14:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a0c0f38cb947a16a5aebf2b59fb8481866d28f96'/>
<id>urn:sha1:a0c0f38cb947a16a5aebf2b59fb8481866d28f96</id>
<content type='text'>
Many library destructor functions (like free()) allow a NULL
pointer as input, and do nothing in that case.
This allows easier cleanup patterns: initialize pointers to NULL
and then always pass them to the destroyer functions, no need for
verbose goto/if-else patterns.

Signed-off-by: Luca Boccassi &lt;luca.boccassi@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Fix: use correct printf specifier for 64bit types</title>
<updated>2022-03-10T22:17:20+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-03-10T22:17:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f20ed9eef65cb9ce56f4a7abd07ad80979b888ad'/>
<id>urn:sha1:f20ed9eef65cb9ce56f4a7abd07ad80979b888ad</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: unit test and sample program Windows build</title>
<updated>2021-12-05T09:32:01+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2021-12-04T20:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8297b3faf8606762b176d57637f2ec5f84601e0d'/>
<id>urn:sha1:8297b3faf8606762b176d57637f2ec5f84601e0d</id>
<content type='text'>
Now that there is a wrapper for main() on Windows, all executable
programs must use a common, cannonical signature for main().

Furthermore, the Windows version of the epoch test needs wrappers
for setenv/unsetenv.

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