[cp-patches] FYI: gnu.java.awt.print.JavaPrinterGraphics - fix endless loops

2006-05-18 Thread David Gilbert
This patch (committed) fixes some endless loops reported by FindBugs: 2006-05-18 David Gilbert [EMAIL PROTECTED] * gnu/java/awt/print/JavaPrinterGraphics.java (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop, (drawImage(Image, int, int,

Re: [cp-patches] FYI: GapContentPosition fix

2006-05-18 Thread Roman Kennke
Hi Robert, Cool that this is now fixed. Well, it's not complete yet. This is why I still didn't close the PR. However, there is one (minor IMO) problem left. As it is now, the positionMarks array is never cleaned up, that means that marks are kept there, even if their corresponding

[cp-patches] FYI: Tiny perf and compatibility tweak for gnu/java/net/loader/JarURLLoader.java

2006-05-18 Thread Jeroen Frijters
Hi, I committed the attached optimization to the URL construction in JarURLLoader. Not really to improve performance, but to make Google's new Google Web Toolkit shell startup (it's broken and does an identity comparison on the string returned by URL.getProtocol()). Regards, Jeroen 2006-05-18

Re: [cp-patches] FYI:RepaintManager performance fix

2006-05-18 Thread Audrius Meskauskas
Roman Kennke wrote: Hi Audrius, I finally find some time to look into your optimizations. Unfortunately I don't think they are correct at all. (This is why I come to this at all - painting seems broken in some special cases, like when you have a textfield and open a menu that overlaps the

Re: [cp-patches] FYI:RepaintManager performance fix

2006-05-18 Thread Roman Kennke
Hi Audrius, first of all, I didn't want to offend you. Sorry if you feel like this. * javax/swing/RepaintManager.java (addDirtyRegion): If there is a lightweight parent, recursively add the corresponding region of the parent instead. This is not ok. Some easy tests

Re: [cp-patches] FYI:RepaintManager performance fix:Menu over JTextArea is not broken in the May 14 hybrid version with the recent repaint manager version

2006-05-18 Thread Audrius Meskauskas
Roman Kennke wrote: I don't think they are correct at all. (This is why I come to this at all - painting seems broken in some special cases, like when you have a textfield and open a menu that overlaps the textfield, the menu gets damaged by the textfield painting.) I have reverted all

Re: [cp-patches] FYI:RepaintManager performance fix

2006-05-18 Thread Audrius Meskauskas
This changes breaks the painting, as I explained, since it must be scanned up to the root to determine if some other component overlaps the component to be painted. If you try out a text editor (say, Notepad.jar from Sun's demo programs), and open up a menu that overlaps the JTextArea, the

[cp-patches] Re: RFC: RepaintManager/JComponent cleanup/improvement:Great and impressive!

2006-05-18 Thread Audrius Meskauskas
Roman Kennke wrote: Hi list, hi Audrius, I looked a little over the recent JComponent/RepaintManager changes. Surely, this patch is great. There are no redundant repaints, so the frame moving and resizing remains fast. The algorithm is now more sophisticated than the previously uses force

Re: [cp-patches] FYI:RepaintManager performance fix

2006-05-18 Thread Roman Kennke
Hiyo, Lets discuss this separately. Though I'm curious in which way the blitting was broken. if (canBlit isPaintRoot) in JViewport.paintBlit. Sorry, I thought this is your code. But it is really not working is isPaintRoot is false, I tried this. Yes, I've written this part

[cp-patches] FYI: GapContent improvement

2006-05-18 Thread Roman Kennke
I improved the GapContentPosition stuff a little, now lumping marks together into one mark when they become equal. This does still not 100% solve the bug 26368, but we get nearer. 2006-05-18 Roman Kennke [EMAIL PROTECTED] PR 26368 * javax/swing/text/GapContent.java

Re: [cp-patches] Re: RFC: RepaintManager/JComponent cleanup/improvement:Great and impressive!

2006-05-18 Thread Roman Kennke
Hi, Am Donnerstag, den 18.05.2006, 16:11 +0200 schrieb Audrius Meskauskas: Roman Kennke wrote: Hi list, hi Audrius, I looked a little over the recent JComponent/RepaintManager changes. Surely, this patch is great. There are no redundant repaints, so the frame moving and resizing

Re: [cp-patches] FYI: JTable fixes and improvements

2006-05-18 Thread Roman Kennke
Hi there, This is surely required, no doubt about this. The table must support variable row heights and it did not. But now when scrolling from top to bottom, the height of the repaint region occasionaly turns negative: java.awt.Rectangle[x=0,y=465,width=34,height=-450] This is strange.

[cp-patches] Patch: RFC: fix PR 27444

2006-05-18 Thread Tom Tromey
This patch implements support for INDEX.LIST handling in a URLClassLoader. It works by modifying the JarURLLoader to understand this index and to add it to other loaders which it creates. I also removed the cache of URLLoaders from URLClassLoader. I don't think this cache provides much value,

Re: [cp-patches] FYI: JTable fixes and improvements

2006-05-18 Thread Roman Kennke
Hi there again, This is surely required, no doubt about this. The table must support variable row heights and it did not. But now when scrolling from top to bottom, the height of the repaint region occasionaly turns negative: java.awt.Rectangle[x=0,y=465,width=34,height=-450] Now

Re: [cp-patches] FYI: JTable fixes and improvements

2006-05-18 Thread Roman Kennke
Ugh, I forgot to remove the old statement. 2006-05-18 Roman Kennke [EMAIL PROTECTED] * gnu/java/awt/peer/gtk/GdkGraphics.java (clipRect): Removed old intersection statement. /roman -- “Improvement makes straight roads, but the crooked roads, without Improvement, are roads of

Re: [cp-patches] FYI: JTable fixes and improvements

2006-05-18 Thread Roman Kennke
Hi again, I think, the blitting is broken again, because width=450,height=426 means that the whole table should be repainted. Another part of the problem is the following stacktrace that I get when intercepting repaint() in JTable (below). You can see that the painting of the cells goes

[cp-patches] Patch: ShapeGraphicAttribute implemented.

2006-05-18 Thread Lillian Angel
I implemented and documented ShapeGraphicAttribute. I have also committed a mauve test for it. 2006-05-18 Lillian Angel [EMAIL PROTECTED] * java/awt/font/ShapeGraphicAttribute.java: Documented entire class. (ShapeGraphicAttribute): Initialized bounds field.

[cp-patches] FYI: JButtons in JToolBar - first fix

2006-05-18 Thread Robert Schuster
Hi, this is the first fix to make painting of JButtons which are direct childs of a JToolBar correct. I found out that those button will not draw their extra thick border when the mouse is hovering above them. I fixed that in the MetalBorder.ButtonBorder class. Additionally I found out that the

[cp-patches] FYI: fix for LighteightDispatcher

2006-05-18 Thread Robert Schuster
Hi, the attached patch makes it possible that one can click and *hold* on a JButton A, move over to other buttons without setting their rollover state to true and come back to A. This is important because in the OceanTheme setting the rollover flag to true makes the button paint a thick border or

Re: [cp-patches] Patch: GraphicAttribute implementation

2006-05-18 Thread Tom Tromey
Lillian == Lillian Angel [EMAIL PROTECTED] writes: Lillian - public static final int BOTTOM_ALIGNMENT = -2; Lillian + public static final int BOTTOM_ALIGNMENT = - 2; This is kind of weird. If there is an eclipse formatter setting for this, we should change it. If not, we should file a

Re: [cp-patches] Patch: GraphicAttribute implementation

2006-05-18 Thread Lillian Angel
On Thu, 2006-05-18 at 12:59 -0600, Tom Tromey wrote: Lillian == Lillian Angel [EMAIL PROTECTED] writes: Lillian - public static final int BOTTOM_ALIGNMENT = -2; Lillian + public static final int BOTTOM_ALIGNMENT = - 2; This is kind of weird. If there is an eclipse formatter setting

[cp-patches] Patch: GlyphMetrics

2006-05-18 Thread Lillian Angel
I implemented two unimplemented functions. 2006-05-18 Lillian Angel [EMAIL PROTECTED] * java/awt/font/GlyphMetrics.java (getLSB): Implemented. (getRSB): Implemented. Index: java/awt/font/GlyphMetrics.java

[cp-patches] FYI: complete ImageInputStreamImpl and MemoryCacheImageInputStream

2006-05-18 Thread Thomas Fitzsimmons
Hi, I completed ImageInputStreamImpl and MemoryCacheImageInputStream. Though all but one of the methods had implementations, they were very buggy. I've committed a new test case to Mauve to ensure that these classes are now correct. This patch brings the pure Java JPEG decoder closer to a

Re: [cp-testresults] FAIL: regressions for mauve-jamvm-release on Thu May 18 05:08:42 UTC 2006

2006-05-18 Thread David Gilbert
[EMAIL PROTECTED] wrote: Baseline from: Tue May 16 14:20:57 UTC 2006 New fails: FAIL: gnu.testlet.javax.swing.DefaultButtonModel.setArmed (number 10) FAIL: gnu.testlet.javax.swing.DefaultButtonModel.setArmed (number 11) FAIL: gnu.testlet.javax.swing.DefaultButtonModel.setArmed

[cp-testresults] FAIL: classpath build with gcj (4.0) on Thu May 18 08:59:58 UTC 2006

2006-05-18 Thread cpdev
Making installcheck in scripts make[2]: Entering directory `/home/cpdev/Nightly/classpath/build/classpath-0.92-pre/_build/scripts' make[2]: Nothing to be done for `installcheck'. make[2]: Leaving directory `/home/cpdev/Nightly/classpath/build/classpath-0.92-pre/_build/scripts' Making

[cp-testresults] FAIL: classpath build with gcj (4.0) on Thu May 18 15:16:36 UTC 2006

2006-05-18 Thread cpdev
Making installcheck in scripts make[2]: Entering directory `/home/cpdev/Nightly/classpath/build/classpath-0.92-pre/_build/scripts' make[2]: Nothing to be done for `installcheck'. make[2]: Leaving directory `/home/cpdev/Nightly/classpath/build/classpath-0.92-pre/_build/scripts' Making

[cp-testresults] FAIL: regressions for libgcj on Thu May 18 16:55:39 UTC 2006

2006-05-18 Thread cpdev
Baseline from: Thu May 18 10:39:03 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 FAIL: Thread_Sleep -findirect-dispatch output -

[cp-testresults] FAIL: gcc build on Thu May 18 20:48:53 UTC 2006

2006-05-18 Thread cpdev
make[3]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make all-am make[4]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory

[cp-testresults] FAIL: gcc build on Thu May 18 23:04:36 UTC 2006

2006-05-18 Thread cpdev
make[3]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make all-am make[4]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory

[cp-testresults] FAIL: gcc build on Fri May 19 01:20:15 UTC 2006

2006-05-18 Thread cpdev
make[3]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make all-am make[4]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory

[cp-testresults] FAIL: gcc build on Fri May 19 03:36:11 UTC 2006

2006-05-18 Thread cpdev
make[3]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make all-am make[4]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory

[cp-testresults] classpath daily snapshot 20060519 FAILED

2006-05-18 Thread Michael Koch
make[3]: Leaving directory `/home/mkoch/src/classpath/build/classpath-20060519/_build/external/relaxngDatatype' make[3]: Entering directory `/home/mkoch/src/classpath/build/classpath-20060519/_build/external' make[3]: Nothing to be done for `installcheck-am'. make[3]: Leaving directory

[cp-testresults] FAIL: gcc build on Fri May 19 05:52:10 UTC 2006

2006-05-18 Thread cpdev
make[3]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make all-am make[4]: Entering directory `/home/cpdev/Nightly/gcc/build/i386-pc-linux-gnu/boehm-gc/include' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory

Re: Socket inherits timeout from accept - is this right?

2006-05-18 Thread Mark Wielaard
Hi Robert, On Mon, 2006-05-15 at 09:06 +0200, Robert Schuster wrote: man 2 accept says that the socket created by accept() has the same properties as the socket which was used in the accept call. Is it possible that in Java the created socket should have default properties here instead?

[commit-cp] classpath javax/swing/KeyboardManager.java ./Ch...

2006-05-18 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/05/18 13:53:24 Modified files: javax/swing: KeyboardManager.java . : ChangeLog Log message: 2006-05-18 Roman Kennke

[commit-cp] classpath javax/swing/text/GapContent.java ./Ch...

2006-05-18 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/05/18 14:16:11 Modified files: javax/swing/text: GapContent.java . : ChangeLog Log message: 2006-05-18 Roman Kennke

[commit-cp] classpath javax/swing/JComponent.java javax/swi...

2006-05-18 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/05/18 14:17:52 Modified files: javax/swing: JComponent.java RepaintManager.java . : ChangeLog Log message: 2006-05-18

[commit-cp] classpath javax/swing/CellRendererPane.java ./C...

2006-05-18 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/05/18 15:21:40 Modified files: javax/swing: CellRendererPane.java . : ChangeLog Log message: 2006-05-18 Roman Kennke

[commit-cp] classpath ./ChangeLog java/awt/font/ShapeGraphi...

2006-05-18 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/05/18 15:50:47 Modified files: . : ChangeLog java/awt/font : ShapeGraphicAttribute.java Log message: 2006-05-18 Lillian

[commit-cp] classpath java/awt/LightweightDispatcher.java ....

2006-05-18 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Robert Schuster [EMAIL PROTECTED] 06/05/18 17:28:08 Modified files: java/awt : LightweightDispatcher.java . : ChangeLog Log message: 2006-05-18 Robert

[commit-cp] classpath ./ChangeLog java/awt/font/GraphicAttr...

2006-05-18 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/05/18 18:56:24 Modified files: . : ChangeLog java/awt/font : GraphicAttribute.java Log message: 2006-05-18 Lillian Angel

[commit-cp] classpath ./ChangeLog java/awt/font/GlyphMetric...

2006-05-18 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/05/18 19:30:09 Modified files: . : ChangeLog java/awt/font : GlyphMetrics.java Log message: 2006-05-18 Lillian Angel