Re: Classpath 0.96 Imminent

2007-10-16 Thread Francis Kung
Hi, My congratulations on the release! Sorry I've been absent the last couple of months; I'm back at school and it's been sucking up all my time. After I posted that I realized that I could have made a Firefly reference and suggested Too pretty to die... I don't know if any Classpath

Re: [cp-patches] FYI: AWT stuff

2007-08-23 Thread Francis Kung
I started looking into the complete graphical lockup of all classpath awt/swing apps, and I think this may be the problem: This adds a bunch of 1.6 methods and constants to our AWT, and fixes some issues in the peers. Together with these patches and a bunch of modifications on OpenJDK, I was

Re: [cp-patches] FYI: AWT stuff

2007-08-23 Thread Francis Kung
... the same unlocked pattern has been used for a number of other GTK methods, and seems appropriate here too. Unfortunately, graphics still don't seem to work - mouse events don't seem to register (clicking on buttons in the Swing demo has no effect, for example)... 2007-08-23 Francis Kung

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-08-23 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/08/23 20:09:54 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkComponentPeer.c gnu/java/awt/peer/gtk: GtkComponentPeer.java . : ChangeLog

Re: gcjwebplugin usefullness? 64 bit plugin?

2007-05-10 Thread Francis Kung
Ok. I think I filled a bug report some time ago, but nobody replied. I can't find anything about this in the Classpath bugzilla, but you do have two past bugs that were both resolved... You think it's a Firefox problem, right? So if I use gdb, I get the backtrace: snip

Re: 0.95 branch created

2007-04-19 Thread Francis Kung
+FAIL: java.util.prefs.PreferenceTest +FAIL: org.omg.CORBA.ORB.parallelRunTest +FAIL: java.awt.Choice.PaintTest +FAIL: java.awt.Graphics.TestPaintGraphics +FAIL: java.awt.Canvas.PaintTest +FAIL: java.awt.TextField.PaintTest +FAIL: java.awt.Container.LightweightContainer +FAIL:

[cp-patches] FYI: Cache freetype map

2007-04-12 Thread Francis Kung
Hi, This patch caches the Freetype font map, rather than creating destroying a new one for each font peer we create. This enables Pango's internal caching and mostly fixes the ProgressBar memory leak. Cheers, Francis 2007-04-12 Francis Kung [EMAIL PROTECTED] PR 31539

Re: [cp-patches] FYI: Small font fixes

2007-04-12 Thread Francis Kung
Hi Mark, Very nice. In combination with my FontPeer-leak-workaround this seems to be pretty solid. In what cases are you now still seeing leaks? The two open bugs - PR 31539 (ProgressBar) and 28186 (drawString) - were still leaking pretty badly after my patch. Your FontPeer cache fixes

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-04-12 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/12 15:51:57 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GdkFontPeer.c . : ChangeLog Log message: 2007-04-12 Francis Kung [EMAIL

[commit-cp] classpath javax/swing/plaf/basic/BasicProgressB...

2007-04-12 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/12 19:27:47 Modified files: javax/swing/plaf/basic: BasicProgressBarUI.java gnu/java/awt/peer/gtk: FreetypeGlyphVector.java . : ChangeLog Log message

[commit-cp] classpath gnu/java/awt/peer/gtk/FreetypeGlyphVe...

2007-04-12 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/12 20:18:10 Modified files: gnu/java/awt/peer/gtk: FreetypeGlyphVector.java CairoGraphics2D.java . : ChangeLog Log message

[cp-patches] FYI: Small font fixes

2007-04-11 Thread Francis Kung
Hi, While trying to fix some other font-related memory leaks, I came across a few issues. They don't plug the major leaks we're seeing, but are still worth fixing... Francis 2007-04-11 Francis Kung [EMAIL PROTECTED] * native/jni/gtk-peer

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-04-11 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/11 21:10:23 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GdkFontPeer.c gnu_java_awt_peer_gtk_FreetypeGlyphVector.c

[cp-patches] FYI: Fix gtk memory leak hang

2007-04-09 Thread Francis Kung
the application is exited. Any chance for this to get in the upcoming release too? =) Cheers, Francis 2007-04-09 Francis Kung [EMAIL PROTECTED] PR 31311 * gnu/java/awt/peer/gtk/ComponentGraphics.java (dispose): Removed method. (disposeSurface): Removed method

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-04-09 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/09 21:34:28 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_ComponentGraphics.c include: gnu_java_awt_peer_gtk_ComponentGraphics.h gnu/java/awt

Re: [cp-patches] FYI: Gtk peer generics and cleanup

2007-04-05 Thread Francis Kung
This part seems wrong: -return gestureRecognizer; +recognizer.asSubclass(gestureRecognizer.getClass()); +return recognizer.cast(gestureRecognizer); Right, the first line (asSubclass) shouldn't be there; works once it's removed. Thanks, Francis 2007-04-05 Francis

[cp-patches] FYI: Fix build, remove old file

2007-04-05 Thread Francis Kung
This patch removes a removed file from the Makefile.am in the includes directory; build was failing on it. Cheers, Francis 2007-04-05 Francis Kung [EMAIL PROTECTED] * include/Makefile.am: Remove old entry. Index: include/Makefile.am

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/GtkTo...

2007-04-05 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/05 15:34:23 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: GtkToolkit.java Log message: 2007-04-05 Francis Kung [EMAIL PROTECTED

[commit-cp] classpath ChangeLog include/Makefile.am

2007-04-05 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/05 18:34:03 Modified files: . : ChangeLog include: Makefile.am Log message: 2007-04-05 Francis Kung [EMAIL PROTECTED

[cp-patches] More async X errors

2007-04-04 Thread Francis Kung
Hi, Compiling the native peers without optimization (-O0) revealed some more asynchronous X errors; this patch adds more locking to the Cairo peers, clearing them up. Regards, Francis 2007-04-04 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java

[commit-cp] classpath gnu/java/awt/peer/gtk/ComponentGraphi...

2007-04-04 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/04 19:20:33 Modified files: gnu/java/awt/peer/gtk: ComponentGraphics.java CairoGraphics2D.java . : ChangeLog native/jni

Re: [cp-patches] FYI: Font substitution

2007-04-03 Thread Francis Kung
for people with --enable-regen-headers Francis 2007-04-03 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java (getGlyphs(int[], int[], long[])): Return void. Index: gnu/java/awt/peer/gtk/FreetypeGlyphVector.java

[commit-cp] classpath gnu/java/awt/peer/gtk/FreetypeGlyphVe...

2007-04-03 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/03 19:32:46 Modified files: gnu/java/awt/peer/gtk: FreetypeGlyphVector.java . : ChangeLog Log message: 2007-04-03 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Font substitution

2007-04-02 Thread Francis Kung
more fonts than the JDK, as long as the user has it installed on their system!). I've run through a number of tests and have not noticed any regressions in performance or functionality, but please let me know if there are any problems. Cheers, Francis 2007-04-02 Francis Kung [EMAIL

Re: [cp-patches] FYI: Disable gnome accessibility

2007-04-02 Thread Francis Kung
installed at all. But *if* they are installed, they need to be at least a certain version. Robert Schuster suggested the INSTALL file, which makes sense (duh, why didn't I think of that...). So, committing this change as: 2007-04-02 Francis Kung [EMAIL PROTECTED] * INSTALL

Re: [cp-patches] FYI: Font substitution

2007-04-02 Thread Francis Kung
I've run through a number of tests and have not noticed any regressions in performance or functionality, but please let me know if there are any problems. That didn't take long. This patch clears up a null pointer exception introduced by the last patch. Francis 2007-04-02 Francis Kung

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-04-02 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/02 19:39:27 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GdkFontPeer.c gdkfont.h

[commit-cp] classpath INSTALL ChangeLog

2007-04-02 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/02 20:45:26 Modified files: . : INSTALL ChangeLog Log message: 2007-04-02 Francis Kung [EMAIL PROTECTED] * INSTALL: Document known bug

[commit-cp] classpath gnu/java/awt/peer/gtk/FreetypeGlyphVe...

2007-04-02 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/04/02 21:28:59 Modified files: gnu/java/awt/peer/gtk: FreetypeGlyphVector.java include: gnu_java_awt_peer_gtk_FreetypeGlyphVector.h . : ChangeLog

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-03-29 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/03/29 20:24:52 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkToolkit.c . : ChangeLog Log message: 2007-03-29 Francis Kung [EMAIL

[cp-patches] FYI: Disable gnome accessibility

2007-03-27 Thread Francis Kung
is resolved. Regards, Francis 2007-03-27 Francis Kung [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of accessibility modules as temporary workaround for Gnome bug. Index

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-03-27 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/03/27 20:35:53 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkToolkit.c . : ChangeLog Log message: 2007-03-27 Francis Kung [EMAIL

[cp-patches] FYI: Async X errors fixed

2007-03-16 Thread Francis Kung
), but I haven't benchmarked to quantify this. While I was at it, I also removed some un-used native methods in CairoGraphics2D to clean things up. Cheers, Francis 2007-03-16 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (cairoArc): Make protected

[commit-cp] classpath include/gnu_java_awt_peer_gtk_CairoGr...

2007-03-16 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/03/16 15:14:56 Modified files: include: gnu_java_awt_peer_gtk_CairoGraphics2D.h gnu_java_awt_peer_gtk_CairoSurface.h gnu/java/awt/peer/gtk

Re: [cp-patches] Guidelines for annotations?

2007-03-09 Thread Francis Kung
@Override public void foo(); Me too. Three votes... maybe the motion passes? :) So that's several votes for this style already. +1, FWIW 2) After /** * foo */ @Override +1 for annotations after javadoc, it feels clearer that way. Francis

[cp-patches] FYI: Another font layout fix

2007-03-06 Thread Francis Kung
Hi, This patch fixes another font layout problem, where we were following Sun's API but their implementation didn't. I've added a note in the Classpath javadoc to explicitly note the difference. Cheers, Francis 2007-03-06 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk

[commit-cp] classpath gnu/java/awt/peer/gtk/FreetypeGlyphVe...

2007-03-06 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/03/06 19:38:32 Modified files: gnu/java/awt/peer/gtk: FreetypeGlyphVector.java . : ChangeLog Log message: 2007-03-06 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: CairoGraphics clipping fix

2007-02-26 Thread Francis Kung
Hi, This patch fixes a clipping problem when drawing images in CairoGraphics2D, if your clip region is smaller than the image. Cheers, Francis 2007-02-26 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawCairoSurface): Do not reset clip

[cp-patches] FYI: Minor font fix

2007-02-26 Thread Francis Kung
Hi, Finally tracked down an annoying font layout problem that sometimes caused characters to appear on top of each other, rather than spaced properly. We were using a deprecated pango function... go figure. Cheers, Francis 2007-02-26 Francis Kung [EMAIL PROTECTED] * native/jni

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Cairo...

2007-02-26 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/26 18:38:33 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: CairoGraphics2D.java Log message: 2007-02-26 Francis Kung [EMAIL PROTECTED

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-02-26 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/26 22:11:41 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_GdkFontPeer.c . : ChangeLog Log message: 2007-02-26 Francis Kung [EMAIL

[cp-patches] FYI: Remove debug line

2007-02-23 Thread Francis Kung
Wow, I must have been out of it. I blame it on being sick-ish. Removing a debug line, which re-enables the shared array optimization. Francis 2007-02-23 Francis Kung [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c

[cp-patches] FYI: Optimized CairoSurface drawing

2007-02-23 Thread Francis Kung
Hi, This patch optimizes the drawing of a CairoSurface onto another cairo context, and adds support for drawing subimages/subraster in this way. Cheers, Francis 2007-02-23 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawCairoSurface): New

[commit-cp] classpath native/jni/gtk-peer/gnu_java_awt_peer...

2007-02-23 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/23 15:44:14 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_CairoSurface.c . : ChangeLog Log message: 2007-02-23 Francis Kung [EMAIL

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoSurfaceGra...

2007-02-23 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/23 22:18:07 Modified files: gnu/java/awt/peer/gtk: CairoSurfaceGraphics.java CairoSurface.java CairoGraphics2D.java . : ChangeLog

[cp-patches] FYI: Small fix

2007-02-22 Thread Francis Kung
Hi, Left some of the JNI functions in an inconsistent state after yesterday's update and didn't notice until I tried building with --enable-regen-headers... whoops! 2007-02-22 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoSurface.java (copyAreaNative): Pass

[cp-patches] FYI: Fallback CairoSurface path

2007-02-21 Thread Francis Kung
Hi, This code extends the CairoSurface optimization I submitted a few days ago, adding fallback code for VMs that copy JNI arrays rather than pinning them. Also included is some cleanup, removing various un-used CairoSurface methods. Cheers, Francis 2007-02-21 Francis Kung [EMAIL

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoSurfaceGra...

2007-02-21 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/21 21:47:38 Modified files: gnu/java/awt/peer/gtk: CairoSurfaceGraphics.java CairoSurface.java CairoGraphics2D.java

[cp-patches] FYI: Fix build

2007-02-16 Thread Francis Kung
Hi, Updating the import declaration in javax.management.NotificationBroadcasterSupport to reflect the new ListenerData location, fixing a compile error. Cheers, Francis 2007-02-16 Francis Kung [EMAIL PROTECTED] * javax/management/NotificationBroadcasterSupport.java: Update

[cp-patches] FYI: Tigher cairo integration in gtk peers

2007-02-16 Thread Francis Kung
in progress, but this seems like a good commit-point. Cheers, Francis 2007-02-16 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file. * gnu/java/awt/peer/gtk/CairoSurface.java (CairoDataBuffer): Removed inner class. (CairoSurface(int

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoSurfaceGra...

2007-02-16 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/16 20:28:46 Modified files: gnu/java/awt/peer/gtk: CairoSurfaceGraphics.java CairoSurface.java

[cp-patches] FYI: BufferedImage reformatting

2007-02-09 Thread Francis Kung
Hi, Been meaning to do this for a while - this patch simply cleans up the formatting in BufferedImage. Francis 2007-02-09 Francis Kung [EMAIL PROTECTED] * java/awt/image/BufferedImage: Reformatted. Index: java/awt/image/BufferedImage.java

[commit-cp] classpath java/awt/image/BufferedImage.java Cha...

2007-02-09 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/02/09 16:24:07 Modified files: java/awt/image : BufferedImage.java . : ChangeLog Log message: 2007-02-09 Francis Kung [EMAIL PROTECTED

Re: awt without x server

2007-01-10 Thread Francis Kung
Hello Praveen, And the option -Djava.awt.headless=true works correctly in sun JRE but not with jamvm+classpath. The headless toolkit is a recent addition to Classpath and is still somewhat incomplete... I believe we currently ignore the awt.headless setting when the GTK toolkit is

[commit-cp] classpath ChangeLog java/util/Arrays.java

2007-01-08 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/01/08 17:55:34 Modified files: . : ChangeLog java/util : Arrays.java Log message: 2007-01-08 Cameron McCormack [EMAIL PROTECTED

[cp-patches] Antialiasing fix

2007-01-03 Thread Francis Kung
Hi, This patch fixes the antialiasing flag when a CairoGraphics2D object is copied (ie, if a swing window is resized). Cheers, Francis 2007-01-03 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java: (copy): Copy and set antialias value. Index: gnu

Re: [cp-patches] FYI: Add new Arrays.binarySearch methods

2007-01-03 Thread Francis Kung
Hi, Andrew John Hughes wrote: This adds the new range-based binarySearch methods. Unfortunately this breaks the binarySearch for empty arrays. I've just committed some mauve tests for this case. I've attached a patch that fixes it; let me know if you'd like me to commit, or if you'll

Re: classpath on cygwin with gtk enabled

2007-01-03 Thread Francis Kung
Hi, bj wrote: hey, does anyone here know how to compile GNU classpath on Windows XP using cygwin with GTK enabled or any graphics environment used by Swing and AWT? thanks in advance As far as I know, Classpath on cygwin is fairly untested, though there is some information at

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2007-01-03 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung07/01/03 19:18:46 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java . : ChangeLog Log message: 2007-01-03 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Bounds transforming

2006-12-22 Thread Francis Kung
to updateClip() that tries to avoid converting Rectangles to GeneralPath's when possible. Hope everyone has a great holiday season! Francis 2006-12-22 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (locked): Removed field

[cp-patches] FYI: Rounding in pixel shifting

2006-12-22 Thread Francis Kung
. Rounding still seems to be causing problems, however, and it looks like the benefits of rounding don't outweigh the costs. Cheers, Francis 2006-12-22 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftX): Remove rounding. (shiftY): Likewise

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-12-22 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/22 19:50:30 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java BufferedImageGraphics.java . : ChangeLog Log message

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-12-22 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/22 20:01:23 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java . : ChangeLog Log message: 2006-12-22 Francis Kung [EMAIL PROTECTED

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Buffe...

2006-12-18 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/18 15:35:04 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: BufferedImageGraphics.java Log message: 2006-12-18 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Respect non-anti-aliased drawing

2006-12-15 Thread Francis Kung
, but is visibly better. text_antialiasing defaults to on. Cheers, Francis 2006-12-15 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (antialias): New private field. (ignoreAA): New private field. (cairoSetAntialias): New native method

[cp-patches] FYI: Respect non-anti-aliased drawing, fixed

2006-12-15 Thread Francis Kung
Oops, made a slight mistake in the last patch; I assumed that KEY_TEXT_ANTIALIASING used the VALUE_ANTIALIAS_ON/OFF values, when in fact it has its own VALUE_TEXT_ANTIALIAS_ON/OFF values. This patch fixes it. Cheers, Francis 2006-12-15 Francis Kung [EMAIL PROTECTED] * gnu/java

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-12-15 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/15 21:21:04 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_CairoGraphics2D.c

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-12-15 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/15 21:48:39 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java . : ChangeLog Log message: 2006-12-15 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Register Classpath image SPIs

2006-12-12 Thread Francis Kung
Hi, This patch was missed in the generics branch (now HEAD); re-applying it. This fixes ImageIO.write() for PNG files. Cheers, Francis 2006-12-12 Francis Kung [EMAIL PROTECTED] PR 30155 * javax/imageio/spi/IIORegistry.java (IIORegistry): Register Toolkit SPIs. Index

[commit-cp] classpath ChangeLog javax/imageio/spi/IIORegist...

2006-12-12 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/12 19:35:57 Modified files: . : ChangeLog javax/imageio/spi: IIORegistry.java Log message: 2006-12-12 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Rectangle2D.getBounds

2006-12-06 Thread Francis Kung
if that really is the intended behaviour, please let me know and we can work through it more carefully. Thanks, Francis 2006-12-06 Francis Kung [EMAIL PROTECTED] * java/awt/geom/RectangularShape.java (getBounds): Remove empty rectangle check. Index: java/awt/geom

[commit-cp] classpath ChangeLog java/awt/geom/RectangularSh...

2006-12-06 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/06 19:02:39 Modified files: . : ChangeLog java/awt/geom : RectangularShape.java Log message: 2006-12-06 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: BufferedImageGraphics and scanlines

2006-12-05 Thread Francis Kung
, Francis 2006-12-05 Francis Kung [EMAIL PROTECTED] * 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. Index: gnu/java/awt/peer/gtk

[cp-patches] FYI: Negative arc extends

2006-12-05 Thread Francis Kung
the reversing trick. Cheers, Francis 2006-12-05 Francis Kung [EMAIL PROTECTED] * 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

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Buffe...

2006-12-05 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/05 20:43:51 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: BufferedImageGraphics.java Log message: 2006-12-05 Francis Kung [EMAIL PROTECTED

[commit-cp] classpath java/awt/BasicStroke.java java/awt/ge...

2006-12-05 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/12/05 20:52:06 Modified files: java/awt : BasicStroke.java java/awt/geom : Arc2D.java . : ChangeLog Log message: 2006-12-05 Francis Kung

[cp-patches] FYI: BufferedImageGraphics transforms

2006-11-30 Thread Francis Kung
patch, calculating scanlines and heights for buffered image updating. Cheers, Francis 2006-11-30 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Set transform in buffered composite. (drawComposite): Do not transform bounds; round

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-11-30 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/30 18:44:45 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java BufferedImageGraphics.java . : ChangeLog Log message

[cp-patches] FYI: drawLine pixel shifting

2006-11-29 Thread Francis Kung
Hi, This patch fixes pixel shifting in the drawLine method. There were some hard-coded values which needed to be removed. Cheers, Francis 2006-11-29 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawLine): Remove hard-coded pixel shifting

Re: Regression in Swing Demo

2006-11-29 Thread Francis Kung
Hi Roman, Dave, as is the drawing of menus etc. I think Francis worked in that area (replacing drawLine() with draw(new Line2D.Float()) etc. Francis could you have a look? I see it too... patch coming up. Thanks, Francis

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Cairo...

2006-11-29 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/29 15:46:36 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: CairoGraphics2D.java Log message: 2006-11-29 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: WritableRaster.createChild implemented

2006-11-27 Thread Francis Kung
on it. Cheers, Francis 2006-11-27 Francis Kung [EMAIL PROTECTED] * java/awt/image/WritableRaster.java (createChild): Implemented. Index: java/awt/image/WritableRaster.java === RCS file: /cvsroot/classpath/classpath/java/awt

[commit-cp] classpath java/awt/image/WritableRaster.java Ch...

2006-11-27 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/27 21:54:42 Modified files: java/awt/image : WritableRaster.java . : ChangeLog Log message: 2006-11-27 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Quad segment special cases

2006-11-24 Thread Francis Kung
Hi, This patch handles a few special cases when outlining a quad segment (ie if the control point is equal to an end point, or if the end points are equal - basically, straight lines). Cheers, Francis 2006-11-24 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/java2d/QuadSegment.java

[cp-patches] FYI: BufferedImageGraphics with subimages

2006-11-24 Thread Francis Kung
Hi, This patch fixes some problems when using java2d with subimages/subrasters (ie, the image scanline != image width, or the image's 0,0 origin does not correspond to the data buffer's 0 position). Cheers, Francis 2006-11-24 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk

[commit-cp] classpath gnu/java/awt/java2d/QuadSegment.java ...

2006-11-24 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/24 16:27:42 Modified files: gnu/java/awt/java2d: QuadSegment.java . : ChangeLog Log message: 2006-11-24 Francis Kung [EMAIL PROTECTED

[commit-cp] classpath ChangeLog gnu/java/awt/peer/gtk/Buffe...

2006-11-24 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/24 16:33:26 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: BufferedImageGraphics.java Log message: 2006-11-24 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Pixel shifting

2006-11-22 Thread Francis Kung
for rectangle drawing (if the rectangle's coordinates are shifted, the width/height must be adjusted to compensate), and an optimization for buffered image glyph drawing. Cheers, Francis 2006-11-22 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/BufferedImageGraphics.java

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-11-22 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/22 16:46:17 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java BufferedImageGraphics.java . : ChangeLog Log message

[commit-cp] classpath gnu/java/awt/peer/gtk/ComponentGraphi...

2006-11-21 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/21 21:21:36 Modified files: gnu/java/awt/peer/gtk: ComponentGraphics.java CairoGraphics2D.java

Re: [cp-patches] RFC: JTree memory leak

2006-11-06 Thread Francis Kung
Hi, OK, slightly more elegant fix for the JTree leak. I'm not sure if this covers *all* possible cases where we'd need to remove an entry out of nodeStates, but it seems to cover the ones that I was testing for. How's this look? Thanks, Francis On Thu, 2006-11-02 at 22:29 +0100, Roman Kennke

[cp-patches] FYI: JTree, finally

2006-11-06 Thread Francis Kung
2006-11-06 Roman Kennke [EMAIL PROTECTED] * javax/swing/JTree.java (TreeModelHandler.treeNodesRemoved): Implemented. (TreeModelHandler.treeStructureChanged): Implemented. (nodeStates): Made package private. 2006-11-06 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Custom composites - the last one!

2006-11-06 Thread Francis Kung
Hi, This patch implements custom composites for the last of the graphics peers, ComponentGraphics. With this, we should now have custom composite support across all the GTK peers. Cheers, Francis 2006-11-06 Francis Kung [EMAIL PROTECTED] * gnu/java/awt/peer/gtk

[commit-cp] classpath javax/swing/JTree.java ChangeLog

2006-11-06 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/06 16:48:08 Modified files: javax/swing: JTree.java . : ChangeLog Log message: 2006-11-06 Roman Kennke [EMAIL PROTECTED

[commit-cp] classpath gnu/java/awt/peer/gtk/ComponentGraphi...

2006-11-06 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/11/06 21:28:39 Modified files: gnu/java/awt/peer/gtk: ComponentGraphics.java CairoGraphics2D.java

[cp-patches] RFC: JTree memory leak

2006-11-02 Thread Francis Kung
Hi, The attached patch fixes a memory leak in the JTree, changing a Hashtable into a WeakHashMap. I'm not too familiar with this class, so I don't know if this is the best way to fix it (or if this even breaks something!), and I'd appreciate any comments or approval for this patch. Thanks,

[cp-patches] RFA: Eclipse cleanup

2006-11-02 Thread Francis Kung
Hi, I'd like to make the following two changes to the Eclipse settings files: 1) change default compiler compliance to 1.4, to ensure that we don't break the build unintentionally (it's happened a few times, where code acceptable in 1.5 is an error in 1.4... especially with the clone() method)

[cp-patches] FYI: Tiny fillArc fix

2006-10-31 Thread Francis Kung
Hi, Fixing the default arc type for CairoGraphics2D.fillArc - we should be using the PIE type, not OPEN, for fills. The applet at http://www.multicians.org/thvv/pie-chart.html (as well as a simple visual testcase) back this change. Cheers, Francis 2006-10-31 Francis Kung [EMAIL PROTECTED

[commit-cp] classpath gnu/java/awt/peer/gtk/CairoGraphics2D...

2006-10-31 Thread Francis Kung
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Francis Kung fkung06/10/31 20:23:25 Modified files: gnu/java/awt/peer/gtk: CairoGraphics2D.java . : ChangeLog Log message: 2006-10-31 Francis Kung [EMAIL PROTECTED

[cp-patches] FYI: Header file maintenance

2006-10-25 Thread Francis Kung
Hi, This patch regenerates a number of header files, some of which were causing the build to fail without --enable-regen-headers. Cheers, Francis 2006-10-25 Francis Kung [EMAIL PROTECTED] * include/gnu_java_nio_VMChannel.h, * include/java_net_VMNetworkInterface.h

  1   2   3   >