[cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Meskauskas Audrius
This should fix the resource leak, stopping the caret blinking timer when the caret looses the focus. 2005-11-22 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/text/DefaultCaret.java (focusGained): Update timer status. (focusLost): Stop the timer (unless the event is

Re: [cp-patches] FYI: Add some comment to java/io/StreamTokenizer.java

2005-11-22 Thread Mark Wielaard
Hi Ito, On Sun, 2005-11-20 at 10:23 +0900, Ito Kazumitsu wrote: 2005-11-20 Ito Kazumitsu [EMAIL PROTECTED] Fixes bug #22691 * java/io/StreamTokenizer.java(parseNumbers): Added some comment. Seems you forgot to actually commit this patch. As I said in the bug report I think

Re: [cp-patches] FYI: Getting the system clipboard in javax/swing/TransferHandler

2005-11-22 Thread Mark Wielaard
Hi Audrius, On Sat, 2005-11-19 at 23:40 +0100, Meskauskas Audrius wrote: The idea probably is that if we cannot get access to the system clipboard, we may still want to cut/copy/paste inside the same application (for instance, to move the text fragment in the text area being currently

Re: [cp-patches] RFC: some missing DeleteLocalRef patches

2005-11-22 Thread Christian Thalinger
This one i found with jaha (http://www.cs.helsinki.fi/u/abrax/HACK/JAVA/JAHA.html). TWISTI Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c === RCS file:

Re: [cp-patches] Comparable in java.util.Calendar

2005-11-22 Thread Mark Wielaard
Hi Kendall, On Mon, 2005-11-21 at 21:35 -0600, Kendall Bell wrote: 2005-11-21 Kendall Bell [EMAIL PROTECTED] * java/util/Calendar.java: Implemented Comparable. Seems you accidentally attached the original source file, not the diff -u patch. Please do include all method names you

Re: [cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Mark Wielaard
Hi Audrius, This should fix the resource leak, stopping the caret blinking timer when the caret looses the focus. 2005-11-22 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/text/DefaultCaret.java (focusGained): Update timer status. (focusLost): Stop the timer

Re: [cp-patches] RFC: some missing DeleteLocalRef patches

2005-11-22 Thread Mark Wielaard
Hi Christian, On Tue, 2005-11-22 at 11:14 +0100, Christian Thalinger wrote: This one i found with jaha (http://www.cs.helsinki.fi/u/abrax/HACK/JAVA/JAHA.html). --- native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c18 Aug 2005 01:22:00 - 1.19 +++

[cp-patches] FYI: BasicOptionPaneUI fix

2005-11-22 Thread Roman Kennke
Hi, I adjusted the BasicOptionPaneUI to work properly with Lillian's reworked Graphics.drawString. The problem here is that JLabel is not able to display multiline strings, so we have to split this over multiple JLabels. 2005-11-22 Roman Kennke [EMAIL PROTECTED] *

Re: [cp-patches] FYI: Stopping the DefaultCaret timer when the component looses the focus.

2005-11-22 Thread Meskauskas Audrius
Despite the current version always operates correctly, yes, the timer generally must be started regardless if the caret is now visible or not (it may get visible due blinking). I was also thinking about the version where the visible property is not involved into the blinking process, but in

Re: [cp-patches] FYI: Getting the system clipboard in javax/swing/TransferHandler

2005-11-22 Thread Meskauskas Audrius
Yes. But the problem was that 1) whenever there was any insecure access to the clipboard all successive calls would use this local clipboard. Yes, if the situation changes in the way that the access to the system clipboard is now permitted, the system clipboard must be returned. This patch

Re: [cp-patches] FYI: GdkGraphics fix

2005-11-22 Thread Lillian Angel
I added the code to filter out non-printing characters in native, like Mark suggested. It is a lot more efficient. 2005-11-22 Lillian Angel [EMAIL PROTECTED] PR 24937 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Removed pattern matching code. This is now

[cp-patches] Patch: MetalComboBoxUI

2005-11-22 Thread Lillian Angel
JAPI pointed out some missing methods in MetalComboBoxUI. I added/implemented them. 2005-11-22 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/metal/MetalComboBoxUI.java (configureEditor): Implemented. (unconfigureEditor): Implemented. (layoutComboBox):

Re: [cp-patches] FYI: New class MaskFormatter.java

2005-11-22 Thread Anthony Balkissoon
Checked in a small fix that the Mauve tests pointed out (I'll reply to this with the specific tests once I've checked those in). 2005-11-22 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/MaskFormatter.java: (convertValue): If character is a literal don't throw a

Re: [cp-patches] FYI: New class MaskFormatter.java

2005-11-22 Thread Anthony Balkissoon
On Tue, 2005-11-22 at 14:42 -0500, Anthony Balkissoon wrote: Checked in a small fix that the Mauve tests pointed out (I'll reply to this with the specific tests once I've checked those in). the tests are in gnu/testlet/javax/swing/text/MaskFormatter/MaskFormatterTest.java --Tony

Re: [cp-patches] FYI: New class MaskFormatter.java

2005-11-22 Thread Anthony Balkissoon
I updated the Mauve tests and had to check in this small change. 2005-11-22 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/MaskFormatter.java: (convertValue): Don't check the valid/invalid character sets if we're matching a literal. --Tony Index:

[cp-patches] Patch: MetalIconFactory and MetalTextFieldUI function implementations

2005-11-22 Thread Lillian Angel
Added implementations for missing functions in MetalIconFactory and MetalTextFieldUI. 2005-11-22 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/metal/MetalIconFactory.java (getMenuArrowIcon): Implemented. (getMenuItemArrowIcon): Implemented to call getMenuArrowIcon,

[cp-patches] Patch: MetalScrollPaneUI

2005-11-22 Thread Lillian Angel
Implemented missing functions in MetalScrollPaneUI. Nothing extra is done in any of these functions, so they all call super. 2005-11-22 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/metal/MetalScrollPaneUI.java (installUI): Implemented. (uninstallUI): Implemented.

Re: [cp-patches] RFC: some missing DeleteLocalRef patches

2005-11-22 Thread Christian Thalinger
Ok, next time i'll send immediately a changelog. These are commited. TWISTI 2005-11-22 Christian Thalinger [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c (nativeGetFontFamilies): Added missing DeleteLocalRef calls. *

[cp-patches] Patch: MetalTabbedPaneUI missing functions

2005-11-22 Thread Lillian Angel
Added missing functions in MetalTabbedPaneUI. Again, most just call super. 2005-11-22 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/metal/MetalTabbedPaneUI.java (getColorForGap): Implemented. Background color is always returned in this case.

[cp-patches] Patch: JEditorPane fix

2005-11-22 Thread Lillian Angel
Added missing constructor. 2005-11-12 Lillian Angel [EMAIL PROTECTED] * javax/swing/JEditorPane.java (JEditorPaneAccessibleHypertextSupport): Implemented. Index: javax/swing/JEditorPane.java === RCS file:

Re: [cp-patches] Patch: MetalTabbedPaneUI missing functions

2005-11-22 Thread Thomas Fitzsimmons
On Tue, 2005-11-22 at 16:10 -0500, Lillian Angel wrote: Added missing functions in MetalTabbedPaneUI. Again, most just call super. If these methods just call super then there's no reason to override them. I'm surprised that JAPI is marking these as missing since they are implemented in the

mauve comparison with tgolem

2005-11-22 Thread Christian Thalinger
Hi! One of our CACAO developers, edwin, is currently developing a test framework called tgolem. It was initially intended for testing CACAO against different stuff, like mauve or tomcat. It generates output for the different architectures we run the tests on and a comparison table for all

Re: [cp-patches] FYI: GdkGraphics fix

2005-11-22 Thread Robert Schuster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Lillian, this broke text drawing considerably. All the spaces in labels, textfields etc are missing now. Lillian Angel wrote: public class GdkGraphics extends Graphics { @@ -247,10 +247,13 @@ native void drawString (GdkFontPeer f, String str,

FreeSWTTestApps page added to wiki

2005-11-22 Thread Egon Willighagen
(Please cc me, as I am not yet subscribed) Hi all, I'm attempting to setup a live CD for chemoinformatics, which will include Java software too. I already tested Jmol and JChemPaint with jamvm and classpath 0.18 (see FreeSwingTestApps in wiki), which doesn't go that bad actually, though not

[Bug swing/24942] DefaultCaret is not always

2005-11-22 Thread cvs-commit at developer dot classpath dot org
--- Comment #2 from cvs-commit at developer dot classpath dot org 2005-11-22 12:35 --- Subject: Bug 24942 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 05/11/22 10:05:31 Modified files: .

[Fwd: Re: batik with GNU Classpath]

2005-11-22 Thread Anthony Green
Jeremias Maerki is taking on the Batik-on-Classpath challenge! But he will really need a working BasicStroke soon: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22938 IIRC, fitzsim said he was going to work on this relatively soon, is that right? AG ---BeginMessage--- This is just to let you

[Bug swing/24987] DIALOGS ARE BROKEN!

2005-11-22 Thread langel at redhat dot com
--- Comment #2 from langel at redhat dot com 2005-11-22 14:39 --- This is because drawString should not draw newlines. This was fixed yesterday. Roman needs to rework his layout patches to fix this. -- langel at redhat dot com changed: What|Removed

[Bug swing/24987] DIALOGS ARE BROKEN!

2005-11-22 Thread roman at kennke dot org
--- Comment #3 from roman at kennke dot org 2005-11-22 15:19 --- I fixed this in CVS head by splitting the String up at \n boundaries and creating multiple JLabels inside the JOptionPane. -- roman at kennke dot org changed: What|Removed |Added

Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Roman Kennke
Hi Egon, Am Dienstag, den 22.11.2005, 13:23 +0100 schrieb Egon Willighagen: (Please cc me, as I am not yet subscribed) Hi all, I'm attempting to setup a live CD for chemoinformatics, which will include Java software too. I already tested Jmol and JChemPaint with jamvm and classpath

[Bug classpath/22691] java.io.StreamTokenizer behaves differently from Sun's implementation

2005-11-22 Thread cvs-commit at developer dot classpath dot org
--- Comment #8 from cvs-commit at developer dot classpath dot org 2005-11-22 16:05 --- Subject: Bug 22691 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Ito Kazumitsu [EMAIL PROTECTED] 05/11/22 13:27:34 Modified files: .

Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Meskauskas Audrius
Egon Willighagen wrote: Not implemented [need JDK 1.5 or greater] (java.lang.ClassNotFoundException: sun/awt/X11/XEmbeddedFrame) The problem is, the application is using the proprietary Sun class from the protected sun.* namespace. The Sun's license does not permit to add classes from

Re: [Fwd: Re: batik with GNU Classpath]

2005-11-22 Thread Thomas Fitzsimmons
On Tue, 2005-11-22 at 06:26 -0800, Anthony Green wrote: Jeremias Maerki is taking on the Batik-on-Classpath challenge! But he will really need a working BasicStroke soon: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22938 IIRC, fitzsim said he was going to work on this relatively soon, is

Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Jeff Myers
The Eclipse code that uses the XEmbeddedFrame is most likely the SWT_AWT bridge. This class is a platform-dependent hack that's used to embed AWT/Swing within SWT apps, and vice versa. See:

RE: J2ME classes in GNU classpath

2005-11-22 Thread Rupert K.
Hi there My name is rupert. I am the one who will implement this j2me stuff as my master thesis. The goal of the project will be to implement the cldc 1.1/midp 2.0 specification and make it runnable under the CacaoVM. In the first step it will run under an pc-environment. Later on we will port

RE: J2ME classes in GNU classpath

2005-11-22 Thread Anthony Green
On Tue, 2005-11-22 at 21:01 +0100, Rupert K. wrote: Hi there My name is rupert. I am the one who will implement this j2me stuff as my master thesis. The goal of the project will be to implement the cldc 1.1/midp 2.0 specification and make it runnable under the CacaoVM. In the first step

RE: J2ME classes in GNU classpath

2005-11-22 Thread Andrew Haley
Anthony Green writes: On Tue, 2005-11-22 at 21:01 +0100, Rupert K. wrote: Hi there My name is rupert. I am the one who will implement this j2me stuff as my master thesis. The goal of the project will be to implement the cldc 1.1/midp 2.0 specification and make it runnable

Re: J2ME classes in GNU classpath

2005-11-22 Thread Alexandre Courbot
Hello everyone, My favorite idea for turning GNU Classpath into a J2ME-like library would be to maintain a set of patches for converting the existing sources into the J2ME-like variant. I think the core classes aren't changing much anymore, so this isn't likely to be a huge maintenance job.

Re: J2ME classes in GNU classpath

2005-11-22 Thread Christian Thalinger
On Tue, 2005-11-22 at 22:07 +0100, Alexandre Courbot wrote: Having a J2ME variant of classpath would probably be something very useful to a lot of people. I'd be very glad to see this work succeed. Rupert, are you doing this work with embeddability in mind, or are you just interested in

Re: FreeSWTTestApps page added to wiki

2005-11-22 Thread Egon Willighagen
On Tuesday 22 November 2005 16:29, Roman Kennke wrote: You probably should try latest CVS. There was a huge amount of progress in the Swing package in the meantime. Yes, will try that some time... Yesterday a bio-/chemoinformatics platform project was announced: Bioclipse[1]. It's eclipse

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

2005-11-22 Thread Audrius Meskauskas
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 05/11/22 10:05:31 Modified files: . : ChangeLog javax/swing/text: DefaultCaret.java Log message: 2005-11-22 Audrius

[commit-cp] classpath ./ChangeLog java/io/StreamTokenizer.java

2005-11-22 Thread Ito Kazumitsu
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Ito Kazumitsu [EMAIL PROTECTED] 05/11/22 13:27:34 Modified files: . : ChangeLog java/io: StreamTokenizer.java Log message: 2005-11-22 Ito Kazumitsu

[commit-cp] classpath/gnu/java/beans/encoder

2005-11-22 Thread Robert Schuster
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Robert Schuster [EMAIL PROTECTED] 05/11/22 14:15:03 classpath/gnu/java/beans/encoder Update of /cvsroot/classpath/classpath/gnu/java/beans/encoder In directory

[commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...

2005-11-22 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/22 15:16:44 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicOptionPaneUI.java Log message: 2005-11-22 Roman

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

2005-11-22 Thread Audrius Meskauskas
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 05/11/22 16:07:57 Modified files: . : ChangeLog javax/swing: TransferHandler.java Log message: 2005-11-22 Audrius

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

2005-11-22 Thread Audrius Meskauskas
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 05/11/22 16:10:28 Modified files: . : ChangeLog javax/swing/text: DefaultCaret.java Log message: 2005-11-22 Audrius

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

2005-11-22 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/22 19:08:44 Modified files: . : ChangeLog gnu/java/awt/peer/gtk: GdkGraphics.java native/jni/gtk-peer:

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

2005-11-22 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 05/11/22 19:11:51 Modified files: . : ChangeLog Added files: javax/swing/text: MaskFormatter.java Log message: 2005-11-22

[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-22 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/22 19:34:29 Modified files: . : ChangeLog javax/swing/plaf/metal: MetalComboBoxUI.java Log message: 2005-11-22 Lillian

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

2005-11-22 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 05/11/22 19:42:04 Modified files: . : ChangeLog javax/swing/text: MaskFormatter.java Log message: 2005-11-22 Anthony

[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-22 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/22 19:54:47 Modified files: . : ChangeLog javax/swing/plaf/metal: MetalScrollPaneUI.java Log message: 2005-11-22

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

2005-11-22 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 05/11/22 20:10:23 Modified files: . : ChangeLog javax/swing/text: MaskFormatter.java Log message: 2005-11-22 Anthony

[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-22 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/22 20:14:34 Modified files: . : ChangeLog javax/swing/plaf/metal: MetalIconFactory.java

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

2005-11-22 Thread Christian Thalinger
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Christian Thalinger [EMAIL PROTECTED] 05/11/22 20:41:06 Modified files: . : ChangeLog native/jni/gtk-peer:

[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-22 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/22 21:10:01 Modified files: . : ChangeLog javax/swing/plaf/metal: MetalTabbedPaneUI.java Log message: 2005-11-22

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

2005-11-22 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/22 21:58:15 Modified files: . : ChangeLog javax/swing: JEditorPane.java Log message: 2005-11-12 Lillian Angel