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
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
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 ==
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
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.
*
2006-03-31 Audrius Meskauskas [EMAIL PROTECTED]
* javax/swing/JTable.java (columnSelectionChanged):
Treat second repaint parameter as width.
Index: JTable.java
===
RCS file:
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
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
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):
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
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
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
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
/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
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
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 -
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
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:
/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
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
^-^
*** 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
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:
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
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
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
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
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
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
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
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
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
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
--- 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
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
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
--- 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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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:
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
52 matches
Mail list logo