| 1 |
ChangeLog of JZlib |
| 2 |
==================================================================== |
| 3 |
Last modified: Mon Feb 20 06:06:07 UTC 2012 |
| 4 |
|
| 5 |
|
| 6 |
Changes since version 1.1.0: |
| 7 |
- fixed a bug in DeflaterOutputStream#write() with empty data. 9d4616f |
| 8 |
- fixed a bug in processing unwrapped data with InfalterInputStream. d35db2 |
| 9 |
- fixed bugs reported in https://github.com/ymnk/jzlib/pull/5 e4aa20 |
| 10 |
- comments and filename in GZIPHeader must be in ISO-8859-1 encoding |
| 11 |
- fixing a bug in GZIPHeader#setOS(int os) |
| 12 |
- some refactoring code. e912088 6900f5 614fdf |
| 13 |
- improving the performace of Adler32#update method. 6900f5 |
| 14 |
- constructors of Alder32 and CRC32 become public. 30c4cf |
| 15 |
- added ZStream#end() and ZStream#finished(). 6b55e3 |
| 16 |
- exposed useful constants for jruby. e17ad1 |
| 17 |
- updated pom.xml to delete "souceDirectory" |
| 18 |
No need to specify sourceDirectory if the project follows maven |
| 19 |
standard. |
| 20 |
- updated configurations to use sbt 0.11.1 |
| 21 |
|
| 22 |
|
| 23 |
Changes since version 1.0.7: |
| 24 |
- supported some new functionalities, which have been introduced since 'zlib' 1.2. |
| 25 |
- JZlib#{adler32,crc32}_combine, |
| 26 |
- JZlib can handle gzip file format(RFC1952). |
| 27 |
- added following classes, |
| 28 |
- DeflaterOutputStream |
| 29 |
- InflaterInputStream |
| 30 |
- GZIPOutputStream |
| 31 |
- GZIPInputStream |
| 32 |
- Inflater |
| 33 |
- Deflater |
| 34 |
- ZStream has been deprecated. |
| 35 |
Use Inflater and Deflater instead of it. |
| 36 |
- GZIPHeader |
| 37 |
- re-implemented Z{Input,Output}Stream with {Deflater,Inflater}{I/O}Stream |
| 38 |
- those classes have been deprecated. |
| 39 |
Use DeflaterOutputStream and InfaterInputStream instead of them. |
| 40 |
- com/ -> src/main/java/com/ |
| 41 |
- some tests under src/test/scala/ |
| 42 |
- pom.xml for mvn, and projects/ for sbt. |
| 43 |
|
| 44 |
|
| 45 |
Changes since version 1.0.6: |
| 46 |
- change: memory and performance optimisations in the inflate operation. |
| 47 |
- change: added the nowrap argument to Z{Input,Output}?Stream. |
| 48 |
|
| 49 |
|
| 50 |
Changes since version 1.0.5: |
| 51 |
- ZInputStream.read(byte[], int, int) method return sometimes zero |
| 52 |
instead of -1 at the end of stream. |
| 53 |
- ZOutputStream.end() method should not declare IOException. |
| 54 |
- It should be possible to call ZOutputStream.end() method more times |
| 55 |
(because you can call close() method and after it end() method in |
| 56 |
finally block). |
| 57 |
- ZOutputStream.finish() method should not ignore IOException from flush(). |
| 58 |
Many thanks to Matej Kraus at seznam.cz , who pointed out above problems. |
| 59 |
|
| 60 |
|
| 61 |
Changes since version 1.0.4: |
| 62 |
- a minor bug fix in ZInputStream |
| 63 |
|
| 64 |
|
| 65 |
Changes since version 1.0.3: |
| 66 |
- fixed a bug in closing ZOutputStream. |
| 67 |
The inflating and deflating processes were not finished successfully. |
| 68 |
- added 'finish' and 'end' methods to ZOutputStream.java |
| 69 |
- added 'example/test_stream_deflate_inflate.java' |
| 70 |
|
| 71 |
|
| 72 |
Changes since version 1.0.2: |
| 73 |
- enabled pure Java implementation of adler32 and |
| 74 |
commented out the dependency on J2SE in Adler32.java for J2ME users. |
| 75 |
|
| 76 |
|
| 77 |
Changes since version 1.0.1: |
| 78 |
- fixed a bug in deflating some trivial data, for example, |
| 79 |
large data chunk filled with zero. |
| 80 |
- added 'version' method to JZlib class. |
| 81 |
|
| 82 |
|
| 83 |
Changes since version 1.0.0: |
| 84 |
- added ZInputStream and ZOutputStream classes. |
| 85 |
- fixed a typo in LICENSE.txt. |
| 86 |
|
| 87 |
|
| 88 |
Changes since version 0.0.9: |
| 89 |
- fixed a bug in setting a dictionary in the inflation process. |
| 90 |
- The license was changed to a BSD style license. |
| 91 |
- Z{Input,Output}Stream classes were deleted. |
| 92 |
|
| 93 |
|
| 94 |
Changes since version 0.0.8: |
| 95 |
- fixed a bug in handling a preset dictionary in the inflation process. |
| 96 |
|
| 97 |
|
| 98 |
Changes since version 0.0.7: |
| 99 |
- added methods to control the window size (the size of the history |
| 100 |
buffer) and to handle the no-wrap option (no zlib header or check), |
| 101 |
which is the undocumented functionality of zlib. |
| 102 |
|
| 103 |
|
| 104 |
Changes since version 0.0.6: |
| 105 |
- updated InfBlocks.java as zlib did to fix the vulnerability related to |
| 106 |
the 'double free'. Of course, JZlib is free from such a vulnerability |
| 107 |
like the 'double free', but JZlib had crashed with NullPointerException |
| 108 |
by a specially-crafted block of invalid deflated data. |
| 109 |
|
| 110 |
|
| 111 |
Changes since version 0.0.5: |
| 112 |
- added 'flush()' method to com.jcraft.jzlib.ZOutputStream. |
| 113 |
- fixed to take care when occurring the buffer overflow in |
| 114 |
com.jcraft.jzlib.ZOutputStream. |
| 115 |
Many thanks to Tim Bendfelt at cs.wisc.edu , who pointed out above problems. |
| 116 |
|
| 117 |
|
| 118 |
Changes since version 0.0.4: |
| 119 |
............................ |
| 120 |
- fixed a bug in Adler32 class. |
| 121 |
- fixed a bug in ZInputStream class |
| 122 |
- modified ZInputStream to be extended from InputStream |
| 123 |
instead of FileInputStream. |
| 124 |
- modified ZOutputStream to be extended from OutputStream |
| 125 |
instead of FileOutputStream. |
| 126 |
- modified ZStream to be changeable wbits. Give wbits value to |
| 127 |
the method 'deflateInit' of ZStream. |
| 128 |
Many thanks to Bryan Keller<[email protected]>, who reported bugs |
| 129 |
and made suggestions. |
| 130 |
|
| 131 |
|
| 132 |
Changes since version 0.0.3: |
| 133 |
............................ |
| 134 |
- fixed a bug in the compression level 0. |
| 135 |
- modified to be compatible with JIKES's bug. |
| 136 |
- added Z[Input,Output]Stream written by Lapo Luchini<[email protected]>. |
| 137 |
|
| 138 |
|
| 139 |
Changes since version 0.0.2: |
| 140 |
............................ |
| 141 |
- fixed a critical bug, which had arisen in the deflating operation with |
| 142 |
NO_FLUSH and DEFAULT_COMPRESSION mode. |
| 143 |
Many thanks to Bryan Keller([email protected]), who reported this glitch. |
| 144 |
|
| 145 |
|
| 146 |
Changes since version 0.0.1: |
| 147 |
............................ |
| 148 |
- fixed the bad compression ratio problem, which is reported from |
| 149 |
Martin Smith([email protected]). The compression ratio was not so good |
| 150 |
compared with the compression ration of zlib. Now, this problem has been |
| 151 |
fixed and, I hope, that deflated files by JZlib and zlib are completely |
| 152 |
same bit by bit. |