1. 09 Jan, 2007 1 commit
  2. 10 Mar, 2006 1 commit
    • re PR libgcj/25713 (GZIPOutputStream bad checksum) · ea725d45
      libjava
      	PR libgcj/25713:
      	* java/util/zip/Deflater.java (flush): New method.
      	* sources.am, Makefile.in: Rebuilt.
      	* java/util/zip/DeflaterOutputStream.java: Removed.
      	* java/util/zip/InflaterInputStream.java: Likewise.
      	* java/util/zip/GZIPInputStream.java: Likewise.
      	* java/util/zip/GZIPOutputStream.java: Likewise.
      libjava/classpath
      	For PR libgcj/25713:
      	* java/util/zip/InflaterInputStream.java (read): Replaced with
      	libgcj implementation.
      
      From-SVN: r111949
      Tom Tromey committed
  3. 30 Jun, 2005 1 commit
  4. 05 Feb, 2004 1 commit
  5. 27 May, 2003 1 commit
    • 2003-05-27 Michael Koch <konqueror@gmx.de> · 98ad5807
      	* java/util/zip/Deflater.java
      	(FILTERED): Merged documentation from classpath.
      	* java/util/zip/DeflaterOutputStream.java
      	(DeflaterOutputStream): Merged documentation and argument validity
      	check from classpath.
      	(deflate): Merged documentation from classpath.
      	(finish): Likewise.
      	* java/util/zip/Inflater.java
      	(Inflater): Merged class documentation from classpath.
      	(zstream): Reordered.
      	(is_finished): Reordered.
      	(dict_needed): Reordered.
      	(Inflater): Reordered, merged documentation from classpath.
      	(end): Likewise.
      	(finalize): Merged documentation from classpath.
      	(finished): Likewise.
      	(getAdler): Likewise.
      	(getRemaining): Likewise.
      	(getTotalIn): Likewise.
      	(getTotalOut): Likewise.
      	(inflate): Likewise.
      	(needsDictionary): Likewise.
      	(needsInput): Likewise.
      	(reset): Likewise.
      	(setDictionary): Likewise.
      	(setInput): Likewise.
      
      From-SVN: r67185
      Michael Koch committed
  6. 29 Apr, 2003 1 commit
  7. 22 Jan, 2002 1 commit
  8. 21 Dec, 2000 1 commit
  9. 17 Nov, 2000 1 commit
  10. 07 Mar, 2000 1 commit
  11. 19 Jan, 2000 1 commit
  12. 23 Jun, 1999 1 commit
    • DatagramSocketImpl.java (localPort): Fixed typo to match JDK. · 05dfd09c
      	* java/net/DatagramSocketImpl.java (localPort): Fixed typo to match JDK.
      	* java/net/natPlainDatagramSocketImpl.cc (bind): ditto.
      	* java/text/ChoiceFormat.java (nextDouble(double, boolean)): Method
      	is not final per JDK.
      	* java/util/PropertyResourceBundle.java (handleGetObject): Method is
      	public per JDK.
      	* java/util/zip/DataFormatException.java: Class extends Exception.
      	* java/util/zip/Deflater.java (finalize): Method is protected per JDK.
      	* java/util/zip/ZipEntry.java: Class implements ZipConstants.
      	* java/util/zip/ZipInputStream.java: ditto.
      	(closeEntry): Changed method name to match JDK spec.
      
      From-SVN: r27717
      Warren Levy committed
  13. 22 May, 1999 1 commit
    • ZipInputStream.java (fill): New method. · 93d627ac
      	* java/util/zip/ZipInputStream.java (fill): New method.
      	(compressed_len): New instance variable.
      	(getNextStream): Set it.
      	(read): Reset inflater on EOF.  Only read via `super' if entry is
      	deflated.
      	(skip): Only skip via `super' if entry is deflated.
      	* java/util/zip/Deflater.java (last_input_count): Removed.
      	* java/util/zip/natDeflater.cc (deflate): Return 0 if input array
      	is length 0.
      	(needsInput): Don't use last_input_count.
      	(setInput): Don't set last_input_count.
      	* java/util/zip/natInflater.cc (getRemaining): Return correct
      	result.
      	(inflate): Return 0 if input array is length 0.
      	(setInput): Don't set last_input_count.
      	* java/util/zip/Inflater.java (last_input_count): Removed.
      
      From-SVN: r27105
      Tom Tromey committed
  14. 18 May, 1999 1 commit
    • ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION. · 0ffac832
      	* java/util/zip/ZipOutputStream.java (level): Initial value is
      	Deflater.DEFAULT_COMPRESSION.
      	(close): New method.
      	(closeEntry): Likewise.
      	(finish): Likewise.
      	(put_version): Likewise.
      	(write_entry): Likewise.
      	(put2, put4): Now return `int'.
      	(comment): Default to empty string.
      	(bytes_written): New instance variable.
      	(chain): Likewise.
      	* java/util/zip/ZipEntry.java (setComment): Limit length of
      	comment string.
      	(setCrc): Check CRC validity.
      	(setExtra): Check argument validity.
      	(setMethod): Likewise.
      	(setSize): Likewise.
      	(ZipEntry): Likewise.
      	* include/javaprims.h: Updated namespace declarations.
      	* Makefile.in: Rebuilt.
      	* Makefile.am (ordinary_java_source_files): Mention new files.
      	(nat_source_files): Likewise.
      	* java/util/zip/ZipFile.java (readu2): Throw ZipException, not
      	EOFException.
      	(read4): Likewise.
      	(getInputStream): Handle compressed entries.
      	* java/util/zip/GZIPOutputStream.java: New file.
      	* java/util/zip/GZIPInputStream.java: New file.
      	* java/util/zip/DataFormatException.java: New file.
      	* java/util/zip/CheckedInputStream.java: New file.
      	* java/util/zip/CheckedOutputStream.java: New file.
      	* java/util/zip/InflaterInputStream.java: Implemented.
      	* java/util/zip/natInflater.cc: New file.
      	* java/util/zip/Deflater.java: Implemented.
      	* java/util/zip/natDeflater.cc: New file.
      	* java/util/zip/DeflaterOutputStream.java: Implemented.
      	* java/util/zip/ZipInputStream.java (closeZipEntry): Throw
      	ZipException, not IOException.
      	* java/util/zip/ZipFile.java (readDirectory): Throw ZipException,
      	not IOException.
      
      From-SVN: r26996
      Tom Tromey committed
  15. 07 Apr, 1999 1 commit