]>
git.ipfire.org Git - thirdparty/libarchive.git/log
Michihiro NAKAJIMA [Sun, 21 Oct 2012 08:05:28 +0000 (17:05 +0900)]
Introduce -a/--auto-compress option into bsdtar.
This automatically decides on a creation format and filters by
the archive suffix.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 04:07:37 +0000 (13:07 +0900)]
Use lzo_adler32 instead of using own founction when if zlib unavailable.
Michihiro NAKAJIMA [Thu, 18 Oct 2012 03:40:19 +0000 (12:40 +0900)]
Add support for writing v7 tar format.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 02:26:07 +0000 (11:26 +0900)]
Add test_compat_lzop_1.tar.lzo entry into the test_fuzz list for
the lzop read filter.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 02:11:46 +0000 (11:11 +0900)]
Use liblzo2 for the lzop write filter.
Michihiro NAKAJIMA [Sat, 20 Oct 2012 05:06:37 +0000 (14:06 +0900)]
Remove debug lines.
Michihiro NAKAJIMA [Fri, 19 Oct 2012 04:29:01 +0000 (13:29 +0900)]
Add mtree test entries into CMakefile.txt.
Michihiro NAKAJIMA [Fri, 19 Oct 2012 04:14:32 +0000 (13:14 +0900)]
Use liblzo2 for the lzop reader filter if available.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 07:07:47 +0000 (16:07 +0900)]
Make sure that we consume remaining data bytes before reading
entries in a directory in case of reading the ISO image made
by makefs.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 05:10:08 +0000 (14:10 +0900)]
Remove redundant initialization.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 05:00:42 +0000 (14:00 +0900)]
Perform 'bzip2 -d -V' instead of 'bzip2 -V' for a bzip2 availableness
test because the process on FreeBSD 9 does not finish its program
when redirecting stdout to /dev/null.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:33:43 +0000 (10:33 +0900)]
Add test_option_j to the bsdtar_test.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:27:36 +0000 (10:27 +0900)]
Add test_option_z to the bsdtar_test.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:14:40 +0000 (10:14 +0900)]
Fix a skip message in no zlib.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:10:51 +0000 (10:10 +0900)]
Fix build failure without zlib.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 00:40:50 +0000 (09:40 +0900)]
Fix build and test failure without libbz2.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 19:27:52 +0000 (04:27 +0900)]
Fix a handing of readdir_r on AIX. The meaning of the return value is
different from other posix systems.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:26:05 +0000 (14:26 +0900)]
Make external programs lzip, lzma and xz be quiet when reading
corrupted compressed data.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:17:07 +0000 (14:17 +0900)]
Switch an external program for xz decompression from "unxz" to
"xz -d".
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:08:46 +0000 (14:08 +0900)]
Switch an external program for lzma decompression from "unlzma" to
"lzma -d".
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:00:04 +0000 (14:00 +0900)]
Switch an external program for lzip decompression from "lunzip" to
"lzip -d".
Michihiro NAKAJIMA [Sun, 14 Oct 2012 04:47:58 +0000 (13:47 +0900)]
Correct detection error messages in a lack of liblzma.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 04:42:32 +0000 (13:42 +0900)]
Fix an external program name for lzip decompression.
Michihiro NAKAJIMA [Sat, 13 Oct 2012 10:31:16 +0000 (19:31 +0900)]
Fix typo.
Michihiro NAKAJIMA [Sat, 13 Oct 2012 10:28:37 +0000 (19:28 +0900)]
Enable bzip2 compression to use an external bzip2 program when
libbz2 is unavailable.
Michihiro NAKAJIMA [Sat, 13 Oct 2012 09:56:11 +0000 (18:56 +0900)]
Switch an external program for bzip2 decompression from "bunzip2"
to "bzip2 -d".
Michihiro NAKAJIMA [Sat, 13 Oct 2012 07:30:17 +0000 (16:30 +0900)]
Integrate __archive_write_program_set_cmd into __archive_write_program_open.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 21:57:36 +0000 (06:57 +0900)]
Use an external gzip program when zlib is unavailable.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 21:30:25 +0000 (06:30 +0900)]
Properly call next filter even if the external program is already closed
or not opend.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 20:15:29 +0000 (05:15 +0900)]
Move archive_compressor_gzip_free and archive_compressor_gzip_options
after archive_write_add_filter_gzip. This is preparation to use an
external program gzip if zlib is not available.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 20:08:02 +0000 (05:08 +0900)]
Fix style.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 10:51:52 +0000 (19:51 +0900)]
Add a test for archive_cmdline.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 10:51:08 +0000 (19:51 +0900)]
Fix few bugs in archive_cmdline.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 06:01:20 +0000 (15:01 +0900)]
canGunzip is no longer needed. We use "gzip -d" for gzip decompression.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 05:36:56 +0000 (14:36 +0900)]
Set warning messages.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 02:13:20 +0000 (11:13 +0900)]
Parse a command line instead of using
archive_write_add_filter_programl,
archive_write_add_filter_programv,
archive_read_support_filter_programl,
archive_read_support_filter_programv,
archive_read_support_filter_programl_signature and
archive_read_support_filter_programv_signature.
And so remove those functions, which I recently added.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 23:04:22 +0000 (08:04 +0900)]
Support lzop options for writing.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 22:58:40 +0000 (07:58 +0900)]
Support lrzip options for writing.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 22:33:00 +0000 (07:33 +0900)]
Improve archive_write_filter_program handing to be able to
use options for an external program from
archive_write_filter_{grzip,lrzip,lzop}.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 02:19:20 +0000 (11:19 +0900)]
Place canGrzip before canGzip.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 23:17:05 +0000 (08:17 +0900)]
Add support for grzip compression.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 01:11:44 +0000 (10:11 +0900)]
Fix matching test name to correctly check a test name terminator.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 00:54:49 +0000 (09:54 +0900)]
Set correct arg0; consider that arg0 may have space characters.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 20:48:42 +0000 (05:48 +0900)]
Fix style and Make source files be somewhat readable.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 12:40:33 +0000 (21:40 +0900)]
Remove outdated comments.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 06:44:26 +0000 (15:44 +0900)]
Enable the iso9660 reader to seek a file pointer for reading
its contents.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 05:37:30 +0000 (14:37 +0900)]
- Clean up style.
- Divide archive_read_format_iso9660_read_header function into two
functions to be somewhat readable.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:52:40 +0000 (07:52 +0900)]
Set deprecated attribute to remaining deprecated functions.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:49:06 +0000 (07:49 +0900)]
Replace deprecated archive_read_finish by archive_read_free
and deprecated archive_write_finish by archive_write_free.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:30:41 +0000 (07:30 +0900)]
Replace deprecated macro ARCHIVE_COMPRESSION_* by ARCHIVE_FILTER_*.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:22:36 +0000 (07:22 +0900)]
Make lrzip and lzop write filters set correct filter name and code
even if thery actually use archive_write_filter_program.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 21:38:23 +0000 (06:38 +0900)]
Rename test_compat_lrzip.tar.lrz.uu to test_read_filter_lrzip.tar.lrz.uu
Michihiro NAKAJIMA [Mon, 8 Oct 2012 21:25:24 +0000 (06:25 +0900)]
Rename filter_fork.c to filter_fork_posix.c.
It is clear the file is used for which platform.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 07:49:46 +0000 (16:49 +0900)]
Add decompression tests to bsdcpio and bsdtar.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 06:36:57 +0000 (15:36 +0900)]
s/test_write_compress_/test_write_filter_/
So as to match the API names.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 03:38:04 +0000 (12:38 +0900)]
Introduce b64encode filter.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 00:38:59 +0000 (09:38 +0900)]
Introduce uuencode filter.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 21:21:49 +0000 (06:21 +0900)]
Fix potential memory leaks found with Clang.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 02:27:52 +0000 (11:27 +0900)]
Improve compatibility to uudecode command.
Ignore junk data after an end sequence detected.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 02:02:05 +0000 (11:02 +0900)]
Fix decoded data loss in uudecode filter.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 11:34:36 +0000 (20:34 +0900)]
Add archive_write_add_filter_lzop.c entry into CMakeList.txt.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 11:04:03 +0000 (20:04 +0900)]
Surely skip test_read_filter_lrzip and test_read_filter_lzop when
the compression commands are not available.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 07:13:17 +0000 (16:13 +0900)]
archive_read_support_filter_lrzip and archive_write_add_filter_lrzip
should return ARCHIVE_WARN instead of ARCHIVE_OK since those filters
always use an external program, lrzip(1) and other filters do so
if they use an external program instead of implemented code with
the library. It is clear that returning ARCHIVE_WARN means the filter
uses an external program.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 06:52:33 +0000 (15:52 +0900)]
Rename test_compat_lrzip to test_read_filter_lrzip since lrzip reader
entirely uses an external program, lrzip(1). It is not a compatible test.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 05:50:50 +0000 (14:50 +0900)]
Apply __attribute__((deprecated)) to archive_read_open_file,
archive_write_open_file, archive_position_compressed,
archive_position_uncompressed, archive_compression_name and
archive_compression.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 05:33:50 +0000 (14:33 +0900)]
Stop using deprecated functions.
s/archive_read_open_file/archive_read_open_filename/
s/archive_write_open_file/archive_write_open_filename/
Michihiro NAKAJIMA [Sun, 7 Oct 2012 05:05:06 +0000 (14:05 +0900)]
Stop using deprecated functions. Much remains to be replaced.
s/archive_position_compressed(a)/archive_filter_bytes(a, -1)/
Michihiro NAKAJIMA [Sun, 7 Oct 2012 05:01:15 +0000 (14:01 +0900)]
Stop using deprecated functions. Much remains to be replaced.
s/archive_position_uncompressed(a)/archive_filter_bytes(a, 0)/
Michihiro NAKAJIMA [Sun, 7 Oct 2012 04:53:18 +0000 (13:53 +0900)]
Stop using deprecated functions. Much remains to be replaced.
s/archive_compression_name(/archive_filter_name(/
Michihiro NAKAJIMA [Sun, 7 Oct 2012 04:48:48 +0000 (13:48 +0900)]
Stop using deprecated functions. Much remains to be replaced.
s/archive_compression(/archive_filter_code(/
Michihiro NAKAJIMA [Sun, 7 Oct 2012 04:29:29 +0000 (13:29 +0900)]
Stop using deprecated functions. Much remains to be replaced.
s/archive_write_set_compression_/archive_write_add_filter_/
Michihiro NAKAJIMA [Sun, 7 Oct 2012 03:56:02 +0000 (12:56 +0900)]
Add --lrzip option to bsdtar and bsdcpio to use lrzip compression.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 03:39:53 +0000 (12:39 +0900)]
Improve test_write_compress_lrzip not to use deprecated functions.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 03:27:25 +0000 (12:27 +0900)]
Add a test for bsdtar --xz option.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 03:20:34 +0000 (12:20 +0900)]
Add a test for bsdtar --lzma option.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 02:08:12 +0000 (11:08 +0900)]
Add support for lzop.
Michihiro NAKAJIMA [Sun, 7 Oct 2012 02:03:48 +0000 (11:03 +0900)]
Fix a long standing bug that archive_write_add_filter_program
incorrectly handles the return value of __archive_write_filter().
Michihiro NAKAJIMA [Sun, 7 Oct 2012 01:58:43 +0000 (10:58 +0900)]
Fix a filter name of the writing filter program.
Michihiro NAKAJIMA [Sat, 6 Oct 2012 07:21:45 +0000 (16:21 +0900)]
Remove __archive_read_program(), use __archive_read_programl() instead.
Michihiro NAKAJIMA [Sat, 6 Oct 2012 07:01:09 +0000 (16:01 +0900)]
lrunzip is no longer used.
Michihiro NAKAJIMA [Sat, 6 Oct 2012 06:46:42 +0000 (15:46 +0900)]
Fix comments on gunzip.
Michihiro NAKAJIMA [Sat, 6 Oct 2012 06:40:52 +0000 (15:40 +0900)]
Tweak indent.
Michihiro NAKAJIMA [Sat, 6 Oct 2012 04:34:51 +0000 (13:34 +0900)]
Revert part of
d1be20168 because gunzip is still used in
test_read_filter_program and test_read_filter_program_signature,
which cannot give arguments to the program.
Michihiro NAKAJIMA [Sat, 6 Oct 2012 04:20:45 +0000 (13:20 +0900)]
Get a full path of a command name for CreateProcess().
Michihiro NAKAJIMA [Fri, 5 Oct 2012 05:28:02 +0000 (14:28 +0900)]
Fix a cause of segmentation fault in case of creating a child
process failed. It occured when archive_write_close() was called
after an opening filter process failed.
Michihiro NAKAJIMA [Fri, 5 Oct 2012 03:33:30 +0000 (12:33 +0900)]
Rename test_read_uu.c to test_read_filter_uudecode.c, and
divide test_read_uu to test_read_filter_uudecode and
test_read_filter_uudecode_base64.
Michihiro NAKAJIMA [Fri, 5 Oct 2012 03:00:26 +0000 (12:00 +0900)]
Rename test_read_compress_program.c to test_read_filter_program.c
Michihiro NAKAJIMA [Fri, 5 Oct 2012 02:46:23 +0000 (11:46 +0900)]
Avoid test_read_format_cab failure if no zlib.
Michihiro NAKAJIMA [Fri, 5 Oct 2012 02:33:14 +0000 (11:33 +0900)]
When zlib is not available, use "gzip -d" insted of gunzip
because gzip is widely available than gunzip is.
Michihiro NAKAJIMA [Fri, 5 Oct 2012 02:07:58 +0000 (11:07 +0900)]
Use -q option to lrzip to be quiet.
Michihiro NAKAJIMA [Fri, 5 Oct 2012 01:54:38 +0000 (10:54 +0900)]
Avoid infinity wait in ReadFile during running an external program as
decoding filter on Windows.
Michihiro NAKAJIMA [Thu, 4 Oct 2012 00:18:30 +0000 (09:18 +0900)]
Make a filter program be called with its arguments.
Michihiro NAKAJIMA [Thu, 4 Oct 2012 03:12:22 +0000 (12:12 +0900)]
Make configure detect ARCHIVE_CRYPTO_*_WIN on mingw.
Michihiro NAKAJIMA [Thu, 4 Oct 2012 01:07:30 +0000 (10:07 +0900)]
Fix build failure on mingw32 for x86-64.
Michihiro NAKAJIMA [Thu, 4 Oct 2012 00:41:57 +0000 (09:41 +0900)]
Fix build failure on mingw32.
Michihiro NAKAJIMA [Wed, 3 Oct 2012 11:51:07 +0000 (20:51 +0900)]
Remove unnecessary build condition for a use of
__archive_create_child(). It has worked well on both POSIX
system and non-POSIX system since libarchive 2.7.0.
Michihiro NAKAJIMA [Wed, 3 Oct 2012 06:16:35 +0000 (15:16 +0900)]
Add extraction tests for compressed files to bsdtar_test.
Michihiro NAKAJIMA [Wed, 3 Oct 2012 07:18:17 +0000 (16:18 +0900)]
Increase a registered filter bidder size to avoid tests failure.
- test_read_format_cpio_bin_gz
- test_read_format_gtar_lzma.
Michihiro NAKAJIMA [Wed, 3 Oct 2012 06:50:47 +0000 (15:50 +0900)]
Fix test_option_older_than failure on linux.
- Use pax format in test_option_older_than and test_option_newer_than
to make sure the nano second of a file time is recorded.
Tim Kientzle [Wed, 3 Oct 2012 03:13:44 +0000 (20:13 -0700)]
Merge pull request #28 from graysky2/master
enable lrzip support