]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
12 years agoChange how seek support in stored RARs are handled.
Andres Mejia [Sun, 27 Jan 2013 16:31:02 +0000 (11:31 -0500)] 
Change how seek support in stored RARs are handled.
This fixes various test cases when seeking is used.

12 years agoAdd checks for proper return value reading past EOF in RAR archives.
Andres Mejia [Sat, 26 Jan 2013 17:01:13 +0000 (12:01 -0500)] 
Add checks for proper return value reading past EOF in RAR archives.

12 years agoFix check for EOF in RAR format reader.
Andres Mejia [Sat, 26 Jan 2013 17:00:38 +0000 (12:00 -0500)] 
Fix check for EOF in RAR format reader.

12 years agoFix build failure when doing normal builds.
Andres Mejia [Sat, 26 Jan 2013 03:43:17 +0000 (22:43 -0500)] 
Fix build failure when doing normal builds.
These are builds done running a standard './configure && make'. This
will also fix a corner case where the whence is set to anything other than
SEEK_SET, SEEK_CUR, or SEEK_END. The behavior is to use SEEK_SET by default.

12 years agoUpdate RAR test case to expect correct results from calls to archive_read_data().
Andres Mejia [Sat, 26 Jan 2013 03:03:04 +0000 (22:03 -0500)] 
Update RAR test case to expect correct results from calls to archive_read_data().

12 years agoGive formats/filters way to know data amount requested from archive_read_data().
Andres Mejia [Sat, 26 Jan 2013 03:01:56 +0000 (22:01 -0500)] 
Give formats/filters way to know data amount requested from archive_read_data().

12 years agoFix broken RAR seek support.
Andres Mejia [Sat, 26 Jan 2013 01:57:48 +0000 (20:57 -0500)] 
Fix broken RAR seek support.
Using SEEK_CUR or SEEK_END produced the wrong results, SEEK_SET was
fine however. Note that archive_read_data() doesn't function exactly
as POSIX read. Currently, downstreams will have to check the current
file position after after call to archive_read_data() if they are
to use SEEK_CUR afterwards.

12 years agoFix check for compression method in rar seek method.
Andres Mejia [Tue, 22 Jan 2013 04:32:49 +0000 (23:32 -0500)] 
Fix check for compression method in rar seek method.

12 years agoReenable developer CFLAGS.
Andres Mejia [Mon, 14 Jan 2013 05:24:25 +0000 (00:24 -0500)] 
Reenable developer CFLAGS.

12 years agoUpdate libarchive to 3.1.1. v3.1.1
Andres Mejia [Mon, 14 Jan 2013 04:43:04 +0000 (23:43 -0500)] 
Update libarchive to 3.1.1.

12 years agoBump soname major version in CMakeLists.txt.
Andres Mejia [Mon, 14 Jan 2013 04:30:57 +0000 (23:30 -0500)] 
Bump soname major version in CMakeLists.txt.

12 years agoFix formatting from build/bump-version.sh for NEWS file.
Andres Mejia [Mon, 14 Jan 2013 04:29:48 +0000 (23:29 -0500)] 
Fix formatting from build/bump-version.sh for NEWS file.

12 years agoAdd notes on how to make a new release of libarchive for developers.
Andres Mejia [Mon, 14 Jan 2013 04:25:40 +0000 (23:25 -0500)] 
Add notes on how to make a new release of libarchive for developers.

12 years agoRemove developer CFLAGS if a release build is to be made. v3.1.0
Andres Mejia [Mon, 14 Jan 2013 01:36:50 +0000 (20:36 -0500)] 
Remove developer CFLAGS if a release build is to be made.

12 years agoBump soname major version to 13.
Andres Mejia [Mon, 14 Jan 2013 00:57:49 +0000 (19:57 -0500)] 
Bump soname major version to 13.

12 years agoBump version to 3.1.0 due to API/ABI changes.
Andres Mejia [Mon, 14 Jan 2013 00:52:07 +0000 (19:52 -0500)] 
Bump version to 3.1.0 due to API/ABI changes.

12 years agoAdd generated release zip files to .gitignore.
Andres Mejia [Sun, 13 Jan 2013 23:57:48 +0000 (18:57 -0500)] 
Add generated release zip files to .gitignore.

12 years agoUpdate configure script and header files to new libarchive version.
Andres Mejia [Sun, 13 Jan 2013 23:55:19 +0000 (18:55 -0500)] 
Update configure script and header files to new libarchive version.

12 years agoUpdate NEWS entries for release of libarchive 3.0.5.
Andres Mejia [Sun, 13 Jan 2013 23:27:09 +0000 (18:27 -0500)] 
Update NEWS entries for release of libarchive 3.0.5.

12 years agoBump libarchive version to 3.0.5.
Andres Mejia [Sun, 13 Jan 2013 23:02:44 +0000 (18:02 -0500)] 
Bump libarchive version to 3.0.5.

12 years agoMerge remote-tracking branch 'libarchive/release' into libarchive-master
Andres Mejia [Sun, 13 Jan 2013 22:49:25 +0000 (17:49 -0500)] 
Merge remote-tracking branch 'libarchive/release' into libarchive-master

12 years agoRemove comment and fix failure message to indicate gzip is expected.
Andres Mejia [Sun, 13 Jan 2013 21:53:26 +0000 (16:53 -0500)] 
Remove comment and fix failure message to indicate gzip is expected.

12 years agoMerge pull request #31 from bamiaux/fix_gunzip_test
Andres Mejia [Sun, 13 Jan 2013 21:52:21 +0000 (13:52 -0800)] 
Merge pull request #31 from bamiaux/fix_gunzip_test

Fix test_read_append_filter_program

12 years agoFix test_read_append_filter_program 31/head
Benoît Amiaux [Thu, 3 Jan 2013 18:12:00 +0000 (19:12 +0100)] 
Fix test_read_append_filter_program

canGzip() tests for "gzip -d" then try to use gunzip.
On some systems, gzip is available while gunzip is not.
Use gzip -d as this is what we are looking for

12 years agoStyle: Whitespace around '='
Tim Kientzle [Mon, 24 Dec 2012 20:54:09 +0000 (12:54 -0800)] 
Style: Whitespace around '='

12 years agoFix issue 293; plug memory leaks.
Michihiro NAKAJIMA [Tue, 18 Dec 2012 22:31:10 +0000 (07:31 +0900)] 
Fix issue 293; plug memory leaks.

12 years agoFix test failure without liblzma.
Michihiro NAKAJIMA [Sun, 16 Dec 2012 00:21:14 +0000 (09:21 +0900)] 
Fix test failure without liblzma.

12 years agoFix memory overflow.
Michihiro NAKAJIMA [Sat, 15 Dec 2012 23:40:05 +0000 (08:40 +0900)] 
Fix memory overflow.

12 years agoFix test failure without zlib.
Michihiro NAKAJIMA [Sat, 15 Dec 2012 23:19:09 +0000 (08:19 +0900)] 
Fix test failure without zlib.

12 years agoFix build failure without zlib.
Michihiro NAKAJIMA [Sat, 15 Dec 2012 23:01:37 +0000 (08:01 +0900)] 
Fix build failure without zlib.

12 years agoAdd tests for archive_write_add_filter_by_name.
Michihiro NAKAJIMA [Mon, 10 Dec 2012 09:39:53 +0000 (18:39 +0900)] 
Add tests for archive_write_add_filter_by_name.

12 years agoAdd tests for archive_write_set_format_by_name.
Michihiro NAKAJIMA [Mon, 10 Dec 2012 03:39:14 +0000 (12:39 +0900)] 
Add tests for archive_write_set_format_by_name.

12 years agoFixup paths to reference files in Makefile.am.
Andres Mejia [Sun, 9 Dec 2012 19:43:28 +0000 (14:43 -0500)] 
Fixup paths to reference files in Makefile.am.

12 years agoMerge pull request #23 from amejia1/set-format
Tim Kientzle [Sun, 9 Dec 2012 19:02:55 +0000 (11:02 -0800)] 
Merge pull request #23 from amejia1/set-format

Manually set format and filters

12 years agoSeparate code to set formats/filters into different source files. 23/head
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.

12 years agoImplement functions to manually set the format and filters used.
Andres Mejia [Sat, 22 Sep 2012 22:43:23 +0000 (18:43 -0400)] 
Implement functions to manually set the format and filters used.

12 years agoImplement command to test if commands are available in the current platform.
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.

12 years agoFix build failure without XATTR support on Mac.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 23:26:37 +0000 (08:26 +0900)] 
Fix build failure without XATTR support on Mac.

12 years agoPlug address space leaks on Windows.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 11:25:48 +0000 (20:25 +0900)] 
Plug address space leaks on Windows.

12 years agoFix build failure on Visutal Studio on Win32.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 11:02:52 +0000 (20:02 +0900)] 
Fix build failure on Visutal Studio on Win32.

12 years agoSplit test_read_truncated_filter to know what compression fails easily.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 10:21:12 +0000 (19:21 +0900)] 
Split test_read_truncated_filter to know what compression fails easily.

12 years agoFix issue 257. Revise zip header offsets for reading SFX.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 05:59:18 +0000 (14:59 +0900)] 
Fix issue 257. Revise zip header offsets for reading SFX.

12 years agoAvoid arithmetic overflow warning(C6297) found by Visual studio
Michihiro NAKAJIMA [Mon, 3 Dec 2012 03:51:29 +0000 (12:51 +0900)] 
Avoid arithmetic overflow warning(C6297) found by Visual studio
static analysis.

12 years agoUse a proper structure for a test for gnutar header.
Michihiro NAKAJIMA [Mon, 3 Dec 2012 03:36:06 +0000 (12:36 +0900)] 
Use a proper structure for a test for gnutar header.

12 years agoSplit test_read_format_7zip by a compression type in order to test
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.

12 years agoSplit test_fuzz by a format type in order to test a specific format 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.

12 years agoSeparate test_write_format_7zip.c into three files.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 22:34:06 +0000 (07:34 +0900)] 
Separate test_write_format_7zip.c into three files.

12 years agoIssue 269. Stop using deprecated functions in example source code.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 12:34:24 +0000 (21:34 +0900)] 
Issue 269. Stop using deprecated functions in example source code.

12 years agoFix memory leaks in pax writer when handing mac metadata.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 12:08:39 +0000 (21:08 +0900)] 
Fix memory leaks in pax writer when handing mac metadata.

12 years agoFix the potential for a buffer underflow.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 11:30:49 +0000 (20:30 +0900)] 
Fix the potential for a buffer underflow.

12 years agoFix a null pointer dereference bug in zip writer.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 11:20:50 +0000 (20:20 +0900)] 
Fix a null pointer dereference bug in zip writer.

12 years agoSplit a test for 7-Zip writer into seven tests to know easily what
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.

12 years agoFix a null pointer dereference bug in ar writer.
Michihiro NAKAJIMA [Sun, 2 Dec 2012 10:53:27 +0000 (19:53 +0900)] 
Fix a null pointer dereference bug in ar writer.

12 years agoFix a bug in 7zip writer that the writer cannot correctly handle
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.

12 years agoTweak a comment.
Tim Kientzle [Sat, 1 Dec 2012 05:56:32 +0000 (21:56 -0800)] 
Tweak a comment.

12 years agoFix util.c compile, remove extraneous NULL check.
Tim Kientzle [Sat, 1 Dec 2012 05:48:48 +0000 (21:48 -0800)] 
Fix util.c compile, remove extraneous NULL check.

12 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Sat, 1 Dec 2012 05:40:02 +0000 (21:40 -0800)] 
Merge branch 'master' of github.com:libarchive/libarchive

12 years agoDo not return "Unknown module name" error when a format name matches
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.

12 years agoFix bugs in test programs which Clang Static Analyzer pointed out.
Michihiro NAKAJIMA [Wed, 14 Nov 2012 07:10:40 +0000 (16:10 +0900)] 
Fix bugs in test programs which Clang Static Analyzer pointed out.

12 years agoFix build failure without HAVE_UTIMES.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 11:31:08 +0000 (20:31 +0900)] 
Fix build failure without HAVE_UTIMES.

12 years agoFix test failure without zlib.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 11:24:33 +0000 (20:24 +0900)] 
Fix test failure without zlib.

12 years agoFix build failure without zlib.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:59:13 +0000 (19:59 +0900)] 
Fix build failure without zlib.

12 years agoFix build failure on linux.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:54:24 +0000 (19:54 +0900)] 
Fix build failure on linux.

12 years agoFix a bug that Clang Static Analyzer complains that
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".

12 years agoPlug a memory leak.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 10:23:28 +0000 (19:23 +0900)] 
Plug a memory leak.

12 years agoFix build failure on FreeBSD.
Michihiro NAKAJIMA [Sun, 11 Nov 2012 09:39:07 +0000 (18:39 +0900)] 
Fix build failure on FreeBSD.

12 years agoAdd support for __MACOSX directory in Zip archives, which resource
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.

12 years agoFix build failure without zlib and liblzo.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 11:32:26 +0000 (20:32 +0900)] 
Fix build failure without zlib and liblzo.

12 years agoIncrease the number of data bytes reading from the tail of
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.

12 years agoFix build failure with zlib on Win64.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 07:20:59 +0000 (16:20 +0900)] 
Fix build failure with zlib on Win64.

12 years agoFix test failure on Windows. A '\' is a path separater on Windows.
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.

12 years agoFix build failure on Win64.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 06:25:47 +0000 (15:25 +0900)] 
Fix build failure on Win64.

12 years agoAdd support for TAR_WRITE_OPTIONS and TAR_READ_OPTIONS environmment
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.

12 years agoUse memcmp to check null bytes for iso9660 bidder to improve
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.

12 years agoFix style. No functional changes.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 21:49:01 +0000 (06:49 +0900)] 
Fix style. No functional changes.

12 years agoFix issue 271; Handle the central directory including a zip comment.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 11:20:38 +0000 (20:20 +0900)] 
Fix issue 271; Handle the central directory including a zip comment.

12 years agoMerge pull request #29 from travitch/archive-read-open-file-fix
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

12 years agoRemove debug code for HFS+ compresison.
Michihiro NAKAJIMA [Mon, 5 Nov 2012 23:17:03 +0000 (08:17 +0900)] 
Remove debug code for HFS+ compresison.

12 years agoDo not directly copy mac metadata to the data fork file if the file
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.

12 years agoCancel HFS+ compression if the compressed size is not enouph small.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 06:21:48 +0000 (15:21 +0900)] 
Cancel HFS+ compression if the compressed size is not enouph small.

12 years agoFix an error test on the result from fread 29/head
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.

12 years agoImprove a test for HFS+ Compression.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 00:42:02 +0000 (09:42 +0900)] 
Improve a test for HFS+ Compression.

12 years agoCorrect the location the resource fork footer is added.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 00:12:09 +0000 (09:12 +0900)] 
Correct the location the resource fork footer is added.

12 years agoIf a restoring file name begins with "._" and its form is
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.

12 years agoUse mkstemp rather than tempnam for security.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:50:05 +0000 (05:50 +0900)] 
Use mkstemp rather than tempnam for security.

12 years agoChange compiling conditions for support for HFS+ Compression
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.

12 years agoIgnore .DS_Store made by Finder on MacOS X.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:20:49 +0000 (05:20 +0900)] 
Ignore .DS_Store made by Finder on MacOS X.

12 years agoDo not process HFS+ compression if the file name begins with "._".
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:53:57 +0000 (20:53 +0900)] 
Do not process HFS+ compression if the file name begins with "._".

12 years agoIf ARCHIVE_EXTRACT_FFLAGS is not set, do not set file flags 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.

12 years agoPlug memory leaks on Mac.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:09:43 +0000 (20:09 +0900)] 
Plug memory leaks on Mac.

12 years agoMerge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Wed, 31 Oct 2012 05:42:51 +0000 (22:42 -0700)] 
Merge branch 'master' of github.com:libarchive/libarchive

12 years agoAdd --nopreserveHFSCompression option to bsdtar to prevent
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.

12 years agoIgnore a request of HFS+ Compression if the filesystem a file
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.

12 years agoEarly versions of Mac OS X do not support HFS+ Compression.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:59:22 +0000 (08:59 +0900)] 
Early versions of Mac OS X do not support HFS+ Compression.

12 years agoCorrect handling user_umask in create_filesystem_object function.
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.

12 years agoFix making Resource Fork header and footer for HFS+ Compression.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:25:19 +0000 (08:25 +0900)] 
Fix making Resource Fork header and footer for HFS+ Compression.

12 years agoRemove an unnecessary check of file xattrs used 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.

12 years agoFix a segmentation fault when files for assertionEqualFile do not exist.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 18:22:42 +0000 (03:22 +0900)] 
Fix a segmentation fault when files for assertionEqualFile do not exist.

12 years agoFix a segmentation fault when getting xattr list failed.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 18:17:28 +0000 (03:17 +0900)] 
Fix a segmentation fault when getting xattr list failed.

12 years agoFix build failure on Mac OS X Mountain Lion.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 17:10:14 +0000 (02:10 +0900)] 
Fix build failure on Mac OS X Mountain Lion.