[cp-patches] Patch: FYI: speed up split-for-gcj

2006-03-31 Thread Tom Tromey
I'm checking this in. This hugely speeds up the split-for-gcj script. On my machine it goes from more than two minutes to about 6 seconds. (We could probably do even better but this script should be very portable...) This also fixes a bug. I noticed that source files could be classified into m

Re: [cp-patches] FYI:JTable repaint fixes when selecting multiple rows with arrow keys:Fixed mistake in the patch.

2006-03-31 Thread Audrius Meskauskas
The previous patch includes unplanned change (adding debug code) to the BasicTableUI. The corrected patch is attached. The change was not comitted to CVS repository, only posted to the list. Sorry. 2006-03-31 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (columnSelectio

Re: [cp-patches] Patch: FYI: JPEGQTable

2006-03-31 Thread Thomas Fitzsimmons
On Thu, 2006-03-30 at 19:49 -0700, Tom Tromey wrote: > > "Tom" == Thomas Fitzsimmons <[EMAIL PROTECTED]> writes: > > Tom> + public static final JPEGQTable K1Luminance = new JPEGQTable(new int[] > Tom> + { > > For these it would be mildly better to have a private constructor > which does

[cp-patches] FYI:JTable repaint fixes when selecting multiple rows with arrow keys

2006-03-31 Thread Audrius Meskauskas
Trying to select the multiple rows with arrow keys indicates that the DefaultListSelectionModel is not firing correct events to repaint the changed area. This path fixes that problem. 2006-03-31 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (columnSelectionChanged):

[cp-patches] Patch: Component fix

2006-03-31 Thread Lillian Angel
I am in the process of writing a mauve test for this. When we translate from new events to old events, if a character on the keyboard is pressed the key value should be set to the value of the character. 2006-03-31 Lillian Angel <[EMAIL PROTECTED]> * java/awt/Component.java (tra

Re: [cp-patches] FYI:JTable.columnSelectionChanged fix

2006-03-31 Thread Carsten Neumann
Hi Audrius, Audrius Meskauskas wrote: 2006-03-31 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (columnSelectionChanged): Treat second repaint parameter as width. Index: JTable.java ==

[cp-patches] FYI:JTable.columnSelectionChanged fix

2006-03-31 Thread Audrius Meskauskas
2006-03-31 Audrius Meskauskas <[EMAIL PROTECTED]> * javax/swing/JTable.java (columnSelectionChanged): Treat second repaint parameter as width. Index: JTable.java === RCS file: /sources/classpath/classpath/javax/swing/JTable.j

[cp-patches] Patch: GtkCanvasPeer fix

2006-03-31 Thread Lillian Angel
This fixes a segmentation fault in but #26924. Apparently, the Canvas's graphics were being used when it was not realized. 2006-03-31 Lillian Angel <[EMAIL PROTECTED]> PR classpath/26924 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (realize): New native function. *

[cp-patches] FYI: fix broken Caret behavior in JTextAreas with lineWrap=true

2006-03-31 Thread Robert Schuster
Hi, this patch fixes PR 26842[0]. The fix to GapContent made another drawing problem visible which occured because document listeners have been registered twice. I prevented that by not indicating that the document has changed when someone changes the lineWrap or wrapStyleWord property and only upd

[cp-patches] FYI: JTextField fixlet

2006-03-31 Thread Roman Kennke
It seems that application expect the text of the textfield in the ActionEvent when ENTER is pressed. I fixed this, which made the jIRCii application somewhat work: http://kennke.org/~roman/jircii.png 2006-03-31 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JTextField.java (fir

[cp-patches] FYI: jarsigner tool - Add checks for mandatory arguments

2006-03-31 Thread Raif S. Naffah
hello there, the attached patch --already committed-- adds checks for mandatory arguments 'jar-file' (always) and 'alias' (when signing). the ChangeLog entry follows: 2006-04-01 Raif S. Naffah <[EMAIL PROTECTED]> * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):

[cp-patches] FYI: Made Attributes.putValue(Name,String) private

2006-03-31 Thread Raif S. Naffah
hello there, the public API for both JDK 1.4 and 1.5 does not expose a method with such a signature; only putValue(String, String) is visible. this patch --already committed-- makes this method private, and changes existing code to use the visible putValue(String, String) method. the ChangeLog

[cp-patches] FYI: Optimized painting for Swing

2006-03-31 Thread Roman Kennke
Hi there, I optimized the painting in Swing again. This time I implemented special algorithms for paintChildren() for the two cases when children can overlap and when they are guaranteed to not overlap (optimizedDrawingEnabled property). When children can overlap (optimizedDrawingEnabled == false

[cp-patches] FYI: JTable selection repainting fix

2006-03-31 Thread Audrius Meskauskas
When the table selection changes, only the area when the selection changes requires repainting - not the whole table as it is done now. This patch implements repainting of the changes sections only. This makes the navigation with the arrow keys faster, as the table is no longer repainted after jus

[cp-patches] FYI: DefaultComboBoxModel - fix for bug 26951

2006-03-31 Thread David Gilbert
This patch (committed) changes (slightly) our implementation of DefaultComboBoxModel to match some observed behaviours in Sun's implementation - see bug 26951 for details: 2006-03-31 David Gilbert <[EMAIL PROTECTED]> Fixes bug #26951 * javax/swing/DefaultComboBoxModel.java