]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
13 years agoIssue 223. Merge from r4119 from trunk.
Michihiro NAKAJIMA [Tue, 10 Jan 2012 23:11:02 +0000 (18:11 -0500)] 
Issue 223. Merge from r4119 from trunk.

SVN-Revision: 4120

13 years agoMerge fixes for Issue 222 from trunk: Write entry data correctly
Tim Kientzle [Tue, 10 Jan 2012 07:17:48 +0000 (02:17 -0500)] 
Merge fixes for Issue 222 from trunk:  Write entry data correctly
when writing sparse files to Pax archives using GNU tar 1.0 sparse format.

SVN-Revision: 4118

13 years agoMerge from trunk: whitespace cleanup.
Tim Kientzle [Tue, 10 Jan 2012 07:11:46 +0000 (02:11 -0500)] 
Merge from trunk: whitespace cleanup.

SVN-Revision: 4117

13 years agoMerge from trunk: Allow building on systems that lack PATH_MAX definition.
Tim Kientzle [Tue, 10 Jan 2012 07:10:05 +0000 (02:10 -0500)] 
Merge from trunk: Allow building on systems that lack PATH_MAX definition.

SVN-Revision: 4116

13 years agoMerge from trunk: always-true comparison.
Tim Kientzle [Tue, 10 Jan 2012 07:05:12 +0000 (02:05 -0500)] 
Merge from trunk: always-true comparison.

SVN-Revision: 4115

13 years agoMerge from trunk: Minor compiler warning cleanup.
Tim Kientzle [Tue, 10 Jan 2012 07:04:23 +0000 (02:04 -0500)] 
Merge from trunk:  Minor compiler warning cleanup.

SVN-Revision: 4114

13 years agoRecord already-merged changes.
Tim Kientzle [Tue, 10 Jan 2012 07:01:29 +0000 (02:01 -0500)] 
Record already-merged changes.

SVN-Revision: 4113

13 years agoRecord already-merged change.
Tim Kientzle [Tue, 10 Jan 2012 06:48:26 +0000 (01:48 -0500)] 
Record already-merged change.

SVN-Revision: 4112

13 years agoRecord already-merged changes.
Tim Kientzle [Tue, 10 Jan 2012 06:44:41 +0000 (01:44 -0500)] 
Record already-merged changes.

SVN-Revision: 4111

13 years agoMerge spelling fixes from trunk.
Tim Kientzle [Tue, 10 Jan 2012 06:42:09 +0000 (01:42 -0500)] 
Merge spelling fixes from trunk.

SVN-Revision: 4110

13 years agoRecord already-merged change.
Tim Kientzle [Tue, 10 Jan 2012 06:40:42 +0000 (01:40 -0500)] 
Record already-merged change.

SVN-Revision: 4109

13 years agoRecord already-merged changes.
Tim Kientzle [Tue, 10 Jan 2012 06:38:49 +0000 (01:38 -0500)] 
Record already-merged changes.

SVN-Revision: 4108

13 years agoMerge r4106 to fix Issue 221.
Tim Kientzle [Tue, 10 Jan 2012 04:53:50 +0000 (23:53 -0500)] 
Merge r4106 to fix Issue 221.

SVN-Revision: 4107

13 years agoMerge r4097 from trunk.
Michihiro NAKAJIMA [Mon, 9 Jan 2012 04:30:31 +0000 (23:30 -0500)] 
Merge r4097 from trunk.

SVN-Revision: 4100

13 years agoMerge Ulrich Spoerlein's spelling fixes from trunk.
Tim Kientzle [Sun, 8 Jan 2012 00:47:52 +0000 (19:47 -0500)] 
Merge Ulrich Spoerlein's spelling fixes from trunk.

SVN-Revision: 4095

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

SVN-Revision: 3983

13 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

13 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

13 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

13 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

13 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

13 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

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

SVN-Revision: 3965

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

SVN-Revision: 3955

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

SVN-Revision: 3936

13 years agoDo not assume that even if __STDC_ISO_10646__ is defined UTF-8 characters can
Michihiro NAKAJIMA [Sun, 18 Dec 2011 10:06:40 +0000 (05:06 -0500)] 
Do not assume that even if __STDC_ISO_10646__ is defined UTF-8 characters can
be converted to Wide characters(wchar_t) without success of setlocale(LANG, "en_US.UTF-8").

SVN-Revision: 3935

13 years agoIf a file type is directory, make sure the tail of the file name is '/'.
Michihiro NAKAJIMA [Sun, 18 Dec 2011 09:51:55 +0000 (04:51 -0500)] 
If a file type is directory, make sure the tail of the file name is '/'.

SVN-Revision: 3934

13 years agoCorrectly handle symbolic files in 7-Zip archives.
Michihiro NAKAJIMA [Sat, 17 Dec 2011 19:27:11 +0000 (14:27 -0500)] 
Correctly handle symbolic files in 7-Zip archives.

SVN-Revision: 3933

13 years agoAdjust a 7zip test to the change of r3929.
Michihiro NAKAJIMA [Sat, 17 Dec 2011 19:20:49 +0000 (14:20 -0500)] 
Adjust a 7zip test to the change of r3929.

SVN-Revision: 3932

13 years agoInclude some basic notes about RAR format support in libarchive.
Andres Mejia [Sat, 17 Dec 2011 18:09:54 +0000 (13:09 -0500)] 
Include some basic notes about RAR format support in libarchive.

SVN-Revision: 3931

13 years agoSlightly improve robustness against currupted 7-Zip archive files.
Michihiro NAKAJIMA [Sat, 17 Dec 2011 18:01:00 +0000 (13:01 -0500)] 
Slightly improve robustness against currupted 7-Zip archive files.

SVN-Revision: 3930

13 years agoThe High 16 bytes of attributes is a posix file mode. so we can get a proper file...
Michihiro NAKAJIMA [Sat, 17 Dec 2011 17:52:06 +0000 (12:52 -0500)] 
The High 16 bytes of attributes is a posix file mode. so we can get a proper file mode from 7-Zip archive files.

SVN-Revision: 3929

13 years agoRework the crypto probe to check a list of algorithms for
Tim Kientzle [Sat, 17 Dec 2011 07:38:11 +0000 (02:38 -0500)] 
Rework the crypto probe to check a list of algorithms for
a single library, rather than a list of libraries for each algorithm.
Use this to order libmd to be checked after OpenSSL/libcrypto.

SVN-Revision: 3928

13 years agoIn autoconf configure, probe OpenSSL first, then libmd.
Tim Kientzle [Sat, 17 Dec 2011 07:21:53 +0000 (02:21 -0500)] 
In autoconf configure, probe OpenSSL first, then libmd.

SVN-Revision: 3927

13 years agoDon't use libmd and OpenSSL at the same time; they
Tim Kientzle [Sat, 17 Dec 2011 07:17:23 +0000 (02:17 -0500)] 
Don't use libmd and OpenSSL at the same time; they
provide conflicting definitions for SHA512 symbols.

SVN-Revision: 3926

13 years agoRemove an unneeded variable.
Michihiro NAKAJIMA [Thu, 15 Dec 2011 08:59:58 +0000 (03:59 -0500)] 
Remove an unneeded variable.

SVN-Revision: 3925

13 years agoEnable 7-Zip reader to handle both BCJ and BCJ2 with all encoding types.
Michihiro NAKAJIMA [Wed, 14 Dec 2011 17:45:12 +0000 (12:45 -0500)] 
Enable 7-Zip reader to handle both BCJ and BCJ2 with all encoding types.

SVN-Revision: 3924

13 years agoUpdate comments.
Michihiro NAKAJIMA [Wed, 14 Dec 2011 05:23:51 +0000 (00:23 -0500)] 
Update comments.

SVN-Revision: 3923

13 years agoFix typo. s/reamining/remaining/g
Michihiro NAKAJIMA [Wed, 14 Dec 2011 05:06:37 +0000 (00:06 -0500)] 
Fix typo. s/reamining/remaining/g

SVN-Revision: 3922

13 years agoAllocate memory for an extracted sub-stream before extracting it because we already...
Michihiro NAKAJIMA [Wed, 14 Dec 2011 05:02:25 +0000 (00:02 -0500)] 
Allocate memory for an extracted sub-stream before extracting it because we already know the size.

SVN-Revision: 3921

13 years agoMore mode_t fallout from Solaris
Joerg Sonnenberger [Wed, 14 Dec 2011 00:24:48 +0000 (19:24 -0500)] 
More mode_t fallout from Solaris

SVN-Revision: 3920

13 years agoCast explicit to u_int to appeace gcc
Joerg Sonnenberger [Wed, 14 Dec 2011 00:14:13 +0000 (19:14 -0500)] 
Cast explicit to u_int to appeace gcc

SVN-Revision: 3919

13 years agoProperly check if EXT2_IOC_GETFLAGS is actually usable.
Joerg Sonnenberger [Tue, 13 Dec 2011 23:07:17 +0000 (18:07 -0500)] 
Properly check if EXT2_IOC_GETFLAGS is actually usable.
OpenIndiana likes to install e2fsprogs, but doesn't provide a working
ioctl.

SVN-Revision: 3918

13 years agoFix compiler warning "array subscript is above array bounds."
Andres Mejia [Tue, 13 Dec 2011 18:43:48 +0000 (13:43 -0500)] 
Fix compiler warning "array subscript is above array bounds."

SVN-Revision: 3917

13 years agoImprove RAR SFX archives detection; RAR reader can detect ELF file's SFX.
Michihiro NAKAJIMA [Tue, 13 Dec 2011 12:46:11 +0000 (07:46 -0500)] 
Improve RAR SFX archives detection; RAR reader can detect ELF file's SFX.

SVN-Revision: 3916

13 years agoImprove 7-Zip SFX archives detection; 7-Zip reader can detect ELF file's SFX.
Michihiro NAKAJIMA [Tue, 13 Dec 2011 12:27:58 +0000 (07:27 -0500)] 
Improve 7-Zip SFX archives detection; 7-Zip reader can detect ELF file's SFX.

SVN-Revision: 3915

13 years agoAvoid build failure on llvm.
Michihiro NAKAJIMA [Tue, 13 Dec 2011 05:57:15 +0000 (00:57 -0500)] 
Avoid build failure on llvm.

SVN-Revision: 3914

13 years agoAdd BCJ2 sample files to Makefile.am
Michihiro NAKAJIMA [Tue, 13 Dec 2011 05:32:34 +0000 (00:32 -0500)] 
Add BCJ2 sample files to Makefile.am

SVN-Revision: 3913

13 years agoAdd BCJ2 support to 7-Zip reader.
Michihiro NAKAJIMA [Tue, 13 Dec 2011 05:26:18 +0000 (00:26 -0500)] 
Add BCJ2 support to 7-Zip reader.

SVN-Revision: 3912

13 years agoDo not refer an uninitialized or empty symlink name.
Michihiro NAKAJIMA [Mon, 12 Dec 2011 02:38:42 +0000 (21:38 -0500)] 
Do not refer an uninitialized or empty symlink name.

SVN-Revision: 3909

13 years agoIf decompression has failed, do not return any bytes.
Michihiro NAKAJIMA [Mon, 12 Dec 2011 02:18:24 +0000 (21:18 -0500)] 
If decompression has failed, do not return any bytes.

SVN-Revision: 3908

13 years agoRefactor the code handling of the decompression of 7-Zip reader.
Michihiro NAKAJIMA [Sun, 11 Dec 2011 14:45:28 +0000 (09:45 -0500)] 
Refactor the code handling of the decompression of 7-Zip reader.
 * When decompressing a header, use the same function as decompressing the file contents as much as possible.
 * Change the interface of decompression function so that it cloud be relatively easy to support BCJ2 or
   Decryption.
 * Remove an unused variable, entry_uncompressed_bytes_read.
 * Rename some variables to be easily understanding for what to be used.
 * Set a clear message about encrypted header and file contents, which 7-Zip reader currently does not support.
 * Slightly reduce the amount of memory for a header.

SVN-Revision: 3907