]>
git.ipfire.org Git - thirdparty/libarchive.git/log
Michihiro NAKAJIMA [Sun, 21 Sep 2014 08:45:59 +0000 (17:45 +0900)]
Implement reading a passphrase from ttys.
Michihiro NAKAJIMA [Sun, 21 Sep 2014 06:00:45 +0000 (15:00 +0900)]
Add a new API, archive_write_set_passphrase_callback, for encryption.
Michihiro NAKAJIMA [Sun, 21 Sep 2014 00:30:38 +0000 (09:30 +0900)]
Correctly set a terminator.
Michihiro NAKAJIMA [Tue, 16 Sep 2014 22:24:59 +0000 (07:24 +0900)]
Fix detecting message digest functions.
This bug was caused by renaming archive_crypto.
Michihiro NAKAJIMA [Tue, 16 Sep 2014 13:34:43 +0000 (22:34 +0900)]
Merge pull request #91 from chenxiaolong/includes
Fix incorrect CMake test directory when building as a subproject
Michihiro NAKAJIMA [Tue, 16 Sep 2014 13:19:33 +0000 (22:19 +0900)]
Merge pull request #90 from chenxiaolong/mingw
Include windows.h in archive_entry.h
Michihiro NAKAJIMA [Tue, 16 Sep 2014 12:55:20 +0000 (21:55 +0900)]
Add --passphrase option to bsdtar and bsdcpio.
Xiao-Long Chen [Tue, 16 Sep 2014 04:17:19 +0000 (00:17 -0400)]
Don't include windows.h on Cygwin
Xiao-Long Chen [Tue, 16 Sep 2014 04:11:20 +0000 (00:11 -0400)]
Fix incorrect CMake test directory when building as a subproject
This is an extension of
e800985adbb0820c5692ea016b3a8499d69a73dc
Michihiro NAKAJIMA [Mon, 15 Sep 2014 09:10:58 +0000 (18:10 +0900)]
Property handle __archive_read_next_passphrase function.
Return the same passphrase while the passphraes is passed
even if it was passed by a callback function.
Michihiro NAKAJIMA [Mon, 15 Sep 2014 05:50:54 +0000 (14:50 +0900)]
Change digest functionarity files and relative global variables from
archive_crypto to archive_digest.
Michihiro NAKAJIMA [Mon, 15 Sep 2014 00:23:50 +0000 (09:23 +0900)]
Split test_read_format_zip_filename to know what filename conversion
is tested or skipped.
Michihiro NAKAJIMA [Mon, 15 Sep 2014 00:05:28 +0000 (09:05 +0900)]
Add test_archive_write_set_format_by_name_warc.
Michihiro NAKAJIMA [Mon, 15 Sep 2014 00:01:23 +0000 (09:01 +0900)]
Add test_archive_write_add_filter_by_name_lz4.
Michihiro NAKAJIMA [Sun, 14 Sep 2014 23:44:20 +0000 (08:44 +0900)]
Fix style.
Michihiro NAKAJIMA [Sun, 14 Sep 2014 23:24:09 +0000 (08:24 +0900)]
Merge pull request #88 from RyanLucchese/master
fixed hang in UUEncode filter
Michihiro NAKAJIMA [Sun, 14 Sep 2014 22:57:18 +0000 (07:57 +0900)]
Merge pull request #89 from chenxiaolong/xxhash
Remove xxhash.h from CMakeLists.txt (fixes CMake build issue after
20d5451 )
Michihiro NAKAJIMA [Sun, 14 Sep 2014 13:38:27 +0000 (22:38 +0900)]
Skip encryption/decryption tests for WinZip AES if platform does not
provide PBKDF2 functionarity.
Michihiro NAKAJIMA [Sun, 14 Sep 2014 13:27:45 +0000 (22:27 +0900)]
Fix build failure on FreeBSD 9.2.
Michihiro NAKAJIMA [Sun, 14 Sep 2014 12:15:42 +0000 (21:15 +0900)]
Fix build failure on Ubuntu.
Michihiro NAKAJIMA [Sun, 14 Sep 2014 10:23:44 +0000 (19:23 +0900)]
Switch passing passphrases from option framework to new APIs for
encryption and decryption.
Michihiro NAKAJIMA [Sun, 14 Sep 2014 08:23:29 +0000 (17:23 +0900)]
Add new APIs that pass passphrases for reading and writing
encrypted archives.
Xiao-Long Chen [Sun, 14 Sep 2014 06:41:10 +0000 (02:41 -0400)]
Include windows.h in archive_entry.h
This fixes the following error when building with mingw-w64:
error: unknown type name 'BY_HANDLE_FILE_INFORMATION'
Xiao-Long Chen [Sun, 14 Sep 2014 06:34:13 +0000 (02:34 -0400)]
Remove xxhash.h from CMakeLists.txt
Already done in Makefile.am in commit
20d545194b222ea6d1a0e497f16f889e1588d394
Michihiro NAKAJIMA [Wed, 10 Sep 2014 12:52:33 +0000 (21:52 +0900)]
Document zip:encryption option.
Use 'zipcrypt' insted of 'traditional' for zip:encryption option.
Michihiro NAKAJIMA [Tue, 9 Sep 2014 22:29:06 +0000 (07:29 +0900)]
Skip a test if the platform does not have cryptographic functionarity.
Michihiro NAKAJIMA [Tue, 9 Sep 2014 13:29:07 +0000 (22:29 +0900)]
Add support for WinZip AES encryption.
Michihiro NAKAJIMA [Sun, 7 Sep 2014 12:34:33 +0000 (21:34 +0900)]
Move cryptographic functions into archive_cryptor.c.
I will rename archive_crypto.c to archive_digest.c.
Michihiro NAKAJIMA [Sun, 7 Sep 2014 11:58:28 +0000 (20:58 +0900)]
Rename archive_hmac.h archive_hmac_private.h
Michihiro NAKAJIMA [Sun, 7 Sep 2014 11:39:53 +0000 (20:39 +0900)]
Make sure zip reader skips whole its contens.
Michihiro NAKAJIMA [Sun, 7 Sep 2014 11:28:59 +0000 (20:28 +0900)]
Add support for traditional PKWARE encryption.
Michihiro NAKAJIMA [Sun, 7 Sep 2014 07:41:19 +0000 (16:41 +0900)]
Fix decryption in streamable mode.
Michihiro NAKAJIMA [Sat, 6 Sep 2014 12:59:46 +0000 (21:59 +0900)]
Fix comment. Do not use one line comment statement '//'
because some compiler does not recognize it.
Michihiro NAKAJIMA [Sat, 6 Sep 2014 12:34:38 +0000 (21:34 +0900)]
Simply traditioal encryption api.
Michihiro NAKAJIMA [Mon, 18 Aug 2014 12:38:52 +0000 (21:38 +0900)]
Add support for extracting WinZIp AES encryption.
Michihiro NAKAJIMA [Fri, 15 Aug 2014 21:24:48 +0000 (06:24 +0900)]
Add support for Traditional PKWARE decryption to zip reader.
Michihiro NAKAJIMA [Thu, 4 Sep 2014 15:43:08 +0000 (00:43 +0900)]
Fix build failure of xxhash on Ubuntu.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 15:06:09 +0000 (00:06 +0900)]
Style fix.
Ryan Lucchese [Tue, 2 Sep 2014 23:35:12 +0000 (17:35 -0600)]
fixed hang in UUEncode filter
Michihiro NAKAJIMA [Sun, 31 Aug 2014 11:40:32 +0000 (20:40 +0900)]
Fix issue 375: failure to read some larger .7z archives
Increase a maxinum entry limitation up to
100000000 from
1000000 .
Michihiro NAKAJIMA [Mon, 18 Aug 2014 14:42:06 +0000 (23:42 +0900)]
Add additional tests for lz4 compression in front-end applications.
Michihiro NAKAJIMA [Mon, 18 Aug 2014 13:07:48 +0000 (22:07 +0900)]
Add lz4 test for bsdcat.
- add test utility function canLz4()
- fix test_write_filter_lz4 to use canLz4()
Tim Kientzle [Mon, 18 Aug 2014 02:17:06 +0000 (19:17 -0700)]
Merge pull request #87 from hroptatyr/fix/cat-empty-file
Allow empty files (after filters) in bsdcat command.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 12:52:45 +0000 (21:52 +0900)]
Document lz4 compression, lzop compression and other filters
which were not documented in archive_read_filter.3 or
archive_write_filter.3.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 09:23:38 +0000 (18:23 +0900)]
Improve lha decompression performance.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 09:07:34 +0000 (18:07 +0900)]
Update xxhash.c to lz4 r120 version;
o remove xxhash.h, which is unneeded in libarchive and causes
build failure for function definitions.
o convert single comment statements to block comment statements
because some C compiler cannot handle it.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 08:11:41 +0000 (17:11 +0900)]
Add lz4 filter entry to archive_read_append_filter function.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 08:04:54 +0000 (17:04 +0900)]
Avoid an analyzer error "Dereference of null pointer",
which will not happen but analyzer claims.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 07:48:47 +0000 (16:48 +0900)]
Eliminate dead assignment.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 02:14:37 +0000 (11:14 +0900)]
Display filename encoding test names respectively to know what encoding test
was successful, failed or skipped.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 01:35:43 +0000 (10:35 +0900)]
Fix build failure on FreeBSD 8.x.
Michihiro NAKAJIMA [Thu, 14 Aug 2014 01:19:10 +0000 (10:19 +0900)]
Fix build failure with lz4 r120 and later.
Michihiro NAKAJIMA [Wed, 13 Aug 2014 23:31:49 +0000 (08:31 +0900)]
Add support for lz4 write filter.
Sebastian Freundt [Tue, 12 Aug 2014 14:55:28 +0000 (14:55 +0000)]
Allow empty files (after filters) in bsdcat command.
This changeset fixes an issue with empty compressed files, i.e.
files that after inflating are of size 0: bsdcat would report
unrecognized archive format for those because the raw reader is
unable to handle files of zero length.
Sebastian Freundt [Tue, 12 Aug 2014 15:25:07 +0000 (15:25 +0000)]
Provide regression test case for bsdcat on empty compressed files
Michihiro NAKAJIMA [Sun, 3 Aug 2014 06:08:41 +0000 (15:08 +0900)]
Properly set a error message when a client seeker callback is not
defined.
Michihiro NAKAJIMA [Sun, 3 Aug 2014 05:51:15 +0000 (14:51 +0900)]
Fix issue336:7zip can not be read when opened with archive_read_open_fd.
Implenent a seek callback in archive_read_open_fd by bringin the code
from archive_open_filename.
Michihiro NAKAJIMA [Sun, 3 Aug 2014 04:19:18 +0000 (13:19 +0900)]
Fix issue363:Unable to extract large 7z files.
Properly changing a variable type up to uint64_t.
Michihiro NAKAJIMA [Sun, 27 Jul 2014 09:15:44 +0000 (18:15 +0900)]
Simply finding a file name in mtree format to avoid redundant code.
Tim Kientzle [Fri, 18 Jul 2014 04:03:52 +0000 (21:03 -0700)]
Fix --one-file-system: do not descend, but do visit the root of a new filesystem
Tim Kientzle [Fri, 18 Jul 2014 02:56:29 +0000 (19:56 -0700)]
Do not assume dir atime updates; not everyone does
Michihiro NAKAJIMA [Sat, 12 Jul 2014 02:33:42 +0000 (11:33 +0900)]
Fix issue 356: properly skip a sparse file entry in a tar file.
Michihiro NAKAJIMA [Sun, 6 Jul 2014 04:40:53 +0000 (13:40 +0900)]
Add lz4 detection for CMake configuration.
Michihiro NAKAJIMA [Sun, 6 Jul 2014 04:10:26 +0000 (13:10 +0900)]
Style fix. space -> tab.
Michihiro NAKAJIMA [Sun, 6 Jul 2014 03:57:47 +0000 (12:57 +0900)]
Fix dereference of null pointer which Clang Static Analyser pointed out.
Michihiro NAKAJIMA [Sun, 6 Jul 2014 03:06:15 +0000 (12:06 +0900)]
Plug memory leaks which Clang Static Analyser pointed out.
Michihiro NAKAJIMA [Sun, 6 Jul 2014 02:49:41 +0000 (11:49 +0900)]
Fix garbag return value which Clang Static Analyser pointed out.
Michihiro NAKAJIMA [Sun, 6 Jul 2014 02:23:15 +0000 (11:23 +0900)]
Fix dead store which Clang Static Analyser pointed out,
and some style changes. No functional changes.
Michihiro NAKAJIMA [Thu, 3 Jul 2014 11:58:51 +0000 (20:58 +0900)]
Add a test for a bug fix of lha reader.
Michihiro NAKAJIMA [Thu, 3 Jul 2014 11:26:43 +0000 (20:26 +0900)]
Fix a bug in lha read format.
The bug was it could not correctly extract the compressed data
which had just one repated pattern.
Michihiro NAKAJIMA [Wed, 2 Jul 2014 12:12:42 +0000 (21:12 +0900)]
Properly set buffer,offset and size when lha format reader returns
ARCHIVE_WAR by getting CRC error.o
Michihiro NAKAJIMA [Sun, 29 Jun 2014 21:44:47 +0000 (06:44 +0900)]
Add support for lz4 read filter.
TODO: detecting liblz4 library by CMake.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 10:51:28 +0000 (19:51 +0900)]
Fix test_compat_mac failure on non-mac OS X platform.
It requries an option 'mac-ext' to pass the test
since commit
95e0b3a4f .
Michihiro NAKAJIMA [Sun, 29 Jun 2014 09:09:26 +0000 (18:09 +0900)]
Fix build failure on Ubuntu.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 08:16:20 +0000 (17:16 +0900)]
Fix builid failure on FreeBSD 10.
On FreeBSD 10, ENOTSUP and EOPNOTSUPP are the same value,
so it cannot be used in the same switch statement.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 07:32:54 +0000 (16:32 +0900)]
Fix a bug which uudecode filter wrongly decoded the uuencoded data
which size was more than 64K bytes.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 07:12:34 +0000 (16:12 +0900)]
Add a test utility function, copy_reference_file simply coping
a sample file to the current directory of a running test.
A uudecode filter test will use it for its new test.
TODO: make a symbolic link file insted of copying a sample file.
Historically, libarchive cannot handle uuencoded files when
libarchive's test suit was made. Now libarchive can handle it
directly by uudecode filter, I think, we can reduce copying
sample files to the directory test program expects they are
on an isolated directory for their test.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 05:30:51 +0000 (14:30 +0900)]
Add bsdcat_test.log and bsdcat_test.trs to .gitignore.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 05:28:04 +0000 (14:28 +0900)]
Apply recent changs in libarvhie/test/main.c to {tar,cpio,cat}/test/main.c for keeping maintenacebility.
Michihiro NAKAJIMA [Sun, 29 Jun 2014 05:14:35 +0000 (14:14 +0900)]
Fix build failure.
error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
Tim Kientzle [Sun, 22 Jun 2014 17:50:17 +0000 (10:50 -0700)]
Reformat long calculation, make consistent across copies
Tim Kientzle [Sun, 22 Jun 2014 17:43:51 +0000 (10:43 -0700)]
Merge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Sun, 22 Jun 2014 17:43:44 +0000 (10:43 -0700)]
Tab after #define
Tim Kientzle [Sun, 22 Jun 2014 17:43:00 +0000 (10:43 -0700)]
Use ARCHIVE_VERSION macros instead of PACKAGE
Tim Kientzle [Sun, 22 Jun 2014 17:42:23 +0000 (10:42 -0700)]
Mark which tests have skips
Tim Kientzle [Sun, 22 Jun 2014 17:41:51 +0000 (10:41 -0700)]
interpret times in UTC, not local timezone
Tim Kientzle [Sat, 21 Jun 2014 21:19:30 +0000 (14:19 -0700)]
Merge pull request #82 from r0ro/master
Silently ignore lchmod failure in when not supported
Tim Kientzle [Sat, 21 Jun 2014 21:16:00 +0000 (14:16 -0700)]
Fix multi-line display
Tim Kientzle [Sat, 21 Jun 2014 21:15:37 +0000 (14:15 -0700)]
Replace \e with plain \
Tim Kientzle [Sat, 21 Jun 2014 20:42:09 +0000 (13:42 -0700)]
Don't put '' around options within literals
Tim Kientzle [Sat, 21 Jun 2014 20:37:33 +0000 (13:37 -0700)]
start/end display cannot have extra trailing whitespace
Tim Kientzle [Sat, 21 Jun 2014 20:27:09 +0000 (13:27 -0700)]
Fix environment tables
Tim Kientzle [Sat, 21 Jun 2014 20:24:16 +0000 (13:24 -0700)]
Generate crossrefs, fix some punctuation
Tim Kientzle [Sat, 21 Jun 2014 20:23:39 +0000 (13:23 -0700)]
Fix refs to libarchive.3 manpage
Tim Kientzle [Sat, 21 Jun 2014 20:23:09 +0000 (13:23 -0700)]
Remove extraneous {}
Tim Kientzle [Sat, 21 Jun 2014 18:31:38 +0000 (11:31 -0700)]
document Zip writer options
Tim Kientzle [Sat, 21 Jun 2014 05:05:45 +0000 (22:05 -0700)]
untar.c bootstrap program is public domain
Tim Kientzle [Sat, 21 Jun 2014 04:59:38 +0000 (21:59 -0700)]
returns >0 are not errors here
Tim Kientzle [Sat, 21 Jun 2014 04:40:16 +0000 (21:40 -0700)]
Merge branch 'master' of github.com:libarchive/libarchive
Tim Kientzle [Sat, 21 Jun 2014 04:39:50 +0000 (21:39 -0700)]
Document the buggy return codes of archive_write_data when writing to an archive_write_disk handle; comment that this should change in libarchive 4