diff options
Diffstat (limited to 'libjava/classpath/ChangeLog')
-rw-r--r-- | libjava/classpath/ChangeLog | 10772 |
1 files changed, 10668 insertions, 104 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index 4e401a4a3cc..8aca3f97844 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -14,58 +14,9879 @@ * ltconfig: chmod 644 before ranlib during install. +2006-08-09 Mark Wielaard <mark@klomp.org> + + * configure.ac (VERSION): Set to 0.92. + * NEWS: Add updates for 0.92 release. + +2006-08-08 Roman Kennke <kennke@aicas.com> + + PR 28650 + * javax/swing/plaf/basic/BasicMenuBarUI.java + (getActionMap): Store ActionMap in MenuBar.actionMap, rather + than Tree.actionMap. + * javax/swing/plaf/basic/BasicTreeUI.java + (action): Removed obsolete field. + (uninstallKeyboardActions): Removed action field handling. + (installKeyboardActions): Removed action field handling. + (createDefaultActions): Don't install removed TreeAction. + (TreeAction): Removed obsolete inner class. + (ActionListenerProxy): Removed obsolete inner class. + (MouseHandler.mousePressed): Request focus on JTree component + on mouse press. + +2006-08-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicListUI.java + (MouseInputHandler.mousePressed): Request focus on list + component. + +2006-08-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTableUI.java + (MouseInputHandler.mousePressed): Request focus on list + component. + +2006-08-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (damageRange(JTextComponent,int,int)): Call damageRange() with + correct biases, rather than null. + (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten + to use simpler modelToView() approach without much special + casing. This seems not worth the effort and actually + caused problems. Added locking of the document. + * javax/swing/text/BoxView.java + (requirementsValid): New field. + (calculateMajorAxisRequirements): Rewritten without using + SizeRequirements. The SizeRequirements algorithms are slightly + different and too inefficient. + (calculateMinorAxisRequirements): Rewritten without using + SizeRequirements. The SizeRequirements algorithms are slightly + different and too inefficient. + (getAlignment): Simply return the alignment of the cached + requirements. + (getMaximumSpan): Add insets. + (getMinimumSpan): Add insets. + (getPreferredSpan): Add insets. + (layoutMajorAxis): Rewritten without using + SizeRequirements. The SizeRequirements algorithms are slightly + different and too inefficient. + (layoutMinorAxis): Rewritten without using + SizeRequirements. The SizeRequirements algorithms are slightly + different and too inefficient. + (modelToView): Call setSize() rather than layout(). + (paint): Check clip for more efficient painting. + (preferenceChanged): Invalidate requirements here. + (replace): Invalidate requirements here. + (updateRequirements): Update requirements only when requirements + are marked invalid. + * javax/swing/text/CompositeView.java + (modelToView): Added some more checks and handling of corner cases. + * javax/swing/text/FlowView.java + (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum + span to Integer.MAX_VALUE. Limit preferredSize to minimumSize. + * javax/swing/text/IconView.java + (getAlignment): Implemented to return 1.0 for vertical alignment. + * javax/swing/text/ParagraphView.java + (Row.getMaximumSpan): Implemented to let Rows span the whole + ParagraphView. + (getAlignment): Fixed horizontal alignment and vertical alignment + for empty paragraphs to be 0.5. + +2006-08-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/View.java + (modelToView): Added special handling for corner case at the end + of the view and for multiline views. + +2006-08-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (modelToView): Read-lock the document. Set size of the + root view before fetching the model-to-view mapping. + (getViewIndex): Check of the position is inside the range and + return -1 if this is not the case. + (getViewAtPosition(int,Rectangle): Update child allocation for valid + view index. + (getViewIndexAtPosition(int)): Delegate the index search to + the element since we have a 1:1 mapping between elements and + views here. + * javax/swing/text/DefaultCaret.java + (appear): Ignore BadLocationException. + (paint): Ignore BadLocationException. + * javax/swing/text/FlowView.java + (changedUpdate): Also notify the layoutPool view. + (removeUpdate): Also notify the layoutPool view. + * javax/swing/text/ParagraphView.java + (Row.getViewIndexAtPosition): Overridden to search linearily + through the view instead of relying on a 1:1 model to view + mapping. + * javax/swing/text/View.java + (removeUpdate): Clear ElementChange object if updateChildren + returns false. + (forwardUpdate): Special handle some boundary cases. + +2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/key/dss/DSSKey.java: Updated documentation. + (hasInheritedParameters): New method. + (equals): Updated documentation. + Take into consideration the outcome of hasInheritedParameters invocation. + (toString): Call hasInheritedParameters and adjust the result accordingly. + * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey): + Updated documentation. + Handle case of public keys with null p, q, and g MPIs. + (decodePublicKey): Handle case of absent or NULL p, q and g MPIs. + +2006-08-07 Tom Tromey <tromey@redhat.com> + + PR libgcj/23682: + * java/nio/channels/SelectionKey.java (attach): Now synchronized. + (attachment): Likewise. + * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now + synchronized. + (isValid): Likewise. + * gnu/java/nio/SelectionKeyImpl.java (impl): Now final + (ch): Likewise. + (interestOps): Synchronize. + (readyOps): Likewise. + * gnu/java/nio/SelectorImpl.java (register): Synchronize around + interestOps call. + +2006-08-07 C. Scott Marshall <csm@gnu.org> + + Fixes PR 28608. + * java/nio/DirectByteBufferImpl.java (duplicate): only reset if + the mark has been set. + * native/jni/java-nio/java_nio_VMDirectByteBuffer.c + (Java_java_nio_VMDirectByteBuffer_allocate): zero out the + allocated data. + +2006-08-07 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawGlyphVector): Synchronize against font object when drawing. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (nativeDrawGlyphVector): Use pango locking when drawing. + (install_font_peer): Use pango locking when creating the cairo face. + +2006-08-06 Roman Kennke <kennke@aicas.com> + + PR 28571 + * gnu/java/awt/peer/gtk/GtkCanvasPeer.java + (getPreferredSize): Renamed method to preferredSize(). That's + the one that gets called from java.awt.*. + * java/awt/peer/ComponentPeer.java + (getPreferredSize): Added specnote about this method never + beeing called in the RI. + (getMinimumSize): Added specnote about this method never + beeing called in the RI. + +2006-08-06 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (grab, nativeGrab): New methods. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (nativeGrab): New method. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (print): Implement. + * java/awt/Component.java + (printAll): Should call peer print method. + +2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com> + + * java/net/URL.java (getContent(Class[])): Implement. + +2006-08-06 Mark Wielaard <mark@klomp.org> + + PR 28555 + Suggested by Matthew Burgess <matthew@linuxfromscratch.org> + * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether + withParams is null. + * gnu/xml/transform/ForEachNode.java (clone): Check whether + sortKeys is null. + +2006-08-06 Roman Kennke <kennke@aicas.com> + + * NEWS: Added note about the X peers. + * INSTALL: Added install notes about the X peers. + +2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au> + Paul Jenner <psj@harker.dyndns.org> + + * README: Update bug, patches and cvs instructions plus new URLs of + various external projects. + +2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com> + + * configure.ac (MOZILLA_FOUND): Fall back to + mozilla-firefox-plugin. + +2006-08-06 Mario Torre <neugens@limasoftware.net> + + Reported by Raif S. Naffah <raif@swiftdsl.com.au> + * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client): + g_type_init earlier in function to correctly initialize the + type system used by the backend. + +2006-08-05 Robert Schuster <robertschuster@fsfe.org> + + Reported by Henrik Gulbrandsen <henrik@gulbra.net> + Fixes PR27864. + * gnu/xml/dom/DomIterator.java: + (successor): Added if-statement. + +2006-08-03 Roman Kennke <kennke@aicas.com> + + PR 27606 + * javax/swing/plaf/basic/BasicListUI.java + (paintCell): Pass row index to cell renderer. + * javax/swing/plaf/basic/MetalFileChooserUI.java + (DirectoryComboBoxRenderer.indentIcon): New field. + (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer): + Initialize indentIcon. + (DirectoryComboBoxRenderer.getListCellRendererComponent): + Fall back to super and removed standard functionality. + Handle indentation. + (IndentIcon): New class. Wraps and indents another icon. + +2006-08-03 Roman Kennke <kennke@aicas.com> + + PR 27605 + * javax/swing/JComboBox.java + (setSelectedItem): Fire ActionEvent here. + * javax/swing/plaf/basic/BasicDirectoryModel.java + (directories): Changed to type Vector. + (files): New field. + (loadThread): New field. + (DirectoryLoadThread): New inner class. This loads the contents + of directories asynchronously. + (getDirectories): Return cached Vector. + (getFiles): Return cached Vector. + (getSize): Return plain size of contents Vector. + (propertyChange): Reread directory also for DIRECTORY_CHANGED, + FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED. + (sort): Don't store sorted list in contents. This must be done + asynchronously from the EventThread. + (validateFileCache): Rewritten for asynchronous reading + of directory contents. + * javax/swing/plaf/basic/BasicFileChooserUI.java + (installListeners): Install model as PropertyChangeListener. + (uninstallListeners): Uninstall model as PropertyChangeListener. + (createPropertyChangeListener): Return null just like the + RI. + +2006-08-03 Roman Kennke <kennke@aicas.com> + + PR 27604 + * javax/swing/plaf/basic/BasicChooserUI.java + (BasicFileView.getName): Fetch the real name from the + file chooser's FileSystemView. + * javax/swing/plaf/metal/MetalChooserUI.java + (DirectoryComboBoxRenderer.getListCellRendererComponent): + Set the text fetched from the JFileChooser.getName(). + * javax/swing/FileSystemView.java + (createFileObject): When file is a filesystem root, + create a filesystem root object first. + (getSystemDisplayName): Return the filename. Added specnote + about ShellFolder class that is mentioned in the spec. + * javax/swing/UnixFileSystemView.java + (getSystemDisplayName): Implemented to return the real name + of a file, special handling files like '.' or '..'. + +2006-08-03 Roman Kennke <kennke@aicas.com> + + PR 28562 + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (PropertyChangeHandler.propertyChange): Cleanly reinstall + components when visual property chanegs. + +2006-08-03 Roman Kennke <kennke@aicas.com> + + PR 28562 + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (PropertyChangeHandler.propertyChange): Uninstall and reinstall + component when visual properties change. + +2006-08-03 Roman Kennke <kennke@aicas.com> + + PR 28534 + * javax/swing/JTree.java + (JTree(TreeModel)): Set cell renderer to null. + * javax/swing/plaf/basic/BasicTreeUI.java + (setCellRenderer): Finish editing before setting the + cell renderer. Refresh the layout. Don't set the + currentCellRenderer field here (that's done in updateRenderer). + (updateRenderer): Handle createdRenderer field here too. + Set renderer to a default handler when the current renderer + in the JTree is null. + +2006-08-03 Mark Wielaard <mark@klomp.org> + + * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh. + +2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au> + + * scripts/import-cacerts.sh: Batch CA certificates import script. + +2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/28556 + * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java + (encodePrivateKey): Updated documentation to clarify that RFC-2459 + states that the parameters field of the AlgorithmIdentifier element + MUST be NULL if present. Amended the code to reflect the specs. + (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters. + +2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/23899 + * java/security/SecureRandom.java (next): Call nextBytes as per specs. + +2006-08-03 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add + -avoid-version. + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): + Likewise. + * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): + Likewise. + * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): + Likewise. + +2006-08-03 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add + -avoid-version. + +2006-08-03 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * examples/gnu/classpath/examples/management/TestBeans.java: + New file. + * javax/management/MBeanAttributeInfo.java: + (toString()): Implemented. + * javax/management/MBeanConstructorInfo.java: + (toString()): Implemented. + * javax/management/MBeanFeatureInfo.java: + (toString()): Implemented. + * javax/management/MBeanInfo.java: + (toString()): Implemented. + * javax/management/MBeanNotificationInfo.java: + (toString()): Implemented. + * javax/management/MBeanOperationInfo.java: + (toString()): Implemented. + * javax/management/MBeanParameterInfo.java: + (toString()): Implemented. + * javax/management/StandardMBean.java: + (getMBeanInfo()): Fix attribute naming. + +2006-08-02 Mark Wielaard <mark@klomp.org> + + PR 28535 + * configure.ac (gconf-peer): Check for gdk-2.0. + * native/jni/gconf-peer/Makefile.am + (AM_LDFLAGS): Use GDK_LIBS. + (AM_CFLAGS): Use GDK_CFLAGS. + +2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au> + + * java/security/Provider.java: Updated copyright year. + Updated documentation. + Formatting. + (put): Updated documentation. + Added security manager check. + Canonicalize the key before adding its mapping. + (get): Override superclass implementation to use canonicalized keys. + (remove): Updated documentation. + Added security manager check. + Canonicalize the key before removing its mapping. + (clear): Updated documentation. + Added security manager check. + (toCanonicalKey): New method. + +2006-07-30 Matt Wringe <mwringe@redhat.com> + + * gnu/java/security/Engine.java + (getInstance): Ignore self referencing aliases. + +2006-07-30 Mark Wielaard <mark@klomp.org> + + * resource/java/security/classpath.security: Add /dev/urandom as + default securerandom.source. + +2006-07-30 Mark Wielaard <mark@klomp.org> + + * java/util/GregorianCalendar.java (maximums): Months can have up to + 6 weeks. + (nonLeniencyCheck): weeks is either 5 or 6. + +2006-07-29 Mark Wielaard <mark@klomp.org> + + * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed + static field isPaintingDoubleBuffered to not have the same name + as a method. + +2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/BeanImpl.java: + Extended javax.management.StandardMBean. + * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, + * gnu/java/lang/management/CompilationMXBeanImpl.java, + * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, + * gnu/java/lang/management/MemoryMXBeanImpl.java, + * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, + * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, + * gnu/java/lang/management/OperatingSystemMXBeanImpl.java, + * gnu/java/lang/management/RuntimeMXBeanImpl.java, + * gnu/java/lang/management/ThreadMXBeanImpl.java: + Call the superclass with the appropriate class. + * java/lang/management/ManagementFactory.java: + (getOperatingSystemMXBean()): Catch exception from + StandardMBean. + (getRuntimeMXBean()): Likewise. + (getClassLoadingMXBean()): Likewise. + (getThreadMXBean()): Likewise. + (getMemoryMXBean()): Likewise. + (getCompilationMXBean()): Likewise. + (getMemoryPoolMXBeans()): Likewise. + (getMemoryManagerMXBeans()): Likewise. + (getGarbageCollectorMXBeans()): Likewise. + * javax/management/MBeanFeatureInfo.java: + (hashCode()): Fixed to check for null values. + +2006-07-29 Matt Wringe <mwringe@redhat.com> + + * gnu/java/security/Engine.java + (getInstance): Add case insentivity to algorithm names + * java/security/Provider.java + (put): Stop using canonical key naming + (remove): Likewise + (toCanonicalKey): Method removed + (get): Method removed, no longer needs to overwrite + parent implementation + +2006-07-29 Sven de Marothy <sven@physto.se> + + * java/math/BigDecimal.java + Adjust copyright date. + (divide(BigDecimal): Implement. + (precision): Reimplement. + (numDigitsInBigInteger, numDigitsInLong): Removed. + (toString): Get exponent from string length, + fix negative values with exponential form. + (toEngineeringString): Same as for toString. + (setScale): Throw ArithmeticException if scale < 0. + +2006-07-27 Francis Kung <fkung@redhat.com> + + * gnu/java/awt/java2d/CubicSegment.java: Added import. + (cp1): Renamed from first(). + (c2): Renamed from last(). + (first): Renamed to cp1(). + (getDisplacedSegments): Implemented. + (last): Renamed to cp2(). + * gnu/java/awt/java2d/LineSegment.java + (cp1): Renamed from first(). + (c2): Renamed from last(). + (first): Renamed to cp1(). + (last): Renamed to cp2(). + * gnu/java/awt/java2d/QuadSegment.java + (cp1): Renamed from first(). + (c2): Renamed from last(). + (first): Renamed to cp1(). + (last): Renamed to cp2(). + * gnu/java/awt/java2d/Segment.java: Added comments. + (first): New field. + (Segment): Keep track of first element in list. + (add): Update first & last element variables. + (cp1): Renamed from first(). + (c2): Renamed from last(). + (first()): Renamed to cp1() to reduce ambiguity. + (last()): Renamed to cp2() to reduce ambiguity. + (reverseAll): Update first element variable.. + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (draw): Remove flattening path iterator. + * java/awt/BasicStroke.java: Clarified comments. + (addSegments): Refactored some code into joinSegments and + joinInnerSegments. + (capEnd): Rename of Segment.first() and Segment.end(). + (joinInnerSegments): New method. + (joinOuterSegments): New method. + (joinSegments): Refactored some code into joinOuterSegments. + (solidStroke): Connect segments together properly. + +2006-07-27 Tom Tromey <tromey@redhat.com> + + PR classpath/28486: + * java/net/URLStreamHandler.java (equals): Properly handle default + port. Rewrote javadoc. Don't compare 'authority' parts of URLs. + +2006-07-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/AbstractDocument.java + (documentCV): Made field private. + (bypass): Made field private. + (bidiRoot): New field. + (AbstractDocument): Initialize bidiRoot. + (getBidiRootElement): Return bidiRoot. + (getRootElements): Adjusted to also return the bidiRoot element. + (BranchElement.startOffset): Removed unneeded field. + (BranchElement.endOffset): Removed unneeded field. + (BranchElement.BranchElement): Removed unneeded fields. + (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is + done automatically when there's no element left in the array. + (BranchElement.getStartOffset): Likewise. + (BranchElement.replace): Reordered calculations to avoid double + calculations. + (removeImpl): Silently ignore requests with length <= 0. + * javax/swing/text/GapContent.java + (createPosition): Removed explicit check for correct offset. + This class can deal with offsets outside the document. + (shiftEnd): Update all positions, even those outside the + document. + (adjustPositionsInRange): Fixed to also adjust positions outside + the document boundary. + +2006-07-18 Kyle Galloway <kgallowa@redhat.com> + + * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold + defining class. + (getParameter): Returns _klass field instead of determining + class from _instance. + (setCatchLoc): New method. + (writeData): Now assumes Location deals with empty locations instead of + using null. + * gnu/classpath/jdwp/util/Location.java (write): Check for empty + locations and write out accordingly. + (getEmptyLocation): New method. + +2006-07-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/SimpleAttributeSet.java + (EMPTY): Use EmptyAttributeSet for this field rather than + SimpleAttributeSet. + * javax/swing/text/EmptyAttributeSet.java: New class. Implements + an empty and immutable AttributeSet. + +2006-07-27 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (reshape): Invalidate the component itself only when the + size has changed. Invalidate the parent always. Fixed + repainting. Pulled out the notification into + notifyReshape(). + (notifyReshape): New helper method. Notify interested listeners + about a reshape. + (update): Simply call paint() without clearing the background. + This is done in Container.update() if appropriate. + (repaint): Delagate the repaint to the nearest heavyweight + parent (for lightweights) and send an UPDATE event, rather than + calling ComponentPeer.repaint(). + * java/awt/Container.java + (backCleared): Removed field. + (paint): Removed handling of backCleared flag. + (update): Only paint if the container is actually + showing. Removed handling of backCleared flag. + +2006-07-27 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and + authorship. + (NavigateAction): New inner class. + (NavigatePageDownAction): New inner class. + (NavigatePageUpAction): New inner class. + (RequestFocusAction): New inner class. + (RequestFocusForVisibleComponentAction): New inner class. + (FocusHandler.focusGained): Implemented. + (FocusHandler.focusLost): Implemented. + (MouseHandler.mouseReleased): Implemented. + (MouseHandler.mousePressed): Rewritten. + (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and + currentScrollLocation to 0. + (TabbedPaneLayout.calculateSize): Stored tab count in local variable, + removed local variables, fixed indentation to stay under 80 column + limit. + (TabbedPaneLayout.calculateTabRects): Decrease tab area position by + one, set selectedIndex to 0 if its negative, corrected start values + for normalization, suppressed padding when only one tab run, + (TabbedPaneLayout.minimumLayoutSize): Toggled argument value. + (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under + 80 column limit, corrected the starting value for the bounds fixing + phase. + (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation. + (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for + selectedRun, set start index for loop to 0. + (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value. + (TabbedPaneScrollLayout.calculateTabRects): Rewritten. + (TabbedPaneScrollLayout.layoutContainer): Added scrolling button + alignment and visibility handling. + (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab + layout mode. + (ScrollingPanel.ScrollingPanelUI.paint): Rewritten. + (currentScrollOffset): New field. + (tabRuns): Rewritten documentation. + (selectedColor): New field. + (tempTextRect): New field. + (tempIconRect): New field. + (scrollTab): New method. + (updateButtons): New method. + (updateViewPosition): New method. + (createLayoutManager): Reordered method calls, predefine new fields, + register proper listeners. + (uninstallComponents): Implemented. + (installDefaults): Corrected property names, fixed indentation,. + (uninstallDefaults): Set new fields to null. + (uninstallListeners): Remove listeners from components neccessary for + scrolling tab layout. + (installKeyboardActions): Implemented. + (uninstallKeyboardActions): Implemented. + (paint): Paint tab area background. + (paintTabArea): Fixed indentation, removed usage of local Rectangle + objects. + (getTabLabelShiftX): Rewritten. + (getTabLabelShiftY): Rewritten. + (paintFocusIndicator): Reindented. + (paintTabBorder): Rewritten. + (paintTabBackground): Corrected color usage, rewritten background + rectangle painting. + (paintContentBorderTopEdge): Rewritten. + (paintContentBorderBottomEdge): Rewritten. + (paintContentBorderLeftEdge): Rewritten. + (paintContentBorderRightEdge): Rewritten. + (tabForCoordinate): Return selected index when no tab could be + found, removed FIXME note. + (getRunForTab): Changed return value for first if-statement. + (navigateSelectedTab): Fixed last argument for both + getTabRunOffset() calls. + (selectedNextTabInRun): Added scrolling code. + (selectedPreviousTabInRun): Added scrolling code. + (selectedNextTab): Added scrolling code. + (selectedPreviousTab): Added scrolling code. + (selectAdjacentRunTab): Added scrolling code. + (getTextViewForTab): Added FIXME note. + (calculateTabHeight): Changed FIXME note. + (getTabRunOffset): Fixed indentation. + (getNextTabIndexInRun): Corrected return value. + (rotateInsets): Make TOP case the default in switch-statement. + (getActionMap): New method. + (createActionMap): New method. + * javax/swing/plaf/metal/MetalTabbedPaneUI.java: + (createLayoutManager): Rewritten. + (paintLeftTabBorder): Do not paint left line when previous tab + is selected but current tab is the first in its run, do not paint + left line when current tab is selected and is first in its run. + (paintRightTabBorder): Added missing setColor() call, fixed color + usage, do not paint right line if previous tab is selected but + current tab is the first in its run. + (paintBottomTabBorder): Do not paint left line if tab is selected + and is the first tab in the last run. + (paintFocusIndicator): New method. + (getLabelShiftX): New method. + (getLabelShiftY): New method. + +2006-07-27 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove + g_assert from unused obj. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark + obj as unused and remove g_assert on it. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/RepaintManager.java + (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE + for the component. + (isCompletelyDirty): Consider a component completely dirty + when it has a dirty region with Integer.MAX_VALUE. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * java/awt/KeyboardFocusManager.java + (getGlobalFocusOwner): Explicitly check for thread security. + (getGlobalPermanentFocusOwner): Explicitly check for thread security. + (getGlobalFocusedWindow): Explicitly check for thread security. + (getGlobalActiveWindow): Explicitly check for thread security. + (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security. + (getGlobalObject): Added new argument for specifying if + a security check should be performed or not. + (setGlobalObject): Don't check for thread security when + calling getGlobalObject. + +2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/MBeanConstructorInfo.java: + Documentation fix. + * javax/management/MBeanInfo.java: + (MBeanInfo(String,String,MBeanAttributeInfo[], + MBeanConstructorInfo[], MBeanOperationInfo[], + MBeanNotificationInfo[])): Implemented. + (equals(Object)): Likewise. + (getAttributes()): Likewise. + (getConstructors()): Likewise. + (getOperations()): Likewise. + (hashCode()): Likewise. + * javax/management/MBeanOperationInfo.java, + * javax/management/NotCompliantMBeanException.java, + * javax/management/StandardMBean.java: + New files. + +2006-07-26 Sven de Marothy <sven@physto.se> + + * java/awt/geom/GeneralPath.java: Fix severe typo. + +2006-07-26 Sven de Marothy <sven@physto.se> + + * include/java_lang_VMSystem.h + * vm/reference/java/lang/VMSystem.java + * native/jni/java-lang/java_lang_VMSystem.c + (nanoTime, currentTimeMillis): Switch the former to native code and + the latter to java. + +2006-07-26 Andreas Tobler <a.tobler@schweiz.ch> + + * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports. + * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise. + * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise. + * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtGraphics.java: Likewise. + * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise. + * gnu/java/awt/peer/qt/QtImage.java: Likewise. + * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise. + * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise. + * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise. + * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise. + * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise. + * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise. + * gnu/java/awt/peer/qt/QtToolkit.java: Likewise. + * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * java/awt/KeyboardFocusManager.java + (getFocusOwner): Don't check permanent owner. + (getGlobalFocusOwner): Don't check permanent owner. + +2006-07-26 Carsten Neumann <cn-develop@gmx.net> + + * StrictMath.java (cosh): New method. + (expm1): New method. + (EXPM1_Q1): New field. + (EXPM1_Q2): Likewise. + (EXPM1_Q3): Likewise. + (EXPM1_Q4): Likewise. + (EXPM1_Q6): Likewise. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonListener.java + (mousePressed): Request focus if appropriate. + * javax/swing/text/DefaultCaret.java + (mousePressed): Also handle the focus of the text component + as specified. Don't consume events. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (focusRequest): Removed field. + (postFocusEvent(int,boolean,Component)): Removed. + (postFocusEvent(int,boolean)): Reverted to post event using + the heavyweight component. + (requestFocus): Post focus event using the heavyweight + component. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java + (requestFocus): Post focus event using the heavyweight + component. + * java/awt/AWTEvent.java + (isFocusManagerEvent): New field, indicating if this is + an event that is redispatched by the KeyboardFocusManager. + * java/awt/Component.java + (requestFocusImpl): Register component for + heavyweight->lightweight mapping. + (dispatchEventImpl): Retarget focus events before dispatching + to the KeyboardFocusManager. Use new AWTEvent flag instead + of locking hack. Dispatch all events through the + KeyboardFocusManager. Don't request focus on lightweight + components. + * java/awt/DefaultKeyboardFocusManager.java + (dispatchEvent): Pulled out handling of FOCUS_GAINED and + FOCUS_LOST. + (handleFocusGained): Fixed handling of temporary vs permanent + focus changes. Added some checks. + (handleFocusLost): Fixed handling of temporary vs permanent + focus changes. Added some checks. + * java/awt/EventDispatchThread.java + (run): Don't dispatch to KeyboardFocusManager here. This + is done in Component.dispatchEventImpl(). + * java/awt/KeyboardFocusManager.java + (redispatchEvent): Use new AWTEvent flag instead of locking hack. + (focusRequests): New field. + (retargetFocusEvent): New method. Retargets focus events + that come from heavyweights to the correct lightweight component. + (addLightweightFocusRequest): New method. Stores a mapping + for later retargetting of heavyweight focus events. + * java/awt/Window.java + (addFocusListener): Removed bogus method. If at all, this + should be performed in the KeyboardFocusManager. + (Window): Don't install a focus listener on the Window. + +2006-07-26 Robert Schuster <robertschuster@fsfe.org> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: + (drawLine): Apply shift to line coordinates. + +2006-07-26 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/image/ColorConvertOp.java: Fixed copyright header. + (copyimage): Do not call setRenderingHints() when the respective map + does not exist. + (filter): Removed code to clone the ColorModel instance. + * java/awt/image/ColorModel.java: + (cloneColorModel): Removed. + +2006-07-26 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/JTabbedPane.java: + (setSelectedIndex): Removed updating of component visibility status, + added note. + (remove(Component)): Use indexOfComponent() to find whether we have + to use super.remove(int) or removeTabAt(). + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/JOptionPane.java + (createDialog): Add property change handler for closing + the dialog when the value property changes. + (ValuePropertyHandler): New inner helper class. + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (OptionPaneCloseAction): New class. + (messageForeground): Removed field. + (messageBorder): Removed field. + (buttonBorder): Removed field. + (addIcon): Configure the new label. + (addMessageComponents): Configure newly created labels. + (burstStringInto): Likewise. + (createButtonArea): Install border here. + (createMessageArea): Install border and foreground here. + (createSeparator): Added comment and removed + NotImplementedException. + (installComponents): Don't install the UI defaults for the + message and button area here. This is moved to the + corresponding create* methods. Adjusted comment about + separator. + (installDefaults): Removed initialization of removed fields. + (installKeyboardActions): Implemented. + (getActionMap): New helper method. + (createDefaultActions): New helper method. + (uninstallDefaults): Removed de-initialization of removed fields. + (uninstallKeyboardActions): Implemented. + (configureLabel): New helper method. + * javax/swing/plaf/basic/BasicTableUI.java + (getActionMap): Fixed the UI property names. + * javax/swing/plaf/basic/BasicToolBarUI.java + (getActionMap): Fixed the UI property names. + +2006-07-26 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BandedSampleModel.java + (getDataElements): Check for negative x or y, + (getPixels): Likewise, + (getSamples): Likewise, + (setSamples): Likewise. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicToolBarUI.java + (ToolBarAction): New inner class for handling keyboard + actions. + (installKeyboardActions): Implemented. + (getActionMap): New helper method. + (createDefaultActions): New helper method. + (installListeners): Install focus listener on toolbar's + children, rather than the toolbar itself. + (navigateFocusedComp): Implemented. + (uninstallKeyboardActions): Implemented. + (uninstallListeners): Uninstall focus listener from + toolbar's children, rather than the toolbar itself. + (ToolBarContListener.componentAdded): Install focus + listener on added child. + (ToolBarContListener.componentRemoved): Uninstall focus + listener from removed child. + (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here. + (ToolBarFocusListener.focusGained): Implemented. + (ToolBarFocusListener.focusLost): Implemented. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * java/awt/DefaultKeyboardFocusManager.java + (dispatchEvent): Notify old focus owner when it has lost + focus. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTableUI.java + (FocusHandler.focusGained): Implemented to refresh the + lead cell. + (FocusHandler.focusLost): Implemented to refresh the + lead cell. + (FocusHandler.repaintLeadCell): New helper method. + (MouseInputHandler.mouseEntered): Do nothing here. + (MouseInputHandler.mouseExited): Do nothing here. + (MouseInputHandler.mouseMoved): Do nothing here. + (installKeyboardActions): Rewritten to use a shared InputMap + and ActionMap and correctly install the maps via SwingUtilities + methods. + (getActionMap): New helper method. + (createDefaultActions): New helper method. + (ActionListenerProxy): Removed unneeded class. + (TableAction): Made class static. + (TableAction.actionPerformed): Determine table by fetching + the event source. Pass the table to helper methods. + Use __command__ hack to determine the action command. + (TableAction.getFirstVisibleColumnIndex): Get table as argument. + (TableAction.getLastVisibleColumnIndex): Get table as argument. + (TableAction.getFirstVisibleRowIndex): Get table as argument. + (TableAction.getLastVisibleRowIndex): Get table as argument. + (TableAction.advanceMultipleSelection): Get table as argument. + (uninstallDefaults): Do nothing here. + (uninstallKeyboardActions): Uninstall the keyboard actions. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (processKeyBinding): Store the action command as property + in the Action instance that we call. This allows for + improvement on the side of the Action. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern): Use fillRect() instead of drawLine() to + fill single pixels. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GapContent.java + (getChars): Check for negative length and throw + BadLocationException. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicMenuBarUI.java + (FocusAction): Made class static. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Add keyboard bindings for + PopupMenu. + +2006-07-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/UIManager.java + (getLookAndFeelDefaults): Return the look and feel defaults. + (setLookAndFeel): Improved exception messsage. + +2006-07-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/text/StringContent.java + (StringContent): Changed initialLength to 10. + +2006-07-26 David Gilbert <david.gilbert@object-refinery.com> + + * java/util/Vector.java: Fixed API doc typo. + +2006-07-26 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BandedSampleModel.java + (createCompatibleSampleModel): Fixed typo in loop increment, set + correct scanlineStride, and updated API docs. + +2006-07-25 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicPopupMenuUI.java + (NavigateAction): New inner class. This is responsible for + keyboard navigation through menus. + (KeyboardHelper): New inner class. This manages the + keyboard mappings and focus when a popup opens or closes. + (keyboardHelper): New static field. + (numPopups): New static field. + (installUI): Create KeyboardHelper for first popup. + Call installKeyboardActions(). + (installKeyboardActions): Removed NotImplementedException. + This method is a no-op. + (installKeyboardActionsImpl): New method. Installs keyboard + mapping when a popup is opened. + (getActionMap): New helper method. + (createDefaultActions): New helper method. + (uninstallUI): Uninstall KeyboardHelper when last Popup is + uninstalled. Call uninstallKeyboardActions(). + (uninstallKeyboardActions): Removed NotImplementedException. + This method is a no-op. + (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard + mapping when a popup is closed. + +2006-07-25 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (requestFocus()): Reimplemented to use requestFocusImpl(). + (requestFocus(boolean)): Reimplemented to use requestFocusImpl(). + (requestFocusInWindow()): Reimplemented to use requestFocusImpl(). + (requestFocusInWindow(boolean)): Reimplemented to use + requestFocusImpl(). + (requestFocusImpl): Reimplemented focus request to use + new peer method. Also added some obvious additional checks + for rejecting focus requests early. + * java/awt/ComponentPeer.java + (requestFocus(Component,boolean,boolean,long)): Documented + this method. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (requestFocus): New field. + (gtkWidgetHasFocus): New native method. + (gtkWidgetCanFocus): New native method. + (requestFocus): Replaced with assert false to prevent + usage of obsolete method. + (postFocusEvent(int,boolean,Component)): New overloaded method + for posting the focus event to a specific target. + (postFocusEvent(int,boolean)): Post event to requestFocus + component. + (requestFocus(Component,boolean,boolean,long)): Implemented. + (getWindowFor): New helper method. + (isLightweightDescendant): New helper method. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java + (gtkWindowHasFocus): New native method. + (requestFocus(Component,boolean,boolean,long)): New method. + Overrides GtkComponentPeer method to specially handly the + case when a Window receives a focus request for a lightweight + child. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (gtkWidgetHasFocus): New native method. + (gtkWidgetCanFocus): New native method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (gtkWindowHasFocus): New native method. + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h, + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: + Regenerated. + +2006-07-25 Francis Kung <fkung@redhat.com> + + * java/awt/DefaultKeyboardFocusManager.java + (dispatchEvent): Add check for valid component. + +2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/MBeanConstructorInfo.java: + New file. + * javax/management/MBeanNotificationInfo.java: + Documentation fix. + * javax/management/MBeanParameterInfo.java: + New file. + +2006-07-25 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/peer/gtk/CairoGraphics.java: + (drawLine): Added special case for 1 pixel lines. + +2006-07-25 Robert Schuster <robertschuster@fsfe.org> + + Fixes PR27844. + * java/awt/peer/gtk/CairoGraphics.java: + (drawLine): Removed calls to shifted(). + +2006-07-25 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/JTabbedPane.java: + (remove(Component)): Rewritten. + (setSelectedIndex): Implemented updating of component visibility state. + +2006-07-25 Sven de Marothy <sven@physto.se> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c + (init): Default to the actual depth in the worst case. + + * java/awt/Font.java + (createFont(int, File)): New method. + +2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org> + + Fixes bug #28413 + * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators): + New field. + (RETokenEnd): New constructer to set check_java_line_terminators. + (matchThis): Checck line terminators if check_java_line_terminators. + * gnu/java/util/regex/RETokenStart.java: Likewise. + * gnu/regexp/RE.java(initialize): Use the new constructors for + RETokenEnd and RETokenStart if REG_MULTILINE is set. + * java/util/regex/Pattern.java(Patteren): Changed so that + gnu/regexp/RE.java may use the new the new constructors. + +2006-07-25 Roman Kennke <kennke@aicas.com> + + * java/awt/Container.java + (focusTraversalPolicyProvider): New field. + (isFocusTraversalPolicyProvider): New method. + (setFocusTraversalPolicyProvider): New method. + * java/awt/ContainerOrderFocusTraversalPolicy.java + (getFirstComponent): Use accept() instead of lengthy checks. + Don't fetch getComponents() to avoid copying of array. + Traverse down the hierarchy to find the first focused component. + * java/awt/DefaultKeyboardFocusManager.java + (dispatchEvent): Let the initial component request focus. + +2006-07-25 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/text/Segment.java + (last): Update current index before returning DONE for zero count. + +2006-07-24 Mark Wielaard <mark@klomp.org> + + * javax/swing/tree/TreePath.java (equals): Swap path equals call. + +2006-07-25 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicMenuBarUI.java + (FocusAction): New inner class. Used to grab focus. + (installKeyboardActions): Implemented. + (uninstallKeyboardActions): Implemented. + (getActionMap): New helper method. + (createDefaultActions): New helper method. + +2006-07-25 Robert Schuster <robertschuster@fsfe.org> + + * examples/gnu/classpath/examples/swing/Demo.java: + (mkMenuBar): Install instantiable basic look and feel. + (InstantiableBasicLookAndFeel): New inner class. + +2006-07-25 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (GlassPaneDispatcher.dragTarget): New field. + (GlassPaneDispatcher.isDragging): New field. + (GlassPaneDispatcher.pressedComponent): Removed field. + (GlassPaneDispatcher.tempComponent): Removed field. + (GlassPaneDispatcher.pressCount): Removed field. + (GlassPaneDispatcher.mousePressed): Call + borderListener.mousePressed() to activate the frame. + (acquireComponentForMouseEvent): Removed method. + (handleEvent): Rewritten. + (redispatch): New method. + (InternalFramePropertyChangeListener.propertyChange): + Make glasspane invisible when frame is selected, and visible + if it gets deselected. + +2006-07-25 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + (handleMouseEvent): Dispatch event to real target if + the dragTarget has become invisible in the meantime. + +2006-07-25 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/text/TabSet.java + (equals): New method override for 1.5, + (hashCode): Likewise, + (toString): Added spaces to match reference implementation. + +2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/IntrospectionException.java, + * javax/management/MBeanAttributeInfo.java: + New files. + * javax/management/MBeanNotificationInfo.java: + Documentation cleanups. + +2006-07-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/text/TabSet.java + (TabSet): Check for null argument, + (getTab): Throw IllegalArgumentException for index out of bounds, + (getTabIndexAfter): Changed test to '<=', + and updated API docs all over, + * javax/swing/text/TabStop.java: Updated API docs. + +2006-07-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/text/TabStop.java + (toString): Don't use 'left ' prefix, and added space between tab + location and '(w/leader)' suffix. + +2006-07-24 Francis Kung <fkung@redhat.com> + + * javax/swing/JComboBox.java + (DefaultKeySelectionManager): Implemented. + (createDefaultKeySelectionManager): Implemented. + (getKeySelectionManager): Implemented. + (processKeyEvent): Removed duplicate code. + * javax/swing/JPopupMenu.java + (selectionModel): Changed visibility. + * javax/swing/plaf/basic/BasicComboBoxUI.java + (KeyHandler.keyPressed): Added navigation keys. + (configureEditor): Add key listener. + (installListeners): Install focus listener to combo box. + (isNavigationKey): Added enter, escape, and tab. + (selectPreviousPossibleValue): Added out of bounds check. + (unconfigureEditor): Remove key listener. + * javax/swing/plaf/metal/MetalComboBoxButton.java + (paintComponent): Highlight combo box when in focus. + +2006-07-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/SwingUtilities.java + (isLeftMouseButton): Fixed condition. + * java/awt/LightweightDispatcher.java + (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse + is dragged. + +2006-07-24 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (setPaint): Fixed scaleX and scaleY. + +2006-07-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (handleInsert): Repaint the whole table for variable row + height tables and an optimized region otherwise. + (handleDelete): Likewise. + (handleUpdate): Likewise. + +2006-07-24 Mario Torre <neugens@limasoftware.net> + + * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer): + now explicity registerListeners on GtkMouseDragGestureRecognizer + instance. + * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java + (unregisterListeners): new method, overrided from base class + to rise visibility (from protected to public). + (registerListeners): Likewise. + (GtkMouseDragGestureRecognizer): fixed potential threading issue: + removed call to registerListeners from the constructor. + +2006-07-23 Mark Wielaard <mark@klomp.org> + + * configure.ac: Check for moc and moc-qt4. + +2006-07-23 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/Kernel.java: API doc updates. + +2006-07-22 Andreas Tobler <a.tobler@schweiz.ch> + + * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a + bit more. + +2006-07-22 Mark Wielaard <mark@klomp.org> + + * java/lang/Iterable.java: Import all of java.util. + * lib/mkcollections.pl.in (javautilclasses): Add Iterable. + * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX. + +2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * doc/vmintegration.texinfo: + Document getType(String). + * gnu/java/lang/management/MemoryPoolMXBeanImpl.java, + * java/lang/management/MemoryPoolMXBean.java: + (getType()): Implemented. + * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java + (getType(String)): Implemented. + +2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * doc/vmintegration.texinfo: + Move end of itemization block. + +2006-07-22 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/metal/MetalLookAndFeel.java: + (initComponentDefaults): Added new properties, added comments. + +2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * doc/vmintegration.texinfo: + Mention callback methods. + * gnu/java/lang/management/MemoryMXBeanImpl.java: + (fireNotification(String,String,long,long,long,long,long)): + Made package-private. + (fireThresholdExceededNotification(String,long,long,long, + long,long)): Likewise. + (fireCollectionThresholdExceededNotification(String,long, + long,long,long,long)): Likewise. + * java/lang/management/MemoryMXBean.java: + Document notifications. + +2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/MemoryMXBeanImpl.java: + (fireNotification(String,String,long,long,long,long,long)): + Implemented. + (fireThresholdExceededNotification(String,long,long,long, + long,long)): Likewise. + (fireCollectionThresholdExceededNotification(String,long, + long,long,long,long)): Likewise. + * java/lang/management/MemoryNotificationInfo.java: + Use composite type from MemoryMXBeanImpl. + * javax/management/openmbean/CompositeData.java: + Correct documentation. + * javax/management/openmbean/CompositeDataSupport.java, + * javax/management/openmbean/InvalidKeyException.java: + New files. + +2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/util/IntegerUtil.java: New file. + +2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/28100 + * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation. + (KEY_SIZE): Likewise. + (adjustParity(int,byte[],int): New method. + (adjustParity(byte[],int): Call above method with 3 as 1st argument. + (isParityAdjusted(int,byte[],int)): New method. + (isParityAdjusted): Call above method with 3 as 1st argument. + (keySizes): Add 8 and 16 as other valid key sizes. + (makeKey): Amended to cater for 1, 2 and 3 independent DES keys. + +2006-07-22 Andreas Tobler <a.tobler@schweiz.ch> + + * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange + code for the pixel swap routine to be more efficient. + +2006-07-20 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: + Removed unused fields. + (GtkMouseDragGestureRecognizer): Removed initializations. + +2006-07-20 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java + (GtkMouseDragGestureRecognizer): New constructor. + (GtkMouseDragGestureRecognizer): New constructor. + (GtkMouseDragGestureRecognizer): New constructor. + (mouseClicked): Removed FIXME. + (mousePressed): Implemented. + (mouseReleased): Implemented. + (mouseEntered): Implemented. + (mouseDragged): Implemented to check mouse point and trigger origin. + (mouseMoved): Removed FIXME. + (getDropActionFromEvent): New helper function used to convert mouse event + modifiers to a drop action. + * java/awt/dnd/DragSource.java + (getDragThreshold): Changed to return some arbitrary value for testing + purposes. + +2006-07-20 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + (findTarget): Also consider components that have their eventMask + set, for compatibility with stonage AWT. Optimized check + for MouseListener. + (handleMouseEvent): Likewise. + +2006-07-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (tableChanged): Split out handling of the event into multiple + subroutines. + (handleCompleteChange): New method. Clear the selection and + check the lead/anchor indices. + (handleInsert): New method. Check the lead/anchor indices. + Optimized repainting. + (handleDelete): New method. Check the lead/anchor indices. + Optimized repainting. + (handleUpdate): New method. Optimized repainting. + (checkSelection): New helper method. + (setSelectionModel): Update lead/anchor indices. + +2006-07-20 Lillian Angel <langel@redhat.com> + + PR 28440 + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java + (dispose): Reset all fields. + +2006-07-20 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XToolkit.java + (createImage(InputStream)): Only copy image to Pixmap if + it's actually opaque. Transparent images are left as + BufferedImage and composited later onto the screen. + * gnu/java/awt/peer/x/XGraphics.java + (XGraphics): Fetch some parameters for image rendering. + (drawImage): Added special handling of transparent images. + (getRGB): New helper method. + (setRGB): New helper method. + +2006-07-20 Roman Kennke <kennke@aicas.com> + + * gnu/javax/imageio/IIOInputStream.java: New class. Wraps + ImageInputStreams as normal InputStreams. + * gnu/javax/imageio/gif/GIFStream.java: + Moved to gnu/javax/imageio/IIOInputStream.java. + * gnu/javax/imageio/gif/GIFImageReader.java + (readImage): Use IIOInputStream. + * gnu/javax/imageio/gif/GIFImageReaderSpi.java + (canDecodeInput): Use IIOInputStream. + * gnu/javax/imageio/png/PNGException.java: Make subclass + of IOException. + * gnu/javax/imageio/png/PNGImageReader.java: New class. + Implements the ImageIO ImageReader for PNG. + * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class. + Implements the ImageIO ImageReaderSpi for PNG. + * javax/imageio/spi/IIORegistry.java: + (IIORegistry): Add PNGImageReaderSpi. + +2006-07-20 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/ComponentSampleModel.java + (getPixel): Added argument check, + (getSample): Modified exception message. + +2006-07-20 David Gilbert <david.gilbert@object-refinery.com> + + PR Classpath/28422 + * java/awt/image/ConvolveOp.java + (filter(Raster, WritableRaster)): Reimplemented, + (fillEdge): New private method. + +2006-07-19 Keith Seitz <keiths@redhat.com> + + * include/jvmti.h (JVMTI_VERSION_1_0): Define. + (JVMTI_VERSION): Define. + +2006-07-19 Roman Kennke <kennke@aicas.com> + + * resource/gnu/regexp/MessagesBundle.properties, + * resource/gnu/regexp/MessagesBundle_fr.properties, + * resource/gnu/regexp/MessagesBundle_it.properties: + Moved to resource/gnu/java/util/regex. + * resource/gnu/java/util/regex/MessagesBundle.properties, + * resource/gnu/java/util/regex/MessagesBundle_fr.properties, + * resource/gnu/java/util/regex/MessagesBundle_it.properties: + New files. + * gnu/java/util/regex/RE.java + Use new resource bundle location. + +2006-07-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintChildren): Refactored. The paintChildrenOptimized method + has been moved back in here. Added locking of the tree and + only check for completely obscured child components + when not optimized drawing enabled. Use Graphics.create() to + protect from irreversible changes. + (isCompletelyObscured): New helper method. + (paintComponent): Also use Graphics.create() for Graphics2D, + to protect from irreverible changes. + (clipAndTranslateGraphics): Refactored to use more efficient + iterative (vs recursive) approach. + * javax/swing/RepaintManager.java + (getOffscreenBuffer): Create image from root component. + +2006-07-19 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XGraphics.java + (translate): Don't set the clip on the X server. + (clipRect): Use setXClip() to set the clip on the X server. + (hitClip): More efficient and correct implementation. + (setClip): Use setXClip() to set the clip on the X server. + (setClip(Shape)): Use setXClip() to set the clip on the X server. + (copyArea): Translate and clip the source rectangle correctly. + (dispose): Only flush when object is not yet disposed. + (clone): Use setXClip() to set the clip on the X server. + +2006-07-19 Sven de Marothy <sven@physto.se> + + * gnu/javax/imageio/png/PNGChunk.java, + * gnu/javax/imageio/png/PNGData.java, + * gnu/javax/imageio/png/PNGDecoder.java, + * gnu/javax/imageio/png/PNGEncoder.java, + * gnu/javax/imageio/png/PNGException.java, + * gnu/javax/imageio/png/PNGFile.java, + * gnu/javax/imageio/png/PNGFilter.java, + * gnu/javax/imageio/png/PNGGamma.java, + * gnu/javax/imageio/png/PNGHeader.java, + * gnu/javax/imageio/png/PNGICCProfile.java, + * gnu/javax/imageio/png/PNGPalette.java, + * gnu/javax/imageio/png/PNGPhys.java, + * gnu/javax/imageio/png/PNGTime.java: + New files. + +2006-07-19 Sven de Marothy <sven@physto.se> + + * java/net/Inet6Address.java: + (getScopedId, getScopedInterface): New methods. + +2006-07-19 Lillian Angel <langel@redhat.com> + + * examples/gnu/classpath/examples/awt/Demo.java + (DragDropWindow): Fixed typo in Label text. + * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java + (GtkDragSourceContextPeer): Removed unneeded initialization for field. + (startDrag): Initialized context field. + (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this + function. + (dragEnter): New function. + (dragExit): Likewise. + (dragDropEnd): Likewise. + (dragMouseMoved): Likewise. + (dragOver): Likewise. + (dragActionChanged): Likewise. + +2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/26302 + * resource/java/security/classpath.security: Updated copyright year. + (auth.login.defaultCallbackHandler): New property; set to our default + callback handler. This is needed by the LoginContext when no callback + handler was specified. + * javax/security/auth/login/LoginContext.java: Updated copyright year. + (LoginContext(4)): Assign passed parameters to local fields before invoking + lookup method. + +2006-07-19 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XGraphics.java + (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): + Fixed ordering of parameters. + +2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/MemoryMXBeanImpl.java: + (MemoryMXBeanImpl()): Implemented. + (ListenerData): New private class. + (addNotificationListener(NotificationListener, + NotificationFilter, Object)): Implemented. + (getNotificationInfo()): Likewise. + (removeNotificationListener(NotificationListener)): + Likewise. + (removeNotificationListener(NotificationListener, + NotificationFilter, Object)): Likewise. + +2006-07-18 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XFontPeer.java + (encodeFont): Be more flexible with font sizes. + (validSize): New helper method. + * gnu/java/awt/peer/x/XGraphics.java + (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): + Implemented. + (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)): + Implemented. + * gnu/java/awt/peer/x/XImage.java + (properties): New field. + (getProperty): Implemented. + * resource/gnu/java/awt/peer/x/fonts.properties: + Added copyright header. Fixed font size field. + +2006-07-18 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BandedSampleModel.java + (createDataBuffer): New method override, + * java/awt/image/ByteLookupTable.java + (ByteLookupTable(int, byte[][])): Create new array to hold references, + (ByteLookuptable(int, byte[])): Check for null array, + * java/awt/image/ComponentSampleModel.java + (createDataBuffer): Removed unnecessary braces, + (getSample): Check (x, y) is within bounds, + * java/awt/image/ShortLookupTable.java + (ShortLookupTable(int, short[][])): Create new array to hold references, + (ShortLookupTable(int, short[])): Check for null array, + (getTable): Added API docs, + (lookupPixel): Source reformatting. + +2006-07-18 Tania Bento <tbento@redhat.com> + + * java/awt/GridLayout.java + (setHgap): Illegal Argument Exception should not be thrown if + hgap < 0. + (setVgap): Illegal Argument Exception should not be thrown if + vgap < 0. + (toString): Opening square braket ([) should appear before hgap + value, not the name of the class. + +2006-07-18 Roman Kennke <kennke@aicas.com> + + * lib/copy-vmresources.sh.in: Reverted. + * gnu/java/awt/peer/x/fonts.properties: Moved to resource/ + * resource/gnu/java/awt/peer/x/fonts.properties: New file. + +2006-07-18 Roman Kennke <kennke@aicas.com> + + * lib/copy-vmresources.sh.in: Include properties from X peers. + +2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/27205 + * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check + certificate validity. + (getIssuerName): New method. + (getSubjectName): Likewise. + (getNotAfterDate): Likewise. + (getNotBeforeDate): Likewise. + * resource/gnu/classpath/tools/jarsigner/messages.properties: Added + messages for newly added messages in SFHelper. + +2006-07-18 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XDialogPeer.java: New class. + * gnu/java/awt/peer/x/XEventPump.java + (handleEvent): Cast to XWindowPeer rather than XFramePeer. + * gnu/java/awt/peer/x/XFramePeer.java + Made a subclass of XWindowPeer, rather than SwingFramePeer. + * gnu/java/awt/peer/x/XGraphics.java + Made subclass of Graphics rather than Graphics2D. Removed + all Graphics2D specific method stubs. + (setColor): Map colors using the X color map that is + stored in XToolkit. + * gnu/java/awt/peer/x/XToolkit.java + (colorMap): New field. + (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment + instance. + (createDialog): Implemented. + (createImage(ImageProducer)): Implemented. + (createImage(InputStream)): Use createImage(ImageProducer) + to convert the BufferedImage to an XImage. + * gnu/java/awt/peer/x/XWindowPeer.java + (XWindowPeer): Removed debug output. + +2006-07-18 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BufferedImageOp.java: API docs added, + * java/awt/image/RasterOp.java: Likewise. + +2006-07-18 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/Graphics2D.java: API docs updated. + +2006-07-18 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/WritableRaster.java: Added API docs and reformatted + source code. + +2006-07-18 Sven de Marothy <sven@physto.se> + + * java/net/Inet6Address.java: + Add 1.5 serialized fields. + (getByAddress): New methods. + (readObject, writeObject): New methods. + (equals): Reimplement. + +2006-07-18 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/Raster.java: Added API docs and reformatted source + code. + +2006-07-18 Andreas Tobler <a.tobler@schweiz.ch> + + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded + imports. + * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise. + * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise. + * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. + * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkImage.java: Likewise. + * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise. + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise. + +2006-07-17 Andreas Tobler <a.tobler@schweiz.ch> + + * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements + to make it compile again under jikes. Note added. + +2006-07-17 Lillian Angel <langel@redhat.com> + + * examples/gnu/classpath/examples/awt/Demo.java + (Demo): Added new window for DnD demo. + (DragDropWindow): New class. + * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java: + Added new fields and declarations for native functions. + (GtkDragSourceContextPeer): Implemented. + (getComponentPeer): New function. + (startDrag): Partially implemented. + (getCursor): Implemented. + (setCursor): Implemented. + * include/GtkDragSourceContextPeer.h: New file. + * include/Makefile.am: Added new header file. + * java/awt/Component.java + (addNotify): Added call to the dropTarget's addNotify. + * java/awt/dnd/DragSource.java + (startDrag): Fixed code to use shared instances of peer and + context. + (getDragThreshold): Added stub. + * java/awt/dnd/DropTarget.java + (DropTarget): Implemented fully. + (addNotify): Added code to get the peer of the parent that is + not lightweight. + * java/awt/dnd/DropTargetDragEvent.java + (getTransferable): Added stub. + * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file. + * native/jni/gtk-peer/Makefile.am: Added new c file. + * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java: + Changed to extend GtkGenericPeer. + (GtkDropTargetContextPeer): New constructor. + * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: + Changed to extend GtkGenericPeer. + (GtkDropTargetContextPeer): New constructor. + +2006-07-17 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/SinglePixelPackedSampleModel.java + (createSubsetSampleModel): Added argument check and API docs. + +2006-07-17 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XGraphics.java + (copyArea): Implemented. + +2006-07-17 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/SinglePixelPackedSampleModel.java + (getSampleSize): Return copy of array, + (getOffset): Added API docs, + (getScanlineStride): Likewise, + (hashCode): Implemented. + +2006-07-17 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (getOffset): Updated API docs and source reformatting, + (getBitOffset): Source reformatting only, + (getDataElements): Likewise, + (getPixel): Likewise, + (getPixels): Removed method override, + (setDataElements): Reimplemented. + +2006-07-17 Gary Benson <gbenson@redhat.com> + + * resource/META-INF/services/.cvsignore: New file. + * lib/.cvsignore: Updated. + +2006-07-17 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonListener.java + (propertyChange): Only do the text layout caching as long + as the noGraphics2D property isn't set. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (PropertyChangeHandler.propertyChange): Only do the text layout + caching as long as the noGraphics2D property isn't set. + +2006-07-17 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XGraphicsEnvironment.java + (XGraphicsEnvironment): Make constructor public so that it + can be called via Class.forName().newInstance(). + * gnu/java/awt/peer/x/XImage.java + (XImage): Fetch GraphicsEnvironment via + GraphicsEnvironment.getLocalGraphicsEnvironment() rather + than the XToolkit method, to avoid double instantiation + of the XGraphicsEnvironment. + * gnu/java/awt/peer/x/XToolkit.java + (env): Removed field. + (getLocalGraphicsEnvironment): Removed impl. This method + should not be called since we set the graphicsenv property + in the constructor. + +2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/UUID.java: + (compareTo(Object)): Call compareTo(UUID). + (compareTo(UUID)): Implemented. + +2006-07-16 Tom Tromey <tromey@redhat.com> + + * java/lang/StrictMath.java (cbrt): Added '@since'. + +2006-07-16 Carsten Neumann <cn-develop@gmx.net> + + * java/lang/StrictMath.java (cbrt): New method. + (getLowDWord): New helper method. + (getHighDWord): Likewise. + (buildDouble): Likewise. + (CBRT_B1): New field. + (CBRT_B2): Likewise. + (CBRT_C): Likewise. + (CBRT_D): Likewise. + (CBRT_E): Likewise. + (CBRT_F): Likewise. + (CBRT_G): Likewise. + +2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/MBeanInfo.java: + (getNotifications()): Implemented. + * javax/management/NotificationBroadcaster.java: + (removeNotificationListener(NotificationListener)): + Renamed from removeListener. + * javax/management/NotificationEmitter.java: + (removeNotificationListener(NotificationListener, + NotificationFilter, Object)): Likewise. + * javax/management/NotificationFilter.java: + Implement Serializable. + * javax/management/NotificationListener.java: + Implement java.util.EventListener. + * javax/rmi/ssl/SslRMIClientSocketFactory.java: + Implement Serializable. + +2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/MemoryNotificationInfo.java: + New file. + +2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28392 + * gnu/javax/swing/text/html/parser/htmlValidator.java + (tagIsValidForContext): If it is not possible to insert any tag, but + is possible to insert a P, insert a P. + * gnu/javax/swing/text/html/parser/HTML_401Swing.java + (newInstance): Removed print statement. (getBodyElements): + Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the + valid body level tags (will be enclosed into P's). + +2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam): + Condition the creation of .keystore (a default keystore) based on the + createIfNotFound argument as well. + +2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28392 + * examples/gnu/classpath/examples/swing/HtmlDemo.java: + Removed heading p tag from the parsing example. + * gnu/javax/swing/text/html/parser/HTML_401F.java: + (createHtmlContentModel): Explained. + (defineElements): Call getBodyElements to get the body + elements. (getBodyElements): New method. (model): + Made protected from private. + * gnu/javax/swing/text/html/parser/htmlValidator.java + (openTag): Mind that current content model may be null. + (tagIsValidForContext): If the tag is PCDATA, and it is not + valid for context, but the paragraph (P) is valid for context, + suggest to insert the P tag here. + * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent, + HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle + implied P tags here. + * javax/swing/text/html/HTMLEditorKit.java (getParser): + Get the custom parser, using HTML_401Swing.java DTD. + * javax/swing/text/html/parser/ParserDelegator.java: + Removed the obsolete note that HTMLEditorKit does not exist. + * gnu/javax/swing/text/html/parser/GnuParserDelegator.java, + gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files. + +2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/ListenerNotFoundException.java: + New file. + * javax/management/MBeanFeatureInfo.java: + (hashCode()): Use summation instead of multiplication + for consistency with other classes. + * javax/management/MBeanNotificationInfo.java, + * javax/management/Notification.java, + * javax/management/NotificationBroadcaster.java, + * javax/management/NotificationEmitter.java, + * javax/management/NotificationFilter.java, + * javax/management/NotificationListener.java: + New files. + * javax/management/OperationsException.java: + (serialVersionUID): Added. + +2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com> + Mark Wielaard <mark@klomp.org> + + * java/io/PrintStream.java: Added four constructors, for File and + String describing a filename with or without explicit encoding. + +2006-07-16 Sven de Marothy <sven@physto.se> + + * javax/rmi/ssl/SslRMIServerSocketFactory.java, + * javax/rmi/ssl/SslRMIClientSocketFactory.java: + New files. + +2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/28391 + * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): + New method. + (setKeyStoreParams(4)): Call the above method with false as its 1st arg. + (setProviderClassNameParam): Made private. + (setKeystoreTypeParam): Likewise. + (setKeyPasswordParam): Likewise + (setKeystorePasswordParam): Likewise. + (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to + create or not the keystore if it's not there, and the second is the store's + password to process before loading the keystore. Amended the code + accordingly. + * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's + setKeyStoreParams(5) with true as its first argument. + * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise. + +2006-07-16 Sven de Marothy <sven@physto.se> + + * java/util/UUID.java: New file. + +2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file. + * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file. + * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise. + * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly + added Key Wrapping Algorithm SPIs. + +2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> + + * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key + wrapping/unwrapping to invoke their engineGetOutputSize. + +2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field. + (engineInit): If a SecureRandom was specified then use it. + (nextRandomBytes): New method. + (engineWrap): Use above method. + * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field. + (getDefaultPRNG): New method. + * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES. + * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS): + New constant. + +2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/jce/params/BlockCipherParameters.java + (engineGetParameterSpec): Should be able to return an IvParameterSpec. + +2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes + offset into consideration. + +2006-07-16 Mario Torre <neugens@limasoftware.net> + + * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client): + Fixed comment. This functions now requires to be called + with gdk lock held, the comment states that. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache): + Introduces gdk locks around critical regions of code. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class): + * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK. + +2006-07-15 Sven de Marothy <sven@physto.se> + + * javax/swing/JFileChooser.java + Change default selection mode to FILES_ONLY. + * javax/swing/plaf/basic/BasicDirectoryModel.java + Document, fix selection mode filtering. + (renameFile): Implement + * javax/swing/plaf/basic/BasicFileChooserUI.java + (selectedDir): New field to handle selected directories, + disallow selecting of directories in FILES_ONLY mode. + * javax/swing/plaf/metal/MetalFileChooserUI.java: + (EditingActionListener.actionPerformed): + Stop editing on all actions (e.g. return-key press) + +2006-07-15 Mark Wielaard <mark@klomp.org> + + * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref + to code. + (JNI Implementation): Mark JVMTI Implementation as next. + (JVMTI Implementation): Mark JNI Implementation as prev. + +2006-07-15 Mark Wielaard <mark@klomp.org> + + * include/Makefile.am: Remove + include/gnu_java_awt_peer_gtk_GdkTextLayout.h. + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed. + * native/jni/gtk-peer/Makefile.am: Remove + gnu_java_awt_peer_gtk_GdkTextLayout.c + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: + Removed. + + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated. + +2006-07-15 Mark Wielaard <mark@klomp.org> + + * autogen.sh: Recognize autoconf 2.60. + +2006-07-15 Keith Seitz <keiths@redhat.com> + + * NEWS: Update for JVMTI and jvmti.h. + * doc/vmintegration.texinfo: Likewise. + * include/jvmti.h: New file. + +2006-07-15 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: + Removed C++ style comment. + +2006-07-15 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, + * java/awt/MouseInfo.java, + * java/awt/PointerInfo.java, + * java/awt/peer/MouseInfoPeer.java: + New files. + + * java/awt/Image.java + (accelerationPriority): New field. + (setAccelerationPriority, getAccelerationPriority): New methods.. + + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: + (getMouseCoordinates): New method. + + * gnu/java/awt/peer/gtk/GtkFramePeer.java + (updateAlwaysOnTop): Remove stub overload. + + * gnu/java/awt/ClasspathToolkit.java, + * gnu/java/awt/peer/gtk/GtkToolkit.java, + * include/gnu_java_awt_peer_gtk_GtkToolkit.h, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: + (getMouseInfoPeer): New method. + (getMouseNumberOfButtons): New method. + + * gnu/java/awt/peer/gtk/GtkWindowPeer.java + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (gtkWindowSetAlwaysOnTop): New method. + (updateAlwaysOnTop): Implement. + + * java/awt/Toolkit.java, + (getMouseInfoPeer): New method. + + * java/awt/Window.java + (alwaysOnTop): New field. + (isAlwaysOnTop, setAlwaysOnTop): New methods. + + * java/awt/peer/WindowPeer.java: Doc fix. + +2006-07-14 Sven de Marothy <sven@physto.se> + + * java/awt/font/TextLayout.java: + (hitTestChar): Stub method. + * java/awt/font/TextMeasurer.java: + (getLayout): Throw exception on invalid argument. + +2006-07-14 Sven de Marothy <sven@physto.se> + + * java/awt/image/DataBuffer.java + (DataBuffer): Call constructors in the correct order, + +2006-07-14 Mark Wielaard <mark@klomp.org> + + Revert to previous implementation. + * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for + constraints insets. + +2006-07-14 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/XToolkit.java + (XToolkit): Install properties to SystemProperties + rather than System, to avoid SecurityManager. + (getImage(String)): Return error image when string is invalid. + (createImage(URL)): Moved image loading to helper method. + (createImage(ImageProducer)): Implemented. + (createImage(byte[],int,int)): Implemented. + (createImage(InputStream)): New helper method. + +2006-07-14 Tania Bento <tbento@redhat.com> + + * java/awt/FlowLayout.java + (setHgap): No Excpetion should be thrown if hgap has + a negative value. + (setVgap): No Exception should be thrown if vgap has + a negative value. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java: + Added API docs all over. + +2006-07-14 Matt Wringe <mwringe@redhat.com> + + * gnu/javax/crypto/jce/cipher/CipherAdapter.java + (engineInit): Throw InvalidAlgorithmParameterException + for invalid IVParameterSpec IV length. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (createDataBuffer): Include dataBitOffset in calculating the size for + the data buffer. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (getSampleSize()): Return a copy of the array, + (getTransferType()): New method override. + +2006-07-14 Roman Kennke <kennke@aicas.com> + + * java/awt/CardLayout.java + (show): Validate parent to make sure that the layout is + valid. + +2006-07-14 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (enable): Added tree locking. + (disable): Added tree locking. + (show): Added tree locking. + (hide): Added tree locking. + (getLocationOnScreen): Added tree locking. + (reshape): Added tree locking. + (addHierarchyListener): Added tree locking. + (removeHierarchyListener): Added tree locking. + (addHierarchyBoundsListener): Added tree locking. + (removeHierarchyBoundsListener): Added tree locking. + (addNotify): Added tree locking. + (removeNotify): Added tree locking. + * java/awt/Container.java + (invalidateTree): Added tree locking. + (getAlignmentX): Added tree locking. + (getAlignmentY): Added tree locking. + (addNotify): Added tree locking. + (setComponentZOrder): Added tree locking. + (getComponentZOrder): Added tree locking. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (createSubsetSampleModel): Restored argument check, but let null + through. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (createSubsetSampleModel): Removed argument check. + +2006-07-14 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (numHierarchyListeners): New field. + (numHierarchyBoundsListeners): New field. + (show): Fire hierarchy events here. Only fire component event + if there is actually a listener for it. + (hide): Fire hierarchy events here. Only fire component event + if there is actually a listener for it. + (reshape): Fire hierarchy events here. Only fire component event + if there is actually a listener for it. + (addHierarchyListeners): Update listener counters. + (removeHierarchyListeners): Update listener counters. + (addHierarchyBoundsListeners): Update listener counters. + (removeHierarchyBoundsListeners): Update listener counters. + (fireHierarchyEvent): New helper method for firing hierarchy + events. + * java/awt/Container.java + (addImpl): Update listener counters. Fire hierarchy event. + (remove): Update listener counters. Fire hierarchy event. + (fireHierarchyEvent): New helper method for firing hierarchy + events. + (updateHierarchyListenerCount): New helper method for + updating the listener counters. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (equals): New method override, + (hashCode): Likewise. + +2006-07-14 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (MultiPixelPackedSampleModel(int, int, int, int, int, int)): + Corrected scanlineStride calculation. + +2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/Registry.java (KWA_PREFIX): New constant. + (AES_KWA): Likewise. + (AES128_KWA): Likewise. + (AES192_KWA): Likewise. + (AES256_KWA): Likewise. + (RIJNDAEL_KWA): Likewise. + (TRIPLEDES_KWA): Likewise. + (DESEDE_KWA): Likewise. + * gnu/javax/crypto/kwa/AESKeyWrap.java: New file + * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise. + * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise. + * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise. + * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise. + * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise. + +2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/pad/IPad.java: Updated class documentation. + (PADDING_BLOCK_SIZE): New constant. + (init(Map attributes)): New method. + * gnu/javax/crypto/pad/BasePad.java (init): New method. + +2006-07-14 Mario Torre <neugens@limasoftware.net> + + * gnu/java/security/OID.java (OID): Private Constructor removed as + it is not needed anymore. + (clone): Fixed. Now uses super.clone instead of the private + constructor as per specification of clone method. + (serialVersionUID): added new field to allow serialization. + +2006-07-13 Sven de Marothy <sven@physto.se> + + * gnu/javax/imageio/gif/GIFImageReader.java + (read): Remove old debugging trace. + +2006-07-13 Andreas Tobler <a.tobler@schweiz.ch> + + PR awt/28369: + * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and + blue mask. + +2006-07-13 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (DEFAULT_MAX_SIZE): New static constant. + (preferredSize): Return copy of the actual value computed + by new helper method. + (preferredSizeImpl): New helper method. Adds locking and + correct handling of cached value. + (minimumSize): Return copy of the actual value computed + by new helper method. + (minimumSizeImpl): New helper method. Adds locking and + correct handling of cached value. + (getMaximumSize): Return copy of the actual value computed + by new helper method. + (maximumSizeImpl): New helper method. Adds locking and + correct handling of cached value. + (invalidate): Correct handling of cached layout information. + Added locking. + * java/awt/Container.java + (preferredSize): Minimized locking. Corrected handling of cached + values. Return copy of real value. + (minimumSize): Minimized locking. Corrected handling of cached + values. Return copy of real value. + (getMaximumSize): Minimized locking. Corrected handling of cached + values. Return copy of real value. + +2006-07-13 Tania Bento <tbento@redhat.com> + + * gnu/java/awt/peer/ClasspathFontPeer.java + (isLogicalFontName): Return true if name == default. + (logicalFontNameToFaceName): Check if name == default, + and if so, return "Dialog.plain". + (setStandardAttributes(String, Map)): If name == null, + it should be set to "Default", not "SansSerif". + * java/awt/Canvas.java + (generateName): Fixed documentation. + * java/awt/CheckboxMenuItem.java + Added static variable "next_chkmenuitem_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/Choice.java + Added static variable "next_choice_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/Cursor.java + (Cursor(int)): Set name depending on the type passed. + * java/awt/List.java + Added static variable "next_list_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/Menu.java + Added static variable "next_menu_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/MenuBar.java + Added static variable "next_menubar_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/MenuComponent.java + (getName): Before returning name, check if name == null + and name is not explicity set. If this is the case, + name will be generated. + (generateName): Added and implemented method. + * java/awt/MenuItem.java + Added static variable "next_menuitem_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/PopupMenu.java + Added static variable "next_popup_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/ScrollPane.java + Added static variable "next_scrollpane_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + * java/awt/TextField.java + Added static variable "next_textfield_number". + (generateName): Added and implemented method. + (getUniqueLong): Likewise. + + +2006-07-13 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/SinglePixelPackedSampleModel.java + (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert + mask correctly as an unsigned integer, + (equals): New method override. + +2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLDocument.java (insertAfterEnd, + insertAfterStart, insertBeforeEnd): Removed stub markings. + +2006-07-13 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BandedSampleModel.java: API doc updates and source + code reformatting, + * java/awt/image/SinglePixelPackageSampleModel.java: Likewise. + +2006-07-13 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BandedSampleModel.java: API doc updates. + +2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): + Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack, + HTMLReader.insertTag, HTMLReader.insertTagEncountered, + HTMLReader.pushDepth, HTMLReader.popDepth): Documented. + (HRMLReader.blockClose): Mind that parser stack may be empty. + (HTMLReader.handeComment, HTMLReader.handleStartTag, + HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. + (HTMLReader.shouldInsert): New method. (getElement(String)): + Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, + insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML): + Implemented. (getInsertingReader): New method. + * examples/gnu/classpath/examples/swing/HtmlDemo.java: + Added buttons to demonstrate the work of the insert actions. + +2006-07-13 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/SampleModel.java: API doc updates and additions, + * java/awt/image/SinglePixelPackedSampleModel.java: Likewise. + +2006-07-12 Sven de Marothy <sven@physto.se> + + * javax/swing/JFileChooser.java: + (createDialog): Close operation should cause a cancel. + +2006-07-12 Francis Kung <fkung@redhat.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports. + (cairoArc): New native method. + (cairoRestore): New native method. + (cairoSave): New native method. + (cairoScale): New native method. + (createPath): New method to centralize code from draw and fill. + (draw): Modified to use createPath method. + (fill): Modified to use createPath method. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added + function declarations. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New + method. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New + method. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New + method. + +2006-07-12 Tom Tromey <tromey@redhat.com> + + PR libgcj/27271: + * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte + on PartialInputStream. + (PartialInputStream.dummyByteCount): New field. + (PartialInputStream.fillBuffer): Handle dummy byte. + (PartialInputStream.read): Likewise. + (PartialInputStream.addDummyByte): New method. + +2006-07-12 Mario Torre <neugens@limasoftware.net> + + * native/jni/gconf-peer/GConfNativePeer.c + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): + Fixed C++ style comment. + +2006-07-12 David Gilbert <david.gilbert@object-refinery.com> + + * java/util/Arrays.java + (asList): Updated API docs. + +2006-07-11 Robert Schuster <robertschuster@fsfe.org> + + Fixes PR28350. + * native/jni/gconf-peer/GConfNativePeer.c: + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): + Changed if-expression. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): + Added check for _value not being NULL. + +2006-07-11 Roman Kennke <kennke@aicas.com> + + * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c + (read): Use fd when local sockets are disabled to make the + compiler quite. + (write): Likewise. + +2006-07-11 Roman Kennke <kennke@aicas.com> + + * java/awt/image/MultiPixelPackedSampleModel.java + (MultiPixelPackedSampleModel): Substract -1 so that the integer + division gets rounded up. + +2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/ManageFactory.java: + (getMemoryManagerMXBeans()): Use addAll, not add. + +2006-07-11 Vivek Lakshmanan <vivekl@redhat.com> + + PR 27649: + * gnu/classpath/ByteArray.java: Removed (moved). + * gnu/java/security/util/ByteArray.java: New File. + * gnu/javax/crypto/RSACipherImpl.java: Reference + gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray. + +2006-07-11 Roman Kennke <kennke@aicas.com> + + * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c + (available): Pass fd as argument and avoid JNI class/field + lookup. + (read): Likewise. + (write): Likewise. + * include/gnu_java_net_local_LocalSocketImpl.h: + Regenerated. + * gnu/java/net/local/LocalSocketImpl.h + (available): Pass fd as argument and avoid JNI class/field + lookup. + (read): Likewise. + (write): Likewise. + +2006-07-11 Sven de Marothy <sven@physto.se> + + * gnu/javax/sound/sampled/AU/AUReader.java: + Correct file extension from .as to .au. + +2006-07-11 Sven de Marothy <sven@physto.se> + + * gnu/javax/sound/sampled/AU/AUReader.java: + New file. + * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: + Added new provider. + +2006-07-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTable.java + (setRowSelectionAllowed): Fire required PropertyChangeEvent, + (setColumnSelectionAllowed): Likewise. + +2006-07-10 Vivek Lakshmanan <vivekl@redhat.com> + + PR 27649: + * gnu/classpath/debug/Simple1LineFormatter.java: Use + AccessController.doPrivileged instead of SystemProperties.getProperty. + * gnu/classpath/debug/SystemLogger.java: Likewise. + * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary + repeated getProperty calls for "file.seperator". + (refresh): Since already in privileged block, call System.getProperty + instead of SystemProperties.getProperty. + * gnu/java/security/key/dss/DSSKey.java + (toString): Use AccessController.doPrivileged instead of + SystemProperties.getProperty. + * gnu/java/security/key/dss/DSSPrivateKey.java + (toString): Likewise. + * gnu/java/security/key/dss/DSSPublicKey.java + (toString): Likewise. + * gnu/java/security/key/rsa/GnuRSAKey.java + (toString): Likewise. + * gnu/java/security/key/rsa/GnuRSAPrivateKey.java + (toString): Likewise. + * gnu/java/security/key/rsa/GnuRSAPublicKey.java + (toString): Likewise. + * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHKey.java + (toString): Likewise. + * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java + (toString): Likewise. + * gnu/javax/crypto/key/dh/GnuDHPublicKey.java + (toString): Likewise. + +2006-07-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/AbstractButton.java + (disabledIcon): Fixed name (was 'disabeldIcon'), + (getDisabledIcon): Updated for corrected field name, + (setDisabledIcon): Fire a PropertyChangeEvent. + +2006-07-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultBoundedRangeModel.java + (readObject): New private method, + (writeObject): Likewise. + +2006-07-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/ButtonGroup.java + (add): Ignore null argument, + (remove): Ignore null argument. If removing selected button, clear the + sel field, + (findButton): Changed case for method name, and documented, + (setSelected): Updated for modification to findButton() method name, + (isSelected): Updated API docs. + +2006-07-11 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BufferedImage.java + (BufferedImage(int, int, int)): Use correct color space for + TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an + IllegalArgumentException for an unrecognised type. + +2006-07-10 Mario Torre <neugens@limasoftware.net> + + * java/awt/BasicStroke.java: Removed unused import. + * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. + * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. + * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed. + +2006-07-10 Matt Wringe <mwringe@redhat.com> + + PR classpath/28212: + * javax/crypto/spec/SecretKeySpec.java + (equals): Check object type. + +2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/CORBA/SimpleCommunication/ + communication/StructureToPassHelper.java, + examples/gnu/classpath/examples/CORBA/SimpleCommunication/ + communication/StructureToReturnHelper.java, + examples/gnu/classpath/examples/CORBA/SimpleCommunication/ + communication/TreeNodeHelper.java, + examples/gnu/classpath/examples/CORBA/SimpleCommunication/ + communication/WeThrowThisExceptionHelper.java, + gnu/CORBA/ForwardRequestHelper.java, + org/omg/CORBA/CompletionStatusHelper.java, + org/omg/CORBA/CurrentHelper.java, + org/omg/CORBA/DefinitionKindHelper.java, + org/omg/CORBA/IDLTypeHelper.java, + org/omg/CORBA/NameValuePairHelper.java, + org/omg/CORBA/ObjectHelper.java, + org/omg/CORBA/ParameterModeHelper.java, + org/omg/CORBA/PolicyErrorCodeHelper.java, + org/omg/CORBA/PolicyErrorHelper.java, + org/omg/CORBA/PolicyHelper.java, + org/omg/CORBA/PolicyListHelper.java, + org/omg/CORBA/PolicyTypeHelper.java, + org/omg/CORBA/ServiceDetailHelper.java, + org/omg/CORBA/ServiceInformationHelper.java, + org/omg/CORBA/SetOverrideTypeHelper.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/UnionMemberHelper.java, + org/omg/CORBA/UnknownUserExceptionHelper.java, + org/omg/CORBA/VisibilityHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/WrongTransactionHelper.java, + org/omg/CosNaming/BindingHelper.java, + org/omg/CosNaming/BindingIteratorHelper.java, + org/omg/CosNaming/BindingListHelper.java, + org/omg/CosNaming/BindingTypeHelper.java, + org/omg/CosNaming/NameComponentHelper.java, + org/omg/CosNaming/NameHelper.java, + org/omg/CosNaming/NamingContextExtHelper.java, + org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java, + org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java, + org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java, + org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java, + org/omg/CosNaming/NamingContextHelper.java, + org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, + org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, + org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, + org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, + org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, + org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, + org/omg/DynamicAny/AnySeqHelper.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, + org/omg/DynamicAny/DynAnyHelper.java, + org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, + org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, + org/omg/DynamicAny/DynAnySeqHelper.java, + org/omg/DynamicAny/DynArrayHelper.java, + org/omg/DynamicAny/DynEnumHelper.java, + org/omg/DynamicAny/DynFixedHelper.java, + org/omg/DynamicAny/DynSequenceHelper.java, + org/omg/DynamicAny/DynStructHelper.java, + org/omg/DynamicAny/DynUnionHelper.java, + org/omg/DynamicAny/DynValueHelper.java, + org/omg/DynamicAny/NameDynAnyPairHelper.java, + org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, + org/omg/DynamicAny/NameValuePairHelper.java, + org/omg/DynamicAny/NameValuePairSeqHelper.java, + org/omg/IOP/CodecFactoryHelper.java, + org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, + org/omg/IOP/CodecPackage/FormatMismatchHelper.java, + org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, + org/omg/IOP/CodecPackage/TypeMismatchHelper.java, + org/omg/IOP/ComponentIdHelper.java, + org/omg/IOP/IORHelper.java, + org/omg/IOP/MultipleComponentProfileHelper.java, + org/omg/IOP/ProfileIdHelper.java, + org/omg/IOP/ServiceContextHelper.java, + org/omg/IOP/ServiceContextListHelper.java, + org/omg/IOP/ServiceIdHelper.java, + org/omg/IOP/TaggedComponentHelper.java, + org/omg/IOP/TaggedProfileHelper.java, + org/omg/PortableInterceptor/AdapterManagerIdHelper.java, + org/omg/PortableInterceptor/AdapterNameHelper.java, + org/omg/PortableInterceptor/AdapterStateHelper.java, + org/omg/PortableInterceptor/CurrentHelper.java, + org/omg/PortableInterceptor/ForwardRequestHelper.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, + org/omg/PortableInterceptor/InvalidSlotHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, + org/omg/PortableServer/CurrentHelper.java, + org/omg/PortableServer/CurrentPackage/NoContextHelper.java, + org/omg/PortableServer/ForwardRequestHelper.java, + org/omg/PortableServer/POAHelper.java, + org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, + org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, + org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, + org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, + org/omg/PortableServer/POAPackage/NoServantHelper.java, + org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, + org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, + org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, + org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, + org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, + org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, + org/omg/PortableServer/ServantActivatorHelper.java, + org/omg/PortableServer/ServantLocatorHelper.java: Remove the + typecode caching and always use OrbRestricted.Singleton. + +2006-07-09 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension): + New static final boolean field. + (getComponentGraphics): Use hasXRenderExtension. + (setClip): Override method for locking. + +2006-07-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/AbstractButton.java + (setHorizontalTextPosition): Added check for illegal argument, + (setVerticalTextPosition): Likewise. + +2006-07-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/Timer.java + (setDelay): Throw IllegalArgumentException for negative delay, + (setInitialDelay): Likewise, + * javax/swing/ToolTipManager.java + (setInitialDelay): Document IllegalArgumentException, + (setDismissDelay): Likewise, + (setReshowDelay): Likewise. + +2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/MemoryUsage.java: + (from(javax.management.openmbean.CompositeData)): + Implemented. + * java/lang/management/ThreadInfo.java: + Changed to use open types throughout for the state. + (ThreadInfo(long,String,String,long,long,String, + long,String,long,long,boolean,StackTraceElement[])): + New constructor. + (checkAttribute(javax.management.openmbean.CompositeType, + String, javax.management.openmbean.OpenType)): New method. + (from(javax.management.openmbean.CompositeData)): + Implemented. + (getLockName()): Fixed to use new variable. + (getLockOwnerId()): Likewise. + (getLockOwnerName()): Likewise. + (getThreadId()): Likewise. + (getThreadName()): Likewise. + (getThreadState()): Likewise. + (toString()): Refactored to use new variables. + * javax/management/openmbean/ArrayType.java: + New file. + * javax/management/openmbean/CompositeType.java: + Variables should be transient, not volatile. + * javax/management/openmbean/OpenDataException.java: + (serialVersionUID): Added. + * javax/management/openmbean/SimpleType.java: + New file. + * javax/management/openmbean/TabularType.java + Variables should be transient, not volatile. + +2006-07-09 Tom Tromey <tromey@redhat.com> + + * tools/.cvsignore: Updated for new tools. + +2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/openmbean/CompositeData.java, + * javax/management/openmbean/CompositeType.java, + * javax/management/openmbean/OpenDataException.java, + * javax/management/openmbean/OpenType.java, + * javax/management/openmbean/TabularData.java, + * javax/management/openmbean/TabularType.java, + * javax/management/openmbean/package.html: + New files. + +2006-07-09 Mark Wielaard <mark@klomp.org> + + * gnu/javax/print/ipp/IppRequest.java: Remove double assignment. + * gnu/java/rmi/server/UnicastServerRef.java: Likewise. + * gnu/java/rmi/server/ActivatableServerRef.java: Likewise. + +2006-07-08 Anthony Green <green@redhat.com> + + * gnu/javax/sound/sampled/WAV/WAVReader.java, + resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: + New files. + +2006-07-09 Mario Torre <neugens@limasoftware.net> + + * native/jni/gconf-peer/GConfNativePeer.c: + Fixed indentation to be more compliant to the GNU coding + guidelines. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset): + Added explicit test for errors in the GConf backend. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): + Added explicit test for errors in the GConf backend. + Fixed Segmentation Fault when non valid key names are given as input. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): + likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): + Added explicit test for errors in the GConf backend. + * gnu/java/util/prefs/gconf/GConfNativePeer.java: + Added javadoc comments for all native methods. + (nodeExist): removed test to check for valid absolute path name + for nodes. + (startWatchingNode): likewise. + (stopWatchingNode): likewise. + (setString): likewise, plus fixed javadoc comments. + (unset): likekwise. + (getKey): likewise. + (getKeys): likewise, also fixed javadoc comments. + (getChildrenNodes): likewise. + * gnu/java/util/prefs/GConfBasedPreferences.java: + changed DEFAULT_USER_ROOT to /apps/classpath. + (constructor): Test to check for a valid absolute path for nodes + is now in the contructor for that node, instead of being on + each method of the backend. + (getGConfKey): removed empty new line. + +2006-07-08 Mark Wielaard <mark@klomp.org> + + * .classpath: Add gnu/java/awt/peer/x/ to excludes. + +2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/FlowView.java (FlowStrategy.layoutRow): + Handle the forced break in the same way as exceeding the + available row space. + * javax/swing/text/html/HRuleView.java: Rewritten. + * javax/swing/text/html/HTMLDocument.java + (HTMLReader.addSpecialElement):Reserve two characters for + the special elements. + * examples/gnu/classpath/examples/swing/HtmlDemo.java + (text): Extended the HTML example to parse. + +2006-07-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/AbstractButton.java + (setHorizontalAlignment): Check for illegal argument, + (setVerticalAlignment): Likewise. + +2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/TableView.java + (getStyleSheet): New method. (RowView.getStyleSheet): + New method. + +2006-07-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/AbstractButton.java + (setRolloverIcon): Call setRolloverEnabled(true), + (setRolloverSelectedIcon): Likewise. + +2006-07-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/border/TitledBorder.java + (setTitlePosition): Added message to exception, + (setTitleJustification): Likewise. + +2006-07-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (createDefaultTheme): Corrected API docs, + (initComponentDefaults): Added entry for 'TitledBorder.border', + (getCurrentTheme): Initialise theme if it is null. + +2006-07-07 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (isValid): Return false when component has no peer, + don't query the showing state. + +2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/FlowView.java (FlowStrategy.layoutRow): + Advance the offset also in the case of the enforced break. + +2006-07-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicArrowButton.java + (MAXIMUM_SIZE): Removed field, + (MINIMUM_SIZE): Likewise, + (PREFERRED_SIZE): Likewise, + (getMaximumSize): Return new instance every time, + (getMinimumSize): Likewise, + (getPreferredSize): Likewise. + +2006-07-07 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + (findTarget): Avoid array copying in + Container.getComponents(). + +2006-07-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintChildrenWithOverlap): Avoid array copying in + Container.getComponents(). + (paintChildrenOptimized): Avoid array copying in + Container.getComponents(). + (fireAncestorEvent): Avoid array copying in + Container.getComponents(). + (findOverlapFreeParent): Avoid array copying in + Container.getComponents(). + +2006-07-07 Matt Wringe <mwringe@redhat.com> + + * javax/crypto/spec/PBEKeySpec.java: Updated copyright year. + (passwordValid): New field. + (setPassword): New method. + (setSalt): Likewise. + (setIterationCount): Likewise. + (setKeyLength): Likewise. + (PBEKeySpec(char[])): Use new setter methods. + (PBEKeySpec(char[], byte[], int)): Likewise. + (PBEKeySpec(char[], byte[], int, int)): Likewise. + (clearPassword): Set passwordValid to false. + (getPassword): Check that clearPassword() was not called earlier. + Return a clone of the password. + (getSalt): Return a clone of the salt if it was not null. + +2006-07-07 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (isValid): Always return false when component is + not showing. + (setFont): Always set font, even when setting + the same or equal font again. + +2006-07-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (CheckBoxMenuItemIcon): Implement UIResource, + (FileChooserDetailViewIcon): Likewise, + (FileChooserHomeFolderIcon): Likewise, + (FileChooserListViewIcon): Likewise, + (FileChooserNewFolderIcon): Likewise, + (FileChooserUpFolderIcon): Removed redundant 'implements', + (RadioButtonMenuItemIcon): Implement UIResource, + (HorizontalSliderThumbIcon): Likewise, + (InternalFrameCloseIcon): Likewise, + (InternalFrameDefaultMenuIcon): Likewise, + (InternalFrameAltMaximizeIcon): Likewise, + (InternalFrameMaximizeIcon): Likewise, + (InternalFrameMinimizeIcon): Likewise, + (VerticalSliderThumbIcon): Likewise, + (TreeHardDriveIcon): Likewise, + (TreeFloppyDriveIcon): Likewise, + (TreeComputerIcon): Likewise, + (horizontalSliderThumbIcon): New field, + (verticalSliderThumbIcon): New field, + (getHorizontalSliderThumbIcon): Cache icon, + (getVerticalSliderThumbIcon): Likewise. + +2006-07-06 Mark Wielaard <mark@klomp.org> + + * lib/Makefile.am (CLEANFILES): Add Makefile.deps. + (DISTCLEANFILES): Add standard.omit. + (clean-local): Remove Makefile.deps, only remove dirs. + +2006-07-06 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (setFont): Only invalidate when component is valid. + * java/awt/Container.java + (setLayout): Only invalidate when component is valid. + +2006-07-06 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java: + New class not fully implemented. + * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java: + New class not fully implemented. + * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java: + New class not fully implemented. + * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java: + New class not fully implemented. + * nu/java/awt/peer/gtk/GtkToolkit.java: + Fixed Imports. + (createDragSourceContextPeer): Implemented. + (createDragGestureRecognizer): New function to override + java.awt.Toolkit.createDragGestureRecognizer. + * java/awt/dnd/DragSource.java + (NoDragGestureRecognizer): Removed inner class. + (createDragGestureRecognizer): Re-Implemented to + call Toolkit's createDragGestureRecognizer. + (createDefaultDragGestureRecognizer): Re-Implemented to + call Toolkit's createDragGestureRecognizer. + * java/awt/dnd/DropTarget.java + (addNotify): Added check to determine type of peer and call + addDropTarget. + (removeNotify): Added call to removeDropTarget. + +2006-07-06 Tom Tromey <tromey@redhat.com> + + * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify + 'queue'. + (run): Wait on queue, not 'this'. + +2006-07-06 Lillian Angel <langel@redhat.com> + + * java/awt/dnd/DragSource.java + (startDrag): Implemented. Added comments describing + what the function should do. Removed FIXME. + +2006-07-06 Tania Bento <tbento@redhat.com> + + * gnu/java/awt/Canvas.java + Added new private variable 'next_canvas_number'. + (generateName): Added. + (getUniqueLong): Added. + +2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/CharacterAttributeTranslator.java + (getColor): Made public. + * javax/swing/text/html/StyleSheet.java (stringToColor): + Use CharacterAttributeTranslator.getColor(String) + +2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLEditorKit.java: + (HTMLFactory.createElement): Update reference to the html table view. + * javax/swing/text/html/HTMLTableView.java: Removed (renamed). + * javax/swing/text/html/TableView.java: New file. + +2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLEditorKit.java: + (HTMLFactory.createElement): Uncomment + code for BRView and HRuleView. + * javax/swing/text/html/BRView.java, + javax/swing/text/html/HRuleView.java: New files. + +2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: Updated. + * doc/vmintegration.texinfo: Likewise. + * examples/gnu/classpath/examples/management/TestGarbageCollector.java, + * examples/gnu/classpath/examples/management/TestMemoryManager.java, + * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java, + * gnu/java/lang/management/MemoryManagerMXBeanImpl.java, + * java/lang/management/GarbageCollectorMXBean.java: + New files. + * java/lang/management/ManagementFactory.java: + (getGarbageCollectorMXBeans()): Implemented. + (getMemoryManagerMXBeans()): Likewise. + * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, + * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java: + New files. + * vm/reference/java/lang/management/VMManagementFactory.java: + (getMemoryManagerNames()): Added. + (getGarbageCollectorNames()): Added. + +2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename + from lib_LTLIBRARIES. + (install-plugin): Depend on nativeexeclib_LTLIBRARIES. + +2006-07-05 Lillian Angel <langel@redhat.com> + + * java/awt/dnd/DragGestureEvent.java: + Added new fields. + (DragGestureEvent): Initialized new fields, added to check and + added documentation. + (getSourceAsDragGestureRecognizer): Added documentation and + changed to use getSource. + (getComponent): Added documentation and fixed to return the proper + value. + (getDragSource): Likewise. + (getDragOrigin): Added documentation. + (iterator): Implemented and added documentation. + (toArray): Likewise. + (toArray): Likewise. + (getDragAction): Likewise. + (getTriggerEvent): Likewise. + (startDrag): Likewise. + * java/awt/dnd/DragGestureRecognizer.java + (resetRecognizer): Added FIXME. + * java/awt/dnd/DragSource.java: + Added new field. + (DragSource): Set ds to be null if headless. + (getDefaultDragSource): Added documentation and implemented. + (isDragImageSupported): Marked as unimplemented. + (startDrag): Likewise. + (createDragSourceContext): Implemented. + (NoDragGestureRecognizer): Formatted inner class. + * java/awt/dnd/DropTarget.java + (stop): Marked as unimplemented. + (actionPerformed): Likewise. + (addDropTargetListener): Added code to throw exception. + (removeDropTargetListener): Added check, removed FIXME. + (dragEnter): Implemented. + (dragOver): Implemented. + (dropActionChanged): Implemented. + (dragExit): Implemented. + (drop): Implemented. + (addNotify): Implemented. + (removeNotify): Implemented. + (createDropTargetContext): Implemented. + (createDropTargetAutoScroller): Implemented. + (initializeAutoscrolling): Implemented. + (updateAutoscroll): Implemented. + (clearAutoscroll): Implemented. + * java/awt/dnd/DropTargetContext.java + (dropComplete): Implemented. + (acceptDrag): Implemented. + (rejectDrag): Implemented. + (acceptDrop): Implemented. + (rejectDrop): Implemented. + (getCurrentDataFlavors): Implemented. + (getTransferable): Partially implemented. + * java/awt/dnd/DropTargetDragEvent.java + (getDropAction): Uncommented correct code. + * java/awt/dnd/DropTargetDropEvent.java + (dropComplete) :Implemented. + * java/awt/dnd/InvalidDnDOperationException.java + (InvalidDnDOperationException): Added call to super. + +2006-07-05 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicArrowButton.java: + (paint): Removed getBounds() call, changed center point + calculation. + +2006-07-05 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/InputMap.java + (inputMap): Don't initialize yet, + (InputMap): Removed TODO, + (get): Check for null inputMap, + (put): Return immediately for null keyStroke, check for null inputMap + and initialize if necessary, + (remove): Check for null inputMap, + (size): Likewise, + (clear): Likewise, + (keys): Likewise, + (allKeys): Likewise, + (writeObject): Removed, + (readObject): Removed. + +2006-07-05 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/classpath/examples/swing/TabbedPaneDemo.java + (createContent): Use different labels for buttons. + +2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: Updated. + * doc/vmintegration.texinfo: Likewise. + * examples/gnu/classpath/examples/management/TestMemoryPool.java, + * gnu/java/lang/management/MemoryPoolMXBeanImpl.java: + New files. + * java/lang/management/ManagementFactory.java: + (getMemoryPoolMXBeans()): Implemented. + * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, + * vm/reference/java/lang/management/VMManagementFactory.java: + New files. + +2006-07-04 Lillian Angel <langel@redhat.com> + + * java/awt/dnd/DragSourceContext.java: + Removed FIXMEs from fields. + (DragSourceContext): Added code to initialize cursor and sourceActions. + (getDragSource): Added documentation. + (getComponent): Likewise. + (getTrigger): Likewise. + (getSourceActions): Added documentation and implemented. + (setCursor): Implemented. Added documentation. + (getCursor): Implemented. Added documentation. + (dragEnter): Added code to notify DragSource's listeners. + (dragOver): Likewise. + (dragExit): Likewise. + (dropActionChanged): Likewise. + (dragDropEnd): Likewise. + (dragMouseMoved): Implemented. + (getTransferable): Added API documentation. + (updateCurrentCursor): Added API documentation and partially implemented. + +2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented. + +2006-07-04 Lillian Angel <langel@redhat.com> + + * java/awt/dnd/DragSourceContext.java + (DragSourceContext): Implemented fully. Fixed API docs. + (transferablesFlavorsChanged): Implemented. + (dragEnter): Implemented. + (dragOver): Implemented. + (dragExit): Implemented. + (dropActionChanged): Implemented. + (dragDropEnd): Implemented. + +2006-07-04 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicOptionPaneUI.java: + Fixed name of constant. + (getIconWidth): Changed name of constant returned. + (getIconHeight): Likewise. + (paint): Likewise. + (createSeparator): Marked as unimplemented. + * javax/swing/plaf/basic/BasicTableUI.java + (focusGained): Marked as unimplemented. + (focusLost): Marked as unimplemented. + (mouseEntered): Likewise. + (mouseMoved): Likewise. + (uninstallDefaults): Likewise. + * javax/swing/plaf/basic/BasicToolBarUI.java + (mouseClicked): Changed comment. + (mouseEntered): Likewise. + (mouseExited): Likewise. + (mouseMoved): Likewise. + (setOrientation): Implemented. + (ToolBarFocusListener): Marked as unimplemented. + (focusGained): Marked as unimplemented. + (focusLost): Marked as unimplemented. + +2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28061 + * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl): + Mind the effect of the root visibility on the position of the control. + Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the + vertical line over first level nodes. + +2006-07-04 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuUI.java + (installKeyboardActions): Implemented to call super. Nothing else + needs to be done here. + (setupPostTimer): Marked as unimplemented. + (uninstallKeyboardActions): Implemented to call super. Nothing else + needs to be done here. + (mouseMoved): Removed TODO. Nothing to be done here. + (ChangeHandler): Implemented. + (menuDragMouseExited): Removed TODO. Nothing to be done here. + (menuDragMouseReleased): Removed TODO. Nothing to be done here. + (menuKeyReleased): Removed TODO. Nothing to be done here. + (menuKeyTyped): Marked as unimplemented. + +2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28061 + * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java + (getDefaults): Set hash color to black. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Set hash color to grey blue. + * javax/swing/plaf/basic/BasicTreeUI.java + (instellDefaults): Set hash color. + * javax/swing/plaf/metal/MetalIconFactory.java + (TreeControlIcon.paint): Rewritten. + +2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28061 + * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): + Always cancel the current editing session before doing anything else, + return immediately if this fails. + (TreeHomeAction): Ensure that the lead selection path is visible after + the action is performed. TreeIncrementAction: Likewise. TreeToggleAction: + Likewise. TreeTraverseAction: Likewise. + +2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28061 + * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): + Returned back the code to handle the start of the click-pause-click + editing initiation, explained about this code. + (TreeStartEditingAction): New inner class. + (stopEditingInCompleteEditing): Explained about this field. + (completeEditing(boolean, boolean, boolean): Only return early + if there is no current editing session. + (createDefaultActions): Install TreeStartEditingAction and + TreeCancelEditingAction. + +2006-07-04 Mario Torre <neugens@limasoftware.net> + + * configure.ac: Added new option --enable-default-preferences-peer + to pass user specified default preference backend. + If the GConf peer is built, GConf become the default backend. + * resource/META-INF/services/java.util.prefs.PreferencesFactory.in: + new file. + * lib/Makefile.am: excludes files terminating in 'in' from + the metafiles list. + * lib/copy-vmresources.sh.in: excludes files terminating in 'in' + from copy into META-INF. + * java/util/prefs/Preferences.java: added two new import + classes gnu.classpath.ServiceFactory and java.util.Iterator. + (getFactory): Now try to check for + a system defined default preference backend before to fall back on + FileBasedPreference. + +2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28061 + * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE. + (EXPANDED): Initialise to Boolean.TRUE. + * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall): + First configure layout cache and then set the assigned value + as row mapper. Set the root visibility property. + (toggleExpandState): Obtains expansion state from the layout cache. + +2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/MemoryPoolMXBean.java: + New file. + +2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/RSACipherImpl.java: Source formatting. + +2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting. + * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise. + * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise. + * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise. + * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise. + * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise. + * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise. + * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise. + * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise. + * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise. + * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise. + * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise. + * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise. + * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise. + * gnu/javax/crypto/sasl/srp/CALG.java: Likewise. + * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise. + * gnu/javax/crypto/sasl/srp/IALG.java: Likewise. + * gnu/javax/crypto/sasl/srp/KDF.java: Likewise. + * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise. + * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise. + * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRP.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. + * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise. + * gnu/javax/crypto/sasl/AuthInfo.java: Likewise. + * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise. + * gnu/javax/crypto/sasl/ClientFactory.java: Likewise. + * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise. + * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise. + * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise. + * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise. + * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise. + * gnu/javax/crypto/sasl/InputBuffer.java: Likewise. + * gnu/javax/crypto/sasl/IntegrityException.java: Likewise. + * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise. + * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise. + * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise. + * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise. + * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise. + * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. + * gnu/javax/crypto/sasl/SaslUtil.java: Likewise. + * gnu/javax/crypto/sasl/ServerFactory.java: Likewise. + * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise. + * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise. + +2006-07-02 Anthony Green <green@redhat.com> + + * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make + sure that every track written ends with an End Of Track meta + message. + +2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/MemoryUsage.java: + (toString()): Fix missing MB for maximum memory usage. + +2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: + Updated to include VMCompilationMXBeanImpl. + * doc/vmintegration.texinfo: + Likewise, along with update to VMMemoryMXBeanImpl + as below. + * examples/gnu/classpath/examples/management/TestCompilation.java, + * gnu/java/lang/management/CompilationMXBeanImpl.java, + * java/lang/management/CompilationMXBeanImpl.java: + New files. + * java/lang/management/ManagementFactory.java: + (getCompilationMXBean()): Implemented. + * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java: + New file. + * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: + (getHeapMemoryUsage()): Added default implementation. + +2006-07-02 Anthony Green <green@redhat.com> + + * NEWS: Mention MIDI file reader/writer providers. + +2006-07-02 Anthony Green <green@redhat.com> + + * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter, + gnu/javax/sound/midi/file/MidiFileWriter.java, + gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files. + +2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: + Updated to include VMMemoryMXBeanImpl. + * doc/vmintegration.texinfo: Likewise. + * examples/gnu/classpath/examples/management/TestMemory.java: + New file. + * gnu/java/lang/management/ClassLoadingMXBeanImpl.java: + Remove redundant import. + * gnu/java/lang/management/MemoryMXBeanImpl.java: + New file. + * gnu/java/lang/management/ThreadMXBeanImpl.java: + Remove redundant import. + * java/lang/management/ManagementFactory.java: + (getMemoryMXBean()): Implemented. + * java/lang/management/MemoryMXBean.java, + * java/lang/management/MemoryUsage.java: + New files. + * java/lang/management/ThreadInfo.java: + (toString()): Updated documentation. + * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: + New file. + +2006-07-01 Anthony Green <green@redhat.com> + + * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader, + gnu/javax/sound/midi/file/MidiFileReader.java, + gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java, + gnu/javax/sound/midi/file/MidiDataInputStream.java: New files. + +2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/prng/ARCFour.java: Source formatting. + * gnu/javax/crypto/prng/CSPRNG.java: Likewise. + * gnu/javax/crypto/prng/Fortuna.java: Likewise. + * gnu/javax/crypto/prng/ICMGenerator.java: Likewise. + * gnu/javax/crypto/prng/PBKDF2.java: Likewise. + * gnu/javax/crypto/prng/PRNGFactory.java: Likewise. + * gnu/javax/crypto/prng/UMacGenerator.java: Likewise. + +2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/pad/BasePad.java: Source formatting. + * gnu/javax/crypto/pad/IPad.java: Likewise. + * gnu/javax/crypto/pad/PadFactory.java: Likewise. + * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. + * gnu/javax/crypto/pad/PKCS7.java: Likewise. + * gnu/javax/crypto/pad/SSL3.java: Likewise. + * gnu/javax/crypto/pad/TBC.java: Likewise. + * gnu/javax/crypto/pad/TLS1.java: Likewise. + * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise. + +2006-07-01 Anthony Green <green@redhat.com> + + * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex + status byte test. + (setMessage): Fix it again, in a different setMessage method. + +2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/mode/BaseMode.java: Source formatting. + * gnu/javax/crypto/mode/CBC.java: Likewise. + * gnu/javax/crypto/mode/CFB.java: Likewise. + * gnu/javax/crypto/mode/CTR.java: Likewise. + * gnu/javax/crypto/mode/EAX.java: Likewise. + * gnu/javax/crypto/mode/ECB.java: Likewise. + * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise. + * gnu/javax/crypto/mode/ICM.java: Likewise. + * gnu/javax/crypto/mode/IMode.java: Likewise. + * gnu/javax/crypto/mode/ModeFactory.java: Likewise. + * gnu/javax/crypto/mode/OFB.java: Likewise. + +2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/mac/BaseMac.java: Source formatting. + * gnu/javax/crypto/mac/HMac.java: Likewise. + * gnu/javax/crypto/mac/HMacFactory.java: Likewise. + * gnu/javax/crypto/mac/IMac.java: Likewise. + * gnu/javax/crypto/mac/MacFactory.java: Likewise. + * gnu/javax/crypto/mac/MacInputStream.java: Likewise. + * gnu/javax/crypto/mac/MacOutputStream.java: Likewise. + * gnu/javax/crypto/mac/OMAC.java: Likewise. + * gnu/javax/crypto/mac/TMMH16.java: Likewise. + * gnu/javax/crypto/mac/UHash32.java: Likewise. + * gnu/javax/crypto/mac/UMac32.java: Likewise. + +2006-07-01 Anthony Green <green@redhat.com> + + * javax/sound/midi/Track.java (vector, eventSet): Initialize. + +2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting. + * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise. + * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise. + * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise. + * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise. + * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise. + * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. + * gnu/javax/crypto/keyring/Entry.java: Likewise. + * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. + * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise. + * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. + * gnu/javax/crypto/keyring/IKeyring.java: Likewise. + * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise. + * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise. + * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise. + * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise. + * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise. + * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise. + * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise. + * gnu/javax/crypto/keyring/Properties.java: Likewise. + * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise. + +2006-07-01 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/AbstractCellEditor.java: Source code formatting, + * javax/swing/AbstractSpinnerModel.java: Likewise, + * javax/swing/Box.java: Likewise, + * javax/swing/BoxLayout.java: Likewise, + * javax/swing/DefaultListModel.java: Likewise, + * javax/swing/GrayFilter.java: Likewise, + * javax/swing/LookAndFeel.java: Likewise, + * javax/swing/ProgressMonitor.java: Likewise, + * javax/swing/ProgressMonitorInputStream.java: Likewise, + * javax/swing/ScrollPaneLayout.java: Likewise, + * javax/swing/SpringLayout.java: Likewise, + * javax/swing/event/EventListenerList.java: Likewise, + * javax/swing/event/MenuEvent.java: Likewise, + * javax/swing/event/TreeExpansionListener.java: Likewise. + +2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: + Mention threading bean and getState(). + * doc/vmintegration.texinfo: + Update documentation for threading bean and new + method of VMThread. + +2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * examples/gnu/classpath/examples/management/TestClassLoading.java, + * examples/gnu/classpath/examples/management/TestOS.java, + * examples/gnu/classpath/examples/management/TestRuntime.java, + * examples/gnu/classpath/examples/management/TestThread.java: + New files. + +2006-07-01 Jeroen Frijters <jeroen@frijters.net> + + * java/lang/ThreadGroup.java + (getThreadFromId, getThreadFromIdImpl): New methods. + +2006-07-01 Jeroen Frijters <jeroen@frijters.net> + + * java/lang/Thread.java: + Make thread IDs start from 1 in a more efficient way. + +2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/Thread.java: + Make thread IDs start from 1. + +2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/BeanImpl.java: + New superclass for all bean implementations. + * gnu/java/lang/management/ClassLoadingMXBeanImpl.java: + Extend BeanImpl and call permission code there. + * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: + Extend BeanImpl. + * gnu/java/lang/management/RuntimeMXBeanImpl.java: + Extend BeanImpl and call permission code there. + * gnu/java/lang/management/ThreadMXBeanImpl.java: + New file. + * java/lang/management/ManagementFactory.java: + (getThreadMXBean()): Implemented. + * java/lang/management/ThreadInfo.java: + (ThreadInfo(Thread,int)): Replaced... + (ThreadInfo(Thread,long,long,Object,Thread,long,long, + boolean, boolean, StackTraceElement[])): with this. + (getBlockedCount()): Refactored to use local variables. + (getBlockedTime()): Likewise. + (getLockName()): Likewise. + (getLockOwnerId()): Likewise. + (getLockOwnerName()): Likewise. + (getStackTrace()): Likewise. + (getWaitedCount()): Likewise. + (getWaitedTime()): Likewise. + (isInNative()): Likewise. + (isSuspended()): Likewise. + (toString()): Changed to use new local variables. + * java/lang/management/ThreadMXBean.java: + (getThreadInfo(long, int)): Corrected documentation. + (getThreadInfo(long[], int)): Likewise. + * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java: + New file. + * vm/reference/java/lang/management/VMThreadInfo.java: + Removed. + +2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting. + * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise. + * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise. + * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise. + * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise. + * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise. + * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise. + * gnu/javax/crypto/key/dh/RFC2631.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise. + * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise. + * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise. + * gnu/javax/crypto/key/GnuSecretKey.java: Likewise. + * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise. + * gnu/javax/crypto/key/IncomingMessage.java: Likewise. + * gnu/javax/crypto/key/KeyAgreementException.java: Likewise. + * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise. + * gnu/javax/crypto/key/OutgoingMessage.java: Likewise. + +2006-07-01 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (transform): Make field protected. + (getDestinationRaster): Provide default implementation for + previously abstract method. + +2006-06-30 Tania Bento <tbento@redhat.com> + + * java/awt/TextArea.java + (TextArea(String, int, int, int)): No longer throws + IllegalArgumentException if rows, columns, or scrollbarVisibility + values are invalid. + (TextArea(String, int, int, int)): If rows or columns are < 0, + they get set to 0. If scrollbarVisibility is < 0 or > 4, it + gets set to the default value of 0 (SCROLLBARS_BOTH). + (appendText): Added case when peer = null. + (insertText): Added case when peer == null. + (replaceText): Added case when peer == null. + * java/awt/TextComponent.java + (TextComponent(String)): If text == null, set it to "". + +2006-06-30 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java + (create): Added synchronized block around groupMap.get calls. + (setCheckboxGroup): Likewise. + +2006-06-30 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java + (create): Changed to be non-synchronized. + (setLabel): Likewise. + (setCheckboxGroup): Likewise. + (addToGroupMap): Likewise. Added synchronized block around + code. + (dispose): Changed to be non-synchronized. + +2006-06-30 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: + Changed all return values of native functions to void. + (create): Changed function to be synchronized. Removed + call to put value in groupMap, this is now done from + the native code. + (setState): Changed function to be synchronized. + (setLabel): Changed function to be synchronized. + (setCheckboxGroup): Changed function to be synchronized. Removed + call to put value in groupMap, this is now done from + the native code. + (postItemEvent): Changed function to be synchronized. + (addToGroupMap): New function. Called by native code to add + new value to the group. + (dispose): Changed function to be synchronized. + * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated + all functions. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c + (cp_gtk_checkbox_init_jni): Added code to link to + java function. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): + Changed return value to void. Added call + to java function to set pointer in groupMap. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also, + changed check to an assert. Also, removed call to set/del pointer. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): + Likewise. Also, added check to determine if native_group should be + set to NULL. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise. + +2006-06-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/ClasspathToolkit.java, + * gnu/java/awt/peer/x/XToolkit.java, + * gnu/java/awt/peer/qt/QtToolkit.java, + * gnu/java/awt/peer/gtk/GtkToolkit.java, + Remove ClasspathTextLayoutPeer. + * gnu/java/awt/peer/gtk/GdkTextLayout.java, + * gnu/java/awt/peer/ClasspathTextLayoutPeer: + Files removed. + +2006-06-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: + (drawGlyphVector): Don't draw empty vectors. + +2006-06-30 Lillian Angel <langel@redhat.com> + Tom Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class. + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: + Added current_group, groupMap fields. Added definitions for + new native functions. + (create): Removed FIXME. Added code to create the check button or + radio button when appropriate. Updated groupMap to contain + pointer to the newly created group. + (setCheckboxGroup): Added code to handle all cases. Removing + a button from a group, adding a button to a group, or changing the + group of a button. + (dispose): Changed to call super. + * include/Makefile.am: Removed reference to + gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h. + * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file. + * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions + for new functions. + * native/jni/gtk-peer/Makefile.am: Removed reference to + gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c: + Removed file. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): + Renamed to checkbox_get_widget. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): + Changed to use checkbox_get_widget. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): + Removed. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont): + Changed to use checkbox_get_widget. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel): + Likewise. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton): + New function. Creates checkbutton without a group. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): + Creates a radio button in a group, using groupPointer. If groupPointer + is 0, then a new group is created. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the + check button to a group, using groupPointer. A radio button is created + in its place. If groupPointer is 0, then a new group is created. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The + radio button is removed from the group. A check button is created in + its place. + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The + radio button is moved to a new group. + +2006-06-30 Mark Wielaard <mark@klomp.org> + + * configure.ac: Move standard.omit creation after dirs are created. + Cat standard.omit.in from srcdir. Make exclude regex more explicit. + * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in. + (clean-local): Remove standard.omit. + * lib/gen-classlist.sh.in: Use omit file in build dir. + * lib/standard.omit.in: Make exclude regex more explicit. + +2006-06-30 Roman Kennke <kennke@aicas.com> + + * lib/Makefile.am: Added Escher dir/jar to classpath when + requested. + * configure.ac: Moved handling of standard.omit to a place + where it actually gets executed. + +2006-06-30 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/TextComponent.java: Reformatted source code, + * java/awt/TextField.java: Likewise. + +2006-06-29 Jeroen Frijters <jeroen@sumatra.nl> + + * java/lang/Thread.java: + (getState()): Handle case of no VMThread + correctly. + +2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/Thread.java, + * java/lang/VMThread.java: + Reverted patch from 2006-06-28. + +2006-06-29 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/x/GLGraphics.java, + * gnu/java/awt/peer/x/ImageConverter.java, + * gnu/java/awt/peer/x/KeyboardMapping.java, + * gnu/java/awt/peer/x/XEventPump.java, + * gnu/java/awt/peer/x/XFontPeer.java, + * gnu/java/awt/peer/x/XFontPeer2.java, + * gnu/java/awt/peer/x/XFramePeer.java, + * gnu/java/awt/peer/x/XGraphics.java, + * gnu/java/awt/peer/x/XGraphics2D.java, + * gnu/java/awt/peer/x/XGraphicsConfiguration.java, + * gnu/java/awt/peer/x/XGraphicsDevice.java, + * gnu/java/awt/peer/x/XGraphicsEnvironment.java, + * gnu/java/awt/peer/x/XImage.java, + * gnu/java/awt/peer/x/XLightweightPeer.java, + * gnu/java/awt/peer/x/XToolkit.java, + * gnu/java/awt/peer/x/XWindowPeer.java, + * gnu/java/awt/peer/x/fonts.properties: New files. + * lib/standard.omit: Removed. + * lib/standard.omit.in: Added. + * configure.ac: Added configure option --with-escher. Added some + configury for omitting gnu.java.awt.peer.x package when + this option is not specified. + +2006-06-29 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComponent.java + (JComponent()): Initialize the locale here, not the default locale, + (getDefaultLocale): If null, return Locale.getDefault(), + (setDefaultLocale): Added API docs. + +2006-06-29 Tania Bento <tbento@redhat.com> + + * java/awt/Container.java + (applyComponentOrientation): Implemented method. + +2006-06-29 Gary Benson <gbenson@redhat.com> + + * java/io/File.java (listRoots): Merge security checks from libgcj. + +2006-06-29 Gary Benson <gbenson@redhat.com> + + * java/io/FilePermission.java (implies): Work when path is "/". + +2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/Thread.java: + (Thread(ThreadGroup,Runnable,String,long)): Update + state. + (Thread(VMThread,String,int,boolean)): Likewise. + (join(long,int)): Likewise. + (resume()): Likewise. + (sleep(long,int)): Likewise. + (start()): Likewise. + (stop()): Likewise. + (suspend()): Likewise. + (die()): Likewise. + (getState()): Return either state or use VMThread. + * java/lang/VMThread.java: + (getState()): Added default implementation to return + thread.state + +2006-06-28 Andreas Tobler <a.tobler@schweiz.ch> + + * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the + GdkPixbuf correctly on big endian systems. Fix a typo in the little + endian swapping code. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata + without alpha information correctly on big endian systems. + +2006-06-28 Roman Kennke <kennke@aicas.com> + + * gnu/java/net/local/LocalSocket.java + (setSoTimeout): Don't throw exception and ignore request. + (getSoTimeout): Don't throw exception and always return 0. + +2006-06-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComponent.java + (getRegisteredKeyStrokes): Implemented. + +2006-06-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComponent.java + (verifyInputWhenFocusTarget): Initialise to true. + +2006-06-28 David Gilbert <david.gilbert@object-refinery.com> + + * java/beans/VetoableChangeSupport.java + (addVetoableChangeListener(VetoableChangeListener)): Do nothing for + null listener, + (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing + for null property name and/or listener, + * javax/swing/JComponent.java + (getListeners): Handle VetoableChangeListener.class as a special case, + (getVetoableChangeListeners): Fetch these from the + vetoableChangeSupport object. + +2006-06-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComponent.java + (componentPopupMenu): New field, + (inheritsPopupMenu): New field, + (getInheritsPopupMenu): Implemented, + (setInheritsPopupMenu): Likewise, + (getComponentPopupMenu): Likewise, + (setComponentPopupMenu): Likewise, + * javax/swing/JLabel.java + (JLabel(String, Icon, int)): Set inheritsPopupMenu to true. + +2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field. + (toString): New method. + * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field. + (toString): New method. + * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field. + (toString): New method. + * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey): + Handle case when Q is null. + (decodePrivateKey): Likewise. + * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey): + Likewise. + (decodePublicKey): Likewise. + * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters + aliases for all block ciphers. + * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[]. + (engineDoPhase): Compute fully the shared secret. + (checkState): New method. + (reset): Likewise. + (engineGenerateSecret()): Reset key-agreement before returning. + (engineGenerateSecret(byte[],int)): Check for short-buffer. + Reset key-agreement before returning. + (engineGenerateSecret(String)): Reset key-agreement before returning. + (engineInit(Key,SecureRandom)): Call reset() before returning. + * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field. + (engineInit): Replace printing to System.out with conditional logging. + * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler): + When the key-size is not specified, attempt best effort to find a suitable + value among those advertised by the cipher before setting it to the length + of provided key material. + +2006-06-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/table/DefaultTableColumnModel.java + (changeEvent): Don't initialize yet, removed FIXME, + (fireColumnModelChanged): Initialize changeEvent if necessary. + +2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/Thread.java: + (getAllStackTraces()): Implemented. + (getStackTrace()): Likewise. + +2006-06-27 Tania Bento <tbento@redhat.com> + + * java/awt/Component.java + (setComponentOrientation): NPE should not be thrown. + +2006-06-27 Tom Tromey <tromey@redhat.com> + + * configure.ac: Create gjar, gnative2ascii, gserialver. + * tools/gappletviewer.in: Quote $@. + * tools/gkeytool.in: Likewise. + * tools/gjarsigner.in: Likewise. + * tools/gjar.in: New file. + * tools/gnative2ascii.in: Likewise. + * tools/gserialver.in: Likewise. + * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii, + gserialver. + (bin_SCRIPTS): Likewise. + +2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/ThreadMXBean.java: + (getThreadInfo(long[])): Corrected return type. + (getThreadInfo(long[], int)): Likewise. + +2006-06-27 Mark Wielaard <mark@klomp.org> + + * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do + nothing when listener is null. + (removeFlavorListener): Likewise. + + * java/awt/datatransfer/DataFlavor.java + (getRepresentationClassFromMime): Renamed to + getRepresentationClassFromMimeThrows. + (isRepresentationClassInputStream): Use Class.isAssignableFrom(). + (isRepresentationClassSerializable): Likewise. + (isFlavorJavaFileListType): Likewise and check primary and + subtype. + (getParameter): Parameters are separated by semi-colons. + (DataFlavor(Class,String,String)): Do some sanity checks. + (DataFlavor(String,String,ClassLoader)): Call + getRepresentationClassFromMimeThrows. + (DataFlavor(String)): Likewise. + (equals(DataFlavor)): Special case primary type text and charset + parameter. + +2006-06-27 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/Component.java + (setName): Fire required PropertyChangeEvent, + * java/awt/Label.java + (getText): Removed redundant brackets, + (generateName): New method (override), + (nextLabelNumber): New field, + (getUniqueLong): New method. + +2006-06-27 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/swing/SwingComponentPeer.java + (createImage): Delegate this to the parent. + (handleEvent): Only handle PAINT/UPDATE events when the + component is actually showing. + (hide): Repaint the parent after hiding a component. + (prepareImage): Have only one return point. + (setVisible): Delegate to show() and hide(). + (createVolatileImage): Added null check to avoid NPE. + +2006-06-27 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/Label.java: Reformatted source code. + +2006-06-27 Roman Kennke <kennke@aicas.com> + + * java/awt/image/BufferedImage.java + (getSource): Use a fixed DirectColorModel to deliver the + RGB pixels to the ImageConsumer. + +2006-06-27 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/Point.java + (setLocation(double, double)): Round to nearest integer coordinates. + +2006-06-27 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/Component.java + (minSizeSet): New field, + (maxSize): Likewise, + (maxSizeSet): Likewise, + (isMaximumSizeSet): Implemented, + (isMinimumSizeSet): Likewise, + (isPreferredSizeSet): Likewise, + (setMaximumSize): Likewise, + (setMinimumSize): Likewise, + (setPreferredSize): Likewise. + +2006-06-27 Roman Kennke <kennke@aicas.com> + + * javax/imageio/spi/IIORegistry.java + (IIORegistry): Added BMP codec. + +2006-06-27 Mark Wielaard <mark@klomp.org> + + * javax/swing/JComponent.java + (firePropertyChange(String,char,char)): New override method. + +2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/Thread.java: + (getState()): New method. + * java/lang/management/ClassLoadingMXBean.java: + Corrected class documentation. + * java/lang/management/ManagementFactory.java: + Added new temporary marked stub to get thread bean. + * java/lang/management/OperatingSystemMXBean.java: + Corrected class documentation. + * java/lang/management/RuntimeMXBean.java: + Corrected class documentation. + * java/lang/management/ThreadInfo.java, + * java/lang/management/ThreadMXBean.java: + New classes. + * vm/reference/java/lang/VMThread.java: + (getState()): New method. + * vm/reference/java/lang/management/VMThreadInfo.java: + New VM class. + +2006-06-26 Sven de Marothy <sven@physto.se> + + * gnu/javax/imageio/gif/GIFFile.java + * gnu/javax/imageio/gif/GIFImageReader.java + * gnu/javax/imageio/gif/GIFImageSpi.java + * gnu/javax/imageio/gif/GIFStream.java + New files. + * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin. + +2006-06-26 Tania Bento <tbento@redhat.com> + + * java/awt/List.java + (List): A list should have at least 4 visible rows. + (replaceItem): Should throw an ArrayIndexOutOfBoundsException, + not an IllegalArgumentException. + (makeVisible): Should not throw an IllegalArgumentException if + the specified index is out of range. + +2006-06-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (getNextMatch): Reimplemented to perform a circular search for the + matching item. + +2006-06-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (init): Set default value for visibleRowCount to 8, + (setVisibleRowCount): Fire PropertyChangeEvent when value changes. + +2006-06-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (valueIsAdjusting): Removed, + (init): Removed initialization of valueIsAdjusting field, + (getValueIsAdjusting): Fetch value from selection model, + (setValueIsAdjusting): Store value in selection model. + +2006-06-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicListUI.java + (installKeyboardActions): Rewritten to fit with the + ActionMap/InputMap architecture. + (uninstallKeyboardActions): Implemented. + (ListAction): Made private. Added TODO for splitting + up this bulk Action. + (ListAction.ListAction): New constructor. This one + takes a cmd parameter to be installed as actionCommand. + +2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision. + * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise. + +2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting. + * gnu/javax/crypto/jce/GnuSasl.java: Likewise. + * gnu/javax/crypto/jce/GnuCrypto.java: Likewise. + * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise. + * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise. + * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise. + * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise. + * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise. + * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise. + * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise. + * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/params/DERWriter.java: Likewise. + * gnu/javax/crypto/jce/params/DERReader.java: Likewise. + * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise. + * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise. + * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise. + * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise. + * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. + * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise. + * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise. + * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise. + * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise. + * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise. + +2006-06-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (setLayoutOrientation): Check for valid argument. + +2006-06-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (firePropertyChange(String,int,int)): New method. Overrides + Component method and makes it public. + (firePropertyChange(String,boolean,boolean)): Likewise. + +2006-06-25 Vivek Lakshmanan <vivekl@redhat.com> + + * gnu/java/security/.cvsignore: New File. + * gnu/java/security/Configuration.java.in: New File. + * gnu/java/security/Properties.java: Change import from + gnu.classpath.Configuration to gnu.java.security.Configuration. + * gnu/java/security/hash/Whirlpool.java: Likewise. + * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. + * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. + * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise. + * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. + * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise. + * gnu/java/security/pkcs/SignerInfo.java: Likewise. + * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise. + * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. + * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. + * gnu/java/security/util/Base64.java: Likewise. + * gnu/java/security/x509/X509CRL.java: Likewise. + * gnu/java/security/x509/X509CRLEntry.java: Likewise. + * gnu/java/security/x509/ext/Extension.java: Likewise. + * gnu/javax/crypto/cipher/Anubis.java: Likewise. + * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. + * gnu/javax/crypto/cipher/Khazad.java: Likewise. + * gnu/javax/crypto/cipher/Rijndael.java: Likewise. + * gnu/javax/crypto/cipher/Twofish.java: Likewise. + * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. + * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. + * gnu/javax/crypto/keyring/Entry.java: Likewise. + * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. + * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise. + * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. + * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. + * gnu/javax/crypto/mac/OMAC.java: Likewise. + * gnu/javax/crypto/pad/BasePad.java: Likewise. + * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. + * gnu/javax/crypto/pad/PKCS7.java: Likewise. + * gnu/javax/crypto/pad/TBC.java: Likewise. + * gnu/javax/crypto/prng/CSPRNG.java: Likewise. + * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise. + * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. + * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise. + * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise. + * gnu/javax/security/auth/login/GnuConfiguration.java + (getAppConfigurationEntry): Change reference to + gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG. + (getConfigFromUserHome): Likewise. + (getInputStreamFromURL): Likewise. + (getUserHome): Likewise. + (init): Likewise. + (processSecurityProperties): Likewise. + (processSystemProperty): Likewise. + (processUserHome): Likewise. + * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list. + * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required. + + +2006-06-25 Carsten Neumann <cn-develop@gmx.net> + + * javax/swing/text/DefaultCaret.java (isActive): New method. + +2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, + * java/lang/management/ClassLoadingMXBean.java: + (getTotalLoadedClassCount()): Corrected return type. + (getUnloadedClassCount()): Likewise. + * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java: + (getUnloadedClassCount()): Likewise. + +2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting. + * gnu/javax/crypto/cipher/Twofish.java: Likewise. + * gnu/javax/crypto/cipher/TripleDES.java: Likewise. + * gnu/javax/crypto/cipher/Square.java: Likewise. + * gnu/javax/crypto/cipher/Serpent.java: Likewise. + * gnu/javax/crypto/cipher/Rijndael.java: Likewise. + * gnu/javax/crypto/cipher/NullCipher.java: Likewise. + * gnu/javax/crypto/cipher/Khazad.java: Likewise. + * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise. + * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise. + * gnu/javax/crypto/cipher/DES.java: Likewise. + * gnu/javax/crypto/cipher/CipherFactory.java: Likewise. + * gnu/javax/crypto/cipher/Cast5.java: Likewise. + * gnu/javax/crypto/cipher/Blowfish.java: Likewise. + * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. + * gnu/javax/crypto/cipher/Anubis.java: Likewise. + +2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/assembly/TransformerException.java: Source formatting. + * gnu/javax/crypto/assembly/Transformer.java: Likewise. + * gnu/javax/crypto/assembly/Stage.java: Likewise. + * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise. + * gnu/javax/crypto/assembly/Operation.java: Likewise. + * gnu/javax/crypto/assembly/ModeStage.java: Likewise. + * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise. + * gnu/javax/crypto/assembly/Direction.java: Likewise. + * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise. + * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise. + * gnu/javax/crypto/assembly/CascadeStage.java: Likewise. + * gnu/javax/crypto/assembly/Cascade.java: Likewise. + * gnu/javax/crypto/assembly/Assembly.java: Likewise. + +2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS, + * doc/vmintegration.texinfo: + Updated with information on new VM interface. + * gnu/java/lang/management/ClassLoadingMXBeanImpl.java, + * java/lang/management/ClassLoadingMXBean.java: + New files implementing the class loading bean. + * java/lang/management/ManagementFactory.java: + (getClassLoadingMXBean()): Implemented. + * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java: + New VM interface file. + +2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/RuntimeMXBeanImpl.java: + (isBootClassPathSupported()): Use SystemProperties + rather than System.getProperty. + +2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/Properties.java: Source formatting. + * gnu/java/security/Registry.java: Likewise. + +2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/util/Util.java: Source formatting. + * gnu/java/security/util/SimpleList.java: Likewise. + * gnu/java/security/util/Sequence.java: Likewise. + * gnu/java/security/util/PRNG.java: Likewise. + * gnu/java/security/util/ExpirableObject.java: Likewise. + * gnu/java/security/util/Base64.java: Likewise. + * gnu/java/security/sig/SignatureFactory.java: Likewise. + * gnu/java/security/sig/ISignatureCodec.java: Likewise. + * gnu/java/security/sig/ISignature.java: Likewise. + * gnu/java/security/sig/BaseSignature.java: Likewise. + * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise. + * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. + * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise. + * gnu/java/security/sig/rsa/RSA.java: Likewise. + * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. + * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise. + * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise. + * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise. + * gnu/java/security/sig/dss/DSSSignature.java: Likewise. + * gnu/java/security/provider/X509CertificateFactory.java: Likewise. + * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise. + * gnu/java/security/provider/Gnu.java: Likewise. + * gnu/java/security/prng/RandomEventListener.java: Likewise. + * gnu/java/security/prng/RandomEvent.java: Likewise. + * gnu/java/security/prng/PRNGFactory.java: Likewise. + * gnu/java/security/prng/MDGenerator.java: Likewise. + * gnu/java/security/prng/LimitReachedException.java: Likewise. + * gnu/java/security/prng/IRandom.java: Likewise. + * gnu/java/security/prng/EntropySource.java: Likewise. + * gnu/java/security/prng/BasePRNG.java: Likewise. + +2006-06-23 Francis Kung <fkung@redhat.com> + + * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java + (Harness.actionPerformed): Process additional options. + (J2dBenchmarkWrapper): Defer init call until after options are processed. + (J2dBenchmarkWrapper.setAlias): New method. + (J2dBenchmarkWrapper.setComposite): New method. + (J2dBenchmarkWrapper.setFill): New method. + (J2dBenchmarkWrapper.setRotation): New method. + (J2dBenchmarkWrapper.setShear): New method. + (J2dBenchmarkWrapper.setStroke): New method. + (J2dBenchmarkWrapper.setTranslation): New method. + (run): Add additional options to GUI. + * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: + Added protected fields for various options. + (GraphicsTest.runSet_noClipping): Reset graphics settings between tests. + (GraphicsTest.runSet_withClipping): Reset graphics settings between tests. + (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests. + (getNextColor): Renamed to setRandom. + (init): Load additional image for texturing if needed. + (loadBufferedImage): New method. + (main): Accept additional command-line switches. + (prepareGraphics): New method. + (resetGraphics): New method. + (runTestSuite): Accept additional image-processing options. + (setRandom): Renamed from getNextColor; generate various random options + (test_drawArc): Rename getNextColor to setRandom. + (test_drawCubic): Likewise. + (test_drawEllipse): Likewise. + (test_drawGeneralPath): Likewise. + (test_drawImage): Likewise. + (test_drawLine): Likewise. + (test_drawQuadCurve): Likewise. + (test_drawRectangle): Likewise. + (test_drawRoundRectangle): Likewise. + (test_drawTransparentImage): Likewise. + (test_fillArc): Rename getNextColor to setRandom. + (test_fillEllipse): Likewise. + (test_fillGeneralPath): Likewise. + (test_fillRectangle): Likewise. + (test_fillRoundRectangle): Likewise. + (TestRecorder.getAverage): Round the average time. + +2006-06-23 Tom Tromey <tromey@redhat.com> + + * java/util/logging/LoggingMXBean.java: New file. + * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field. + (loggingBean): New field. + (getLoggingMXBean): New method. + +2006-06-23 Tania Bento <tbento@redhat.com> + + * java/awt/TextField.java + (TextField): Default number of columns should be 0, not 1. + (TextField): Check if number of columns given as argument + is valid (>= 0) and set the number of columns accordingly. + (TextField): Check if the string passed is null. If it is, + set columns to 0, else columns is set to the length of + the string. + +2006-06-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (InternalFramePropertyChangeListener.propertyChange): + Don't call getPropertyName() repeatedly. Added null checks + to avoid NPEs. Call closeFrame() if the closed property + changes. + +2006-06-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/JInternalFrame.java + (maxTransition): Removed. + (JInternalFrame): Set maxium=false. Initialize desktopIcon here. + Don't initialize storedBounds here. + (dipose): Rewritten to correctly dispose the JInternalFrame. + (getDesktopIcon): Don't initialize desktopIcon here. + (getLayer): Delegate to JLayeredPane.getLayer(). + (getNormalBounds): Return bounds when storedBounds == null, + otherwise storedBounds. + (hide): Don't change selection. Also hide the desktopIcon. + (moveToBack): Call getParent() only once. + (moveToFront): Call getParent() only once. + (pack): Call validate() to make sure that the layout is + propagated to the children. + (setClosed): Fire InternalFrameEvent first, before the + PropertyVetoEvent. + (setJMenuBar): Fire PropertyChangeEvent for this property. + (setLayer): Delegate to JLayeredPane. + (setLayeredPane): Check for null and throw IllegalArgumenException. + (setMaximum): Remove handling of maxTransition and normalBounds. + Should probably be done in the UI. + (setNormalBounds): Store Rectangle object directly, not a copy. + (setRootPane): Go into rootPaneCheckingEnabled mode so that + adding the RootPane doesn't add it to the contentPane. + Fire PropertyChangeEvent. + (setSelected): Added condition for when this property must not + be changed. + (show): Don't ask the DesktopPane to select the frame. Moved + code around to fire InternalFrameEvent before actually calling + super.show(). Also make the desktopIcon visible. + (setTitle): Fire PropertyChangeEvent unconditionally. + +2006-06-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLayeredPane.java + (getPosition): Moved code around to avoid unnecessary method calls. + (setPosition): Delegate to setLayer(). + (insertIndexForLayer(int,int)): Delegate to new private helper method. + (insertIndexForLayer(Component,int,int)): New helper method + to support the use of setComponentZOrder() which doesn't remove + the component and thus the insertIndexForLayer must ignore + the component to be moved to get the index right. + (setLayer): Added check to prevent unnecessary execution of + method body. Changed to update the component order here. + Added repaint() to make sure that the update becomes visible. + (addImpl): Call setLayer() only when a constraint has been specified. + Validate and repaint the JLayeredPane. + +2006-06-23 Roman Kennke <kennke@aicas.com> + + * java/awt/Container.java + (getComponentZOrder): Use ncomponents instead of + component.length so that we don't consider the empty space + after the last component. + +2006-06-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (vetoableChangeSupport): New field. + (removeVetoableChangeListener): Rewritten to use + vetoableChangeSupport. + (addVetoableChangeListener): Rewritten to use + vetoableChangeSupport. + (fireVetoableChange): Rewritten to use + vetoableChangeSupport. + (addPropertyChangeListener): Removed. This is handled in + Component already. + (firePropertyChange(String,boolean,boolean)): Likewise. + (firePropertyChange(String,char,char)): Likewise. + (firePropertyChange(String,int,int)): Likewise. + (revalidate): Don't do anything when the commponent has no + parent. + +2006-06-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java: Updated API docs. + +2006-06-22 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/Insets.java: Updated copyright year. + (toString): Changed string, removed a line from the + documentation. + +2006-06-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/AbstractDocument.java + (AbstractDocument): Set the i18n document property. + (removeImpl): Added checks for correct boundaries. + +2006-06-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/PlainDocument.java + (rootElement): Changed type to Element. + (tabSize): Removed field. This is stored in the document properties + instead. + (PlainDocument): Set tabSize property. Init rootElement without + cast. + (insertUpdate): Rewritten. The previous implementation did not + handle some corner cases properly and was a mess. + (removeUpdate): Cast rootElement to BranchElement. + +2006-06-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicLabelUI.java + (installKeyboardActions): Implemented, + (uninstallKeyboardActions): Implemented, + (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor' + properties. + +2006-06-22 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/JMenu.java: + (removeAll): Added check for popupMenu not being null. + +2006-06-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java + (getText): Updated API docs, + (setText): Corrected the check for an unchanged value, and the update + of the displayedMnemonicIndex. + +2006-06-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java + (setDisplayedMnemonic(int)): Fire property change event AFTER updating + field, + (setDisplayedMnemonicIndex): Modified argument checking to handle case + where label text is null. + +2006-06-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java + (setDisplayedMnemonic): Updated API docs, + (getDisplayedMnemonic): Removed unnecessary type-cast, + (setDisplayedMnemonicIndex): Removed unnecessary validation, + (getDisplayedMnemonicIndex): Updated API docs. + +2006-06-21 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultListSelectionModel.java + (getSelectionMode): Updated API docs, + (setAnchorSelectionIndex): Added ListSelectionEvent generation, + (addSelectionInterval): If mode is SINGLE_SELECTION, just call + setSelectionInterval(), + (setSelectionInterval): Reimplemented SINGLE_SELECTION and + SINGLE_INTERVAL_SELECTION cases. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/AbstractDocument.java + (BranchElement.numChildren): New field. + (BranchElement.BranchElement): Initialize children array with + one element (that's the least number of elements that makes sense). + Initialize numChildren. + (BranchElement.children): Use numChildren as boundary. + (BranchElement.getElement): Use numChildren as boundary. + (BranchElement.getElementCount): Use numChildren as boundary. + (BranchElement.getElementIndex): Use numChildren as boundary. + (BranchElement.getEndOffset): Use numChildren as boundary. + (BranchElement.getStartOffset): Use numChildren as boundary. + (BranchElement.positionToElement): Use numChildren as boundary. + (BranchElement.replace): Handle the children array more efficiently + by growing in blocks > 1, and reusing space from removed elements. + (LeafElement.startDelta): Removed. + (LeafElement.endDelta): Removed. + (LeafElement.LeafElement): Removed handling of deltas. + (LeafElement.getEndOffset): Likewise. + (LeafElement.getStartOffset): Likewise. + * javax/swing/text/JTextComponent.java + (setDocument): Added locking of the old document to avoid dangling + notification beeing delivered while the document is beeing + disconnected. + (getScrollableTracksViewportWidth): Fixed condition. + * javax/swing/text/PlainDocument.java + (createDefaultRoot): Create elements without AttributeSet. + * javax/swing/text/rtf/RTFParser.java + (parseFile): Handle slightly incorrect RTF gracefully. + * javax/swing/text/rtf/RTFScanner.java + (lastToken): New field. + (readTokenImpl): New method. + (peekToken): New method. + (readToken): Changed to call readTokenImpl or return the lastToken + if there's one present. + +2006-06-21 Tania Bento <tbento@redhat.com> + + * javax/swing/JMenu.java + (remove): An IllegalArgumentException should be thrown if + either index < 0 or if index > 0 and there are no menu + components. Also, a check was added that ensures there are + menu components before removing the desired the component. + +2006-06-21 Lillian Angel <langel@redhat.com> + + * javax/swing/text/DefaultCaret.java + (install): Added check to prevent NPE. + (propertyChange): Added checks to prevent NPEs. + +2006-06-21 Tania Bento <tbento@redhat.com> + + * javax/swing/JMenu.java + Changed instantiation of popupMenu to null. + (JMenu): Instantiated popupMenu to new JPopupMenu. + (JMenu): Instantiated popupMenu to new JPopupMenu. + (add): Changed popupMenu to getPopupMenu(). + (add): Changed popupMenu to getPopupMenu(). + (add): Changed popupMenu to getPopupMenu(). + (add): Changed popupMenu to getPopupMenu(). + (remove): Changed popupMenu to getPopupMenu(). + (remove): Changed popupMenu to getPopupMenu(). + (insert): Changed popupMenu to getPopupMenu(). + (setSelectedHelper): Changed popupMenu to getPopupMenu(). + (isPopupMenuVisible): Changed popupMenu to getPopupMenu(). + (setPopupMenuVisible): Changed popupMenu to getPopupMenu(). + (getMenuComponentCount): Changed popupMenu to getPopupMenu(). + (getMenuComponents): Changed popupMenu to getPopupMenu(). + (getPopupMenu): Check first if popupMenu is null and if so, + instantiate it to a new JPopupMenu and set the invoker. + * javax/swing/plaf/basic/BasicPopupMenuUI.java + (popupMenuWillBecomeVisible): Component Listener should only + be added to the root container if the root container is not + null. This avoids a null pointer exception. + +2006-06-21 Tania Bento <tbento@redhat.com> + + * javax/swing/JMenu.java + (JMenu): Delay should be set to 200, not default of 0. + (JMenu): Delay should be set to 200, not default of 0. + (JMenu): Delay should be set to 200, not default of 0. + (JMenu): Delay should be set to 200, not default of 0. + (remove): Added check that index >= 0 before removing + the component. + (getItem): Return null if item count equals 0. + (isTearOff): Should throw new error and not return false. + (getMenuComponent): Return null if popupMenu is null or + if there are no menu components. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * java/awt/font/FontRenderContext.java: + (equals): Added special conditions for affineTransform beeing + null. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/UIManager.java + (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults + must not be cleared. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalUtils.java + (paintHorizontalGradient): Use paintHorizontalGradient2D when + Graphics2D is available. Use fillRect instead of drawLine, this + is much faster. + (paintVerticalGradient): Use paintHorizontalGradient2D when + Graphics2D is available. Use fillRect instead of drawLine, this + is much faster. + (paintHorizontalGradient2D): New method. Paints gradient + using Graphics2D functions. + (paintVerticalGradient2D): New method. Paints gradient + using Graphics2D functions. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonListener.java + (propertyChange): Create a TextLayout and store it in the button + when the 'text' property changes. + * javax/swing/plaf/basic/BasicButtonUI.java + (paintText): Call BasicGraphicsUtils utility method for + drawing strings, instead of Graphics.drawString(). + * javax/swing/plaf/basic/BasicGraphicsUtils.java + (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing + cached text layouts as client properties in JComponents. + (drawString(JComponent,Graphics,String,int,int)): New helper method. + (drawStringUnderlineCharAt): New helper method. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (PropertyChangeHandler.propertyChange): Update cached text layout + when 'text' property changes. Use equals() instead of == for + string comparison. + (paintText): Use new BasicGraphicsUtils methods for painting + the cached text layout. + (installListeners): Call super.installListeners() and remove + the unneeded listener installs. + (uninstallListeners): Call super.uninstallListeners() and remove + the unneeded listener uninstalls. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (PropertyChangeHandler.propertyChange): Handle document listener + update here. + (background): Removed unneeded fields. + (inactiveBackground): Remove unneeded fields. + (installUI): Install the document listener. Slightly changed + order of operations. Don't trigger modelChanged(). + (installDefaults): Only install properties when the + current properties are null or instances of UIResource. + (installListeners): Removed unnecessary listener installs. + (installDocumentListeners): Removed unneeded method. + (uninstallListeners): Removed unnecessary listener uninstalls. + (modelChanged): Removed call to installDocumentListeners(). + * javax/swing/plaf/basic/BasicTextFieldUI.java + (propertyChange): Update the colors by fetching them from + SharedUIDefaults. Fixed conditions. + * javax/swing/plaf/basic/SharedUIDefaults.java + (getColor): New method. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeSequence.java + (SizeSequence): Initialize array with correct number of entries. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/JSplitPane.java + (setDividerLocation): Substract divider size when computing + the absolute size. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintChildrenWithOverlap): Determine opaque property by + calling the corresponding Component method, without requiring + a JComponent. + (paintChildrenOptimized): Removed old unneeded code. + (paintImmediately): Use JComponent's convertRectangleToAncestor() + method instead of SwingUtilities.convertRectangle(). This is + more efficient. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/AbstractButton.java + (init): Call setText() instead of setting the property directly, + so that listeners (especially in the UI) get notified. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/UIManager.java + (MultiplexUIDefaults): New inner class. + (currentUIDefaults): Changed type to be MultiplexUIDefaults. + (userUIDefaults): Changed name to be lookAndFeelDefaults. + (<cinit>): Call setLookAndFeel(String) instead of trying to load + directly. Print stacktrace if something goes wrong. + (get): Delegate call to currentUIDefaults. + (getDefaults): If currentUIDefaults is null, then lazily instantiate + it. + (getUI): Delegate call to currentUIDefaults. + (put): Delegate call to currentUIDefaults. + (setLookAndFeel): Initialize currentUIDefaults with + MultiplexUIDefaults. Set lookAndFeelDefaults. + (setLookAndFeel): Use current thread's context classloader for + loading the L&F. + +2006-06-21 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GapContent.java + (GapContentPosition.GapContentPosition): Replace + Collections.binarySearch with call to local search() to make + sure we find the first object that equals the searched object. + (setPositionsInRange): Likewise. + (adjustPositionsInRange): Likewise. + (search): New helper method. + +2006-06-21 Gary Benson <gbenson@redhat.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check. + * gnu/java/awt/peer/qt/QtGraphics.java: Likewise. + * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise. + +2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define + APPLETVIEWER_EXECUTABLE to gappletviewer. + +2006-06-20 Tom Tromey <tromey@redhat.com> + + PR classpath/28095: + * java/net/URL.java (URL): Throw MalformedURLException if a + RuntimeException is caught. Chain exceptions. + +2006-06-20 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java + (create): Added check to prevent Seg Fault. Should not + set the label if it is null. + * gnu/java/awt/peer/gtk/GtkLabelPeer.java + (setText): Changed to be a non-native function. Calls + setNativeText if the String parameter is non-null. + (setNativeText): Replaces old native setText function. + * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c + (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed. + Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText. + (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced + Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText. + +2006-06-20 Lillian Angel <langel@redhat.com> + + * javax/swing/text/JTextComponent.java + (AccessibleJTextComponent): Rewrote all javadocs + for this inner class. + +2006-06-20 Francis Kung <fkung@redhat.com> + + * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: + Changed many members to be protected. + (J2dBenchmark): moved to init() instead. + (init): New method. + (main): Call init() after creating object + (testComplete): New method. + (test_drawArc): Use maxTests varialbe instead of constant. + (test_drawCubicCurve): Likewise. + (test_drawEllipse): Likewise. + (test_drawGeneralPath): Likewise. + (test_drawImage): Likewise. + (test_drawLine): Likewise. + (test_drawQuadCurve): Likewise. + (test_drawRectangle): Likewise. + (test_drawRoundRectangle): Likewise. + (test_drawTransparentImage): Likewise. + (test_fillArc): Likewise. + (test_fillEllipse): Likewise. + (test_fillGeneralPath): Likewise. + (test_fillRectangle): Likewise. + (test_fillRoundRectangle): Likewise. + (GraphicsTest.runSetNoClipping): Added runCount parameter. + (GraphicsTest.runSetWithClipping): Likewise. + (GraphicsTest.runSetZeroClipping): Likewise. + (GraphicsTest.run): Added checks for more option flags. + * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java: + New file. + +2006-06-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GapContent.java + (GapContentPosition.mark): New field. + (GapContentPosition.index): Removed. + (GapContentPosition.GapContentPosition): Changed to take the + real offset as parameter. Added handling of reference counter. + Try to cleanup before creating new instances. + (getOffset): Delegate to the Mark method with same name. + (Mark): New class, encapsulating a mark. + (positionMarks): Removed field. + (numMarks): Removed field. + (marks): New field. + (queueOfDeath): New field. + (GapContent): Removed init of old fields, added init of new fields. + (createPosition): Added check for validity of arguments. + Create GapContentPosition directly with offset. + (shiftEnd): Pass end of buffer directly to adjustPositionsInRange. + (shiftGap): Pass end of buffer directly to adjustPositionsInRange. + (shiftGapStartDown): Call resetMarksAtZero(). + (shiftGapEndUp): Call resetMarksAtZero(). + (replace): Don't call resetMarksAtZero(). + (setPositionInRange): Replaced by simpler algorithm, similar to + adjustPositionsInRange. + (adjustPositionsInRange): Adapted to use of Mark objects. + (resetMarksAtZero): Reset all marks that point to zero instead + of only the first one. + (dumpMarks): Adjusted to dump Mark objects. + (insertMark): Removed. + (garbageCollect): New method. Cleans up the marks list. + (binarySearch): Removed. + +2006-06-20 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Added call to updateColor because + Cairo seems to lose the current color. + +2006-06-20 Gary Benson <gbenson@redhat.com> + + * java/awt/Toolkit.java: Add security check. + * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. + * gnu/java/awt/peer/qt/QtToolkit.java: Likewise. + +2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/key/dss/DSSKey.java: Source formatting. + * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise. + * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise. + * gnu/java/security/key/dss/DSSPublicKey.java: Likewise. + * gnu/java/security/key/dss/FIPS186.java: Likewise. + * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise. + * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. + * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. + * gnu/java/security/key/IKeyPairCodec.java: Likewise. + * gnu/java/security/key/IKeyPairGenerator.java: Likewise. + * gnu/java/security/key/KeyPairCodecFactory.java: Likewise. + * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise. + +2006-06-19 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Should always use getRGB to get the pixels. + getData returns an incorrect array of pixels. + +2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/jce/hash/HavalSpi.java: Source formatting. + * gnu/java/security/jce/hash/MD2Spi.java: Likewise. + * gnu/java/security/jce/hash/MD4Spi.java: Likewise. + * gnu/java/security/jce/hash/MD5Spi.java: Likewise. + * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise. + * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise. + * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise. + * gnu/java/security/jce/hash/Sha160Spi.java: Likewise. + * gnu/java/security/jce/hash/Sha256Spi.java: Likewise. + * gnu/java/security/jce/hash/Sha384Spi.java: Likewise. + * gnu/java/security/jce/hash/Sha512Spi.java: Likewise. + * gnu/java/security/jce/hash/TigerSpi.java: Likewise. + * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise. + * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise. + * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise. + * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise. + * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise. + * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise. + * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise. + * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise. + * gnu/java/security/jce/sig/DSSParameters.java: Likewise. + * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise. + * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. + * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise. + * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise. + * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise. + * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise. + * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. + +2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au> + + * NEWS: Updated (delayed) for security tools and tools.texinfo. + +2006-06-19 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (drawImage): Clip volatile image correctly. + (drawVolatileImage): Added arguments for clipping. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (drawVolatileImage): Added arguments for clipping. Clip image + correctly. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. + +2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28035 + * java/rmi/server/UID.java (constructor): Synchronized + the whole constructor on the UID class. + +2006-06-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/RepaintManager.java + (addInvalidComponent): Only add component that are displayable, + that have displayable parents and that have a validateRoot. + Also, don't validate components that have a CellRendererPane + ancestor. + +2006-06-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/IconUIResource.java + (IconUIResource): Throw IllegalArgumentException for null icon. + +2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 28035 + * java/rmi/server/UID.java (constructor): First increment + uidCounter, and then use the value. + +2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com> + + * java/awt/GridBagLayout.java (AdjustForGravity): Implement. + * java/awt/GridBagConstraints.java: Indent. + +2006-06-18 Tom Tromey <tromey@redhat.com> + + * native/jni/gconf-peer/.cvsignore: New file. + +2006-06-18 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption): + Also handle short options. + +2006-06-18 Jim Huang <jserv@kaffe.org> + + PR classpath/28076: + * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD): + Fixed typo. + +2006-06-19 Mark Wielaard <mark@klomp.org> + + * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend + on gnu/java/util/prefs/gconf/%.class. + * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix + chache typo, should be cache. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys): + Declare tmp early. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes): + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir): + Don't return a value for void function. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir) + Likewise. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): + Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean + function. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class): + Mark clazz ad unused. + +2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/hash/Whirlpool.java: Source formatting. + * gnu/java/security/hash/Tiger.java: Likewise. + * gnu/java/security/hash/Sha512.java: Likewise. + * gnu/java/security/hash/Sha384.java: Likewise. + * gnu/java/security/hash/Sha256.java: Likewise. + * gnu/java/security/hash/Sha160.java: Likewise. + * gnu/java/security/hash/RipeMD160.java: Likewise. + * gnu/java/security/hash/RipeMD128.java: Likewise. + * gnu/java/security/hash/MD5.java: Likewise. + * gnu/java/security/hash/MD4.java: Likewise. + * gnu/java/security/hash/MD2.java: Likewise. + * gnu/java/security/hash/IMessageDigest.java: Likewise. + * gnu/java/security/hash/Haval.java: Likewise. + * gnu/java/security/hash/HashFactory.java: Likewise. + * gnu/java/security/hash/BaseHash.java: Likewise. + +2006-06-18 Sven de Marothy <sven@physto.se> + + * java/awt/event/KeyEvent.java: + (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields. + * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: + Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms. + +2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/util/Prime2.java: Removed. + * gnu/java/security/key/dss/FIPS186.java: Remove unused imports. + (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2. + * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports. + (generate): Use isProbablePrime() in BigInteger instead of Prime2. + * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports. + (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2. + * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports. + (checkParams): Use isProbablePrime() in BigInteger instead of Prime2. + * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports. + (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2. + * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports. + (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2. + +2006-06-18 Sven de Marothy <sven@physto.se> + + * java/awt/GridBagLayout.java (AdjustForGravity): Implement. + * java/awt/font/TextMeasurer.java: Fix copyright date, + remove commented-out code. + +2006-06-18 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (FreetypeGlyphVector, clone): Implement cloning. + (getGlyphLogicalBounds): Bounds should be offset to the glyph position. + * java/awt/font/TextMeasurer.java: Implement. + * java/awt/font/LineBreakMeasurer.java: + Reimplement to use TextMeasurer. + * java/awt/font/TextLayout.java + New constructors. + (getBlackboxBounds, getLogicalHighlightShape): Reimplement. + (getText, getFont): New private static methods. + (setCharIndices): New method. + * java/text/AttributedString.java + (AttributedString): Fix constructor to stop at end point. + +2006-06-12 Mario torre <neugens at limasoftware.net> + + * gnu/java/util/prefs/GConfBasedPreferences.java: new class. + * gnu/java/util/prefs/GConfBasedFactory.java: new class. + * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class. + * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated + header file. + * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file. + * configure.ac: update to introduce new files. Added options + to build gconf native peer used by the GConf preference backend. + * include/Makefile.am: update to introduce new files. + * native/jni/Makefile.am update to introduce new files. + * scripts/check_jni_methods.sh: added three new ignored file + from check. + * native/jni/gconf-peer/Makefile.am: new Makefile needed to + build gconf-peer shared library. + +2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: + Use Integer.valueOf() instead of new Integer(). + * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. + * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise. + * gnu/java/security/util/Sequence.java: Likewise. + * gnu/java/security/x509/ext/GeneralNames.java: Likewise. + * gnu/java/security/x509/X509Certificate.java: Likewise. + * gnu/javax/crypto/assembly/ModeStage.java: Likewise. + * gnu/javax/crypto/cipher/Anubis.java: Likewise. + * gnu/javax/crypto/cipher/Blowfish.java: Likewise. + * gnu/javax/crypto/cipher/Cast5.java: Likewise. + * gnu/javax/crypto/cipher/DES.java: Likewise. + * gnu/javax/crypto/cipher/Khazad.java: Likewise. + * gnu/javax/crypto/cipher/NullCipher.java: Likewise. + * gnu/javax/crypto/cipher/Rijndael.java: Likewise. + * gnu/javax/crypto/cipher/Serpent.java: Likewise. + * gnu/javax/crypto/cipher/Square.java: Likewise. + * gnu/javax/crypto/cipher/TripleDES.java: Likewise. + * gnu/javax/crypto/cipher/Twofish.java: Likewise. + * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise. + * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise. + * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise. + * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise. + * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise. + * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise. + * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise. + * gnu/javax/crypto/mac/UHash32.java: Likewise. + * gnu/javax/crypto/mac/UMac32.java: Likewise. + * gnu/javax/crypto/mode/BaseMode.java: Likewise. + * gnu/javax/crypto/mode/EAX.java: Likewise. + * gnu/javax/crypto/prng/ICMGenerator.java: Likewise. + * gnu/javax/crypto/prng/UMacGenerator.java: Likewise. + * gnu/javax/crypto/sasl/srp/KDF.java: Likewise. + * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise. + * java/security/cert/X509CertSelector.java: Likewise. + +2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/DynamicMBean.java: + (setAttribute): Fixed to return void. + * javax/management/MBeanFeatureInfo.java: + New file. + +2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au> + + On behalf of Vivek Lakshmanan <vivekl@redhat.com> + * gnu/javax/crypto/jce/cipher/CipherAdapter.java + (engineInit(int, Key, SecureRandom)): Seperate common initialization logic + into engineInitHandler and reuse the code in + engineInit(int, Key, AlgorithmSpec, SecureRandom). + (engineInitHandler): New method. + (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is + null, use random or default information when possible. + +2006-06-16 Francis Kung <fkung@redhat.com> + + * examples/gnu/classpath/examples/swing/Demo.java: + (mkButtonBar): Rename FillRect to JNIOverhead. + (mkMenuBar): Rename FillRect to JNIOverhead. + * examples/gnu/classpath/examples/swing/FillRect.java: Removed. + * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file. + * examples/gnu/classpath/examples/java2d/JNIOverhead.java: + Moved from old FillRect. + +2006-06-16 Tom Tromey <tromey@redhat.com> + + * tools/.cvsignore: Added new tool names. + +2006-06-16 Tom Tromey <tromey@redhat.com> + + * vm/reference/sun/reflect/misc/ReflectUtil.java: Moved... + * vm/reference/sun/misc/ReflectUtil.java: ...from here. + +2006-06-16 Keith Seitz <keiths@redhat.com> + + * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo + instantiation so that EventManager is created when getDefault + is first called. + * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation + of EventManager. + +2006-06-16 Keith Seitz <keiths@redhat.com> + + * gnu/classpath/jdwp/Jdwp.java (_initLock): New field. + (_initCount): New field. + (Jdwp): Don't set isDebugging until fully initialized. + (subcomponentInitialized): New method. + (run): Wait for PacketProcessor and JdwpConnection to + startup, then set isDebugging, and then let this thread + die. + * gnu/classpath/jdwp/transport/JdwpConnection.java + (run): Add synchronization notification. + * gnu/classpath/jdwp/processor/PacketProcessor.java + (run): Likewise. + +2006-06-16 Tom Tromey <tromey@redhat.com> + + * NEWS: Updated for JSR 166. + * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess): + Removed. + (getCallerClass): Now static. + * vm/reference/sun/reflect/misc/ReflectUtil.java: New file. + +2006-06-16 Kyle Galloway <kgallowa@redhat.com> + + * gnu/classpath/jdwp/event/ExceptionEvent: + Added Object instance to javadoc in constructor + * gnu/classpath/jdwp/event/MethodEntryEvent: + Ditto. + * gnu/classpath/jdwp/event/MethodExitEvent: + Ditto, + * gnu/classpath/jdwp/event/SingleStepEvent: + Ditto. + +2006-06-16 Tom Tromey <tromey@redhat.com> + + * external/jsr166: Removed files from cvs trunk. + +2006-06-16 Lillian Angel <langel@redhat.com> + + * java/awt/FileDialog.java + (FileDialog): Added @since tag to API docs. + (FileDialog): Likewise. + (FileDialog): Likewise. + * java/awt/Font.java: + Added @since tag to TYPE1_FONT field docs. + * javax/swing/plaf/basic/BasicScrollBarUI.java: + (isThumbRollover): Likewise. + (setThumbRollover): Likewise. + (getSupportsAbsolutePositioning): Likewise. + * javax/swing/plaf/basic/BasicSliderUI.java: + (isDragging): Likewise. + +2006-06-16 Lillian Angel <langel@redhat.com> + + * java/awt/FileDialog.java + (FileDialog): Implemented. + (FileDialog): Implemented. + (FileDialog): Implemented. + * java/awt/Font.java: + Added TYPE1_FONT constant field. + +2006-06-16 Lillian Angel <langel@redhat.com> + + * java/awt/font/TextLayout.java: + Removed unneeded imports. + * javax/swing/plaf/basic/BasicScrollBarUI.java: + Added new thumbRollover field. + (mouseMoved): Added code to set thumbRollover field. + (isThumbRollover): New function. + (setThumbRollover): New function. + (getSupportsAbsolutePositioning): Implemented. This + needs to be changed once the feature has been + implemented. + * javax/swing/plaf/basic/BasicSliderUI.java: + Added new dragging field. + (mouseDragged): Initialized dragging field. + (isDragging): New function. + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (focusGained): Marked as not implemented. + (focusLost): Likewise. + +2006-06-16 Kyle Galloway <kgallowa@redhat.com> + + * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: + Added check for null ThreadId to avoid null pointer + exception. + +2006-06-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultComboBoxModel.java + (removeElementAt): Set new selected item by calling setSelectedItem(). + +2006-06-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultButtonModel.java + (setSelected): Use 'this', not null, for the item in the ItemEvent. + +2006-06-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/event/ListDataEvent.java: updated API docs, plus + (ListDataEvent): Handle case where index0 > index1, + (toString): Implemented. + +2006-06-16 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/metal/MetalMenuBarUI.java: + (update): Added subexpression to if-statement. + +2006-06-16 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicRadioButtonUI.java: + (installDefaults): Removed unneccessary code. + (paint): Removed complex if-cascade, revert to default icon if + icon property is not set. + (getPreferredSize): New method. + +2006-06-16 Roman Kennke <kennke@aicas.com> + + PR 28027 + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Don't use setClip() but instead clipRect() to + intersect the current clip with a new one. + +2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com> + + * configure.ac: Rename appletviewer to gappletviewer, jarsigner to + gjarsigner and keytool to gkeytool. + * doc/tools.texinfo: Add note about tool exectable names. + * tools/Makefile.am: Rename appletviewer to gappletviewer, + jarsigner to gjarsigner and keytool to gkeytool. + * tools/appletviewer.in: Rename ... + * tools/gappletviewer.in: New file. + * tools/jarsigner.in: Rename ... + * tools/gjarsigner.in: New file. + * tools/keytool.in: Rename ... + * tools/gkeytool.in: New file. + * tools/toolwrapper.c: Simplify TOOLS_ZIP macro. + +2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/AttributeList.java: + Add serialization UID. + * javax/management/DynamicMBean.java: + New file. + * javax/management/JMRuntimeException.java: + Add serialization UID and correct name + of serialized field. + * javax/management/MBeanInfo.java: New file. + +2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/AttributeList.java, + * javax/management/JMRuntimeException.java, + * javax/management/RuntimeOperationsException.java: + New files. + +2006-06-15 Lillian Angel <langel@redhat.com> + + * java/awt/font/TextLayout.java: + DEFAULT_CARET_POLICY changed to be public static final. + +2006-06-15 Tania Bento <tbento@redhat.com> + + * javax/swing/plaf/metal/MetalScrollButton.java + (MetalScrollButton): Should set 'focusable' to false. + +2006-06-15 Tania Bento <tbento@redhat.com> + + * javax/swing/plaf/basic/BasicArrowButton.java + (BasicArrowButton): Should set 'focusable' to false. + (BasicArrowButton): Should set 'focusable' to false. + +2006-06-15 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (getGraphicsConfiguration): Return default screen device. + * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component): + New field. + (GtkVolatileImage): Record initiating component. + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + (getDeviceConfiguration): Return configuration of image component. + +2006-06-15 Mark Wielaard <mark@klomp.org> + + * java/awt/geom/GeneralPath.java (closePath): Return if path already + closed. + +2006-06-15 Mark Wielaard <mark@klomp.org> + + * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator + with null argument. + +2006-06-15 Kyle Galloway <kgallowa@redhat.com> + + * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java + (matches): Added explicit brackets to return statement. + +2006-06-15 Tania Bento <tbento@redhat.com> + + * javax/swing/JRadioButtonMenuItem.java + (JRadioButtonMenuItem): Should set 'focusable' to false. + +2006-06-15 Tania Bento <tbento@redhat.com> + + * javax/swing/JCheckBoxMenuItem.java + (JCheckBoxMenuItem): Should set 'focusable' to false. + +2006-06-15 Tania Bento <tbento@redhat.com> + + * javax/swing/AbstractButton.java: + (AbstractButton): 'Focusable' should be set to true and not false. + +2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/ManagementFactory.java: + Add private constructor to prevent instance creation. + * java/lang/management/ManagementPermission.java: + Make final. + +2006-06-15 Francis Kung <fkung@redhat.com> + + * javax/swing/plaf/basic/BasicArrowButton.java: + (BasicArrowButton): move client property for not triggering out + of consturctor + * javax/swing/plaf/basic/BasicComboBoxUI.java: + (configureArrowButton): set client property for not triggering + (installUI): set client property for not triggering + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (PopupHelper.mousePressed): check client property for triggering + +2006-06-15 Roman Kennke <kennke@aicas.com> + + PR 28037 + * javax/swing/RepaintManager.java + (blitBuffer): Substract coordinates the other way around. + +2006-06-15 Roman Kennke <kennke@aicas.com> + + PR 28027 + * javax/swing/JComponent.java + (paintImmediately2): Only paint component without double buffering + when all of it's parents have also double buffering disabled. + (isPaintingDoubleBuffered): New helper method. + +2006-06-15 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (draw(Shape)): Pass null transform to getPathIterator(), + (getClip): Likewise, + * gnu/java/print/PostscriptGraphics2D.java + (drawStringShape): Pass null transform to getPathIterator(), + (writeShape): Likewise, + * java/awt/Shape.java: Small updates to API docs. + +2006-06-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (getAccessibleChildrenCount): Implemented. + (getAccessibleChild): Implemented. + (isNavigationKey): Implemented. + (KeyHandler.keyPressed): Implemented. + +2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/ManagementPermission.java: + Added serialization UID. + * javax/management/Attribute.java: Likewise. + * javax/management/MBeanException.java, + * javax/management/ReflectionException.java: + Added serialization UID and changed to extend + javax.management.JMException. + +2006-06-14 Lillian Angel <langel@redhat.com> + + * java/awt/Component.java + (ignoreOldMouseEvents): Made static. + (translateEvent): Made static. + * java/awt/TextComponent.java + (ignoreOldMouseEvents): Made static. + +2006-06-14 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and + call super. + (drawRect): Likewise. + (fillRect): Likewise. + +2006-06-14 Lillian Angel <langel@redhat.com> + + * java/awt/Component.java + (ignoreOldMouseEvents): New helper function. + (translateEvent): Changed to be non-static and use new helper. + * java/awt/TextComponent.java + (ignoreOldMouseEvents): New helper function. + +2006-06-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/RepaintManager.java + (MERGE_REGIONS): New constant flag. + (commitBuffer): Exclude the merging of regions by default. This + was causing painting artifacts in some applications, especially + when different areas of the GUI are updated synchronously. + +2006-06-14 Roman Kennke <kennke@aicas.com> + + * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java: + New file. This is a benchmark for AWT 1.1 style graphics operations. + * examples/gnu/classpath/examples/awt/palme.gif: New file. + * examples/gnu/classpath/examples/awt/aicas.gif: New file. + +2006-06-14 Tom Tromey <tromey@redhat.com> + + * java/io/File.java (getParent): Javadoc fix. + +2006-06-14 Tom Tromey <tromey@redhat.com> + + * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own + jar. + * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll + when index entry does not exist. + +2006-06-14 Tania Bento <tbento@redhat.com> + + * javax/swing/AbstractButton.java + (AbstractButton): Set focusable to false, not true. + +2006-06-14 Tania Bento <tbento@redhat.com> + + * javax/swing/JMenuItem.java + (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING. + +2006-06-14 Tania Bento <tbento@redhat.com> + + * javax/swing/JCheckBoxMenuItem.java + (JCheckBoxMenuItem): Added check to set the selected state. + +2006-06-14 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (cairoDrawLine): New native method. + (cairoDrawRect): New native method. + (cairoFillRect): New native method. + (drawLine): Use special native method. + (drawRect): Use special native method. + (fillRect): Use special native method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (cairoDrawLine): New native method. + (cairoDrawRect): New native method. + (cairoFillRect): New native method. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. + +2006-06-14 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array + cannot be allocated. + +2006-06-14 Tom Tromey <tromey@redhat.com> + + PR java/28024: + * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...). + * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...). + +2006-06-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (isRepainting): New flag. + (paintImmediately2): Set isRepainting flag. + (getRoot): Removed obsolete method. + (paintDoubleBuffered): Differenciate between paint calls from + RepaintManager and from AWT refresh. Call + RepaintManager.commitBuffer with this and local coordinates. + (findOpaqueParent): Stop searching at heavyweight component. These + are always opaque. + (paintChildrenOptimized): Don't paint heavyweight children. These + should care for themselves. + (paintChildrenWithOverlap): Don't paint heavyweight children. These + should care for themselves. + * javax/swing/RepaintManager.java + (getOffscreenBuffer): Associate offscreen buffer with toplevel + windows only. + (getVolatileOffscreenBuffer): Associate offscreen buffer with + toplevel windows only. + (getRoot): Removed obsolete method. + (commitBuffer): Blit buffer on nearest heavyweight. + (blitBuffer): New helper method. + (getHeavyweightParent): New helper method. + (commitRemainingBuffers): Call blitBuffer instead of commitBuffer. + * javax/swing/SwingUtilities.java + (convertRectangleToAncestor): New helper method. + +2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo. + Condition all trace/debug code based on Configuration.DEBUG. + Use logger instead of STDOUT and ot STDERR. + +2006-06-13 Lillian Angel <langel@redhat.com> + + * native/plugin/gcjwebplugin.cc + (NP_Initialize): Removed code to create whitelist file. + (GCJ_New): Added code to create whitelist file. + (plugin_user_trusts_documentbase): Fixed error message. + +2006-06-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to + prevent overwriting border, + (VerticalSliderThumbIcon.gradientMask): Likewise. + +2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * javax/management/AttributeNotFoundException.java, + * javax/management/InvalidAttributeValueException.java, + * javax/management/JMException.java, + * javax/management/MBeanException.java, + * javax/management/OperationsException.java, + * javax/management/ReflectionException.java: + New files. + +2006-06-13 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (dispatchEvent): Handle events even when consumed (this might be + picked up later in the dispatching chain). + * javax/swing/plaf/basic/BasicLookAndFeel.java + (PopupHelper.mousePressed): Don't consume event. Only close popup + when target component isn't flagged as DONT_CANCEL_POPUP. + (DONT_CANCEL_POPUP): New package private constant for flagging + special components that don't trigger popup closing. + * javax/swing/plaf/basic/BasicArrowButton.java + (BasicArrowButton): Set client property for not triggering closing + of popups. + +2006-06-13 Lillian Angel <langel@redhat.com> + + * java/awt/image/PixelGrabber.java + (PixelGrabber): Added to API documentation. + +2006-06-13 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java + (ExceptionOnlyFilter): Allow null refId. + + * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for + compatibility with filters. + (getParameter): Modified to allow access to above. + +2006-06-13 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoSurface.java + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (create): Use stride in ints. + +2006-06-13 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file. + +2006-06-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (calculateThumbSize): Removed unnecessary code, + (calculateThumbLocation): Shift position by one, + (calculateTickRect): Shift position by one when ticks are displayed, + (calculateLabelRect): Calculate rect differently according to whether + or not the labels are visible, + (paintTrack): Shift track down one pixel. + +2006-06-13 Lillian Angel <langel@redhat.com> + + * java/awt/image/PixelGrabber.java + (PixelGrabber): Removed check to throw exception. JDK does + not do this. + (startGrabbing): Removed line to print stacktrace. + +2006-06-13 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't + allocate unused AffineTransform. Add comment about conversion to + BufferedImage. + * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage): + Recognize identity transform as "easy". Always convert to + BufferedImage before calling super. + +2006-06-13 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (getGraphics): Translate child graphics correctly. + (dispatchEvent): Only dispatch event if it hasn't been consumed + yet by the global dispatcher. + * javax/swing/plaf/basic/BasicLookAndFeel.java + Added some API docs. + (PopupHelper.mousePressed): Consume the event after closing + opened menus. + +2006-06-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting + changes only, + * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise, + * javax/swing/plaf/basic/BasicComboPopup.java: Likewise, + * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise, + * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise, + * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise, + * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise, + * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise, + * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise, + * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise, + * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise, + * javax/swing/plaf/basic/BasicSliderUI.java: Likewise, + * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise, + * javax/swing/plaf/basic/BasicTableUI.java: Likewise, + * javax/swing/plaf/basic/BasicTextUI.java: Likewise, + * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise, + * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. + +2006-06-12 Sven de Marothy <sven@physto.se> + + * java/awt/font/LineBreakMeasurer.java): Implement. + +2006-06-12 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/SingleStepEvent.java: New file. + +2006-06-12 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file. + + * gnu/classpath/jdwp/event/MethodExitEvent.java: New file. + +2006-06-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintDoubleBuffered): Correctly translate and clip the Graphics + instance. + (clipAndTranslateGraphics): New helper method. + +2006-06-12 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (copy): Use getClip() to copy the clip. Make copied transform + null when original transform is null. Set clip here. + (setTransform): Correctly update the clip. + (setTransformImpl): New method. Updates the actual transform for + Cairo. + (transform): Correctly update the clip. + (translate): Correctly update the clip. + (clip): Handle null clip and argument correctly. + (clipRect): Avoid creating new Rectangle objects. + (getClip): Get the correct copy of the clip. + (setClip): Correctly handle null argument. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + (CairoSurfaceGraphics): Don't set the clip here. The clip can either + be null or whatever has been set in copy(). + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (drawImage): Add translation to the image coordinates. + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + (VolatileImageGraphics): Don't set clip here. The clip can either + be null or whatever has been set in copy(). + +2006-06-12 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java + (forCaught): Removed unused/unnecessary method. + (forUncaught): Likewise. + (matches): Implement. + +2006-06-12 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/ExceptionEvent.java: New file. + +2006-06-12 Keith Seitz <keiths@redhat.com> + + From Kyle Galloway <kgallowa@redhat.com>: + * gnu/classpath/jdwp/event/Event.java: Added constants for + type. + (getParameter): Changed parameter type from Class to int. + * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter): + Changed from Class type to constants. + * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter): + Likewise. + * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter): + Likewise. + * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter): + Likewise. + * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter): + Likewise. + * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter): + Likewise. + * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches): + Likewise. + * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches): + Likewise. + * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches): + Likewise. + * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches): + Likewise. + +2006-06-12 Lillian Angel <langel@redhat.com> + + * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java + (StandaloneAppletWindow): Changed title of standalone window. + +2006-06-12 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (layoutContainer): Added missing selectedComponent assignment. + +2006-06-12 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (layoutContainer): Added check to prevent exception. + +2006-06-12 Tom Tromey <tromey@redhat.com> + + * java/lang/Thread.java (uncaughtException): Javadoc fix. + +2006-06-12 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock): + New static field. + (ONE): Likewise. + (lock): New method. + (unlock): Likewise. + (draw): Use lock() and unlock(). + (fill): Likewise. + (drawRenderedImage): Likewise. + (drawImage): Likewise. + (drawGlyphVector): Likewise. + +2006-06-12 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawPixels): Include alpha in parameter list. + (cairoFill): Include alpha in parameter list. + (setComposite): Don't modify the color. + (draw(Shape))): Use fill when the current composite has an alpha + of != 1.0, so that the stroked shaped will be composited. + (fill(Shape)): Call cairoFill() with alpha. + (drawImage): Call drawPixels or drawSurface with alpha. + (drawGlyphVector): When composite alpha is != 1.0, render the + outline using fill() to enable compositing for text. + (drawRaster): Call drawPixels with alpha. + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (nativeDrawSurface): Include alpha in parameter list. + (drawSurface): Include alpha in parameter list. Pass it to + nativeDrawSurface(). + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h + * include/gnu_java_awt_peer_gtk_CairoSurface.h: + Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (drawPixels): Handle possible alpha for compositing. + (cairoFill): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (nativeDrawSurface): Handle possible alpha for compositing. + +2006-06-12 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage): + Notify data when completely done. Wait for worker thread to finish. + Rethrow any pending exceptions. + (exception): New field. + (run): Store pending exception. + +2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/ManagementPermission.java: + New file. + +2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au> + + * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team". + +2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName): + Use String.charAt(). + +2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com> + + * doc/tools.texinfo + (Applet Tools): New chapter. + (appletviewer Tool): New section. + (gcjwebplugin): New section. + +2006-06-11 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage): + Takes GdkPixbufWriter. + (GdkPixbufWriter): Implements Runnable. + (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for + data processing. + (DATADONE): New static final field. + (data): New field. + (write(byte[])): New method. + (run): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c + (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState): + Get dataOutputWriteID from writeClass. + (stream_save_request): Change stream field to writer. + (save_to_stream): Remove FIXME, call writer. + (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): + Store writer. + +2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * NEWS: + Mention new VM interface and use of properties. + * doc/vmintegration.texinfo: + Update with new gnu.java.lang.management section. + * gnu/java/lang/management/RuntimeMXBeanImpl.java: + New file. + * java/lang/management/ManagementFactory.java: + (getRuntimeMXBean()): Implemented. + * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java: + New VM interface file. + +2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/26065 + * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/ + debug code based on Configuration.DEBUG. + Use logger instead of STDOUT and ot STDERR. + * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise. + * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise. + * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise. + * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise. + * gnu/javax/crypto/prng/CSPRNG.java: Likewise. + * gnu/javax/crypto/pad/TBC.java: Likewise. + * gnu/javax/crypto/pad/PKCS7.java: Likewise. + * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise. + * gnu/javax/crypto/pad/BasePad.java: Likewise. + * gnu/javax/crypto/mac/OMAC.java: Likewise. + * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise. + * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise. + * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise. + * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise. + * gnu/javax/crypto/keyring/Entry.java: Likewise. + * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise. + * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise. + * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise. + * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise. + * gnu/javax/crypto/cipher/Twofish.java: Likewise. + * gnu/javax/crypto/cipher/Khazad.java: Likewise. + * gnu/javax/crypto/cipher/Rijndael.java: Likewise. + * gnu/javax/crypto/cipher/BaseCipher.java: Likewise. + * gnu/javax/crypto/cipher/Anubis.java: Likewise. + * gnu/java/security/Properties.java: Likewise. + * gnu/java/security/x509/X509CRLEntry.java: Likewise. + * gnu/java/security/x509/X509CRL.java: Likewise. + * gnu/java/security/x509/ext/Extension.java: Likewise. + * gnu/java/security/util/Prime2.java: Likewise. + * gnu/java/security/util/Base64.java: Likewise. + * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise. + * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise. + * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise. + * gnu/java/security/pkcs/SignerInfo.java: Likewise. + * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise. + * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise. + * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise. + * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise. + * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise. + * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise. + * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise. + * gnu/java/security/hash/Whirlpool.java: Likewise. + +2006-06-11 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): + Remove unused variable glyph_index. + +2006-06-11 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): + Don't recurse, return false if not an BufferedImage and no image + source available. + * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add + end_gdk_drawing() to finally block. + (fill): Likewise. + (drawRenderedImage): Likewise. + (drawImage): Likewise. + (drawGlyphVector): Likewise. + +2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> + + * doc/tools.texinfo: Added text for new -cacert command. + Re-structured sections. + * resource/gnu/classpath/tools/keytool/messages.properties: Added messages + for -cacert command. + * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant. + (_CACERT): Likewise. + (shutdownThread): New field. + (Main): Install shutdown thread. + (main): Uninstall shutdown thread. + (start): Handle new -cacert command. + (getParser): Likewise. + (teardown): Increased visibility. + (ShutdownHook): New inner class. + * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file. + +2006-06-11 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (setupGlyphMetrics): New method. Add glyphmetrics caching. + (getOutline): Operate on the shape directly. + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching. + * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h + (getGlyph renamed getGlyphs) + * java/awt/geom/AffineTransform.java + (getTranslateInstance): Set fields directly. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + (getGlyphs): Get all glyph codes at once. + +2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> + + PR Classpath/27853 + * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte. + +2006-06-11 Sven de Marothy <sven@physto.se> + + * java/awt/font/TextLayout.java + (getLogicalHighlightShape): Add check. + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (getLogicalBounds, getGlyphPositions): Cache bounds, positions. + +2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName): + Check that every component of 'cn' starts with a valid Java identifier char. + +2006-06-10 Tom Tromey <tromey@redhat.com> + + * java/io/File.java (pathSeparator): Typo fix. + +2006-06-10 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t): + Removed. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + Mark all unused parameters. + (cp_gtk_get_cairo_t): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): + Don't mix declerations and statements. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: + Mark all unused parameters. + (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): + Get cairographics2d pointer directly. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout): + Use jlong to pass pointer. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: + Mark all unused parameters. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. + * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated. + * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated. + * include/java_io_VMFile.h: Regenerated. + +2006-06-10 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect() + instead of setClip(), so that an already present clip is intersected + and not resetted. + +2006-06-10 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics): + Call getSize() to avoid accessor method. + +2006-06-10 Mark Wielaard <mark@klomp.org> + + * javax/swing/text/html/HTMLDocument.java (addSpecialElement): + Qualify ElementSpec. + +2006-06-10 Mark Wielaard <mark@klomp.org> + + * lib/.cvsignore: Add sun. + * lib/Makefile.am (dist-hook): Likewise. + +2006-06-10 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + * gnu/java/awt/peer/gtk/CairoSurface.java + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + * gnu/java/awt/peer/gtk/ComponentGraphics.java + * gnu/java/awt/peer/gtk/GtkVolatileImage.java + * native/jni/gtk-peer/cairographics2d.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: + Changed method signatures and calls to pass native pointers directly + into the JNI code, in order to avoid costly lookups on each + JNI call. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h, + * include/gnu_java_awt_peer_gtk_CairoSurface.h, + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h, + * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: + Regenerated + +2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27973 + * javax/swing/text/DefaultStyledDocument.java + (ElementBuffer.insertContentTag): + Do not recreate leaves and do not remove elements here. + +2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLDocument.java + (HTMLReader.HiddenAction): Implemented. + +2006-06-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/RepaintManager.java + (getVolatileOffscreenBuffer): Store the created buffer. + * javax/swing/JComponent.java + (paintDoubleBuffered): Try to use a volatile offscreen buffer + for better performance. + +2006-06-10 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + (VolatileImageGraphics(VolatileImageGraphics)): Initialize native + context correctly. + (getRealBounds): Overridden to return the correct bounds. + +2006-06-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalButtonUI.java + (update): Fixed to paint the gradient under the correct conditions. + (updateWidthGradient): Removed. + (isToolbarButton): New helper method. + (isDrawingGradient): New helper method. + +2006-06-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTabbedPane.java + (setSelectedIndex): Don't change the visibility of the components, + this is done by the UI class. + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (TabbedPaneLayout.layoutContainer): Change visibility of component + here, depending on the selected index. Only do this if the new + selected component is not null. Some programs seem to expect + this. + (visibleComponent): New field. + (getVisibleComponent): Changed to return visibleComponent field. + (setVisibleComponent): Changed to set the visibility of + the old and new visible component. + +2006-06-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintChildrenOptimized): Paint component with a new Graphics + object to protect the other painting code from modifications + done in that object, and avoid cleanup ops on possibly dispose()ed + Graphics object. + +2006-06-09 Sven de Marothy <sven@physto.se> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): + Use GTK locks while disposing (Xlib) surface. + +2006-06-09 Tom Tromey <tromey@redhat.com> + + * lib/Makefile.am (install-data-local): Copy 'sun' files. + (uninstall-local): Delete 'sun' directory. + (glibj.zip): Include 'sun' classes. + (clean-local): Delete 'sun' directory. + * lib/gen-classlist.sh.in: Search 'sun' subdirectories. + +2006-06-09 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (drawImage): Fixed scaling. + (fillShape): Removed offset handling. + (fillShapeImpl): Limit scanlining to device bounds. + (getSegments): Removed offset handling. + * gnu/java/awt/java2d/PolyEdge.java + (toString): Include isClip flag in output. + +2006-06-08 Sven de Marothy <sven@physto.se> + + * java/awt/font/TextLayout.java + (getOutline): Allow null transform. + +2006-06-08 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawString): Use TextLayout instead of GlyphVector. + +2006-06-08 Sven de Marothy <sven@physto.se> + + * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2. + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + New constructor for bidirectionality. + (getGlyphMetrics): Return whitespace glyphs. + (getLogicalBounds): Offset rectangles to correct positions. + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (getBaselineFor): Default to ROMAN_BASELINE. + (GdkFontLineMetrics): Guess some values for underline and + strikethrough. + (layoutGlyphVector): Use bidirectionality. + * java/awt/font/TextLayout.java: Implement, mostly. + +2006-06-09 Anthony Green <green@redhat.com> + + PR classpath/27888: + * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift. + * java/util/Collections.java (binarySearch): Use unsigned shift. + * java/util/Arrays.java (binarySearch): Use unsigned shift. + +2006-06-09 Tom Tromey <tromey@redhat.com> + + * tools/.cvsignore: Added .deps. + +2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp> + + PR classpath/27966: + * gnu/javax/security/auth/login/ConfigFileParser.java + (validateClassName): Quote '.' in regexp. + +2006-06-09 Tom Tromey <tromey@redhat.com> + + PR classpath/23863: + * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when + finished. + * native/fdlibm/mprec.c: New version from newlib. Commented out + some includes. Added <assert.h>. + (_reent, _Bigint): New defines. + (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise. + (__ULong, __Long): New types. + (_calloc_r): New function. + (Balloc): Dynamically add new _freelist entries as needed. + * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use + MAX_BIGNUMS to size _x[]. + (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed + _allocation_map, num. Added _max_k. + +2006-06-09 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawGlyphVector): Added fallback for non-FreetypeGlyphVector + implementations. + +2006-06-09 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/image/BufferedImage.java + (BufferedImage(int, int, int)): Added API docs, + (getProperty(String)): Return correct value for undefined properties, + (getPropertyNames()): Added comments and removed FIXME. + +2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro. + (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat. + +2006-06-09 Francis Kung <fkung@redhat.com> + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java: + (getPreferredSize): Return correct height for null or empty + items. + +2006-06-09 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/datatransfer/DataFlavor.java + (readExternal): Mark as stub, + (writeExternal): Likewise, + * java/awt/dnd/DropTargetContext.java + (dropComplete): Mark as stub, + (acceptDrag): Likewise, + (rejectDrag): Likewise, + (acceptDrop): Likewise, + (rejectDrop): Likewise, + (getCurrentDataFlavors): Likewise, + (getTransferable): Likewise, + * java/awt/dnd/DropTargetDropEvent.java + (dropComplete): Mark as stub. + +2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java + (constructor): Do not lowercase the values. + * javax/swing/text/html/HTMLDocument.java + (HTMLReader.addSpecialElement): Implemented. + * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file. + +2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au> + + On behalf of Matthew Wringe <mwringe@redhat.com> + * gnu/java/security/Registry.java (ISO10126_PAD): New constant. + * gnu/javax/crypto/pad/ISO10126.java: New class. + * gnu/javax/crypto/pad/PadFactory.java (names): New field. + (getInstance): Added support for ISO-10126 scheme. + (getNames): Likewise. + Cache result for speed. + +2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more + flexible self-test by sub-classes. + (test1BlockSize): New method. + +2006-06-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry, + * javax/swing/plaf/basic/BasicScrollBarUI.java + (installKeyboardActions): Implemented, + (uninstallKeyboardActions): Implemented, + (getInputMap): New method, + (getActionMap): New method, + (createActionMap): New method, + (installUI): Call installKeyboardActions(), + (uninstallUI): Call uninstallKeyboardActions(). + +2006-06-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (getActionMap): Use correct key to store action map. + +2006-06-09 Jeroen Frijters <jeroen@frijters.net> + + * gnu/java/awt/font/opentype/truetype/VirtualMachine.java + (executeInstruction): Added NOT support. + +2006-06-09 Jeroen Frijters <jeroen@frijters.net> + + * sun/reflect/annotation/AnnotationInvocationHandler.java: + New file. + +2006-06-08 Tom Tromey <tromey@redhat.com> + + * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot + of 'types'. + +2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/management/RuntimeMXBean.java: + New file. + +2006-06-08 Lillian Angel <langel@redhat.com> + + * native/plugin/gcjwebplugin.cc: + (NP_Shutdown): Freed whitelist_filename. + +2006-06-08 Lillian Angel <langel@redhat.com> + + * native/plugin/Makefile.am: + Removed DATA_DIRECTORY. + * native/plugin/gcjwebplugin.cc: + Added new global fields for whitelist_file + and data_directory. Removed WHITELIST_FILE. + (NP_Initialize): Initialized new fields. Also, + Changed to use new fields. + (NP_Shutdown): Freed data_directory. + (GCJ_New): Changed to use new fields. + (plugin_ask_user_about_documentbase): Likewise. + +2006-06-08 Lillian Angel <langel@redhat.com> + + * native/plugin/Makefile.am: + Changed DATA_DIRECTORY to be ~/.gcjwebplugin. + * native/plugin/gcjwebplugin.cc: + Changed all instances of PLUGIN_DATA_DIRECTORY + to DATA_DIRECTORY. + +2006-06-08 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint() + with convertPointToChild(). This is more efficient and avoids + problems with getLocationOnScreen(). + (findTarget): Check for component beeing showing() early. + Simplified AWTUtilities.convertPoint() to a simple substraction + operation. + (convertPointToChild): New helper method. + +2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update + message. + +2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com> + Lillian Angel <langel@redhat.com> + + * native/plugin/gcjwebplugin.cc + (NP_Shutdown): Added code to free plugin mutex and whitelist file. + Also, reset initialized field. + +2006-06-08 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicProgressBarUI.java + (paintString): Fixed to paint string at the correct location. + +2006-06-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (createDefaultActions): Added new actions. + (TreePageAction.TreePageAction): Set action name. + (TreePageAction.actionPerformed): Implemented. + (TreePageAction.isEnabled): Implemented. + (TreeToggleAction.TreePageAction): Set action name. + (TreeToggleAction.actionPerformed): Implemented. + (TreeToggleAction.isEnabled): Implemented. + (TreeTraverseAction.TreeTraverseAction): Set action name. + (TreeTraverseAction.actionPerformed): Use action name as command. + (TreeTraverseAction.isEnabled): Implemented. + +2006-06-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (installKeyboardActions): Rewritten to correctly install the UI + input and action maps. + (getActionMap): New helper method. + (createDefaultActionMap): New helper method. + (TreeHomeAction.TreeHomeAction()): Implemented. + (TreeHomeAction.actionPerformed): Implemented. + (TreeHomeAction.isEnabled): Implemented. + (TreeIncrementAction.TreeIncrementAction()): Implemented. + (TreeIncrementAction.actionPerformed): Use action name as command. + (TreeIncrementAction.isEnabled): Implemented. + +2006-06-08 Mark Wielaard <mark@klomp.org> + + PR 27917 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf + and unref loader. + +2006-06-08 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (attrs): Removed unused static. + +2006-06-08 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (getInputMap): New method, + (getActionMap): New method, + (createActionMap): New method, + (installKeyboardActions): Implemented, + (uninstallKeyboardActions): Implemented. + +2006-06-08 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/border/MatteBorder.java: + (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception + throwing. + (paintBorder): Added if-statement to abort painting early. + +2006-06-08 Robert Schuster <robertschuster@fsfe.org> + + Fixes PR27864. + * gnu/xml/dom/DomIterator.java: + (successor): Changed expression. + +2006-06-08 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (defaultLayout): Do kerning. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + (getKerning): Correct class name, removed unused variable. + +2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load + libqtpeer.so unconditionally. + +2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/InputMismatchException.java: + Documented. + +2005-04-20 Tom Tromey <tromey@redhat.com> + + * java/util/InputMismatchException.java: New file. + +2006-06-07 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS. + +2006-06-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (completeUIUninstall): Implemented. + (uninstallUI): Moved some bits to completeUIUninstall(). Complete + editing before uninstalling anything. + (isToggleEvent): Implemented. + (selectPathForEvent): Make use of isToggleEvent(). + (ComponentHandler.componentMoved): Implemented. + (ComponentHandler.startTimer): Implemented. + (ComponentHandler.getScrollPane): Implemented. + (ComponentHandler.actionPerformed): Implemented. + +2006-06-07 Francis Kung <fkung@redhat.com> + + * javax/swing/JMenuBar.java: + (getSubElements): Do not return null values. + +2006-06-07 Roman Kennke <kennke@aicas.com> + + PR 27902 + * gnu/regexp/BacktrackStack.java + * gnu/regexp/CharIndexed.java + * gnu/regexp/CharIndexedCharArray.java + * gnu/regexp/CharIndexedCharSequence.java + * gnu/regexp/CharIndexedInputStream.java + * gnu/regexp/CharIndexedString.java + * gnu/regexp/CharIndexedStringBuffer.java + * gnu/regexp/RE.java + * gnu/regexp/REException.java + * gnu/regexp/REFilterInputStream.java + * gnu/regexp/REMatch.java + * gnu/regexp/REMatchEnumeration.java + * gnu/regexp/RESyntax.java + * gnu/regexp/REToken.java + * gnu/regexp/RETokenAny.java + * gnu/regexp/RETokenBackRef.java + * gnu/regexp/RETokenChar.java + * gnu/regexp/RETokenEnd.java + * gnu/regexp/RETokenEndOfPreviousMatch.java + * gnu/regexp/RETokenEndSub.java + * gnu/regexp/RETokenIndependent.java + * gnu/regexp/RETokenLookAhead.java + * gnu/regexp/RETokenLookBehind.java + * gnu/regexp/RETokenNamedProperty.java + * gnu/regexp/RETokenOneOf.java + * gnu/regexp/RETokenPOSIX.java + * gnu/regexp/RETokenRange.java + * gnu/regexp/RETokenRepeated.java + * gnu/regexp/RETokenStart.java + * gnu/regexp/RETokenWordBoundary.java + * gnu/regexp/UncheckedRE.java + * gnu/java/util/regex/BacktrackStack.java + * gnu/java/util/regex/CharIndexed.java + * gnu/java/util/regex/CharIndexedCharArray.java + * gnu/java/util/regex/CharIndexedCharSequence.java + * gnu/java/util/regex/CharIndexedInputStream.java + * gnu/java/util/regex/CharIndexedString.java + * gnu/java/util/regex/CharIndexedStringBuffer.java + * gnu/java/util/regex/RE.java + * gnu/java/util/regex/REException.java + * gnu/java/util/regex/REFilterInputStream.java + * gnu/java/util/regex/REMatch.java + * gnu/java/util/regex/REMatchEnumeration.java + * gnu/java/util/regex/RESyntax.java + * gnu/java/util/regex/REToken.java + * gnu/java/util/regex/RETokenAny.java + * gnu/java/util/regex/RETokenBackRef.java + * gnu/java/util/regex/RETokenChar.java + * gnu/java/util/regex/RETokenEnd.java + * gnu/java/util/regex/RETokenEndOfPreviousMatch.java + * gnu/java/util/regex/RETokenEndSub.java + * gnu/java/util/regex/RETokenIndependent.java + * gnu/java/util/regex/RETokenLookAhead.java + * gnu/java/util/regex/RETokenLookBehind.java + * gnu/java/util/regex/RETokenNamedProperty.java + * gnu/java/util/regex/RETokenOneOf.java + * gnu/java/util/regex/RETokenPOSIX.java + * gnu/java/util/regex/RETokenRange.java + * gnu/java/util/regex/RETokenRepeated.java + * gnu/java/util/regex/RETokenStart.java + * gnu/java/util/regex/RETokenWordBoundary.java + * gnu/java/util/regex/UncheckedRE.java + Moved gnu.regexp classes to gnu.java.util.regex package. + * java/util/regex/Matcher.java + * java/util/regex/Pattern.java + Adjusted import statements for new package name for gnu regexp. + +2006-06-07 Tom Tromey <tromey@redhat.com> + + PR classpath/27905: + * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized. + Added missing charsets. + (charsetForName): Don't check 'extendedLoaded'. + +2006-06-07 Roman Kennke <kennke@aicas.com> + + PR 27833 + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (clip(Shape)): Implemented correctly, so that the current shape + gets intersected by the parameter shape. + +2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/math/BigDecimal.java: + (compareTo(Object)): Make this call the other + one. + (compareTo(BigDecimal)): Recreated. + +2006-06-07 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (getTabBounds): If this method is called with a tab index + that is not in the rects array, we need to re-layout the container + so it is created. + +2006-06-07 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (FreetypeGlyphVector): Removed assignment. Caused compilation error. + * java/lang/String.java + (codePointCount): Fixed check to match API. Shouldn't throw exception + if end == count. end is 1 more than the endIndex, so end == count is + possible. + +2006-06-07 Gary Benson <gbenson@redhat.com> + + PR 24895 + * native/jni/java-io/java_io_VMFile.c + (Java_java_io_VMFile_toCanonicalForm): New method. + * configure.ac: Added checks for lstat and readlink. + * include/java_io_VMFile.h: Added new method. + * vm/reference/java/io/VMFile.java: Use new method. + * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed. + * NEWS: Documented the above. + * java/io/File.java: Javadoc fix. + +2006-06-07 Roman Kennke <kennke@aicas.com> + + PR 27920 + * javax/swing/JTree.java + (JTree()): Initialize with default model. + (JTree(TreeModel)): Clear expanded state hashtable. Added comment + on the updateUI() / setModel() order. + (setModel): Correctly (un-)setup the listeners. Clear the expanded + paths. + * javax/swing/plaf/basic/BasicTreeUI.java + (BasicTreeUI()): Initialize listeners in installListeners(). + (setModel): Complete editing on model change. Correctly resetup + the listeners. Update the layout cache accordingly. + (setShowRootHandles): Complete editing and update layout. Do not + call back into the JTree, this could cause cycles. + (prepareForUIInstall): Implemented. Moved some init code from + installUI() to this method. + (completeUIInstall): Implemented. Moved some init code from + installUI() to this method. + (createDefaultCellEditor): Check for type of renderer, and install + with null renderer when not DefaultTreeCellRenderer. + (updateLayoutCacheExpandedNodes): Added null check for tree root + to avoid NPE. + (updateRenderer): Call updateEditor(). + (installListeners): Initialize the listeners here. Added some null + checks to avoid NPEs. + (installUI): Moved some init code to prepareForUIInstall() and + completeUIInstall(). + (completeEditing): Return immediately if editing component is null + or if the setting is to not stop editing on complete editing. + (checkForClickInExpandControl): Call handleExpandControlClick() + instead of toggleExpandState() directly. + (isLocationInExpandControl): Rewritten to correctly determine the + expand click location. + (MouseHandler.mousePressed): Rewritten to make better use of the + instance methods of BasicTreeUI to handle the click. + (PropertyHandler.propertyChange): Handle model and cell renderer + updates. + * javax/swing/tree/DefaultTreeCellEditor.java + (DefaultTreeCellEditor): Removed initialization of the icon. This + is done so that the constructor can deal with null renderer as the + RI does. Maybe this needs more fixing. + * javax/swing/tree/TreePath.java + (isDescendant): Fixed this method. The previous version did too + much and compared the wrong things, which lead to a ClassCastException + in equals(). + * javax/swing/tree/VariableHeightLayoutCache.java + (update): Do nothing when model is null. + (setModel): Clear the tables and update the layout. Added null + check to prevent NPE. + +2006-06-07 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file. + +2006-06-07 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + New files. + + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (getGlyphVector): Removed native method. + (createGlyphVector, getStringBounds): Use new GV class. + + * include/Makefile.am + * native/jni/gtk-peer/Makefile.am + Add new files. + + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (getGlyphVector): Removed native method. + +2006-06-07 Chris Burdess <dog@gnu.org> + + * gnu/classpath/debug/TeeInputStream.java, + gnu/classpath/debug/TeeOutputStream.java, + gnu/classpath/debug/TeeReader.java, + gnu/classpath/debug/TeeWriter.java: New classes for debugging streams. + * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't + read more characters than absolutely necessary in tryRead method. + +2006-06-07 Robert Schuster <robertschuster@fsfe.org> + + * examples/gnu/classpath/examples/swing/Demo.java: + (mkMenuBar): Put look and feel radio buttons into + appropriate button group. + +2006-06-07 Chris Burdess <dog@gnu.org> + + * gnu/xml/stream/SAXParser.java, + gnu/xml/stream/XMLParser.java: Add command line options for setting + parsing parameters (for simpler debugging). + * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error + closing output stream is propagated to application. + +2006-06-06 Mark Wielaard <mark@klomp.org> + + PR 27917 + * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose. + * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to + call disposeSurface. + (disposeSurface): New native method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free + pattern_pixels. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call + cairo_pattern_destroy. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): + New function to destroy the surface. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. + * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise. + +2006-06-06 Mark Wielaard <mark@klomp.org> + + * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types + with JNICALL. + +2006-06-06 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalSplitPaneDivider.java + (paint): If has focus, paint special background color, + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (FocusHandler.focusGained): Implemented, + (FocusHandler.focusLost): Implemented. + +2006-06-06 Tom Tromey <tromey@redhat.com> + + * javax/swing/text/StyleContext.java (registerStaticAttributeKey): + Javadoc fix. + (writeAttributeSet): Implemented. + +2006-06-06 Tom Tromey <tromey@redhat.com> + + * javax/swing/text/html/HTMLDocument.java (SpecialAction.start): + Implement. + (SpecialAction.end): Removed. + (IsindexAction.end): Likewise. + +2006-06-06 Tom Tromey <tromey@redhat.com> + + * include/jni.h (JDK1_1InitArgs): New struct. + (JDK1_1AttachArgs): Likewise. + +2006-06-06 Tom Tromey <tromey@redhat.com> + + * java/security/UnresolvedPermission.java (getUnresolvedType): New + method. + (getUnresolvedName): New method. + (getUnresolvedActions): New method. + (getUnresolvedCerts): New method. + +2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/CharacterAttributeTranslator.java + (getColor): Removed debugging code. + +2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/CharacterAttributeTranslator.java + (getColor): Added support for "rgb(red, green, blue)" notation. + (translateTag): Use Boolean.TRUE, not new Boolean(). + +2006-06-06 Roman Kennke <kennke@aicas.com> + + PR 27651 + * javax/swing/JTree.java + (JTree(TreeModel)): Call updateUI() before setModel(). + (setModel): Don't call updateUI here. + +2006-06-06 Lillian Angel <langel@redhat.com> + + * native/plugin/gcjwebplugin.cc: + Fixed failure message and commenting. + (NP_Initialize): Added more comments. + +2006-06-06 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JSplitPane.java + (AccessibleJSplitPane): API doc fixes, + (setDividerLocation): Likewise, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Additions to SplitPane.ancestorInputMap, + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (getInputMap): New method, + (getActionMap): New method, + (createActionMap): New method, + (installKeyboardActions): Implemented, + (uninstallKeyboardActions): Implemented. + +2006-06-06 Roman Kennke <kennke@aicas.com> + + PR 27523 + * javax/swing/MenuSelectionManager.java + (processKeyEvent): Added check to avoid + ArrayIndexOutOfBoundsException. + +2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/htmlAttributeSet.java + (getAttributeNames): Rewritten + +2006-06-06 Chris Burdess <dog@gnu.org> + + * gnu/xml/transform/TransformerImpl.java: Check type of created + document (more cases). + +2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/htmlAttributeSet.java + (clone): New method. (copyAttributes): New method. + (getResolveParent): Comment fix. (getAttribute): + Rewritten. (addAttribute): Rewritten. + * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java: + New file. + +2006-06-06 Roman Kennke <kennke@aicas.com> + + PR 27522 + * javax/swing/JMenuBar.java + (processKeyBindingHelper): Added null check to prevent NPE. + +2006-06-06 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (ShowSystemMenuAction): New class. + (installKeyboardActions): Implemented. + (uninstallKeyboardActions): Implemented. + * javax/swing/plaf/metal/MetalInternalFrameUI.java + (installKeyboardActions): Overridden to remove showSystemMenu action. + +2006-06-06 Chris Burdess <dog@gnu.org> + + * gnu/xml/transform/TransformerImpl.java: Check type of created + document. + +2006-06-06 Robert Schuster <robertschuster@fsfe.org> + + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: + (getScreenDevices): Added explicit cast. + +2006-06-06 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (installKeyboardActions): Use shared input map. Correctly + install the input/action maps in the component's input/action + map hierarchies. + (getActionMap): New helper method for fetching an ActionMap from + the UIManager or creating a default one if there is none supplied + by the UIManager. + (createActionMap): Add the TransferHandler's actions here. Made + method private. + (getInputMap): Leave out unnecessary method parameter. Load + shared input map. + * javax/swing/plaf/basic/SharedUIDefaults.java: New file. + +2006-06-06 Robert Schuster <robertschuster@fsfe.org> + + * configure.ac: Added missing [ to expression. + +2006-06-06 Robert Schuster <robertschuster@fsfe.org> + + * configure.ac: Added missing { to expression. + +2006-06-06 Robert Schuster <robertschuster@fsfe.org> + + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated. + * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file. + * include/Makefile.am: Added + gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice. + * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java: + (GdkGraphicsConfiguration): Rewritten. + (getColorModel): Rewritten. + (getColorModel(int)): Rewritten. + (getBounds): Rewritten. + (createCompatibleVolatileImage): Implemented. + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static + initializer. + (getDefaultScreenDevice): Rewritten. + (nativeGetDefaultScreenDevice): New method. + (getScreenDevices): Rewritten. + (nativeGetScreenDevices): New method. + (nativeInitState): New method. + * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely + rewritten. + (X11DisplayMode): New inner class. + * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and + gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c + * native/jni/gtk-peer/gdkdisplay.h: New file. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: + (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState): + New function. + (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState): + New function. + (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment + _nativeGetScreenDevices): + New function. + (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment + _nativeGetDefaultScreenDevice): + New function. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c: + New file. + * configure.ac: Added check for Xrandr library. + +2006-06-06 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTableUI.java + (getMaximumSize): Don't return null. Fixed calculation of + table height. + (getMinimumSize): Don't return null. Fixed calculation of + table height. + (getPreferredSize): Fixed calculation of with and height. Added + API docs. + (getHeight): New helper method. + +2006-06-06 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComponent.java + (getInputMap(int)): Throw IllegalArgumentException for unknown + condition argument, and added API docs, + (getInputMap()): Added API docs. + +2006-06-06 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/BufferedImage.java: Added fourth 8 to bits4 field. + +2006-06-06 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTable.java + (AccessibleJTableHeaderCell.header): New field, + (AccessibleJTableHeaderCell.columnIndex): Likewise, + (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise, + (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method, + (AccessibleJTableHeaderCell.getAccessibleContext): Implemented, + (AccessibleJTableHeaderCell.getAccessibleRole): Implemented, + (AccessibleJTable.getAccessibleChild(int)): Overridden, + (AccessibleJTable.getAccessibleAt): Reimplemented. + +2006-06-05 Sven de Marothy <sven@physto.se> + + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (initFromVolatile): New method. + * gnu/java/awt/peer/gtk/GtkVolatileImage.java + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + Reimplement. + * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c + (copyArea, drawVolatileImage): New methods. + +2006-06-05 Tania Bento <tbento@redhat.com> + + * javax/swing/JFrame.java + (frameInit): Set background color and fixed layout parameters. + +2006-06-05 Tom Tromey <tromey@redhat.com> + + * NEWS: Mention VMURLConnection. + +2006-06-05 Lillian Angel <langel@redhat.com> + + * native/plugin/gcjwebplugin.cc: + Added new field to keep track of initialization. + (plugin_start_appletviewer): Fixed to return an error value, if + an error was encountered when loading the appletviewer. + (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer + has failed. + (plugin_failed): New helper function. Shows a warning if the appletviewer + has not been installed. + (NP_Initialize): Added code to make sure this function is only called + once. + +2006-06-05 Lillian Angel <langel@redhat.com> + + * native/plugin/Makefile.am: + Fixed to use a set plugin directory in the .mozilla directory. + All applet logs are now stored here, instead of /tmp. + * native/plugin/gcjwebplugin.cc: + Added new fields for security warning. + (GCJ_NEW): Added code to generate a security warning for all pages + that spawn an appletviewer. This warning asks the user if they trust + the applet and if they would like to add it to a 'whitelist'. This + whitelist keeps track of all the addresses the user would like + to trust indefinitely. + (plugin_user_trusts_documentbase): New helper function. + (plugin_add_documentbase_to_whitelist): New helper function. + (plugin_ask_user_about_documentbase): New helper function. + (plugin_in_pipe_callback): Fixed check to determine if channel_error + has been set. + (plugin_start_appletviewer): Likewise. + (plugin_create_applet_tag): Reset all fields to null after they have been + freed. + (plugin_send_message_to_appletviewer): Fixed all error checks to determine + if channel_error has been set. + (plugin_stop_appletviewer): Likewise. + (NP_Initialize): Likewise. Also, added code to determine if directory and file + should be created. + +2006-06-05 Francis Kung <fkung@redhat.com> + + PR 27507 + * gnu/java/awt/peer/gtk/GtkImage.java + (getSource): Added check to determine if in + errorLoading state. + * gnu/java/awt/peer/gtk/GtkToolkit.java + (createImage): Added check to prevent NPE. + +2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create): + Create the ImageView, when applicable. + * gnu/javax/swing/text/html/CombinedAttributes.java, + javax/swing/text/html/ImageView.java: New files. + +2006-06-05 Roman Kennke <kennke@aicas.com> + + PR 27834 + * javax/swing/text/GapContent.java + (setPositionsInRange): Compare with startIndex and endIndex + rather than start and end. + (dumpMarks): Only dump real marks. + +2006-06-05 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (ComponentGraphics): Use 0,0 as clip origin. + +2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/Formattable.java, + * java/util/FormattableFlags.java, + * java/util/Formatter.java: + Documented. + +2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/Formatter.java: + Make the class final. + +2005-09-26 Tom Tromey <tromey@redhat.com> + + * java/util/Formatter.java (format): Set fmtLocale. + (applyLocalization): New method. + (basicIntegralConversion): Likewise. + (hexOrOctalConversion): Use it. + (decimalConversion): New method. + (format): Use decimalConversion, dateTimeConversion. + (genericFormat): Upper-case earlier. Justify correctly. + (singleDateTimeConversion): New method. + (dateTimeConversion): Likewise. + +2005-09-25 Tom Tromey <tromey@redhat.com> + + * java/util/Formatter.java (lineSeparator): Use SystemProperties. + +2005-09-24 Tom Tromey <tromey@redhat.com> + + * java/util/FormattableFlags.java (PLUS, SPACE, ZERO, COMMA, + PAREN): New constants. + * java/util/Formattable.java: New file. + * java/util/Formatter.java: New file. + +2005-08-13 Tom Tromey <tromey@redhat.com> + + * java/util/FormattableFlags.java: New file. + +2006-06-04 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (createVolatileImage): Pass peer to VolatileImage constructor. + * java/awt/Component.java + (createVolatileImage): Call peer method directly. + +2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/DuplicateFormatFlagsException.java, + * java/util/FormatFlagsConversionMismatchException.java, + * java/util/FormatterClosedException.java, + * java/util/IllegalFormatCodePointException.java, + * java/util/IllegalFormatConversionException.java, + * java/util/IllegalFormatException.java, + * java/util/IllegalFormatFlagsException.java, + * java/util/IllegalFormatPrecisionException.java, + * java/util/IllegalFormatWidthException.java, + * java/util/MissingFormatArgumentException.java, + * java/util/MissingFormatWidthException.java, + * java/util/UnknownFormatConversionException.java, + * java/util/UnknownFormatFlagsException.java: + Documented. + +2005-08-13 Tom Tromey <tromey@redhat.com> + + * java/util/UnknownFormatConversionException.java + (serialVersionUID): New field. + (s): Renamed from 'conv' for serialization. + * java/util/MissingFormatWidthException.java (serialVersionUID): + New field. + (s): Renamed from 'width' for serialization. + * java/util/MissingFormatArgumentException.java + (serialVersionUID): New field. + (s): Renamed from 'spec' for serialization. + * java/util/IllegalFormatWidthException.java (serialVersionUID): + New field. + (w): Renamed from 'width' for serialization. + * java/util/IllegalFormatPrecisionException.java + (serialVersionUID): New field. + (p): Renamed from 'precision' for serialization. + * java/util/IllegalFormatFlagsException.java (serialVersionUID): + New field. + * java/util/IllegalFormatConversionException.java + (serialVersionUID): New field. + (c): Renamed from 'conv' for serialization. + (arg): Renamed from 'argClass' for serialization. + * java/util/IllegalFormatCodePointException.java + (serialVersionUID): New field. + (c): Renamed from 'codepoint' for serialization. + * java/util/FormatFlagsConversionMismatchException.java + (serialVersionUID): New field. + (f): Renamed from 'flags' for serialization. + (c): Renamed from 'conversion' for serialization. + * java/util/DuplicateFormatFlagsException.java (serialVersionUID): + New field. + * java/util/IllegalFormatException.java (serialVersionUID): New + field. + * java/util/FormatterClosedException.java (serialVersionUID): New + field. + +2005-04-20 Tom Tromey <tromey@redhat.com> + + * java/util/DuplicateFormatFlagsException.java: New file. + * java/util/FormatFlagsConversionMismatchException.java: New file. + * java/util/FormatterClosedException.java: New file. + * java/util/IllegalFormatCodePointException.java: New file. + * java/util/IllegalFormatConversionException.java: New file. + * java/util/UnknownFormatFlagsException.java: New file. + * java/util/UnknownFormatConversionException.java: New file. + * java/util/MissingFormatWidthException.java: New file. + * java/util/MissingFormatArgumentException.java: New file. + * java/util/IllegalFormatWidthException.java: New file. + * java/util/IllegalFormatPrecisionException.java: New file. + * java/util/IllegalFormatFlagsException.java: New file. + * java/util/IllegalFormatException.java: New file. + +2006-06-04 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoSurface.java + (getFlippedBuffer): New method. + (getGtkImage): Renamed method. + * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java + * gnu/java/awt/peer/gtk/GtkVolatileImage.java + Renamed getSharedImage to getGtkImage. + * include/gnu_java_awt_peer_gtk_CairoSurface.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (getFlippedBuffer): New method + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + Avoid window casts. + +2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/System.java: + (nanoTime()): Documented. + +2006-03-20 Tom Tromey <tromey@redhat.com> + + * java/lang/System.java: + (nanoTime()): Implemented. + +2006-03-01 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (precision): Fixed overflow problem with large numbers. + (longValueExact): New method. + (intValueExact): Likewise. + (byteValueExact): Likewise. + (shortValueExact): Likewise. + +2006-03-01 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (remainder(BigDecimal)): New method. + (divideAndRemainder(BigDecimal)): Likewise. + (divideToIntegralValue(BigDecimal)): Likewise. + (floor): New implementation method. + +2006-02-28 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (divide(BigDecimal, int, RoundingMode)): New method. + (divide(BigDecimal, RoundingMode)): Likewise. + (divide(BigDecimal, int, int)): Removed incorrect throwing of exception + when the new scale is < 0. + (setScale(int, RoundingMode)): New method. + (ulp): Likewise. + +2006-02-27 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf + with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate. + (add(BigDecimal, MathContext)): New method. + (subtract(BigDecimal, MathContext)): Likewise. + (precision): Fixed to correctly handle BigIntegers with more than 19 + digits. + (pow(int, MathContext)): New method. + +2006-02-27 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: Added @throws clause to constructors. + (mathContext): Removed this unneeded field. + (BigDecimal(int, MathContext)): New constructor. + (BigDecimal(BigInteger, int, MathContext)): Likewise. + (multiply(BigDecimal, MathContext)): New method. + (negate(MathContext)): Likewise. + (plus(MathContext)): Likewise. + (numDigitsInLong): Fixed to properly handle negatives. + +2006-02-24 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (BigDecimal(long, MathContext)): New constructor. + (BigDecimal(BigInteger, MathContext)): Likewise. + (BigDecimal(String, MathContext)): Likewise. + (BigDecimal(double, MathContext)): Likewise. + (round): Fixed a typo where the precision field was used instead of a + call to the precision method, and also store the new precision in the + returned BigDecimal. + (abs(MathContext)): New method. + +2006-02-24 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java + (toBigInteger): Fixed problem where this method couldn't handle + negative values for scale. + (toBigIntegerExact): New method. + (stripTrailingZeros): Likewise. + +2006-02-23 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (toString): Fixed a problem where the negative sign was being displayed + twice in the exponent. + (toEngineeringString): New method. + (toPlainString): Likewise. + (pow): Likewise. + +2006-02-23 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (toString): Rewrote this method to behave as specified. Added API + comments to explain behaviour. + (scaleByPowerOfTen): New method. + +2006-02-22 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (BigDecimal(char[], int, int, MathContext)): New constructor. + (BigDecimal(char[], MathContext)): Likewise. + (BigDecimal(char[])): Likewise. + (BigDecimal(char[], int, int)): Likewise. + (BigDecimal(String)): Fixed handling of exponent and scale. + +2006-02-21 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/BigDecimal.java: + (mathContext): New field. + (precision): Likewise. + (BigDecimal(int)): New constructor. + (BigDecimal(long)): Likewise. + (BigDecimal(BigInteger)): Added API docs. + (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException + and added API docs. + (plus): New method. + (round): Likewise. + (precision): Likewise. + (valueOf): Likewise. + (numDigitsInLong): New implementation method. + +2006-02-21 Anthony Balkissoon <abalkiss@redhat.com> + + * java/math/MathContext.java: New class. + +2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c: + (drawVolatile): Add casts. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: + (getOutline): Add casts. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: + Comment out unused prototype. + (getPixels): Add appropriate cast and comment out unused variable. + +2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import. + * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link. + * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import. + * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see. + (getSystemInstance): Fix javadoc @link. + (counter): Increased visibility. + * gnu/javax/crypto/pad/TLS1.java: Remove unused import. + * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link. + * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise. + * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise. + * gnu/javax/crypto/pad/TBC.java (TBC): Likewise. + * gnu/javax/crypto/mode/CTR.java: Remove unused import. + * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see. + * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see. + * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link. + * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports. + * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise. + * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise. + * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise. + * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise. + * gnu/javax/crypto/mac/OMAC.java: Likewise. + * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise. + * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise. + * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise. + * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link. + * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise. + * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import. + * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link. + * gnu/javax/crypto/assembly/Direction.java: Likewise. + * gnu/javax/crypto/assembly/Transformer.java: Likewise. + +2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/PolicyFile.java: Updated copyright year. + (logger): Increased visibility. + * gnu/java/security/x509/Util.java: Updated copyright year. + (hexDump): Fix javadoc @link. + * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year. + Removed unused import. + * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link. + * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise. + * gnu/java/security/util/ExpirableObject.java: Likewise. + (destroy): Likewise. + * gnu/java/security/util/SimpleList.java (SimpleList): Likewise. + * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: + Updated copyright year. + (checkCRL): Fix javadoc @param. + +2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/annotation/IncompleteAnnotationException.java: + Documented. + +2004-08-07 Tom Tromey <tromey@redhat.com> + + * java/lang/annotation/IncompleteAnnotationException.java: New + file. + +2006-06-02 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (cairoPreserveClip, cairoResetClip): New methods. + (setClip, clip): Reimplement. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h + (cairoPreserveClip, cairoResetClip): New methods. + +2006-06-02 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c + New files. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (drawImage): Overloads for VolatileImage drawing. + (drawVolatile): New method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h + (drawVolatile): New method. + * gnu/java/awt/peer/gtk/GtkVolatileImage.java + Unstub implementation. + * include/Makefile.am + * native/jni/gtk-peer/Makefile.am + Add new files. + * native/jni/gtk-peer/gtkpeer.h + New prototype. + +2006-06-03 Roman Kennke <kennke@aicas.com> + + PR 27418 + * javax/swing/plaf/basic/BasicTextUI.java + (damageRange): Added null check to avoid NPE. + +2006-06-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/PlainView.java + (updateDamage): Check for valid longestLine and initialize if + necessary. + +2006-06-03 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C + comments, not C++. + +2006-06-02 Sven de Marothy <sven@physto.se> + + PR 27879 + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (copyArea): Implement. + (copyAreaImpl, getRealBounds): New methods. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + * gnu/java/awt/peer/gtk/ComponentGraphics.java + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + (copyAreaImpl, getRealBounds): Implement. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (nativeCopyArea): Reimplement. + +2006-06-02 Andreas Tobler <a.tobler@schweiz.ch> + + * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS. + (XTEST_LIBS): New, substitute. + * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS. + +2006-06-02 Roman Kennke <kennke@aicas.com> + + PR 26738 + * javax/swing/text/PlainView.java + (updateDamage): Rewritten for correct repainting and revalidating. + (findLongestLine): New helper method. + (getLineLength): New helper method. + +2006-06-02 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (nativeCopyArea): Change stride parameter to use # of ints. + (setPixels): Add checks. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (ComponentGraphics): Set background, clip. + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (Cairographics2D): Don't set clip. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + Add flush. + +2006-06-02 Lillian Angel <langel@redhat.com> + + PR 24458 + * java/awt/DefaultKeyboardFocusManager.java + (dispatchEvent): Fixed to getFocusOwner, if that fails it tries + to get the focused window. + +2006-06-01 Miriam Schuster <schmir11@web.de> + + * Makefile.am: Add fallback if "mozilla-plugin" is not available. + Fallbacks used: "firefox-plugin" and "xulrunner-plugin". + +2006-06-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (columnSelectionChanged): Don't return when there's only one + column (might still need repainting). Correctly calculate + repaint rectangle. + (valueChanged): Use return value of SwingUtilities.computeUnion + as dirty region. + +2006-06-01 Keith Seitz <keiths@redhat.com> + + From Martin Platter <motse@complang.tuwien.ac.at>: + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java + (executeSet): Fix buffer underflow reading reference ID. + * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java + (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (executeSuperclass): Handle case of Object with ID zero. + +2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo. + * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise. + +2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field. + (Command): Add the shutdown hook. + (doCommand): Remove the shutdown hook. + (ShutdownHook): New class. + +2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/jarsigner.in: Use @VM_BINARY@. + * tools/keytool.in: Likewise. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: + (setColor): Update the cairo paint. + +2006-06-01 Mark Wielaard <mark@klomp.org> + + * java/util/logging/LogManager.java (createInstance): Always add + original exception on warning. + +2006-06-01 Lillian Angel <langel@redhat.com> + + * tools/gnu/classpath/tools/appletviewer/AppletTag.java + (prependCodebase): Fixed check. No dirname was ever considered to + be a file, so every applet fell into the if-statement causing a lot + of classloading problems with the applets. + +2006-06-01 Sven de Marothy <sven@physto.se> + + Patch submitted by Boris Dusek. + * native/jni/qt-peer/qtmenupeer.cpp + Fix segfault + +2006-06-01 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (AccessibleJTableCell.getAccessibleRow): Added comment explaining + why the behaviour is like it is. + (AccessibleJTableCell.getAccessibleStateSet): Implemented. + (AccessibleJTableHeader): New inner class. + (AccessibleJTableHeaderCell): New inner class. + (AccessibleJTable.lastSelectedRow): New field. + (AccessibleJTable.lastSelectedColumn): New field. + (AccessibleJTable.caption): New field. + (AccessibleJTable.summary): New field. + (AccessibleJTable.rowDescriptions): New field. + (AccessibleJTable.columnDescriptions): New field. + (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn. + (AccessibleJTable.getAccessibleSelection(int)): Implemented. + (AccessibleJTable.isAccessibleChildSelected): Implemented. + (AccessibleJTable.addAccessibleSelection): Implemented. + (AccessibleJTable.removeAccessibleSelection): Implemented. + (AccessibleJTable.clearAccessibleSelection): Implemented. + (AccessibleJTable.selectAllAccessibleSelection): Implemented. + (AccessibleJTable.valueChange): Implemented. + (AccessibleJTable.tableRowsInserted): Implemented. + (AccessibleJTable.tableRowsDeleted): Implemented. + (AccessibleJTable.handleRowChange): New helper method. + (AccessibleJTable.columnAdded): Implemented. + (AccessibleJTable.columnMarginChanged): Implemented. + (AccessibleJTable.columnMoved): Implemented. + (AccessibleJTable.columnRemoved): Implemented. + (AccessibleJTable.columnSelectionChanged): Implemented. + (AccessibleJTable.handleColumnChange): New helper method. + (AccessibleJTable.editingCanceled): Implemented. + (AccessibleJTable.editingStopped): Implemented. + (AccessibleJTable.getAccessibleRow): Implemented. + (AccessibleJTable.getAccessibleColumn): Implemented. + (AccessibleJTable.getAccessibleIndex): Implemented. + (AccessibleJTable.getAccessibleCaption): Implemented. + (AccessibleJTable.setAccessibleCaption): Implemented. + (AccessibleJTable.getAccessibleSummary): Implemented. + (AccessibleJTable.setAccessibleSummary): Implemented. + (AccessibleJTable.getAccessibleRowCount): Implemented. + (AccessibleJTable.getAccessibleColumnCount): Implemented. + (AccessibleJTable.getAccessibleAt): Implemented. + (AccessibleJTable.getAccessibleRowExtentAt): Implemented. + (AccessibleJTable.getAccessibleColumnExtentAt): Implemented. + (AccessibleJTable.getAccessibleRowHeader): Implemented. + (AccessibleJTable.setAccessibleRowHeader): Implemented. + (AccessibleJTable.getAccessibleColumnHeader): Implemented. + (AccessibleJTable.setAccessibleColumnHeader): Implemented. + (AccessibleJTable.getAccessibleRowDescription): Implemented. + (AccessibleJTable.setAccessibleRowDescription): Implemented. + (AccessibleJTable.getAccessibleColumnDescription): Implemented. + (AccessibleJTable.setAccessibleColumnDescription): Implemented. + (AccessibleJTable.isAccessibleSelected): Implemented. + (AccessibleJTable.isAccessibleRowSelected): Implemented. + (AccessibleJTable.isAccessibleColumnSelected): Implemented. + (AccessibleJTable.getSelectedAccessibleRows): Implemented. + (AccessibleJTable.getSelectedAccessibleColumns): Implemented. + (getAccessibleContext): Register listeners for the accessibility + class on the JTable. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: + (setPaint): Scale +1 pixel larger. + +2006-06-01 Sven de Marothy <sven@physto.se> + + PR 27854 + * gnu/java/awt/Buffers.java (getData): Reimplement. + * gnu/java/awt/peer/gtk/CairoSurface.java + (getElem, setElem): Call native methods. + +2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Check for zero size. + * gnu/java/awt/peer/gtk/GdkTextLayout.java: + (setFont): Declare new native method. + (GdkTextLayout): Read some attributes. + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (setFont): New native method. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + (updateBufferedImage): Fix some errors. + +2006-06-01 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style + fixes, + * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise, + * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise, + * javax/swing/plaf/basic/BasicIconFactory.java: Likewise, + * javax/swing/plaf/basic/BasicListUI.java: Likewise, + * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise, + * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise, + * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise, + * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise, + * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise, + * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise. + +2006-06-01 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComboBox.java: Minor source code formatting fixes, + * javax/swing/JEditorPane.java: Likewise, + * javax/swing/JFormattedTextField.java: Likewise, + * javax/swing/JLayeredPane.java: Likewise, + * javax/swing/JScrollPane.java: Likewise, + * javax/swing/JSlider.java: Likewise, + * javax/swing/JSpinner.java: Likewise, + * javax/swing/JTree.java: Likewise, + * javax/swing/JViewport.java: Likewise, + * javax/swing/UIDefaults.java: Likewise, + * javax/swing/UIManager.java: Likewise. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + (BufferedImageGraphics): Cache surfaces. + (updateBufferedImage): Copy directly for certain color models. + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Reimplement. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (setPixels): Don't swap, correct size. + +2006-05-31 Anthony Green <green@redhat.com> + + PR 27828 + * java/net/InetSocketAddress.java: Defer getting the host + name until somebody calls InetSocketAddress.getHostName(). + Fix "represenation" typo. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + (updateBufferedImage): Simplify. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (getPixels): Don't swap. + +2006-06-01 Sven de Marothy <sven@physto.se> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (setGradient): Reimplement. + +2006-06-01 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function + CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function + CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout): + Likewise. + +2006-05-31 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/table/JTableHeader.java + (getColumnHeaderRenderer): New method, + (getAccessibleColumnHeaderRenderer): Delegate part to new + getColumnHeaderRenderer() method, + (getLocale): Implemented. + +2006-05-31 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (cp_gtk_grab_current_drawable): Rename + cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to + cp_gtk_grab_current_drawable, remove static declaration. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above + function. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c: + Remove prototype of + cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable. + (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename + function. + (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise. + * native/jni/gtk-peer/gtkpeer.h: Add prototype for + cp_gtk_grab_current_drawable here. + +2006-05-31 Sven de Marothy <sven@physto.se> + + Should fix PR 27835 + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + (updateBufferedImage): Keep within image bounds. + +2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com> + Andreas Tobler <a.tobler@schweiz.ch> + + * configure.ac: Check for libXrender when the GTK peers are + enabled, and set HAVE_XRENDER accordingly. Add -lXrender to + X_EXTRA_LIBS. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender) + [HAVE_XRENDER]: Call XRenderQueryExtension conditionally. + +2006-05-31 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicProgressBarUI.java + (paintString): Implemented to paint the string vertically. + +2006-05-31 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTable.java + (AccessibleJTable.AccessibleJTable()): Check for null editor, + (AccessibleJTable.getAccessibleRole()): Overridden to return correct + value, + (AccessibleJTable.getAccessibleTable()): Likewise, + (getAccessibleContext): Create new context if required. + +2006-05-31 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTabbedPane.java + (AccessibleJTabbedPane.stateChanged): Implemented. + (Page.getAccessibleStateSet): Implemented. + (Page.getAccessibleIndexInParent): Implemented. + (getAccessibleContext): Add AccessibleJTabbedPane object + as ChangeListener to the JTabbedPane. + +2006-05-31 Roman Kennke <kennke@aicas.com> + + * javax/swing/JMenuItem.java + (getAccessibleContext): Register accessible object as ChangeListener + to the JMenuItem. + (AccessibleJMenuItem.armed): New field. + (AccessibleJMenuItem.focusOwner): New field. + (AccessibleJMenuItem.pressed): New field. + (AccessibleJMenuItem.selected): New field. + (stateChanged): Implemented. + +2006-05-31 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/ListSelectionModel.java: Added API docs all over. + +2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/swing/FillRect.java + (paintComponent): Optionally paint lines rather than rectangles. + (createContent): Added option to test line painting. + +2006-05-31 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/event/EventListenerList.java + (getListenerList): Updated API docs. + +2006-05-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Clip scaled image to dest rectangle. + +2006-05-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoSurface.java: + (CairoSurface): Convert pixels properly. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + Remove commented-out lines. + +2006-05-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Use Toolkit to convert to BufferedImage. + * gnu/java/awt/peer/gtk/CairoSurface.java + (CairoSurface(GtkImage)): New Constructor. + (getBufferedImage): New method. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + Don't fill background - FIXME. + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: + Remove unused methods. + * gnu/java/awt/peer/gtk/GtkImage.java: + (pixbuflock): New field. Methods change to use this lock. + * gnu/java/awt/peer/gtk/GtkToolkit.java + (createImage): Use Cairo-backed surfaces via GtkImage instead of + GtkPixbufDecoder. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (setPixels): Correct length in bytes. + +2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call + System.loadLibrary unconditionally. + * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise. + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. + * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise. + * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. + +2006-05-30 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): + Mark unused parameters, remove unused variables. + +2006-05-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (copyArea): Implemented. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c: + (copyAreaNative): New method. + +2006-05-30 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only + for non big endian systems. + (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise. + +2006-05-30 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/TexturePaintContext.java: New file. + * java/awt/TexturePaint.java + (createContext): Implemented. + +2006-05-30 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/table/DefaultTableMode.java: Initialize dataVector + field early. + +2006-05-30 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/Container.java: + (removeAll): Reimplemented, added note. + +2006-05-30 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/Container.java: + (removeAll): Implemented different removal mechanism, added note. + +2006-05-30 Lillian Angel <langel@redhat.com> + + PR 27785 + * java/awt/Component.java: + (translateEvent): Added handling to translate WindowEvents + * java/awt/Window.java: + Removed unneeded imports. + +2006-05-30 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add + cairographics2d.h. + +2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc. + +2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (clearRect): Do not reuse the fg field, call updateColor. + (drawRaster): Likewise. + (setColor): Call updateColor. + (updateColor): New method. + +2006-05-30 Mark Wielaard <mark@klomp.org> + + * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro. + (PTR_TO_JLONG): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (getPointer): Use new conversion macros. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): + Likewise. + (setNativeObject): Likewise. + (getNativeObject): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable): + Mark static. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): + Correctly cast XID and pointer values. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): + Mark unused variables. + (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): + Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout): + Remove unused cairographics2d struct. + (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const. + (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer): + Use new conversion macros. + * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h. + +2006-05-30 Mark Wielaard <mark@klomp.org> + + * include/Makefile.am (gnu_java_nio_VMChannel.h): Added. + +2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (copy): Do not reuse the fd field. + (setColor): Do not set the color if the parameter + matches fd field. + (translate(double, double): Rewritten to use + AffineTransform.translate. + +2006-05-30 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java + * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c + New files. + * include/Makefile.am + * native/jni/gtk-peer/Makefile.am + Add new files. + * gnu/java/awt/peer/gtk/CairoSurface.java + (getSharedGtkImage): New method. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + Fix copyArea. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + Support a non-xrender context. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + Plug memory leak. + * gnu/java/awt/peer/gtk/GtkImage.java + * include/gnu_java_awt_peer_gtk_GtkImage.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (initFromBuffer): New method. + * native/jni/gtk-peer/gtkpeer.h: + Remove declarations of previouslyremoved methods. + +2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com> + + * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm. + +2006-05-29 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused + arguments. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size + early. Remove unused return statement in void function. + (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare + ptr early. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark + unused arguments. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing): + Likewise. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing): + Likewise. + +2006-05-29 Sven de Marothy <sven@physto.se> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (setPixels): Remove superfluous return statement. + +2006-05-29 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + * gnu/java/awt/peer/gtk/CairoSurface.java + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + * gnu/java/awt/peer/gtk/ComponentGraphics.java + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h + * include/gnu_java_awt_peer_gtk_CairoSurface.h + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h + * native/jni/gtk-peer/cairographics2d.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + New files. + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h + Removed + + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (releasePeerGraphicsResource): Moved to Font peer class. + + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java + (createGraphics): Use new context classes. + + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: + Use native BufferedImages where possible. + + * gnu/java/awt/peer/gtk/GdkTextLayout.java + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class, + renamed to cairoDrawGdkTextLayout. + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (getGraphics): Use ComponentGraphics context. + (createImage): Use native BufferedImage. + + * gnu/java/awt/peer/gtk/GtkImage.java: + * include/gnu_java_awt_peer_gtk_GtkImage.h + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + Remove pixmap support. (GtkImage(int, int) constructor, getGraphics) + Remove drawing methods. + + * gnu/java/awt/print/JavaPrinterGraphics.java: + Use CairoSurface instead of GtkImage. + + * include/Makefile.am + * native/jni/gtk-peer/Makefile.am + Update for new files. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c + Remove superfluous GtkImage code for GdkPixmaps. + + * native/jni/gtk-peer/gtkpeer.h + Remove graphics2d structure. + +2006-05-29 Mark Wielaard <mark@klomp.org> + + * java/io/ObjectStreamConstants.java: Removed double declaration + of SC_ENUM. + +2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor): + Do not reuse fg in the constructor. + +2006-05-29 Carsten Neumann <cn-develop@gmx.net> + + * java/io/ObjectStreamConstants.java: Added API docs. + +2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor): + Take no action if this color is already set. + +2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate): + Rewritten. + * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent): + Optionally paint with translation. (createContent): Added option + to test painting with translation + +2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au> + + * java/util/logging/FileHandler.java (FileHandler): Set the instance field + pattern to the default value when null. + Pass field pattern, and not parameter with same name to createFileStream. + +2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/lang/management/OperatingSystemMXBeanImpl.java: + New class implementing the OS bean. + * gnu/java/lang/management/package.html: + New file to document the gnu.java.lang.management package. + * java/lang/management/ManagementFactory.java: + New class to provide access to the OS bean. + * java/lang/management/OperatingSystemMXBean.java: + New interface. + * java/lang/management/package.html: + New file to document the java.lang.management package. + +2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant. + (JKS): Likewise. + (LIB): Likewise. + (SECURITY): Likewise. + (CACERTS): Likewise. + (CACERTS_GKR): Likewise. + (gkrCaCertsPathName): New field. + (jksCaCertsPathName): Likewise. + (selfSignedCertificate): Likewise. + (start): Initialize trusted certificate key stores if -trustcacerts is + specified. + (ensureReplyIsOurs): Initialize selfSignedCertificate. + (orderChain): Implemented. + (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted + certificate key stores if -trustcacerts option is specified. + (findTrustInCACerts): Removed. + (getCertPathParameters): New method. + (validate): New method. + * resource/gnu/classpath/tools/keytool/messages.properties: Added message. + +2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> + + * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant. + (PATTERN_KEY): Likewise. + (DEFAULT_PATTERN): Likewise. + (LIMIT_KEY): Likewise. + (DEFAULT_LIMIT): Likewise. + (COUNT_KEY): Likewise. + (DEFAULT_COUNT): Likewise. + (APPEND_KEY): Likewise. + (DEFAULT_APPEND): Likewise. + (FileHandler()): Use pattern value as set in logging.properties. + Use constants defined above. + (FileHandler(1)): Use constants defined above. + (FileHandler(2)): Likewise. + (FileHandler(3)): Likewise. + (FileHandler(4)): Likewise. + (createFileStream): Likewise. + +2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> + + * java/util/logging/FileHandler.java: Reverted previous patch. + * java/util/logging/LogManager.java: Likewise. + +2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au> + + * java/util/logging/FileHandler.java (PATTERN_KEY): New constant. + (DEFAULT_PATTERN): Likewise. + (FileHandler()): Use configured pattern property if any; otherwise use a + default value as per RI documentation. + * java/util/logging/LogManager.java (getStringProperty): New method. + +2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> + + * NEWS: Announce libjawtgnu.so-to-libjawt.so rename. + +2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> + + * configure.ac (FOUND_CACAO): New automake conditional. + Add --enable-tool-wrappers. + * NEWS: Introduce the --enable-tool-wrappers option. + * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries. + * tools/appletviewer.c: Remove file. Make tool-indepedent and + rename ... + * tools/toolwrapper.c: New file. + +2006-05-27 Dalibor Topic <robilad@kaffe.org> + + * java/awt/Graphics2D.java: Use full class name for + PrinterJob in javadoc. + +2006-05-27 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning. + (callMouseMethod): Likewise. + +2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * native/jni/java-net/java_net_VMURLConnection.c: + Fix function declarations to specify unused parameters. + * scripts/check_jni_methods.sh: + Remove copies of the same function using uniq. + +2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * vm/reference/java/net/VMURLConnection.java: + Make package-private and final. + +2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/swing/TableDemo.java + (TModed): Added editor for the icons column. + (createContent): Increase the row height by 2 px. + +2006-05-26 Tom Tromey <tromey@redhat.com> + + PR classpath/27685: + * java/math/BigInteger.java (modPow): Correctly handle negative + exponent. + +2006-05-26 Tom Tromey <tromey@redhat.com> + + * configure.ac: Check for magic.h and -lmagic. + * vm/reference/java/net/VMURLConnection.java: New file. + * include/java_net_VMURLConnection.h: New file. + * include/Makefile.am (H_FILES): Add VMURLConnection.h. + ($(top_srcdir)/include/java_net_VMURLConnection.h): New target. + * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES): + Mention new file. + (libjavanet_la_LIBADD): Add $(LIBMAGIC). + * native/jni/java-net/java_net_VMURLConnection.c: New file. + +2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> + + * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing. + +2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename + libjawtgnu.la libjawt.la. + +2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove + gtkcairopeer.h. + +2006-05-25 Lillian Angel <langel@redhat.com> + + PR 26174 + * java/awt/Window.java + (Window): Moved code to helper. + (addWindowFocusListener): New function. Handles focus + listener code. Added code to handle focus lost/gained + from the window. + +2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * configure.ac: + Make pkg-config check for GTK+ >= 2.8. + +2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (flush): Remove debugging printfs. + +2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (schedule_flush): New function. + (end_drawing_operation): Call schedule_flush. + +2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> + + * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect + paint performance demo. + * examples/gnu/classpath/examples/swing/FillRect.java: New file. + +2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> + + * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention + Cairo version requirement. Do not mention --enable-gtk-cairo + configure option. + * NEWS: Add entry for GdkGraphics2D. + * configure.ac: Remove --enable-gtk-cairo and explicit checks for + Cairo library and headers. + * .externalToolBuilders/Configure.launch: Remove + --enable-gtk-cairo from configure line. + * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove + field. + * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo. + * gnu/java/awt/peer/gtk/GdkFontPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove + useGraphics2D references. Always assume Graphics2D is enabled. + * gnu/java/awt/peer/gtk/GdkGraphics.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove. + * gnu/java/awt/peer/gtk/GdkGraphics2D.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove + Unlocked method variants. Remove GTK_CAIRO_ENABLED and + useGraphics2D references. Always assume Graphics2D is enabled. + * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof + Graphics2D check. Always assume Graphics2D is enabled. + * gnu/java/awt/peer/gtk/GtkCanvasPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c + (realize): Remove method. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (isRealized): Remove method. + (realize): Implement as a native method. Remove useGraphics2D + references. Always assume Graphics2D is enabled. + * gnu/java/awt/peer/gtk/GtkImage.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace + GdkGraphics references with GdkGraphics2D references. + * gnu/java/awt/peer/gtk/GtkToolkit.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove + useGraphics2D references. Always assume Graphics2D is enabled. + * include/Makefile.am (GTKPEER_H_FILES): Remove + gnu_java_awt_peer_gtk_GdkGraphics.h. + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate. + * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove. + * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate. + * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise. + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise. + * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS. + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove + gnu_java_awt_peer_gtk_GdkGraphics.c. Include + gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally. + (AM_LDFLAGS): Remove CAIRO_LIBS. + (AM_CFLAGS): Remove CAIRO_CFLAGS. + * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations + to ... + * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations. + +2006-05-25 Lillian Angel <langel@redhat.com> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked): + Added check to prevent assertion error. If widget->window is null, then + use the parent widget's window to set the cursor on. + +2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction): + Implemented. + +2006-05-24 Lillian Angel <langel@redhat.com> + + * tools/gnu/classpath/tools/appletviewer/AppletTag.java + (prependCodeBase): Added check to determine if the documentbase + points to a directory or a file. + +2006-05-24 Sven de Marothy <sven@physto.se> + + * java/awt/dnd/DragGestureRecognizer.java + (resetRecognizer): Implement. + (fireDragGestureRecognized): Implement. + +2006-05-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and + fixed source code formatting. + +2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JTable.java (valueChanged): If is editing, stop editing. + +2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + Reported by Antony Balkisson. + * javax/swing/JTable.java (selectAll): Return without action + if the table is empty. + +2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/swing/TableDemo.java: + (SliderCell): New inner class. (setCustomEditors, + setInformativeHeaders): New fields. (createContent): + Rewritten. + * javax/swing/DefaultCellEditor.java + (JComboBoxDelegate.shouldSelectCell): New method. + * javax/swing/JTable.java (editCellAt): Call shouldSelectCell. + * javax/swing/plaf/basic/BasicTableUI.java + (MouseInputHandler.mouseClicked): Start editing on a single + click if the cell editor is not a default cell editor. + +2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/naming/CompositeName.java, + javax/swing/naming/CompoundName.java: + Documented. + +2006-05-23 Archie Cobbs <archie@dellroad.org> + + * vm/reference/java/lang/VMClassLoader.java: fix static initializer + ordering problem. + +2006-05-23 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes, + * javax/swing/tree/DefaultMutableTreeNode.java: Likewise, + * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise, + * javax/swing/tree/DefaultTreeModel.java: Likewise, + * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise, + * javax/swing/tree/ExpandVetoException.java: Likewise, + * javax/swing/tree/FixedHeightLayoutCache.java: Likewise, + * javax/swing/tree/RowMapper.java: Likewise, + * javax/swing/tree/TreeNode.java: Likewise, + * javax/swing/tree/TreeSelectionModel.java: Likewise, + * javax/swing/tree/VariableHeightLayoutCache.java: Likewise. + +2006-05-23 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/tree/DefaultTreeCellRenderer.java + (DefaultTreeCellRenderer): Changed key for + setBackgroundNonSelectionColor(), + plus API docs all over. + +2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27680 + * javax/swing/JTable.java (booleanInvertingEditor): New field. + (defaultEditorsByColumnClass, defaultRenderersByColumnClass): + Initialise in constructor. (columnMoved): Cancel editing. + (createDefaultEditors): Rewritten. (editCellAt): + Just invert the value if this is a boolean cell. + (initialiseLocalVars): Do not initialise renderer and editor tables. + (setUI): Create editors and renderers here. + +2006-05-23 Robert Schuster <robertschuster@fsfe.org> + + * examples/gnu/classpath/examples/awt/Demo.java: + (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow + instance as subframe. + (ResolutionWindow): New inner class. + (FullscreenWindow): New inner class. + +2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27680 + * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer): + Set horizontal alignment to centered. + +2006-05-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/accessibility/AccessibleContext.java + (getAccessibleComponent): Fixed typo in docs, + * javax/swing/JLabel.java: + (AccessibleJLabel.getAccessibleName): Check for explicit + accessibleName, + * javax/swing/JTableHeader.java + (AccessibleJTableHeaderEntry.columnIndex): New field, + (AccessibleJTableHeaderEntry.parent): New field, + (AccessibleJTableHeaderEntry.table): New field, + (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): + Implemented, + (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New + utility method, + (AccessibleJTableHeaderEntry.addFocusListener): Implemented, + (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented, + (AccessibleJTableHeaderEntry.contains): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleName): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleText): Implemented, + (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented, + (AccessibleJTableHeaderEntry.getBackground): Implemented, + (AccessibleJTableHeaderEntry.getBounds): Implemented, + (AccessibleJTableHeaderEntry.getCursor): Implemented, + (AccessibleJTableHeaderEntry.getFont): Implemented, + (AccessibleJTableHeaderEntry.getFontMetrics): Implemented, + (AccessibleJTableHeaderEntry.getForeground): Implemented, + (AccessibleJTableHeaderEntry.getLocation): Implemented, + (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented, + (AccessibleJTableHeaderEntry.getSize): Implemented, + (AccessibleJTableHeaderEntry.isEnabled): Implemented, + (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented, + (AccessibleJTableHeaderEntry.isShowing): Implemented, + (AccessibleJTableHeaderEntry.isVisible): Implemented, + (AccessibleJTableHeaderEntry.removeFocusListener): Implemented, + (AccessibleJTableHeaderEntry.removePropertyChangeListener): + Implemented, + (AccessibleJTableHeaderEntry.requestFocus): Implemented, + (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented, + (AccessibleJTableHeaderEntry.setAccessibleName): Implemented, + (AccessibleJTableHeaderEntry.setBackground): Implemented, + (AccessibleJTableHeaderEntry.setBounds): Implemented, + (AccessibleJTableHeaderEntry.setCursor): Implemented, + (AccessibleJTableHeaderEntry.setEnabled): Implemented, + (AccessibleJTableHeaderEntry.setFont): Implemented, + (AccessibleJTableHeaderEntry.setForeground): Implemented, + (AccessibleJTableHeaderEntry.setLocation): Implemented, + (AccessibleJTableHeaderEntry.setSize): Implemented, + (AccessibleJTableHeaderEntry.setVisible): Implemented, + (AccessibleJTableHeader.getAccessibleRole): Implemented, + (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented, + (AccessibleJTableHeader.getAccessibleChild): Implemented, + (AccessibleJTableHeader.getAccessibleAt): Implemented. + +2006-05-22 Tom Tromey <tromey@redhat.com> + + * NEWS: Updated. + +2006-05-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java + (AccessibleJLabel.getAccessibleName): New method (override), + (setLabelFor): Fire 'labelFor' property change event before other + events. + +2006-05-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java + (AccessibleJLabel.getAccessibleRole): New method (override). + +2006-05-22 Tom Tromey <tromey@redhat.com> + + * resource/gnu/classpath/tools/serialver/messages.properties: New + file. + * tools/gnu/classpath/tools/serialver/Messages.java: New file. + * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New + field. + (classpath): Likewise. + (run): New method. + (main): Use it. + (addFileURL): New method. + (getClassLoader): Likewise. + (printMessage): Likewise. + +2006-05-22 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/serialver/SerialVer.java: New file. + +2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JTable.java (doLayout): In the column + resize mode, only repaing the changed part of the table. + (getLeftResizingBoundary): New method. + +2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/spi/InitialContextFactory.java, + javax/naming/spi/InitialContextFactoryBuilder.java, + javax/naming/spi/NamingManager.java, + javax/naming/spi/ObjectFactory.java, + javax/naming/spi/ResolveResult.java, + javax/naming/spi/Resolver.java, + javax/naming/spi/StateFactory.java: Documented. + +2006-05-21 Tom Tromey <tromey@redhat.com> + + PR classpath/27688: + * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now + a WorkSet. + (initSet): Removed. + (shouldExtract): Removed. + (run): Updated. + * tools/gnu/classpath/tools/jar/WorkSet.java: New file. + * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New + method. + (listJar): Use it. + (allItems): New field. + (run): Initialize it. + (listJar): Use it. + +2006-05-22 Sven de Marothy <sven@physto.se> + + * java/nio/CharBuffer.java + (wrap): Fix bounds checking. + +2004-08-26 Tom Tromey <tromey@redhat.com> + + * java/io/OutputStream.java + (OutputStream): Implements Closeable, Flushable. + +2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/io/ObjectOutputStream.java: + (writeObject(Object)): Added enum support. + (writeClassDescriptor(ObjectStreamClass)): Likewise. + * java/io/ObjectStreamClass.java: + (isEnum()): New package-private method. + (setFlags(Class)): Added enum support. + * java/io/ObjectStreamConstants.java: + (SC_ENUM): Added. + +2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/io/ObjectInputStream.java: + (parseContent(byte)): Added enum support. + * java/io/ObjectStreamConstants.java: + (TC_ENUM): Added. + (TC_MAX): Changed to new maximum, TC_ENUM. + +2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/beans/beancontext/BeanContextSupport.java: + (instantiateChild(String)): Implemented. + +2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/beans/beancontext/BeanContextSupport.java: + (add(Object)): Add further documentation. + (isEmpty()): Documented. + (propertyChange(PropertyChangeEvent)): Implemented. + (remove(Object)): Documented. + (remove(Object,boolean)): Documented and implemented. + (vetoableChange(PropertyChangeEvent)): Marked as + implemented (only subclasses appear to need this). + +2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/beans/beancontext/BeanContextSupport.java: + (add(Object)): Implement support for the child being + a BeanContextChild. + (avoidingGui()): Implemented. + (dontUseGui()): Likewise. + (needsGui()): Likewise. + (okToUseGui()): Likewise. + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/Context.java, + javax/naming/ContextNotEmptyException.java, + javax/naming/Reference.java: Documented. + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/MinimalHTMLWriter.java + (writeComponent, writeImage): Declare that the method + may throw the IOException. + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 26972 + * javax/naming/InitialContext.java (colon_list): Changed type to + hashset. (use_properties): New field. (init(Hashtable)): Rewritten. + (merge): Rewritten. + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/InitialContext.java: Documented. + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/NameParser.java, + javax/naming/NamingEnumeration.java, + javax/naming/PartialResultException.java, + javax/naming/SizeLimitExceededException.java, + javax/naming/spi/ObjectFactory.java, + javax/naming/spi/ObjectFactoryBuilder.java: Documented. + +2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/java/net/loader/JarURLLoader.java: + Use Map.Entry instead of LinkedHashMap.Entry + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/Context.java: Documented. + +2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/Referenceable.java: Documented. + * javax/naming/spi/NamingManager.java: Documented. + +2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au> + + * doc/tools.texinfo: Replaced references to MessageBundle.properties + to messages.properties. + * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties: + Renamed to messages.properties. + * resource/gnu/classpath/tools/keytool/MessageBundle.properties: + Likewise. + * resource/gnu/classpath/tools/jarsigner/messages.properties: + Renamed from MessageBundle.properties. + Added copyright notice. + * resource/gnu/classpath/tools/keytool/messages.properties: + Likewise. + * tools/gnu/classpath/tools/jarsigner/Messages.java + (BUNDLE_NAME): Use messages instead of MessageBundle properties file. + (getFormattedString): Fixed a spelling mistake. + * tools/gnu/classpath/tools/keytool/Messages.java: Likewise. + +2006-05-20 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/font/opentype/NameDecoder.java + Made class public. + (getName): Use getShort instead of getChar(), fix PS name. + (decodeName): New method. + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (getSubFamilyName): Implement. + (getPostScriptName): Use the NameDecoder class instead. + (parsePSName): Removed. + (getName): Added + +2006-05-20 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (getTrueTypeTable): New native method. + (getPostScriptName): Reimplement. + (parsePSName): New method. + (getNumGlyphs): Implement. + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable): + New function. File is now explicitly dependent on FT2. + +2006-05-20 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/native2ascii/Messages.java: New file. + * resource/gnu/classpath/tools/native2ascii/messages.properties: New + file. + * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java + (HandleFile): New class. + (input, output, encoding, reversed): New fields. + (createParser): New method. + (run): Likewise. + (main): Use 'run'. + * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java + (notifyFile): Throws OptionException. + +2006-05-20 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file, + from cp-tools. + +2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * native/jni/java-nio/gnu_java_nio_VMChannel.c: + (JCL_print_buffer): Fix to work with -Werror on 64-bit + platforms. + +2006-05-20 Sven de Marothy <sven@physto.se> + + * java/awt/Font.java (getNumGlyphs): Call correct peer method. + +2006-05-20 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/print/JavaPrinterJob.java + (print): Use PostScriptGraphics2D. + * gnu/java/awt/print/PostScriptGraphics2D.java: New file. + +2006-05-20 Sven de Marothy <sven@physto.se> + + * javax/swing/text/html/MinimalHTMLWriter.java: New file + +2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/java/security/OID.java: Updated copyright year. + (OID): Removed unused Javadoc param tag. + * gnu/java/security/prng/PRNGFactory.java: Removed unused import. + * gnu/java/security/hash/MD4.java: Fixed a Javadoc link. + +2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases): + Formatting. + Added trace/debug statements. + (engineSetCertificateEntry): Ensure alias is not already used for a Key + Entry. Also ensure that any previous entry for this alias is removed + before a new one is added. + (engineGetKey): Do not trace/log passwords. + Trace key's class name only. + (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted + Certificate Entry. Also ensure that previous entry for this alias is + removed before a new one is added. + (engineLoad): Do not trace/log passwords. + (engineStore): Likewise. + (engineSize): Use size of enumeration instead of collection size. + +2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting. + (toString): New method. + * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt): + Do not trace/log passwords. + Set masked to false before decoding envelope. + Do not set payload to null. + (encrypt): Set masked to true. + * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify): + Do not trace/log passwords. + Set masked to false before decoding envelope. + Do not set payload to null. + Added trace/debug statements. + (authenticate): Do not trace/log passwords. + Set masked to true. + Added trace/debug statements. + (getMac): Added trace/debug statements. + * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java + (remove(String)): Changed the signature to return a boolean. + (toString): New method. + * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate): + Formatting + (getCertificate): Likewise. + (putCertificate): Likewise. + (load): Likewise. + Do not trace/log passwords. + (store): Likewise. + * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey): + Do not trace/log passwords. + Added more trace/logging statements. + (putPrivateKey): Do not trace/log passwords. + Trace only key's class name. + Formatting. + (containsPublicKey): Formatting. + (getPublicKey): Likewise. + Trace only key's class name. + (putPublicKey): Trace only key's class name. + (containsCertPath): Formatting. + (getCertPath): Likewise. + (putCertPath): Likewise. + (load): Do not trace/log passwords. + Formatting. + (store): Likewise. + * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field. + (add): Do not set payload to null. + Added trace/debug statements. + (containsAlias): Added trace/debug statements. + (get): Likewise. + (remove(Entry)): Likewise. + (remove(String)): Likewise. + Changed the signature to return a boolean. + Do not set payload to null unless really removed. + (toString): New method. + (decodeEnvelope): Clear entries before proceeding. + (makeAliasList): Added trace/debug statements. + Ensure only non-null aliases and alias-lists are added. + * gnu/javax/crypto/keyring/Entry.java (log): New field. + (TYPES): New constant. + (toString): New method. + (defaultDecode): Add trace/debug statement. + +2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc): + Increased visibility. + (setup): Do not trace/log passwords. + (parsed): Was not setting correct (rfc) field; fixed. + (print1Chain): Formatting. + * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup): + Do not trace/log passwords. + * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise. + (orderChain): Added FIXME. + * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup): + Do not trace/log passwords. + Removed commented out code. + * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise. + * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting. + (setKeystoreURLParam): Likewise. + (setKeystorePasswordParam): Do not trace/log passwords. + (saveKeyStore): Likewise. + +2006-05-19 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java + Added class docs. + (pixel): Removed obsolete field. + (draw(Shape)): Removed commented out code. + (drawImage): Formatting. + (drawString): Added optimization hook. + (setPaint): Removed rawSetForeground(). + (getFontRenderContext): Return context with correct transform. + (drawGlyphVector): Draw complete outline in one go. + (copyArea): Added optimization hook. + (clearRect): Added optimization hook. + (drawImage): Added optimization hook. + (fillShape): (Temporarily) Set antialiasing off by default for + font rendering. Adjust the shape by some bits to improve rendering. + Pass clip bounds to the render methods. + (drawPixel): Removed. + (rawSetPixel): Removed. + (rawSetForeground): Removed. + (rawDrawLine): Default impl calls standard pipeline. + (rawDrawString): New method, calls standard pipeline for rendering. + (rawClearRect): New method, calls standard pipeline for rendering. + (rawFillRect): New method, calls standard pipeline for rendering. + (rawDrawImage): New method, calls standard pipeline for rendering. + (rawCopyArea): New method. + (copyAreaImpl): New method. + (rawFillShape): Renamed to fillShapeImpl(). Small optimization + for rendering. + (fillShapeAntialias): Fixed AA rendering. + (fillScanlineAA): Fixed AA rendering. + (getSegments): Take offset into account. + +2006-05-19 Sven de Marothy <sven@physto.se> + + * javax/swing/text/AbstractWriter.java + (getText): Fix parameters (start, length) not (start, end). + +2006-05-19 Tom Tromey <tromey@redhat.com> + + PR classpath/27444: + * gnu/java/net/loader/URLLoader.java (getClassPath): Documented. + Changed return type. + * java/net/URLClassLoader.java (urlloaders): Removed. + (addURLImpl): Updated. + * gnu/java/net/loader/JarURLLoader.java (initialized): New field. + (indexSet): Likewise. + (classPath): Changed type. + (JarURLLoader): New constructor. + (initialize): New method. + (getResource): Use index set if it exists. + (getClassPath): Updated. + * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE. + (prefixes): New field. + (headers): Removed. + (IndexListParser): Fill in prefixes. + (clearAll): Clear prefixes. + (getHeaders): Changed return type. + +2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTableHeaderUI.java + (MouseInputHandler.mouseExitted): No nothing there. + (MouseInputHandler.endDragging): Move column to the + first/last position if released outside the horizontal + table range. + +2006-05-19 Lillian Angel <langel@redhat.com> + + * java/awt/font/GlyphVector.java + (getGlyphCharIndex): Implemented. + (getGlyphCharIndices): Implemented. + (getGlyphOutline): Implemented. + (getGlyphVisualBounds): Implemented. + (getGlyphVisualBounds): Implemented. + (getPixelBounds): Implemented. + (getLayoutFlags): Implemented. + +2006-05-19 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/LightweightDispatcher.java: Added field dragButton and + documentation for it. + (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement, + added subexpression to if-clause in MOUSE_RELEASED case. + +2006-05-19 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/metal/MetalButtonUI.java: + (update): Removed some subexpression from if-clause and call + updateWithGradient. + (updateWithGradient): New method. + +2006-05-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (findOverlapFreeParent): Implemented algorithm for finding + overlapping in component hierarchy. + +2006-05-19 Jeroen Frijters <jeroen@frijters.net> + + * java/lang/Thread.java + (contextClassLoaderIsSystemClassLoader): New field. + (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName. + (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName + and set contextClassLoaderIsSystemClassLoader. + (Thread(ThreadGroup,Runnable,String,long)): + Set contextClassLoaderIsSystemClassLoader. + (createAnonymousThreadName): New method. + (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader + and fixed security check. + (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader. + +2006-05-19 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicToolBarUI.java: + (createNonRolloverBorder): Rewritten. + (createRolloverBorder): Rewritten. + (setToNonRolloverBorder): Store old border instance in hashtable. + (setToRolloverBorder): Store old border instance in hashtable, use + AbstractButton instead of JButton in statements. + (setBorderToNormal): Rewritten. + * javax/swing/plaf/metal/MetalLookAndFeel.java: + (initComponentDefaults): Added values for ToolBar.rolloverBorder and + ToolBar.nonrolloverBorder. + +2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/stream/ImageInputStreamImpl.java: Complete. + * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise. + +2006-05-18 Lillian Angel <langel@redhat.com> + + * java/awt/font/GlyphMetrics.java + (getLSB): Implemented. + (getRSB): Implemented. + +2006-05-18 Lillian Angel <langel@redhat.com> + + * java/awt/font/GraphicAttribute.java: + Documented entire class. + (GraphicAttribute): Added check for alignment. + (getBounds): Implemented. + (getJustificationInfo): Implemented. + +2006-05-18 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/LightweightDispatcher.java: + (handleMouseEvent): Added note, added subexpression to if-statement. + +2006-05-18 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/plaf/basic/BasicToolBarUI.java: + (navigateFocusedComp): Marked as stub. + (createRolloverBorder): Create a different Border instance, added note. + * javax/swing/plaf/metal/MetalBorders.java: + (ButtonBorder): Added documentation. + (ButtonBorder.paintDefaultButtonBorder): Added else-block. + (ButtonBorder.paintOceanButtonBorder): Added else-block, added + subexpression into if-else cascade, added note. + +2006-05-18 Lillian Angel <langel@redhat.com> + + * java/awt/font/ShapeGraphicAttribute.java: + Documented entire class. + (ShapeGraphicAttribute): Initialized bounds field. + (draw): Implemented. + (equals): Implemented. + (getAdvance): Implemented. + (getAscent): Implemented. + (getBounds): Implemented. + (getDescent): Implemented. + (hashCode): Implemented. + +2006-05-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/CellRendererPane.java + (CellRendererPane): Set CellRendererPane to invisible. + +2006-05-18 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/GdkGraphics.java + (clipRect): Removed old intersection statement. + +2006-05-18 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/GdkGraphics.java + (clipRect): Don't use Rectangle.intersection() to avoid creating + 2 unnecessary Rectangle instances and fix a clipping problem. + (computeIntersection): New helper method, adapted from SwingUtilities. + +2006-05-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (isCompletelyDirty): Removed. + (paint): Don't mark children as clean, this is no longer necessary. + (findOverlapFreeParent): Don't stop at Viewports, this breaks + painting when something overlaps the viewport (like a popup/menu). + * javax/swing/RepaintManager.java + (currentRepaintManagers): Made package private to avoid accessor + methods. + (dirtyComponents): Made private. + (dirtyComponentsWork): Made private. + (markCompletelyDirty): Fixed bounds of dirtyrect to be + component-local not parent-local. Do not set flag in JComponent. + (markCompletelyClean): Don't set JComponent flag. + (isCompletelyDirty): Rewritten to return true when the complete + component is marked dirty. + (paintDirtyRegions): Improved parent-merging so that the merged-in + components don't get painted too. 'Outsourced' the compilation + of the repaint root components. + (compileRepaintRoots): New helper method. + +2006-05-18 Roman Kennke <kennke@aicas.com> + + PR 26368 + * javax/swing/text/GapContent.java + (GapContentPosition(int)): Use adapted binarySearch method to + allow for having a greater array than number of entries. + (numMarks): New field, holds the end of the marks list. + (GapContent): Initialize positionMarks with size of 10 instead of 0. + (shiftGapStartDown): Adjusted for new setPositionsInRange signature. + (shiftGapEndUp): Adjusted for new setPositionsInRange signature. + (setPositionsInRange): Changed signature to narrow the purpose and + special cases inside. Reimplemented to crunch together equal marks. + (adjustPositionsInRange): Added assertion to make sure we do + not accidentally change the order of the mark. Added some debug + output for a special case of which I don't know if it even exists. + (resetMarksAtZero): Made impl simpler. + (dumpMarks): New debug helper method. + (insertMark): Grow array in bigger chunks to avoid excessive copying. + (binarySearch): New method. An adaption of Arrays.binarySearch() + that allows for an maxIndex parameter. + +2006-05-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/KeyboardManager.java + (topLevelLookup): Use WeakHashMap to avoid memory leak. + +2006-05-18 Jeroen Frijters <jeroen@frijters.net> + + * gnu/java/net/loader/JarURLLoader.java + (JarURLLoader): Use a slightly more efficient URL constructor. + +2006-05-18 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/java/awt/print/JavaPrinterGraphics.java + (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop, + (drawImage(Image, int, int, ImageObserver)): Likewise, + (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise, + (drawImage(Image, int, int, int, int, ImageObserver)): Likewise, + (drawImage(Image, int, int, int, int, int, int, int, int, Color, + ImageObserver)): Likewise, + (drawImage(Image, int, int, int, int, int, int, int, int, + ImageObserver)): Likewise. + +2006-05-17 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a + LinkedHashSet. + +2006-05-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/border/AbstractBorder.java: Source code formatting fixes, + * javax/swing/border/BevelBorder.java: Likewise, + * javax/swing/border/CompoundBorder.java: Likewise, + * javax/swing/border/TitledBorder.java: Likewise. + +2006-05-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/table/AbstractTableModel.java: Formatting fixes, + * javax/swing/table/DefaultTableModel.java: Likewise, + * javax/swing/table/TableCellEditor.java: Likewise, + * javax/swing/table/TableCellRenderer.java: Likewise. + +2006-05-17 Lillian Angel <langel@redhat.com> + + * java/awt/font/ImageGraphicAttribute.java: + Documented entire class. + (ImageGraphicAttribute): Changed to call this. + (ImageGraphicAttribute): Implemented. + (draw): Implemented. + (equals): Implemented. + (getAdvance): Implemented. + (getAscent): Implemented. + (getBounds): Implemented. + (getDescent): Implemented. + (hashCode): Implemented. + * javax/swing/text/html/HTMLDocument.java + (create): Removed. Sufficent enough for + super to be called. + (insert): Likewise. + (insertUpdate): Likewise. + (processHTMLFrameHyperlinkEvent): Marked as stub. + (start): Removed FIXME. + (end): Likewise. + (start): Called super. + (end): Called super. + (getElement): removed unneeded code. + (setParagraphAttribute): Removed. Sufficent enough + for super to be called. + (fireChangedUpdate): Likewise. + (fireUndoableEditUpdate): Likewise. + +2006-05-17 Lillian Angel <langel@redhat.com> + + * java/awt/TexturePaint.java: + Added documentation for class and all functions. + (getTransparency): Implemented. + +2006-05-17 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + (findTarget): Translate point to child components. + +2006-05-17 Roman Kennke <kennke@aicas.com> + + PR 26368 + * javax/swing/text/GapContent.java + (GapContentPosition): Do no more implement Comparable. + (GapContentPosition.mark): Removed field. + (GapContentPosition.index): New field to hold the index into + the positions array. + (GapContentPosition(int)): Rewritten to use the new indirection + to the positions array. + (GapContentPosition.compareTo): Removed. + (GapContentPosition.getOffset): Synchronized. Fetch mark from + positionMarks array. + (WeakPositionComparator): Removed obsolete class. + (positions): Changed type to WeakHashMap. + (positionMarks): New field, holds the marks of the positions. + (GapContent): Initialize new fields. + (createPosition): Rewritten to use the new indirection + to the positions array. + (getPositionsInRange): Rewritten to use the new indirection + to the positions array. + (setPositionsInRange): Rewritten to use the new indirection + to the positions array. + (adjustPositionsInRange): Rewritten to use the new indirection + to the positions array. + (insertMark): New helper method. + (clearPositionReferences): Removed obsolete methods. + +2006-05-17 Lillian Angel <langel@redhat.com> + + * java/awt/GraphicsConfiguration.java + (getImageCapabilities): Implemented. + (getBufferCapabilities): Implemented. + +2006-05-17 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (focusGained): Implemented. + (focusLost): Implemented. + (paint): Added code to paint the focus. + * javax/swing/plaf/metal/MetalSliderUI.java + (paintThumb): Added code to set the thumbColor. + (paintFocus): Implemented properly. + +2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27383 + * javax/naming/spi/NamingManager.java (getURLContext): + Always search for the factory class in all possible places + and use VMStackWalker. + (forName): New method. + +2006-05-17 Roman Kennke <kennke@aicas.com> + + * java/awt/LightweightDispatcher.java + (handleMouseEvent): Fixed search algorithm for finding the + mouse event target. + (findTarget): Fixed search algorithm for finding the + mouse event target. + +2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/naming/spi/NamingManager.java: Documented. + +2006-05-17 Mark Wielaard <mark@klomp.org> + + * THANKYOU: Add Trevor Linton <tlinton@xmission.com>. + * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright. + * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise. + * gnu/javax/imageio/jpeg/ZigZag.java: Likewise. + +2006-05-17 Robert Schuster <robertschuster@fsfe.org> + + Fixes PR 26947. + * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright + year. + (BorderListener.mouseClicked): Detect double-clicks in title pane, + copied code from + BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed(). + +2006-05-17 Robert Schuster <robertschuster@fsfe.org> + + Fixes PR 27626. + * java/awt/LightweightDispatcher.java: + (handleMouseEvent): Moved assignment into switch-block, added notes. + +2006-05-16 Lillian Angel <langel@redhat.com> + + * javax/swing/text/StyleContext.java: + Changed staticAttributeKeys to be a Hashtable. + (getStaticAttribute): Implemented. + (getStaticAttributeKey): Implemented. + (readAttributeSet): Implemented. + (writeAttributeSet): Added FIXME. Not sure how + to implement this. + (readAttributes): Implemented. + (writeAttributes): Implemented. + (registerStaticAttibuteKey): Fixed to add key to + the hash table. + +2006-05-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultButtonModel.java + (setGroup): Removed event notification. + +2006-05-16 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installKeyboardActions): Implemented. + (uninstallKeyboardActions): Implemented. + * javax/swing/plaf/basic/BasicComboPopup.java + (uninstallKeyboardActions): Removed FIXME. Nothing + to be done here. + (installKeyboardActions): Likewise. + * javax/swing/plaf/basic/BasicTextUI.java + (uninstallKeyboardActions): Implemented. + * javax/swing/plaf/basic/BasicTreeUI.java: + Added field for hashColor. + Marked stub methods. + (getHashColor): Implemented to use field. + (setHashColor): Likewise. + (getRowX): Implemented. + (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX. + +2006-05-16 Roman Kennke <kennke@aicas.com> + + PR 26521 + * javax/swing/JTable.java + (rowHeights): New field. + (initializeLocalVars): Call setRowHeigt instead of rowHeight=, + in order to initialize rowHeights correctly. + (tableChanged): Nullify rowHeights when model changes. Only + create default columns from model when corresponding property + is set. Sync table model with rowHeights as appropriate. + (valueChanged): Call repaint with the correct rectangle. + (rowAtPoint): Handle rowHeights. + (getCellRect): Mostly rewritten. Check for boundaries + of model and return (0,0,0,0) or (0,0,width,height) when outside. + Handle component orientation. Round correctly. + (getRowHeight(int)): Implemented for variable row height. + (setRowHeight(int,int)): Implemented for variable row height. + (setRowHeight(int)): Nullify rowHeights. + (setModel): Notify tableChanged(). + * javax/swing/plaf/basic/BasicTableUI.java + (installDefaults): Create rendererPane in installUI. + (installUI): Create and install rendererPane. + (uninstallUI): Uninstall rendererPane and nullify rendererPane + and table. + (paint): Correctly handle rowMargin. + +2006-05-16 Tom Tromey <tromey@redhat.com> + + PR classpath/27563: + * java/text/NumberFormat.java (getIntegerInstance): Use + "integerFormat", not "numberFormat". + +2006-05-16 Lillian Angel <langel@redhat.com> + + * javax/swing/JPopupMenu.java + (addMenuKeyListener): Implemented. + (removeMenuKeyListener): Implemented. + (getMenuKeyListeners): Implemented. + * javax/swing/ProgressMonitor.java: + Added new protected field. + (getAccessibleContext): Implemented. + +2006-05-16 Lillian Angel <langel@redhat.com> + + * javax/swing/JFileChooser.java: + Added new private field. + (setDragEnabled): Implemented. + (getDragEnabled): Implemented. + +2006-05-16 Lillian Angel <langel@redhat.com> + + * java/awt/Window.java + (applyResourceBundle): Implemented. + +2006-05-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultButtonModel.java + (setSelected): If new SELECTED state is false, clear ARMED and PRESSED + states also. + +2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JList.java (getSelectedValues): + Ask the value for the indexed array element. + +2006-05-16 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (valueChanged): Also repaint when table has only 1 row. Fixed + repaint rectangle to span the entire changed rows. + +2006-05-16 Roman Kennke <kennke@aicas.com> + + PR 24031 + * javax/swing/JOptionPane.java + (startModal): Rewritten. The events are now dispatched, even + when the event dispatch thread gets blocked by the call + to this method. Also, mouse events get intercepted outside the + internal frame. + +2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (BorderListener.mouseDragged):Do not set cursor + if the frame is being dragged. + +2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (BorderListener): Rewritten. (InternalFrameBorder): + Made package private. + (InternalFrameBorder.offset): + Renamed to cornerSize, made package private. + (bSize): Made package private. + +2006-05-16 Roman Kennke <kennke@aicas.com> + + * javax/swing/JMenu.java + (AccessibleJMenu.getAccessibleChildrenCount): Implemented. + (AccessibleJMenu.getAccessibleChild): Implemented. + (AccessibleJMenu.getAccessibleSelection): Implemented. + (AccessibleJMenu.getAccessibleSelection(int)): Implemented. + (AccessibleJMenu.isAccessibleChildSelected): Implemented. + (AccessibleJMenu.getAccessibleRole): Documented. + (AccessibleJMenu.getAccessibleSelectionCount): Implemented. + (AccessibleJMenu.addAccessibleSelection): Implemented. + (AccessibleJMenu.removeAccessibleSelection): Implemented. + (AccessibleJMenu.clearAccessibleSelection): Implemented. + (AccessibleJMenu.selectAllAccessibleSelection): Implemented. + (createPath): New helper method. + +2006-05-15 Tom Tromey <tromey@redhat.com> + + * java/net/URLClassLoader.java: Moved inner classes to + gnu.java.net.loader. + (factoryCache): Changed type. + (URL_LOADER_PREFIX): New constant. + (URLClassLoader): Updated for new factoryCache. + (addURLImpl): Use reflection to search for a loader. + (findClass): Use getClass method on URLLoader. + (getURLStreamHandler): Removed. + * gnu/java/net/loader/URLLoader.java: New file, extracted + from URLClassLoader. + * gnu/java/net/loader/Resource.java: Likewise. + * gnu/java/net/loader/FileResource.java: Likewise. + * gnu/java/net/loader/FileURLLoaderjava: Likewise. + * gnu/java/net/loader/JarURLLoader.java: Likewise. + * gnu/java/net/loader/JarURLResource.java: Likewise. + * gnu/java/net/loader/RemoteURLLoader.java: Likewise. + * gnu/java/net/loader/RemoteResource.java: Likewise. + * gnu/java/net/loader/ULRStreamHandlerCache.java: New file. + +2006-05-15 Sven de Marothy <sven@physto.se> + + * native/target/generic/target_generic_network.h: + Add a pair of parenthesis. + 2006-05-15 Mark Wielaard <mark@klomp.org> - * configure.ac (VERSION): Set to 0.91. + * java/awt/Graphics2D.java: Remove PrinterJob import. + +2006-05-15 Mark Wielaard <mark@klomp.org> + + * doc/www.gnu.org/announce/20060515.wml: New file. + * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement. + * doc/www.gnu.org/downloads/downloads.wml: Add 0.91. + +2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com> + + * NEWS: Announce inclusion of gcjwebplugin. + Announce inclusion of appletviewer. + * INSTALL: Note gcjwebplugin dependencies. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/RepaintManager.java (paintDirtyRegions): + Break loop as soon as the component repaint is merged + with some parent. (ComponentComparator): Removed. + (comparator): Removed. + +2006-05-15 Roman Kennke <kennke@aicas.com> + + * javax/swing/border/TitledBorder.java + (paintBorderWithTitle): Fixed indentation. + +2006-05-15 Roman Kennke <kennke@aicas.com> + + * javax/swing/border/TitledBorder.java + (layoutBorderWithTitle): Fetch border using getBorder() instead + of using the border field directly. Allows for the use of + an UI supplied border in the case when a null border was set. + Fixed component orientation. + (paintBorderWithTitle): Fetch border using getBorder() instead + of using the border field directly. Allows for the use of + an UI supplied border in the case when a null border was set. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten. + (contains): New method. + +2006-05-15 Tom Tromey <tromey@redhat.com> + + * resource/gnu/classpath/tools/jar/messages.properties: Fixed + argument indices. + * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed + argument indices. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JComponent.java (findOverlapParent): Stop loop at + JViewport's. + * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given + region. (paintDirtyRegions): Rewritten. + +2006-05-15 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use + MessageFormat. + * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use + MessageFormat. + * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings. + (run): Use MessageFormat. + * resource/gnu/classpath/tools/jar/messages.properties: New file. + * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings. + (writeFile): Use MessageFormat. + +2006-05-15 Jeroen Frijters <jeroen@frijters.net> + + * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName() + instead of directly calling the class loader. + +2006-05-15 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/getopt/Option.java (getDescription): + Removed old comment. + * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: + Externalized strings. + (getVersionString): Use MessageFormat. + * tools/gnu/classpath/tools/getopt/Messages.java: New file. + * resource/gnu/classpath/tools/getopt/Messages.properties: New file. + * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings. + (getArgument): Use a MessageFormat. + (handleLongOption): Likewise. + (parse): Likewise. + +2006-05-15 Robert Schuster <robertschuster@fsfe.org> + + Fixes PR 27197. + * javax/swing/text/FieldView.java: + (paint): Calculate intersection between clip and allocation area and + set that as new clip. + +2006-05-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/text/JTextComponent.java: Marked stub methods. + +2006-05-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTable.java: Marked stub methods. + +2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/jarsigner/Main.java: + Increased visibility of fields used by parser anonymous classes. + (KEYTOOL_TOOL): New constant. + (cmdLineParser): Changed type to ToolParser. + (fileAndAlias): new field. + (main): Don't catch OptionException. + (processArgs): Removed validation checks; now handled by ToolParser. + (getParser): Removed. + (ToolParserCallback): New inner class. + (ToolParser): Likewise. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JTable.java (TableTextArea.scrollRectToVisible): + Removed. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/DefaultDesktopManager.java (endDraggingFrame, + endResizingFrame): Do not repaint, unless in the outline mode. + +2006-05-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTabbedPane.java + (AccessibleJTabbedPane.getAccessibleRole): Implemented, + (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented, + (AccessibleJTabbedPane.getAccessibleSelection()): Implemented, + (AccessibleJTabbedPane.getAccessibleAt): Implemented, + (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented, + (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented, + (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented, + (AccessibleJTabbedPane.addAccessibleSelection): Implemented, + (AccessibleJTabbedPane.removeAccessibleSelection): Implemented, + (AccessibleJTabbedPane.clearAccessibleSelection): Implemented, + (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented, + (Page.getAccessibleName): Implemented. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/DefaultDesktopManager.java (setBoundsForFrame): + Do not repaint nor revalidate here. + +2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/RepaintManager.java (addDirtyRegion): + If there is a lightweight parent, recursively add the corresponding + region of the parent instead. + +2006-05-15 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/Graphics2D.java: Added some API doc comments. 2006-05-15 Mark Wielaard <mark@klomp.org> * NEWS: Add release date and VMClassLoader.getBootPackages() changes. +2006-05-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JTabbedPane.java + (paramString): Reimplemented, + (getAccessibleContext): Added API docs. + +2006-05-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JFileChooser.java + (paramString): Reimplemented, + (getAccessibleContext): Updated API docs, + (AccessibleJFileChooser): Added API docs. + +2006-05-14 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws + OptionException. + * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws + OptionException. + * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws + OptionException. + * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved + validation to JarParser. + * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class. + (run): Moved validation to JarParser. Don't throw OptionException. + (initializeParser): Create a JarParser. + (main): Don't catch OptionException. + * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer + public. + (validate): New method. + (parse): Call it. Print '-help' in error message when long-only. + +2006-05-14 Tom Tromey <tromey@redhat.com> + + * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed + assignment. + +2006-05-15 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/print/JavaPrinterGraphics.java: + Sweeping changes I can't be bothered to document in detail. + * gnu/java/awt/print/JavaPrinterJob.java + (getPageAttributes): New method. + (setPageable,cancel,isCancelled): Implement. + 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at> * README: Added CACAO to list of VMs. +2006-05-14 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JCheckBoxMenuItem.java + (requestFocus): Fixed typo in API docs, + (paramString): Just call super.paramString(), + (getAccessibleContext): Added API docs, + (AccessibleJCheckBoxMenuItem): Likewise. + +2006-05-14 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/jar/Indexer.java + (writeCommandLineEntries): Simplify insertion. + * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both + -m and -M. + +2006-05-14 Tom Tromey <tromey@redhat.com> + + PR classpath/27514: + * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now + constant. + (JAR_INDEX_VERSION_KEY): Likewise. + (IndexListParser): Updated. + (getVersionInfo): Likewise. + * tools/gnu/classpath/tools/jar/Indexer.java: New file. + * tools/gnu/classpath/tools/jar/Action.java (run): Now throws + OptionException. + * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle + -i. + (ModeOption): New constructor. + (parsed): Updated. Use setArchiveFile. + (setArchiveFile): New method. + (run): Handle no-argument case. + (main): Emit --help message on option error. + * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field. + (createManifest): New method. + (run): Updated. Throws OptionException. Correctly copy zip entry. + * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New + method. + (writeManifest): Removed. + (outputStream): Now a JarOutputStream. + (writeCommandLineEntries): Changed parameters. Updated callers. + (run): Throws OptionException. + * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix. + * java/util/jar/Manifest.java (read): Typo fix. + +2006-05-14 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JMenuItem.java + (paramString): Fixed class name in API doc comment. + +2006-05-14 Tom Tromey <tromey@redhat.com> + + * native/plugin/.cvsignore: Updated. + 2006-05-14 Mark Wielaard <mark@klomp.org> * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++ comments. -2006-05-14 Chris Burdess <dog@gnu.org> - - * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype - nodes to be preserved during cloneNode. - 2006-05-14 Mark Wielaard <mark@klomp.org> PR 27459 * native/jni/java-net/javanet.c (_javanet_accept): Reset the inherited timeout on socket. -2006-05-14 Lillian Angel <langel@redhat.com> +2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au> - * java/util/SimpleTimeZone.java: Reverted patch. - (SimpleTimeZone): Throw exception if startMonth == - endMonth. - (SimpleTimeZone): Likewise. - (checkRule): Rewritten to properly check all values (more - efficently). - This code is now more stable, at least less buggy than before. - Fixed API documentation. - (setStartRule): Moved checkRule call to end. - (setStartRule): Likewise. - (setEndRule): Likewise. - (setEndRule): Likewise. + * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting. -2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> +2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au> - * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow): - Initialise to -1. + * resource/gnu/classpath/tools/keytool/MessageBundle.properties: + Added help text. + * tools/gnu/classpath/tools/keytool/keytool.txt: Removed + * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (getParser): New method. + * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise. + (setup): Mark (Eclipse) strings that need not be externalised. + (start): Likewise. + * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt + command line option parsing. + * tools/gnu/classpath/tools/keytool/ListCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (setup): set 'all' local field. + (getParser): New method. + * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (getParser): New method. + * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise. + (setNewKeyPassword): Fixed comments. + * tools/gnu/classpath/tools/keytool/ImportCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (getParser): New method. + (findTrustInCACerts): Mark (Eclipse) strings that need not be + externalised. + * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (setup): Mark (Eclipse) strings that need not be externalised. + (getParser): New method. + * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise. + * tools/gnu/classpath/tools/keytool/DeleteCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (getParser): New method. + * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise. + (ATTRIBUTES_OPT): New constant. + * tools/gnu/classpath/tools/keytool/ExportCmd.java: + Increased visibility of fields used by parser anonymous classes. + (processArgs): Removed. + (setup): Mark (Eclipse) strings that need not be externalised. + (start): Likewise. + Reduced logging level. + (getParser): New method. + * tools/gnu/classpath/tools/keytool/Command.java + (processArgs): Made it concrete. + (getParser): New abstract method. + * tools/Makefile.am (KEYTOOL_HELPS): Removed. + +2006-05-13 Casey Marshall <csm@gnu.org> + + Patch by Michael Barker <mike@middlesoft.co.uk>. + * 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: new file. + * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use + VMChannel. + * include/gnu_java_nio_VMChannel.h: new file. + * java/nio/FileChannel.java (read,write): changed to call abstract + method. + * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file. + * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add + `gnu_java_nio_VMChannel.c.' + * vm/reference/gnu/java/nio/VMChannel.java: new file. 2006-05-14 Robert Schuster <robertschuster@fsfe.org> - PR classpath/27595 * javax/swing/text/AbstractDocument.java: (insertString): Flipped if-expression and its blocks. (remove): Dito. @@ -76,38 +9897,658 @@ * java/nio/ByteBufferImpl.java (compact): Always set position. +2006-05-13 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/print/JavaPrinterGraphics.java + (spoolPostScript): Use a faster writer. + +2006-05-13 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/print/JavaPrinterGraphics.java + (colorTripleHex): Reimplement better. + +2006-05-13 Sven de Marothy <sven@physto.se> + + * javax/swing/text/html/HTMLDocument.java + (CharacterAction.start): Translate tag to StyleAttribute. + (pushCharacterStyle): Push copy of attributes onto stack. + * gnu/javax/swing/text/html/CharacterAttributeTranslator.java: + New file + +2006-05-13 Sven de Marothy <sven@physto.se> + + * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout. + * java/awt/print/PrinterJob.java + (getPrinterJob): Return a JavaPrinterJob + (setPrintService,getPrintService): Implement. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: + (getPixels): Gtk_threads_enter required. + * gnu/java/awt/print/JavaPrinterGraphics.java + * gnu/java/awt/print/JavaPrinterJob.java + * gnu/java/awt/print/SpooledDocumet.java: + New files. + +2006-05-13 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/TextAction.java: + (HorizontalMovementAction): New inner class. + (VerticalMovementAction): New inner class. + * javax/swing/text/DefaultEditorKit.java: Added assigning instances of + new inner classes to array 'defaultActions'. + (SelectionBeginWordAction): New inner class. + (SelectionEndWordAction): New inner class. + (BeginWordAction): New inner class. + (EndWordAction): New inner class. + (PreviousWordAction.actionPerformed): Rewritten. + (SelectLineAction): New inner class. + (SelectWordAction): New inner class. + (SelectionDownAction): Rewritten. + (SelectionUpAction): Rewritten. + (DownAction): Rewritten. + (UpAction): Rewritten. + (SelectionForwardAction): Rewritten. + (SelectionBackwardAction): Rewritten. + (ForwardAction): Rewritten. + (BackwardAction): Rewritten. + (BeginAction): New inner class. + (EndAction): New inner class. + (DefaultKeyTypedAction.actionPerformed): Use int variant of + Character.isISOControl. + +2006-05-13 Robert Schuster <robertschuster@fsfe.org> + + * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java: + (WordFilter.getNextVisualPositionFrom): Added statement to check + for variable pt not being null. + +2006-05-13 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/Utilities.java: + (getNextWord): Fixed grammar in exception message. + (getPreviousWord): Changed expression in first if-clause, added sub- + expression to if-clause in while-loop. + (getWordStart): Changed expression in if-clause. + getNextVisualPositionFrom): Added package-private helper method. + +2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow): + Initialise to -1. + +2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au> + + * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties: + Added help text. + * tools/Makefile.am (JARSIGNER_HELPS): Removed. + * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed. + * tools/gnu/classpath/tools/jarsigner/Main.java: + Increased visibility of fields used by parser anonymous classes. + (HELP_PATH): Removed. + (cmdLineParser): New field. + (main): Handle JVM exit status. + Handle command line parsing exceptions. + (processArgs): Use getopt command line parser. + (getParser): New method. + (setupCommonParams): Removed checks now handled by processArgs(). + (setupSigningParams): Likewise. + * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start): + Reuse an existing message-bundle constant. + +2006-05-12 Tom Tromey <tromey@redhat.com> + + * gnu/java/net/protocol/jar/Connection.java (getHeaderField): + Explicitly specify class for synchronization. + +2006-05-12 Tom Tromey <tromey@redhat.com> + + * java/util/logging/Logger.java (resetLogger): Fixed typo. + +2006-05-12 Sven de Marothy <sven@physto.se> + + * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter. + * gnu/java/net/protocol/http/HTTPURLConnection.java + (setConnectTimeout): New method. + (getConnection): Add timeout parameter. + * java/net/URLConnection.java + (getConnectTimeout, setConnectTimeout): Implement. + * native/target/generic/target_generic_network.h: + Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO. + +2006-05-12 Sven de Marothy <sven@physto.se> + + * gnu/javax/print/CupsServer.java + (CupsServer): Make the Cups host configurable. + * java/lang/System.java: Document the system property. + +2006-05-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/border/TitledBorder.java + (paintBorder): Rewritten for simplicity and correctness. + (layoutBorderWithTitle): New helper method. + (paintBorderWithTitle): New helper method. + (getBorderInsets): Rewritten. + (getMinimumSize): Rewritten. + (getRealJustification): Removed. + (getMeasurements): Removed. + (Measurements): Removed. + +2006-05-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicPanelUI.java + (sharedUI): New field, + (createUI): Return a shared instance rather than a new instance, + (installUI): Reformatted and added API docs, + (installDefaults): Install border if one is defined, + (uninstallDefaults): Uninstall border. + +2006-05-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JProgressBar.java: Updated API docs all over. + +2006-05-11 Lillian Angel <langel@redhat.com> + + * java/awt/ContainerOrderFocusTraversalPolicy.java + (getComponentAfter): Should not throw exception if + the ancestor is null. Added a check for this. + Also, changed to use new helper function, we should + iterate through all the components at least once. + (getNextAvailableComponent): New helper function. + (getPrevAvailableComponent): New helper function. + (getComponentBefore): Should not throw exception if + the ancestor is null. Added a check for this. + Also, changed to use new helper function, we should + iterate through all the components at least once. + (getFirstComponent): Changed check to manually check + fields. Calling accept() casts the object to a Component, + so different values may be returned. + (getLastComponent): Likewise. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style, + * javax/swing/plaf/metal/MetalButtonUI.java: Likewise, + * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise, + * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise, + * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise, + * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise, + * javax/swing/plaf/metal/MetalIconFactory.java: Likewise, + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise, + * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise, + * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise, + * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise, + * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise, + * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise, + * javax/swing/plaf/metal/MetalSliderUI.java: Likewise, + * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise, + * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise, + * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise, + * javax/swing/plaf/metal/MetalUtils.java: Likewise. + +2006-05-11 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/text/DefaultCaret.java: Made field 'textComponent' + package-private, added field 'active'. + (PropertyChangeHandler.propertyChange): Added variable 'name', added + cases to update field 'active'. + (mouseDragged): Added documentation, added if-clause to update + selection or caret position. + (mouseClicked): Added early return when text component is disabled. + (focusGained): Moved statements into an if-clause. + (focusLost): Added subexpression to if-clause. + (install): Preset value of 'active'. + (paint): Added subexpression to if-clause. + (isVisible): Extended return expression. + * javax/swing/text/JTextComponent.java: + (copy): Copy only if component is enabled. + (cut): Cut only if component is enabled and editable. + (paste): Dito. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change, + * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise, + * javax/swing/plaf/multi/MultiListUI.java: Likewise, + * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise, + * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise, + * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise, + * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise. + +2006-05-11 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/font/GNUGlyphVector.java + (GNUGlyphVector): Don't apply the font renderer context's + transform. + 2006-05-11 Mark Wielaard <mark@klomp.org> * java/util/logging/Logger.java (global): Initialize inside static PrivilegedAction. +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JFrame.java + (EXIT_ON_CLOSE): Added note to API docs, + (close_action): Renamed closeAction, + (JFrame()): Change title to "", + (JFrame(String)): Added API docs, + (getAccessibleContext): Likewise, + (getDefaultCloseOperation): Updated for renamed field, added API docs, + (processWindowEvent): Updated for renamed field, + (setDefaultCloseOperation): Likewise, and updated API docs. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JFrame.java + (paramString): Reimplemented, + * javax/swing/SwingUtilities.java + (convertWindowConstantToString): New method. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/WindowConstants.java: Updated API docs. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs, + (createUI): Removed 'final' qualifier for parameter, + (paint): Reformatted. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus, + (createUI): Removed 'final' qualifier on method argument. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicCheckBoxUI.java + (getDefaultIcon): Removed this redundant method. + +2006-05-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Pass component size to paintFocus(). + +2006-05-11 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/Component.java: + (dispatchEventImpl): Added comment. + +2006-05-11 Mark Wielaard <mark@klomp.org> + + * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast + Option constructor null argument to String. + 2006-05-11 Mark Wielaard <mark@klomp.org> * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO): Fully qualify PathIterator constants +2006-05-11 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/Component.java: + (dispatchEventImpl): Added subexpression to if-clause. + +2006-05-11 Mark Wielaard <mark@klomp.org> + + * java/util/Collections.java (UnmodifiableMapEntry): Qualify + Map.Entry. + +2006-05-10 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/TransferHandler.java: Marked stub methods. + 2006-05-10 Roman Kennke <kennke@aicas.com> - PR classpath/27481 + PR 27481 * javax/swing/plaf/basic/BasicInternalFrameUI.java (installDefaults): Set background of content pane to null, if no custom color has been installed by the application yet. +2006-05-10 Sven de Marothy <sven@physto.se> + + * java/awt/print/PrinterJob.java: + (lookupPrintServices): Un-comment-out. + 2006-05-10 Roman Kennke <kennke@aicas.com> - PR classpath/27481 * javax/swing/JRootPane.java (createContentPane): Don't set background to null. +2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/gnu/classpath/tools/getopt/OptionGroup.java + (FILLER): New constant. + (formatText(PrintStream,String,int)): New method. + (formatText(PrintStream,String,int,Locale)): Likewise. + (printHelp): Use formatText method. + * tools/gnu/classpath/tools/getopt/Parser.java + (MAX_LINE_LENGTH): New constant. + (formatText(PrintStream,String)): New method. + (formatText(PrintStream,String,Locale)): Likewise. + (printHelp): New method. + (printHelp(PrintStream)): Increased visibility to protected. + Use formatText method. + +2006-05-10 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (installDefaults): Use getPropertyPrefix() to allow subclasses to + modify the lookup key. + +2006-05-10 Lillian Angel <langel@redhat.com> + + * java/util/SimpleTimeZone.java: Reverted patch. + (SimpleTimeZone): Throw exception if startMonth == + endMonth. + (SimpleTimeZone): Likewise. + (checkRule): Rewritten to properly check all values (more + efficently). + This code is now more stable, at least less buggy than before. + Fixed API documentation. + (setStartRule): Moved checkRule call to end. + (setStartRule): Likewise. + (setEndRule): Likewise. + (setEndRule): Likewise. + +2006-05-10 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/swing/SwingComponent.java: + Some API comment fixlets. + * gnu/java/awt/peer/swing/SwingComponentPeer.java: + (createImage): Create a BufferedImage, not a Toolkit image. + (paint): Removed bogus API comment. + (prepareImage): Added checks to avoid NPE. + * gnu/java/awt/peer/swing/SwingContainerPeer.java: + (getInsets): Added check to avoid NPE. + (handleMouseEvent): Added check to avoid NPE. + * gnu/java/awt/peer/swing/SwingFramePeer.java: + Some API comment fixlets. + * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: + Some API comment fixlets. + * gnu/java/awt/peer/swing/SwingTextFieldPeer.java: + Changed start_pos name to startPos. + * gnu/java/awt/peer/swing/SwingWindowPeer.java: + Some API comment fixlets. + +2006-05-10 David Gilbert <david.gilbert@object-refinery.com> + + * java/awt/BasicStroke.java + (equals): Fixed typo in HTML tag for API doc comment. + +2006-05-10 Gary Benson <gbenson@redhat.com> + + * java/lang/ThreadGroup.java (parent): Make package-private. + * java/lang/SecurityManager.java (checkAccess(Thread)): + Reference ThreadGroup.parent directly to avoid extra checks. + * java/lang/SecurityManager.java (checkAccess(ThreadGroup)): + Likewise. + +2006-05-10 Roman Kennke <kennke@aicas.com> + + Reported by Ingo Proetel (proetel@aicas.com) + * java/awt/EventDispatchThread.java + (DEFAULT_PRIORITY): New constant field. + (EventDispatchThread()): Added gnu.awt.dispatchthread.priority + system property for adjusting the priority of the event + dispatch thread. + +2006-05-10 Roman Kennke <kennke@aicas.com> + + Reported by Ingo Proetel (proetel@aicas.com) + * java/awt/image/ColorModel.java + (S_RGB_MODEL): New constant field. + (getRGBDefault): Return constant SRGBColorModel. + (SRGBColorModel): Specialized color model for sRGB. + +2006-05-10 Roman Kennke <kennke@aicas.com> + + * java/awt/ColorPaintContext.java + (getRaster): Create Raster with (0,0) as source location. + +2006-05-10 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AlphaCompositeContext.java + (compose): Don't premultiply alpha to alpha itself. + +2006-05-10 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (drawImage(Image,AffineTransform,ImageObserver)): Implemented. + (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)): + New method. + (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented. + (drawRenderedImage(RenderedImage,AffineTransform)): Implemented. + (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)): + New method. + (drawRenderableImage(RenderableImage,AffineTransform)): Implemented. + (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)): + New method. + (scale): Inverse transform by doing 1/scale instead of -scale. + (drawImage(Image,int,int,ImageObserver)): Implemented. + (drawImage(Image,int,int,int,int,ImageObserver)): Implemented. + (drawImage(Image,int,int,Color,ImageObserver)): Implemented. + (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented. + (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)): + Implemented. + (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)): + Implemented. + (fillScanline): Work on translated destination raster for + correct compositin. + (init): Fetch the clip after the destination raster is initialized. + * gnu/java/awt/java2d/ImagePaint.java: New file. + * gnu/java/awt/java2d/RasterGraphics + (drawImage): Removed. + +2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: + Clarify option descriptions. + * tools/gnu/classpath/tools/appletviewer/Main.java: Use all + uppercase for metasyntactic variables. + 2006-05-09 Robert Schuster <robertschuster@fsfe.org> - PR classpath/24216 + Fixed PR24216. * javax/swing/text/AbstractDocument.java: (insertString): Added more documentation, added argument check. (remove): Added more documentation. (removeImpl): Added argument check. (replace): Added more documentation, added argument check. +2006-05-09 Tom Tromey <tromey@redhat.com> + + * tools/.cvsignore: Added appletviewer. + +2006-05-09 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip + empty groups. + +2006-05-09 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): + Special case for '-J'. Use space instead of '='. + * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added + comment. + +2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * configure.ac: Add --disable-plugin and --with-vm options. Check + for plugin support headers and libraries. + * native/Makefile.am: Recurse into plugin directory. + * native/plugin/.cvsignore: New file. + * native/plugin/Makefile.am: New file. + * native/plugin/gcjwebplugin.cc: New file. + * tools/Makefile.am: Install appletviewer wrapper script. + * tools/appletviewer.in: Replace VM location heuristic with + VM_BINARY configure substitution. + +2006-05-09 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added + an initial pass to look for short options. Added 'longOnly' option. + * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J + option. + * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard + options into final group. Added -J. + (add): Insert new groups before final group. + (printHelp): Updated. + +2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27518 + * tools/gnu/classpath/tools/giop/GRMIC.java (main), + tools/gnu/classpath/tools/rmi/RMIC.java (main): + Expect -classpath option. + * tools/gnu/classpath/tools/rmi/RMIC.txt, + tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting + -classpath option. + tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java + (classLoader): New field. (loadClass, setClassPath): + New methods. + +2006-05-09 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/java2d/RasterGraphics.java + (RasterGraphics): Call init() and super(). + (drawImage): Temporary drawImage impl until AbstractGraphics2D has + this. + +2006-05-09 Gary Benson <gbenson@redhat.com> + + * java/lang/Thread.java (Thread): Always perform threadgroup + access checks on thread creation. + +2006-05-09 Chris Burdess <dog@gnu.org> + + * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to + be preserved during cloneNode. + +2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27517 + * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): + Do not demand all thrown exceptions to be an instance of RemoteException. + +2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: + Use hash-style comments. + * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties: + Likewise. + +2006-05-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JLabel.java + (paramString): Added more attribute details, + * javax/swing/SwingUtilities.java + (convertHorizontalAlignmentCodeToString): New method, + (convertVerticalAlignmentCodeToString): New method. + +2006-05-08 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/jar/Updater.java (run): Updated. + * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields. + * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use + ZipInputStream. + (run): Updated. + * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err + for verbose. + (run): Use ZipInputStream. + (initSet): New method. + (shouldExtract): Likewise. + (run): Use new methods. + * tools/gnu/classpath/tools/jar/Creator.java + (writeCommandLineEntries): New overload. + (writeFile): Use System.err for verbose. + (writeManifest): New method. + (writtenItems): New field. + (writeFile): Update it. + (writeCommandLineEntries): Return void. Call writeManifest. + (addEntries): Don't add extra '/'. + * NEWS: Mention jar. + +2006-05-08 Lillian Angel <langel@redhat.com> + + * gnu/java/net/IndexListParser.java: New class. + * java/net/URLClassLoader.java + (JarURLLoader): Fixed code to use new class. + +2006-05-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComboBox.java + (AccessibleJComboBox.getAccessibleChildrenCount): Implemented. + (AccessibleJComboBox.getAccessibleChild): Implemented. + (AccessibleJComboBox.getAccessibleSelection()): Implemented. + (AccessibleJComboBox.getAccessibleSelection(int)): Implemented. + (AccessibleJComboBox.isAccessibleChildSelected): Implemented. + (AccessibleJComboBox.getAccessibleAction): Implemented. + (AccessibleJComboBox.getAccessibleActionDescription): Implemented. + (AccessibleJComboBox.getAccessibleActionCount): Implemented. + (AccessibleJComboBox.doAccessibleAction): Implemented. + (AccessibleJComboBox.getAccessibleSelectionCount): Implemented. + (AccessibleJComboBox.addAccessibleSelection): Implemented. + (AccessibleJComboBox.removeAccessibleSelection): Implemented. + (AccessibleJComboBox.clearAccessibleSelection): Implemented. + (AccessibleJComboBox.selectAllAccessibleSelection): Implemented. + +2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com> + + * configure.ac: Add support for building appletviewer. + * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties: + New file. + * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties: + New file. + * tools/appletviewer.c: New file. + * tools/appletviewer.in: New file. + * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java: + New file. + * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java: + New file. + * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file. + * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New + file. + * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java: + New file. + * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java: + New file. + * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New + file. + * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New + file. + * tools/gnu/classpath/tools/appletviewer/Main.java: New file. + * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java: + New file. + * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java: + New file. + * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java: + New file. + * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java: + New file. + * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java: + New file. + * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java: + New file. + * tools/gnu/classpath/tools/appletviewer/TagParser.java: New + file. + +2006-05-08 Tom Tromey <tromey@redhat.com> + + * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file. + * tools/gnu/classpath/tools/jar/Action.java: New file. + * tools/gnu/classpath/tools/jar/Creator.java: New file. + * tools/gnu/classpath/tools/jar/Entry.java: New file. + * tools/gnu/classpath/tools/jar/Extractor.java: New file. + * tools/gnu/classpath/tools/jar/Lister.java: New file. + * tools/gnu/classpath/tools/jar/Main.java: New file. + * tools/gnu/classpath/tools/jar/Updater.java: New file. + * tools/gnu/classpath/tools/getopt/Option.java: New file. + * tools/gnu/classpath/tools/getopt/OptionException.java: New file. + * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file. + * tools/gnu/classpath/tools/getopt/Parser.java: New file. + * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New + file. + 2006-05-08 Lillian Angel <langel@redhat.com> * java/net/URLClassLoader.java @@ -116,7 +10557,25 @@ 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27481 + * gnu/java/awt/java2d/AbstractGraphics2D.java + (fill): Removed commented out code. + (fillShape): Also determine the outline of the clip and feed + it into the rendering method. Use new helper method for + converting the shapes into lists of segments. + (getUserBounds): Removed obsolete method. + (rawFillShape): Respect the clip when rendering shapes. + (fillShapeAntialias): Adjusted signature for new clipped rendering. + However, the implementation can't clip still. + (getSegments): New helper method for converting a shape into + a list of segments. + (clipShape): Removed obsolete method. + * gnu/java/awt/java2d/PolyEdge.java + (isClip): New field. + (PolyEdge): Added isField argument to constructor. + +2006-05-08 Roman Kennke <kennke@aicas.com> + + PR 27481 * javax/swing/JRootPane.java (createContentPane): Set background of the content pane to null, so that the content pane inherits its background from the @@ -124,7 +10583,7 @@ 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27480 + PR 27480 * javax/swing/ButtonGroup.java (add): Check if new button is selected and if so, deselect other buttons in the group. @@ -138,27 +10597,27 @@ 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27461 + PR 27461 * javax/swing/ImageIcon.java (ImageIcon(URL)): Set description to URL.toString(). 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27482 + PR 27482 * javax/swing/JTable.java (IconCellRenderer.getTableCellRendererComponent): Set icon to null when cell value is null. 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27484 + PR 27484 * javax/swing/DefaultDesktopManager.java (closeFrame): Don't perform default close action on the frame to prevent endless loop. 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27485 + PR 27485 * javax/swing/table/DefaultTableModel.java (addExtraRows): New helper method. (checkSize): New helper method. @@ -169,10 +10628,19 @@ 2006-05-08 Roman Kennke <kennke@aicas.com> - PR classpath/27486 + PR 27486 * javax/swing/JTable.java (setValueAt): Allow setting values even when table is editable. +2006-05-08 Tom Tromey <tromey@redhat.com> + + * java/text/SimpleDateFormat.java (compileFormat): Added missing + space to error message. + +2006-05-08 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/AbstractButton.java: Fixed comment typos. + 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org> PR classpath/27435: @@ -183,19 +10651,13 @@ Fixed PR27343 * java/util/Calendar.java (setTimeZone): Force recalculation. - + 2006-05-07 Sven de Marothy <sven@physto.se> Fixed PR27463 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java (propertyChange): Handle FRAME_ICON_PROPERTY property. - -2006-05-06 Sven de Marothy <sven@physto.se> - - Fixed PR27454 - * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): - Check for zero image sizes. - + 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org> PR classpath/27311: @@ -205,16 +10667,34 @@ (formatInternal(double,StringFormatBuffer,FieldPosition)): Don't calculate the exponent when the number is 0 or less. Also, use log10 instead of log now it's available. + +2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au> -2006-05-07 Sven de Marothy <sven@physto.se> + * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry): + Use instance's field creationDate not the constructor's argument. + * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: + Removed unused imports. + Sorted imports. + (log): New field. + (decrypt): Added trace/debug/timing statements. + (encrypt): Likewise. + Use PRNG instead of instantiating every time a new SecureRandom. + * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: + Removed unused imports. + Sorted imports. + (log): New field. + (verify): Added trace/debug/timing statements. + (authenticate): Likewise. + Use PRNG instead of instantiating every time a new SecureRandom. - Fixed PR27455 - * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove. - * java/awt/Component.java (processMouseEvent): - Do lightweight cursor handling. - * javax/swing/plaf/basic/BasicTableHeaderUI.java - (endResizing,mouseMoved): Save and reset original cursor, not the - default one. +2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au> + + * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed. + (THREAD_FORMAT): Likewise. + (dateFormat): Added field. + (threadFormat): Added field. + (format): Initialize instance fields if null. + Use StringBuilder instead of StringBuffer. 2006-05-07 Roman Kennke <kennke@aicas.com> @@ -245,6 +10725,66 @@ (compose): Fixed loops, conditions and logic to make compositing work correctly. +2006-05-07 Roman Kennke <kennke@aicas.com> + + * java/awt/ColorPaintContext.java + (ColorPaintContext): Fixed filling of the raster. + +2006-05-07 Sven de Marothy <sven@physto.se> + + Fixed PR27455 + * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove. + * java/awt/Component.java (processMouseEvent): + Do lightweight cursor handling. + * javax/swing/plaf/basic/BasicTableHeaderUI.java + (endResizing,mouseMoved): Save and reset original cursor, not the + default one. + +2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 27298 + * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler. + getNodeDimensions): Mind the size of the node icon. (getRowX): + use totalChildIndent. (TreeExpansionHandler): Set maximal height + to zero on events. (nullIcon): New field. (getCurrentControlIcon): + Return nullIcon if there is no other icon. (getNodeIcon): New method. + (installDefaults): assign totalChildIndent. (installUI): Call + updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten. + (paintRow): Rewritten. (updateRenderer): Do not set the renderer for + the tree. + +2006-05-06 Sven de Marothy <sven@physto.se> + + Fixed PR27454 + * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): + Check for zero image sizes. + +2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com> + + Fixed PR27362 + * java/util/Calendar.java (clear(int)): Forced internal state + completion before performing a field clearing. + +2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com> + + * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet. + UnmodifiableMapEntry): New Map.Entry implementation which is immutable. + (UnmodifiableMap.UnmodifiableEntrySet.iterator, + UnmodifiableMap.UnmodifiableEntrySet.toArray, + UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used + UnmodifiableMapEntry as part of their return value. + +2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au> + + * tools/keytool.sh.in: Removed (renamed to keytool.in). + * tools/jarsigner.in: Removed (renamed to jarsigner.in). + * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip. + Generate jarsigner and keytool scripts. + * tools/keytool.in: New file (renamed from keytool.sh.in). + * tools/jarsigner.in: New file (renamed from jarsigner.sh.in). + * tools/.cvsignore: Replaced *.sh with * + * configure.ac: Replaced tools/*.sh with tools/*. + 2006-05-05 Roman Kennke <kennke@aicas.com> * java/awt/image/ColorModel.java @@ -261,6 +10801,58 @@ * javax/swing/JTable.java (tableChanged): Sync selection model with table model changes. +2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early + if there are no visible nodes to paint. + +2006-05-05 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JOptionPane.java: API doc updates. + +2006-05-05 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JToolBar.java + (paramString): Reimplemented. + +2006-05-05 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JScrollBar.java + (paramString): Reimplemented. + +2006-05-04 Tom Tromey <tromey@redhat.com> + + PR classpath/27375: + * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap. + (readEntries): Updated. + (getEntries): Likewise. + (getEntry): Likewise. + (getInputStream): Likewise. + +2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/javax/imageio/jpeg/DCT.java, + gnu/javax/imageio/jpeg/HuffmanTable.java, + gnu/javax/imageio/jpeg/JPEGComponent.java, + gnu/javax/imageio/jpeg/JPEGDecoder.java, + gnu/javax/imageio/jpeg/JPEGException.java, + gnu/javax/imageio/jpeg/JPEGFrame.java, + gnu/javax/imageio/jpeg/JPEGImageInputStream.java, + gnu/javax/imageio/jpeg/JPEGImageReader.java, + gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java, + gnu/javax/imageio/jpeg/JPEGMarker.java, + gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java, + gnu/javax/imageio/jpeg/JPEGScan.java, + gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java, + gnu/javax/imageio/jpeg/ZigZag.java: New files. + +2006-05-04 Lillian Angel <langel@redhat.com> + + * javax/swing/JLabel.java + (JLabel): Pass in an empty string for the text parameter. + (JLabel): Likewise. + (JLabel): Likewise. + 2006-05-04 Roman Kennke <kennke@aicas.com> * javax/swing/plaf/basic/BasicButtonListener.java @@ -276,18 +10868,17 @@ * javax/swing/JLabel.java (AccessibleJLabel.getSelectedText): Return null instead of "". (AccessibleJLabel.getSelectionStart): Added comment why - return -1 is correct here. + return -1 is correct here. (AccessibleJLabel.getSelectionEnd): Added comment why - return -1 is correct here. - (AccessibleJLabel.getCharacterAttribute): Added comment about - what to do here. + return -1 is correct here. + (AccessibleJLabel.getCharacterAttribute): Added comment about what + to do here. (AccessibleJLabel.getCharCount): Added comment about what - to do here. - (AccessibleJLabel.getCharacterBounds): Tagged as not - implemented. + to do here. + (AccessibleJLabel.getCharacterBounds): Tagged as not implemented. (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented. (paramString): Return super.paramString() here, this provides - a more meaningful output. + a more meaningful output. 2006-05-04 Roman Kennke <kennke@aicas.com> @@ -299,49 +10890,41 @@ * javax/swing/AbstractButton.java (addImpl): New method. Installs an OverlayLayout if no other layout has been installed before. - (setLayout): New method. Detect if a client app installs a - custom layout. - + (setLayout): New method. Detect if a client app installs a custom + layout. + 2006-05-04 Roman Kennke <kennke@aicas.com> - * javax/swing/table/DefaultTableCellModel.java + * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder): Fixed width of empty border to 1. (getTableCellRendererComponent): Don't change the colors for focuses cells. Fixed border for focused cells. - + 2006-05-04 Roman Kennke <kennke@aicas.com> * javax/swing/JTable.java - (moveToCellBeingEdited): Adjust bounding box - of editing component to exactly cover the grid. + (moveToCellBeingEdited): Adjust bounding box of editing component + to exactly cover the grid. * javax/swing/plaf/basic/BasicTableUI.java - (paint): Paint grid to the bottom and right of - the cells instead of left and top. Adjust bounding - box of cells accordingly. + (paint): Paint grid to the bottom and right of the cells instead + of left and top. Adjust bounding box of cells accordingly. * javax/swing/plaf/metal/MetalLookAndFeel.java - (initComponentDefaults): Fixed color of JTable - selection border. + (initComponentDefaults): Fixed color of JTable selection border. * javax/swing/plaf/metal/OceanTheme.java - (addCustomEntriesToTable): Fixed color of JTable - selection border. + (addCustomEntriesToTable): Fixed color of JTable selection border. 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au> * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Use _alias instead of alias. -2006-05-04 Lillian Angel <langel@redhat.com> - - * javax/swing/JLabel.java - (JLabel): Pass in an empty string for the text parameter. - (JLabel): Likewise. - (JLabel): Likewise. +2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org> -2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> + * configure.ac: + Set version to 0.92-pre. + * NEWS: + Add space for 0.92 entries. - * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early - if there are no visible nodes to paint. - 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org> * include/Makefile.am: @@ -1586,7 +12169,7 @@ 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/BevelBorder.java: Likewise, * javax/swing/border/CompoundBorder.java: Likewise, * javax/swing/border/EtchedBorder.java: Likewise, * javax/swing/border/LineBorder.java: Likewise, @@ -1944,7 +12527,8 @@ 2006-04-18 Robert Schuster <robertschuster@fsfe.org> - * javax/swing/plaf/basic/BasicTextUI.java: Implemented. + * javax/swing/plaf/basic/BasicTextUI.java: + (getNextVisualPositionFrom): Implemented. 2006-04-18 David Gilbert <david.gilbert@object-refinery.com> @@ -5726,21 +16310,6 @@ * 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 @@ -12092,7 +22661,7 @@ (AccessibleJComponent.changeSupport): Changed to be a java.beans.PropertyChangeSupport rather than SwingPropertyChangeSupport. - (AccessibleJComponent.AccesibleJComponent()): Change initialization + (AccessibleJComponent.AccessibleJComponent()): Change initialization of above field. (changeSupport): Removed unneeded field. (removePropertyChangeListener): Removed unneeded methods. @@ -16016,8 +26585,3 @@ * java/net/InetAddress.java (getAllByName): use LOCALHOST if localhost is null or is an empty string. Trim hostname before lookup. - - -Local Variables: -coding: iso-latin-1-unix -End: |