[cp-patches] FYI: UIManager missing methods

2006-03-28 Thread Roman Kennke
I implemented two missing methods in the UIManager: 2006-03-28 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/UIManager.java (installLookAndFeel): Implemented. (setInstalledLookAndFeels): Implemented. /Roman -- “Improvement makes straight roads, but the crooked roads,

[cp-patches] FYI: MetalToggleButtonUI

2006-03-28 Thread Roman Kennke
Just like with the MetalButtonUI, I fixed the conditions under which the MetalToggleButtonUI paints a gradient: - the button's background must be a UIResource, otherwise the application expects the background to be painted. - the button is neither armed nor pressed. in these cases the button is pai

[cp-patches] FYI: JLayeredPane fixlet

2006-03-28 Thread Roman Kennke
Lillian recently fixed Component.addImpl to not call repaint(). This is correct in AWT, there the applications are expected to take care of this themselves. However for Swing this means we need to add a repaint() calls ot the JLayeredPane.addImpl(), so that components show up correctly when beeing

[cp-patches] [jessie-nio] new tests

2006-03-28 Thread Casey Marshall
This adds a couple new tests, and cleans up the test runner script a little. 2006-03-28 Casey Marshall <[EMAIL PROTECTED]> * jessie-tests/run-tests.sh: add new tests; count number of tests run; log the finish date to `check.log.' * jessie-tests/gnu/javax/net/ssl/provi

[cp-patches] [generics] Patch: FYI: PR 25189

2006-03-28 Thread Tom Tromey
I'm checking this in on the generics branch. This fixes PR 25189. Tom 2006-03-27 Tom Tromey <[EMAIL PROTECTED]> PR classpath/25189: * java/lang/Enum.java (valueOf): Ensure that the named field is an enum constant. (compareTo): Check class of enum. Index: java/

[cp-patches] [generics] Patch: FYI: reflection javadoc fix

2006-03-28 Thread Tom Tromey
I'm checking this in on the generics branch. This fixes a javadoc buglet in reflection. Tom 2006-03-27 Tom Tromey <[EMAIL PROTECTED]> * java/lang/reflect/ParameterizedType.java: Javadoc fix. Index: java/lang/reflect/ParameterizedType.java =

[cp-patches] FYI: [generics] Fix build failure

2006-03-28 Thread Andrew John Hughes
I'm committing the attached patch which fixes a build failure I caused by my changes to java.net.Proxy last night; apologies. Changelog: 2006-03-28 Andrew John Hughes <[EMAIL PROTECTED]> * java/net/Proxy.java: (Type): Add missing semi-colon. -- Andrew :-) Please avoid sendin

[cp-patches] Re: Patch: RFC: changing parts of VM reflection API

2006-03-28 Thread Tom Tromey
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Tom> This is the patch to change Method/Field/Constructor to have a Tom> 'getModifiersInternal' method, which returns the un-masked modifiers Tom> as read from the .class file. This lets us implement the new Tom> 1.5 reflection predicates such

Re: [cp-patches] FYI: [generics] Fix serialization UIDs for the new enums.

2006-03-28 Thread Tom Tromey
> "Mark" == Mark Wielaard <[EMAIL PROTECTED]> writes: Mark> This breaks the generics branch autobuilder: Fixed as appended. Tom 2006-03-28 Tom Tromey <[EMAIL PROTECTED]> * java/net/Proxy.java (TYPE): Added missing ";". Index: java/net/Proxy.java =

Re: [cp-patches] FYI: [generics] Fix serialization UIDs for the new enums.

2006-03-28 Thread Tom Tromey
> "Andrew" == Andrew John Hughes <[EMAIL PROTECTED]> writes: Andrew> I'm committing the attached patch which fixes the Andrew> serialization UIDs for two new enumerations. I was wondering about this patch, in particular, whether we really need to specify serialVersionUID for an enum. Enums a

Re: [cp-patches] Re: RFC: gnu.regexp: miscellaneous fixes

2006-03-28 Thread Ito Kazumitsu
From: Christian Thalinger <[EMAIL PROTECTED]> Date: Tue, 28 Mar 2006 13:18:25 +0200 > Today I commited the VM layer changes to CACAO SVN trunk and noticed > afterwards some serious regressions with GNU Classpath CVS head, like > tomcat, eclipse or jboss not starting up anymore, eating 100% CPU. >

Re: [cp-patches] Re: RFC: gnu.regexp: miscellaneous fixes

2006-03-28 Thread Christian Thalinger
On Sat, 2006-03-25 at 01:05 +0900, Ito Kazumitsu wrote: > ChangeLog: > 2006-03-24 Ito Kazumitsu <[EMAIL PROTECTED]> > > * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor): > New methods. > * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch, >

[cp-patches] FYI: API fixes for javax.swing.text

2006-03-28 Thread Roman Kennke
I fixed most of the issues pointed out by reverse JAPI in javax.swing.text.* 2006-03-28 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/text/AsyncBoxView.java (setEstimatedMajorSpan): Made method protected. (getEstimatedMajorSpan): Made method protected. * javax/s

[cp-patches] FYI: MetalButtonUI fix

2006-03-28 Thread Roman Kennke
I noticed that the MetalButtonUI should only paint a gradient background, if the background color of the button is an instance of UIResource. This makes sense, because when user code installs an own background color, it would expect that to be painted, and not the gradient. This is fixed. I also re

[cp-patches] FYI: BasicMenuItemUI fix

2006-03-28 Thread Roman Kennke
In BasicMenuItemUI we were (sometimes) painting the background of menuitems with the wrong color and sometimes it shouldn't be painted at all (making the underlying menu shine through). This is fixed with the attached patch. Interesting sidenote, Sun's impl doesn't seem to give menuitem.getBackgrou

[cp-patches] FYI: MetalTabbedPane fix

2006-03-28 Thread Roman Kennke
I fixed the MetalTabbedPaneUI to correctly respect the tabsOpaque UI property. 2006-03-28 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalTabbedPaneUI.java (tabsOpaque): New field. (paintLeftTabBorder): Paint some parts only when the tabs are opaqu

Re: [cp-patches] FYI: [generics] Fix serialization UIDs for the new enums.

2006-03-28 Thread Mark Wielaard
Hi Andrew, On Mon, 2006-03-27 at 22:45 +0100, Andrew John Hughes wrote: > 2006-03-27 Andrew John Hughes <[EMAIL PROTECTED]> > > * java/math/RoundingMode.java: > Fixed serialization UID. > * java/net/Proxy.java: > (Type): Likewise. This breaks the generics branch autobui