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/11/11 06:22:13 UTC

[3/3] commons-compress git commit: record read-only support for ZIP

record read-only support for ZIP

closes #4


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

Branch: refs/heads/master
Commit: a184b3ad1ec5977a896c9e8971a65c1efb0ca948
Parents: 6eac426
Author: Stefan Bodewig <st...@innoq.com>
Authored: Wed Nov 11 06:21:25 2015 +0100
Committer: Stefan Bodewig <st...@innoq.com>
Committed: Wed Nov 11 06:21:49 2015 +0100

----------------------------------------------------------------------
 src/changes/changes.xml       | 5 +++++
 src/site/xdoc/index.xml       | 8 ++++++--
 src/site/xdoc/limitations.xml | 4 ++--
 src/site/xdoc/zip.xml         | 3 ++-
 4 files changed, 15 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a184b3ad/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8ce601e..7835fb0 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -58,6 +58,11 @@ The <action> type attribute can be add,update,fix,remove.
         ArrayIndexOutOfBoundsException when InfoZIP type 7875 extra
         fields are read from the central directory.
       </action>
+      <action type="add" date="2015-11-11" due-to="Sören Glimm">
+        Added read-only support for bzip2 compression used inside of
+        ZIP archives.
+        GitHub Pull Request #4.
+      </action>
     </release>
 
     <release version="1.10" date="2015-08-18"

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a184b3ad/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 988ffea..aded934 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -72,8 +72,12 @@
             </ul>
           </subsection>
 
-          <!--subsection name="What's coming in 1.11?">
-          </subsection-->
+          <subsection name="What's coming in 1.11?">
+            <ul>
+              <li>Added read-only support for BZIP2 compression used
+              inside of ZIP archives.</li>
+            </ul>
+          </subsection>
         </section>
 
         <section name="Documentation">

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a184b3ad/src/site/xdoc/limitations.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/limitations.xml b/src/site/xdoc/limitations.xml
index 851f93e..29bfa53 100644
--- a/src/site/xdoc/limitations.xml
+++ b/src/site/xdoc/limitations.xml
@@ -154,8 +154,8 @@
          result of streaming data vs using random access and not a
          limitation of Compress' specific implementation.</li>
          <li>only a subset of compression methods are supported,
-         including the most common STORED and DEFLATEd.  IMPLODE and
-         SHRINK support is read-only.</li>
+         including the most common STORED and DEFLATEd.  IMPLODE,
+         SHRINK and BZIP2 support is read-only.</li>
          <li>no support for encryption or multi-volume archives</li>
          <li>In versions prior to Compress 1.6
          <code>ZipArchiveEntries</code> read from an archive will

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/a184b3ad/src/site/xdoc/zip.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/zip.xml b/src/site/xdoc/zip.xml
index 272f53a..c280aca 100644
--- a/src/site/xdoc/zip.xml
+++ b/src/site/xdoc/zip.xml
@@ -285,7 +285,8 @@
         algorithm, Commons Compress' ZIP archiver will handle them
         just fine.   As of version 1.7, Commons Compress can also
         decompress entries compressed with the legacy SHRINK and
-        IMPLODE algorithms of PKZIP 1.x.</p>
+        IMPLODE algorithms of PKZIP 1.x.  Version 1.11 of Commons
+        Compress adds read-only support for BZIP2.</p>
 
         <p>The ZIP specification allows for various other compression
         algorithms and also supports several different ways of