[cp-patches] FYI: Caret fixes

2005-11-03 Thread Roman Kennke
Hi, this fixes the blinking stuff in the DefaultCaret implementation as well as some minor issues. Most importantly, this sets up the blink timer when first needed, not earlier. Should save some threading/eventqueue load when setting up a GUI with many text components. Also, this fixes the

[cp-patches] FYI: Some Swing text additions

2005-11-03 Thread Roman Kennke
Hi, I implemented the last missing methods in javax.swing.text.Utilities. These should then be used by the text components to place the caret when moving up or down using the arrow keys. I had to add an abstract method to View, and an implementation of this to all existing View implementations.

[cp-patches] FYI: DefaultTextUI added

2005-11-03 Thread Roman Kennke
Hi, I added the deprecated DefaultTextUI class. 2005-11-02 Roman Kennke [EMAIL PROTECTED] * javax/swing/text/DefaultTextUI.java: New file. /Roman Index: javax/swing/text/DefaultTextUI.java === RCS file:

[cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Meskauskas Audrius
Our JTextField contains an imaginary end of line character (0xA), but the new text must be always inserted before it, not after. When clicking right from the last character in the field, the PlainTextView.viewToModel should return the position before the end of line character and not after the

[cp-patches] FYI: BasicTextUI fix

2005-11-03 Thread Roman Kennke
Obviously my previous addition of an abstract method broke the build because I forgot the RootView in BasicTextUI. I fixed this. 2005-11-02 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicTextUI.java (RootView.getNextVisualPositionFrom): New method. /Roman Index:

[cp-patches] Patch: MenuItem fix

2005-11-03 Thread Lillian Angel
Fixes Bug #24651 2005-11-03 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicMenuItemUI.java: Changed field to be the gap between the different menu's instead. defaultTextArrowGap is not needed. (getPreferredMenuItemSize): Adjusted preferred size of

[cp-patches] FYI: updates to WrappedPlainView and JTextComponent

2005-11-03 Thread Anthony Balkissoon
This patch fixes a bug in JTextComponent.select, the end of the selection is constrained to be = the start of the selection, not 0. This is fixed. I implemented WrappedPlainView.drawLine to properly call drawUnselectedText and drawSelectedText rather than just drawing the whole line using

Re: [cp-patches] Patch: DefaultTableCellRenderer fix

2005-11-03 Thread Lillian Angel
Further testing some apps, I overlooked something really trivial. I have changed this patch completely. The problem was not the border, but the background color of the actual cell renderer (label) maybe set differently than that of the table. I fixed this. 2005-11-03 Lillian Angel [EMAIL

[cp-patches] FYI: more WrappedPlainView improvements

2005-11-03 Thread Anthony Balkissoon
This patch implements insertUpdate and removeUpdate for WrappedPlainView.WrappedLine and also fixes some small issues in WrappedPlainView. ChangeLog entry explains them. 2005-11-03 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/WrappedPlainView.java: Fixed some 80 chars

Re: [cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Roman Kennke
Hi Audrius, Am Donnerstag, den 03.11.2005, 15:50 +0100 schrieb Meskauskas Audrius: Our JTextField contains an imaginary end of line character (0xA), but the new text must be always inserted before it, not after. When clicking right from the last character in the field, the

[cp-patches] Patch: BasicTreeUI and DefaultTableCellRenderer fix

2005-11-03 Thread Lillian Angel
The ChangeLog fully explains all changes to BasicTreeUI. For DefaultTableCellRenderer, Roman suggested I fix it this way. Both ways work, but this looks a bit more intuitive. 2005-11-03 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicTreeUI.java (mousePressed): If

Re: [cp-patches] Patch: BasicTreeUI and DefaultTableCellRenderer fix

2005-11-03 Thread Roman Kennke
Hi there, Am 3.11.2005 schrieb Lillian Angel [EMAIL PROTECTED]: For DefaultTableCellRenderer, Roman suggested I fix it this way. Both ways work, but this looks a bit more intuitive. 2005-11-03 Lillian Angel [EMAIL PROTECTED] [..] * javax/swing/table/DefaultTableCellRenderer.java

[cp-patches] FYI: Add 0.19 to the homepage

2005-11-03 Thread Mark Wielaard
Hi, This adds the announcement to our home, news and download pages. 2005-11-03 Mark Wielaard [EMAIL PROTECTED] * doc/www.gnu.org/announce/20051102.wml: New file. * doc/www.gnu.org/newsitems.txt: Add 0.19 release announcement. * doc/www.gnu.org/downloads/downloads.wml:

Re: [cp-patches] RFC: Suggested change in PlainView.

2005-11-03 Thread Roman Kennke
Hi there, Am 3.11.2005 schrieb Roman Kennke [EMAIL PROTECTED]: Hi Audrius, Am Donnerstag, den 03.11.2005, 15:50 +0100 schrieb Meskauskas Audrius: Our JTextField contains an imaginary end of line character (0xA), but the new text must be always inserted before it, not after. When clicking

Re: Mauve results

2005-11-03 Thread Mark Wielaard
On Wed, 2005-11-02 at 21:26 +, David Gilbert wrote: Roman Kennke wrote: I also fixed a painting issue that kept the JUnit testrunner from beeing usable. I think Swing is in a releasable state, so lets go! Agreed. Also all other things seem to be in a very good shape now. Andrew synced

Re: Mauve results

2005-11-03 Thread Robert Schuster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Done. Is there a way to get to the FreeSwingTestApps page from the front page of the wiki? I couldn't find a path, but maybe I just wasn't looking in the right place... Done. It is still part of the current topics[0] page but since it seems

Re: Asking our experts on Swing.

2005-11-03 Thread Roman Kennke
Hi Audrius, Can you create a small testprog that demonstrates the problem? Otherwise it is a bit hard to debug. /Roman Am Donnerstag, den 03.11.2005, 01:03 +0100 schrieb Meskauskas Audrius: This evening I first tried my two player CORBA game. The CORBA works, the socket works, the layout and

Re: Asking our experts on Swing.

2005-11-03 Thread Robert Schuster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Audrius, I am not a swing expert but I suggest you to add a beanshell console to your game. That way you can inspect the variables (even private stuff) at runtime. That could help to describe an erroneous state more easily. Btw: One can live debug

ANN: GNU Classpath 95% and counting 0.19 released

2005-11-03 Thread Mark Wielaard
GNU Classpath 95% and counting 0.19 released GNU Classpath, essential libraries for java, is a project to create free core class libraries for use with runtimes, compilers and tools for the java programming language. The GNU Classpath developer snapshot releases are not directly aimed at the end

[Bug swing/24651] JMenu layout problem with nested menus

2005-11-03 Thread roman at kennke dot org
--- Comment #3 from roman at kennke dot org 2005-11-03 14:48 --- Could you put together a small testprogram? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651 ___ Bug-classpath mailing list Bug-classpath@gnu.org

configure failure

2005-11-03 Thread Archie Cobbs
Hi all, I'm trying to ./configure classpath-0.19 on Redhat9 and getting this: checking for freetype2... Package freetype2 was not found in the pkg-config search path. Perhaps you should add the directory containing `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package

[Bug swing/24650] JTextField refuses to accept any input if initially set to the empty string.

2005-11-03 Thread audriusa at bluewin dot ch
--- Comment #4 from audriusa at bluewin dot ch 2005-11-03 14:51 --- Created an attachment (id=10124) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10124action=view) Proposed patch to fix this bug (under discussion). Our JTextField contains an imaginary end of line character (0xA),

Re: configure failure

2005-11-03 Thread Christian Thalinger
On Thu, Nov 03, 2005 at 08:50:40AM -0600, Archie Cobbs wrote: $ rpm -qa | grep freetype freetype-2.1.3-6 freetype-devel-2.1.3-6 $ rpm -ql freetype | grep '\.pc' $ I'm not educated on the wonders of pkg-config. Where do I find freetype2.pc and why isn't it on this system? Hmm, it seems

[Bug swing/24651] JMenu layout problem with nested menus

2005-11-03 Thread langel at redhat dot com
--- Comment #4 from langel at redhat dot com 2005-11-03 15:22 --- Created an attachment (id=10125) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10125action=view) Testcase thats describes this bug This only seems to happen when the other menu items in the menu have a label longer

[Bug swing/24651] JMenu layout problem with nested menus

2005-11-03 Thread hendrich at informatik dot uni-hamburg dot de
--- Comment #5 from hendrich at informatik dot uni-hamburg dot de 2005-11-03 15:32 --- Created an attachment (id=10126) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10126action=view) testcase to demonstrate the issue -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24651

Re: Asking our experts on Swing.

2005-11-03 Thread Thomas Zander
On Thursday 03 November 2005 01:03, Meskauskas Audrius wrote: The JTextArea is cleared after sending the message by JTextField.setText(''). After I call this method in our Classpath, it refuses to accept any keyboard input, despite I see the cursor. Experimenting, I tried to call

[Bug swing/24651] JMenu layout problem with nested menus

2005-11-03 Thread langel at redhat dot com
--- Comment #7 from langel at redhat dot com 2005-11-03 16:16 --- This should be fixed now. -- langel at redhat dot com changed: What|Removed |Added

Re: ANN: GNU Classpath 95% and counting 0.19 released

2005-11-03 Thread Thomas Zander
Thanks, good progress! One thing caught my eye; On Thursday 03 November 2005 15:36, Mark Wielaard wrote: GNU Classpath 95% and counting 0.19 released ... Some highlights of changes in this release (more extensive list below):   [..]   Now has 96% coverage of 1.4 API. So, which is it? 95

Re: ANN: GNU Classpath 95% and counting 0.19 released

2005-11-03 Thread Stuart Ballard
I read it as = 95% of several interesting things. 96% of the 1.4 API (http://www.kaffe.org/~stuart/japi/htmlout/cvs/h-jdk14-classpath.html), and 95% of the Jonas testsuite... I don't know if that's what Mark intended but it made sense to me. Incidentally the generics branch appears to be at

Re: configure failure

2005-11-03 Thread Archie Cobbs
Christian Thalinger wrote: On Thu, Nov 03, 2005 at 08:50:40AM -0600, Archie Cobbs wrote: $ rpm -qa | grep freetype freetype-2.1.3-6 freetype-devel-2.1.3-6 $ rpm -ql freetype | grep '\.pc' $ I'm not educated on the wonders of pkg-config. Where do I find freetype2.pc and why isn't it on this

Re: ANN: GNU Classpath 95% and counting 0.19 released

2005-11-03 Thread Stefano Mazzocchi
Mark Wielaard wrote: GNU Classpath 95% and counting 0.19 released Congrats! You guys rock! -- Stefano. ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath

Re: ANN: GNU Classpath 95% and counting 0.19 released

2005-11-03 Thread Mark Wielaard
Hi, On Thu, 2005-11-03 at 12:33 -0500, Stuart Ballard wrote: I read it as = 95% of several interesting things. I don't know if that's what Mark intended but it made sense to me. Yes, it was a little joke. I just needed a funny release name and we are hitting all these 95%+ milestones. Also

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

2005-11-03 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/03 11:19:29 Modified files: . : ChangeLog javax/swing/text: DefaultCaret.java JTextComponent.java

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

2005-11-03 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/03 14:09:22 Modified files: . : ChangeLog javax/swing/text: ComponentView.java CompositeView.java

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

2005-11-03 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/03 14:39:37 Modified files: . : ChangeLog javax/swing/text: DefaultCaret.java Log message: 2005-11-02 Roman Kennke

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

2005-11-03 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/03 15:40:32 Modified files: . : ChangeLog javax/swing/text: DefaultStyledDocument.java Log message: 2005-11-02 Roman

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

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

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

2005-11-03 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/03 16:15:38 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicMenuItemUI.java javax/swing/plaf/metal:

[commit-cp] classpath ./ChangeLog javax/swing/table/Default...

2005-11-03 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/03 19:39:05 Modified files: . : ChangeLog javax/swing/table: DefaultTableCellRenderer.java Log message: 2005-11-03

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

2005-11-03 Thread Anthony Balkissoon
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Anthony Balkissoon [EMAIL PROTECTED] 05/11/03 19:40:37 Modified files: . : ChangeLog javax/swing/text: JTextComponent.java WrappedPlainView.java Log message:

[commit-cp] classpath ./ChangeLog javax/swing/table/Default...

2005-11-03 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/03 20:27:47 Modified files: . : ChangeLog javax/swing/table: DefaultTableCellRenderer.java Log message: 2005-11-03

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

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

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

2005-11-03 Thread Lillian Angel
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/11/03 22:06:11 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicTreeUI.java javax/swing/table:

[commit-cp] classpath ./ChangeLog javax/swing/table/Default...

2005-11-03 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/03 22:26:10 Modified files: . : ChangeLog javax/swing/table: DefaultTableCellRenderer.java Log message: 2005-11-03

[commit-cp] classpath ./ChangeLog doc/www.gnu.org/newsitems...

2005-11-03 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 05/11/03 23:04:31 Modified files: . : ChangeLog doc/www.gnu.org: newsitems.txt doc/www.gnu.org/downloads: downloads.wml Added