This is an automated email from the ASF dual-hosted git repository.
peterlee pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git.
from a9eabd5 Remove unused import.
new 81f2084 COMPRESS-540: Implement TarFile to allow random access to tar
files
new f11c897 COMPRESS-540: Change visibility of methods moved to TarUtils
to protected
new 9f7c5aa COMPRESS-540: Implement storage of data offset in tar entries
via EntryStreamOffsets instead of reinventing it
new 57e2b28 COMPRESS-540: Include fix for COMPRESS-544
new 3b7f0ae COMPRESS-540: Include fix for COMPRESS-554
new 6270ff5 COMPRESS-540: Include fix for COMPRESS-553
new f0aaab6 COMPRESS-540: Fix problems with long filenames
new 543ac95 COMPRESS-540: Javadoc enhancement
new a9a03f6 COMPRESS-540: Implement reading of padded last record
new 53bc2f7 COMPRESS-540: Rename BoundedNIOInputStream ->
BoundedArchiveInputStream
new 20f8b3e COMPRESS-540: Include changes from COMPRESS-559
new 34759ba COMPRESS-540: Remove commented out code in test
new f36fe7e COMPRESS-540: Tar entry offset should not be smaller than 0
The 13 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../compress/archivers/tar/TarArchiveEntry.java | 56 +-
.../archivers/tar/TarArchiveInputStream.java | 229 +------
.../tar/TarArchiveSparseZeroInputStream.java} | 31 +-
.../commons/compress/archivers/tar/TarFile.java | 747 +++++++++++++++++++++
.../commons/compress/archivers/tar/TarUtils.java | 199 ++++++
.../commons/compress/archivers/zip/ZipFile.java | 81 +--
.../compress/utils/BoundedArchiveInputStream.java | 98 +++
.../BoundedSeekableByteChannelInputStream.java | 57 ++
.../commons/compress/archivers/TarTestCase.java | 284 +++++++-
.../commons/compress/archivers/tar/BigFilesIT.java | 78 +--
.../compress/archivers/tar/SparseFilesTest.java | 196 +++++-
.../archivers/tar/TarArchiveEntryTest.java | 34 +
.../archivers/tar/TarArchiveInputStreamTest.java | 64 +-
.../compress/archivers/tar/TarFileTest.java | 359 ++++++++++
.../compress/archivers/tar/TarUtilsTest.java | 71 +-
...BoundedSeekableByteChannelInputStreamTest.java} | 32 +-
.../resources/{COMPRESS-529.tar => directory.tar} | Bin 1536 -> 1536 bytes
17 files changed, 2155 insertions(+), 461 deletions(-)
copy src/main/java/org/apache/commons/compress/{PasswordRequiredException.java
=> archivers/tar/TarArchiveSparseZeroInputStream.java} (60%)
create mode 100644
src/main/java/org/apache/commons/compress/archivers/tar/TarFile.java
create mode 100644
src/main/java/org/apache/commons/compress/utils/BoundedArchiveInputStream.java
create mode 100644
src/main/java/org/apache/commons/compress/utils/BoundedSeekableByteChannelInputStream.java
create mode 100644
src/test/java/org/apache/commons/compress/archivers/tar/TarFileTest.java
copy
src/test/java/org/apache/commons/compress/{archivers/zip/X000A_NTFSTest.java =>
utils/BoundedSeekableByteChannelInputStreamTest.java} (55%)
copy src/test/resources/{COMPRESS-529.tar => directory.tar} (58%)