]>
git.ipfire.org Git - thirdparty/libarchive.git/log
Andres Mejia [Sun, 9 Dec 2012 18:12:01 +0000 (13:12 -0500)]
Separate code to set formats/filters into different source files.
This needs close_filters and free_filters to be globally available
as global symbols __archive_read_close_filters and
__archive_read_free_filters.
Andres Mejia [Sat, 22 Sep 2012 22:43:23 +0000 (18:43 -0400)]
Implement functions to manually set the format and filters used.
Andres Mejia [Sat, 22 Sep 2012 22:04:51 +0000 (18:04 -0400)]
Implement command to test if commands are available in the current platform.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 23:26:37 +0000 (08:26 +0900)]
Fix build failure without XATTR support on Mac.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 11:25:48 +0000 (20:25 +0900)]
Plug address space leaks on Windows.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 11:02:52 +0000 (20:02 +0900)]
Fix build failure on Visutal Studio on Win32.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 10:21:12 +0000 (19:21 +0900)]
Split test_read_truncated_filter to know what compression fails easily.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 05:59:18 +0000 (14:59 +0900)]
Fix issue 257. Revise zip header offsets for reading SFX.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 03:51:29 +0000 (12:51 +0900)]
Avoid arithmetic overflow warning(C6297) found by Visual studio
static analysis.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 03:36:06 +0000 (12:36 +0900)]
Use a proper structure for a test for gnutar header.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 23:46:19 +0000 (08:46 +0900)]
Split test_read_format_7zip by a compression type in order to test
a specific compression easily.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 23:16:05 +0000 (08:16 +0900)]
Split test_fuzz by a format type in order to test a specific format easily.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 22:34:06 +0000 (07:34 +0900)]
Separate test_write_format_7zip.c into three files.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 12:34:24 +0000 (21:34 +0900)]
Issue 269. Stop using deprecated functions in example source code.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 12:08:39 +0000 (21:08 +0900)]
Fix memory leaks in pax writer when handing mac metadata.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 11:30:49 +0000 (20:30 +0900)]
Fix the potential for a buffer underflow.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 11:20:50 +0000 (20:20 +0900)]
Fix a null pointer dereference bug in zip writer.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 11:05:33 +0000 (20:05 +0900)]
Split a test for 7-Zip writer into seven tests to know easily what
compression fails.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 10:53:27 +0000 (19:53 +0900)]
Fix a null pointer dereference bug in ar writer.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 09:10:00 +0000 (18:10 +0900)]
Fix a bug in 7zip writer that the writer cannot correctly handle
large data(more than 60K bytes) in a writing request.
Tim Kientzle [Sat, 1 Dec 2012 05:56:32 +0000 (21:56 -0800)]
Tweak a comment.
Tim Kientzle [Sat, 1 Dec 2012 05:48:48 +0000 (21:48 -0800)]
Fix util.c compile, remove extraneous NULL check.
Tim Kientzle [Sat, 1 Dec 2012 05:40:02 +0000 (21:40 -0800)]
Merge branch 'master' of github.com:libarchive/libarchive
Michihiro NAKAJIMA [Fri, 30 Nov 2012 01:21:28 +0000 (10:21 +0900)]
Do not return "Unknown module name" error when a format name matches
a specfied module name and the option name is wrong and filter names
do not matche the specfied module name.
Michihiro NAKAJIMA [Wed, 14 Nov 2012 07:10:40 +0000 (16:10 +0900)]
Fix bugs in test programs which Clang Static Analyzer pointed out.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 11:31:08 +0000 (20:31 +0900)]
Fix build failure without HAVE_UTIMES.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 11:24:33 +0000 (20:24 +0900)]
Fix test failure without zlib.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:59:13 +0000 (19:59 +0900)]
Fix build failure without zlib.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:54:24 +0000 (19:54 +0900)]
Fix build failure on linux.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:29:28 +0000 (19:29 +0900)]
Fix a bug that Clang Static Analyzer complains that
"Dereference of null pointer".
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:23:28 +0000 (19:23 +0900)]
Plug a memory leak.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 09:39:07 +0000 (18:39 +0900)]
Fix build failure on FreeBSD.
Michihiro NAKAJIMA [Thu, 8 Nov 2012 06:29:29 +0000 (15:29 +0900)]
Add support for __MACOSX directory in Zip archives, which resource
forks are stored in.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 11:32:26 +0000 (20:32 +0900)]
Fix build failure without zlib and liblzo.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 10:43:17 +0000 (19:43 +0900)]
Increase the number of data bytes reading from the tail of
a zip archive file up to 16K bytes because Info-Zip may do so.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 07:20:59 +0000 (16:20 +0900)]
Fix build failure with zlib on Win64.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 06:32:05 +0000 (15:32 +0900)]
Fix test failure on Windows. A '\' is a path separater on Windows.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 06:25:47 +0000 (15:25 +0900)]
Fix build failure on Win64.
Michihiro NAKAJIMA [Fri, 26 Oct 2012 06:02:24 +0000 (15:02 +0900)]
Add support for TAR_WRITE_OPTIONS and TAR_READ_OPTIONS environmment
variables to set default options to writing or reading archives with
bsdtar.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 22:58:23 +0000 (07:58 +0900)]
Use memcmp to check null bytes for iso9660 bidder to improve
the performance.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 21:49:01 +0000 (06:49 +0900)]
Fix style. No functional changes.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 11:20:38 +0000 (20:20 +0900)]
Fix issue 271; Handle the central directory including a zip comment.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 00:05:03 +0000 (16:05 -0800)]
Merge pull request #29 from travitch/archive-read-open-file-fix
Fix an error test on the result from fread
Michihiro NAKAJIMA [Mon, 5 Nov 2012 23:17:03 +0000 (08:17 +0900)]
Remove debug code for HFS+ compresison.
Michihiro NAKAJIMA [Sun, 4 Nov 2012 00:22:28 +0000 (09:22 +0900)]
Do not directly copy mac metadata to the data fork file if the file
is compressed by HFS+ compression through copyfile() because it makes
the file uncompressed.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 06:21:48 +0000 (15:21 +0900)]
Cancel HFS+ compression if the compressed size is not enouph small.
Tristan Ravitch [Fri, 2 Nov 2012 14:49:44 +0000 (09:49 -0500)]
Fix an error test on the result from fread
fread returns a short byte count on error (and ferror has to be used
to determine if it really was an error). There was a check for < 0,
which fread cannot return.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 00:42:02 +0000 (09:42 +0900)]
Improve a test for HFS+ Compression.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 00:12:09 +0000 (09:12 +0900)]
Correct the location the resource fork footer is added.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 23:50:47 +0000 (08:50 +0900)]
If a restoring file name begins with "._" and its form is
AppleDouble, link it with the data fork file and remove it.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:50:05 +0000 (05:50 +0900)]
Use mkstemp rather than tempnam for security.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:29:20 +0000 (05:29 +0900)]
Change compiling conditions for support for HFS+ Compression
since it is only for MacOS X.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:20:49 +0000 (05:20 +0900)]
Ignore .DS_Store made by Finder on MacOS X.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:53:57 +0000 (20:53 +0900)]
Do not process HFS+ compression if the file name begins with "._".
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:41:33 +0000 (20:41 +0900)]
If ARCHIVE_EXTRACT_FFLAGS is not set, do not set file flags with
the exception of UF_COMPRESSED when HFS+ compression is processed.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:09:43 +0000 (20:09 +0900)]
Plug memory leaks on Mac.
Tim Kientzle [Wed, 31 Oct 2012 05:42:51 +0000 (22:42 -0700)]
Merge branch 'master' of github.com:libarchive/libarchive
Michihiro NAKAJIMA [Wed, 31 Oct 2012 03:55:42 +0000 (12:55 +0900)]
Add --nopreserveHFSCompression option to bsdtar to prevent
a file which was compressed before archived from automatically
HFS+ Compression.
Michihiro NAKAJIMA [Wed, 31 Oct 2012 02:01:09 +0000 (11:01 +0900)]
Ignore a request of HFS+ Compression if the filesystem a file
is restoring on does not support.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:59:22 +0000 (08:59 +0900)]
Early versions of Mac OS X do not support HFS+ Compression.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:47:36 +0000 (08:47 +0900)]
Correct handling user_umask in create_filesystem_object function.
It usually made a new file with a zero file mode though that
was changed later.
The file its mode was a zero prevented doing fsetxattr system call
in success with the exception of running by super user on Mac.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:25:19 +0000 (08:25 +0900)]
Fix making Resource Fork header and footer for HFS+ Compression.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 21:07:14 +0000 (06:07 +0900)]
Remove an unnecessary check of file xattrs used for HFS+ compression
since the file was removed if existent.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 18:22:42 +0000 (03:22 +0900)]
Fix a segmentation fault when files for assertionEqualFile do not exist.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 18:17:28 +0000 (03:17 +0900)]
Fix a segmentation fault when getting xattr list failed.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 17:10:14 +0000 (02:10 +0900)]
Fix build failure on Mac OS X Mountain Lion.
Michihiro NAKAJIMA [Sat, 27 Oct 2012 12:58:37 +0000 (21:58 +0900)]
Simplify converting endianness of the decmpfs header and flushing
the last compressed block.
Michihiro NAKAJIMA [Sat, 27 Oct 2012 01:28:33 +0000 (10:28 +0900)]
Do not depend on sys/decmpfs.h since Snow Leopard does not have it.
Michihiro NAKAJIMA [Fri, 26 Oct 2012 06:10:45 +0000 (15:10 +0900)]
Set UF_COMPRESSED flag before write Resource Frok.
Michihiro NAKAJIMA [Fri, 26 Oct 2012 00:53:36 +0000 (09:53 +0900)]
Add experimental support for HFS+ Compression.
- bsdtar provides --hfsCompression option.
Michihiro NAKAJIMA [Tue, 23 Oct 2012 00:21:40 +0000 (09:21 +0900)]
Add lacking filter entries to the table of
archive_write_add_filter function.
Michihiro NAKAJIMA [Tue, 23 Oct 2012 00:13:53 +0000 (09:13 +0900)]
Update a comment about lzop.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 23:25:40 +0000 (08:25 +0900)]
Fix typo; mtree utility is section 8.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 22:09:45 +0000 (07:09 +0900)]
Describe lrzip:compression, lrzip:compression-level and
lzop:compression-level.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 21:32:08 +0000 (06:32 +0900)]
Change the minimum number of gzip:compression-level from 0 to 1
described in bsdtar.1 since an external gzip(1) utility does not
handle compression level 0.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 21:22:23 +0000 (06:22 +0900)]
Introduce gzip:timestamp option into gzip write filter to
control recording timestamp.
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.