[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

[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

[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 ==

[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

[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: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:

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] 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

[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):

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 doesn't copy the

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

[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

[cp-testresults] Japi diffs for classpath

2006-03-31 Thread Stuart Ballard
Japi diff jdk14 vs classpath: Full results: http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.html Changes since last run: -Comparison run at Thu Mar 30 11:17:32 2006 GMT -jdk14 API scanned at 2006/03/30 05:20:24 EST -classpath API scanned at 2006/03/30 06:00:44 EST +Comparison run at

[cp-testresults] FAIL: classpath build with gcj trunk on Fri Mar 31 17:08:10 UTC 2006

2006-03-31 Thread cpdev
/home/cpdev/Nightly/gcc/install/bin/gcj -Wno-deprecated --encoding=UTF-8 --bootclasspath '' --classpath ..:../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:.: -C -d . -MD -MF

[cp-testresults] FAIL: classpath build with jikes on Fri Mar 31 17:14:09 UTC 2006

2006-03-31 Thread cpdev
120. public void EditorContainer() ^--^ *** Semantic Warning: The name of this method EditorContainer matches the name of the containing class. However, the method is not a constructor since its declarator is qualified with a type. Issued 2 semantic

[cp-testresults] FAIL: regressions for libgcj on Fri Mar 31 18:01:12 UTC 2006

2006-03-31 Thread cpdev
Baseline from: Thu Mar 30 19:01:15 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 output - bytecode-native test Improvements: XPASS: PR26858 -O3 output - bytecode-native test XPASS: PR26858 -O3 output - source compiled test XPASS: PR26858 output - bytecode-native test XPASS: PR26858 output -

[cp-testresults] FAIL: classpath build with jikes on Fri Mar 31 22:33:08 UTC 2006

2006-03-31 Thread cpdev
120. public void EditorContainer() ^--^ *** Semantic Warning: The name of this method EditorContainer matches the name of the containing class. However, the method is not a constructor since its declarator is qualified with a type. Issued 2 semantic

[cp-testresults] FAIL: regressions for mauve-jamvm on Sat Apr 1 00:07:42 UTC 2006

2006-03-31 Thread cpdev
Baseline from: Fri Mar 31 18:47:06 UTC 2006 Regressions: FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure4: ElementBuffer insertUpdate: third insertion (number 3) FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure4:

[cp-testresults] FAIL: classpath build with gcj trunk on Sat Apr 1 03:36:37 UTC 2006

2006-03-31 Thread cpdev
/home/cpdev/Nightly/gcc/install/bin/gcj -Wno-deprecated --encoding=UTF-8 --bootclasspath '' --classpath ..:../../classpath/vm/reference:../../classpath:../../classpath/external/w3c_dom:../../classpath/external/sax:../../classpath/external/relaxngDatatype:.: -C -d . -MD -MF

[cp-testresults] FAIL: classpath build with jikes on Sat Apr 1 03:49:13 UTC 2006

2006-03-31 Thread cpdev
120. public void EditorContainer() ^--^ *** Semantic Warning: The name of this method EditorContainer matches the name of the containing class. However, the method is not a constructor since its declarator is qualified with a type. Issued 2 semantic

[cp-testresults] classpath daily snapshot 20060401 FAILED

2006-03-31 Thread Michael Koch
^-^ *** Semantic Caution: The shift count -15 is negative; it will be masked to the appropriate width and behave as a positive shift count. 299. aa = aa 3 | aa -3; ^^ *** Semantic Caution: The shift count -3 is

[cp-testresults] FAIL: regressions for mauve-jamvm on Sat Apr 1 05:22:12 UTC 2006

2006-03-31 Thread cpdev
Baseline from: Fri Mar 31 18:47:06 UTC 2006 Regressions: FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure4: ElementBuffer insertUpdate: third insertion (number 3) FAIL: gnu.testlet.javax.swing.text.DefaultStyledDocument.ElementBuffer.ElementStructure4:

Re: OSGi TCK

2006-03-31 Thread Philippe Laporte
Dalibor Topic wrote: On Wed, 2006-03-29 at 23:51 +0200, Philippe Laporte wrote: You already pass our internal suite. Cool. I'd personally like to see the Biss-TVT AWT rescucitated. The thing draws on the Linux frame buffer without GTK. This is great for embedded. You

Re: OSGi TCK

2006-03-31 Thread Philippe Laporte
Tom Tromey wrote: Dalibor == Dalibor Topic [EMAIL PROTECTED] writes: I'd personally like to see the Biss-TVT AWT rescucitated. The thing draws on the Linux frame buffer without GTK. This is great for embedded. Dalibor You may also want to take the Qt4 peers and make

Re: jMemorize - exception in JTable code: Fixed, but JFreeChart internal problem follows.

2006-03-31 Thread Roman Kennke
Hi Audrius, Unfortunately, this brings us to the second exception, related to the JFreeChart: java.lang.ClassCastException: gnu/java/awt/peer/gtk/GdkGraphics Probably our JFreeChart experts could look at this. This is caused by missing support for Graphics2D. Try building and running with

Re: Green threads - some experience

2006-03-31 Thread Clemens Eisserer
For example, on Linux where each POSIX thread is a cloned process, it's Linux's fault (not the JVM's fault) if that doesn't scale well. For example, other OS's don't have such heavyweight threads. FreeBSD's KSE's are an example of a better tradeoff using M:N user:kernel threading. It seems

Re: jMemorize - exception in JTable code: Fixed, but JFreeChart internal problem follows.

2006-03-31 Thread Robert Schuster
Hey Audrius, thanks for fixing this. Here is how jMemorize looks when using the cairo based Graphics2D. http://page.mi.fu-berlin.de/~rschuste/jMemorize-2006-03-31.png configure with --enable-gtk-cairo and then run with: jamvm -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D -jar jMemorize-0.9.2.jar

Re: jMemorize - exception in JTable code: Fixed, but JFreeChart internal problem follows.

2006-03-31 Thread Roman Kennke
Hi Robert, I am not sure where this comes from but I find that our Free Swing apps look very neat. Is there something special with our fonts?!? Yes. In constrast to Sun's JDK, we use the system fonts and the system font settings, which is normally antialiased and optimized for LCD when running

Re: jMemorize - exception in JTable code: Fixed, but JFreeChart internal problem follows.

2006-03-31 Thread Mark Wielaard
On Thu, 2006-03-30 at 23:06 +0100, David Gilbert wrote: I think many applications are going to fail on our implementation until we get good Graphics2D support into our JComponent (many custom look and feel implementations rely on it, for starters). Agreed. Most of the things I am testing on

Re: jMemorize - exception in JTable code: Fixed, but JFreeChart internal problem follows.

2006-03-31 Thread Mark Wielaard
On Fri, 2006-03-31 at 15:55 +0200, Roman Kennke wrote: However, you can turn on font-antialiasing using the RenderingHints class. It's a bit tricky to do this application wide though... (on the downside, I think classpath ignores the RenderingHints altogether). Ironically this is how I have

Re: Green threads - some experience

2006-03-31 Thread Archie Cobbs
Clemens Eisserer wrote: For example, on Linux where each POSIX thread is a cloned process, it's Linux's fault (not the JVM's fault) if that doesn't scale well. For example, other OS's don't have such heavyweight threads. FreeBSD's KSE's are an example of a better tradeoff using M:N user:kernel

[Bug inetlib/26960] New: IP_TOS, SO_OOBINLINE, SO_BROADCAST not supported

2006-03-31 Thread johnandtina at byu dot net
The values SocketOptions.IP_TOS, SocketOptions.SO_OOBLINE, SocketOptions.SO_BROADCAST are not supported in VMPlainSocketImpl.[get|set]Option. So, java.net.Socket.[get|set]TrafficClass and java.net.DatagramSocket.[get|set]Broadcast throw an SocketException. These just need support in

[Bug inetlib/26960] IP_TOS, SO_OOBINLINE, SO_BROADCAST not supported

2006-03-31 Thread johnandtina at byu dot net
--- Comment #1 from johnandtina at byu dot net 2006-03-31 15:09 --- Oh, I forgot to mention that it's not that I use these mostly esoteric socket options, but MINA from Apache Directory Server calls all the 'get's to retrieve default values (in

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

Re: Green threads - some experience

2006-03-31 Thread Ian Rogers
Archie Cobbs wrote: IMHO using POSIX threads is the only right answer for a multi-platform JVM. You have no other choice except to leave it up to the specific platform to then implement POSIX threads efficiently. For example, on Linux where each POSIX thread is a cloned process, it's Linux's

[Bug swing/26843] JTextArea with lineWrap=true - up/down movement broken

2006-03-31 Thread thebohemian at gmx dot net
--- Comment #2 from thebohemian at gmx dot net 2006-03-31 16:09 --- Now that PR 26842 is fixed I see that the real problem is that up and down movement is broken. There are all kind of glitches like skipping lines when pressing down, jumping between two positions and the exception

Re: Green threads - some experience

2006-03-31 Thread Archie Cobbs
Ian Rogers wrote: Archie Cobbs wrote: IMHO using POSIX threads is the only right answer for a multi-platform JVM. You have no other choice except to leave it up to the specific platform to then implement POSIX threads efficiently. For example, on Linux where each POSIX thread is a cloned

New japize option

2006-03-31 Thread Stuart Ballard
I added a new option to Japize to allow excluding svuid information for a particular set of packages or classes. I'm using it on my scripts but I'm mentioning it here because you might want to use it for the runs on Builder too. japize as xxx packages +whatever -whatever -javax.swing:serial That

Re: New japize option

2006-03-31 Thread Stuart Ballard
On 3/31/06, Andrew John Hughes [EMAIL PROTECTED] wrote: I believe it's on the individual Javadoc pages for each Swing class e.g. on JComponent: 'Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for

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

2006-03-31 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/03/31 09:45:48 Modified files: . : ChangeLog javax/swing: DefaultComboBoxModel.java Log message: 2006-03-31 David

[commit-cp] classpath javax/swing/DefaultListSelectionModel...

2006-03-31 Thread Audrius Meskauskas
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/31 10:13:16 Modified files: javax/swing: DefaultListSelectionModel.java JTable.java . : ChangeLog

[commit-cp] classpath java/util/jar/Attributes.java gnu/jav...

2006-03-31 Thread Raif S. Naffah
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Raif S. Naffah [EMAIL PROTECTED] 06/03/31 12:24:09 Modified files: java/util/jar : Attributes.java gnu/java/util/jar: JarUtils.java . : ChangeLog

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

2006-03-31 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/03/31 12:33:06 Modified files: javax/swing: JComponent.java . : ChangeLog Log message: 2006-03-31 Roman Kennke

[commit-cp] classpath ./ChangeLog tools/gnu/classpath/tools...

2006-03-31 Thread Raif S. Naffah
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Raif S. Naffah [EMAIL PROTECTED] 06/03/31 13:41:49 Modified files: . : ChangeLog tools/gnu/classpath/tools/jarsigner: Main.java Log message: 2006-04-01 Raif

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

2006-03-31 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/03/31 15:03:57 Modified files: . : ChangeLog javax/swing: JTextField.java Log message: 2006-03-31 Roman Kennke

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

2006-03-31 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Robert Schuster [EMAIL PROTECTED] 06/03/31 15:38:09 Modified files: . : ChangeLog javax/swing/text: GapContent.java javax/swing/plaf/basic: BasicTextAreaUI.java

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

2006-03-31 Thread Lillian Angel
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/03/31 18:57:07 Modified files: . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_GtkCanvasPeer.c include:

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

2006-03-31 Thread Audrius Meskauskas
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/31 21:10:09 Modified files: . : ChangeLog javax/swing: JTable.java Log message: 2006-03-31 Audrius Meskauskas

[commit-cp] classpath ./ChangeLog java/awt/Component.java

2006-03-31 Thread Lillian Angel
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/03/31 21:41:14 Modified files: . : ChangeLog java/awt : Component.java Log message: 2006-03-31 Lillian Angel

[commit-cp] classpath ./ChangeLog javax/imageio/plugins/jpe...

2006-03-31 Thread Thomas Fitzsimmons
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Thomas Fitzsimmons [EMAIL PROTECTED] 06/03/31 21:52:30 Modified files: . : ChangeLog javax/imageio/plugins/jpeg: JPEGHuffmanTable.java

[commit-cp] classpath javax/swing/DefaultListSelectionModel...

2006-03-31 Thread Audrius Meskauskas
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 06/03/31 22:03:45 Modified files: javax/swing: DefaultListSelectionModel.java JTable.java . : ChangeLog Log message:

[commit-cp] classpath ./ChangeLog lib/Makefile.am lib/gen-c...

2006-03-31 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/03/31 22:42:19 Modified files: . : ChangeLog lib: Makefile.am gen-classlist.sh.in split-for-gcj.sh