-2006-08-02 Sven de Marothy <sven@physto.se>
+2007-05-07 Keith Seitz <keiths@redhat.com>
+
+ * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
+ new array-based method.
+ (notify): New function.
+ (sendEvent): Rewrite to use sendEvents.
+ (sendEvents): New method.
+ * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
+ Change parameters to use arrays for events and requests.
+ Add suspendPolicy parameter.
+ Move per-event data transformation to...
+ (_toData): ... here.
+ * gnu/classpath/jdwp/transport/JdwpConnection.java
+ (sendEvent): Renamed to ...
+ (sendEvents): ... this.
+ Change parameters to use arrays for events and requests.
+ Add suspendPolicy parameter.
+
+2007-05-03 Andrew Haley <aph@redhat.com>
+
+ * gnu/javax/management/Server.java (Server): Record the delegate.
+ (registerMBean): Notify the delegate.
+ (unregisterMBean): Likewise.
+ (notify): New method.
+
+2007-04-04 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/ComponentGraphics.java
+ (cairoDrawGlyphVector): Removed method.
+ (cairoSetFont): Removed method.
+ (disposeNative): Removed method.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
+ locking.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
+
+2007-04-27 Keith Seitz <keiths@redhat.com>
+
+ * gnu/classpath/jdwp/event/EventManager.java
+ (getEventRequest): Rename to...
+ (getEventRequests): ...this.
+ Change return type to array of requests.
+ Construct a list of all matching events and return
+ them all.
+ * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
+ and send event notifications for all matching requests.
+
+2007-04-27 Keith Seitz <keiths@redhat.com>
+
+ * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
+ (matches): Use Location.equals to determine equality.
+ * gnu/classpath/jdwp/VMMethod.java (equals):
+ New method.
+ * gnu/classpath/jdwp/util/Location.java (equals):
+ New method.
+
+2007-03-16 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (cairoArc): Make protected rather than private so it can be over-ridden.
+ (cairoClip): Likewise.
+ (cairoClosePath): Likewise.
+ (cairoCurveTo): Likewise.
+ (cairoDrawGlyphVector): Likewise.
+ (cairoFill): Likewise.
+ (cairoLineTo): Likewise.
+ (cairoMoveTo): Likewise.
+ (cairoNewPath): Likewise.
+ (cairoRectangle): Likewise.
+ (cairoResetClip): Likewise.
+ (cairoRestore): Likewise.
+ (cairoSave): Likewise.
+ (cairoScale): Likewise.
+ (cairoSetAntialias): Likewise.
+ (cairoSetDash): Likewise.
+ (cairoSetFillRule): Likewise.
+ (cairoSetFont): Likewise.
+ (cairoSetLine): Likewise.
+ (cairoSetMatrix): Likewise.
+ (cairoSetOperator): Likewise.
+ (cairoSetRGBAColor): Likewise.
+ (cairoStroke): Likewise.
+ (drawPixels): Likewise.
+ (init): Likewise.
+ (setGradient): Likewise.
+ (setPaintPixels): Likewise.
+ (cairoDrawLine): Removed.
+ (cairoDrawRect): Removed.
+ (cairoFillRect): Removed.
+ (cairoPreserveClip): Removed.
+ (cairoRelCurveTo): Removed.
+ (cairoRelLineTo): Removed.
+ (cairoRelMoveTo): Removed.
+ * gnu/java/awt/peer/gtk/ComponentGraphics.java
+ (cairoArc): New method wrapping superclass method in locks.
+ (cairoClip): Likewise.
+ (cairoClosePath): Likewise.
+ (cairoCurveTo): Likewise.
+ (cairoDrawGlyphVector): Likewise.
+ (cairoFill): Likewise.
+ (cairoLineTo): Likewise.
+ (cairoMoveTo): Likewise.
+ (cairoNewPath): Likewise.
+ (cairoRectangle): Likewise.
+ (cairoResetClip): Likewise.
+ (cairoRestore): Likewise.
+ (cairoSave): Likewise.
+ (cairoScale): Likewise.
+ (cairoSetAntialias): Likewise.
+ (cairoSetDash): Likewise.
+ (cairoSetFillRule): Likewise.
+ (cairoSetFont): Likewise.
+ (cairoSetLine): Likewise.
+ (cairoSetMatrix): Likewise.
+ (cairoSetOperator): Likewise.
+ (cairoSetRGBAColor): Likewise.
+ (cairoStroke): Likewise.
+ (disposeNative): Likewise.
+ (drawPixels): Likewise.
+ (init): Likewise.
+ (setGradient): Likewise.
+ (setPaintPixels): Likewise.
+ (draw): Do not lock, as locking is now done in the wrapped native methods.
+ (drawComposite): Likewise.
+ (drawGlyphVector): Likewise.
+ (drawImage): Likewise.
+ (drawRenderedImage): Likewise.
+ (fill): Likewise.
+ (setClip): Removed.
+ (lock): Added documentation.
+ (unlock): Added documentation.
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
+ * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
+ * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
+ * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
+
+2007-04-23 Jeroen Frijters <jeroen@frijters.net>
+
+ PR classpath/31646:
+ * java/util/Arrays.java (qsort): Corrected initial median calculation.
+
+2007-04-19 Casey Marshall <csm@gnu.org>
+
+ PR classpath/31626:
+ * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
+ (createSocket): New method.
+
+2007-04-18 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
+ Changed arguments. Directly print method name.
+ * tools/gnu/classpath/tools/javah/ClassWrapper.java
+ (methodNameMap): New field.
+ (makeVtable): Initialize it.
+ (printMethods): Compute name for bridge targets.
+
+2007-04-17 Andrew Haley <aph@redhat.com>
+
+ * gnu/java/rmi/server/UnicastConnectionManager.java
+ (UnicastConnectionManager(int port, RMIServerSocketFactory)):
+ Listen on "localhost", not localhost.
+
+2007-04-17 Francis Kung <fkung@redhat.com>
+
+ PR classpath/31311
+ * gnu/java/awt/peer/gtk/ComponentGraphics.java
+ (dispose): Removed method.
+ (disposeSurface): Removed method.
+ * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
+ (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
+ (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
+ after it is used to create a cairo context.
+
+2007-04-16 Tom Tromey <tromey@redhat.com>
+
+ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
+ * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
+ (createSocket): Change order of delegation.
+
+2007-04-16 Andrew Haley <aph@redhat.com>
+
+ * java/io/ObjectInputStream.java: (parseContent): Call (String,
+ Object) version of dumpElementln.
+ (dumpElementln(String, Object)): New method.
+ * java/io/ObjectOutputStream.java (writeObject): Call (String,
+ Object) version of dumpElementln.
+ (dumpElementln(String, Object)): New method.
+
+2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/ObjectName.java:
+ (parse(String)): Catch multiple wildcards,
+ initialise with an empty string (so null isn't
+ appended), and emit comma even when wildcard
+ ends the list.
+ (checkComponents()): Catch newlines.
+ (quote(String)): Handle newlines and quotes
+ correctly.
+
+2007-04-16 Andrew Haley <aph@redhat.com>
+
+ * org/omg/IOP/TaggedComponentHelper.java (read): Use
+ read_octet_array(), not read().
+ (write): Use write_octet_array(), not write().
+
+ * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
+ delegate has been set.
+
+ * javax/management/ObjectName.java serialVersionUID: Declare.
+ Make all fields transient.
+ (parse): Break out from constructor.
+ (writeObject, readObject): New methods.
+
+2007-04-02 Keith Seitz <keiths@redhat.com>
+
+ * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
+ Event type is "THREAD_START" not "THREAD_END".
+
+ * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
+ Handle configure strings ":port" and "port".
+
+2007-03-30 Andrew Haley <aph@redhat.com>
+
+ * javax/management/ObjectName.java: Handle 0-length names.
+
+2007-03-27 Andrew Haley <aph@redhat.com>
+
+ * javax/management/MBeanServerFactory.java: Use the domain that
+ we've been passed, not the fixed string "DefaultDomain".
+
+2007-03-29 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/29869:
+ * gnu/java/util/jar/JarUtils.java (log): Commented out.
+ (readSFManifest): Don't log.
+
+2007-03-28 Casey Marshall <csm@gnu.org>
+
+ * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
+ check keyEncipherment bit of the certificate, and just pass the public
+ key to the cipher.
+
+2007-03-27 Casey Marshall <csm@gnu.org>
+
+ PR classpath/31302:
+ * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
+ Always make a new socket.
+ (bind, connect, getInetAddress, getLocalAddress, getPort,
+ getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
+ setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
+ setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
+ setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
+ getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
+ getTrafficClass, setReuseAddress, getReuseAddress, close,
+ shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
+ isInputShutdown, isOutputShutdown): Always use
+ 'underlyingSocket'.
+
+2007-03-27 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/31303:
+ * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
+ (createXMLReader): Code in Classpath default.
+
+2007-03-27 Keith Seitz <keiths@redhat.com>
+
+ Merged from upstream:
+ 2007-03-09 Kyle Galloway <kgallowa@redhat.com>
+ * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
+ * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
+ (executeGetValues): Use Value type.
+ (exectureSetValues): Ditto.
+ * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
+ (executeGetValues): Use Value type.
+ (executeSetValues): Ditto.
+ (invokeMethod): Record method return type.
+ * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
+ (executeGetValues): Use Value type.
+ (executeSetValues): Ditto.
+ * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
+ (executeGetValues): Use Value type.
+ * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
+ (executeGetValues): Use Value type.
+ (executeSetValues): Ditto.
+ * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
+ return type.
+ (getResultType): New Method.
+ (setResultType): Ditto.
+ * gnu/classpath/jdwp/util/Value.java: Remove.
+ * gnu/classpath/jdwp/value: New Package.
+ * gnu/classpath/jdwp/value/Value.java: New file.
+ * gnu/classpath/jdwp/value/BooleanValue.java: New file.
+ * gnu/classpath/jdwp/value/ByteValue.java: New file.
+ * gnu/classpath/jdwp/value/CharValue.java: New file.
+ * gnu/classpath/jdwp/value/DoubleValue.java: New file.
+ * gnu/classpath/jdwp/value/FloatValue.java: New file.
+ * gnu/classpath/jdwp/value/IntValue.java: New file.
+ * gnu/classpath/jdwp/value/LongValue.java: New file.
+ * gnu/classpath/jdwp/value/ObjectValue.java: New file.
+ * gnu/classpath/jdwp/value/ShortValue.java: New file.
+ * gnu/classpath/jdwp/value/StringValue.java: New file.
+ * gnu/classpath/jdwp/value/ValueFactory.java: New file.
+ * gnu/classpath/jdwp/value/VoidValue.java: New file.
+
+ 2007-02-28 Keith Seitz <keiths@redhat.com>
+ * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
+ (executeSet): Check if VM has capability for field access
+ or modification events.
+ * gnu/classpath/jdwp/processor/MethodCommandSet.java
+ (executeByteCodes): Check if VM has capability and
+ implement.
+ * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
+ (executeMonitorInfo): Likewise.
+ * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
+ (executeSourceDebugExtension): Likewise.
+ * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
+ (executePopFrames): Likewise.
+ * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
+ (executeOwnedMonitors): Likewise.
+ (executeCurrentContendedMonitor): Likewise.
+ * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
+ (executeCapabilities): Rewrite using new VMVirtualMachine
+ capabilities.
+ (executeRedefineClasses): Check if VM has capability and
+ implement.
+ (executeSetDefaultStratum): Likewise.
+ * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
+ * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
+ (canWatchFieldModification): New class constant.
+ (canWatchFieldAccess): Likewise.
+ (canGetBytecodes): Likewise.
+ (canGetSyntheticAttribute): Likewise.
+ (canGetOwnedMonitorInfo): Likewise.
+ (canGetCurrentContendedMonitor): Likewise.
+ (canGetMonitorInfo): Likewise.
+ (canRedefineClasses): Likewise.
+ (canAddMethod): Likewise.
+ (canUnrestrictedlyRedefineClasses): Likewise.
+ (canPopFrames): Likewise.
+ (canUseInstanceFilters): Likewise.
+ (canGetSourceDebugExtension): Likewise.
+ (canRequestVMDeathEvent): Likewise.
+ (canSetDefaultStratum): Likewise.
+ (redefineClasses): New method.
+ (setDefaultStratum): Likewise.
+ (getSourceDebugExtension): Likewise.
+ (getBytecodes): Likewise.
+ (getMonitorInfo): Likewise.
+ (getOwnedMonitors): Likewise.
+ (getCurrentContendedMonitor): Likewise.
+ (popFrames): Likewise.
+
+ 2007-02-28 Keith Seitz <keiths@redhat.com>
+ * gnu/classpath/jdwp/processor/MethodCommandSet.java
+ (executeLineTable): Use ReferenceTypeId instead of
+ ClassReferenceTypeId.
+ (executeVariableTable): Likewise.
+ (executeVariableTableWithGeneric): Fix error message.
+ * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
+ (executeSignatureWithGeneric): Fix error message.
+ (executeFieldWithGeneric): Likewise.
+ (executeMethodsWithGeneric): Likewise.
+ * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
+ (executeGetValues): Use ThreadId instead of ObjectId.
+ (executeSetValues): Likewise.
+ (executeThisObject): Likewise.
+
+ 2007-02-28 Kyle Galloway <kgallowa@redhat.com>
+ * gnu/classpath/jdwp/id/NullObjectId.java: New class.
+ * gnu/classpath/jdwp/util/NullObject.java: New class.
+ * vm/reference/gnu/classpath/jdwp/VMIdManager.java
+ (getObjectId): Handle null object.
+ (get): Handle objectId of 0.
+
+ 2007-02-22 Keith Seitz <keiths@redhat.ecom>
+ * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
+ (getAllLoadedClassesCount): Remove.
+ (getAllLoadedClasses): Return a Collection.
+ * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
+ (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
+ now returns Collection.
+ (executeAllClasses): Likewise.
+ Get size of return from Colleciton instead of calling
+ getAllLoadedClassesCount.
+
+ 2007-02-22 Kyle Galloway <kgallowa@redhat.com>
+ * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
+ (executeGetValues): Pass a signature byte to VMFrame.getValue.
+ * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
+ signature parameter.
+
+ 2007-02-02 Kyle Galloway <kgallowa@redhat.com>
+ * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
+ (executeGetValues): Changed getFrame to use a jlong to pass frameID.
+ (executeSetValues): Ditto.
+ (executeThisObject): Ditto.
+ * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
+ and a constructor used to create VMFrames.
+ (getThread): New method.
+ * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
+ Changed to take a long instead of a ByteBuffer to pass the frameID.
+
+ 2007-01-15 Kyle Galloway <kgallowa@redhat.com>
+ * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
+
+2007-03-26 Tom Tromey <tromey@redhat.com>
+
+ * doc/cp-tools.texinfo (gcjh Tool): Added more text.
+ (rmid Tool): Likewise.
+
+2007-03-25 Dalibor Topic <robilad@kaffe.org>
+
+ * doc/cp-tools.texinfo: Fix node ordering.
+
+2007-03-19 Matthias Klose <doko@ubuntu.com>
+
+ * doc/Makefile.am: Build a gcjh(1) man page.
+ * doc/cp-tools.texinfo: Add documentation for gcjh.
+
+2007-03-26 Stepan Kasal <skasal@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
+ field.
+ (getParser): Use new field.
+
+2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * resource/com/sun/tools/javac/messages.properties
+ (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
+ messages for when --with-ecj-jar is not specified.
+ * configure.ac (FOUND_ECJ_JAR): Remove conditional.
+ * tools/Makefile.am: Build com.sun.tools.javac package
+ unconditionally.
+ * configure, doc/api/Makefile.in, doc/Makefile.in,
+ examples/Makefile.in, external/jsr166/Makefile.in,
+ external/Makefile.in, external/relaxngDatatype/Makefile.in,
+ external/sax/Makefile.in, external/w3c_dom/Makefile.in,
+ include/Makefile.in, lib/Makefile.in, Makefile.in,
+ native/fdlibm/Makefile.in, native/jawt/Makefile.in,
+ native/jni/classpath/Makefile.in,
+ native/jni/gconf-peer/Makefile.in,
+ native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
+ native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
+ native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
+ native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
+ native/jni/midi-dssi/Makefile.in,
+ native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
+ native/jni/xmlj/Makefile.in, native/Makefile.in,
+ native/plugin/Makefile.in, resource/Makefile.in,
+ scripts/Makefile.in, tools/Makefile.in: Regenerate.
+ * tools/classes/com/sun/tools/javac: New directory.
+ * tools/classes/com/sun/tools/javac/Main.class,
+ tools/classes/com/sun/tools/javac/Messages.class: New files.
+
+2007-03-16 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
+ name in File case.
+
+2007-03-16 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/JniStubPrinter.java
+ (printClass): Added filename argument.
+ * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
+ (printClass): Added filename argument.
+ * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
+ (printClass): Use user's file name.
+ * tools/gnu/classpath/tools/javah/CniStubPrinter.java
+ (printClass): Use user's file name.
+ * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
+ filename argument.
+ * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
+ argument order.
+ (writeHeaders): Use a HashMap.
+ (run): Put class name into HashMap for writeHeaders.
+
+2007-03-02 Mario Torre <neugens@limasoftware.net>
+
+ PR classpath/31017:
+ committed for Petteri Räty <betelgeuse@gentoo.org>
+ * configure.ac: fix broken build for gcj browser plugin
+
+2007-02-20 Jakub Jelinek <jakub@redhat.com>
+
+ * java/util/Date.java (parse): Properly parse 09:01:02 as
+ hours/minutes/seconds, not as hours/minutes/year.
+ * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
+ {start,end}TimeMode constructor by calling shorter constructor,
+ set {start,end}TimeMode fields after it returns.
+ (setStartRule): Don't adjust startTime into WALL_TIME. Set
+ startTimeMode to WALL_TIME.
+ (endStartRule): Similarly.
+ (getOffset): Handle properly millis + dstOffset overflowing into the
+ next day. Adjust startTime resp. endTime based on startTimeMode
+ resp. endTimeMode.
+ * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
+ static fields.
+ (timezones): Remove synchronized keyword. Set zoneinfo_dir.
+ If non-null, set up aliases0 and don't put anything into
+ timezones0.
+ (defaultZone): Call getTimeZone instead of timezones().get.
+ (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
+ getTimeZoneInternal instead of timezones().get.
+ (parseTime): Parse correctly hour:minute.
+ (getTimeZoneInternal): New private method.
+ (getTimeZone): Do the custom ID checking first, canonicalize
+ ID for custom IDs as required by documentation. Call
+ getTimeZoneInternal to handle the rest.
+ (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
+ (getAvailableIDs(File,String,ArrayList)): New private method.
+ (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
+ * gnu/java/util/ZoneInfo.java: New file.
+
+2007-02-20 Matthias Klose <doko@ubuntu.com>
+
+ * doc/Makefile.am: Add rules to build and install man pages
+ from texinfo docs.
+ * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
+ Rename, prefix files with "cp-".
+ * doc/cp-tools.texinfo: Add markup for man page generation,
+ add documentation for command line options for gjar, gjavah,
+ gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
+ doc/texi2pod.pl: New, taken from the GCC sources.
+
+2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
+
+ PR classpath/28652:
+ * javax/management/MBeanInfo.java (MBeanInfo):
+ Use clone to duplicate the arrays in order to
+ preserve the array type.
+
+2007-02-16 Andrew Haley <aph@redhat.com>
+
+ * gnu/java/lang/management/MemoryMXBeanImpl.java,
+ javax/management/MBeanServerDelegate.java: Use
+ gnu.javax.management.ListenerData rather than
+ gnu.classpath.ListenerData.
+ * gnu/javax/management/ListenerData.java: Move here from
+ gnu/classpath/ListenerData.java.
+
+2007-02-14 Jakub Jelinek <jakub@redhat.com>
+ Andrew Haley <aph@redhat.com>
+
+ * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
+
+2007-02-09 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/30647:
+ * configure: Rebuilt.
+ * configure.ac: Also check for jack/jack.h.
+
+2007-02-09 Jakub Jelinek <jakub@redhat.com>
+
+ * java/util/TimeZone.java: Handle default (one hour) daylight
+ savings.
+
+2007-02-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR 23566
+ * scripts/timezones.pl: Parse each file in 2 passes, in one parse
+ just Rule lines, in the other everything else. Pass 0 instead of
+ $savings as second argument to parseRule when parsing the start
+ rule.
+ * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
+
+2007-02-07 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 30718.
+ * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
+ * gnu/xml/transform/XSLURIResolver.java: Add support for custom
+ SAXSources without a backing URL or stream.
+
+ Fixes PR 27710.
+ * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
+ LSParser if implementation does not support asynchronous.
+ * gnu/xml/stream/XMLParser.java,
+ gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
+ java.net.URL to resolve to an an absolute URI, to avoid nonexistent
+ protocol handler problems.
+
+2007-02-06 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/30707:
+ * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
+ (printClass): Always print a header.
+
+2007-02-05 Andrew Haley <aph@redhat.com>
+
+ PR cp-tools/30706
+ * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
+ (printClass): Replace '/' in filenames with '_'.
+ * tools/gnu/classpath/tools/javah/JniStubPrinter.java
+ (printClass): Likewise.
+
+2007-02-05 Tom Tromey <tromey@redhat.com>
+
+ * java/net/Proxy.java (equals): Handle case where address==null.
+ (hashCode): Likewise.
+ (toString): Likewise.
+
+2007-01-31 Tom Tromey <tromey@redhat.com>
+
+ * resource/gnu/classpath/tools/jar/messages.properties
+ (Main.Stdin): New message.
+ * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
+ '-@' option.
+ (readNames): New method.
+ (run): Use it.
+
+2007-01-26 Andrew Haley <aph@redhat.com>
+
+ * java/lang/SecurityManager.java: Load and initialize
+ java.security.Security.
+
+2007-01-26 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
+ 'volatile' after field type.
+
+2007-01-23 Marco Trudel <mtrudel@gmx.ch>
+
+ * java/util/Arrays.java (binarySearch): Change comparison order.
+
+2007-01-17 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/PathOptionGroup.java
+ (PathOptionGroup): Set default boot class path.
+
+2006-12-14 Andrew Haley <aph@redhat.com>
+
+ * tools/gnu/classpath/tools/jar/Creator.java: Close the
+ inputStream.
+
+2006-10-12 Andrew Haley <aph@redhat.com>
+
+ * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
+ * java/lang/ThreadLocal.java: Likewise.
+
+2006-09-13 Andrew Haley <aph@redhat.com>
+
+ * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
+ Revert previous gcj-specific disabling of checks.
+ * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
+ Likewise.
+ * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
+ Likewise.
+
+2006-09-13 Andrew Haley <aph@redhat.com>
+
+ * java/util/PriorityQueue.java: Throw IllegalArgumentException for
+ capacity < 1.
+ (Iterator.remove()): Decrement index after removing element.
+
+2006-12-11 Jeroen Frijters <jeroen@frijters.net>
+
+ * javax/net/ssl/SSLSocketFactory.java (getDefault):
+ Chain exception cause.
+
+2006-12-11 Roman Kennke <kennke@aicas.com>
+
+ * .classpath: Include ASM in Eclipse classpath.
+
+2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/BeanImpl.java:
+ (translate(String)): Trim strings of whitespace.
+ * javax/management/MBeanAttributeInfo.java:
+ (MBeanAttributeInfo(String,String,Method,Method)):
+ Use Class.getName() for normal (non-parameterized) cases.
+ * javax/management/MBeanConstructorInfo.java:
+ (MBeanConstructorInfo(String, Constructor)):
+ Likewise.
+ * javax/management/MBeanOperationInfo.java:
+ (MBeanOperationInfo(String, Method)):
+ Likewise.
+
+2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/Class.java:
+ (getClasses()): Return Class<?>[].
+ (internalGetClasses()): Likewise.
+ (getConstructor(Class<?>...)): Add type parameter
+ to parameters.
+ (getDeclaredConstructor(Class<?>...)): Likewise.
+ (getDeclaredClasses()): Return Class<?>[].
+ (getDeclaredClasses(boolean)): Likewise.
+ (getDeclaredConstructors()): Return Constructor<?>[].
+ (getDeclaredConstructors(boolean)): Likewise.
+ (getDeclaredMethod(String,Class<?>...)): Add type
+ parameter to parameters.
+ (getInterfaces()): Return Class<?>[].
+ (getMethods(String,Class<?>...)): Add type
+ parameter to parameters.
+ * java/text/CollationKey.java:
+ Make non-final.
+ * java/text/DecimalFormatSymbols.java:
+ Likewise.
+
+2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/BeanImpl.java:
+ (translate(String)): Handle Map and List as
+ Strings of the form "java.util.Map<K,V>" and
+ "java.util.List<E>"
+ * javax/management/MBeanAttributeInfo.java:
+ (MBeanAttributeInfo(String,String,Method,Method)):
+ Use generic parameter and return types.
+ * javax/management/MBeanConstructorInfo.java:
+ (MBeanConstructorInfo(String, Constructor)):
+ Use generic parameter types.
+ * javax/management/MBeanOperationInfo.java:
+ (MBeanOperationInfo(String, Method)):
+ Use generic parameter and return types.
+
+2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/BeanImpl.java:
+ (translate(String)): Comment out code for using type
+ variables for Map and List.
+ * java/lang/Thread.java:
+ (Thread(ThreadGroup,Runnable,String,long)): Fix
+ incrementation of totalThreadsCreated to be prior to use.
+
+2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/MBeanServerFactory.java:
+ (createMBeanServer(String)): Added security check.
+ (findMBeanServer(String)): Likewise.
+ (newMBeanServer(String)): Likewise.
+ (releaseMBeanServer(String)): Likewise.
+ * javax/management/MBeanServerPermission.java:
+ New file.
+
+2006-12-08 David Daney <ddaney@avtrex.com>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
+ Fix comment.
+
+2006-12-08 David Daney <ddaney@avtrex.com>
+
+ * NEWS: Mention URLConnection.[get|set]ReadTimeout.
+
+2006-12-08 David Daney <ddaney@avtrex.com>
+
+ * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
+ SocketException.
+ (HTTPConnection): Handle NumberFormatException in properties parsing.
+ (Pool.get): Set timeout on reused sockets.
+ * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
+ Initialize.
+ (HTTPURLConnection): Cleanup properties handling.
+ (getConnection): Use both connection and read timeouts.
+ (setConnectTimeout): Removed.
+ (setReadTimeout): New method.
+ * java/net/URLConnection.java (timeout): Renamed to...
+ (connectTimeout): ... connectTimeout throughout.
+ (readTimeout): New field.
+ (getReadTimeout): New method.
+ (setReadTimeout): New method.
+
+2006-12-08 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPane.java
+ (doLayout): Change the location of the scrollpane's child
+ to (0, 0).
+
+2006-12-08 David Daney <ddaney@avtrex.com>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
+ New method.
+ (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
+ SocketTimeoutException if a blocking socket timesout.
+ (Java_gnu_java_nio_VMChannel_readScattering): Same.
+ (Java_gnu_java_nio_VMChannel_read__I): Same.
+ (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
+ (Java_gnu_java_nio_VMChannel_connect6): Same.
+
+2006-12-08 Mark Wielaard <mark@klomp.org>
+
+ * configure.ac (VERSION): Set to 0.93-generics.
+ * NEWS: Add release date.
+
+2006-12-08 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPane.java
+ (getScrollPosition): Throw NullPointerException if scrollpane
+ does have a child.
+ (setScrollPosition(int, int)): Throw NullPointerException if
+ scrollpane does have a child. Check that both ints are within
+ the allowed bounds; If they are not, scroll to the closest allowed
+ bound.
+
+2006-12-07 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (EditorKitMapping): New inner helper class.
+ (editorKits): New static field for caching editor kit instances.
+ (static_initiazer): Initialize static mappings here.
+ (createEditorKitForContentType): Try to use cached instance.
+ Use correct classloader for loading.
+ (getEditorKitClassNameForContentType): Make use of EditorKitMapping
+ class.
+ (getEditorKitForContentType): Store the fetched editor kit.
+ Fallback to createDefaultEditorKit().
+ (init): Don't clean the static registry here.
+ (registerEditorKitForContentType(String,String,ClassLoader)):
+ Implemented.
+ (registerEditorKitForContentType(String,String)): Delegate to
+ the other version of this method with the thread's context
+ classloader.
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (setPage): Don't convert URL to String for setPage().
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * tools/Makefile.am: Explicitly define and use bootclasspath as
+ GLIBJ_BOOTCLASSPATH
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/JEditorPane.java (createEditorKitForContentType):
+ Always load from system class loader.
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
+ private constructor.
+ (URL(URL,String,URLStreamHandler)): Call new constructor.
+ (URL(URL,String)): Likewise.
+ (URL(String)): Likewise.
+
+2006-12-07 Tom Tromey <tromey@redhat.com>
+
+ * NEWS: Mention ASM.
+ * INSTALL: Don't mention --with-asm.
+ * tools/external/README: New file.
+ * tools/toolwrapper.c (main): Don't use ASM_JAR.
+ * tools/gjavah.in: Don't use PATH_TO_ASM.
+ * tools/grmic.in: Likewise.
+ * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
+ 'asm'.
+ (javah, rmic): Removed variables.
+ (bin_PROGRAMS): Updated.
+ (gappletviewer_CFLAGS): Don't define ASM_JAR.
+ (gjarsigner_CFLAGS): Likewise.
+ (gkeytool_CFLAGS): Likewise.
+ (gjar_CFLAGS): Likewise.
+ (gnative2ascii_CFLAGS): Likewise.
+ (gserialver_CFLAGS): Likewise.
+ (grmiregistry_CFLAGS): Likewise.
+ (gtnameserv_CFLAGS): Likewise.
+ (gorbd_CFLAGS): Likewise.
+ (grmid_CFLAGS): Likewise.
+ (gjavah_CFLAGS): Likewise.
+ (grmic_CFLAGS): Likewise.
+ (bin_SCRIPTS): Updated.
+ (TOOLS_JAVA_FILES): Updated.
+ ($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
+ * configure.ac: Removed --with-asm. Always build gjavah.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
+ New class.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (LoadActionListener): Call setPage() helper method.
+ (createContent): Register tweaked editor kit. For FormSubmitEvents
+ call submitForm(), otherwise setPage().
+ (postData): Helper method for posting form data.
+ (setPage): Helper method for navigating to a new URL.
+ (submitForm): Helper method for submitting a form.
+ * examples/gnu/classpath/examples/swing/forms.html:
+ Added text/password fields and select boxes.
+ * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/FormView.java
+ (SubmitThread.postData): Implemented.
+ (SubmitThread.run): Pass data to postData().
+ (actionPerformed): Reset form when reset button is activated.
+ (createComponent): Add support for select lists and comboboxes.
+ Don't set value of text and password fields here, this is done
+ now in HTMLDocument for consistency.
+ (getElementFormData): Add support for fetching form data from
+ select lists and comboboxes as well as textareas.
+ (getSelectData): New helper method. Fetches form data from
+ select boxes.
+ (getTextAreaData): New helper method. Fetches form data from
+ textareas.
+ (resetForm): New helper method. Resets the entire form.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
+ (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
+ (HTMLReader.FormAction.setModel): Initialize text and password
+ values here. Also, use the resetable special models.
+ Group radio buttons into ButtonGroup for exclusive selection.
+ (HTMLReader.FormTagAction): New class. Handles FORM tags.
+ (HTMLReader.buttonGroups): New field.
+ (HTMLReader.numOptions): New field.
+ (HTMLReader.option): New field.
+ (HTMLReader.selectModel): New field.
+ (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
+ (HTMLReader.handleText): Handle OPTION text.
+ (HTMLReader.initTags): Map FORM tags to FormTagAction.
+ (HTMLReader.textAreaContent): Set initial content.
+ * javax/swing/text/html/Option.java
+ (Option): Make copy of attribute set. Initialize selected state.
+ (getValue): Fetch value from attribute set.
+ * javax/swing/text/html/ResetableModel.java: New interface.
+ * javax/swing/text/html/ResetablePlainDocument.java: New class.
+ Supports resetting the state.
+ * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
+ * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
+ * javax/swing/text/html/SelectListModel.java: Likewise.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/DefaultCaret.java
+ (appear): Adjust visibility here.
+ (setDotImpl): Don't adjust visibility here.
+ (moveDotImpl): Don't adjust visibility here.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/gtk/AsyncImage.java
+ (Loader.run): Synchronize on the AsyncImage to avoid threading
+ issues.
+ (addObservers): Check for obs==null outside and synchronize on
+ this inside to avoid locking issues.
+ (checkImage): New helper method.
+ (notifyObservers): Check that the correct lock is held and
+ remove actual locking.
+ * gnu/java/awt/peer/gtk/GtkToolkit.java
+ (checkImage): Added special handling for AsyncImages.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/Demo.java
+ (getIcon): Made package private.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (hyperlinkUpdate): Convert URL to string.
+
+2006-12-06 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
+ null Observer.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/icons/back.png,
+ * examples/gnu/classpath/examples/icons/reload.png:
+ New icons for the HTML browser.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (history): New field. Manages the browsing history.
+ (HtmlDemo): Initialize history.
+ (createContent): Set location and add history. Add toolbar.
+ (createToolBar): New helper method.
+ (main): Make default size bigger.
+ * examples/gnu/classpath/examples/swing/frame1.html,
+ * examples/gnu/classpath/examples/swing/frame2.html,
+ * examples/gnu/classpath/examples/swing/frame3.html,
+ * examples/gnu/classpath/examples/swing/frame4.html,
+ * examples/gnu/classpath/examples/swing/frames.html,
+ * examples/gnu/classpath/examples/swing/tables.html:
+ New example pages.
+ * examples/gnu/classpath/examples/swing/welcome.html
+ Add a couple of links and new test pages.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (getStream): Buffer the stream for efficiency.
+ (setPage): Don't scroll the view at this point.
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (RootView.paint): Call RootView's setSize to get synchronization.
+ (RootView.setSize): Synchronize to prevent race in layout code.
+ * javax/swing/text/AbstractDocument.java
+ (notifyListeners): New field.
+ (fireChangedUpdate): Track notifyListener field.
+ (fireRemoveUpdate): Track notifyListener field.
+ (fireIndertUpdate): Track notifyListener field.
+ (writeLock): Check notifyListener and throw IllegalStateException.
+ * javax/swing/text/View.java
+ (preferenceChanged): Create local var for better thread safety and
+ more efficiency.
+
+2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
+ lightweight component, not just for non-Panel components.
+ (addImpl): Do not call doLayout.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
+ (setNativeBounds): Ensure widget parent is a GtkFixed before
+ calling gtk_fixed_move.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
+ (setNativeBounds): Likewise.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
+ (setNativeBounds): Likewise.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/TableView.java
+ (RowView.layoutMajorAxis): Check column index for invalid value.
+ (updateGrid): Check column index for invalid value.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/BlockView.java
+ (getAlignment): Align blocks horizontally by the superclass.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Replace equals comparison by == for efficiency.
+ Add mapping for misplaced tr, td and th tags. Include object mapping.
+ * javax/swing/text/html/TableView.java
+ (RowView.replace): Invalidate grid early.
+ (gridValid): Initialize with false.
+ (create): Only create RowView and CellView for correctly placed
+ tags. Avoid unnecessary casts.
+ (getAlignment): Removed.
+ (replace): Invalidate grid early.
+
+2006-12-06 Francis Kung <fkung@redhat.com>
+
+ * java/awt/geom/RectangularShape.java
+ (getBounds): Remove empty rectangle check.
+
+2006-12-06 Ben Konrath <bkonrath@redhat.com>
+
+ Fixes PR 29853.
+ * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
+ newValue are the same.
+ * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
+
+2006-12-06 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/border/CompoundBorder.java:
+ (isBorderOpaque): If inside border is null, return true if outside
+ border is opaque, false otherwise; if outside border is null, return
+ true if inside border is opaque, false otherwise; if inside or
+ outside border are both not null, then return true only if both the
+ inside and outside border are opaque, false otherwise.
+
+2006-12-06 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/border/CompoundBorder.java:
+ (isBorderOpaque): If inside and outside border both have a null
+ value, return true.
+
+2006-12-06 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 29272.
+ * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
+ * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
+
+2006-12-06 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 29264.
+ * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
+ writeDTD method.
+
+2006-12-06 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 28816.
+ * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
+ discover schema factory implementation class.
+
+2006-12-05 Francis Kung <fkung@redhat.com>
+
+ * java/awt/BasicStroke.java
+ (capEnd): Prevent division by zero.
+ * java/awt/geom/Arc2D.java
+ (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
+ (ArcIterator.currentSegment): Handle a negative extent.
+
+2006-12-05 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (constructor): Handle translated subimages properly, ie, if the image's
+ 0,0 position is not the data buffer's first element.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/gtk/AsyncImage.java
+ (Loader.run): Nullify observers after loading.
+ (observers): Made package private.
+ (addObserver): Check for null observers field. Create local
+ variable for thread safety.
+ (getHeight): Use addObserver() for checking state of field
+ and notifying observer when necessary.
+ (getWidth): Use addObserver() for checking state of field
+ and notifying observer when necessary.
+ (getProperty): Use addObserver() for checking state of field
+ and notifying observer when necessary.
+ (notifyObservers): Check for null observers field. Create local
+ variable for thread safety.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Removed debug output.
+ * javax/swing/text/html/InlineView.java
+ (getBreakWeight): Likewise.
+ * javax/swing/text/html/StyleSheet.java
+ (addRule): Likewise.
+ (ListPainter.paint): Removed debug output.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/BlockView.java
+ (painter): Made package visible.
+ * javax/swing/text/html/StyleSheet.java
+ (translateBorder): New helper method.
+ (translateHTMLToCSS): Add mappings for border attributes.
+ * javax/swing/text/html/TableView.java
+ Made class subclass of BlockView to get CSS goodness.
+ (CellView.rowSpan): New field.
+ (CellView.setPropertiesFromAttributes): Fetch rowspan.
+ (RowView.overlap): New field.
+ (RowView.rowIndex): New field.
+ (RowView.layoutMajorAxis): Skip overlapping cells.
+ (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
+ (numColumns): New field.
+ (tmpRect): New field.
+ (TableView): Initialize tmpRect.
+ (calculateColumnRequirements): Adjusted and fixed for multirows.
+ (getAlignment): Overridden to center tables.
+ (paint): Overridden to fix clipping.
+ (getStyleSheet): Made protected.
+ (layoutMajorAxis): Invalidate rows.
+ (setPropertiesFromAttributes): Made protected and call super.
+ (updateGrid): Update the overlapping information for multirows.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/gtk/AsyncImage.java
+ (addObserver): Check for null and ignore null observers.
+ (getWidth): Check for null and ignore null observers.
+ (getHeight): Check for null and ignore null observers.
+ (getProperty): Check for null and ignore null observers.
+
+2006-12-05 Francis Kung <fkung@redhat.com>
+
+ * java/awt/BasicStroke.java
+ (capEnd): Prevent division by zero.
+ * java/awt/geom/Arc2D.java
+ (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
+ (ArcIterator.currentSegment): Handle a negative extent.
+
+2006-12-05 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (constructor): Handle translated subimages properly, ie, if the image's
+ 0,0 position is not the data buffer's first element.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/ImageView.java
+ (imageUpdate): Use spans field to determine if the CSS width/height
+ are set. Call safePreferenceChanged to protect view structure
+ from threading issues.
+ (spans): Made package private.
+ (ImageView): Initialize loadOnDemand with false.
+ (loadImage): Call Toolkit.prepareImage() to make sure we have
+ our Observer registered.
+ (safePreferenceChanged): New helper method. Calls preferenceChanged
+ in a thread safe environment.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * NEWS: Add entry about improved HTML support.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/ImageView.java
+ (ImageView): Initialize spans array here.
+ (setPropertiesFromAttributes): Moved init of spans array to
+ constructor.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/BlockView.java
+ (painter): Made package visible.
+ * javax/swing/text/html/StyleSheet.java
+ (translateBorder): New helper method.
+ (translateHTMLToCSS): Add mappings for border attributes.
+ * javax/swing/text/html/TableView.java
+ Made class subclass of BlockView to get CSS goodness.
+ (CellView.rowSpan): New field.
+ (CellView.setPropertiesFromAttributes): Fetch rowspan.
+ (RowView.overlap): New field.
+ (RowView.rowIndex): New field.
+ (RowView.layoutMajorAxis): Skip overlapping cells.
+ (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
+ (numColumns): New field.
+ (tmpRect): New field.
+ (TableView): Initialize tmpRect.
+ (calculateColumnRequirements): Adjusted and fixed for multirows.
+ (getAlignment): Overridden to center tables.
+ (paint): Overridden to fix clipping.
+ (getStyleSheet): Made protected.
+ (layoutMajorAxis): Invalidate rows.
+ (setPropertiesFromAttributes): Made protected and call super.
+ (updateGrid): Update the overlapping information for multirows.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Removed debug output.
+ * javax/swing/text/html/InlineView.java
+ (getBreakWeight): Likewise.
+ * javax/swing/text/html/StyleSheet.java
+ (addRule): Likewise.
+ (ListPainter.paint): Removed debug output.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/BlockView.java
+ (getAlignment): Align blocks horizontally by the superclass.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Replace equals comparison by == for efficiency.
+ Add mapping for misplaced tr, td and th tags. Include object mapping.
+ * javax/swing/text/html/TableView.java
+ (RowView.replace): Invalidate grid early.
+ (gridValid): Initialize with false.
+ (create): Only create RowView and CellView for correctly placed
+ tags. Avoid unnecessary casts.
+ (getAlignment): Removed.
+ (replace): Invalidate grid early.
+
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/TableView.java
+ (RowView.layoutMajorAxis): Check column index for invalid value.
+ (updateGrid): Check column index for invalid value.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (getStream): Buffer the stream for efficiency.
+ (setPage): Don't scroll the view at this point.
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (RootView.paint): Call RootView's setSize to get synchronization.
+ (RootView.setSize): Synchronize to prevent race in layout code.
+ * javax/swing/text/AbstractDocument.java
+ (notifyListeners): New field.
+ (fireChangedUpdate): Track notifyListener field.
+ (fireRemoveUpdate): Track notifyListener field.
+ (fireIndertUpdate): Track notifyListener field.
+ (writeLock): Check notifyListener and throw IllegalStateException.
+ * javax/swing/text/View.java
+ (preferenceChanged): Create local var for better thread safety and
+ more efficiency.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/icons/back.png,
+ * examples/gnu/classpath/examples/icons/reload.png:
+ New icons for the HTML browser.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (history): New field. Manages the browsing history.
+ (HtmlDemo): Initialize history.
+ (createContent): Set location and add history. Add toolbar.
+ (createToolBar): New helper method.
+ (main): Make default size bigger.
+ * examples/gnu/classpath/examples/swing/frame1.html,
+ * examples/gnu/classpath/examples/swing/frame2.html,
+ * examples/gnu/classpath/examples/swing/frame3.html,
+ * examples/gnu/classpath/examples/swing/frame4.html,
+ * examples/gnu/classpath/examples/swing/frames.html,
+ * examples/gnu/classpath/examples/swing/tables.html:
+ New example pages.
+ * examples/gnu/classpath/examples/swing/welcome.html
+ Add a couple of links and new test pages.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/Demo.java
+ (getIcon): Made package private.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (hyperlinkUpdate): Convert URL to string.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/DefaultCaret.java
+ (appear): Adjust visibility here.
+ (setDotImpl): Don't adjust visibility here.
+ (moveDotImpl): Don't adjust visibility here.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/FormView.java
+ (SubmitThread.postData): Implemented.
+ (SubmitThread.run): Pass data to postData().
+ (actionPerformed): Reset form when reset button is activated.
+ (createComponent): Add support for select lists and comboboxes.
+ Don't set value of text and password fields here, this is done
+ now in HTMLDocument for consistency.
+ (getElementFormData): Add support for fetching form data from
+ select lists and comboboxes as well as textareas.
+ (getSelectData): New helper method. Fetches form data from
+ select boxes.
+ (getTextAreaData): New helper method. Fetches form data from
+ textareas.
+ (resetForm): New helper method. Resets the entire form.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
+ (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
+ (HTMLReader.FormAction.setModel): Initialize text and password
+ values here. Also, use the resetable special models.
+ Group radio buttons into ButtonGroup for exclusive selection.
+ (HTMLReader.FormTagAction): New class. Handles FORM tags.
+ (HTMLReader.buttonGroups): New field.
+ (HTMLReader.numOptions): New field.
+ (HTMLReader.option): New field.
+ (HTMLReader.selectModel): New field.
+ (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
+ (HTMLReader.handleText): Handle OPTION text.
+ (HTMLReader.initTags): Map FORM tags to FormTagAction.
+ (HTMLReader.textAreaContent): Set initial content.
+ * javax/swing/text/html/Option.java
+ (Option): Make copy of attribute set. Initialize selected state.
+ (getValue): Fetch value from attribute set.
+ * javax/swing/text/html/ResetableModel.java: New interface.
+ * javax/swing/text/html/ResetablePlainDocument.java: New class.
+ Supports resetting the state.
+ * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
+ * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
+ * javax/swing/text/html/SelectListModel.java: Likewise.
+
+2006-12-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
+ New class.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java
+ (LoadActionListener): Call setPage() helper method.
+ (createContent): Register tweaked editor kit. For FormSubmitEvents
+ call submitForm(), otherwise setPage().
+ (postData): Helper method for posting form data.
+ (setPage): Helper method for navigating to a new URL.
+ (submitForm): Helper method for submitting a form.
+ * examples/gnu/classpath/examples/swing/forms.html:
+ Added text/password fields and select boxes.
+ * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
+ private constructor.
+ (URL(URL,String,URLStreamHandler)): Call new constructor.
+ (URL(URL,String)): Likewise.
+ (URL(String)): Likewise.
+
+2006-12-07 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/JEditorPane.java (createEditorKitForContentType):
+ Always load from system class loader.
+
+2006-12-06 Ben Konrath <bkonrath@redhat.com>
+
+ Fixes PR 29853.
+ * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
+ newValue are the same.
+ * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
+
+2006-12-06 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 29272.
+ * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
+ * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
+
+2006-12-06 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 29264.
+ * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
+ writeDTD method.
+
+2006-12-056 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 28816.
+ * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
+ discover schema factory implementation class.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
+ asynchronous loading of images.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (drawImage): Fetch real image from possibly AsyncImage.
+ * gnu/java/awt/peer/gtk/ComponentGraphics.java
+ (drawImage): Fetch real image from possibly AsyncImage.
+ * gnu/java/awt/peer/gtk/GtkToolkit.java
+ (createImage(URL)): Create async image.
+ (imageOrError): Made method static for easy access from AsyncImage.
+ (prepareImage): For async images, register the observer to the
+ image.
+
+2006-12-05 Roman Kennke <kennke@aicas.com>
+
+ (paintComponent): Include paint area from event.
+ (updateComponent): Include paint area from event.
+
+2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
+ lightweight component, not just for non-Panel components.
+ (addImpl): Do not call doLayout.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
+ (setNativeBounds): Ensure widget parent is a GtkFixed before
+ calling gtk_fixed_move.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
+ (setNativeBounds): Likewise.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
+ (setNativeBounds): Likewise.
+
+2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * java/awt/Component.java (getFontImpl): Return a default font if
+ topmost parent's font is null.
+
+2006-12-04 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/html/CSS.java (parseMarginShorthand):
+ Remove debug output.
+
+2006-12-04 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/font/TextLayout.java
+ (hitTestChar): Fixed conditions for inclusion of range.
+ Use layout information in the run for more efficiency.
+
+2006-12-04 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/GlyphView.java
+ (J2DGlyphPainter): New inner class.
+ (checkPainter): For Java2D capable environments create
+ a J2DGlyphPainter.
+
+2006-12-04 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
+ (FreeTypeGlyphVector): Don't filter control chars here.
+ (getGlyphs): Filter control chars and replace them by
+ hair space char.
+
+2006-12-04 Roman Kennke <kennke@aicas.com>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c
+ (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
+
+2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/BeanImpl.java:
+ (translate(String)): Don't assume the list uses "E",
+ just use the first and only type variable.
+ * java/lang/management/ManagementFactory.java:
+ (getPlatformMBeanServer()): Register logging bean.
+ * javax/management/openmbean/OpenType.java:
+ (OpenType(String,String,String)): Actually use
+ the string created to handle arrays.
+
+2006-12-04 Mark Wielaard <mark@klomp.org>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c
+ (JCL_thread_interrupted): Use CallStaticBooleanMethod.
+
+2006-12-04 Mark Wielaard <mark@klomp.org>
+
+ * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
+ Make static.
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c
+ (JCL_thread_interrupted): Only take JNIEnv.
+ (vm_channel_class): New static variable.
+ (initID): Set vm_channel_class.
+ Wrap all reads() and writes() in do-while blocks that check
+ interrupted status.
+
+2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/javax/management/Server.java:
+ Make map final and initialise it.
+ (unregisterMBean(ObjectName)): Match against
+ delegate's object name and not the instance.
+ * java/lang/management/ManagementFactory.java:
+ Added constant fields.
+ (getPlatformMBeanServer()): Implemented.
+ * javax/management/MBeanServerFactory.java: New file.
+
+2006-12-04 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (paint): Replaced painting algorithm with more simple and more
+ reliable painting of the box.
+ * javax/swing/text/html/BlockView.java
+ (PositionInfo): New inner class. Stores additional CSS
+ positioning information.
+ (positionInfo): New field.
+ (BlockView): Initialize positionInfo field.
+ (fetchLayoutInfo): New helper method. Fetches additional
+ CSS positioning information.
+ (layoutMajorAxis): Perform additional CSS layout.
+ (layoutMinorAxis): Perform additional CSS layout.
+ (positionView): New helper method.
+ (replace): Overridden to fetch additional layout information.
+ * javax/swing/text/html/CSS.java
+ (Attribute.POSITION): New field.
+ (Attribute.LEFT): New field.
+ (Attribute.RIGHT): New field.
+ (Attribute.TOP): New field.
+ (Attribute.BOTTOM): New field.
+ (getValue): Create Length for left, right, top and bottom
+ attributes.
+
+2006-12-04 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (Sgml): Consume any whitespace that immediately follows
+ and sgml insertion.
+ (parseDocument): Consume any initial whitespace.
+
+2006-12-03 Mark Wielaard <mark@klomp.org>
+
+ * gnu/javax/management/Server.java (beans): Initialize.
+ (registerMBean): Don't initialize beans.
+
+2006-12-03 Mark Wielaard <mark@klomp.org>
+
+ * java/util/logging/LogManager.java (getLevelProperty): Check
+ whether value is null before passing to Level.parse().
+
+2006-12-04 Robert Lougher <rob.lougher@gmail.com>
+
+ * java/lang/management/ThreadInfo.java (ThreadInfo): Check
+ whether given a null lock and lockOwner.
+
+2006-12-03 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
+ (PageLoader.page): Made package local.
+ (PageLoader.run): Don't reset loader.
+ (PageLoader.cancel): New method.
+ (loading): Renamed to loader.
+ (getPage): Return loader.page.
+ (setPage): Always set loader. Never reset to null.
+
+2006-12-03 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
+ path[k] is null.
+ (isLastChild): Return false when path is null.
+
+2006-12-03 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
+ to currentPaintArea.
+ (paintComponent): Work with local reference to currentPaintArea.
+ (updateComponent): Likewise.
+ (coalescePaintEvent): Set currentPaintArea.
+
+2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/MBeanServerBuilder.java: New file.
+
+2006-12-01 Mark Wielaard <mark@klomp.org>
+
+ * java/text/DecimalFormat.java (parse): Always increment parsing
+ index and adjust pos result.
+
+2006-12-01 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTML.java
+ (Attribute.DYNAMIC_CLASS): New field.
+ (Attribute.PSEUDO_CLASS): New field.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.CharacterAction.start): Initialize anchor with link
+ pseudo attribute.
+ (updateSpecialClass): New helper method. Updates the dynamic
+ or pseudo class for anchor tags.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (LinkController.lastAnchorElement): New field. For tracking
+ enter/exit of anchors.
+ (LinkController.activateLink): Set pseudo class to 'visited'.
+ (LinkController.mouseMoved): Added support for tracking
+ the 'hover' dynamic class.
+ * javax/swing/text/html/InlineView.java
+ (changedUpdate): Fetch new properties.
+ * javax/swing/text/html/StyleSheet.java
+ (attributeSetToMap): New helper method.
+ (getRule): Also append dynamic and pseudo class to key.
+ (resolveStyle): Resolve style based generally on all attributes.
+ * javax/swing/text/html/TableView.java
+ (RowView.layoutMajorAxis): Make sure the grid is valid.
+ (updateGrid): Made package private.
+ * gnu/javax/swing/text/html/css/Selector.java
+ (calculateSpecificity): Added support for dynamic and pseudo classes.
+ (matches): Changed to operate on general attributes.
+ Added support for dynamic and pseudo classes.
+
+2006-12-01 Mario Torre <neugens@limasoftware.net>
+
+ * java/text/DecimalFormat.java (formatInternal): move the formatting of
+ fractional portion in a separate method.
+ Also fixes the handling of decimal separator and its associated field.
+ (handleFractionalPart): new method, needed to relax a bit
+ formatInternal.
+
+2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/beans/beancontext/BeanContextServicesSupport.java:
+ (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
+ Class)): Implemented.
+ (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
+ Class, Object)): Implemented.
+ (BCSSProxyServiceProvider.releaseService(BeanContextServices,
+ Object, Object)): Implemented.
+ (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
+ Implemented.
+ (initialiseBeanContextResources()): Implemented.
+ (releaseBeanContextResoures()): Implemented.
+
+2006-12-01 Mark Wielaard <mark@klomp.org>
+
+ * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
+
+2006-12-01 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
+ handling border styles.
+ * gnu/javax/swing/text/html/css/BorderWidth.java
+ (isValid): New method.
+ * gnu/javax/swing/text/html/css/Length.java
+ (isValid): New method.
+ * javax/swing/text/html/CSS.java
+ (addInternal): Added shorthand parsing for border, padding and
+ margin.
+ (parseBackgroundShorthand): Added API docs.
+ (parsePaddingShorthand): New method. Handles padding shorthand
+ values.
+ (parseMarginShorthand): New method. Handles margin shorthand
+ values.
+ (parseBorderShorthand): New method. Handles border shorthand
+ values.
+ * javax/swing/text/html/StyleSheet.java
+ (translateHTMLToCSS): Set specific padding attributes.
+ (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
+ These shorthands are now handled in CSS.
+ (BoxPainter.paint): Exclude the outer margin.
+
+2006-12-01 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/Length.java
+ (emBase): New field.
+ (exBase): New field.
+ (isFontEMRelative): New field.
+ (isFontEXRelative): New field.
+ (Length): Recognize and setup EM and EX relative values.
+ (getValue): Handle EM and EX relative values.
+ (isEMRelative): New method.
+ (isEXRelative): New method.
+ (setEMBase): New method.
+ (setEXBase): New method.
+ (setFontBases): New method.
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleEmptyTag): Use new isBlock() helper method.
+ (_handleEndTag_remaining): Use new isBlock() helper method.
+ (_handleStartTag): Consume whitespace after block start tag.
+ (Comment): Consume whitespace after a comment.
+ (isBlock): New helper method.
+ (readAttributes): Consider all characters in unquoted attribute
+ values.
+ * javax/swing/text/html/BlockView.java
+ (layoutMinorAxis): Use cached span value.
+ (paint): Added debug code (commented out).
+ (setPropertiesFromAttributes): Set the EM and EX base on lengths.
+ * javax/swing/text/html/CSSBorder.java
+ (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
+ with stylesheet.
+ (getBorderWidth): Set the EM and EX base on the length values.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
+ (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
+ (HTMLReader.inImpliedParagraph): Removed.
+ (HTMLReader.inParagraph): Removed.
+ (HTMLReader.parseStack): New field.
+ (HTMLReader.addContent): Use new paragraph handling.
+ (HTMLReader.addSpecialElement): Use new paragraph handling.
+ (HTMLReader.blockClose): Use new paragraph handling.
+ (HTMLReader.blockOpen): Use new paragraph handling.
+ (HTMLReader.inImpliedParagraph): New helper method.
+ (HTMLReader.inParagraph): New helper method.
+ * javax/swing/text/html/ImageView.java
+ (attributes): New field. Caches view attributes.
+ (spans): New field. Caches CSS spans.
+ (getAttributes): Correctly setup CSS view attributes.
+ (getPreferredSpan): Use caches spans.
+ (getStyleSheet): Use the view's getDocument() method.
+ (setPropertiesFromAttributes): Cache spans and setup EM and EX.
+ (updateSize): Use cached spans.
+ * javax/swing/text/html/ParagraphView.java
+ (setPropertiesFromAttributes): Setup EM and EX.
+ * javax/swing/text/html/StyleSheet.java
+ (BoxPainter.BoxPainter): Setup EM and EX correctly.
+ (getEMBase): New helper method.
+ (getEXBase): New helper method.
+ * javax/swing/text/html/TableView.java
+ (width): New field. Caches the table width.
+ (calculateMinorAxisRequirements): Use caches span.
+ (setPropertiesFromAttributes): Cache span and setup EM/EX.
+ (updateGrid): Correctly setup EM/EX.
+
+2006-11-30 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/FormSubmitEvent.java: New class.
+ * javax/swing/text/html/FormView.java
+ (SubmitThread): New class for submitting data in a separate thread.
+ (actionPerformed): Fetch the actual for data.
+ (addData): New helper method.
+ (getElementFormData): New helper method.
+ (getFormData): New helper method.
+ (getInputFormData): New helper method.
+ (submitData): Implemented.
+ * javax/swing/text/html/FrameView.java
+ (createComponent): Add this as hyperlink listener.
+ Set the target document as frame document.
+ (getTopEditorPane): New helper method.
+ (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
+ (handleHyperlinkEvent): New helper method.
+ (handleFormSubmitEvent): New helper method.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.BaseAction.start): Track the base target.
+ (HTMLReader.BaseAction.end): Removed.
+ (baseTarget): New field.
+ (frameDocument): New field.
+ (getBaseTarget): New property accessor.
+ (isFrameDocument): New property accessor.
+ (processHTMLFrameHyperlinkEvent): Implemented.
+ (setFrameDocument): New property accessor.
+ (updateFrame): New helper method.
+ (updateFrameSet): New helper method.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (LinkController.createHyperlinkEvent): Handle frame documents.
+ (autoFormSubmission): New field.
+ (HTMLEditorKit): Set autoFormSubmission to true.
+ (isAutoFormSubmission): New property accessor.
+ (setAutoFormSubmission): New property accessor.
+
+2006-11-30 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/ElementIterator.java
+ (ElementRef): New inner class.
+ (currentDepth): Removed.
+ (currentElement): Removed.
+ (previousItem): Removed.
+ (stack): New field. Holds the iteration stack.
+ (state): Removed.
+ (ElementIterator(Document)): Removed init of removed fields.
+ (ElementIterator(Element)): Removed init of removed fields.
+ (current): Changed to stack based algorithm.
+ (deepestLeaf): New helper method.
+ (depth): Changed to stack based algorithm.
+ (first): Changed to stack based algorithm.
+ (next): Changed to stack based algorithm.
+ (previous): Changed to stack based algorithm.
+
+2006-11-30 Francis Kung <fkung@redhat.com>
+
+ * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
+ * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
+
+2006-11-30 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (draw): Set transform in buffered composite.
+ (drawComposite): Do not transform bounds; round bounds.
+ (drawGlyphVector): Set transform in buffered composite.
+ (drawRenderedImage): Set transform in buffered composite.
+ (fill): Set transform in buffered composite.
+ (updateBufferedImage): Fix scanline & height calculations.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (createPath): Simplify width & height calculation.
+ (drawImage): Also transform width & height.
+
+2006-11-30 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/FrameSetView.java: New class. Implements
+ HTML framesets.
+ * javax/swing/text/html/FrameView.java: New class. Implements
+ HTML frames.
+ * javax/swing/text/html/HTMLDocument.java:
+ (HTMLReader.addSpecialElement): Only add one artificial space.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleEmptyTag): Also consume whitespace after frame tags.
+
+2006-11-30 Gary Benson <gbenson@redhat.com>
+
+ * java/lang/Thread.java: Javadoc fixes.
+
+2006-11-29 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/28203:
+ * java/lang/Class.java (getAnnotations): Rewrote.
+
+2006-11-29 Tania Bento <tbento@redhat.com>
+
+ * tools/gnu/classpath/tools/appletviewer/TagParser.java:
+ (parseParams): Unescape 'val' before putting it into the Map.
+ (unescapeString): New private method.
+
+2006-11-29 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/getopt/package.html: New file.
+
+2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalIconFactory.java
+ (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
+ (VerticalSliderThumbIcon.paintIcon()): Likewise.
+
+2006-11-29 Mario Torre <neugens@limasoftware.net>
+
+ * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
+ with the default international currency sign \u00A4.
+ * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
+ table for string formatting.
+ (formatInternal): likewise.
+ (scanNegativePattern): likewise.
+ (applyPattern): likewise.
+ * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
+ Locale is immutable and does not need clone.
+
+2006-11-29 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (drawLine): Remove hard-coded pixel shifting.
+
+2006-11-29 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Component.java
+ (isShowing): Simplified condition code and avoid unnecessary
+ if-codepaths.
+ (coalesceEvents): Always coalesce paint events and let the peer
+ figure out the expanding of the repaint area.
+ * gnu/java/awt/peer/swing/SwingComponentPeer.java
+ (currentPaintEvents): Removed. Replaced by paintArea.
+ (paintArea): New field. Tracks the dirty area.
+ (SwingComponentPeer): Removed init of currentPaintEvents.
+ (coalescePaintEvent): Simplified to only union the dirty regions.
+ (handleEvent): Paint dirty region that was tracked in paintArea.
+ * gnu/java/awt/peer/gtk/GtkComponentPeer.java
+ (paintArea): New field. Tracks the dirty region.
+ (coalescePaintEvent): Implemented to track the dirty region.
+ (paintComponent): Use the dirty region in paintArea. Protect
+ state by putting the paint and dispose code in a try-finally.
+ (updateComponent): Use the dirty region in paintArea. Protect
+ state by putting the paint and dispose code in a try-finally.
+
+2006-11-29 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/font/TextLayout.java
+ (getVisualHighlightShape): Removed debug output.
+
+2006-11-28 Andrew Haley <aph@redhat.com>
+
+ * vm/reference/sun/reflect/misc/ReflectUtil.java
+ (checkPackageAccess): Implement.
+
+2006-11-28 Dalibor Topic <robilad@kaffe.org>
+
+ * native/jni/java-lang/java_lang_VMDouble.c:
+ (parseDoubleFromChars) New function. Factored out from ...
+ (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
+ (dtoa_toString): New function. Factored out from ...
+ (Java_java_lang_VMDouble_toString) : Factored out the conversion.
+ Changed conversion mode to 2, as modes 0 and 1 don't round
+ as the API spec demands. Invoke conversion function as often
+ as necessary with growing precision until a reversible
+ representation of the double in form of a string is reached.
+
+2006-11-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JComponent.java
+ (putClientProperty): Do not fire event when both old and new
+ value are == null.
+
+2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/Enum.java:
+ Make name and ordinal final.
+
+2006-11-27 Casey Marshall <csm@gnu.org>
+
+ * java/util/jar/JarEntry.java (certs): removed.
+ (jarfile): new field.
+ (getCertificates): read the certificates from the containing JarFile.
+ * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
+ fill in 'certs,' fill in 'jarfile' for the entry.
+ (getEntry): likewise.
+
+2006-11-27 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/WritableRaster.java
+ (createChild): Implemented.
+
+2006-11-27 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/font/TextLayout.java
+ (TextLayout(TextLayout,int,int)): Also layout the new runs.
+ (getVisualHighlightShape): Implemented.
+ (layoutRuns): Fixed boundary so that the last run is also laid out.
+ (left): New helper method.
+ (right): New helper method.
+
+2006-11-27 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/font/TextLayout.java
+ (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
+ (getCaretShape(TextHitInfo)): Use natural bounds.
+ (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
+ (getCaretShapes(int,Rectangle2D)): Delegate to new method
+ above with DEFAULT_CARET_POLICY.
+ (getCaretShapes(int)): Use natural bounds.
+
+2006-11-27 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/font/TextLayout.java
+ (Run.font): New field.
+ (Run.location): New field.
+ (Run.Run): Initialize font.
+ (font): Removed field. This is moved into Run as the actual font
+ is something run-specific.
+ (TextLayout(String,Font,FontRenderContext)): Set font on the
+ single runs. Layout the runs here.
+ (TextLayout(TextLayout,int,int)): Copy over the run fonts.
+ (findRunAtIndex): New helper method.
+ (getCaretInfo): Implemented.
+ (layoutRuns): New helper method.
+ (toString): Don't put font in output string.
+
+2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
+
+ * AUTHORS: Added Jeroen Fritjers.
+
+2006-11-27 neugens <neugens@nirvana.limasoftware.net>
+
+ * java/text/DecimalFormat.java (formatInternal): Add an explicit test
+ for FieldPosition to be null.
+ Check if the factional part is just 0 and can be omitted from the
+ result.
+ (scanNegativePattern): Fixed index out of bound exception when searching
+ for international currency symbol in negative pattern.
+
+2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/beans/beancontext/BeanContextSupport.java:
+ (readObject(ObjectInputStream)): Implemented.
+ (writeObject(ObjectOutputStream)): Likewise.
+ (BCSChild.getTargetChild()): Added.
+ (bcsPreDeserializationHook()): Implemented.
+ (bcsPreSerializationHook()): Likewise.
+ (childDeserializedHook(Object,BCSChild)): Likewise.
+ (isSerializing()): Likewise.
+ (readChildren(ObjectInputStream)): Likewise.
+ (writeChildren(ObjectOutputStream)): Likewise.
+
+2006-11-26 Roger Sayle <roger <at> eyesopen.com>
+ Ian Lance Taylor <ian <at> airs.com>
+ Paolo Bonzini <bonzini <at> gnu.org>
+
+ Fixes bug #25557.
+
+ * lib/gen-classlist.sh.in: Avoid using test's -ef operator for
+ increased portability. Likewise, use -f instead of -e.
+
+2006-11-26 Mark Wielaard <mark@klomp.org>
+
+ * lib/Makefile.am (propertydirs): Removed.
+ (resources): Explicitly create all dirs.
+
+2006-11-26 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
+
+2006-11-26 Dalibor Topic <robilad@kaffe.org>
+
+ * native/target/.cvsignore,
+ native/target/generic/.cvsignore,
+ native/target/Linux/.cvsignore:
+ Removed no longer used files.
+
+ * native/target: Removed no longer used directory.
+
+2006-11-26 Dalibor Topic <robilad@kaffe.org>
+
+ Fixes bug #29133.
+
+ * libraries/clib/nio/gnu_java_nio_VMSelector.c
+ (Java_gnu_java_nio_VMSelector_select):
+ Use strerror if strerror_r is not available.
+
+ Reported by: Michael Franz <mvfranz@gmail.com>,
+ Riccardo Mottola <zuse@libero.it>
+
+2006-11-26 Dalibor Topic <robilad@kaffe.org>
+
+ Fixes bug #26756.
+
+ * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
+ STRICT_WARNING_CFLAGS since it caused the build to fail
+ on GNU/Linux.
+
+2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
+
+ * doc/vmintegration.texinfo: Update VM Threading Model section.
+
+2006-11-26 Tom Tromey <tromey@redhat.com>
+
+ * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
+ include ifaddrs.h.
+ (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
+ conditional.
+ * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
+ Conditionally include ifaddrs.h.
+ (getif_address): Updated conditional.
+ (getif_index): Likewise.
+ * configure.ac: Check for ifaddrs.h.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * java/io/File.java (list): Return empty list for unreadable dirs.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
+ Synchronize on font peer.
+ (setFont): Likewise.
+ * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
+ synchronized.
+ (getTextMetrics): Likewise.
+
+2006-11-25 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/GapContent.java
+ (getPositionsInRange): Rewritten to use the more efficient
+ binary search searchFirst() and avoid an NPE that was caused
+ by GC'ed positions.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/CompositeView.java (modelToView): Never return
+ null.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/html/TableView.java (calculateColumnRequirements):
+ Check whether rowView instanceof RowView.
+ (updateGrid): Likewise.
+
+2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
+
+ PR28462
+ * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
+ * java/text/NumberFormat.java (format): all format methods, fixed
+ FieldPosition argument should never be null.
+ (format(Object, StringBuffer, FieldPosition)): fixed signature,
+ method is not final.
+ * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
+ locale.
+ * AUTHORS: added my name to the file.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/html/StyleSheet.java (paint): Guard against
+ getChildAllocation() returning null.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
+ Use clazzIndex for id substring.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
+ it is still running.
+
+2006-11-25 Mark Wielaard <mark@klomp.org>
+
+ Fixes bug #28822
+ * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
+ CREATE_API_DOCS
+
+2006-11-24 Tania Bento <tbento@redhat.com>
+
+ * java/awt/font/TextHitInfo.java
+ (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
+ (beforeOffset): Decreased first parameter by 1.
+
+2006-11-24 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (constructor): Check sample model when setting fastCM flag.
+ (updateBufferedImage): Check scanline and sample model offsets before
+ copying data directly into the image data buffer.
+
+2006-11-24 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/java2d/QuadSegment.java
+ (offsetSubdivided): Handle special straight-line cases.
+
+2006-11-24 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/dnd/DropTarget.java
+ (DropTargetAutoScroller.HYSTERESIS): New constant.
+ (DropTargetAutoScroller.DELAY): New constant.
+ (DropTargetAutoScroller.inner): New field. A cached
+ Rectangle instance.
+ (DropTargetAutoScroller.outer): New field. A cached
+ Rectangle instance.
+ (DropTargetAutoScroller.timer): New field. The actual timer.
+ (DropTargetAutoScroller.DropTargetAutoScroller):
+ Initialize timer.
+ (DropTargetAutoScroller.actionPerformed): Implemented.
+ (DropTargetAutoScroller.stop): Implemented.
+ (DropTargetAutoScroller.updateLocation): Implemented.
+ (clearAutoscroll): Stop the autoscroller before nullifying it.
+ (createDropTargetAutoScroller): Don't set the field here,
+ only return a new instance.
+ (dragEnter): Only do something when active. Initialize
+ auto scrolling.
+ (dragExit): Only do something when active. Stop auto scrolling.
+ (dragOver): Only do something when active. Update auto scrolling.
+ (drop): Only do something when active. Update auto scrolling.
+ (dropActionChanged): Only do something when active. Update
+ auto scrolling.
+ (initializeAutoScrolling): Check if component is an instance
+ of Autoscroll, otherwise do nothing.
+ (setActive): Disable autoscrolling when deactivating.
+ (setComponent): When component is set to null, disable autoscrolling.
+
+2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextServicesSupport.java
+ (getChildBeanContextServicesListener): Implemented.
+
+2006-11-23 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
+ (createGraphics): Use constructor to create new instance of
+ BufferedImageGraphics.
+ * java/awt/Toolkit.java
+ (getDefaultToolkit): Really try to get a real toolkit. Only
+ use HeadlessToolkit if no other is available.
+ * gnu/java/awt/peer/gtk/GtkToolkit.java
+ (checkHeadless): New helper method. Checks for headless environment
+ and throws HeadlessException if appropriate.
+ (createButton): Check for headless.
+ (createCanvas): Check for headless.
+ (createCheckbox): Check for headless.
+ (createCheckboxMenuItem): Check for headless.
+ (createChoice): Check for headless.
+ (createDialog): Check for headless.
+ (createDragGestureRecognizer): Check for headless.
+ (createDragSourceContextPeer): Check for headless.
+ (createEmbeddedWindow): Check for headless.
+ (createFileDialog): Check for headless.
+ (createFrame): Check for headless.
+ (createCheckbox): Check for headless.
+ (createLabel): Check for headless.
+ (createList): Check for headless.
+ (createMenu): Check for headless.
+ (createMenuBar): Check for headless.
+ (createMenuItem): Check for headless.
+ (createPanel): Check for headless.
+ (createPopupMenu): Check for headless.
+ (createScrollbar): Check for headless.
+ (createScrollPane): Check for headless.
+ (createTextArea): Check for headless.
+ (createTextField): Check for headless.
+ (createWindow): Check for headless.
+
+2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (deserialize): Implemented,
+ (serialize): Implemented.
+
+2006-11-23 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
+ (createGraphics): Try to use Cairo graphics if available.
+
+2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (toArray): Added API docs,
+ (toArray(Object[])): Added API docs, removed NotImplementedException.
+
+2006-11-22 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JRootPane.java
+ (setLayeredPane): Added documentation; throw
+ IllegalComponentStateException if layered pane parameter is null.
+
+2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (avoidingGui): Removed NotImplementedException.
+
+2006-11-22 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (drawGlyphVector): Clip updated area to glyph bounds.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (createPath): Eliminate distortion when pixel-shifting rectangles; separate
+ x-coordinate and y-coordinate pixel shifting.
+ (shifted): Removed method.
+ (shiftX): New method, recognising scaling transforms.
+ (shiftY): New method, recognising scaling transforms.
+ (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
+
+2006-11-22 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/font/TextLayout.java
+ (hash): New field. Caches the hash code.
+ (hashCode): Implemented.
+
+2006-11-22 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/image/ImageFilter.java
+ Reformat whole class.
+ (getFilterInstance): Don't touch the consumer field. Don't check
+ consumer.
+ (imageComplete): Don't check consumer.
+ (setColorModel): Don't check consumer.
+ (setDimensions): Don't check consumer.
+ (setHints): Don't check consumer.
+ (setPixels): Don't check consumer.
+ (setProperties): Pass the original property too.
+ * java/awt/image/IndexColorModel.java
+ (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
+ transparent pixel by calling the new helper method.
+ (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
+ transparent pixel by calling the new helper method.
+ (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
+ transparent pixel by calling the new helper method.
+ (coerceData): Removed. This is not needed.
+ (getAlpha): Simply return value from color map. The transparent
+ pixel has to be there.
+ (setTransparentPixel): New helper method. Inserts the transparent
+ pixel.
+ * java/awt/image/RGBImageFilter.java
+ Reformat whole class.
+ (convertColorModelToDefault): Removed. No longer needed.
+ (filterIndexColorModel): Don't handle transparent pixels
+ separately.
+ (filterRGBPixels): Set pixels on consumer already.
+ (makeColor): Removed. No longer needed.
+ * java/awt/image/ReplicateScaleFilter.java
+ (replicatePixels): Removed.
+ (setDimension): Correctly compute destination size, avoid double
+ calculations.
+ (setPixels): Avoid double calculations. Fixed some boundary cases.
+ (setupSources): New helper method.
+ * java/awt/image/SampleModel.java
+ (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
+ and TYPE_DOUBLE.
+ * java/awt/image/SinglePixelPackedSampleModel.java
+ (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
+ This is not needed as the superclass already copies line
+ by line.
+ (setDataElements(int,int,Object,DataBuffer)): Simplified code,
+ removed some checks that the RI also doesn't perform. Call
+ DataBuffer.setElem().
+
+2006-11-22 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/text/TextLayout.java
+ (getLogicalRangesForVisualSelection): Implemented.
+
+2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * sun/reflect/annotation/AnnotationParser.java,
+ * sun/reflect/annotation/AnnotationType.java,
+ * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
+ * sun/reflect/annotation/ExceptionProxy.java:
+ Stubbed.
+ * sun/misc/ServiceConfigurationError.java,
+ * sun/misc/Service.java:
+ Implemented.
+
+2006-11-21 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/text/TextLayout.java
+ (Run.isLeftToRight): New helper method.
+ (logicalToVisual): New field. Maps logical indices to visual
+ indices.
+ (visualToLogical): New field. Maps visual indices to logical
+ indices.
+ (TextLayout): Setup mappings.
+ (setupMappings): New method for setting up the mappings.
+ (getCharacterLevel): Reorganized code.
+ (getNextLeftHit(int)): Implemented.
+ (getNextLeftHit(int,CaretPolicy)): New method.
+ (getNextLeftHit(TextHitInfo)): Implemented.
+ (getNextRightHit(int)): Implemented.
+ (getNextRightHit(int,CaretPolicy)): New method.
+ (getNextRightHit(TextHitInfo)): New method.
+ (getVisualOtherHit): Implemented.
+ (checkHitInfo): New helper methods for checking parameters.
+ (hitToCaret): New helper method. Maps hit infos to caret locations.
+ (caretToHit): New helper method. Maps caret locations to hit infos.
+ (isCharacterLTR): New helper method.
+ (CaretPolicy.getStrongCaret): Implemented.
+
+2006-11-21 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (draw): Include stroke width when calculating bounds.
+ (updateBufferedImage): Round bounds more generously, handle negative
+ height/width values, and clip more intelligently.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (createPath): Add shortcut optimization for lines.
+ (draw): Include stroke width when calculating bounds.
+ (drawLine): Delegate to main draw() method.
+ (drawRect): Likewise.
+ (fillRect): Delegate to main fill() method.
+ (findStrokedBounds): New method.
+ (setCustomPaint): Round bounds more generously.
+ * gnu/java/awt/peer/gtk/ComponentGraphics.java
+ (drawLine): Removed.
+ (drawRect): Removed.
+ (fillRect): Removed.
+
+2006-11-21 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/java2d/TexturePaintContext.java
+ (getRaster): Handle negative coordinate values.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (setPaint): Moved custom paint processing to a new method.
+ (setPaintPixels): Added x, y parameters.
+ (getRealBounds): Added documentation.
+ (copy): Copy clipping information.
+ (drawLine): Process custom paints.
+ (setCustomPaint): New method.
+ (fill): Process custom paints.
+ (drawGlyphVector): Process custom paints.
+ (drawRect): Process custom paints.
+ (draw): Process custom paints.
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ (cairoCM_opaque): New constant.
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (argb32): Removed constant.
+ (rgb32): Removed constant.
+ (BufferedImageGraphics(BufferedImage)): Updated constant names.
+ (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
+ (updateBufferedImage): Transform to device-space before updating.
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
+ parameters.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
+ source at designated x, y origin.
+
+2006-11-21 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/text/TextLayout.java
+ (Run): New inner helper class.
+ (length): New field.
+ (naturalBounds): New field.
+ (offset): New field.
+ (runIndices): Removed. This is now encapsulate in a Run object.
+ (runs): Changed to Run[].
+ (string): Changed to char[].
+ (totalAdvance): New field. Caches advance value.
+ (TextLayout(String,Font,FontRenderContext)): Change to store
+ string as char[] and run layout as Run[]. Clean out empty
+ run items.
+ (TextLayout(TextLayout,int,int)): Change to store
+ string as char[] and run layout as Run[].
+ (clone): Call private constructor for maximum efficiency.
+ (determineWhitespace): Adapted to use char[] data.
+ (draw): Adapted to use Run objects.
+ (getAdvance): Cache computed total advance.
+ (getBlackBoxBounds): Adapted to use Run objects.
+ (getCaretInfo): Use natural layout bounds.
+ (getCharacterCount): Return length field.
+ (getLogicalHighlightShape): Adapted to use Run objects.
+ (getNaturalBounds): New helper method. Calculates and returns the
+ natural bounds of this text layout.
+ (getOutline): Adapted to use Run objects.
+ (getStringProperties): Adapted to use char[] data.
+ (getVisibleAdvance): Adapted to use char[] and Run data.
+ (handleJustify): Adapted to use char[] and Run data.
+ (hitTestChar(float,float,Rectangle2D)): Implemented.
+ (hitTestChar(float,float)): Use natural bounds.
+ (setCharIndices): Adapted to use char[] and Run data.
+ (toString): Adapted to use char[] and Run data.
+ * java/text/Bidi.java
+ (requiresBidi): Exclude paragraph separators from bidi-triggers.
+
+2006-11-21 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
+ Removed. This is now an inner class in GdkFontPeer.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (drawString(float,float)): Use text layout cache from
+ GdkFontPeer.
+ (getFontMetrics): Delegate to GdkFontPeer.
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
+ (getGlyphCodes): Also check array size.
+ (getGlyphPositions): Also check array size.
+ * gnu/java/awt/peer/gtk/GdkFontPeer.java
+ (GdkFontLineMetrics.fm): Removed.
+ (GdkFontLineMetrics.strikeThroughOffset): Removed.
+ (GdkFontLineMetrics.strikeThroughThickness): Removed.
+ (GdkFontLineMetrics.underlineOffset): Removed.
+ (GdkFontLineMetrics.underlineThickness): Removed.
+ (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
+ FontMetrics argument. Don't init removed fields.
+ (GdkFontLineMetrics.getAscent): Return font peer's field.
+ (GdkFontLineMetrics.getDescent): Return font peer's field.
+ (GdkFontLineMetrics.getHeight): Return font peer's field.
+ (GdkFontLineMetrics.getLeading): Return font peer's field.
+ (GdkFontLineMetrics.getNumChars): Reformat.
+ (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
+ (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
+ (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
+ (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
+ (GdkFontMetrics): Moved class in here as inner class.
+ Make it use the font peer's fields and for the char(s) width
+ and string width method, use TextLayout to measure the actual widths.
+ (ascent): New field.
+ (bundle): Removed.
+ (DEFAULT_CTX): New constant field.
+ (descent): New field.
+ (FONT_METRICS_ASCENT): New constant.
+ (FONT_METRICS_DESCENT): New constant.
+ (FONT_METRICS_HEIGHT): New constant.
+ (FONT_METRICS_MAX_ADVANCE): New constant.
+ (FONT_METRICS_MAX_ASCENT): New constant.
+ (FONT_METRICS_MAX_DESCENT): New constant.
+ (FONT_METRICS_UNDERLINE_OFFSET): New constant.
+ (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
+ (height): New field.
+ (maxAdvance): New field.
+ (maxAscent): New field.
+ (maxDescent): New field.
+ (metrics): New field. Stores a FontMetrics for this font.
+ (textLayoutCache): New field. Caches TextLayout instances.
+ (underlineOffset): New field.
+ (underlineThickness): New field.
+ (cinit): Don't initialize resource bundle.
+ (GdkFontPeer): Setup the metrics.
+ (getFontMetrics): Return stored metrics if possible.
+ (getLineMetrics): Adapt to new constructor.
+ (initFont): New helper method.
+ (setupMetrics): New helper method.
+ * gnu/java/awt/peer/gtk/GtkToolkit.java
+ (LRUCache): Made class a static class.
+ (getFontMetrics): Delegate to GdkFontPeer.
+ * native/jni/gtk-peer/gdkfont.h
+ Added new constant defines.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
+ (getFontMetrics): Rewritten to fetch the font metrics from
+ FreeType.
+
+2006-11-20 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/ButtonGroup.java:
+ (setSelected): Select the ButtonModel if all conditions
+ are met.
+
+2006-11-20 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JSlider.java:
+ (updateLabelUIs): Removed casting.
+
+2006-11-20 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/util/regex/RE.java (messages): Don't initialize.
+ (bundle): New static final String field.
+ (getLocalizedMessage): Initialize messages when still null.
+ * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
+ (set): Use RE.getLocalizedMessage().
+ (clear): Likewise.
+ (setLineSeparator): Likewise.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/StyleSheet.java
+ (linked): New field.
+ (styleSheet): Replaced by linked.
+ (addStyleSheet): Use an arraylist for simplicity.
+ (getRule): Removed useless instantiation.
+ (getStyleSheets): Convert array list to array.
+ (removeStyleSheet): Use an arraylist for simplicity.
+ (resolveStyle): Include styles from linked lists.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (BoxView): Initialize with invalid req's.
+ (forwardUpdate): Trigger repaint when children changed the
+ major axis.
+ (getResizeWeight): Return resizable when the pref differs from
+ the min or the pref differs from the max size.
+ (layoutMajorAxis): Actually sum up the preferred sizes.
+ (paint): Made binary search more robust.
+ (replace): Let arrays shrink when needed.
+ (replaceLayoutArray): Let arrays shrink when needed.
+ (setAxis): Trigger preferenceChanged.
+ * javax/swing/text/CompositeView.java
+ (getInsideAllocation): Call insets method to take account
+ of overriding subclasses.
+ * javax/swing/text/DefaultStyledDocument.java
+ (ElementBuffer.finishEdit): Clear the stack and edits buffer.
+ (ElementBuffer.insertUpdate): Only remove the found element, not
+ all.
+ * javax/swing/text/GlyphView.java
+ (insertUpdate): Pass null in preferenceChanged.
+ (removeUpdate): Pass null in preferenceChanged.
+ (changedUpdate): Pass null in preferenceChanged.
+ * javax/swing/text/Utilities.java
+ (drawTabbedText): Avoid single calls to charWidth() and instead
+ call charsWidth() on whole chunks.
+ * javax/swing/text/html/HTMLDocument.java
+ (BlockElement.getName): Fall back to super when necessary.
+ (RunElement.getName): Fall back to super when necessary.
+ (HTMLReader.MAX_THRESHOLD): New constant field.
+ (HTMLReader.GROW_THRESHOLD): New constant field.
+ (HTMLReader.theshold): New field.
+ (HTMLReader.HTMLReader): Fetch threshold from document.
+ (HTMLReader.addContent): Sucessivly grow the threshold.
+ (createLeafElement): Don't create two elemens and don't set
+ attribute.
+ * javax/swing/text/html/TableView.java
+ (RowView.replace): Invalidate grid.
+ (gridValid): Made package private.
+ (layoutMinorAxis): Mark all rows as invalid.
+ (replace): Invalidate grid.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/AbstractDocument.java
+ (DefaultDocumentEvent.changes): Changed to be a HashMap.
+ (DefaultDocumentEvent.modified): Made private.
+ (DefaultDocumentEvent.THRESHOLD): New constant field.
+ (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
+ changes table.
+ (DefaultDocumentEvent.addEdit): Switch to hashmap only when
+ exceeding threshold.
+ (DefaultDocumentEvent.getChange): Use iterative approach
+ when we have no hashmap yet.
+ (documentCV): Removed.
+ (numWriters): Renamed from numWritersWaiting.
+ (createPosition): Reformat.
+ (getCurrentWriter): Synchronized.
+ (readLock): Implement more straightforward.
+ (readUnlock): Implement more straightforward.
+ (writeLock): Implement more straightforward.
+ (writeUnlock): Implement more straightforward.
+ (remove): Write-lock here.
+ (removeImpl): Don't write-lock here.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (setPage): Set priority on loading thread.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (RootView.paint): Avoid allocation.
+ (cachedInsets): New field. Caches an Insets instance.
+ (getNextVisualPositionFrom): Read-lock the document to avoid
+ thread nastiness. Push allocation.
+ (getPreferredSize): Push fake allocation when not yet laid out.
+ (getVisibleEditorRect): Use cached insets.
+ (viewToModel): Read-lock the document to avoid
+ thread nastiness. Push allocation.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/StyleContext.java
+ (attributeSetPool): Synchronize this map.
+ (addAttribute): Synchronize this method.
+ (addAttributes: Synchronize this method.
+ (readObject): Install synchronized map on target object.
+ (removeAttribute): Synchronize this method.
+ (removeAttributes): Synchronize this method.
+ (removeAttributes): Synchronize this method.
+
+2006-11-20 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/GapContent.java
+ (GapContentPosition.GapContentPosition): Removed constructor.
+ (Mark): Made subclass of WeakReference to refer directly to
+ the associated position.
+ (Mark.refCount): Removed.
+ (Mark.Mark(int,GapContentPosition,ReferenceQueue):
+ New constructor. Used to reference a position and register the
+ reference queue.
+ (Mark.Mark(index)): Call super and don't adjust mark offset.
+ (Mark.compareTo): Removed.
+ (Mark.equals): Removed.
+ (Mark.getOffset): Return at least null. Removed assert.
+ (Mark.getPosition): New helper method.
+ (garbageMarks): New field.
+ (positions): Removed.
+ (searchMark): New field.
+ (GapContent): Removed init of positions map.
+ (addImpl): New helper method.
+ (adjustPositionsInRange): Removed.
+ (compare): New helper method.
+ (createPosition): Rewritten for new datastructures. This now
+ performs a much more efficient binary search for finding
+ a position at the requested offste.
+ (garbageCollect): Rewritten to collect unused marks.
+ (getPositionsInRange): Adjusted for new data structures.
+ (removeImpl): New helper method.
+ (replace): Use new addImpl() and removeImpl() helper method for
+ correctly adjusting the positions and gap.
+ (search): Rewritten. Implements a more suitable binary search.
+ (searchFirst): New helper method.
+ (setPositionsInRange): Removed.
+ (shiftEnd): Update the marks here.
+ (shiftGap): Update the marks here.
+ (shiftGapEndUp): Update the marks here.
+ (shiftGapStartDown): Update the marks here.
+
+2006-11-20 Marco Trudel <mtrudel@gmx.ch>
+
+ * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
+ digest algorithm implementations.
+ (readSignatures): Parse the manifest once and reuse that data.
+ Add support for line breaks.
+ (verifyHashes): Use the parsed manifest entry.
+ (readManifestEntry): Removed.
+
+2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/beans/beancontext/BeanContextServicesSupport.java:
+ Added more documentation.
+ (addService(Class,BeanContextServiceProvider,boolean)):
+ Synchronized over global hierarchy lock.
+ (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
+ (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
+ (childJustRemovedHook(Object,BCSChild)): Implemented.
+ (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
+ Implemented.
+ (fireServiceRevoked(BeanContextServiceRevokedEvent)):
+ Added revocation-only listeners.
+ (getBeanContextServicesPeer()): Implemented.
+ (getCurrentServiceClasses(Class)): Synchronized over global
+ hierarchy lock.
+ (getCurrentServiceSelectors(Class)): Synchronized over global
+ hierarchy lock, and fixed FIXME.
+ (getService(BeanContextChild,Object,Class,Object,
+ BeanContextServiceRevokedListener)): Implemented.
+ (hasService(Class)): Synchronized over global hierarchy lock.
+ (releaseService(BeanContextChild,Object,Object)): Implemented.
+ (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
+ * java/beans/beancontext/BeanContextSupport.java:
+ (remove(Object, boolean)): Documentation correction.
+
+2006-11-19 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (PageStream): New inner class.
+ (PageLoader): New inner class.
+ (loading): New field.
+ (setPage): Implemented asynchronous loading.
+ * javax/swing/text/DefaultStyledDocument.java
+ (ElementBuffer.create): New helper method.
+ (create): Use new ElementBuffer method instead of hack.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.flushImpl): New helper method.
+ (HTMLReader.addContent): Use flushImpl().
+ (HTMLReader.blockClose): Added null check.
+ (HTMLReader.flush): Use flushImpl().
+ * javax/swing/text/html/HTMLEditorKit.java
+ (createDefaultDocument): Set load priority to 4 and token threshold
+ to 100.
+ * javax/swing/text/html/TableView.java
+ (insertUpdate): Overridden to provide correct view factory.
+ (removeUpdate): Overridden to provide correct view factory.
+ (changedUpdate): Overridden to provide correct view factory.
+
+2006-11-19 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (clipRect): New field.
+ (tmpRect): New field.
+ (layout): Reorganized code. Now uses layoutAxis() helper method.
+ (layoutAxis): New helper method.
+ (paint): Optimized by using cached Rectangle objects and
+ a binary search for child views inside the clip.
+ * javax/swing/text/CompositeView.java
+ (insideAllocation): Made private and initialized in constructor.
+ (getInsideAllocation): Removed initialization block for
+ insideAllocation field. Avoid unnecessary allocations.
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.paint): Only paint the actual glyphs here
+ The remaining stuff (background, underline and striking) is
+ done in the GlpyhView itself. Avoid unnecessary allocations.
+ (cached): A cached Segment instance.
+ (getText): Return cached segment.
+ (paint): Paint underline, strike and background here. Avoid
+ unecessary allocs.
+
+2006-11-19 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/StyleSheet.java
+ (getFontSize): Removed debug output.
+ (ListPainter.tmpRect): New field.
+ (ListPainter.paint): Align bullet vertically centered to
+ the first line of the paragraph.
+
+2006-11-17 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSParser.java
+ (parseDeclaration): Trim string before reporting.
+ * gnu/javax/swing/text/html/css/FontSize.java
+ (size): New field.
+ (isRelative): New field.
+ (sizeIndex): New field.
+ (FontSize): Initialize new fields.
+ (getValue): Changed to call getValue(int).
+ (getValue(int)): New method. Implements relative font sizes.
+ (isRelative): New method.
+ (mapAbsolute): Store index.
+ (mapEM): New helper method.
+ (mapLarger): New helper method.
+ (mapPercent): New helper method.
+ (mapRelative): New helper method.
+ (mapSmaller): New helper method.
+ (mapValue): New helper method.
+ * javax/swing/text/html/CSS.java
+ (parseBackgroundShorthand): Create CSSColor directly.
+ * javax/swing/text/html/StyleSheet.java
+ (addRule): Invalidate resolved styles.
+ (getFont): Call new getFontSize() method to resolve relative
+ font sizes.
+ (getFontSize): New helper method. Resolves relative font sizes.
+ (translateHTMLToCSS): Create CSS objects directly.
+
+2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/util/regex/RETokenNamedProperty.java:
+ (getHandler(String)): Add support for 'all'.
+
+2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/javax/management/Server.java:
+ Initial implementation of a GNU management server.
+ * javax/management/MBeanPermission.java,
+ * javax/management/MBeanRegistration.java,
+ * javax/management/MBeanTrustPermission.java:
+ Implemented.
+
+2006-11-17 Mark Wielaard <mark@klomp.org>
+
+ * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
+
+2006-11-17 Gary Benson <gbenson@redhat.com>
+
+ * java/net/DatagramSocket.java (getLocalAddress, connect,
+ receive): Perform security check on address not hostname.
+
+2006-11-16 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleText): Fixed condition for consuming whitespace.
+ Removed validator check, this is superfluous now.
+
+2006-11-16 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSParser.java
+ (parseRuleset): Support 'combined' selectors.
+ (main): Adapt callback for combined selectors support.
+ * gnu/javax/swing/text/html/css/CSSParserCallback.java
+ (startStatement): Take selector array as argument, to
+ support combined selectors.
+ * javax/swing/text/html/BlockView.java
+ (calculateMinorAxisRequirements): Fetch and apply alignment.
+ * javax/swing/text/html/StyleSheet.java
+ (CSSStyle): Inverted the constants for correct precedence.
+ (CSSStyleSheetParserCallback.styles): New field. Stores the current
+ styles.
+ (CSSStyleSheetParserCallback.style): Removed.
+ (CSSStyleSheetParserCallback.declaration): Update multiple styles.
+ (CSSStyleSheetParserCallback.end): Push multiple styles.
+ (CSSStyleSheetParserCallback.start): Initialize multiple styles.
+
+2006-11-16 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/FlowView.java
+ (LogicalView.getPreferredSpan): Calculate maximum correctly.
+ * javax/swing/text/GlyphView.java
+ (tabExpander): New field.
+ (tabX): New field.
+ (breakView): Set tabX on broken view.
+ (getPartialSpan): Let the painter fetch the span.
+ (getTabbedSpan): Update the tab expander field. Maybe trigger
+ relayout.
+ (getTabExpander): Simply return the stored expander.
+ * javax/swing/text/Utilities.java
+ (getTabbedTextOffset): Made algoritm a little smarter and more
+ efficient.
+ (getTabbedTextWidth): Don't add single char widths, instead add
+ chunks of characters.
+ * javax/swing/text/html/ParagraphView.java
+ (calculateMinorAxisRequirements): Adjust margin only when the
+ CSS span is not fixed.
+
+2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (getChildBeanContextMembershipListener): Implemented,
+ (getChildPropertyChangeListener): Implemented,
+ (getChildSerializable): Implemented,
+ (getChildVetoableChangeListener): Implemented,
+ (getChildVisibility): Implemented,
+ (setDesignTime): Use same property name as Sun's implementation.
+
+2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/DesignMode.java: Reformatted and removed a FIXME,
+ * java/beans/Statement.java
+ (toString): Updated to match reference implementation.
+
+2006-11-15 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (InsertHTMLTextAction.actionPerformed): Also try inserting
+ the alternate tag. Adjust the selection accordingly.
+ (InsertHTMLTextAction.adjustSelection): New helper method.
+ Adjusts the selection after an insertion.
+ (insertAtBoundary): Delegate to deprecated method.
+ (insertAtBoundry): Implemented missing method.
+ (tryInsert): New helper method.
+ (defaultActions): Implemented to fill the array with
+ a couple of InsertHTMLTextActions.
+
+2006-11-15 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/ImageView.java
+ (Observer): New class. Observes image loading.
+ (haveHeight): New field.
+ (haveWidth): New field.
+ (height): New field.
+ (width): New field.
+ (image): New field.
+ (imageIcon): New field.
+ (loading): New field.
+ (observer): New field.
+ (reloadImage): New field.
+ (reloadProperties): New field.
+ (ImageView): Initialize observer and some flags.
+ (getImage): Update the image state and return the image.
+ (loadImage): New helper method. Actually starts loading.
+ (paint): Rewritten to paint the image directly, not via Icon.
+ (reloadImage): Rewritten. Loads the image and its properties.
+ (renderIcon): Removed. No more necessary.
+ (setPropertiesFromAttributes): Don't nullify image here.
+ Added comment about missing impl.
+ (setSize): Added comment about missing impl.
+ (updateSize): New helper method. Updates the size attributes.
+ (updateState): New helper method. Makes sure the image
+ and its properties are valid.
+
+2006-11-15 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleEndTag_remaining): Consume whitespace after a closing
+ block like tag.
+
+2006-11-15 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
+ directly.
+ (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
+ directly.
+ (HTMLReader.parseStack): Removed.
+ (HTMLReader.blockClose): Simply call addContent() with ' '
+ instead of doing more complicated stuff. Removed parseStack
+ handling.
+ (HTMLReader.blockOpen): Removed parseStack handling.
+ (getInsertingReader): Removed parseStack init.
+ * gnu/javax/swing/text/html/parser/htmlValidator.java
+ (closeTag): Return true only when the tag actually should be
+ closed.
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleEndTag): Only actually close the tag when the validator
+ allows it.
+
+2006-11-15 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/CSS.java
+ (Attribute.BORDER_SPACING): New field for the CSS border-spacing
+ attribute.
+ * javax/swing/text/html/StyleSheet.java
+ (BoxPainter.bottomPadding): New field.
+ (BoxPainter.leftPadding): New field.
+ (BoxPainter.rightPadding): New field.
+ (BoxPainter.topPadding): New field.
+ (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
+ too.
+ (BoxPainter.getInset): Recognize and include the padding.
+ (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
+ javax/swing/text/html/TableView.java
+ (RowView.calculateMajorAxisRequirements): Adjust req's for
+ cellSpacing.
+ (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
+ (cellSpacing): New field.
+ (columnRequirements): Made package private to avoid accessor method.
+ (calculateMinorAxisRequirements): Include cellSpacing.
+ (calculateMajorAxisRequirements): Overridden to include cellSpacing.
+ (layoutMajorAxis): Likewise.
+ (layoutColumns): Respect cellSpacing.
+ (setParent): Overridden to fetch the CSS attributes when view gets
+ connected.
+ (setPropertiesFromAttributes): New method. Fetches the cell
+ spacing from the CSS attributes.
+
+2006-11-15 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleText): Consume whitespace directly before a closing tag.
+ (restOfTag): Consume whitespace directly after opening.
+ * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
+ (preprocess): Don't perform array boundary checking by
+ catch AIOOBE, instead check the boundary in loop condition.
+ * gnu/javax/swing/text/html/parser/support/low/Constants.java
+ (TAG_CLOSE): New constants. Describes the token pattern for
+ a closing tag.
+
+2006-11-14 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/ImageView.java
+ (getPreferredSpan): Use CSS length values.
+ * javax/swing/text/html/TableView.java
+ (CellView.calculateMajorAxisRequirements): Overridden to
+ set the maximum reqs to maximum.
+ (RowView.getMaximumSize): For the X_AXIS, set the maximum
+ span to maximum.
+ (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
+ the total column reqs.
+ (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
+ the total column reqs.
+ * gnu/javax/swing/text/html/css/CSSColor.java
+ (convertValue): Catch NumberFormatExceptions for more robustness.
+ * gnu/javax/swing/text/html/css/FontSize.java
+ (mapPixels): Actually map px values. Catch NFE for more robustness.
+
+2006-11-14 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/font/autofit/AxisHints.java,
+ * gnu/java/awt/font/autofit/Constants.java,
+ * gnu/java/awt/font/autofit/GlyphHints.java,
+ * nu/java/awt/font/autofit/Latin.java,
+ * nu/java/awt/font/autofit/LatinAxis.java,
+ * gnu/java/awt/font/autofit/LatinMetrics.java,
+ * gnu/java/awt/font/autofit/Scaler.java,
+ * gnu/java/awt/font/autofit/Script.java,
+ * gnu/java/awt/font/autofit/ScriptMetrics.java,
+ * gnu/java/awt/font/autofit/Segment.java,
+ * gnu/java/awt/font/autofit/Width.java:
+ New classes. This is some skeleton stuff for the FreeType-alike
+ auto-gridfitter.
+ * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
+ * gnu/java/awt/font/opentype/OpenTypeFont.java
+ (unitsPerEm): Made field public.
+ (getRawGlyphOutline): New method. Fetches the raw outline.
+ * gnu/java/awt/font/opentype/Scaler.java
+ (getRawGlyphOutline): New method. Fetches the raw outline.
+ * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
+ (loadGlyph): New method. This is used to load raw outlines.
+ * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
+ (getRawOutline): New method. Fetches the raw outline.
+ * gnu/java/awt/font/opentype/truetype/Zone.java:
+ Made class public.
+
+2006-11-14 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/RepaintManager.java
+ (RepaintManager): Fetch the default state for the double buffering
+ from a system property gnu.swing.doublebuffering.
+
+2006-11-14 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicLabelUI.java
+ (cachedInsets): New field.
+ (getFontMetrics): New helper method. Fetches the font metrics
+ from the component or the toolkit.
+ (getPreferredSize): Use getFontMetrics() helper method for
+ fetching the font metrics.
+ (paint): Use getFontMetrics() helper method for
+ fetching the font metrics. Only paint if icon or text
+ are != null. Use cached insets.
+ (paintDisabledText): Don't store/restore color object. The
+ JComponent painting mechanism takes care of this by calling
+ create().
+ (paintEnabledText): Don't store/restore color object. The
+ JComponent painting mechanism takes care of this by calling
+ create().
+
+2006-11-14 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/GLightweightPeer.java
+ (handleEvent): Try to do something reasonable and trigger painting
+ for the lightweight component.
+ (getFontMetrics): Fetch and return a font metrics object from
+ the Toolkit.
+
+2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/util/regex/RETokenNamedProperty.java:
+ (getHandler(String)): Add support for 'all'.
+
+2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
+
+ * AUTHORS: Add myself.
+
+2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
+ Dalibor Topic. Re-order 'K' section. Remove trailing space from
+ Roman Kennke's entry.
+
+2006-11-13 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/image/IndexColorModel.java
+ (createCompatibleSampleModel): Implemented missing method.
+
+2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
+
+ * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
+ from big endian systems correctly.
+
+2006-11-11 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSColor.java
+ (isValidColor): New helper method. Checks strings if they
+ form a valid color value.
+ * gnu/javax/swing/text/html/css/Length.java
+ (Length): Catch number format exceptions.
+ * javax/swing/text/html/CSS.java
+ (addInternal): New method. Checks for shorthand CSS attributes
+ and parses them.
+ (parseBackgroundShorthand): New method. Parses the background
+ shorthand attribute.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
+ (HTMLReader.LinkAction.start): Implemented to load the linked
+ stylesheet.
+ (HTMLReader.LinkAction.end): Removed. This is not needed.
+ * javax/swing/text/html/StyleSheet.java
+ (CSSStyleSheetParserCallback.declaration): Push declaration
+ through CSS.addInternal() to parse shorthand attributes.
+ (addCSSAttribute): Push declaration through CSS.addInternal()
+ to parse shorthand attributes.
+ (importStyleSheet): Implemented. This adds a stylesheet from
+ an URL.
+ * javax/swing/text/html/TableView.java
+ (calculateColumnRequirements): Increase column index for
+ non CellView children to avoid endless loop.
+ * javax/swing/text/CompositeView.java
+ (setParent): Comparen with numChildren not with real arraylength.
+
+2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (getChildBeanContextChild): Implemented.
+
+2006-11-10 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/View.java
+ (updateLayout): Only repaint when needed.
+
+2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/util/Collections.java
+ (sort(List)): Minor API doc addition,
+ (sort(List, Comparator)): Likewise.
+
+2006-11-10 David Fu <fchoong@netbeans.jp>
+
+ * javax/swing/text/html/HTMLWriter.java
+ (traverse): Removed Classpath specific handling of implied
+ tags.
+ (traverseHtmlFragment): Removed Classpath specific handling of
+ implied tags.
+
+2006-11-10 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/ParagraphView.java
+ (Row.getMaximumSize): Removed. This method is not necessary.
+ * javax/swing/text/html/TableView.java
+ (CellView): Moved attribute init to setPropertiesFromAttributes().
+ (setPropertiesFromAttributes): Fetch attributes here.
+ (RowView.RowView): Documented.
+ (RowView.getMaximumSpan): Overridden to restrict the max span
+ in the Y direction.
+ (RowView.layoutMajorAxis): Correctly layout the spans.
+ (columnWidths): New field. Stores the width attributes of
+ the columns.
+ (calculateColumnRequirements): Added support for relative
+ (== percent) width attributes.
+ (calculateMajorAxisRequirements): Removed.
+ (calculateMinorAxisRequirements): Removed unnecessary code.
+ (getMaximumSpan): Overridden to restrict the table's width.
+ (layoutColumns): Documented. Implement more clever table layout,
+ i.e. for relative columns etc.
+ (layoutMinorAxis): Don't mark rows invalid.
+ (updateGrid): Added docs. Initialize column widths.
+
+2006-11-09 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
+ * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
+ Implement basic headless toolkit.
+ * java/awt/Toolkit.java
+ (getDefaultToolkit): Check headless property and create
+ headless toolkit when true.
+
+2006-11-09 Ingo Proetel <proetel@aicas.com>
+2006-11-09 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/peer/swing/SwingButtonPeer.java
+ (SwingButton.button): New field.
+ (SwingButton.SwingButton): Added constructor.
+ (SwingButton.isShowing): Access button field instead of
+ the surrounding class.
+ (SwingButton.getParent): Access button field instead of
+ the surrounding class.
+ (SwingButtonPeer): Call new SwingButton constructor.
+ * gnu/java/awt/peer/swing/SwingComponent.java:
+ Several documentation updates.
+ * gnu/java/awt/peer/swing/SwingComponentPeer.java
+ (currentPaintEvents): New field.
+ (peerFont): New field.
+ (SwingComponentPeer): Initialize currentPaintEvents fields.
+ (coalescePaintEvents): Implemented.
+ (dispose): Unregister peer from heavyweight list of its container.
+ (getGraphics): Fetch graphics from parent component.
+ (handleEvent): Discard paint event if its coalesced.
+ (init): Register component with its container for proper painting.
+ (paint): Call peerPaint().
+ (peerPaint): Added argument that indicates if we should update.
+ Call paint or update on the actual AWT component.
+ (peerPaintComponent): New method. Paints the peer (Swing) component.
+ (setFont): Set peerFont field.
+ * gnu/java/awt/peer/swing/SwingContainerPeer.java
+ (backbuffer): New field.
+ (focusOwner): New field.
+ (heavyweightDescendents): New field.
+ (SwingContainerPeer): Take Container as argument. Don't call init
+ yet.
+ (addHeavyweightDescendent): New method.
+ (getFocusOwner): New helper method.
+ (getInsets): Delegate to insets().
+ (handleKeyEvent): Dispatch event to focus owner.
+ (handleMouseEvent): Dispatch to child component.
+ (isDoubleBuffering): New helper method.
+ (peerPaint): Overridden to implement container painting with
+ double buffering.
+ (peerPaintChildren): New method. Paints the descendents of this
+ container.
+ (removeHeavyweightDescendent): New helper method.
+ * gnu/java/awt/peer/swing/SwingFramePeer.java
+ (peerPaint): Removed.
+ (peerPaintComponent): Overridden to paint the menu bar.
+ * gnu/java/awt/peer/swing/SwingLabelPeer.java
+ (SwingLabel.label): New field.
+ (SwingLabel.SwingLabel): Added constructor with Label argument.
+ (SwingLabel.getGraphics): Implemented to fetch the graphics from
+ the actual AWT component.
+ (SwingLabel.getParent): Implemented to fetch the parent from
+ the AWT component.
+ (SwingLabel.isShowing): Access the label field.
+ (SwingLabelPeer): Set alignment from label.
+ * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
+ * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
+ fixlet.
+ * gnu/java/awt/peer/swing/SwingPanelPeer.java:
+ Don't be a lighweight peer.
+ (SwingPanelPeer): Call init.
+ * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
+ * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
+ (SwingTextField.textField): New field.
+ (SwingTextField.SwingTextField): New constructor.
+ (SwingTextField.isShowing): Access field not enclosing class.
+ (SwingTextField.getGraphics): New method.
+ (SwingTextField.getParent): New method.
+ (SwingTextFieldPeer): Call new constructor.
+ (select): Renamed arguments.
+ * gnu/java/awt/peer/swing/SwingWindowPeer.java
+ (SwingWindowPeer): Call init.
+
+2006-11-09 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JLabel.java
+ (JLabel(Icon)): Changed documentation; Changed text to null.
+ (JLabel(Icon,int)): Likewise.
+ (JLabel(text)): Changed documenation.
+ (JLabel(text,int)): Likewise.
+ (JLabel(text,Icon,int)): Changed documentation; Throw
+ IllegalArgumentException if int is not one of LEFT, RIGHT,
+ CENTER, LEADING or TRAILING.
+
+2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (BeanContextSupport): Use correct dtime default,
+ (BeanContextSupport(BeanContext)): Likewise,
+ (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
+ locale argument,
+ (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
+ (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
+
+2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/beans/beancontext/BeanContextSupport.java
+ (getBeanContextPeer): Implemented.
+
+2006-11-09 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/BlockView.java
+ (cssHeight): Removed.
+ (cssWidth): Removed.
+ (cssSpans): New field. Replaces the two fields above.
+ (BlockView): Allocate cssSpans array.
+ (layoutMinorAxis): Fetch and use child span, not this view's span.
+ (setCSSSpan): Adjusted to use cssSpans array.
+ (setPropertiesFromAttributes): Adjusted to use cssSpans array.
+
+2006-11-09 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/InlineView.java
+ (nowrap): New field.
+ (getBreakWeight): Add support for nowrap.
+ (setPropertiesFromAttributes): Fetch the nowrap setting.
+
+2006-11-09 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSParser.java
+ (parseRuleset): Use new Selector class.
+ (parseValue): Parse multiple anys, not only one.
+ (main): Allow stylesheet be specified on the command line.
+ Use new Selector class.
+ * gnu/javax/swing/text/html/css/CSSParserCallback.java
+ (startStatement): Use Selector class.
+ * gnu/javax/swing/text/html/css/CSSScanner.java
+ (readName): Actually read a character in the loop to avoid
+ endless loop.
+ * gnu/javax/swing/text/html/css/Length.java
+ (getValue): Only multiply when we have a percentage value.
+ * gnu/javax/swing/text/html/css/Selector.java:
+ New class. Provides handling of CSS selectors.
+ * javax/swing/text/html/StyleSheet.java
+ (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
+ (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
+ (CSSStyle.PREC_NORM): New constant field.
+ (CSSStyle.PREC_UA): New constant field.
+ (CSSStyle.PREC_USER_IMPORTANT): New constant field.
+ (CSSStyle.precedence): New field.
+ (CSSStyle.priority): Removed.
+ (CSSStyle.selector): New field.
+ (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
+ and precendence.
+ (CSSStyle.compareTo): Adjusted to use the precedence and
+ specificity of the selector.
+ (CSSStyleSheetParserCallback.precedence): New field.
+ (CSSStyleSheetParserCallback.selector): Removed.
+ (CSSStyleSheetParserCallback.style): New field.
+ (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
+ Initialize with precedence.
+ (CSSStyleSheetParserCallback.declaration): Don't look up
+ existing rule, simply create new one.
+ (CSSStyleSheetParserCallback.endStatement): Append style
+ to stylesheet.
+ (CSSStyleSheetParserCallback.startStatement): Use new Selector
+ class.
+ (css): Changed to be ArrayList.
+ (addRule): Create parser with author-normal precendence.
+ (getRule): Fixed implementation.
+ (loadRules): Create parser with UA precendence.
+ (resolveStyle): Use Selector class for resolving and matching
+ stylesheet rules.
+ (translateHTMLToCSS): Added mappings for a couple of HTML
+ attributes.
+
+2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
+
+ Fixes bug #29770
+ * java/beans/SimpleBeanInfo.java
+ (loadImage): Check for nulls.
+
+2006-11-09 Robert Schuster <robertschuster@fsfe.org>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c:
+ (getpeername): Added 16 byte offset to memcpy operation.
+
+2006-11-09 Robert Schuster <robertschuster@fsfe.org>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c:
+ (getsockname): Added 16 byte offset to memcpy operation.
+
+2006-11-08 Mark Wielaard <mark@klomp.org>
+
+ Fixes bug #29754
+ * java/io/OutputStreamWriter.java
+ (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
+ (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
+
+2006-11-08 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (getParser): Use plain HTML_401F DTD.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.print): Removed method and all calls to it.
+ (HTMLReader.printBuffer): Removed method and all calls to it.
+ (HTMLReader.inImpliedParagraph): New field.
+ (HTMLReader.inParagraph): New field.
+ (HTMLReader.addContent): Create implied p-tag if necessary.
+ (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
+ (HTMLReader.blockClose): Close implied p-tag if necessary.
+ (HTMLReader.blockOpen): Close implied p-tag if necessary.
+ * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
+
+2006-11-08 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Removed mapping for TD tag. This
+ is done in TableView.
+ * javax/swing/text/html/TableView.java:
+ Implemented from scratch.
+
+2006-11-07 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (_handleText): Check if text content is actually allowed before
+ passing empty text fragments on to the parser callbacks.
+
+2006-11-07 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
+ path.
+ (flat): New method.
+
+2006-11-07 Tania Bento <tbento@redhat.com>
+
+ * java/awt/FlowLayout.java
+ (getSize): If parent does not have a component, then a
+ different formula is used to calcuate the width.
+
+2006-11-07 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Include ListView.
+ * javax/swing/text/html/ListView.java
+ (paint): Removed comment.
+ * javax/swing/text/html/StyleSheet.java
+ (CSSStyle.priority): New field.
+ (CSSStyle.CSSStyle(int)): New constructor with priority.
+ (CSSStyle.compareTo): New method. Used for sorting the styles.
+ (CSSStyleSheetParserCallback.declaration): Store the style
+ with the complete selector.
+ (ListPainter.attributes): Renamed as field.
+ (ListPainter.styleSheet): New field.
+ (ListPainter.type): New field.
+ (ListPainter.ListPainter): Pass StyleSheet to constructor.
+ (ListPainter.paint): Provide simplistic implementation.
+ (getListPainter): Pass StyleSheet to constructor.
+ (resolveStyle): Fixed CSS style resolving.
+
+2006-11-07 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/BorderWidth.java:
+ New class. Handles CSS border width values.
+ * gnu/javax/swing/text/html/css/Length.java
+ (floatValue): Made protected so that BorderWidth can access it.
+ * javax/swing/text/html/CSS.java
+ (Attribute.BORDER_BOTTOM_COLOR): New static field.
+ (Attribute.BORDER_BOTTOM_STYLE): New static field.
+ (Attribute.BORDER_LEFT_COLOR): New static field.
+ (Attribute.BORDER_LEFT_STYLE): New static field.
+ (Attribute.BORDER_RIGHT_COLOR): New static field.
+ (Attribute.BORDER_RIGHT_STYLE): New static field.
+ (Attribute.BORDER_TOP_COLOR): New static field.
+ (Attribute.BORDER_TOP_STYLE): New static field.
+ (getValue): Added some mappings for the border color and
+ border width values.
+ * javax/swing/text/html/CSSBorder.java: New class. Implements
+ CSS borders.
+ * javax/swing/text/html/StyleSheet.java
+ (BoxPainter.background): New field.
+ (BoxPainter.border): New field.
+ (BoxPainter.bottomInset): Documented.
+ (BoxPainter.leftInset): Documented.
+ (BoxPainter.rightInset): Documented.
+ (BoxPainter.topInset): Documented.
+ (BoxPainter.BoxPainter): Added support for borders and background.
+ (BoxPainter.getInset): Add border insets.
+ (BoxPainter.paint): Implemented. Paints the background and the
+ CSS border.
+ (addRule): Be less picky about parse and IO exceptions.
+ (getBoxPainter): Adjust to new BoxPainter constructor.
+
+2006-11-07 Andreas <a.tobler@schweiz.org>
+
+ * examples/Makefile.am: Add rule to install the *.html files we use
+ in the Swing Demo.
+
+2006-11-06 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/ComponentGraphics.java
+ (fillRect): Handle custom composites.
+ (drawRenderedImage): Handle custom composites.
+ (drawImage): Handle custom composites.
+ (createBuffer): New method.
+ (drawLine): Handle custom composites.
+ (drawComposite): New method.
+ (fill): Handle custom composites.
+ (getNativeCM): New method.
+ (drawGlyphVector): Handle custom composites.
+ (drawRect): Handle custom composites.
+ (draw): Handle custom composites.
+ * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
+ (drawComposite): Unset composite during draw call, to prevent parent
+ from handling composite again.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (getBufferCM): Added comments.
+ (getNativeCM): Made abstract.
+ (setComposite): Removed comments.
+
+2006-11-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java:
+ Fixed initial window size and start document.
+
+2006-11-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.addSpecialElement): Removed comment about
+ htmlAttributeSet.
+ (HTMLReader.handleComment): Create SimpleAttributeSet instead
+ of htmlAttributeSet.
+ * javax/swing/text/html/parser/DocumentParser.java
+ (gnuParser.handleStartTag): Use SimpleAttributeSet instead
+ of htmlAttributeSet.
+ * javax/swing/text/html/parser/ParserDelegator.java
+ (gnuParser.handleStartTag): Use SimpleAttributeSet instead
+ of htmlAttributeSet.
+ * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
+ (gnuParser.handleStartTag): Use SimpleAttributeSet instead
+ of htmlAttributeSet.
+ * gnu/javax/swing/text/html/parser/support/Parser.java
+ (getAttributes): Return a SimpleAttributeSet.
+ (restOfTag): Don't set resolving parent here.
+
+2006-11-06 Tania Bento <tbento@redhat.com>
+
+ * java/awt/TextComponent.java
+ (setSelectionStart): Added check.
+
+2006-11-06 Tania Bento <tbento@redhat.com>
+
+ * java/awt/TextField.java
+ (minimumSize(int)): Check if minimum size has been previously
+ set and changed values of Dimension returned if peer == null.
+ (preferredSize(int)): Check if preferred size has been previously
+ set and changed values of Dimension returned if peer == null.
+
+2006-11-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTree.java
+ (TreeModelHandler.treeNodesRemoved): Implemented.
+ (TreeModelHandler.treeStructureChanged): Implemented.
+ (nodeStates): Made package private.
+
+2006-11-06 Francis Kung <fkung@redhat.com>
+
+ PR 29420
+ * javax/swing/JTree.java
+ (clearSelectionPathStates): New private method to clean up nodeStates.
+ (removeSelectionPath): Call clearSelectionPathStates().
+ (removeSelectionPaths): Call clearSelectionPathStates().
+ (removeSelectionRow): Call clearSelectionPathStates().
+ (setSelectionPath): Call clearSelectionPathStates().
+ (setSelectionPaths): Call clearSelectionPathStates().
+ (setSelectionRow): Call clearSelectionPathStates().
+
+2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+ Fixes bug #29703
+ * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
+
+2006-11-06 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java:
+ Changed to implement a minimalistic browser.
+ * examples/gnu/classpath/examples/swing/forms.html,
+ * examples/gnu/classpath/examples/swing/textstyles.html,
+ * examples/gnu/classpath/examples/swing/welcome.html:
+ Some example content.
+
+2006-11-06 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/ComponentView.java
+ (setParent): Lock the document and repaint the hosting
+ container.
+ * javax/swing/text/FlowView.java
+ (FlowStrategy.createView): Removed comment.
+ (FlowView): Initialize span with Short.MAX_VALUE.
+ (getFlowStart): Return 0 unconditionally.
+ (layout): Moved code around to make it more readable.
+ (loadChildren): Always set the parent.
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.fontMetrics): New field.
+ (DefaultGlyphPainter.getAscent): Use new helper method to
+ synchronize the font metrics.
+ (DefaultGlyphPainter.getBoundedPosition): Use new helper method
+ to synchronize the font metrics.
+ (DefaultGlyphPainter.getDescent): Use new helper method to
+ synchronize the font metrics.
+ (DefaultGlyphPainter.getHeight): Use new helper method to
+ synchronize the font metrics.
+ (DefaultGlyphPainter.getSpan): Use new helper method to
+ synchronize the font metrics.
+ (DefaultGlyphPainter.modelToView): Use new helper method to
+ synchronize the font metrics.
+ (DefaultGlyphPainter.updateFontMetrics): New helper method for
+ font metrics caching.
+ (DefaultGlyphPainter.viewToModel): Use new helper method to
+ synchronize the font metrics. Fixed view to model mapping.
+ * javax/swing/text/View.java
+ (removeAll): Pass null to replace().
+ (setParent): Only reparent children that have this view as parent.
+
+2006-11-05 Mark Wielaard <mark@klomp.org>
+
+ * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
+ * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
+ * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
+ Removed.
+ * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
+ Removed.
+ * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
+ Remove gnu_java_nio_channels_FileChannelImpl.c.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/BlockView.java
+ (attributes): New field.
+ (cssHeight): New field.
+ (cssWidth): New field.
+ (painter): New field.
+ (calculateMajorAxisRequirements): Overridden to account for
+ CSS settings.
+ (calculateMinorAxisRequirements): Overridden to account for
+ CSS settings.
+ (layoutMinorAxis): Overridden to account for CSS settings.
+ (changedUpdate): Formatting fixlet.
+ (constrainSize): New helper method.
+ (getAlignment): Fix alignment.
+ (getAttributes): Cache attributes for better performance.
+ (getStyleSheet): Fetch stylesheet from document rather than creating
+ a new one.
+ (paint): Remove comment.
+ (setCSSSpan): New helper method.
+ (setPropertiesFromAttributes): Implemented to fetch the
+ recognized properties.
+ * javax/swing/text/html/CSS.java
+ (getValue): Added mapping for width and height attributes.
+ * javax/swing/text/html/InlineView.java
+ (longestWord): New field.
+ (getLongestWord): New helper method.
+ (calculateLongestWord): New helper method.
+ (getMinimumSpan): Overridden to constrain the minimum span by the
+ longest word.
+ * javax/swing/text/html/ParagraphView.java
+ (cssHeight): New field.
+ (cssWidth): New field.
+ (calculateMinorAxisRequirements): Overridden to account for
+ CSS settings.
+ (setCSSSpan): New helper method.
+ (setPropertiesFromAttributes): Fetch CSS width and height. Added
+ null check.
+ * gnu/javax/swing/text/html/css/Length.java
+ (percentage): New field.
+ (Length): Determine percentage values.
+ (getValue(float)): New method for handling percentage values.
+ (isPercentage): New method.
+
+2006-11-03 Tania Bento <tbento@redhat.com>
+
+ * java/awt/TextArea.java
+ (getMinimumSize): Changed documentation.
+ (getPreferredSize): Changed documentation.
+ (getMinimumSize(int,int)): Changed documenation.
+ (getPreferredSize(int,int)): Changed documenation.
+ (minimumSize): Changed documentation.
+ (preferredSize): Changed documenation.
+ (minimumSize(int,int)): Changed documentation. Checked if
+ minimum size had been previously set and changed values of
+ Dimension returned if peer == null.
+ (preferredSize(int, int)): Checked if preferred size had been
+ previously set and changed values of Dimension returned if
+ peer = null.
+
+2006-11-03 Tania Bento <tbento@redhat.com>
+
+ * java/awt/event/ComponentEvent.java
+ (paramString): Changed format of string representation returned.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.FormAction.start): Added support for textarea.
+ (HTMLReader.FormAction.end): Added support for textarea.
+ (HTMLReader.HeadAction.end): Call super to actually close the
+ block.
+ (HTMLReader.inTextArea): New field.
+ (HTMLReader.textAreaDocument): New field.
+ (HTMLReader.handleText): Call textAreaContent when inside
+ a textarea tag.
+ (HTMLReader.textAreaContent): Implemented to initialize
+ the text area's model.
+ * javax/swing/text/html/FormView.java
+ (createComponent): Added support for textarea tag.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.IsindexAction.start): Implemented.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/StyleSheet.java
+ (addRule): Implemented.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.inStyleTag): New field.
+ (HTMLReader.styles): New field.
+ (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
+ if any.
+ (HTMLReader.StyleAction.start): Set inStyleTag flag.
+ (HTMLReader.StyleAction.end): Set inStyleTag flag.
+ (HTMLReader.handleText): When inside a style tag, add
+ content to the styles array.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/FormView.java
+ (maxIsPreferred): New field.
+ (createComponent): Initialize components correctly.
+ (getMaximumSpan): Return the preferred span for components
+ that need this. The maxIsPreferred flag is set accordingly
+ in createComponent.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.FormAction.start): Implemented to set the
+ correct model as attribute.
+ (HTMLReader.FormAction.setModel): New helper method.
+ (HTMLReader.FormAction.end): Call super to finish the element.
+ Added TODO about things left to do.
+ (HTMLReader.handleComment): Use SimpleAttributeSet rather
+ than htmlAttributeSet.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Create BlockView for FORM tags.
+ Create FormView for INPUT, TEXTAREA and SELECT tags.
+
+2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/geom/GeneralPath.java: API doc fixes.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/ImageView.java
+ (getImageURL): Fetch attribute from element. Consider the
+ base URL for relative image locations.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (setContentType): Strip off attributes.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (LinkController.activateLink(int,JEditorPane,int,int): New
+ method. Implements activation of a hyperlink.
+ (LinkController.activateLinke(int,JEditorPane)): Delegate
+ to the other activateLink() method.
+ (LinkController.createHyperlinkEvent): New helper method.
+ (LinkController.mouseClicked): Implemented to activate the link.
+ (LinkController.mouseDragged): Added comment that this
+ method does nothing.
+ (LinkController.mouseMoved): Update cursor for hyperlinks.
+ (mouseHandler): Renamed field to linkController.
+ (HTMLEditorKit): Create a link controller.
+ (clone): Give the clone a new link controller.
+ (deinstall): De-install link controller as mouseMotionListener too.
+ (install): Install link controller as mouseMotionListener too.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ PR 29644
+ * javax/swing/text/FlowView.java
+ (FlowStrategy.changedUpdate): Reversed condition. This caused
+ wrong layout and bad performance.
+ (FlowStrategy.insertUpdate): Reversed condition. This caused
+ wrong layout and bad performance.
+ (FlowStrategy.removeUpdate): Reversed condition. This caused
+ wrong layout and bad performance.
+ (LogicalView): Changed to be a subclass of CompositeView.
+ (LogicalView()): Only take one Element argument.
+ (LogicalView.childAllocation): New method for implementing
+ the abstract CompositeView method.
+ (LogicalView.forwardUpdateToView): Overridden for correct
+ reparenting.
+ (getMinimumSpan): Overridden to handle line breaking correctly.
+ (getPreferredSpan): Implemented to handle line breaking correctly.
+ (getViewAtPoint): New method for implementing
+ the abstract CompositeView method.
+ (getViewIndexAtPosition): Overridden to handle leaf elements
+ correctly.
+ (isAfter): New method for implementing
+ the abstract CompositeView method.
+ (isBefore): New method for implementing
+ the abstract CompositeView method.
+ (loadChildren): Overridden to handle leaf elements
+ correctly.
+ (paint): New method for implementing
+ the abstract CompositeView method.
+ (calculateMinorAxisRequirements): Use preferredSpan in calculation.
+ (loadChildren): Initialize flow layout by sending a synthetic
+ insertUpdate() to the layout strategy.
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
+ font metrics if component is not available. Add initial offset
+ to result.
+ (breakView): Be more clever when breaking the view.
+ (getBreakLocation): New helper method to determine a good
+ break location.
+ (getBreakWeight): Be more clever when breaking the view.
+ (getTabbedSpan): Make sure we have a painter. Use view's
+ start and end offset rather than the element's.
+ * javax/swing/text/Utilities.java
+ (drawTabbedText): Avoid useless add and sub with the y offset.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ PR 29644
+ * gnu/java/awt/peer/ClasspathFontPeer.java
+ (getStringBounds): Removed abstract method. This is replaced
+ in java.awt.Font to use a TextLayout.
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (GtkWindowPeer): Set a font on the window object.
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
+ (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
+ Changed to take char,int,int instead of String. Filter
+ control characters.
+ (FreetypeGlyphVector(Font,String,FontRenderContext)):
+ Create char array out of string.
+ (getLogicalBounds): Don't translate bounds. They already are
+ translated.
+ * gnu/java/awt/peer/gtk/GdkFontMetrics.java
+ (stringWidth): Filter out control characters.
+ * gnu/java/awt/peer/gtk/GdkFontPeer.java
+ (getStringBounds): Removed unneeded method.
+ (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
+ constructor.
+ * gnu/java/awt/peer/qt/QtFontPeer.java
+ (getStringBounds): Removed unneeded method.
+ * gnu/java/awt/peer/x/XFontPeer.java
+ (getStringBounds): Removed unneeded method.
+ * gnu/java/awt/peer/x/XFontPeer2.java
+ (getStringBounds): Removed unneeded method.
+ * java/awt/Font.java
+ (getStringBounds(char[],int,int,FontRenderContext)):
+ Use TextLayout to determine the bounds.
+ (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
+ Delegate to the char[] version of this method.
+ (getStringBounds(String,FontRenderContext)):
+ Delegate to the char[] version of this method.
+ (getStringBounds(String,int,int,FontRenderContext)):
+ Delegate to the String version of this method.
+
+2006-11-01 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPaneAdjustable.java
+ (paramString): Changed format of string representation returned.
+ (paramStringHelper): New private method.
+
+2006-11-01 Tania Bento <tbento@redhat.com>
+
+ * java/awt/GridBagLayout.java
+ (toString): Implemented method.
+
+2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
+ initialization to NP_Initialize.
+ (NP_Initialize): Initialize GLib threading.
+
+2006-10-31 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JTextField.java
+ (fireActionPerformed): When creating the new event, if
+ actionCommand == null, then getText() is used.
+
+2006-10-31 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (fillArc): Corrected arc type to Arc2D.PIE.
+
+2006-10-31 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.PreAction.end): Implemented.
+ (HTMLReader.PreAction.start): Implemented.
+ (HTMLReader.inPreTag): New field.
+ (HTMLReader.handleTag): When inside a pre tag, call preContent().
+ (HTMLReader.preContent): Implemented.
+
+2006-10-31 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JTextField.java
+ (fireActionPerformed): When creating the new event,
+ actionCommand should be used as the command, not
+ getText().
+
+2006-10-31 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (write): Use HTMLWriter or MinimalHTMLWriter for writing
+ HTML or Styled documents.
+
+2006-10-31 David Fu <fchoong@netbeans.jp>
+
+ * javax/swing/text/html/HTMLWriter.java: New class.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/dnd/DragSourceContext.java
+ (dragExit): Use constant fields instead of 0.
+ (updateCurrentCursor): Completed implementation.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/dnd/DragGestureRecognizer.java
+ (resetRecognizer): Added API docs. Do not replace the events object
+ but rather clear() it. Removed not implemented tag.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/datatransfer/DataFlavor.java
+ (writeExternal): Remove not implemented tag.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/datatransfer/DataFlavor.java
+ (javaFileListFlavor): Don't explicitly specify class.
+ (plainTextFlavor): Don't explicitly specify class.
+ (mimeType): Changed to type MimeType. Remove final.
+ (representationClass): Remove final.
+ (DataFlavor): Don't do anything here.
+ (DataFlavor(Class,String,String)): Removed.
+ (DataFlavor(Class,String)): Initialize here.
+ (DataFlavor(String,String,ClassLoader)): Initialize in init().
+ (DataFlavor(String,String)): Initialize in init().
+ (DataFlavor(String)): Initialize in init().
+ (init): New initialization method.
+ (getMimeType): Delegate to MimeType.toString().
+ (getParameter(String,String)): Removed. Is now done in MimeType.
+ (getParameter(String)): Delegate to MimeType.
+ (getPrimaryType): Delegate to MimeType.
+ (getRepresentationClassFromMime): Removed.
+ (getRepresentationClassFromMimeThrows): Removed.
+ (getSubType): Delegate to MimeType.
+ (hashCode): Take MimeType.toString() for the hashCode.
+ (isFlavorRemoveObjectType): Return true only when representation
+ class is remove and serializable and the mime type is remote.
+ (isFlavorSerializedObjectType): Return true only when representation
+ class is serializable and the mime type is serialized.
+ (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
+ (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
+ (readExternal): Implemented stub method.
+ (writeExternal): Implemented stub method.
+ * java/awt/datatransfer/MimeType.java: New helper class.
+
+2006-10-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/TransferHandler.java
+ (importData): Implemented stub method. Added API docs.
+
+2006-10-26 Christian Elias Naur <elias@oddlabs.com>
+
+ * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
+ function.
+ * native/jni/classpath/classpath_jawt.h: Likewise.
+ * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
+ initializer for surface_info_x11->depth.
+
+2006-10-26 Tania Bento <tbento@redhat.com>
+
+ * java/awt/FileDialog.java:
+ (setFile): Changed if-clause condition.
+
+2006-10-25 Francis Kung <fkung@redhat.com>
+
+ * include/gnu_java_nio_VMChannel.h,
+ * include/java_net_VMNetworkInterface.h,
+ * include/gnu_java_nio_EpollSelectorImpl.h,
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
+ * include/gnu_java_nio_FileChannelImpl.h,
+ * include/gnu_java_nio_KqueueSelectorImpl.h,
+ * include/gnu_java_nio_VMPipe.h,
+ * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
+
+2006-10-25 Tania Bento <tbento@redhat.com>
+
+ * java/awt/Dialog.java: Created new private variable
+ next_dialog_number.
+ (Dialog(Frame, String, boolean, GraphicsConfiguration)):
+ Set cursor to default cursor.
+ (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
+ Same.
+ (generateName): New method.
+ (getUniqueLong): New private method.
+ * java/awt/FileDialog.java: Created new private variable
+ next_file_dialog_number.
+ (setFile): If file == "", set it to null.
+ (generateName): New method.
+ (getUniqueLong): New private method.
+
+2006-10-25 Robert Schuster <robertschuster@fsfe.org>
+
+ * java/net/MulticastSocket.java:
+ (setNetworkInterface): Rewritten.
+
+2006-10-25 Robert Schuster <robertschuster@fsfe.org>
+
+ * native/jni/java-net/javanet.h: Added declaration for
+ _javanet_create_inetaddress.
+ * native/jni/java-net/javanet.c:
+ (_javanet_create_inetaddress): Removed static keyword.
+
+2006-10-25 Robert Schuster <robertschuster@fsfe.org>
+
+ * gnu/java/net/PlainDatagramSocketImpl.java:
+ (connect): Use VMChannel instance for connect call.
+ (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
+ (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
+ (setOption): Handle multicast options.
+ (getOption): Handle multicast options.
+ * gnu/java/net/PlainSocketImpl.java:
+ (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
+ (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
+ (setOption): Filter unappropriate options.
+ (getOption): Filter unappropriate options.
+ (connect): Use given SocketAddress.
+ (close): Reset address and port.
+ (getInetAddress):
+ * include/Makefile.am: Removed all occurences of
+ gnu_java_net_VMPlainDatagramSocketImpl.h.
+ * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
+ * native/jni/java-net/Makefile.am: Removed
+ gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
+ * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
+ Removed.
+ as SocketException, declare to throw SocketException.
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
+ for SocketException and ConnectException.
+ (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
+ of IOException.
+ (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
+ of IOException.
+ (Java_gnu_java_nio_VMChannel_accept): Rewritten.
+ (JCL_thread_interrupted): New function.
+ (initIDs): Added initialisation for isThreadInterrupted method id.
+ * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
+ CPNET_IP_TTL to java_sockopt enum.
+ (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
+ case, handle SO_LINGER case properly.
+ (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
+ case, handle SO_LINGER case properly.
+ (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
+ function.
+ (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
+ function.
+ (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
+ function.
+ (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
+ IPV6_LEAVE_GROUP.
+ * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
+ * vm/reference/gnu/java/nio/VMChannel.java:
+ (connect(int, byte[], int, int)): Declare to throw SocketException.
+ (connect6): Declare to throw SocketException.
+ (connect(InetSocketAddress, int)): Catch IOException and rethrow
+ (isThreadInterrupted): New method.
+ * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
+ field.
+ (setTimeToLive): New method.
+ (getTimeToLive): New method.
+ (setMulticastInterface(int, InetAddress)): New method.
+ (setMulticastInterface(int, int, Inet4Address): New method.
+ (setMulticastInterface6(int, int, Inet6Address): New method.
+ (setOptions): Handle SO_LINGER case.
+ (getOptions): Add missing SO_REUSEADDR case.
+ * java/net/Socket.java:
+ (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
+ when exception was thrown out of connect().
+ (setSoLinger): Replaced instantiations with valueOf calls, replaced
+ Boolean.FALSE with Integer.valueOf(-1).
+ * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
+ * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
+ * NEWS: Documented VM interface changes.
+
+2006-10-25 Robert Schuster <robertschuster@fsfe.org>
+
+ * java/net/Inet6Address.java:
+ (isMulticastAddress): Fixed check.
+
+2006-10-25 Robert Schuster <robertschuster@fsfe.org>
+
+ Fixes PR29576
+ * java/net/MulticastSocket.java:
+ (getNetworkInterface): Return a special NetworkInterface instance
+ if the socket's multicast interface is set to any.
+
+2006-10-25 Robert Schuster <robertschuster@fsfe.org>
+
+ Fixes PR29576
+ * java/net/NetworkInterface.java:
+ (createAnyInterface): New method.
+ (equals): Added if-statement to handle case where netif.name is null.
+ * vm/reference/java/net/VMNetworkInterface.java:
+ (hashCode): Rewritten.
+ (VMNetworkInterface): New constructor.
+
+2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
+ * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
+ Add ASM_JAR to bootclasspath.
+
+2006-10-24 Tania Bento <tbento@redhat.com>
+
+ * java/awt/Scrollbar.java:
+ (setLineIncrement): Removed unnecessary if-clause and if
+ lineIncrement == 0, then it should be set to 1, not 0.
+ (setPageIncrement): Removed unnecessary if-clause and if
+ pageIncrement == 0, then it should be set to 1, not 0.
+ (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
+ If maximum <= minimum, maximum should be set to mininum + 1. The
+ actual value of maximum is maximum - visibleAmount, so I made
+ this change to the appropriate if-check. Remove the two unneccessary
+ if-clauses.
+
+2006-10-23 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (cairoSetFont): New method.
+ (copy): Set font using setFont method.
+ (setFont): Call cairoSetFont.
+ (setup): Set font using setFont method.
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (install_font_peer): Removed.
+ (cairoDrawGlyphVector): Removed call to install_font_peer.
+ (cairoSetFont): New method.
+
+2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
+ * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
+ NativeEventLoopRunningEvent after GTK main loop start and stop.
+ * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
+ (getNextEvent): Set dispatchThread to null.
+ (postEventImpl): Set nativeLoopRunning.
+ (pop): Interrupt event dispatch thread.
+ * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
+
+2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
+ Added include.
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
+ Likewise.
+
+2006-10-23 Marco Trudel <mtrudel@gmx.ch>
+
+ * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
+ * javax/crypto/CipherOutputStream.java: Re-implemented.
+ * gnu/javax/crypto/jce/cipher/CipherAdapter.java
+ (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
+ decryption mode and check if it is a complete block.
+ (engineUpdate(byte[], int, int, byte[], int)): Likewise.
+ (engineDoFinal(byte[], int, int)): In padded decryption mode, take
+ partially processed data into account.
+
+2006-10-21 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/29086:
+ * java/util/AbstractCollection.java (toArray): Removed cast.
+
+2006-10-20 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
+ Don't use mangled class name for .h file.
+ * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
+ Don't use mangled class name for .c file.
+ * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
+ Handle classes from the default package.
+
+2006-10-20 Francis Kung <fkung@redhat.com>
+
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
+
+2006-10-19 Francis Kung <fkung@redhat.com>
+
+ PR 29510
+ * java/awt/image/BufferedImage.java
+ (constructor): Updated some properties of default image types.
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (argb32): Updated field to match default in BufferedImage.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ PR 29419
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (copyArea): Changed size comparison to return when size == 0
+ too.
+ * javax/swing/JViewport.java
+ (paintBackingStore): Check width and height of blitted area
+ and only do blit if its > 0.
+ (paintBlit): Check width and height of blitted area
+ and only do blit if its > 0.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ PR 27091
+ * gnu/java/awt/peer/gtk/GtkFramePeer.java
+ (maximize): New native method.
+ (unmaximize): New native method.
+ (iconify): New native method.
+ (deiconify): New native method.
+ (getState): Implemented.
+ (setState): Implemented.
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (oldState): Rename to windowState and made protected, so that
+ the FramePeer can access it.
+ (postWindowEvent): Handle state change events more gently and
+ correctly.
+ * java/awt/Frame.java
+ (getState): Fetch state from getExtendedState().
+ (setExtendedState): Update the peer. Check if the state change
+ is actually supported.
+ (getExtendedState): Update the state from the peer.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
+ (maximize): New method.
+ (unmaximize): New method.
+ (iconify): New method.
+ (deiconify): New method.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
+ (AWT_FRAME_NORMAL): New macro.
+ (AWT_FRAME_ICONIFIED): New macro.
+ (AWT_FRAME_MAXIMIZED_BOTH): New macro.
+ (window_window_state_cb): Rewritten to handle window state changes
+ more gently (mostly on the java side of the world).
+ * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
+
+2006-10-18 Tania Bento <tbento@redhat.com>
+
+ * java/awt/CardLayout.java:
+ (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
+ its height and width if Container passed as argument is null.
+ (gotoComponent): Consider the case where the component is not visible.
+
+2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
+ Rename file...
+ * resource/gnu/classpath/tools/appletviewer/messages.properties:
+ New file.
+ * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
+ Remove file.
+ * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
+ Remove file.
+ * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
+ Likewise.
+ * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
+ * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
+ Retrieve user-visible strings through Messages.getString.
+ * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
+ * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
+ Likewise.
+ * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
+ Likewise.
+ * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
+ Likewise.
+ * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
+ Likewise.
+ * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
+ Likewise.
+ * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
+ Likewise.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
+ (AWT_WINDOW_OPENED): Remove unnecessary macro.
+ (window_show_cb): Removed unnecessary function.
+ (connect_signals): Don't connect signal for show. *
+ gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (hasBeenShown): Removed. This is handled in java.awt.Window.
+ (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
+ in java.awt.Window. * java/awt/Window.java
+ (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
+
+2006-10-18 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
+ (drawRenderedImage): New method.
+ (drawImage): New method.
+ (CairoSurfaceGraphics): Set clip.
+ (createBuffer): New method.
+ (getBufferCM): New method.
+ (drawComposite): New method.
+ (fill): New method.
+ (getNativeCM): New method.
+ (drawGlyphVector): New method.
+ (draw): New method.
+ * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
+ (getNativeCM): Reflect renamed field.
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ (cairoCM_pre): Renamed from cairoColorModel.
+ (cairoColorModel): Set premultiplication to false.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ PR 28769
+ * javax/swing/JScrollPane.java
+ (viewportBorder): Made field private.
+ (wheelScrollingEnabled): Made field private.
+ (JScrollPane): Enabled wheel scrolling by default.
+ * javax/swing/JTree.java
+ (TreeSelectionRedirector.valueChanged): Don't repaint anything
+ here.
+ (getScrollableUnitIncrement): Fixed thinko.
+ * javax/swing/plaf/basic/BasicScrollBarUI.java
+ (static scrollByBlock): New static method to avoid code duplication
+ for the BasicScrollPane wheel scrolling.
+ (static scrollByUnits): New static method to avoid code duplication
+ for the BasicScrollPane wheel scrolling.
+ (scrollByBlock): Delegate to static helper method.
+ (scrollByUnit): Delegate to static helper method.
+ * javax/swing/plaf/basic/BasicScrollPaneUI.java
+ (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
+ static helper methods to avoid code duplication.
+ (MouseWheelHandler.bounds): Removed.
+ (MouseWheelHandler.getValue): Removed.
+ (MouseWheelHandler.scroll): Removed.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ PR 29502
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (updateComponent): Don't override this here.
+ * java/awt/Window.java
+ (addWindowListener): Ignore null listener. Set newEventsOnly flag.
+ (addWindowFocusListener): Ignore null listener. Set newEventsOnly
+ flag.
+ (addWindowStateListener): Ignore null listener. Set newEventsOnly
+ flag.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (getStream): Try to detect and set the content type of the
+ connection stream.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/RepaintManager.java
+ (RepaintWorkerEvent): Pass full set of params to super.
+ (RepaintWorker.dispatch): Overridden to allow apps to call this
+ via reflection.
+ (addDirtyRegion): Synchronize a little more to protect the
+ dirtyComponents field and avoid NPEs.
+ (invokeLater): Pass full set of params to RepaintWorkerEvent
+ constructor.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (page): Removed field. The page is now stored in the correct
+ document property.
+ (getPage): Fetch page URL from document property.
+ (read): Set the document for this JEditorPane. Use a Reader
+ for reading in the document.
+ (setPage): Call getStream() to get the stream from which we read.
+ Fire property change. Store page in document property.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/datatransfer/DataFlavor.java
+ (DataFlavor(String)): Removed check for space in mime string.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Container.java
+ (validateTree): Call ContainerPeer.begin|endLayout() rather than
+ begin|endValidate().
+ (validate): Call ContainerPeer.begin|endValidate() here.
+ Added some local vars to avoid NPEs.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ * native/target/.cvsignore
+ * native/target/Linux/.cvsignore
+ * native/target/generic/.cvsignore:
+ Added to let CVS ignore the generated Makefile and Makefile.in
+ files.
+
+2006-10-18 Roman Kennke <kennke@aicas.com>
+
+ PR 29448
+ * java/awt/Window.java
+ (eventTypeEnabled): Overridden to handle WindowEvents.
+ (processEvent): Switch between processWindowEvent(),
+ processWindowFocusEvent() and processWindowStateEvent() here,
+ rather than simply calling processWindowEvent().
+ (processWindowEvent): Only dispatch event to listener, do not
+ switch to processWindowFocusEvent() or processWindowStateEvent()
+ here.
+ * javax/swing/JFrame.java
+ (frameInit): Explicitly enable window and key events here.
+ (processWindowEvent): Throw out some unnecessary code.
+ * javax/swing/JWindow.java
+ (windowInit): Explicitly enable key events here.
+ * javax/swing/JDialog.java
+ (close_action): Renamed to closeAction.
+ (dialogInit): Explicitly enable window events here.
+ (getDefaultCloseOperation): Renamed close_action to closeAction.
+ (processWindowEvent): Throw out some unnecessary code.
+ Renamed close_action to closeAction.
+ (setDefaultCloseOperation): Renamed close_action to closeAction.
+
+2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
+ to track native GTK event loop status.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
+ clear running flag when native GTK event loop starts and stops.
+
+2006-10-17 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/TransferHandler.java
+ (exportToClipboard): Implemented.
+
+2006-10-17 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
+ region to account for pixel-shifting.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
+ proctected.
+
+2006-10-17 Francis Kung <fkung@redhat.com>
+
+ PR 29450
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
+ (getLogicalBounds): Translate individual glyphs before appending bounds.
+ (getOutline): Translate individual glyphs before appending outline.
+
+2006-10-17 Cameron McCormack <cam@mcc.id.au>
+
+ PR 29014
+ * java/awt/font/TextLayout.java
+ (bidi): New field.
+ (constructor): Store bidi in field.
+ (getCharacterLevel): Implemented.
+
+2006-10-17 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/TransferHandler.java
+ (PropertyTransferable): New inner class. Handles transfers
+ from component properties.
+ (createTransferable): Implemented.
+
+2006-10-17 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (drawComposite): Ensure composite does not extend beyond buffer
+ bounds.
+ * java/awt/image/Raster.java
+ (createChild): Ensure child does not extend beyond parent's
+ bounds.
+ * java/awt/image/WritableRaster.java
+ (createWritableChild): Ensure child does not extend beyond
+ parent's bounds.
+
+2006-10-17 Jeroen Frijters <jeroen@frijters.net>
+
+ * native/jni/classpath/jcl.c
+ (JNI_OnLoad): Corrected calling convention.
+
+2006-10-16 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/TransferHandler.java
+ (propertyName): New field.
+ (TransferHandler(String)): Store property name in field.
+ (canImport): Implemented stub method.
+ (exportDone): This is a no-op. Removed not-implemented mark.
+ (getPropertyDataFlavor): New helper method.
+ (getPropertyDescriptor): New helper method.
+
+2006-10-16 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/AbstractButton.java
+ (AccessibleJButton.getAfterIndex): Implemented.
+ (AccessibleJButton.getAtIndex): Implemented.
+ (AccessibleJButton.getBeforeIndex): Implemented.
+ (AccessibleJButton.getCharacterAttribute): Completed incomplete
+ method implementation.
+
+2006-10-16 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JLabel.java
+ (AccessibleJLabel.getIndexAtPoint): Implemented.
+ (AccessibleJLabel.getCharacterBounds): Implemented.
+ (AccessibleJLabel.getTextRectangle): New helper method.
+
+2006-10-16 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/filechooser/FileSystemView.java
+ (getFileSystemView): Mark as implemented.
+
+2006-10-14 Roman Kennke <kennke@aicas.com>
+
+ PR 27957
+ * javax/swing/JComponent.java
+ (toolTipText): Removed field.
+ (createToolTip): Don't set tooltip text here. This is done
+ in the ToolTipManager.
+ (setToolTipText): Set tooltip text as client property.
+ (getToolTipText): Get tooltip text from client property.
+ * javax/swing/ToolTipManager.java
+ (currentComponent): Made field non-static and of type JComponent.
+ (currentPoint): Made field non-static.
+ (currentTip): Made field non-static.
+ (popup): Made field non-static.
+ (toolTipText): New field. Stores the current tooltip text.
+ (checkTipUpdate): New helper method. Checks for updates of
+ the tooltip text and triggers the appropriate actions.
+ (getContentPaneDeepestComponent): Removed unneeded casts.
+ (mouseEntered): Removed unneeded cast. Initially fetch tooltip
+ text from component.
+ (mouseMoved): Check for tooltip text updates.
+ (showTip): Set tooltip text from current setting.
+
+2006-10-14 Roman Kennke <kennke@aicas.com>
+
+ PR 27956
+ * javax/swing/JSlider.java
+ (setPaintLabels): Call setLabelTable() instead of setting
+ the field directly. This also updates the label's size.
+
+2006-10-13 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
+ method.
+
+2006-10-13 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPane.java
+ (setLayout): Should throw AWTError whenever called.
+
+2006-10-13 Roman Kennke <kennke@aicas.com>
+
+ PR 29448
+ * java/awt/Component.java
+ (dispatchEventImpl): Special handle ComponentReshapeEvents to
+ update the AWT's knowledge about a component's size.
+ * gnu/java/awt/ComponentReshapeEvent.java: New class.
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
+ to update the AWT's knowledge about the component bounds.
+
+2006-10-13 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPaneAdjustable.java
+ (setMaximum): Should throw AWTError whenever called.
+ (setMinimum): Same.
+ (setVisibleAmount): Same.
+
+2006-10-13 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPane.java
+ (addImpl): When calling super, index should be value passed,
+ not -1.
+ (getIsValidString): New helper method for paramString().
+ (getScrollbarDisplayString): New helper method for paramString().
+ (paramString): Changed format of outputted string.
+
+2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/tree/DefaultTreeSelectionModel.java
+ (clone): Added cast to TreePath[].
+
+2006-10-13 Roman Kennke <kennke@aicas.com>
+
+ PR 27780
+ * javax/swing/JMenuItem.java
+ (isDragging): New field. Indicates if we are inside a mouse
+ drag.
+ (createMenuDragMouseEvent): Removed unneeded method.
+ (processMenuDragMouseEvent): Track if we are dragging.
+ (processMouseEvent): Simply forward to processMenuDragMouseEvent().
+ * javax/swing/plaf/basic/BasicMenuItemUI.java
+ (MenuDragMouseHandler.menuDragMouseDragged): Fetch
+ MenuSelectionManager from event.
+ (MenuDragMouseHandler.menuDragMouseEntered): Fetch
+ MenuSelectionManager from event.
+ (MenuDragMouseHandler.menuDragMouseExited): Fetch
+ MenuSelectionManager from event.
+ (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
+ release inside menu item, otherwise clear selection.
+ (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
+ and getY(). Call doClick() rather than the doClick() of JMenuItem.
+ (doClick): Perform an immediate click.
+
+2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
+ return if object is not in the list.
+
+2006-10-12 Andrew Haley <aph@redhat.com>
+
+ * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
+ * java/lang/ThreadLocal.java: Likewise.
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ PR 27956
+ * javax/swing/JSlider.java
+ (LabelUIResource): New inner class. A JLabel as UIResource.
+ (createStandardLabels): Don't set label bounds here.
+ Create LabelUIResource instances.
+ (setInverted): Repaint.
+ (setLabelTable): Update the label UIs. Revalidate and repaint.
+ (setMajorTickSpacing): Update the label table. Repaint if
+ necessary.
+ (setMinorTickSpacing): Repaint if necessary.
+ (setOrientation): Revalidate.
+ (setPaintLabels): Revalidate and repaint.
+ (setPaintTicks): Revalidate and repaint.
+ (setPaintTrack): Repaint.
+ (updateLabelUIs): Set the label sizes here.
+ (updateUI): Also update the label UIs.
+ * javax/swing/plaf/basic/BasicSliderUI.java
+ (ComponentHandler.componentResized): Don't revalidate.
+ (FocusHandler.focusGained): Don't set field.
+ (FocusHandler.focusLost): Don't set field.
+ (PropertyChangeHandler.propertyChange): Calculate geometry
+ and repaint for a couple more properties.
+ (TrackListener.mouseReleased): Repaint.
+ (hasFocus): Removed unneeded field.
+ (calculateContentRect): No need to check for content size < 0.
+ (calculateFocusRect): Use insets from insetCache.
+ (calculateLabelRect): Fixed calculation of label rectangle.
+ It is relative to the tick rectangle, rather than the content
+ rectangle.
+ (calculateTickRect): Small restructuring to avoid unnecessary
+ comparisons.
+ (calculateTrackRect): Fixed calculation of track rectangle.
+ (getMaximumSize): Fixed. Fetch preferred size and set
+ the height of width to Short.MAX_VALUE.
+ (getMinimumHorizontalSize): Fixed to return UIManager value.
+ (getMinimumVerticalSize): Fixed to return UIManager value.
+ (getPreferredHorizontalSize): Fixed to return UIManager value.
+ (getPreferredVerticalSize): Fixed to return UIManager value.
+ (getMinimumSize): Fixed to return the UIManager value plus
+ insets added.
+ (getPreferredSize): Fixed to return the UIManager value plus
+ insets added.
+ (getWidthOfWidestLabel): Restructured for more cleanness and
+ efficiency.
+ (hitClip): New helper method.
+ (paintHorizontalLabel): Replaced by more efficient and clean
+ implementation.
+ (paintVerticalLabel): Replaced by more efficient and clean
+ implementation.
+ (paintLabels): Replaced by more efficient and clean
+ implementation.
+ (paint): Check if rectangles intersect with clip for maximum
+ efficiency.
+ (recalculateIfInsetsChanged): Fixed. This method should
+ recalculate only when the insets changed.
+ (setThumbLocation): Repaint with a reasonable clip.
+ (xPositionForValue): Made more clean and efficient.
+ (yPositionForValue): Made more clean and efficient.
+ * javax/swing/plaf/basic/BasicLookAndFeel.java
+ (initComponenDefaults): Added Slider.horizontalSize,
+ Slider.verticalSize, Slider.minimumHorizontalSize and
+ Slider.minimumVerticalSize properties.
+ * javax/swing/plaf/metal/MetalSliderUI.java
+ (getTickLength): Add 1 for horizontal sliders and 3 for
+ vertical sliders.
+ (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
+ (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
+ (paintMajorTickForVertSlider): Fix colors. Fix line locations.
+ (paintMinorTickForVertSlider): Fix colors. Fix line locations.
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ PR 28696
+ * javax/swing/text/FlowView.java
+ (FlowStrategy.layout): Preserve logical views from getting lost.
+ (FlowStrategy.layoutRow): Fix line breaking.
+ (FlowStrategy.adjustRow): Fix line breaking.
+ (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
+ (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
+ (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
+ (createView): Don't check index.
+ (contains): New helper method.
+ (reparent): New helper method.
+ (layoutDirty): Removed unneeded field.
+ (FlowView): Removed layoutDirty field init.
+ (changedUpdate): Removed layoutDirty handling.
+ (insertUpdate): Removed layoutDirty handling.
+ (removeUpdate): Removed layoutDirty handling.
+ (layout): Use isLayoutValid() rather than the layoutDirty field.
+ * javax/swing/text/GlyphView.java
+ (startOffset): Removed.
+ (endOffset): Removed.
+ (offset): New field.
+ (length): New field.
+ (GlyphView): Initialize new fields. Removed old fields.
+ (createFragment): Create fragment with new relative offsets.
+ (getEndOffset): Work with new relative offsets.
+ (getStartOffset): Work with new relative offsets.
+ * javax/swing/text/ParagraphView.java
+ (Row.getStartOffset): Overidden to determine the minimum start
+ offset from the children.
+ (Row.getEndOffset): Overidden to determine the maximum end
+ offset from the children.
+ * javax/swing/text/html/BRView.java
+ Make subclass of InlineView.
+ (getBreakWeight): Fall back to super for Y_AXIS.
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ PR 28733
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java
+ (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
+ one that avoids faulty state that could cause division by zero
+ error.
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ PR 28057
+ * javax/swing/plaf/basic/BasicRadioButtonUI.java
+ (paint): Determine correct icon. Added support for HTML label.
+ Added small optimizations.
+ (getPreferredSize): Only consider the buttons iconTextGap, and
+ only when the text is not null.
+ * javax/swing/plaf/basic/BasicLookAndFeel.java
+ (initComponentDefaults): Fetch border for RadioButton from
+ BasicButtons.getRadioButtonBorder().
+ * javax/swing/plaf/metal/MetalRadioButtonUI.java
+ (paintFocus): Paint focus rectangle one pixel smaller.
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ PR 29418
+ * javax/swing/tree/AbstractLayoutCache.java
+ (getNodeDimensions): Don't throw InternalError, but instead
+ return null.
+ (getRowsForPaths): Check for null here.
+ (isFixedRowHeight): Returns true when rowHeight > 0.
+ (setSelectionModel): Set this as the row mapper for the selection
+ model.
+ * javax/swing/tree/VariableHeightLayoutCache.java
+ (NodeRecord.NodeRecord): Initialize bounds field.
+ (getBounds): Simply return the bounds field.
+ (row2Node): Changed to be an ArrayList.
+ (RECT_CACHE): New field. Caches a Rectangle instance.
+ (countRows): Added y parameter and return value. The method
+ now takes the current y position as parameter, and returns
+ the updated y position.
+ (getBounds): Fixed to return the correct bounds.
+ (getPathForRow): Replaced by fixed implementation.
+ (getPreferredHeight): Replaced by more efficient implementation.
+ This simply fetches the last node record and returns its lower
+ bounds.
+ (getPreferredWidth): Added null check.
+ (getVisibleChildCount): Added null check.
+ (getVisiblePathsFrom): Added null check.
+ (setExpandedState): Also expand the ancestors of the node
+ to be expanded.
+ (setModel): Set dirty flag rather than updating for real.
+ (setNodeDimensions): Overridden to set the dirty flag.
+ (setRowHeight): Overridden to set the dirty flag.
+ (update): Don't special case the root here, this is done now
+ in countRows().
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JComponent.java
+ (paintImmediately2): Added support for components which need
+ to force themselves as paint root.
+ (isPaintRoot): New method. This should be overridden by components
+ which need to force themselves as paint root.
+ * javax/swing/JViewport.java
+ (isPaintRoot): Overridden to force the viewport as paint root
+ when running in backingstore mode.
+
+2006-10-12 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/tree/DefaultTreeSelectionModel.java
+ (PathPlaceHolder): New inner class. Wraps a path and its status
+ wrt to its newness.
+ (selectedPaths): New field. A supporting datastructure.
+ (tmpPaths): New field. A supporting datastructure.
+ (DefaultTreeSelectionModel): Initialize the list selection model,
+ the leadIndex and the supporting datastructures.
+ (addPropertyChangeListener): Create changeSupport object lazily.
+ (addSelectionPaths): Mostly rewritten to handle the different
+ selection modes correctly.
+ (addSelectionPath): Delegate to addSelectionPaths().
+ (arePathsContiguous): Replaced with more efficient implementation
+ using BitSet
+ (canPathBeAdded): Removed unneeded method.
+ (canPathsBeAdded): Replaced with more efficient implementation.
+ (clearSelection): Create correct event. Clear the fields correctly,
+ including the supporting datastructures.
+ (clone): Also clone the supporting datastructures and nullify
+ changeSupport field.
+ (getMaxSelectionRow): Delegate to list selection model.
+ (getMinSelectionRow): Delegate to list selection model.
+ (getPath): Removed unneeded method.
+ (getPropertyChangeListeners): Handle null changeSupport field
+ correctly.
+ (getRow): Handle null rowMapper field correctly.
+ (getSelectionRows): Handle invisible rows correctly.
+ (insureRowContinuity): Replaced by more efficient and correct
+ implementation.
+ (isRowSelected): Delegate to list selection model.
+ (notifyPathChange): Made more efficient by use of PathPlaceHolder
+ class.
+ (removePropertyChangeListener): Handle null changeSupport field.
+ (removeSelectionPaths): Mostly rewritten to handle the different
+ selection modes correctly.
+ (removeSelectionPath): Delegate to removeSelectionPaths().
+ (resetRowSelection): Handle list selection model.
+ (selectOne): Removed unneeded field.
+ (setRowMapper): Reset the row selection.
+ (setSelectionMode): Check for invalid mode and set to
+ DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
+ (setSelectionPaths): Mostly rewritten to handle the different
+ selection modes correctly.
+ (setSelectionPath): Delegate to setSelectionPaths().
+ (updateLeadIndex): Made more efficient.
+
+2006-10-11 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (buffer, locked): New fields.
+ (constructors): Initialize new variables.
+ (createBuffer): New method.
+ (draw): Implement custom composites.
+ (drawComposite): New method.
+ (drawGlyphVector): Implement custom composites.
+ (drawImage): Implement custom composites.
+ (drawRenderedImage): Implement custom composites.
+ (fill): Implement custom composites.
+ (getBufferCM): New method.
+ (getNativeCM): New method.
+ (updateBufferedImage): Fix premultiplication.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (copy): Copy composite.
+ (drawImage): Set background properly.
+ (getBufferCM): New method.
+ (setComposite): Reset alpha composite when using custom composite.
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ (cairoColorModel): New field.
+ (nativeColorModel): Renamed.
+ (constructor): Use renamed createCairoSampleModel method.
+ (createCairoSampleModel): New method.
+ (createNativeSampleModel): Renamed.
+ (getBufferedImage): Use renamed cairoColorModel field.
+ * gnu/java/awt/peer/gtk/GtkVolatileImage.java
+ (gdkColorModel): New field.
+ (createGdkSampleModel): New method.
+ (getPixels): Added comments.
+ (getSnapshot): Use GDK colour and sample models.
+ * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
+ (createBuffer): Use GDK colour and sample models.
+ (getNativeCM): Added comments.
+ * java/awt/image/BufferedImage.java
+ (constructor): Set premultiplied flag properly.
+
+2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
+
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c
+ (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
+
+2006-10-10 Francis Kung <fkung@redhat.com>
+
+ PR 29372
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (createPath): Added isDraw parameter.
+ (draw): Updated createPath call.
+ (fill): Updated createPath call.
+
+2006-10-10 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/29362:
+ * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
+ there is a stylesheet.
+
+2006-10-10 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Toolkit.java
+ (getDefaultTookit): Make method synchronized to avoid
+ accidentally creating more than one toolkits from different
+ threads.
+
+2006-10-10 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/LightweightDispatcher.java
+ (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
+ (redispatch): Transfer the button to the redispatched event.
+
+2006-10-10 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/ColorModel.java (coerceData): Implemented.
+
+2006-10-09 Christian Elias Naur <elias@oddlabs.com>
+
+ * vm/reference/java/lang/VMClassLoader.java:
+ (defineClassWithTransformers): Use proper class name format.
+
+2006-10-09 Gary Benson <gbenson@redhat.com>
+
+ * java/net/ServerSocket.java
+ (implAccept): Add security check.
+ (accept): Close socket if security check fails.
+ (setSocketFactory): Add security check and already-set check.
+
+2006-10-09 Roman Kennke <kennke@aicas.com>
+
+ PR 29325
+ * javax/swing/JSplitPane.java
+ (dividerLocation): New field. Stores the divider location.
+ (JSplitPane): Initialize dividerLocation with -1.
+ (addImpl): Removed unneeded local variables.
+ (getDividerLocation): Manage dividerLocation in the JSplitPane
+ class, not in the UI.
+ (setDividerLocation): Manage dividerLocation in the JSplitPane
+ class, not in the UI. Only call the UI method for notification.
+ * javax/swing/plaf/basic/BasicSplitPaneUI.java
+ (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
+ location from the JSplitPane. Honour the minimumSize, but only
+ if the divider location hasn't been set explicitly.
+ (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
+ statement.
+ (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
+ statement.
+ (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
+ the divider location.
+ (dividerLocationSet): New field.
+ (dividerLocation): Removed field.
+ (createActionMap): Fetch and set divider location on the JSplitPane.
+ (getDividerLocation): Return the actual real divider location.
+ (getMaximumSize): Removed unneeded cast.
+ (getPreferredSize): Removed unneeded cast.
+ (getMinimumSize): Removed unneeded cast.
+ (installUI): Initialize dividerLocationSet with false.
+ (uninstallUI): Initialize dividerLocationSet with false.
+ (setDividerLocation): Set dividerLocationSet to true.
+
+2006-10-09 Robert Schuster <robertschuster@fsfe.org>
+
+ * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
+ (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
+ convert jstring into char *.
+ (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
+ (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
+ (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
+ (getif_address): Added const modifier to second argument.
+ (getif_index): Dito.
+
+2006-10-09 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTree.java
+ (isSelected): Added API docs.
+
+2006-10-09 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTree.java
+ (isSelected): Delegate to the selection model directly.
+
+2006-10-09 Robert Schuster <robertschuster@fsfe.org>
+
+ * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
+ sizeof_struct_kevent to _sizeof_struct_kevent.
+
+2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * tools/gnu/classpath/tools/rmic/RMICException.java:
+ javadoc corrections, reformatted.
+
+2006-10-07 Christian Elias Naur <elias@oddlabs.com>
+
+ * gnu/java/lang/InstrumentationImpl.java:
+ Made constructor package visible.
+
+2006-10-05 Gary Benson <gbenson@redhat.com>
+
+ * java/net/Socket.java
+ (Socket): Perform security check on address not hostname.
+
+2006-10-04 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/tree/VariableHeightLayoutCache.java
+ (getBounds): When rect is null, create a new Rectangle.
+
+2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
+ (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
+ (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
+ (cpnio_select): Use CPNIO_EXPORT.
+ * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
+ inline instead of extern inline, as newer GCCs changed their
+ behavior.
+
+2006-10-04 Gary Benson <gbenson@redhat.com>
+
+ * java/net/InetAddress.java: Updated javadoc.
+ (<clinit>, getByLiteral): Throw InternalError on failures.
+
+2006-10-03 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (compCtx): New field for composite context.
+ (copy): Copy composite.
+ (dispose): Dispose of composite context.
+ (getNativeCM): New method.
+ (setComposite): Discard old composite context and set up new context.
+ (setRenderingHints): Update composite context.
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ (nativeColorModel): New field, renamed from nativeModel.
+ (nativeModel): Renamed field to nativeColorModel.
+ (CairoSurface(int, int)): Call new method to create sample model.
+ (createNativeSampleModel): New method.
+ (getBufferedImage): Updated variable name.
+ * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
+ (buffer): New field.
+ (createBuffer): New method.
+ (draw): New method.
+ (drawComposite): New method.
+ (drawGlyphVector): New method.
+ (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
+ (drawImage(Image, int, int, ImageObserver)): Check composite.
+ (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
+ (fill): New method.
+ (getNativeCM): New method.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
+ (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
+ intermediary pixbuf to grab on-screen pixels.
+
+2006-10-03 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/28987:
+ * java/util/IdentityHashMap.java (tombstone): Removed.
+ (emptyslot): Removed.
+ (nullslot): New field.
+ (IdentityHashMap): Don't fill array.
+ (clear): Fill with null.
+ (hash): Now final. Use linear probing.
+ (xform): New method.
+ (unxform): Likewise.
+ (removeAtIndex): Likewise.
+ (clone, containsKey, containsValue, entrySet, get, hashCode,
+ keySet, put, remove, values): Updated.
+ (IdentityIterator, IdentityEntry): Likewise.
+ (writeObject): Likewise.
+
+2006-10-03 Tom Tromey <tromey@redhat.com>
+
+ * java/util/Locale.java (hashcode): Updated javadoc.
+ (hashcodeCache): Removed.
+ (Locale): Updated.
+ (hashCode): Updated.
+ (writeObject): New method.
+ (readObject): Updated.
+
+2006-10-02 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (clearRect): Paint background colour with AlphaComposite.SRC rule.
+ (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
+ pre-multiply data before drawing.
+ (fillRect): Draw using regular fill() method.
+ (setComposite): Handle null case with AlphaComposite.SrcOver default.
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ (nativeModel): Use correct value for alpha premultiplication (true).
+ * java/awt/image/BufferedImage.java
+ (coerceData): Update isPremultiplied field.
+
+2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/classpath/ListenerData.java:
+ New class for holding listener data.
+ * gnu/java/lang/management/MemoryMXBeanImpl.java:
+ ListenerData class moved to its own file.
+ * javax/management/MBeanServerDelegate.java,
+ * javax/management/MBeanServerDelegateMBean.java,
+ * javax/management/MBeanServerNotification.java:
+ Implemented.
+
+2006-10-02 Tania Bento <tbento@redhat.com>
+
+ * java/ast/Rectangle.java:
+ (Rectangle(Rectangle)): Do not throw NPE.
+ (Rectangle(Point, Dimension)): Same.
+ (Rectangle(Point)): Same.
+ (Rectangle(Dimension)): Same.
+
+2006-09-29 Casey Marshall <csm@gnu.org>
+
+ PR 29190
+ * gnu/java/nio/EpollSelectionKeyImpl.java: extend
+ `AbstractSelectionKey.'
+ (cancel, isValid): removed.
+ * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
+ (events): new field.
+ (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
+ fields.
+ (<clinit>): initialize those constants.
+ (<init>): don't initialize `cancelledKeys;' initialize `events.'
+ (doSelect): deregister cancelled keys; remove keys attached to
+ closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
+ `events' buffer; reallocate `events' buffer if needed.
+ (register): reallocate `events' buffer if needed.
+ (reallocateBuffer): new method.
+ (cancel): removed.
+
+2006-09-29 Roman Kennke <kennke@aicas.com>
+
+ PR 28929
+ * javax/swing/JViewport.java
+ (cinit): Renamed system property to gnu.swing.scrollmode
+ to avoid bloat. Default to BACKINGSTORE, this is much
+ more reliable.
+ (repaint): Forward repaint() to parent as is specified.
+
+2006-09-29 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/plaf/basic/BasicTableUI.java
+ (getPreferredSize): The number of iterations for the for-loop should be
+ the number of columns in the table's column model, not the number of
+ columns of the table.
+ * javax/swing/JTable.java
+ (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
+ lines that are not needed.
+ (initializeLocalVars): dragEnabled should be set to false, not true.
+ (getCellRenderer): Added a check to prevent an
+ ArrayIndexOutOfBoundsException.
+ (doLayout): The number of iterations for the for-loops should be the
+ number of columns in the table's column model, not the number of columns
+ of the table.
+
+2006-09-29 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
+ API docs.
+ (isOptimized): Initialize with true.
+ (paintRaster): Removed unneeded field.
+ (shapeCache): New static field. Caches certain shapes for reuse.
+ (computeIntersection): Removed unneeded casts.
+ (drawArc): Use shape cache.
+ (drawImage): Removed unneeded statement.
+ (drawLine): Use shape cache. Pass untranslated coordinates
+ to rawDrawLine().
+ (drawOval): Use shape cache.
+ (drawPolygon): Use shape cache.
+ (drawRect): Overridden to provide accelerated rectangle drawing
+ if possible and to use the shape cache.
+ (drawRoundRect): Use shape cache.
+ (fillArc): Use shape cache.
+ (fillOval): Use shape cache.
+ (fillPolygon): Use shape cache.
+ (fillRect): Pass untranslated coordinates to rawFillRect().
+ Use shape cache.
+ (fillRoundRect): Use shape cache.
+ (fillScanlineAA): Removed unneeded statement.
+ (fillScanline): Updated API docs.
+ (fillShapeAntialias): Removed unnecessary cast.
+ (fillShapeImpl): Update API docs. Removed unnecessary cast.
+ (fillShape): Updated API docs.
+ (getShapeCache): New helper method.
+ * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
+ certain shapes for reuse in AbstractGraphics2D.
+
+2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/BadBinaryOpValueExpException.java:
+ (getExp()): Implemented.
+ * javax/management/MBeanConnection.java:
+ Renamed to MBeanServerConnection.
+ * javax/management/MBeanServer.java:
+ (setAttribute(Attribute)): Fixed...
+ (setAttribute(ObjectName,Attribute)): to this.
+ * javax/management/MBeanServerConnection.java:
+ Renamed from MBeanConnection.
+ * javax/management/QueryExp.java:
+ Extend Serializable.
+ * javax/management/ValueExp.java:
+ Likewise.
+ * javax/management/loading/ClassLoaderRepository.java:
+ (loadClass(String)): Throw ClassNotFoundException.
+ (loadClassBefore(ClassLoader,String)): Likewise.
+ (loadClassWithout(String, ClassLoader): Fixed...
+ (loadClassWithout(ClassLoader,String)): to this.
+
+2006-09-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/tree/DefaultTreeCellRenderer.java
+ (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
+ property from UIManager.
+ (paint): Rewritten to use super's implementation and only paint
+ background and focus indicator before.
+ (paintFocus): New helper method.
+ (getXOffset): New helper method.
+
+2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/BadBinaryOpValueExpException.java,
+ * javax/management/MBeanConnection.java,
+ * javax/management/MBeanServer.java,
+ * javax/management/ObjectInstance.java:
+ Implemented.
+ * javax/management/ObjectName.java:
+ (setMBeanServer(MBeanServer)): Implemented.
+ * javax/management/QueryExp.java,
+ * javax/management/ValueExp.java,
+ * javax/management/loading/ClassLoaderRepository.java:
+ Implemented.
+
+2006-09-27 Robert Schuster <robertschuster@fsfe.org>
+
+ * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
+
+2006-09-27 Robert Schuster <robertschuster@fsfe.org>
+
+ * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
+ * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
+ * gnu/java/nio/EpollSelectorImpl.java:
+ (doSelect): Use Integer.valueOf() instead of constructor call.
+ (register): Use Integer.valueOf() instead of constructor call.
+
+2006-09-27 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Container.java
+ (addContainerListener): Activate newEventsOnly for the component.
+ Ignore null listeners.
+
+2006-09-27 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/EventQueue.java
+ (Queue): New inner class. Implements the actual queue.
+ (LOW_PRIORITY): New constant field.
+ (NORM_PRIORITY): New constant field.
+ (queueHead): Removed. Moved into Queue.
+ (queueTail): Removed. Moved into Queue.
+ (queues): New field.
+ (EventQueue): Initialize two internal queues, one for
+ normal events, one for low priority events.
+ (getNextEventImpl): New helper method, fetches the next event.
+ (getNextEvent): Use getNextEventImpl() for fetching the event.
+ (peekEvent): Use getNextEventImpl() for fetching the event.
+ (peekEvent(int)): Search for event in all queues.
+ (postEventImpl(AWTEvent)): Moved actual posting into
+ postEventImpl(AWTEvent,int). Prioritize events here.
+ (postEventImpl(AWTEvent,int)): Take priority parameter and insert
+ event into correct queue. Re-enable event coalescing.
+ * gnu/java/awt/LowPriorityEvent.java: New marker interface.
+ * javax/swing/RepaintManager.java
+ (RepaintWorkerEvent): New internal class. This is a low priority
+ event for the repaint worker.
+ (addDirtyRegion): Use new internal invokeLater() for sending
+ a low priority event.
+ (addInvalidComponent): Use new internal invokeLater() for sending
+ a low priority event.
+ (commitBuffer): Added some null checks.
+ (invokeLater): New helper method. Sends a low priority
+ repaint worker event on the event queue.
+
+2006-09-27 Roman Kennke <kennke@aicas.com>
+
+ PR 29036
+ PR 29161
+ * javax/swing/plaf/basic/BasicButtonUI.java
+ (cachedInsets): New field.
+ (installListeners): Fire synthetic property change to initialize
+ TEXT_LAYOUT_CACHE for the button because the font has been
+ installed before.
+ (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
+ (paint): Use cached insets.
+ (paintText): Let new method forward to old one, not vice versa.
+ * javax/swing/plaf/basic/BasicMenuItemUI.java
+ (defaultAcceleratorLabelGap): Removed unused field.
+ (MenuGap): Removed unused field.
+ (propertyChangeListener): Made private.
+ (getAcceleratorRect): Removed unused method.
+ (getAcceleratorText): Removed unused method.
+ (getPath): Removed unnecessary cast.
+ (installListeners): Fire synthetic property change to initialize
+ TEXT_LAYOUT_CACHE for the button because the font has been
+ installed before.
+ (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
+ (layoutMenuItem): Removed unused statements.
+
+2006-09-27 Roman Kennke <kennke@aicas.com>
+
+ PR 29218
+ * javax/swing/tree/DefaultTreeModel.java
+ (isLeaf): Check if the node allows children when
+ asksAllowsChildren is true, otherwise fall back
+ to return the node's leaf property.
+
+2006-09-27 Mario Torre <neugens@limasoftware.net>
+
+ * scripts/check_jni_methods.sh: removed methods from the
+ ignore list:
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
+ * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
+ to better follow the GNU style.
+ * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
+ regenerated header file for GConfNativePeer.
+
+2006-09-27 Robert Schuster <robertschuster@fsfe.org>
+
+ * INSTALL: Added information about grmic being built when ASM
+ is available, added information about gconf dependency, indented
+ Qt4 dependency section.
+ * configure.ac: Added information about grmic being built when ASM
+ is available.
+
+2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
+
+ * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
+ DeleteGlobalRef on a local ref.
+
+2006-09-24 Mario Torre <neugens@limasoftware.net>
+
+ * scripts/check_jni_methods.sh: added two new methods in the
+ ignore list:
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
+ and
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
+ * native/jni/gconf-peer/GConfNativePeer.c:
+ (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
+ refacored method name, renamed from
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
+ Added code to unescape escaped GConf key names.
+ (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
+ refacored method name, renamed from
+ Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
+ Added code to unescape escaped GConf key names.
+ (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
+ new function.
+ (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
+ new function.
+ * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
+ version javadoc tag.
+ (escapeString): new method.
+ (unescapeString): likewise.
+ (gconf_escape_key): new native method.
+ (gconf_unescape_key): likewise.
+ (gconf_client_suggest_sync): update native method signature, now
+ explicity throws BackingStoreException.
+ (gconf_client_all_nodes): update native method signature, now
+ explicity throws BackingStoreException. Refactored method name,
+ renamed from gconf_client_gconf_client_all_nodes.
+ (gconf_client_all_keys): update native method signature, now
+ explicity throws BackingStoreException. Refactored method name,
+ renamed from gconf_client_gconf_client_all_keys.
+ (getKeys): refactored to use the new method name
+ gconf_client_all_keys.
+ (getChildrenNodes): refactored to use the new method name
+ gconf_client_all_nodes.
+ * gnu/java/util/prefs/GConfBasedPreferences.java: removed
+ version javadoc tag.
+ (GConfBasedPreferences): Added code to escape node names from
+ invalid characters so that GConf now accept invalid node names.
+ (GConfBasedPreferences): Moved code to register the current
+ node to the list of nodes watched by GConf outside the constructor.
+ (childSpi): Added code to register the current node to the
+ list of nodes watched by GConf.
+ (getGConfKey): Added code to escape key names from
+ invalid characters so that GConf now accept invalid key names.
+
+2006-09-26 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
+ call mkdirs in output-directory case.
+ (getPrintStream): Create output directory.
+ * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
+ Don't call mkdirs.
+
+2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
+ Accept three additional arguments.
+ (writePreambleImpl): New method.
+ (getPrintStreamImpl): Likewise.
+ (printClass): Adapted to use new methods in Printer superclass.
+ * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
+ * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
+ * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
+ * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
+ (force): Likewise.
+ (getParser): Add support for -o option.
+ Check that only one of -d or -o is defined.
+ Add support for -jni option.
+ Add support for -force option.
+ (makeOutputFile): New method.
+ (writeHeaders): Removed File argument from signature.
+ (run): Take into account newly added fields.
+ Invoke concrete PrintStream implementations with augmented constructors.
+ * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
+ (isDirectory): Likewise.
+ (force): Likewise.
+ (wrotePreamble): Likewise.
+ (Printer): Changed ctor to accept three additional arguments.
+ (printClass): Changed signature to accept one ClassWrapper argument.
+ (writePreambleImpl): New abstract method.
+ (getPrintStreamImpl): Likewise.
+ (getPrintStream): New method.
+ (writePreamble): Likewise.
+
+2006-09-26 Tania Bento <tbento@redhat.com>
+
+ * java/awt/GridLayout.java
+ (toString): There is no common before hgap.
+ * java/awt/Rectangle.java
+ (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
+ (Rectangle(Point, Rectangle)): Throw NPE if either Point or
+ Rectangle is null.
+ (Rectangle(Point)): Throw NPE if Point is null.
+ (Rectangle(Dimension)): Throw NPE if Dimension is null.
+
+2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalIconFactory.java
+ (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
+ returned by getShift(),
+ (FileIcon16.getShift): Updated API docs,
+ (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
+ returned by getShift(),
+ (FolderIcon16.getShift): Updated API docs,
+ (TreeFolderIcon.getShift): Likewise,
+ (TreeLeafIcon.getShift): Likewise.
+
+2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalIconFactory.java
+ (FileIcon16.paintIcon): Fetch colors from look and feel,
+ (FolderIcon16.paintIcon): Likewise.
+
+2006-09-25 Casey Marshall <csm@gnu.org>
+
+ * gnu/java/nio/FileChannelImpl.java (read): revert back to using
+ `readScattering.'
+ (write): revert back to using `writeGathering.'
+ * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
+ the first buffer that has data remaining, and start at that one.
+
+2006-09-25 Tom Tromey <tromey@redhat.com>
+
+ * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
+ variable.
+
+2006-09-25 Tom Tromey <tromey@redhat.com>
+
+ * tools/.cvsignore: Updated.
+
+2006-09-25 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/29178:
+ * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
+ (Encoder.canEncode): Likewise.
+ (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
+ * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
+ method.
+ (Encoder.canEncode): Likewise.
+ * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
+ method.
+ (Encoder.canEncode): Likewise.
+
+2006-09-25 Tom Tromey <tromey@redhat.com>
+
+ * native/fdlibm/mprec.c (mprec_calloc): Renamed.
+ (Balloc): Updated.
+
+2006-09-25 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/ColorModel.java
+ (coerceData): Made abstract.
+ (coerceDataWorker): New protected method.
+ * java/awt/image/ComponentColorModel.java
+ (coerceData): Return new instance of proper ColorModel.
+ * java/awt/image/DirectColorModel.java
+ (coerceData): Return new instance of proper ColorModel.
+ * java/awt/image/IndexColorModel.java
+ (coerceData): New method.
+
+2006-09-24 Casey Marshall <csm@gnu.org>
+
+ * gnu/java/nio/FileChannelImpl.java
+ (read): call `read' in a loop, don't use `readScattering.'
+ (write): call `write' in a loop, don't use `writeGathering.'
+
+2006-09-24 Mark Wielaard <mark@klomp.org>
+
+ * configure.ac: Move -pedantic from WARNING to STRICT flags.
+
+2006-09-24 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/nio/channels/spi/AbstractSelectableChannel.java
+ (register): Set interestOps and attachment when the key already
+ exists.
+
+2006-09-24 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/net/ServerSocket.java
+ (bind(SocketAddress,int)): Added support for null address.
+ Throw proper exception if already bound.
+ Handle unresolved addresses correctly. Ignore exceptions that
+ happen during close in error path (to prevent losing the original
+ exception.)
+
+2006-09-24 Mark Wielaard <mark@klomp.org>
+
+ Suggested by Aaron M. Ucko <ucko@debian.org>
+ Fixes bug #29203
+ * native/fdlibm/mprec.c (ulp): Define L as int32_t.
+
+2006-09-24 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/nio/channels/spi/AbstractSelectableChannel.java
+ (implCloseChannel): Cancel all keys after closing the channel.
+
+2006-09-22 Casey Marshall <csm@gnu.org>
+
+ * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
+ after we delete them.
+ (selectedKeys): return an empty set if nothing's been selected.
+ * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
+ (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
+ throw an exception on EBADF.
+ (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
+ throw exception on EINTR, just return 0.
+
+2006-09-22 Casey Marshall <csm@gnu.org>
+
+ * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
+ remove `const' from `filename.'
+ * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
+ `filename.'
+ * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
+
+2006-09-22 Casey Marshall <csm@gnu.org>
+
+ * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
+ * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
+ allocate `filename,' and handle changes to `cpio_readDir.'
+ * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
+ available; copy the filename into the destination buffer; return
+ an error code if readdir returns NULL, but errno is 0.
+ * native/jni/native-lib/cpio.h (cpio_readDir): change second
+ parameter to `const char *.'
+
+2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/ObjectName.java:
+ Implemented.
+
+2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * resource/gnu/classpath/tools/orbd: New directory.
+ * resource/gnu/classpath/tools/rmic: Likewise.
+ * resource/gnu/classpath/tools/rmid: Likewise.
+ * resource/gnu/classpath/tools/rmiregistry: Likewise.
+ * resource/gnu/classpath/tools/tnameserv: Likewise.
+ * tools/gnu/classpath/tools/giop: Move contents to...
+ * tools/gnu/classpath/tools/orbd,
+ tools/gnu/classpath/tools/tnameserv: New directories.
+ * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
+ * tools/gnu/classpath/tools/rmic: New directory.
+ * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
+ * tools/gnu/classpath/tools/rmid: New directory.
+ * tools/gnu/classpath/tools/rmi/registry: Move contents to...
+ * tools/gnu/classpath/tools/rmiregistry: New directory.
+ * resource/gnu/classpath/tools/orbd/messages.properties: New file.
+ * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
+ * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
+ * resource/gnu/classpath/tools/rmiregistry/messages.properties:
+ Likewise.
+ * resource/gnu/classpath/tools/tnameserv/messages.properties:
+ Likewise.
+ * tools/gnu/classpath/tools/orbd/Main.java,
+ tools/gnu/classpath/tools/orbd/Messages.java,
+ tools/gnu/classpath/tools/orbd/PersistentContext.java,
+ tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
+ tools/gnu/classpath/tools/orbd/PersistentMap.java,
+ tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
+ tools/gnu/classpath/tools/rmic/CompilationError.java,
+ tools/gnu/classpath/tools/rmic/Generator.java,
+ tools/gnu/classpath/tools/rmic/GiopIo.java,
+ tools/gnu/classpath/tools/rmic/HashFinder.java,
+ tools/gnu/classpath/tools/rmic/Main.java,
+ tools/gnu/classpath/tools/rmic/Messages.java,
+ tools/gnu/classpath/tools/rmic/MethodGenerator.java,
+ tools/gnu/classpath/tools/rmic/RMICException.java,
+ tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
+ tools/gnu/classpath/tools/rmic/RmicBackend.java,
+ tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
+ tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
+ tools/gnu/classpath/tools/rmic/Variables.java,
+ tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
+ tools/gnu/classpath/tools/rmic/templates,
+ tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
+ tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
+ tools/gnu/classpath/tools/rmid/Main.java,
+ tools/gnu/classpath/tools/rmid/Messages.java,
+ tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
+ tools/gnu/classpath/tools/rmiregistry/Main.java,
+ tools/gnu/classpath/tools/rmiregistry/Messages.java,
+ tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
+ tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
+ tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
+ tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
+ tools/gnu/classpath/tools/tnameserv/Main.java,
+ tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
+ * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
+ RMIC.java from cp-tools.
+ * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
+ tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
+ (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
+ and grmic.
+ * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
+ * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
+ Rename...
+ (start): New method.
+ * tools/Makefile.am: Add build support for new tool wrappers.
+ * tools/gorbd.in: New file.
+ * tools/grmic.in: Likewise.
+ * tools/grmid.in: Likewise.
+ * tools/grmiregistry.in: Likewise.
+ * tools/gtnameserv.in: Likewise.
+ * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
+ * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
+ file.
+ * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
+ * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
+ * tools/gnu/classpath/tools/common/Persistent.java: New file.
+
+2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+ Fixes bug #29047
+ * gnu/java/util/regex/RETokenRepeated.java
+ (findMatch): Rewriten without using recursive calls,
+ (FindMatchControlStack): New class,
+ (FindMatchControl): New class,
+ (TryAnotherResult): New class,
+ (tryAnother): New method.
+
+2006-09-22 Gary Benson <gbenson@redhat.com>
+
+ * java/net/SocketPermission.java
+ (processHostport): Cope with IPv6 addresses with a
+ one-digit first component.
+
+2006-09-22 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Component.java
+ (enableEvents): Set newEventsOnly flag.
+ * java/awt/Container.java
+ (dispatchEventImpl): Consume event if lightweight dispatcher
+ dispatched the event. Don't call processEvent() here, this
+ is already done in Component.dispatchEventImpl(). For
+ heavyweights or when the lightweight dispatcher could
+ not dispatch, fall back to calling super.
+ (dispatchNoLightweight): New helper method to avoid
+ recursivly calling the lightweight dispatcher.
+ * java/awt/LightweightDispatcher.java
+ (dragButton): Removed field.
+ (dragTarget): Removed field.
+ (mouseEventTarget): New field.
+ (convertPointToChild): Removed method.
+ (dispatchEvent): Don't depend on component beeing
+ a window.
+ (findTarget): Improved algorithm for finding a target.
+ Before we went down to the deepest component and went
+ up again to find a suitable target. Now we go
+ down only once, without going up.
+ (handleMouseEvent): Broke method down into some smaller
+ helper methods.
+ (isDragging): New helper method.
+ (isMouseListening): New helper method.
+ (redispatch): New helper method.
+ (trackEnterExit): New helper method.
+
+2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/SizeSequence.java
+ (getSize): Return 0 if index is out of bounds.
+
+2006-09-21 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/PathOptionGroup.java
+ (PathOptionGroup): Make -I a joined option.
+ * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
+ * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
+ * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
+ * tools/gnu/classpath/tools/jar/Main.java: Updated.
+ * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
+ * tools/gnu/classpath/tools/javah/Main.java: Updated.
+ * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
+ * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
+ * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
+ unused entries.
+ * resource/gnu/classpath/tools/common/Messages.properties: New file.
+ * tools/gnu/classpath/tools/common/Messages.java: New file.
+ * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
+ * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
+ from getopt.
+ (ClasspathToolParser): Add -J option here.
+ (ClasspathToolParser): Call other constructor in this class.
+ * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
+ Handle joined options.
+ (handleShortOptions): Likewise.
+ (handleShortOption): Removed.
+ (finalGroup): New field.
+ (Parser): Initialize new field. Don't add -J option.
+ (addFinal): New method.
+ * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
+ isJoined.
+ * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
+ (Option): Check short option for validity.
+ (Option): New constructors.
+ (joined): New field.
+
+2006-09-21 csm <csm@pollux.local>
+
+ * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
+ `InterruptedIOException;' try again if it gets thrown.
+ (receive): likewise, but re-throw `SocketTimeoutException.'
+ * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
+ if we have nothing to select.
+
+2006-09-21 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
+ (getLogicalBounds): Respect glyph transformations.
+ (getGlyphOutline): Added null pointer check.
+ (getGlyphTransform): Do not generate identity transform (API permits null).
+ (setGlyphPosition): Do not invalidate transform.
+ (setGlyphTransform): Do not modify glyph position.
+
+2006-09-21 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
+
+2006-09-21 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
+ * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
+ * java/awt/image/DirectColorModel.java (coerceData): Likewise.
+
+2006-09-21 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JTabbedPane.java:
+ (insertTab): Notify ChangeListeners if the tab inserted is selected.
+ (setModel): A ChangeListener should be created only if there does not
+ currently exist one.
+
+2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
+ (MaximizeAction.actionPerformed): Change icon on maxButton.
+
+2006-09-21 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicScrollPaneUI.java
+ (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
+ Use more efficient getViewPosition() and getViewSize() methods
+ to avoid creating a rectangle.
+ (HSBChangeListener.stateChanged): Update the view position
+ unconditionally. Let the Viewport figure out if something
+ changed.
+ (VSBChangeListener.stateChanged): Update the view position
+ unconditionally. Let the Viewport figure out if something
+ changed.
+ * javax/swing/JViewport.java
+ (ViewListener.componentResized): Fire state change, because
+ the extentSize changes.
+ (extentSize): Removed unneeded field.
+ (viewSize): Removed unneeded field.
+ (getExtentSize): Return the viewport's size here.
+ (getViewRect): Reformatted.
+ (getViewSize): Reordered for only one return statement.
+ (paintImmediately2): Fixed up javadoc.
+ (paint): Removed unneeded statement.
+ (setExtentSize): Set viewport size and check for actual change
+ of value.
+ (setViewPosition): Simplified condition. Set scrollUnderway
+ true and don't set isViewSizeSet. Avoid creating one Point
+ object.
+ (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
+ to false.
+ * javax/swing/JScrollBar.java
+ (ScrollBarListener): New class. Forwards change events from
+ the model as adjustment events.
+ (sbChangeListener): New field.
+ (JScrollBar): Install listener on new model.
+ (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
+ method.
+ (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
+ method to allow custom isAdjusting value.
+ (setMaximum): Only forward to model.
+ (setMinimum): Only forward to model.
+ (setValue): Only forward to model.
+ (setVisibleAmount): Only forward to model.
+ (setValues): Only forward to model.
+ (setModel): Update the change listener.
+
+2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * java/util/Formatter.java (basicIntegralConversion): Removed
+ check for ZERO && !LEFT_JUSTIFY.
+
+2006-09-20 Roman Kennke <kennke@aicas.com>
+
+ PR 29036
+ * javax/swing/plaf/metal/DefaultMetalTheme.java
+ (PLAIN_CONTROL_TEXT_FONT): New constant field.
+ (BOLD_CONTROL_TEXT_FONT): New constant field.
+ (PLAIN_MENU_TEXT_FONT): New constant field.
+ (BOLD_MENU_TEXT_FONT): New constant field.
+ (controlTextFont): Removed.
+ (menuTextFont): Removed.
+ (CONTROL_TEXT_FONT): New constant field.
+ (MENU_TEXT_FONT): New constant field.
+ (getControlTextFont): Use getFont() helper method for fetching
+ the correct font.
+ (getMenuTextFont): Use getFont() helper method for fetching
+ the correct font.
+ (getFont): New helper method.
+ (isBoldMetal): New helper method.
+
+2006-09-20 Casey Marshall <csm@gnu.org>
+
+ * NEWS: mention epoll selector along with the kqueue one.
+
+2006-09-20 Casey Marshall <csm@gnu.org>
+
+ * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
+ (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
+
+2006-09-20 Francis Kung <fkung@redhat.com>
+
+ PR 29011
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
+ (getGlyphTransform): Use translation instead of scale.
+ (performDefaultLayout): Increment position values instead of resetting, and
+ pre-increment instead of post-increment.
+ (setGlyphTransform): Handle null case with identity transform.
+
+2006-09-20 Casey Marshall <csm@gnu.org>
+
+ * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
+ (AC_CHECK_FUNCS): check for `epoll_create.'
+ * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
+ * gnu/java/nio/EpollSelectorImpl.java: new file.
+ * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
+ field.
+ (openSelector): return epoll selector if requested and available.
+ * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
+ (gnu_java_nio_EpollSelectorImpl.h): new target.
+ * include/gnu_java_nio_EpollSelectorImpl.h: new file.
+ * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
+ gnu_java_nio_EpollSelectorImpl.c.
+ * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
+
+2006-09-20 Casey Marshall <csm@gnu.org>
+
+ * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
+ call `isConnected.'
+ (isConnected): return false if `connectionPending' is true.
+
+2006-09-20 Francis Kung <fkung@redhat.com>
+
+ PR 29011
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
+ (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
+ (getGlyphOutline): Call getGylphTransform to generate transform.
+ (getGylphPosition): Read position directly out of array.
+ (getGlyphPositions): Read positions directly out of array.
+ (getGlyphTransform): Generate transform based on gylphPositions array.
+ (performDefaultLayout): Populate glyphPositions array instead of transforms.
+ (setGlyphPosition): Set position directly into array.
+ (setGlyphTransform): Update positions array as well.
+
+2006-09-20 David Daney <ddaney@avtrex.com>
+
+ PR classpath/28661
+ * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
+ default content-type for POST method.
+
+2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/basic/BasicRadioButtonUI.java
+ (BasicRadioButtonUI): Don't fetch icon here,
+ (installDefaults): Initialise icon here,
+ (getDefaultIcon): Just return icon.
+
+2006-09-20 Mark Wielaard <mark@klomp.org>
+
+ * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
+ Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
+ (EXTRA_DIST): Include javanio.c.
+
+2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/geom/RoundRectangle2D.java:
+ (getPathIterator): Reimplemented,
+ and updated various API doc comments.
+
+2006-09-20 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Container.java
+ (addImpl): Set the new component's parent after it has been
+ added to the array. Call addNotify() and invalidate()
+ after the component has been added, so that the peer
+ gets to know about the component structure when it is created.
+ * java/awt/Window.java
+ (dispatchEventImpl): Only revalidate when window is resized,
+ let the other stuff be processed by the superclass.
+ (dispose): Post WINDOW_CLOSED event only when some listener
+ is registered or event is explicitly enabled.
+ (show): Post WINDOW_OPENED event when appropriate.
+
+2006-09-20 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Component.java
+ (addNotify): Invalidate here. Fetch peer font.
+ (getFont): Delegate to helper method, to protect from
+ overriding client code. Lock the tree while fetching the font.
+ (getFontImpl): New helper method. Moved code from getFont() in
+ here.
+ (removeNotify): Nullify peerFont too.
+ (setFont): Synchronize on tree and component to avoid threading
+ issues. Update the peerFont correctly.
+ (validate): Update the peer font if necessary, before validating.
+ (getGraphics): Revert to recursive graphics fetching.
+ Set component font on the Graphics object.
+ (translateEvent): Removed unnecessary cast.
+ * java/awt/Container.java
+ (invalidateTree): Made final and private. Made implementation
+ slightly more efficient.
+ (setFont): Get old and new font via getFont() to account for
+ the real font, and only invalidate the tree when they are not
+ the same and not equal.
+ (visitChild): Set the font of the child on the component graphics.
+ * java/awt/Frame.java
+ (setMenuBar): Create local reference of peer for thread safety.
+ Only call simple invalidate, not invalidateTree().
+
+2006-09-19 Cameron McCormack <cam@mcc.id.au>
+
+ PR 29012
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
+ (constructor): Copy image field.
+
+2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/JMenuBar.java
+ (getHelpMenu): Implemented to throw an Error, and added API docs,
+ (getMargin): Added API docs,
+ (setMargin): Likewise.
+
+2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/AbstractButton.java
+ (AbstractButton): Don't call updateUI(),
+ * javax/swing/JButton.java
+ (JButton(String, Icon)): Call setModel() before init(),
+ * javax/swing/JMenuItem.java
+ (JMenuItem()): Delegate to another constructor,
+ (JMenuItem(Icon)): Likewise,
+ (JMenuItem(Action)): Set model,
+ (JMenuItem(String, Icon)): Likewise,
+ * javax/swing/JToggleButton.java
+ (init): Call setModel() before init().
+
+2006-09-19 Mark Wielaard <mark@klomp.org>
+
+ Fixes bug #29137
+ * java/util/logging/LogManager.java (addLogger): Always check for
+ existing children of a new Logger.
+
+2006-09-19 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicScrollPaneUI.java
+ (HSBChangeListener.stateChanged): Moved handling of header to
+ syncScrollPaneWithViewport().
+ (VSBChangeListener.stateChanged): Moved handling of header to
+ syncScrollPaneWithViewport().
+ (ViewportChangedHandler.stateChanged): Removed unused statements.
+ (syncScrollPaneWithViewport): Added null checks. Use setValues
+ rather then the single setter methods to avoid multiple
+ adjustments and side effects. Also snyc the headers here.
+ (updateScrollBarDisplayPolicy): Revalidate and repaint here.
+ (uninstallUI): Removed unnecessary cast and this qualifier as well
+ as the call to super.
+
+2006-09-19 Gary Benson <gbenson@redhat.com>
+
+ * java/net/ResolverCache.java: New class (a DNS cache).
+ * java/net/InetAddress.java
+ (internalGetCanonicalHostName, getAllByName): Use the above.
+
+2006-09-19 Jeroen Frijters <jeroen@frijters.net>
+
+ * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
+ * java/net/ServerSocket.java
+ (port): New field.
+ (bind): Set port field.
+ (close): Set impl to null.
+ (isClosed): Check impl and channel instead of using VMChannel.
+ (toString): Use port field and getLocalPort() method.
+ * java/net/Socket.java
+ (isClosed): Check impl and channel instead of using VMChannel.
+
+2006-09-18 Tom Tromey <tromey@redhat.com>
+
+ * java/util/concurrent/CopyOnWriteArrayList.java
+ (CopyOnWriteArrayList): New constructor.
+
+2006-09-18 Casey Marshall <csm@gnu.org>
+
+ * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
+ (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
+
+2006-09-18 Tom Tromey <tromey@redhat.com>
+
+ * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
+ isConnected): Removed old comment.
+ (getRemoteSocketAddress): Uncommented.
+ (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
+ setTrafficClass, getTrafficClass, setReuseAddress,
+ getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
+ isOutputShutdown): Uncommented.
+
+2006-09-18 David Pirkle <dpirkle@symyx.com>
+
+ Fixes PR 28589
+ * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
+ input stream during resolution.
+
+2006-09-18 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/LightweightDispatcher.java
+ (findTarget): Correctly translate child coordinates.
+ Use Component.eventTypeEnabled() for checking if a component
+ has a certain event enabled.
+ (handleMouseEvent): Find the correct mouse event target.
+ Use Component.eventTypeEnabled() for checking if a component
+ has a certain event enabled.
+
+2006-09-18 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Component.java
+ (show): Test for the peer beeing lightweight directly.
+ (paintAll): Validate before painting. Don't paint when not
+ showing. Call peer.paint() when the component is heavyweight.
+ (repaint): Delegate to the parent when lightweight, rather
+ than skipping to the nearest heavyweight.
+ (createImage): Added null check to prevent NPE.
+ (dispatchEvent): Moved old event dispatching and toolkit
+ event dispatching to dispatchEventImpl.
+ (addComponentListener): Don't enable event. Only add listener
+ when not null. Switch to new event dispatching only.
+ (addFocusListener): Likewise.
+ (addHierarchyListener): Likewise.
+ (addHierarchyBoundsListener): Likewise.
+ (addKeyListener): Likewise.
+ (addMouseListener): Likewise.
+ (addMouseMotionListener): Likewise.
+ (addMouseWheelListener): Likewise.
+ (addInputMethodListener): Likewise.
+ (coalesceEvents): For mouse events coalesce them only when
+ their modifiers are equal. For paint events coalesce the events
+ when one contains the other, without going through complicated
+ heuristics.
+ (dispatchEventImpl): Moved old event dispatching and toolkit
+ event dispatching to dispatchEventImpl.
+ (coalescePaintEvents): Removed.
+ (HeavyweightInLightweightListener.componentHidden):
+ Fixed condition.
+ * java/awt/Container.java
+ (addImpl): Don't enable events on lightweights.
+ (remove): Reordered operations. Don't remove any listeners.
+ Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
+ Only removeNotify() when peer is != null. Only invalidate if
+ not already invalid. Only fire ContainerEvent if there is
+ an interested listener or the event is enabled. Dispatch this
+ event directly without the event queue.
+ (removeAll): Likewise.
+ (paintComponents): Only paint when showing. Also paint heavyweights.
+ Don't paint the container itself.
+ (removeNotify): Create local variables for improved thread safety.
+ (addNotifyContainerChildren): Don't enable events for lightweights.
+
+2006-09-18 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/EventQueue.java
+ (INITIAL_QUEUE_DEPTH): Removed obsolete field.
+ (next_in): Removed obsolete field.
+ (next_out): Removed obsolete field.
+ (queueHead): New field. Markes the head of the queue.
+ (queueTail): New field. Markes the tail of the queue.
+ (queue): Removed obsolete field.
+ (EventQueue): Documented empty block.
+ (getNextEvent): Changed array based implementation to single-linked
+ list based implementation.
+ (invokeAndWait): Use an Object as synchronization object rather
+ than the current thread.
+ (peekEvent(int)): Changed array based implementation to single-linked
+ list based implementation.
+ (peekEvent()): Changed array based implementation to single-linked
+ list based implementation.
+ (pop()): Changed array based implementation to single-linked
+ list based implementation.
+ (postEvent): Foward to postEventImpl.
+ (postEventImpl): Changed array based implementation to single-linked
+ list based implementation.
+ (push): Changed array based implementation to single-linked
+ list based implementation.
+ * java/awt/AWTEvent.java
+ (queueNext): New field. Implements a single-linked list for
+ the EventQueue.
+
+2006-09-17 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
+ resource from HTMLEditorKit.class.
+
+2006-09-17 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/plaf/basic/BasicToolBarUI.java
+ (setBorderToNonRollover): Check whether border is null.
+ (setBorderToRollover): Likewise.
+
+2006-09-17 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
+
+2006-09-17 Mark Wielaard <mark@klomp.org>
+
+ * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
+ * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c
+ (Java_gnu_java_nio_VMChannel_lock): Likewise.
+ (Java_gnu_java_nio_VMChannel_unlock): Likewise.
+
+2006-09-17 Casey Marshall <csm@gnu.org>
+
+ * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
+ unused.
+
+2006-09-17 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 27610 27687.
+ * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
+ * gnu/xml/transform/SAXTemplatesHandler.java,
+ * gnu/xml/transform/SAXTransformerHandler.java: New files.
+ * gnu/xml/transform/TransformerFactoryImpl.java: Implement
+ SAXTransformerFactory.
+
+2006-09-16 Casey Marshall <csm@gnu.org>
+
+ * NEWS: updated.
+ * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
+ (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
+ kqueue, and kevent.
+ (HAVE_INET6): define if IPv6 is supported.
+ * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
+ (native_fd): removed.
+ (impl): new field.
+ (<init>): throw IOException; initialize fields.
+ (finalize): removed.
+ (getNativeFD): removed.
+ (bind): use `PlainSocketImpl.bind.'
+ (create): use `PlainSocketImpl.initSocket.'
+ (disconnect): use `PlainSocketImpl.disconnect.'
+ (getLocalPort): new method.
+ (send): use `VMChannel.send.'
+ (receive): use `VMChannel.receive.'
+ (setOption): use `PlainSocketImpl.setOption.'
+ (getOption): use `PlainSocketImpl.getOption.'
+ (close): use `VMChannel.State.close.'
+ (join): use `PlainSocketImpl.join.'
+ (leave): use `PlainSocketImpl.leave.'
+ (joinGroup, leaveGroup): implemented.
+ * gnu/java/net/PlainSocketImpl.java: make non-final.
+ (native_fd): removed.
+ (impl): new field.
+ (channel): new field.
+ (<init>): initialize `impl.'
+ (finalize, getNativeFD): removed.
+ (setOption): use `PlainSocketImpl.setOption.'
+ (getOption): use `PlainSocketImpl.getOption.'
+ (shutdownInput): use `PlainSocketImpl.shutdownInput.'
+ (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
+ (create): create `channel,' initialize `impl's native state.
+ (connect): use `connect(SocketAddress, int).'
+ (connect): use `SocketChannelImpl.connect;' initialize `address'
+ and `port.'
+ (bind): use `VMPlainSocketImpl.bind.'
+ (listen): use `VMPlainSocketImpl.listen.'
+ (accept): use `SocketChannelImpl.accept.'
+ (available): use `VMChannel.available.'
+ (close): use `PlainSocketImpl.close.'
+ (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
+ (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
+ getPort): new methods.
+ (SocketInputStream.read): use `VMChannel.read.'
+ (SocketInputStream.read): use `SocketChannel.read.'
+ (SocketOutputStream.write): use `VMChannel.write.'
+ (SocketOutputStream.write): use `SocketChannel.write.'
+ * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
+ (channel): new field.
+ (<init>): initialize `channel.'
+ (implCloseSelectableChannel): use `VMChannel.close.'
+ (implConfigureBlocking): use `VMChannel.setBlocking.'
+ (connect): use `VMChannel.connect.'
+ (disconnect): use `VMChannel.disconnect.'
+ (isConnected): use `VMChannel.getPeerAddress.'
+ (write): use `VMChannel.write.'
+ (write): use `VMChannel.writeGathering.'
+ (read): use `VMChannel.read.'
+ (read): use `VMChannel.readScattering.'
+ (receive): use `VMChannel.receive.'
+ (send): use `VMChannel.send.'
+ (getVMChannel): new method.
+ * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
+ access native FD through VMChannel.State.
+ * gnu/java/nio/FileChannelImpl.java: moved from
+ gnu/java/nio/channels/FileChannelImpl.java.
+ * gnu/java/nio/FileLockImpl.java: fix imports.
+ * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
+ * gnu/java/nio/KqueueSelectorImpl.java: new file.
+ * gnu/java/nio/NIOSocket.java (impl): removed.
+ (channel): new field.
+ (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
+ (getPlainSocketImpl, setChannel): removed.
+ (isConnected): new method.
+ * gnu/java/nio/NIOSocketImpl.java: new file.
+ * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
+ `VMChannelOwner.'
+ (SourceChannelImpl.native_fd): removed.
+ (SourceChannelImpl.<init>): init with a `VMChannel.'
+ (SourceChannelImpl.getNativeFD): removed.
+ (SourceChannelImpl.getVMChannel): new method.
+ (SourceChannelImpl.implCloseSelectableChannel): implement.
+ (SinkChannelImpl): implement `VMChannelOwner.'
+ (SinkChannelImpl.native_fd): removed.
+ (SinkChannelImpl.<init>): init with a `VMChannel.'
+ (SinkChannelImpl.implCloseSelectableChannel): implement.
+ (SinkChannelImpl.getNativeFD): removed.
+ (SinkChannelImpl.getVMChannel): new method.
+ * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
+ deprecated.
+ * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
+ SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
+ (openSelector): return kqueue selector if available.
+ * gnu/java/nio/ServerSocketChannelImpl.java: implement
+ `VMChannelOwner.'
+ (channel): new field.
+ (<init>): init `channel.'
+ (finalizer): check if the `VMChannel.State' is valid.
+ (implCloseSelectableChannel): use `VMChannel.close.'
+ (implConfigureBlocking): use `VMChannel.setBlocking.'
+ (accept): use `VMChannel.accept.'
+ (getVMChannel): new method.
+ * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
+ access native FD through `VMChannel.State.'
+ * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
+ (impl): removed.
+ (channel, connected, connectAddress): new field.
+ (<init>): new constructors.
+ (getPlainSocketImpl): removed.
+ (implCloseSelectableChannel): use `VMChannel.close.'
+ (implConfigureBlocking): use `VMChannel.setBlocking.'
+ (connect): use `connect(SocketAddress,int).'
+ (connect): use `VMChannel.connect.'
+ (finishConnect): don't use a selector.
+ (isConnected): use `VMChannel.getPeerAddress.'
+ (read): use `VMChannel.read.'
+ (read): use `VMChannel.readScattering.'
+ (write): use `VMChannel.write.'
+ (write): use `VMChannel.writeGathering.'
+ (getVMChannel): new method.
+ * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
+ native FD from `VMChannel.State.'
+ * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
+ get native FD from `VMChannel.State.'
+ * gnu/java/nio/VMChannelOwner.java: new file.
+ * gnu/java/nio/channels/FileChannelImpl.java: removed.
+ * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
+ and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
+ `gnu_java_nio_channels_FileChannelImpl.h.'
+ * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
+ * include/gnu_java_nio_FileChannelImpl.h: new file.
+ * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
+ * include/gnu_java_nio_VMChannel.h: regenerated.
+ * include/gnu_java_nio_VMPipe.h: regenerated.
+ * include/java_net_VMNetworkInterface.h: regenerated.
+ * java/io/FileDescriptor.java: fix imports.
+ * java/io/FileInputStream.java (<init>): handle exceptions.
+ (read): wrap the destination arary.
+ * java/io/FileOutputStream.java (<init>): handle exceptions.
+ (write): wrap the source array.
+ * java/io/RandomAccessFile.java (<init>): handle exceptions.
+ * java/net/DatagramSocket.java (<init>): handle exceptions.
+ (receive): handle length/port setting.
+ (connect): bind to any address/port if the argument is null.
+ * java/net/NetworkInterface.java (name, inetAddress): removed.
+ (netif): new field.
+ (<init>): make private.
+ (getName): return `netif.name.'
+ (getInetAddresses): access `netif.addresses.'
+ (getDisplayName): return `netif.name.'
+ (getByName, getByAddress): handle changes to `VMNetworkInterface.'
+ (condense): removed.
+ (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
+ (equals): compare `netif' fields.
+ (hashCode): get hash codes from `netif.'
+ (toString): use a StringBuffer.
+ * java/net/ServerSocket.java (close): don't set `impl' to null.
+ (isClosed): use `VMChannel.State.isClosed.'
+ * java/net/Socket.java (getLocalAddress): don't use `getOption' if
+ the `SocketImpl' is a `PlainSocketImpl.'
+ (close): just close the `impl.'
+ (toString): use `super.toString' in the value we return.
+ (isConnected): just access `impl,' not `getImpl.'
+ (isBound): use `PlainSocketImpl' methods if we can.
+ (isClosed): look at `VMChannel.State.'
+ * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
+ (JCL_NewRawDataObject): don't initialize cached fields here; throw
+ an exception if they were not.
+ (JCL_GetRawData): throw an exception if cached fields weren't
+ created.
+ * native/jni/java-lang/java_lang_VMProcess.c: handle
+ FileChannelImpl move.
+ * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
+ (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
+ THROW_NO_NETWORK): new macros.
+ (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
+ (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
+ (java_sockopt): new enum.
+ (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
+ (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
+ (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
+ reimplemented.
+ (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
+ reimplemented.
+ (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
+ function.
+ (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
+ (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
+ (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
+ (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
+ (getif_address): new function.
+ (getif_index): new function.
+ * native/jni/java-net/java_net_VMNetworkInterface.c
+ (java_net_VMNetworkInterface_init,
+ java_net_VMNetworkInterface_addAddress): new file-scope globals.
+ (Java_java_net_VMNetworkInterface_initIds): new function.
+ (struct netif_entry): new struct.
+ (free_netif_list): new function.
+ (Java_java_net_VMNetworkInterface_getInterfaces): removed.
+ (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
+ * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
+ gnu_java_nio_channels_FileChannelImpl.c, add
+ gnu_java_nio_KqueueSelectorImpl.c.
+ * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
+ * native/jni/java-nio/gnu_java_nio_VMChannel.c
+ (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
+ ALIGN_DOWN): new macros.
+ (JCL_init_buffer): get the address through GetDirectBufferAddress
+ if possible.
+ (Java_gnu_java_nio_VMChannel_stdin_1fd,
+ Java_gnu_java_nio_VMChannel_stdout_1fd,
+ Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
+ (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
+ value.
+ (Java_gnu_java_nio_VMChannel_read): renamed...
+ (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
+ this; handle interrupted IO; add HAVE_READ check.
+ (Java_gnu_java_nio_VMChannel_write): renamed...
+ (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
+ this; handle zero-length write; add HAVE_WRITE check.
+ (Java_gnu_java_nio_VMChannel_receive): new function.
+ (Java_gnu_java_nio_VMChannel_send): new function.
+ (Java_gnu_java_nio_VMChannel_send6): new function.
+ (Java_gnu_java_nio_VMChannel_read__I): new function.
+ (Java_gnu_java_nio_VMChannel_write__II): new function.
+ (Java_gnu_java_nio_VMChannel_socket): new function.
+ (Java_gnu_java_nio_VMChannel_connect): new function.
+ (Java_gnu_java_nio_VMChannel_connect6): new function.
+ (Java_gnu_java_nio_VMChannel_getsockname): new function.
+ (Java_gnu_java_nio_VMChannel_getpeername): new function.
+ (Java_gnu_java_nio_VMChannel_accept): new function.
+ (Java_gnu_java_nio_VMChannel_disconnect): new function.
+ (Java_gnu_java_nio_VMChannel_close): new function.
+ (Java_gnu_java_nio_VMChannel_available): new function.
+ (FileChannel_mode): new enum.
+ (Java_gnu_java_nio_VMChannel_open): new function.
+ (Java_gnu_java_nio_VMChannel_position): new function.
+ (Java_gnu_java_nio_VMChannel_seek): new function.
+ (Java_gnu_java_nio_VMChannel_truncate): new funciton.
+ (Java_gnu_java_nio_VMChannel_lock): new function.
+ (Java_gnu_java_nio_VMChannel_unlock): new function.
+ (Java_gnu_java_nio_VMChannel_size): new function.
+ (Java_gnu_java_nio_VMChannel_map): new function.
+ (Java_gnu_java_nio_VMChannel_flush): new function.
+ * native/jni/java-nio/gnu_java_nio_VMPipe.c
+ (Java_gnu_java_nio_VMPipe_init): removed.
+ (Java_gnu_java_nio_VMPipe_pipe0): new function.
+ * native/jni/java-nio/javanio.c: new file.
+ * native/jni/java-nio/javanio.h: new file.
+ * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
+ systems without `gethostbyname_r.'
+ * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
+ field.
+ (<init>, <init>): new constructors.
+ (setOption, getOption): make instance methods; defer to native
+ implementation.
+ (connect): removed.
+ (bind): make an instance method; defer to native methods.
+ (accept): removed.
+ (available): removed.
+ (listen): make an instance method; defer to native method.
+ (read): removed.
+ (join, leave): new methods.
+ (write): removed.
+ (joinGroup, leaveGroup): new methods.
+ (shutdownInput, shutdownOutput): make instance methods.
+ (sendUrgentData): removed.
+ (State): new class.
+ * vm/reference/gnu/java/nio/VMChannel.java: make final.
+ (fd): removed.
+ (nfd): new field.
+ (<init>): new, public constructors.
+ (getVMChannel): methods removed.
+ (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
+ stderr_fd): new methods.
+ (setBlocking): make an instance method.
+ (available): new method.
+ (read): get native fd from `nfd.'
+ (read): new single-byte read method.
+ (readScattering): get native fd from `nfd.'
+ (receive): new method.
+ (write, writeGathering): get native fd from `nfd.'
+ (send): new method.
+ (write): new single-byte write method.
+ (initSocket): new method.
+ (connect): new method.
+ (disconnect): new method.
+ (getLocalAddress): new method.
+ (getPeerAddress): new method.
+ (accept): new method.
+ (openFile): new method.
+ (position): new method.
+ (seek): new method.
+ (truncate): new method.
+ (lock): new method.
+ (unlock): new method.
+ (size): new method.
+ (map): new method.
+ (flush): new method.
+ (close): new method.
+ (State): new class.
+ (Kind): new class.
+ * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
+ (pipe, pipe0): new method.
+ * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
+ new fields.
+ (<clinit>): call `initIds.'
+ (initIds): new method.
+ (getInterfaces): removed.
+ (getVMInterfaces): new method.
+ (addAddress): new method.
+ * vm/reference/java/nio/channels/VMChannels.java: fix imports.
+
+2006-09-16 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 28572.
+ * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
+ when in text output mode.
+
+2006-09-16 Chris Burdess <dog@gnu.org>
+
+ Fixes PR 27293.
+ * gnu/xml/dom/DomNode.java: Increment length of node during insert.
+
+2006-09-14 Michael Koch <konqueror@gmx.de>
+
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
+
+2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
+
+ * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
+ Added !cl.isArray() to serialVersionUID mismatch check.
+
+2006-09-14 Francis Kung <fkung@redhat.com>
+
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
+ be compatibe with Cairo 1.2.x.
+
+2006-09-14 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
+ (cairoSurfaceSetFilter): Removed method.
+ (drawImage): Pass interpolation type as argument to drawing methods.
+ (drawPixels): Added interpolation parameter.
+ (drawRaster): Pass interpolation type as argument to drawing method.
+ (getInterpolation): New method.
+ (setRenderingHint): Store hints, but do not set interpolation in cairo.
+ (setRenderingHints): Store hints, but do not set interpolation in cairo.
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ (drawSurface): Added interpolation parameter.
+ (nativeDrawSurface): Added interpolation parameter.
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
+ parameter.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
+ * native/jni/gtk-peer/cairographics2d.h
+ (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
+ parameter.
+ (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
+ (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
+ interpolation parameter.
+
+2006-09-14 Gary Benson <gbenson@redhat.com>
+
+ * java/net/InetAddress.java
+ (internalGetCanonicalHostName): New method.
+ (getCanonicalHostName): Use internalGetCanonicalHostName.
+ (getByLiteral): New method.
+ (getAllByName): Use getByLiteral.
+ * java/net/SocketPermission.java
+ (host): Replaced with...
+ (hostname, address): New fields.
+ (equals, hashcode): Reflect the above.
+ (setHostPort): Parse host into hostname or address.
+ (implies): Rewrite host checks.
+
+2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
+
+ Fixes PR28699
+ * java/awt/Menu.java
+ (insert(MenuItem, int)): Fixed loop range,
+ (insert(String, int)): Updated API docs.
+
+2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ Fixes PR22800
+ * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
+ architectures (like Arm).
+ * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
+ Reverted SWAP_DOUBLE patch.
+ (doubleToRawLongBits): Likewise.
+ (longBitsToDouble): Likewise.
+
+2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/Menu.java: Reformatted source file.
+
+2006-09-14 Jeroen Frijters <jeroen@frijters.net>
+
+ * gnu/java/rmi/server/ActivatableRef.java
+ (readExternal, writeExternal): Partial fix for serialization format.
+
+2006-09-14 Jeroen Frijters <jeroen@frijters.net>
+
+ PR classpath/28984
+ * java/io/InputStreamReader.java
+ (read(char[],int,int)): Fixed bug.
+
+2006-09-13 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/BandCombineOp.java: Updated documentation.
+ (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
+
+2006-09-13 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/29034:
+ * java/io/PipedReader.java (read): Return early if len==0.
+ * java/io/PipedInputStream.java (read): Return early if len==0.
+
+2006-09-13 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
+ Removed hard-coded max sample value.
+ * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
+ Fixed finding of max sample value.
+
+2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (setPaint): Check null argument ('p').
+
+2006-09-12 Francis Kung <fkung@redhat.com>
+
+ PR 27940
+ * gnu/java/awt/java2d/TexturePaintContext.java
+ (constructor): Fixed typo, getMinY instead of getMaxX.
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (setPaint): Implemented support for custom Paint classes.
+ (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
+ (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
+ * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
+ to setPaintPixels, and added repeat parameter.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
+ Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
+
+2006-09-12 Gary Benson <gbenson@redhat.com>
+
+ * java/net/NetworkInterface.java (getInetAddresses):
+ Fix port used in security check.
+
+2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/DefaultMetalTheme.java
+ (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
+ (MENU_TEXT_FONT): Renamed 'menuTextFont',
+ (getControlTextFont): Check 'swing.boldMetal' setting before
+ initialising font,
+ (getMenuTextFont): Likewise.
+
+2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/OceanTheme.java
+ (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
+
+2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalIconFactory.java
+ (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
+
+2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/AbstractSpinnerModel.java: API doc updates.
+
+2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/AbstractButton.java
+ (AbstractButton): Initialise textIconGap field.
+
+2006-09-11 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
+ "volatile" when needed.
+
+2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/text/AttributedCharacterIterator.java
+ (LANGUAGE): Initialise with lower case string,
+ (INPUT_METHOD_SEGMENT): Likewise,
+ (READING): Likewise,
+ * java/text/AttributedStringIterator.java
+ (getRunLimit): Check all attributes for changes.
+
+2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/text/AttributedCharacterIterator.java: Added @since tag,
+ renamed some variables (no underscores) and removed some spaces to
+ match the common style,
+ * java/text/AttributedString.java: Likewise,
+ * java/text/AttributedStringIterator.java: Likewise.
+
+2006-09-11 Gary Benson <gbenson@redhat.com>
+
+ * java/net/Inet4Address.java
+ (FAMILY): Renamed back to AF_INET.
+ (<init>, writeReplace): Reflect the above.
+ * java/net/Inet6Address.java
+ (FAMILY): Renamed back to AF_INET6.
+ (<init>): Reflect the above.
+
+2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
+
+ Fixes PR29010
+ * java/text/AttributedString.java
+ (AttributedString(AttributedCharacterIterator, int, int,
+ AttributedCharacterIterator.Attribute[])): Fixed check for defined
+ attribute.
+
+2006-09-11 Gary Benson <gbenson@redhat.com>
+
+ * java/net/Inet4Address.java
+ (AF_INET): Renamed to FAMILY.
+ (<init>, writeReplace): Reflect the above.
+ * java/net/Inet6Address.java
+ (AF_INET6): Renamed to FAMILY.
+ (<init>): Reflect the above.
+
+2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+ Fixes bug #28867
+ Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
+ * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
+ * java/net/Socket.java: Avoid creating a redundant file descriptor.
+ (implCreated): Deleted, (getImpl): Don't check impleCreated,
+ (bind): Call getImpl().create(true).
+
+2006-09-09 Chris Burdess <dog@gnu.org>
+
+ * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
+ an instance of org.w3c.dom.NodeList.
+
+2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
+ missing security manager when run in standalone mode.
+
+2006-09-08 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/AffineTransformOp.java: Updated documentation.
+ (createCompatibleDestRaster): Updated formatting.
+ (filter(BufferedImage, BufferedImage)): Updated formatting.
+ (filter(Raster, WritableRaster)): Delegated processing to native peers for
+ if colour model is compatible.
+ (filterBicubic): Get entire pixel at once, and use appropriate array type.
+ (filterBilinear): Get entire pixel at once, and use appropriate array type.
+
+2006-09-08 Gary Benson <gbenson@redhat.com>
+
+ * java/net/InetAddress.java
+ (family): Updated javadoc and made private.
+ (<init>): Add an address family argument.
+ (readObject): Don't overwrite family.
+ * java/net/Inet4Address.java
+ (AF_INET): New constant.
+ (<init>): Use AF_INET as the family.
+ (writeReplace): Likewise.
+ * java/net/Inet6Address.java
+ (AF_INET6): New constant.
+ (<init>): Use AF_INET6 as the family.
+
+2006-09-08 Gary Benson <gbenson@redhat.com>
+
+ * java/net/InetAddress.java
+ (getHostName): Move lookup into getCanonicalHostName.
+ (getCanonicalHostName): Move lookup from getHostName,
+ Perform security check on canonical name (ie after lookup).
+
+2006-09-08 Gary Benson <gbenson@redhat.com>
+
+ * java/net/Inet4Address.java (isMulticastAddress,
+ isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
+ isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
+ isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
+ implementations from InetAddress.
+ * java/net/InetAddress.java (isMulticastAddress,
+ isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
+ isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
+ isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
+ implementations with UnsupportedOperationExceptions.
+
+2006-09-08 Gary Benson <gbenson@redhat.com>
+
+ * java/net/InetAddress.java
+ (inaddr_any): Removed.
+ (ANY_IF, LOCALHOST): Create using getByAddress.
+ (<init>): Updated javadoc.
+ (getHostName): Cache hostname even if the lookup failed.
+ (getByAddress): Create Inet4Address objects when passed
+ IPv4-mapped IPv6 addresses.
+ (aton): Removed.
+ (getAllByName): Create address objects using getByAddress.
+ Do not perform security checks unless actually required.
+ Do not strip whitespace from the hostname.
+ (getInaddrAny): Removed.
+ (getLocalHost): Return the loopback address if getByName
+ throws a SecurityException.
+ (readResolve): Updated javadoc.
+ * vm/reference/java/net/VMInetAddress.java (aton): Declared.
+ * include/java_net_VMInetAddress.h
+ (Java_java_net_VMInetAddress_aton): Likewise.
+ * native/jni/java-net/java_net_VMInetAddress.c
+ (Java_java_net_VMInetAddress_aton): New method.
+ * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
+ * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
+ * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
+ * java/net/Inet4Address.java (writeReplace): Updated javadoc.
+ * NEWS: Added note about updated VM interface.
+
+2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/basic/BasicInternalFrameUI.java
+ (setNorthPane): Assign component to titlePane.
+
+2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * gnu/CORBA/NamingService/NameParser.java (corbaloc):
+ Remove unused variable alt_addr.
+ * gnu/CORBA/NamingService/NameTransformer.java (toName):
+ Remove unused variables.
+
+2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalScrollBarUI.java
+ (installDefaults): Initialise scrollBarWidth from UI defaults here,
+ (createDecreaseButton): Don't fetch scrollBarWidth here,
+ (createIncreaseButton): Likewise.
+
+2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/image/MemoryImageSource.java: Added API docs.
+
+2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/basic/BasicScrollBarUI.java
+ (installDefaults): Call configureScrollBarColors().
+
+2006-09-06 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/RescaleOp.java: Updated documentation and formatting.
+ (constructor): Make copy of arrays.
+ (createCompatibleDestImage): Changed treatment of null ColorModel.
+ (filter(BufferedImage, BufferedImage)): Re-implemented.
+ (filter(Raster, WritableRaster, boolean[])): New method.
+ (filter(Raster, WritableRaster)): Re-implemented.
+ (getOffsets): Prevent ArrayIndexOutOfBoundsException.
+ (getPoint2D): Cleaned up formatting.
+ (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
+
+2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/UIManager.java
+ (getBoolean(Object)): Reimplemented,
+ (getBoolean(Object, Locale)): Likewise,
+ (getBorder(Object)): Likewise,
+ (getBorder(Object, Locale)): Likewise,
+ (getColor(Object)): Likewise,
+ (getColor(Object, Locale)): Likewise,
+ (getDimension(Object)): Likewise,
+ (getDimension(Object, Locale)): Likewise,
+ (getFont(Object)): Likewise,
+ (getFont(Object, Locale)): Likewise,
+ (getIcon(Object)): Likewise,
+ (getIcon(Object, Locale)): Likewise,
+ (getInsets(Object)): Updated API docs,
+ (getInsets(Object, Locale)): Likewise,
+ (getInt(Object)): Reimplemented,
+ (getInt(Object, Locale)): Likewise,
+ (getString(Object)): Likewise,
+ (getString(Object, Locale)): Likewise.
+
+2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/UIManager.java
+ (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
+ (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
+
+2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/metal/MetalLookAndFeel.java
+ (initComponentDefaults): Corrected various font defaults.
+
+2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/List.java: Added @since to various methods.
+
+2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * native/jni/native-lib/cpprocess.c:
+ (forkAndExec(char*,char*,int,int,pid_t,char*)):
+ Add redirection of stdout to stderr.
+ * native/jni/native-lib/cpprocess.h:
+ Added redirect argument.
+ * native/jni/java-lang/java_lang_VMProcess.c
+ (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
+ * vm/reference/java/lang/VMProcess.java: Likewise.
+ * include/java_lang_VMProcess.h: Regenerated.
+
+2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
+ __attribute to __attribute__.
+
+ * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
+ header include.
+
+2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/List.java: Source code reformatted.
+
+2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * gnu/CORBA/CollocatedOrbs.java,
+ gnu/CORBA/SafeForDirectCalls.java: New files.
+ * gnu/CORBA/NamingService/Binding_iterator_impl.java:
+ Implement gnu.CORBA.SafeForDirectCalls.
+ * gnu/CORBA/NamingService/Ext.java: Likewise.
+ * gnu/CORBA/NamingService/TransientContext.java: Likewise.
+ * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
+ of the local host. (ior_to_object): Return the local object
+ where possible. (run): Register/unregister this ORB.
+ * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
+ * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
+ * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
+ (constructors): Initialize noRetain. (_invoke): Drop servant
+ if noRetain is true. (getHandler): Always seach for the new servant
+ if noRetain is true.
+ * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
+ * NEWS: Added note about the new feature.
+
+2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/Choice.java
+ (addItem): Fixed API doc glitch.
+
+2006-09-05 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/LookupOp.java: Updated documentation & formatting.
+ (createCompatibleDestImage): Re-implemented.
+ (filter(BufferedImage, BufferedImage)): Added check for src/dest image
+ compatibility, and use ColorConvertOp for color conversion if needed.
+ (filter(Raster, WritableRaster)): Made exceptions more descriptive.
+
+2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ gnu/CORBA/CDR/Vio.java,
+ org/omg/CORBA_2_3/ORB.java,
+ org/omg/CORBA_2_3/portable/InputStream.java,
+ org/omg/CORBA_2_3/portable/OutputStream.java,
+ org/omg/CosNaming/BindingIteratorHelper.java,
+ org/omg/CosNaming/BindingTypeHelper.java,
+ org/omg/CosNaming/NameComponentHelper.java,
+ org/omg/CosNaming/NameHelper.java,
+ org/omg/CosNaming/NamingContextExtHelper.java,
+ org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
+ org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
+ org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
+ org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
+ org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
+ org/omg/CosNaming/NamingContextHelper.java,
+ org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
+ org/omg/CosNaming/NamingContextPackage/InvalidName.java,
+ org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
+ org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
+ org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
+ org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
+ org/omg/DynamicAny/AnySeqHelper.java,
+ org/omg/DynamicAny/DynAnyFactoryHelper.java,
+ org/omg/DynamicAny/DynAnyFactoryOperations.java,
+ org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
+ org/omg/DynamicAny/DynAnyHelper.java,
+ org/omg/DynamicAny/DynAnyOperations.java,
+ org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
+ org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
+ org/omg/DynamicAny/DynAnySeqHelper.java,
+ org/omg/DynamicAny/DynArrayHelper.java,
+ org/omg/DynamicAny/DynEnumHelper.java,
+ org/omg/DynamicAny/DynFixedHelper.java,
+ org/omg/DynamicAny/DynSequenceHelper.java,
+ org/omg/DynamicAny/DynStructHelper.java,
+ org/omg/DynamicAny/DynStructOperations.java,
+ org/omg/DynamicAny/DynUnionHelper.java,
+ org/omg/DynamicAny/DynValueHelper.java,
+ org/omg/DynamicAny/NameDynAnyPairHelper.java,
+ org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
+ org/omg/IOP/CodecFactoryHelper.java,
+ org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
+ org/omg/IOP/CodecOperations.java,
+ org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
+ org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
+ org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
+ org/omg/IOP/ComponentIdHelper.java,
+ org/omg/IOP/ExceptionDetailMessage.java,
+ org/omg/IOP/MultipleComponentProfileHelper.java,
+ org/omg/IOP/ProfileIdHelper.java,
+ org/omg/IOP/ServiceContextListHelper.java,
+ org/omg/IOP/ServiceIdHelper.java,
+ org/omg/IOP/TAG_CODE_SETS.java,
+ org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
+ org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
+ org/omg/PortableInterceptor/CurrentHelper.java,
+ org/omg/PortableInterceptor/IORInfo.java,
+ org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
+ org/omg/PortableInterceptor/ORBIdHelper.java,
+ org/omg/PortableInterceptor/ORBInitInfoOperations.java,
+ org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
+ org/omg/PortableInterceptor/ORBInitializerOperations.java,
+ org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
+ org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
+ org/omg/PortableInterceptor/RequestInfoOperations.java,
+ org/omg/PortableInterceptor/ServerIdHelper.java,
+ org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
+ org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
+ org/omg/PortableServer/AdapterActivatorOperations.java,
+ org/omg/PortableServer/CurrentHelper.java,
+ org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
+ org/omg/PortableServer/ForwardRequestHelper.java,
+ org/omg/PortableServer/IdAssignmentPolicyValue.java,
+ org/omg/PortableServer/IdUniquenessPolicyValue.java,
+ org/omg/PortableServer/ImplicitActivationPolicyValue.java,
+ org/omg/PortableServer/LifespanPolicyValue.java,
+ org/omg/PortableServer/POA.java,
+ org/omg/PortableServer/POAHelper.java,
+ org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
+ org/omg/PortableServer/POAManagerPackage/State.java,
+ org/omg/PortableServer/POAOperations.java,
+ org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
+ org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
+ org/omg/PortableServer/POAPackage/InvalidPolicy.java,
+ org/omg/PortableServer/POAPackage/NoServantHelper.java,
+ org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
+ org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
+ org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
+ org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
+ org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
+ org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
+ org/omg/PortableServer/RequestProcessingPolicyValue.java,
+ org/omg/PortableServer/ServantActivatorHelper.java,
+ org/omg/PortableServer/ServantLocatorHelper.java,
+ org/omg/PortableServer/ServantLocatorOperations.java,
+ org/omg/PortableServer/ServantRetentionPolicyValue.java,
+ org/omg/PortableServer/ThreadPolicyValue.java,
+ org/omg/PortableServer/_ServantActivatorStub.java,
+ org/omg/PortableServer/_ServantLocatorStub.java,
+ org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
+
+2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * javax/rmi/CORBA/Tie.java,
+ org/omg/CORBA/AnyHolder.java,
+ org/omg/CORBA/AnySeqHelper.java,
+ org/omg/CORBA/AnySeqHolder.java,
+ org/omg/CORBA/BooleanHolder.java,
+ org/omg/CORBA/BooleanSeqHelper.java,
+ org/omg/CORBA/BooleanSeqHolder.java,
+ org/omg/CORBA/ByteHolder.java,
+ org/omg/CORBA/CharHolder.java,
+ org/omg/CORBA/CharSeqHelper.java,
+ org/omg/CORBA/CharSeqHolder.java,
+ org/omg/CORBA/Context.java,
+ org/omg/CORBA/CurrentHelper.java,
+ org/omg/CORBA/CustomValue.java,
+ org/omg/CORBA/DataOutputStream.java,
+ org/omg/CORBA/DefinitionKindHelper.java,
+ org/omg/CORBA/DomainManagerOperations.java,
+ org/omg/CORBA/DoubleHolder.java,
+ org/omg/CORBA/DoubleSeqHelper.java,
+ org/omg/CORBA/DoubleSeqHolder.java,
+ org/omg/CORBA/DynAny.java,
+ org/omg/CORBA/DynSequence.java,
+ org/omg/CORBA/DynValue.java,
+ org/omg/CORBA/DynamicImplementation.java,
+ org/omg/CORBA/FieldNameHelper.java,
+ org/omg/CORBA/FixedHolder.java,
+ org/omg/CORBA/FloatHolder.java,
+ org/omg/CORBA/FloatSeqHelper.java,
+ org/omg/CORBA/FloatSeqHolder.java,
+ org/omg/CORBA/IdentifierHelper.java,
+ org/omg/CORBA/IntHolder.java,
+ org/omg/CORBA/LocalObject.java,
+ org/omg/CORBA/LongHolder.java,
+ org/omg/CORBA/LongLongSeqHelper.java,
+ org/omg/CORBA/LongLongSeqHolder.java,
+ org/omg/CORBA/LongSeqHelper.java,
+ org/omg/CORBA/LongSeqHolder.java,
+ org/omg/CORBA/ORB.java,
+ org/omg/CORBA/ObjectHelper.java,
+ org/omg/CORBA/ObjectHolder.java,
+ org/omg/CORBA/OctetSeqHelper.java,
+ org/omg/CORBA/OctetSeqHolder.java,
+ org/omg/CORBA/PolicyErrorCodeHelper.java,
+ org/omg/CORBA/PolicyErrorHelper.java,
+ org/omg/CORBA/PolicyHelper.java,
+ org/omg/CORBA/PolicyListHelper.java,
+ org/omg/CORBA/PolicyTypeHelper.java,
+ org/omg/CORBA/PrincipalHolder.java,
+ org/omg/CORBA/RepositoryIdHelper.java,
+ org/omg/CORBA/Request.java,
+ org/omg/CORBA/ShortHolder.java,
+ org/omg/CORBA/ShortSeqHelper.java,
+ org/omg/CORBA/ShortSeqHolder.java,
+ org/omg/CORBA/StringSeqHelper.java,
+ org/omg/CORBA/StringSeqHolder.java,
+ org/omg/CORBA/ULongLongSeqHelper.java,
+ org/omg/CORBA/ULongLongSeqHolder.java,
+ org/omg/CORBA/ULongSeqHelper.java,
+ org/omg/CORBA/ULongSeqHolder.java,
+ org/omg/CORBA/UShortSeqHelper.java,
+ org/omg/CORBA/UShortSeqHolder.java,
+ org/omg/CORBA/ValueBaseHelper.java,
+ org/omg/CORBA/ValueBaseHolder.java,
+ org/omg/CORBA/VersionSpecHelper.java,
+ org/omg/CORBA/WCharSeqHelper.java,
+ org/omg/CORBA/WCharSeqHolder.java,
+ org/omg/CORBA/WStringSeqHelper.java,
+ org/omg/CORBA/WStringSeqHolder.java,
+ org/omg/CORBA/WrongTransactionHelper.java,
+ org/omg/CORBA/_IDLTypeStub.java,
+ org/omg/CORBA/_PolicyStub.java,
+ org/omg/CORBA/portable/BoxedValueHelper.java,
+ org/omg/CORBA/portable/Delegate.java,
+ org/omg/CORBA/portable/ObjectImpl.java,
+ org/omg/CORBA/portable/ServantObject.java,
+ org/omg/CORBA/portable/StreamableValue.java,
+ org/omg/CosNaming/BindingType.java,
+ org/omg/CosNaming/IstringHelper.java,
+ org/omg/DynamicAny/FieldNameHelper.java,
+ org/omg/PortableServer/Servant.java: Documentation fixes.
+
+2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/Rectangle.java
+ (setRect(double, double, double, double)): Modified rounding of input
+ values.
+
+2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
+ Disallow H1 - H6 in the paragraphs.
+ * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
+ (preprocess): Leave at most one leading and/or trailing space.
+ * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
+ Do not add any text after closing the HTML tag.
+
+2006-09-02 Roman Kennke <kennke@aicas.com>
+
+ PR 28928
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (RootView.getPreferredSpan): Default to 10 when there is no
+ real view.
+ (RootView.getMinimumSpan): Forward to view and default to 10
+ when there is no real view.
+ (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
+ (getMaximumSize): Check for overflow.
+ * javax/swing/text/FieldView.java
+ (getResizeWeight): Removed unneeded assignment.
+
+2006-09-01 Francis Kung <fkung@redhat.com>
+ * java/awt/image/ColorConvertOp.java
+ (copyImage): Updated javadoc and comments.
+ (copyRaster): Add javadoc.
+ (createCompatibleColorModel): Add javadocs and comments.
+ (createCompatibleDestImage): Use correct transfer type.
+ (createCompatibleDestRaster): Add new parameter for transfer type.
+ (filter): Use correct transfer type.
+ * java/awt/image/ConvolveOp.java: Updated javadocs.
+ (createCompatibleDestImage): Set new image properties correctly.
+ (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
+ (filter(WritableRaster, Raster): Clip sample values to [0-255].
+
+2006-09-01 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/table/DefaultTableModel.java:
+ (checkSize): Added null check for dataVector.
+
+2006-09-01 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/basic/BasicSplitPaneUI.java:
+ (BasicHorizontalLayout.getAlignmentX): Return fixed value.
+ (BasicHorizontalLayout.getAlignmentY): Return fixed value.
+
+2006-09-01 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
+ (paintIcon): Removed unused import statements, lowered cast requirement
+ from JCheckBox to AbstractButton.
+
+2006-09-01 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/basic/BasicLookAndFeel.java:
+ (initComponentDefaults): Added, changed and removed some
+ tabbed pane properties.
+
+2006-09-01 Robert Schuster <robertschuster@fsfe.org>
+
+ * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
+ (createContent): Changed menu item name and tab naming.
+
+2006-09-01 Roman Kennke <kennke@aicas.com>
+
+ PR 28922
+ * javax/swing/plaf/basic/BasicHTML.java
+ (HTMLRootView.getAttributes): Overridden to return null.
+ (HTMLRootView.getElement): Overridden to return the view's
+ element.
+
+2006-09-01 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
+ (calculateTabAreaHeight): Use getTabRunOverlay method instead
+ of accessing variable directly.
+ (calculateTabAreaWidth): Dito.
+
+2006-08-31 Keith Seitz <keiths@redhat.com>
+
+ * include/jvmti.h: Include jvmti_md.h.
+
+2006-08-31 Keith Seitz <keiths@redhat.com>
+
+ From Martin Platter <motse@complang.tuwien.ac.at>:
+ * Makefile.am (include_HEADERS): Include jvmti.h.
+ * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
+ (jvmtiError): Remove superfluous comma after last entry.
+ (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
+ (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
+ (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
+ (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
+ character pointer.
+ (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
+ (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
+ (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
+ character pointer.
+
+2006-08-31 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (getWidth): Return the width with insets added, not with one
+ added and one removed.
+ (getHeight): Return the height with insets added, not with one
+ added and one removed.
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.viewToModel): Need to add the start offset.
+ * javax/swing/text/ParagraphView.java
+ (Row.getAlignment): Adjust alignment with respect to
+ the justification attribute.
+ (Row.getLeftInset): Overridden to adjust for firstLineIndent
+ attribute.
+ * javax/swing/text/html/CSS.java
+ (getValue): Convert length values.
+ * javax/swing/text/html/Paragraph.java
+ (painter): New field.
+ (paint): Implemented to delegate painting to the BoxPainter too.
+ (setPropertiesFromAttributes): Implemented to load attributes
+ from CSS.
+ * javax/swing/text/html/StyleSheet.java
+ (BoxPainter.as): Removed field.
+ (BoxPainter.leftInset): New field.
+ (BoxPainter.bottomInset): New field.
+ (BoxPainter.rightInset): New field.
+ (BoxPainter.topInset): New field.
+ (BoxPainter.BoxPainter): Implemented to load the insets from
+ CSS.
+ (BoxPainter.getInset): Implemented.
+ * gnu/javax/swing/text/html/Length.java: New class.
+ Converts CSS length units to usable values.
+
+2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * configure.ac: Add check for gethostbyname_r.
+ Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
+ * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
+ SOCKET_NOSIGNAL according to the configure check.
+ (cpnet_send): Use SOCKET_NOSIGNAL.
+ (cpnet_sendTo): Likewise.
+ (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
+ defined.
+ * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
+ are not available.
+
+ * lib/Makefile.am (cssfiles): Add new rule to install css files.
+
+2006-08-31 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (getPreferredSize): Replace preferred size with minimum
+ UI size only if the scrollable does _not_ track the viewport
+ size and only if the viewport's size is smaller than the
+ scrollable's size.
+ (getScrollableTracksViewportWidth): Avoid unnecessary multiple
+ method calls.
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (getPreferredSize): Read-lock the document to avoid
+ concurrency problems.
+ (getMaximumSize): Return maximum size of the view.
+ Read-lock the document to avoid concurrency problems.
+ (getMinimumSize): Return minimum size of the view.
+ Read-lock the document to avoid concurrency problems.
+
+2006-08-31 Gary Benson <gbenson@redhat.com>
+
+ * java/net/SocketPermission.java
+ (maybeBracketIPv6Address): Renamed to processHostport.
+ (processHostport): Also translate "" to "localhost".
+ (setHostPort): Remove special cases for empty hostport and for
+ extra colons in hostport (processHostport handles these now).
+
+2006-08-31 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/ZoneView.java (Zone): Make static class.
+ Constructor takes axis parameter.
+ (createZone): Create Zone with getAxis() as major axis.
+
+2006-08-30 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/ZoneView.java
+ (loadChildren): Implemented.
+ (getViewIndexAtPosition): Implemented.
+ (checkZoneAt): New helper method.
+ (splitZone): New helper method.
+ (getPreferredZoneEnd): New helper method.
+
+2006-08-30 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/ZoneView.java: New class.
+
+2006-08-30 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JMenu.java
+ (getMenu): Removed unneeded cast.
+ (getPopupMenuOrigin): Made positioning algorithm better respect
+ the screen bounds.
+ (setMenuLocation): Also set the location on the popup if it's
+ not null.
+ (setModel): Use menuChangeListener so that we don't override
+ the changeListener field from AbstractButton.
+ (setPopupMenuVisible): Use custom location if set, otherwise
+ fallback to getPopupMenuOrigin().
+
+2006-08-29 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/InternationalFormatter.java
+ (stringToValue): Fixed bounds check.
+ * javax/swing/text/MaskFormatter.java
+ (MaskFormatter): Don't explicitly set allosInvalid property.
+ (convertStringToValue): New helper method.
+ (convertValueToString): New helper method.
+ (convertValue): Removed. Replaced by the 2 convert* methods
+ above.
+ (getPadCharAt): Removed.
+ (isCharValid): Removed.
+ (pad): Removed.
+ (stringToValue): Fixed stringToValue conversion.
+ (stripLiterals): Removed.
+ (valueToString): Fixed valueToString conversion.
+ * javax/swing/text/DefaultFormatter.java
+ (DefaultFormatter): Default to commitsOnValidEdit = false.
+
+2006-08-29 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/TextAction.java
+ (getTextComponent): Check event for null and return null in
+ this case.
+ (augmentList): Augment Actions based on their names.
+ * javax/swing/text/DefaultEditorKit.java
+ (BeginAction.actionPerformed): Check target for null.
+ (BeginLineAction.actionPerformed): Check target for null.
+ (CopyAction.actionPerformed): Check target for null.
+ (CutAction.actionPerformed): Check target for null.
+ (EndAction.actionPerformed): Check target for null.
+ (EndLineAction.actionPerformed): Check target for null.
+ (InsertBreakAction.actionPerformed): Check target for null.
+ (InsertTabAction.actionPerformed): Check target for null.
+ (PasteAction.actionPerformed): Check target for null.
+ (SelectAllAction.actionPerformed): Check target for null.
+ (SelectionBeginAction.actionPerformed): Check target for null.
+ (SelectionBeginLineAction.actionPerformed): Check target for null.
+ (SelectionEndAction.actionPerformed): Check target for null.
+ (SelectionEndLineAction.actionPerformed): Check target for null.
+ (SelectLineAction.actionPerformed): Check target for null.
+ (SelectWordAction.actionPerformed): Check target for null.
+
+2006-08-29 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (FocusHandler): New class. This is moved from the anonymous
+ inner focus listener class to a static member class, and
+ is now shared between components.
+ (DocumentHandler): This class is combined with the PropertyHandler
+ into the Handler class.
+ (PropertyChangeHandler): This class is combined with the
+ DocumentHandler into the Handler class.
+ (Handler): New class. This combines the Property and Document
+ handler into one class.
+ (RootView.changedUpdate): Only forward if real view != null.
+ (RootView.insertUpdate): Only forward if real view != null.
+ (RootView.removeUpdate): Only forward if real view != null.
+ (documentHandler): Removed field and replaced by handler.
+ (focuslistener): Made field static and renamed to focusListener.
+ (handler): New field.
+ (kit): Lazily initialize field.
+ (rootView): Lazily initialize field.
+ (updateHandler): Removed and replaced by handler.
+ (getEditorKit): Lazily instantiate field.
+ (installDefaults): Don't set margin twice. Install correct
+ property for disabledTextColor. Moved caret and highlighter
+ initialization to installFixedDefaults.
+ (installFixedDefaults): New method. Installs defaults that
+ can't be overridden by subclasses.
+ (installListeners): Only install focus handler when new
+ system property gnu.swing.text.no-xlike-clipboard is not set.
+ Lazily initialize focus handler.
+ (installUI): Lazily initialize rootView. Install handler
+ both for property and document changes.
+ (uninstallDefaults): Uninstall the UI defaults.
+ (uninstallFixedDefaults): New method. Uninstalls the fixed
+ defaults.
+ (installListeners): Only uninstall focus handler when not null.
+ (uninstallUI): Uninstall property and document listener here.
+
+2006-08-29 Gary Benson <gbenson@redhat.com>
+
+ * java/net/SocketPermission.java
+ (maybeBracketIPv6Address): New method.
+ (<init>): Pass the hostport argument through the above.
+
+ * java/net/NetworkInterface.java (getInetAddresses):
+ Don't bracket IPv6 addresses.
+
+2006-08-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (calculateMinorAxisRequirements): Initialize max size
+ with Integer.MAX_VALUE.
+ * javax/swing/text/Utilities.java
+ (getBreakLocation): For simple chars, scan the text directly.
+ * javax/swing/text/WrappedPlainView.java
+ (tabBase): New field.
+ (tabSize): New field.
+ (calculateBreakPosition): Use Utilities. Fixed for correct
+ break calculation.
+ (changedUpdate): Update children directly.
+ (insertUpdate): Update children directly. Notify children.
+ (removeUpdate): Update children directly. Notify children.
+ (updateChildren): New helper method.
+ (nextTabStop): Fixed to return correct results.
+ (paint): Update tabBase.
+ (updateMetrics): Update tab size.
+
+2006-08-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/Position.java
+ (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
+ (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
+
+2006-08-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/View.java
+ (height): Removed unneeded field.
+ (width): Removed unneeded field.
+ (getBreakWeight): Return GoodBreakWeight when pos is after
+ the view's span.
+ (getToolTipText): Check view index more carefully. Avoid
+ Rectangle creation.
+ (insertUpdate): Only execute method body if view count > 0.
+ When updateChildren returns false, clear the ec variable.
+ (updateChildren): Added null checks.
+ (viewToModel): Initialize bias array correctly.
+ * javax/swing/text/CompositeView.java
+ (children): Made private.
+ (numChildren): New field.
+ (loadChildren): Check factory for null. Don't load children
+ when factory is null.
+ (replace): Removed null check. Nullify removed children. Made
+ growing the array more efficient.
+ (getViewCount): Return numChildren rather then the real array
+ size.
+ * javax/swing/text/BoxView.java
+ (getViewAtPoint): Fixed algorithm for finding the view.
+ (replace): Made array growing more efficient.
+ (replaceLayoutArray): New helper method for growing/patching
+ the layout arrays.
+ (viewToModel): Make sure we have a valid layout.
+
+2006-08-28 Tania Bento <tbento@redhat.com>
+
+ * java/awt/MenuShortcut.java
+ (MenuShortcut (int, boolean)): Set keyName.
+ (toString): Modified string output.
+ (setKeyName): New private method.
+
+2006-08-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/GapContent.java
+ (Mark.getOffset): Made assert less strict, include boundary.
+ (search): Made package private to avoid accessor method.
+
+2006-08-28 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/StringContent.java
+ (InsertUndo.positions): New field.
+ (InsertUndo.redo): Update the undo positions.
+ (InsertUndo.undo): Fetch the undo positions.
+ (Mark): New class. Layer of indirection to allow Positions
+ to be GC'ed while we still hold references to the Mark.
+ (RemoveUndo.len): New field.
+ (RemoveUndo.positions): New field.
+ (RemoveUndo.RemoveUndo): Fetch undo positions.
+ (RemoveUndo.redo): Re-fetch positions and string.
+ (RemoveUndo.undo): Update undo positions.
+ (StickyPosition.mark): New field.
+ (StickyPosition.offset): Removed field.
+ (StickyPosition.StickyPosition): Create new Mark. Register
+ Position in queueOfDeath. Update reference count on mark.
+ (StickyPosition.getOffset): Return offset stored in mark.
+ (StickyPosition.setOffset): Removed unneeded method.
+ (UndoPosRef): New class. Handles undo/redo on positions/marks.
+ (EMPTY): New field.
+ (marks): New field. Stores the marks.
+ (positions): Removed field.
+ (queueOfDeath): New field. Used for GCing the positions.
+ (StringContent): Initialize queueOfDeath.
+ (createPosition): Lazily create marks vector.
+ (garbageCollect): New helper method. Collects positions
+ to be GCed and updates their marks.
+ (getChars): Fixed bounds check.
+ (getPositionsInRange): When v == null, create new Vector,
+ otherwise use v. Store UndoPosRefs in vector.
+ (getString): Added comment about bug in RI.
+ (insertString): Use new helper method for replacing the array.
+ Correctly update positions.
+ (length): Removed this qualifier.
+ (remove): Use new helper method for replacing the array.
+ Correctly update positions.
+ (replace): New helper method for growing or patching the array.
+ (updateUndoPositions): Implemented. Updates the positions
+ for undo/redo operations.
+
+2006-08-27 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/StyleContext.java
+ (NamedStyle.attributes): Made field transient.
+ (NamedStyle.changeEvent): Made field transient.
+ (NamedStyle.name): Removed field. The name is stored as
+ attribute.
+ (NamedStyle.NamedStyle(String,Style)): Call setName() for
+ storing the name and check for null name and resolveParent.
+ Don't initialize changeEvent.
+ (NamedStyle.copyAttributes): Return a new NamedStyle,
+ rather than a plain copy of the attributes field.
+ (NamedStyle.fireStateChange): Lazily create changeEvent
+ field.
+ (NamedStyle.getName): Fetch name from attributes.
+ (NamedStyle.setName): Store name from attributes.
+ (NamedStyle.readObject): Implemented for correct
+ deserialization.
+ (NamedStyle.writeObject): Implemented for correct
+ serialization.
+ (NamedStyle.setResolveParent): When new parent is null,
+ remove resolveParent attribute. Use addAttribute() method
+ rather than StyleContext addAttribute().
+ (NamedStyle.toString): Fixed to produce output equal to the
+ RI.
+ (SmallAttributeSet.resolveParent): New field.
+ (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
+ the resolveParent field correctly.
+ (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
+ array but store it directly. Update
+ the resolveParent field correctly.
+ (SmallAttributeSet.clone): Return this as the object is
+ immutable.
+ (SmallAttributeSet.containsAttributes): Make sure that keys
+ and values are the same.
+ (SmallAttributeSet.containsAttribute): Make sure that keys
+ and values are the same.
+ (SmallAttributeSet.copyAttributes): Return this as the object is
+ immutable.
+ (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
+ are equal if they have the same number of attributes and
+ one contains the other.
+ (SmallAttributeSet.getAttribute): Improved lookup of
+ resolveParent.
+ (SmallAttributeSet.getResolveParent): Improved lookup of
+ resolveParent.
+ (SmallAttributeSet.isEqual): When comparing object is a
+ SmallAttributeSet, consider them equal only if they are the
+ same object.
+ (SmallAttributeSet.toString): Fixed to produce output equal to the
+ RI.
+ (attributeSetPool): New field.
+ (defaultStyleContext): Initialize lazily.
+ (defaultStyle): Removed field. This is stored in the style context
+ as attribute.
+ (listenerList): Removed field. The NamedStyle stores the
+ listeners.
+ (readAttributeKeys): New static field. Used for looking up
+ the serialization mappings when reading.
+ (search): New field. Used as search key.
+ (staticAttributeKeys): Replaced by read/writeAttributeKeys.
+ (styles): New field. Stores the styles and listeners.
+ (styleTable): Removed field. Replaced by styles field.
+ (writeAttributeKeys): New static field. Used for looking up
+ the serialization mappings when writing.
+ (static_initializer): Register mappings for all keys in
+ StyleConstants.
+ (StyleContext): Initialize styles correctly.
+ (addAttributes): Fixed caching of immutable attributes.
+ (addAttribute): Fixed caching of immutable attributes.
+ (removeAttributes): Fixed caching of immutable attributes.
+ (removeAttribute): Fixed caching of immutable attributes.
+ (addChangeListener): Add listener to styles field.
+ (removeChangeListener): Remove listener from styles field.
+ (getChangeListeners): Fetch listeners from styles field.
+ (addStyle): Add style to styles field.
+ (cleanupPool): New method.
+ (getDefaultStyleContext): Lazily create context.
+ (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
+ (getMutableAttributeSet): New helper method. Used for
+ caching.
+ (getStaticAttribute): Fetch key from readAttributeKeys.
+ (getStyleNames): Return names from styles field.
+ (getStyle): Lookup style in styles field.
+ (removeStyle): Remove style from styles field.
+ (readAttributeSet): Fixed deserialization.
+ (writeAttributeSet): Fixed serialization.
+ (readObject): Fixed deserialization.
+ (writeObject): Fixed serialization.
+ (reclaim): Simply cleanup the pool.
+ (registerStaticAttributeKey): Store mapping in both ways.
+ (searchImmutableSet): New helper method for caching.
+ (toString): Fixed for output like the RI.
+ * javax/swing/text/StyleConstants.java
+ (keys): New field. Stores all known keys.
+ (StyleConstants): Store created key in keys list.
+ * javax/swing/event/EventListenerList.java
+ (readObject): Fixed deserialization.
+ (writeObject): Fixed serialization.
+
+2006-08-25 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/CompositeView.java
+ (insets): Removed. Replaced by single short fields.
+ (top): New field. Replaces insets.
+ (bottom): New field. Replaces insets.
+ (left): New field. Replaces insets.
+ (right): New field. Replaces insets.
+ (CompositeView): Initialize insets fields.
+ (createDefaultLocation): Removed unneeded method.
+ (getBottomInset): Return field directly.
+ (getTopInset): Return field directly.
+ (getLeftInset): Return field directly.
+ (getRightInset): Return field directly.
+ (getInsideAllocation): Adjusted to work on new insets fields.
+ (getViewIndex): Fixed check.
+ (loadChildren): Don't replace the old children.
+ (replace): Make sure that there is an array to operate on.
+ Only set parent to null, when it is this View.
+ (setInsets): Adjusted to work with new insets fields.
+ (setParagraphInsets): Fixed to pull insets directly from
+ StyleConstants.
+
+2006-08-25 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/ComponentView.java
+ (Interceptor): New inner helper class. Used to propagate
+ invalidate requests and cache component layout sizes.
+ (interceptor): New field.
+ (getAlignment): Fetch alignment from interceptor container.
+ (getComponent): Don't create component here. This is done
+ in setParent().
+ (getMaximumSpan): Fetch layout info from interceptor. Check
+ for illegal axis.
+ (getMinimumSpan): Fetch layout info from interceptor. Check
+ for illegal axis.
+ (getPreferredSpan): Fetch layout info from interceptor. Check
+ for illegal axis.
+ (modelToView): Fixed model to view mapping.
+ (viewToModel): Fixed view to model mapping.
+ (paint): Check for null. Set bounds on interceptor rather
+ then component.
+ (setParentImpl): Install interceptor between component
+ and hosting container.
+ (setParent): Call super.setParent() immediately.
+
+2006-08-25 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/LabelView.java
+ (setPropertiesFromAttributes): Only set background when
+ the corresponding attribute is actually defined, otherwise
+ set to null, as the StyleConstants would return black.
+ * javax/swing/text/DefaultStyledDocument.java
+ (ElementBuffer.documentEvent): Removed obsolete field.
+ (ElementBuffer.change): Do prepareEdits() and finishEdits()
+ to correctly update the element structure.
+ (ElementBuffer.insertContentTag): Removed unused statement.
+ (ElementBuffer.recreateAfterFracture): Removed
+ unused obsolete method.
+ (setCharacterAttributes): Removed unused statement.
+
+2006-08-25 Roman Kennke <kennke@aicas.com>
+
+ * examples/gnu/classpath/examples/swing/Demo.java
+ (LaterMain.run): Removed unused local variable.
+ (Demo): Don't put desktop in scrollpane.
+ (addChildren): Removed unused method.
+ (mkButtonBar): Added HTML demo.
+ (mkMenuBar): Added HTML demo.
+ (mkPanel): Removed unused method.
+ (mkScrollPane): Removed unused method.
+ (mkTree): Removed unused method.
+ (valign2str): Removed unused method.
+ * examples/gnu/classpath/examples/swing/HtmlDemo.java:
+ Initialize text field with some HTML that already works.
+ (DEBUG): New field. Set to true for debugging output.
+ (createContent): Dump element tree after parsing.
+
+2006-08-25 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/CSS.java
+ (getValue): Added color value conversion.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.ConvertAction): New class, converts HTML style tags
+ to CSS attributes.
+ (HTMLReader.initTags): Register ConvertAction for <font> tag.
+ * javax/swing/text/html/InlineView.java
+ (setPropertiesFromAttributes): Implemented to fetch
+ CSS character attributes.
+ * javax/swing/text/html/StyleSheet.java
+ (addCSSAttribute): Convert value.
+ (getBackground): Implemented to fetch CSS background color
+ attribute.
+ (getForeground): Implemented to fetch CSS color
+ attribute.
+ (getFont): Adjust font size for superscript and subscript.
+ (translateHTMLToCSS): Rudimentary implementation that
+ copies the original attributes, so that any CSS attributes in
+ there are preserved.
+ (stringToColor): Use CSSColor for conversion.
+ * gnu/javax/swing/text/html/css/CSSColor.java:
+ New class. Converts CSS color values to RGB color values.
+ * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
+ Removed. This is more or less replaced by CSSColor and the
+ ConvertAction in HTMLReader.
+
+2006-08-25 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (childReqs): Removed obsolete field.
+ (baselineLayout): Reimplemented for correct baseline layout.
+ (baselineRequirements): Reimplemented for correct baseline
+ layout.
+ (updateChildRequirements): Removed obsolete method.
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.getSpan): Removed unused statement.
+ (DefaultGlyphPainter.paint): Dont paint subscript/superscript
+ specially. The subscript/superscript layout is performed
+ via the alignment, the font is supplied by the StyleContext.
+ (breakView): Removed unused statements.
+ (getAlignment): Adjust alignment according to the
+ superscript/subscript setting.
+ (getFont): Reimplemented to fetch the font from the style
+ context, or from the document if the stylecontext is not
+ available.
+ (getPreferredSpan): Adjust span for superscript. Use switch
+ instead of if-else.
+ * javax/swing/text/LabelView.java
+ (setPropertiesFromAttributes): Fetch background and foreground
+ from document / style context.
+ (isSubscript): Resync properties if needed.
+ * javax/swing/text/ParagraphView.java
+ (Row.calculateMinorAxisRequirements): Overridden to perform
+ a baseline layout.
+ (Row.layoutMinorAxis): Overridden to perform a baseline layout.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/Utilities.java
+ (BUF_LENGTH): Removed unused field.
+ (drawTabbedText): Removed unneeded cast.
+ (getBreakLocation): Removed unneeded cast.
+ Fixed offset to account for Segments not starting at 0.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java
+ (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
+ (TabbedPaneScrollLayout.layoutContainer): Likewise.
+ (ScrollingPane.updateUI): Likewise.
+ (calculateTabWidth): Rewritten to correctly and efficiently
+ layout the tab width.
+ (layoutLabel): Call SwingUtilities method with the tabPane
+ as argument.
+ (paintContentBorderLeftEdge): Removed unused statement.
+ (paintContentBorderRightEdge): Removed unused statement.
+ (paintContentBorder): Removed unused statement.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (RootView.getAttributes): Overridden to return null,
+ as the RootView has no parent.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/CSSParser.java: Removed.
+ * javax/swing/text/html/CSS.java
+ (getValue): New helper method. Returns special converter
+ instances for certain kinds of property values.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.CharacterAction.start): Don't translate tags
+ here. Instead, store the attributes directly with the tag
+ as key.
+ (content): Removed field. The Content object is handled
+ by AbstractDocument.
+ (styleSheet): Removed field. The styleSheet is the styleContext
+ of this document and handled by the DefaultStyledDocument already.
+ (HTMLDocument(Content,StyleSheet): Simply call super here.
+ The super classes already handle the content and styleContext.
+ (HTMLDocument()): Call this() with a default GapContent and
+ StyleSheet.
+ (getStyleSheet): Return the styleContext here.
+ (insertUpdate): New method. Overridden to add the
+ CONTENT dummy tag to the element's attributes.
+ (setBase): Set the base on the styleContext.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (styleContext): Removed unneeded field.
+ (styleSheet): Made field private.
+ (HTMLEditorKit): Do nothing here. The StyleSheet is
+ created lazily in getStyleSheet(). A styleContext is not
+ needed here.
+ (getStyleSheet): Create StyleSheet correctly.
+ (insertHTML): Removed unneeded cast.
+ * javax/swing/text/html/InlineView.java
+ (attributes): New field.
+ (changedUpdate): Reload attributes. Trigger preferenceChanged.
+ (getAttributes): Implemented to fetch the attributes from
+ the stylesheet.
+ * javax/swing/text/html/MultiAttributeSet.java: New class.
+ Multiplexes between several AttributeSets.
+ * javax/swing/text/html/MultiStyle.java: New class.
+ Multiplexes between several Styles.
+ * javax/swing/text/html/ParagraphView.java
+ (attributes): New field.
+ (getAttributes): Implemented to fetch the attributes from
+ the stylesheet.
+ * javax/swing/text/html/StyleSheet.java
+ (CssParser): Removed inner class.
+ (CSSStyle): New inner class. Represents a style defined
+ by a CSS rule.
+ (CSSStyleSheetParserCallback): New class, for parsing
+ CSS stylesheets.
+ (css): New field. Stores the CSS rules.
+ (resolvedStyles): New field. Stores resolved styles.
+ (StyleSheet): Initialize resolvedStyles map.
+ (addRule): Removed bogus impl.
+ (getFont): Implemented to fetch font, based on CSS rules.
+ (getResolvedStyle): New helper method. Looks up resolved
+ styles, and resolves a style if necessary.
+ (resolveStyle): New pair of helper methods. Resolves
+ CSS style rules.
+ (getRule(String)): Provide rudimentary implementation.
+ (getRule(Tag,Element)): Implemented.
+ (getViewAttributes): Implemented.
+ (loadRules): Implemented.
+ (translateHTMLToCSS): Tagged as not implemented.
+ * javax/swing/text/html/ViewAttributeSet.java: New class.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/FlowView.java:
+ (LogicalView.getAttributes): New method. Overrides super
+ impl to return the attributes of the FlowView instance.
+ * javax/swing/text/LabelView.java:
+ (setPropertiesFromAttributes): Fetch attributes from
+ View, rather then from the Element. (In the HTML
+ package the getAttributes() method is overridden to
+ return different attributes). Fetch font from the StyledDocument.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/DefaultEditorKit.java:
+ (DefaultKeyTypedAction.actionPerform): Also filter
+ ALT and CTRL modifiers.
+
+2006-08-24 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/FontSize.java,
+ * gnu/javax/swing/text/html/css/FontStyle.java,
+ * gnu/javax/swing/text/html/css/FontWeight.java:
+ New classes. Used to convert CSS font attributes to AWT/Swing
+ Font constants.
+
+2006-08-24 Francis Kung <fkung@redhat.com>
+ * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
+ * java/awt/image/ColorConvertOp.java: Updated javadocs.
+ (srccs, dstcs, rasterValid): Variables removed.
+ (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
+ (copyRaster): Check for null rendering hints
+ (createCompatibleColorModel): New private method.
+ (createCompatibleDestImage): Re-implemented.
+ (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
+ (createCompatibleDestRaster(Raster)): Re-implemented.
+ (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
+ (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
+ (getPoint2D): Clean up formatting.
+ * java/awt/image/ComponentColorModel.java
+ (constructor): use findBits method instead of passing null.
+ (findBits): New method.
+
+2006-08-24 Gary Benson <gbenson@redhat.com>
+
+ * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
+ addresses.
+
+2006-08-24 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/lang/ref/Reference.java
+ (queue, nextOnQueue): Made volatile.
+ (enqueue): Made thread safe.
+ * java/lang/ref/ReferenceQueue.java
+ (lock): New field.
+ (poll): Removed synchronized.
+ (enqueue): Changed to synchronize on lock object, to update Reference
+ state and return success status.
+ (dequeue, remove): Synchronize on lock object.
+
+2006-08-24 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/security/SecureClassLoader.java
+ (protectionDomainCache): Changed to HashMap.
+ (SecureClassLoader): Removed redundant security check.
+ (defineClass(String,byte[],int,int,CodeSource): Moved
+ protection domain lookup/construction to new method.
+ (defineClass(String,ByteBuffer,CodeSource): New method.
+ (getProtectionDomain): New method.
+
+2006-08-23 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JComponent.java
+ (isRepainting): Made package private.
+ (paintChild): New field.
+ (findOpaqueParent): Removed method. This is now in
+ paintImmediately().
+ (findOverlapFreeParent): Removed method. This is now
+ in paintImmediately2().
+ (findPaintRoot): Removed method. This is now
+ in paintImmediately2().
+ (isCompletelyObscured): Changed to take rectangle as single
+ ints as argument.
+ (isPaintingDoubleBuffered): Removed method. This is now
+ in paintImmediately2().
+ (isPartiallyObscured): New helper method.
+ (onTop): New helper method for optimization.
+ (paintChildren): Paint only to specific child when
+ requested like this from paintImmediately2().
+ (paintDoubleBuffered): Changed to take rectangle as single int
+ arguments.
+ (paintImmediately2): Changed to take rectangle as single int
+ arguments. Optimized determination of paint root.
+ (paintImmediately(Rectangle)): Change to delegate to
+ paintImmediately(int,int,int,int).
+ (paintImmediately(int,int,int,int)): Look for opaque ancestor
+ and start painting there.
+ (paint): Call paintDoubleBuffered() with int arguments. Only
+ paint component, when not completely occupied by opaque child.
+ (processKeyBinding): Removed unnecessary cast.
+ (isOccupiedByChild): New helper method.
+ * javax/swing/RepaintManager.java
+ (repaintUnderway): Removed obsolete field.
+ (commitRequests): Removed obsolete field.
+ (RepaintManager): Removed initialization of obsolete fields.
+ (addDirtyRegion): Removed unused statement.
+ (commitBuffer): Changed to take plain ints as argument.
+ (compileRepaintRoots): Optimized to avoid use of Rectangle.
+ Compute offsets in place, rather than using SwingUtilities.
+ (paintDirtyRegions): Removed unused field.
+ * javax/swing/JMenuItem.java
+ (onTop): Return true when not descendant of JInternalFrame.
+ * javax/swing/JPopupMenu.java
+ (onTop): Return true.
+ * javax/swing/JToolTip.java
+ (onTop): Return true.
+ * javax/swing/JViewport.java
+ (paintImmediately2): Change signature to match the
+ corresponding JComponent method.
+
+2006-08-23 Tania Bento <tbento@redhat.com>
+
+ * java/awt/Color.java
+ (brighter): Modified algorithm to correctly determine the
+ new brighter colour.
+
+2006-08-23 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/Container.java
+ (maxSize): Removed field. This is already declared in Component.
+ (validateTree): Check for ContainerPeer. Don't addNotify here.
+ Only validate Component instances if they are invalid.
+
+2006-08-22 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JComponent.java
+ (preferredSize): Removed field.
+ (maximumSize): Removed field.
+ (minimumSize): Removed field.
+ (getMaximumSize): Adjusted to delegate to Component, rather
+ then managing the size in JComponent.
+ (getMinimumSize): Adjusted to delegate to Component, rather
+ then managing the size in JComponent.
+ (getPreferredSize): Adjusted to delegate to Component, rather
+ then managing the size in JComponent.
+ (isMaximumSizeSet): Removed.
+ (isMinimumSizeSet): Removed.
+ (isPreferredSizeSet): Removed.
+ (setMaximumSize): Removed.
+ (setMinimumSize): Removed
+ (setPreferredSize): Removed.
+
+2006-08-22 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/AbstractButton.java
+ (ButtonChangeListener.stateChanged): Delegate to combined
+ handler.
+ (EventHandler): New inner class. Handles all three types
+ of events on the model.
+ (eventHandler): New field. Stores the combined event
+ handler.
+ (AbstractButton): Moved listener initialization to
+ setModel().
+ (createActionListener): Return combined handler.
+ (createChangeListener): Return combined handler.
+ (createItemListener): Return combined handler.
+ (getEventHandler): New helper method for creating the combined
+ handler.
+ (setModel): Initialize listeners here.
+ * javax/swing/plaf/basic/BasicButtonListener.java
+ (ButtonAction): New class. Implements the keyboard action
+ for buttons.
+ (checkOpacity): Implemented.
+ (createDefaultActionMap): New helper method.
+ (installKeyboardActions): Rewritten to install InputMap
+ and ActionMap according to 'new' keyboard input method.
+ (mouseClicked): Commented as no-op.
+ (mouseDragged): Commented as no-op.
+ (mouseMoved): Commented as no-op.
+ (propertyChange): Check for contentAreaFilled change and
+ update opacity. Pull handling of HTLM in font and text handler.
+ (stateChanged): Repaint button.
+ (uninstallKeyboardActions): Properly uninstall keyboard actions.
+ * javax/swing/plaf/basic/BasicButtonUI.java
+ (listener): Removed.
+ (sharedListener): New static field. Stores the shared listener.
+ (sharedUI): New static field. Stores the shared UI.
+ (createButtonListener): Return shared instance here.
+ (createUI): Return shared instance here.
+ (getButtonListener): New helper method. Looks for the
+ BasicButtonListener installed on a button and returns it.
+ (installDefaults): Correctly install rollover property here.
+ Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
+ (installKeyboardActions): Fetch listener with new helper method.
+ (installListeners): Don't use removed field. Check for null.
+ (installUI): Added comment about order of method invocations.
+ (uninstallDefaults): Don't uninstall non-uninstallable properties.
+ (uninstallKeyboardActions): Fetch listener with new helper method.
+ (uninstallListeners): Fetch listener with new helper method.
+ (paintIcon): Paint icon offset when pressed and armed.
+ * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
+ * javax/swing/plaf/metal/MetalButtonUI.java
+ (sharedUI): New field. Stores the shared UI.
+ (MetalButtonUI): Don't initialize fields here.
+ (createButtonListener): Removed method. Use super impl.
+ (createUI): Return shared instance.
+ (getDisabledTextColor): Update field here.
+ (getFocusColor): Update field here.
+ (getSelectColor): Update field here.
+ (installDefaults): Don't handle rollover property here.
+ (uninstallDefaults): Don't handle rollover property here.
+ (paintButtonPressed): Use accessor method to update the
+ field value.
+
+2006-08-21 Mark Wielaard <mark@klomp.org>
+
+ Merge NATIVE_LAYER branch.
+
+ 2006-08-20 Mark Wielaard <mark@klomp.org>
+
+ * doc/tools.texinfo: Add file from trunk.
+ * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
+ * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
+ headers.
+ * native/jni/java-lang/java_lang_VMProcess.c
+ (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
+ * native/jni/java-net/java_net_VMInetAddress.c
+ (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
+ * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
+ files.
+ * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
+ mask.
+ * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
+ theaddr.
+ * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
+ cpnet.h.
+ * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
+ don't implement.
+ * vm/reference/java/lang/VMProcess.java: Removed unused redirect
+ argument.
+ * include/java_lang_VMProcess.h: Regenerated.
+
+ 2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
+ (nativeReceive): Fixed the type of the arrays (use java types).
+ (nativeSendTo): Force throwing an exception if port is 0.
+
+ * native/jni/java-net/javanet.c:
+ (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
+ returned.
+ (_javanet_recvfrom): Likewise.
+ (_javanet_sendto): Throw a NullPointerException if the socket is
+ not connected and no address is given.
+
+ * native/jni/java-net/javanet.h
+ (NULL_EXCEPTION): Defined.
+
+ 2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-net/java_net_VMInetAddress.c
+ (Java_java_net_VMInetAddress_getHostByName): Fix detection of
+ error.
+
+ * native/jni/java-net/javanet.c
+ (_javanet_accept): Fixed bogus call to TARGET.
+ (_javanet_create_inetaddress): Fixed address generation. Fixed
+ bogus memory free.
+ (_javanet_bind): set "Reuse address" flag.
+
+ * native/jni/native-lib/cpio.c
+ (cpio_getModificationTime): Fixed type.
+ (cpio_removeFile): Use rmdir too.
+
+ * native/jni/native-lib/cpnet.c
+ (cpnet_getHostByName): Fixed error detection.
+
+ * native/jni/native-lib/cpnet.h
+ (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
+ memory.
+ (cpnet_IPV4AddressToBytes): Fixed types.
+
+ 2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/native-lib/cpio.c
+ (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
+
+ * native/jni/native-lib/cpnet.h:
+ (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
+ messed by signs in jbyte.
+
+ * native/jni/native-lib/cpproc.h
+ (CPIO_EXEC_NUM_PIPES): Compilation fix.
+
+ 2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/native-lib/cpnet.c
+ (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
+ (waitForWritable, waitForReadable): New functions.
+ (socketTimeouts): New static global table to hold timeouts for all
+ socket fds.
+ (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
+ Added waitForXXXX safeguards to handle socket timeouts.
+
+ * native/jni/java-net/javanet.c
+ (_javanet_accept): Check for the right error value when a timeout
+ occurs.
+
+ 2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-io/Makefile.am,
+ native/jni/java-lang/Makefile.am,
+ native/jni/java-net/Makefile.am,
+ native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
+
+ * native/jni/native-lib/Makefile.am: Added cpproc.c
+
+ * native/jni/native-lib/cpio.c: Implemented missing functions for
+ CPIO.
+
+ * native/jni/native-lib/cpnet.c
+ (cpnet_getHostByName): Fixed address array initialization.
+
+ * native/jni/native-lib/cpproc.c: Implemented.
+
+ 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
+
+ * m4/gcc_attribute.m4: New file from ac_archive.
+
+ * native/jni/java-net/javanet.c: Adapted to cpnet API
+ modification.
+
+ * native/jni/native-lib/cpnet.c: Implemented.
+
+ * native/jni/native-lib/cpnet.h
+ (cpnet_openSocketDatagram,
+ cpnet_openSocketStream): These calls need an address family now.
+ (cpnet_IPV4AddressToBytes,
+ cpnet_bytesToIPV4Address): Convert the address to network order.
+
+ 2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-io/java_io_VMFile.c,
+ native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
+ native/jni/midi-dssi/dssi_data.h,
+ native/jni/native-lib/cpio.c,
+ native/jni/native-lib/cpmath.h: Removed cpmath
+ dependency. Fixed coding style.
+
+ 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
+ dependency. Simplified the JNI code by moving some part into the
+ native layer.
+
+ * native/jni/native-lib/cpproc.h: New interface to handle processes.
+
+ 2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
+ errors. Removed any remaining TARGET invocations.
+
+ * native/jni/java-net/javanet.c
+ (_javanet_create_inetaddress): Removed spurious arr and
+ octets. Fixed compilation errors.
+
+ * native/jni/native-lib/cpnet.h
+ (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
+ cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
+ cpnet_isIPV4Address): New functions.
+ (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
+ the rest.
+
+ 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/jni/java-io/java_io_VMFile.c,
+ native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
+ native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
+ native/jni/java-net/javanet.c,
+ native/jni/java-net/javanet.h: Adapted the VM layer code
+ to the new native layer.
+
+ * native/jni/native-lib/cpnet.h
+ (cpnet_addMembership,
+ cpnet_dropMembership,
+ cpnet_getAvailableBytes): Added the declarations of
+ some new functions.
+ (cpnet_newIPV6Address,
+ cpnet_IPV6AddressToBytes,
+ cpnet_bytesToIPV6Address): Implemented.
+ (cpnet_newIPV4Address): Initialize the sin_family field.
+
+ 2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
+
+ * native/target: Removed.
+
+ * configure.ac: Removed target from CLASSPATH_INCLUDES and
+ Makefile generation.
+
+ * native/jni/native-lib/Makefile.am,
+ native/jni/native-lib/cpnet.h,
+ native/jni/native-lib/cpnet.c
+ native/jni/native-lib/cpio.h,
+ native/jni/native-lib/cpio.c,
+ native/jni/native-lib/cpmath.h: Imported new native compatibility
+ layer.
+
+2006-08-21 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSParser.java:
+ New class.
+ * gnu/javax/swing/text/html/css/CSSParserCallback.java:
+ New interface.
+ * gnu/javax/swing/text/html/css/CSSParserException.java:
+ New exception.
+ * gnu/javax/swing/text/html/css/CSSScanner.java:
+ Adjusted API comments. Made all constants package private.
+ (EOF): New constant field.
+ (parseBuffer): Made package private.
+ (tokenEnd): Made package private.
+ (CSSScanner): Initialize lookahead buffer with -1.
+ (main): Print out to System.out rather then System.err.
+ (nextToken): Push back character after IDENT.
+
+2006-08-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
+
+2006-08-21 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSScanner.java
+ (main): Use buffered input stream.
+ (nextToken): Removed 65536 workaround. Use int value directly
+ without cast to char.
+ (readComment): Use int value directly without cast to char.
+ Cast to char only when putting the character into the buffer.
+ (readEscape): Likewise.
+ (readIdent): Likewise.
+ (readName): Likewise.
+ (readNum): Likewise.
+ (readString): Likewise.
+ (readWhitespace): Likewise.
+
+2006-08-21 Ingo Proetel <proetel@aicas.com>
+
+ * java/io/InputStreamReader.java
+ (bytesCache): New field.
+ (cacheLock): New field.
+ (read(byte[],int,int): Avoid allocations of new byte
+ array on every call and reuse cached byte array if possible.
+
+2006-08-21 Roman Kennke <kennke@aicas.com>
+
+ * gnu/java/net/local/LocalSocketImpl.java
+ Only load native lib if this is supported by runtime.
+ * native/jni/java-net/local.c
+ Include config.h unconditionally.
+ * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
+ Include config.h unconditionally.
+
+2006-08-21 Friedjof Siebert <siebert@aicas.com>
+
+ * java/io/ObjectInputStream.java
+ (objectLookupTable): Changed to be a Vector.
+ (ObjectInputStream): Initialize objectLookupTable as Vector.
+ (assignNewHandle): Store Object using handle index rather than
+ Hashtable, using the new rememberHandle() method.
+ (hierarchy): New method. This replaces inputGetObjectStreamClasses()
+ with a caching in ObjectStreamClass.
+ (inputGetObjectStreamClass): Replaced by hierarchy().
+ (lookupHandle): New method. Looks up an object by it's handle
+ index.
+ (parseContent): Avoid creating of Integer objects. Use
+ hierarchy() method for looking up the class hierarchy.
+ (processResolution): Use rememberHandle() to store
+ handle per index, rather than Hashtabling the object.
+ (readFields):
+ (rememberHandle): New method.
+ * java/io/ObjectOutputStream.java
+ (OIDLookupTable): Use ObjectIdentityMap2Int instead of
+ Hashtable for improved lookup performance.
+ (ObjectOutputStream): Initialize OIDLookupTable as
+ ObjectIdentityMap2Int.
+ (assignNewHandle): Change to use ObjectIdentityMap2Int.
+ (findHandle): Change to use ObjectIdentityMap2Int.
+ (getBooleanField): Removed.
+ (getByteField): Removed.
+ (getCharField): Removed.
+ (getDoubleField): Removed.
+ (getField): Removed.
+ (getFloatField): Removed.
+ (getIntField): Removed.
+ (getLongField): Removed.
+ (getObjectField): Removed.
+ (writeFields(Object,ObjectStreamClass)): Use new helper method.
+ (writeFields(Object,ObjectStreamField)): New helper method.
+ Use switch rather then if-else cascade.
+ (writeObject): Use int handle, rather then Integer.
+ * java/io/ObjectStreamClass.java
+ (hierarchy): New field. Caches the class hierarchy.
+ (methodCache): New field. Caches methods.
+ (readObjectSignature): New field. Stores the read signature.
+ (uidCache): New field. Caches UIDs.
+ (writeObjectSignature): New field. Stores the write signature.
+ (cacheMethods): Cache methods in methodCache.
+ (calculateClassID): Outsourced from getClassUID()
+ for computing the UIDs.
+ (getClassUIDFromField): Outsourced from getClassUID() for
+ fetching the UID from the class field.
+ (getClassUID): Use cached uid if possible. Use new helper
+ methods for fetching the UID from the field or computing
+ from scratch.
+ (getObjectStreamClasses): Removed. Replaced by more
+ efficient hierarchy() method, that also caches the result.
+ (hierarchy): Replaces getObjectStreamClasses() for caching
+ the result.
+ (loadedByBootOrApplicationClassLoader): New helper method.
+ (setClass): Invalidate hierarchy cache.
+ (setSuperclass): Invalidate hierarchy cache.
+ * java/io/ObjectStreamField.java
+ (field): Made field package private for access from other
+ classes.
+ * gnu/java/io/ObjectIdentityWrapper.java: Removed.
+ * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
+ hashtable for mapping objects to ints.
+
+2006-08-21 Roman Kennke <kennke@aicas.com>
+
+ * java/io/File.java
+ (getAbsolutePath): Fetch absolute path from
+ VMFile.getAbsolutePath(). Moved actual impl to there.
+ (isAbsolute): Let VMFile determine the absoluteness.
+ (toURL): Let VMFile convert the filename.
+ * vm/reference/java/io/VMFile.java
+ (getAbsolutePath): New method.
+ (isAbsolute): New method.
+ (toURL): New method.
+
+2006-08-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * NEWS: Added note about updated VM interface.
+
+2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/management/ManagementFactory.java:
+ Updated documentation.
+
+2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
+
+ Fixes bug #28412
+ * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
+ New methods.
+ * gnu/java/util/regex/CharIndexedCharSequence.java,
+ gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
+ new methods above.
+ * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
+ (match): call the new method setHitEnd of the input,
+ (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
+ Some optimization commented out, Use CharIndexed#move1 instead of move.
+ * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
+ * gnu/java/util/regex/REToken.java(match): The method body has been
+ moved to an internal private method, (matchFake): New method,
+ (setHitEnd): New method.
+ * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
+ if the match is not complete, (matchOneString): Count the number of
+ characters which matched the pattern.
+ * gnu/java/util/regex/RETokenEnd.java(fake): New field,
+ (setFake): New method, (match): Call super.match or super.matchFake.
+ * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
+ * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
+ setHitEnd of the input,
+ * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
+ * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
+ RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
+
+2006-08-18 Tom Tromey <tromey@redhat.com>
+
+ * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
+ the 'int', not the cast char.
+
+2006-08-18 Roger Sayle <roger@eyesopen.com>
+
+ * scripts/check_jni_methods.sh: Don't use the "set -C" command
+ which isn't available in all shells.
+
+2006-08-18 Roger Sayle <roger@eyesopen.com>
+
+ * lib/Makefile.am (resources): Fix some shell portability issues.
+
+2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * configure.ac (tool-wrappers): Check for ltdl support when tool
+ wrapper binaries are enabled.
+ * tools/Makefile.am (LIBJVM): Remove variable.
+ (AM_CPPFLAGS): Add LIBJVM define.
+ (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
+ gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
+ gjavah_LDFLAGS): Remove variables.
+ * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
+
+2006-08-18 Tom Tromey <tromey@redhat.com>
+
+ * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
+ debugging prints.
+ * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
+ print.
+ (readEntries): Likewise.
+
+2006-08-17 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java
+ (layoutLabel): Reset the text and icon rectangles.
+
+2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR classpath/28537
+ * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
+ Transform gappletviewer name using program_transform_name.
+
+2006-08-17 Jeroen Frijters <jeroen@frijters.net>
+
+ * javax/swing/filechooser/FileSystemView.java
+ (getFileSystemView): Always return UnixFileSystemView, since
+ that's the only one we got. Marked with NotImplementedException.
+ * javax/swing/plaf/basic/BasicFileChooserUI.java
+ (mouseClicked, installUI): Don't parse path by hand.
+
+2006-08-17 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JComponent.java
+ (scrollRectToVisible): Handle intermediate non-JComponents
+ more gracefully.
+
+2006-08-17 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/RepaintManager.java
+ (blitBuffer): Removed. This is now done in commitBuffer().
+ (commitBuffer): Always paint on the root window or applet.
+ No need to look for intermediate heavyweights. Optimized
+ rectangle translation.
+ (commitRemainingBuffers): Removed. Not needed anymore.
+ (getHeavyweightParent): Removed. Not needed anymore.
+ (getOffscreenBuffer): Fetch offscreen image from the
+ actual root component.
+ (paintDirtyRegions): Don't call commitRemainingBuffers().
+
+2006-08-17 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/SwingUtilities.java
+ (clipString): New helper method for trimming strings.
+ (layoutCompoundLabelImpl): Fixed algorithm to conform
+ testsuites. Trim text if it's too long. Avoid creating
+ new Rectangles. Optimized for performance.
+ (layoutCompoundLabel): Use switch rather then if-else-chain.
+ * javax/swing/plaf/basic/BasicButtonUI.java
+ (viewR): New field.
+ (iconR): New field.
+ (textR): New field.
+ (paint): Reset and use cached rectangles. Only call paintIcon()
+ if icon is not null. Don't call paintButtonPressed() when
+ button is selected, only when it is both armed and pressed.
+ * javax/swing/plaf/basic/BasicGraphicsUtils.java
+ (getPreferredButtonSize): Reused cached rectangles rather
+ then creating new ones. Don't create new Rectangle via
+ Rectangle.union().
+ * javax/swing/plaf/basic/BasicLabelUI.java
+ (getPreferredSize): Correctly reset cached rectangles. Especially
+ the view rect must have a big size to give it room for layouting.
+ Short cut layout when text == null.
+ (paint): Correctly reset cached rectangles.
+ * javax/swing/plaf/basic/BasicMenuItemUI.java
+ (resetRectangles): New helper method.
+ (getPreferredMenuItemSize): Correctly reset the cached rectangles.
+ (paintMenuItem): Correctly reset the cached rectangles.
+ * javax/swing/plaf/basic/BasicRadioButtonUI.java
+ (getPreferredSize): Use cached Rectangle objects and initialize
+ them correctly.
+ (paint): Use cached Rectangle objects and initialize
+ them correctly.
+
+2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/util/Calendar.java: API doc additions.
+
+2006-08-17 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/DefaultButtonModel.java:
+ (setRollover): Simplified statement.
+
+2006-08-17 Jeroen Frijters <jeroen@frijters.net>
+
+ * gnu/java/rmi/server/RMIClassLoaderImpl.java
+ (loadClass): Rewritten to use getClassLoader.
+ (loadProxyClass): Implemented.
+ (getClassLoader): Fixed support for null or empty codebase.
+ * gnu/java/rmi/server/RMIObjectInputStream.java
+ (resolveClass): Use user class loader as default class loader.
+ (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
+ * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
+ (loadClass): Simplified and use user class loader instead of
+ context class loader as default.
+ * java/io/ObjectInputStream.java
+ (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
+ * vm/reference/gnu/classpath/VMStackWalker.java
+ (firstNonNullClassLoader): New method.
+ * vm/reference/java/io/VMObjectInputStream.java
+ (loaderAction, currentClassLoader): Removed.
+
+2006-08-17 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
+ (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
+ by current scroll offset, added method documention.
+ (getTabBounds(int, Rectangle)): Added method documentation.
+ * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
+ (paintContentBorderLeftEdge): Changed y to 1.
+
+2006-08-17 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
+ (MouseHandler.mouseReleased): Implemented.
+ (MouseHandler.mousePressed): Added delegation to tabbed pane.
+ (MouseHandler.mouseEntered): Dito.
+ (MouseHandler.mouseExited): Dito.
+ (MouseHandler.mouseMoved): Dito.
+ (MouseHandler.redispatchEvent): New method.
+ (PropertyChangeHandler.propertyChange): Added extra block level,
+ added code to handle tab placement changes, added comment.
+ (updateViewPosition): Set unneeded coordinate to 0, added comment.
+
+2006-08-16 Roman Kennke <kennke@aicas.com>
+
+ * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
+ * gnu/javax/swing/text/html/css/CSSLexicalException.java:
+ New file.
+
+2006-08-16 Mark Wielaard <mark@klomp.org>
+
+ * java/awt/Component.java (orientation): Renamed to
+ componentOrientation.
+ (setComponentOrientation): Use new field name.
+ (getComponentOrientation): Likewise.
+
+2006-08-16 Roman Kennke <kennke@aicas.com>
+
+ PR 28750
+ * javax/swing/plaf/basic/BasicTreeUI.java
+ (CellEditorHandler.editingCancelled): Call completeEditing
+ directly.
+ (CellEditorHandler.editingStopped): Call completeEditing
+ directly.
+ (NodeDimensionHandler.getNodeDimensions): Rewritten
+ to use the preferred sizes of the renderer and editor.
+ (TreeExpansionHandler.treeCollapsed): Complete editing
+ here.
+ (TreeSelectionHandler.valueChanged): Complete editing
+ here.
+ (cancelEditing): Call completeEditing with false, false and
+ false. Don't call finish (removed method).
+ (completeEditing(boolean,boolean,boolean): Only do something when
+ stopEditingInCompleteEditing is true. Nullify editingComponent
+ and editingPath. Remove editingComponent from tree. Update
+ the layout when necessary and repaint.
+ (completeEditing): Stop editing when necessary.
+ (editorRequestFocus): New helper method. Request focus
+ on the actual editor.
+ (finish) Removed. This is now done in completeEditing().
+ (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
+ (setLargeModel): Complete editing here.
+ (setRootVisible): Complete editing here.
+ (setRowHeight): Complete editing here.
+ (setSelectionModel): Complete editing here.
+ (startEditing): Correctly initialize and start editing.
+ (updateExpandedDescendants): Complete editing here.
+ * javax/swing/tree/DefaultTreeCellEditor.java
+ (DefaultTextField): Fetch size from super and use renderer's height
+ if appropriate.
+ (EditorContainer.EditorContainer): Set layout to null, just
+ to make sure.
+ (EditorContainer.doLayout): Layout so that the editor
+ is offset to the right of the icon.
+ (EditorContainer.getPreferredSize): Implemented to
+ provide a reasonable preferred size.
+ (EditorContainer.paint): Position icon in the middle.
+ Also paint border if appropriate.
+ (EditorContainer.setBounds): Removed.
+ (RealEditorListener): Removed.
+ (DefaultTreeCellEditor): Set correct border.
+ (cancelCellEditing): Message real editor. Call finish().
+ (createCellEditor): Don't add listener.
+ (determineOffset): Correctly determine offset, and update
+ the icon.
+ (finish): New helper method.
+ (getTreeCellEditorComponent): Set correct font. Call
+ prepareForEditing() and determineOffset() to correctly initialize
+ the state.
+ (stopCellEditing): Messsage realEditor to stop editing. Call
+ finish to clean up.
+ (stopEditingTimer): Removed.
+ (valueChanged): Correctly reset lastPath.
+ * javax/swing/tree/DefaultTreeCellRenderer.java
+ (getPreferredSize): Return super plus some extra space for
+ better readability.
+
+2006-08-16 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/metal/MetalTreeUI.java
+ (LineStyleListener): New property listener, that updates
+ the line style setting if the corresponding property
+ changes.
+ (lineStyleListener): New field.
+ (lineStyle): New field.
+ (LINE_STYLE_ANGLED): New constant field.
+ (LINE_STYLE_HORIZONTAL): New constant field.
+ (LINE_STYLE_NONE): New constant field.
+ (LINE_STYLE_VALUE_ANGLED): New constant field.
+ (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
+ (LINE_STYLE_VALUE_NONE): New constant field.
+ (LINE_STYLE_PROPERTY): New constant field.
+ (decodeLineStyle): Implemented.
+ (installUI): Install line style listener. Set initial
+ lineStyle.
+ (uninstallUI): Uninstall line style listener.
+ (paintHorizontalPartOfLeg): Only call super for angled
+ lineStyle.
+ (paintVerticalPartOfLeg): Only call super for angled
+ lineStyle.
+ (paintHorizontalSeparators): Implemented.
+ (paint): If lineStyle==HORIZONTAL, call
+ paintHorizontalSeparators().
+ * examples/gnu/classpath/examples/swing/TreeDemo.java
+ (createContent): Add panel for selecting line styles.
+
+2006-08-16 Robert Schuster <robertschuster@fsfe.org>
+
+ * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
+ (createContent): Rewritten.
+ (createPlacementChangingMenuItem): New method.
+ (createLayoutPolicyChangingMenuItem): New method.
+ (createTabbedPane): New method.
+ (createTabContent): New method.
+
+2006-08-16 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
+ (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
+ disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
+
+2006-08-16 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/text/WrappedPlainView.java:
+ (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
+ (calculateBreakPosition): Add p0 to return value.
+
+2006-08-15 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTreeUI.java
+ (MouseHandler.selectedOnPress): New field.
+ (MouseHandler.handleEvent): New helper method for handling
+ selection and start/stop editing for mouse events.
+ (MouseHandler.mouseDragged): Commented as no-op method.
+ (MouseHandler.mouseMoved): Commented as no-op method.
+ (MouseHandler.mousePressed): Use handleEvent() to handle
+ selection and editing handling.
+ (MouseHandler.mouseReleased): Use handleEvent() to handle
+ selection and editing handling.
+ (MouseInputHandler.MouseInputHandler): Register itself
+ as mouse listener on source. Redispatch event to
+ destination.
+ (MouseInputHandler.dispatch): New helper method.
+ (MouseInputHandler.mouseClicked): Dispatch event.
+ (MouseInputHandler.mouseDragged): Dispatch event.
+ (MouseInputHandler.mouseEntered): Stop dispatching
+ if dragging stopped.
+ (MouseInputHandler.mouseExited): Stop dispatching
+ if dragging stopped.
+ (MouseInputHandler.mouseMoved): Stop dispatching.
+ (MouseInputHandler.mousePressed): Marked as no-op.
+ (MouseInputHandler.mouseReleased): Dispatch and stop
+ dispatching afterwards.
+ (MouseInputHandler.removeFromSource): Implemented.
+ (PropertyChangeHandler.propertyChange): Also handle
+ editable property changes by calling setEditable().
+ (SelectionModelPropertyChangeHandler.propertyChange):
+ Reset row selection.
+ (startEditTimer): Removed.
+ (setCellEditor): Call updateEditor().
+ (setEditable): Call updateEditor().
+ (startEditingAtPath): Make path fully visible before starting
+ editing.
+ (startEditing): Maybe cancel previous edit session. Add
+ editing component itself, not its parent container.
+ Register MouseInputHandler for correctly redispatching
+ initial events.
+ (stopEditing): Message cellEditor and only completeEditing()
+ when approved by cell editor.
+ (updateCellEditor): Complete editing before updating
+ the cell editor. Get cell editor from JTree if possible,
+ otherwise create default editor. Update the listeners
+ on the editor.
+ * javax/swing/tree/DefaultTreeCellEditor.java
+ (CLICK_COUNT_TO_START): Removed.
+ (DefaultTreeCellEditor): Install correct border. Let setTree()
+ update the listeners. Don't initialize lastPath and font yet.
+ (actionPerformed): Implemented to start editing.
+ (createTreeCellEditor): Set click count to start to 1, rather than
+ 3.
+ (isCellEditable): Prepare editor here. Determine if we can
+ start immediately, or if we trigger a timer to do so.
+ (prepareForEditing): Don't removeAll() (not necessary),
+ check editingComponent to be non-null.
+ (setTree): Update listeners.
+ (shouldStartEditingTimer): Check for left mouse button.
+ (startEditingTimer): Lazily create timer.
+
+2006-08-15 Lillian Angel <langel@redhat.com>
+
+ * java/awt/dnd/DropTargetDragEvent.java
+ (getTransferable): Implemented.
+
+2006-08-15 Roman Kennke <kennke@aicas.com>
+
+ * java/util/Vector.java
+ (removeAll): Added comment about NPE.
+ (retainAll): Added comment about NPE.
+
+2006-08-15 Roman Kennke <kennke@aicas.com>
+
+ * java/util/zip/ZipFile.java
+ (UTF8DECODER): Removed.
+ (UTF8CHARSET): New constant field. Stores the UTF8 charset.
+ (utf8Decoder): New instance field.
+ (decodeChars): Lazily create UTF8 decoder. Use instance
+ field rather than a static field to avoid corruption.
+
+2006-08-15 Roman Kennke <kennke@aicas.com>
+
+ * java/io/PrintStream.java
+ (line_separator): Provide default for system property.
+ * java/io/FileDescriptor.java
+ (valid): Create local copy of channel field for better
+ threading safetly.
+
+2006-08-15 Ingo Proetel <proetel@aicas.com>
+
+ * java/util/zip/ZipFile.java
+ (PartialInputStream.UTF8DECODER): New constant field, used
+ for decoding UTF8 strings.
+ (readLeShort): Access buffer directly if it has enough bytes
+ available.
+ (readLeInt): Access buffer directly if it has enough bytes
+ available.
+ (decodeChars): New helper method for decoding UTF8 strings.
+ (readString): Avoid NIO charset decoder if possible.
+
+2006-08-15 Roman Kennke <kennke@aicas.com>
+
+ * java/util/Vector.java
+ (removeAll): Don't explicitly null-check here. The RI allows
+ null arguments when Vector is empty. In other cases we
+ implicitly throw an NPE.
+ (retainAll): Don't explicitly null-check here. The RI allows
+ null arguments when Vector is empty. In other cases we
+ implicitly throw an NPE.
+
+2006-08-14 Casey Marshall <csm@gnu.org>
+
+ Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
+ of changes made on this branch.
+ Files modified:
+ * gnu/classpath/debug/Component.java
+ * gnu/classpath/debug/SystemLogger.java
+ * gnu/java/security/action/GetPropertyAction.java
+ * gnu/java/security/action/GetSecurityPropertyAction.java
+ * gnu/javax/crypto/RSACipherImpl.java
+ * gnu/javax/net/ssl/PrivateCredentials.java
+ * gnu/javax/net/ssl/provider/Alert.java
+ * gnu/javax/net/ssl/provider/AlertException.java
+ * gnu/javax/net/ssl/provider/Certificate.java
+ * gnu/javax/net/ssl/provider/CertificateRequest.java
+ * gnu/javax/net/ssl/provider/CertificateType.java
+ * gnu/javax/net/ssl/provider/CertificateVerify.java
+ * gnu/javax/net/ssl/provider/CipherSuite.java
+ * gnu/javax/net/ssl/provider/ClientHello.java
+ * gnu/javax/net/ssl/provider/ClientKeyExchange.java
+ * gnu/javax/net/ssl/provider/CompressionMethod.java
+ * gnu/javax/net/ssl/provider/Constructed.java
+ * gnu/javax/net/ssl/provider/ContentType.java
+ * gnu/javax/net/ssl/provider/DiffieHellman.java
+ * gnu/javax/net/ssl/provider/Extension.java
+ * gnu/javax/net/ssl/provider/Finished.java
+ * gnu/javax/net/ssl/provider/Handshake.java
+ * gnu/javax/net/ssl/provider/Jessie.java
+ * gnu/javax/net/ssl/provider/ProtocolVersion.java
+ * gnu/javax/net/ssl/provider/Random.java
+ * gnu/javax/net/ssl/provider/ServerHello.java
+ * gnu/javax/net/ssl/provider/ServerKeyExchange.java
+ * gnu/javax/net/ssl/provider/Signature.java
+ * gnu/javax/net/ssl/provider/Util.java
+ * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
+ * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
+ * java/security/MessageDigest.java
+ * java/security/MessageDigestSpi.java
+ * java/security/Signature.java
+ * java/security/SignatureSpi.java
+ * javax/crypto/Mac.java
+ * javax/crypto/MacSpi.java
+ * javax/net/ssl/HandshakeCompletedEvent.java
+ * javax/net/ssl/HttpsURLConnection.java
+ * javax/net/ssl/SSLContext.java
+ * javax/net/ssl/SSLContextSpi.java
+ * javax/net/ssl/SSLSession.java
+ Files added:
+ * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
+ * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
+ * gnu/javax/net/ssl/provider/SimpleSessionContext.java
+ * gnu/javax/net/ssl/provider/ServerRSAParams.java
+ * gnu/javax/net/ssl/provider/SSLContextImpl.java
+ * gnu/javax/net/ssl/provider/ServerDHParams.java
+ * gnu/javax/net/ssl/provider/ClientHelloBuilder.java
+ * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
+ * gnu/javax/net/ssl/provider/SignatureAlgorithm.java
+ * gnu/javax/net/ssl/provider/CipherSuiteList.java
+ * gnu/javax/net/ssl/provider/ServerNameList.java
+ * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
+ * gnu/javax/net/ssl/provider/CompressionMethodList.java
+ * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
+ * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
+ * gnu/javax/net/ssl/provider/TrustedAuthorities.java
+ * gnu/javax/net/ssl/provider/CertificateStatusRequest.java
+ * gnu/javax/net/ssl/provider/ServerHelloDone.java
+ * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
+ * gnu/javax/net/ssl/provider/SSLSocketImpl.java
+ * gnu/javax/net/ssl/provider/ServerHelloBuilder.java
+ * gnu/javax/net/ssl/provider/Record.java
+ * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
+ * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
+ * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
+ * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
+ * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
+ * gnu/javax/net/ssl/provider/CertificateBuilder.java
+ * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
+ * gnu/javax/net/ssl/provider/CertificateStatusType.java
+ * gnu/javax/net/ssl/provider/ExtensionList.java
+ * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
+ * gnu/javax/net/ssl/provider/ClientPSKParameters.java
+ * gnu/javax/net/ssl/provider/X500PrincipalList.java
+ * gnu/javax/net/ssl/provider/ServerHandshake.java
+ * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
+ * gnu/javax/net/ssl/provider/SessionImpl.java
+ * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
+ * gnu/javax/net/ssl/provider/ServerPSKParameters.java
+ * gnu/javax/net/ssl/provider/TruncatedHMAC.java
+ * gnu/javax/net/ssl/provider/MaxFragmentLength.java
+ * gnu/javax/net/ssl/provider/HelloRequest.java
+ * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
+ * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
+ * gnu/javax/net/ssl/provider/CipherAlgorithm.java
+ * gnu/javax/net/ssl/provider/ClientHandshake.java
+ * gnu/javax/net/ssl/provider/ExchangeKeys.java
+ * gnu/javax/net/ssl/provider/CertificateURL.java
+ * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
+ * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
+ * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
+ * gnu/javax/net/ssl/provider/Builder.java
+ * gnu/javax/net/ssl/provider/Debug.java
+ * gnu/javax/net/ssl/provider/SSLEngineImpl.java
+ * gnu/javax/net/ssl/provider/MacAlgorithm.java
+ * gnu/javax/net/ssl/provider/DelegatedTask.java
+ * gnu/javax/net/ssl/provider/InputSecurityParameters.java
+ * gnu/javax/net/ssl/provider/ClientHelloV2.java
+ * gnu/javax/net/ssl/provider/OutputSecurityParameters.java
+ * gnu/javax/net/ssl/provider/AbstractHandshake.java
+ * javax/net/ssl/SSLEngine.java
+ * javax/net/ssl/CertPathTrustManagerParameters.java
+ * javax/net/ssl/KeyStoreBuilderParameters.java
+ * javax/net/ssl/X509ExtendedKeyManager.java
+ * javax/net/ssl/SSLEngineResult.java
+ * gnu/javax/net/ssl/PreSharedKeyManager.java
+ * gnu/javax/net/ssl/Session.java
+ * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
+ * gnu/javax/net/ssl/SSLCipherSuite.java
+ * gnu/javax/net/ssl/AbstractSessionContext.java
+ * gnu/javax/net/ssl/SessionStoreException.java
+ * gnu/javax/net/ssl/SSLRecordHandler.java
+ * gnu/javax/net/ssl/SSLProtocolVersion.java
+ * gnu/javax/crypto/key/GnuPBEKey.java
+ * gnu/java/security/util/ByteBufferOutputStream.java
+ * gnu/java/security/Requires.java
+ * gnu/javax/security/auth/callback/CertificateCallback.java
+ Files removed:
+ * gnu/javax/net/ssl/provider/Context.java
+ * gnu/javax/net/ssl/provider/DigestInputStream.java
+ * gnu/javax/net/ssl/provider/DigestOutputStream.java
+ * gnu/javax/net/ssl/provider/Enumerated.java
+ * gnu/javax/net/ssl/provider/Extensions.java
+ * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
+ * gnu/javax/net/ssl/provider/JCESecurityParameters.java
+ * gnu/javax/net/ssl/provider/JDBCSessionContext.java
+ * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
+ * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
+ * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
+ * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
+ * gnu/javax/net/ssl/provider/KeyPool.java
+ * gnu/javax/net/ssl/provider/OverflowException.java
+ * gnu/javax/net/ssl/provider/RecordInput.java
+ * gnu/javax/net/ssl/provider/RecordInputStream.java
+ * gnu/javax/net/ssl/provider/RecordOutputStream.java
+ * gnu/javax/net/ssl/provider/RecordingInputStream.java
+ * gnu/javax/net/ssl/provider/SSLRSASignature.java
+ * gnu/javax/net/ssl/provider/SSLServerSocket.java
+ * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
+ * gnu/javax/net/ssl/provider/SSLSocket.java
+ * gnu/javax/net/ssl/provider/SSLSocketFactory.java
+ * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
+ * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
+ * gnu/javax/net/ssl/provider/SecurityParameters.java
+ * gnu/javax/net/ssl/provider/Session.java
+ * gnu/javax/net/ssl/provider/SessionContext.java
+ * gnu/javax/net/ssl/provider/SynchronizedRandom.java
+ * gnu/javax/net/ssl/provider/XMLSessionContext.java
+
+2006-08-14 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicSplitPaneDivider.java
+ (DividerLayout.layoutContainer): Removed debug output.
+ * javax/swing/plaf/basic/BasicSplitPaneUI.java
+ (BasicHorizontalLayoutManager.axis): New field.
+ (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
+ New constructor.
+ (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
+ Call new axis constructor.
+ (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
+ handle direction.
+ (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
+ handle direction.
+ (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
+ Refactored to handle direction.
+ (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
+ to handle direction.
+ (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
+ handle direction.
+ (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
+ to handle direction.
+ (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
+ to handle direction.
+ (BasicHorizontalLayoutManager.setComponentToSize): Refactored
+ to handle direction.
+ (BasicHorizontalLayoutManager.updateComponents): Don't reset
+ divider size.
+ (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
+ New explicit constructor. Calls super with vertical axis.
+ (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
+ to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.getInitialLocation): Functionality
+ moved to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
+ Functionality moved to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
+ moved to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
+ moved to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.minimumSizeOfComponent):
+ Functionality moved to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
+ moved to BasicHorizontalLayoutManager.
+ (BasicVerticalLayoutManager.setComponentToSize): Functionality
+ moved to BasicHorizontalLayoutManager.
+ * javax/swing/plaf/metal/MetalSplitPaneDivider.java
+ (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
+ (BUTTON_SPRITE_R): New constant field.
+ (MetalOneTouchButton.paint): Paint R sprite for right buttons,
+ L sprite for left buttons.
+
+2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
+ (query_formats): g_free 'name' after usage.
+ g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
+ g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
+
+2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR classpath/27723
+ * configure.ac (MOZILLA_FOUND): Add pkg-config check for
+ seamonkey-plugin.
+
+2006-08-14 Francis Kung <fkung@redhat.com>
+
+ PR 28694
+ * java/awt/image/ColorModel.java
+ (coerceData): Added check for non-transparent images.
+
+2006-08-14 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/BandCombineOp.java
+ (BandCombineOp): Perform checks on validity of matrix.
+ (createCompatibleDestRaster): Add checks and choose raster type dynamically.
+ (filter): Updated to work with new matrix storage.
+ (getMatrix): Updated javadoc.
+ (getPoint2D): Formatting change.
+
+2006-08-14 Francis Kung <fkung@redhat.com>
+
+ * java/awt/image/AffineTransformOp.java
+ (AffineTransformOp): Updated javadoc.
+ (createCompatibleDestImage): Match behaviour of reference implementation.
+ (createCompatibleDestRaster): Formatting changes.
+ (filter(BufferedImage, BufferedImage)): Create compatible destination image.
+ (filter(Raster, WritableRaster)): Re-implemented.
+ (filterBicubic): New private method.
+ (filterBilinear): New private method.
+ (filterNearest): New private method.
+ (getBounds2D): No longer fixed around one point for rotations.
+ (getInterpolationType): Add support for bicubic interpolation.
+
+2006-08-14 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/metal/MetalLookAndFeel.java
+ (MetalLookAndFeel): Moved theme initialization to
+ getDefaults().
+ (createDefaultTheme): Forward to getCurrentTheme().
+ (getDefaults): Initialize theme before doing anything else.
+ (getCurrentTheme): Recognize swing.metalTheme property.
+
+2006-08-14 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTable
+ (getScrollableUnitIncrement): Expose partially exposed
+ row in scrolling direction.
- * gnu/java/awt/peer/gtk/GtkChoicePeer.java
- (remove): Force event on removing item 0 when it's selected.
- (handleEvent): Always call Choice.selected().
- * java/awt/Choice.java:
- (remove): Simplify and correct.
+2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-2006-07-30 Sven de Marothy <sven@physto.se>
+ * javax/swing/JTable (getScrollableUnitIncrement):
+ Removing my name as the whole method body have been
+ recently completely replaced.
- * java/awt/Choice.java:
- (accessibleAction): Call select() directly.
- (add, insert, remove): Reimplement.
- (dispatchEventImpl): Always call super.
- (processItemEvent): Does not set the index.
- * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
- * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
- (append): removed.
- (nativeAdd): Name changed to add.
- (selection_changed_cb): Simplify callback.
- * gnu/java/awt/peer/gtk/GtkChoicePeer.java
- (selected): New field.
- (add): Replaced with native impl.
- (handleEvent): New method.
+2006-08-14 Roman Kennke <kennke@aicas.com>
+
+ PR 28028
+ * javax/swing/text/Utilities.java
+ (getTabbedTextOffset): Don't add p0 here.
+
+2006-08-14 Roman Kennke <kennke@aicas.com>
+
+ PR 28719
+ * javax/swing/plaf/basic/BasicScrollPaneUI.java
+ (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
+ when wheel is going up.
+
+2006-08-14 Roman Kennke <kennke@aicas.com>
+
+ PR 28693
+ * javax/swing/plaf/basic/BasicSplitPaneDivider.java
+ (BasicOneTouchButton): New inner class.
+ (DividerLayout.changeButtonOrientation): Removed.
+ (DividerLayout.positionButtons): Moved into layoutContainer.
+ (DividerLayout.layoutContainer): Reworked for correct layout.
+ (OneTouchAction): New inner class.
+ (centerOneTouchButtons): New field.
+ (BasicSplitPaneDivider): Initialize centerOneTouchButton from
+ UIManager.
+ (createLeftOneTouchButton): Reimplemented to return
+ BasicOneTouchButton.
+ (createRightOneTouchButton): Reimplemented to return
+ BasicOneTouchButton.
+ (getPreferredSize): Reimplemented to return fixed preferredSize.
+ (oneTouchExpandableChanged): Add OneTouchAction action to
+ buttons. Don't install mouse listeners.
+ (MouseHandler.mousePressed): Removed handling of one touch buttons.
+ (paint): Don't trigger extra paint for buttons.
+ (propertyChange): Revalidate splitPane when orientation is changed.
+ (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
+ oneTouchExpandable is true.
+ * javax/swing/plaf/basic/BasicSplitPaneUI.java
+ (installDefaults): Install dividerSize on the divider too.
+ * javax/swing/plaf/metal/MetalSplitPaneDivider.java
+ (MetalDividerLayout): Removed. Functionality is already
+ in BasicSplitPaneDivider.DividerLayout.
+ (MetalOneTouchButton): New inner class.
+ (BUTTON_SPRITE): New constant field.
+ (MetalSplitPaneDivider): Don't change layout.
+ (createLeftOneTouchButton): Overridden to return custom button
+ for Metal.
+ (createRightOneTouchButton): Overridden to return custom button
+ for Metal.
+ (paint): Don't trigger button painting. Call super instead.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTableHeaderUI.java
+ (installKeyboardAction): Unmarked as stub. Added comment
+ explaining that the RI seems to do nothing here.
+ (uninstallKeyboardAction): Unmarked as stub. Added comment
+ explaining that the RI seems to do nothing here.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ PR 28135
+ * javax/swing/ScrollPaneLayout.java
+ (layoutContainer): Consider the viewportBorder of the
+ JScrollPane.
+ (minimumLayoutSize): Consider the viewportBorder of the
+ JScrollPane.
+ (preferredLayoutSize): Consider the viewportBorder of the
+ JScrollPane.
+ * javax/swing/plaf/basic/BasicScrollPaneUI.java
+ (installDefaults): Also install viewportBorder if specified.
+ (paint): Paint viewportBorder if present.
+ (uninstallDefaults): Uninstall viewportBorder if appropriate.
+ Don't nullify foreground, background and font. Uninstall
+ border via LookAndFeel helper method to avoid uninstall
+ user set border.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ PR 28696
+ * javax/swing/plaf/basic/BasicHTML.java
+ (HTMLRootView.HTMLRootView): Trigger initial layout.
+ (HTMLRootView.setSize): Overridden to forward to real view.
+ * javax/swing/plaf/basic/BasicToolTipUI.java
+ (PropertyChangeHandler): New inner class. Updates the HTML
+ renderer.
+ (propertyChangeHandler): New field.
+ (getMaximumSize): Add HTML width delta.
+ (getMinimumSize): Add HTML width delta.
+ (getPreferredSize): Reimplemented to use HTML view for size
+ calculation if appropriate, otherwise use simple stringWidth()
+ measurement.
+ (installListeners): Install propertyChangeHandler.
+ (uninstallListeners): Uninstall propertyChangeHandler.
+ (installUI): Update HTML renderer.
+ (uninstallUI): Update HTML renderer.
+ (paint): Reimplemented to use HTML view for rendering if
+ appropriate, simple drawString otherwise.
+ * javax/swing/plaf/metal/MetalToolTipUI.java
+ (getPreferredSize): Call super and add accelerator delta.
+ (paint): Simply call super.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JMenu.java
+ (changeListener): Renamed to menuChangeListener to avoid
+ shadowing changeListener field from AbstractButton.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTree.java
+ (getScrollableUnitIncrement): Fixed direction.
+ (getScrollableBlockIncrement): Implemented to scroll one
+ page.
+ * javax/swing/tree/VariableHeightLayoutCache.java
+ (distance): Consider y + height already outside the node.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTable.java
+ (getScrollableUnitIncrement): Fixed direction. Make it behave
+ like the RI.
+ (getScrollableBlockIncrement): Fixed direction. Make it behave
+ like the RI.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JList.java
+ (getScrollableUnitIncrement): Fixed direction. Implemented
+ horizontal scrolling. Improved usability.
+ (getScrollableBlockIncrement): Fixed direction. Improved usability.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicScrollBarUI.java
+ (scrollByUnit): Scroll by -unit when direction is not positive
+ and +unit otherwise.
+ (scrollByBlock): Scroll by -unit when direction is not positive
+ and +unit otherwise.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ PR 28028
+ * javax/swing/text/PlainView.java
+ (paint): Limit painted area to the lines inside the clip
+ and allocation.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (uninstallListeners): Unregister document listener.
+
+2006-08-13 Sven de Marothy <sven@physto.se>
+
+ * java/util/Locale.java
+ (hashcodeCache): New field.
+ (hashCode): use the above field instead of the serialized one
+ (writeObject): Removed method.
+ (readObject): Intern strings.
+ (equals): Revert to previous method.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JTabbedPane.java
+ (JTabbedPane): Call setModel() here and let this install the
+ change listener correctly.
+ (setModel): Correctly uninstall and reinstall ChangeListener when
+ model changes.
+
+2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ PR Classpath/23952
+ * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
+ (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
+ (lastDefaultLocale): Removed.
+ (emptyLocale): Likewise.
+ (BundleKey.defaultLocale): New field.
+ (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
+ (BundleKey.set): Likewise.
+ (BundleKey.equals): Take defaultLocal field into consideration.
+ (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
-2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
+ * javax/swing/JMenu.java
+ (MenuChangeListener): New inner class, helps firing menu events.
+ (changeListener): New field.
+ (add(text)): Create new JMenuItem here and call add(JMenuItem).
+ (add(Action)): Create Action using createActionComponent()
+ and add via add(Component).
+ (setModel): Install and uninstall MenuChangeListener here.
+
+2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ PR Classpath/27372
+ * java/math/BigInteger.java: Updated copyright year.
+ (init): Consume as little bytes as possible.
+ (BigInteger(int, int, Random)): Ensure bitLength bits are used.
+ (valueOf(String, int)): Throw NumberFormatException for malformed strings
+ as per RI's documentation.
+
+2006-08-13 Sven de Marothy <sven@physto.se>
+
+ * java/util/Locale.java
+ (hashcode): Is a serialized field, not transient.
+ (equals): Should NOT compare strings by reference.
+ (readObject/writeObject): Use the default methods and handle the hash
+ seperately.
+
+2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ PR Classpath/28678
+ * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
+ Updated documentation.
+ Formatting.
+ (getInstance(String, String, Provider, Object[])): Likewise.
+ Separate checks for null and empty string arguments.
+ Include as much information as possible in the exception's message.
+ Do not swallow original exception; instead use it as the cause of the
+ resulting exception.
+ * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
+ (getInstance(String)): Updated documentation.
+ Formatting.
+ Store last exception caught when iterating through all providers.
+ If no implementation found, raise last exception if one was caught.
+ (getInstance(String, String)): Updated documentation.
+ Formatting.
+ Check for null or empty provider as per RI-5's documentation.
+ (getInstance(String, Provider)): Updated documentation.
+ Formatting.
+ Use as much information as possible in the exception message.
+ Do not swallow original exception; instead use it as the cause for the
+ ultimate raised exception(s).
+ * java/security/cert/CertificateFactory.java: Likewise.
+ * java/security/cert/CertPathBuilder.java: Likewise.
+ * java/security/cert/CertPathValidator.java: Likewise.
+ * java/security/cert/CertStore.java: Likewise.
+ * java/security/AlgorithmParameterGenerator.java: Likewise.
+ * java/security/AlgorithmParameters.java: Likewise.
+ * java/security/KeyFactory.java: Likewise.
+ * java/security/KeyPairGenerator.java: Likewise.
+ * java/security/KeyStore.java: Likewise.
+ * java/security/MessageDigest.java: Likewise.
+ * java/security/SecureRandom.java: Likewise.
+ * java/security/Signature.java: Likewise.
+ * javax/crypto/Cipher.java: Likewise.
+ * javax/crypto/ExemptionMechanism.java: Likewise.
+ * javax/crypto/KeyAgreement.java: Likewise.
+ * javax/crypto/KeyGenerator.java: Likewise.
+ * javax/crypto/Mac.java: Likewise.
+ * javax/crypto/SecretKeyFactory.java: Likewise.
+ * javax/net/ssl/KeyManagerFactory.java: Likewise.
+ * javax/net/ssl/SSLContext.java: Likewise.
+ * javax/net/ssl/TrustManagerFactory.java: Likewise.
+
+2006-08-13 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (getScrollableTracksViewportHeight): Also check maximum size.
+ * javax/swing/JTextPane.java
+ (insertIcon): Use input attributes for adding the icon
+ attribute.
+ * javax/swing/plaf/basic/BasicTextUI.java
+ (RootView.setSize): Overridden to forward to real view.
+ (getPreferredSize): Trigger setSize() on the view.
+ (viewToModel(JTextComponent,Point)): Pass Position.Bias array
+ to viewToModel() call, rather then null.
+ * javax/swing/text/ParagraphView.java
+ (changedUpdate): Invalide layout. Call super.
+ * javax/swing/text/SimpleAttributeSet.java
+ (clone): Use super's clone method to create clone.
+ * javax/swing/text/StyleConstants.java
+ (setIcon): Also set element name attribute.
+ * javax/swing/text/StyledEditorKit.java
+ (BoldAction.actionPerformed): Actually set the bold attribute,
+ not italic.
+ (setCharacterAttributes): Replaced with more straightforward
+ impl.
+ * javax/swing/text/TextAction.java
+ (getFocusedComponent): Implemented.
+ * javax/swing/text/Utilities.java
+ (getNextVisualPositionFrom): Pass Position.Bias arrays instead
+ of null.
+ * javax/swing/text/View.java
+ (changedUpdate): Nullify element change when updateChildren
+ says so.
+
+2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
+ Fix documentation typos.
+
+2006-08-11 David Daney <ddaney@avtrex.com>
+
+ PR classpath/28580
+ * gnu/java/net/protocol/http/Request.java (readResponse): Call
+ createResponseBodyStream in more cases and with new parameter.
+ (createResponseBodyStream): Added new parameter mayHaveBody. Handle
+ HEAD and !mayHaveBody responses specially.
+
+2006-08-11 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
+ * javax/swing/text/LabelView.java
+ (valid): New flag indicating if the text attributes are valid.
+ (LabelView): Initialize valid field with false.
+ (setPropertiesFromAttributes): Call setter methods instead
+ of setting properties directly. Set valid to true.
+ (changedUpdate): Invalidate attributes. Call super.
+ (getBackground): Sync attributes if necessary.
+ (getForeground): Sync attributes if necessary.
+ (getFont): Sync attributes if necessary.
+ (isUnderline): Sync attributes if necessary.
+ (isSuperscript): Sync attributes if necessary.
+ (isStrikeThrough): Sync attributes if necessary.
+ (getFontMetrics): Sync attributes if necessary. Fetch font metrics
+ from toolkit if Container is not available yet.
+
+2006-08-11 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/PlainView.java
+ (tabBase): New field.
+ (tabSize): New field.
+ (updateMetrics): Update tabSize.
+ (lineToRect): Only allocate when really necessary.
+ (modelToView): Use tabBase for offset calculations.
+ (paint): Only allocate when really necessary. Update tabBase.
+ (nextTabStop): Fixed tab calculation.
+ (viewToModel): Correctly handle multiline text and locations
+ outside the view's bounds. Set bias.
+ (getLineLength): Use tabBase.
+ * javax/swing/text/Utilities.java
+ (drawTabbedText): Don't special case newlines. The views
+ must take care of this.
- Port to hosts whose 'sort' and 'tail' implementations
- treat operands with leading '+' as file names, as POSIX
- has required since 2001. However, make sure the code still
- works on pre-POSIX hosts.
- * libjava/classpath/ltmain.sh: Don't assume "sort +2" is
- equivalent to "sort -k 3", since POSIX 1003.1-2001 no longer
- requires this.
- This uses the same fix that is already in
- libjava/libltdl/ltmain.sh.
+2006-08-11 Roman Kennke <kennke@aicas.com>
-2006-07-04 Peter O'Gorman <peter@pogma.com>
+ * javax/swing/text/GapContent.java
+ (UndoPosRef): New inner class. Used for resetting positions
+ after undo/redo operations.
+ (InsertUndo.positions): New field.
+ (InsertUndo.undo): Store positions in removed range.
+ (InsertUndo.redo): Restore positions in re-inserted range.
+ (UndoRemove.positions): New field.
+ (UndoRemove.UndoRemove): Store positions in removed range.
+ (UndoRemove.undo): Restore positions in re-inserted range.
+ (UndoRemove.redo): Store positions in removed range.
+ (insertString): Create InsertUndo instance before actually
+ inserting the string.
+ (remove): Create UndoRemove instance before actually
+ removing.
+ (getPositionsInRange): Don't clear the Vector. Return Vector
+ of UndoPosRefs.
+ (updateUndoPositions): Implemented to reset all UndoPosRefs
+ in the vector.
+
+2006-08-11 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/io/ObjectInputStream.java (readClassDescriptor):
+ Use class's class loader to resolve field types.
+ * java/io/ObjectStreamField.java
+ (ObjectStreamField(String,String,ClassLoader)): Removed.
+ (ObjectStreamField(String,String)): Don't try to resolve typename.
+ (resolveType): New method.
+
+2006-08-10 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/BoxView.java
+ (calculateMajorAxisRequirements): Sum up the preferred and
+ maximum sizes.
+ (isAfter): Also add in the rectangle's with/height.
+ (childAllocation): Don't trigger layout here.
+ (layoutMinorAxis): Removed debug output.
+ (getWidth): Consider the insets.
+ (getHeight): Consider the insets.
+ (setSize): Consider the insets.
+ (updateRequirements): Check axis and throw
+ IllegalArgumentException.
+
+2006-08-10 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/AbstractDocument.java
+ (BidiRootName): New constant field, denotes the element name
+ for bidi root elements.
+ (AsyncLoadPriority): New constant field, denotes the property
+ to store the asynchronousLoadPriority.
+ (I18N): New constant field, denotes the property for
+ I18N support.
+ (bidiRoot): Made field type BidiRootElement.
+ (AbstractDocument): Build initial element structure for
+ bidi.
+ (getAsynchronousLoadPriority): Implemented. Returns the
+ value stored in the document properties.
+ (setAsynchronousLoadPriority): Implemented. Sets the
+ value stored in the document properties.
+ (getEndPosition): Implemented to use a Position from the
+ content.
+ (getStartPosition): Implemented to use a Position from the
+ content.
+ (insertStringImpl): Update the I18N setting if necessary.
+ (insertUpdate): Update the bidi structure if necessary.
+ (postRemoveUpdate): Update the bidi structure if necessary.
+ (putProperty): Update the I18N setting and bidi structure
+ if necessary.
+ (updateBidi): New helper method for updating the bidi
+ structure.
+ (getBidis): New helper method. Fetches the Bidi analysers
+ for the paragraphs of the range to check.
+ (dump): Also dump the bidi structure.
+ (AbstractElement.dump): Indent the '>' correctly.
+ (AbstractElement.children): Check numChildren rather then
+ children.length.
+ (BidiRootElement): New inner class.
+ (BidiElement): New inner class.
+
+2006-08-10 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/GapContent.java
+ (getChars): Optimized to only copy array when really necessary.
+ Respect the partialReturn property.
+
+2006-08-10 Lillian Angel <langel@redhat.com>
+
+ * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
+ (getComponentPeer): Added check to prevent NPE.
- * ltconfig: chmod 644 before ranlib during install.
+2006-08-10 Gary Benson <gbenson@redhat.com>
+
+ * java/security/AccessControlContext.java (<init>):
+ Avoid a duplicated AccessController.getContext() call.
+
+2006-08-09 Mark Wielaard <mark@klomp.org>
+
+ * doc/www.gnu.org/newsitems.txt: Add 0.92.
+ * doc/www.gnu.org/downloads/downloads.wml: Likewise.
+ * doc/www.gnu.org/announce/20060809.wml: New file.
2006-08-09 Mark Wielaard <mark@klomp.org>
- * configure.ac (VERSION): Set to 0.92.
+ * configure.ac (VERSION): Set to 0.92-generics.
* NEWS: Add updates for 0.92 release.
-2006-08-08 Roman Kennke <kennke@aicas.com>
+2006-08-09 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/28658:
+ * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
+ the pattern match any number of spaces in the text.
+
+2006-08-09 Sven de Marothy <sven@physto.se>
+
+ * java/awt/image/BufferedImage.java
+ (BufferedImage): Reimplement predefined-type constructor.
+ (observers/tileObservers): Field renamed to tileObservers.
+ (createDefaultIndexedColorModel): New method.
+
+2006-08-09 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/28666:
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
+ (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
+ Create a 'short' array.
+
+2006-08-09 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
+ handle arrays.
+ * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
+ (writeFields): Print "L" after int constant. Don't mangle the field
+ name. Only print int/long fields.
+
+2006-08-09 Tom Tromey <tromey@redhat.com>
+
+ * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
+ "javah".
+
+2006-08-09 Sven de Marothy <sven@physto.se>
+
+ * javax/swing/JTree.java
+ (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
+ (setSelectionModel): Null parameter should create an EmptySelectionM.
+
+2006-08-09 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/AbstractDocument.java
+ (insertString): Perform modifications inside a write lock.
+ (insertStringImpl): Don't lock here. This is already done
+ in insertString().
+ (replace): Perform modifications inside a write lock.
+ (AbstractElement.AbstractElement): Call addAttributes() to
+ add the attributes.
+ (AbstractElement.getName): Fetch name from the ElementNameAttibute.
+ (BranchElement.lastIndex): New field. Optimizes getElementIndex().
+ (BranchElement.BranchElement): Set lastIndex to -1.
+ (BranchElement.getElementIndex): Implemented more efficient
+ search.
+
+2006-08-09 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/DefaultStyledDocument.java
+ (Edit): Moved this inner class into ElementBuffer where it
+ is actually needed.
+ (edits): Moved this field into ElementBuffer.
+ (getEditForParagraphAndIndex): Removed obsolete method.
+ (insertUpdate): Added some optimizations and fixes. Split
+ out handling insertion after newlines.
+ (insertAfterNewline): New helper method. Handles insertions
+ after a newline.
+ (ElementBuffer.Edit): New inner class. Moved here from
+ DefaultStyledDocument.
+ (ElementBuffer.createdFracture): New field.
+ (ElementBuffer.documentEvent): Made private.
+ (ElementBuffer.edits): New field. Moved here from
+ DefaultStyledDocument.
+ (ElementBuffer.fracNotCreated): Replaced by createdFracture.
+ (ElementBuffer.fracturedChild): New field.
+ (ElementBuffer.fracturedParent): New field.
+ (ElementBuffer.insertPath): New field.
+ (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
+ fracturedParent.
+ (ElementBuffer.offsetLastIndex): New field.
+ (ElementBuffer.offsetLastIndexReplace): New field.
+ (ElementBuffer.recreateLeafs): New field.
+ (ElementBuffer.ElementBuffer): Don't initialize stack here.
+ (ElementBuffer.canJoin): New helper method.
+ (ElementBuffer.changeUpdate): Changed to use elementStack with
+ Edits rather than Elements. Let the split method do the work.
+ (ElementBuffer.cloneAsNecessary): New helper method.
+ (ElementBuffer.createFracture): Changed to fracture the bottommost
+ child in the stack.
+ (ElementBuffer.finishEdit): New helper method. Moved out
+ from insertUpdate to perform the actual changes and update
+ the event.
+ (fracture): New helper method.
+ (insertContentTag): Fixed some bugs and changed to use Edit
+ instances in the stack, rather then Elements.
+ (insertElement): New helper method. Moved out from insertUpdate()
+ to process the ElementSpecs.
+ (insertFirstContentTag): Fixed some problems and changed to use Edit
+ instances in the stack, rather then Elements.
+ (insertFracture): Removed. Basically moved into createFracture()
+ and fracture().
+ (insertParagraph): Removed.
+ (insertUpdate): Split out the ElementSpec processing into
+ insertElement(). Use Edit instances in the stack. Fixed some
+ problems.
+ (insert): Split out the preparation and finishing code into
+ prepareEdit() and finishEdit().
+ (join): New helper method.
+ (pop): New helper method.
+ (prepareEdit): New helper method.
+ (recreateFracturedElement): New helper method.
+ (recreateLeaves): Removed.
+ (recreate): New helper method.
+ (removeElements): New helper method. Split out from removeUpdate().
+ (removeUpdate): Split out the actual removal. Use the
+ Edit stack to perform removal and perform the remove actions
+ and event updates afterwards, just like in insertImpl().
+ (remove): Use prepareEdit() and finishEdit().
+ (split): Replaced with more flexible impl.
+
+2006-08-09 Sven de Marothy <sven@physto.se>
+
+ * gnu/java/awt/peer/gtk/CairoSurface.java
+ Change class to extend WritableRaster and not DataBuffer.
+ (CairoDataBuffer): New inner class.
+ * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
+ Accomodate the above change.
+
+2006-08-09 Sven de Marothy <sven@physto.se>
+
+ * gnu/java/awt/peer/gtk/GtkMainThread.java
+ New file.
+ * gnu/java/awt/peer/gtk/GtkChoicePeer.java
+ * gnu/java/awt/peer/gtk/GtkComponentPeer.java
+ Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
+ * gnu/java/awt/peer/gtk/GtkToolkit.java
+ Minor style fixes; removed unused fields,
+ set fields to private where possible.
+ (createDialog, createFrame, createWindow, createEmbeddedWindow):
+ Call GtkMainThread.createWindow().
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (dispose): New method.
+ * include/gnu_java_awt_peer_gtk_GtkToolkit.h
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
+ (gtkQuit): New native method.
+
+2006-08-08 Lillian Angel <langel@redhat.com>
+
+ * java/awt/Component.java
+ (setDropTarget): Added check.
+
+2006-08-08 Lillian Angel <langel@redhat.com>
+
+ * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
+ (GtkDragSourceContextPeer): Added FIXME. Changed call
+ to setTarget.
+ * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
+ (GtkDropTargetContextPeer): Removed target initialization.
+ * java/awt/Component.java
+ (setTarget): Removed commented out code.
+
+2006-08-08 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/text/DefaultHighlighter.java: Qualify
+ Highlighter.HighlightPainter class name for gcj.
+
+2006-08-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicTableUI.java
+ (MouseInputHandler.mousePressed): Request focus on list
+ component.
+
+2006-08-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/plaf/basic/BasicListUI.java
+ (MouseInputHandler.mousePressed): Request focus on list
+ component.
+
+2006-08-05 Roman Kennke <kennke@aicas.com>
PR 28650
* javax/swing/plaf/basic/BasicMenuBarUI.java
(getMinimumSize): Added specnote about this method never
beeing called in the RI.
-2006-08-06 Sven de Marothy <sven@physto.se>
+2006-08-03 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(grab, nativeGrab): New methods.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(print): Implement.
* java/awt/Component.java
- (printAll): Should call peer print method.
+ (printAll): Should call peer print method.
2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
2006-08-06 Roman Kennke <kennke@aicas.com>
* NEWS: Added note about the X peers.
- * INSTALL: Added install notes about the X peers.
+ * INSTALL: Added install notes about the X peers.
2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
- Paul Jenner <psj@harker.dyndns.org>
+ Paul Jenner <psj@harker.dyndns.org>
* README: Update bug, patches and cvs instructions plus new URLs of
various external projects.
g_type_init earlier in function to correctly initialize the
type system used by the backend.
-2006-08-05 Robert Schuster <robertschuster@fsfe.org>
+2006-08-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/DefaultHighlight.java
+ (DefaultHighlightPainter.paintHighlight): Removed method.
+ (DefaultHighlightPainter.paintLayer): Implemented.
+ (DefaultHighlightPainter.paint): Implemented more efficient
+ painting for multiline-highlights.
+ (HighlightEntry.p0): Changed to be a Position.
+ (HighlightEntry.p1): Changed to be a Position.
+ (HighlightEntry.HighlightEntry): Changed to take Position
+ arfuments.
+ (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
+ (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
+ (LayerHighlightEntry): New inner class. Extends HighlightEntry
+ and tracks the painted rectangle for efficient repainting.
+ (addHighlight): Handle layered highlight.
+ (changeHighlight): Handle layered highlight.
+ (paintLayeredHighlights): Implemented.
+ (paint): Paint only non-layered highlights here.
+ (removeAllHighlights): Trigger correct repaint.
+ (removeHighlight): Handle layered highlight here for
+ more efficient repainting.
+ * javax/swing/text/GlyphView.java
+ (paint): Handle layered highlights.
+ * javax/swing/text/PlainView.java
+ (paint): Handle layered highlights.
+ * javax/swing/text/WrappedPlainView.java
+ (WrappedLine.paint): Handle layered highlights.
+
+2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ PR 26972
+ * NEWS: As suggested by Paul Jennier, added note about the fix of
+ the InitialContext.
+
+2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * NEWS: Added entry about the context factories for JNDI.
+
+2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ PR 27383
+ * gnu/CORBA/Connected_objects.java (size): New method.
+ * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
+ New method.
+ * javax/naming/spi/NamingManager.java (getURLContext):
+ Also search for the URL context factories in
+ gnu/javax/naming/jndi/url.
+ * gnu/javax/naming/giop/ContextContinuation.java,
+ gnu/javax/naming/giop/CorbalocParser.java,
+ gnu/javax/naming/giop/GiopNamingEnumeration.java,
+ gnu/javax/naming/giop/GiopNamingServiceFactory.java,
+ gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
+ gnu/javax/naming/giop/ListBindingsEnumeration.java,
+ gnu/javax/naming/giop/ListEnumeration.java,
+ gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
+ gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
+ gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
+ gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
+ gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
+ gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
+ gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
+ gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
+
+2006-08-06 Sven de Marothy <sven@physto.se>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (drawGlyphVector): Synchronize against font object when drawing.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
+ (nativeDrawGlyphVector): Use pango locking when drawing.
+ (install_font_peer): Use pango locking when creating the cairo face.
+
+2006-08-06 C. Scott Marshall <csm@gnu.org>
+
+ Fixes PR 28608.
+ * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
+ the mark has been set.
+ * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
+ (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
+ allocated data.
+
+2006-08-06 Mark Wielaard <mark@klomp.org>
+
+ PR 28555
+ Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
+ * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
+ withParams is null.
+ * gnu/xml/transform/ForEachNode.java (clone): Check whether
+ sortKeys is null.
+
+2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
+ Paul Jenner <psj@harker.dyndns.org>
+
+ * README: Update bug, patches and cvs instructions plus new URLs of
+ various external projects.
+
+2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/BeanImpl.java:
+ (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
+ with open variant.
+ (getCachedMBeanInfo()): Return open variant.
+ (getMBeanInfo()): Likewise.
+ (getTypeFromClass(Class)): Implemented.
+ (translateSignature(MBeanParameterInfo)): Likewise.
+ (translate(String)): Likewise.
+ * javax/management/StandardMBean.java:
+ (getMBeanInfo()): Return attribute names with capital letters,
+ as in docs for java.lang.management.ManagementFactory, and
+ ensure descriptions are not "".
+ * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
+ * javax/management/openmbean/OpenMBeanInfoSupport.java,
+ * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
+ (toString()): Use Arrays.toString().
+ * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
+ (OpenMBeanParameterInfoSupport(String, String, OpenType)):
+ Set open type here rather than in other constructors.
+
+2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/MBeanFeatureInfo.java:
+ Make string variable package-private.
+ * javax/management/StandardMBean.java:
+ (getMBeanInterface()): Made final.
+ * javax/management/openmbean/SimpleType.java:
+ Made final.
+
+2006-08-05 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/awt/Component.java (setDropTarget): Commented out GTK specific
+ code.
+
+2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * examples/gnu/classpath/examples/swing/FillRect.java,
+ * gnu/CORBA/Focused_ORB.java,
+ * gnu/CORBA/interfaces/gnuSocketFactory.java,
+ * gnu/classpath/ByteArray.java,
+ * gnu/classpath/ObjectPool.java,
+ * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
+ * gnu/java/awt/peer/x/fonts.properties,
+ * gnu/java/security/util/Prime2.java,
+ * gnu/javax/imageio/gif/GIFStream.java,
+ * javax/swing/text/html/HTMLTableView.java,
+ * native/cni/Makefile.am,
+ * org/omg/CORBA/SendingContext/RunTimeOperations.java,
+ * org/omg/CORBA/SendingContext/Runtime.java,
+ * resource/gnu/regexp/MessagesBundle.properties,
+ * resource/gnu/regexp/MessagesBundle_fr.properties,
+ * resource/gnu/regexp/MessagesBundle_it.properties,
+ * tools/appletviewer.in,
+ * tools/jarsigner.in,
+ * tools/keytool.in,
+ * vm/reference/java/lang/management/VMThreadInfo.java:
+ Removed.
+ * examples/gnu/classpath/examples/awt/aicas.png,
+ * examples/gnu/classpath/examples/awt/palme.gif,
+ * examples/gnu/classpath/examples/java2d/aicas.png,
+ * examples/gnu/classpath/examples/java2d/palme.gif,
+ * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
+ * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
+ * java/awt/doc-files/capjoin.png,
+ * java/awt/geom/doc-files/Area-1.png,
+ * java/awt/geom/doc-files/Ellipse-1.png,
+ * java/awt/geom/doc-files/GeneralPath-1.png:
+ Added.
+
+2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * configdiag.jnlp:
+ Removed.
+
+2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/BeanImpl.java:
+ (getAttribute(String)): Implemented.
+
+2006-08-05 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/JTextComponent.java
+ (AccessibleJTextComponent.dot): Renamed field into caretDot.
+ (AccessibleJTextComponent.textComp): Removed field
+ and replace with JTextComponent.this construct.
+ (AccessibleJTextComponent.AccessibleJTextComponent):
+ Fetch caret position.
+ (caretUpdate): Implemented. Fires property change events and
+ updates the caretDot field.
+ (changedUpdate): Implemented. Fires property change events.
+ (insertUpdate): Implemented. Fires property change events.
+ (removeUpdate): Implemented. Fires property change events.
+ (cut): Replaced textComp with JTextComponent.this construct.
+ (paste): Replaced textComp with JTextComponent.this construct.
+ (replaceText): Replaced textComp with JTextComponent.this construct.
+ (selectText): Replaced textComp with JTextComponent.this construct.
+ (getCaretPosition): Replaced textComp with JTextComponent.this
+ construct.
+ (getCharCount): Replaced textComp with JTextComponent.this construct.
+ (getSelectedText): Replaced textComp with JTextComponent.this
+ construct.
+ (getSelectionEnd): Replaced textComp with JTextComponent.this
+ construct.
+ (getSelectionStart): Replaced textComp with JTextComponent.this
+ construct.
+ (getTextRange): Replaced textComp with JTextComponent.this
+ construct.
+ (doAccessibleAction): Implemented.
+ (getAccessibleActionCount): Implemented.
+ (getAccessibleActionDescription): Implemented.
+ (getAccessibleStateSet): Implemented.
+ (getAfterIndex): Implemented.
+ (getBeforeIndex): Implemented.
+ (getAtIndex): Implemented.
+ (getAtIndexImpl): New helper method.
+ (getCharacterAttribute): Implemented.
+ (getCharacterBounds): Implemented.
+ (getIndexAtPoint): Implemented.
+ (insertTextAtIndex): Implemented.
+ (setAttributes): Implemented.
+ (setTextContents): Implemented.
+
+2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * configure.ac: Better handling of default-preferences-peer option.
+
+2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
+
+ * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
+ double[].
+
+2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/openmbean/TabularData.java:
+ Documentation corrections.
+ * javax/management/openmbean/TabularDataSupport.java:
+ New file.
+
+2006-08-04 Francis Kung <fkung@redhat.com>
+
+ * java/awt/BasicStroke.java
+ (dashedStroke): Implemented.
+
+2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/BadAttributeValueExpException.java,
+ * javax/management/BadStringOperationException.java,
+ * javax/management/InstanceAlreadyExistsException.java,
+ * javax/management/InstanceNotFoundException.java,
+ * javax/management/InvalidApplicationException.java,
+ * javax/management/MBeanRegistrationException.java,
+ * javax/management/MalformedObjectNameException.java,
+ * javax/management/RuntimeErrorException.java,
+ * javax/management/RuntimeMBeanException.java,
+ * javax/management/ServiceNotFoundException.java:
+ New files.
+
+2006-08-04 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/SwingUtilities.java
+ (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
+ int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
+ layoutCompoundLabelImpl().
+ (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
+ Rectangle,Rectangle,Rectangle,int)): Delegate to new
+ layoutCompoundLabelImpl().
+ (layoutCompoundLabelImpl): New helper method. Moved impl from
+ layoutCompoundLabel() to here and added handling of HTML.
+ * javax/swing/plaf/basic/BasicButtonUI.java
+ (installUI): Update HTML view if appropriate.
+ (uninstallUI): New method. Do the usual uninstallUI things
+ and uninstall HTML view.
+ (getMinimumSize): New method. Adjusts the minimum size
+ by the HTML view minimum size.
+ (getMaximumSize): New method. Adjusts the maximum size
+ by the HTML view maximum size.
+ (getPreferredSize): Pass the button's iconTextGap to the
+ BasicGraphicsUtils method.
+ (paint): Let HTML view paint the text, if present.
+ * javax/swing/plaf/basic/BasicButtonListener.java
+ (propertyChange): Update the HTML view when the button's
+ text is changed.
+
+2006-08-04 Mario Torre <neugens@limasoftware.net>
+
+ Reported by Raif S. Naffah <raif@swiftdsl.com.au>
+ * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
+ g_type_init earlier in function to correctly initialize the
+ type system used by the backend.
+
+2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ PR 26972
+ * javax/naming/Name.java (addAll, getPrefix, getSuffix):
+ Documented.
+ * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
+
+2006-08-04 Robert Schuster <robertschuster@fsfe.org>
Reported by Henrik Gulbrandsen <henrik@gulbra.net>
- Fixes PR27864.
- * gnu/xml/dom/DomIterator.java:
- (successor): Added if-statement.
+ Fixes PR27864.
+ * gnu/xml/dom/DomIterator.java:
+ (successor): Added if-statement.
+
+2006-08-04 Mark Wielaard <mark@klomp.org>
+
+ * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
+
+2006-08-04 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/plaf/metal/MetalMenuBarUI.java:
+ (update): Check size and paint smaller gradient.
+ * javax/swing/plaf/metal/MetalBorders.java:
+ (MenuBarBorder): Removed borderColor field.
+ (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
+ MetalLookAndFeel.
+
+2006-08-03 Roman Kennke <kennke@aicas.com>
+ PR 27637
+ * javax/swing/plaf/basic/BasicInternalFrameUI.java
+ (ComponentHandler.componentResized): Reimplemented to handle
+ arbitrary parents.
+ (InternalFramePropertyChangeHandler.propertyChange): (Un)install
+ component listener on changed ancestor.
+ (installListeners): Install componentListener.
+ (uninstallListeners): Uninstall componentListener.
+
+2006-08-03 Carsten Neumann <cn-develop@gmx.net>
+
+ * StrictMath.java (cbrt): Return argument if it is a NaN.
+ (cosh): Likewise.
+ (expm1): Likewise.
+ (sinh): Likewise.
+
+2006-08-03 Carsten Neumann <cn-develop@gmx.net>
+
+ * java/lang/StrictMath.java (tanh): New method.
+
+2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * scripts/import-cacerts.sh: Batch CA certificates import script.
+
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 27606
Handle indentation.
(IndentIcon): New class. Wraps and indents another icon.
-2006-08-03 Roman Kennke <kennke@aicas.com>
+2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/MBeanConstructorInfo.java:
+ (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
+ Copy array rather than directly assigning.
+ * javax/management/MBeanInfo.java:
+ (MBeanInfo(String,String,MBeanAttributeInfo[],
+ MBeanConstructorInfo[], MBeanOperationInfo[],
+ MBeanNotificationInfo[])): Likewise.
+ * javax/management/MBeanOperationInfo.java:
+ (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
+ Likewise.
+ * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
+ * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
+ New files.
+ * javax/management/openmbean/OpenMBeanInfo.java:
+ Corrected documentation.
+ * javax/management/openmbean/OpenMBeanInfoSupport.java:
+ New file.
+ * javax/management/openmbean/OpenMBeanOperationInfo.java:
+ Corrected documentation.
+ * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
+ New file.
+ * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
+ (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
+ Call other constructor rather than reimplementing.
+
+2006-08-02 Lillian Angel <langel@redhat.com>
+
+ * java/awt/dnd/DragSource.java
+ (isDragImageSupported): Implemented.
+ (getDragThreshold): Changed default value.
+ * java/awt/dnd/DropTarget.java
+ (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
+ (DropTarget): Likewise.
+ (DropTarget): If FlavorMap passed in is null, we should use the system default.
+ (addDropTargetListener): Added check to determine if new DropTargetListener
+ is this class. If so, an IllegalArgumentException is thrown. If the
+ new listener is null, nothing happens.
+
+2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * configure.ac (MOZILLA_FOUND): Fall back to
+ mozilla-firefox-plugin.
+
+2006-08-02 Sven de Marothy <sven@physto.se>
+
+ * java/awt/geom/AffineTransform.java
+ (hashCode): Tweak impl.
+ * java/awt/font/FontRenderContext.java
+ (hashCode): Implement.
+
+2006-08-02 Carsten Neumann <cn-develop@gmx.net>
+
+ * java/lang/StrictMath.java (sinh): New method.
+
+2006-08-02 Roman Kennke <kennke@aicas.com>
PR 27605
* javax/swing/JComboBox.java
(createPropertyChangeListener): Return null just like the
RI.
-2006-08-03 Roman Kennke <kennke@aicas.com>
+2006-08-02 Sven de Marothy <sven@physto.se>
+
+ * gnu/java/awt/peer/gtk/GtkChoicePeer.java
+ (remove): Force event on removing item 0 when it's selected.
+ (handleEvent): Always call Choice.selected().
+ * java/awt/Choice.java:
+ (remove): Simplify and correct.
+
+2006-08-02 Mark Wielaard <mark@klomp.org>
+
+ PR 28535
+ * configure.ac (gconf-peer): Check for gdk-2.0.
+ * native/jni/gconf-peer/Makefile.am
+ (AM_LDFLAGS): Use GDK_LIBS.
+ (AM_CFLAGS): Use GDK_CFLAGS.
+
+2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
+
+ * java/net/URL.java (getContent(Class[])): Implement.
+
+2006-08-02 Roman Kennke <kennke@aicas.com>
+
+ PR 27624
+ * javax/swing/JMenu.java
+ (JMenu()): Removed setting of delay.
+ (JMenu(String)): Removed setting of delay.
+ (JMenu(Action)): Removed setting of delay.
+ (JMenu(String,boolean)): Removed setting of delay.
+ (setSelectedHelper): Removed unneeded method.
+ (setSelected): Simply set the model state.
+ (setPopupMenuVisible): Recognize the popup location
+ determined by getPopupMenuOrigin().
+ (getPopupMenuOrigin): Recognize the UI properties for
+ X and Y offset.
+ (menuSelectionChanged): Call setSelected() directly.
+ * javax/swing/JPopupMenu.java
+ (menuSelectionChanged): If invoker is a JMenu, then delegate
+ to that to get the position right.
+ * javax/swing/Popup.java
+ (LightweightPopup.show): Insert the popup as first component
+ in the layer, so that it overlaps it's caller.
+ * javax/swing/plaf/basic/BasicMenuItemUI.java
+ (getPath): Don't include the popup.
+ * javax/swing/plaf/basic/BasicMenuUI.java
+ (SelectMenuAction): New class. This invokes the popup when
+ a menu is selected.
+ (installDefaults): Install delay of 200 ms.
+ (setupPostTimer): Implemented.
+ (MouseInputHandler.mouseClicked): Do nothing here.
+ (MouseInputHandler.mouseEntered): Use MenuSelectionManager
+ magic to handle the selection. Open the menu via a timer.
+ (MouseInputHandler.mousePressed): Use MenuSelectionManager
+ magic to handle the selection. Open the menu via a timer.
+ (MenuDragMouseHandler.menuMouseDragged): Probably use
+ timer.
+ (menuDragMouseEntered): Do nothing here.
+
+2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/openmbean/InvalidOpenTypeException.java,
+ * javax/management/openmbean/KeyAlreadyExistsException.java:
+ New files.
+
+2006-08-02 Roman Kennke <kennke@aicas.com>
PR 27604
* javax/swing/plaf/basic/BasicChooserUI.java
(getSystemDisplayName): Implemented to return the real name
of a file, special handling files like '.' or '..'.
+2006-08-03 Mark Wielaard <mark@klomp.org>
+
+ * examples/gnu/classpath/examples/icons/badge.png: Add file.
+
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 28562
* javax/swing/plaf/basic/BasicOptionPaneUI.java
(PropertyChangeHandler.propertyChange): Cleanly reinstall
- components when visual property chanegs.
+ components when visual property chanegs.
2006-08-03 Roman Kennke <kennke@aicas.com>
Set renderer to a default handler when the current renderer
in the JTree is null.
-2006-08-03 Mark Wielaard <mark@klomp.org>
-
- * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
-
-2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
+2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
- * scripts/import-cacerts.sh: Batch CA certificates import script.
+ PR Classpath/23899
+ * java/security/SecureRandom.java (next): Call nextBytes as per specs.
-2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
+2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/28556
- * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
- (encodePrivateKey): Updated documentation to clarify that RFC-2459
- states that the parameters field of the AlgorithmIdentifier element
- MUST be NULL if present. Amended the code to reflect the specs.
+ * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
+ Updated documentation to clarify that RFC-2459 states that the parameters
+ field of the AlgorithmIdentifier element MUST be NULL if present.
+ Amended the code to reflect the specs.
(decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
-2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
+2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
- PR Classpath/23899
- * java/security/SecureRandom.java (next): Call nextBytes as per specs.
+ * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
+ Call parameter 'defaultValue' not 'defValue'.
-2006-08-03 Thomas Fitzsimmons <fitzsim@redhat.com>
+2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
- * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
- -avoid-version.
- * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
- Likewise.
- * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
- Likewise.
- * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
- Likewise.
+ * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
+ New file.
-2006-08-03 Thomas Fitzsimmons <fitzsim@redhat.com>
+2006-08-01 Roman Kennke <kennke@aicas.com>
+
+ PR 28562
+ * javax/swing/plaf/basic/BasicOptionPaneUI.java
+ (PropertyChangeHandler.propertyChange): Cleanly reinstall
+ components when visual property chanegs.
+
+2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/openmbean/OpenMBeanAttributeInfo.java:
+ (toString()): Corrected documentation.
+ * javax/management/openmbean/OpenMBeanConstructorInfo.java,
+ * javax/management/openmbean/OpenMBeanInfo.java,
+ * javax/management/openmbean/OpenMBeanOperationInfo.java:
+ New files.
+ * javax/management/openmbean/OpenMBeanParameterInfo.java:
+ (toString()): Corrected documentation.
+
+2006-08-01 Tania Bento <tbento@redhat.com>
- * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
- -avoid-version.
+ * java/awt/Choice.java
+ (remove(int)): Added documentation.
-2006-08-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
+2006-08-01 Tania Bento <tbento@redhat.com>
+
+ * java/awt/Choice.java
+ (remove(int)): An IllegalArgumentException should not be thrown
+ if int is invalid. Update selectedIndex and peer selection.
- * examples/gnu/classpath/examples/management/TestBeans.java:
- New file.
- * javax/management/MBeanAttributeInfo.java:
- (toString()): Implemented.
- * javax/management/MBeanConstructorInfo.java:
- (toString()): Implemented.
- * javax/management/MBeanFeatureInfo.java:
- (toString()): Implemented.
- * javax/management/MBeanInfo.java:
- (toString()): Implemented.
- * javax/management/MBeanNotificationInfo.java:
- (toString()): Implemented.
- * javax/management/MBeanOperationInfo.java:
- (toString()): Implemented.
- * javax/management/MBeanParameterInfo.java:
- (toString()): Implemented.
- * javax/management/StandardMBean.java:
- (getMBeanInfo()): Fix attribute naming.
+2006-08-01 Tania Bento <tbento@redhat.com>
-2006-08-02 Mark Wielaard <mark@klomp.org>
+ * java/awt/CardLayout.java
+ (toString): Changed format of string outputted.
+ (goToComponent): Changed the order of the if-clause.
- PR 28535
- * configure.ac (gconf-peer): Check for gdk-2.0.
- * native/jni/gconf-peer/Makefile.am
- (AM_LDFLAGS): Use GDK_LIBS.
- (AM_CFLAGS): Use GDK_CFLAGS.
+2006-07-31 Tom Tromey <tromey@redhat.com>
+
+ * INSTALL: Updated for ASM.
+
+2006-07-31 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/23682:
+ * java/nio/channels/SelectionKey.java (attach): Now synchronized.
+ (attachment): Likewise.
+ * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
+ synchronized.
+ (isValid): Likewise.
+ * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
+ (ch): Likewise.
+ (interestOps): Synchronize.
+ (readyOps): Likewise.
+ * gnu/java/nio/SelectorImpl.java (register): Synchronize around
+ interestOps call.
+
+2006-07-31 Roman Kennke <kennke@aicas.com>
+
+ * NEWS: Added note about the X peers.
+ * INSTALL: Added install notes about the X peers.
+
+2006-07-31 Carsten Neumann <cn-develop@gmx.net>
+
+ * StrictMath.java (getLowDWord): Return long instead of int.
+ (getHighDWord): Likewise.
+ (buildDouble): Take two long arguments.
+ (cbrt): Adapted to int -> long change.
+ (expm1): Likewise.
+ (cosh): Likewise.
+
+2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
+ -avoid-version.
2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/Engine.java
(getInstance): Ignore self referencing aliases.
+2006-07-30 Mark Wielaard <mark@klomp.org>
+
+ * javax/swing/JComponent.java (getListeners): Revert
+ un-genericization.
+
2006-07-30 Mark Wielaard <mark@klomp.org>
* resource/java/security/classpath.security: Add /dev/urandom as
6 weeks.
(nonLeniencyCheck): weeks is either 5 or 6.
+2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/openmbean/OpenMBeanAttributeInfo.java,
+ * javax/management/openmbean/OpenMBeanParameterInfo.java:
+ New files.
+
+2006-07-30 Matt Wringe <mwringe@redhat.com>
+
+ * gnu/java/security/Engine.java
+ (getInstance): Ignore self referencing aliases.
+
+2006-07-30 Sven de Marothy <sven@physto.se>
+
+ * java/awt/Choice.java:
+ (accessibleAction): Call select() directly.
+ (add, insert, remove): Reimplement.
+ (dispatchEventImpl): Always call super.
+ (processItemEvent): Does not set the index.
+ * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
+ (append): removed.
+ (nativeAdd): Name changed to add.
+ (selection_changed_cb): Simplify callback.
+ * gnu/java/awt/peer/gtk/GtkChoicePeer.java
+ (selected): New field.
+ (add): Replaced with native impl.
+ (handleEvent): New method.
+
+2006-07-30 Sven de Marothy <sven@physto.se>
+
+ * java/awt/Choice.java:
+ Reformat, fix copyright year.
+
2006-07-29 Mark Wielaard <mark@klomp.org>
* javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
static field isPaintingDoubleBuffered to not have the same name
as a method.
+2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * examples/gnu/classpath/examples/management/TestBeans.java:
+ New file.
+ * javax/management/MBeanAttributeInfo.java:
+ (toString()): Implemented.
+ * javax/management/MBeanConstructorInfo.java:
+ (toString()): Implemented.
+ * javax/management/MBeanFeatureInfo.java:
+ (toString()): Implemented.
+ * javax/management/MBeanInfo.java:
+ (toString()): Implemented.
+ * javax/management/MBeanNotificationInfo.java:
+ (toString()): Implemented.
+ * javax/management/MBeanOperationInfo.java:
+ (toString()): Implemented.
+ * javax/management/MBeanParameterInfo.java:
+ (toString()): Implemented.
+ * javax/management/StandardMBean.java:
+ (getMBeanInfo()): Fix attribute naming.
+
2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(getMemoryManagerMXBeans()): Likewise.
(getGarbageCollectorMXBeans()): Likewise.
* javax/management/MBeanFeatureInfo.java:
- (hashCode()): Fixed to check for null values.
+ hashCode()): Fixed to check for null values.
2006-07-29 Matt Wringe <mwringe@redhat.com>
(get): Method removed, no longer needs to overwrite
parent implementation
+2006-07-29 Mark Wielaard <mark@klomp.org>
+
+ * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
+ * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
+ * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
+ * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
+ * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
+ Removed.
+
2006-07-29 Sven de Marothy <sven@physto.se>
* java/math/BigDecimal.java
(joinSegments): Refactored some code into joinOuterSegments.
(solidStroke): Connect segments together properly.
+2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
+ -avoid-version.
+ * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
+ Likewise.
+ * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
+ Likewise.
+ * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
+ Likewise.
+
+2006-07-28 Tom Tromey <tromey@redhat.com>
+
+ * configure.ac: Enable -Werror by default on Linux-with-gcc.
+
+2006-07-28 Lillian Angel <langel@redhat.com>
+
+ * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
+ Removed function declarations.
+ (connect_signals_for_widget): Removed implementation because
+ stub functions have been removed.
+ (drag_begin_cb): Removed function.
+ (drag_motion_cb): Likewise.
+ (drag_data_get_cb): Likewise.
+ (drag_data_delete_cb): Likewise.
+ (drag_drop_cb): Likewise.
+ (drag_end_cb): Likewise.
+ (drag_data_received_cb): Likewise.
+
+2006-07-28 Mark Wielaard <mark@klomp.org>
+
+ * configure.ac: Set version to 0.93-pre.
+
+2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
+
+2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
+ (getCallbackHandler): Fully qualify linked class in javadoc.
+ * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
+ * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
+ * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
+
2006-07-27 Tom Tromey <tromey@redhat.com>
PR classpath/28486:
(GtkMouseDragGestureRecognizer): fixed potential threading issue:
removed call to registerListeners from the constructor.
+2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
+ * java/lang/management/MemoryPoolMXBean.java:
+ (getType()): Changed return type to MemoryType.
+ * java/lang/management/MemoryType.java:
+ New file.
+
2006-07-23 Mark Wielaard <mark@klomp.org>
* configure.ac: Check for moc and moc-qt4.
* gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
code for the pixel swap routine to be more efficient.
+2006-07-21 Carsten Neumann <cn-develop@gmx.net>
+
+ * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
+ (lastIndexOf(E, int)): Likewise.
+ (add(E)): Increase the size of newData array by one.
+ (add(int, E)): Likewise.
+
2006-07-20 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
IllegalArgumentException for an unrecognised type.
+2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/management/ManagementFactory.java:
+ (getMemoryPoolMXBeans): Genericized fully.
+ (getMemoryManagerMXBeans): Likewise.
+ (getGarbageCollectorMXBeans): Likewise.
+
+2006-07-10 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
+ Genericized.
+ (getMemoryManagerMXBeans): Likewise.
+ (getGarbageCollectorMXBeans): Likewise.
+
2006-07-10 Mario Torre <neugens@limasoftware.net>
- * java/awt/BasicStroke.java: Removed unused import.
- * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
- * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
- * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
+ * java/awt/BasicStroke.java: Removed unused import.
+ * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
+ * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
+ * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
2006-07-10 Matt Wringe <mwringe@redhat.com>
org/omg/PortableServer/ServantLocatorHelper.java: Remove the
typecode caching and always use OrbRestricted.Singleton.
+2006-07-09 Tom Tromey <tromey@redhat.com>
+
+ * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
+
2006-07-09 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
* javax/swing/text/html/BRView.java,
javax/swing/text/html/HRuleView.java: New files.
+2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/Thread.java:
+ (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
+ Added generic type signature.
+
2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Updated.
(setDisplayedMnemonicIndex): Removed unnecessary validation,
(getDisplayedMnemonicIndex): Updated API docs.
+2006-06-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/util/Collections (entrySet): Fixed compile error.
+
2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultListSelectionModel.java
* java/text/AttributedString.java
(AttributedString): Fix constructor to stop at end point.
+2006-06-17 Tom Tromey <tromey@redhat.com>
+
+ * lib/gen-classlist.sh.in: Search all top-level directories, not
+ just 'org', in external.
+
2006-06-12 Mario torre <neugens at limasoftware.net>
* gnu/java/util/prefs/GConfBasedPreferences.java: new class.
* tools/.cvsignore: Added new tool names.
-2006-06-16 Tom Tromey <tromey@redhat.com>
-
- * vm/reference/sun/reflect/misc/ReflectUtil.java: Moved...
- * vm/reference/sun/misc/ReflectUtil.java: ...from here.
-
2006-06-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
2006-06-16 Tom Tromey <tromey@redhat.com>
- * NEWS: Updated for JSR 166.
- * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
- Removed.
- (getCallerClass): Now static.
- * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
+ * NEWS: Updated for JSR 166.
+
+2006-06-16 Tom Tromey <tromey@redhat.com>
+
+ * lib/Makefile.am (compile_classpath): Added jsr166.
+ * configure.ac: Added external/jsr166/Makefile.
+ * external/Makefile.am (SUBDIRS): Added jsr166.
+ * external/jsr166/Makefile.am: New file.
+ * lib/gen-classlist.sh.in: Look in external/jsr166.
2006-06-16 Kyle Galloway <kgallowa@redhat.com>
2006-06-16 Tom Tromey <tromey@redhat.com>
- * external/jsr166: Removed files from cvs trunk.
+ Imported JSR 166 reference implementation:
+ * .classpath: Added external/jsr166.
+ * java/util/concurrent/CopyOnWriteArrayList.java: New file.
+ * java/util/AbstractQueue.java: Removed.
+ * java/util/Queue.java: Removed.
+ * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
+ (runPeriodic): Added explicit cast.
+ * external/jsr166/java/util/ArrayDeque.java (clone): Use
+ elements.clone.
+
+2006-06-16 Tom Tromey <tromey@redhat.com>
+
+ * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
+ Removed.
+ (getCallerClass): Now static.
+ * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
2006-06-16 Lillian Angel <langel@redhat.com>
(drawImage): Don't use setClip() but instead clipRect() to
intersect the current clip with a new one.
+2006-06-15 Tom Tromey <tromey@redhat.com>
+
+ * scripts/sanitize-jsr166: New file.
+ * external/jsr166/IMPORTING: New file.
+ * vm/reference/sun/reflect/Reflection.java: New file.
+ * vm/reference/gnu/classpath/Unsafe.java: Moved...
+ * vm/reference/sun/misc/Unsafe.java: ...here.
+
2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac: Rename appletviewer to gappletviewer, jarsigner to
(writeShape): Likewise,
* java/awt/Shape.java: Small updates to API docs.
+2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/naming/InitialContext.java:
+ (list(javax.naming.Name)): Fixed generic type.
+ (list(String)): Likewise.
+ (listBindings(javax.naming.Name)): Likewise.
+ (listBindings(String)): Likewise.
+
2006-06-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java
* java/util/InputMismatchException.java:
Documented.
-
-2005-04-20 Tom Tromey <tromey@redhat.com>
-
- * java/util/InputMismatchException.java: New file.
2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
(clip(Shape)): Implemented correctly, so that the current shape
gets intersected by the parameter shape.
-2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/math/BigDecimal.java:
- (compareTo(Object)): Make this call the other
- one.
- (compareTo(BigDecimal)): Recreated.
-
2006-06-07 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
* java/util/Formatter.java:
Documented.
-2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/util/Formatter.java:
- Make the class final.
-
-2005-09-26 Tom Tromey <tromey@redhat.com>
-
- * java/util/Formatter.java (format): Set fmtLocale.
- (applyLocalization): New method.
- (basicIntegralConversion): Likewise.
- (hexOrOctalConversion): Use it.
- (decimalConversion): New method.
- (format): Use decimalConversion, dateTimeConversion.
- (genericFormat): Upper-case earlier. Justify correctly.
- (singleDateTimeConversion): New method.
- (dateTimeConversion): Likewise.
-
-2005-09-25 Tom Tromey <tromey@redhat.com>
-
- * java/util/Formatter.java (lineSeparator): Use SystemProperties.
+2006-06-04 Tom Tromey <tromey@redhat.com>
-2005-09-24 Tom Tromey <tromey@redhat.com>
-
- * java/util/FormattableFlags.java (PLUS, SPACE, ZERO, COMMA,
- PAREN): New constants.
- * java/util/Formattable.java: New file.
- * java/util/Formatter.java: New file.
-
-2005-08-13 Tom Tromey <tromey@redhat.com>
-
- * java/util/FormattableFlags.java: New file.
-
-2006-06-04 Sven de Marothy <sven@physto.se>
-
- * gnu/java/awt/peer/gtk/GtkComponentPeer.java
- (createVolatileImage): Pass peer to VolatileImage constructor.
- * java/awt/Component.java
- (createVolatileImage): Call peer method directly.
+ * javax/naming/Context.java (list): Genericized.
+ (listBindings): Likewise.
+ * javax/naming/Reference.java (addrs): Genericized.
+ * javax/naming/InitialContext.java (myProps): Fixed type.
+ (init): Genericized.
2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/UnknownFormatFlagsException.java:
Documented.
-2005-08-13 Tom Tromey <tromey@redhat.com>
-
- * java/util/UnknownFormatConversionException.java
- (serialVersionUID): New field.
- (s): Renamed from 'conv' for serialization.
- * java/util/MissingFormatWidthException.java (serialVersionUID):
- New field.
- (s): Renamed from 'width' for serialization.
- * java/util/MissingFormatArgumentException.java
- (serialVersionUID): New field.
- (s): Renamed from 'spec' for serialization.
- * java/util/IllegalFormatWidthException.java (serialVersionUID):
- New field.
- (w): Renamed from 'width' for serialization.
- * java/util/IllegalFormatPrecisionException.java
- (serialVersionUID): New field.
- (p): Renamed from 'precision' for serialization.
- * java/util/IllegalFormatFlagsException.java (serialVersionUID):
- New field.
- * java/util/IllegalFormatConversionException.java
- (serialVersionUID): New field.
- (c): Renamed from 'conv' for serialization.
- (arg): Renamed from 'argClass' for serialization.
- * java/util/IllegalFormatCodePointException.java
- (serialVersionUID): New field.
- (c): Renamed from 'codepoint' for serialization.
- * java/util/FormatFlagsConversionMismatchException.java
- (serialVersionUID): New field.
- (f): Renamed from 'flags' for serialization.
- (c): Renamed from 'conversion' for serialization.
- * java/util/DuplicateFormatFlagsException.java (serialVersionUID):
- New field.
- * java/util/IllegalFormatException.java (serialVersionUID): New
- field.
- * java/util/FormatterClosedException.java (serialVersionUID): New
- field.
+2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
-2005-04-20 Tom Tromey <tromey@redhat.com>
-
- * java/util/DuplicateFormatFlagsException.java: New file.
- * java/util/FormatFlagsConversionMismatchException.java: New file.
- * java/util/FormatterClosedException.java: New file.
- * java/util/IllegalFormatCodePointException.java: New file.
- * java/util/IllegalFormatConversionException.java: New file.
- * java/util/UnknownFormatFlagsException.java: New file.
- * java/util/UnknownFormatConversionException.java: New file.
- * java/util/MissingFormatWidthException.java: New file.
- * java/util/MissingFormatArgumentException.java: New file.
- * java/util/IllegalFormatWidthException.java: New file.
- * java/util/IllegalFormatPrecisionException.java: New file.
- * java/util/IllegalFormatFlagsException.java: New file.
- * java/util/IllegalFormatException.java: New file.
+ * java/lang/System.java:
+ (getenv()): Handle cases where split only
+ returns an array of size 1.
+
+2006-06-04 Sven de Marothy <sven@physto.se>
+ * gnu/java/awt/peer/gtk/GtkComponentPeer.java
+ (createVolatileImage): Pass peer to VolatileImage constructor.
+ * java/awt/Component.java
+ (createVolatileImage): Call peer method directly.
+
2006-06-04 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoSurface.java
(getFlippedBuffer): New method
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
Avoid window casts.
-
-2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/System.java:
- (nanoTime()): Documented.
-
-2006-03-20 Tom Tromey <tromey@redhat.com>
-
- * java/lang/System.java:
- (nanoTime()): Implemented.
-
-2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (precision): Fixed overflow problem with large numbers.
- (longValueExact): New method.
- (intValueExact): Likewise.
- (byteValueExact): Likewise.
- (shortValueExact): Likewise.
-
-2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (remainder(BigDecimal)): New method.
- (divideAndRemainder(BigDecimal)): Likewise.
- (divideToIntegralValue(BigDecimal)): Likewise.
- (floor): New implementation method.
-
-2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (divide(BigDecimal, int, RoundingMode)): New method.
- (divide(BigDecimal, RoundingMode)): Likewise.
- (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
- when the new scale is < 0.
- (setScale(int, RoundingMode)): New method.
- (ulp): Likewise.
-
-2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
- with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
- (add(BigDecimal, MathContext)): New method.
- (subtract(BigDecimal, MathContext)): Likewise.
- (precision): Fixed to correctly handle BigIntegers with more than 19
- digits.
- (pow(int, MathContext)): New method.
-
-2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java: Added @throws clause to constructors.
- (mathContext): Removed this unneeded field.
- (BigDecimal(int, MathContext)): New constructor.
- (BigDecimal(BigInteger, int, MathContext)): Likewise.
- (multiply(BigDecimal, MathContext)): New method.
- (negate(MathContext)): Likewise.
- (plus(MathContext)): Likewise.
- (numDigitsInLong): Fixed to properly handle negatives.
-
-2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (BigDecimal(long, MathContext)): New constructor.
- (BigDecimal(BigInteger, MathContext)): Likewise.
- (BigDecimal(String, MathContext)): Likewise.
- (BigDecimal(double, MathContext)): Likewise.
- (round): Fixed a typo where the precision field was used instead of a
- call to the precision method, and also store the new precision in the
- returned BigDecimal.
- (abs(MathContext)): New method.
-
-2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java
- (toBigInteger): Fixed problem where this method couldn't handle
- negative values for scale.
- (toBigIntegerExact): New method.
- (stripTrailingZeros): Likewise.
-
-2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (toString): Fixed a problem where the negative sign was being displayed
- twice in the exponent.
- (toEngineeringString): New method.
- (toPlainString): Likewise.
- (pow): Likewise.
-
-2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (toString): Rewrote this method to behave as specified. Added API
- comments to explain behaviour.
- (scaleByPowerOfTen): New method.
-
-2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (BigDecimal(char[], int, int, MathContext)): New constructor.
- (BigDecimal(char[], MathContext)): Likewise.
- (BigDecimal(char[])): Likewise.
- (BigDecimal(char[], int, int)): Likewise.
- (BigDecimal(String)): Fixed handling of exponent and scale.
-
-2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/BigDecimal.java:
- (mathContext): New field.
- (precision): Likewise.
- (BigDecimal(int)): New constructor.
- (BigDecimal(long)): Likewise.
- (BigDecimal(BigInteger)): Added API docs.
- (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
- and added API docs.
- (plus): New method.
- (round): Likewise.
- (precision): Likewise.
- (valueOf): Likewise.
- (numDigitsInLong): New implementation method.
-
-2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
-
- * java/math/MathContext.java: New class.
-
2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
* java/lang/annotation/IncompleteAnnotationException.java:
Documented.
-2004-08-07 Tom Tromey <tromey@redhat.com>
-
- * java/lang/annotation/IncompleteAnnotationException.java: New
- file.
+2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * java/lang/ProcessBuilder.java:
+ Documented.
+ (environment): Create as a copy.
+ * java/lang/System.java:
+ (EnvironmentMap.EnvironmentMap(Map<String,String>)):
+ New constructor.
+ (EnvironmentMap.put(String,String)): Override superclass
+ method with checks for nulls and non-Strings.
+
2006-06-02 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
* native/jni/gtk-peer/gtkpeer.h
Remove graphics2d structure.
-2006-05-29 Mark Wielaard <mark@klomp.org>
-
- * java/io/ObjectStreamConstants.java: Removed double declaration
- of SC_ENUM.
-
2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
(AccessibleJMenu.selectAllAccessibleSelection): Implemented.
(createPath): New helper method.
+2006-05-15 Tom Tromey <tromey@redhat.com>
+
+ * java/text/MessageFormat.java (format): Now varargs.
+
+2006-05-15 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/Thread.java (State): Fixed typo.
+
2006-05-15 Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java: Moved inner classes to
Announce inclusion of appletviewer.
* INSTALL: Note gcjwebplugin dependencies.
+2006-05-15 Mark Wielaard <mark@klomp.org>
+
+ * configure.ac (VERSION): Set to 0.91-generics.
+
+2006-05-15 Mark Wielaard <mark@klomp.org>
+
+ * NEWS: Add release date and VMClassLoader.getBootPackages()
+ changes.
+
+2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * README: Added CACAO to list of VMs.
+
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/RepaintManager.java (paintDirtyRegions):
* java/awt/Graphics2D.java: Added some API doc comments.
-2006-05-15 Mark Wielaard <mark@klomp.org>
-
- * NEWS: Add release date and VMClassLoader.getBootPackages()
- changes.
-
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTabbedPane.java
(getPageAttributes): New method.
(setPageable,cancel,isCancelled): Implement.
-2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
-
- * README: Added CACAO to list of VMs.
-
2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JCheckBoxMenuItem.java
* native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
comments.
+2006-05-14 Chris Burdess <dog@gnu.org>
+
+ * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
+ nodes to be preserved during cloneNode.
+
2006-05-14 Mark Wielaard <mark@klomp.org>
PR 27459
* native/jni/java-net/javanet.c (_javanet_accept): Reset the
inherited timeout on socket.
+2006-05-14 Lillian Angel <langel@redhat.com>
+
+ * java/util/SimpleTimeZone.java: Reverted patch.
+ (SimpleTimeZone): Throw exception if startMonth ==
+ endMonth.
+ (SimpleTimeZone): Likewise.
+ (checkRule): Rewritten to properly check all values (more
+ efficently).
+ This code is now more stable, at least less buggy than before.
+ Fixed API documentation.
+ (setStartRule): Moved checkRule call to end.
+ (setStartRule): Likewise.
+ (setEndRule): Likewise.
+ (setEndRule): Likewise.
+
+2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
+ Initialise to -1.
+
+2006-05-14 Robert Schuster <robertschuster@fsfe.org>
+
+ PR classpath/27595
+ * javax/swing/text/AbstractDocument.java:
+ (insertString): Flipped if-expression and its blocks.
+ (remove): Dito.
+ (replace): Flipped if-expression and its blocks, added note, invoke
+ insertString and remove instead of insertStringImpl and removeImpl.
+
2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
2006-05-12 Sven de Marothy <sven@physto.se>
-
+
* gnu/javax/print/CupsServer.java
(CupsServer): Make the Cups host configurable.
* java/lang/System.java: Document the system property.
2006-05-12 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/border/TitledBorder.java
(paintBorder): Rewritten for simplicity and correctness.
(layoutBorderWithTitle): New helper method.
(getRealJustification): Removed.
(getMeasurements): Removed.
(Measurements): Removed.
-
+
2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/plaf/basic/BasicPanelUI.java
(sharedUI): New field,
(createUI): Return a shared instance rather than a new instance,
* gnu/java/awt/font/GNUGlyphVector.java
(GNUGlyphVector): Don't apply the font renderer context's
transform.
-
+
2006-05-11 Mark Wielaard <mark@klomp.org>
* java/util/logging/Logger.java (global): Initialize inside static
PrivilegedAction.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/JFrame.java
(EXIT_ON_CLOSE): Added note to API docs,
(close_action): Renamed closeAction,
(getDefaultCloseOperation): Updated for renamed field, added API docs,
(processWindowEvent): Updated for renamed field,
(setDefaultCloseOperation): Likewise, and updated API docs.
-
+
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/JFrame.java
(paramString): Reimplemented,
* javax/swing/SwingUtilities.java
(convertWindowConstantToString): New method.
-
+
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/WindowConstants.java: Updated API docs.
-
+
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
(createUI): Removed 'final' qualifier for parameter,
(paint): Reformatted.
-
+
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
(createUI): Removed 'final' qualifier on method argument.
-
+
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/plaf/basic/BasicCheckBoxUI.java
(getDefaultIcon): Removed this redundant method.
* java/awt/Component.java:
(dispatchEventImpl): Added comment.
-
-2006-05-11 Mark Wielaard <mark@klomp.org>
-
+
+ 2006-05-11 Mark Wielaard <mark@klomp.org>
+
* tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
Option constructor null argument to String.
-
+
2006-05-11 Mark Wielaard <mark@klomp.org>
* java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
2006-05-10 Roman Kennke <kennke@aicas.com>
- PR 27481
+ PR classpath/27481
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installDefaults): Set background of content pane to null, if
no custom color has been installed by the application yet.
-2006-05-10 Sven de Marothy <sven@physto.se>
-
- * java/awt/print/PrinterJob.java:
- (lookupPrintServices): Un-comment-out.
-
2006-05-10 Roman Kennke <kennke@aicas.com>
+ PR classpath/27481
* javax/swing/JRootPane.java
(createContentPane): Don't set background to null.
+2006-05-10 Sven de Marothy <sven@physto.se>
+
+ * java/awt/print/PrinterJob.java:
+ (lookupPrintServices): Un-comment-out.
+
2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/getopt/OptionGroup.java
2006-05-09 Robert Schuster <robertschuster@fsfe.org>
- Fixed PR24216.
+ PR classpath/24216
* javax/swing/text/AbstractDocument.java:
(insertString): Added more documentation, added argument check.
(remove): Added more documentation.
* javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
(reload(TreeNode)): Implemented.
+2006-04-25 Tom Tromey <tromey@redhat.com>
+
+ * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
+ * javax/swing/tree/VariableHeightLayoutCache.java
+ (getVisiblePathsFrom): Genericized.
+ * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
+ Genericized.
+
2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
(updateClip): New method.
(clipShape): New method.
-2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
- * examples/gnu/classpath/examples/swing/TreeDemo.java:
- (createContent): Added check box to swith between single and
- multiple selection.
- * javax/swing/JTree.java (leadSelectionPath): Removed.
- (addSelectionInterval): Explained. (getLeadSelectionPath):
- Request the path from model. (getPathsBetweenRows): Explained.
- (setLeadSelectionPath): Set the path in model.
- * javax/swing/plaf/basic/BasicTreeUI.java
- (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
- isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
- (MouseHandler.mousePressed): Call selectPathForEvent.
-
-2006-04-23 Roman Kennke <kennke@aicas.com>
-
- * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
-
2006-04-23 Jeroen Frijters <jeroen@frijters.net>
- * NEWS: Added entry about new Package constructor.
* java/lang/Package.java: Added compatibility constructor to ease
VM interface migration.
2006-04-23 Jeroen Frijters <jeroen@frijters.net>
- * NEWS: Added information about annotation support.
- * java/lang/Class.java: Implement AnnotatedElement.
- (equals): Reformatted to match generics branch.
- (getEnumConstants): Implemented.
- (getAnnotation, getAnnotations, getDeclaredAnnotations,
- isAnnotationPresent): Merged from generics branch.
- * vm/reference/java/lang/VMClass.java (getDeclaredAnnotations):
- New method.
+ * java/lang/Class.java (getEnumConstants): Implemented without
+ delegating to VMClass.
+ * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
2006-04-23 Jeroen Frijters <jeroen@frijters.net>
Package constructor.
* java/lang/Package.java (Package): Added ClassLoader argument.
(loader): New field.
- (getAnnotation, getAnnotations, getDeclaredAnnotations,
- isAnnotationPresent): Merged from generics branch.
+ (getDeclaredAnnotations): Implemented without help from VMPackage.
* vm/reference/java/lang/VMClassLoader.java (static): Added argument
to Package constructor.
+ * vm/reference/java/lang/VMPackage.java: Removed.
+
+2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
+
+ * examples/gnu/classpath/examples/swing/TreeDemo.java:
+ (createContent): Added check box to swith between single and
+ multiple selection.
+ * javax/swing/JTree.java (leadSelectionPath): Removed.
+ (addSelectionInterval): Explained. (getLeadSelectionPath):
+ Request the path from model. (getPathsBetweenRows): Explained.
+ (setLeadSelectionPath): Set the path in model.
+ * javax/swing/plaf/basic/BasicTreeUI.java
+ (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
+ isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
+ (MouseHandler.mousePressed): Call selectPathForEvent.
-2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
+2006-04-23 Roman Kennke <kennke@aicas.com>
- * java/lang/ClassLoader
- (defineClass(String,byte[],int,int,ProtectionDomain)):
- Calls VMClassLoader.defineClassWithTransformers instead
- of VMClassLoader.defineClass.
+ * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
Mention changes to VMProcess and VMSystem.
* doc/vmintegration.texinfo:
Change documentation on VMProcess and VMSystem.
- * java/lang/reflect/Modifier.java:
- (toString(int,StringBuilder)): Merged from generics
- branch.
- * vm/reference/java/lang/reflect/Constructor.java
- (toString()): Use StringBuilder.
- (toGenericString()): Likewise.
- * vm/reference/java/lang/reflect/Field.java:
- (toString()): Use StringBuilder.
- (toGenericString()): Likewise.
- * vm/reference/java/lang/reflect/Method.java
- (toString()): Use StringBuilder.
- (toGenericString()): Likewise.
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics.h,
* include/java_lang_VMSystem.h:
Regenerated with GCJ 4.1.
-2005-12-05 Casey Marshall <csm@gnu.org>
-
- * native/jni/classpath/jcl.h (environ): define, or declare
- 'extern.'
- * native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>.
- Remove 'extern' define.
- * native/jni/java-lang/java_lang_VMSystem.c
- (Java_java_lang_VMSystem_environ): don't declare 'environ.'
-
-2005-09-25 Jeroen Frijters <jeroen@frijters.net>
-
- * java/lang/System.java,
- vm/reference/java/lang/VMSystem.java: Removed generic type
- from VMSystem.environ() signature.
-
-2005-05-04 Tom Tromey <tromey@redhat.com>
-
- * native/jni/java-lang/java_lang_VMProcess.c
- (Java_java_lang_VMProcess_nativeSpawn): Added 'redirect'
- argument. Use defines instead of contents.
- * vm/reference/java/lang/VMProcess.java (redirect): New field.
- (spawn): Updated.
- (setProcessInfo): Updated.
- (VMProcess): Added 'redirect' argument.
- (nativeSpawn): Likewise.
- (exec): New overload.
-
-2005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * include/java_lang_VMSystem.h:
- (Java_java_lang_VMSystem_environ): added
- * vm/reference/java/lang/VMSystem.java:
- (environ()): new native method
-
2006-04-22 Casey Marshall <csm@gnu.org>
Fixes PR classpath/27228.
* java/sql/Time.java: Likewise.
* java/sql/Timestamp.java: Likewise.
+2006-04-21 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/lang/reflect/AccessibleObject.java:
+ Implemented AnnotatedElement.
+ (getAnnotation, getAnnotations, getDeclaredAnnotations,
+ isAnnotationPresent): New methods.
+
2006-04-21 Tom Tromey <tromey@redhat.com>
PR classpath/27163:
(SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
checking to call compareTo() on start and end.
-2006-04-21 Jeroen Frijters <jeroen@frijters.net>
-
- * java/lang/reflect/AccessibleObject.java:
- Implemented AnnotatedElement.
- (getAnnotation, getAnnotations, getDeclaredAnnotations,
- isAnnotationPresent): New methods.
-
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/border/AbstractBorder.java: API doc updates,
(createActionMap): Modified actions to fetch slider/ui from the event
source.
-2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
-
- * javax/swing/JToolBar.java
- (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
- (AccessibleJToolBar.getAccessibleStateSet): Implemented,
- (AccessibleJToolBar.getAccessibleRole): Updated API docs,
- (getAccessibleContext): Likewise.
-
2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Enum.java: Documented.
-2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * NEWS:
- Mention merge of instrumentation classes.
- * doc/vmintegration.texinfo:
- Move instrumentation to correct section.
-
2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/InstrumentationImpl.java:
Corrected reference to InstrumentationImpl.
* vm/reference/java/lang/VMInstrumentationImpl.java:
Removed.
-
-2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
-
- * vm/reference/java/lang/VMClassLoader
- (defineClassWithTransformers): New method.
- (instrumenter): New Field.
-
-2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com>
-
- * vm/reference/java/lang/VMInstrumentationImpl.java
- (redefineClasses): Added an extra parameter of type
- java.lang.instrument.Instrument.
- * java/lang/InstrumentationImpl.java
- (redefineClasses): Added the Instrumentation object
- to the arguments of VMInstrumentationImpl.redefineClasses
- call.
-
-2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
- * java/lang/InstrumentationImpl.java:
- New file.
- * vm/reference/java/lang/VMInstrumentationImpl.java:
- New file.
-
-2006-04-17 Jeroen Frijters <jeroen@frijters.net>
-
- * java/util/Collection.java: Implemented java.lang.Iterable.
+2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
-2006-04-17 Jeroen Frijters <jeroen@frijters.net>
+ * java/lang/annotation/Annotation.java:
+ Documented.
+
+2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
- * java/lang/Boolean.java: Implemented Comparable.
- * java/lang/ClassLoader.java
- (getResources): Not final anymore in 1.5.
- * java/lang/Enum.java, java/lang/Iterable.java:
- Copied from generics branch.
- * java/lang/Thread.java (destroy): Marked deprecated.
- * java/lang/ThreadLocal.java (remove): New method.
+ * javax/swing/JToolBar.java
+ (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
+ (AccessibleJToolBar.getAccessibleStateSet): Implemented,
+ (AccessibleJToolBar.getAccessibleRole): Updated API docs,
+ (getAccessibleContext): Likewise.
2006-04-17 Dalibor Topic <robilad@kaffe.org>
(getActionMap): New method,
(createActionMap): New method.
-2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/annotation/Annotation.java:
- Documented.
-
-2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/reflect/AnnotatedElement.java: Documented.
-
-2005-01-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/reflect/AnnotatedElement.java:
- Added import of java.lang.annotation.Annotation
-
-2004-08-26 Tom Tromey <tromey@redhat.com>
-
- * java/lang/reflect/AnnotatedElement.java: New file.
-
-2004-08-07 Tom Tromey <tromey@redhat.com>
-
- * java/lang/annotation/Annotation.java: New file.
-
-2005-12-13 Tom Tromey <tromey@redhat.com>
-
- * java/lang/instrument/ClassDefinition.java: Reformatted.
- * java/lang/instrument/UnmodifiableClassException.java: Reformatted.
- * java/lang/instrument/IllegalClassFormatException.java: Reformatted.
-
-2005-12-13 Tom Tromey <tromey@redhat.com>
-
- * java/lang/instrument/ClassDefinition.java (ClassDefinition): Now
- public.
-
-2005-12-05 Tom Tromey <tromey@redhat.com>
-
- * java/lang/instrument/Instrumentation.java (redefineClasses): Javadoc
- fix.
- * java/lang/instrument/ClassFileTransformer.java (transform): Javadoc
- fix.
-
-2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
-
- * java/lang/instrument: New directory.
- * java/lang/instrument/ClassDefinition.java:
- New file.
- * java/lang/instrument/ClassFileTransformer.java:
- New file.
- * java/lang/instrument/IllegalClassFormatException.java:
- New file.
- * java/lang/instrument/Instrumentation.java:
- New file.
- * java/lang/instrument/UnmodifiableClassException.java:
- New file.
2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
(INDETERMINATE): Added field.
(MANAGES_DESCENDANTS): Likewise.
(TRUNCATED): Likewise.
- * vm/reference/java/lang/reflect/Constructor.java:
- Fixed copyright header to match generics branch.
- * vm/reference/java/lang/reflect/Field.java:
- Fixed copyright header to match generics branch.
- (toGenericString()): Ported from generics branch.
- (getGenericType()): Likewise.
- (getSignature()): Likewise.
+
+2006-04-14 Tom Tromey <tromey@redhat.com>
+
+ * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
+ Genericized.
+ * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
+ Genericized.
2006-04-14 Robert Schuster <robertschuster@fsfe.org>
(AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
(AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
+2006-04-10 Tom Tromey <tromey@redhat.com>
+
+ * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
+ Fixed parameter bounds.
+
2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/crypto/assembly/Assembly.java,
(getInputStream): Override available function for
InflaterInputStream instance.
-2006-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * gnu/java/lang/reflect/ClassSignatureParser.java,
- * gnu/java/lang/reflect/FieldSignatureParser.java,
- * gnu/java/lang/reflect/GenericSignatureParser.java,
- * gnu/java/lang/reflect/MethodSignatureParser.java,
- * gnu/java/lang/reflect/TypeImpl.java,
- * java/lang/Class.java,
- * java/lang/reflect/GenericDeclaration.java,
- * java/lang/reflect/MalformedParameterizedTypeException.java,
- * java/lang/reflect/TypeVariable.java,
- * java/util/Arrays.java,
- * vm/reference/java/lang/VMClass.java,
- * vm/reference/java/lang/reflect/Constructor.java,
- * vm/reference/java/lang/reflect/Method.java:
- Incorporate changes from the generics branch.
-
-2005-10-01 Jeroen Frijters <jeroen@frijters.net>
-
- * vm/reference/java/lang/reflect/Constructor.java
- (getSignature): New method.
- (getGenericExceptionTypes): New method.
- (getGenericParameterTypes): New method.
- * vm/reference/java/lang/reflect/Method.java
- (getSignature): New method.
- (getGenericExceptionTypes): New method.
- (getGenericParameterTypes): New method.
- (getGenericReturnType): New method.
-
-2005-09-30 Jeroen Frijters <jeroen@frijters.net>
-
- * gnu/java/lang/reflect/FieldSignatureParser.java: New file.
- * gnu/java/lang/reflect/ClassSignatureParser.java,
- gnu/java/lang/reflect/GenericSignatureParser.java,
- gnu/java/lang/reflect/MethodSignatureParser.java:
- Finished implementation.
-
-2005-09-25 Jeroen Frijters <jeroen@frijters.net>
-
- * gnu/java/lang/reflect/ClassSignatureParser.java,
- gnu/java/lang/reflect/GenericSignatureParser.java,
- gnu/java/lang/reflect/MethodSignatureParser.java: New files.
- * java/lang/Class.java
- (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
- Implemented.
- * vm/reference/java/lang/VMClass.java
- (getSimpleName, getDeclaredAnnotations, getCanonicalName,
- getEnclosingClass, getEnclosingConstructor, getEnclosingMethod,
- isAnonymousClass, isLocalClass, isMemberClass):
- Removed generic types from signatures.
- (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
- Removed.
- (getClassSignature): New method.
- * vm/reference/java/lang/reflect/Constructor.java
- (getTypeParameters): Implemented.
- * vm/reference/java/lang/reflect/Method.java
- (getTypeParameters, getSignature): New methods.
-
-2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/Class.java:
- (asSubclass(Class)): Documented.
- (getCanonicalName()): Implemented.
- (getEnclosingClass()): Implemented.
- (getEnclosingConstructor()): Implemented.
- (getEnclosingMethod()): Implemented.
- (getGenericInterfaces()): Implemented.
- (getGenericSuperclass()): Implemented.
- (getTypeParameters()): Implemented.
- (isAnonymousClass()): Implemented.
- (isLocalClass()): Implemented.
- (isMemberClass()): Implemented.
- * vm/reference/java/lang/VMClass.java:
- (getSuperClass(Class<?>)): Updated return type.
- (getSimpleName(Class<?>)): Use VM methods directly.
- (getCanonicalName(Class<?>)): Implemented.
- (getEnclosingClass(Class<?>)): New native method.
- (getEnclosingConstructor(Class<?>)): New native method.
- (getEnclosingMethod(Class<?>)): New native method.
- (getGenericInterfaces(Class<?>)): New native method.
- (getGenericSuperclass(Class<?>)): New native method.
- (getTypeParameters(Class<T>)): New native method.
- (isAnonymousClass(Class<?>)): New native method.
- (isLocalClass(Class<?>)): New native method.
- (isMemberClass(Class<?>)): New native method.
- * vm/reference/java/lang/reflect/Constructor.java:
- (getTypeParameters()): Changed to native method.
-
-2005-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/Class.java:
- (getSimpleName()): Implemented.
- * vm/reference/java/lang/VMClass.java:
- (getSimpleName()): Reference implementation.
-
-2005-04-20 Tom Tromey <tromey@redhat.com>
-
- * java/util/Arrays.java (hashCode): New methods.
- (deepHashCode): New method.
- (deepEquals): Likewise.
- (toString): New methods.
- (deepToString): New method.
-
-2005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/Class.java:
- (isEnum()): New method implemented.
- (isSynthetic()): New method implemented.
- (isAnnotation()): New method implemented.
- * vm/reference/java/lang/VMClass.java:
- (isEnum()): New native method.
- (isSynthetic()): New native method.
- (isAnnotation()): New native method.
-
-2005-03-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
- * java/lang/Class.java:
- Implements java.lang.reflect.Type
-
2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
(Logger): Set parent to root.
(setParent): Directly check root field.
+2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/util/Collections.java:
+ (binarySearch(List, T)): Fixed signature.
+ (unmodifiableList(List)): Likewise.
+ (UnmodifiableList(List)): Fixed constructor.
+ (UnmodifiableRandomAccessList(List)): Likewise.
+ (unmodifiableMap(Map)): Fixed signature.
+ (UnmodifiableMap(Map)): Fixed constructor.
+ (unmodifiableSortedMap(Map)): Fixed signature.
+ (UnmodifiableSortedMap(Map)): Fixed constructor.
+
+2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/io/ObjectOutputStream.java:
+ (writeObject(Object)): Added enum support.
+ (writeClassDescriptor(ObjectStreamClass)): Likewise.
+ * java/io/ObjectStreamClass.java:
+ (isEnum()): New package-private method.
+ (setFlags(Class)): Added enum support.
+ * java/io/ObjectStreamConstants.java:
+ (SC_ENUM): Added.
+
2006-04-02 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Segment.java:
component after the removal.
(removeAll): Set selection to -1 before removing the tabs.
+2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/io/ObjectInputStream.java:
+ (parseContent(byte)): Added enum support.
+ * java/io/ObjectStreamConstants.java:
+ (TC_ENUM): Added.
+ (TC_MAX): Changed to new maximum, TC_ENUM.
+
2006-03-29 Lillian Angel <langel@redhat.com>
Partial fix for bug #26929
(paintRightTabBorder): Likewise.
(installDefaults): Fetch tabsOpaque property from the UIDefaults.
+2006-03-27 Tom Tromey <tromey@redhat.com>
+
+ PR classpath/25189:
+ * java/lang/Enum.java (valueOf): Ensure that the named field
+ is an enum constant.
+ (compareTo): Check class of enum.
+
+2006-03-27 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/reflect/ParameterizedType.java: Javadoc fix.
+
+2006-03-27 Tom Tromey <tromey@redhat.com>
+
+ * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
+ New constant.
+ (getModifiersInternal): Renamed from getModifiers.
+ (getModifiers): New method.
+ (isBridge): Likewise.
+ (isSynthetic): Likewise.
+ (isVarArgs): Likewise.
+ * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
+ New constant.
+ (getModifiersInternal): Renamed from getModifiers.
+ (getModifiers): New method.
+ (isSynthetic): Likewise.
+ (isEnumConstant): Likewise.
+ * vm/reference/java/lang/reflect/Constructor.java
+ (getModifiersInternal): Renamed from getModifiers.
+ (getModifiers): New method
+ (CONSTRUCTOR_MODIFIERS): New constant.
+ (isSynthetic): New method.
+ (isVarArgs): Likewise.
+ * java/lang/reflect/Member.java (isSynthetic): New method.
+
+2006-03-28 Tom Tromey <tromey@redhat.com>
+
+ * java/net/Proxy.java (TYPE): Added missing ";".
+
2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
- * java/rmi/activation/ActivationGroup_Stub.java:
- Made final.
+ * java/math/RoundingMode.java:
+ Fixed serialization UID.
+ * java/net/Proxy.java:
+ (Type): Likewise.
2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
(append(char)): Documented.
(append(CharSequence)): Likewise.
(append(CharSequence,int,int)): Likewise.
+
+2006-03-27 Jeroen Frijters <jeroen@frijters.net>
+
+ * vm/reference/java/lang/reflect/Constructor.java
+ (getTypeParameters): Check return value of getSignature for null.
+ * vm/reference/java/lang/reflect/Method.java
+ (getTypeParameters): Check return value of getSignature for null.
+2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/rmi/activation/ActivationGroup_Stub.java:
+ Made final.
+
2006-03-27 Tom Tromey <tromey@redhat.com>
* java/io/CharArrayWriter.java (append): New overloads.
NotImplementedException,
(AccessibleJSlider.getAccessibleValue): Updated API docs.
-2006-03-26 Tom Tromey <tromey@redhat.com>
+2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/ProcessBuilder.java:
+ Made final.
+
+2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
- * NEWS: Updated.
- * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
- New constant.
- (getModifiersInternal): Renamed from getModifiers.
- (getModifiers): New method.
- (isBridge): Likewise.
- (isSynthetic): Likewise.
- (isVarArgs): Likewise.
- * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
- New constant.
- (getModifiersInternal): Renamed from getModifiers.
- (getModifiers): New method.
- (isSynthetic): Likewise.
- (isEnumConstant): Likewise.
- * vm/reference/java/lang/reflect/Constructor.java
- (getModifiersInternal): Renamed from getModifiers.
- (getModifiers): New method
- (CONSTRUCTOR_MODIFIERS): New constant.
- (isSynthetic): New method.
- (isVarArgs): Likewise.
- * java/lang/reflect/Member.java (isSynthetic): New method.
+ * gnu/java/net/protocol/http/Headers.java:
+ Match layout of file on HEAD.
+ * gnu/javax/swing/text/html/parser/htmlValidator.java:
+ Likewise.
+ * java/awt/datatransfer/DataFlavor.java
+ Likewise.
2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
(setComponent): Fire PropertyChangeEvent,
(setTipText): Likewise.
+2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/util/Formatter.java:
+ Make the class final.
+
+2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * java/lang/System.java:
+ (nanoTime()): Documented.
+ * java/lang/Thread.java:
+ (setUncaughtExceptionHandler(UncaughtExceptionHandler):
+ Added docs and security check.
+ (getUncaughtExceptionHandler()): Documented.
+ (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
+ Added docs and security check.
+ (getDefaultUncaughtExceptionHandler()): Documented.
+ (getId()): Documented.
+ (Thread.State): Documented.
+ * vm/reference/gnu/classpath/Unsafe.java:
+ Documented.
+ (getUnsafe()): Updated to handle security.
+
+2006-03-20 Tom Tromey <tromey@redhat.com>
+
+ * java/lang/System.java:
+ (nanoTime()): Implemented.
+ * java/lang/Thread.java:
+ (getId()): Implemented.
+ * java/util/AbstractMap.java:
+ (SimpleImmutableEntry): New 1.6 class.
+ (BasicMapEntry): Modified to be SimpleEntry.
+ * java/util/Collections.java:
+ Modified to use SimpleEntry.
+ * java/util/EnumMap.java: Likewise.
+ * java/util/HashMap.java: Likewise.
+ * java/util/Hashtable.java: Likewise.
+ * java/util/TreeMap.java: Likewise.
+ * vm/reference/gnu/classpath/Unsafe.java:
+ New class to handle low-level facilities for concurrency.
+ * vm/reference/java/lang/VMSystem.java:
+ (nanoTime()): Implemented.
+
2006-03-20 Tom Tromey <tromey@redhat.com>
* java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
* javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
* javax/swing/tree/TreePath.java: Likewise.
+2006-03-13 Tom Tromey <tromey@redhat.com>
+
+ * javax/swing/text/html/StyleSheet.java (removeAttributes):
+ Genericized.
+ * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
+ * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
+
2006-03-13 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
* .classpath: added exclude pattern on source folders
(Makefiles, README and .cvsignore)
+2006-03-08 Michael Koch <konqueror@gmx.de>
+
+ * java/net/Proxy.java (NO_PROXY): Made final.
+ (equals): Likewise.
+ (hashCode): Likewise.
+
2006-03-08 Keith Seitz <keiths@redhat.com>
* vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
(InetSocketAddress(String,int)): Use new private constructor.
(createUnresolved): New method.
+2006-03-07 Michael Koch <konqueror@gmx.de>
+
+ * gnu/java/net/DefaultProxySelector.java,
+ java/net/Proxy.java, java/net/ProxySelector.java:
+ New files.
+
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/UID.java (constructor): Assign last and time fields
after pause.
-2006-03-07 Tom Tromey <tromey@redhat.com>
-
- * java/lang/System.java (clearProperty): New method, merged from
- generics branch.
- (getProperty): Removed 'else'.
- (getProperty): Check for empty key.
- (setProperty): Likewise.
- * gnu/classpath/SystemProperties.java (remove): New method, merged
- from generics branch.
-
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/UID.java: New file (replacing).
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/UnicastRef.java,
- gnu/java/rmi/server/UnicastServer.java: Formatted.
-
+ * gnu/java/rmi/server/UnicastServer.java: Formatted.
+
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
- * gnu/java/rmi/server/CombinedClassLoader.java (findClass,
- findLibrary, findResouce, findResources): check all loaders in
- array.
-
+ * gnu/java/rmi/server/CombinedClassLoader.java
+ (findClass, findLibrary, findResouce, findResources): check
+ all loaders in array.
+
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
- PR 25526
- * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
- (RefProtector): new inner class. (dirty): Rewritten.
+ PR 25526
+ * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
+ (RefProtector): new inner class. (dirty): Rewritten.
* gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
new methods. (readExternal): Create LeaseRenewingTask if non local.
- * gnu/java/rmi/server/UnicastServer.java (objects):
- Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
+ * gnu/java/rmi/server/UnicastServer.java (objects):
+ Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
(getExported): New method.
* gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
-
+
2006-03-06 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/announce/20060306.wml: New file.
* doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
* doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
-
-2006-03-06 Mark Wielaard <mark@klomp.org>
-
- * NEWS: Fix typo.
-
+
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
- (initComponentDefaults): Use Boolean.TRUE for
- 'CheckBoxMenuItem.borderPainted'.
+ (initComponentDefaults): Use Boolean.TRUE for
+ 'CheckBoxMenuItem.borderPainted'.
+
+2006-03-06 Wolfgang Baer <WBaer@gmx.de>
-2006-03-06 Lillian Angel <langel@redhat.com>
+ * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
+ (dateFormat): Made private.
+ (put): Replace only the last occurance and the value.
+ (putAll): Reimplemented with the put method.
- PR classpath/26569
+2006-03-06 Lillian Angel <langel@redhat.com>
+
+ PR classpath/26569
* java/awt/List.java
- (preferredSize): Return the size of the list if the peer is null.
+ (preferredSize): Return the size of the list if the peer is
+ null.
* gnu/java/awt/peer/gtk/GtkListPeer.java
- (preferredSize): Code was returning the minimum size of the list.
- Added adjustment to the width of the list so it is a proper size.
-
+ (preferredSize): Code was returning the minimum size of the
+ list. Added adjustment to the width of the list so it is a
+ proper size.
+
2006-03-06 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
(getRequestProperty): Remove duplicated null check.
- * java/net/URLConnection.java:
+ * java/net/URLConnection.java:
(URLConnection): Javadoc fix.
(addRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(getRequestProperty): Likewise.
(setDefaultRequestProperty): Likewise.
(setRequestProperty): Likewise.
-
+
+2006-03-06 Robert Schuster <robertschuster@fsfe.org>
+
+ * examples/gnu/classpath/examples/swing/TextArea.java: New file.
+ * examples/gnu/classpath/examples/swing/Demo.java:
+ (mkButtonBar): Changed layout manager to GridLayout, added entry for
+ textarea example.
+ (mkMenuBar): Added entry for text area example.
+
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
(FORMATTED_TEXT_FIELD): Likewise.
-
+
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthPainter.java: Finished.
-
-2006-03-06 Mark Wielaard <mark@klomp.org>
-
- Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
- * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
- (isnan): Define explicitly isnan if it is not a macro.
-
-2006-03-06 Anthony Balkissoon <abalkiss@redhat.com>
-
- * NEWS: Fixed typo.
-
+
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Added menu entry that will display the VM's name,
version and distributor.
-
+
2006-03-06 Tom Tromey <tromey@redhat.com>
-
+
* javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
Javadoc fix.
(getName): Likewise.
+
+2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
-2006-03-06 Mark Wielaard <mark@klomp.org>
-
- * configure.ac (VERSION): Set to 0.91-pre.
- * NEWS: Add updates for 0.90 release.
-
-2006-03-06 Robert Schuster <robertschuster@fsfe.org>
-
- * javax/swing/text/PlainDocument.java: Fix copyright header,
- added author tags.
- (insertUpdate): Do not copy the whole document any more, added some
- more variables to prevent needless method calls.
-
-2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
-
- * configure.ac: Check for FREETYPE2. This is a reverted patch and
- is required on Darwin.
- * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
- (AM_CFLAGS): Likewise.
-
+ * java/util/jar/Manifest.java: Removed unused imports.
+ (CRLF): New constant.
+ (read): Added method documentation.
+ Use UTF-8 encoding instead of 8859_1.
+ (write): Added method documentation.
+ Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
+ (write_main_section): Replace PrintWriter arg with OutputStream.
+ Replace JarException with IOException.
+ (write_version_info): Likewise.
+ (write_main_attributes): Likewise.
+ (write_attribute_entry): Likewise.
+ (write_individual_sections): Likewise.
+ (write_entry_attributes): Likewise.
+ (write_header): Replace PrintWriter arg with OutputStream.
+ Re-implemented.
+
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
+
* javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
- API doc tag warnings,
+ API doc tag warnings,
* javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
2006-03-06 Dalibor Topic <robilad@kaffe.org>
* gnu/java/net/protocol/file/Connection.java (unquote):
- Update position in buffer after decoding a unicode character
- outside of the basic plane.
+ Update position in buffer after decoding a unicode character
+ outside of the basic plane.
+
+2006-03-06 Dalibor Topic <robilad@kaffe.org>
+ * java/net/URI.java
+ (quote): Pass Unicode characters outside the basic plane through.
+
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/plaf/basic/BasicTextUI.java:
(damageRange): Rewritten if-expressions to correctly identify the
- break condition.
+ break condition.
-2006-03-06 Robert Schuster <robertschuster@fsfe.org>
+2006-03-06 Mark Wielaard <mark@klomp.org>
- * javax/swing/text/DefaultCaret.java:
- (mouseDragged): Do selection when shift is pressed.
- (mouseClicked): Implemented.
+ * configure.ac: Set version to 0.90-generics.
+ * NEWS: Fix typos.
-2006-03-06 Dalibor Topic <robilad@kaffe.org>
+2006-03-06 Mark Wielaard <mark@klomp.org>
+
+ Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
+ * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
+ (isnan): Define explicitly isnan if it is not a macro.
+
+2006-03-06 Robert Schuster <robertschuster@fsfe.org>
- * libraries/javalib/external/classpath/java/net/URI.java (quote):
- Pass Unicode characters outside the basic plane through.
+ * javax/swing/text/GapContent.java:
+ (insertString): Throw exception when argument is below
+ zero.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
code to generate another Element when newly inserted characters
and old ones will be on the same line.
+2006-03-06 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/text/DefaultCaret.java:
+ (mouseDragged): Do selection when shift is pressed.
+ (mouseClicked): Implemented.
+
+2006-03-06 Robert Schuster <robertschuster@fsfe.org>
+
+ * javax/swing/text/PlainDocument.java: Fix copyright header,
+ added author tags.
+ (insertUpdate): Do not copy the whole document any more, added some
+ more variables to prevent needless method calls.
+
+2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac: Check for FREETYPE2. This is a reverted patch and
+ is required on Darwin.
+ * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
+ (AM_CFLAGS): Likewise.
+
+2006-03-06 Mark Wielaard <mark@klomp.org>
+
+ * NEWS: Add updates for 0.90 release.
+
2006-03-05 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
- * javax/swing/plaf/metal/MetalComboBoxButton.java
- (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
- JList)): Fixed API doc tag,
- * javax/swing/plaf/metal/MetalInternalFrameTitlePane
- (createLayout): Fixed API doc warning.
+
+ * javax/swing/filechooser/FileFilter.java:
+ (accept): Fixed API doc tag,
+ (getDescription): Likewise,
+ * javax/swing/filechooser/FileView.java:
+ (isTraversable): Fixed API doc tag.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
- * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
- * javax/swing/FocusManager.java: Likewise.
+ * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
+ added API docs all over.
+
+2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
+
+ * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
+ and corrected a bad API doc tag.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
- * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
- and corrected a bad API doc tag.
-
-2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
+ * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
+ * javax/swing/FocusManager.java: Likewise.
- * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
- added API docs all over.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
- * javax/swing/filechooser/FileFilter.java:
- (accept): Fixed API doc tag,
- (getDescription): Likewise,
- * javax/swing/filechooser/FileView.java:
- (isTraversable): Fixed API doc tag.
-
+
+ * javax/swing/plaf/metal/MetalComboBoxButton.java
+ (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
+ JList)): Fixed API doc tag,
+ * javax/swing/plaf/metal/MetalInternalFrameTitlePane
+ (createLayout): Fixed API doc warning.
+
2006-03-05 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/reflect/Constructor.java (toString): Use
- ClassHelper.getUserName.
+ ClassHelper.getUserName.
* vm/reference/java/lang/reflect/Method.java (toString): Use
ClassHelper.getUserName.
(getUserTypeName): Removed.
2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
Fixes PR 22813
- * java/net/URLClassLoader.java (FileURLLoader.getResource):
+ * java/net/URLClassLoader.java (FileURLLoader.getResource):
Allows directories as valid resources.
-2006-03-04 Mark Wielaard <mark@klomp.org>
+2006-03-05 Mark Wielaard <mark@klomp.org>
- * configure.ac (VERSION): Set to 0.90-pre.
+ * configure.ac (VERSION): Set to 0.90-pre-generics.
+ * Merge with CVS trunk from classpath-0_90-branch-point.
2006-03-04 Tom Tromey <tromey@redhat.com>
(decodePublicKey): Added logging.
Handle optional NULL element.
-2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
+2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
+
+ * java/util/logging/FileHandler.java: Fixed a javadoc reference.
+
+2006-03-03 Tom Tromey <tromey@redhat.com>
+
+ * java/awt/MenuBar.java (shortcuts): Genericized.
+
+2006-03-03 Tom Tromey <tromey@redhat.com>
+
+ * java/beans/EventSetDescriptor.java (EventSetDescriptor):
+ Genericized.
+ (getListenerType): Likewise.
+ * java/beans/Introspector.java (getBeanInfo): Genericized.
+ * java/beans/DefaultPersistenceDelegate.java (initialize):
+ Genericized.
+
+2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (precision): Fixed overflow problem with large numbers.
+ (longValueExact): New method.
+ (intValueExact): Likewise.
+ (byteValueExact): Likewise.
+ (shortValueExact): Likewise.
+
+2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (remainder(BigDecimal)): New method.
+ (divideAndRemainder(BigDecimal)): Likewise.
+ (divideToIntegralValue(BigDecimal)): Likewise.
+ (floor): New implementation method.
+
+2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (divide(BigDecimal, int, RoundingMode)): New method.
+ (divide(BigDecimal, RoundingMode)): Likewise.
+ (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
+ when the new scale is < 0.
+ (setScale(int, RoundingMode)): New method.
+ (ulp): Likewise.
+
+2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
- * java/util/logging/FileHandler.java: Fixed a javadoc reference.
+ * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
+ with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
+ (add(BigDecimal, MathContext)): New method.
+ (subtract(BigDecimal, MathContext)): Likewise.
+ (precision): Fixed to correctly handle BigIntegers with more than 19
+ digits.
+ (pow(int, MathContext)): New method.
-2006-02-25 Chris Burdess <dog@gnu.org>
+2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
+ * java/math/BigDecimal.java: Added @throws clause to constructors.
+ (mathContext): Removed this unneeded field.
+ (BigDecimal(int, MathContext)): New constructor.
+ (BigDecimal(BigInteger, int, MathContext)): Likewise.
+ (multiply(BigDecimal, MathContext)): New method.
+ (negate(MathContext)): Likewise.
+ (plus(MathContext)): Likewise.
+ (numDigitsInLong): Fixed to properly handle negatives.
+
+2006-02-25 Chris Burdess <dog@gnu.org>
+
* gnu/java/net/CRLFInputStream.java,
gnu/java/net/LineInputStream.java: Streams that use mark
capabilities on the underlying stream do not expose mark
manipulating an array of icharacter positions which _match has
already visited.
+2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (BigDecimal(long, MathContext)): New constructor.
+ (BigDecimal(BigInteger, MathContext)): Likewise.
+ (BigDecimal(String, MathContext)): Likewise.
+ (BigDecimal(double, MathContext)): Likewise.
+ (round): Fixed a typo where the precision field was used instead of a
+ call to the precision method, and also store the new precision in the
+ returned BigDecimal.
+ (abs(MathContext)): New method.
+
+2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java
+ (toBigInteger): Fixed problem where this method couldn't handle
+ negative values for scale.
+ (toBigIntegerExact): New method.
+ (stripTrailingZeros): Likewise.
+
2006-02-24 David Daney <ddaney@avtrex.com>
PR classpath/26082
(maxConnections) : Removed.
(GetHTTPPropertiesAction.run): Don't initialize maxConnections.
(getConnection): Moved pool management logic to HTTPConnection.Pool.
-
+
2006-02-24 Lillian Angel <langel@redhat.com>
-
+
* java/awt/Container.java:
Added new field. True if Container has been cleared and
heavyweights need to be repainted.
reset backCleared.
(update): Set backCleared to true after the background
of the container has been cleared.
-
+
2006-02-24 Lillian Angel <langel@redhat.com>
-
+
* java/awt/TextField.java
(addNotify): Added call to super.
-
+
2006-02-24 Lillian Angel <langel@redhat.com>
-
- * java/awt/Component.java
+
+ * java/awt/Component.java
(reshape): Reverted last patch. Should have check here.
(addNotify): Added check. If parent is lightweight, then
initialize listener on the parent.
(HeavyweightInLightweightListener): New class.
-
+
2006-02-24 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicComboPopup.java
(show): Register the popup with the autocloser after it has been
opened completely, by putting the registration on the eventqueue.
-
+
2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
+
* gnu/java/security/prng/BasePRNG.java:
(clone()): Added cast of buffer to byte[].
* gnu/javax/crypto/mac/TMMH16.java:
Added missing defines from old fdlibm.h needed by Darwin.
(GET_FLOAT_WORD(i,d)): Re-added.
(SET_FLOAT_WORD(d,i)): Re-added.
-
+
2006-02-24 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Container.java:
(dispatcher): Removed field.
(dispatchEventImpl): Removed lightweight dispatching.
* java/awt/Toolkit.java
(Toolkit): Install LightweightDispatcher in global listener
array.
-
+
2006-02-24 Chris Burdess <dog@gnu.org>
-
+
Fixes PR 26324
* gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
off > 0.
-
+
2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
+
* NEWS: Mentions the VMMath runtime changes.
* doc/vmintegration.texinfo: Updated to include
VMMath.
-
+
2006-02-24 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicLookAndFeel.java
(PopupHelper.autoClosePopups): New field.
(PopupHelper.mousePressed): Also autoclose any registered popups.
(registerForAutoClose): New method.
* javax/swing/plaf/basic/BasicComboPopup.java
(show): Register this popup for autoclosing.
-
+
2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/javax/crypto/mac/TMMH16.java (clone): New method.
* gnu/java/security/prng/MDGenerator.java (clone): New method.
* gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
-
+
2006-02-24 Roman Kennke <kennke@aicas.com>
-
+
Reported by Ingo Proetel <proetel@aicas.com>
* java/util/logging/LogManager.java
(addLogger): Search the parent loggers for log level
(readConfiguration): Provide minimal default configuration
if no configuration can be found otherwise.
-2006-02-23 Roman Kennke <kennke@aicas.com>
+2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (toString): Fixed a problem where the negative sign was being displayed
+ twice in the exponent.
+ (toEngineeringString): New method.
+ (toPlainString): Likewise.
+ (pow): Likewise.
+
+2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (toString): Rewrote this method to behave as specified. Added API
+ comments to explain behaviour.
+ (scaleByPowerOfTen): New method.
+2006-02-23 Roman Kennke <kennke@aicas.com>
+
* javax/swing/JRootPane.java
(isOptimizedDrawingEnabled): Implemented to return true
when the glassPane is not visible.
-
+
2006-02-23 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicLookAndFeel.java
(PopupHelper): New inner class.
(popupHelper): New field.
* java/awt/Graphics.java
(hitClip): Scott's proposed fix. Added check to handle a
null clip.
-
+
2006-02-23 Wolfgang Baer <WBaer@gmx.de>
-
+
* javax/print/attribute/standard/MediaSize.java:
(media): Field renamed to mediaName for serialization.
(MediaSize): Adapted to new fieldname.
(hashCode): Likewise.
(getHeight): Likewise.
(getWidth): Likewise.
-
+
2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
+
* include/java_lang_VMMath.h:
(Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
(toString): Reimplemented.
(readObject): New method for serialization.
(writeObject): Likewise.
-
+
2006-02-23 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/RepaintManager.java
(commitBuffer): Clip the repaint area with the current clip.
-
+
2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
(DEFAULT_PRIME_SIZE): Made public.
(DEFAULT_EXPONENT_SIZE): Likewise.
(engineGeneratePublic): Likewise.
* gnu/javax/crypto/DiffieHellmanImpl: Removed.
+2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/BigDecimal.java:
+ (BigDecimal(char[], int, int, MathContext)): New constructor.
+ (BigDecimal(char[], MathContext)): Likewise.
+ (BigDecimal(char[])): Likewise.
+ (BigDecimal(char[], int, int)): Likewise.
+ (BigDecimal(String)): Fixed handling of exponent and scale.
+
2006-02-22 Mark Wielaard <mark@klomp.org>
* java/awt/Checkbox.java (setState): Check that state actually changed
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(postItemEventID): Method now takes boolean.
(item_toggled_cb): Likewise.
-
+
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/DefaultHighlighter.java:
(changeHighlight): Added code to minimize the damaged area.
-
+
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/PlainView.java:
(getPreferredSpan): Added missing 'break'.
statement which corrects an unwanted fall through.
removed, call preferenceChanged accordingly.
(viewToModel): Restrict line number to be within 0 and the
number of elements-1.
-
+
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/Utilities.java:
(getPositionAbove): Prefer first value by changing comparison
from < to <=.
(getPositionBelow): Dito.
-
+
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/DefaultEditorKit.java: Added checks and fallback
behavior when magic caret position is null.
-
+
2006-02-22 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JTextField.java
(isValidateRoot): New method.
-
+
2006-02-22 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JEditorPane.java
(getPreferredSize): Rewritten to behave like the reference impl.
(getScrollableTracksViewportWidth): Likewise.
(getScrollableTracksViewportHeight): Likewise.
-
+
2006-02-22 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/RepaintManager.java
(addInvalidComponent): Also consider the component itself.
-
+
2006-02-22 Mark Wielaard <mark@klomp.org>
-
+
* javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
qualify AbstractDocument.AttributeContext.
(blockOpen): Likewise.
+
+2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
-2006-02-21 Mark Wielaard <mark@klomp.org>
+ * java/math/BigDecimal.java:
+ (mathContext): New field.
+ (precision): Likewise.
+ (BigDecimal(int)): New constructor.
+ (BigDecimal(long)): Likewise.
+ (BigDecimal(BigInteger)): Added API docs.
+ (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
+ and added API docs.
+ (plus): New method.
+ (round): Likewise.
+ (precision): Likewise.
+ (valueOf): Likewise.
+ (numDigitsInLong): New implementation method.
+
+2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
+
+ * java/math/MathContext.java: New class.
+ * java/math/RoundingMode: New Enum.
+2006-02-21 Mark Wielaard <mark@klomp.org>
+
* java/awt/Component.java (translateEvent): Translate
AdjustmentEvents to 1.0 Events.
* java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
-
+
2006-02-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/View.java
(setParent): Set child parent to null when disconnecting
the view from the View hierarchy.
-
+
2006-02-21 Wolfgang Baer <WBaer@gmx.de>
-
+
* javax/print/StreamPrintService.java: Added and enhanced documentation.
-
+
2006-02-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/WrappedPlainView.java
(calculateBreakPosition): Changed to use the view's allocation instead
of the container's preferredSize.
-
+
2006-02-21 Wolfgang Baer <WBaer@gmx.de>
-
+
* java/awt/CardLayout.java:
(first): Updated api documentation.
(last): Likewise.
IllegalArgumentException if layout of container is not this.
(gotoComponent): Updated api documentation. Throw
IllegalArgumentException if layout of container is not this.
-
+
2006-02-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/NavigationFilter.java
(getNextVisualPositionFrom): New method.
-
+
2006-02-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.setView): Call setParent() on the view with this as
argument instead of null.
(setView): Don't set root view's parent here.
-
+
2006-02-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/AbstractDocument.java
(AbstractElement.getAttribute): Use getResolveParent() to fetch
the resolving parent.
* javax/swing/text/html/InlineView.java
(setPropertiesFromAttributes): Call super.
* javax/swing/text/html/NullView.java: New class.
-
+
2006-02-21 Roman Kennke <kennke@aicas.com>
-
+
PR classpath/26368
* javax/swing/text/GapContent.java
(GapContentPosition): Made class private.
positions.
(dumpPositions): Handle WeakReference positions.
(clearPositionReferences): New method.
-
+
2006-02-21 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/plaf/basic/BasicTextUI.java:
(paint): Remove unneccessary part of the if-expression.
(damageRange): Added case where the range spans multiple lines.
(ENDSIG): Likewise.
* java/util/zip/ZipOutputStream.java
(writeLeInt(long)): New method.
-
+
2006-02-21 Michael Koch <konqueror@gmx.de>
-
+
* gnu/javax/net/ssl/provider/PRNG.java: Removed.
-
+
2006-02-20 Mark Wielaard <mark@klomp.org>
-
+
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(begin_drawing_operation): Output stacktrace and return on bad cairo
status.
(end_drawing_operation): Likewise. And reset cairo_t.
-
+
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/DefaultEditorKit.java: Fixed comparison
in backward selection action.
-
+
2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
-
+
* java/lang/reflect/Proxy.java:
(ProxyData.getProxyData): Skipped overriding of core methods.
(ProxyData.isCoreObjectMethod): New method.
-
+
2006-02-20 Mark Wielaard <mark@klomp.org>
-
+
* gnu/java/nio/charset/Provider.java (Provider): Package private.
-
+
2006-02-20 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/html/Option.java: New class.
-
+
2006-02-20 Lillian Angel <langel@redhat.com>
-
+
* java/swt/Window.java
(show): Calling show() on the owned windows caused problems.
Changed back to get the peer and call setVisible.
-
+
2006-02-20 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(damageRange): Implemented this method.
-
+
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/GapContent.java:
(shiftGapEndUp): Corrected new mark value.
* javax/swing/text/AbstractDocument.java:
(remove): Changed order of operations.
-
+
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/GapContent.java:
(shiftGapEndUp): Reverted.
* javax/swing/text/AbstractDocument.java:
(remove): Reverted.
-
+
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/GapContent.java:
(shiftGapEndUp): Corrected new mark value.
* javax/swing/text/AbstractDocument.java:
(remove): Changed order of operations.
-
+
2006-02-20 Mark Wielaard <mark@klomp.org>
-
+
* java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
parent field.
(insert): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
Removed.
-
+
2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
Expect that proxy interfaces may have different class loaders.
* gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
Parent and Bounds of our children if either or parent is showing, or
we are a Window and are showing ourselves now.
-
+
2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
New method.
* gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
Another stub name fix.
-
+
2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
Call convertStubName. (convertStubName): New method.
* gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
* java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
(getRepresentationClassFromMime): Add exception cause to
IllegalArgumentException.
-
+
2006-02-17 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkComponentPeer.java:
Removed unneeded import.
* gnu/java/awt/peer/gtk/GtkFramePeer.java:
Fixed comment, this is not yet handled in the JDK 1.5.
* java/awt/Container.java:
Removed unneeded import.
-
+
2006-02-17 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(setBounds): Removed check. Coordinates should always be changed
to incorporate the parent's coordinates.
attribute values. Fixed number of characters read following a
reset when detecting end of character data with characters after a
Unicode surrogate pair.
-
+
2006-02-17 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Create InlineView for content tags.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.flush): Call create() on first flush and insert
on subsequent flushes.
-
+
2006-02-17 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/AbstractDocument.java
(BranchElement.getStartOffset): Implemented workaround for wrong
NPE.
(createDefaultRoot): Use createBranchElement() and createLeafElement
instead of the constructors.
(create): Rewritten.
-
+
2006-02-17 Keith Seitz <keiths@redhat.com>
-
+
* gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
(SIZE): New constant.
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
Use model index for data model and column index for column model.
(getColumnClass): Convert to model index before requesting class
from model.
-
+
2006-02-17 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/html/HTMLDocument.java
(createDefaultRoot): Implemented.
(createLeafElement): Implemented.
(HTMLReader.ParagraphAction.end): Call blockClose at the very least.
(HTMLReader.blockOpen): Add name attribute with the current tag.
(HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
-
+
2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
Rewritten.
* javax/swing/table/JTableHeader.java: Documenting related methods.
-
+
2006-02-17 Jeroen Frijters <jeroen@frijters.net>
-
+
Fixes PR 25752
* gnu/java/net/protocol/ftp/FTPURLConnection.java
(connect): Changed to use SystemProperties.
url is a directory, if not use retrieve.
(getOutputStream): Don't worry about directories, simply always
try to do a store.
-
+
2006-02-17 Jeroen Frijters <jeroen@frijters.net>
-
+
* gnu/java/net/protocol/ftp/ActiveModeDTP.java
(ActiveModeDTP): Mark accept thread as daemon.
-
+
2006-02-17 Michael Koch <konqueror@gmx.de>
-
+
* tools/.cvsignore: Ignore tools.zip.
-
+
2006-02-16 Keith Seitz <keiths@redhat.com>
-
+
* vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
Set the ID's reference.
(<clinit>): Remove comments for field, method, and frame ID types,
which will not be handled by VMIdManager.
-
+
2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java (getCellEditor, getCellRenderer):
Use model index, not the column number.
* javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
Rewritten. (draggingHeaderRect): New field. (paint): Animate column
movement by painting draggingHeaderRect.
* NEWS: Added entry about JTable columns.
-
+
2006-02-16 Keith Seitz <keiths@redhat.com>
-
+
* gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
default size of eight bytes.
* gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
method.
2006-02-16 David Daney <ddaney@avtrex.com>
-
+
PR classpath/26312
* gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
return value with 0xff.
-
+
2006-02-16 Keith Seitz <keiths@redhat.com>
-
+
* gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
(matches): Use Iterator instead of ListIterator.
-
+
2006-02-16 Keith Seitz <keiths@redhat.com>
-
+
* gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
processor thread for easier debugging.
(_enforceSuspendPolicy): Suspend the current thread, not the JDWP
main thread.
-
+
2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java
(TableColumnPropertyChangeHandler.propertyChange): Return without
action if table header resizing column in not null. (doLayout):
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
Rewritten. (MouseInputHandler.endResizing): New method.
-
+
2006-02-16 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/html/InlineView.java: New file.
-
+
2006-02-16 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JTabbedPane.java
(AccessibleJTable.getAccessibleChild): Implemented to return
the Page instance for the specified index.
(Page.getAccessibleChildrenCount): New method.
(Page.getAccessibleChild): New methdod.
(Page.getLocale): New method.
-
+
2006-02-16 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
tabCount gets greater than tabRuns.length.
(TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
when tabCount gets greater than tabRuns.length.
(paintTabArea): Don't set tabCount == runCount.
-
+
2006-02-16 Roman Kennke <kennke@aicas.com>
-
- * javax/swing/plaf/basic/BasicTextUI.java
+
+ * javax/swing/plaf/basic/BasicTextUI.java
(installUI): Moved installation of PropertyChangeListener
to installListeners(). Call modelChanged() after everything is
is installed.
on exit.
javax/swing/plaf/basic/BasicTableHeaderUI.java
(MouseInputHandler.mouseDragged): Do not repaint the header.
-
+
2006-02-16 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JViewport.java
(static_initializer): Set default scrollMode to backingstore.
-
+
2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
returned by getCellRect. To not translate the component.
-
+
2006-02-16 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JComponent.java
(rectCache): Made field non-static to avoid nasty interferences.
(computeVisibleRect): Avoid creation of new Rectangles and double
of Rectangle2D.intersect().
(repaint): Interect the dirty region with the visible rectangle
of this component to avoid unnecessary painting.
-
+
2006-02-16 Gary Benson <gbenson@redhat.com>
-
+
* java/lang/Thread.java (stop): Add a missing access check.
-
+
2006-02-16 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/JTextComponent.java:
(replaceSelection): Added code to update the magic caret position.
* javax/swing/text/DefaultEditorKit.java: Added code to update
* javax/swing/JTable.java,
javax/swing/plaf/basic/BasicTableHeaderUI.java,
javax/swing/table/DefaultTableModel.java: Documented.
-
+
2006-02-15 Lillian Angel <langel@redhat.com>
-
+
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
Removed duplicate methods.
-
+
2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java (distributeSpillResizing): New method.
(doLayout): Use distributeSpillResizing when resizing.
* javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
Rewritten. (installListeners): Add mouse motion listener.
(uninstallListeners): Remove mouse motion listener.
-
+
2006-02-15 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
(setVisible): Removed method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(setLocation): New method.
(setLocationUnlocked): New method.
(show): Changed to use setLocation instead of setBounds.
- * java/awt/Component.java
+ * java/awt/Component.java
(show): Should call peer.show(), not peer.setVisible(), so the
location of the component is correctly set.
(preferredSize): Added curly braces so else statements are
GtkWindowPeer_nativeSetLocation and
Java_gnu_java_awt_peer_gtk_GtkWindowPeer
_nativeSetLocationUnlocked.
-
+
2006-02-15 Mark Wielaard <mark@klomp.org>
-
+
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
Downcast gtk_plug_new result when used.
-
+
2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
-
+
* java/io/ObjectOutputStream.java (writeClassDescriptor):
Call assignNewHandle() after writing Proxy class.
-
+
2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
-
+
Fixes bug #14144
* java/io/ObjectInputStream.java (readClassDescriptor):
Class doesn't have to be abstract for first_nonserial.
-
+
2006-02-15 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JInternalFrame.java
(setClosed): Call dispose to actually make the frame invisible
and unselected.
-
+
2006-02-15 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JInternalFrame.java
(dispose): Call setVisible(false) instead of hide.
(doDefaultCloseOperation): Likewise.
-
+
2006-02-15 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JComponent.java
(paintChildren): Also check for the visibility of a child component
to avoid artifacts.
(repaint): Simply add this component to the RepaintManager rather than
trying to do useless optimization here.
-
+
2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/JSpinner.java
(DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
PropertyChangeListener,
* javax/swing/SpinnerNumberModel.java
(getNextValue): Check for null maximum,
(getPreviousValue): Check for null minimum.
-
+
2006-02-15 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Paint vertical and horizontal lines one pixel shifted
left/top.
-
+
2006-02-15 Jeroen Frijters <jeroen@frijters.net>
-
+
* java/util/zip/ZipFile.java
(checkZipFile): Inlined readLeInt and rewritten for robustness.
(readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_get_frame_extents): Return early of the window has no
decorations.
-
+
2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* examples/gnu/classpath/examples/swing/TableDemo.java
(TModel, createContent): Explain which value appears in the header.
* javax/swing/JTable.java (setColumnModel): Only set the
* javax/swing/ToolTipManager.java: Removed unneeded imports.
* javax/swing/Timer.java: Some small reindention.
(task): Made package private to avoid synthetic accessor method.
-
+
2006-02-14 Roman Kennke <kennke@aicas.com>
-
- * javax/swing/SwingUtilities.java
+
+ * javax/swing/SwingUtilities.java
(layoutCompoundLabel): Dont set textIconGap to 0 when there is
no icon.
-
+
2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* examples/gnu/classpath/examples/swing/TableDemo.java:
Making the columns variable width.
* javax/swing/JTable.java (distributeSpill, doLayout):
Call getPreferredSize and not getSize().
-
+
2006-02-14 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/DefaultCellEditor.java
(DefaultCellEditor): API doc fixlet.
-
+
2006-02-14 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JViewport.java
(isPaintRoot): New field.
(repaint): Only call super here. Also added a comment regarding
(paintBlit): Implemented real blitting.
(paintImmediately2): New method. Overrides the same package private
method in JComponent.
-
+
2006-02-14 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Check for boundary cases when determining the painting
area.
-
+
2006-02-14 Mark Wielaard <mark@klomp.org>
-
+
* java/awt/Menu.java (add): Always set parent of item to this. Call
addNotify() on item when we have a MenuPeer already.
(insert): Always adjust parent for item. Call addNotify() on item if
we already have a peer.
(remove(int)): Always clear item parent. Call removeNotify() on item
if we had a peer.
-
+
2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
row == getRowCount().
-
+
2006-02-14 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
New files.
-
+
2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/JComponent.java
(getListeners): Check for PropertyChangeListener.class and delegate to
getPropertyChangeListeners() for that case.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Determine the cells that need painting based on the
current clip. Use getCellRect() for calculating the cell
bounds.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JTable.java
(rectCache): New field.
(getCellRect): Returns cached Rectangle instance.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JLayeredPane.java
(removeAll): New method. Avoid potential memory leak.
(isOptimizedDrawingEnabled): Replaced heuristic with accurate
calculation.
-
+
2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
-
+
* javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
* javax/swing/undo/StateEditable.java (RCSID): Likewise.
-
+
2006-02-13 Tom Tromey <tromey@redhat.com>
-
+
* vm/reference/java/lang/reflect/Method.java: Javadoc fix.
* vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/RepaintManager.java
(offscreenBuffers): New field.
(doubleBuffer): Removed field.
(paintImmediately2): Don't paint on screen here.
(paintDoubleBuffered): Rewritten for real double buffering.
(paintSimple): Draw to screen in this method.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JRootPane.java
(JRootPane): Set opaque property to true.
-
+
2006-02-13 Tom Tromey <tromey@redhat.com>
-
+
* .classpath: Updated for external/relaxngDatatype.
-
+
2006-02-13 Chris Burdess <dog@gnu.org>
-
+
* gnu/xml/stream/UnicodeReader.java,
gnu/xml/validation/datatype/Annotation.java,
gnu/xml/validation/datatype/AnySimpleType.java,
lib/Makefile.am,
lib/gen-classlist.sh.in: Added external RELAX NG pluggable
datatypes library API.
-
+
2006-02-13 Mark Wielaard <mark@klomp.org>
-
+
* gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
final.
(gtkWidgetModifyFont(Font)): New protected helper method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
Removed.
-
+
2006-02-13 Mark Wielaard <mark@klomp.org>
-
+
* java/lang/Math.java (static): Explicitly call
System.loadLibrary("javalang").
-
+
2006-02-13 Wolfgang Baer <WBaer@gmx.de>
-
+
* javax/print/StreamPrintServiceFactory.java: New file.
-
+
2006-02-13 Tom Tromey <tromey@redhat.com>
-
+
* tools/.cvsignore: Added Makefile.
-
+
2006-02-13 Wolfgang Baer <WBaer@gmx.de>
-
+
* java/awt/print/PrinterGraphics.java: Reformatted.
* java/awt/print/Paper.java: Likewise.
* java/awt/print/PageFormat.java: Likewise.
* java/awt/print/Pageable.java: Likewise.
-
+
2006-02-13 Lillian Angel <langel@redhat.com>
-
+
* java/awt/BorderLayout.java
(layoutContainer): Rewrote part of this function to
properly set the bounds of the components.
(setBounds): Removed method, not needed.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.clone): Fixed replace call.
(clone): Removed method.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* java/rmi/server/UnicastRemoteObject.java: Reformatted.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* java/rmi/server/UnicastRemoteObject.java
(exportObject(Remote)): Forward method call to export(Remote,int).
-
+
2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
-
+
* include/Makefile.am:
Swapped Math.h for VMMath.h
* include/java_lang_Math.h:
(rint(double)): New native method.
2006-02-13 Lillian Angel <langel@redhat.com>
-
+
* java/awt/Component.java
(repaint): No need to call isShowing, it is done in the other repaint call.
(repaint): Likewise.
(repaint): Likewise.
-
+
2006-02-13 Lillian Angel <langel@redhat.com>
-
+
* java/awt/Component.java
(repaint): Reverted last change.
(repaint): Likewise.
(repaint): No need to call isShowing, it is done in the other repaint call.
(repaint): Likewise.
(repaint): Likewise.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/AbstractDocument.java
(setParent): Added API docs. Call setParent(null) on children before
disconnecting this view from the View hierarchy.
-
+
2006-02-13 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/AbstractDocument.java
(readUnlock): Don't attempt to unlock when the current threads also
holds a write lock.
-
+
2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/plaf/metal/MetalBorders.java
(ButtonBorder.getBorderInsets(Component)): Return insets directly,
(ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
stands for only one character.
(match): Added the processing of the Vector addition.
(matchN), (matchP): Do not check next token if addition is used.
-
+
2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
-
+
* AUTHORS: add self.
-
+
2006-02-12 Tom Tromey <tromey@redhat.com>
-
+
* gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
* gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
(securityContext): Likewise.
(log): Likewise.
-
+
2006-02-12 Dalibor Topic <robilad@kaffe.org>
-
+
Fixes PR 26218.
-
+
* gnu/java/net/protocol/file/Connection.java (unquote):
Convert Unicode characters outside basic plane to UTF-8,
rather than throwing an exception.
-
+
2006-02-12 Tom Tromey <tromey@redhat.com>
-
+
* javax/sound/sampled/LineEvent.java (readObject): New method.
(writeObject): Likewise.
(serialVersionUID): New field.
-
+
2006-02-12 Mark Wielaard <mark@klomp.org>
-
+
* java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
Silently ignores null listener.
(addPropertyChangeListener(String, PropertyChangeListener): Likewise.
* java/io/InputStream.java
(read(byte[],int,int)): Changed argument validation to prevent
integer overflow. Remove redundant check.
-
+
2006-02-12 Jeroen Frijters <jeroen@frijters.net>
-
+
Fixes PR 26220
* java/io/InputStreamReader.java
(InputStreamReader(InputStream)): Use SystemProperties.
tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
Rewritten.
* tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
-
+
2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/java/security/jce/sig/EncodedKeyFactory.java
(engineGeneratePublic): Added support for raw key-specifications.
(engineGeneratePrivate): Likewise.
(encodePublicKey): Likewise.
(encodePrivateKey): Likewise.
(decodePublicKey): Likewise.
-
+
2006-02-10 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/StyleContext.java
(registerStaticAttributeKey): New static method.
-
+
2006-02-10 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.clone): New method.
-
+
2006-02-10 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/ParagraphView.java
(findOffsetToCharactersInString): New method.
(getClosestPositionTo): New method.
(adjustRow): New method.
(breakView): New method.
(getBreakWeight): New method.
-
+
2006-02-10 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/GapContent.java
(updateUndoPositions): New method.
* javax/swing/text/StringContent.java
(updateUndoPositions): New method.
-
+
2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
Made it public.
* gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
(engineGeneratePrivate): Likewise.
(engineGetKeySpec): Likewise.
(engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
-
+
2006-02-10 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/Utilities.java:
(getTabbedTextOffset): Fixed usage of variable p0.
(getPositionAbove): Rewritten.
(getPositionBelow): Rewritten.
-
+
2006-02-09 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/BoxView.java
(getAxis): Added @since tag.
(setAxis): Added @since tag.
(modelToView): Don't throw BadLocationException. This should
really only be thrown if the position is outside the document
model, not if it's outside the view's boundary.
-
+
2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* tools/Makefile.am: Handle rmi and giop folders separately.
-
+
2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/SpinnerDateModel.java: Updated API docs all over,
* javax/swing/SpinnerNumberModel.java: Likewise.
-
+
2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/SpinnerDateModel.java: Removed tabs,
* javax/swing/SpinnerNumberModel.java: Likewise.
-
+
2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
-
+
* doc/unicode/SpecialCasing-4.0.0.txt: New file.
* doc/unicode/UnicodeData-4.0.0.txt: New file.
-
+
2006-02-09 Wolfgang Baer <WBaer@gmx.de>
-
+
Fixes bug #26081
* gnu/java/net/protocol/http/HTTPURLConnection.java:
(isRedirect): Removed, moved to Response.java.
codes 404 and 410 throw a FileNotFoundException.
* gnu/java/net/protocol/http/Response.java (isError): New method.
(isRedirect): New method, moved from HTTPURLConnection.java.
-
+
2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
* tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
* tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
New files.
* NEWS: Corrected entry about the tools.
-
+
2006-02-09 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Added more to check to prevent assertion errors.
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(handleEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(handleEvent): Likewise.
-
+
2006-02-09 Mark Wielaard <mark@klomp.org>
-
+
* javax/swing/JTable.java (tableChanged): Interpret null event as
"everything changed".
-
+
2006-02-09 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/DefaultCaret.java
(DocumentHandler.removeUpdate): When update policy is
'on eventqueue', and the update doesn't come from the
valid.
(moveDot): Make sure the new dot location is valid.
(setDot): Set the mark the same as the dot.
-
+
2006-02-09 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/AbstractDocument.java
(remove): Perform all operations within a write lock and in the
correct order.
-
+
2006-02-09 Mark Wielaard <mark@klomp.org>
-
+
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
creater than min, adjusting page_size if necessary.
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
-
+
2006-02-09 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(handleEvent): Added code to handle PaintEvent.UPDATE.
Sun does not call update(Graphics g) on Panels.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(handleEvent): New method. Added code to handle PaintEvent.UPDATE.
Sun does not call update(Graphics g) on Panels.
-
+
2006-02-09 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/BoxView.java
(myAxis): Made field private.
(xLayoutValid): Replaced by layoutValid array.
(replace): Added API docs.
(forwardUpdate): Rewritten to only notify child views that need to
be notified.
-
+
2006-02-09 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.paint): Call setSize() before painting the view.
-
+
2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
Fixes bug #26112
* gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
flag which enables backslash escape in a replacement.
(getRequestProperties): Throw IllegalStateException if connected.
(setRequestProperty): Call super method for exception tests.
(addRequestProperty): Likewise.
-
+
2006-02-09 Wolfgang Baer <WBaer@gmx.de>
-
+
* gnu/java/net/protocol/http/Request.java:
(Request): Remove initialization of removed field.
(requestBodyNegotiationThreshold): Removed now unused field.
(setMinimum): Fixed test for updating value,
(setMaximum): Likewise,
(setStepSize): Likewise.
-
+
2006-02-08 Tom Tromey <tromey@redhat.com>
-
+
* tools/.cvsignore: Added Makefile.in.
-
+
2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteStub.java: Commented.
-
+
2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/SpinnerDateModel.java
(SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
checks,
(select): Fixed up code, added some checks to prevent errors.
(dispatchEventImpl): Removed. This function is not needed. It
causes several assertion errors.
-
+
2006-02-08 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/PlainView.java
(drawLine): Call drawUnselectedText() with end offset - 1 to avoid
drawing unnecessary characters.
-
+
2006-02-08 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Fixed check to determine if height or
width is less than 1.
-
+
2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
*tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
-
+
2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
Documenting the code generator.
tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
-
+
2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
-
+
* java/awt/BasicStroke.java: Updated API docs all over,
* java/awt/doc-files/capjoin.png: New file.
-
+
2006-02-07 Lillian Angel <langel@redhat.com>
-
+
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Added check. Should not paint or update the
component if it's width and height are both 0.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/AbstractDocument.java
(insertString): Enclose locking/unlocking in try-finally block
and also keep locked while notifying the listeners.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/GlyphView.java
(GlyphView): Initialize startOffset and endOffset with -1 (indicating
element boundary).
(getEndOffset): Return element boundary if endOffset < 0.
(createFragment): Set startOffset and endOffset fields of fragment
if one of p0 or p1 is not at the element boundary.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/CellRendererPane.java
(paintComponent): Enclosed painting in try finally to properly
clean up even when throwing an exception.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/UIManager.java
(listeners): Made this an instance of
java.beans.PropertyChangeSupport instead of the obsoleted
of actions "delete-next" and "delete-previous", added new TextAction
implementations for "selection-begin", "selection-begin-line",
"selection-end" and "selection-end-line".
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(paint): Acquire read lock on the document before calling
paintSafely.
(paintBackground): Implemented to actually paint the background.
(update): Overridden to _not_ paint the background. This is done
in paintBackground in this UI.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/View.java
(forwardUpdate): Don't notify newly added child views as specified.
-
+
2006-02-07 Robert Schuster <robertschuster@fsfe.org>
-
+
* gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.insert): Only register change when the element
actually changed.
-
+
2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
method.
(getEncodingShortName): Likewise.
* gnu/java/security/der/DERWriter.java (writeBitString): Use
writeLength() instead of write().
return buf.length + 1 instead of buf.length.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.preferenceChange): Changed view parameter to view so
that it doesn't hide a field of that class.
(updateHandler): Made field private.
(getVisibleEditorRect): Removed unneeded local variable that
shadowed a field with the same name and purpose.
-
+
2006-02-07 Robert Schuster <robertschuster@fsfe.org>
-
+
* javax/swing/text/JTextComponent.java:
(getSelectedText): Calculate offset and use that as
second argument.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JTextPane.java
(setCharacterAttributes): Replace input attributes when
replace==true.
-
+
2006-02-07 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Component.java
(firePropertyChange(String,byte,byte)): Made method public.
(firePropertyChange(String,char,char)): Made method public.
(firePropertyChange(String,long,long)): Made method public.
(firePropertyChange(String,float,float)): Made method public.
(firePropertyChange(String,double,double)): Made method public.
-
+
2006-02-06 Tom Tromey <tromey@redhat.com>
-
+
* gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
2006.
* gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
-
+
2006-02-06 Anthony Green <green@redhat.com>
-
+
* gnu/xml/aelfred2/XmlParser.java: Add missing break;.
-
+
2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* .settings/org.eclipse.jdt.core.prefs:
Force a line split on extends and implements.
Force a white-space after unary operators.
Don't force a new-line after @params.
Add new-line at end-of-file.
* scripts/eclipse-gnu.xml: Export version of the above named GNU.
-
+
2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
Registry constant.
* gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
(setPropertiesFromAttributes): Use null for background when no
background is set. StyleConstants.getBackground() doesn't work
for this, because it returns Color.BLACK in that case.
-
+
2006-02-06 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Container.java
(changeSupport): Removed duplicate (from Component) field.
(addPropertyChangeListener): Call super.
-
+
2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
* java/util/regex/Matcher.java(matches):
set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
-
+
2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #25812
* gnu/regexp/RETokenWordBoundary.java: Likewise.
* gnu/regexp/RETokenIndependent.java: New file.
* gnu/regexp/RETokenLookBehind.java: New file.
-
+
2006-02-06 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Component.java
(firePropertyChange(String,byte,byte)): New method.
(firePropertyChange(String,char,char)): New method.
(firePropertyChange(String,float,float)): Removed.
(firePropertyChange(String,long,long)): Removed.
(firePropertyChange(String,short,short)): Removed.
-
+
2006-02-06 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/event/SwingPropertyChangeSupport.java
(listeners): Removed field.
(propertyListeners): Removed field.
(getPropertyChangeListeners): Removed methods.
(firePropertyChange): Removed methods.
(hasListeners): Removed methods.
-
+
2006-02-06 Jeroen Frijters <jeroen@frijters.net>
-
+
Fixes PR 25313
* java/net/InetAddress.java
(readResolve): Implemented.
-
+
2006-02-06 Jeroen Frijters <jeroen@frijters.net>
-
+
Fixes PR 26121
* java/io/ObjectInputStream.java
(readNextBlock()): Handle TC_RESET.
-
+
2006-02-06 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/Compression.java,
Throw ConnectException instead of IOException if connection failed.
* native/jni/java-net/javanet.h:
Add a define for java.net.ConnectException
-
+
2006-02-05 Mark Wielaard <mark@klomp.org>
-
+
Fixes bug #26101
reported by Egon Willighagen <egon.willighagen@gmail.com>
* javax/swing/DefaultListCellRenderer.java
(getListCellRendererComponent): Turn null value into empty string.
-
+
2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
* gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
a Unicode block if the name starts with "In".
(UnicodeBlockHandler): New inner class.
-
+
2006-02-04 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Container.java
(getComponentZOrder): New method.
(setComponentZOrder): New method.
(USE_DEFAULTS): more documentation to clarify behavior.
(setup): amended to handle new attribute.
* gnu/java/security/util/PRNG.java: New file.
-
+
2006-02-03 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/plaf/basic/BasicColorChooserUI.java:
chooser field should be protected, not package-private.
-
+
2006-02-03 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
when fracturing.
(getEditForParagraphAndIndex): No need to check index. We should
use the same edit for each paragraph.
-
+
2006-02-03 Mark Wielaard <mark@klomp.org>
-
+
* javax/swing/event/SwingPropertyChangeSupport.java
(propertyListeners): Change type to HashMap.
(SwingPropertyChangeSupport): Allocate HashMap.
-
+
2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* java/security/KeyPairGenerator.java (getInstance): Test for
instanceof KeyPairGenerator before KeyPairGeneratorSpi.
-
+
2006-02-02 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/RepaintManager.java
Made fields private.
(RepaintWorker.run): Enclosed work stuff in try finally block in
(paintDirtyRegions): Compute repaint order here, based on size of
damaged regions. Fine tuned synchronization. Avoid use of working
copies of dirtyComponent.
-
+
2006-02-02 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): JoinNextDirection should push the
'next' paragraph on the stack.
-
+
2006-02-02 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Rewrote code for Originate. This prevents
leaves being created multiple times. If it is on the last
(insertContentTag): Rewrote to add new leaf directly if
this is a branch with no children. Otherwise, it
recreates the remainder of the tree as before.
-
+
2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
* gnu/regexp/REMatch.java(REMatchList): New inner utility class
for making a list of REMatch instances.
* gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
* gnu/regexp/RETokenRepeated.java(findDoables): New method.
(match): Rewritten using REMatchList.
(matchRest): Rewritten using REMatchList.
-
+
2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
(friendsMove): Call repaint() only after endOfGame is assigned.
-
+
2006-02-02 Mark Wielaard <mark@klomp.org>
-
+
Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
* java/util/AbstractCollection.java (toString): Only use Iterator,
check whether collection contains itself.
-
+
2006-02-01 Casey Marshall <csm@gnu.org>
-
+
Partial fix for PR classpath/25143.
* javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
(<init>): fill in `algName,' derive `algOid' from `algName.'
(getOid): new method.
(encode): embed NULL value for parameters if `params' is `null.'
-
+
2006-02-01 Casey Marshall <csm@gnu.org>
-
+
Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
<monoman@gmail.com>.
* gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
-
+
2006-02-01 Casey Marshall <csm@gnu.org>
-
+
toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
* gnu/java/security/der/DERValue.java
(getLength, getEncoded, getEncodedLength): throw an exception,
directly.
2006-02-01 Tom Tromey <tromey@redhat.com>
-
+
* java/security/Security.java (loadProviders): Use system class
loader.
-
+
2006-02-01 Mark Wielaard <mark@klomp.org>
-
+
* gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
* gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
(getHandler): Check for grouped properties L, M, Z, S, N, P or C.
(UnicodeCategoriesHandler): New private static class.
-
+
2006-02-01 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java:
Removed unneeded fields.
(insertUpdate): Removed field initialization.
(insertContentTag): Rewrote part of function. Still
not complete.
-
+
2006-02-01 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertParagraph): Cleaned up code.
(insertFirstContentTag): Fixed call to recreateLeaves.
scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
* scripts/unicode-blocks.pl: Copied this over from the generics branch
but replaced some 1.5-only features (such as enum).
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/PasswordView.java
(drawSelectedText): Use drawEchoCharacter() method to draw echo
character.
(drawUnselectedText): Use drawEchoCharacter() method to draw echo
character.
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JTextField.java
(getPreferredSize): Also include textfield's insets in width
calculation.
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(getPreferredSize): Include the textcomponent's insets in
preferredSize.
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/table/DefaultTableCellRenderer.java
(getTableCellRendererComponent): Moved setting of the value into
setValue(). Removed (bogus) special handling of JTextField values.
(setValue): Made ?: statement more clear by rewriting it
with if .. else.
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JLayeredPane.java
(insertIndexForLayer): Fixed algorithm to correctly determine
inser index for positions >= 0.
(addImpl): Fixed API docs for the index parameter.
-
+
2006-01-31 Mark Wielaard <mark@klomp.org>
-
+
* java/net/URI.java (getURIGroup): Check for null to see whether
group actually exists.
-
+
2006-01-31 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(changeUpdate): Fixed calls to split to incorporate
new parameter.
(insertContentTag): Fixed check to use
recreateLeaves. Added a FIXME comment.
(split): Added a new parameter for edits.
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicRootPaneUI.java
(installDefaults): Don't install a background color here.
-
+
2006-01-31 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insert): Removed comment.
(insertUpdate): Added comment.
(recreateLeaves): Removed call to push newBranch onto the
stack. This does not need to be done here.
-
+
2006-01-31 Chris Burdess <dog@gnu.org>
-
+
* gnu/xml/stream/SAXParser.java,
gnu/xml/stream/UnicodeReader.java,
gnu/xml/stream/XIncludeFilter.java,
* javax/swing/plaf/text/Utilites.java
(drawTabbedText): The coordinates denote the baseline of the text
not the upper left corner.
-
+
2006-01-31 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTextUI.java
(createKeymap): Don't store KeyBindings[] as focusInputMap in
UIManager. Added FIXME regarding the implementation of this method.
-
+
2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
-
+
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(ButtonDemo): Move content initialisation to new method,
(initFrameContent): New method,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
-
+
2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
-
+
* examples/gnu/classpath/examples/swing/Demo.java
(Demo): Set frame size,
(mkButtonBar): Removed stacked sub-panels.
-
+
2006-01-30 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java:
Added new fields.
(insert): Initialized fields. Removed call to addEdit,
(recreateLeaves): Fixed code and cleaned it up a bit.
(insertFracture): Set fracNotCreated field.
(addEdit): Removed, this method is not needed.
-
+
2006-01-30 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JRootPane.java
(RootLayout.prefSize): Removed caching for preferredSize.
(RootLayout.invalidateLayout): Likewise.
(RootLayout.preferredLayoutSize): Likewise.
-
+
2006-01-30 Roman Kennke <kennke@aicas.com>
-
+
PR classpath/26035
* javax/swing/JFrame.java
(frameInit): Handle the defaultLookAndFeelDecorated flag.
IllegalArgumentException when orientation is illegal.
(JProgressBar(int, int, int)): Likewise and throw exception.
(setOrientation): Likewise.
-
+
2006-01-30 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/ViewportLayout.java
(minimumLayoutSize): Rewritten to unconditionally return (4,4).
-
+
2006-01-30 Mark Wielaard <mark@klomp.org>
-
+
* javax/swing/JProgressBar.java (orientation): Always set by
constructor.
(JProgressBar(int)): Document default on 'illegal' value.
(JProgressBar(int, int, int)): Likewise and set orientation to
HORIZONTAL when 'illegal'.
(setOrientation): Likewise.
-
+
2006-01-30 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicListUI.java
(ListDataHandler.contentsChanged): Update the
updateLayoutStateNeeded flag.
listeners on new list model.
(maybeUpdateLayoutState): Don't consider the validation state
of the list.
-
+
2006-01-30 Mark Wielaard <mark@klomp.org>
-
+
* gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
sortKeys is null.
-
+
2006-01-30 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JLayeredPane.java
(insertIndexForLayer): Fixed algorithm to correctly insert
components within different layers and -1 position.
-
+
2006-01-30 Mark Wielaard <mark@klomp.org>
-
+
* doc/api/Makefile.am (create_html): Add -validhtml.
-
+
2006-01-30 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JLayeredPane.java
(insertIndexForLayer): Fixed algorithm to correctly insert
components within same layer and -1 position.
-
+
2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
Fixes bug #24876
* gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
New execution flag.
* gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
the ipad buffer.
* gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
-
+
2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26027
* java/beans/Encoder.java:
(setExceptionListener): Use shared DefaultExceptionListener
instance.
-
+
2006-01-29 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/ScrollPaneLayout.java
(minimumLayoutSize): Rewritten to match JDKs behaviour.
-
+
2006-01-29 Mark Wielaard <mark@klomp.org>
-
+
* java/net/SocketPermission.java (setActions): Trim and lower case
action.
-
+
2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/java/security/util/Prime2.java (passEulerCriterion): Was
incorrectly failing primality test for some known primes. Fixed.
(passFermatLittleTheorem): Removed.
(isProbablePrime): Cache primes that pass the primality tests.
Use BigInteger.isProbablePrime(int) for primality tests.
(debugBI): New static debugging method.
-
+
2006-01-28 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicListUI.java
(updateLayoutState): Removed unneeded special case for VERTICAL.
-
+
2006-01-28 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicListUI.java
(getCellBounds): Determine correct list width when having a
layoutOrientation of VERTICAL.
(maybeUpdateLayoutState): Don't consider the validation state of
the list.
-
+
2006-01-28 Mark Wielaard <mark@klomp.org>
-
+
Reported by Dimitri Fontaine <dimitri@dalibo.com>
* java/awt/print/NoPrinterJob.java: New (fake) class.
* java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
-
+
2006-01-28 Mark Wielaard <mark@klomp.org>
-
+
* gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
-
+
2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
(addChildren): New method.
-
+
2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
* gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
constructor for cloning purposes.
(clone): New implementation that ensures cloning.
* gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
* gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
"GNU".
-
+
2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
Call updateCurrentVisiblePath.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/TextFieldDemo.java
(createContent): Only create new content if we don't have one
already.
-
+
2006-01-27 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertFirstContentTag): Removed check, not needed. This
still needs to be fixed for some cases. Added call to
leaves after the initial insertion. This still needs
more work.
(handleInsertAfterNewline): Removed else, not needed.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JLayeredPane.java
(inserIndexForLayer): Fixed direction of search.
-
+
2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTree.java (constructor): Put EXPANDED for the root
node into nodeStates.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JLayeredPane.java
(FRAME_CONTENT_LAYER): Made field final.
(componentToLayer): Made field private.
statement.
* java/lang/String.java:
(String(int[], int, int)): New API constructor.
-
+
2006-01-27 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insert): Moved this loop to insertUpdate.
(insertUpdate): Likewise. Fixed variable
* vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
If no user class loaders found on the stack, return the thread
context class loader. (currentClassLoader): Explained.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Container.java
(swapComponents): Removed unspecified method.
* javax/swing/JLayeredPane.java
(setPosition): Reimplemented correctly.
(swapComponents): New helper method.
-
+
2006-01-27 Mark Wielaard <mark@klomp.org>
-
+
* configure.ac: Set version to 0.21-pre.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
PR classpath/25968
* javax/swing/JComponent.java
(findOverlapFreeParent): Improved the algorithm to make better use
(computeBlit): Fixed check to decide if blitting is possible or not,
so that it doesn't blit if nothing was scrolled (in order to
update the buffer when the view updates itself).
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/metal/MetalFileChooserUI.java
(createList): Don't set scrollbar policy.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(PopupMenuHandler.popupMenuWillBecomeInvisible):
Fixed to also handle non-Swing toplevel containers.
* javax/swing/Popup.java
(JWindowPopup.JWindowPopup()): Correctly set parent window on
popup.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(InternalFramePropertyChangeListener): Don't implement
VetoableChangeListener.
(installListeners): Don't install vetoableChangeListener.
* javax/swing/event/DocumentEvent.java
(EventType): Made class final.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/SwingUtilities.java
(calculateInsetArea): Removed unneeded method. The method
calculateInnerArea has the same purpose and is actually specified.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
of SwingUtilities.calculateInsetArea().
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/basic/BasicTreeUI.java
(installDefaults): Removed requestFocusInWindow() call.
* javax/swing/JComponent.java
(printChildren): Made method protected.
(printComponent): Made method protected.
(printBorder): Made method protected.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/AbstractButton.java
(ButtonChangeListener.ButtonChangeListener()): Made constructor
package private.
(AccessibleJWindow.AccessibleJWindow): Made constructor protected.
* javax/swing/RepaintManager.java
(RepaintWorker): Made class private.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* gnu/java/awt/peer/swing/SwingComponentPeer.java
(handleEvent): Removed debug statement.
-
+
2006-01-27 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Component.java
(coalescePaintEvents): Don't try to optimize coalescing. This hurts
more than it helps.
-
+
2006-01-26 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(createFracture): Commented out a known problem,
added FIXME tag.
-
+
2006-01-26 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer): Added fields.
(remove): Initialized pos.
* java/lang/Character.java:
(codePointCount(char[], int, int)): New API method.
(codePointCount(CharSequence, int, int)): Likewise.
-
+
2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
PR 25205
* javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
Rewritten.
(stopCellEditing): Rewritten.
(stopEditingTimer): New method.
(valueChanged): Do not configure editing component here.
-
+
2006-01-25 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/html/FormView.java: New file.
-
+
2006-01-25 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JSplitPane.java
(addImpl): Call resetToPreferredSizes() when no dividerLocation
has been set in order to set an initial layout.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Added SplitPaneDivider.draggingColor
default value.
-
+
2006-01-25 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JSplitPane.java
(addImpl): Removed invalidate() and layout() call.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(PropertyHandler.propertyChange): Remove layoutContainer() and
repaint() call.
-
+
2006-01-25 Roman Kennke <kennke@aicas.com>
-
+
* configure.ac
* native/Makefile.am
* native/jni/classpath/Makefile.am
* native/target/posix/target_posix_network.c
* native/target/posix/target_posix_network.h:
Removed.
-
+
2006-01-24 Wolfgang Baer <WBaer@gmx.de>
-
+
* javax/print/PrintService.java,
* javax/print/DocPrintJob.java,
* javax/print/CancelablePrintJob.java:
* java/beans/DefaultPersistenceDelegate:
(initialize): Added call to superclass' implementation, added
early return.
-
+
2006-01-24 Tom Tromey <tromey@redhat.com>
-
+
* java/util/regex/PatternSyntaxException.java: Added @since.
* java/util/regex/Matcher.java (Matcher): Implements MatchResult.
* java/util/regex/MatchResult.java: New file.
-
+
2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/StringContent.java: Added API docs all over, plus
minor reformatting.
-
+
2006-01-24 Gary Benson <gbenson@redhat.com>
-
+
* java/net/SocketPermission.java: Implemented serialization.
-
+
2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/StringContent.java
(remove): Modified argument check to prevent removal of last character,
(getChars): Removed null argument check to allow NullPointerException,
added API docs,
(checkLocation): Added API docs and white space.
-
+
2006-01-23 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Should only call createFracture with
StartTagType. Added check.
* javax/swing/plaf/synth/package.html:
New files. Added the public API and framework classes for the
Synth look and feel.
-
+
2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/Segment.java: API docs all over.
-
+
2006-01-23 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(split): Should not use createLeafElement and createBranchElement here.
We should just instaniate the LeafElements and BranchElements instead
to avoid the case where create*Element is overridden.
-
+
2006-01-23 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertFirstContentTag): Moved check outside of if-statement.
This should be checked before creating the new leaf element.
greater than the offset, then we need to create a temp leaf
as a place holder. Otherwise, the leaf elements should be
created normally.
-
+
2006-01-23 Gary Benson <gbenson@redhat.com>
-
+
* java/net/SocketPermission.java: Almost completely rewritten.
-
+
2006-01-23 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insertFracture): Set temp leaf's attributes to prevent an NPE.
-
+
2006-01-23 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java:
Formatted ElementBuffer and added new fields.
(remove): Added check to determine if length is 0.
an empty string matched. Added special handling of {0}.
* gnu/regexp/RETokenBackRef.java(match): Sets empty flag
when an empty string matched. Fixed the case insensitive matching.
-
+
2006-01-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/plaf/metal/MetalSplitPaneDivider.java
(paint): Added painting of border if one is installed.
-
+
2006-01-21 Roman Kennke <kennke@aicas.com>
-
+
PR classpath/25843:
* javax/swing/plaf/basic/BasicBorders.java
(getSplitPaneDividerBorder): Use new border constructor
(getMinimumDividerLocation): Fixed calculation of minimum location.
2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
-
+
* m4/acinclude.m4
(CLASSPATH_WITH_GLIBJ): Add support for fastjar.
-
+
* lib/Makefile.am: Likewise.
-
+
2006-01-21 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/PopupFactory.java
(getPopup): If there is no Swing root found in any way, use a
heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
for the Swing AWT peers.
-
+
2006-01-20 Tom Tromey <tromey@redhat.com>
-
+
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
Read response body for redirect.
-
+
2006-01-20 Chris Burdess <dog@gnu.org>
-
+
* gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
redirects on 304.
-
+
2006-01-20 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(pad): Removed, not needed.
(printElements): Likewise.
(printEdit): Likewise.
-
+
2006-01-20 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/text/DefaultFormatter.java
(DefaultFormatter): Don't set a value class.
-
+
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/DefaultCellEditor.java: Commented.
-
+
2006-01-19 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JOptionPane.java
Added cast to Frame for JDialog constructor.
-
+
2006-01-19 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JWindow.java
(JWindow(Window)): Fixed to accept null owner argument.
(JWindow(Window,GraphicsConfiguration)): Fixed to accept null
is called.
* javax/swing/JFileChooser.java
(createDialog): Added cast to Frame for JDialog constructor.
-
+
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java (rowAtPoint): Rewritten.
-
+
2006-01-19 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JWindow.java: Added API docs to the constructors.
-
+
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
* javax/swing/JTable.java: Commenting method headers.
(EditorUpdateTimer): Removed.
-
+
2006-01-19 Roman Kennke <kennke@aicas.com>
-
+
* javax/swing/JDialog.java
(JDialog()): Call SwingUtilities.getOwnerFrame() with null.
(JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
* javax/swing/SwingUtilities.java
(getOwnerFrame): Changed to take a owner parameter that is returned
as owner frame when not null.
-
+
2006-01-19 Roman Kennke <kennke@aicas.com>
-
+
* gnu/java/awt/peer/swing/SwingFramePeer.java
(handleMouseEvent): Fixed handling of mouse events.
(handleMouseMotionEvent): Fixed handling of mouse events.
* java/security/SignatureSpi.java: Likewise.
* java/security/SignedObject.java: Likewise.
* java/security/Signer.java: Likewise.
-
+
2006-01-18 Roman Kennke <kennke@aicas.com>
-
+
* configure.ac: Added --enable-posix-layer option to enable
build of the posix target layer.
-
+
2006-01-18 Roman Kennke <kennke@aicas.com>
-
+
* native/jni/java-net/java_net_VMInetAddress.c
(Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
for INADDR_ANY.
-
+
2006-01-18 Roman Kennke <kennke@aicas.com>
-
+
* native/jni/java-util/java_util_VMTimeZone.c:
(Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
to use target native layer.
(jint_to_charbuf): Removed unneeded helper function.
-
+
2006-01-18 Roman Kennke <kennke@aicas.com>
-
+
* native/jni/java-nio/gnu_java_nio_VMPipe.c:
Removed unnecessary include.
* native/jni/java-nio/gnu_java_nio_VMSelector.c:
* native/jni/java-net/javanet.h:
Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
SOCKOPT_SO_BROADCAST.
-
+
2006-01-17 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(insert): Cleaned up loop. No need to make so many calls
to getAddedElements and getRemovedElements.
(insertFracture): Removed unneeded array.
-
+
2006-01-17 Lillian Angel <langel@redhat.com>
* javax/swing/text/JTextComponent.java
(paste): Implemented.
(replaceText): Implemented.
(selectText): Implemented.
-
+
2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java:
(pad): New debugging method.
(printElements): Likewise.
* javax/swing/text/StyleContent.java:
(SmallAttributeSet.toString): Fixed an off-by-one error in the loop
that was causing an ArrayOutOfBoundsException.
-
+
2006-01-17 Roman Kennke <kennke@aicas.com>
-
+
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
(Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
exception messages a little.
to use the corresponding target native macro.
(Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
to use the corresponding target native macro.
-
+
2006-01-17 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultTextUI.java:
Added deprecated tag.
* javax/swing/text/JTextComponent.java
(selectText): Likewise.
(setAttributes): Likewise.
(getAccessibleContext): Implemented.
-
+
2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
Fixes bug #25817
* gnu/regexp/RETokenRange.java(constructor):
Keep lo and hi as they are.
(match): Changed the case insensitive comparison.
-
+
2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
* gnu/regexp/RETokenChar.java(chain):
Do not concatenate tokens whose insens flags are diffent.
-
+
2006-01-17 Roman Kennke <kennke@aicas.com>
-
+
* native/target/generic/target_generic_network.c:
(targetGenericNetwork_receive): Fixed signature to match the
corresponding .h file.
(targetGenericNetwork_receiveWithAddressPort): Fixed signature
to match the corresponding .h file.
-
+
2006-01-17 Roman Kennke <kennke@aicas.com>
-
+
* native/jni/classpath/jcl.c:
(JCL_malloc): Replaced calls to malloc with the corresponding
target layer macro.
(targetGenericNetwork_receive): Fixed signature to use signed chars
for buffer parameter to avoid warning when passing a jbyte to the
function.
-
+
2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/StyleConstants.java
(getAlignment): Removed isDefined() check, so that resolving parent is
used for lookup,
* gnu/java/net/protocol/http/Request.java
(createResponseBodyStream): Remove Content-Encoding for
compressed streams.
-
+
2006-01-16 Chris Burdess <dog@gnu.org>
-
+
* gnu/xml/stream/XMLParser.java,
gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
XMLStreamWriter arguments for conformance to the XML specifications.
* native/target/generic/Makefile.am: Include new memory and math
layer.
* native/target/posix/Makefile.am: New file. Includes posix in dist.
-
+
2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
-
+
Fixes bug #22884
* gnu/regexp/RE.java(initialize): Parse embedded flags.
* gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
-
+
2006-01-16 Roman Kennke <kennke@aicas.com>
-
+
* native/target/generic/target_generic_network.c: Fixed typo.
* native/target/generic/target_generic_network.h: Fixed typo.
-
+
2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
-
+
* doc/vmintegration.texinfo: Updated subsection of the
java.lang.InstrumentationImpl documentation.
-
+
2006-01-16 Roman Kennke <kennke@aicas.com>
-
+
* native/target/RTEMS/target_native.h,
* native/target/RTEMS/target_native_file.h,
* native/target/RTEMS/target_native_io.h,
* native/target/RTEMS/target_native_misc.h,
* native/target/RTEMS/target_native_network.h:
New files. Implement the target native layer for the RTEMS platform.
-
+
2006-01-16 Roman Kennke <kennke@aicas.com>
-
+
* native/target/SunOS/target_native.h,
* native/target/SunOS/target_native_file.h,
* native/target/SunOS/target_native_io.h,
* native/target/SunOS/target_native_misc.h,
* native/target/SunOS/target_native_network.h:
New files. Implement the target native layer for the SunOS platform.
-
+
2006-01-16 Roman Kennke <kennke@aicas.com>
-
+
* native/target/MinGW/target_native.h,
* native/target/MinGW/target_native_file.h,
* native/target/MinGW/target_native_io.h,
* native/target/MinGW/target_native_network.h:
New files. Implement the target native layer for the MinGW
platform.
-
+
2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
-
+
PR 25770
* javax/swing/DefaultCellEditor.java
(delegate): Assign new instance immediately.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
Likewise.
* native/target/generic/target_generic_file.h: Likewise.
-
+
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
-
+
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/SimpleAttributeSet.java
(SimpleAttributeSet()): Initialise storage directly,
(SimpleAttributeSet(AttributeSet)): Removed null check and documented
(containsAttribute): If key is found locally, don't check resolving
parent if the value doesn't match,
(getAttribute): Removed redundant instanceof and cast.
-
+
2006-01-16 Gary Benson <gbenson@redhat.com>
-
+
* java/lang/System.java (setSecurityManager): Ensure policy
files are loaded before a security manager is put in place.
-
+
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
-
+
* javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
-
+
2006-01-16 Wolfgang Baer <WBaer@gmx.de>
-
+
* javax/print/attribute/standard/MediaSize.java:
(static_initializer): Added comment.
(MediaSize): Added javadoc to mention cache registration.
(MediaSize): Likewise.
(MediaSize): Likewise.
(MediaSize): Likewise.
-
+
2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
-
+
PR classpath/25202
* gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
* gnu/javax/security/auth/login/ConfigFileParser.java: New class.
(getConfig(): replaced calls to NullConfiguration with
GnuConfiguration.
+2006-01-15 Tom Tromey <tromey@redhat.com>
+
+ * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
+ * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
+ * java/beans/PersistenceDelegate.java (initialize): Genericized.
+ * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
+ (setPersistenceDelegate): Likewise.
+
+2006-01-15 Wolfgang Baer <WBaer@gmx.de>
+
+ * javax/print/attribute/standard/PrinterStateReasons.java:
+ (printerStateReasonSet): Genericize the return type.
+
2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/table/DefaultTableCellRenderer.java
Fixes bug #25387
* javax/print/Doc.java: Added and enhanced documentation.
* javax/print/SimpleDoc.java: New file.
-
+
2006-01-14 Wolfgang Baer <WBaer@gmx.de>
-
+
* javax/print/attribute/standard/MediaSize.java:
(Other.TABLOID): New MediaSize added in 1.5
-
+
2006-01-14 Chris Burdess <dog@gnu.org>
-
+
* gnu/xml/stream/SAXParser.java: Ensure that parser is reset
correctly when I/O and runtime exceptions occur during parsing.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* gnu/java/awt/peer/swing/SwingButtonPeer.java,
* gnu/java/awt/peer/swing/SwingCanvasPeer.java,
* gnu/java/awt/peer/swing/SwingComponent.java,
* gnu/java/awt/peer/swing/SwingWindowPeer.java,
* gnu/java/awt/peer/swing/package.html:
New files. Implemented some basic AWT peers based on Swing.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/peer/ComponentPeer.java: Added API docs all over.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/MenuComponent.java: Reformatted to better match our
coding style.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Frame.java: Reformatted to better match our
coding style.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/MenuBar.java
(accessibleContext): Removed unnecessary field. This is already
defined in MenuComponent.
(setHelpMenu): Renamed the peer variable to myPeer because it was
hiding a field of MenuComponent.
(addNotify): Removed unnecessary cast.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/MenuBar.java: Reformatted to better match our
coding style.
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/MenuBar.java
(frame): New field.
(removeNotify): Clear frame field when beeing removed from the
dispatchEventImpl() to here.
(dispatchEventImpl): Moved handling of old style events to
dispatchEvent().
-
+
2006-01-13 Roman Kennke <kennke@aicas.com>
-
+
* java/awt/Component.java
(dispatchEvent): Moved handling of old style events from
dispatchEventImpl() to this method.
dispatchEvent().
2006-01-13 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(createDefaultRoot): Removed FIXME.
(setLogicalStyle): Added fireUndoableEditUpdate call and
removed FIXME.
-
+
2006-01-13 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java
(Edit): New inner class.
(changeUpdate): Changed addEdit call to add a new
(insertContentTag): Likewise.
(insert): Added loop to go through edits Vector and perform
addEdit on each object.
-
+
2006-01-13 Chris Burdess <dog@gnu.org>
-
+
* gnu/xml/transform/AbstractNumberNode.java,
gnu/xml/transform/ApplyImportsNode.java,
gnu/xml/transform/ApplyTemplatesNode.java,
* doc/www.gnu.org/announce/20060113.wml: New file.
* doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
* doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
-
+
2006-01-13 Lillian Angel <langel@redhat.com>
-
+
* javax/swing/text/DefaultStyledDocument.java:
Removed unused fields.
(insert): Removed unused fields.
(insertContentTag): Removed call to prepareContentInsertion.
(printElements): Removed, not needed.
(attributeSetsAreSame): Removed, not needed.
+
+2005-01-13 Mark Wielaard <mark@klomp.org>
-2006-01-13 Mark Wielaard <mark@klomp.org>
+ * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
+ Duplicate of toString(int, StringBuilder).
+
+2005-01-13 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.20.
* NEWS: Add entries for all the new work done.
-2006-01-13 Mark Wielaard <mark@klomp.org>
+2005-01-13 Mark Wielaard <mark@klomp.org>
* javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
-2006-01-13 Mark Wielaard <mark@klomp.org>
+2005-01-13 Mark Wielaard <mark@klomp.org>
* java/util/regex/Pattern.java (Pattern): Chain REException.
* gnu/xml/xpath/NameTest.java: Removed debugging output.
-2006-01-13 Jeroen Frijters <jeroen@frijters.net>
+2005-01-13 Jeroen Frijters <jeroen@frijters.net>
* java/security/Security.java
(getProperty): Added hack to skip security check when trusted
code is direct caller.
-2006-01-13 Jeroen Frijters <jeroen@frijters.net>
+2005-01-13 Jeroen Frijters <jeroen@frijters.net>
* java/io/PrintStream.java
(line_separator, PrintStream(OutputStream,boolean)): Use
SystemProperties.
-2006-01-13 Jeroen Frijters <jeroen@frijters.net>
+2005-01-13 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/nio/charset/Provider.java: Added comment about its
special relation with CharsetProvider.
(CharsetProvider): Add special case to skip security check for
built in providers.
-2006-01-13 Mark Wielaard <mark@klomp.org>
+2005-01-13 Mark Wielaard <mark@klomp.org>
* javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
name, accel, mnemonic and command are defined before setting.
-2006-01-12 Mark Wielaard <mark@klomp.org>
+2005-01-12 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/metal/MetalFileChooserUI.java
(FileRenderer.getListCellRendererComponent): Set empty name and null
* java/net/InetAddress.java (getAllByName): use LOCALHOST if
localhost is null or is an empty string. Trim hostname before
lookup.
+