[cp-patches] FYI: Added not to CORBA examples readme.

2005-11-17 Thread Meskauskas Audrius
The note explains that there is no need to build the whole Classpath system just to build the examples. 2005-11-17 Audrius Meskauskas [EMAIL PROTECTED] * examples/gnu/classpath/examples/CORBA/swing/README.html: Added note about the build. Index:

[cp-patches] FYI: URL unquoting patch from libgcj

2005-11-17 Thread Mark Wielaard
Hi, To make opening files and jars from URLs with funny characters possible Andrew wrote the following for libgcj. This was needed to load some files from jonas. 2005-11-17 Andrew Haley [EMAIL PROTECTED] * gnu/java/net/protocol/file/Connection.java (unquote): New method. (connect):

Re: [cp-patches] Patch: java.io.FilePermission.implies checks reversed

2005-11-17 Thread Gary Benson
Mark Wielaard wrote: On Wed, 2005-11-16 at 15:10 +, Gary Benson wrote: 2005-11-16 Gary Benson [EMAIL PROTECTED] * java/io/FilePermission.java (implies): Correct the sense in which action checks are applied. And you created mauve tests for this. Very nice! Patch

[cp-patches] RFC:Modifying example build system.

2005-11-17 Thread Meskauskas Audrius
This patch makes the system to compile, zip and install the CORBA examples as well. The CORBA examples were not installed because they were placed in the more nested folders that expected by the build script. The patch should fix the PR 24911. The patch fixes problem in a primitive way, by

[cp-patches] FYI: javax.swing.tree cleanup

2005-11-17 Thread Roman Kennke
Hi, I found some more occurances of this UIManager.getLookAndFeelDefaults().getXXX() bug in javax.swing.tree and replaced it with UIManager.getXXX(). 2005-11-17 Roman Kennke [EMAIL PROTECTED] * javax/swing/tree/DefaultTreeCellEditor.java (DefaultTreeCellEditor): Replaced

[cp-patches] FYI: JList API comment

2005-11-17 Thread Roman Kennke
I clarified a comment in JList. 2005-11-17 Roman Kennke [EMAIL PROTECTED] * javax/swing/JList.java (locationToIndex): Clarified API comment. /Roman Index: javax/swing/JList.java === RCS file:

[cp-patches] FYI: BasicButtonUI fixlet

2005-11-17 Thread Roman Kennke
I removed some code from the BasicButtonUI that I added to MetalButtonUI yesterday. 2005-11-17 Roman Kennke [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicButtonUI.java (installDefaults): Don't handle the Button.rollover property here, this is Metal specific and is

Re: [cp-patches] RFC: GdkGraphics2D Assertion error fix

2005-11-17 Thread Lillian Angel
Norman (the person who filed these bugs), is not sure my patch is 100% correct. Can someone please look it over and let me know? Thanks! Lillian On Wed, 2005-11-16 at 15:58 -0500, Lillian Angel wrote: Fixes Bugs PR23557 and PR24099 Just added a check to avoid the assertion error.

[cp-patches] FYI: gnu.java.net.protocol.jar Connection patch from libgcj

2005-11-17 Thread Mark Wielaard
Hi, This imports a small change from libgcj. It brings us a little closer to merging these classes. But not that much because we actually need a slightly different implementation that initializes the DateFormat lazily because of bootstrap concerns (DateFormat uses regex, regex uses

[cp-patches] FYI: fixlet for BasicEditorPaneUI

2005-11-17 Thread Anthony Balkissoon
This accompanies the Mauve test gnu.testlet.javax.swing.JEditorPane.ViewType. JEditorPane uses a WrappedPlainView, not a PlainView. 2005-11-17 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicEditorPaneUI.java: (create): Create new WrappedPlainView instance

Re: [cp-patches] FYI: fixlet for BasicEditorPaneUI

2005-11-17 Thread Roman Kennke
Hi Tony, Am Donnerstag, den 17.11.2005, 14:07 -0500 schrieb Anthony Balkissoon: This accompanies the Mauve test gnu.testlet.javax.swing.JEditorPane.ViewType. JEditorPane uses a WrappedPlainView, not a PlainView. I disagree a bit. The changed method should simply not be there. Instead, the

[cp-patches] FYI: javax.swing.text stuff

2005-11-17 Thread Roman Kennke
I hacked a little in javax.swing.text and filled in some missing stuff. I implemented the previously stubbed classes IconView and ComponentView (so it should now be theoretically possible to embed icons and Components into text views). Also I fixed some minor bugs and added most of the missing

[cp-patches] FYI: Component fixes

2005-11-17 Thread Roman Kennke
Here comes some fixes for java.awt.Component. This removes the forwarding-to-parent in the repaint calls in the case the component is not showing. This is not needed and actually causes a bug in an application we have here, that overrides repaint() in an unusual way. The reasoning behind the old

[cp-patches] Patch: Text fix

2005-11-17 Thread Lillian Angel
This fixes several assertion error and NPES found. Lots of functions were not implemented according to the API. This is now fixed to work like the JDK. 2005-11-17 Lillian Angel [EMAIL PROTECTED] Fixes PR classpath/PR24721 * javax/swing/text/BoxView.java

Re: [cp-patches] Patch: Text fix

2005-11-17 Thread Lillian Angel
Patch attached. On Thu, 2005-11-17 at 15:43 -0500, Lillian Angel wrote: This fixes several assertion error and NPES found. Lots of functions were not implemented according to the API. This is now fixed to work like the JDK. 2005-11-17 Lillian Angel [EMAIL PROTECTED] Fixes PR

[cp-patches] XMLJ_64BIT_POINTER now unused?

2005-11-17 Thread Paul Jenner
Hi list. Minor one but it looks like the XMLJ_64BIT_POINTER define in xmlj has been unused since the RawData patch went in [1]. Attached patch removes it for cleanliness. Tested on 32-bit but not 64-bit (although a quick grep shows this unused elsewhere in the source tree). 2005-11-17 Paul

[cp-patches] FYI: fixlet for BoxView

2005-11-17 Thread Anthony Balkissoon
BoxView was using CompositeView's modelToView method, but it really should override it and make sure the children are allocated first, otherwise you'll get BadLocationError. This matches what the docs say to do and it eliminates a bunch of AssertionErrors. 2005-11-17 Anthony Balkissoon [EMAIL

[cp-patches] FYI: text fixlets

2005-11-17 Thread Roman Kennke
I removed unneeded methods from 2 text UI classes: 2005-11-17 Roman Kennke [EMAIL PROTECTED] * javax/swing/BasicEditorPaneUI.java (create): Removed unneeded method. * javax/swing/BasicTextPaneUI.java (create): Removed unneeded method. /Roman Index:

[cp-patches] FYI: more text fixes

2005-11-17 Thread Roman Kennke
This adds a default editor kit for JEditorPane and implements 2 previously stubbed methods. So now you can add icons and Components to JTextPanes. If you are lucky, they are even rendered using the freshly implemented ComponentView and IconView. Unfortunately, rendering styled text components is

[cp-patches] FYI: JComponent.setMaximumSize()

2005-11-17 Thread David Gilbert
This patch fixes a bug that is showing up when I try to launch FindBugs (I've also added Mauve tests to back up the change): 2005-11-17 David Gilbert [EMAIL PROTECTED] * javax/swing/JComponent.java (setMaximumSize): Check for null argument before making a copy. Regards,

[cp-patches] FYI: JComponent.setMinimumSize()

2005-11-17 Thread David Gilbert
As for my recent patch for setMaximumSize(), this patch fixes a bug that is showing up when I try to launch FindBugs (I've also added Mauve tests to back up the change): 2005-11-17 David Gilbert [EMAIL PROTECTED] * javax/swing/JComponent.java (setMinimumSize): Check for null argument

Re: [cp-patches] Patch: SecurityManager.checkAccess broken

2005-11-17 Thread Mark Wielaard
Hi Gary, On Thu, 2005-11-17 at 16:24 +, Gary Benson wrote: The two SecurityManager.checkAccess functions are supposed to check permissions when called on system threads and thread groups, but neither function identifies them correctly so the checks never occur. The attached patch fixes.

Re: [cp-patches] RFC:Modifying example build system.

2005-11-17 Thread Mark Wielaard
Hi Audrius, On Thu, 2005-11-17 at 12:30 +0100, Meskauskas Audrius wrote: This is the first time I need to modify the build system. Surely I tested what I did, but somebody with good experience in Classpath building could briefly look at the patch. 2005-11-17 Audrius Meskauskas [EMAIL

Re: [cp-patches] FYI: Metal button fixes

2005-11-17 Thread Mark Wielaard
On Wed, 2005-11-16 at 20:37 +, Roman Kennke wrote: This also introduces a missing method in MetalLookAndFeel. Strange that nobody noticed that before ;-) [...] * javax/swing/plaf/metal/MetalButtonUI.java (getCurrentTheme): New method. To celebrate I corrected the

[cp-patches] FYI: JComponent.setPreferredSize()

2005-11-17 Thread David Gilbert
This patch fixes a null pointer exception when I try to launch Findbugs. I've also backed this change up with some new Mauve tests: 2005-11-17 David Gilbert [EMAIL PROTECTED] * javax/swing/JComponent.java (setPreferredSize): Check for null argument before making a copy.

Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Gary Benson
Michael Koch wrote: On Wed, Nov 16, 2005 at 11:56:37AM +, Gary Benson wrote: If your security policy denies read access to that system property The solution is to use gnu.classpath.SystemProperties.getProperty(...). This does no security check. It is exactly for such issues. Out of

Re: Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Andrew Haley
Gary Benson writes: Michael Koch wrote: On Wed, Nov 16, 2005 at 11:56:37AM +, Gary Benson wrote: If your security policy denies read access to that system property The solution is to use gnu.classpath.SystemProperties.getProperty(...). This does no security check. It is

RE: Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Jeroen Frijters
Andrew Haley wrote: Gary Benson writes: Michael Koch wrote: On Wed, Nov 16, 2005 at 11:56:37AM +, Gary Benson wrote: If your security policy denies read access to that system property The solution is to use gnu.classpath.SystemProperties.getProperty(...). This

Re: Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Gary Benson
Jeroen Frijters wrote: Andrew Haley wrote: Gary Benson writes: Michael Koch wrote: The solution is to use gnu.classpath.SystemProperties.getProperty(...). This does no security check. It is exactly for such issues. Out of interest, what stops user code from calling such

RE: Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Jeroen Frijters
Gary Benson wrote: That's not exactly true. The system class loader does enforce that user code cannot access classes in protected packages. It's just that we don't have the proper security configuration files in place to define the protected packages yet. You make it sound like an easy

Re: Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Mark Wielaard
On Thu, 2005-11-17 at 13:42 +, Gary Benson wrote: You make it sound like an easy fix: is it? What needs to be done, and where? Besides what Jeroen already said you also have to merge ClassLoader. libgcj has a different version at the moment. In particular you want the logic that

Re: Bypassing security manager checks (was: Re: Infinite loop)

2005-11-17 Thread Gary Benson
Mark Wielaard wrote: On Thu, 2005-11-17 at 13:42 +, Gary Benson wrote: You make it sound like an easy fix: is it? What needs to be done, and where? Besides what Jeroen already said you also have to merge ClassLoader. libgcj has a different version at the moment. In particular you want

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

2005-11-17 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/17 12:08:32 Modified files: javax/swing: JList.java . : ChangeLog Log message: 2005-11-17 Roman Kennke [EMAIL

[commit-cp] classpath ./ChangeLog gnu/java/net/protocol/jar...

2005-11-17 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 05/11/17 18:00:59 Modified files: . : ChangeLog gnu/java/net/protocol/jar: Connection.java Log message: 2004-11-17 Bryce

[commit-cp] classpath ./ChangeLog examples/Makefile.am

2005-11-17 Thread Audrius Meskauskas
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Meskauskas [EMAIL PROTECTED] 05/11/17 18:42:42 Modified files: . : ChangeLog examples : Makefile.am Log message: 2005-11-17 Audrius Meskauskas

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

2005-11-17 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/17 20:31:51 Modified files: . : ChangeLog javax/swing/text: AbstractDocument.java ComponentView.java

[commit-cp] classpath ./ChangeLog java/awt/Component.java

2005-11-17 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/17 20:39:56 Modified files: . : ChangeLog java/awt : Component.java Log message: 2005-11-17 Roman Kennke [EMAIL

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

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

[commit-cp] classpath ./ChangeLog java/awt/Container.java

2005-11-17 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/17 21:00:53 Modified files: . : ChangeLog java/awt : Container.java Log message: 2005-11-17 Roman Kennke [EMAIL

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

2005-11-17 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/11/17 21:37:32 Modified files: . : ChangeLog javax/swing/plaf/basic: BasicEditorPaneUI.java

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

2005-11-17 Thread David Gilbert
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 05/11/17 23:27:24 Modified files: . : ChangeLog javax/swing: JComponent.java Log message: 2005-11-17 David Gilbert

[commit-cp] classpath ./ChangeLog native/jni/xmlj/xmlj_util.h

2005-11-17 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 05/11/17 23:47:45 Modified files: . : ChangeLog native/jni/xmlj: xmlj_util.h Log message: 2005-11-17 Paul Jenner [EMAIL

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

2005-11-17 Thread David Gilbert
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 05/11/17 23:54:10 Modified files: . : ChangeLog javax/swing: JComponent.java Log message: 2005-11-17 David Gilbert

[commit-cp] classpath ./ChangeLog java/lang/SecurityManager...

2005-11-17 Thread Mark Wielaard
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Mark Wielaard [EMAIL PROTECTED] 05/11/18 00:06:34 Modified files: . : ChangeLog java/lang : SecurityManager.java Log message: 2005-11-17 Gary Benson

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

2005-11-17 Thread David Gilbert
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 05/11/18 00:27:08 Modified files: . : ChangeLog javax/swing: JComponent.java Log message: 2005-11-17 David Gilbert