Re: [cp-patches] Patch: Text components home and end actions

2005-12-21 Thread Roman Kennke
Hi Lillian, I would prefer the more efficient (and more correct?) solution and fix the viewToModel() methods. I don't really care if it doesn't work yet because of the viewToModel() methods not working properly, this way we have some more reasons to fix those. Also, in JTextComponent you

Re: [cp-patches] Patch: Text components home and end actions

2005-12-21 Thread Lillian Angel
Hi Roman, I would prefer the more efficient (and more correct?) solution and fix the viewToModel() methods. I don't really care if it doesn't work yet because of the viewToModel() methods not working properly, this way we have some more reasons to fix those. Its not necessarily *more*

Re: [cp-patches] Patch: Text components home and end actions

2005-12-21 Thread Roman Kennke
In my last email I said I would attach my UIDefaultsInspector tool, but didn't. Here it is. Call it like this: java UIDefaultsInspector MyBasicLookAndFeel |grep TextField If you want to see the MetalLF defaults, then leave the MyBasicLookAndFeel parameter away. Cheers, Roman import

Re: [cp-patches] FYI: Text components home and end actions

2005-12-21 Thread Lillian Angel
Hi Roman, I have some comments on your patch that you might want to have a look at. TextPaneUI, javax.swing.plaf.basic.BasicTextPaneUI, TextAreaUI, javax.swing.plaf.basic.BasicTextAreaUI, TextFieldUI, javax.swing.plaf.basic.BasicTextFieldUI, - TextPaneUI,

Re: [cp-patches] FYI: PasswordField focusInputMap

2005-12-21 Thread Lillian Angel
Added all the key bindings that were missing. 2005-12-20 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Added all key bindings for PasswordField focusInputMap. On Wed, 2005-12-21 at 12:05 -0500, Lillian Angel

Re: [cp-patches] FYI: Text components home and end actions

2005-12-21 Thread Roman Kennke
+ TextArea.focusInputMap, new UIDefaults.LazyInputMap(new Object[] { + UP, caret-up, + DOWN, caret-down, + PAGE_UP, page-up, + PAGE_DOWN, page-down, + ENTER, insert-break, + TAB, insert-tab, + LEFT, caret-backward, +

[cp-patches] Patch: StyleContext.SmallAttributeSet fix and remove hack from DefaultStyledDocument

2005-12-21 Thread Anthony Balkissoon
I sent a message to the list yesterday (message is attached) detailing a hack that I put into DefaultStyledDocument. Roman helped me track down the real problem and this patch fixes the problem as well as removes the hack from DefaultStyledDocument. This is accompanied by

Re: [cp-patches] FYI: Text components home and end actions

2005-12-21 Thread Lillian Angel
All is fixed. 2005-12-21 Lillian Angel [EMAIL PROTECTED] * javax/swing/UIDefaults.java (createValue): Added check in. Bind might be an instance of KeyStroke. * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Changed key bindings

[cp-patches] Patch: DefaultEditorKit.read

2005-12-21 Thread Anthony Balkissoon
2005-12-21 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/DefaultEditorKit.java: (read): Changed the call to insertString to leave out the trailing new line. Index: javax/swing/text/DefaultEditorKit.java

[cp-patches] Re: Patch: DefaultEditorKit.read

2005-12-21 Thread Anthony Balkissoon
Sorry, I meant to hit enter, but I hit CTRL-enter and sent that last patch without any text description. I'll include the patch and ChangeLog entry here, so at least one of the emails is complete. This patch accompanies changes to

[cp-patches] Patch: BasicLookAndFeel fix

2005-12-21 Thread Lillian Angel
After committing a mauve test for all the focusInputMaps I committed today, I noticed one field was wrong. this is now fixed. 2005-12-21 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Fixed key binding for

[cp-patches] Patch: FYI: Eclipse builder fixes

2005-12-21 Thread Thomas Fitzsimmons
Hi, I committed this patch. It specifies which resources various builders should track and sets the builders to automatically rebuild upon resource modification. The patch also introduces the ClasspathHeaders.launch builder for rebuilding JNI headers automatically with a corresponding patch to

Re: javax.swing.JTextField

2005-12-21 Thread Roman Kennke
Hi Christopher, I tested with current CVS HEAD and there it seems to work. And I believe, nobody worked on that in the last weeks, so it should at least be in 0.19 too. You can find the associated sourcecode in javax/swing/JTextField.java starting at line 95 (the notifyAction stuff). I

Re: javax.swing.JTextField

2005-12-21 Thread Roman Kennke
Hi again, What's strange is that JFormattedTextField, which inherits from JTextField, doesn't fire the action event... Oh, I see, it specifically overrides the action map. Is it correct that JFormattedTextField's getActions() just returns null, rather than invoking its super-class, or at

Swing-based AWT peers

2005-12-21 Thread Roman Kennke
Hi there, I have been asked on IRC about the possibility of Swing-based AWT peers. I have started something like this some weeks ago and hope to continue this soon. I want to outline how I think this would work and provide some code snippets. The idea is that we only need two native 'interfaces'

Re: Hacking Classpath in Eclipse

2005-12-21 Thread Mark Wielaard
Hi, On Tue, 2005-12-20 at 17:53 -0700, Tom Tromey wrote: We think it is now ready for a wider audience. You can read it here: http://developer.classpath.org/mediation/ClasspathHackingWithEclipse This document will walk you through setting up Eclipse, checking out Classpath, Cacao, and

Re: [Devjam] Re: DevJam thanks, devjam mailinglist and DevJam++

2005-12-21 Thread Mark Wielaard
Hi, On Wed, 2005-12-21 at 14:34 +0100, Petter Reinholdtsen wrote: [Mark Wielaard] And if you are interested in participating or helping out with a followup meeting please see the wiki about DevJam++: http://java.debian.net/index.php/DevJam++ Is it about time to start planning a new

Re: Hacking Classpath in Eclipse

2005-12-21 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark I found a cute hack to actually run a single mauve Testlet from within Mark eclipse using the just compiled classpath: Mark $ mkdir -p ~/workspace/classpath/install/jre/lib Mark $ touch ~/workspace/classpath/install/jre/lib/rt.jar Mark Now

Re: Swing-based AWT peers

2005-12-21 Thread lsantha
Hi Roman, You might want to know that I and Ewout Prangsma have implemented a Swing based AWT peerset for the JNode project. I know it still needs lots of improvements, refinements and bugfixes but many things work in it already. For instance the majority of feautures in the AWTDemo from

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

2005-12-21 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/12/21 16:52:39 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicLookAndFeel.java BasicTextUI.java

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

2005-12-21 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/12/21 19:58:14 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicLookAndFeel.java BasicTextUI.java Log message:

[commit-cp] classpath/javax/swing UIDefaults.java

2005-12-21 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/12/21 19:58:32 Modified files: javax/swing: UIDefaults.java Log message: 2005-12-20 Lillian Angel [EMAIL PROTECTED] *

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

2005-12-21 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/12/21 20:05:48 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicLookAndFeel.java Log message: 2005-12-20

[commit-cp] classpath ./ChangeLog ./.project .externalToolB...

2005-12-21 Thread Thomas Fitzsimmons
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Thomas Fitzsimmons [EMAIL PROTECTED] 05/12/22 00:35:26 Modified files: . : ChangeLog .project .externalToolBuilders: Autogen.launch CompileNative.launch

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

2005-12-21 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 05/12/21 21:59:30 Modified files: . : ChangeLog javax/swing/text: DefaultEditorKit.java Log message: 2005-12-21 Anthony

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

2005-12-21 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/12/21 22:18:02 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicLookAndFeel.java Log message: 2005-12-21