You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2015/08/18 19:08:33 UTC

svn commit: r10212 - /dev/commons/compress/ /dev/commons/compress/binaries/ /dev/commons/compress/source/ /release/commons/compress/ /release/commons/compress/binaries/ /release/commons/compress/source/

Author: bodewig
Date: Tue Aug 18 17:08:32 2015
New Revision: 10212

Log:
Vote for Compress 1.10 has passed

Added:
    release/commons/compress/binaries/commons-compress-1.10-bin.tar.gz
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz
    release/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.asc
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.asc
    release/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.md5
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.md5
    release/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.sha1
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.sha1
    release/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.sha256
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.sha256
    release/commons/compress/binaries/commons-compress-1.10-bin.zip
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.zip
    release/commons/compress/binaries/commons-compress-1.10-bin.zip.asc
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.zip.asc
    release/commons/compress/binaries/commons-compress-1.10-bin.zip.md5
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.zip.md5
    release/commons/compress/binaries/commons-compress-1.10-bin.zip.sha1
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.zip.sha1
    release/commons/compress/binaries/commons-compress-1.10-bin.zip.sha256
      - copied unchanged from r10210, dev/commons/compress/binaries/commons-compress-1.10-bin.zip.sha256
    release/commons/compress/source/commons-compress-1.10-src.tar.gz
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.tar.gz
    release/commons/compress/source/commons-compress-1.10-src.tar.gz.asc
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.tar.gz.asc
    release/commons/compress/source/commons-compress-1.10-src.tar.gz.md5
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.tar.gz.md5
    release/commons/compress/source/commons-compress-1.10-src.tar.gz.sha1
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.tar.gz.sha1
    release/commons/compress/source/commons-compress-1.10-src.tar.gz.sha256
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.tar.gz.sha256
    release/commons/compress/source/commons-compress-1.10-src.zip
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.zip
    release/commons/compress/source/commons-compress-1.10-src.zip.asc
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.zip.asc
    release/commons/compress/source/commons-compress-1.10-src.zip.md5
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.zip.md5
    release/commons/compress/source/commons-compress-1.10-src.zip.sha1
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.zip.sha1
    release/commons/compress/source/commons-compress-1.10-src.zip.sha256
      - copied unchanged from r10210, dev/commons/compress/source/commons-compress-1.10-src.zip.sha256
Removed:
    dev/commons/compress/RELEASE-NOTES.txt
    dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz
    dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.asc
    dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.md5
    dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.sha1
    dev/commons/compress/binaries/commons-compress-1.10-bin.tar.gz.sha256
    dev/commons/compress/binaries/commons-compress-1.10-bin.zip
    dev/commons/compress/binaries/commons-compress-1.10-bin.zip.asc
    dev/commons/compress/binaries/commons-compress-1.10-bin.zip.md5
    dev/commons/compress/binaries/commons-compress-1.10-bin.zip.sha1
    dev/commons/compress/binaries/commons-compress-1.10-bin.zip.sha256
    dev/commons/compress/source/commons-compress-1.10-src.tar.gz
    dev/commons/compress/source/commons-compress-1.10-src.tar.gz.asc
    dev/commons/compress/source/commons-compress-1.10-src.tar.gz.md5
    dev/commons/compress/source/commons-compress-1.10-src.tar.gz.sha1
    dev/commons/compress/source/commons-compress-1.10-src.tar.gz.sha256
    dev/commons/compress/source/commons-compress-1.10-src.zip
    dev/commons/compress/source/commons-compress-1.10-src.zip.asc
    dev/commons/compress/source/commons-compress-1.10-src.zip.md5
    dev/commons/compress/source/commons-compress-1.10-src.zip.sha1
    dev/commons/compress/source/commons-compress-1.10-src.zip.sha256
Modified:
    release/commons/compress/README.html
    release/commons/compress/RELEASE-NOTES.txt

Modified: release/commons/compress/README.html
==============================================================================
--- release/commons/compress/README.html (original)
+++ release/commons/compress/README.html Tue Aug 18 17:08:32 2015
@@ -1,6 +1,6 @@
-<h1>Commons-Compress 1.9</h1>
+<h1>Commons-Compress 1.10</h1>
 
-<p>This is the 1.9 release of commons-compress. It is available in both binary and source distributions.</p>
+<p>This is the 1.10 release of commons-compress. It is available in both binary and source distributions.</p>
 
 <p><font color="red" size="+2">Note:</font>
 The tar files in the distribution use GNU tar extensions
@@ -24,12 +24,12 @@ href="https://www.apache.org/dist/common
 
 <pre>Always test available signatures, <i>e.g.</i>,
 $ pgpk -a KEYS
-$ pgpv commons-compress-1.9-bin.tar.gz.asc
+$ pgpv commons-compress-1.10-bin.tar.gz.asc
 or,
 $ pgp -ka KEYS
-$ pgp commons-compress-1.9-bin.tar.gz.asc
+$ pgp commons-compress-1.10-bin.tar.gz.asc
 or,
 $ gpg --import KEYS
-$ gpg --verify commons-compress-1.9-bin.tar.gz.asc
+$ gpg --verify commons-compress-1.10-bin.tar.gz.asc
 </pre>
 <p>

Modified: release/commons/compress/RELEASE-NOTES.txt
==============================================================================
--- release/commons/compress/RELEASE-NOTES.txt (original)
+++ release/commons/compress/RELEASE-NOTES.txt Tue Aug 18 17:08:32 2015
@@ -1,10 +1,112 @@
-              Apache Apache Commons Compress RELEASE NOTES
+              Apache Commons Compress RELEASE NOTES
 
 Apache Commons Compress software defines an API for working with
 compression and archive formats.  These include: bzip2, gzip, pack200,
 lzma, xz, Snappy, traditional Unix Compress, DEFLATE and ar, cpio,
 jar, tar, zip, dump, 7z, arj.
 
+Release 1.10
+------------
+
+Release 1.10 moves the former
+org.apache.commons.compress.compressors.z._internal_ package which
+breaks backwards compatibility for code which used the old package.
+
+This also changes the superclass of ZCompressorInputStream which makes
+this class binary incompatible with the one of Compress 1.9.  Code
+that extends ZCompressorInputStream will need to be recompiled in
+order to work with Compress 1.10.
+
+New features:
+o CompressorStreamFactory can now auto-detect DEFLATE streams
+  with ZLIB header.
+  Issue: COMPRESS-316. Thanks to Nick Burch. 
+o CompressorStreamFactory can now auto-detect LZMA streams.
+  Issue: COMPRESS-313. 
+o Added support for parallel compression. This low-level API allows
+  a client to build a zip/jar file by using the class
+  org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator.
+
+  Zip documentation updated with further notes about parallel features.
+
+  Please note that some aspects of jar creation need to be
+  handled by client code and is not part of commons-compress for this
+  release.
+  Issue: COMPRESS-296. Thanks to Kristian Rosenvold. 
+o Cut overall object instantiation in half by changing file
+  header generation algorithm, for a 10-15 percent performance
+  improvement.
+
+  Also extracted two private methods createLocalFileHeader
+  and createCentralFileHeader in ZipArchiveOutputStream.
+  These may have some interesting additional usages in the
+  near future. Thanks to Kristian Rosenvold. 
+o New methods in ZipArchiveOutputStream and ZipFile allows
+  entries to be copied from one archive to another without
+  having to re-compress them.
+  Issue: COMPRESS-295. Thanks to Kristian Rosenvold. 
+
+Fixed Bugs:
+o TarArchiveInputStream can now read entries with group or
+  user ids > 0x80000000.
+  Issue: COMPRESS-314. 
+o TarArchiveOutputStream can now write entries with group or
+  user ids > 0x80000000.
+  Issue: COMPRESS-315. 
+o TarArchiveEntry's constructor with a File and a String arg
+  didn't normalize the name.
+  Issue: COMPRESS-312. 
+o ZipEncodingHelper no longer reads system properties directly
+  to determine the default charset.
+  Issue: COMPRESS-308. 
+o BZip2CompressorInputStream#read would return -1 when asked to
+  read 0 bytes.
+  Issue: COMPRESS-309. 
+o ArchiveStreamFactory fails to pass on the encoding when creating
+  some streams.
+    * ArjArchiveInputStream
+    * CpioArchiveInputStream
+    * DumpArchiveInputStream
+    * JarArchiveInputStream
+    * TarArchiveInputStream
+    * JarArchiveOutputStream
+  Issue: COMPRESS-306. 
+o Restore immutability/thread-safety to ArchiveStreamFactory.
+  The class is now immutable provided that the method setEntryEncoding
+  is not used. The class is thread-safe.
+  Issue: COMPRESS-302. 
+o Restore immutability/thread-safety to CompressorStreamFactory.
+  The class is now immutable provided that the method
+  setDecompressConcatenated is not used.  The class is thread-safe.
+  Issue: COMPRESS-303.
+o ZipFile logs a warning in its finalizer when its constructor
+  has thrown an exception reading the file - for example if the
+  file doesn't exist.
+  Issue: COMPRESS-297. 
+o Improved error message when tar encounters a groupId that is
+  too big to write without using the STAR or POSIX format.
+  Issue: COMPRESS-290. Thanks to Kristian Rosenvold. 
+o SevenZFile now throws the specific PasswordRequiredException
+  when it encounters an encrypted stream but no password has
+  been specified.
+  Issue: COMPRESS-298. 
+
+Changes:
+o Moved the package
+  org.apache.commons.compress.compressors.z._internal_ to
+  org.apache.commons.compress.compressors.lzw and made it part
+  of the API that is officially supported.  This will break
+  existing code that uses the old package. Thanks to Damjan Jovanovic. 
+
+For complete information on Apache Commons Compress, including instructions
+on how to submit bug reports, patches, or suggestions for improvement,
+see the Apache Commons Compress website:
+
+http://commons.apache.org/compress/
+
+Old Release Notes
+=================
+
 Release 1.9
 -----------
 
@@ -32,15 +134,6 @@ o Checking for XZ for Java may be expens
   XZUtils#setCacheXZAvailability to overrride this default behavior.
   Issue: COMPRESS-285.
 
-For complete information on Apache Commons Compress, including instructions
-on how to submit bug reports, patches, or suggestions for improvement,
-see the Apache Commons Compress website:
-
-http://commons.apache.org/compress/
-
-Old Release Notes
-=================
-
 Release 1.8.1
 -------------