Re: [cp-patches] FYI: BasicLookAndFeel fix

2005-12-22 Thread Lillian Angel
There was a typo in the mauve test. This binding was not wrong to begin with. I have reverted my last patch. 2005-12-21 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicLookAndFeel.java (initComponentDefaults): Typo in mauve test. Reverted last patch.

[cp-patches] Re: Security manager problem

2005-12-22 Thread Mark Wielaard
Hi Gary (and moved to classpath-patches), On Thu, 2005-12-22 at 15:15 +, Gary Benson wrote: Aha! There is your clue. libgcj hasn't merged in the new nio charset provider setup. And indeed creating a new CharsetProvider requires a RuntimePermission(charsetProvider). Even for creating the

[cp-patches] Patch: BasicLookAndFeel more additions

2005-12-22 Thread Lillian Angel
All the focusInputMaps have been added/updated in BasicLookAndFeel. I fixed some defaults that were wrong. Also, I updated the mauve test to check all these new values. 2005-12-21 Lillian Angel [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicLookAndFeel.java

[cp-patches] Patch: FYI: add jar builder for eclipse

2005-12-22 Thread Tom Tromey
I'm checking this in. This adds a background jar builder to the eclipse build. This lets us make a 'fake jdk' more easily, so that we can tell Eclipse to use a VM in the workspace. This lets us have java launchers use the just-built VM, and lets us build projects against Classpath, without

[cp-patches] Patch: More fixes for DefaultStyledDocument

2005-12-22 Thread Anthony Balkissoon
Here come some more changes for DefaultStyledDocument. These fix an NPE and improve performance. 2005-12-22 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/DefaultStyledDocument.java: (ElementBuffer.insertContentTag): Get the attributes from the tag. Return

[cp-patches] Patch: JInternalFrame fix

2005-12-22 Thread Lillian Angel
Fixes bug 25124 2005-12-22 Lillian Angel [EMAIL PROTECTED] PR classpath/25124 * javax/swing/JInternalFrame.java (show): Removed call moveToFront. Listeners already call toFront, which calls moveToFront. * javax/swing/JLayeredPane.java

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Mark Wielaard
Hi, On Wed, 2005-12-21 at 19:21 -0700, Tom Tromey wrote: Note that this will work for running something, but not if you want to compile against that JRE. For the latter I think we need to come up with some kind of fake jdk project. I actually have the start of one here, but I haven't

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Stephan Michels
On 12/22/05, Mark Wielaard [EMAIL PROTECTED] wrote: Wouldn't it be enough if we could convince eclipse to accept a hand-made jre? I mean one where you can you explicitly set the individual binaries that make up the tools that eclipse expects? Plus convincing the built-in eclipse compiler to

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Thomas Fitzsimmons
On Wed, 2005-12-21 at 19:21 -0700, Tom Tromey wrote: 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 $

Re: Security manager problem

2005-12-22 Thread Gary Benson
Hi Mark, Thanks for your quick reply, and apologies for my egregiously slow one... Mark Wielaard wrote: On Mon, 2005-12-12 at 17:55 +, Gary Benson wrote: Gary Benson wrote: Robert Lougher wrote: Do you have a testcase? If you build and run the attached testcase you ought to

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Ideally Eclipse would offer the possibility of auto-exporting the build results as a .jar. That would solve this entirely. Mark Wouldn't it be enough if we could convince eclipse to accept a Mark hand-made jre? I mean one where you can you

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Tom Tromey
Tom This is an example of why it would be very useful to make Classpath Tom fully bootstrappable by merging e.g. cp-tools, gjdoc, gij and gcjx into Tom the Classpath repository/build system. Long term I guess this is where Tom we're headed but this is just another data point that we're going in

[Bug swing/25517] JFormattedTextField doesn't fire ActionEvent when VK_ENTER is hit

2005-12-22 Thread cvs-commit at developer dot classpath dot org
--- Comment #2 from cvs-commit at developer dot classpath dot org 2005-12-22 16:53 --- Subject: Bug 25517 CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 05/12/22 15:36:39 Modified files: .

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Thomas Fitzsimmons
On Thu, 2005-12-22 at 09:05 -0700, Tom Tromey wrote: Tom This is an example of why it would be very useful to make Classpath Tom fully bootstrappable by merging e.g. cp-tools, gjdoc, gij and gcjx into Tom the Classpath repository/build system. Long term I guess this is where Tom we're headed

java.swing.text.NumberFormatter

2005-12-22 Thread Chris Lansdown
Hi, NumberFormatter's stringToValue function currently checks to see if the valueClass is not null, and if so, converts its value to that. The problem is that valueClass gets set in java.swing.text.DefaultFormatter's constructor sets valueClass to be Object.class, so the lines: if

clarification: java.swing.text.NumberFormatter

2005-12-22 Thread Chris Lansdown
Hi, I should point out that java.swing.text.NumberFormatter's stringToValue function is actually its parent class's stringToValue function (java.swing.text.InternationalFormatter), and all of the comments about NumberFormatter's stringToValue function are actually about InternationalFormatter's

Re: Hacking Classpath in Eclipse

2005-12-22 Thread Tom Tromey
Tom == Tom Tromey [EMAIL PROTECTED] writes: Tom My current fake jdk here just makes a bunch of symlinks and then Tom builds a .jar. But I'm considering moving the jar-making step into Tom Classpath and having it run in the background... I'll try to play with Tom this soon. I tried this out and

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Mark Wielaard
Hi Tom, On Thu, 2005-12-22 at 12:34 -0700, Tom Tromey wrote: Once that is done, check out the fakejdk project from :pserver:[EMAIL PROTECTED]:/cvs/rhug, module 'fakejdk'. (This ought to auto-build, but if not, apply the usual Clean hack.) This just makes a little project consisting of

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Tom Tromey
Mark One of the symlinks didn't work for me. Attached is a patch for the Mark tools.jar to try and find it in some other location. Generated by Mark eclipse of course :) Yeah, that one is super bogus. And, I think, not actually needed. Anyway, commit that if you like. You have rhug access,

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Mark Wielaard
Hi Tom, On Thu, 2005-12-22 at 15:53 -0700, Tom Tromey wrote: Yeah, that one is super bogus. And, I think, not actually needed. Anyway, commit that if you like. You have rhug access, right? No I don't think I have rhug access. Mark Strangely the attach source step didn't work. I always

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Tom Tromey
Anyway, commit that if you like. You have rhug access, right? Mark No I don't think I have rhug access. You do now :-) Mark It looks like the native side gets rebuild a lot though. I guess there Mark are some dependencies wrong since I seem to trigger a full rebuild of Mark cacao a lot when

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Robert Lougher
Hi, On 22 Dec 2005 12:34:42 -0700, Tom Tromey [EMAIL PROTECTED] wrote: To do this, follow the wiki instructions to check out and build Classpath and Cacao (as always, this VM is chosen because all the needed build bits are in its cvs repository... hint to the other VM developers). Hint

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

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

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

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

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

2005-12-22 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 05/12/22 19:23:19 Modified files: . : ChangeLog .project Added files: .externalToolBuilders: ClasspathJar.launch Log message: *

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

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

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

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