[cp-patches] FYI:Extending Swing painting performance measuring in examples.

2006-05-31 Thread Audrius Meskauskas
I commit that I implemented to check how some line painting optimizations are use useful. The tested line painting optimizations (I tried to collect all subsequent paintings into one big cairoStroke) are not useful: Cairo is not faster and may be even slower when painting the larger amount of

Re: [cp-patches] jdwp processor bugfixes

2006-05-31 Thread Martin
Hi ! I hit another similar bug today in ClassTypeCommandSet where the case superclass == NULL is not considered. This causes a NullPointerException. Keith Seitz wrote: No, I do not have write access to the classpath CVS. I can commit for you. ChangeLog entry: 2006-05-29 Martin

[cp-patches] FYI: ListSelectionModel API docs added

2006-05-31 Thread David Gilbert
This patch (committed) adds API docs to this interface: 2006-05-31 David Gilbert [EMAIL PROTECTED] * javax/swing/ListSelectionModel.java: Added API docs all over. Regards, Dave Index: javax/swing/ListSelectionModel.java ===

[cp-patches] FYI: AccessibleJMenuItem fix

2006-05-31 Thread Roman Kennke
I added the missing implementation for AccessibleJMenuItem.stateChanged(). 2006-05-31 Roman Kennke [EMAIL PROTECTED] * javax/swing/JMenuItem.java (getAccessibleContext): Register accessible object as ChangeListener to the JMenuItem. (AccessibleJMenuItem.armed):

[cp-patches] Patch: lazify InetSocketAddress hostname lookups

2006-05-31 Thread Anthony Green
Our InetSocketAddress is overly aggressive in getting host names. It should be lazy, like Sun's implementation appears to be. This saves a lot of reverse DNS queries for some applications (like azureus). AG 2006-05-31 Anthony Green [EMAIL PROTECTED] PR 27828 *

[cp-patches] FYI: AccessibleJTable fixes

2006-05-31 Thread David Gilbert
This patch (committed) is a small step towards getting accessibility working for the JTable component: 2006-05-31 David Gilbert [EMAIL PROTECTED] * javax/swing/JTable.java (AccessibleJTable.AccessibleJTable()): Check for null editor,

Re: [cp-patches] Patch: lazify InetSocketAddress hostname lookups

2006-05-31 Thread Tom Tromey
Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony Our InetSocketAddress is overly aggressive in getting host Anthony names. It should be lazy, like Sun's implementation appears Anthony to be. This saves a lot of reverse DNS queries for some Anthony applications (like azureus). I

Re: [cp-patches] Patch: lazify InetSocketAddress hostname lookups

2006-05-31 Thread Anthony Green
On Wed, 2006-05-31 at 12:08 -0500, Tom Tromey wrote: Offhand I'd say that toString, equals, and getHostName should be synchronized. What do you think? I don't see anything obviously bad that can happen if these aren't synchronized. What are you seeing? AG

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

2006-05-31 Thread Andreas Tobler
Mark Wielaard wrote: Hi, On Tue, 2006-05-30 at 22:43 +0200, Andreas Tobler wrote: This really is a static function. Please keep it that way. ld: Undefined symbols: _cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable ? Yeah, that is strange. When do you get that? Well, we use it

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

2006-05-31 Thread Andreas Tobler
Hello, I committed the attached patch. Andreas 2006-05-31 Thomas Fitzsimmons [EMAIL PROTECTED] Andreas Tobler [EMAIL PROTECTED] * configure.ac: Check for libXrender when the GTK peers are enabled, and set HAVE_XRENDER accordingly. Add -lXrender to

[cp-patches] Patch: BasicProgressBarUI fix

2006-05-31 Thread Lillian Angel
I have fixed paintString to actually draw a string vertically. But this does not seem to happen because of some bug in Graphics2D. Once this is fixed in Graphics2D, it should work perfectly. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23887 2006-05-31 Lillian Angel [EMAIL PROTECTED]

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

2006-05-31 Thread Thomas Fitzsimmons
Andreas Tobler wrote: Mark Wielaard wrote: Hi, On Tue, 2006-05-30 at 22:43 +0200, Andreas Tobler wrote: This really is a static function. Please keep it that way. ld: Undefined symbols: _cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable ? Yeah, that is strange. When do you get

[cp-patches] Patch for Bug 24191: Uninitialized output buffer in javax.crypto.CipherOutputStream produces NullPointerException

2006-05-31 Thread Matthew Wringe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24191 The attached patch fixes an issue with the outBuffer in CipherOutputStream never being initialized, which causes a NullPointerException. With the patch outBuffer is now properly allocated using the Cipher.getOutputSize length. Once getting past

[cp-patches] FYI: OutofBounds in BufferedImageGraphics

2006-05-31 Thread Sven de Marothy
2006-05-30 Sven de Marothy [EMAIL PROTECTED] Should fix PR 27835 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (updateBufferedImage): Keep within image bounds. Index: gnu/java/awt/peer/gtk/BufferedImageGraphics.java

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

2006-05-31 Thread Andreas Tobler
Thomas Fitzsimmons wrote: Andreas Tobler wrote: Mark Wielaard wrote: Hi, On Tue, 2006-05-30 at 22:43 +0200, Andreas Tobler wrote: This really is a static function. Please keep it that way. ld: Undefined symbols: _cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable ? Yeah, that is

[cp-patches] FYI: AccessibleJTableHeaderEntry.getLocale()

2006-05-31 Thread David Gilbert
This patch (committed) implements the getLocale() method in the AccessibleJTableHeaderEntry class: 2006-05-31 David Gilbert [EMAIL PROTECTED] * javax/swing/table/JTableHeader.java (getColumnHeaderRenderer): New method, (getAccessibleColumnHeaderRenderer): Delegate

[cp-patches] Re: [patch] prefix CairoGraphics2D_getCairoT correctly

2006-05-31 Thread Thomas Fitzsimmons
Andreas Tobler wrote: Andreas Tobler wrote: Doing this, I just noticed CairoGraphics2D_getCairoT is exported but not properly prefixed. Want to fix this one too? You mean s/CairoGraphics2D_getCairoT/Java_gnu_java_awt_peer_gtk_CairoGraphics2D_getCairoT I see how it fits in my schedule

[cp-patches] Re: [patch] prefix CairoGraphics2D_getCairoT correctly

2006-05-31 Thread Andreas Tobler
Thomas Fitzsimmons wrote: - cr = CairoGraphics2D_getCairoT(env, cairographics); + cr = Java_gnu_java_awt_peer_gtk_CairoGraphics2D_getCairoT(env, cairographics); Shouldn't the prefix be cp_gtk_ since this is not a JNI method implementation? Gosh, I got disturbed by my youngest being

[cp-patches] Re: [patch] prefix CairoGraphics2D_getCairoT correctly

2006-05-31 Thread Thomas Fitzsimmons
Andreas Tobler wrote: Thomas Fitzsimmons wrote: - cr = CairoGraphics2D_getCairoT(env, cairographics); + cr = Java_gnu_java_awt_peer_gtk_CairoGraphics2D_getCairoT(env, cairographics); Shouldn't the prefix be cp_gtk_ since this is not a JNI method implementation? Gosh, I got disturbed by

[cp-patches] Re: [patch] prefix CairoGraphics2D_getCairoT correctly

2006-05-31 Thread Andreas Tobler
Thomas Fitzsimmons wrote: Andreas Tobler wrote: Thomas Fitzsimmons wrote: - cr = CairoGraphics2D_getCairoT(env, cairographics); + cr = Java_gnu_java_awt_peer_gtk_CairoGraphics2D_getCairoT(env, cairographics); Shouldn't the prefix be cp_gtk_ since this is not a JNI method implementation?

[cp-patches] Re: [patch] prefix CairoGraphics2D_getCairoT correctly

2006-05-31 Thread Thomas Fitzsimmons
Andreas Tobler wrote: Thomas Fitzsimmons wrote: Andreas Tobler wrote: Thomas Fitzsimmons wrote: - cr = CairoGraphics2D_getCairoT(env, cairographics); + cr = Java_gnu_java_awt_peer_gtk_CairoGraphics2D_getCairoT(env, cairographics); Shouldn't the prefix be cp_gtk_ since this is not a JNI

[cp-patches] FYI: Reimplement gradients.

2006-05-31 Thread Sven de Marothy
They work now. And in less code too. 2006-06-01 Sven de Marothy [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (setGradient): Reimplement. Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c

Re: [cp-patches] Patch: lazify InetSocketAddress hostname lookups

2006-05-31 Thread Tom Tromey
Anthony == Anthony Green [EMAIL PROTECTED] writes: Anthony I don't see anything obviously bad that can happen if these aren't Anthony synchronized. What are you seeing? Actually, I think your original patch is fine. I thought I saw a race in toString but I was mistaken. BTW, when you're

[cp-patches] GNU Crypto ISO 10126 Padding

2006-05-31 Thread Matthew Wringe
GNU Crypto currently doesn't implement the ISO 10126-2 padding algorithm, this algorithm is used in xml encryption. The attached patch and java file will add ISO 10126 support to GNU Crypto. Thanks, Matt Wringe Index: gnu/java/security/Registry.java

[cp-patches] FYI: Minor image fixes

2006-05-31 Thread Sven de Marothy
2006-06-01 Sven de Marothy [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (updateBufferedImage): Simplify. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c (getPixels): Don't swap. Index:

[cp-patches] FYI: javax.swing.* source code formatting fixes

2006-05-31 Thread David Gilbert
This patch (committed) fixes some source code formatting issues pointed out by Checkstyle: 2006-06-01 David Gilbert [EMAIL PROTECTED] * javax/swing/JComboBox.java: Minor source code formatting fixes, * javax/swing/JEditorPane.java: Likewise, *

[cp-patches] FYI: Improve BufferedImageGraphics stuff

2006-05-31 Thread Sven de Marothy
2006-06-01 Sven de Marothy [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (BufferedImageGraphics): Cache surfaces. (updateBufferedImage): Copy directly for certain color models. * gnu/java/awt/peer/gtk/CairoGraphics2D.java

[cp-patches] FYI: javax.swing.plaf.basic.* source code formatting fixlets

2006-05-31 Thread David Gilbert
This patch (committed) fixes some minor formatting/style issues in javax.swing.plaf.basic.*: 2006-06-01 David Gilbert [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style fixes, * javax/swing/plaf/basic/BasicDirectoryModel.java:

[cp-testresults] Japi diffs for classpath

2006-05-31 Thread Stuart Ballard
Japi diff jdk12 vs classpath: Full results: http://www.kaffe.org/~stuart/japi/htmlout/h-jdk12-classpath.html Changes since last run: -Comparison run at Tue May 30 09:57:17 2006 GMT -jdk12 API scanned at 2006/05/30 05:28:41 EDT -classpath API scanned at 2006/05/30 05:48:20 EDT +Comparison run at

[cp-testresults] FAIL: regressions for libgcj on Wed May 31 18:22:48 UTC 2006

2006-05-31 Thread cpdev
Baseline from: Wed May 31 13:02:45 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 output - bytecode-native test FAIL: Thread_Sleep output - bytecode-native test Totals: PASS: 4798 XPASS: 0 FAIL: 2 XFAIL: 12 ___ Classpath-testresults mailing list

[cp-testresults] FAIL: regressions for libgcj on Wed May 31 23:42:23 UTC 2006

2006-05-31 Thread cpdev
Baseline from: Wed May 31 13:02:45 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 output - bytecode-native test FAIL: Thread_Sleep -O3 output - source compiled test FAIL: Thread_Sleep -findirect-dispatch output - bytecode-native test FAIL: Thread_Sleep output - bytecode-native test Totals: PASS:

[cp-testresults] FAIL: regressions for mauve-jamvm on Thu Jun 1 00:38:48 UTC 2006

2006-05-31 Thread cpdev
Baseline from: Wed May 31 19:19:29 UTC 2006 Regressions: FAIL: gnu.testlet.java.lang.Thread.sleep: Interrupted sleep (number 2) New fails: FAIL: gnu.testlet.gnu.javax.crypto.sasl.srp.TestOfSRPAuthInfoProvider abnormal termination 142 CRASH or TIMEOUT FAIL:

[cp-testresults] FAIL: regressions for libgcj on Thu Jun 1 05:02:19 UTC 2006

2006-05-31 Thread cpdev
Baseline from: Wed May 31 13:02:45 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 -findirect-dispatch output - bytecode-native test FAIL: Thread_Sleep -O3 output - bytecode-native test FAIL: Thread_Sleep -O3 output - source compiled test Totals: PASS: 4797 XPASS: 0 FAIL: 3 XFAIL: 12

Re: merge Intel code

2006-05-31 Thread Audrius Meskauskas
The only package that is below (but not very much below!) 90 % in GNU Classpath is javax.swing.text.HTML. And it is missing in Intel donation. Influenced by the recent news, I plan to give more attention for the javax.swing.text.HTML in GNU Classpath. Audrius.

Room for more block ciphers?

2006-05-31 Thread Morgon Kanter
Hello, Somewhat recently, the gnu-crypto project got merged into Classpath. As I live in a cave underground and only come out once every few months, I was unaware of this and working on a few new block cipher implementations for gnu-crypto, using their old CVS sources. The old homepage of

Java2D Headless

2006-05-31 Thread Juerg Lehni
I was reading about the Java2D rewrite and was wondering if there is more information about this available now. http://developer.classpath.org/pipermail/classpath/2006-January/ 20.html I assume this is the work on the new CairoGraphics2D. Will this support headless mode? Will it still

Merging cp-tools and GNU Classpath rmic

2006-05-31 Thread Thomas Fitzsimmons
Hi, I'm wondering if anyone has looked at merging the cp-tools and GNU Classpath rmic implementations. What are the issues? I'm interested in getting this resolved so that we can focus on one implementation rather that dealing with the current three (GNU Classpath, cp-tools and libgcj).

Re: JamVM 1.4.3 released

2006-05-31 Thread Robert Lougher
Hi Mark, On 5/30/06, Mark Wielaard [EMAIL PROTECTED] wrote: Hi Robert, On Mon, 2006-05-22 at 03:47 +0100, Robert Lougher wrote: I'm pleased to announce the release of JamVM 1.4.3 (http://jamvm.sourceforge.net). This release adds heap compaction Nice one! I was just going through a

[commit-cp] classpath ./ChangeLog examples/gnu/classpath/ex...

2006-05-31 Thread Audrius Meskauskas
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/05/31 07:18:59 Modified files: . : ChangeLog examples/gnu/classpath/examples/swing: FillRect.java Log message: 2006-05-31

[commit-cp] classpath ./ChangeLog javax/swing/ListSelection...

2006-05-31 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/05/31 09:43:55 Modified files: . : ChangeLog javax/swing: ListSelectionModel.java Log message: 2006-05-31 David

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

2006-05-31 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/05/31 13:17:42 Modified files: javax/swing: JTabbedPane.java . : ChangeLog Log message: 2006-05-31 Roman Kennke

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

2006-05-31 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/05/31 16:16:30 Modified files: . : ChangeLog javax/swing: JTable.java Log message: 2006-05-31 David Gilbert [EMAIL

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

2006-05-31 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/05/31 18:57:20 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicProgressBarUI.java Log message: 2006-05-31

[commit-cp] classpath ./ChangeLog ./configure.ac native/jni...

2006-05-31 Thread Andreas Tobler
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Andreas Tobler [EMAIL PROTECTED] 06/05/31 20:29:41 Modified files: . : ChangeLog configure.ac native/jni/gtk-peer: gnu_java_awt_peer_gtk_ComponentGraphics.c Log

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

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/05/31 20:52:48 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: BufferedImageGraphics.java Log message: 2006-05-30

[commit-cp] classpath ChangeLog

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/05/31 21:00:57 Modified files: . : ChangeLog Log message: Fix changelog entry CVSWeb URLs:

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

2006-05-31 Thread Andreas Tobler
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Andreas Tobler [EMAIL PROTECTED] 06/05/31 21:29:48 Modified files: . : ChangeLog native/jni/gtk-peer: gtkpeer.h

[commit-cp] classpath ./ChangeLog javax/swing/table/JTableH...

2006-05-31 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/05/31 22:03:15 Modified files: . : ChangeLog javax/swing/table: JTableHeader.java Log message: 2006-05-31 David Gilbert

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

2006-05-31 Thread Andreas Tobler
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Andreas Tobler [EMAIL PROTECTED] 06/05/31 23:00:22 Modified files: . : ChangeLog native/jni/gtk-peer: cairographics2d.h

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

2006-05-31 Thread Andreas Tobler
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Andreas Tobler [EMAIL PROTECTED] 06/05/31 23:09:55 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_CairoSurface.c Log message: Commit missing bits. CVSWeb URLs:

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

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/05/31 23:25:13 Modified files: . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_CairoGraphics2D.c Log message:

[commit-cp] classpath ./ChangeLog java/net/InetSocketAddres...

2006-05-31 Thread Anthony Green
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Anthony Green [EMAIL PROTECTED] 06/06/01 00:54:15 Modified files: . : ChangeLog java/net : InetSocketAddress.java Log message: 2006-05-31 Anthony

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

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/06/01 00:57:18 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: BufferedImageGraphics.java native/jni/gtk-peer:

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

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/06/01 04:24:19 Modified files: native/jni/gtk-peer: gnu_java_awt_peer_gtk_CairoSurface.c Log message: 2006-06-01 Sven de Marothy [EMAIL

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

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/06/01 04:26:40 Modified files: . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_CairoSurface.c Log message:

[commit-cp] classpath ./ChangeLog javax/swing/JComboBox.jav...

2006-05-31 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/06/01 04:38:49 Modified files: . : ChangeLog javax/swing: JComboBox.java JEditorPane.java

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

2006-05-31 Thread Sven de Marothy
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Sven de Marothy [EMAIL PROTECTED] 06/06/01 05:05:57 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: BufferedImageGraphics.java

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

2006-05-31 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/06/01 05:17:02 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicButtonUI.java