diff options
Diffstat (limited to 'libjava/classpath/ChangeLog')
-rw-r--r-- | libjava/classpath/ChangeLog | 9590 |
1 files changed, 9588 insertions, 2 deletions
diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index e1868f26ea2..d40cc1a418c 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -1,7 +1,9593 @@ +2005-11-15 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/attribute/DateTimeSyntax.java, + * javax/print/attribute/EnumSyntax.java, + * javax/print/attribute/IntegerSyntax.java, + * javax/print/attribute/URISyntax.java: + Added and enhances some api docs. + +2005-11-15 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (gtkWindowGetLocationOnScreen): Added declaration + for native function. + (getLocationOnScreen): Changed to handle 2 different cases. + If the component is a window, gtkWindowGetLocationOnScreen is + called; otherwise, gtkWidetGetLocationOnScreen. + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: + Added signature for new function Java_gnu_java_awt_peer_ + gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): + Implemented. + +2005-11-15 Roman Kennke <kennke@aicas.com> + + * javax/swing/JViewport.java + (JViewport): Recognize setting of a system property + gnu.javax.swing.JViewport for the scrollMode. + +2005-11-15 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern2D): Fixed the texture width. + (initializePattern): Made texture transparent. + +2005-11-15 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTextField.java + (createDefaultModel): Set the filterNewlines property on the created + model. + +2005-11-15 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicListUI.java + Fixed API docs all over to better explain the changed (but correct) + behaviour. + (convertYToRow): Added some short-circuits for special cases. Update + the layout state if necessary. Fixed to match the JDK behaviour. + Added API docs to better explain the behaviour. + (updateLayoutState): When a fixedCellHeight is set, then use the + cellHeight field, otherwise use the cellHeights array. + (uninstallDefaults): Removed unnecessary statement. + (paintBackground): Removed unnecessary method. + (paintCell): Removed some commented-out code. + (paint): Removed call to paintBackground(). + (locationToIndex): Removed unused statement. + +2005-11-14 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/attribute/AttributeSetUtilities.java: + Added api docs and enhanced api docs all over the place. + (verifyCategoryForValue): Throw exception when arguments + are _not_ equal and throw NPE also if attribute is null. + +2005-11-14 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (getLocationOnScreen): The insets should be taken into account + when returning the location of an object on the screen. + +2005-11-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JMenuBar.java: + (removeNotify): Unregister this JMenuBar from the KeyboardManager. + * javax/swing/KeyboardManager.java: + (unregisterJMenuBar): New implementation method. + +2005-11-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JComponent.java: + (removeNotify): Removed unncessary InputMap and ActionMap inheritance + code. Added FIXME to remove the WHEN_IN_FOCUSED_WINDOW bindings from + the KeyboardManager. + * javax/swing/JMenuBar.java: + (removeNotify): Added FIXME to unregister this JMenuBar from the + KeyboardManager. + +2005-11-14 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/attribute/HashAttributeSet.java: + Added api docs to class and clarified method documentation. + (toArray): Get iterator from values instead of entries. + (hashCode): Compute hashcode according to specification. + (get): Throw NullPointerException if category is null. + (HashAttributeSet(Attribute[],Class)): Changed to allow + Attribute[] to be null. + +2005-11-14 Mark Wielaard <mark@klomp.org> + + As suggested by Joao Victor <jvital@gmail.com>: + * javax/swing/Timer.java (Waker): Removed class. + (Task): New class. + (timer): New field. + (running): Removed field. + (waker): Likewise. + (task): New field. + (isRunning): Check whether task is null. + (start): Create task and schedule it with timer. + (stop): Cancel task and clear field. + (queueEvent): Synchronized on queueLock. + +2005-11-14 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (expandPath): No need to get the parent path. + * javax/swing/event/TreeModelEvent.java: + Variables should be initialized to null. + (toString): Implemented. + * javax/swing/plaf/basic/BasicTreeUI.java + (treeStructureChanged): Implemented. + (getParent): Added check to avoid infinite loop. + (findNode): Fixed check to use getChild, instead of + getIndexOfChild. + (updateCurrentVisiblePath): Added a loop to check + the parent's sibling, if the current node has no + other siblings. + +2005-11-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/ActionMap.java: + (keys): Return null if the map is empty. + (allKeys): Likewise. + * javax/swing/InputMap.java: + (keys): Return null if the map is empty. + (allKeys): Likewise. + * javax/swing/JMenuBar: + (addNotify): Register the menu with the KeyboardManager. + (processKeyBinding): New API method. + (processKeyBindingHelper): New implementation method. + * javax/swing/JMenuItem.java: + (setAccelerator): Fire a PropertyChangeEvent after changing the + accelerator. + * javax/swing/KeyboardManager.java: + (menuBarLookup): New field, Hashtable mapping between top-level + containers and a Vector of the JMenuBars contained in them. + (getHashtableForTopLevel): Changed this public method to package + private. + (registerEntireMap): Avoid NPE by returning early if the parameter + is null or contains no mappings. + (processKeyStroke): If the mapped component doesn't consume the event, + let all JMenuBars in the top-level container have a chance at it. + (getVectorForTopLevel): New implementation method. + (registerJMenuBar): Likewise. + * javax/swing/plaf/basic/BasicMenuItemUI.java: + (propertyChangeListener): New field. + (PropertyChangeHandler): New class to handle PropertyChangeEvents on + the JMenuItem. + (ClickAction): New class to implement accelerator key handling. + (BasicMenuItemUI<init>): Instantiate the propertyChangeListener field. + (installKeyboardActions): Implemented. + (installListeners): Install the propertyChangeListener. + (installUI): Call installKeyboardAcions after installing the listeners. + (uninstallKeyboardActions): Implemented. + (uninstallListeners): Remove the propertyChangeListener. + +2005-11-14 Tom Tromey <tromey@redhat.com> + + * java/applet/Applet.java (URLAudioClip): New class. + (newAudioClip): Implemented. + * gnu/java/beans/DummyAppletContext.java (getAudioClip): Use + Applet.newAudioClip. + (DUMMY_CLIP): Removed. + (DummyAudioClip): Removed. + +2005-11-14 Tom Tromey <tromey@redhat.com> + + * javax/sound/sampled/Line.java (open): Throws + LineUnavailableException. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + Reported by Ingo Proetel <proetel@aicas.com> + * gnu/java/io/PlatformHelper.java + (toCanonicalForm): Remove lowercasing of paths in Windows. This + breaks working with URLs, like when accessing files withing JAR + files. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLayeredPane.java + (paint): Only clear the background if the layeredPane is opaque. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/RepaintManager.java + (globalManager): Removed obsolete field. + (currentRepaintManagers): New field. + (RepaintWorker.run): Fetch current RepaintManager for the current + thread group. + (currentManager): Return the current manager for the current thread + group. + (setCurrentManager): Set the repaint manager for the current thread + group. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicComboPopup.java + (show): Instead of fiddling with the list size, set the preferredSize + of the scroller. + (configureScroller): Set border to null. + (configurePopup): Set border correctly. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (setButtonIcons): Only set icons if buttons are != null. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed some UI defaults used by ProgressBar. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextFieldUI.java + (propertyChange): Get new value from the PropertyChangeEvent and + not from the component itself (since when it receives the event, + the component still has the old state). + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (uninstallListeners): Uninstall the document listener here. + (getVisibleEditorRect): Fetch the textComponent via getComponent(). + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/BoxView.java + (paint): Only paint child if it is inside the current clip. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/AbstractButton.java + (setEnabled): Also set focusable flag on the button when the enabled + property changes. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicProgressBarUI.java + (boxRect): New protected field. + (PropertyChangeHandler.propertyChange): Fixed typo in 'indeterminate'. + Only start animation when progressBar is actually showing. Removed + repaint call. + (AncestorHandler): New inner class. Helps starting/stopping the + animation when progressBar becomes showing/hidden. + (ComponentHandler): New inner class. Recalculates box sizes for + indeterminate progress bars when the size of the progress bar + changes. + (boxRect): New protected field. + (boxDependent): New transient field. + (boxIndependent): New transient field. + (incr): New transient field. + (ancestorListener): New private field. + (componentListener): New private field. + (getBox): Fixed calculation of the indeterminate progress bar box + to match the JDK behaviour. + (getMaximumSize): Implemented the maximumSize for progressBars. + (getMinimumSize): Implemented the minimumSize for progressBars. + (getPreferredInnerHorizontal): Implemented correctly. + (getPreferredInnerVertical): Implemented correctly. + (getPreferredSize): Implemented correctly using the getPreferredXXX() + helper methods. + (paintDeterminate): Fixed painting to better match the JDK behaviour. + (paintIndeterminate): Fixed painting to better match the JDK behaviour. + (paintString): Implemented 'half-dark-half-light' painted text. + (installListeners): Install new listeners. + (uninstallListeners): Uninstall new listeners. + * javax/swing/plaf/basic/MetalProgressBarUI.java + (paintDeterminate): New method. + (paintIndeterminate): New method. + +2005-11-14 Roman Kennke <kennke@aicas.com> + + * examples/gnu/classpath/examples/swing/Demo.java + (static_initializer): Set the L&F and theme explicitly for the + default option, because JDK1.4 and JDK1.5 have different defaults. + (mkMenuBar): For the slider demo, trigger the new SliderDemo + class. Added ProgressBarDemo to menu. + (mkSliders): Removed obsolete slider demo. + (mkButtonBar): Added ProgressBar demo. + * examples/gnu/classpath/examples/swing/ProgressBarDemo.java: + New file. Demonstrates the JProgressBar. + +2005-11-13 Archie Cobbs <archie@dellroad.org> + + * vm/reference/gnu/classpath/VMStackWalker.java (getClassLoader()): + added to fix an infinite loop bug. + * NEWS: note VM interface change. + +2005-11-13 Ito Kazumitsu <kaz@maczuka.gcd.org> + + Fixes bug #23008 + * gnu/java/nio/charset/UTF_16Decoder.java + MAYBE_BIG_ENDIAN, MAYBE_LITTLE_ENDIAN: New constants representing + such endianness which is similar to UNKNOWN_ENDIAN but defaults + to big/little endian without a byte order mark. + (decodeLoop): Handle MAYBE_BIG_ENDIAN and MAYBE_LITTLE_ENDIAN. + * gnu/java/nio/charset/UnicodeLittle.java + (newDecoder): Set the endianness to MAYBE_LITTLE_ENDIAN. + +2005-11-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 24733 + * javax/swing/TransferHandler.java (getClipboard): Rewritten. + +2005-11-13 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/attribute/HashDocAttributeSet.java, + * javax/print/attribute/HashPrintJobAttributeSet.java, + * javax/print/attribute/HashPrintRequestAttributeSet.java, + * javax/print/attribute/HashPrintServiceAttributeSet.java, + Added class api docs and enhanced method api docs. + +2005-11-13 Tom Tromey <tromey@redhat.com> + + * native/jni/midi-dssi/.cvsignore: Updated. + * native/jni/midi-alsa/.cvsignore: New file. + * lib/.cvsignore: Updated. + +2005-11-13 Tom Tromey <tromey@redhat.com> + + * javax/sound/sampled/AudioFileFormat.java: New file. + * javax/sound/sampled/AudioFormat.java: New file. + * javax/sound/sampled/AudioInputStream.java: New file. + * javax/sound/sampled/AudioPermission.java: New file. + * javax/sound/sampled/AudioSystem.java: New file. + * javax/sound/sampled/BooleanControl.java: New file. + * javax/sound/sampled/Clip.java: New file. + * javax/sound/sampled/CompoundControl.java: New file. + * javax/sound/sampled/Control.java: New file. + * javax/sound/sampled/DataLine.java: New file. + * javax/sound/sampled/EnumControl.java: New file. + * javax/sound/sampled/FloatControl.java: New file. + * javax/sound/sampled/LineEvent.java: New file. + * javax/sound/sampled/Line.java: New file. + * javax/sound/sampled/LineListener.java: New file. + * javax/sound/sampled/LineUnavailableException.java: New file. + * javax/sound/sampled/Mixer.java: New file. + * javax/sound/sampled/Port.java: New file. + * javax/sound/sampled/ReverbType.java: New file. + * javax/sound/sampled/SourceDataLine.java: New file. + * javax/sound/sampled/spi/AudioFileReader.java: New file. + * javax/sound/sampled/spi/AudioFileWriter.java: New file. + * javax/sound/sampled/spi/FormatConversionProvider.java: New file. + * javax/sound/sampled/spi/MixerProvider.java: New file. + * javax/sound/sampled/TargetDataLine.java: New file. + * javax/sound/sampled/UnsupportedAudioFileException.java: New file. + +2005-11-13 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/attribute/EnumSyntax.java: + API docs added and enhanced for class and methods. + (readResolve): New method. + +2005-11-13 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/attribute/Attribute.java, + javax/print/attribute/AttributeSet.java, + javax/print/attribute/DocAttribute.java, + javax/print/attribute/DocAttributeSet.java, + javax/print/attribute/PrintJobAttribute.java, + javax/print/attribute/PrintJobAttributeSet.java, + javax/print/attribute/PrintRequestAttribute.java, + javax/print/attribute/PrintRequestAttributeSet.java, + javax/print/attribute/PrintServiceAttribute.java, + javax/print/attribute/PrintServiceAttributeSet.java, + javax/print/attribute/SupportedValuesAttribute.java, + javax/print/attribute/UnmodifiableSetException.java: + Added api documentation to class and method definitions. + * javax/print/attribute/package.html: Included a package description. + +2005-11-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Interceptor/gnuIorInfo.java (state): Made public. + * gnu/CORBA/Interceptor/gnuServerRequestInfo.java + (adapter_name, orb_id, server_id): New methods. + * org/omg/PortableInterceptor/IORInfoOperations.java + (state): New method. + * org/omg/PortableInterceptor/ServerRequestInfoOperations.java + (adapter_name, orb_id, server_id): New methods. + +2005-11-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR 24749 + * javax/swing/plaf/basic/BasicTextUI.java (installDefaults): + Call setSelectionColor. + +2005-11-12 Wolfgang Baer <WBaer@gmx.de> + + * java/io/ObjectInputStream.java + (processResolution): Pass Error, RuntimeException and + ObjectStreamException through to the caller. + (readObject): Documentation update. + +2005-11-11 Mark Wielaard <mark@klomp.org> + Anthony Green <green@redhat.com> + + * java/util/Properties.java (load): Short-circuit parsing when key or + value doesn't contain escape character. Use StringBuilder instead of + StringBuffer. + (store): Use StringBuilder instead of StringBuffer. + (formatForOutput): Likewise. + +2005-11-11 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (getMinimumDividerLocation): Fixed to use the minimum size + of the correct component. Also, removed call to getAvailableSize, + this is not needed for the minimum location. + +2005-11-11 Archie Cobbs <archie@dellroad.org> + + * autogen.sh: Fix broken libtool version detection on FreeBSD. + +2005-11-11 Lillian Angel <langel@redhat.com> + + * java/awt/Container.java + (LightweightDispatcher.acquireComponentForMouseEvent): If the + event is not being dispatched, the pressCount should be reset. + +2005-11-11 Mark Wielaard <mark@klomp.org> + + * javax/swing/text/FieldView.java (getPreferredSpan): Chain + BadLocationException when throwing assertion. + +2005-11-11 Mark Wielaard <mark@klomp.org> + + Reported by john.zigman@anu.edu.au as bug #24608. + * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in + destination ByteBuffer when it doesn't have an array instead of len + bytes. + +2005-11-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/IORInterceptor_3_0.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java, + org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java, + org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java: New files. + * gnu/CORBA/Interceptor/IORInterceptors.java, + gnu/CORBA/Interceptor/gnuIorInfo.java, + gnu/CORBA/OrbRestricted.java, + gnu/CORBA/Poa/AOM.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuPOAManager.java, + org/omg/PortableInterceptor/IORInfoOperations.java, + org/omg/PortableInterceptor/IORInterceptorOperations.java, + org/omg/PortableInterceptor/ORBInitInfoOperations.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: + Rewritten to support the IORInterceptor_3_0. + +2005-11-10 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (paintFocus): Centered border around rectangle. It seemed + a bit offset and too small at times. + +2005-11-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicListUI.java + (valueChanged): Repaint list when selection changed. + (updateLayoutState): Reworked to correctly respect fixed cell sizes. + (installListeners): Create component listener before adding it. + (paint): Optimized to only draw the cells in the clip. + +2005-11-10 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JComponent.java: + (processKeyEvent): Reworked this method to improve performance. Return + early if the event has already been handled. Don't stop climbing when + we hit a JInternalFrame, only stop at Applets or Windows (this fixes + PR 24781). Don't check WHEN_IN_FOCUSED_WINDOW bindings if there is no + top-level container present. If there is a top-level container, pass + it to KeyboardManager.processKeyStroke rather than the JComponent that + actually received the event, to save time in finding the top-level + container within KeyboardManager. + * javax/swing/KeyboardManager.java: + (findTopLevel): Changed parameter from JComponent to Component to allow + generality and to allow passing in of already-determined top-level + containers to save time. + (processKeyStroke): Likewise. + +2005-11-10 Mark Wielaard <mark@klomp.org> + + Fixes bug #24731 reported by freebeans@xqb.biglobe.ne.jp. + * java/awt/ScrollPane.java (addNotify): Return immediately when peer + already set. + +2005-11-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installListeners): Also install focusListener on the listBox. + (uninstallListeners): Also uninstall focusListener from the listBox. + (setPopupVisible): Request focus on the listbox when making the + popup visible. + +2005-11-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintingTile): New field. + (isPaintingTile): Implemented. + (paintChildren): Optimized painting of overlapping children. + +2005-11-10 Mark Wielaard <mark@klomp.org> + + Reported by Petteri <betelgeuse@gentoo.org> bug #24768 and bug #24769. + * configure.ac (dssi): Change accidental alsa reference to dssi. + * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_SOURCES): Add + dssi_data.h. + +2005-11-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/OrbFunctional.java (use_properties, set_parameters): + Rewritten to support orb and server ids. + * org/omg/CORBA/ORB.java, + org/omg/PortableInterceptor/ObjectReferenceTemplate.java: + Documentation update. + +2005-11-09 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JComponent.java: + (addNotify): Unregister all WHEN_IN_FOCUSED_WINDOW bindings for this + JComponent and then register them with its (potentially) new top level + ancestor. Removed unncessary code that copied regular (WHEN_FOCUSED) + key bindings up the parent hierarchy. + +2005-11-09 Roman Kennke <kennke@aicas.com> + + Reported by Friedjof Siebert <siebert@aicas.com> + * java/util/WeakHashMap.java + (WeakEntrySet.Iterator.checkMod): Improved exception message. + (internalRemove): Removed redundant reads of buckets[slot] and + prev.next and added checks to ensure that no null pointer + exception may occur and that this can be proved automatically. + +2005-11-09 Roman Kennke <kennke@aicas.com> + + Reported by Friedjof Siebert <siebert@aicas.com> + * java/io/PrintWriter.java + (line_separator): Added default value for property to ensure + absence of null pointer exception even if property is not set. + +2005-11-09 Roman Kennke <kennke@aicas.com> + + * java/io/InputStreamReader.java + (InputStreamReader(InputStream, CharsetDecoder)): Catch the case + when the CharsetDecoder returns a null charset and handle it like + US-ASCII. + +2005-11-09 Mark Wielaard <mark@klomp.org> + + Reported by Petteri Räty <betelgeuse@gentoo.org> + * INSTALL: Remove double --enable-xmlj entry. + +2005-11-09 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JComponent.java: + (processKeyEvent): Use local variables for boolean pressed and for + the KeyStroke. Implemented the code for WHEN_IN_FOCUSED_WINDOW + bindings. + (updateComponentInputMap): Implemented and fixed typo in docs. + * javax/swing/KeyboardManager.java: New class. + +2005-11-09 Lillian Angel <langel@redhat.com> + + * javax/swing/JTabbedPane.java + (setComponent): Tab should be inserted with a title, and removed from + the vector once set. + (removeTabAt): Tab should only be removed from vector. + remove(Component) is called to remove the tab from the JTabbedPane. + (remove): Added call to the component. This function should remove + the component as well as the tab. + +2005-11-09 Lillian Angel <langel@redhat.com> + + * javax/swing/JTabbedPane.java + (setComponent): No need to remove and add tab. + (remove): Fixed API documentation. + (remove): Fixed API documentation. Re-implemented according to API. + +2005-11-09 Mark Wielaard <mark@klomp.org> + + * doc/www.gnu.org/cp-tools/cp-tools.wml: Add gjdoc download link. + +2005-11-09 Chris Burdess <dog@gnu.org> + + * gnu/xml/aelfred2/SAXDriver.java: Ensure that absolutize does not + throw exception when custom entity resolver is set. + +2005-11-09 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/event/InvocationEvent.java: + (exception): Replaced this field (removed yesterday) because it is + needed for serialization. + (dispatch): Save thrown exception. + (getException): Directly return exception, no need to cast throwable. + +2005-11-09 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/ComponentInputMap.java: + (put): Notify the component. + (clear): Likewise. + (remove): Likewise. + (setParent): Notify the parent. Improved the exception messages. + * javax/swing/JComponent.java: + (inputMap_whenInFocusedWindow): Changed type from InputMap to + ComponentInputMap. + (setInputMap): If we're setting the WHEN_IN_FOCUSED_WINDOW map and + the parameter is not a ComponentInputMap or is not associated with + the same Component, throw an IllegalArgumentException. + (getInputMap): Create a new ComponentInputMap instead of a new + InputMap when the WHEN_IN_FOCUSED_WINDOW map doesn't yet exist. + (udpateComponentInputMap): New method. This is the method that + ComponentInputMap calls when it is updated. Not yet completely + implemented. + +2005-11-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java: + New files. + +2005-11-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/ObjectReferenceTemplate.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, + org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java: + New files. + +2005-11-09 Lillian Angel <langel@redhat.com> + + * javax/swing/JTabbedPane.java + (setComponent): Added check to prevent infinite loops. + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + (createLayoutManager): Should call super here, so the layout + is set properly depending on the layout mode. + +2005-11-09 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/Demo.java + (mkMenuBar): added file chooser item, + (mkButtonBar): split buttons into two rows, added 'FileChooser' button, + * examples/gnu/classpath/examples/swing/FileChooserDemo.java: New file. + +2005-11-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/ObjectReferenceFactory.java: Do not + inherit from org.omg.CORBA.Object. + +2005-11-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/ComponentUI.java + (update): Restore the foreground color after filling the background. + +2005-11-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paint): Fetch a new componentGraphics here instead of + paintComponent. + (paintComponent): Don't fetch the componentGraphics here. This + must be done in paint. + +2005-11-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JList.java + (setModel): throw IllegalArgumentException for null model. + +2005-11-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (getVisibleEditorRect): Correctly calculate the inner rectangle. + +2005-11-09 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (initStaticState): Register global variable glyphVector_class + as global reference. + +2005-11-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/DefaultCaret.java (BlinkTimerListener): + Added ignoreNextEvent flag and its handling. + (blinkListener): New field. (initBlinkTimer): + Initialise blinkListener field. + (setDot, moveDot): Call appear() instead of repaint(). + (appear): new method. + +2005-11-08 Lillian Angel <langel@redhat.com> + + * examples/gnu/classpath/examples/swing/GNULookAndFeel.java + (getDefaults): Added icons for checkboxes and radiobutton. + (CheckBoxIcon): New class, implemented. + (RadioButtonIcon): New class, implemented. + +2005-11-08 Tom Tromey <tromey@redhat.com> + + * gnu/classpath/SystemProperties.java: Don't mention + gnu.java.awt.FocusManager. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/CompositeView.java + (modelToView): Adjust the allocation to the child allocation before + forwarding to the child's modelToView. Replaced AssertionError by + BadLocationException, because that is the right thing to do here. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (GlassPaneDispatcher.acquireComponentForMouseEvent): Use the + frame's layeredPane as parent instead of the content pane + when searching for the event target. This way a possibly set menubar + is also included in the search. + +2005-11-08 Lillian Angel <langel@redhat.com> + + * java/awt/Window.java + (setLocationRelativeTo): Changed x and y to use getLocationOnScreen + and moved setLocation call outside of check. + * javax/swing/JOptionPane.java + (createDialog): Moved pack call and setLocationRelativeTo call here + and removed these calls from all other functions that call + createDialog. Also, removed FIXME, since call to setLocationRelativeTo + fixes this. + (showConfirmDialog): Removed pack and setLocationRelativeTo calls. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showMessageDialog): Likewise. + (showMessageDialog): Likewise. + (showOptionDialog): Likewise. + * javax/swing/JTree.java + (JTree): Should not use a shared instance of the selection model. It + is a problem when one application has two different trees. + * javax/swing/plaf/basic/BasicTreeUI.java + (paintRow): Changed parameter to be the focus of the tree. + (updateCurrentVisiblePath): Adjusted root path incase the root is hidden. + +2005-11-08 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/event/InvocationEvent.java: + (exception): Removed unnecessary field. + (dispatch): Removed reference to field exception. + (getException): If throwable is an Exception, return a casted version, + otherwise return null. + (getThrowable): Improved docs. + +2005-11-08 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/SwingUtilities.java: + (replaceUIActionMap): Stop climbing hierarchy once we've found an + ActionMapUIResource, don't keep looking until parent is null. No need + to check if child is null. + (replaceUIInputMap): Use a local variable for the parent rather than + 3 calls to get parent. No need to check if child is null. + * javax/swing/plaf/basic/BasicListUI.java: + * javax/swing/plaf/basic/BasicTableUI.java: + * javax/swing/plaf/basic/BasicTreeUI.java: + (installKeyboardActions): UI ActionMap should be of type + ActionMapUIResource, not just ActionMap. + +2005-11-08 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/DefaultStyledDocument.java: + (ElementBuffer.clone): New API method. + +2005-11-08 Anthony Balkissoon <abalkiss@redhat.com> + + * java/lang/String.java: + (replace): Use a StringBuilder instead of a StringBuffer because this + is faster and we don't need thread-safety. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Initialize background field correctly. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * java/awt/BorderLayout.java + (getAlignmentX): Return 0.5F here. + (getAlignmentY): Return 0.5F here. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/JRootPane.java + (RootLayout.glassPaneBounds): New field. + (RootLayout.layeredPaneBounds): New field. + (RootLayout.contentPaneBounds): New field. + (RootLayout.menuBarBounds): New field. + (RootLayout.prefSize): New field. + (getLayoutAlignmentX): Return 0.0F here. + (getLayoutAlignmentY): Return 0.0F here. + (invalidateLayout): Throw away cached layout information. + (layoutContainer): Simplified and fixed the layout. Use cache if + possible. + (preferredLayoutSize): Simplified and fixed the layout. Use cache if + possible. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (alignmentX): Changed default value to -1.0. + (alignmentY): Changed default value to -1.0. + (getAlignmentX): If no value has been set, refer to the superclass + behaviour. + (getAlignmentY): If no value has been set, refer to the superclass + behaviour. + (setAlignmentX): Catch invalid values and adjust them to the nearest + valid value. + (setAlignmentY): Catch invalid values and adjust them to the nearest + valid value. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * java/awt/Container.java + (getAlignmentX): Refer to the layout managers layoutAlignmentX + property if layout manager is a LayoutManager2. + (getAlignmentY): Refer to the layout managers layoutAlignmentY + property if layout manager is a LayoutManager2. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLayeredPane.java + (layerToRange): Return empty array for unknown layer instead of + throwing an exception. + +2005-11-08 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (invalidate): Don't invalidate invalid parents. + +2005-11-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/JComponent.java (setMaximumSize, + setMinimumSize, setPreferredSize): Clone the passed parameter. + +2005-11-07 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (invalidate): Invalidate up the whole tree, regardless if some + parent is already marked invalid. This is needed in some situations + for layout managers to throw away their cache. + +2005-11-07 Lillian Angel <langel@redhat.com> + + * javax/swing/JTable.java + (tableChanged): Cleared selection if there are no more rows. Prevents a + NPE. + * javax/swing/JTree.java + (scrollRectToVisible): No need to set the selection path here. + (expandPath): Sometimes it is required to set the state of a leaf, + especially if the leaf is the root node. + * javax/swing/plaf/basic/BasicTreeUI.java + (getRowCount): Added call to updateCurrentVisiblePath, so the + correct value is always returned. + (paint): No need to paint if the visible path is null. + (propertyChange): Implemented. + (paintRecursive): Added check for visibility of child. If it is + not visible because it was explicitly set to be hidden, no lines + should be drawn. + (paintControlIcons): Likewise. + (getPreviousNode): Fixed check to include root. + (paintRow): Set focus to be true (this will change in the future). + (updateCurrentVisiblePath): Fixed check to call getNextNode if + the current node is a leaf (more efficent than calling getNextSibling). + * javax/swing/tree/DefaultTreeCellRenderer.java + (getTreeCellRendererComponent): Changed to draw border if node has focus. + +2005-11-07 Ito Kazumitsu <kaz@maczuka.gcd.org> + + Fixes bug #24467 + * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c + (Java_gnu_java_nio_charset_iconv_IconvDecoder_decode): + Do not check errno == EINVAL, which is a normal case. + +2005-11-07 Ito Kazumitsu <kaz@maczuka.gcd.org> + + Fixes bug #22968 + * gnu/java/nio/charset/iconv/IconvProvider.java + (IconvProvider): Declare the constructor public. + +2005-11-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/JApplet.java + (initStageDone): Removed unnecessary field. + (JApplet): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JDialog.java + (initStageDone): Removed unnecessary field. + (dialogInit): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JFrame.java + (initStageDone): Removed unnecessary field. + (frameInit): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JWindow.java + (initStageDone): Removed unnecessary field. + (windowInit): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + * javax/swing/JInternalFrame.java + (initStageDone): Removed unnecessary field. + (JInternalFrame): Use rootPaneCheckingEnabled property instead of + initStageDone field. + (setLayout): Likewise. + (addImpl): Likewise. + (paramString): Return superclass paramstring. + (reshape): Call revalidate() instead of invalidate() and doLayout(). + (setUI): Temporarily go into init mode, so that the UI can + manipulate the frame directly. + (updateUI): Likewise. + +2005-11-07 Anthony Balkissoon <abalkiss@redhat.com> + + * java/lang/String.java: + (replace): Use a StringBuffer instead of String. Only search for new + occurrences of the target that occur AFTER the text just inserted, so + if the replacement string contains the target string we won't go into + an infinite loop. Use local variables instead of repeated calls to + length() and toString(). + +2005-11-07 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: + Use long for 64-bit architectures. + +2005-11-07 Anthony Balkissoon <abalkiss@redhat.com> + + * java/util/Arrays.java: + (toString(long[])): New API method. + (toString(int[])): Likewise. + (toString(short[])): Likewise. + (toString(char[])): Likewise. + (toString(byte[])): Likewise. + (toString(boolean[])): Likewise. + (toString(float[])): Likewise. + (toString(double[])): Likewise. + (toString(Object[])): Likewise. + +2005-11-07 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/event/InvocationEvent.java: + (throwable): New field. + (getThrowable): New API method. + (dispatch()): Catch Throwable, not Exception. Save the Throwable. If + it is an Exception, save the Exception. + +2005-11-07 Lillian Angel <langel@redhat.com> + + * javax/swing/Popup.java + (show): Set layout for panel. Otherwise, contents are + displayed at an arbitrary location. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPreferredMenuItemSize): Took into account insets. + * javax/swing/plaf/metal/MetalButtonUI.java + (paintFocus): Don't paint focus if not enabled. + +2005-11-07 Anthony Balkissoon <abalkiss@redhat.com> + + * java/lang/String.java: + (contains): New API method. + (replace): New API method. + +2005-11-07 Anthony Balkissoon <abalkiss@redhat.com> + + * java/lang/Boolean.java: + (compareTo(Boolean)): New API method. + +2005-11-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): update local reference to editor component always, + (getDisplaySize): implement new calculation for editable combo boxes, + * javax/swing/plaf/metal/MetalComboBoxEditor.java + (editorBorderInsets): initialise with correct value, + * javax/swing/plaf/metal/MetalComboBoxUI.java + (getMinimumSize): implemented different calculation for editable combo + boxes. + +2005-11-07 Lillian Angel <langel@redhat.com> + + * javax/swing/JOptionPane.java + (showConfirmDialog): Added call to set the location of the + dialog relative to its parent. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showInputDialog): Likewise. + (showMessageDialog): Likewise. + (showMessageDialog): Likewise. + (showMessageDialog): Likewise. + (showOptionDialog): Likewise. + +2005-11-07 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java + (getPreferredMenuItemSize): Adjusted width of menu item with + arrow icon. If the menu item can fit in the current width of + the top level menu, then the width of the menu item is set to + the width of the popup menu. Otherwise, the width of the + menu item is adjusted so that the width of the popup menu + is increased. + +2005-11-07 Mark Wielaard <mark@klomp.org> + + * configure.ac: Don't check or replace FREETYPE2. + * native/jni/gtk-peer/Makefile.am: Remove FREETYPE2_LIBS and + FREETYPE2_CFLAGS. + +2005-11-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalComboBoxEditor.java + (MetalComboBoxEditor): don't create new editor. + +2005-11-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxEditor.java: API docs plus + (BasicComboBoxEditor): set border to null and columns to 9, + (addActionListener): implemented, + (removeActionListener): implemented. + +2005-11-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/IOR.java (equals, hasCode): Compare port number as well + and do not crash on IOR.Internet==null. + +2005-11-06 Mark Wielaard <mark@klomp.org> + + * javax/swing/Timer.java (Waker.run): Test and set running while + holding queueLock. + (start): Set running to true. + (stop): Unconditionally notify queueLock. + (queueEvent): Only called when queueLock already held. + +2005-11-06 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setGradientUnlocked): Update + debug output to reflect actual situation. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked): + Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_drawPixels): Adjust + formatting. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetMatrixUnlocked): + Update debug output to reflect actual situation. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetRGBAColorUnlocked): + Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoCurveTo): Adjust + formatting. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoRelCurveTo): Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoRectangle): Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked): + Update debug output to reflect actual situation. + +2005-11-06 Mark Wielaard <mark@klomp.org> + + * java/awt/image/AreaAveragingScaleFilter.java: Add FIXME + * java/awt/Image.java (getScaledInstance): In case of + SCALE_AREA_AVERAGING use AreaAveragingScaleFilter. + +2005-11-06 Wolfgang Baer <WBaer@gmx.de> + + * javax/print/event/PrintEvent.java, + * javax/print/event/PrintJobAdapter.java, + * javax/print/event/PrintJobAttributeEvent.java, + * javax/print/event/PrintJobAttributeListener.java, + * javax/print/event/PrintJobEvent.java, + * javax/print/event/PrintJobListener.java, + * javax/print/event/PrintServiceAttributeEvent.java, + * javax/print/event/PrintServiceAttributeListener.java, + * javax/print/event/package.html: Added API docs all over. + +2005-11-06 Wolfgang Baer <WBaer@gmx.de> + + * java/io/File.java + (getParent): If pathname is "" return null. + (toURI): Also append separatorChar if path equals "". + (getAbsolutePath): If path equals "" only return the value + of the user.dir system property. + +2005-11-06 Chris Burdess <dog@gnu.org> + + * gnu/xml/stream/XMLStreamWriterImpl.java: Ensure that generated + prefixes do not accidentally clash, and provide documentation for + new virtual methods. createPrefix (new method) signature changed to + provide namespace URI for the benefit of subclasses. + +2005-11-06 Chris Burdess <dog@gnu.org> + + * gnu/xml/transform/StreamSerializer.java: Avoid undeclared apos + entity when output mode is HTML. + +2005-11-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/IOR.java (equals, hashCode): New metods. + * gnu/CORBA/SimpleDelegate.java (is_equivalent): Compare IORs when applicable. + +2005-11-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Minor.java (IOR_missing): New minor code. + * gnu/CORBA/NamingService/NameParser.java (corbaloc): Implemented + file//, ftp:// and http:// support. + * gnu/javax/rmi/CORBA/UtilDelegateImpl.java (mapSystemException): + Set the cause directly. + * org/omg/CORBA/DATA_CONVERSION.java, + org/omg/CORBA/ORB.java (string_to_object): Documentation update. + +2005-11-06 Chris Burdess <dog@gnu.org> + + * gnu/xml/stream/XMLStreamWriterImpl.java: Fixed handling of + namespaces when isPrefixDefaulting is set. + +2005-11-04 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/DefaultStyledDocument.java: Reformatted. + +2005-11-04 Lillian Angel <langel@redhat.com> + + * java/awt/Window.java + (setLocationRelativeTo): Implemented case when + component is not null. + +2005-11-04 Tom Tromey <tromey@redhat.com> + + * java/awt/image/BufferedImage.java (BufferedImage): Implement + Transparency. + (getTransparency): New method. + +2005-11-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/SocketRepository.java (sockets): Changed type to + HashMap. (put_socket, get_socket, gc): + Always synchronize on 'sockets'. + +2005-11-04 Mark Wielaard <mark@klomp.org> + + * configure.ac: Set version to 0.20-pre. + +2005-11-04 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/StyleConstants.java: + (Family): New API field. + (Size): New API field. + +2005-11-04 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): Changed to use isTopLevelMenu rather than checking + instance of parent. + * javax/swing/plaf/basic/BasicPopupMenuUI.java + (popupMenuWillBecomeInvisible): Added check to prevent NPE. + * javax/swing/Popup.java: + Added new private field. + (LightweightPopup): Initialized layeredPane. + (show): Removed unneeded code. + (hide): Likewise. + +2005-11-04 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/DefaultTableCellRenderer.java + (updateUI): Set the background and foreground color fields to null + here so that installing the LabelUI does not interfere with our + custom set colors. + (getTableCellRendererComponent): Only set UI focus colors when + cell is actually editable. Added optimization for the case + when background is equal to table background. + +2005-11-04 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Call super.setBackground() or + super.setForeground() to avoid overriding custom set background or + foreground colors. Set the UI focus colors when focused. + +2005-11-04 Roman Kennke <kennke@aicas.com> + + * examples/gnu/classpath/examples/swing/TextFieldDemo.java: New file. + Demonstrates the JTextFields in various states. + * examples/gnu/classpath/examples/swing/Demo.java: Replaced the + old textfield demo with the new one. + +2005-11-04 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (getMinimumSize): New method. + * javax/swing/text/FieldView.java + (getPreferredSpan): Added assert that replaces a 'should never happen' + comment. + +2005-11-04 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (getTiledSizeRequirements): Added check for overflows. + (adjustGreater): Fixed overflow handling through usage of long + instead of int. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultCaret.java + (positionCaret): Call setDot instead of moveDot. + * javax/swing/text/PlainView.java + (viewToModel): Exclude the final newline character from calculation. + +2005-11-03 Mark Wielaard <mark@klomp.org> + + * doc/www.gnu.org/announce/20051102.wml: New file. + * doc/www.gnu.org/newsitems.txt: Add 0.19 release announcement. + * doc/www.gnu.org/downloads/downloads.wml: Add 0.19. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/DefaultTableCellRenderer.java + (background): New field. + (foreground): New field. + (setBackground): Store the color that is set here. + (setForeground): Store the color that is set here. + (getTableCellRendererComponent): For the unselected color, set the + value of the foreground or background fields if not null, otherwise + the value of the according table properties. Don't change + the color in the focused clause. + +2005-11-03 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (mousePressed): If the control icon is clicked, the + path selected should not be changed. + (paintRecursively): Moved call to getChildCount before + loop. + (paintRow): Added a check to prevent NPE. + (updateCurrentVisiblePath): Made this slightly more efficent. + Instead of checking each path, we can check the siblings if the + current node is not expanded. + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Fixed indentation, and changed + to set the background color if it is not an instance of + ColorUIResource. Prevents overriding a user-set color. + +2005-11-03 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/WrappedPlainView.java: Fixed some > 80 chars lines. + (drawSelectedText): Fixed startOffset for call to + Utilities.drawTabbedText to make sure tabs are properly expanded. + (drawUnselectedText): Likewise. + (getMinimumSpan): New API method. + (getMaximumSpan): New API method. + (setSize): Call preferenceChanged if the width has changed. + (WrappedLine.determineNumLines): Move numLines=0 to the top in case + the early return happens, numLines will still be correct. + (WrappedLine.updateDamage): New implementation method called by + insertUpdate and removeUpdate to repaint the appropriate part of the + JTextArea. + (WrappedLine.insertUpdate): New method. + (WrappedLine.removeUpdate): New method. + +2005-11-03 Lillian Angel <langel@redhat.com> + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Fixed so that the label is + painted with the correct background color. Does not depend on + type of border. Removed this code. + +2005-11-03 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/JTextComponent.java: + (select): The end index cannot be smaller than the start index, changed + Math.max(end, 0) to Math.max(end, start). + * javax/swing/text/WrappedPlainView.java: + (selectionStart): New package private field. + (selectionEnd): Likewise. + (drawLine): Implemented to call drawUnselectedText and drawSelectedText + on the appropriate parts of the line. Before it just drew the whole + line with drawUnselectedText. + (paint): Store the start and end of the selection. + (WrappedLine.paint): Set the selected color to Color.WHITE. + +2005-11-03 Lillian Angel <langel@redhat.com> + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Should only draw focus if the border + is not an empty border. + +2005-11-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR swing/24650 + * javax/swing/text/PlainView.java (viewToModel)): + The end of line symbol (0xA), if being the last member in the + obtained text, should not be counted. + +2005-11-03 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Changed field to be the gap between the different + menu's instead. defaultTextArrowGap is not needed. + (getPreferredMenuItemSize): Adjusted preferred size of + Menu Item with an arrowIcon to be the size of the + popupMenu. If its parent is not a popupMenu, then + it is a new Menu on a MenuBar. + * javax/swing/plaf/metal/MetalButtonUI.java + (paintFocus): Height of focus border should not be + adjusted. It was being cutoff. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (RootView.getNextVisualPositionFrom): New method. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultStyledDocument.java + (AttributeUndoableEdit): New inner class. + (StyleChangeListener): New inner class. + (styleChangeListener): New field. + (addStyle): Add styleChangeListener to new style. + (getStyleNames): New method. + (styleChanged): New method. + (insert): New method. + (create): New method. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultTextUI.java: New file. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultCaret.java + (mouseDragged): Call moveCaret. + (mouseClicked): Made TODO comment more precise. + (mouseExited): Replaced TODO comment with Nothing to do comment. + (mousePressed): Call positionCaret. + (moveCaret): Implemented. + (positionCaret): Implemented. + (moveDot): Call adjustVisibility. + (setDot): Call adjustVisibility. + (adjustVisibility): New method. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/Utilities.java + (getPositionAbove): New utility method. + (getPositionBelow): New utility method. + (getParagraphElement): Special case for StyledDocuments. + * javax/swing/text/View.java + (getNextVisualPositionFrom): New abstract method. + * javax/swing/text/ComponentView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/CompositeView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/FlowView.java + (LogicalView.getNextVisualPositionFrom): New method. + * javax/swing/text/GlyphView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/IconView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/PlainView.java + (getNextVisualPositionFrom): New method. + * javax/swing/text/WrappedPlainView.java + (WrappedLine.getNextVisualPositionFrom): New method. + +2005-11-03 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultCaret.java + (BlinkTimerListener): New inner class. Listens for when the + blink timer fires and updates the visible flag accordingly. + (visible): Default value for visible should be false. + (blinkTimer): New field. + (Caret): New constructor. + (focusGained): Make the caret visible. + (focusLost): Make caret invisible if the focus lost is permanent. + (deinstall): Deinstall the blink timer. + (repaint): Call getComponent() instead of directly accessing the + textComponent field. + (paint): Call getComponent() instead of directly accessing the + textComponent field. Added an assert for the 'this should never + happen' comment. Update the caret rectangle if damage hasn't been + called before. + (setBlinkRate): Set the blink rate in the timer if there is already + a timer present. + (setVisible): Call damage on the caret's location. Start/Stop blink + timer. + (damage): New method. Updates the caret's bounds. + * javax/swing/text/JTextComponent.java + (CaretBlinkTimer): Removed unneeded inner class. + (caretBlinkTimer): Removed unneeded field. + (JTextComponent): Removed initialization of blink timer. + (setEditable): Removed starting of blink timer. + (setCaret): Likewise. + * javax/swing/text/Utilities.java + (getParagraphElement): New utility method. + +2005-11-02 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkGraphics.java (initComponentGraphics): Set + color to BLACK when getForeground() returns null. + (initComponentGraphicsUnlocked): Likewise. + +2005-11-02 Mark Wielaard <mark@klomp.org> + + * javax/swing/Timer.java (Waker.run): Synchronize on queueLock and use + queueLock.wait(), not Thread.sleep(). + (start): Synchronize on queueLock and check whether waker is null. + (stop): Synchronize on queueLock and notifyAll(). + +2005-11-02 Mark Wielaard <mark@klomp.org> + + * configure.ac: Set version to 0.19. + * NEWS: Add date of release. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * java/awt/Dialog.java + (show): Do not call pack() here. + +2005-11-02 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * AUTHORS: Added myself. + +2005-11-02 Mark Wielaard <mark@klomp.org> + + * javax/swing/Timer.java (Waker.run): Only break out when !running. + +2005-11-02 Mark Wielaard <mark@klomp.org> + + * javax/swing/UIManager.java (static): Print complete exception. + +2005-11-02 Mark Wielaard <mark@klomp.org> + + * lib/Makefile.am: Add typeHiding, unchecked, unused and varargsCast + to ECJ compile warning rule. + +2005-11-02 Guilhem Lavaux <guilhem@kaffe.org> + + * lib/copy-vmresources.sh.in: Added definition for top_srcdir. + +2005-11-02 Andreas Tobler <a.tobler@schweiz.ch> + + * NEWS: Mention Qt4 configury for OS-X. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * NEWS: Added some news items regarding my Swing work. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (findOverlapFreeParent): Don't search beyond the components + containing window (important when in a Dialog). + +2005-11-02 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * AUTHORS: Added myself to the cool gang. + +2005-11-02 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/WrappedPlainView.java: + (calculateBreakPosition): If the component is not valid use it's + preferredSize instead of getBounds(). + +2005-11-02 Lillian Angel <langel@redhat.com> + + * java/awt/Dialog.java + (show): pack should always be called before show, so Dialog is + set to the correct size and validated. + +2005-11-02 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * configure.ac: Check for cairo, pangoft2 and freetype2 only + when gtk peers are enabled. + +2005-11-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * AUTHORS (Stuart Ballard): Address update. + +2005-11-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * AUTHORS: Added Lillian Angel. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/JToolBar.java + (addImpl): Don't call updateUI here. This is really not necessary. + * javax/swing/plaf/basic/BasicToolBarUI.java + (installDefaults): Call setRolloverBorders() here in order to + initialize the button borders. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (PropertyChangeHandler.propertyChange): Re-setup listeners on + the scrollbars if the scrollbars change. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * java/awt/Container.java + (addImpl): Notify registered ContainerListeners even when the + Container is not showing. Notify the listeners directly, not + via the event queue. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed the defaults for EditorPane.border, + TextArea.font and TextPane.border. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (getForeground): Return null as default color, instead of some + system color. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/BoxLayout.java + (BoxLayout): Throw AWTError when the axis is invalid. + (minimumLayoutSize): Respect the insets of the container. + (maximumLayoutSize): Likewise. + (invalidateLayout): Throw AWTError if the managed container is + not the same as the parent parameter. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) instead + of (Integer.MAX_VALUE, Integer.MAX_VALUE) as shown by the + Mauve test. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (AccessibleJTable.AccessibleJTableCell): New inner class. + +2005-11-02 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/filechooser/FileSystemView.java: Added API docs all over, + * javax/swing/filechooser/UnixFileSystemView.java: Likewise. + +2005-11-02 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * java/lang/String.java (String): Added + StringIndexOutOfBoundsException check (overflow) and a message + to the exceptions. + +2005-11-02 David Gilbert <david.gilbert@object-refinery.com> + + * NEWS: added entries for javax.swing.plaf.metal.* package and updates + to the gnu.classpath.examples.swing.Demo application, + * AUTHORS: Added my name to bring honour and glory to myself and all + my descendants. + +2005-11-02 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (AccessibleJComponent.changeSupport): New field. + (AccessibleJComponent.AccessibleJComponent): Initialize changeSupport. + (AccessibleJComponent.addPropertyChangeListener): Implemented this + method. + (AccessibleJComponent.removePropertyChangeListener): Implemented this + method. + (AccessibleJComponent.getAccessibleChildrenCount): Implemented this + method. + (AccessibleJComponent.getAccessibleChild): Implemented this + method. + (AccessibleJComponent.getAccessibleName): Added API comment and + TODO tag. + (AccessibleJComponent.getAccessibleDescription): Added API comment + and TODO tag. + (AccessibleJComponent.getAccessibleRole): Implemented this method. + (AccessibleJComponent.getBorderTitle): Implemented this method. + (AccessibleJComponent.getToolTipText): Implemented this method. + (AccessibleJComponent.getTitledBorderText): Implemented this method. + (AccessibleJComponent.getAccessibleKeyBinding): Added API comment + and TODO tag. + +2005-11-01 Mark Wielaard <mark@klomp.org> + + * examples/gnu/classpath/examples/swing/Demo.java (init): Use + JOptionPane to select the laf if not explicitly set. + +2005-11-01 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/io/ObjectInputStream.java: + (parseContent(byte)): Remove weird exception + throwing. + +2005-11-01 Roman Kennke <kennke@aicas.com> + + * java/awt/Window.java + (show): Don't set size of the window here. + +2005-11-01 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalScrollPaneUI.java + (instance): Removed unnecessary field. + (createUI): Always return a new instance instead of returning a + shared instance. + +2005-11-01 Lillian Angel <langel@redhat.com> + + * java/awt/Window.java + (show): If pack is not called before show, the size of the + window is often set to 0. This is now fixed. + +2005-11-01 Roman Kennke <kennke@aicas.com> + + * javax/swing/JPopupMenu.java + (setVisible): Pack the JPopupMenu before fetching the Popup + instance. Otherwise the PopupFactory has the wrong size for + its size check. + +2005-11-01 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JTable.java: + (JTable(TableModel, TableColumnModel, ListSelectionModel)): Call + updateUI after initializeLocalVars. Manually set the lead selection + indices. + +2005-11-01 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicFileChooserUI.java: + (getApproveButtonText): First use the JFileChooser's approve button + text, but if it is null, then try otherwise. + +2005-11-01 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * vm/reference/java/lang/VMThread.java (sleep): Don't round + ms and pass ns to Object.wait, fixes mauve test. + +2005-11-01 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JFileChooser.java: + (getDialogTitle): Allow return of null. + (getApproveButtonText): Likewise. + (getFileView): Likewise. + (getName): First try using the JFileChooser's FileView, if null, then + pass call to UI. + (getDescription): Likewise. + (getTypeDescription): Likewise. + (getIcon): Likewise. + +2005-11-01 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JTable.java: + (JTable(TableModel, TableColumnModel, ListSelectionModel)): Set the + model before calling initializeLocalVars. + +2005-11-01 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (BasicCheckBoxMenuItem): Moved code to BasicMenuItemUI.installDefaults + (processMouseEvent): Added TODO comment. Not sure about the + correct implementation yet. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Removed MenuItem.checkIcon default. Only + RadioButtonMenuItem's and CheckBoxMenuItem's have checkIcons. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (installDefaults): Fixed to initialized checkIcon. If the menuItem is + not a RadioButtonMenuItem or CheckBoxMenuItem, then checkIcon is null. + Also, fixed defaults to use prefix. + +2005-11-01 Jeroen Frijters <jeroen@frijters.net> + + * java/io/ObjectOutputStream.java + (writeObject): Fixed NPE. + +2005-10-31 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicTextAreaUI.java: + (create): Added docs. Create WrappedPlainView instead of PlainView if + the text area has line wrapping turned on. + (propertyChange): New API method. If line wrapping is turned on or off + or if the style of wrapping (character or word) is changed, call + modelChanged(). + * javax/swing/plaf/basic/BasicTextUI.java: + (setView): Call revalidate and repaint after setting the View. + * javax/swing/text/WrappedPlainView.java: + (insertUpdate): Repaint the container. + (removeUpdate): Likewise. + (changedUpdate): Likewise. + +2005-10-31 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/WrappedPlainView.java: + (viewFactory): New field. + (drawLine): New API method. + (calculateBreakPosition): Update the metrics before calling Utilities + methods. Fixed error in offset argument passed to the Utilities + methods. + (updateMetrics): New implementation method. + (getPreferredSpan): New API method. + (insertUpdate): Likewise. + (removeUpdate): Likewise. + (changedUpdate): Likewise. + (WrappedLineCreator): New class. + (paint): New API method. + (setSize): New API method. + (WrappedLine.paint): Implemented. + (WrappedLine.getPreferredSpan): Don't update the metrics, this is now + done in WrappedPlainView.paint. + (WrappedLine.modelToView): Likewise. + (WrappedLine.viewToModel): Likewise. + +2005-10-31 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getTabbedTextOffset): Adjusted for loop bound down by s.offset and + adjusted array index up by s.offset. This fixes the second part of + PR 24316. Expand tabs, not newlines. Allow the x-position to reach + the end specified position (use < instead of <=). + +2005-10-31 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTextField.java + (horizontalVisibility): New field. + (JTextField): Initialize horizontalVisibility field. + (getHorizontalVisibility): New method. + +2005-10-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/SocketRepository.java (not_reusable, gc): New methods. + (sockets): Use hashtable. (get_socket): Rewritten. + +2005-10-31 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (AccessibleJTable.tableChanged): Implemented. + (AccessibleJTable.tableRowsInserted): Implemented. + (AccessibleJTable.tableRowsDeleted): Implemented. + +2005-10-30 Mark Wielaard <mark@klomp.org> + + * javax/swing/plaf/basic/BasicTreeUI.java + (updateCurrentVisiblePath): Check whether treeModel is null. + +2005-10-30 Mark Wielaard <mark@klomp.org> + + * examples/gnu/classpath/examples/swing/Demo.java (static): Set look + and feel before showing dialog. Clean up message text. + +2005-10-30 Mark Wielaard <mark@klomp.org> + + * javax/swing/text/PlainView.java (determineMaxLineLength): Get + correct lenght of text. + (drawLine): Throw AssertionError on unexpected bad location. + (viewToModel): Likewise. + +2005-10-30 Mark Wielaard <mark@klomp.org> + + * javax/swing/text/AbstractDocument.java (dump): Actually throw + AssertionError when constructed. + * javax/swing/text/DefaultFormatter.java (checkValidInput): Add cause + to AssertionError. + * javax/swing/text/DefaultStyledDocument.java (insertUpdate): + Likewise. + * javax/swing/text/GlyphView.java (getPartialSpan): Likewise. + (getText): Likewise. + * javax/swing/text/PlainView.java (determineMaxLineLength): Likewise. + (updateDamage): Likewise. + +2005-10-30 Mark Wielaard <mark@klomp.org> + + * gnu/java/rmi/server/UnicastServer.java (refcache): Make it a + synchronized IdentityHashMap. + +2005-10-30 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + (GdkGraphics2D(GdkGraphics2D,int, int, int,int)): New constructor. + (create(int,int,int,int)): Use new constructor. + (copyArea): Implement through create() and gdkDrawDrawable(). + +2005-10-29 Guilhem Lavaux <guilhem@kaffe.org> + + * java/nio/channels/spi/AbstractSelectableChannel.java + (register): Throw IllegalBlockingModeException if the channel is + not in blocking mode. + +2005-10-29 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/ButtonDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): don't add closePanel here, + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): don't add closePanel here, + * examples/gnu/classpath/examples/swing/ScrollBarDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): don't add closePanel here, + * examples/gnu/classpath/examples/swing/SliderDemo.java + (ButtonDemo): add closePanel after content is created, + (createContent): add separate checkBoxPanel but don't add closePanel + here. + +2005-10-28 Roman Kennke <kennke@aicas.com> + + * java/awt/KeyboardFocusManager.java + (setCurrentKeyboardFocusManager): Create a DefaultKeyboardFocusManager + directly. + (createFocusManager): Removed. + * gnu/java/awt/FocusManager.java: Removed. + * javax/swing/FocusManager.java + (DisabledFocusManager): Removed inner class. + (WrappingFocusManager): New inner class. + (getCurrentManager): Return WrappingKeyboardFocusManager instance. + +2005-10-28 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/Component.java: + (requestFocus): If this component is a Container, start here, not at + its parent when looking for the top-level ancestor. If no top-level + ancestor is found (parent == null), return. + +2005-10-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/DefaulTableCellRenderer.java + (getTableCellRenderer): Correctly configure the cell renderer for + selected and / or focused cells. + * javax/swing/table/JTableHeader.java + (getHeaderRect): Don't include the intercellSpacing in the + header rectangle. + +2005-10-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTableUI.java + (MouseInputHandler.mouseDragged): Only react if table is enabled. + (MouseInputHandler.mousePressed): Only react if table is enabled. + (MouseInputHandler.mouseReleased): Only react if table is enabled. + (PropertyChangeHandler): New inner class. Updates the state of + the table if the model property changes. + (installDefaults): Don't load the highlightCellBorder here. This + is done in the cell renderer now. + (installListeners): Install the new PropertyChangeListener. + (uninstallListeners): Uninstall the new PropertyChangeListener. + (paintCell): Fixed determination of the selected and focused state + of the cell. Removed handling of the border (this is moved into + the cell renderer). + (paint): Fixed the rectangle calculation of the cell. Fixed painting + of the grid. + +2005-10-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/DefaultListSelectionModel.java + (setLeadSelectionIndex): Forbit some changes to leadSelectionIndex + when the anchorSelectionIndex is not set properly. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Poa/AOM.java, + gnu/CORBA/Poa/AccessiblePolicy.java, + gnu/CORBA/Poa/DynamicImpHandler.java, + gnu/CORBA/Poa/StandardPolicies.java, + gnu/CORBA/Poa/ServantDelegateImpl.java, + gnu/CORBA/Poa/NamingService/NameComponentComparator.java + gnu/CORBA/Poa/NamingService/NameTransformer.java + gnu/CORBA/GIOP/ContextHandler.java, + gnu/CORBA/GIOP/CodeSetServiceContext.java: New files. + * gnu/CORBA/GIOP/contextSupportingHeader.java, + gnu/CORBA/GIOP/cxCodeSet.java, + gnu/CORBA/NamingService/cmpNameComponent.java, + gnu/CORBA/NamingService/snConverter.java, + gnu/CORBA/Poa/activeObjectMap.java, + gnu/CORBA/Poa/dynImpHandler.java, + gnu/CORBA/Poa/policySets.java, + gnu/CORBA/Poa/servantDelegate.java, + gnu/CORBA/Poa/vPolicy.java: Removed. + * gnu/CORBA/GIOP/CharSets_OSF: + Explaining the reason of setting "_OSF" apart. + * gnu/CORBA/CDR/AbstractCdrInput.java, + gnu/CORBA/CDR/AbstractCdrOutput.java, + gnu/CORBA/GIOP/CharSets_OSF.java, + gnu/CORBA/GIOP/ReplyHeader.java, + gnu/CORBA/GIOP/RequestHeader.java, + gnu/CORBA/GIOP/ServiceContext.java, + gnu/CORBA/GIOP/v1_0/ReplyHeader.java, + gnu/CORBA/GIOP/v1_0/RequestHeader.java, + gnu/CORBA/GIOP/v1_2/ReplyHeader.java, + gnu/CORBA/GIOP/v1_2/RequestHeader.java, + gnu/CORBA/IOR.java, + gnu/CORBA/NamingService/Ext.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/NamingService/NamingMap.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuAdapterActivator.java, + gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, + gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, + gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, + gnu/CORBA/Poa/gnuLifespanPolicy.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Poa/gnuServantRetentionPolicy.java, + gnu/CORBA/Poa/gnuThreadPolicy.java, + gnu/CORBA/ResponseHandlerImpl.java, + gnu/CORBA/gnuRequest.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + org/omg/CosNaming/_NamingContextExtStub.java: + References updated. + +2005-10-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (JTable): Changed order of initialization (UI first, then the model + etc), so that the UI gets notified of the initial model change. + (rowAtPoint): Don't add the intercellSpacing in the calculation + of the row-at-Point. + (setModel): Throw a PropertyChangeEvent here if the model changes. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/DynAn/ValueChangeListener.java + gnu/CORBA/DynAn/AbstractAny.java + gnu/CORBA/DynAn/RecordAny.java + gnu/CORBA/DynAn/DivideableAny.java + gnu/CORBA/DynAn/UndivideableAny.java: New files. + * gnu/CORBA/DynAn/abstractDynAny.java, + gnu/CORBA/DynAn/recordAny.java, + gnu/CORBA/DynAn/anyDivideable.java, + gnu/CORBA/DynAn/anyUndivideable.java, + gnu/CORBA/DynAn/valueChangedListener.java: Removed. + * gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynArray.java, + gnu/CORBA/DynAn/gnuDynEnum.java, + gnu/CORBA/DynAn/gnuDynFixed.java, + gnu/CORBA/DynAn/gnuDynStruct.java, + gnu/CORBA/DynAn/gnuDynUnion.java, + gnu/CORBA/DynAn/gnuDynValue.java, + gnu/CORBA/DynAn/gnuDynValueBox.java: + References updated. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/CDR/abstractDataInputStream.java, + gnu/CORBA/CDR/abstractDataOutputStream.java, + gnu/CORBA/CDR/aligningInputStream.java, + gnu/CORBA/CDR/aligningOutputStream.java, + gnu/CORBA/CDR/cdrBufInput.java.java, + gnu/CORBA/CDR/cdrBufOutput.java + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/CDR/encapsulatedOutput.java, + gnu/CORBA/CDR/noHeaderInput.java: Removed. + * gnu/CORBA/CDR/HeadlessInput.java + gnu/CORBA/CDR/AbstractCdrInput.java + gnu/CORBA/CDR/AbstractCdrOutput.java + gnu/CORBA/CDR/AbstractDataInput.java + gnu/CORBA/CDR/AbstractDataOutput.java + gnu/CORBA/CDR/AligningInput.java + gnu/CORBA/CDR/AligningOutput.java + gnu/CORBA/CDR/BufferedCdrOutput.java + gnu/CORBA/CDR/BufferredCdrInput.java + gnu/CORBA/CDR/EncapsulationStream.java: New files. + * gnu/CORBA/CDR/ArrayValueHelper.java, + gnu/CORBA/CDR/BigEndianInputStream.java, + gnu/CORBA/CDR/BigEndianOutputStream.java, + gnu/CORBA/CDR/LittleEndianInputStream.java, + gnu/CORBA/CDR/LittleEndianOutputStream.java, + gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CdrEncapsCodecImpl.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/GIOP/ReplyHeader.java, + gnu/CORBA/GIOP/RequestHeader.java, + gnu/CORBA/GIOP/ServiceContext.java, + gnu/CORBA/GIOP/cxCodeSet.java, + gnu/CORBA/GIOP/v1_0/ReplyHeader.java, + gnu/CORBA/GIOP/v1_0/RequestHeader.java, + gnu/CORBA/GIOP/v1_2/ReplyHeader.java, + gnu/CORBA/GIOP/v1_2/RequestHeader.java, + gnu/CORBA/GeneralHolder.java, + gnu/CORBA/IOR.java, + gnu/CORBA/Interceptor/gnuIcCurrent.java, + gnu/CORBA/IorDelegate.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/OrbFunctional.java, + gnu/CORBA/OrbRestricted.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/RawReply.java, + gnu/CORBA/ResponseHandlerImpl.java, + gnu/CORBA/ServiceRequestAdapter.java, + gnu/CORBA/StreamBasedRequest.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/typecodes/GeneralTypeCode.java, + gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, + gnu/javax/rmi/CORBA/RmiUtilities.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + org/omg/IOP/TaggedProfileHelper.java: + References updated. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/rmi/CORBA/corbaObjectInput.java, + gnu/javax/rmi/CORBA/corbaObjectOutput.java, + gnu/javax/rmi/CORBA/dwoTester.java, + gnu/javax/rmi/CORBA/gnuRmiUtil: Deleted. + * gnu/javax/rmi/CORBA/CorbaInput.java, + gnu/javax/rmi/CORBA/CorbaOutput.java, + gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, + gnu/javax/rmi/CORBA/RmiUtilities.java: New files. + * gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java: + References updated. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/holderFactory.java, + gnu/CORBA/IOR_contructed_object.java, + gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/Simple_delegate.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/Focused_ORB.java: Removed. + * gnu/CORBA/HolderLocator.java + gnu/CORBA/IorDelegate.java + gnu/CORBA/IorObject.java + gnu/CORBA/OrbFocused.java + gnu/CORBA/OrbFunctional.java + gnu/CORBA/OrbRestricted.java + gnu/CORBA/SimpleDelegate.java: New files. + * gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/DynAn/abstractRecord.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynAnyFactory.java, + gnu/CORBA/DynAn/gnuDynArray.java, + gnu/CORBA/DynAn/gnuDynValueBox.java, + gnu/CORBA/GIOP/ErrorMessage.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/NamingService/NamingServiceTransient.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/StubLocator.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java, + org/omg/CORBA/CompletionStatusHelper.java, + org/omg/CORBA/DefinitionKindHelper.java, + org/omg/CORBA/FieldNameHelper.java, + org/omg/CORBA/IDLTypeHelper.java, + org/omg/CORBA/IdentifierHelper.java, + org/omg/CORBA/ORB.java, + org/omg/CORBA/ParameterModeHelper.java, + org/omg/CORBA/RepositoryIdHelper.java, + org/omg/CORBA/SetOverrideTypeHelper.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/StructMemberHelper.java, + org/omg/CORBA/UnionMemberHelper.java, + org/omg/CORBA/ValueMemberHelper.java, + org/omg/CORBA/VersionSpecHelper.java, + org/omg/CORBA/VisibilityHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/_IDLTypeStub.java, + org/omg/CosNaming/IstringHelper.java, + org/omg/DynamicAny/FieldNameHelper.java, + org/omg/PortableInterceptor/AdapterNameHelper.java, + org/omg/PortableInterceptor/ORBIdHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java, + org/omg/PortableInterceptor/ObjectIdHelper.java, + org/omg/PortableInterceptor/ServerIdHelper.java: + References updated. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/universalHolder.java + gnu/CORBA/stubFinder.java + gnu/CORBA/typeNamer.java + gnu/CORBA/streamRequest.java + gnu/CORBA/streamReadyHolder.java + gnu/CORBA/binaryReply.java + gnu/CORBA/bufferedResponseHandler.java + gnu/CORBA/cdrEncapsCodec.java + gnu/CORBA/corbaArrayList.java: Removed. + * gnu/CORBA/CdrEncapsCodecImpl.java, + gnu/CORBA/CorbaList.java, + gnu/CORBA/GeneralHolder.java, + gnu/CORBA/RawReply.java, + gnu/CORBA/ResponseHandlerImpl.java, + gnu/CORBA/StreamBasedRequest.java, + gnu/CORBA/StreamHolder.java, + gnu/CORBA/StubLocator.java, + gnu/CORBA/TypeKindNamer.java: New files. + * gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/DynAn/abstractDynAny.java, + gnu/CORBA/DynAn/anyDivideable.java, + gnu/CORBA/DynAn/gnuDynAny.java, + gnu/CORBA/DynAn/gnuDynAnyFactory.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/ServiceRequestAdapter.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuCodecFactory.java, + gnu/CORBA/gnuContextList.java, + gnu/CORBA/gnuExceptionList.java, + gnu/CORBA/gnuNVList.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/typecodes/RecordTypeCode.java: + References updated. + +2005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/typecodes/AliasTypeCode.java, + gnu/CORBA/typecodes/ArrayTypeCode.java, + gnu/CORBA/typecodes/FixedTypeCode.java, + gnu/CORBA/typecodes/GeneralTypeCode.java, + gnu/CORBA/typecodes/PrimitiveTypeCode.java, + gnu/CORBA/typecodes/RecordTypeCode.java, + gnu/CORBA/typecodes/RecursiveTypeCode.java, + gnu/CORBA/typecodes/StringTypeCode.java, + gnu/CORBA/typecodes/package.html: New files. + * gnu/CORBA/aliasTypeCode.java, + gnu/CORBA/primitiveArrayTypeCode.java, + gnu/CORBA/fixedTypeCode.java, + gnu/CORBA/generalTypeCode.java, + gnu/CORBA/primitiveTypeCode.java, + gnu/CORBA/recordTypeCode.java, + gnu/CORBA/recursiveTypeCode.java, + gnu/CORBA/stringTypeCode.java: Deleted. + * gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/OctetHolder.java, + gnu/CORBA/Poa/LocalRequest.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Restricted_ORB.java, + gnu/CORBA/TypeCodeHelper.java, + gnu/CORBA/WCharHolder.java, + gnu/CORBA/WStringHolder.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/typeNamer.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + org/omg/CORBA/AnyHolder.java, + org/omg/CORBA/AnySeqHelper.java, + org/omg/CORBA/AnySeqHolder.java, + org/omg/CORBA/BooleanHolder.java, + org/omg/CORBA/BooleanSeqHelper.java, + org/omg/CORBA/BooleanSeqHolder.java, + org/omg/CORBA/ByteHolder.java, + org/omg/CORBA/CharHolder.java, + org/omg/CORBA/CharSeqHelper.java, + org/omg/CORBA/CharSeqHolder.java, + org/omg/CORBA/DefinitionKindHelper.java, + org/omg/CORBA/DoubleHolder.java, + org/omg/CORBA/DoubleSeqHelper.java, + org/omg/CORBA/DoubleSeqHolder.java, + org/omg/CORBA/FixedHolder.java, + org/omg/CORBA/FloatHolder.java, + org/omg/CORBA/FloatSeqHelper.java, + org/omg/CORBA/FloatSeqHolder.java, + org/omg/CORBA/IntHolder.java, + org/omg/CORBA/LongHolder.java, + org/omg/CORBA/LongLongSeqHelper.java, + org/omg/CORBA/LongLongSeqHolder.java, + org/omg/CORBA/LongSeqHelper.java, + org/omg/CORBA/LongSeqHolder.java, + org/omg/CORBA/NameValuePairHelper.java, + org/omg/CORBA/ORB.java, + org/omg/CORBA/ObjectHelper.java, + org/omg/CORBA/ObjectHolder.java, + org/omg/CORBA/OctetSeqHelper.java, + org/omg/CORBA/OctetSeqHolder.java, + org/omg/CORBA/PolicyErrorCodeHelper.java, + org/omg/CORBA/PrincipalHolder.java, + org/omg/CORBA/ShortHolder.java, + org/omg/CORBA/ShortSeqHelper.java, + org/omg/CORBA/ShortSeqHolder.java, + org/omg/CORBA/StringHolder.java, + org/omg/CORBA/StringSeqHelper.java, + org/omg/CORBA/StringSeqHolder.java, + org/omg/CORBA/TypeCodeHolder.java, + org/omg/CORBA/ULongLongSeqHelper.java, + org/omg/CORBA/ULongLongSeqHolder.java, + org/omg/CORBA/ULongSeqHelper.java, + org/omg/CORBA/ULongSeqHolder.java, + org/omg/CORBA/UShortSeqHelper.java, + org/omg/CORBA/UShortSeqHolder.java, + org/omg/CORBA/ValueBaseHelper.java, + org/omg/CORBA/WCharSeqHelper.java, + org/omg/CORBA/WCharSeqHolder.java, + org/omg/CORBA/WStringSeqHelper.java, + org/omg/CORBA/WStringSeqHolder.java, + org/omg/Messaging/SyncScopeHelper.java: References modified. + +2005-10-28 Nicolas Geoffray <nicolas.geoffray@menlina.com> + + Reported by: Gael Thomas <gael.thomas@imag.fr> + * NEWS : added entry about new implementation of + VMClassLoader.getPackage(s), and new method + VMClassLoader.getBootPackages + * vm/reference/java/lang/VMClassLoader.java: + Added new definedPackages field to store packages + loaded by the bootstrap classloader. + Added new static initializer to create all packages + which names are returned by getBootPackages + (getBootPackages): new private method. Helper + to get as a String[] the native package names + (getPackage): uses the new definedPackages field + (getPackages): uses the new definedPackages field + * java/lang/Class.java: + (getPackage): if the classloader of the class is null + then call VMClassLoader.getPackage + +2005-10-27 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JEditorPane.java: + (getScrollableTracksViewportWidth): Return true if the component is + valid. + (getScrollableTracksViewportHeight): Likewise. + +2005-10-27 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/ScrollPaneLayout.java: + (preferredLayoutSize): Fixed the conditions for allocating space for + the scrollbars. Should allocate space if the View's dimension is + larger than the Viewport's dimension. This fixes the problem in + comment 1) for PR 23530. + +2005-10-27 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JViewport.java: + (scrollRectToVisible): Use the viewport bounds instead of the view + bounds when scrolling up and scrolling left. + +2005-10-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/FieldView.java + (getPreferredSpan): For the Y_AXIS call the superclass behaviour as + described in the Swing book by OReilly. + +2005-10-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/ObjectIdHelper.java: + Assuming ObjectId as alias of byte[], not alias of String. + +2005-10-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTextField.java + (createDefaultModel): Return a normal PlainDocument here. + * javax/swing/text/AbstractDocument.java + (insertString): Correctly placed locking so that insertUpdate() is + called within a lock as specified. Do not setup any ElementChanges + here, this must be done in subclasses in insertUpdate() method. + Fire an UndoableEditEvent. + * javax/swing/text/PlainDocument.java + (insertString): New method. Replaces newlines with whitespace + when document property 'filterNewlines' is set. + +2005-10-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicScrollBarUI.java + (PropertyChangeHandler.propertyChange): If orientation property + changes, re-setup the UI. + (TrackListener.mouseReleased): Removed unused code. + (createIncreaseButton): Simply return a new instance without any + hacks. + (createDecreaseButton): Likewise. + (installComponents): Do not create the incrButton and decrButton + here, only install them on the ScrollBar. + (installDefaults): Also initialize the incrButton and decrButton + fields here. + (uninstallComponents): Added some null checks. + (uninstallDefaults): Uninstall border using the LookAndFeel utility + method. Set incrButton and decrButton to null here. + (uninstallListeners): Added null checks. + (uninstallUI): Changed order of method calls. First uninstall + listeners then uninstallDefaults, because uninstallDefaults sets + the incrButton and decrButton fields to null, and uninstallListeners + removes a listener from them. Avoids NPE. + +2005-10-27 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java: API doc updates, + * javax/swing/plaf/metal/MetalButtonUI.java: likewise, + * javax/swing/plaf/metal/MetalCheckBoxIcon.java: likewise, + * javax/swing/plaf/metal/MetalCheckBoxUI.java: likewise, + * javax/swing/plaf/metal/MetalDesktopIconUI.java: likewise, + * javax/swing/plaf/metal/MetalIconFactory.java: likewise, + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: likewise, + * javax/swing/plaf/metal/MetalInternalFrameUI.java: likewise, + * javax/swing/plaf/metal/MetalLabelUI.java: likewise, + * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: likewise, + * javax/swing/plaf/metal/MetalProgressBarUI.java: likewise, + * javax/swing/plaf/metal/MetalRadioButtonUI.java: likewise, + * javax/swing/plaf/metal/MetalRootPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalScrollBarUI.java: likewise, + * javax/swing/plaf/metal/MetalScrollPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalSeparatorUI.java: likewise, + * javax/swing/plaf/metal/MetalSliderUI.java: likewise, + * javax/swing/plaf/metal/MetalSplitPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalTabbedPaneUI.java: likewise, + * javax/swing/plaf/metal/MetalTextFieldUI.java: likewise, + * javax/swing/plaf/metal/MetalToolBarUI.java: likewise, + * javax/swing/plaf/metal/MetalToolTipUI.java: likewise, + * javax/swing/plaf/metal/MetalTreeUI.java: likewise, + * javax/swing/plaf/metal/package.html: likewise. + +2005-10-27 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalToggleButtonUI.java: + (MetalToggleButtonUI): removed color field initialisation, + (installDefaults): added color field initialisation formerly in + the constructor. + +2005-10-27 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/RepaintManager.java + (paintDirtyRegions): replaced characters in comment that caused + warnings in gjdoc and Eclipse. + +2005-10-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * BUGS: URL refreshed. + +2005-10-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/ExceptionCreator.java: Deleted. + +2005-10-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/ObjectReferenceFactory.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java, + org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: + New files. + +2005-10-26 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/ViewportLayout.java: + (layoutContainer): Fixed incorrect boundary checks, should have been + checking for viewport being smaller than minimum size, not smaller + than preferred size. + +2005-10-26 Andreas Tobler <a.tobler@schweiz.ch> + + * configure.ac: Rename --with-qtdir to --with-qt4dir to make clear + which Qt version is meant. + +2005-10-26 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JList.java: + (getPreferredScrollableViewportSize): Use the preferred width instead + of the width of the widest element. This allows us to use the + user-specified preferred width if setPreferredSize was called. Use + the height of the first row, not the first visible row, when + calculating the preferred height. Added comments and made code cleaner + and more readable. + +2005-10-26 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/spi/ImageReaderWriterSpi.java + (getStreamMetadataFormat): Implement. + (getImageMetadataFormat): Likewise. + +2005-10-26 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/colorchooser/AbstractColorChooserPanel.java + (getMnemonic): implemented, + (getDisplayedMnemonicIndex): implemented. + +2005-10-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/PortableInterceptor/AdapterManagerIdHelper.java, + org/omg/PortableInterceptor/AdapterNameHelper.java, + org/omg/PortableInterceptor/AdapterStateHelper.java, + org/omg/PortableInterceptor/ORBIdHelper.java, + org/omg/PortableInterceptor/ObjectIdHelper.java, + org/omg/PortableInterceptor/ServerIdHelper.java: New files. + * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java + (type): Fixed typo in typecode name. + +2005-10-25 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/WrappedPlainView: New class. + +2005-10-25 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): Removed initialization of unnecessary focusColor + field. + (paintButtonPressed): Only paint if button is opaque. + * javax/swing/plaf/metal/MetalButtonUI.java + (paintButtonPressed): Only paint if button is opaque and + contentAreaFilled. + +2005-10-25 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/CompositeView.java: + (getViewIndexAtPosition): Fixed boundary conditions (less than and + greater than signs were backward). + +2005-10-25 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getBreakLocation): New API method. + +2005-10-25 Tom Tromey <tromey@redhat.com> + + * java/io/ObjectOutputStream.java (useProtocolVersion): Typo fix. + +2005-10-25 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/GtkDialogPeer.java + (create): Changed classname for the heavyweight testclass to match + the new classes introduced by my popup patch earlier this day. + +2005-10-25 Roman Kennke <kennke@aicas.com> + + * examples/gnu/classpath/examples/swing/Demo.java + (mkMenuBar): Replaced some demos with new external demo programs, + namely the button demo, the scrollbar demo, the combobox demo and + the slider demo. + (mkButtonBar): Likewise. + * examples/gnu/classpath/examples/swing/ButtonDemo.java + (createContent): Made package private so that the Demo.java can + access it. + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java + (createContent): Made package private so that the Demo.java can + access it. + * examples/gnu/classpath/examples/swing/ScrollBarDemo.java + (createContent): Made package private so that the Demo.java can + access it. + * examples/gnu/classpath/examples/swing/SliderDemo.java + (createContent): Made package private so that the Demo.java can + access it. + +2005-10-25 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLayeredPane.java + (addImpl): Removed unnecessary repaint() and revalidate() calls. + * javax/swing/JPopupMenu.java + (remove): Removed unnecessary revalidate() call. + (insert): Removed code that installs GridBagConstraints. JPopupMenu + uses a BoxLayout and this is not needed anymore. + (pack): Send this method call to the event queue to avoid + synchronization problems. Set size to preferredSize of this menu. + (setVisible): Send this method call to the event queue to avoid + synchronization problems. Use PopupFactory for creating a popup. + (setLocation): Use int fields instead of a Point field. + (Popup): Removed inner interface. We use javax.swing.Popup now. + (LightweightPopup): Likewise. + (MediumWeightPopup): Likewise. + (HeavyWeightPopup): Likewise. + * javax/swing/Popup.java + (JWindowPopup.JWindowPopup): Add contents to contentPane of window. + Set focusableWindowState to false. + (JWindowPopup.show): Set size of window here. + (LightweightPopup): New inner class. + * javax/swing/PopupFactory.java + (getPopup): Return heavyweight or lightweight popup depending on + the parameters. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (PropertyChangeHandler): Removed unneeded inner class. + (BasicMenuItemUI): Removed instantiation of PropertyChangeHandler. + (installListeners): Removed handling of the PropertyChangeHandler. + (uninstallListeners): Removed handling of the PropertyChangeHandler. + * javax/swing/plaf/basic/BasicMenuUI.java + (getMaximumSize): Don't treat popup menus different. + +2005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/classpath/examples/CORBA/NamingService/Demo.java (main): + Make arguments not final. + +2005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CORBA/IDLEntity.java: Deleted. + * gnu/CORBA/primitiveTypeCode.java, + org/omg/CORBA/PolicyError.java, + org/omg/CORBA/TypeCodePackage/BadKind.java, + org/omg/CORBA/TypeCodePackage/Bounds.java: + Use org.omg.CORBA.portable.IDLEntity. + +2005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/interfaces/SocketFactory.java: New file. + * gnu/CORBA/interfaces/gnuSocketFactory.java: Deleted. + * gnu/CORBA/DefaultSocketFactory.java, + gnu/CORBA/Functional_ORB.java, + org/omg/CORBA/ORB.java: Replacing gnuSocketFactory into SocketFactory. + +2005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CosNaming/BindingIteratorHelper.java, + org/omg/CosNaming/NamingContextExtHelper.java, + org/omg/CosNaming/NamingContextHelper.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + org/omg/DynamicAny/DynAnyHelper.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/IOP/CodecFactoryHelper.java, + org/omg/PortableInterceptor/CurrentHelper.java, + org/omg/PortableServer/ServantActivatorHelper.java, + org/omg/PortableServer/ServantLocatorHelper.java: Added + unchecked_narrow method. + +2005-10-25 Roman Kennke <kennke@aicas.com> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): + Call gdk_window_get_root_origin instead of gdk_window_get_origin + so that the window decorations are correctly respected. + +2005-10-24 Tom Tromey <tromey@redhat.com> + + * java/io/ObjectOutputStream.java (useProtocolVersion): Fixed typo + in javadoc. + +2005-10-24 Tom Tromey <tromey@redhat.com> + + * java/lang/StringBuffer.java (appendCodePoint): Added @since. + * java/lang/StringBuilder.java (insert): New overloads. + (appendCodePoint): New method. + +2005-10-24 Dalibor Topic <robilad@kaffe.org> + + * test/native/lib/PrimlibInterface.c, + * test/native/lib/PrimlibInterface.h, + * test/native/lib/PrimlibTest.java: + Removed unused test. + +2005-10-24 Dalibor Topic <robilad@kaffe.org> + + * native/jni/classpath/primlib.c, + native/jni/classpath/primlib.h: Removed since unused. + + * native/jni/classpath/Makefile.am: (libclasspath_la_SOURCES) + Removed primlib.c and primlib.h. + +2005-10-24 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: New file. + +2005-10-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicScrollBarUI.java + (ModelListener.stateChanged): changed call to getThumbBounds() to + updateThumbRect(), + (PropertyChangeHandler.propertyChange): likewise, plus added handling + for 'enabled' property, + (getMaximumSize): return maximum dimension, + (getThumbBounds): just return field value, + (getTrackBounds): just return field value, + (installUI): switch order of calls to installDefaults() and + installComponents(), + (layoutHScrollBar): reimplemented using new updateThumbRect() method, + (layoutVScrollBar): likewise, + (updateThumbRect): new method, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added 'ScrollBar.width' default, + * javax/swing/plaf/metal/MetalScrollBarUI.java + (MIN_THUMB_SIZE): changed value, + (MIN_THUMB_SIZE_FREE_STANDING): new field, + (isFreeStanding): set default to true, + (scrollBarShadowColor): new field, + (installDefaults): initialise scrollBarShadowColor, + (createDecreaseButton): retain reference in decreaseButton field, + (createIncreaseButton): retain reference in increaseButton field, + (paintTrackHorizontal): use scrollBarShadowColor, add special handling + for free standing scroll bar in disabled state, + (paintTrackVertical): likewise, + (paintThumb): separate horizontal and vertical cases, + (paintThumbHorizontal): new method, + (paintThumbVertical): new method, + (getMinimumThumbSize): return different size depending on whether or + not the scroll bar is free standing, + * javax/swing/plaf/metal/MetalScrollButton.java + (paintNorthBorderFreeStanding): modified drawing. + +2005-10-24 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/metadata/IIOMetadataFormatImpl.java: Complete. + * javax/imageio/metadata/IIOMetadataNode.java: Complete stubs. + * javax/imageio/metadata/IIOAttr.java: Replace with + IIOMetadataFormatImpl.IIOMetadataNodeAttr. Remove file. + * javax/imageio/metadata/IIONamedNodeMap.java: Replace with + IIOMetadataNode.IIONamedNodeMap. Remove file. + * javax/imageio/metadata/IIONodeList.java: Replace with + IIOMetadataNode.IIONodeList. Remove file. + +2005-10-24 Tom Tromey <tromey@redhat.com> + + * java/text/AttributedStringIterator.java (getRunLimit): Add + explicit qualification. + (getRunStart): Likewise. + +2005-10-24 David Gilbert <david.gilbert@object-refinery.com> + + * java/text/AttributedString.java + (AttributedString(AttributedCharacterIterator, int, int, + AttributedCharacterIterator.Attribute[])): renamed arguments, and + updated IllegalArgumentException check, + (addAttribute(AttributedCharacterIterator.Attribute, Object, int, + int)): likewise, + (addAttributes(Map, int, int)): changed IllegalArgumentException to + NullPointerException, and modified check for illegal range, + * java/text/AttributedStringIterator.java + (getRunLimit(Set)): reimplemented, + (getRunStart): added API docs, + (getRunStart(AttributedCharacterIterator.Attribute)): handle null + argument as a special case, + (getRunStart(Set)): reimplemented, + (getAttribute(AttributedCharacterIterator.Attribute, int)): new + private method, + (getAttribute(AttributedCharacterIterator.Attribute)): reimplemented + using new private method. + * java/text/CharacterIterator.java: minor API doc fix. + +2005-10-24 Roman Kennke <kennke@aicas.com> + + Fixes Bug #24359 + * javax/swing/BoxLayout.java: + Made class thread safe. + +2005-10-23 Tom Tromey <tromey@redhat.com> + + * java/util/InvalidPropertiesFormatException.java: New file. + +2005-10-23 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/Properties.java + (storeToXML(OutputStream,String,String)): Added null pointer checks. + (loadFromXML(InputStream)): Implemented. + (PropertiesHandler): New class to handle parsing events. + (PropertiesHandler()): New constructor. + (startDTD(String,String,String)): Implemented. + (startElement(String,String,String,Attributes)): Implemented. + (characters(char[],int,int)): Implemented. + (endElement(String,String,String)): Implemented. + (endDocument()): Implemented. + +2005-10-23 Guilhem Lavaux <guilhem@kaffe.org> + + * java/lang/Thread.java + (sleep): Better exception message. + + * java/security/AccessControlContext.java + (checkPermission): Likewise. + + * java/util/ResourceBundle.java + (getBundle): Likewise. + + * java/util/SimpleTimeZone.java + (setStartRule): Added some documentation. + +2005-10-23 Guilhem Lavaux <guilhem@kaffe.org> + + * configure.ac: Added support for "--with-native-libdir" and + "--with-glibj-dir". Generate copy-vmresources.sh + + * lib/Makefile.am: Call copy-vmresources.sh to fetch possible vm + resources from the vmdirs. + + * lib/copy-vmresources.sh.in: New script file. + + * lib/gen-classlist.sh.in: Include com/ as base package for the + vm directories. + + * native/jawt/Makefile.am, + native/jni/gtk-peer/Makefile.am, + native/jni/java-io/Makefile.am, + native/jni/java-lang/Makefile.am, + native/jni/java-net/Makefile.am, + native/jni/java-nio/Makefile.am, + native/jni/java-util/Makefile.am, + native/jni/midi-alsa/Makefile.am, + native/jni/midi-dssi/Makefile.am, + native/jni/qt-peer/Makefile.am, + native/jni/xmlj/Makefile.am: Install libraries in nativelibdir + and not pkglib. + +2005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + PR classpath/22972 + * java/io/File (createTempFile): Rewritten. + +2005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/IOP/RMICustomMaxStreamFormat.java, + * org/omg/IOP/ExceptionDetailMessage.java: New files. + +2005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Made static. + +2005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/rmi/CORBA/gnuRmiUtil.java (readValue): + Do not read fields of the ObjectImpl. + +2005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT, + * org/omg/PortableInterceptor/ACTIVE.java, + * org/omg/PortableInterceptor/DISCARDING.java, + * org/omg/PortableInterceptor/HOLDING.java, + * org/omg/PortableInterceptor/INACTIVE.java, + * org/omg/PortableInterceptor/NON_EXISTENT.java: New files. + +2005-10-22 Julian Scheid <julian@sektor37.de> + + * java/util/Map.java (Entry.equals): Fixed invalid example code + in documentation. + +2005-10-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CORBA/ACTIVITY_COMPLETED.java, + * org/omg/CORBA/ACTIVITY_REQUIRED.java, + * org/omg/CORBA/BAD_QOS.java, + * org/omg/CORBA/CODESET_INCOMPATIBLE.java, + * org/omg/CORBA/INVALID_ACTIVITY.java, + * org/omg/CORBA/REBIND.java, + * org/omg/CORBA/TIMEOUT.java, + * org/omg/CORBA/TRANSACTION_MODE.java, + * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java: New exceptions. + +2005-10-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/rmi/CORBA/ValueHandlerMultiFormat.java: New interface. + * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java + (getMaximumStreamFormatVersion, writeValue): New methods. + +2005-10-22 Mark Wielaard <mark@klomp.org> + + * java/net/URLClassloader.java (addURLs): Add comment about jboss. + +2005-10-21 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (BasicCheckBoxMenuItem): Implemented. + (installDefaults): Removed method, not in API. + (processMouseEvent): Implemented. + * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java + (processMouseEvent): Implemented. + +2005-10-21 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * configure.ac: Also check for pangoft2 without cairo and + additionally check for freetype2. + * native/jni/gtk-peer/Makefile.am: Added X, pangoft2 and + freetype2 CFLAGS and LDFLAGS. + +2005-10-21 Nicolas Geoffray <nicolas.geoffray@menlina.com> + + * vm/reference/java/lang/VMClassLoader.java + (getResources): uses a new static field HashMap to + store opened zip files from property java.boot.class.path. + +2005-10-21 Nicolas Geoffray <nicolas.geoffray@menlina.com> + + * vm/reference/java/lang/VMClassLoader.java + (getRessources): In case the property java.boot.class.path + contains directories, tests if the ressource exists before adding + it to the vector result. + +2005-10-21 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Only paint focus if enabled. + +2005-10-21 David Daney <ddaney@avtrex.com> + + * NEWS: Added entry about HttpURLConnection improvements. + +2005-10-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/DefaultSocketFactory.java, + * gnu/CORBA/interfaces/gnuSocketFactory.java, + * gnu/CORBA/interfaces/package.html: New files. + * gnu/CORBA/Functional_ORB.java, + * gnu/CORBA/Focused_ORB.java (getPortServer), + * gnu/CORBA/GIOP/ErrorMessage.java (send), + * gnu/CORBA/gnuRequest.java (submit): Rewritten to support + gnu.Corba.SocketFactory property. + * org/omg/CORBA/ORB.java: Documentation update. + +2005-10-21 Lillian Angel <langel@redhat.com> + + * javax/swing/JPopupMenu.java + (show): Fixed to set the size if it was never set. + * javax/swing/plaf/basic/BasicMenuUI.java + (menuDeselected): Added check to prevent NPE. + * javax/swing/plaf/basic/BasicSeparatorUI.java: + Removed minSize, horizontalPrefSize, verticalPrefSize and + maxSize fields. They were causing problems when other classes + were setting this variables to something else. More reliable if + actual value is returned. + (getPreferredSize): Returned appropriate values. + (getMinimumSize): Likewise. + (getMaximumSize): Likewise. + +2005-10-21 Jeroen Frijters <jeroen@frijters.net> + + * java/lang/reflect/Proxy.java + (ProxyType.ProxyType): Don't replace null with system class loader. + (ProxyType.hashCode): Handle null loader. + +2005-10-20 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/DefaultListSelectionModel.java: + (setLeadSelectionIndex): If the selection mode is SINGLE_SELECTION then + pass this call to setSelectionInterval. + (addSelectionInterval): If the selection mode is SINGLE_SELECTION then + pass the call to setSelectionInterval and avoid the lengthy checks + that don't apply to this mode. + * javax/swing/JList.java: + (getSelectedIndices): Changed bounds of for loop to include the + maxSelectionIndex. + +2005-10-20 Lillian Angel <langel@redhat.com> + + * examples/gnu/classpath/examples/swing/Demo.java + (mkRadio): Changed to create a panel that contains + 2 buttons in a ButtonGroup. + * javax/swing/ButtonGroup.java + (add): Fixed to initialize sel if the newly added + button is already selected. + * javax/swing/JToggleButton.java + (isSelected): Implemented. + (setSelected): Implemented. + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (paintFocus): Fixed size of border drawn around the + radio button. + +2005-10-20 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/ScrollPaneAdjustable.java: + (addAdjustmentListener): If parameter is null take no action and throw + no exception. Store the resulting listener chain from call to + AWTEventMulticaster.add. + (removeAdjustmentListener): If parameter is null take no action and + throw no exception. Store the resulting listener chain from call to + AWTEventMulticaster.remove. + +2005-10-20 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/LookAndFeel.java: + (loadKeyBindings): Implemented and added docs. + (makeComponentInputMap): Likewise. + (makeInputMap): Likewise. + (makeKeyBindings): Likewise. + * javax/swing/plaf/basic/BasicListUI.java: + (convertModifiers): Removed this no longer needed private method. + (installKeyboardActions): Removed the code relating to modifier + conversion and made code more readable by using local variables. + * javax/swing/plaf/basic/BasicTableUI.java: + (convertModifiers): Removed this no longer needed private method. + (installKeyboardActions): Removed the code relating to modifier + conversion and made code more readbale by using local variables. + +2005-10-20 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Added new ItemListener field. + (BasicMenuItemUI): Initialized new field. + (installListeners): Installed new listener. + (removeListeners): Removed new listener. + (MenuDragMouseHandler): Class should be private, not + in API. + (MenuKeyHandler): Likewise. + (PropertyChangeHandler): Likewise. + (ItemHandler): New class implemented to change the + state of the menu item if it is a checkbox menu item. + +2005-10-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/BoxView.java + (layoutMinorAxis): Calculate total requirements before calling + the SizeRequirements utility method. Avoids an NPE. + +2005-10-20 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicArrowButton.java: Updated API docs all + over, plus: + (defaultSize): removed field, + (upIcon): removed field, + (downIcon): removed field, + (leftIcon): removed field, + (rightIcon): removed field, + (darkShadow): changed color value, + (paint): ignore insets for triangle positioning, but check 'armed' + state, + (paintTriangle): delegate to new private methods depending on + direction, + (paintTriangleNorth): new private method, + (paintTriangleSouth): new private method, + (paintTriangleEast): new private method, + (paintTriangleWest): new private method. + +2005-10-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/ietf/jgss/GSSCredential.java (hashCode), + * org/ietf/jgss/GSSName.java (hashCode): New declarations. + +2005-10-19 Mark Wielaard <mark@klomp.org> + + * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but + call urls.add() and addURLImpl() directly on each URL. + +2005-10-19 Andreas Tobler <a.tobler@schweiz.ch> + + * javax/swing/text/html/HTMLEditorKit.java: Add missing import. + +2005-10-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/HTMLEditorKit.java (getParser): New method. + +2005-10-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/text/html/parser/ContentModel.java: Fixed comments for + parameterless constructor. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (getDebugGraphicsOptions): Removed debug output. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (isShowing): Fixed condition. + (show): Only repaint if component is showing. + (hide): Only repaint if component was showing. + +2005-10-19 Mark Wielaard <mark@klomp.org> + + * javax/security/auth/login/LoginContext.java (lookupModule): + Load LoginModule through Thread context class loader. + +2005-10-19 Mark Wielaard <mark@klomp.org> + + * java/net/Socket.java (getImpl): Chain exception before throwing. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/AbstractSpinnerModel.java + * javax/swing/ActionMap.java + * javax/swing/BoundedRangeModel.java + * javax/swing/Box.java + * javax/swing/BoxLayout.java + * javax/swing/ButtonGroup.java + * javax/swing/CellEditor.java + * javax/swing/CellRendererPane.java + * javax/swing/ComboBoxEditor.java + * javax/swing/DefaultButtonModel.java + * javax/swing/DefaultCellEditor.java + * javax/swing/DefaultDesktopManager.java + * javax/swing/DefaultListCellRenderer.java + * javax/swing/DesktopManager.java + * javax/swing/ImageIcon.java + * javax/swing/InputVerifier.java + * javax/swing/JCheckBoxMenuItem.java + * javax/swing/JColorChooser.java + * javax/swing/JDesktopPane.java + * javax/swing/JFileChooser.java + * javax/swing/JLayeredPane.java + * javax/swing/JList.java + * javax/swing/JMenu.java + * javax/swing/JMenuBar.java + * javax/swing/JMenuItem.java + * javax/swing/JOptionPane.java + * javax/swing/JPasswordField.java + * javax/swing/JPopupMenu.java + * javax/swing/JProgressBar.java + * javax/swing/JRadioButtonMenuItem.java + * javax/swing/JRootPane.java + * javax/swing/JSeparator.java + * javax/swing/JSlider.java + * javax/swing/JSpinner.java + * javax/swing/JSplitPane.java + * javax/swing/JTabbedPane.java + * javax/swing/JTable.java + * javax/swing/JTextPane.java + * javax/swing/JToolBar.java + * javax/swing/JToolTip.java + * javax/swing/JTree.java + * javax/swing/KeyStroke.java + * javax/swing/LookAndFeel.java + * javax/swing/MutableComboBoxModel.java + * javax/swing/Popup.java + * javax/swing/PopupFactory.java + * javax/swing/RepaintManager.java + * javax/swing/SortingFocusTraversalPolicy.java + * javax/swing/Spring.java + * javax/swing/SwingUtilities.java + * javax/swing/ToolTipManager.java + * javax/swing/TransferHandler.java + * javax/swing/ViewportLayout.java + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. Removed + unneeded serialization methods. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/OverlayLayout.java + (checkLayout): Respect the container's insets correctly. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLabel.java + (setText): Call revalidate() and repaint(). + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JEditorPane.java + Added comments to empty blocks. + (read): Implemented this previously stubbed method. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComboBox.java + Added comments to empty blocks. + (writeObject): Removed unnecessary serialization method. + (processKeyEvent): Implemented this previously stubbed method. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JButton.java + (removeNotify): Implemented this previously stubbed method. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/undo/CannotRedoException.java + * javax/swing/undo/CannotUndoException.java + Put super() call in empty constructors. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/tree/DefaultMutableTreeNode.java + * javax/swing/tree/DefaultTreeCellEditor.java + * javax/swing/tree/TreeCellRenderer.java + * javax/swing/tree/TreeModel.java + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/AbstractDocument.java + * javax/swing/text/AttributeSet.java + * javax/swing/text/ComponentView.java + * javax/swing/text/DefaultCaret.java + * javax/swing/text/DefaultEditorKit.java + * javax/swing/text/DefaultHighlighter.java + * javax/swing/text/EditorKit.java + * javax/swing/text/FieldView.java + * javax/swing/text/FlowView.java + * javax/swing/text/GlyphView.java + * javax/swing/text/JTextComponent.java + * javax/swing/text/LayoutQueue.java + * javax/swing/text/PlainView.java + * javax/swing/text/Segment.java + * javax/swing/text/StyledDocument.java + * javax/swing/text/html/HTMLEditorKit.java + * javax/swing/text/html/HTMLFrameHyperlinkEvent.java + * javax/swing/text/html/parser/DocumentParser.java + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. + +2005-10-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicArrowButton.java + (buttonBorder): removed, + (BasicArrowButton): don't set border, use default border, + * javax/swing/plaf/basic/BasicComboBoxUI.java + (configureArrowButton): don't set margin here, + (getPreferredSize): added comment, + (getMinimumSize): icon width is the same as the display area height, + (getDefaultSize): return size of space char plus 1 pixel margin, + (getDisplaySize): take into account the prototype display value, if + there is one, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): updated 'Button.margin' default, + * javax/swing/plaf/metal/MetalComboBoxButton.java + (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, + JList)): check for null JComboBox, don't set margin here, + * javax/swing/plaf/metal/MetalComboBoxUI.java + (createArrowButton): set margin, + (getMinimumSize): reimplemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): changed 'Button.margin' default to from Insets + to InsetsUIResource. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/html/HTML.java + * javax/swing/text/html/HTMLDocument.java + Filled emtpy blocks with comments. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/html/parser/ContentModel.java + * javax/swing/text/html/parser/DTD.java + * javax/swing/text/html/parser/DocumentParser.java + * javax/swing/text/html/parser/Element.java + * javax/swing/text/html/parser/Parser.java + Filled emtpy blocks with comments. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/TableColumnModel.java: + Fixed some minor API doc errors. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/ActionMapUIResource.java + * javax/swing/plaf/BorderUIResource.java + * javax/swing/plaf/ButtonUI.java + * javax/swing/plaf/ColorChooserUI.java + * javax/swing/plaf/ColorUIResource.java + * javax/swing/plaf/ComboBoxUI.java + * javax/swing/plaf/ComponentInputMapUIResource.java + * javax/swing/plaf/DesktopIconUI.java + * javax/swing/plaf/DesktopPaneUI.java + * javax/swing/plaf/DimensionUIResource.java + * javax/swing/plaf/FileChooserUI.java + * javax/swing/plaf/FontUIResource.java + * javax/swing/plaf/IconUIResource.java + * javax/swing/plaf/InputMapUIResource.java + * javax/swing/plaf/InsetsUIResource.java + * javax/swing/plaf/InternalFrameUI.java + * javax/swing/plaf/LabelUI.java + * javax/swing/plaf/ListUI.java + * javax/swing/plaf/MenuBarUI.java + * javax/swing/plaf/MenuItemUI.java + * javax/swing/plaf/PanelUI.java + * javax/swing/plaf/PopupMenuUI.java + * javax/swing/plaf/ProgressBarUI.java + * javax/swing/plaf/RootPaneUI.java + * javax/swing/plaf/ScrollBarUI.java + * javax/swing/plaf/ScrollPaneUI.java + * javax/swing/plaf/SeparatorUI.java + * javax/swing/plaf/SliderUI.java + * javax/swing/plaf/SpinnerUI.java + * javax/swing/plaf/SplitPaneUI.java + * javax/swing/plaf/TabbedPaneUI.java + * javax/swing/plaf/TableHeaderUI.java + * javax/swing/plaf/TableUI.java + * javax/swing/plaf/TextUI.java + * javax/swing/plaf/ToolBarUI.java + * javax/swing/plaf/ToolTipUI.java + * javax/swing/plaf/TreeUI.java + * javax/swing/plaf/UIResource.java + * javax/swing/plaf/ViewportUI.java + Reformatted slightly. Filled emtpy blocks with comments. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/ComponentUI.java + Filled empty blocks with comments. + (update): Reverted my patch from 2005-10-12. This is wrong. If there + are still clipping problems, then certainly in another area. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/multi/MultiLookAndFeel.java + Filled empty block with comment. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalBorders.java + * javax/swing/plaf/metal/MetalButtonListener.java + * javax/swing/plaf/metal/MetalComboBoxEditor.java + * javax/swing/plaf/metal/MetalComboBoxUI.java + * javax/swing/plaf/metal/MetalFileChooserUI.java + * javax/swing/plaf/metal/MetalIconFactory.java + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java + * javax/swing/plaf/metal/MetalProgressBarUI.java + * javax/swing/plaf/metal/MetalScrollBarUI.java + * javax/swing/plaf/metal/MetalSliderUI.java + * javax/swing/plaf/metal/MetalSplitPaneUI.java + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + * javax/swing/plaf/metal/MetalTextFieldUI.java + * javax/swing/plaf/metal/MetalToolBarUI.java + * javax/swing/plaf/metal/MetalTreeUI.java + * javax/swing/plaf/metal/MetalUtils.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. Removed some unneeded imports. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (getDebugGraphicsOptions): Fixed to load system property if present. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/DebugGraphics.java + (counter): New field. + (color): Removed unneeded field. + (DebugGraphics()): Count up. + (DebugGraphics(Graphics,JComponent)): Call this(Graphics). + (DebugGraphics(Graphics)): Call this(). + (setColor): Implemented logging facility. + (create): Copy debugOptions over to new DebugGraphics instance. + (create(int,int,int,int)): Likewise. + (setFont): Implemented logging facility. + (getColor): Return graphics.getColor(). + (translate): Implemented logging facility. + (setPaintMode): Likewise. + (setXORMode): Likewise. + (clipRect): Likewise. + (setClip(int,int,int,int)): Likewise. + (setClip(Shape)): Likewise. + (drawRect): Likewise. Only flash when FLASH_OPTION is set. + (fillRect): Likewise. + (clearRect): Implemented logging facility. + (drawRoundRect): Likewise. + (fillRoundRect): Likewise. + (drawLine): Likewise. + (draw3DRect): Likewise. + (fill3DRect): Likewise. + (drawOval): Likewise. + (fillOval): Likewise. + (drawArc): Likewise. + (fillArc): Likewise. + (drawPolyline): Likewise. + (drawPolygon): Likewise. + (fillPolygon): Likewise. + (drawString(String,int,int)): Likewise. + (drawString(AttributedCharacterIterator,int,int)): Likewise. + (drawByted): Likewise. + (drawChars): Likewise. Only flash if FLASH_OPTION is set. + (drawImage): Implemented logging facility. (Also applies to all + overloaded versions of this method). + (copyArea): Likewise. + (setDebugOptions): Likewise. + (prefix): New helper method. + * javax/swing/JComponent.java + (getComponentGraphics): Implemented to return DebugGraphics when + needed. + (getDebugGraphicsOptions): Implemented to return the correct options. + Also, this loads a system property gnu.javax.swing.DebugGraphics + if present and evaluates it. + +2005-10-19 Lillian Angel <langel@redhat.com> + + * javax/swing/JList.java + (getAccessibleContext): Returned an instance of + AccessibleJList. Should never return null. + +2005-10-19 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java: + Added MouseListener and removed MouseInputListener. + (BasicTreeUI): Initialized mouseListener and removed + mouseInputListener. + (removeListeners): Removed mouseListener and removed + mouseInputListener code. + (installListeners): Likewise. + (MouseInputHandler.mousePressed): Moved code to MouseHandler. + (MouseHandler.mousePressed): Likewise. + * javax/swing/plaf/metal/MetalTreeUI.java: + Added MouseListener and removed MouseInputListener. + (installUI): Initialized mouseListener and removed + mouseInputListener. + (uninstallUI): Removed mouseListener and removed + mouseInputListener code. + +2005-10-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicBorders.java + * javax/swing/plaf/basic/BasicButtonListener.java + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + * javax/swing/plaf/basic/BasicComboBoxEditor.java + * javax/swing/plaf/basic/BasicComboBoxRenderer.java + * javax/swing/plaf/basic/BasicDesktopIconUI.java + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + * javax/swing/plaf/basic/BasicFileChooserUI.java + * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java + * javax/swing/plaf/basic/BasicGraphicsUtils.java + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + * javax/swing/plaf/basic/BasicInternalFrameUI.java + * javax/swing/plaf/basic/BasicLabelUI.java + * javax/swing/plaf/basic/BasicListUI.java + * javax/swing/plaf/basic/BasicMenuBarUI.java + * javax/swing/plaf/basic/BasicMenuItemUI.java + * javax/swing/plaf/basic/BasicMenuUI.java + * javax/swing/plaf/basic/BasicOptionPaneUI.java + * javax/swing/plaf/basic/BasicPasswordFieldUI.java + * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java + * javax/swing/plaf/basic/BasicRootPaneUI.java + * javax/swing/plaf/basic/BasicScrollPaneUI.java + * javax/swing/plaf/basic/BasicSplitPaneDivider.java + * javax/swing/plaf/basic/BasicSplitPaneUI.java + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + * javax/swing/plaf/basic/BasicTableHeaderUI.java + * javax/swing/plaf/basic/BasicTableUI.java + * javax/swing/plaf/basic/BasicTextAreaUI.java + * javax/swing/plaf/basic/BasicTextUI.java + * javax/swing/plaf/basic/BasicToolBarUI.java + * javax/swing/plaf/basic/BasicToolTipUI.java + * javax/swing/plaf/basic/BasicTreeUI.java + * javax/swing/plaf/basic/BasicViewportUI.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/filechooser/FileFilter.java: + * javax/swing/filechooser/FileView.java: + Filled empty blocks with comments. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/event/EventListenerList.java: + * javax/swing/event/InternalFrameAdapter.java: + * javax/swing/event/MouseInputListener.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/colorchooser/AbstractColorChooserPanel.java: + * javax/swing/colorchooser/ColorChooserComponentFactory.java: + * javax/swing/colorchooser/DefaultSwatchChooserPanel.java: + Filled empty blocks with comments. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/border/AbstractBorder.java: + * javax/swing/border/BevelBorder.java: + * javax/swing/border/Border.java: + * javax/swing/border/CompoundBorder.java: + * javax/swing/border/EmptyBorder.java: + * javax/swing/border/EtchedBorder.java: + * javax/swing/border/LineBorder.java: + * javax/swing/border/MatteBorder.java: + * javax/swing/border/SoftBevelBorder.java: + * javax/swing/border/TitledBorder.java: + Reformatted slightly. Filled emtpy blocks with comments. Fixed some + slight API doc errors + +2005-10-18 Lillian Angel <langel@redhat.com> + + * java/awt/GridBagLayout.java + (GetLayoutInfo): Added a null check for lastComponent. Prevents + NPE. + +2005-10-18 Lillian Angel <langel@redhat.com> + + * javax/swing/JTable.java + (JTable): Moved code around so all models are set before + any other function is called. Prevents all NPEs with + models. + +2005-10-18 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/DefaultListSelectionModel.java: + (setLeadSelectionIndex): Avoid index out of bounds error on initial + call of this method by checking explicitly for oldLeadIndex being -1. + Also remove unused BitSet newRange and oldRange. + (moveLeadSelectionIndex): New API method implemented (@since 1.5). + * javax/swing/plaf/basic/BasicListUI.java: + (ListAction.actionPerformed): Make code more readable by declaring + local variables for the actionCommand and for the list's + selectionModel. Implemented the following bindings: + selectLastRowChangeLead, scrollDownChangeLead, scrollUpChangeLead, + selectFirstRowChangeLead, selectNextRowChangeLead, + selectPreviousRowChangeLead, addToSelection, toggleAndAnchor, + extendTo. + (MouseInputHandler.mousePressed): Made code more readable by removing + unnecessary full qualification from variable 'list'. Change + behaviour of shift-click based on whether or not the anchor index is + selected. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Added remaining bindings for + Table.ancestorMap. + * javax/swing/plaf/basic/BasicTableUI.java: + (TableAction.actionPerformed): Made type of variables rowModel and + colModel more specific to avoid many casts later on (makes code more + readable). Also declare local variable to store the action command to + make the code more readable. Implemented the following bindings: + selectNextRowChangeLead, selectPreviousRowChangeLead, + selectNextColumnChangeLead, selectPreviousColumnChangeLead, + addToSelection, extendTo, toggleAndAnchor. Added commented-out debug + statement to print unimplemented bindings when used. Added check for + the SPACE character to make sure it doesn't stop editing. + +2005-10-18 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java: + Removed leafIcon field. + (BasicTreeUI): Removed leafIcon initialization. + (installDefaults): Icon defaults were wrong, fixed. + (isLocationInExpandControl): Fixed to incorporated gap. + (mousePressed): Fixed to include correct icon widths. Sometimes + the labels icon is different from what the tree's default icon is + set to. Added a check for this. + (getCellBounds): No need to include gap here. + (getCurrentControlIcon): Fixed to use expandedIcon and collapsedIcon. + (paintRow): No need paint beyond preferred width of tree here. + (updateCurrentVisiblePath): If nothing is selected, the root should + be selected without focus. + * javax/swing/plaf/metal/MetalTreeUI.java + (installDefaults): Fixed defaults for the expanded/collapsed icons. + +2005-10-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComboBox.java + (setModel): update the selectedItemReminder field, + (selectedItemChanged): only send ItemEvent.SELECTED event if the new + selection is non-null. + +2005-10-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): only set default editor if the current editor is + null or implements UIResource, + (uninstallComponents): only clear editor if it implements UIResource. + +2005-10-18 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Set the selected text color for the + text component. + +2005-10-18 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (scrollPathToVisible): Reimplemented to make the path visible if its + parent is not expanded. + * javax/swing/plaf/basic/BasicTreeUI.java + (installDefaults): Initialized row height for the tree. + (updateCurrentVisiblePath): Updated the visible row count. + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Initialized row height for the tree. + +2005-10-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalComboBoxUI.java + (editablePropertyChanged): handle null selected item. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicScrollBarUI.java + (PropertyChangeHandler.propertyChange): Removed repaint call. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/AbstractButton.java + Filled empty blocks with comments. + (ButtonChangeListener.stateChanged): Moved implementation from + inner class in createChangeListener to this protected class. + (setEnabled): Do nothing if actual state does not change. + (createChangeListener): Return instance of ButtonChangeListener + here. + +2005-10-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (buttonBackground): new field, + (shadow): renamed buttonShadow, + (darkShadow): renamed buttonDarkShadow, + (highlight): renamed buttonHighlight, + (installDefaults): initialise buttonBackground, plus updates for + renamed fields, + (uninstallDefaults): clear buttonBackground, plus updates for renamed + fields, + (createEditor): return subclass that implements UIResource, + (createArrowButton): use constructor that accepts colors, + (getMaximumSize): fix API doc error, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): correct 'ComboBox.buttonDarkShadow' default. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/JViewport.java + (setView): Added repaint() call. + (revalidate): Removed unnecessary and unspecified method. + (reshape): Fire stateChanged if only the size changes. Do not fire + stateChanged if only the location changes. + (scrollRectToVisible): Reworked most of this method to correctly + determine the scroll offsets. Added validation of view as specified. + +2005-10-18 Roman Kennke <kennke@aicas.com> + + * javax/swing/ScrollPaneLayout.java + (preferredLayoutSize): Removed check for JScrollPane argument. + Added code to respect the insets of the JScrollPane. + (minimumLayoutSize): Likewise. + (layoutContainer): Removed check for JScrollPane argument. + +2005-10-18 Jeroen Frijters <jeroen@frijters.net> + + * java/io/ObjectInputStream.java + (parseContent): Removed bogus println and fixed bug #24422. + +2005-10-17 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (setDividerLocation): Added a check for the size + of the splitpane, in some cases the divider's + initial location was being set to 0. + +2005-10-17 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JViewport.java: + (scrollRectToVisible): Return immediately if the View is null. Check + for contentRect being bigger than the port bounds separately in each + direction, rather than together. + * javax/swing/plaf/basic/BasicListUI.java: + (KeyHandler): Removed this private class that listened directly for + key presses. This is now handled through InputMap-ActionMap pairs. + (ActionListenerProxy): New class to wrap the Actions for this lists + ActionMap. + (ListAction): New class, the actions for keypresses on this list. + (convertModifiers): New private method converts key press modifiers to + the old style (CTRL_MASK instead of CTRL_DOWN_MASK, etc.). + (installKeyboardActions): Get the InputMap from the UIManager and + register new InputMap-ActionMap pairs, then set these as the parents + of the list's InputMap and ActionMap. + (selectNextIndex): Avoid NPE by checking if we're already at the last + index. + (selectPreviousIndex): Check if we're already at the first index. + * javax/swing/plaf/basic/BasicLookAndFeel.java: + (initComponentDefaults): Added bindings for List.focusInputMap. + +2005-10-17 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Moved call to installKeyboardActions and Listeners + to before expansion of root. + (paint): Added check to make sure the cached visible path is updated. + (treeExpanded): Added call to update visible path. + (treeCollapsed): Likewise. + (treeNodesChanged): Likewise. + (treeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + (paintRecursive): Moved code to paintRow. + (paintControlIcons): Fixed to paint custom control icons properly. + (paintExpandControl): Removed unneeded parameter. + (paintRow): Added code to paint the row with the correct width. + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Moved code to expand the root after all the listeners + have been initialized. + +2005-10-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (ItemHandler.itemStateChanged): if combo box is editable, update edit + text field with new selection. + +2005-10-17 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/event/ListDataListener: + reformatted and added API docs. + +2005-10-17 Roman Kennke <kennke@aicas.com> + + * javax/swing/JPopupMenu.java + (setVisible): Set size according to the size property instead of + the preferredSize property. + * javax/swing/plaf/basic/BasicComboPopup.java + (ListMouseHandler.mouseReleased): Set comboBox selected index before + closing the popup. + +2005-10-17 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/DefaultTableCellRenderer.java + (getTableCellRendererComponent): Setup colors (more) correctly. + * javax/swing/DefaultListSelectionModel.java + (isSelectedIndex): Check for an illegal index argument. + +2005-10-17 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + Filled empty blocks with comments. + (setVisible): Notify AncestorListeners when visibility state is + changed. + (removeNotifiy): Notify AncestorListeners via fireAncestorEvent + method. + (addNotifiy): Notify AncestorListeners via fireAncestorEvent + method. + +2005-10-17 Roman Kennke <kennke@aicas.com> + + * javax/swing/JViewport.java + (setView): Removed unnecessary loop. We only have on component. + (isOptimizedDrawingEnabled): Added comment explaining why this + method is necessary. + +2005-10-17 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + Filled empty blocks with comments. + (FocusHandler.focusLost): Close popup when the combobox loses focus. + * javax/swing/plaf/basic/BasicComboPopup.java + Filled empty blocks with comments. + (updateListBoxSelectionForEvent): Implemented partly. + (ListMouseHandler.mouseReleased): Call updateListBoxSelectionForEvent. + (ListMouseMotionHandler.mouseReleased): Likewise. + +2005-10-17 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: + (CustomCellRenderer): new inner class, + (comboState6): new field, + (combo11): new field, + (combo12): new field, + (createContent): add panel from createPanel6(), + (createPanel6): new method, + (actionPerformed): update state for new JComboBoxes, + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): don't create arrowButton until after listBox is + created, set listBox to the JList created by the popup, + * javax/swing/plaf/metal/MetalComboBoxButton.java: + (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, + JList)): set margins to zero, + (paintComponent): use list cell renderer to paint button content, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): add 'List.font' default. + +2005-10-17 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/util/Properties.java: + (storeToXML(OutputStream,String)): Implemented. + (storeToXml(OutputStream,String,String)): Likewise. + +2005-10-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Focused_ORB.java: New file. + * gnu/CORBA/Functional_ORB.java, + org/omg/CORBA/ORB.java: Adapted to support the + gnu.CORBA.ListenerPort property. + +2005-10-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CORBA/DynamicImplementation.java: Made concrete. + (invoke): Implemented. + gnu/CORBA/Simple_delegate.java (request): Implemented. + +2005-10-14 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (treeNodesChanged): Added call to revalidate and resize tree. + * javax/swing/tree/DefaultTreeModel.java + (insertNodeInto): Needed to set parent for new node. + +2005-10-14 Robert Schuster <robertschuster@fsfe.org> + + * java/net/URLStreamHandler.java: + (toExternalForm): Use "//" + authority format when file part starts + with two slashes. + +2005-10-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintLock): Removed unneeded field. + (isCompletelyDirty): New field. + (setBorder): Don't get active if actual value didn't change. + Otherwise trigger a repaint. + (paint): Mark this component as clean after painting when the clip + covered the whole component. + (paintImmediately): Find more sensible paint root via new helper + methods. + (paintDoubleBuffered): Don't synchronize here. + (setFont): Don't get active if actual value didn't change. + Otherwise trigger a repaint and revalidate. + (setBackground): Don't get active if actual value didn't change. + Otherwise trigger a repaint. + (setForeground): Don't get active if actual value didn't change. + Otherwise trigger a repaint. + (setUI): Trigger a repaint. + (findPaintRoot): New helper method. + (findOverlapFreeParent): New helper method. + (findOpaqueParent): New helper method. + * javax/swing/RepaintManager.java + (ComponentComparator): New inner class. Used to sort components + according to their depth in the containment hierarchy. + (dirtyComponents): Use HashMap instead of Hashtable. + (workDirtyComponents): New field. + (repaintOrder): New field. + (workRepaintOrder): New field. + (comparator): New field. + (invalidComponents): Use ArrayList instead of Vector. + (workInvalidComponents): New field. + (RepaintManager): Initialize new fields. + (removeInvalidComponent): Adjusted for ArrayList. + (addDirtyRegion): Return if component in question is not showing. + Insert the new component in the repaintOrder list. + (insertRepaintOrder): New method. Maintains a sorted list of + components. + (getDirtyRegion): Return empty Rectangle instead of null when + component is not dirty, as specified. + (markCompletelyDirty): Set flag in JComponent. + (markCompletelyClean): Synchronize access to fields. + (isCompletelyDirty): Use flag in JComponent to determine this + property. + (validateInvalidComponents): Use workInvalidComponents when + revalidating. This avoids blocking of application threads + in revalidate() calls. + (paintDirtyRegion): Use work* fields when + repainting. This avoids blocking of application threads + in repaint() calls. Simplify actual work, now we simply call + paintImmediatly() on the dirty components. + +2005-10-14 Lillian Angel <langel@redhat.com> + + * javax/swing/LookAndFeel.java + (makeIcon): Implemented. + * javax/swing/plaf/basic/BasicTreeUI.java + (updateCachedPreferredSize): Should only add with of control icon if + not a leaf. + (mousePressed): Fixed to use new gap field. + (paintRecursive): Likewise. + (paintRow): Likewise. + (updateCurrentVisiblePath): Shouldn't include root if it is + not of a valid size to be painted. + +2005-10-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLayeredPane.java + (isOptimizedDrawingEnabled): New method. + +2005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CORBA/PolicyErrorHelper.java, + org/omg/CORBA/PolicyErrorHolder.java, + org/omg/CORBA/UnknownUserExceptionHelper.java, + org/omg/CORBA/UnknownUserExceptionHolder.java, + org/omg/CORBA/WrongTransactionHelper.java, + org/omg/CORBA/WrongTransactionHolder.java: New files. + +2005-10-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (nextTabStop): Tab size should be multiplied by the width of 'm', not + added to it. + +2005-10-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (getTabSize): Check the Document's properties for + PlainDocument.tabSizeAttribute before defaulting to 8. + +2005-10-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/BoxView.java: + (preferenceChanged): New method (overrides method in View). Set flag + indicating that cached layout information is invalid, then call super + implementation. + +2005-10-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/CompositeView.java: Minor doc fixes. + * javax/swing/text/BoxView.java: Minor doc fixes. + +2005-10-14 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (getAccessibleContext): Fixed API docs, and returned the correct value. + * javax/swing/plaf/basic/BasicTreeUI.java + (updateCachedPreferredSize): Fixed parameter passed to isLeaf, node + should be passed in and not a path. + +2005-10-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/DefaultCaret.java: + (ALWAYS_UPDATE): New field. + (NEVER_UPDATE): New field. + (UPDATE_WHEN_ON_EDIT): New field. + (insertUpdate): Fixed docs. Only update the dot if the policy is + ALWAYS_UPDATE or if the policy is UPDATE_WHEN_ON_EDT and the event + was generated on the Event Dispatch thread. + (removeUpdate): Fixed docs. Only update the dot if the policy is + ALWAYS_UPDATE, if the policy is UPDATE_WHEN_ON_EDT and the event was + generated on the Event Dispatch thread, or if the document length + has become less than the current dot position. + (setUpdatePolicy): New method. + (getUpdatePolicy): New method. + +2005-10-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/BoxLayout.java + (layoutContainer): Perform layout inside the container's treeLock. + Respect the insets of the container. + +2005-10-14 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (getAccessibleSelectionCount): Fixed API documentation. + (getScrollableTracksViewportWidth): Was using height instead of + width, fixed this. + (getScrollableTracksViewportHeight): Likewise. + * javax/swing/plaf/basic/BasicTreeUI.java + (BasicTreeUI): Initialized validCachedPreferredSize. + (updateCachedPreferredSize): Implemented. + (pathWasExpanded): Implemented. + (pathWasCollapsed): Implemented. + (installDefaults): Fixed API documentation. + (uninstallDefaults): Likewise. + (setPreferredMinSize): Likewise. + (getPreferredMinSize): Likewise. + (getPreferredSize): Reimplemented to use updateCachedPreferredSize. + (startEditing): set validCachedPreferredSize. + (editingStopped): Likewise. + (editingCanceled): Likewise. + (treeExpanded): Likewise. + (treeCollaped): Likewise. + (treeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + (getNextVisibleNode): Fixed API documentation. + (getNextNode): Likewise. + (getNextSibling): Likewise. + (getPreviousSibling): Likewise. + (getLevel): Likewise. + (paintVerticalPartOfLeg): Likewise. + +2005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CORBA/PolicyErrorCodeHelper.java: New class. + +2005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CORBA/LocalObject.java (_get_interface, _invoke, _is_local, + _orb, _releaseReply, _request, _servant_postinvoke, _servant_preinvoke, + validate_connection): New methods. + +2005-10-14 Michael Koch <konqueror@gmx.de> + + * native/jni/midi-alsa/.cvsignore, + native/jni/midi-dssi/.cvsignore: New files + +2005-10-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/ObjectCreator.java (forName): + Use gnu.classpath.VMStackWalker. + * gnu/CORBA/Interceptor/Registrator.java, + gnu/CORBA/gnuValueHolder.java, + gnu/CORBA/stubFinder.java, + gnu/javax/rmi/CORBA/DelegateFactory.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + org/omg/CORBA/ORB.java: Load class via ObjectCreator. + +2005-10-13 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (updateDamage): Made this method protected, not package-private. + +2005-10-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/BoxLayout.java + (xChildren): New field. + (yChildren): New field. + (xTotal): New field. + (yTotal): New field. + (offsetsX): New field. + (offsetsY): New field. + (spansX): New field. + (spansY): New field. + (preferredLayoutSize): Rewritted to use cached values if available. + (minimumLayoutSize): Rewritted to use cached values if available. + (maximumLayoutSize): Rewritted to use cached values if available. + (layoutContainer): Rewritted to use cached values if available. + (getAlignmentX): Implemented. + (getAlignmentY): Implemented. + (invalidateLayout): Clear the cache. + (getSizeRequirements): Removed unneeded method. Replaced by + checkRequirements(). + (checkTotalRequirements): New helper method. + (checkRequirements): New helper method. + (checkLayout): New helper method. + +2005-10-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (calculateAlignedPositions): Determine baseline using the total + requirements argument. + (adjustFromRight): Use float instead of int for baseline argument. + Don't handle the <minimum case. + (adjustFromLeft): Likewise. + +2005-10-13 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java: + Added leafIcon field. + (BasicTreeUI): Initialized leafIcon field. + (installDefaults): Fixed icon defaults. + (getPreferredSize): Fixed up code slightly. + (startEditing): Called revalidate because size of + view may change. + (EditingStopped): Likewise. + (EditingCanceled): Likewise. + (mousePressed): Fixed up icon sizes. + (paintRecursive): Fixed up width painted. + * javax/swing/plaf/metal/MetalTreeUI.java + (installDefaults): Fixed icon defaults. + +2005-10-13 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicTableHeaderUI.java: + (paint): Reset the clip of the Graphics object after each iteration. + +2005-10-13 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicTableUI.java: + (installDefaults): Initialize rendererPane. + (paintCell): New method to paint an individual cell using a + CellRendererPane, taking borders and highlighting into account. + (paint): Removed direct painting code, let paintCell handle this. + +2005-10-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/ScrollPaneLayout.java + (preferredLayoutSize): Added some more null checks to avoid NPEs. + (minimumLayoutSize): Added some more null checks to avoid NPEs. + +2005-10-13 Jan Roehrich <jan@roehrich.info> + + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Fixed setting of local JTree reference + +2005-10-13 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (getPreferredSize): Added check to prevent NPE. + (mousePressed): Likewise. + (paintRecursive): Likewise. + (paintExpandedControlIcons): Likewise. + (paintRow): Fixed painting location of textarea. + +2005-10-13 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (updateDamage): Repaint the container if a new line is added. + +2005-10-13 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (getPathForRow): Added check to prevent NPE. + (getRowCount): Likewise. + (getRowForPath): Likewise. + (getPreferredSize): Adjusted width depending on x location and + icon. + (paintRecursive): Likewise. + (getPreviousNode): Added check to prevent NPE. + (getNextVisibleNode): Likewise. + +2005-10-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/PlainView.java + (lineBuffer): New field used as buffer to fetch text from a + document. + (getLineBuffer): New method, provides access to the new field + above. + (modelToView): Use new lineBuffer. + (drawSelectedText): Likewise. + (drawUnselectedText): Likewise. + (determineMaxLineLength): Likewise. + (viewToModel): Likewise. + (updateDamage): Likewise. + +2005-10-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/JTextComponent.java + (replaceSelection): Removed debug statement. + * javax/swing/text/PlainView.java + (updateDamage): Removed unnecessary repaint call. + (damageLineRange): Trigger repaint over the whole width of the + text component at the requested line range. Otherwise we might + not clear deleted text. + * javax/swing/plaf/basic/BasicTextUI.java + (DocumentHandler.changedUpdate): Use visibleEditorRect as + initial allocation. + (DocumentHandler.removeUpdate): Use visibleEditorRect as + initial allocation. + (DocumentHandler.insertUpdate): Use visibleEditorRect as + initial allocation. + (getVisibleEditorRect): If component width and height values are + invalid (==uninitialized), return a Rectangle of (0,0,0,0) instead + of null. + +2005-10-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalFileChooserUI.java + (DirectoryComboBoxAction): new inner class, + (FileRenderer): new inner class, + (directoryModel): new private field. + +2005-10-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added default value for + 'List.focusCellHighlightBorder'. + +2005-10-12 Lillian Angel <langel@redhat.com> + + * javax/swing/UIDefaults.java + (getUIClass): Fixed to use the system class loader if + the loader is null. + +2005-10-12 David Daney <ddaney@avtrex.com> + + PR classpath/24259 + * gnu/java/net/LineInputStream.java: Import BufferedInputStream. + (Constructor): Don't do blockReads on BufferedInputStreams. + (readLine): Rename MIN_LENGTH to MAX_LENGTH. Limit buffer size to + MAX_LENGTH. + +2005-10-12 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JTable.java: Fixed some API docs and unused imports. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintImmediately): Find the paint root more cleverly, instead of + going up to the root. + (findPaintRoot): New helper method. + (findOverlapFreeParent): New helper method. + (findOpaqueParent): New helper method. + * javax/swing/RepaintManager.java + (addDirtyRegion): Collapse overlapping dirty regions into single + regions. + (paintDirtyRegions): Simple iterator over dirty regions and + paint them. The optimizations are done in JComponent and + addDirtyRegion. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/ScrollPaneLayout.java + (minimumLayoutSize): Added checks to avoid NPEs. + +2005-10-12 David Daney <ddaney@avtrex.com> + + PR classpath/24086, PR classpath/24091, PR classpath/24104 + * gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java: Removed. + * gnu/java/net/protocol/http/ResponseBodyReader.java: Removed. + * gnu/java/net/protocol/http/event/ConnectionEvent.java: Removed. + * gnu/java/net/protocol/http/event/ConnectionListener.java: Removed. + * gnu/java/net/protocol/http/event/RequestEvent.java: Removed. + * gnu/java/net/protocol/http/event/RequestListener.java: Removed. + * gnu/java/net/protocol/http/event/package.html: Removed. + * gnu/java/net/protocol/http/HTTPConnection.java: Cleaned up imports. + (connectionListeners): Removed. + (requestListeners): Removed. + (pool): New field. + (Constructor): Don't initialize connectionListeners or + requestListeners. + (useCount): New field. + (getPoolKey): New method. + (setPool): New method. + (release): New method. + (newRequest): Don't call fireRequestEvent. Use StringBuilder instead + of StringBuffer. + (close): Don't call fireConnectionEvent. + (getURI):Use StringBuilder instead of StringBuffer. + (addConnectionListener): Removed. + (removeConnectionListener): Removed. + (fireConnectionEvent): Removed. + (addRequestListener): Removed. + (removeRequestListener): Removed. + (fireRequestEvent): Removed. + * gnu/java/net/protocol/http/HTTPURLConnection.java:Cleaned up imports. + (connectionPool): Changed type to LinkedHashMap. + (maxConnections): Made static. + (responseSink): Changed type to InputStream. + (errorSink): Likewise. + (connect): Eliminate reader. Get responseSink from response. + (getConnection): Rewrote. + (getHeaderFields): Use null as key for status line. Return + unmodifiable Map. + * gnu/java/net/protocol/http/Headers.java: Extend LinkedHashMap, + instead of implement Map. + (headers): Removed. + (Constructor): Do not initialize headers. + (size): Removed. + (isEmpth): Removed. + (containsKey): Rewrote. + (containsValue): Removed. + (get): Call super.get(). + (getValue): Likewise. + (getLongValue): New method. + (put): Call super.put(). + (remove): Call super.remove(). + (putAll): Rewrote. + (clear): Removed. + (keySet): Call super.keySet(). + (values): Removed. + (entrySet): Call super.entrySet(). + (equals): Removed. + (hashCode): Removed. + (parse): Use StringBuilder instead of StringBuffer. + (addValue): Call super.* instead of headers.*. + * gnu/java/net/protocol/http/LimitedLengthInputStream.java: New class. + * gnu/java/net/protocol/http/Request.java: Cleaned up imports. + (responseBodyReader): Removed. + (setResponseBodyReader): Removed. + (dispatch): Don't create LineInputStream. Don't call fireRequestEvent. + Don't append CRLF to Request body. Handle unsolicited 100 Continue + response. + (readResponse): Rewrote. + (readResponseBody): Renamed to ... + (createResponseBodyStream): ... And rewritten. + (parseAuthParams): Use StringBuilder instead of StringBuffer. + (getNonceCount): Likewise. + (handleSetCookie): Likewise. + * gnu/java/net/protocol/http/Response.java: Cleaned up imports. + (codeClass): Removed. + (body): New field. + (Constructor): Don't initialize codeClass. Initialize body. + (getCodeClass): Rewrote. + (getLongHeader): New method. + (getBody): New method. + * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Use + StringBuilder instead of StringBuffer. + * gnu/java/net/protocol/http/Cookie.java (toString): Use StringBuilder + instead of StringBuffer. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicFileChooserUI.java + (getFileView): Don't call back into the JFileChooser, avoids + a StackOverflow. + (getApproveButtonText): Likewise. + +2005-10-12 Mark Wielaard <mark@klomp.org> + + Fixes bug #22841 + * java/io/ObjectInputStream (validators): Removed field. + (isDeserializing): Removed field. + (currentObjectValidators): New field. + (ObjectInputStream): Remove validators and isDeserializing + initialization. + (readObject): Remove isDeserializing logic. Don't call + invokeValidators() here. + (parseContent): Call invokeValidators() after TC_OBJECT done. + (registerValidation): Create currentObjectValidators if needed. + (invokeValidators): Rewritten. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/CellRendererPane.java + (paintComponent): Fix clipping of cells. + * javax/swing/plaf/basic/BasicTableUI.java + (paint): Fix clipping of cells. + +2005-10-12 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/AbstractDocument.java: + (insertString): Don't include an ElementChange if no children were + added. + (remove): Don't include an ElementChange if no children were removed. + +2005-10-12 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (insertOrRemoveUpdate): Renamed this method to udpateDamage because + changedUpdate calls it as well. + (updateDamage): This method used to be named insertOrRemoveDamage. + Changes are: If no children were added or removed, repaint only the + area containing the line that was changed. Also, if children were + added or removed, call repaint on the entire container. Also fixed a + serious logic error in the bounds for Document.getText(). + (insertUpdate): Changed call from insertOrRemoveUpdate to updateDamage + and removed repaint call (this is done in updateDamage). + (removeUpdate): Likewise. + (changedUpdate): Implemented. + (damageLineRange): Implemented. + +2005-10-12 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (treeExpanded): Added revalidate call. + (treeCollapsed): Likewise. + (treeNodesInserted): Likewise. + (treeNodesRemoved): Likewise. + (treeStructureChanged): Likewise. + +2005-10-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added defaults for FileView. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JViewport.java + (sizeChanged): A new flag, indicating when the size of the + viewport has changed relative to the last painting operation. + (reshape): Set sizeChanged flag if size has changed. + (paintBackingStore): Only create new backingstore image when + the size has changed. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (reshape): Fixed calculation of newBounds and oldBounds to create + rectangles relative to the parent, and not to the parent's parent. + Solves a painting problem in an app here. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/ComponentUI.java + (update): Only fill the current clip. This solves a problem with + components in JViewport and should also optimize drawing a little. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/ScrollPaneLayout.java + (preferredLayoutSize): Reworked. The old impl used to actually + modify the layout, which is not allowed. + (minimumLayoutSize): Reworked. The old impl used to actually + modify the layout, which is not allowed. + (layoutContainer): Reworked. The old impl did not properly determine + when the scrollbars should be visible and when not. + +2005-10-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (FileIcon16.getIconHeight): add result of getAdditionalHeight(), + (FolderIcon16.getIconHeight): add result of getAdditionalHeight(), + (checkBoxIcon): new private field, + (checkBoxMenuItemIcon): likewise, + (fileChooserDetailViewIcon): likewise, + (fileChooserHomeFolderIcon): likewise, + (fileChooserListViewIcon): likewise, + (fileChooserNewFolderIcon): likewise, + (fileChooserUpFolderIcon): likewise, + (radioButtonMenuItemIcon): likewise, + (internalFrameDefaultMenuIcon): likewise, + (treeComputerIcon): likewise, + (treeFloppyDriveIcon): likewise, + (treeHardDriveIcon): likewise, + (getCheckBoxIcon): return single instance, + (getCheckBoxMenuItemIcon): likewise, + (getFileChooserDetailViewIcon): likewise, + (getFileChooserHomeFolderIcon): likewise, + (getFileChooserListViewIcon): likewise, + (getFileChooserNewFolderIcon): likewise, + (getFileChooserUpFolderIcon): likewise, + (getRadioButtonMenuItemIcon): likewise, + (getInternalFrameDefaultMenuIcon): likewise, + (getTreeComputerIcon): likewise, + (getTreeFloppyDriveIcon): likewise, + (getTreeHardDriveIcon): likewise. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/AbstractButton.java + (AbstractButton): Set button to be opaque. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JList.java + (locationToIndex): Put opening brace on next line. + (indexToLocation): Call UI's indexToLocation. + (getCellBounds): Replaced cast with getUI() call. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JFileChooser.java + (getDialogTitle): If no dialog title has been set, forward this + call to the UI. + (getApproveButtonText): If no text has been set, forward this + call to the UI. + (getFileView): If no file view has been set, forward this call + to the UI. + (getInternalFileView): Removed unneeded method. + (getName): Call getFileView instead of getInternalFileView. + (getDescription): Call getFileView instead of getInternalFileView. + (getTypeDescription): Call getFileView instead of + getInternalFileView. + (getIcon): Call getFileView instead of getInternalFileView. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (setFont): Only get active if the new font differs from the old one. + Call revalidate when font changes. + (setUI): Call revalidate when UI changes. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComboBox.java + (isFocusTraversable): Removed unneeded and unspecified method. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JViewport.java + (ViewListener.componentResized): Only call revalidate instead of + going through weird reverting code. + (JViewport): First call updateUI, then set layout. + (setViewPosition): Don't do anything if there is no real + change. + (setView): Don't remove the old component. This is handled by + addImpl. Call revalidate(). + * javax/swing/ViewportLayout.java + (layoutContainer): Preferably set view size to it's preferredSize + instead of its minimumSize. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/JTextComponent.java + (getToolTipText): New method. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Fixed value for + Table.focusCellHighlightBorder. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java + (installDefaults): Use UIManager.get* methods instead of + UIManager.getDefaults().get* methods. + * javax/swing/plaf/basic/BasicColorChooserUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (installDefaults): Only install background color, if installed + color is null or an UIResource instance. + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicLabelUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicListUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Added default for List.font. + * javax/swing/plaf/basic/BasicMenuBarUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicMenuUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicPanelUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicPopupMenuUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicProgressBarUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicScrollBarUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicSeparatorUI.java + (installDefaults): Use UIManager.get* methods instead of + UIManager.getDefaults().get* methods. + * javax/swing/plaf/basic/BasicSliderUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicSpinnerUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTableHeaderUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTableUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java + (installDefaults): Use UIManager.get* methods instead of + UIManager.getDefaults().get* methods. + * javax/swing/plaf/basic/BasicToolBarUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicToolTipUI.java + (installDefaults): Use new LookAndFeel install* methods. + * javax/swing/plaf/basic/BasicTreeUI.java + (installDefaults): Use new LookAndFeel install* methods. Use + UIManager.get* methods instead of UIManager.getDefaults().get* + methods. + * javax/swing/plaf/basic/BasicViewportUI.java + (installDefaults): Use new LookAndFeel install* methods. + +2005-10-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/LookAndFeel.java + (installBorder): Implemented. + (installColors): Implemented. + (installColorsAndFont): Implemented. + +2005-10-12 Mark Wielaard <mark@klomp.org> + + Reported by Christian Thalinger <twisti@complang.tuwien.ac.at> + * native/jni/java-lang/java_lang_VMProcess.c + (Java_java_lang_VMProcess_nativeSpawn): Don't delete clazz local + reference twice. + +2005-10-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/event/SwingPropertyChangeSupport.java + (firePropertyChange(PropertyChangeEvent)): if old and new values are + both null, listeners should be notified. + +2005-10-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultComboBoxModel.java + (setSelectedItem): allow values not in list, and don't fire an event + if the value is unchanged. + +2005-10-11 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/GapContent.java: + (getPositionsInRange): Corrected interval check. This mirrors Roman's + change in GapContent from 2005-10-05 for adjustPositionsInRange and + setPositionsInRange. + +2005-10-11 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicTextUI.java: + (viewToModel): Implemented. + * javax/swing/text/DefaultCaret.java: + (mousePressed): Implemented. + * javax/swing/text/PlainView.java: + (viewToModel): Implemented. + +2005-10-11 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (insertUpdate): Repaint the JTextComponent after the update. + (removeUpdate): Likewise. + +2005-10-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JFileChooser.java: Added API docs all over. + +2005-10-11 Roman Kennke <kennke@aicas.com> + + * javax/swing/JEditorPane.java + (AccessibleJEditorPaneHTML): New inner class. + (JEditorPaneAccessibleHypertextSupport): New inner class. + (getAccessibleContext): Handle special case when we have + a HTMLEditorKit. + (setEditorKit): Reset the accessibleContext. + +2005-10-11 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/filechooser/FileSystemView.java + (defaultFileSystemView): new private field, + (getFileSystemView): initialise (if necessary) and return + defaultFileSystemView. + +2005-10-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java + (main): Message removed from the loop. + +2005-10-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java + (main): 3 sec pause replaced by while(..) loop. + +2005-10-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Interceptor/Registrator.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/gnuValueHolder.java, + gnu/CORBA/stubFinder.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + org/omg/CORBA/ORB.java: Use context class loader. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/View.java + (modelToView(pos, Shape)): New method. + (viewToModel(float, float, Shape)): New method. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/JEditorPane.java + (AccessibleJEditorPane): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJEditorPane. + * javax/swing/JScrollPane.java + (AccessibleJScrollPane): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJScrollPane. + (setViewport): Call accessibleContext's resetViewPort() method. + * javax/swing/JTextArea.java + (AccessibleJTextArea): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJTextArea. + * javax/swing/JTextField.java + (AccessibleJTextField): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJTextField. + * javax/swing/JRootPane.java + (defaultPressAction): New field. + (defaultReleaseAction): New field. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/JMenuBar.java + (AccessibleJMenuBar): New inner class. + (getAccessibleContext): Implemented to return an instance of + AccessibleJMenuBar. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintChildren): Skip children if their clip _doesn't_ hit the + current clip. + (setVisible): Do nothing if the actual value didn't change. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * java/awt/Graphics.java + (hitClip): Implemented this method. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * java/awt/Graphics.java: Reformatted file. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * java/beans/IndexedPropertyDescriptor.java + (setIndexedReadMethod): Changed signature to throw + IntrospectionException as specified. + (setIndexedWriteMethod): Changed signature to throw + IntrospectionException as specified. + +2005-10-10 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (rectCache): New field. Caches Rectangle objects for reuse. + (paintChildren): Changed to reuse cached Rectangle object. + +2005-10-10 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/border/TitledBorder.java + (TitledBorder(String)): Changed default justification and position, + (TitledBorder(Border)): Likewise, + (TitledBorder(Border, String)): Likewise, + (BorderPainter.paint(Graphics)): Use full width and height, + (BorderPainter.paintExcept): Fixed bounds for region 3, + (paintBorder): indented left justified title further, adjusted + ABOVE_TOP text position, adjusted bounds for call to paintExcept(), + updated for renamed fields in Measurements class, + (getMeasurements): added special handling for null text, increased + outer spacing, adjusted spacing for TOP, BOTTOM and BELOW_BOTTOM title + positions, + (Measurements.borderSpacing): renamed outerSpacing, + (Measurements.edgeSpacing): renamed innerSpacing, + (Measurements.getContentInsets): updated for renamed fields, + (Measurements.getMinimumSize): wrap at 80 columns. + +2005-10-09 Mark Wielaard <mark@klomp.org> + + Fixes bug #24006 + * java/net/Socket.java (bound): Make package private. + * java/net/ServerSocket.java (implAccept): Set Socket.bound to true. + +2005-10-07 Anthony Green <green@redhat.com> + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (process): call run_multiple_synths if required. + +2005-10-07 Anthony Green <green@redhat.com> + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Attempt + to connect to the jack server automatically. Fail gracefully. + +2005-10-07 Anthony Green <green@redhat.com> + + * gnu/javax/sound/midi/dssi/DSSISynthesizer.java (loadInstrument): + Implement. + (selectProgram_): New native method. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (selectProgram_): New function. + +2005-10-07 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postChoiceItemEvent): + Don't call select on the AWT Choice component. + * java/awt/Choice.java (processItemEvent): Set the selected index + without calling into the peers. + +2005-10-07 Anthony Green <green@redhat.com> + + * gnu/javax/sound/midi/dssi/DSSISynthesizer.java + Doc cleanups. + (DSSISynthesizer.DSSISoundbank): New class. + (DSSISynthesizer.DSSIInstrument): New class. + (soundbanks, defaultSoundbank): New fields. + (getDefaultSoundbank): Implemented. + (getAvailableInstruments): Implemented. + (getProgramName_, getProgramBank_, getProgramProgram_): New native + methods. + (DSSISynthesizer): Create default soundbank. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramName_1, + Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramBank_1, + Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramProgram_1): + New functions. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. + +2005-10-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (tableChanged): Revalidate table if its structure changes. + +2005-10-07 Jan Roehrich <jan@roehrich.info> + + * javax/swing/JTree.java: (JTree): + * javax/swing/plaf/basic/BasicTreeUI.java: (updateRenderer): + moved setting of TreeCellRenderer from JTree to BasicTreeUI. + +2005-10-07 Roman Kennke <kennke@aicas.com> + + * java/beans/IndexedPropertyDescriptor.java + (setIndexedReadMethod): New method. + (setIndexedWriteMethod): New method. + +2005-10-07 Roman Kennke <kennke@aicas.com> + + * java/beans/IndexedPropertyDescriptor.java: Reformatted. + +2005-10-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (currentIcon): Fix icon for disabled selected buttons. + (paint): Only paint focus indicator if button is actually + focusPainted. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (installDefaults): Install icons for disabledIcon and + disabledSelectedIcon. + (paint): Paint the correct icon. Only paint focus indicator + if button is actually focusPainted. + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (paint): Only paint focus indicator if button is actually + focusPainted. + +2005-10-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paint): Call paintBorder before paintChildren. + (reshape): Fire AncestorEvent if position has changed. + (fireAncestorMoved): New method. Fires AncestorEvents to this + component and all of it's children. + +2005-10-07 Roman Kennke <kennke@aicas.com> + + * javax/swing/BorderFactory.java + (createLineBorder(Color)): Forward call to + createLineBorder(Color, int) with thickness of 1. + +2005-10-06 Anthony Green <green@redhat.com> + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Ignore + controllers that aren't mapped to MIDI controls. + +2005-10-06 Anthony Green <green@redhat.com> + + * INSTALL: Describe midi provider dependencies. + + * native/jni/midi-dssi/README: New file. + * LICENSE (terms): Add notice about code copied from the DSSI + distribution. + + * examples/gnu/classpath/examples/midi/Demo.java: New file. + + * native/jni/midi-dssi/dssi_data.h (dssi_data): Add control_count, + control_port_map, control_value_map, sample_rate, and + control_values fields. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (DEBUG_DSSI_PROVIDER): New macro. + (get_port_default): New function. + (set_control): New function. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove + debug output. Reformat. Allocate the control ports and assign + proper default values. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1): Use + JLONG_TO_PTR. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Ditto. + * gnu/javax/sound/midi/dssi/DSSISynthesizer.java + (Channel.controlChange): Implement. + (controlChange_): New native method. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. + + * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Make + instance final. + +2005-10-06 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (determineMaxLength): Avoid NPE by checking the Segment that getText + returns. No need to return Math.max (0, maxLineLength) because + maxLineLength is guaranteed to be 0 or greater. + +2005-10-06 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (determineMaxLength): If maxLineLength is -1 we should return 0. + (insertOrRemoveUpdate): Avoid NPE by checking the Segment that + getText returns. + +2005-10-06 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/metadata/IIOMetadata.java: Complete. + +2005-10-06 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/BoxView.java + (paint): Only call paintChild if child allocation is not empty. + (layout): Don't store the width and height fields here. + (setSize): Store the width and height fields here. + * javax/swing/text/CompositeView.java + (getViewIndexAtPosition): Reworked child view searching. + (getInsideAllocation): Fixed insets calculation. + * javax/swing/text/FlowView.java + (FlowStrategy.layoutRow): Return an offset of -1 if no more child + views are in the logical view. + (FlowStrategy.createView): If there are no more child views, + then return null. + (LogicalView.getViewIndex): New method. Implements child view + searching for the LogicalView. + * javax/swing/text/GlyphView.java + (DefaultGlyphPainter.getHeight): Use Toolkit FontMetrics instead + of parent containers FontMetrics. + (DefaultGlyphPainter.getSpan): Use Toolkit FontMetrics instead + of parent containers FontMetrics. + * javax/swing/text/Utilities.java + (getTabbedTextOffset): Check for 0 in the char array and stop + there. + * javax/swing/text/View.java + (getContainer): If there's no parent, don't throw an Error, instead + return null as specified. + +2005-10-06 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/AbstractDocument.java: Implemeted locking. + (insertString): Obtain write lock before altering document. + (readLock): Implemented. + (readUnlock): Implemented. + (remove): Obtain write lock before altering document. + (render): Implemented. + (writeLock): Implemented. + (writeUnlock): Implemented. + (getCurrentWriter): Implemented. + +2005-10-06 Roman Kennke <kennke@aicas.com> + + * javax/swing/JLabel.java + (JLabel): Set alignmentX value to 0.0F. + +2005-10-06 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (startEditing): Should always change the bounds, whenever + we start editing. + (paintRow): Fixed location where editing component should + be drawn. The constant takes care of the space around the + icon. + * javax/swing/JTree.java + (JTree): Called updateUI first so currentVisiblePath is + cached right away. Prevents NPEs. + +2005-10-06 Tom Tromey <tromey@redhat.com> + + * javax/print/attribute/SetOfIntegerSyntax.java (toString): Wrote. + (hashCode): Likewise. + (equals): Likewise. + (getMembers): Likewise. + (contains): Fixed boundary condition check. + (next): Wrote. + (normalize): Rewrote. + (SetOfIntegerSyntax): Updated. + (SetOfIntegerSyntax(String)): New constructor. + (skipNumber): New method. + (skipWhitespace): Likewise. + +2005-10-06 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicRootPaneUI.java + (installUI): Call new hook methods. + (installDefaults): New hook method. + (installComponents): New hook method. + (installListeners): New hook method. + (installKeyboardActions): New hook method. + (uninstallUI): New method. + (uninstallDefaults): New hook method. + (uninstallComponents): New hook method. + (uninstallListeners): New hook method. + (uninstallKeyboardActions): New hook method. + +2005-10-06 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (mousePressed): Shouldn't change x location for leaf. + +2005-10-06 Andreas Tobler <a.tobler@schweiz.ch> + + * configure.ac: Add Qt4 configury bits for OS-X. + +2005-10-05 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (paintRow): Fixed indentation. + (updateCurrentVisiblePath): Added FIXME + comment. + +2005-10-05 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/BoxView.java + (baselineLayout): New method. + (calculateMajorAxisRequirements): Reimplemented to use the + SizeRequirements utility methods. + (calculateMinorAxisRequirements): Reimplemented to use the + SizeRequirements utility methods. + (layout): Use the new baselineLayout method. + (layoutMajorAxis): Reimplemented to use the new + getChildRequirements method. + (layoutMinorAxis): Reimplemented to use the new + getChildRequirements method. + (getChildRequirements): New method. + (getSpan): New method. + (getOffset): New method. + (getAlignment): New method. + * javax/swing/text/ParagraphView.java + (Row.getAlignment): New method. + (getAlignment): New method. + * javax/swing/text/View.java + (getContainer): Improved error message in assertion a little. + +2005-10-05 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Fixed to call toggleExpandState instead. + * javax/swing/plaf/basic/BasicTreeUI.java + (getPathForRow): Used currentVisiblePath to get Path. + (getRowForPath): Used currentVisiblePath to get row. + (getRowCount): Returned currentVisiblePath length. + (updateLayoutCacheExpandedNodes): Took out unneeded code. + (installUI): Fixed to call toggleExpandState instead. + (getPreferredSize): Made more efficent by using currentVisiblePath. + (toggleExpandState): Called updateCurrentVisiblePath. + (getCellLocation): Made more efficent. + (paintNode): Removed. + (paintRecursive): Made more efficent, changed paintNode calls to + paintRow. + (getNextVisibleNode): Reimplemented to use currentVisiblePath. + (getPreviousVisibleNode): Likewise. + (paintRow): Implemented. + (updateCurrentVisiblePath): New helper used to cache the current + visible path. + +2005-10-05 Mark Wielaard <mark@klomp.org> + + Reported by Nicolas Geoffray <nicolas.geoffray@lip6.fr> + * java/security/AccessController.java + (doPrivileged(PrivilegedExceptionAction)): If the Exception is a + Runtime exception, then throw the exception directly, otherwise + wrap it. + (doPrivileged(PrivilegedExceptionAction,AccessControlContext)): + Likewise. + +2005-10-05 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GapContent.java + (setPositionsInRange): Changed check for interval end to actually + check for the position offsets. + (adjustPositionsInRange): Changed check for interval end to actually + check for the position offsets. + (dump): New method for debugging. + (dumpPositions): New method for debugging. + +2005-10-05 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * m4/acattribute.m4: Added. + * configure.ac: Added AC_C_ATTRIBUTE. + * native/fdlibm/java-assert.h: Added missing config.h include, + changed comments to C comments. + * native/jni/java-lang/java_lang_reflect_Array.c: Added missing + config.h include. + +2005-10-05 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (insertOrRemoveUpdate): New method. + (insertUpdate): New method. + (removeUpdate): New method. + +2005-10-05 Mark Wielaard <mark@klomp.org> + + * javax/swing/JOptionPane.java + (showInputDialog(Component,Object,String,int,Icon,Object[],Object)): + Don't cast return value. + (internalShowInputDialog(Component,Object,String,int,Icon,Object[], + Object)): Likewise. + +2005-10-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/EmptyExceptionHolder.java, + gnu/CORBA/ForwardRequestHelper.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/_PolicyImplBase.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/universalHolder.java, + org/omg/CORBA/CompletionStatus.java, + org/omg/CORBA/NameValuePairHelper.java, + org/omg/CORBA/ObjectHelper.java, + org/omg/CORBA/PolicyHelper.java, + org/omg/CORBA/PolicyListHelper.java, + org/omg/CORBA/ServiceDetailHelper.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CosNaming/BindingHelper.java, + org/omg/CosNaming/BindingIteratorHelper.java, + org/omg/CosNaming/BindingIteratorPOA.java, + org/omg/CosNaming/BindingTypeHelper.java, + org/omg/CosNaming/NameComponentHelper.java, + org/omg/CosNaming/NameHelper.java, + org/omg/CosNaming/NamingContextExtHelper.java, + org/omg/CosNaming/NamingContextExtPOA.java, + org/omg/CosNaming/NamingContextHelper.java, + org/omg/CosNaming/NamingContextPOA.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/CosNaming/_BindingIteratorImplBase.java, + org/omg/CosNaming/_NamingContextImplBase.java, + org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, + org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, + org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, + org/omg/DynamicAny/DynAnySeqHelper.java, + org/omg/DynamicAny/NameDynAnyPairHelper.java, + org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, + org/omg/DynamicAny/NameValuePairHelper.java, + org/omg/DynamicAny/NameValuePairSeqHelper.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/IORHelper.java, + org/omg/IOP/MultipleComponentProfileHelper.java, + org/omg/IOP/ServiceContextHelper.java, + org/omg/IOP/ServiceContextListHelper.java, + org/omg/IOP/TaggedComponentHelper.java, + org/omg/IOP/TaggedProfileHelper.java, + org/omg/PortableInterceptor/ForwardRequestHelper.java, + org/omg/PortableInterceptor/InvalidSlotHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, + org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, + org/omg/PortableServer/CurrentPackage/NoContextHelper.java, + org/omg/PortableServer/ForwardRequestHelper.java, + org/omg/PortableServer/IdAssignmentPolicyValue.java, + org/omg/PortableServer/IdUniquenessPolicyValue.java, + org/omg/PortableServer/ImplicitActivationPolicyValue.java, + org/omg/PortableServer/LifespanPolicyValue.java, + org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, + org/omg/PortableServer/POAManagerPackage/State.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/RequestProcessingPolicyValue.java, + org/omg/PortableServer/Servant.java, + org/omg/PortableServer/ServantLocatorHelper.java, + org/omg/PortableServer/ServantRetentionPolicyValue.java, + org/omg/PortableServer/ThreadPolicyValue.java: Added minor codes for BAD_PARAM and NO_RESOURCES. + * gnu/CORBA/Minor.java: Introduces new minor codes. + * org/omg/CORBA/BAD_OPERATION.java, + org/omg/CORBA/MARSHAL.java, + org/omg/CORBA/NO_RESOURCES.java: Documentation update. + +2005-10-05 Stuart Ballard <stuart.a.ballard@gmail.com> + + * java/rmi/LoaderHandler.java (packagePrefix): Match Sun's value. + * java/rmi/RemoteRef.java (packagePrefix): Likewise. + * java/rmi/RemoteObject.java (readObject): Hardcode the GNU package + prefix. + +2005-10-05 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/AbstractDocument.java: + (remove): If removing content returns an UndoableEdit, then add an + ElementEdit to the DocumentEvent before firing. + * javax/swing/text/GapContent.java: + (UndoRemove): New class to implement UndoableEdit for remove operation. + (remove): Return an UndoableEdit instead of null. + +2005-10-05 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/LabelView.java + (LabelView): Implemented the constructor. + (setPropertiesFromAttributes): New method. + (changedUpdate): New method. + (getBackground): New method. + (setBackground): New method. + (getForeground): New method. + (getFont): New method. + (getFontMetrics): New method. + (isUnderline): New method. + (setUnderline): New method. + (isSubscript): New method. + (setSubscript): New method. + (isSuperscript): New method. + (setSuperscript): New method. + (isStrikeThrough): New method. + (setStrikeThrough): New method. + +2005-10-05 Roman Kennke <kennke@aicas.com> + + * javax/swing/table/JTableHeader.java + (accessibleContext): Removed unneeded field. The protected + field with the same name should be used instead. + (JTableHeader): Moved field initialization to new method + initializeLocalVars(). + (setColumnModel): Add and remove this to the old and new model. + (columnAdded): New listener method. + (columnMarginChanged): New listener method. + (columnMoved): New listener method. + (columnRemoved): New listener method. + (columnSelectionChanged): New listener method. + (resizeAndRepaint): New method. + (initializeLocalVars): New method. + +2005-10-04 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicFileChooserUI.java: Added API docs all + over. + +2005-10-04 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/AbstractDocument.java: + (insertString): If inserting a string into the Content returns an + UndoableEdit, then add an ElementEdit to the DocumentEvent before + firing. + (remove): Don't fire a removeUpdate unless some content was actually + removed. + * javax/swing/text/GapContent.java: + (UndoInsertString): New class to implement UndoableEdit functions. + (insertString): Return an UndoableEdit instead of null. Also use + locally calculated length of String rather than calculating again. + * javax/swing/text/JTextComponent.java: + (setText): If the Document is an AbstractDocument this should pass + through AbstractDocument.replace rather than calling remove and insert. + * javax/swing/text/PlainView.java: + (determineMaxLength): Keep track of which line was the longest as well + as the length of it. We'll need this to know when the longest line is + removed and we need to redetermine the longest line. + +2005-10-04 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/ImageWriter.java + (processWarningOccurred(int,String,String)): New method. + * javax/imageio/ImageReader.java + (processWarningOccurred(String,String)): New method. + +2005-10-04 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/ImageReader.java (getDestination): Throw + IIOException, not IOException. + * javax/imageio/ImageTypeSpecifier.java + (createGrayscale(int,int,boolean)): Rename from createGrayScale. + (createGrayscale(int,int,boolean,boolean)): Likewise. + (createIndexed): Rename from createIndex. + +2005-10-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * doc/www.gnu.org/corba.wml: + Link to http://doc.omg.org/vendor-tags. + +2005-10-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Minor.java: New file. + * gnu/CORBA/CDR/IDLTypeHelper.java, + gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/CDR/gnuRuntime.java, + gnu/CORBA/CDR/noHeaderInput.java, + gnu/CORBA/DynAn/gnuDynValue.java, + gnu/CORBA/GIOP/CloseMessage.java, + gnu/CORBA/GIOP/ErrorMessage.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/GIOP/v1_2/RequestHeader.java, + gnu/CORBA/IOR.java, + gnu/CORBA/Poa/ForwardedServant.java, + gnu/CORBA/Version.java, + gnu/CORBA/cdrEncapsCodec.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/streamReadyHolder.java, + gnu/CORBA/universalHolder.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + gnu/javax/rmi/CORBA/corbaObjectOutput.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/StructMemberHelper.java, + org/omg/CORBA/UnionMemberHelper.java, + org/omg/CORBA/ValueMemberHelper.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/_IDLTypeStub.java, + org/omg/DynamicAny/DynAnyFactoryHelper.java, + org/omg/DynamicAny/_DynAnyFactoryStub.java, + org/omg/IOP/TaggedComponentHelper.java, + org/omg/IOP/TaggedProfileHelper.java, + org/omg/PortableInterceptor/CurrentHelper.java, + org/omg/PortableServer/POAHelper.java, + org/omg/PortableServer/ServantActivatorHelper.java, + org/omg/PortableServer/ServantLocatorHelper.java: + Initialising minor codes for MARSHAL. + * org/omg/CORBA/SystemException.java: Documentation update and + add minor code to the exception message. + * org/omg/CORBA/MARSHAL.java: Documentation update. + +2005-10-04 Mark Wielaard <mark@klomp.org> + + * javax/swing/plaf/metal/MetalBorders.java (paintBorder): Check + whether Component is JTextComponent. + +2005-10-04 Andreas Tobler <a.tobler@schweiz.ch> + + * javax/imageio/ImageWriter.java (availableLocales, locale, + originatingProvider, output, progressListeners, warningListeners, + warningLocales): Initialize. + (addIIOWriteProgressListener): Check progressListeners against null + to avoid NPE. Create new ArrayList if progressListeners is null. + (addIIOWriteWarningListener): Likewise for warningListeners. + (processImageComplete): Check progressListeners against null to + avoid NPE. + (processImageProgress): Likewise. + (processImageStarted): Likewise. + (processThumbnailComplete): Likewise. + (processThumbnailProgress): Likewise. + (processThumbnailStarted): Likewise. + (processWarningOccurred): Likewise for warningListeners. + (processWriteAborted): Likewise for progressListeners. + (removeAllIIOWriteProgressListeners): Likewise. + (removeAllIIOWriteWarningListeners): Likewise. + (removeIIOWriteProgressListener): Likewise. + (removeIIOWriteWarningListener): Likewise for warningListeners. + + * javax/imageio/ImageReader.java (addIIOReadProgressListener): Check + progressListeners against null to avoid NPE. Create new ArrayList + if progressListeners is null. + (addIIOReadUpdateListener): Likewise for updateListeners. + (addIIOReadWarningListener): Likewise for warningListeners. + (processImageComplete): Check progressListeners against null to + avoid NPE. + (processImageProgress): Likewise. + (processImageStarted): Likewise. + (processImageUpdate): Likewise for updateListeners. + (processPassComplete): Likewise. + (processPassStarted): Likewise. + (processReadAborted): Likewise for progressListeners. + (processSequenceComplete): Likewise. + (processSequenceStarted): Likewise. + (processThumbnailComplete): Likewise. + (processThumbnailPassComplete): Likewise for updateListeners. + (processThumbnailPassStarted): Likewise. + (processThumbnailProgress): Likewise for progressListeners. + (processThumbnailStarted): Likewise. + (processThumbnailUpdate): Likewise for updateListeners. + (processWarningOccurred): Likewise for warningListeners. + (removeIIOReadProgressListener): Likewise for progressListeners. + (removeIIOReadUpdateListener): Likewise for updateListeners. + (removeIIOReadWarningListener): Likewise for warningListeners. + +2005-10-04 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/metal/MetalToolTipUI.java + (paint): Added space around the toolTip's accelerator. + (fetchAcceleratorString): Added code to get mnemonic for + JMenuItem if it does not have an accelerator. + +2005-10-04 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultCaret.java + (repaint): Adjust repaint rectangle. + (setVisible): Only repaint if the visible property actually changed. + +2005-10-04 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/JTextComponent.java: Reformatted file. + +2005-10-04 Roman Kennke <kennke@aicas.com> + + Fixes Bug #24080 + * javax/swing/SizeRequirements.java + (adjustGreater): Added check to prevent overflow. + +2005-10-04 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicToolTipUI.java + (accText): removed, + (accDeliminator): removed, + (accFont): removed, + (accFore): removed, + (getPreferredSize): removed accelerator code (now in MetalToolTipUI), + (getAcceleratorText): removed (equivalent is now in MetalToolTipUI), + (paint): removed accelerator painting, + * javax/swing/plaf/metal/MetalToolTipUI.java + (padSpaceBetweenStrings): new field, + (MetalToolTipUI): initialise defaults, + (getAcceleratorString): new method, + (installUI): new method, + (uninstallUI): new method, + (isAcceleratorHidden): new method, + (getPreferredSize): new method, + (paint): new method, + (fetchAcceleratorString): new private method, + (acceleratorToString): new private method, + * examples/gnu/classpath/examples/swing/Demo.java + (mkButton): set tool tip. + +2005-10-04 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (getFont): Fall back to peer.getGraphics().getFont() if no font + is found. + (getGraphics): Set font here. This avoids a loop in the above + fallback. + * gnu/java/awt/peer/gtk/GdkGraphics.java + (GdkGraphics): Don't initialize font here. This would cause a + loop in the above fallback. + +2005-10-04 Anthony Green <green@redhat.com> + + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c + (process): Add comments. Remove unused gettimeofday call. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove + debug output. Add comments. + (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1, + Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Add + comments. Remove bogus __attribute__((unused)). + * native/jni/midi-dssi/dssi_data.h (JLONG_TO_PTR, PTR_TO_JLONG): + Document helper macros. + (dssi_data): Document. + * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c: + Formatting fixes. + * native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c + (Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1): + Remove debugging output. + +2005-10-04 Roman Kennke <kennke@aicas.com> + + * javax/swing/AbstractButton.java + (AbstractButton): Set text to "" here. + +2005-10-04 Andreas Tobler <a.tobler@schweiz.ch> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (clearRect): Check bg + against null to avoid NPE. + +2005-10-03 Tom Tromey <tromey@redhat.com> + + * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Use Configuration + to see if library should be loaded. + +2005-10-03 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainView.java: + (maxLineLength): New variable to cache the length of the longest line. + (determineMaxLength): New implementation method. + (getPreferredSpan): Call determine max length instead of calculating + it here. + +2005-10-03 Tom Tromey <tromey@redhat.com> + + * java/awt/image/ComponentSampleModel.java (numBands): Updated + javadoc. + (ComponentSampleModel): Set numBands. + * java/awt/image/SampleModel.java (numBands): Now protected. + +2005-10-03 Tom Tromey <tromey@redhat.com> + + * java/awt/Polygon.java (evaluateCrossings): Removed @see. + * java/awt/image/ImageConsumer.java (SINGLEPASS): Javadoc fix. + * java/awt/Image.java (getGraphics): Removed @see. + * java/awt/MenuComponent.java (setEnabled): Javadoc fix. + (setBackground): Likewise. + * java/awt/event/MouseEvent.java: Added import for javadoc. + * java/awt/im/spi/InputMethodDescriptor.java: Added import for javadoc. + (getAvailableLocales): Javadoc fix. + * java/awt/KeyboardFocusManager.java: Added import for javadoc. + (defaultPolicy): Javadoc fix. + (setGlobalObject): Javadoc fixes. + (getObject): Likewise. + (getGlobalObject): Likewise. + * java/awt/im/InputMethodRequests.java: Added imports for javadoc. + * java/awt/im/spi/InputMethodContext.java: Added imports for javadoc. + (enableClientWindowNotification): Javadoc fix. + * java/awt/im/spi/InputMethod.java: Added imports for javadoc. + (removeNotify): Javadoc fix. + (notifyClientWindowChange): Likewise. + * java/awt/im/InputContext.java: Added import for javadoc. + * java/awt/image/ColorModel.java (getDataElements): Javadoc fix. + * java/awt/geom/Area.java (recursiveSubdivide): Javadoc fix. + * java/awt/geom/GeneralPath.java (GeneralPathIterator): Javadoc fix. + * java/awt/im/InputMethodHighlight.java: Javadoc fixes. Added + imports. + * java/awt/color/ICC_Profile.java (getInstance): Javadoc fix. + (getInstance): Likewise. + * java/awt/EventQueue.java: Organized imports. + * java/awt/image/BufferedImage.java: Organized imports. + * java/awt/image/PackedColorModel.java (initMasks): Javadoc fix. + * java/awt/GraphicsConfiguration.java (createCompatibleVolatileImage): + Javadoc fixes. + * java/awt/DefaultKeyboardFocusManager.java (delayRequests): Javadoc + fix. + * java/awt/ColorPaintContext.java (ColorPaintContext): Javadoc fix. + +2005-10-03 Lillian Angel <langel@redhat.com> + + * javax/swing/JOptionPane.java + (getInputValue): If the option selected is 'Cancel', then + the input value is set to null. + (showInternalConfirmDialog): Added check to prevent NPE. + (showInternalConfirmDialog): Likewise. + (showInternalConfirmDialog): Likewise. + (showInternalConfirmDialog): Likewise. + (showInternalOptionDialog): Likewise. + (showOptionDialog): Likewise. + +2005-10-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/rmi/CORBA/ValueHandler.java (getRunTimeCodeBase): + Fixed return type. + * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java + (getRunTimeCodeBase): Implemented. + +2005-10-03 Lillian Angel <langel@redhat.com> + + * javax/swing/JMenuItem.java + (init): Set horizontalTextPosition to TRAILING, instead of + LEFT. Icons are drawn in the correct spot now. + +2005-10-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * doc/www.gnu.org/corba.wml: New file. + +2005-10-03 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (layoutLabel): place text to the right of the icon, if there is one. + +2005-10-03 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalComboBoxButton.java + (paintComponent): reposition text and truncate if necessary, + (truncateText): private utility method. + +2005-10-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * NEWS: Added entry about Classpath VMCID and IIOP. + +2005-10-02 Anthony Green <green@redhat.com> + + * native/jni/Makefile.am: Maybe build ALSA code. + Maybe build DSSI code. + + * gnu/javax/sound/midi/alsa/AlsaPortDevice.java, + gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java + gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java + gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java + gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Rebuilt. + native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c, + native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c, + native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.c, + native/jni/midi-dssi/dssi_data.h, native/jni/midi-dssi/Makefile.am, + native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c + native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c, + native/jni/midi-alsa/Makefile.am: New files. + + * include/Makefile.am: Add sound header files. + * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, + include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h + include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h + include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, + include/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.h: New + files. + + * configure.ac (AC_CONFIG_FILES): Add + native/jni/midi-alsa/Makefile, native/jni/midi-dssi/Makefile. + +2005-10-02 Mark Wielaard <mark@klomp.org> + + * java/awt/Font.java (peer): Make field transient. + (Font(String,int,int)): Explicitly set name field. + (Font(String,Map)): Likewise. + (readObject): New private method. + +2005-10-02 Mark Wielaard <mark@klomp.org> + + * java/io/ObjectOutputStream.java (writeObject): Add defining class + to NotSerializableException. + +2005-10-02 Tom Tromey <tromey@redhat.com> + + * java/net/URLStreamHandler.java (hostsEqual): Javadoc fix. + * java/net/URLClassLoader.java (definePackage): Javadoc fixes. + * java/net/Inet4Address.java (Inet4Address): Javadoc fix. + * java/net/Socket.java (getLocalAddress): Javadoc fix. + * java/net/DatagramSocket.java (connect): Javadoc fix. + +2005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/rmi/PortableServer.java, + gnu/javax/rmi/CORBA/ValueHandlerImpl.java, + javax/rmi/BAD_OPERATION.java, + javax/rmi/ORB.java, + javax/rmi/CORBA/ObjectImpl.java, + javax/rmi/CORBA/SystemException.java: Deleted. + +2005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/javax/rmi/CORBA/corbaObjectOutput.java (main): + Removed method. + +2005-10-02 Casey Marshall <csm@gnu.org> + + * gnu/javax/crypto/DiffieHellmanImpl.java (random): removed. + (<init>): removed 'random' initialization. + (engineDoPhase): use params from the incoming key; generate the + intermediate result from the incoming key, not a random one; only + support one-phase DH, for now. + (engineInit): removed 'random' initialization. + +2005-10-02 Robert Schuster <robertschuster@fsfe.org> + + * gnu/xml/stream/XMLOutputFactoryImpl.java: + (setProperty): Added 'else'. + +2005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrBufOutput.java, + gnu/CORBA/CDR/gnuRuntime.java, + gnu/javax/rmi/CORBA/corbaObjectInput.java, + gnu/javax/rmi/CORBA/dwoTester.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java: Corrected copyright + header identation. + +2005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/CDR/ArrayValueHelper.java, + gnu/CORBA/CDR/IDLTypeHelper.java, + gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, + gnu/CORBA/CDR/gnuRuntime.java, + gnu/CORBA/CDR/gnuValueStream.java, + gnu/CORBA/CDR/VMVio.java, + gnu/CORBA/IorProvider.java, + gnu/javax/rmi/CORBA/TieTargetRecord.java, + gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java, + gnu/javax/rmi/CORBA/corbaObjectInput.java, + gnu/javax/rmi/CORBA/corbaObjectOutput.java, + gnu/javax/rmi/CORBA/dwoTester.java, + gnu/javax/rmi/CORBA/gnuRmiUtil.java: New files. + * gnu/CORBA/CDR/aligningInputStream.java, + gnu/CORBA/CDR/aligningOutputStream.java: + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/CDR/cdrBufInput.java, + gnu/CORBA/CDR/cdrBufOutput.java, + gnu/CORBA/CDR/cdrInput.java, + gnu/CORBA/CDR/cdrOutput.java, + gnu/CORBA/CDR/noHeaderInput.java, + gnu/CORBA/Functional_ORB.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/GIOP/ServiceContext.java, + gnu/CORBA/IOR_Delegate.java, + gnu/CORBA/IOR_contructed_object.java, + gnu/CORBA/Interceptor/Registrator.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/NamingService/NamingServiceTransient.java, + gnu/CORBA/ObjectCreator.java, + gnu/CORBA/Poa/LocalDelegate.java, + gnu/CORBA/Poa/ORB_1_4.java, + gnu/CORBA/Poa/gnuPOA.java, + gnu/CORBA/Poa/gnuServantObject.java, + gnu/CORBA/Simple_delegate.java, + gnu/CORBA/gnuAny.java, + gnu/CORBA/gnuRequest.java, + org/omg/CORBA/OMGVMCID.java, + org/omg/CORBA/StringValueHelper.java, + org/omg/CORBA/SystemException.java, + org/omg/CORBA/WStringValueHelper.java, + org/omg/CORBA/portable/ObjectImpl.java, + org/omg/CORBA_2_3/ORB.java, + org/omg/CORBA_2_3/portable/InputStream.java, + org/omg/CORBA_2_3/portable/OutputStream.java: Modified to support + RMI over CORBA mechanism. + * gnu/javax/rmi/CORBA/DelegateFactory.java, + gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, + gnu/javax/rmi/CORBA/StubDelegateImpl.java, + gnu/javax/rmi/CORBA/UtilDelegateImpl.java, + javax/rmi/CORBA/ClassDesc.java, + javax/rmi/CORBA/PortableRemoteObjectDelegate.java, + javax/rmi/CORBA/Stub.java, + javax/rmi/CORBA/StubDelegate.java, + javax/rmi/CORBA/Tie.java, + javax/rmi/CORBA/Util.java, + javax/rmi/CORBA/UtilDelegate.java, + javax/rmi/CORBA/ValueHandler.java, + javax/rmi/CORBA/package.html, + javax/rmi/PortableRemoteObject.java, + javax/rmi/package.html: New files (replacing). + * gnu/javax/rmi/CORBA/ValueHandlerImpl.java, + gnu/javax/rmi/PortableServer.java: Modified to keep the code + compileable between subsequent patches. + +2005-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/ImageIO.java: Fix compilation problems. + +2005-10-01 Mark Wielaard <mark@klomp.org> + + * javax/swing/plaf/metal/MetalScrollBarUI.java + (MetalScrollBarPropertyChangeHandler.propertyChange): + Only set free standing when increase or decrease button isn't null. + If not FREE_STANDING_PROP pass up event to super class. + +2005-10-02 Mark Wielaard <mark@klomp.org> + + Workarounds for bug #24166 + * javax/imageio/ImageIO.java (filter): Catch IOException in + canDecodeInput(). + (TranscoderFilter.WriterObjectFilter): Renamed to TranscoderFilter. + (getImageReadersBySuffix): Use ReaderObjectFilter, not the nonexisting + ReaderSuffixFilter. + (createImageInputStream): Test with Class.isAssignableFrom() and for + foundSpi == null. + (createImageOutputStream): Likewise and use output, not input. + (getImageReader): Always return null for now. + (getImageReaders): Use input, not object. + (getImageWriters): Rename formatName to format and create a + WriterObjectFilter with type and format not just object. + (getImageWriter): Always return null for now. + (getImageTranscoders): Create TranscoderFilter not ImageTranscoderSpi + instance. + +2005-10-02 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicButtonUI.java: API doc updates. + +2005-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/imageio/IIOException.java: Document. + * javax/imageio/IIOImage.java: Document. + * javax/imageio/IIOParam.java: Complete and document. + * javax/imageio/IIOParamController.java: Document. + * javax/imageio/ImageIO.java: Complete and document. + * javax/imageio/ImageReader.java: Complete and document. + * javax/imageio/ImageTranscoder.java: Document. + * javax/imageio/ImageTypeSpecifier.java: Complete and document. + * javax/imageio/ImageWriter.java: Complete and document. + * javax/imageio/package.html: Write. + +2005-10-01 Tom Tromey <tromey@redhat.com> + + PR classpath/23890: + * java/util/Calendar.java (equals): Include other calendar + attributes. + (hashCode): Updated. + * java/util/GregorianCalendar.java (hashCode): New method. + (equals): Use super.equals(). + +2005-10-01 Thomas Fitzsimmons <fitzsim@redhat.com> + + * java/awt/image/ComponentSampleModel.java (numBands): Shadow + package-private field in parent class with this protected field. + * java/awt/image/SampleModel.java (numBands): Make field + package-private. + +2005-10-01 Tom Tromey <tromey@redhat.com> + + PR classpath/23880: + * gnu/java/security/x509/ext/Extension.java (Value.hashCode): New + method. + * gnu/java/security/der/BitString.java (hashCode): New method. + * javax/security/auth/x500/X500Principal.java (hashCode): New method. + +2005-10-01 Jeroen Frijters <jeroen@frijters.net> + + * java/net/URLClassLoader.java + (Resource.name): Removed field. + (JarURLResource.name): Added field. + (FileResource.getURL): Use File.toURL() instead of doing it in + a way that breaks on Windows. + +2005-10-01 Mark Wielaard <mark@klomp.org> + + * doc/www.gnu.org/include/layout.wml: Point Tasks menu item to + mediation wiki. + * doc/www.gnu.org/tasks.wml: Redirect to mediation wiki. + +2005-10-01 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked): + Call cairo_pattern_set_extend after gr->pattern has been set and checked + versus NULL. + +2005-09-30 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTextPane.java + (replaceSelection): Don't update the caret position here. + * javax/swing/plaf/basic/BasicTextUI.java + (DocumentHandler.insertUpdate): Likewise. + (DocumentHandler.removeUpdate): Likewise. + * javax/swing/text/DefaultCaret.java + (DocumentHandler): New inner class. Handles caret position updates. + (PropertyChangeHandler): New inner class. (Un)installs document + listener when the text component's document changes. + (install): Install the new listeners on the text component. + (deinstall): Deinstall the new listeners on the text component. + * javax/swing/text/DefaultEditorKit.java + (DefaultKeyTypedAction.actionPerformed): Don't update the caret + position here. + +2005-09-30 Lillian Angel <langel@redhat.com> + + * javax/swing/AbstractButton.java + (AbstractButton): updateUI should be called after + everything is initialized, so everything is revalidated. + * javax/swing/JMenuItem.java + (JMenuItem): Added call to init so model is set. + (JMenuItem): Likewise. + * javax/swing/JOptionPane.java + (createDialog): Removed invalidate and repaint calls. + (JOptionPane): Likewise. + * javax/swing/JPopupMenu.java + (setVisible): Changed size to be the preferred size. + +2005-09-30 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (paintTabArea): Added check to adjust runCount if + it is less that tabCount. + +2005-09-30 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/PlainDocument.java: + (removeUpdate): Fixed length of new LeafElement and off-by-one error + in call to rootElement.replace(). + +2005-09-30 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (propertyChange): No reason to reset the layout manager here. + (setDividerLocation): Changed to check right component, not left. + Also, updated the location to a valid spot. + +2005-09-30 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/SliderDemo.java: + New file. + +2005-09-30 Lillian Angel <langel@redhat.com> + + * javax/swing/AbstractButton.java + (setActionCommand): Added check to prevent NPE. + (getMnemonic): Likewise. + (setMnemonic): Likewise. + (setSelected): Likewise. + (isSelected): Likewise. + (setEnabled): Likewise. + (doClick): Likewise. + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): Added check to prevent NPE. + (paintText): Likewise. + +2005-09-30 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicSplitPaneUI.java + (propertyChange): Added call to reset the layout manager + whenever the size of the divider is changed. + (setDividerLocation): Added adjustment to container + sizes if the divider goes over the bottom/right side. + Also, fixed the size of the right/top component. + (validLocation): Added check for min/max location returned. + +2005-09-30 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/StyleContext.java: + (SmallAttributeSet.getAttribute): If the attribute we're looking for is + ResolveAttribute, don't try to check the resolve parent, because this + will cause an infinite loop. + +2005-09-30 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (accessibleContext): Removed unneeded field. This is already + declared in JComponent. + * javax/swing/Box.java + (accessibleContext): Removed unneeded field. This is already + declared in JComponent. + * javax/swing/JFrame.java + (EXIT_ON_CLOSE): New constant field. + +2005-09-30 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/GapContent.java: + (shiftEnd): Call adjustPositionsInRange rather than getPositionsInRange + and then iterating over the set and adjusting them. + (shiftGap): Likewise. + (shiftGapStartDown): Call setPositionsInRange rather than + getPositionsInRange and then iterating over the set to set each + Position. + (shiftGapEndUp): Likewise. + (setPositionsInRange): New implementation method. + (adjustPositionsInRange): New implementation method. + (resetMarksAtZero): Call setPositionsInRange rather than + getPositionsInRange and then iterating over the set to set each + Position. + +2005-09-30 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (getScrollableUnitIncrement): Respect the direction argument. + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (VSBChangeListener.stateChanged): Compare ypos with viewPosition.y + instead of viewPosition.x. + (ViewportChangeHandler.stateChanged): Call + syncScrollPaneWithViewport in all cases, not only when the + extents have changed. + (syncScrollPaneWithViewport): Also sync the maximum and value + properties of the scrollbar models with the viewport. + +2005-09-30 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Only call paintFocus if button is actually focused. + +2005-09-30 Roman Kennke <kennke@aicas.com> + + Fixes Bug #24115 + * javax/swing/AbstractButton.java + (AbstractButton): Don't call init() from here. Moved some + initialization code from init() to the constructor. + (init): Moved most of the initialization code to the constructor. + * javax/swing/JCheckBox.java + (JCheckBox()): call this(..) instead of super(..). Don't call init() + here, this is already performed by the JToggleButton constructor. + (JCheckBox(Action)): Don't call init() here, this is already + performed by the JToggleButton constructor. + (JCheckBox(Icon)): call this(..) instead of super(..). Don't call + init() here, this is already performed by the JToggleButton + constructor. + (JCheckBox(Icon, boolean)): Likewise. + (JCheckBox(String)): Likewise. + (JCheckBox(String, boolean)): Likewise. + (JCheckBox(String, Icon)): Likewise. + (JCheckBox(String, Icon, boolean)): Don' call init here. This is + already performed by the JToggleButton constructor. Set the + correct defaults for horizontalAlignment and borderPainted + properties here. + * javax/swing/JRadioButton.java + (JRadioButton(String, Icon, boolean)): Use acccessor methods + instead of directly manipulating package private fields of + AbstractButton. + * javax/swing/JToggleButton.java + (JToggleButton(String, Icon, boolean)): Set correct value for the + alignmentX property. + +2005-09-30 Mark Wielaard <mark@klomp.org> + + * javax/swing/JFileChooser.java: Import AccessibleRole. + +2005-09-30 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c + (cp_gtk_graphics2d_init_jni): Check ExceptionOccured after running + class initializer. + +2005-09-30 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initFont): New static + method. + (GdkFontMetrics): Use initFont() in super() call. + +2005-09-30 Mark Wielaard <mark@klomp.org> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (Java_gnu_java_awt_peer_gtk_GdkTextLayout_getOutline): Initialize all + fields of the FT_Outline_Funcs ftCallbacks struct. + (_moveTo): Takes an void * as argument. + (_lineTo): Likewise. + (_quadTo): Likewise. + (_curveTo): Likewise. + +2005-09-30 Sven de Marothy <sven@physto.se> + + * javax/swing/JFileChooser.java: + (getAccessibleContext): Implement. + (AccessibleJFileChooser): Inner class implemented. + +2005-09-30 Jeroen Frijters <jeroen@frijters.net> + + Fixes Bug 24122 + * gnu/xml/transform/TransformerImpl.java + (writeStreamResult): Added call to connection.setDoInput(false). + +2005-09-29 Tom Tromey <tromey@redhat.com> + + * java/net/URLConnection.java (setDoInput): Javadoc fix. + (setDoOutput): Likewise. + (setContentHandlerFactory): Likewise. + (setFileNameMap): Likewise. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (installUI): Call the new installKeyboardActions hook. + (uninstallUI): Call the new uninstallKeyboardActions hook. + (installKeyboardActions): New hook method. + (uninstallKeyboardActions): New hook method. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (ActionScroller.ActionScroller): Added constructor. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTableUI.java + (KeyHandler): New inner class. + (createKeyListener): New method. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (getLeftChildIndent): Fixed method signature. + (drawCentered): Fixed method signature. + +2005-09-29 Tom Tromey <tromey@redhat.com> + + PR classpath/23381: + * java/beans/PropertyDescriptor.java (hashCode): New method. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * javax/swing/OverlayLayout.java: Added API docs all over. + +2005-09-29 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/ButtonDemo.java + (createContent): add a close button, + (actionPerformed): perform close action, + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java + (createContent): add a close button, + (actionPerformed): perform close action. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (getAlignedSizeRequirements): Fixed calculation of preferred and + maximum size as well as the alignment. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + Fixes Bug #23851 + * javax/swing/OverlayLayout.java + (OverlayLayout): Implemented. + (invalidateLayout): Implemented. + (addLayoutComponent(Component, Object)): Implemented. + (addLayoutComponent(String, Component)): Implemented. + (removeLayoutComponent): Implemented. + (preferredLayoutSize): Implemented. + (minimumLayoutSize): Implemented. + (maximumLayoutSize): Implemented. + (getLayoutAlignmentX): Implemented. + (getLayoutAlignmentY): Implemented. + (layoutContainer): Implemented. + (checkRequirements): New private helper method. + (checkTotalRequirements): New private helper method. + (checkLayout): New private helper method. + +2005-09-29 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: new demo. + +2005-09-29 Thomas Fitzsimmons <fitzsim@redhat.com> + + * java/awt/print/PrinterJob.java + (print(PrintRequestAttributeSet)): Remove abstract modifier and + implement. + +2005-09-29 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JPopupMenu.java + (setVisible): use current size, not preferred size, when checking for + screen edge, + * javax/swing/plaf/basic/BasicComboPopup.java + (show): include top and bottom insets in preferred size, + * javax/swing/plaf/metal/MetalComboBoxButton.java + (MetalComboBoxButton): don't pass icon to super class, + (paintComponent): call super.paintComponent() and reworked label + drawing. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + Fixes Bug #24105 + * javax/swing/text/GapContent.java + (GapContentPosition.getOffset): Adjusted assert statement. + (shiftGap): Adjusted index in getPositionsInRange call. Call + resetMarksAtZero if gapStart has moved to 0. + (replace): Call shiftGap and shiftGapEndUp only if necessary. + (resetMarksAtZero): New method. + +2005-09-29 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Added a new field for the gap between the icon and text. + (setPreferredMenuItemSize): Changed gap from defaultTextIconGap + to defaultTextArrowIconGap + +2005-09-29 Tom Tromey <tromey@redhat.com> + + * java/rmi/activation/ActivationGroup_Stub.java (serialVersionUID): + New field. + +2005-09-28 Lillian Angel <langel@redhat.com> + + Fixes Bug #24080 + * java/awt/Window.java + (show): Fixed the synchronized block to fix deadlock + problem. + +2005-09-29 Sven de Marothy <sven@physto.se> + + * gnu/java/awt/peer/gtk/GdkTextLayout.java + (getOutline): Implement as native + * include/gnu_java_awt_peer_gtk_GdkTextLayout.h + Add declaration + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c + (getOutline): Implement. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + * java/rmi/server/RMIClassLoader.java + (loadClass(URL, String)): New method. + +2005-09-29 Roman Kennke <kennke@aicas.com> + + Fixes Bug #24114 + * javax/swing/plaf/basic/BasicTextUI.java + (installDefaults): Set the background color correctly. + +2005-09-29 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicIconFactory.java + (getMenuArrowIcon): adjusted the size and painting of the returned + icon, + * javax/swing/plaf/basic/BasicMenuItemUI.java + (paintMenuItem): adjusted arrow icon position. + +2005-09-28 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/AbstractDocument.java: + (BranchElement.getElementIndex): If there are no children, don't return + -1, instead getStartOffset() will throw NPE. Also, if no child Element + contains the specified offset, return the closest one. + +2005-09-28 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): Added check to prevent NPE. + (adjustLocation): Changed else if to if, to + check final y position of tooltip incase + it is still cut off. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * java/rmi/server/RMIClassLoader.java: + Moved all implementation code to + gnu.java.rmi.server.RMIClassLoaderImpl. + (getProviderInstance): New helper method to find a provider. + (getDefaultProviderInstance): New helper method to find a provider. + (loadClass(String, String, Class)): New method. + * gnu/java/rmi/server/RMIClassLoaderImpl.java: + New class. The implementation is moved from + java.rmi.server.RMIClassLoader. + +2005-09-28 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/AbstractDocument.java: + (AbstractElement.getResolveParent): If the AttributeSet's + getResolveParent returns null, use the Element's parent's AttributeSet. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * java/rmi/activation/ActivationGroup_Stub.java: + New class. + +2005-09-28 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (paint): No need to call calculateThumbLocation, called + by calculateGeometry. + +2005-09-28 Lillian Angel <langel@redhat.com> + + Fixes Bug #23934 + * javax/swing/plaf/basic/BasicSliderUI.java + (paint): Called calculateGeometry, so the slider is + initially set up. + +2005-09-28 Lillian Angel <langel@redhat.com> + + Fixes Bug #24080 + * java/awt/Window.java + (show): Added a synchronized block to fix deadlock + problem. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicSliderUI.java + (ActionScroller): Added unused class for binary compatibility. + * javax/swing/plaf/basic/BasicTableHeaderUI.java + (MouseInputHandler): Made inner class public as specified. + * javax/swing/plaf/basic/BasicTableUI.java + (FocusHandler): Made inner class public as specified. + (MouseInputHandler): Made inner class public as specified. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (currentIcon): Made method package private, so that other button + UIs can access it. + (paint): Removed unnecessary call to paintButtonNormal(). + (paintButtonNormal): Removed unnecessary method. The background + is already filled correctly when paint() is entered. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Call the new paintFocus() method instead of the inherited + from BasicButtonUI. + (paintFocus): New method. Paints the focus indicator for + JRadioButtons and subclasses. + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (paint): New method. Implements custom painting. Mostly, this + is needed in order to call the new paintIcon() method. + (paintIcon): New method. Narrows the types from the super-class + method. + +2005-09-28 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getRowEnd): Call getText() rather than trying to get the Element- + specific portion to avoid GapContent errors. + (getRowStart): Likewise. + +2005-09-28 Tom Tromey <tromey@redhat.com> + + * javax/sound/midi/MidiUnavailableException.java (serialVersionUID): + New field. + * javax/sound/midi/InvalidMidiDataException.java (serialVersionUID): + New field. + +2005-09-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/UIDefaults.java + (getBoolean(Object)): API doc correction. + +2005-09-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalButtonListener.java + (propertyChange): check new value of property to determine which + border to set. + +2005-09-28 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installDefaults): Fixed checks for setting defaults. + Should check if default is null also. + +2005-09-28 Lillian Angel <langel@redhat.com> + + Fixes Bug #24077 + * gnu/java/awt/peer/gtk/GdkFontMetrics.java + (GdkFontMetrics): Added a check for the font + being null. Fixed a NPE. + * gnu/java/awt/peer/gtk/GdkGraphics.java + (GdkGraphics): Added check if the font is null. + If it is, the font should be set to the default. + (setFont): If font parameter is null, this.font should not + be changed. + * javax/swing/JPopupMenu.java: + Fixed API documentation to say 'JDialog' rather than + 'JWindow'. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (currentIcon): Made method package private, so that other button + UIs can access it. + (paint): Removed unnecessary call to paintButtonNormal(). + (paintButtonNormal): Removed unnecessary method. The background + is already filled correctly when paint() is entered. + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Call the new paintFocus() method instead of the inherited + from BasicButtonUI. + (paintFocus): New method. Paints the focus indicator for + JRadioButtons and subclasses. + * javax/swing/plaf/basic/BasicToggleButtonUI.java + (paint): New method. Implements custom painting. Mostly, this + is needed in order to call the new paintIcon() method. + (paintIcon): New method. Narrows the types from the super-class + method. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (createDefaultTheme): Change default back to DefaultMetalTheme. + The Ocean theme is too inconsistent. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * java/awt/Font.java + (tk): Made method package private. Must not be protected. + (getFontFromToolkit): Made method package private. Must not + be protected. + (getPeerFromToolkit): Made method package private. Must not + be protected. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (createMouseWheelListener): New hook method for creating + mouse wheel listeners. + (installListeners): Use new hook method to create mouse wheel + listeners. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalProgressBarUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalSeparatorUI.java + (paint): New method. Uses the metal colors for drawing separators. + * javax/swing/plaf/metal/MetalSplitPaneUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalTabbedPaneUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalTextFieldUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/MetalTreeUI.java + (createUI): Removed Hashtable lookup. + * javax/swing/plaf/metal/Ocean.java + (addCustomEntriesToTable): New method. Adds some custom UI defaults + for the Ocean theme. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalScrollBarUI.java + (paintThumb): Use new MetalUtils.fillMetalPattern signature. + * javax/swing/plaf/metal/MetalSplitPaneDivider.java + (paint): Use new MetalUtils.fillMetalPattern signature. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java + (paintPalette): Use new MetalUtils.fillMetalPattern signature. + (paintComponent): Use new MetalUtils.fillMetalPattern signature. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalBorders.java + (MenuItemBorder.paintBorder): Fixed painting so that a thin white + line is drawn on the left of unarmed items. Fixed color handling. + (PopupMenuBorder.borderInsets): Fixed insets. + (PopupMenuBorder.paintBorder): Removed left white line. This is + drawn now in the MenuItemBorder. + (ToolBarBorder.paintBorder): Use correct call to new MetalUtils + fillMetalPattern method signature. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern): If we have a Graphics2D, then go into + optimized drawing mode. + (fillMetalPattern2D): New method. Implements pattern drawing using + textures. + (initializePattern): New method. Initializes the texture. + +2005-09-28 Roman Kennke <kennke@aicas.com> + + * java/awt/Font.java: Reformatted file. + +2005-09-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (TreeHardDriveIcon): new private class, + (TreeFloppyDriveIcon): new private class, + (TreeComputerIcon): new private class, + (getTreeControlIcon): implemented, + (getTreeComputerIcon): implemented, + (getTreeHardDriveIcon): implemented. + +2005-09-28 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (ToolBarBorder): now implements SwingConstants. + +2005-09-27 Anthony Green <green@redhat.com> + + * javax/sound/midi/MidiSystem.java (getSequence): Add + missing methods. + * javax/sound/midi/Sequencer.java (stopRecording): Ditto. + * javax/sound/midi/ShortMessage.java (ShortMessage): Ditto. + (setMessage): Fix visibility. Add missing implementations. + * javax/sound/midi/ShoundbankResouce.java: Rename "soundBank" to + "soundbank", and "getSoundBank" to "getSoundbank". + +2005-09-27 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (rolloverBorder): new field, + (getRolloverBorder): new method, + * javax/swing/plaf/metal/MetalButtonListener.java: new class, + * javax/swing/plaf/metal/MetalButtonUI.java + (instance): removed field, + (constructor): initialise fields from UI defaults, + (getFocusColor): just return field value, + (getSelectColor): just return field value, + (getDisabledTextColor): just return field value, + (createUI): return a new instance every time, + (installDefaults): check for isRolloverEnabled and install rollover + border if necessary, + (uninstallDefaults): implemented, + (createButtonListener): implemented, + (paintButtonPressed): implemented, + (paintFocus): implemented, + (paintText): implemented. + +2005-09-27 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/SimpleAttributeSet.java: + (containsAttribute): Check the resolve parent if the attribute is not + found locally. + (containsAttributeLocally): New package-private method. + (isEqual): Re-implemented. Return true if the two sets have the same + size and this set contains the given set. + +2005-09-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/JSeparator.java + (updateUI): Removed invalidate call. This is unnecessary. + * javax/swing/plaf/basic/BasicSeparatorUI.java + (paint): Reworked painting so that it paints the separator + correctly. + (getPreferredSize): Fixed to return the correct values according + to the JDK. + (getMinimumSize): Likewise. + (getMaximumSize): Likewise. + +2005-09-27 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (RolloverButtonBorder): new class. + +2005-09-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/BoxLayout.java + (preferredLayoutSize): Fixed to respect the containers insets. + (layoutComponent): Likewise. + +2005-09-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (calculateTiledPositions): Only adjust sizes if the allocated + span is actually different from the used span. + (calculateAlignedPositions): Call adjustFromRight also if + baseline == 0, otherwise we get strange results because 0 * x = 0. + +2005-09-27 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/SimpleAttributeSet.java: + (removeAttributes(AttributeSet)): Only remove attributes from the + current set if their keys AND values are found in the given set + +2005-09-27 Lillian Angel <langel@redhat.com> + + Fixes Bug #24067 + * java/awt/Component.java + (removeNotify): Should call hide on the peer before + disposing of it. This stops the flashing when the + tooltips are removed from the component. + * javax/swing/plaf/basic/BasicToolTipUI.java + (getPreferredSize): If the accelerator is null, we should + paint the mnenomic if it is available. + +2005-09-27 Tom Tromey <tromey@redhat.com> + + * java/awt/Window.java (createBufferStrategy): Can throw AWTException. + * java/awt/Canvas.java (createBufferStrategy): Can throw AWTException. + +2005-09-27 Lillian Angel <langel@redhat.com> + + Fixes Bug #24044 + * javax/swing/ToolTipManager.java + (showTip): currentTip needs to be revalidated on HeavyWeightPopups + * javax/swing/plaf/basic/BasicToolTipUI.java + (getPreferredSize): Fixed to get the preferred size of the + tooltip including the accelerator, if it has one. + (paint): Fixed to paint the accelerator in its font + and color, if it has one. + +2005-09-27 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getRowEnd): New method. + (getRowStart): New method. + +2005-09-27 Tom Tromey <tromey@redhat.com> + + * java/beans/beancontext/BeanContextServicesSupport.java + (BCSSChild.serialVersionUID): Fixed. + * java/beans/beancontext/BeanContextSupport.java + (BCSChild.serialVersionUID): Fixed. + +2005-09-27 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicToolBarUI.java + (installDefaults): get border from UI defaults, + * javax/swing/plaf/metal/MetalBorders.java: + (ToolBarBorder): new class, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added tool bar border default, + * javax/swing/plaf/metal/MetalToolBarUI.java + (MetalContainerListener): new class, + (instance): removed field, + (MetalRolloverListener): new class, + (contListener): new field, + (rolloverListener): new field, + (createUI): return a new instance every time, + (createRolloverListener): implemented, + (createContainerListener): implemented, + (createNonRolloverBorder): implemented. + +2005-09-27 Anthony Green <green@redhat.com> + + * javax/sound/midi/MidiFileFormat.java (bytes, microseconds): + Rename to byteLength and microsecondLength respectively. + +2005-09-26 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): validating of toolTipWindow should not have been + removed. + +2005-09-26 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): Removed validating of currentTip. setVisible(true) + does this. Also, removed validating of toolTipWindow because + show() does this. + +2005-09-27 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (adjustGreater): Special handle the case when the components have + no spare room for adjustment. + (adjustSmaller): Special handle the case when the components have + no spare room for adjustment. + +2005-09-27 Roman Kennke <kennke@aicas.com> + + * java/awt/Component.java + (hide): Repaint component before invalidating the parent. + (show): Repaint component before invalidating the parent. + * javax/swing/JComponent.java + (revalidate): Check if we are in the event thread, and if not, + then queue a self-request in the event thread. + (setVisible): Repaint the parent and queue a revalidate. + +2005-09-27 Sven de Marothy <sven@physto.se> + + * javax/swing/JComboBox.java + (firePopupMenuCanceled): Implement + (firePopupMenuWillBecomeInvisible): Implement + (firePopupMenuWillBecomeVisible): Implement + +2005-09-27 Sven de Marothy <sven@physto.se> + + * javax/swing/text/html/CSS.java + (getAttribute,getAllAttributeKeys): Implement + +2005-09-26 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (JTree): Root should be visible by default. + * javax/swing/ToolTipManager.java + (showTip): Added check for validity of currentTip. Prevents + over-validating. + (hideTip): currentTip should be reset. + * javax/swing/JMenuItem.java + (setAccelerator): Registered accelerator as a keyboard action. + +2005-09-26 Tom Tromey <tromey@redhat.com> + + * java/lang/reflect/Proxy.java: Javadoc fix. + * java/io/OutputStreamWriter.java (OutputStreamWriter): Javadoc fix. + +2005-09-26 Anthony Green <green@redhat.com> + + * javax/sound/midi/Synthesizer.java (loadInstrument, + unloadInstrument, remapInstrument, loadAllInstruments, + unloadAllInstruments, unloadInstrument, loadInstrument): Don't + declare the unchecked IllegalArgumentException. + * javax/sound/midi/MidiSystem.java (getMidiDevice, write): Ditto. + * javax/sound/midi/ShortMessage.java: Fix 80-column formatting + problem. + * javax/sound/midi/Sequence.java: Ditto. + * javax/sound/midi/MidiMessage.java: Ditto. + * javax/sound/midi/MidiSystem.java: Ditto. + * javax/sound/midi/MidiFileFormat.java: Ditto. + +2005-09-26 Anthony Green <green@redhat.com> + + * javax/sound/midi/InvalidMidiDataException.java + * javax/sound/midi/MidiFileFormat.java + * javax/sound/midi/ControllerEventListener.java + * javax/sound/midi/Patch.java javax/sound/midi/Sequence.java + * javax/sound/midi/SysexMessage.java javax/sound/midi/Sequencer.java + * javax/sound/midi/spi/MidiFileReader.java + * javax/sound/midi/spi/MidiFileWriter.java + * javax/sound/midi/spi/SoundbankReader.java + * javax/sound/midi/spi/MidiDeviceProvider.java + * javax/sound/midi/Track.java javax/sound/midi/MidiChannel.java + * javax/sound/midi/MetaMessage.java javax/sound/midi/Instrument.java + * javax/sound/midi/MidiMessage.java + * javax/sound/midi/MidiUnavailableException.java + * javax/sound/midi/Transmitter.java javax/sound/midi/MidiEvent.java + * javax/sound/midi/VoiceStatus.java javax/sound/midi/MidiDevice.java + * javax/sound/midi/SoundbankResource.java + * javax/sound/midi/Soundbank.java javax/sound/midi/Receiver.java + * javax/sound/midi/MetaEventListener.java + * javax/sound/midi/ShortMessage.java + * javax/sound/midi/Synthesizer.java + * javax/sound/midi/MidiSystem.java: New files. + +2005-09-26 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/peer/gtk/GtkDialogPeer.java + (create): If the dialog is a toolTip or a + PopupMenu, its type should be set to: + GDK_WINDOW_TYPE_HINT_MENU, so the parent + window does not lose focus. + * javax/swing/JTree.java + (setModel): Should update the UI everytime the + model is changed. + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Should not set the root to be visible. + (paintControlIcons): changed to use getVisibleRect. + * javax/swing/plaf/metal/MetalTreeUI.java + (installUI): Should not set the root to be visible. + +2005-09-26 Anthony Balkissoon <abalkiss@redhat.com> + + * gnu/java/text/BaseBreakIterator.java: + (following): Removed unused local variable. + +2005-09-26 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (calculateTiledPositions): Improved to also take minimum and maximum + sizes into account and better use the allocated space. + (adjustGreater): New helper function. + (adjustSmaller): New helper function. + +2005-09-25 Casey Marshall <csm@gnu.org> + + Fixes PR classpath/23916. Fix suggested by Santiago Gala + <sgala@apache.org>. + * java/security/AccessControlContext.java + (<init>): update javadoc; check SecurityPermission + "createAccessControlContext" if a security manager is set. + (getProtectionDomains): new method. + * vm/reference/java/security/VMAccessController.java + (DEBUG): set to 'gnu.classpath.Configuration.DEBUG.' + (pushContext, popContext): add debug statement. + (getContext): debug output changes; include the DomainCombiner + specified in the AccessControlContext, if any. + +2005-09-25 Tom Tromey <tromey@redhat.com> + + * javax/security/sasl/SaslServerFactory.java: Updated javadoc. + * javax/security/sasl/Sasl.java: Updated javadoc. + * javax/security/sasl/SaslClientFactory.java: Updated javadoc. + * javax/security/sasl/RealmChoiceCallback.java: Updated javadoc. + * javax/security/sasl/RealmCallback.java: Updated javadoc. + * javax/security/sasl/AuthenticationException.java: Updated + javadoc. + * javax/security/sasl/SaslServer.java (getNegotiatedProperty): + Don't throw SaslException. + * javax/security/sasl/SaslClient.java (getNegotiatedProperty): + Don't throw SaslException. + * javax/security/sasl/SaslException.java (serialVersionUID): New + field. + * javax/security/sasl/AuthorizeCallback.java (AuthorizeCallback): + Implements Serializable. + (serialVersionUID): New field. + +2005-09-25 Casey Marshall <csm@gnu.org> + + * gnu/java/security/provider/Gnu.java + (<init>): add Diffie-Hellman key factory and key pair generator. + * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl.java, + * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl.java: + new files. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (calculateAlignedPositions): Improved algorithm to better respect + the minimum and maximum size and to better use the available space. + (adjustFromRight): New helper method. + (adjustFromLeft): New helper method. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/BoxLayout.java + (layoutContainer): Respect the insets of the container. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + Fixed some API comments. + (paintChildren): Set clip to exclude the border area. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paint): Paint border after the children are painted. Otherwise the + children could draw over the border. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (getAlignedRequirements): Implemented this method. + (calculateAlignedPositions): Implemented this method. + * javax/swing/BoxLayout.java + (Direction): Removed unneeded inner interface. + (Horizontal): Removed unneeded inner class. + (Vertical): Removed unneeded inner class. + (SizeReq): Removed unneeded inner class. + (preferredLayoutSize): Reimplemented to use SizeRequirements. + (minimumLayoutSize): Reimplemented to use SizeRequirements. + (maximumLayoutSize): Reimplemented to use SizeRequirements. + (layoutContainer): Reimplemented to use SizeRequirements. + (layoutAlgorithm): Removed unneeded package private method. + (distributeSpace): Removed unneeded package private method. + (getSizeRequirements): New private helper method. + +2005-09-24 Sven de Marothy <sven@physto.se> + + * gnu/javax/imageio/bmp/BMPDecoder.java + (BMPDecoder): Fix static field references. + +2005-09-24 Sven de Marothy <sven@physto.se> + + * java/awt/Font.java + Fixed comments. + (pointSize): New field. + (Font): Set size fields. + (getSize, getSize2D): Return size fields. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paint): Check if clip == null and if so set it to the component's + bounds. + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + (getClipBounds): Added null check so that null is returned when + clip == null, instead of throwing an NPE while accessing + null.getBounds2D(). + +2005-09-24 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Replace deprecated + gtk colormap stuff. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paint): Activate double buffering if it is not already activated. + (paintImmediately2): Prepare a component graphics object here and + call paintDoubleBuffered with this. + (paintDoubleBuffered): Changed to work nicely with the new paint() + and paintImmediately2() methods. + +2005-09-24 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Added font default for + FormattedTextField.font. Solves an NPE that was caused by a null + font on a JFormattedTextField. + +2005-09-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultComboBoxModel.java + (addElement): always fire event for interval added, and call + setSelectedItem() if this is the first item. + +2005-09-24 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultComboBoxModel.java: updated API docs all over. + +2005-09-24 Sven de Marothy <sven@physto.se> + + * java/awt/FontMetrics.java + (getMaxCharBounds, hasUniformLineMetrics): New methods. + +2005-09-24 Sven de Marothy <sven@physto.se> + + * gnu/javax/imageio/bmp/BMPDecoder.java, + * gnu/javax/imageio/bmp/BMPImageReaderSpi.java, + * gnu/javax/imageio/bmp/DecodeBF32.java, + * gnu/javax/imageio/bmp/DecodeRGB8.java, + * gnu/javax/imageio/bmp/BMPException.java, + * gnu/javax/imageio/bmp/BMPInfoHeader.java, + * gnu/javax/imageio/bmp/DecodeRGB1.java, + * gnu/javax/imageio/bmp/DecodeRLE4.java, + * gnu/javax/imageio/bmp/BMPFileHeader.java, + * gnu/javax/imageio/bmp/DecodeRGB24.java, + * gnu/javax/imageio/bmp/DecodeRLE8.java, + * gnu/javax/imageio/bmp/BMPImageReader.java, + * gnu/javax/imageio/bmp/DecodeBF16.java, + * gnu/javax/imageio/bmp/DecodeRGB4.java: + New files. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java + (setFont): If font == null, simply return. Avoids a NPE. + +2005-09-23 Sven de Marothy <sven@physto.se> + + * java/io/OutputStreamWriter.java: + (OutputStreamWriter): Added missing constructors. + +2005-09-23 Lillian Angel <langel@redhat.com> + + * java/awt/Component.java + (getFont): Should return null, not a default font. + * javax/swing/ToolTipManager.java + (showTip): Called revalidate currentTip before painted, and + called validate on JDialog toolTip. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/SwingUtilities.java + (layoutCompoundLabel): Removed debug code. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/JScrollPane.java + (setHorizontalScrollBar): Removed handling of listeners on the model. + This is now done in the BasicScrollPaneUI. + (setHorizontalScrollBarPolicy): Added revalidate call. + (setVerticalScrollBar): Removed handling of listeners on the model. + This is now done in the BasicScrollPaneUI. + (setVerticalScrollBarPolicy): Added revalidate call. + (setViewport): Removed handling of listeners on the viewport. + This is now done in the BasicScrollPaneUI. + (createScrollListener): Removed unnecessary and undocumented method. + The functionality of this method is moved to BasicScrollPaneUI + as specified. + (JScrollPane): Removed initialization of removed listener. + * javax/swing/plaf/basic/BasicScrollPaneUI.java + (HSBChangeListener): New inner class. + (VSBChangeListener): New inner class. + (ViewportChangeHandler): New inner class. + (PropertyChangeHandler): New inner class. + (MouseWheelHandler): New inner class. + (installUI): Also call installListeners. + (installListeners): New method. Initializes the listeners on the + scrollpane. + (createHSBChangeListener): New method. + (createVSBChangeListener): New method. + (createViewport): New method. + (createPropertyChangeListener): New method. + (uninstallUI): Also call uninstallListeners. + (uninstallListeners): New method. + (syncScrollPaneWithViewport): New method. + (updateColumnHeader): New method. + (updateRowHeader): New method. + (updateScrollBarDisplayPolicy): New method. + (updateViewport): New method. + +2005-09-23 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JTextField.java: Reformatted and added API docs. + +2005-09-23 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): Set lightWeightPopupEnabled to default. + Validated and repainted new containerPanel and + repainted toolTipWindow and repainted currentTip. The + toolTips paint well now. + +2005-09-23 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (paintRecursive): Changed clip to be the visible + rectangle of the view. + +2005-09-23 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/DefaultComboBoxModel.java + (DefaultComboBoxModel(Object[])): set selected item, + (DefaultComboBoxModel(Vector): likewise, + (addElement): reimplemented, + (removeElementAt): update selected item, + (removeAllElements): clear selected item and fire correct event, + (setSelectedItem): update item always, + (getElementAt): return null for index out of bounds, + * javax/swing/plaf/metal/MetalComboBoxButton.java + (paintComponent): check for null selection. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicToolBarUI.java + Added some deprecated and unused fields for binary compatibility. + (installListeners): Fixed method parameters. + (installUI): Call installListeners with fixed method parameters. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicPanelUI.java + (uninstallUI): New method. + (uninstallDefaults): New method. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (MinimumHeight): New constant field. + (MinimumWidth): New constant field. + (minimumWidth): Removed unused field. + (minimumHeight): Removed unused field. + (installDefaults): Removed initializing of minimumSize and + minimumHeight. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Initialize OptionPane.minimumSize from + constant fields in BasicOptionPaneUI. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicMenuUI.java + (ChangeHandler): Added some deprecated and unused fields for + binary compatibility. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java + (deactivateFrame): New method. + (InternalFramePropertyChangeListener.propertyChange): Call + new deactivate() method instead of getDesktopManager.deactivate() + +2005-09-23 Lillian Angel <langel@redhat.com> + + Fixes Bug #24022 + * javax/swing/plaf/basic/BasicTreeUI.java + (paint): Took out unneeded code. + +2005-09-23 Lillian Angel <langel@redhat.com> + + Fixes Bug #23529 + * javax/swing/plaf/basic/BasicScrollBarUI.java + (mousepressed): Made delay shorted while pressing the arrow + button. This makes the scrollbar move more smoothly. + (mouseReleased): Reset the delay to the default, so single + clicks only move the scrollbar 1 unit. Also, when the + mouse is released, the scrollbar should move 1 unit. + (shouldScroll): Should not be able to scroll by block + when the mouse is in the thumbRect. + (mousePressed): Made delay shorted while pressing in the + scroll area. This makes the scrollbar move more smoothly. + (mouseReleased): Should move the scrollbar 1 block when the + mouse is released. Also, reset the timer to default delay. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (installKeyboardActions): Call renamed method registerKeyboardActions. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicDesktopPaneUI.java + (registerKeyboardAction): Renamed this method to + registerKeyboardActions as specifie. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicListUI.java + (FocusHandler.repaintCellFocus): Marked protected instead of + package private as specified. + (KeyHandler.keyPressed): Call new methods selectNextIndex and + selectPreviousIndex instead of doing the work here. + (PropertyChangeHandler.propertyChange): Update the + updateLayoutStateNeeded field correctly. + (BasicListUI): Removed listener initialization. Moved this + to installListeners. + (installListeners): Initialize listeners here instead in the + constructor. Use the createXXXListener hooks instead of creating + the listeners directly. + (createFocusListener): New hook method for creating a focus listener. + (createListDataListener): New hook method for creating a list + data listener. + (createListSelectionListener): New hook method for creating a list + selection listener. + (createMouseInputListener): New hook method for creating a mouse + input listener. + (createPropertyChangeListener): New hook method for creating a + property change listener. + +2005-09-23 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (OptionDialogBorder): new class. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicColorChooserUI.java + (uninstallDefaultChoosers): New method. + (uninstallUI): Call uninstallDefaultChoosers. + +2005-09-23 Roman Kennke <kennke@aicas.com> + + * javax/swing/SwingUtilities.java + (layoutCompoundLabel): Fix the case when verticalTextPosition=BOTTOM + and without icon. The label text slipped out of the view rectangle + in this case. + +2005-09-23 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (setCurrentTheme): throw exception if argument is null, improved API + docs. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JPanel.java + (accessibleContext): Removed this unnecessary field. Use the + inherited field of the same name from JComponent instead. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/UIManager.java + (static_initializer): Load MetalLookAndFeel only as fallback, if + the system property 'swing.defaultlaf' is not defined. Before + it has accidentally loaded the MetalLookAndFeel in all cases, + regardless of the property setting. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (paintChildren): If a child component is invisible, skip it. + Handle the (rare) case when no clip is set as if it's set to the + child component's bounds. These fixes should make Swing working + again as before. + +2005-09-22 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable): + Replace deprecated gtk_window_set_policy with gtk_window_set_resizable. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c + (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Replace deprecated + gtk_container_children with gtk_container_get_children. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c + (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu): Likewise. + (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_delMenu): Likewise. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Replace deprecated + gdk_pixmap_unref with g_object_unref. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked): + Replace deprecated gdk_cursor_destroy with gdk_cursor_unref. + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetParent): + Replace deprecated gtk_container_children with + gtk_container_get_children. + (find_fg_color_widget): Replace deprecated macro GTK_IS_OPTION_MENU with + GTK_IS_COMBO_BOX. + (component_button_release_cb): Replace deprecated gdk_window_get_size + with gdk_drawable_get_size. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): + Replace deprecated gtk_radio_button_group with + gtk_radio_button_get_group. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer_remove): Likewise. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c + (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Replace deprecated + gtk_type_new with gtk_drawing_area_new. + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c + (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyState): Replace deprecated + gdk_*_ref with g_object_ref. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II): Likewise. + Replace deprecated gdk_rgb_get_cmap with gdk_rgb_get_colormap. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage): Replace + deprecated gdk_*_ref with g_object_ref. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked): Likewise. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_dispose): Replace deprecated + gdk_*_unref with g_object_unref. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyArea): Replace deprecated + gdk_window_copy_area with gdk_draw_drawable. + (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor): Replace deprecated + gdk_color_alloc with gdk_colormap_alloc_color. + +2005-09-22 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getWordEnd): Implemented. + (getWordStart): Implemented. + +2005-09-22 Keith SEitz <keiths@redhat.com> + + * gnu/classpath/jdwp/event/filters/StepFilter.java (StepFilter): Do not test + for null thread ID -- just test if it has not been garbage collected. + * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java (ThreadOnlyFilter): + Likewise. + +2005-09-22 Lillian Angel <langel@redhat.com> + + * javax/swing/JPopupMenu.java + (setVisible): Size of menu should always be the preferred + size. It was sometimes cutting of the accelerator. + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Increased defaultAcceleratorLabelGap field to 10, to + make menuItem more readable. + +2005-09-22 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getPreviousWord): Fixed incorrect logic. Use preceding() instead of + following(), previous() instead of next(). + +2005-09-22 Anthony Balkissoon <abalkiss@redhat.com> + + * gnu/java/text/BaseBreakIterator.java: + (following): Don't restore old CharacterIterator index. + +2005-09-22 Tom Tromey <tromey@redhat.com> + + * javax/swing/JList.java (AccessibleJList): New constructor. + +2005-09-22 Tom Tromey <tromey@redhat.com> + + * java/net/ServerSocket.java (accept): Use correct security manager + call. + +2005-09-22 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/Utilities.java: + (getNextWord): Implemented. + (getPreviousWord): Implemented. + +2005-09-22 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/MetalLookAndFeel.java + (initComponentDefaults): Changed back to original + values. + +2005-09-22 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): Moved tooltip location adjustments to a + helper method. + (adjustLocation): New helper method. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fixed defaults for Table, + TableHeader, Tree to match JDK. + * javax/swing/plaf/MetalLookAndFeel.java + (initComponentDefaults): Fixed defaults for Table and + TableHeader to match JDK. + * javax/swing/plaf/basic/BasicToolTipUI.java + (defaultBorder): Removed, along with inner class. Not needed. + (installDefaults): Changed border to be the default border in + L&F. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JSpinner.java + (ListEditor): New inner class. Provides an editor for the + SpinnerListModel. + +2005-09-22 Tom Tromey <tromey@redhat.com> + + * java/io/FileWriter.java (FileWriter): Typo fix. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JApplet.java + (accessibleContext): Made field protected as specified. + * javax/swing/JButton.java + (accessibleContext): Removed field. The inherited JComponents + accessibleContext field should be used instead. + * javax/swing/JLabel.java + (accessibleContext): Removed field. The inherited JComponents + accessibleContext field should be used instead. + * javax/swing/JRootPane.java + (JRootPane): Removed unnecessary setDoubleBuffered() call. + +2005-09-22 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/html/HTML.java: + (SYNTHETIC): Renamed variable SYNTETIC to SYNTHETIC. + (Tag): Changed comment for static Tag IMPLIED. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JViewport.java + (JViewport): Initialize cached fields for blitting. + (setViewPosition): Repaint viewport. + (revalidate): Set damaged flag. Used for blitting. + (reshape): Likewise. + (paint): New method. Decide which paint method to use. + (computeBlit): New method. Computes the parameters for blitting. + (paintSimple): New method. Performs painting in simple mode. + (paintBackingStore): New method. Performs painting in backingstore + mode. + (paintBlit): New method. Performs painting in blit mode. For + now this falls back to backing store mode. + * javax/swing/plaf/basic/BasicViewportUI.java + (ChangeListener): Removed inner class. + (installDefaults): Load default for background color. Changed + signature to protected. + (installListeners): Removed method. + (uninstallDefaults): Changed signature to protected. + (installUI): Call installDefaults(). + (uninstallUI): Call uninstallDefaults(). + (getPreferredSize): Removed. + (paint): Removed. + (paintSimple): Removed. + (paintBackingStore): Removed. + +2005-09-22 Roman Kennke <kennke@aicas.com> + + * javax/swing/JComponent.java + (AccessibleJComponent.addPropertyChangeListener): Partly omplemented. + (AccessibleJComponent.getAccessibleStateSet): Partly implemented. + (doubleBuffered): Default value of this field is true. + (paint): Moved double buffer painting stuff to separate method. + (paintChildren): Don't call into AWT painting code here. This allows + for a small optimization. + (paintImmediately): Don't go up to the parent window, try to start + painting on the nearest JRootPane if possible. + (paintImmediately2): New method. Actually performs repainting + on the repaint root. + (paintDoubleBuffered): New method. Performs painting using + a double buffer. + (paintSimple): New method. Performs painting without buffer. + +2005-09-22 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/filechooser/FileFilter.java: reformatted and added API + docs. + +2004-10-09 Tom Tromey <tromey@redhat.com> + + * java/lang/ClassLoader.java + (defineClass(String,ByteBuffer,ProtectionDomain)): New method. + +2005-09-21 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): Fixed location of tooltip. Sometimes + the ToolTip was being cut off. + +2005-09-21 Mark Wielaard <mark@klomp.org> + + * gnu/classpath/ByteArray.java: Reindent boilerplate. + +2005-09-21 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * gnu/classpath/ByteArray.java, + * gnu/javax/crypto/DiffieHellmanImpl.java, + * gnu/javax/crypto/GnuDHPrivateKey.java, + * gnu/javax/crypto/RSACipherImpl.java: + Fixed address within GPL license. + +2005-09-21 Mark Wielaard <mark@klomp.org> + + * lib/split-for-gcj.sh: Cut list to 3 package levels deep. + +2005-09-21 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/html/HTML.java: + (Tag): Changed name of IMPLIED Tag from "implied" to "p-implied" to + match the JDK. + * javax/swing/text/html/HTMLDocument.java: + (AdditionalComments): New field. + +2005-09-21 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/html/HTMLDocument.java: + (getBase): Implemented. + (setBase): Implemented. + (getPreservesUnknownTags): Implemented. + (setPreservesUnknownTags): Implemented. + (BlockElement): New class partially implemented. + +2005-09-21 Tom Tromey <tromey@redhat.com> + + * java/awt/BorderLayout.java: Reverted field reordering. + +2005-09-21 Lillian Angel <langel@redhat.com> + + * javax/swing/JTable.java + (distributeSpill): Fixed a NPE. + * javax/swing/ToolTipManager.java + (mouseExited): No need to do this stuff, removed code. + (showTip): Revalidating and repainting too much, removed. + (hideTip): Likewise. + +2005-09-21 Tom Tromey <tromey@redhat.com> + + * java/awt/BorderLayout.java (invalidateLayout): Updated comment. + (setBounds): Likewise. + (MIN, MAX, PREF): Moved nearer top of file. + (getLayoutComponent): New methods. + (getConstraints): New method. + (vgap, hgap, north, south, east, west): Reordered fields to conform + to serialization spec. + +2005-09-21 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/html/HTMLDocument.java: + (LeafIterator): New class. + (getIterator): Implemented. + (Iterator): New abstract class. + +2005-09-21 Tom Tromey <tromey@redhat.com> + + * java/math/BigDecimal.java (ZERO, ONE): Now public. Updated + javadoc. + (TEN): New constant. + * java/math/BigInteger.java (ZERO): Updated javadoc. + (ONE): Likewise. + (TEN): New constant. + +2005-09-21 Lillian Angel <langel@redhat.com> + + Fixes Bug #23937 + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (propertyChange): When WANTS_INPUT_PROPERTY is changed, + the buttons should be updated. + (getButtons): Applied patch in bug report. Sets default + buttons. + +2005-09-21 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (showTip): Added code to move currentPoint to a new place. + (getGoodPoint): Removed, not needed. + +2005-09-21 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalFileChooserUI.java: new file (partial + implementation). + +2005-09-20 Lillian Angel <langel@redhat.com> + + * javax/swing/JPopupMenu.java + (setVisible): If HeavyWeightPopup, setLightWeightPopupEnabled + is false. + * javax/swing/ToolTipManager.java + (showTip): Change so toolTips on lightWeightPopups are + added different than those on heavyWeightPopups. + (canToolTipFit): Removed. This is not needed/used. + +2005-09-20 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java + (mouseMoved): Removed unneeded code. If the mouse + moves into another component, then mouseEntered would + do the same thing. Otherwise, it is not needed. + (showTip): Fixed so that the containerPanel is an + instance of Panel. Made code more efficent. + Tooltips were causing weird problems with the + JMenus. + (getGoodPoint): Fixed to return a better location. + * javax/swing/plaf/basic/BasicMenuBarUI.java + (mouseClicked): Fixed to prevent a NPE. + +2005-09-20 Tom Tromey <tromey@redhat.com> + + PR classpath/22906: + * gnu/java/net/protocol/jar/Connection.java (get): Added useCaches + argument. + (connect): Updated. + +2005-09-20 Tom Tromey <tromey@redhat.com> + + * javax/print/DocFlavor.java (serialVersionUID): Fixed typo. + +2005-09-19 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/text/DefaultEditorKit.java: + (write): Partially Implemented and made slight correction to API docs. + * javax/swing/text/html/HTMLEditorKit.java: + (createDefaultDocument): Override parent method because we need to + return an HTMLDocument not a DefaultStyledDocument. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + Fixes PR #23900. + * javax/swing/JLayeredPane.java + (remove(int)): Removed repaint() call. This is unnecessary because + already triggered by Container.remove(). + (remove(Component)): Removed this superfluous method. It's not + in the specs and the functionality is already in Container. + (paint): New method. Overridden in order to provide reasonable + painting for JLayeredPanes. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler): Renamed to PropertyChangeHandler. This name is + closer to the purpose of this class. + (PropertyChangeHandler.propertyChange): Delegate property change + to propertyChange hook method in the enclosing BasicTextUI. + (propertyChange): New protected method. This serves as a hook + for subclasses to handle property changes in the text component. + * javax/swing/plaf/basic/BasicTextFieldUI.java + (properyChange): Handle editable property here and adjust background + accordingly. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultStyledDocument.java + (getParagraphElement): If the position argument is out of the + document's bounds, then the closest paragraph element must be + returned. This is fixed. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (resizeAndRepaint): New protected method. + +2005-09-20 Tom Tromey <tromey@redhat.com> + + * javax/xml/namespace/QName.java: Now Serializable. + (serialVersionUID): New field. + (qName, hashCode): Now transient. + (QName): Don't compute qName here. + (equals): Now final. + (hashCode): Simplified. + (toString): Compute qName here. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalBorders.java + (getTextFieldBorder): This method must return an BorderUIResource + instance. Fixed. + +2005-09-20 Mark Wielaard <mark@klomp.org> + + Reported by Martin Cordova <martin.cordova@gmail.com> + * native/jni/java-net/javanet.c (_javanet_accept): Throw + SocketTimeoutException on EAGAIN timeout. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): Handle the rollover UIDefaults property. + (paintText): Correctly paint disabled button label text. + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): Fix some text component border defaults. + * javax/swing/plaf/basic/BasicTextPaneUI.java + (installUI): New method. This sets up some style attributes + for the JTextPane. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefault): Added and fixed some UI defaults. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalBorders.java + (ButtonBorder.paintBorder): Fetch correct color for disabled + button border. + (getTextFieldBorder): Correctly initialize text field border. This + should be a compound border with a MarginBorder and TextFieldBorder + instead of a plain TextFieldBorder. + (getTextBorder): New method. + +2005-09-20 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultStyledDocument.java + (setParagraphAttributes): Implemented this method. + (insertUpdate): Fixed attribute comparison to avoid NPE. + +2005-09-20 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR awt/23951 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c + (isRealized): Leave GDK critical region when exiting early. + +2005-09-19 Tom Tromey <tromey@redhat.com> + + * java/awt/PopupMenu.java (AccessibleAWTPopupMenu.serialVersionUID): + New field. + * java/awt/TextField.java (AccessibleAWTTextField.serialVersionUID): + New field. + * java/awt/TextArea.java (AccessibleAWTTextArea.serialVersionUID): + New field. + * java/awt/Menu.java (AccessibleAWTMenu.serialVersionUID): New field. + * java/awt/CheckboxMenuItem.java (AccessibleAWTCheckboxMenuItem.serialVersionUID): + New field. + * java/awt/TextComponent.java (AccessibleAWTTextComponent.serialVersionUID): + New field. + * java/awt/MenuItem.java (AccessibleAWTMenuItem.serialVersionUID): + New field. + * java/awt/Frame.java (AccessibleAWTFrame.serialVersionUID): New + field. + * java/awt/Dialog.java (AccessibleAWTDialog.serialVersionUID): New + field. + * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): New + field. + * java/awt/Window.java (AccessibleAWTWindow.serialVersionUID): New + field. + * java/awt/ScrollPane.java (AccessibleAWTScrollPane.serialVersionUID): + New field. + * java/awt/List.java (AccessibleAWTList.serialVersionUID): New field. + (AccessibleAWTListChild.serialVersionUID): Likewise. + (AccessibleAWTListChild.parent): Moved earlier. + (AccessibleAWTListChild.indexInParent): Renamed. + +2005-09-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/filechooser/FileView.java: + Reformatted and added API doc comments. + +2005-09-19 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JRootPane.java: + (createGlassPane): Don't set the layout manager to BorderLayout. Leave + it as JPanel's default FlowLayout. + +2005-09-19 Lillian Angel <langel@redhat.com> + + * javax/swing/ToolTipManager.java: + Changed tooltip to be JDialog (no entry in taskbar), + instead of JWindow. + (actionPerformed): No need to start timer here. + (mouseEntered): No need to call showTip here, it is called + when the timer fires. + (showTip): Shouldn't show tip if it is already visible or + the current component is not showing. + * javax/swing/plaf/basic/BasicTreeUI.java + (getRowForPath): Re-implemented. + (mousePressed): Call getRowForPath instead, also + added a check in for leaf icons. + +2005-09-19 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JLayeredPane.java: + (<init>): Set layout manager to null. + +2005-09-19 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + (GlassPaneDispatcher.handleEvent): Added check for mouseEventTarget + being null to avoid NPE. + +2005-09-19 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JRootPane.java: + (RootLayout.layoutContainer): Added comment about how the + components should be sized. Fixed size of glassPane which fills the + entire viewable region, including overtop the menuBar. Used bounds + minus insets for containerSize, as indicated in comment, rather than + getSize(). Used setBounds instead of setSize for layeredPane because + its relation to the other components' sizes is more obvious that way. + +2005-09-19 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + (GlassPaneDispatcher.handleEvent): Replaced call to SwingUtilities' + convertMouseEvent (with identical source and desination) with a simple + cast. If acquireComponentForMouseEvent reveals we're going to + re-dispatch this event to ourselves (and loop infinitely), return. Also + replaced contentPane by glassPane as the source argument to + SwingUtilities.convertMouseEvent since the glassPane is the real + source. + +2005-09-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicArrowButton.java + (paintTriangle): minor correction to highlight on triangle for disabled + buttons. + +2005-09-19 Tom Tromey <tromey@redhat.com> + + * javax/print/DocFlavor.java (BYTE_ARRAY.serialVersionUID): New field. + (INPUT_STREAM.serialVersionUID): Likewise. + +2005-09-19 Tom Tromey <tromey@redhat.com> + + * java/text/DateFormat.java (serialVersionUID): New field. + +2005-19-19 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (selectPath): Changed so DISCONTIGUOUS_TREE_SELECTION is the + default. + * javax/swing/JTree.java + (AccessibleJTreeNode): Initialized all fields. + (addAccessibleSelection): Implemented. + (clearAccessibleSelection): Implemented. + (doAccessibleAction): Implemented. + (getAccessibleAction): Implemented. + (getAccessibleActionCount): Implemented. + (getAccessibleActionDescription): Implemented. + (getAccesssibleChild): Remove mod variable, made global. + (getAccessibleComponent): Changed to return this, since this + class implements AccessibleComponent. + (getAccessibleSelection): Likewise. + (getAccessibleSelection): Implemented. + (getAccessibleSelectionCount): Implemented. + (getAccessibleStateSet): Remove mod variable, made global. + (getCursor): Implemented. + (isAccessibleChildSelected): Remove mod variable, made global. + (removeAccessibleSelection): Implemented. + (selectAllAccessibleSelection): Implemented. + (setCursor): Implemented. + (AccessibleJTree): Nothing to do. + (getAccessibleAt): Implemented. + (getAccessibleSelection): Implemented. + (getAccessibleSelection): Implemented. + +2005-09-19 Tom Tromey <tromey@redhat.com> + + * javax/xml/xpath/XPathFunctionException.java (serialVersionUID): New + field. + * javax/xml/xpath/XPathFactoryConfigurationException.java + (serialVersionUID): New field. + * javax/xml/xpath/XPathExpressionException.java (serialVersionUID): New + field. + * javax/xml/xpath/XPathException.java (serialVersionUID): New field. + * javax/xml/transform/TransformerConfigurationException.java (locator): + Removed. + (TransformerConfigurationException): Pass locator to super constructor. + (serialVersionUID): New field. + * javax/xml/transform/TransformerFactoryConfigurationError.java + (serialVersionUID): New field. + * javax/xml/transform/TransformerException.java (containedException): + Renamed field. + (serialVersionUID): New field. + +2005-09-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler.propertyChange): Handle changes of the editable + property. + (paintBackground): Moved implementation to + UpdateHandler.propertyChange. This method itself should not fill + the background. + +2005-09-19 Mark Wielaard <mark@klomp.org> + + * native/jni/java-net/java_net_VMInetAddress.c + (Java_java_net_VMInetAddress_getHostByAddr): Add error string as + exception message. + * native/jni/java-net/javanet.c (_javanet_accept): Likewise. + (_javanet_shutdownInput): Likewise. + (_javanet_shutdownOutput): Likewise. + +2005-09-19 Roman Kennke <kennke@aicas.com> + + * javax/swing/border/TitledBorder.java + (paintBorder): Correctly set the Y offset for the border title. + (getMeasurements): Determine the correct Y offset for the border + title. + +2005-09-19 Robert Schuster <robertschuster@fsfe.org> + + * java/awt/Checkbox.java: + (Checkbox): Properly set as selected checkbox in corresponding + checkbox group. + (paramString): Removed checkbox group information. + * java/awt/Component.java: + (paramString): Removed redundant "=". + +2005-09-19 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): call configureArrowButton after creating button, + (configureEditor): set the selected item, + (configureArrowButton): set a zero margin, + (getPreferredSize): delegate to getMinimumSize(), + (getMinimumSize): now uses code that was in getPreferredSize(), + (getDefaultSize): reduce default height, + (ComboBoxLayoutManager.layoutComponent): use comboBox height as button + width, + (PropertyChangeHandler.propertyChange): set font on arrow button, + * javax/swing/plaf/metal/MetalComboBoxUI.java + (instances): deleted field, + (MetalComboBoxLayoutManager): new class, + (MetalPropertyChangeListener): new class, + (MetalComboPopup): new class, + (createUI): just return new instance, + (createEditor): implemented, + (createPopup): implemented, + (createArrowButton): implemented, + (createPropertyChangeListener): implemented, + (paint): implemented, + (editablePropertyChanged): implemented, + (createLayoutManager): implemented, + (removeListeners): implemented, + (getMinimumSize): implemented. + +2005-09-19 Andreas Tobler <a.tobler@schweiz.ch> + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Fix double + unreferencing pfont->font. Unref pfont->layout instead. + +2005-09-18 Tom Tromey <tromey@redhat.com> + + * java/util/Timer.java (TaskQueue.purge): New method. + (Timer(String)): New constructor. + (Timer(String,boolean)): Likewise. + (purge): New method. + +2005-09-18 Tom Tromey <tromey@redhat.com> + + * java/lang/Short.java (valueOf): New method. + * java/lang/Double.java (valueOf): New method. + * java/lang/Float.java (valueOf): New method. + +2005-09-18 Tom Tromey <tromey@redhat.com> + + * java/lang/Long.java (reverse): Correctly handle sign extension. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installComponents): remove listBox color settings, + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): corrected ComboBox and ListBox defaults. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java + (BasicComboBoxRenderer): set no focus border, + (getListCellRendererComponent): set background color if cell has focus, + removed border switching code. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (borderInsets): deleted, + (arrowButtonWidth): deleted, + (configureEditor): set font, + (isFocusTraversable): set to true for non-editable combobox, + (paint): deleted border painting code, + (paintBorder): deleted, + (getPreferredSize): returns a value, not null, + (getMinimumSize): likewise, + (getMaximumSize): likewise, + (rectangleForCurrentValue): reimplemented, + (paintCurrentValue): no longer adjusts for border insets, + (getDisplaySize): update maximum width and height independently, + (ComboBoxLayoutManager): removed redundant 'extends Object', + (ComboBoxLayoutManager.preferredLayoutSize): call getPreferredSize(), + (ComboBoxLayoutManager.minimumLayoutSize): delegate to + preferredLayoutSize(), + (ComboBoxLayoutManager.layoutContainer): use arrow button preferred + size in layout, + (PropertyChangeHandler.propertyChange): added 'font' handling. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installListeners): add listener to arrowButton instead of comboBox, + deleted call to configureArrowButton(), + (uninstallListeners): remove listener from arrowButton instead of + comboBox, and deleted call to unconfigureArrowButton(), + (configureArrowButton): set font and enabled state, deleted + addMouseListener() call, + (unconfigureArrowButton): deleted removeMouseListener() call, + (MouseHandler.mousePressed): just toggle display status of popup, + (MouseHandler.mouseReleased): deleted. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (largestItemSize): renamed displaySize, + (getLargestItemSize): renamed getDisplaySize and changed to protected, + (ComboBoxLayoutManager.preferredLayoutSize): updated for renamed field + and method, + (ListDataHandler.intervalAdded): likewise, + (ListDataHandler.intervalRemoved): likewise. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java: + Updated API docs all over. + +2005-09-18 David Gilbert <david.gilbert@object-refinery.com> + + * java/text/RuleBasedCollator.java: + Fixed spelling error in comment. + +2005-09-17 Tom Tromey <tromey@redhat.com> + + * .settings/org.eclipse.jdt.ui.prefs: Add file template. + +2005-09-17 Anthony Green <green@redhat.com> + + * java/security/Security.java (getProviders): Pre-allocate the + target array for Collection.toArray call. + * gnu/java/security/PolicyFile.java (parse): Ditto. + * javax/swing/filechooser/FileSystemView.java: Ditto. + * javax/swing/JFileChooser.java (getChoosableFileFilters): Ditto. + +2005-09-17 Tom Tromey <tromey@redhat.com> + + PR classpath/22963: + * java/nio/charset/Charset.java (forName): Javadoc fix. + (providers2): Use ServiceFactory. + +2005-09-17 Mark Wielaard <mark@klomp.org> + + * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH, + BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, + DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, + NO_CONTEXT, NO_CRED, OLD_TOKEN): Document official RFC values. + +2005-09-17 Tom Tromey <tromey@redhat.com> + + * java/lang/Short.java (SIZE): New constant. + (MIN_CACHE, MAX_CACHE): Likewise. + (shortCache): New field. + (reverseBytes): New method. + * java/lang/Long.java (SIZE): New constant. + (valueOf): New method. + (bitCount): New method. + (rotateLeft): New method. + (rotateRight): New method. + (highestOneBit): New method. + (numberOfLeadingZeros): New method. + (lowestOneBit): New method. + (numberOfTrailingZeros): New method. + (signum): New method. + (reverseBytes): New method. + (reverse): New method. + * java/lang/Float.java (SIZE): New constant. + * java/lang/Double.java (SIZE): New constant. + * java/lang/Character.java (SIZE): New constant. + (MAX_CACHE): Likewise. + (charCache): New field. + (valueOf): New method. + (reverseBytes): Likewise. + * java/lang/Byte.java (SIZE): New constant. + (byteCache): New field. + (valueOf): New method. + * java/lang/Boolean.java (parseBoolean): New method. + +2005-09-17 Mark Wielaard <mark@klomp.org> + + Reported by David Lichteblau <david@lichteblau.com> + * native/jni/classpath/jcl.c (JCL_NewRawDataObject): Create + NewGlobalRef before calling DeleteLocalRef. + +2005-09-17 Paul Jenner <psj@harker.dyndns.org> + + * configure.ac: Clarify that Werror configure option is + disabled by default. + +2005-09-17 Mark Wielaard <mark@klomp.org> + + * javax/swing/plaf/basic/BasicMenuItemUI.java: Reindent boilerplate. + +2005-09-17 Tom Tromey <tromey@redhat.com> + + * java/util/prefs/Preferences.java (systemNodeForPackage): + Javadoc fix. + (userNodeForPackage): Likewise. + * java/util/logging/LoggingPermission.java (serialVersionUID): + New field. + * java/io/ObjectInputStream.java (parseContent): Javadoc fix. + +2005-09-17 Mark Wielaard <mark@klomp.org> + + * doc/www.gnu.org/home.wml: Update mauve link. + +2005-09-16 Anthony Green <green@redhat.com> + + PR libgcj/20198 + * java/net/URLClassLoader.java (FileURLLoader.getResource): File + resources should all have canonicalized names. + +2005-09-16 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (AccessibleJTreeNode): Fixed documentation. + (addAccessibleSelection): Likewise, still needs to + be implemented. + (addFocusListener): Implemented. + (addPropertyChangeListener): Implemented. + (clearAccessibleSelection): Implemented. + (contains): Implemented. + (doAccessibleAction): Fixed documentation, still + needs to be implemented. + (getAccessibleAction): Likewise. + (getAccessibleActionCount): Likewise. + (getAccessibleActionDescription): Implemented. + (getAccessibleAt): Implemented. + (getAccessibleChild): Implemented. + (getAccessibleChildrenCount): Implemented. + (getAccessibleComponent): Fixed documentation. + (getAccessibleContext): Implemented. + (getAccessibleDescription): Implemented. + (getAccessibleIndexInParent): Implemented. + (getAccessibleName): Implemented. + (getAccessibleParent): Fixed documentation. + (getAccessibleRole): Likewise. + (getAccessibleSelection): Likewise, still needs to + be implemented. + (getAccessibleSelection): Likewise. + (getAccessibleSelectionCount): Implemented. + (getAccessibleStateSet): Implemented. + (getAccessibleText): Fixed documentation. + (getAccessibleValue): Likewise. + (getBackground): Implemented. + (getBounds): Implemented. + (getCursor): Fixed documentation, still needs to be + implemented. + (getFont): Implemented. + (getFontMetrics): Implemented. + (getForeground): Implemented. + (getLocale): Implemented. + (getLocation): Implemented. + (getLocationInJTree): Implemented. + (getLocationOnScreen): Implemented. + (getSize): Implemented. + (isAccessibleChildSelected): Implemented. + (isEnabled): Implemented. + (isFocusTraversable): Implemented. + (isShowing): Implemented. + (isVisible): Implemented. + (removeAccessibleSelection): Fixed documentation, need to + fix current implementation. + (removeFocusListener): Implemented. + (removePropertyChangeListener): Implemented. + (requestFocus): Implemented. + (selectAllAccessibleSelection): Need to implement. Added FIXME. + (setAccessibleDescription): Implemented. + (setAccessibleName): Implemented. + (setBackground): Implemented. + (setBounds): Implemented. + (setCursor): Fixed documentation, still need to implement. + (setEnabled): Implemented. + (setFont): Implemented. + (setForeground): Implemented. + (setLocation): Implemented. + (setSize): Implemented. + (setVisible): Implemented. + (AccessibleJTree): Fixed documentation, still need + to implement. + (addAccessibleSelection): Implemented. + (clearAccessibleSelection): Implemented. + (fireVisibleDataPropertyChange): Implemented. + (getAccessibleAt): Fixed documentation, need to implement. + (getAccessibleChild): Implemented. + (getAccessibleChildrenCount): Implemented. + (getAccessibleIndexInParent): Fixed documentation. + (getAccessibleRole): Likewise. + (getAccessibleSelection): Likewise, still need to implement. + (getAccessibleSelection): Likewise. + (getAccessibleSelectionCount): Implemented. + (isAccessibleChildSelected): Implemented. + (removeAccessibleSelection): Implemented. + (selectAllAccessibleSelection): Implemented. + (treeCollapsed): Implemented. + (treeExpanded): Implemented. + (treeNodesChanged): Implemented. + (treeNodesInserted): Implemented. + (treeNodesRemoved): Implemented. + (treeStructureChanged): Implemented. + (valueChanged): Implemented. + (TreeModelListener): Fixed documentation. + +2005-09-16 Tom Tromey <tromey@redhat.com> + + * java/io/PrintWriter.java (PrintWriter): New constructors. + +2005-09-16 Tom Tromey <tromey@redhat.com> + + PR classpath/22689: + * java/io/PrintWriter.java (closed): New field. + (checkError): Only flush if stream not closed. + (close): Set 'closed'. + +2005-09-16 Tom Tromey <tromey@redhat.com> + + * java/lang/Character.java (MIN_SURROGATE, MAX_SURROGATE): New + constants. + (isHighSurrogate): New method. + (isLowSurrogate): Likewise. + (isSurrogatePair): Likewise. + (toCodePoint): Likewise. + (codePointAt): Likewise. + (codePointBefore): Likewise. + * java/lang/StringBuffer.java (codePointCount): Check bounds. + (codePointAt): Rewrote. + (codePointBefore): Likewise. + * java/lang/String.java (codePointAt): New method. + (codePointBefore): Likewise. + (codePointCount): Likewise. + (contentEquals): New overload. + +2005-09-16 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/ProgressMonitor: Implemented the former stubbed + class and added documentation. + (close): Implemented and added documentation. + (setProgress): Dito. + (isCanceled): Dito. + (setMinimum): Added documentation. + (getMinimum): Dito. + (setMaximum): Dito. + (getMaximum): Dito. + (setNote): Dito. + (getMillisToDecideToPopup): Dito. + (setMillisToDecideToPopup): Dito. + (getMillisToPopup): Dito. + (setMillisToPopup): Dito. + (getNote): Dito. + * javax/swing/ProgressMonitorInputStream: Implemented stub + methods. + (close): Implemented. + (read): Dito. + (reset): Dito. + (skip): Dito. + (getProgressMonitor): Dito. + +2005-09-16 Tom Tromey <tromey@redhat.com> + + PR classpath/23882: + * java/text/StringCharacterIterator.java (StringCharacterIterator): + Javadoc fix. + (hashCode): New method. + * java/text/ParsePosition.java (hashCode): New method + +2005-09-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * javax/swing/Timer.java (Waker.run): Do not enter loop on + repeats = false (fixes #23918). + 2005-09-16 Andrew Haley <aph@redhat.com> - * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow - protected readResolve(). Rewrite accessibility check. + * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow + protected readResolve(). Rewrite accessibility check. + +2005-09-16 Andrew Haley <aph@redhat.com> + + * scripts/loc: New file. + +2005-09-16 Anthony Green <green@redhat.com> + + * java/lang/String.java (getBytes): Throw an InternalError instead + of silently returning null. + +2005-09-16 Lillian Angel <langel@redhat.com> + + Fixes Bug #22610 + * java/awt/Container.java + (remove): Removed component listeners from the component + being removed. This was a problem if that same component + that was removed was added to a new component. + +2005-09-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalComboBoxEditor.java + (MetalComboBoxEditorBorder.paintBorder): modified border appearance. + +2005-09-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java: updated API docs + and minor reformatting. + +2005-09-16 Roman Kennke <kennke@aicas.com> + + * javax/swing/JList.java + (AccessibleJList): New inner class. + +2005-09-16 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/ButtonDemo.java: new file. + +2005-09-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (RadioButtonIcon.paintIcon): change color of selection indicator + according to component state. + +2005-09-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalCheckBoxIcon.java + (drawCheck): change color according to component state. + +2005-09-16 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (ButtonBorder.paintBorder): draw a different border for a disabled + button. + +2005-09-15 Anthony Green <green@redhat.com> + + * java/awt/Color.java (RGBtoHSB): Don't use integer division when + calculating saturation. + * java/awt/Rectangle.java (equals): Explain why hashCode() isn't + required. + * java/awt/Point.java (equals): Ditto. + + * java/util/zip/ZipFile.java (checkZipFile): Make sure we read the + 4 byte magic number. + +2005-09-15 Tom Tromey <tromey@redhat.com> + + * javax/swing/text/html/parser/DTD.java (FILE_VERSION): Now + final. + +2005-09-15 Tom Tromey <tromey@redhat.com> + + * javax/naming/Name.java: Extends Comparable. + +2005-09-15 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/Component.java: + (isDisplayable): Don't check the parent's displayability, only return + true if peer is non-null and false if peer is null. + +2005-09-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/SwingUtilities.java + (layoutCompoundLabel): check for empty text string, + * javax/swing/plaf/basic/BasicButtonUI.java + (paint): check isBorderPainted() when calculating view rect, + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (CloseAction): new constructor, + (IconifyAction): new constructor, + (MaximizeAction): new constructor, + (MoveAction): new constructor, + (RestoreAction): new constructor, + (SizeAction): new constructor, + (TitlePaneLayout.layoutContainer): calculate button widths from icon + widths, + (installDefaults): initialise icon fields, + (uninstallDefaults): clear icon fields, + (createButtons): set button text to null, + (setButtonIcons): use icon fields. + +2005-09-15 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicComboBoxRenderer.java + (getListCellRendererComponent): Added code in to check if string + is larger than comboBox. If it is, the string is truncated and + '...' is drawn at the end of it. + * javax/swing/plaf/basic/BasicComboBoxUI.java + (getDefaultSize): Initially too small, still not fully implemented. + (getLargestItemSize): Made private, not in API. + (minimumLayoutSize): Implemented properly. + (intervalAdded): ComboBox should not be resized with every new + component. This is fixed. + +2005-09-15 Tom Tromey <tromey@redhat.com> + + * java/lang/EnumConstantNotPresentException.java: New file. + +2005-09-15 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/plaf/basic/BasicInternalFrameUI.java: + Reformatted file. + +2005-09-15 Lillian Angel <langel@redhat.com> + + Fixes Bug #23678 + * javax/swing/plaf/basic/BasicFileChooserUI.java + (CBLabelRenderer): Removed. Not in API, and it is really + redundant to have. + (installComponents): Changed the renderer set for the combo box. + Also, added the buttonPanel to the parentsPanel, so they are + always painted correctly. Set the FlowLayout to LEFT + instead of default being CENTER. + +2005-09-15 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JRootPane.java: + (setContentPane): Remove the old content pane first. Throw + IllegalComponentStateException if the parameter is null. Added docs. + +2005-09-15 Tom Tromey <tromey@redhat.com> + + Workaround for PR classpath/23863: + * native/fdlibm/mprec.h (MAX_BIGNUM_WDS): Define as 128 on + non-Pack_32 platforms. + +2005-09-15 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/Component.java: + (isDisplayable): Return true if peer != null. + * java/awt/Window.java: + (isDisplayable): Removed this method. Now inherits from Component. + +2005-09-15 Anthony Green <green@redhat.com> + + * java/io/PushbackInputStream.java (available, read, skip): Handle + closed stream operations gracefully. + +2005-09-15 Anthony Green <green@redhat.com> + + * java/nio/charset/Charset.java: close() each stream we open. + * java/net/URLStreamHandler.java: Remove redundant null pointer + check. + * java/security/Identity.java (equals, identityEquals): Don't use + `==' to compare uninterned Strings. Use String.equals(). + * java/lang/Class.java (pd): Mark this field as transient for + FindBugs won't complain (although not strictly necessary). + +2005-09-15 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JTextArea.java: + (append): Changed invalidate call to revalidate call. + (setRows): Likewise. + (setColumns): Likewise. + +2005-09-15 Lillian Angel <langel@redhat.com> + + Fixes #23873 + * javax/swing/plaf/basic/BasicOptionPaneUI.java + (createMessageArea): Changed orientation of message from EAST to + CENTER. Also, fixed empty border values to make message more centered. + * javax/swing/JOptionPane.java + (showConfirmDialog): Added check for pane.getValue, since clicking on + 'x' of window does not have an initialized value. Was causing a + ClassCastException. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + (showConfirmDialog): Likewise. + +2005-09-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicButtonUI.java + (installDefaults): set font, + (uninstallDefaults): clear font, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): update ToggleButton defaults, + * javax/swing/plaf/metal/MetalToggleButtonUI.java + (instance): removed field, + (createUI): just return new instance every time, + (MetalToggleButtonUI): look up defaults directly, + (getFocusColor): return value from field initialised in constructor, + (getSelectColor): likewise, + (getDisabledTextColor): likewise, + (installDefaults): override to make public, + (paintButtonPressed): implemented, + (paintText): implemented, + (paintFocus): implemented. + +2005-09-15 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (toggleButtonBorder): new private field, + (ToggleButtonBorder): new class, + (getToggleButtonBorder): new method. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultStyledDocument.java + (insertUpdate): Tweaked attribute comparison to avoid NPE. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultStyledDocument.java + (insertUpdate): Tweaked attribute comparison to avoid NPE. + * javax/swing/text/GlyphView.java + (DefaultGlyphPainter.getBoundedPosition): Implemented. + (DefaultGlyphPainter.viewToModel): Implemented. + (getTabExpander): Don't be specific to ParagraphView here. All + parents that implement TabExpander can be accepted. + (getBeginIndex): Removed. This method is not documented in the + specs. + (getBreakWeight): Implemented. + (changedUpdate): Implemented. + (insertUpdate): Implemented. + (removeUpdate): Implemented. + (createFragment): Implemented. + (breakView): Use createFragment. + * javax/swing/text/Utilities.java + (getTabbedTextOffset): Implemented both variants of this method. + +2005-09-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * gnu/CORBA/Connected_objects.java (equals), + * gnu/CORBA/Poa/activeObjectMap.java (equals): Removed, fixes + #23879. + * gnu/CORBA/Version.java (hashCode), + * gnu/CORBA/gnuAny.java (hashCode): New method, fixes #23879. + +2005-09-14 Lillian Angel <langel@redhat.com> + + * javax/swing/JProgressBar.java + (JProgressBar): Fixed to use setOrientation function. + * javax/swing/plaf/metal/MetalProgressBarUI.java + (createUI): Was using the same instance of the UI for + each new JProgressBar. Fixed this. + * javax/swing/plaf/basic/BasicTreeUI.java + (installUI): Added call to prepareForUIInstall. + (uninstallUI): Added call to prepareForUIUninstall. + +2005-09-14 Anthony Balkisoon <abalkiss@redhat.com> + + * javax/swing/text/ComponentView.java: + (createComponent): Implemented. + +2005-09-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> + + * org/omg/CosNaming/NameComponent (hashCode): New method, + fixes #23883). + +2005-09-14 Lillian Angel <langel@redhat.com> + + Fixes Bug #23795 + * javax/swing/plaf/basic/BasicTreeUI.java: + Made private fields package private. + (setCellRenderer): Took out code that updateRenderer takes + care of. + (getPathBounds): Fixed to use treeModel field. + (getPathForRow): Likewise. + (getRowCount): Likewise. + (installComponents): Implemented. + (createNodeDimensions): Implemented. + (uninstallComponents): Implemented. + (getVerticalLegBuffer): Implemented. + (getHorizontalLegBuffer): Implemented. + (updateLayoutCacheExpandedNodes): Implemented. + (updateExpandedDescendants): Implemented. + (updateDepthOffset): Implemented. + (updateRenderer): Implemented. + (updateSize): Implemented. + (installDefaults): Added some more defaults. + (installUI): Moved code to installComponents. + (paint): Fixed to use treeModel field. + (ensureRowsAreVisible): Implemented. + (getMinimumSize): Implemented. + (getMaximumSize): Implemented. + (checkForClickInExpandControl): Implemented. + (isLocationInExpandControl): Implemented. + (handleExpandControlClick): Implemented. + (toggleExpandState): Implemented. + (isToggleSelectionEvent): Implemented. + (isMultiSelectEvent): Implemented. + (isToggleEvent): Implemented. + (selectPathForEvent): Implemented. + (actionPerformed): Changed to use toggleExpandState. + (mousePressed): Fixed code to use helper methods. Made + more efficent. + (TreeCancelEditingAction): Fixed Constructor signature. + (actionPerformed): Fixed to use treeModel field. + (paintRecursive): Fixed to use line drawing helper methods. + (paintControlIcons): Fixed to use control icons helper methods. + (getCurrentControlIcon): New method. + (findNode): Changed to use treeModel field. + (getNextNode): Likewise. + (getPreviousNode): Likewise. + (getNextSibling): Likewise. + (getPreviousSibling): Likewise. + (getPathToRoot): Likewise. + (drawDashedHorizontalLine): Implemented. + (drawDashedVerticalLine): Implemented. + (paintExpandControl): Implemented. + (paintHorizontalPartOfLeg): New method. + (paintVerticalPartOfLeg): New method. + (paintRow): New method. + (shouldPaintExpandControl): New Method. + * javax/swing/plaf/metal/MetalTreeUI.java: + Added private fields for listeners. + (getHorizontalLegBuffer): Implemented. + (installUI): Implemented. + (uninstallUI): Implemented. + (decodeLineStyle): New method. + (isLocationInExpandControl): Implemented. + (paint): Implemented. + (paintHorizontalSeparators): New method. + (paintVerticalPartOfLeg): Implemented. + (paintHorizontalPartOfLeg): Implemented. + +2005-09-14 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JTextArea.java: + (append): After non-empty append, invalidate. + (setRows): If number of rows changes, invalidate. + (setColumns): If number of columns changes, invalidate. + +2005-09-14 Anthony Green <green@redhat.com> + + * java/net/InetSocketAddress.java (toString): Adjust to match Sun + JRE output, which is [HOSTNAME]/[IPADDRESS]:[PORT]. + * gnu/java/security/der/DERReader.java: Remove stray semicolon. + * gnu/xml/pipeline/ValidationConsumer.java: Fix flags test (was + constant expression). + * javax/swing/plaf/basic/BasicFileChooserUI.java, + * javax/swing/filechooser/FileSystemView.java, + * java/util/logging/LogManager.java, + * gnu/xml/libxmlj/dom/GnomeDocument.java, + * gnu/xml/aelfred2/JAXPFactory.java, + * gnu/java/security/x509/ext/Extension.java, + * gnu/java/security/x509/ext/BasicConstraints.java, + * gnu/java/rmi/server/RMIObjectInputStream.java, + * gnu/java/rmi/dgc/DGCImpl_Stub.java, + * gnu/java/beans/decoder/BooleanHandler.java: Use + Boolean.valueOf() instead of new Boolean. + +2005-09-13 Tom Tromey <tromey@redhat.com> + + * java/lang/StringBuffer.java (StringBuffer): New constructor. + (trimToSize): New method. + (codePointAt): Likewise. + (codePointBefore): Likewise. + (codePointCount): Likewise. + (appendCodePoint): Likewise. + (append): New overloads. + (insert): Likewise. + +2005-09-13 Tom Tromey <tromey@redhat.com> + + * java/lang/Character.java: Typo fixes in javadoc. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java + (calculateTabWidth): Don't use the calcRect here. This lead to an + inconsistent state when this method is called from another method + that also uses calcRect. + (calculateTabHeight): Don't use the calcRect here. This lead to an + inconsistent state when this method is called from another method + that also uses calcRect. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTabbedPaneUI.java: + Reformatted file. + +2005-09-14 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/io/ObjectInputStream.java: + (readObject()): Moved marker parsing to its own method. + (parseContent(byte)): Fixed TC_OBJECT handling to loop on + blockdata written manually by the class. + +2005-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at> + + * native/jni/classpath/jcl.c: Replaced undefined + POINTERS_ARE_64BIT with SIZEOF_VOID_P == 8. + +2005-09-14 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (PaletteCloseIcon): now implements UIResource. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/ButtonModel.java: Added API docs all over. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTabbedPane.java: Added API comments to make clear + that null values for tab titles are allowed. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + Fixes Bug#23859. + * javax/swing/JTabbedPane.java + (insertTab): Check if title == null and if so, then set it + to "". Otherwise the null string would cause a segfault or + an assertion failure in font metrics calculation as reported + in bug#23859. + +2005-09-14 David Gilbert <david.gilbert@object-refinery.com> + + * gnu/CORBA/ExceptionCreator.java: minor API doc fixes, + * gnu/CORBA/Version.java: likewise. + +2005-09-14 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicPasswordFieldUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicTextAreaUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicTextFieldUI.java: + (getPropertyPrefix): added API docs, + * javax/swing/plaf/basic/BasicTextPaneUI.java: + (getPropertyPrefix): added API docs. + +2005-09-14 David Gilbert <david.gilbert@object-refinery.com> + + * org/omg/CORBA/ORB.java: minor API doc fixes, + * org/omg/CORBA/PERSIST_STORE.java: likewise, + * org/omg/CORBA/PolicyError.java: likewise, + * org/omg/CORBA/ValueBaseHolder.java: likewise, + * org/omg/CORBA/VisibilityHelper.java: likewise. + +2005-09-14 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalComboBoxIcon.java: fixed header, + (paintIcon): change color to reflect component state. + +2005-09-13 Tom Tromey <tromey@redhat.com> + + * .settings/org.eclipse.jdt.core.prefs: Ignore javadoc warnings + for hidden or deprecated members. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/AbstractDocument.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + (getContent): Made method final. + (AbstractElement.dumpElement): Removed superfluous private method. + (AbstractElement.dump): Made diagnostic output more speaking. + * javax/swing/text/BoxView.java + (paintChild): Don't allocate the child region here. + (paint): Allocate the child region here instead. + * javax/swing/text/ComponentView.java: + Added API doc comments. + * javax/swing/text/CompositeView.java + (getNextVisualPositionFrom): Declared to throw BadLocationException. + (getNextNorthSouthVisualPositionFrom): Likewise. + (getNextEastWestVisualPositionFrom): Likewise. + * javax/swing/text/DefaultCaret.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/DefaultEditorKit.java + Slight reformatting. + * javax/swing/text/DefaultFormatter.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/DefaultStyledEditorKit.java + (ElementBuffer.insertUpdate): Removed unneeded statement. + (ElementBuffer.insertStartTag): Attach a resolve parent to new + paragraph elements. + (createDefaultRoot): Attach a resolve parent to new paragraph + elements. + * javax/swing/text/InternationalFormatter.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/JTextComponent.java + Slight reformatting. + (paramString): Added TODO comment. + * javax/swing/text/SimpleAttributeSet.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + (equals): Don't require object to be SimpleAttributeSet. Allows + comparing to all kinds of AttributeSets. + (isEqual): Likewise. + * javax/swing/text/StringContent.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/StyleConstants.java + (getBackground): Return white as default background instead of black. + * javax/swing/text/StyleConstext.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + (SmallAttributeSet.equals): Don't require object to be + SmallAttributeSet. Allows comparing to all kinds of AttributeSets. + * javax/swing/text/StyledEditorKit.java + Fixed some comments. + * javax/swing/text/TabSet.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/TabStop.java + Bumped up serialVersionUIDs to JDK 1.5 compatibility. + * javax/swing/text/View.java + Removed unneeded import. + +2005-09-14 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/JOptionPane.java: + (showConfirmDialog): Changed QUESTION_MESSAGE like the JDK + does. + * javax/swing/plaf/basic/BasicOptionPaneUI.java: + (getButtons): Treat DEFAULT_OPTION like + YES_NO_CANCEL_OPTION like the JDK. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GapContent.java + (GapContentPosition.getOffset): Made assertion more speaking. + (GapContent): Modified initialization for compatibility with JDK. + (shiftEnd): Update marks prior to modification of the content. + Use new getPositionsInRange method. + (shiftGap): Use new getPositionsInRange method. Tweaked to corectly + update the marks. + (shiftGapStartDown): New method. + (shiftGapEndUp): New method. + (replace): Use shiftGapEndUp. Modified resizing offset. + (getGapStart): New method. + (getGapEnd): New method. + (getPositionsInRange): New method. + +2005-09-14 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GlyphView.java + (AbstractGlyphPainter.getAscent): New abstract method. + (AbstractGlyphPainter.getDescent): New abstract method. + (AbstractGlyphPainter.getBoundedPosition): New abstract method. + (AbstractGlyphPainter.viewToModel): New abstract method. + (AbstractGlyphPainter.getNextVisualPositionFrom): New method. + (AbstractGlyphPainter.getPainter): New method. + (DefaultGlyphPainter.paint): Add support for more text attributes. + (DefaultGlyphPainter.getAscent): New method. + (DefaultGlyphPainter.getDescent): New method. + (DefaultGlyphPainter.getBoundedPosition): New method. + (DefaultGlyphPainter.viewToModel): New method. + (GlyphView): Store start and end offset in the GlyphView. + (getPreferredSpan): Differentiate the axis parameter. + (viewToModel): Implemented this method. + (getStartOffset): Return value of private field instead of the + element value. + (getEndOffset): Return value of private field instead of the + element value. + (getBackground): New method. + (isStrikeThrough): New method. + (isSubscript): New method. + (isSuperscript): New method. + (isUnderline): New method. + (clone): New method. + (breakView): New method. + (getBreakWeight): New method. + (changedUpdate): New method. + (insertUpdate): New method. + (removeUpdate): New method. + (createFragment): New method. + (getAlignment): New method. + (getNextVisualPositionFrom): New method. + +2005-09-13 Tom Tromey <tromey@redhat.com> + + * java/util/regex/Matcher.java (matches): Javadoc fix. + (start): Likewise. + * java/lang/reflect/Proxy.java (equals): Javadoc fix. + * java/io/ObjectInputStream.java (inputGetObjectStreamClasses): Javadoc + fix. + * java/util/zip/ZipFile.java (getEntry): Javadoc fix. + * java/util/logging/XMLFormatter.java (getHead): Javadoc fix. + * java/util/logging/LogManager.java (getLevelProperty): Javadoc fix. + * java/util/logging/Handler.java (getEncoding): Javadoc fix. + (setFilter): Likewise. + * java/util/logging/FileHandler.java: Organized imports. + * java/util/jar/Manifest.java (Manifest): Javadoc fix. + * java/util/TreeMap.java (putFromObjStream): Javadoc fix. + * java/util/SimpleTimeZone.java (isBefore): Javadoc fix. + * java/util/ResourceBundle.java (tryBundle): Javadoc fix. + * java/util/Random.java (seed): Javadoc fix. + * java/util/Collections.java (SynchronizedSortedSet): Javadoc fix. + (SingletonMap): Likewise. + (addAll): Javadoc fix. + * java/lang/reflect/UndeclaredThrowableException.java: Javadoc fix. + * java/lang/reflect/Member.java (DECLARED, PUBLIC): Javadoc fix. + * java/lang/ref/WeakReference.java: Javadoc fix. + * java/lang/ref/Reference.java: Javadoc fix. + (Reference): Likewise. + * java/lang/Thread.java (setContextClassLoader): Javadoc fix. + (getContextClassLoader): Likewise. + (stop): Likewise. + * java/lang/System.java (runFinalizersOnExit): Javadoc fix. + * java/lang/String.java (upperExpand): Javadoc fix. + * java/lang/StrictMath.java: Javadoc fixes. + * java/lang/SecurityManager.java: Added imports for javadoc. + (currentClassLoader): Javadoc fix. + (classLoaderDepth): Likewise. + (currentLoadedClass): Likewise. + (checkRead): Likewise. + (checkWrite): Likewise. + (checkAccess): Likewise. + * java/lang/RuntimePermission.java: Added import for javadoc. + * java/lang/Readable.java (read): Added import for javadoc. + +2005-09-13 Casey Marshall <csm@gnu.org> + + * gnu/classpath/ByteArray.java: new file. + * gnu/java/security/provider/Gnu.java + (<init>): add Diffie Hellman and RSA algorithms. + * gnu/javax/crypto/DiffieHellmanImpl.java: new file. + * gnu/javax/crypto/GnuDHPrivateKey.java: new file. + * gnu/javax/crypto/RSACipherImpl.java: new file. + +2005-09-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalComboBoxButton.java: new file, + * javax/swing/plaf/metal/MetalComboBoxEditor.java: likewise. + +2005-09-13 Tom Tromey <tromey@redhat.com> + + * java/lang/Process.java: Added import for javadoc. + * java/lang/Object.java (notify): Javadoc fix. + (notifyAll): Likewise. + * java/io/PipedInputStream.java (connect): Javadoc fix. + * java/io/OutputStreamWriter.java: Organized imports. + * java/io/ObjectStreamField.java (setOffset): Javadoc fix. + * java/io/ObjectInputStream.java (readFields): Javadoc fix. + * java/io/DataOutputStream.java (writeChars): Javadoc fix. + (writeFloat): Likewise. + (writeDouble): Likewise. + * java/util/Locale.java (readObject): Javadoc fix. + (writeObject): Likewise. + * java/io/LineNumberReader.java (read): Javadoc fix. + (setLineNumber): Likewise. + (mark): Likewise. + * java/io/InputStreamReader.java: Updated imports. + * java/lang/Integer.java (parseInt): Javadoc fix. + * java/io/FilterReader.java (skip): Javadoc fix. + * java/util/HashMap.java (containsValue): Javadoc fix. + * java/lang/ClassLoader.java (findLibrary): Javadoc fix. + (setPackageAssertionStatus): Likewise. + (setClassAssertionStatus): Likewise. + * java/lang/Class.java: Added imports for javadoc. + (matchMethod): Javadoc fix. + * java/util/ArrayList.java (readObject): Javadoc fix. + (writeObject): Likewise. + * java/lang/String.java (CaseInsensitiveComparator): Javadoc fix. + * java/util/zip/PendingBuffer.java (toByteArray): Javadoc fix. + * javax/swing/plaf/metal/OceanTheme.java: Mark as 1.5. + * java/util/logging/SimpleFormatter.java (format): Javadoc fix. + * java/util/zip/ZipFile.java (getEntries): Javadoc fix. + +2005-09-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicComboBoxUI.java + (lightHighlight): removed, + (installDefaults): only update component attributes if they are tagged + with UIResource, initialise button colors from correct defaults, + (uninstallDefaults): only clear attributes that are tagged with + UIResource. + +2005-09-13 Lillian Angel <langel@redhat.com> + + * javax/swing/JTree.java + (AccessibleJTree): Added new Inner class. + (AccessibleJTree.addAccessibleSelection): New method. + (AccessibleJTree.clearAccessibleSelection): New method. + (AccessibleJTree.fireVisibleDataPropertyChange): New method. + (AccessibleJTree.getAccessibleAt): New method. + (AccessibleJTree.getAccessibleChild): New method. + (AccessibleJTree.getAccessibleChildrenCount): New method. + (AccessibleJTree.getAccessibleIndexInParent): New method. + (AccessibleJTree.getAccessibleRole): New method. + (AccessibleJTree.getAccessibleSelection): New method. + (AccessibleJTree.getAccessibleSelection): New method. + (AccessibleJTree.getAccessibleSelectionCount): New method. + (AccessibleJTree.isAccessibleChildSelected): New method. + (AccessibleJTree.removeAccessibleSelection): New method. + (AccessibleJTree.selectAllAccessibleSelection): New method. + (AccessibleJTree.treeCollapsed): New method. + (AccessibleJTree.treeExpanded): New method. + (AccessibleJTree.treeNodesChanged): New method. + (AccessibleJTree.treeNodesInserted): New method. + (AccessibleJTree.treeNodesRemoved): New method. + (AccessibleJTree.treeStructureChanged): New method. + (AccessibleJTree.valueChanged): New method. + (AccessibleJTreeNode): Likewise. + (AccessibleJTreeNode.addAccessibleSelection): New method. + (AccessibleJTreeNode.addFocusListener): New method. + (AccessibleJTreeNode.addPropertyChangeListener): New method. + (AccessibleJTreeNode.clearAccessibleSelection): New method. + (AccessibleJTreeNode.contains): New method. + (AccessibleJTreeNode.doAccessibleAction): New method. + (AccessibleJTreeNode.getAccessibleAction): New method. + (AccessibleJTreeNode.getAccessibleActionCount): New method. + (AccessibleJTreeNode.getAccessibleActionDescription): New method. + (AccessibleJTreeNode.getAccessibleAt): New method. + (AccessibleJTreeNode.getAccessibleChild): New method. + (AccessibleJTreeNode.getAccessibleChildrenCount): New method. + (AccessibleJTreeNode.getAccessibleComponent): New method. + (AccessibleJTreeNode.getAccessibleContext): New method. + (AccessibleJTreeNode.getAccessibleDescription): New method. + (AccessibleJTreeNode.getAccessibleIndexInParent): New method. + (AccessibleJTreeNode.getAccessibleName): New method. + (AccessibleJTreeNode.getAccessibleParent): New method. + (AccessibleJTreeNode.getAccessibleRole): New method. + (AccessibleJTreeNode.getAccessibleSelection): New method. + (AccessibleJTreeNode.getAccessibleSelectionCount): New method. + (AccessibleJTreeNode.getAccessibleStateSet): New method. + (AccessibleJTreeNode.getAccessibleText): New method. + (AccessibleJTreeNode.getAccessibleValue): New method. + (AccessibleJTreeNode.getBackground): New method. + (AccessibleJTreeNode.getBounds): New method. + (AccessibleJTreeNode.getCursor): New method. + (AccessibleJTreeNode.getFont): New method. + (AccessibleJTreeNode.getFontMetrics): New method. + (AccessibleJTreeNode.getForeground): New method. + (AccessibleJTreeNode.getLocale): New method. + (AccessibleJTreeNode.getLocation): New method. + (AccessibleJTreeNode.getLocationInJTree): New method. + (AccessibleJTreeNode.getLocationOnScreen): New method. + (AccessibleJTreeNode.getSize): New method. + (AccessibleJTreeNode.isAccessibleChildSelected): New method. + (AccessibleJTreeNode.isEnabled): New method. + (AccessibleJTreeNode.isVisible): New method. + (AccessibleJTreeNode.removeAccessibleSelection): New method. + (AccessibleJTreeNode.removeFocusListener): New method. + (AccessibleJTreeNode.removePropertyChangeListener): New method. + (AccessibleJTreeNode.requestFocus): New method. + (AccessibleJTreeNode.selectAllAccessibleSelection): New method. + (AccessibleJTreeNode.setAccessibleDescription): New method. + (AccessibleJTreeNode.setAccessibleName): New method. + (AccessibleJTreeNode.setBackground): New method. + (AccessibleJTreeNode.setBounds): New method. + (AccessibleJTreeNode.setCursor): New method. + (AccessibleJTreeNode.setEnabled): New method. + (AccessibleJTreeNode.setFont): New method. + (AccessibleJTreeNode.setForeground): New method. + (AccessibleJTreeNode.setLocation): New method. + (AccessibleJTreeNode.setVisible): New method. + (removeDescendantToggledPaths): Implemented. + (treeDidChange): Implemented. + +2005-09-13 Thomas Fitzsimmons <fitzsim@redhat.com> + + * native/jawt/jawt.c (_Jv_AWTLock): Do nothing. + (_Jv_AWTUnlock): Likewise. + +2005-09-13 David Daney <ddaney@avtrex.com> + + * java/io/ByteArrayOutputStream.java: Reformated copyright notice. + (toString(int)): Pass correct parameters to String constructor. + +2005-09-13 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComboBox.java + (getPrototypeDisplayValue): added API docs, + (setPrototypeDisplayValue): fire property change event. + +2005-09-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/DefaultStyledDocument.java + (ElementSpec): New inner class. + (ElementBuffer.change): Also store the DefaultDocumentEvent. + (ElementBuffer.split): Also update the document event. + (ElementBuffer.insert): New method. + (ElementBuffer.insertUpdate): New method. + (ElementBuffer.insertStartTag): New method. + (ElementBuffer.insertEndTag): New method. + (ElementBuffer.insertContentTag): New method. + (SectionElement): New inner class. + (createDefaultRoot): Return SectionElement instead of BranchElement. + (getParagraphElement): Optimized access to paragraph element. + (setCharacterAttributes): Fire changedUpdate after modification. + (insertUpdate): New method. + +2005-09-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/SizeRequirements.java + (toString): Implemented this method. + (calculateAlignedPositions): Partly implemented this method. + +2005-09-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTabbedPane.java: Added API comments all over. + +2005-09-13 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTree.java: Reformatted file. + * javax/swing/ListCellRenderer.java: Likewise. + * javax/swing/ListSelectionModel.java: Likewise. + * javax/swing/MenuElement.java: Likewise. + * javax/swing/OverlayLayout.java: Likewise. + * javax/swing/ProgressMonitor.java: Likewise. + * javax/swing/ProgressMonitorInputStream.java: Likewise. + * javax/swing/Renderer.java: Likewise. + * javax/swing/RepaintManager.java: Likewise. + * javax/swing/RootPaneContainer.java: Likewise. + * javax/swing/Scrollable.java: Likewise. + * javax/swing/SingleSelectionModel.java: Likewise. + * javax/swing/SizeSequence.java: Likewise. + * javax/swing/SpinnerListModel.java: Likewise. + * javax/swing/UnsupportedLookAndFeelException.java: Likewise. + * javax/swing/ViewportLayout.java: Likewise. + * javax/swing/WindowConstants.java: Likewise. + +2005-09-12 Tom Tromey <tromey@redhat.com> + + * .settings/org.eclipse.jdt.core.prefs: Enable javadoc warnings. + +2005-09-12 Tom Tromey <tromey@redhat.com> + + * java/lang/ThreadLocal.java: Organized imports. + * java/lang/Double.java: Organized imports. + +2005-09-12 Casey Marshall <csm@gnu.org> + + PR 23819 + * javax/security/auth/Subject.java (SecureSet.<init>): rename + input paremeter to 'inElements.' + (SecureSet.contains): return 'elements.contains,' not + 'elements.remove.' + + PR 23822 + * javax/security/auth/SubjectDomainCombiner.java + (combine): don't access 'subject' if null. + +2005-09-12 David Gilbert <david.gilbert@object-refinery.com> + + * examples/gnu/classpath/examples/swing/Demo.java + (mkDesktopWorld): add palette style frame, + * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java + (closeIcon): new field, + (installListeners): call createPropertyChangeListener() to create the + new listener to allow for overriding, + (installDefaults): set the font in the title, read closeIcon from + defaults, + (uninstallDefaults): clear closeIcon, + (setButtonIcons): set icon for closeButton, + (paintComponent): set font for title, + * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java + (MetalInternalFrameTitlePanePropertyChangeHandler): new support class, + (MetalTitlePaneLayout): likewise, + (paletteTitleHeight): initialise from defaults elsewhere, + (title): new private field, + (installDefaults): initialise various defaults, + (uninstallDefaults): clear defaults, + (addSubComponents): add sub-components used in this look and feel, + (createLayout): return new instance of MetalTitlePaneLayout, + (paintPalette): renders the title pane using the palette style, + (paintComponent): call paintPalette() if the internal frame uses the + palette style, otherwise handle painting without calling superclass + anymore, + (setPalette): update the icon visibility, + (createPropertyChangeListener): return a new change handler, + * javax/swing/plaf/metal/MetalInternalFrameUI.java + (IS_PALETTE): new static field, + (installUI): check IS_PALETTE property, + (createNorthPane): removed empty border, + (setPalette): update border as appropriate, + (paletteListener): new private field, + (installListeners): install a listener to handle changes in the + IS_PALETTE property, + (uninstallListeners): clear the listener from installListeners(), + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added defaults for 'DesktopIcon.border', + 'InternalFrame.paletteBorder', 'InternalFrame.paletteCloseIcon', and + 'InternalFrame.paletteTitleHeight'. + +2005-09-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/JComponent.java + (putClientProperty): fire property change event. + +2005-09-12 Anthony Balkissoon <abalkiss@redhat.com> + + * javax/swing/JScrollPane.java: + (addNonNull): Changed from adding to container with no constraints to + adding to container with the appropriate ScrollPaneConstant as a + constraint. This avoids IllegalArgumentExceptions in ScrollPaneLayout. + (setColumnHeader): Added constraint to addNonNull call. + (setCorner): Likewise. + (setHorizontalScrollBar): Likewise. + (setRowHeader): Likewise. + (setVerticalScrollBar): Likewise. + (setViewport): Likewise. + * javax/swing/JViewport.java: + (setViewSize): Don't set the size or fireStateChanged unless the new + size is different from the old size. + (setView): Reset isViewSizeSet to false. + * javax/swing/ScrollPaneLayout: + (addSingletonComponent): Implemented and documented. + (addLayoutComponent): Throw an IllegalArgumentException if key is + not one of the appropriate ScrollPaneConstants constants. Added docs. + (setVerticalScrollBarPolicy): Likewise. + (setHorizontalScrollBarPolicy): Likewise. + (getCorner): Added docs. + +2005-09-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JCheckBox.java + (AccessibleJCheckBox): New inner class. + (getAccessibleContext): Implemented this method. + * javax/swing/JLayeredPane.java + (AccessibleJLayeredPane): New inner class. + (getAccessibleContext): Implemented this method. + +2005-09-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (getCellRect): Don't include cell gap in cell rectangle + calculation. It's already included in TableColumnModel.getWidth(). + (createDefaultColumnsFromModel): Initialize table header values. + * javax/swing/plaf/basic/BasicTableUI.java + (paint): Don't include cell gap in cell rectangle + calculation. It's already included in TableColumnModel.getWidth(). + +2005-09-12 Tom Tromey <tromey@redhat.com> + + * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH, + BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, + DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, + NO_CONTEXT, NO_CRED, OLD_TOKEN): Use values from JDK, not RFC. + +2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com> + + * lib/Makefile.am (JAVAC): Specify -source 1.4 to ecj. + +2005-09-12 Lillian Angel <langel@redhat.com> + + * javax/swing/tree/DefaultTreeCellEditor.java + (isCellEditable): Stopped the timer if it is started and + should not be restarted. This is a fix for the 'click-pause- + click' method to start editing. + +2005-09-12 Lillian Angel <langel@redhat.com> + + * gnu/java/awt/AWTUtilities.java + (convertPoint): Added a check to determine if source and + destination components are showing. + * javax/swing/JPopupMenu.java + (setVisible): Added check to determine if component is showing. + (show): Likewise. + * javax/swing/MenuSelectionManager.java + (componentForPoint): Added check to determine if component is showing. + * javax/swing/ToolTipManager.java + (showTip): Added check to determine if component is showing. + * javax/swing/plaf/basic/BasicToolBarUI.java + (mousePressed): Added check to determine if component is showing. + +2005-09-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (InternalFrameCloseIcon.paintIcon): change colors according to button + state, + (InternalFrameAltMaximizeIcon.paintIcon): likewise, + (InternalFrameMaximizeIcon.paintIcon): likewise, + (InternalFrameMinimizeIcon.paintIcon): likewise. + +2005-09-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalBorders.java + (TableHeaderBorder): New inner class. + (TextFieldBorder.paintBorder): Only paint the active border + if the text field is enabled _and_ editable. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added default to use the new + TableHeaderBorder for table headers. + +2005-09-12 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/Container.java: + (findComponentForMouseEventAt): Reduced visibility to package-private. + (getDeepestComponentForMouseEventAt): Reduced visibility to + package-private and removed static modifier. + +2005-09-12 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (desktopIconBorder): new private field, + (DesktopIconBorder): new support class, + (getDesktopIconBorder): implemented, + (InternalFrameBorder.paintBorder): change color of line highlights if + the internal frame is selected. + +2005-09-12 Chris Burdess <dog@gnu.org> + + * gnu/xml/dom/DomDocument.java: Implementation of xml:id W3C + Recommendation. + +2005-09-12 Roman Kennke <kennke@aicas.com> + + * javax/swing/JTable.java + (TableColumnPropertyChangeHandler): New inner class. Handles + changes of column widths. + (JTable(TableModel, TableColumnModel, ListSelectionModel)): + Check if column model == null and if so, create a default model. + (initializeLocalVars): Changed to use createDefaultColumnsFromModel + instead of createColumnsFromModel. + (addColumn): Add property change handler to new column. + (createColumnsFromModel): Removed redundant private method. + Use the public createDefaultColumnsFromModel instead. + (tableChanged): Use createDefaultColumnsFromModel instead of + createColumnsFromModel. + (setModel): Use createDefaultColumnsFromModel instead of + createColumnsFromModel. + (doLayout): When handling AUTO_RESIZE_OFF, then adjust the + size of the resizing column to it's (new) preferred size. + (createDefaultColumnsFromModel): Added assertion to make sure + that the column model is not null. Add property change handler + to new columns. + * javax/swing/table/TableColumn.java + (setWidth): Fire property change with name 'width' instead + of using the (obsolete) constant field COLUMN_WIDTH_PROPERTY. + (setPreferredWidth): Make this property a bound property. + +2005-09-11 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR swing/22922 + * java/awt/event/InputEvent.java (modifiersEx): New field. + (InputEvent): Assume modifiers parameter contains both new- and + old-style masks. + (isShiftDown): Check modifiers for old-style shift mask and + modifiersEx for new-style shift mask. + (isControlDown): Likewise for control mask. + (isMetaDown): Likewise for meta mask. + (isAltDown): Likewise for alt mask. + (isAltGraphDown): Likewise for alt-graph mask. + (getModifiers): Return value of modifiers field. + (getModifiersEx): Return value of modifiersEx field. + * java/awt/event/MouseEvent.java + (MouseEvent(Component,int,long,int,int,int,int,boolean,int)): + Clear button new-style mask for mouse released events. + (paramString): Remove old-style modifier handling. + (readObject): Extend modifiers and assign to modifiersEx. + * java/awt/event/KeyEvent.java (readObject): Extend modifiers and + assign to modifiersEx. + * native/jni/gtk-peer/gtkpeer.h: Define macros for new-style mouse + masks. Define macros for old-style key masks. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: + Remove macros for old-style key masks. + (button_to_awt_mods): Always return bitwise OR of new- and + old-style modifiers. + (cp_gtk_state_to_awt_mods): Likewise. + (state_to_awt_mods_with_button_states): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (keyevent_state_to_awt_mods): Likewise. + +2005-09-11 Mark Wielaard <mark@klomp.org> + + * m4/acinclude.m4 (CLASSPATH_CHECK_GCJ): Check for gcj 4 with + #if __GNUC__ <= 3. + +2005-09-11 Mark Wielaard <mark@klomp.org> + + * lib/gen-classlist.sh.in: Use sort -r to work around bug #21418. + +2005-09-11 Mark Wielaard <mark@klomp.org> + + * gnu/java/nio/channels/FileChannelImpl.java (finalize): Check whether + fd != -1 before calling close(). + +2005-09-10 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalBorders.java + (PaletteBorder): new class. + +2005-09-10 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (PaletteCloseIcon): new class. + +2005-09-10 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalInternalFrameUI.java: + (instances): removed, + (createUI): just return new instance, + API docs all over. + +2005-09-10 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (fail_g2d): New method. + (GdkGraphics2D(GdkGraphics2D)): Call fail_g2d if Graphics2D not + specified. + (GdkGraphics2D(int,int)): Likewise. + (GdkGraphics2D(GtkComponentPeer)): Likewise. + +2005-09-10 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/EmbeddedWindow.java (addNotify): Throw + AssertionError if field access fails. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Reindent + second error message. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR awt/23692 + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Only call + initStaticState if using Graphics2D. Otherwise print error and + exit. + (setClip(Shape)): If clip == null and component == null, do + nothing. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * gnu/java/awt/peer/gtk/GdkGraphics.java + (GdkGraphics(GtkComponentPeer)): Set font field to a sensible + default if component font is null. + +2005-09-09 Keith Seitz <keiths@redhat.com> + + * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newObjectId): + Set the reference for the ID. + +2005-09-09 Keith Seitz <keiths@redhat.com> + + * gnu/classpath/jdwp/event/VmDeathEvent.java: New file. + +2005-09-09 Tom Tromey <tromey@redhat.com> + + For PR libgcj/23288: + * java/net/URLClassLoader.java (definePackage): Correctly order + arguments to definePackage. Look up per-entry Attributes. + (getAttributeValue): New method. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java (installUI): Install + defaults after initializing tree. + +2005-09-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/html/CSS.java + New file. Defines standard CSS attributes. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + * java/awt/Window.java (isDisplayable): Do not call super's + isDisplayable. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR swing/23796 + * gnu/java/awt/peer/gtk/GtkDialogPeer.java + (create): Respect dialog's decorated flag. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR swing/23558 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + (window_get_new_state): Remove function. + (window_get_new_state): Mark widget parameter as unused. Remove + call to window_get_new_state. + (window_active_state_change_cb): Remove function. + (connectSignals): Do not connect window_active_state_change_cb + callback. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR swing/23796 + * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Respect + frame's decorated flag. + +2005-09-09 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicTreeUI.java + (installDefaults): Fixed method signature. + (uninstallDefaults): Likewise. + (uninstallUI): Fixed call to uninstallDefaults. + (installUI): Fixed call to installDefaults. + * javax/swing/JPopupMenu.java + (HeavyWeightPopup): Fixed to extend JDialog, since + nothing is added to the taskbar with JDialog. Also, + fixed so the popup menu is undecorated. Frames and + title bars should not be drawn, when popup is a + HeavyWeightPopup. A new bug was filed since the + decorated and undecorated frames are all drawn + alike. + * javax/swing/JRootPane.java + (setWindowDecorationStyle): Added check for + PLAIN_DIALOG. + +2005-09-09 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added the remaining color defaults. + +2005-09-09 Andrew Haley <aph@redhat.com> + + * java/net/URLClassLoader.java (addURLImpl): Synchronize on the + loader. + (toString): Likewise. + +2005-09-09 Jeroen Frijters <jeroen@frijters.net> + + * javax/security/auth/login/Configuration.java + (getConfiguration): Call getConfig() instead of doing the work. + (getConfig): Instantiate the configuration provider. + +2005-09-09 Jeroen Frijters <jeroen@frijters.net> + + * java/lang/reflect/Proxy.java + (pack): Initialize field. + +2005-09-09 Jeroen Frijters <jeroen@frijters.net> + + * java/io/ObjectInputStream.java: Removed static initializer. + * java/io/ObjectOutputStream.java: Removed static initializer. + * vm/reference/java/io/VMObjectInputStream.java: Added static + initializer. + (oisClass, vmoisClass): Removed unused fields. + * vm/reference/java/io/VMObjectStreamClass.java: Added static + initializer. + +2005-09-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): re-added 'ScrollBar.width' default. + +2005-09-09 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicArrowButton.java + (buttonBorder.paintBorder): fixed drawing issues, + (getMaximumSize): return constant value, + (getMinimumSize): likewise, + (getPreferredSize): likewise. + +2005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> + + PR swing/23558 + * javax/swing/plaf/basic/BasicComboBoxUI.java + (FocusHandler.focusLost): Do not call popup.hide. + +2005-09-08 Mark Wielaard <mark@klomp.org> + + * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Fix typo + (Grahics -> Graphics). + +2005-09-08 Tom Tromey <tromey@redhat.com> + + * examples/gnu/classpath/examples/swing/ClasspathSwingActivityBoard.launch: + New file. + +2005-09-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (MetalLookAndFeel): Only load default theme if no theme has been + set before. + (initComponentDefaults): Fixed and added color default values + for various components. + +2005-09-08 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/Container.java: + (findComponentForMouseEventAt): Removed check for opacity. + +2005-09-08 Keith Seitz <keiths@redhat.com> + + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeVersion): Major and minor version are integers, not bytes. + +2005-09-08 Anthony Balkissoon <abalkiss@redhat.com> + + * java/awt/Container.java: + (findComponentForMouseEventAt): New implementation method. + (getDeepestComponentForMouseEventAt): New implementation method. + (acquireComponentForMouseEvent): Replaced call to + AWTUtilities.getDeepestComponentAt with call to new implementation + method getDeepestComponentAt to appropriately handle transparent + components with no MouseListeners attached. + +2005-09-08 Tom Tromey <tromey@redhat.com> + + * .classpath: Enable compilation of jdwp. + +2005-09-08 Keith Seitz <keiths@redhat.com> + + * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java + (runCommand): Return value is true to indicate that the back-end + should shutdown; not whether it should stay alive. + * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/MethodCommandSet.java (runCommand): + Likewise + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (runCommand): Likewise. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (runCommand): Likewise. + +2005-09-08 Lillian Angel <langel@gmail.com> + + * javax/swing/JPopupMenu.java: + Fixes Bug #PR23533 + (setVisible): Adjusted popup menu's location + depending on the size of the screen. + +2005-09-08 Mark Wielaard <mark@klomp.org> + + * Makefile.am (EXTRA_DIST): Add autogen.sh + * lib/standard.omit: Remove gnu/classpath/jdwp, gnu/xml/stream and + javax/xml/stream. + * vm/reference/standard.omit: Removed. + +2005-09-08 Tom Tromey <tromey@redhat.com> + + * .classpath: Omit more directories and files. + * .settings/org.eclipse.jdt.core.prefs: Compile to 1.4 platform. + * .settings/org.eclipse.jdt.ui.prefs: Likewise. + +2005-09-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/metal/OceanTheme.java + New class. Implements the ocean theme for Metal. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (createDefaultTheme): Made Ocean the default theme as in JDK1.5. + +2005-09-08 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (FileChooserDetailViewIcon): new private class, + (FileChooserHomeFolderIcon): likewise, + (FileChooserListViewIcon): likewise, + (FileChooserNewFolderIcon): likewise, + (FileChooserUpFolderIcon): likewise, + (getFileChooserDetailViewIcon): implemented, + (getFileChooserHomeFolderIcon): implemented, + (getFileChooserListViewIcon): implemented, + (getFileChooserNewFolderIcon): implemented, + (getFileChooserUpFolderIcon): implemented. + +2005-09-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (foreground): Removed this field. This is better stored + in the text component itself. + (inactiveForeground): Removed this field. This is stored + in the disabledTextColor property of the text component. + (installDefaults): Load foreground and disabledTextColor + properties from UIDefaults. Remove call to updateComponentColors. + (paintBackground): Set the correct background color here. + (updateComponentColor): Removed this method. + * javax/swing/text/PlainView.java + (disabledColor): New field. Stores the text color for disabled + text fields. + (drawUnselectedText): Respect the 'enabled' property of + the text component. + (paint): Fetch the disabled color of the text component. + +2005-09-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler.propertyChanged): Also update colors if the + 'editable' property is changed. + (updateComponentColors): Correctly handle editable vs. enabled + changes. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Fixed color defaults for TextFields + to use the current theme. + +2005-09-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/plaf/basic/BasicTextUI.java + (UpdateHandler.propertyChanged): Update the components colors + when the state of the 'enabled' property changes. + (foreground): New field that stores the foreground color. + (background): New field that stores the background color. + (inactiveForeground): New field that stores the inactive + foreground color. + (inactiveBackground): New field that stores the inactive + background color. + (updateComponentColors): New method. Updates the text + components' colors according to the state of the 'enabled' + property. + (installDefaults): Load the defaults for the component colors. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): Added defaults for TextField colors + and border. + +2005-09-08 Roman Kennke <kennke@aicas.com> + + * javax/swing/text/GapContent.java + Fixes Bug #22966. + (GapContentPosition.getOffset): Added assertion to check for + consistent state of the Position. Fixed condition in if-statement. + (serialVersionUID): Updated serialVersionUID to match JDK1.5. + (shiftGap): If gapStart == newGapStart, then return immediatly. + +2005-09-08 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/basic/BasicLookAndFeel.java + (initComponentDefaults): added 'ScrollBar.width' default, + * javax/swing/plaf/metal/MetalScrollBarUI.java + (MetalScrollBarPropertyChangeHandler): new class, + (FREE_STANDING_PROP): added, + (MIN_THUMB_SIZE): modified dimensions, + (increaseButton): new field, + (decreaseButton): new field, + (scrollBarWidth): new field, + (isFreeStanding): new field, + (createUI): just return a new instance, + (installDefaults): implemented, + (createPropertyChangeListener): implemented, + (createDecreaseButton): implemented, + (createIncreaseButton): implemented, + (paintTrack): implemented, + (paintTrackHorizontal): new private method, + (paintTrackVertical): new private method, + (paintThumb): updated, + * javax/swing/plaf/metal/MetalScrollButton.java: implemented, + * javax/swing/plaf/metal/MetalUtils.java + (fillMetalPattern): modified alternating color calculation. + +2005-09-08 Jeroen Frijters <jeroen@frijters.net> + + * java/io/ObjectInputStream.java + (readObject): Removed println and fixed Proxy class descriptor + deserialization. + (resolveProxyClass): Use Class.forName() instead of calling + ClassLoader.loadClass() directly. + * java/io/ObjectOutputStream.java + (writeClassDescriptor): Added support for serializing Proxy + class descriptor. + +2005-09-08 Jeroen Frijters <jeroen@frijters.net> + + * javax/naming/CompoundName.java + (readObject, writeObject): New methods. + +2005-09-07 Lillian Angel <langel@redhat.com> + + * javax/swing/SpringLayout.java: + Fixes Bug #PR23003 + (getConstraints): Width and height should always + be reset, even if constraints is not null. Constraints + deal with the location of the component. + +2005-09-07 Lillian Angel <langel@redhat.com> + + * javax/swing/text/GapContent.java: + Fixes Bug #PR22966 + (getOffset): Fixed check, was redundant. + +2005-09-07 Lillian Angel <langel@redhat.com> + + * javax/swing/text/GapContent.java: + Fixes Bug #PR22966 + (getOffset): Added check for mark <= gapEnd + +2005-09-07 Roman Kennke <roman@kennke.org> + + * javax/swing/JApplet.java + (AccessibleJApplet): New inner class. + (getAccesibleContext): Implemented accessibility support. + * javax/swing/JDialog.java + (AccessibleJDialog): New inner class. + (getAccesibleContext): Implemented accessibility support. + * javax/swing/JFrame.java + (AccessibleJFrame): New inner class. + (getAccesibleContext): Implemented accessibility support. + * javax/swing/JWindow.java + (AccessibleJWindow): New inner class. + (getAccesibleContext): Implemented accessibility support. + +2005-09-07 Roman Kennke <roman@kennke.org> + + * javax/swing/JPanel.java + (AccessibleJPanel): New inner class. + (getAccessibleContext): Implemented this method. + +2005-09-07 Roman Kennke <roman@kennke.org> + + * javax/swing/JPanel.java: Reformatted to match our coding + standards. + +2005-09-07 Roman Kennke <roman@kennke.org> + + * javax/swing/JViewport.java + (AccessibleJViewport): New inner class. + (getAccessibleContext): New method. Implements the Accessible + interface for JViewport. + +2005-09-07 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (HorizontalSliderThumbIcon.paintIcon): handle disabled component state, + and fetch colors from the look and feel, + (VerticalSliderThumbIcon.paintIcon): likewise, + * javax/swing/plaf/metal/MetalSliderUI.java + (MetalPropertyListener): implemented, + (constructor): added color initialisation, + (createUI): reimplemented to return a new instance every time, + (createPropertyChangeListener): return a new instance of + MetalPropertyListener, + (paintTrack): reimplemented to handle track fill option, and the + disabled component state, + (paintMinorTickForHorizSlider): fetch colors from look and feel, + (paintMajorTickForHorizSlider): likewise, + (paintMinorTickForVertSlider): likewise, + (paintMajorTickForVertSlider): likewise. + +2005-09-07 Robert Schuster <robertschuster@fsfe.org> + + * native/jni/qt-peer/componentevent.cpp: Added inclusion + of assert.h + +2005-09-07 Robert Schuster <robertschuster@fsfe.org> + + * INSTALL: Mention that GCJ4 is now mandatory. + +2005-09-07 Robert Schuster <robertschuster@fsfe.org> + + * javax/swing/Box.java: Added java.awt.Container import statement. + +2005-09-06 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added some RadioButton defaults, + * javax/swing/plaf/metal/MetalRadioButtonUI.java + (instance): removed, + (focusColor): added, + (selectColor): added, + (disabledTextColor): added, + (createUI): return a new instance for every component, + (installDefaults): implemented, + (uninstallDefaults): implemented, + (getSelectColor): implemented, + (getDisabledTextColor): implemented, + (getFocusColor): implemented, + (paint): added FIXME note, + (paintFocus): implemented. + +2005-09-06 Lillian Angel <langel@redhat.com> + + Fixes Bug #PR23023 + * javax/swing/plaf/basic/BasicFileChooserUI.java: + Added 2 fields and reformatted copyright. + (actionPerformed): Should be able to open directories. + (mouseClicked): Set text in text field. + (installUI): Initialized the current parent path. + (installComponents): Fixed initialization for text field. + +2005-09-06 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicFileChooserUI.java: + Formatted entire class. + +2005-09-06 Mark Wielaard <mark@klomp.org> + + * configure.ac: Set version to 0.19-pre. + + * doc/www.gnu.org/announce/20050906.wml: New file. + * doc/www.gnu.org/newsitems.txt: Add 0.18 release announcement. + * doc/www.gnu.org/downloads/downloads.wml: Add 0.18. + +2005-09-06 Roman Kennke <roman@kennke.org> + + * javax/swing/Box.java + (AccessibleBox): Extend Container.AccessibleAWTContainer. + (Filler.AccessibleBoxFiller): Extend Component.AccessibleAWTComponent. + (Filler.getAccessibleContext): Uncomment disabled code. + (getAccessibleContext): Uncomment disabled code. + * javax/swing/JRootPane.java: + JRootPane implements Accessible. + (AccessibleJRootPane): Extend AccessibleJComponent. + +2005-09-06 David Gilbert <david.gilbert@object-refinery.com> + + * javax/swing/plaf/metal/MetalIconFactory.java + (RadioButtonIcon.drawCheck): removed, + (RadioButtonIcon.paintIcon): reimplemented, + * javax/swing/plaf/metal/MetalLookAndFeel.java + (initComponentDefaults): added defaults for JRadioButton. + +2005-09-06 Lillian Angel <langel@redhat.com> + + Fixes Bug #PR20015 + * javax/swing/JMenuBar.java + (getUIClassID): Fixed API documentation. + * javax/swing/plaf/basic/BasicMenuBarUI.java: + Added a private field for the mouse listener. + (BasicMenuBarUI): Initialized mouseListener. + (installListeners): Added mouseListener. + (uninstallListeners): Removed mouseListener. + (MouseInputHandler): New class added. + (mouseClicked): Added code to deselect menu items + when menu bar is clicked. + +2005-09-06 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Fixes Bug #PR23527 + (paintMenuItem): Moved view rectangle over to the + left the same amount as defaultTextIconGap so the + accelerator is painted with some space on the right. + +2005-09-06 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicMenuItemUI.java: + Formatted class. + +2005-09-06 Lillian Angel <langel@redhat.com> + + * javax/swing/plaf/basic/BasicScrollBarUI: + Fixes Bug PR23529. + (installUI): Changed delay for Timer. Was set too + long and actionPerformed was not being called fast + enough when the user clicks on the scroll bar. This + is because the timer is stopped after the mouse is + released. 2005-09-06 Mark Wielaard <mark@klomp.org> |