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 2017/05/14 20:36:49 UTC

[1/2] commons-compress git commit: prepare RC1 of Commons Compress 1.14

Repository: commons-compress
Updated Branches:
  refs/heads/master 46b2879ce -> 469752132


prepare RC1 of Commons Compress 1.14


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/dd7c7702
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/dd7c7702
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/dd7c7702

Branch: refs/heads/master
Commit: dd7c7702bf51886aa8bd88b24d98619f310fbeda
Parents: 0daa870
Author: Stefan Bodewig <bo...@apache.org>
Authored: Thu May 11 21:03:58 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Thu May 11 21:03:58 2017 +0200

----------------------------------------------------------------------
 RELEASE-NOTES.txt                   | 61 +++++++++++++++++++++++++++++++-
 pom.xml                             |  2 +-
 src/site/xdoc/download_compress.xml | 26 +++++++-------
 src/site/xdoc/index.xml             | 24 ++-----------
 4 files changed, 77 insertions(+), 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/dd7c7702/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 21c9c4c..75204db 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -2,9 +2,68 @@
 
 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,
+lzma, xz, Snappy, traditional Unix Compress, DEFLATE, LZ4, Brotli and ar, cpio,
 jar, tar, zip, dump, 7z, arj.
 
+Release 1.14
+------------
+
+New features:
+o Added write support for Snappy.
+  Issue: COMPRESS-246.
+o Added support for LZ4 (block and frame format).
+  Issue: COMPRESS-271.
+o Add static detect(InputStream in) to CompressorStreamFactory
+  and ArchiveStreamFactory
+  Issue: COMPRESS-385.
+o Added a way to limit amount of memory ZCompressorStream may
+  use.
+  Issue: COMPRESS-382. Thanks to Tim Allison.
+o Added a way to limit amount of memory ZCompressorStream may
+  use.
+  Issue: COMPRESS-386. Thanks to Tim Allison.
+o Added a way to limit amount of memory LZMACompressorStream and
+  XZCompressorInputStream may use.
+  Issue: COMPRESS-382. Thanks to Tim Allison.
+o Add Brotli decoder based on the Google Brotli library.
+  Issue: COMPRESS-392. Thanks to Philippe Mouawad.
+o ZipEntry now exposes its data offset.
+  Issue: COMPRESS-390. Thanks to Zbynek Vyskovsky.
+o Using ZipArchiveEntry's setAlignment it is now possible to
+  ensure the data offset of an entry starts at a file position
+  that at word or page boundaries.
+  A new extra field has been added for this purpose.
+  Issue: COMPRESS-391. Thanks to Zbynek Vyskovsky.
+
+Fixed Bugs:
+o SnappyCompressorInputStream slides the window too early
+  leading to ArrayIndexOutOfBoundsExceptions for some streams.
+  Issue: COMPRESS-378.
+o ZipArchiveEntry#isUnixSymlink now only returns true if the
+  corresponding link flag is the only file-type flag set.
+  Issue: COMPRESS-379. Thanks to Guillaume Boué.
+o Fixed an integer overflow in CPIO's CRC calculation.
+  Pull Request #17. Thanks to Daniel Collin.
+o Make unit tests work on Windows paths with spaces in their names.
+  Issue: COMPRESS-387.
+o Internal location pointer in ZipFile could get incremented
+  even if nothing had been read.
+  Issue: COMPRESS-389.
+o LZMACompressorOutputStream#flush would throw an exception
+  rather than be the NOP it promised to be.
+  Issue: COMPRESS-393.
+
+Changes:
+o The blocksize for FramedSnappyCompressorInputStream can now be
+  configured as some IWA files seem to be using blocks larger
+  than the default 32k.
+  Issue: COMPRESS-358.
+o BZip2CompressorInputstream now uses BitInputStream internally.
+  Pull Request #13. Thanks to Thomas Meyer.
+o Improved performance for concurrent reads from ZipFile when
+  reading from a file.
+  Issue: COMPRESS-388. Thanks to Zbynek Vyskovsky.
+
 Release 1.13
 ------------
 

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/dd7c7702/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0eb9533..b126137 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
 
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-compress</artifactId>
-  <version>1.14-SNAPSHOT</version>
+  <version>1.14</version>
   <name>Apache Commons Compress</name>
   <url>http://commons.apache.org/proper/commons-compress/</url>
   <!-- The description is not indented to make it look better in the release notes -->

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/dd7c7702/src/site/xdoc/download_compress.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/download_compress.xml b/src/site/xdoc/download_compress.xml
index 5a208e2..f223d93 100644
--- a/src/site/xdoc/download_compress.xml
+++ b/src/site/xdoc/download_compress.xml
@@ -111,32 +111,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons Compress 1.13 ">
+    <section name="Apache Commons Compress 1.14 ">
       <subsection name="Binaries">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.13-bin.tar.gz">commons-compress-1.13-bin.tar.gz</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.13-bin.tar.gz.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.13-bin.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.14-bin.tar.gz">commons-compress-1.14-bin.tar.gz</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.14-bin.tar.gz.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.14-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.13-bin.zip">commons-compress-1.13-bin.zip</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.13-bin.zip.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.13-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/compress/binaries/commons-compress-1.14-bin.zip">commons-compress-1.14-bin.zip</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.14-bin.zip.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/binaries/commons-compress-1.14-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/compress/source/commons-compress-1.13-src.tar.gz">commons-compress-1.13-src.tar.gz</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.13-src.tar.gz.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.13-src.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/compress/source/commons-compress-1.14-src.tar.gz">commons-compress-1.14-src.tar.gz</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.14-src.tar.gz.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.14-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/compress/source/commons-compress-1.13-src.zip">commons-compress-1.13-src.zip</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.13-src.zip.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.13-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/compress/source/commons-compress-1.14-src.zip">commons-compress-1.14-src.zip</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.14-src.zip.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/compress/source/commons-compress-1.14-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/dd7c7702/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 6924161..6ae7f98 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -51,13 +51,13 @@
         </section>
 
         <section name="Status">
-          <p>The current release is 1.13 and requires Java 7.</p>
+          <p>The current release is 1.14 and requires Java 7.</p>
 
           <p>Below we highlight some new features, for a full list
           of changes see the <a href="changes-report.html">Changes
           Report</a>.</p>
 
-          <subsection name="What's coming in 1.14?">
+          <subsection name="What's new in 1.14?">
             <ul>
               <li>Added support for writing the Snappy format</li>
               <li>Added support for the LZ4 compression format</li>
@@ -67,24 +67,6 @@
               decoder</a>.</li>
             </ul>
           </subsection>
-          <subsection name="What's new in 1.13?">
-            <ul>
-              <li>The 7z package as well as
-              <code>ZipArchiveOutputStream</code> and
-              <code>ZipFile</code> can now use
-              <code>SeekableByteChannel</code> when random acces is
-              needed. This allows archives to be read from inputs and
-              written to outputs that are seekable but are not
-              represented by <code>File</code>s.</li>
-              <li>It is now possible to add Compressor- and
-              ArchiverStream implementations using the JDK's
-              ServiceLoader mechanism. Please see 
-              <a href="examples.html#Extending_Commons_Compress">Extending Commons Compress</a>.</li>
-              <li>Added support for writing the legacy LZMA format as
-              compressor stream and inside 7z archives - this requires
-              XZ for Java 1.6.</li>
-            </ul>
-          </subsection>
 
         </section>
 
@@ -112,7 +94,7 @@
             archivers where the <a href="zip.html">zip</a>
             implementation provides capabilities that go beyond the
             features found in java.util.zip.  As of Commons Compress
-            1.13 support for the dump and arj formats is
+            1.14 support for the dump and arj formats is
             read-only - 7z can read most compressed and encrypted
             archives but only write unencrypted ones.  LZMA(2) support
             in 7z requires <a href="http://tukaani.org/xz/java.html">XZ for


[2/2] commons-compress git commit: Merge tag 'rel/1.14' and prepare for next cycle

Posted by bo...@apache.org.
Merge tag 'rel/1.14' and prepare for next cycle


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/46975213
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/46975213
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/46975213

Branch: refs/heads/master
Commit: 469752132b291f3174af9679a5eb858aa7c1a04f
Parents: 46b2879 dd7c770
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun May 14 22:28:53 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun May 14 22:36:10 2017 +0200

----------------------------------------------------------------------
 README.md                           |  2 +-
 RELEASE-NOTES.txt                   | 61 +++++++++++++++++++++++++++++++-
 pom.xml                             |  2 +-
 src/changes/changes.xml             |  5 ++-
 src/site/xdoc/download_compress.xml | 26 +++++++-------
 src/site/xdoc/index.xml             | 24 ++-----------
 6 files changed, 82 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/46975213/README.md
----------------------------------------------------------------------
diff --cc README.md
index b5e06ad,b5e06ad..c0fcbbf
--- a/README.md
+++ b/README.md
@@@ -70,7 -70,7 +70,7 @@@ Alternatively you can pull it from the 
  <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-compress</artifactId>
--  <version>1.13</version>
++  <version>1.14</version>
  </dependency>
  ```
  

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/46975213/pom.xml
----------------------------------------------------------------------
diff --cc pom.xml
index 0eb9533,b126137..9a1e8de
--- a/pom.xml
+++ b/pom.xml
@@@ -25,7 -25,7 +25,7 @@@
  
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-compress</artifactId>
-   <version>1.14-SNAPSHOT</version>
 -  <version>1.14</version>
++  <version>1.15-SNAPSHOT</version>
    <name>Apache Commons Compress</name>
    <url>http://commons.apache.org/proper/commons-compress/</url>
    <!-- The description is not indented to make it look better in the release notes -->

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/46975213/src/changes/changes.xml
----------------------------------------------------------------------
diff --cc src/changes/changes.xml
index da4a177,da4a177..203a2fd
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@@ -42,7 -42,7 +42,10 @@@ The <action> type attribute can be add,
      <title>commons-compress</title>
    </properties>
    <body>
--    <release version="1.14" date="not released, yet"
++    <release version="1.15" date="not released, yet"
++             description="Release 1.15">
++    </release>
++    <release version="1.14" date="2017-05-14"
               description="Release 1.14">
        <action issue="COMPRESS-378" type="fix" date="2017-01-09">
          SnappyCompressorInputStream slides the window too early