1. 09 Jan, 2007 1 commit
  2. 14 Aug, 2006 1 commit
    • Imported GNU Classpath 0.92 · ac1ed908
      2006-08-14  Mark Wielaard  <mark@klomp.org>
      
             Imported GNU Classpath 0.92
             * HACKING: Add more importing hints. Update automake version
             requirement.
      
             * configure.ac (gconf-peer): New enable AC argument.
             Add --disable-gconf-peer and --enable-default-preferences-peer
             to classpath configure when gconf is disabled.
             * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and
             gnu/java/awt/dnd/peer/gtk to bc. Classify
             gnu/java/security/Configuration.java as generated source file.
      
             * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
             gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
             gnu/java/lang/management/VMClassLoadingMXBeanImpl.java,
             gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
             gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java,
             gnu/java/lang/management/VMThreadMXBeanImpl.java,
             gnu/java/lang/management/VMMemoryMXBeanImpl.java,
             gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub
             classes.
             * java/lang/management/VMManagementFactory.java: Likewise.
             * java/net/VMURLConnection.java: Likewise.
             * gnu/java/nio/VMChannel.java: Likewise.
      
             * java/lang/Thread.java (getState): Add stub implementation.
             * java/lang/Class.java (isEnum): Likewise.
             * java/lang/Class.h (isEnum): Likewise.
      
             * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed.
      
             * javax/naming/spi/NamingManager.java: New override for StackWalker
             functionality.
      
             * configure, sources.am, Makefile.in, gcj/Makefile.in,
             include/Makefile.in, testsuite/Makefile.in: Regenerated.
      
      From-SVN: r116139
      Mark Wielaard committed
  3. 12 Jul, 2006 1 commit
  4. 18 May, 2006 1 commit
    • Imported GNU Classpath 0.90 · 4f9533c7
             Imported GNU Classpath 0.90
             * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
      
             * sources.am: Regenerated.
             * gcj/javaprims.h: Regenerated.
             * Makefile.in: Regenerated.
             * gcj/Makefile.in: Regenerated.
             * include/Makefile.in: Regenerated.
             * testsuite/Makefile.in: Regenerated.
      
             * gnu/java/lang/VMInstrumentationImpl.java: New override.
             * gnu/java/net/local/LocalSocketImpl.java: Likewise.
             * gnu/classpath/jdwp/VMMethod.java: Likewise.
             * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
             interface.
             * java/lang/Thread.java: Add UncaughtExceptionHandler.
             * java/lang/reflect/Method.java: Implements GenericDeclaration and
             isSynthetic(),
             * java/lang/reflect/Field.java: Likewise.
             * java/lang/reflect/Constructor.java
             * java/lang/Class.java: Implements Type, GenericDeclaration,
             getSimpleName() and getEnclosing*() methods.
             * java/lang/Class.h: Add new public methods.
             * java/lang/Math.java: Add signum(), ulp() and log10().
             * java/lang/natMath.cc (log10): New function.
             * java/security/VMSecureRandom.java: New override.
             * java/util/logging/Logger.java: Updated to latest classpath
             version.
             * java/util/logging/LogManager.java: New override.
      
      From-SVN: r113887
      Mark Wielaard committed
  5. 10 Mar, 2006 1 commit
    • Imported GNU Classpath 0.90 · 8aa540d2
             Imported GNU Classpath 0.90
             * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
             * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
             * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
             * java/lang/Math.java: New override file.
             * java/lang/Character.java: Merged from Classpath.
             (start, end): Now 'int's.
             (canonicalName): New field.
             (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
             (UnicodeBlock): Added argument.
             (of): New overload.
             (forName): New method.
             Updated unicode blocks.
             (sets): Updated.
             * sources.am: Regenerated.
             * Makefile.in: Likewise.
      
      From-SVN: r111942
      Mark Wielaard committed
  6. 15 Nov, 2005 1 commit
  7. 23 Sep, 2005 1 commit
    • Imported Classpath 0.18. · 1ea63ef8
      	* sources.am, Makefile.in: Updated.
      	* Makefile.am (nat_source_files): Removed natProxy.cc.
      	* java/lang/reflect/natProxy.cc: Removed.
      	* gnu/classpath/jdwp/VMFrame.java,
      	gnu/classpath/jdwp/VMIdManager.java,
      	gnu/classpath/jdwp/VMVirtualMachine.java,
      	java/lang/reflect/VMProxy.java: New files.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
      	list.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/java/net/DefaultContentHandlerFactory.java (getContent):
      	Remove ClasspathToolkit references.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
      	* gnu/awt/xlib/XFramePeer.java: Likewise.
      	* gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
      	classpath/native/jawt/jawt.c.
      	* Makefile.in: Regenerate.
      	* jawt.c: Remove file.
      	* include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
      	jawt_md.h.  Add ../classpath/include/jawt.h and
      	../classpath/include/jawt_md.h.
      	* include/Makefile.in: Regenerate.
      	* include/jawt.h: Regenerate.
      	* include/jawt_md.h: Regenerate.
      
      From-SVN: r104586
      Tom Tromey committed
  8. 16 Jul, 2005 1 commit
  9. 30 Jun, 2005 1 commit
  10. 10 Feb, 2005 1 commit
  11. 07 Nov, 2004 1 commit
  12. 06 Nov, 2004 1 commit
  13. 20 Oct, 2004 1 commit
    • Timestamp.java, [...]: Reorganized imports and fixed copyright headers. · 724c2517
      2004-10-20  Michael Koch  <konqueror@gmx.de>
      
      	* java/sql/Timestamp.java,
      	java/text/AttributedCharacterIterator.java,
      	java/text/AttributedString.java,
      	java/util/zip/CheckedOutputStream.java,
      	java/util/zip/DeflaterOutputStream.java,
      	java/util/zip/ZipFile.java,
      	javax/crypto/Cipher.java,
      	javax/crypto/ExemptionMechanismException.java,
      	javax/crypto/SecretKey.java,
      	javax/crypto/SecretKeyFactory.java,
      	javax/naming/directory/ModificationItem.java,
      	javax/naming/directory/SearchControls.java,
      	javax/naming/event/NamingListener.java,
      	javax/naming/ldap/Control.java,
      	javax/naming/ldap/ExtendedResponse.java,
      	javax/net/ssl/SSLSocketFactory.java:
      	Reorganized imports and fixed copyright headers.
      
      From-SVN: r89324
      Michael Koch committed
  14. 17 Jun, 2004 1 commit
  15. 26 Nov, 2003 1 commit
  16. 14 Jul, 2003 1 commit
    • MemoryImageSource.java, [...]: New versions from classpath. · 6a716777
      2003-07-14  Michael Koch  <konqueror@gmx.de>
      
      	* java/awt/image/MemoryImageSource.java,
      	java/beans/PropertyEditorManager.java,
      	javax/naming/CompoundName.java,
      	javax/naming/spi/NamingManager.java,
      	javax/swing/AbstractButton.java,
      	javax/swing/ButtonModel.java,
      	javax/swing/SwingUtilities.java,
      	javax/swing/UIManager.java,
      	javax/swing/colorchooser/DefaultColorSelectionModel.java,
      	javax/swing/event/AncestorEvent.java,
      	javax/swing/event/InternalFrameEvent.java,
      	java/util/zip/ZipFile.java:
      	New versions from classpath.
      
      From-SVN: r69321
      Michael Koch committed
  17. 17 Jun, 2003 1 commit
  18. 21 Feb, 2003 1 commit
  19. 02 Jan, 2003 1 commit
    • ZipFile.java (entries): Now HashMap. · 1a82c94b
      	* java/util/zip/ZipFile.java (entries): Now HashMap.
      	(readLeShort(DataInput, byte[])): Read from given byte array.
      	(readLeInt(DataInput, byte[]): Likewise.
      	(readLeShort(byte[] b, int off)): New method.
      	(readLeInt(byte[] b, int off)): Likewise.
      	(readEntries): Use byte arrays to read info in bigger chunks.
      	(getEntries): Return HashMap.
      	(getEntry): Use HashMap.
      	(locBuf): New private field.
      	(checkLocalHeader): Use locBuf to read info in one chunk.
      	(getInputStream): Use entries HashMap, wrap PartialInputStream
      	in BufferedInputStream.
      	(ZipEntryEnumeration): Use HashMap and Interator.
      
      Co-Authored-By: Mark Wielaard <mark@klomp.org>
      
      From-SVN: r60803
      Artur Biesiadowski committed
  20. 03 Dec, 2002 1 commit
    • JarFile.java (manifest): Not final. · 9c1180ea
              * java/util/jar/JarFile.java (manifest): Not final.
              (manifestRead): New field.
              (JarFile): Don't read Manifest in constructor.
              (getManifest): New method.
              (JarEnumeration.nextElement): Use new method.
              (getEntry): Likewise.
              * java/util/zip/ZipFile.java (name): Final.
              (raf): Likewsie.
              (entries): Change type to Hashtable.
              (closed): New field.
              (ZipFile): Don't read enties in constructor.
              (readEntries): Use Hashtable.
              (close): Set new close flag and set entries to null inside
              synchronized block.
              (entries): Contruct enumeration using new getEntries() method and
              entries Hashtable.
              (getEntryIndex): Removed.
              (getEntries): New method.
              (getEntry): Use new getEntries() method and entries Hastable.
              (getInputStream): Likewise.
              (size): Return getEntries().size().
              (ZipEntryEnumeration): Wrap entries Hashtable elements.
              * java/util/zip/ZipEntry.java (cal): Don't initialize.
              (time): Removed
              (dostime): New field.
              (zipFileIndex): Removed.
              (ZipEntry(ZipEntry)): Copy dostime.
              (setDOSTime): Now final and doesn't convert dos time.
              (getDOSTime): Likewise.
              (setTime): Convert dos time.
              (getTime): Likewise.
              (getCalendar): New method.
              (setExtra): Use setTime().
              * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
      
      From-SVN: r59785
      Mark Wielaard committed
  21. 31 Oct, 2002 1 commit
    • ZipFile.java (readLeShort): Take and use DataInput as argument. · 5e81d5be
      	* java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
      	argument.
      	(readLeShort): Likewise and use byte[].
      	(readLeInt): Likewise.
      	(readEntries): Use new versions of methods and use byte[] for reading
      	a complete zip entry. Add ZipFile name to exceptions.
      	(entries): Add ZipFile name to exceptions.
      	(getEntry): Likewise.
      	(checkLocalHeader): Use new versions of methods and add ZipFile name
      	to exceptions.
      
      From-SVN: r58697
      Mark Wielaard committed
  22. 15 Jun, 2002 1 commit
    • InflaterInputStream.java (read): Loop if data has been read but none output by inflater. · 5f51b048
      	* java/util/zip/InflaterInputStream.java (read): Loop if data has
      	been read but none output by inflater.
      	* java/util/zip/natDeflater.cc (reset): Set is_finished.
      	* java/util/zip/natInflater.cc (reset): Set dist_needed and
      	is_finished.
      	* java/util/zip/ZipOutputStream.java: Replaced with Classpath
      	version.
      	* java/util/zip/ZipFile.java: Replaced with Classpath version.
      	* java/util/zip/ZipEntry.java: Replaced with Classpath version.
      	* java/util/zip/ZipInputStream.java: Replaced with Classpath
      	version.
      	* java/util/zip/ZipConstants.java: Replaced with Classpath version.
      
      From-SVN: r54653
      Tom Tromey committed
  23. 22 Jan, 2002 1 commit
  24. 17 Nov, 2000 1 commit
  25. 04 Sep, 2000 1 commit
  26. 29 Aug, 2000 1 commit
    • BitMaskExtent.java, [...]: Removed Latin-1 copyright symbols. · 2ed885df
      	* gnu/gcj/awt/BitMaskExtent.java, gnu/gcj/awt/Buffers.java,
      	gnu/gcj/awt/ComponentDataBlitOp.java,
      	gnu/gcj/awt/GLightweightPeer.java, java/awt/Graphics2D.java,
      	java/awt/RenderingHints.java, java/awt/color/ColorSpace.java,
      	java/awt/color/ICC_ColorSpace.java,
      	java/awt/color/ICC_Profile.java,
      	java/awt/image/BufferedImage.java, java/awt/image/ColorModel.java,
      	java/awt/image/ComponentColorModel.java,
      	java/awt/image/ComponentSampleModel.java,
      	java/awt/image/DataBuffer.java,
      	java/awt/image/DataBufferByte.java,
      	java/awt/image/DataBufferInt.java,
      	java/awt/image/DataBufferUShort.java,
      	java/awt/image/DirectColorModel.java,
      	java/awt/image/IndexColorModel.java,
      	java/awt/image/PackedColorModel.java, java/awt/image/Raster.java,
      	java/awt/image/RasterOp.java, java/awt/image/SampleModel.java,
      	java/awt/image/SinglePixelPackedSampleModel.java,
      	java/awt/image/WritableRaster.java, java/util/zip/ZipFile.java:
      	Removed Latin-1 copyright symbols.
      	* java/util/zip/ZipFile.java: Indentation fixes.
      
      From-SVN: r36027
      Tom Tromey committed
  27. 27 Aug, 2000 1 commit
  28. 20 Aug, 2000 2 commits
    • Adler32.java: Make private variables really private · 8559f9bb
      2000-08-20  Mark Wielaard  <mark@klomp.org>
      
          * java/util/zip/Adler32.java: Make private variables really private
          * java/util/zip/CRC32.java: Make private variables really private
          * java/util/zip/CheckedInputStream.java: skip() could skip to much bytes
          * java/util/zip/InflaterInputStream.java: skip() could skip to much bytes
          * java/util/zip/ZipEntry.java: setCompressedSize() didn't check input
          * java/util/zip/ZipFile.java: size() new 1.2 method
          * java/util/zip/ZipInputStream.java: Use createZipEntry not new ZipEntry.
          since 1.2 available() always returns just 1 or 0 when closed
      
      From-SVN: r35826
      Mark Wielaard committed
    • URLClassLoader.java: Find the JarEntry via the JarFile. · f2e541ce
      Sun Aug 20 09:51:48 2000  Anthony Green  <green@redhat.com>
      
              * java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
      
              * java/net/JarURLConnection.java: getEntry doesn't take any
              arguments.  Return null if element is null.
      
              * java/util/zip/ZipFile.java (getInputStream): Read the compressed
              size from the archive, not the inflated size.
      
              * java/util/jar/JarFile.java (getEntry): Don't recurse.  Call
              java.util.zip.ZipFile.getEntry.
      
              * gij.cc (help): Change sourceware reference to
              sources.redhat.com.
      
      From-SVN: r35821
      Anthony Green committed
  29. 20 May, 2000 1 commit
  30. 11 Apr, 2000 1 commit
    • Vector.java (VectorEnumeration): Now `final'. · c23c855f
      	* java/util/Vector.java (VectorEnumeration): Now `final'.
      	* java/util/Hashtable.java (HashtableEntry): Now `final'.
      	(HashtableEnumeration): Likewise.
      	* java/util/zip/ZipFile.java (ZipEnumeration): Now `final'.
      	* java/text/RuleBasedCollator.java (RBCElement): Now `final'.
      
      From-SVN: r33083
      Tom Tromey committed
  31. 07 Mar, 2000 1 commit
  32. 19 Jan, 2000 1 commit
  33. 07 Nov, 1999 1 commit
  34. 18 Aug, 1999 1 commit
    • natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. · eb4534a6
      	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
      	from _Jv_InternClassStrings.
      
      	* prims.cc (_Jv_RunMain): New function.
      	(JvRunMain): Remove gij-support.
      
      	* gij.cc (main): Use _Jv_RunMain.
      
      	* java/util/zip/ZipFile.java: Call readDirectory in constructor.
      
      	* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
      	argument in temp variable.
      	(continue1): For all op_x2y insns, use temp variable for
      	intermediate value.  Also remove some comments.
      
      	* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
      	(forName): Don't call _Jv_InitClass.
      
      	* java/lang/Class.java (getResource,getResourceAsStream): Implement.
      
      	* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.
      
      	* java/util/jar/JarInputStream.java: New file.
      
      	* java/util/jar/JarEntry.java: New file.
      
      	* java/util/jar/JarFile.java: New file.
      
      	* java/net/URLClassLoader.java: New file.
      
      	* java/net/JarURLConnection.java: New file.
      
      	* gnu/gcj/protocol/jar/Handler.java: New file.
      
      	* gnu/gcj/protocol/jar/Connection.java: New file.
      
      	* java/security/SecureClassLoader.java: New file.
      
      	* java/lang/ClassLoader.java (parent): New variable.
      	(ClassLoader (ClassLoader)): new constructor.
      	(findClass): New method.
      	(loadClass): Add default 1.2 implementation.
      	(getSystemResourceAsBytes, getResourceAsBytes): Removed.
      	(readfully): Removed.
      
      	* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
      	(findSystemClass): New method.
      	(VMClassLoader): Constructor rewritten.
      	(init): New method.
      	All other methods removed.
      
      	* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
      	to gnu::gcj::runtime::VMClassLoader.
      	(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry.  Also handle
      	class entries.
      	(VMClassLoader::findSystemClass): renamed from findBootClass.
      
      	* Makefile.am: Add new files.
      	(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.
      
      	* Makefile.in: Rebuilt.
      
      From-SVN: r28748
      Kresten Krab Thorup committed
  35. 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
  36. 06 May, 1999 1 commit
    • InflaterInputStream.java: New stub class. · 0ec3c547
      �
      	* InflaterInputStream.java:  New stub class.
      	* ZipInputStream.java:  New class.  Partly works.
      	* ZipConstants.java:  Add two (internal) constants.
      	* ZipEntry.java (timeFromDOS):  New static (non-public) method.
      	* ZipFile.java:  Make it mostly work, except for compression.
      	* ZipOutputStream.java:  Start implementation.
      
      From-SVN: r26795
      Per Bothner committed
  37. 07 Apr, 1999 1 commit