Re: [cp-patches] FYI: TextLayout fixlet

2006-12-05 Thread Roman Kennke
Am Dienstag, den 05.12.2006, 01:04 +0100 schrieb Mark Wielaard: Hi Roman, On Mon, 2006-12-04 at 19:34 +0100, Roman Kennke wrote: I have implemented a GlyphPainter (for painting text in javax.swing.text) based on the new TextLayout class. While doing so I came across some small problems

Re: [cp-patches] FYI: Component.getFont fix

2006-12-05 Thread Roman Kennke
Am Montag, den 04.12.2006, 19:21 -0500 schrieb Thomas Fitzsimmons: Hi, This patch makes Component.getFont always return a non-null Font. This fixes a NullPointerException thrown by MegaMek. I committed this fix to trunk and classpath-0_93-branch. Hmm. While this makes the method more

Re: [cp-patches] FYI: Component.getFont fix

2006-12-05 Thread Mark Wielaard
On Tue, 2006-12-05 at 10:47 +0100, Roman Kennke wrote: Am Montag, den 04.12.2006, 19:21 -0500 schrieb Thomas Fitzsimmons: This patch makes Component.getFont always return a non-null Font. This fixes a NullPointerException thrown by MegaMek. I committed this fix to trunk and

Re: [cp-patches] Fix interrupted read/writes

2006-12-05 Thread Andrew Haley
Roman Kennke writes: Hi again, Am Montag, den 04.12.2006, 11:19 -0800 schrieb David Daney: Andrew Haley wrote: Roman Kennke writes: While testing eclipse I sometimes saw interrupted reads occur. VMChannel already had a mechanism for checking the interrupted status

Re: [cp-patches] Fix interrupted read/writes

2006-12-05 Thread Roman Kennke
Am Dienstag, den 05.12.2006, 10:01 + schrieb Andrew Haley: Roman Kennke writes: Hi again, Am Montag, den 04.12.2006, 11:19 -0800 schrieb David Daney: Andrew Haley wrote: Roman Kennke writes: While testing eclipse I sometimes saw interrupted reads occur. VMChannel

Re: [cp-patches] Fix interrupted read/writes

2006-12-05 Thread Mark Wielaard
Hi, On Tue, 2006-12-05 at 11:04 +0100, Roman Kennke wrote: Except that you should probably also check if the thread was interrupted as the original patch does for read and write. I did it like that and it solved all my problems :-) But surely you have the same problem

Re: [cp-patches] FYI: Component.getFont fix

2006-12-05 Thread Roman Kennke
Am Dienstag, den 05.12.2006, 10:57 +0100 schrieb Mark Wielaard: On Tue, 2006-12-05 at 10:47 +0100, Roman Kennke wrote: Am Montag, den 04.12.2006, 19:21 -0500 schrieb Thomas Fitzsimmons: This patch makes Component.getFont always return a non-null Font. This fixes a

Re: [cp-patches] Fix interrupted read/writes

2006-12-05 Thread Roman Kennke
Am Dienstag, den 05.12.2006, 10:52 + schrieb Andrew Haley: Mark Wielaard writes: Hi, On Tue, 2006-12-05 at 11:04 +0100, Roman Kennke wrote: Except that you should probably also check if the thread was interrupted as the original patch does for read and write.

[cp-patches] FYI: Asynchronous image loading

2006-12-05 Thread Roman Kennke
I implemented asynchronous image loading for the GtkToolkit.createImage(URL) method. This greatly enhances performance of the HTML browser as it can now leverage CPU vs. IO load more intelligently. When this turns out to be stable we might want to do this for createImage(String) too. This is

[cp-patches] FYI: ImageView async goodness

2006-12-05 Thread Roman Kennke
This brings the ImageView together with the new async loading by making it more thread-safe. 2006-12-05 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/html/ImageView.java (imageUpdate): Use spans field to determine if the CSS width/height are set. Call

[cp-patches] FYI: Add NEWS entry about HTML support

2006-12-05 Thread Roman Kennke
I added a NEWS entry about improved HTML support. Mark, add this to the release?! 2006-12-05 Roman Kennke [EMAIL PROTECTED] * NEWS: Add entry about improved HTML support. /Roman Index: NEWS === RCS file:

[cp-patches] Re: 0.93 branch created

2006-12-05 Thread Roman Kennke
Am Dienstag, den 05.12.2006, 10:42 +0100 schrieb Roman Kennke: Am Montag, den 04.12.2006, 15:52 -0500 schrieb Thomas Fitzsimmons: Mark Wielaard wrote: Hi, With the mauve regressions cleaned up we finally have a branch for 0.93 (tagged as classpath-0_93-branch with

[cp-patches] FYI: ImageView fixlet

2006-12-05 Thread Roman Kennke
This fixes a small mistake that I introduced in my last patch. 2006-12-05 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/html/ImageView.java (ImageView): Initialize spans array here. (setPropertiesFromAttributes): Moved init of spans array to constructor.

Re: [cp-patches] Fix interrupted read/writes

2006-12-05 Thread Casey Marshall
On Dec 5, 2006, at 2:52 AM, Andrew Haley wrote: Mark Wielaard writes: Hi, On Tue, 2006-12-05 at 11:04 +0100, Roman Kennke wrote: Except that you should probably also check if the thread was interrupted as the original patch does for read and write. I did it like that and it solved all my

Re: [cp-patches] Fix interrupted read/writes

2006-12-05 Thread Casey Marshall
On Dec 5, 2006, at 2:04 AM, Roman Kennke wrote: Am Dienstag, den 05.12.2006, 10:01 + schrieb Andrew Haley: Roman Kennke writes: I did it like that and it solved all my problems :-) But surely you have the same problem with any other callers of cpio_connect, or indeed cpio_*. You only

[cp-patches] FYI: BufferedImageGraphics and scanlines

2006-12-05 Thread Francis Kung
Hi, This is hopefully the last scanline issue with buffered image graphics; scanlines and sample model translations are now respected when the Graphics2D object is created. Probably no need to rush this into the release branch; doesn't fix a regression, so it can wait till 0.94 =) Cheers,

[cp-patches] FYI: Negative arc extends

2006-12-05 Thread Francis Kung
Hi, This patch implements better support for negative extents in the Arc2D iterator. Before, we simply reversed the arc so that the extent would always be positive; however this causes problems when the arc is apart of a larger shape. Now, the iterator handles negative extents without the

[cp-patches] FYI: AsyncImage NPE fix

2006-12-05 Thread Roman Kennke
In the AsyncImage we need to ignore (legal) null observers otherwise we get NPEs. 2006-12-05 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Check for null and ignore null observers. (getWidth): Check for null and ignore null

[cp-patches] FYI: HTML tables with rowspan and borders

2006-12-05 Thread Roman Kennke
This implements multi-row cells and borders as shown in this example screenshot: http://kennke.org/~roman/table-with-rowspan-and-border.png 2006-12-05 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/html/BlockView.java (painter): Made package visible. *

[cp-patches] FYI: HTML debug output

2006-12-05 Thread Roman Kennke
This removes some pieces of debug output that have accidentally been left in the code. Mark? Merge to release branch? 2006-12-05 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create): Removed debug output. *

[cp-patches] FYI: AsyncImage observers fix

2006-12-05 Thread Roman Kennke
This discards all observers after the image loading is finished. They are not needed anymore and new observers get pinged directly. 2006-12-05 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/AsyncImage.java (Loader.run): Nullify observers after loading.

Re: [cp-patches] RFC: Always initialize management.Server.beans

2006-12-05 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark The beans map in management.Server could be queries before anything was Mark put into it. Then beans would be null. Leading to nasty exceptions. This Mark patch makes sure beans is initialized from the start with an empty Mark HashMap. Edwin

Re: [cp-patches] FYI: Component.getFont fix

2006-12-05 Thread Thomas Fitzsimmons
Roman Kennke wrote: Am Dienstag, den 05.12.2006, 10:57 +0100 schrieb Mark Wielaard: On Tue, 2006-12-05 at 10:47 +0100, Roman Kennke wrote: Am Montag, den 04.12.2006, 19:21 -0500 schrieb Thomas Fitzsimmons: This patch makes Component.getFont always return a non-null Font. This fixes a

[cp-testresults] FAIL: regressions for mauve-cacao on Tue Dec 5 13:50:09 UTC 2006

2006-12-05 Thread cpdev
Baseline from: Sat Nov 25 17:18:39 UTC 2006 Regressions: FAIL: java.awt.Component.getFont FAIL: java.awt.Component.keyPressTest FAIL: java.awt.TextField.PaintTest FAIL: java.text.NumberFormat.UK FAIL: java.text.SimpleDateFormat.regress FAIL: java.util.zip.Deflater.PR27435 FAIL:

[cp-testresults] FAIL: regressions for mauve-cacao on Tue Dec 5 20:18:43 UTC 2006

2006-12-05 Thread cpdev
Baseline from: Sat Nov 25 17:18:39 UTC 2006 Regressions: FAIL: java.awt.Component.getFont FAIL: java.awt.Component.keyPressTest FAIL: java.awt.TextField.PaintTest FAIL: java.beans.SimpleBeanInfo.loadImage FAIL: java.text.NumberFormat.UK FAIL: java.text.SimpleDateFormat.regress FAIL:

Re: 0.93 branch created

2006-12-05 Thread Roman Kennke
Am Montag, den 04.12.2006, 15:52 -0500 schrieb Thomas Fitzsimmons: Mark Wielaard wrote: Hi, With the mauve regressions cleaned up we finally have a branch for 0.93 (tagged as classpath-0_93-branch with classpath-0_93-branch-point as marker on the trunk). So things todo before release:

Re: 0.93 branch created

2006-12-05 Thread Roman Kennke
Am Dienstag, den 05.12.2006, 10:42 +0100 schrieb Roman Kennke: Am Montag, den 04.12.2006, 15:52 -0500 schrieb Thomas Fitzsimmons: Mark Wielaard wrote: Hi, With the mauve regressions cleaned up we finally have a branch for 0.93 (tagged as classpath-0_93-branch with

[Bug classpath/30061] Comparator interface arguments get reversed

2006-12-05 Thread dwhire at yahoo dot com
--- Comment #2 from dwhire at yahoo dot com 2006-12-05 10:30 --- Problem occurred when using IKVM (IKVM.GNU.Classpath.dll) under Windows XP. Reported IKVM bug 1606627 on sourceForge. Problem was closed by Jeroen Frijters (jfrijters) with comment This is a GNU Classpath issue, not IKVM.

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

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 09:56:09 Modified files: gnu/java/awt/peer/gtk: GtkComponentPeer.java . : ChangeLog Log message: 2006-12-05 Roman Kennke [EMAIL PROTECTED]

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

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 11:11:16 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: CairoGraphics2D.java ComponentGraphics.java GtkToolkit.java

[commit-cp] classpath javax/swing/text/html/ImageView.java ...

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 11:20:40 Modified files: javax/swing/text/html: ImageView.java . : ChangeLog Log message: 2006-12-05 Roman Kennke [EMAIL PROTECTED]

[commit-cp] classpath NEWS ChangeLog

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 11:26:10 Modified files: . : NEWS ChangeLog Log message: 2006-12-05 Roman Kennke [EMAIL PROTECTED] * NEWS: Add entry about improved

[commit-cp] classpath javax/swing/text/html/ImageView.java ...

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 13:03:33 Modified files: javax/swing/text/html: ImageView.java . : ChangeLog Log message: 2006-12-05 Roman Kennke [EMAIL PROTECTED]

[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

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

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 21:38:34 Modified files: gnu/java/awt/peer/gtk: AsyncImage.java . : ChangeLog Log message: 2006-12-05 Roman Kennke [EMAIL PROTECTED]

[commit-cp] classpath ChangeLog javax/swing/text/html/Block...

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 21:52:52 Modified files: . : ChangeLog javax/swing/text/html: BlockView.java StyleSheet.java TableView.java Log message:

[commit-cp] classpath ChangeLog javax/swing/text/html/HTMLE...

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 22:18:37 Modified files: . : ChangeLog javax/swing/text/html: HTMLEditorKit.java InlineView.java StyleSheet.java Log message:

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

2006-12-05 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Changes by: Roman Kennke rabbit78 06/12/05 22:24:11 Modified files: gnu/java/awt/peer/gtk: AsyncImage.java . : ChangeLog Log message: 2006-12-05 Roman Kennke [EMAIL PROTECTED]