[cp-patches] FYI: Missing JComboBox methods.

2005-09-27 Thread Sven de Marothy
2005-09-27 Sven de Marothy [EMAIL PROTECTED] * javax/swing/JComboBox.java (firePopupMenuCanceled): Implement (firePopupMenuWillBecomeInvisible): Implement (firePopupMenuWillBecomeVisible): Implement Index: javax/swing/JComboBox.java

Re: [cp-patches] RFC: 2 swing.text.Utilities methods implemented

2005-09-27 Thread Roman Kennke
Hi Tony, Am Montag, den 26.09.2005, 16:34 -0400 schrieb Anthony Balkissoon: I implemented getRowStart and getRowEnd in javax.swing.text.Utilities. This is RFC because of the issue raised in the large comment in each of this methods (namely, performance). Some comments would be appreciated. I

[cp-patches] FYI: Some AWT/Swing fixes

2005-09-27 Thread Roman Kennke
Hi, here come some small fixlets with quite nice effect. Most importantly this moves the revalidate operation itself into the event thread. This makes some heavy bulk revalidation request more smooth. I have run extensive tests against Sun's JDK (I'll commit this as soon I brought them into

[cp-patches] FYI: SizeRequirements fix

2005-09-27 Thread Roman Kennke
Hi, this fixes a layout problems with JMenu's and JOptionPanes. 2005-09-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/SizeRequirements.java (adjustGreater): Special handle the case when the components have no spare room for adjustment. (adjustSmaller):

Re: [cp-patches]: Patch: JTree, ToolTipManager, JMenuItem fixes

2005-09-27 Thread Lillian Angel
Fixed validating of ToolTips again, this now works well with Roman's new patches. 2005-09-26 Lillian Angel [EMAIL PROTECTED] * javax/swing/ToolTipManager.java (showTip): Removed validating of currentTip. setVisible(true) does this. Also, removed validating of

Re: [cp-patches]: FYI: JTree, ToolTipManager, JMenuItem fixes

2005-09-27 Thread Lillian Angel
Made a slight error, this is now fixed. 2005-09-26 Lillian Angel [EMAIL PROTECTED] * javax/swing/ToolTipManager.java (showTip): validating of toolTipWindow should not have been removed. On Tue, 2005-09-27 at 11:09 -0400, Lillian Angel wrote: Fixed validating of

[cp-patches] Patch: MidiFileFormat tweak

2005-09-27 Thread Anthony Green
I'm checking in the following trivial patch based on the JAPI output from last night. There are a few other things to clean up. I'll get to them later today or tomorrow. AG 2005-09-27 Anthony Green [EMAIL PROTECTED] * javax/sound/midi/MidiFileFormat.java (bytes, microseconds):

[cp-patches] Patch: FYI: fix 2 minor japi bugs

2005-09-27 Thread Tom Tromey
I'm checking this in. This fixes a couple of minor problems pointed out by japi (and in Stuart's blog). Tom 2005-09-27 Tom Tromey [EMAIL PROTECTED] * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild.serialVersionUID): Fixed. *

[cp-patches] [generics] Patch: FYI: Comparable fixes

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This fixes Comparable instantiations in several places. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/sql/Timestamp.java (compareTo(Date)): Changed argument type from Object. * javax/naming/Name.java (Name):

[cp-patches] [generics] Patch: FYI: generics -vs- logging

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This genericizes some types in java.util.logging. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/util/logging/LogManager.java (loggers): Genericized type. (LogManager): Updated. (addLogger): Likewise.

[cp-patches] [generics] Patch: FYI: generics in java.util.zip

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This genericizes some types in java.util.zip, as pointed out by the new japi. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/util/zip/ZipFile.java (entries): Updated return type. (ZipEntryEnumeration): Updated

[cp-patches] [generics] Patch: FYI: some AWT generics fixes

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This is a few generics-related fixes for AWT. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/awt/im/InputMethodHighlight.java (InputMethodHighlight): Updated argument types. (getStyle): Updated return type.

Re: [cp-patches] RFC: 2 swing.text.Utilities methods implemented

2005-09-27 Thread Anthony Balkissoon
On Roman's advice, I changed the 2 methods to use binary searching rather than sequential searching. This is now committed. 2005-09-27 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/Utilities.java: (getRowEnd): New method. (getRowStart): New method. --Tony

[cp-patches] [generics] Patch: FYI: generics in java.lang.Compiler

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This fixes a type in java.lang.Compiler. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/lang/Compiler.java (compileClass): Updated argument type. Index: java/lang/Compiler.java

[cp-patches] [generics] Patch: FYI: String fixlet

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This fixes a couple generics problems in String, found thanks to Stuart's new japi. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/lang/String.java (CASE_INSENSITIVE_ORDER): Now a ComparatorString.

[cp-patches] [generics] Patch: FYI: generics -vs- java.nio

2005-09-27 Thread Tom Tromey
I'm checking this in on the generics branch. This genericizes some types in java.nio. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * java/nio/charset/spi/CharsetProvider.java (charsets): Changed return type. * java/nio/charset/Charset.java (aliases): Changed

[cp-patches] Patch: FYI: minor awt japi fix

2005-09-27 Thread Tom Tromey
I'm checking this in. According to japi, these two methods should throw AWTException. These were documented correctly but the implementation incorrectly ignored the possible AWTException. Tom 2005-09-27 Tom Tromey [EMAIL PROTECTED] * java/awt/Window.java (createBufferStrategy): Can

[cp-patches] RFC: SimpleAttributeSet performace tweak

2005-09-27 Thread Anthony Balkissoon
Rather than checking that one set contains the other set AND vice versa, I think it will be faster to check that one contains the other and the two sets have the same size. OK to commit? 2005-09-27 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/SimpleAttributeSet.java:

[cp-patches] FYI: SimpleAttributeSet fix

2005-09-27 Thread Anthony Balkissoon
removeAttributes(AttributeSet) should only remove attributes if their keys AND values are found in the given set. This is fixed now, and I'll commit a Mauve test soon. 2005-09-27 Anthony Balkissoon [EMAIL PROTECTED] * javax/swing/text/SimpleAttributeSet.java:

[cp-patches] FYI: Another SizeRequirements fixlet

2005-09-27 Thread Roman Kennke
Here comes another fixlet for some corner cases in SizeRequirements. Should be perfect soon (I hope). 2005-09-27 Roman Kennke [EMAIL PROTECTED] * javax/swing/SizeRequirements.java (calculateTiledPositions): Only adjust sizes if the allocated span is actually different

[cp-patches] FYI: MetalBorders.RolloverButtonBorder

2005-09-27 Thread David Gilbert
I committed this patch to add another missing border: 2005-09-27 David Gilbert [EMAIL PROTECTED] * javax/swing/plaf/metal/MetalBorders.java (RolloverButtonBorder): new class. Regards, Dave Index: javax/swing/plaf/metal/MetalBorders.java