<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libarchive/archive_read_support_compression_gzip.c, branch releng/8.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Include the 2 byte length field for the optional "extra data"</title>
<updated>2009-05-23T04:31:05+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-05-23T04:31:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f1994b5e6c53601611a28bbad7e11ac327e8c9c'/>
<id>9f1994b5e6c53601611a28bbad7e11ac327e8c9c</id>
<content type='text'>
field when computing the length of the gzip header.

Thanks to Dag-Erling for pointing me to the OpenSSH tarballs,
which are the first files I've seen that actually used this field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
field when computing the length of the gzip header.

Thanks to Dag-Erling for pointing me to the OpenSSH tarballs,
which are the first files I've seen that actually used this field.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement command-line fallbacks for gzip and bzip2 decompression as well.</title>
<updated>2009-04-17T00:55:52+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-04-17T00:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=06f39cd345eb77dcfaa05c430cde8808ffacd1ac'/>
<id>06f39cd345eb77dcfaa05c430cde8808ffacd1ac</id>
<content type='text'>
Not an issue for FreeBSD, since the base system has the necessary libraries.
Since all decompressors are always available now, we can unconditionally
enable them in archive_read_support_compression_all().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not an issue for FreeBSD, since the base system has the necessary libraries.
Since all decompressors are always available now, we can unconditionally
enable them in archive_read_support_compression_all().
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge r585,r669 from libarchive.googlecode.com:  If zlib is unavailable,</title>
<updated>2009-03-07T02:51:18+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-07T02:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cd22d2cc9eeccfb05426f4e6cfc3a185ebaf51de'/>
<id>cd22d2cc9eeccfb05426f4e6cfc3a185ebaf51de</id>
<content type='text'>
use external "gunzip" instead.  With this in place, we can unconditionally
enable gzip read support.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use external "gunzip" instead.  With this in place, we can unconditionally
enable gzip read support.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge r491,493,500,507,510,530,543 from libarchive.googlecode.com:</title>
<updated>2009-03-06T05:58:56+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-06T05:58:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=634fb9dd4872ad89170b514d8c0bf9125bfa0d3e'/>
<id>634fb9dd4872ad89170b514d8c0bf9125bfa0d3e</id>
<content type='text'>
This implements the new generic options framework that provides a way
to override format- and compression-specific parameters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements the new generic options framework that provides a way
to override format- and compression-specific parameters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge r551,r561 from libarchive.googlecode.com: Update gzip read filter</title>
<updated>2009-03-05T02:37:05+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-05T02:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=241028d43afc161ffc916f81d9a4e272646ba543'/>
<id>241028d43afc161ffc916f81d9a4e272646ba543</id>
<content type='text'>
to fully take advantage of the new peek/consume I/O support.
In particular, this now properly handles concatenated gzip streams.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to fully take advantage of the new peek/consume I/O support.
In particular, this now properly handles concatenated gzip streams.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge r364, r378, r379, r393, and r539 from libarchive.googlecode.com:</title>
<updated>2009-03-05T02:19:42+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-05T02:19:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=facbbae9f9c0085b9c8ccc26b5c42069f14eb5f1'/>
<id>facbbae9f9c0085b9c8ccc26b5c42069f14eb5f1</id>
<content type='text'>
This is the last phase of the "big decompression refactor" that
puts a lazy reblocking layer between each pair of read filters.
I've also changed the terminology for this area---the two kinds
of objects are now called "read filters" and "read filter bidders"---and
moved ownership of these objects to the archive_read core.

This greatly simplifies implementing new read filters, which
can now use peek/consume I/O semantics both for bidding (arbitrary
look-ahead!) and for reading streams (look-ahead simplifies handling
concatenated streams, for instance).

The first merge here is the overhaul proper; the remainder are small
fixes to correct errors in the initial implementation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the last phase of the "big decompression refactor" that
puts a lazy reblocking layer between each pair of read filters.
I've also changed the terminology for this area---the two kinds
of objects are now called "read filters" and "read filter bidders"---and
moved ownership of these objects to the archive_read core.

This greatly simplifies implementing new read filters, which
can now use peek/consume I/O semantics both for bidding (arbitrary
look-ahead!) and for reading streams (look-ahead simplifies handling
concatenated streams, for instance).

The first merge here is the overhaul proper; the remainder are small
fixes to correct errors in the initial implementation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to read the next Gzip header after we reach the</title>
<updated>2009-01-01T02:29:57+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-01-01T02:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a612d4d7ae2fb7a52d6c8e75bf9fda1de10ead7e'/>
<id>a612d4d7ae2fb7a52d6c8e75bf9fda1de10ead7e</id>
<content type='text'>
end of the compressed stream.  This is desirable behavior,
but the implementation here is very broken and causes strange
problems, so disable it for now.

Thanks to Simon L. Nielsen for reporting this problem.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
end of the compressed stream.  This is desirable behavior,
but the implementation here is very broken and causes strange
problems, so disable it for now.

Thanks to Simon L. Nielsen for reporting this problem.
</pre>
</div>
</content>
</entry>
<entry>
<title>MfP4: Big read filter refactoring.</title>
<updated>2008-12-06T06:45:15+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2008-12-06T06:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b1ff9c25b85752421491eb42f56c4cf65f451f98'/>
<id>b1ff9c25b85752421491eb42f56c4cf65f451f98</id>
<content type='text'>
This is an attempt to eliminate a lot of redundant
code from the read ("decompression") filters by
changing them to juggle arbitrary-sized blocks
and consolidate reblocking code at a single point
in archive_read.c.

Along the way, I've changed the internal read/consume
API used by the format handlers to a slightly
different style originally suggested by des@.  It
does seem to simplify a lot of common cases.

The most dramatic change is, of course, to
archive_read_support_compression_none(), which
has just evaporated into a no-op as the blocking
code this used to hold has all been moved up
a level.

There's at least one more big round of refactoring
yet to come before the individual filters are as
straightforward as I think they should be...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an attempt to eliminate a lot of redundant
code from the read ("decompression") filters by
changing them to juggle arbitrary-sized blocks
and consolidate reblocking code at a single point
in archive_read.c.

Along the way, I've changed the internal read/consume
API used by the format handlers to a slightly
different style originally suggested by des@.  It
does seem to simplify a lot of common cases.

The most dramatic change is, of course, to
archive_read_support_compression_none(), which
has just evaporated into a no-op as the blocking
code this used to hold has all been moved up
a level.

There's at least one more big round of refactoring
yet to come before the individual filters are as
straightforward as I think they should be...
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct a compile error when libbz2/zlib are unavailable.</title>
<updated>2008-02-19T05:44:59+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2008-02-19T05:44:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f167d4f9c38fe2f9056975b426b62658feaaf9e2'/>
<id>f167d4f9c38fe2f9056975b426b62658feaaf9e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libarchive 2.2.3</title>
<updated>2007-05-29T01:00:21+00:00</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2007-05-29T01:00:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b48b40f1f8ccea70fb209a05ed3eee1031790500'/>
<id>b48b40f1f8ccea70fb209a05ed3eee1031790500</id>
<content type='text'>
  * "compression_program" support uses an external program
  * Portability: no longer uses "struct stat" as a primary
    data interchange structure internally
  * Part of the above: refactor archive_entry to separate
    out copy_stat() and stat() functions
  * More complete tests for archive_entry
  * Finish archive_entry_clone()
  * Isolate major()/minor()/makedev() in archive_entry; remove
    these from everywhere else.
  * Bug fix: properly handle decompression look-ahead at end-of-data
  * Bug fixes to 'ar' support
  * Fix memory leak in ZIP reader
  * Portability: better timegm() emulation in iso9660 reader
  * New write_disk flags to suppress auto dir creation and not
    overwrite newer files (for future cpio front-end)
  * Simplify trailing-'/' fixup when writing tar and pax
  * Test enhancements:  fix various compiler warnings, improve
    portability, add lots of new tests.
  * Documentation: document new functions, first draft of
    libarchive_internals.3

MFC after: 14 days
Thanks to: Joerg Sonnenberger (compression_program)
Thanks to: Kai Wang (ar)
Thanks to: Colin Percival (many small fixes)
Thanks to: Many others who sent me various patches and problem reports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  * "compression_program" support uses an external program
  * Portability: no longer uses "struct stat" as a primary
    data interchange structure internally
  * Part of the above: refactor archive_entry to separate
    out copy_stat() and stat() functions
  * More complete tests for archive_entry
  * Finish archive_entry_clone()
  * Isolate major()/minor()/makedev() in archive_entry; remove
    these from everywhere else.
  * Bug fix: properly handle decompression look-ahead at end-of-data
  * Bug fixes to 'ar' support
  * Fix memory leak in ZIP reader
  * Portability: better timegm() emulation in iso9660 reader
  * New write_disk flags to suppress auto dir creation and not
    overwrite newer files (for future cpio front-end)
  * Simplify trailing-'/' fixup when writing tar and pax
  * Test enhancements:  fix various compiler warnings, improve
    portability, add lots of new tests.
  * Documentation: document new functions, first draft of
    libarchive_internals.3

MFC after: 14 days
Thanks to: Joerg Sonnenberger (compression_program)
Thanks to: Kai Wang (ar)
Thanks to: Colin Percival (many small fixes)
Thanks to: Many others who sent me various patches and problem reports.
</pre>
</div>
</content>
</entry>
</feed>
