OSDN Git Service

2007-05-19 Andreas Tobler <a.tobler@schweiz.org>
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
index 3d3d23f..cf778b4 100644 (file)
@@ -1,3 +1,249 @@
+2007-05-19  Andreas Tobler  <a.tobler@schweiz.org>
+
+       PR libgcj/31659
+       * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
+       * configure: Regenerate.
+
+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: