OSDN Git Service

* java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index bc20e96..607d00f 100644 (file)
@@ -1,3 +1,104 @@
+2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
+       int, int):  Remove empty "if" statement to work around compiler bug.
+       (newPixels(int[], ColorModel, int, int): Likewise.
+
+2002-01-25  Per Bothner  <per@bothner.com>
+
+       * verify.cc (verify_fail):  Change from being a top-level function
+       to e method of _Jv_BytecodeVerifier.  Emit current method name.
+       Pass the current verifier to type: and state: methods as needed,
+       for better error messages, and for resolve.
+       (resolve):  Pass current class's loader for Class.forName and
+       _Jv_FindClassFromSignature, rather than using the default loader.
+       (various type: and state: methods):  Take _Jv_BytecodeVerifier* arg.
+       (get_type_val_for_signature):  Make non-static.
+       (various methods):  Pass start_PC implicitly, not explicitly.
+
+2002-01-25  Tom Tromey  <tromey@redhat.com>
+
+       * java/awt/FlowLayout.java (layoutContainer): Correctly compute
+       loop termination condition.
+       * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
+       width.
+
+2002-01-24  Tom Tromey  <tromey@redhat.com>
+
+       * java/awt/Shape.java: Merged with Classpath.
+       * java/awt/Scrollbar.java: Merged with Classpath.
+
+       * java/awt/Container.java (addNotify): Unconditionally call
+       addNotifyContainerChildren and superclass addNotify.
+
+       * java/awt/image/ColorModel.java (getAlpha(Object)): Call
+       getAlpha, not getBlue.
+
+2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
+       
+       * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
+       (grabPixels(long)): Wait to be notified that the ImageProducer has 
+       completed.
+
+2002-01-24  Per Bothner  <per@bothner.com>
+
+       * verify.cc (is_assignable_from_slow): If target is an interface,
+       we must still check the source's superclass before giving up.
+
+2002-01-24  Tom Tromey  <tromey@redhat.com>
+
+       * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
+
+2002-01-23  Tom Tromey  <tromey@redhat.com>
+
+       * java/awt/BorderLayout.java (addLayoutComponent): Added missing
+       `else'.
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (awt_java_source_files): Added new files.
+       * java/awt/Toolkit.java: Merged with Classpath.
+       * java/awt/PrintGraphics.java: New file from Classpath.
+       * java/awt/PrintJob.java: New file from Classpath.
+       * java/awt/datatransfer/Clipboard.java: New file from Classpath.
+       * java/awt/datatransfer/ClipboardOwner.java: New file from
+       Classpath.
+       * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
+       * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
+       * java/awt/datatransfer/MimeTypeParseException.java: New file from
+       Classpath.
+       * java/awt/datatransfer/StringSelection.java: New file from
+       Classpath.
+       * java/awt/datatransfer/SystemFlavorMap.java: New file from
+       Classpath.
+       * java/awt/datatransfer/Transferable.java: New file from
+       Classpath.
+       * java/awt/datatransfer/UnsupportedFlavorException.java: New file
+       from Classpath.
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (awt_java_source_files): Added new files.
+       * java/awt/image/AreaAveragingScaleFilter.java: New file from
+       Classpath.
+       * java/awt/image/CropImageFilter.java: New file from Classpath.
+       * java/awt/image/FilteredImageSource.java: New file from
+       Classpath.
+       * java/awt/image/ImageFilter.java: New file from Classpath.
+       * java/awt/image/MemoryImageSource.java: New file from Classpath.
+       * java/awt/image/PixelGrabber.java: New file from Classpath.
+       * java/awt/image/RGBImageFilter.java: New file from Classpath.
+       * java/awt/image/ReplicateScaleFilter.java: New file from
+       Classpath.
+       * java/awt/image/ImageProducer.java: Replaced with Classpath
+       version.
+       * java/awt/image/ImageObserver.java: Replaced with Classpath
+       version.
+       * java/awt/image/ImageConsumer.java: Replaced with Classpath
+       version.
+       * java/awt/GridBagConstraints.java (clone): Catch
+       CloneNotSupportedException.
+
 2002-01-23  Per Bothner  <per@bothner.com>
 
        * java/lang/reflect/natField.cc (setAddr):  New function.