diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 1529 |
1 files changed, 1528 insertions, 1 deletions
@@ -1,3 +1,456 @@ +2006-05-01 Tom Tromey <tromey@redhat.com> + + * lib/.cvsignore: Added classes.2. + +2006-05-01 Tom Tromey <tromey@redhat.com> + + * java/util/jar/JarFile.java (provider): Now package-private. + * java/lang/Enum.java (compareTo): Javadoc fix. + * java/lang/Boolean.java (compareTo): Javadoc fix. + +2006-05-01 Lillian Angel <langel@redhat.com> + + * gnu/javax/swing/text/html/parser/support/Parser.java + (readAttributes): Formatted function. Added handling for + SLASH token. The value of an attribute may start with a slash + (i.e. a path). I added handling similar to to the NUMTOKEN code. + We should not be skipping over these type of attributes. + +2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h, + * include/gnu_java_awt_peer_gtk_GdkGraphics.h, + * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h, + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, + * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h, + * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h, + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h, + * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h, + * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h, + * include/gnu_java_awt_peer_gtk_GtkClipboard.h, + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h, + * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h, + * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h, + * include/gnu_java_awt_peer_gtk_GtkFramePeer.h, + * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h, + * include/gnu_java_awt_peer_gtk_GtkImage.h, + * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h, + * include/gnu_java_awt_peer_gtk_GtkListPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h, + * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h, + * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h, + * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h, + * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h, + * include/gnu_java_awt_peer_gtk_GtkSelection.h, + * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h, + * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h, + * include/gnu_java_awt_peer_gtk_GtkToolkit.h, + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h, + * include/gnu_java_awt_peer_qt_MainQtThread.h, + * include/gnu_java_awt_peer_qt_QMatrix.h, + * include/gnu_java_awt_peer_qt_QPainterPath.h, + * include/gnu_java_awt_peer_qt_QPen.h, + * include/gnu_java_awt_peer_qt_QtAudioClip.h, + * include/gnu_java_awt_peer_qt_QtButtonPeer.h, + * include/gnu_java_awt_peer_qt_QtCanvasPeer.h, + * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, + * include/gnu_java_awt_peer_qt_QtChoicePeer.h, + * include/gnu_java_awt_peer_qt_QtComponentPeer.h, + * include/gnu_java_awt_peer_qt_QtContainerPeer.h, + * include/gnu_java_awt_peer_qt_QtDialogPeer.h, + * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, + * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, + * include/gnu_java_awt_peer_qt_QtFontMetrics.h, + * include/gnu_java_awt_peer_qt_QtFontPeer.h, + * include/gnu_java_awt_peer_qt_QtFramePeer.h, + * include/gnu_java_awt_peer_qt_QtGraphics.h, + * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, + * include/gnu_java_awt_peer_qt_QtImage.h, + * include/gnu_java_awt_peer_qt_QtLabelPeer.h, + * include/gnu_java_awt_peer_qt_QtListPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuPeer.h, + * include/gnu_java_awt_peer_qt_QtPanelPeer.h, + * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, + * include/gnu_java_awt_peer_qt_QtScreenDevice.h, + * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, + * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, + * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, + * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, + * include/gnu_java_awt_peer_qt_QtToolkit.h, + * include/gnu_java_awt_peer_qt_QtVolatileImage.h, + * include/gnu_java_awt_peer_qt_QtWindowPeer.h, + * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, + * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h, + * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, + * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h, + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h, + * include/gnu_xml_libxmlj_dom_GnomeAttr.h, + * include/gnu_xml_libxmlj_dom_GnomeDocument.h, + * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h, + * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h, + * include/gnu_xml_libxmlj_dom_GnomeElement.h, + * include/gnu_xml_libxmlj_dom_GnomeEntity.h, + * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h, + * include/gnu_xml_libxmlj_dom_GnomeNode.h, + * include/gnu_xml_libxmlj_dom_GnomeNodeList.h, + * include/gnu_xml_libxmlj_dom_GnomeNotation.h, + * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h, + * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h, + * include/gnu_xml_libxmlj_sax_GnomeLocator.h, + * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h, + * include/gnu_xml_libxmlj_transform_GnomeTransformer.h, + * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h, + * include/java_lang_VMProcess.h: + Regenerated. + * native/jni/java-lang/java_lang_VMProcess.c: + Redirect when pipe_count is 2 not 3. + +2006-04-30 Sascha Brawer <sascha@brawer.ch> + + * gnu/java/awt/font/FontDelegate.java, + * gnu/java/awt/font/FontFactory.java, + * gnu/java/awt/font/GNUGlyphVector.java, + * gnu/java/awt/font/opentype/CharGlyphMap.java, + * gnu/java/awt/font/opentype/GlyphNamer.java, + * gnu/java/awt/font/opentype/MacResourceFork.java, + * gnu/java/awt/font/opentype/NameDecoder.java, + * gnu/java/awt/font/opentype/OpenTypeFont.java, + * gnu/java/awt/font/opentype/OpenTypeFontFactory.java, + * gnu/java/awt/font/opentype/Scaler.java, + * gnu/java/awt/font/opentype/truetype/Fixed.java, + * gnu/java/awt/font/opentype/truetype/GlyphLoader.java, + * gnu/java/awt/font/opentype/truetype/GlyphLocator.java, + * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java, + * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java, + * gnu/java/awt/font/opentype/truetype/VirtualMachine.java, + * gnu/java/awt/font/opentype/truetype/Zone.java, + * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java, + * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia, + * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png: + New files. Imported font framework from: + http://www.brawer.ch/software/fonts/ + +2006-04-30 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (lastTabInRun): Fix calculation of the last tab in a run. This + has caused painting problems sometimes, making the + last tab painted incorrectly. + +2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27297 + * javax/swing/JComponent.java (paintChildrenWithOverlap): + Use for and not while to prevent the endless loop. + +2006-04-29 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (paramString): Changed from public to protected. + +2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method. + (printHelpAndExit): Re-factored to use the above method. + +2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/jarsigner.sh.in: Changed license to GPL + Exception. + Use -Xbootclasspath/p instead of -cp when invoking the main class. + * tools/gnu/classpath/tools/jarsigner/Main.java: + Changed license to GPL + Exception. + (handler): New field. + (getCallbackHandler): New method. + (setupSigningParams): Use above method. + * tools/gnu/classpath/tools/jarsigner/HashUtils.java: + Changed license to GPL + Exception. + * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise. + * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise. + * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise. + * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright. + +2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java + (handleConfirmation): Use print instead of println. + (handleConfirmation): When case is YES_NO_OPTION, print default option + if one was set. + (handleLanguage): Use print instead of println. + +2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright. + (putComponent): Handle O and OU components. + (getDer): Use correct (it2) iterator. + (readAttributeValue): Read next character and break if end-of-stream. + +2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/provider/Gnu.java (run): + Add "RSA" as an alias to MD5withRSA. + * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey): + Always encode a NULL as the value of an algorithm parameters field. + * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field. + (encodePrivateKey): Added trace/log statements. + (decodePrivateKey): Likewise. + * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field. + (setup): Added trace/log statements. + (generate): Likewise. + * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field. + (toString): New method. + * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant. + (str): New field. + (toString): New method. + * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field. + (getEncoded): Use defaultFormat. + (toString): New method. + * gnu/java/security/key/dss/DSSKey.java (toString): + Include defaultFormat in string. + * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic): + Break if successfully decoded public key. + (engineGeneratePrivate): Break if successfully decoded private key. + +2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * java/security/Security.java <clinit>: Add our Callback provider. + * resource/java/security/classpath.security: Likewise + +2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27296 + * javax/swing/ScrollPaneLayout.java (layoutContainer): + Decide about scroll bars from the preferred view size, not + the current size. + * javax/swing/ViewportLayout.java (layoutContainer): + Do not change returned preferred size. Do not treat JScrollPane + specially. + +2006-04-28 Sven de Marothy <sven@physto.se> + + * java/awt/image/ReplicateScaleFilter.java: Fix comment. + * javax/swing/ProgressMonitor.java (actionPerformed): + Avoid divide-by-zero. + +2006-04-28 Sven de Marothy <sven@physto.se> + + * javax/swing/JSpinner.java: Fix default text justification. + * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size. + +2006-04-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (getMinSelectionIndex): Return correct value, added API docs, + (getMaxSelectionIndex): Added API docs. + +2006-04-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (JList(Object[])): Pass new model directly to init(), + (JList(Vector)): Likewise, + (JList(ListModel)): Renamed argument and updated API docs, + (init): Throw IllegalArgumentException for null argument, + (setListData(Object[])): Delegate model creation, + (setListData(Vector)): Likewise, + (createListModel(Object[])): New private method, + (createListModel(Vector)): New private method, + (paramString): Implemented. + +2006-04-28 Tom Tromey <tromey@redhat.com> + + * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields. + (isEnum): Rewrote. + (isSynthetic): Likewise. + (isAnnotation): Likewise. + * vm/reference/java/lang/VMClass.java (isSynthetic): Removed. + (isAnnotation): Likewise. + (isEnum): Likewise. + +2006-04-28 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/View.java: + (getNextVisualPositionFrom): Call modelToView and viewToModel on parent + view. + +2006-04-28 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/View.java: + (getNextVisualPositionFrom): Rewritten. + * javax/swing/text/CompositeView.java: + (getNextEastWestVisualPositionFrom): Partly implemented. + (getNextNorthSouthVisualPositionFrom): Partly implemented. + +2006-04-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (setFixedCellHeight): Use correct property name for event. + +2006-04-28 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/Utilities.java: + (getNextWord): Use codePointAt instead of charAt, added note, changed + if-expression, added throwing of exception. + (getPreviousWord): Use codePointAt instead of charAt. + +2006-04-28 Jeroen Frijters <jeroen@frijters.net> + + * java/lang/StringBuilder.java + (ensureCapacity, getChars, append(StringBuffer), + append(char[],int,int), delete, replace, insert(int,char[],int,int), + insert(int,String), insert(int,char), trimToSize): Replaced + System.arraycopy calls with VMSystem.arraycopy. + +2006-04-27 Tom Tromey <tromey@redhat.com> + + * java/awt/image/renderable/RenderableImageProducer.java + (requestTopDownLeftRightResend): Implemented. + (run): Likewise. + (startProduction): Add new consumer. + +2006-04-27 Sven de Marothy <sven@physto.se> + + * javax/swing/JLabel.java (setIcon): Repaint on setting the icon. + +2006-04-27 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + Dispatch events only to targets that have a mouselistener + attached. Changed to also handle null targets. + +2006-04-27 Roman Kennke <kennke@aicas.com> + + * NEWS: Added entries about accessibility support and L&F + window decorations. + +2006-04-27 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/Utilities.java: + (getTabbedTextOffset): Introduced width variable, rewritten the check + which ends the loop. + (getBreakLocation): Call getTabbedTextOffset with rounding argument set + to false. + +2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/swing/TreeDemo.java + (createContent): Added root visibility and selection listener demos. + * javax/swing/JTree.java (setRootVisible): If false, unselect + the root node, if it is selected. + * javax/swing/plaf/basic/BasicTreeUI.java + (TreeTraverseAction.actionPerformed): Do not select the root if it + is not visible. + * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath, + removeSelectionPaths): Reset lead to null if the current lead path is + removed from selection. + * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path. + * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath): + Return the same path regardless is root visible or not. (update): + Reduce the identation if the root is not visible. + * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath): + Return the same path regardless is root visible or not. (update): + Reduce the identation if the root is not visible. + +2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org + + * javax/swing/plaf/basic/BasicTreeUI.java + (TreeAction.actionPerformed):Newly obtain the current lead + path that must stay visible. + (TreeTraverseAction.actionPerformed):Rewritten. + * javax/swing/tree/FixedHeightLayoutCache.java (countRows): + Do not treat root specially. (setModel): Assume the root node + initially expanded. + * javax/swing/tree/VariableHeightLayoutCache.java:(countRows): + Do not treat root specially. (setModel): Assume the root node + initially expanded. + +2006-04-26 Chris Burdess <dog@gnu.org> + + Fixes PR 27290 + * javax/xml/datatype/DatatypeFactory.java: Use complete + implementation resolution mechanism. + +2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): + Implemented. + * javax/swing/tree/DefaultTreeSelectionModel.java (toString): + Removed NoImplementException form the implemented method. + +2006-04-26 Tom Tromey <tromey@redhat.com> + + * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't + throw IOException. + +2006-04-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultListSelectionModel.java + (clone): Initialise empty listener list, + (setSelectionMode): Throw IllegalArgumentException for bad input. + +2006-04-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultListSelectionModel.java + (clearSelection): Clear the Bitset. + +2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JTree.java (setLeadSelectionPath): + Repaint the new and old lead pathes. + * javax/swing/plaf/basic/BasicTreeUI.java + (FocusHandler): Repaint the lead row when focus changes. + (PropertyChangeHandler): Use existing constants, not the + string literals for the property names. + (TreeIncrementAction): Shrink the selection when moving + from the selection edge to the selection anchor. + (TreeSelectionHandler.valueChanged): Repaint the + new and old lead pathes. + (paintRow): Treat row as focused only if it is the lead row. + * javax/swing/tree/DefaultTreeCellRenderer.java + (getTreeCellRendererComponent): Set the vertical alignment to CENTER. + (paint): Rewritten. + * javax/swing/tree/DefaultTreeSelectionModel.java + (addSelectionPath): Event construction fix (old and new lead were + always the same). + (addSelectionPaths): Likewise. + * javax/swing/JComponent.java (setOpaque): Explained. + * javax/swing/tree/FixedHeightLayoutCache.java (getBounds): + Accept null. + * javax/swing/tree/VariableHeightLayoutCache.java (getBounds): + Accept null. + +2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/swing/TreeDemo.java + (createContent): Call DefaultTreeModel.reload(), not the + tree.repaint(). Expand the parent of the added node. + * javax/swing/JTree.java (constructor): Do not call + UpdateUI (and documented why). (treeDidChange): + Added comment, excluding the misinterpretation of this method. + * javax/swing/plaf/basic/BasicTreeUI.java (componentListener, + focusListener, keyListener, mouseListener, propertyListener, + selectionModelPropertyChangeListener, treeModelListener, + treeSelectionListener): Made package private. + (PropertyChangeHandler): If the model changes, install the + listener on it. (installUI): Assign treeModel. + * javax/swing/tree/DefaultMutableTreeNode.java (add): Added + comment, excluding misinterpretation. + * javax/swing/tree/DefaultTreeModel.java (reload): Implemented. + (reload(TreeNode)): Implemented. + 2006-04-25 Tom Tromey <tromey@redhat.com> * javax/swing/JComboBox.java (AccessibleJComboBox): Now public. @@ -6,6 +459,173 @@ * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom): Genericized. +2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): + If clicked on the other row, cancel the current editing session. + +2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java + (NodeDimensionsHandler.getRowX): Add half of the icon width. + (paintExpandControl): Always paint in one gap distance from the left + border of the path bounds. + (paintHorizontalPartOfLeg): Rewritted, taking the icon width + into consideration. + (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds + left edge. + +2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten. + +2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes): + Allow slashes (/) in the unquoted parameter value. + +2006-04-25 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (drawString(String,int,int)): Implemented. + (drawString(String,float,float)): Implemented. + (drawString(AttributedCharacterIterator,int,int)): Implemented. + (drawString(AttributedCharacterIterator,float,float)): Implemented. + (getFontRenderContext): Implemented. + (drawGlyphVector): Implemented. + (getFont): Implemented. + (setFont): Don't change font setting when null. + (getFontMetrics): Implemented. + (fillShape): Re-written to fill call rawFillShape() with a list + of the edges instead of double arrays. + (rawFillShape): Implemented using a polygon scanline conversion. + (fillScanline): New helper method. + (init): Initialize foreground black. Set font. + * gnu/java/awt/java2d/PolyEdge.java: New file. + * gnu/java/awt/java2d/PolyEdgeComparator.java: New file. + +2006-04-25 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/table/DefaultTableColumnModel.java: More API doc updates. + +2006-04-25 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTable.java: Fixed API doc tags, + * javax/swing/text/AsyncBoxView.java: Likewise, + * javax/swing/text/FlowView.java: Likewise. + +2006-04-25 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/table/DefaultTableColumnModel.java + (moveColumn): Call fireColumnMoved() not fireColumnAdded. + +2006-04-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/table/DefaultTableColumnModel.java + (DefaultTableColumnModel): Set selection model field and add 'this' as + listener directly, + (addColumn): Add 'this' as a PropertyChangeListener, + (removeColumn): Remove column before firing event, and remove 'this' as + a PropertyChangeListener, + (setSelectionModel): Remove 'this' as a listener from old model, + (propertyChange): Check for 'width' property rather than + TableColumn.COLUMN_WIDTH_PROPERTY. + +2006-04-24 Chris Burdess <dog@gnu.org> + + Fixes PR 27262 + * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID + attributes when no doctype exists. + +2006-04-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/event/ChangeEvent.java: Updated API docs, + * javax/swing/event/ChangeListener.java: Likewise, + * javax/swing/event/TableColumnModelEventListener.java: Likewise, + * javax/swing/table/DefaultTableColumnModel.java: Likewise, + * javax/swing/table/TableColumnModel.java: Likewise. + +2006-04-24 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/Utilities.java: + (getBreakLocation): Introduced shift variable, added notes. + * javax/swing/text/WrappedPlainView.java: + (calculateBreakPosition): Decrease allocation area bounds by insets, + added early return when allocation area is empty, provide start offset + as argument. + (WrappedPlainView.WrappedLine): Change default value for numLines to 1. + (WrappedPlainView.WrappedLine.paint): Added count variable, update + numLines after loop. + (WrappedPlainView.WrappedLine.determineNumLines): Added early return. + (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement. + (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed + decreasing variable end by one, changed break condition in while-loop, + added check for return value. + (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if + allocation area is empty. + +2006-04-24 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/java2d/Segment.java: New file. + * gnu/java/awt/java2d/CubicSegment.java: New file. + * gnu/java/awt/java2d/QuadSegment.java: New file. + * gnu/java/awt/java2d/LineSegment.java: New file. + * java/awt/BasicStroke.java + (start): New field. + (end): New field. + (createStrokedShape): Implemented. + (solidStroke): New method. + (dashedStroke): New method. + (capEnds): New method. + (convertPath): New method. + (addSegments): New method. + (capEnd): New method. + (lineIntersection): New method. + (joinSegments): New method. + +2006-04-24 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements + Cloneable. + (font): New field. + (clip): Changed clip to be in user space not in target space. + (isOptimized): Added flag to allow optimized drawing for + primitive operations (e.g. for Swing). + (AbstractGraphics2D()): Set foreground in init() to avoid trouble + with the paint context etc. + (draw): Clip the shape before drawing it. + (fill): Clip the shape before drawing it. + (setComposite): Update isOptimized flag. + (setPaint): Likewise. + (setStroke): Likewise. + (translate): Update the clip. + (rotate): Likewise. + (scale): Likewise. + (shear): Likewise. + (transform): Likewise. + (setTransform): Likewise. + (clip): Added optimization for rectangle clips. + (create): Implemented. + (clone): New method. + (setFont): Basic implementation. + (setClip): Update opimization flag. + (drawLine): Added possible optimization. + (fillRect): Added possible optimization. + (fillShape): Implemented shape-filling by filling the flattended + shape using polygon fill. + (drawPixel): Added basic painting. + (rawSetPixel): Changed signature to only take coordinates. + (rawSetForeground): New abstract method. + (getUserBounds): Implemented default for this method. + (rawDrawLine): New method. + (rawFillRect): New method. + (rawFillPolygon): New method. + (init): New method. + (updateOptimization): New method. + (computeIntersection): New method. + (updateClip): New method. + (clipShape): New method. + 2006-04-23 Jeroen Frijters <jeroen@frijters.net> * java/lang/Package.java: Added compatibility constructor to ease @@ -28,6 +648,200 @@ to Package constructor. * vm/reference/java/lang/VMPackage.java: Removed. +2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/swing/TreeDemo.java: + (createContent): Added check box to swith between single and + multiple selection. + * javax/swing/JTree.java (leadSelectionPath): Removed. + (addSelectionInterval): Explained. (getLeadSelectionPath): + Request the path from model. (getPathsBetweenRows): Explained. + (setLeadSelectionPath): Set the path in model. + * javax/swing/plaf/basic/BasicTreeUI.java + (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, + isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten. + (MouseHandler.mousePressed): Call selectPathForEvent. + +2006-04-23 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java: New file. + +2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: + Mention changes to VMProcess and VMSystem. + * doc/vmintegration.texinfo: + Change documentation on VMProcess and VMSystem. + * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h, + * include/gnu_java_awt_peer_gtk_GdkGraphics.h, + * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h, + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, + * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h, + * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h, + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h, + * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h, + * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h, + * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h, + * include/gnu_java_awt_peer_gtk_GtkClipboard.h, + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h, + * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h, + * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h, + * include/gnu_java_awt_peer_gtk_GtkFramePeer.h, + * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h, + * include/gnu_java_awt_peer_gtk_GtkImage.h, + * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h, + * include/gnu_java_awt_peer_gtk_GtkListPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h, + * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h, + * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h, + * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h, + * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h, + * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h, + * include/gnu_java_awt_peer_gtk_GtkSelection.h, + * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h, + * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h, + * include/gnu_java_awt_peer_gtk_GtkToolkit.h, + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h, + * include/gnu_java_awt_peer_qt_MainQtThread.h, + * include/gnu_java_awt_peer_qt_QMatrix.h, + * include/gnu_java_awt_peer_qt_QPainterPath.h, + * include/gnu_java_awt_peer_qt_QPen.h, + * include/gnu_java_awt_peer_qt_QtAudioClip.h, + * include/gnu_java_awt_peer_qt_QtButtonPeer.h, + * include/gnu_java_awt_peer_qt_QtCanvasPeer.h, + * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, + * include/gnu_java_awt_peer_qt_QtChoicePeer.h, + * include/gnu_java_awt_peer_qt_QtComponentPeer.h, + * include/gnu_java_awt_peer_qt_QtContainerPeer.h, + * include/gnu_java_awt_peer_qt_QtDialogPeer.h, + * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, + * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, + * include/gnu_java_awt_peer_qt_QtFontMetrics.h, + * include/gnu_java_awt_peer_qt_QtFontPeer.h, + * include/gnu_java_awt_peer_qt_QtFramePeer.h, + * include/gnu_java_awt_peer_qt_QtGraphics.h, + * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, + * include/gnu_java_awt_peer_qt_QtImage.h, + * include/gnu_java_awt_peer_qt_QtLabelPeer.h, + * include/gnu_java_awt_peer_qt_QtListPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, + * include/gnu_java_awt_peer_qt_QtMenuPeer.h, + * include/gnu_java_awt_peer_qt_QtPanelPeer.h, + * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, + * include/gnu_java_awt_peer_qt_QtScreenDevice.h, + * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, + * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, + * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, + * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, + * include/gnu_java_awt_peer_qt_QtToolkit.h, + * include/gnu_java_awt_peer_qt_QtVolatileImage.h, + * include/gnu_java_awt_peer_qt_QtWindowPeer.h, + * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, + * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h, + * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, + * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h, + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h, + * include/gnu_xml_libxmlj_dom_GnomeAttr.h, + * include/gnu_xml_libxmlj_dom_GnomeDocument.h, + * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h, + * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h, + * include/gnu_xml_libxmlj_dom_GnomeElement.h, + * include/gnu_xml_libxmlj_dom_GnomeEntity.h, + * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h, + * include/gnu_xml_libxmlj_dom_GnomeNode.h, + * include/gnu_xml_libxmlj_dom_GnomeNodeList.h, + * include/gnu_xml_libxmlj_dom_GnomeNotation.h, + * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h, + * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h, + * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h, + * include/gnu_xml_libxmlj_sax_GnomeLocator.h, + * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h, + * include/gnu_xml_libxmlj_transform_GnomeTransformer.h, + * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h, + * include/java_lang_VMProcess.h, + * include/java_lang_VMSystem.h: + Regenerated with GCJ 4.1. + +2006-04-22 Casey Marshall <csm@gnu.org> + + Fixes PR classpath/27228. + * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java + (initialize): also accept `DHParameterSpec.' + * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup): + handle a passed-in `DHParameterSpec' properly. + (generate): don't check if the random exponent is less than `q - + 1' if no `q' was specified. + +2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged): + Only repaint the patches, speficied in the passed event. + (expandPath): Do nothing if the path is already expanded. + (scrollPathToVisible): Only scroll to visible, do nothing else. + * javax/swing/plaf/basic/BasicTreeUI.java + (TreeExpansionHandler.treeColapsed): Revalidate and repaint. + (TreeExpansionHandler.treeExpanded): Revalidate and repaint. + (TreeTraverseAction.actionPerformed): Collapse the node on the + action "selectParent". (selectPath): Rewritten. + * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection): + Fire change event. (notifyPathChange): Implemented. (setSelectionPath): + Do not reuse selection array. + * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath): + Accept null. + * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath): + Accept null. + +2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/tree/DefaultTreeSelectionModel.java + (addSelectionPath): If the path cannot be added, set it. + (addSelectionPaths): Call insureRowContinuity. + (arePathsContiguous): Implemented. + (canPathBeAdded): New private method. + (canPathsBeAdded): Implemented. + (canPathsBeRemoved): Implemented. + (getPath): New private method. + (insureRowContinuity): Implemented. + (removeSelectionPath): Call insureRowContinuity. + (removeSelectionPaths): Call insureRowContinuity. + (resetRowSelection): Removed stub marking, not used in implementation + (nothing to do there). + (selectOne): New private method. + (setSelectionMode) Call insureRowContinuity. + (setSelectionPaths) Remove the current selection by clearing it. + +2006-04-22 Carsten Neumann <cn-develop@gmx.net> + + * javax/sql/Array.java: Fixed eclipse API doc warnings, named method + parameters consistendly, documented some methods. + * java/sql/Blob.java: Likewise. + * java/sql/CallableStatement.java: Likewise. + * java/sql/Clob.java: Likewise. + * java/sql/Connection.java: Likewise. + * java/sql/DatabaseMetaData.java: Likewise. + * java/sql/Date.java: Likewise. + * java/sql/Driver.java: Likewise. + * java/sql/PreparedStatement.java: Likewise. + * java/sql/ResultSet.java: Likewise. + * java/sql/ResultSetMetaData.java: Likewise. + * java/sql/SQLData.java: Likewise. + * java/sql/SQLOutput.java: Likewise. + * java/sql/SQLWarning.java: Likewise. + * java/sql/Statement.java: Likewise. + * java/sql/Time.java: Likewise. + * java/sql/Timestamp.java: Likewise. + 2006-04-21 Jeroen Frijters <jeroen@frijters.net> * java/lang/reflect/AccessibleObject.java: @@ -35,6 +849,481 @@ (getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent): New methods. +2006-04-21 Tom Tromey <tromey@redhat.com> + + PR classpath/27163: + * gnu/java/net/protocol/ftp/FTPConnection.java + (changeWorkingDirectory): Do nothing if path is empty. + +2006-04-21 Tom Tromey <tromey@redhat.com> + + PR libgcj/27231: + * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle + case where no '/' appears in 'location'. + +2006-04-21 Tom Tromey <tromey@redhat.com> + + * java/security/Security.java (<clinit>): Add all default providers. + * resource/java/security/classpath.security: Added comment. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/SpinnerDateModel.java: Updated API docs all over, + * javax/swing/SpinnerNumberModel.java: Likewise. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/SpinnerDateModel.java + (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument + checking to call compareTo() on start and end. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/border/AbstractBorder.java: API doc updates, + * javax/swing/border/BevelBorder.java: Likewise, + * javax/swing/border/CompoundBorder.java: Likewise, + * javax/swing/border/EtchedBorder.java: Likewise, + * javax/swing/border/LineBorder.java: Likewise, + * javax/swing/border/MatteBorder.java: Likewise, + * javax/swing/border/TitledBorder.java: Likewise. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/javax/crypto/cipher/Anubis.java: + (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean + instance, + * gnu/javax/crypto/cipher/Blowfish.java: + (selfTest): Likewise, + * gnu/javax/crypto/cipher/Cast5.java: + (selfTest): Likewise, + * gnu/javax/crypto/cipher/Khazad.java: + (selfTest): Likewise, + * gnu/javax/crypto/cipher/Rijndael.java: + (selfTest): Likewise, + * gnu/javax/crypto/cipher/Serpent.java: + (selfTest): Likewise, + * gnu/javax/crypto/cipher/Square.java: + (selfTest): Likewise, + * gnu/javax/crypto/cipher/Twofish.java: + (selfTest): Likewise, + * gnu/javax/crypto/mac/UMac32.java: + (selfTest): Likewise, + * gnu/javax/crypto/prng/CSPRNG.java: + (getSystemInstance): Likewise. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/java/security/hash/Haval.java: + (selfTest): Use Boolean.valueOf() to avoid creating new Boolean + instance, + * gnu/java/security/hash/MD2.java: + (selfTest): Likewise, + * gnu/java/security/hash/MD4.java: + (selfTest): Likewise, + * gnu/java/security/hash/MD5.java: + (selfTest): Likewise, + * gnu/java/security/hash/RipeMD128.java: + (selfTest): Likewise, + * gnu/java/security/hash/RipeMD160.java: + (selfTest): Likewise, + * gnu/java/security/hash/Sha160.java: + (selfTest): Likewise, + * gnu/java/security/hash/Sha256.java: + (selfTest): Likewise, + * gnu/java/security/hash/Sha384.java: + (selfTest): Likewise, + * gnu/java/security/hash/Sha512.java: + (selfTest): Likewise, + * gnu/java/security/hash/Tiger.java: + (selfTest): Likewise, + * gnu/java/security/hash/Whirlpool.java: + (selfTest): Likewise. + +2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java + (PropertyChangeHandler.propertyChange): Set the row mapper + for the selection model. + * javax/swing/tree/AbstractLayoutCache.java + (NodeDimensions.getNodeDimensions): Explained. + (getPreferredHeight, getPreferredWidth, isFixedRowHeight): + Implemented. (setRowHeight): Invalidate sizes. + * javax/swing/tree/DefaultTreeSelectionModel.java + (addSelectionPath, addSelectionPaths): Update lead row. + (removeSelectionPath, removeSelectionPaths): Do nothing if + selection is empty. + (clone): Only clone list selection model if it is not null. + (getRow): New method. (isRowSelected, getLeadSelectionRow, + setSelectionPath, setSelectionPaths, toString): Implemented. + * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds): + Pass the empty rectangle. (isFixedRowHeight): New method. + * javax/swing/tree/VariableHeightLayoutCache.java + (NodeRecord.getBounds): Pass the empty rectangle. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/java/security/Properties.java + (init): Use Boolean.valueOf() to avoid creating new Boolean instances. + +2006-04-21 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/classpath/jdwp/util/Value.java + (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid + creating new Boolean instances. + +2006-04-20 Mark Wielaard <mark@klomp.org> + + * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in + PrivilegedAction. Access awt.toolkit through SystemProperties. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/ActionMap.java: Removed unused imports, + * javax/swing/DefaultListSelectionModel.java + (clearSelection): Removed unused label, + * javax/swing/JScrollPane.java: Removed unused imports, + * javax/swing/UIManager.java: Likewise, + * javax/swing/table/DefaultTableCellRenderer.java: Likewise. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports, + * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise, + * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise, + * javax/swing/plaf/basic/BasicTextUI.java: Likewise, + * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * java/sql/Array.java: Fixed Eclipse API doc warnings, + * java/sql/Blob.java: Likewise, + * java/sql/CallableStatement.java: Likewise, + * java/sql/Clob.java: Likewise, + * java/sql/Connection.java: Likewise, + * java/sql/DatabaseMetaData.java: Likewise, + * java/sql/Date.java: Likewise, + * java/sql/Driver.java: Likewise, + * java/sql/PreparedStatement.java: Likewise, + * java/sql/ResultSet.java: Likewise, + * java/sql/ResultSetMetaData.java: Likewise, + * java/sql/SQLData.java: Likewise, + * java/sql/SQLOutput.java: Likewise, + * java/sql/SQLWarning.java: Likewise, + * java/sql/Statement.java: Likewise, + * java/sql/Time.java: Likewise, + * java/sql/Timestamp.java: Likewise. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * java/sql/DriverManager.java + (setLoginTimeout): Use incoming argument, + (setLogStream): Likewise, + (println): Fix API doc comment. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JMenuItem.java + (paramString): Updated API docs, + (getAccessibleContext): Added API docs, + (AccessibleJMenuItem.stateChanged): Marked as stub, + (AccessibleJMenuItem.getAccessibleRole): Added API docs, + * javax/swing/JSlider.java + (paramString): Fix for API docs, + * javax/swing/JToolTip.java + (getAccessibleContext): Fix for API docs. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JRadioButtonMenuItem.java + (paramString): Reimplemented, + (getAccessibleContext): API docs added, + (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): + Likewise, + (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise. + +2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java + (finish): Invalidate path bounds. + (getMaxHeight): Set the row height to the layout cache. + (startEditing): Do not request to recalculated + row height and preferred size. + * javax/swing/tree/DefaultTreeCellEditor.java + (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing + with 0. + * javax/swing/tree/FixedHeightLayoutCache.java: + Rewritten. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JDesktopPane.java + (paramString): Reimplemented, + plus API doc updates in AccessibleJDesktopPane. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/ImageIcon.java: + (AccessibleImageIcon.getAccessibleStateSet): Return null always, + (AccessibleImageIcon.getLocale): Declared exception and always return + null, + (getAccessibleContext): Updated API docs, + plus updated API docs all over AccessibleImageIcon. + +2006-04-20 Roman Kennke <kennke@aicas.com> + + PR 27196 + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (paintText): Fetch the ascent only once. Add the ascent to + the text rect also when tabs are disabled. + +2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * java/util/Locale.java (defaultLocale): Set to en_US per + default and use user.country but prioritize user.region if + defined. + (getLocale(String language, String country)): Renamed region to + country. + (getLocale(String language, String region, String variant)): + Likewise. + (getAvailableLocales): Likewise. + +2006-04-20 Roman Kennke <kennke@aicas.com> + + PR 27222 + * javax/swing/JList.java + (JList()): Call init() with DefaultListModel instance. + (JList(Object[])): Call init() with null. + (JList(Vector)): Call init() with null. + (JList(ListModel)): Call init() with model. + (init): Changed to take the model as argument. Don't call + setter methods and initialize stuff directly instead. + (getCellBounds): Check if UI is null. + +2006-04-20 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/WrappedPlainView.java: Initialize + WrappedLine.numLines with -1. + (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether + numLines is -1 and reculcalate the value appropriately. + (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if + allocation area is empty. + +2006-04-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTabbedPane.java + (AccessibleJTabbedPane.stateChanged): Marked as stub, + (AccessibleJTabbedPane.getAccessibleRole): Likewise, + (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise, + (AccessibleJTabbedPane.getAccessibleSelection): Likewise, + (AccessibleJTabbedPane.getAccessibleAt): Likewise, + (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise, + (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise, + (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise, + (AccessibleJTabbedPane.addAccessibleSelection): Likewise, + (AccessibleJTabbedPane.removeAccessibleSelection): Likewise, + (AccessibleJTabbedPane.clearAccessibleSelection): Likewise, + (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise, + (Page.getAccessibleStateSet): Likewise, + (Page.getAccessibleIndexInParent): Likewise. + +2006-04-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JProgressBar.java + (paramString): Reimplemented. + +2006-04-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JButton.java: Updated API docs all over. + +2006-04-19 Roman Kennke <kennke@aicas.com> + + * java/awt/Toolkit.java + (getDefaultToolkit): Use system classloader to load the + toolkit. + +2006-04-19 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/DefaultCaret.java: + (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl + instead of DefaultCaret.setDot. + +2006-04-19 Roman Kennke <kennke@aicas.com> + + * native/jni/java-net/local.c + (local_read): Handle EINTR correctly. + (local_write): Likewise. + +2006-04-19 Riccardo Mottola <multix@gmail.com> + + PR classpath/27062, PR classpath/25650: + * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2. + +2006-04-19 Tom Tromey <tromey@redhat.com> + + * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute + value of 'pureMinutes'. PR classpath/27189. + +2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com> + + * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads + boot packages list from the META-INF/INDEX.LIST file if it exists. + +2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au> + + Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk> + * gnu/javax/crypto/prng/IPBE.java: Updated documentation. + (ITERATION_COUNT): Removed modifiers. + (PASSWORD): Likewise. + (SALT): Likewise. + (PASSWORD_ENCODING): New property. + (DEFAULT_PASSWORD_ENCODING): New constant. + * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key + material (bytes) before a password (chars). + +2006-04-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JMenu.java + (getAccessibleChildrenCount): Marked as stub, + (getAccessibleChild): Likewise, + (getAccessibleSelection): Likewise, + (getAccessibleSelection(int)): Likewise, + (isAccessibleChildSelected): Likewise, + (getAccessibleSelectionCount): Likewise, + (addAccessibleSelection): Likewise, + (removeAccessibleSelection): Likewise, + (clearAccessibleSelection): Likewise, + (selectAllAccessibleSelection): Likewise. + +2006-04-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JSplitPane.java + (getAccessibleContext): Added API docs, + (paramString): Reimplemented, + (setOrientation): Updated API docs, + (setResizeWeight): Added argument checking and event notification. + +2006-04-18 Casey Marshall <csm@gnu.org> + + Fixes PR classpath/25673 + * java/security/KeyStore.java (getDefaultType): return "gkr" if no + property is set. Update JavaDoc to reflect this. + +2006-04-18 Lillian Angel <langel@redhat.com> + + * gnu/xml/dom/DomDocument.java + (setCheckingCharacters): New function used to set + checkingCharacters flag. + * gnu/xml/dom/html2/DomHTMLParser.java + (parseDocument): Added call to set checkingCharacters flag + to false. + +2006-04-18 Lillian Angel <langel@redhat.com> + + * gnu/xml/dom/DomDocument.java + (checkNCName): Reverted last patch. Added check for colon at + last position back in. + +2006-04-18 Robert Schuster <robertschuster@fsfe.org> + + * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java: + New file. + * examples/gnu/classpath/examples/swing/Demo.java: + (mkMenuBar): Added NavigationFilter demo. + +2006-04-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JSeparator.java: Updated API docs all over, plus + (setOrientation): Fire PropertyChangeEvent, + (paramString): Reimplemented. + +2006-04-18 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicTextUI.java: Implemented. + +2006-04-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JPanel.java: Updated API docs all over, plus + (JPanel(LayoutManager, boolean)): Pass on null layout, set + double-buffer flag. + +2006-04-18 Robert Schuster <robertschuster@fsfe.org> + + * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java: + New file. + * examples/gnu/classpath/examples/swing/Demo.java: + (mkMenuBar): Added DocumenFilter demo. + +2006-04-18 Tom Tromey <tromey@redhat.com> + + * doc/www.gnu.org/include/layout.wml: Add FMJ. + +2006-04-18 Mark Wielaard <mark@klomp.org> + + Reported by John Sullivan (johns@fsf.org) + * doc/www.gnu.org/stories.wml: Update JikesRVM location. + +2006-04-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JInternalFrame.java + (JDesktopIcon.getAccessibleContext): Added API docs, + (getDefaultCloseOperation): Likewise, + (paramString): Added 'title' attribute, + (setDefaultCloseOperation): Added API docs. + +2006-04-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JSlider.java + (paramString): Reimplemented. + +2006-04-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComboBox.java + (paramString): Reimplemented, + (getAccessibleContext): Added API docs, + (AccessibleJComboBox.getAccessibleRole): Likewise. + +2006-04-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/RepaintManager.java + (dirtyComponentsWork): New field. + (ComponentComparator): Use dirtyComponentsWork instead of + dirtyComponents. + (RepaintManager): Initialize new field. + (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork + and work on the copy. + +2006-04-18 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/swing/SwingComponentPeer.java + (setBounds): Call reshape(). + * gnu/java/awt/peer/swing/SwingContainerPeer.java + (SwingContainerPeer): Changed argument to be a Component + instead a Container. + (getInsets): Call insets(). + (handleMouseEvent): Added null check to avoid NPE. + (handleMouseMotionEvent): Added null check to avoid NPE. + +2006-04-18 Roman Kennke <kennke@aicas.com> + + PR 27185 + * javax/swing/JComponent.java + (paintChildrenWithOverlap): When one child is not opaque, propagate + the dirty rectangles to the next child. + (paintChildrenOptimized): Removed unnecessary 'optimization'. + This actually didn't work right and probably gained nothing. + +2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JTable.java (getCallRect): Do not cache rectangles. + (moveToCellBeingEdited): Do not clone the rectangle here. + +2006-04-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (getActionMap): Fixed lookup key, + (createActionMap): Modified actions to fetch slider/ui from the event + source. + 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/lang/Enum.java: Documented. @@ -57,6 +1346,144 @@ * java/lang/annotation/Annotation.java: Documented. +2006-04-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JToolBar.java + (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs, + (AccessibleJToolBar.getAccessibleStateSet): Implemented, + (AccessibleJToolBar.getAccessibleRole): Updated API docs, + (getAccessibleContext): Likewise. + +2006-04-17 Dalibor Topic <robilad@kaffe.org> + + * configure.ac: + Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS. + + * native/fdlibm/Makefile.am, + native/jni/classpath/Makefile.am: + Don't use -module and -version-info for convenience libraries LDFLAGS. + Fixes libtool warnings. + +2006-04-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicComboPopup.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicLabelUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicListUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicMenuBarUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicMenuUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicOptionPaneUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicPopupMenuUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicScrollBarUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicScrollPaneUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicSplitPaneUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicTabbedPaneUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicTableHeaderUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicTableUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicTextUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise, + * javax/swing/plaf/basic/BasicToolBarUI.java: + (installKeyboardActions): Marked as stub, + (uninstallKeyboardActions): Likewise. + +2006-04-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (installKeyboardActions): Implemented, + (uninstallKeyboardActions): Implemented, + (scrollByBlock): Accept any value for direction, + (scrollByUnit): Likewise, + (getInputMap): New method, + (getActionMap): New method, + (createActionMap): New method. + + +2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * doc/vmintegration.texinfo: + Fix sectioning. + +2006-04-16 Tom Tromey <tromey@redhat.com> + + * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps. + +2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: + Mention generics additions to the VM interface. + * doc/vmintegration.texinfo: + Added information on VMClass 1.5 additions and + VMSecureRandom. + +2006-04-16 Casey Marshall <csm@gnu.org> + + * NEWS: add an entry mentioning local socket support. + +2006-04-16 Casey Marshall <csm@gnu.org> + + * configure.ac (--enable-local-sockets): new enable argument. + (ENABLE_LOCAL_SOCKETS): new define. + * native/jni/java-net/Makefile.am (local_sources): new variable. + (lib_javanet_la_SOURCES): append `local_sources.' + * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c, + * native/jni/java-net/local.c, + * native/jni/java-net/local.h, + * include/gnu_java_net_local_LocalSocketImpl.h, + * gnu/java/net/local/LocalServerSocket.java, + * gnu/java/net/local/LocalSocket.java, + * gnu/java/net/local/LocalSocketAddress.java, + * gnu/java/net/local/LocalSocketImpl.java: new files. + +2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/accessibility/AccessibleAction.java: + (DECREMENT): Added field. + (INCREMENT): Likewise. + (TOGGLE_EXPAND): Likewise. + * javax/accessibility/AccessibleRole.java: + (EDITBAR): Added field. + (FOOTER): Likewise. + (HEADER): Likewise. + (PARAGRAPH): Likewise. + (PROGRESS_MONITOR): Likewise. + (RULER): Likewise. + * javax/accessibility/AccessibleState.java: + (INDETERMINATE): Added field. + (MANAGES_DESCENDANTS): Likewise. + (TRUNCATED): Likewise. + 2006-04-14 Tom Tromey <tromey@redhat.com> * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners): @@ -64,6 +1491,91 @@ * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom): Genericized. +2006-04-14 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/DefaultCaret.java: + (getBypass): New method. + (moveDot): Rewritten. + (moveDotImpl): New method. + (setDot): Rewritten. + (setDotImpl): New method. + (DefaultCaret.Bypass): New class. + +2006-04-14 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/AbstractDocument.java: + (getBypass): New method. + (insertString): Rewritten. + (remove): Rewritten. + (replace): Rewritten. + (insertStringImpl): New method. + (removeImpl): New method. + (replaceImpl): New method. + (AbstractDocument.Bypass): New class. + +2006-04-14 Casey Marshall <csm@gnu.org> + + Fixes PR classpath/24642 + * NEWS: add note about SecureRandom changes, and addition of + VMSecureRandom. + * java/security/SecureRandom.java (isSeeded): new field. + (setSeed, setSeed): set `isSeeded' to `true.' + (nextBytes): seed this instance if `isSeeded' is false. + (getSeed): call `generateSeed.' + (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants. + (generateSeed, generateSeed): new methods. + * vm/reference/java/security/VMSecureRandom.java: new file. + +2006-04-14 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/FieldView.java: + (paint): Apply clipping rectangle of the allocation area + before painting the text. + * javax/swing/text/DefaultHighlighter.java: + (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to + compute union and intersection, calculate intersection with allocation + area before painting, adjust x and width when painting multiple lines + by the range of the allocation area. + +2006-04-14 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/DefaultHighlighter.java: + (paintLayeredHighlights): Marked as stub. + +2006-04-14 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicTextFieldUI.java: + (propertyChanged): Added note, change color only if current background + is a ColorUIResource instance. + +2006-04-14 Tom Tromey <tromey@redhat.com> + + * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer + a stub. + (next): Likewise. + +2006-04-14 Tom Tromey <tromey@redhat.com> + + * javax/swing/JComboBox.java (AccessibleJComboBox): Now public. + +2006-04-14 Mark Wielaard <mark@klomp.org> + + * java/lang/Thread.java (getUncaughtExceptionHandler): Return + thread group when exceptionHandler isn't set. + * vm/reference/java/lang/VMThread.java (run): Use result of + thread.getUncaughtExceptionHandler directly. + +2006-04-14 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JSplitPane.java + (AccessibleJSplitPane.getAccessibleStateSet): Implemented, + (AccessibleJSplitPane.getAccessibleRole): Implemented, + (AccessibleJSplitPane.getAccessibleValue): Implemented, + (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented, + (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented, + (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented, + (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented. + 2006-04-10 Tom Tromey <tromey@redhat.com> * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue): @@ -3417,6 +4929,21 @@ * vm/reference/gnu/classpath/Unsafe.java: New class to handle low-level facilities for concurrency. +2006-03-19 Michael Barker <mike@middlesoft.co.uk> + + * vm/reference/gnu/java/nio/VMChannel.java: Added, supports setting + non-blocking and scatter-gather io operations. + * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel + * gnu/java/nio/SelectorImpl.java + (register) Added condition for gnu.java.nio.SocketChannelSelectionKeyImpl + * gnu/java/nio/SocketChannelSelectionKeyImpl.java Added. + * gnu/java/nio/channels/FileChannelImpl.java: Retrofitted to use VMChannel + * java/nio/FileChannel.java + (read (ByteBuffer)) Changed to call abstract method. + (write (ByteBuffer)) Changed to call abstract method. + * include/gnu_java_nio_VMChannel.h: Added. + * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added. + 2006-03-19 Mark Wielaard <mark@klomp.org> * include/Makefile.am: Rename PlainDatagramSocketImpl to @@ -12164,7 +13691,7 @@ Added deprecated tag. * javax/swing/text/JTextComponent.java (AccessibleJTextComponent): Fixed API doc and - partially implemented. + partiall9 implemented. (getCaretPosition): Fixed API doc and implemented. (getSelectedText): Fixed API doc. (getSelectionStart): Likewise. |