| 2005-12-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| * gnu/CORBA/Poa/gnuPOA.java (reference_to_servant): |
| Throw WrongAdapter with explaining message. |
| |
| 2005-12-31 Mark Wielaard <mark@klomp.org> |
| |
| * java/text/Bidi.java (requiresBidi): Also test against character |
| types L, EN, ES, ET, AN, CS, S and WS. |
| |
| 2005-12-31 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/dom/DomNamedNodeMap.java, |
| gnu/xml/dom/DomNode.java, |
| gnu/xml/dom/ls/SAXEventSink.java, |
| gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java: Fix entity reference DOM construction |
| and correct DOM tree normalisation. |
| |
| 2005-12-30 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/AttributeException.java, |
| * javax/print/URIException.java, |
| * javax/print/FlavorException.java, |
| * javax/print/PrintException.java: |
| Added and updated javadocs to class and methods. |
| |
| 2005-12-30 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/package.html: Added description. |
| * javax/print/attribute/standard/MediaSize.java: |
| Added and updated javadocs to class and methods. |
| (static_initializer): Initialize nested class constants. |
| (MediaSize): Add instances to the cache. |
| (MediaSize): Likewise. |
| (MediaSize): Likewise. |
| (MediaSize): Likewise. |
| (findMedia): New method. |
| (equals): Likewise. |
| |
| 2005-12-29 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java: Additional validity constraint |
| checking; parameter entity recognition and replacement checks; |
| checks for xml:space to determine whether whitespace is ignorable; |
| better start- and end-entity event reporting. |
| |
| 2005-12-28 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/CRLFReader.java: Fixed bug where pos > 0. |
| * gnu/xml/stream/XMLParser.java, |
| gnu/xml/stream/UnicodeReader.java: Use Unicode code points instead |
| of UTF-16 chars, resolving Unicode surrogates. |
| * resource/META-INF/services/org.xml.sax.driver: Updated legacy SAX |
| factory mechanism for new SAX driver. |
| |
| 2005-12-27 Chris Burdess <dog@gnu.org> |
| |
| * gnu/java/net/CRLFInputStream.java, |
| gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java, |
| resource/META-INF/services/javax.xml.parsers.SAXParserFactory: |
| Fix XML parser stream issues. Add support for ignorable whitespace |
| to SAX parser. Allow validating parser to parse invalid files. |
| * gnu/xml/stream/BufferedReader.java, |
| gnu/xml/stream/XMLInputStreamReader.java: Move buffering |
| functionality of XMLInputStreamReader to BufferedReader. |
| |
| 2005-12-27 Tom Tromey <tromey@redhat.com> |
| |
| * gnu/java/nio/SelectorImpl.java: Added import. |
| |
| 2005-12-26 Anthony Green <green@redhat.com> |
| |
| * java/net/Socket.java (connect): Don't close the socket on |
| exceptions. |
| |
| * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount |
| of data to read (dst.remaining()). |
| * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto. |
| |
| * gnu/java/nio/SelectorImpl.java (select): Handle OP_CONNECT |
| properly. |
| |
| 2005-12-25 Jeroen Frijters <jeroen@frijters.net> |
| |
| * java/util/Collections.java |
| (binarySearch(List,Object,Comparator)): Changed comparison order |
| for improved compatibility. |
| |
| 2005-12-25 Chris Burdess <dog@gnu.org> |
| |
| * resource/META-INF/services/javax.xml.parsers.SAXParserFactory: |
| Revert to using aelfred2 driver by default. |
| |
| 2005-12-24 Tom Tromey <tromey@redhat.com> |
| |
| * java/nio/charset/Charset.java (defaultCharset): Added @since. |
| |
| 2005-12-24 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * gnu/xml/dom/DomNode.java |
| (listeners): Use a HashSet now. |
| (DomNode): Likewise. |
| (compact, trimSize): Reduced to nop with a HashSet. |
| (addEventListener, removeEventListener): Use HashSet |
| operations. |
| (dispatchEvent): Likewise. |
| (notifyNode): Likewise. |
| |
| 2005-12-24 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java: DTD validation support for StAX parser. |
| |
| 2005-12-24 Chris Burdess <dog@gnu.org> |
| |
| * doc/README.jaxp: Updated with parameters for SAX-over-StAX driver. |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java: Conformance fixes for XML 1.1 and |
| namespace handling. |
| * gnu/xml/dom/ls/DomLSParser.java, |
| gnu/xml/dom/ls/SAXEventSink.java: Use SAX features and properties to |
| determine XML declaration details. |
| * gnu/xml/aelfred2/SAXDriver.java, |
| gnu/xml/aelfred2/XmlParser.java, |
| gnu/xml/dom/Consumer.java, |
| gnu/xml/pipeline/DomConsumer.java, |
| gnu/xml/pipeline/EventFilter.java: Remove ContentHandler2 hack as |
| DOM Load & Save no longer depends on it |
| * javax/xml/parsers/SAXParserFactory.java, |
| resource/META-INF/services/javax.xml.parsers.SAXParserFactory: Make |
| SAX-over-StAX the default SAX implementation. |
| |
| 2005-12-23 Mark Wielaard <mark@klomp.org> |
| |
| Implement workaround suggested in bug #25430. |
| * java/text/Bidi.java: New file. |
| |
| 2005-12-23 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * gnu/xml/dom/DomNode.java |
| (LiveNodeList.handleEvent, |
| LiveNodeList.item, LiveNodeList.getLength): Detach properly the |
| iterator xfrom the DomNode. |
| |
| 2005-12-23 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java: Interim commit during W3C XML |
| conformance testing. |
| |
| 2005-12-22 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/JInternalFrame.java |
| (show): Removed call moveToFront. Listeners already call |
| toFront, which calls moveToFront. |
| * javax/swing/JLayeredPane.java |
| (setPosition): Positions are assigned from the "front" |
| to the "back", and drawn from the back towards the front. Added |
| a loop to swap all the components, so they are in the correct |
| layer. |
| |
| 2005-12-22 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultStyledDocument.java: |
| (ElementBuffer.insertContentTag): Get the attributes from the tag. |
| Return early if direction is JoinNextDirection but there is no next |
| Element. |
| (createDefaultRoot): Don't call createBranchElement here just |
| instantiate a new BranchElement. |
| (insertUpdate): Removed unneeded fields newElement, newElement2. When |
| building the buffer ElementSpecs, no need to check each time if we |
| should join to the previous or next Element, just check the first and |
| last ElementSpecs after the buffer has been completely built. |
| |
| 2005-12-22 Tom Tromey <tromey@redhat.com> |
| |
| * .externalToolBuilders/ClasspathJar.launch: New file. |
| * .project: Updated. |
| |
| 2005-12-21 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Added focusInputMaps for |
| Button, CheckBox, EditorPane, List, Slider, TabbedPane, |
| ToggleButton, Tree. Also, removed TODO comments that |
| dealt with icons. BasicLookAndFeel does not have icons. |
| |
| 2005-12-22 Mark Wielaard <mark@klomp.org> |
| |
| * gnu/java/nio/charset/Provider.java (provider): Wrap initialization |
| of standard provider in a PrivilegedAction. |
| |
| 2005-12-21 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Added focus input map for |
| EditorPane. Removed keyBindings. |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (createKeyMap): Added check to prevent NPE. |
| |
| 2005-12-21 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/25517 |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Added focus map for FormattedTextField. Mauve |
| test updated for this. |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (createKeyMap): Fixed to get key bindings from the input map. There |
| is not .keyBindings default in BasicL&F (same with the JDK). |
| (installKeyBoardActions): Removed unneeded code. |
| |
| 2005-12-21 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Typo in mauve test. Reverted last patch. |
| |
| 2005-12-21 Mark Wielaard <mark@klomp.org> |
| |
| * include/Makefile.am: Rename gnu_java_awt_peer_gtk_CairoGraphics.h |
| to gnu_java_awt_peer_gtk_GdkGraphics2D.h. |
| |
| 2005-12-21 Thomas Fitzsimmons <fitzsim@redhat.com> |
| |
| * .project: Add ClasspathHeaders.launch. |
| * .externalToolBuilders/Autogen.launch: Run automatically when |
| Makefile.am or configure.ac is updated. |
| * .externalToolBuilders/CompileNative.launch: Run automatically. |
| * .externalToolBuilders/Configure.launch: Run automatically when |
| top-level Makefile.in changes. |
| * include/Makefile.am (CLASSDIR): New variable. Replace lib |
| references with $(CLASSDIR). |
| * .externalToolBuilders/ClasspathHeaders.launch: New builder. |
| |
| 2005-12-21 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Fixed key binding for TextField.focusInputMap. |
| |
| 2005-12-21 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultEditorKit.java: |
| (read): Changed the call to insertString to leave out the trailing |
| new line. |
| |
| 2005-12-21 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/UIDefaults.java |
| (createValue): Added check in. Bind might be an instance of KeyStroke. |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Changed key bindings for PasswordField, TextArea, |
| TextPane, TextField to be instances of KeyStroke. |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (installKeyBoardActions): Added call to replace textComponent's top-level |
| action map to parentActionMap. Also, removed unneeded code. |
| |
| 2005-12-21 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultStyledDocument.java: |
| (insertUpdate): If the AttributeSet argument is null use an empty |
| AttributeSet for comparisons. No need to create a new LeafElement to |
| compare AttributeSets (ie - remove the hack added yesterday). |
| * javax/swing/text/StyleContext.java: |
| (SmallAttributeSet.isEqual): Don't return false for null arguments, |
| this should throw an NPE instead. Also, for performance, check that |
| sizes are equal and one set contains the other, rather than checking |
| that each set contains the other. |
| |
| 2005-12-20 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Added all key bindings for PasswordField |
| focusInputMap. |
| |
| 2005-12-20 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/UIDefaults.java: |
| (LazyInputMap): InputMap should be an InputMapUIResource. |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Added all key bindings for Text*. |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (installKeyboardActions): Fixed call to replaceUIActionMap |
| to create a new ActionMap from textComponent's actions. Prevents |
| an infinite loop. Fixed loop to set the parentActionMap and the |
| parentInputMap. |
| (ActionListenerProxy): Removed. No longer needed. |
| (convertModifiers): Likewise. |
| (creatActionMap): New function creates the action map to |
| be installed on the text component. |
| |
| 2005-12-20 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Added focusInputMap added |
| for PasswordField. |
| * javax/swing/text/JTextComponent.java |
| (allKeys): Fixed to prevent NPE. |
| |
| 2005-12-20 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initClassDefaults): Fixed typo. |
| (initComponentDefaults): Removed keyBindings defaults for |
| Text*. Added focusInputMap for Text*. |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (installKeyBoardActions): Added code to load the focusInputMap |
| and install all the actions for each key. |
| (ActionListenerProxy): New class implemented. |
| (converModifiers): New method to convert the modifiers. |
| (getActionMap): Removed function. Not needed. |
| (createActionMap): Likewise. |
| * javax/swing/text/JTextComponent.java |
| (JTextComponent): Removed code to load the keymap. |
| |
| 2005-12-20 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/DefaultEditorKit.java: |
| Added implementation for beginLineAction and |
| endLineAction. |
| * javax/swing/text/JTextComponent.java |
| (JTextComponent): Added key bindings for HOME and END. |
| |
| 2005-12-20 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicTreeUI.java |
| (pathWasExpanded): Removed unneeded revalidate call. |
| (pathWasCollapsed): Likewise. |
| (installUI): Fixed to check for null root. |
| (paint): Fixed to always update path. |
| (toggleExpandState): Removed call to update path. |
| (editingStopped): Likewise. |
| (editingCanceled): Likewise. |
| (treeStructureChanged): Likewise. |
| (treeExpanded): Likewise. |
| (treeCollapsed): Likewise. |
| (treeNodesChanged): Likewise. |
| (treeNodesInserted): Likewise. |
| (treeNodesRemoved): Likewise. |
| (updateCurrentVisiblePath): Added check for null root. If root is null, |
| nothing should be painted or in the path. |
| * javax/swing/tree/DefaultTreeModel.java |
| (setRoot): Root can be null. |
| |
| 2005-12-20 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| Fixes bug #25506 |
| * javax/swing/text/AbstractDocument.java: |
| (insertString): Fire insert update whether the DocumentEvent was |
| changed or not. |
| |
| 2005-12-20 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultStyledDocument.java: |
| (ElementBuffer.insertContentTag): If the direction is |
| OriginateDirection split all the time, don't check the attribute sets. |
| Removed the special case for the first insertion. These cases should |
| fall under the direction JoinPreviousDirection. Changed the comments to |
| reflect this. |
| (insertUpdate): Added a hack to get the right result when comparing |
| the attributes of the new ElementSpec to the attributes of either |
| the previous or next Element. |
| |
| 2005-12-19 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/CSSParser.java |
| (CSSParser): Initialized tokenBuffer with some |
| arbitrary size. This makes append much more efficent since |
| a new array will not been created with each append. |
| (append): Fixed append to create a new larger array if |
| needed. |
| (nextToken): Finished implemented. Should decrease the |
| tokenBufferLength if an identifier was read. This way " and ' |
| are not added to the buffer. |
| (parse): Implemented to call the appropriate parsing function |
| based on parameter. |
| (getNextStatement): Implemented. |
| (parseAtRule): Added some helpful comments for implementing. |
| (parseRuleSet): Likewise. |
| (parseIdentifiers): Likewise. |
| (readComment): Likewise. |
| * javax/swing/text/html/StyleSheet.java |
| (addRule): Implemented. |
| (loadRules): Implemented. |
| (importStyleSheet): Removed implementation for now. It causes |
| a loop. Added FIXME |
| (startRule): Implemented. |
| (handleProperty): Implemented. |
| (addSelector): Implemented. |
| |
| 2005-12-19 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/BlockView.java |
| (getStyleSheet): Implemented. |
| * javax/swing/text/html/CSSParser.java: New private class, |
| partially implemented. |
| * javax/swing/text/html/HTMLEditorKit.java |
| (createDefaultDocument): Fixed to create HTMLDocument with |
| default style sheet. |
| (getStyleSheet): Fixed to initialize style sheet if null. |
| * javax/swing/text/html/StyleSheet.java |
| (CssParser): New private inner class, partially implemented. |
| |
| 2005-12-19 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultStyledDocument.java: |
| (endOffset): New field. |
| (ElementBuffer.insert): If length is 0 return early. Set the endOffset |
| variable here. |
| (ElementBuffer.insertContentTag): Added special case for when insertion |
| covers entire range of the current Element. Replaced (offset + length) |
| with endOffset everywhere. Added checks to see if the insertion has |
| the same attributes as the surrounding Element(s), in which case we |
| don't split them, we join them. |
| (SectionElement.getName): Return the field SectionElementName instead |
| of hardcoding a return value. |
| (getLogicalStyle): As the specs require, if the attributes from the |
| resolve parent aren't of type Style, return null. |
| (setCharacterAttributes): Exit early if length is 0. Obtain a |
| write lock for the body of this method. Changed the way we iterate |
| through the paragraphs to be more efficient and more intuitive. Added |
| AttributeUndoableEdits to the DocumentEvent and fired the |
| UndoableEditUpdate. |
| (setLogicalStyle): Return early if the Element is null. Obtain a write |
| lock for the body of this method. Fire the appropriate DocumentEvent. |
| (setParagraphAttributes): Changed the way we iterated through the |
| paragraphs because it was incorrect and unintuitive. Obtained a write |
| lock within a try/finally block. Added AttributeUndoableEdits to the |
| DocumentEvent and fired the event. |
| (insertUpdate): Changed the way we iterate because we cannot assume |
| the Segment holds the characters starting from index 0. Give the |
| startTag the same attributes as the paragraph. Removed the useless |
| offset += len line because len is 0. |
| (printElements): New temporary debugging method. |
| (attributeSetsAreSame): New method. |
| |
| 2005-12-19 Dalibor Topic <robilad@kaffe.org> |
| |
| * native/fdlibm/mprec.h (DEBUG): Include stdlib.h for |
| exit() prototype to fix compiler warning. |
| |
| 2005-12-19 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/StyledEditorKit.java |
| (createInputAttributes): Fixed. I made a mistake by |
| changing this in my last fix. I have committed a mauve test |
| to verify the set should be cleared first. |
| * javax/swing/text/html/HTMLEditorKit |
| (createInputAttributes): Set is cleared before adding |
| new attributes. |
| * javax/swing/text/html/HTMLDocument.java: |
| Added names to authors. |
| * javax/swing/text/html/default.css: |
| Fixed indentation. |
| |
| 2005-12-19 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicMenuItemUI.java |
| (paintBackground): Also fill background for unselected items here. |
| (paintMenuItem): Call paintBackground() with the background |
| parameter. |
| |
| 2005-12-19 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JComponent.java |
| (findOverlapFreeParent): Fixed component lookup for painting. |
| |
| 2005-12-19 Roman Kennke <kennke@aicas.com> |
| |
| PR classpath/24905 |
| * javax/swing/JViewport.java |
| (paintSimple): Call paintComponent() before painting the child, so |
| the background gets cleared correctly. |
| |
| 2005-12-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/MediaPrintableArea.java: |
| Added and updated javadocs to class and methods. |
| (x): Use int as type. |
| (y): Likewise. |
| (width): Likewise. |
| (height): Likewise. |
| (MediaPrintableArea): Convert values to micrometers. |
| (MediaPrintableArea): Likewise. |
| (getX): Convert return value into choosen units. |
| (getY): Convert return value into choosen units. |
| (getWidth): Convert return value into choosen units. |
| (getHeight): Convert return value into choosen units. |
| (equals): New overridden method. |
| (toString): Likewise. |
| (hashCode): Likewise. |
| (toString): New method. |
| (getPrintableArea): Likewise. |
| |
| 2005-12-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/Media.java (equals): |
| Reimplemented to allow future subclasses to behave correctly. |
| |
| 2005-12-19 Roman Kennke <kennke@aicas.com> |
| |
| PR classpath/24195 |
| * javax/swing/text/DefaultStyledDocument.java |
| (setParagraphAttributes): Obtain lock for this operation. Exit loop |
| after last paragraph element. |
| |
| 2005-12-19 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicComboBoxUI.java |
| (installListeners): Install focus listener only on editor. |
| (configureArrowButton): Make arrow button not focusable. |
| (setPopupVisible): Request focus for the combobox editor or comboBox, |
| depending on whether the combobox is editable or not. |
| * javax/swing/plaf/basic/BasicComboPopup.java |
| (configureList): Make list not focusable. |
| |
| 2005-12-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/JobStateReasons.java: |
| Added and updated javadocs to class and methods. |
| (JobStateReasons): New constructor. |
| (JobStateReasons): Likewise. |
| (JobStateReasons): Likewise. |
| (JobStateReasons): Likewise. |
| (add): New overridden method. |
| * javax/print/attribute/standard/PrinterStateReasons.java: |
| Added and updated javadocs to class and methods. |
| (PrinterStateReasons): New constructor. |
| (PrinterStateReasons): Likewise. |
| (PrinterStateReasons): Likewise. |
| (PrinterStateReasons): Likewise. |
| (printerStateReasonSet): New method. |
| (put): New overridden method. |
| |
| 2005-12-18 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * libraries/javalib/external/classpath/lib/Makefile.am: |
| Replaced $(top_distdir) with $(distdir)/.. to make sure |
| that GNU Classpath's class library sources don't end up |
| in the wrong location in kaffe's tarball. |
| |
| 2005-12-18 Nicolas Geoffray <nicolas.geoffray@menlina.com> |
| |
| * java/lang/Class.java (getModifiers): Only returns |
| interesting bits. |
| |
| 2005-12-18 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLParser.java: Various fixes post SAX conformance |
| testing. |
| |
| 2005-12-18 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/JobOriginatingUserName.java, |
| * javax/print/attribute/standard/RequestingUserName.java, |
| * javax/print/attribute/standard/JobMessageFromOperator.java, |
| * javax/print/attribute/standard/JobName.java, |
| * javax/print/attribute/standard/OutputDeviceAssigned.java, |
| * javax/print/attribute/standard/PrinterInfo.java, |
| * javax/print/attribute/standard/PrinterLocation.java, |
| * javax/print/attribute/standard/PrinterMakeAndModel.java, |
| * javax/print/attribute/standard/PrinterMessageFromOperator.java, |
| * javax/print/attribute/standard/DocumentName.java, |
| * javax/print/attribute/standard/PrinterName.java: |
| Added and updated javadocs to class and methods. |
| |
| 2005-12-17 Mark Wielaard <mark@klomp.org> |
| |
| * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Add namespace.h |
| |
| 2005-12-17 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/text/html/HTMLDocument.java (BlockElementgetName): |
| Qualify NameAttribute as comming from StyleConstants. |
| (RunElement.getName): Likewise. |
| (getElement): Check whether grandChild element is null before |
| returning it. |
| |
| 2005-12-17 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/text/html/HTMLDocument.java (flush): Qualify ElementSpec |
| type comming from DefaultStyledDocument. |
| (blockOpen): Likewise. |
| (blockClose): Likewise. |
| (addContent): Likewise. |
| |
| 2005-12-17 Mark Wielaard <mark@klomp.org> |
| |
| * lib/copy-vmresources.sh.in: Use dot '.' for find after changing |
| dir to target directory. |
| |
| 2005-12-17 Tom Tromey <tromey@redhat.com> |
| |
| * java/io/File.java (File): Updated javadoc. |
| |
| 2005-12-17 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * native/fdlibm/namespace.h: Regenerated. |
| |
| * native/fdlibm/fdlibm.h |
| (isnan): Define explicitly isnan if it is not a macro. |
| |
| * scripts/math_symbols: Removed isnan. |
| |
| 2005-12-17 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/CopiesSupported.java: |
| Added and updated javadocs to class and methods. |
| (CopiesSupported): Throw IllegalArgumentException if |
| lowerBound is less than 1. |
| (CopiesSupported): Throw IllegalArgumentException if member less than 1. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/JobKOctetsSupported.java: |
| Added and updated javadocs to class and methods. |
| (JobKOctetsSupported): Throw IllegalArgumentException if |
| lowerBound is less than 1. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/JobImpressionsSupported.java: |
| Added and updated javadocs to class and methods. |
| (JobImpressionsSupported): Throw IllegalArgumentException if |
| lowerBound is less than 1. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/JobMediaSheetsSupported.java: |
| Added and updated javadocs to class and methods. |
| (JobMediaSheetsSupported): Throw IllegalArgumentException if |
| lowerBound is less than 1. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/PageRanges.java: |
| Added and updated javadocs to class and methods. |
| (PageRanges): Throw IllegalArgumentException if member less than 1. |
| (PageRanges): Throw IAE if lowerBound is less than 1. |
| (PageRanges): Throw NPE if members is null. |
| (PageRanges): New constructor. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/NumberUpSupported.java: |
| Added and updated javadocs to class and methods. |
| (NumberUpSupported): Throw IllegalArgumentException if member less than 1. |
| (NumberUpSupported): Throw IAE if lowerbound less than 1. |
| (NumberUpSupported): Throw NPE if members is null. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/JobHoldUntil.java, |
| * javax/print/attribute/standard/DateTimeAtProcessing.java, |
| * javax/print/attribute/standard/DateTimeAtCompleted.java, |
| * javax/print/attribute/standard/DateTimeAtCreation.java: |
| Added and updated javadocs to class and methods. |
| * javax/print/attribute/standard/PrinterURI.java, |
| * javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, |
| * javax/print/attribute/standard/PrinterMoreInfo.java, |
| * javax/print/attribute/standard/Destination.java, |
| * javax/print/attribute/standard/PrinterResolution.java: |
| Added and updated javadocs to class and methods. |
| (equals): New overridden method. |
| |
| 2005-12-17 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * java/io/ObjectOutputStream.java |
| (writeClassDescriptor): Use two argument constructor. Reduced line |
| size. |
| |
| 2005-12-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (AudioAction): New inner class. |
| (audioActionMap): New field. |
| (getAudioActionMap): New method. |
| (createAudioAction): New method. |
| (playSound): New method. |
| |
| 2005-12-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JTable.java |
| (AccessibleJTable.getAccessibleRowAtIndex): New method. |
| (AccessibleJTable.getAccessibleColumnAtIndex): New method. |
| (AccessibleJTable.getAccessibleColumnAtIndex): New method. |
| (surrendersFocusOnKeystroke): New field. |
| (setSurrendersFocusOnKeystroke): New method. |
| (getSurrendersFocusOnKeystroke): New method. |
| |
| 2005-12-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/SwingUtilities.java |
| (processKeyBindings): New method. Processes keybindings for |
| non-JComponent derived components. |
| |
| 2005-12-16 Keith Seitz <keiths@redhat.com> |
| |
| * gnu/classpath/jdwp/event/EventManager.java (EventManager): Catch |
| all JdwpExceptions when initializing the event table. |
| (requestEvent): Update to allow throwing JdwpException from |
| VMVirtualMachine methods. |
| (deleteRequest): Likewise. |
| (clearRequests): Likewise. |
| * gnu/classpath/jdwp/Jdwp.java (notify): Catch exceptions |
| from sendEvent and _enforceSuspendPolicy. |
| (sendEvent): Do not catch IOException here. |
| (_enforceSuspendPolicy): Update to allow throwing JdwpException |
| from VMVirtualMachine methods. |
| |
| 2005-12-16 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/JobImpressionsCompleted.java: |
| Added and updated javadocs to class and methods. |
| (getName): Fixed name returned by this attribute class. |
| * javax/print/attribute/standard/JobMediaSheetsCompleted.java, |
| * javax/print/attribute/standard/JobKOctetsProcessed.java, |
| * javax/print/attribute/standard/JobImpressions.java, |
| * javax/print/attribute/standard/JobKOctets.java, |
| * javax/print/attribute/standard/JobMediaSheets.java, |
| * javax/print/attribute/standard/NumberOfInterveningJobs.java, |
| * javax/print/attribute/standard/JobPriority.java, |
| * javax/print/attribute/standard/JobPrioritySupported.java, |
| * javax/print/attribute/standard/NumberOfDocuments.java, |
| * javax/print/attribute/standard/QueuedJobCount.java, |
| * javax/print/attribute/standard/NumberUp.java, |
| * javax/print/attribute/standard/PagesPerMinuteColor.java, |
| * javax/print/attribute/standard/PagesPerMinute.java, |
| * javax/print/attribute/standard/Copies.java: |
| Added and updated javadocs to class and methods. |
| |
| 2005-12-16 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/StyledEditorKit.java |
| (createInputAttributes): This should copy the element |
| attributes into the set, not clear out the set. Fixed |
| to match the API spec. |
| * javax/swing/text/html/HTMLEditorKit.java |
| (getInputAttributes): Added API documentation. Fixed |
| implementation. Combining all input attributes should |
| not be done here. |
| |
| 2005-12-16 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java |
| (HTMLDocument): Fixed. The style sheet is initialized |
| using HTMLEditorKit. |
| (HTMLDocument): Fixed to call this with null as the |
| style sheet. |
| * javax/swing/text/html/HTMLEditorKit.java: |
| Added new fields. |
| (LinkController): Calls super constructor. |
| (InsertHTMLTextAction): Added comment. |
| (actionPerformed): Partially implemented. |
| (HTMLEditorKit): Fixed to initialize style sheet to |
| default.css. |
| (getParser): Fixed field name. |
| (read): Added code to set base for document. |
| (getContentType): Fixed to return field. |
| (createInputAttributes): Partially implemented. |
| (install): Added FIXME. |
| (deinstall): set field to null. |
| (getInputAttributes): Implemented. |
| * javax/swing/text/html/StyleSheet.java |
| (importStyleSheet): Partially implemented. |
| * javax/swing/text/html/default.css: New file. Default style |
| sheet for HTML. |
| |
| 2005-12-16 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * native/fdlibm/mprec.h, native/fdlibm/fdlibm.h: Added the |
| inclusion of namespace.h |
| |
| * native/fdlibm/namespace.h: New file. |
| |
| * scripts/build_mathnamespace, scripts/math_symbols: New files. |
| |
| 2005-12-16 Keith Seitz <keiths@redhat.com> |
| |
| * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java |
| (VMVirtualMachine): All methods now throw JdwpException. |
| |
| 2005-12-16 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/MediaSizeName.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): Implemented. |
| (getEnumValueTable): Implemented. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| * javax/print/attribute/standard/MediaName.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): Implemented. |
| (getEnumValueTable): Implemented. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (NA_LETTER_WHITE): Fixed value of enum. |
| (NA_LETTER_TRANSPARENT): Likewise. |
| (ISO_A4_WHITE): Likewise. |
| (ISO_A4_TRANSPARENT): Likewise. |
| (serialVersionUID): New field. |
| * javax/print/attribute/standard/Media.java: |
| Added and updated javadocs to class and methods. |
| (equals): New overridden method. |
| * javax/print/attribute/standard/MediaTray.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): Implemented. |
| (getEnumValueTable): Implemented. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (TOP): Fixed value of enum. |
| (MIDDLE): Likewise. |
| (BOTTOM): Likewise. |
| (ENVELOPE): Likewise. |
| (LARGE_CAPACITY): Likewise. |
| (MAIN): Likewise. |
| (SIDE): Likewise. |
| (serialVersionUID): New field. |
| * javax/print/attribute/standard/PrinterState.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (IDLE): Fixed value of enum. |
| (PROCESSING): Likewise. |
| (STOPPED): Likewise. |
| * javax/print/attribute/standard/JobState.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (PENDING): Fixed value of enum. |
| (PENDING_HELD): Likewise. |
| (PROCESSING): Likewise. |
| (PROCESSING_STOPPED): Likewise. |
| (CANCELED): Likewise. |
| (ABORTED): Likewise. |
| (COMPLETED): Likewise. |
| * javax/print/attribute/standard/SheetCollate.java, |
| * javax/print/attribute/standard/PresentationDirection.java, |
| * javax/print/attribute/standard/ReferenceUriSchemesSupported.java, |
| * javax/print/attribute/standard/PrinterStateReason.java, |
| * javax/print/attribute/standard/JobStateReason.java, |
| * javax/print/attribute/standard/JobSheets.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| |
| 2005-12-16 Roman Kennke <kennke@aicas.com> |
| |
| * native/jni/java-nio/java_nio.c |
| Removed obsolete file. |
| |
| 2005-12-16 Tom Tromey <tromey@redhat.com> |
| |
| * java/lang/Class.java (getPackage): Javadoc fix. |
| |
| 2005-12-16 Roman Kennke <kennke@aicas.com> |
| |
| * native/jni/classpath/jcl.c: |
| Only redefine __attribute__ if it's not already defined. |
| |
| 2005-12-16 Roman Kennke <kennke@aicas.com> |
| |
| * java/net/DatagramSocket.java |
| (DatagramSocket(SocketAddress)): Actually use the factory if one |
| is installed. |
| |
| 2005-12-16 Tom Tromey <tromey@redhat.com> |
| |
| * java/io/ObjectInputStream.java: Organized imports. |
| |
| 2005-12-15 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/PDLOverrideSupported.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (ATTEMPTED): Fixed value of enum. |
| * javax/print/attribute/standard/PrinterIsAcceptingJobs.java, |
| * javax/print/attribute/standard/Severity.java, |
| * javax/print/attribute/standard/MultipleDocumentHandling.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| * javax/print/attribute/standard/Fidelity.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (getName): Use correct ipp attribute name. |
| * javax/print/attribute/standard/OrientationRequested.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (getOffset): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| * javax/print/attribute/standard/PrintQuality.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (getOffset): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (DRAFT): Fixed value of enum. |
| (NORMAL): Likewise. |
| (HIGH): Likewise. |
| * javax/print/attribute/standard/Finishings.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (getOffset): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (NONE): Fixed value of enum. |
| (STAPLE): Likewise. |
| (COVER): Likewise. |
| (BIND): Likewise. |
| (SADDLE_STITCH): Likewise. |
| (EDGE_STITCH): Likewise. |
| (STAPLE_TOP_LEFT): Likewise. |
| (STAPLE_BOTTOM_LEFT): Likewise. |
| (STAPLE_TOP_RIGHT): Likewise. |
| (STAPLE_BOTTOM_RIGHT): Likewise. |
| (EDGE_STITCH_LEFT): Likewise. |
| (EDGE_STITCH_TOP): Likewise. |
| (EDGE_STITCH_RIGHT): Likewise. |
| (EDGE_STITCH_BOTTOM): Likewise. |
| (STAPLE_DUAL_LEFT): Likewise. |
| (STAPLE_DUAL_TOP): Likewise. |
| (STAPLE_DUAL_RIGHT): Likewise. |
| (STAPLE_DUAL_BOTTOM): Likewise. |
| * javax/print/attribute/standard/Sides.java: |
| Added and updated javadocs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| (DUPLEX): Fixed value of enum. |
| (TUMBLE): Likewise. |
| |
| 2005-12-15 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/AbstractDocument.java: |
| (AbstractElement.getAttribute): If no attribute could be found in the |
| AttributeSet hierarchy, then try the Element hierarchy instead. |
| |
| 2005-12-15 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java |
| (HTMLDocument): Added a FIXME |
| (create): Added stub. |
| (createDefaultRoot): Likewise. |
| (createLeafElement): Likewise. |
| (createBranchElement): Likewise. |
| (insertUpdate): Likewise. |
| (setParagraphAttributes): Likewise. |
| (fireChangedUpdate): Likewise. |
| * javax/swing/text/html/HTMLEditorKit.java |
| (LinkController): Removed FIXME |
| (mouseClicked): Added comment |
| (mouseDragged): Likewise. |
| (mouseMoved): Likewise. |
| (activateLink): Likewise. |
| (insertAtBoundary): Likewise. |
| (HTMLFactory): Added constructor. |
| (HTMLEditorKit): Added FIXME to constructor. |
| * javax/swing/text/html/StyleSheet.java |
| (removeStyleSheet): Fixed implementation. |
| |
| 2005-12-15 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/BlockView.java |
| (paint): Partially implemented. |
| (getAttributes): Implemented. |
| (getStyleSheet): Partially implemented. |
| * javax/swing/text/html/HTMLDocument.java |
| (HTMLDocument): New constructor, implemented. |
| (HTMLDocument): Likewise. |
| (HTMLDocument): Likewise. |
| (getStyleSheet): Implemented. |
| * javax/swing/text/html/HTMLEditorKit.java |
| (insertHTML): Fixed indentation. |
| (ParserCallback): Added comments for all methods in this |
| inner class. |
| (getStyleSheet): Implemented. |
| (setStyleSheet): Implemented |
| * javax/swing/text/html/StyleSheet: New class, partially |
| implemented. |
| |
| 2005-12-15 Caolan McNamara <caolanm@redhat.com> |
| |
| PR classpath/25426: |
| * gnu/xml/dom/DomNode.java (detach): Check whether current is |
| already null. |
| |
| 2005-12-15 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/ViewportLayout.java |
| (layoutContainer): Set width and height before adjusting the |
| location. Only set view size to port size if the port is larger |
| than the views preferredSize. |
| |
| 2005-12-15 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XMLInputFactoryImpl.java, |
| gnu/xml/stream/XMLParser.java: Permit setting extended properties |
| via factory interfaces; make base-aware a parameter. |
| |
| 2005-12-15 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JComponent.java |
| (getPreferredSize): Protect the preferredSize field from |
| modification by creating a new Dimension object from it |
| before returning the value. |
| |
| 2005-12-15 Chris Burdess <dog@gnu.org> |
| |
| Fixes bug classpath/24496: |
| * java/util/Properties.java (loadFromXML): Use StAX instead of SAX |
| to populate properties. |
| |
| 2005-12-15 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/XMLParser.java: Report start-entity and end-entity |
| events; read text declaration for external entities; |
| handle XML namespace; handle xml:base; normalize CR/LF pairs |
| created as a result of mixed text and character entity references. |
| |
| 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com> |
| |
| * java/lang/ClassLoader |
| (defineClass(String,byte[],int,int,ProtectionDomain)): |
| Calls VMClassLoader.defineClassWithTransformers instead |
| of VMClassLoader.defineClass. |
| * vm/reference/java/lang/VMClassLoader |
| (defineClassWithTransformers): New method. |
| (instrumenter): New Field. |
| |
| 2005-12-14 Roman Kennke <kennke@aicas.com> |
| |
| * gnu/java/awt/peer/gtk/GdkGraphics.java |
| (cached): New field. |
| (parent): New field. |
| (GdkGraphics(GdkGraphics)): Moved state-copy code to new method |
| copyState(). |
| (create): Added re-use of old graphics. |
| (nativeDispose): Renamed native dispose method to nativeDispose(). |
| (dispose): New non-native implementation used for caching. |
| (finalize): Overridden to correctly dispose unused graphics. |
| (copyState): New non-native method to correctly copy the non-native |
| state. |
| (nativeCopyState): Renamed native copyState method to |
| nativeCopyState(). |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c |
| (copyState): Renamed to nativeCopyState. |
| (dispose): Renamed to nativeDispose. |
| * include/gnu_java_awt_peer_gtk_GdkGraphics.h |
| (copyState): Renamed to nativeCopyState. |
| (dispose): Renamed to nativeDispose. |
| |
| 2005-12-14 Riccardo Mottola <riccardo@kaffe.org> |
| |
| * native/fdlibm/ieeefp.h: Fixed detection of big endian on |
| powerpc. |
| |
| 2005-12-14 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultStyledDocument.java: |
| (insert): Put writeLock/writeUnlock combo in a try/finally block. Group |
| all inserts together so that we can add the appropriate ElementEdit to |
| the DocumentEvent. |
| * javax/swing/text/html/HTMLDocument.java: |
| (debug): New field. |
| (print): New method. Changed all System.out.println calls to calls to |
| this method so that they can be turned on and off via the debug |
| variable. |
| (HTMLReader.CharacterAction.start): Uncommented code that adds the |
| argument attributes to the current attributes. |
| (HTMLReader.HeadAction): Changed superclass to BlockAction instead of |
| TagAction. |
| (HTMLReader.blockOpen): Implemented. |
| (HTMLReader.blockClose): Implemented. |
| (HTMLReader.addContent): Added calls to printBuffer so if the debug |
| variable is true we can see what the buffer looks like before and |
| after adding content. Also put in the proper check so that we only |
| flush the buffer if we've buffered the appropriate number of elements |
| first. |
| (printBuffer): New method. |
| |
| 2005-12-14 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/XIncludeFilter.java: Fix event flow on fallback. |
| * gnu/xml/stream/XMLParser.java: Don't pop namespace context until |
| after END_ELEMENT has been read; fix CDATA section detection. |
| |
| 2005-12-14 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * java/io/ObjectOutputStream.java |
| (writeClassDescription): Throw an InvalidClassException if |
| fields is INVALID_FIELDS. |
| (lookup): Added some documentation. |
| |
| * java/io/ObjectStreamClass.java |
| (setFields): Make fields as INVALID if we detect duplicate |
| entries in serialPersistentFields. |
| |
| 2005-12-14 Roman Kennke <kennke@aicas.com> |
| |
| Reported by Ingo Proetel <proetel@aicas.com> |
| * java/awt/Container.java |
| (visitChild): Use Graphics.hitClip() to check for clip bounds. |
| Create a new Graphics before painting the child, this protects |
| the current context from beeing irrevocably changed by the child |
| component. |
| |
| 2005-12-14 Tom Tromey <tromey@redhat.com> |
| |
| PR classpath/25389: |
| * java/io/File.java (File): Throw IllegalArgumentException if URI is |
| non-hierarchical. |
| |
| 2005-12-13 Tom Tromey <tromey@redhat.com> |
| |
| * java/lang/instrument/ClassDefinition.java: Reformatted. |
| * java/lang/instrument/UnmodifiableClassException.java: Reformatted. |
| * java/lang/instrument/IllegalClassFormatException.java: Reformatted. |
| |
| 2005-12-13 Tom Tromey <tromey@redhat.com> |
| |
| * java/lang/instrument/ClassDefinition.java (ClassDefinition): Now |
| public. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLEditorKit.java |
| (getHTMLEditorKit): Fixed typo. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLEditorKit.java |
| (insertHTML): Fixed catching of exceptions. |
| (getHTMLDocument): Likewise. |
| (getHTMLEditorKit): Likewise. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/AbstractAction.java: |
| (putValue): Fixed check, should use .equals when comparing |
| objects. |
| * javax/swing/text/StyledEditorKit.java |
| (UnderlineAction): Fixed name. |
| (ItalicAction): Likewise. |
| (BoldAction): Likewise. |
| (getActions): Added more default actions. |
| * javax/swing/text/html/HTMLDocument.java: |
| Removed unneeded import statement. |
| * javax/swing/text/html/HTMLEditorKit.java: |
| Added new field |
| (getActions): Fixed to use augmentList to combine |
| the actions from the super class with the ones from |
| this class. |
| |
| 2005-12-13 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/XIncludeFilter.java, |
| gnu/xml/stream/XMLStreamWriterImpl.java, |
| gnu/xml/stream/XMLParser.java: XInclude fixes. |
| |
| 2005-12-13 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java: |
| (HTMLReader.charAttr): Initialize this variable. |
| (HTMLReader.parseBuffer): Initialize this variable. |
| (HTMLReader.popDepth): New field. |
| (HTMLReader.pushDepth): Likewise. |
| (HTMLReader.offset): Likewise. |
| (HTMLReader.insertTag): Likewise. |
| (HTMLReader.insertTagEncountered): Likewise. |
| (HTMLReader.BlockAction.start): Implemented. |
| (HTMLReader.BlockAction.end): Implemented. |
| (HTMLReader.CharacterAction.start): Implemented. |
| (HTMLReader.CharacterAction.end): Implemented. |
| (HTMLReader(int)): Call other constructor with default arguments. |
| (HTMLReader(int, int, int, HTML.Tag)): Save the arguments. |
| (HTMLReader.flush): Implemented. |
| (HTMLReader.handleText): Implemented. |
| (HTMLReader.addContent): Implemented. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java |
| (getElement): Implemented. |
| (getElement): Implemented. |
| (setInnerHTML): Added, not fully implemented. |
| (setOuterHTML): Likewise. |
| (insertBeforeStart): Likewise. |
| (insertAfterStart): Likewise. |
| (insertBeforeEnd): Likewise. |
| (insertAfterEnd): Likewise. |
| |
| 2005-12-13 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/XIncludeFilter.java, |
| gnu/xml/stream/XMLInputFactoryImpl.java, |
| gnu/xml/stream/XMLParser.java: Addition of XInclude filter. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java |
| (getReader): Implemented. |
| (getReader): Implemented. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java |
| (BlockElement.getName): Should use getAttribute because the API says |
| that this function can return null. |
| (RunElement): New class implemented. |
| (RunElement.getName): Implemented. |
| (RunElement.getResolvingParent): Implemented. |
| |
| 2005-12-13 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/text/html/HTMLEditorKit.java |
| (getHTMLDocument): Fixed implementation to catch exception. |
| (getHTMLEditorKit): Likewise. |
| (getElementsAt): Fixed to use recursion. Now all elements |
| and all their children are added to the array, only using |
| the default root element. |
| (getElementsAt): New private helper function. Uses recursion. |
| (elementCountToTag): Implemented. |
| (findElementMatchingTag): Implemented. |
| (parserCallback): Removed TODO comment. Nothing should be done here. |
| All work for parser, is done in javax/swing/text/html/Parser.java |
| and HTMLDocument. |
| (flush): Likewise. |
| (handleComment): Likewise. |
| (handleEndOfLineString): Likewise. |
| (handleEndTag): Likewise. |
| (handleError): Likewise. |
| (handleSimpleTag): Likewise. |
| (handleStartTag): Likewise. |
| (handleText): Likewise. |
| (HTMLEditorKit): Implemented and added API documentation. |
| (getParser): Fixed implementation to use a field to store the parser. |
| (insertHTML): Implemented. |
| (read): Implemented. |
| (write): Partially implemented. |
| (install): Added code to add the mouse listener. |
| (deinstall): Added code to remove the mouse listener. |
| (getActions): Modified FIXME comment. |
| (getInputAttributes): Likewise. |
| |
| 2005-12-13 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/html/HTMLDocument.java: |
| (tokenThreshold): New field. |
| (parser): New field. |
| (getParser): New API method. |
| (setParser): New API method. |
| (getTokenThreshold): New API method. |
| (setTokenThreshold): New API method. |
| (getReader(int, int, int, HTML.Tag)): New API method, not implemented. |
| (HTMLReader): New API class, partially implemented. |
| (HTMLReader.BlockAction): New API class, not implemented. |
| (HTMLReader.CharacterAction): Likewise. |
| (HTMLReader.FormAction): Likewise. |
| (HTMLReader.HiddenAction): Likewise. |
| (HTMLReader.IsindexAction): Likewise. |
| (HTMLReader.ParagraphAction): Likewise. |
| (HTMLReader.PreAction): Likewise. |
| (HTMLReader.SpecialAction): Likewise. |
| (HTMLReader.TagAction): New API class, implemented. |
| * javax/swing/text/html/HTMLEditorKit.java: |
| (createDefaultDocument): Set the parser for the new HTMLDocument. |
| |
| 2005-12-13 Mark Wielaard <mark@klomp.org> |
| |
| * doc/hacking.texinfo: Add @bullet to all @itemize lists. |
| |
| 2005-12-13 Mark Wielaard <mark@klomp.org> |
| |
| * doc/hacking.texinfo (Branches): Explain "broken" branches a bit |
| more. |
| |
| 2005-12-12 Dalibor Topic <robilad@kaffe.org> |
| |
| Fixes bug #25353 |
| * m4/acinclude.m4: Added JIKESWARNINGS makefile variable. |
| Only add +Pno-shadow to JIKESWARNINGS if not using jikes 1.19. |
| * lib/Makefile.am: Use JIKESWARNINGS instead of explicitely |
| listing the warnings. |
| |
| 2005-12-12 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/SAXParser.java, |
| gnu/xml/stream/SAXParserFactory.java, |
| gnu/xml/stream/XMLParser.java: SAX parser using StAX implementation. |
| |
| 2005-12-12 Gary Benson <gbenson@redhat.com> |
| |
| * java/security/Security.java (setProperty): Spelling correction. |
| * java/security/Security.java (setProperty): Allow null values. |
| |
| 2005-12-12 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/ViewportLayout.java |
| (layoutContainer): Always check and adjust the size, not only when |
| portSize >= view.minSize. |
| |
| 2005-12-12 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JComponent.java |
| (getPreferredSize): Don't check for the minimumSize. According to |
| a mauve test, this is not necessary. |
| |
| 2005-12-12 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/stream/XMLInputFactoryImpl.java, |
| gnu/xml/stream/CRLFReader.java, |
| gnu/xml/stream/XMLInputStreamReader.java, |
| gnu/xml/stream/XMLParser.java: New StAX parser. |
| |
| 2005-12-11 Mark Wielaard <mark@klomp.org> |
| |
| * doc/hacking.texinfo: Add section on branches. |
| |
| 2005-12-11 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * lib/copy-vmresources.sh.in: Added some '.' after find. |
| |
| 2005-12-09 Tom Tromey <tromey@redhat.com> |
| |
| * javax/print/attribute/standard/Chromaticity.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/ColorSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Compression.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Copies.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/CopiesSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/DateTimeAtCompleted.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/DateTimeAtCreation.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/DateTimeAtProcessing.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Destination.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/DocumentName.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Fidelity.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Finishings.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobHoldUntil.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobImpressions.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobImpressionsCompleted.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobImpressionsSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobKOctets.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobKOctetsProcessed.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobKOctetsSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobMediaSheets.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobMediaSheetsCompleted.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobMediaSheetsSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobMessageFromOperator.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobName.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobOriginatingUserName.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobPriority.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobPrioritySupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobSheets.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobState.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobStateReason.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/JobStateReasons.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Media.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/MediaPrintableArea.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/MediaSize.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/MultipleDocumentHandling.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/NumberOfDocuments.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/NumberOfInterveningJobs.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/NumberUp.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/NumberUpSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/OrientationRequested.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/OutputDeviceAssigned.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PDLOverrideSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PageRanges.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PagesPerMinute.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PagesPerMinuteColor.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PresentationDirection.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrintQuality.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterInfo.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterIsAcceptingJobs.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterLocation.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterMakeAndModel.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterMessageFromOperator.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterMoreInfo.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterMoreInfoManufacturer.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterName.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterResolution.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterState.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterStateReason.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterStateReasons.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/PrinterURI.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/QueuedJobCount.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/ReferenceUriSchemesSupported.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/RequestingUserName.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Severity.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/SheetCollate.java |
| (getCategory): Genericized. |
| * javax/print/attribute/standard/Sides.java |
| (getCategory): Genericized. |
| * javax/print/attribute/HashAttributeSet.java (get): Genericized. |
| (remove): Likewise. |
| * javax/print/attribute/Attribute.java (getCategory): Fixed return |
| type. |
| |
| 2005-12-06 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/BoxLayout.java: |
| (maximumLayoutSize): Add Insets to Dimension and then check for |
| overflow. |
| |
| 2005-12-06 Thomas Fitzsimmons <fitzsim@redhat.com> |
| |
| * java/awt/GridBagLayout.java (ArrangeGrid): Use info rather than |
| layoutInfo in the component for loop. Cache layout information |
| after resizing components. |
| |
| 2005-12-06 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| Fixes bug #25233 |
| * javax/swing/BoxLayout.java: |
| (maximumLayoutSize): Don't add the Insets to the Dimension calculated |
| in checkTotalRequirements(). |
| |
| 2005-12-06 Roman Kennke <kennke@aicas.com> |
| |
| PR classpath/25256 |
| * java/awt/Container.java |
| (LightweightDispatcher.acquireComponentForMouseEvent): Fixed |
| the MOUSE_RELEASED flag and || conditional. |
| |
| 2005-12-06 Christian Thalinger <twisti@complang.tuwien.ac.at> |
| |
| * java/lang/String.java (String): Better out-of-bounds and |
| overflow checks. |
| |
| 2005-12-06 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/LookAndFeel.java (toString): Include description and |
| Class name. |
| |
| 2005-12-06 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * java/awt/BorderLayout.java: |
| (maximumLayoutSize): Don't calculate anything, just return a new |
| Dimension with Integer.MAX_VALUE for both dimensions. |
| |
| 2005-12-06 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JComponent.java |
| (updateUI): Removed unneeded warning. |
| |
| 2005-12-06 Roman Kennke <kennke@aicas.com> |
| |
| PR classpath/25256 |
| * java/awt/Container.java |
| (LightweightDispatcher.acquireComponentForMouseEvent): When we |
| receive a MOUSE_RELEASED then dispatch it to the same component |
| that received the original MOUSE_PRESSED. This is needed for |
| correct dragging behaviour. |
| |
| 2005-12-06 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/ViewportLayout.java |
| (layoutContainer): Don't set the view to it's minimumSize when the |
| port is larger than the view. Rather it should left at it's |
| preferred size. Also, I added a comment explaining a possible bug |
| in this method. |
| |
| 2005-12-06 Tom Tromey <tromey@redhat.com> |
| |
| * javax/security/auth/Subject.java (Subject): Genericized. |
| (getPrincipals): Likewise. |
| (getPrivateCredentials): Likewise. |
| (getPublicCredentials): Likewise. |
| (getPublicCredentials): Likewise. |
| |
| 2005-12-06 Tom Tromey <tromey@redhat.com> |
| |
| * javax/imageio/ImageIO.java (ImageReaderIterator): Genericized. |
| Added new constructor. |
| (ImageWriterIterator): Likewise. |
| (getReadersByFilter): Genericized. |
| (getWritersByFilter): Likewise. |
| (getImageReadersBySuffix): Likewise. |
| (getImageWriters): Likewise. |
| (hasNext): Likewise. |
| * javax/print/attribute/AttributeSetUtilities.java |
| (verifyAttributeCategory): Genericized. |
| (verifyAttributeValue): Likewise. |
| (verifyCategoryForValue): Likewise. |
| * javax/print/attribute/AttributeSet.java (containsKey): Genericized. |
| (get): Likewise. |
| (remove): Likewise. |
| * javax/print/attribute/Attribute.java (getCategory): Genericized. |
| * javax/print/attribute/HashAttributeSet.java (HashAttributeSet): |
| Genericized. |
| (containsKey): Likewise. |
| * javax/imageio/spi/ServiceRegistry.java (deregisterAll): |
| Genericized. |
| * javax/imageio/spi/IIOServiceProvider.java (onDeregistration): |
| Genericized. |
| (onRegistration): Likewise. |
| * javax/imageio/metadata/IIOMetadataFormatImpl.java (getObjectClass): |
| Genericized. |
| (getObjectMaxValue): Likewise. |
| (getObjectMinValue): Likewise. |
| * javax/imageio/ImageIO.java (getImageReadersBySuffix): Genericized. |
| (getImageWriters): Likewise. |
| |
| 2005-12-05 Casey Marshall <csm@gnu.org> |
| |
| * native/jni/classpath/jcl.h (environ): define, or declare |
| 'extern.' |
| * native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>. |
| Remove 'extern' define. |
| * native/jni/java-lang/java_lang_VMSystem.c |
| (Java_java_lang_VMSystem_environ): don't declare 'environ.' |
| |
| 2005-12-05 Tom Tromey <tromey@redhat.com> |
| |
| * java/lang/instrument/Instrumentation.java (redefineClasses): Javadoc |
| fix. |
| * java/lang/instrument/ClassFileTransformer.java (transform): Javadoc |
| fix. |
| |
| 2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com> |
| |
| * vm/reference/java/lang/VMInstrumentationImpl.java |
| (redefineClasses): Added an extra parameter of type |
| java.lang.instrument.Instrument. |
| * java/lang/InstrumentationImpl.java |
| (redefineClasses): Added the Instrumentation object |
| to the arguments of VMInstrumentationImpl.redefineClasses |
| call. |
| |
| 2005-12-05 Mark Wielaard <mark@klomp.org> |
| |
| Fixes bug classpath/25257 |
| * lib/Makefile.am (FOUND_ECJ): Remove -warn typeHiding, unchecked and |
| varargsCast flags for non-generic code. |
| |
| 2005-12-04 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * java/net/URL.java (URL): Check whether context is null before |
| accessing ph. |
| |
| 2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com> |
| |
| * doc/vmintegration.texinfo: Added subsection in the classpath |
| hooks for the java.lang.VMInstrumentationImpl class. |
| |
| 2005-12-04 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/TransferHandler |
| (TransferAction.actionPerformed): Beep and return when clipboard |
| is null. |
| (getClipboard): Return null when access denied. |
| (clipboard): Removed static field. |
| |
| 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com> |
| |
| * java/lang/instrument: New directory. |
| * java/lang/instrument/ClassDefinition.java: |
| New file. |
| * java/lang/instrument/ClassFileTransformer.java: |
| New file. |
| * java/lang/instrument/IllegalClassFormatException.java: |
| New file. |
| * java/lang/instrument/Instrumentation.java: |
| New file. |
| * java/lang/instrument/UnmodifiableClassException.java: |
| New file. |
| * java/lang/InstrumentationImpl.java: |
| New file. |
| * vm/reference/java/lang/VMInstrumentationImpl.java: |
| New file. |
| |
| 2005-12-03 Mark Wielaard <mark@klomp.org> |
| |
| * configure.ac (AC_CONFIG_FILES): Removed |
| native/jni/sampled-jack/Makefile. |
| (AC_ARG_ENABLE [jack]): Removed. |
| |
| 2005-12-02 Tom Tromey <tromey@redhat.com> |
| |
| * javax/sound/sampled/Port.java (Info): Genericized. |
| * javax/sound/sampled/Line.java (Info): Genericized. |
| (getLineClass): Likewise. |
| * javax/sound/sampled/DataLine.java (Info): Genericized. |
| * javax/sound/sampled/AudioFormat.java (AudioFormat): Genericized. |
| (properties): Likewise. |
| * javax/sound/sampled/AudioFileFormat.java (AudioFileFormat): |
| Genericized. |
| (properties): Likewise. |
| |
| 2005-12-02 Tom Tromey <tromey@redhat.com> |
| |
| * javax/naming/directory/InitialDirContext.java (search): Genericized. |
| * javax/naming/directory/BasicAttributes.java (getAll): Genericized. |
| (getIDs): Likewise. |
| * javax/naming/directory/BasicAttribute.java (getAll): Fixed return |
| type. |
| * javax/naming/InitialContext.java: Genericized. |
| (list): Likewise. |
| (listBindings): Likewise. |
| * javax/naming/CompoundName.java (getAll): Genericized. |
| * javax/naming/CompositeName.java (getAll): Genericized. |
| |
| 2005-12-02 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/InternationalFormatter.java: |
| (valueToString): If argument is null return empty String. |
| |
| 2005-12-02 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/JFormattedTextField.java: Added docs all over. |
| (AbstractFormatter.clone): Implemented. |
| (AbstractFormatter.getActions): Implemented. |
| (AbstractFormatter.getDocumentFilter): Implemented. |
| (AbstractFormatter.getNavigationFilter): Implemented. |
| (AbstractFormatter.install): Install the DocumentFilter and |
| NavigationFilter. Properly catch ParseException. Added FIXME to add |
| custom Actions to the JFormattedTextField. |
| (AbstractFormatter.uninstall): Remove the DocumentFilter and |
| NavigationFilter. Added FIXME to remove the custom Actions. |
| (JFormattedTextField(AbstractFormatter)): Call the single argument |
| constructor that takes in an AbstractFormatterFactory. This avoids a |
| call to setValue that shouldn't occur. |
| (JFormattedTextField(AbstractFormatterFactory): Call |
| setFormatterFactory instead of calling the 2-argument constructor which |
| would also make an unwanted call to setValue. |
| (JFormattedTextField(AbstractFormatterFactory, Object)): Switch the |
| order of the calls to setValue and setFormatterFactory. This ensures |
| that the passed in factory is actually the one used, not one generated |
| by setValue. |
| (commitEdit): Implemented. |
| (setFormatter): Removed incorrect early escape if the parameter is the |
| same as the current formatter. |
| (setFormatterFactory): If formatterFactory is null set the formatter to |
| null as well. |
| (setValue): Don't set the text here, this is done when we call |
| setFormatter and it calls AbstractFormatter.install. Create a |
| formatter factory if one doesn't exist already. Call setFormatter to |
| get an appropriate formatter from the factory. |
| (createFormatter): Changed this to createFormatterFactory because we |
| should return a factory, not just a formatter. |
| (createFormatterFactory): New method adapted from createFormatter. |
| |
| 2005-12-01 Tom Tromey <tromey@redhat.com> |
| |
| * javax/imageio/spi/RegisterableService.java (onRegistration): |
| Genericized. |
| (onDeregistration): Likewise. |
| * javax/imageio/spi/ServiceRegistry.java (ServiceRegistry): |
| Genericized. |
| (deregisterServiceProvider): Likewise. |
| (getCategories): Likewise. |
| (getServiceProviderByClass): Likewise. |
| (getServiceProviders): Likewise. |
| (lookupProviders): Likewise. |
| (registerServiceProvider): Likewise. |
| (registerServiceProviders): Likewise. |
| (setOrdering): Likewise. |
| (unsetOrdering): Likewise. |
| * javax/imageio/spi/ImageOutputStreamSpi.java (outputClass): |
| Genericized. |
| (ImageOutputStreamSpi): Likewise. |
| (getOutputClass): Likewise. |
| * javax/imageio/spi/ImageInputStreamSpi.java (inputClass): |
| Genericized. |
| (ImageInputStreamSpi): Likewise. |
| (getInputClass): Likewise. |
| * javax/imageio/metadata/IIOMetadataFormatImpl.java (addAttribute): |
| Genericized. |
| (addObjectValue): Likewise. |
| * javax/imageio/metadata/IIOMetadataFormat.java (getObjectClass): |
| Genericized. |
| (getObjectMaxValue): Likewise. |
| (getObjectMinValue): Likewise. |
| * javax/imageio/ImageIO.java (getImageReaders): Genericized. |
| (getImageReadersByFormatName): Likewise. |
| (getImageReadersByMIMEType): Likewise. |
| (getImageTranscoders): Likewise. |
| (getImageWritersByFormatName): Likewise. |
| (getImageWritersByMIMEType): Likewise. |
| (getImageWritersBySuffix): Likewise. |
| (getImageReader): Use getOriginatingProvider. |
| (getImageWriter): Likewise. |
| * javax/imageio/ImageWriter.java (progressListeners): Genericized. |
| (warningListeners): Likewise. |
| (warningLocales): Likewise. |
| (prepareInsertEmpty): Likewise. |
| (prepareWriteEmpty): Likewise. |
| * javax/imageio/ImageReader.java (progressListeners): Genericized. |
| (updateListeners): Likewise. |
| (warningListeners): Likewise. |
| (warningLocales): Likewise. |
| (getDestination): Likewise. |
| (getImageMetadata): Likewise. |
| (getImageTypes): Likewise. |
| (getStreamMetadata): Likewise. |
| (readAll): Likewise. |
| * javax/imageio/IIOImage.java (IIOImage): Genericized. |
| (thumbnails): Likewise. |
| (getThumbnails): Likewise. |
| (setThumbnails): Likewise. |
| |
| 2005-12-01 Anthony Green <green@redhat.com> |
| |
| PR bootstrap/25207 |
| * configure.ac: Make sure we have an alsa library in addition to |
| the headers. This extra test is required for systems with |
| multilibs. |
| |
| 2005-11-30 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/JFormattedTextField.java: |
| (AbstractFormatter.install): Try to set the text of the formatted text |
| field using this formatter. |
| (FormatterFactoryWrapper): Removed this unneeded class, this is handled |
| by DefaultFormatterFactory now. |
| (formatter): New field. |
| (JFormattedTextField(Format)): Implemented. |
| (JFormattedTextField(AbstractFormatter)): Instantiate a |
| DefaultFormatterFactory instead of a FormatterFactoryWrapper. |
| (JFormattedTextField(AbstractFormatterFactory, Object)): Call setValue |
| and setFormatterFactory instead of setting variables directly because |
| more needs to be done than just setting the value of the variables. |
| (JFormattedTextField(Object value)): Call setValue instead of setting |
| the variable directly. |
| (getAppropriateFormatterFactory): New implementation method. |
| (getFormatter): Don't use the formatter factory here, just return |
| the cached formatter. |
| (processFocusEvent): Set the formatter to the appropriate one as |
| determined by the formatter factory. |
| (setFormatter): Don't get the old formatter from the factory, just use |
| the cached formatter. Uninstall the old formatter. Install the new |
| formatter. Cache the new formatter. Don't create a new formatter |
| factory. |
| (setFormatterFactory): Set the formatter according to the new formatter |
| factory. |
| (setValue): Moved the setting of the value variable to above the call |
| to createFormatter so that an appropriate formatter is created. Cache |
| the formatter that is created. |
| (createFormatter): If argument is a Number, use a NumberFormatter. |
| * javax/swing/text/DefaultFormatter.java: |
| (valueToString): If argument is null return empty String. |
| |
| 2005-11-30 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicFileChooserUI.java |
| (actionPerformed): Added check to determine if |
| parentPath is null. |
| (actionPerformed): Set selected file and files to null |
| if 'cancel' was clicked. |
| (mouseClicked): Cleaned up code a bit and set the selected |
| files if multi-selection is enabled. Also, added code to |
| set the file name in the text field if the selection mode |
| is DIRECTORIES_ONLY. |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (actionPerformed): No need to set fileListPanel, it is |
| set in createList. |
| (actionPerformed): Likewise. |
| (propertyChange): If the dialog type is SAVE, then the |
| approve button text should change depending on what |
| is currently selected. It should say 'Open', if a |
| directory is currently selected. |
| (actionPerformed): Fixed check. |
| (mouseClicked): Added code to set the file name in |
| the text field if the selection mode |
| is DIRECTORIES_ONLY. |
| (editFile): Adjusted y position of editing text field in table. |
| (installListeners): Added code to initially install listeners |
| to the list. |
| (createList): Cleaned up and made more efficent. |
| (createDetailsView): No need to set intercellSpacing. |
| (updateTable): Cleaned up and made more efficent. |
| |
| 2005-11-30 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| Fixes bug #25165 |
| * java/awt/Component.java: |
| (processFocusEvent): Don't check if focus opposite is the same as the |
| receiving Component, this is now done in dispatchEventImpl. |
| (dispatchEventImpl): Don't dispatch FocusEvents whose opposite |
| Components are the same. |
| |
| 2005-11-30 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/standard/Compression.java: |
| Added java docs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| * javax/print/attribute/standard/ColorSupported.java: |
| Added java docs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| * javax/print/attribute/standard/Chromaticity.java: |
| Added java docs to class and methods. |
| (getStringTable): New overridden method. |
| (getEnumValueTable): New overridden method. |
| (stringTable): New field. |
| (enumValueTable): New field. |
| |
| 2005-11-30 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * java/awt/Component.java: |
| (processFocusEvent): Don't dispatch events if the focus opposite is the |
| same as the receiving Component. |
| |
| 2005-11-30 Robert Schuster <robertschuster@fsfe.org> |
| |
| * java/beans/PropertyChangeSupport.java: |
| (fireIndexedPropertyChange): Completed statement. |
| |
| 2005-11-30 Robert Schuster <robertschuster@fsfe.org> |
| |
| * java/beans/PropertyChangeSupport.java: |
| (fireIndexedPropertyChange): Removed argument checking. |
| |
| 2005-11-30 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/SystemFlavorMap.java |
| (isJavaMIMEType): implemented. |
| (GNU_JAVA_MIME_PREFIX): added constant. |
| (decodeJavaMIMEType): implemented. |
| (encodeJavaMIMEType): implemented. |
| (encodeDataFlavor): implemented. |
| |
| 2005-11-30 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/SystemFlavorMap.java |
| Some minor codestyle fixes. |
| (nativeToFlavorMap): removed generalization. |
| (flavorToNativeMap): likewise. |
| |
| 2005-11-29 Tom Tromey <tromey@redhat.com> |
| |
| * javax/swing/text/StyleContext.java (removeAttributes): Genericized. |
| (getAttributeNames): Likewise. |
| * javax/swing/text/SimpleAttributeSet.java (getAttributeNames): |
| Genericized. |
| (removeAttributes): Likewise. |
| * javax/swing/text/DefaultStyledDocument.java (getStyleNames): |
| Genericized. |
| * javax/swing/text/AbstractDocument.java (getAttributeNames): |
| Genericized. |
| (removeAttributes): Likewise. |
| * javax/swing/table/TableColumnModel.java (getColumns): Genericized. |
| * javax/swing/table/AbstractTableModel.java (getColumnClass): |
| Genericized. |
| * javax/swing/tree/VariableHeightLayoutCache.java |
| (getVisiblePathsFrom): Genericized. |
| * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom): |
| Genericized. |
| * javax/swing/undo/StateEdit.java (postState): Genericized. |
| (preState): Likewise. |
| * javax/security/sasl/SaslServerFactory.java (createSaslServer): |
| Genericized. |
| * javax/security/sasl/SaslClientFactory.java (createSaslClient): |
| Genericized. |
| (getMechanismNames): Likewise. |
| * javax/security/sasl/Sasl.java (createSaslClient): Genericized. |
| (createSaslServer): Likewise. |
| (getSaslClientFactories): Likewise. |
| (getSaslServerFactories): Likewise. |
| * javax/security/auth/spi/LoginModule.java (initialize): Genericized. |
| * javax/security/auth/login/AppConfigurationEntry.java |
| (AppConfigurationEntry): Genericized. |
| (getOptions): Likewise. |
| * javax/sql/RowSet.java (getTypeMap): Genericized. |
| (setTypeMap): Likewise. |
| * java/sql/Array.java (getResultSet): Genericized. |
| * java/security/cert/X509CertSelector.java (getExtendedKeyUsage): |
| Genericized. |
| * java/security/Permissions.java (elements): Genericized. |
| * java/rmi/server/RMIClassLoader.java (loadClass): Genericized. |
| |
| 2005-11-29 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (actionPerformed): Changed to update list with all |
| selected intervals, and to use fileTablePanel instead. |
| (actionPerformed): Likewise. |
| (propertyChange): Changed to use addSelectionInterval |
| instead of setSelectionInterval. |
| (uninstallComponents): Uninstalled fileTablePanel. |
| (installListeners): Moved code to createList, so listeners |
| are installed for every list that may be created. |
| (createList): Added code to remove and install listeners on |
| list. |
| (createDetailsView): Changed to use own panel. Also, added |
| code to set the selection mode. |
| |
| 2005-11-29 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (mouseClicked): Fixed checks to prevent NPE. |
| |
| 2005-11-29 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/JViewport.java |
| (setView): Added check to prevent NPE. |
| * javax/swing/plaf/basic/BasicFileChooserUI.java |
| (ListLabelRenderer): Removed class, never used. |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (DetailTableModel): Removed, not needed. |
| (TableFileRenderer): Implemented to override some color |
| and icon defaults in the default table renderer. |
| (actionPerformed): Set selection in list, if something was |
| selected in the table. |
| (actionPerformed): Set selection in table, if something was |
| selected in the list. |
| (propertyChange): Added code to set the selection for the table, |
| as well as the list. This depends on what view we are in. |
| (editFile): Fixed to call scrollRectToVisible instead. |
| (TableClickListener): Implemented new private class to take |
| care of double clicking (changing/opening directories/files) |
| and single clicking (editing). |
| (TableClickListener.mouseClicked): Implemented |
| (TableClickListener.editFile): Implemented |
| (TableClickListener.completeEditing): Implemented |
| (TableClickListener.EditingActionListener): Implemented |
| (TableClickListener.closeDialog): Implemented |
| (installListeners): Added code to initialize listener fields. |
| (uninstallListeners): Added code to uninstall all listeners. |
| (createList): Changed to use scrollPane field. |
| (createDetailsView): Changed to use updateTable function. Set |
| some characteristics for the table: column selection, renderer, |
| listener etc. |
| (updateTable): Implemented to changed/add/remove rows from the |
| table, as needed. |
| (removeControlButtons): Added repaint, revalidate calls. |
| (ensureFileIsVisible): Removed. Does the same thing as super. |
| (rescanCurrentDirectory): Added check for different views. |
| (setDirectorySelected): Removed. Does the same thing as super. |
| (getDirectoryName): Removed. Does the same thing as super. |
| (setDirectoryName): Removed. Does the same thing as super. |
| (valueChanged): Changed comment. |
| |
| 2005-11-29 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/DefaultFormatterFactory.java: New class. |
| |
| 2005-11-29 Tom Tromey <tromey@redhat.com> |
| |
| PR classpath/25141: |
| * java/net/URL.java (URL): Use context's stream handler. |
| |
| 2005-11-29 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/SystemFlavorMap.java |
| (nativeToFlavorMap): added field. |
| (flavorToNativeMap): added field. |
| (addFlavorForUnencodedNative): added method. |
| (setNativesForFlavor): added method. |
| (addUnencodedNativeForFlavor): added method. |
| (setFlavorsForNative): added method. |
| |
| 2005-11-28 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (DetailTableModel): New Class implemented to override selected |
| methods in DefaultTableModel. More methods will be added later. |
| (ListViewActionListener): New class implemented. |
| (DetailViewActionListener): New class implemented. |
| (completeEditing): Set boolean to false. |
| (mouseClicked): Added check to make sure editing only starts when |
| left mouse button is clicked. |
| (editFile): Set boolean to true. |
| (actionPerformed): Set boolean to false. |
| (createList): Commented out wrap code until JList bug is fixed. |
| (createActionMap): Added action for cancelSelection. |
| (createDetailsView): Partially implemented to display details view |
| table. |
| (formatSize): Private function added to convert bytes to an |
| appropriate size String for the table. |
| (getPreferredSize): Implemented. |
| (getMinimumSize): Implemented. |
| (addControlButtons): Added action listeners for detailButton and |
| listButton. |
| (setDirectorySelected): Added API documentation. |
| (getDirectoryName): Likewise. |
| (setDirectoryName): Likewise. |
| (valueChanged): Likewise. |
| |
| 2005-11-28 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/JList.java |
| (init): Layout should not be set to FlowLayout. JDK sets it to null. |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (mouseClicked): Changed to call completeEditing when double-clicked. |
| (editFile): Fixed to add an action listener to the editing field. |
| Editing for filechooser now works. |
| (completeEditing): Fixed renaming to create a new file object and |
| rescan the directory if renaming was successful. Added code to cancel |
| editing as well. |
| (EditingActionListener): New class to listen for notify action and |
| to complete editing when enter is pressed. Otherwise, editing is |
| cancelled. |
| * javax/swing/plaf/metal/MetalSplitPaneDivider.java |
| (MetalDividerLayout): Changed to public. |
| (MetalDividerLayout.init): Likewise. |
| |
| 2005-11-27 Christian Thalinger <twisti@complang.tuwien.ac.at> |
| |
| * java/util/logging/XMLFormatter.java (format): Don't call |
| getMillis() twice. |
| |
| 2005-11-27 Tom Tromey <tromey@redhat.com> |
| |
| * javax/print/attribute/standard/PrinterStateReasons.java: |
| Genericized. |
| * javax/print/attribute/standard/JobStateReasons.java: Genericized. |
| * javax/print/PrintService.java (getAttribute): Genericized. |
| (getDefaultAttributeValue): Likewise. |
| (getSupportedAttributeCategories): Likewise. |
| (getSupportedAttributeValues): Likewise. |
| (isAttributeValueSupported): Likewise. |
| |
| 2005-11-27 Tom Tromey <tromey@redhat.com> |
| |
| * javax/naming/spi/StateFactory.java (getStateToBind): Genericized. |
| * javax/naming/spi/Resolver.java (resolveToClass): Genericized. |
| * javax/naming/spi/ObjectFactoryBuilder.java (createObjectFactory): |
| Genericized. |
| * javax/naming/spi/NamingManager.java (getInitialContext): |
| Genericized. |
| (getURLContext): Likewise. |
| (getObjectInstance): Likewise. |
| (getStateToBind): Likewise. |
| * javax/naming/spi/InitialContextFactoryBuilder.java |
| (createInitialContextFactory): Genericized. |
| * javax/naming/spi/InitialContextFactory.java (getInitialContext): |
| Genericized. |
| * javax/naming/spi/DirectoryManager.java (getObjectInstance): |
| Genericized. |
| (getStateToBind): Likewise. |
| * javax/naming/spi/DirStateFactory.java (getStateToBind): |
| Genericized. |
| * javax/naming/spi/ObjectFactory.java (getObjectInstance): |
| Genericized. |
| * javax/naming/spi/DirObjectFactory.java (getObjectInstance): |
| Genericized. |
| * javax/naming/ldap/LdapReferralException.java (getReferralContext): |
| Genericized. |
| * javax/naming/ldap/ControlFactory.java (getControlInstance): |
| Genericized. |
| * javax/naming/ldap/InitialLdapContext.java (InitialLdapContext): |
| Genericized. |
| * javax/naming/directory/DirContext.java (search): Genericized. |
| * javax/naming/directory/Attributes.java (getAll): Genericized. |
| (getIDs): Likewise. |
| * javax/naming/directory/Attribute.java (getAll): Genericized. |
| * javax/naming/directory/BasicAttribute.java (values): Genericized. |
| (getAll): Likewise. |
| * javax/naming/directory/InitialDirContext.java (InitialDirContext): |
| Genericized. |
| * javax/naming/ReferralException.java (getReferralContext): |
| Genericized. |
| * javax/naming/Name.java (getAll): Genericized. |
| * javax/naming/Context.java (getEnvironment): Genericized. |
| (list): Likewise. |
| (listBindings): Likewise. |
| * javax/naming/NamingEnumeration.java: Genericized. |
| (next): Likewise. |
| * javax/naming/Reference.java (addrs): Genericized. |
| (getAll): Likewise. |
| * javax/naming/CannotProceedException.java (environment): Genericized. |
| (getEnvironment): Likewise. |
| (setEnvironment): Likewise. |
| * javax/naming/InitialContext.java (myProps): Genericized. |
| (InitialContext): Likewise. |
| (init): Likewise. |
| * javax/naming/CompoundName.java (CompoundName): Genericized. |
| * javax/naming/CompositeName.java (CompositeName): Genericized. |
| |
| 2005-11-27 Tom Tromey <tromey@redhat.com> |
| |
| * java/sql/Struct.java (getAttributes): Genericized. |
| * java/sql/ResultSet.java (getObject): Genericized. |
| * java/sql/Ref.java (getObject): Genericized. |
| * java/sql/DriverManager.java (getDrivers): Genericized. |
| * java/sql/Connection.java (getTypeMap): Genericized. |
| (setTypeMap): Likewise. |
| * java/sql/CallableStatement.java (getObject): Genericized. |
| (getObject): Likewise. |
| * java/sql/Array.java (getBaseTypeName): Fixed javadoc. |
| (getArray): Likewise. |
| (getResultSet): Likewise. |
| (getResultSet): Likewise. |
| (getArray): Genericized. |
| (getResultSet): Likewise. |
| |
| 2005-11-27 Tom Tromey <tromey@redhat.com> |
| |
| * java/beans/PropertyChangeSupport.java (fireIndexedPropertyChange): |
| New methods. |
| * java/beans/IndexedPropertyChangeEvent.java: New file. |
| |
| 2005-11-26 Tom Tromey <tromey@redhat.com> |
| |
| * java/lang/StackTraceElement.java (StackTraceElement): New |
| constructor. |
| |
| 2005-11-25 Tom Tromey <tromey@redhat.com> |
| |
| * javax/swing/text/StyleContext.java (getStyleNames): Genericized. |
| * javax/swing/text/MutableAttributeSet.java (removeAttributes): |
| Genericized. |
| * javax/swing/text/DefaultFormatter.java (getValueClass): Genericized. |
| (setValueClass): Likewise. |
| * javax/swing/text/AttributeSet.java (getAttributeNames): Genericized. |
| * javax/swing/text/AbstractDocument.java (getDocumentProperties): |
| Genericized. |
| (setDocumentProperties): Likewise. |
| (removeAttributes): Likewise. |
| * javax/swing/SwingUtilities.java (getAncestorOfClass): Genericized. |
| * javax/swing/LookAndFeel.java (makeIcon): Genericized. |
| * javax/swing/JTable.java (getColumnClass): Genericized. |
| (getDefaultRenderer): Likewise. |
| (setDefaultRenderer): Likewise. |
| (getDefaultEditor): Likewise. |
| (setDefaultEditor): Likewise. |
| * javax/swing/JLayeredPane.java (getComponentToLayer): Genericized. |
| * javax/swing/DefaultListModel.java (elements): Genericized. |
| * javax/swing/ButtonGroup.java (buttons): Genericized. |
| (getElements): Likewise. |
| * javax/swing/SpinnerListModel.java (SpinnerListModel): Genericized. |
| (getList): Likewise. |
| (setList): Likewise. |
| * javax/swing/SortingFocusTraversalPolicy.java |
| (SortingFocusTraversalPolicy): Genericized. |
| (getComparator): Likewise. |
| (setComparator): Likewise. |
| * javax/swing/JTree.java (JTree): Genericized. |
| (getDescendantToggledPaths): Likewise. |
| (getExpandedDescendants): Likewise. |
| (removeDescendantToggledPaths): Likewise. |
| * javax/swing/JList.java (JList): Genericized. |
| Likewise. |
| * javax/swing/JComboBox.java (JComboBox): Genericized. |
| * javax/swing/DefaultComboBoxModel.java (DefaultComboBoxModel): |
| Genericized. |
| * javax/swing/UIDefaults.java: Genericized superclass. |
| (getUIClass): Likewise. |
| * javax/swing/event/EventListenerList.java (getListenerCount): |
| Genericized. |
| * javax/swing/plaf/basic/BasicDirectoryModel.java (getDirectories): |
| Genericized. |
| (getFiles): Likewise. |
| (sort): Likewise. |
| * javax/swing/plaf/basic/BasicTreeUI.java (drawingCache): Genericized. |
| * javax/swing/plaf/basic/BasicFileChooserUI.java (iconCache): |
| Genericized. |
| * javax/swing/table/TableModel.java (getColumnClass): Genericized. |
| * javax/swing/table/DefaultTableColumnModel.java (tableColumns): |
| Genericized. |
| (getColumns): Likewise. |
| (moveColumn): Updated. |
| * javax/swing/text/html/parser/ContentModel.java (getElements): |
| Genericized. |
| * javax/swing/text/html/parser/DTD.java (entityHash): Fixed type. |
| * javax/swing/text/html/parser/AttributeList.java (AttributeList): |
| Genericized. |
| (values): Likewise. |
| (getValues): Likewise. |
| * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom): |
| Genericized. |
| * javax/swing/tree/DefaultMutableTreeNode.java (EMPTY_ENUMERATION): |
| Genericized. |
| * javax/swing/undo/StateEditable.java (restoreState): Genericized. |
| (storeState): Likewise. |
| |
| 2005-11-25 Tom Tromey <tromey@redhat.com> |
| |
| * java/rmi/server/RMIClassLoaderSpi.java (loadClass): Genericized. |
| (loadProxyClass): Likewise. |
| (getClassAnnotation): Likewise. |
| * java/rmi/server/RMIClassLoader.java (loadClass): Genericized. |
| (getClassAnnotation): Likewise. |
| * java/rmi/server/LoaderHandler.java (loadClass): Genericized. |
| |
| 2005-11-25 Tom Tromey <tromey@redhat.com> |
| |
| * java/awt/Font.java (Font): Genericized. |
| (deriveFont): Likewise. |
| (getAttributes): Likewise. |
| (getFont): Likewise. |
| |
| 2005-11-25 Tom Tromey <tromey@redhat.com> |
| |
| * java/text/NumberFormat.java (format): No longer final. |
| * java/text/AttributedCharacterIterator.java (getAllAttributeKeys): |
| Genericized. |
| (getAttributes): Likewise. |
| (getRunLimit): Likewise. |
| (getRunStart): Likewise. |
| * java/text/AttributedString.java (AttributedString): Genericized. |
| (addAttributes): Likewise. |
| * java/text/Collator.java: Implement Comparator<Object>. |
| |
| 2005-11-25 Tom Tromey <tromey@redhat.com> |
| |
| * java/security/cert/X509Extension.java (getCriticalExtensionOIDs): |
| Genericized. |
| (getNonCriticalExtensionOIDs): Likewise. |
| * java/security/cert/X509Certificate.java (getExtendedKeyUsage): |
| Genericized. |
| (getIssuerAlternativeNames): Likewise. |
| (getSubjectAlternativeNames): Likewise. |
| * java/security/cert/X509CertSelector.java (setExtendedKeyUsage): |
| Genericized. |
| (setSubjectAlternativeNames): Likewise. |
| * java/security/cert/X509CRLSelector.java (getIssuerNames): |
| Genericized. |
| (setIssuerNames): Likewise. |
| * java/security/cert/X509CRL.java (getRevokedCertificates): |
| Genericized. |
| * java/security/cert/PolicyNode.java (getChildren): Genericized. |
| (getExpectedPolicies): Likewise. |
| (getPolicyQualifiers): Likewise. |
| * java/security/cert/PKIXCertPathChecker.java (check): Genericized. |
| (getSupportedExtensions): Likewise. |
| * java/security/cert/CertificateFactorySpi.java |
| (engineGenerateCertPath): Genericized. |
| (engineGenerateCertificates): Likewise. |
| (engineGenerateCRLs): Likewise. |
| (engineGetCertPathEncodings): Likewise. |
| * java/security/cert/CertificateFactory.java (generateCertificates): |
| Genericized. |
| (generateCertPath): Likewise. |
| (generateCRLs): Likewise. |
| (getCertPathEncodings): Likewise. |
| * java/security/cert/CertStoreSpi.java (engineGetCertificates): |
| Genericized. |
| (engineGetCRLs): Likewise. |
| * java/security/cert/CertStore.java (getCertificates): Genericized. |
| (getCRLs): Likewise. |
| * java/security/cert/CertPath.java (getCertificates): Genericized. |
| (getEncodings): Likewise. |
| * java/security/cert/PKIXParameters.java (PKIXParameters): |
| Genericized. |
| (getCertStores): Likewise. |
| (getCertPathCheckers): Likewise. |
| (getInitialPolicies): Likewise. |
| (getTrustAnchors): Likewise. |
| (setCertPathCheckers): Likewise. |
| (setCertStores): Likewise. |
| (setInitialPolicies): Likewise. |
| (setTrustAnchors): Likewise. |
| * java/security/cert/PKIXBuilderParameters.java |
| (PKIXBuilderParameters): Genericized. |
| * java/security/cert/CollectionCertStoreParameters.java |
| (CollectionCertStoreParameters): Genericized. |
| (getCollection): Likewise. |
| * java/security/cert/PolicyQualifierInfo.java: No longer final. |
| |
| 2005-11-25 Tom Tromey <tromey@redhat.com> |
| |
| * java/security/Security.java (getAlgorithms): Genericized. |
| (getProviders): Likewise. |
| * java/security/SecureClassLoader.java (defineClass): Genericized. |
| (protectionDomainCache): Likewise. |
| * java/security/PermissionCollection.java (elements): Genericized. |
| (toString): Updated. |
| * java/security/KeyStoreSpi.java (engineAliases): Genericized. |
| * java/security/KeyStore.java (aliases): Genericized. |
| * java/security/KeyFactorySpi.java (engineGetKeySpec): Genericized. |
| (engineTranslateKey): Fixed javadoc. |
| * java/security/KeyFactory.java (getKeySpec): Genericized. |
| * java/security/IdentityScope.java (identities): Genericized. |
| * java/security/AlgorithmParametersSpi.java (engineGetParameterSpec): |
| Genericized. |
| * java/security/AlgorithmParameters.java (getParameterSpec): |
| Genericized. |
| * java/security/AccessController.java (doPrivileged): Genericized. |
| * java/security/PrivilegedExceptionAction.java: Genericized. |
| * java/security/PrivilegedAction.java: Genericized. |
| |
| 2005-11-25 Guilhem Lavaux <guilhem@kaffe.org> |
| |
| * native/jni/java-io/javaio.c, native/jni/java-io/javaio.h: |
| Removed. |
| * native/jni/java-io/java_io_VMFile.c: Removed dependency on |
| javaio.h |
| * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: |
| Likewise. |
| |
| 2005-11-25 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalSplitPaneDivider.java |
| (MetalDividerLayout): Fixed class name to MetalDividerLayout |
| instead of DividerLayout. |
| (MetalSplitPaneDivider): Fixed setLayout call. |
| |
| 2005-11-25 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (mouseClicked): Fixed to keep track of last object clicked, |
| instead of index. Problems arise when lists change for different |
| directories and using the index. |
| (editFile): Fixed size and location for text field. Painting is still |
| a little messed up when typing because there is no action listener yet. |
| |
| 2005-11-26 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/SystemFlavorMap.java |
| (defaultFlavorMap): removed. |
| (systemFlavorMaps): added static field. |
| (getDefaultFlavorMap): reimplemented using systemFlavorMaps. |
| |
| 2005-11-25 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/JFileChooser.java: |
| selectedFiles field should not be initialized. |
| (getSelectedFiles): Should return empty array, not null. |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (MetalFileChooserSelectionListener): Added comment. |
| (valueChanged): Fixed API documentation. |
| (SingleClickListener): Likewise. |
| (SingleClickListener.init): Added field initializations. |
| (mouseClicked): Implemented. |
| (editFile): Partially implemented. |
| (completeEditing): Implemented. |
| (installUI): Added call to create the action map. |
| (uninstallUI): Set actionMap to null. |
| (getActionMap): Implemented. |
| (createList): Uncommented code. |
| (removeControlButtons): Implemented. |
| |
| 2005-11-25 Lillian Angel <langel@redhat.com> |
| |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: |
| Fixed typo. |
| |
| 2005-11-25 Lillian Angel <langel@redhat.com> |
| |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c |
| (drawString): Changed pointer to be const, and fixed check to |
| draw characters only if they are >= ' '. Handles all control |
| characters. |
| |
| 2005-11-25 Mark Wielaard <mark@klomp.org> |
| |
| Fixes bug #24981 |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c |
| (clipboard_targets_received): DeleteLocalRef of NewStringUTF. |
| (clipboard_text_received): Likewise. |
| (clipboard_uris_received): Likewise. |
| |
| 2005-11-25 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/JList.java |
| (JList): Set default selection mode. |
| * javax/swing/plaf/basic/BasicFileChooserUI.java |
| (DoubleClickListener): No need for timer here. |
| (mouseClicked): Removed timer code, and added check for double click. |
| Problems with opening wrong directory is now fixed. |
| * javax/swing/plaf/basic/BasicListUI.java |
| (mouseDragged): Implemented. |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (propertyChange): Implemented MULTI_SELECTION_ENABLED_CHANGED_PROPERTY |
| property change. |
| (getListCellRendererComponent): Set opaque property, so background |
| color on cell is painted. |
| (SingleClickListener.init): Implemented. |
| (installStrings): Fixed tooltip text strings. |
| |
| 2005-11-25 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * javax/swing/JFileChooser.java |
| (selectedFiles): Initialise, |
| (JFileChooser(String)): Delegate to another constructor, |
| (JFileChooser(String, FileSystemView)): Convert directory to file, |
| (setSelectedFile): Check for current selection == null, |
| (getSelectedFiles): Updated API docs, |
| (setSelectedFiles): Changed order of event generation, |
| (changeToParentDirectory): Don't check for null parent (reference |
| implementation doesn't), |
| (addChoosableFileFilter): Change handling of null filter, |
| (removeChoosableFileFilter): Handle case where removed filter is also |
| the current selection, |
| (setAcceptAllFileFilterUsed): Add or remove accept all filter as |
| appropriate, |
| (setFileFilter): Add new filter to choosable filters if necessary, |
| (accept): Reimplemented, |
| * javax/swing/plaf/basic/BasicFileChooserUI.java |
| (ApproveSelectionAction.ApproveSelectionAction): Set action name, |
| (ApproveSelectionAction.actionPerformed): Call getFileName() rather |
| than accessing JTextField directly, |
| (CancelSelectionAction.CancelSelectionAction): Set action name, |
| (ChangeToParentDirectoryAction.ChangeToParentDirectoryAction): Set |
| action name, |
| (DoubleClickListener.mouseClicked): Call setFileName rather than |
| accessing JTextField directly, |
| (GoHomeAction.GoHomeAction): Set action name, |
| (NewFolderAction.NewFolderAction): Set action name, |
| (SelectionListener.valueChanged): Get list from event, |
| (UpdateAction.UpdateAction): Set action name to null, |
| (computerIcon): Removed initialization, |
| (detailsViewIcon): Likewise, |
| (directoryIcon): Likewise, |
| (fileIcon): Likewise, |
| (floppyDriveIcon): Likewise, |
| (hardDriveIcon): Likewise, |
| (homeFolderIcon): Likewise, |
| (listViewIcon): Likewise, |
| (upFolderIcon): Likewise, |
| (fileList): Removed, |
| (filters): Removed, |
| (ICON_SIZE): Removed, |
| (parents): Removed, |
| (filename): Removed, |
| (cancel): Removed, |
| (upFolderButton): Removed, |
| (newFolderButton): Removed, |
| (homeFolderButton): Removed, |
| (approveSelectionAction): New field, |
| (cancelSelectionAction): New field, |
| (goHomeAction): New field, |
| (changeToParentDirectoryAction): New field, |
| (newFolderAction): New field, |
| (updateAction): New field, |
| (BasicFileChooserUI): Do nothing here, |
| (installUI): Initialise filechooser field, |
| (createBoxListener): Removed, |
| (createFilterListener): Removed, |
| (filterEntries): Removed, |
| (installComponents): Do nothing here, |
| (uninstallComponents): Do nothing here, |
| (installListeners): Removed component specific listeners, |
| (installIcons): Use Metal icons, |
| (unintallIcons): Clear icons, |
| (installStrings): Use fixed strings for text items that aren't defined |
| in the UI defaults - should implement localised strings later, |
| (uninstallStrings): Clear text items, |
| (createPropertyChangeListener): Return blank listener, |
| (getFileName): TODO, |
| (setFileName): TODO, |
| (rescanCurrentDirectory): Remove call on deleted filelist, |
| (getApproveButton): Just return field, |
| (getFileView): Updated API docs, |
| (getDialogTitle): Reimplemented, |
| (getApproveButtonText): Reimplemented, |
| (getNewFolderAction): Create new instance if required, |
| (getGoHomeAction): Likewise, |
| (getChangeToParentDirectoryAction): Likewise, |
| (getApproveSelectionAction): Likewise, |
| (getCancelSelectionAction): Likewise, |
| (getUpdateAction): Likewise, |
| * javax/swing/plaf/metal/MetalFileChooserUI.java |
| (MetalFileChooserPropertyChangeListener): New class, |
| (DirectoryComboBoxRenderer): New class, |
| (FilterComboBoxModel.selectedIndex): Removed field, |
| (FilterComboBoxModel.selected): New field, |
| (FilterComboBoxModel.FilterComboBoxModel): Initialise selected field, |
| (FilterComboBoxModel.propertyChange): Update filter list, |
| (FilterComboBoxModel.setSelectedItem): Reimplemented, |
| (FilterComboBoxModel.getSelectedItem): Return selected field, |
| (FilterComboBoxRenderer.getListCellRendererComponent): Call super, |
| (MetalFileChooserSelectionListener): New class, |
| (SingleClickListener): New class TODO, |
| (directoryLabel): New field, |
| (directoryComboBox): New field, |
| (fileLabel): New field, |
| (fileTextField): New field, |
| (filterLabel): New field, |
| (topPanel): New field, |
| (controls): New field, |
| (bottomPanel): New field, |
| (buttonPanel): New field, |
| (approveButton): New field, |
| (fileList): New field, |
| (fileListPanel): New field, |
| (filterModel): New field, |
| (MetalFileChooserUI): Initialise panels, |
| (installUI): TODO, |
| (uninstallUI): TODO, |
| (installComponents): Implemented, |
| (uninstallComponents): Implemented, |
| (getButtonPanel): Implemented, |
| (getBottomPanel): Implemented, |
| (installStrings): Implemented, |
| (installListeners): Implemented, |
| (uninstallListeners): Implemented, |
| (getActionMap): TODO, |
| (createActionMap): Implemented, |
| (createList): Implemented, |
| (createDetailsView): Implemented, |
| (createListSelectionListener): Implemented, |
| (getPreferredSize): Implemented badly, |
| (getMinimumSize): Likewise, |
| (getMaximumSize): Implemented, |
| (createPropertyChangeListener): Implemented, |
| (createDirectoryComboBoxRenderer): Implemented, |
| (addControlButtons): Implemented, |
| (removeControlButtons): TODO, |
| (ensureFileIsVisible): TODO, |
| (rescanCurrentDirectory): Implemented, |
| (getFileName): Implemented, |
| (setFileName): Implemented, |
| (setDirectorySelected): TODO, |
| (getDirectoryName): TODO, |
| (setDirectoryName): TODO, |
| (valueChanged): TODO, |
| (getApproveButton): Implemented, |
| (VerticalMidLayout): New support class, |
| (ButtonLayout): New support class, |
| * javax/swing/plaf/metal/MetalLookAndFeel.java |
| (initClassDefaults): Add 'FileChooserUI' default, |
| (initComponentDefaults): Added FileChooser icons. |
| |
| 2005-11-25 Mark Wielaard <mark@klomp.org> |
| |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c |
| (current_selection): Define as gint. |
| (clipboard_clear_func): Extract user_data with GPOINTER_TO_INT. |
| (Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent): |
| Convert current_selection with GINT_TO_POINTER. |
| |
| 2005-11-25 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/plaf/basic/BasicTabbedPaneUI.java (paintIcon): Only |
| paint icon when not null. |
| |
| 2005-11-25 Christian Thalinger <twisti@complang.tuwien.ac.at> |
| |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c |
| (save_to_stream): Added missing DeleteLocalRef call. |
| |
| 2005-11-24 Sven de Marothy <sven@physto.se> |
| |
| * javax/print/attribute/standard/MediaName.java, |
| * javax/print/attribute/standard/MediaTray.java: |
| New files. |
| * javax/print/attribute/standard/MediaSize.java: |
| Added "ISO", "NA", "JIS" and "Other" enumerations of standard sizes. |
| * javax/print/attribute/standard/MediaSizeName.java: |
| (getEnumValueTable, getStringTable): Add stubs. |
| |
| 2005-11-24 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/text/PasswordView.java |
| (modelToView): Overridden to correctly map between model and view |
| respecting the echo character. |
| (viewToModel): Added FIXME to show that this method also needs |
| to be adjusted like the above method. |
| * javax/swing/text/PlainView.java |
| (paint): Don't set the font here. This is already done in the |
| text component's JComponent.getComponentGraphics() method. |
| (damageLineRange): Only repaint the damaged rectangle. |
| |
| 2005-11-24 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicLabelUI.java |
| (getPreferredSize): Don't use deprecated method to acquire |
| FontMetrics object. This can be done more elegantly using |
| Component.getFontMetrics(). |
| (paint): Removed unnecessary font setting code. This is already |
| performed in JComponent.getComponentGraphics(). |
| |
| 2005-11-24 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/table/DefaultTableCellRenderer.java |
| (getTableCellRendererComponent): Don't set enabled flag on the |
| renderer. The cells are rendered normally even when the table |
| is disabled. |
| |
| 2005-11-24 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicToolBarUI.java |
| (mousePressed): When using the BasicLookAndFeel, the mouse |
| should be in the center of the dragWindow while dragging. |
| * javax/swing/plaf/metal/MetalToolBarUI.java |
| (createDockingListener): Implemented. |
| (MetalDockingListener): New class. |
| (MetalDockingListener.init): Implemented. |
| (MetalDockingListener.mousePressed): Implemented. When using the |
| MetalLookAndFeel, the mouse should not be offset while dragging. |
| (MetalDockingListener.mouseDragged): Implemented. Does not do |
| anything different than dragging in the BasicLookAndFeel. |
| |
| 2005-11-24 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicArrowButton.java |
| (paint): Fixed locations, so button is drawn in proper place. |
| * javax/swing/plaf/basic/BasicSplitPaneDivider.java |
| (paint): Added code to paint buttons. |
| * javax/swing/plaf/metal/MetalSplitPaneDivider.java: |
| Added new fields. |
| (MetalSplitPaneDivider): Initialized new fields, and set layout |
| to new inner class. |
| (paint): Added code to paint buttons. |
| (DividerLayout): New class implemented. |
| (DividerLayout.init): Implemented. |
| (DividerLayout.addLayoutComponent): Implemented. |
| (DividerLayout.layoutContainer): Implemented. |
| (DividerLayout.minimumLayoutSize): Implemented. |
| (DividerLayout.preferredLayoutSize): Implemented. |
| (DividerLayout.removeLayoutComponent): Implemented. |
| |
| 2005-11-24 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/InternationalFormatter: |
| (InternationalFormatter<init>): Override superclass defaults for |
| commitsOnValidEdit and overwriteMode. |
| * javax/swing/text/NumberFormatter.java: New class. |
| |
| 2005-11-23 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * javax/swing/plaf/metal/MetalScrollPaneUI.java |
| (installUI): Set free-standing client property on scrollbars to false, |
| (uninstallUI): Set free-standing client property on scrollbars to null. |
| |
| 2005-11-23 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalIconFactory.java: |
| Added new fields to store an instance of the icons. |
| (getMenuArrowIcon): Fixed to make use of the new field. |
| (getMenuItemArrowIcon): Fixed implementation to return |
| an instance of the icon, instead of calling getMenuArrowIcon. |
| Even though, these two look identical. |
| |
| 2005-11-23 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/DataFlavor.java |
| (isFlavorTextType): added method. |
| |
| 2005-11-23 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalToolBarUI.java |
| (setDragOffset): Implemented. |
| |
| 2005-11-23 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalLookAndFeel.java |
| (initComponentDefaults): Added defaults for menu arrow icon, |
| menu item arrow icon and menu item check icon. |
| * javax/swing/plaf/metal/MetalTabbedPaneUI.java: |
| Added new field to store graphics when painting highlight. |
| (paintTopTabBorder): Added code to fill gap if it should be |
| filled. |
| (paintBottomTabBorder): Likewise. |
| (paintTabBackground): Added call to paint the highlight below the tab. |
| (getColorForGap): Added code to return selected color, if selected. |
| (shouldFillGap): Changed to return false. With JDK, gap is never |
| filled in MetalL&F. |
| (paintHighlightBelowTab): Implemented to paint the highlight on |
| selected tabs. |
| (calculateMaxTabHeight): Removed. |
| (getTabLabelShiftX): Removed. |
| (getTabLabelShiftY): Removed. |
| (getTabRunOverlay): Removed. |
| (paint): Removed. |
| (paintContentBorderBottomEdge): Removed. |
| (paintContentBorderLeftEdge): Removed. |
| (paintContentBorderRightEdge): Removed. |
| (paintContentBorderTopEdge): Removed. |
| (paintFocusIndicator): Removed. |
| (update): Removed. |
| |
| 2005-11-23 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * javax/swing/JComponent.java |
| (getListeners): Updated API docs. |
| |
| 2005-11-23 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * java/awt/Container.java |
| (getListeners): Updated API docs. |
| |
| 2005-11-23 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * java/awt/Component.java |
| (getListeners): Added some details to the API docs. |
| |
| 2005-11-23 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/text/DefaultStyledDocument.java |
| (ElementBuffer.numEndTags): New field. |
| (ElementBuffer.numStartTags): New field. |
| (ElementBuffer.elementStack): New field. |
| (ElementBuffer.ElementBuffer): Initialize element stack here. |
| (ElementBuffer.changeUpdate): Correctly perform splitting of |
| elements. |
| (ElementBuffer.split): Change to make recursive splits possible. |
| (ElementBuffer.insert): Clear and initialize elementStack and num* |
| fields. |
| (ElementBuffer.inserUpdate): Inlined the functionality for start |
| and end tags. Call endEdit on finish. |
| (ElementBuffer.endEdit): New method. Finishes off an edit run. |
| (ElementBuffer.prepareContentInsertion): New method. Prepares |
| the insertion of content. |
| (ElementBuffer.insertParagraph): New method. Inserts a new |
| paragraph at a given offset. |
| (ElementBuffer.insertContentTag): Call prepareContentInsertion first. |
| Fixed behaviour for all the different possible directions. |
| (ElementBuffer.addEdit): New method. Adds an element edit to the |
| document event and possible merges with previous edits. |
| (insert): Only fire event when something has really changed. |
| * javax/swing/text/AbstractDocument.java |
| (insertString): Only fire event when something has really changed. |
| (DefaultDocumentEvent.modified): New field. |
| (DefaultDocumentEvent.DefaultDocumentEvent): Inititialize modified |
| field. |
| (DefaultDocumentEvent.addEdit): Set modified flag to true. |
| |
| 2005-11-23 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/text/GapContent.java |
| (getPostionsInRange): Fixed binarySearch to really find the first |
| position in this range. |
| (setPostionsInRange): Fixed binarySearch to really find the first |
| position in this range. |
| (adjustPostionsInRange): Fixed binarySearch to really find the first |
| position in this range. |
| |
| 2005-11-23 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/text/View.java |
| (getNextVisualPositionFrom): Fixed signature and (partly) |
| implemented this method. |
| * javax/swing/text/Utilities.java |
| (getPositionAbove): Fixed to use the correct signature for the call |
| to above method. |
| (getPositionBelow): Fixed to use the correct signature for the call |
| to above method. |
| * javax/swing/text/ComponentView.java |
| (getNextVisualPositionFrom): Removed method. This is not specified |
| to be implemented. |
| * javax/swing/text/CompositeView.java |
| (getNextVisualPositionFrom): Removed method with wrong signature. |
| A method with the correct signature is already in place. |
| * javax/swing/text/FlowView.java |
| (LogicalView.getNextVisualPositionFrom): Removed method with wrong |
| signature. |
| * javax/swing/text/GlyphView.java |
| (getNextVisualPositionFrom): Removed method with wrong signature. |
| A method with the correct signature is already in place. |
| * javax/swing/text/IconView.java |
| (getNextVisualPositionFrom): Removed method. This is not specified |
| to be implemented. |
| * javax/swing/text/PlainView.java |
| (getNextVisualPositionFrom): Removed method. This is not specified |
| to be implemented. |
| * javax/swing/text/WrappedPlainView.java |
| (WrappedLine.getNextVisualPositionFrom): Removed method with wrong |
| signature. |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (RootView.getNextVisualPositionFrom): Fixed signature. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/JEditorPane.java |
| (JEditorPaneAccessibleHypertextSupport): Implemented. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalTabbedPaneUI.java |
| (getColorForGap): Implemented. Background color is |
| always returned in this case. |
| (paintHighlightBelowTab): Added. Nothing to do in |
| this function as far as i can tell. |
| (shouldFillGap): Implemented. Gap should always be filled. |
| (shouldRotateTabRuns): Implemented. Tabs are not rotated |
| in Metal. False is always returned. |
| (calculateMaxTabHeight): Implemented to call super. |
| (getTabLabelShiftX): Implemented. |
| (getTabLabelShiftY): Implemented. |
| (getTabRunOverlay): Implemented. |
| (paint): Implemented to call super. |
| (paintContentBorderBottomEdge): Likewise. |
| (paintContentBorderLeftEdge): Likewise. |
| (paintContentBorderRightEdge): Likewise. |
| (paintContentBorderTopEdge): Likewise. |
| (paintFocusIndicator): Likewise. |
| (update): Likewise. Should not work any differently from |
| default implementation. |
| |
| 2005-11-22 Christian Thalinger <twisti@complang.tuwien.ac.at> |
| |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c |
| (nativeGetFontFamilies): Added missing DeleteLocalRef calls. |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c |
| (query_formats): Likewise. |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c |
| (append): Likewise. |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c |
| (append): Likewise. |
| * native/jni/qt-peer/qtmenupeer.cpp (runEvent): Likewise. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalIconFactory.java |
| (getMenuArrowIcon): Implemented. |
| (getMenuItemArrowIcon): Implemented to call getMenuArrowIcon, |
| because both icons look the same. |
| (getMenuItemCheckIcon): Implemented. |
| * javax/swing/plaf/metal/MetalTextFieldUI.java |
| (propertyChange): Implemented to call super only, because it |
| is a hook method. It doesn't have a different purpose from |
| BasicLookAndFeel, other than allowing a subclass to override it. |
| |
| 2005-11-22 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/MaskFormatter.java: |
| (convertValue): Don't check the valid/invalid character sets if we're |
| matching a literal. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalScrollPaneUI.java |
| (installUI): Implemented. |
| (uninstallUI): Implemented. |
| (installListeners): Implemented. |
| (uninstallListeners): Implemented. |
| (createScrollBarSwapListener): Partially implemented, not sure |
| what else to do here. |
| |
| 2005-11-22 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/MaskFormatter.java: |
| (convertValue): If character is a literal don't throw a ParseException |
| unless literals aren't allowd in values and this method is being |
| called from valueToString rather than stringToValue. The convert flag |
| is used to distinguish these two cases. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/metal/MetalComboBoxUI.java |
| (configureEditor): Implemented. |
| (unconfigureEditor): Implemented. |
| (layoutComboBox): Implemented. |
| |
| 2005-11-22 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/MaskFormatter.java: New class. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| PR 24937 |
| * gnu/java/awt/peer/gtk/GdkGraphics.java |
| (drawString): Removed pattern matching code. This is now |
| done in native. |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c |
| (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Added |
| a loop to filter out all non-printing characters. |
| |
| 2005-11-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| * javax/swing/text/DefaultCaret.java (updateTimerStatus): |
| Ignore the field "visible". |
| |
| 2005-11-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| * javax/swing/TransferHandler |
| (getClipboard): Aways check for the possibility to |
| access the system clipboard. |
| |
| 2005-11-22 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicOptionPaneUI.java |
| (addMessageComponents): Also burst the string if there are newlines |
| in it. |
| (burstStringInto): Improved algorithm to also handle newlines. |
| |
| 2005-11-22 Lillian Angel <langel@redhat.com> |
| |
| * gnu/java/awt/peer/gtk/GdkGraphics.java |
| (drawString): Fixed regex. |
| |
| 2005-11-22 Ito Kazumitsu <kaz@maczuka.gcd.org> |
| |
| Fixes bug #22691 |
| * java/io/StreamTokenizer.java(parseNumbers): Added some comment. |
| |
| 2005-11-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| PR 24942 |
| * javax/swing/text/DefaultCaret.java (focusGained): |
| Update timer status. (focusLost): Stop the timer |
| (unless the event is temporary). |
| (updateTimerStatus): New method. |
| (setVisible): Delegate timer management to the updateTimerStatus. |
| |
| 2005-11-21 Mark Wielaard <mark@klomp.org> |
| |
| * gnu/java/awt/image/ImageDecoder.java (datainput): New field. |
| (ImageDecoder(DataInput)): New constructor. |
| (startProduction): Create DataInputStreamWrapper when datainput set. |
| (DataInputStreamWrapper): New private static helper class. |
| * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java |
| (GdkPixbufDecoder(DataInput)): New constructor. |
| (setInput): Check whether getInput() results in an InputStream or |
| DataInput. |
| |
| 2005-11-21 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/plaf/basic/BasicComboBoxUI.java (cachedMinimumSize): |
| Document. |
| (isMinimumSizeDirty): Likewise. And initialize to true. |
| (getMinimumSize): Use and set cachedMinimumSize. |
| (FocusHandler.focusGained): Set isMinimumSizeDirty to true. |
| (FocusHandler.focusLost): Likewise. |
| (ItemHandler.itemStateChanged): Likewise. |
| (ListDataHandler.contentsChanged): Likewise. |
| (ListDataHandler.intervalAdded): Likewise. |
| (ListDataHandler.intervalRemoved): Likewise. |
| (PropertyChangeHandler.propertyChange): Likewise. |
| |
| 2005-11-21 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/DataFlavor.java: more code style |
| fixes. Changed order to static attributes, attributes, static |
| methods, constructors, methods. Moved static part into static |
| attribute declaration. |
| |
| 2005-11-21 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/PR24937 |
| * gnu/java/awt/peer/gtk/GdkGraphics.java |
| (drawString): Removed most non-printable characters |
| from the string that will be drawn. Added a FIXME comment |
| because may not have filtered out all characters. |
| |
| 2005-11-21 Mark Wielaard <mark@klomp.org> |
| |
| * javax/swing/JTable.java (propertyChange): Only resize header when |
| not null. |
| |
| 2005-11-21 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/PR24872 |
| * javax/swing/text/DefaultEditorKit.java |
| (actionPerformed): Implemented. |
| (actionPerformed): Implemented. |
| (actionPerformed): Implemented. |
| (actionPerformed): Implemented. |
| * javax/swing/text/JTextComponent.java |
| (JTextComponent): Added key bindings for cut, copy, |
| paste, selectionBackwardAction, selectionForwardAction. |
| |
| 2005-11-21 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| Fixes bug #24925 |
| * javax/swing/text/DefaultEditorKit.java: |
| (DefaultKeyTypedAction.actionPeformed): Call replaceSelection here |
| instead of insertString and only do so if the text component is both |
| enabled and editable. |
| |
| 2005-11-21 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/RepaintManager.java |
| (currentRepaintManagers): Use a WeakHashMap to avoid potential |
| memory leak. |
| (currentManager): Instantiate WeakHashMap instead of HashMap. |
| (setCurrentManager): Instantiate WeakHashMap instead of HashMap. |
| |
| 2005-11-21 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JViewport.java |
| (static_initializer): Initialize the defaultScrollMode here. |
| (JViewport): Set the defaultScrollMode that was initialized in |
| the static initializer. |
| |
| 2005-11-21 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JTable.java |
| (columnAtPoint): Removed unused code. |
| (rowAtPoint): Removed unused code. |
| (prepareRenderer): Moved renderer prepare code from the UI to this |
| method. |
| (getSelections): Removed unused code. |
| * javax/swing/plaf/basic/BasicTableUI.java |
| (paintCell): Call JTable.prepareRenderer instead of preparing |
| the renderer in the UI. |
| (paint): Removed some unused code. |
| |
| 2005-11-21 Jan Roehrich <jan@roehrich.info> |
| |
| * java/awt/datatransfer/DataFlavor.java: fixed code |
| formatting issues |
| |
| 2005-11-20 Chris Burdess <dog@gnu.org> |
| |
| * gnu/xml/transform/TransformerImpl.java: Ensure that output stream |
| is not closed if provided in the StreamResult. |
| |
| 2005-11-19 Ito Kazumitsu <kaz@maczuka.gcd.org> |
| |
| * AUTHORS: Added myself. |
| |
| 2005-11-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/Size2DSyntax.java: |
| Added and enhanced api docs for this class. |
| (toString()): Changed to return values as ints. |
| (toString(int,String)): Changed to not append the unitsName if null. |
| |
| 2005-11-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/ResolutionSyntax.java (toString): |
| Changed to not append the unitsName if null. Clarified api docs. |
| |
| 2005-11-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/TextSyntax.java: |
| Added and enhanced api docs for this class. |
| (TextSyntax): If locale is null use the default locale. |
| |
| 2005-11-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/SetOfIntegerSyntax.java: |
| Added and enhanced api docs for this class. |
| (SetOfIntegerSyntax(String)): Create empty set if given string is null. |
| |
| 2005-11-19 Wolfgang Baer <WBaer@gmx.de> |
| |
| * javax/print/attribute/ResolutionSyntax.java: |
| Added and enhanced api docs for this class. |
| (getFeedResolution): Use correct feedresolution variable |
| and do not add an additional unit to the resolution. |
| (getCrossFeedResolution): Do not add additional unit to resolution. |
| |
| 2005-11-19 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalTabbedPaneUI.java |
| (paintTabBackground): Fixed colors for the tab background. |
| * javax/swing/plaf/metal/OceanTheme.java |
| (addCustomEntriesToTable): Added color modifications for |
| TabbedPane. |
| |
| 2005-11-18 David Daney <ddaney@avtrex.com> |
| |
| * AUTHORS (David Daney): New entry. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * java/awt/Component.java |
| (setBackground): Don't inherit background from parent. |
| (addMouseMotionListener): Enable MOUSE_MOTION_EVENT_MASK instead |
| of MOUSE_EVENT_MASK. |
| (eventTypeEnabled): Handle mouse events and mouse motion events |
| separately. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalTabbedPaneUI.java |
| (installDefaults): Added super.installDefaults(). |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicTableHeaderUI.java |
| (installUI): Install a CellRendererPane. |
| (paint): Paint the renderer component using the rendererPane, not |
| directly. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicTabbedPaneUI.java |
| (PropertyChangeHandler.propertyChange): Replaced layout() call |
| with revalidate() call. |
| (TabbedPaneLayout.calculateLayoutInfo): Added assureRectsCreated() |
| call to make sure we have the rectangles in place. Also initialize |
| the contentRect here so it can be used later. |
| (TabbedPaneLayout.calculateSize): Removed unused statement. |
| (TabbedPaneLayout.calculateTabRects): Moved assureRectsCreated call |
| to calculateLayoutInfo(). |
| (TabbedPaneScrollLayout.calculateTabRects): Moved |
| assureRectsCreated call to calculateLayoutInfo(). Removed unused |
| statements. |
| (TabbedPaneScrollLayout.layoutContainer): Replaced hide() and show() |
| calls with calls to setVisible(). Especially important since |
| setVisible is handled special in Swing. |
| (BasicTabbedPaneUI): Initialize rects and tabRuns fields. |
| (installUI): Removed layout() call. |
| (paintContentBorder): Removed unused statement. |
| (assureRectsCreated): Reworked to match the JDK behaviour. |
| (getFontMetrics): Use the component getFontMetrics() instead of |
| the deprecated toolkit method. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JTable.java |
| (getCellRenderer): Replaced dataModel.getColumnClass() with |
| the shorter getColumnClass(). |
| (getColumnClass): Call getModel() instead of accessing dataModel |
| directly. Important for correct operation of subclasses. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JTabbedPane.java |
| (insertTab): Don't call layout() directly, instead call |
| revalidate(). |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * java/awt/Container.java |
| (findComponentForMouseEventAt): Also check for mouseMotionListeners, |
| otherwise we wouldn't dispatch mouse motion events on components |
| that have no mouse listener installed. |
| |
| 2005-11-18 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/PR24754 |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c |
| (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): Fixed width |
| for the case where there is more than one line in the layout's text. |
| Otherwise, the width of the layout would be returned, which is the |
| max width of all the lines in the text. A loop was added to get the |
| extent of all the lines and add them together. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalTabbedPaneUI.java |
| (minTabWidth): New field. |
| (selectColor): New field. |
| (selectHighlight): New field. |
| (tabAreaBackground): New field. |
| (installDefaults): Initialize new fields with values for UIManager. |
| |
| 2005-11-18 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicInternalFrameUI.java |
| (installUI): Don't install layout here. |
| (uninstallUI): Don't uninstall layout here. |
| (installDefaults): Install layout here. |
| (uninstallDefaults): Uninstall layout here. |
| (getPreferredSize): Use getLayout() to fetch the layout of the frame |
| instead of directly accessing the corresponding field. This |
| is necessary to make subclasses work that don't use this field. |
| (getMinimumSize): Likewise. |
| (getMaximumSize): Likewise. |
| |
| 2005-11-18 Gary Benson <gbenson@redhat.com> |
| |
| * AUTHORS: Added myself. |
| |
| 2005-11-18 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * javax/swing/JComponent.java |
| (setPreferredSize): Check for null argument before making a copy. |
| |
| 2005-11-18 Gary Benson <gbenson@redhat.com> |
| |
| * java/lang/SecurityManager.java (checkAccess): Correctly |
| identify system threads (and thus check permissions for them). |
| |
| 2005-11-18 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * javax/swing/JComponent.java |
| (setMinimumSize): Check for null argument before making a copy. |
| |
| 2005-11-18 Paul Jenner <psj@harker.dyndns.org> |
| |
| * native/jni/xmlj/xmlj_util.h (XMLJ_64BIT_POINTER): Removed. |
| |
| 2005-11-18 David Gilbert <david.gilbert@object-refinery.com> |
| |
| * javax/swing/JComponent.java |
| (setMaximumSize): Check for null argument before making a copy. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JEditorPane.java |
| (PlainEditorKit): New inner class. |
| (createDefaultEditorKit): Return an instance of PlainEditorKit. |
| * javax/swing/JTextPane.java |
| (insertComponent): Implemented previously stubbed method. |
| (insertIcon): Implemented previously stubbed method. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicEditorPaneUI.java |
| (create): Removed unneeded method. |
| * javax/swing/plaf/basic/BasicTextPaneUI.java |
| (create): Removed unneeded method. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * java/awt/Container.java |
| (Container): Added comment. |
| (remove): Only call removeNotify if removed component is still |
| showing. |
| (paintComponents): Call paint() instead of super.paint(). |
| (AccessibleContainerHandler.AccessibleContainerHandler): Added |
| comment. |
| (LightweightDispatcher.acquireComponentForMouseEvent): |
| Don't special case MOUSE_RELEASED events. They should be |
| dispatched unmodified just as MOUSE_PRESSED. |
| (LightweightDispatcher.handleEvent): Also clean up the pressCount |
| after a MOUSE_RELEASE. |
| |
| 2005-11-17 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/BoxView.java: |
| (modelToView): New API method. |
| |
| 2005-11-17 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/PR24721 |
| * javax/swing/text/BoxView.java |
| (getViewAtPoint): Added check in to return the last view, if one |
| exists and the point was not contained in the rectangle. This is |
| what the JDK does. |
| * javax/swing/text/CompositeView.java |
| (viewToModel): Fixed API documentation. Added check to make sure |
| x and y are greater than 0. Otherwise, 0 is returned. |
| * javax/swing/text/DefaultCaret.java |
| (moveDot): Added check to match API specs. |
| (setDot): Likewise. |
| * javax/swing/text/GlyphView.java |
| (viewToModel): Removed assert. This is not needed here. The point |
| does not need to be in the rectangle. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| Reported by Roman Schnider <schnider@aicas.com>: |
| * java/awt/Component.java |
| (reshape): Removed unused statement. |
| (repaint()): Don't forward to parent when not showing. |
| (repaint(int)): Don't forward to parent when not showing. |
| (repaint(int,int,int,int)): Don't forward to parent when not showing. |
| (repaint(float,int,int,int,int)): Don't forward to parent when not |
| showing. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/text/AbstractDocument.java |
| (LeafElement.getName): If super.getName() returns something |
| non-null, then return that instead of ContentElementName. |
| * javax/swing/text/ComponentView.java |
| (comp): New field. |
| (getAlignment): Implemented previously stubbed method. |
| (getComponent): Implemented previously stubbed method. |
| (getMaximumSpan): Implemented previously stubbed method. |
| (getMinimumSpan): Implemented previously stubbed method. |
| (getPreferredSpan): Implemented previously stubbed method. |
| (modelToView): Implemented previously stubbed method. |
| (paint): Implemented previously stubbed method. |
| (setParent): Implemented previously stubbed method. |
| (setSize): Removed unneeded method. |
| (viewToModel): Implemented previously stubbed method. |
| * javax/swing/text/FlowView.java |
| (insertUpdate): Forward this event to the logical view. |
| * javax/swing/text/IconView.java |
| (paint): Implemented previously stubbed method. |
| (getPreferredSpan): Implemented previously stubbed method. |
| (modelToView): Implemented previously stubbed method. |
| (viewToModel): Implemented previously stubbed method. |
| * javax/swing/text/ParagraphView.java |
| (firstLineIndent): New field. |
| (justification): New field. |
| (lineSpacing): New field. |
| (tabSet): New field. |
| (changedUpdate): New method. |
| (setPropertiesFromAttributes): New method. |
| (setFirstLineIndent): New method. |
| (setJustification): New method. |
| (setLineSpacing): New method. |
| (getLayoutView): New method. |
| (getLayoutViewCount): New method. |
| (getTabSet): New method. |
| |
| 2005-11-17 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicEditorPaneUI.java: |
| (create): Create new WrappedPlainView instance instead of PlainView. |
| |
| 2005-11-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| PR 24911 |
| * examples/Makefile.am |
| (EXAMPLE_JAVA_FILES): Extended by /*/*/*.java and /*/*/*/*.java. |
| (READMES): New category. |
| (ALL_EXAMPLE_FILES): Extended by READMES category. |
| |
| 2005-11-17 Bryce McKinlay <mckinlay@redhat.com> |
| |
| * gnu/java/net/protocol/jar/Connection.java (getHeaderField): |
| Implemented. |
| (getLastModified): Implemented. |
| |
| 2005-11-17 Mark Wielaard <mark@klomp.org> |
| |
| * java/net/URLClassLoader.java: Reindented. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JApplet.java |
| (paramString): Returns super.paramString() instead of a meaningless |
| 'JFrame'. |
| * javax/swing/JPanel.java |
| (paramString): Returns super.paramString() instead of a meaningless |
| 'JPanel'. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicButtonUI.java |
| (installDefaults): Don't handle the Button.rollover property here, |
| this is Metal specific and is handled in MetalButtonUI. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JList.java |
| (locationToIndex): Clarified API comment. |
| |
| 2005-11-17 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/tree/DefaultTreeCellEditor.java |
| (DefaultTreeCellEditor): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). |
| (createTreeCellEditor): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). |
| * javax/swing/tree/DefaultTreeCellRenderer.java |
| (DefaultTreeCellRenderer): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). |
| (getDefaultOpenIcon): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). |
| (getDefaultClosedIcon): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). |
| (getDefaultLeafIcon): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). |
| (getTreeCellRendererComponent): Replaced |
| UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX().w |
| (paint): Replaced UIManager.getLookAndFeelDefaults().getXXX() |
| with UIManager.getXXX(). |
| |
| 2005-11-17 Andrew Haley <aph@redhat.com> |
| |
| * gnu/java/net/protocol/file/Connection.java (unquote): New |
| method. |
| (connect): Unquote filename. |
| * gnu/java/net/protocol/jar/Connection.java (get): Likewise. |
| |
| * java/net/URL.java (URL): If the file part of a spec is absolute, |
| ignore the file part of its context. |
| |
| 2005-11-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| * examples/gnu/classpath/examples/CORBA/swing/README.html: |
| Added note about the build. |
| |
| 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/JSplitPane.java: Reformatted file. |
| * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reformatted file. |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/ToolTipManager.java |
| (mouseEntered): No need to start the insideTimer here, |
| already called showTip. |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/PR24763 |
| * javax/swing/ToolTipManager.java |
| (mouseEntered): showTip should be called if exitTimer is running. |
| This means that the mouse has exited and re-entered a component |
| in less than 500ms. |
| (mouseExited): If enterTimer is not running, the exitTimer should |
| be started no matter what. |
| (showTip): Should not show tool tip if the currentComponent is |
| not showing. |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| PR classpath/PR23557 and PR classpath/PR24099 |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c |
| (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): |
| Added check to determine if dst->drawable or src->drawable |
| are actually drawable. If not, return. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalBorders.java |
| (ButtonBorder.paintBorder): Special case the OceanTheme. |
| (ButtonBorder.paintOceanThemeBorder): New method. |
| * javax/swing/plaf/metal/MetalButtonUI.java |
| (installDefaults): Set the rollover flag here. Don't set a special |
| border for rollover buttons. |
| (uninstallDefaults): Reset the rollover flag. |
| (update): Only paint gradient when button is enabled and not pressed. |
| * javax/swing/plaf/metal/MetalLookAndFeel.java |
| (getCurrentTheme): New method. |
| |
| 2005-11-16 Gary Benson <gbenson@redhat.com> |
| |
| * java/io/FilePermission.java (implies): Correct the sense |
| in which action checks are applied. |
| |
| 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * AUTHORS: Added myself. |
| * javax/swing/KeyboardManager.java: Changed @author tag to match the |
| other ones I have. |
| * javax/swing/text/WrappedPlainView.java: Likewise. |
| |
| 2005-11-16 Gary Benson <gbenson@redhat.com> |
| |
| * java/security/ProtectionDomain.java (toString): Use |
| gnu.classpath.SystemProperties to read line.separator |
| without security manager check. |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| * java/awt/image/MemoryImageSource.java |
| (startProduction): If animated, imageComplete should |
| be called with the SINGLEFRAMEDONE flag, meaning the |
| single frame is complete, but there are more frames |
| to follow. |
| |
| 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/PlainDocument.java: |
| (insertString): Null check fixes PR 24890. |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicTreeUI.java |
| (paintVerticalPartOfLeg): Added a check to prevent |
| ArrayOutOfBoundsException. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java |
| (paintTitleBackground): Only paint background if component is |
| opaque. |
| * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java |
| (paintPalette): Added gradient painting. |
| (paintComponent): Added gradient painting. |
| * javax/swing/plaf/metal/OceanTheme.java |
| (addCustomEntriesToTable): Added gradient for |
| InternalFrama.activeTitleGradient. |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/ToolTipManager.java: |
| Removed unneeded fields. |
| (showTip): Re-implemented to use PopupFactory. |
| (hideTip): Likewise. |
| (adjustLocation): Fixed location. |
| |
| 2005-11-16 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/PlainDocument.java: |
| (insertUpdate): The very first new element added doesn't start at the |
| start of the event, it starts at the start offset of the Element that |
| contains the start of the event. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicMenuItemUI.java |
| (paintMenuItem): Always call paintBackground(). |
| |
| 2005-11-16 Lillian Angel <langel@redhat.com> |
| |
| * gnu/java/awt/peer/gtk/GtkDialogPeer.java |
| (create): Since popups were changed to be JWindowPopups, |
| this code should be done in GtkWindowPeer. Code is not |
| needed. |
| * gnu/java/awt/peer/gtk/GtkWindowPeer.java |
| (create): If window is not focusable, it should not take |
| the focus away from any other window. Therefore, its |
| type should be set to GDK_WINDOW_TYPE_HINT_MENU. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalButtonUI.java |
| (update): New method. Paints the gradient. |
| * javax/swing/plaf/metal/MetalCheckBoxIcon.java |
| (paintIcon): Paint gradient. |
| * javax/swing/plaf/metal/MetalIconFactory.java |
| (RadioButtonIcon.paintIcon): Paint gradient. |
| * javax/swing/plaf/metal/MetalLookAndFeel.java |
| (initClassDefaults): Added MetalMenuBarUI. |
| * javax/swing/plaf/metal/MetalMenuBarUI.java: New file. |
| * javax/swing/plaf/metal/MetalToggleButtonUI.java |
| (update): New method. Paints the gradient. |
| * javax/swing/plaf/metal/OceanTheme.java |
| (addCustomEntriesToTable): Added all the gradients. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JMenu.java |
| (JMenu()): Set opaque flag to false. |
| (JMenu(String)): Likewise. |
| (JMenu(Action)): Likewise. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicListUI.java |
| (getRowHeight): Adjusted to deal correctly with fixed cell heights. |
| (convertYRoRow): Likewise. |
| * javax/swing/plaf/basic/BasicMenuItemUI.java |
| (installDefaults): Don't make the menu item opaque here. |
| (paintBackground): Moved background painting code from |
| paintMenuItem() to this method. |
| (paintMenuItem): Moved background painting to paintBackground(). |
| (installDefaults): Don't set opaque flag here. |
| |
| 2005-11-16 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalUtils.java |
| (paintGradient): New utility method(s). |
| (paintHorizontalGradient): New utility method. |
| (paintVerticalGradient): New utility method. |
| |
| 2005-11-15 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/JComponent.java |
| (paintDoubleBuffered): Put paint() call inside a try-finally |
| block to correctly recover the double-buffering flag when |
| an exception is thrown inside the paint() call. |
| |
| 2005-11-15 Lillian Angel <langel@redhat.com> |
| |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c |
| (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable): |
| Needed to set allow_shrink to the same value as resizable. Other- |
| wise, it is always set to false. |
| |
| 2005-11-15 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicTreeUI.java |
| (paint): Added check to prevent NPE. |
| |
| 2005-11-15 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/JComponent.java: |
| (removeNotify): Unregister WHEN_IN_FOCUSED_WINDOW bindings from the |
| KeyboardManager. |
| |
| 2005-11-15 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicLookAndFeel.java |
| (initComponentDefaults): Default rowHeight for tree's should |
| be 0. This is Sun and IBM's default. |
| * javax/swing/plaf/metal/MetalLookAndFeel.java |
| (initComponentDefaults): Default rowHeight for tree's should |
| e 0. This is Sun and IBM's default. |
| * javax/swing/plaf/basic/BasicTreeUI.java: |
| Added a default rowHeight field. |
| (setRowHeight): Set the rowHeight to the class default if parameter |
| is 0. Tree row height should never be set to 0. 20 is the minimum. |
| (installDefaults): fixed call to tree.setRowHeight |
| (shouldPaintExpandControl): Added to check to prevent NPE. |
| |
| 2005-11-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| * examples/gnu/classpath/examples/CORBA/swing/README.html, |
| examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/Player.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/State.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java, |
| examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java: |
| New files. |
| |
| 2005-11-15 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/UIManager.java |
| (userUIDefaults): New field. |
| (get(Object)): Respect the user UI settings. |
| (get(Object,Locale)): Respect the user UI settings. |
| (getBoolean(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getBoolean(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getBorder(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getBorder(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getColor(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getColor(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getDimension(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getDimension(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getFont(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getFont(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getIcon(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getIcon(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getInsets(Object)): Call get() instead of |
| getLookAndFeelDefaults().getInsets() in order to respect the user UI |
| settings. |
| (getInsets(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().getInsets() in order to respect the user UI |
| settings. |
| (getInt(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getInt(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getString(Object)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getString(Object,Locale)): Call get() instead of |
| getLookAndFeelDefaults().get() in order to respect the user UI |
| settings. |
| (getUI(JComponent)): Respect the user UI settings. |
| (put): Put key/value into user UI settings. |
| |
| 2005-11-15 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/metal/MetalBorders.java |
| (OptionDialogBorder.paintBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/metal/MetalButtonUI.java |
| (MetalButtonUI): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java |
| (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/metal/MetalLabelUI.java |
| (paintDisabledText): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/metal/MetalRadioButtonUI.java |
| (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/metal/MetalScrollBarUI.java |
| (createDecreaseButton): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (createIncreaseButton): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (paintThumbHorizontal): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (paintThumbVertical): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/metal/MetalSplitPaneUI.java |
| (createDefaultDivider): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/metal/MetalToggleButtonUI.java |
| (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/metal/MetalToolTipUI.java |
| (MetalToolTipUI): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/metal/MetalTreeUI.java |
| Removed all listener fields. |
| (installUI): Removed initialization and call super.installUI() |
| instead. |
| (uninstallUI): Removed initialization and call super.uninstallUI() |
| instead. |
| |
| 2005-11-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> |
| |
| * gnu/CORBA/OrbFunctional.java (serveStep): |
| Returning ensure that the socket is closed. |
| |
| 2005-11-15 Roman Kennke <kennke@aicas.com> |
| |
| * javax/swing/plaf/basic/BasicBorders.java |
| (getButtonBorder): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| (getRadioButtonBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getToggleButtonBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getMenuBarBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getSplitPaneBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getSplitPaneDividerBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getTextFieldBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getInternalFrameBorder): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/basic/BasicButtonUI.java |
| (paintText): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/basic/BasicCheckBoxUI.java |
| (getDefaultIcon): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/basic/BasicComboBoxUI.java |
| (paintCurrentValue): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/basic/BasicFileChooserUI.java |
| (installStrings): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java |
| (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/basic/BasicListUI.java |
| (installKeyboardActions): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/basic/BasicProgressBarUI.java |
| (boxRect): Added @since tag to the API comment. |
| * javax/swing/plaf/basic/BasicRadioButtonUI.java |
| (getDefaultIcon): Replaced UIManager.getLookAndFeelDefaults().get() |
| with UIManager.get(). |
| * javax/swing/plaf/basic/BasicScrollBarUI.java |
| (configureScrollBarColors): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (calculatePreferredSize): Fetch preferred width or height from |
| UI defaults. |
| * javax/swing/plaf/basic/BasicTableUI.java |
| (installKeyboardActions): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/basic/BasicTextUI.java |
| (createKeymap): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getInputMap): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (getActionMap): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| * javax/swing/plaf/basic/BasicToolBarUI.java |
| (dragTo): Don't use cached* fields. |
| (installComponents): Don't use cached* fields. |
| * javax/swing/plaf/basic/BasicTreeUI.java |
| (getHashColor): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| (setHashColor): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| Added FIXME comment. |
| (installKeyboardActions): Replaced |
| UIManager.getLookAndFeelDefaults().get() with UIManager.get(). |
| |
| 2005-11-15 Christian Thalinger <twisti@complang.tuwien.ac.at> |
| |
| * native/jni/java-lang/java_lang_VMDouble.c (initIDs): Register |
| clsDouble as global ref. |
| * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c |
| (gtkInit): Register gtkgenericpeer as global ref. |
| |
| 2005-11-15 Lillian Angel <langel@redhat.com> |
| |
| * javax/swing/plaf/basic/BasicTreeUI.java: |
| Removed unneeded field. |
| (getPathBounds): Reimplemented to use getNodeDimensions. |
| (getRowCount): Removed call to updateCurrentVisiblePath. |
| (uninstallKeyboardActions): Implemented. |
| (paint): Reimplemented to only paint rows contained in clip. |
| No longer uses recursion. |
| (mousePressed): If control icon is clicked, should scroll to that |
| path. |
| (getNodeDimensions): Implemented. |
| (getRowX): Implemented. |
| (getCellBounds): Removed. |
| (getCellLocation): Removed. |
| (paintRecursive): Removed. |
| (paintControlIcons): Removed. |
| (getPreviousVisibleNode): Removed call to updateCurrentVisiblePath. |
| (getLevel): Added check for invisible root. |
| (paintVerticalLine): Set graphics color. |
| (paintHorizontalLine): Likewise. |
| (drawCentered): Added negative check. |
| (drawDashedHorizontalLine): Set graphics color. |
| (drawDashedVerticalLine): Likewise. |
| (paintExpandControl): Implemented. |
| (paintHorizontalPartOfLeg): Likewise. |
| (paintVerticalPartOfLeg): Likewise. |
| (paintRow): Added call to paint the control icons. |
| (updateCurrentVisiblePath): Cleaned up function. |
| |
| 2005-11-15 Anthony Balkissoon <abalkiss@redhat.com> |
| |
| * javax/swing/text/AbstractDocument.java: |
| (remove): Do not set up an ElementEdit here, this is done in the |
| Document implementation's removeUpdate method. |
| * javax/swing/text/PlainDocument.java: |
| (insertUpdate): Do not call reindex, instead, reindex the lines here |
| directly but only starting from the offset of the newly inserted text. |
| Also, if entire lines have been added or removed, set up an ElementEdit |
| and add it to the DocumentEvent. Chain BadLocationException to an |
| AssertionError and throw it in the unexpected case. |
| (removeUpdate): If entire lines have been added or removed, set up an |
| ElementEdit and add it to the DocumentEvent. Chain |
| BadLocationException to an AssertionError and throw it in the |
| unexpected case. |
| (reindex): Removed unnecessary method. |
| |
| 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: |
| Code written by Sven de Marothy. |
| (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 Wolfga
|