summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/zip/Deflater.java
Commit message (Collapse)AuthorAgeFilesLines
* Merged gcj-eclipse branch to trunk.tromey2007-01-091-2/+22
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
* libjavatromey2006-03-101-1/+7
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111949 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF addresskcook2005-06-301-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101453 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-02-05 Michael Koch <konqueror@gmx.de>mkoch2004-02-051-57/+200
| | | | | | | | | | * java/util/zip/Deflater.java, java/util/zip/DeflaterOutputStream.java, java/util/zip/GZIPInputStream.java: Reformated and javadoc comments merged from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77319 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-27 Michael Koch <konqueror@gmx.de>mkoch2003-05-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67185 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-29 Michael Koch <konqueror@gmx.de>mkoch2003-04-291-1/+27
| | | | | | | | | * java/util/zip/Deflater.java, java/util/zip/DeflaterOutputStream.java: Partly merged with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66207 138bc75d-0d04-0410-961f-82ee72b054a4
* Add license clarification.mark2002-01-221-5/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49104 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/Deflater.java (update, init): Now private.tromey2000-12-211-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38420 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/*.java: Javadoc and copyright updates.mark2000-11-171-9/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37526 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright information.tromey2000-03-071-1/+1
| | | | | | | | | * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32387 138bc75d-0d04-0410-961f-82ee72b054a4
* * All files: Updated copyright to reflect Cygnus purchase.tromey2000-01-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31504 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/DatagramSocketImpl.java (localPort): Fixed typo to match JDK.warrenl1999-06-231-1/+1
| | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27717 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipInputStream.java (fill): New method.tromey1999-05-221-3/+0
| | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27105 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipOutputStream.java (level): Initial value istromey1999-05-181-0/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26996 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey1999-04-071-0/+13
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26263 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud