]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
14 years agoIntroduce canNodump and assertNodump to bsdtar_test and bsdcpio_test.
Michihiro NAKAJIMA [Sat, 31 Dec 2011 21:39:51 +0000 (16:39 -0500)] 
Introduce canNodump and assertNodump to bsdtar_test and bsdcpio_test.

SVN-Revision: 4054

14 years agoEnable canNodump and assertNodump on linux and move them into test/main.c
Michihiro NAKAJIMA [Sat, 31 Dec 2011 21:37:38 +0000 (16:37 -0500)] 
Enable canNodump and assertNodump on linux and move them into test/main.c

SVN-Revision: 4053

14 years agoIntroduce archive_read_disk_honor_nodump() to eliminate the platform
Michihiro NAKAJIMA [Sat, 31 Dec 2011 19:29:09 +0000 (14:29 -0500)] 
Introduce archive_read_disk_honor_nodump() to eliminate the platform
dependent code testing nodump flag from bsdtar and bsdpax.

SVN-Revision: 4052

14 years agoMerge r4050 from trunk to fix Issue 212.
Tim Kientzle [Sat, 31 Dec 2011 18:54:34 +0000 (13:54 -0500)] 
Merge r4050 from trunk to fix Issue 212.

SVN-Revision: 4051

14 years agoIssue 212: A more accurate way to determine if a partucular
Tim Kientzle [Sat, 31 Dec 2011 18:52:52 +0000 (13:52 -0500)] 
Issue 212:  A more accurate way to determine if a partucular
library has already been added to $mdLIBS.

SVN-Revision: 4050

14 years agoIntroduce archive_read_disk_set_name_filter_callback and archive_read_disk_set_time_f...
Michihiro NAKAJIMA [Sat, 31 Dec 2011 08:48:59 +0000 (03:48 -0500)] 
Introduce archive_read_disk_set_name_filter_callback and archive_read_disk_set_time_filter_callback.
That is used for directory traversals to improve performance.
A name filter callback set by archive_read_disk_set_name_filter_callback will be called just after
the file is selected as next an entry; only pathname is set in the archive_entry object.
A time filter callback set by archive_read_disk_set_time_filter_callback will be called just after
the meta data such as mtime or ctime is set in the archive_entry object.
In the time filter callback, you can use archive_read_disk_can_descend and archive_read_disk_descend.

SVN-Revision: 4049

14 years agoMerge r4047 from trunk to fix Issue 218.
Tim Kientzle [Fri, 30 Dec 2011 23:51:15 +0000 (18:51 -0500)] 
Merge r4047 from trunk to fix Issue 218.

SVN-Revision: 4048

14 years agoIssue 218: Suppress extracting the body only if we know the body has
Tim Kientzle [Fri, 30 Dec 2011 23:50:40 +0000 (18:50 -0500)] 
Issue 218: Suppress extracting the body only if we know the body has
zero size.  If we don't know the size, we have to proceed as if it is
non-zero.

This manifests as empty bodies when extracting Zip archives
using length-at-end semantics from a pipe using bsdcpio.

SVN-Revision: 4047

14 years agoMerge r4045 from trunk to fix Issue 217.
Tim Kientzle [Fri, 30 Dec 2011 21:56:37 +0000 (16:56 -0500)] 
Merge r4045 from trunk to fix Issue 217.

SVN-Revision: 4046

14 years agoIssue 217: build warning about uninitialized variable.
Tim Kientzle [Fri, 30 Dec 2011 21:55:12 +0000 (16:55 -0500)] 
Issue 217: build warning about uninitialized variable.

SVN-Revision: 4045

14 years agoIssue 216: bsdtar output truncated.
Michihiro NAKAJIMA [Fri, 30 Dec 2011 19:08:53 +0000 (14:08 -0500)] 
Issue 216: bsdtar output truncated.
Merge r4042 from trunk.

SVN-Revision: 4043

14 years agoIssue 216: bsdtar output truncated.
Michihiro NAKAJIMA [Fri, 30 Dec 2011 19:04:14 +0000 (14:04 -0500)] 
Issue 216: bsdtar output truncated.
Properly treat the long path that the return code of snprintf function is -1.

SVN-Revision: 4042

14 years agoImprove test utilities to correctly detect the Windows style of full path that starts...
Michihiro NAKAJIMA [Fri, 30 Dec 2011 17:32:19 +0000 (12:32 -0500)] 
Improve test utilities to correctly detect the Windows style of full path that starts with "c:\".
Building full path name in test utilities should use memmove instead of strcpy because it is
possible that an original path name should overlap itself when moving the path.

SVN-Revision: 4040

14 years agoIssue 214: Don't require MNT_NOATIME
Tim Kientzle [Fri, 30 Dec 2011 06:54:03 +0000 (01:54 -0500)] 
Issue 214: Don't require MNT_NOATIME

SVN-Revision: 4038

14 years agoIssue 214: Don't require MNT_NOATIME
Tim Kientzle [Fri, 30 Dec 2011 06:53:15 +0000 (01:53 -0500)] 
Issue 214: Don't require MNT_NOATIME

SVN-Revision: 4037

14 years agoMerge from trunk: Don't use copyfile() when it's not available.
Tim Kientzle [Fri, 30 Dec 2011 06:49:55 +0000 (01:49 -0500)] 
Merge from trunk: Don't use copyfile() when it's not available.

SVN-Revision: 4036

14 years agoDon't try to use copyfile with older Mac OS SDKs that don't support it.
Tim Kientzle [Fri, 30 Dec 2011 06:48:58 +0000 (01:48 -0500)] 
Don't try to use copyfile with older Mac OS SDKs that don't support it.

SVN-Revision: 4035

14 years agoIntroduce archive_read_disk_can_descend to know whether the current entry can descend...
Michihiro NAKAJIMA [Thu, 29 Dec 2011 05:33:56 +0000 (00:33 -0500)] 
Introduce archive_read_disk_can_descend to know whether the current entry can descend or not.
It will be needed when bsdtar uses the new directory traversals code instead of
its traversals code(in tar/tree.c). bsdpax also might use it.

SVN-Revision: 4034

14 years agoBump trunk to 3.0.900a so it will be ready to
Tim Kientzle [Thu, 29 Dec 2011 03:08:27 +0000 (22:08 -0500)] 
Bump trunk to 3.0.900a so it will be ready to
build test releases for 3.1.

SVN-Revision: 4029

14 years agoRequire CMake 2.8 and drop the workaround for older versions.
Tim Kientzle [Thu, 29 Dec 2011 03:01:55 +0000 (22:01 -0500)] 
Require CMake 2.8 and drop the workaround for older versions.

SVN-Revision: 4028

14 years agoRequire CMake 2.8 and drop some workarounds for older versions.
Tim Kientzle [Thu, 29 Dec 2011 03:01:07 +0000 (22:01 -0500)] 
Require CMake 2.8 and drop some workarounds for older versions.

SVN-Revision: 4027

14 years agoMerge from trunk: Use a more portable grep incantation.
Tim Kientzle [Thu, 29 Dec 2011 02:49:32 +0000 (21:49 -0500)] 
Merge from trunk: Use a more portable grep incantation.

SVN-Revision: 4026

14 years agoDon't use -e option to grep (Solaris 10 doesn't have it).
Tim Kientzle [Thu, 29 Dec 2011 02:48:47 +0000 (21:48 -0500)] 
Don't use -e option to grep (Solaris 10 doesn't have it).
Use $GREP (configure tries to find a "good" grep)

SVN-Revision: 4025

14 years agoImprove directory traversals on Windows to correctly handle the path which starts...
Michihiro NAKAJIMA [Thu, 29 Dec 2011 02:19:45 +0000 (21:19 -0500)] 
Improve directory traversals on Windows to correctly handle the path which starts with "\\?\" or "//?/".

SVN-Revision: 4024

14 years agoIssue 210. Merge from r4022 from trunk.
Michihiro NAKAJIMA [Wed, 28 Dec 2011 17:00:43 +0000 (12:00 -0500)] 
Issue 210. Merge from r4022 from trunk.

SVN-Revision: 4023

14 years agoIssue 210. Plug memory leak on Windows.
Michihiro NAKAJIMA [Wed, 28 Dec 2011 16:59:36 +0000 (11:59 -0500)] 
Issue 210. Plug memory leak on Windows.

SVN-Revision: 4022

14 years agoIssue 206. Merge from r4020 from trunk.
Michihiro NAKAJIMA [Wed, 28 Dec 2011 16:41:32 +0000 (11:41 -0500)] 
Issue 206. Merge from r4020 from trunk.

SVN-Revision: 4021

14 years agoIssue 206.
Michihiro NAKAJIMA [Wed, 28 Dec 2011 16:39:54 +0000 (11:39 -0500)] 
Issue 206.
It seems the CreateHardLinkW API Windows 2000 provides cannot handle the path which have \\?\ prefix,
so if CreateHardLinkW failed, try it again without \\?' prefix.

SVN-Revision: 4020

14 years agoIssue 208: test_write_compress_program hangs.
Michihiro NAKAJIMA [Tue, 27 Dec 2011 17:10:55 +0000 (12:10 -0500)] 
Issue 208: test_write_compress_program hangs.
Merge r4018 from trunk.

SVN-Revision: 4019

14 years agoFix issue 208, test_write_compress_program hangs.
Michihiro NAKAJIMA [Tue, 27 Dec 2011 17:07:41 +0000 (12:07 -0500)] 
Fix issue 208, test_write_compress_program hangs.
Rework __archive_create_child function to make ReadFile function return
in this case, and remvoe __la_fcntl.

SVN-Revision: 4018

14 years agoIssue 204: Merge r4014 from trunk.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 23:45:16 +0000 (18:45 -0500)] 
Issue 204: Merge r4014 from trunk.

SVN-Revision: 4016

14 years agoIssue 204: Merge r4014 from trunk.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 23:44:19 +0000 (18:44 -0500)] 
Issue 204: Merge r4014 from trunk.

SVN-Revision: 4015

14 years agoIssue 204: Fix shadowed local in archive_read_support_format_iso9660.c
Michihiro NAKAJIMA [Mon, 26 Dec 2011 23:42:33 +0000 (18:42 -0500)] 
Issue 204: Fix shadowed local in archive_read_support_format_iso9660.c

SVN-Revision: 4014

14 years agoSet CMAKE_BUILD_TYPE to "Release".
Michihiro NAKAJIMA [Mon, 26 Dec 2011 20:15:28 +0000 (15:15 -0500)] 
Set CMAKE_BUILD_TYPE to "Release".

SVN-Revision: 4013

14 years agoMerge r4011 from trunk.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 19:22:48 +0000 (14:22 -0500)] 
Merge r4011 from trunk.

SVN-Revision: 4012

14 years agoOn Windows, Trim "//?/" prefix from the path since ASCII version APIs do not accept...
Michihiro NAKAJIMA [Mon, 26 Dec 2011 19:20:44 +0000 (14:20 -0500)] 
On Windows, Trim "//?/" prefix from the path since ASCII version APIs do not accept those type of the path.

SVN-Revision: 4011

14 years agoAvoid test_write_disk_lookup failure on Windows.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 18:54:55 +0000 (13:54 -0500)] 
Avoid test_write_disk_lookup failure on Windows.
Merge r4009 from trunk.

SVN-Revision: 4010

14 years agoAvoid test_write_disk_lookup failure on Windows.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 18:52:58 +0000 (13:52 -0500)] 
Avoid test_write_disk_lookup failure on Windows.
Getting uid from uname and gid from gname is not implemented on Windows.

SVN-Revision: 4009

14 years agoAvoid the bug of GetFullPathNameW.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 18:03:58 +0000 (13:03 -0500)] 
Avoid the bug of GetFullPathNameW.
Merge r4007 from trunk.

SVN-Revision: 4008

14 years agoAvoid the bug of GetFullPathNameW.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 18:02:25 +0000 (13:02 -0500)] 
Avoid the bug of GetFullPathNameW.
There is a case that GetFullPathNameW cannot return a sufficient buffer size
when the length of the file name pass to that function is one.

SVN-Revision: 4007

14 years agoIssue 203. Fix build failure without PATH_MAX.
Michihiro NAKAJIMA [Mon, 26 Dec 2011 02:38:42 +0000 (21:38 -0500)] 
Issue 203. Fix build failure without PATH_MAX.
Merge r4004 and r4005 from trunk.

SVN-Revision: 4006

14 years agoAvoid an extra copy of a script path, and, as a part of fixing issu 203, do not compa...
Michihiro NAKAJIMA [Mon, 26 Dec 2011 02:29:06 +0000 (21:29 -0500)] 
Avoid an extra copy of a script path, and, as a part of fixing issu 203, do not compare its length to PATH_MAX if PATH_MAX is not defined.

SVN-Revision: 4005

14 years agoIssue 203: Getting current directory does not rely on PATH_MAX, which some platforms...
Michihiro NAKAJIMA [Mon, 26 Dec 2011 01:38:11 +0000 (20:38 -0500)] 
Issue 203: Getting current directory does not rely on PATH_MAX, which some platforms do not have.

SVN-Revision: 4004

14 years agoGive some default value for PATH_MAX on systems that don't have PATH_MAX defined.
Andres Mejia [Sun, 25 Dec 2011 15:10:46 +0000 (10:10 -0500)] 
Give some default value for PATH_MAX on systems that don't have PATH_MAX defined.

SVN-Revision: 3999

14 years agoRework zip writer not to rely on structure alignment to write headers.
Michihiro NAKAJIMA [Sun, 25 Dec 2011 14:51:27 +0000 (09:51 -0500)] 
Rework zip writer not to rely on structure alignment to write headers.

SVN-Revision: 3997

14 years agoPlug name leaks: merge r3988,r3990 and r3991 from trunk.
Michihiro NAKAJIMA [Sun, 25 Dec 2011 14:35:24 +0000 (09:35 -0500)] 
Plug name leaks: merge r3988,r3990 and r3991 from trunk.

SVN-Revision: 3996

14 years agoFix misspelling of overridden.
Andres Mejia [Sat, 24 Dec 2011 21:37:28 +0000 (16:37 -0500)] 
Fix misspelling of overridden.

SVN-Revision: 3994

14 years agoFix spelling error.
Andres Mejia [Sat, 24 Dec 2011 21:37:25 +0000 (16:37 -0500)] 
Fix spelling error.

SVN-Revision: 3993

14 years agoMerge r3989 from trunk: Fix build failure on Visual Studio.
Michihiro NAKAJIMA [Sat, 24 Dec 2011 21:28:48 +0000 (16:28 -0500)] 
Merge r3989 from trunk: Fix build failure on Visual Studio.

SVN-Revision: 3992

14 years agoReally make Bcj2_Decode a private symbol.
Andres Mejia [Sat, 24 Dec 2011 21:27:09 +0000 (16:27 -0500)] 
Really make Bcj2_Decode a private symbol.

SVN-Revision: 3991

14 years agoMake pad_to symbol a private symbol.
Andres Mejia [Sat, 24 Dec 2011 21:25:01 +0000 (16:25 -0500)] 
Make pad_to symbol a private symbol.

SVN-Revision: 3990

14 years agoFix build failure on Visual Studio.
Michihiro NAKAJIMA [Sat, 24 Dec 2011 21:22:54 +0000 (16:22 -0500)] 
Fix build failure on Visual Studio.

SVN-Revision: 3989

14 years agoMake Bcj2_Decode a private symbol.
Andres Mejia [Sat, 24 Dec 2011 21:19:33 +0000 (16:19 -0500)] 
Make Bcj2_Decode a private symbol.

SVN-Revision: 3988

14 years agoA string conversion of symlink names in Zip file.
Michihiro NAKAJIMA [Sat, 24 Dec 2011 19:03:24 +0000 (14:03 -0500)] 
A string conversion of symlink names in Zip file.
 Reader side:
   - if a hdrcharset option is set, convert a symlink name from that to current locale.
   - if a hdrcharset option is not set and the file name is stored as UTF-8, convert
     a symlink name from UTF-8 to current locale, but this will not report the conversion
     failure.

 Writer side:
   - Convert a symlink name as same as the file name. I think it is suitable especially
     when the character-set of the file name is UTF-8.
     Even if the conversion failed, do report the error and handle the symlink name without
     string conversion since there is no character-set regulation for the symlink name in
     the Zip format specific.

SVN-Revision: 3987

14 years agoVersion number updates propagated by the release scripts. v3.0.2
Tim Kientzle [Sat, 24 Dec 2011 18:09:50 +0000 (13:09 -0500)] 
Version number updates propagated by the release scripts.

SVN-Revision: 3986

14 years agoBump trunk to version 3.0.900a in preparation for work on
Tim Kientzle [Sat, 24 Dec 2011 18:04:00 +0000 (13:04 -0500)] 
Bump trunk to version 3.0.900a in preparation for work on
libarchive 3.1.
Merge NEWS updates from 3.0 branch.

SVN-Revision: 3985

14 years agoPrepare for a production release:
Tim Kientzle [Sat, 24 Dec 2011 18:01:58 +0000 (13:01 -0500)] 
Prepare for a production release:
  * Update NEWS
  * Bump version, drop 'b'eta qualifier
  * Remove -Werror from build scripts

SVN-Revision: 3984

14 years agoLibarchive 3.0
Tim Kientzle [Sat, 24 Dec 2011 17:49:14 +0000 (12:49 -0500)] 
Libarchive 3.0

SVN-Revision: 3983

14 years agoFollow up with r3981 fixing __packed keyword on MSVC.
Michihiro NAKAJIMA [Sat, 24 Dec 2011 13:06:48 +0000 (08:06 -0500)] 
Follow up with r3981 fixing __packed keyword on MSVC.

SVN-Revision: 3982

14 years agoFix build failure using __packed on MSVC.
Michihiro NAKAJIMA [Sat, 24 Dec 2011 12:54:52 +0000 (07:54 -0500)] 
Fix build failure using __packed on MSVC.

SVN-Revision: 3981

14 years agoIssue 199: Merge r3835 from trunk.
Michihiro NAKAJIMA [Sat, 24 Dec 2011 12:49:52 +0000 (07:49 -0500)] 
Issue 199: Merge r3835 from trunk.

SVN-Revision: 3980

14 years agoVarious fixes merged from the FreeBSD tree.
Tim Kientzle [Sat, 24 Dec 2011 03:57:42 +0000 (22:57 -0500)] 
Various fixes merged from the FreeBSD tree.
(Thanks to Martin Matuska for inventorying these for me.)

SVN-Revision: 3979

14 years agoMore fixes from FreeBSD, thanks to Martin Matuska.
Tim Kientzle [Sat, 24 Dec 2011 03:50:11 +0000 (22:50 -0500)] 
More fixes from FreeBSD, thanks to Martin Matuska.

SVN-Revision: 3978

14 years agoVarious fixes from FreeBSD.
Tim Kientzle [Sat, 24 Dec 2011 03:48:52 +0000 (22:48 -0500)] 
Various fixes from FreeBSD.
Thanks to Martin Matuska for inventorying these.

SVN-Revision: 3977

14 years agoVarious fixes from FreeBSD.
Tim Kientzle [Sat, 24 Dec 2011 03:47:15 +0000 (22:47 -0500)] 
Various fixes from FreeBSD.

SVN-Revision: 3976

14 years agoPut BUGS section at end, following mdoc conventions.
Tim Kientzle [Sat, 24 Dec 2011 03:44:05 +0000 (22:44 -0500)] 
Put BUGS section at end, following mdoc conventions.

SVN-Revision: 3975

14 years ago.Dt titles are traditionally in all uppercase
Tim Kientzle [Sat, 24 Dec 2011 03:42:00 +0000 (22:42 -0500)] 
.Dt titles are traditionally in all uppercase

SVN-Revision: 3974

14 years agoUse the preferred spelling of FreeBSD.org.
Tim Kientzle [Sat, 24 Dec 2011 03:37:10 +0000 (22:37 -0500)] 
Use the preferred spelling of FreeBSD.org.

SVN-Revision: 3973

14 years agoThere's no need to handle pipes differently here.
Tim Kientzle [Sat, 24 Dec 2011 03:00:26 +0000 (22:00 -0500)] 
There's no need to handle pipes differently here.

SVN-Revision: 3972

14 years agoAdd support for symlink to ZIP writer.
Michihiro NAKAJIMA [Fri, 23 Dec 2011 00:19:37 +0000 (19:19 -0500)] 
Add support for symlink to ZIP writer.

SVN-Revision: 3966

14 years agoStyle fix.
Michihiro NAKAJIMA [Thu, 22 Dec 2011 21:55:48 +0000 (16:55 -0500)] 
Style fix.

SVN-Revision: 3965

14 years agoAvoid an extra copy of a symbolic-link name by using archive_entry_copy_symlink_l...
Michihiro NAKAJIMA [Thu, 22 Dec 2011 17:22:48 +0000 (12:22 -0500)] 
Avoid an extra copy of a symbolic-link name by using archive_entry_copy_symlink_l function
instead of archive_entry_copy_symlink.

SVN-Revision: 3964

14 years agoFurther report an error through string conversion functions when memory allocation...
Michihiro NAKAJIMA [Thu, 22 Dec 2011 17:08:10 +0000 (12:08 -0500)] 
Further report an error through string conversion functions when memory allocation failed.

SVN-Revision: 3963

14 years agoFix a memory leak.
Michihiro NAKAJIMA [Thu, 22 Dec 2011 15:19:35 +0000 (10:19 -0500)] 
Fix a memory leak.

SVN-Revision: 3962

14 years agoSet a proper error message for a encypted file.
Michihiro NAKAJIMA [Thu, 22 Dec 2011 13:11:27 +0000 (08:11 -0500)] 
Set a proper error message for a encypted file.

SVN-Revision: 3961

14 years agoAdd and update some comments.
Michihiro NAKAJIMA [Thu, 22 Dec 2011 11:54:24 +0000 (06:54 -0500)] 
Add and update some comments.

SVN-Revision: 3960

14 years agoLeave libtool version 11 for a possible libarchive 2.9 release.
Tim Kientzle [Thu, 22 Dec 2011 06:41:14 +0000 (01:41 -0500)] 
Leave libtool version 11 for a possible libarchive 2.9 release.
Libarchive 3.0 will use shared library version 12.

SVN-Revision: 3959

14 years agoInclude the new test file in the distribution.
Tim Kientzle [Thu, 22 Dec 2011 06:19:39 +0000 (01:19 -0500)] 
Include the new test file in the distribution.

SVN-Revision: 3958

14 years agoBasic test and support for symlinks in Zip archives.
Tim Kientzle [Thu, 22 Dec 2011 06:18:29 +0000 (01:18 -0500)] 
Basic test and support for symlinks in Zip archives.

SVN-Revision: 3957

14 years agoFixup a couple of tests that relied on the old read_data_into_buffer,
Tim Kientzle [Thu, 22 Dec 2011 05:56:59 +0000 (00:56 -0500)] 
Fixup a couple of tests that relied on the old read_data_into_buffer,
which I removed recently.

SVN-Revision: 3956

14 years agoCorrect a comment.
Tim Kientzle [Thu, 22 Dec 2011 05:47:08 +0000 (00:47 -0500)] 
Correct a comment.

SVN-Revision: 3955

14 years agoRemove a few stray references to ARCHIVE_API_VERSION, which was
Tim Kientzle [Thu, 22 Dec 2011 05:46:08 +0000 (00:46 -0500)] 
Remove a few stray references to ARCHIVE_API_VERSION, which was
removed some time ago.
Also remove the last references to archive_read_data_into_buffer
(a mis-designed interface that was deprecated a very long time ago).

SVN-Revision: 3954

14 years agoImprove robustness against deliberately currupted 7-Zip archives.
Michihiro NAKAJIMA [Wed, 21 Dec 2011 02:37:07 +0000 (21:37 -0500)] 
Improve robustness against deliberately currupted 7-Zip archives.
This still needs to be testd with test_fuzz.

SVN-Revision: 3953

14 years agoFix BCJ converter to correctly work with libarchive when the converter is invoked...
Michihiro NAKAJIMA [Tue, 20 Dec 2011 23:43:11 +0000 (18:43 -0500)] 
Fix BCJ converter to correctly work with libarchive when the converter is invoked by a multiple call.

SVN-Revision: 3952

14 years agoImprove reading header code to reduce a use of memory resource however the number of
Michihiro NAKAJIMA [Tue, 20 Dec 2011 20:59:44 +0000 (15:59 -0500)] 
Improve reading header code to reduce a use of memory resource however the number of
the file entries are in the archive. The previous version extracted the whole header
image into memory and handle it.

SVN-Revision: 3951

14 years agoAdd support for PPMd to 7-Zip writer.
Michihiro NAKAJIMA [Mon, 19 Dec 2011 23:30:59 +0000 (18:30 -0500)] 
Add support for PPMd to 7-Zip writer.

SVN-Revision: 3950

14 years agoRemove unnecessary including files.
Michihiro NAKAJIMA [Mon, 19 Dec 2011 20:10:27 +0000 (15:10 -0500)] 
Remove unnecessary including files.

SVN-Revision: 3949

14 years agoAvoid a warning on Windows.
Michihiro NAKAJIMA [Mon, 19 Dec 2011 19:31:52 +0000 (14:31 -0500)] 
Avoid a warning on Windows.

SVN-Revision: 3948

14 years agoSet proper the default compression type as appropriate according to the compressions...
Michihiro NAKAJIMA [Mon, 19 Dec 2011 19:28:33 +0000 (14:28 -0500)] 
Set proper the default compression type as appropriate according to the compressions the platform supports.

SVN-Revision: 3947

14 years agoFix build failure without zlib.
Michihiro NAKAJIMA [Mon, 19 Dec 2011 10:11:52 +0000 (05:11 -0500)] 
Fix build failure without zlib.

SVN-Revision: 3946

14 years agoDelay the initialization of the compression until it is really needed
Michihiro NAKAJIMA [Mon, 19 Dec 2011 10:05:41 +0000 (05:05 -0500)] 
Delay the initialization of the compression until it is really needed
in order not to fail test_write_format_7zip while storing only empty files.

SVN-Revision: 3945

14 years agoGet 7zip writer to compile on systems that lack liblzma.
Tim Kientzle [Mon, 19 Dec 2011 01:58:10 +0000 (20:58 -0500)] 
Get 7zip writer to compile on systems that lack liblzma.
I still need to look into test failures on MacOS.

SVN-Revision: 3944

14 years agoRefactor the UID/GID lookup in write_disk so that it can be
Tim Kientzle [Mon, 19 Dec 2011 01:05:50 +0000 (20:05 -0500)] 
Refactor the UID/GID lookup in write_disk so that it can be
called from outside of this module.

SVN-Revision: 3943

14 years agoFix a string conversion test to work on Apple.
Tim Kientzle [Mon, 19 Dec 2011 00:55:25 +0000 (19:55 -0500)] 
Fix a string conversion test to work on Apple.

SVN-Revision: 3942

14 years agoAdd 7-Zip writer.
Michihiro NAKAJIMA [Sun, 18 Dec 2011 22:22:31 +0000 (17:22 -0500)] 
Add 7-Zip writer.
This writer supports Copy, Deflate, BZIP2, LZMA1, and LZMA2, but 7-Zip's filters such as BCJ are not supported.

SVN-Revision: 3941

14 years agoEnable archive_string_conversion_to_charset to handle UTF-16LE.
Michihiro NAKAJIMA [Sun, 18 Dec 2011 22:12:04 +0000 (17:12 -0500)] 
Enable archive_string_conversion_to_charset to handle UTF-16LE.
This will be used by 7-Zip writer.

SVN-Revision: 3940

14 years agoFix reading times in 7-Zip archives when the time data is not of all files.
Michihiro NAKAJIMA [Sun, 18 Dec 2011 22:05:26 +0000 (17:05 -0500)] 
Fix reading times in 7-Zip archives when the time data is not of all files.

SVN-Revision: 3939

14 years agoImprove mtree error handling.
Tim Kientzle [Sun, 18 Dec 2011 18:56:58 +0000 (13:56 -0500)] 
Improve mtree error handling.

SVN-Revision: 3938

14 years agoFix the mismatch of FOREACH and ENDFOREACH in CMakeLists.txt
Michihiro NAKAJIMA [Sun, 18 Dec 2011 17:48:55 +0000 (12:48 -0500)] 
Fix the mismatch of FOREACH and ENDFOREACH in CMakeLists.txt

SVN-Revision: 3937

14 years agoFix typo.
Michihiro NAKAJIMA [Sun, 18 Dec 2011 12:10:43 +0000 (07:10 -0500)] 
Fix typo.

SVN-Revision: 3936