[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-23 Thread David Gilbert
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: David Gilbert <[EMAIL PROTECTED]>   05/11/23 21:15:46

Modified files:
.  : ChangeLog 
javax/swing/plaf/metal: MetalScrollPaneUI.java 

Log message:
2005-11-23  David Gilbert  <[EMAIL PROTECTED]>

* javax/swing/plaf/metal/MetalScrollPaneUI.java
(installUI): Set free-standing client property on scrollbars to false,
(uninstallUI): Set free-standing client property on scrollbars to null.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5715&tr2=1.5716&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalScrollPaneUI.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text





[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-23 Thread Lillian Angel
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Lillian Angel <[EMAIL PROTECTED]>   05/11/23 21:05:11

Modified files:
.  : ChangeLog 
javax/swing/plaf/metal: MetalIconFactory.java 

Log message:
2005-11-23  Lillian Angel  <[EMAIL PROTECTED]>

* javax/swing/plaf/metal/MetalIconFactory.java:
Added new fields to store an instance of the icons.
(getMenuArrowIcon): Fixed to make use of the new field.
(getMenuItemArrowIcon): Fixed implementation to return
an instance of the icon, instead of calling getMenuArrowIcon.
Even though, these two look identical.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5714&tr2=1.5715&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalIconFactory.java.diff?tr1=1.21&tr2=1.22&r1=text&r2=text





[commit-cp] classpath ./ChangeLog java/awt/datatransfer/Dat...

2005-11-23 Thread Jan Roehrich
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Jan Roehrich <[EMAIL PROTECTED]>05/11/23 20:21:04

Modified files:
.  : ChangeLog 
java/awt/datatransfer: DataFlavor.java 

Log message:
2005-11-23  Jan Roehrich  <[EMAIL PROTECTED]>

* java/awt/datatransfer/DataFlavor.java
(isFlavorTextType): added method.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5713&tr2=1.5714&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/datatransfer/DataFlavor.java.diff?tr1=1.27&tr2=1.28&r1=text&r2=text





[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-23 Thread Lillian Angel
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Lillian Angel <[EMAIL PROTECTED]>   05/11/23 20:07:20

Modified files:
.  : ChangeLog 
javax/swing/plaf/metal: MetalToolBarUI.java 

Log message:
2005-11-23  Lillian Angel  <[EMAIL PROTECTED]>

* javax/swing/plaf/metal/MetalToolBarUI.java
(setDragOffset): Implemented.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5712&tr2=1.5713&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalToolBarUI.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text





[commit-cp] classpath ./ChangeLog javax/swing/plaf/metal/Me...

2005-11-23 Thread Lillian Angel
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Lillian Angel <[EMAIL PROTECTED]>   05/11/23 19:45:43

Modified files:
.  : ChangeLog 
javax/swing/plaf/metal: MetalLookAndFeel.java 
MetalTabbedPaneUI.java 

Log message:
2005-11-23  Lillian Angel  <[EMAIL PROTECTED]>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added defaults for menu arrow icon,
menu item arrow icon and menu item check icon.
* javax/swing/plaf/metal/MetalTabbedPaneUI.java:
Added new field to store graphics when painting highlight.
(paintTopTabBorder): Added code to fill gap if it should be
filled.
(paintBottomTabBorder): Likewise.
(paintTabBackground): Added call to paint the highlight below the tab.
(getColorForGap): Added code to return selected color, if selected.
(shouldFillGap): Changed to return false. With JDK, gap is never filled 
in
MetalL&F.
(paintHighlightBelowTab): Implemented to paint the highlight on 
selected tabs.
(calculateMaxTabHeight): Removed.
(getTabLabelShiftX): Removed.
(getTabLabelShiftY): Removed.
(getTabRunOverlay): Removed.
(paint): Removed.
(paintContentBorderBottomEdge): Removed.
(paintContentBorderLeftEdge): Removed.
(paintContentBorderRightEdge): Removed.
(paintContentBorderTopEdge): Removed.
(paintFocusIndicator): Removed.
(update): Removed.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5711&tr2=1.5712&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalLookAndFeel.java.diff?tr1=1.71&tr2=1.72&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java.diff?tr1=1.14&tr2=1.15&r1=text&r2=text





[commit-cp] classpath/javax/swing/text CompositeView.java G...

2005-11-23 Thread Roman Kennke
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Roman Kennke <[EMAIL PROTECTED]>05/11/23 14:23:15

Modified files:
javax/swing/text: CompositeView.java GlyphView.java 
  WrappedPlainView.java 

Log message:
2005-11-23  Roman Kennke  <[EMAIL PROTECTED]>

* javax/swing/text/View.java
(getNextVisualPositionFrom): Fixed signature and (partly)
implemented this method.
* javax/swing/text/Utilities.java
(getPositionAbove): Fixed to use the correct signature for the call
to above method.
(getPositionBelow): Fixed to use the correct signature for the call
to above method.
* javax/swing/text/ComponentView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/CompositeView.java
(getNextVisualPositionFrom): Removed method with wrong signature.
A method with the correct signature is already in place.
* javax/swing/text/FlowView.java
(LogicalView.getNextVisualPositionFrom): Removed method with wrong
signature.
* javax/swing/text/GlyphView.java
(getNextVisualPositionFrom): Removed method with wrong signature.
A method with the correct signature is already in place.
* javax/swing/text/IconView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/PlainView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.getNextVisualPositionFrom): Removed method with wrong
signature.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getNextVisualPositionFrom): Fixed signature.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/CompositeView.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/GlyphView.java.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/WrappedPlainView.java.diff?tr1=1.8&tr2=1.9&r1=text&r2=text





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

2005-11-23 Thread David Gilbert
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: David Gilbert <[EMAIL PROTECTED]>   05/11/23 14:44:33

Modified files:
.  : ChangeLog 
java/awt   : Component.java 

Log message:
2005-11-23  David Gilbert  <[EMAIL PROTECTED]>

* java/awt/Component.java
(getListeners): Added some details to the API docs.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5708&tr2=1.5709&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Component.java.diff?tr1=1.88&tr2=1.89&r1=text&r2=text





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

2005-11-23 Thread David Gilbert
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: David Gilbert <[EMAIL PROTECTED]>   05/11/23 15:39:12

Modified files:
.  : ChangeLog 
javax/swing: JComponent.java 

Log message:
2005-11-23  David Gilbert  <[EMAIL PROTECTED]>

* javax/swing/JComponent.java
(getListeners): Updated API docs.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5710&tr2=1.5711&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JComponent.java.diff?tr1=1.89&tr2=1.90&r1=text&r2=text





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

2005-11-23 Thread David Gilbert
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: David Gilbert <[EMAIL PROTECTED]>   05/11/23 15:16:40

Modified files:
.  : ChangeLog 
java/awt   : Container.java 

Log message:
2005-11-23  David Gilbert  <[EMAIL PROTECTED]>

* java/awt/Container.java
(getListeners): Updated API docs.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5709&tr2=1.5710&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Container.java.diff?tr1=1.70&tr2=1.71&r1=text&r2=text





[commit-cp] classpath javax/swing/text/AbstractDocument.jav...

2005-11-23 Thread Roman Kennke
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Roman Kennke <[EMAIL PROTECTED]>05/11/23 14:12:41

Modified files:
javax/swing/text: AbstractDocument.java 
  DefaultStyledDocument.java 
.  : ChangeLog 

Log message:
2005-11-23  Roman Kennke  <[EMAIL PROTECTED]>

* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.numEndTags): New field.
(ElementBuffer.numStartTags): New field.
(ElementBuffer.elementStack): New field.
(ElementBuffer.ElementBuffer): Initialize element stack here.
(ElementBuffer.changeUpdate): Correctly perform splitting of
elements.
(ElementBuffer.split): Change to make recursive splits possible.
(ElementBuffer.insert): Clear and initialize elementStack and num*
fields.
(ElementBuffer.inserUpdate): Inlined the functionality for start
and end tags. Call endEdit on finish.
(ElementBuffer.endEdit): New method. Finishes off an edit run.
(ElementBuffer.prepareContentInsertion): New method. Prepares
the insertion of content.
(ElementBuffer.insertParagraph): New method. Inserts a new
paragraph at a given offset.
(ElementBuffer.insertContentTag): Call prepareContentInsertion first.
Fixed behaviour for all the different possible directions.
(ElementBuffer.addEdit): New method. Adds an element edit to the
document event and possible merges with previous edits.
(insert): Only fire event when something has really changed.
* javax/swing/text/AbstractDocument.java
(insertString): Only fire event when something has really changed.
(DefaultDocumentEvent.modified): New field.
(DefaultDocumentEvent.DefaultDocumentEvent): Inititialize modified
field.
(DefaultDocumentEvent.addEdit): Set modified flag to true.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/AbstractDocument.java.diff?tr1=1.39&tr2=1.40&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/DefaultStyledDocument.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5707&tr2=1.5708&r1=text&r2=text





[commit-cp] classpath javax/swing/text/GapContent.java ./Ch...

2005-11-23 Thread Roman Kennke
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Roman Kennke <[EMAIL PROTECTED]>05/11/23 12:03:42

Modified files:
javax/swing/text: GapContent.java 
.  : ChangeLog 

Log message:
2005-11-23  Roman Kennke  <[EMAIL PROTECTED]>

* javax/swing/text/GapContent.java
(getPostionsInRange): Fixed binarySearch to really find the first
position in this range.
(setPostionsInRange): Fixed binarySearch to really find the first
position in this range.
(adjustPostionsInRange): Fixed binarySearch to really find the first
position in this range.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/GapContent.java.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5706&tr2=1.5707&r1=text&r2=text





[commit-cp] classpath javax/swing/text/View.java javax/swin...

2005-11-23 Thread Roman Kennke
CVSROOT:/cvsroot/classpath
Module name:classpath
Branch: 
Changes by: Roman Kennke <[EMAIL PROTECTED]>05/11/23 11:59:31

Modified files:
javax/swing/text: View.java Utilities.java ComponentView.java 
  FlowView.java IconView.java PlainView.java 
javax/swing/plaf/basic: BasicTextUI.java 
.  : ChangeLog 

Log message:
2005-11-23  Roman Kennke  <[EMAIL PROTECTED]>

* javax/swing/text/View.java
(getNextVisualPositionFrom): Fixed signature and (partly)
implemented this method.
* javax/swing/text/Utilities.java
(getPositionAbove): Fixed to use the correct signature for the call
to above method.
(getPositionBelow): Fixed to use the correct signature for the call
to above method.
* javax/swing/text/ComponentView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/CompositeView.java
(getNextVisualPositionFrom): Removed method with wrong signature.
A method with the correct signature is already in place.
* javax/swing/text/FlowView.java
(LogicalView.getNextVisualPositionFrom): Removed method with wrong
signature.
* javax/swing/text/GlyphView.java
(getNextVisualPositionFrom): Removed method with wrong signature.
A method with the correct signature is already in place.
* javax/swing/text/IconView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/PlainView.java
(getNextVisualPositionFrom): Removed method. This is not specified
to be implemented.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.getNextVisualPositionFrom): Removed method with wrong
signature.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getNextVisualPositionFrom): Fixed signature.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/View.java.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/Utilities.java.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/ComponentView.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/FlowView.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/IconView.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/text/PlainView.java.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTextUI.java.diff?tr1=1.56&tr2=1.57&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5705&tr2=1.5706&r1=text&r2=text