summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog293
1 files changed, 293 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 97fd1ba36..e19e1bb74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,296 @@
+2006-11-03 Tania Bento <tbento@redhat.com>
+
+ * java/awt/TextArea.java
+ (getMinimumSize): Changed documentation.
+ (getPreferredSize): Changed documentation.
+ (getMinimumSize(int,int)): Changed documenation.
+ (getPreferredSize(int,int)): Changed documenation.
+ (minimumSize): Changed documentation.
+ (preferredSize): Changed documenation.
+ (minimumSize(int,int)): Changed documentation. Checked if
+ minimum size had been previously set and changed values of
+ Dimension returned if peer == null.
+ (preferredSize(int, int)): Checked if preferred size had been
+ previously set and changed values of Dimension returned if
+ peer = null.
+
+2006-11-03 Tania Bento <tbento@redhat.com>
+
+ * java/awt/event/ComponentEvent.java
+ (paramString): Changed format of string representation returned.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.FormAction.start): Added support for textarea.
+ (HTMLReader.FormAction.end): Added support for textarea.
+ (HTMLReader.HeadAction.end): Call super to actually close the
+ block.
+ (HTMLReader.inTextArea): New field.
+ (HTMLReader.textAreaDocument): New field.
+ (HTMLReader.handleText): Call textAreaContent when inside
+ a textarea tag.
+ (HTMLReader.textAreaContent): Implemented to initialize
+ the text area's model.
+ * javax/swing/text/html/FormView.java
+ (createComponent): Added support for textarea tag.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.IsindexAction.start): Implemented.
+
+2006-11-03 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/StyleSheet.java
+ (addRule): Implemented.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.inStyleTag): New field.
+ (HTMLReader.styles): New field.
+ (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
+ if any.
+ (HTMLReader.StyleAction.start): Set inStyleTag flag.
+ (HTMLReader.StyleAction.end): Set inStyleTag flag.
+ (HTMLReader.handleText): When inside a style tag, add
+ content to the styles array.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/FormView.java
+ (maxIsPreferred): New field.
+ (createComponent): Initialize components correctly.
+ (getMaximumSpan): Return the preferred span for components
+ that need this. The maxIsPreferred flag is set accordingly
+ in createComponent.
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.FormAction.start): Implemented to set the
+ correct model as attribute.
+ (HTMLReader.FormAction.setModel): New helper method.
+ (HTMLReader.FormAction.end): Call super to finish the element.
+ Added TODO about things left to do.
+ (HTMLReader.handleComment): Use SimpleAttributeSet rather
+ than htmlAttributeSet.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (HTMLFactory.create): Create BlockView for FORM tags.
+ Create FormView for INPUT, TEXTAREA and SELECT tags.
+
+2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
+
+ * java/awt/geom/GeneralPath.java: API doc fixes.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/ImageView.java
+ (getImageURL): Fetch attribute from element. Consider the
+ base URL for relative image locations.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/JEditorPane.java
+ (setContentType): Strip off attributes.
+ * javax/swing/text/html/HTMLEditorKit.java
+ (LinkController.activateLink(int,JEditorPane,int,int): New
+ method. Implements activation of a hyperlink.
+ (LinkController.activateLinke(int,JEditorPane)): Delegate
+ to the other activateLink() method.
+ (LinkController.createHyperlinkEvent): New helper method.
+ (LinkController.mouseClicked): Implemented to activate the link.
+ (LinkController.mouseDragged): Added comment that this
+ method does nothing.
+ (LinkController.mouseMoved): Update cursor for hyperlinks.
+ (mouseHandler): Renamed field to linkController.
+ (HTMLEditorKit): Create a link controller.
+ (clone): Give the clone a new link controller.
+ (deinstall): De-install link controller as mouseMotionListener too.
+ (install): Install link controller as mouseMotionListener too.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ PR 29644
+ * javax/swing/text/FlowView.java
+ (FlowStrategy.changedUpdate): Reversed condition. This caused
+ wrong layout and bad performance.
+ (FlowStrategy.insertUpdate): Reversed condition. This caused
+ wrong layout and bad performance.
+ (FlowStrategy.removeUpdate): Reversed condition. This caused
+ wrong layout and bad performance.
+ (LogicalView): Changed to be a subclass of CompositeView.
+ (LogicalView()): Only take one Element argument.
+ (LogicalView.childAllocation): New method for implementing
+ the abstract CompositeView method.
+ (LogicalView.forwardUpdateToView): Overridden for correct
+ reparenting.
+ (getMinimumSpan): Overridden to handle line breaking correctly.
+ (getPreferredSpan): Implemented to handle line breaking correctly.
+ (getViewAtPoint): New method for implementing
+ the abstract CompositeView method.
+ (getViewIndexAtPosition): Overridden to handle leaf elements
+ correctly.
+ (isAfter): New method for implementing
+ the abstract CompositeView method.
+ (isBefore): New method for implementing
+ the abstract CompositeView method.
+ (loadChildren): Overridden to handle leaf elements
+ correctly.
+ (paint): New method for implementing
+ the abstract CompositeView method.
+ (calculateMinorAxisRequirements): Use preferredSpan in calculation.
+ (loadChildren): Initialize flow layout by sending a synthetic
+ insertUpdate() to the layout strategy.
+ * javax/swing/text/GlyphView.java
+ (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
+ font metrics if component is not available. Add initial offset
+ to result.
+ (breakView): Be more clever when breaking the view.
+ (getBreakLocation): New helper method to determine a good
+ break location.
+ (getBreakWeight): Be more clever when breaking the view.
+ (getTabbedSpan): Make sure we have a painter. Use view's
+ start and end offset rather than the element's.
+ * javax/swing/text/Utilities.java
+ (drawTabbedText): Avoid useless add and sub with the y offset.
+
+2006-11-02 Roman Kennke <kennke@aicas.com>
+
+ PR 29644
+ * gnu/java/awt/peer/ClasspathFontPeer.java
+ (getStringBounds): Removed abstract method. This is replaced
+ in java.awt.Font to use a TextLayout.
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (GtkWindowPeer): Set a font on the window object.
+ * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
+ (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
+ Changed to take char,int,int instead of String. Filter
+ control characters.
+ (FreetypeGlyphVector(Font,String,FontRenderContext)):
+ Create char array out of string.
+ (getLogicalBounds): Don't translate bounds. They already are
+ translated.
+ * gnu/java/awt/peer/gtk/GdkFontMetrics.java
+ (stringWidth): Filter out control characters.
+ * gnu/java/awt/peer/gtk/GdkFontPeer.java
+ (getStringBounds): Removed unneeded method.
+ (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
+ constructor.
+ * gnu/java/awt/peer/qt/QtFontPeer.java
+ (getStringBounds): Removed unneeded method.
+ * gnu/java/awt/peer/x/XFontPeer.java
+ (getStringBounds): Removed unneeded method.
+ * gnu/java/awt/peer/x/XFontPeer2.java
+ (getStringBounds): Removed unneeded method.
+ * java/awt/Font.java
+ (getStringBounds(char[],int,int,FontRenderContext)):
+ Use TextLayout to determine the bounds.
+ (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
+ Delegate to the char[] version of this method.
+ (getStringBounds(String,FontRenderContext)):
+ Delegate to the char[] version of this method.
+ (getStringBounds(String,int,int,FontRenderContext)):
+ Delegate to the String version of this method.
+
+2006-11-01 Tania Bento <tbento@redhat.com>
+
+ * java/awt/ScrollPaneAdjustable.java
+ (paramString): Changed format of string representation returned.
+ (paramStringHelper): New private method.
+
+2006-11-01 Tania Bento <tbento@redhat.com>
+
+ * java/awt/GridBagLayout.java
+ (toString): Implemented method.
+
+2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
+ initialization to NP_Initialize.
+ (NP_Initialize): Initialize GLib threading.
+
+2006-10-31 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JTextField.java
+ (fireActionPerformed): When creating the new event, if
+ actionCommand == null, then getText() is used.
+
+2006-10-31 Francis Kung <fkung@redhat.com>
+
+ * gnu/java/awt/peer/gtk/CairoGraphics2D.java
+ (fillArc): Corrected arc type to Arc2D.PIE.
+
+2006-10-31 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLDocument.java
+ (HTMLReader.PreAction.end): Implemented.
+ (HTMLReader.PreAction.start): Implemented.
+ (HTMLReader.inPreTag): New field.
+ (HTMLReader.handleTag): When inside a pre tag, call preContent().
+ (HTMLReader.preContent): Implemented.
+
+2006-10-31 Tania Bento <tbento@redhat.com>
+
+ * javax/swing/JTextField.java
+ (fireActionPerformed): When creating the new event,
+ actionCommand should be used as the command, not
+ getText().
+
+2006-10-31 Roman Kennke <kennke@aicas.com>
+
+ * javax/swing/text/html/HTMLEditorKit.java
+ (write): Use HTMLWriter or MinimalHTMLWriter for writing
+ HTML or Styled documents.
+
+2006-10-31 David Fu <fchoong@netbeans.jp>
+
+ * javax/swing/text/html/HTMLWriter.java: New class.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/dnd/DragSourceContext.java
+ (dragExit): Use constant fields instead of 0.
+ (updateCurrentCursor): Completed implementation.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/dnd/DragGestureRecognizer.java
+ (resetRecognizer): Added API docs. Do not replace the events object
+ but rather clear() it. Removed not implemented tag.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/datatransfer/DataFlavor.java
+ (writeExternal): Remove not implemented tag.
+
+2006-10-30 Roman Kennke <kennke@aicas.com>
+
+ * java/awt/datatransfer/DataFlavor.java
+ (javaFileListFlavor): Don't explicitly specify class.
+ (plainTextFlavor): Don't explicitly specify class.
+ (mimeType): Changed to type MimeType. Remove final.
+ (representationClass): Remove final.
+ (DataFlavor): Don't do anything here.
+ (DataFlavor(Class,String,String)): Removed.
+ (DataFlavor(Class,String)): Initialize here.
+ (DataFlavor(String,String,ClassLoader)): Initialize in init().
+ (DataFlavor(String,String)): Initialize in init().
+ (DataFlavor(String)): Initialize in init().
+ (init): New initialization method.
+ (getMimeType): Delegate to MimeType.toString().
+ (getParameter(String,String)): Removed. Is now done in MimeType.
+ (getParameter(String)): Delegate to MimeType.
+ (getPrimaryType): Delegate to MimeType.
+ (getRepresentationClassFromMime): Removed.
+ (getRepresentationClassFromMimeThrows): Removed.
+ (getSubType): Delegate to MimeType.
+ (hashCode): Take MimeType.toString() for the hashCode.
+ (isFlavorRemoveObjectType): Return true only when representation
+ class is remove and serializable and the mime type is remote.
+ (isFlavorSerializedObjectType): Return true only when representation
+ class is serializable and the mime type is serialized.
+ (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
+ (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
+ (readExternal): Implemented stub method.
+ (writeExternal): Implemented stub method.
+ * java/awt/datatransfer/MimeType.java: New helper class.
+
2006-10-28 Roman Kennke <kennke@aicas.com>
* javax/swing/TransferHandler.java