]>
git.ipfire.org Git - thirdparty/libarchive.git/log
Michihiro NAKAJIMA [Thu, 9 Feb 2012 15:56:49 +0000 (00:56 +0900)]
Fix build failure in aggressive warnings
Michihiro NAKAJIMA [Thu, 9 Feb 2012 01:32:08 +0000 (10:32 +0900)]
If a zip archive file is corruped, the compression type can be negative and
it can cause a segfault.
Tim Kientzle [Tue, 24 Jan 2012 05:18:00 +0000 (00:18 -0500)]
Don't do direct comparison of timestamps that
are in local time.
SVN-Revision: 4198
Michihiro NAKAJIMA [Wed, 8 Feb 2012 23:45:22 +0000 (08:45 +0900)]
Fix build failure with -Wcast-qual GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 23:12:29 +0000 (08:12 +0900)]
Fix build failure with -Wmissing-prototypes GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 22:55:10 +0000 (07:55 +0900)]
Fix build failure with -Wshadow GCC option since it happend on FreeBSD current.
Michihiro NAKAJIMA [Wed, 8 Feb 2012 22:20:28 +0000 (07:20 +0900)]
Fix build failure with -Wextra -Wunused GCC options since it happend on FreeBSD current.
Michihiro NAKAJIMA [Mon, 30 Jan 2012 06:19:37 +0000 (01:19 -0500)]
Merged revision(s) 4216 from trunk:
Issue 236.
bsdtar creates invalid 7zip archives if there are no empty files.
SVN-Revision: 4217
Tim Kientzle [Tue, 24 Jan 2012 06:52:48 +0000 (01:52 -0500)]
Merge fix for Issue 226 from trunk.
SVN-Revision: 4203
Tim Kientzle [Tue, 24 Jan 2012 05:23:53 +0000 (00:23 -0500)]
Issue 225: The seeking Zip reader should fall back on
the filename to determine whether the current file
is a directory if there is not a POSIX mode value stored.
SVN-Revision: 4199
Michihiro NAKAJIMA [Thu, 19 Jan 2012 08:53:30 +0000 (03:53 -0500)]
Issue 224:Mishandling CD9660 images with RockRidge extensions from FreeBSD makefs.
Merge r4181 from trunk.
SVN-Revision: 4182
Tim Kientzle [Fri, 13 Jan 2012 05:32:07 +0000 (00:32 -0500)]
Libarchive 3.0.3
SVN-Revision: 4139
Tim Kientzle [Thu, 12 Jan 2012 06:46:14 +0000 (01:46 -0500)]
Merge r4085 from trunk: Simplify finalizing the file size when
writing files on Windows.
SVN-Revision: 4138
Michihiro NAKAJIMA [Wed, 11 Jan 2012 07:21:25 +0000 (02:21 -0500)]
Issue 223. Revise r4120 and merge r4122 from trunk.
SVN-Revision: 4123
Michihiro NAKAJIMA [Tue, 10 Jan 2012 23:11:02 +0000 (18:11 -0500)]
Issue 223. Merge from r4119 from trunk.
SVN-Revision: 4120
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
Tim Kientzle [Tue, 10 Jan 2012 07:11:46 +0000 (02:11 -0500)]
Merge from trunk: whitespace cleanup.
SVN-Revision: 4117
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
Tim Kientzle [Tue, 10 Jan 2012 07:05:12 +0000 (02:05 -0500)]
Merge from trunk: always-true comparison.
SVN-Revision: 4115
Tim Kientzle [Tue, 10 Jan 2012 07:04:23 +0000 (02:04 -0500)]
Merge from trunk: Minor compiler warning cleanup.
SVN-Revision: 4114
Tim Kientzle [Tue, 10 Jan 2012 07:01:29 +0000 (02:01 -0500)]
Record already-merged changes.
SVN-Revision: 4113
Tim Kientzle [Tue, 10 Jan 2012 06:48:26 +0000 (01:48 -0500)]
Record already-merged change.
SVN-Revision: 4112
Tim Kientzle [Tue, 10 Jan 2012 06:44:41 +0000 (01:44 -0500)]
Record already-merged changes.
SVN-Revision: 4111
Tim Kientzle [Tue, 10 Jan 2012 06:42:09 +0000 (01:42 -0500)]
Merge spelling fixes from trunk.
SVN-Revision: 4110
Tim Kientzle [Tue, 10 Jan 2012 06:40:42 +0000 (01:40 -0500)]
Record already-merged change.
SVN-Revision: 4109
Tim Kientzle [Tue, 10 Jan 2012 06:38:49 +0000 (01:38 -0500)]
Record already-merged changes.
SVN-Revision: 4108
Tim Kientzle [Tue, 10 Jan 2012 04:53:50 +0000 (23:53 -0500)]
Merge r4106 to fix Issue 221.
SVN-Revision: 4107
Michihiro NAKAJIMA [Mon, 9 Jan 2012 04:30:31 +0000 (23:30 -0500)]
Merge r4097 from trunk.
SVN-Revision: 4100
Tim Kientzle [Sun, 8 Jan 2012 00:47:52 +0000 (19:47 -0500)]
Merge Ulrich Spoerlein's spelling fixes from trunk.
SVN-Revision: 4095
Tim Kientzle [Sat, 31 Dec 2011 18:54:34 +0000 (13:54 -0500)]
Merge r4050 from trunk to fix Issue 212.
SVN-Revision: 4051
Tim Kientzle [Fri, 30 Dec 2011 23:51:15 +0000 (18:51 -0500)]
Merge r4047 from trunk to fix Issue 218.
SVN-Revision: 4048
Tim Kientzle [Fri, 30 Dec 2011 21:56:37 +0000 (16:56 -0500)]
Merge r4045 from trunk to fix Issue 217.
SVN-Revision: 4046
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
Tim Kientzle [Fri, 30 Dec 2011 06:54:03 +0000 (01:54 -0500)]
Issue 214: Don't require MNT_NOATIME
SVN-Revision: 4038
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
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
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
Michihiro NAKAJIMA [Wed, 28 Dec 2011 17:00:43 +0000 (12:00 -0500)]
Issue 210. Merge from r4022 from trunk.
SVN-Revision: 4023
Michihiro NAKAJIMA [Wed, 28 Dec 2011 16:41:32 +0000 (11:41 -0500)]
Issue 206. Merge from r4020 from trunk.
SVN-Revision: 4021
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
Michihiro NAKAJIMA [Mon, 26 Dec 2011 23:44:19 +0000 (18:44 -0500)]
Issue 204: Merge r4014 from trunk.
SVN-Revision: 4015
Michihiro NAKAJIMA [Mon, 26 Dec 2011 20:15:28 +0000 (15:15 -0500)]
Set CMAKE_BUILD_TYPE to "Release".
SVN-Revision: 4013
Michihiro NAKAJIMA [Mon, 26 Dec 2011 19:22:48 +0000 (14:22 -0500)]
Merge r4011 from trunk.
SVN-Revision: 4012
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
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
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
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
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
Tim Kientzle [Sat, 24 Dec 2011 18:09:50 +0000 (13:09 -0500)]
Version number updates propagated by the release scripts.
SVN-Revision: 3986
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
Tim Kientzle [Sat, 24 Dec 2011 17:49:14 +0000 (12:49 -0500)]
Libarchive 3.0
SVN-Revision: 3983
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
Tim Kientzle [Sat, 24 Dec 2011 03:44:05 +0000 (22:44 -0500)]
Put BUGS section at end, following mdoc conventions.
SVN-Revision: 3975
Tim Kientzle [Sat, 24 Dec 2011 03:42:00 +0000 (22:42 -0500)]
.Dt titles are traditionally in all uppercase
SVN-Revision: 3974
Tim Kientzle [Sat, 24 Dec 2011 03:37:10 +0000 (22:37 -0500)]
Use the preferred spelling of FreeBSD.org.
SVN-Revision: 3973
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
Michihiro NAKAJIMA [Fri, 23 Dec 2011 00:19:37 +0000 (19:19 -0500)]
Add support for symlink to ZIP writer.
SVN-Revision: 3966
Michihiro NAKAJIMA [Thu, 22 Dec 2011 21:55:48 +0000 (16:55 -0500)]
Style fix.
SVN-Revision: 3965
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
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
Michihiro NAKAJIMA [Thu, 22 Dec 2011 15:19:35 +0000 (10:19 -0500)]
Fix a memory leak.
SVN-Revision: 3962
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
Michihiro NAKAJIMA [Thu, 22 Dec 2011 11:54:24 +0000 (06:54 -0500)]
Add and update some comments.
SVN-Revision: 3960
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
Tim Kientzle [Thu, 22 Dec 2011 06:19:39 +0000 (01:19 -0500)]
Include the new test file in the distribution.
SVN-Revision: 3958
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
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
Tim Kientzle [Thu, 22 Dec 2011 05:47:08 +0000 (00:47 -0500)]
Correct a comment.
SVN-Revision: 3955
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
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
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
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
Michihiro NAKAJIMA [Mon, 19 Dec 2011 23:30:59 +0000 (18:30 -0500)]
Add support for PPMd to 7-Zip writer.
SVN-Revision: 3950
Michihiro NAKAJIMA [Mon, 19 Dec 2011 20:10:27 +0000 (15:10 -0500)]
Remove unnecessary including files.
SVN-Revision: 3949
Michihiro NAKAJIMA [Mon, 19 Dec 2011 19:31:52 +0000 (14:31 -0500)]
Avoid a warning on Windows.
SVN-Revision: 3948
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
Michihiro NAKAJIMA [Mon, 19 Dec 2011 10:11:52 +0000 (05:11 -0500)]
Fix build failure without zlib.
SVN-Revision: 3946
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
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
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
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
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
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
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
Tim Kientzle [Sun, 18 Dec 2011 18:56:58 +0000 (13:56 -0500)]
Improve mtree error handling.
SVN-Revision: 3938
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
Michihiro NAKAJIMA [Sun, 18 Dec 2011 12:10:43 +0000 (07:10 -0500)]
Fix typo.
SVN-Revision: 3936
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
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
Michihiro NAKAJIMA [Sat, 17 Dec 2011 19:27:11 +0000 (14:27 -0500)]
Correctly handle symbolic files in 7-Zip archives.
SVN-Revision: 3933
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
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
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
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
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
Tim Kientzle [Sat, 17 Dec 2011 07:21:53 +0000 (02:21 -0500)]
In autoconf configure, probe OpenSSL first, then libmd.
SVN-Revision: 3927
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
Michihiro NAKAJIMA [Thu, 15 Dec 2011 08:59:58 +0000 (03:59 -0500)]
Remove an unneeded variable.
SVN-Revision: 3925
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
Michihiro NAKAJIMA [Wed, 14 Dec 2011 05:23:51 +0000 (00:23 -0500)]
Update comments.
SVN-Revision: 3923