]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
14 years agoMerge r3768 from trunk: Fix typo in dev/ino verification for cpio formats.
Tim Kientzle [Sat, 12 Nov 2011 20:47:34 +0000 (15:47 -0500)] 
Merge r3768 from trunk: Fix typo in dev/ino verification for cpio formats.

SVN-Revision: 3770

14 years agoMerge r3744 from trunk: Correctly return errors when reading
Tim Kientzle [Sat, 12 Nov 2011 20:46:05 +0000 (15:46 -0500)] 
Merge r3744 from trunk:  Correctly return errors when reading
an archive using @archive extension.

SVN-Revision: 3769

14 years agoIssue 197: fix a typo; a test for 'ino' accidentally referred
Tim Kientzle [Sat, 12 Nov 2011 20:44:01 +0000 (15:44 -0500)] 
Issue 197: fix a typo; a test for 'ino' accidentally referred
to the 'dev' variable.

SVN-Revision: 3768

14 years agoDisable OpenSSL probe on Darwin.
Tim Kientzle [Sat, 12 Nov 2011 05:26:31 +0000 (00:26 -0500)] 
Disable OpenSSL probe on Darwin.
This avoids a painful deprecation build error when the configure
finds RMD160 in OpenSSL.
We can re-enable this in the production version of libarchive 3.0.0,
since the production versions don't enable -Werror.

SVN-Revision: 3767

14 years agoIssue 196: cpio format tests should verify that nlinks in the
Tim Kientzle [Sat, 12 Nov 2011 05:21:58 +0000 (00:21 -0500)] 
Issue 196:  cpio format tests should verify that nlinks in the
archive matches what's on disk, instead of assuming historical
Unix behavior.
Thanks to: dpmcgee

SVN-Revision: 3766

14 years agoIssue 192: Fix tests that fail when libarchive is deliberately
Tim Kientzle [Sat, 12 Nov 2011 04:57:35 +0000 (23:57 -0500)] 
Issue 192: Fix tests that fail when libarchive is deliberately
built without libz.
Thanks to dpmcgee.

SVN-Revision: 3765

14 years agoGarbage collect more vestigal name_cache bits.
Colin Percival [Thu, 10 Nov 2011 06:12:15 +0000 (01:12 -0500)] 
Garbage collect more vestigal name_cache bits.

SVN-Revision: 3764

14 years agoGarbage collect NO_NAME. It hasn't been used since r423 (January 2009)
Colin Percival [Thu, 10 Nov 2011 06:08:52 +0000 (01:08 -0500)] 
Garbage collect NO_NAME.  It hasn't been used since r423 (January 2009)
when the uname/gname lookups moved out of write.c to use the new
archive_read_disk API instead.

Reported by: Brian St. Pierre (via Tarsnap)

SVN-Revision: 3763

14 years agoIssue 193: allow ctime/mtime filters to work accurately on
Tim Kientzle [Wed, 9 Nov 2011 06:34:26 +0000 (01:34 -0500)] 
Issue 193: allow ctime/mtime filters to work accurately on
platforms that support times before the epoch.

SVN-Revision: 3762

14 years agoIssue 191: Update the manpage for archive_entry_stat to
Tim Kientzle [Wed, 9 Nov 2011 05:05:57 +0000 (00:05 -0500)] 
Issue 191: Update the manpage for archive_entry_stat to
clarify the fields actually copied.
While I'm here, fill in a few missing items and try to
make some of the descriptions a little more accurate.

SVN-Revision: 3761

14 years agoIssue 191: Clear struct stat so that fields not explicitly
Tim Kientzle [Wed, 9 Nov 2011 04:15:36 +0000 (23:15 -0500)] 
Issue 191: Clear struct stat so that fields not explicitly
set by libarchive won't have garbage values.

SVN-Revision: 3760

14 years agoFill in some comments for the makerelease script.
Tim Kientzle [Mon, 7 Nov 2011 01:54:02 +0000 (20:54 -0500)] 
Fill in some comments for the makerelease script.

SVN-Revision: 3759

14 years agoPut the list.h files with the test programs.
Tim Kientzle [Mon, 7 Nov 2011 01:53:06 +0000 (20:53 -0500)] 
Put the list.h files with the test programs.
Include a missing test file.

SVN-Revision: 3758

14 years agoAssign the intermediate value to a variable to
Tim Kientzle [Mon, 7 Nov 2011 01:52:00 +0000 (20:52 -0500)] 
Assign the intermediate value to a variable to
prevent compiler optimizations from breaking the test.

SVN-Revision: 3757

14 years agoRename ARCHIVE_LIBTOOL_MAJOR to ARCHIVE_INTERFACE.
Tim Kientzle [Mon, 7 Nov 2011 00:53:14 +0000 (19:53 -0500)] 
Rename ARCHIVE_LIBTOOL_MAJOR to ARCHIVE_INTERFACE.

SVN-Revision: 3756

14 years agoUpdate iconv.m4 to the newest version.
Tim Kientzle [Mon, 7 Nov 2011 00:51:57 +0000 (19:51 -0500)] 
Update iconv.m4 to the newest version.

SVN-Revision: 3755

14 years agoUpdate shared library version computation for upcoming 3.0.0a release.
Tim Kientzle [Sun, 6 Nov 2011 20:41:49 +0000 (15:41 -0500)] 
Update shared library version computation for upcoming 3.0.0a release.

SVN-Revision: 3754

14 years agoIssue 190: Fix build when liblzma is installed through MacPorts.
Tim Kientzle [Sun, 6 Nov 2011 19:09:58 +0000 (14:09 -0500)] 
Issue 190:  Fix build when liblzma is installed through MacPorts.

The probe for liblzma finds it in /opt/local, which adds
/opt/local/include to the include search path, which causes
iconv.h to be found there at compile time, which breaks because
libiconv was found in /usr at configure time.

This change causes cmake to prefer /opt/local for everything,
so that libiconv is pulled from /opt/local, and we avoid
the breakage from iconv mismatch.

I have a nasty suspicion that similar problems can happen
with many package systems.

SVN-Revision: 3753

14 years agoRather than marking the LZMA variables "not advanced", just
Tim Kientzle [Sun, 6 Nov 2011 19:01:45 +0000 (14:01 -0500)] 
Rather than marking the LZMA variables "not advanced", just
don't mark them "advanced" in the first place.

SVN-Revision: 3752

14 years agoMask SIGPIPE for libarchive test, tar, and cpio.
Tim Kientzle [Sat, 5 Nov 2011 23:34:57 +0000 (19:34 -0400)] 
Mask SIGPIPE for libarchive test, tar, and cpio.

As reported at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641265

The SIGPIPE occurs when feeding data through a decompression
program; the external program may see an end-of-data marker
and exit before we've finished feeding it all of the data.
(This happens when the data has garbage padding at the end.)
We want to catch and ignore the EPIPE since we can still
read the data coming out of the decompression program.

SVN-Revision: 3751

14 years agoActually, it's OpenSSL that's deprecated on Mac OS, not RMD.
Tim Kientzle [Sat, 5 Nov 2011 23:28:13 +0000 (19:28 -0400)] 
Actually, it's OpenSSL that's deprecated on Mac OS, not RMD.

SVN-Revision: 3750

14 years agoDisable RMD160 checks on Darwin.
Tim Kientzle [Sat, 5 Nov 2011 20:12:01 +0000 (16:12 -0400)] 
Disable RMD160 checks on Darwin.
Without this, we find RMD160 in OpenSSL but then fail to build because
of deprecation errors.
There are certainly better ways to handle this.

SVN-Revision: 3749

14 years agoIssue 165: Use GNU tar-style hHrRsS trailing flags to
Tim Kientzle [Sat, 5 Nov 2011 05:29:29 +0000 (01:29 -0400)] 
Issue 165: Use GNU tar-style hHrRsS trailing flags to
control hardlink, regular filename, and symlink substitutions.

SVN-Revision: 3748

14 years agoAdd a test inspired by Issue #186.
Tim Kientzle [Sat, 5 Nov 2011 04:16:35 +0000 (00:16 -0400)] 
Add a test inspired by Issue #186.
I believe this shows that the issue reported there is not
due to a problem in libarchive.

SVN-Revision: 3747

14 years agoIssue 188: Bump maximum line length to 64k.
Tim Kientzle [Fri, 4 Nov 2011 04:34:06 +0000 (00:34 -0400)] 
Issue 188: Bump maximum line length to 64k.

SVN-Revision: 3746

14 years agoUse the original filename for reporting errors, instead of the processed one.
Tim Kientzle [Fri, 4 Nov 2011 04:33:28 +0000 (00:33 -0400)] 
Use the original filename for reporting errors, instead of the processed one.

SVN-Revision: 3745

14 years agoWhen tar is appending one archive to another,
Tim Kientzle [Thu, 3 Nov 2011 05:36:00 +0000 (01:36 -0400)] 
When tar is appending one archive to another,
propagate read errors back as well as write errors.

SVN-Revision: 3744

14 years agoIssue #189: Don't rely on dev/ino being zero when they
Tim Kientzle [Thu, 3 Nov 2011 05:21:30 +0000 (01:21 -0400)] 
Issue #189:  Don't rely on dev/ino being zero when they
have not been set.  Instead, explicitly track when these
values are set.  In particular, this fixes the check
that prevents adding an archive to itself on NetBSD.

SVN-Revision: 3743

14 years agoRemove test for 'self == NULL' in bzip2_reader_init. It isn't needed,
Colin Percival [Wed, 2 Nov 2011 21:13:46 +0000 (17:13 -0400)] 
Remove test for 'self == NULL' in bzip2_reader_init.  It isn't needed,
since the caller is responsible for providing a non-NULL pointer; and
it's meaningless because we've already dereferenced self a few lines
earlier.

Submitted by: Carlo Teubner (via Tarsnap bug bounties)

SVN-Revision: 3742

14 years agoSupport FreeBSD's libmd library for common message digest functions.
Tim Kientzle [Sat, 22 Oct 2011 22:19:22 +0000 (18:19 -0400)] 
Support FreeBSD's libmd library for common message digest functions.

SVN-Revision: 3741

14 years agoUse archive_clear_error() to clear the error markers.
Tim Kientzle [Sat, 22 Oct 2011 18:26:55 +0000 (14:26 -0400)] 
Use archive_clear_error() to clear the error markers.

SVN-Revision: 3740

14 years agoCorrect spelling of getgrgid and getpwuid
Tim Kientzle [Sat, 22 Oct 2011 17:49:46 +0000 (13:49 -0400)] 
Correct spelling of getgrgid and getpwuid

SVN-Revision: 3739

14 years agoPort the --gname, --uname, --uid, --gid options from libarchive/trunk.
Tim Kientzle [Sat, 22 Oct 2011 16:39:25 +0000 (12:39 -0400)] 
Port the --gname, --uname, --uid, --gid options from libarchive/trunk.

SVN-Revision: 3738

14 years agoProbes for libmd on FreeBSD.
Tim Kientzle [Wed, 19 Oct 2011 03:44:38 +0000 (23:44 -0400)] 
Probes for libmd on FreeBSD.

SVN-Revision: 3737

14 years agoFirst part of libmd support for FreeBSD.
Tim Kientzle [Sun, 16 Oct 2011 22:27:38 +0000 (18:27 -0400)] 
First part of libmd support for FreeBSD.

SVN-Revision: 3736

14 years agoMerge r3247 from trunk: Clear errors before returning
Tim Kientzle [Sat, 15 Oct 2011 17:19:30 +0000 (13:19 -0400)] 
Merge r3247 from trunk: Clear errors before returning
from archive_read_support_format_all()

SVN-Revision: 3735

14 years agoMerge r1989: archive_clear_error should set errno to 0.
Tim Kientzle [Sat, 15 Oct 2011 17:17:43 +0000 (13:17 -0400)] 
Merge r1989:  archive_clear_error should set errno to 0.

SVN-Revision: 3734

14 years agoFix a typo that prevented CommonCrypto (part of libSystem) from being
Tim Kientzle [Wed, 5 Oct 2011 05:01:31 +0000 (01:01 -0400)] 
Fix a typo that prevented CommonCrypto (part of libSystem) from being
properly used on Darwin.

Note that Mac OS X 10.7 has deprecated OpenSSL in favor of CommonCrypto.
We still pick up RIPEMD160 from OpenSSL if it's available, which breaks
strict warnings because of the deprecation.  This seems unavoidable;
CommonCrypto doesn't seem to support RIPEMD160.  To avoid the deprecation
warning on Mac OS X 10.7, disable the OpenSSL checks.  That loses
RIPEMD160 support, though.

SVN-Revision: 3733

14 years agoIssue 182. Merge r3702 from trunk.
Michihiro NAKAJIMA [Sun, 25 Sep 2011 06:53:12 +0000 (02:53 -0400)] 
Issue 182. Merge r3702 from trunk.

SVN-Revision: 3731

14 years agoFix issue 174; largely merge r3692 from trunk.
Michihiro NAKAJIMA [Sun, 25 Sep 2011 06:43:10 +0000 (02:43 -0400)] 
Fix issue 174; largely merge r3692 from trunk.
Correctly handle Windows style full-path names, which are
leading \\.\ or \\?\ or \\?\\UNC\ or \\?\Volume{GUID}\ or C:\,
in archive_write_disk.c.

SVN-Revision: 3730

14 years agoProvide slightly more descriptive summary.
Andres Mejia [Sat, 24 Sep 2011 17:33:25 +0000 (13:33 -0400)] 
Provide slightly more descriptive summary.

SVN-Revision: 3729

14 years agoMake note that seek support is in the works.
Andres Mejia [Sat, 24 Sep 2011 17:33:20 +0000 (13:33 -0400)] 
Make note that seek support is in the works.

SVN-Revision: 3728

14 years agoRemove a comment that describes how libarchive 1.x used to work.
Tim Kientzle [Sat, 24 Sep 2011 03:53:39 +0000 (23:53 -0400)] 
Remove a comment that describes how libarchive 1.x used to work.
It's no longer even moderately interesting.

SVN-Revision: 3726

14 years agoFix the iconv probe and actually use the result.
Tim Kientzle [Fri, 23 Sep 2011 04:48:23 +0000 (00:48 -0400)] 
Fix the iconv probe and actually use the result.
Thiss fixes the autotool build on Mac OS X 10.6.

SVN-Revision: 3725

14 years agoIssue 185: Include the contributed Zip in the regression test,
Tim Kientzle [Tue, 20 Sep 2011 05:21:22 +0000 (01:21 -0400)] 
Issue 185:  Include the contributed Zip in the regression test,
include this and another recently added test file to the distribution
described by Makefile.am.

SVN-Revision: 3724

14 years agoMerge r3722 from trunk: Fixes extraction of Zip entries that use
Tim Kientzle [Mon, 19 Sep 2011 04:58:34 +0000 (00:58 -0400)] 
Merge r3722 from trunk:  Fixes extraction of Zip entries that use
length-at-end without specifying either the compressed or uncompressed
length.  In particular, fixes bsdtar extraction of such files.

SVN-Revision: 3723

14 years agoTest that archive_read_extract works correctly with Zip entries
Tim Kientzle [Mon, 19 Sep 2011 04:54:56 +0000 (00:54 -0400)] 
Test that archive_read_extract works correctly with Zip entries
that use length-at-end.

SVN-Revision: 3722

14 years agoSupport old Info-Zip 'UX' extension. (Needs test.)
Tim Kientzle [Mon, 19 Sep 2011 04:53:54 +0000 (00:53 -0400)] 
Support old Info-Zip 'UX' extension.  (Needs test.)

SVN-Revision: 3721

14 years agoPrint out the expected contents of a file
Tim Kientzle [Mon, 19 Sep 2011 04:52:29 +0000 (00:52 -0400)] 
Print out the expected contents of a file
for failing tests.

SVN-Revision: 3720

14 years agoMake untar.c build correctly with libarchive 3.0.
Tim Kientzle [Sun, 18 Sep 2011 21:50:00 +0000 (17:50 -0400)] 
Make untar.c build correctly with libarchive 3.0.

SVN-Revision: 3719

14 years agoRemove duplicate entry of -lxml2 in LIBS variable.
Andres Mejia [Sun, 18 Sep 2011 03:24:00 +0000 (23:24 -0400)] 
Remove duplicate entry of -lxml2 in LIBS variable.
Also fixes duplicate entry in libarchive.pc.

SVN-Revision: 3715

14 years agoRemove duplicate libraries in $LIBS variable.
Andres Mejia [Sun, 18 Sep 2011 03:13:58 +0000 (23:13 -0400)] 
Remove duplicate libraries in $LIBS variable.
Fixes duplicates that appear in libarchive.pc.

SVN-Revision: 3714

14 years agoBuild tar and cpio when both ENABLE_TAR and ENABLE_CPIO are OFF on CMake build system.
Michihiro NAKAJIMA [Thu, 15 Sep 2011 08:34:02 +0000 (04:34 -0400)] 
Build tar and cpio when both ENABLE_TAR and ENABLE_CPIO are OFF on CMake build system.

SVN-Revision: 3713

14 years agoFix style.
Michihiro NAKAJIMA [Wed, 14 Sep 2011 09:41:24 +0000 (05:41 -0400)] 
Fix style.

SVN-Revision: 3712

14 years agoWe cannot get proper an xml output from an earlier version of libxml.
Michihiro NAKAJIMA [Wed, 14 Sep 2011 09:34:26 +0000 (05:34 -0400)] 
We cannot get proper an xml output from an earlier version of libxml.
There may be a way to work around it, but right now I cannot find out how to.
I have to, therefore, disable the xar writer if libxlm version is less than 2.7.3,
which version Mac Snow Leopard has.

SVN-Revision: 3711

14 years agoSet explicit unused arguments in order to avoid several warnings about it, which...
Michihiro NAKAJIMA [Wed, 14 Sep 2011 08:58:16 +0000 (04:58 -0400)] 
Set explicit unused arguments in order to avoid several warnings about it, which some C compiler complain about.

SVN-Revision: 3710

14 years agoMake sure a local variable 'parent' is not NULL when access to its member.
Michihiro NAKAJIMA [Wed, 14 Sep 2011 07:41:17 +0000 (03:41 -0400)] 
Make sure a local variable 'parent' is not NULL when access to its member.

SVN-Revision: 3709

14 years agoRemove unused __la_chdir and related definitions in archive_windows.h.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 09:10:47 +0000 (05:10 -0400)] 
Remove unused __la_chdir and related definitions in archive_windows.h.

SVN-Revision: 3708

14 years agoErase \r from archive_read_support_format_mtree.c.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 09:00:39 +0000 (05:00 -0400)] 
Erase \r from archive_read_support_format_mtree.c.

SVN-Revision: 3707

14 years agoOn Windows, make sure an exit status is initialized in case something error happens
Michihiro NAKAJIMA [Tue, 13 Sep 2011 08:37:35 +0000 (04:37 -0400)] 
On Windows, make sure an exit status is initialized in case something error happens
and exit __la_waitpid before we normally invoke GetExitCodeProcess.

SVN-Revision: 3706

14 years agoAdd archive_read_disk_open_w that is a wchar_t version of archive_read_disk_open.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 08:20:15 +0000 (04:20 -0400)] 
Add archive_read_disk_open_w that is a wchar_t version of archive_read_disk_open.

SVN-Revision: 3705

14 years agoFix test_read_format_rar failure on Mac.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 08:04:42 +0000 (04:04 -0400)] 
Fix test_read_format_rar failure on Mac.

SVN-Revision: 3704

14 years agoFix a wrong memory allocation in converting NFC characters on Mac.
Michihiro NAKAJIMA [Mon, 12 Sep 2011 12:29:43 +0000 (08:29 -0400)] 
Fix a wrong memory allocation in converting NFC characters on Mac.

SVN-Revision: 3703

14 years agoIssue 182.
Michihiro NAKAJIMA [Mon, 12 Sep 2011 07:39:51 +0000 (03:39 -0400)] 
Issue 182.
Decide whether ZLIB_WINAPI is needed at configuration time, because there are two types of zlib
on Windows platform: one is built on Visual Studio, which requires ZLIB_WINAPI for use; other is
build on msys, which does not require ZLIB_WINAPI, GnuWin32 project provide such zlib.

SVN-Revision: 3702

14 years agoMore tweaks to mtree numeric range tests.
Tim Kientzle [Sun, 11 Sep 2011 18:38:39 +0000 (14:38 -0400)] 
More tweaks to mtree numeric range tests.

SVN-Revision: 3701

14 years agoCorrectly test the times on the very old files in the sample mtree.
Tim Kientzle [Sun, 11 Sep 2011 18:29:59 +0000 (14:29 -0400)] 
Correctly test the times on the very old files in the sample mtree.
Because time_t varies across platforms (32-bit, 64-bit, signed, and
unsigned), we can't just hard-code the expected value here, but we can
verify the that value returned is the oldest possible time_t value for
this platform.

SVN-Revision: 3700

14 years agoEnsure the returned 'time' value doesn't exceed the range of time_t on the
Tim Kientzle [Sun, 11 Sep 2011 17:23:50 +0000 (13:23 -0400)] 
Ensure the returned 'time' value doesn't exceed the range of time_t on the
local platform.

SVN-Revision: 3699

14 years agoUpdate comment.
Tim Kientzle [Sun, 11 Sep 2011 16:13:34 +0000 (12:13 -0400)] 
Update comment.

SVN-Revision: 3698

14 years agoNewer ZLib DLLs require ZLIB_WINAPI be defined.
Tim Kientzle [Sun, 11 Sep 2011 16:13:07 +0000 (12:13 -0400)] 
Newer ZLib DLLs require ZLIB_WINAPI be defined.

SVN-Revision: 3697

14 years agoAdd RAR SFX archive to test_fuzz.
Andres Mejia [Fri, 9 Sep 2011 14:45:49 +0000 (10:45 -0400)] 
Add RAR SFX archive to test_fuzz.

SVN-Revision: 3696

14 years agoAdd test case for RAR SFX archives.
Andres Mejia [Fri, 9 Sep 2011 14:45:12 +0000 (10:45 -0400)] 
Add test case for RAR SFX archives.

SVN-Revision: 3695

14 years agoAdd support for extracting a RAR SFX file.
Michihiro NAKAJIMA [Fri, 9 Sep 2011 04:29:25 +0000 (00:29 -0400)] 
Add support for extracting a RAR SFX file.

SVN-Revision: 3694

14 years agoFix build failure on Cygwin.
Michihiro NAKAJIMA [Thu, 8 Sep 2011 06:46:04 +0000 (02:46 -0400)] 
Fix build failure on Cygwin.

SVN-Revision: 3693

14 years agoFix issue 174.
Michihiro NAKAJIMA [Thu, 8 Sep 2011 06:18:18 +0000 (02:18 -0400)] 
Fix issue 174.
Correctly handle Windows style full-path names, which are
leading \\.\ or \\?\ or \\?\\UNC\ or \\?\Volume{GUID}\ or C:\,
in archive_write_disk_windows.c.

SVN-Revision: 3692

14 years agoRework the cpio readers and writers to not rely on structure
Tim Kientzle [Thu, 8 Sep 2011 05:11:02 +0000 (01:11 -0400)] 
Rework the cpio readers and writers to not rely on structure
alignment to read headers.

SVN-Revision: 3691

14 years agoCheck if the platform really supports crypto functions at the mtree writer
Michihiro NAKAJIMA [Wed, 7 Sep 2011 06:16:28 +0000 (02:16 -0400)] 
Check if the platform really supports crypto functions at the mtree writer
even if ARCHIVE_HAS_SHA* macros are defined, since Windows XP and earlier version
do not support some cyrpto functions.

SVN-Revision: 3690

14 years agoAvoid test_archive_sha384 and test_archive_sha512 failures on Windows XP, which does not
Michihiro NAKAJIMA [Wed, 7 Sep 2011 05:48:52 +0000 (01:48 -0400)] 
Avoid test_archive_sha384 and test_archive_sha512 failures on Windows XP, which does not
support both SHA384 and SHA512. We can only know that fact when that running time. And so
we should not depend on the compile conditions of crypto functions at our test suite.

SVN-Revision: 3689

14 years agoAdd support for RAR archives generated from BeOS machines.
Andres Mejia [Mon, 5 Sep 2011 17:09:06 +0000 (13:09 -0400)] 
Add support for RAR archives generated from BeOS machines.
I'm assuming RAR archives from BeOS use POSIX file attributes, based on looking
around in the Haiku distribution. I could not find or generate any RAR archives
from a BeOS/Haiku machine.

SVN-Revision: 3683

14 years agoSupport MAC OS generated RAR files.
Andres Mejia [Mon, 5 Sep 2011 16:28:32 +0000 (12:28 -0400)] 
Support MAC OS generated RAR files.
MAC OS generated RAR files use POSIX file attributes.

SVN-Revision: 3682

14 years agoEnable support for RAR files generated from MS-DOS and OS/2.
Andres Mejia [Mon, 5 Sep 2011 16:22:28 +0000 (12:22 -0400)] 
Enable support for RAR files generated from MS-DOS and OS/2.
Because file attributes in MS-DOS, OS/2, and Windows are similar, I am assuming
RAR archives generated from these three systems will use the same attributes. I
could not find or generate any test RAR archives for these cases.

SVN-Revision: 3681

14 years agoProvide basic test case for RAR files generated on Windows machines.
Andres Mejia [Mon, 5 Sep 2011 15:13:11 +0000 (11:13 -0400)] 
Provide basic test case for RAR files generated on Windows machines.

SVN-Revision: 3680

14 years agoRename lzx_br_read_ahead to lzx_br_read_ahead_0, and also rename
Michihiro NAKAJIMA [Mon, 5 Sep 2011 10:38:39 +0000 (06:38 -0400)] 
Rename lzx_br_read_ahead to lzx_br_read_ahead_0, and also rename
lzx_br_ensure to lzx_br_read_ahead so as to have the same meaning
to other bit readers.

SVN-Revision: 3679

14 years agoRename lzh_br_read_ahead, a bit reader macro, to lzh_br_read_ahead_0,
Michihiro NAKAJIMA [Mon, 5 Sep 2011 10:34:16 +0000 (06:34 -0400)] 
Rename lzh_br_read_ahead, a bit reader macro, to lzh_br_read_ahead_0,
and make a new lzh_br_read_ahead that that assures that there are enough
bits in the cache buffer.

SVN-Revision: 3678

14 years agoDo not calculate a next copy position unless it's really needed.
Michihiro NAKAJIMA [Mon, 5 Sep 2011 03:32:37 +0000 (23:32 -0400)] 
Do not calculate a next copy position unless it's really needed.

SVN-Revision: 3677

14 years agoExtend the tar test to verify that symlink and hardlink
Tim Kientzle [Sun, 4 Sep 2011 16:36:08 +0000 (12:36 -0400)] 
Extend the tar test to verify that symlink and hardlink
targets get properly rewritten by default.

Adjust the -s parser so that symlink and hardlink target
rewriting is enabled by default and the 's' or 'S' flags
disable both.

SVN-Revision: 3676

14 years agoLZX fotter-bits can take 17 bits, and so a bit reader should handle
Michihiro NAKAJIMA [Sun, 4 Sep 2011 09:08:25 +0000 (05:08 -0400)] 
LZX fotter-bits can take 17 bits, and so a bit reader should handle
over 16 bits in the bit stream.

SVN-Revision: 3674

14 years agoImprove decoding huffman code in both lha and cab reader.
Michihiro NAKAJIMA [Sun, 4 Sep 2011 07:16:39 +0000 (03:16 -0400)] 
Improve decoding huffman code in both lha and cab reader.
It's about 30% faster than previous version, and a total
extraction time is about 3% faster than previous version.

SVN-Revision: 3673

14 years agoTest integer parsing at the limits of 64-bit integers.
Tim Kientzle [Sat, 3 Sep 2011 18:22:57 +0000 (14:22 -0400)] 
Test integer parsing at the limits of 64-bit integers.

SVN-Revision: 3672

14 years agoRefactor the iconv probe by moving the repetitive try-compile
Tim Kientzle [Sat, 3 Sep 2011 18:01:33 +0000 (14:01 -0400)] 
Refactor the iconv probe by moving the repetitive try-compile
into a parametrized macro.

SVN-Revision: 3671

14 years agoLibarchive 2.8.5 v2.8.5
Tim Kientzle [Sat, 3 Sep 2011 16:20:07 +0000 (12:20 -0400)] 
Libarchive 2.8.5

SVN-Revision: 3670

14 years agoUse Nettle ripemd160 header and functions accepted into Nettle.
Andres Mejia [Fri, 2 Sep 2011 18:28:12 +0000 (14:28 -0400)] 
Use Nettle ripemd160 header and functions accepted into Nettle.

SVN-Revision: 3669

14 years agoIssue 178: compile issue on MSVC2010 with lzma support.
Michihiro NAKAJIMA [Thu, 1 Sep 2011 08:54:53 +0000 (04:54 -0400)] 
Issue 178: compile issue on MSVC2010 with lzma support.
Merge r2365 and r2367 from trunk.

SVN-Revision: 3668

14 years agoIssue 177: Fix --without-zlib compilation.
Michihiro NAKAJIMA [Thu, 1 Sep 2011 08:31:37 +0000 (04:31 -0400)] 
Issue 177: Fix --without-zlib compilation.

SVN-Revision: 3667

14 years agoIssue 176: Const-ify several static arrays.
Michihiro NAKAJIMA [Thu, 1 Sep 2011 08:25:09 +0000 (04:25 -0400)] 
Issue 176: Const-ify several static arrays.

SVN-Revision: 3666

14 years agoDelay a memory allocation for an output buffer at the xar reader
Michihiro NAKAJIMA [Wed, 31 Aug 2011 10:49:12 +0000 (06:49 -0400)] 
Delay a memory allocation for an output buffer at the xar reader
until it's really needed.

SVN-Revision: 3665

14 years agoAll type of LHa headers have a CRC16 value for a valid check to file contents
Michihiro NAKAJIMA [Wed, 31 Aug 2011 10:28:12 +0000 (06:28 -0400)] 
All type of LHa headers have a CRC16 value for a valid check to file contents
except early version of a level 0 header.

SVN-Revision: 3664

14 years agoIssue 175: Simplify filter bidding code.
Tim Kientzle [Wed, 31 Aug 2011 04:10:45 +0000 (00:10 -0400)] 
Issue 175: Simplify filter bidding code.

SVN-Revision: 3663

14 years agoRemove outdated definitions in archive_windows.h.
Michihiro NAKAJIMA [Sun, 28 Aug 2011 06:48:58 +0000 (02:48 -0400)] 
Remove outdated definitions in archive_windows.h.

SVN-Revision: 3662

14 years ago__archive_mktemp function should simply be in one file for maintenance, and so
Michihiro NAKAJIMA [Sun, 28 Aug 2011 06:38:41 +0000 (02:38 -0400)] 
__archive_mktemp function should simply be in one file for maintenance, and so
I migrated that of Windows implementation into archive_util.c.

SVN-Revision: 3661

14 years agoMigrate message digest functions on Windows into archive_crypto.c and
Michihiro NAKAJIMA [Sun, 28 Aug 2011 05:45:30 +0000 (01:45 -0400)] 
Migrate message digest functions on Windows into archive_crypto.c and
remove global function names, __la_hash_Init, __la_hash_Update and __la_hash_Final
since those are used only in archive_crypto.c.

SVN-Revision: 3660