[cp-patches] FYI: Optimizing GdkGraphics2D.translate

2006-05-29 Thread Audrius Meskauskas
GdkGraphics2D.translate is written in ineffective generic way. The AffineTransform.translate could provide more optimal way of translation. The inverse transform of the clip also need not be computed in so sophisticated way. Translate seems frequent when painting swing components. The

[cp-patches] FYI: Return early in GdkGraphics2D.setColor

2006-05-29 Thread Audrius Meskauskas
This patch forces to return early if the color being set is the same as the current color. It improves the paint performance test result from 78 till 66. 2006-05-29 Audrius Meskauskas [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor): Take no action if this color

Re: [cp-patches] [rfc] add check for Xrender for recent and future functionality.

2006-05-29 Thread Sven de Marothy
On Sun, 2006-05-28 at 20:07 -0400, Thomas Fitzsimmons wrote: Can you add to the GdkGraphics2D NEWS entry to mention the new XRENDER dependency? Please commit, Well, we shouldn't really have an Xrender dependency. There's a check there in the code for a reason. So we'll need some #ifdefs in

Re: [cp-patches] FYI: Return early in GdkGraphics2D.setColor

2006-05-29 Thread Sven de Marothy
On Mon, 2006-05-29 at 09:23 +0200, Audrius Meskauskas wrote: This patch forces to return early if the color being set is the same as the current color. It improves the paint performance test result from 78 till 66. Actually that screws up the copying constructor GdkGraphics2d(GdkGraphics2d

Re: [cp-patches] RFC: java.io.ObjectStreamConstants documented

2006-05-29 Thread Mark Wielaard
Hi Carsten, On Thu, 2006-05-25 at 14:50 +0200, Carsten Neumann wrote: if this is accepted, could someone with CVS write access please commit it, 2006-05-25 Carsten Neumann [EMAIL PROTECTED] * java/io/ObjectStreamConstants.java: Added API docs. Very nice! Thanks for doing this.

Re: [cp-patches] RFC: javax.swing.text.DefaultCaret

2006-05-29 Thread Mark Wielaard
Hi Carsten, On Sat, 2006-03-25 at 16:48 +0100, Carsten Neumann wrote: Mark Wielaard wrote: On Fri, 2006-03-24 at 23:52 +0100, Carsten Neumann wrote: I've implemented the method: public boolean isActive(). Nice. Useful method also. Last time I worked with the DefaultCaret I was

Re: [cp-patches] RFC: add a cacerts file under resource/java/security

2006-05-29 Thread Mark Wielaard
Hi Raif, On Mon, 2006-05-22 at 21:42 +1000, Raif S. Naffah wrote: my question is: does anybody see any problem, legal or otherwise, in including our version of this cacerts file which i named cacerts.gkr into the GNU Classpath distribution? I wonder how well that will work with the various

Re: [cp-patches] FYI: Return early in GdkGraphics2D.setColor

2006-05-29 Thread Audrius Meskauskas
2006-05-29 Audrius Meskauskas [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor): Do not reuse fg in the constructor. Sven de Marothy wrote: On Mon, 2006-05-29 at 09:23 +0200, Audrius Meskauskas wrote: This patch forces to return early if the color

Re: [cp-patches] Classpath 0.91 startup exception

2006-05-29 Thread Mark Wielaard
Hi Archie, On Tue, 2006-05-23 at 04:57 -0500, Archie Cobbs wrote: After upgradeing JCVM to 0.91, I'm seeing an exception due to broken static initializer ordering in java.lang.VMClassLoader. The bootjars static field is initialized on line 173, but this is after its use (indirectly) in the

Re: [cp-patches] RFC: add a cacerts file under resource/java/security

2006-05-29 Thread Raif S. Naffah
hello Mark, On Monday 29 May 2006 20:02, Mark Wielaard wrote: Hi Raif, On Mon, 2006-05-22 at 21:42 +1000, Raif S. Naffah wrote: my question is: does anybody see any problem, legal or otherwise, in including our version of this cacerts file which i named cacerts.gkr into the GNU Classpath

Re: [cp-patches] RFC: add a cacerts file under resource/java/security

2006-05-29 Thread Mark Wielaard
Hi Raif, On Mon, 2006-05-29 at 21:00 +1000, Raif S. Naffah wrote: On Monday 29 May 2006 20:02, Mark Wielaard wrote: On Mon, 2006-05-22 at 21:42 +1000, Raif S. Naffah wrote: my question is: does anybody see any problem, legal or otherwise, in including our version of this cacerts file

RE: [cp-patches] [generics] Patch: RFC: import jsr166

2006-05-29 Thread Jeroen Frijters
Tom Tromey wrote: * A sanitize-jsr166 script which is run on a pristine download in order to remove copyrighted code and to change sun.* references to the appropriate gnu.* references. Is there a (legal?) reason why we can't keep the sun.* references? Regards, Jeroen

[cp-patches] FYI: Fix ObjectStreamConstants.SC_ENUM merge conflict

2006-05-29 Thread Mark Wielaard
Hi, My last commit introduced a double declaration of SC_ENUM in ObjectStreamConstants. Sorry about that. Fixed as follows: 2006-05-29 Mark Wielaard [EMAIL PROTECTED] * java/io/ObjectStreamConstants.java: Removed double declaration of SC_ENUM. Committed, Mark --diff -u -r1.16

[cp-patches] Commited giant Java2D patch.

2006-05-29 Thread Sven de Marothy
Commited. With the attached patch to the previous version of cairographics2d.c, the gtk locking was causing trouble. 2006-05-29 Sven de Marothy [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/BufferedImageGraphics.java * gnu/java/awt/peer/gtk/CairoGraphics2D.java *

[cp-patches] FYI: CairoSurface.c

2006-05-29 Thread Sven de Marothy
Fix a compiler warning 2006-05-29 Sven de Marothy [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (setPixels): Remove superfluous return statement. Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c

Re: [cp-patches] [rfc] add check for Xrender for recent and future functionality.

2006-05-29 Thread Andreas Tobler
Sven de Marothy wrote: On Sun, 2006-05-28 at 20:07 -0400, Thomas Fitzsimmons wrote: Can you add to the GdkGraphics2D NEWS entry to mention the new XRENDER dependency? Please commit, Well, we shouldn't really have an Xrender dependency. There's a check there in the code for a reason. So we'll

[cp-patches] FYI: More Graphics2D stuff

2006-05-29 Thread Sven de Marothy
This implements the missing graphics context, and fixes a few small things here and there. 2006-05-30 Sven de Marothy [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h *

Re: [cp-patches] [rfc] add check for Xrender for recent and future functionality.

2006-05-29 Thread Sven de Marothy
Sorting out the Xrender crap: 1) There's now a non-Xrender graphics context 2) There already is checking for Xrender in place through XRenderQueryExtension. If that requires the xrender library then that is no new problem. The code that calls that has been in Classpath FOR ALMOST THREE YEARS. So