[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: AWT & Swing fixes from 8th and 9th and mall Calenda

Kaffe CVS cvs-commits at kaffe.org
Sat Oct 9 15:32:42 PDT 2004


PatchSet 5259 
Date: 2004/10/09 22:17:49
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU Classpath: AWT & Swing fixes from 8th and 9th and mall Calendar fixes

2004-10-09  Dalibor Topic  <robilad at kaffe.org>

        * m4/ac_c_bigendian_cross.m4:
        New file, taken from ac-archive.sf.net.

        * configure.ac:
        Call AC_C_BIGENDIAN_CROSS for cross-compilation.

        * include/Makefile.am:
        (LIBGTKPEER_JNI_HDRS) Added gnu_java_awt_peer_gtk_GdkFontPeer.h
        and gnu_java_awt_peer_gtk_GdkTextLayout.h. Removed
        gnu_java_awt_peer_gtk_GdkClasspathFontPeer.h and
        gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c.

        * libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
        libraries/javalib/gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkFontPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkTextLayout.java:
        New files, taken from GNU Classpath.

        * libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
        Removed.

        * libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:
        (gtk_cairo_c_source_files) Removed gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c and
        gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c.
        (libgtkpeer_la_SOURCES) Added gnu_java_awt_peer_gtk_GdkFontPeer.c
        and gnu_java_awt_peer_gtk_GdkTextLayout.c.

        * libraries/clib/awt/classpath-gtk/gtk-peer/gdkfont.h,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
        libraries/clib/awt/classpath-gtk/gtk-peer/gtkpeer.h,
        libraries/javalib/gnu/java/awt/ClasspathToolkit.java,
        libraries/javalib/gnu/java/awt/peer/ClasspathFontPeer.java,
        libraries/javalib/gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkFontMetrics.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkFontPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GdkTextLayout.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkButtonPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkContainerPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkListPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkPanelPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
:
        libraries/javalib/gnu/java/awt/peer/gtk/GtkToolkit.java,
        libraries/javalib/gnu/java/awt/peer/gtk/GtkWindowPeer.java,
        libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java,
        libraries/javalib/java/awt/Component.java,
        libraries/javalib/java/awt/Container.java,
        libraries/javalib/java/awt/Font.java,
        libraries/javalib/java/awt/KeyboardFocusManager.java,
        libraries/javalib/java/awt/font/TextLayout.java,
        libraries/javalib/java/util/Calendar.java,
        libraries/javalib/java/util/GregorianCalendar.java,
        libraries/javalib/javax/swing/plaf/basic/BasicGraphicsUtils.java,
        libraries/javalib/javax/swing/plaf/basic/BasicSliderUI.java,
        libraries/javalib/javax/swing/text/Utilities.java:
        Resynced with GNU Classpath.

        * Makefile.in,
        aclocal.m4,
        configure,
        config/Makefile.in,
        config/config.h.in,
        include/Makefile.in,
        kaffe/Makefile.in,
        kaffe/jvmpi/Makefile.in,
        kaffe/kaffe/Makefile.in,
        kaffe/kaffeh/Makefile.in,
        kaffe/kaffevm/Makefile.in,
        kaffe/kaffevm/boehm-gc/Makefile.in,
        kaffe/kaffevm/gcj/Makefile.in,
        kaffe/kaffevm/intrp/Makefile.in,
        kaffe/kaffevm/jit/Makefile.in,
        kaffe/kaffevm/jit3/Makefile.in,
        kaffe/kaffevm/jni/Makefile.in,
        kaffe/kaffevm/kaffe-gc/Makefile.in,
        kaffe/kaffevm/systems/Makefile.in,
        kaffe/kaffevm/systems/beos-native/Makefile.in,
        kaffe/kaffevm/systems/oskit-pthreads/Makefile.in,
        kaffe/kaffevm/systems/unix-jthreads/Makefile.in,
        kaffe/kaffevm/systems/unix-pthreads/Makefile.in,
        kaffe/kaffevm/verifier/Makefile.in,
        kaffe/man/Makefile.in,
        kaffe/scripts/Makefile.in,
        kaffe/scripts/bat/Makefile.in,
        kaffe/scripts/compat/Makefile.in,
        kaffe/xprof/Makefile.in,
        libraries/Makefile.in,
        libraries/clib/Makefile.in,
        libraries/clib/awt/Makefile.in,
        libraries/clib/awt/X/Makefile.in,
        libraries/clib/awt/classpath-gtk/Makefile.in,
        libraries/clib/awt/classpath-gtk/classpath/Makefile.in,
        libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in,
        libraries/clib/awt/classpath-gtk/resource/Makefile.in,
        libraries/clib/awt/qt/Makefile.in,
        libraries/clib/io/Makefile.in,
        libraries/clib/libxmlj/Makefile.in,
        libraries/clib/management/Makefile.in,
        libraries/clib/math/Makefile.in,
        libraries/clib/native/Makefile.in,
        libraries/clib/net/Makefile.in,
        libraries/clib/nio/Makefile.in,
        libraries/clib/security/Makefile.in,
        libraries/clib/sound/Makefile.in,
        libraries/clib/sound/alsa/Makefile.in,
        libraries/clib/sound/common/Makefile.in,
        libraries/clib/sound/esd/Makefile.in,
        libraries/clib/zip/Makefile.in,
        libraries/extensions/Makefile.in,
        libraries/extensions/comm/Makefile.in,
        libraries/extensions/comm/javalib/Makefile.in,
        libraries/extensions/microsoft/Makefile.in,
        libraries/extensions/microsoft/clib/Makefile.in,
        libraries/extensions/microsoft/javalib/Makefile.in,
        libraries/extensions/pjava/Makefile.in,
        libraries/extensions/pjava/javalib/Makefile.in,
        libraries/extensions/servlet/Makefile.in,
        libraries/extensions/servlet/javalib/Makefile.in,
        libraries/javalib/Makefile.am,
        libraries/javalib/Makefile.in,
        libraries/javalib/all.files,
        libraries/javalib/awt-implementations/Makefile.in,
        libraries/javalib/awt-implementations/kaffe/Makefile.in,
        libraries/javalib/gmp-math/Makefile.in,
        replace/Makefile.in,
        test/Makefile.in,
        test/internal/Makefile.in,
        test/jni/Makefile.in,
        test/regression/Makefile.in,
        test/regression/compile_time/Makefile.in,
        test/regression/compiler/Makefile.in,
        test/regression/run_time/Makefile.in,
        tools/Makefile.in,
        tools/gjdoc/Makefile.in,
        tools/gjdoc/javalib/Makefile.in:
        Regenerated.

        2004-10-09  Mark Wielaard  <mark at klomp.org>

        * native/jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.

        2004-10-09  Michael Koch  <konqueror at gmx.de>

        * gnu/java/rmi/server/UnicastConnectionManager.java:
        Fix file header.

        2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>

        * javax/swing/JList.java (init): Revert accidental commit.

        2004-10-08  Bryce McKinlay  <mckinlay at redhat.com>

        * java/util/Calendar.java (set): Invalidate DST_OFFSET
        field as a DST boundary may have been crossed.
        * java/util/GregorianCalendar.java (add): Throw
        IllegalArgumentException on attempt to add to DST_OFFSET or
        ZONE_OFFSET fields. Update javadoc.

        2004-10-09  Michael Koch  <konqueror at gmx.de>

        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c,
        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
        Removed.
        * native/jni/gtk-peer/Makefile.am: Removed files.

        2004-10-09  Michael Koch  <konqueror at gmx.de>

        * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
        gnu/java/awt/peer/gtk/GdkGraphics.java,
        gnu/java/awt/peer/gtk/GdkGraphics2D.java,
        gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
        gnu/java/awt/peer/gtk/GtkToolkit.java,
        java/awt/font/TextLayout.java,
        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
        native/jni/gtk-peer/gtkpeer.h:
        Merged whitespace stuff with java-gui-branch.

        2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>

        * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
        Don't call setParentAndBounds on GtkWindowPeers.

        2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>

        * java/awt/Component.java (static): Don't set default keyboard
        focus manager.
        * java/awt/KeyboardFocusManager.java
        (getCurrentKeyboardFocusManager): If current keyboard focus
        manager is null set a default.

        2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>

        * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
        (gtkWidgetSetBackground): New method.
        (block_expose_events_cb): New function.
        (connectSignals): Block the AWT's expose event processing on
        button press and release.
        (gtkSetLabel): Set text on proper widget.
        (gtkWidgetModifyFont): Modify font on proper widget.
        (gtkWidgetSetBackground): Set normal, active and prelight
        colours.
        (gtkWidgetSetForeground): Set forground colour of proper widget.
        (gtkActivate): Activate the correct widget.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
        Only clear rectangle if the backing component is not an event
        box.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
        (beginNativeRepaintID): New variable.
        (endNativeRepaintID): Likewise.
        (gtkInit): Initialize new fields with method IDs.
        * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
        (endNativeRepaintID): Likewise.

        2004-10-09  Michael Koch  <konqueror at gmx.de>

        * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: Regenerated.

        2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>

        * gnu/java/awt/peer/gtk/GdkGraphics.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
        Call initComponentGraphics or connectSignals depending on
        component's realization status.
        (realize_cb): New function.
        (initComponentGraphics): New method.
        (connectSignals): New method.
        (clipRect): Return immediately if component is not realized.
        (setClip): Likewise.
        (translate): Likewise.
        (drawImage variants): Return false immediately if component is
        not realized.
        * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
        (connectSignals): New method.
        (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
        depending on component's realization status.  Move other
        initialization calls to ...
        (initComponentGraphics2D): New method.
        (realize_cb): New function.
        (cairoSetMatrix): Return immediately if gr is NULL.
        (cairoNewPath): Likewise.
        (cairoRectangle): Likewise.
        (cairoClip): Likewise.
        * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
        (gtkWidgetRepaintArea): Remove method.
        (isRealized): New method.
        (GtkComponentPeer): Move setParent, connectJObject and setCursor
        calls to setParentAndBounds.  Call setParentAndBounds.
        (setParentAndBounds): New method.
        (setComponentBounds): Return immediately if bounds are all zero.
        (repaint): Remove call to gtkWidgetRepaintArea.  Return
        immediately if requested paint region is 0x0.
        (setCursor): New method.
        (gtkWidgetSetParent): Only set widget's parent if its parent is
        currently NULL.
        (setNativeBounds): Only set widget's bounds if it has a parent.
        (connectSignals): Don't call gtk_widget_realize.  Connect
        realize signal to connect_awt_hook_cb handler.
        * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
        New field.
        (beginValidate): Set isValidating true.
        (endValidate): Set parents and bounds for children first, then
        for this.  Set isValidating false.
        * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
        (connectJObject): Remove method.
        (connectSignals): Don't call gtk_widget_realize.
        * gnu/java/awt/peer/gtk/GtkListPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
        (connectJObject): Remove method.
        (connectSignals): Don't call gtk_widget_realize.
        * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
        (connectJObject): Remove method.
        * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
        (connectJObject): Remove method.
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (create): Don't call gtk_widget_realize.
        (connectJObject): Remove method.
        (connectSignals): Don't call gtk_widget_realize.  Connect
        realize signal to connect_awt_hook_cb handler.
        (nativeSetBounds): Don't attempt to move GDK window if it is
        NULL.
        * java/awt/Container.java (addImpl): Don't call comp.addNotify
        if peer is not null.
        (validateTree): Create peers for all children before calling
        doLayout.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
        (connectSignals): Don't call gtk_widget_realize.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
        (connect_awt_hook_cb): New function.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
        (initComponentGraphicsID): New variable.
        (initComponentGraphics2DID): Likewise.
        (setCursorID): Likewise.
        (gtkInit): Initialize new fields with method IDs.
        * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
        extern.
        (initComponentGraphics2DID): Declare extern.
        (setCursorID): Likewise.
        (connect_awt_hook_cb): Declare function.

        2004-10-09  Graydon Hoare  <graydon at redhat.com>

        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
        (install_font_peer): Minor bug fixes to track cairo font
        semantics.

        2004-10-08  Graydon Hoare  <graydon at redhat.com>

        * gnu/java/awt/ClasspathToolkit.java
        (getClasspathTextLayoutPeer) Add.
        * gnu/java/awt/peer/ClasspathFontPeer.java
        (copyStyleToAttrs)
        (copySizeToAttrs): Make public.
        * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
        * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.

        * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
        * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
        * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
        * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
        * gnu/java/awt/peer/gtk/GdkGraphics.java
        (getFontPeer): New function.
        (drawString): Pass font peer to native side.
        * gnu/java/awt/peer/gtk/GdkGraphics2D.java
        (cairoSetFont)
        (cairoShowGlyphs)
        (PainterThread): Remove.
        (GdkGraphics2D): Set hints during construction.
        (shifted)
        (walkPath)
        (draw)
        (setRenderingHint)
        (setRenderingHints): Reimplement normalization logic.
        (getDefaultHints)
        (updateBufferedImage)
        (isBufferedImageGraphics)
        (updateImagePixels)
        (drawImage): Make final.
        (drawImage): Always paint synchronously.
        (drawString)
        (drawGlyphVector): Rewrite.
        (releasePeerGraphicResource)
        (getPeerTextMetrics)
        (getPeerFontMetrics)
        (drawGdkGlyphVector)
        (drawGdkTextLayout)
        (cairoDrawGdkGlyphVector)
        (cairoDrawGdkTextLayout)
        (cairoDrawString)
        (getFontPeer): New functions.
        * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
      * gnu/java/awt/peer/gtk/GtkComponentPeer.java
        (getFontMetrics): Get metrics via toolkit, to hit cache.
        * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
        * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
        * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
        (fontCache)
        (metricsCache)
        (imageCache): New members.
        (getFontMetrics)
        (getImage)
        (getClasspathFontPeer): Use caches.
        (getFontPeer): Route through getClasspathFontPeer.
        * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
        * java/awt/font/TextLayout.java: Implement in terms of peer.
        * javax/swing/plaf/basic/BasicSliderUI.java
        (paintThumb): Use polyline rather than polygon.
        * javax/swing/plaf/basic/BasicGraphicsUtils.java:
        Update comment but, alas, still do not switch to using TextLayouts.
        * javax/swing/text/Utilities.java (drawTabbedText):
        Draw text run-at-a-time, not char-at-a-time.
        * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
        layout table.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
        Remove files.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
        incorporate brains of old GdkClasspathFontPeerMetrics.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
        incorporate brains of old GdkClasspathFontPeer.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
        (drawString): Rewrite to use persistent layout in peer font.
        Comment out extraneous gdk_flush calls.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
        (metrics_cairo)
        (metrics_surface): New static variables.
        (paint_glyph_run)
        (install_font_peer): New helper functions.
        (releasePeerGraphicResource)
        (getPeerTextMetrics)
        (getPeerFontMetrics)
        (cairoDrawGdkTextLayout)
        (cairoDrawGdkGlyphVector): New native methods.
        (cairoDrawString): Rewrite, leaving layout-based version
        commented out for the time being.
        * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.

        2004-10-08 Andreas Tobler <a.tobler at schweiz.ch>

        * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
        * native/jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
        macro to gtkpeer.h.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
        (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
        pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
        architectures.
        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
        (area_updated): Likewise.

Members: 
	ChangeLog:1.2813->1.2814 
	Makefile.in:1.184->1.185 
	aclocal.m4:1.112->1.113 
	configure:1.388->1.389 
	configure.ac:1.83->1.84 
	config/Makefile.in:1.160->1.161 
	config/config.h.in:1.126->1.127 
	include/Makefile.am:1.74->1.75 
	include/Makefile.in:1.189->1.190 
	kaffe/Makefile.in:1.131->1.132 
	kaffe/jvmpi/Makefile.in:1.53->1.54 
	kaffe/kaffe/Makefile.in:1.149->1.150 
	kaffe/kaffeh/Makefile.in:1.130->1.131 
	kaffe/kaffevm/Makefile.in:1.178->1.179 
	kaffe/kaffevm/boehm-gc/Makefile.in:1.17->1.18 
	kaffe/kaffevm/gcj/Makefile.in:1.111->1.112 
	kaffe/kaffevm/intrp/Makefile.in:1.120->1.121 
	kaffe/kaffevm/jit/Makefile.in:1.126->1.127 
	kaffe/kaffevm/jit3/Makefile.in:1.97->1.98 
	kaffe/kaffevm/jni/Makefile.in:1.23->1.24 
	kaffe/kaffevm/kaffe-gc/Makefile.in:1.13->1.14 
	kaffe/kaffevm/systems/Makefile.in:1.119->1.120 
	kaffe/kaffevm/systems/beos-native/Makefile.in:1.111->1.112 
	kaffe/kaffevm/systems/oskit-pthreads/Makefile.in:1.117->1.118 
	kaffe/kaffevm/systems/unix-jthreads/Makefile.in:1.121->1.122 
	kaffe/kaffevm/systems/unix-pthreads/Makefile.in:1.93->1.94 
	kaffe/kaffevm/verifier/Makefile.in:1.22->1.23 
	kaffe/man/Makefile.in:1.117->1.118 
	kaffe/scripts/Makefile.in:1.154->1.155 
	kaffe/scripts/bat/Makefile.in:1.110->1.111 
	kaffe/scripts/compat/Makefile.in:1.135->1.136 
	kaffe/xprof/Makefile.in:1.85->1.86 
	libraries/Makefile.in:1.114->1.115 
	libraries/clib/Makefile.in:1.124->1.125 
	libraries/clib/awt/Makefile.in:1.128->1.129 
	libraries/clib/awt/X/Makefile.in:1.119->1.120 
	libraries/clib/awt/classpath-gtk/Makefile.in:1.8->1.9 
	libraries/clib/awt/classpath-gtk/classpath/Makefile.in:1.9->1.10 
	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:1.5->1.6 
	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in:1.10->1.11 
	libraries/clib/awt/classpath-gtk/gtk-peer/gdkfont.h:1.1->1.2 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:1.1->1.2(DEAD) 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:1.2->1.3(DEAD) 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c:1.1->1.2 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:INITIAL->1.1 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:1.4->1.5 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:1.4->1.5 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:1.3->1.4 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:INITIAL->1.1 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:1.3->1.4 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:1.4->1.5 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:1.3->1.4 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:1.4->1.5 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c:1.1->1.2 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:1.3->1.4 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:1.3->1.4 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c:1.3->1.4 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:1.1->1.2 
	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:1.6->1.7 
	libraries/clib/awt/classpath-gtk/gtk-peer/gtkpeer.h:1.4->1.5 
	libraries/clib/awt/classpath-gtk/resource/Makefile.in:1.8->1.9 
	libraries/clib/awt/qt/Makefile.in:1.76->1.77 
	libraries/clib/io/Makefile.in:1.122->1.123 
	libraries/clib/libxmlj/Makefile.in:1.26->1.27 
	libraries/clib/management/Makefile.in:1.130->1.131 
	libraries/clib/math/Makefile.in:1.125->1.126 
	libraries/clib/native/Makefile.in:1.158->1.159 
	libraries/clib/net/Makefile.in:1.134->1.135 
	libraries/clib/nio/Makefile.in:1.49->1.50 
	libraries/clib/security/Makefile.in:1.96->1.97 
	libraries/clib/sound/Makefile.in:1.23->1.24 
	libraries/clib/sound/alsa/Makefile.in:1.23->1.24 
	libraries/clib/sound/common/Makefile.in:1.23->1.24 
	libraries/clib/sound/esd/Makefile.in:1.23->1.24 
	libraries/clib/zip/Makefile.in:1.127->1.128 
	libraries/extensions/Makefile.in:1.106->1.107 
	libraries/extensions/comm/Makefile.in:1.100->1.101 
	libraries/extensions/comm/javalib/Makefile.in:1.100->1.101 
	libraries/extensions/microsoft/Makefile.in:1.92->1.93 
	libraries/extensions/microsoft/clib/Makefile.in:1.96->1.97 
	libraries/extensions/microsoft/javalib/Makefile.in:1.93->1.94 
	libraries/extensions/pjava/Makefile.in:1.100->1.101 
	libraries/extensions/pjava/javalib/Makefile.in:1.100->1.101 
	libraries/extensions/servlet/Makefile.in:1.100->1.101 
	libraries/extensions/servlet/javalib/Makefile.in:1.100->1.101 
	libraries/javalib/Makefile.am:1.246->1.247 
	libraries/javalib/Makefile.in:1.326->1.327 
	libraries/javalib/all.files:1.34->1.35 
	libraries/javalib/awt-implementations/Makefile.in:1.8->1.9 
	libraries/javalib/awt-implementations/kaffe/Makefile.in:1.9->1.10 
	libraries/javalib/gmp-math/Makefile.in:1.11->1.12 
	libraries/javalib/gnu/java/awt/ClasspathToolkit.java:1.2->1.3 
	libraries/javalib/gnu/java/awt/peer/ClasspathFontPeer.java:1.1->1.2 
	libraries/javalib/gnu/java/awt/peer/ClasspathTextLayoutPeer.java:INITIAL->1.1 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:1.2->1.3(DEAD) 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java:1.2->1.3(DEAD) 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkFontMetrics.java:1.1->1.2 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkFontPeer.java:INITIAL->1.1 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkGlyphVector.java:1.2->1.3 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics.java:1.5->1.6 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java:1.4->1.5 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:1.2->1.3 
	libraries/javalib/gnu/java/awt/peer/gtk/GdkTextLayout.java:INITIAL->1.1 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkButtonPeer.java:1.4->1.5 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java:1.4->1.5 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkContainerPeer.java:1.2->1.3 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:1.5->1.6 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkListPeer.java:1.4->1.5 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkPanelPeer.java:1.2->1.3 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkScrollbarPeer.java:1.1->1.2 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java:1.2->1.3 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java:1.3->1.4 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkToolkit.java:1.4->1.5 
	libraries/javalib/gnu/java/awt/peer/gtk/GtkWindowPeer.java:1.3->1.4 
	libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java:1.5->1.6 
	libraries/javalib/java/awt/Component.java:1.40->1.41 
	libraries/javalib/java/awt/Container.java:1.24->1.25 
	libraries/javalib/java/awt/Font.java:1.19->1.20 
	libraries/javalib/java/awt/KeyboardFocusManager.java:1.6->1.7 
	libraries/javalib/java/awt/font/TextLayout.java:1.5->1.6 
	libraries/javalib/java/util/Calendar.java:1.24->1.25 
	libraries/javalib/java/util/GregorianCalendar.java:1.24->1.25 
	libraries/javalib/javax/swing/plaf/basic/BasicGraphicsUtils.java:1.2->1.3 
	libraries/javalib/javax/swing/plaf/basic/BasicSliderUI.java:1.4->1.5 
	libraries/javalib/javax/swing/text/Utilities.java:1.1->1.2 
	m4/ac_c_bigendian_cross.m4:INITIAL->1.1 
	replace/Makefile.in:1.65->1.66 
	test/Makefile.in:1.121->1.122 
	test/internal/Makefile.in:1.79->1.80 
	test/jni/Makefile.in:1.16->1.17 
	test/regression/Makefile.in:1.190->1.191 
	test/regression/compile_time/Makefile.in:1.51->1.52 
	test/regression/compiler/Makefile.in:1.33->1.34 
	test/regression/run_time/Makefile.in:1.50->1.51 
	tools/Makefile.in:1.24->1.25 
	tools/gjdoc/Makefile.in:1.24->1.25 
	tools/gjdoc/javalib/Makefile.in:1.27->1.28 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2813 kaffe/ChangeLog:1.2814
--- kaffe/ChangeLog:1.2813	Sat Oct  9 11:40:39 2004
+++ kaffe/ChangeLog	Sat Oct  9 22:17:49 2004
@@ -1,5 +1,450 @@
 2004-10-09  Dalibor Topic  <robilad at kaffe.org>
 
+	* m4/ac_c_bigendian_cross.m4:
+	New file, taken from ac-archive.sf.net.
+
+	* configure.ac:
+	Call AC_C_BIGENDIAN_CROSS for cross-compilation.
+
+	* include/Makefile.am:
+	(LIBGTKPEER_JNI_HDRS) Added gnu_java_awt_peer_gtk_GdkFontPeer.h
+	and gnu_java_awt_peer_gtk_GdkTextLayout.h. Removed 
+	gnu_java_awt_peer_gtk_GdkClasspathFontPeer.h and
+	gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c.
+
+	* libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
+	libraries/javalib/gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkFontPeer.java, 
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkTextLayout.java:
+	New files, taken from GNU Classpath.
+
+	* libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
+	Removed.
+
+	* libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am:
+	(gtk_cairo_c_source_files) Removed gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c and
+	gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c.
+	(libgtkpeer_la_SOURCES) Added gnu_java_awt_peer_gtk_GdkFontPeer.c
+	and gnu_java_awt_peer_gtk_GdkTextLayout.c.
+
+	* libraries/clib/awt/classpath-gtk/gtk-peer/gdkfont.h,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
+	libraries/clib/awt/classpath-gtk/gtk-peer/gtkpeer.h,
+	libraries/javalib/gnu/java/awt/ClasspathToolkit.java,
+	libraries/javalib/gnu/java/awt/peer/ClasspathFontPeer.java,
+	libraries/javalib/gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkFontMetrics.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkFontPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkGlyphVector.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphics2D.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GdkTextLayout.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkButtonPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkComponentPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkContainerPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkListPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkPanelPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkToolkit.java,
+	libraries/javalib/gnu/java/awt/peer/gtk/GtkWindowPeer.java,
+	libraries/javalib/gnu/java/rmi/server/UnicastConnectionManager.java,
+	libraries/javalib/java/awt/Component.java,
+	libraries/javalib/java/awt/Container.java,
+	libraries/javalib/java/awt/Font.java,
+	libraries/javalib/java/awt/KeyboardFocusManager.java,
+	libraries/javalib/java/awt/font/TextLayout.java,
+	libraries/javalib/java/util/Calendar.java,
+	libraries/javalib/java/util/GregorianCalendar.java,
+	libraries/javalib/javax/swing/plaf/basic/BasicGraphicsUtils.java,
+	libraries/javalib/javax/swing/plaf/basic/BasicSliderUI.java,
+	libraries/javalib/javax/swing/text/Utilities.java:
+	Resynced with GNU Classpath.
+
+	* Makefile.in,
+	aclocal.m4,
+	configure,
+	config/Makefile.in,
+	config/config.h.in,
+	include/Makefile.in,
+	kaffe/Makefile.in,
+	kaffe/jvmpi/Makefile.in,
+	kaffe/kaffe/Makefile.in,
+	kaffe/kaffeh/Makefile.in,
+	kaffe/kaffevm/Makefile.in,
+	kaffe/kaffevm/boehm-gc/Makefile.in,
+	kaffe/kaffevm/gcj/Makefile.in,
+	kaffe/kaffevm/intrp/Makefile.in,
+	kaffe/kaffevm/jit/Makefile.in,
+	kaffe/kaffevm/jit3/Makefile.in,
+	kaffe/kaffevm/jni/Makefile.in,
+	kaffe/kaffevm/kaffe-gc/Makefile.in,
+	kaffe/kaffevm/systems/Makefile.in,
+	kaffe/kaffevm/systems/beos-native/Makefile.in,
+	kaffe/kaffevm/systems/oskit-pthreads/Makefile.in,
+	kaffe/kaffevm/systems/unix-jthreads/Makefile.in,
+	kaffe/kaffevm/systems/unix-pthreads/Makefile.in,
+	kaffe/kaffevm/verifier/Makefile.in,
+	kaffe/man/Makefile.in,
+	kaffe/scripts/Makefile.in,
+	kaffe/scripts/bat/Makefile.in,
+	kaffe/scripts/compat/Makefile.in,
+	kaffe/xprof/Makefile.in,
+	libraries/Makefile.in,
+	libraries/clib/Makefile.in,
+	libraries/clib/awt/Makefile.in,
+	libraries/clib/awt/X/Makefile.in,
+	libraries/clib/awt/classpath-gtk/Makefile.in,
+	libraries/clib/awt/classpath-gtk/classpath/Makefile.in,
+	libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.in,
+	libraries/clib/awt/classpath-gtk/resource/Makefile.in,
+	libraries/clib/awt/qt/Makefile.in,
+	libraries/clib/io/Makefile.in,
+	libraries/clib/libxmlj/Makefile.in,
+	libraries/clib/management/Makefile.in,
+	libraries/clib/math/Makefile.in,
+	libraries/clib/native/Makefile.in,
+	libraries/clib/net/Makefile.in,
+	libraries/clib/nio/Makefile.in,
+	libraries/clib/security/Makefile.in,
+	libraries/clib/sound/Makefile.in,
+	libraries/clib/sound/alsa/Makefile.in,
+	libraries/clib/sound/common/Makefile.in,
+	libraries/clib/sound/esd/Makefile.in,
+	libraries/clib/zip/Makefile.in,
+	libraries/extensions/Makefile.in,
+	libraries/extensions/comm/Makefile.in,
+	libraries/extensions/comm/javalib/Makefile.in,
+	libraries/extensions/microsoft/Makefile.in,
+	libraries/extensions/microsoft/clib/Makefile.in,
+	libraries/extensions/microsoft/javalib/Makefile.in,
+	libraries/extensions/pjava/Makefile.in,
+	libraries/extensions/pjava/javalib/Makefile.in,
+	libraries/extensions/servlet/Makefile.in,
+	libraries/extensions/servlet/javalib/Makefile.in,
+	libraries/javalib/Makefile.am,
+	libraries/javalib/Makefile.in,
+	libraries/javalib/all.files,
+	libraries/javalib/awt-implementations/Makefile.in,
+	libraries/javalib/awt-implementations/kaffe/Makefile.in,
+	libraries/javalib/gmp-math/Makefile.in,
+	replace/Makefile.in,
+	test/Makefile.in,
+	test/internal/Makefile.in,
+	test/jni/Makefile.in,
+	test/regression/Makefile.in,
+	test/regression/compile_time/Makefile.in,
+	test/regression/compiler/Makefile.in,
+	test/regression/run_time/Makefile.in,
+	tools/Makefile.in,
+	tools/gjdoc/Makefile.in,
+	tools/gjdoc/javalib/Makefile.in:
+	Regenerated.
+
+	2004-10-09  Mark Wielaard  <mark at klomp.org>
+
+        * native/jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
+
+	2004-10-09  Michael Koch  <konqueror at gmx.de>
+
+        * gnu/java/rmi/server/UnicastConnectionManager.java:
+        Fix file header.
+
+	2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>
+
+        * javax/swing/JList.java (init): Revert accidental commit.
+
+	2004-10-08  Bryce McKinlay  <mckinlay at redhat.com>
+
+        * java/util/Calendar.java (set): Invalidate DST_OFFSET
+        field as a DST boundary may have been crossed.
+        * java/util/GregorianCalendar.java (add): Throw
+        IllegalArgumentException on attempt to add to DST_OFFSET or
+        ZONE_OFFSET fields. Update javadoc.
+
+	2004-10-09  Michael Koch  <konqueror at gmx.de>
+
+        * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c,
+        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
+        Removed.
+        * native/jni/gtk-peer/Makefile.am: Removed files.
+
+	2004-10-09  Michael Koch  <konqueror at gmx.de>
+
+        * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
+        gnu/java/awt/peer/gtk/GdkGraphics.java,
+        gnu/java/awt/peer/gtk/GdkGraphics2D.java,
+        gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
+        gnu/java/awt/peer/gtk/GtkToolkit.java,
+        java/awt/font/TextLayout.java,
+        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
+        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
+        native/jni/gtk-peer/gtkpeer.h:
+        Merged whitespace stuff with java-gui-branch.
+
+	2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>
+
+        * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
+        Don't call setParentAndBounds on GtkWindowPeers.
+
+	2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>
+
+        * java/awt/Component.java (static): Don't set default keyboard
+        focus manager.
+        * java/awt/KeyboardFocusManager.java
+        (getCurrentKeyboardFocusManager): If current keyboard focus
+        manager is null set a default.
+
+	2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>
+
+        * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
+        (gtkWidgetSetBackground): New method.
+        (block_expose_events_cb): New function.
+        (connectSignals): Block the AWT's expose event processing on
+        button press and release.
+        (gtkSetLabel): Set text on proper widget.
+        (gtkWidgetModifyFont): Modify font on proper widget.
+        (gtkWidgetSetBackground): Set normal, active and prelight
+        colours.
+        (gtkWidgetSetForeground): Set forground colour of proper widget.
+        (gtkActivate): Activate the correct widget.
+        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
+        Only clear rectangle if the backing component is not an event
+        box.
+        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
+        (beginNativeRepaintID): New variable.
+        (endNativeRepaintID): Likewise.
+        (gtkInit): Initialize new fields with method IDs.
+        * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
+        (endNativeRepaintID): Likewise.
+
+	2004-10-09  Michael Koch  <konqueror at gmx.de>
+
+        * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: Regenerated.
+
+	2004-10-09  Thomas Fitzsimmons  <fitzsim at redhat.com>
+
+        * gnu/java/awt/peer/gtk/GdkGraphics.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
+        Call initComponentGraphics or connectSignals depending on
+        component's realization status.
+        (realize_cb): New function.
+        (initComponentGraphics): New method.
+        (connectSignals): New method.
+        (clipRect): Return immediately if component is not realized.
+        (setClip): Likewise.
+        (translate): Likewise.
+        (drawImage variants): Return false immediately if component is
+        not realized.
+        * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
+        (connectSignals): New method.
+        (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
+        depending on component's realization status.  Move other
+        initialization calls to ...
+        (initComponentGraphics2D): New method.
+        (realize_cb): New function.
+        (cairoSetMatrix): Return immediately if gr is NULL.
+        (cairoNewPath): Likewise.
+        (cairoRectangle): Likewise.
+        (cairoClip): Likewise.
+        * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
+        (gtkWidgetRepaintArea): Remove method.
+        (isRealized): New method.
+        (GtkComponentPeer): Move setParent, connectJObject and setCursor
+        calls to setParentAndBounds.  Call setParentAndBounds.
+        (setParentAndBounds): New method.
+        (setComponentBounds): Return immediately if bounds are all zero.
+        (repaint): Remove call to gtkWidgetRepaintArea.  Return
+        immediately if requested paint region is 0x0.
+        (setCursor): New method.
+        (gtkWidgetSetParent): Only set widget's parent if its parent is
+        currently NULL.
+        (setNativeBounds): Only set widget's bounds if it has a parent.
+        (connectSignals): Don't call gtk_widget_realize.  Connect
+        "realize" signal to connect_awt_hook_cb handler.
+        * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
+        New field.
+        (beginValidate): Set isValidating true.
+        (endValidate): Set parents and bounds for children first, then
+        for this.  Set isValidating false.
+        * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
+        (connectJObject): Remove method.
+        (connectSignals): Don't call gtk_widget_realize.
+        * gnu/java/awt/peer/gtk/GtkListPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
+        (connectJObject): Remove method.
+        (connectSignals): Don't call gtk_widget_realize.
+        * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
+        (connectJObject): Remove method.
+        * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
+        (connectJObject): Remove method.
+        * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
+        jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
+        (create): Don't call gtk_widget_realize.
+        (connectJObject): Remove method.
+        (connectSignals): Don't call gtk_widget_realize.  Connect
+        "realize" signal to connect_awt_hook_cb handler.
+        (nativeSetBounds): Don't attempt to move GDK window if it is
+        NULL.
+        * java/awt/Container.java (addImpl): Don't call comp.addNotify
+        if peer is not null.
+        (validateTree): Create peers for all children before calling
+        doLayout.
+        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
+        (connectSignals): Don't call gtk_widget_realize.
+        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
+        (connect_awt_hook_cb): New function.
+        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
+        (initComponentGraphicsID): New variable.
+        (initComponentGraphics2DID): Likewise.
+        (setCursorID): Likewise.
+        (gtkInit): Initialize new fields with method IDs.
+        * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
+        extern.
+        (initComponentGraphics2DID): Declare extern.
+        (setCursorID): Likewise.
+        (connect_awt_hook_cb): Declare function.
+
+	2004-10-09  Graydon Hoare  <graydon at redhat.com>
+
+        * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
+        (install_font_peer): Minor bug fixes to track cairo font
+        semantics.
+
+	2004-10-08  Graydon Hoare  <graydon at redhat.com>
+
+        * gnu/java/awt/ClasspathToolkit.java
+        (getClasspathTextLayoutPeer) Add.
+        * gnu/java/awt/peer/ClasspathFontPeer.java
+        (copyStyleToAttrs)
+        (copySizeToAttrs): Make public.
+        * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
+        * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
+        * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
+        * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
+        * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
+        * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
+        * gnu/java/awt/peer/gtk/GdkGraphics.java
+        (getFontPeer): New function.
+        (drawString): Pass font peer to native side.
+        * gnu/java/awt/peer/gtk/GdkGraphics2D.java
+        (cairoSetFont)
+        (cairoShowGlyphs)
+        (PainterThread): Remove.
+        (GdkGraphics2D): Set hints during construction.
+        (shifted)
+        (walkPath)
+        (draw)
+        (setRenderingHint)
+        (setRenderingHints): Reimplement normalization logic.
+        (getDefaultHints)
+        (updateBufferedImage)
+        (isBufferedImageGraphics)
+        (updateImagePixels)
+        (drawImage): Make final.
+        (drawImage): Always paint synchronously.
+        (drawString)
+        (drawGlyphVector): Rewrite.
+        (releasePeerGraphicResource)
+        (getPeerTextMetrics)
+        (getPeerFontMetrics)
+        (drawGdkGlyphVector)
+        (drawGdkTextLayout)
+        (cairoDrawGdkGlyphVector)
+        (cairoDrawGdkTextLayout)
+        (cairoDrawString)
+        (getFontPeer): New functions.
+        * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
+        * gnu/java/awt/peer/gtk/GtkComponentPeer.java
+        (getFontMetrics): Get metrics via toolkit, to hit cache.
+        * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
+        * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
+        * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
+        (fontCache)
+        (metricsCache)
+        (imageCache): New members.
+        (getFontMetrics)
+        (getImage)
+        (getClasspathFontPeer): Use caches.
+        (getFontPeer): Route through getClasspathFontPeer.
+        * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
+        * java/awt/font/TextLayout.java: Implement in terms of peer.
+        * javax/swing/plaf/basic/BasicSliderUI.java
+        (paintThumb): Use polyline rather than polygon.

*** Patch too long, truncated ***




More information about the kaffe mailing list