12005-12-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 2 3 * gnu/CORBA/Poa/gnuPOA.java (reference_to_servant): 4 Throw WrongAdapter with explaining message. 5 62005-12-31 Mark Wielaard <mark@klomp.org> 7 8 * java/text/Bidi.java (requiresBidi): Also test against character 9 types L, EN, ES, ET, AN, CS, S and WS. 10 112005-12-31 Chris Burdess <dog@gnu.org> 12 13 * gnu/xml/dom/DomNamedNodeMap.java, 14 gnu/xml/dom/DomNode.java, 15 gnu/xml/dom/ls/SAXEventSink.java, 16 gnu/xml/stream/SAXParser.java, 17 gnu/xml/stream/XMLParser.java: Fix entity reference DOM construction 18 and correct DOM tree normalisation. 19 202005-12-30 Wolfgang Baer <WBaer@gmx.de> 21 22 * javax/print/AttributeException.java, 23 * javax/print/URIException.java, 24 * javax/print/FlavorException.java, 25 * javax/print/PrintException.java: 26 Added and updated javadocs to class and methods. 27 282005-12-30 Wolfgang Baer <WBaer@gmx.de> 29 30 * javax/print/attribute/standard/package.html: Added description. 31 * javax/print/attribute/standard/MediaSize.java: 32 Added and updated javadocs to class and methods. 33 (static_initializer): Initialize nested class constants. 34 (MediaSize): Add instances to the cache. 35 (MediaSize): Likewise. 36 (MediaSize): Likewise. 37 (MediaSize): Likewise. 38 (findMedia): New method. 39 (equals): Likewise. 40 412005-12-29 Chris Burdess <dog@gnu.org> 42 43 * gnu/xml/stream/SAXParser.java, 44 gnu/xml/stream/XMLParser.java: Additional validity constraint 45 checking; parameter entity recognition and replacement checks; 46 checks for xml:space to determine whether whitespace is ignorable; 47 better start- and end-entity event reporting. 48 492005-12-28 Chris Burdess <dog@gnu.org> 50 51 * gnu/xml/stream/CRLFReader.java: Fixed bug where pos > 0. 52 * gnu/xml/stream/XMLParser.java, 53 gnu/xml/stream/UnicodeReader.java: Use Unicode code points instead 54 of UTF-16 chars, resolving Unicode surrogates. 55 * resource/META-INF/services/org.xml.sax.driver: Updated legacy SAX 56 factory mechanism for new SAX driver. 57 582005-12-27 Chris Burdess <dog@gnu.org> 59 60 * gnu/java/net/CRLFInputStream.java, 61 gnu/xml/stream/SAXParser.java, 62 gnu/xml/stream/XMLParser.java, 63 resource/META-INF/services/javax.xml.parsers.SAXParserFactory: 64 Fix XML parser stream issues. Add support for ignorable whitespace 65 to SAX parser. Allow validating parser to parse invalid files. 66 * gnu/xml/stream/BufferedReader.java, 67 gnu/xml/stream/XMLInputStreamReader.java: Move buffering 68 functionality of XMLInputStreamReader to BufferedReader. 69 702005-12-27 Tom Tromey <tromey@redhat.com> 71 72 * gnu/java/nio/SelectorImpl.java: Added import. 73 742005-12-26 Anthony Green <green@redhat.com> 75 76 * java/net/Socket.java (connect): Don't close the socket on 77 exceptions. 78 79 * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount 80 of data to read (dst.remaining()). 81 * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto. 82 83 * gnu/java/nio/SelectorImpl.java (select): Handle OP_CONNECT 84 properly. 85 862005-12-25 Jeroen Frijters <jeroen@frijters.net> 87 88 * java/util/Collections.java 89 (binarySearch(List,Object,Comparator)): Changed comparison order 90 for improved compatibility. 91 922005-12-25 Chris Burdess <dog@gnu.org> 93 94 * resource/META-INF/services/javax.xml.parsers.SAXParserFactory: 95 Revert to using aelfred2 driver by default. 96 972005-12-24 Tom Tromey <tromey@redhat.com> 98 99 * java/nio/charset/Charset.java (defaultCharset): Added @since. 100 1012005-12-24 Guilhem Lavaux <guilhem@kaffe.org> 102 103 * gnu/xml/dom/DomNode.java 104 (listeners): Use a HashSet now. 105 (DomNode): Likewise. 106 (compact, trimSize): Reduced to nop with a HashSet. 107 (addEventListener, removeEventListener): Use HashSet 108 operations. 109 (dispatchEvent): Likewise. 110 (notifyNode): Likewise. 111 1122005-12-24 Chris Burdess <dog@gnu.org> 113 114 * gnu/xml/stream/SAXParser.java, 115 gnu/xml/stream/XMLParser.java: DTD validation support for StAX parser. 116 1172005-12-24 Chris Burdess <dog@gnu.org> 118 119 * doc/README.jaxp: Updated with parameters for SAX-over-StAX driver. 120 * gnu/xml/stream/SAXParser.java, 121 gnu/xml/stream/XMLParser.java: Conformance fixes for XML 1.1 and 122 namespace handling. 123 * gnu/xml/dom/ls/DomLSParser.java, 124 gnu/xml/dom/ls/SAXEventSink.java: Use SAX features and properties to 125 determine XML declaration details. 126 * gnu/xml/aelfred2/SAXDriver.java, 127 gnu/xml/aelfred2/XmlParser.java, 128 gnu/xml/dom/Consumer.java, 129 gnu/xml/pipeline/DomConsumer.java, 130 gnu/xml/pipeline/EventFilter.java: Remove ContentHandler2 hack as 131 DOM Load & Save no longer depends on it 132 * javax/xml/parsers/SAXParserFactory.java, 133 resource/META-INF/services/javax.xml.parsers.SAXParserFactory: Make 134 SAX-over-StAX the default SAX implementation. 135 1362005-12-23 Mark Wielaard <mark@klomp.org> 137 138 Implement workaround suggested in bug #25430. 139 * java/text/Bidi.java: New file. 140 1412005-12-23 Guilhem Lavaux <guilhem@kaffe.org> 142 143 * gnu/xml/dom/DomNode.java 144 (LiveNodeList.handleEvent, 145 LiveNodeList.item, LiveNodeList.getLength): Detach properly the 146 iterator xfrom the DomNode. 147 1482005-12-23 Chris Burdess <dog@gnu.org> 149 150 * gnu/xml/stream/SAXParser.java, 151 gnu/xml/stream/XMLParser.java: Interim commit during W3C XML 152 conformance testing. 153 1542005-12-22 Lillian Angel <langel@redhat.com> 155 156 * javax/swing/JInternalFrame.java 157 (show): Removed call moveToFront. Listeners already call 158 toFront, which calls moveToFront. 159 * javax/swing/JLayeredPane.java 160 (setPosition): Positions are assigned from the "front" 161 to the "back", and drawn from the back towards the front. Added 162 a loop to swap all the components, so they are in the correct 163 layer. 164 1652005-12-22 Anthony Balkissoon <abalkiss@redhat.com> 166 167 * javax/swing/text/DefaultStyledDocument.java: 168 (ElementBuffer.insertContentTag): Get the attributes from the tag. 169 Return early if direction is JoinNextDirection but there is no next 170 Element. 171 (createDefaultRoot): Don't call createBranchElement here just 172 instantiate a new BranchElement. 173 (insertUpdate): Removed unneeded fields newElement, newElement2. When 174 building the buffer ElementSpecs, no need to check each time if we 175 should join to the previous or next Element, just check the first and 176 last ElementSpecs after the buffer has been completely built. 177 1782005-12-22 Tom Tromey <tromey@redhat.com> 179 180 * .externalToolBuilders/ClasspathJar.launch: New file. 181 * .project: Updated. 182 1832005-12-21 Lillian Angel <langel@redhat.com> 184 185 * javax/swing/plaf/basic/BasicLookAndFeel.java 186 (initComponentDefaults): Added focusInputMaps for 187 Button, CheckBox, EditorPane, List, Slider, TabbedPane, 188 ToggleButton, Tree. Also, removed TODO comments that 189 dealt with icons. BasicLookAndFeel does not have icons. 190 1912005-12-22 Mark Wielaard <mark@klomp.org> 192 193 * gnu/java/nio/charset/Provider.java (provider): Wrap initialization 194 of standard provider in a PrivilegedAction. 195 1962005-12-21 Lillian Angel <langel@redhat.com> 197 198 * javax/swing/plaf/basic/BasicLookAndFeel.java 199 (initComponentDefaults): Added focus input map for 200 EditorPane. Removed keyBindings. 201 * javax/swing/plaf/basic/BasicTextUI.java 202 (createKeyMap): Added check to prevent NPE. 203 2042005-12-21 Lillian Angel <langel@redhat.com> 205 206 PR classpath/25517 207 * javax/swing/plaf/basic/BasicLookAndFeel.java 208 (initComponentDefaults): Added focus map for FormattedTextField. Mauve 209 test updated for this. 210 * javax/swing/plaf/basic/BasicTextUI.java 211 (createKeyMap): Fixed to get key bindings from the input map. There 212 is not .keyBindings default in BasicL&F (same with the JDK). 213 (installKeyBoardActions): Removed unneeded code. 214 2152005-12-21 Lillian Angel <langel@redhat.com> 216 217 * javax/swing/plaf/basic/BasicLookAndFeel.java 218 (initComponentDefaults): Typo in mauve test. Reverted last patch. 219 2202005-12-21 Mark Wielaard <mark@klomp.org> 221 222 * include/Makefile.am: Rename gnu_java_awt_peer_gtk_CairoGraphics.h 223 to gnu_java_awt_peer_gtk_GdkGraphics2D.h. 224 2252005-12-21 Thomas Fitzsimmons <fitzsim@redhat.com> 226 227 * .project: Add ClasspathHeaders.launch. 228 * .externalToolBuilders/Autogen.launch: Run automatically when 229 Makefile.am or configure.ac is updated. 230 * .externalToolBuilders/CompileNative.launch: Run automatically. 231 * .externalToolBuilders/Configure.launch: Run automatically when 232 top-level Makefile.in changes. 233 * include/Makefile.am (CLASSDIR): New variable. Replace lib 234 references with $(CLASSDIR). 235 * .externalToolBuilders/ClasspathHeaders.launch: New builder. 236 2372005-12-21 Lillian Angel <langel@redhat.com> 238 239 * javax/swing/plaf/basic/BasicLookAndFeel.java 240 (initComponentDefaults): Fixed key binding for TextField.focusInputMap. 241 2422005-12-21 Anthony Balkissoon <abalkiss@redhat.com> 243 244 * javax/swing/text/DefaultEditorKit.java: 245 (read): Changed the call to insertString to leave out the trailing 246 new line. 247 2482005-12-21 Lillian Angel <langel@redhat.com> 249 250 * javax/swing/UIDefaults.java 251 (createValue): Added check in. Bind might be an instance of KeyStroke. 252 * javax/swing/plaf/basic/BasicLookAndFeel.java 253 (initComponentDefaults): Changed key bindings for PasswordField, TextArea, 254 TextPane, TextField to be instances of KeyStroke. 255 * javax/swing/plaf/basic/BasicTextUI.java 256 (installKeyBoardActions): Added call to replace textComponent's top-level 257 action map to parentActionMap. Also, removed unneeded code. 258 2592005-12-21 Anthony Balkissoon <abalkiss@redhat.com> 260 261 * javax/swing/text/DefaultStyledDocument.java: 262 (insertUpdate): If the AttributeSet argument is null use an empty 263 AttributeSet for comparisons. No need to create a new LeafElement to 264 compare AttributeSets (ie - remove the hack added yesterday). 265 * javax/swing/text/StyleContext.java: 266 (SmallAttributeSet.isEqual): Don't return false for null arguments, 267 this should throw an NPE instead. Also, for performance, check that 268 sizes are equal and one set contains the other, rather than checking 269 that each set contains the other. 270 2712005-12-20 Lillian Angel <langel@redhat.com> 272 273 * javax/swing/plaf/basic/BasicLookAndFeel.java 274 (initComponentDefaults): Added all key bindings for PasswordField 275 focusInputMap. 276 2772005-12-20 Lillian Angel <langel@redhat.com> 278 279 * javax/swing/UIDefaults.java: 280 (LazyInputMap): InputMap should be an InputMapUIResource. 281 * javax/swing/plaf/basic/BasicLookAndFeel.java 282 (initComponentDefaults): Added all key bindings for Text*. 283 * javax/swing/plaf/basic/BasicTextUI.java 284 (installKeyboardActions): Fixed call to replaceUIActionMap 285 to create a new ActionMap from textComponent's actions. Prevents 286 an infinite loop. Fixed loop to set the parentActionMap and the 287 parentInputMap. 288 (ActionListenerProxy): Removed. No longer needed. 289 (convertModifiers): Likewise. 290 (creatActionMap): New function creates the action map to 291 be installed on the text component. 292 2932005-12-20 Lillian Angel <langel@redhat.com> 294 295 * javax/swing/plaf/basic/BasicLookAndFeel.java 296 (initComponentDefaults): Added focusInputMap added 297 for PasswordField. 298 * javax/swing/text/JTextComponent.java 299 (allKeys): Fixed to prevent NPE. 300 3012005-12-20 Lillian Angel <langel@redhat.com> 302 303 * javax/swing/plaf/basic/BasicLookAndFeel.java 304 (initClassDefaults): Fixed typo. 305 (initComponentDefaults): Removed keyBindings defaults for 306 Text*. Added focusInputMap for Text*. 307 * javax/swing/plaf/basic/BasicTextUI.java 308 (installKeyBoardActions): Added code to load the focusInputMap 309 and install all the actions for each key. 310 (ActionListenerProxy): New class implemented. 311 (converModifiers): New method to convert the modifiers. 312 (getActionMap): Removed function. Not needed. 313 (createActionMap): Likewise. 314 * javax/swing/text/JTextComponent.java 315 (JTextComponent): Removed code to load the keymap. 316 3172005-12-20 Lillian Angel <langel@redhat.com> 318 319 * javax/swing/text/DefaultEditorKit.java: 320 Added implementation for beginLineAction and 321 endLineAction. 322 * javax/swing/text/JTextComponent.java 323 (JTextComponent): Added key bindings for HOME and END. 324 3252005-12-20 Lillian Angel <langel@redhat.com> 326 327 * javax/swing/plaf/basic/BasicTreeUI.java 328 (pathWasExpanded): Removed unneeded revalidate call. 329 (pathWasCollapsed): Likewise. 330 (installUI): Fixed to check for null root. 331 (paint): Fixed to always update path. 332 (toggleExpandState): Removed call to update path. 333 (editingStopped): Likewise. 334 (editingCanceled): Likewise. 335 (treeStructureChanged): Likewise. 336 (treeExpanded): Likewise. 337 (treeCollapsed): Likewise. 338 (treeNodesChanged): Likewise. 339 (treeNodesInserted): Likewise. 340 (treeNodesRemoved): Likewise. 341 (updateCurrentVisiblePath): Added check for null root. If root is null, 342 nothing should be painted or in the path. 343 * javax/swing/tree/DefaultTreeModel.java 344 (setRoot): Root can be null. 345 3462005-12-20 Anthony Balkissoon <abalkiss@redhat.com> 347 348 Fixes bug #25506 349 * javax/swing/text/AbstractDocument.java: 350 (insertString): Fire insert update whether the DocumentEvent was 351 changed or not. 352 3532005-12-20 Anthony Balkissoon <abalkiss@redhat.com> 354 355 * javax/swing/text/DefaultStyledDocument.java: 356 (ElementBuffer.insertContentTag): If the direction is 357 OriginateDirection split all the time, don't check the attribute sets. 358 Removed the special case for the first insertion. These cases should 359 fall under the direction JoinPreviousDirection. Changed the comments to 360 reflect this. 361 (insertUpdate): Added a hack to get the right result when comparing 362 the attributes of the new ElementSpec to the attributes of either 363 the previous or next Element. 364 3652005-12-19 Lillian Angel <langel@redhat.com> 366 367 * javax/swing/text/html/CSSParser.java 368 (CSSParser): Initialized tokenBuffer with some 369 arbitrary size. This makes append much more efficent since 370 a new array will not been created with each append. 371 (append): Fixed append to create a new larger array if 372 needed. 373 (nextToken): Finished implemented. Should decrease the 374 tokenBufferLength if an identifier was read. This way " and ' 375 are not added to the buffer. 376 (parse): Implemented to call the appropriate parsing function 377 based on parameter. 378 (getNextStatement): Implemented. 379 (parseAtRule): Added some helpful comments for implementing. 380 (parseRuleSet): Likewise. 381 (parseIdentifiers): Likewise. 382 (readComment): Likewise. 383 * javax/swing/text/html/StyleSheet.java 384 (addRule): Implemented. 385 (loadRules): Implemented. 386 (importStyleSheet): Removed implementation for now. It causes 387 a loop. Added FIXME 388 (startRule): Implemented. 389 (handleProperty): Implemented. 390 (addSelector): Implemented. 391 3922005-12-19 Lillian Angel <langel@redhat.com> 393 394 * javax/swing/text/html/BlockView.java 395 (getStyleSheet): Implemented. 396 * javax/swing/text/html/CSSParser.java: New private class, 397 partially implemented. 398 * javax/swing/text/html/HTMLEditorKit.java 399 (createDefaultDocument): Fixed to create HTMLDocument with 400 default style sheet. 401 (getStyleSheet): Fixed to initialize style sheet if null. 402 * javax/swing/text/html/StyleSheet.java 403 (CssParser): New private inner class, partially implemented. 404 4052005-12-19 Anthony Balkissoon <abalkiss@redhat.com> 406 407 * javax/swing/text/DefaultStyledDocument.java: 408 (endOffset): New field. 409 (ElementBuffer.insert): If length is 0 return early. Set the endOffset 410 variable here. 411 (ElementBuffer.insertContentTag): Added special case for when insertion 412 covers entire range of the current Element. Replaced (offset + length) 413 with endOffset everywhere. Added checks to see if the insertion has 414 the same attributes as the surrounding Element(s), in which case we 415 don't split them, we join them. 416 (SectionElement.getName): Return the field SectionElementName instead 417 of hardcoding a return value. 418 (getLogicalStyle): As the specs require, if the attributes from the 419 resolve parent aren't of type Style, return null. 420 (setCharacterAttributes): Exit early if length is 0. Obtain a 421 write lock for the body of this method. Changed the way we iterate 422 through the paragraphs to be more efficient and more intuitive. Added 423 AttributeUndoableEdits to the DocumentEvent and fired the 424 UndoableEditUpdate. 425 (setLogicalStyle): Return early if the Element is null. Obtain a write 426 lock for the body of this method. Fire the appropriate DocumentEvent. 427 (setParagraphAttributes): Changed the way we iterated through the 428 paragraphs because it was incorrect and unintuitive. Obtained a write 429 lock within a try/finally block. Added AttributeUndoableEdits to the 430 DocumentEvent and fired the event. 431 (insertUpdate): Changed the way we iterate because we cannot assume 432 the Segment holds the characters starting from index 0. Give the 433 startTag the same attributes as the paragraph. Removed the useless 434 offset += len line because len is 0. 435 (printElements): New temporary debugging method. 436 (attributeSetsAreSame): New method. 437 4382005-12-19 Dalibor Topic <robilad@kaffe.org> 439 440 * native/fdlibm/mprec.h (DEBUG): Include stdlib.h for 441 exit() prototype to fix compiler warning. 442 4432005-12-19 Lillian Angel <langel@redhat.com> 444 445 * javax/swing/text/StyledEditorKit.java 446 (createInputAttributes): Fixed. I made a mistake by 447 changing this in my last fix. I have committed a mauve test 448 to verify the set should be cleared first. 449 * javax/swing/text/html/HTMLEditorKit 450 (createInputAttributes): Set is cleared before adding 451 new attributes. 452 * javax/swing/text/html/HTMLDocument.java: 453 Added names to authors. 454 * javax/swing/text/html/default.css: 455 Fixed indentation. 456 4572005-12-19 Roman Kennke <kennke@aicas.com> 458 459 * javax/swing/plaf/basic/BasicMenuItemUI.java 460 (paintBackground): Also fill background for unselected items here. 461 (paintMenuItem): Call paintBackground() with the background 462 parameter. 463 4642005-12-19 Roman Kennke <kennke@aicas.com> 465 466 * javax/swing/JComponent.java 467 (findOverlapFreeParent): Fixed component lookup for painting. 468 4692005-12-19 Roman Kennke <kennke@aicas.com> 470 471 PR classpath/24905 472 * javax/swing/JViewport.java 473 (paintSimple): Call paintComponent() before painting the child, so 474 the background gets cleared correctly. 475 4762005-12-19 Wolfgang Baer <WBaer@gmx.de> 477 478 * javax/print/attribute/standard/MediaPrintableArea.java: 479 Added and updated javadocs to class and methods. 480 (x): Use int as type. 481 (y): Likewise. 482 (width): Likewise. 483 (height): Likewise. 484 (MediaPrintableArea): Convert values to micrometers. 485 (MediaPrintableArea): Likewise. 486 (getX): Convert return value into choosen units. 487 (getY): Convert return value into choosen units. 488 (getWidth): Convert return value into choosen units. 489 (getHeight): Convert return value into choosen units. 490 (equals): New overridden method. 491 (toString): Likewise. 492 (hashCode): Likewise. 493 (toString): New method. 494 (getPrintableArea): Likewise. 495 4962005-12-19 Wolfgang Baer <WBaer@gmx.de> 497 498 * javax/print/attribute/standard/Media.java (equals): 499 Reimplemented to allow future subclasses to behave correctly. 500 5012005-12-19 Roman Kennke <kennke@aicas.com> 502 503 PR classpath/24195 504 * javax/swing/text/DefaultStyledDocument.java 505 (setParagraphAttributes): Obtain lock for this operation. Exit loop 506 after last paragraph element. 507 5082005-12-19 Roman Kennke <kennke@aicas.com> 509 510 * javax/swing/plaf/basic/BasicComboBoxUI.java 511 (installListeners): Install focus listener only on editor. 512 (configureArrowButton): Make arrow button not focusable. 513 (setPopupVisible): Request focus for the combobox editor or comboBox, 514 depending on whether the combobox is editable or not. 515 * javax/swing/plaf/basic/BasicComboPopup.java 516 (configureList): Make list not focusable. 517 5182005-12-19 Wolfgang Baer <WBaer@gmx.de> 519 520 * javax/print/attribute/standard/JobStateReasons.java: 521 Added and updated javadocs to class and methods. 522 (JobStateReasons): New constructor. 523 (JobStateReasons): Likewise. 524 (JobStateReasons): Likewise. 525 (JobStateReasons): Likewise. 526 (add): New overridden method. 527 * javax/print/attribute/standard/PrinterStateReasons.java: 528 Added and updated javadocs to class and methods. 529 (PrinterStateReasons): New constructor. 530 (PrinterStateReasons): Likewise. 531 (PrinterStateReasons): Likewise. 532 (PrinterStateReasons): Likewise. 533 (printerStateReasonSet): New method. 534 (put): New overridden method. 535 5362005-12-18 Guilhem Lavaux <guilhem@kaffe.org> 537 538 * libraries/javalib/external/classpath/lib/Makefile.am: 539 Replaced $(top_distdir) with $(distdir)/.. to make sure 540 that GNU Classpath's class library sources don't end up 541 in the wrong location in kaffe's tarball. 542 5432005-12-18 Nicolas Geoffray <nicolas.geoffray@menlina.com> 544 545 * java/lang/Class.java (getModifiers): Only returns 546 interesting bits. 547 5482005-12-18 Chris Burdess <dog@gnu.org> 549 550 * gnu/xml/stream/SAXParser.java, 551 gnu/xml/stream/XMLParser.java: Various fixes post SAX conformance 552 testing. 553 5542005-12-18 Wolfgang Baer <WBaer@gmx.de> 555 556 * javax/print/attribute/standard/JobOriginatingUserName.java, 557 * javax/print/attribute/standard/RequestingUserName.java, 558 * javax/print/attribute/standard/JobMessageFromOperator.java, 559 * javax/print/attribute/standard/JobName.java, 560 * javax/print/attribute/standard/OutputDeviceAssigned.java, 561 * javax/print/attribute/standard/PrinterInfo.java, 562 * javax/print/attribute/standard/PrinterLocation.java, 563 * javax/print/attribute/standard/PrinterMakeAndModel.java, 564 * javax/print/attribute/standard/PrinterMessageFromOperator.java, 565 * javax/print/attribute/standard/DocumentName.java, 566 * javax/print/attribute/standard/PrinterName.java: 567 Added and updated javadocs to class and methods. 568 5692005-12-17 Mark Wielaard <mark@klomp.org> 570 571 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Add namespace.h 572 5732005-12-17 Mark Wielaard <mark@klomp.org> 574 575 * javax/swing/text/html/HTMLDocument.java (BlockElementgetName): 576 Qualify NameAttribute as comming from StyleConstants. 577 (RunElement.getName): Likewise. 578 (getElement): Check whether grandChild element is null before 579 returning it. 580 5812005-12-17 Mark Wielaard <mark@klomp.org> 582 583 * javax/swing/text/html/HTMLDocument.java (flush): Qualify ElementSpec 584 type comming from DefaultStyledDocument. 585 (blockOpen): Likewise. 586 (blockClose): Likewise. 587 (addContent): Likewise. 588 5892005-12-17 Mark Wielaard <mark@klomp.org> 590 591 * lib/copy-vmresources.sh.in: Use dot '.' for find after changing 592 dir to target directory. 593 5942005-12-17 Tom Tromey <tromey@redhat.com> 595 596 * java/io/File.java (File): Updated javadoc. 597 5982005-12-17 Guilhem Lavaux <guilhem@kaffe.org> 599 600 * native/fdlibm/namespace.h: Regenerated. 601 602 * native/fdlibm/fdlibm.h 603 (isnan): Define explicitly isnan if it is not a macro. 604 605 * scripts/math_symbols: Removed isnan. 606 6072005-12-17 Wolfgang Baer <WBaer@gmx.de> 608 609 * javax/print/attribute/standard/CopiesSupported.java: 610 Added and updated javadocs to class and methods. 611 (CopiesSupported): Throw IllegalArgumentException if 612 lowerBound is less than 1. 613 (CopiesSupported): Throw IllegalArgumentException if member less than 1. 614 (equals): New overridden method. 615 * javax/print/attribute/standard/JobKOctetsSupported.java: 616 Added and updated javadocs to class and methods. 617 (JobKOctetsSupported): Throw IllegalArgumentException if 618 lowerBound is less than 1. 619 (equals): New overridden method. 620 * javax/print/attribute/standard/JobImpressionsSupported.java: 621 Added and updated javadocs to class and methods. 622 (JobImpressionsSupported): Throw IllegalArgumentException if 623 lowerBound is less than 1. 624 (equals): New overridden method. 625 * javax/print/attribute/standard/JobMediaSheetsSupported.java: 626 Added and updated javadocs to class and methods. 627 (JobMediaSheetsSupported): Throw IllegalArgumentException if 628 lowerBound is less than 1. 629 (equals): New overridden method. 630 * javax/print/attribute/standard/PageRanges.java: 631 Added and updated javadocs to class and methods. 632 (PageRanges): Throw IllegalArgumentException if member less than 1. 633 (PageRanges): Throw IAE if lowerBound is less than 1. 634 (PageRanges): Throw NPE if members is null. 635 (PageRanges): New constructor. 636 (equals): New overridden method. 637 * javax/print/attribute/standard/NumberUpSupported.java: 638 Added and updated javadocs to class and methods. 639 (NumberUpSupported): Throw IllegalArgumentException if member less than 1. 640 (NumberUpSupported): Throw IAE if lowerbound less than 1. 641 (NumberUpSupported): Throw NPE if members is null. 642 (equals): New overridden method. 643 * javax/print/attribute/standard/JobHoldUntil.java, 644 * javax/print/attribute/standard/DateTimeAtProcessing.java, 645 * javax/print/attribute/standard/DateTimeAtCompleted.java, 646 * javax/print/attribute/standard/DateTimeAtCreation.java: 647 Added and updated javadocs to class and methods. 648 * javax/print/attribute/standard/PrinterURI.java, 649 * javax/print/attribute/standard/PrinterMoreInfoManufacturer.java, 650 * javax/print/attribute/standard/PrinterMoreInfo.java, 651 * javax/print/attribute/standard/Destination.java, 652 * javax/print/attribute/standard/PrinterResolution.java: 653 Added and updated javadocs to class and methods. 654 (equals): New overridden method. 655 6562005-12-17 Guilhem Lavaux <guilhem@kaffe.org> 657 658 * java/io/ObjectOutputStream.java 659 (writeClassDescriptor): Use two argument constructor. Reduced line 660 size. 661 6622005-12-17 Roman Kennke <kennke@aicas.com> 663 664 * javax/swing/plaf/basic/BasicLookAndFeel.java 665 (AudioAction): New inner class. 666 (audioActionMap): New field. 667 (getAudioActionMap): New method. 668 (createAudioAction): New method. 669 (playSound): New method. 670 6712005-12-16 Roman Kennke <kennke@aicas.com> 672 673 * javax/swing/JTable.java 674 (AccessibleJTable.getAccessibleRowAtIndex): New method. 675 (AccessibleJTable.getAccessibleColumnAtIndex): New method. 676 (AccessibleJTable.getAccessibleColumnAtIndex): New method. 677 (surrendersFocusOnKeystroke): New field. 678 (setSurrendersFocusOnKeystroke): New method. 679 (getSurrendersFocusOnKeystroke): New method. 680 6812005-12-16 Roman Kennke <kennke@aicas.com> 682 683 * javax/swing/SwingUtilities.java 684 (processKeyBindings): New method. Processes keybindings for 685 non-JComponent derived components. 686 6872005-12-16 Keith Seitz <keiths@redhat.com> 688 689 * gnu/classpath/jdwp/event/EventManager.java (EventManager): Catch 690 all JdwpExceptions when initializing the event table. 691 (requestEvent): Update to allow throwing JdwpException from 692 VMVirtualMachine methods. 693 (deleteRequest): Likewise. 694 (clearRequests): Likewise. 695 * gnu/classpath/jdwp/Jdwp.java (notify): Catch exceptions 696 from sendEvent and _enforceSuspendPolicy. 697 (sendEvent): Do not catch IOException here. 698 (_enforceSuspendPolicy): Update to allow throwing JdwpException 699 from VMVirtualMachine methods. 700 7012005-12-16 Wolfgang Baer <WBaer@gmx.de> 702 703 * javax/print/attribute/standard/JobImpressionsCompleted.java: 704 Added and updated javadocs to class and methods. 705 (getName): Fixed name returned by this attribute class. 706 * javax/print/attribute/standard/JobMediaSheetsCompleted.java, 707 * javax/print/attribute/standard/JobKOctetsProcessed.java, 708 * javax/print/attribute/standard/JobImpressions.java, 709 * javax/print/attribute/standard/JobKOctets.java, 710 * javax/print/attribute/standard/JobMediaSheets.java, 711 * javax/print/attribute/standard/NumberOfInterveningJobs.java, 712 * javax/print/attribute/standard/JobPriority.java, 713 * javax/print/attribute/standard/JobPrioritySupported.java, 714 * javax/print/attribute/standard/NumberOfDocuments.java, 715 * javax/print/attribute/standard/QueuedJobCount.java, 716 * javax/print/attribute/standard/NumberUp.java, 717 * javax/print/attribute/standard/PagesPerMinuteColor.java, 718 * javax/print/attribute/standard/PagesPerMinute.java, 719 * javax/print/attribute/standard/Copies.java: 720 Added and updated javadocs to class and methods. 721 7222005-12-16 Lillian Angel <langel@redhat.com> 723 724 * javax/swing/text/StyledEditorKit.java 725 (createInputAttributes): This should copy the element 726 attributes into the set, not clear out the set. Fixed 727 to match the API spec. 728 * javax/swing/text/html/HTMLEditorKit.java 729 (getInputAttributes): Added API documentation. Fixed 730 implementation. Combining all input attributes should 731 not be done here. 732 7332005-12-16 Lillian Angel <langel@redhat.com> 734 735 * javax/swing/text/html/HTMLDocument.java 736 (HTMLDocument): Fixed. The style sheet is initialized 737 using HTMLEditorKit. 738 (HTMLDocument): Fixed to call this with null as the 739 style sheet. 740 * javax/swing/text/html/HTMLEditorKit.java: 741 Added new fields. 742 (LinkController): Calls super constructor. 743 (InsertHTMLTextAction): Added comment. 744 (actionPerformed): Partially implemented. 745 (HTMLEditorKit): Fixed to initialize style sheet to 746 default.css. 747 (getParser): Fixed field name. 748 (read): Added code to set base for document. 749 (getContentType): Fixed to return field. 750 (createInputAttributes): Partially implemented. 751 (install): Added FIXME. 752 (deinstall): set field to null. 753 (getInputAttributes): Implemented. 754 * javax/swing/text/html/StyleSheet.java 755 (importStyleSheet): Partially implemented. 756 * javax/swing/text/html/default.css: New file. Default style 757 sheet for HTML. 758 7592005-12-16 Guilhem Lavaux <guilhem@kaffe.org> 760 761 * native/fdlibm/mprec.h, native/fdlibm/fdlibm.h: Added the 762 inclusion of namespace.h 763 764 * native/fdlibm/namespace.h: New file. 765 766 * scripts/build_mathnamespace, scripts/math_symbols: New files. 767 7682005-12-16 Keith Seitz <keiths@redhat.com> 769 770 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java 771 (VMVirtualMachine): All methods now throw JdwpException. 772 7732005-12-16 Wolfgang Baer <WBaer@gmx.de> 774 775 * javax/print/attribute/standard/MediaSizeName.java: 776 Added and updated javadocs to class and methods. 777 (getStringTable): Implemented. 778 (getEnumValueTable): Implemented. 779 (stringTable): New field. 780 (enumValueTable): New field. 781 * javax/print/attribute/standard/MediaName.java: 782 Added and updated javadocs to class and methods. 783 (getStringTable): Implemented. 784 (getEnumValueTable): Implemented. 785 (stringTable): New field. 786 (enumValueTable): New field. 787 (NA_LETTER_WHITE): Fixed value of enum. 788 (NA_LETTER_TRANSPARENT): Likewise. 789 (ISO_A4_WHITE): Likewise. 790 (ISO_A4_TRANSPARENT): Likewise. 791 (serialVersionUID): New field. 792 * javax/print/attribute/standard/Media.java: 793 Added and updated javadocs to class and methods. 794 (equals): New overridden method. 795 * javax/print/attribute/standard/MediaTray.java: 796 Added and updated javadocs to class and methods. 797 (getStringTable): Implemented. 798 (getEnumValueTable): Implemented. 799 (stringTable): New field. 800 (enumValueTable): New field. 801 (TOP): Fixed value of enum. 802 (MIDDLE): Likewise. 803 (BOTTOM): Likewise. 804 (ENVELOPE): Likewise. 805 (LARGE_CAPACITY): Likewise. 806 (MAIN): Likewise. 807 (SIDE): Likewise. 808 (serialVersionUID): New field. 809 * javax/print/attribute/standard/PrinterState.java: 810 Added and updated javadocs to class and methods. 811 (getStringTable): New overridden method. 812 (getEnumValueTable): New overridden method. 813 (stringTable): New field. 814 (enumValueTable): New field. 815 (IDLE): Fixed value of enum. 816 (PROCESSING): Likewise. 817 (STOPPED): Likewise. 818 * javax/print/attribute/standard/JobState.java: 819 Added and updated javadocs to class and methods. 820 (getStringTable): New overridden method. 821 (getEnumValueTable): New overridden method. 822 (stringTable): New field. 823 (enumValueTable): New field. 824 (PENDING): Fixed value of enum. 825 (PENDING_HELD): Likewise. 826 (PROCESSING): Likewise. 827 (PROCESSING_STOPPED): Likewise. 828 (CANCELED): Likewise. 829 (ABORTED): Likewise. 830 (COMPLETED): Likewise. 831 * javax/print/attribute/standard/SheetCollate.java, 832 * javax/print/attribute/standard/PresentationDirection.java, 833 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java, 834 * javax/print/attribute/standard/PrinterStateReason.java, 835 * javax/print/attribute/standard/JobStateReason.java, 836 * javax/print/attribute/standard/JobSheets.java: 837 Added and updated javadocs to class and methods. 838 (getStringTable): New overridden method. 839 (getEnumValueTable): New overridden method. 840 (stringTable): New field. 841 (enumValueTable): New field. 842 8432005-12-16 Roman Kennke <kennke@aicas.com> 844 845 * native/jni/java-nio/java_nio.c 846 Removed obsolete file. 847 8482005-12-16 Tom Tromey <tromey@redhat.com> 849 850 * java/lang/Class.java (getPackage): Javadoc fix. 851 8522005-12-16 Roman Kennke <kennke@aicas.com> 853 854 * native/jni/classpath/jcl.c: 855 Only redefine __attribute__ if it's not already defined. 856 8572005-12-16 Roman Kennke <kennke@aicas.com> 858 859 * java/net/DatagramSocket.java 860 (DatagramSocket(SocketAddress)): Actually use the factory if one 861 is installed. 862 8632005-12-16 Tom Tromey <tromey@redhat.com> 864 865 * java/io/ObjectInputStream.java: Organized imports. 866 8672005-12-15 Wolfgang Baer <WBaer@gmx.de> 868 869 * javax/print/attribute/standard/PDLOverrideSupported.java: 870 Added and updated javadocs to class and methods. 871 (getStringTable): New overridden method. 872 (getEnumValueTable): New overridden method. 873 (stringTable): New field. 874 (enumValueTable): New field. 875 (ATTEMPTED): Fixed value of enum. 876 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java, 877 * javax/print/attribute/standard/Severity.java, 878 * javax/print/attribute/standard/MultipleDocumentHandling.java: 879 Added and updated javadocs to class and methods. 880 (getStringTable): New overridden method. 881 (getEnumValueTable): New overridden method. 882 (stringTable): New field. 883 (enumValueTable): New field. 884 * javax/print/attribute/standard/Fidelity.java: 885 Added and updated javadocs to class and methods. 886 (getStringTable): New overridden method. 887 (getEnumValueTable): New overridden method. 888 (stringTable): New field. 889 (enumValueTable): New field. 890 (getName): Use correct ipp attribute name. 891 * javax/print/attribute/standard/OrientationRequested.java: 892 Added and updated javadocs to class and methods. 893 (getStringTable): New overridden method. 894 (getEnumValueTable): New overridden method. 895 (getOffset): New overridden method. 896 (stringTable): New field. 897 (enumValueTable): New field. 898 * javax/print/attribute/standard/PrintQuality.java: 899 Added and updated javadocs to class and methods. 900 (getStringTable): New overridden method. 901 (getEnumValueTable): New overridden method. 902 (getOffset): New overridden method. 903 (stringTable): New field. 904 (enumValueTable): New field. 905 (DRAFT): Fixed value of enum. 906 (NORMAL): Likewise. 907 (HIGH): Likewise. 908 * javax/print/attribute/standard/Finishings.java: 909 Added and updated javadocs to class and methods. 910 (getStringTable): New overridden method. 911 (getEnumValueTable): New overridden method. 912 (getOffset): New overridden method. 913 (stringTable): New field. 914 (enumValueTable): New field. 915 (NONE): Fixed value of enum. 916 (STAPLE): Likewise. 917 (COVER): Likewise. 918 (BIND): Likewise. 919 (SADDLE_STITCH): Likewise. 920 (EDGE_STITCH): Likewise. 921 (STAPLE_TOP_LEFT): Likewise. 922 (STAPLE_BOTTOM_LEFT): Likewise. 923 (STAPLE_TOP_RIGHT): Likewise. 924 (STAPLE_BOTTOM_RIGHT): Likewise. 925 (EDGE_STITCH_LEFT): Likewise. 926 (EDGE_STITCH_TOP): Likewise. 927 (EDGE_STITCH_RIGHT): Likewise. 928 (EDGE_STITCH_BOTTOM): Likewise. 929 (STAPLE_DUAL_LEFT): Likewise. 930 (STAPLE_DUAL_TOP): Likewise. 931 (STAPLE_DUAL_RIGHT): Likewise. 932 (STAPLE_DUAL_BOTTOM): Likewise. 933 * javax/print/attribute/standard/Sides.java: 934 Added and updated javadocs to class and methods. 935 (getStringTable): New overridden method. 936 (getEnumValueTable): New overridden method. 937 (stringTable): New field. 938 (enumValueTable): New field. 939 (DUPLEX): Fixed value of enum. 940 (TUMBLE): Likewise. 941 9422005-12-15 Anthony Balkissoon <abalkiss@redhat.com> 943 944 * javax/swing/text/AbstractDocument.java: 945 (AbstractElement.getAttribute): If no attribute could be found in the 946 AttributeSet hierarchy, then try the Element hierarchy instead. 947 9482005-12-15 Lillian Angel <langel@redhat.com> 949 950 * javax/swing/text/html/HTMLDocument.java 951 (HTMLDocument): Added a FIXME 952 (create): Added stub. 953 (createDefaultRoot): Likewise. 954 (createLeafElement): Likewise. 955 (createBranchElement): Likewise. 956 (insertUpdate): Likewise. 957 (setParagraphAttributes): Likewise. 958 (fireChangedUpdate): Likewise. 959 * javax/swing/text/html/HTMLEditorKit.java 960 (LinkController): Removed FIXME 961 (mouseClicked): Added comment 962 (mouseDragged): Likewise. 963 (mouseMoved): Likewise. 964 (activateLink): Likewise. 965 (insertAtBoundary): Likewise. 966 (HTMLFactory): Added constructor. 967 (HTMLEditorKit): Added FIXME to constructor. 968 * javax/swing/text/html/StyleSheet.java 969 (removeStyleSheet): Fixed implementation. 970 9712005-12-15 Lillian Angel <langel@redhat.com> 972 973 * javax/swing/text/html/BlockView.java 974 (paint): Partially implemented. 975 (getAttributes): Implemented. 976 (getStyleSheet): Partially implemented. 977 * javax/swing/text/html/HTMLDocument.java 978 (HTMLDocument): New constructor, implemented. 979 (HTMLDocument): Likewise. 980 (HTMLDocument): Likewise. 981 (getStyleSheet): Implemented. 982 * javax/swing/text/html/HTMLEditorKit.java 983 (insertHTML): Fixed indentation. 984 (ParserCallback): Added comments for all methods in this 985 inner class. 986 (getStyleSheet): Implemented. 987 (setStyleSheet): Implemented 988 * javax/swing/text/html/StyleSheet: New class, partially 989 implemented. 990 9912005-12-15 Caolan McNamara <caolanm@redhat.com> 992 993 PR classpath/25426: 994 * gnu/xml/dom/DomNode.java (detach): Check whether current is 995 already null. 996 9972005-12-15 Roman Kennke <kennke@aicas.com> 998 999 * javax/swing/ViewportLayout.java 1000 (layoutContainer): Set width and height before adjusting the 1001 location. Only set view size to port size if the port is larger 1002 than the views preferredSize. 1003 10042005-12-15 Chris Burdess <dog@gnu.org> 1005 1006 * gnu/xml/stream/SAXParser.java, 1007 gnu/xml/stream/XMLInputFactoryImpl.java, 1008 gnu/xml/stream/XMLParser.java: Permit setting extended properties 1009 via factory interfaces; make base-aware a parameter. 1010 10112005-12-15 Roman Kennke <kennke@aicas.com> 1012 1013 * javax/swing/JComponent.java 1014 (getPreferredSize): Protect the preferredSize field from 1015 modification by creating a new Dimension object from it 1016 before returning the value. 1017 10182005-12-15 Chris Burdess <dog@gnu.org> 1019 1020 Fixes bug classpath/24496: 1021 * java/util/Properties.java (loadFromXML): Use StAX instead of SAX 1022 to populate properties. 1023 10242005-12-15 Chris Burdess <dog@gnu.org> 1025 1026 * gnu/xml/stream/XMLParser.java: Report start-entity and end-entity 1027 events; read text declaration for external entities; 1028 handle XML namespace; handle xml:base; normalize CR/LF pairs 1029 created as a result of mixed text and character entity references. 1030 10312005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com> 1032 1033 * java/lang/ClassLoader 1034 (defineClass(String,byte[],int,int,ProtectionDomain)): 1035 Calls VMClassLoader.defineClassWithTransformers instead 1036 of VMClassLoader.defineClass. 1037 * vm/reference/java/lang/VMClassLoader 1038 (defineClassWithTransformers): New method. 1039 (instrumenter): New Field. 1040 10412005-12-14 Roman Kennke <kennke@aicas.com> 1042 1043 * gnu/java/awt/peer/gtk/GdkGraphics.java 1044 (cached): New field. 1045 (parent): New field. 1046 (GdkGraphics(GdkGraphics)): Moved state-copy code to new method 1047 copyState(). 1048 (create): Added re-use of old graphics. 1049 (nativeDispose): Renamed native dispose method to nativeDispose(). 1050 (dispose): New non-native implementation used for caching. 1051 (finalize): Overridden to correctly dispose unused graphics. 1052 (copyState): New non-native method to correctly copy the non-native 1053 state. 1054 (nativeCopyState): Renamed native copyState method to 1055 nativeCopyState(). 1056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c 1057 (copyState): Renamed to nativeCopyState. 1058 (dispose): Renamed to nativeDispose. 1059 * include/gnu_java_awt_peer_gtk_GdkGraphics.h 1060 (copyState): Renamed to nativeCopyState. 1061 (dispose): Renamed to nativeDispose. 1062 10632005-12-14 Riccardo Mottola <riccardo@kaffe.org> 1064 1065 * native/fdlibm/ieeefp.h: Fixed detection of big endian on 1066 powerpc. 1067 10682005-12-14 Anthony Balkissoon <abalkiss@redhat.com> 1069 1070 * javax/swing/text/DefaultStyledDocument.java: 1071 (insert): Put writeLock/writeUnlock combo in a try/finally block. Group 1072 all inserts together so that we can add the appropriate ElementEdit to 1073 the DocumentEvent. 1074 * javax/swing/text/html/HTMLDocument.java: 1075 (debug): New field. 1076 (print): New method. Changed all System.out.println calls to calls to 1077 this method so that they can be turned on and off via the debug 1078 variable. 1079 (HTMLReader.CharacterAction.start): Uncommented code that adds the 1080 argument attributes to the current attributes. 1081 (HTMLReader.HeadAction): Changed superclass to BlockAction instead of 1082 TagAction. 1083 (HTMLReader.blockOpen): Implemented. 1084 (HTMLReader.blockClose): Implemented. 1085 (HTMLReader.addContent): Added calls to printBuffer so if the debug 1086 variable is true we can see what the buffer looks like before and 1087 after adding content. Also put in the proper check so that we only 1088 flush the buffer if we've buffered the appropriate number of elements 1089 first. 1090 (printBuffer): New method. 1091 10922005-12-14 Chris Burdess <dog@gnu.org> 1093 1094 * gnu/xml/stream/XIncludeFilter.java: Fix event flow on fallback. 1095 * gnu/xml/stream/XMLParser.java: Don't pop namespace context until 1096 after END_ELEMENT has been read; fix CDATA section detection. 1097 10982005-12-14 Guilhem Lavaux <guilhem@kaffe.org> 1099 1100 * java/io/ObjectOutputStream.java 1101 (writeClassDescription): Throw an InvalidClassException if 1102 fields is INVALID_FIELDS. 1103 (lookup): Added some documentation. 1104 1105 * java/io/ObjectStreamClass.java 1106 (setFields): Make fields as INVALID if we detect duplicate 1107 entries in serialPersistentFields. 1108 11092005-12-14 Roman Kennke <kennke@aicas.com> 1110 1111 Reported by Ingo Proetel <proetel@aicas.com> 1112 * java/awt/Container.java 1113 (visitChild): Use Graphics.hitClip() to check for clip bounds. 1114 Create a new Graphics before painting the child, this protects 1115 the current context from beeing irrevocably changed by the child 1116 component. 1117 11182005-12-14 Tom Tromey <tromey@redhat.com> 1119 1120 PR classpath/25389: 1121 * java/io/File.java (File): Throw IllegalArgumentException if URI is 1122 non-hierarchical. 1123 11242005-12-13 Tom Tromey <tromey@redhat.com> 1125 1126 * java/lang/instrument/ClassDefinition.java: Reformatted. 1127 * java/lang/instrument/UnmodifiableClassException.java: Reformatted. 1128 * java/lang/instrument/IllegalClassFormatException.java: Reformatted. 1129 11302005-12-13 Tom Tromey <tromey@redhat.com> 1131 1132 * java/lang/instrument/ClassDefinition.java (ClassDefinition): Now 1133 public. 1134 11352005-12-13 Lillian Angel <langel@redhat.com> 1136 1137 * javax/swing/text/html/HTMLEditorKit.java 1138 (getHTMLEditorKit): Fixed typo. 1139 11402005-12-13 Lillian Angel <langel@redhat.com> 1141 1142 * javax/swing/text/html/HTMLEditorKit.java 1143 (insertHTML): Fixed catching of exceptions. 1144 (getHTMLDocument): Likewise. 1145 (getHTMLEditorKit): Likewise. 1146 11472005-12-13 Lillian Angel <langel@redhat.com> 1148 1149 * javax/swing/AbstractAction.java: 1150 (putValue): Fixed check, should use .equals when comparing 1151 objects. 1152 * javax/swing/text/StyledEditorKit.java 1153 (UnderlineAction): Fixed name. 1154 (ItalicAction): Likewise. 1155 (BoldAction): Likewise. 1156 (getActions): Added more default actions. 1157 * javax/swing/text/html/HTMLDocument.java: 1158 Removed unneeded import statement. 1159 * javax/swing/text/html/HTMLEditorKit.java: 1160 Added new field 1161 (getActions): Fixed to use augmentList to combine 1162 the actions from the super class with the ones from 1163 this class. 1164 11652005-12-13 Chris Burdess <dog@gnu.org> 1166 1167 * gnu/xml/stream/XIncludeFilter.java, 1168 gnu/xml/stream/XMLStreamWriterImpl.java, 1169 gnu/xml/stream/XMLParser.java: XInclude fixes. 1170 11712005-12-13 Anthony Balkissoon <abalkiss@redhat.com> 1172 1173 * javax/swing/text/html/HTMLDocument.java: 1174 (HTMLReader.charAttr): Initialize this variable. 1175 (HTMLReader.parseBuffer): Initialize this variable. 1176 (HTMLReader.popDepth): New field. 1177 (HTMLReader.pushDepth): Likewise. 1178 (HTMLReader.offset): Likewise. 1179 (HTMLReader.insertTag): Likewise. 1180 (HTMLReader.insertTagEncountered): Likewise. 1181 (HTMLReader.BlockAction.start): Implemented. 1182 (HTMLReader.BlockAction.end): Implemented. 1183 (HTMLReader.CharacterAction.start): Implemented. 1184 (HTMLReader.CharacterAction.end): Implemented. 1185 (HTMLReader(int)): Call other constructor with default arguments. 1186 (HTMLReader(int, int, int, HTML.Tag)): Save the arguments. 1187 (HTMLReader.flush): Implemented. 1188 (HTMLReader.handleText): Implemented. 1189 (HTMLReader.addContent): Implemented. 1190 11912005-12-13 Lillian Angel <langel@redhat.com> 1192 1193 * javax/swing/text/html/HTMLDocument.java 1194 (getElement): Implemented. 1195 (getElement): Implemented. 1196 (setInnerHTML): Added, not fully implemented. 1197 (setOuterHTML): Likewise. 1198 (insertBeforeStart): Likewise. 1199 (insertAfterStart): Likewise. 1200 (insertBeforeEnd): Likewise. 1201 (insertAfterEnd): Likewise. 1202 12032005-12-13 Chris Burdess <dog@gnu.org> 1204 1205 * gnu/xml/stream/SAXParser.java, 1206 gnu/xml/stream/XIncludeFilter.java, 1207 gnu/xml/stream/XMLInputFactoryImpl.java, 1208 gnu/xml/stream/XMLParser.java: Addition of XInclude filter. 1209 12102005-12-13 Lillian Angel <langel@redhat.com> 1211 1212 * javax/swing/text/html/HTMLDocument.java 1213 (getReader): Implemented. 1214 (getReader): Implemented. 1215 12162005-12-13 Lillian Angel <langel@redhat.com> 1217 1218 * javax/swing/text/html/HTMLDocument.java 1219 (BlockElement.getName): Should use getAttribute because the API says 1220 that this function can return null. 1221 (RunElement): New class implemented. 1222 (RunElement.getName): Implemented. 1223 (RunElement.getResolvingParent): Implemented. 1224 12252005-12-13 Lillian Angel <langel@redhat.com> 1226 1227 * javax/swing/text/html/HTMLEditorKit.java 1228 (getHTMLDocument): Fixed implementation to catch exception. 1229 (getHTMLEditorKit): Likewise. 1230 (getElementsAt): Fixed to use recursion. Now all elements 1231 and all their children are added to the array, only using 1232 the default root element. 1233 (getElementsAt): New private helper function. Uses recursion. 1234 (elementCountToTag): Implemented. 1235 (findElementMatchingTag): Implemented. 1236 (parserCallback): Removed TODO comment. Nothing should be done here. 1237 All work for parser, is done in javax/swing/text/html/Parser.java 1238 and HTMLDocument. 1239 (flush): Likewise. 1240 (handleComment): Likewise. 1241 (handleEndOfLineString): Likewise. 1242 (handleEndTag): Likewise. 1243 (handleError): Likewise. 1244 (handleSimpleTag): Likewise. 1245 (handleStartTag): Likewise. 1246 (handleText): Likewise. 1247 (HTMLEditorKit): Implemented and added API documentation. 1248 (getParser): Fixed implementation to use a field to store the parser. 1249 (insertHTML): Implemented. 1250 (read): Implemented. 1251 (write): Partially implemented. 1252 (install): Added code to add the mouse listener. 1253 (deinstall): Added code to remove the mouse listener. 1254 (getActions): Modified FIXME comment. 1255 (getInputAttributes): Likewise. 1256 12572005-12-13 Anthony Balkissoon <abalkiss@redhat.com> 1258 1259 * javax/swing/text/html/HTMLDocument.java: 1260 (tokenThreshold): New field. 1261 (parser): New field. 1262 (getParser): New API method. 1263 (setParser): New API method. 1264 (getTokenThreshold): New API method. 1265 (setTokenThreshold): New API method. 1266 (getReader(int, int, int, HTML.Tag)): New API method, not implemented. 1267 (HTMLReader): New API class, partially implemented. 1268 (HTMLReader.BlockAction): New API class, not implemented. 1269 (HTMLReader.CharacterAction): Likewise. 1270 (HTMLReader.FormAction): Likewise. 1271 (HTMLReader.HiddenAction): Likewise. 1272 (HTMLReader.IsindexAction): Likewise. 1273 (HTMLReader.ParagraphAction): Likewise. 1274 (HTMLReader.PreAction): Likewise. 1275 (HTMLReader.SpecialAction): Likewise. 1276 (HTMLReader.TagAction): New API class, implemented. 1277 * javax/swing/text/html/HTMLEditorKit.java: 1278 (createDefaultDocument): Set the parser for the new HTMLDocument. 1279 12802005-12-13 Mark Wielaard <mark@klomp.org> 1281 1282 * doc/hacking.texinfo: Add @bullet to all @itemize lists. 1283 12842005-12-13 Mark Wielaard <mark@klomp.org> 1285 1286 * doc/hacking.texinfo (Branches): Explain "broken" branches a bit 1287 more. 1288 12892005-12-12 Dalibor Topic <robilad@kaffe.org> 1290 1291 Fixes bug #25353 1292 * m4/acinclude.m4: Added JIKESWARNINGS makefile variable. 1293 Only add +Pno-shadow to JIKESWARNINGS if not using jikes 1.19. 1294 * lib/Makefile.am: Use JIKESWARNINGS instead of explicitely 1295 listing the warnings. 1296 12972005-12-12 Chris Burdess <dog@gnu.org> 1298 1299 * gnu/xml/stream/SAXParser.java, 1300 gnu/xml/stream/SAXParserFactory.java, 1301 gnu/xml/stream/XMLParser.java: SAX parser using StAX implementation. 1302 13032005-12-12 Gary Benson <gbenson@redhat.com> 1304 1305 * java/security/Security.java (setProperty): Spelling correction. 1306 * java/security/Security.java (setProperty): Allow null values. 1307 13082005-12-12 Roman Kennke <kennke@aicas.com> 1309 1310 * javax/swing/ViewportLayout.java 1311 (layoutContainer): Always check and adjust the size, not only when 1312 portSize >= view.minSize. 1313 13142005-12-12 Roman Kennke <kennke@aicas.com> 1315 1316 * javax/swing/JComponent.java 1317 (getPreferredSize): Don't check for the minimumSize. According to 1318 a mauve test, this is not necessary. 1319 13202005-12-12 Chris Burdess <dog@gnu.org> 1321 1322 * gnu/xml/stream/XMLInputFactoryImpl.java, 1323 gnu/xml/stream/CRLFReader.java, 1324 gnu/xml/stream/XMLInputStreamReader.java, 1325 gnu/xml/stream/XMLParser.java: New StAX parser. 1326 13272005-12-11 Mark Wielaard <mark@klomp.org> 1328 1329 * doc/hacking.texinfo: Add section on branches. 1330 13312005-12-11 Guilhem Lavaux <guilhem@kaffe.org> 1332 1333 * lib/copy-vmresources.sh.in: Added some '.' after find. 1334 13352005-12-09 Tom Tromey <tromey@redhat.com> 1336 1337 * javax/print/attribute/standard/Chromaticity.java 1338 (getCategory): Genericized. 1339 * javax/print/attribute/standard/ColorSupported.java 1340 (getCategory): Genericized. 1341 * javax/print/attribute/standard/Compression.java 1342 (getCategory): Genericized. 1343 * javax/print/attribute/standard/Copies.java 1344 (getCategory): Genericized. 1345 * javax/print/attribute/standard/CopiesSupported.java 1346 (getCategory): Genericized. 1347 * javax/print/attribute/standard/DateTimeAtCompleted.java 1348 (getCategory): Genericized. 1349 * javax/print/attribute/standard/DateTimeAtCreation.java 1350 (getCategory): Genericized. 1351 * javax/print/attribute/standard/DateTimeAtProcessing.java 1352 (getCategory): Genericized. 1353 * javax/print/attribute/standard/Destination.java 1354 (getCategory): Genericized. 1355 * javax/print/attribute/standard/DocumentName.java 1356 (getCategory): Genericized. 1357 * javax/print/attribute/standard/Fidelity.java 1358 (getCategory): Genericized. 1359 * javax/print/attribute/standard/Finishings.java 1360 (getCategory): Genericized. 1361 * javax/print/attribute/standard/JobHoldUntil.java 1362 (getCategory): Genericized. 1363 * javax/print/attribute/standard/JobImpressions.java 1364 (getCategory): Genericized. 1365 * javax/print/attribute/standard/JobImpressionsCompleted.java 1366 (getCategory): Genericized. 1367 * javax/print/attribute/standard/JobImpressionsSupported.java 1368 (getCategory): Genericized. 1369 * javax/print/attribute/standard/JobKOctets.java 1370 (getCategory): Genericized. 1371 * javax/print/attribute/standard/JobKOctetsProcessed.java 1372 (getCategory): Genericized. 1373 * javax/print/attribute/standard/JobKOctetsSupported.java 1374 (getCategory): Genericized. 1375 * javax/print/attribute/standard/JobMediaSheets.java 1376 (getCategory): Genericized. 1377 * javax/print/attribute/standard/JobMediaSheetsCompleted.java 1378 (getCategory): Genericized. 1379 * javax/print/attribute/standard/JobMediaSheetsSupported.java 1380 (getCategory): Genericized. 1381 * javax/print/attribute/standard/JobMessageFromOperator.java 1382 (getCategory): Genericized. 1383 * javax/print/attribute/standard/JobName.java 1384 (getCategory): Genericized. 1385 * javax/print/attribute/standard/JobOriginatingUserName.java 1386 (getCategory): Genericized. 1387 * javax/print/attribute/standard/JobPriority.java 1388 (getCategory): Genericized. 1389 * javax/print/attribute/standard/JobPrioritySupported.java 1390 (getCategory): Genericized. 1391 * javax/print/attribute/standard/JobSheets.java 1392 (getCategory): Genericized. 1393 * javax/print/attribute/standard/JobState.java 1394 (getCategory): Genericized. 1395 * javax/print/attribute/standard/JobStateReason.java 1396 (getCategory): Genericized. 1397 * javax/print/attribute/standard/JobStateReasons.java 1398 (getCategory): Genericized. 1399 * javax/print/attribute/standard/Media.java 1400 (getCategory): Genericized. 1401 * javax/print/attribute/standard/MediaPrintableArea.java 1402 (getCategory): Genericized. 1403 * javax/print/attribute/standard/MediaSize.java 1404 (getCategory): Genericized. 1405 * javax/print/attribute/standard/MultipleDocumentHandling.java 1406 (getCategory): Genericized. 1407 * javax/print/attribute/standard/NumberOfDocuments.java 1408 (getCategory): Genericized. 1409 * javax/print/attribute/standard/NumberOfInterveningJobs.java 1410 (getCategory): Genericized. 1411 * javax/print/attribute/standard/NumberUp.java 1412 (getCategory): Genericized. 1413 * javax/print/attribute/standard/NumberUpSupported.java 1414 (getCategory): Genericized. 1415 * javax/print/attribute/standard/OrientationRequested.java 1416 (getCategory): Genericized. 1417 * javax/print/attribute/standard/OutputDeviceAssigned.java 1418 (getCategory): Genericized. 1419 * javax/print/attribute/standard/PDLOverrideSupported.java 1420 (getCategory): Genericized. 1421 * javax/print/attribute/standard/PageRanges.java 1422 (getCategory): Genericized. 1423 * javax/print/attribute/standard/PagesPerMinute.java 1424 (getCategory): Genericized. 1425 * javax/print/attribute/standard/PagesPerMinuteColor.java 1426 (getCategory): Genericized. 1427 * javax/print/attribute/standard/PresentationDirection.java 1428 (getCategory): Genericized. 1429 * javax/print/attribute/standard/PrintQuality.java 1430 (getCategory): Genericized. 1431 * javax/print/attribute/standard/PrinterInfo.java 1432 (getCategory): Genericized. 1433 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java 1434 (getCategory): Genericized. 1435 * javax/print/attribute/standard/PrinterLocation.java 1436 (getCategory): Genericized. 1437 * javax/print/attribute/standard/PrinterMakeAndModel.java 1438 (getCategory): Genericized. 1439 * javax/print/attribute/standard/PrinterMessageFromOperator.java 1440 (getCategory): Genericized. 1441 * javax/print/attribute/standard/PrinterMoreInfo.java 1442 (getCategory): Genericized. 1443 * javax/print/attribute/standard/PrinterMoreInfoManufacturer.java 1444 (getCategory): Genericized. 1445 * javax/print/attribute/standard/PrinterName.java 1446 (getCategory): Genericized. 1447 * javax/print/attribute/standard/PrinterResolution.java 1448 (getCategory): Genericized. 1449 * javax/print/attribute/standard/PrinterState.java 1450 (getCategory): Genericized. 1451 * javax/print/attribute/standard/PrinterStateReason.java 1452 (getCategory): Genericized. 1453 * javax/print/attribute/standard/PrinterStateReasons.java 1454 (getCategory): Genericized. 1455 * javax/print/attribute/standard/PrinterURI.java 1456 (getCategory): Genericized. 1457 * javax/print/attribute/standard/QueuedJobCount.java 1458 (getCategory): Genericized. 1459 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java 1460 (getCategory): Genericized. 1461 * javax/print/attribute/standard/RequestingUserName.java 1462 (getCategory): Genericized. 1463 * javax/print/attribute/standard/Severity.java 1464 (getCategory): Genericized. 1465 * javax/print/attribute/standard/SheetCollate.java 1466 (getCategory): Genericized. 1467 * javax/print/attribute/standard/Sides.java 1468 (getCategory): Genericized. 1469 * javax/print/attribute/HashAttributeSet.java (get): Genericized. 1470 (remove): Likewise. 1471 * javax/print/attribute/Attribute.java (getCategory): Fixed return 1472 type. 1473 14742005-12-06 Anthony Balkissoon <abalkiss@redhat.com> 1475 1476 * javax/swing/BoxLayout.java: 1477 (maximumLayoutSize): Add Insets to Dimension and then check for 1478 overflow. 1479 14802005-12-06 Thomas Fitzsimmons <fitzsim@redhat.com> 1481 1482 * java/awt/GridBagLayout.java (ArrangeGrid): Use info rather than 1483 layoutInfo in the component for loop. Cache layout information 1484 after resizing components. 1485 14862005-12-06 Anthony Balkissoon <abalkiss@redhat.com> 1487 1488 Fixes bug #25233 1489 * javax/swing/BoxLayout.java: 1490 (maximumLayoutSize): Don't add the Insets to the Dimension calculated 1491 in checkTotalRequirements(). 1492 14932005-12-06 Roman Kennke <kennke@aicas.com> 1494 1495 PR classpath/25256 1496 * java/awt/Container.java 1497 (LightweightDispatcher.acquireComponentForMouseEvent): Fixed 1498 the MOUSE_RELEASED flag and || conditional. 1499 15002005-12-06 Christian Thalinger <twisti@complang.tuwien.ac.at> 1501 1502 * java/lang/String.java (String): Better out-of-bounds and 1503 overflow checks. 1504 15052005-12-06 Mark Wielaard <mark@klomp.org> 1506 1507 * javax/swing/LookAndFeel.java (toString): Include description and 1508 Class name. 1509 15102005-12-06 Anthony Balkissoon <abalkiss@redhat.com> 1511 1512 * java/awt/BorderLayout.java: 1513 (maximumLayoutSize): Don't calculate anything, just return a new 1514 Dimension with Integer.MAX_VALUE for both dimensions. 1515 15162005-12-06 Roman Kennke <kennke@aicas.com> 1517 1518 * javax/swing/JComponent.java 1519 (updateUI): Removed unneeded warning. 1520 15212005-12-06 Roman Kennke <kennke@aicas.com> 1522 1523 PR classpath/25256 1524 * java/awt/Container.java 1525 (LightweightDispatcher.acquireComponentForMouseEvent): When we 1526 receive a MOUSE_RELEASED then dispatch it to the same component 1527 that received the original MOUSE_PRESSED. This is needed for 1528 correct dragging behaviour. 1529 15302005-12-06 Roman Kennke <kennke@aicas.com> 1531 1532 * javax/swing/ViewportLayout.java 1533 (layoutContainer): Don't set the view to it's minimumSize when the 1534 port is larger than the view. Rather it should left at it's 1535 preferred size. Also, I added a comment explaining a possible bug 1536 in this method. 1537 15382005-12-06 Tom Tromey <tromey@redhat.com> 1539 1540 * javax/security/auth/Subject.java (Subject): Genericized. 1541 (getPrincipals): Likewise. 1542 (getPrivateCredentials): Likewise. 1543 (getPublicCredentials): Likewise. 1544 (getPublicCredentials): Likewise. 1545 15462005-12-06 Tom Tromey <tromey@redhat.com> 1547 1548 * javax/imageio/ImageIO.java (ImageReaderIterator): Genericized. 1549 Added new constructor. 1550 (ImageWriterIterator): Likewise. 1551 (getReadersByFilter): Genericized. 1552 (getWritersByFilter): Likewise. 1553 (getImageReadersBySuffix): Likewise. 1554 (getImageWriters): Likewise. 1555 (hasNext): Likewise. 1556 * javax/print/attribute/AttributeSetUtilities.java 1557 (verifyAttributeCategory): Genericized. 1558 (verifyAttributeValue): Likewise. 1559 (verifyCategoryForValue): Likewise. 1560 * javax/print/attribute/AttributeSet.java (containsKey): Genericized. 1561 (get): Likewise. 1562 (remove): Likewise. 1563 * javax/print/attribute/Attribute.java (getCategory): Genericized. 1564 * javax/print/attribute/HashAttributeSet.java (HashAttributeSet): 1565 Genericized. 1566 (containsKey): Likewise. 1567 * javax/imageio/spi/ServiceRegistry.java (deregisterAll): 1568 Genericized. 1569 * javax/imageio/spi/IIOServiceProvider.java (onDeregistration): 1570 Genericized. 1571 (onRegistration): Likewise. 1572 * javax/imageio/metadata/IIOMetadataFormatImpl.java (getObjectClass): 1573 Genericized. 1574 (getObjectMaxValue): Likewise. 1575 (getObjectMinValue): Likewise. 1576 * javax/imageio/ImageIO.java (getImageReadersBySuffix): Genericized. 1577 (getImageWriters): Likewise. 1578 15792005-12-05 Casey Marshall <csm@gnu.org> 1580 1581 * native/jni/classpath/jcl.h (environ): define, or declare 1582 'extern.' 1583 * native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>. 1584 Remove 'extern' define. 1585 * native/jni/java-lang/java_lang_VMSystem.c 1586 (Java_java_lang_VMSystem_environ): don't declare 'environ.' 1587 15882005-12-05 Tom Tromey <tromey@redhat.com> 1589 1590 * java/lang/instrument/Instrumentation.java (redefineClasses): Javadoc 1591 fix. 1592 * java/lang/instrument/ClassFileTransformer.java (transform): Javadoc 1593 fix. 1594 15952005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com> 1596 1597 * vm/reference/java/lang/VMInstrumentationImpl.java 1598 (redefineClasses): Added an extra parameter of type 1599 java.lang.instrument.Instrument. 1600 * java/lang/InstrumentationImpl.java 1601 (redefineClasses): Added the Instrumentation object 1602 to the arguments of VMInstrumentationImpl.redefineClasses 1603 call. 1604 16052005-12-05 Mark Wielaard <mark@klomp.org> 1606 1607 Fixes bug classpath/25257 1608 * lib/Makefile.am (FOUND_ECJ): Remove -warn typeHiding, unchecked and 1609 varargsCast flags for non-generic code. 1610 16112005-12-04 Guilhem Lavaux <guilhem@kaffe.org> 1612 1613 * java/net/URL.java (URL): Check whether context is null before 1614 accessing ph. 1615 16162005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com> 1617 1618 * doc/vmintegration.texinfo: Added subsection in the classpath 1619 hooks for the java.lang.VMInstrumentationImpl class. 1620 16212005-12-04 Mark Wielaard <mark@klomp.org> 1622 1623 * javax/swing/TransferHandler 1624 (TransferAction.actionPerformed): Beep and return when clipboard 1625 is null. 1626 (getClipboard): Return null when access denied. 1627 (clipboard): Removed static field. 1628 16292005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com> 1630 1631 * java/lang/instrument: New directory. 1632 * java/lang/instrument/ClassDefinition.java: 1633 New file. 1634 * java/lang/instrument/ClassFileTransformer.java: 1635 New file. 1636 * java/lang/instrument/IllegalClassFormatException.java: 1637 New file. 1638 * java/lang/instrument/Instrumentation.java: 1639 New file. 1640 * java/lang/instrument/UnmodifiableClassException.java: 1641 New file. 1642 * java/lang/InstrumentationImpl.java: 1643 New file. 1644 * vm/reference/java/lang/VMInstrumentationImpl.java: 1645 New file. 1646 16472005-12-03 Mark Wielaard <mark@klomp.org> 1648 1649 * configure.ac (AC_CONFIG_FILES): Removed 1650 native/jni/sampled-jack/Makefile. 1651 (AC_ARG_ENABLE [jack]): Removed. 1652 16532005-12-02 Tom Tromey <tromey@redhat.com> 1654 1655 * javax/sound/sampled/Port.java (Info): Genericized. 1656 * javax/sound/sampled/Line.java (Info): Genericized. 1657 (getLineClass): Likewise. 1658 * javax/sound/sampled/DataLine.java (Info): Genericized. 1659 * javax/sound/sampled/AudioFormat.java (AudioFormat): Genericized. 1660 (properties): Likewise. 1661 * javax/sound/sampled/AudioFileFormat.java (AudioFileFormat): 1662 Genericized. 1663 (properties): Likewise. 1664 16652005-12-02 Tom Tromey <tromey@redhat.com> 1666 1667 * javax/naming/directory/InitialDirContext.java (search): Genericized. 1668 * javax/naming/directory/BasicAttributes.java (getAll): Genericized. 1669 (getIDs): Likewise. 1670 * javax/naming/directory/BasicAttribute.java (getAll): Fixed return 1671 type. 1672 * javax/naming/InitialContext.java: Genericized. 1673 (list): Likewise. 1674 (listBindings): Likewise. 1675 * javax/naming/CompoundName.java (getAll): Genericized. 1676 * javax/naming/CompositeName.java (getAll): Genericized. 1677 16782005-12-02 Anthony Balkissoon <abalkiss@redhat.com> 1679 1680 * javax/swing/text/InternationalFormatter.java: 1681 (valueToString): If argument is null return empty String. 1682 16832005-12-02 Anthony Balkissoon <abalkiss@redhat.com> 1684 1685 * javax/swing/JFormattedTextField.java: Added docs all over. 1686 (AbstractFormatter.clone): Implemented. 1687 (AbstractFormatter.getActions): Implemented. 1688 (AbstractFormatter.getDocumentFilter): Implemented. 1689 (AbstractFormatter.getNavigationFilter): Implemented. 1690 (AbstractFormatter.install): Install the DocumentFilter and 1691 NavigationFilter. Properly catch ParseException. Added FIXME to add 1692 custom Actions to the JFormattedTextField. 1693 (AbstractFormatter.uninstall): Remove the DocumentFilter and 1694 NavigationFilter. Added FIXME to remove the custom Actions. 1695 (JFormattedTextField(AbstractFormatter)): Call the single argument 1696 constructor that takes in an AbstractFormatterFactory. This avoids a 1697 call to setValue that shouldn't occur. 1698 (JFormattedTextField(AbstractFormatterFactory): Call 1699 setFormatterFactory instead of calling the 2-argument constructor which 1700 would also make an unwanted call to setValue. 1701 (JFormattedTextField(AbstractFormatterFactory, Object)): Switch the 1702 order of the calls to setValue and setFormatterFactory. This ensures 1703 that the passed in factory is actually the one used, not one generated 1704 by setValue. 1705 (commitEdit): Implemented. 1706 (setFormatter): Removed incorrect early escape if the parameter is the 1707 same as the current formatter. 1708 (setFormatterFactory): If formatterFactory is null set the formatter to 1709 null as well. 1710 (setValue): Don't set the text here, this is done when we call 1711 setFormatter and it calls AbstractFormatter.install. Create a 1712 formatter factory if one doesn't exist already. Call setFormatter to 1713 get an appropriate formatter from the factory. 1714 (createFormatter): Changed this to createFormatterFactory because we 1715 should return a factory, not just a formatter. 1716 (createFormatterFactory): New method adapted from createFormatter. 1717 17182005-12-01 Tom Tromey <tromey@redhat.com> 1719 1720 * javax/imageio/spi/RegisterableService.java (onRegistration): 1721 Genericized. 1722 (onDeregistration): Likewise. 1723 * javax/imageio/spi/ServiceRegistry.java (ServiceRegistry): 1724 Genericized. 1725 (deregisterServiceProvider): Likewise. 1726 (getCategories): Likewise. 1727 (getServiceProviderByClass): Likewise. 1728 (getServiceProviders): Likewise. 1729 (lookupProviders): Likewise. 1730 (registerServiceProvider): Likewise. 1731 (registerServiceProviders): Likewise. 1732 (setOrdering): Likewise. 1733 (unsetOrdering): Likewise. 1734 * javax/imageio/spi/ImageOutputStreamSpi.java (outputClass): 1735 Genericized. 1736 (ImageOutputStreamSpi): Likewise. 1737 (getOutputClass): Likewise. 1738 * javax/imageio/spi/ImageInputStreamSpi.java (inputClass): 1739 Genericized. 1740 (ImageInputStreamSpi): Likewise. 1741 (getInputClass): Likewise. 1742 * javax/imageio/metadata/IIOMetadataFormatImpl.java (addAttribute): 1743 Genericized. 1744 (addObjectValue): Likewise. 1745 * javax/imageio/metadata/IIOMetadataFormat.java (getObjectClass): 1746 Genericized. 1747 (getObjectMaxValue): Likewise. 1748 (getObjectMinValue): Likewise. 1749 * javax/imageio/ImageIO.java (getImageReaders): Genericized. 1750 (getImageReadersByFormatName): Likewise. 1751 (getImageReadersByMIMEType): Likewise. 1752 (getImageTranscoders): Likewise. 1753 (getImageWritersByFormatName): Likewise. 1754 (getImageWritersByMIMEType): Likewise. 1755 (getImageWritersBySuffix): Likewise. 1756 (getImageReader): Use getOriginatingProvider. 1757 (getImageWriter): Likewise. 1758 * javax/imageio/ImageWriter.java (progressListeners): Genericized. 1759 (warningListeners): Likewise. 1760 (warningLocales): Likewise. 1761 (prepareInsertEmpty): Likewise. 1762 (prepareWriteEmpty): Likewise. 1763 * javax/imageio/ImageReader.java (progressListeners): Genericized. 1764 (updateListeners): Likewise. 1765 (warningListeners): Likewise. 1766 (warningLocales): Likewise. 1767 (getDestination): Likewise. 1768 (getImageMetadata): Likewise. 1769 (getImageTypes): Likewise. 1770 (getStreamMetadata): Likewise. 1771 (readAll): Likewise. 1772 * javax/imageio/IIOImage.java (IIOImage): Genericized. 1773 (thumbnails): Likewise. 1774 (getThumbnails): Likewise. 1775 (setThumbnails): Likewise. 1776 17772005-12-01 Anthony Green <green@redhat.com> 1778 1779 PR bootstrap/25207 1780 * configure.ac: Make sure we have an alsa library in addition to 1781 the headers. This extra test is required for systems with 1782 multilibs. 1783 17842005-11-30 Anthony Balkissoon <abalkiss@redhat.com> 1785 1786 * javax/swing/JFormattedTextField.java: 1787 (AbstractFormatter.install): Try to set the text of the formatted text 1788 field using this formatter. 1789 (FormatterFactoryWrapper): Removed this unneeded class, this is handled 1790 by DefaultFormatterFactory now. 1791 (formatter): New field. 1792 (JFormattedTextField(Format)): Implemented. 1793 (JFormattedTextField(AbstractFormatter)): Instantiate a 1794 DefaultFormatterFactory instead of a FormatterFactoryWrapper. 1795 (JFormattedTextField(AbstractFormatterFactory, Object)): Call setValue 1796 and setFormatterFactory instead of setting variables directly because 1797 more needs to be done than just setting the value of the variables. 1798 (JFormattedTextField(Object value)): Call setValue instead of setting 1799 the variable directly. 1800 (getAppropriateFormatterFactory): New implementation method. 1801 (getFormatter): Don't use the formatter factory here, just return 1802 the cached formatter. 1803 (processFocusEvent): Set the formatter to the appropriate one as 1804 determined by the formatter factory. 1805 (setFormatter): Don't get the old formatter from the factory, just use 1806 the cached formatter. Uninstall the old formatter. Install the new 1807 formatter. Cache the new formatter. Don't create a new formatter 1808 factory. 1809 (setFormatterFactory): Set the formatter according to the new formatter 1810 factory. 1811 (setValue): Moved the setting of the value variable to above the call 1812 to createFormatter so that an appropriate formatter is created. Cache 1813 the formatter that is created. 1814 (createFormatter): If argument is a Number, use a NumberFormatter. 1815 * javax/swing/text/DefaultFormatter.java: 1816 (valueToString): If argument is null return empty String. 1817 18182005-11-30 Lillian Angel <langel@redhat.com> 1819 1820 * javax/swing/plaf/basic/BasicFileChooserUI.java 1821 (actionPerformed): Added check to determine if 1822 parentPath is null. 1823 (actionPerformed): Set selected file and files to null 1824 if 'cancel' was clicked. 1825 (mouseClicked): Cleaned up code a bit and set the selected 1826 files if multi-selection is enabled. Also, added code to 1827 set the file name in the text field if the selection mode 1828 is DIRECTORIES_ONLY. 1829 * javax/swing/plaf/metal/MetalFileChooserUI.java 1830 (actionPerformed): No need to set fileListPanel, it is 1831 set in createList. 1832 (actionPerformed): Likewise. 1833 (propertyChange): If the dialog type is SAVE, then the 1834 approve button text should change depending on what 1835 is currently selected. It should say 'Open', if a 1836 directory is currently selected. 1837 (actionPerformed): Fixed check. 1838 (mouseClicked): Added code to set the file name in 1839 the text field if the selection mode 1840 is DIRECTORIES_ONLY. 1841 (editFile): Adjusted y position of editing text field in table. 1842 (installListeners): Added code to initially install listeners 1843 to the list. 1844 (createList): Cleaned up and made more efficent. 1845 (createDetailsView): No need to set intercellSpacing. 1846 (updateTable): Cleaned up and made more efficent. 1847 18482005-11-30 Anthony Balkissoon <abalkiss@redhat.com> 1849 1850 Fixes bug #25165 1851 * java/awt/Component.java: 1852 (processFocusEvent): Don't check if focus opposite is the same as the 1853 receiving Component, this is now done in dispatchEventImpl. 1854 (dispatchEventImpl): Don't dispatch FocusEvents whose opposite 1855 Components are the same. 1856 18572005-11-30 Wolfgang Baer <WBaer@gmx.de> 1858 1859 * javax/print/attribute/standard/Compression.java: 1860 Added java docs to class and methods. 1861 (getStringTable): New overridden method. 1862 (getEnumValueTable): New overridden method. 1863 (stringTable): New field. 1864 (enumValueTable): New field. 1865 * javax/print/attribute/standard/ColorSupported.java: 1866 Added java docs to class and methods. 1867 (getStringTable): New overridden method. 1868 (getEnumValueTable): New overridden method. 1869 (stringTable): New field. 1870 (enumValueTable): New field. 1871 * javax/print/attribute/standard/Chromaticity.java: 1872 Added java docs to class and methods. 1873 (getStringTable): New overridden method. 1874 (getEnumValueTable): New overridden method. 1875 (stringTable): New field. 1876 (enumValueTable): New field. 1877 18782005-11-30 Anthony Balkissoon <abalkiss@redhat.com> 1879 1880 * java/awt/Component.java: 1881 (processFocusEvent): Don't dispatch events if the focus opposite is the 1882 same as the receiving Component. 1883 18842005-11-30 Robert Schuster <robertschuster@fsfe.org> 1885 1886 * java/beans/PropertyChangeSupport.java: 1887 (fireIndexedPropertyChange): Completed statement. 1888 18892005-11-30 Robert Schuster <robertschuster@fsfe.org> 1890 1891 * java/beans/PropertyChangeSupport.java: 1892 (fireIndexedPropertyChange): Removed argument checking. 1893 18942005-11-30 Jan Roehrich <jan@roehrich.info> 1895 1896 * java/awt/datatransfer/SystemFlavorMap.java 1897 (isJavaMIMEType): implemented. 1898 (GNU_JAVA_MIME_PREFIX): added constant. 1899 (decodeJavaMIMEType): implemented. 1900 (encodeJavaMIMEType): implemented. 1901 (encodeDataFlavor): implemented. 1902 19032005-11-30 Jan Roehrich <jan@roehrich.info> 1904 1905 * java/awt/datatransfer/SystemFlavorMap.java 1906 Some minor codestyle fixes. 1907 (nativeToFlavorMap): removed generalization. 1908 (flavorToNativeMap): likewise. 1909 19102005-11-29 Tom Tromey <tromey@redhat.com> 1911 1912 * javax/swing/text/StyleContext.java (removeAttributes): Genericized. 1913 (getAttributeNames): Likewise. 1914 * javax/swing/text/SimpleAttributeSet.java (getAttributeNames): 1915 Genericized. 1916 (removeAttributes): Likewise. 1917 * javax/swing/text/DefaultStyledDocument.java (getStyleNames): 1918 Genericized. 1919 * javax/swing/text/AbstractDocument.java (getAttributeNames): 1920 Genericized. 1921 (removeAttributes): Likewise. 1922 * javax/swing/table/TableColumnModel.java (getColumns): Genericized. 1923 * javax/swing/table/AbstractTableModel.java (getColumnClass): 1924 Genericized. 1925 * javax/swing/tree/VariableHeightLayoutCache.java 1926 (getVisiblePathsFrom): Genericized. 1927 * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom): 1928 Genericized. 1929 * javax/swing/undo/StateEdit.java (postState): Genericized. 1930 (preState): Likewise. 1931 * javax/security/sasl/SaslServerFactory.java (createSaslServer): 1932 Genericized. 1933 * javax/security/sasl/SaslClientFactory.java (createSaslClient): 1934 Genericized. 1935 (getMechanismNames): Likewise. 1936 * javax/security/sasl/Sasl.java (createSaslClient): Genericized. 1937 (createSaslServer): Likewise. 1938 (getSaslClientFactories): Likewise. 1939 (getSaslServerFactories): Likewise. 1940 * javax/security/auth/spi/LoginModule.java (initialize): Genericized. 1941 * javax/security/auth/login/AppConfigurationEntry.java 1942 (AppConfigurationEntry): Genericized. 1943 (getOptions): Likewise. 1944 * javax/sql/RowSet.java (getTypeMap): Genericized. 1945 (setTypeMap): Likewise. 1946 * java/sql/Array.java (getResultSet): Genericized. 1947 * java/security/cert/X509CertSelector.java (getExtendedKeyUsage): 1948 Genericized. 1949 * java/security/Permissions.java (elements): Genericized. 1950 * java/rmi/server/RMIClassLoader.java (loadClass): Genericized. 1951 19522005-11-29 Lillian Angel <langel@redhat.com> 1953 1954 * javax/swing/plaf/metal/MetalFileChooserUI.java 1955 (actionPerformed): Changed to update list with all 1956 selected intervals, and to use fileTablePanel instead. 1957 (actionPerformed): Likewise. 1958 (propertyChange): Changed to use addSelectionInterval 1959 instead of setSelectionInterval. 1960 (uninstallComponents): Uninstalled fileTablePanel. 1961 (installListeners): Moved code to createList, so listeners 1962 are installed for every list that may be created. 1963 (createList): Added code to remove and install listeners on 1964 list. 1965 (createDetailsView): Changed to use own panel. Also, added 1966 code to set the selection mode. 1967 19682005-11-29 Lillian Angel <langel@redhat.com> 1969 1970 * javax/swing/plaf/metal/MetalFileChooserUI.java 1971 (mouseClicked): Fixed checks to prevent NPE. 1972 19732005-11-29 Lillian Angel <langel@redhat.com> 1974 1975 * javax/swing/JViewport.java 1976 (setView): Added check to prevent NPE. 1977 * javax/swing/plaf/basic/BasicFileChooserUI.java 1978 (ListLabelRenderer): Removed class, never used. 1979 * javax/swing/plaf/metal/MetalFileChooserUI.java 1980 (DetailTableModel): Removed, not needed. 1981 (TableFileRenderer): Implemented to override some color 1982 and icon defaults in the default table renderer. 1983 (actionPerformed): Set selection in list, if something was 1984 selected in the table. 1985 (actionPerformed): Set selection in table, if something was 1986 selected in the list. 1987 (propertyChange): Added code to set the selection for the table, 1988 as well as the list. This depends on what view we are in. 1989 (editFile): Fixed to call scrollRectToVisible instead. 1990 (TableClickListener): Implemented new private class to take 1991 care of double clicking (changing/opening directories/files) 1992 and single clicking (editing). 1993 (TableClickListener.mouseClicked): Implemented 1994 (TableClickListener.editFile): Implemented 1995 (TableClickListener.completeEditing): Implemented 1996 (TableClickListener.EditingActionListener): Implemented 1997 (TableClickListener.closeDialog): Implemented 1998 (installListeners): Added code to initialize listener fields. 1999 (uninstallListeners): Added code to uninstall all listeners. 2000 (createList): Changed to use scrollPane field. 2001 (createDetailsView): Changed to use updateTable function. Set 2002 some characteristics for the table: column selection, renderer, 2003 listener etc. 2004 (updateTable): Implemented to changed/add/remove rows from the 2005 table, as needed. 2006 (removeControlButtons): Added repaint, revalidate calls. 2007 (ensureFileIsVisible): Removed. Does the same thing as super. 2008 (rescanCurrentDirectory): Added check for different views. 2009 (setDirectorySelected): Removed. Does the same thing as super. 2010 (getDirectoryName): Removed. Does the same thing as super. 2011 (setDirectoryName): Removed. Does the same thing as super. 2012 (valueChanged): Changed comment. 2013 20142005-11-29 Anthony Balkissoon <abalkiss@redhat.com> 2015 2016 * javax/swing/text/DefaultFormatterFactory.java: New class. 2017 20182005-11-29 Tom Tromey <tromey@redhat.com> 2019 2020 PR classpath/25141: 2021 * java/net/URL.java (URL): Use context's stream handler. 2022 20232005-11-29 Jan Roehrich <jan@roehrich.info> 2024 2025 * java/awt/datatransfer/SystemFlavorMap.java 2026 (nativeToFlavorMap): added field. 2027 (flavorToNativeMap): added field. 2028 (addFlavorForUnencodedNative): added method. 2029 (setNativesForFlavor): added method. 2030 (addUnencodedNativeForFlavor): added method. 2031 (setFlavorsForNative): added method. 2032 20332005-11-28 Lillian Angel <langel@redhat.com> 2034 2035 * javax/swing/plaf/metal/MetalFileChooserUI.java 2036 (DetailTableModel): New Class implemented to override selected 2037 methods in DefaultTableModel. More methods will be added later. 2038 (ListViewActionListener): New class implemented. 2039 (DetailViewActionListener): New class implemented. 2040 (completeEditing): Set boolean to false. 2041 (mouseClicked): Added check to make sure editing only starts when 2042 left mouse button is clicked. 2043 (editFile): Set boolean to true. 2044 (actionPerformed): Set boolean to false. 2045 (createList): Commented out wrap code until JList bug is fixed. 2046 (createActionMap): Added action for cancelSelection. 2047 (createDetailsView): Partially implemented to display details view 2048 table. 2049 (formatSize): Private function added to convert bytes to an 2050 appropriate size String for the table. 2051 (getPreferredSize): Implemented. 2052 (getMinimumSize): Implemented. 2053 (addControlButtons): Added action listeners for detailButton and 2054 listButton. 2055 (setDirectorySelected): Added API documentation. 2056 (getDirectoryName): Likewise. 2057 (setDirectoryName): Likewise. 2058 (valueChanged): Likewise. 2059 20602005-11-28 Lillian Angel <langel@redhat.com> 2061 2062 * javax/swing/JList.java 2063 (init): Layout should not be set to FlowLayout. JDK sets it to null. 2064 * javax/swing/plaf/metal/MetalFileChooserUI.java 2065 (mouseClicked): Changed to call completeEditing when double-clicked. 2066 (editFile): Fixed to add an action listener to the editing field. 2067 Editing for filechooser now works. 2068 (completeEditing): Fixed renaming to create a new file object and 2069 rescan the directory if renaming was successful. Added code to cancel 2070 editing as well. 2071 (EditingActionListener): New class to listen for notify action and 2072 to complete editing when enter is pressed. Otherwise, editing is 2073 cancelled. 2074 * javax/swing/plaf/metal/MetalSplitPaneDivider.java 2075 (MetalDividerLayout): Changed to public. 2076 (MetalDividerLayout.init): Likewise. 2077 20782005-11-27 Christian Thalinger <twisti@complang.tuwien.ac.at> 2079 2080 * java/util/logging/XMLFormatter.java (format): Don't call 2081 getMillis() twice. 2082 20832005-11-27 Tom Tromey <tromey@redhat.com> 2084 2085 * javax/print/attribute/standard/PrinterStateReasons.java: 2086 Genericized. 2087 * javax/print/attribute/standard/JobStateReasons.java: Genericized. 2088 * javax/print/PrintService.java (getAttribute): Genericized. 2089 (getDefaultAttributeValue): Likewise. 2090 (getSupportedAttributeCategories): Likewise. 2091 (getSupportedAttributeValues): Likewise. 2092 (isAttributeValueSupported): Likewise. 2093 20942005-11-27 Tom Tromey <tromey@redhat.com> 2095 2096 * javax/naming/spi/StateFactory.java (getStateToBind): Genericized. 2097 * javax/naming/spi/Resolver.java (resolveToClass): Genericized. 2098 * javax/naming/spi/ObjectFactoryBuilder.java (createObjectFactory): 2099 Genericized. 2100 * javax/naming/spi/NamingManager.java (getInitialContext): 2101 Genericized. 2102 (getURLContext): Likewise. 2103 (getObjectInstance): Likewise. 2104 (getStateToBind): Likewise. 2105 * javax/naming/spi/InitialContextFactoryBuilder.java 2106 (createInitialContextFactory): Genericized. 2107 * javax/naming/spi/InitialContextFactory.java (getInitialContext): 2108 Genericized. 2109 * javax/naming/spi/DirectoryManager.java (getObjectInstance): 2110 Genericized. 2111 (getStateToBind): Likewise. 2112 * javax/naming/spi/DirStateFactory.java (getStateToBind): 2113 Genericized. 2114 * javax/naming/spi/ObjectFactory.java (getObjectInstance): 2115 Genericized. 2116 * javax/naming/spi/DirObjectFactory.java (getObjectInstance): 2117 Genericized. 2118 * javax/naming/ldap/LdapReferralException.java (getReferralContext): 2119 Genericized. 2120 * javax/naming/ldap/ControlFactory.java (getControlInstance): 2121 Genericized. 2122 * javax/naming/ldap/InitialLdapContext.java (InitialLdapContext): 2123 Genericized. 2124 * javax/naming/directory/DirContext.java (search): Genericized. 2125 * javax/naming/directory/Attributes.java (getAll): Genericized. 2126 (getIDs): Likewise. 2127 * javax/naming/directory/Attribute.java (getAll): Genericized. 2128 * javax/naming/directory/BasicAttribute.java (values): Genericized. 2129 (getAll): Likewise. 2130 * javax/naming/directory/InitialDirContext.java (InitialDirContext): 2131 Genericized. 2132 * javax/naming/ReferralException.java (getReferralContext): 2133 Genericized. 2134 * javax/naming/Name.java (getAll): Genericized. 2135 * javax/naming/Context.java (getEnvironment): Genericized. 2136 (list): Likewise. 2137 (listBindings): Likewise. 2138 * javax/naming/NamingEnumeration.java: Genericized. 2139 (next): Likewise. 2140 * javax/naming/Reference.java (addrs): Genericized. 2141 (getAll): Likewise. 2142 * javax/naming/CannotProceedException.java (environment): Genericized. 2143 (getEnvironment): Likewise. 2144 (setEnvironment): Likewise. 2145 * javax/naming/InitialContext.java (myProps): Genericized. 2146 (InitialContext): Likewise. 2147 (init): Likewise. 2148 * javax/naming/CompoundName.java (CompoundName): Genericized. 2149 * javax/naming/CompositeName.java (CompositeName): Genericized. 2150 21512005-11-27 Tom Tromey <tromey@redhat.com> 2152 2153 * java/sql/Struct.java (getAttributes): Genericized. 2154 * java/sql/ResultSet.java (getObject): Genericized. 2155 * java/sql/Ref.java (getObject): Genericized. 2156 * java/sql/DriverManager.java (getDrivers): Genericized. 2157 * java/sql/Connection.java (getTypeMap): Genericized. 2158 (setTypeMap): Likewise. 2159 * java/sql/CallableStatement.java (getObject): Genericized. 2160 (getObject): Likewise. 2161 * java/sql/Array.java (getBaseTypeName): Fixed javadoc. 2162 (getArray): Likewise. 2163 (getResultSet): Likewise. 2164 (getResultSet): Likewise. 2165 (getArray): Genericized. 2166 (getResultSet): Likewise. 2167 21682005-11-27 Tom Tromey <tromey@redhat.com> 2169 2170 * java/beans/PropertyChangeSupport.java (fireIndexedPropertyChange): 2171 New methods. 2172 * java/beans/IndexedPropertyChangeEvent.java: New file. 2173 21742005-11-26 Tom Tromey <tromey@redhat.com> 2175 2176 * java/lang/StackTraceElement.java (StackTraceElement): New 2177 constructor. 2178 21792005-11-25 Tom Tromey <tromey@redhat.com> 2180 2181 * javax/swing/text/StyleContext.java (getStyleNames): Genericized. 2182 * javax/swing/text/MutableAttributeSet.java (removeAttributes): 2183 Genericized. 2184 * javax/swing/text/DefaultFormatter.java (getValueClass): Genericized. 2185 (setValueClass): Likewise. 2186 * javax/swing/text/AttributeSet.java (getAttributeNames): Genericized. 2187 * javax/swing/text/AbstractDocument.java (getDocumentProperties): 2188 Genericized. 2189 (setDocumentProperties): Likewise. 2190 (removeAttributes): Likewise. 2191 * javax/swing/SwingUtilities.java (getAncestorOfClass): Genericized. 2192 * javax/swing/LookAndFeel.java (makeIcon): Genericized. 2193 * javax/swing/JTable.java (getColumnClass): Genericized. 2194 (getDefaultRenderer): Likewise. 2195 (setDefaultRenderer): Likewise. 2196 (getDefaultEditor): Likewise. 2197 (setDefaultEditor): Likewise. 2198 * javax/swing/JLayeredPane.java (getComponentToLayer): Genericized. 2199 * javax/swing/DefaultListModel.java (elements): Genericized. 2200 * javax/swing/ButtonGroup.java (buttons): Genericized. 2201 (getElements): Likewise. 2202 * javax/swing/SpinnerListModel.java (SpinnerListModel): Genericized. 2203 (getList): Likewise. 2204 (setList): Likewise. 2205 * javax/swing/SortingFocusTraversalPolicy.java 2206 (SortingFocusTraversalPolicy): Genericized. 2207 (getComparator): Likewise. 2208 (setComparator): Likewise. 2209 * javax/swing/JTree.java (JTree): Genericized. 2210 (getDescendantToggledPaths): Likewise. 2211 (getExpandedDescendants): Likewise. 2212 (removeDescendantToggledPaths): Likewise. 2213 * javax/swing/JList.java (JList): Genericized. 2214 Likewise. 2215 * javax/swing/JComboBox.java (JComboBox): Genericized. 2216 * javax/swing/DefaultComboBoxModel.java (DefaultComboBoxModel): 2217 Genericized. 2218 * javax/swing/UIDefaults.java: Genericized superclass. 2219 (getUIClass): Likewise. 2220 * javax/swing/event/EventListenerList.java (getListenerCount): 2221 Genericized. 2222 * javax/swing/plaf/basic/BasicDirectoryModel.java (getDirectories): 2223 Genericized. 2224 (getFiles): Likewise. 2225 (sort): Likewise. 2226 * javax/swing/plaf/basic/BasicTreeUI.java (drawingCache): Genericized. 2227 * javax/swing/plaf/basic/BasicFileChooserUI.java (iconCache): 2228 Genericized. 2229 * javax/swing/table/TableModel.java (getColumnClass): Genericized. 2230 * javax/swing/table/DefaultTableColumnModel.java (tableColumns): 2231 Genericized. 2232 (getColumns): Likewise. 2233 (moveColumn): Updated. 2234 * javax/swing/text/html/parser/ContentModel.java (getElements): 2235 Genericized. 2236 * javax/swing/text/html/parser/DTD.java (entityHash): Fixed type. 2237 * javax/swing/text/html/parser/AttributeList.java (AttributeList): 2238 Genericized. 2239 (values): Likewise. 2240 (getValues): Likewise. 2241 * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom): 2242 Genericized. 2243 * javax/swing/tree/DefaultMutableTreeNode.java (EMPTY_ENUMERATION): 2244 Genericized. 2245 * javax/swing/undo/StateEditable.java (restoreState): Genericized. 2246 (storeState): Likewise. 2247 22482005-11-25 Tom Tromey <tromey@redhat.com> 2249 2250 * java/rmi/server/RMIClassLoaderSpi.java (loadClass): Genericized. 2251 (loadProxyClass): Likewise. 2252 (getClassAnnotation): Likewise. 2253 * java/rmi/server/RMIClassLoader.java (loadClass): Genericized. 2254 (getClassAnnotation): Likewise. 2255 * java/rmi/server/LoaderHandler.java (loadClass): Genericized. 2256 22572005-11-25 Tom Tromey <tromey@redhat.com> 2258 2259 * java/awt/Font.java (Font): Genericized. 2260 (deriveFont): Likewise. 2261 (getAttributes): Likewise. 2262 (getFont): Likewise. 2263 22642005-11-25 Tom Tromey <tromey@redhat.com> 2265 2266 * java/text/NumberFormat.java (format): No longer final. 2267 * java/text/AttributedCharacterIterator.java (getAllAttributeKeys): 2268 Genericized. 2269 (getAttributes): Likewise. 2270 (getRunLimit): Likewise. 2271 (getRunStart): Likewise. 2272 * java/text/AttributedString.java (AttributedString): Genericized. 2273 (addAttributes): Likewise. 2274 * java/text/Collator.java: Implement Comparator<Object>. 2275 22762005-11-25 Tom Tromey <tromey@redhat.com> 2277 2278 * java/security/cert/X509Extension.java (getCriticalExtensionOIDs): 2279 Genericized. 2280 (getNonCriticalExtensionOIDs): Likewise. 2281 * java/security/cert/X509Certificate.java (getExtendedKeyUsage): 2282 Genericized. 2283 (getIssuerAlternativeNames): Likewise. 2284 (getSubjectAlternativeNames): Likewise. 2285 * java/security/cert/X509CertSelector.java (setExtendedKeyUsage): 2286 Genericized. 2287 (setSubjectAlternativeNames): Likewise. 2288 * java/security/cert/X509CRLSelector.java (getIssuerNames): 2289 Genericized. 2290 (setIssuerNames): Likewise. 2291 * java/security/cert/X509CRL.java (getRevokedCertificates): 2292 Genericized. 2293 * java/security/cert/PolicyNode.java (getChildren): Genericized. 2294 (getExpectedPolicies): Likewise. 2295 (getPolicyQualifiers): Likewise. 2296 * java/security/cert/PKIXCertPathChecker.java (check): Genericized. 2297 (getSupportedExtensions): Likewise. 2298 * java/security/cert/CertificateFactorySpi.java 2299 (engineGenerateCertPath): Genericized. 2300 (engineGenerateCertificates): Likewise. 2301 (engineGenerateCRLs): Likewise. 2302 (engineGetCertPathEncodings): Likewise. 2303 * java/security/cert/CertificateFactory.java (generateCertificates): 2304 Genericized. 2305 (generateCertPath): Likewise. 2306 (generateCRLs): Likewise. 2307 (getCertPathEncodings): Likewise. 2308 * java/security/cert/CertStoreSpi.java (engineGetCertificates): 2309 Genericized. 2310 (engineGetCRLs): Likewise. 2311 * java/security/cert/CertStore.java (getCertificates): Genericized. 2312 (getCRLs): Likewise. 2313 * java/security/cert/CertPath.java (getCertificates): Genericized. 2314 (getEncodings): Likewise. 2315 * java/security/cert/PKIXParameters.java (PKIXParameters): 2316 Genericized. 2317 (getCertStores): Likewise. 2318 (getCertPathCheckers): Likewise. 2319 (getInitialPolicies): Likewise. 2320 (getTrustAnchors): Likewise. 2321 (setCertPathCheckers): Likewise. 2322 (setCertStores): Likewise. 2323 (setInitialPolicies): Likewise. 2324 (setTrustAnchors): Likewise. 2325 * java/security/cert/PKIXBuilderParameters.java 2326 (PKIXBuilderParameters): Genericized. 2327 * java/security/cert/CollectionCertStoreParameters.java 2328 (CollectionCertStoreParameters): Genericized. 2329 (getCollection): Likewise. 2330 * java/security/cert/PolicyQualifierInfo.java: No longer final. 2331 23322005-11-25 Tom Tromey <tromey@redhat.com> 2333 2334 * java/security/Security.java (getAlgorithms): Genericized. 2335 (getProviders): Likewise. 2336 * java/security/SecureClassLoader.java (defineClass): Genericized. 2337 (protectionDomainCache): Likewise. 2338 * java/security/PermissionCollection.java (elements): Genericized. 2339 (toString): Updated. 2340 * java/security/KeyStoreSpi.java (engineAliases): Genericized. 2341 * java/security/KeyStore.java (aliases): Genericized. 2342 * java/security/KeyFactorySpi.java (engineGetKeySpec): Genericized. 2343 (engineTranslateKey): Fixed javadoc. 2344 * java/security/KeyFactory.java (getKeySpec): Genericized. 2345 * java/security/IdentityScope.java (identities): Genericized. 2346 * java/security/AlgorithmParametersSpi.java (engineGetParameterSpec): 2347 Genericized. 2348 * java/security/AlgorithmParameters.java (getParameterSpec): 2349 Genericized. 2350 * java/security/AccessController.java (doPrivileged): Genericized. 2351 * java/security/PrivilegedExceptionAction.java: Genericized. 2352 * java/security/PrivilegedAction.java: Genericized. 2353 23542005-11-25 Guilhem Lavaux <guilhem@kaffe.org> 2355 2356 * native/jni/java-io/javaio.c, native/jni/java-io/javaio.h: 2357 Removed. 2358 * native/jni/java-io/java_io_VMFile.c: Removed dependency on 2359 javaio.h 2360 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c: 2361 Likewise. 2362 23632005-11-25 Lillian Angel <langel@redhat.com> 2364 2365 * javax/swing/plaf/metal/MetalSplitPaneDivider.java 2366 (MetalDividerLayout): Fixed class name to MetalDividerLayout 2367 instead of DividerLayout. 2368 (MetalSplitPaneDivider): Fixed setLayout call. 2369 23702005-11-25 Lillian Angel <langel@redhat.com> 2371 2372 * javax/swing/plaf/metal/MetalFileChooserUI.java 2373 (mouseClicked): Fixed to keep track of last object clicked, 2374 instead of index. Problems arise when lists change for different 2375 directories and using the index. 2376 (editFile): Fixed size and location for text field. Painting is still 2377 a little messed up when typing because there is no action listener yet. 2378 23792005-11-26 Jan Roehrich <jan@roehrich.info> 2380 2381 * java/awt/datatransfer/SystemFlavorMap.java 2382 (defaultFlavorMap): removed. 2383 (systemFlavorMaps): added static field. 2384 (getDefaultFlavorMap): reimplemented using systemFlavorMaps. 2385 23862005-11-25 Lillian Angel <langel@redhat.com> 2387 2388 * javax/swing/JFileChooser.java: 2389 selectedFiles field should not be initialized. 2390 (getSelectedFiles): Should return empty array, not null. 2391 * javax/swing/plaf/metal/MetalFileChooserUI.java 2392 (MetalFileChooserSelectionListener): Added comment. 2393 (valueChanged): Fixed API documentation. 2394 (SingleClickListener): Likewise. 2395 (SingleClickListener.init): Added field initializations. 2396 (mouseClicked): Implemented. 2397 (editFile): Partially implemented. 2398 (completeEditing): Implemented. 2399 (installUI): Added call to create the action map. 2400 (uninstallUI): Set actionMap to null. 2401 (getActionMap): Implemented. 2402 (createList): Uncommented code. 2403 (removeControlButtons): Implemented. 2404 24052005-11-25 Lillian Angel <langel@redhat.com> 2406 2407 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: 2408 Fixed typo. 2409 24102005-11-25 Lillian Angel <langel@redhat.com> 2411 2412 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c 2413 (drawString): Changed pointer to be const, and fixed check to 2414 draw characters only if they are >= ' '. Handles all control 2415 characters. 2416 24172005-11-25 Mark Wielaard <mark@klomp.org> 2418 2419 Fixes bug #24981 2420 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c 2421 (clipboard_targets_received): DeleteLocalRef of NewStringUTF. 2422 (clipboard_text_received): Likewise. 2423 (clipboard_uris_received): Likewise. 2424 24252005-11-25 Lillian Angel <langel@redhat.com> 2426 2427 * javax/swing/JList.java 2428 (JList): Set default selection mode. 2429 * javax/swing/plaf/basic/BasicFileChooserUI.java 2430 (DoubleClickListener): No need for timer here. 2431 (mouseClicked): Removed timer code, and added check for double click. 2432 Problems with opening wrong directory is now fixed. 2433 * javax/swing/plaf/basic/BasicListUI.java 2434 (mouseDragged): Implemented. 2435 * javax/swing/plaf/metal/MetalFileChooserUI.java 2436 (propertyChange): Implemented MULTI_SELECTION_ENABLED_CHANGED_PROPERTY 2437 property change. 2438 (getListCellRendererComponent): Set opaque property, so background 2439 color on cell is painted. 2440 (SingleClickListener.init): Implemented. 2441 (installStrings): Fixed tooltip text strings. 2442 24432005-11-25 David Gilbert <david.gilbert@object-refinery.com> 2444 2445 * javax/swing/JFileChooser.java 2446 (selectedFiles): Initialise, 2447 (JFileChooser(String)): Delegate to another constructor, 2448 (JFileChooser(String, FileSystemView)): Convert directory to file, 2449 (setSelectedFile): Check for current selection == null, 2450 (getSelectedFiles): Updated API docs, 2451 (setSelectedFiles): Changed order of event generation, 2452 (changeToParentDirectory): Don't check for null parent (reference 2453 implementation doesn't), 2454 (addChoosableFileFilter): Change handling of null filter, 2455 (removeChoosableFileFilter): Handle case where removed filter is also 2456 the current selection, 2457 (setAcceptAllFileFilterUsed): Add or remove accept all filter as 2458 appropriate, 2459 (setFileFilter): Add new filter to choosable filters if necessary, 2460 (accept): Reimplemented, 2461 * javax/swing/plaf/basic/BasicFileChooserUI.java 2462 (ApproveSelectionAction.ApproveSelectionAction): Set action name, 2463 (ApproveSelectionAction.actionPerformed): Call getFileName() rather 2464 than accessing JTextField directly, 2465 (CancelSelectionAction.CancelSelectionAction): Set action name, 2466 (ChangeToParentDirectoryAction.ChangeToParentDirectoryAction): Set 2467 action name, 2468 (DoubleClickListener.mouseClicked): Call setFileName rather than 2469 accessing JTextField directly, 2470 (GoHomeAction.GoHomeAction): Set action name, 2471 (NewFolderAction.NewFolderAction): Set action name, 2472 (SelectionListener.valueChanged): Get list from event, 2473 (UpdateAction.UpdateAction): Set action name to null, 2474 (computerIcon): Removed initialization, 2475 (detailsViewIcon): Likewise, 2476 (directoryIcon): Likewise, 2477 (fileIcon): Likewise, 2478 (floppyDriveIcon): Likewise, 2479 (hardDriveIcon): Likewise, 2480 (homeFolderIcon): Likewise, 2481 (listViewIcon): Likewise, 2482 (upFolderIcon): Likewise, 2483 (fileList): Removed, 2484 (filters): Removed, 2485 (ICON_SIZE): Removed, 2486 (parents): Removed, 2487 (filename): Removed, 2488 (cancel): Removed, 2489 (upFolderButton): Removed, 2490 (newFolderButton): Removed, 2491 (homeFolderButton): Removed, 2492 (approveSelectionAction): New field, 2493 (cancelSelectionAction): New field, 2494 (goHomeAction): New field, 2495 (changeToParentDirectoryAction): New field, 2496 (newFolderAction): New field, 2497 (updateAction): New field, 2498 (BasicFileChooserUI): Do nothing here, 2499 (installUI): Initialise filechooser field, 2500 (createBoxListener): Removed, 2501 (createFilterListener): Removed, 2502 (filterEntries): Removed, 2503 (installComponents): Do nothing here, 2504 (uninstallComponents): Do nothing here, 2505 (installListeners): Removed component specific listeners, 2506 (installIcons): Use Metal icons, 2507 (unintallIcons): Clear icons, 2508 (installStrings): Use fixed strings for text items that aren't defined 2509 in the UI defaults - should implement localised strings later, 2510 (uninstallStrings): Clear text items, 2511 (createPropertyChangeListener): Return blank listener, 2512 (getFileName): TODO, 2513 (setFileName): TODO, 2514 (rescanCurrentDirectory): Remove call on deleted filelist, 2515 (getApproveButton): Just return field, 2516 (getFileView): Updated API docs, 2517 (getDialogTitle): Reimplemented, 2518 (getApproveButtonText): Reimplemented, 2519 (getNewFolderAction): Create new instance if required, 2520 (getGoHomeAction): Likewise, 2521 (getChangeToParentDirectoryAction): Likewise, 2522 (getApproveSelectionAction): Likewise, 2523 (getCancelSelectionAction): Likewise, 2524 (getUpdateAction): Likewise, 2525 * javax/swing/plaf/metal/MetalFileChooserUI.java 2526 (MetalFileChooserPropertyChangeListener): New class, 2527 (DirectoryComboBoxRenderer): New class, 2528 (FilterComboBoxModel.selectedIndex): Removed field, 2529 (FilterComboBoxModel.selected): New field, 2530 (FilterComboBoxModel.FilterComboBoxModel): Initialise selected field, 2531 (FilterComboBoxModel.propertyChange): Update filter list, 2532 (FilterComboBoxModel.setSelectedItem): Reimplemented, 2533 (FilterComboBoxModel.getSelectedItem): Return selected field, 2534 (FilterComboBoxRenderer.getListCellRendererComponent): Call super, 2535 (MetalFileChooserSelectionListener): New class, 2536 (SingleClickListener): New class TODO, 2537 (directoryLabel): New field, 2538 (directoryComboBox): New field, 2539 (fileLabel): New field, 2540 (fileTextField): New field, 2541 (filterLabel): New field, 2542 (topPanel): New field, 2543 (controls): New field, 2544 (bottomPanel): New field, 2545 (buttonPanel): New field, 2546 (approveButton): New field, 2547 (fileList): New field, 2548 (fileListPanel): New field, 2549 (filterModel): New field, 2550 (MetalFileChooserUI): Initialise panels, 2551 (installUI): TODO, 2552 (uninstallUI): TODO, 2553 (installComponents): Implemented, 2554 (uninstallComponents): Implemented, 2555 (getButtonPanel): Implemented, 2556 (getBottomPanel): Implemented, 2557 (installStrings): Implemented, 2558 (installListeners): Implemented, 2559 (uninstallListeners): Implemented, 2560 (getActionMap): TODO, 2561 (createActionMap): Implemented, 2562 (createList): Implemented, 2563 (createDetailsView): Implemented, 2564 (createListSelectionListener): Implemented, 2565 (getPreferredSize): Implemented badly, 2566 (getMinimumSize): Likewise, 2567 (getMaximumSize): Implemented, 2568 (createPropertyChangeListener): Implemented, 2569 (createDirectoryComboBoxRenderer): Implemented, 2570 (addControlButtons): Implemented, 2571 (removeControlButtons): TODO, 2572 (ensureFileIsVisible): TODO, 2573 (rescanCurrentDirectory): Implemented, 2574 (getFileName): Implemented, 2575 (setFileName): Implemented, 2576 (setDirectorySelected): TODO, 2577 (getDirectoryName): TODO, 2578 (setDirectoryName): TODO, 2579 (valueChanged): TODO, 2580 (getApproveButton): Implemented, 2581 (VerticalMidLayout): New support class, 2582 (ButtonLayout): New support class, 2583 * javax/swing/plaf/metal/MetalLookAndFeel.java 2584 (initClassDefaults): Add 'FileChooserUI' default, 2585 (initComponentDefaults): Added FileChooser icons. 2586 25872005-11-25 Mark Wielaard <mark@klomp.org> 2588 2589 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c 2590 (current_selection): Define as gint. 2591 (clipboard_clear_func): Extract user_data with GPOINTER_TO_INT. 2592 (Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent): 2593 Convert current_selection with GINT_TO_POINTER. 2594 25952005-11-25 Mark Wielaard <mark@klomp.org> 2596 2597 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (paintIcon): Only 2598 paint icon when not null. 2599 26002005-11-25 Christian Thalinger <twisti@complang.tuwien.ac.at> 2601 2602 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 2603 (save_to_stream): Added missing DeleteLocalRef call. 2604 26052005-11-24 Sven de Marothy <sven@physto.se> 2606 2607 * javax/print/attribute/standard/MediaName.java, 2608 * javax/print/attribute/standard/MediaTray.java: 2609 New files. 2610 * javax/print/attribute/standard/MediaSize.java: 2611 Added "ISO", "NA", "JIS" and "Other" enumerations of standard sizes. 2612 * javax/print/attribute/standard/MediaSizeName.java: 2613 (getEnumValueTable, getStringTable): Add stubs. 2614 26152005-11-24 Roman Kennke <kennke@aicas.com> 2616 2617 * javax/swing/text/PasswordView.java 2618 (modelToView): Overridden to correctly map between model and view 2619 respecting the echo character. 2620 (viewToModel): Added FIXME to show that this method also needs 2621 to be adjusted like the above method. 2622 * javax/swing/text/PlainView.java 2623 (paint): Don't set the font here. This is already done in the 2624 text component's JComponent.getComponentGraphics() method. 2625 (damageLineRange): Only repaint the damaged rectangle. 2626 26272005-11-24 Roman Kennke <kennke@aicas.com> 2628 2629 * javax/swing/plaf/basic/BasicLabelUI.java 2630 (getPreferredSize): Don't use deprecated method to acquire 2631 FontMetrics object. This can be done more elegantly using 2632 Component.getFontMetrics(). 2633 (paint): Removed unnecessary font setting code. This is already 2634 performed in JComponent.getComponentGraphics(). 2635 26362005-11-24 Roman Kennke <kennke@aicas.com> 2637 2638 * javax/swing/table/DefaultTableCellRenderer.java 2639 (getTableCellRendererComponent): Don't set enabled flag on the 2640 renderer. The cells are rendered normally even when the table 2641 is disabled. 2642 26432005-11-24 Lillian Angel <langel@redhat.com> 2644 2645 * javax/swing/plaf/basic/BasicToolBarUI.java 2646 (mousePressed): When using the BasicLookAndFeel, the mouse 2647 should be in the center of the dragWindow while dragging. 2648 * javax/swing/plaf/metal/MetalToolBarUI.java 2649 (createDockingListener): Implemented. 2650 (MetalDockingListener): New class. 2651 (MetalDockingListener.init): Implemented. 2652 (MetalDockingListener.mousePressed): Implemented. When using the 2653 MetalLookAndFeel, the mouse should not be offset while dragging. 2654 (MetalDockingListener.mouseDragged): Implemented. Does not do 2655 anything different than dragging in the BasicLookAndFeel. 2656 26572005-11-24 Lillian Angel <langel@redhat.com> 2658 2659 * javax/swing/plaf/basic/BasicArrowButton.java 2660 (paint): Fixed locations, so button is drawn in proper place. 2661 * javax/swing/plaf/basic/BasicSplitPaneDivider.java 2662 (paint): Added code to paint buttons. 2663 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: 2664 Added new fields. 2665 (MetalSplitPaneDivider): Initialized new fields, and set layout 2666 to new inner class. 2667 (paint): Added code to paint buttons. 2668 (DividerLayout): New class implemented. 2669 (DividerLayout.init): Implemented. 2670 (DividerLayout.addLayoutComponent): Implemented. 2671 (DividerLayout.layoutContainer): Implemented. 2672 (DividerLayout.minimumLayoutSize): Implemented. 2673 (DividerLayout.preferredLayoutSize): Implemented. 2674 (DividerLayout.removeLayoutComponent): Implemented. 2675 26762005-11-24 Anthony Balkissoon <abalkiss@redhat.com> 2677 2678 * javax/swing/text/InternationalFormatter: 2679 (InternationalFormatter<init>): Override superclass defaults for 2680 commitsOnValidEdit and overwriteMode. 2681 * javax/swing/text/NumberFormatter.java: New class. 2682 26832005-11-23 David Gilbert <david.gilbert@object-refinery.com> 2684 2685 * javax/swing/plaf/metal/MetalScrollPaneUI.java 2686 (installUI): Set free-standing client property on scrollbars to false, 2687 (uninstallUI): Set free-standing client property on scrollbars to null. 2688 26892005-11-23 Lillian Angel <langel@redhat.com> 2690 2691 * javax/swing/plaf/metal/MetalIconFactory.java: 2692 Added new fields to store an instance of the icons. 2693 (getMenuArrowIcon): Fixed to make use of the new field. 2694 (getMenuItemArrowIcon): Fixed implementation to return 2695 an instance of the icon, instead of calling getMenuArrowIcon. 2696 Even though, these two look identical. 2697 26982005-11-23 Jan Roehrich <jan@roehrich.info> 2699 2700 * java/awt/datatransfer/DataFlavor.java 2701 (isFlavorTextType): added method. 2702 27032005-11-23 Lillian Angel <langel@redhat.com> 2704 2705 * javax/swing/plaf/metal/MetalToolBarUI.java 2706 (setDragOffset): Implemented. 2707 27082005-11-23 Lillian Angel <langel@redhat.com> 2709 2710 * javax/swing/plaf/metal/MetalLookAndFeel.java 2711 (initComponentDefaults): Added defaults for menu arrow icon, 2712 menu item arrow icon and menu item check icon. 2713 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: 2714 Added new field to store graphics when painting highlight. 2715 (paintTopTabBorder): Added code to fill gap if it should be 2716 filled. 2717 (paintBottomTabBorder): Likewise. 2718 (paintTabBackground): Added call to paint the highlight below the tab. 2719 (getColorForGap): Added code to return selected color, if selected. 2720 (shouldFillGap): Changed to return false. With JDK, gap is never 2721 filled in MetalL&F. 2722 (paintHighlightBelowTab): Implemented to paint the highlight on 2723 selected tabs. 2724 (calculateMaxTabHeight): Removed. 2725 (getTabLabelShiftX): Removed. 2726 (getTabLabelShiftY): Removed. 2727 (getTabRunOverlay): Removed. 2728 (paint): Removed. 2729 (paintContentBorderBottomEdge): Removed. 2730 (paintContentBorderLeftEdge): Removed. 2731 (paintContentBorderRightEdge): Removed. 2732 (paintContentBorderTopEdge): Removed. 2733 (paintFocusIndicator): Removed. 2734 (update): Removed. 2735 27362005-11-23 David Gilbert <david.gilbert@object-refinery.com> 2737 2738 * javax/swing/JComponent.java 2739 (getListeners): Updated API docs. 2740 27412005-11-23 David Gilbert <david.gilbert@object-refinery.com> 2742 2743 * java/awt/Container.java 2744 (getListeners): Updated API docs. 2745 27462005-11-23 David Gilbert <david.gilbert@object-refinery.com> 2747 2748 * java/awt/Component.java 2749 (getListeners): Added some details to the API docs. 2750 27512005-11-23 Roman Kennke <kennke@aicas.com> 2752 2753 * javax/swing/text/DefaultStyledDocument.java 2754 (ElementBuffer.numEndTags): New field. 2755 (ElementBuffer.numStartTags): New field. 2756 (ElementBuffer.elementStack): New field. 2757 (ElementBuffer.ElementBuffer): Initialize element stack here. 2758 (ElementBuffer.changeUpdate): Correctly perform splitting of 2759 elements. 2760 (ElementBuffer.split): Change to make recursive splits possible. 2761 (ElementBuffer.insert): Clear and initialize elementStack and num* 2762 fields. 2763 (ElementBuffer.inserUpdate): Inlined the functionality for start 2764 and end tags. Call endEdit on finish. 2765 (ElementBuffer.endEdit): New method. Finishes off an edit run. 2766 (ElementBuffer.prepareContentInsertion): New method. Prepares 2767 the insertion of content. 2768 (ElementBuffer.insertParagraph): New method. Inserts a new 2769 paragraph at a given offset. 2770 (ElementBuffer.insertContentTag): Call prepareContentInsertion first. 2771 Fixed behaviour for all the different possible directions. 2772 (ElementBuffer.addEdit): New method. Adds an element edit to the 2773 document event and possible merges with previous edits. 2774 (insert): Only fire event when something has really changed. 2775 * javax/swing/text/AbstractDocument.java 2776 (insertString): Only fire event when something has really changed. 2777 (DefaultDocumentEvent.modified): New field. 2778 (DefaultDocumentEvent.DefaultDocumentEvent): Inititialize modified 2779 field. 2780 (DefaultDocumentEvent.addEdit): Set modified flag to true. 2781 27822005-11-23 Roman Kennke <kennke@aicas.com> 2783 2784 * javax/swing/text/GapContent.java 2785 (getPostionsInRange): Fixed binarySearch to really find the first 2786 position in this range. 2787 (setPostionsInRange): Fixed binarySearch to really find the first 2788 position in this range. 2789 (adjustPostionsInRange): Fixed binarySearch to really find the first 2790 position in this range. 2791 27922005-11-23 Roman Kennke <kennke@aicas.com> 2793 2794 * javax/swing/text/View.java 2795 (getNextVisualPositionFrom): Fixed signature and (partly) 2796 implemented this method. 2797 * javax/swing/text/Utilities.java 2798 (getPositionAbove): Fixed to use the correct signature for the call 2799 to above method. 2800 (getPositionBelow): Fixed to use the correct signature for the call 2801 to above method. 2802 * javax/swing/text/ComponentView.java 2803 (getNextVisualPositionFrom): Removed method. This is not specified 2804 to be implemented. 2805 * javax/swing/text/CompositeView.java 2806 (getNextVisualPositionFrom): Removed method with wrong signature. 2807 A method with the correct signature is already in place. 2808 * javax/swing/text/FlowView.java 2809 (LogicalView.getNextVisualPositionFrom): Removed method with wrong 2810 signature. 2811 * javax/swing/text/GlyphView.java 2812 (getNextVisualPositionFrom): Removed method with wrong signature. 2813 A method with the correct signature is already in place. 2814 * javax/swing/text/IconView.java 2815 (getNextVisualPositionFrom): Removed method. This is not specified 2816 to be implemented. 2817 * javax/swing/text/PlainView.java 2818 (getNextVisualPositionFrom): Removed method. This is not specified 2819 to be implemented. 2820 * javax/swing/text/WrappedPlainView.java 2821 (WrappedLine.getNextVisualPositionFrom): Removed method with wrong 2822 signature. 2823 * javax/swing/plaf/basic/BasicTextUI.java 2824 (RootView.getNextVisualPositionFrom): Fixed signature. 2825 28262005-11-22 Lillian Angel <langel@redhat.com> 2827 2828 * javax/swing/JEditorPane.java 2829 (JEditorPaneAccessibleHypertextSupport): Implemented. 2830 28312005-11-22 Lillian Angel <langel@redhat.com> 2832 2833 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 2834 (getColorForGap): Implemented. Background color is 2835 always returned in this case. 2836 (paintHighlightBelowTab): Added. Nothing to do in 2837 this function as far as i can tell. 2838 (shouldFillGap): Implemented. Gap should always be filled. 2839 (shouldRotateTabRuns): Implemented. Tabs are not rotated 2840 in Metal. False is always returned. 2841 (calculateMaxTabHeight): Implemented to call super. 2842 (getTabLabelShiftX): Implemented. 2843 (getTabLabelShiftY): Implemented. 2844 (getTabRunOverlay): Implemented. 2845 (paint): Implemented to call super. 2846 (paintContentBorderBottomEdge): Likewise. 2847 (paintContentBorderLeftEdge): Likewise. 2848 (paintContentBorderRightEdge): Likewise. 2849 (paintContentBorderTopEdge): Likewise. 2850 (paintFocusIndicator): Likewise. 2851 (update): Likewise. Should not work any differently from 2852 default implementation. 2853 28542005-11-22 Christian Thalinger <twisti@complang.tuwien.ac.at> 2855 2856 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c 2857 (nativeGetFontFamilies): Added missing DeleteLocalRef calls. 2858 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 2859 (query_formats): Likewise. 2860 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c 2861 (append): Likewise. 2862 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c 2863 (append): Likewise. 2864 * native/jni/qt-peer/qtmenupeer.cpp (runEvent): Likewise. 2865 28662005-11-22 Lillian Angel <langel@redhat.com> 2867 2868 * javax/swing/plaf/metal/MetalIconFactory.java 2869 (getMenuArrowIcon): Implemented. 2870 (getMenuItemArrowIcon): Implemented to call getMenuArrowIcon, 2871 because both icons look the same. 2872 (getMenuItemCheckIcon): Implemented. 2873 * javax/swing/plaf/metal/MetalTextFieldUI.java 2874 (propertyChange): Implemented to call super only, because it 2875 is a hook method. It doesn't have a different purpose from 2876 BasicLookAndFeel, other than allowing a subclass to override it. 2877 28782005-11-22 Anthony Balkissoon <abalkiss@redhat.com> 2879 2880 * javax/swing/text/MaskFormatter.java: 2881 (convertValue): Don't check the valid/invalid character sets if we're 2882 matching a literal. 2883 28842005-11-22 Lillian Angel <langel@redhat.com> 2885 2886 * javax/swing/plaf/metal/MetalScrollPaneUI.java 2887 (installUI): Implemented. 2888 (uninstallUI): Implemented. 2889 (installListeners): Implemented. 2890 (uninstallListeners): Implemented. 2891 (createScrollBarSwapListener): Partially implemented, not sure 2892 what else to do here. 2893 28942005-11-22 Anthony Balkissoon <abalkiss@redhat.com> 2895 2896 * javax/swing/text/MaskFormatter.java: 2897 (convertValue): If character is a literal don't throw a ParseException 2898 unless literals aren't allowd in values and this method is being 2899 called from valueToString rather than stringToValue. The convert flag 2900 is used to distinguish these two cases. 2901 29022005-11-22 Lillian Angel <langel@redhat.com> 2903 2904 * javax/swing/plaf/metal/MetalComboBoxUI.java 2905 (configureEditor): Implemented. 2906 (unconfigureEditor): Implemented. 2907 (layoutComboBox): Implemented. 2908 29092005-11-22 Anthony Balkissoon <abalkiss@redhat.com> 2910 2911 * javax/swing/text/MaskFormatter.java: New class. 2912 29132005-11-22 Lillian Angel <langel@redhat.com> 2914 2915 PR 24937 2916 * gnu/java/awt/peer/gtk/GdkGraphics.java 2917 (drawString): Removed pattern matching code. This is now 2918 done in native. 2919 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c 2920 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Added 2921 a loop to filter out all non-printing characters. 2922 29232005-11-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 2924 2925 * javax/swing/text/DefaultCaret.java (updateTimerStatus): 2926 Ignore the field "visible". 2927 29282005-11-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 2929 2930 * javax/swing/TransferHandler 2931 (getClipboard): Aways check for the possibility to 2932 access the system clipboard. 2933 29342005-11-22 Roman Kennke <kennke@aicas.com> 2935 2936 * javax/swing/plaf/basic/BasicOptionPaneUI.java 2937 (addMessageComponents): Also burst the string if there are newlines 2938 in it. 2939 (burstStringInto): Improved algorithm to also handle newlines. 2940 29412005-11-22 Lillian Angel <langel@redhat.com> 2942 2943 * gnu/java/awt/peer/gtk/GdkGraphics.java 2944 (drawString): Fixed regex. 2945 29462005-11-22 Ito Kazumitsu <kaz@maczuka.gcd.org> 2947 2948 Fixes bug #22691 2949 * java/io/StreamTokenizer.java(parseNumbers): Added some comment. 2950 29512005-11-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 2952 2953 PR 24942 2954 * javax/swing/text/DefaultCaret.java (focusGained): 2955 Update timer status. (focusLost): Stop the timer 2956 (unless the event is temporary). 2957 (updateTimerStatus): New method. 2958 (setVisible): Delegate timer management to the updateTimerStatus. 2959 29602005-11-21 Mark Wielaard <mark@klomp.org> 2961 2962 * gnu/java/awt/image/ImageDecoder.java (datainput): New field. 2963 (ImageDecoder(DataInput)): New constructor. 2964 (startProduction): Create DataInputStreamWrapper when datainput set. 2965 (DataInputStreamWrapper): New private static helper class. 2966 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java 2967 (GdkPixbufDecoder(DataInput)): New constructor. 2968 (setInput): Check whether getInput() results in an InputStream or 2969 DataInput. 2970 29712005-11-21 Mark Wielaard <mark@klomp.org> 2972 2973 * javax/swing/plaf/basic/BasicComboBoxUI.java (cachedMinimumSize): 2974 Document. 2975 (isMinimumSizeDirty): Likewise. And initialize to true. 2976 (getMinimumSize): Use and set cachedMinimumSize. 2977 (FocusHandler.focusGained): Set isMinimumSizeDirty to true. 2978 (FocusHandler.focusLost): Likewise. 2979 (ItemHandler.itemStateChanged): Likewise. 2980 (ListDataHandler.contentsChanged): Likewise. 2981 (ListDataHandler.intervalAdded): Likewise. 2982 (ListDataHandler.intervalRemoved): Likewise. 2983 (PropertyChangeHandler.propertyChange): Likewise. 2984 29852005-11-21 Jan Roehrich <jan@roehrich.info> 2986 2987 * java/awt/datatransfer/DataFlavor.java: more code style 2988 fixes. Changed order to static attributes, attributes, static 2989 methods, constructors, methods. Moved static part into static 2990 attribute declaration. 2991 29922005-11-21 Lillian Angel <langel@redhat.com> 2993 2994 PR classpath/PR24937 2995 * gnu/java/awt/peer/gtk/GdkGraphics.java 2996 (drawString): Removed most non-printable characters 2997 from the string that will be drawn. Added a FIXME comment 2998 because may not have filtered out all characters. 2999 30002005-11-21 Mark Wielaard <mark@klomp.org> 3001 3002 * javax/swing/JTable.java (propertyChange): Only resize header when 3003 not null. 3004 30052005-11-21 Lillian Angel <langel@redhat.com> 3006 3007 PR classpath/PR24872 3008 * javax/swing/text/DefaultEditorKit.java 3009 (actionPerformed): Implemented. 3010 (actionPerformed): Implemented. 3011 (actionPerformed): Implemented. 3012 (actionPerformed): Implemented. 3013 * javax/swing/text/JTextComponent.java 3014 (JTextComponent): Added key bindings for cut, copy, 3015 paste, selectionBackwardAction, selectionForwardAction. 3016 30172005-11-21 Anthony Balkissoon <abalkiss@redhat.com> 3018 3019 Fixes bug #24925 3020 * javax/swing/text/DefaultEditorKit.java: 3021 (DefaultKeyTypedAction.actionPeformed): Call replaceSelection here 3022 instead of insertString and only do so if the text component is both 3023 enabled and editable. 3024 30252005-11-21 Roman Kennke <kennke@aicas.com> 3026 3027 * javax/swing/RepaintManager.java 3028 (currentRepaintManagers): Use a WeakHashMap to avoid potential 3029 memory leak. 3030 (currentManager): Instantiate WeakHashMap instead of HashMap. 3031 (setCurrentManager): Instantiate WeakHashMap instead of HashMap. 3032 30332005-11-21 Roman Kennke <kennke@aicas.com> 3034 3035 * javax/swing/JViewport.java 3036 (static_initializer): Initialize the defaultScrollMode here. 3037 (JViewport): Set the defaultScrollMode that was initialized in 3038 the static initializer. 3039 30402005-11-21 Roman Kennke <kennke@aicas.com> 3041 3042 * javax/swing/JTable.java 3043 (columnAtPoint): Removed unused code. 3044 (rowAtPoint): Removed unused code. 3045 (prepareRenderer): Moved renderer prepare code from the UI to this 3046 method. 3047 (getSelections): Removed unused code. 3048 * javax/swing/plaf/basic/BasicTableUI.java 3049 (paintCell): Call JTable.prepareRenderer instead of preparing 3050 the renderer in the UI. 3051 (paint): Removed some unused code. 3052 30532005-11-21 Jan Roehrich <jan@roehrich.info> 3054 3055 * java/awt/datatransfer/DataFlavor.java: fixed code 3056 formatting issues 3057 30582005-11-20 Chris Burdess <dog@gnu.org> 3059 3060 * gnu/xml/transform/TransformerImpl.java: Ensure that output stream 3061 is not closed if provided in the StreamResult. 3062 30632005-11-19 Ito Kazumitsu <kaz@maczuka.gcd.org> 3064 3065 * AUTHORS: Added myself. 3066 30672005-11-19 Wolfgang Baer <WBaer@gmx.de> 3068 3069 * javax/print/attribute/Size2DSyntax.java: 3070 Added and enhanced api docs for this class. 3071 (toString()): Changed to return values as ints. 3072 (toString(int,String)): Changed to not append the unitsName if null. 3073 30742005-11-19 Wolfgang Baer <WBaer@gmx.de> 3075 3076 * javax/print/attribute/ResolutionSyntax.java (toString): 3077 Changed to not append the unitsName if null. Clarified api docs. 3078 30792005-11-19 Wolfgang Baer <WBaer@gmx.de> 3080 3081 * javax/print/attribute/TextSyntax.java: 3082 Added and enhanced api docs for this class. 3083 (TextSyntax): If locale is null use the default locale. 3084 30852005-11-19 Wolfgang Baer <WBaer@gmx.de> 3086 3087 * javax/print/attribute/SetOfIntegerSyntax.java: 3088 Added and enhanced api docs for this class. 3089 (SetOfIntegerSyntax(String)): Create empty set if given string is null. 3090 30912005-11-19 Wolfgang Baer <WBaer@gmx.de> 3092 3093 * javax/print/attribute/ResolutionSyntax.java: 3094 Added and enhanced api docs for this class. 3095 (getFeedResolution): Use correct feedresolution variable 3096 and do not add an additional unit to the resolution. 3097 (getCrossFeedResolution): Do not add additional unit to resolution. 3098 30992005-11-19 Roman Kennke <kennke@aicas.com> 3100 3101 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 3102 (paintTabBackground): Fixed colors for the tab background. 3103 * javax/swing/plaf/metal/OceanTheme.java 3104 (addCustomEntriesToTable): Added color modifications for 3105 TabbedPane. 3106 31072005-11-18 David Daney <ddaney@avtrex.com> 3108 3109 * AUTHORS (David Daney): New entry. 3110 31112005-11-18 Roman Kennke <kennke@aicas.com> 3112 3113 * java/awt/Component.java 3114 (setBackground): Don't inherit background from parent. 3115 (addMouseMotionListener): Enable MOUSE_MOTION_EVENT_MASK instead 3116 of MOUSE_EVENT_MASK. 3117 (eventTypeEnabled): Handle mouse events and mouse motion events 3118 separately. 3119 31202005-11-18 Roman Kennke <kennke@aicas.com> 3121 3122 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 3123 (installDefaults): Added super.installDefaults(). 3124 31252005-11-18 Roman Kennke <kennke@aicas.com> 3126 3127 * javax/swing/plaf/basic/BasicTableHeaderUI.java 3128 (installUI): Install a CellRendererPane. 3129 (paint): Paint the renderer component using the rendererPane, not 3130 directly. 3131 31322005-11-18 Roman Kennke <kennke@aicas.com> 3133 3134 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 3135 (PropertyChangeHandler.propertyChange): Replaced layout() call 3136 with revalidate() call. 3137 (TabbedPaneLayout.calculateLayoutInfo): Added assureRectsCreated() 3138 call to make sure we have the rectangles in place. Also initialize 3139 the contentRect here so it can be used later. 3140 (TabbedPaneLayout.calculateSize): Removed unused statement. 3141 (TabbedPaneLayout.calculateTabRects): Moved assureRectsCreated call 3142 to calculateLayoutInfo(). 3143 (TabbedPaneScrollLayout.calculateTabRects): Moved 3144 assureRectsCreated call to calculateLayoutInfo(). Removed unused 3145 statements. 3146 (TabbedPaneScrollLayout.layoutContainer): Replaced hide() and show() 3147 calls with calls to setVisible(). Especially important since 3148 setVisible is handled special in Swing. 3149 (BasicTabbedPaneUI): Initialize rects and tabRuns fields. 3150 (installUI): Removed layout() call. 3151 (paintContentBorder): Removed unused statement. 3152 (assureRectsCreated): Reworked to match the JDK behaviour. 3153 (getFontMetrics): Use the component getFontMetrics() instead of 3154 the deprecated toolkit method. 3155 31562005-11-18 Roman Kennke <kennke@aicas.com> 3157 3158 * javax/swing/JTable.java 3159 (getCellRenderer): Replaced dataModel.getColumnClass() with 3160 the shorter getColumnClass(). 3161 (getColumnClass): Call getModel() instead of accessing dataModel 3162 directly. Important for correct operation of subclasses. 3163 31642005-11-18 Roman Kennke <kennke@aicas.com> 3165 3166 * javax/swing/JTabbedPane.java 3167 (insertTab): Don't call layout() directly, instead call 3168 revalidate(). 3169 31702005-11-18 Roman Kennke <kennke@aicas.com> 3171 3172 * java/awt/Container.java 3173 (findComponentForMouseEventAt): Also check for mouseMotionListeners, 3174 otherwise we wouldn't dispatch mouse motion events on components 3175 that have no mouse listener installed. 3176 31772005-11-18 Lillian Angel <langel@redhat.com> 3178 3179 PR classpath/PR24754 3180 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 3181 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): Fixed width 3182 for the case where there is more than one line in the layout's text. 3183 Otherwise, the width of the layout would be returned, which is the 3184 max width of all the lines in the text. A loop was added to get the 3185 extent of all the lines and add them together. 3186 31872005-11-18 Roman Kennke <kennke@aicas.com> 3188 3189 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 3190 (minTabWidth): New field. 3191 (selectColor): New field. 3192 (selectHighlight): New field. 3193 (tabAreaBackground): New field. 3194 (installDefaults): Initialize new fields with values for UIManager. 3195 31962005-11-18 Roman Kennke <kennke@aicas.com> 3197 3198 * javax/swing/plaf/basic/BasicInternalFrameUI.java 3199 (installUI): Don't install layout here. 3200 (uninstallUI): Don't uninstall layout here. 3201 (installDefaults): Install layout here. 3202 (uninstallDefaults): Uninstall layout here. 3203 (getPreferredSize): Use getLayout() to fetch the layout of the frame 3204 instead of directly accessing the corresponding field. This 3205 is necessary to make subclasses work that don't use this field. 3206 (getMinimumSize): Likewise. 3207 (getMaximumSize): Likewise. 3208 32092005-11-18 Gary Benson <gbenson@redhat.com> 3210 3211 * AUTHORS: Added myself. 3212 32132005-11-18 David Gilbert <david.gilbert@object-refinery.com> 3214 3215 * javax/swing/JComponent.java 3216 (setPreferredSize): Check for null argument before making a copy. 3217 32182005-11-18 Gary Benson <gbenson@redhat.com> 3219 3220 * java/lang/SecurityManager.java (checkAccess): Correctly 3221 identify system threads (and thus check permissions for them). 3222 32232005-11-18 David Gilbert <david.gilbert@object-refinery.com> 3224 3225 * javax/swing/JComponent.java 3226 (setMinimumSize): Check for null argument before making a copy. 3227 32282005-11-18 Paul Jenner <psj@harker.dyndns.org> 3229 3230 * native/jni/xmlj/xmlj_util.h (XMLJ_64BIT_POINTER): Removed. 3231 32322005-11-18 David Gilbert <david.gilbert@object-refinery.com> 3233 3234 * javax/swing/JComponent.java 3235 (setMaximumSize): Check for null argument before making a copy. 3236 32372005-11-17 Roman Kennke <kennke@aicas.com> 3238 3239 * javax/swing/JEditorPane.java 3240 (PlainEditorKit): New inner class. 3241 (createDefaultEditorKit): Return an instance of PlainEditorKit. 3242 * javax/swing/JTextPane.java 3243 (insertComponent): Implemented previously stubbed method. 3244 (insertIcon): Implemented previously stubbed method. 3245 32462005-11-17 Roman Kennke <kennke@aicas.com> 3247 3248 * javax/swing/plaf/basic/BasicEditorPaneUI.java 3249 (create): Removed unneeded method. 3250 * javax/swing/plaf/basic/BasicTextPaneUI.java 3251 (create): Removed unneeded method. 3252 32532005-11-17 Roman Kennke <kennke@aicas.com> 3254 3255 * java/awt/Container.java 3256 (Container): Added comment. 3257 (remove): Only call removeNotify if removed component is still 3258 showing. 3259 (paintComponents): Call paint() instead of super.paint(). 3260 (AccessibleContainerHandler.AccessibleContainerHandler): Added 3261 comment. 3262 (LightweightDispatcher.acquireComponentForMouseEvent): 3263 Don't special case MOUSE_RELEASED events. They should be 3264 dispatched unmodified just as MOUSE_PRESSED. 3265 (LightweightDispatcher.handleEvent): Also clean up the pressCount 3266 after a MOUSE_RELEASE. 3267 32682005-11-17 Anthony Balkissoon <abalkiss@redhat.com> 3269 3270 * javax/swing/text/BoxView.java: 3271 (modelToView): New API method. 3272 32732005-11-17 Lillian Angel <langel@redhat.com> 3274 3275 PR classpath/PR24721 3276 * javax/swing/text/BoxView.java 3277 (getViewAtPoint): Added check in to return the last view, if one 3278 exists and the point was not contained in the rectangle. This is 3279 what the JDK does. 3280 * javax/swing/text/CompositeView.java 3281 (viewToModel): Fixed API documentation. Added check to make sure 3282 x and y are greater than 0. Otherwise, 0 is returned. 3283 * javax/swing/text/DefaultCaret.java 3284 (moveDot): Added check to match API specs. 3285 (setDot): Likewise. 3286 * javax/swing/text/GlyphView.java 3287 (viewToModel): Removed assert. This is not needed here. The point 3288 does not need to be in the rectangle. 3289 32902005-11-17 Roman Kennke <kennke@aicas.com> 3291 3292 Reported by Roman Schnider <schnider@aicas.com>: 3293 * java/awt/Component.java 3294 (reshape): Removed unused statement. 3295 (repaint()): Don't forward to parent when not showing. 3296 (repaint(int)): Don't forward to parent when not showing. 3297 (repaint(int,int,int,int)): Don't forward to parent when not showing. 3298 (repaint(float,int,int,int,int)): Don't forward to parent when not 3299 showing. 3300 33012005-11-17 Roman Kennke <kennke@aicas.com> 3302 3303 * javax/swing/text/AbstractDocument.java 3304 (LeafElement.getName): If super.getName() returns something 3305 non-null, then return that instead of ContentElementName. 3306 * javax/swing/text/ComponentView.java 3307 (comp): New field. 3308 (getAlignment): Implemented previously stubbed method. 3309 (getComponent): Implemented previously stubbed method. 3310 (getMaximumSpan): Implemented previously stubbed method. 3311 (getMinimumSpan): Implemented previously stubbed method. 3312 (getPreferredSpan): Implemented previously stubbed method. 3313 (modelToView): Implemented previously stubbed method. 3314 (paint): Implemented previously stubbed method. 3315 (setParent): Implemented previously stubbed method. 3316 (setSize): Removed unneeded method. 3317 (viewToModel): Implemented previously stubbed method. 3318 * javax/swing/text/FlowView.java 3319 (insertUpdate): Forward this event to the logical view. 3320 * javax/swing/text/IconView.java 3321 (paint): Implemented previously stubbed method. 3322 (getPreferredSpan): Implemented previously stubbed method. 3323 (modelToView): Implemented previously stubbed method. 3324 (viewToModel): Implemented previously stubbed method. 3325 * javax/swing/text/ParagraphView.java 3326 (firstLineIndent): New field. 3327 (justification): New field. 3328 (lineSpacing): New field. 3329 (tabSet): New field. 3330 (changedUpdate): New method. 3331 (setPropertiesFromAttributes): New method. 3332 (setFirstLineIndent): New method. 3333 (setJustification): New method. 3334 (setLineSpacing): New method. 3335 (getLayoutView): New method. 3336 (getLayoutViewCount): New method. 3337 (getTabSet): New method. 3338 33392005-11-17 Anthony Balkissoon <abalkiss@redhat.com> 3340 3341 * javax/swing/plaf/basic/BasicEditorPaneUI.java: 3342 (create): Create new WrappedPlainView instance instead of PlainView. 3343 33442005-11-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> 3345 3346 PR 24911 3347 * examples/Makefile.am 3348 (EXAMPLE_JAVA_FILES): Extended by /*/*/*.java and /*/*/*/*.java. 3349 (READMES): New category. 3350 (ALL_EXAMPLE_FILES): Extended by READMES category. 3351 33522005-11-17 Bryce McKinlay <mckinlay@redhat.com> 3353 3354 * gnu/java/net/protocol/jar/Connection.java (getHeaderField): 3355 Implemented. 3356 (getLastModified): Implemented. 3357 33582005-11-17 Mark Wielaard <mark@klomp.org> 3359 3360 * java/net/URLClassLoader.java: Reindented. 3361 33622005-11-17 Roman Kennke <kennke@aicas.com> 3363 3364 * javax/swing/JApplet.java 3365 (paramString): Returns super.paramString() instead of a meaningless 3366 'JFrame'. 3367 * javax/swing/JPanel.java 3368 (paramString): Returns super.paramString() instead of a meaningless 3369 'JPanel'. 3370 33712005-11-17 Roman Kennke <kennke@aicas.com> 3372 3373 * javax/swing/plaf/basic/BasicButtonUI.java 3374 (installDefaults): Don't handle the Button.rollover property here, 3375 this is Metal specific and is handled in MetalButtonUI. 3376 33772005-11-17 Roman Kennke <kennke@aicas.com> 3378 3379 * javax/swing/JList.java 3380 (locationToIndex): Clarified API comment. 3381 33822005-11-17 Roman Kennke <kennke@aicas.com> 3383 3384 * javax/swing/tree/DefaultTreeCellEditor.java 3385 (DefaultTreeCellEditor): Replaced 3386 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). 3387 (createTreeCellEditor): Replaced 3388 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). 3389 * javax/swing/tree/DefaultTreeCellRenderer.java 3390 (DefaultTreeCellRenderer): Replaced 3391 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). 3392 (getDefaultOpenIcon): Replaced 3393 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). 3394 (getDefaultClosedIcon): Replaced 3395 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). 3396 (getDefaultLeafIcon): Replaced 3397 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX(). 3398 (getTreeCellRendererComponent): Replaced 3399 UIManager.getLookAndFeelDefaults().getXXX() with UIManager.getXXX().w 3400 (paint): Replaced UIManager.getLookAndFeelDefaults().getXXX() 3401 with UIManager.getXXX(). 3402 34032005-11-17 Andrew Haley <aph@redhat.com> 3404 3405 * gnu/java/net/protocol/file/Connection.java (unquote): New 3406 method. 3407 (connect): Unquote filename. 3408 * gnu/java/net/protocol/jar/Connection.java (get): Likewise. 3409 3410 * java/net/URL.java (URL): If the file part of a spec is absolute, 3411 ignore the file part of its context. 3412 34132005-11-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> 3414 3415 * examples/gnu/classpath/examples/CORBA/swing/README.html: 3416 Added note about the build. 3417 34182005-11-16 Anthony Balkissoon <abalkiss@redhat.com> 3419 3420 * javax/swing/JSplitPane.java: Reformatted file. 3421 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reformatted file. 3422 34232005-11-16 Lillian Angel <langel@redhat.com> 3424 3425 * javax/swing/ToolTipManager.java 3426 (mouseEntered): No need to start the insideTimer here, 3427 already called showTip. 3428 34292005-11-16 Lillian Angel <langel@redhat.com> 3430 3431 PR classpath/PR24763 3432 * javax/swing/ToolTipManager.java 3433 (mouseEntered): showTip should be called if exitTimer is running. 3434 This means that the mouse has exited and re-entered a component 3435 in less than 500ms. 3436 (mouseExited): If enterTimer is not running, the exitTimer should 3437 be started no matter what. 3438 (showTip): Should not show tool tip if the currentComponent is 3439 not showing. 3440 34412005-11-16 Lillian Angel <langel@redhat.com> 3442 3443 PR classpath/PR23557 and PR classpath/PR24099 3444 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 3445 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 3446 Added check to determine if dst->drawable or src->drawable 3447 are actually drawable. If not, return. 3448 34492005-11-16 Roman Kennke <kennke@aicas.com> 3450 3451 * javax/swing/plaf/metal/MetalBorders.java 3452 (ButtonBorder.paintBorder): Special case the OceanTheme. 3453 (ButtonBorder.paintOceanThemeBorder): New method. 3454 * javax/swing/plaf/metal/MetalButtonUI.java 3455 (installDefaults): Set the rollover flag here. Don't set a special 3456 border for rollover buttons. 3457 (uninstallDefaults): Reset the rollover flag. 3458 (update): Only paint gradient when button is enabled and not pressed. 3459 * javax/swing/plaf/metal/MetalLookAndFeel.java 3460 (getCurrentTheme): New method. 3461 34622005-11-16 Gary Benson <gbenson@redhat.com> 3463 3464 * java/io/FilePermission.java (implies): Correct the sense 3465 in which action checks are applied. 3466 34672005-11-16 Anthony Balkissoon <abalkiss@redhat.com> 3468 3469 * AUTHORS: Added myself. 3470 * javax/swing/KeyboardManager.java: Changed @author tag to match the 3471 other ones I have. 3472 * javax/swing/text/WrappedPlainView.java: Likewise. 3473 34742005-11-16 Gary Benson <gbenson@redhat.com> 3475 3476 * java/security/ProtectionDomain.java (toString): Use 3477 gnu.classpath.SystemProperties to read line.separator 3478 without security manager check. 3479 34802005-11-16 Lillian Angel <langel@redhat.com> 3481 3482 * java/awt/image/MemoryImageSource.java 3483 (startProduction): If animated, imageComplete should 3484 be called with the SINGLEFRAMEDONE flag, meaning the 3485 single frame is complete, but there are more frames 3486 to follow. 3487 34882005-11-16 Anthony Balkissoon <abalkiss@redhat.com> 3489 3490 * javax/swing/text/PlainDocument.java: 3491 (insertString): Null check fixes PR 24890. 3492 34932005-11-16 Lillian Angel <langel@redhat.com> 3494 3495 * javax/swing/plaf/basic/BasicTreeUI.java 3496 (paintVerticalPartOfLeg): Added a check to prevent 3497 ArrayOutOfBoundsException. 3498 34992005-11-16 Roman Kennke <kennke@aicas.com> 3500 3501 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 3502 (paintTitleBackground): Only paint background if component is 3503 opaque. 3504 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 3505 (paintPalette): Added gradient painting. 3506 (paintComponent): Added gradient painting. 3507 * javax/swing/plaf/metal/OceanTheme.java 3508 (addCustomEntriesToTable): Added gradient for 3509 InternalFrama.activeTitleGradient. 3510 35112005-11-16 Lillian Angel <langel@redhat.com> 3512 3513 * javax/swing/ToolTipManager.java: 3514 Removed unneeded fields. 3515 (showTip): Re-implemented to use PopupFactory. 3516 (hideTip): Likewise. 3517 (adjustLocation): Fixed location. 3518 35192005-11-16 Anthony Balkissoon <abalkiss@redhat.com> 3520 3521 * javax/swing/text/PlainDocument.java: 3522 (insertUpdate): The very first new element added doesn't start at the 3523 start of the event, it starts at the start offset of the Element that 3524 contains the start of the event. 3525 35262005-11-16 Roman Kennke <kennke@aicas.com> 3527 3528 * javax/swing/plaf/basic/BasicMenuItemUI.java 3529 (paintMenuItem): Always call paintBackground(). 3530 35312005-11-16 Lillian Angel <langel@redhat.com> 3532 3533 * gnu/java/awt/peer/gtk/GtkDialogPeer.java 3534 (create): Since popups were changed to be JWindowPopups, 3535 this code should be done in GtkWindowPeer. Code is not 3536 needed. 3537 * gnu/java/awt/peer/gtk/GtkWindowPeer.java 3538 (create): If window is not focusable, it should not take 3539 the focus away from any other window. Therefore, its 3540 type should be set to GDK_WINDOW_TYPE_HINT_MENU. 3541 35422005-11-16 Roman Kennke <kennke@aicas.com> 3543 3544 * javax/swing/plaf/metal/MetalButtonUI.java 3545 (update): New method. Paints the gradient. 3546 * javax/swing/plaf/metal/MetalCheckBoxIcon.java 3547 (paintIcon): Paint gradient. 3548 * javax/swing/plaf/metal/MetalIconFactory.java 3549 (RadioButtonIcon.paintIcon): Paint gradient. 3550 * javax/swing/plaf/metal/MetalLookAndFeel.java 3551 (initClassDefaults): Added MetalMenuBarUI. 3552 * javax/swing/plaf/metal/MetalMenuBarUI.java: New file. 3553 * javax/swing/plaf/metal/MetalToggleButtonUI.java 3554 (update): New method. Paints the gradient. 3555 * javax/swing/plaf/metal/OceanTheme.java 3556 (addCustomEntriesToTable): Added all the gradients. 3557 35582005-11-16 Roman Kennke <kennke@aicas.com> 3559 3560 * javax/swing/JMenu.java 3561 (JMenu()): Set opaque flag to false. 3562 (JMenu(String)): Likewise. 3563 (JMenu(Action)): Likewise. 3564 35652005-11-16 Roman Kennke <kennke@aicas.com> 3566 3567 * javax/swing/plaf/basic/BasicListUI.java 3568 (getRowHeight): Adjusted to deal correctly with fixed cell heights. 3569 (convertYRoRow): Likewise. 3570 * javax/swing/plaf/basic/BasicMenuItemUI.java 3571 (installDefaults): Don't make the menu item opaque here. 3572 (paintBackground): Moved background painting code from 3573 paintMenuItem() to this method. 3574 (paintMenuItem): Moved background painting to paintBackground(). 3575 (installDefaults): Don't set opaque flag here. 3576 35772005-11-16 Roman Kennke <kennke@aicas.com> 3578 3579 * javax/swing/plaf/metal/MetalUtils.java 3580 (paintGradient): New utility method(s). 3581 (paintHorizontalGradient): New utility method. 3582 (paintVerticalGradient): New utility method. 3583 35842005-11-15 Roman Kennke <kennke@aicas.com> 3585 3586 * javax/swing/JComponent.java 3587 (paintDoubleBuffered): Put paint() call inside a try-finally 3588 block to correctly recover the double-buffering flag when 3589 an exception is thrown inside the paint() call. 3590 35912005-11-15 Lillian Angel <langel@redhat.com> 3592 3593 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 3594 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable): 3595 Needed to set allow_shrink to the same value as resizable. Other- 3596 wise, it is always set to false. 3597 35982005-11-15 Lillian Angel <langel@redhat.com> 3599 3600 * javax/swing/plaf/basic/BasicTreeUI.java 3601 (paint): Added check to prevent NPE. 3602 36032005-11-15 Anthony Balkissoon <abalkiss@redhat.com> 3604 3605 * javax/swing/JComponent.java: 3606 (removeNotify): Unregister WHEN_IN_FOCUSED_WINDOW bindings from the 3607 KeyboardManager. 3608 36092005-11-15 Lillian Angel <langel@redhat.com> 3610 3611 * javax/swing/plaf/basic/BasicLookAndFeel.java 3612 (initComponentDefaults): Default rowHeight for tree's should 3613 be 0. This is Sun and IBM's default. 3614 * javax/swing/plaf/metal/MetalLookAndFeel.java 3615 (initComponentDefaults): Default rowHeight for tree's should 3616 e 0. This is Sun and IBM's default. 3617 * javax/swing/plaf/basic/BasicTreeUI.java: 3618 Added a default rowHeight field. 3619 (setRowHeight): Set the rowHeight to the class default if parameter 3620 is 0. Tree row height should never be set to 0. 20 is the minimum. 3621 (installDefaults): fixed call to tree.setRowHeight 3622 (shouldPaintExpandControl): Added to check to prevent NPE. 3623 36242005-11-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> 3625 3626 * examples/gnu/classpath/examples/CORBA/swing/README.html, 3627 examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java, 3628 examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java, 3629 examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java, 3630 examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java, 3631 examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java, 3632 examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java, 3633 examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java, 3634 examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java, 3635 examples/gnu/classpath/examples/CORBA/swing/x5/Player.java, 3636 examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java, 3637 examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java, 3638 examples/gnu/classpath/examples/CORBA/swing/x5/State.java, 3639 examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java, 3640 examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java, 3641 examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java, 3642 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java, 3643 examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java: 3644 New files. 3645 36462005-11-15 Roman Kennke <kennke@aicas.com> 3647 3648 * javax/swing/UIManager.java 3649 (userUIDefaults): New field. 3650 (get(Object)): Respect the user UI settings. 3651 (get(Object,Locale)): Respect the user UI settings. 3652 (getBoolean(Object)): Call get() instead of 3653 getLookAndFeelDefaults().get() in order to respect the user UI 3654 settings. 3655 (getBoolean(Object,Locale)): Call get() instead of 3656 getLookAndFeelDefaults().get() in order to respect the user UI 3657 settings. 3658 (getBorder(Object)): Call get() instead of 3659 getLookAndFeelDefaults().get() in order to respect the user UI 3660 settings. 3661 (getBorder(Object,Locale)): Call get() instead of 3662 getLookAndFeelDefaults().get() in order to respect the user UI 3663 settings. 3664 (getColor(Object)): Call get() instead of 3665 getLookAndFeelDefaults().get() in order to respect the user UI 3666 settings. 3667 (getColor(Object,Locale)): Call get() instead of 3668 getLookAndFeelDefaults().get() in order to respect the user UI 3669 settings. 3670 (getDimension(Object)): Call get() instead of 3671 getLookAndFeelDefaults().get() in order to respect the user UI 3672 settings. 3673 (getDimension(Object,Locale)): Call get() instead of 3674 getLookAndFeelDefaults().get() in order to respect the user UI 3675 settings. 3676 (getFont(Object)): Call get() instead of 3677 getLookAndFeelDefaults().get() in order to respect the user UI 3678 settings. 3679 (getFont(Object,Locale)): Call get() instead of 3680 getLookAndFeelDefaults().get() in order to respect the user UI 3681 settings. 3682 (getIcon(Object)): Call get() instead of 3683 getLookAndFeelDefaults().get() in order to respect the user UI 3684 settings. 3685 (getIcon(Object,Locale)): Call get() instead of 3686 getLookAndFeelDefaults().get() in order to respect the user UI 3687 settings. 3688 (getInsets(Object)): Call get() instead of 3689 getLookAndFeelDefaults().getInsets() in order to respect the user UI 3690 settings. 3691 (getInsets(Object,Locale)): Call get() instead of 3692 getLookAndFeelDefaults().getInsets() in order to respect the user UI 3693 settings. 3694 (getInt(Object)): Call get() instead of 3695 getLookAndFeelDefaults().get() in order to respect the user UI 3696 settings. 3697 (getInt(Object,Locale)): Call get() instead of 3698 getLookAndFeelDefaults().get() in order to respect the user UI 3699 settings. 3700 (getString(Object)): Call get() instead of 3701 getLookAndFeelDefaults().get() in order to respect the user UI 3702 settings. 3703 (getString(Object,Locale)): Call get() instead of 3704 getLookAndFeelDefaults().get() in order to respect the user UI 3705 settings. 3706 (getUI(JComponent)): Respect the user UI settings. 3707 (put): Put key/value into user UI settings. 3708 37092005-11-15 Roman Kennke <kennke@aicas.com> 3710 3711 * javax/swing/plaf/metal/MetalBorders.java 3712 (OptionDialogBorder.paintBorder): Replaced 3713 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3714 * javax/swing/plaf/metal/MetalButtonUI.java 3715 (MetalButtonUI): Replaced UIManager.getLookAndFeelDefaults().get() 3716 with UIManager.get(). 3717 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 3718 (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() 3719 with UIManager.get(). 3720 * javax/swing/plaf/metal/MetalLabelUI.java 3721 (paintDisabledText): Replaced UIManager.getLookAndFeelDefaults().get() 3722 with UIManager.get(). 3723 * javax/swing/plaf/metal/MetalRadioButtonUI.java 3724 (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() 3725 with UIManager.get(). 3726 * javax/swing/plaf/metal/MetalScrollBarUI.java 3727 (createDecreaseButton): Replaced 3728 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3729 (createIncreaseButton): Replaced 3730 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3731 (paintThumbHorizontal): Replaced 3732 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3733 (paintThumbVertical): Replaced 3734 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3735 * javax/swing/plaf/metal/MetalSplitPaneUI.java 3736 (createDefaultDivider): Replaced 3737 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3738 * javax/swing/plaf/metal/MetalToggleButtonUI.java 3739 (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() 3740 with UIManager.get(). 3741 * javax/swing/plaf/metal/MetalToolTipUI.java 3742 (MetalToolTipUI): Replaced UIManager.getLookAndFeelDefaults().get() 3743 with UIManager.get(). 3744 * javax/swing/plaf/metal/MetalTreeUI.java 3745 Removed all listener fields. 3746 (installUI): Removed initialization and call super.installUI() 3747 instead. 3748 (uninstallUI): Removed initialization and call super.uninstallUI() 3749 instead. 3750 37512005-11-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> 3752 3753 * gnu/CORBA/OrbFunctional.java (serveStep): 3754 Returning ensure that the socket is closed. 3755 37562005-11-15 Roman Kennke <kennke@aicas.com> 3757 3758 * javax/swing/plaf/basic/BasicBorders.java 3759 (getButtonBorder): Replaced UIManager.getLookAndFeelDefaults().get() 3760 with UIManager.get(). 3761 (getRadioButtonBorder): Replaced 3762 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3763 (getToggleButtonBorder): Replaced 3764 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3765 (getMenuBarBorder): Replaced 3766 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3767 (getSplitPaneBorder): Replaced 3768 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3769 (getSplitPaneDividerBorder): Replaced 3770 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3771 (getTextFieldBorder): Replaced 3772 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3773 (getInternalFrameBorder): Replaced 3774 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3775 * javax/swing/plaf/basic/BasicButtonUI.java 3776 (paintText): Replaced UIManager.getLookAndFeelDefaults().get() 3777 with UIManager.get(). 3778 * javax/swing/plaf/basic/BasicCheckBoxUI.java 3779 (getDefaultIcon): Replaced UIManager.getLookAndFeelDefaults().get() 3780 with UIManager.get(). 3781 * javax/swing/plaf/basic/BasicComboBoxUI.java 3782 (paintCurrentValue): Replaced UIManager.getLookAndFeelDefaults().get() 3783 with UIManager.get(). 3784 * javax/swing/plaf/basic/BasicFileChooserUI.java 3785 (installStrings): Replaced UIManager.getLookAndFeelDefaults().get() 3786 with UIManager.get(). 3787 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 3788 (installDefaults): Replaced UIManager.getLookAndFeelDefaults().get() 3789 with UIManager.get(). 3790 * javax/swing/plaf/basic/BasicListUI.java 3791 (installKeyboardActions): Replaced 3792 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3793 * javax/swing/plaf/basic/BasicProgressBarUI.java 3794 (boxRect): Added @since tag to the API comment. 3795 * javax/swing/plaf/basic/BasicRadioButtonUI.java 3796 (getDefaultIcon): Replaced UIManager.getLookAndFeelDefaults().get() 3797 with UIManager.get(). 3798 * javax/swing/plaf/basic/BasicScrollBarUI.java 3799 (configureScrollBarColors): Replaced 3800 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3801 (calculatePreferredSize): Fetch preferred width or height from 3802 UI defaults. 3803 * javax/swing/plaf/basic/BasicTableUI.java 3804 (installKeyboardActions): Replaced 3805 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3806 * javax/swing/plaf/basic/BasicTextUI.java 3807 (createKeymap): Replaced 3808 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3809 (getInputMap): Replaced 3810 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3811 (getActionMap): Replaced 3812 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3813 * javax/swing/plaf/basic/BasicToolBarUI.java 3814 (dragTo): Don't use cached* fields. 3815 (installComponents): Don't use cached* fields. 3816 * javax/swing/plaf/basic/BasicTreeUI.java 3817 (getHashColor): Replaced 3818 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3819 (setHashColor): Replaced 3820 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3821 Added FIXME comment. 3822 (installKeyboardActions): Replaced 3823 UIManager.getLookAndFeelDefaults().get() with UIManager.get(). 3824 38252005-11-15 Christian Thalinger <twisti@complang.tuwien.ac.at> 3826 3827 * native/jni/java-lang/java_lang_VMDouble.c (initIDs): Register 3828 clsDouble as global ref. 3829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 3830 (gtkInit): Register gtkgenericpeer as global ref. 3831 38322005-11-15 Lillian Angel <langel@redhat.com> 3833 3834 * javax/swing/plaf/basic/BasicTreeUI.java: 3835 Removed unneeded field. 3836 (getPathBounds): Reimplemented to use getNodeDimensions. 3837 (getRowCount): Removed call to updateCurrentVisiblePath. 3838 (uninstallKeyboardActions): Implemented. 3839 (paint): Reimplemented to only paint rows contained in clip. 3840 No longer uses recursion. 3841 (mousePressed): If control icon is clicked, should scroll to that 3842 path. 3843 (getNodeDimensions): Implemented. 3844 (getRowX): Implemented. 3845 (getCellBounds): Removed. 3846 (getCellLocation): Removed. 3847 (paintRecursive): Removed. 3848 (paintControlIcons): Removed. 3849 (getPreviousVisibleNode): Removed call to updateCurrentVisiblePath. 3850 (getLevel): Added check for invisible root. 3851 (paintVerticalLine): Set graphics color. 3852 (paintHorizontalLine): Likewise. 3853 (drawCentered): Added negative check. 3854 (drawDashedHorizontalLine): Set graphics color. 3855 (drawDashedVerticalLine): Likewise. 3856 (paintExpandControl): Implemented. 3857 (paintHorizontalPartOfLeg): Likewise. 3858 (paintVerticalPartOfLeg): Likewise. 3859 (paintRow): Added call to paint the control icons. 3860 (updateCurrentVisiblePath): Cleaned up function. 3861 38622005-11-15 Anthony Balkissoon <abalkiss@redhat.com> 3863 3864 * javax/swing/text/AbstractDocument.java: 3865 (remove): Do not set up an ElementEdit here, this is done in the 3866 Document implementation's removeUpdate method. 3867 * javax/swing/text/PlainDocument.java: 3868 (insertUpdate): Do not call reindex, instead, reindex the lines here 3869 directly but only starting from the offset of the newly inserted text. 3870 Also, if entire lines have been added or removed, set up an ElementEdit 3871 and add it to the DocumentEvent. Chain BadLocationException to an 3872 AssertionError and throw it in the unexpected case. 3873 (removeUpdate): If entire lines have been added or removed, set up an 3874 ElementEdit and add it to the DocumentEvent. Chain 3875 BadLocationException to an AssertionError and throw it in the 3876 unexpected case. 3877 (reindex): Removed unnecessary method. 3878 38792005-11-15 Wolfgang Baer <WBaer@gmx.de> 3880 3881 * javax/print/attribute/DateTimeSyntax.java, 3882 * javax/print/attribute/EnumSyntax.java, 3883 * javax/print/attribute/IntegerSyntax.java, 3884 * javax/print/attribute/URISyntax.java: 3885 Added and enhances some api docs. 3886 38872005-11-15 Lillian Angel <langel@redhat.com> 3888 3889 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: 3890 Code written by Sven de Marothy. 3891 (gtkWindowGetLocationOnScreen): Added declaration 3892 for native function. 3893 (getLocationOnScreen): Changed to handle 2 different cases. 3894 If the component is a window, gtkWindowGetLocationOnScreen is 3895 called; otherwise, gtkWidetGetLocationOnScreen. 3896 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: 3897 Added signature for new function Java_gnu_java_awt_peer_ 3898 gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen. 3899 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 3900 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): 3901 Implemented. 3902 39032005-11-15 Roman Kennke <kennke@aicas.com> 3904 3905 * javax/swing/JViewport.java 3906 (JViewport): Recognize setting of a system property 3907 gnu.javax.swing.JViewport for the scrollMode. 3908 39092005-11-15 Roman Kennke <kennke@aicas.com> 3910 3911 * javax/swing/plaf/metal/MetalUtils.java 3912 (fillMetalPattern2D): Fixed the texture width. 3913 (initializePattern): Made texture transparent. 3914 39152005-11-15 Roman Kennke <kennke@aicas.com> 3916 3917 * javax/swing/JTextField.java 3918 (createDefaultModel): Set the filterNewlines property on the created 3919 model. 3920 39212005-11-15 Roman Kennke <kennke@aicas.com> 3922 3923 * javax/swing/plaf/basic/BasicListUI.java 3924 Fixed API docs all over to better explain the changed (but correct) 3925 behaviour. 3926 (convertYToRow): Added some short-circuits for special cases. Update 3927 the layout state if necessary. Fixed to match the JDK behaviour. 3928 Added API docs to better explain the behaviour. 3929 (updateLayoutState): When a fixedCellHeight is set, then use the 3930 cellHeight field, otherwise use the cellHeights array. 3931 (uninstallDefaults): Removed unnecessary statement. 3932 (paintBackground): Removed unnecessary method. 3933 (paintCell): Removed some commented-out code. 3934 (paint): Removed call to paintBackground(). 3935 (locationToIndex): Removed unused statement. 3936 39372005-11-14 Wolfgang Baer <WBaer@gmx.de> 3938 3939 * javax/print/attribute/AttributeSetUtilities.java: 3940 Added api docs and enhanced api docs all over the place. 3941 (verifyCategoryForValue): Throw exception when arguments 3942 are _not_ equal and throw NPE also if attribute is null. 3943 39442005-11-14 Lillian Angel <langel@redhat.com> 3945 3946 * gnu/java/awt/peer/gtk/GtkComponentPeer.java 3947 (getLocationOnScreen): The insets should be taken into account 3948 when returning the location of an object on the screen. 3949 39502005-11-14 Anthony Balkissoon <abalkiss@redhat.com> 3951 3952 * javax/swing/JMenuBar.java: 3953 (removeNotify): Unregister this JMenuBar from the KeyboardManager. 3954 * javax/swing/KeyboardManager.java: 3955 (unregisterJMenuBar): New implementation method. 3956 39572005-11-14 Anthony Balkissoon <abalkiss@redhat.com> 3958 3959 * javax/swing/JComponent.java: 3960 (removeNotify): Removed unncessary InputMap and ActionMap inheritance 3961 code. Added FIXME to remove the WHEN_IN_FOCUSED_WINDOW bindings from 3962 the KeyboardManager. 3963 * javax/swing/JMenuBar.java: 3964 (removeNotify): Added FIXME to unregister this JMenuBar from the 3965 KeyboardManager. 3966 39672005-11-14 Wolfgang Baer <WBaer@gmx.de> 3968 3969 * javax/print/attribute/HashAttributeSet.java: 3970 Added api docs to class and clarified method documentation. 3971 (toArray): Get iterator from values instead of entries. 3972 (hashCode): Compute hashcode according to specification. 3973 (get): Throw NullPointerException if category is null. 3974 (HashAttributeSet(Attribute[],Class)): Changed to allow 3975 Attribute[] to be null. 3976 39772005-11-14 Mark Wielaard <mark@klomp.org> 3978 3979 As suggested by Joao Victor <jvital@gmail.com>: 3980 * javax/swing/Timer.java (Waker): Removed class. 3981 (Task): New class. 3982 (timer): New field. 3983 (running): Removed field. 3984 (waker): Likewise. 3985 (task): New field. 3986 (isRunning): Check whether task is null. 3987 (start): Create task and schedule it with timer. 3988 (stop): Cancel task and clear field. 3989 (queueEvent): Synchronized on queueLock. 3990 39912005-11-14 Lillian Angel <langel@redhat.com> 3992 3993 * javax/swing/JTree.java 3994 (expandPath): No need to get the parent path. 3995 * javax/swing/event/TreeModelEvent.java: 3996 Variables should be initialized to null. 3997 (toString): Implemented. 3998 * javax/swing/plaf/basic/BasicTreeUI.java 3999 (treeStructureChanged): Implemented. 4000 (getParent): Added check to avoid infinite loop. 4001 (findNode): Fixed check to use getChild, instead of 4002 getIndexOfChild. 4003 (updateCurrentVisiblePath): Added a loop to check 4004 the parent's sibling, if the current node has no 4005 other siblings. 4006 40072005-11-14 Anthony Balkissoon <abalkiss@redhat.com> 4008 4009 * javax/swing/ActionMap.java: 4010 (keys): Return null if the map is empty. 4011 (allKeys): Likewise. 4012 * javax/swing/InputMap.java: 4013 (keys): Return null if the map is empty. 4014 (allKeys): Likewise. 4015 * javax/swing/JMenuBar: 4016 (addNotify): Register the menu with the KeyboardManager. 4017 (processKeyBinding): New API method. 4018 (processKeyBindingHelper): New implementation method. 4019 * javax/swing/JMenuItem.java: 4020 (setAccelerator): Fire a PropertyChangeEvent after changing the 4021 accelerator. 4022 * javax/swing/KeyboardManager.java: 4023 (menuBarLookup): New field, Hashtable mapping between top-level 4024 containers and a Vector of the JMenuBars contained in them. 4025 (getHashtableForTopLevel): Changed this public method to package 4026 private. 4027 (registerEntireMap): Avoid NPE by returning early if the parameter 4028 is null or contains no mappings. 4029 (processKeyStroke): If the mapped component doesn't consume the event, 4030 let all JMenuBars in the top-level container have a chance at it. 4031 (getVectorForTopLevel): New implementation method. 4032 (registerJMenuBar): Likewise. 4033 * javax/swing/plaf/basic/BasicMenuItemUI.java: 4034 (propertyChangeListener): New field. 4035 (PropertyChangeHandler): New class to handle PropertyChangeEvents on 4036 the JMenuItem. 4037 (ClickAction): New class to implement accelerator key handling. 4038 (BasicMenuItemUI<init>): Instantiate the propertyChangeListener field. 4039 (installKeyboardActions): Implemented. 4040 (installListeners): Install the propertyChangeListener. 4041 (installUI): Call installKeyboardAcions after installing the listeners. 4042 (uninstallKeyboardActions): Implemented. 4043 (uninstallListeners): Remove the propertyChangeListener. 4044 40452005-11-14 Tom Tromey <tromey@redhat.com> 4046 4047 * java/applet/Applet.java (URLAudioClip): New class. 4048 (newAudioClip): Implemented. 4049 * gnu/java/beans/DummyAppletContext.java (getAudioClip): Use 4050 Applet.newAudioClip. 4051 (DUMMY_CLIP): Removed. 4052 (DummyAudioClip): Removed. 4053 40542005-11-14 Tom Tromey <tromey@redhat.com> 4055 4056 * javax/sound/sampled/Line.java (open): Throws 4057 LineUnavailableException. 4058 40592005-11-14 Roman Kennke <kennke@aicas.com> 4060 4061 Reported by Ingo Proetel <proetel@aicas.com> 4062 * gnu/java/io/PlatformHelper.java 4063 (toCanonicalForm): Remove lowercasing of paths in Windows. This 4064 breaks working with URLs, like when accessing files withing JAR 4065 files. 4066 40672005-11-14 Roman Kennke <kennke@aicas.com> 4068 4069 * javax/swing/JLayeredPane.java 4070 (paint): Only clear the background if the layeredPane is opaque. 4071 40722005-11-14 Roman Kennke <kennke@aicas.com> 4073 4074 * javax/swing/RepaintManager.java 4075 (globalManager): Removed obsolete field. 4076 (currentRepaintManagers): New field. 4077 (RepaintWorker.run): Fetch current RepaintManager for the current 4078 thread group. 4079 (currentManager): Return the current manager for the current thread 4080 group. 4081 (setCurrentManager): Set the repaint manager for the current thread 4082 group. 4083 40842005-11-14 Roman Kennke <kennke@aicas.com> 4085 4086 * javax/swing/plaf/basic/BasicComboPopup.java 4087 (show): Instead of fiddling with the list size, set the preferredSize 4088 of the scroller. 4089 (configureScroller): Set border to null. 4090 (configurePopup): Set border correctly. 4091 40922005-11-14 Roman Kennke <kennke@aicas.com> 4093 4094 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 4095 (setButtonIcons): Only set icons if buttons are != null. 4096 40972005-11-14 Roman Kennke <kennke@aicas.com> 4098 4099 * javax/swing/plaf/basic/BasicLookAndFeel.java 4100 (initComponentDefaults): Fixed some UI defaults used by ProgressBar. 4101 41022005-11-14 Roman Kennke <kennke@aicas.com> 4103 4104 * javax/swing/plaf/basic/BasicTextFieldUI.java 4105 (propertyChange): Get new value from the PropertyChangeEvent and 4106 not from the component itself (since when it receives the event, 4107 the component still has the old state). 4108 41092005-11-14 Roman Kennke <kennke@aicas.com> 4110 4111 * javax/swing/plaf/basic/BasicTextUI.java 4112 (uninstallListeners): Uninstall the document listener here. 4113 (getVisibleEditorRect): Fetch the textComponent via getComponent(). 4114 41152005-11-14 Roman Kennke <kennke@aicas.com> 4116 4117 * javax/swing/text/BoxView.java 4118 (paint): Only paint child if it is inside the current clip. 4119 41202005-11-14 Roman Kennke <kennke@aicas.com> 4121 4122 * javax/swing/AbstractButton.java 4123 (setEnabled): Also set focusable flag on the button when the enabled 4124 property changes. 4125 41262005-11-14 Roman Kennke <kennke@aicas.com> 4127 4128 * javax/swing/plaf/basic/BasicProgressBarUI.java 4129 (boxRect): New protected field. 4130 (PropertyChangeHandler.propertyChange): Fixed typo in 'indeterminate'. 4131 Only start animation when progressBar is actually showing. Removed 4132 repaint call. 4133 (AncestorHandler): New inner class. Helps starting/stopping the 4134 animation when progressBar becomes showing/hidden. 4135 (ComponentHandler): New inner class. Recalculates box sizes for 4136 indeterminate progress bars when the size of the progress bar 4137 changes. 4138 (boxRect): New protected field. 4139 (boxDependent): New transient field. 4140 (boxIndependent): New transient field. 4141 (incr): New transient field. 4142 (ancestorListener): New private field. 4143 (componentListener): New private field. 4144 (getBox): Fixed calculation of the indeterminate progress bar box 4145 to match the JDK behaviour. 4146 (getMaximumSize): Implemented the maximumSize for progressBars. 4147 (getMinimumSize): Implemented the minimumSize for progressBars. 4148 (getPreferredInnerHorizontal): Implemented correctly. 4149 (getPreferredInnerVertical): Implemented correctly. 4150 (getPreferredSize): Implemented correctly using the getPreferredXXX() 4151 helper methods. 4152 (paintDeterminate): Fixed painting to better match the JDK behaviour. 4153 (paintIndeterminate): Fixed painting to better match the JDK behaviour. 4154 (paintString): Implemented 'half-dark-half-light' painted text. 4155 (installListeners): Install new listeners. 4156 (uninstallListeners): Uninstall new listeners. 4157 * javax/swing/plaf/basic/MetalProgressBarUI.java 4158 (paintDeterminate): New method. 4159 (paintIndeterminate): New method. 4160 41612005-11-14 Roman Kennke <kennke@aicas.com> 4162 4163 * examples/gnu/classpath/examples/swing/Demo.java 4164 (static_initializer): Set the L&F and theme explicitly for the 4165 default option, because JDK1.4 and JDK1.5 have different defaults. 4166 (mkMenuBar): For the slider demo, trigger the new SliderDemo 4167 class. Added ProgressBarDemo to menu. 4168 (mkSliders): Removed obsolete slider demo. 4169 (mkButtonBar): Added ProgressBar demo. 4170 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java: 4171 New file. Demonstrates the JProgressBar. 4172 41732005-11-13 Archie Cobbs <archie@dellroad.org> 4174 4175 * vm/reference/gnu/classpath/VMStackWalker.java (getClassLoader()): 4176 added to fix an infinite loop bug. 4177 * NEWS: note VM interface change. 4178 41792005-11-13 Ito Kazumitsu <kaz@maczuka.gcd.org> 4180 4181 Fixes bug #23008 4182 * gnu/java/nio/charset/UTF_16Decoder.java 4183 MAYBE_BIG_ENDIAN, MAYBE_LITTLE_ENDIAN: New constants representing 4184 such endianness which is similar to UNKNOWN_ENDIAN but defaults 4185 to big/little endian without a byte order mark. 4186 (decodeLoop): Handle MAYBE_BIG_ENDIAN and MAYBE_LITTLE_ENDIAN. 4187 * gnu/java/nio/charset/UnicodeLittle.java 4188 (newDecoder): Set the endianness to MAYBE_LITTLE_ENDIAN. 4189 41902005-11-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4191 4192 PR 24733 4193 * javax/swing/TransferHandler.java (getClipboard): Rewritten. 4194 41952005-11-13 Wolfgang Baer <WBaer@gmx.de> 4196 4197 * javax/print/attribute/HashDocAttributeSet.java, 4198 * javax/print/attribute/HashPrintJobAttributeSet.java, 4199 * javax/print/attribute/HashPrintRequestAttributeSet.java, 4200 * javax/print/attribute/HashPrintServiceAttributeSet.java, 4201 Added class api docs and enhanced method api docs. 4202 42032005-11-13 Tom Tromey <tromey@redhat.com> 4204 4205 * native/jni/midi-dssi/.cvsignore: Updated. 4206 * native/jni/midi-alsa/.cvsignore: New file. 4207 * lib/.cvsignore: Updated. 4208 42092005-11-13 Tom Tromey <tromey@redhat.com> 4210 4211 * javax/sound/sampled/AudioFileFormat.java: New file. 4212 * javax/sound/sampled/AudioFormat.java: New file. 4213 * javax/sound/sampled/AudioInputStream.java: New file. 4214 * javax/sound/sampled/AudioPermission.java: New file. 4215 * javax/sound/sampled/AudioSystem.java: New file. 4216 * javax/sound/sampled/BooleanControl.java: New file. 4217 * javax/sound/sampled/Clip.java: New file. 4218 * javax/sound/sampled/CompoundControl.java: New file. 4219 * javax/sound/sampled/Control.java: New file. 4220 * javax/sound/sampled/DataLine.java: New file. 4221 * javax/sound/sampled/EnumControl.java: New file. 4222 * javax/sound/sampled/FloatControl.java: New file. 4223 * javax/sound/sampled/LineEvent.java: New file. 4224 * javax/sound/sampled/Line.java: New file. 4225 * javax/sound/sampled/LineListener.java: New file. 4226 * javax/sound/sampled/LineUnavailableException.java: New file. 4227 * javax/sound/sampled/Mixer.java: New file. 4228 * javax/sound/sampled/Port.java: New file. 4229 * javax/sound/sampled/ReverbType.java: New file. 4230 * javax/sound/sampled/SourceDataLine.java: New file. 4231 * javax/sound/sampled/spi/AudioFileReader.java: New file. 4232 * javax/sound/sampled/spi/AudioFileWriter.java: New file. 4233 * javax/sound/sampled/spi/FormatConversionProvider.java: New file. 4234 * javax/sound/sampled/spi/MixerProvider.java: New file. 4235 * javax/sound/sampled/TargetDataLine.java: New file. 4236 * javax/sound/sampled/UnsupportedAudioFileException.java: New file. 4237 42382005-11-13 Wolfgang Baer <WBaer@gmx.de> 4239 4240 * javax/print/attribute/EnumSyntax.java: 4241 API docs added and enhanced for class and methods. 4242 (readResolve): New method. 4243 42442005-11-13 Wolfgang Baer <WBaer@gmx.de> 4245 4246 * javax/print/attribute/Attribute.java, 4247 javax/print/attribute/AttributeSet.java, 4248 javax/print/attribute/DocAttribute.java, 4249 javax/print/attribute/DocAttributeSet.java, 4250 javax/print/attribute/PrintJobAttribute.java, 4251 javax/print/attribute/PrintJobAttributeSet.java, 4252 javax/print/attribute/PrintRequestAttribute.java, 4253 javax/print/attribute/PrintRequestAttributeSet.java, 4254 javax/print/attribute/PrintServiceAttribute.java, 4255 javax/print/attribute/PrintServiceAttributeSet.java, 4256 javax/print/attribute/SupportedValuesAttribute.java, 4257 javax/print/attribute/UnmodifiableSetException.java: 4258 Added api documentation to class and method definitions. 4259 * javax/print/attribute/package.html: Included a package description. 4260 42612005-11-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4262 4263 * gnu/CORBA/Interceptor/gnuIorInfo.java (state): Made public. 4264 * gnu/CORBA/Interceptor/gnuServerRequestInfo.java 4265 (adapter_name, orb_id, server_id): New methods. 4266 * org/omg/PortableInterceptor/IORInfoOperations.java 4267 (state): New method. 4268 * org/omg/PortableInterceptor/ServerRequestInfoOperations.java 4269 (adapter_name, orb_id, server_id): New methods. 4270 42712005-11-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4272 4273 PR 24749 4274 * javax/swing/plaf/basic/BasicTextUI.java (installDefaults): 4275 Call setSelectionColor. 4276 42772005-11-12 Wolfgang Baer <WBaer@gmx.de> 4278 4279 * java/io/ObjectInputStream.java 4280 (processResolution): Pass Error, RuntimeException and 4281 ObjectStreamException through to the caller. 4282 (readObject): Documentation update. 4283 42842005-11-11 Mark Wielaard <mark@klomp.org> 4285 Anthony Green <green@redhat.com> 4286 4287 * java/util/Properties.java (load): Short-circuit parsing when key or 4288 value doesn't contain escape character. Use StringBuilder instead of 4289 StringBuffer. 4290 (store): Use StringBuilder instead of StringBuffer. 4291 (formatForOutput): Likewise. 4292 42932005-11-11 Lillian Angel <langel@redhat.com> 4294 4295 * javax/swing/plaf/basic/BasicSplitPaneUI.java 4296 (getMinimumDividerLocation): Fixed to use the minimum size 4297 of the correct component. Also, removed call to getAvailableSize, 4298 this is not needed for the minimum location. 4299 43002005-11-11 Archie Cobbs <archie@dellroad.org> 4301 4302 * autogen.sh: Fix broken libtool version detection on FreeBSD. 4303 43042005-11-11 Lillian Angel <langel@redhat.com> 4305 4306 * java/awt/Container.java 4307 (LightweightDispatcher.acquireComponentForMouseEvent): If the 4308 event is not being dispatched, the pressCount should be reset. 4309 43102005-11-11 Mark Wielaard <mark@klomp.org> 4311 4312 * javax/swing/text/FieldView.java (getPreferredSpan): Chain 4313 BadLocationException when throwing assertion. 4314 43152005-11-11 Mark Wielaard <mark@klomp.org> 4316 4317 Reported by john.zigman@anu.edu.au as bug #24608. 4318 * gnu/java/nio/SocketChannelImpl.java (read): Put readBytes in 4319 destination ByteBuffer when it doesn't have an array instead of len 4320 bytes. 4321 43222005-11-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4323 4324 * org/omg/PortableInterceptor/IORInterceptor_3_0.java, 4325 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java, 4326 org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java, 4327 org/omg/PortableInterceptor/IORInterceptor_3_0Operations.java, 4328 org/omg/PortableInterceptor/_IORInterceptor_3_0Stub.java: New files. 4329 * gnu/CORBA/Interceptor/IORInterceptors.java, 4330 gnu/CORBA/Interceptor/gnuIorInfo.java, 4331 gnu/CORBA/OrbRestricted.java, 4332 gnu/CORBA/Poa/AOM.java, 4333 gnu/CORBA/Poa/ORB_1_4.java, 4334 gnu/CORBA/Poa/gnuPOA.java, 4335 gnu/CORBA/Poa/gnuPOAManager.java, 4336 org/omg/PortableInterceptor/IORInfoOperations.java, 4337 org/omg/PortableInterceptor/IORInterceptorOperations.java, 4338 org/omg/PortableInterceptor/ORBInitInfoOperations.java, 4339 org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 4340 Rewritten to support the IORInterceptor_3_0. 4341 43422005-11-10 Lillian Angel <langel@redhat.com> 4343 4344 * javax/swing/plaf/metal/MetalRadioButtonUI.java 4345 (paintFocus): Centered border around rectangle. It seemed 4346 a bit offset and too small at times. 4347 43482005-11-10 Roman Kennke <kennke@aicas.com> 4349 4350 * javax/swing/plaf/basic/BasicListUI.java 4351 (valueChanged): Repaint list when selection changed. 4352 (updateLayoutState): Reworked to correctly respect fixed cell sizes. 4353 (installListeners): Create component listener before adding it. 4354 (paint): Optimized to only draw the cells in the clip. 4355 43562005-11-10 Anthony Balkissoon <abalkiss@redhat.com> 4357 4358 * javax/swing/JComponent.java: 4359 (processKeyEvent): Reworked this method to improve performance. Return 4360 early if the event has already been handled. Don't stop climbing when 4361 we hit a JInternalFrame, only stop at Applets or Windows (this fixes 4362 PR 24781). Don't check WHEN_IN_FOCUSED_WINDOW bindings if there is no 4363 top-level container present. If there is a top-level container, pass 4364 it to KeyboardManager.processKeyStroke rather than the JComponent that 4365 actually received the event, to save time in finding the top-level 4366 container within KeyboardManager. 4367 * javax/swing/KeyboardManager.java: 4368 (findTopLevel): Changed parameter from JComponent to Component to allow 4369 generality and to allow passing in of already-determined top-level 4370 containers to save time. 4371 (processKeyStroke): Likewise. 4372 43732005-11-10 Mark Wielaard <mark@klomp.org> 4374 4375 Fixes bug #24731 reported by freebeans@xqb.biglobe.ne.jp. 4376 * java/awt/ScrollPane.java (addNotify): Return immediately when peer 4377 already set. 4378 43792005-11-10 Roman Kennke <kennke@aicas.com> 4380 4381 * javax/swing/plaf/basic/BasicComboBoxUI.java 4382 (installListeners): Also install focusListener on the listBox. 4383 (uninstallListeners): Also uninstall focusListener from the listBox. 4384 (setPopupVisible): Request focus on the listbox when making the 4385 popup visible. 4386 43872005-11-10 Roman Kennke <kennke@aicas.com> 4388 4389 * javax/swing/JComponent.java 4390 (paintingTile): New field. 4391 (isPaintingTile): Implemented. 4392 (paintChildren): Optimized painting of overlapping children. 4393 43942005-11-10 Mark Wielaard <mark@klomp.org> 4395 4396 Reported by Petteri <betelgeuse@gentoo.org> bug #24768 and bug #24769. 4397 * configure.ac (dssi): Change accidental alsa reference to dssi. 4398 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_SOURCES): Add 4399 dssi_data.h. 4400 44012005-11-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4402 4403 * gnu/CORBA/OrbFunctional.java (use_properties, set_parameters): 4404 Rewritten to support orb and server ids. 4405 * org/omg/CORBA/ORB.java, 4406 org/omg/PortableInterceptor/ObjectReferenceTemplate.java: 4407 Documentation update. 4408 44092005-11-09 Anthony Balkissoon <abalkiss@redhat.com> 4410 4411 * javax/swing/JComponent.java: 4412 (addNotify): Unregister all WHEN_IN_FOCUSED_WINDOW bindings for this 4413 JComponent and then register them with its (potentially) new top level 4414 ancestor. Removed unncessary code that copied regular (WHEN_FOCUSED) 4415 key bindings up the parent hierarchy. 4416 44172005-11-09 Roman Kennke <kennke@aicas.com> 4418 4419 Reported by Friedjof Siebert <siebert@aicas.com> 4420 * java/util/WeakHashMap.java 4421 (WeakEntrySet.Iterator.checkMod): Improved exception message. 4422 (internalRemove): Removed redundant reads of buckets[slot] and 4423 prev.next and added checks to ensure that no null pointer 4424 exception may occur and that this can be proved automatically. 4425 44262005-11-09 Roman Kennke <kennke@aicas.com> 4427 4428 Reported by Friedjof Siebert <siebert@aicas.com> 4429 * java/io/PrintWriter.java 4430 (line_separator): Added default value for property to ensure 4431 absence of null pointer exception even if property is not set. 4432 44332005-11-09 Roman Kennke <kennke@aicas.com> 4434 4435 * java/io/InputStreamReader.java 4436 (InputStreamReader(InputStream, CharsetDecoder)): Catch the case 4437 when the CharsetDecoder returns a null charset and handle it like 4438 US-ASCII. 4439 44402005-11-09 Mark Wielaard <mark@klomp.org> 4441 4442 Reported by Petteri Räty <betelgeuse@gentoo.org> 4443 * INSTALL: Remove double --enable-xmlj entry. 4444 44452005-11-09 Anthony Balkissoon <abalkiss@redhat.com> 4446 4447 * javax/swing/JComponent.java: 4448 (processKeyEvent): Use local variables for boolean pressed and for 4449 the KeyStroke. Implemented the code for WHEN_IN_FOCUSED_WINDOW 4450 bindings. 4451 (updateComponentInputMap): Implemented and fixed typo in docs. 4452 * javax/swing/KeyboardManager.java: New class. 4453 44542005-11-09 Lillian Angel <langel@redhat.com> 4455 4456 * javax/swing/JTabbedPane.java 4457 (setComponent): Tab should be inserted with a title, and removed from 4458 the vector once set. 4459 (removeTabAt): Tab should only be removed from vector. 4460 remove(Component) is called to remove the tab from the JTabbedPane. 4461 (remove): Added call to the component. This function should remove 4462 the component as well as the tab. 4463 44642005-11-09 Lillian Angel <langel@redhat.com> 4465 4466 * javax/swing/JTabbedPane.java 4467 (setComponent): No need to remove and add tab. 4468 (remove): Fixed API documentation. 4469 (remove): Fixed API documentation. Re-implemented according to API. 4470 44712005-11-09 Mark Wielaard <mark@klomp.org> 4472 4473 * doc/www.gnu.org/cp-tools/cp-tools.wml: Add gjdoc download link. 4474 44752005-11-09 Chris Burdess <dog@gnu.org> 4476 4477 * gnu/xml/aelfred2/SAXDriver.java: Ensure that absolutize does not 4478 throw exception when custom entity resolver is set. 4479 44802005-11-09 Anthony Balkissoon <abalkiss@redhat.com> 4481 4482 * java/awt/event/InvocationEvent.java: 4483 (exception): Replaced this field (removed yesterday) because it is 4484 needed for serialization. 4485 (dispatch): Save thrown exception. 4486 (getException): Directly return exception, no need to cast throwable. 4487 44882005-11-09 Anthony Balkissoon <abalkiss@redhat.com> 4489 4490 * javax/swing/ComponentInputMap.java: 4491 (put): Notify the component. 4492 (clear): Likewise. 4493 (remove): Likewise. 4494 (setParent): Notify the parent. Improved the exception messages. 4495 * javax/swing/JComponent.java: 4496 (inputMap_whenInFocusedWindow): Changed type from InputMap to 4497 ComponentInputMap. 4498 (setInputMap): If we're setting the WHEN_IN_FOCUSED_WINDOW map and 4499 the parameter is not a ComponentInputMap or is not associated with 4500 the same Component, throw an IllegalArgumentException. 4501 (getInputMap): Create a new ComponentInputMap instead of a new 4502 InputMap when the WHEN_IN_FOCUSED_WINDOW map doesn't yet exist. 4503 (udpateComponentInputMap): New method. This is the method that 4504 ComponentInputMap calls when it is updated. Not yet completely 4505 implemented. 4506 45072005-11-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4508 4509 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java, 4510 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java: 4511 New files. 4512 45132005-11-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4514 4515 * org/omg/PortableInterceptor/ObjectReferenceTemplate.java, 4516 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java, 4517 org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java: 4518 New files. 4519 45202005-11-09 Lillian Angel <langel@redhat.com> 4521 4522 * javax/swing/JTabbedPane.java 4523 (setComponent): Added check to prevent infinite loops. 4524 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 4525 (createLayoutManager): Should call super here, so the layout 4526 is set properly depending on the layout mode. 4527 45282005-11-09 David Gilbert <david.gilbert@object-refinery.com> 4529 4530 * examples/gnu/classpath/examples/swing/Demo.java 4531 (mkMenuBar): added file chooser item, 4532 (mkButtonBar): split buttons into two rows, added 'FileChooser' button, 4533 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: New file. 4534 45352005-11-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4536 4537 * org/omg/PortableInterceptor/ObjectReferenceFactory.java: Do not 4538 inherit from org.omg.CORBA.Object. 4539 45402005-11-09 Roman Kennke <kennke@aicas.com> 4541 4542 * javax/swing/plaf/ComponentUI.java 4543 (update): Restore the foreground color after filling the background. 4544 45452005-11-09 Roman Kennke <kennke@aicas.com> 4546 4547 * javax/swing/JComponent.java 4548 (paint): Fetch a new componentGraphics here instead of 4549 paintComponent. 4550 (paintComponent): Don't fetch the componentGraphics here. This 4551 must be done in paint. 4552 45532005-11-09 David Gilbert <david.gilbert@object-refinery.com> 4554 4555 * javax/swing/JList.java 4556 (setModel): throw IllegalArgumentException for null model. 4557 45582005-11-09 Roman Kennke <kennke@aicas.com> 4559 4560 * javax/swing/plaf/basic/BasicTextUI.java 4561 (getVisibleEditorRect): Correctly calculate the inner rectangle. 4562 45632005-11-09 Christian Thalinger <twisti@complang.tuwien.ac.at> 4564 4565 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 4566 (initStaticState): Register global variable glyphVector_class 4567 as global reference. 4568 45692005-11-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4570 4571 * javax/swing/text/DefaultCaret.java (BlinkTimerListener): 4572 Added ignoreNextEvent flag and its handling. 4573 (blinkListener): New field. (initBlinkTimer): 4574 Initialise blinkListener field. 4575 (setDot, moveDot): Call appear() instead of repaint(). 4576 (appear): new method. 4577 45782005-11-08 Lillian Angel <langel@redhat.com> 4579 4580 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java 4581 (getDefaults): Added icons for checkboxes and radiobutton. 4582 (CheckBoxIcon): New class, implemented. 4583 (RadioButtonIcon): New class, implemented. 4584 45852005-11-08 Tom Tromey <tromey@redhat.com> 4586 4587 * gnu/classpath/SystemProperties.java: Don't mention 4588 gnu.java.awt.FocusManager. 4589 45902005-11-08 Roman Kennke <kennke@aicas.com> 4591 4592 * javax/swing/text/CompositeView.java 4593 (modelToView): Adjust the allocation to the child allocation before 4594 forwarding to the child's modelToView. Replaced AssertionError by 4595 BadLocationException, because that is the right thing to do here. 4596 45972005-11-08 Roman Kennke <kennke@aicas.com> 4598 4599 * javax/swing/plaf/basic/BasicInternalFrameUI.java 4600 (GlassPaneDispatcher.acquireComponentForMouseEvent): Use the 4601 frame's layeredPane as parent instead of the content pane 4602 when searching for the event target. This way a possibly set menubar 4603 is also included in the search. 4604 46052005-11-08 Lillian Angel <langel@redhat.com> 4606 4607 * java/awt/Window.java 4608 (setLocationRelativeTo): Changed x and y to use getLocationOnScreen 4609 and moved setLocation call outside of check. 4610 * javax/swing/JOptionPane.java 4611 (createDialog): Moved pack call and setLocationRelativeTo call here 4612 and removed these calls from all other functions that call 4613 createDialog. Also, removed FIXME, since call to setLocationRelativeTo 4614 fixes this. 4615 (showConfirmDialog): Removed pack and setLocationRelativeTo calls. 4616 (showConfirmDialog): Likewise. 4617 (showConfirmDialog): Likewise. 4618 (showConfirmDialog): Likewise. 4619 (showInputDialog): Likewise. 4620 (showInputDialog): Likewise. 4621 (showInputDialog): Likewise. 4622 (showInputDialog): Likewise. 4623 (showInputDialog): Likewise. 4624 (showInputDialog): Likewise. 4625 (showMessageDialog): Likewise. 4626 (showMessageDialog): Likewise. 4627 (showOptionDialog): Likewise. 4628 * javax/swing/JTree.java 4629 (JTree): Should not use a shared instance of the selection model. It 4630 is a problem when one application has two different trees. 4631 * javax/swing/plaf/basic/BasicTreeUI.java 4632 (paintRow): Changed parameter to be the focus of the tree. 4633 (updateCurrentVisiblePath): Adjusted root path incase the root is hidden. 4634 46352005-11-08 Anthony Balkissoon <abalkiss@redhat.com> 4636 4637 * java/awt/event/InvocationEvent.java: 4638 (exception): Removed unnecessary field. 4639 (dispatch): Removed reference to field exception. 4640 (getException): If throwable is an Exception, return a casted version, 4641 otherwise return null. 4642 (getThrowable): Improved docs. 4643 46442005-11-08 Anthony Balkissoon <abalkiss@redhat.com> 4645 4646 * javax/swing/SwingUtilities.java: 4647 (replaceUIActionMap): Stop climbing hierarchy once we've found an 4648 ActionMapUIResource, don't keep looking until parent is null. No need 4649 to check if child is null. 4650 (replaceUIInputMap): Use a local variable for the parent rather than 4651 3 calls to get parent. No need to check if child is null. 4652 * javax/swing/plaf/basic/BasicListUI.java: 4653 * javax/swing/plaf/basic/BasicTableUI.java: 4654 * javax/swing/plaf/basic/BasicTreeUI.java: 4655 (installKeyboardActions): UI ActionMap should be of type 4656 ActionMapUIResource, not just ActionMap. 4657 46582005-11-08 Anthony Balkissoon <abalkiss@redhat.com> 4659 4660 * javax/swing/text/DefaultStyledDocument.java: 4661 (ElementBuffer.clone): New API method. 4662 46632005-11-08 Anthony Balkissoon <abalkiss@redhat.com> 4664 4665 * java/lang/String.java: 4666 (replace): Use a StringBuilder instead of a StringBuffer because this 4667 is faster and we don't need thread-safety. 4668 46692005-11-08 Roman Kennke <kennke@aicas.com> 4670 4671 * javax/swing/plaf/basic/BasicTextUI.java 4672 (installDefaults): Initialize background field correctly. 4673 46742005-11-08 Roman Kennke <kennke@aicas.com> 4675 4676 * java/awt/BorderLayout.java 4677 (getAlignmentX): Return 0.5F here. 4678 (getAlignmentY): Return 0.5F here. 4679 46802005-11-08 Roman Kennke <kennke@aicas.com> 4681 4682 * javax/swing/JRootPane.java 4683 (RootLayout.glassPaneBounds): New field. 4684 (RootLayout.layeredPaneBounds): New field. 4685 (RootLayout.contentPaneBounds): New field. 4686 (RootLayout.menuBarBounds): New field. 4687 (RootLayout.prefSize): New field. 4688 (getLayoutAlignmentX): Return 0.0F here. 4689 (getLayoutAlignmentY): Return 0.0F here. 4690 (invalidateLayout): Throw away cached layout information. 4691 (layoutContainer): Simplified and fixed the layout. Use cache if 4692 possible. 4693 (preferredLayoutSize): Simplified and fixed the layout. Use cache if 4694 possible. 4695 46962005-11-08 Roman Kennke <kennke@aicas.com> 4697 4698 * javax/swing/JComponent.java 4699 (alignmentX): Changed default value to -1.0. 4700 (alignmentY): Changed default value to -1.0. 4701 (getAlignmentX): If no value has been set, refer to the superclass 4702 behaviour. 4703 (getAlignmentY): If no value has been set, refer to the superclass 4704 behaviour. 4705 (setAlignmentX): Catch invalid values and adjust them to the nearest 4706 valid value. 4707 (setAlignmentY): Catch invalid values and adjust them to the nearest 4708 valid value. 4709 47102005-11-08 Roman Kennke <kennke@aicas.com> 4711 4712 * java/awt/Container.java 4713 (getAlignmentX): Refer to the layout managers layoutAlignmentX 4714 property if layout manager is a LayoutManager2. 4715 (getAlignmentY): Refer to the layout managers layoutAlignmentY 4716 property if layout manager is a LayoutManager2. 4717 47182005-11-08 Roman Kennke <kennke@aicas.com> 4719 4720 * javax/swing/JLayeredPane.java 4721 (layerToRange): Return empty array for unknown layer instead of 4722 throwing an exception. 4723 47242005-11-08 Roman Kennke <kennke@aicas.com> 4725 4726 * java/awt/Component.java 4727 (invalidate): Don't invalidate invalid parents. 4728 47292005-11-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4730 4731 * javax/swing/JComponent.java (setMaximumSize, 4732 setMinimumSize, setPreferredSize): Clone the passed parameter. 4733 47342005-11-07 Roman Kennke <kennke@aicas.com> 4735 4736 * java/awt/Component.java 4737 (invalidate): Invalidate up the whole tree, regardless if some 4738 parent is already marked invalid. This is needed in some situations 4739 for layout managers to throw away their cache. 4740 47412005-11-07 Lillian Angel <langel@redhat.com> 4742 4743 * javax/swing/JTable.java 4744 (tableChanged): Cleared selection if there are no more rows. Prevents a 4745 NPE. 4746 * javax/swing/JTree.java 4747 (scrollRectToVisible): No need to set the selection path here. 4748 (expandPath): Sometimes it is required to set the state of a leaf, 4749 especially if the leaf is the root node. 4750 * javax/swing/plaf/basic/BasicTreeUI.java 4751 (getRowCount): Added call to updateCurrentVisiblePath, so the 4752 correct value is always returned. 4753 (paint): No need to paint if the visible path is null. 4754 (propertyChange): Implemented. 4755 (paintRecursive): Added check for visibility of child. If it is 4756 not visible because it was explicitly set to be hidden, no lines 4757 should be drawn. 4758 (paintControlIcons): Likewise. 4759 (getPreviousNode): Fixed check to include root. 4760 (paintRow): Set focus to be true (this will change in the future). 4761 (updateCurrentVisiblePath): Fixed check to call getNextNode if 4762 the current node is a leaf (more efficent than calling getNextSibling). 4763 * javax/swing/tree/DefaultTreeCellRenderer.java 4764 (getTreeCellRendererComponent): Changed to draw border if node has focus. 4765 47662005-11-07 Ito Kazumitsu <kaz@maczuka.gcd.org> 4767 4768 Fixes bug #24467 4769 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c 4770 (Java_gnu_java_nio_charset_iconv_IconvDecoder_decode): 4771 Do not check errno == EINVAL, which is a normal case. 4772 47732005-11-07 Ito Kazumitsu <kaz@maczuka.gcd.org> 4774 4775 Fixes bug #22968 4776 * gnu/java/nio/charset/iconv/IconvProvider.java 4777 (IconvProvider): Declare the constructor public. 4778 47792005-11-07 Roman Kennke <kennke@aicas.com> 4780 4781 * javax/swing/JApplet.java 4782 (initStageDone): Removed unnecessary field. 4783 (JApplet): Use rootPaneCheckingEnabled property instead of 4784 initStageDone field. 4785 (setLayout): Likewise. 4786 (addImpl): Likewise. 4787 * javax/swing/JDialog.java 4788 (initStageDone): Removed unnecessary field. 4789 (dialogInit): Use rootPaneCheckingEnabled property instead of 4790 initStageDone field. 4791 (setLayout): Likewise. 4792 (addImpl): Likewise. 4793 * javax/swing/JFrame.java 4794 (initStageDone): Removed unnecessary field. 4795 (frameInit): Use rootPaneCheckingEnabled property instead of 4796 initStageDone field. 4797 (setLayout): Likewise. 4798 (addImpl): Likewise. 4799 * javax/swing/JWindow.java 4800 (initStageDone): Removed unnecessary field. 4801 (windowInit): Use rootPaneCheckingEnabled property instead of 4802 initStageDone field. 4803 (setLayout): Likewise. 4804 (addImpl): Likewise. 4805 * javax/swing/JInternalFrame.java 4806 (initStageDone): Removed unnecessary field. 4807 (JInternalFrame): Use rootPaneCheckingEnabled property instead of 4808 initStageDone field. 4809 (setLayout): Likewise. 4810 (addImpl): Likewise. 4811 (paramString): Return superclass paramstring. 4812 (reshape): Call revalidate() instead of invalidate() and doLayout(). 4813 (setUI): Temporarily go into init mode, so that the UI can 4814 manipulate the frame directly. 4815 (updateUI): Likewise. 4816 48172005-11-07 Anthony Balkissoon <abalkiss@redhat.com> 4818 4819 * java/lang/String.java: 4820 (replace): Use a StringBuffer instead of String. Only search for new 4821 occurrences of the target that occur AFTER the text just inserted, so 4822 if the replacement string contains the target string we won't go into 4823 an infinite loop. Use local variables instead of repeated calls to 4824 length() and toString(). 4825 48262005-11-07 Christian Thalinger <twisti@complang.tuwien.ac.at> 4827 4828 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: 4829 Use long for 64-bit architectures. 4830 48312005-11-07 Anthony Balkissoon <abalkiss@redhat.com> 4832 4833 * java/util/Arrays.java: 4834 (toString(long[])): New API method. 4835 (toString(int[])): Likewise. 4836 (toString(short[])): Likewise. 4837 (toString(char[])): Likewise. 4838 (toString(byte[])): Likewise. 4839 (toString(boolean[])): Likewise. 4840 (toString(float[])): Likewise. 4841 (toString(double[])): Likewise. 4842 (toString(Object[])): Likewise. 4843 48442005-11-07 Anthony Balkissoon <abalkiss@redhat.com> 4845 4846 * java/awt/event/InvocationEvent.java: 4847 (throwable): New field. 4848 (getThrowable): New API method. 4849 (dispatch()): Catch Throwable, not Exception. Save the Throwable. If 4850 it is an Exception, save the Exception. 4851 48522005-11-07 Lillian Angel <langel@redhat.com> 4853 4854 * javax/swing/Popup.java 4855 (show): Set layout for panel. Otherwise, contents are 4856 displayed at an arbitrary location. 4857 * javax/swing/plaf/basic/BasicMenuItemUI.java 4858 (getPreferredMenuItemSize): Took into account insets. 4859 * javax/swing/plaf/metal/MetalButtonUI.java 4860 (paintFocus): Don't paint focus if not enabled. 4861 48622005-11-07 Anthony Balkissoon <abalkiss@redhat.com> 4863 4864 * java/lang/String.java: 4865 (contains): New API method. 4866 (replace): New API method. 4867 48682005-11-07 Anthony Balkissoon <abalkiss@redhat.com> 4869 4870 * java/lang/Boolean.java: 4871 (compareTo(Boolean)): New API method. 4872 48732005-11-07 David Gilbert <david.gilbert@object-refinery.com> 4874 4875 * javax/swing/plaf/basic/BasicComboBoxUI.java 4876 (installComponents): update local reference to editor component always, 4877 (getDisplaySize): implement new calculation for editable combo boxes, 4878 * javax/swing/plaf/metal/MetalComboBoxEditor.java 4879 (editorBorderInsets): initialise with correct value, 4880 * javax/swing/plaf/metal/MetalComboBoxUI.java 4881 (getMinimumSize): implemented different calculation for editable combo 4882 boxes. 4883 48842005-11-07 Lillian Angel <langel@redhat.com> 4885 4886 * javax/swing/JOptionPane.java 4887 (showConfirmDialog): Added call to set the location of the 4888 dialog relative to its parent. 4889 (showConfirmDialog): Likewise. 4890 (showConfirmDialog): Likewise. 4891 (showConfirmDialog): Likewise. 4892 (showInputDialog): Likewise. 4893 (showInputDialog): Likewise. 4894 (showInputDialog): Likewise. 4895 (showInputDialog): Likewise. 4896 (showMessageDialog): Likewise. 4897 (showMessageDialog): Likewise. 4898 (showMessageDialog): Likewise. 4899 (showOptionDialog): Likewise. 4900 49012005-11-07 Lillian Angel <langel@redhat.com> 4902 4903 * javax/swing/plaf/basic/BasicMenuItemUI.java 4904 (getPreferredMenuItemSize): Adjusted width of menu item with 4905 arrow icon. If the menu item can fit in the current width of 4906 the top level menu, then the width of the menu item is set to 4907 the width of the popup menu. Otherwise, the width of the 4908 menu item is adjusted so that the width of the popup menu 4909 is increased. 4910 49112005-11-07 Mark Wielaard <mark@klomp.org> 4912 4913 * configure.ac: Don't check or replace FREETYPE2. 4914 * native/jni/gtk-peer/Makefile.am: Remove FREETYPE2_LIBS and 4915 FREETYPE2_CFLAGS. 4916 49172005-11-07 David Gilbert <david.gilbert@object-refinery.com> 4918 4919 * javax/swing/plaf/metal/MetalComboBoxEditor.java 4920 (MetalComboBoxEditor): don't create new editor. 4921 49222005-11-07 David Gilbert <david.gilbert@object-refinery.com> 4923 4924 * javax/swing/plaf/basic/BasicComboBoxEditor.java: API docs plus 4925 (BasicComboBoxEditor): set border to null and columns to 9, 4926 (addActionListener): implemented, 4927 (removeActionListener): implemented. 4928 49292005-11-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> 4930 4931 * gnu/CORBA/IOR.java (equals, hasCode): Compare port number as well 4932 and do not crash on IOR.Internet==null. 4933 49342005-11-06 Mark Wielaard <mark@klomp.org> 4935 4936 * javax/swing/Timer.java (Waker.run): Test and set running while 4937 holding queueLock. 4938 (start): Set running to true. 4939 (stop): Unconditionally notify queueLock. 4940 (queueEvent): Only called when queueLock already held. 4941 49422005-11-06 Andreas Tobler <a.tobler@schweiz.ch> 4943 4944 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 4945 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setGradientUnlocked): Update 4946 debug output to reflect actual situation. 4947 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked): 4948 Likewise. 4949 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_drawPixels): Adjust 4950 formatting. 4951 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetMatrixUnlocked): 4952 Update debug output to reflect actual situation. 4953 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetRGBAColorUnlocked): 4954 Likewise. 4955 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoCurveTo): Adjust 4956 formatting. 4957 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoRelCurveTo): Likewise. 4958 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoRectangle): Likewise. 4959 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked): 4960 Update debug output to reflect actual situation. 4961 49622005-11-06 Mark Wielaard <mark@klomp.org> 4963 4964 * java/awt/image/AreaAveragingScaleFilter.java: Add FIXME 4965 * java/awt/Image.java (getScaledInstance): In case of 4966 SCALE_AREA_AVERAGING use AreaAveragingScaleFilter. 4967 49682005-11-06 Wolfgang Baer <WBaer@gmx.de> 4969 4970 * javax/print/event/PrintEvent.java, 4971 * javax/print/event/PrintJobAdapter.java, 4972 * javax/print/event/PrintJobAttributeEvent.java, 4973 * javax/print/event/PrintJobAttributeListener.java, 4974 * javax/print/event/PrintJobEvent.java, 4975 * javax/print/event/PrintJobListener.java, 4976 * javax/print/event/PrintServiceAttributeEvent.java, 4977 * javax/print/event/PrintServiceAttributeListener.java, 4978 * javax/print/event/package.html: Added API docs all over. 4979 49802005-11-06 Wolfgang Baer <WBaer@gmx.de> 4981 4982 * java/io/File.java 4983 (getParent): If pathname is "" return null. 4984 (toURI): Also append separatorChar if path equals "". 4985 (getAbsolutePath): If path equals "" only return the value 4986 of the user.dir system property. 4987 49882005-11-06 Chris Burdess <dog@gnu.org> 4989 4990 * gnu/xml/stream/XMLStreamWriterImpl.java: Ensure that generated 4991 prefixes do not accidentally clash, and provide documentation for 4992 new virtual methods. createPrefix (new method) signature changed to 4993 provide namespace URI for the benefit of subclasses. 4994 49952005-11-06 Chris Burdess <dog@gnu.org> 4996 4997 * gnu/xml/transform/StreamSerializer.java: Avoid undeclared apos 4998 entity when output mode is HTML. 4999 50002005-11-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5001 5002 * gnu/CORBA/IOR.java (equals, hashCode): New metods. 5003 * gnu/CORBA/SimpleDelegate.java (is_equivalent): Compare IORs when applicable. 5004 50052005-11-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5006 5007 * gnu/CORBA/Minor.java (IOR_missing): New minor code. 5008 * gnu/CORBA/NamingService/NameParser.java (corbaloc): Implemented 5009 file//, ftp:// and http:// support. 5010 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java (mapSystemException): 5011 Set the cause directly. 5012 * org/omg/CORBA/DATA_CONVERSION.java, 5013 org/omg/CORBA/ORB.java (string_to_object): Documentation update. 5014 50152005-11-06 Chris Burdess <dog@gnu.org> 5016 5017 * gnu/xml/stream/XMLStreamWriterImpl.java: Fixed handling of 5018 namespaces when isPrefixDefaulting is set. 5019 50202005-11-04 Anthony Balkissoon <abalkiss@redhat.com> 5021 5022 * javax/swing/text/DefaultStyledDocument.java: Reformatted. 5023 50242005-11-04 Lillian Angel <langel@redhat.com> 5025 5026 * java/awt/Window.java 5027 (setLocationRelativeTo): Implemented case when 5028 component is not null. 5029 50302005-11-04 Tom Tromey <tromey@redhat.com> 5031 5032 * java/awt/image/BufferedImage.java (BufferedImage): Implement 5033 Transparency. 5034 (getTransparency): New method. 5035 50362005-11-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5037 5038 * gnu/CORBA/SocketRepository.java (sockets): Changed type to 5039 HashMap. (put_socket, get_socket, gc): 5040 Always synchronize on 'sockets'. 5041 50422005-11-04 Mark Wielaard <mark@klomp.org> 5043 5044 * configure.ac: Set version to 0.20-pre. 5045 50462005-11-04 Anthony Balkissoon <abalkiss@redhat.com> 5047 5048 * javax/swing/text/StyleConstants.java: 5049 (Family): New API field. 5050 (Size): New API field. 5051 50522005-11-04 Lillian Angel <langel@redhat.com> 5053 5054 * javax/swing/plaf/basic/BasicMenuItemUI.java 5055 (paintMenuItem): Changed to use isTopLevelMenu rather than checking 5056 instance of parent. 5057 * javax/swing/plaf/basic/BasicPopupMenuUI.java 5058 (popupMenuWillBecomeInvisible): Added check to prevent NPE. 5059 * javax/swing/Popup.java: 5060 Added new private field. 5061 (LightweightPopup): Initialized layeredPane. 5062 (show): Removed unneeded code. 5063 (hide): Likewise. 5064 50652005-11-04 Roman Kennke <kennke@aicas.com> 5066 5067 * javax/swing/table/DefaultTableCellRenderer.java 5068 (updateUI): Set the background and foreground color fields to null 5069 here so that installing the LabelUI does not interfere with our 5070 custom set colors. 5071 (getTableCellRendererComponent): Only set UI focus colors when 5072 cell is actually editable. Added optimization for the case 5073 when background is equal to table background. 5074 50752005-11-04 Roman Kennke <kennke@aicas.com> 5076 5077 * javax/swing/table/DefaultTableCellRenderer.java 5078 (getTableCellRendererComponent): Call super.setBackground() or 5079 super.setForeground() to avoid overriding custom set background or 5080 foreground colors. Set the UI focus colors when focused. 5081 50822005-11-04 Roman Kennke <kennke@aicas.com> 5083 5084 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: New file. 5085 Demonstrates the JTextFields in various states. 5086 * examples/gnu/classpath/examples/swing/Demo.java: Replaced the 5087 old textfield demo with the new one. 5088 50892005-11-04 Roman Kennke <kennke@aicas.com> 5090 5091 * javax/swing/plaf/basic/BasicTextUI.java 5092 (getMinimumSize): New method. 5093 * javax/swing/text/FieldView.java 5094 (getPreferredSpan): Added assert that replaces a 'should never happen' 5095 comment. 5096 50972005-11-04 Roman Kennke <kennke@aicas.com> 5098 5099 * javax/swing/SizeRequirements.java 5100 (getTiledSizeRequirements): Added check for overflows. 5101 (adjustGreater): Fixed overflow handling through usage of long 5102 instead of int. 5103 51042005-11-03 Roman Kennke <kennke@aicas.com> 5105 5106 * javax/swing/text/DefaultCaret.java 5107 (positionCaret): Call setDot instead of moveDot. 5108 * javax/swing/text/PlainView.java 5109 (viewToModel): Exclude the final newline character from calculation. 5110 51112005-11-03 Mark Wielaard <mark@klomp.org> 5112 5113 * doc/www.gnu.org/announce/20051102.wml: New file. 5114 * doc/www.gnu.org/newsitems.txt: Add 0.19 release announcement. 5115 * doc/www.gnu.org/downloads/downloads.wml: Add 0.19. 5116 51172005-11-03 Roman Kennke <kennke@aicas.com> 5118 5119 * javax/swing/table/DefaultTableCellRenderer.java 5120 (background): New field. 5121 (foreground): New field. 5122 (setBackground): Store the color that is set here. 5123 (setForeground): Store the color that is set here. 5124 (getTableCellRendererComponent): For the unselected color, set the 5125 value of the foreground or background fields if not null, otherwise 5126 the value of the according table properties. Don't change 5127 the color in the focused clause. 5128 51292005-11-03 Lillian Angel <langel@redhat.com> 5130 5131 * javax/swing/plaf/basic/BasicTreeUI.java 5132 (mousePressed): If the control icon is clicked, the 5133 path selected should not be changed. 5134 (paintRecursively): Moved call to getChildCount before 5135 loop. 5136 (paintRow): Added a check to prevent NPE. 5137 (updateCurrentVisiblePath): Made this slightly more efficent. 5138 Instead of checking each path, we can check the siblings if the 5139 current node is not expanded. 5140 * javax/swing/table/DefaultTableCellRenderer.java 5141 (getTableCellRendererComponent): Fixed indentation, and changed 5142 to set the background color if it is not an instance of 5143 ColorUIResource. Prevents overriding a user-set color. 5144 51452005-11-03 Anthony Balkissoon <abalkiss@redhat.com> 5146 5147 * javax/swing/text/WrappedPlainView.java: Fixed some > 80 chars lines. 5148 (drawSelectedText): Fixed startOffset for call to 5149 Utilities.drawTabbedText to make sure tabs are properly expanded. 5150 (drawUnselectedText): Likewise. 5151 (getMinimumSpan): New API method. 5152 (getMaximumSpan): New API method. 5153 (setSize): Call preferenceChanged if the width has changed. 5154 (WrappedLine.determineNumLines): Move numLines=0 to the top in case 5155 the early return happens, numLines will still be correct. 5156 (WrappedLine.updateDamage): New implementation method called by 5157 insertUpdate and removeUpdate to repaint the appropriate part of the 5158 JTextArea. 5159 (WrappedLine.insertUpdate): New method. 5160 (WrappedLine.removeUpdate): New method. 5161 51622005-11-03 Lillian Angel <langel@redhat.com> 5163 5164 * javax/swing/table/DefaultTableCellRenderer.java 5165 (getTableCellRendererComponent): Fixed so that the label is 5166 painted with the correct background color. Does not depend on 5167 type of border. Removed this code. 5168 51692005-11-03 Anthony Balkissoon <abalkiss@redhat.com> 5170 5171 * javax/swing/text/JTextComponent.java: 5172 (select): The end index cannot be smaller than the start index, changed 5173 Math.max(end, 0) to Math.max(end, start). 5174 * javax/swing/text/WrappedPlainView.java: 5175 (selectionStart): New package private field. 5176 (selectionEnd): Likewise. 5177 (drawLine): Implemented to call drawUnselectedText and drawSelectedText 5178 on the appropriate parts of the line. Before it just drew the whole 5179 line with drawUnselectedText. 5180 (paint): Store the start and end of the selection. 5181 (WrappedLine.paint): Set the selected color to Color.WHITE. 5182 51832005-11-03 Lillian Angel <langel@redhat.com> 5184 5185 * javax/swing/table/DefaultTableCellRenderer.java 5186 (getTableCellRendererComponent): Should only draw focus if the border 5187 is not an empty border. 5188 51892005-11-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5190 5191 PR swing/24650 5192 * javax/swing/text/PlainView.java (viewToModel)): 5193 The end of line symbol (0xA), if being the last member in the 5194 obtained text, should not be counted. 5195 51962005-11-03 Lillian Angel <langel@redhat.com> 5197 5198 * javax/swing/plaf/basic/BasicMenuItemUI.java: 5199 Changed field to be the gap between the different 5200 menu's instead. defaultTextArrowGap is not needed. 5201 (getPreferredMenuItemSize): Adjusted preferred size of 5202 Menu Item with an arrowIcon to be the size of the 5203 popupMenu. If its parent is not a popupMenu, then 5204 it is a new Menu on a MenuBar. 5205 * javax/swing/plaf/metal/MetalButtonUI.java 5206 (paintFocus): Height of focus border should not be 5207 adjusted. It was being cutoff. 5208 52092005-11-03 Roman Kennke <kennke@aicas.com> 5210 5211 * javax/swing/plaf/basic/BasicTextUI.java 5212 (RootView.getNextVisualPositionFrom): New method. 5213 52142005-11-03 Roman Kennke <kennke@aicas.com> 5215 5216 * javax/swing/text/DefaultStyledDocument.java 5217 (AttributeUndoableEdit): New inner class. 5218 (StyleChangeListener): New inner class. 5219 (styleChangeListener): New field. 5220 (addStyle): Add styleChangeListener to new style. 5221 (getStyleNames): New method. 5222 (styleChanged): New method. 5223 (insert): New method. 5224 (create): New method. 5225 52262005-11-03 Roman Kennke <kennke@aicas.com> 5227 5228 * javax/swing/text/DefaultTextUI.java: New file. 5229 52302005-11-03 Roman Kennke <kennke@aicas.com> 5231 5232 * javax/swing/text/DefaultCaret.java 5233 (mouseDragged): Call moveCaret. 5234 (mouseClicked): Made TODO comment more precise. 5235 (mouseExited): Replaced TODO comment with Nothing to do comment. 5236 (mousePressed): Call positionCaret. 5237 (moveCaret): Implemented. 5238 (positionCaret): Implemented. 5239 (moveDot): Call adjustVisibility. 5240 (setDot): Call adjustVisibility. 5241 (adjustVisibility): New method. 5242 52432005-11-03 Roman Kennke <kennke@aicas.com> 5244 5245 * javax/swing/text/Utilities.java 5246 (getPositionAbove): New utility method. 5247 (getPositionBelow): New utility method. 5248 (getParagraphElement): Special case for StyledDocuments. 5249 * javax/swing/text/View.java 5250 (getNextVisualPositionFrom): New abstract method. 5251 * javax/swing/text/ComponentView.java 5252 (getNextVisualPositionFrom): New method. 5253 * javax/swing/text/CompositeView.java 5254 (getNextVisualPositionFrom): New method. 5255 * javax/swing/text/FlowView.java 5256 (LogicalView.getNextVisualPositionFrom): New method. 5257 * javax/swing/text/GlyphView.java 5258 (getNextVisualPositionFrom): New method. 5259 * javax/swing/text/IconView.java 5260 (getNextVisualPositionFrom): New method. 5261 * javax/swing/text/PlainView.java 5262 (getNextVisualPositionFrom): New method. 5263 * javax/swing/text/WrappedPlainView.java 5264 (WrappedLine.getNextVisualPositionFrom): New method. 5265 52662005-11-03 Roman Kennke <kennke@aicas.com> 5267 5268 * javax/swing/text/DefaultCaret.java 5269 (BlinkTimerListener): New inner class. Listens for when the 5270 blink timer fires and updates the visible flag accordingly. 5271 (visible): Default value for visible should be false. 5272 (blinkTimer): New field. 5273 (Caret): New constructor. 5274 (focusGained): Make the caret visible. 5275 (focusLost): Make caret invisible if the focus lost is permanent. 5276 (deinstall): Deinstall the blink timer. 5277 (repaint): Call getComponent() instead of directly accessing the 5278 textComponent field. 5279 (paint): Call getComponent() instead of directly accessing the 5280 textComponent field. Added an assert for the 'this should never 5281 happen' comment. Update the caret rectangle if damage hasn't been 5282 called before. 5283 (setBlinkRate): Set the blink rate in the timer if there is already 5284 a timer present. 5285 (setVisible): Call damage on the caret's location. Start/Stop blink 5286 timer. 5287 (damage): New method. Updates the caret's bounds. 5288 * javax/swing/text/JTextComponent.java 5289 (CaretBlinkTimer): Removed unneeded inner class. 5290 (caretBlinkTimer): Removed unneeded field. 5291 (JTextComponent): Removed initialization of blink timer. 5292 (setEditable): Removed starting of blink timer. 5293 (setCaret): Likewise. 5294 * javax/swing/text/Utilities.java 5295 (getParagraphElement): New utility method. 5296 52972005-11-02 Mark Wielaard <mark@klomp.org> 5298 5299 * gnu/java/awt/peer/gtk/GdkGraphics.java (initComponentGraphics): Set 5300 color to BLACK when getForeground() returns null. 5301 (initComponentGraphicsUnlocked): Likewise. 5302 53032005-11-02 Mark Wielaard <mark@klomp.org> 5304 5305 * javax/swing/Timer.java (Waker.run): Synchronize on queueLock and use 5306 queueLock.wait(), not Thread.sleep(). 5307 (start): Synchronize on queueLock and check whether waker is null. 5308 (stop): Synchronize on queueLock and notifyAll(). 5309 53102005-11-02 Mark Wielaard <mark@klomp.org> 5311 5312 * configure.ac: Set version to 0.19. 5313 * NEWS: Add date of release. 5314 53152005-11-02 Roman Kennke <kennke@aicas.com> 5316 5317 * java/awt/Dialog.java 5318 (show): Do not call pack() here. 5319 53202005-11-02 Andrew John Hughes <gnu_andrew@member.fsf.org> 5321 5322 * examples/Makefile.am: 5323 Comment out JIKES and GCJ conditionals. 5324 * lib/Makefile.am: 5325 Comment out JIKES, KJC and GCJ conditionals. 5326 * m4/acinclude.m4: 5327 Comment out selection of GCJ, Jikes and KJC as compilers for 5328 the branch. 5329 53302005-11-02 Andrew John Hughes <gnu_andrew@member.fsf.org> 5331 5332 * AUTHORS: Added myself. 5333 53342005-11-02 Mark Wielaard <mark@klomp.org> 5335 5336 * javax/swing/Timer.java (Waker.run): Only break out when !running. 5337 53382005-11-02 Mark Wielaard <mark@klomp.org> 5339 5340 * javax/swing/UIManager.java (static): Print complete exception. 5341 53422005-11-02 Mark Wielaard <mark@klomp.org> 5343 5344 * lib/Makefile.am: Add typeHiding, unchecked, unused and varargsCast 5345 to ECJ compile warning rule. 5346 53472005-11-02 Guilhem Lavaux <guilhem@kaffe.org> 5348 5349 * lib/copy-vmresources.sh.in: Added definition for top_srcdir. 5350 53512005-11-02 Mark Wielaard <mark@klomp.org> 5352 5353 * configure.ac (AC_INIT): Set version to 0.19-generics. 5354 * lib/Makefile.am: Add typeHiding, unchecked, unused and varargsCast 5355 to ECJ compile warning rule. 5356 53572005-11-02 Tom Tromey <tromey@redhat.com> 5358 5359 * javax/sound/midi/Instrument.java (Instrument): Genericized argument 5360 type. 5361 * javax/sound/midi/SoundbankResource.java (SoundbankResource): 5362 Genericized argument type. 5363 (getDataClass): Genericized return type. 5364 * javax/sound/midi/Sequence.java (tracks): Changed type. 5365 (init): Updated. 5366 (getTracks): Updated. 5367 (getTickLength): Updated. 5368 53692005-11-02 Andreas Tobler <a.tobler@schweiz.ch> 5370 5371 * NEWS: Mention Qt4 configury for OS-X. 5372 53732005-11-02 Roman Kennke <kennke@aicas.com> 5374 5375 * NEWS: Added some news items regarding my Swing work. 5376 53772005-11-02 Roman Kennke <kennke@aicas.com> 5378 5379 * javax/swing/JComponent.java 5380 (findOverlapFreeParent): Don't search beyond the components 5381 containing window (important when in a Dialog). 5382 53832005-11-02 Christian Thalinger <twisti@complang.tuwien.ac.at> 5384 5385 * AUTHORS: Added myself to the cool gang. 5386 53872005-11-02 Anthony Balkissoon <abalkiss@redhat.com> 5388 5389 * javax/swing/text/WrappedPlainView.java: 5390 (calculateBreakPosition): If the component is not valid use it's 5391 preferredSize instead of getBounds(). 5392 53932005-11-02 Lillian Angel <langel@redhat.com> 5394 5395 * java/awt/Dialog.java 5396 (show): pack should always be called before show, so Dialog is 5397 set to the correct size and validated. 5398 53992005-11-02 Christian Thalinger <twisti@complang.tuwien.ac.at> 5400 5401 * configure.ac: Check for cairo, pangoft2 and freetype2 only 5402 when gtk peers are enabled. 5403 54042005-11-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5405 5406 * AUTHORS (Stuart Ballard): Address update. 5407 54082005-11-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5409 5410 * AUTHORS: Added Lillian Angel. 5411 54122005-11-02 Roman Kennke <kennke@aicas.com> 5413 5414 * javax/swing/JToolBar.java 5415 (addImpl): Don't call updateUI here. This is really not necessary. 5416 * javax/swing/plaf/basic/BasicToolBarUI.java 5417 (installDefaults): Call setRolloverBorders() here in order to 5418 initialize the button borders. 5419 54202005-11-02 Roman Kennke <kennke@aicas.com> 5421 5422 * javax/swing/plaf/basic/BasicScrollPaneUI.java 5423 (PropertyChangeHandler.propertyChange): Re-setup listeners on 5424 the scrollbars if the scrollbars change. 5425 54262005-11-02 Roman Kennke <kennke@aicas.com> 5427 5428 * java/awt/Container.java 5429 (addImpl): Notify registered ContainerListeners even when the 5430 Container is not showing. Notify the listeners directly, not 5431 via the event queue. 5432 54332005-11-02 Roman Kennke <kennke@aicas.com> 5434 5435 * javax/swing/plaf/basic/BasicLookAndFeel.java 5436 (initComponentDefaults): Fixed the defaults for EditorPane.border, 5437 TextArea.font and TextPane.border. 5438 54392005-11-02 Roman Kennke <kennke@aicas.com> 5440 5441 * java/awt/Component.java 5442 (getForeground): Return null as default color, instead of some 5443 system color. 5444 54452005-11-02 Roman Kennke <kennke@aicas.com> 5446 5447 * javax/swing/BoxLayout.java 5448 (BoxLayout): Throw AWTError when the axis is invalid. 5449 (minimumLayoutSize): Respect the insets of the container. 5450 (maximumLayoutSize): Likewise. 5451 (invalidateLayout): Throw AWTError if the managed container is 5452 not the same as the parent parameter. 5453 54542005-11-02 Roman Kennke <kennke@aicas.com> 5455 5456 * java/awt/Component.java 5457 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) instead 5458 of (Integer.MAX_VALUE, Integer.MAX_VALUE) as shown by the 5459 Mauve test. 5460 54612005-11-02 Roman Kennke <kennke@aicas.com> 5462 5463 * javax/swing/JTable.java 5464 (AccessibleJTable.AccessibleJTableCell): New inner class. 5465 54662005-11-02 David Gilbert <david.gilbert@object-refinery.com> 5467 5468 * javax/swing/filechooser/FileSystemView.java: Added API docs all over, 5469 * javax/swing/filechooser/UnixFileSystemView.java: Likewise. 5470 54712005-11-02 Christian Thalinger <twisti@complang.tuwien.ac.at> 5472 5473 * java/lang/String.java (String): Added 5474 StringIndexOutOfBoundsException check (overflow) and a message 5475 to the exceptions. 5476 54772005-11-02 David Gilbert <david.gilbert@object-refinery.com> 5478 5479 * NEWS: added entries for javax.swing.plaf.metal.* package and updates 5480 to the gnu.classpath.examples.swing.Demo application, 5481 * AUTHORS: Added my name to bring honour and glory to myself and all 5482 my descendants. 5483 54842005-11-02 Roman Kennke <kennke@aicas.com> 5485 5486 * javax/swing/JComponent.java 5487 (AccessibleJComponent.changeSupport): New field. 5488 (AccessibleJComponent.AccessibleJComponent): Initialize changeSupport. 5489 (AccessibleJComponent.addPropertyChangeListener): Implemented this 5490 method. 5491 (AccessibleJComponent.removePropertyChangeListener): Implemented this 5492 method. 5493 (AccessibleJComponent.getAccessibleChildrenCount): Implemented this 5494 method. 5495 (AccessibleJComponent.getAccessibleChild): Implemented this 5496 method. 5497 (AccessibleJComponent.getAccessibleName): Added API comment and 5498 TODO tag. 5499 (AccessibleJComponent.getAccessibleDescription): Added API comment 5500 and TODO tag. 5501 (AccessibleJComponent.getAccessibleRole): Implemented this method. 5502 (AccessibleJComponent.getBorderTitle): Implemented this method. 5503 (AccessibleJComponent.getToolTipText): Implemented this method. 5504 (AccessibleJComponent.getTitledBorderText): Implemented this method. 5505 (AccessibleJComponent.getAccessibleKeyBinding): Added API comment 5506 and TODO tag. 5507 55082005-11-01 Mark Wielaard <mark@klomp.org> 5509 5510 * examples/gnu/classpath/examples/swing/Demo.java (init): Use 5511 JOptionPane to select the laf if not explicitly set. 5512 55132005-11-01 Andrew John Hughes <gnu_andrew@member.fsf.org> 5514 5515 * java/io/ObjectInputStream.java: 5516 (parseContent(byte)): Remove weird exception 5517 throwing. 5518 55192005-11-01 Roman Kennke <kennke@aicas.com> 5520 5521 * java/awt/Window.java 5522 (show): Don't set size of the window here. 5523 55242005-11-01 Roman Kennke <kennke@aicas.com> 5525 5526 * javax/swing/plaf/metal/MetalScrollPaneUI.java 5527 (instance): Removed unnecessary field. 5528 (createUI): Always return a new instance instead of returning a 5529 shared instance. 5530 55312005-11-01 Lillian Angel <langel@redhat.com> 5532 5533 * java/awt/Window.java 5534 (show): If pack is not called before show, the size of the 5535 window is often set to 0. This is now fixed. 5536 55372005-11-01 Roman Kennke <kennke@aicas.com> 5538 5539 * javax/swing/JPopupMenu.java 5540 (setVisible): Pack the JPopupMenu before fetching the Popup 5541 instance. Otherwise the PopupFactory has the wrong size for 5542 its size check. 5543 55442005-11-01 Anthony Balkissoon <abalkiss@redhat.com> 5545 5546 * javax/swing/JTable.java: 5547 (JTable(TableModel, TableColumnModel, ListSelectionModel)): Call 5548 updateUI after initializeLocalVars. Manually set the lead selection 5549 indices. 5550 55512005-11-01 Anthony Balkissoon <abalkiss@redhat.com> 5552 5553 * javax/swing/plaf/basic/BasicFileChooserUI.java: 5554 (getApproveButtonText): First use the JFileChooser's approve button 5555 text, but if it is null, then try otherwise. 5556 55572005-11-01 Christian Thalinger <twisti@complang.tuwien.ac.at> 5558 5559 * vm/reference/java/lang/VMThread.java (sleep): Don't round 5560 ms and pass ns to Object.wait, fixes mauve test. 5561 55622005-11-01 Anthony Balkissoon <abalkiss@redhat.com> 5563 5564 * javax/swing/JFileChooser.java: 5565 (getDialogTitle): Allow return of null. 5566 (getApproveButtonText): Likewise. 5567 (getFileView): Likewise. 5568 (getName): First try using the JFileChooser's FileView, if null, then 5569 pass call to UI. 5570 (getDescription): Likewise. 5571 (getTypeDescription): Likewise. 5572 (getIcon): Likewise. 5573 55742005-11-01 Anthony Balkissoon <abalkiss@redhat.com> 5575 5576 * javax/swing/JTable.java: 5577 (JTable(TableModel, TableColumnModel, ListSelectionModel)): Set the 5578 model before calling initializeLocalVars. 5579 55802005-11-01 Lillian Angel <langel@redhat.com> 5581 5582 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java 5583 (BasicCheckBoxMenuItem): Moved code to BasicMenuItemUI.installDefaults 5584 (processMouseEvent): Added TODO comment. Not sure about the 5585 correct implementation yet. 5586 * javax/swing/plaf/basic/BasicLookAndFeel.java 5587 (initComponentDefaults): Removed MenuItem.checkIcon default. Only 5588 RadioButtonMenuItem's and CheckBoxMenuItem's have checkIcons. 5589 * javax/swing/plaf/basic/BasicMenuItemUI.java 5590 (installDefaults): Fixed to initialized checkIcon. If the menuItem is 5591 not a RadioButtonMenuItem or CheckBoxMenuItem, then checkIcon is null. 5592 Also, fixed defaults to use prefix. 5593 55942005-11-01 Jeroen Frijters <jeroen@frijters.net> 5595 5596 * java/io/ObjectOutputStream.java 5597 (writeObject): Fixed NPE. 5598 55992005-10-31 Anthony Balkissoon <abalkiss@redhat.com> 5600 5601 * javax/swing/plaf/basic/BasicTextAreaUI.java: 5602 (create): Added docs. Create WrappedPlainView instead of PlainView if 5603 the text area has line wrapping turned on. 5604 (propertyChange): New API method. If line wrapping is turned on or off 5605 or if the style of wrapping (character or word) is changed, call 5606 modelChanged(). 5607 * javax/swing/plaf/basic/BasicTextUI.java: 5608 (setView): Call revalidate and repaint after setting the View. 5609 * javax/swing/text/WrappedPlainView.java: 5610 (insertUpdate): Repaint the container. 5611 (removeUpdate): Likewise. 5612 (changedUpdate): Likewise. 5613 56142005-10-31 Anthony Balkissoon <abalkiss@redhat.com> 5615 5616 * javax/swing/text/WrappedPlainView.java: 5617 (viewFactory): New field. 5618 (drawLine): New API method. 5619 (calculateBreakPosition): Update the metrics before calling Utilities 5620 methods. Fixed error in offset argument passed to the Utilities 5621 methods. 5622 (updateMetrics): New implementation method. 5623 (getPreferredSpan): New API method. 5624 (insertUpdate): Likewise. 5625 (removeUpdate): Likewise. 5626 (changedUpdate): Likewise. 5627 (WrappedLineCreator): New class. 5628 (paint): New API method. 5629 (setSize): New API method. 5630 (WrappedLine.paint): Implemented. 5631 (WrappedLine.getPreferredSpan): Don't update the metrics, this is now 5632 done in WrappedPlainView.paint. 5633 (WrappedLine.modelToView): Likewise. 5634 (WrappedLine.viewToModel): Likewise. 5635 56362005-10-31 Anthony Balkissoon <abalkiss@redhat.com> 5637 5638 * javax/swing/text/Utilities.java: 5639 (getTabbedTextOffset): Adjusted for loop bound down by s.offset and 5640 adjusted array index up by s.offset. This fixes the second part of 5641 PR 24316. Expand tabs, not newlines. Allow the x-position to reach 5642 the end specified position (use < instead of <=). 5643 56442005-10-31 Roman Kennke <kennke@aicas.com> 5645 5646 * javax/swing/JTextField.java 5647 (horizontalVisibility): New field. 5648 (JTextField): Initialize horizontalVisibility field. 5649 (getHorizontalVisibility): New method. 5650 56512005-10-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5652 5653 * gnu/CORBA/SocketRepository.java (not_reusable, gc): New methods. 5654 (sockets): Use hashtable. (get_socket): Rewritten. 5655 56562005-10-31 Roman Kennke <kennke@aicas.com> 5657 5658 * javax/swing/JTable.java 5659 (AccessibleJTable.tableChanged): Implemented. 5660 (AccessibleJTable.tableRowsInserted): Implemented. 5661 (AccessibleJTable.tableRowsDeleted): Implemented. 5662 56632005-10-30 Mark Wielaard <mark@klomp.org> 5664 5665 * javax/swing/plaf/basic/BasicTreeUI.java 5666 (updateCurrentVisiblePath): Check whether treeModel is null. 5667 56682005-10-30 Mark Wielaard <mark@klomp.org> 5669 5670 * examples/gnu/classpath/examples/swing/Demo.java (static): Set look 5671 and feel before showing dialog. Clean up message text. 5672 56732005-10-30 Mark Wielaard <mark@klomp.org> 5674 5675 * javax/swing/text/PlainView.java (determineMaxLineLength): Get 5676 correct lenght of text. 5677 (drawLine): Throw AssertionError on unexpected bad location. 5678 (viewToModel): Likewise. 5679 56802005-10-30 Mark Wielaard <mark@klomp.org> 5681 5682 * javax/swing/text/AbstractDocument.java (dump): Actually throw 5683 AssertionError when constructed. 5684 * javax/swing/text/DefaultFormatter.java (checkValidInput): Add cause 5685 to AssertionError. 5686 * javax/swing/text/DefaultStyledDocument.java (insertUpdate): 5687 Likewise. 5688 * javax/swing/text/GlyphView.java (getPartialSpan): Likewise. 5689 (getText): Likewise. 5690 * javax/swing/text/PlainView.java (determineMaxLineLength): Likewise. 5691 (updateDamage): Likewise. 5692 56932005-10-30 Mark Wielaard <mark@klomp.org> 5694 5695 * gnu/java/rmi/server/UnicastServer.java (refcache): Make it a 5696 synchronized IdentityHashMap. 5697 56982005-10-30 Mark Wielaard <mark@klomp.org> 5699 5700 * gnu/java/awt/peer/gtk/GdkGraphics2D.java 5701 (GdkGraphics2D(GdkGraphics2D,int, int, int,int)): New constructor. 5702 (create(int,int,int,int)): Use new constructor. 5703 (copyArea): Implement through create() and gdkDrawDrawable(). 5704 57052005-10-29 Guilhem Lavaux <guilhem@kaffe.org> 5706 5707 * java/nio/channels/spi/AbstractSelectableChannel.java 5708 (register): Throw IllegalBlockingModeException if the channel is 5709 not in blocking mode. 5710 57112005-10-29 David Gilbert <david.gilbert@object-refinery.com> 5712 5713 * examples/gnu/classpath/examples/swing/ButtonDemo.java 5714 (ButtonDemo): add closePanel after content is created, 5715 (createContent): don't add closePanel here, 5716 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java 5717 (ButtonDemo): add closePanel after content is created, 5718 (createContent): don't add closePanel here, 5719 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java 5720 (ButtonDemo): add closePanel after content is created, 5721 (createContent): don't add closePanel here, 5722 * examples/gnu/classpath/examples/swing/SliderDemo.java 5723 (ButtonDemo): add closePanel after content is created, 5724 (createContent): add separate checkBoxPanel but don't add closePanel 5725 here. 5726 57272005-10-28 Roman Kennke <kennke@aicas.com> 5728 5729 * java/awt/KeyboardFocusManager.java 5730 (setCurrentKeyboardFocusManager): Create a DefaultKeyboardFocusManager 5731 directly. 5732 (createFocusManager): Removed. 5733 * gnu/java/awt/FocusManager.java: Removed. 5734 * javax/swing/FocusManager.java 5735 (DisabledFocusManager): Removed inner class. 5736 (WrappingFocusManager): New inner class. 5737 (getCurrentManager): Return WrappingKeyboardFocusManager instance. 5738 57392005-10-28 Anthony Balkissoon <abalkiss@redhat.com> 5740 5741 * java/awt/Component.java: 5742 (requestFocus): If this component is a Container, start here, not at 5743 its parent when looking for the top-level ancestor. If no top-level 5744 ancestor is found (parent == null), return. 5745 57462005-10-28 Roman Kennke <kennke@aicas.com> 5747 5748 * javax/swing/table/DefaulTableCellRenderer.java 5749 (getTableCellRenderer): Correctly configure the cell renderer for 5750 selected and / or focused cells. 5751 * javax/swing/table/JTableHeader.java 5752 (getHeaderRect): Don't include the intercellSpacing in the 5753 header rectangle. 5754 57552005-10-28 Roman Kennke <kennke@aicas.com> 5756 5757 * javax/swing/plaf/basic/BasicTableUI.java 5758 (MouseInputHandler.mouseDragged): Only react if table is enabled. 5759 (MouseInputHandler.mousePressed): Only react if table is enabled. 5760 (MouseInputHandler.mouseReleased): Only react if table is enabled. 5761 (PropertyChangeHandler): New inner class. Updates the state of 5762 the table if the model property changes. 5763 (installDefaults): Don't load the highlightCellBorder here. This 5764 is done in the cell renderer now. 5765 (installListeners): Install the new PropertyChangeListener. 5766 (uninstallListeners): Uninstall the new PropertyChangeListener. 5767 (paintCell): Fixed determination of the selected and focused state 5768 of the cell. Removed handling of the border (this is moved into 5769 the cell renderer). 5770 (paint): Fixed the rectangle calculation of the cell. Fixed painting 5771 of the grid. 5772 57732005-10-28 Roman Kennke <kennke@aicas.com> 5774 5775 * javax/swing/DefaultListSelectionModel.java 5776 (setLeadSelectionIndex): Forbit some changes to leadSelectionIndex 5777 when the anchorSelectionIndex is not set properly. 5778 57792005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5780 5781 * gnu/CORBA/Poa/AOM.java, 5782 gnu/CORBA/Poa/AccessiblePolicy.java, 5783 gnu/CORBA/Poa/DynamicImpHandler.java, 5784 gnu/CORBA/Poa/StandardPolicies.java, 5785 gnu/CORBA/Poa/ServantDelegateImpl.java, 5786 gnu/CORBA/Poa/NamingService/NameComponentComparator.java 5787 gnu/CORBA/Poa/NamingService/NameTransformer.java 5788 gnu/CORBA/GIOP/ContextHandler.java, 5789 gnu/CORBA/GIOP/CodeSetServiceContext.java: New files. 5790 * gnu/CORBA/GIOP/contextSupportingHeader.java, 5791 gnu/CORBA/GIOP/cxCodeSet.java, 5792 gnu/CORBA/NamingService/cmpNameComponent.java, 5793 gnu/CORBA/NamingService/snConverter.java, 5794 gnu/CORBA/Poa/activeObjectMap.java, 5795 gnu/CORBA/Poa/dynImpHandler.java, 5796 gnu/CORBA/Poa/policySets.java, 5797 gnu/CORBA/Poa/servantDelegate.java, 5798 gnu/CORBA/Poa/vPolicy.java: Removed. 5799 * gnu/CORBA/GIOP/CharSets_OSF: 5800 Explaining the reason of setting "_OSF" apart. 5801 * gnu/CORBA/CDR/AbstractCdrInput.java, 5802 gnu/CORBA/CDR/AbstractCdrOutput.java, 5803 gnu/CORBA/GIOP/CharSets_OSF.java, 5804 gnu/CORBA/GIOP/ReplyHeader.java, 5805 gnu/CORBA/GIOP/RequestHeader.java, 5806 gnu/CORBA/GIOP/ServiceContext.java, 5807 gnu/CORBA/GIOP/v1_0/ReplyHeader.java, 5808 gnu/CORBA/GIOP/v1_0/RequestHeader.java, 5809 gnu/CORBA/GIOP/v1_2/ReplyHeader.java, 5810 gnu/CORBA/GIOP/v1_2/RequestHeader.java, 5811 gnu/CORBA/IOR.java, 5812 gnu/CORBA/NamingService/Ext.java, 5813 gnu/CORBA/NamingService/NameParser.java, 5814 gnu/CORBA/NamingService/NamingMap.java, 5815 gnu/CORBA/Poa/ForwardedServant.java, 5816 gnu/CORBA/Poa/LocalDelegate.java, 5817 gnu/CORBA/Poa/LocalRequest.java, 5818 gnu/CORBA/Poa/ORB_1_4.java, 5819 gnu/CORBA/Poa/gnuAdapterActivator.java, 5820 gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, 5821 gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, 5822 gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, 5823 gnu/CORBA/Poa/gnuLifespanPolicy.java, 5824 gnu/CORBA/Poa/gnuPOA.java, 5825 gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, 5826 gnu/CORBA/Poa/gnuServantObject.java, 5827 gnu/CORBA/Poa/gnuServantRetentionPolicy.java, 5828 gnu/CORBA/Poa/gnuThreadPolicy.java, 5829 gnu/CORBA/ResponseHandlerImpl.java, 5830 gnu/CORBA/gnuRequest.java, 5831 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, 5832 gnu/javax/rmi/CORBA/UtilDelegateImpl.java, 5833 org/omg/CosNaming/_NamingContextExtStub.java: 5834 References updated. 5835 58362005-10-28 Roman Kennke <kennke@aicas.com> 5837 5838 * javax/swing/JTable.java 5839 (JTable): Changed order of initialization (UI first, then the model 5840 etc), so that the UI gets notified of the initial model change. 5841 (rowAtPoint): Don't add the intercellSpacing in the calculation 5842 of the row-at-Point. 5843 (setModel): Throw a PropertyChangeEvent here if the model changes. 5844 58452005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5846 5847 * gnu/CORBA/DynAn/ValueChangeListener.java 5848 gnu/CORBA/DynAn/AbstractAny.java 5849 gnu/CORBA/DynAn/RecordAny.java 5850 gnu/CORBA/DynAn/DivideableAny.java 5851 gnu/CORBA/DynAn/UndivideableAny.java: New files. 5852 * gnu/CORBA/DynAn/abstractDynAny.java, 5853 gnu/CORBA/DynAn/recordAny.java, 5854 gnu/CORBA/DynAn/anyDivideable.java, 5855 gnu/CORBA/DynAn/anyUndivideable.java, 5856 gnu/CORBA/DynAn/valueChangedListener.java: Removed. 5857 * gnu/CORBA/DynAn/gnuDynAny.java, 5858 gnu/CORBA/DynAn/gnuDynArray.java, 5859 gnu/CORBA/DynAn/gnuDynEnum.java, 5860 gnu/CORBA/DynAn/gnuDynFixed.java, 5861 gnu/CORBA/DynAn/gnuDynStruct.java, 5862 gnu/CORBA/DynAn/gnuDynUnion.java, 5863 gnu/CORBA/DynAn/gnuDynValue.java, 5864 gnu/CORBA/DynAn/gnuDynValueBox.java: 5865 References updated. 5866 58672005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5868 5869 * gnu/CORBA/CDR/abstractDataInputStream.java, 5870 gnu/CORBA/CDR/abstractDataOutputStream.java, 5871 gnu/CORBA/CDR/aligningInputStream.java, 5872 gnu/CORBA/CDR/aligningOutputStream.java, 5873 gnu/CORBA/CDR/cdrBufInput.java.java, 5874 gnu/CORBA/CDR/cdrBufOutput.java 5875 gnu/CORBA/CDR/cdrInput.java, 5876 gnu/CORBA/CDR/cdrOutput.java, 5877 gnu/CORBA/CDR/encapsulatedOutput.java, 5878 gnu/CORBA/CDR/noHeaderInput.java: Removed. 5879 * gnu/CORBA/CDR/HeadlessInput.java 5880 gnu/CORBA/CDR/AbstractCdrInput.java 5881 gnu/CORBA/CDR/AbstractCdrOutput.java 5882 gnu/CORBA/CDR/AbstractDataInput.java 5883 gnu/CORBA/CDR/AbstractDataOutput.java 5884 gnu/CORBA/CDR/AligningInput.java 5885 gnu/CORBA/CDR/AligningOutput.java 5886 gnu/CORBA/CDR/BufferedCdrOutput.java 5887 gnu/CORBA/CDR/BufferredCdrInput.java 5888 gnu/CORBA/CDR/EncapsulationStream.java: New files. 5889 * gnu/CORBA/CDR/ArrayValueHelper.java, 5890 gnu/CORBA/CDR/BigEndianInputStream.java, 5891 gnu/CORBA/CDR/BigEndianOutputStream.java, 5892 gnu/CORBA/CDR/LittleEndianInputStream.java, 5893 gnu/CORBA/CDR/LittleEndianOutputStream.java, 5894 gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, 5895 gnu/CORBA/CDR/Vio.java, 5896 gnu/CORBA/CdrEncapsCodecImpl.java, 5897 gnu/CORBA/DynAn/gnuDynAny.java, 5898 gnu/CORBA/GIOP/MessageHeader.java, 5899 gnu/CORBA/GIOP/ReplyHeader.java, 5900 gnu/CORBA/GIOP/RequestHeader.java, 5901 gnu/CORBA/GIOP/ServiceContext.java, 5902 gnu/CORBA/GIOP/cxCodeSet.java, 5903 gnu/CORBA/GIOP/v1_0/ReplyHeader.java, 5904 gnu/CORBA/GIOP/v1_0/RequestHeader.java, 5905 gnu/CORBA/GIOP/v1_2/ReplyHeader.java, 5906 gnu/CORBA/GIOP/v1_2/RequestHeader.java, 5907 gnu/CORBA/GeneralHolder.java, 5908 gnu/CORBA/IOR.java, 5909 gnu/CORBA/Interceptor/gnuIcCurrent.java, 5910 gnu/CORBA/IorDelegate.java, 5911 gnu/CORBA/ObjectCreator.java, 5912 gnu/CORBA/OrbFunctional.java, 5913 gnu/CORBA/OrbRestricted.java, 5914 gnu/CORBA/Poa/LocalDelegate.java, 5915 gnu/CORBA/Poa/LocalRequest.java, 5916 gnu/CORBA/Poa/gnuPOA.java, 5917 gnu/CORBA/RawReply.java, 5918 gnu/CORBA/ResponseHandlerImpl.java, 5919 gnu/CORBA/ServiceRequestAdapter.java, 5920 gnu/CORBA/StreamBasedRequest.java, 5921 gnu/CORBA/gnuAny.java, 5922 gnu/CORBA/gnuRequest.java, 5923 gnu/CORBA/typecodes/GeneralTypeCode.java, 5924 gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, 5925 gnu/javax/rmi/CORBA/RmiUtilities.java, 5926 gnu/javax/rmi/CORBA/StubDelegateImpl.java, 5927 org/omg/IOP/TaggedProfileHelper.java: 5928 References updated. 5929 59302005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5931 5932 * gnu/javax/rmi/CORBA/corbaObjectInput.java, 5933 gnu/javax/rmi/CORBA/corbaObjectOutput.java, 5934 gnu/javax/rmi/CORBA/dwoTester.java, 5935 gnu/javax/rmi/CORBA/gnuRmiUtil: Deleted. 5936 * gnu/javax/rmi/CORBA/CorbaInput.java, 5937 gnu/javax/rmi/CORBA/CorbaOutput.java, 5938 gnu/javax/rmi/CORBA/DefaultWriteObjectTester.java, 5939 gnu/javax/rmi/CORBA/RmiUtilities.java: New files. 5940 * gnu/javax/rmi/CORBA/UtilDelegateImpl.java, 5941 gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java: 5942 References updated. 5943 59442005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 5945 5946 * gnu/CORBA/holderFactory.java, 5947 gnu/CORBA/IOR_contructed_object.java, 5948 gnu/CORBA/IOR_Delegate.java, 5949 gnu/CORBA/Simple_delegate.java, 5950 gnu/CORBA/Restricted_ORB.java, 5951 gnu/CORBA/Functional_ORB.java, 5952 gnu/CORBA/Focused_ORB.java: Removed. 5953 * gnu/CORBA/HolderLocator.java 5954 gnu/CORBA/IorDelegate.java 5955 gnu/CORBA/IorObject.java 5956 gnu/CORBA/OrbFocused.java 5957 gnu/CORBA/OrbFunctional.java 5958 gnu/CORBA/OrbRestricted.java 5959 gnu/CORBA/SimpleDelegate.java: New files. 5960 * gnu/CORBA/CDR/cdrInput.java, 5961 gnu/CORBA/DynAn/abstractRecord.java, 5962 gnu/CORBA/DynAn/gnuDynAny.java, 5963 gnu/CORBA/DynAn/gnuDynAnyFactory.java, 5964 gnu/CORBA/DynAn/gnuDynArray.java, 5965 gnu/CORBA/DynAn/gnuDynValueBox.java, 5966 gnu/CORBA/GIOP/ErrorMessage.java, 5967 gnu/CORBA/NamingService/NameParser.java, 5968 gnu/CORBA/NamingService/NamingServiceTransient.java, 5969 gnu/CORBA/Poa/ForwardedServant.java, 5970 gnu/CORBA/Poa/ORB_1_4.java, 5971 gnu/CORBA/Poa/gnuServantObject.java, 5972 gnu/CORBA/StubLocator.java, 5973 gnu/CORBA/gnuAny.java, 5974 gnu/CORBA/gnuRequest.java, 5975 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, 5976 gnu/javax/rmi/CORBA/gnuRmiUtil.java, 5977 org/omg/CORBA/CompletionStatusHelper.java, 5978 org/omg/CORBA/DefinitionKindHelper.java, 5979 org/omg/CORBA/FieldNameHelper.java, 5980 org/omg/CORBA/IDLTypeHelper.java, 5981 org/omg/CORBA/IdentifierHelper.java, 5982 org/omg/CORBA/ORB.java, 5983 org/omg/CORBA/ParameterModeHelper.java, 5984 org/omg/CORBA/RepositoryIdHelper.java, 5985 org/omg/CORBA/SetOverrideTypeHelper.java, 5986 org/omg/CORBA/StringValueHelper.java, 5987 org/omg/CORBA/StructMemberHelper.java, 5988 org/omg/CORBA/UnionMemberHelper.java, 5989 org/omg/CORBA/ValueMemberHelper.java, 5990 org/omg/CORBA/VersionSpecHelper.java, 5991 org/omg/CORBA/VisibilityHelper.java, 5992 org/omg/CORBA/WStringValueHelper.java, 5993 org/omg/CORBA/_IDLTypeStub.java, 5994 org/omg/CosNaming/IstringHelper.java, 5995 org/omg/DynamicAny/FieldNameHelper.java, 5996 org/omg/PortableInterceptor/AdapterNameHelper.java, 5997 org/omg/PortableInterceptor/ORBIdHelper.java, 5998 org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java, 5999 org/omg/PortableInterceptor/ObjectIdHelper.java, 6000 org/omg/PortableInterceptor/ServerIdHelper.java: 6001 References updated. 6002 60032005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6004 6005 * gnu/CORBA/universalHolder.java 6006 gnu/CORBA/stubFinder.java 6007 gnu/CORBA/typeNamer.java 6008 gnu/CORBA/streamRequest.java 6009 gnu/CORBA/streamReadyHolder.java 6010 gnu/CORBA/binaryReply.java 6011 gnu/CORBA/bufferedResponseHandler.java 6012 gnu/CORBA/cdrEncapsCodec.java 6013 gnu/CORBA/corbaArrayList.java: Removed. 6014 * gnu/CORBA/CdrEncapsCodecImpl.java, 6015 gnu/CORBA/CorbaList.java, 6016 gnu/CORBA/GeneralHolder.java, 6017 gnu/CORBA/RawReply.java, 6018 gnu/CORBA/ResponseHandlerImpl.java, 6019 gnu/CORBA/StreamBasedRequest.java, 6020 gnu/CORBA/StreamHolder.java, 6021 gnu/CORBA/StubLocator.java, 6022 gnu/CORBA/TypeKindNamer.java: New files. 6023 * gnu/CORBA/CDR/cdrInput.java, 6024 gnu/CORBA/DynAn/abstractDynAny.java, 6025 gnu/CORBA/DynAn/anyDivideable.java, 6026 gnu/CORBA/DynAn/gnuDynAny.java, 6027 gnu/CORBA/DynAn/gnuDynAnyFactory.java, 6028 gnu/CORBA/Functional_ORB.java, 6029 gnu/CORBA/IOR_Delegate.java, 6030 gnu/CORBA/ObjectCreator.java, 6031 gnu/CORBA/Poa/LocalDelegate.java, 6032 gnu/CORBA/Poa/LocalRequest.java, 6033 gnu/CORBA/Poa/gnuServantObject.java, 6034 gnu/CORBA/Restricted_ORB.java, 6035 gnu/CORBA/ServiceRequestAdapter.java, 6036 gnu/CORBA/gnuAny.java, 6037 gnu/CORBA/gnuCodecFactory.java, 6038 gnu/CORBA/gnuContextList.java, 6039 gnu/CORBA/gnuExceptionList.java, 6040 gnu/CORBA/gnuNVList.java, 6041 gnu/CORBA/gnuRequest.java, 6042 gnu/CORBA/typecodes/RecordTypeCode.java: 6043 References updated. 6044 60452005-10-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6046 6047 * gnu/CORBA/typecodes/AliasTypeCode.java, 6048 gnu/CORBA/typecodes/ArrayTypeCode.java, 6049 gnu/CORBA/typecodes/FixedTypeCode.java, 6050 gnu/CORBA/typecodes/GeneralTypeCode.java, 6051 gnu/CORBA/typecodes/PrimitiveTypeCode.java, 6052 gnu/CORBA/typecodes/RecordTypeCode.java, 6053 gnu/CORBA/typecodes/RecursiveTypeCode.java, 6054 gnu/CORBA/typecodes/StringTypeCode.java, 6055 gnu/CORBA/typecodes/package.html: New files. 6056 * gnu/CORBA/aliasTypeCode.java, 6057 gnu/CORBA/primitiveArrayTypeCode.java, 6058 gnu/CORBA/fixedTypeCode.java, 6059 gnu/CORBA/generalTypeCode.java, 6060 gnu/CORBA/primitiveTypeCode.java, 6061 gnu/CORBA/recordTypeCode.java, 6062 gnu/CORBA/recursiveTypeCode.java, 6063 gnu/CORBA/stringTypeCode.java: Deleted. 6064 * gnu/CORBA/CDR/cdrOutput.java, 6065 gnu/CORBA/ObjectCreator.java, 6066 gnu/CORBA/OctetHolder.java, 6067 gnu/CORBA/Poa/LocalRequest.java, 6068 gnu/CORBA/Poa/gnuServantObject.java, 6069 gnu/CORBA/Restricted_ORB.java, 6070 gnu/CORBA/TypeCodeHelper.java, 6071 gnu/CORBA/WCharHolder.java, 6072 gnu/CORBA/WStringHolder.java, 6073 gnu/CORBA/gnuAny.java, 6074 gnu/CORBA/typeNamer.java, 6075 gnu/javax/rmi/CORBA/UtilDelegateImpl.java, 6076 org/omg/CORBA/AnyHolder.java, 6077 org/omg/CORBA/AnySeqHelper.java, 6078 org/omg/CORBA/AnySeqHolder.java, 6079 org/omg/CORBA/BooleanHolder.java, 6080 org/omg/CORBA/BooleanSeqHelper.java, 6081 org/omg/CORBA/BooleanSeqHolder.java, 6082 org/omg/CORBA/ByteHolder.java, 6083 org/omg/CORBA/CharHolder.java, 6084 org/omg/CORBA/CharSeqHelper.java, 6085 org/omg/CORBA/CharSeqHolder.java, 6086 org/omg/CORBA/DefinitionKindHelper.java, 6087 org/omg/CORBA/DoubleHolder.java, 6088 org/omg/CORBA/DoubleSeqHelper.java, 6089 org/omg/CORBA/DoubleSeqHolder.java, 6090 org/omg/CORBA/FixedHolder.java, 6091 org/omg/CORBA/FloatHolder.java, 6092 org/omg/CORBA/FloatSeqHelper.java, 6093 org/omg/CORBA/FloatSeqHolder.java, 6094 org/omg/CORBA/IntHolder.java, 6095 org/omg/CORBA/LongHolder.java, 6096 org/omg/CORBA/LongLongSeqHelper.java, 6097 org/omg/CORBA/LongLongSeqHolder.java, 6098 org/omg/CORBA/LongSeqHelper.java, 6099 org/omg/CORBA/LongSeqHolder.java, 6100 org/omg/CORBA/NameValuePairHelper.java, 6101 org/omg/CORBA/ORB.java, 6102 org/omg/CORBA/ObjectHelper.java, 6103 org/omg/CORBA/ObjectHolder.java, 6104 org/omg/CORBA/OctetSeqHelper.java, 6105 org/omg/CORBA/OctetSeqHolder.java, 6106 org/omg/CORBA/PolicyErrorCodeHelper.java, 6107 org/omg/CORBA/PrincipalHolder.java, 6108 org/omg/CORBA/ShortHolder.java, 6109 org/omg/CORBA/ShortSeqHelper.java, 6110 org/omg/CORBA/ShortSeqHolder.java, 6111 org/omg/CORBA/StringHolder.java, 6112 org/omg/CORBA/StringSeqHelper.java, 6113 org/omg/CORBA/StringSeqHolder.java, 6114 org/omg/CORBA/TypeCodeHolder.java, 6115 org/omg/CORBA/ULongLongSeqHelper.java, 6116 org/omg/CORBA/ULongLongSeqHolder.java, 6117 org/omg/CORBA/ULongSeqHelper.java, 6118 org/omg/CORBA/ULongSeqHolder.java, 6119 org/omg/CORBA/UShortSeqHelper.java, 6120 org/omg/CORBA/UShortSeqHolder.java, 6121 org/omg/CORBA/ValueBaseHelper.java, 6122 org/omg/CORBA/WCharSeqHelper.java, 6123 org/omg/CORBA/WCharSeqHolder.java, 6124 org/omg/CORBA/WStringSeqHelper.java, 6125 org/omg/CORBA/WStringSeqHolder.java, 6126 org/omg/Messaging/SyncScopeHelper.java: References modified. 6127 61282005-10-28 Nicolas Geoffray <nicolas.geoffray@menlina.com> 6129 6130 Reported by: Gael Thomas <gael.thomas@imag.fr> 6131 * NEWS : added entry about new implementation of 6132 VMClassLoader.getPackage(s), and new method 6133 VMClassLoader.getBootPackages 6134 * vm/reference/java/lang/VMClassLoader.java: 6135 Added new definedPackages field to store packages 6136 loaded by the bootstrap classloader. 6137 Added new static initializer to create all packages 6138 which names are returned by getBootPackages 6139 (getBootPackages): new private method. Helper 6140 to get as a String[] the native package names 6141 (getPackage): uses the new definedPackages field 6142 (getPackages): uses the new definedPackages field 6143 * java/lang/Class.java: 6144 (getPackage): if the classloader of the class is null 6145 then call VMClassLoader.getPackage 6146 61472005-10-27 Anthony Balkissoon <abalkiss@redhat.com> 6148 6149 * javax/swing/JEditorPane.java: 6150 (getScrollableTracksViewportWidth): Return true if the component is 6151 valid. 6152 (getScrollableTracksViewportHeight): Likewise. 6153 61542005-10-27 Anthony Balkissoon <abalkiss@redhat.com> 6155 6156 * javax/swing/ScrollPaneLayout.java: 6157 (preferredLayoutSize): Fixed the conditions for allocating space for 6158 the scrollbars. Should allocate space if the View's dimension is 6159 larger than the Viewport's dimension. This fixes the problem in 6160 comment 1) for PR 23530. 6161 61622005-10-27 Anthony Balkissoon <abalkiss@redhat.com> 6163 6164 * javax/swing/JViewport.java: 6165 (scrollRectToVisible): Use the viewport bounds instead of the view 6166 bounds when scrolling up and scrolling left. 6167 61682005-10-27 Roman Kennke <kennke@aicas.com> 6169 6170 * javax/swing/text/FieldView.java 6171 (getPreferredSpan): For the Y_AXIS call the superclass behaviour as 6172 described in the Swing book by OReilly. 6173 61742005-10-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6175 6176 * org/omg/PortableInterceptor/ObjectIdHelper.java: 6177 Assuming ObjectId as alias of byte[], not alias of String. 6178 61792005-10-27 Roman Kennke <kennke@aicas.com> 6180 6181 * javax/swing/JTextField.java 6182 (createDefaultModel): Return a normal PlainDocument here. 6183 * javax/swing/text/AbstractDocument.java 6184 (insertString): Correctly placed locking so that insertUpdate() is 6185 called within a lock as specified. Do not setup any ElementChanges 6186 here, this must be done in subclasses in insertUpdate() method. 6187 Fire an UndoableEditEvent. 6188 * javax/swing/text/PlainDocument.java 6189 (insertString): New method. Replaces newlines with whitespace 6190 when document property 'filterNewlines' is set. 6191 61922005-10-27 Roman Kennke <kennke@aicas.com> 6193 6194 * javax/swing/plaf/basic/BasicScrollBarUI.java 6195 (PropertyChangeHandler.propertyChange): If orientation property 6196 changes, re-setup the UI. 6197 (TrackListener.mouseReleased): Removed unused code. 6198 (createIncreaseButton): Simply return a new instance without any 6199 hacks. 6200 (createDecreaseButton): Likewise. 6201 (installComponents): Do not create the incrButton and decrButton 6202 here, only install them on the ScrollBar. 6203 (installDefaults): Also initialize the incrButton and decrButton 6204 fields here. 6205 (uninstallComponents): Added some null checks. 6206 (uninstallDefaults): Uninstall border using the LookAndFeel utility 6207 method. Set incrButton and decrButton to null here. 6208 (uninstallListeners): Added null checks. 6209 (uninstallUI): Changed order of method calls. First uninstall 6210 listeners then uninstallDefaults, because uninstallDefaults sets 6211 the incrButton and decrButton fields to null, and uninstallListeners 6212 removes a listener from them. Avoids NPE. 6213 62142005-10-27 David Gilbert <david.gilbert@object-refinery.com> 6215 6216 * javax/swing/plaf/metal/MetalBorders.java: API doc updates, 6217 * javax/swing/plaf/metal/MetalButtonUI.java: likewise, 6218 * javax/swing/plaf/metal/MetalCheckBoxIcon.java: likewise, 6219 * javax/swing/plaf/metal/MetalCheckBoxUI.java: likewise, 6220 * javax/swing/plaf/metal/MetalDesktopIconUI.java: likewise, 6221 * javax/swing/plaf/metal/MetalIconFactory.java: likewise, 6222 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: likewise, 6223 * javax/swing/plaf/metal/MetalInternalFrameUI.java: likewise, 6224 * javax/swing/plaf/metal/MetalLabelUI.java: likewise, 6225 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: likewise, 6226 * javax/swing/plaf/metal/MetalProgressBarUI.java: likewise, 6227 * javax/swing/plaf/metal/MetalRadioButtonUI.java: likewise, 6228 * javax/swing/plaf/metal/MetalRootPaneUI.java: likewise, 6229 * javax/swing/plaf/metal/MetalScrollBarUI.java: likewise, 6230 * javax/swing/plaf/metal/MetalScrollPaneUI.java: likewise, 6231 * javax/swing/plaf/metal/MetalSeparatorUI.java: likewise, 6232 * javax/swing/plaf/metal/MetalSliderUI.java: likewise, 6233 * javax/swing/plaf/metal/MetalSplitPaneUI.java: likewise, 6234 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: likewise, 6235 * javax/swing/plaf/metal/MetalTextFieldUI.java: likewise, 6236 * javax/swing/plaf/metal/MetalToolBarUI.java: likewise, 6237 * javax/swing/plaf/metal/MetalToolTipUI.java: likewise, 6238 * javax/swing/plaf/metal/MetalTreeUI.java: likewise, 6239 * javax/swing/plaf/metal/package.html: likewise. 6240 62412005-10-27 David Gilbert <david.gilbert@object-refinery.com> 6242 6243 * javax/swing/plaf/metal/MetalToggleButtonUI.java: 6244 (MetalToggleButtonUI): removed color field initialisation, 6245 (installDefaults): added color field initialisation formerly in 6246 the constructor. 6247 62482005-10-27 David Gilbert <david.gilbert@object-refinery.com> 6249 6250 * javax/swing/RepaintManager.java 6251 (paintDirtyRegions): replaced characters in comment that caused 6252 warnings in gjdoc and Eclipse. 6253 62542005-10-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6255 6256 * BUGS: URL refreshed. 6257 62582005-10-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6259 6260 * gnu/CORBA/ExceptionCreator.java: Deleted. 6261 62622005-10-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6263 6264 * org/omg/PortableInterceptor/ObjectReferenceFactory.java, 6265 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java, 6266 org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java, 6267 org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 6268 New files. 6269 62702005-10-26 Anthony Balkissoon <abalkiss@redhat.com> 6271 6272 * javax/swing/ViewportLayout.java: 6273 (layoutContainer): Fixed incorrect boundary checks, should have been 6274 checking for viewport being smaller than minimum size, not smaller 6275 than preferred size. 6276 62772005-10-26 Andreas Tobler <a.tobler@schweiz.ch> 6278 6279 * configure.ac: Rename --with-qtdir to --with-qt4dir to make clear 6280 which Qt version is meant. 6281 62822005-10-26 Anthony Balkissoon <abalkiss@redhat.com> 6283 6284 * javax/swing/JList.java: 6285 (getPreferredScrollableViewportSize): Use the preferred width instead 6286 of the width of the widest element. This allows us to use the 6287 user-specified preferred width if setPreferredSize was called. Use 6288 the height of the first row, not the first visible row, when 6289 calculating the preferred height. Added comments and made code cleaner 6290 and more readable. 6291 62922005-10-26 Thomas Fitzsimmons <fitzsim@redhat.com> 6293 6294 * javax/imageio/spi/ImageReaderWriterSpi.java 6295 (getStreamMetadataFormat): Implement. 6296 (getImageMetadataFormat): Likewise. 6297 62982005-10-26 David Gilbert <david.gilbert@object-refinery.com> 6299 6300 * javax/swing/colorchooser/AbstractColorChooserPanel.java 6301 (getMnemonic): implemented, 6302 (getDisplayedMnemonicIndex): implemented. 6303 63042005-10-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6305 6306 * org/omg/PortableInterceptor/AdapterManagerIdHelper.java, 6307 org/omg/PortableInterceptor/AdapterNameHelper.java, 6308 org/omg/PortableInterceptor/AdapterStateHelper.java, 6309 org/omg/PortableInterceptor/ORBIdHelper.java, 6310 org/omg/PortableInterceptor/ObjectIdHelper.java, 6311 org/omg/PortableInterceptor/ServerIdHelper.java: New files. 6312 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java 6313 (type): Fixed typo in typecode name. 6314 63152005-10-25 Anthony Balkissoon <abalkiss@redhat.com> 6316 6317 * javax/swing/text/WrappedPlainView: New class. 6318 63192005-10-25 Roman Kennke <kennke@aicas.com> 6320 6321 * javax/swing/plaf/basic/BasicButtonUI.java 6322 (installDefaults): Removed initialization of unnecessary focusColor 6323 field. 6324 (paintButtonPressed): Only paint if button is opaque. 6325 * javax/swing/plaf/metal/MetalButtonUI.java 6326 (paintButtonPressed): Only paint if button is opaque and 6327 contentAreaFilled. 6328 63292005-10-25 Anthony Balkissoon <abalkiss@redhat.com> 6330 6331 * javax/swing/text/CompositeView.java: 6332 (getViewIndexAtPosition): Fixed boundary conditions (less than and 6333 greater than signs were backward). 6334 63352005-10-25 Anthony Balkissoon <abalkiss@redhat.com> 6336 6337 * javax/swing/text/Utilities.java: 6338 (getBreakLocation): New API method. 6339 63402005-10-25 Tom Tromey <tromey@redhat.com> 6341 6342 * java/io/ObjectOutputStream.java (useProtocolVersion): Typo fix. 6343 63442005-10-25 Roman Kennke <kennke@aicas.com> 6345 6346 * gnu/java/awt/peer/gtk/GtkDialogPeer.java 6347 (create): Changed classname for the heavyweight testclass to match 6348 the new classes introduced by my popup patch earlier this day. 6349 63502005-10-25 Roman Kennke <kennke@aicas.com> 6351 6352 * examples/gnu/classpath/examples/swing/Demo.java 6353 (mkMenuBar): Replaced some demos with new external demo programs, 6354 namely the button demo, the scrollbar demo, the combobox demo and 6355 the slider demo. 6356 (mkButtonBar): Likewise. 6357 * examples/gnu/classpath/examples/swing/ButtonDemo.java 6358 (createContent): Made package private so that the Demo.java can 6359 access it. 6360 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java 6361 (createContent): Made package private so that the Demo.java can 6362 access it. 6363 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java 6364 (createContent): Made package private so that the Demo.java can 6365 access it. 6366 * examples/gnu/classpath/examples/swing/SliderDemo.java 6367 (createContent): Made package private so that the Demo.java can 6368 access it. 6369 63702005-10-25 Roman Kennke <kennke@aicas.com> 6371 6372 * javax/swing/JLayeredPane.java 6373 (addImpl): Removed unnecessary repaint() and revalidate() calls. 6374 * javax/swing/JPopupMenu.java 6375 (remove): Removed unnecessary revalidate() call. 6376 (insert): Removed code that installs GridBagConstraints. JPopupMenu 6377 uses a BoxLayout and this is not needed anymore. 6378 (pack): Send this method call to the event queue to avoid 6379 synchronization problems. Set size to preferredSize of this menu. 6380 (setVisible): Send this method call to the event queue to avoid 6381 synchronization problems. Use PopupFactory for creating a popup. 6382 (setLocation): Use int fields instead of a Point field. 6383 (Popup): Removed inner interface. We use javax.swing.Popup now. 6384 (LightweightPopup): Likewise. 6385 (MediumWeightPopup): Likewise. 6386 (HeavyWeightPopup): Likewise. 6387 * javax/swing/Popup.java 6388 (JWindowPopup.JWindowPopup): Add contents to contentPane of window. 6389 Set focusableWindowState to false. 6390 (JWindowPopup.show): Set size of window here. 6391 (LightweightPopup): New inner class. 6392 * javax/swing/PopupFactory.java 6393 (getPopup): Return heavyweight or lightweight popup depending on 6394 the parameters. 6395 * javax/swing/plaf/basic/BasicMenuItemUI.java 6396 (PropertyChangeHandler): Removed unneeded inner class. 6397 (BasicMenuItemUI): Removed instantiation of PropertyChangeHandler. 6398 (installListeners): Removed handling of the PropertyChangeHandler. 6399 (uninstallListeners): Removed handling of the PropertyChangeHandler. 6400 * javax/swing/plaf/basic/BasicMenuUI.java 6401 (getMaximumSize): Don't treat popup menus different. 6402 64032005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6404 6405 * gnu/classpath/examples/CORBA/NamingService/Demo.java (main): 6406 Make arguments not final. 6407 64082005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6409 6410 * org/omg/CORBA/IDLEntity.java: Deleted. 6411 * gnu/CORBA/primitiveTypeCode.java, 6412 org/omg/CORBA/PolicyError.java, 6413 org/omg/CORBA/TypeCodePackage/BadKind.java, 6414 org/omg/CORBA/TypeCodePackage/Bounds.java: 6415 Use org.omg.CORBA.portable.IDLEntity. 6416 64172005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6418 6419 * gnu/CORBA/interfaces/SocketFactory.java: New file. 6420 * gnu/CORBA/interfaces/gnuSocketFactory.java: Deleted. 6421 * gnu/CORBA/DefaultSocketFactory.java, 6422 gnu/CORBA/Functional_ORB.java, 6423 org/omg/CORBA/ORB.java: Replacing gnuSocketFactory into SocketFactory. 6424 64252005-10-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6426 6427 * org/omg/CosNaming/BindingIteratorHelper.java, 6428 org/omg/CosNaming/NamingContextExtHelper.java, 6429 org/omg/CosNaming/NamingContextHelper.java, 6430 org/omg/DynamicAny/DynAnyFactoryHelper.java, 6431 org/omg/DynamicAny/DynAnyHelper.java, 6432 org/omg/DynamicAny/DynArrayHelper.java, 6433 org/omg/DynamicAny/DynEnumHelper.java, 6434 org/omg/DynamicAny/DynFixedHelper.java, 6435 org/omg/DynamicAny/DynSequenceHelper.java, 6436 org/omg/DynamicAny/DynStructHelper.java, 6437 org/omg/DynamicAny/DynUnionHelper.java, 6438 org/omg/DynamicAny/DynValueHelper.java, 6439 org/omg/IOP/CodecFactoryHelper.java, 6440 org/omg/PortableInterceptor/CurrentHelper.java, 6441 org/omg/PortableServer/ServantActivatorHelper.java, 6442 org/omg/PortableServer/ServantLocatorHelper.java: Added 6443 unchecked_narrow method. 6444 64452005-10-25 Roman Kennke <kennke@aicas.com> 6446 6447 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 6448 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): 6449 Call gdk_window_get_root_origin instead of gdk_window_get_origin 6450 so that the window decorations are correctly respected. 6451 64522005-10-24 Tom Tromey <tromey@redhat.com> 6453 6454 * javax/accessibility/AccessibleStateSet.java (states): 6455 Changed type. 6456 * javax/accessibility/AccessibleRelationSet.java (relations): 6457 Changed type. 6458 64592005-10-24 Tom Tromey <tromey@redhat.com> 6460 6461 * java/security/acl/Group.java (isMember): Javadoc fix. 6462 (members): Changed return type. 6463 * java/security/acl/AclEntry.java (addPermission): Fixed javadoc. 6464 (checkPermission): Likewise. 6465 (permissions): Changed return type. 6466 * java/security/acl/Acl.java (entries): Changed return type. 6467 (getPermissions): Likewise. 6468 64692005-10-24 Tom Tromey <tromey@redhat.com> 6470 6471 * gnu/java/nio/SelectorImpl.java (keys): Changed type. 6472 (selected): Likewise. 6473 (SelectorImpl): Updated. 6474 (keys): Changed return type. 6475 (getFDsAsArray): Updated. 6476 (select): Likewise. 6477 (selectedKeys): Changed return type. 6478 (deregisterCancelledKeys): Updated. 6479 * java/nio/channels/Selector.java (selectedKeys): Changed return 6480 type. 6481 (keys): Likewise. 6482 64832005-10-24 Tom Tromey <tromey@redhat.com> 6484 6485 * java/awt/image/ReplicateScaleFilter.java (setProperties): Changed 6486 argument type. 6487 * java/awt/image/CropImageFilter.java (setProperties): Changed 6488 argument type. 6489 64902005-10-24 Tom Tromey <tromey@redhat.com> 6491 6492 * java/io/ObjectOutputStream.java (useProtocolVersion): Fixed typo 6493 in javadoc. 6494 64952005-10-24 Tom Tromey <tromey@redhat.com> 6496 6497 * java/lang/StringBuffer.java (appendCodePoint): Added @since. 6498 * java/lang/StringBuilder.java (insert): New overloads. 6499 (appendCodePoint): New method. 6500 65012005-10-24 Dalibor Topic <robilad@kaffe.org> 6502 6503 * test/native/lib/PrimlibInterface.c, 6504 * test/native/lib/PrimlibInterface.h, 6505 * test/native/lib/PrimlibTest.java: 6506 Removed unused test. 6507 65082005-10-24 Dalibor Topic <robilad@kaffe.org> 6509 6510 * native/jni/classpath/primlib.c, 6511 native/jni/classpath/primlib.h: Removed since unused. 6512 6513 * native/jni/classpath/Makefile.am: (libclasspath_la_SOURCES) 6514 Removed primlib.c and primlib.h. 6515 65162005-10-24 David Gilbert <david.gilbert@object-refinery.com> 6517 6518 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: New file. 6519 65202005-10-24 David Gilbert <david.gilbert@object-refinery.com> 6521 6522 * javax/swing/plaf/basic/BasicScrollBarUI.java 6523 (ModelListener.stateChanged): changed call to getThumbBounds() to 6524 updateThumbRect(), 6525 (PropertyChangeHandler.propertyChange): likewise, plus added handling 6526 for 'enabled' property, 6527 (getMaximumSize): return maximum dimension, 6528 (getThumbBounds): just return field value, 6529 (getTrackBounds): just return field value, 6530 (installUI): switch order of calls to installDefaults() and 6531 installComponents(), 6532 (layoutHScrollBar): reimplemented using new updateThumbRect() method, 6533 (layoutVScrollBar): likewise, 6534 (updateThumbRect): new method, 6535 * javax/swing/plaf/metal/MetalLookAndFeel.java 6536 (initComponentDefaults): added 'ScrollBar.width' default, 6537 * javax/swing/plaf/metal/MetalScrollBarUI.java 6538 (MIN_THUMB_SIZE): changed value, 6539 (MIN_THUMB_SIZE_FREE_STANDING): new field, 6540 (isFreeStanding): set default to true, 6541 (scrollBarShadowColor): new field, 6542 (installDefaults): initialise scrollBarShadowColor, 6543 (createDecreaseButton): retain reference in decreaseButton field, 6544 (createIncreaseButton): retain reference in increaseButton field, 6545 (paintTrackHorizontal): use scrollBarShadowColor, add special handling 6546 for free standing scroll bar in disabled state, 6547 (paintTrackVertical): likewise, 6548 (paintThumb): separate horizontal and vertical cases, 6549 (paintThumbHorizontal): new method, 6550 (paintThumbVertical): new method, 6551 (getMinimumThumbSize): return different size depending on whether or 6552 not the scroll bar is free standing, 6553 * javax/swing/plaf/metal/MetalScrollButton.java 6554 (paintNorthBorderFreeStanding): modified drawing. 6555 65562005-10-24 Thomas Fitzsimmons <fitzsim@redhat.com> 6557 6558 * javax/imageio/metadata/IIOMetadataFormatImpl.java: Complete. 6559 * javax/imageio/metadata/IIOMetadataNode.java: Complete stubs. 6560 * javax/imageio/metadata/IIOAttr.java: Replace with 6561 IIOMetadataFormatImpl.IIOMetadataNodeAttr. Remove file. 6562 * javax/imageio/metadata/IIONamedNodeMap.java: Replace with 6563 IIOMetadataNode.IIONamedNodeMap. Remove file. 6564 * javax/imageio/metadata/IIONodeList.java: Replace with 6565 IIOMetadataNode.IIONodeList. Remove file. 6566 65672005-10-24 Tom Tromey <tromey@redhat.com> 6568 6569 * java/text/AttributedStringIterator.java (getRunLimit): Add 6570 explicit qualification. 6571 (getRunStart): Likewise. 6572 65732005-10-24 David Gilbert <david.gilbert@object-refinery.com> 6574 6575 * java/text/AttributedString.java 6576 (AttributedString(AttributedCharacterIterator, int, int, 6577 AttributedCharacterIterator.Attribute[])): renamed arguments, and 6578 updated IllegalArgumentException check, 6579 (addAttribute(AttributedCharacterIterator.Attribute, Object, int, 6580 int)): likewise, 6581 (addAttributes(Map, int, int)): changed IllegalArgumentException to 6582 NullPointerException, and modified check for illegal range, 6583 * java/text/AttributedStringIterator.java 6584 (getRunLimit(Set)): reimplemented, 6585 (getRunStart): added API docs, 6586 (getRunStart(AttributedCharacterIterator.Attribute)): handle null 6587 argument as a special case, 6588 (getRunStart(Set)): reimplemented, 6589 (getAttribute(AttributedCharacterIterator.Attribute, int)): new 6590 private method, 6591 (getAttribute(AttributedCharacterIterator.Attribute)): reimplemented 6592 using new private method. 6593 * java/text/CharacterIterator.java: minor API doc fix. 6594 65952005-10-24 Roman Kennke <kennke@aicas.com> 6596 6597 Fixes Bug #24359 6598 * javax/swing/BoxLayout.java: 6599 Made class thread safe. 6600 66012005-10-23 Tom Tromey <tromey@redhat.com> 6602 6603 * java/util/InvalidPropertiesFormatException.java: New file. 6604 66052005-10-23 Andrew John Hughes <gnu_andrew@member.fsf.org> 6606 6607 * java/util/Properties.java 6608 (storeToXML(OutputStream,String,String)): Added null pointer checks. 6609 (loadFromXML(InputStream)): Implemented. 6610 (PropertiesHandler): New class to handle parsing events. 6611 (PropertiesHandler()): New constructor. 6612 (startDTD(String,String,String)): Implemented. 6613 (startElement(String,String,String,Attributes)): Implemented. 6614 (characters(char[],int,int)): Implemented. 6615 (endElement(String,String,String)): Implemented. 6616 (endDocument()): Implemented. 6617 66182005-10-23 Guilhem Lavaux <guilhem@kaffe.org> 6619 6620 * java/lang/Thread.java 6621 (sleep): Better exception message. 6622 6623 * java/security/AccessControlContext.java 6624 (checkPermission): Likewise. 6625 6626 * java/util/ResourceBundle.java 6627 (getBundle): Likewise. 6628 6629 * java/util/SimpleTimeZone.java 6630 (setStartRule): Added some documentation. 6631 66322005-10-23 Guilhem Lavaux <guilhem@kaffe.org> 6633 6634 * configure.ac: Added support for "--with-native-libdir" and 6635 "--with-glibj-dir". Generate copy-vmresources.sh 6636 6637 * lib/Makefile.am: Call copy-vmresources.sh to fetch possible vm 6638 resources from the vmdirs. 6639 6640 * lib/copy-vmresources.sh.in: New script file. 6641 6642 * lib/gen-classlist.sh.in: Include com/ as base package for the 6643 vm directories. 6644 6645 * native/jawt/Makefile.am, 6646 native/jni/gtk-peer/Makefile.am, 6647 native/jni/java-io/Makefile.am, 6648 native/jni/java-lang/Makefile.am, 6649 native/jni/java-net/Makefile.am, 6650 native/jni/java-nio/Makefile.am, 6651 native/jni/java-util/Makefile.am, 6652 native/jni/midi-alsa/Makefile.am, 6653 native/jni/midi-dssi/Makefile.am, 6654 native/jni/qt-peer/Makefile.am, 6655 native/jni/xmlj/Makefile.am: Install libraries in nativelibdir 6656 and not pkglib. 6657 66582005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6659 6660 PR classpath/22972 6661 * java/io/File (createTempFile): Rewritten. 6662 66632005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6664 6665 * org/omg/IOP/RMICustomMaxStreamFormat.java, 6666 * org/omg/IOP/ExceptionDetailMessage.java: New files. 6667 66682005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6669 6670 * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Made static. 6671 66722005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6673 6674 * gnu/javax/rmi/CORBA/gnuRmiUtil.java (readValue): 6675 Do not read fields of the ObjectImpl. 6676 66772005-10-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6678 6679 * org/omg/IOP/TAG_RMI_CUSTOM_MAX_STREAM_FORMAT, 6680 * org/omg/PortableInterceptor/ACTIVE.java, 6681 * org/omg/PortableInterceptor/DISCARDING.java, 6682 * org/omg/PortableInterceptor/HOLDING.java, 6683 * org/omg/PortableInterceptor/INACTIVE.java, 6684 * org/omg/PortableInterceptor/NON_EXISTENT.java: New files. 6685 66862005-10-22 Julian Scheid <julian@sektor37.de> 6687 6688 * java/util/Map.java (Entry.equals): Fixed invalid example code 6689 in documentation. 6690 66912005-10-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6692 6693 * org/omg/CORBA/ACTIVITY_COMPLETED.java, 6694 * org/omg/CORBA/ACTIVITY_REQUIRED.java, 6695 * org/omg/CORBA/BAD_QOS.java, 6696 * org/omg/CORBA/CODESET_INCOMPATIBLE.java, 6697 * org/omg/CORBA/INVALID_ACTIVITY.java, 6698 * org/omg/CORBA/REBIND.java, 6699 * org/omg/CORBA/TIMEOUT.java, 6700 * org/omg/CORBA/TRANSACTION_MODE.java, 6701 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java: New exceptions. 6702 67032005-10-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6704 6705 * javax/rmi/CORBA/ValueHandlerMultiFormat.java: New interface. 6706 * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java 6707 (getMaximumStreamFormatVersion, writeValue): New methods. 6708 67092005-10-22 Mark Wielaard <mark@klomp.org> 6710 6711 * java/net/URLClassloader.java (addURLs): Add comment about jboss. 6712 67132005-10-21 Lillian Angel <langel@redhat.com> 6714 6715 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java 6716 (BasicCheckBoxMenuItem): Implemented. 6717 (installDefaults): Removed method, not in API. 6718 (processMouseEvent): Implemented. 6719 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java 6720 (processMouseEvent): Implemented. 6721 67222005-10-21 Christian Thalinger <twisti@complang.tuwien.ac.at> 6723 6724 * configure.ac: Also check for pangoft2 without cairo and 6725 additionally check for freetype2. 6726 * native/jni/gtk-peer/Makefile.am: Added X, pangoft2 and 6727 freetype2 CFLAGS and LDFLAGS. 6728 67292005-10-21 Nicolas Geoffray <nicolas.geoffray@menlina.com> 6730 6731 * vm/reference/java/lang/VMClassLoader.java 6732 (getResources): uses a new static field HashMap to 6733 store opened zip files from property java.boot.class.path. 6734 67352005-10-21 Nicolas Geoffray <nicolas.geoffray@menlina.com> 6736 6737 * vm/reference/java/lang/VMClassLoader.java 6738 (getRessources): In case the property java.boot.class.path 6739 contains directories, tests if the ressource exists before adding 6740 it to the vector result. 6741 67422005-10-21 Lillian Angel <langel@redhat.com> 6743 6744 * javax/swing/plaf/basic/BasicRadioButtonUI.java 6745 (paint): Only paint focus if enabled. 6746 67472005-10-21 David Daney <ddaney@avtrex.com> 6748 6749 * NEWS: Added entry about HttpURLConnection improvements. 6750 67512005-10-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6752 6753 * gnu/CORBA/DefaultSocketFactory.java, 6754 * gnu/CORBA/interfaces/gnuSocketFactory.java, 6755 * gnu/CORBA/interfaces/package.html: New files. 6756 * gnu/CORBA/Functional_ORB.java, 6757 * gnu/CORBA/Focused_ORB.java (getPortServer), 6758 * gnu/CORBA/GIOP/ErrorMessage.java (send), 6759 * gnu/CORBA/gnuRequest.java (submit): Rewritten to support 6760 gnu.Corba.SocketFactory property. 6761 * org/omg/CORBA/ORB.java: Documentation update. 6762 67632005-10-21 Lillian Angel <langel@redhat.com> 6764 6765 * javax/swing/JPopupMenu.java 6766 (show): Fixed to set the size if it was never set. 6767 * javax/swing/plaf/basic/BasicMenuUI.java 6768 (menuDeselected): Added check to prevent NPE. 6769 * javax/swing/plaf/basic/BasicSeparatorUI.java: 6770 Removed minSize, horizontalPrefSize, verticalPrefSize and 6771 maxSize fields. They were causing problems when other classes 6772 were setting this variables to something else. More reliable if 6773 actual value is returned. 6774 (getPreferredSize): Returned appropriate values. 6775 (getMinimumSize): Likewise. 6776 (getMaximumSize): Likewise. 6777 67782005-10-21 Jeroen Frijters <jeroen@frijters.net> 6779 6780 * java/lang/reflect/Proxy.java 6781 (ProxyType.ProxyType): Don't replace null with system class loader. 6782 (ProxyType.hashCode): Handle null loader. 6783 67842005-10-20 Anthony Balkissoon <abalkiss@redhat.com> 6785 6786 * javax/swing/DefaultListSelectionModel.java: 6787 (setLeadSelectionIndex): If the selection mode is SINGLE_SELECTION then 6788 pass this call to setSelectionInterval. 6789 (addSelectionInterval): If the selection mode is SINGLE_SELECTION then 6790 pass the call to setSelectionInterval and avoid the lengthy checks 6791 that don't apply to this mode. 6792 * javax/swing/JList.java: 6793 (getSelectedIndices): Changed bounds of for loop to include the 6794 maxSelectionIndex. 6795 67962005-10-20 Lillian Angel <langel@redhat.com> 6797 6798 * examples/gnu/classpath/examples/swing/Demo.java 6799 (mkRadio): Changed to create a panel that contains 6800 2 buttons in a ButtonGroup. 6801 * javax/swing/ButtonGroup.java 6802 (add): Fixed to initialize sel if the newly added 6803 button is already selected. 6804 * javax/swing/JToggleButton.java 6805 (isSelected): Implemented. 6806 (setSelected): Implemented. 6807 * javax/swing/plaf/metal/MetalRadioButtonUI.java 6808 (paintFocus): Fixed size of border drawn around the 6809 radio button. 6810 68112005-10-20 Anthony Balkissoon <abalkiss@redhat.com> 6812 6813 * java/awt/ScrollPaneAdjustable.java: 6814 (addAdjustmentListener): If parameter is null take no action and throw 6815 no exception. Store the resulting listener chain from call to 6816 AWTEventMulticaster.add. 6817 (removeAdjustmentListener): If parameter is null take no action and 6818 throw no exception. Store the resulting listener chain from call to 6819 AWTEventMulticaster.remove. 6820 68212005-10-20 Anthony Balkissoon <abalkiss@redhat.com> 6822 6823 * javax/swing/LookAndFeel.java: 6824 (loadKeyBindings): Implemented and added docs. 6825 (makeComponentInputMap): Likewise. 6826 (makeInputMap): Likewise. 6827 (makeKeyBindings): Likewise. 6828 * javax/swing/plaf/basic/BasicListUI.java: 6829 (convertModifiers): Removed this no longer needed private method. 6830 (installKeyboardActions): Removed the code relating to modifier 6831 conversion and made code more readable by using local variables. 6832 * javax/swing/plaf/basic/BasicTableUI.java: 6833 (convertModifiers): Removed this no longer needed private method. 6834 (installKeyboardActions): Removed the code relating to modifier 6835 conversion and made code more readbale by using local variables. 6836 68372005-10-20 Lillian Angel <langel@redhat.com> 6838 6839 * javax/swing/plaf/basic/BasicMenuItemUI.java: 6840 Added new ItemListener field. 6841 (BasicMenuItemUI): Initialized new field. 6842 (installListeners): Installed new listener. 6843 (removeListeners): Removed new listener. 6844 (MenuDragMouseHandler): Class should be private, not 6845 in API. 6846 (MenuKeyHandler): Likewise. 6847 (PropertyChangeHandler): Likewise. 6848 (ItemHandler): New class implemented to change the 6849 state of the menu item if it is a checkbox menu item. 6850 68512005-10-20 Roman Kennke <kennke@aicas.com> 6852 6853 * javax/swing/text/BoxView.java 6854 (layoutMinorAxis): Calculate total requirements before calling 6855 the SizeRequirements utility method. Avoids an NPE. 6856 68572005-10-20 David Gilbert <david.gilbert@object-refinery.com> 6858 6859 * javax/swing/plaf/basic/BasicArrowButton.java: Updated API docs all 6860 over, plus: 6861 (defaultSize): removed field, 6862 (upIcon): removed field, 6863 (downIcon): removed field, 6864 (leftIcon): removed field, 6865 (rightIcon): removed field, 6866 (darkShadow): changed color value, 6867 (paint): ignore insets for triangle positioning, but check 'armed' 6868 state, 6869 (paintTriangle): delegate to new private methods depending on 6870 direction, 6871 (paintTriangleNorth): new private method, 6872 (paintTriangleSouth): new private method, 6873 (paintTriangleEast): new private method, 6874 (paintTriangleWest): new private method. 6875 68762005-10-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6877 6878 * org/ietf/jgss/GSSCredential.java (hashCode), 6879 * org/ietf/jgss/GSSName.java (hashCode): New declarations. 6880 68812005-10-19 Mark Wielaard <mark@klomp.org> 6882 6883 * java/net/URLClassLoader.java (addURLs): Don't call addURL(), but 6884 call urls.add() and addURLImpl() directly on each URL. 6885 68862005-10-19 Andreas Tobler <a.tobler@schweiz.ch> 6887 6888 * javax/swing/text/html/HTMLEditorKit.java: Add missing import. 6889 68902005-10-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6891 6892 * javax/swing/text/html/HTMLEditorKit.java (getParser): New method. 6893 68942005-10-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> 6895 6896 * javax/swing/text/html/parser/ContentModel.java: Fixed comments for 6897 parameterless constructor. 6898 68992005-10-19 Roman Kennke <kennke@aicas.com> 6900 6901 * javax/swing/JComponent.java 6902 (getDebugGraphicsOptions): Removed debug output. 6903 69042005-10-19 Roman Kennke <kennke@aicas.com> 6905 6906 * java/awt/Component.java 6907 (isShowing): Fixed condition. 6908 (show): Only repaint if component is showing. 6909 (hide): Only repaint if component was showing. 6910 69112005-10-19 Mark Wielaard <mark@klomp.org> 6912 6913 * javax/security/auth/login/LoginContext.java (lookupModule): 6914 Load LoginModule through Thread context class loader. 6915 69162005-10-19 Mark Wielaard <mark@klomp.org> 6917 6918 * java/net/Socket.java (getImpl): Chain exception before throwing. 6919 69202005-10-19 Roman Kennke <kennke@aicas.com> 6921 6922 * javax/swing/AbstractSpinnerModel.java 6923 * javax/swing/ActionMap.java 6924 * javax/swing/BoundedRangeModel.java 6925 * javax/swing/Box.java 6926 * javax/swing/BoxLayout.java 6927 * javax/swing/ButtonGroup.java 6928 * javax/swing/CellEditor.java 6929 * javax/swing/CellRendererPane.java 6930 * javax/swing/ComboBoxEditor.java 6931 * javax/swing/DefaultButtonModel.java 6932 * javax/swing/DefaultCellEditor.java 6933 * javax/swing/DefaultDesktopManager.java 6934 * javax/swing/DefaultListCellRenderer.java 6935 * javax/swing/DesktopManager.java 6936 * javax/swing/ImageIcon.java 6937 * javax/swing/InputVerifier.java 6938 * javax/swing/JCheckBoxMenuItem.java 6939 * javax/swing/JColorChooser.java 6940 * javax/swing/JDesktopPane.java 6941 * javax/swing/JFileChooser.java 6942 * javax/swing/JLayeredPane.java 6943 * javax/swing/JList.java 6944 * javax/swing/JMenu.java 6945 * javax/swing/JMenuBar.java 6946 * javax/swing/JMenuItem.java 6947 * javax/swing/JOptionPane.java 6948 * javax/swing/JPasswordField.java 6949 * javax/swing/JPopupMenu.java 6950 * javax/swing/JProgressBar.java 6951 * javax/swing/JRadioButtonMenuItem.java 6952 * javax/swing/JRootPane.java 6953 * javax/swing/JSeparator.java 6954 * javax/swing/JSlider.java 6955 * javax/swing/JSpinner.java 6956 * javax/swing/JSplitPane.java 6957 * javax/swing/JTabbedPane.java 6958 * javax/swing/JTable.java 6959 * javax/swing/JTextPane.java 6960 * javax/swing/JToolBar.java 6961 * javax/swing/JToolTip.java 6962 * javax/swing/JTree.java 6963 * javax/swing/KeyStroke.java 6964 * javax/swing/LookAndFeel.java 6965 * javax/swing/MutableComboBoxModel.java 6966 * javax/swing/Popup.java 6967 * javax/swing/PopupFactory.java 6968 * javax/swing/RepaintManager.java 6969 * javax/swing/SortingFocusTraversalPolicy.java 6970 * javax/swing/Spring.java 6971 * javax/swing/SwingUtilities.java 6972 * javax/swing/ToolTipManager.java 6973 * javax/swing/TransferHandler.java 6974 * javax/swing/ViewportLayout.java 6975 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 6976 slight API doc errors. Removed some unneeded imports. Removed 6977 unneeded serialization methods. 6978 69792005-10-19 Roman Kennke <kennke@aicas.com> 6980 6981 * javax/swing/OverlayLayout.java 6982 (checkLayout): Respect the container's insets correctly. 6983 69842005-10-19 Roman Kennke <kennke@aicas.com> 6985 6986 * javax/swing/JLabel.java 6987 (setText): Call revalidate() and repaint(). 6988 69892005-10-19 Roman Kennke <kennke@aicas.com> 6990 6991 * javax/swing/JEditorPane.java 6992 Added comments to empty blocks. 6993 (read): Implemented this previously stubbed method. 6994 69952005-10-19 Roman Kennke <kennke@aicas.com> 6996 6997 * javax/swing/JComboBox.java 6998 Added comments to empty blocks. 6999 (writeObject): Removed unnecessary serialization method. 7000 (processKeyEvent): Implemented this previously stubbed method. 7001 70022005-10-19 Roman Kennke <kennke@aicas.com> 7003 7004 * javax/swing/JButton.java 7005 (removeNotify): Implemented this previously stubbed method. 7006 70072005-10-19 Roman Kennke <kennke@aicas.com> 7008 7009 * javax/swing/undo/CannotRedoException.java 7010 * javax/swing/undo/CannotUndoException.java 7011 Put super() call in empty constructors. 7012 70132005-10-19 Roman Kennke <kennke@aicas.com> 7014 7015 * javax/swing/tree/DefaultMutableTreeNode.java 7016 * javax/swing/tree/DefaultTreeCellEditor.java 7017 * javax/swing/tree/TreeCellRenderer.java 7018 * javax/swing/tree/TreeModel.java 7019 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 7020 slight API doc errors. Removed some unneeded imports. 7021 70222005-10-19 Roman Kennke <kennke@aicas.com> 7023 7024 * javax/swing/text/AbstractDocument.java 7025 * javax/swing/text/AttributeSet.java 7026 * javax/swing/text/ComponentView.java 7027 * javax/swing/text/DefaultCaret.java 7028 * javax/swing/text/DefaultEditorKit.java 7029 * javax/swing/text/DefaultHighlighter.java 7030 * javax/swing/text/EditorKit.java 7031 * javax/swing/text/FieldView.java 7032 * javax/swing/text/FlowView.java 7033 * javax/swing/text/GlyphView.java 7034 * javax/swing/text/JTextComponent.java 7035 * javax/swing/text/LayoutQueue.java 7036 * javax/swing/text/PlainView.java 7037 * javax/swing/text/Segment.java 7038 * javax/swing/text/StyledDocument.java 7039 * javax/swing/text/html/HTMLEditorKit.java 7040 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java 7041 * javax/swing/text/html/parser/DocumentParser.java 7042 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 7043 slight API doc errors. Removed some unneeded imports. 7044 70452005-10-19 David Gilbert <david.gilbert@object-refinery.com> 7046 7047 * javax/swing/plaf/basic/BasicArrowButton.java 7048 (buttonBorder): removed, 7049 (BasicArrowButton): don't set border, use default border, 7050 * javax/swing/plaf/basic/BasicComboBoxUI.java 7051 (configureArrowButton): don't set margin here, 7052 (getPreferredSize): added comment, 7053 (getMinimumSize): icon width is the same as the display area height, 7054 (getDefaultSize): return size of space char plus 1 pixel margin, 7055 (getDisplaySize): take into account the prototype display value, if 7056 there is one, 7057 * javax/swing/plaf/basic/BasicLookAndFeel.java 7058 (initComponentDefaults): updated 'Button.margin' default, 7059 * javax/swing/plaf/metal/MetalComboBoxButton.java 7060 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, 7061 JList)): check for null JComboBox, don't set margin here, 7062 * javax/swing/plaf/metal/MetalComboBoxUI.java 7063 (createArrowButton): set margin, 7064 (getMinimumSize): reimplemented, 7065 * javax/swing/plaf/metal/MetalLookAndFeel.java 7066 (initComponentDefaults): changed 'Button.margin' default to from Insets 7067 to InsetsUIResource. 7068 70692005-10-19 Roman Kennke <kennke@aicas.com> 7070 7071 * javax/swing/text/html/HTML.java 7072 * javax/swing/text/html/HTMLDocument.java 7073 Filled emtpy blocks with comments. 7074 70752005-10-19 Roman Kennke <kennke@aicas.com> 7076 7077 * javax/swing/text/html/parser/ContentModel.java 7078 * javax/swing/text/html/parser/DTD.java 7079 * javax/swing/text/html/parser/DocumentParser.java 7080 * javax/swing/text/html/parser/Element.java 7081 * javax/swing/text/html/parser/Parser.java 7082 Filled emtpy blocks with comments. 7083 70842005-10-19 Roman Kennke <kennke@aicas.com> 7085 7086 * javax/swing/table/TableColumnModel.java: 7087 Fixed some minor API doc errors. 7088 70892005-10-19 Roman Kennke <kennke@aicas.com> 7090 7091 * javax/swing/plaf/ActionMapUIResource.java 7092 * javax/swing/plaf/BorderUIResource.java 7093 * javax/swing/plaf/ButtonUI.java 7094 * javax/swing/plaf/ColorChooserUI.java 7095 * javax/swing/plaf/ColorUIResource.java 7096 * javax/swing/plaf/ComboBoxUI.java 7097 * javax/swing/plaf/ComponentInputMapUIResource.java 7098 * javax/swing/plaf/DesktopIconUI.java 7099 * javax/swing/plaf/DesktopPaneUI.java 7100 * javax/swing/plaf/DimensionUIResource.java 7101 * javax/swing/plaf/FileChooserUI.java 7102 * javax/swing/plaf/FontUIResource.java 7103 * javax/swing/plaf/IconUIResource.java 7104 * javax/swing/plaf/InputMapUIResource.java 7105 * javax/swing/plaf/InsetsUIResource.java 7106 * javax/swing/plaf/InternalFrameUI.java 7107 * javax/swing/plaf/LabelUI.java 7108 * javax/swing/plaf/ListUI.java 7109 * javax/swing/plaf/MenuBarUI.java 7110 * javax/swing/plaf/MenuItemUI.java 7111 * javax/swing/plaf/PanelUI.java 7112 * javax/swing/plaf/PopupMenuUI.java 7113 * javax/swing/plaf/ProgressBarUI.java 7114 * javax/swing/plaf/RootPaneUI.java 7115 * javax/swing/plaf/ScrollBarUI.java 7116 * javax/swing/plaf/ScrollPaneUI.java 7117 * javax/swing/plaf/SeparatorUI.java 7118 * javax/swing/plaf/SliderUI.java 7119 * javax/swing/plaf/SpinnerUI.java 7120 * javax/swing/plaf/SplitPaneUI.java 7121 * javax/swing/plaf/TabbedPaneUI.java 7122 * javax/swing/plaf/TableHeaderUI.java 7123 * javax/swing/plaf/TableUI.java 7124 * javax/swing/plaf/TextUI.java 7125 * javax/swing/plaf/ToolBarUI.java 7126 * javax/swing/plaf/ToolTipUI.java 7127 * javax/swing/plaf/TreeUI.java 7128 * javax/swing/plaf/UIResource.java 7129 * javax/swing/plaf/ViewportUI.java 7130 Reformatted slightly. Filled emtpy blocks with comments. 7131 71322005-10-19 Roman Kennke <kennke@aicas.com> 7133 7134 * javax/swing/plaf/ComponentUI.java 7135 Filled empty blocks with comments. 7136 (update): Reverted my patch from 2005-10-12. This is wrong. If there 7137 are still clipping problems, then certainly in another area. 7138 71392005-10-19 Roman Kennke <kennke@aicas.com> 7140 7141 * javax/swing/plaf/multi/MultiLookAndFeel.java 7142 Filled empty block with comment. 7143 71442005-10-19 Roman Kennke <kennke@aicas.com> 7145 7146 * javax/swing/plaf/metal/MetalBorders.java 7147 * javax/swing/plaf/metal/MetalButtonListener.java 7148 * javax/swing/plaf/metal/MetalComboBoxEditor.java 7149 * javax/swing/plaf/metal/MetalComboBoxUI.java 7150 * javax/swing/plaf/metal/MetalFileChooserUI.java 7151 * javax/swing/plaf/metal/MetalIconFactory.java 7152 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 7153 * javax/swing/plaf/metal/MetalProgressBarUI.java 7154 * javax/swing/plaf/metal/MetalScrollBarUI.java 7155 * javax/swing/plaf/metal/MetalSliderUI.java 7156 * javax/swing/plaf/metal/MetalSplitPaneUI.java 7157 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 7158 * javax/swing/plaf/metal/MetalTextFieldUI.java 7159 * javax/swing/plaf/metal/MetalToolBarUI.java 7160 * javax/swing/plaf/metal/MetalTreeUI.java 7161 * javax/swing/plaf/metal/MetalUtils.java: 7162 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 7163 slight API doc errors. Removed some unneeded imports. 7164 71652005-10-19 Roman Kennke <kennke@aicas.com> 7166 7167 * javax/swing/JComponent.java 7168 (getDebugGraphicsOptions): Fixed to load system property if present. 7169 71702005-10-19 Roman Kennke <kennke@aicas.com> 7171 7172 * javax/swing/DebugGraphics.java 7173 (counter): New field. 7174 (color): Removed unneeded field. 7175 (DebugGraphics()): Count up. 7176 (DebugGraphics(Graphics,JComponent)): Call this(Graphics). 7177 (DebugGraphics(Graphics)): Call this(). 7178 (setColor): Implemented logging facility. 7179 (create): Copy debugOptions over to new DebugGraphics instance. 7180 (create(int,int,int,int)): Likewise. 7181 (setFont): Implemented logging facility. 7182 (getColor): Return graphics.getColor(). 7183 (translate): Implemented logging facility. 7184 (setPaintMode): Likewise. 7185 (setXORMode): Likewise. 7186 (clipRect): Likewise. 7187 (setClip(int,int,int,int)): Likewise. 7188 (setClip(Shape)): Likewise. 7189 (drawRect): Likewise. Only flash when FLASH_OPTION is set. 7190 (fillRect): Likewise. 7191 (clearRect): Implemented logging facility. 7192 (drawRoundRect): Likewise. 7193 (fillRoundRect): Likewise. 7194 (drawLine): Likewise. 7195 (draw3DRect): Likewise. 7196 (fill3DRect): Likewise. 7197 (drawOval): Likewise. 7198 (fillOval): Likewise. 7199 (drawArc): Likewise. 7200 (fillArc): Likewise. 7201 (drawPolyline): Likewise. 7202 (drawPolygon): Likewise. 7203 (fillPolygon): Likewise. 7204 (drawString(String,int,int)): Likewise. 7205 (drawString(AttributedCharacterIterator,int,int)): Likewise. 7206 (drawByted): Likewise. 7207 (drawChars): Likewise. Only flash if FLASH_OPTION is set. 7208 (drawImage): Implemented logging facility. (Also applies to all 7209 overloaded versions of this method). 7210 (copyArea): Likewise. 7211 (setDebugOptions): Likewise. 7212 (prefix): New helper method. 7213 * javax/swing/JComponent.java 7214 (getComponentGraphics): Implemented to return DebugGraphics when 7215 needed. 7216 (getDebugGraphicsOptions): Implemented to return the correct options. 7217 Also, this loads a system property gnu.javax.swing.DebugGraphics 7218 if present and evaluates it. 7219 72202005-10-19 Lillian Angel <langel@redhat.com> 7221 7222 * javax/swing/JList.java 7223 (getAccessibleContext): Returned an instance of 7224 AccessibleJList. Should never return null. 7225 72262005-10-19 Lillian Angel <langel@redhat.com> 7227 7228 * javax/swing/plaf/basic/BasicTreeUI.java: 7229 Added MouseListener and removed MouseInputListener. 7230 (BasicTreeUI): Initialized mouseListener and removed 7231 mouseInputListener. 7232 (removeListeners): Removed mouseListener and removed 7233 mouseInputListener code. 7234 (installListeners): Likewise. 7235 (MouseInputHandler.mousePressed): Moved code to MouseHandler. 7236 (MouseHandler.mousePressed): Likewise. 7237 * javax/swing/plaf/metal/MetalTreeUI.java: 7238 Added MouseListener and removed MouseInputListener. 7239 (installUI): Initialized mouseListener and removed 7240 mouseInputListener. 7241 (uninstallUI): Removed mouseListener and removed 7242 mouseInputListener code. 7243 72442005-10-19 Roman Kennke <kennke@aicas.com> 7245 7246 * javax/swing/plaf/basic/BasicBorders.java 7247 * javax/swing/plaf/basic/BasicButtonListener.java 7248 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java 7249 * javax/swing/plaf/basic/BasicComboBoxEditor.java 7250 * javax/swing/plaf/basic/BasicComboBoxRenderer.java 7251 * javax/swing/plaf/basic/BasicDesktopIconUI.java 7252 * javax/swing/plaf/basic/BasicDesktopPaneUI.java 7253 * javax/swing/plaf/basic/BasicFileChooserUI.java 7254 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java 7255 * javax/swing/plaf/basic/BasicGraphicsUtils.java 7256 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 7257 * javax/swing/plaf/basic/BasicInternalFrameUI.java 7258 * javax/swing/plaf/basic/BasicLabelUI.java 7259 * javax/swing/plaf/basic/BasicListUI.java 7260 * javax/swing/plaf/basic/BasicMenuBarUI.java 7261 * javax/swing/plaf/basic/BasicMenuItemUI.java 7262 * javax/swing/plaf/basic/BasicMenuUI.java 7263 * javax/swing/plaf/basic/BasicOptionPaneUI.java 7264 * javax/swing/plaf/basic/BasicPasswordFieldUI.java 7265 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java 7266 * javax/swing/plaf/basic/BasicRootPaneUI.java 7267 * javax/swing/plaf/basic/BasicScrollPaneUI.java 7268 * javax/swing/plaf/basic/BasicSplitPaneDivider.java 7269 * javax/swing/plaf/basic/BasicSplitPaneUI.java 7270 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 7271 * javax/swing/plaf/basic/BasicTableHeaderUI.java 7272 * javax/swing/plaf/basic/BasicTableUI.java 7273 * javax/swing/plaf/basic/BasicTextAreaUI.java 7274 * javax/swing/plaf/basic/BasicTextUI.java 7275 * javax/swing/plaf/basic/BasicToolBarUI.java 7276 * javax/swing/plaf/basic/BasicToolTipUI.java 7277 * javax/swing/plaf/basic/BasicTreeUI.java 7278 * javax/swing/plaf/basic/BasicViewportUI.java: 7279 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 7280 slight API doc errors. 7281 72822005-10-18 Roman Kennke <kennke@aicas.com> 7283 7284 * javax/swing/filechooser/FileFilter.java: 7285 * javax/swing/filechooser/FileView.java: 7286 Filled empty blocks with comments. 7287 72882005-10-18 Roman Kennke <kennke@aicas.com> 7289 7290 * javax/swing/event/EventListenerList.java: 7291 * javax/swing/event/InternalFrameAdapter.java: 7292 * javax/swing/event/MouseInputListener.java: 7293 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 7294 slight API doc errors 7295 72962005-10-18 Roman Kennke <kennke@aicas.com> 7297 7298 * javax/swing/colorchooser/AbstractColorChooserPanel.java: 7299 * javax/swing/colorchooser/ColorChooserComponentFactory.java: 7300 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java: 7301 Filled empty blocks with comments. 7302 73032005-10-18 Roman Kennke <kennke@aicas.com> 7304 7305 * javax/swing/border/AbstractBorder.java: 7306 * javax/swing/border/BevelBorder.java: 7307 * javax/swing/border/Border.java: 7308 * javax/swing/border/CompoundBorder.java: 7309 * javax/swing/border/EmptyBorder.java: 7310 * javax/swing/border/EtchedBorder.java: 7311 * javax/swing/border/LineBorder.java: 7312 * javax/swing/border/MatteBorder.java: 7313 * javax/swing/border/SoftBevelBorder.java: 7314 * javax/swing/border/TitledBorder.java: 7315 Reformatted slightly. Filled emtpy blocks with comments. Fixed some 7316 slight API doc errors 7317 73182005-10-18 Lillian Angel <langel@redhat.com> 7319 7320 * java/awt/GridBagLayout.java 7321 (GetLayoutInfo): Added a null check for lastComponent. Prevents 7322 NPE. 7323 73242005-10-18 Lillian Angel <langel@redhat.com> 7325 7326 * javax/swing/JTable.java 7327 (JTable): Moved code around so all models are set before 7328 any other function is called. Prevents all NPEs with 7329 models. 7330 73312005-10-18 Anthony Balkissoon <abalkiss@redhat.com> 7332 7333 * javax/swing/DefaultListSelectionModel.java: 7334 (setLeadSelectionIndex): Avoid index out of bounds error on initial 7335 call of this method by checking explicitly for oldLeadIndex being -1. 7336 Also remove unused BitSet newRange and oldRange. 7337 (moveLeadSelectionIndex): New API method implemented (@since 1.5). 7338 * javax/swing/plaf/basic/BasicListUI.java: 7339 (ListAction.actionPerformed): Make code more readable by declaring 7340 local variables for the actionCommand and for the list's 7341 selectionModel. Implemented the following bindings: 7342 selectLastRowChangeLead, scrollDownChangeLead, scrollUpChangeLead, 7343 selectFirstRowChangeLead, selectNextRowChangeLead, 7344 selectPreviousRowChangeLead, addToSelection, toggleAndAnchor, 7345 extendTo. 7346 (MouseInputHandler.mousePressed): Made code more readable by removing 7347 unnecessary full qualification from variable 'list'. Change 7348 behaviour of shift-click based on whether or not the anchor index is 7349 selected. 7350 * javax/swing/plaf/basic/BasicLookAndFeel.java: 7351 (initComponentDefaults): Added remaining bindings for 7352 Table.ancestorMap. 7353 * javax/swing/plaf/basic/BasicTableUI.java: 7354 (TableAction.actionPerformed): Made type of variables rowModel and 7355 colModel more specific to avoid many casts later on (makes code more 7356 readable). Also declare local variable to store the action command to 7357 make the code more readable. Implemented the following bindings: 7358 selectNextRowChangeLead, selectPreviousRowChangeLead, 7359 selectNextColumnChangeLead, selectPreviousColumnChangeLead, 7360 addToSelection, extendTo, toggleAndAnchor. Added commented-out debug 7361 statement to print unimplemented bindings when used. Added check for 7362 the SPACE character to make sure it doesn't stop editing. 7363 73642005-10-18 Lillian Angel <langel@redhat.com> 7365 7366 * javax/swing/plaf/basic/BasicTreeUI.java: 7367 Removed leafIcon field. 7368 (BasicTreeUI): Removed leafIcon initialization. 7369 (installDefaults): Icon defaults were wrong, fixed. 7370 (isLocationInExpandControl): Fixed to incorporated gap. 7371 (mousePressed): Fixed to include correct icon widths. Sometimes 7372 the labels icon is different from what the tree's default icon is 7373 set to. Added a check for this. 7374 (getCellBounds): No need to include gap here. 7375 (getCurrentControlIcon): Fixed to use expandedIcon and collapsedIcon. 7376 (paintRow): No need paint beyond preferred width of tree here. 7377 (updateCurrentVisiblePath): If nothing is selected, the root should 7378 be selected without focus. 7379 * javax/swing/plaf/metal/MetalTreeUI.java 7380 (installDefaults): Fixed defaults for the expanded/collapsed icons. 7381 73822005-10-18 David Gilbert <david.gilbert@object-refinery.com> 7383 7384 * javax/swing/JComboBox.java 7385 (setModel): update the selectedItemReminder field, 7386 (selectedItemChanged): only send ItemEvent.SELECTED event if the new 7387 selection is non-null. 7388 73892005-10-18 David Gilbert <david.gilbert@object-refinery.com> 7390 7391 * javax/swing/plaf/basic/BasicComboBoxUI.java 7392 (installComponents): only set default editor if the current editor is 7393 null or implements UIResource, 7394 (uninstallComponents): only clear editor if it implements UIResource. 7395 73962005-10-18 Lillian Angel <langel@redhat.com> 7397 7398 * javax/swing/plaf/basic/BasicTextUI.java 7399 (installDefaults): Set the selected text color for the 7400 text component. 7401 74022005-10-18 Lillian Angel <langel@redhat.com> 7403 7404 * javax/swing/JTree.java 7405 (scrollPathToVisible): Reimplemented to make the path visible if its 7406 parent is not expanded. 7407 * javax/swing/plaf/basic/BasicTreeUI.java 7408 (installDefaults): Initialized row height for the tree. 7409 (updateCurrentVisiblePath): Updated the visible row count. 7410 * javax/swing/plaf/metal/MetalTreeUI.java 7411 (installUI): Initialized row height for the tree. 7412 74132005-10-18 David Gilbert <david.gilbert@object-refinery.com> 7414 7415 * javax/swing/plaf/metal/MetalComboBoxUI.java 7416 (editablePropertyChanged): handle null selected item. 7417 74182005-10-18 Roman Kennke <kennke@aicas.com> 7419 7420 * javax/swing/plaf/basic/BasicScrollBarUI.java 7421 (PropertyChangeHandler.propertyChange): Removed repaint call. 7422 74232005-10-18 Roman Kennke <kennke@aicas.com> 7424 7425 * javax/swing/AbstractButton.java 7426 Filled empty blocks with comments. 7427 (ButtonChangeListener.stateChanged): Moved implementation from 7428 inner class in createChangeListener to this protected class. 7429 (setEnabled): Do nothing if actual state does not change. 7430 (createChangeListener): Return instance of ButtonChangeListener 7431 here. 7432 74332005-10-18 David Gilbert <david.gilbert@object-refinery.com> 7434 7435 * javax/swing/plaf/basic/BasicComboBoxUI.java 7436 (buttonBackground): new field, 7437 (shadow): renamed buttonShadow, 7438 (darkShadow): renamed buttonDarkShadow, 7439 (highlight): renamed buttonHighlight, 7440 (installDefaults): initialise buttonBackground, plus updates for 7441 renamed fields, 7442 (uninstallDefaults): clear buttonBackground, plus updates for renamed 7443 fields, 7444 (createEditor): return subclass that implements UIResource, 7445 (createArrowButton): use constructor that accepts colors, 7446 (getMaximumSize): fix API doc error, 7447 * javax/swing/plaf/basic/BasicLookAndFeel.java 7448 (initComponentDefaults): correct 'ComboBox.buttonDarkShadow' default. 7449 74502005-10-18 Roman Kennke <kennke@aicas.com> 7451 7452 * javax/swing/JViewport.java 7453 (setView): Added repaint() call. 7454 (revalidate): Removed unnecessary and unspecified method. 7455 (reshape): Fire stateChanged if only the size changes. Do not fire 7456 stateChanged if only the location changes. 7457 (scrollRectToVisible): Reworked most of this method to correctly 7458 determine the scroll offsets. Added validation of view as specified. 7459 74602005-10-18 Roman Kennke <kennke@aicas.com> 7461 7462 * javax/swing/ScrollPaneLayout.java 7463 (preferredLayoutSize): Removed check for JScrollPane argument. 7464 Added code to respect the insets of the JScrollPane. 7465 (minimumLayoutSize): Likewise. 7466 (layoutContainer): Removed check for JScrollPane argument. 7467 74682005-10-18 Jeroen Frijters <jeroen@frijters.net> 7469 7470 * java/io/ObjectInputStream.java 7471 (parseContent): Removed bogus println and fixed bug #24422. 7472 74732005-10-17 Lillian Angel <langel@redhat.com> 7474 7475 * javax/swing/plaf/basic/BasicSplitPaneUI.java 7476 (setDividerLocation): Added a check for the size 7477 of the splitpane, in some cases the divider's 7478 initial location was being set to 0. 7479 74802005-10-17 Anthony Balkissoon <abalkiss@redhat.com> 7481 7482 * javax/swing/JViewport.java: 7483 (scrollRectToVisible): Return immediately if the View is null. Check 7484 for contentRect being bigger than the port bounds separately in each 7485 direction, rather than together. 7486 * javax/swing/plaf/basic/BasicListUI.java: 7487 (KeyHandler): Removed this private class that listened directly for 7488 key presses. This is now handled through InputMap-ActionMap pairs. 7489 (ActionListenerProxy): New class to wrap the Actions for this lists 7490 ActionMap. 7491 (ListAction): New class, the actions for keypresses on this list. 7492 (convertModifiers): New private method converts key press modifiers to 7493 the old style (CTRL_MASK instead of CTRL_DOWN_MASK, etc.). 7494 (installKeyboardActions): Get the InputMap from the UIManager and 7495 register new InputMap-ActionMap pairs, then set these as the parents 7496 of the list's InputMap and ActionMap. 7497 (selectNextIndex): Avoid NPE by checking if we're already at the last 7498 index. 7499 (selectPreviousIndex): Check if we're already at the first index. 7500 * javax/swing/plaf/basic/BasicLookAndFeel.java: 7501 (initComponentDefaults): Added bindings for List.focusInputMap. 7502 75032005-10-17 Lillian Angel <langel@redhat.com> 7504 7505 * javax/swing/plaf/basic/BasicTreeUI.java 7506 (installUI): Moved call to installKeyboardActions and Listeners 7507 to before expansion of root. 7508 (paint): Added check to make sure the cached visible path is updated. 7509 (treeExpanded): Added call to update visible path. 7510 (treeCollapsed): Likewise. 7511 (treeNodesChanged): Likewise. 7512 (treeNodesInserted): Likewise. 7513 (treeNodesRemoved): Likewise. 7514 (treeStructureChanged): Likewise. 7515 (paintRecursive): Moved code to paintRow. 7516 (paintControlIcons): Fixed to paint custom control icons properly. 7517 (paintExpandControl): Removed unneeded parameter. 7518 (paintRow): Added code to paint the row with the correct width. 7519 * javax/swing/plaf/metal/MetalTreeUI.java 7520 (installUI): Moved code to expand the root after all the listeners 7521 have been initialized. 7522 75232005-10-17 David Gilbert <david.gilbert@object-refinery.com> 7524 7525 * javax/swing/plaf/basic/BasicComboBoxUI.java 7526 (ItemHandler.itemStateChanged): if combo box is editable, update edit 7527 text field with new selection. 7528 75292005-10-17 David Gilbert <david.gilbert@object-refinery.com> 7530 7531 * javax/swing/event/ListDataListener: 7532 reformatted and added API docs. 7533 75342005-10-17 Roman Kennke <kennke@aicas.com> 7535 7536 * javax/swing/JPopupMenu.java 7537 (setVisible): Set size according to the size property instead of 7538 the preferredSize property. 7539 * javax/swing/plaf/basic/BasicComboPopup.java 7540 (ListMouseHandler.mouseReleased): Set comboBox selected index before 7541 closing the popup. 7542 75432005-10-17 Roman Kennke <kennke@aicas.com> 7544 7545 * javax/swing/table/DefaultTableCellRenderer.java 7546 (getTableCellRendererComponent): Setup colors (more) correctly. 7547 * javax/swing/DefaultListSelectionModel.java 7548 (isSelectedIndex): Check for an illegal index argument. 7549 75502005-10-17 Roman Kennke <kennke@aicas.com> 7551 7552 * javax/swing/JComponent.java 7553 Filled empty blocks with comments. 7554 (setVisible): Notify AncestorListeners when visibility state is 7555 changed. 7556 (removeNotifiy): Notify AncestorListeners via fireAncestorEvent 7557 method. 7558 (addNotifiy): Notify AncestorListeners via fireAncestorEvent 7559 method. 7560 75612005-10-17 Roman Kennke <kennke@aicas.com> 7562 7563 * javax/swing/JViewport.java 7564 (setView): Removed unnecessary loop. We only have on component. 7565 (isOptimizedDrawingEnabled): Added comment explaining why this 7566 method is necessary. 7567 75682005-10-17 Roman Kennke <kennke@aicas.com> 7569 7570 * javax/swing/plaf/basic/BasicComboBoxUI.java 7571 Filled empty blocks with comments. 7572 (FocusHandler.focusLost): Close popup when the combobox loses focus. 7573 * javax/swing/plaf/basic/BasicComboPopup.java 7574 Filled empty blocks with comments. 7575 (updateListBoxSelectionForEvent): Implemented partly. 7576 (ListMouseHandler.mouseReleased): Call updateListBoxSelectionForEvent. 7577 (ListMouseMotionHandler.mouseReleased): Likewise. 7578 75792005-10-17 David Gilbert <david.gilbert@object-refinery.com> 7580 7581 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: 7582 (CustomCellRenderer): new inner class, 7583 (comboState6): new field, 7584 (combo11): new field, 7585 (combo12): new field, 7586 (createContent): add panel from createPanel6(), 7587 (createPanel6): new method, 7588 (actionPerformed): update state for new JComboBoxes, 7589 * javax/swing/plaf/basic/BasicComboBoxUI.java 7590 (installComponents): don't create arrowButton until after listBox is 7591 created, set listBox to the JList created by the popup, 7592 * javax/swing/plaf/metal/MetalComboBoxButton.java: 7593 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane, 7594 JList)): set margins to zero, 7595 (paintComponent): use list cell renderer to paint button content, 7596 * javax/swing/plaf/metal/MetalLookAndFeel.java 7597 (initComponentDefaults): add 'List.font' default. 7598 75992005-10-17 Andrew John Hughes <gnu_andrew@member.fsf.org> 7600 7601 * java/util/Properties.java: 7602 (storeToXML(OutputStream,String)): Implemented. 7603 (storeToXml(OutputStream,String,String)): Likewise. 7604 76052005-10-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> 7606 7607 * gnu/CORBA/Focused_ORB.java: New file. 7608 * gnu/CORBA/Functional_ORB.java, 7609 org/omg/CORBA/ORB.java: Adapted to support the 7610 gnu.CORBA.ListenerPort property. 7611 76122005-10-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 7613 7614 * java/awt/image/BufferedImage.java: 7615 (getSources()): Genericized. 7616 * java/awt/image/ImageFilter.java: 7617 (setProperties(Hashtable<?,?>)): Likewise. 7618 * java/awt/image/MemoryImageSource.java: 7619 (MemoryImageSource(int,int,int[],int,int,Hashtable<?,?>)): Likewise. 7620 * java/awt/image/PixelGrabber.java: 7621 (setProperties(Hashtable<?,?>)): Likewise. 7622 * java/awt/image/renderable/RenderableImageOp.java: 7623 (getSources()): Likewise. 7624 * java/beans/Beans.java: 7625 (getInstanceOf(Object,Class<?>)): Likewise. 7626 (isInstanceOf(Object,Class<?>)): Likewise. 7627 * java/beans/EventSetDescriptor.java: 7628 (EventSetDescriptor(Class<?>,String,Class<?>,String)): Likewise. 7629 (EventSetDescriptor(Class<?>,String,Class<?>,String[],String,String)): 7630 Likewise. 7631 (EventSetDescriptor(Class<?>,Method[],Method,Method)): Likewise. 7632 (EventSetDescriptor(String,Class<?>,MethodDescriptor,Method,Method)): 7633 Likewise. 7634 (getListenerType()): Likewise. 7635 * java/beans/FeatureDescriptor.java: 7636 (FeatureDescriptor()): Likewise. 7637 (attributeNames()): Likewise. 7638 * java/beans/IndexedPropertyDescriptor.java: 7639 (IndexedPropertyDescriptor(String,Class<?>)): Likewise. 7640 (IndexedPropertyDescriptor(String,Class<?>,String,String,String,String)): 7641 Likewise. 7642 (getIndexedPropertyType()): Likewise. 7643 * java/beans/Introspector.java: 7644 (getBeanInfo(Class<?>)): Likewise. 7645 (flushFromCaches(Class<?>)): Likewise. 7646 (getBeanInfo(Class<?>,Class<?>)): Likewise. 7647 * java/beans/PropertyDescriptor.java: 7648 (PropertyDescriptor(String,Class<?>)): Likewise. 7649 (getPropertyType()): Likewise. 7650 (getPropertyEditorClass()): Likewise. 7651 (setPropertyEditorClass(Class<?>)): Likewise. 7652 (checkMethods(Method,Method)): Likewise. 7653 * java/beans/PropertyEditorManager.java: 7654 (registerEditor(Class<?>,Class<?>)): Likewise. 7655 (getEditor(Class<?>)): Likewise. 7656 * java/io/ObjectInputStream.java: 7657 (resolveClass(ObjectStreamClass)): Likewise. 7658 * java/io/ObjectOutputStream.java: 7659 (annotateClass(Class<?>)): Likewise. 7660 (annotateProxyClass(Class<?>)): Likewise. 7661 * java/io/ObjectStreamClass.java: 7662 (lookup(Class<?>)): Likewise. 7663 (forClass()): Likewise. 7664 * java/io/ObjectStreamField.java: 7665 (ObjectStreamField(String,Class<?>)): Likewise. 7666 (ObjectStreamField(String,Class<?>,boolean)): Likewise. 7667 * java/net/NetworkInterface.java: 7668 (getInetAddresses()): Likewise. 7669 (getNetworkInterfaces()): Likewise. 7670 * java/net/URLClassLoader.java: 7671 (findClass(String)): Likewise. 7672 (findResources(String)): Likewise. 7673 * java/net/URLConnection.java: 7674 (getHeaderFields()): Likewise. 7675 (getRequestProperties()): Likewise. 7676 * javax/swing/text/TextAction.java: 7677 (augmentList(Action[],Action[])): Likewise. 7678 * javax/swing/text/html/HTML.java: 7679 (attrMap): Likewise. 7680 (tagMap): Likewise. 7681 * javax/swing/text/html/parser/DTD.java: 7682 (dtdHash): Likewise. 7683 (elementHash): Likewise. 7684 (entityHash): Likewise. 7685 (defineAttributes(String,AttributeList)): Likewise. 7686 (newElement(String)): Likewise. 7687 76882005-10-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> 7689 7690 * org/omg/CORBA/DynamicImplementation.java: Made concrete. 7691 (invoke): Implemented. 7692 gnu/CORBA/Simple_delegate.java (request): Implemented. 7693 76942005-10-14 Lillian Angel <langel@redhat.com> 7695 7696 * javax/swing/plaf/basic/BasicTreeUI.java 7697 (treeNodesChanged): Added call to revalidate and resize tree. 7698 * javax/swing/tree/DefaultTreeModel.java 7699 (insertNodeInto): Needed to set parent for new node. 7700 77012005-10-14 Robert Schuster <robertschuster@fsfe.org> 7702 7703 * java/net/URLStreamHandler.java: 7704 (toExternalForm): Use "//" + authority format when file part starts 7705 with two slashes. 7706 77072005-10-14 Roman Kennke <kennke@aicas.com> 7708 7709 * javax/swing/JComponent.java 7710 (paintLock): Removed unneeded field. 7711 (isCompletelyDirty): New field. 7712 (setBorder): Don't get active if actual value didn't change. 7713 Otherwise trigger a repaint. 7714 (paint): Mark this component as clean after painting when the clip 7715 covered the whole component. 7716 (paintImmediately): Find more sensible paint root via new helper 7717 methods. 7718 (paintDoubleBuffered): Don't synchronize here. 7719 (setFont): Don't get active if actual value didn't change. 7720 Otherwise trigger a repaint and revalidate. 7721 (setBackground): Don't get active if actual value didn't change. 7722 Otherwise trigger a repaint. 7723 (setForeground): Don't get active if actual value didn't change. 7724 Otherwise trigger a repaint. 7725 (setUI): Trigger a repaint. 7726 (findPaintRoot): New helper method. 7727 (findOverlapFreeParent): New helper method. 7728 (findOpaqueParent): New helper method. 7729 * javax/swing/RepaintManager.java 7730 (ComponentComparator): New inner class. Used to sort components 7731 according to their depth in the containment hierarchy. 7732 (dirtyComponents): Use HashMap instead of Hashtable. 7733 (workDirtyComponents): New field. 7734 (repaintOrder): New field. 7735 (workRepaintOrder): New field. 7736 (comparator): New field. 7737 (invalidComponents): Use ArrayList instead of Vector. 7738 (workInvalidComponents): New field. 7739 (RepaintManager): Initialize new fields. 7740 (removeInvalidComponent): Adjusted for ArrayList. 7741 (addDirtyRegion): Return if component in question is not showing. 7742 Insert the new component in the repaintOrder list. 7743 (insertRepaintOrder): New method. Maintains a sorted list of 7744 components. 7745 (getDirtyRegion): Return empty Rectangle instead of null when 7746 component is not dirty, as specified. 7747 (markCompletelyDirty): Set flag in JComponent. 7748 (markCompletelyClean): Synchronize access to fields. 7749 (isCompletelyDirty): Use flag in JComponent to determine this 7750 property. 7751 (validateInvalidComponents): Use workInvalidComponents when 7752 revalidating. This avoids blocking of application threads 7753 in revalidate() calls. 7754 (paintDirtyRegion): Use work* fields when 7755 repainting. This avoids blocking of application threads 7756 in repaint() calls. Simplify actual work, now we simply call 7757 paintImmediatly() on the dirty components. 7758 77592005-10-14 Lillian Angel <langel@redhat.com> 7760 7761 * javax/swing/LookAndFeel.java 7762 (makeIcon): Implemented. 7763 * javax/swing/plaf/basic/BasicTreeUI.java 7764 (updateCachedPreferredSize): Should only add with of control icon if 7765 not a leaf. 7766 (mousePressed): Fixed to use new gap field. 7767 (paintRecursive): Likewise. 7768 (paintRow): Likewise. 7769 (updateCurrentVisiblePath): Shouldn't include root if it is 7770 not of a valid size to be painted. 7771 77722005-10-14 Roman Kennke <kennke@aicas.com> 7773 7774 * javax/swing/JLayeredPane.java 7775 (isOptimizedDrawingEnabled): New method. 7776 77772005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> 7778 7779 * org/omg/CORBA/PolicyErrorHelper.java, 7780 org/omg/CORBA/PolicyErrorHolder.java, 7781 org/omg/CORBA/UnknownUserExceptionHelper.java, 7782 org/omg/CORBA/UnknownUserExceptionHolder.java, 7783 org/omg/CORBA/WrongTransactionHelper.java, 7784 org/omg/CORBA/WrongTransactionHolder.java: New files. 7785 77862005-10-14 Anthony Balkissoon <abalkiss@redhat.com> 7787 7788 * javax/swing/text/PlainView.java: 7789 (nextTabStop): Tab size should be multiplied by the width of 'm', not 7790 added to it. 7791 77922005-10-14 Anthony Balkissoon <abalkiss@redhat.com> 7793 7794 * javax/swing/text/PlainView.java: 7795 (getTabSize): Check the Document's properties for 7796 PlainDocument.tabSizeAttribute before defaulting to 8. 7797 77982005-10-14 Anthony Balkissoon <abalkiss@redhat.com> 7799 7800 * javax/swing/text/BoxView.java: 7801 (preferenceChanged): New method (overrides method in View). Set flag 7802 indicating that cached layout information is invalid, then call super 7803 implementation. 7804 78052005-10-14 Anthony Balkissoon <abalkiss@redhat.com> 7806 7807 * javax/swing/text/CompositeView.java: Minor doc fixes. 7808 * javax/swing/text/BoxView.java: Minor doc fixes. 7809 78102005-10-14 Lillian Angel <langel@redhat.com> 7811 7812 * javax/swing/JTree.java 7813 (getAccessibleContext): Fixed API docs, and returned the correct value. 7814 * javax/swing/plaf/basic/BasicTreeUI.java 7815 (updateCachedPreferredSize): Fixed parameter passed to isLeaf, node 7816 should be passed in and not a path. 7817 78182005-10-14 Anthony Balkissoon <abalkiss@redhat.com> 7819 7820 * javax/swing/text/DefaultCaret.java: 7821 (ALWAYS_UPDATE): New field. 7822 (NEVER_UPDATE): New field. 7823 (UPDATE_WHEN_ON_EDIT): New field. 7824 (insertUpdate): Fixed docs. Only update the dot if the policy is 7825 ALWAYS_UPDATE or if the policy is UPDATE_WHEN_ON_EDT and the event 7826 was generated on the Event Dispatch thread. 7827 (removeUpdate): Fixed docs. Only update the dot if the policy is 7828 ALWAYS_UPDATE, if the policy is UPDATE_WHEN_ON_EDT and the event was 7829 generated on the Event Dispatch thread, or if the document length 7830 has become less than the current dot position. 7831 (setUpdatePolicy): New method. 7832 (getUpdatePolicy): New method. 7833 78342005-10-14 Roman Kennke <kennke@aicas.com> 7835 7836 * javax/swing/BoxLayout.java 7837 (layoutContainer): Perform layout inside the container's treeLock. 7838 Respect the insets of the container. 7839 78402005-10-14 Lillian Angel <langel@redhat.com> 7841 7842 * javax/swing/JTree.java 7843 (getAccessibleSelectionCount): Fixed API documentation. 7844 (getScrollableTracksViewportWidth): Was using height instead of 7845 width, fixed this. 7846 (getScrollableTracksViewportHeight): Likewise. 7847 * javax/swing/plaf/basic/BasicTreeUI.java 7848 (BasicTreeUI): Initialized validCachedPreferredSize. 7849 (updateCachedPreferredSize): Implemented. 7850 (pathWasExpanded): Implemented. 7851 (pathWasCollapsed): Implemented. 7852 (installDefaults): Fixed API documentation. 7853 (uninstallDefaults): Likewise. 7854 (setPreferredMinSize): Likewise. 7855 (getPreferredMinSize): Likewise. 7856 (getPreferredSize): Reimplemented to use updateCachedPreferredSize. 7857 (startEditing): set validCachedPreferredSize. 7858 (editingStopped): Likewise. 7859 (editingCanceled): Likewise. 7860 (treeExpanded): Likewise. 7861 (treeCollaped): Likewise. 7862 (treeNodesInserted): Likewise. 7863 (treeNodesRemoved): Likewise. 7864 (treeStructureChanged): Likewise. 7865 (getNextVisibleNode): Fixed API documentation. 7866 (getNextNode): Likewise. 7867 (getNextSibling): Likewise. 7868 (getPreviousSibling): Likewise. 7869 (getLevel): Likewise. 7870 (paintVerticalPartOfLeg): Likewise. 7871 78722005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> 7873 7874 * org/omg/CORBA/PolicyErrorCodeHelper.java: New class. 7875 78762005-10-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> 7877 7878 * org/omg/CORBA/LocalObject.java (_get_interface, _invoke, _is_local, 7879 _orb, _releaseReply, _request, _servant_postinvoke, _servant_preinvoke, 7880 validate_connection): New methods. 7881 78822005-10-14 Michael Koch <konqueror@gmx.de> 7883 7884 * native/jni/midi-alsa/.cvsignore, 7885 native/jni/midi-dssi/.cvsignore: New files 7886 78872005-10-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> 7888 7889 * gnu/CORBA/ObjectCreator.java (forName): 7890 Use gnu.classpath.VMStackWalker. 7891 * gnu/CORBA/Interceptor/Registrator.java, 7892 gnu/CORBA/gnuValueHolder.java, 7893 gnu/CORBA/stubFinder.java, 7894 gnu/javax/rmi/CORBA/DelegateFactory.java, 7895 gnu/javax/rmi/CORBA/StubDelegateImpl.java, 7896 org/omg/CORBA/ORB.java: Load class via ObjectCreator. 7897 78982005-10-13 Anthony Balkissoon <abalkiss@redhat.com> 7899 7900 * javax/swing/text/PlainView.java: 7901 (updateDamage): Made this method protected, not package-private. 7902 79032005-10-13 Roman Kennke <kennke@aicas.com> 7904 7905 * javax/swing/BoxLayout.java 7906 (xChildren): New field. 7907 (yChildren): New field. 7908 (xTotal): New field. 7909 (yTotal): New field. 7910 (offsetsX): New field. 7911 (offsetsY): New field. 7912 (spansX): New field. 7913 (spansY): New field. 7914 (preferredLayoutSize): Rewritted to use cached values if available. 7915 (minimumLayoutSize): Rewritted to use cached values if available. 7916 (maximumLayoutSize): Rewritted to use cached values if available. 7917 (layoutContainer): Rewritted to use cached values if available. 7918 (getAlignmentX): Implemented. 7919 (getAlignmentY): Implemented. 7920 (invalidateLayout): Clear the cache. 7921 (getSizeRequirements): Removed unneeded method. Replaced by 7922 checkRequirements(). 7923 (checkTotalRequirements): New helper method. 7924 (checkRequirements): New helper method. 7925 (checkLayout): New helper method. 7926 79272005-10-13 Roman Kennke <kennke@aicas.com> 7928 7929 * javax/swing/SizeRequirements.java 7930 (calculateAlignedPositions): Determine baseline using the total 7931 requirements argument. 7932 (adjustFromRight): Use float instead of int for baseline argument. 7933 Don't handle the <minimum case. 7934 (adjustFromLeft): Likewise. 7935 79362005-10-13 Lillian Angel <langel@redhat.com> 7937 7938 * javax/swing/plaf/basic/BasicTreeUI.java: 7939 Added leafIcon field. 7940 (BasicTreeUI): Initialized leafIcon field. 7941 (installDefaults): Fixed icon defaults. 7942 (getPreferredSize): Fixed up code slightly. 7943 (startEditing): Called revalidate because size of 7944 view may change. 7945 (EditingStopped): Likewise. 7946 (EditingCanceled): Likewise. 7947 (mousePressed): Fixed up icon sizes. 7948 (paintRecursive): Fixed up width painted. 7949 * javax/swing/plaf/metal/MetalTreeUI.java 7950 (installDefaults): Fixed icon defaults. 7951 79522005-10-13 Anthony Balkissoon <abalkiss@redhat.com> 7953 7954 * javax/swing/plaf/basic/BasicTableHeaderUI.java: 7955 (paint): Reset the clip of the Graphics object after each iteration. 7956 79572005-10-13 Anthony Balkissoon <abalkiss@redhat.com> 7958 7959 * javax/swing/plaf/basic/BasicTableUI.java: 7960 (installDefaults): Initialize rendererPane. 7961 (paintCell): New method to paint an individual cell using a 7962 CellRendererPane, taking borders and highlighting into account. 7963 (paint): Removed direct painting code, let paintCell handle this. 7964 79652005-10-13 Roman Kennke <kennke@aicas.com> 7966 7967 * javax/swing/ScrollPaneLayout.java 7968 (preferredLayoutSize): Added some more null checks to avoid NPEs. 7969 (minimumLayoutSize): Added some more null checks to avoid NPEs. 7970 79712005-10-13 Jan Roehrich <jan@roehrich.info> 7972 7973 * javax/swing/plaf/basic/BasicTreeUI.java 7974 (installUI): Fixed setting of local JTree reference 7975 79762005-10-13 Lillian Angel <langel@redhat.com> 7977 7978 * javax/swing/plaf/basic/BasicTreeUI.java 7979 (getPreferredSize): Added check to prevent NPE. 7980 (mousePressed): Likewise. 7981 (paintRecursive): Likewise. 7982 (paintExpandedControlIcons): Likewise. 7983 (paintRow): Fixed painting location of textarea. 7984 79852005-10-13 Anthony Balkissoon <abalkiss@redhat.com> 7986 7987 * javax/swing/text/PlainView.java: 7988 (updateDamage): Repaint the container if a new line is added. 7989 79902005-10-13 Lillian Angel <langel@redhat.com> 7991 7992 * javax/swing/plaf/basic/BasicTreeUI.java 7993 (getPathForRow): Added check to prevent NPE. 7994 (getRowCount): Likewise. 7995 (getRowForPath): Likewise. 7996 (getPreferredSize): Adjusted width depending on x location and 7997 icon. 7998 (paintRecursive): Likewise. 7999 (getPreviousNode): Added check to prevent NPE. 8000 (getNextVisibleNode): Likewise. 8001 80022005-10-13 Roman Kennke <kennke@aicas.com> 8003 8004 * javax/swing/text/PlainView.java 8005 (lineBuffer): New field used as buffer to fetch text from a 8006 document. 8007 (getLineBuffer): New method, provides access to the new field 8008 above. 8009 (modelToView): Use new lineBuffer. 8010 (drawSelectedText): Likewise. 8011 (drawUnselectedText): Likewise. 8012 (determineMaxLineLength): Likewise. 8013 (viewToModel): Likewise. 8014 (updateDamage): Likewise. 8015 80162005-10-13 Roman Kennke <kennke@aicas.com> 8017 8018 * javax/swing/text/JTextComponent.java 8019 (replaceSelection): Removed debug statement. 8020 * javax/swing/text/PlainView.java 8021 (updateDamage): Removed unnecessary repaint call. 8022 (damageLineRange): Trigger repaint over the whole width of the 8023 text component at the requested line range. Otherwise we might 8024 not clear deleted text. 8025 * javax/swing/plaf/basic/BasicTextUI.java 8026 (DocumentHandler.changedUpdate): Use visibleEditorRect as 8027 initial allocation. 8028 (DocumentHandler.removeUpdate): Use visibleEditorRect as 8029 initial allocation. 8030 (DocumentHandler.insertUpdate): Use visibleEditorRect as 8031 initial allocation. 8032 (getVisibleEditorRect): If component width and height values are 8033 invalid (==uninitialized), return a Rectangle of (0,0,0,0) instead 8034 of null. 8035 80362005-10-13 David Gilbert <david.gilbert@object-refinery.com> 8037 8038 * javax/swing/plaf/metal/MetalFileChooserUI.java 8039 (DirectoryComboBoxAction): new inner class, 8040 (FileRenderer): new inner class, 8041 (directoryModel): new private field. 8042 80432005-10-13 David Gilbert <david.gilbert@object-refinery.com> 8044 8045 * javax/swing/plaf/metal/MetalLookAndFeel.java 8046 (initComponentDefaults): added default value for 8047 'List.focusCellHighlightBorder'. 8048 80492005-10-12 Andrew John Hughes <gnu_andrew@member.fsf.org> 8050 8051 * java/awt/datatransfer/DataFlavor.java: 8052 (DataFlavor(Class<?>,String,String): Genericized. 8053 * java/awt/dnd/DragGestureEvent.java: 8054 (DragGestureEvent(DragGestureRecognizer,int,Point, 8055 List<? extends InputEvent>)): Likewise. 8056 (iterator()): Likewise. 8057 * java/awt/dnd/DragSource.java: 8058 (createDragGestureRecognizer(Class<T>,Component,int, 8059 DragGestureListener)): Likewise. 8060 * java/awt/dnd/DropTargetContext.java: 8061 (getCurrentDataFlavorsAsList()): Likewise. 8062 * java/awt/dnd/DropTargetDragEvent.java: 8063 (getCurrentDataFlavorsAsList()): Likewise. 8064 * java/awt/dnd/DropTargetDropEvent.java: 8065 (getCurrentDataFlavorsAsList()): Likewise. 8066 * java/awt/font/TextLayout.java: 8067 (TextLayout(String,Map<? extends 8068 AttributedCharacterIterator.Attribute>, FontRenderContext)): Likewise. 8069 * java/awt/image/BufferedImage.java: 8070 (BufferedImage(ColorModel,WritableRaster,boolean,Hashtable<?,?>)): 8071 Likewise. 8072 * java/awt/image/ImageConsumer.java: 8073 (setProperties(Hashtable<?,?>)): Likewise. 8074 * java/awt/image/MemoryImageSource.java: 8075 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable<?,?>)): 8076 Likewise. 8077 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable<?,?>)): 8078 Likewise. 8079 * java/awt/image/RenderedImage.java: 8080 (getSources()): Likewise. 8081 * java/awt/image/renderable/ParameterBlock.java: 8082 (sources): Likewise. 8083 (parameters): Likewise. 8084 (ParameterBlock()): Likewise. 8085 (ParameterBlock(Vector<Object>)): Likewise. 8086 (ParameterBlock(Vector<Object>,Vector<Object>)): Likewise. 8087 (clone()): Added casts to handle new Vector type. 8088 (getSources()): Genericized. 8089 (setSources(Vector<Object>)): Likewise. 8090 (getParameters()): Likewise. 8091 (setParameters(Vector<Object>)): Likewise. 8092 * java/awt/image/renderable/RenderableImage.java: 8093 (getSources()): Likewise. 8094 * javax/swing/tree/DefaultMutableTreeNode.java: 8095 (children): Likewise. 8096 (getSharedAncestor(DefaultMutableTreeNode)): Likewise. 8097 (getDepth()): Likewise. 8098 (pathFromAncestorEnumeration(TreeNode)): Likewise. 8099 (PostOrderEnumeration)): Likewise. 8100 * javax/swing/undo/CompoundEdit.java: 8101 (edits): Likewise. 8102 (CompoundEdit()): Likewise. 8103 (undo()): Likewise. 8104 (redo()): Likewise. 8105 (lastEdit()): Likewise. 8106 (die()): Likewise. 8107 (isSignificant()): Likewise. 8108 * javax/swing/undo/UndoableEditSupport.java: 8109 (listeners): Likewise. 8110 (getUndoableEditListeners()): Likewise. 8111 * lib/Makefile.am: 8112 Turn off listing unused imports (at least for now). 8113 * org/omg/CosNaming/_NamingContextExtImplBase.java: 8114 (_methods): Likewise. 8115 * org/omg/CosNaming/_NamingContextImplBase.java: 8116 (methods): Likewise. 8117 * vm/reference/java/lang/reflect/Method.java: 8118 (getTypeParameters()): Corrected return type. 8119 81202005-10-12 Lillian Angel <langel@redhat.com> 8121 8122 * javax/swing/UIDefaults.java 8123 (getUIClass): Fixed to use the system class loader if 8124 the loader is null. 8125 81262005-10-12 David Daney <ddaney@avtrex.com> 8127 8128 PR classpath/24259 8129 * gnu/java/net/LineInputStream.java: Import BufferedInputStream. 8130 (Constructor): Don't do blockReads on BufferedInputStreams. 8131 (readLine): Rename MIN_LENGTH to MAX_LENGTH. Limit buffer size to 8132 MAX_LENGTH. 8133 81342005-10-12 Anthony Balkissoon <abalkiss@redhat.com> 8135 8136 * javax/swing/JTable.java: Fixed some API docs and unused imports. 8137 81382005-10-12 Roman Kennke <kennke@aicas.com> 8139 8140 * javax/swing/JComponent.java 8141 (paintImmediately): Find the paint root more cleverly, instead of 8142 going up to the root. 8143 (findPaintRoot): New helper method. 8144 (findOverlapFreeParent): New helper method. 8145 (findOpaqueParent): New helper method. 8146 * javax/swing/RepaintManager.java 8147 (addDirtyRegion): Collapse overlapping dirty regions into single 8148 regions. 8149 (paintDirtyRegions): Simple iterator over dirty regions and 8150 paint them. The optimizations are done in JComponent and 8151 addDirtyRegion. 8152 81532005-10-12 Roman Kennke <kennke@aicas.com> 8154 8155 * javax/swing/ScrollPaneLayout.java 8156 (minimumLayoutSize): Added checks to avoid NPEs. 8157 81582005-10-12 David Daney <ddaney@avtrex.com> 8159 8160 PR classpath/24086, PR classpath/24091, PR classpath/24104 8161 * gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java: Removed. 8162 * gnu/java/net/protocol/http/ResponseBodyReader.java: Removed. 8163 * gnu/java/net/protocol/http/event/ConnectionEvent.java: Removed. 8164 * gnu/java/net/protocol/http/event/ConnectionListener.java: Removed. 8165 * gnu/java/net/protocol/http/event/RequestEvent.java: Removed. 8166 * gnu/java/net/protocol/http/event/RequestListener.java: Removed. 8167 * gnu/java/net/protocol/http/event/package.html: Removed. 8168 * gnu/java/net/protocol/http/HTTPConnection.java: Cleaned up imports. 8169 (connectionListeners): Removed. 8170 (requestListeners): Removed. 8171 (pool): New field. 8172 (Constructor): Don't initialize connectionListeners or 8173 requestListeners. 8174 (useCount): New field. 8175 (getPoolKey): New method. 8176 (setPool): New method. 8177 (release): New method. 8178 (newRequest): Don't call fireRequestEvent. Use StringBuilder instead 8179 of StringBuffer. 8180 (close): Don't call fireConnectionEvent. 8181 (getURI):Use StringBuilder instead of StringBuffer. 8182 (addConnectionListener): Removed. 8183 (removeConnectionListener): Removed. 8184 (fireConnectionEvent): Removed. 8185 (addRequestListener): Removed. 8186 (removeRequestListener): Removed. 8187 (fireRequestEvent): Removed. 8188 * gnu/java/net/protocol/http/HTTPURLConnection.java:Cleaned up imports. 8189 (connectionPool): Changed type to LinkedHashMap. 8190 (maxConnections): Made static. 8191 (responseSink): Changed type to InputStream. 8192 (errorSink): Likewise. 8193 (connect): Eliminate reader. Get responseSink from response. 8194 (getConnection): Rewrote. 8195 (getHeaderFields): Use null as key for status line. Return 8196 unmodifiable Map. 8197 * gnu/java/net/protocol/http/Headers.java: Extend LinkedHashMap, 8198 instead of implement Map. 8199 (headers): Removed. 8200 (Constructor): Do not initialize headers. 8201 (size): Removed. 8202 (isEmpth): Removed. 8203 (containsKey): Rewrote. 8204 (containsValue): Removed. 8205 (get): Call super.get(). 8206 (getValue): Likewise. 8207 (getLongValue): New method. 8208 (put): Call super.put(). 8209 (remove): Call super.remove(). 8210 (putAll): Rewrote. 8211 (clear): Removed. 8212 (keySet): Call super.keySet(). 8213 (values): Removed. 8214 (entrySet): Call super.entrySet(). 8215 (equals): Removed. 8216 (hashCode): Removed. 8217 (parse): Use StringBuilder instead of StringBuffer. 8218 (addValue): Call super.* instead of headers.*. 8219 * gnu/java/net/protocol/http/LimitedLengthInputStream.java: New class. 8220 * gnu/java/net/protocol/http/Request.java: Cleaned up imports. 8221 (responseBodyReader): Removed. 8222 (setResponseBodyReader): Removed. 8223 (dispatch): Don't create LineInputStream. Don't call fireRequestEvent. 8224 Don't append CRLF to Request body. Handle unsolicited 100 Continue 8225 response. 8226 (readResponse): Rewrote. 8227 (readResponseBody): Renamed to ... 8228 (createResponseBodyStream): ... And rewritten. 8229 (parseAuthParams): Use StringBuilder instead of StringBuffer. 8230 (getNonceCount): Likewise. 8231 (handleSetCookie): Likewise. 8232 * gnu/java/net/protocol/http/Response.java: Cleaned up imports. 8233 (codeClass): Removed. 8234 (body): New field. 8235 (Constructor): Don't initialize codeClass. Initialize body. 8236 (getCodeClass): Rewrote. 8237 (getLongHeader): New method. 8238 (getBody): New method. 8239 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Use 8240 StringBuilder instead of StringBuffer. 8241 * gnu/java/net/protocol/http/Cookie.java (toString): Use StringBuilder 8242 instead of StringBuffer. 8243 82442005-10-12 Roman Kennke <kennke@aicas.com> 8245 8246 * javax/swing/plaf/basic/BasicFileChooserUI.java 8247 (getFileView): Don't call back into the JFileChooser, avoids 8248 a StackOverflow. 8249 (getApproveButtonText): Likewise. 8250 82512005-10-12 Mark Wielaard <mark@klomp.org> 8252 8253 Fixes bug #22841 8254 * java/io/ObjectInputStream (validators): Removed field. 8255 (isDeserializing): Removed field. 8256 (currentObjectValidators): New field. 8257 (ObjectInputStream): Remove validators and isDeserializing 8258 initialization. 8259 (readObject): Remove isDeserializing logic. Don't call 8260 invokeValidators() here. 8261 (parseContent): Call invokeValidators() after TC_OBJECT done. 8262 (registerValidation): Create currentObjectValidators if needed. 8263 (invokeValidators): Rewritten. 8264 82652005-10-12 Roman Kennke <kennke@aicas.com> 8266 8267 * javax/swing/CellRendererPane.java 8268 (paintComponent): Fix clipping of cells. 8269 * javax/swing/plaf/basic/BasicTableUI.java 8270 (paint): Fix clipping of cells. 8271 82722005-10-12 Anthony Balkissoon <abalkiss@redhat.com> 8273 8274 * javax/swing/text/AbstractDocument.java: 8275 (insertString): Don't include an ElementChange if no children were 8276 added. 8277 (remove): Don't include an ElementChange if no children were removed. 8278 82792005-10-12 Anthony Balkissoon <abalkiss@redhat.com> 8280 8281 * javax/swing/text/PlainView.java: 8282 (insertOrRemoveUpdate): Renamed this method to udpateDamage because 8283 changedUpdate calls it as well. 8284 (updateDamage): This method used to be named insertOrRemoveDamage. 8285 Changes are: If no children were added or removed, repaint only the 8286 area containing the line that was changed. Also, if children were 8287 added or removed, call repaint on the entire container. Also fixed a 8288 serious logic error in the bounds for Document.getText(). 8289 (insertUpdate): Changed call from insertOrRemoveUpdate to updateDamage 8290 and removed repaint call (this is done in updateDamage). 8291 (removeUpdate): Likewise. 8292 (changedUpdate): Implemented. 8293 (damageLineRange): Implemented. 8294 82952005-10-12 Lillian Angel <langel@redhat.com> 8296 8297 * javax/swing/plaf/basic/BasicTreeUI.java 8298 (treeExpanded): Added revalidate call. 8299 (treeCollapsed): Likewise. 8300 (treeNodesInserted): Likewise. 8301 (treeNodesRemoved): Likewise. 8302 (treeStructureChanged): Likewise. 8303 83042005-10-12 David Gilbert <david.gilbert@object-refinery.com> 8305 8306 * javax/swing/plaf/metal/MetalLookAndFeel.java 8307 (initComponentDefaults): added defaults for FileView. 8308 83092005-10-12 Roman Kennke <kennke@aicas.com> 8310 8311 * javax/swing/JViewport.java 8312 (sizeChanged): A new flag, indicating when the size of the 8313 viewport has changed relative to the last painting operation. 8314 (reshape): Set sizeChanged flag if size has changed. 8315 (paintBackingStore): Only create new backingstore image when 8316 the size has changed. 8317 83182005-10-12 Roman Kennke <kennke@aicas.com> 8319 8320 * java/awt/Component.java 8321 (reshape): Fixed calculation of newBounds and oldBounds to create 8322 rectangles relative to the parent, and not to the parent's parent. 8323 Solves a painting problem in an app here. 8324 83252005-10-12 Roman Kennke <kennke@aicas.com> 8326 8327 * javax/swing/plaf/ComponentUI.java 8328 (update): Only fill the current clip. This solves a problem with 8329 components in JViewport and should also optimize drawing a little. 8330 83312005-10-12 Roman Kennke <kennke@aicas.com> 8332 8333 * javax/swing/ScrollPaneLayout.java 8334 (preferredLayoutSize): Reworked. The old impl used to actually 8335 modify the layout, which is not allowed. 8336 (minimumLayoutSize): Reworked. The old impl used to actually 8337 modify the layout, which is not allowed. 8338 (layoutContainer): Reworked. The old impl did not properly determine 8339 when the scrollbars should be visible and when not. 8340 83412005-10-12 David Gilbert <david.gilbert@object-refinery.com> 8342 8343 * javax/swing/plaf/metal/MetalIconFactory.java 8344 (FileIcon16.getIconHeight): add result of getAdditionalHeight(), 8345 (FolderIcon16.getIconHeight): add result of getAdditionalHeight(), 8346 (checkBoxIcon): new private field, 8347 (checkBoxMenuItemIcon): likewise, 8348 (fileChooserDetailViewIcon): likewise, 8349 (fileChooserHomeFolderIcon): likewise, 8350 (fileChooserListViewIcon): likewise, 8351 (fileChooserNewFolderIcon): likewise, 8352 (fileChooserUpFolderIcon): likewise, 8353 (radioButtonMenuItemIcon): likewise, 8354 (internalFrameDefaultMenuIcon): likewise, 8355 (treeComputerIcon): likewise, 8356 (treeFloppyDriveIcon): likewise, 8357 (treeHardDriveIcon): likewise, 8358 (getCheckBoxIcon): return single instance, 8359 (getCheckBoxMenuItemIcon): likewise, 8360 (getFileChooserDetailViewIcon): likewise, 8361 (getFileChooserHomeFolderIcon): likewise, 8362 (getFileChooserListViewIcon): likewise, 8363 (getFileChooserNewFolderIcon): likewise, 8364 (getFileChooserUpFolderIcon): likewise, 8365 (getRadioButtonMenuItemIcon): likewise, 8366 (getInternalFrameDefaultMenuIcon): likewise, 8367 (getTreeComputerIcon): likewise, 8368 (getTreeFloppyDriveIcon): likewise, 8369 (getTreeHardDriveIcon): likewise. 8370 83712005-10-12 Roman Kennke <kennke@aicas.com> 8372 8373 * javax/swing/AbstractButton.java 8374 (AbstractButton): Set button to be opaque. 8375 83762005-10-12 Roman Kennke <kennke@aicas.com> 8377 8378 * javax/swing/JList.java 8379 (locationToIndex): Put opening brace on next line. 8380 (indexToLocation): Call UI's indexToLocation. 8381 (getCellBounds): Replaced cast with getUI() call. 8382 83832005-10-12 Roman Kennke <kennke@aicas.com> 8384 8385 * javax/swing/JFileChooser.java 8386 (getDialogTitle): If no dialog title has been set, forward this 8387 call to the UI. 8388 (getApproveButtonText): If no text has been set, forward this 8389 call to the UI. 8390 (getFileView): If no file view has been set, forward this call 8391 to the UI. 8392 (getInternalFileView): Removed unneeded method. 8393 (getName): Call getFileView instead of getInternalFileView. 8394 (getDescription): Call getFileView instead of getInternalFileView. 8395 (getTypeDescription): Call getFileView instead of 8396 getInternalFileView. 8397 (getIcon): Call getFileView instead of getInternalFileView. 8398 83992005-10-12 Roman Kennke <kennke@aicas.com> 8400 8401 * javax/swing/JComponent.java 8402 (setFont): Only get active if the new font differs from the old one. 8403 Call revalidate when font changes. 8404 (setUI): Call revalidate when UI changes. 8405 84062005-10-12 Roman Kennke <kennke@aicas.com> 8407 8408 * javax/swing/JComboBox.java 8409 (isFocusTraversable): Removed unneeded and unspecified method. 8410 84112005-10-12 Roman Kennke <kennke@aicas.com> 8412 8413 * javax/swing/JViewport.java 8414 (ViewListener.componentResized): Only call revalidate instead of 8415 going through weird reverting code. 8416 (JViewport): First call updateUI, then set layout. 8417 (setViewPosition): Don't do anything if there is no real 8418 change. 8419 (setView): Don't remove the old component. This is handled by 8420 addImpl. Call revalidate(). 8421 * javax/swing/ViewportLayout.java 8422 (layoutContainer): Preferably set view size to it's preferredSize 8423 instead of its minimumSize. 8424 84252005-10-12 Roman Kennke <kennke@aicas.com> 8426 8427 * javax/swing/text/JTextComponent.java 8428 (getToolTipText): New method. 8429 84302005-10-12 Roman Kennke <kennke@aicas.com> 8431 8432 * javax/swing/plaf/metal/MetalLookAndFeel.java 8433 (initComponentDefaults): Fixed value for 8434 Table.focusCellHighlightBorder. 8435 84362005-10-12 Roman Kennke <kennke@aicas.com> 8437 8438 * javax/swing/plaf/basic/BasicButtonUI.java 8439 (installDefaults): Use new LookAndFeel install* methods. Use 8440 UIManager.get* methods instead of UIManager.getDefaults().get* 8441 methods. 8442 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java 8443 (installDefaults): Use UIManager.get* methods instead of 8444 UIManager.getDefaults().get* methods. 8445 * javax/swing/plaf/basic/BasicColorChooserUI.java 8446 (installDefaults): Use new LookAndFeel install* methods. 8447 * javax/swing/plaf/basic/BasicComboBoxUI.java 8448 (installDefaults): Use new LookAndFeel install* methods. Use 8449 UIManager.get* methods instead of UIManager.getDefaults().get* 8450 methods. 8451 * javax/swing/plaf/basic/BasicDesktopPaneUI.java 8452 (installDefaults): Only install background color, if installed 8453 color is null or an UIResource instance. 8454 * javax/swing/plaf/basic/BasicInternalFrameUI.java 8455 (installDefaults): Use new LookAndFeel install* methods. 8456 * javax/swing/plaf/basic/BasicLabelUI.java 8457 (installDefaults): Use new LookAndFeel install* methods. 8458 * javax/swing/plaf/basic/BasicListUI.java 8459 (installDefaults): Use new LookAndFeel install* methods. Use 8460 UIManager.get* methods instead of UIManager.getDefaults().get* 8461 methods. 8462 * javax/swing/plaf/basic/BasicLookAndFeel.java 8463 (initComponentDefaults): Added default for List.font. 8464 * javax/swing/plaf/basic/BasicMenuBarUI.java 8465 (installDefaults): Use new LookAndFeel install* methods. 8466 * javax/swing/plaf/basic/BasicMenuItemUI.java 8467 (installDefaults): Use new LookAndFeel install* methods. Use 8468 UIManager.get* methods instead of UIManager.getDefaults().get* 8469 methods. 8470 * javax/swing/plaf/basic/BasicMenuUI.java 8471 (installDefaults): Use new LookAndFeel install* methods. Use 8472 UIManager.get* methods instead of UIManager.getDefaults().get* 8473 methods. 8474 * javax/swing/plaf/basic/BasicOptionPaneUI.java 8475 (installDefaults): Use new LookAndFeel install* methods. Use 8476 UIManager.get* methods instead of UIManager.getDefaults().get* 8477 methods. 8478 * javax/swing/plaf/basic/BasicPanelUI.java 8479 (installDefaults): Use new LookAndFeel install* methods. 8480 * javax/swing/plaf/basic/BasicPopupMenuUI.java 8481 (installDefaults): Use new LookAndFeel install* methods. 8482 * javax/swing/plaf/basic/BasicProgressBarUI.java 8483 (installDefaults): Use new LookAndFeel install* methods. Use 8484 UIManager.get* methods instead of UIManager.getDefaults().get* 8485 methods. 8486 * javax/swing/plaf/basic/BasicScrollBarUI.java 8487 (installDefaults): Use new LookAndFeel install* methods. Use 8488 UIManager.get* methods instead of UIManager.getDefaults().get* 8489 methods. 8490 * javax/swing/plaf/basic/BasicScrollPaneUI.java 8491 (installDefaults): Use new LookAndFeel install* methods. 8492 * javax/swing/plaf/basic/BasicSeparatorUI.java 8493 (installDefaults): Use UIManager.get* methods instead of 8494 UIManager.getDefaults().get* methods. 8495 * javax/swing/plaf/basic/BasicSliderUI.java 8496 (installDefaults): Use new LookAndFeel install* methods. Use 8497 UIManager.get* methods instead of UIManager.getDefaults().get* 8498 methods. 8499 * javax/swing/plaf/basic/BasicSpinnerUI.java 8500 (installDefaults): Use new LookAndFeel install* methods. 8501 * javax/swing/plaf/basic/BasicSplitPaneUI.java 8502 (installDefaults): Use new LookAndFeel install* methods. Use 8503 UIManager.get* methods instead of UIManager.getDefaults().get* 8504 methods. 8505 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 8506 (installDefaults): Use new LookAndFeel install* methods. Use 8507 UIManager.get* methods instead of UIManager.getDefaults().get* 8508 methods. 8509 * javax/swing/plaf/basic/BasicTableHeaderUI.java 8510 (installDefaults): Use new LookAndFeel install* methods. Use 8511 UIManager.get* methods instead of UIManager.getDefaults().get* 8512 methods. 8513 * javax/swing/plaf/basic/BasicTableUI.java 8514 (installDefaults): Use new LookAndFeel install* methods. Use 8515 UIManager.get* methods instead of UIManager.getDefaults().get* 8516 methods. 8517 * javax/swing/plaf/basic/BasicTextUI.java 8518 (installDefaults): Use new LookAndFeel install* methods. Use 8519 UIManager.get* methods instead of UIManager.getDefaults().get* 8520 methods. 8521 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java 8522 (installDefaults): Use UIManager.get* methods instead of 8523 UIManager.getDefaults().get* methods. 8524 * javax/swing/plaf/basic/BasicToolBarUI.java 8525 (installDefaults): Use new LookAndFeel install* methods. Use 8526 UIManager.get* methods instead of UIManager.getDefaults().get* 8527 methods. 8528 * javax/swing/plaf/basic/BasicToolTipUI.java 8529 (installDefaults): Use new LookAndFeel install* methods. 8530 * javax/swing/plaf/basic/BasicTreeUI.java 8531 (installDefaults): Use new LookAndFeel install* methods. Use 8532 UIManager.get* methods instead of UIManager.getDefaults().get* 8533 methods. 8534 * javax/swing/plaf/basic/BasicViewportUI.java 8535 (installDefaults): Use new LookAndFeel install* methods. 8536 85372005-10-12 Roman Kennke <kennke@aicas.com> 8538 8539 * javax/swing/LookAndFeel.java 8540 (installBorder): Implemented. 8541 (installColors): Implemented. 8542 (installColorsAndFont): Implemented. 8543 85442005-10-12 Mark Wielaard <mark@klomp.org> 8545 8546 Reported by Christian Thalinger <twisti@complang.tuwien.ac.at> 8547 * native/jni/java-lang/java_lang_VMProcess.c 8548 (Java_java_lang_VMProcess_nativeSpawn): Don't delete clazz local 8549 reference twice. 8550 85512005-10-12 David Gilbert <david.gilbert@object-refinery.com> 8552 8553 * javax/swing/event/SwingPropertyChangeSupport.java 8554 (firePropertyChange(PropertyChangeEvent)): if old and new values are 8555 both null, listeners should be notified. 8556 85572005-10-11 David Gilbert <david.gilbert@object-refinery.com> 8558 8559 * javax/swing/DefaultComboBoxModel.java 8560 (setSelectedItem): allow values not in list, and don't fire an event 8561 if the value is unchanged. 8562 85632005-10-11 Anthony Balkissoon <abalkiss@redhat.com> 8564 8565 * javax/swing/text/GapContent.java: 8566 (getPositionsInRange): Corrected interval check. This mirrors Roman's 8567 change in GapContent from 2005-10-05 for adjustPositionsInRange and 8568 setPositionsInRange. 8569 85702005-10-11 Anthony Balkissoon <abalkiss@redhat.com> 8571 8572 * javax/swing/plaf/basic/BasicTextUI.java: 8573 (viewToModel): Implemented. 8574 * javax/swing/text/DefaultCaret.java: 8575 (mousePressed): Implemented. 8576 * javax/swing/text/PlainView.java: 8577 (viewToModel): Implemented. 8578 85792005-10-11 Anthony Balkissoon <abalkiss@redhat.com> 8580 8581 * javax/swing/text/PlainView.java: 8582 (insertUpdate): Repaint the JTextComponent after the update. 8583 (removeUpdate): Likewise. 8584 85852005-10-11 David Gilbert <david.gilbert@object-refinery.com> 8586 8587 * javax/swing/JFileChooser.java: Added API docs all over. 8588 85892005-10-11 Roman Kennke <kennke@aicas.com> 8590 8591 * javax/swing/JEditorPane.java 8592 (AccessibleJEditorPaneHTML): New inner class. 8593 (JEditorPaneAccessibleHypertextSupport): New inner class. 8594 (getAccessibleContext): Handle special case when we have 8595 a HTMLEditorKit. 8596 (setEditorKit): Reset the accessibleContext. 8597 85982005-10-11 David Gilbert <david.gilbert@object-refinery.com> 8599 8600 * javax/swing/filechooser/FileSystemView.java 8601 (defaultFileSystemView): new private field, 8602 (getFileSystemView): initialise (if necessary) and return 8603 defaultFileSystemView. 8604 86052005-10-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> 8606 8607 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java 8608 (main): Message removed from the loop. 8609 86102005-10-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> 8611 8612 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java 8613 (main): 3 sec pause replaced by while(..) loop. 8614 86152005-10-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> 8616 8617 * gnu/CORBA/Interceptor/Registrator.java, 8618 gnu/CORBA/ObjectCreator.java, 8619 gnu/CORBA/gnuValueHolder.java, 8620 gnu/CORBA/stubFinder.java, 8621 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, 8622 gnu/javax/rmi/CORBA/StubDelegateImpl.java, 8623 gnu/javax/rmi/CORBA/UtilDelegateImpl.java, 8624 org/omg/CORBA/ORB.java: Use context class loader. 8625 86262005-10-10 Roman Kennke <kennke@aicas.com> 8627 8628 * javax/swing/text/View.java 8629 (modelToView(pos, Shape)): New method. 8630 (viewToModel(float, float, Shape)): New method. 8631 86322005-10-10 Roman Kennke <kennke@aicas.com> 8633 8634 * javax/swing/JEditorPane.java 8635 (AccessibleJEditorPane): New inner class. 8636 (getAccessibleContext): Implemented to return an instance of 8637 AccessibleJEditorPane. 8638 * javax/swing/JScrollPane.java 8639 (AccessibleJScrollPane): New inner class. 8640 (getAccessibleContext): Implemented to return an instance of 8641 AccessibleJScrollPane. 8642 (setViewport): Call accessibleContext's resetViewPort() method. 8643 * javax/swing/JTextArea.java 8644 (AccessibleJTextArea): New inner class. 8645 (getAccessibleContext): Implemented to return an instance of 8646 AccessibleJTextArea. 8647 * javax/swing/JTextField.java 8648 (AccessibleJTextField): New inner class. 8649 (getAccessibleContext): Implemented to return an instance of 8650 AccessibleJTextField. 8651 * javax/swing/JRootPane.java 8652 (defaultPressAction): New field. 8653 (defaultReleaseAction): New field. 8654 86552005-10-10 Roman Kennke <kennke@aicas.com> 8656 8657 * javax/swing/JMenuBar.java 8658 (AccessibleJMenuBar): New inner class. 8659 (getAccessibleContext): Implemented to return an instance of 8660 AccessibleJMenuBar. 8661 86622005-10-10 Roman Kennke <kennke@aicas.com> 8663 8664 * javax/swing/JComponent.java 8665 (paintChildren): Skip children if their clip _doesn't_ hit the 8666 current clip. 8667 (setVisible): Do nothing if the actual value didn't change. 8668 86692005-10-10 Roman Kennke <kennke@aicas.com> 8670 8671 * java/awt/Graphics.java 8672 (hitClip): Implemented this method. 8673 86742005-10-10 Roman Kennke <kennke@aicas.com> 8675 8676 * java/awt/Graphics.java: Reformatted file. 8677 86782005-10-10 Roman Kennke <kennke@aicas.com> 8679 8680 * java/beans/IndexedPropertyDescriptor.java 8681 (setIndexedReadMethod): Changed signature to throw 8682 IntrospectionException as specified. 8683 (setIndexedWriteMethod): Changed signature to throw 8684 IntrospectionException as specified. 8685 86862005-10-10 Roman Kennke <kennke@aicas.com> 8687 8688 * javax/swing/JComponent.java 8689 (rectCache): New field. Caches Rectangle objects for reuse. 8690 (paintChildren): Changed to reuse cached Rectangle object. 8691 86922005-10-10 David Gilbert <david.gilbert@object-refinery.com> 8693 8694 * javax/swing/border/TitledBorder.java 8695 (TitledBorder(String)): Changed default justification and position, 8696 (TitledBorder(Border)): Likewise, 8697 (TitledBorder(Border, String)): Likewise, 8698 (BorderPainter.paint(Graphics)): Use full width and height, 8699 (BorderPainter.paintExcept): Fixed bounds for region 3, 8700 (paintBorder): indented left justified title further, adjusted 8701 ABOVE_TOP text position, adjusted bounds for call to paintExcept(), 8702 updated for renamed fields in Measurements class, 8703 (getMeasurements): added special handling for null text, increased 8704 outer spacing, adjusted spacing for TOP, BOTTOM and BELOW_BOTTOM title 8705 positions, 8706 (Measurements.borderSpacing): renamed outerSpacing, 8707 (Measurements.edgeSpacing): renamed innerSpacing, 8708 (Measurements.getContentInsets): updated for renamed fields, 8709 (Measurements.getMinimumSize): wrap at 80 columns. 8710 87112005-10-09 Mark Wielaard <mark@klomp.org> 8712 8713 Fixes bug #24006 8714 * java/net/Socket.java (bound): Make package private. 8715 * java/net/ServerSocket.java (implAccept): Set Socket.bound to true. 8716 87172005-10-07 Anthony Green <green@redhat.com> 8718 8719 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 8720 (process): call run_multiple_synths if required. 8721 87222005-10-07 Anthony Green <green@redhat.com> 8723 8724 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 8725 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Attempt 8726 to connect to the jack server automatically. Fail gracefully. 8727 87282005-10-07 Anthony Green <green@redhat.com> 8729 8730 * gnu/javax/sound/midi/dssi/DSSISynthesizer.java (loadInstrument): 8731 Implement. 8732 (selectProgram_): New native method. 8733 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. 8734 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 8735 (selectProgram_): New function. 8736 87372005-10-07 Thomas Fitzsimmons <fitzsim@redhat.com> 8738 8739 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postChoiceItemEvent): 8740 Don't call select on the AWT Choice component. 8741 * java/awt/Choice.java (processItemEvent): Set the selected index 8742 without calling into the peers. 8743 87442005-10-07 Anthony Green <green@redhat.com> 8745 8746 * gnu/javax/sound/midi/dssi/DSSISynthesizer.java 8747 Doc cleanups. 8748 (DSSISynthesizer.DSSISoundbank): New class. 8749 (DSSISynthesizer.DSSIInstrument): New class. 8750 (soundbanks, defaultSoundbank): New fields. 8751 (getDefaultSoundbank): Implemented. 8752 (getAvailableInstruments): Implemented. 8753 (getProgramName_, getProgramBank_, getProgramProgram_): New native 8754 methods. 8755 (DSSISynthesizer): Create default soundbank. 8756 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 8757 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramName_1, 8758 Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramBank_1, 8759 Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_getProgramProgram_1): 8760 New functions. 8761 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. 8762 87632005-10-07 Roman Kennke <kennke@aicas.com> 8764 8765 * javax/swing/JTable.java 8766 (tableChanged): Revalidate table if its structure changes. 8767 87682005-10-07 Jan Roehrich <jan@roehrich.info> 8769 8770 * javax/swing/JTree.java: (JTree): 8771 * javax/swing/plaf/basic/BasicTreeUI.java: (updateRenderer): 8772 moved setting of TreeCellRenderer from JTree to BasicTreeUI. 8773 87742005-10-07 Roman Kennke <kennke@aicas.com> 8775 8776 * java/beans/IndexedPropertyDescriptor.java 8777 (setIndexedReadMethod): New method. 8778 (setIndexedWriteMethod): New method. 8779 87802005-10-07 Roman Kennke <kennke@aicas.com> 8781 8782 * java/beans/IndexedPropertyDescriptor.java: Reformatted. 8783 87842005-10-07 Roman Kennke <kennke@aicas.com> 8785 8786 * javax/swing/plaf/basic/BasicButtonUI.java 8787 (currentIcon): Fix icon for disabled selected buttons. 8788 (paint): Only paint focus indicator if button is actually 8789 focusPainted. 8790 * javax/swing/plaf/basic/BasicRadioButtonUI.java 8791 (installDefaults): Install icons for disabledIcon and 8792 disabledSelectedIcon. 8793 (paint): Paint the correct icon. Only paint focus indicator 8794 if button is actually focusPainted. 8795 * javax/swing/plaf/basic/BasicToggleButtonUI.java 8796 (paint): Only paint focus indicator if button is actually 8797 focusPainted. 8798 87992005-10-07 Roman Kennke <kennke@aicas.com> 8800 8801 * javax/swing/JComponent.java 8802 (paint): Call paintBorder before paintChildren. 8803 (reshape): Fire AncestorEvent if position has changed. 8804 (fireAncestorMoved): New method. Fires AncestorEvents to this 8805 component and all of it's children. 8806 88072005-10-07 Roman Kennke <kennke@aicas.com> 8808 8809 * javax/swing/BorderFactory.java 8810 (createLineBorder(Color)): Forward call to 8811 createLineBorder(Color, int) with thickness of 1. 8812 88132005-10-06 Tom Tromey <tromey@redhat.com> 8814 8815 * java/util/ListResourceBundle.java (getKeys): Fixed return type. 8816 * java/util/ResourceBundle.java (getKeys): Fixed return type. 8817 * java/util/AbstractMap.java (entrySet): Fixed return type. 8818 (clone): Updated. 8819 (equals): Likewise. 8820 (iterator): Likewise. 8821 * java/util/Collections.java (fill): Fixed argument type. 8822 (reverse): Likewise. 8823 (unmodifiableCollection): Likewise. 8824 (UnmodifiableCollection): Likewise. 8825 (UnmodifiableIterator): Likewise. 8826 (unmodifiableSet): Likewise. 8827 (UnmodifiableSet): Likewise. 8828 (unmodifiableList): Likewise. 8829 * java/util/TreeSet.java (TreeSet(SortedSet<T>)): Fixed argument 8830 type. 8831 (headSet): Fixed return type. 8832 * java/util/StringTokenizer.java: Implements Enumeration<Object>. 8833 88342005-10-06 Anthony Green <green@redhat.com> 8835 8836 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 8837 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Ignore 8838 controllers that aren't mapped to MIDI controls. 8839 88402005-10-06 Anthony Green <green@redhat.com> 8841 8842 * INSTALL: Describe midi provider dependencies. 8843 8844 * native/jni/midi-dssi/README: New file. 8845 * LICENSE (terms): Add notice about code copied from the DSSI 8846 distribution. 8847 8848 * examples/gnu/classpath/examples/midi/Demo.java: New file. 8849 8850 * native/jni/midi-dssi/dssi_data.h (dssi_data): Add control_count, 8851 control_port_map, control_value_map, sample_rate, and 8852 control_values fields. 8853 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 8854 (DEBUG_DSSI_PROVIDER): New macro. 8855 (get_port_default): New function. 8856 (set_control): New function. 8857 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove 8858 debug output. Reformat. Allocate the control ports and assign 8859 proper default values. 8860 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1): Use 8861 JLONG_TO_PTR. 8862 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Ditto. 8863 * gnu/javax/sound/midi/dssi/DSSISynthesizer.java 8864 (Channel.controlChange): Implement. 8865 (controlChange_): New native method. 8866 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt. 8867 8868 * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Make 8869 instance final. 8870 88712005-10-06 Anthony Balkissoon <abalkiss@redhat.com> 8872 8873 * javax/swing/text/PlainView.java: 8874 (determineMaxLength): Avoid NPE by checking the Segment that getText 8875 returns. No need to return Math.max (0, maxLineLength) because 8876 maxLineLength is guaranteed to be 0 or greater. 8877 88782005-10-06 Anthony Balkissoon <abalkiss@redhat.com> 8879 8880 * javax/swing/text/PlainView.java: 8881 (determineMaxLength): If maxLineLength is -1 we should return 0. 8882 (insertOrRemoveUpdate): Avoid NPE by checking the Segment that 8883 getText returns. 8884 88852005-10-06 Thomas Fitzsimmons <fitzsim@redhat.com> 8886 8887 * javax/imageio/metadata/IIOMetadata.java: Complete. 8888 88892005-10-06 Roman Kennke <kennke@aicas.com> 8890 8891 * javax/swing/text/BoxView.java 8892 (paint): Only call paintChild if child allocation is not empty. 8893 (layout): Don't store the width and height fields here. 8894 (setSize): Store the width and height fields here. 8895 * javax/swing/text/CompositeView.java 8896 (getViewIndexAtPosition): Reworked child view searching. 8897 (getInsideAllocation): Fixed insets calculation. 8898 * javax/swing/text/FlowView.java 8899 (FlowStrategy.layoutRow): Return an offset of -1 if no more child 8900 views are in the logical view. 8901 (FlowStrategy.createView): If there are no more child views, 8902 then return null. 8903 (LogicalView.getViewIndex): New method. Implements child view 8904 searching for the LogicalView. 8905 * javax/swing/text/GlyphView.java 8906 (DefaultGlyphPainter.getHeight): Use Toolkit FontMetrics instead 8907 of parent containers FontMetrics. 8908 (DefaultGlyphPainter.getSpan): Use Toolkit FontMetrics instead 8909 of parent containers FontMetrics. 8910 * javax/swing/text/Utilities.java 8911 (getTabbedTextOffset): Check for 0 in the char array and stop 8912 there. 8913 * javax/swing/text/View.java 8914 (getContainer): If there's no parent, don't throw an Error, instead 8915 return null as specified. 8916 89172005-10-06 Anthony Balkissoon <abalkiss@redhat.com> 8918 8919 * javax/swing/text/AbstractDocument.java: Implemeted locking. 8920 (insertString): Obtain write lock before altering document. 8921 (readLock): Implemented. 8922 (readUnlock): Implemented. 8923 (remove): Obtain write lock before altering document. 8924 (render): Implemented. 8925 (writeLock): Implemented. 8926 (writeUnlock): Implemented. 8927 (getCurrentWriter): Implemented. 8928 89292005-10-06 Roman Kennke <kennke@aicas.com> 8930 8931 * javax/swing/JLabel.java 8932 (JLabel): Set alignmentX value to 0.0F. 8933 89342005-10-06 Lillian Angel <langel@redhat.com> 8935 8936 * javax/swing/plaf/basic/BasicTreeUI.java 8937 (startEditing): Should always change the bounds, whenever 8938 we start editing. 8939 (paintRow): Fixed location where editing component should 8940 be drawn. The constant takes care of the space around the 8941 icon. 8942 * javax/swing/JTree.java 8943 (JTree): Called updateUI first so currentVisiblePath is 8944 cached right away. Prevents NPEs. 8945 89462005-10-06 Tom Tromey <tromey@redhat.com> 8947 8948 * javax/print/attribute/SetOfIntegerSyntax.java (toString): Wrote. 8949 (hashCode): Likewise. 8950 (equals): Likewise. 8951 (getMembers): Likewise. 8952 (contains): Fixed boundary condition check. 8953 (next): Wrote. 8954 (normalize): Rewrote. 8955 (SetOfIntegerSyntax): Updated. 8956 (SetOfIntegerSyntax(String)): New constructor. 8957 (skipNumber): New method. 8958 (skipWhitespace): Likewise. 8959 89602005-10-06 Roman Kennke <kennke@aicas.com> 8961 8962 * javax/swing/plaf/basic/BasicRootPaneUI.java 8963 (installUI): Call new hook methods. 8964 (installDefaults): New hook method. 8965 (installComponents): New hook method. 8966 (installListeners): New hook method. 8967 (installKeyboardActions): New hook method. 8968 (uninstallUI): New method. 8969 (uninstallDefaults): New hook method. 8970 (uninstallComponents): New hook method. 8971 (uninstallListeners): New hook method. 8972 (uninstallKeyboardActions): New hook method. 8973 89742005-10-06 Lillian Angel <langel@redhat.com> 8975 8976 * javax/swing/plaf/basic/BasicTreeUI.java 8977 (mousePressed): Shouldn't change x location for leaf. 8978 89792005-10-06 Andreas Tobler <a.tobler@schweiz.ch> 8980 8981 * configure.ac: Add Qt4 configury bits for OS-X. 8982 89832005-10-05 Tom Tromey <tromey@redhat.com> 8984 8985 * java/util/jar/Attributes.java: Implements Map<Object,Object>. 8986 (map): Changed type. 8987 (entrySet): Changed return type. 8988 (keySet): Likewise. 8989 (putAll): Changed argument type. 8990 (values): Changed return type. 8991 * java/util/jar/Manifest.java (getEntries): Genericized. 8992 (Manifest): Updated. 8993 (entries): Changed type. 8994 (read_individual_sections): Updated. 8995 (read_section_name): Likewise. 8996 (write_main_attributes): Likewise. 8997 (write_attribute_entry): Likewise. 8998 (write_individual_sections): Likewise. 8999 (write_entry_attributes): Likewise. 9000 * java/util/jar/JarFile.java (entries): Genericized. 9001 (JarEnumeration): Implements Enumeration<JarEntry>. 9002 (JarEnumeration.nextElement): Changed return type. 9003 (JarEnumeration.entries): Changed type. 9004 90052005-10-05 Tom Tromey <tromey@redhat.com> 9006 9007 * java/awt/datatransfer/SystemFlavorMap.java (getNativesForFlavors): 9008 Genericized. 9009 (getFlavorsForNatives): Likewise. 9010 (getFlavorsForNative): Likewise. 9011 (getNativesForFlavor): Likewise. 9012 * java/awt/datatransfer/DataFlavor.java (DataFlavor): Genericized. 9013 (getDefaultRepresentationClass): Likewise. 9014 (getRepresentationClass): Likewise. 9015 (tryToLoadClass): Likewise. 9016 (representationClass): Likewise. 9017 * java/awt/datatransfer/FlavorTable.java (getNativesForFlavor): 9018 Genericized. 9019 (getFlavorsForNative): Likewise. 9020 * java/awt/datatransfer/FlavorMap.java (getFlavorsForNatives): 9021 Genericized. 9022 (getNativesForFlavors): Likewise. 9023 90242005-10-05 Tom Tromey <tromey@redhat.com> 9025 9026 * java/util/zip/ZipFile.java (entries): Fixed return type. 9027 90282005-10-05 Tom Tromey <tromey@redhat.com> 9029 9030 * java/util/prefs/Preferences.java (systemNodeForPackage): Genericized. 9031 (userNodeForPackage): Likewise. 9032 90332005-10-05 Tom Tromey <tromey@redhat.com> 9034 9035 * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners): 9036 Genericized. 9037 * javax/swing/tree/DefaultTreeModel.java (getListeners): Genericized. 9038 * javax/swing/Timer.java (getListeners): Genericized. 9039 * javax/swing/text/StyleContext.java (getListeners): Genericized. 9040 * javax/swing/text/DefaultCaret.java (getListeners): Genericized. 9041 * javax/swing/text/AbstractDocument.java (getListeners): 9042 Genericized. 9043 * javax/swing/table/DefaultTableColumnModel.java (getListeners): 9044 Genericized. 9045 * javax/swing/table/AbstractTableModel.java (getListeners): 9046 Genericized. 9047 * javax/swing/JComponent.java (getListeners): Genericized. 9048 * javax/swing/DefaultSingleSelectionModel.java (getListeners): 9049 Genericized. 9050 * javax/swing/DefaultListSelectionModel.java (getListeners): 9051 Genericized. 9052 * javax/swing/DefaultButtonModel.java (getListeners): Genericized. 9053 * javax/swing/DefaultBoundedRangeModel.java (getListeners): 9054 Genericized. 9055 * javax/swing/AbstractSpinnerModel.java (getListeners): Genericized. 9056 * javax/swing/event/EventListenerList.java (add): Genericized. 9057 (getListeners): Likewise. 9058 (remove): Likewise. 9059 * java/awt/dnd/DragSource.java (getListeners): Genericized. 9060 * java/awt/TextField.java (getListeners): Genericized. 9061 * java/awt/Window.java (getListeners): Genericized. 9062 * java/awt/Scrollbar.java (getListeners): Genericized. 9063 * java/awt/List.java (getListeners): Genericized. 9064 * java/awt/Choice.java (getListeners): Genericized. 9065 * java/awt/TextComponent.java (getListeners): Genericized. 9066 * java/awt/CheckboxMenuItem.java (getListeners): Genericized. 9067 * java/awt/Button.java (getListeners): Genericized. 9068 * java/awt/Container.java (getListeners): Genericized. 9069 90702005-10-05 Lillian Angel <langel@redhat.com> 9071 9072 * javax/swing/plaf/basic/BasicTreeUI.java 9073 (paintRow): Fixed indentation. 9074 (updateCurrentVisiblePath): Added FIXME 9075 comment. 9076 90772005-10-05 Roman Kennke <kennke@aicas.com> 9078 9079 * javax/swing/text/BoxView.java 9080 (baselineLayout): New method. 9081 (calculateMajorAxisRequirements): Reimplemented to use the 9082 SizeRequirements utility methods. 9083 (calculateMinorAxisRequirements): Reimplemented to use the 9084 SizeRequirements utility methods. 9085 (layout): Use the new baselineLayout method. 9086 (layoutMajorAxis): Reimplemented to use the new 9087 getChildRequirements method. 9088 (layoutMinorAxis): Reimplemented to use the new 9089 getChildRequirements method. 9090 (getChildRequirements): New method. 9091 (getSpan): New method. 9092 (getOffset): New method. 9093 (getAlignment): New method. 9094 * javax/swing/text/ParagraphView.java 9095 (Row.getAlignment): New method. 9096 (getAlignment): New method. 9097 * javax/swing/text/View.java 9098 (getContainer): Improved error message in assertion a little. 9099 91002005-10-05 Lillian Angel <langel@redhat.com> 9101 9102 * javax/swing/plaf/metal/MetalTreeUI.java 9103 (installUI): Fixed to call toggleExpandState instead. 9104 * javax/swing/plaf/basic/BasicTreeUI.java 9105 (getPathForRow): Used currentVisiblePath to get Path. 9106 (getRowForPath): Used currentVisiblePath to get row. 9107 (getRowCount): Returned currentVisiblePath length. 9108 (updateLayoutCacheExpandedNodes): Took out unneeded code. 9109 (installUI): Fixed to call toggleExpandState instead. 9110 (getPreferredSize): Made more efficent by using currentVisiblePath. 9111 (toggleExpandState): Called updateCurrentVisiblePath. 9112 (getCellLocation): Made more efficent. 9113 (paintNode): Removed. 9114 (paintRecursive): Made more efficent, changed paintNode calls to 9115 paintRow. 9116 (getNextVisibleNode): Reimplemented to use currentVisiblePath. 9117 (getPreviousVisibleNode): Likewise. 9118 (paintRow): Implemented. 9119 (updateCurrentVisiblePath): New helper used to cache the current 9120 visible path. 9121 91222005-10-05 Mark Wielaard <mark@klomp.org> 9123 9124 Reported by Nicolas Geoffray <nicolas.geoffray@lip6.fr> 9125 * java/security/AccessController.java 9126 (doPrivileged(PrivilegedExceptionAction)): If the Exception is a 9127 Runtime exception, then throw the exception directly, otherwise 9128 wrap it. 9129 (doPrivileged(PrivilegedExceptionAction,AccessControlContext)): 9130 Likewise. 9131 91322005-10-05 Roman Kennke <kennke@aicas.com> 9133 9134 * javax/swing/text/GapContent.java 9135 (setPositionsInRange): Changed check for interval end to actually 9136 check for the position offsets. 9137 (adjustPositionsInRange): Changed check for interval end to actually 9138 check for the position offsets. 9139 (dump): New method for debugging. 9140 (dumpPositions): New method for debugging. 9141 91422005-10-05 Christian Thalinger <twisti@complang.tuwien.ac.at> 9143 9144 * m4/acattribute.m4: Added. 9145 * configure.ac: Added AC_C_ATTRIBUTE. 9146 * native/fdlibm/java-assert.h: Added missing config.h include, 9147 changed comments to C comments. 9148 * native/jni/java-lang/java_lang_reflect_Array.c: Added missing 9149 config.h include. 9150 91512005-10-05 Anthony Balkissoon <abalkiss@redhat.com> 9152 9153 * javax/swing/text/PlainView.java: 9154 (insertOrRemoveUpdate): New method. 9155 (insertUpdate): New method. 9156 (removeUpdate): New method. 9157 91582005-10-05 Mark Wielaard <mark@klomp.org> 9159 9160 * javax/swing/JOptionPane.java 9161 (showInputDialog(Component,Object,String,int,Icon,Object[],Object)): 9162 Don't cast return value. 9163 (internalShowInputDialog(Component,Object,String,int,Icon,Object[], 9164 Object)): Likewise. 9165 91662005-10-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9167 9168 * gnu/CORBA/CDR/cdrInput.java, 9169 gnu/CORBA/EmptyExceptionHolder.java, 9170 gnu/CORBA/ForwardRequestHelper.java, 9171 gnu/CORBA/Functional_ORB.java, 9172 gnu/CORBA/Poa/gnuServantObject.java, 9173 gnu/CORBA/_PolicyImplBase.java, 9174 gnu/CORBA/gnuAny.java, 9175 gnu/CORBA/universalHolder.java, 9176 org/omg/CORBA/CompletionStatus.java, 9177 org/omg/CORBA/NameValuePairHelper.java, 9178 org/omg/CORBA/ObjectHelper.java, 9179 org/omg/CORBA/PolicyHelper.java, 9180 org/omg/CORBA/PolicyListHelper.java, 9181 org/omg/CORBA/ServiceDetailHelper.java, 9182 org/omg/CORBA/StringValueHelper.java, 9183 org/omg/CORBA/WStringValueHelper.java, 9184 org/omg/CosNaming/BindingHelper.java, 9185 org/omg/CosNaming/BindingIteratorHelper.java, 9186 org/omg/CosNaming/BindingIteratorPOA.java, 9187 org/omg/CosNaming/BindingTypeHelper.java, 9188 org/omg/CosNaming/NameComponentHelper.java, 9189 org/omg/CosNaming/NameHelper.java, 9190 org/omg/CosNaming/NamingContextExtHelper.java, 9191 org/omg/CosNaming/NamingContextExtPOA.java, 9192 org/omg/CosNaming/NamingContextHelper.java, 9193 org/omg/CosNaming/NamingContextPOA.java, 9194 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, 9195 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, 9196 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, 9197 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, 9198 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, 9199 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, 9200 org/omg/CosNaming/_BindingIteratorImplBase.java, 9201 org/omg/CosNaming/_NamingContextImplBase.java, 9202 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, 9203 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, 9204 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, 9205 org/omg/DynamicAny/DynAnySeqHelper.java, 9206 org/omg/DynamicAny/NameDynAnyPairHelper.java, 9207 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, 9208 org/omg/DynamicAny/NameValuePairHelper.java, 9209 org/omg/DynamicAny/NameValuePairSeqHelper.java, 9210 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, 9211 org/omg/IOP/CodecPackage/FormatMismatchHelper.java, 9212 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, 9213 org/omg/IOP/CodecPackage/TypeMismatchHelper.java, 9214 org/omg/IOP/IORHelper.java, 9215 org/omg/IOP/MultipleComponentProfileHelper.java, 9216 org/omg/IOP/ServiceContextHelper.java, 9217 org/omg/IOP/ServiceContextListHelper.java, 9218 org/omg/IOP/TaggedComponentHelper.java, 9219 org/omg/IOP/TaggedProfileHelper.java, 9220 org/omg/PortableInterceptor/ForwardRequestHelper.java, 9221 org/omg/PortableInterceptor/InvalidSlotHelper.java, 9222 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, 9223 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, 9224 org/omg/PortableServer/CurrentPackage/NoContextHelper.java, 9225 org/omg/PortableServer/ForwardRequestHelper.java, 9226 org/omg/PortableServer/IdAssignmentPolicyValue.java, 9227 org/omg/PortableServer/IdUniquenessPolicyValue.java, 9228 org/omg/PortableServer/ImplicitActivationPolicyValue.java, 9229 org/omg/PortableServer/LifespanPolicyValue.java, 9230 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, 9231 org/omg/PortableServer/POAManagerPackage/State.java, 9232 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, 9233 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, 9234 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, 9235 org/omg/PortableServer/POAPackage/NoServantHelper.java, 9236 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, 9237 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, 9238 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java, 9239 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, 9240 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, 9241 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, 9242 org/omg/PortableServer/RequestProcessingPolicyValue.java, 9243 org/omg/PortableServer/Servant.java, 9244 org/omg/PortableServer/ServantLocatorHelper.java, 9245 org/omg/PortableServer/ServantRetentionPolicyValue.java, 9246 org/omg/PortableServer/ThreadPolicyValue.java: Added minor codes for BAD_PARAM and NO_RESOURCES. 9247 * gnu/CORBA/Minor.java: Introduces new minor codes. 9248 * org/omg/CORBA/BAD_OPERATION.java, 9249 org/omg/CORBA/MARSHAL.java, 9250 org/omg/CORBA/NO_RESOURCES.java: Documentation update. 9251 92522005-10-05 Stuart Ballard <stuart.a.ballard@gmail.com> 9253 9254 * java/rmi/LoaderHandler.java (packagePrefix): Match Sun's value. 9255 * java/rmi/RemoteRef.java (packagePrefix): Likewise. 9256 * java/rmi/RemoteObject.java (readObject): Hardcode the GNU package 9257 prefix. 9258 92592005-10-05 Anthony Balkissoon <abalkiss@redhat.com> 9260 9261 * javax/swing/text/AbstractDocument.java: 9262 (remove): If removing content returns an UndoableEdit, then add an 9263 ElementEdit to the DocumentEvent before firing. 9264 * javax/swing/text/GapContent.java: 9265 (UndoRemove): New class to implement UndoableEdit for remove operation. 9266 (remove): Return an UndoableEdit instead of null. 9267 92682005-10-05 Roman Kennke <kennke@aicas.com> 9269 9270 * javax/swing/text/LabelView.java 9271 (LabelView): Implemented the constructor. 9272 (setPropertiesFromAttributes): New method. 9273 (changedUpdate): New method. 9274 (getBackground): New method. 9275 (setBackground): New method. 9276 (getForeground): New method. 9277 (getFont): New method. 9278 (getFontMetrics): New method. 9279 (isUnderline): New method. 9280 (setUnderline): New method. 9281 (isSubscript): New method. 9282 (setSubscript): New method. 9283 (isSuperscript): New method. 9284 (setSuperscript): New method. 9285 (isStrikeThrough): New method. 9286 (setStrikeThrough): New method. 9287 92882005-10-05 Roman Kennke <kennke@aicas.com> 9289 9290 * javax/swing/table/JTableHeader.java 9291 (accessibleContext): Removed unneeded field. The protected 9292 field with the same name should be used instead. 9293 (JTableHeader): Moved field initialization to new method 9294 initializeLocalVars(). 9295 (setColumnModel): Add and remove this to the old and new model. 9296 (columnAdded): New listener method. 9297 (columnMarginChanged): New listener method. 9298 (columnMoved): New listener method. 9299 (columnRemoved): New listener method. 9300 (columnSelectionChanged): New listener method. 9301 (resizeAndRepaint): New method. 9302 (initializeLocalVars): New method. 9303 93042005-10-04 Tom Tromey <tromey@redhat.com> 9305 9306 * java/awt/Dialog.java (show): Now deprecated. 9307 (hide): Likewise. 9308 93092005-10-04 Tom Tromey <tromey@redhat.com> 9310 9311 * java/lang/ref/Reference.java (nextOnQueue): Changed type. 9312 * java/lang/ref/ReferenceQueue.java (first): Changed type. 9313 93142005-10-04 David Gilbert <david.gilbert@object-refinery.com> 9315 9316 * javax/swing/plaf/basic/BasicFileChooserUI.java: Added API docs all 9317 over. 9318 93192005-10-04 Anthony Balkissoon <abalkiss@redhat.com> 9320 9321 * javax/swing/text/AbstractDocument.java: 9322 (insertString): If inserting a string into the Content returns an 9323 UndoableEdit, then add an ElementEdit to the DocumentEvent before 9324 firing. 9325 (remove): Don't fire a removeUpdate unless some content was actually 9326 removed. 9327 * javax/swing/text/GapContent.java: 9328 (UndoInsertString): New class to implement UndoableEdit functions. 9329 (insertString): Return an UndoableEdit instead of null. Also use 9330 locally calculated length of String rather than calculating again. 9331 * javax/swing/text/JTextComponent.java: 9332 (setText): If the Document is an AbstractDocument this should pass 9333 through AbstractDocument.replace rather than calling remove and insert. 9334 * javax/swing/text/PlainView.java: 9335 (determineMaxLength): Keep track of which line was the longest as well 9336 as the length of it. We'll need this to know when the longest line is 9337 removed and we need to redetermine the longest line. 9338 93392005-10-04 Thomas Fitzsimmons <fitzsim@redhat.com> 9340 9341 * javax/imageio/ImageWriter.java 9342 (processWarningOccurred(int,String,String)): New method. 9343 * javax/imageio/ImageReader.java 9344 (processWarningOccurred(String,String)): New method. 9345 93462005-10-04 Thomas Fitzsimmons <fitzsim@redhat.com> 9347 9348 * javax/imageio/ImageReader.java (getDestination): Throw 9349 IIOException, not IOException. 9350 * javax/imageio/ImageTypeSpecifier.java 9351 (createGrayscale(int,int,boolean)): Rename from createGrayScale. 9352 (createGrayscale(int,int,boolean,boolean)): Likewise. 9353 (createIndexed): Rename from createIndex. 9354 93552005-10-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9356 9357 * doc/www.gnu.org/corba.wml: 9358 Link to http://doc.omg.org/vendor-tags. 9359 93602005-10-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9361 9362 * gnu/CORBA/Minor.java: New file. 9363 * gnu/CORBA/CDR/IDLTypeHelper.java, 9364 gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, 9365 gnu/CORBA/CDR/Vio.java, 9366 gnu/CORBA/CDR/cdrInput.java, 9367 gnu/CORBA/CDR/cdrOutput.java, 9368 gnu/CORBA/CDR/gnuRuntime.java, 9369 gnu/CORBA/CDR/noHeaderInput.java, 9370 gnu/CORBA/DynAn/gnuDynValue.java, 9371 gnu/CORBA/GIOP/CloseMessage.java, 9372 gnu/CORBA/GIOP/ErrorMessage.java, 9373 gnu/CORBA/GIOP/MessageHeader.java, 9374 gnu/CORBA/GIOP/v1_2/RequestHeader.java, 9375 gnu/CORBA/IOR.java, 9376 gnu/CORBA/Poa/ForwardedServant.java, 9377 gnu/CORBA/Version.java, 9378 gnu/CORBA/cdrEncapsCodec.java, 9379 gnu/CORBA/gnuAny.java, 9380 gnu/CORBA/gnuRequest.java, 9381 gnu/CORBA/streamReadyHolder.java, 9382 gnu/CORBA/universalHolder.java, 9383 gnu/javax/rmi/CORBA/UtilDelegateImpl.java, 9384 gnu/javax/rmi/CORBA/corbaObjectOutput.java, 9385 gnu/javax/rmi/CORBA/gnuRmiUtil.java, 9386 org/omg/CORBA/StringValueHelper.java, 9387 org/omg/CORBA/StructMemberHelper.java, 9388 org/omg/CORBA/UnionMemberHelper.java, 9389 org/omg/CORBA/ValueMemberHelper.java, 9390 org/omg/CORBA/WStringValueHelper.java, 9391 org/omg/CORBA/_IDLTypeStub.java, 9392 org/omg/DynamicAny/DynAnyFactoryHelper.java, 9393 org/omg/DynamicAny/_DynAnyFactoryStub.java, 9394 org/omg/IOP/TaggedComponentHelper.java, 9395 org/omg/IOP/TaggedProfileHelper.java, 9396 org/omg/PortableInterceptor/CurrentHelper.java, 9397 org/omg/PortableServer/POAHelper.java, 9398 org/omg/PortableServer/ServantActivatorHelper.java, 9399 org/omg/PortableServer/ServantLocatorHelper.java: 9400 Initialising minor codes for MARSHAL. 9401 * org/omg/CORBA/SystemException.java: Documentation update and 9402 add minor code to the exception message. 9403 * org/omg/CORBA/MARSHAL.java: Documentation update. 9404 94052005-10-04 Mark Wielaard <mark@klomp.org> 9406 9407 * javax/swing/plaf/metal/MetalBorders.java (paintBorder): Check 9408 whether Component is JTextComponent. 9409 94102005-10-04 Andreas Tobler <a.tobler@schweiz.ch> 9411 9412 * javax/imageio/ImageWriter.java (availableLocales, locale, 9413 originatingProvider, output, progressListeners, warningListeners, 9414 warningLocales): Initialize. 9415 (addIIOWriteProgressListener): Check progressListeners against null 9416 to avoid NPE. Create new ArrayList if progressListeners is null. 9417 (addIIOWriteWarningListener): Likewise for warningListeners. 9418 (processImageComplete): Check progressListeners against null to 9419 avoid NPE. 9420 (processImageProgress): Likewise. 9421 (processImageStarted): Likewise. 9422 (processThumbnailComplete): Likewise. 9423 (processThumbnailProgress): Likewise. 9424 (processThumbnailStarted): Likewise. 9425 (processWarningOccurred): Likewise for warningListeners. 9426 (processWriteAborted): Likewise for progressListeners. 9427 (removeAllIIOWriteProgressListeners): Likewise. 9428 (removeAllIIOWriteWarningListeners): Likewise. 9429 (removeIIOWriteProgressListener): Likewise. 9430 (removeIIOWriteWarningListener): Likewise for warningListeners. 9431 9432 * javax/imageio/ImageReader.java (addIIOReadProgressListener): Check 9433 progressListeners against null to avoid NPE. Create new ArrayList 9434 if progressListeners is null. 9435 (addIIOReadUpdateListener): Likewise for updateListeners. 9436 (addIIOReadWarningListener): Likewise for warningListeners. 9437 (processImageComplete): Check progressListeners against null to 9438 avoid NPE. 9439 (processImageProgress): Likewise. 9440 (processImageStarted): Likewise. 9441 (processImageUpdate): Likewise for updateListeners. 9442 (processPassComplete): Likewise. 9443 (processPassStarted): Likewise. 9444 (processReadAborted): Likewise for progressListeners. 9445 (processSequenceComplete): Likewise. 9446 (processSequenceStarted): Likewise. 9447 (processThumbnailComplete): Likewise. 9448 (processThumbnailPassComplete): Likewise for updateListeners. 9449 (processThumbnailPassStarted): Likewise. 9450 (processThumbnailProgress): Likewise for progressListeners. 9451 (processThumbnailStarted): Likewise. 9452 (processThumbnailUpdate): Likewise for updateListeners. 9453 (processWarningOccurred): Likewise for warningListeners. 9454 (removeIIOReadProgressListener): Likewise for progressListeners. 9455 (removeIIOReadUpdateListener): Likewise for updateListeners. 9456 (removeIIOReadWarningListener): Likewise for warningListeners. 9457 94582005-10-04 Lillian Angel <langel@redhat.com> 9459 9460 * javax/swing/plaf/metal/MetalToolTipUI.java 9461 (paint): Added space around the toolTip's accelerator. 9462 (fetchAcceleratorString): Added code to get mnemonic for 9463 JMenuItem if it does not have an accelerator. 9464 94652005-10-04 Roman Kennke <kennke@aicas.com> 9466 9467 * javax/swing/text/DefaultCaret.java 9468 (repaint): Adjust repaint rectangle. 9469 (setVisible): Only repaint if the visible property actually changed. 9470 94712005-10-04 Anthony Balkissoon <abalkiss@redhat.com> 9472 9473 * javax/swing/text/JTextComponent.java: Reformatted file. 9474 94752005-10-04 Roman Kennke <kennke@aicas.com> 9476 9477 Fixes Bug #24080 9478 * javax/swing/SizeRequirements.java 9479 (adjustGreater): Added check to prevent overflow. 9480 94812005-10-04 David Gilbert <david.gilbert@object-refinery.com> 9482 9483 * javax/swing/plaf/basic/BasicToolTipUI.java 9484 (accText): removed, 9485 (accDeliminator): removed, 9486 (accFont): removed, 9487 (accFore): removed, 9488 (getPreferredSize): removed accelerator code (now in MetalToolTipUI), 9489 (getAcceleratorText): removed (equivalent is now in MetalToolTipUI), 9490 (paint): removed accelerator painting, 9491 * javax/swing/plaf/metal/MetalToolTipUI.java 9492 (padSpaceBetweenStrings): new field, 9493 (MetalToolTipUI): initialise defaults, 9494 (getAcceleratorString): new method, 9495 (installUI): new method, 9496 (uninstallUI): new method, 9497 (isAcceleratorHidden): new method, 9498 (getPreferredSize): new method, 9499 (paint): new method, 9500 (fetchAcceleratorString): new private method, 9501 (acceleratorToString): new private method, 9502 * examples/gnu/classpath/examples/swing/Demo.java 9503 (mkButton): set tool tip. 9504 95052005-10-04 Roman Kennke <kennke@aicas.com> 9506 9507 * java/awt/Component.java 9508 (getFont): Fall back to peer.getGraphics().getFont() if no font 9509 is found. 9510 (getGraphics): Set font here. This avoids a loop in the above 9511 fallback. 9512 * gnu/java/awt/peer/gtk/GdkGraphics.java 9513 (GdkGraphics): Don't initialize font here. This would cause a 9514 loop in the above fallback. 9515 95162005-10-04 Anthony Green <green@redhat.com> 9517 9518 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c 9519 (process): Add comments. Remove unused gettimeofday call. 9520 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove 9521 debug output. Add comments. 9522 (Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1, 9523 Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Add 9524 comments. Remove bogus __attribute__((unused)). 9525 * native/jni/midi-dssi/dssi_data.h (JLONG_TO_PTR, PTR_TO_JLONG): 9526 Document helper macros. 9527 (dssi_data): Document. 9528 * native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c: 9529 Formatting fixes. 9530 * native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c 9531 (Java_gnu_javax_sound_midi_alsa_AlsaPortDevice_run_1receiver_1thread_1): 9532 Remove debugging output. 9533 95342005-10-04 Roman Kennke <kennke@aicas.com> 9535 9536 * javax/swing/AbstractButton.java 9537 (AbstractButton): Set text to "" here. 9538 95392005-10-04 Andreas Tobler <a.tobler@schweiz.ch> 9540 9541 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (clearRect): Check bg 9542 against null to avoid NPE. 9543 95442005-10-03 Tom Tromey <tromey@redhat.com> 9545 9546 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Use Configuration 9547 to see if library should be loaded. 9548 95492005-10-03 Anthony Balkissoon <abalkiss@redhat.com> 9550 9551 * javax/swing/text/PlainView.java: 9552 (maxLineLength): New variable to cache the length of the longest line. 9553 (determineMaxLength): New implementation method. 9554 (getPreferredSpan): Call determine max length instead of calculating 9555 it here. 9556 95572005-10-03 Tom Tromey <tromey@redhat.com> 9558 9559 * java/awt/image/ComponentSampleModel.java (numBands): Updated 9560 javadoc. 9561 (ComponentSampleModel): Set numBands. 9562 * java/awt/image/SampleModel.java (numBands): Now protected. 9563 95642005-10-03 Tom Tromey <tromey@redhat.com> 9565 9566 * java/awt/Polygon.java (evaluateCrossings): Removed @see. 9567 * java/awt/image/ImageConsumer.java (SINGLEPASS): Javadoc fix. 9568 * java/awt/Image.java (getGraphics): Removed @see. 9569 * java/awt/MenuComponent.java (setEnabled): Javadoc fix. 9570 (setBackground): Likewise. 9571 * java/awt/event/MouseEvent.java: Added import for javadoc. 9572 * java/awt/im/spi/InputMethodDescriptor.java: Added import for javadoc. 9573 (getAvailableLocales): Javadoc fix. 9574 * java/awt/KeyboardFocusManager.java: Added import for javadoc. 9575 (defaultPolicy): Javadoc fix. 9576 (setGlobalObject): Javadoc fixes. 9577 (getObject): Likewise. 9578 (getGlobalObject): Likewise. 9579 * java/awt/im/InputMethodRequests.java: Added imports for javadoc. 9580 * java/awt/im/spi/InputMethodContext.java: Added imports for javadoc. 9581 (enableClientWindowNotification): Javadoc fix. 9582 * java/awt/im/spi/InputMethod.java: Added imports for javadoc. 9583 (removeNotify): Javadoc fix. 9584 (notifyClientWindowChange): Likewise. 9585 * java/awt/im/InputContext.java: Added import for javadoc. 9586 * java/awt/image/ColorModel.java (getDataElements): Javadoc fix. 9587 * java/awt/geom/Area.java (recursiveSubdivide): Javadoc fix. 9588 * java/awt/geom/GeneralPath.java (GeneralPathIterator): Javadoc fix. 9589 * java/awt/im/InputMethodHighlight.java: Javadoc fixes. Added 9590 imports. 9591 * java/awt/color/ICC_Profile.java (getInstance): Javadoc fix. 9592 (getInstance): Likewise. 9593 * java/awt/EventQueue.java: Organized imports. 9594 * java/awt/image/BufferedImage.java: Organized imports. 9595 * java/awt/image/PackedColorModel.java (initMasks): Javadoc fix. 9596 * java/awt/GraphicsConfiguration.java (createCompatibleVolatileImage): 9597 Javadoc fixes. 9598 * java/awt/DefaultKeyboardFocusManager.java (delayRequests): Javadoc 9599 fix. 9600 * java/awt/ColorPaintContext.java (ColorPaintContext): Javadoc fix. 9601 96022005-10-03 Lillian Angel <langel@redhat.com> 9603 9604 * javax/swing/JOptionPane.java 9605 (getInputValue): If the option selected is 'Cancel', then 9606 the input value is set to null. 9607 (showInternalConfirmDialog): Added check to prevent NPE. 9608 (showInternalConfirmDialog): Likewise. 9609 (showInternalConfirmDialog): Likewise. 9610 (showInternalConfirmDialog): Likewise. 9611 (showInternalOptionDialog): Likewise. 9612 (showOptionDialog): Likewise. 9613 96142005-10-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9615 9616 * javax/rmi/CORBA/ValueHandler.java (getRunTimeCodeBase): 9617 Fixed return type. 9618 * gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java 9619 (getRunTimeCodeBase): Implemented. 9620 96212005-10-03 Lillian Angel <langel@redhat.com> 9622 9623 * javax/swing/JMenuItem.java 9624 (init): Set horizontalTextPosition to TRAILING, instead of 9625 LEFT. Icons are drawn in the correct spot now. 9626 96272005-10-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9628 9629 * doc/www.gnu.org/corba.wml: New file. 9630 96312005-10-03 David Gilbert <david.gilbert@object-refinery.com> 9632 9633 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 9634 (layoutLabel): place text to the right of the icon, if there is one. 9635 96362005-10-03 David Gilbert <david.gilbert@object-refinery.com> 9637 9638 * javax/swing/plaf/metal/MetalComboBoxButton.java 9639 (paintComponent): reposition text and truncate if necessary, 9640 (truncateText): private utility method. 9641 96422005-10-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9643 9644 * NEWS: Added entry about Classpath VMCID and IIOP. 9645 96462005-10-02 Anthony Green <green@redhat.com> 9647 9648 * native/jni/Makefile.am: Maybe build ALSA code. 9649 Maybe build DSSI code. 9650 9651 * gnu/javax/sound/midi/alsa/AlsaPortDevice.java, 9652 gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.java 9653 gnu/javax/sound/midi/alsa/AlsaInputPortDevice.java 9654 gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.java 9655 gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Rebuilt. 9656 native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaPortDevice.c, 9657 native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.c, 9658 native/jni/midi-alsa/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.c, 9659 native/jni/midi-dssi/dssi_data.h, native/jni/midi-dssi/Makefile.am, 9660 native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.c 9661 native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c, 9662 native/jni/midi-alsa/Makefile.am: New files. 9663 9664 * include/Makefile.am: Add sound header files. 9665 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h, 9666 include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h 9667 include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h 9668 include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h, 9669 include/gnu_javax_sound_midi_alsa_AlsaSequencerDevice.h: New 9670 files. 9671 9672 * configure.ac (AC_CONFIG_FILES): Add 9673 native/jni/midi-alsa/Makefile, native/jni/midi-dssi/Makefile. 9674 96752005-10-02 Mark Wielaard <mark@klomp.org> 9676 9677 * java/awt/Font.java (peer): Make field transient. 9678 (Font(String,int,int)): Explicitly set name field. 9679 (Font(String,Map)): Likewise. 9680 (readObject): New private method. 9681 96822005-10-02 Mark Wielaard <mark@klomp.org> 9683 9684 * java/io/ObjectOutputStream.java (writeObject): Add defining class 9685 to NotSerializableException. 9686 96872005-10-02 Tom Tromey <tromey@redhat.com> 9688 9689 * java/net/URLStreamHandler.java (hostsEqual): Javadoc fix. 9690 * java/net/URLClassLoader.java (definePackage): Javadoc fixes. 9691 * java/net/Inet4Address.java (Inet4Address): Javadoc fix. 9692 * java/net/Socket.java (getLocalAddress): Javadoc fix. 9693 * java/net/DatagramSocket.java (connect): Javadoc fix. 9694 96952005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9696 9697 * gnu/javax/rmi/PortableServer.java, 9698 gnu/javax/rmi/CORBA/ValueHandlerImpl.java, 9699 javax/rmi/BAD_OPERATION.java, 9700 javax/rmi/ORB.java, 9701 javax/rmi/CORBA/ObjectImpl.java, 9702 javax/rmi/CORBA/SystemException.java: Deleted. 9703 97042005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9705 9706 * gnu/javax/rmi/CORBA/corbaObjectOutput.java (main): 9707 Removed method. 9708 97092005-10-02 Casey Marshall <csm@gnu.org> 9710 9711 * gnu/javax/crypto/DiffieHellmanImpl.java (random): removed. 9712 (<init>): removed 'random' initialization. 9713 (engineDoPhase): use params from the incoming key; generate the 9714 intermediate result from the incoming key, not a random one; only 9715 support one-phase DH, for now. 9716 (engineInit): removed 'random' initialization. 9717 97182005-10-02 Robert Schuster <robertschuster@fsfe.org> 9719 9720 * gnu/xml/stream/XMLOutputFactoryImpl.java: 9721 (setProperty): Added 'else'. 9722 97232005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9724 9725 * gnu/CORBA/CDR/Vio.java, 9726 gnu/CORBA/CDR/cdrBufOutput.java, 9727 gnu/CORBA/CDR/gnuRuntime.java, 9728 gnu/javax/rmi/CORBA/corbaObjectInput.java, 9729 gnu/javax/rmi/CORBA/dwoTester.java, 9730 gnu/javax/rmi/CORBA/gnuRmiUtil.java: Corrected copyright 9731 header identation. 9732 97332005-10-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 9734 9735 * gnu/CORBA/CDR/ArrayValueHelper.java, 9736 gnu/CORBA/CDR/IDLTypeHelper.java, 9737 gnu/CORBA/CDR/UnknownExceptionCtxHandler.java, 9738 gnu/CORBA/CDR/gnuRuntime.java, 9739 gnu/CORBA/CDR/gnuValueStream.java, 9740 gnu/CORBA/CDR/VMVio.java, 9741 gnu/CORBA/IorProvider.java, 9742 gnu/javax/rmi/CORBA/TieTargetRecord.java, 9743 gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java, 9744 gnu/javax/rmi/CORBA/corbaObjectInput.java, 9745 gnu/javax/rmi/CORBA/corbaObjectOutput.java, 9746 gnu/javax/rmi/CORBA/dwoTester.java, 9747 gnu/javax/rmi/CORBA/gnuRmiUtil.java: New files. 9748 * gnu/CORBA/CDR/aligningInputStream.java, 9749 gnu/CORBA/CDR/aligningOutputStream.java: 9750 gnu/CORBA/CDR/Vio.java, 9751 gnu/CORBA/CDR/cdrBufInput.java, 9752 gnu/CORBA/CDR/cdrBufOutput.java, 9753 gnu/CORBA/CDR/cdrInput.java, 9754 gnu/CORBA/CDR/cdrOutput.java, 9755 gnu/CORBA/CDR/noHeaderInput.java, 9756 gnu/CORBA/Functional_ORB.java, 9757 gnu/CORBA/GIOP/MessageHeader.java, 9758 gnu/CORBA/GIOP/ServiceContext.java, 9759 gnu/CORBA/IOR_Delegate.java, 9760 gnu/CORBA/IOR_contructed_object.java, 9761 gnu/CORBA/Interceptor/Registrator.java, 9762 gnu/CORBA/NamingService/NameParser.java, 9763 gnu/CORBA/NamingService/NamingServiceTransient.java, 9764 gnu/CORBA/ObjectCreator.java, 9765 gnu/CORBA/Poa/LocalDelegate.java, 9766 gnu/CORBA/Poa/ORB_1_4.java, 9767 gnu/CORBA/Poa/gnuPOA.java, 9768 gnu/CORBA/Poa/gnuServantObject.java, 9769 gnu/CORBA/Simple_delegate.java, 9770 gnu/CORBA/gnuAny.java, 9771 gnu/CORBA/gnuRequest.java, 9772 org/omg/CORBA/OMGVMCID.java, 9773 org/omg/CORBA/StringValueHelper.java, 9774 org/omg/CORBA/SystemException.java, 9775 org/omg/CORBA/WStringValueHelper.java, 9776 org/omg/CORBA/portable/ObjectImpl.java, 9777 org/omg/CORBA_2_3/ORB.java, 9778 org/omg/CORBA_2_3/portable/InputStream.java, 9779 org/omg/CORBA_2_3/portable/OutputStream.java: Modified to support 9780 RMI over CORBA mechanism. 9781 * gnu/javax/rmi/CORBA/DelegateFactory.java, 9782 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, 9783 gnu/javax/rmi/CORBA/StubDelegateImpl.java, 9784 gnu/javax/rmi/CORBA/UtilDelegateImpl.java, 9785 javax/rmi/CORBA/ClassDesc.java, 9786 javax/rmi/CORBA/PortableRemoteObjectDelegate.java, 9787 javax/rmi/CORBA/Stub.java, 9788 javax/rmi/CORBA/StubDelegate.java, 9789 javax/rmi/CORBA/Tie.java, 9790 javax/rmi/CORBA/Util.java, 9791 javax/rmi/CORBA/UtilDelegate.java, 9792 javax/rmi/CORBA/ValueHandler.java, 9793 javax/rmi/CORBA/package.html, 9794 javax/rmi/PortableRemoteObject.java, 9795 javax/rmi/package.html: New files (replacing). 9796 * gnu/javax/rmi/CORBA/ValueHandlerImpl.java, 9797 gnu/javax/rmi/PortableServer.java: Modified to keep the code 9798 compileable between subsequent patches. 9799 98002005-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> 9801 9802 * javax/imageio/ImageIO.java: Fix compilation problems. 9803 98042005-10-01 Mark Wielaard <mark@klomp.org> 9805 9806 * javax/swing/plaf/metal/MetalScrollBarUI.java 9807 (MetalScrollBarPropertyChangeHandler.propertyChange): 9808 Only set free standing when increase or decrease button isn't null. 9809 If not FREE_STANDING_PROP pass up event to super class. 9810 98112005-10-02 Mark Wielaard <mark@klomp.org> 9812 9813 Workarounds for bug #24166 9814 * javax/imageio/ImageIO.java (filter): Catch IOException in 9815 canDecodeInput(). 9816 (TranscoderFilter.WriterObjectFilter): Renamed to TranscoderFilter. 9817 (getImageReadersBySuffix): Use ReaderObjectFilter, not the nonexisting 9818 ReaderSuffixFilter. 9819 (createImageInputStream): Test with Class.isAssignableFrom() and for 9820 foundSpi == null. 9821 (createImageOutputStream): Likewise and use output, not input. 9822 (getImageReader): Always return null for now. 9823 (getImageReaders): Use input, not object. 9824 (getImageWriters): Rename formatName to format and create a 9825 WriterObjectFilter with type and format not just object. 9826 (getImageWriter): Always return null for now. 9827 (getImageTranscoders): Create TranscoderFilter not ImageTranscoderSpi 9828 instance. 9829 98302005-10-02 David Gilbert <david.gilbert@object-refinery.com> 9831 9832 * javax/swing/plaf/basic/BasicButtonUI.java: API doc updates. 9833 98342005-10-02 Thomas Fitzsimmons <fitzsim@redhat.com> 9835 9836 * javax/imageio/IIOException.java: Document. 9837 * javax/imageio/IIOImage.java: Document. 9838 * javax/imageio/IIOParam.java: Complete and document. 9839 * javax/imageio/IIOParamController.java: Document. 9840 * javax/imageio/ImageIO.java: Complete and document. 9841 * javax/imageio/ImageReader.java: Complete and document. 9842 * javax/imageio/ImageTranscoder.java: Document. 9843 * javax/imageio/ImageTypeSpecifier.java: Complete and document. 9844 * javax/imageio/ImageWriter.java: Complete and document. 9845 * javax/imageio/package.html: Write. 9846 98472005-10-01 Jeroen Frijters <jeroen@frijters.net> 9848 9849 * vm/reference/java/lang/reflect/Constructor.java 9850 (getSignature): New method. 9851 (getGenericExceptionTypes): New method. 9852 (getGenericParameterTypes): New method. 9853 * vm/reference/java/lang/reflect/Field.java 9854 (getGenericType): New method. 9855 (getSignature): New method. 9856 * vm/reference/java/lang/reflect/Method.java 9857 (getSignature): New method. 9858 (getGenericExceptionTypes): New method. 9859 (getGenericParameterTypes): New method. 9860 (getGenericReturnType): New method. 9861 98622005-10-01 Tom Tromey <tromey@redhat.com> 9863 9864 PR classpath/23890: 9865 * java/util/Calendar.java (equals): Include other calendar 9866 attributes. 9867 (hashCode): Updated. 9868 * java/util/GregorianCalendar.java (hashCode): New method. 9869 (equals): Use super.equals(). 9870 98712005-10-01 Thomas Fitzsimmons <fitzsim@redhat.com> 9872 9873 * java/awt/image/ComponentSampleModel.java (numBands): Shadow 9874 package-private field in parent class with this protected field. 9875 * java/awt/image/SampleModel.java (numBands): Make field 9876 package-private. 9877 98782005-10-01 Tom Tromey <tromey@redhat.com> 9879 9880 PR classpath/23880: 9881 * gnu/java/security/x509/ext/Extension.java (Value.hashCode): New 9882 method. 9883 * gnu/java/security/der/BitString.java (hashCode): New method. 9884 * javax/security/auth/x500/X500Principal.java (hashCode): New method. 9885 98862005-10-01 Jeroen Frijters <jeroen@frijters.net> 9887 9888 * java/net/URLClassLoader.java 9889 (Resource.name): Removed field. 9890 (JarURLResource.name): Added field. 9891 (FileResource.getURL): Use File.toURL() instead of doing it in 9892 a way that breaks on Windows. 9893 98942005-10-01 Mark Wielaard <mark@klomp.org> 9895 9896 * doc/www.gnu.org/include/layout.wml: Point Tasks menu item to 9897 mediation wiki. 9898 * doc/www.gnu.org/tasks.wml: Redirect to mediation wiki. 9899 99002005-10-01 Andreas Tobler <a.tobler@schweiz.ch> 9901 9902 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 9903 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_setTexturePixelsUnlocked): 9904 Call cairo_pattern_set_extend after gr->pattern has been set and checked 9905 versus NULL. 9906 99072005-09-30 Jeroen Frijters <jeroen@frijters.net> 9908 9909 * gnu/java/lang/reflect/FieldSignatureParser.java: New file. 9910 * gnu/java/lang/reflect/ClassSignatureParser.java, 9911 gnu/java/lang/reflect/GenericSignatureParser.java, 9912 gnu/java/lang/reflect/MethodSignatureParser.java: 9913 Finished implementation. 9914 99152005-09-30 Roman Kennke <kennke@aicas.com> 9916 9917 * javax/swing/JTextPane.java 9918 (replaceSelection): Don't update the caret position here. 9919 * javax/swing/plaf/basic/BasicTextUI.java 9920 (DocumentHandler.insertUpdate): Likewise. 9921 (DocumentHandler.removeUpdate): Likewise. 9922 * javax/swing/text/DefaultCaret.java 9923 (DocumentHandler): New inner class. Handles caret position updates. 9924 (PropertyChangeHandler): New inner class. (Un)installs document 9925 listener when the text component's document changes. 9926 (install): Install the new listeners on the text component. 9927 (deinstall): Deinstall the new listeners on the text component. 9928 * javax/swing/text/DefaultEditorKit.java 9929 (DefaultKeyTypedAction.actionPerformed): Don't update the caret 9930 position here. 9931 99322005-09-30 Lillian Angel <langel@redhat.com> 9933 9934 * javax/swing/AbstractButton.java 9935 (AbstractButton): updateUI should be called after 9936 everything is initialized, so everything is revalidated. 9937 * javax/swing/JMenuItem.java 9938 (JMenuItem): Added call to init so model is set. 9939 (JMenuItem): Likewise. 9940 * javax/swing/JOptionPane.java 9941 (createDialog): Removed invalidate and repaint calls. 9942 (JOptionPane): Likewise. 9943 * javax/swing/JPopupMenu.java 9944 (setVisible): Changed size to be the preferred size. 9945 99462005-09-30 Lillian Angel <langel@redhat.com> 9947 9948 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 9949 (paintTabArea): Added check to adjust runCount if 9950 it is less that tabCount. 9951 99522005-09-30 Anthony Balkissoon <abalkiss@redhat.com> 9953 9954 * javax/swing/text/PlainDocument.java: 9955 (removeUpdate): Fixed length of new LeafElement and off-by-one error 9956 in call to rootElement.replace(). 9957 99582005-09-30 Lillian Angel <langel@redhat.com> 9959 9960 * javax/swing/plaf/basic/BasicSplitPaneUI.java 9961 (propertyChange): No reason to reset the layout manager here. 9962 (setDividerLocation): Changed to check right component, not left. 9963 Also, updated the location to a valid spot. 9964 99652005-09-30 David Gilbert <david.gilbert@object-refinery.com> 9966 9967 * examples/gnu/classpath/examples/swing/SliderDemo.java: 9968 New file. 9969 99702005-09-30 Lillian Angel <langel@redhat.com> 9971 9972 * javax/swing/AbstractButton.java 9973 (setActionCommand): Added check to prevent NPE. 9974 (getMnemonic): Likewise. 9975 (setMnemonic): Likewise. 9976 (setSelected): Likewise. 9977 (isSelected): Likewise. 9978 (setEnabled): Likewise. 9979 (doClick): Likewise. 9980 * javax/swing/plaf/basic/BasicMenuItemUI.java 9981 (paintMenuItem): Added check to prevent NPE. 9982 (paintText): Likewise. 9983 99842005-09-30 Lillian Angel <langel@redhat.com> 9985 9986 * javax/swing/plaf/basic/BasicSplitPaneUI.java 9987 (propertyChange): Added call to reset the layout manager 9988 whenever the size of the divider is changed. 9989 (setDividerLocation): Added adjustment to container 9990 sizes if the divider goes over the bottom/right side. 9991 Also, fixed the size of the right/top component. 9992 (validLocation): Added check for min/max location returned. 9993 99942005-09-30 Anthony Balkissoon <abalkiss@redhat.com> 9995 9996 * javax/swing/text/StyleContext.java: 9997 (SmallAttributeSet.getAttribute): If the attribute we're looking for is 9998 ResolveAttribute, don't try to check the resolve parent, because this 9999 will cause an infinite loop. 10000 100012005-09-30 Roman Kennke <kennke@aicas.com> 10002 10003 * javax/swing/JTable.java 10004 (accessibleContext): Removed unneeded field. This is already 10005 declared in JComponent. 10006 * javax/swing/Box.java 10007 (accessibleContext): Removed unneeded field. This is already 10008 declared in JComponent. 10009 * javax/swing/JFrame.java 10010 (EXIT_ON_CLOSE): New constant field. 10011 100122005-09-30 Anthony Balkissoon <abalkiss@redhat.com> 10013 10014 * javax/swing/text/GapContent.java: 10015 (shiftEnd): Call adjustPositionsInRange rather than getPositionsInRange 10016 and then iterating over the set and adjusting them. 10017 (shiftGap): Likewise. 10018 (shiftGapStartDown): Call setPositionsInRange rather than 10019 getPositionsInRange and then iterating over the set to set each 10020 Position. 10021 (shiftGapEndUp): Likewise. 10022 (setPositionsInRange): New implementation method. 10023 (adjustPositionsInRange): New implementation method. 10024 (resetMarksAtZero): Call setPositionsInRange rather than 10025 getPositionsInRange and then iterating over the set to set each 10026 Position. 10027 100282005-09-30 Roman Kennke <kennke@aicas.com> 10029 10030 * javax/swing/JTable.java 10031 (getScrollableUnitIncrement): Respect the direction argument. 10032 * javax/swing/plaf/basic/BasicScrollPaneUI.java 10033 (VSBChangeListener.stateChanged): Compare ypos with viewPosition.y 10034 instead of viewPosition.x. 10035 (ViewportChangeHandler.stateChanged): Call 10036 syncScrollPaneWithViewport in all cases, not only when the 10037 extents have changed. 10038 (syncScrollPaneWithViewport): Also sync the maximum and value 10039 properties of the scrollbar models with the viewport. 10040 100412005-09-30 Roman Kennke <kennke@aicas.com> 10042 10043 * javax/swing/plaf/basic/BasicRadioButtonUI.java 10044 (paint): Only call paintFocus if button is actually focused. 10045 100462005-09-30 Roman Kennke <kennke@aicas.com> 10047 10048 Fixes Bug #24115 10049 * javax/swing/AbstractButton.java 10050 (AbstractButton): Don't call init() from here. Moved some 10051 initialization code from init() to the constructor. 10052 (init): Moved most of the initialization code to the constructor. 10053 * javax/swing/JCheckBox.java 10054 (JCheckBox()): call this(..) instead of super(..). Don't call init() 10055 here, this is already performed by the JToggleButton constructor. 10056 (JCheckBox(Action)): Don't call init() here, this is already 10057 performed by the JToggleButton constructor. 10058 (JCheckBox(Icon)): call this(..) instead of super(..). Don't call 10059 init() here, this is already performed by the JToggleButton 10060 constructor. 10061 (JCheckBox(Icon, boolean)): Likewise. 10062 (JCheckBox(String)): Likewise. 10063 (JCheckBox(String, boolean)): Likewise. 10064 (JCheckBox(String, Icon)): Likewise. 10065 (JCheckBox(String, Icon, boolean)): Don' call init here. This is 10066 already performed by the JToggleButton constructor. Set the 10067 correct defaults for horizontalAlignment and borderPainted 10068 properties here. 10069 * javax/swing/JRadioButton.java 10070 (JRadioButton(String, Icon, boolean)): Use acccessor methods 10071 instead of directly manipulating package private fields of 10072 AbstractButton. 10073 * javax/swing/JToggleButton.java 10074 (JToggleButton(String, Icon, boolean)): Set correct value for the 10075 alignmentX property. 10076 100772005-09-30 Mark Wielaard <mark@klomp.org> 10078 10079 * javax/swing/JFileChooser.java: Import AccessibleRole. 10080 100812005-09-30 Mark Wielaard <mark@klomp.org> 10082 10083 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 10084 (cp_gtk_graphics2d_init_jni): Check ExceptionOccured after running 10085 class initializer. 10086 100872005-09-30 Mark Wielaard <mark@klomp.org> 10088 10089 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initFont): New static 10090 method. 10091 (GdkFontMetrics): Use initFont() in super() call. 10092 100932005-09-30 Mark Wielaard <mark@klomp.org> 10094 10095 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c 10096 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_getOutline): Initialize all 10097 fields of the FT_Outline_Funcs ftCallbacks struct. 10098 (_moveTo): Takes an void * as argument. 10099 (_lineTo): Likewise. 10100 (_quadTo): Likewise. 10101 (_curveTo): Likewise. 10102 101032005-09-30 Sven de Marothy <sven@physto.se> 10104 10105 * javax/swing/JFileChooser.java: 10106 (getAccessibleContext): Implement. 10107 (AccessibleJFileChooser): Inner class implemented. 10108 101092005-09-30 Jeroen Frijters <jeroen@frijters.net> 10110 10111 Fixes Bug 24122 10112 * gnu/xml/transform/TransformerImpl.java 10113 (writeStreamResult): Added call to connection.setDoInput(false). 10114 101152005-09-29 Tom Tromey <tromey@redhat.com> 10116 10117 * java/net/URLConnection.java (setDoInput): Javadoc fix. 10118 (setDoOutput): Likewise. 10119 (setContentHandlerFactory): Likewise. 10120 (setFileNameMap): Likewise. 10121 101222005-09-29 Roman Kennke <kennke@aicas.com> 10123 10124 * javax/swing/plaf/basic/BasicScrollPaneUI.java 10125 (installUI): Call the new installKeyboardActions hook. 10126 (uninstallUI): Call the new uninstallKeyboardActions hook. 10127 (installKeyboardActions): New hook method. 10128 (uninstallKeyboardActions): New hook method. 10129 101302005-09-29 Roman Kennke <kennke@aicas.com> 10131 10132 * javax/swing/plaf/basic/BasicSliderUI.java 10133 (ActionScroller.ActionScroller): Added constructor. 10134 101352005-09-29 Roman Kennke <kennke@aicas.com> 10136 10137 * javax/swing/plaf/basic/BasicTableUI.java 10138 (KeyHandler): New inner class. 10139 (createKeyListener): New method. 10140 101412005-09-29 Roman Kennke <kennke@aicas.com> 10142 10143 * javax/swing/plaf/basic/BasicTreeUI.java 10144 (getLeftChildIndent): Fixed method signature. 10145 (drawCentered): Fixed method signature. 10146 101472005-09-29 Tom Tromey <tromey@redhat.com> 10148 10149 PR classpath/23381: 10150 * java/beans/PropertyDescriptor.java (hashCode): New method. 10151 101522005-09-29 Roman Kennke <kennke@aicas.com> 10153 10154 * javax/swing/OverlayLayout.java: Added API docs all over. 10155 101562005-09-29 David Gilbert <david.gilbert@object-refinery.com> 10157 10158 * examples/gnu/classpath/examples/swing/ButtonDemo.java 10159 (createContent): add a close button, 10160 (actionPerformed): perform close action, 10161 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java 10162 (createContent): add a close button, 10163 (actionPerformed): perform close action. 10164 101652005-09-29 Roman Kennke <kennke@aicas.com> 10166 10167 * javax/swing/SizeRequirements.java 10168 (getAlignedSizeRequirements): Fixed calculation of preferred and 10169 maximum size as well as the alignment. 10170 101712005-09-29 Roman Kennke <kennke@aicas.com> 10172 10173 Fixes Bug #23851 10174 * javax/swing/OverlayLayout.java 10175 (OverlayLayout): Implemented. 10176 (invalidateLayout): Implemented. 10177 (addLayoutComponent(Component, Object)): Implemented. 10178 (addLayoutComponent(String, Component)): Implemented. 10179 (removeLayoutComponent): Implemented. 10180 (preferredLayoutSize): Implemented. 10181 (minimumLayoutSize): Implemented. 10182 (maximumLayoutSize): Implemented. 10183 (getLayoutAlignmentX): Implemented. 10184 (getLayoutAlignmentY): Implemented. 10185 (layoutContainer): Implemented. 10186 (checkRequirements): New private helper method. 10187 (checkTotalRequirements): New private helper method. 10188 (checkLayout): New private helper method. 10189 101902005-09-29 David Gilbert <david.gilbert@object-refinery.com> 10191 10192 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: new demo. 10193 101942005-09-29 Thomas Fitzsimmons <fitzsim@redhat.com> 10195 10196 * java/awt/print/PrinterJob.java 10197 (print(PrintRequestAttributeSet)): Remove abstract modifier and 10198 implement. 10199 102002005-09-29 David Gilbert <david.gilbert@object-refinery.com> 10201 10202 * javax/swing/JPopupMenu.java 10203 (setVisible): use current size, not preferred size, when checking for 10204 screen edge, 10205 * javax/swing/plaf/basic/BasicComboPopup.java 10206 (show): include top and bottom insets in preferred size, 10207 * javax/swing/plaf/metal/MetalComboBoxButton.java 10208 (MetalComboBoxButton): don't pass icon to super class, 10209 (paintComponent): call super.paintComponent() and reworked label 10210 drawing. 10211 102122005-09-29 Roman Kennke <kennke@aicas.com> 10213 10214 Fixes Bug #24105 10215 * javax/swing/text/GapContent.java 10216 (GapContentPosition.getOffset): Adjusted assert statement. 10217 (shiftGap): Adjusted index in getPositionsInRange call. Call 10218 resetMarksAtZero if gapStart has moved to 0. 10219 (replace): Call shiftGap and shiftGapEndUp only if necessary. 10220 (resetMarksAtZero): New method. 10221 102222005-09-29 Lillian Angel <langel@redhat.com> 10223 10224 * javax/swing/plaf/basic/BasicMenuItemUI.java: 10225 Added a new field for the gap between the icon and text. 10226 (setPreferredMenuItemSize): Changed gap from defaultTextIconGap 10227 to defaultTextArrowIconGap 10228 102292005-09-29 Tom Tromey <tromey@redhat.com> 10230 10231 * java/rmi/activation/ActivationGroup_Stub.java (serialVersionUID): 10232 New field. 10233 102342005-09-28 Lillian Angel <langel@redhat.com> 10235 10236 Fixes Bug #24080 10237 * java/awt/Window.java 10238 (show): Fixed the synchronized block to fix deadlock 10239 problem. 10240 102412005-09-29 Sven de Marothy <sven@physto.se> 10242 10243 * gnu/java/awt/peer/gtk/GdkTextLayout.java 10244 (getOutline): Implement as native 10245 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h 10246 Add declaration 10247 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c 10248 (getOutline): Implement. 10249 102502005-09-29 Roman Kennke <kennke@aicas.com> 10251 10252 * java/rmi/server/RMIClassLoader.java 10253 (loadClass(URL, String)): New method. 10254 102552005-09-29 Roman Kennke <kennke@aicas.com> 10256 10257 Fixes Bug #24114 10258 * javax/swing/plaf/basic/BasicTextUI.java 10259 (installDefaults): Set the background color correctly. 10260 102612005-09-29 David Gilbert <david.gilbert@object-refinery.com> 10262 10263 * javax/swing/plaf/basic/BasicIconFactory.java 10264 (getMenuArrowIcon): adjusted the size and painting of the returned 10265 icon, 10266 * javax/swing/plaf/basic/BasicMenuItemUI.java 10267 (paintMenuItem): adjusted arrow icon position. 10268 102692005-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org> 10270 10271 * gnu/java/awt/peer/qt/QtGraphics.java: 10272 (getRenderingHints()): Create a clone as no such 10273 constructor exists with generic typing. 10274 (setRenderingHints(Map<?,?>)): Added parametric typing 10275 and fixed use of RenderingHints constructor. 10276 * java/awt/AWTEventMulticaster.java: 10277 (getListeners(EventListener,Class<T>)): Added generic 10278 typing. 10279 * java/awt/Component.java: 10280 (getListeners(Class<T>)): Likewise. 10281 (getFocusTraversalKeys(int)): Likewise. 10282 * java/awt/Font.java: 10283 (Font(Map<? extends Attribute,?>)): Likewise. 10284 (deriveFont(Map<? extends Attribute,?>)): Likewise. 10285 (getAttributes()): Likewise. 10286 (getAvailableAttributes()): Simplified naming with static import. 10287 (getFont(Map<? extends Attribute,?>)): Added generic typing. 10288 * java/awt/Graphics2D.java: 10289 (setRenderingHints(Map<?,?>)): Likewise. 10290 (addRenderingHints(Map<?,?>)): Likewise. 10291 * java/awt/KeyboardFocusManager.java: 10292 (setDefaultFocusTraversalKeys(int,Set<? extends KeyStroke>)): 10293 Likewise. 10294 (getKeyEventDispatchers()): Likewise. 10295 (getKeyEventPostProcessors()): Likewise. 10296 * java/awt/MenuItem.java: 10297 (getListeners(Class<T>)): Likewise. 10298 * java/awt/RenderingHints.java: 10299 (RenderingHints(Map<Key,?>)): Likewise. 10300 (putAll(Map<?,?>)): Likewise. 10301 (keySet()): Likewise. 10302 (values()): Likewise. 10303 (entrySet()): Likewise. 10304 * java/awt/Toolkit.java: 10305 (desktopProperties): Likewise. 10306 (createDragGestureRecognizer(Class<T>,DragSource,Component,int, 10307 DragGestureListener)): Likewise. 10308 (mapInputMethodHighlight(InputMethodHighlight)): Likewise. 10309 * java/lang/Class.java: 10310 (getDeclaringClass()): Likewise. 10311 * java/lang/Enum.java: 10312 (valueOf(Class<S>,String)): Fixed return type. 10313 * java/lang/SecurityManager.java: 10314 (checkMemberAccess(Class<?>,int)): Likewise. 10315 * java/lang/reflect/Array.java: 10316 (newInstance(Class<?>,int)): Likewise. 10317 (newInstance(Class<?>,int[])): Likewise. 10318 * vm/reference/java/lang/reflect/Constructor.java: 10319 (getTypeParameters()): Type parameter changed from ? to Constructor. 10320 * vm/reference/java/lang/reflect/Field.java: 10321 (getDeclaringClass()): Added generic typing. 10322 (getType()): Likewise. 10323 * vm/reference/java/lang/reflect/Method.java: 10324 (getDeclaringClass()): Likewise. 10325 (getExceptionTypes()): Likewise. 10326 (getParameterTypes()): Likewise. 10327 103282005-09-28 Anthony Balkissoon <abalkiss@redhat.com> 10329 10330 * javax/swing/text/AbstractDocument.java: 10331 (BranchElement.getElementIndex): If there are no children, don't return 10332 -1, instead getStartOffset() will throw NPE. Also, if no child Element 10333 contains the specified offset, return the closest one. 10334 103352005-09-28 Lillian Angel <langel@redhat.com> 10336 10337 * javax/swing/ToolTipManager.java 10338 (showTip): Added check to prevent NPE. 10339 (adjustLocation): Changed else if to if, to 10340 check final y position of tooltip incase 10341 it is still cut off. 10342 103432005-09-28 Roman Kennke <kennke@aicas.com> 10344 10345 * java/rmi/server/RMIClassLoader.java: 10346 Moved all implementation code to 10347 gnu.java.rmi.server.RMIClassLoaderImpl. 10348 (getProviderInstance): New helper method to find a provider. 10349 (getDefaultProviderInstance): New helper method to find a provider. 10350 (loadClass(String, String, Class)): New method. 10351 * gnu/java/rmi/server/RMIClassLoaderImpl.java: 10352 New class. The implementation is moved from 10353 java.rmi.server.RMIClassLoader. 10354 103552005-09-28 Anthony Balkissoon <abalkiss@redhat.com> 10356 10357 * javax/swing/text/AbstractDocument.java: 10358 (AbstractElement.getResolveParent): If the AttributeSet's 10359 getResolveParent returns null, use the Element's parent's AttributeSet. 10360 103612005-09-28 Roman Kennke <kennke@aicas.com> 10362 10363 * java/rmi/activation/ActivationGroup_Stub.java: 10364 New class. 10365 103662005-09-28 Lillian Angel <langel@redhat.com> 10367 10368 * javax/swing/plaf/basic/BasicSliderUI.java 10369 (paint): No need to call calculateThumbLocation, called 10370 by calculateGeometry. 10371 103722005-09-28 Lillian Angel <langel@redhat.com> 10373 10374 Fixes Bug #23934 10375 * javax/swing/plaf/basic/BasicSliderUI.java 10376 (paint): Called calculateGeometry, so the slider is 10377 initially set up. 10378 103792005-09-28 Lillian Angel <langel@redhat.com> 10380 10381 Fixes Bug #24080 10382 * java/awt/Window.java 10383 (show): Added a synchronized block to fix deadlock 10384 problem. 10385 103862005-09-28 Roman Kennke <kennke@aicas.com> 10387 10388 * javax/swing/plaf/basic/BasicSliderUI.java 10389 (ActionScroller): Added unused class for binary compatibility. 10390 * javax/swing/plaf/basic/BasicTableHeaderUI.java 10391 (MouseInputHandler): Made inner class public as specified. 10392 * javax/swing/plaf/basic/BasicTableUI.java 10393 (FocusHandler): Made inner class public as specified. 10394 (MouseInputHandler): Made inner class public as specified. 10395 103962005-09-28 Roman Kennke <kennke@aicas.com> 10397 10398 * javax/swing/plaf/basic/BasicButtonUI.java 10399 (currentIcon): Made method package private, so that other button 10400 UIs can access it. 10401 (paint): Removed unnecessary call to paintButtonNormal(). 10402 (paintButtonNormal): Removed unnecessary method. The background 10403 is already filled correctly when paint() is entered. 10404 * javax/swing/plaf/basic/BasicRadioButtonUI.java 10405 (paint): Call the new paintFocus() method instead of the inherited 10406 from BasicButtonUI. 10407 (paintFocus): New method. Paints the focus indicator for 10408 JRadioButtons and subclasses. 10409 * javax/swing/plaf/basic/BasicToggleButtonUI.java 10410 (paint): New method. Implements custom painting. Mostly, this 10411 is needed in order to call the new paintIcon() method. 10412 (paintIcon): New method. Narrows the types from the super-class 10413 method. 10414 104152005-09-28 Anthony Balkissoon <abalkiss@redhat.com> 10416 10417 * javax/swing/text/Utilities.java: 10418 (getRowEnd): Call getText() rather than trying to get the Element- 10419 specific portion to avoid GapContent errors. 10420 (getRowStart): Likewise. 10421 104222005-09-28 Tom Tromey <tromey@redhat.com> 10423 10424 * javax/sound/midi/MidiUnavailableException.java (serialVersionUID): 10425 New field. 10426 * javax/sound/midi/InvalidMidiDataException.java (serialVersionUID): 10427 New field. 10428 104292005-09-28 David Gilbert <david.gilbert@object-refinery.com> 10430 10431 * javax/swing/UIDefaults.java 10432 (getBoolean(Object)): API doc correction. 10433 104342005-09-28 David Gilbert <david.gilbert@object-refinery.com> 10435 10436 * javax/swing/plaf/metal/MetalButtonListener.java 10437 (propertyChange): check new value of property to determine which 10438 border to set. 10439 104402005-09-28 Lillian Angel <langel@redhat.com> 10441 10442 * javax/swing/plaf/basic/BasicComboBoxUI.java 10443 (installDefaults): Fixed checks for setting defaults. 10444 Should check if default is null also. 10445 104462005-09-28 Lillian Angel <langel@redhat.com> 10447 10448 Fixes Bug #24077 10449 * gnu/java/awt/peer/gtk/GdkFontMetrics.java 10450 (GdkFontMetrics): Added a check for the font 10451 being null. Fixed a NPE. 10452 * gnu/java/awt/peer/gtk/GdkGraphics.java 10453 (GdkGraphics): Added check if the font is null. 10454 If it is, the font should be set to the default. 10455 (setFont): If font parameter is null, this.font should not 10456 be changed. 10457 * javax/swing/JPopupMenu.java: 10458 Fixed API documentation to say 'JDialog' rather than 10459 'JWindow'. 10460 104612005-09-28 Roman Kennke <kennke@aicas.com> 10462 10463 * javax/swing/plaf/basic/BasicButtonUI.java 10464 (currentIcon): Made method package private, so that other button 10465 UIs can access it. 10466 (paint): Removed unnecessary call to paintButtonNormal(). 10467 (paintButtonNormal): Removed unnecessary method. The background 10468 is already filled correctly when paint() is entered. 10469 * javax/swing/plaf/basic/BasicRadioButtonUI.java 10470 (paint): Call the new paintFocus() method instead of the inherited 10471 from BasicButtonUI. 10472 (paintFocus): New method. Paints the focus indicator for 10473 JRadioButtons and subclasses. 10474 * javax/swing/plaf/basic/BasicToggleButtonUI.java 10475 (paint): New method. Implements custom painting. Mostly, this 10476 is needed in order to call the new paintIcon() method. 10477 (paintIcon): New method. Narrows the types from the super-class 10478 method. 10479 104802005-09-28 Roman Kennke <kennke@aicas.com> 10481 10482 * javax/swing/plaf/metal/MetalLookAndFeel.java 10483 (createDefaultTheme): Change default back to DefaultMetalTheme. 10484 The Ocean theme is too inconsistent. 10485 104862005-09-28 Roman Kennke <kennke@aicas.com> 10487 10488 * java/awt/Font.java 10489 (tk): Made method package private. Must not be protected. 10490 (getFontFromToolkit): Made method package private. Must not 10491 be protected. 10492 (getPeerFromToolkit): Made method package private. Must not 10493 be protected. 10494 104952005-09-28 Roman Kennke <kennke@aicas.com> 10496 10497 * javax/swing/plaf/basic/BasicScrollPaneUI.java 10498 (createMouseWheelListener): New hook method for creating 10499 mouse wheel listeners. 10500 (installListeners): Use new hook method to create mouse wheel 10501 listeners. 10502 105032005-09-28 Roman Kennke <kennke@aicas.com> 10504 10505 * javax/swing/plaf/metal/MetalProgressBarUI.java 10506 (createUI): Removed Hashtable lookup. 10507 * javax/swing/plaf/metal/MetalSeparatorUI.java 10508 (paint): New method. Uses the metal colors for drawing separators. 10509 * javax/swing/plaf/metal/MetalSplitPaneUI.java 10510 (createUI): Removed Hashtable lookup. 10511 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 10512 (createUI): Removed Hashtable lookup. 10513 * javax/swing/plaf/metal/MetalTextFieldUI.java 10514 (createUI): Removed Hashtable lookup. 10515 * javax/swing/plaf/metal/MetalTreeUI.java 10516 (createUI): Removed Hashtable lookup. 10517 * javax/swing/plaf/metal/Ocean.java 10518 (addCustomEntriesToTable): New method. Adds some custom UI defaults 10519 for the Ocean theme. 10520 105212005-09-28 Roman Kennke <kennke@aicas.com> 10522 10523 * javax/swing/plaf/metal/MetalScrollBarUI.java 10524 (paintThumb): Use new MetalUtils.fillMetalPattern signature. 10525 * javax/swing/plaf/metal/MetalSplitPaneDivider.java 10526 (paint): Use new MetalUtils.fillMetalPattern signature. 10527 105282005-09-28 Roman Kennke <kennke@aicas.com> 10529 10530 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 10531 (paintPalette): Use new MetalUtils.fillMetalPattern signature. 10532 (paintComponent): Use new MetalUtils.fillMetalPattern signature. 10533 105342005-09-28 Roman Kennke <kennke@aicas.com> 10535 10536 * javax/swing/plaf/metal/MetalBorders.java 10537 (MenuItemBorder.paintBorder): Fixed painting so that a thin white 10538 line is drawn on the left of unarmed items. Fixed color handling. 10539 (PopupMenuBorder.borderInsets): Fixed insets. 10540 (PopupMenuBorder.paintBorder): Removed left white line. This is 10541 drawn now in the MenuItemBorder. 10542 (ToolBarBorder.paintBorder): Use correct call to new MetalUtils 10543 fillMetalPattern method signature. 10544 105452005-09-28 Roman Kennke <kennke@aicas.com> 10546 10547 * javax/swing/plaf/metal/MetalUtils.java 10548 (fillMetalPattern): If we have a Graphics2D, then go into 10549 optimized drawing mode. 10550 (fillMetalPattern2D): New method. Implements pattern drawing using 10551 textures. 10552 (initializePattern): New method. Initializes the texture. 10553 105542005-09-28 Roman Kennke <kennke@aicas.com> 10555 10556 * java/awt/Font.java: Reformatted file. 10557 105582005-09-28 David Gilbert <david.gilbert@object-refinery.com> 10559 10560 * javax/swing/plaf/metal/MetalIconFactory.java 10561 (TreeHardDriveIcon): new private class, 10562 (TreeFloppyDriveIcon): new private class, 10563 (TreeComputerIcon): new private class, 10564 (getTreeControlIcon): implemented, 10565 (getTreeComputerIcon): implemented, 10566 (getTreeHardDriveIcon): implemented. 10567 105682005-09-28 David Gilbert <david.gilbert@object-refinery.com> 10569 10570 * javax/swing/plaf/metal/MetalBorders.java 10571 (ToolBarBorder): now implements SwingConstants. 10572 105732005-09-27 Tom Tromey <tromey@redhat.com> 10574 10575 * java/sql/Timestamp.java (compareTo(Date)): Changed argument type 10576 from Object. 10577 * javax/naming/Name.java (Name): Implements Comparable<Object>. 10578 * java/util/Date.java (Date): Implements Comparable<Date>. 10579 (compareTo(Object)): Removed. 10580 * java/text/CollationKey.java (CollationKey): Implements 10581 Comparable<CollationKey>. 10582 (compareTo(Object)): Removed. 10583 * java/net/URI.java (URI): Implements Comparable<URI>. 10584 (compareTo): Updated argument type. 10585 * java/math/BigDecimal.java (BigInteger): Implements 10586 Comparable<BigDecimal>. 10587 (compareTo(Object)): Removed. 10588 * java/math/BigInteger.java (BigInteger): Implements 10589 Comparable<BigInteger>. 10590 (compareTo(Object)): Removed. 10591 * java/io/File.java (File): Implements Comparable<File>. 10592 (compareTo(Object)): Removed. 10593 105942005-09-27 Tom Tromey <tromey@redhat.com> 10595 10596 * java/nio/charset/spi/CharsetProvider.java (charsets): Changed 10597 return type. 10598 * java/nio/charset/Charset.java (aliases): Changed return type. 10599 (availableCharsets): Likewise. 10600 * java/nio/channels/spi/AbstractSelector.java (cancelledKeys): 10601 Changed type. 10602 (AbstractSelector): Updated. 10603 (cancelledKeys): Updated. 10604 106052005-09-27 Tom Tromey <tromey@redhat.com> 10606 10607 * java/util/logging/LogManager.java (loggers): Genericized type. 10608 (LogManager): Updated. 10609 (addLogger): Likewise. 10610 (findAncestor): Likewise. 10611 (getLogger): Likewise. 10612 (getLoggerNames): Fixed return type. 10613 (reset): Updated. 10614 106152005-09-27 Tom Tromey <tromey@redhat.com> 10616 10617 * java/util/zip/ZipFile.java (entries): Updated return type. 10618 (ZipEntryEnumeration): Updated 'implements' type. 10619 (entries): Updated type. 10620 (ZipEntryEnumeration.elements): Likewise. 10621 (readEntries): Updated. 10622 (getEntries): Likewise. 10623 (getEntry): Likewise. 10624 (getInputStream): Likewise. 10625 106262005-09-27 Tom Tromey <tromey@redhat.com> 10627 10628 * java/lang/Compiler.java (compileClass): Updated argument type. 10629 106302005-09-27 Tom Tromey <tromey@redhat.com> 10631 10632 * java/awt/im/InputMethodHighlight.java (InputMethodHighlight): 10633 Updated argument types. 10634 (getStyle): Updated return type. 10635 * java/awt/MenuBar.java (shortcuts): Updated return type. 10636 * java/awt/Window.java (hide): Now deprecated. 10637 (show): Likewise. 10638 106392005-09-27 Tom Tromey <tromey@redhat.com> 10640 10641 * java/lang/String.java (CASE_INSENSITIVE_ORDER): Now a 10642 Comparator<String>. 10643 (CaseInsensitiveComparator): Updated. 10644 (CaseInsensitiveComparator.compare): Changed argument types. 10645 106462005-09-27 Anthony Green <green@redhat.com> 10647 10648 * javax/sound/midi/MidiSystem.java (getSequence): Add 10649 missing methods. 10650 * javax/sound/midi/Sequencer.java (stopRecording): Ditto. 10651 * javax/sound/midi/ShortMessage.java (ShortMessage): Ditto. 10652 (setMessage): Fix visibility. Add missing implementations. 10653 * javax/sound/midi/ShoundbankResouce.java: Rename "soundBank" to 10654 "soundbank", and "getSoundBank" to "getSoundbank". 10655 106562005-09-27 David Gilbert <david.gilbert@object-refinery.com> 10657 10658 * javax/swing/plaf/metal/MetalBorders.java 10659 (rolloverBorder): new field, 10660 (getRolloverBorder): new method, 10661 * javax/swing/plaf/metal/MetalButtonListener.java: new class, 10662 * javax/swing/plaf/metal/MetalButtonUI.java 10663 (instance): removed field, 10664 (constructor): initialise fields from UI defaults, 10665 (getFocusColor): just return field value, 10666 (getSelectColor): just return field value, 10667 (getDisabledTextColor): just return field value, 10668 (createUI): return a new instance every time, 10669 (installDefaults): check for isRolloverEnabled and install rollover 10670 border if necessary, 10671 (uninstallDefaults): implemented, 10672 (createButtonListener): implemented, 10673 (paintButtonPressed): implemented, 10674 (paintFocus): implemented, 10675 (paintText): implemented. 10676 106772005-09-27 Anthony Balkissoon <abalkiss@redhat.com> 10678 10679 * javax/swing/text/SimpleAttributeSet.java: 10680 (containsAttribute): Check the resolve parent if the attribute is not 10681 found locally. 10682 (containsAttributeLocally): New package-private method. 10683 (isEqual): Re-implemented. Return true if the two sets have the same 10684 size and this set contains the given set. 10685 106862005-09-27 Roman Kennke <kennke@aicas.com> 10687 10688 * javax/swing/JSeparator.java 10689 (updateUI): Removed invalidate call. This is unnecessary. 10690 * javax/swing/plaf/basic/BasicSeparatorUI.java 10691 (paint): Reworked painting so that it paints the separator 10692 correctly. 10693 (getPreferredSize): Fixed to return the correct values according 10694 to the JDK. 10695 (getMinimumSize): Likewise. 10696 (getMaximumSize): Likewise. 10697 106982005-09-27 David Gilbert <david.gilbert@object-refinery.com> 10699 10700 * javax/swing/plaf/metal/MetalBorders.java 10701 (RolloverButtonBorder): new class. 10702 107032005-09-27 Roman Kennke <kennke@aicas.com> 10704 10705 * javax/swing/BoxLayout.java 10706 (preferredLayoutSize): Fixed to respect the containers insets. 10707 (layoutComponent): Likewise. 10708 107092005-09-27 Roman Kennke <kennke@aicas.com> 10710 10711 * javax/swing/SizeRequirements.java 10712 (calculateTiledPositions): Only adjust sizes if the allocated 10713 span is actually different from the used span. 10714 (calculateAlignedPositions): Call adjustFromRight also if 10715 baseline == 0, otherwise we get strange results because 0 * x = 0. 10716 107172005-09-27 Anthony Balkissoon <abalkiss@redhat.com> 10718 10719 * javax/swing/text/SimpleAttributeSet.java: 10720 (removeAttributes(AttributeSet)): Only remove attributes from the 10721 current set if their keys AND values are found in the given set 10722 107232005-09-27 Lillian Angel <langel@redhat.com> 10724 10725 Fixes Bug #24067 10726 * java/awt/Component.java 10727 (removeNotify): Should call hide on the peer before 10728 disposing of it. This stops the flashing when the 10729 tooltips are removed from the component. 10730 * javax/swing/plaf/basic/BasicToolTipUI.java 10731 (getPreferredSize): If the accelerator is null, we should 10732 paint the mnenomic if it is available. 10733 107342005-09-27 Tom Tromey <tromey@redhat.com> 10735 10736 * java/awt/Window.java (createBufferStrategy): Can throw AWTException. 10737 * java/awt/Canvas.java (createBufferStrategy): Can throw AWTException. 10738 107392005-09-27 Lillian Angel <langel@redhat.com> 10740 10741 Fixes Bug #24044 10742 * javax/swing/ToolTipManager.java 10743 (showTip): currentTip needs to be revalidated on HeavyWeightPopups 10744 * javax/swing/plaf/basic/BasicToolTipUI.java 10745 (getPreferredSize): Fixed to get the preferred size of the 10746 tooltip including the accelerator, if it has one. 10747 (paint): Fixed to paint the accelerator in its font 10748 and color, if it has one. 10749 107502005-09-27 Anthony Balkissoon <abalkiss@redhat.com> 10751 10752 * javax/swing/text/Utilities.java: 10753 (getRowEnd): New method. 10754 (getRowStart): New method. 10755 107562005-09-27 Tom Tromey <tromey@redhat.com> 10757 10758 * java/beans/beancontext/BeanContextServicesSupport.java 10759 (BCSSChild.serialVersionUID): Fixed. 10760 * java/beans/beancontext/BeanContextSupport.java 10761 (BCSChild.serialVersionUID): Fixed. 10762 107632005-09-27 David Gilbert <david.gilbert@object-refinery.com> 10764 10765 * javax/swing/plaf/basic/BasicToolBarUI.java 10766 (installDefaults): get border from UI defaults, 10767 * javax/swing/plaf/metal/MetalBorders.java: 10768 (ToolBarBorder): new class, 10769 * javax/swing/plaf/metal/MetalLookAndFeel.java 10770 (initComponentDefaults): added tool bar border default, 10771 * javax/swing/plaf/metal/MetalToolBarUI.java 10772 (MetalContainerListener): new class, 10773 (instance): removed field, 10774 (MetalRolloverListener): new class, 10775 (contListener): new field, 10776 (rolloverListener): new field, 10777 (createUI): return a new instance every time, 10778 (createRolloverListener): implemented, 10779 (createContainerListener): implemented, 10780 (createNonRolloverBorder): implemented. 10781 107822005-09-27 Anthony Green <green@redhat.com> 10783 10784 * javax/sound/midi/MidiFileFormat.java (bytes, microseconds): 10785 Rename to byteLength and microsecondLength respectively. 10786 107872005-09-26 Tom Tromey <tromey@redhat.com> 10788 10789 * java/util/Formatter.java (format): Set fmtLocale. 10790 (applyLocalization): New method. 10791 (basicIntegralConversion): Likewise. 10792 (hexOrOctalConversion): Use it. 10793 (decimalConversion): New method. 10794 (format): Use decimalConversion, dateTimeConversion. 10795 (genericFormat): Upper-case earlier. Justify correctly. 10796 (singleDateTimeConversion): New method. 10797 (dateTimeConversion): Likewise. 10798 107992005-09-26 Lillian Angel <langel@redhat.com> 10800 10801 * javax/swing/ToolTipManager.java 10802 (showTip): validating of toolTipWindow should not have been 10803 removed. 10804 108052005-09-26 Lillian Angel <langel@redhat.com> 10806 10807 * javax/swing/ToolTipManager.java 10808 (showTip): Removed validating of currentTip. setVisible(true) 10809 does this. Also, removed validating of toolTipWindow because 10810 show() does this. 10811 108122005-09-27 Roman Kennke <kennke@aicas.com> 10813 10814 * javax/swing/SizeRequirements.java 10815 (adjustGreater): Special handle the case when the components have 10816 no spare room for adjustment. 10817 (adjustSmaller): Special handle the case when the components have 10818 no spare room for adjustment. 10819 108202005-09-27 Roman Kennke <kennke@aicas.com> 10821 10822 * java/awt/Component.java 10823 (hide): Repaint component before invalidating the parent. 10824 (show): Repaint component before invalidating the parent. 10825 * javax/swing/JComponent.java 10826 (revalidate): Check if we are in the event thread, and if not, 10827 then queue a self-request in the event thread. 10828 (setVisible): Repaint the parent and queue a revalidate. 10829 108302005-09-27 Sven de Marothy <sven@physto.se> 10831 10832 * javax/swing/JComboBox.java 10833 (firePopupMenuCanceled): Implement 10834 (firePopupMenuWillBecomeInvisible): Implement 10835 (firePopupMenuWillBecomeVisible): Implement 10836 108372005-09-27 Sven de Marothy <sven@physto.se> 10838 10839 * javax/swing/text/html/CSS.java 10840 (getAttribute,getAllAttributeKeys): Implement 10841 108422005-09-26 Lillian Angel <langel@redhat.com> 10843 10844 * javax/swing/JTree.java 10845 (JTree): Root should be visible by default. 10846 * javax/swing/ToolTipManager.java 10847 (showTip): Added check for validity of currentTip. Prevents 10848 over-validating. 10849 (hideTip): currentTip should be reset. 10850 * javax/swing/JMenuItem.java 10851 (setAccelerator): Registered accelerator as a keyboard action. 10852 108532005-09-26 Tom Tromey <tromey@redhat.com> 10854 10855 * java/lang/reflect/Proxy.java: Javadoc fix. 10856 * java/io/OutputStreamWriter.java (OutputStreamWriter): Javadoc fix. 10857 108582005-09-26 Anthony Green <green@redhat.com> 10859 10860 * javax/sound/midi/Synthesizer.java (loadInstrument, 10861 unloadInstrument, remapInstrument, loadAllInstruments, 10862 unloadAllInstruments, unloadInstrument, loadInstrument): Don't 10863 declare the unchecked IllegalArgumentException. 10864 * javax/sound/midi/MidiSystem.java (getMidiDevice, write): Ditto. 10865 * javax/sound/midi/ShortMessage.java: Fix 80-column formatting 10866 problem. 10867 * javax/sound/midi/Sequence.java: Ditto. 10868 * javax/sound/midi/MidiMessage.java: Ditto. 10869 * javax/sound/midi/MidiSystem.java: Ditto. 10870 * javax/sound/midi/MidiFileFormat.java: Ditto. 10871 108722005-09-26 Anthony Green <green@redhat.com> 10873 10874 * javax/sound/midi/InvalidMidiDataException.java 10875 * javax/sound/midi/MidiFileFormat.java 10876 * javax/sound/midi/ControllerEventListener.java 10877 * javax/sound/midi/Patch.java javax/sound/midi/Sequence.java 10878 * javax/sound/midi/SysexMessage.java javax/sound/midi/Sequencer.java 10879 * javax/sound/midi/spi/MidiFileReader.java 10880 * javax/sound/midi/spi/MidiFileWriter.java 10881 * javax/sound/midi/spi/SoundbankReader.java 10882 * javax/sound/midi/spi/MidiDeviceProvider.java 10883 * javax/sound/midi/Track.java javax/sound/midi/MidiChannel.java 10884 * javax/sound/midi/MetaMessage.java javax/sound/midi/Instrument.java 10885 * javax/sound/midi/MidiMessage.java 10886 * javax/sound/midi/MidiUnavailableException.java 10887 * javax/sound/midi/Transmitter.java javax/sound/midi/MidiEvent.java 10888 * javax/sound/midi/VoiceStatus.java javax/sound/midi/MidiDevice.java 10889 * javax/sound/midi/SoundbankResource.java 10890 * javax/sound/midi/Soundbank.java javax/sound/midi/Receiver.java 10891 * javax/sound/midi/MetaEventListener.java 10892 * javax/sound/midi/ShortMessage.java 10893 * javax/sound/midi/Synthesizer.java 10894 * javax/sound/midi/MidiSystem.java: New files. 10895 108962005-09-26 Lillian Angel <langel@redhat.com> 10897 10898 * gnu/java/awt/peer/gtk/GtkDialogPeer.java 10899 (create): If the dialog is a toolTip or a 10900 PopupMenu, its type should be set to: 10901 GDK_WINDOW_TYPE_HINT_MENU, so the parent 10902 window does not lose focus. 10903 * javax/swing/JTree.java 10904 (setModel): Should update the UI everytime the 10905 model is changed. 10906 * javax/swing/plaf/basic/BasicTreeUI.java 10907 (installUI): Should not set the root to be visible. 10908 (paintControlIcons): changed to use getVisibleRect. 10909 * javax/swing/plaf/metal/MetalTreeUI.java 10910 (installUI): Should not set the root to be visible. 10911 109122005-09-26 Anthony Balkissoon <abalkiss@redhat.com> 10913 10914 * gnu/java/text/BaseBreakIterator.java: 10915 (following): Removed unused local variable. 10916 109172005-09-26 Roman Kennke <kennke@aicas.com> 10918 10919 * javax/swing/SizeRequirements.java 10920 (calculateTiledPositions): Improved to also take minimum and maximum 10921 sizes into account and better use the allocated space. 10922 (adjustGreater): New helper function. 10923 (adjustSmaller): New helper function. 10924 109252005-09-25 Jeroen Frijters <jeroen@frijters.net> 10926 10927 * gnu/java/lang/reflect/ClassSignatureParser.java, 10928 gnu/java/lang/reflect/GenericSignatureParser.java, 10929 gnu/java/lang/reflect/MethodSignatureParser.java: New files. 10930 * java/lang/Class.java 10931 (constructor): Changed type to generic type. 10932 (cast, getEnumConstants): Added cast. 10933 (getGenericInterfaces, getGenericSuperclass, getTypeParameters): 10934 Implemented. 10935 * vm/reference/java/lang/VMClass.java 10936 (getSimpleName, getDeclaredAnnotations, getCanonicalName, 10937 getEnclosingClass, getEnclosingConstructor, getEnclosingMethod, 10938 isAnonymousClass, isLocalClass, isMemberClass): 10939 Removed generic types from signatures. 10940 (getGenericInterfaces, getGenericSuperclass, getTypeParameters): 10941 Removed. 10942 (getClassSignature): New method. 10943 * vm/reference/java/lang/reflect/Constructor.java 10944 (getTypeParameters): Implemented. 10945 * vm/reference/java/lang/reflect/Method.java 10946 (getTypeParameters, getSignature): New methods. 10947 109482005-09-25 Jeroen Frijters <jeroen@frijters.net> 10949 10950 * java/lang/System.java, 10951 vm/reference/java/lang/VMSystem.java: Removed generic type 10952 from VMSystem.environ() signature. 10953 109542005-09-25 Jeroen Frijters <jeroen@frijters.net> 10955 10956 * java/lang/MalformedParameterizedTypeException.java: Removed. 10957 109582005-09-25 Tom Tromey <tromey@redhat.com> 10959 10960 * java/util/Formatter.java (lineSeparator): Use SystemProperties. 10961 109622005-09-25 Casey Marshall <csm@gnu.org> 10963 10964 Fixes PR classpath/23916. Fix suggested by Santiago Gala 10965 <sgala@apache.org>. 10966 * java/security/AccessControlContext.java 10967 (<init>): update javadoc; check SecurityPermission 10968 "createAccessControlContext" if a security manager is set. 10969 (getProtectionDomains): new method. 10970 * vm/reference/java/security/VMAccessController.java 10971 (DEBUG): set to 'gnu.classpath.Configuration.DEBUG.' 10972 (pushContext, popContext): add debug statement. 10973 (getContext): debug output changes; include the DomainCombiner 10974 specified in the AccessControlContext, if any. 10975 109762005-09-25 Tom Tromey <tromey@redhat.com> 10977 10978 * javax/security/sasl/SaslServerFactory.java: Updated javadoc. 10979 * javax/security/sasl/Sasl.java: Updated javadoc. 10980 * javax/security/sasl/SaslClientFactory.java: Updated javadoc. 10981 * javax/security/sasl/RealmChoiceCallback.java: Updated javadoc. 10982 * javax/security/sasl/RealmCallback.java: Updated javadoc. 10983 * javax/security/sasl/AuthenticationException.java: Updated 10984 javadoc. 10985 * javax/security/sasl/SaslServer.java (getNegotiatedProperty): 10986 Don't throw SaslException. 10987 * javax/security/sasl/SaslClient.java (getNegotiatedProperty): 10988 Don't throw SaslException. 10989 * javax/security/sasl/SaslException.java (serialVersionUID): New 10990 field. 10991 * javax/security/sasl/AuthorizeCallback.java (AuthorizeCallback): 10992 Implements Serializable. 10993 (serialVersionUID): New field. 10994 109952005-09-25 Casey Marshall <csm@gnu.org> 10996 10997 * gnu/java/security/provider/Gnu.java 10998 (<init>): add Diffie-Hellman key factory and key pair generator. 10999 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl.java, 11000 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl.java: 11001 new files. 11002 110032005-09-24 Tom Tromey <tromey@redhat.com> 11004 11005 * java/util/FormattableFlags.java (PLUS, SPACE, ZERO, COMMA, 11006 PAREN): New constants. 11007 * java/util/UnknownFormatConversionException.java 11008 (UnknownFormatConversionException): Set exception text. 11009 * java/util/IllegalFormatException.java (IllegalFormatException): 11010 New constructor. 11011 * java/util/FormatFlagsConversionMismatchException.java 11012 (FormatFlagsConversionMismatchException): Set exception text. 11013 * java/lang/String.java (format): New methods. 11014 * java/io/PrintStream.java (printf): New methods. 11015 (format): Likewise. 11016 * java/io/PrintWriter.java (printf): New methods. 11017 (format): Likewise. 11018 * java/util/Formattable.java: New file. 11019 * java/util/FormatterClosedException.java (serialVersionUID): 11020 Fixed. 11021 * java/util/Formatter.java: New file. 11022 110232005-09-24 Roman Kennke <kennke@aicas.com> 11024 11025 * javax/swing/SizeRequirements.java 11026 (calculateAlignedPositions): Improved algorithm to better respect 11027 the minimum and maximum size and to better use the available space. 11028 (adjustFromRight): New helper method. 11029 (adjustFromLeft): New helper method. 11030 110312005-09-24 Roman Kennke <kennke@aicas.com> 11032 11033 * javax/swing/BoxLayout.java 11034 (layoutContainer): Respect the insets of the container. 11035 110362005-09-24 Roman Kennke <kennke@aicas.com> 11037 11038 * javax/swing/JComponent.java 11039 Fixed some API comments. 11040 (paintChildren): Set clip to exclude the border area. 11041 110422005-09-24 Roman Kennke <kennke@aicas.com> 11043 11044 * javax/swing/JComponent.java 11045 (paint): Paint border after the children are painted. Otherwise the 11046 children could draw over the border. 11047 110482005-09-24 Roman Kennke <kennke@aicas.com> 11049 11050 * javax/swing/SizeRequirements.java 11051 (getAlignedRequirements): Implemented this method. 11052 (calculateAlignedPositions): Implemented this method. 11053 * javax/swing/BoxLayout.java 11054 (Direction): Removed unneeded inner interface. 11055 (Horizontal): Removed unneeded inner class. 11056 (Vertical): Removed unneeded inner class. 11057 (SizeReq): Removed unneeded inner class. 11058 (preferredLayoutSize): Reimplemented to use SizeRequirements. 11059 (minimumLayoutSize): Reimplemented to use SizeRequirements. 11060 (maximumLayoutSize): Reimplemented to use SizeRequirements. 11061 (layoutContainer): Reimplemented to use SizeRequirements. 11062 (layoutAlgorithm): Removed unneeded package private method. 11063 (distributeSpace): Removed unneeded package private method. 11064 (getSizeRequirements): New private helper method. 11065 110662005-09-24 Sven de Marothy <sven@physto.se> 11067 11068 * gnu/javax/imageio/bmp/BMPDecoder.java 11069 (BMPDecoder): Fix static field references. 11070 110712005-09-24 Sven de Marothy <sven@physto.se> 11072 11073 * java/awt/Font.java 11074 Fixed comments. 11075 (pointSize): New field. 11076 (Font): Set size fields. 11077 (getSize, getSize2D): Return size fields. 11078 110792005-09-24 Roman Kennke <kennke@aicas.com> 11080 11081 * javax/swing/JComponent.java 11082 (paint): Check if clip == null and if so set it to the component's 11083 bounds. 11084 * gnu/java/awt/peer/gtk/GdkGraphics2D.java 11085 (getClipBounds): Added null check so that null is returned when 11086 clip == null, instead of throwing an NPE while accessing 11087 null.getBounds2D(). 11088 110892005-09-24 Andreas Tobler <a.tobler@schweiz.ch> 11090 11091 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 11092 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Replace deprecated 11093 gtk colormap stuff. 11094 110952005-09-24 Roman Kennke <kennke@aicas.com> 11096 11097 * javax/swing/JComponent.java 11098 (paint): Activate double buffering if it is not already activated. 11099 (paintImmediately2): Prepare a component graphics object here and 11100 call paintDoubleBuffered with this. 11101 (paintDoubleBuffered): Changed to work nicely with the new paint() 11102 and paintImmediately2() methods. 11103 111042005-09-24 Roman Kennke <kennke@aicas.com> 11105 11106 * javax/swing/plaf/basic/BasicLookAndFeel.java 11107 (initComponentDefaults): Added font default for 11108 FormattedTextField.font. Solves an NPE that was caused by a null 11109 font on a JFormattedTextField. 11110 111112005-09-24 David Gilbert <david.gilbert@object-refinery.com> 11112 11113 * javax/swing/DefaultComboBoxModel.java 11114 (addElement): always fire event for interval added, and call 11115 setSelectedItem() if this is the first item. 11116 111172005-09-24 David Gilbert <david.gilbert@object-refinery.com> 11118 11119 * javax/swing/DefaultComboBoxModel.java: updated API docs all over. 11120 111212005-09-24 Sven de Marothy <sven@physto.se> 11122 11123 * java/awt/FontMetrics.java 11124 (getMaxCharBounds, hasUniformLineMetrics): New methods. 11125 111262005-09-24 Sven de Marothy <sven@physto.se> 11127 11128 * gnu/javax/imageio/bmp/BMPDecoder.java, 11129 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java, 11130 * gnu/javax/imageio/bmp/DecodeBF32.java, 11131 * gnu/javax/imageio/bmp/DecodeRGB8.java, 11132 * gnu/javax/imageio/bmp/BMPException.java, 11133 * gnu/javax/imageio/bmp/BMPInfoHeader.java, 11134 * gnu/javax/imageio/bmp/DecodeRGB1.java, 11135 * gnu/javax/imageio/bmp/DecodeRLE4.java, 11136 * gnu/javax/imageio/bmp/BMPFileHeader.java, 11137 * gnu/javax/imageio/bmp/DecodeRGB24.java, 11138 * gnu/javax/imageio/bmp/DecodeRLE8.java, 11139 * gnu/javax/imageio/bmp/BMPImageReader.java, 11140 * gnu/javax/imageio/bmp/DecodeBF16.java, 11141 * gnu/javax/imageio/bmp/DecodeRGB4.java: 11142 New files. 11143 111442005-09-23 Roman Kennke <kennke@aicas.com> 11145 11146 * gnu/java/awt/peer/gtk/GdkGraphics2D.java 11147 (setFont): If font == null, simply return. Avoids a NPE. 11148 111492005-09-23 Sven de Marothy <sven@physto.se> 11150 11151 * java/io/OutputStreamWriter.java: 11152 (OutputStreamWriter): Added missing constructors. 11153 111542005-09-23 Lillian Angel <langel@redhat.com> 11155 11156 * java/awt/Component.java 11157 (getFont): Should return null, not a default font. 11158 * javax/swing/ToolTipManager.java 11159 (showTip): Called revalidate currentTip before painted, and 11160 called validate on JDialog toolTip. 11161 111622005-09-23 Roman Kennke <kennke@aicas.com> 11163 11164 * javax/swing/SwingUtilities.java 11165 (layoutCompoundLabel): Removed debug code. 11166 111672005-09-23 Roman Kennke <kennke@aicas.com> 11168 11169 * javax/swing/JScrollPane.java 11170 (setHorizontalScrollBar): Removed handling of listeners on the model. 11171 This is now done in the BasicScrollPaneUI. 11172 (setHorizontalScrollBarPolicy): Added revalidate call. 11173 (setVerticalScrollBar): Removed handling of listeners on the model. 11174 This is now done in the BasicScrollPaneUI. 11175 (setVerticalScrollBarPolicy): Added revalidate call. 11176 (setViewport): Removed handling of listeners on the viewport. 11177 This is now done in the BasicScrollPaneUI. 11178 (createScrollListener): Removed unnecessary and undocumented method. 11179 The functionality of this method is moved to BasicScrollPaneUI 11180 as specified. 11181 (JScrollPane): Removed initialization of removed listener. 11182 * javax/swing/plaf/basic/BasicScrollPaneUI.java 11183 (HSBChangeListener): New inner class. 11184 (VSBChangeListener): New inner class. 11185 (ViewportChangeHandler): New inner class. 11186 (PropertyChangeHandler): New inner class. 11187 (MouseWheelHandler): New inner class. 11188 (installUI): Also call installListeners. 11189 (installListeners): New method. Initializes the listeners on the 11190 scrollpane. 11191 (createHSBChangeListener): New method. 11192 (createVSBChangeListener): New method. 11193 (createViewport): New method. 11194 (createPropertyChangeListener): New method. 11195 (uninstallUI): Also call uninstallListeners. 11196 (uninstallListeners): New method. 11197 (syncScrollPaneWithViewport): New method. 11198 (updateColumnHeader): New method. 11199 (updateRowHeader): New method. 11200 (updateScrollBarDisplayPolicy): New method. 11201 (updateViewport): New method. 11202 112032005-09-23 Anthony Balkissoon <abalkiss@redhat.com> 11204 11205 * javax/swing/JTextField.java: Reformatted and added API docs. 11206 112072005-09-23 Lillian Angel <langel@redhat.com> 11208 11209 * javax/swing/ToolTipManager.java 11210 (showTip): Set lightWeightPopupEnabled to default. 11211 Validated and repainted new containerPanel and 11212 repainted toolTipWindow and repainted currentTip. The 11213 toolTips paint well now. 11214 112152005-09-23 Lillian Angel <langel@redhat.com> 11216 11217 * javax/swing/plaf/basic/BasicTreeUI.java 11218 (paintRecursive): Changed clip to be the visible 11219 rectangle of the view. 11220 112212005-09-23 David Gilbert <david.gilbert@object-refinery.com> 11222 11223 * javax/swing/DefaultComboBoxModel.java 11224 (DefaultComboBoxModel(Object[])): set selected item, 11225 (DefaultComboBoxModel(Vector): likewise, 11226 (addElement): reimplemented, 11227 (removeElementAt): update selected item, 11228 (removeAllElements): clear selected item and fire correct event, 11229 (setSelectedItem): update item always, 11230 (getElementAt): return null for index out of bounds, 11231 * javax/swing/plaf/metal/MetalComboBoxButton.java 11232 (paintComponent): check for null selection. 11233 112342005-09-23 Roman Kennke <kennke@aicas.com> 11235 11236 * javax/swing/plaf/basic/BasicToolBarUI.java 11237 Added some deprecated and unused fields for binary compatibility. 11238 (installListeners): Fixed method parameters. 11239 (installUI): Call installListeners with fixed method parameters. 11240 112412005-09-23 Roman Kennke <kennke@aicas.com> 11242 11243 * javax/swing/plaf/basic/BasicPanelUI.java 11244 (uninstallUI): New method. 11245 (uninstallDefaults): New method. 11246 112472005-09-23 Roman Kennke <kennke@aicas.com> 11248 11249 * javax/swing/plaf/basic/BasicOptionPaneUI.java 11250 (MinimumHeight): New constant field. 11251 (MinimumWidth): New constant field. 11252 (minimumWidth): Removed unused field. 11253 (minimumHeight): Removed unused field. 11254 (installDefaults): Removed initializing of minimumSize and 11255 minimumHeight. 11256 * javax/swing/plaf/basic/BasicLookAndFeel.java 11257 (initComponentDefaults): Initialize OptionPane.minimumSize from 11258 constant fields in BasicOptionPaneUI. 11259 112602005-09-23 Roman Kennke <kennke@aicas.com> 11261 11262 * javax/swing/plaf/basic/BasicMenuUI.java 11263 (ChangeHandler): Added some deprecated and unused fields for 11264 binary compatibility. 11265 112662005-09-23 Roman Kennke <kennke@aicas.com> 11267 11268 * javax/swing/plaf/basic/BasicInternalFrameUI.java 11269 (deactivateFrame): New method. 11270 (InternalFramePropertyChangeListener.propertyChange): Call 11271 new deactivate() method instead of getDesktopManager.deactivate() 11272 112732005-09-23 Lillian Angel <langel@redhat.com> 11274 11275 Fixes Bug #24022 11276 * javax/swing/plaf/basic/BasicTreeUI.java 11277 (paint): Took out unneeded code. 11278 112792005-09-23 Lillian Angel <langel@redhat.com> 11280 11281 Fixes Bug #23529 11282 * javax/swing/plaf/basic/BasicScrollBarUI.java 11283 (mousepressed): Made delay shorted while pressing the arrow 11284 button. This makes the scrollbar move more smoothly. 11285 (mouseReleased): Reset the delay to the default, so single 11286 clicks only move the scrollbar 1 unit. Also, when the 11287 mouse is released, the scrollbar should move 1 unit. 11288 (shouldScroll): Should not be able to scroll by block 11289 when the mouse is in the thumbRect. 11290 (mousePressed): Made delay shorted while pressing in the 11291 scroll area. This makes the scrollbar move more smoothly. 11292 (mouseReleased): Should move the scrollbar 1 block when the 11293 mouse is released. Also, reset the timer to default delay. 11294 112952005-09-23 Roman Kennke <kennke@aicas.com> 11296 11297 * javax/swing/plaf/basic/BasicDesktopPaneUI.java 11298 (installKeyboardActions): Call renamed method registerKeyboardActions. 11299 113002005-09-23 Roman Kennke <kennke@aicas.com> 11301 11302 * javax/swing/plaf/basic/BasicDesktopPaneUI.java 11303 (registerKeyboardAction): Renamed this method to 11304 registerKeyboardActions as specifie. 11305 113062005-09-23 Roman Kennke <kennke@aicas.com> 11307 11308 * javax/swing/plaf/basic/BasicListUI.java 11309 (FocusHandler.repaintCellFocus): Marked protected instead of 11310 package private as specified. 11311 (KeyHandler.keyPressed): Call new methods selectNextIndex and 11312 selectPreviousIndex instead of doing the work here. 11313 (PropertyChangeHandler.propertyChange): Update the 11314 updateLayoutStateNeeded field correctly. 11315 (BasicListUI): Removed listener initialization. Moved this 11316 to installListeners. 11317 (installListeners): Initialize listeners here instead in the 11318 constructor. Use the createXXXListener hooks instead of creating 11319 the listeners directly. 11320 (createFocusListener): New hook method for creating a focus listener. 11321 (createListDataListener): New hook method for creating a list 11322 data listener. 11323 (createListSelectionListener): New hook method for creating a list 11324 selection listener. 11325 (createMouseInputListener): New hook method for creating a mouse 11326 input listener. 11327 (createPropertyChangeListener): New hook method for creating a 11328 property change listener. 11329 113302005-09-23 David Gilbert <david.gilbert@object-refinery.com> 11331 11332 * javax/swing/plaf/metal/MetalBorders.java 11333 (OptionDialogBorder): new class. 11334 113352005-09-23 Roman Kennke <kennke@aicas.com> 11336 11337 * javax/swing/plaf/basic/BasicColorChooserUI.java 11338 (uninstallDefaultChoosers): New method. 11339 (uninstallUI): Call uninstallDefaultChoosers. 11340 113412005-09-23 Roman Kennke <kennke@aicas.com> 11342 11343 * javax/swing/SwingUtilities.java 11344 (layoutCompoundLabel): Fix the case when verticalTextPosition=BOTTOM 11345 and without icon. The label text slipped out of the view rectangle 11346 in this case. 11347 113482005-09-23 David Gilbert <david.gilbert@object-refinery.com> 11349 11350 * javax/swing/plaf/metal/MetalLookAndFeel.java 11351 (setCurrentTheme): throw exception if argument is null, improved API 11352 docs. 11353 113542005-09-22 Roman Kennke <kennke@aicas.com> 11355 11356 * javax/swing/JPanel.java 11357 (accessibleContext): Removed this unnecessary field. Use the 11358 inherited field of the same name from JComponent instead. 11359 113602005-09-22 Roman Kennke <kennke@aicas.com> 11361 11362 * javax/swing/UIManager.java 11363 (static_initializer): Load MetalLookAndFeel only as fallback, if 11364 the system property 'swing.defaultlaf' is not defined. Before 11365 it has accidentally loaded the MetalLookAndFeel in all cases, 11366 regardless of the property setting. 11367 113682005-09-22 Roman Kennke <kennke@aicas.com> 11369 11370 * javax/swing/JComponent.java 11371 (paintChildren): If a child component is invisible, skip it. 11372 Handle the (rare) case when no clip is set as if it's set to the 11373 child component's bounds. These fixes should make Swing working 11374 again as before. 11375 113762005-09-22 Andreas Tobler <a.tobler@schweiz.ch> 11377 11378 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 11379 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_gtkWindowSetResizable): 11380 Replace deprecated gtk_window_set_policy with gtk_window_set_resizable. 11381 11382 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c 11383 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Replace deprecated 11384 gtk_container_children with gtk_container_get_children. 11385 11386 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c 11387 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu): Likewise. 11388 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_delMenu): Likewise. 11389 11390 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c 11391 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Replace deprecated 11392 gdk_pixmap_unref with g_object_unref. 11393 11394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 11395 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked): 11396 Replace deprecated gdk_cursor_destroy with gdk_cursor_unref. 11397 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetParent): 11398 Replace deprecated gtk_container_children with 11399 gtk_container_get_children. 11400 (find_fg_color_widget): Replace deprecated macro GTK_IS_OPTION_MENU with 11401 GTK_IS_COMBO_BOX. 11402 (component_button_release_cb): Replace deprecated gdk_window_get_size 11403 with gdk_drawable_get_size. 11404 11405 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 11406 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 11407 Replace deprecated gtk_radio_button_group with 11408 gtk_radio_button_get_group. 11409 11410 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c 11411 (Java_gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer_remove): Likewise. 11412 11413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c 11414 (Java_gnu_java_awt_peer_gtk_GtkCanvasPeer_create): Replace deprecated 11415 gtk_type_new with gtk_drawing_area_new. 11416 11417 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c 11418 (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyState): Replace deprecated 11419 gdk_*_ref with g_object_ref. 11420 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II): Likewise. 11421 Replace deprecated gdk_rgb_get_cmap with gdk_rgb_get_colormap. 11422 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage): Replace 11423 deprecated gdk_*_ref with g_object_ref. 11424 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked): Likewise. 11425 (Java_gnu_java_awt_peer_gtk_GdkGraphics_dispose): Replace deprecated 11426 gdk_*_unref with g_object_unref. 11427 (Java_gnu_java_awt_peer_gtk_GdkGraphics_copyArea): Replace deprecated 11428 gdk_window_copy_area with gdk_draw_drawable. 11429 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor): Replace deprecated 11430 gdk_color_alloc with gdk_colormap_alloc_color. 11431 114322005-09-22 Anthony Balkissoon <abalkiss@redhat.com> 11433 11434 * javax/swing/text/Utilities.java: 11435 (getWordEnd): Implemented. 11436 (getWordStart): Implemented. 11437 114382005-09-22 Keith SEitz <keiths@redhat.com> 11439 11440 * gnu/classpath/jdwp/event/filters/StepFilter.java (StepFilter): Do not test 11441 for null thread ID -- just test if it has not been garbage collected. 11442 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java (ThreadOnlyFilter): 11443 Likewise. 11444 114452005-09-22 Lillian Angel <langel@redhat.com> 11446 11447 * javax/swing/JPopupMenu.java 11448 (setVisible): Size of menu should always be the preferred 11449 size. It was sometimes cutting of the accelerator. 11450 * javax/swing/plaf/basic/BasicMenuItemUI.java: 11451 Increased defaultAcceleratorLabelGap field to 10, to 11452 make menuItem more readable. 11453 114542005-09-22 Anthony Balkissoon <abalkiss@redhat.com> 11455 11456 * javax/swing/text/Utilities.java: 11457 (getPreviousWord): Fixed incorrect logic. Use preceding() instead of 11458 following(), previous() instead of next(). 11459 114602005-09-22 Anthony Balkissoon <abalkiss@redhat.com> 11461 11462 * gnu/java/text/BaseBreakIterator.java: 11463 (following): Don't restore old CharacterIterator index. 11464 114652005-09-22 Tom Tromey <tromey@redhat.com> 11466 11467 * javax/swing/JList.java (AccessibleJList): New constructor. 11468 114692005-09-22 Tom Tromey <tromey@redhat.com> 11470 11471 * java/net/ServerSocket.java (accept): Use correct security manager 11472 call. 11473 114742005-09-22 Anthony Balkissoon <abalkiss@redhat.com> 11475 11476 * javax/swing/text/Utilities.java: 11477 (getNextWord): Implemented. 11478 (getPreviousWord): Implemented. 11479 114802005-09-22 Lillian Angel <langel@redhat.com> 11481 11482 * javax/swing/plaf/MetalLookAndFeel.java 11483 (initComponentDefaults): Changed back to original 11484 values. 11485 114862005-09-22 Lillian Angel <langel@redhat.com> 11487 11488 * javax/swing/ToolTipManager.java 11489 (showTip): Moved tooltip location adjustments to a 11490 helper method. 11491 (adjustLocation): New helper method. 11492 * javax/swing/plaf/basic/BasicLookAndFeel.java 11493 (initComponentDefaults): Fixed defaults for Table, 11494 TableHeader, Tree to match JDK. 11495 * javax/swing/plaf/MetalLookAndFeel.java 11496 (initComponentDefaults): Fixed defaults for Table and 11497 TableHeader to match JDK. 11498 * javax/swing/plaf/basic/BasicToolTipUI.java 11499 (defaultBorder): Removed, along with inner class. Not needed. 11500 (installDefaults): Changed border to be the default border in 11501 L&F. 11502 115032005-09-22 Roman Kennke <kennke@aicas.com> 11504 11505 * javax/swing/JSpinner.java 11506 (ListEditor): New inner class. Provides an editor for the 11507 SpinnerListModel. 11508 115092005-09-22 Tom Tromey <tromey@redhat.com> 11510 11511 * java/io/FileWriter.java (FileWriter): Typo fix. 11512 115132005-09-22 Roman Kennke <kennke@aicas.com> 11514 11515 * javax/swing/JApplet.java 11516 (accessibleContext): Made field protected as specified. 11517 * javax/swing/JButton.java 11518 (accessibleContext): Removed field. The inherited JComponents 11519 accessibleContext field should be used instead. 11520 * javax/swing/JLabel.java 11521 (accessibleContext): Removed field. The inherited JComponents 11522 accessibleContext field should be used instead. 11523 * javax/swing/JRootPane.java 11524 (JRootPane): Removed unnecessary setDoubleBuffered() call. 11525 115262005-09-22 Anthony Balkissoon <abalkiss@redhat.com> 11527 11528 * javax/swing/text/html/HTML.java: 11529 (SYNTHETIC): Renamed variable SYNTETIC to SYNTHETIC. 11530 (Tag): Changed comment for static Tag IMPLIED. 11531 115322005-09-22 Roman Kennke <kennke@aicas.com> 11533 11534 * javax/swing/JViewport.java 11535 (JViewport): Initialize cached fields for blitting. 11536 (setViewPosition): Repaint viewport. 11537 (revalidate): Set damaged flag. Used for blitting. 11538 (reshape): Likewise. 11539 (paint): New method. Decide which paint method to use. 11540 (computeBlit): New method. Computes the parameters for blitting. 11541 (paintSimple): New method. Performs painting in simple mode. 11542 (paintBackingStore): New method. Performs painting in backingstore 11543 mode. 11544 (paintBlit): New method. Performs painting in blit mode. For 11545 now this falls back to backing store mode. 11546 * javax/swing/plaf/basic/BasicViewportUI.java 11547 (ChangeListener): Removed inner class. 11548 (installDefaults): Load default for background color. Changed 11549 signature to protected. 11550 (installListeners): Removed method. 11551 (uninstallDefaults): Changed signature to protected. 11552 (installUI): Call installDefaults(). 11553 (uninstallUI): Call uninstallDefaults(). 11554 (getPreferredSize): Removed. 11555 (paint): Removed. 11556 (paintSimple): Removed. 11557 (paintBackingStore): Removed. 11558 115592005-09-22 Roman Kennke <kennke@aicas.com> 11560 11561 * javax/swing/JComponent.java 11562 (AccessibleJComponent.addPropertyChangeListener): Partly omplemented. 11563 (AccessibleJComponent.getAccessibleStateSet): Partly implemented. 11564 (doubleBuffered): Default value of this field is true. 11565 (paint): Moved double buffer painting stuff to separate method. 11566 (paintChildren): Don't call into AWT painting code here. This allows 11567 for a small optimization. 11568 (paintImmediately): Don't go up to the parent window, try to start 11569 painting on the nearest JRootPane if possible. 11570 (paintImmediately2): New method. Actually performs repainting 11571 on the repaint root. 11572 (paintDoubleBuffered): New method. Performs painting using 11573 a double buffer. 11574 (paintSimple): New method. Performs painting without buffer. 11575 115762005-09-22 David Gilbert <david.gilbert@object-refinery.com> 11577 11578 * javax/swing/filechooser/FileFilter.java: reformatted and added API 11579 docs. 11580 115812005-09-21 Andrew John Hughes <gnu_andrew@member.fsf.org> 11582 11583 * gnu/classpath/ByteArray.java, 11584 * gnu/classpath/ObjectPool.java, 11585 * gnu/javax/crypto/DiffieHellmanImpl.java, 11586 * gnu/javax/crypto/GnuDHPrivateKey.java, 11587 * gnu/javax/crypto/RSACipherImpl.java, 11588 * java/lang/Deprecated.java, 11589 * java/lang/Enum.java, 11590 * java/lang/Iterable.java, 11591 * java/lang/MalformedParameterizedTypeException.java, 11592 * java/lang/Override.java, 11593 * java/lang/ProcessBuilder.java, 11594 * java/lang/SuppressWarnings.java, 11595 * java/lang/annotation/Annotation.java, 11596 * java/lang/annotation/Documented.java, 11597 * java/lang/annotation/ElementType.java, 11598 * java/lang/annotation/IncompleteAnnotationException.java, 11599 * java/lang/annotation/Inherited.java, 11600 * java/lang/annotation/Retention.java, 11601 * java/lang/annotation/RetentionPolicy.java, 11602 * java/lang/annotation/Target.java, 11603 * java/lang/reflect/AnnotatedElement.java, 11604 * java/lang/reflect/GenericDeclaration.java, 11605 * java/lang/reflect/MalformedParameterizedTypeException.java, 11606 * java/lang/reflect/TypeVariable.java, 11607 * java/util/AbstractQueue.java, 11608 * java/util/DuplicateFormatFlagsException.java, 11609 * java/util/EnumMap.java, 11610 * java/util/EnumSet.java, 11611 * java/util/FormatFlagsConversionMismatchException.java, 11612 * java/util/FormatterClosedException.java, 11613 * java/util/IllegalFormatCodePointException.java, 11614 * java/util/IllegalFormatConversionException.java, 11615 * java/util/IllegalFormatException.java, 11616 * java/util/IllegalFormatFlagsException.java, 11617 * java/util/IllegalFormatPrecisionException.java, 11618 * java/util/IllegalFormatWidthException.java, 11619 * java/util/InputMismatchException.java, 11620 * java/util/InvalidPropertiesFormatException.java, 11621 * java/util/MissingFormatArgumentException.java, 11622 * java/util/MissingFormatWidthException.java, 11623 * java/util/PriorityQueue.java, 11624 * java/util/Queue.java, 11625 * java/util/UnknownFormatConversionException.java, 11626 * java/util/UnknownFormatFlagsException.java, 11627 * org/omg/CORBA/SendingContext/RunTimeOperations.java, 11628 * org/omg/CORBA/SendingContext/Runtime.java, 11629 * vm/reference/java/lang/VMPackage.java: 11630 Fixed address within GPL. 11631 116322005-09-21 Lillian Angel <langel@redhat.com> 11633 11634 * javax/swing/ToolTipManager.java 11635 (showTip): Fixed location of tooltip. Sometimes 11636 the ToolTip was being cut off. 11637 116382005-09-21 Mark Wielaard <mark@klomp.org> 11639 11640 * gnu/classpath/ByteArray.java: Reindent boilerplate. 11641 116422005-09-21 Andrew John Hughes <gnu_andrew@member.fsf.org> 11643 11644 * gnu/classpath/ByteArray.java, 11645 * gnu/javax/crypto/DiffieHellmanImpl.java, 11646 * gnu/javax/crypto/GnuDHPrivateKey.java, 11647 * gnu/javax/crypto/RSACipherImpl.java: 11648 Fixed address within GPL license. 11649 116502005-09-21 Mark Wielaard <mark@klomp.org> 11651 11652 * lib/split-for-gcj.sh: Cut list to 3 package levels deep. 11653 116542005-09-21 Anthony Balkissoon <abalkiss@redhat.com> 11655 11656 * javax/swing/text/html/HTML.java: 11657 (Tag): Changed name of IMPLIED Tag from "implied" to "p-implied" to 11658 match the JDK. 11659 * javax/swing/text/html/HTMLDocument.java: 11660 (AdditionalComments): New field. 11661 116622005-09-21 Anthony Balkissoon <abalkiss@redhat.com> 11663 11664 * javax/swing/text/html/HTMLDocument.java: 11665 (getBase): Implemented. 11666 (setBase): Implemented. 11667 (getPreservesUnknownTags): Implemented. 11668 (setPreservesUnknownTags): Implemented. 11669 (BlockElement): New class partially implemented. 11670 116712005-09-21 Tom Tromey <tromey@redhat.com> 11672 11673 * java/awt/BorderLayout.java: Reverted field reordering. 11674 116752005-09-21 Lillian Angel <langel@redhat.com> 11676 11677 * javax/swing/JTable.java 11678 (distributeSpill): Fixed a NPE. 11679 * javax/swing/ToolTipManager.java 11680 (mouseExited): No need to do this stuff, removed code. 11681 (showTip): Revalidating and repainting too much, removed. 11682 (hideTip): Likewise. 11683 116842005-09-21 Tom Tromey <tromey@redhat.com> 11685 11686 * java/awt/BorderLayout.java (invalidateLayout): Updated comment. 11687 (setBounds): Likewise. 11688 (MIN, MAX, PREF): Moved nearer top of file. 11689 (getLayoutComponent): New methods. 11690 (getConstraints): New method. 11691 (vgap, hgap, north, south, east, west): Reordered fields to conform 11692 to serialization spec. 11693 116942005-09-21 Anthony Balkissoon <abalkiss@redhat.com> 11695 11696 * javax/swing/text/html/HTMLDocument.java: 11697 (LeafIterator): New class. 11698 (getIterator): Implemented. 11699 (Iterator): New abstract class. 11700 117012005-09-21 Tom Tromey <tromey@redhat.com> 11702 11703 * java/math/BigDecimal.java (ZERO, ONE): Now public. Updated 11704 javadoc. 11705 (TEN): New constant. 11706 * java/math/BigInteger.java (ZERO): Updated javadoc. 11707 (ONE): Likewise. 11708 (TEN): New constant. 11709 117102005-09-21 Lillian Angel <langel@redhat.com> 11711 11712 Fixes Bug #23937 11713 * javax/swing/plaf/basic/BasicOptionPaneUI.java 11714 (propertyChange): When WANTS_INPUT_PROPERTY is changed, 11715 the buttons should be updated. 11716 (getButtons): Applied patch in bug report. Sets default 11717 buttons. 11718 117192005-09-21 Lillian Angel <langel@redhat.com> 11720 11721 * javax/swing/ToolTipManager.java 11722 (showTip): Added code to move currentPoint to a new place. 11723 (getGoodPoint): Removed, not needed. 11724 117252005-09-21 David Gilbert <david.gilbert@object-refinery.com> 11726 11727 * javax/swing/plaf/metal/MetalFileChooserUI.java: new file (partial 11728 implementation). 11729 117302005-09-20 Lillian Angel <langel@redhat.com> 11731 11732 * javax/swing/JPopupMenu.java 11733 (setVisible): If HeavyWeightPopup, setLightWeightPopupEnabled 11734 is false. 11735 * javax/swing/ToolTipManager.java 11736 (showTip): Change so toolTips on lightWeightPopups are 11737 added different than those on heavyWeightPopups. 11738 (canToolTipFit): Removed. This is not needed/used. 11739 117402005-09-20 Lillian Angel <langel@redhat.com> 11741 11742 * javax/swing/ToolTipManager.java 11743 (mouseMoved): Removed unneeded code. If the mouse 11744 moves into another component, then mouseEntered would 11745 do the same thing. Otherwise, it is not needed. 11746 (showTip): Fixed so that the containerPanel is an 11747 instance of Panel. Made code more efficent. 11748 Tooltips were causing weird problems with the 11749 JMenus. 11750 (getGoodPoint): Fixed to return a better location. 11751 * javax/swing/plaf/basic/BasicMenuBarUI.java 11752 (mouseClicked): Fixed to prevent a NPE. 11753 117542005-09-20 Tom Tromey <tromey@redhat.com> 11755 11756 PR classpath/22906: 11757 * gnu/java/net/protocol/jar/Connection.java (get): Added useCaches 11758 argument. 11759 (connect): Updated. 11760 117612005-09-20 Tom Tromey <tromey@redhat.com> 11762 11763 * javax/print/DocFlavor.java (serialVersionUID): Fixed typo. 11764 117652005-09-19 Anthony Balkissoon <abalkiss@redhat.com> 11766 11767 * javax/swing/text/DefaultEditorKit.java: 11768 (write): Partially Implemented and made slight correction to API docs. 11769 * javax/swing/text/html/HTMLEditorKit.java: 11770 (createDefaultDocument): Override parent method because we need to 11771 return an HTMLDocument not a DefaultStyledDocument. 11772 117732005-09-20 Roman Kennke <kennke@aicas.com> 11774 11775 Fixes PR #23900. 11776 * javax/swing/JLayeredPane.java 11777 (remove(int)): Removed repaint() call. This is unnecessary because 11778 already triggered by Container.remove(). 11779 (remove(Component)): Removed this superfluous method. It's not 11780 in the specs and the functionality is already in Container. 11781 (paint): New method. Overridden in order to provide reasonable 11782 painting for JLayeredPanes. 11783 117842005-09-20 Roman Kennke <kennke@aicas.com> 11785 11786 * javax/swing/plaf/basic/BasicTextUI.java 11787 (UpdateHandler): Renamed to PropertyChangeHandler. This name is 11788 closer to the purpose of this class. 11789 (PropertyChangeHandler.propertyChange): Delegate property change 11790 to propertyChange hook method in the enclosing BasicTextUI. 11791 (propertyChange): New protected method. This serves as a hook 11792 for subclasses to handle property changes in the text component. 11793 * javax/swing/plaf/basic/BasicTextFieldUI.java 11794 (properyChange): Handle editable property here and adjust background 11795 accordingly. 11796 117972005-09-20 Roman Kennke <kennke@aicas.com> 11798 11799 * javax/swing/text/DefaultStyledDocument.java 11800 (getParagraphElement): If the position argument is out of the 11801 document's bounds, then the closest paragraph element must be 11802 returned. This is fixed. 11803 118042005-09-20 Roman Kennke <kennke@aicas.com> 11805 11806 * javax/swing/JTable.java 11807 (resizeAndRepaint): New protected method. 11808 118092005-09-20 Tom Tromey <tromey@redhat.com> 11810 11811 * javax/xml/namespace/QName.java: Now Serializable. 11812 (serialVersionUID): New field. 11813 (qName, hashCode): Now transient. 11814 (QName): Don't compute qName here. 11815 (equals): Now final. 11816 (hashCode): Simplified. 11817 (toString): Compute qName here. 11818 118192005-09-20 Roman Kennke <kennke@aicas.com> 11820 11821 * javax/swing/plaf/metal/MetalBorders.java 11822 (getTextFieldBorder): This method must return an BorderUIResource 11823 instance. Fixed. 11824 118252005-09-20 Mark Wielaard <mark@klomp.org> 11826 11827 Reported by Martin Cordova <martin.cordova@gmail.com> 11828 * native/jni/java-net/javanet.c (_javanet_accept): Throw 11829 SocketTimeoutException on EAGAIN timeout. 11830 118312005-09-20 Roman Kennke <kennke@aicas.com> 11832 11833 * javax/swing/plaf/basic/BasicButtonUI.java 11834 (installDefaults): Handle the rollover UIDefaults property. 11835 (paintText): Correctly paint disabled button label text. 11836 * javax/swing/plaf/basic/BasicLookAndFeel.java 11837 (initComponentDefaults): Fix some text component border defaults. 11838 * javax/swing/plaf/basic/BasicTextPaneUI.java 11839 (installUI): New method. This sets up some style attributes 11840 for the JTextPane. 11841 118422005-09-20 Roman Kennke <kennke@aicas.com> 11843 11844 * javax/swing/plaf/metal/MetalLookAndFeel.java 11845 (initComponentDefault): Added and fixed some UI defaults. 11846 118472005-09-20 Roman Kennke <kennke@aicas.com> 11848 11849 * javax/swing/plaf/metal/MetalBorders.java 11850 (ButtonBorder.paintBorder): Fetch correct color for disabled 11851 button border. 11852 (getTextFieldBorder): Correctly initialize text field border. This 11853 should be a compound border with a MarginBorder and TextFieldBorder 11854 instead of a plain TextFieldBorder. 11855 (getTextBorder): New method. 11856 118572005-09-20 Roman Kennke <kennke@aicas.com> 11858 11859 * javax/swing/text/DefaultStyledDocument.java 11860 (setParagraphAttributes): Implemented this method. 11861 (insertUpdate): Fixed attribute comparison to avoid NPE. 11862 118632005-09-20 Thomas Fitzsimmons <fitzsim@redhat.com> 11864 11865 PR awt/23951 11866 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 11867 (isRealized): Leave GDK critical region when exiting early. 11868 118692005-09-19 Andrew John Hughes <gnu_andrew@member.fsf.org> 11870 11871 * java/util/Collections.java: 11872 Fixes Bug #PR22921. 11873 (emptySet()): Implemented. 11874 (emptyList()): Implemented. 11875 (emptyMap()): Implemented. 11876 (rotate(List<?>,int)): Fixed signature. 11877 (shuffle(List<?>)): Fixed signature. 11878 (shuffle(List<?>,Random)): Fixed signature. 11879 (frequency(Collection<?>,Object)): Documented. 11880 (addAll(Collection<? super T>, T... a)): Implemented. 11881 (disjoint(Collection<?>,Collection<?>)): Implemented. 11882 (swap(List<?>,int,int)): Fixed signature. 11883 (checkedCollection(Collection<E>,Class<E>)): Implemented. 11884 (Collections.CheckedCollection): New inner class. 11885 (Collections.CheckedIterator): New inner class. 11886 (checkedList(List<E>, Class<E>)): Implemented. 11887 (Collections.CheckedList): New inner class. 11888 (Collections.CheckedRandomAccessList): New inner class. 11889 (Collections.CheckedListIterator): New inner class. 11890 (checkedMap(Map<K,V>,Class<K>,Class<V>)): Implemented. 11891 (Collections.CheckedMap): New inner class. 11892 (checkedSet(Set<E>,Class<E>)): Implemented. 11893 (Collections.CheckedSet): New inner class. 11894 (checkedSortedMap(SortedMap<K,V>,Class<K>,Class<V>)): Implemented. 11895 (Collections.CheckedSortedMap): New inner class. 11896 (checkedSortedSet(SortedSet<E>,Class<E>)): Implemented. 11897 (Collections.CheckedSortedSet): New inner class. 11898 118992005-09-19 Tom Tromey <tromey@redhat.com> 11900 11901 * java/awt/PopupMenu.java (AccessibleAWTPopupMenu.serialVersionUID): 11902 New field. 11903 * java/awt/TextField.java (AccessibleAWTTextField.serialVersionUID): 11904 New field. 11905 * java/awt/TextArea.java (AccessibleAWTTextArea.serialVersionUID): 11906 New field. 11907 * java/awt/Menu.java (AccessibleAWTMenu.serialVersionUID): New field. 11908 * java/awt/CheckboxMenuItem.java (AccessibleAWTCheckboxMenuItem.serialVersionUID): 11909 New field. 11910 * java/awt/TextComponent.java (AccessibleAWTTextComponent.serialVersionUID): 11911 New field. 11912 * java/awt/MenuItem.java (AccessibleAWTMenuItem.serialVersionUID): 11913 New field. 11914 * java/awt/Frame.java (AccessibleAWTFrame.serialVersionUID): New 11915 field. 11916 * java/awt/Dialog.java (AccessibleAWTDialog.serialVersionUID): New 11917 field. 11918 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): New 11919 field. 11920 * java/awt/Window.java (AccessibleAWTWindow.serialVersionUID): New 11921 field. 11922 * java/awt/ScrollPane.java (AccessibleAWTScrollPane.serialVersionUID): 11923 New field. 11924 * java/awt/List.java (AccessibleAWTList.serialVersionUID): New field. 11925 (AccessibleAWTListChild.serialVersionUID): Likewise. 11926 (AccessibleAWTListChild.parent): Moved earlier. 11927 (AccessibleAWTListChild.indexInParent): Renamed. 11928 119292005-09-19 David Gilbert <david.gilbert@object-refinery.com> 11930 11931 * javax/swing/filechooser/FileView.java: 11932 Reformatted and added API doc comments. 11933 119342005-09-19 Anthony Balkissoon <abalkiss@redhat.com> 11935 11936 * javax/swing/JRootPane.java: 11937 (createGlassPane): Don't set the layout manager to BorderLayout. Leave 11938 it as JPanel's default FlowLayout. 11939 119402005-09-19 Lillian Angel <langel@redhat.com> 11941 11942 * javax/swing/ToolTipManager.java: 11943 Changed tooltip to be JDialog (no entry in taskbar), 11944 instead of JWindow. 11945 (actionPerformed): No need to start timer here. 11946 (mouseEntered): No need to call showTip here, it is called 11947 when the timer fires. 11948 (showTip): Shouldn't show tip if it is already visible or 11949 the current component is not showing. 11950 * javax/swing/plaf/basic/BasicTreeUI.java 11951 (getRowForPath): Re-implemented. 11952 (mousePressed): Call getRowForPath instead, also 11953 added a check in for leaf icons. 11954 119552005-09-19 Anthony Balkissoon <abalkiss@redhat.com> 11956 11957 * javax/swing/JLayeredPane.java: 11958 (<init>): Set layout manager to null. 11959 119602005-09-19 Anthony Balkissoon <abalkiss@redhat.com> 11961 11962 * javax/swing/plaf/basic/BasicInternalFrameUI.java: 11963 (GlassPaneDispatcher.handleEvent): Added check for mouseEventTarget 11964 being null to avoid NPE. 11965 119662005-09-19 Anthony Balkissoon <abalkiss@redhat.com> 11967 11968 * javax/swing/JRootPane.java: 11969 (RootLayout.layoutContainer): Added comment about how the 11970 components should be sized. Fixed size of glassPane which fills the 11971 entire viewable region, including overtop the menuBar. Used bounds 11972 minus insets for containerSize, as indicated in comment, rather than 11973 getSize(). Used setBounds instead of setSize for layeredPane because 11974 its relation to the other components' sizes is more obvious that way. 11975 119762005-09-19 Anthony Balkissoon <abalkiss@redhat.com> 11977 11978 * javax/swing/plaf/basic/BasicInternalFrameUI.java: 11979 (GlassPaneDispatcher.handleEvent): Replaced call to SwingUtilities' 11980 convertMouseEvent (with identical source and desination) with a simple 11981 cast. If acquireComponentForMouseEvent reveals we're going to 11982 re-dispatch this event to ourselves (and loop infinitely), return. Also 11983 replaced contentPane by glassPane as the source argument to 11984 SwingUtilities.convertMouseEvent since the glassPane is the real 11985 source. 11986 119872005-09-19 David Gilbert <david.gilbert@object-refinery.com> 11988 11989 * javax/swing/plaf/basic/BasicArrowButton.java 11990 (paintTriangle): minor correction to highlight on triangle for disabled 11991 buttons. 11992 119932005-09-19 Tom Tromey <tromey@redhat.com> 11994 11995 * javax/print/DocFlavor.java (BYTE_ARRAY.serialVersionUID): New field. 11996 (INPUT_STREAM.serialVersionUID): Likewise. 11997 119982005-09-19 Tom Tromey <tromey@redhat.com> 11999 12000 * java/text/DateFormat.java (serialVersionUID): New field. 12001 120022005-19-19 Lillian Angel <langel@redhat.com> 12003 12004 * javax/swing/plaf/basic/BasicTreeUI.java 12005 (selectPath): Changed so DISCONTIGUOUS_TREE_SELECTION is the 12006 default. 12007 * javax/swing/JTree.java 12008 (AccessibleJTreeNode): Initialized all fields. 12009 (addAccessibleSelection): Implemented. 12010 (clearAccessibleSelection): Implemented. 12011 (doAccessibleAction): Implemented. 12012 (getAccessibleAction): Implemented. 12013 (getAccessibleActionCount): Implemented. 12014 (getAccessibleActionDescription): Implemented. 12015 (getAccesssibleChild): Remove mod variable, made global. 12016 (getAccessibleComponent): Changed to return this, since this 12017 class implements AccessibleComponent. 12018 (getAccessibleSelection): Likewise. 12019 (getAccessibleSelection): Implemented. 12020 (getAccessibleSelectionCount): Implemented. 12021 (getAccessibleStateSet): Remove mod variable, made global. 12022 (getCursor): Implemented. 12023 (isAccessibleChildSelected): Remove mod variable, made global. 12024 (removeAccessibleSelection): Implemented. 12025 (selectAllAccessibleSelection): Implemented. 12026 (setCursor): Implemented. 12027 (AccessibleJTree): Nothing to do. 12028 (getAccessibleAt): Implemented. 12029 (getAccessibleSelection): Implemented. 12030 (getAccessibleSelection): Implemented. 12031 120322005-09-19 Tom Tromey <tromey@redhat.com> 12033 12034 * javax/xml/xpath/XPathFunctionException.java (serialVersionUID): New 12035 field. 12036 * javax/xml/xpath/XPathFactoryConfigurationException.java 12037 (serialVersionUID): New field. 12038 * javax/xml/xpath/XPathExpressionException.java (serialVersionUID): New 12039 field. 12040 * javax/xml/xpath/XPathException.java (serialVersionUID): New field. 12041 * javax/xml/transform/TransformerConfigurationException.java (locator): 12042 Removed. 12043 (TransformerConfigurationException): Pass locator to super constructor. 12044 (serialVersionUID): New field. 12045 * javax/xml/transform/TransformerFactoryConfigurationError.java 12046 (serialVersionUID): New field. 12047 * javax/xml/transform/TransformerException.java (containedException): 12048 Renamed field. 12049 (serialVersionUID): New field. 12050 120512005-09-19 Roman Kennke <kennke@aicas.com> 12052 12053 * javax/swing/plaf/basic/BasicTextUI.java 12054 (UpdateHandler.propertyChange): Handle changes of the editable 12055 property. 12056 (paintBackground): Moved implementation to 12057 UpdateHandler.propertyChange. This method itself should not fill 12058 the background. 12059 120602005-09-19 Mark Wielaard <mark@klomp.org> 12061 12062 * native/jni/java-net/java_net_VMInetAddress.c 12063 (Java_java_net_VMInetAddress_getHostByAddr): Add error string as 12064 exception message. 12065 * native/jni/java-net/javanet.c (_javanet_accept): Likewise. 12066 (_javanet_shutdownInput): Likewise. 12067 (_javanet_shutdownOutput): Likewise. 12068 120692005-09-19 Roman Kennke <kennke@aicas.com> 12070 12071 * javax/swing/border/TitledBorder.java 12072 (paintBorder): Correctly set the Y offset for the border title. 12073 (getMeasurements): Determine the correct Y offset for the border 12074 title. 12075 120762005-09-19 Robert Schuster <robertschuster@fsfe.org> 12077 12078 * java/util/ResourceBundle.java: Changed type of bundleCache 12079 to WeakHashMap. 12080 120812005-09-19 Robert Schuster <robertschuster@fsfe.org> 12082 12083 * java/awt/Checkbox.java: 12084 (Checkbox): Properly set as selected checkbox in corresponding 12085 checkbox group. 12086 (paramString): Removed checkbox group information. 12087 * java/awt/Component.java: 12088 (paramString): Removed redundant "=". 12089 120902005-09-19 David Gilbert <david.gilbert@object-refinery.com> 12091 12092 * javax/swing/plaf/basic/BasicComboBoxUI.java 12093 (installComponents): call configureArrowButton after creating button, 12094 (configureEditor): set the selected item, 12095 (configureArrowButton): set a zero margin, 12096 (getPreferredSize): delegate to getMinimumSize(), 12097 (getMinimumSize): now uses code that was in getPreferredSize(), 12098 (getDefaultSize): reduce default height, 12099 (ComboBoxLayoutManager.layoutComponent): use comboBox height as button 12100 width, 12101 (PropertyChangeHandler.propertyChange): set font on arrow button, 12102 * javax/swing/plaf/metal/MetalComboBoxUI.java 12103 (instances): deleted field, 12104 (MetalComboBoxLayoutManager): new class, 12105 (MetalPropertyChangeListener): new class, 12106 (MetalComboPopup): new class, 12107 (createUI): just return new instance, 12108 (createEditor): implemented, 12109 (createPopup): implemented, 12110 (createArrowButton): implemented, 12111 (createPropertyChangeListener): implemented, 12112 (paint): implemented, 12113 (editablePropertyChanged): implemented, 12114 (createLayoutManager): implemented, 12115 (removeListeners): implemented, 12116 (getMinimumSize): implemented. 12117 121182005-09-19 Andreas Tobler <a.tobler@schweiz.ch> 12119 12120 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 12121 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Fix double 12122 unreferencing pfont->font. Unref pfont->layout instead. 12123 121242005-09-18 Tom Tromey <tromey@redhat.com> 12125 12126 * java/util/Timer.java (TaskQueue.purge): New method. 12127 (Timer(String)): New constructor. 12128 (Timer(String,boolean)): Likewise. 12129 (purge): New method. 12130 121312005-09-18 Tom Tromey <tromey@redhat.com> 12132 12133 * java/lang/Short.java (valueOf): New method. 12134 * java/lang/Double.java (valueOf): New method. 12135 * java/lang/Float.java (valueOf): New method. 12136 121372005-09-18 Tom Tromey <tromey@redhat.com> 12138 12139 * java/lang/Long.java (reverse): Correctly handle sign extension. 12140 121412005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12142 12143 * javax/swing/plaf/basic/BasicComboBoxUI.java 12144 (installComponents): remove listBox color settings, 12145 * javax/swing/plaf/basic/BasicLookAndFeel.java 12146 (initComponentDefaults): corrected ComboBox and ListBox defaults. 12147 121482005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12149 12150 * javax/swing/plaf/basic/BasicComboBoxRenderer.java 12151 (BasicComboBoxRenderer): set no focus border, 12152 (getListCellRendererComponent): set background color if cell has focus, 12153 removed border switching code. 12154 121552005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12156 12157 * javax/swing/plaf/basic/BasicComboBoxUI.java 12158 (borderInsets): deleted, 12159 (arrowButtonWidth): deleted, 12160 (configureEditor): set font, 12161 (isFocusTraversable): set to true for non-editable combobox, 12162 (paint): deleted border painting code, 12163 (paintBorder): deleted, 12164 (getPreferredSize): returns a value, not null, 12165 (getMinimumSize): likewise, 12166 (getMaximumSize): likewise, 12167 (rectangleForCurrentValue): reimplemented, 12168 (paintCurrentValue): no longer adjusts for border insets, 12169 (getDisplaySize): update maximum width and height independently, 12170 (ComboBoxLayoutManager): removed redundant 'extends Object', 12171 (ComboBoxLayoutManager.preferredLayoutSize): call getPreferredSize(), 12172 (ComboBoxLayoutManager.minimumLayoutSize): delegate to 12173 preferredLayoutSize(), 12174 (ComboBoxLayoutManager.layoutContainer): use arrow button preferred 12175 size in layout, 12176 (PropertyChangeHandler.propertyChange): added 'font' handling. 12177 121782005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12179 12180 * javax/swing/plaf/basic/BasicComboBoxUI.java 12181 (installListeners): add listener to arrowButton instead of comboBox, 12182 deleted call to configureArrowButton(), 12183 (uninstallListeners): remove listener from arrowButton instead of 12184 comboBox, and deleted call to unconfigureArrowButton(), 12185 (configureArrowButton): set font and enabled state, deleted 12186 addMouseListener() call, 12187 (unconfigureArrowButton): deleted removeMouseListener() call, 12188 (MouseHandler.mousePressed): just toggle display status of popup, 12189 (MouseHandler.mouseReleased): deleted. 12190 121912005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12192 12193 * javax/swing/plaf/basic/BasicComboBoxUI.java 12194 (largestItemSize): renamed displaySize, 12195 (getLargestItemSize): renamed getDisplaySize and changed to protected, 12196 (ComboBoxLayoutManager.preferredLayoutSize): updated for renamed field 12197 and method, 12198 (ListDataHandler.intervalAdded): likewise, 12199 (ListDataHandler.intervalRemoved): likewise. 12200 122012005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12202 12203 * javax/swing/plaf/basic/BasicComboBoxUI.java: 12204 Updated API docs all over. 12205 122062005-09-18 David Gilbert <david.gilbert@object-refinery.com> 12207 12208 * java/text/RuleBasedCollator.java: 12209 Fixed spelling error in comment. 12210 122112005-09-17 Tom Tromey <tromey@redhat.com> 12212 12213 * .settings/org.eclipse.jdt.ui.prefs: Add file template. 12214 122152005-09-17 Anthony Green <green@redhat.com> 12216 12217 * java/security/Security.java (getProviders): Pre-allocate the 12218 target array for Collection.toArray call. 12219 * gnu/java/security/PolicyFile.java (parse): Ditto. 12220 * javax/swing/filechooser/FileSystemView.java: Ditto. 12221 * javax/swing/JFileChooser.java (getChoosableFileFilters): Ditto. 12222 122232005-09-17 Tom Tromey <tromey@redhat.com> 12224 12225 PR classpath/22963: 12226 * java/nio/charset/Charset.java (forName): Javadoc fix. 12227 (providers2): Use ServiceFactory. 12228 122292005-09-17 Mark Wielaard <mark@klomp.org> 12230 12231 * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH, 12232 BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, 12233 DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, 12234 NO_CONTEXT, NO_CRED, OLD_TOKEN): Document official RFC values. 12235 122362005-09-17 Tom Tromey <tromey@redhat.com> 12237 12238 * java/lang/Short.java (SIZE): New constant. 12239 (MIN_CACHE, MAX_CACHE): Likewise. 12240 (shortCache): New field. 12241 (reverseBytes): New method. 12242 * java/lang/Long.java (SIZE): New constant. 12243 (valueOf): New method. 12244 (bitCount): New method. 12245 (rotateLeft): New method. 12246 (rotateRight): New method. 12247 (highestOneBit): New method. 12248 (numberOfLeadingZeros): New method. 12249 (lowestOneBit): New method. 12250 (numberOfTrailingZeros): New method. 12251 (signum): New method. 12252 (reverseBytes): New method. 12253 (reverse): New method. 12254 * java/lang/Float.java (SIZE): New constant. 12255 * java/lang/Double.java (SIZE): New constant. 12256 * java/lang/Character.java (SIZE): New constant. 12257 (MAX_CACHE): Likewise. 12258 (charCache): New field. 12259 (valueOf): New method. 12260 (reverseBytes): Likewise. 12261 * java/lang/Byte.java (SIZE): New constant. 12262 (byteCache): New field. 12263 (valueOf): New method. 12264 * java/lang/Boolean.java (parseBoolean): New method. 12265 122662005-09-17 Mark Wielaard <mark@klomp.org> 12267 12268 Reported by David Lichteblau <david@lichteblau.com> 12269 * native/jni/classpath/jcl.c (JCL_NewRawDataObject): Create 12270 NewGlobalRef before calling DeleteLocalRef. 12271 122722005-09-17 Paul Jenner <psj@harker.dyndns.org> 12273 12274 * configure.ac: Clarify that Werror configure option is 12275 disabled by default. 12276 122772005-09-17 Mark Wielaard <mark@klomp.org> 12278 12279 * javax/swing/plaf/basic/BasicMenuItemUI.java: Reindent boilerplate. 12280 122812005-09-17 Tom Tromey <tromey@redhat.com> 12282 12283 * java/util/prefs/Preferences.java (systemNodeForPackage): 12284 Javadoc fix. 12285 (userNodeForPackage): Likewise. 12286 * java/util/logging/LoggingPermission.java (serialVersionUID): 12287 New field. 12288 * java/io/ObjectInputStream.java (parseContent): Javadoc fix. 12289 122902005-09-17 Mark Wielaard <mark@klomp.org> 12291 12292 * doc/www.gnu.org/home.wml: Update mauve link. 12293 122942005-09-16 Anthony Green <green@redhat.com> 12295 12296 PR libgcj/20198 12297 * java/net/URLClassLoader.java (FileURLLoader.getResource): File 12298 resources should all have canonicalized names. 12299 123002005-09-16 Lillian Angel <langel@redhat.com> 12301 12302 * javax/swing/JTree.java 12303 (AccessibleJTreeNode): Fixed documentation. 12304 (addAccessibleSelection): Likewise, still needs to 12305 be implemented. 12306 (addFocusListener): Implemented. 12307 (addPropertyChangeListener): Implemented. 12308 (clearAccessibleSelection): Implemented. 12309 (contains): Implemented. 12310 (doAccessibleAction): Fixed documentation, still 12311 needs to be implemented. 12312 (getAccessibleAction): Likewise. 12313 (getAccessibleActionCount): Likewise. 12314 (getAccessibleActionDescription): Implemented. 12315 (getAccessibleAt): Implemented. 12316 (getAccessibleChild): Implemented. 12317 (getAccessibleChildrenCount): Implemented. 12318 (getAccessibleComponent): Fixed documentation. 12319 (getAccessibleContext): Implemented. 12320 (getAccessibleDescription): Implemented. 12321 (getAccessibleIndexInParent): Implemented. 12322 (getAccessibleName): Implemented. 12323 (getAccessibleParent): Fixed documentation. 12324 (getAccessibleRole): Likewise. 12325 (getAccessibleSelection): Likewise, still needs to 12326 be implemented. 12327 (getAccessibleSelection): Likewise. 12328 (getAccessibleSelectionCount): Implemented. 12329 (getAccessibleStateSet): Implemented. 12330 (getAccessibleText): Fixed documentation. 12331 (getAccessibleValue): Likewise. 12332 (getBackground): Implemented. 12333 (getBounds): Implemented. 12334 (getCursor): Fixed documentation, still needs to be 12335 implemented. 12336 (getFont): Implemented. 12337 (getFontMetrics): Implemented. 12338 (getForeground): Implemented. 12339 (getLocale): Implemented. 12340 (getLocation): Implemented. 12341 (getLocationInJTree): Implemented. 12342 (getLocationOnScreen): Implemented. 12343 (getSize): Implemented. 12344 (isAccessibleChildSelected): Implemented. 12345 (isEnabled): Implemented. 12346 (isFocusTraversable): Implemented. 12347 (isShowing): Implemented. 12348 (isVisible): Implemented. 12349 (removeAccessibleSelection): Fixed documentation, need to 12350 fix current implementation. 12351 (removeFocusListener): Implemented. 12352 (removePropertyChangeListener): Implemented. 12353 (requestFocus): Implemented. 12354 (selectAllAccessibleSelection): Need to implement. Added FIXME. 12355 (setAccessibleDescription): Implemented. 12356 (setAccessibleName): Implemented. 12357 (setBackground): Implemented. 12358 (setBounds): Implemented. 12359 (setCursor): Fixed documentation, still need to implement. 12360 (setEnabled): Implemented. 12361 (setFont): Implemented. 12362 (setForeground): Implemented. 12363 (setLocation): Implemented. 12364 (setSize): Implemented. 12365 (setVisible): Implemented. 12366 (AccessibleJTree): Fixed documentation, still need 12367 to implement. 12368 (addAccessibleSelection): Implemented. 12369 (clearAccessibleSelection): Implemented. 12370 (fireVisibleDataPropertyChange): Implemented. 12371 (getAccessibleAt): Fixed documentation, need to implement. 12372 (getAccessibleChild): Implemented. 12373 (getAccessibleChildrenCount): Implemented. 12374 (getAccessibleIndexInParent): Fixed documentation. 12375 (getAccessibleRole): Likewise. 12376 (getAccessibleSelection): Likewise, still need to implement. 12377 (getAccessibleSelection): Likewise. 12378 (getAccessibleSelectionCount): Implemented. 12379 (isAccessibleChildSelected): Implemented. 12380 (removeAccessibleSelection): Implemented. 12381 (selectAllAccessibleSelection): Implemented. 12382 (treeCollapsed): Implemented. 12383 (treeExpanded): Implemented. 12384 (treeNodesChanged): Implemented. 12385 (treeNodesInserted): Implemented. 12386 (treeNodesRemoved): Implemented. 12387 (treeStructureChanged): Implemented. 12388 (valueChanged): Implemented. 12389 (TreeModelListener): Fixed documentation. 12390 123912005-09-16 Tom Tromey <tromey@redhat.com> 12392 12393 * java/io/PrintWriter.java (PrintWriter): New constructors. 12394 123952005-09-16 Tom Tromey <tromey@redhat.com> 12396 12397 PR classpath/22689: 12398 * java/io/PrintWriter.java (closed): New field. 12399 (checkError): Only flush if stream not closed. 12400 (close): Set 'closed'. 12401 124022005-09-16 Tom Tromey <tromey@redhat.com> 12403 12404 * java/lang/Character.java (MIN_SURROGATE, MAX_SURROGATE): New 12405 constants. 12406 (isHighSurrogate): New method. 12407 (isLowSurrogate): Likewise. 12408 (isSurrogatePair): Likewise. 12409 (toCodePoint): Likewise. 12410 (codePointAt): Likewise. 12411 (codePointBefore): Likewise. 12412 * java/lang/StringBuffer.java (codePointCount): Check bounds. 12413 (codePointAt): Rewrote. 12414 (codePointBefore): Likewise. 12415 * java/lang/String.java (codePointAt): New method. 12416 (codePointBefore): Likewise. 12417 (codePointCount): Likewise. 12418 (contentEquals): New overload. 12419 124202005-09-16 Robert Schuster <robertschuster@fsfe.org> 12421 12422 * javax/swing/ProgressMonitor: Implemented the former stubbed 12423 class and added documentation. 12424 (close): Implemented and added documentation. 12425 (setProgress): Dito. 12426 (isCanceled): Dito. 12427 (setMinimum): Added documentation. 12428 (getMinimum): Dito. 12429 (setMaximum): Dito. 12430 (getMaximum): Dito. 12431 (setNote): Dito. 12432 (getMillisToDecideToPopup): Dito. 12433 (setMillisToDecideToPopup): Dito. 12434 (getMillisToPopup): Dito. 12435 (setMillisToPopup): Dito. 12436 (getNote): Dito. 12437 * javax/swing/ProgressMonitorInputStream: Implemented stub 12438 methods. 12439 (close): Implemented. 12440 (read): Dito. 12441 (reset): Dito. 12442 (skip): Dito. 12443 (getProgressMonitor): Dito. 12444 124452005-09-16 Tom Tromey <tromey@redhat.com> 12446 12447 PR classpath/23882: 12448 * java/text/StringCharacterIterator.java (StringCharacterIterator): 12449 Javadoc fix. 12450 (hashCode): New method. 12451 * java/text/ParsePosition.java (hashCode): New method 12452 124532005-09-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> 12454 12455 * javax/swing/Timer.java (Waker.run): Do not enter loop on 12456 repeats = false (fixes #23918). 12457 124582005-09-16 Andrew Haley <aph@redhat.com> 12459 12460 * java/io/ObjectStreamClass.java (findAccessibleMethod): Allow 12461 protected readResolve(). Rewrite accessibility check. 12462 124632005-09-16 Andrew Haley <aph@redhat.com> 12464 12465 * scripts/loc: New file. 12466 124672005-09-16 Anthony Green <green@redhat.com> 12468 12469 * java/lang/String.java (getBytes): Throw an InternalError instead 12470 of silently returning null. 12471 124722005-09-16 Lillian Angel <langel@redhat.com> 12473 12474 Fixes Bug #22610 12475 * java/awt/Container.java 12476 (remove): Removed component listeners from the component 12477 being removed. This was a problem if that same component 12478 that was removed was added to a new component. 12479 124802005-09-16 David Gilbert <david.gilbert@object-refinery.com> 12481 12482 * javax/swing/plaf/metal/MetalComboBoxEditor.java 12483 (MetalComboBoxEditorBorder.paintBorder): modified border appearance. 12484 124852005-09-16 David Gilbert <david.gilbert@object-refinery.com> 12486 12487 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: updated API docs 12488 and minor reformatting. 12489 124902005-09-16 Roman Kennke <kennke@aicas.com> 12491 12492 * javax/swing/JList.java 12493 (AccessibleJList): New inner class. 12494 124952005-09-16 David Gilbert <david.gilbert@object-refinery.com> 12496 12497 * examples/gnu/classpath/examples/swing/ButtonDemo.java: new file. 12498 124992005-09-16 David Gilbert <david.gilbert@object-refinery.com> 12500 12501 * javax/swing/plaf/metal/MetalIconFactory.java 12502 (RadioButtonIcon.paintIcon): change color of selection indicator 12503 according to component state. 12504 125052005-09-16 David Gilbert <david.gilbert@object-refinery.com> 12506 12507 * javax/swing/plaf/metal/MetalCheckBoxIcon.java 12508 (drawCheck): change color according to component state. 12509 125102005-09-16 David Gilbert <david.gilbert@object-refinery.com> 12511 12512 * javax/swing/plaf/metal/MetalBorders.java 12513 (ButtonBorder.paintBorder): draw a different border for a disabled 12514 button. 12515 125162005-09-15 Tom Tromey <tromey@redhat.com> 12517 12518 * java/lang/EnumConstantNotPresentException.java: New file. 12519 125202005-09-15 Anthony Green <green@redhat.com> 12521 12522 * java/awt/Color.java (RGBtoHSB): Don't use integer division when 12523 calculating saturation. 12524 * java/awt/Rectangle.java (equals): Explain why hashCode() isn't 12525 required. 12526 * java/awt/Point.java (equals): Ditto. 12527 12528 * java/util/zip/ZipFile.java (checkZipFile): Make sure we read the 12529 4 byte magic number. 12530 125312005-09-15 Tom Tromey <tromey@redhat.com> 12532 12533 * javax/swing/text/html/parser/DTD.java (FILE_VERSION): Now 12534 final. 12535 125362005-09-15 Tom Tromey <tromey@redhat.com> 12537 12538 * javax/naming/Name.java: Extends Comparable. 12539 125402005-09-15 Anthony Balkissoon <abalkiss@redhat.com> 12541 12542 * java/awt/Component.java: 12543 (isDisplayable): Don't check the parent's displayability, only return 12544 true if peer is non-null and false if peer is null. 12545 125462005-09-15 David Gilbert <david.gilbert@object-refinery.com> 12547 12548 * javax/swing/SwingUtilities.java 12549 (layoutCompoundLabel): check for empty text string, 12550 * javax/swing/plaf/basic/BasicButtonUI.java 12551 (paint): check isBorderPainted() when calculating view rect, 12552 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 12553 (CloseAction): new constructor, 12554 (IconifyAction): new constructor, 12555 (MaximizeAction): new constructor, 12556 (MoveAction): new constructor, 12557 (RestoreAction): new constructor, 12558 (SizeAction): new constructor, 12559 (TitlePaneLayout.layoutContainer): calculate button widths from icon 12560 widths, 12561 (installDefaults): initialise icon fields, 12562 (uninstallDefaults): clear icon fields, 12563 (createButtons): set button text to null, 12564 (setButtonIcons): use icon fields. 12565 125662005-09-15 Lillian Angel <langel@redhat.com> 12567 12568 * javax/swing/plaf/basic/BasicComboBoxRenderer.java 12569 (getListCellRendererComponent): Added code in to check if string 12570 is larger than comboBox. If it is, the string is truncated and 12571 '...' is drawn at the end of it. 12572 * javax/swing/plaf/basic/BasicComboBoxUI.java 12573 (getDefaultSize): Initially too small, still not fully implemented. 12574 (getLargestItemSize): Made private, not in API. 12575 (minimumLayoutSize): Implemented properly. 12576 (intervalAdded): ComboBox should not be resized with every new 12577 component. This is fixed. 12578 125792005-09-15 Tom Tromey <tromey@redhat.com> 12580 12581 * java/lang/EnumConstantNotPresentException.java: New file. 12582 125832005-09-15 Anthony Balkissoon <abalkiss@redhat.com> 12584 12585 * javax/swing/plaf/basic/BasicInternalFrameUI.java: 12586 Reformatted file. 12587 125882005-09-15 Lillian Angel <langel@redhat.com> 12589 12590 Fixes Bug #23678 12591 * javax/swing/plaf/basic/BasicFileChooserUI.java 12592 (CBLabelRenderer): Removed. Not in API, and it is really 12593 redundant to have. 12594 (installComponents): Changed the renderer set for the combo box. 12595 Also, added the buttonPanel to the parentsPanel, so they are 12596 always painted correctly. Set the FlowLayout to LEFT 12597 instead of default being CENTER. 12598 125992005-09-15 Anthony Balkissoon <abalkiss@redhat.com> 12600 12601 * javax/swing/JRootPane.java: 12602 (setContentPane): Remove the old content pane first. Throw 12603 IllegalComponentStateException if the parameter is null. Added docs. 12604 126052005-09-15 Tom Tromey <tromey@redhat.com> 12606 12607 Workaround for PR classpath/23863: 12608 * native/fdlibm/mprec.h (MAX_BIGNUM_WDS): Define as 128 on 12609 non-Pack_32 platforms. 12610 126112005-09-15 Anthony Balkissoon <abalkiss@redhat.com> 12612 12613 * java/awt/Component.java: 12614 (isDisplayable): Return true if peer != null. 12615 * java/awt/Window.java: 12616 (isDisplayable): Removed this method. Now inherits from Component. 12617 126182005-09-15 Anthony Green <green@redhat.com> 12619 12620 * java/io/PushbackInputStream.java (available, read, skip): Handle 12621 closed stream operations gracefully. 12622 126232005-09-15 Anthony Green <green@redhat.com> 12624 12625 * java/nio/charset/Charset.java: close() each stream we open. 12626 * java/net/URLStreamHandler.java: Remove redundant null pointer 12627 check. 12628 * java/security/Identity.java (equals, identityEquals): Don't use 12629 `==' to compare uninterned Strings. Use String.equals(). 12630 * java/lang/Class.java (pd): Mark this field as transient for 12631 FindBugs won't complain (although not strictly necessary). 12632 126332005-09-15 Anthony Balkissoon <abalkiss@redhat.com> 12634 12635 * javax/swing/JTextArea.java: 12636 (append): Changed invalidate call to revalidate call. 12637 (setRows): Likewise. 12638 (setColumns): Likewise. 12639 126402005-09-15 Lillian Angel <langel@redhat.com> 12641 12642 Fixes #23873 12643 * javax/swing/plaf/basic/BasicOptionPaneUI.java 12644 (createMessageArea): Changed orientation of message from EAST to 12645 CENTER. Also, fixed empty border values to make message more centered. 12646 * javax/swing/JOptionPane.java 12647 (showConfirmDialog): Added check for pane.getValue, since clicking on 12648 'x' of window does not have an initialized value. Was causing a 12649 ClassCastException. 12650 (showConfirmDialog): Likewise. 12651 (showConfirmDialog): Likewise. 12652 (showConfirmDialog): Likewise. 12653 126542005-09-15 David Gilbert <david.gilbert@object-refinery.com> 12655 12656 * javax/swing/plaf/basic/BasicButtonUI.java 12657 (installDefaults): set font, 12658 (uninstallDefaults): clear font, 12659 * javax/swing/plaf/metal/MetalLookAndFeel.java 12660 (initComponentDefaults): update ToggleButton defaults, 12661 * javax/swing/plaf/metal/MetalToggleButtonUI.java 12662 (instance): removed field, 12663 (createUI): just return new instance every time, 12664 (MetalToggleButtonUI): look up defaults directly, 12665 (getFocusColor): return value from field initialised in constructor, 12666 (getSelectColor): likewise, 12667 (getDisabledTextColor): likewise, 12668 (installDefaults): override to make public, 12669 (paintButtonPressed): implemented, 12670 (paintText): implemented, 12671 (paintFocus): implemented. 12672 126732005-09-15 David Gilbert <david.gilbert@object-refinery.com> 12674 12675 * javax/swing/plaf/metal/MetalBorders.java 12676 (toggleButtonBorder): new private field, 12677 (ToggleButtonBorder): new class, 12678 (getToggleButtonBorder): new method. 12679 126802005-09-14 Roman Kennke <kennke@aicas.com> 12681 12682 * javax/swing/text/DefaultStyledDocument.java 12683 (insertUpdate): Tweaked attribute comparison to avoid NPE. 12684 126852005-09-14 Roman Kennke <kennke@aicas.com> 12686 12687 * javax/swing/text/DefaultStyledDocument.java 12688 (insertUpdate): Tweaked attribute comparison to avoid NPE. 12689 * javax/swing/text/GlyphView.java 12690 (DefaultGlyphPainter.getBoundedPosition): Implemented. 12691 (DefaultGlyphPainter.viewToModel): Implemented. 12692 (getTabExpander): Don't be specific to ParagraphView here. All 12693 parents that implement TabExpander can be accepted. 12694 (getBeginIndex): Removed. This method is not documented in the 12695 specs. 12696 (getBreakWeight): Implemented. 12697 (changedUpdate): Implemented. 12698 (insertUpdate): Implemented. 12699 (removeUpdate): Implemented. 12700 (createFragment): Implemented. 12701 (breakView): Use createFragment. 12702 * javax/swing/text/Utilities.java 12703 (getTabbedTextOffset): Implemented both variants of this method. 12704 127052005-09-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> 12706 12707 * gnu/CORBA/Connected_objects.java (equals), 12708 * gnu/CORBA/Poa/activeObjectMap.java (equals): Removed, fixes 12709 #23879. 12710 * gnu/CORBA/Version.java (hashCode), 12711 * gnu/CORBA/gnuAny.java (hashCode): New method, fixes #23879. 12712 127132005-09-14 Lillian Angel <langel@redhat.com> 12714 12715 * javax/swing/JProgressBar.java 12716 (JProgressBar): Fixed to use setOrientation function. 12717 * javax/swing/plaf/metal/MetalProgressBarUI.java 12718 (createUI): Was using the same instance of the UI for 12719 each new JProgressBar. Fixed this. 12720 * javax/swing/plaf/basic/BasicTreeUI.java 12721 (installUI): Added call to prepareForUIInstall. 12722 (uninstallUI): Added call to prepareForUIUninstall. 12723 127242005-09-14 Anthony Balkisoon <abalkiss@redhat.com> 12725 12726 * javax/swing/text/ComponentView.java: 12727 (createComponent): Implemented. 12728 127292005-09-14 Audrius Meskauskas <AudriusA@Bioinformatics.org> 12730 12731 * org/omg/CosNaming/NameComponent (hashCode): New method, 12732 fixes #23883). 12733 127342005-09-14 Lillian Angel <langel@redhat.com> 12735 12736 Fixes Bug #23795 12737 * javax/swing/plaf/basic/BasicTreeUI.java: 12738 Made private fields package private. 12739 (setCellRenderer): Took out code that updateRenderer takes 12740 care of. 12741 (getPathBounds): Fixed to use treeModel field. 12742 (getPathForRow): Likewise. 12743 (getRowCount): Likewise. 12744 (installComponents): Implemented. 12745 (createNodeDimensions): Implemented. 12746 (uninstallComponents): Implemented. 12747 (getVerticalLegBuffer): Implemented. 12748 (getHorizontalLegBuffer): Implemented. 12749 (updateLayoutCacheExpandedNodes): Implemented. 12750 (updateExpandedDescendants): Implemented. 12751 (updateDepthOffset): Implemented. 12752 (updateRenderer): Implemented. 12753 (updateSize): Implemented. 12754 (installDefaults): Added some more defaults. 12755 (installUI): Moved code to installComponents. 12756 (paint): Fixed to use treeModel field. 12757 (ensureRowsAreVisible): Implemented. 12758 (getMinimumSize): Implemented. 12759 (getMaximumSize): Implemented. 12760 (checkForClickInExpandControl): Implemented. 12761 (isLocationInExpandControl): Implemented. 12762 (handleExpandControlClick): Implemented. 12763 (toggleExpandState): Implemented. 12764 (isToggleSelectionEvent): Implemented. 12765 (isMultiSelectEvent): Implemented. 12766 (isToggleEvent): Implemented. 12767 (selectPathForEvent): Implemented. 12768 (actionPerformed): Changed to use toggleExpandState. 12769 (mousePressed): Fixed code to use helper methods. Made 12770 more efficent. 12771 (TreeCancelEditingAction): Fixed Constructor signature. 12772 (actionPerformed): Fixed to use treeModel field. 12773 (paintRecursive): Fixed to use line drawing helper methods. 12774 (paintControlIcons): Fixed to use control icons helper methods. 12775 (getCurrentControlIcon): New method. 12776 (findNode): Changed to use treeModel field. 12777 (getNextNode): Likewise. 12778 (getPreviousNode): Likewise. 12779 (getNextSibling): Likewise. 12780 (getPreviousSibling): Likewise. 12781 (getPathToRoot): Likewise. 12782 (drawDashedHorizontalLine): Implemented. 12783 (drawDashedVerticalLine): Implemented. 12784 (paintExpandControl): Implemented. 12785 (paintHorizontalPartOfLeg): New method. 12786 (paintVerticalPartOfLeg): New method. 12787 (paintRow): New method. 12788 (shouldPaintExpandControl): New Method. 12789 * javax/swing/plaf/metal/MetalTreeUI.java: 12790 Added private fields for listeners. 12791 (getHorizontalLegBuffer): Implemented. 12792 (installUI): Implemented. 12793 (uninstallUI): Implemented. 12794 (decodeLineStyle): New method. 12795 (isLocationInExpandControl): Implemented. 12796 (paint): Implemented. 12797 (paintHorizontalSeparators): New method. 12798 (paintVerticalPartOfLeg): Implemented. 12799 (paintHorizontalPartOfLeg): Implemented. 12800 128012005-09-14 Anthony Balkissoon <abalkiss@redhat.com> 12802 12803 * javax/swing/JTextArea.java: 12804 (append): After non-empty append, invalidate. 12805 (setRows): If number of rows changes, invalidate. 12806 (setColumns): If number of columns changes, invalidate. 12807 128082005-09-14 Anthony Green <green@redhat.com> 12809 12810 * java/net/InetSocketAddress.java (toString): Adjust to match Sun 12811 JRE output, which is [HOSTNAME]/[IPADDRESS]:[PORT]. 12812 * gnu/java/security/der/DERReader.java: Remove stray semicolon. 12813 * gnu/xml/pipeline/ValidationConsumer.java: Fix flags test (was 12814 constant expression). 12815 * javax/swing/plaf/basic/BasicFileChooserUI.java, 12816 * javax/swing/filechooser/FileSystemView.java, 12817 * java/util/logging/LogManager.java, 12818 * gnu/xml/libxmlj/dom/GnomeDocument.java, 12819 * gnu/xml/aelfred2/JAXPFactory.java, 12820 * gnu/java/security/x509/ext/Extension.java, 12821 * gnu/java/security/x509/ext/BasicConstraints.java, 12822 * gnu/java/rmi/server/RMIObjectInputStream.java, 12823 * gnu/java/rmi/dgc/DGCImpl_Stub.java, 12824 * gnu/java/beans/decoder/BooleanHandler.java: Use 12825 Boolean.valueOf() instead of new Boolean. 12826 128272005-09-13 Tom Tromey <tromey@redhat.com> 12828 12829 * java/lang/StringBuffer.java (StringBuffer): New constructor. 12830 (trimToSize): New method. 12831 (codePointAt): Likewise. 12832 (codePointBefore): Likewise. 12833 (codePointCount): Likewise. 12834 (appendCodePoint): Likewise. 12835 (append): New overloads. 12836 (insert): Likewise. 12837 128382005-09-13 Tom Tromey <tromey@redhat.com> 12839 12840 * java/lang/Character.java: Typo fixes in javadoc. 12841 128422005-09-14 Roman Kennke <kennke@aicas.com> 12843 12844 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 12845 (calculateTabWidth): Don't use the calcRect here. This lead to an 12846 inconsistent state when this method is called from another method 12847 that also uses calcRect. 12848 (calculateTabHeight): Don't use the calcRect here. This lead to an 12849 inconsistent state when this method is called from another method 12850 that also uses calcRect. 12851 128522005-09-14 Roman Kennke <kennke@aicas.com> 12853 12854 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: 12855 Reformatted file. 12856 128572005-09-14 Andrew John Hughes <gnu_andrew@member.fsf.org> 12858 12859 * java/io/ObjectInputStream.java: 12860 (readObject()): Moved marker parsing to its own method. 12861 (parseContent(byte)): Fixed TC_OBJECT handling to loop on 12862 blockdata written manually by the class. 12863 128642005-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at> 12865 12866 * native/jni/classpath/jcl.c: Replaced undefined 12867 POINTERS_ARE_64BIT with SIZEOF_VOID_P == 8. 12868 128692005-09-14 David Gilbert <david.gilbert@object-refinery.com> 12870 12871 * javax/swing/plaf/metal/MetalIconFactory.java 12872 (PaletteCloseIcon): now implements UIResource. 12873 128742005-09-14 Roman Kennke <kennke@aicas.com> 12875 12876 * javax/swing/ButtonModel.java: Added API docs all over. 12877 128782005-09-14 Roman Kennke <kennke@aicas.com> 12879 12880 * javax/swing/JTabbedPane.java: Added API comments to make clear 12881 that null values for tab titles are allowed. 12882 128832005-09-14 Roman Kennke <kennke@aicas.com> 12884 12885 Fixes Bug#23859. 12886 * javax/swing/JTabbedPane.java 12887 (insertTab): Check if title == null and if so, then set it 12888 to "". Otherwise the null string would cause a segfault or 12889 an assertion failure in font metrics calculation as reported 12890 in bug#23859. 12891 128922005-09-14 David Gilbert <david.gilbert@object-refinery.com> 12893 12894 * gnu/CORBA/ExceptionCreator.java: minor API doc fixes, 12895 * gnu/CORBA/Version.java: likewise. 12896 128972005-09-14 David Gilbert <david.gilbert@object-refinery.com> 12898 12899 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java: 12900 (getPropertyPrefix): added API docs, 12901 * javax/swing/plaf/basic/BasicPasswordFieldUI.java: 12902 (getPropertyPrefix): added API docs, 12903 * javax/swing/plaf/basic/BasicTextAreaUI.java: 12904 (getPropertyPrefix): added API docs, 12905 * javax/swing/plaf/basic/BasicTextFieldUI.java: 12906 (getPropertyPrefix): added API docs, 12907 * javax/swing/plaf/basic/BasicTextPaneUI.java: 12908 (getPropertyPrefix): added API docs. 12909 129102005-09-14 David Gilbert <david.gilbert@object-refinery.com> 12911 12912 * org/omg/CORBA/ORB.java: minor API doc fixes, 12913 * org/omg/CORBA/PERSIST_STORE.java: likewise, 12914 * org/omg/CORBA/PolicyError.java: likewise, 12915 * org/omg/CORBA/ValueBaseHolder.java: likewise, 12916 * org/omg/CORBA/VisibilityHelper.java: likewise. 12917 129182005-09-14 David Gilbert <david.gilbert@object-refinery.com> 12919 12920 * javax/swing/plaf/metal/MetalComboBoxIcon.java: fixed header, 12921 (paintIcon): change color to reflect component state. 12922 129232005-09-13 Tom Tromey <tromey@redhat.com> 12924 12925 * .settings/org.eclipse.jdt.core.prefs: Ignore javadoc warnings 12926 for hidden or deprecated members. 12927 129282005-09-14 Roman Kennke <kennke@aicas.com> 12929 12930 * javax/swing/text/AbstractDocument.java 12931 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12932 (getContent): Made method final. 12933 (AbstractElement.dumpElement): Removed superfluous private method. 12934 (AbstractElement.dump): Made diagnostic output more speaking. 12935 * javax/swing/text/BoxView.java 12936 (paintChild): Don't allocate the child region here. 12937 (paint): Allocate the child region here instead. 12938 * javax/swing/text/ComponentView.java: 12939 Added API doc comments. 12940 * javax/swing/text/CompositeView.java 12941 (getNextVisualPositionFrom): Declared to throw BadLocationException. 12942 (getNextNorthSouthVisualPositionFrom): Likewise. 12943 (getNextEastWestVisualPositionFrom): Likewise. 12944 * javax/swing/text/DefaultCaret.java 12945 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12946 * javax/swing/text/DefaultEditorKit.java 12947 Slight reformatting. 12948 * javax/swing/text/DefaultFormatter.java 12949 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12950 * javax/swing/text/DefaultStyledEditorKit.java 12951 (ElementBuffer.insertUpdate): Removed unneeded statement. 12952 (ElementBuffer.insertStartTag): Attach a resolve parent to new 12953 paragraph elements. 12954 (createDefaultRoot): Attach a resolve parent to new paragraph 12955 elements. 12956 * javax/swing/text/InternationalFormatter.java 12957 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12958 * javax/swing/text/JTextComponent.java 12959 Slight reformatting. 12960 (paramString): Added TODO comment. 12961 * javax/swing/text/SimpleAttributeSet.java 12962 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12963 (equals): Don't require object to be SimpleAttributeSet. Allows 12964 comparing to all kinds of AttributeSets. 12965 (isEqual): Likewise. 12966 * javax/swing/text/StringContent.java 12967 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12968 * javax/swing/text/StyleConstants.java 12969 (getBackground): Return white as default background instead of black. 12970 * javax/swing/text/StyleConstext.java 12971 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12972 (SmallAttributeSet.equals): Don't require object to be 12973 SmallAttributeSet. Allows comparing to all kinds of AttributeSets. 12974 * javax/swing/text/StyledEditorKit.java 12975 Fixed some comments. 12976 * javax/swing/text/TabSet.java 12977 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12978 * javax/swing/text/TabStop.java 12979 Bumped up serialVersionUIDs to JDK 1.5 compatibility. 12980 * javax/swing/text/View.java 12981 Removed unneeded import. 12982 129832005-09-14 Robert Schuster <robertschuster@fsfe.org> 12984 12985 * javax/swing/JOptionPane.java: 12986 (showConfirmDialog): Changed QUESTION_MESSAGE like the JDK 12987 does. 12988 * javax/swing/plaf/basic/BasicOptionPaneUI.java: 12989 (getButtons): Treat DEFAULT_OPTION like 12990 YES_NO_CANCEL_OPTION like the JDK. 12991 129922005-09-14 Roman Kennke <kennke@aicas.com> 12993 12994 * javax/swing/text/GapContent.java 12995 (GapContentPosition.getOffset): Made assertion more speaking. 12996 (GapContent): Modified initialization for compatibility with JDK. 12997 (shiftEnd): Update marks prior to modification of the content. 12998 Use new getPositionsInRange method. 12999 (shiftGap): Use new getPositionsInRange method. Tweaked to corectly 13000 update the marks. 13001 (shiftGapStartDown): New method. 13002 (shiftGapEndUp): New method. 13003 (replace): Use shiftGapEndUp. Modified resizing offset. 13004 (getGapStart): New method. 13005 (getGapEnd): New method. 13006 (getPositionsInRange): New method. 13007 130082005-09-14 Roman Kennke <kennke@aicas.com> 13009 13010 * javax/swing/text/GlyphView.java 13011 (AbstractGlyphPainter.getAscent): New abstract method. 13012 (AbstractGlyphPainter.getDescent): New abstract method. 13013 (AbstractGlyphPainter.getBoundedPosition): New abstract method. 13014 (AbstractGlyphPainter.viewToModel): New abstract method. 13015 (AbstractGlyphPainter.getNextVisualPositionFrom): New method. 13016 (AbstractGlyphPainter.getPainter): New method. 13017 (DefaultGlyphPainter.paint): Add support for more text attributes. 13018 (DefaultGlyphPainter.getAscent): New method. 13019 (DefaultGlyphPainter.getDescent): New method. 13020 (DefaultGlyphPainter.getBoundedPosition): New method. 13021 (DefaultGlyphPainter.viewToModel): New method. 13022 (GlyphView): Store start and end offset in the GlyphView. 13023 (getPreferredSpan): Differentiate the axis parameter. 13024 (viewToModel): Implemented this method. 13025 (getStartOffset): Return value of private field instead of the 13026 element value. 13027 (getEndOffset): Return value of private field instead of the 13028 element value. 13029 (getBackground): New method. 13030 (isStrikeThrough): New method. 13031 (isSubscript): New method. 13032 (isSuperscript): New method. 13033 (isUnderline): New method. 13034 (clone): New method. 13035 (breakView): New method. 13036 (getBreakWeight): New method. 13037 (changedUpdate): New method. 13038 (insertUpdate): New method. 13039 (removeUpdate): New method. 13040 (createFragment): New method. 13041 (getAlignment): New method. 13042 (getNextVisualPositionFrom): New method. 13043 130442005-09-13 Tom Tromey <tromey@redhat.com> 13045 13046 * java/util/regex/Matcher.java (matches): Javadoc fix. 13047 (start): Likewise. 13048 * java/lang/reflect/Proxy.java (equals): Javadoc fix. 13049 * java/io/ObjectInputStream.java (inputGetObjectStreamClasses): Javadoc 13050 fix. 13051 * java/util/zip/ZipFile.java (getEntry): Javadoc fix. 13052 * java/util/logging/XMLFormatter.java (getHead): Javadoc fix. 13053 * java/util/logging/LogManager.java (getLevelProperty): Javadoc fix. 13054 * java/util/logging/Handler.java (getEncoding): Javadoc fix. 13055 (setFilter): Likewise. 13056 * java/util/logging/FileHandler.java: Organized imports. 13057 * java/util/jar/Manifest.java (Manifest): Javadoc fix. 13058 * java/util/TreeMap.java (putFromObjStream): Javadoc fix. 13059 * java/util/SimpleTimeZone.java (isBefore): Javadoc fix. 13060 * java/util/ResourceBundle.java (tryBundle): Javadoc fix. 13061 * java/util/Random.java (seed): Javadoc fix. 13062 * java/util/Collections.java (SynchronizedSortedSet): Javadoc fix. 13063 (SingletonMap): Likewise. 13064 (addAll): Javadoc fix. 13065 * java/lang/reflect/UndeclaredThrowableException.java: Javadoc fix. 13066 * java/lang/reflect/Member.java (DECLARED, PUBLIC): Javadoc fix. 13067 * java/lang/ref/WeakReference.java: Javadoc fix. 13068 * java/lang/ref/Reference.java: Javadoc fix. 13069 (Reference): Likewise. 13070 * java/lang/Thread.java (setContextClassLoader): Javadoc fix. 13071 (getContextClassLoader): Likewise. 13072 (stop): Likewise. 13073 * java/lang/System.java (runFinalizersOnExit): Javadoc fix. 13074 * java/lang/String.java (upperExpand): Javadoc fix. 13075 * java/lang/StrictMath.java: Javadoc fixes. 13076 * java/lang/SecurityManager.java: Added imports for javadoc. 13077 (currentClassLoader): Javadoc fix. 13078 (classLoaderDepth): Likewise. 13079 (currentLoadedClass): Likewise. 13080 (checkRead): Likewise. 13081 (checkWrite): Likewise. 13082 (checkAccess): Likewise. 13083 * java/lang/RuntimePermission.java: Added import for javadoc. 13084 * java/lang/Readable.java (read): Added import for javadoc. 13085 130862005-09-13 Casey Marshall <csm@gnu.org> 13087 13088 * gnu/classpath/ByteArray.java: new file. 13089 * gnu/java/security/provider/Gnu.java 13090 (<init>): add Diffie Hellman and RSA algorithms. 13091 * gnu/javax/crypto/DiffieHellmanImpl.java: new file. 13092 * gnu/javax/crypto/GnuDHPrivateKey.java: new file. 13093 * gnu/javax/crypto/RSACipherImpl.java: new file. 13094 130952005-09-13 David Gilbert <david.gilbert@object-refinery.com> 13096 13097 * javax/swing/plaf/metal/MetalComboBoxButton.java: new file, 13098 * javax/swing/plaf/metal/MetalComboBoxEditor.java: likewise. 13099 131002005-09-13 Tom Tromey <tromey@redhat.com> 13101 13102 * java/lang/Process.java: Added import for javadoc. 13103 * java/lang/Object.java (notify): Javadoc fix. 13104 (notifyAll): Likewise. 13105 * java/io/PipedInputStream.java (connect): Javadoc fix. 13106 * java/io/OutputStreamWriter.java: Organized imports. 13107 * java/io/ObjectStreamField.java (setOffset): Javadoc fix. 13108 * java/io/ObjectInputStream.java (readFields): Javadoc fix. 13109 * java/io/DataOutputStream.java (writeChars): Javadoc fix. 13110 (writeFloat): Likewise. 13111 (writeDouble): Likewise. 13112 * java/util/Locale.java (readObject): Javadoc fix. 13113 (writeObject): Likewise. 13114 * java/io/LineNumberReader.java (read): Javadoc fix. 13115 (setLineNumber): Likewise. 13116 (mark): Likewise. 13117 * java/io/InputStreamReader.java: Updated imports. 13118 * java/lang/Integer.java (parseInt): Javadoc fix. 13119 * java/io/FilterReader.java (skip): Javadoc fix. 13120 * java/util/HashMap.java (containsValue): Javadoc fix. 13121 * java/lang/ClassLoader.java (findLibrary): Javadoc fix. 13122 (setPackageAssertionStatus): Likewise. 13123 (setClassAssertionStatus): Likewise. 13124 * java/lang/Class.java: Added imports for javadoc. 13125 (matchMethod): Javadoc fix. 13126 * java/util/ArrayList.java (readObject): Javadoc fix. 13127 (writeObject): Likewise. 13128 * java/lang/String.java (CaseInsensitiveComparator): Javadoc fix. 13129 * java/util/zip/PendingBuffer.java (toByteArray): Javadoc fix. 13130 * javax/swing/plaf/metal/OceanTheme.java: Mark as 1.5. 13131 * java/util/logging/SimpleFormatter.java (format): Javadoc fix. 13132 * java/util/zip/ZipFile.java (getEntries): Javadoc fix. 13133 131342005-09-13 David Gilbert <david.gilbert@object-refinery.com> 13135 13136 * javax/swing/plaf/basic/BasicComboBoxUI.java 13137 (lightHighlight): removed, 13138 (installDefaults): only update component attributes if they are tagged 13139 with UIResource, initialise button colors from correct defaults, 13140 (uninstallDefaults): only clear attributes that are tagged with 13141 UIResource. 13142 131432005-09-13 Lillian Angel <langel@redhat.com> 13144 13145 * javax/swing/JTree.java 13146 (AccessibleJTree): Added new Inner class. 13147 (AccessibleJTree.addAccessibleSelection): New method. 13148 (AccessibleJTree.clearAccessibleSelection): New method. 13149 (AccessibleJTree.fireVisibleDataPropertyChange): New method. 13150 (AccessibleJTree.getAccessibleAt): New method. 13151 (AccessibleJTree.getAccessibleChild): New method. 13152 (AccessibleJTree.getAccessibleChildrenCount): New method. 13153 (AccessibleJTree.getAccessibleIndexInParent): New method. 13154 (AccessibleJTree.getAccessibleRole): New method. 13155 (AccessibleJTree.getAccessibleSelection): New method. 13156 (AccessibleJTree.getAccessibleSelection): New method. 13157 (AccessibleJTree.getAccessibleSelectionCount): New method. 13158 (AccessibleJTree.isAccessibleChildSelected): New method. 13159 (AccessibleJTree.removeAccessibleSelection): New method. 13160 (AccessibleJTree.selectAllAccessibleSelection): New method. 13161 (AccessibleJTree.treeCollapsed): New method. 13162 (AccessibleJTree.treeExpanded): New method. 13163 (AccessibleJTree.treeNodesChanged): New method. 13164 (AccessibleJTree.treeNodesInserted): New method. 13165 (AccessibleJTree.treeNodesRemoved): New method. 13166 (AccessibleJTree.treeStructureChanged): New method. 13167 (AccessibleJTree.valueChanged): New method. 13168 (AccessibleJTreeNode): Likewise. 13169 (AccessibleJTreeNode.addAccessibleSelection): New method. 13170 (AccessibleJTreeNode.addFocusListener): New method. 13171 (AccessibleJTreeNode.addPropertyChangeListener): New method. 13172 (AccessibleJTreeNode.clearAccessibleSelection): New method. 13173 (AccessibleJTreeNode.contains): New method. 13174 (AccessibleJTreeNode.doAccessibleAction): New method. 13175 (AccessibleJTreeNode.getAccessibleAction): New method. 13176 (AccessibleJTreeNode.getAccessibleActionCount): New method. 13177 (AccessibleJTreeNode.getAccessibleActionDescription): New method. 13178 (AccessibleJTreeNode.getAccessibleAt): New method. 13179 (AccessibleJTreeNode.getAccessibleChild): New method. 13180 (AccessibleJTreeNode.getAccessibleChildrenCount): New method. 13181 (AccessibleJTreeNode.getAccessibleComponent): New method. 13182 (AccessibleJTreeNode.getAccessibleContext): New method. 13183 (AccessibleJTreeNode.getAccessibleDescription): New method. 13184 (AccessibleJTreeNode.getAccessibleIndexInParent): New method. 13185 (AccessibleJTreeNode.getAccessibleName): New method. 13186 (AccessibleJTreeNode.getAccessibleParent): New method. 13187 (AccessibleJTreeNode.getAccessibleRole): New method. 13188 (AccessibleJTreeNode.getAccessibleSelection): New method. 13189 (AccessibleJTreeNode.getAccessibleSelectionCount): New method. 13190 (AccessibleJTreeNode.getAccessibleStateSet): New method. 13191 (AccessibleJTreeNode.getAccessibleText): New method. 13192 (AccessibleJTreeNode.getAccessibleValue): New method. 13193 (AccessibleJTreeNode.getBackground): New method. 13194 (AccessibleJTreeNode.getBounds): New method. 13195 (AccessibleJTreeNode.getCursor): New method. 13196 (AccessibleJTreeNode.getFont): New method. 13197 (AccessibleJTreeNode.getFontMetrics): New method. 13198 (AccessibleJTreeNode.getForeground): New method. 13199 (AccessibleJTreeNode.getLocale): New method. 13200 (AccessibleJTreeNode.getLocation): New method. 13201 (AccessibleJTreeNode.getLocationInJTree): New method. 13202 (AccessibleJTreeNode.getLocationOnScreen): New method. 13203 (AccessibleJTreeNode.getSize): New method. 13204 (AccessibleJTreeNode.isAccessibleChildSelected): New method. 13205 (AccessibleJTreeNode.isEnabled): New method. 13206 (AccessibleJTreeNode.isVisible): New method. 13207 (AccessibleJTreeNode.removeAccessibleSelection): New method. 13208 (AccessibleJTreeNode.removeFocusListener): New method. 13209 (AccessibleJTreeNode.removePropertyChangeListener): New method. 13210 (AccessibleJTreeNode.requestFocus): New method. 13211 (AccessibleJTreeNode.selectAllAccessibleSelection): New method. 13212 (AccessibleJTreeNode.setAccessibleDescription): New method. 13213 (AccessibleJTreeNode.setAccessibleName): New method. 13214 (AccessibleJTreeNode.setBackground): New method. 13215 (AccessibleJTreeNode.setBounds): New method. 13216 (AccessibleJTreeNode.setCursor): New method. 13217 (AccessibleJTreeNode.setEnabled): New method. 13218 (AccessibleJTreeNode.setFont): New method. 13219 (AccessibleJTreeNode.setForeground): New method. 13220 (AccessibleJTreeNode.setLocation): New method. 13221 (AccessibleJTreeNode.setVisible): New method. 13222 (removeDescendantToggledPaths): Implemented. 13223 (treeDidChange): Implemented. 13224 132252005-09-13 Thomas Fitzsimmons <fitzsim@redhat.com> 13226 13227 * native/jawt/jawt.c (_Jv_AWTLock): Do nothing. 13228 (_Jv_AWTUnlock): Likewise. 13229 132302005-09-13 David Daney <ddaney@avtrex.com> 13231 13232 * java/io/ByteArrayOutputStream.java: Reformated copyright notice. 13233 (toString(int)): Pass correct parameters to String constructor. 13234 132352005-09-13 David Gilbert <david.gilbert@object-refinery.com> 13236 13237 * javax/swing/JComboBox.java 13238 (getPrototypeDisplayValue): added API docs, 13239 (setPrototypeDisplayValue): fire property change event. 13240 132412005-09-13 Roman Kennke <kennke@aicas.com> 13242 13243 * javax/swing/text/DefaultStyledDocument.java 13244 (ElementSpec): New inner class. 13245 (ElementBuffer.change): Also store the DefaultDocumentEvent. 13246 (ElementBuffer.split): Also update the document event. 13247 (ElementBuffer.insert): New method. 13248 (ElementBuffer.insertUpdate): New method. 13249 (ElementBuffer.insertStartTag): New method. 13250 (ElementBuffer.insertEndTag): New method. 13251 (ElementBuffer.insertContentTag): New method. 13252 (SectionElement): New inner class. 13253 (createDefaultRoot): Return SectionElement instead of BranchElement. 13254 (getParagraphElement): Optimized access to paragraph element. 13255 (setCharacterAttributes): Fire changedUpdate after modification. 13256 (insertUpdate): New method. 13257 132582005-09-13 Roman Kennke <kennke@aicas.com> 13259 13260 * javax/swing/SizeRequirements.java 13261 (toString): Implemented this method. 13262 (calculateAlignedPositions): Partly implemented this method. 13263 132642005-09-13 Roman Kennke <kennke@aicas.com> 13265 13266 * javax/swing/JTabbedPane.java: Added API comments all over. 13267 132682005-09-13 Roman Kennke <kennke@aicas.com> 13269 13270 * javax/swing/JTree.java: Reformatted file. 13271 * javax/swing/ListCellRenderer.java: Likewise. 13272 * javax/swing/ListSelectionModel.java: Likewise. 13273 * javax/swing/MenuElement.java: Likewise. 13274 * javax/swing/OverlayLayout.java: Likewise. 13275 * javax/swing/ProgressMonitor.java: Likewise. 13276 * javax/swing/ProgressMonitorInputStream.java: Likewise. 13277 * javax/swing/Renderer.java: Likewise. 13278 * javax/swing/RepaintManager.java: Likewise. 13279 * javax/swing/RootPaneContainer.java: Likewise. 13280 * javax/swing/Scrollable.java: Likewise. 13281 * javax/swing/SingleSelectionModel.java: Likewise. 13282 * javax/swing/SizeSequence.java: Likewise. 13283 * javax/swing/SpinnerListModel.java: Likewise. 13284 * javax/swing/UnsupportedLookAndFeelException.java: Likewise. 13285 * javax/swing/ViewportLayout.java: Likewise. 13286 * javax/swing/WindowConstants.java: Likewise. 13287 132882005-09-12 Tom Tromey <tromey@redhat.com> 13289 13290 * .settings/org.eclipse.jdt.core.prefs: Enable javadoc warnings. 13291 132922005-09-12 Tom Tromey <tromey@redhat.com> 13293 13294 * java/lang/ThreadLocal.java: Organized imports. 13295 * java/lang/Double.java: Organized imports. 13296 132972005-09-12 Casey Marshall <csm@gnu.org> 13298 13299 PR 23819 13300 * javax/security/auth/Subject.java (SecureSet.<init>): rename 13301 input paremeter to 'inElements.' 13302 (SecureSet.contains): return 'elements.contains,' not 13303 'elements.remove.' 13304 13305 PR 23822 13306 * javax/security/auth/SubjectDomainCombiner.java 13307 (combine): don't access 'subject' if null. 13308 133092005-09-12 David Gilbert <david.gilbert@object-refinery.com> 13310 13311 * examples/gnu/classpath/examples/swing/Demo.java 13312 (mkDesktopWorld): add palette style frame, 13313 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 13314 (closeIcon): new field, 13315 (installListeners): call createPropertyChangeListener() to create the 13316 new listener to allow for overriding, 13317 (installDefaults): set the font in the title, read closeIcon from 13318 defaults, 13319 (uninstallDefaults): clear closeIcon, 13320 (setButtonIcons): set icon for closeButton, 13321 (paintComponent): set font for title, 13322 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java 13323 (MetalInternalFrameTitlePanePropertyChangeHandler): new support class, 13324 (MetalTitlePaneLayout): likewise, 13325 (paletteTitleHeight): initialise from defaults elsewhere, 13326 (title): new private field, 13327 (installDefaults): initialise various defaults, 13328 (uninstallDefaults): clear defaults, 13329 (addSubComponents): add sub-components used in this look and feel, 13330 (createLayout): return new instance of MetalTitlePaneLayout, 13331 (paintPalette): renders the title pane using the palette style, 13332 (paintComponent): call paintPalette() if the internal frame uses the 13333 palette style, otherwise handle painting without calling superclass 13334 anymore, 13335 (setPalette): update the icon visibility, 13336 (createPropertyChangeListener): return a new change handler, 13337 * javax/swing/plaf/metal/MetalInternalFrameUI.java 13338 (IS_PALETTE): new static field, 13339 (installUI): check IS_PALETTE property, 13340 (createNorthPane): removed empty border, 13341 (setPalette): update border as appropriate, 13342 (paletteListener): new private field, 13343 (installListeners): install a listener to handle changes in the 13344 IS_PALETTE property, 13345 (uninstallListeners): clear the listener from installListeners(), 13346 * javax/swing/plaf/metal/MetalLookAndFeel.java 13347 (initComponentDefaults): added defaults for 'DesktopIcon.border', 13348 'InternalFrame.paletteBorder', 'InternalFrame.paletteCloseIcon', and 13349 'InternalFrame.paletteTitleHeight'. 13350 133512005-09-12 David Gilbert <david.gilbert@object-refinery.com> 13352 13353 * javax/swing/JComponent.java 13354 (putClientProperty): fire property change event. 13355 133562005-09-12 Anthony Balkissoon <abalkiss@redhat.com> 13357 13358 * javax/swing/JScrollPane.java: 13359 (addNonNull): Changed from adding to container with no constraints to 13360 adding to container with the appropriate ScrollPaneConstant as a 13361 constraint. This avoids IllegalArgumentExceptions in ScrollPaneLayout. 13362 (setColumnHeader): Added constraint to addNonNull call. 13363 (setCorner): Likewise. 13364 (setHorizontalScrollBar): Likewise. 13365 (setRowHeader): Likewise. 13366 (setVerticalScrollBar): Likewise. 13367 (setViewport): Likewise. 13368 * javax/swing/JViewport.java: 13369 (setViewSize): Don't set the size or fireStateChanged unless the new 13370 size is different from the old size. 13371 (setView): Reset isViewSizeSet to false. 13372 * javax/swing/ScrollPaneLayout: 13373 (addSingletonComponent): Implemented and documented. 13374 (addLayoutComponent): Throw an IllegalArgumentException if key is 13375 not one of the appropriate ScrollPaneConstants constants. Added docs. 13376 (setVerticalScrollBarPolicy): Likewise. 13377 (setHorizontalScrollBarPolicy): Likewise. 13378 (getCorner): Added docs. 13379 133802005-09-12 Roman Kennke <kennke@aicas.com> 13381 13382 * javax/swing/JCheckBox.java 13383 (AccessibleJCheckBox): New inner class. 13384 (getAccessibleContext): Implemented this method. 13385 * javax/swing/JLayeredPane.java 13386 (AccessibleJLayeredPane): New inner class. 13387 (getAccessibleContext): Implemented this method. 13388 133892005-09-12 Roman Kennke <kennke@aicas.com> 13390 13391 * javax/swing/JTable.java 13392 (getCellRect): Don't include cell gap in cell rectangle 13393 calculation. It's already included in TableColumnModel.getWidth(). 13394 (createDefaultColumnsFromModel): Initialize table header values. 13395 * javax/swing/plaf/basic/BasicTableUI.java 13396 (paint): Don't include cell gap in cell rectangle 13397 calculation. It's already included in TableColumnModel.getWidth(). 13398 133992005-09-12 Tom Tromey <tromey@redhat.com> 13400 13401 * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH, 13402 BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, 13403 DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, 13404 NO_CONTEXT, NO_CRED, OLD_TOKEN): Use values from JDK, not RFC. 13405 134062005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com> 13407 13408 * lib/Makefile.am (JAVAC): Specify -source 1.4 to ecj. 13409 134102005-09-12 Lillian Angel <langel@redhat.com> 13411 13412 * javax/swing/tree/DefaultTreeCellEditor.java 13413 (isCellEditable): Stopped the timer if it is started and 13414 should not be restarted. This is a fix for the 'click-pause- 13415 click' method to start editing. 13416 134172005-09-12 Lillian Angel <langel@redhat.com> 13418 13419 * gnu/java/awt/AWTUtilities.java 13420 (convertPoint): Added a check to determine if source and 13421 destination components are showing. 13422 * javax/swing/JPopupMenu.java 13423 (setVisible): Added check to determine if component is showing. 13424 (show): Likewise. 13425 * javax/swing/MenuSelectionManager.java 13426 (componentForPoint): Added check to determine if component is showing. 13427 * javax/swing/ToolTipManager.java 13428 (showTip): Added check to determine if component is showing. 13429 * javax/swing/plaf/basic/BasicToolBarUI.java 13430 (mousePressed): Added check to determine if component is showing. 13431 134322005-09-12 David Gilbert <david.gilbert@object-refinery.com> 13433 13434 * javax/swing/plaf/metal/MetalIconFactory.java 13435 (InternalFrameCloseIcon.paintIcon): change colors according to button 13436 state, 13437 (InternalFrameAltMaximizeIcon.paintIcon): likewise, 13438 (InternalFrameMaximizeIcon.paintIcon): likewise, 13439 (InternalFrameMinimizeIcon.paintIcon): likewise. 13440 134412005-09-12 Roman Kennke <kennke@aicas.com> 13442 13443 * javax/swing/plaf/metal/MetalBorders.java 13444 (TableHeaderBorder): New inner class. 13445 (TextFieldBorder.paintBorder): Only paint the active border 13446 if the text field is enabled _and_ editable. 13447 * javax/swing/plaf/metal/MetalLookAndFeel.java 13448 (initComponentDefaults): Added default to use the new 13449 TableHeaderBorder for table headers. 13450 134512005-09-12 Anthony Balkissoon <abalkiss@redhat.com> 13452 13453 * java/awt/Container.java: 13454 (findComponentForMouseEventAt): Reduced visibility to package-private. 13455 (getDeepestComponentForMouseEventAt): Reduced visibility to 13456 package-private and removed static modifier. 13457 134582005-09-12 David Gilbert <david.gilbert@object-refinery.com> 13459 13460 * javax/swing/plaf/metal/MetalBorders.java 13461 (desktopIconBorder): new private field, 13462 (DesktopIconBorder): new support class, 13463 (getDesktopIconBorder): implemented, 13464 (InternalFrameBorder.paintBorder): change color of line highlights if 13465 the internal frame is selected. 13466 134672005-09-12 Chris Burdess <dog@gnu.org> 13468 13469 * gnu/xml/dom/DomDocument.java: Implementation of xml:id W3C 13470 Recommendation. 13471 134722005-09-12 Roman Kennke <kennke@aicas.com> 13473 13474 * javax/swing/JTable.java 13475 (TableColumnPropertyChangeHandler): New inner class. Handles 13476 changes of column widths. 13477 (JTable(TableModel, TableColumnModel, ListSelectionModel)): 13478 Check if column model == null and if so, create a default model. 13479 (initializeLocalVars): Changed to use createDefaultColumnsFromModel 13480 instead of createColumnsFromModel. 13481 (addColumn): Add property change handler to new column. 13482 (createColumnsFromModel): Removed redundant private method. 13483 Use the public createDefaultColumnsFromModel instead. 13484 (tableChanged): Use createDefaultColumnsFromModel instead of 13485 createColumnsFromModel. 13486 (setModel): Use createDefaultColumnsFromModel instead of 13487 createColumnsFromModel. 13488 (doLayout): When handling AUTO_RESIZE_OFF, then adjust the 13489 size of the resizing column to it's (new) preferred size. 13490 (createDefaultColumnsFromModel): Added assertion to make sure 13491 that the column model is not null. Add property change handler 13492 to new columns. 13493 * javax/swing/table/TableColumn.java 13494 (setWidth): Fire property change with name 'width' instead 13495 of using the (obsolete) constant field COLUMN_WIDTH_PROPERTY. 13496 (setPreferredWidth): Make this property a bound property. 13497 134982005-09-11 Thomas Fitzsimmons <fitzsim@redhat.com> 13499 13500 PR swing/22922 13501 * java/awt/event/InputEvent.java (modifiersEx): New field. 13502 (InputEvent): Assume modifiers parameter contains both new- and 13503 old-style masks. 13504 (isShiftDown): Check modifiers for old-style shift mask and 13505 modifiersEx for new-style shift mask. 13506 (isControlDown): Likewise for control mask. 13507 (isMetaDown): Likewise for meta mask. 13508 (isAltDown): Likewise for alt mask. 13509 (isAltGraphDown): Likewise for alt-graph mask. 13510 (getModifiers): Return value of modifiers field. 13511 (getModifiersEx): Return value of modifiersEx field. 13512 * java/awt/event/MouseEvent.java 13513 (MouseEvent(Component,int,long,int,int,int,int,boolean,int)): 13514 Clear button new-style mask for mouse released events. 13515 (paramString): Remove old-style modifier handling. 13516 (readObject): Extend modifiers and assign to modifiersEx. 13517 * java/awt/event/KeyEvent.java (readObject): Extend modifiers and 13518 assign to modifiersEx. 13519 * native/jni/gtk-peer/gtkpeer.h: Define macros for new-style mouse 13520 masks. Define macros for old-style key masks. 13521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: 13522 Remove macros for old-style key masks. 13523 (button_to_awt_mods): Always return bitwise OR of new- and 13524 old-style modifiers. 13525 (cp_gtk_state_to_awt_mods): Likewise. 13526 (state_to_awt_mods_with_button_states): Likewise. 13527 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 13528 (keyevent_state_to_awt_mods): Likewise. 13529 135302005-09-11 Mark Wielaard <mark@klomp.org> 13531 13532 * m4/acinclude.m4 (CLASSPATH_CHECK_GCJ): Check for gcj 4 with 13533 #if __GNUC__ <= 3. 13534 135352005-09-11 Mark Wielaard <mark@klomp.org> 13536 13537 * lib/gen-classlist.sh.in: Use sort -r to work around bug #21418. 13538 135392005-09-11 Mark Wielaard <mark@klomp.org> 13540 13541 * gnu/java/nio/channels/FileChannelImpl.java (finalize): Check whether 13542 fd != -1 before calling close(). 13543 135442005-09-10 David Gilbert <david.gilbert@object-refinery.com> 13545 13546 * javax/swing/plaf/metal/MetalBorders.java 13547 (PaletteBorder): new class. 13548 135492005-09-10 David Gilbert <david.gilbert@object-refinery.com> 13550 13551 * javax/swing/plaf/metal/MetalIconFactory.java 13552 (PaletteCloseIcon): new class. 13553 135542005-09-10 David Gilbert <david.gilbert@object-refinery.com> 13555 13556 * javax/swing/plaf/metal/MetalInternalFrameUI.java: 13557 (instances): removed, 13558 (createUI): just return new instance, 13559 API docs all over. 13560 135612005-09-10 Thomas Fitzsimmons <fitzsim@redhat.com> 13562 13563 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (fail_g2d): New method. 13564 (GdkGraphics2D(GdkGraphics2D)): Call fail_g2d if Graphics2D not 13565 specified. 13566 (GdkGraphics2D(int,int)): Likewise. 13567 (GdkGraphics2D(GtkComponentPeer)): Likewise. 13568 135692005-09-10 Thomas Fitzsimmons <fitzsim@redhat.com> 13570 13571 * gnu/java/awt/EmbeddedWindow.java (addNotify): Throw 13572 AssertionError if field access fails. 13573 135742005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13575 13576 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Reindent 13577 second error message. 13578 135792005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13580 13581 PR awt/23692 13582 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Only call 13583 initStaticState if using Graphics2D. Otherwise print error and 13584 exit. 13585 (setClip(Shape)): If clip == null and component == null, do 13586 nothing. 13587 135882005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13589 13590 * gnu/java/awt/peer/gtk/GdkGraphics.java 13591 (GdkGraphics(GtkComponentPeer)): Set font field to a sensible 13592 default if component font is null. 13593 135942005-09-09 Keith Seitz <keiths@redhat.com> 13595 13596 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newObjectId): 13597 Set the reference for the ID. 13598 135992005-09-09 Keith Seitz <keiths@redhat.com> 13600 13601 * gnu/classpath/jdwp/event/VmDeathEvent.java: New file. 13602 136032005-09-09 Tom Tromey <tromey@redhat.com> 13604 13605 For PR libgcj/23288: 13606 * java/net/URLClassLoader.java (definePackage): Correctly order 13607 arguments to definePackage. Look up per-entry Attributes. 13608 (getAttributeValue): New method. 13609 136102005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13611 13612 * javax/swing/plaf/basic/BasicTreeUI.java (installUI): Install 13613 defaults after initializing tree. 13614 136152005-09-09 Roman Kennke <kennke@aicas.com> 13616 13617 * javax/swing/text/html/CSS.java 13618 New file. Defines standard CSS attributes. 13619 136202005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13621 13622 * java/awt/Window.java (isDisplayable): Do not call super's 13623 isDisplayable. 13624 136252005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13626 13627 PR swing/23796 13628 * gnu/java/awt/peer/gtk/GtkDialogPeer.java 13629 (create): Respect dialog's decorated flag. 13630 136312005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13632 13633 PR swing/23558 13634 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 13635 (window_get_new_state): Remove function. 13636 (window_get_new_state): Mark widget parameter as unused. Remove 13637 call to window_get_new_state. 13638 (window_active_state_change_cb): Remove function. 13639 (connectSignals): Do not connect window_active_state_change_cb 13640 callback. 13641 136422005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13643 13644 PR swing/23796 13645 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Respect 13646 frame's decorated flag. 13647 136482005-09-09 Lillian Angel <langel@redhat.com> 13649 13650 * javax/swing/plaf/basic/BasicTreeUI.java 13651 (installDefaults): Fixed method signature. 13652 (uninstallDefaults): Likewise. 13653 (uninstallUI): Fixed call to uninstallDefaults. 13654 (installUI): Fixed call to installDefaults. 13655 * javax/swing/JPopupMenu.java 13656 (HeavyWeightPopup): Fixed to extend JDialog, since 13657 nothing is added to the taskbar with JDialog. Also, 13658 fixed so the popup menu is undecorated. Frames and 13659 title bars should not be drawn, when popup is a 13660 HeavyWeightPopup. A new bug was filed since the 13661 decorated and undecorated frames are all drawn 13662 alike. 13663 * javax/swing/JRootPane.java 13664 (setWindowDecorationStyle): Added check for 13665 PLAIN_DIALOG. 13666 136672005-09-09 Roman Kennke <kennke@aicas.com> 13668 13669 * javax/swing/plaf/metal/MetalLookAndFeel.java 13670 (initComponentDefaults): Added the remaining color defaults. 13671 136722005-09-09 Andrew Haley <aph@redhat.com> 13673 13674 * java/net/URLClassLoader.java (addURLImpl): Synchronize on the 13675 loader. 13676 (toString): Likewise. 13677 136782005-09-09 Jeroen Frijters <jeroen@frijters.net> 13679 13680 * javax/security/auth/login/Configuration.java 13681 (getConfiguration): Call getConfig() instead of doing the work. 13682 (getConfig): Instantiate the configuration provider. 13683 136842005-09-09 Jeroen Frijters <jeroen@frijters.net> 13685 13686 * java/lang/reflect/Proxy.java 13687 (pack): Initialize field. 13688 136892005-09-09 Jeroen Frijters <jeroen@frijters.net> 13690 13691 * java/io/ObjectInputStream.java: Removed static initializer. 13692 * java/io/ObjectOutputStream.java: Removed static initializer. 13693 * vm/reference/java/io/VMObjectInputStream.java: Added static 13694 initializer. 13695 (oisClass, vmoisClass): Removed unused fields. 13696 * vm/reference/java/io/VMObjectStreamClass.java: Added static 13697 initializer. 13698 136992005-09-09 David Gilbert <david.gilbert@object-refinery.com> 13700 13701 * javax/swing/plaf/basic/BasicLookAndFeel.java 13702 (initComponentDefaults): re-added 'ScrollBar.width' default. 13703 137042005-09-09 David Gilbert <david.gilbert@object-refinery.com> 13705 13706 * javax/swing/plaf/basic/BasicArrowButton.java 13707 (buttonBorder.paintBorder): fixed drawing issues, 13708 (getMaximumSize): return constant value, 13709 (getMinimumSize): likewise, 13710 (getPreferredSize): likewise. 13711 137122005-09-09 Thomas Fitzsimmons <fitzsim@redhat.com> 13713 13714 PR swing/23558 13715 * javax/swing/plaf/basic/BasicComboBoxUI.java 13716 (FocusHandler.focusLost): Do not call popup.hide. 13717 137182005-09-08 Mark Wielaard <mark@klomp.org> 13719 13720 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Fix typo 13721 (Grahics -> Graphics). 13722 137232005-09-08 Tom Tromey <tromey@redhat.com> 13724 13725 * examples/gnu/classpath/examples/swing/ClasspathSwingActivityBoard.launch: 13726 New file. 13727 137282005-09-08 Roman Kennke <kennke@aicas.com> 13729 13730 * javax/swing/plaf/metal/MetalLookAndFeel.java 13731 (MetalLookAndFeel): Only load default theme if no theme has been 13732 set before. 13733 (initComponentDefaults): Fixed and added color default values 13734 for various components. 13735 137362005-09-08 Anthony Balkissoon <abalkiss@redhat.com> 13737 13738 * java/awt/Container.java: 13739 (findComponentForMouseEventAt): Removed check for opacity. 13740 137412005-09-08 Keith Seitz <keiths@redhat.com> 13742 13743 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 13744 (executeVersion): Major and minor version are integers, not bytes. 13745 137462005-09-08 Anthony Balkissoon <abalkiss@redhat.com> 13747 13748 * java/awt/Container.java: 13749 (findComponentForMouseEventAt): New implementation method. 13750 (getDeepestComponentForMouseEventAt): New implementation method. 13751 (acquireComponentForMouseEvent): Replaced call to 13752 AWTUtilities.getDeepestComponentAt with call to new implementation 13753 method getDeepestComponentAt to appropriately handle transparent 13754 components with no MouseListeners attached. 13755 137562005-09-08 Tom Tromey <tromey@redhat.com> 13757 13758 * .classpath: Enable compilation of jdwp. 13759 137602005-09-08 Keith Seitz <keiths@redhat.com> 13761 13762 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java 13763 (runCommand): Return value is true to indicate that the back-end 13764 should shutdown; not whether it should stay alive. 13765 * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java 13766 (runCommand): Likewise. 13767 * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java 13768 (runCommand): Likewise. 13769 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java 13770 (runCommand): Likewise. 13771 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java 13772 (runCommand): Likewise. 13773 * gnu/classpath/jdwp/processor/MethodCommandSet.java (runCommand): 13774 Likewise 13775 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java 13776 (runCommand): Likewise. 13777 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java 13778 (runCommand): Likewise. 13779 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 13780 (runCommand): Likewise. 13781 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java 13782 (runCommand): Likewise. 13783 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java 13784 (runCommand): Likewise. 13785 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java 13786 (runCommand): Likewise. 13787 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 13788 (runCommand): Likewise. 13789 137902005-09-08 Lillian Angel <langel@gmail.com> 13791 13792 * javax/swing/JPopupMenu.java: 13793 Fixes Bug #PR23533 13794 (setVisible): Adjusted popup menu's location 13795 depending on the size of the screen. 13796 137972005-09-08 Mark Wielaard <mark@klomp.org> 13798 13799 * Makefile.am (EXTRA_DIST): Add autogen.sh 13800 * lib/standard.omit: Remove gnu/classpath/jdwp, gnu/xml/stream and 13801 javax/xml/stream. 13802 * vm/reference/standard.omit: Removed. 13803 138042005-09-08 Tom Tromey <tromey@redhat.com> 13805 13806 * .classpath: Omit more directories and files. 13807 * .settings/org.eclipse.jdt.core.prefs: Compile to 1.4 platform. 13808 * .settings/org.eclipse.jdt.ui.prefs: Likewise. 13809 138102005-09-08 Roman Kennke <kennke@aicas.com> 13811 13812 * javax/swing/plaf/metal/OceanTheme.java 13813 New class. Implements the ocean theme for Metal. 13814 * javax/swing/plaf/metal/MetalLookAndFeel.java 13815 (createDefaultTheme): Made Ocean the default theme as in JDK1.5. 13816 138172005-09-08 David Gilbert <david.gilbert@object-refinery.com> 13818 13819 * javax/swing/plaf/metal/MetalIconFactory.java 13820 (FileChooserDetailViewIcon): new private class, 13821 (FileChooserHomeFolderIcon): likewise, 13822 (FileChooserListViewIcon): likewise, 13823 (FileChooserNewFolderIcon): likewise, 13824 (FileChooserUpFolderIcon): likewise, 13825 (getFileChooserDetailViewIcon): implemented, 13826 (getFileChooserHomeFolderIcon): implemented, 13827 (getFileChooserListViewIcon): implemented, 13828 (getFileChooserNewFolderIcon): implemented, 13829 (getFileChooserUpFolderIcon): implemented. 13830 138312005-09-08 Roman Kennke <kennke@aicas.com> 13832 13833 * javax/swing/plaf/basic/BasicTextUI.java 13834 (foreground): Removed this field. This is better stored 13835 in the text component itself. 13836 (inactiveForeground): Removed this field. This is stored 13837 in the disabledTextColor property of the text component. 13838 (installDefaults): Load foreground and disabledTextColor 13839 properties from UIDefaults. Remove call to updateComponentColors. 13840 (paintBackground): Set the correct background color here. 13841 (updateComponentColor): Removed this method. 13842 * javax/swing/text/PlainView.java 13843 (disabledColor): New field. Stores the text color for disabled 13844 text fields. 13845 (drawUnselectedText): Respect the 'enabled' property of 13846 the text component. 13847 (paint): Fetch the disabled color of the text component. 13848 138492005-09-08 Roman Kennke <kennke@aicas.com> 13850 13851 * javax/swing/plaf/basic/BasicTextUI.java 13852 (UpdateHandler.propertyChanged): Also update colors if the 13853 'editable' property is changed. 13854 (updateComponentColors): Correctly handle editable vs. enabled 13855 changes. 13856 * javax/swing/plaf/metal/MetalLookAndFeel.java 13857 (initComponentDefaults): Fixed color defaults for TextFields 13858 to use the current theme. 13859 138602005-09-08 Roman Kennke <kennke@aicas.com> 13861 13862 * javax/swing/plaf/basic/BasicTextUI.java 13863 (UpdateHandler.propertyChanged): Update the components colors 13864 when the state of the 'enabled' property changes. 13865 (foreground): New field that stores the foreground color. 13866 (background): New field that stores the background color. 13867 (inactiveForeground): New field that stores the inactive 13868 foreground color. 13869 (inactiveBackground): New field that stores the inactive 13870 background color. 13871 (updateComponentColors): New method. Updates the text 13872 components' colors according to the state of the 'enabled' 13873 property. 13874 (installDefaults): Load the defaults for the component colors. 13875 * javax/swing/plaf/metal/MetalLookAndFeel.java 13876 (initComponentDefaults): Added defaults for TextField colors 13877 and border. 13878 138792005-09-08 Roman Kennke <kennke@aicas.com> 13880 13881 * javax/swing/text/GapContent.java 13882 Fixes Bug #22966. 13883 (GapContentPosition.getOffset): Added assertion to check for 13884 consistent state of the Position. Fixed condition in if-statement. 13885 (serialVersionUID): Updated serialVersionUID to match JDK1.5. 13886 (shiftGap): If gapStart == newGapStart, then return immediatly. 13887 138882005-09-08 David Gilbert <david.gilbert@object-refinery.com> 13889 13890 * javax/swing/plaf/basic/BasicLookAndFeel.java 13891 (initComponentDefaults): added 'ScrollBar.width' default, 13892 * javax/swing/plaf/metal/MetalScrollBarUI.java 13893 (MetalScrollBarPropertyChangeHandler): new class, 13894 (FREE_STANDING_PROP): added, 13895 (MIN_THUMB_SIZE): modified dimensions, 13896 (increaseButton): new field, 13897 (decreaseButton): new field, 13898 (scrollBarWidth): new field, 13899 (isFreeStanding): new field, 13900 (createUI): just return a new instance, 13901 (installDefaults): implemented, 13902 (createPropertyChangeListener): implemented, 13903 (createDecreaseButton): implemented, 13904 (createIncreaseButton): implemented, 13905 (paintTrack): implemented, 13906 (paintTrackHorizontal): new private method, 13907 (paintTrackVertical): new private method, 13908 (paintThumb): updated, 13909 * javax/swing/plaf/metal/MetalScrollButton.java: implemented, 13910 * javax/swing/plaf/metal/MetalUtils.java 13911 (fillMetalPattern): modified alternating color calculation. 13912 139132005-09-08 Jeroen Frijters <jeroen@frijters.net> 13914 13915 * java/io/ObjectInputStream.java 13916 (readObject): Removed println and fixed Proxy class descriptor 13917 deserialization. 13918 (resolveProxyClass): Use Class.forName() instead of calling 13919 ClassLoader.loadClass() directly. 13920 * java/io/ObjectOutputStream.java 13921 (writeClassDescriptor): Added support for serializing Proxy 13922 class descriptor. 13923 139242005-09-08 Jeroen Frijters <jeroen@frijters.net> 13925 13926 * javax/naming/CompoundName.java 13927 (readObject, writeObject): New methods. 13928 139292005-09-07 Lillian Angel <langel@redhat.com> 13930 13931 * javax/swing/SpringLayout.java: 13932 Fixes Bug #PR23003 13933 (getConstraints): Width and height should always 13934 be reset, even if constraints is not null. Constraints 13935 deal with the location of the component. 13936 139372005-09-07 Lillian Angel <langel@redhat.com> 13938 13939 * javax/swing/text/GapContent.java: 13940 Fixes Bug #PR22966 13941 (getOffset): Fixed check, was redundant. 13942 139432005-09-07 Lillian Angel <langel@redhat.com> 13944 13945 * javax/swing/text/GapContent.java: 13946 Fixes Bug #PR22966 13947 (getOffset): Added check for mark <= gapEnd 13948 139492005-09-07 Roman Kennke <roman@kennke.org> 13950 13951 * javax/swing/JApplet.java 13952 (AccessibleJApplet): New inner class. 13953 (getAccesibleContext): Implemented accessibility support. 13954 * javax/swing/JDialog.java 13955 (AccessibleJDialog): New inner class. 13956 (getAccesibleContext): Implemented accessibility support. 13957 * javax/swing/JFrame.java 13958 (AccessibleJFrame): New inner class. 13959 (getAccesibleContext): Implemented accessibility support. 13960 * javax/swing/JWindow.java 13961 (AccessibleJWindow): New inner class. 13962 (getAccesibleContext): Implemented accessibility support. 13963 139642005-09-07 Roman Kennke <roman@kennke.org> 13965 13966 * javax/swing/JPanel.java 13967 (AccessibleJPanel): New inner class. 13968 (getAccessibleContext): Implemented this method. 13969 139702005-09-07 Roman Kennke <roman@kennke.org> 13971 13972 * javax/swing/JPanel.java: Reformatted to match our coding 13973 standards. 13974 139752005-09-07 Roman Kennke <roman@kennke.org> 13976 13977 * javax/swing/JViewport.java 13978 (AccessibleJViewport): New inner class. 13979 (getAccessibleContext): New method. Implements the Accessible 13980 interface for JViewport. 13981 139822005-09-07 David Gilbert <david.gilbert@object-refinery.com> 13983 13984 * javax/swing/plaf/metal/MetalIconFactory.java 13985 (HorizontalSliderThumbIcon.paintIcon): handle disabled component state, 13986 and fetch colors from the look and feel, 13987 (VerticalSliderThumbIcon.paintIcon): likewise, 13988 * javax/swing/plaf/metal/MetalSliderUI.java 13989 (MetalPropertyListener): implemented, 13990 (constructor): added color initialisation, 13991 (createUI): reimplemented to return a new instance every time, 13992 (createPropertyChangeListener): return a new instance of 13993 MetalPropertyListener, 13994 (paintTrack): reimplemented to handle track fill option, and the 13995 disabled component state, 13996 (paintMinorTickForHorizSlider): fetch colors from look and feel, 13997 (paintMajorTickForHorizSlider): likewise, 13998 (paintMinorTickForVertSlider): likewise, 13999 (paintMajorTickForVertSlider): likewise. 14000 140012005-09-07 Robert Schuster <robertschuster@fsfe.org> 14002 14003 * native/jni/qt-peer/componentevent.cpp: Added inclusion 14004 of assert.h 14005 140062005-09-07 Robert Schuster <robertschuster@fsfe.org> 14007 14008 * INSTALL: Mention that GCJ4 is now mandatory. 14009 140102005-09-07 Robert Schuster <robertschuster@fsfe.org> 14011 14012 * javax/swing/Box.java: Added java.awt.Container import statement. 14013 140142005-09-06 David Gilbert <david.gilbert@object-refinery.com> 14015 14016 * javax/swing/plaf/metal/MetalLookAndFeel.java 14017 (initComponentDefaults): added some RadioButton defaults, 14018 * javax/swing/plaf/metal/MetalRadioButtonUI.java 14019 (instance): removed, 14020 (focusColor): added, 14021 (selectColor): added, 14022 (disabledTextColor): added, 14023 (createUI): return a new instance for every component, 14024 (installDefaults): implemented, 14025 (uninstallDefaults): implemented, 14026 (getSelectColor): implemented, 14027 (getDisabledTextColor): implemented, 14028 (getFocusColor): implemented, 14029 (paint): added FIXME note, 14030 (paintFocus): implemented. 14031 140322005-09-06 Lillian Angel <langel@redhat.com> 14033 14034 Fixes Bug #PR23023 14035 * javax/swing/plaf/basic/BasicFileChooserUI.java: 14036 Added 2 fields and reformatted copyright. 14037 (actionPerformed): Should be able to open directories. 14038 (mouseClicked): Set text in text field. 14039 (installUI): Initialized the current parent path. 14040 (installComponents): Fixed initialization for text field. 14041 140422005-09-06 Lillian Angel <langel@redhat.com> 14043 14044 * javax/swing/plaf/basic/BasicFileChooserUI.java: 14045 Formatted entire class. 14046 140472005-09-06 Mark Wielaard <mark@klomp.org> 14048 14049 * configure.ac: Set version to 0.19-pre. 14050 14051 * doc/www.gnu.org/announce/20050906.wml: New file. 14052 * doc/www.gnu.org/newsitems.txt: Add 0.18 release announcement. 14053 * doc/www.gnu.org/downloads/downloads.wml: Add 0.18. 14054 140552005-09-06 Roman Kennke <roman@kennke.org> 14056 14057 * javax/swing/Box.java 14058 (AccessibleBox): Extend Container.AccessibleAWTContainer. 14059 (Filler.AccessibleBoxFiller): Extend Component.AccessibleAWTComponent. 14060 (Filler.getAccessibleContext): Uncomment disabled code. 14061 (getAccessibleContext): Uncomment disabled code. 14062 * javax/swing/JRootPane.java: 14063 JRootPane implements Accessible. 14064 (AccessibleJRootPane): Extend AccessibleJComponent. 14065 140662005-09-06 David Gilbert <david.gilbert@object-refinery.com> 14067 14068 * javax/swing/plaf/metal/MetalIconFactory.java 14069 (RadioButtonIcon.drawCheck): removed, 14070 (RadioButtonIcon.paintIcon): reimplemented, 14071 * javax/swing/plaf/metal/MetalLookAndFeel.java 14072 (initComponentDefaults): added defaults for JRadioButton. 14073 140742005-09-06 Lillian Angel <langel@redhat.com> 14075 14076 Fixes Bug #PR20015 14077 * javax/swing/JMenuBar.java 14078 (getUIClassID): Fixed API documentation. 14079 * javax/swing/plaf/basic/BasicMenuBarUI.java: 14080 Added a private field for the mouse listener. 14081 (BasicMenuBarUI): Initialized mouseListener. 14082 (installListeners): Added mouseListener. 14083 (uninstallListeners): Removed mouseListener. 14084 (MouseInputHandler): New class added. 14085 (mouseClicked): Added code to deselect menu items 14086 when menu bar is clicked. 14087 140882005-09-06 Lillian Angel <langel@redhat.com> 14089 14090 * javax/swing/plaf/basic/BasicMenuItemUI.java: 14091 Fixes Bug #PR23527 14092 (paintMenuItem): Moved view rectangle over to the 14093 left the same amount as defaultTextIconGap so the 14094 accelerator is painted with some space on the right. 14095 140962005-09-06 Lillian Angel <langel@redhat.com> 14097 14098 * javax/swing/plaf/basic/BasicMenuItemUI.java: 14099 Formatted class. 14100 141012005-09-06 Lillian Angel <langel@redhat.com> 14102 14103 * javax/swing/plaf/basic/BasicScrollBarUI: 14104 Fixes Bug PR23529. 14105 (installUI): Changed delay for Timer. Was set too 14106 long and actionPerformed was not being called fast 14107 enough when the user clicks on the scroll bar. This 14108 is because the timer is stopped after the mouse is 14109 released. 14110 141112005-09-06 Mark Wielaard <mark@klomp.org> 14112 14113 * NEWS: Add new features for 0.18. 14114 * configure.ac: Set version to 0.18. 14115 141162005-09-06 Thomas Fitzsimmons <fitzsim@redhat.com> 14117 14118 * native/jni/gtk-peer/gtkpeer.h (SYNCHRONIZE_GDK): Define. 14119 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit) 14120 [SYNCHRONIZE_GDK]: Make GDK synchronous. 14121 141222005-09-05 Thomas Fitzsimmons <fitzsim@redhat.com> 14123 14124 PR awt/20720 14125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 14126 (get_first_keyval_from_keymap): Return -1 if no keyval was found 14127 for given hardware keycode. 14128 (keysym_to_awt_keycode): Likewise. 14129 (keysym_to_awt_keylocation): Likewise. 14130 (key_press_cb): Return immediately if no keyval was found for 14131 given hardware keycode. 14132 (key_release_cb): Likewise. 14133 141342005-09-05 Andreas Tobler <a.tobler@schweiz.ch> 14135 14136 * native/jni/Makefile.am (all-local): Invoke $(SHELL) to execute 14137 the script. 14138 14139 * scripts/check_jni_methods.sh: Make script working with non GNU 14140 grep versions. 14141 141422005-09-05 Roman Kennke <roman@kennke.org> 14143 14144 * javax/swing/event/DocumentEvent.java: 14145 (ElementChange) Made inner interface static to conform to the specs. 14146 141472005-09-05 Roman Kennke <roman@kennke.org> 14148 14149 * javax/swing/JDesktopPane.java: Fixed typo in class description. 14150 * javax/swing/JEditorPane.java: Removed unneeded import. 14151 Added class description. 14152 * javax/swing/JDialog.java: Made class description more useful. 14153 * javax/swing/JFileChooser.java: Added class description. 14154 * javax/swing/JFormattedTextField.java: Added class description. 14155 (AbstractFormatter): Likewise. 14156 (AbstractFormatterFactory): Likewise. 14157 * javax/swing/JFrame.java: Made class description more useful. 14158 141592005-09-05 Roman Kennke <roman@kennke.org> 14160 14161 * javax/swing/event/DocumentEvent.java: 14162 Reindented file to conform to our coding standards. 14163 141642005-09-05 Chris Burdess <dog@gnu.org> 14165 14166 * gnu/xml/stream/XMLEventAllocatorImpl.java, 14167 gnu/xml/stream/XMLInputFactoryImpl.java, 14168 gnu/xml/stream/XMLStreamReaderImpl.java: Various fixes from system 14169 testing. 14170 * javax/xml/namespace/QName.java: Avoid unnecessary test. 14171 141722005-09-05 Mark Wielaard <mark@klomp.org> 14173 14174 * lib/standard.omit: Add gnu/xml/stream and javax/xml/stream. 14175 * NEWS: Describe Untested/Disabled new features. 14176 141772005-09-04 Mark Wielaard <mark@klomp.org> 14178 14179 * configure.ac (AC_CONFIG_FILES): Add examples/Makefile.jawt. 14180 * examples/.cvsignore: Add Makefile.jawt. 14181 * examples/Makefile.am (EXAMPLE_C_FILES): New variable. 14182 (ALL_EXAMPLE_FILES): Likewise. 14183 (install-data-local): Use ALL_EXAMPLE_FILES and add Makefile.jawt. 14184 (uninstall-local): Likewise. 14185 (EXTRA_DIST): Add Makefile.awt.in. 14186 * examples/Makefile.jawt.in: New file. 14187 * examples/README: Add jawt instructions. 14188 * examples/gnu/classpath/examples/jawt/DemoJAWT.c 14189 (Java_DemoJAWT_paint): Rename to 14190 Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt. 14191 (Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt): Flip foreground 14192 color based on on parameter. 14193 * examples/gnu/classpath/examples/jawt/DemoJAWT.java (paint): Renamed 14194 paintIt. 14195 (paint): Call paintIt. 14196 (on): New boolean field. 14197 (main): Add Frame name, switch on variable every 0.5 seconds and call 14198 Frame.repaint(). 14199 * examples/gnu/classpath/examples/jawt/Makefile: Removed. 14200 * include/Makefile.am (include_HEADERS): New for jni.h, jni_md.h, 14201 jawt.h and jawt_md.h. 14202 142032005-09-05 Jeroen Frijters <jeroen@frijters.net> 14204 14205 * java/lang/reflect/Proxy.java 14206 (sameTypes): Removed. 14207 (equals): Fixed bug #23727. 14208 142092005-09-04 Mark Wielaard <mark@klomp.org> 14210 14211 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java 14212 (matches): Remove InvalidClassException since it is never thrown. 14213 * vm/reference/gnu/classpath/jdwp/VMIdManager.java 14214 (newReferenceTypeId): Only return null when SoftReference is cleared, 14215 don't catch InstantiationException or IllegalAccessException since 14216 they are never thrown. 14217 142182005-09-04 Mark Wielaard <mark@klomp.org> 14219 14220 * gnu/CORBA/NamingService/NamingServiceTransient.java: Re-un-indent 14221 boilerplate. 14222 142232005-09-04 Mark Wielaard <mark@klomp.org> 14224 14225 * gnu/CORBA/Interceptor/Registrator.java (m_prefix): Mark static. 14226 * gnu/java/awt/peer/qt/QtButtonPeer.java: Replace uses of 14227 toolkit.eventQueue.postEvent() with QtToolkit.eventQueue.postEvent(). 14228 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Likewise. 14229 * gnu/java/awt/peer/qt/QtChoicePeer.java: Likewise. 14230 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise and similar 14231 for guiThread and graphicsEnv. 14232 * gnu/java/awt/peer/qt/QtListPeer.java: Likewise. 14233 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise. 14234 * gnu/java/awt/peer/qt/QtMenuPeer.java: Likewise. 14235 * gnu/java/awt/peer/qt/QtScrollbarPeer.java: Likewise. 14236 * gnu/java/awt/peer/qt/QtTextAreaPeer.java: Likewise. 14237 * gnu/java/awt/peer/qt/QtTextFieldPeer.java: Likewise. 14238 142392005-09-04 Chris Burdess <dog@gnu.org> 14240 14241 * doc/README.jaxp: Updated JAXP documentation for StAX. 14242 * javax/xml/stream/XMLEventFactory.java, 14243 * javax/xml/stream/XMLInputFactory.java, 14244 * javax/xml/stream/XMLOutputFactory.java: Use GNU implementation by 14245 default. 14246 142472005-09-04 Andreas Tobler <a.tobler@schweiz.ch> 14248 14249 Fix for bug #23653 14250 * lib/Makefile.am (metafiles): Use find -name -prune not -path. 14251 142522005-09-04 Mark Wielaard <mark@klomp.org> 14253 14254 * NEWS: Add description of new awt.datatransfer functionality. 14255 142562005-09-04 Mark Wielaard <mark@klomp.org> 14257 14258 * javax/swing/text/AbstractDocument.java 14259 (LeafElement.LeafElement): Set startPos and endPos through 14260 createPosition() if parent is null. 14261 142622005-09-04 Chris Burdess <dog@gnu.org> 14263 14264 * gnu/xml/stream: StAX implementation. 14265 142662005-09-04 Guilhem Lavaux <guilhem@kaffe.org> 14267 14268 * java/lang/Integer.java 14269 (parseInt): Added some messages to the exception thrown by this 14270 method. 14271 142722005-09-04 Chris Burdess <dog@gnu.org> 14273 14274 * javax/xml/stream/XMLEventFactory.java, 14275 * javax/xml/stream/XMLEventWriter.java, 14276 * javax/xml/stream/XMLInputFactory.java, 14277 * javax/xml/stream/XMLOutputFactory.java, 14278 * javax/xml/stream/XMLResolver.java, 14279 * javax/xml/stream/XMLStreamConstants.java, 14280 * javax/xml/stream/events/Attribute.java, 14281 * javax/xml/stream/events/EndEntity.java, 14282 * javax/xml/stream/events/EntityDeclaration.java, 14283 * javax/xml/stream/events/EntityReference.java, 14284 * javax/xml/stream/events/StartEntity.java, 14285 * javax/xml/stream/events/XMLEvent.java, 14286 * javax/xml/stream/util/EventReaderDelegate.java: 14287 StAX API changes to conform to JWSDP 1.5. 14288 142892005-09-03 Mark Wielaard <mark@klomp.org> 14290 14291 Fixes bug #23701 14292 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c 14293 (clipboard_owner_change_cb): Only used when GTK_MINOR_VERSION > 4. 14294 (Java_gnu_java_awt_peer_gtk_GtkClipboard_initNativeState): 14295 Only request owner-change events for GTK_MINOR_VERSION > 4. 14296 (clipboard_get_func): Only handle pixbuf and uri when 14297 GTK_MINOR_VERSION > 4. 14298 (Java_gnu_java_awt_peer_gtk_GtkClipboard_advertiseContent): Only call 14299 gtk_target_list_add_* functions when GTK_MINOR_VERSION > 4. Similar 14300 for gtk_clipboard_set_can_store. 14301 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c 14302 (Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaledFlipped): Mark 14303 flipx and flipy unused for GTK_MINOR_VERSION <= 4. 14304 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c 14305 (clipboard_targets_received): Don't handle images for 14306 GTK_MINOR_VERSION <= 4. 14307 (Java_gnu_java_awt_peer_gtk_GtkSelection_requestImage): Likewise. 14308 (clipboard_uris_received): Likewise for text/uri-list. 14309 (Java_gnu_java_awt_peer_gtk_GtkSelection_requestURIs): Likewise. 14310 143112005-09-03 Andreas Tobler <a.tobler@schweiz.ch> 14312 14313 * autogen.sh: Document libtool version needed for Darwin. 14314 (LIBTOOLIZE): Don't special case Darwin, always use libtoolize. 14315 143162005-09-03 Chris Burdess <dog@gnu.org> 14317 14318 * javax/xml/stream, 14319 * javax/xml/stream/events, 14320 * javax/xml/stream/util: 14321 New StAX API classes. 14322 143232005-09-02 Keith Seitz <keiths@redhat.com> 14324 14325 * gnu/classpath/jdwp/transport/ITransport.java (shutdown): New method. 14326 * gnu/classpath/jdwp/transport/JdwpConnection.java (JdwpConnection): 14327 Add ThreadGroup argument. 14328 * gnu/classpath/jdwp/transport/SocketTransport.java (shutdown): 14329 New method. 14330 143312005-09-02 Keith Seitz <keiths@redhat.com> 14332 14333 * gnu/classpath/jdwp/Jdwp.java: New file. 14334 * gnu/classpath/jdwp/JdwpConstants.java: New file. 14335 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: New file. 14336 143372005-09-02 Keith Seitz <keiths@redhat.com> 14338 14339 * gnu/classpath/jdwp/processor/CommandSet.java [vm]: Remove. 14340 VMVirtualMachine is entirely static. 14341 * gnu/classpath/jdwp/event/EventManager.java (requestEvent) 14342 (deleteRequest, clearRequests): Change all VMVirtualMachine calls 14343 to reflect new API. 14344 * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java 14345 (executeVisibleClasses): Likewise. 14346 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java 14347 (invokeMethod): Likewise. 14348 * gnu/classpath/jdwp/processor/MethodCommandSet.java 14349 (executeLineTable, executeVariableTable): Likewise. 14350 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java 14351 (executeInvokeMethod): Likewise. 14352 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java 14353 (executeSourceFile, executeStatus): Likewise. 14354 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 14355 (executeGetValues, ,executeSetValues, executeThisObject): Likewise. 14356 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java 14357 (executeSuspend, executeResume, executeStatus, executeFrames) 14358 (executeFrameCount, executeSuspendCount): Likewise. 14359 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 14360 (executeClassesBySignature, executeClassesBySignature) 14361 (executeAllClasses, executeDispose, executeSuspend) 14362 (executeResume): Likewise. 14363 143642005-09-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 14365 14366 * org/omg/CosNaming/NamingContextOperations.java: 14367 Do not inherit from CORBA object. 14368 * org/omg/CosNaming/_NamingContextExtImplBase.java (_methods), 14369 * omg/CosNaming/_NamingContextImplBase.java (methods): 14370 Made package private. 14371 * omg/CosNaming/NamingContextPOA.java, 14372 * omg/CosNaming/NamingContextExtPOA.java, 14373 * org/omg/CosNaming/BindingIteratorPOA.java: New files. 14374 143752005-09-02 Thomas Fitzsimmons <fitzsim@redhat.com> 14376 14377 * java/awt/image/CropImageFilter.java 14378 (setPixels(int,int,int,int,ColorModel,byte[],int,int)): Set 14379 consumer pixels at 0, 0 location. 14380 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Likewise. 14381 143822005-09-02 Lillian Angel <langel@redhat.com> 14383 14384 * javax/swing/plaf/basic/BasicTreeUI.java 14385 (mousepressed): Fixed, so that clicking on control icon will not 14386 start editing. 14387 143882005-09-02 Anthony Balkissoon <abalkiss@redhat.com> 14389 14390 * javax/swing/JTree.java: 14391 (getScrollableTracksViewportHeight): Return true if parent is a 14392 JViewport and parent's height is smaller than ours. 14393 (getScrollableTracksViewportWidth): Return true if parent is a 14394 JViewport and parent's width is smaller than ours. 14395 143962005-09-02 Lillian Angel <langel@redhat.com> 14397 14398 * javax/swing/JTree.java 14399 (installUI): TreeSelectionListener removed because added too many 14400 times. 14401 * javax/swing/plaf/basic/BasicLookAndFeel.java: 14402 Fixed names for some tree defaults. 14403 * javax/swing/plaf/basic/BasicTreeUI.java: 14404 Added new fields for editing and keyboard actions. 14405 (setCellEditor): Took out unneeded if statement. 14406 (isEditing): Returned boolean instead. 14407 (updateCellEditor): Used set method. 14408 (installDefaults): Set focus to tree. 14409 (installKeyBoardActions): Implemented. 14410 (convertModifiers): New function implemented. 14411 (installUI): Used set method and initialized isEditing. 14412 (startEditing): set isEditing. 14413 (TreeAction): New class implemented to perform keyboard actions. 14414 (ActionListenerProxy): New private class used to distribute the key 14415 board actions to the true receiver. 14416 (editingStopped): Added code to prevent NPEs. set isEditing and focus 14417 to tree. Also, removed TreeSelectionListeners for cellEditor. 14418 (editingCanceled): Likewise. 14419 (keyPressed): Removed code, not needed anymore. 14420 (actionPerformed): Implemented for up/down keyboard actions. 14421 (actionPerformed): Implemented for left/right keyboard actions. 14422 * javax/swing/tree/DefaultTreeCellEditor.java 14423 (DefaultTreeCellEditor): Set lastPath. 14424 (isCellEditable): editingComponent should be configured if has not 14425 been. 14426 (stopCellEditing): No need to set cell editor to null here. 14427 (cancelCellEditing): Likewise. 14428 (valueChanged): Set tPath to the path that was last selected. Used for 14429 the click-pause-click implementation. 14430 (actionPerformed): Re-implemented in a simplier fashion. 14431 * javax/swing/tree/DefaultTreeCellRenderer.java 14432 (getTreeCellRendererComponent): Only set border color if val is lead 14433 selection path. 14434 144352005-09-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 14436 14437 * gnu/CORBA/Interceptor/ClientRequestInterceptors.java (send_poll): 14438 remove ForwardRequest from declaration. 14439 144402005-09-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 14441 14442 * org/omg/PortableInterceptor/CurrentOperations.java: 14443 Inherit from org.omg.CORBA.CurrentOperations. 14444 * org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java 14445 (send_poll): Remove ForwardRequest from declaration. 14446 144472005-09-02 Anthony Balkissoon <abalkiss@redhat.com> 14448 14449 * javax/swing/JList.java: 14450 (getPreferredScrollableViewportSize): Implemented. 14451 144522005-09-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 14453 14454 * gnu/CORBA/IOR_Delegate.java (request), 14455 * gnu/CORBA/SocketRepository.java (get_socket), 14456 * gnu/CORBA/gnuRequest (getParameterStream), 14457 * gnu/CORBA/NamingService/NameParser.java, 14458 * gnu/CORBA/NamingService/NamingServiceTransient.java: Rewritten. 14459 * gnu/CORBA/Functional_ORB.java (nameParser): New field. 14460 (string_to_object): Rewritten. 14461 (ior_to_object): Made public. 14462 * org/omg/CORBA/ORB.java (string_to_object): 14463 Documentation update. 14464 144652005-09-02 Anthony Balkissoon <abalkiss@redhat.com> 14466 14467 * javax/swing/JTree.java: 14468 (getPreferredScrollableViewportSize): Implemented. 14469 144702005-09-02 David Gilbert <david.gilbert@object-refinery.com> 14471 14472 * javax/swing/plaf/basic/BasicLookAndFeel.java 14473 (initComponentDefaults): set correct value for 14474 'InternalFrame.titleFont'. 14475 144762005-09-02 Mark Wielaard <mark@klomp.org> 14477 14478 * gnu/java/awt/ClasspathToolkit.java (registerImageIOSpis): 14479 Reintroduced (empty) method. 14480 * gnu/java/awt/peer/gtk/GtkToolkit.java (static): Moved initialization 14481 of imageIOSpis to new registerImageIOSpis() method. 14482 (registerImageIOSpis): New (overloaded) method. 14483 * javax/imageio/spi/IIORegistry.java (IIORegistry): Call to Toolkit 14484 registration method if instanceof ClasspathToolkit. 14485 144862005-09-02 Thomas Fitzsimmons <fitzsim@redhat.com> 14487 14488 PR awt/22979 14489 * gnu/java/awt/peer/gtk/GtkImage.java, 14490 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c (GtkImage()): 14491 New constructor. 14492 (drawPixelsScaled): Return immediately if width or height is <= 0. 14493 (drawPixelsScaledFlipped): Likewise for srcwidth, srcheight, 14494 dstwidth, dstheight. 14495 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImage(String)): 14496 Create a blank image when filename is "". 14497 * javax/swing/ImageIcon.java (ImageIcon(String)): Mention blank 14498 icons in documentation. 14499 (ImageIcon(String,String)): Likewise. 14500 145012005-09-02 Thomas Fitzsimmons <fitzsim@redhat.com> 14502 14503 PR awt/23557 14504 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawString(String, 14505 float, float)): Return immediately if string is null or 14506 zero-length. 14507 145082005-09-02 Thomas Fitzsimmons <fitzsim@redhat.com> 14509 14510 PR awt/20014 14511 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): Always call 14512 initStaticState. 14513 145142005-09-02 Robert Schuster <robertschuster@fsfe.org> 14515 14516 * README: Added MysaifuVM to list of VMs 14517 * INSTALL: Added info about Qt4 and ecj. 14518 145192005-09-01 Thomas Fitzsimmons <fitzsim@redhat.com> 14520 14521 PR awt/23536 14522 * gnu/java/awt/peer/gtk/GtkImage.java, 14523 gnu_java_awt_peer_gtk_GtkImage.c (GtkImage(URL)): New constructor. 14524 (GtkImage(byte[])) New constructor. 14525 (loadImageFromData): New method. 14526 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImage(URL)): Call 14527 GtkImage(URL) constructor. 14528 (createImage(byte[],int,int)): Call GtkImage(byte[]) constructor. 14529 * include/gnu_java_awt_peer_gtk_GtkImage.h: Regenerate. 14530 145312005-09-01 Mark Wielaard <mark@klomp.org> 14532 14533 * gnu/java/awt/ClasspathToolkit.java (getFont): Get non-public 14534 constructor from Font. Chain "cannot happen" exceptions in 14535 AssertionError. 14536 145372005-09-01 Mark Wielaard <mark@klomp.org> 14538 14539 * java/util/jar/JarFile.java (JarEnumeration.nextElement): Only 14540 readSignature when verifying jar. 14541 (getEntry): Likewise. 14542 145432005-09-01 Anthony Balkissoon <abalkiss@redhat.com> 14544 14545 Fixes bug #23204 14546 * javax/swing/ViewportLayout.java: 14547 (preferredLayoutSize): If the view is scrollable, call its 14548 getPreferredScrollableViewportSize method. 14549 (layoutContainer): If the view is scrollable, check its 14550 getScrollableTracksViewportWidth and getScrollableTracksViewportHeight 14551 methods before resizing the view to match the viewport. 14552 145532005-09-01 Mark Wielaard <mark@klomp.org> 14554 14555 * native/jni/gtk-peer/gtk_jawt.c 14556 (classpath_jawt_get_visualID): Cast returned NULL to VisualID. 14557 (classpath_jawt_get_drawable): Cast returned NULL to Drawable. 14558 145592005-09-01 Lillian Angel <langel@redhat.com> 14560 14561 * javax/swing/plaf/basic/BasicTreeUI.java: 14562 Added new field to keep track of contents in newly edited cell. 14563 (isEditing): Made more intuitive. 14564 (stopEditing): Changed because it was causing an infinite loop. 14565 (installUI): Should be set to true when set. 14566 (completeEditing): Passed newVal to valueForPathChanged instead. 14567 (EditorTimerUpdate): Made timer faster because was not working well. 14568 (actionPerformed): No need for 'BasicTreeUI.this.' 14569 (update): Likewise. 14570 (editingStopped): Likewise. Also, set newVal to appropriate value. 14571 (editingCanceled): Likewise. 14572 (keyPressed): Likewise. 14573 (mousePressed): Likewise. 14574 (treeExpanded): Likewise. 14575 (treeCollapsed): Likewise. 14576 (treeNodesChanged): Likewise. 14577 (TreeNodesInserted): Likewise. 14578 (treeNodesRemoved): Likewise. 14579 (treeStructureChanged): Likewise. 14580 (valueChanged): Editing is canceled when a new cell is clicked. 14581 (getCellBounds): Initialized row for path. 14582 * javax/swing/tree/DefaultTreeCellEditor.java 14583 (startEditingTimer): No need to start timer if it is already set. 14584 * javax/swing/tree/DefaultTreeModel.java 14585 (valueForPathChanged): Fixed so value of node is changed only if it 14586 is a MutableTreeNode. Otherwise, it cannot be changed. Also, 14587 implemented with check if root node is the node being changed. 14588 (nodeChanged): Should get the path of the node, not the parent. 14589 145902005-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> 14591 14592 PR awt/20782 14593 * native/jni/gtk-peer/gtk_jawt.c 14594 (classpath_jawt_get_default_display): Check if widget is realized 14595 and return NULL if it is not. 14596 (classpath_jawt_get_visualID): Likewise. 14597 (classpath_jawt_get_drawable): Likewise. 14598 145992005-08-31 Thomas Fitzsimmons <fitzsim@redhat.com> 14600 14601 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds): Only 14602 add parent's x and y co-ordinates to translation if parent's 14603 parent is not a window. 14604 146052005-08-31 Anthony Balkissoon <abalkiss@redhat.com> 14606 14607 * javax/swing/plaf/basic/BasicFileChooserUI.java: 14608 (boxEntries): Made this method package private because I added a 14609 call to it from an implicitly defined listener class. Also fixed 14610 indentation. 14611 (createPropertyChangeListener): If the returned property listener 14612 hears DIRECTORY_CHANGED_PROPERTY, call boxEntries() to update the 14613 look-in box entries. 14614 146152005-08-31 Anthony Balkissoon <abalkiss@redhat.com> 14616 14617 PR swing/23037 14618 * javax/swing/JFileChooser.java 14619 (changeToParentDirectory): If parent directory is null, do nothing. 14620 146212005-08-31 Anthony Balkissoon <abalkiss@redhat.com> 14622 14623 * javax/swing/JTable.java: 14624 (initializeLocalVars): Changed default autoResizeMode to 14625 AUTO_RESIZE_SUBSEQUENT_COLUMNS to match the JDK. 14626 * javax/swing/plaf/basic/BasicTableUI.java: 14627 (getMaximumSize): Implemented. 14628 (getMinimumSize): Implemented. 14629 146302005-08-31 Mark Wielaard <mark@klomp.org> 14631 14632 * java/nio/charset/Charset.java (charsetForName): Try default provider 14633 before trying to load extra providers. 14634 (availableCharsets): Explicitly add default provider Charsets. 14635 (providers2): Don't include default provider. 14636 146372005-08-31 David Gilbert <david.gilbert@object-refinery.com> 14638 14639 * javax/swing/plaf/metal/MetalBorders.java 14640 (textFieldBorder): new field, 14641 (Flush3DBorder): new class, 14642 (TextFieldBorder): new class, 14643 (getTextFieldBorder): implemented. 14644 146452005-08-31 David Gilbert <david.gilbert@object-refinery.com> 14646 14647 * javax/swing/plaf/basic/BasicButtonUI.java 14648 (getPropertyPrefix): include dot in prefix, 14649 (installDefaults): remove dot which is included in prefix now, 14650 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java 14651 (getPropertyPrefix): return correct prefix, 14652 * javax/swing/plaf/basic/BasicCheckBoxUI.java 14653 (getPropertyPrefix): return correct prefix, 14654 * javax/swing/plaf/basic/BasicMenuItemUI.java 14655 (getPropertyPrefix): return correct prefix, 14656 * javax/swing/plaf/basic/BasicMenuUI.java 14657 (getPropertyPrefix): return correct prefix, 14658 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java 14659 (getPropertyPrefix): return correct prefix, 14660 * javax/swing/plaf/basic/BasicRadioButtonUI.java 14661 (getPropertyPrefix): include dot in prefix, 14662 (getDefaultIcon): removed dot which is part of the prefix, 14663 * javax/swing/plaf/basic/BasicToggleButtonUI.java 14664 (getPropertyPrefix): include dot in prefix, 14665 * javax/swing/plaf/metal/MetalCheckBoxUI.java: now extends 14666 MetalRadioButtonUI, 14667 (getPropertyPrefix): implemented. 14668 146692005-08-30 Mark Wielaard <mark@klomp.org> 14670 Christian Schlichtherle <christian@schlichtherle.de> 14671 14672 * java/util/zip/ZipEntry.java (setTime): Use 14673 Calendar.setTimeInMillis(). 14674 (getTime): First parse extra bytes. Use Calendar.getTimeInMillis(). 14675 (parseExtra): Don't return early to make sure that KNOWN_EXTRA is 14676 always set. 14677 * java/util/zip/ZipFile.java (readEntries): Parse name and comment 14678 as UTF-8 string. 14679 (close): Check that raf is not null. 14680 * java/util/zip/ZipInputStream.java (getNextEntry): Set name as 14681 UTF-8 bytes. 14682 * java/util/zip/ZipOutputStream.java (setComment): Set comment as 14683 UTF-8 bytes. 14684 (putNextEntry): Likewise for name. 14685 (finish): Likewise for both. 14686 146872005-08-30 David Gilbert <david.gilbert@object-refinery.com> 14688 14689 * examples/gnu/classpath/examples/swing/Demo.java 14690 (mkMenuBar): added a JRadioButtonMenuItem, 14691 * javax/swing/plaf/metal/MetalIconFactory.java 14692 (RadioButtonMenuItemIcon): new inner class, 14693 (getRadioButtonMenuItemIcon): implemented, 14694 * javax/swing/plaf/metal/MetalLookAndFeel.java 14695 (initComponentDefaults): added RadioButtonMenuItem defaults. 14696 146972005-08-30 Lillian Angel <langel@redhat.com> 14698 14699 * javax/swing/plaf/basic/BasicTreeUI.java: 14700 Added a timer field for repainting the editing component. 14701 (EditorUpdateTimer): Inner class added and implemented. Updates 14702 the caret and text box. Still need to fix typing in text box. 14703 (startEditing): Started the timer. 14704 (editingCanceled): Stopped the timer. 14705 (editingStopped): Likewise. 14706 147072005-08-30 Lillian Angel <langel@redhat.com> 14708 14709 * examples/gnu/classpath/examples/swing/Demo.java 14710 (mkTreeWorld): Made tree editable. 14711 * javax/swing/DefaultCellEditor.java 14712 (isCellEditable): Added in check for number of mouse clicks. 14713 (DefaultCellEditor): To start editing a textfield, number of clicks 14714 is 3. 14715 * javax/swing/plaf/basic/BasicTreeUI.java: 14716 Took out unneeded fields 14717 (isEditing): Fixed to check boolean. 14718 (updateCellEditor): Made more efficent. 14719 (installUI): Created cell editor for initialization. 14720 (editingStopped): Added in check to prevent a NPE. 14721 (editingCanceled): Likewise. 14722 (keyPressed): Added in check for pressing Enter. Enter should stop 14723 editing and complete it, when in the process of editing. 14724 (mousePressed): Optimized by using MouseEvent's getClickCount. The 14725 clicking on nodes works better. Also, added in code to start the 14726 editing. 14727 (valueChanged): Implemented. 14728 (selectPath): Took out code to remove an already selected path. A node 14729 should remain selected if clicked on more than once. Works like JDK. 14730 * javax/swing/tree/DefaultTreeCellEditor.java: 14731 Added a helper field. 14732 (paint): Took out redundant code. 14733 (DefaultTreeCellEditor): Added class to listener list. 14734 (configureEditingComponent): Updated since listener was added to list. 14735 (isCellEditable): Finished implementation. 14736 (stopCellEditing): Added a check for editingComponent to prevent a NPE. 14737 (cancelCellEditing): Likewise. 14738 (valueChanged): Took out redundant code. 14739 (actionPerformed): Added code in to implement click-pause-click 14740 editing. 14741 (shouldStartTimer): Fixed check. 14742 (canEditImmediately): Took out redunant code. 14743 (inHitRegion): Changed region to be text area only (not icon). 14744 (createTreeCellEditor): No need to use canEdit here, removed. 14745 147462005-08-30 Christian Schlichtherle <christian@schlichtherle.de> 14747 14748 * java/util/zip/DeflaterOutputStream.java 14749 (DeflaterOutputStream(OutputStream)): Increase buffer size to 4096. 14750 (DeflaterOutputStream(OutputStream,Deflater)): Likewise. 14751 147522005-08-30 Christian Schlichtherle <christian@schlichtherle.de> 14753 14754 * java/util/zip/DeflaterHuffman.java (bit4Reverse): Mark final. 14755 147562005-08-30 David Gilbert <david.gilbert@object-refinery.com> 14757 14758 * javax/swing/plaf/metal/MetalLabelUI.java 14759 (instance): renamed 'metalLabelUI' and changed from private to 14760 protected, 14761 (createUI): modified for renamed field, 14762 (paintDisabledText): implemented, 14763 * javax/swing/plaf/metal/MetalLookAndFeel.java 14764 (initComponentDefaults): modified Label defaults. 14765 147662005-08-30 David Gilbert <david.gilbert@object-refinery.com> 14767 14768 * javax/swing/plaf/metal/MetalLookAndFeel.java 14769 (initComponentDefaults): added some defaults for TabbedPane, 14770 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 14771 (TabbedPaneLayout): implemented new class, 14772 (createLayoutManager): implemented, 14773 (paintTabBorder): implemented, 14774 (paintTopTabBorder): implemented, 14775 (paintLeftTabBorder): implemented, 14776 (paintBottomTabBorder): implemented, 14777 (paintRightTabBorder): implemented, 14778 (paintTabBackground): implemented, 14779 (shouldPadTabRun): implemented, 14780 * examples/gnu/classpath/examples/swing/Demo.java: 14781 (mkTabWorld): new method, 14782 (mkTabbedPane): added tab for 'Tab World'. 14783 147842005-08-30 Robert Schuster <robertschuster@fsfe.org> 14785 14786 * java/beans/Statement.java: 14787 (Statement): Use zero length array if argument array is null. 14788 (toString): Use StringBuffer for efficiency reasons, make use of 14789 internal name. 14790 (generateInternalName): New method, generates instance names like 14791 the JDK has. 14792 (doExecute): Removed debugging output that could lead to an exception 14793 because wrong loop variable usage. 14794 * java/beans/Expression.java: Static constant 'unset' renamed to 14795 'UNSET'. 14796 147972005-08-29 Keith Seitz <keiths@redhat.com> 14798 14799 * gnu/classpath/jdwp/event/Event.java: New file describing JDWP 14800 events. 14801 * gnu/classpath/jdwp/event/ClassPrepareEvent.java: New file. 14802 * gnu/classpath/jdwp/event/ThreadEndEvent.java: New file. 14803 * gnu/classpath/jdwp/event/ThreadStartEvent.java: New file. 14804 * gnu/classpath/jdwp/event/VmInitEvent.java (VmInitEvent): New file. 14805 148062005-08-29 Tom Tromey <tromey@redhat.com> 14807 14808 * .externalToolBuilders/Configure.launch: Changed --prefix. 14809 * .externalToolBuilders/CompileNative.launch: Invoke install target. 14810 * .cdtproject: New file. 14811 * .classpath: Changed output directory. 14812 * .cvsignore: Added 'install'. 14813 148142005-08-29 Lillian Angel <langel@redhat.com> 14815 14816 * javax/swing/JPasswordField.java 14817 (getText): Changed to pass error to AssertionError. 14818 * javax/swing/plaf/basic/BasicTreeUI.java 14819 (setCellEditor): Updated boolean when appropriate. 14820 (stopEditing): Took out redundant code. 14821 (updateCellEditor): Updated boolean when appropriate. 14822 (installListeners): Took out CellEditorListener. It is added 14823 when the cellEditor is set. 14824 (installUI): Similar. 14825 (ensureRowsAreVisible): Fixed API documentation 14826 (startEditing): Fixed to add editing container to the tree. 14827 (checkForClickInExpandControl): Fixed API documentation. 14828 (editingStopped): Added code to remove listeners and container. 14829 (editingCanceled): Similar. 14830 (mousePressed): Updated to stop editing when a different cell is 14831 clicked. 14832 (treeNodesChanged): Called repaint. 14833 (treeNodesRemoved): Likewise. 14834 (treeStructureChanged): Likewise. 14835 (paintNode): Updated to paint a node that is being edited. 14836 (paintRecursive): Fixed API documentation. 14837 * javax/swing/tree/DefaultTreeCellEditor.java 14838 (paint): Fixed to paint icon and text box in correct location with 14839 correct spacing. 14840 (doLayout): Fixed API documentation. 14841 (DefaultTreeCellEditor): Took out call to configure editing component. 14842 (configureEditingComponent): Initialized editing icon. 14843 (getTreeCellEditorComponent): Took out code to stop editing. 14844 Not needed. 14845 (addCellEditorListener): Passed on to realEditor. 14846 (removeCellEditorListener): Likewise. 14847 148482005-08-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> 14849 14850 * org/omg/CORBA/ORB.java (string_to_object): Documentation update. 14851 * gnu/CORBA/Functional_ORB.java (string_to_object): Rewritten. 14852 (ior_to_object): New method. 14853 * gnu/CORBA/NamingService/NameParser.java: New file. 14854 148552005-08-28 Mark Wielaard <mark@klomp.org> 14856 14857 * javax/swing/text/AbstractDocument.java (addEdit): Document gcj bug 14858 workaround. 14859 (getChange): Likewise. 14860 148612005-08-28 Tom Tromey <tromey@redhat.com> 14862 14863 * org/omg/PortableInterceptor/ORBInitInfoOperations.java: Removed 14864 non-ascii character. 14865 148662005-08-28 Chris Burdess <dog@gnu.org> 14867 14868 * javax/swing/text/AbstractDocument.java: Fully qualify references to 14869 ElementChange class. 14870 148712005-08-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 14872 14873 * gnu/CORBA/Interceptor/ForwardRequestHolder.java, 14874 * gnu/CORBA/Interceptor/gnuClientRequestInfo.java, 14875 * gnu/CORBA/Interceptor/gnuIcCurrent.java, 14876 * gnu/CORBA/Interceptor/gnuIorInfo.java, 14877 * gnu/CORBA/Interceptor/gnuServerRequestInfo.java, 14878 * gnu/CORBA/Interceptor/IORInterceptors.java, 14879 * gnu/CORBA/Interceptor/ClientRequestInterceptors.java, 14880 * gnu/CORBA/Interceptor/Registrator.java, 14881 * gnu/CORBA/Interceptor/ServerRequestInterceptors.java, 14882 * gnu/CORBA/GIOP/contextSupportingHeader.java, 14883 * org/omg/PortableInterceptor/ClientRequestInfo.java, 14884 * org/omg/PortableInterceptor/ClientRequestInfoOperations.java, 14885 * org/omg/PortableInterceptor/ClientRequestInterceptor.java, 14886 * org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java, 14887 * org/omg/PortableInterceptor/Current.java, 14888 * org/omg/PortableInterceptor/CurrentHelper.java, 14889 * org/omg/PortableInterceptor/CurrentOperations.java, 14890 * org/omg/PortableInterceptor/ForwardRequest.java, 14891 * org/omg/PortableInterceptor/ForwardRequestHelper.java, 14892 * org/omg/PortableInterceptor/InvalidSlot.java, 14893 * org/omg/PortableInterceptor/InvalidSlotHelper.java, 14894 * org/omg/PortableInterceptor/ORBInitInfo.java, 14895 * org/omg/PortableInterceptor/ORBInitInfoOperations.java, 14896 * org/omg/PortableInterceptor/ORBInitializer.java, 14897 * org/omg/PortableInterceptor/ORBInitializerOperations.java, 14898 * org/omg/PortableInterceptor/PolicyFactory.java, 14899 * org/omg/PortableInterceptor/PolicyFactoryOperations.java, 14900 * org/omg/PortableInterceptor/RequestInfo.java, 14901 * org/omg/PortableInterceptor/RequestInfoOperations.java, 14902 * org/omg/PortableInterceptor/ServerRequestInfo.java, 14903 * org/omg/PortableInterceptor/ServerRequestInfoOperations.java, 14904 * org/omg/PortableInterceptor/ServerRequestInterceptor.java, 14905 * org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java, 14906 * org/omg/PortableInterceptor/package.html: 14907 New files. 14908 * gnu/CORBA/ExceptionCreator.java, 14909 * gnu/CORBA/Functional_ORB.java, 14910 * gnu/CORBA/IOR.java, 14911 * gnu/CORBA/IOR_Delegate.java, 14912 * gnu/CORBA/ObjectCreator.java, 14913 * gnu/CORBA/Restricted_ORB.java, 14914 * gnu/CORBA/bufferedResponseHandler.java, 14915 * gnu/CORBA/gnuCodecFactory.java, 14916 * gnu/CORBA/gnuRequest.java, 14917 * gnu/CORBA/primitiveArrayTypeCode.java, 14918 * gnu/CORBA/primitiveTypeCode.java, 14919 * gnu/CORBA/CDR/Vio.java, 14920 * gnu/CORBA/CDR/cdrOutput.java, 14921 * gnu/CORBA/DynAn/gnuDynAny.java, 14922 * gnu/CORBA/DynAn/gnuDynEnum.java, 14923 * gnu/CORBA/DynAn/gnuDynFixed.java, 14924 * gnu/CORBA/DynAn/gnuDynValue.java, 14925 * gnu/CORBA/GIOP/ReplyHeader.java, 14926 * gnu/CORBA/GIOP/RequestHeader.java, 14927 * gnu/CORBA/GIOP/ServiceContext.java, 14928 * gnu/CORBA/GIOP/v1_0/RequestHeader.java, 14929 * gnu/CORBA/Poa/LocalDelegate.java, 14930 * gnu/CORBA/Poa/LocalRequest.java, 14931 * gnu/CORBA/Poa/ORB_1_4.java, 14932 * gnu/CORBA/Poa/gnuServantObject.java, 14933 * gnu/CORBA/Poa/servantDelegate.java, 14934 * org/omg/CORBA/ServiceDetailHelper.java, 14935 * org/omg/CORBA/DynAnyPackage/Invalid.java, 14936 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java, 14937 * org/omg/CORBA/DynAnyPackage/InvalidValue.java, 14938 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java, 14939 * org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, 14940 * org/omg/DynamicAny/_DynAnyFactoryStub.java, 14941 * org/omg/DynamicAny/_DynAnyStub.java, 14942 * org/omg/DynamicAny/_DynArrayStub.java, 14943 * org/omg/DynamicAny/_DynEnumStub.java, 14944 * org/omg/DynamicAny/_DynFixedStub.java, 14945 * org/omg/DynamicAny/_DynSequenceStub.java, 14946 * org/omg/DynamicAny/_DynStructStub.java, 14947 * org/omg/DynamicAny/_DynUnionStub.java, 14948 * org/omg/DynamicAny/_DynValueStub.java, 14949 * org/omg/IOP/ServiceContext.java, 14950 * org/omg/IOP/TaggedComponentHelper.java, 14951 * org/omg/IOP/TaggedProfileHelper.java, 14952 * org/omg/PortableInterceptor/IORInfo.java, 14953 * org/omg/PortableInterceptor/IORInfoOperations.java, 14954 * org/omg/PortableInterceptor/IORInterceptor.java, 14955 * org/omg/PortableInterceptor/IORInterceptorOperations.java, 14956 * org/omg/PortableInterceptor/Interceptor.java, 14957 * org/omg/PortableInterceptor/LOCATION_FORWARD.java, 14958 * org/omg/PortableInterceptor/SUCCESSFUL.java, 14959 * org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java, 14960 * org/omg/PortableInterceptor/TRANSPORT_RETRY.java, 14961 * org/omg/PortableInterceptor/USER_EXCEPTION.java, 14962 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java, 14963 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, 14964 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java, 14965 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, 14966 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java: 14967 Rewritten. 14968 * org/omg/CORBA/ORB.java, 14969 * org/omg/CORBA/package.html, 14970 * NEWS: 14971 Documentation update. 14972 149732005-08-28 Chris Burdess <dog@gnu.org> 14974 14975 * gnu/xml/xpath/ArithmeticExpr.java: Fix div and mod by zero to 14976 follow IEEE rules. 14977 149782005-08-27 Tom Tromey <tromey@redhat.com> 14979 14980 * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Always check for 'zip' 14981 program. Changed zip install handling. 14982 149832005-08-26 Keith Seitz <keiths@redhat.com> 14984 14985 * gnu/classpath/jdwp/event/EventRequest.java: New file. 14986 * gnu/classpath/jdwp/exception/JdwpIllegalArgumentException.java: 14987 New file. 14988 149892005-08-26 Keith Seitz <keiths@redhat.com> 14990 14991 * gnu/classpath/jdwp/event/filters/IEventFilter.java: New file. 14992 Describes the interface used for event filtering managed by 14993 the event manager. 14994 * gnu/classpath/jdwp/event/filters/ClassExcludeFilter.java: New file. 14995 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: New file. 14996 * gnu/classpath/jdwp/event/filters/ClassOnlyFilter.java: New file. 14997 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java: New file. 14998 * gnu/classpath/jdwp/event/filters/CountFilter.java: New file. 14999 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java: New file. 15000 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java: New file. 15001 * gnu/classpath/jdwp/event/filters/InstanceOnlyFilter.java: New file. 15002 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java: New file. 15003 * gnu/classpath/jdwp/event/filters/StepFilter.java: New file. 15004 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: New file. 15005 150062005-08-26 David Gilbert <david.gilbert@object-refinery.com> 15007 15008 * javax/swing/plaf/basic/BasicCheckBoxUI.java 15009 (installUI): removed, 15010 * javax/swing/plaf/basic/BasicIconFactory.java 15011 (CheckBoxMenuItemIcon): new support class, 15012 (getCheckBoxMenuItemIcon): return instance of CheckBoxMenuItemIcon, 15013 * javax/swing/plaf/basic/BasicLookAndFeel.java 15014 (initComponentDefaults): changed value for 'CheckBoxMenuItem.checkIcon' 15015 and removed entry for 'CheckBoxMenuItem.icon', 15016 * javax/swing/plaf/basic/BasicMenuItemUI.java 15017 (paintMenuItem): let icon handle selection status, 15018 * javax/swing/plaf/metal/MetalIconFactory.java 15019 (CheckBoxMenuItemIcon): new support class, 15020 (getCheckBoxIcon): implemented, 15021 (getCheckBoxMenuItemIcon): implemented, 15022 * javax/swing/plaf/metal/MetalLookAndFeel.java 15023 (initComponentDefaults): added entry for 'CheckBoxMenuItem.checkIcon'. 15024 150252005-08-26 Thomas Fitzsimmons <fitzsim@redhat.com> 15026 15027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c 15028 (create): Only set overwrite confirmation if using GTK >= 2.8. 15029 15030 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 15031 (setVisibleNative): Call gdk_flush before releasing GDK lock. 15032 (setVisibleNativeUnlocked): Don't call gdk_flush. 15033 150342005-08-26 Thomas Fitzsimmons <fitzsim@redhat.com> 15035 15036 PR classpath/21660: 15037 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, 15038 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c 15039 (AWT_FILEDIALOG_LOAD): New macro. 15040 (AWT_FILEDIALOG_SAVE): Likewise. 15041 (create(GtkContainerPeer,int)): Add mode parameter. Create Save 15042 dialog if mode is AWT_FILEDIALOG_SAVE. Remove workaround for 15043 http://bugzilla.gnome.org/show_bug.cgi?id=166852. 15044 (create()): Add mode argument to create call. 15045 * gnu/java/awt/peer/gtk/GtkWindowPeer.java, 15046 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 15047 (setVisibleNative): Override method. 15048 (setVisibleNativeUnlocked): Override method. Call gdk_flush after 15049 showing or hiding window. 15050 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h: Regenerate. 15051 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerate. 15052 150532005-08-25 Mark Wielaard <mark@klomp.org> 15054 15055 * timezones.pl (parseRule): Add dayoffset when $time represents 15056 more then a day. 15057 * java/util/TimeZone.java (timezones): Regenerate. 15058 150592005-08-25 Keith Seitz <keiths@redhat.com> 15060 15061 * gnu/classpath/jdwp/util/Value.java (Value): Update for 15062 real VMIdManager API. 15063 * gnu/classpath/jdwp/util/Location.java (Location): Likewise. 15064 150652005-08-25 Keith Seitz <keiths@redhat.com> 15066 15067 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java 15068 (executeSet): Use constants for case values. 15069 Fix "typo": It is really ThreadOnlyFilter. 15070 Correct arguments to InstanceOnlyFilter. 15071 150722005-08-25 Keith Seitz <keiths@redhat.com> 15073 15074 * gnu/classpath/jdwp/processor/CommandSet.java (CommandSet): Make 15075 an abstract class. 15076 Add protected variables for VMIdManager and VMVirtualMachine. 15077 (runCommand): Make abstract. 15078 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java 15079 (ArrayReferenceCommandSet): Derive from CommandSet instead of 15080 implementing it. Remove private hooks to ID manager and VM. 15081 Update all VMIdManager and EventManager API calls. 15082 * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java 15083 (ArrayTypeCommandSet): Likewise. 15084 * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java 15085 (ClassLoaderReferenceCommandSet): Likewise. 15086 * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java 15087 (ClassObjectReferenceCommandSet): Likewise. 15088 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java 15089 (ClassTypeCommandSet): Likewise. 15090 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java 15091 (EventRequestCommandSet): Likewise. 15092 * gnu/classpath/jdwp/processor/FieldCommandSet.java 15093 (FieldCommandSet): Likewise. 15094 * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java 15095 (InterfaceTypeCommandSet): Likewise. 15096 * gnu/classpath/jdwp/processor/MethodCommandSet.java 15097 (MethodCommandSet): Likewise. 15098 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java 15099 (ObjectReferenceCommandSet): Likewise. 15100 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java 15101 (ReferenceTypeCommandSet): Likewise. 15102 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 15103 (StackFrameCommandSet): Likewise. 15104 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java 15105 (StringReferenceCommandSet): Likewise. 15106 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java 15107 (ThreadGroupReferenceCommandSet.java): Likewise. 15108 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java 15109 (ThreadReferenceCommandSet): Likewise. 15110 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 15111 (VirtualMachineCommandSet): Likewise. 15112 15113 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java 15114 (executeStatus): Fix constant name. 15115 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 15116 (executeDisposeObjects): Don't do anything yet -- this 15117 is unimplemented. 15118 151192005-08-25 Mark Wielaard <mark@klomp.org> 15120 15121 Reported by Bastiaan Huisman <huisman@science.uva.nl> 15122 * scripts/tzabbrevs: Change America/Buenos_Aires to 15123 America/Argentina/Buenos_Aires for AGT link. 15124 * scripts/timezones.pl (parseTime): Assume and return wall time. 15125 Reindent output. 15126 * java/util/TimeZone.java (timezones): Regenerate using tzdata2005l. 15127 151282005-08-25 Keith Seitz <keiths@redhat.com> 15129 15130 * gnu/classpath/jdwp/event/EventManager.java: New file concerning 15131 JDWP event request management and notification infrastructure. 15132 151332005-08-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 15134 15135 * scripts/eclipse-gnu.xml: Reverted my patch 2005-07-31. 15136 151372005-08-25 Roman Kennke <roman@kennke.org> 15138 15139 * javax/swing/JTextPane.java 15140 (JTextPane()): Don't set the document to null here. 15141 151422005-08-25 Roman Kennke <roman@kennke.org> 15143 15144 * javax/swing/plaf/basic/BasicTextUI.java 15145 (RootView.preferenceChanged): Revalidate the text component. 15146 (RootView.setParent): Set parent of views to null. The parent 15147 of the added child view is set to the root view in the 15148 BasicTextUI class. 15149 (RootView.getView): Implemented new method. 15150 (RootView.getViewCount): Implemented new method. 15151 (RootView.changedUpdate): Use the correct ViewFactory here. 15152 (RootView.insertUpdate): Use the correct ViewFactory here. 15153 (RootView.removeUpdate): Use the correct ViewFactory here. 15154 (setView): Set the view's parent to the root view. 15155 151562005-08-25 Roman Kennke <roman@kennke.org> 15157 15158 * javax/swing/text/View.java 15159 (View): Don't manage child views here. 15160 (getContainer): Throw AssertionError if we have no parent. This 15161 should not happen. 15162 (append): Call replace to do the real action. Child views 15163 are not managed in the View class itself. 15164 (removeAll): Give replace an empty array instead of null. 15165 Avoids NPEs in subclasses that don't handle the null case. 15166 (preferenceChanged): Don't revalidate here. This is too 15167 expensive and not necessary. 15168 (updateChildren): Let replace do the actual action. We don't 15169 manage child views in the View class. 15170 (forwardUpdate): Don't access children directly. 15171 (dump): Added package private methods useful for debugging. 15172 151732005-08-25 Roman Kennke <roman@kennke.org> 15174 15175 * javax/swing/text/StyledEditorKit.java 15176 (StyledViewFactory.create): Use new BoxView constructor. Throw 15177 AssertionError if an unknown element type is encountered, 15178 since this should not happen. 15179 151802005-08-25 Roman Kennke <roman@kennke.org> 15181 15182 * javax/swing/text/GlyphView.java 15183 (GlyphPainter): Implemented abstract inner class. 15184 (DefaultGlyphPainter): Implemented concrete impl of 15185 GlyphPainter. 15186 (getGlyphPainter): Implemented new method. 15187 (setGlyphPainter): Likewise. 15188 (checkPainter): Likewise. 15189 (paint): Likewise. 15190 (getPreferredSpan): Likewise. 15191 (modelToView): Likewise. 15192 (getTabExpander): Likewise. 15193 (getTabbedSpan): Likewise. 15194 (getPartialSpan): Likewise. 15195 (getBeginIndex): Likewise. 15196 (getEndIndex): Likewise. 15197 (getText): Likewise. 15198 (getFont): Likewise. 15199 (getForeground): Likewise. 15200 152012005-08-25 Roman Kennke <roman@kennke.org> 15202 15203 * javax/swing/text/GapContent.java 15204 (getString): Throw BadLocationException instead of letting 15205 a StringIndexOutOfBoundsException bubble up. 15206 152072005-08-25 Roman Kennke <roman@kennke.org> 15208 15209 * javax/swing/text/ParagraphView.java 15210 (Row): Implemented inner class. 15211 (ParagraphView(Element)): Implemented constructor. 15212 (nextTabStop): Added dummy implementation for TabExpander 15213 interface. 15214 (createRow): Implemented new method. 15215 152162005-08-25 Roman Kennke <roman@kennke.org> 15217 15218 * javax/swing/text/FlowView.java 15219 (FlowStrategy): Implemented inner class. 15220 (LogicalView): Likewise. 15221 (FlowView(Element, int)): Implemented constructor. 15222 (getFlowAxis): Implemented new method. 15223 (getFlowSpan): Likewise. 15224 (getFlowStart): Likewise. 15225 (createRow): Added new abstract method. 15226 (loadChildren): Implemented new method. 15227 (layout): Implemented new method. 15228 (insertUpdate): Implemented new method. 15229 (removeUpdate): Implemented new method. 15230 (changedUpdate): Implemented new method. 15231 (getViewIndexAtPosition): Implemented new method. 15232 152332005-08-25 Roman Kennke <roman@kennke.org> 15234 15235 * javax/swing/text/CompositeView.java 15236 (loadChildren): Call replace to actually change the child 15237 elements. This way subclasses can modify the child 15238 management behaviour by simply overriding replace. 15239 (setParent): Only call loadChildren if the parent to be set 15240 is actually not null. 15241 (replace): Check for null children. Set the parent of removed 15242 children to null. Set the parent of the added children to 15243 this. 15244 (modelToView): Added some sanity checks. 15245 152462005-08-25 Roman Kennke <roman@kennke.org> 15247 15248 * javax/swing/text/BoxView.java 15249 (BoxView(Element, int)): Implemented. 15250 (getAxis): Likewise. 15251 (setAxis): Likewise. 15252 (layoutChanged): Likewise. 15253 (isLayoutValid): Likewise. 15254 (paintChild): Likewise. 15255 (replace): Likewise. 15256 (paint): Likewise. 15257 (getPreferredSpan): Likewise. 15258 (getMaximumSpan): Likewise. 15259 (baselineRequirements): Likewise. 15260 (calculateMajorAxisRequirements): Likewise. 15261 (calculateMinorAxisRequirements): Likewise. 15262 (isBefore): Likewise. 15263 (isAfter): Likewise. 15264 (getViewAtPoint): Likewise. 15265 (childAllocation): Likewise. 15266 (layout): Likewise. 15267 (layoutMajorAxis): Likewise. 15268 (layoutMinorAxis): Likewise. 15269 (isAllocationValid): Likewise. 15270 (getWidth): Likewise. 15271 (getHeight): Likewise. 15272 (setSize): Likewise. 15273 (validateLayout): Likewise. 15274 152752005-08-25 Roman Kennke <roman@kennke.org> 15276 15277 * javax/swing/text/AbstractDocument.java 15278 (AbstractElement.dumpElement): Throw AssertionError when 15279 a BadLocationException is encountered. 15280 (BranchElement.getElementIndex): Return -1 if there is no child 15281 element. Return elementCount - 1 if the requested offset is after 15282 the child elements of that element. 15283 (BranchElement.getEndOffset): Throw NPE if this element has no 15284 children. 15285 (BranchElement.getStartOffset): Throw NPE if this element has 15286 no children. 15287 (DefaultDocumentEvent.addEdit): Implemented. 15288 (DefaultDocumentEvent.getChange): Implemented. 15289 152902005-08-25 Lillian Angel <langel@redhat.com> 15291 15292 * javax/swing/JPasswordField.java 15293 (setText): Changed to raise an AssertionError when a 15294 BadLocationException is caught. 15295 152962005-08-25 Tom Tromey <tromey@redhat.com> 15297 15298 * configure.ac: Call AC_PROG_CXX. 15299 153002005-08-25 Mark Wielaard <mark@klomp.org> 15301 15302 * javax/xml/namespace/QName.java: Updated boilerplate address. 15303 * gnu/xml/xpath/XPathParser.y: Likewise. 15304 * gnu/xml/xpath/XPathParser.java: Regenerated. 15305 153062005-08-25 David Gilbert <david.gilbert@object-refinery.com> 15307 15308 * javax/xml/datatype/DatatypeFactory.java: minor API doc fixes, 15309 * javax/xml/parsers/DocumentBuilder.java: likewise, 15310 * javax/xml/parsers/SAXParser.java: likewise, 15311 * javax/xml/transform/Source.java: likewise. 15312 153132005-08-25 David Gilbert <david.gilbert@object-refinery.com> 15314 15315 * javax/swing/tree/DefaultTreeModel.java 15316 (nodesWereRemoved): minor API doc fix. 15317 153182005-08-25 David Gilbert <david.gilbert@object-refinery.com> 15319 15320 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 15321 (activeBGColor): removed, 15322 (activeFGColor): removed, 15323 (inactiveBGColor): removed, 15324 (inactiveFGColor): removed, 15325 (installDefaults): replaced removed fields above with correct ones, 15326 (uninstallDefaults): likewise, 15327 (setButtonIcons): implemented, 15328 (paintComponent): replaced removed fields above with correct ones; 15329 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: implemented, 15330 * javax/swing/plaf/metal/MetalInternalFrameUI.java 15331 (createNorthPane): implemented, 15332 * javax/swing/plaf/metal/MetalLookAndFeel.java 15333 (initComponentDefaults): added internal frame icons. 15334 153352005-08-25 Thomas Fitzsimmons <fitzsim@redhat.com> 15336 15337 * gnu/java/awt/ClasspathToolkit.java (getFont): Throw 15338 RuntimeException in case of error. 15339 * gnu/java/awt/EmbeddedWindow.java (addNotify): Likewise. 15340 153412005-08-24 Thomas Fitzsimmons <fitzsim@redhat.com> 15342 15343 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c 15344 (beginNativeRepaintID): Remove variable. 15345 (endNativeRepaintID): Likewise. 15346 (cp_gtk_button_init_jni): Don't look up beginNativeRepaint and 15347 endNativeRepaint methods. 15348 * gnu/java/awt/peer/gtk/GtkFramePeer.java (resizing): Remove 15349 field. 15350 * gnu/java/awt/peer/gtk/GtkWindowPeer.java, 15351 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 15352 (resizing): Remove field. 15353 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (hiding): Remove 15354 field. 15355 (setVisible): Don't override. 15356 * gnu/java/awt/peer/gtk/GtkChoicePeer.java, 15357 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c 15358 (selectNative): New method. 15359 (selectNativeUnlocked): Likewise. 15360 (select): Call setNativeUnlocked if in the GTK main thread, 15361 selectNative otherwise. 15362 * gnu/java/awt/peer/gtk/GtkComponentPeer.java, 15363 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 15364 (gtkWidgetSetCursorUnlocked): New method. 15365 (setCursor(Cursor)): Call gtkWidgetSetCursorUnlocked if in the GTK 15366 main thread, gtkWidgetSetCursor otherwise. 15367 (setVisibleNative): New method. 15368 (setVisibleNativeUnlocked): Likewise. 15369 (setVisible): Call setVisibleNativeUnlocked if in the GTK main 15370 thread, setVisibleNative otherwise. 15371 (hide): Call setVisible(false). 15372 (show): Call setVisible(true). 15373 153742005-08-24 Tom Tromey <tromey@redhat.com> 15375 15376 * java/text/SimpleDateFormat.java (compileFormat): Correctly 15377 handle quoted single quotes. PR classpath/23183. 15378 153792005-08-24 Mark Wielaard <mark@klomp.org> 15380 15381 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Update copyright 15382 boilerplate address. 15383 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise. 15384 153852005-08-24 Mark Wielaard <mark@klomp.org> 15386 15387 * doc/www.gnu.org/newsitems.txt: Fix announcement url. 15388 153892005-08-24 David Gilbert <david.gilbert@object-refinery.com> 15390 15391 * javax/swing/plaf/metal/MetalIconFactory.java 15392 (InternalFrameCloseIcon): new private class, 15393 (InternalFrameAltMaximizeIcon): likewise, 15394 (InternalFrameMaximizeIcon): likewise, 15395 (InternalFrameMinimizeIcon): likewise, 15396 (getInternalFrameCloseIcon): implemented, 15397 (getInternalFrameMaximizeIcon): implemented, 15398 (getInternalFrameMinimizeIcon): implemented, 15399 (getInternalFrameAltMaximizeIcon): implemented. 15400 154012005-08-24 Mark Wielaard <mark@klomp.org> 15402 15403 * gnu/CORBA/ForwardRequestHelper.java: Update copyright boilerplate 15404 address. 15405 * gnu/classpath/jdwp/processor/CommandSet.java: Likewise. 15406 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java: 15407 Likewise. 15408 * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java: 15409 Likewise. 15410 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java: Likewise. 15411 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java: Likewise. 15412 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: 15413 Likewise. 15414 * gnu/classpath/jdwp/util/LineTable.java: Likewise. 15415 * gnu/classpath/jdwp/util/MethodResult.java: Likewise. 15416 * gnu/classpath/jdwp/util/VariableTable.java: Likewise. 15417 * javax/xml/namespace/QName.java: Likewise. 15418 * org/omg/DynamicAny/_DynAnyFactoryStub.java: Likewise. 15419 * org/omg/DynamicAny/_DynAnyStub.java: Likewise. 15420 * org/omg/DynamicAny/_DynArrayStub.java: Likewise. 15421 * org/omg/DynamicAny/_DynEnumStub.java: Likewise. 15422 * org/omg/DynamicAny/_DynFixedStub.java: Likewise. 15423 * org/omg/DynamicAny/_DynSequenceStub.java: Likewise. 15424 * org/omg/DynamicAny/_DynStructStub.java: Likewise. 15425 * org/omg/DynamicAny/_DynUnionStub.java: Likewise. 15426 * org/omg/DynamicAny/_DynValueStub.java: Likewise. 15427 * org/omg/PortableServer/ForwardRequest.java: Likewise. 15428 * org/omg/PortableServer/CurrentHelper.java: Likewise. 15429 * org/omg/PortableServer/ForwardRequestHelper.java: Likewise. 15430 * org/omg/PortableServer/ServantActivatorHelper.java: Likewise. 15431 * org/omg/PortableServer/ServantLocatorHelper.java: Likewise. 15432 * org/omg/PortableServer/_ServantActivatorStub.java: Likewise. 15433 * org/omg/PortableServer/_ServantLocatorStub.java: Likewise. 15434 154352005-08-24 Mark Wielaard <mark@klomp.org> 15436 15437 * configure.ac: Set version to 0.18-pre. 15438 154392005-08-24 Mark Wielaard <mark@klomp.org> 15440 15441 * doc/www.gnu.org/newsitems.txt: Add Generics Branch Merge 15442 Announcement. 15443 154442005-08-24 Lillian Angel <langel@redhat.com> 15445 15446 * javax/swing/DefaultCellEditor.java 15447 (isCellEditable): Reversed last changes. 15448 154492005-08-24 Lillian Angel <langel@redhat.com> 15450 15451 * javax/swing/DefaultCellEditor.java 15452 (isCellEditable): If the event is null, the cell is still 15453 editable. 15454 * javax/swing/plaf/basic/BasicTextUI.java 15455 (getVisibleEditorRect): Use getPreferredSize to get the width 15456 and height. 15457 * javax/swing/tree/DefaultTreeCellEditor.java 15458 (paint): Fixed to paint the JTextField with the background 15459 and border at the correct location. 15460 (DefaultTreeCellEditor): Changed to initialize realEditor. 15461 (configureEditingComponent): Helper function implemented. 15462 (getTreeCellEditorComponent): Fixed to use realEditor to get component. 15463 (isCellEditable): Fixed to configure editing component. 15464 (shouldSelectCell): Always returns true. 15465 (stopCellEditing): Fixed to configure editing component if needed. 15466 (cancelCellEditing): Fixed to configure editing component if needed. 15467 (createTreeCellEditor): Fixed to initialize fields. 15468 154692005-08-24 Mark Wielaard <mark@klomp.org> 15470 15471 * resource/japhar-0.09.patch.1: Removed. 15472 * resource/orp-1.0.8.patch: Removed. 15473 * resource/orp-1.0.9.patch: Removed. 15474 * resource/Makefile.am (EXTRA_DIST): Removed. 15475 154762005-08-24 Mark Wielaard <mark@klomp.org> 15477 15478 * NEWS: Split in general changes and vm interface changes. Add RawData 15479 to Pointer conversion. 15480 154812005-08-24 Mark Wielaard <mark@klomp.org> 15482 15483 * native/jni/java-lang/java_lang_VMDouble.c 15484 (Java_java_lang_VMDouble_parseDouble): Remove KISSME_LINUX_USER hack. 15485 154862005-08-24 Mark Wielaard <mark@klomp.org> 15487 15488 * configure.ac: Check for QtGui >= 4.0.1. Check for and 15489 add extra include dirs ($includedir/Qt) to QT_CFLAGS. 15490 * native/jni/qt-peer/.cvsignore: Add slotcallbacks.moc.h. 15491 * native/jni/qt-peer/Makefile.am (QT_CXXFLAGS): Removed. 15492 (libqtpeer_la_CXXFLAGS): Removed. 15493 (libqtpeer_la_LDFLAGS): Removed. 15494 (AM_LDFLAGS): Set to @CLASSPATH_MODULE@ @QT_LIBS@. 15495 (AM_CXXFLAGS): Set to @QT_CFLAGS@. 15496 154972005-08-24 David Gilbert <david.gilbert@object-refinery.com> 15498 15499 * javax/swing/plaf/basic/BasicInternalFrameUI.java 15500 (installDefaults): just fetch border from UIDefaults, 15501 * javax/swing/plaf/metal/MetalIconFactory.java 15502 (InternalFrameDefaultMenuIcon): implemented, 15503 (getInternalFrameDefaultMenuIcon): implemented, 15504 * javax/swing/plaf/metal/MetalLookAndFeel.java 15505 (initComponentDefaults): add values for "InternalFrame.border" and 15506 "InternalFrame.icon". 15507 155082005-08-24 David Gilbert <david.gilbert@object-refinery.com> 15509 15510 * javax/swing/plaf/metal/MetalBorders.java 15511 (InternalFrameBorder): implemented. 15512 155132005-08-24 David Gilbert <david.gilbert@object-refinery.com> 15514 15515 * javax/swing/plaf/basic/BasicDesktopPaneUI.java 15516 (installDefaults): set background color using "desktop" color, 15517 * javax/swing/plaf/basic/BasicLookAndFeel.java 15518 (initSystemColorDefaults): removed "Desktop.background" color, 15519 * javax/swing/plaf/metal/MetalLookAndFeel.java 15520 (initSystemColorDefaults): added "desktop" color. 15521 155222005-08-23 Lillian Angel <langel@redhat.com> 15523 15524 * javax/swing/plaf/basic/BasicTreeUI.java 15525 (stopEditing): Implemented. 15526 (cancelEditing): Implemented. 15527 (startEditingAtPath): Implemented. 15528 (getEditingPath): Implemented. 15529 (createDefaultCellEditor): Implemented. 15530 (updateCellEditor): Implemented. 15531 (completeEditing): Implemented. 15532 (completeEditing): Implemented. 15533 (startEditing): Implemented. 15534 (editingStopped): Implemented. 15535 (editingCanceled): Implemented. 15536 * javax/swing/tree/DefaultTreeCellEditor.java 15537 (stopCellEditing): Stopped the timer. 15538 (cancelCellEditing): Likewise. 15539 155402005-08-23 Lillian Angel <langel@redhat.com> 15541 15542 * javax/swing/DefaultCellEditor.java 15543 (getTreeCellEditorComponent): Implemented cases for JCheckBox 15544 and JComboBox. 15545 * javax/swing/plaf/basic/BasicTreeUI.java 15546 (BasicTreeUI): Moved lines to installUI where the renderer 15547 and editor are created. 15548 (installUI): Likewise. 15549 * javax/swing/tree/DefaultTreeCellEditor.java 15550 (getPreferredSize): Implemented. 15551 (DefaultTreeCellEditor): Implemented. 15552 (DefaultTreeCellEditor): Implemented. 15553 (getTreeCellEditorComponent): Implemented. 15554 (getCellEditorValue): Implemented. 15555 (isCellEditable): Implemented. 15556 (shouldSelectCell): Implemented. 15557 (stopCellEditing): Implemented. 15558 (cancelCellEditing): Implemented. 15559 (valueChanged): Implemented. 15560 (actionPerformed): Implemented. 15561 (shouldStartEditingTimer): Implemented. 15562 (startEditingTimer): Implemented. 15563 (canEditImmediately): Implemented. 15564 (inHitRegion): Implemented. 15565 (determineOffset): Implemented. 15566 (prepareForEditing): Implemented. 15567 (createContainer): Implemented. 15568 (createTreeCellEditor): Implemented. 15569 155702005-08-23 Tom Tromey <tromey@redhat.com> 15571 15572 * java/text/SimpleDateFormat.java (compileFormat): Reformatted. 15573 155742005-08-23 Tom Tromey <tromey@redhat.com> 15575 15576 PR classpath/23531 15577 * java/sql/Date.java (toString): Not deprecated. 15578 (valueOf): Likewise. 15579 * java/sql/Time.java (toString): Not deprecated. 15580 (valueOf): Likewise. 15581 155822005-08-23 David Gilbert <david.gilbert@object-refinery.com> 15583 15584 * javax/swing/UIManager.java: 15585 (addAuxiliaryLookAndFeel): renamed field, added check for null 15586 argument, 15587 (removeAuxiliaryLookAndFeel): reimplemented, 15588 (getAuxiliaryLookAndFeels): renamed field, 15589 (installLookAndFeel): implemented by delegation. 15590 155912005-08-23 David Gilbert <david.gilbert@object-refinery.com> 15592 15593 * javax/swing/UIManager.java: added API docs all over. 15594 155952005-08-23 David Gilbert <david.gilbert@object-refinery.com> 15596 15597 * javax/swing/UIManager.java: 15598 (look_and_feel): renamed currentLookAndFeel, 15599 (currentUIDefaults): new field, 15600 (get(Object)): access cached UIDefaults, 15601 (get(Object, Locale)): likewise, 15602 (getBoolean(Object)): likewise, 15603 (getBoolean(Object, Locale)): likewise, 15604 (getBorder(Object)): likewise, 15605 (getBorder(Object, Locale)): likewise, 15606 (getColor(Object)): likewise, 15607 (getColor(Object, Locale)): likewise, 15608 (getDefaults): return reference to UIDefaults from current look and 15609 feel rather than recreating them every time, 15610 (getDimension(Object)): access local defaults, 15611 (getDimension(Object, Locale)): likewise, 15612 (getFont(Object)): likewise, 15613 (getFont(Object, Locale)): likewise, 15614 (getIcon(Object)): likewise, 15615 (getIcon(Object, Locale)): likewise, 15616 (getInsets(Object)): likewise, 15617 (getInsets(Object, Locale)): likewise, 15618 (getInt(Object)): likewise, 15619 (getInt(Object, Locale)): likewise, 15620 (getLookAndFeel): renamed attribute, 15621 (getLookAndFeelDefaults): return reference to UIDefaults from current 15622 look and feel rather than recreating them every time, 15623 (getString(Object)): access local defaults, 15624 (getString(Object, Locale)): likewise, 15625 (getUI(JComponent)): likewise, 15626 (installLookAndFeel(String, String)): implemented by delegation, 15627 (put(Object, Object)): update local defaults, 15628 (setLookAndFeel): create and retain reference to UIDefaults. 15629 156302005-08-23 David Gilbert <david.gilbert@object-refinery.com> 15631 15632 * javax/swing/UIManager.java: 15633 (addPropertyChangeListener): implemented, 15634 (removePropertyChangeListener): likewise, 15635 (getPropertyChangeListeners): likewise, 15636 (setLookAndFeel): fire a property change event. 15637 156382005-08-23 Lillian Angel <langel@redhat.com> 15639 15640 * javax/swing/plaf/basic/BasicTreeUI.java 15641 (BasicTreeUI): Moved these lines to installUI 15642 because they were causing NullPointerExceptions. 15643 (installUI): Added code from constructor. 15644 * javax/swing/plaf/metal/MetalTreeUI.java 15645 (createUI): Formatted code. 15646 156472005-08-23 Tom Tromey <tromey@redhat.com> 15648 15649 * configure.ac: Fixed typo. 15650 156512005-08-23 David Gilbert <david.gilbert@object-refinery.com> 15652 15653 * javax/swing/event/SwingPropertyChangeSupport.java 15654 (writeObject): removed empty method, 15655 (readObject): likewise, 15656 (getPropertyChangeListeners()): implemented, 15657 (getPropertyChangeListeners(String)): likewise, 15658 (hasListeners): return true if there are any general listeners, 15659 added API docs all over. 15660 156612005-08-23 Mark Wielaard <mark@klomp.org> 15662 15663 * native/jni/qt-peer/qttextfieldpeer.cpp 15664 (Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getCaretPosition): Renamed 15665 from Java_gnu_java_awt_peer_qt_QtTextFieldPeer_getCaretPositionNative. 15666 15667 * gnu/java/awt/peer/qt/QtComponentPeer.java (getMinimumSizeNative): 15668 Removed unused native method. 15669 (getPreferredSizeNative): Likewise. 15670 15671 * include/gnu_java_awt_peer_qt_QMatrix.h: Regenerated. 15672 * include/gnu_java_awt_peer_qt_QPainterPath.h: Likewise. 15673 * include/gnu_java_awt_peer_qt_QPen.h: Likewise. 15674 * include/gnu_java_awt_peer_qt_QtAudioClip.h: Likewise. 15675 * include/gnu_java_awt_peer_qt_QtButtonPeer.h: Likewise. 15676 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h: Likewise. 15677 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h: Likewise. 15678 * include/gnu_java_awt_peer_qt_QtChoicePeer.h: Likewise. 15679 * include/gnu_java_awt_peer_qt_QtComponentPeer.h: Likewise. 15680 * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Likewise. 15681 * include/gnu_java_awt_peer_qt_QtDialogPeer.h: Likewise. 15682 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h: Likewise. 15683 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h: Likewise. 15684 * include/gnu_java_awt_peer_qt_QtFontMetrics.h: Likewise. 15685 * include/gnu_java_awt_peer_qt_QtFontPeer.h: Likewise. 15686 * include/gnu_java_awt_peer_qt_QtFramePeer.h: Likewise. 15687 * include/gnu_java_awt_peer_qt_QtGraphics.h: Likewise. 15688 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h: Likewise. 15689 * include/gnu_java_awt_peer_qt_QtImage.h: Likewise. 15690 * include/gnu_java_awt_peer_qt_QtLabelPeer.h: Likewise. 15691 * include/gnu_java_awt_peer_qt_QtListPeer.h: Likewise. 15692 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h: Likewise. 15693 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h: Likewise. 15694 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h: Likewise. 15695 * include/gnu_java_awt_peer_qt_QtMenuPeer.h: Likewise. 15696 * include/gnu_java_awt_peer_qt_QtPanelPeer.h: Likewise. 15697 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h: Likewise. 15698 * include/gnu_java_awt_peer_qt_QtScreenDevice.h: Likewise. 15699 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h: Likewise. 15700 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h: Likewise. 15701 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h: Likewise. 15702 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h: Likewise. 15703 * include/gnu_java_awt_peer_qt_QtToolkit.h: Likewise. 15704 * include/gnu_java_awt_peer_qt_QtVolatileImage.h: Likewise. 15705 * include/gnu_java_awt_peer_qt_QtWindowPeer.h: Likewise. 15706 157072005-08-23 Thomas Fitzsimmons <fitzsim@redhat.com> 15708 15709 * java/awt/EventQueue.java (getNextEvent): Don't check if this is 15710 the dispatch thread. 15711 157122005-08-23 Sven de Marothy <sven@physto.se> 15713 15714 * gnu/java/awt/peer/qt/QtAudioClip.java 15715 * gnu/java/awt/peer/qt/QtComponentGraphics.java 15716 * gnu/java/awt/peer/qt/QtComponentPeer.java 15717 * gnu/java/awt/peer/qt/QtDialogPeer.java 15718 * gnu/java/awt/peer/qt/QtFontPeer.java 15719 * gnu/java/awt/peer/qt/QtFramePeer.java 15720 * gnu/java/awt/peer/qt/QtGraphics.java 15721 * gnu/java/awt/peer/qt/QtImage.java 15722 * gnu/java/awt/peer/qt/QtImageGraphics.java 15723 * gnu/java/awt/peer/qt/QtLabelPeer.java 15724 * gnu/java/awt/peer/qt/QtMenuBarPeer.java 15725 * gnu/java/awt/peer/qt/QtMenuComponentPeer.java 15726 * gnu/java/awt/peer/qt/QtMenuPeer.java 15727 * gnu/java/awt/peer/qt/QtPanelPeer.java 15728 * gnu/java/awt/peer/qt/QtRepaintThread.java 15729 * gnu/java/awt/peer/qt/QtToolkit.java 15730 * gnu/java/awt/peer/qt/QtVolatileImage.java 15731 * include/gnu_java_awt_peer_qt_QtComponentPeer.h 15732 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h 15733 * include/gnu_java_awt_peer_qt_QtGraphics.h 15734 * include/gnu_java_awt_peer_qt_QtMenuPeer.h 15735 * include/gnu_java_awt_peer_qt_QtVolatileImage.h 15736 * native/jni/qt-peer/componentevent.cpp 15737 * native/jni/qt-peer/componentevent.h 15738 * native/jni/qt-peer/eventmethods.h 15739 * native/jni/qt-peer/keybindings.cpp 15740 * native/jni/qt-peer/keybindings.h 15741 * native/jni/qt-peer/qtcomponentpeer.cpp 15742 * native/jni/qt-peer/qtframepeer.cpp 15743 * native/jni/qt-peer/qtgraphics.cpp 15744 * native/jni/qt-peer/qtimage.h 15745 * native/jni/qt-peer/qtlabelpeer.cpp 15746 * native/jni/qt-peer/qtmenucomponentpeer.cpp 15747 * native/jni/qt-peer/qtmenupeer.cpp 15748 * native/jni/qt-peer/qtscrollpanepeer.cpp 15749 * native/jni/qt-peer/qttextfieldpeer.cpp 15750 * native/jni/qt-peer/qtvolatileimage.cpp 15751 * native/jni/qt-peer/qtwindowpeer.cpp: 15752 Reindented, minor fixes. 15753 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java 15754 New file. 15755 157562005-08-22 Tom Tromey <tromey@redhat.com> 15757 15758 * java/net/JarURLConnection.java (getJarEntry): Return null if no 15759 entry specified. 15760 157612005-08-22 Tom Tromey <tromey@redhat.com> 15762 15763 * lib/split-for-gcj.sh: Create Makefile.deps atomically. 15764 * lib/gen-classlist.sh.in: Don't run split-for-gcj.sh. 15765 * lib/Makefile.gcj (Makefile.deps): New target. 15766 * lib/Makefile.am (compile-classes): Pass top_srcdir to 15767 Makefile.gcj. 15768 157692005-08-22 Lillian Angel <langel@redhat.com> 15770 15771 * javax/swing/plaf/basic/BasicLookAndFeel.java: 15772 Added in default border for Tree. 15773 * javax/swing/tree/DefaultTreeCellRenderer.java: 15774 Formatting entire class. 15775 (getPreferredSize): Implemented. 15776 157772005-08-22 David Gilbert <david.gilbert@object-refinery.com> 15778 15779 * javax/swing/event/SwingPropertyChangeSupport.java: reformatted. 15780 157812005-08-22 Mark Wielaard <mark@klomp.org> 15782 15783 * javax/swing/ImageIcon.java: Add documentation. 15784 157852005-08-22 Tom Tromey <tromey@redhat.com> 15786 15787 * javax/swing/text/LayoutQueue.java: New file. 15788 157892005-08-22 Tom Tromey <tromey@redhat.com> 15790 15791 PR libgcj/23499: 15792 * doc/api/Makefile.am (install-data-local): Now conditional on 15793 CREATE_API_DOCS. 15794 (uninstall-local): Likewise. 15795 157962005-08-22 Kelley Cook <kcook@gcc.gnu.org> 15797 15798 * Makefile.am (ACLOCAL_AMFLAGS): New. 15799 158002005-08-22 David Gilbert <david.gilbert@object-refinery.com> 15801 15802 * javax/swing/UIManager.java: fixed error message typo in static 15803 initialization code. 15804 158052005-08-22 David Gilbert <david.gilbert@object-refinery.com> 15806 15807 * javax/swing/text/AbstractDocument.java: fixed minor API doc problems, 15808 * javax/swing/text/Caret.java: likewise, 15809 * javax/swing/text/CompositeView.java: likewise, 15810 * javax/swing/text/DefaultCaret.java: likewise, 15811 * javax/swing/text/DefaultEditorKit.java: likewise, 15812 * javax/swing/text/DefaultStyledDocument.java: likewise, 15813 * javax/swing/text/ElementIterator.java: likewise, 15814 * javax/swing/text/GlyphView.java: likewise, 15815 * javax/swing/text/IconView.java: likewise, 15816 * javax/swing/text/View.java: likewise. 15817 158182005-08-22 David Gilbert <david.gilbert@object-refinery.com> 15819 15820 * javax/swing/SwingUtilities.java: fixed some minor API doc problems. 15821 158222005-08-22 David Gilbert <david.gilbert@object-refinery.com> 15823 15824 * NEWS: added item regarding javax.swing.plaf.multi.* package 15825 implementation. 15826 158272005-08-22 Mark Wielaard <mark@klomp.org> 15828 15829 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_clipboard, 15830 cp_gtk_stringTarget, cp_gtk_imageTarget, cp_gtk_filesTarget): New 15831 extern variables. 15832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c: New file. 15833 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add 15834 gnu_java_awt_peer_gtk_GtkSelection.c. 15835 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: Renames 15836 clipboard to cp_gtk_clipboard, stringTarget to cp_gtk_stringTarget, 15837 imageTarget to cp_gtk_imageTarget, filesTarget to cp_gtk_filesTarget, 15838 cp_gtk_clipboard_owner_change_cb to clipboard_owner_change_cb, 15839 cp_gtk_clipboard_get_func to clipboard_get_func, 15840 cp_gtk_clipboard_clear_func to clipboard_clear_func, moved 15841 GtkSelection native methods to new file. 15842 158432005-08-21 Thomas Fitzsimmons <fitzsim@redhat.com> 15844 15845 * gnu/java/awt/peer/gtk/GtkSelection.java: Update for new FSF 15846 address. 15847 158482005-08-21 Thomas Fitzsimmons <fitzsim@redhat.com> 15849 15850 * javax/swing/plaf/basic/BasicSplitPaneUI.java 15851 (KEYBOARD_DIVIDER_MOVE_OFFSET): Initialize with 3. 15852 158532005-08-21 Thomas Fitzsimmons <fitzsim@redhat.com> 15854 15855 * javax/swing/ImageIcon.java (getIconHeight): Return -1 if image 15856 is null. 15857 (getIconWidth): Likewise. 15858 158592005-08-21 Thomas Fitzsimmons <fitzsim@redhat.com> 15860 15861 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 15862 (window_get_frame_extents): If window is not decorated, guess 0, 15863 0, 0, 0 inset values. 15864 158652005-08-21 Tom Tromey <tromey@redhat.com> 15866 15867 * javax/swing/text/AbstractWriter.java (NEWLINE): Now 'final'. 15868 158692005-08-21 Thomas Fitzsimmons <fitzsim@redhat.com> 15870 15871 * java/awt/Label.java (setText): Refine text inequality test. 15872 158732005-08-21 Thomas Fitzsimmons <fitzsim@redhat.com> 15874 15875 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip(Shape)): Clear 15876 clip when clip == null. 15877 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setClip(Shape)): 15878 Likewise. 15879 158802005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15881 15882 * java/awt/Label.java (setText): Invalidate label. 15883 158842005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15885 15886 * java/awt/image/AreaAveragingScaleFilter.java: Add checks for 15887 consumer != null. 15888 * java/awt/image/CropImageFilter.java: Likewise. 15889 * java/awt/image/ImageFilter.java: Likewise. 15890 * java/awt/image/RGBImageFilter.java: Likewise. 15891 * java/awt/image/ReplicateScaleFilter.java: Likewise. 15892 158932005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15894 15895 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (findFormatName): 15896 Just return null when ext == null. 15897 158982005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15899 15900 * java/awt/AWTKeyStroke.java (getAWTKeyStroke): Include old-style 15901 modifiers in returned AWTKeyStroke's modifier mask. 15902 159032005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15904 15905 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setStroke): Clear 15906 dashes if dashes is null. 15907 (setStrokeUnlocked): Likewise. 15908 159092005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15910 15911 * java/awt/Window.java (getMostRecentFocusOwner): New method. 15912 159132005-08-20 Sven de Marothy <sven@physto.se> 15914 15915 * gnu/java/awt/peer/qt/MainQtThread.java 15916 * gnu/java/awt/peer/qt/QtComponentGraphics.java 15917 * gnu/java/awt/peer/qt/QtComponentPeer.java 15918 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java 15919 * gnu/java/awt/peer/qt/QtFramePeer.java 15920 * gnu/java/awt/peer/qt/QtImage.java 15921 * gnu/java/awt/peer/qt/QtListPeer.java 15922 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java 15923 * gnu/java/awt/peer/qt/QtToolkit.java 15924 * native/jni/qt-peer/componentevent.cpp 15925 * native/jni/qt-peer/componentevent.h 15926 * native/jni/qt-peer/eventmethods.h 15927 * native/jni/qt-peer/mainqtthread.cpp 15928 * native/jni/qt-peer/mainthreadinterface.cpp 15929 * native/jni/qt-peer/mainthreadinterface.h 15930 * native/jni/qt-peer/qtcomponentpeer.cpp 15931 * native/jni/qt-peer/qtframepeer.cpp 15932 * native/jni/qt-peer/qtgraphics.cpp 15933 Refactored. 15934 * include/gnu_java_awt_peer_qt_MainQtThread.h 15935 * include/gnu_java_awt_peer_qt_QMatrix.h 15936 * include/gnu_java_awt_peer_qt_QPainterPath.h 15937 * include/gnu_java_awt_peer_qt_QPen.h 15938 * include/gnu_java_awt_peer_qt_QtAudioClip.h 15939 * include/gnu_java_awt_peer_qt_QtButtonPeer.h 15940 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h 15941 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h 15942 * include/gnu_java_awt_peer_qt_QtChoicePeer.h 15943 * include/gnu_java_awt_peer_qt_QtComponentPeer.h 15944 * include/gnu_java_awt_peer_qt_QtContainerPeer.h 15945 * include/gnu_java_awt_peer_qt_QtDialogPeer.h 15946 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h 15947 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h 15948 * include/gnu_java_awt_peer_qt_QtFontMetrics.h 15949 * include/gnu_java_awt_peer_qt_QtFontPeer.h 15950 * include/gnu_java_awt_peer_qt_QtFramePeer.h 15951 * include/gnu_java_awt_peer_qt_QtGraphics.h 15952 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h 15953 * include/gnu_java_awt_peer_qt_QtImage.h 15954 * include/gnu_java_awt_peer_qt_QtLabelPeer.h 15955 * include/gnu_java_awt_peer_qt_QtListPeer.h 15956 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h 15957 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h 15958 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h 15959 * include/gnu_java_awt_peer_qt_QtMenuPeer.h 15960 * include/gnu_java_awt_peer_qt_QtPanelPeer.h 15961 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h 15962 * include/gnu_java_awt_peer_qt_QtScreenDevice.h 15963 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h 15964 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h 15965 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h 15966 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h 15967 * include/gnu_java_awt_peer_qt_QtToolkit.h 15968 * include/gnu_java_awt_peer_qt_QtVolatileImage.h 15969 * include/gnu_java_awt_peer_qt_QtWindowPeer.h 15970 Regenerated. 15971 * gnu/java/awt/peer/qt/QtRepaintThread.java: 15972 New file. 15973 159742005-08-20 Thomas Fitzsimmons <fitzsim@redhat.com> 15975 15976 * native/jni/gtk-peer/gtk_jawt.c 15977 (classpath_jawt_get_default_display): Remove locking. 15978 (classpath_jawt_get_visualID): Likewise. 15979 (classpath_jawt_get_drawable): Likewise. 15980 (classpath_jawt_object_lock): Remove function. 15981 (classpath_jawt_object_unlock): Likewise. 15982 (classpath_jawt_create_lock): Likewise. 15983 (classpath_jawt_destroy_lock): Likewise. 15984 * native/jni/classpath/classpath_jawt.h 15985 (classpath_jawt_object_lock): Remove function. 15986 (classpath_jawt_object_unlock): Likewise. 15987 (classpath_jawt_create_lock): Likewise. 15988 (classpath_jawt_destroy_lock): Likewise. 15989 * native/jawt/jawt.c [!__GNUC__] (__attribute__): Define to 15990 nothing. 15991 (_Jv_Lock): Call classpath_jawt_lock. 15992 (_Jv_Unlock): Call classpath_jawt_unlock. 15993 (_Jv_GetDrawingSurfaceInfo): Move surface_info_x11 initialization 15994 from ... 15995 (_Jv_GetDrawingSurface): Remove surface_info_x11 initialization. 15996 (_Jv_FreeDrawingSurface): Don't destroy target object. 15997 * native/jawt/Makefile.am: Add SONAME FIXME. 15998 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Re-order 15999 display field. Add colour map, depth and GetAWTColor function 16000 pointer fields. 16001 * include/jawt.h (struct _JAWT_Rectangle): New structure. 16002 (struct _JAWT_DrawingSurfaceInfo): Add drawing surface, bounds, 16003 clip size and clipping rectangle fields. 16004 (struct _JAWT_DrawingSurface): Add env field. Rename lock field 16005 target. Re-order function pointer and lock fields. Remove 16006 surface_info field. 16007 (struct _JAWT): Add GetComponent function pointer field. 16008 160092005-08-20 Keith Seitz <keiths@redhat.com> 16010 16011 * gnu/classpath/jdwp/id/ClassLoaderId.java (getClassLoader): New method. 16012 * gnu/classpath/jdwp/id/ClassObjectId.java (getClassObject): New method. 16013 * gnu/classpath/jdwp/id/JdwpId.java 16014 (getReference): New method. 16015 (setReference): New method. 16016 * gnu/classpath/jdwp/id/ObjectId.java (getObject): New method. 16017 * gnu/classpath/jdwp/id/ReferenceTypeId.java (getType): New method. 16018 * gnu/classpath/jdwp/id/StriNgId.java (getString): New method. 16019 * gnu/classpath/jdwp/id/ThreadGroupId.java (getThreadGroup): New method. 16020 * gnu/classpath/jdwp/id/ThreadId.java (getThread): New method. 16021 16022 * gnu/classpath/jdwp/id/ObjectId.java (setId): New method. 16023 (disableCollection): New method. 16024 (enableCollection): New method. 16025 16026 * gnu/classpath/jdwp/id/JdwpId.java (equals): Remove test for class equality. 16027 (setId): Make public. 16028 160292005-08-20 Keith Seitz <keiths@redhat.com> 16030 16031 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java 16032 (InvalidThreadGroupException): Fix misleading string error message. 16033 (InvalidThreadGroupException): Fix typo -- should be 16034 JdwpConstants.Error.INVALID_THREAD_GROUP. 16035 16036 * gnu/classpath/jdwp/exception/InvalidClassLoaderException.java: New 16037 exception. 16038 * gnu/classpath/jdwp/exception/InvalidFieldException.java: New 16039 exception. 16040 * gnu/classpath/jdwp/exception/InvalidLocationException.java: New 16041 exception. 16042 * gnu/classpath/jdwp/exception/InvalidMethodException.java: New 16043 exception. 16044 160452005-08-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> 16046 16047 * NEWS: Added note about DynamicAny package. 16048 160492005-08-19 Mark Wielaard <mark@klomp.org> 16050 16051 * native/jni/qt-peer/Makefile.am (libqtpeer_la_SOURCES): 16052 Added eventmethods.h. 16053 160542005-08-19 Tom Tromey <tromey@redhat.com> 16055 16056 * javax/swing/tree/DefaultTreeCellEditor.java: Removed erroneous 16057 import. 16058 160592005-08-19 Tom Tromey <tromey@redhat.com> 16060 16061 * javax/swing/text/AbstractWriter.java: New file. 16062 * javax/swing/text/ElementIterator.java: New file. 16063 160642005-08-19 Lillian Angel <langel@redhat.com> 16065 16066 * javax/swing/plaf/basic/BasicTreeUI.java 16067 (getCellBounds): No need to call getFont twice. This 16068 is fixed. 16069 * javax/swing/tree/DefaultTreeCellEditor.java: 16070 Added API documentation for all fields. 16071 (getPreferredSize): Implemented. 16072 (paint): Implemented. 16073 (doLayout): Implemented. 16074 (getFont): Implemented. 16075 (getPreferredSize): Implemented. 16076 (DefaultTreeCellEditor): Partially implemented. 16077 (DefaultTreeCellEditor): Partially implemented. 16078 (setBorderSelectionColor): Implemented. 16079 (getBorderSelectionColor): Implemented. 16080 (setFont): Implemented. 16081 (getFont): Implemented. 16082 (getTreeCellEditorComponent): Added API documentation. 16083 (getCellEditorValue): Added API documentation. 16084 (isCellEditable): Added API documentation. 16085 (shouldSelectCell): Added API documentation. 16086 (stopCellEditing): Added API documentation. 16087 (cancelCellEditing): Added API documentation. 16088 (valueChanged): Added API documentation. 16089 (actionPerformed): Added API documentation. 16090 (setTree): Implemented. 16091 (shouldStartEditingTimer): Added API documentation. 16092 (startEditingTimer): Added API documentation. 16093 (canEditImmediately): Added API documentation. 16094 (inHitRegion): Added API documentation. 16095 (determineOffset): Added API documentation. 16096 (prepareForEditing): Added API documentation. 16097 (createContainer): Added API documentation. 16098 (createTreeCellEditor): Added API documentation. 16099 161002005-08-19 Thomas Fitzsimmons <fitzsim@redhat.com> 16101 16102 * lib/.cvsignore: Add META-INF, Makefile.deps and lists. 16103 161042005-08-19 Thomas Fitzsimmons <fitzsim@redhat.com> 16105 16106 * configure.ac: Generate native/jawt/Makefile. 16107 * include/jawt.h: Import from libgcj. 16108 * include/jawt_md.h: Likewise. 16109 * native/Makefile.am (JAWTDIR): New variable. 16110 * native/jawt: New directory. 16111 * native/jawt/.cvsignore: New file. 16112 * native/jawt/Makefile.am: Likewise. 16113 * native/jawt/jawt.c: Import from libgcj. 16114 161152005-08-19 Lillian Angel <langel@redhat.com> 16116 16117 * javax/swing/tree/DefaultTreeModel.java 16118 (setAsksAllowsChildren): Removed comment, unneeded. 16119 (setRoot): Formatting. 16120 (getIndexOfChild): Formatting. 16121 (reload): Added API documentation. 16122 (reload): Likewise. 16123 (valueForPathChanged): Implemented. 16124 (insertNodeInto): Implemented. 16125 (removeNodeFromParent): Implemented. 16126 (nodeChanged): Implemented. 16127 (nodesWereInserted): Implemented. 16128 (nodesWereRemoved): Implemented. 16129 (nodesChanged): Implemented. 16130 (nodeStructureChanged): Added API documentation. 16131 (getPathToRoot): Implemented. 16132 (getPathToRoot): Implemented. 16133 (fireTreeNodesChanged): Added API documentation. 16134 161352005-08-19 Roman Kennke <roman@kennke.org> 16136 16137 * java/awt/image/DirectColorModel.java 16138 (createCompatibleWritableRaster): Added API documentation. 16139 161402005-08-18 Thomas Fitzsimmons <fitzsim@redhat.com> 16141 16142 * java/awt/Font.java (Font(String,Map)): Make package private. 16143 * gnu/java/awt/ClasspathToolkit.java (getFont): Access 16144 package-private Font.Font(String,Map) constructor using 16145 reflection. 16146 161472005-08-18 Thomas Fitzsimmons <fitzsim@redhat.com> 16148 16149 * gnu/java/awt/peer/GLightweightPeer.java, 16150 gnu/java/awt/peer/gtk/GtkComponentPeer.java, 16151 gnu/java/awt/peer/gtk/GtkContainerPeer.java, 16152 gnu/java/awt/peer/gtk/GtkFramePeer.java, 16153 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, 16154 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, 16155 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, 16156 gnu/java/awt/peer/gtk/GtkToolkit.java, 16157 gnu/java/awt/peer/gtk/GtkWindowPeer.java, 16158 gnu/java/awt/peer/qt/QtComponentPeer.java, 16159 gnu/java/awt/peer/qt/QtContainerPeer.java, 16160 gnu/java/awt/peer/qt/QtFramePeer.java, 16161 gnu/java/awt/peer/qt/QtMenuComponentPeer.java, 16162 gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, 16163 gnu/java/awt/peer/qt/QtTextAreaPeer.java, 16164 gnu/java/awt/peer/qt/QtTextFieldPeer.java, 16165 gnu/java/awt/peer/qt/QtWindowPeer.java, 16166 java/awt/peer/ComponentPeer.java, 16167 java/awt/peer/ContainerPeer.java, java/awt/peer/FramePeer.java, 16168 java/awt/peer/MenuComponentPeer.java, 16169 java/awt/peer/TextComponentPeer.java, 16170 java/awt/peer/WindowPeer.java: Add new 1.5 methods. 16171 * java/awt/Window.java (Window()): Initialize 16172 graphicsConfiguration. 16173 * java/awt/GraphicsConfiguration.java 16174 (createCompatibleVolatileImage(int,int,int)): New method. 16175 * java/awt/Font.java (Font(String,Map)): Add FIXME. 16176 * gnu/java/awt/peer/gtk/GtkToolkit.java 16177 (getLocalGraphicsEnvironment): Call new constructor. 16178 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java (getToolkit): 16179 Remove method. 16180 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java 16181 (GdkGraphicsEnvironment(GtkToolkit)): Remove method. 16182 (GdkGraphicsEnvironment()): New constructor. 16183 (getToolkit): Remove method. 16184 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java 16185 (getToolkit): Remove method. 16186 (createCompatibleVolatileImage): New method. 16187 * gnu/java/awt/ClasspathToolkit.java (getFont): Add FIXME. 16188 161892005-08-18 Lillian Angel <langel@redhat.com> 16190 16191 * javax/swing/DefaultCellEditor.java 16192 (getTreeCellEditorComponent): Implemented. 16193 * javax/swing/plaf/basic/BasicTreeUI.java 16194 (isEditing): Implemented. 16195 (mouseClicked): Moved code to mousePressed 16196 (mousePressed): Code moved here from mouseClicked and 16197 added in code to stop editing. 16198 (selectPath): Default is changed to CONTIGUOUS_TREE_SELECTION 16199 * javax/swing/tree/DefaultTreeSelectionModel.java 16200 (DefaultTreeSelectionModel): Default is changed to CONTIGUOUS_TREE_SELECTION. 16201 162022005-08-18 Roman Kennke <roman@kennke.org> 16203 16204 * javax/swing/plaf/basic/BasicArrowButton.java: 16205 Set default size to 12. 16206 * javax/swing/plaf/basic/BasicScrollBarUI.java 16207 (calculatePreferredSize): Don't restrict width and height to 16208 a minimum of 20. 16209 162102005-08-18 Keith Seitz <keiths@redhat.com> 16211 16212 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: New file 16213 with example implementation of ID-management for JDWP back-end. 16214 * gnu/classpath/jdwp/id/JdwpIdFactory.java: Removed. Now part of 16215 VMIdManager. 16216 162172005-08-18 Lillian Angel <langel@redhat.com> 16218 16219 * javax/swing/plaf/basic/BasicTreeUI.java 16220 (setHashColor): Implemented. 16221 (getRowForPath): Implemented. 16222 162232005-08-18 Lillian Angel <langel@redhat.com> 16224 16225 * javax/swing/tree/DefaultTreeCellRenderer.java 16226 (paint): Added check for null border. 16227 162282005-08-18 Roman Kennke <roman@kennke.org> 16229 16230 * java/awt/FlowLayout.java 16231 (setAlignment): Added comment explaining why we don't check 16232 for illegal values here. 16233 162342005-08-18 Roman Kennke <roman@kennke.org> 16235 16236 * java/awt/image/PixelGrabber.java 16237 (startGrabbing): Replaced ImageConsumer.ABORTED with 16238 ImageConsumer.IMAGEABORTED. 16239 162402005-08-18 Roman Kennke <roman@kennke.org> 16241 16242 * java/awt/image/PixelGrabber.java 16243 (constructors): Check if the ImageProducer is null and throw 16244 a NPE if that is the case. 16245 (startGrabbing): When an exception is thrown in the grabber thread, 16246 exit gracefully and notify the waiting threads. 16247 (imageComplete): Only call ip.removeConsumer() if ip is not null. 16248 162492005-08-18 David Gilbert <david.gilbert@object-refinery.com> 16250 16251 * java/text/StringCharacterIterator.java 16252 (StringCharacterIterator(String)): documented NullPointerException. 16253 162542005-08-18 David Gilbert <david.gilbert@object-refinery.com> 16255 16256 * javax/swing/plaf/multi/MultiButtonUI.java: new file, 16257 * javax/swing/plaf/multi/MultiColorChooserUI.java: new file, 16258 * javax/swing/plaf/multi/MultiComboBoxUI.java: new file, 16259 * javax/swing/plaf/multi/MultiDesktopIconUI.java: new file, 16260 * javax/swing/plaf/multi/MultiDesktopPaneUI.java: new file, 16261 * javax/swing/plaf/multi/MultiFileChooserUI.java: new file, 16262 * javax/swing/plaf/multi/MultiInternalFrameUI.java: new file, 16263 * javax/swing/plaf/multi/MultiLabelUI.java: new file, 16264 * javax/swing/plaf/multi/MultiListUI.java: new file, 16265 * javax/swing/plaf/multi/MultiLookAndFeel.java: new file, 16266 * javax/swing/plaf/multi/MultiMenuBarUI.java: new file, 16267 * javax/swing/plaf/multi/MultiMenuItemUI.java: new file, 16268 * javax/swing/plaf/multi/MultiOptionPaneUI.java: new file, 16269 * javax/swing/plaf/multi/MultiPanelUI.java: new file, 16270 * javax/swing/plaf/multi/MultiPopupMenuUI.java: new file, 16271 * javax/swing/plaf/multi/MultiProgressBarUI.java: new file, 16272 * javax/swing/plaf/multi/MultiRootPaneUI.java: new file, 16273 * javax/swing/plaf/multi/MultiScrollBarUI.java: new file, 16274 * javax/swing/plaf/multi/MultiScrollPaneUI.java: new file, 16275 * javax/swing/plaf/multi/MultiSeparatorUI.java: new file, 16276 * javax/swing/plaf/multi/MultiSliderUI.java: new file, 16277 * javax/swing/plaf/multi/MultiSpinnerUI.java: new file, 16278 * javax/swing/plaf/multi/MultiSplitPaneUI.java: new file, 16279 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: new file, 16280 * javax/swing/plaf/multi/MultiTableHeaderUI.java: new file, 16281 * javax/swing/plaf/multi/MultiTableUI.java: new file, 16282 * javax/swing/plaf/multi/MultiTextUI.java: new file, 16283 * javax/swing/plaf/multi/MultiToolBarUI.java: new file, 16284 * javax/swing/plaf/multi/MultiToolTipUI.java: new file, 16285 * javax/swing/plaf/multi/MultiTreeUI.java: new file, 16286 * javax/swing/plaf/multi/MultiViewportUI.java: new file, 16287 * javax/swing/plaf/multi/package.html: new file. 16288 162892005-08-18 David Gilbert <david.gilbert@object-refinery.com> 16290 16291 * java/util/Vector.java 16292 (copyInto) fixed incorrect API description. 16293 162942005-08-17 Thomas Fitzsimmons <fitzsim@redhat.com> 16295 16296 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c, 16297 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c, 16298 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, 16299 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c, 16300 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Remove 16301 JamVM deadlock workarounds. 16302 163032005-08-17 Thomas Fitzsimmons <fitzsim@redhat.com> 16304 16305 * gnu/java/awt/peer/gtk/GtkFramePeer.java, 16306 gnu_java_awt_peer_gtk_GtkFramePeer.c (postConfigureEvent): Prevent 16307 callback calling back into peers. 16308 (setBounds): Likewise. 16309 (setMenuBarWidthUnlocked): New method. 16310 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_filedialog_init_jni): 16311 Declare function. 16312 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 16313 (gtkInit): Call cp_gtk_filedialog_init_jni. 16314 (loadSystemColors): Work around deadlock. 16315 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c 16316 (textcomponent_changed_cb): Don't release GDK lock. 16317 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c 16318 (item_activate_cb): Don't release GDK lock. 16319 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c 16320 (item_highlighted_cb): Don't release GDK lock. 16321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 16322 (component_button_press_cb): Don't release GDK lock. 16323 (component_button_release_cb): Likewise. 16324 (component_motion_notify_cb): Likewise. 16325 (component_enter_notify_cb): Likewise. 16326 (component_leave_notify_cb): Likewise. 16327 (component_expose_cb): Likewise. 16328 (component_focus_in_cb): Likewise. 16329 (component_focus_out_cb): Likewise. 16330 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c 16331 (block_expose_event_cb): Remove callback. 16332 * gnu/java/awt/peer/gtk/GtkWindowPeer.java, 16333 gnu_java_awt_peer_gtk_GtkWindowPeer.c (postConfigureEvent): 16334 Prevent callback calling back into peers. 16335 (setBounds): Likewise. 16336 (nativeSetBoundsUnlocked): New method. 16337 (setBoundsUnlocked): Likewise. 16338 (nativeSetVisibleUnlocked): Likewise. 16339 (setVisibleUnlocked): Likewise. 16340 (window_delete_cb): Don't release GDK lock. 16341 (window_destroy_cb): Likewise. 16342 (window_show_cb): Likewise. 16343 (window_active_state_change_cb): Likewise. 16344 (window_focus_state_change_cb): Likewise. 16345 (window_focus_in_cb): Likewise. 16346 (window_focus_out_cb): Likewise. 16347 (window_window_state_cb): Likewise. 16348 (window_property_changed_cb): Likewise. 16349 (realize_cb): Likewise. 16350 * gnu/java/awt/peer/gtk/GtkToolkit.java (mainThread): New 16351 variable. 16352 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, 16353 gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (setVisible): Prevent 16354 callback calling back into peers. 16355 (filename_filter_cb): Don't release GDK lock. 16356 (handle_response_cb): Likewise. 16357 (cp_gtk_filedialog_init_jni): New function. 16358 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (setState): Prevent 16359 callback from calling back into peers. 16360 (item_toggled_cb): Don't release GDK lock. 16361 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, 16362 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_prepared_cb): Don't 16363 release GDK lock. 16364 (area_updated_cb): Likewise. 16365 * gnu/java/awt/peer/gtk/GdkGraphics2D.java, 16366 gnu_java_awt_peer_gtk_GdkGraphics2D.c (initStateUnlocked): New 16367 method. 16368 (cairoSurfaceSetFilterUnlocked): Likewise. 16369 (initComponentGraphics2DUnlocked): Likewise. 16370 (setTexturePixelsUnlocked): Likewise. 16371 (setGradientUnlocked): Likewise. 16372 (cairoSetMatrixUnlocked): Likewise. 16373 (cairoSetRGBAColorUnlocked): Likewise. 16374 (cairoSetLineWidthUnlocked): Likewise. 16375 (cairoSetLineCapUnlocked): Likewise. 16376 (cairoSetLineJoinUnlocked): Likewise. 16377 (cairoSetDashUnlocked): Likewise. 16378 (cairoSetMiterLimitUnlocked): Likewise. 16379 (setPaintUnlocked): Likewise. 16380 (setTransformUnlocked): Likewise. 16381 (setStrokeUnlocked): Likewise. 16382 (setColorUnlocked): Likewise. 16383 (setBackgroundUnlocked): Likewise. 16384 (setRenderingHintsUnlocked): Likewise. 16385 (setFontUnlocked): Likewise. 16386 (realize_cb): Don't release GDK lock. Call 16387 initComponentGraphics2DUnlocked. 16388 * gnu/java/awt/peer/gtk/GdkGraphics.java, 16389 gnu_java_awt_peer_gtk_GdkGraphics.c (initStateUnlocked): New 16390 method. 16391 (initComponentGraphicsUnlocked): New method. 16392 (realize_cb): Don't release GDK lock. Call 16393 initComponentGraphicsUnlocked. 16394 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Regenerate. 16395 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Likewise. 16396 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Likewise. 16397 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Likewise. 16398 163992005-08-17 Tom Tromey <tromey@redhat.com> 16400 16401 * .project: Correctly omit jdwp from vm/reference. 16402 164032005-08-17 Lillian Angel <langel@redhat.com> 16404 16405 * javax/swing/plaf/basic/BasicTextUI.java 16406 (viewToModel): Changed to match API spec. 16407 * javax/swing/text/CompositeView.java 16408 (viewToModel): Changed to match API spec. 16409 * javax/swing/text/FieldView.java 16410 (viewToModel): Changed to match API spec. 16411 * javax/swing/text/GlyphView.java 16412 (viewToModel): Changed to match API spec. 16413 * javax/swing/text/IconView.java 16414 (viewToModel): Changed to match API spec. 16415 * javax/swing/text/PasswordView.java 16416 (viewToModel): Changed to match API spec. 16417 * javax/swing/text/PlainView.java 16418 (viewToModel): Changed to match API spec. 16419 * javax/swing/text/View.java 16420 (viewToModel): Changed to match API spec. 16421 164222005-08-17 Anthony Balkissoon <abalkiss@redhat.com> 16423 16424 * javax/swing/JList.java: 16425 (indexToLocation): Implemented. 16426 (getLastVisibleIndex): If the last index in the list is showing and 16427 there is extra room at the bottom, return the last index, not -1. 16428 164292005-08-17 Lillian Angel <langel@redhat.com> 16430 16431 * javax/swing/plaf/basic/BasicTreeUI.java 16432 (getCellLocation): Added in check if node is a leaf. 16433 Shouldnt call getChildCount if a leaf. May cause NPE. 16434 (paintRecursive): Likewise. 16435 (paintControlIcons): Likewise. 16436 (findNode): Likewise. 16437 (getNextNode): Likewise. 16438 (getPreviousNode): Likewise. 16439 (getNextSibling): Likewise. 16440 (getPreviousSibling): Likewise. 16441 164422005-08-17 Lillian Angel <langel@redhat.com> 16443 16444 * javax/swing/tree/DefaultTreeCellRenderer.java 16445 (paint): paints the background and border of cell. 16446 164472005-08-17 Roman Kennke <roman@kennke.org> 16448 16449 Reported by Ingo Proetel <proetel@aicas.com> 16450 * java/awt/image/DirectColorModel.java 16451 (createCompatibleWritableRaster): Added argument check. 16452 164532005-08-17 Roman Kennke <roman@kennke.org> 16454 16455 * java/awt/FontMetrics.java 16456 (charWidth(int)): Correctly map Unicode indices to char[] here. 16457 164582005-08-17 Roman Kennke <roman@kennke.org> 16459 16460 * java/lang/Character.java 16461 (toChars(int)): New JDK1.5 method. 16462 (toChars(int, char[], int)): New JDK1.5 method. 16463 (charCount): New JDK1.5 method. 16464 (isSupplementaryCodePoint): New JDK1.5 method. 16465 (isValidCodePoint): New JDK1.5 method. 16466 164672005-08-17 Lillian Angel <langel@redhat.com> 16468 16469 * java/awt/FontMetrics.java 16470 (charWidth): Reversed Roman's patch, was not compiling. 16471 * javax/swing/tree/DefaultTreeCellRenderer.java 16472 (getTreeCellRendererComponent): Set Opaque to true for 16473 painting reasons. 16474 164752005-08-17 Mark Wielaard <mark@klomp.org> 16476 16477 * gnu/java/awt/peer/qt/QtFramePeer.java (setIcon): Mark non-native 16478 and add FIXME. 16479 (setMaximizedBounds): Likewise. 16480 * include/gnu_java_awt_peer_qt_QtFramePeer.h: Regenerated. 16481 * native/jni/qt-peer/.cvsignore: New file. 16482 * native/jni/qt-peer/Makefile.am (libqtpeer_la_SOURCES): 16483 Remove eventmethods.h. 16484 164852005-08-17 Mark Wielaard <mark@klomp.org> 16486 16487 * scripts/check_jni_methods.sh: Find JNI method declarations in 16488 .cpp files. Check both GNU style functions (start of line) and 16489 one-line like declarations. Use diff -U 0, not -0. 16490 164912005-08-17 Roman Kennke <roman@kennke.org> 16492 16493 * javax/swing/plaf/basic/BasicLabelUI.java 16494 (paint): Don't paint the border here. If there is a border to 16495 be painted, this is usually performed in JComponent.paint(). 16496 164972005-08-17 Roman Kennke <roman@kennke.org> 16498 16499 * java/awt/FontMetrics.java 16500 (charWidth(int)): Correctly map Unicode indices to char[] here. 16501 165022005-08-17 Roman Kennke <roman@kennke.org> 16503 16504 * java/awt/Component.java 16505 This applies to various variants of the repaint() methods: 16506 (repaint): If the component is not showing, forward repaint 16507 request to the parent. 16508 165092005-08-17 Roman Kennke <roman@kennke.org> 16510 16511 * javax/swing/plaf/basic/BasicLabelUI.java 16512 (paint): Don't fill the background here. If the label is opaque 16513 then the background is filled in ComponentUI.update(), otherwise 16514 it must not be touched. 16515 165162005-08-17 Thomas Fitzsimmons <fitzsim@redhat.com> 16517 16518 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java 16519 (setComponentBounds): Don't post COMPONENT_RESIZED event. 16520 16521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 16522 (setBoundsCallbackID): Remove variable. 16523 (cp_gtk_window_init_jni): Don't initialize setBoundsCallbackID. 16524 (setBoundsCallback): Remove method. 16525 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c 16526 (setMenuBarPeer): Check if menubar is NULL. 16527 (setMenuBarWidth): Likewise. 16528 * java/awt/Window.java (dispatchEventImpl): Validate upon 16529 receiving a COMPONENT_RESIZED event. 16530 (setBoundsCallback): Remove method. 16531 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerate. 16532 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setBoundsCallback): 16533 Remove method declaration. 16534 (postConfigureEvent): Separate handling of resizes and moves. 16535 Call setSize and post COMPONENT_RESIZED event. 16536 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent): 16537 Separate handling of resizes and moves. Call setSize. 16538 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java 16539 (setComponentBounds): Call setSize and post COMPONENT_RESIZED 16540 event. 16541 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating): 16542 Remove field. 16543 165442005-08-15 Dalibor Topic <robilad@kaffe.org> 16545 16546 * configure.ac: Added option to enable building qt peers. 16547 16548 * include/Makefile.am: Added qt peer headers. 16549 16550 * include/gnu_java_awt_peer_qt_MainQtThread.h, 16551 include/gnu_java_awt_peer_qt_QMatrix.h, 16552 include/gnu_java_awt_peer_qt_QPainterPath.h, 16553 include/gnu_java_awt_peer_qt_QPen.h, 16554 include/gnu_java_awt_peer_qt_QtAudioClip.h, 16555 include/gnu_java_awt_peer_qt_QtButtonPeer.h, 16556 include/gnu_java_awt_peer_qt_QtCanvasPeer.h, 16557 include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, 16558 include/gnu_java_awt_peer_qt_QtChoicePeer.h, 16559 include/gnu_java_awt_peer_qt_QtComponentPeer.h, 16560 include/gnu_java_awt_peer_qt_QtContainerPeer.h, 16561 include/gnu_java_awt_peer_qt_QtDialogPeer.h, 16562 include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h, 16563 include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, 16564 include/gnu_java_awt_peer_qt_QtFontMetrics.h, 16565 include/gnu_java_awt_peer_qt_QtFontPeer.h, 16566 include/gnu_java_awt_peer_qt_QtFramePeer.h, 16567 include/gnu_java_awt_peer_qt_QtGraphics.h, 16568 include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, 16569 include/gnu_java_awt_peer_qt_QtImage.h, 16570 include/gnu_java_awt_peer_qt_QtLabelPeer.h, 16571 include/gnu_java_awt_peer_qt_QtListPeer.h, 16572 include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, 16573 include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, 16574 include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, 16575 include/gnu_java_awt_peer_qt_QtMenuPeer.h, 16576 include/gnu_java_awt_peer_qt_QtPanelPeer.h, 16577 include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, 16578 include/gnu_java_awt_peer_qt_QtScreenDevice.h, 16579 include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, 16580 include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, 16581 include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, 16582 include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, 16583 include/gnu_java_awt_peer_qt_QtToolkit.h, 16584 include/gnu_java_awt_peer_qt_QtVolatileImage.h, 16585 include/gnu_java_awt_peer_qt_QtWindowPeer.h, 16586 native/jni/qt-peer/Makefile.am: 16587 New files. 16588 16589 * native/jni/Makefile.am: Handle qt peers. 16590 16591 * native/jni/qt-peer/slotcallbacks.moc.h: Removed. Now generated 16592 on demand by moc. 16593 165942005-08-16 Sven de Marothy <sven@physto.se> 16595 16596 * gnu/java/awt/peer/qt/QtButtonPeer.java 16597 * gnu/java/awt/peer/qt/QtCheckboxPeer.java 16598 * gnu/java/awt/peer/qt/QtChoicePeer.java 16599 * gnu/java/awt/peer/qt/QtComponentGraphics.java 16600 * gnu/java/awt/peer/qt/QtComponentPeer.java 16601 * gnu/java/awt/peer/qt/QtContainerPeer.java 16602 * gnu/java/awt/peer/qt/QtDialogPeer.java 16603 * gnu/java/awt/peer/qt/QtFontPeer.java 16604 * gnu/java/awt/peer/qt/QtFramePeer.java 16605 * gnu/java/awt/peer/qt/QtGraphics.java 16606 * gnu/java/awt/peer/qt/QtImage.java 16607 * gnu/java/awt/peer/qt/QtImageGraphics.java 16608 * gnu/java/awt/peer/qt/QtListPeer.java 16609 * gnu/java/awt/peer/qt/QtMenuBarPeer.java 16610 * gnu/java/awt/peer/qt/QtMenuItemPeer.java 16611 * gnu/java/awt/peer/qt/QtMenuPeer.java 16612 * gnu/java/awt/peer/qt/QtScrollbarPeer.java 16613 * gnu/java/awt/peer/qt/QtTextAreaPeer.java 16614 * gnu/java/awt/peer/qt/QtTextFieldPeer.java 16615 * gnu/java/awt/peer/qt/QtToolkit.java 16616 * gnu/java/awt/peer/qt/QtWindowPeer.java 16617 * native/jni/qt-peer/keybindings.cpp 16618 * native/jni/qt-peer/keybindings.h 16619 * native/jni/qt-peer/qtbuttonpeer.cpp 16620 * native/jni/qt-peer/qtcanvaspeer.cpp 16621 * native/jni/qt-peer/qtcheckboxpeer.cpp 16622 * native/jni/qt-peer/qtchoicepeer.cpp 16623 * native/jni/qt-peer/qtcomponent.cpp 16624 * native/jni/qt-peer/qtcomponentpeer.cpp 16625 * native/jni/qt-peer/qtdialogpeer.cpp 16626 * native/jni/qt-peer/qtframepeer.cpp 16627 * native/jni/qt-peer/qtgraphics.cpp 16628 * native/jni/qt-peer/qtimage.cpp 16629 * native/jni/qt-peer/qtlabelpeer.cpp 16630 * native/jni/qt-peer/qtlistpeer.cpp 16631 * native/jni/qt-peer/qtmenupeer.cpp 16632 * native/jni/qt-peer/qtpanelpeer.cpp 16633 * native/jni/qt-peer/qtscrollbarpeer.cpp 16634 * native/jni/qt-peer/qtscrollpanepeer.cpp 16635 * native/jni/qt-peer/qttextareapeer.cpp 16636 * native/jni/qt-peer/qttextfieldpeer.cpp 16637 * native/jni/qt-peer/qtwindowpeer.cpp 16638 * native/jni/qt-peer/slotcallbacks.cpp 16639 * native/jni/qt-peer/slotcallbacks.h 16640 Reindented, Transmogrified and Wielaardituded. 16641 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java 16642 * native/jni/qt-peer/eventmethods.h 16643 * native/jni/qt-peer/qtembeddedwindowpeer.cpp 16644 * native/jni/qt-peer/slotcallbacks.moc.h 16645 New files 16646 * native/jni/qt-peer/eventmethods.cpp 16647 * native/jni/qt-peer/slotcallbacks.moc 16648 Removed. 16649 166502005-08-16 Tom Tromey <tromey@redhat.com> 16651 16652 * .project: Fixed typo. Added builder for native code. 16653 * .externalToolBuilders/CompileNative.launch: New file. 16654 166552005-08-16 Tom Tromey <tromey@redhat.com> 16656 16657 * .classpath: Ignore jdwp. 16658 * .project: Added builder to create LocaleData.java. 16659 * .externalToolBuilders/CreateLocaleData.launch: New file. 16660 * examples/gnu/classpath/examples/jawt/DemoJAWT.java: Added package. 16661 166622005-08-16 Lillian Angel <langel@redhat.com> 16663 16664 * javax/swing/text/PasswordView.java 16665 (drawUnselectedText): Fixed so the password is drawn correctly 16666 in the text box and no * characters are drawn before anything 16667 was typed. 16668 166692005-08-16 Mark Wielaard <mark@klomp.org> 16670 16671 * gnu/java/awt/peer/gtk/GtkClipboard.java: Reimplemented. 16672 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: New class. 16673 * gnu/java/awt/peer/gtk/GtkSelection.java: New class. 16674 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(Pointer)): New 16675 constructor. 16676 (createFromPixbuf): New private native method. 16677 * gnu/java/awt/peer/gtk/GtkToolkit.java (systemClipboard): Removed. 16678 (getSystemClipboard): Do security check and return 16679 GtkClipboard.getInstance(). 16680 * include/Makefile.am: Add gnu_java_awt_peer_gtk_GtkSelection.h. 16681 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerated. 16682 * include/gnu_java_awt_peer_gtk_GtkImage.h: Regenerated. 16683 * include/gnu_java_awt_peer_gtk_GtkSelection.h: New header file. 16684 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: 16685 Reimplemented. 16686 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c 16687 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): New 16688 166892005-08-16 Anthony Balkissoon <abalkiss@redhat.com> 16690 16691 * javax/swing/plaf/basic/BasicTableUI.java: 16692 (ActionListenerProxy): Replaced type TableAction with parent type 16693 ActionListener to avoid Semantic errors. 16694 166952005-08-16 Anthony Balkissoon <abalkiss@redhat.com> 16696 16697 * javax/swing/plaf/basic/BasicLookAndFeel.java: 16698 (initComponentDefaults): Fixed typo. 16699 * javax/swing/plaf/basic/BasicTableUI.java: 16700 (installKeyboardActions): Replaced calls to registerKeyboardAction with 16701 additions to an explicit InputMap-ActionMap pair and then set this 16702 pair as the parent pair to the JTable's. This matches the JDK where 16703 the UI Input-Action pairs are the parents of the component's. 16704 (ActionListenerProxy): New class. 16705 167062005-08-16 Mark Wielaard <mark@klomp.org> 16707 16708 * examples/gnu/classpath/examples/datatransfer/Demo.java: 16709 Document and implement ItemListener and FlavorListener. 16710 (flavors): New field. 16711 (details): New field. 16712 (Demo): Add more space, add the flavors panel and flavor listener. 16713 (createTextPanel): Smaller and wider. 16714 (createFlavorsPanel): New private method. 16715 (flavorsChanged): New public method. 16716 (itemStateChanged): Likewise. 16717 (ImageComponent.ImageComponent): Smaller default. 16718 (ObjectComponent.ObjectComponent): Make wider. 16719 (FlavorsComponent): New static class. 16720 (FlavorDetailsComponent): Likewise. 16721 167222005-08-16 Lillian Angel <langel@redhat.com> 16723 16724 * javax/swing/plaf/basic/BasicLookAndFeel.java: 16725 Changed font for PasswordField because textbox was 16726 being drawn at an awkward height. 16727 * javax/swing/text/PasswordView.java 16728 (getPreferredSpan): Implemented 16729 (modelToView): likewise. 16730 (viewToModel): partially implemented. 16731 167322005-08-16 Jeroen Frijters <jeroen@frijters.net> 16733 16734 * java/awt/Component.java 16735 (dispatchEventImpl): Always call peer.handleEvent(). 16736 167372005-08-16 Jeroen Frijters <jeroen@frijters.net> 16738 16739 * java/awt/Container.java 16740 (addImpl, remove): Only repaint if the container is showing. 16741 167422005-08-16 Mark Wielaard <mark@klomp.org> 16743 16744 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 16745 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty): Removed. 16746 167472005-08-15 Dalibor Topic <robilad@kaffe.org> 16748 16749 * native/jni/qt-peer/mainqtthread.cpp, 16750 native/jni/qt-peer/qmatrix.cpp, 16751 native/jni/qt-peer/qpainterpath.cpp, 16752 native/jni/qt-peer/qpen.cpp, 16753 native/jni/qt-peer/qtbuttonpeer.cpp, 16754 native/jni/qt-peer/qtcanvaspeer.cpp, 16755 native/jni/qt-peer/qtcheckboxpeer.cpp, 16756 native/jni/qt-peer/qtchoicepeer.cpp, 16757 native/jni/qt-peer/qtcomponentpeer.cpp, 16758 native/jni/qt-peer/qtdialogpeer.cpp, 16759 native/jni/qt-peer/qtfiledialogpeer.cpp, 16760 native/jni/qt-peer/qtfontmetrics.cpp, 16761 native/jni/qt-peer/qtfontpeer.cpp, 16762 native/jni/qt-peer/qtframepeer.cpp, 16763 native/jni/qt-peer/qtgraphics.cpp, 16764 native/jni/qt-peer/qtimage.cpp, 16765 native/jni/qt-peer/qtlabelpeer.cpp, 16766 native/jni/qt-peer/qtlistpeer.cpp, 16767 native/jni/qt-peer/qtmenubarpeer.cpp, 16768 native/jni/qt-peer/qtmenucomponentpeer.cpp, 16769 native/jni/qt-peer/qtmenuitempeer.cpp, 16770 native/jni/qt-peer/qtmenupeer.cpp, 16771 native/jni/qt-peer/qtpanelpeer.cpp, 16772 native/jni/qt-peer/qtpopupmenupeer.cpp, 16773 native/jni/qt-peer/qtscreendevice.cpp, 16774 native/jni/qt-peer/qtscrollbarpeer.cpp, 16775 native/jni/qt-peer/qtscrollpanepeer.cpp, 16776 native/jni/qt-peer/qttextareapeer.cpp, 16777 native/jni/qt-peer/qttextfieldpeer.cpp, 16778 native/jni/qt-peer/qtvolatileimage.cpp, 16779 native/jni/qt-peer/qtwindowpeer.cpp: 16780 Include <assert.h>. 16781 167822005-08-15 Lillian Angel <langel@redhat.com> 16783 16784 * javax/swing/JPasswordField.java 16785 (getText): Fixed the length of the string to retrieve. 16786 167872005-08-15 Sven de Marothy <sven@physto.se> 16788 16789 * java/awt/TextComponent.java 16790 (select): Fix typo. 16791 167922005-08-15 Anthony Balkissoon <abalkiss@redhat.com> 16793 16794 * javax/swing/JComponent.java: 16795 (processKeyEvent): Added functionality for processing key events in 16796 non-focused components using the WHEN_ANCESTOR_OF_FOCUSED_COMPONENT 16797 field. 16798 * javax/swing/plaf/basic/BasicTableUI.java: 16799 (installKeyboardActions): Changed key bindings to be registered as 16800 WHEN_ANCESTOR_OF_FOCUSED_COMPONENT rather than as WHEN_FOCUSED. 16801 (TableAction.actionPerformed): If the key action is anything besides 16802 "start editing" then we stop editing if we are doing so. Repaint the 16803 table at the end of this method. 16804 168052005-08-15 Lillian Angel <langel@redhat.com> 16806 16807 * javax/swing/JPasswordField.java 16808 (echoCharIsSet): Fixed this to work according to API. 16809 (getText): Implemented 16810 (getText): Implemented 16811 (getPassword): Implemented 16812 (paramString): Implemented 16813 168142005-08-15 Thomas Fitzsimmons <fitzsim@redhat.com> 16815 16816 * gnu/java/awt/ClasspathToolkit.java (nativeQueueEmpty): Remove 16817 method. 16818 (wakeNativeQueue): Likewise. 16819 (iterateNativeQueue): Likewise. 16820 * gnu/java/awt/peer/gtk/GtkToolkit.java (static): Start GTK main 16821 thread. 16822 (nativeQueueEmpty): Remove method. 16823 (wakeNativeQueue): Likewise. 16824 (iterateNativeQueue): Likewise. 16825 (gtkMain): New method. 16826 * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerate. 16827 * java/awt/EventQueue.java: Remove references to ClasspathToolkit. 16828 * java/awt/Frame.java (fireDummyEvent): Remove method. 16829 Remove calls to fireDummyEvent. 16830 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c 16831 (dispose): Don't wake up main thread. 16832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove 16833 single-thread code. 16834 168352005-08-15 Lillian Angel <langel@redhat.com> 16836 16837 * javax/swing/JTree.java 16838 (expandPath): called fireTreeWillExpand and fireTreeExpanded 16839 since it is not required that the calling class fires these 16840 events. 16841 (collapsePath): Likewise. 16842 * javax/swing/plaf/basic/BasicTreeUI.java 16843 (mouseClicked): Took out code that called fireTreeWillExpand/ 16844 fireTreeWillCollapse and fireTreeExpanded/fireTreeCollapsed. 16845 (keyPressed): Likewise. 16846 168472005-08-15 Roman Kennke <roman@kennke.org> 16848 16849 * java/awt/FlowLayout.java 16850 (setAlignment): Removed check for illegal values. These values 16851 are treated as LEFT alignment instead. 16852 (layoutContainer): Treat unknown align values as LEFT in default 16853 clause of if-else statement. 16854 168552005-08-15 Thomas Fitzsimmons <fitzsim@redhat.com> 16856 16857 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove 16858 method. 16859 (postActionEvent): New method. 16860 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: 16861 Rename state_to_awt_mods cp_gtk_state_to_awt_mods. 16862 * native/jni/gtk-peer/gtkpeer.h: Declare cp_gtk_state_to_awt_mods. 16863 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c 16864 (clicked_cb): New function. 16865 (connectSignals): Connect clicked_cb callback to "clicked" signal. 16866 168672005-08-14 Casey Marshall <csm@gnu.org> 16868 16869 * gnu/java/security/provider/DSAKeyPairGenerator.java 16870 (initialize): set 'keysize' to 'modlen.' 16871 (getDefaults): return 'true' for keysizes '768' and '1024.' 16872 168732005-08-14 Thomas Fitzsimmons <fitzsim@redhat.com> 16874 16875 * lib/Makefile.am (JAVAC): Disable ecj warning output. 16876 168772005-08-14 Sven de Marothy <sven@physto.se> 16878 16879 * gnu/java/awt/ClasspathToolkit.java 16880 (getScreenSize, getColorModel, getFontMetrics, getImage, createImage, 16881 createImageProducer, registerImageIOSpis): 16882 Remove redundant (overloaded) methods. 16883 * gnu/java/awt/peer/gtk/GtkToolkit.java 16884 (registerImageIOSpis): Move registration to static initializer. 16885 * javax/imageio/spi/IIORegistry.java: 16886 Remove call to Toolkit registration method. 16887 168882005-08-13 Mark Wielaard <mark@klomp.org> 16889 16890 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer): Make 16891 field final. 16892 168932005-08-14 Sven de Marothy <sven@physto.se> 16894 16895 * gnu/java/awt/ClasspathToolkit.java 16896 (getScreenSize, getColorModel, getFontMetrics, getImage, createImage, 16897 createImageProducer, registerImageIOSpis): 16898 Remove redundant (overloaded) methods. 16899 * gnu/java/awt/peer/gtk/GtkToolkit.java 16900 (registerImageIOSpis): Move registration to static initializer. 16901 * javax/imageio/spi/IIORegistry.java: 16902 Remove call to Toolkit registration method. 16903 169042005-08-13 Mark Wielaard <mark@klomp.org> 16905 16906 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer): Make 16907 field final. 16908 169092005-08-14 Sven de Marothy <sven@physto.se> 16910 16911 * java/awt/Container.java 16912 (addImpl): Call addNotify() only if the container has a peer. 16913 169142005-08-13 Tom Tromey <tromey@redhat.com> 16915 16916 * java/util/Collections.java (reverseOrder): New method. 16917 (frequency): Likewise. 16918 (ReverseComparator): No longer final. 16919 169202005-08-13 Tom Tromey <tromey@redhat.com> 16921 16922 * java/util/Timer.java (Timer(String)): New constructor. 16923 (Timer(String,boolean)): Likewise. 16924 (purge): New method. 16925 (TaskQueue.purge): Likewise. 16926 169272005-08-13 Tom Tromey <tromey@redhat.com> 16928 16929 * java/util/FormattableFlags.java: New file. 16930 169312005-08-13 Tom Tromey <tromey@redhat.com> 16932 16933 * java/util/UnknownFormatConversionException.java 16934 (serialVersionUID): New field. 16935 (s): Renamed from 'conv' for serialization. 16936 * java/util/MissingFormatWidthException.java (serialVersionUID): 16937 New field. 16938 (s): Renamed from 'width' for serialization. 16939 * java/util/MissingFormatArgumentException.java 16940 (serialVersionUID): New field. 16941 (s): Renamed from 'spec' for serialization. 16942 * java/util/IllegalFormatWidthException.java (serialVersionUID): 16943 New field. 16944 (w): Renamed from 'width' for serialization. 16945 * java/util/IllegalFormatPrecisionException.java 16946 (serialVersionUID): New field. 16947 (p): Renamed from 'precision' for serialization. 16948 * java/util/IllegalFormatFlagsException.java (serialVersionUID): 16949 New field. 16950 * java/util/IllegalFormatConversionException.java 16951 (serialVersionUID): New field. 16952 (c): Renamed from 'conv' for serialization. 16953 (arg): Renamed from 'argClass' for serialization. 16954 * java/util/IllegalFormatCodePointException.java 16955 (serialVersionUID): New field. 16956 (c): Renamed from 'codepoint' for serialization. 16957 * java/util/FormatFlagsConversionMismatchException.java 16958 (serialVersionUID): New field. 16959 (f): Renamed from 'flags' for serialization. 16960 (c): Renamed from 'conversion' for serialization. 16961 * java/util/DuplicateFormatFlagsException.java (serialVersionUID): 16962 New field. 16963 * java/util/IllegalFormatException.java (serialVersionUID): New 16964 field. 16965 * java/util/FormatterClosedException.java (serialVersionUID): New 16966 field. 16967 * java/util/InvalidPropertiesFormatException.java: New file. 16968 169692005-08-13 Jeroen Frijters <jeroen@frijters.net> 16970 16971 * java/io/ObjectInputStream.java 16972 (readClassDescriptor): Don't cache caller's class loader. 16973 (resolveClass): Don't cache caller's class loader and support 16974 primitive types. Fixes bug #23377. 16975 169762005-08-13 Mark Wielaard <mark@klomp.org> 16977 16978 * scripts/check_jni_methods.sh: Set and check for PROBLEM. 16979 169802005-08-13 Mark Wielaard <mark@klomp.org> 16981 16982 * scripts/check_jni_methods.sh: Don't create temp files in source dir. 16983 Don't override existing files. Fast fail on errors. 16984 169852005-08-12 Aaron Luchko <aluchko@redhat.com> 16986 16987 * vm/reference/gnu/classpath/jdwp/VMFrame.java(getValue): 16988 Fix typo in comment. 16989 169902005-08-12 Aaron Luchko <aluchko@redhat.com> 16991 16992 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java 16993 (executeAllThreads): Use enumerate(Thread[]) instead of 16994 enumerate(Thread[], true). 16995 (runCommand): Throw NotImplementedException when command is not found. 16996 169972005-08-12 Aaron Luchko <aluchko@redhat.com> 16998 16999 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java 17000 (executeInvokeMethod): Change MethodInvoker to MethodResult. 17001 170022005-08-12 Aaron Luchko <aluchko@redhat.com> 17003 17004 * gnu/classpath/jdwp/util/VariableTable.java: A class representing a 17005 Variable Table for a method. 17006 * gnu/classpath/jdwp/util/LineTable.java: A class representing a Line 17007 Table for a method. 17008 170092005-08-12 Thomas Fitzsimmons <fitzsim@redhat.com> 17010 17011 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (addMenu(Menu)): New 17012 method. 17013 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addSeparator): Likewise. 17014 * java/awt/peer/MenuBarPeer.java (addMenu): New method 17015 declaration. 17016 * java/awt/peer/MenuPeer.java (addSeparator): New method 17017 declaration. 17018 170192005-08-12 Thomas Fitzsimmons <fitzsim@redhat.com> 17020 17021 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds): Get 17022 frame insets directly from peer rather than from Window.getInsets. 17023 (toString): New method. 17024 170252005-08-12 Aaron Luchko <aluchko@redhat.com> 17026 17027 * gnu/classpath/jdwp/util/Location.java: New file to handle JDWP 17028 locations. 17029 170302005-08-12 Thomas Fitzsimmons <fitzsim@redhat.com> 17031 17032 * gnu/java/awt/peer/gtk/GtkButtonPeer.java, 17033 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c 17034 (gtkWidgetGetPreferredDimensions): New method. 17035 * gnu/java/awt/peer/gtk/GtkLabelPeer.java, 17036 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c 17037 (gtkWidgetGetPreferredDimensions): New method. 17038 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerate. 17039 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: Likewise. 17040 170412005-08-12 Aaron Luchko <aluchko@redhat.com> 17042 17043 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java 17044 (JdwpInternalErrorException): Added new constructor. 17045 * gnu/classpath/jdwp/util/Value.java 17046 (getUntaggedObj): 17047 Changed InvalidFieldException to JdwpInternalErrorException. 17048 (writeUntaggedValue): Likewise. 17049 (writeTaggedValue): Likewise. 17050 (writeValue): Likewise. 17051 170522005-08-12 Aaron Luchko <aluchko@redhat.com> 17053 17054 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java: 17055 Implemented the EventRequest CommandSet. 17056 170572005-08-12 Anthony Balkissoon <abalkiss@redhat.com> 17058 17059 * javax/swing/JTable.java: 17060 (setValueAt): Do nothing if isCellEditable returns false. 17061 (editCelLAt): Removed the Key Listener for the JTextField. Listening 17062 for ESCAPE should be handled by the JTable itself. Note, this is not 17063 implemented yet. 17064 * javax/swing/plaf/basic/BasicLookAndFeel.java: 17065 (initComponentDefaults): Added several keybindings to JTable's 17066 ancestorInputMap. These are all implemented. 17067 * javax/swing/plaf/basic/BasicTableUI.java: 17068 (KeyHandler): Removed this class. Note that most of the code from the 17069 keyPressed method now resides in the actionPerformed method of the 17070 BasicTableUI.TableAction class. 17071 (convertModifiers): New private method to convert from new InputEvent 17072 modifier masks to the old style. 17073 (installKeyboardActions): Implemented. Gets the key bindings from 17074 the UIManager and registers them for the JTable. 17075 (TableAction): New class. This is where the actions corresponding to 17076 key presses resides. 17077 (installListeners): Removed installation of KeyListener. 17078 170792005-08-12 Aaron Luchko <aluchko@redhat.com> 17080 17081 * vm/reference/standard.omit: New file to omit jdwp reference classes 17082 from build. 17083 170842005-08-12 Aaron Luchko <aluchko@redhat.com> 17085 17086 * vm/reference/gnu/classpath/jdwp/VMFrame.java: Implemented reference 17087 implementation of interface to VM for JDWP frame management. 17088 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java: Updated 17089 import. 17090 (executeGetValues): Use VMFrame instead of Frame. 17091 (executeSetValues): Use VMFrame instead of Frame. 17092 (executeThisObject): Use VMFrame instead of Frame. 17093 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: 17094 Updated import. 17095 (executeFrames): Changed getLoc() to getLocation() and use 17096 VMFrame instead of Frame. 17097 170982005-08-12 Lillian Angel <langel@redhat.com> 17099 17100 * javax/swing/plaf/basic/BasicTreeUI.java 17101 (getCellLocation): Added in a check to make sure the node has children. 17102 Fixed loop to use post-increment. 17103 (paintRecursive): Fixed loop to use post-increment. 17104 (paintControlIcons): Likewise. 17105 (getNextNode): Fixed check to make sure that node has children. 17106 (getPreviousSibling): Added in check to make sure index is in correct 17107 range. 17108 171092005-08-12 Mark Wielaard <mark@klomp.org> 17110 17111 * gnu/java/awt/peer/qt/QtButtonPeer.java: Replace uses of 17112 toolkit.eventQueue.postEvent() with QtToolkit.eventQueue.postEvent(). 17113 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Likewise. 17114 * gnu/java/awt/peer/qt/QtChoicePeer.java: Likewise. 17115 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise and for 17116 guiThread.QApplicationPointer and graphicsEnv.getScreenDevices(). 17117 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise. 17118 * gnu/java/awt/peer/qt/QtMenuPeer.java: Likewise. 17119 * gnu/java/awt/peer/qt/QtScrollbarPeer.java: Likewise. 17120 * gnu/java/security/PolicyFile.javai (refresh): Assign only outside 17121 if statement. 17122 171232005-08-12 Roman Kennke <roman@kennke.org> 17124 17125 * javax/swing/text/GapContent.java 17126 (insertString): Use replace() to actually insert content. 17127 (remove): Use replace() to actually remove content. 17128 (shiftGap): Repaired misplaced curly brace in if block of 17129 boudary check. 17130 (replace): Check for null argument for addItems. 17131 171322005-08-12 Roman Kennke <roman@kennke.org> 17133 17134 Reported by: Ingo Proetel <proetel@aicas.com> 17135 * java/net/URLClassLoader.java 17136 (findClass): Added null check to avoid NullPointerException. 17137 171382005-08-12 Roman Kennke <roman@kennke.org> 17139 17140 Reported by: Ingo Proetel <proetel@aicas.com> 17141 * java/util/logging/Logger.java 17142 This applies to a couple of log() methods: 17143 (log): Added check if the specified level is actually enabled, 17144 otherwise ignore logging request. 17145 171462005-08-12 Lillian Angel <langel@redhat.com> 17147 17148 * javax/swing/plaf/basic/BasicSplitPaneUI.java 17149 * (getMinimumDividerLocation): Fixed to work similar to 17150 getMaximumDividerLocation. Was not able to move divider 17151 in both directions before. 17152 171532005-08-12 Roman Kennke <roman@kennke.org> 17154 17155 * java/awt/Component.java 17156 (reshape): Simplified repainting of parent. 17157 (paint): Don't call peer.paint() here. The paint method is 17158 exclusivly meant to be overridden by subclasses that wish to 17159 perform custom painting and should do nothing by default. 17160 (repaint): Use local variable in null pointer checks to avoid 17161 NullPointerExceptions. 17162 (imageUpdate): Slight formatting adjustments. 17163 (dispatchEvent): Don't call peer.handleEvent() here, this must 17164 be done in dispatchEventImpl(). 17165 (dispatchEventImpl): Dispatch PAINT and UPDATE events to the 17166 peer. 17167 * java/awt/Container.java 17168 (paint): Don't call super.paint() here, this method does nothing 17169 anyway. Visit only lightweight children. 17170 (update): Instead of clearing the background only for top-level 17171 containers, clear the background for all heavyweight containers. 17172 171732005-08-12 Thomas Fitzsimmons <fitzsim@redhat.com> 17174 17175 * examples/gnu/classpath/examples/jawt/DemoJAWT.c: New file. 17176 * examples/gnu/classpath/examples/jawt/DemoJAWT.java: Likewise. 17177 * examples/gnu/classpath/examples/jawt/Makefile: Likewise. 17178 171792005-08-11 Mark Wielaard <mark@klomp.org> 17180 17181 * examples/gnu/classpath/examples/datatransfer/Demo.java: 17182 New example. 17183 171842005-08-11 Tom Tromey <tromey@redhat.com> 17185 17186 For PR classpath/23008: 17187 * gnu/java/nio/charset/UTF_16Decoder.java (decodeLoop): Correctly 17188 mask bytes when constructing characters. 17189 171902005-08-11 Mark Wielaard <mark@klomp.org> 17191 17192 * native/jni/classpath/Makefile.am (EXTRA_DIST): Add classpath_jawt.h. 17193 * include/gnu_java_awt_peer_qt_*: Removed. 17194 171952005-08-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17196 17197 * org/omg/PortableInterceptor/IORInfoOperations.java, 17198 org/omg/PortableInterceptor/IORInterceptor.java, 17199 org/omg/PortableInterceptor/IORInterceptorOperations.java, 17200 org/omg/PortableInterceptor/IORInfo.java: New files. 17201 172022005-08-11 Lillian Angel <langel@redhat.com> 17203 17204 * javax/swing/JTable 17205 (rowAtPoint): Added in a check for null. Was getting NPE. 17206 (columnAtPoint): Likewise. 17207 172082005-08-11 Lillian Angel <langel@redhat.com> 17209 17210 * javax/swing/plaf/basic/BasicViewportUI.java 17211 (paintSimple): Changed to paint the portBounds from (0,0). 17212 172132005-08-11 Tom Tromey <tromey@redhat.com> 17214 17215 * java/awt/image/ConvolveOp.java (filter): Defer numBands check 17216 until after null check. PR classpath/22999. 17217 172182005-08-11 Tom Tromey <tromey@redhat.com> 17219 17220 * java/util/Observable.java (addObserver): Throw 17221 NullPointerException if necessary. PR classpath/23279. 17222 172232005-08-11 Sven de Marothy <sven@physto.se> 17224 17225 * gnu/java/awt/peer/qt/QtMenuComponentPeer.java, 17226 gnu/java/awt/peer/qt/QtGraphics.java, 17227 gnu/java/awt/peer/qt/QtTextFieldPeer.java, 17228 gnu/java/awt/peer/qt/QtFramePeer.java, 17229 gnu/java/awt/peer/qt/QtPanelPeer.java, 17230 gnu/java/awt/peer/qt/QtToolkit.java, 17231 gnu/java/awt/peer/qt/QtWindowPeer.java, 17232 gnu/java/awt/peer/qt/QtButtonPeer.java, 17233 gnu/java/awt/peer/qt/QtImageGraphics.java, 17234 gnu/java/awt/peer/qt/QtContainerPeer.java, 17235 gnu/java/awt/peer/qt/QtComponentPeer.java, 17236 gnu/java/awt/peer/qt/QtListPeer.java, 17237 gnu/java/awt/peer/qt/QtChoicePeer.java, 17238 gnu/java/awt/peer/qt/QtScrollPanePeer.java, 17239 gnu/java/awt/peer/qt/MainQtThread.java, 17240 gnu/java/awt/peer/qt/QtImage.java, 17241 gnu/java/awt/peer/qt/NativeWrapper.java, 17242 gnu/java/awt/peer/qt/QtCheckboxPeer.java, 17243 gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java, 17244 gnu/java/awt/peer/qt/QtTextAreaPeer.java, 17245 gnu/java/awt/peer/qt/QtDialogPeer.java, 17246 gnu/java/awt/peer/qt/QPen.java, 17247 gnu/java/awt/peer/qt/QtCanvasPeer.java, 17248 gnu/java/awt/peer/qt/QtLabelPeer.java, 17249 gnu/java/awt/peer/qt/QtGraphicsEnvironment.java, 17250 gnu/java/awt/peer/qt/QtImageConsumer.java, 17251 gnu/java/awt/peer/qt/QtScrollbarPeer.java, 17252 gnu/java/awt/peer/qt/QtFontMetrics.java, 17253 gnu/java/awt/peer/qt/QtMenuBarPeer.java, 17254 gnu/java/awt/peer/qt/QtFontPeer.java, 17255 gnu/java/awt/peer/qt/QMatrix.java, 17256 gnu/java/awt/peer/qt/QtVolatileImage.java, 17257 gnu/java/awt/peer/qt/QPainterPath.java, 17258 gnu/java/awt/peer/qt/QtComponentGraphics.java, 17259 gnu/java/awt/peer/qt/QtScreenDevice.java, 17260 gnu/java/awt/peer/qt/QtMenuPeer.java, 17261 gnu/java/awt/peer/qt/QtAudioClip.java, 17262 gnu/java/awt/peer/qt/QtPopupMenuPeer.java, 17263 gnu/java/awt/peer/qt/QtFileDialogPeer.java, 17264 gnu/java/awt/peer/qt/QtMenuItemPeer.java, 17265 * native/jni/qt-peer/qpen.cpp, 17266 native/jni/qt-peer/keybindings.cpp, 17267 native/jni/qt-peer/qtcomponentpeer.cpp, 17268 native/jni/qt-peer/buttonevent.h, 17269 native/jni/qt-peer/qtdialogpeer.cpp, 17270 native/jni/qt-peer/qtmenubarpeer.cpp, 17271 native/jni/qt-peer/mainqtthread.cpp, 17272 native/jni/qt-peer/qtpanelpeer.cpp, 17273 native/jni/qt-peer/qmatrix.cpp, 17274 native/jni/qt-peer/qtmenucomponentpeer.cpp, 17275 native/jni/qt-peer/qtgraphics.cpp, 17276 native/jni/qt-peer/qttoolkit.cpp, 17277 native/jni/qt-peer/qtbuttonpeer.cpp, 17278 native/jni/qt-peer/keybindings.h, 17279 native/jni/qt-peer/qtvolatileimage.cpp, 17280 native/jni/qt-peer/qtcomponent.h, 17281 native/jni/qt-peer/slotcallbacks.cpp, 17282 native/jni/qt-peer/qtpopupmenupeer.cpp, 17283 native/jni/qt-peer/qtmenuitempeer.cpp, 17284 native/jni/qt-peer/qtchoicepeer.cpp, 17285 native/jni/qt-peer/nativewrapper.cpp, 17286 native/jni/qt-peer/qtscreendevice.cpp, 17287 native/jni/qt-peer/qtfontpeer.cpp, 17288 native/jni/qt-peer/qpainterpath.cpp, 17289 native/jni/qt-peer/qtstrings.h, 17290 native/jni/qt-peer/qttextfieldpeer.cpp, 17291 native/jni/qt-peer/qtimage.cpp, 17292 native/jni/qt-peer/componentevent.h, 17293 native/jni/qt-peer/qtwindowpeer.cpp, 17294 native/jni/qt-peer/qtframepeer.cpp, 17295 native/jni/qt-peer/qtscrollpanepeer.cpp, 17296 native/jni/qt-peer/qtfontmetrics.cpp, 17297 native/jni/qt-peer/qtlistpeer.cpp, 17298 native/jni/qt-peer/mainthreadinterface.h 17299 native/jni/qt-peer/slotcallbacks.h 17300 native/jni/qt-peer/qtfiledialogpeer.cpp, 17301 native/jni/qt-peer/eventmethods.cpp, 17302 native/jni/qt-peer/qtimage.h, 17303 native/jni/qt-peer/qtstrings.cpp, 17304 native/jni/qt-peer/nativewrapper.h 17305 native/jni/qt-peer/qtaudioclip.cpp, 17306 native/jni/qt-peer/qtfont.h, 17307 native/jni/qt-peer/qtscrollbarpeer.cpp, 17308 native/jni/qt-peer/containers.h, 17309 native/jni/qt-peer/qtcheckboxpeer.cpp, 17310 native/jni/qt-peer/mainthreadinterface.cpp, 17311 native/jni/qt-peer/componentevent.cpp, 17312 native/jni/qt-peer/qttextareapeer.cpp, 17313 native/jni/qt-peer/qtcomponent.cpp, 17314 native/jni/qt-peer/qtmenupeer.cpp, 17315 native/jni/qt-peer/qtlabelpeer.cpp, 17316 native/jni/qt-peer/qtcanvaspeer.cpp, 17317 native/jni/qt-peer/qtgraphics.h, 17318 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h, 17319 include/gnu_java_awt_peer_qt_QtToolkit.h, 17320 include/gnu_java_awt_peer_qt_QtAudioClip.h, 17321 include/gnu_java_awt_peer_qt_QtScreenDevice.h, 17322 include/gnu_java_awt_peer_qt_QtTextFieldPeer.h, 17323 include/gnu_java_awt_peer_qt_QtMenuItemPeer.h, 17324 include/gnu_java_awt_peer_qt_QtButtonPeer.h, 17325 include/gnu_java_awt_peer_qt_QtWindowPeer.h, 17326 include/gnu_java_awt_peer_qt_QtDialogPeer.h, 17327 include/gnu_java_awt_peer_qt_QtImage.h, 17328 include/gnu_java_awt_peer_qt_QtMenuBarPeer.h, 17329 include/gnu_java_awt_peer_qt_QtVolatileImage.h, 17330 include/gnu_java_awt_peer_qt_QtFontPeer.h, 17331 include/gnu_java_awt_peer_qt_QtChoicePeer.h, 17332 include/gnu_java_awt_peer_qt_QtGraphics.h, 17333 include/gnu_java_awt_peer_qt_QtComponentPeer.h, 17334 include/gnu_java_awt_peer_qt_QtMenuPeer.h, 17335 include/gnu_java_awt_peer_qt_QtTextAreaPeer.h, 17336 include/gnu_java_awt_peer_qt_QPen.h, 17337 include/gnu_java_awt_peer_qt_QtPanelPeer.h, 17338 include/gnu_java_awt_peer_qt_QPainterPath.h, 17339 include/gnu_java_awt_peer_qt_QtFontMetrics.h, 17340 include/gnu_java_awt_peer_qt_QtScrollPanePeer.h, 17341 include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h, 17342 include/gnu_java_awt_peer_qt_QMatrix.h, 17343 include/gnu_java_awt_peer_qt_QtLabelPeer.h, 17344 include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h, 17345 include/gnu_java_awt_peer_qt_QtFramePeer.h, 17346 include/gnu_java_awt_peer_qt_QtListPeer.h, 17347 include/gnu_java_awt_peer_qt_QtScrollbarPeer.h, 17348 include/gnu_java_awt_peer_qt_QtCanvasPeer.h, 17349 include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h, 17350 include/gnu_java_awt_peer_qt_MainQtThread.h, 17351 include/gnu_java_awt_peer_qt_QtFileDialogPeer.h, 17352 include/gnu_java_awt_peer_qt_QtContainerPeer.h: 17353 New files. 17354 173552005-08-11 Tom Tromey <tromey@redhat.com> 17356 17357 For PR classpath/23238: 17358 * lib/gen-classlist.sh.in: Use @SHELL@; invoke split-for-gcj.sh 17359 with it. 17360 * configure.ac (SH): Removed subst. 17361 173622005-08-11 Andrew Haley <aph@redhat.com> 17363 17364 * lib/split-for-gcj.sh: Comment. 17365 173662005-08-11 Lillian Angel <langel@redhat.com> 17367 17368 * javax/swing/plaf/basic/BasicViewportUI.java 17369 (paintSimple): This line was causing problems with the JTable viewport. 17370 However, the scrollpane still needs to be fixed. It is still not 17371 painting beyond the view's bounds. 17372 173732005-08-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 17374 17375 * lib/split-for-gcj.sh: Don't use unportable %{parameter%word}. 17376 Don't use unportable !. 17377 173782005-08-10 Tom Tromey <tromey@redhat.com> 17379 17380 * lib/gen-classlist.sh.in (GCJ): New subst. 17381 Invoke split-for-gcj.sh if the results changed. 17382 * lib/Makefile.am (CLEANFILES): Removed old entries. 17383 (compile-classes): Don't run split-for-gcj.sh. 17384 173852005-08-10 Aaron Luchko <aluchko@redhat.com> 17386 17387 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: 17388 Implemented the ThreadReference CommandSet. 17389 173902005-08-10 Aaron Luchko <aluchko@redhat.com> 17391 17392 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java: 17393 Implemented the ClassType CommandSet. 17394 * gnu/classpath/jdwp/util/MethodResult.java: Class to wrap 17395 around results of method executions. 17396 173972005-08-10 Tom Tromey <tromey@redhat.com> 17398 17399 For PR classpath/22580: 17400 * lib/Makefile.am (compile-classes): Made conditional on 17401 FOUND_GCJ. 17402 (JAVAC): Redefined when FOUND_GCJ. 17403 174042005-08-10 Tom Tromey <tromey@redhat.com> 17405 17406 * lib/Makefile.am (JAVAC): Use $(SHELL) to invoke 17407 split-for-gcj.sh. For PR classpath/23238. 17408 174092005-08-10 Tom Tromey <tromey@redhat.com> 17410 17411 * lib/split-for-gcj.sh: Use 'while' loop to avoid length limits. 17412 174132005-08-10 Andreas Tobler <toa@pop.agri.ch> 17414 17415 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Include 17416 target_native_file.h. PR classpath/22926. 17417 174182005-08-10 Lillian Angel <langel@redhat.com> 17419 17420 * javax/swing/JTree.java 17421 (doExpandParents): Took out call to checkExpandParents. 17422 (checkExpandParents): Helper method not needed. Caused problems since 17423 fireTreeWillExpand was being called too many times. fireTreeWillExpand 17424 is called from BasicTreeUI whenever a node is expanded. 17425 174262005-08-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17427 17428 * org/omg/PortableInterceptor/Interceptor.java, 17429 org/omg/PortableInterceptor/InterceptorOperations.java: New files. 17430 * org/omg/DynamicAny/_DynAnyFactoryStub.java, 17431 org/omg/DynamicAny/_DynAnyStub.java, 17432 org/omg/DynamicAny/_DynArrayStub.java, 17433 org/omg/DynamicAny/_DynEnumStub.java, 17434 org/omg/DynamicAny/_DynFixedStub.java, 17435 org/omg/DynamicAny/_DynStructStub.java, 17436 org/omg/DynamicAny/_DynUnionStub.java, 17437 org/omg/DynamicAny/_DynValueStub.java, 17438 org/omg/DynamicAny/_DynSequenceStub.java: Added _opsClass field. 17439 174402005-08-10 Lillian Angel <langel@redhat.com> 17441 17442 * javax/swing/plaf/basic/BasicTreeUI.java: 17443 Formatted entire class. 17444 174452005-08-10 Lillian Angel <langel@redhat.com> 17446 17447 * javax/swing/plaf/basic/BasicTreeUI.java 17448 (mouseClicked): Called fireTreeWillExpand and fireTreeWillCollapse when 17449 appropriate. 17450 (keyPressed): Likewise. 17451 174522005-08-10 Roman Kennke <roman@kennke.org> 17453 17454 * java/awt/Container.java 17455 (paint): Call visitChildren with lightweightOnly == true. 17456 (update): Only call paint if we are not in a toplevel container. 17457 174582005-08-09 Aaron Luchko <aluchko@redhat.com> 17459 17460 * gnu/classpath/jdwp/processor/StackFrameCommandSet.java: 17461 Implemented the StackFrame CommandSet. 17462 174632005-08-09 Anthony Balkissoon <abalkiss@redhat.com> 17464 17465 * javax/swing/JTable.java: 17466 (editingCancelled): Implemented. 17467 (editCellAt): Added a KeyListener to our editor to listen for 17468 the ESCAPE key and cancel editing upon receiving it. 17469 174702005-08-09 Lillian Angel <langel@redhat.com> 17471 17472 * javax/swing/JTable.java 17473 (setRowHeight): Fixed condition on when to throw exception. 17474 (setRowHeight): Parameters were mixed up. 17475 174762005-08-09 Lillian Angel <langel@redhat.com> 17477 17478 * javax/swing/plaf/basic/BasicLabelUI.java 17479 (paint): Added in painting code for label border. 17480 * javax/swing/plaf/basic/BasicTreeUI.java 17481 (paintControlIcons): Fixed location for control icons. 17482 * javax/swing/plaf/metal/MetalLookAndFeel.java: 17483 Added defaults for selection and non-selection border for 17484 tree cells. 17485 * javax/swing/tree/DefaultTreeCellRenderer.java 17486 (getTreeCellRendererComponent): Set borders for node. Also, 17487 made node transparent (not opaque), So JLabel draws icon, 17488 text and border appropriately. 17489 174902005-08-09 Lillian Angel <langel@redhat.com> 17491 17492 * javax/swing/plaf/basic/BasicLabelUI.java 17493 (paint): Added in code to paint background rect according to 17494 API. Also, formatting changes. 17495 * javax/swing/plaf/basic/BasicTreeUI.java 17496 (setCellRenderer): Fixed to changed renderer in JTree. 17497 (uninstallDefaults): Line taken out because not needed. 17498 (paintNode): Took out unneeded code because BasicLabelUI was fixed. 17499 (paintRecursive): Fixed so lines are only drawn when parents have 17500 children. 17501 175022005-08-09 Anthony Balkissoon <abalkiss@redhat.com> 17503 17504 * javax/swing/DefaultCellEditor.java: 17505 (EditorDelegate.setValue): Implemented. 17506 (EditorDelegate.getCellEditorValue): Implemented. 17507 (EditorDelegate.isCellEditable): Implemented. 17508 (EditorDelegate.shouldSelectCell): Implemented. 17509 (EditorDelegate.stopCellEditing): Implemented. 17510 (EditorDelegate.cancelCellEditing): Implemented. 17511 (EditorDelegate.startCellEditing): Implemented. 17512 (EditorDelegate.actionPerformed): Implemented. 17513 (EditorDelegate.itemStateChanged): Implemented. 17514 (EditorDelegate.fireEditingStopped): New implementation method. 17515 (EditorDelegate.fireEditingCancelled): New implementation method. 17516 (DefaultCellEditor): Implemented 3 constructors. 17517 (getComponent): Implemented. 17518 (getClickCountToStart): Implemented. 17519 (setClickCountToStart): Implemented. 17520 (getCellEditorValue): Implemented. 17521 (isCellEditable): Implemented. 17522 (shouldSelectCell): Implemented. 17523 (cancelCellEditing): Implemented. 17524 (getTableCellEditorComponent): Implemented. 17525 * javax/swing/JTable.java: 17526 (EditorUpdateTimer): New private class. 17527 (editingStopped): Implemented. 17528 (setValueAt): If the Object value is a Component, add it to the JTable 17529 so it can obtain focus. 17530 (editCellAt): Implemented. 17531 (removeEditor): Implemented. 17532 (prepareEditor): Implemented. 17533 * javax/swing/plaf/basic/BasicTableUI.java: 17534 (KeyHandler.keyPressed): Added F2 "start editing" key action. 17535 (MouseHandler.mousePressed): Added check to see if a new cell was 17536 selected and we need to stop editing. 17537 (paint): If the cell is a JTextField, paint its Caret as well. 17538 * javax/swing/table/DefaultTableCellRenderer.java: 17539 (getTableCellRendererComponent): If a JTextField is passed in, return 17540 one. This is used for editing JTable cells. 17541 175422005-08-09 Aaron Luchko <aluchko@redhat.com> 17543 17544 * gnu/classpath/jdwp/processor/ClassLoaderReferenceCommandSet.java: 17545 Implemented the ClassLoaderReference CommandSet. 17546 175472005-08-09 Mark Wielaard <mark@klomp.org> 17548 17549 * javax/swing/tree/DefaultTreeModel.java: Fix copyright 17550 boilerplate formatting. 17551 175522005-08-09 Lillian Angel <langel@redhat.com> 17553 17554 * javax/swing/tree/DefaultTreeModel.java: 17555 Fixed formatting of class. 17556 175572005-08-09 Lillian Angel <langel@redhat.com> 17558 17559 Fixes Bug #23255 17560 * javax/swing/plaf/basic/BasicTreeUI.java: 17561 Fixed entire class to use Objects as opposed to TreeNodes. 17562 (getPathBounds): Changed root to Object 17563 (getPathForRow): Likewise. 17564 (getRowCount): Likewise. 17565 (getPreferredSize): Changed root and nextNode to be of type 17566 Object. 17567 (isLeaf): Took out unnecessary code. 17568 (keyPressed): Changed all TreeNodes to be of type Object. 17569 (getCellLocation): Likewise. 17570 (paintNode): Likewise. 17571 (paintRecursive): Likewise. 17572 (getParent): Implemented. 17573 (findNode): Helper Implemented. 17574 (getNextVisibleNode): Changed return and parameter type to Object. 17575 (getPreviousVisibleNode): Likewise. 17576 (getNextNode): Likewise. 17577 (getPreviousNode): Likewise. 17578 (getNextSibling): Likewise. 17579 (getPreviousSibling): Likewise. 17580 (getPathToRoot): Likewise. 17581 (getLevel): Likewise. 17582 * javax/swing/tree/DefaultTreeModel.java 17583 (getIndexOfChild): Implemented. 17584 175852005-08-09 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17586 17587 * org/omg/CORBA/package.html: Documentation update. 17588 * org/omg/DynamicAny/package.html: New file. 17589 175902005-08-08 Casey Marshall <csm@gnu.org> 17591 17592 PR classpath/23120 17593 * gnu/java/security/provider/DSAKeyPairGenerator.java 17594 (<init>): made public; set default values. 17595 (initialize): just call 'initialize(int,boolean,SecureRandom).' 17596 (initialize): just call 'initialize(DSAParams,SecureRandom).' 17597 (initialize): check all values for 'null' before overwriting. 17598 (initialize): fill in defaults or generate new parameters here. 17599 (generateKeyPair): don't create parameters; fill in 'random' if 17600 'null;' use 'random,' not a new Random object, when generating 17601 random numbers. 17602 (getDefaults): fix keysize check. 17603 17604 PR classpath/22990 17605 * java/security/KeyPairGenerator.java (initialize): do nothing. 17606 176072005-08-08 Tom Tromey <tromey@redhat.com> 17608 17609 PR classpath/23285: 17610 * native/jni/classpath/classpath_jawt.h 17611 (classpath_jawt_get_awt_version, classpath_jawt_lock, 17612 classpath_jawt_unlock, classpath_jawt_create_lock, 17613 classpath_jawt_destroy_lock): Use '(void)' in prototype. 17614 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Added 17615 gtk_jawt.c. 17616 * native/jni/gtk-peer/gtk_jawt.c: New file from libgcj. 17617 (classpath_jawt_create_lock, classpath_jawt_destroy_lock): Use 17618 cp_gtk_gdk_env. 17619 176202005-08-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17621 17622 * org/omg/DynamicAny/FieldNameHelper.java: New file. 17623 176242005-08-08 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17625 17626 * org/omg/DynamicAny/_DynAnyFactoryStub.java, 17627 org/omg/DynamicAny/_DynAnyStub.java, 17628 org/omg/DynamicAny/_DynArrayStub.java, 17629 org/omg/DynamicAny/_DynEnumStub.java, 17630 org/omg/DynamicAny/_DynFixedStub.java, 17631 org/omg/DynamicAny/_DynStructStub.java, 17632 org/omg/DynamicAny/_DynUnionStub.java, 17633 org/omg/DynamicAny/_DynValueStub.java, 17634 org/omg/DynamicAny/_DynSequenceStub.java: New files. 17635 176362005-08-08 Lillian Angel <langel@redhat.com> 17637 17638 Fixes bug #23252 17639 * javax/swing/JTree.java 17640 (setModel): Changed to allow model to be null. 17641 * javax/swing/plaf/basic/BasicTreeUI.java 17642 (setModel): Changed to depend on JTree functions 17643 (getPathBounds): Fixed to work when model = null. 17644 (getPathForRow): Likewise. 17645 (getRowCount): Likewise. 17646 (installListeners): Likewise. 17647 (installUI): Likewise. 17648 (paint): Likewise. 17649 (getPreferredSize): Likewise. 17650 176512005-08-08 Casey Marshall <csm@gnu.org> 17652 17653 Fixes bug #22914 17654 * gnu/classpath/debug/Component.java (POLICY): new constant. 17655 * gnu/java/security/PolicyFile.java (logger): new constant. 17656 (DEBUG,debug,debug): removed. 17657 (DEFAULT_POLICY): use 'SystemProperties' class to bypass security 17658 check. 17659 (DEFAULT_USER_POLICY): new constant. 17660 (getPermissions): replace 'debug' calls with logger calls. 17661 (refresh): add 'DEFAULT_USER_POLICY' to the initial list; 17662 interpret 'java.security.policy' and 'policy.url' properties 17663 properly; replace 'debug' calls with logger calls. 17664 (parse): replace 'debug' calls with logger calls. 17665 176662005-08-07 Casey Marshall <csm@gnu.org> 17667 17668 * javax/security/auth/x500/X500Principal.java 17669 (encodeDer): use the right iterator for the inner loop. 17670 (parseString): test for end of input. 17671 (readAttributeType): provide detail message for exception. 17672 (readAttributeValue): return the result on end of input; 17673 read the next character while looping. 17674 (putComponent): accept 'o' and 'ou' short names. 17675 176762005-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17677 17678 * org/omg/DynamicAny/AnySeqHelper.java, 17679 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java, 17680 org/omg/DynamicAny/NameValuePairHelper.java, 17681 org/omg/DynamicAny/NameDynAnyPairHelper.java, 17682 org/omg/DynamicAny/NameValuePairSeqHelper.java, 17683 org/omg/DynamicAny/DynAnySeqHelper.java, 17684 gnu/CORBA/DynAnySeqHolder.java, 17685 gnu/CORBA/NameDynAnyPairSeqHolder.java, 17686 gnu/CORBA/NameDynAnyPairHolder.java, 17687 gnu/CORBA/NameValuePairSeqHolder.java, 17688 gnu/CORBA/NameValuePairHolder.java: New files. 17689 176902005-08-07 Ito Kazumitsu <kaz@maczuka.gcd.org> 17691 17692 Fixes bug #22929 17693 * java/net/NetworkInterface.java 17694 (condense): New static private method. 17695 (getNetworkInterfaces): Call condense(). 17696 (getByName, getByInetAddress): Call getNetworkInterfaces() 17697 so that condensed result may be returned. 17698 * vm/reference/java/net/VMNetworkInterface.java (getInterfaces): 17699 Clarify return value in documentation. 17700 177012005-08-07 Mark Wielaard <mark@klomp.org> 17702 17703 Fixes bug #22920 17704 * java/net/DatagramSocket.java (DatagramSocket(SocketAddress)): 17705 Use gnu.classpath.SystemProperties to get impl.prefix. 17706 177072005-08-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 17708 17709 * gnu/CORBA/CDR/noHeaderInput.java, 17710 gnu/CORBA/gnuValueHolder.java, 17711 gnu/CORBA/DynAn/gnuDynAny.java, 17712 gnu/CORBA/DynAn/gnuDynArray.java, 17713 gnu/CORBA/DynAn/gnuDynSequence.java, 17714 gnu/CORBA/DynAn/gnuDynValueBox.java, 17715 gnu/CORBA/DynAn/abstractRecord.java, 17716 gnu/CORBA/DynAn/gnuDynAnyFactory.java, 17717 gnu/CORBA/DynAn/gnuDynValue.java, 17718 gnu/CORBA/DynAn/gnuDynStruct.java, 17719 gnu/CORBA/DynAn/anyDivideable.java, 17720 gnu/CORBA/DynAn/anyUndivideable.java, 17721 gnu/CORBA/DynAn/gnuDynEnum.java, 17722 gnu/CORBA/DynAn/abstractDynAny.java, 17723 gnu/CORBA/DynAn/gnuDynFixed.java, 17724 gnu/CORBA/DynAn/valueChangedListener.java, 17725 gnu/CORBA/DynAn/gnuDynUnion.java: New files. 17726 * org/omg/DynamicAny/DynUnionOperations.java, 17727 org/omg/DynamicAny/DynAnyOperations.java, 17728 org/omg/DynamicAny/DynAnyFactoryOperations.java, 17729 org/omg/DynamicAny/DynValueBox.java, 17730 org/omg/DynamicAny/DynValueCommon.java, 17731 org/omg/DynamicAny/DynAnyFactoryHelper.java, 17732 gnu/CORBA/typeNamer.java, 17733 gnu/CORBA/fixedTypeCode.java, 17734 gnu/CORBA/CDR/Vio.java, 17735 gnu/CORBA/CDR/cdrInput.java, 17736 gnu/CORBA/CDR/cdrOutput.java, 17737 gnu/CORBA/holderFactory.java, 17738 gnu/CORBA/universalHolder.java, 17739 gnu/CORBA/Poa/ORB_1_4.java, 17740 gnu/CORBA/Restricted_ORB.java, 17741 gnu/CORBA/gnuAny.java, 17742 org/omg/CORBA/TypeCode.java 17743 org/omg/CORBA/Any.java, 17744 org/omg/CORBA/ORB.java, 17745 org/omg/CORBA/ObjectHelper.java, 17746 org/omg/CORBA/ObjectHolder.java, 17747 org/omg/CORBA_2_3/portable/InputStream.java, 17748 org/omg/CORBA_2_3/portable/OutputStream.java, 17749 gnu/CORBA/DynAn/NameValuePairHolder.java: Rewritten. 17750 177512005-08-06 Jeroen Frijters <jeroen@frijters.net> 17752 17753 * java/io/ObjectInputStream.java 17754 (readClassDescriptor): Removed bogus handling of primitive types. 17755 (readFields.GetField.defaulted): Pass cause to exception. 17756 (readFields.GetField.getField): Pass cause to exception. 17757 (newObject, callReadMethod): Call initCause on exception. 17758 177592005-08-06 Jeroen Frijters <jeroen@frijters.net> 17760 17761 * java/lang/IllegalArgumentException.java, 17762 java/lang/IllegalStateException.java, 17763 java/lang/SecurityException.java, 17764 java/lang/UnsupportedOperationException.java: Merged from generics 17765 branch. 17766 177672005-08-05 Lillian Angel <langel@redhat.com> 17768 17769 * javax/swing/plaf/basic/BasicTreeUI.java: 17770 (getPathBounds): Changed to use TreeNode and not 17771 DefaultMutableTreeNode. 17772 (getPathForRow): Likewise. 17773 (getRowCount): Likewise. 17774 (getPreferredSize): Likewise. 17775 (keyPressed): Likewise. 17776 (paintNode): Likewise. 17777 (getCellLocation): Likewise. 17778 (paintRecursive): Likewise. 17779 (paintControlIcons): Likewise. 17780 (getNextVisibleNode): Likewise. 17781 (getPreviousVisibleNode): Likewise. 17782 (getNextNode): Implemented because not using DefaultMutableTreeNode. 17783 (getPreviousNode): Implemented 17784 (getNextSibling): Implemented 17785 (getPreviousSibling): Implemented 17786 (getPathToRoot): Implemented 17787 (getLevel): Implemented 17788 177892005-08-05 Mark Wielaard <mark@klomp.org> 17790 17791 * java/awt/datatransfer/FlavorEvent.java: New class. 17792 * java/awt/datatransfer/FlavorListener.java: Likewise. 17793 * java/awt/datatransfer/Clipboard.java (name): Made final. 17794 (listeners): New final ArrayList field. 17795 (setContents): Reimplemented. 17796 (getAvailableDataFlavors): New method. 17797 (isDataFlavorAvailable): Likewise. 17798 (getData): Likewise. 17799 (addFlavorListener): Likewise. 17800 (removeFlavorListener): Likewise. 17801 (getFlavorListeners): Likewise. 17802 * java/awt/datatransfer/DataFlavor.java (javaFileListFlavor): 17803 Construct with mime media-type application/x-java-file-list. 17804 (DataFlavor(String mimeType, String humanPresentableName)): Call 17805 constructor that uses given mimeType. 17806 (getSubType): Reimplemented. 17807 (getParameter): Handle 'vitual' humanPresentableName parameter. 17808 (isMimeTypeEqual): Reimplement. 17809 (isRepresentationClassRemote): Implement. 17810 (toString): Add formatting. 17811 178122005-08-05 Lillian Angel <langel@redhat.com> 17813 17814 * java/awt/GridBagLayout.java 17815 (setConstraints): Removed checks in if statements because if the height 17816 or width is less than 0, it should be updated to a positive number in 17817 all cases. 17818 178192005-08-05 Mark Wielaard <mark@klomp.org> 17820 17821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Include 17822 jcl.h. 17823 (createRawData): Removed unused variable method. 17824 (getData): Removed unused variable field. 17825 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c 17826 (createRawData): Removed unused variable method. 17827 (getData): Removed unused variable field. 17828 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c 17829 (createRawData): Removed unused variable method. 17830 (getData): Removed unused variable field. 17831 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c 17832 (Java_java_nio_VMDirectByteBuffer_init): Removed. 17833 * vm/reference/java/nio/VMDirectByteBuffer.java (init): Removed. 17834 * include/java_nio_VMDirectByteBuffer.h: Regenerated. 17835 178362005-08-05 Roman Kennke <roman@kennke.org> 17837 17838 * java/awt/Container.java: 17839 (preferredSize): Call getLayout() instead of directly referencing 17840 the private field. This makes components work that override 17841 getLayout(). 17842 (minimumSize): Call getLayout() instead of directly referencing 17843 the private field. This makes components work that override 17844 getLayout(). Use cached size if component is still valid. 17845 (maximumSize): Call getLayout() instead of directly referencing 17846 the private field. This makes components work that override 17847 getLayout(). Use cached size if component is still valid. 17848 (update): If we are a top-level-container, call super.update(), 17849 otherwise directly call paint(). 17850 (visitChildren): Also visit children that are itself Containers. 17851 * java/awt/Component.java 17852 (update): Clear the background only for lightweight and top-level 17853 components. 17854 178552005-08-05 Lillian Angel <langel@redhat.com> 17856 17857 * javax/swing/plaf/basic/BasicGraphicsUtils.java 17858 (getPreferredButtonSize): Added horizontalAdjustment to width 17859 to create gap at end of label text. 17860 * javax/swing/plaf/basic/BasicMenuItemUI.java 17861 (getPreferredSize): Removed "*2" since fix was moved to 17862 BasicGraphicsUtils 17863 178642005-08-05 Roman Kennke <roman@kennke.org> 17865 17866 * javax/swing/text/DefaultCaret.java: Added API comments all 17867 over. 17868 * javax/swing/text/DefaultEditorKit.java: Added API comments 17869 all over. 17870 178712005-08-05 Jeroen Frijters <jeroen@frijters.net> 17872 17873 * java/io/ObjectInputStream.java 17874 (read(byte[],int,int)): Simplified and fixed bug 23236. 17875 178762005-08-04 Aaron Luchko <aluchko@redhat.com> 17877 17878 * gnu/classpath/jdwp/processor/MethodCommandSet.java: Implemented 17879 the Method CommandSet. 17880 178812005-08-04 Lillian Angel <langel@redhat.com> 17882 17883 * javax/swing/plaf/basic/BasicMenuItemUI.java 17884 (getPreferredSize): Multiplied defaultTextIconGap by 2, 17885 so there is equal space around the MenuItem 17886 178872005-08-04 Lillian Angel <langel@redhat.com> 17888 17889 * javax/swing/plaf/basic/BasicMenuItemUI.java 17890 (paintIcon): Added in border painting code for MenuItem 17891 * javax/swing/plaf/metal/MetalLookAndFeel.java: 17892 Added in default for CheckBox border 17893 178942005-08-04 Roman Kennke <roman@kennke.org> 17895 17896 * java/awt/BorderLayout.java: Reformatted this file to meet our 17897 coding standards. 17898 178992005-08-04 Roman Kennke <roman@kennke.org> 17900 17901 * java/awt/BorderLayout.java 17902 (layoutContainer): Replaced getSize() call with getWidth() and 17903 getHeight(). This avoids heap allocation and fixes a bug in 17904 an application here. 17905 179062005-08-04 Lillian Angel <langel@redhat.com> 17907 17908 * javax/swing/JCheckBox.java 17909 (init): Moved these to ui 17910 * javax/swing/plaf/basic/BasicCheckBoxUI.java 17911 (installUI): initalized icons 17912 * javax/swing/plaf/metal/MetalLookAndFeel.java: 17913 Took out CheckBoxMenuItem defaults because did not 17914 work as expected. For now it uses the BasicL&F's defaults. 17915 179162005-08-04 Anthony Balkissoon <abalkiss@redhat.com> 17917 17918 * javax/swing/JList.java: 17919 (getFirstVisibleIndex): Translate visible rectangle by one less pixel. 17920 (getLastVisibleIndex): Likewise. 17921 179222005-08-04 Lillian Angel <langel@redhat.com> 17923 17924 * javax/swing/JCheckBox.java 17925 (init): Initialized icons. Was not working otherwise. 17926 * javax/swing/plaf/basic/BasicLookAndFeel.java: 17927 Added in checkIcon for the CheckBox. 17928 * javax/swing/plaf/metal/MetalLookAndFeel.java: 17929 Added in checkIcon for CheckBox and defaults for 17930 CheckBoxMenuItem. 17931 179322005-08-03 Lillian Angel <langel@redhat.com> 17933 17934 * javax/swing/JCheckBoxMenuItem.java 17935 (installUI): set the items visible. Fixes exceptions that are 17936 thrown because item is not explicitly set visible. 17937 179382005-08-03 Ewout Prangsma <ewout@prangsma.net> 17939 17940 * java/lang/Enum.java: 17941 (valueOf(Class<S>,String)): Implemented. 17942 179432005-08-03 Roman Kennke <roman@kennke.org> 17944 17945 * javax/swing/plaf/basic/BasicViewportUI.java 17946 (paintSimple): Corrected the clip that is used to draw the 17947 viewport's content. This fixes scrolling in JScrollPane and 17948 JViewport. 17949 179502005-08-03 Lillian Angel <langel@redhat.com> 17951 17952 * javax/swing/plaf/basic/BasicLookAndFeel.java: 17953 Changed the fonts from Helvetica to Dialog. 17954 179552005-08-03 Guilhem Lavaux <guilhem@kaffe.org> 17956 17957 * include/java_nio_VMDirectByteBuffer.h: 17958 Regenerated. 17959 17960 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c 17961 (getData): Fixed function call. 17962 17963 Reported by: Andreas Tobler <toa@pop.agri.ch> 17964 179652005-08-03 Lillian Angel <langel@redhat.com> 17966 17967 * javax/swing/plaf/basic/BasicIconFactory.java: 17968 (getMenuItemCheckIcon): Implemented so a check mark is drawn when 17969 the item is selected. 17970 * javax/swing/plaf/basic/BasicLookAndFeel.java: 17971 Modified the checkbox defaults 17972 * javax/swing/plaf/basic/BasicMenuItemUI.java: 17973 (paintMenuItem): Changed to only draw check when item is selected. 17974 179752005-08-03 Roman Kennke <roman@kennke.org> 17976 17977 * java/awt/FontMetrics.java 17978 (charsWidth): Iterate to len + offset instead to len. 17979 179802005-08-03 Guilhem Lavaux <guilhem@kaffe.org> 17981 17982 * native/jni/classpath/jcl.c 17983 (JCL_NewRawDataObject): Fixed typo. 17984 179852005-08-03 Guilhem Lavaux <guilhem@kaffe.org> 17986 17987 * gnu/classpath/Pointer.java, 17988 gnu/classpath/Pointer32.java, 17989 gnu/classpath/Pointer64.java, 17990 gnu/classpath/RawData.java, 17991 gnu/classpath/RawData32.java, 17992 gnu/classpath/RawData64.java, 17993 gnu/java/awt/peer/gtk/GtkImage.java, 17994 gnu/java/nio/charset/iconv/IconvDecoder.java, 17995 gnu/java/nio/charset/iconv/IconvEncoder.java, 17996 java/nio/Buffer.java, 17997 java/nio/DirectByteBufferImpl.java, 17998 java/nio/MappedByteBufferImpl.java, 17999 native/jni/classpath/jcl.c, 18000 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c, 18001 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c, 18002 native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, 18003 native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c, 18004 native/jni/java-nio/java_nio_MappedByteBufferImpl.c, 18005 native/jni/java-nio/java_nio_VMDirectByteBuffer.c, 18006 vm/reference/java/nio/VMDirectByteBuffer.java: Renamed 18007 references to gnu/classpath/RawData to gnu/classpath/Pointer. 18008 180092005-08-03 Guilhem Lavaux <guilhem@kaffe.org> 18010 18011 * java-nio/gnu_java_nio_channels_FileChannelImpl.c 18012 (mapImpl): Fixed typo. 18013 180142005-08-03 Guilhem Lavaux <guilhem@kaffe.org> 18015 18016 * classpath/jcl.c 18017 (JCl_NewRawDataObject): Added error handling. 18018 18019 * classpath/jcl.h 18020 (jpointer): New integer type to represent a pointer. 18021 18022 * gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c, 18023 java-nio/gnu_java_nio_channels_FileChannelImpl.c, 18024 java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, 18025 java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c, 18026 java-nio/java_nio_MappedByteBufferImpl.c, 18027 java-nio/java_nio_VMDirectByteBuffer.c, 18028 xmlj/xmlj_util.c: Use JCL functions instead of directly 18029 accessing gnu/classpath/RawData. 18030 180312005-08-03 Roman Kennke <roman@kennke.org> 18032 18033 * javax/swing/text/AttributeSet.java: Added some API comments 18034 to class description. 18035 * javax/swing/text/BadLocationException.java: Added / fixed 18036 API comments all over. 18037 * javax/swing/text/Caret.java: Added API comments all over. 18038 180392005-08-02 Roman Kennke <roman@kennke.org> 18040 18041 * java/awt/Component.java 18042 (getBounds): Removed debug statements that accidentally slipped in. 18043 180442005-08-02 Anthony Balkissoon <abalkiss@redhat.com> 18045 18046 * javax/swing/JTable.java: 18047 (getCellRect): Height should be the row height, not the entire table 18048 height. 18049 (getRowHeight): New public method, part of API. 18050 * javax/swing/JViewport.java: 18051 (scrollRectToVisible): Fixed buggy scrolling conditions. 18052 * javax/swing/plaf/basic/BasicTableUI.java: 18053 (KeyHandler.keyPressed): Implemented PAGE-UP, PAGE-DOWN, CTRL-PAGE-UP, 18054 and CTRL-PAGE-DOWN key actions. Also added line to scroll the table 18055 appropriately after changing the selection. 18056 (KeyHandler.getFirstVisibleColumnIndex): New implementation method. 18057 (KeyHandler.getLastVisibleColumnIndex): Likewise. 18058 (KeyHandler.getFirstVisibleRowIndex): Likewise. 18059 (KeyHandler.getLastVisibleRowIndex): Likewise. 18060 180612005-08-02 Roman Kennke <roman@kennke.org> 18062 18063 * javax/swing/text/AbstractDocument.java 18064 (AbstractElement.AbstractElement): Create an empty AttributeSet 18065 if the argument s == null. 18066 (AbstractElement.getAttribute): Return the element itself instead 18067 of the wrapped attributes. 18068 180692005-08-02 Roman Kennke <roman@kennke.org> 18070 18071 * java/awt/Toolkit.java 18072 (createCustomCursor): Added check for headless environment. 18073 (getBestCursorSize): Added check for headless environment. 18074 180752005-08-02 Lillian Angel <langel@redhat.com> 18076 18077 * javax/swing/text/GapContent.java 18078 (shiftGap): Changed to used '&&'. both indexes should be 18079 greater than 0. 18080 180812005-08-02 Lillian Angel <langel@redhat.com> 18082 18083 * javax/swing/text/GapContent.java: 18084 Formatting code. 18085 180862005-08-02 Lillian Angel <langel@redhat.com> 18087 18088 * javax/swing/text/GapContent.java 18089 (shiftGap): Added in if statement to check if indexes are negative. 18090 Does not work properly if they are. 18091 180922005-08-02 Roman Kennke <roman@kennke.org> 18093 18094 * javax/swing/plaf/basic/BasicTextUI.java 18095 (RootView.viewToModel): New method. 18096 * javax/swing/text/BoxView.java 18097 (isBefore): New method. This is a stub method to implement the 18098 new abstract method from CompositeView. 18099 (isAfter): New method. This is a stub method to implement the 18100 new abstract method from CompositeView. 18101 (getViewAtPoint): New method. This is a stub method to implement the 18102 new abstract method from CompositeView. 18103 (childAllocation): New method. This is a stub method to implement the 18104 new abstract method from CompositeView. 18105 * javax/swing/text/ComponentView.java 18106 (viewToModel): New method. This is a stub method to implement the 18107 new abstract method from View. 18108 * javax/swing/text/CompositeView.java 18109 (loadChildren): Implemented new method. 18110 (setParent): Implemented new method. 18111 (getViewCount): Implemented new method. 18112 (getView): Implemented new method. 18113 (replace): Implemented new method. 18114 (getChildAllocation): Implemented new method. 18115 (modelToView(int, Shape, Position.Bias)): Implemented this method. 18116 (modelToView(int, Position.Bias, int, Position.Bias, Shape): 18117 Implemented new method. 18118 (viewToModel): Implemented new method. 18119 (getNextVisualPositionFrom): Implemented new method. 18120 (getViewIndex): Implemented new method. 18121 (isBefore): New abstract method. 18122 (isAfter): New abstract method. 18123 (getViewAtPoint): New abstract method. 18124 (childAllocation): New abstract method. 18125 (getViewAtPosition): Implemented new method. 18126 (getViewIndexAtPosition): Implemented new method. 18127 (getInsideAllocation): Implemented new method. 18128 (setParagraphInsets): Implemented new method. 18129 (setInsets): Implemented new method. 18130 (getLeftInset): Implemented new method. 18131 (getRightInset): Implemented new method. 18132 (getTopInset): Implemented new method. 18133 (getBottomInset): Implemented new method. 18134 (getNextNorthSouthVisualPositionFrom): New method. 18135 (getNextEastWestVisualPositionFrom): New method. 18136 (flipEastAndWestAtEnds): Implemented new method. 18137 * javax/swing/text/GlyphView.java 18138 (viewToModel): New method. This is a stub method to implement the 18139 new abstract method from View. 18140 * javax/swing/text/IconView.java 18141 (viewToModel): New method. This is a stub method to implement the 18142 new abstract method from View. 18143 * javax/swing/text/PlainView.java 18144 (viewToModel): New method. This is a stub method to implement the 18145 new abstract method from View. 18146 * javax/swing/text/View.java 18147 (viewToModel): New abstract method. 18148 181492005-08-02 Audrius Meskauskas <AudriusA@Bioinformatics.org> 18150 18151 * org/omg/DynamicAny/DynValueCommon.java: Inherit from 18152 DynValueOperations, DynAny, IDLEntity, org.omg.CORBA.Object, 18153 Serializable. 18154 * org/omg/DynamicAny/DynValueCommonOperations.java: Inherit from 18155 DynAnyOperations. 18156 * org/omg/DynamicAny/DynAnyHelper.java, 18157 org/omg/DynamicAny/DynStructHelper.java, 18158 org/omg/DynamicAny/DynUnionHelper.java, 18159 org/omg/DynamicAny/DynValueHelper.java, 18160 org/omg/DynamicAny/DynAnyFactoryHelper.java, 18161 org/omg/DynamicAny/DynArrayHelper.java, 18162 org/omg/DynamicAny/DynEnumHelper.java, 18163 org/omg/DynamicAny/DynFixedHelper.java, 18164 org/omg/DynamicAny/DynSequenceHelper.java: New files. 18165 181662005-08-01 Andreas Tobler <a.tobler@schweiz.ch> 18167 18168 * examples/README: Add GNULookAndFeel.java to the compile command. 18169 181702005-08-01 Mark Wielaard <mark@klomp.org> 18171 18172 * examples/gnu/classpath/examples/swing/Demo.java (mkTreeWorld): 18173 Remove double declaration of int i. 18174 181752005-08-01 Andreas Tobler <a.tobler@schweiz.ch> 18176 18177 * examples/gnu/classpath/examples/swing/Demo.java: Exit when 18178 pressing 'Close' on the panel. 18179 181802005-08-01 Andreas Tobler <a.tobler@schweiz.ch> 18181 18182 * configure.ac (LIBVERSION): Check against darwin to set module 18183 'no' for it. Modules under darwin are not linkable. 18184 181852005-08-01 Roman Kennke <roman@kennke.org> 18186 18187 * javax/swing/text/AttributeSet.java: Added API comments all over. 18188 181892005-08-01 Roman Kennke <roman@kennke.org> 18190 18191 * javax/swing/text/AbstractDocument.java: Added API comments all over. 18192 181932005-08-01 Jeroen Frijters <jeroen@frijters.net> 18194 18195 * java/lang/ClassLoader.java 18196 (defineClass(String,byte[],int,int,ProtectionDomain), 18197 resolveClass, findSystemClass, setSigners, findLoadedClass): 18198 Added call to checkInitialized(). 18199 (checkInitialized): New method. 18200 182012005-08-01 Jeroen Frijters <jeroen@frijters.net> 18202 18203 * NEWS: Added info about VM interfaces changes. 18204 * java/lang/Class.java 18205 (forName(String), forName(String, boolean, ClassLoader)): Simplified 18206 VM interface. 18207 * java/lang/ClassLoader.java 18208 (loadedClasses): Removed field. 18209 (defineClass(String,byte[],int,int,ProtectionDomain)): Removed 18210 code to add class to loadedClasses. 18211 * vm/reference/java/lang/VMClass.java 18212 (forName(String)): Removed method. 18213 (forName(String,boolean,ClassLoader)): New method. 18214 (initialize): Removed method. 18215 (loadArrayClass): Removed method. 18216 * vm/reference/java/lang/VMClassLoader.java 18217 (USE_VM_CACHE): Removed field. 18218 (findLoadedClass): Made native. 18219 182202005-08-01 Mark Wielaard <mark@klomp.org> 18221 18222 Reported by Wolfgang Baer <WBaer@gmx.de> 18223 * javax/swing/text/GapContent.java (shiftGap): Use new 18224 CapContentPosition in binarySearch. 18225 (shiftEnd): Likewise. 18226 182272005-08-01 Mark Wielaard <mark@klomp.org> 18228 18229 * doc/www.gnu.org/bugs.wml: New file. 18230 * doc/www.gnu.org/newsitems.txt: Add bugzilla entry. 18231 * doc/www.gnu.org/events/events.wml: Correct Fosdem 2005 date. 18232 * doc/www.gnu.org/include/layout.wml: Direct bug reports to bugs.html. 18233 182342005-08-01 Jan Roehrich <jan@roehrich.info> 18235 18236 * javax.swing.plaf.basic.BasicTreeUI: Method drawCentered 18237 added / corrected javadoc issues in paintHorizonalLine 18238 and paintVerticalLine / fixed getRightChildIndent signature 18239 (problem probably caused by copy/paste) 18240 182412005-08-01 Jan Roehrich <jan@roehrich.info> 18242 18243 * javax.swing.plaf.basic.BasicTreeUI: paintVerticalLine and 18244 paintHorizontalLine added. 18245 182462005-07-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 18247 18248 org/omg/DynamicAny/DynValueOperations.java, 18249 org/omg/DynamicAny/DynAnyFactory.java, 18250 org/omg/DynamicAny/DynAnyFactoryOperations.java, 18251 org/omg/DynamicAny/DynValue.java, 18252 org/omg/DynamicAny/DynValueBox.java, 18253 org/omg/DynamicAny/DynValueBoxOperations.java, 18254 org/omg/DynamicAny/DynValueCommon.java, 18255 org/omg/DynamicAny/DynValueCommonOperations.java: New files. 18256 182572005-07-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 18258 18259 * org/omg/DynamicAny/DynFixedOperations.java, 18260 org/omg/DynamicAny/DynEnum.java, 18261 org/omg/DynamicAny/DynArrayOperations.java: Inherit from 18262 DynAnyOperations. 18263 * org/omg/DynamicAny/NameDynAnyPair.java: Inherit from 18264 org.omg.CORBA.portable.IDLEntity. 18265 * org/omg/DynamicAny/DynAnyOperations.java 18266 (assign, current_component): Fixes in throws declaration. 18267 * org/omg/DynamicAny/DynEnumOperations.java, 18268 org/omg/DynamicAny/DynSequenceOperations.java, 18269 org/omg/DynamicAny/DynStructOperations.java, 18270 org/omg/DynamicAny/DynUnionOperations.java, 18271 org/omg/DynamicAny/DynAny.java, 18272 org/omg/DynamicAny/DynFixed.java, 18273 org/omg/DynamicAny/DynSequence.java, 18274 org/omg/DynamicAny/DynStruct.java, 18275 org/omg/DynamicAny/DynUnion.java, 18276 org/omg/DynamicAny/DynArray.java, 18277 org/omg/DynamicAny/NameValuePair.java: Reformatted. 18278 182792005-07-31 Mark Wielaard <mark@klomp.org> 18280 18281 * gnu/java/nio/FileLockImpl.java: Mark class final. 18282 (ch): Removed field. 18283 (valid): New field. 18284 (FileLockImpl): Set valid to true. 18285 (isValid): Test and set valid field. 18286 (release): Release lock if it is still valid. 18287 * java/nio/channels/FileLock.java: Mark all fields private final. 18288 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 18289 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Translate 18290 Long.MAX_VALUE to zero for fcntl. 18291 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Likewise. 18292 182932005-07-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 18294 18295 * scripts/eclipse-gnu.xml: Drop extends, implements, 18296 throws into new line. 18297 182982005-07-31 Jan Roehrich <jan@roehrich.info> 18299 18300 * javax.swing.plaf.basic.BasicTreeUI: fixed indentation. 18301 183022005-07-30 Casey Marshall <csm@gnu.org> 18303 18304 * native/jni/java-nio/java_nio_MappedByteBuffer.c 18305 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): cast argument 3 18306 to 'mincore' to 'void *' to avoid warnings on GNU. 18307 183082005-07-30 Casey Marshall <csm@gnu.org> 18309 18310 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 18311 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): 18312 eliminate various compiler warnings; mark 'buffer' as 'volatile;' 18313 throw an exception if we can't get a constructor method ID. 18314 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: 18315 include 'stdlib.h.' 18316 (get_raw_values): eliminate compiler warnings. 18317 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): likewise. 18318 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c 18319 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2I_3BII): 18320 eliminate compiler warning. 18321 183222005-07-29 Roman Kennke <roman@kennke.org> 18323 18324 * javax/swing/text/StyledEditorKit.java: Added the remaining API 18325 comments. 18326 183272005-07-29 Lillian Angel <langel@redhat.com> 18328 18329 * javax/swing/MenuSelectionManager.java 18330 (isComponentPartOfCurrentMenu): Fixed to prevent NPE. 18331 * javax/swing/plaf/basic/BasicMenuUI.java 18332 (popupVisible): Likewise. 18333 183342005-07-29 David Gilbert <david.gilbert@object-refinery.com> 18335 18336 * java/awt/event/MouseWheelEvent.java: fixed typo in API docs. 18337 183382005-07-29 Roman Kennke <roman@kennke.org> 18339 18340 * javax/swing/text/DefaultStyledDocument.java: Added 18341 comments all over. 18342 * javax/swing/text/StyledEditorKit: Likewise. 18343 183442005-07-29 Lillian Angel <langel@redhat.com> 18345 18346 * javax/swing/JTextField.java 18347 (insertString): Added in check for null to resolve a NPE. 18348 * javax/swing/text/GapContent.java 18349 (getOffset): Added in check for mark = gapStart because 18350 if mark = gapStart = 0, then a negative is returned. This was 18351 not right. 18352 183532005-07-29 Roman Kennke <roman@kennke.org> 18354 18355 * javax/swing/plaf/basic/BasicEditorPaneUI.java: Added API 18356 comments all over. 18357 * javax/swing/plaf/basic/BasicTextUI.java: Likewise. 18358 183592005-07-29 Roman Kennke <roman@kennke.org> 18360 18361 * javax/swing/text/DefaultStyledDocument.java 18362 (split): Moved throw statement into proper else clause. 18363 * javax/swing/text/StyledEditorKit.java 18364 (StyledViewFactory.create): Return the actual view instead of null. 18365 183662005-07-29 Roman Kennke <roman@kennke.org> 18367 18368 * javax/swing/JTextPane.java: Added API comments all over. 18369 183702005-07-29 Roman Kennke <roman@kennke.org> 18371 18372 * javax/swing/JTextPane.java 18373 (constructor()): Implemented this constructor. Initialize the 18374 EditorKit and set the Document to null. 18375 (constructor(StyledDocument)): Implemented this constructor. 18376 Initialize the EditorKit and Document. 18377 (getUIClassID): Inlined the constant String. 18378 (setDocument): Implemented this method. 18379 (getStyledDocument): Likewise. 18380 (setStyledDocument): Likewise. 18381 (replaceSelection): Likewise. 18382 (insertComponent): Clarified the TODO comment. 18383 (insertIcon): Clarified the TODO comment. 18384 (addStyle): Implemented this method. 18385 (removeStyle): Likewise. 18386 (getStyle): Likewise. 18387 (getLogicalStyle): Likewise. 18388 (setLogicalStyle): Likewise. 18389 (getCharacterAttributes): Likewise. 18390 (setCharacterAttributes): Likewise. 18391 (getParagraphAttributes): Likewise. 18392 (getInputAttributes): Likewise. 18393 (getStyledEditorKit): Likewise. 18394 (createDefaultEditorKit): Likewise. 18395 (setEditorKit): Likewise. 18396 * javax/swing/plaf/basic/BasicEditorPaneUI.java 18397 (getEditorKit): Implemented this method. 18398 * javax/swing/plaf/basic/BasicTextUI.java 18399 (RootView.getViewFactory): Ask the installed EditorKit for its 18400 ViewFactory. 18401 (RootView.setView): Set this as the parent of the installed real 18402 root view. 18403 (RootView.modelToView): Don't cast to PlainView here. Use View 18404 instead. 18405 (setView): Don't set the parent here. This is handled inside the 18406 root view. 18407 184082005-07-29 Roman Kennke <roman@kennke.org> 18409 18410 * javax/swing/text/AbstractDocument.java 18411 (createPosition): Delegate this call to the actual Content. 18412 (LeafElement.constructor): Manage the start and end marks via 18413 Position objects. 18414 (LeafElement.getEndOffset): Use Position instead of static mark. 18415 (LeafElement.getStartOffset): Use Position instead of static mark. 18416 * javax/swing/text/DefaultStyledDocument.java 18417 (ElementBuffer.change): New method. Performs structural changes 18418 in the element tree that are necessary in order to change 18419 text attributes. 18420 (ElementBuffer.changeUpdate): New method. This is the method for 18421 change(). 18422 (ElementBuffer.split): New package-private method. Splits an 18423 element into two elements. 18424 (setCharacterAttributes): Implemented this method. This sets 18425 character attributes on a piece of content. 18426 * javax/swing/text/GapContent.java 18427 (GapContentPosition): New inner class. Implements the Position 18428 interface for GapContent. 18429 (constructor): Initialize the list that stores the Position objects. 18430 (createPosition): Reimplemented. Now uses the GapContentPosition 18431 class. 18432 (shiftEnd): Update the stored positions. 18433 (shiftGap): Update the stored positions. 18434 * javax/swing/text/LabelView.java: New class. 18435 * javax/swing/text/PlainDocument.java 18436 (removeUpdate): Don't update the element positions, this should 18437 now be handled by the Positions. 18438 184392005-07-29 Roman Kennke <roman@kennke.org> 18440 18441 * javax/swing/text/BoxView.java: New class. 18442 * javax/swing/text/CompositeView.java: New class. 18443 * javax/swing/text/FlowView.java: New class. 18444 * javax/swing/text/GlyphView.java: New class. 18445 * javax/swing/text/IconView.java: New class. 18446 * javax/swing/text/ParagraphView.java: New class. 18447 * javax/swing/text/StyledEditorKit.java 18448 (UnderLineAction.constructor): Added TODO comment. 18449 (UnderLineAction.actionPerformed): Implemented this method. This 18450 toggles the underline attribute to a piece of content. 18451 (ItalicAction.constructor): Added TODO comment. 18452 (ItalicAction.actionPerformed): Implemented this method. This 18453 toggles the italic attribute to a piece of content. 18454 (BoldAction.constructor): Added TODO comment. 18455 (BoldAction.actionPerformed): Implemented this method. This 18456 toggles the bold attribute to a piece of content. 18457 (AlignmentAction.constructor): Implemented this constructor. 18458 (AlignmentAction.actionPerformed): Implemented this method. This 18459 sets the alignment attribute for a piece of content. 18460 (ForegroundAction.constructor): Implemented this constructor. 18461 (ForegroundAction.actionPerformed): Implemented this method. This 18462 sets the foreground attribute for a piece of content. 18463 (FontSizeAction.constructor): Implemented this constructor. 18464 (FontSizeAction.actionPerformed): Implemented this method. This 18465 sets the font size attribute for a piece of content. 18466 (FontFamilyAction.constructor): Implemented this constructor. 18467 (FontFamilyAction.actionPerformed): Implemented this method. This 18468 sets the font family attribute for a piece of content. 18469 (StyledTextAction.constructor): Removed TODO comment. 18470 (StyledTextAction.getEditor): Implemented this method. 18471 (StyledTextAction.getStyledDocument): Implemented this method. 18472 (StyledTextAction.getStyledEditorKit): Implemented this method. 18473 (StyledTextAction.setCharacterAttributes): Implemented this method. 18474 (StyledTextAction.setParagraphAttributes): Implemented this method. 18475 (StyledViewFactory.constructor): Removed. This is not necessary here. 18476 (StyledViewFactory.create): Implemented this method. 18477 (AttributeTracker): Removed this inner class. 18478 (CaretTracker): New inner class. 18479 (CaretTracker.caretUpdate): Implemented this method. This meeps 18480 track of the caret in a text component and updates some fields 18481 of the StyledEditorKit. 18482 (constructor): Implemented this constructor. 18483 The inputAttributes are initialized here. 18484 (clone): Implemented this method. 18485 (getActions): Implemented this method. 18486 (getInputAttributes): Implemented this method. 18487 (getCharacterAttributeRun): Implemented this method. 18488 (createDefaultDocument): Implemented this method. 18489 (install): Implemented this method. 18490 (deinstall): Implemented this method. 18491 (getViewFactory): Implemented this method. 18492 (createInputAttributes): Implemented this method. 18493 * javax/swing/text/View.java 18494 (modelToView(int, Shape, Position.Bias)): Added new abstract method. 18495 (modelToView(int, Position.Bias, int, Position.Bias, Shape): 18496 New method. 18497 184982005-07-28 Anthony Balkissoon <abalkiss@redhat.com> 18499 18500 * javax/swing/JViewport.java: 18501 (scrollRectToVisible): Consider the x and y position of the viewport 18502 itself when scrolling down. This fixes an off-by-1-pixel problem. 18503 * javax/swing/plaf/basic/BasicListUI.java: 18504 (KeyHandler.keyPressed): Implemented PAGEUP, SHIFT-PAGEUP, PAGEDOWN, 18505 and SHIFT-PAGEDOWN key actions. 18506 185072005-07-28 Lillian Angel <langel@redhat.com> 18508 18509 * java/awt/GridBagLayout.java 18510 (distributeSizeAndWeight): added in check, because OutOfBounds exception 18511 was being raised. 18512 * javax/swing/JTable.java 18513 (setRowHeight): Added in, but not implemented. 18514 * javax/swing/plaf/basic/BasicComboBoxEditor.java 18515 (setItem): added in check, because NullPointerException was being 18516 raised. 18517 * javax/swing/plaf/basic/BasicTreeUI.java 18518 (getPathBounds): Took out unneeded call. 18519 (uninstallListeners): added in check, because NPE was being raised. 18520 (installUI): took out unneeded call. 18521 (paint): Likewise. 18522 (getPreferredSize): Should not assume root is an instance of Default 18523 MutableTreeNode. Changed to use TreeNode instead. 18524 (getCellBounds): Should never return null 18525 (getCellLocation): Took out unneeded call. 18526 185272005-07-28 Anthony Balkissoon <abalkiss@redhat.com> 18528 18529 * javax/swing/plaf/basic/BasicListUI.java: 18530 (KeyHandler.keyPressed): Replaced calls to KeyEvent.isShiftDown() and 18531 isControlDown() with comparisons of KeyEvent.getModifiers() and 18532 InputEvent.SHIFT_MASK and CTRL_MASK. 18533 (MouseInputHandler.mouseClicked): Reordered SHIFT and CTRL modifier 18534 actions to correspond to JDK. Note the JDK simply ignores other 18535 modifiers so isShiftDown() and isControlDown() are okay for mouse 18536 input. 18537 185382005-07-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 18539 18540 * org/omg/DynamicAny/DynUnion.java, 18541 org/omg/DynamicAny/DynUnionOperations.java, 18542 org/omg/DynamicAny/NameDynAnyPair.java, 18543 org/omg/DynamicAny/NameValuePair.java, 18544 org/omg/DynamicAny/DynAny.java, 18545 org/omg/DynamicAny/DynAnyOperations.java, 18546 org/omg/DynamicAny/DynArray.java, 18547 org/omg/DynamicAny/DynArrayOperations.java, 18548 org/omg/DynamicAny/DynEnum.java, 18549 org/omg/DynamicAny/DynEnumOperations.java, 18550 org/omg/DynamicAny/DynFixed.java, 18551 org/omg/DynamicAny/DynFixedOperations.java, 18552 org/omg/DynamicAny/DynSequence.java, 18553 org/omg/DynamicAny/DynSequenceOperations.java, 18554 org/omg/DynamicAny/DynStructOperations.java, 18555 org/omg/DynamicAny/DynStruct.java: New files. 18556 185572005-07-28 Anthony Balkissoon <abalkiss@redhat.com> 18558 18559 * javax/swing/JViewport.java: 18560 (scrollRectToVisible): New method, overrides JComponent method as 18561 intended. 18562 185632005-07-28 Christian Thalinger <twisti@complang.tuwien.ac.at> 18564 18565 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c 18566 (get_raw_values): Add env to getObjectClass call for 64-bit case. 18567 185682005-07-28 David Gilbert <david.gilbert@object-refinery.com> 18569 18570 * java/text/AttributedStringIterator.java: reformatted. 18571 185722005-07-27 Anthony Balkissoon <abalkiss@redhat.com> 18573 18574 * javax/swing/plaf/basic/BasicListUI.java: 18575 (KeyHandler.keyPressed): Ensure the new lead selection index is visible 18576 after making a change. 18577 (MouseInputHandler.mouseClicked): Likewise. 18578 185792005-07-27 Aaron Luchko <aluchko@redhat.com> 18580 18581 * gnu/classpath/jdwp/util/PacketProcessor.java: Implement 18582 PrivilegedAction to allow privilaged operations. 18583 185842005-07-27 Mark Wielaard <mark@klomp.org> 18585 18586 * doc/www.gnu.org/events/events.wml: Add old and upcomming events. 18587 185882005-07-27 Aaron Luchko <aluchko@redhat.com> 18589 18590 * gnu/classpath/jdwp/util/Value.java: Class to read/write JDWP 18591 untagged values and tagged values. 18592 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java: 18593 use new api for Values and IVirtualMachine and fix message in 18594 exception. 18595 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java: 18596 use new api for Values and fix message in exception. 18597 185982005-07-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 18599 18600 * org/omg/PortableServer/POAHelper.java (type, insert, extract, 18601 id, read, write): New methods. 18602 186032005-07-27 David Gilbert <david.gilbert@object-refinery.com> 18604 18605 * java/text/AttributedString.java: added/edited API docs. 18606 186072005-07-27 David Gilbert <david.gilbert@object-refinery.com> 18608 18609 * java/text/AttributedString.java: reformatted. 18610 186112005-07-27 Roman Kennke <roman@kennke.org> 18612 18613 * javax/swing/JTextPane.java: 18614 Reformatted file to match our coding style. 18615 186162005-07-27 Roman Kennke <roman@kennke.org> 18617 18618 * javax/swing/JTextPane.java 18619 (getCharacterAttributes): Return SimpleAttributeSet.EMPTY instead 18620 of null. 18621 186222005-07-27 Roman Kennke <roman@kennke.org> 18623 18624 * javax/swing/plaf/basic/BasicPanelUI.java 18625 (installDefaults): Install background color on JPanel. 18626 * javax/swing/plaf/metal/MetalLookAndFeel.java 18627 (initComponentDefaults): Added background color for Panel. 18628 186292005-07-27 David Gilbert <david.gilbert@object-refinery.com> 18630 18631 * java/text/AttributedCharacterIterator.java: API doc fixes. 18632 186332005-07-27 David Gilbert <david.gilbert@object-refinery.com> 18634 18635 * javax/swing/text/html/parser/DocumentParser.java: reverted API fix. 18636 186372005-07-27 Roman Kennke <roman@kennke.org> 18638 18639 * javax/swing/DefaultBoundedRangeModel.java: 18640 Fixed / added API comments for class description. 18641 * javax/swing/DefaultButtonModel.java: Likewise. 18642 * javax/swing/DefaultCellEditor.java: Likewise. 18643 * javax/swing/DefaultComboBoxModel.java: Likewise. 18644 * javax/swing/DefaultDesktopManager.java: Likewise. 18645 * javax/swing/DefaultButtonModel.java: Likewise. 18646 * javax/swing/DefaultFocusManager.java: Likewise. 18647 * javax/swing/DefaultListCellRenderer.java: Likewise. 18648 * javax/swing/DefaultListModel.java: Likewise. 18649 * javax/swing/DefaultListSelectionModel.java: Likewise. 18650 * javax/swing/DefaultSingleSelectionModel.java: Likewise. 18651 * javax/swing/FocusManager.java: Likewise. 18652 * javax/swing/GrayFilter.java: Likewise. 18653 * javax/swing/ImageIcon.java: Likewise. 18654 * javax/swing/InputMap.java: Likewise. 18655 * javax/swing/InputVerifier.java: Likewise. 18656 * javax/swing/InternalFrameFocusTraversalPolicy.java: Likewise. 18657 * javax/swing/JApplet.java: Likewise. 18658 * javax/swing/JCheckBox.java: Likewise. 18659 * javax/swing/JCheckBoxMenuItem.java: Likewise. 18660 * javax/swing/JColorChooser.java: Likewise. 18661 * javax/swing/JComboBox.java: Likewise. 18662 * javax/swing/JComponent.java: Likewise. 18663 186642005-07-27 Roman Kennke <roman@kennke.org> 18665 18666 * java/util/Properties.java 18667 (getPropertyInternal): Removed. 18668 (getProperty(String)): Search for property here instead of 18669 getProperty(String, String). 18670 (getProperty(String,String)): Call getProperty(String). 18671 186722005-07-27 Roman Kennke <roman@kennke.org> 18673 18674 * java/awt/MenuItem.java 18675 (AccessibleAWTMenuItem.setCurrentAccessibleValue): Removed 18676 duplicate code. Added this to make setEnabled unambiguous for 18677 javac 1.3 compiler. 18678 186792005-07-27 David Gilbert <david.gilbert@object-refinery.com> 18680 18681 * javax/swing/text/html/parser/DocumentParser.java: API doc fixes, 18682 * javax/swing/text/html/parser/DTD.java: likewise, 18683 * javax/swing/text/html/parser/DTDConstants.java: likewise, 18684 * javax/swing/text/html/parser/Element.java: likewise, 18685 * javax/swing/text/html/parser/Parser.java: likewise, 18686 * javax/swing/text/html/parser/ParserDelegator.java: likewise. 18687 186882005-07-27 David Gilbert <david.gilbert@object-refinery.com> 18689 18690 * javax/swing/plaf/metal/MetalLookAndFeel.java 18691 (initComponentDefaults): added menu-related defaults. 18692 186932005-07-26 Aaron Luchko <aluchko@redhat.com> 18694 18695 * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java: 18696 Implemented the ArrayReference CommandSet. 18697 186982005-07-26 Aaron Luchko <aluchko@redhat.com> 18699 18700 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java: 18701 Implemented the ThreadGroupReference CommandSet. 18702 187032005-07-26 Tom Tromey <tromey@redhat.com> 18704 18705 PR classpath/22989: 18706 * java/net/Inet4Address.java (isMCNodeLocal): Use super call. 18707 (isMCOrgLocal): Likewise. 18708 187092005-07-26 Tom Tromey <tromey@redhat.com> 18710 18711 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java 18712 (engineValidate): Fix sense of test. PR classpath/22991. 18713 187142005-07-26 Tom Tromey <tromey@redhat.com> 18715 18716 PR classpath/22992: 18717 * javax/security/sasl/Sasl.java (getSaslClientFactories): Fix 18718 sense of test. 18719 (getSaslServerFactories): Likewise. 18720 187212005-07-26 Thomas Fitzsimmons <fitzsim@redhat.com> 18722 18723 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer): Make 18724 daemon thread. 18725 18726 * gnu/java/awt/peer/gtk/GdkGraphics.java, 18727 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Add 18728 static initializer. 18729 (initStaticState): New method. 18730 Add new global graphics reference state table and macros. 18731 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Regenerate. 18732 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Use new 18733 NSA_GET_G_PTR macro to retreive graphics objects. 18734 * native/jni/gtk-peer/gtkpeer.h: Add new graphics state table and 18735 macros. 18736 187372005-07-26 Anthony Balkissoon <abalkiss@redhat.com> 18738 18739 * javax/swing/plaf/basic/BasicTableUI.java: 18740 (KeyHandler.keyPressed): Replaced calls to KeyEvent.isShiftDown() and 18741 isControlDown() with mask comparisons of KeyEvent.getModifiers() and 18742 InputEvent.SHIFT_MASK and CTRL_MASK. This makes it easier to ignore 18743 invalid modifiers. 18744 187452005-07-26 Anthony Balkissoon <abalkiss@redhat.com> 18746 18747 * javax/swing/plaf/basic/BasicTableUI.java: 18748 (KeyHandler.keyPressed): Implemented CTRL-SPACE key action. 18749 187502005-07-26 Tom Tromey <tromey@redhat.com> 18751 18752 * java/security/cert/X509CertSelector.java (match): Convert sigId 18753 to String before comparison. PR classpath/22987. 18754 187552005-07-26 Tom Tromey <tromey@redhat.com> 18756 18757 * gnu/java/security/OID.java: Typo fix. 18758 187592005-07-26 Tom Tromey <tromey@redhat.com> 18760 18761 * javax/security/auth/x500/X500Principal.java (getName): Don't 18762 compare oid to String. PR classpath/22988. 18763 187642005-07-26 Thomas Fitzsimmons <fitzsim@redhat.com> 18765 18766 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaint): Reuse 18767 repaint timer across repaint calls. 18768 187692005-07-26 Roman Kennke <roman@kennke.org> 18770 18771 * javax/swing/AbstractAction.java 18772 Fixed / Added API doc comments for the class description. 18773 * javax/swing/AbstractButton.java: Likewise. 18774 * javax/swing/AbstractCellEditor.java: Likewise. 18775 * javax/swing/AbstractListModel.java: Likewise. 18776 * javax/swing/AbstractSpinnerModel.java: Likewise. 18777 * javax/swing/ActionMap.java: Likewise. 18778 * javax/swing/BorderFactory.java: Likewise. 18779 * javax/swing/Box.java: Likewise. 18780 * javax/swing/BoxLayout.java: Likewise. 18781 * javax/swing/ButtonGroup.java: Likewise. 18782 * javax/swing/CellRendererPane.java: Likewise. 18783 * javax/swing/ComponentInputMap.java: Likewise. 18784 * javax/swing/DebugGraphics.java: Likewise. 18785 187862005-07-26 Mark Wielaard <mark@klomp.org> 18787 18788 * java/text/DateFormat.java (equals): Reimplement. 18789 187902005-07-26 Roman Kennke <roman@kennke.org> 18791 18792 * javax/swing/plaf/basic/BasicButtonUI.java 18793 (paint): Only call paintFocus if the button is actually focused. 18794 (paintFocus): The default implementation in the BasicLookAndFeel 18795 does nothing. I removed the code here. 18796 187972005-07-26 Roman Kennke <roman@kennke.org> 18798 18799 * javax/swing/plaf/metal/MetalLookAndFeel.java 18800 (initComponentDefaults): Added new borders for MenuBar and MenuItem. 18801 188022005-07-26 Roman Kennke <roman@kennke.org> 18803 18804 * java/util/Properties.java 18805 (getPropertyInternal): New method. Avoids infinite recursion if 18806 getProperty() methods are overridden in subclasses. 18807 (getProperty(String)): Use getPropertyInternal to avoid recursion. 18808 (getProperty(String,String)): Likewise. 18809 188102005-07-26 Mark Wielaard <mark@klomp.org> 18811 18812 * javax/swing/plaf/basic/BasicScrollPaneUI.java 18813 (getPreferredSize): Removed. 18814 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 18815 (getPreferredSize): Removed. 18816 * javax/swing/plaf/basic/BasicToolBarUI.java 18817 (getPreferredSize): Removed. 18818 188192005-07-26 Roman Kennke <roman@kennke.org> 18820 18821 * gnu/java/awt/AWTUtilities.java: 18822 Fixed formatting of this file. 18823 188242005-07-26 David Gilbert <david.gilbert@object-refinery.com> 18825 18826 * javax/swing/plaf/metal/MetalBorders.java: 18827 (MenuBarBorder): new inner class. 18828 188292005-07-26 David Gilbert <david.gilbert@object-refinery.com> 18830 18831 * javax/swing/plaf/metal/MetalBorders.java: 18832 (MenuItemBorder): new inner class. 18833 188342005-07-26 Mark Wielaard <mark@klomp.org> 18835 18836 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 18837 (Java_gnu_java_nio_channels_FileChannelImpl_init): Mark clazz as 18838 unused. Remove unused variables constructor and obj. 18839 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel): Retry 18840 when interrupted. 18841 (Java_gnu_java_nio_channels_FileChannelImpl_available): Likewise. 18842 188432005-07-26 Mark Wielaard <mark@klomp.org> 18844 18845 * gnu/java/nio/channels/FileChannelImpl.java (lockCheck): New method. 18846 (tryLock): Use lockCheck(). 18847 (lock): Likewise. 18848 188492005-07-26 Christian Thalinger <twisti@complang.tuwien.ac.at> 18850 18851 * native/target/generic/target_generic_network.h 18852 (TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT): Added 18853 missing sys/time.h include. 18854 188552005-07-26 Mark Wielaard <mark@klomp.org> 18856 18857 * gnu/java/nio/channels/FileChannelImpl.java (description): 18858 New final field. 18859 (FileChannelImpl): Set description. 18860 (init): Likewise. 18861 (toString): New method. 18862 All methods add parameters when throwing IllegalArgumentException. 18863 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 18864 (open): Add filename to FileNotFoundException. 18865 188662005-07-26 Jeroen Frijters <jeroen@frijters.net> 18867 18868 * NEWS: Added comment about new VMProxy class. 18869 * gnu/classpath/Configuration.java.in 18870 (HAVE_NATIVE_GET_PROXY_CLASS): Removed. 18871 (HAVE_NATIVE_GET_PROXY_DATA): Removed. 18872 (HAVE_NATIVE_GENERATE_PROXY_CLASS): Removed. 18873 * java/lang/reflect/Proxy.java 18874 (getProxyClass): Changed to call VMProxy. 18875 (getProxyClass0): Removed. 18876 (getProxyData0): Removed. 18877 (generateProxyClass0): Removed. 18878 (ProxyData): Removed private modifier. 18879 (POOL): Removed (was unused). 18880 (INVOKESTATIC): Removed (was unused). 18881 * vm/reference/java/lang/reflect/VMProxy.java: New file. 18882 188832005-07-26 Jeroen Frijters <jeroen@frijters.net> 18884 18885 * NEWS: Added comment about new VM hook in VMClassLoader. 18886 188872005-07-26 David Gilbert <david.gilbert@object-refinery.com> 18888 18889 * javax/swing/text/DateFormatter.java: API doc fixes, 18890 * javax/swing/text/InternationalFormatter.java: likewise, 18891 * javax/swing/text/JTextComponent.java: likewise. 18892 188932005-07-26 Mark Wielaard <mark@klomp.org> 18894 18895 * examples/Makefile.am (clean-local): Use rm -rf. 18896 188972005-07-26 Jeroen Frijters <jeroen@frijters.net> 18898 18899 * vm/reference/java/lang/VMClassLoader.java 18900 (USE_VM_CACHE): Removed final modifier. 18901 189022005-07-25 Thomas Fitzsimmons <fitzsim@redhat.com> 18903 18904 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaint): Implement 18905 timed repaint. 18906 (updateCursorImmediately): Implement. 18907 (RepaintTimerTask): New class. 18908 * gnu/java/awt/peer/gtk/GtkImageConsumer.java (imageComplete): 18909 Don't remove consumer if source is a MemoryImageSource. 18910 189112005-07-25 Archie Cobbs <archie@dellroad.org> 18912 18913 * native/jni/classpath/native_state.c: add assertion for object type 18914 189152005-07-25 Anthony Balkissoon <abalkiss@redhat.com> 18916 18917 * javax/swing/plaf/basic/BasicTableUI.java: 18918 (KeyHandler.advanceSingleSelection): New method. Helper method for 18919 ENTER, SHIFT-ENTER, TAB, and SHIFT-TAB key events. 18920 (KeyHandler.advanceMultipleSelection): Likewise, used when the table 18921 has multiple selections at the time that ENTER or TAB was pressed. 18922 (KeyHandler.keyPressed): Implemented TAB, SHIFT-TAB, and SHIFT-ENTER 18923 and merged these with existing code for ENTER event, because of the 18924 similarites. 18925 189262005-07-25 Tom Tromey <tromey@redhat.com> 18927 18928 * java/text/CollationKey.java (equals): Use Arrays.equals. 18929 PR classpath/22986. 18930 189312005-07-25 Tom Tromey <tromey@redhat.com> 18932 18933 * java/util/Properties.java (load): Handle case where backslash 18934 appears at EOF when reading the key. PR classpath/22994. 18935 189362005-07-25 Lillian Angel <langel@redhat.com> 18937 18938 * javax/swing/plaf/basic/BasicTreeUI.java 18939 (paint): moved code to paintNode 18940 (getCellBounds): width increased, slightly short before 18941 (paintNode): changed to paint node depending if icons exist 18942 189432005-07-25 Guilhem Lavaux <guilhem@kaffe.org> 18944 18945 * native/jni/classpath/jcl.c, 18946 native/jni/classpath/jcl.h 18947 (JCL_NewRawDataObject): New function. 18948 (JCL_GetRawData): New function. 18949 189502005-07-25 Anthony Balkissoon <abalkiss@redhat.com> 18951 18952 * java/awt/Container.java: 18953 (setFocusTraversalKeys): Instantiate focusTraversalKeys to an array of 18954 size 4, not 3. This must have been a typo. 18955 189562005-07-25 Jeroen Frijters <jeroen@frijters.net> 18957 18958 * java/rmi/server/RMIClassLoader.java 18959 (loadClass(String, String)): Use Class.forName() instead of 18960 directly calling ClassLoader.loadClass(), to handle array 18961 types correctly. 18962 189632005-07-25 Anthony Balkissoon <abalkiss@redhat.com> 18964 18965 * javax/swing/JTable.java: 18966 (selectAll): Store the lead selection indices and restore them after 18967 selecting all cells. 18968 * javax/swing/plaf/basic/BasicTableUI.java: 18969 (KeyHandler.keyPressed): Changed the criteria for "only one selection" 18970 when the ENTER key is pressed to match the behavior of the JDK. Also 18971 replaced direct code for CTRL-A with call to JTable.selectAll(). 18972 189732005-07-25 Jeroen Frijters <jeroen@frijters.net> 18974 18975 * java/lang/ClassLoader.java 18976 (loadedClasses): Set based on VMClassLoader.VM_USE_CACHE. 18977 (defineClass): Modified to respect VMClassLoader.VM_USE_CACHE. 18978 * vm/reference/java/lang/VMClassLoader.java 18979 (VM_USE_CACHE): New field. 18980 189812005-07-25 Roman Kennke <roman@kennke.org> 18982 18983 * gnu/java/awt/AWTUtilities.java: 18984 Added methods from SwingUtilities so that AWT does not have to 18985 depend on Swing. 18986 * java/awt/Component.java: 18987 Reverted my DEFAULT_FONT patch from yesterday. This does not 18988 seem to work with the Gtk peers. 18989 * java/awt/Container.java 18990 (addImpl): Call addNotify() on the added child. Invalidate not 18991 only the container but also the added child. Repaint the container. 18992 (remove): Repaint the container. 18993 (invalidate): Also invalidate the LayoutManager. 18994 (invalidateTree): Call super.invalidate to invalidate the container 18995 itself. Also invalidate the LayoutManager. 18996 (setFont): Only set the font if the specified argument actually 18997 differs from the current font. 18998 (preferredSize): Optimized this method so the LayoutManager is only 18999 called if the layout is invalid. Otherwise we return the preferred 19000 size that has been stored during last validation/layout. 19001 (getAlignmentX): Despite common belief, this method does _not_ 19002 call the LayoutManagers getAlignmentX in the JDK. So we also don't. 19003 (getAlignmentY): Despite common belief, this method does _not_ 19004 call the LayoutManagers getAlignmentX in the JDK. So we also don't. 19005 (dispatchEventImpl): Let the dispatcher decide if it is enabled 19006 for the incoming event type. 19007 (eventTypeEnabled): Enables only container events for containers. 19008 (addNotifyContainerChildren): Coalesced two if statements into one. 19009 Enable events on the dispatcher for this container. 19010 (LightweightDispatcher): Made this class reentrant. Handle 19011 events enabling/disabling here. 19012 190132005-07-25 Roman Kennke <roman@kennke.org> 19014 19015 * gnu/java/nio/channels/FileChannelImpl.java 19016 (static initializer): Init out, err and in here. 19017 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 19018 (Java_gnu_java_nio_channels_FileChannelImpl_init): Moved init code 19019 for in, out and err to Java code. 19020 190212005-07-25 Mark Wielaard <mark@klomp.org> 19022 19023 * doc/www.gnu.org/faq.wml: Expand contribution assign answer. 19024 190252005-07-25 David Gilbert <david.gilbert@object-refinery.com> 19026 19027 * java/awt/image/ConvolveOp.java: 19028 (getKernel): return a clone of the kernel. 19029 190302005-07-25 Jeroen Frijters <jeroen@frijters.net> 19031 19032 * java/lang/ClassLoader.java 19033 (findLoadedClass): Call VMClassLoader.findLoadedClass. 19034 * vm/reference/java/lang/VMClassLoader.java 19035 (findLoadedClass): New method. 19036 190372005-07-23 Mark Wielaard <mark@klomp.org> 19038 19039 * lib/standard.omit: Don't omit gnu/javax/swing/plaf/gtk files. 19040 * lib/Makefile.am (dist-hook): Don't remove standard.omit dirs. 19041 19042 * gnu/javax/swing/plaf/gtk/GtkBorders.java: Removed. 19043 * gnu/javax/swing/plaf/gtk/GtkCheckBoxUI.java: Likewise. 19044 * gnu/javax/swing/plaf/gtk/GtkIconFactory.java: Likewise. 19045 * gnu/javax/swing/plaf/gtk/GtkLookAndFeel.java: Likewise. 19046 * gnu/javax/swing/plaf/gtk/GtkRadioButtonUI.java: Likewise. 19047 * gnu/javax/swing/plaf/gtk/GtkSliderUI.java: Likewise. 19048 * gnu/javax/swing/plaf/gtk/README: Likewise. 19049 * gnu/javax/swing/plaf/gtk/SliderTest.java: Likewise. 19050 190512003-07-23 Casey Marshall <csm@gnu.org> 19052 19053 * configure.ac (AC_CHECK_HEADERS): add 'sys/mman.h'. 19054 (AC_CHECK_FUNCS): add mmap and related functions. 19055 * include/java_nio_VMDirectByteBuffer.h: regenerated. 19056 * java/nio/DirectByteBufferImpl.java (put): new method. 19057 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 19058 (ALIGN_DOWN): new macro. 19059 (ALIGN_UP): new macro. 19060 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): implemented. 19061 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: updated 19062 copyright years. 19063 (ALIGN_DOWN): new macro. 19064 (ALIGN_UP): new macro. 19065 (get_pagesize): new function. 19066 (get_raw_values): new function. 19067 (Java_java_nio_MappedByteBufferImpl_unmapImpl): implemented. 19068 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl): implemented. 19069 (Java_java_nio_MappedByteBufferImpl_loadImpl): implemented. 19070 (Java_java_nio_MappedByteBufferImpl_forceImpl): implemented. 19071 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c 19072 (Java_java_nio_VMDirectByteBuffer_put): renamed to 19073 'Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2IB.' 19074 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_RawData_2I_3BII): 19075 call 'ReleaseByteArrayElements' on the source byte array elements. 19076 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_RawData_2I_3BII): 19077 new method. 19078 * vm/reference/java/nio/VMDirectByteBuffer.java (put): new method. 19079 190802005-07-23 David Gilbert <david.gilbert@object-refinery.com> 19081 19082 * javax/swing/BoundedRangeModel.java: added/updated API doc comments. 19083 190842005-07-23 David Gilbert <david.gilbert@object-refinery.com> 19085 19086 * javax/swing/Icon.java: added API doc comments. 19087 190882005-07-23 David Gilbert <david.gilbert@object-refinery.com> 19089 19090 * java/text/AttributedString.java: API doc fixes, 19091 * java/text/ChoiceFormat.java: likewise, 19092 * java/text/CollationElementIterator.java: likewise, 19093 * java/text/CollationKey.java: likewise, 19094 * java/text/Collator.java: likewise, 19095 * java/text/DateFormat.java: likewise, 19096 * java/text/DateFormatSymbols.java: likewise, 19097 * java/text/DecimalFormatSymbols.java: likewise, 19098 * java/text/MessageFormat.java: likewise, 19099 * java/text/NumberFormat.java: likewise, 19100 * java/text/ParseException.java: likewise, 19101 * java/text/SimpleDateFormat.java: likewise, 19102 * java/text/StringCharacterIterator.java: likewise. 19103 191042005-07-23 David Gilbert <david.gilbert@object-refinery.com> 19105 19106 * javax/swing/ImageIcon.java: API doc fixes, 19107 * javax/swing/JLayeredPane.java: likewise, 19108 * javax/swing/JSplitPane.java: likewise, 19109 * javax/swing/JTree.java: likewise, 19110 * javax/swing/JViewport.java: likewise, 19111 * javax/swing/RepaintManager.java: likewise, 19112 * javax/swing/SizeRequirements.java: likewise, 19113 * javax/swing/SortingFocusTraversalPolicy.java. 19114 191152005-07-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 19116 19117 * org/omg/PortableServer/ServantLocatorOperations.java, 19118 org/omg/PortableServer/ServantActivatorOperations.java: 19119 Inherit from ServantManagerOperations. 19120 * org/omg/PortableServer/CurrentOperations.java: 19121 Inherit from org.omg.CORBA.CurrentOperations. 19122 org/omg/PortableServer/ForwardRequestHelper.java: New file. 19123 191242005-07-23 Sven de Marothy <sven@physto.se> 19125 19126 * java/awt/List.java (List): Initialize selected[] to an empty array. 19127 191282005-07-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 19129 19130 * NEWS: Added entry about POA. 19131 191322005-07-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 19133 19134 * org/omg/PortableServer/RequestProcessingPolicyOperations.java, 19135 org/omg/PortableServer/ServantRetentionPolicyOperations.java, 19136 org/omg/PortableServer/ThreadPolicyOperations.java, 19137 org/omg/PortableServer/IdAssignmentPolicyOperations.java, 19138 org/omg/PortableServer/IdUniquenessPolicyOperations.java, 19139 org/omg/PortableServer/ImplicitActivationPolicyOperations.java, 19140 org/omg/PortableServer/LifespanPolicyOperations.java: 19141 Inherit from PolicyOperations. 19142 191432005-07-22 Anthony Balkissoon <abalkiss@redhat.com> 19144 19145 * javax/swing/plaf/basic/BasicTableUI.java: 19146 (KeyHandler.keyPressed): If row selection is not allowed in the table, 19147 then consider all rows of a particular column selected when you get an 19148 ENTER key event. This matches JDK behaviour and fixes an out of 19149 bounds error. Also, wrapped lines at 80 chars. 19150 191512005-07-22 Anthony Balkissoon <abalkiss@redhat.com> 19152 19153 * javax/swing/plaf/basic/BasicTableUI.java: 19154 (paint): Only highlight the border of a table cell if it is the most 19155 recently updated cell. 19156 191572005-07-22 Anthony Balkissoon <abalkiss@redhat.com> 19158 19159 * javax/swing/plaf/basic/BasicListUI.java: 19160 (paintCell): Fixed misnamed variable. 19161 191622005-07-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 19163 19164 * gnu/CORBA/Poa/gnuPOA.java, 19165 gnu/CORBA/Poa/gnuPOAManager.java, 19166 gnu/CORBA/Poa/activeObjectMap.java, 19167 gnu/CORBA/Poa/gnuAdapterActivator.java, 19168 gnu/CORBA/Poa/gnuServantObject.java, 19169 gnu/CORBA/Poa/servantDelegate.java, 19170 gnu/CORBA/Poa/ORB_1_4.java, 19171 gnu/CORBA/Poa/policySets.java, 19172 gnu/CORBA/Poa/gnuPoaCurrent.java, 19173 gnu/CORBA/Poa/LocalDelegate.java, 19174 gnu/CORBA/Poa/dynImpHandler.java, 19175 gnu/CORBA/Poa/LocalServerRequest.java, 19176 gnu/CORBA/Poa/LocalRequest.java, 19177 gnu/CORBA/Poa/ForwardedServant.java, 19178 gnu/CORBA/Poa/gnuIdAssignmentPolicy.java, 19179 gnu/CORBA/Poa/gnuRequestProcessingPolicy.java, 19180 gnu/CORBA/Poa/gnuThreadPolicy.java, 19181 gnu/CORBA/Poa/gnuLifespanPolicy.java, 19182 gnu/CORBA/Poa/gnuIdUniquenessPolicy.java, 19183 gnu/CORBA/Poa/gnuServantRetentionPolicy.java, 19184 gnu/CORBA/Poa/gnuImplicitActivationPolicy.java, 19185 gnu/CORBA/Poa/gnuForwardRequest.java, 19186 gnu/CORBA/ForwardRequestHelper.java, 19187 gnu/CORBA/Poa/vPolicy.java, 19188 gnu/CORBA/Poa/ForwardRequestHolder.java, 19189 org/omg/PortableServer/POA.java, 19190 org/omg/PortableServer/POAManagerOperations.java, 19191 org/omg/PortableServer/POAOperations.java, 19192 org/omg/PortableServer/Servant.java, 19193 org/omg/PortableServer/DynamicImplementation.java, 19194 org/omg/PortableServer/ServantActivator.java, 19195 org/omg/PortableServer/ServantActivatorOperations.java, 19196 org/omg/PortableServer/ServantLocator.java, 19197 org/omg/PortableServer/ServantLocatorOperations.java, 19198 org/omg/PortableServer/ServantManager.java, 19199 org/omg/PortableServer/Current.java, 19200 org/omg/PortableServer/CurrentHelper.java, 19201 org/omg/PortableServer/CurrentOperations.java, 19202 org/omg/PortableServer/_ServantLocatorStub.java, 19203 org/omg/PortableServer/portable/Delegate.java, 19204 org/omg/PortableServer/ServantActivatorHelper.java, 19205 org/omg/PortableServer/_ServantActivatorStub.java, 19206 org/omg/PortableServer/ServantLocatorHelper.java, 19207 org/omg/PortableServer/ServantActivatorPOA.java, 19208 org/omg/PortableServer/ServantLocatorPOA.java, 19209 org/omg/PortableServer/AdapterActivatorOperations.java, 19210 org/omg/PortableServer/AdapterActivator.java, 19211 org/omg/PortableServer/POAHelper.java, 19212 org/omg/PortableServer/ServantManagerOperations.java, 19213 org/omg/PortableServer/POAManager.java, 19214 org/omg/PortableServer/package.html: New files. 19215 * org/omg/CORBA/ORB.java: Documented POA features. 19216 gnu/CORBA/gnuRequest.java (_releaseReply, equals): Mind that 19217 the delegate can be null. 19218 * gnu/CORBA/IOR_Delegate.java, 19219 gnu/CORBA/Functional_ORB.java, 19220 org/omg/CORBA/portable/ObjectImpl.java, 19221 gnu/CORBA/Connected_objects.java: Rewritten. 19222 * gnu/CORBA/Simple_delegate.java (is_equivalent): This method 19223 is rewritten. 19224 * gnu/CORBA/ServiceRequestAdapter.java: Added return value support. 19225 192262005-07-22 Anthony Balkissoon <abalkiss@redhat.com> 19227 19228 * javax/swing/plaf/basic/BasicListUI.java: 19229 (paintCell): Set hasFocused to true if the cell is the lead selection 19230 index and if the list has focus. 19231 * javax/swing/plaf/basic/BasicLookAndFeel.java: 19232 (initComponentDefaults): Added List.focusCellHighlightBorder default. 19233 192342005-07-22 Aaron Luchko <aluchko@redhat.com> 19235 19236 * gnu/classpath/jdwp/processor/ArrayTypeCommandSet.java: 19237 Implemented the ArrayType CommandSet. 19238 192392005-07-22 Roman Kennke <roman@kennke.org> 19240 19241 * javax/swing/plaf/metal/MetalLookAndFeel.java 19242 (initComponentDefaults): Added defaults for ToggleButton. 19243 192442005-07-22 Roman Kennke <roman@kennke.org> 19245 19246 * java/awt/Component.java 19247 (setForeground): Fire PropertyChangeEvent after the foreground 19248 has actually changed, instead of before. 19249 (setBackground): Fire PropertyChangeEvent after the foreground 19250 has actually changed, instead of before. Avoid one comparison 19251 at the beginning of method. 19252 (getBackground): If background is null and parent is null, return 19253 null, instead of SystemColor.window. This is what it's supposed 19254 to do. 19255 (getFont): Avoid NPE by creating a local reference. Return 19256 static final DEFAULT_FONT instead of creating a new font every time 19257 we and our parents have no font set. 19258 (setFont): Made check for font equality more precise. 19259 (paramString): Added parent in paramString. 19260 192612005-07-22 Roman Kennke <roman@kennke.org> 19262 19263 * javax/swing/JToggleButton.java 19264 (ToggleButtonModel.setPressed): Fixed order in which events 19265 get fired. 19266 192672005-07-22 Roman Kennke <roman@kennke.org> 19268 19269 * javax/swing/DefaultButtonModel.java 19270 (setPressed): Changed order in which the events get fired. The 19271 ActionEvent must be fired before the ChangeEvent gets fired. 19272 192732005-07-22 Roman Kennke <roman@kennke.org> 19274 19275 * java/awt/Component.java 19276 (show): Instead of invalidating the component, only invalidate 19277 the parent, if there is one. Also repaint this parent. 19278 Also, avoid NPEs by creating local references. 19279 (hide): Instead of invalidating the component, only invalidate 19280 the parent, if there is one. Also repaint this parent. 19281 Also, avoid NPEs by creating local references. 19282 192832005-07-22 David Gilbert <david.gilbert@object-refinery.com> 19284 19285 * javax/swing/plaf/basic/BasicButtonUI.java: API doc fixes, 19286 * javax/swing/plaf/basic/BasicRadioButtonUI.java: likewise, 19287 * javax/swing/plaf/basic/BasicTreeUI.java: likewise. 19288 192892005-07-22 David Gilbert <david.gilbert@object-refinery.com> 19290 19291 * javax/swing/plaf/metal/MetalCheckBoxIcon.java: API doc fixes, 19292 * javax/swing/plaf/metal/MetalIconFactory.java: likewise. 19293 192942005-07-22 David Gilbert <david.gilbert@object-refinery.com> 19295 19296 * javax/swing/text/html/HTMLEditorKit.java: API doc fixes. 19297 192982005-07-22 David Gilbert <david.gilbert@object-refinery.com> 19299 19300 * javax/swing/tree/AbstractLayoutCache.java: API doc fixes, 19301 * javax/swing/tree/DefaultTreeCellRenderer.java: likewise, 19302 * javax/swing/tree/DefaultTreeModel.java: likewise, 19303 * javax/swing/tree/FixedHeightLayoutCache: likewise. 19304 193052005-07-22 Roman Kennke <roman@kennke.org> 19306 19307 * javax/swing/plaf/metal/MetalToggleButtonUI.java 19308 (constructor): Initialize colors. 19309 (getFocusColor): Fetches the focus property from the UIDefaults. 19310 (getSelectColor): Fetches the select property from the UIDefaults. 19311 (getDisabledTextColor): Fetches the disabledText property from the 19312 UIDefaults. 19313 193142005-07-21 Anthony Balkissoon <abalkiss@redhat.com> 19315 19316 * javax/swing/plaf/basic/BasicTableUI.java: 19317 (KeyHandler.updateSelection): Update the ListSelectionModels even if 19318 rowSelectionAllowed or columnSelectionAllowed is false. This 19319 complies with the JDK. 19320 (KeyHandler.keyPressed): Implemented the ENTER key action. 19321 193222005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19323 19324 * javax/swing/plaf/BorderUIResource.java: API doc fixes, 19325 * javax/swing/plaf/FileChooserUI.java: likewise, 19326 * javax/swing/plaf/TextUI.java: likewise, 19327 * javax/swing/plaf/UIResource.java: likewise. 19328 193292005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19330 19331 * javax/swing/event/EventListenerList.java: API doc fixes, 19332 * javax/swing/event/MenuKeyEvent.java: likewise, 19333 * javax/swing/event/TreeSelectionEvent.java: likewise. 19334 193352005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19336 19337 * javax/swing/border/AbstractBorder.java: API doc fixes, 19338 * javax/swing/border/BevelBorder.java: likewise, 19339 * javax/swing/border/EtchedBorder.java: likewise, 19340 * javax/swing/border/LineBorder.java: likewise, 19341 * javax/swing/border/SoftBevelBorder.java: likewise, 19342 * javax/swing/border/TitledBorder.java: likewise. 19343 193442005-07-21 Roman Kennke <roman@kennke.org> 19345 19346 * javax/swing/plaf/metal/MetalButtonUI.java 19347 (constructor): Initialize colors. 19348 (getFocusColor): Fetches the focus property from the UIDefaults. 19349 (getSelectColor): Fetches the select property from the UIDefaults. 19350 (getDisabledTextColor): Fetches the disabledText property from the 19351 UIDefaults. 19352 193532005-07-21 Roman Kennke <roman@kennke.org> 19354 19355 * javax/swing/text/GapContent.java 19356 (replace): New method. Replaces a chunk of the buffer with 19357 another chunk. 19358 193592005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19360 19361 * javax/swing/AbstractListModel.java: API doc fixes, 19362 * javax/swing/BorderFactory.java: likewise, 19363 * javax/swing/BoundedRangeModel.java: likewise, 19364 * javax/swing/BoxLayout.java: likewise, 19365 * javax/swing/CellRendererPane.java: likewise, 19366 * javax/swing/ComponentInputMap.java: likewise, 19367 * javax/swing/DefaultBoundedRangeModel.java: likewise, 19368 * javax/swing/DefaultButtonModel.java: likewise, 19369 * javax/swing/DefaultCellEditor.java: likewise, 19370 * javax/swing/InputMap.java: likewise, 19371 * javax/swing/JButton.java: likewise, 19372 * javax/swing/JFrame.java: likewise, 19373 * javax/swing/JLabel.java: likewise, 19374 * javax/swing/JMenuBar.java: likewise, 19375 * javax/swing/JPopupMenu.java: likewise, 19376 * javax/swing/JScrollBar.java: likewise, 19377 * javax/swing/JScrollPane.java: likewise, 19378 * javax/swing/JSeparator.java: likewise, 19379 * javax/swing/JSlider.java: likewise, 19380 * javax/swing/JSpinner.java: likewise, 19381 * javax/swing/JTextArea.java: likewise, 19382 * javax/swing/JToggleButton.java: likewise, 19383 * javax/swing/SpinnerListModel.java: likewise, 19384 * javax/swing/Spring.java: likewise, 19385 * javax/swing/SpringLayout.java: likewise. 19386 193872005-07-21 Lillian Angel <langel@redhat.com> 19388 * javax/swing/plaf/basic/BasicTreeUI.java 19389 (getPreferredSize): Changed to depend on visible nodes. 19390 (mouseClicked): Fixed to keep track of last cell clicked, so expand/collapse 19391 works properly by clicking 2 times on the same cell. 19392 193932005-07-21 Roman Kennke <roman@kennke.org> 19394 19395 * javax/swing/JComponent.java 19396 (putClientProperty): If value == null, remove the key from the 19397 Hashtable, otherwise we would get an NPE here. 19398 193992005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19400 19401 * javax/swing/plaf/basic/BasicSliderUI.java: 19402 (thumbHeight): removed, 19403 (thumbWidth): removed, 19404 (tickHeight): removed, 19405 (installDefaults): deleted initialisation of thumbHeight, thumbWidth 19406 and thumbRect, 19407 (getPreferredHorizontalSize): changed source of thumb height and width, 19408 (getPreferredVerticalSize): likewise, 19409 (getMinimumHorizontalSize): reimplemented, 19410 (getMinimumVerticalSize): reimplemented, 19411 (getMinimumSize): reimplemented, 19412 (getMaximumSize): reimplemented, 19413 (calculateThumbSize): use getThumbSize(), 19414 (calculateThumbLocation): use trackRect not contentRect, 19415 (calculateTrackBuffer): use half the thumbRect, 19416 (getThumbSize): use constant size, 19417 (calculateTrackRect): move track down to middle of contentRect, 19418 (getTickLength): return constant, 19419 (paintTrack): removed unused local variables, 19420 (paintTicks): apply a translation to g temporarily before calling 19421 methods to draw ticks, add 0.5 to solve rounding problem, 19422 (paintMinorTickForHorizSlider): modified to account for translation 19423 already applied to g, 19424 (paintMajorTickForHorizSlider): likewise, 19425 (paintMinorTickForVertSlider): likewise, 19426 (paintMajorTickForVertSlider): likewise, 19427 (xPositionForValue): subtract 1 from width, 19428 (yPositionForValue): likewise, 19429 *javax/swing/plaf/metal/MetalLookAndFeel.java 19430 (initComponentDefaults): add slider defaults, 19431 *javax/swing/plaf/metal/MetalSliderUI.java: implemented missing 19432 methods, 19433 * examples/gnu/classpath/examples/swing/Demo.java 19434 (mkSliders): added minor ticks and labels. 19435 194362005-07-21 Roman Kennke <roman@kennke.org> 19437 19438 * javax/swing/AbstractButton.java 19439 (init): Only set icon if the supplied icon is not null. Otherwise 19440 we would override icons that are possibly set by the UI. 19441 * javax/swing/plaf/basic/BasicIconFactory.java 19442 (CheckBoxIcon): An new Icon implementation used for CheckBoxes 19443 in the Basic L&F. 19444 (RadioButtonIcon): An new Icon implementation used for 19445 RadioButtons in the Basic L&F. 19446 (getCheckBoxIcon): Now returns a (cached) instance of CheckBoxIcon 19447 instead of the (wrong) inner icon implementation. 19448 (getRadioButtonIcon): Now returns a (cached) instance of 19449 RadioButtonIcon instead of the (wrong) inner icon implementation. 19450 * javax/swing/plaf/basic/BasicLookAndFeel.java 19451 (initComponentDefaults): Registered new icons for CheckBox and 19452 RadioButton, using a LazyValue entry. 19453 * javax/swing/plaf/basic/BasicRadioButtonUI.java 19454 Added API documentation all over. 19455 (installUI): Removed this method. 19456 (installDefaults): New method. Installs the default icons if there 19457 is no other icon set. 19458 (getPropertyPrefix): New method. Returns the prefix that is used 19459 to look up UIDefault entries. 19460 (getDefaultIcon): Use propertyPrefix instead of hardcoded property. 19461 (paint): New method. Override paint for customized painting 19462 of RadioButtons. 19463 * javax/swing/plaf/metal/MetalCheckBoxIcon.java 19464 (drawCheck): Respect the x and y parameter. 19465 * javax/swing/plaf/metal/MetalIconFactory.java 19466 (RadioButtonIcon): An Icon implementation for Metal RadioButtons. 19467 (getRadioButtonIcon): New method. Returns a shared instance of 19468 RadioButtonIcon. 19469 * javax/swing/plaf/metal/MetalLookAndFeel.java 19470 (initComponentDefaults): Register new icons for CheckBox and 19471 RadioButton using a LazyValue entry. 19472 194732005-07-21 Roman Kennke <roman@kennke.org> 19474 19475 * javax/swing/JOptionPane.java 19476 (createInternalFrame): Look for a JDesktopPane first, then 19477 look for a JLayeredPane as fallback. Set this JOptionPane as 19478 contentPane for the found JDesktopPane. Make the InternalFrame 19479 visible and appropriatly sized here. 19480 (showInternalConfirmDialog): ALL VARIANTS OF THIS METHOD: 19481 Adjusted call to startModel to only take one parameter. 19482 (showInternalInputDialog): ALL VARIANTS OF THIS METHOD: 19483 Adjusted call to startModel to only take one parameter. 19484 (showInternalMessageDialog): ALL VARIANTS OF THIS METHOD: 19485 Adjusted call to startModel to only take one parameter. 19486 (showInternalOptionDialog): ALL VARIANTS OF THIS METHOD: 19487 Adjusted call to startModel to only take one parameter. 19488 (startModal): Now only takes one parameter. This method does no 19489 longer add the JOptionPane to the contentPane of the InternalFrame, 19490 set the size and make the InternalFrame visible. This is done in 19491 createInternalFrame. 19492 194932005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19494 19495 * javax/swing/DefaultListSelectionModel.java: API doc fixes. 19496 194972005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19498 19499 * javax/swing/AbstractButton.java: API doc fixes all over. 19500 195012005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19502 19503 * javax/swing/UIDefaults.java 19504 (getFont(Object, Locale)): matched argument name to API doc comment, 19505 (getColor(Object, Locale)): likewise, 19506 (getIcon(Object, Locale)): likewise, 19507 (getBorder(Object, Locale)): likewise, 19508 (getString(Object, Locale)): likewise, 19509 (getInt(Object, Locale)): likewise, 19510 (getBoolean(Object, Locale)): likewise, 19511 (getInsets(Object, Locale)): likewise, 19512 (getDimension(Object, Locale)): likewise. 19513 195142005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19515 19516 * javax/swing/JComponent.java: API doc fixes all over. 19517 195182005-07-21 David Gilbert <david.gilbert@object-refinery.com> 19519 19520 * java/net/URLClassLoader.java: reordered some API doc comments to 19521 suppress Eclipse warnings, and fixed API doc link. 19522 195232005-07-20 Anthony Balkissoon <abalkiss@redhat.com> 19524 19525 * java/awt/BorderLayout.java: 19526 (layoutContainer): Removed addition of horizontal and vertical gaps 19527 when there is no corresponding adjacent component. 19528 195292005-07-20 Anthony Balkissoon <abalkiss@redhat.com> 19530 19531 * javax/swing/JTable: 19532 (JTable): Set the lead selection index for each of the two lists 19533 associated with this table to 0 (instead of -1). This complies with 19534 JDK. 19535 * javax/swing/plaf/basic/BasicTableUI.java: 19536 (KeyHandler.keyPressed): Implemented the following key actions (with 19537 CTRL/SHIFT handling when appropriate): UP/DOWN/LEFT/RIGHT, HOME/END, 19538 CTRL-A, CTRL-\, CTRL-/. 19539 195402005-07-20 Anthony Balkissoon <abalkiss@redhat.com> 19541 19542 * javax/swing/plaf/basic/BasicListUI.java: 19543 (KeyHandler.keyPressed): Restore the lead selection index after doing 19544 a "select all" operation. 19545 195462005-07-20 Lillian Angel <langel@redhat.com> 19547 19548 * javax/swing/plaf/basic/BasicTreeUI.java 19549 (keyPressed): Implemented some more VK_XXX and VK_KP_XXX events. 19550 195512005-07-20 Aaron Luchko <aluchko@redhat.com> 19552 19553 * gnu/classpath/jdwp/processor/ClassObjectReferenceCommandSet.java: 19554 Implemented the ClassObjectReference CommandSet. 19555 195562005-07-20 Roman Kennke <roman@kennke.org> 19557 19558 * javax/swing/plaf/basic/BasicLookAndFeel.java 19559 (initComponentDefaults): Added value for InternalFrame.icon. 19560 * javax/swing/plaf/basic/BasicInternalFrameUI.java 19561 (installDefaults): Install icon from UIDefaults. 19562 195632005-07-20 Roman Kennke <roman@kennke.org> 19564 19565 * javax/swing/plaf/basic/BasicOptionPaneUI.java 19566 (createSeparator): Return null here. 19567 (installComponents): Don't add a separator in the OptionPane. 19568 195692005-07-20 Lillian Angel <langel@redhat.com> 19570 19571 * javax/swing/plaf/basic/BasicTreeUI.java 19572 (paint): Changed to paint children of root as roots if the 19573 root is not visible, but the root path is expanded. 19574 (getPathForRow): If the root is not visible, but expanded, 19575 the first child should be considered row 0. 19576 (getRowCount): Likewise. 19577 (getPathBounds): Likewise. 19578 (getCellLocation): If root is not visible, but expanded, the 19579 level of each node is lowered by 1. 19580 (paintRecursive): If root is not visible, but expanded, there should 19581 be no indentation when the children are drawn. Also, there should be no 19582 line drawn connecting the children. This makes it look like there are 2 19583 independant trees (works same as JDK). 19584 195852005-07-20 Roman Kennke <roman@kennke.org> 19586 19587 * javax/swing/plaf/basic/BasicInternalFrameUI.java 19588 (installUI): Moved titlePane.setOpaque() call into 19589 BasicInternalFrameTitlePane's constructor. 19590 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 19591 (constructor): Moved titlePane.setOpaque() call from 19592 BasicInternalFrameUI.installUI into this constructor. 19593 195942005-07-20 Roman Kennke <roman@kennke.org> 19595 19596 * javax/swing/JOptionPane.java 19597 (createInternalFrame): Look up the nearest JLayeredPane instead 19598 of JDesktopPane. This is in contrast to the specs but what the JDK 19599 does and what makes sense. 19600 196012005-07-20 Roman Kennke <roman@kennke.org> 19602 19603 * javax/swing/SwingUtilities.java: 19604 Made class description more concise. 19605 196062005-07-20 Roman Kennke <roman@kennke.org> 19607 19608 * javax/swing/JButton.java: 19609 Made class description more concise. 19610 196112005-07-20 Roman Kennke <roman@kennke.org> 19612 19613 * javax/swing/JButton.java 19614 (AccessibleJButton): Added accessibility support for JButton. 19615 (getAccessibleContext): Implemented to return an AccessibleJButton. 19616 * javax/swing/JLabel.java 19617 (AccessibleJLabel): Added accessibility support for JLabel. 19618 (getAccessibleContext): Implemented to return an AccessibleJLabel. 19619 196202005-07-20 David Gilbert <david.gilbert@object-refinery.com> 19621 19622 * javax/swing/JSlider.java 19623 (setMinimum): fire PropertyChangeEvent for new value, 19624 (setMaximum): likewise, 19625 (setSnapToTicks): fire PropertyChangeEvent, not ChangeEvent, 19626 (setPaintTrack): fire PropertyChangeEvent for new value, 19627 (setPaintLabels): initialise label table. 19628 196292005-07-20 Roman Kennke <roman@kennke.org> 19630 19631 * javax/swing/JLayeredPane.java: 19632 Fixed and extended API documentation / class description. 19633 196342005-07-20 Roman Kennke <roman@kennke.org> 19635 19636 * javax/swing/Action.java: 19637 Fixes the class description to be more concise. 19638 196392005-07-20 David Gilbert <david.gilbert@object-refinery.com> 19640 19641 * java/text/AttributedCharacterIterator.java: fixed minor API doc 19642 problems and 80 column wrapping; 19643 * java/text/BreakIterator.java 19644 (getCharacterInstance(Locale)): matched argument name to API docs, 19645 (getLineInstance(Locale)): likewise, 19646 (getSentenceInstance(Locale)): likewise, 19647 (getWordInstance(Locale)): likewise, 19648 and fixed minor API doc problems all over; 19649 * java/text/CharacterIterator.java: fixed minor API doc problems. 19650 196512005-07-19 Audrius Meskauskas <AudriusA@Bioinformatics.org> 19652 19653 * org/omg/PortableServer/ForwardRequest.java: New file. 19654 196552005-17-19 Lillian Angel <langel@redhat.com> 19656 19657 * javax/swing/plaf/BasicTreeUI 19658 (setModel): changed to call JTree's setModel 19659 (setRootVisible): Likewise 19660 (isRootVisible): Likewise 19661 (getClosestPathForLocation): Implemented 19662 (paint): took out translate, no need to. 19663 (mouseClicked): clicking made smoother. 19664 196652005-17-19 Lillian Angel <langel@redhat.com> 19666 19667 * javax/swing/plaf/BasicTreeUI: 19668 Moved several functions around for readability. 19669 Some formatting in various places. 19670 (paint): extended size of border drawn 19671 (mouseClicked): checked if path was null 19672 (getCellLocation): Now package-private. 19673 (paintNode): Implemented, there is no need to paint the leaf and non 19674 leaf separately. Works with custom icons. 19675 (paintRecursive): Now package-private. Changed to paint with paintNode. 19676 (paintControlIcons): Now package-private. 19677 (hasControlIcons): Now package-private. 19678 196792005-17-19 David Gilbert <david.gilbert@object-refinery.com> 19680 19681 * javax/swing/JSlider.java 19682 (createStandardLabels(int)): updated API docs, 19683 (createStandardLabels(int, int)): throw IllegalArgumentException for 19684 bad arguments. 19685 196862005-17-18 Lillian Angel <langel@redhat.com> 19687 19688 * javax/swing/plaf/BasicTreeUI 19689 (getPathBounds): checked if path was null initially 19690 (paint): no need to check for control icons 19691 (paintLeaf): reseting of icon 19692 (paintNonLeaf): resetting of icon 19693 (paintControlIcons): cleaned up 19694 (hasControlIcons): cleaned up 19695 * javax/swing/tree/DefaultTreeCellRenderer 19696 (getTreeCellRendererComponent): fixed to follow API 19697 196982005-07-18 David Gilbert <david.gilbert@object-refinery.com> 19699 19700 * javax/swing/JSlider.java: 19701 (JSlider(int)): updated API docs, 19702 (JSlider(int, int, int)): likewise, 19703 (JSlider(BoundedRangeModel)): removed code that handles a null 19704 argument, and updated API docs. 19705 197062005-07-18 David Gilbert <david.gilbert@object-refinery.com> 19707 19708 * javax/swing/JSlider.java: initialise snapToTicks to false. 19709 197102005-07-18 Anthony Balkissoon <abalkiss@redhat.com> 19711 19712 * javax/swing/plaf/basic/BasicMenuItemUI.java: 19713 (paintMenuItem): Don't highlight background of a selected 19714 JCheckboxMenuItem. 19715 (paintText): Don't highlight text of a selected JCheckBoxMenuItem. 19716 197172005-07-18 Anthony Balkissoon <abalkiss@redhat.com> 19718 19719 * javax/swing/JPopupMenu.java: 19720 (insert): Resize the container to its preferred size when an item is 19721 inserted. 19722 (remove): Resize the container to its preferred size when an item is 19723 removed. 19724 197252005-07-18 Anthony Balkissoon <abalkiss@redhat.com> 19726 19727 * javax/swing/plaf/basic/BasicMenuUI.java: 19728 (getMaximumSize): Added check for this menu not being a top level menu. 19729 If that's the case, return the maximum size as if it were a regular 19730 JMenuItem. 19731 197322005-07-18 Tom Tromey <tromey@redhat.com> 19733 19734 * lib/Makefile.gcj (%.stamp): Added -MP. 19735 197362005-07-18 Tom Tromey <tromey@redhat.com> 19737 19738 * include/.cvsignore: Removed jni.h. 19739 197402005-07-18 Tom Tromey <tromey@redhat.com> 19741 19742 * native/jni/classpath/classpath_jawt.h: Updated copyright 19743 header. 19744 197452005-07-18 David Gilbert <david.gilbert@object-refinery.com> 19746 19747 * javax/imageio/stream/ImageInputStream.java: added import to fix 19748 minor API doc problems. 19749 197502005-07-18 Lillian Angel <langel@redhat.com> 19751 19752 * javax/swing/plaf/basic/BasicTreeUI.java 19753 (paint): Only paint border if using MetalL&F 19754 (mouseClicked): Check that control icons exist 19755 (paintNonLeaf): Changed to paint icon depending on height 19756 (hasControlIcons): Implemented to return true if control icons exist 19757 197582005-07-18 Lillian Angel <langel@redhat.com> 19759 19760 * javax/swing/plaf/basic/BasicTreeUI.java 19761 (paint): Implemented painting of border around selected path 19762 (mouseClicked): Fixed clicking of icon 19763 197642005-07-18 David Gilbert <david.gilbert@object-refinery.com> 19765 19766 * javax/swing/plaf/basic/BasicLookAndFeel.java 19767 (initComponentDefaults): changed Slider.thumbWidth. 19768 * javax/swing/plaf/basic/BasicSliderUI.java 19769 (paintThumb): fixed thumb painting. 19770 197712005-07-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> 19772 19773 * org/omg/PortableServer/ThreadPolicyValue.java, 19774 org/omg/PortableServer/IdAssignmentPolicy.java, 19775 org/omg/PortableServer/IdUniquenessPolicyOperations.java, 19776 org/omg/PortableServer/IdAssignmentPolicyOperations.java, 19777 org/omg/PortableServer/IdUniquenessPolicy.java, 19778 org/omg/PortableServer/ImplicitActivationPolicyOperations.java, 19779 org/omg/PortableServer/LifespanPolicyOperations.java, 19780 org/omg/PortableServer/LifespanPolicy.java, 19781 org/omg/PortableServer/ImplicitActivationPolicy.java, 19782 org/omg/PortableServer/ServantRetentionPolicy.java, 19783 org/omg/PortableServer/RequestProcessingPolicy.java, 19784 org/omg/PortableServer/ServantRetentionPolicyOperations.java, 19785 org/omg/PortableServer/ThreadPolicyOperations.java, 19786 org/omg/PortableServer/RequestProcessingPolicyOperations.java, 19787 org/omg/PortableServer/ThreadPolicy.java: New files. 19788 197892005-07-15 Lillian Angel <langel@redhat.com> 19790 * javax/swing/plaf/basic/BasicTreeUI.java 19791 (mouseClicked): Implemented clicking on control icons. 19792 197932005-07-15 Tom Tromey <tromey@redhat.com> 19794 19795 * native/jni/classpath/classpath_jawt.h: New file. 19796 197972005-07-15 Tom Tromey <tromey@redhat.com> 19798 19799 * lib/libgcj.omit: Removed. 19800 198012005-07-15 Lillian Angel <langel@redhat.com> 19802 * javax/swing/plaf/basic/BasicTreeUI.java 19803 (mouseClicked): changed to use getPathBounds. 19804 (getPathBounds): Implemented 19805 198062005-07-15 Lillian Angel <langel@redhat.com> 19807 * javax/swing/plaf/basic/BasicTreeUI.java 19808 (mouseClicked): check if user is clicking within the bounds of the cell. 19809 (getCellLocation): Implemented to return the location of the cell. 19810 198112005-07-15 David Gilbert <david.gilbert@object-refinery.com> 19812 19813 * javax/swing/plaf/metal/MetalComboBoxIcon.java: new file. 19814 198152005-07-15 David Gilbert <david.gilbert@object-refinery.com> 19816 19817 * javax/swing/tree/TreePath.java: added API docs all over, 19818 (TreePath(Object[])): throw IllegalArgumentException for null argument, 19819 (TreePath(TreePath, Object)): throw NullPointerException for null Object, 19820 (equals): test elements using equals(), 19821 (writeObject): removed, 19822 (readObject): removed, 19823 (getPath): return a clone of the path, 19824 (getPathComponent): throw IllegalArgumentException for invalid position, 19825 (isDescendant): reimplemented. 19826 198272005-07-15 Roman Kennke <roman@kennke.org> 19828 19829 * javax/swing/plaf/basic/BasicOptionPaneUI.java 19830 (ButtonAreaLayout): Made class static. 19831 (ButtonAreaLayout.setSyncAllWidths): Removed revalidate(). Never 19832 ever revalidate something within a LayoutManager! 19833 (ButtonAreaLayout.setPadding): Likewise. 19834 (ButtonAreaLayout.setCentersChildren): Likewise. 19835 (ButtonAreaLayout.layoutContainer): Don't refer to enclosing 19836 class's instance, this is not allowed in static inner classes. 19837 198382005-07-15 Roman Kennke <roman@kennke.org> 19839 19840 * javax/swing/plaf/metal/MetalCheckBoxIcon.java: 19841 New class. An icon implementation for use in JCheckBoxes. 19842 * javax/swing/plaf/metal/MetalBorders.java 19843 Renamed MetalButtonBorder to ButtonBorder. 19844 198452005-07-15 Anthony Balkissoon <abalkiss@redhat.com> 19846 19847 * javax/swing/plaf/basic/BasicTextUI.java: 19848 (RootView.removeUpdate): Properly update the caret position after text 19849 has been removed. 19850 198512005-07-15 Mark Wielaard <mark@klomp.org> 19852 19853 * NEWS: Add 0.17 release date and new features. 19854 * configure.ac: Set version to 0.17. 19855 198562005-07-15 Robert Schuster <robertschuster@fsfe.org> 19857 19858 * javax/swing/AbstractButton.java: 19859 (init): Do not change field text if argument text is null. 19860 198612005-07-15 Mark Wielaard <mark@klomp.org> 19862 19863 * java/util/logging/Logger.java (getCallerStackFrame): 19864 Make sure index < stackTrace.length and return null otherwise. 19865 (log): Check for caller == null. 19866 198672005-07-15 Roman Kennke <roman@kennke.org> 19868 19869 * javax/swing/AbstractButton.java 19870 (AbstractButton): Directly call init() and updateUI(). 19871 (AbstractButton(String, Icon)): Removed. This is not necessary 19872 since we have init(String, Icon) for that purpose. 19873 (getActionCommand): Reverted to previous behaviour: If 19874 actionCommand is set, return this, otherwise return text, even 19875 if text is null. 19876 * javax/swing/JButton.java 19877 (JButton(String, Icon)): Call super() and init(String, Icon) 19878 instead of super(String, Icon). 19879 * javax/swing/JMenuItem.java 19880 (JMenuItem): Call super() instead of super(String, Icon). 19881 (JMenuItem(Icon)): Call this(String, Icon) instead of 19882 super(String, Icon). 19883 (JMenuItem(String)): Call this(String, Icon) instead of 19884 super(String, Icon). 19885 (JMenuItem(Action)): Call super() instead of 19886 super(String, Icon). 19887 (JMenuItem(String, Icon)): Call super() and init(String, Icon) 19888 instead of super(String, Icon). 19889 (JMenuItem(String, int)): Call this(String, Icon) instead of 19890 super(String, Icon). 19891 * javax/swing/JToggleButton.java 19892 (ToggleButtonModel.setPressed): Fire an ActionEvent if button 19893 is released. According to my Mauve tests, it seems that this 19894 is what the JDK does, so do we. 19895 (ToggleButtonModel.setSelected): Removed. 19896 (JToggleButton): Call super() and init(String, Icon) instead 19897 of super(String, Icon). 19898 198992005-07-15 Robert Schuster <robertschuster@fsfe.org> 19900 19901 * javax/swing/tree/DefaultMutableTreeNode.java: 19902 (removeFromParent): Remove child node from parent now. 19903 (preorderEnumeration): Implemented. 19904 (postorderEnumeration): Implemented. 19905 (depthFirstEnumeration): Implemented. 19906 (breadthFirstEnumeration): Implemented. 19907 (nextLeaf): Added TODO doc. 19908 (previousLeaf): Added TODO doc. 19909 199102005-07-15 Mark Wielaard <mark@klomp.org> 19911 19912 * lib/standard.omit: Only list gnu/javax/swing/plaf/gtk/.*java and 19913 README explicitly, not the icons. 19914 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java 19915 (getDefaults): Add Tree closed, leaf and open icons. 19916 199172005-07-15 Andrew John Hughes <gnu_andrew@member.fsf.org> 19918 19919 * doc/vmintegration.texinfo: 19920 Updated 'Classpath Hooks' section. 19921 199222005-07-15 Mark Wielaard <mark@klomp.org> 19923 19924 * hacking.texinfo: @setchapternewpage off. 19925 * vmintegration.texinfo: Likewise. 19926 * www.gnu.org/docs/Makefile: texi2info --ifinfo --ifhtml. 19927 199282005-07-14 Thomas Fitzsimmons <fitzsim@redhat.com> 19929 19930 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (choicePostItemEvent): 19931 Rename to postChoiceItemEvent. 19932 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (realize): New method. 19933 (setNativeEventMask): Likewise. 19934 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (printCurrentThread): New method. 19935 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (realize): New method. 19936 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerate. 19937 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Likewise. 19938 * native/jni/gtk-peer/gtkpeer.h: Move widget-specific macro, 19939 variable and function declarations into the widget-specific file. 19940 Add cp_gtk_ namespace prefix to external symbols. 19941 (cp_gtk_graphics2d_init_jni): New function. 19942 (cp_gtk_graphics_init_jni): Likewise. 19943 (cp_gtk_button_init_jni): Likewise. 19944 (cp_gtk_checkbox_init_jni): Likewise. 19945 (cp_gtk_choice_init_jni): Likewise. 19946 (cp_gtk_component_init_jni): Likewise. 19947 (cp_gtk_list_init_jni): Likewise. 19948 (cp_gtk_menuitem_init_jni): Likewise. 19949 (cp_gtk_scrollbar_init_jni): Likewise. 19950 (cp_gtk_textcomponent_init_jni): Likewise. 19951 (cp_gtk_window_init_jni): Likewise. 19952 (cp_gtk_component_connect_expose_signals): Likewise. 19953 (cp_gtk_component_connect_focus_signals): Likewise. 19954 (cp_gtk_component_connect_mouse_signals): Likewise. 19955 (cp_gtk_component_connect_signals): Likewise. 19956 (cp_gtk_textcomponent_connect_signals): Likewise. 19957 (cp_gtk_print_current_thread): Likewise. 19958 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Remove 19959 file. Move widget-specific functions into the widget-specific 19960 files. Break main event handler into multiple widget-specific 19961 callbacks. 19962 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove 19963 gnu_java_awt_peer_gtk_GtkEvents.c. 19964 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Add 19965 cp_gtk_ namespace prefix to external symbols. Add widget-specific 19966 macros, variables and function declarations from 19967 gnu_java_awt_peer_gtk_GtkEvents.c. Add widget-specific callbacks 19968 to replace main event handling loop. 19969 * native/jni/classpath/native_state.c: Likewise. 19970 * native/jni/classpath/native_state.h: Likewise. 19971 * native/jni/gtk-peer/gdkfont.h: Likewise. 19972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. 19973 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise. 19974 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Likewise. 19975 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: Likewise. 19976 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Likewise. 19977 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. 19978 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. 19979 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c: Likewise. 19980 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: Likewise. 19981 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. 19982 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise. 19983 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: Likewise. 19984 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: Likewise. 19985 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: Likewise. 19986 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Likewise. 19987 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. 19988 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. 19989 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c: Likewise. 19990 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. 19991 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Likewise. 19992 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c: Likewise. 19993 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c: Likewise. 19994 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise. 19995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise. 19996 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Likewise. 19997 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Likewise. 19998 * native/jni/gtk-peer/gthread-jni.c: Likewise. 19999 * native/jni/gtk-peer/gthread-jni.h: Likewise. 20000 200012005-07-14 Lillian Angel <langel@redhat.com> 20002 * javax/swing/plaf/basic/BasicTreeUI.java 20003 (paintControlIcons): Changed so root does not have control icon. 20004 200052005-07-14 Lillian Angel <langel@redhat.com> 20006 * javax/swing/plaf/basic/BasicTreeUI.java 20007 (installUI): Expanded root initially 20008 (paint): call function to paint controls 20009 (paintRecursive): added to indentation when painting to increase space 20010 (paintControlIcons): Implemented to recursively paint the control icons. 20011 * javax/swing/tree/DefaultTreeCellRenderer.java 20012 (getTreeCellRendererComponent): reset the font properly 20013 200142005-07-14 Aaron Luchko <aluchko@redhat.com> 20015 20016 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java: 20017 Implemented VirtualMachine Command Set. 20018 200192005-07-14 Roman Kennke <roman@kennke.org> 20020 20021 * javax/swing/AbstractButton.java 20022 (getActionCommand): If both the actionCommand and text fields 20023 are null, then return "". 20024 200252005-07-14 Guilhem Lavaux <guilhem@kaffe.org> 20026 20027 * java/util/logging/Logger.java 20028 (resetLogger): Remove all handlers from the handler list. 20029 20030 * java/util/logging/LogManager.java 20031 (reset): Call resetLogger() too. 20032 (readConfiguration): Call reset(). 20033 200342005-07-14 Mark Wielaard <mark@klomp.org> 20035 20036 * examples/gnu/classpath/examples/awt/Demo.java 20037 (TestWindow.parent): Make package private. 20038 * gnu/java/net/protocol/http/HTTPURLConnection.java 20039 (proxyHostname, proxyPort, agent, keepAlive, maxConnections): 20040 Likewise. 20041 * java/text/SimpleDateFormat.java (field, size): Likewise. 20042 * java/util/jar/JarFile.java (readSignatures): Likewise. 20043 * java/util/logging/FileHandler.java (written): Likewise. 20044 * javax/swing/plaf/basic/BasicFileChooserUI.java: Make shared 20045 fields package private. 20046 (closeDialog): Make package private. 20047 (filterEntries): Likewise. 20048 * javax/swing/plaf/basic/BasicPopupMenuUI.java 20049 (mouseInputListener): Likewise. 20050 * javax/swing/plaf/basic/BasicTreeUI.java 20051 (getNextVisibleNode, getPreviousVisibleNode, selectPath): Likewise. 20052 * javax/swing/text/JTextComponent.java (caret, editable): Likewise. 20053 200542005-07-14 Robert Schuster <robertschuster@fsfe.org> 20055 20056 * javax/swing/AbstractButton.java: Minor doc fixes. 20057 (getActionCommand): Access field directly. 20058 (setActionCommand): Dito. 20059 (fireActionPerformed): Copy ActionEvent instance instead 20060 of reusing it. 20061 200622005-07-13 Roman Kennke <roman@kennke.org> 20063 20064 * javax/swing/BoundedRangeModel.java: 20065 Added/Fixed interface API documentation. 20066 * javax/swing/ButtonModel.java: 20067 Added/Fixed interface API documentation. 20068 * javax/swing/CellEditor.java: 20069 Added/Fixed interface API documentation. 20070 * javax/swing/ComboBoxEditor.java: 20071 Added/Fixed interface API documentation. 20072 * javax/swing/ComboBoxModel.java: 20073 Added/Fixed interface API documentation. 20074 * javax/swing/Icon.java: 20075 Added/Fixed interface API documentation. 20076 * javax/swing/JComboBox.java 20077 (KeySelectionManager): Added/Fixed interface API documentation. 20078 * javax/swing/ListCellRenderer.java: 20079 Added/Fixed interface API documentation. 20080 * javax/swing/ListModel.java: 20081 Added/Fixed interface API documentation. 20082 * javax/swing/ListSelectionModel.java: 20083 Added/Fixed interface API documentation. 20084 * javax/swing/MenuElement.java: 20085 Added/Fixed interface API documentation. 20086 * javax/swing/MutableComboBoxModel.java: 20087 Added/Fixed interface API documentation. 20088 * javax/swing/Renderer.java: 20089 Added/Fixed interface API documentation. 20090 * javax/swing/RootPaneContainer.java: 20091 Added/Fixed interface API documentation. 20092 * javax/swing/ScrollPaneConstants.java: 20093 Added/Fixed interface API documentation. 20094 * javax/swing/Scrollable.java: 20095 Added/Fixed interface API documentation. 20096 * javax/swing/SingleSelectionModel.java: 20097 Added/Fixed interface API documentation. 20098 * javax/swing/SpinnerModel.java: 20099 Added/Fixed interface API documentation. 20100 * javax/swing/SwingConstants.java: 20101 Added/Fixed interface API documentation. 20102 * javax/swing/UIDefaults.java 20103 (ActiveValue): interface API documentation. 20104 (LazyValue): interface API documentation. 20105 * javax/swing/WindowConstants.java: 20106 Added/Fixed interface API documentation. 20107 * javax/swing/package.html: Fixed package description to be more 20108 a little bit more concise. 20109 201102005-07-13 Lillian Angel <langel@redhat.com> 20111 20112 * javax/swing/plaf/basic/BasicLookAndFeel.java: Changed font to 20113 match jdk. 20114 * javax/swing/plaf/basic/BasicTreeUI.java: took out unneeded 20115 import statement 20116 * javax/swing/plaf/metal/MetalLookAndFeel.java: Changed 20117 defaults to match jdk. 20118 201192005-07-13 Lillian Angel <langel@redhat.com> 20120 20121 * javax/swing/plaf/basic/BasicLookAndFeel.java: Changed rowHeight 20122 to the right height. This should be fixed later to something more 20123 reasonable, as opposed to a 'magic' number. 20124 * javax/swing/plaf/basic/BasicTreeUI.java 20125 (paintLeaf): added in code to paint icons properly 20126 (paintNonLeaf): same as above 20127 * javax/swing/plaf/metal/MetalLookAndFeel.java: Changed default 20128 icons to MetalIconFactory icons 20129 * javax/swing/tree/DefaultTreeCellRenderer.java 20130 (getTreeCellRendererComponent): Changed to paint icons separately from 20131 Cell. 20132 201332005-07-13 Anthony Balkissoon <abalkiss@redhat.com> 20134 20135 * javax/swing/plaf/basic/BasicListUI.java: 20136 (KeyHandler.keyPressed): Implemented actions for the following key 20137 presses: "ctrl \\", "END", "shift END", "HOME, "shift HOME", "ctrl /", 20138 "ctrl A", "ctrl SPACE", "KP_UP", "KP_DOWN", "shift KP_UP", 20139 "shift KP_DOWN". 20140 201412005-07-13 Anthony Balkissoon <abalkiss@redhat.com> 20142 20143 * javax/swing/DefaultButtonModel.java: 20144 (changeState): Removed this helper method. 20145 (setArmed): Replaced call to changeState by code specific to setArmed. 20146 (setEnabled): Likewise, for setEnabled. 20147 (setPressed): Likewise, for setPressed. 20148 (setRollover): Likewise, for setRollover. 20149 (setSelected): Likewise, for setSelected. 20150 * javax/swing/JToggleButton.java: 20151 (ToggleButtonModel.setPressed): Replaced call to super.setPressed with 20152 Toggle-specific code. 20153 (ToggleButtonModel.setSelected): New method. Fire an ActionEvent in 20154 addition to calling super.setSelected. 20155 201562005-07-13 David Gilbert <david.gilbert@object-refinery.com> 20157 20158 * javax/accessibility/AccessibleComponent.java: minor API doc fixes, 20159 * javax/accessibility/AccessibleRelation.java: likewise, 20160 * javax/accessibility/AccessibleRelationSet.java: likewise, 20161 * javax/accessibility/AccessibleResourceBundle.java: likewise, 20162 * javax/accessibility/AccessibleRole.java: likewise, 20163 * javax/accessibility/AccessibleState.java: likewise, 20164 * javax/accessibility/AccessibleStateSet.java: likewise, 20165 * javax/accessibility/AccessibleText.java: likewise. 20166 201672005-07-13 Robert Schuster <robertschuster@fsfe.org> 20168 20169 * java/awt/AWTEvent.java: 20170 (toString): Generalized string generation. 20171 201722005-07-13 David Gilbert <david.gilbert@object-refinery.com> 20173 20174 * javax/swing/LookAndFeel.java: added API docs all over, 20175 * javax/swing/plaf/metal/DefaultMetalTheme.java: likewise, 20176 * javax/swing/plaf/metal/MetalLookAndFeel.java: likewise, 20177 * javax/swing/plaf/metal/MetalTheme.java: likewise. 20178 201792005-07-13 David Gilbert <david.gilbert@object-refinery.com> 20180 20181 * javax/swing/table/TableColumn.java: updated API docs, 20182 * javax/swing/table/TableColumnModel.java: likewise. 20183 201842005-07-13 David Gilbert <david.gilbert@object-refinery.com> 20185 20186 * java/util/zip/Inflater.java: minor API doc fixes. 20187 201882005-07-13 David Gilbert <david.gilbert@object-refinery.com> 20189 20190 * javax/swing/tree/DefaultMutableTreeNode.java: minor API doc fixes, 20191 * javax/swing/tree/DefaultTreeSelectionModel.java 20192 (addSelectionPath): modified parameter name to match doc comment, 20193 (addSelectionPaths): likewise, 20194 (removeSelectionPath): likewise, 20195 (removeSelectionPaths): likewise, 20196 (isPathSelected): likewise, 20197 plus other minor API doc fixes all over. 20198 * javax/swing/tree/MutableTreeNode.java: minor API doc fixes. 20199 202002005-07-13 Robert Schuster <robertschuster@fsfe.org> 20201 20202 * javax/swing/AbstractButton.java: Minimal documentation fixes. 20203 (getActionCommand): Returns button's label when 20204 actionCommand is null. 20205 * javax/swing/JButton.java, 20206 javax/swing/JToggleButton.java: Removed explicit call to 20207 setActionCommand in constructors. 20208 202092005-07-13 Robert Schuster <robertschuster@fsfe.org> 20210 20211 * javax/swing/JToggleButton.java: 20212 (paramString): Returns value of same method in superclass now. 20213 * javax/swing/JRadioButton.java: 20214 (paramString): Dito. 20215 * javax/swing/JButton.java: 20216 (paramString): Returns value of same method in superclass now, 20217 more verbose information added. 20218 * javax/swing/JCheckBox.java: 20219 (paramString): Dito. 20220 202212005-07-12 Aaron Luchko <aluchko@redhat.com> 20222 20223 * gnu/classpath/jdwp/processor/FieldCommandSet.java: 20224 Implemented the Field CommandSet. 20225 * gnu/classpath/jdwp/processor/InterFaceTypeCommandSet.java: 20226 Implemented the InterfaceType CommandSet. 20227 202282005-07-12 Anthony Balkissoon <abalkiss@redhat.com> 20229 20230 * javax/swing/plaf/basic/BasicMenuItemUI.java: 20231 (paintMenuItem): Replaced incorrect hilighting criteria. 20232 (paintText): Likewise. 20233 202342005-07-12 Lillian Angel <langel@redhat.com> 20235 20236 * examples/gnu/classpath/examples/swing/Demo.java 20237 (mkTree): no need to make root visible, it is by default 20238 (mkTreeWorld): no need to make root visible, it is by default 20239 202402005-07-12 Lillian Angel <langel@redhat.com> 20241 20242 * javax/swing/plaf/basic/BasicTreeUI.java 20243 (paintLeaf): fixed size of selection background to depend on 20244 if icon exists 20245 (paintNonLeaf): fixed size of selection background to depend on 20246 if icon exists 20247 202482005-07-12 Anthony Balkissoon <abalkiss@redhat.com> 20249 20250 * javax/swing/DefaultButtonModel.java: 20251 (changeState): If the button is a JToggleButton fire action events 20252 when it changes between (selected/unselected) not when it changes 20253 from pressed to unpressed. Fire action events after firing 20254 ItemStateChanged events. 20255 202562005-07-12 Aaron Luchko <aluchko@redhat.com> 20257 20258 * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Send 20259 shutdown to Jdwp instead of JdwpConnection. 20260 202612005-07-12 Lillian Angel <langel@redhat.com> 20262 * javax/swing/JTree.java: 20263 Formatting copyright 20264 * javax/swing/tree/DefaultTreeCellRenderer.java: 20265 Formatting copyright 20266 * javax/swing/tree/DefaultTreeSelectionModel.java: 20267 Formatting copyright 20268 202692005-07-12 Roman Kennke <roman@kennke.org> 20270 20271 * javax/swing/plaf/metal/MetalTreeUI.java 20272 (createUI): Return a different instance of MetalTreeUI for each 20273 JTree. The TreeUI is stateful, so a shared instance would not 20274 work. 20275 202762005-07-12 Roman Kennke <roman@kennke.org> 20277 20278 * javax/swing/plaf/basic/BasicTreeUI.java 20279 I accidentally introduced revalidate calls for repaint calls. 20280 Reverted. 20281 202822005-07-12 Roman Kennke <roman@kennke.org> 20283 20284 * javax/swing/plaf/basic/BasicTreeUI.java 20285 Fixed formatting of the copyright notice. 20286 202872005-07-12 Roman Kennke <roman@kennke.org> 20288 20289 * javax/swing/plaf/basic/BasicInternalFrameUI.java 20290 (installDefaults): Create border based on defaults in current 20291 LookAndFeel. 20292 * javax/swing/plaf/basic/BasicLookAndFeel.java 20293 (initComponentDefaults): Included border for InternalFrame as 20294 LazyValue. 20295 202962005-07-12 Lillian Angel <langel@redhat.com> 20297 * javax/swing/plaf/basic/BasicLookAndFeel.java: 20298 Took out icon defaults. 20299 * javax/swing/plaf/basic/BasicTreeUI.java 20300 (installUI): set root to visible 20301 (getCellBounds): took out addition to width since there may not be 20302 an icon. 20303 * javax/swing/plaf/metal/MetalLookAndFeel.java: 20304 Added in icon defaults 20305 * lib/Makefile.am: 20306 Fixed so icons are installed for the JTree 20307 203082005-07-12 Aaron Luchko <aluchko@redhat.com> 20309 20310 * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java: 20311 New file. 20312 203132005-07-12 Roman Kennke <roman@kennke.org> 20314 20315 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 20316 Removed ad-hoc icons. Replaced them by 20317 BasicIconFactory.createEmptyFrameIcon just like in the JDK. 20318 (PropertyChangeHandler.propertyChange): Handle change events 20319 for closable, iconifiable and maximizable here. 20320 (createButtons): Recognize if the JInternalFrame is closable, 20321 iconifiable or maximizable. 20322 203232005-07-12 Roman Kennke <roman@kennke.org> 20324 20325 * javax/swing/plaf/basic/BasicLookAndFeel.java 20326 (initComponentDefaults): Corrected color values for BasicL&F buttons. 20327 203282005-07-12 Anthony Balkissoon <abalkiss@redhat.com> 20329 20330 * javax/swing/JMenu.java: 20331 (isSelected): Call super.isSelected() instead of super.isArmed(). 20332 * javax/swing/plaf/basic/BasicMenuItemUI.java: 20333 (paintMenuItem): Replaced incorrect selection criteria with call to 20334 isSelected(). 20335 (paintText): Likewise. 20336 203372005-07-12 Lillian Angel <langel@redhat.com> 20338 * examples/gnu/classpath/examples/swing/Demo.java 20339 (mkTreeWorld): Implemented 20340 (mkTabbedPane): added in tab for TreeWorld 20341 * javax/swing/plaf/basic/BasicLookAndFeel.java 20342 Changed default color of text non selection background. 20343 * javax/swing/plaf/basic/BasicTreeUI.java 20344 Removed irrelevant comment 20345 * javax/swing/tree/DefaultTreeCellRenderer.java 20346 (getTreeCellRendererComponent): changed to use background's non 20347 selection default color instead 20348 203492005-07-12 Roman Kennke <roman@kennke.org> 20350 20351 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 20352 (TitlePaneLayout.layoutContainer): Do not change any state of 20353 the components here (visible/enableActions). This is not the purpose of 20354 a layout manager and can lead to loops. Also correct the layout 20355 to be closer to the layout of the reference implementation. 20356 (TitlePaneLayout.preferredLayoutSize): Return (22, 18) 20357 here. That is what the JDK returns for the title bar. 20358 (PaneButton): Don't set the border to null. 20359 (createButtons): The buttons are opaque. 20360 (createButtonIcons): Don't create icons in the Basic L&F. 20361 203622005-07-12 Anthony Balkissoon <abalkiss@redhat.com> 20363 20364 * javax/swing/JApplet.java, 20365 * javax/swing/JDialog.java, 20366 * javax/swing/JFrame.java, 20367 * javax/swing/JWindow.java: 20368 (addImpl): Add to the frame itself if we are in the init 20369 stage, otherwise add to the contentPane. 20370 203712005-07-12 Mark Wielaard <mark@klomp.org> 20372 20373 * java/awt/MediaTracker.java (checkAll): Set and check status of 20374 MediaEntry with checkImage() if prepareImage() returns false. 20375 (statusAll): Likewise. 20376 (checkID): Likewise. 20377 (statusID): Likewise. 20378 203792005-07-12 Mark Wielaard <mark@klomp.org> 20380 20381 * javax/swing/text/JTextComponent.java 20382 (CaretBlinkTimer.actionPerformed): Check that caret != null. 20383 (CaretBlinkTimer.update): Likewise. 20384 203852005-07-12 Mark Wielaard <mark@klomp.org> 20386 20387 Reported by Simon Kitching <skitching@apache.org> 20388 * java/lang/String.java (toCharArray): Return value.clone() when 20389 count == value.length. 20390 203912005-07-12 Audrius Meskauskas <AudriusA@Bioinformatics.org> 20392 20393 * javax/swing/text/html/parser/ParserDelegator.java (gnuParser.getDTD): 20394 Added comment about 'super'. 20395 203962005-07-11 Thomas Fitzsimmons <fitzsim@redhat.com> 20397 20398 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 20399 Replace occurrences of malloc with g_malloc and free with g_free. 20400 20401 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (connectSignals): New method. 20402 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h: Regenerate. 20403 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Move 20404 gdk_threads_enter calls to start of method bodies. Move 20405 gdk_threads_leave calls to end of method definitions bodies. 20406 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise. 20407 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise. 20408 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: Likewise. 20409 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Likewise. 20410 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: Likewise. 20411 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Likewise. 20412 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise. 20413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c: Likewise. 20414 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c: Likewise. 20415 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c: Likewise. 20416 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise. 20417 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c: Likewise. 20418 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: Likewise. 20419 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise. 20420 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c: Likewise. 20421 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: Likewise. 20422 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: Likewise. 20423 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c: Likewise. 20424 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Likewise. 20425 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise. 20426 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise. 20427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c: Likewise. 20428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c: Likewise. 20429 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise. 20430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Likewise. 20431 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c: Likewise. 20432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c: Likewise. 20433 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Likewise. 20434 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Likewise. 20435 204362005-07-12 Audrius Meskauskas <AudriusA@Bioinformatics.org> 20437 20438 * javax/swing/text/html/parser/ParserDelegator.java (gnuParser.getDTD): 20439 Added explicit field reference. 20440 204412005-07-11 David Gilbert <david.gilbert@object-refinery.com> 20442 20443 * java/lang/IllegalAccessException.java: fixed minor API doc errors, 20444 * java/lang/String.java: likewise. 20445 204462005-07-11 David Gilbert <david.gilbert@object-refinery.com> 20447 20448 * java/io/DataOutput.java: fixed minor API doc errors, 20449 * java/io/LineNumberInputStream.java: likewise. 20450 204512005-07-11 David Gilbert <david.gilbert@object-refinery.com> 20452 20453 * javax/swing/plaf/metal/MetalIconFactory.java 20454 (HorizontalSliderThumbIcon): new inner class, 20455 (VerticalSliderThumbIcon): new inner class, 20456 (getHorizontalSliderThumbIcon): implemented, 20457 (getVerticalSliderThumbIcon): implemented. 20458 204592005-07-11 Sven de Marothy <sven@physto.se> 20460 20461 * gnu/java/awt/peer/gtk/GtkImage.java: 20462 (setImage): Set error flag on bad width, height or pixels. 20463 (checkImage): Return error flag. 20464 204652005-07-11 Roman Kennke <roman@kennke.org> 20466 20467 * javax/swing/JInternalFrame.java 20468 (addImpl): Add to the frame itself if we are in the init 20469 stage, otherwise add to the contentPane. 20470 204712005-07-11 Lillian Angel <langel@redhat.com> 20472 * examples/gnu/classpath/examples/swing/Demo.java 20473 (mkTree): fixed so the JTree appears properly. 20474 204752005-07-11 Lillian Angel <langel@redhat.com> 20476 * javax/swing/plaf/basic/BasicLookAndFeel.java 20477 Changed the default row height for the tree. 20478 204792005-07-11 Roman Kennke <roman@kennke.org> 20480 20481 * examples/gnu/classpath/examples/swing/Demo.java 20482 (mkDesktopWorld): Made InternalFrames visible. 20483 204842005-07-11 Mark Wielaard <mark@klomp.org> 20485 20486 * javax/swing/JFileChooser.java (getSelectedFiles): Return an one 20487 element array containing selectedFile if selectedFiles is null. 20488 204892005-07-11 Lillian Angel <langel@redhat.com> 20490 20491 * javax/swing/plaf/basic/BasicTreeUI.java 20492 (getPreviousVisibleNode): Implemented 20493 (selectPath): helper method, implemented. 20494 (keyPressed): handles up/down/left/right keys 20495 (mouseClicked): made more efficent and implemented double 20496 clicking for folders. 20497 * javax/swing/JTree.java 20498 (clearSelection): Lead selection path is set to null when 20499 nothing is currently selected. 20500 205012005-07-11 Anthony Balkissoon <abalkiss@redhat.com> 20502 20503 * javax/swing/plaf/basic/BasicMenuUI.java: 20504 (MouseHandler.popupVisible): new method. 20505 (MouseHandler.mouseEntered): Removed check for menu being armed to 20506 comply with reference implementation. Calls popupVisible to check 20507 for menus with their popup menu visible. 20508 205092005-07-11 Mark Wielaard <mark@klomp.org> 20510 20511 * java/net/DatagramSocket.java (getImpl): Record cause of Exception. 20512 205132005-07-11 Mark Wielaard <mark@klomp.org> 20514 20515 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c: 20516 Whenever an ExceptionOccurred just return to throw it, don't mask. 20517 * native/jni/java-net/javanet.c (_javanet_get_netaddr): Check for 20518 NULL addr. 20519 (_javanet_create): Explicitly close socket on failure. 20520 (_javanet_close): Save error message and retry closing when 20521 interrupted before throwing exception. 20522 (_javanet_connect): Keep retrying connect after system call 20523 interrupted. First construct exception before cleanup. 20524 (_javanet_bind): Save error string for exception. 20525 (_javanet_accept): Explicitly close socket on failure. 20526 (_javanet_recvfrom): Throw SocketTimeoutException when timed out. 20527 (_javanet_sendto): Send all data even when interrupted. 20528 (_javanet_set_option): Don't ignore error when setting SO_TIMEOUT. 20529 * native/target/generic/target_generic_network.h 20530 (TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT): Use timeval for 20531 setsockopt. 20532 (TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_TIMEOUT): Likewise for 20533 getsockopt. 20534 205352005-07-11 Anthony Balkissoon <abalkiss@redhat.com> 20536 20537 * javax/swing/plaf/basic/BasicMenuUI.java: 20538 (MouseInputHandler.mouseEntered): Added check: if a different menu in 20539 the menubar was selected, we don't select this one unless the old one 20540 had its popup menu showing. This complies with the reference 20541 implementation. 20542 205432005-07-11 Anthony Balkissoon <abalkiss@redhat.com> 20544 20545 * javax/swing/JMenu.java: 20546 (setSelectedHelper): new method. 20547 (setSelected): Code moved to setSelectedHelper. Calls 20548 setSelectedHelper(selected,true,false) which doesn't expand the popup 20549 menu and works whether the menu is enabled or not. 20550 (menuSelectionChanged): Changed call to setSelected(changed) to 20551 setSelectedHelper(changed,isEnabled(),true) which does expand the 20552 popup menu, but only if the menu is enabled. 20553 205542005-07-10 Mark Wielaard <mark@klomp.org> 20555 20556 * gnu/java/nio/channels/FileChannelImpl.java (force): New native 20557 method. 20558 (force(boolean)): Call new native force method. 20559 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 20560 (Java_gnu_java_nio_channels_FileChannelImpl_read__): 20561 Test for result != TARGET_NATIVE_OK as stop condition. 20562 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII): 20563 Check overflow and underflow. Only increase bytes_read when 20564 we didn't get an error. 20565 (Java_gnu_java_nio_channels_FileChannelImpl_write__I): 20566 Return when we encounter an error. 20567 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII): 20568 Only increase bytes_written when we didn't get an error. 20569 (Java_gnu_java_nio_channels_FileChannelImpl_force): New function. 20570 * include/gnu_java_nio_channels_FileChannelImpl.h: Regenerated. 20571 205722005-07-11 Lillian Angel <langel@redhat.com> 20573 20574 * javax/swing/plaf/basic/BasicTreeUI.java 20575 (getCellBounds): added width of icon, so selection fits over 20576 the cell properly. 20577 * javax/swing/plaf/basic/BasicLookAndFeel.java 20578 added in icons for the tree. 20579 * lib/Makefile.am 20580 added in handling for the icons being used. 20581 205822005-07-10 Roman Kennke <roman@kennke.org> 20583 20584 * javax/swing/JInternalFrame.java 20585 (pack): Set the JInternalFrame's own size here instead of 20586 layouting its children (this is triggered by setSize anyway). 20587 * javax/swing/plaf/basic/BasicInternalFrameUI.java 20588 (installDefaults): Set the correct border for InternalFrames. 20589 Set InternalFrames to invisible by default. 20590 * javax/swing/plaf/basic/BasicLookAndFeel.java 20591 (initComponentDefaults): Set correct color values for 20592 InternalFrames. 20593 205942005-07-10 Casey Marshall <csm@gnu.org> 20595 20596 * configure.ac (AC_CHECK_HEADERS): add 'fcntl.h'. 20597 (AC_CHECK_FUNCS): add 'fcntl'. 20598 * native/jni/java-nio/gnu_java_nio_channels_FileChannel.c: 20599 Include <fcntl.h> if HAVE_FCNTL_H. 20600 (Java_gnu_java_nio_channels_FileChannelImpl_lock, 20601 Java_gnu_java_nio_channels_FileChannelImpl_unlock): implemented 20602 if HAVE_FCNTL. 20603 206042005-07-10 Casey Marshall <csm@gnu.org> 20605 20606 * gnu/classpath/debug/Component.java: new file. 20607 * gnu/classpath/debug/PreciseFilter.java: new file. 20608 * gnu/classpath/debug/SystemLogger.java: new file. 20609 * gnu/java/security/x509/X509Certificate.java 20610 (DEBUG, debug, debug): removed. 20611 (logger): new constant; use 'logger' with 'Component.X509' 20612 for debug messages throughout. 20613 (parse): always read the next DER value after reading the 20614 version-specific values. 20615 206162005-07-10 Dalibor Topic <robilad@kaffe.org> 20617 20618 * java/io/ObjectOutputStream.java: Updated copyright 20619 information for 2005. 20620 206212005-07-10 Dalibor Topic <robilad@kaffe.org> 20622 20623 * java/io/ObjectOutputStream.java 20624 (getObjectField): Clarified error checking code, and 20625 improved exception messages. 20626 206272005-07-10 Dalibor Topic <robilad@kaffe.org> 20628 20629 * java/io/ObjectOutputStream.java (DEBUG): New constant. 20630 (ObjectOutputStream, writeObject) Use internal debug switch. 20631 206322005-07-10 Dalibor Topic <robilad@kaffe.org> 20633 20634 * java/io/ObjectInputStream.java (DEBUG): 20635 New private static field. 20636 (ObjectInputStream, resolveClass) Use DEBUG. 20637 206382005-07-10 Dalibor Topic <robilad@kaffe.org> 20639 20640 * java/awt/GridBagLayout.java: 20641 (addLayoutComponent) Improved error message. 20642 206432005-07-10 Dalibor Topic <robilad@kaffe.org> 20644 20645 * gnu/java/text/FormatCharacterIterator.java: 20646 Removed unnecessary import of gnu.classpath.Configuration. 20647 (DEBUG) New private static field. 20648 (debug, dumpTable) Use DEBUG. 20649 206502005-07-09 Chris Burdess <dog@gnu.org> 20651 20652 * gnu/xml/transform/AbstractNumberNode.java, 20653 gnu/xml/transform/ApplyImportsNode.java, 20654 gnu/xml/transform/ApplyTemplatesNode.java, 20655 gnu/xml/transform/AttributeNode.java, 20656 gnu/xml/transform/Bindings.java, 20657 gnu/xml/transform/CallTemplateNode.java, 20658 gnu/xml/transform/CopyOfNode.java, 20659 gnu/xml/transform/CurrentFunction.java, 20660 gnu/xml/transform/DocumentFunction.java, 20661 gnu/xml/transform/ElementAvailableFunction.java, 20662 gnu/xml/transform/ElementNode.java, 20663 gnu/xml/transform/ForEachNode.java, 20664 gnu/xml/transform/FormatNumberFunction.java, 20665 gnu/xml/transform/FunctionAvailableFunction.java, 20666 gnu/xml/transform/GenerateIdFunction.java, 20667 gnu/xml/transform/IfNode.java, 20668 gnu/xml/transform/KeyFunction.java, 20669 gnu/xml/transform/ParameterNode.java, 20670 gnu/xml/transform/SortKey.java, 20671 gnu/xml/transform/StreamSerializer.java, 20672 gnu/xml/transform/Stylesheet.java, 20673 gnu/xml/transform/SystemPropertyFunction.java, 20674 gnu/xml/transform/TemplateNode.java, 20675 gnu/xml/transform/TransformerImpl.java, 20676 gnu/xml/transform/UnparsedEntityUriFunction.java, 20677 gnu/xml/transform/ValueOfNode.java, 20678 gnu/xml/transform/WhenNode.java, 20679 gnu/xml/transform/WithParam.java, 20680 gnu/xml/xpath/AndExpr.java, 20681 gnu/xml/xpath/ArithmeticExpr.java, 20682 gnu/xml/xpath/BooleanFunction.java, 20683 gnu/xml/xpath/CeilingFunction.java, 20684 gnu/xml/xpath/ConcatFunction.java, 20685 gnu/xml/xpath/Constant.java, 20686 gnu/xml/xpath/ContainsFunction.java, 20687 gnu/xml/xpath/CountFunction.java, 20688 gnu/xml/xpath/EqualityExpr.java, 20689 gnu/xml/xpath/Expr.java, 20690 gnu/xml/xpath/FalseFunction.java, 20691 gnu/xml/xpath/FloorFunction.java, 20692 gnu/xml/xpath/FunctionCall.java, 20693 gnu/xml/xpath/IdFunction.java, 20694 gnu/xml/xpath/LangFunction.java, 20695 gnu/xml/xpath/LastFunction.java, 20696 gnu/xml/xpath/LocalNameFunction.java, 20697 gnu/xml/xpath/NameFunction.java, 20698 gnu/xml/xpath/NameTest.java, 20699 gnu/xml/xpath/NamespaceTest.java, 20700 gnu/xml/xpath/NamespaceUriFunction.java, 20701 gnu/xml/xpath/NegativeExpr.java, 20702 gnu/xml/xpath/NodeTypeTest.java, 20703 gnu/xml/xpath/NormalizeSpaceFunction.java, 20704 gnu/xml/xpath/NotFunction.java, 20705 gnu/xml/xpath/NumberFunction.java, 20706 gnu/xml/xpath/OrExpr.java, 20707 gnu/xml/xpath/ParenthesizedExpr.java, 20708 gnu/xml/xpath/Pattern.java, 20709 gnu/xml/xpath/PositionFunction.java, 20710 gnu/xml/xpath/Predicate.java, 20711 gnu/xml/xpath/RelationalExpr.java, 20712 gnu/xml/xpath/Root.java, 20713 gnu/xml/xpath/RoundFunction.java, 20714 gnu/xml/xpath/Selector.java, 20715 gnu/xml/xpath/StartsWithFunction.java, 20716 gnu/xml/xpath/Steps.java, 20717 gnu/xml/xpath/StringFunction.java, 20718 gnu/xml/xpath/StringLengthFunction.java, 20719 gnu/xml/xpath/SubstringAfterFunction.java, 20720 gnu/xml/xpath/SubstringBeforeFunction.java, 20721 gnu/xml/xpath/SubstringFunction.java, 20722 gnu/xml/xpath/SumFunction.java, 20723 gnu/xml/xpath/Test.java, 20724 gnu/xml/xpath/TranslateFunction.java, 20725 gnu/xml/xpath/TrueFunction.java, 20726 gnu/xml/xpath/UnionExpr.java, 20727 gnu/xml/xpath/VariableReference.java, 20728 gnu/xml/xpath/XPathParser.java, 20729 gnu/xml/xpath/XPathParser.y, 20730 javax/xml/namespace/QName.java: Corrections to handling of XSL 20731 variables and minor conformance updates. 20732 207332005-07-09 Archie Cobbs <archie@dellroad.org> 20734 20735 * java/net/URLClassLoader.java: disallow directories as resources 20736 207372005-07-09 Casey Marshall <csm@gnu.org> 20738 20739 * java/util/logging/FileHandler.java 20740 (written): new field. 20741 (logFiles): new field. 20742 (<init>): initialize the OutputStream last. 20743 (createFileStream): made non-static; append '.%g' to 'pattern' 20744 if not included; open existing files if 'append' is set; return 20745 byte-counting stream; use 'has', not 'String.indexOf'. 20746 (publish): rotate the file if we go beyond the byte limit; flush 20747 the stream after publishing each record. 20748 (rotate): new method. 20749 (has): new method. 20750 (ostr): new member class. 20751 207522005-07-08 Tom Tromey <tromey@redhat.com> 20753 20754 * lib/split-for-gcj.sh: Make list file depend on source file. 20755 * lib/Makefile.gcj (%.stamp): Set target name to stamp file. 20756 207572005-07-08 Aaron Luchko <aluchko@redhat.com> 20758 20759 * doc/hacking.texinfo: Fixed broken links to GNU Coding 20760 Standards to point to http://www.gnu.org/prep/standards/ 20761 207622005-07-08 Anthony Balkissoon <abalkiss@redhat.com> 20763 20764 * javax/swing/plaf/basic/BasicFileChooserUI.java: 20765 (ApproveSelectionAction.actionPerformed): Allow directories to be 20766 selected unless selection mode is FILES_ONLY. 20767 207682005-07-08 David Gilbert <david.gilbert@object-refinery.com> 20769 20770 * javax/swing/plaf/basic/BasicButtonUI.java: minor API doc fixes, 20771 * javax/swing/plaf/basic/BasicComboBoxEditor.java: likewise, 20772 * javax/swing/plaf/basic/BasicGraphicsUtils.java: likewise, 20773 * javax/swing/plaf/basic/BasicLabelUI.java: likewise, 20774 * javax/swing/plaf/basic/BasicListUI.java: likewise, 20775 * javax/swing/plaf/basic/BasicLookAndFeel.java: likewise, 20776 * javax/swing/plaf/basic/BasicMenuBarUI.java: likewise, 20777 * javax/swing/plaf/basic/BasicMenuUI.java: likewise, 20778 * javax/swing/plaf/basic/BasicPopupMenuUI.java: likewise, 20779 * javax/swing/plaf/basic/BasicScrollBarUI.java: likewise, 20780 * javax/swing/plaf/basic/BasicSpinnerUI.java: likewise, 20781 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: likewise, 20782 * javax/swing/plaf/basic/BasicToolTipUI.java: likewise. 20783 207842005-07-08 Anthony Balkissoon <abalkiss@redhat.com> 20785 20786 * javax/swing/filechooser/FileSystemView.java: 20787 (getFiles): Added check for non-existent directory, in which case 20788 default to home directory. 20789 207902005-07-08 David Gilbert <david.gilbert@object-refinery.com> 20791 20792 * javax/swing/plaf/metal/MetalIconFactory.java: new file, implements 20793 core tree icons. 20794 207952005-07-08 Roman Kennke <roman@kennke.org> 20796 20797 * javax/swing/plaf/metal/MetalLookAndFeel.java 20798 (getDefaults): Call theme.addCustomEntriesToTable() only once 20799 during initialization of the defaults table. 20800 208012005-07-08 Mark Wielaard <mark@klomp.org> 20802 20803 * lib/Makefile.am (FOUND_GCJ): Add top_builddir to compile_classpath. 20804 (EXTRA_DIST): Add Makefile.gcj and split-for-gcj.sh 20805 (clean-local): Remove lists and Makefile.deps. 20806 208072005-07-08 Roman Kennke <roman@kennke.org> 20808 20809 * javax/swing/plaf/basic/BasicTableUI.java 20810 (installDefaults): Initialize cell borders. 20811 (paint): Set correct cell border before painting. 20812 * javax/swing/plaf/basic/BasicLookAndFeel.java 20813 (initComponentDefault): Corrected color value for the 20814 Table.focusCellHighlightBorder UIResource. 20815 208162005-07-07 Jeroen Frijters <jeroen@frijters.net> 20817 20818 * java/io/ObjectStreamClass.java 20819 (findAccessibleMethod): Added code to make method accessible. 20820 208212005-07-07 Robert Schuster <robertschuster@fsfe.org> 20822 20823 * javax/swing/JMenu.java 20824 (setSelected): Added isEnabled() to expression. 20825 208262005-07-07 Aaron Luchko <aluchko@redhat.com> 20827 20828 * gnu/classpath/jdwp/util/Signature.java 20829 (computeFieldSignature): New Method. 20830 208312005-07-07 Anthony Balkissoon <abalkiss@redhat.com> 20832 20833 * javax/swing/JTable.java: 20834 (clearSelection): Added clearing of columns as well as rows. 20835 208362005-07-07 Anthony Balkissoon <abalkiss@redhat.com> 20837 20838 * javax/swing/plaf/basic/BasicTableUI.java: 20839 (MouseInputHandler.mousePressed): Added check for control being pressed 20840 and mouse clicked on already selected cell. In this case, deselect 20841 the cell. 20842 208432005-07-07 Aaron Luchko <aluchko@redhat.com> 20844 20845 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java: New 20846 file. 20847 208482005-07-07 Anthony Balkissoon <abalkiss@redhat.com> 20849 20850 * javax/swing/DefaultListSelectionModel.java: 20851 (addSelectionInterval): Added check for leadSelectionIndex being 20852 unselected (ie - after a remove operation). 20853 208542005-07-07 Lillian Angel <langel@redhat.com> 20855 20856 * javax/swing/plaf/basic/BasicTreeUI.java 20857 (getRowCount): Implemented 20858 (getPreferredSize): Implemented 20859 (getMinimumSize): Implemented 20860 (getMaximumSize): Implemented 20861 (getCellBounds): checked if parameter is null 20862 (paintRecursive): added in a variable to keep track of the 20863 length of vertical line to be drawn. Now paints tree nicely. 20864 208652005-07-07 Lillian Angel <langel@redhat.com> 20866 20867 * javax/swing/plaf/basic/BasicTreeUI.java 20868 Formatted code so else's are on new lines 20869 208702005-07-07 Lillian Angel <langel@redhat.com> 20871 20872 * javax/swing/plaf/basic/BasicTreeUI.java 20873 Formatted code to get rid of TABs 20874 (getPathForRow): took out redundant code. 20875 (getNextVisibleNode): took out redundant code. 20876 208772005-07-07 Roman Kennke <roman@kennke.org> 20878 20879 * javax/swing/plaf/basic/BasicTextUI.java 20880 (DocumentHandler.insertUpdate): Update caret position when document 20881 changes. 20882 (DocumentHandler.removeUpdate): Update caret position when document 20883 changes. 20884 208852005-07-07 Roman Kennke <roman@kennke.org> 20886 20887 * gnu/java/awt/FocusManager.java: New class. Provides a concrete 20888 implementation of javax.swing.FocusManager so that we can support 20889 the old-style FocusManager in Swing and AWT. 20890 * gnu/classpath/SystemProperties.java: Add new system property 20891 gnu.java.awt.FocusManager that sets the class that should be used 20892 as the default FocusManager in AWT and Swing. 20893 * java/awt/KeyboardFocusManager.java 20894 (setCurrentKeyboardFocusManager): Use createFocusManager instead 20895 of creating the instance directly. 20896 (createFocusManager): New method. Instantiate a KeyboardFocusManager 20897 that is set by the system property gnu.java.awt.FocusManager. 20898 * javax/swing.FocusManager.java 20899 (constructor): Call super() here. 20900 (getCurrentManager): Return the current AWT KeyboardFocusManager 20901 here. 20902 (setCurrentManager): Set the current AWT KeyboardFocusManager 20903 here. 20904 (processKeyEvent): Removed method. This is no longer in the 20905 API. 20906 (focusNextComponent): Removed method. This is no longer in the 20907 API. 20908 (focusPreviousComponent): Removed method. This is no longer in the 20909 API. 20910 209112005-07-07 David Gilbert <david.gilbert@object-refinery.com> 20912 20913 * javax/swing/JProgressBar.java 20914 (JProgressBar(int, int, int)): fix order of parameters, 20915 (JProgressBar()): reorder arguments in call to other constructor, 20916 (JProgressBar(int): likewise, 20917 (JProgressBar(int, int): likewise. 20918 209192005-07-07 Roman Kennke <roman@kennke.org> 20920 20921 * javax/swing/plaf/basic/BasicTreeUI.java 20922 (MouseInputHandler.mouseClicked): Access static TreeSelectionModel 20923 fields via the class and not via an instance. 20924 209252005-07-07 Roman Kennke <roman@kennke.org> 20926 20927 * javax/swing/plaf/basic/BasicTreeUI.java: 20928 Reformatted source file to better match our coding standards. 20929 209302005-07-06 Tom Tromey <tromey@redhat.com> 20931 20932 * lib/Makefile.gcj: New file. 20933 * lib/Makefile.am (JAVAC): Changed for new gcj build approach. 20934 * lib/gen-classlist.sh.in: Don't split list for gcj. 20935 * lib/split-for-gcj.sh: New file. 20936 209372005-07-06 David Gilbert <david.gilbert@object-refinery.com> 20938 20939 * javax/swing/plaf/basic/BasicBorders.java: fixed API docs all over. 20940 209412005-07-06 Chris Burdess <dog@gnu.org> 20942 20943 * gnu/java/net/protocol/http/HTTPConnection.java, 20944 gnu/java/net/protocol/http/HTTPURLConnection.java: 20945 Fix bug with multiple threads and persistent connections. 20946 209472005-07-06 Chris Burdess <dog@gnu.org> 20948 20949 * gnu/xml/transform/StreamSerializer.java, 20950 gnu/xml/xpath/EqualityExpr.java: XSLT conformance fixes. 20951 209522005-07-06 Lillian Angel <langel@redhat.com> 20953 20954 * javax/swing/plaf/basic/BasicTreeUI.java 20955 (getPathForRow): took out redundant code. 20956 209572005-07-06 Lillian Angel <langel@redhat.com> 20958 20959 * javax/swing/plaf/basic/BasicTreeUI.java 20960 (getNextVisibleNode): Implemented 20961 (getPathForRow): Fixed so the next node retrieved is visible. 20962 209632005-07-06 Lillian Angel <langel@redhat.com> 20964 20965 * javax/swing/JTree.java 20966 Initialized the Hashtable. 20967 (addSelectionPath): removed redundant code. 20968 (doExpandParents): added in line so that state is 20969 changed for current path. Changed while loop to if 20970 statement, an infinite loop was occurring. 20971 * javax/swing/plaf/basic/BasicTreeUI.java 20972 (getPathForRow): Implemented to work with visibility. 20973 (isLeaf): Implemented 20974 (mouseClicked): add in check for expand/collapse. 20975 Selection for DISCONTIGUOUS tree selection is 20976 implemented. 20977 (treeExpanded): called repaint, so the tree updates 20978 visually when something is expanded. 20979 (treeCollapse): Similar to treeExpanded. 20980 (paintLeaf): changed to paint leaf only when visible. 20981 (paintNonLeaf): paints only when visible. 20982 (paintRecursive): lines for tree are only painted when 20983 needed. checked for visibility of current object and 20984 parent. 20985 * javax/swing/tree/DefaultTreeCellRenderer.java 20986 (getTreeCellRendererComponent): setting icons when 20987 expanded. 20988 * javax/swing/tree/DefaultTreeSelectionModel.java 20989 (clearSelection): set leadPath to null because selection 20990 should be completely reset. 20991 209922005-07-06 Roman Kennke <roman@kennke.org> 20993 20994 * javax/swing/AbstractButton.java 20995 (setContentAreaFilled): Set the opaque property here. 20996 209972005-07-06 David Gilbert <david.gilbert@object-refinery.com> 20998 20999 * java/awt/AWTKeyStroke.java: fixed API doc links, 21000 * java/awt/BufferCapabilities.java: likewise, 21001 * java/awt/ColorPaintContext.java: likewise, 21002 * java/awt/Component.java: likewise, 21003 * java/awt/Container.java: likewise, 21004 * java/awt/EventQueue.java: likewise, 21005 * java/awt/GraphicsDevice.java: likewise, 21006 * java/awt/Image.java: likewise, 21007 * java/awt/KeyboardFocusManager.java: likewise, 21008 * java/awt/MediaTracker.java: likewise, 21009 * java/awt/PrintJob.java: likewise, 21010 * java/awt/Robot.java: likewise. 21011 210122005-07-06 David Gilbert <david.gilbert@object-refinery.com> 21013 21014 * javax/swing/JTable.java 21015 (setAutoCreateColumnsFromModel): when the flag changes from false to 21016 true, call createDefaultColumnsFromModel(). 21017 210182005-07-05 David Gilbert <david.gilbert@object-refinery.com> 21019 21020 * javax/swing/JTable.java 21021 (getColumnName): return name from column in data model. 21022 210232005-07-05 Thomas Fitzsimmons <fitzsim@redhat.com> 21024 21025 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent): Check 21026 parent and target before casting target to Window. 21027 210282005-07-05 Aaron Luchko <aluchko@redhat.com> 21029 21030 * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java: 21031 New file. 21032 210332005-07-05 David Gilbert <david.gilbert@object-refinery.com> 21034 21035 * javax/swing/AbstractAction.java: updated API docs, 21036 * javax/swing/Action.java: likewise. 21037 210382005-07-05 David Gilbert <david.gilbert@object-refinery.com> 21039 21040 * java/applet/Applet.java: added import to fix API doc link. 21041 210422005-07-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21043 21044 * javax/swing/text/StyleContext.java 21045 (defaultStyle): New field. 21046 (constructor): Add defaultStyle to the styleTable. 21047 (DEFAULT_STYLE, getStyle, getStyleNames): Documented. 21048 210492005-07-05 David Gilbert <david.gilbert@object-refinery.com> 21050 21051 * javax/swing/JTable.java: 21052 (addColumn): retrieve correct column name, 21053 (convertColumnIndexToModel): remove check for > columnCount and let 21054 exception happen, 21055 (getColumnName): retrieve name from TableColumn, 21056 (isCellEditable): implemented, 21057 (createDefaultColumnsFromModel): implemented. 21058 * javax/swing/table/DefaultTableColumnModel.java: 21059 (addColumn): throw exception for null argument, set correct column 21060 index in TableColumnModelEvent, 21061 (removeColumn): use correct column index, 21062 (moveColumn): move the column, don't swap it. Also added argument 21063 checks, 21064 (getColumnIndex): reimplemented. 21065 210662005-07-05 Sven de Marothy <sven@physto.se> 21067 21068 * javax/swing/JLabel.java: 21069 (JLabel): Revert previous change for JLabel(Icon) constructor. 21070 210712005-07-05 Roman Kennke <roman@kennke.org> 21072 21073 * javax/swing/JScrollPane.java: 21074 Added API documentation for class and constructors. 21075 210762005-07-05 David Gilbert <david.gilbert@object-refinery.com> 21077 21078 * java/util/BitSet.java: fixed minor problems in API docs, 21079 * java/util/Calendar.java: likewise, 21080 * java/util/Collections.java: likewise, 21081 * java/util/Date.java: likewise, 21082 * java/util/Hashtable.java: likewise, 21083 * java/util/LinkedList.java: likewise, 21084 * java/util/Properties.java: likewise, 21085 * java/util/PropertyResourceBundle.java: likewise, 21086 * java/util/ResourceBundle.java: likewise, 21087 * java/util/SimpleTimeZone.java: likewise, 21088 * java/util/TreeMap.java: likewise. 21089 210902005-07-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21091 21092 * javax/swing/text/JTextComponent.java (read, write): New methods. 21093 210942005-07-05 David Gilbert <david.gilbert@object-refinery.com> 21095 21096 * javax/swing/JTable.java: fixed API doc links all over. 21097 210982005-07-05 Mark Wielaard <mark@klomp.org> 21099 21100 * include/Makefile.am (GTKPEER_H_FILES): Removed GtkTextComponentPeer. 21101 * include/gnu_java_awt_peer_gtk_GtkTextComponentPeer.h: Removed. 21102 * gnu/java/awt/peer/gtk/GtkComponentPeer.java 21103 (classpath_gtk_component_connect_nonfocus_signals): Mark argument 21104 unused. 21105 (classpath_gtk_component_connect_signals): Likewise. 21106 211072005-07-04 Thomas Fitzsimmons <fitzsim@redhat.com> 21108 21109 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postTextEvent): New 21110 method. 21111 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Add 21112 TextComponentPeer method declarations. 21113 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise. 21114 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Remove file. 21115 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h: Regenerate. 21116 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Likewise. 21117 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove 21118 gnu_java_awt_peer_gtk_GtkTextComponentPeer.c. 21119 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 21120 (classpath_gtk_component_connect_nonfocus_signals): New function. 21121 (classpath_gtk_component_connect_signals): Likewise. 21122 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Add 21123 method implementations from 21124 gnu_java_awt_peer_gtk_GtkTextComponentPeer.c. 21125 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: 21126 Likewise. 21127 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: 21128 Remove file. 21129 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 21130 (gtkInit): Get postTextEventID from GtkComponentPeer, not 21131 GtkTextComponentPeer. 21132 * native/jni/gtk-peer/gtkpeer.h (classpath_gtk_textcomponent_init_jni): Declare. 21133 (classpath_gtk_component_connect_signals): Likewise. 21134 (classpath_gtk_component_connect_nonfocus_signals): Likewise. 21135 (classpath_gtk_textcomponent_connect_signals): Likewise. 21136 21137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 21138 Rename gnu_java_awt_peer_gtk_GtkScrollbarPeer.c. 21139 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Rename 21140 gnu_java_awt_peer_gtk_GtkScrollBarPeer.c 21141 gnu_java_awt_peer_gtk_GtkScrollbarPeer.c. 21142 21143 * gnu/java/awt/ClasspathToolkit.java (createEmbeddedWindow): New method. 21144 * gnu/java/awt/EmbeddedWindow.java (addNotify): Assume we're using 21145 ClasspathToolkit. 21146 * gnu/java/awt/EmbeddedWindowSupport.java: Remove file. 21147 * gnu/java/awt/peer/gtk/GtkToolkit.java: Remove references to 21148 EmbeddedWindowSupport. 21149 211502005-07-04 Sven de Marothy <sven@physto.se> 21151 21152 * javax/swing/JComponent.java: 21153 (setEnabled): Fix typo in event string. 21154 211552005-07-04 Anthony Balkissoon <abalkiss@redhat.com> 21156 21157 * javax/swing/JTabbedPane.java 21158 (Page.setDisplayedMnemonicIndex): Added check for index being -1 21159 before calling title.charAt(index). Eliminates StringIndexOutOfBounds 21160 error. 21161 211622005-07-04 Mark Wielaard <mark@klomp.org> 21163 21164 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (initialized): 21165 Remove unused field. 21166 (needsClose): New private field. 21167 (finish): Take needsClose boolean argument. 21168 (finalize): Call finish with needsClose. 21169 (produce): Set needsClose. 21170 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Regenerated. 21171 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 21172 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Only close 21173 when needed. 21174 211752005-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21176 21177 * org/omg/CORBA/ParameterModeHolder.java: New constructor. 21178 211792005-07-04 Aaron Luchko <aluchko@redhat.com> 21180 21181 * gnu/classpath/jdwp/processor/CommandSet.java: New file. 21182 * gnu/classpath/jdwp/processor/PacketProcessor.java: Use 21183 CommandSets to handle JdwpCommandPackets. 21184 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New 21185 Constructor. 21186 211872005-07-04 Lillian Angel <langel@redhat.com> 21188 21189 * javax/swing/JTree.java 21190 (addSelectionPath): if mouse click somewhere other than 21191 a row, all selections are removed 21192 * javax/swing/plaf/basic/BasicTreeUI.java 21193 (mouseClicked): if mouse clicked on a row, all other 21194 selections are cleared. DISCONTIGUOUS mode implemented. 21195 (getCellBounds): Implemented 21196 (paintLeaf): paints with cell bounds 21197 (paintNonLeaf): paints with cell bounds 21198 * javax/swing/tree/DefaultTreeCellRenderer.java: 21199 (DefaultTreeCellRendererComponent): changed color of 21200 selected row 21201 (getFont): Implemented 21202 * javax/swing/tree/DefaultTreeSelectionModel.java: 21203 (addSelectionPaths): check if parameter is null 21204 (removeSelectionPaths): check if parameter is null 21205 212062005-07-04 Ziga Mahkovec <ziga.mahkovec@klika.si> 21207 21208 * configure.ac: Remove libart dependency. 21209 * scripts/classpath.spec.in: Likewise. 21210 * INSTALL: Remove references to libart. 21211 * doc/hacking.texinfo: Likewise. 21212 * doc/www.gnu.org/faq/faq.wml: Likewise. 21213 212142005-07-03 Daniel Bonniot <bonniot@users.sf.net> 21215 21216 * java/io/ObjectStreamClass.java (inSamePackage): New private method. 21217 (findAccessibleMethod): Likewise. 21218 (cacheMethods): Lookup readResolve and writeReplace using the new 21219 findAccessibleMethod(). 21220 212212005-07-03 Archie Cobbs <archie@dellroad.org> 21222 21223 * m4/acinclude.m4: fix broken expr(1) syntax 21224 212252005-07-03 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 21226 21227 * org/omg/PortableServer/ServantLocatorPackage/package.html, 21228 org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java: 21229 New files. 21230 212312005-07-02 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 21232 21233 * gnu/CORBA/_PolicyImplBase.java: Ihnerit from Policy. 21234 (ids): Made final non static, new constructor. 21235 (type, value, policyCode): New fields. 21236 (_invoke): Handle "value" operation. 21237 (getValue, getCode, destroy, toString, copy, equals, hashCode): 21238 New methods. 21239 * org/omg/CORBA/PolicyHelper.java (narrow): Removed check for 21240 repository for repository id. 21241 212422005-07-02 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 21243 21244 * org/omg/PortableServer/IdAssignmentPolicyValue.java, 21245 org/omg/PortableServer/IdUniquenessPolicyValue.java, 21246 org/omg/PortableServer/ImplicitActivationPolicyValue.java, 21247 org/omg/PortableServer/LifespanPolicyValue.java, 21248 org/omg/PortableServer/ServantRetentionPolicyValue.java, 21249 org/omg/PortableServer/RequestProcessingPolicyValue.java: 21250 Documentation update. 21251 212522005-07-02 Mark Wielaard <mark@klomp.org> 21253 21254 * all files: Update for new FSF address. 21255 212562005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21257 21258 * javax/swing/undo/UndoManager.java: fixed API doc links, 21259 * javax/swing/undo/UndoableEditSupport.java: likewise. 21260 212612005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21262 21263 * java/awt/RenderingHints.java: API doc updates. 21264 212652005-07-01 Mark Wielaard <mark@klomp.org> 21266 21267 * doc/www.gnu.org/announce/20050630.wml: New file. 21268 * doc/www.gnu.org/newsitems.txt: Add announcement. 21269 * doc/www.gnu.org/downloads/downloads.wml: Add 0.16 download. 21270 212712005-07-01 Roman Kennke <roman@kennke.org> 21272 21273 * gnu/classpath/ObjectPool.java: 21274 Removed this class. Some simple benchmarks show that it 21275 brings not much gain and actually decreases performance 21276 speed-wise. 21277 212782005-07-01 Chris Burdess <dog@gnu.org> 21279 21280 * gnu/xml/dom/DomNode.java, 21281 gnu/xml/dom/html2/DomHTMLCollection.java, 21282 gnu/xml/dom/html2/DomHTMLElement.java, 21283 gnu/xml/dom/html2/DomHTMLTableElement.java, 21284 gnu/xml/dom/html2/DomHTMLTableRowElement.java, 21285 gnu/xml/dom/html2/DomHTMLTableSectionElement.java, 21286 gnu/xml/transform/NodeNumberNode.java, 21287 gnu/xml/transform/Stylesheet.java, 21288 gnu/xml/transform/TemplateNode.java, 21289 gnu/xml/xpath/NameTest.java, 21290 gnu/xml/xpath/NamespaceTest.java: Corrections for cases where 21291 elements/attributes might have been created in non-namespace-aware 21292 mode. 21293 * gnu/xml/transform/StreamSerializer.java: Only apply HTML attribute 21294 reduction when attribute is defined as a boolean in the HTML DTD. 21295 * gnu/xml/transform/TransformerImpl.java: Add support for output 21296 indenting and cdata-section-elements output instruction. 21297 212982005-07-01 Roman Kennke <roman@kennke.org> 21299 21300 * gnu/classpath/ObjectPool.java: 21301 Introduced flag for turning on/off caching. 21302 (getInstance): Synchronized access to this method. 21303 (borrowObject): Synchronized access to the pool. 21304 Added some benchmarking statements. 21305 (returnObject): Synchronized access to the pool. 21306 Added some benchmarking statements. 21307 (createObject): Synchronized access to the pool. 21308 Added some benchmarking statements. 21309 (printStats): New method. Prints out some stats about the pool usage. 21310 213112005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21312 21313 * javax/swing/table/JTableHeader.java: added some API docs, 21314 * javax/swing/table/TableModel.java: fixed link in API docs, 21315 * javax/swing/table/package.html: added package description. 21316 213172005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21318 21319 * javax/swing/plaf/ListUI.java 21320 (locationToIndex): match parameter name to API docs. 21321 213222005-07-01 Roman Kennke <roman@kennke.org> 21323 21324 * gnu/classpath/ObjectPool.java: 21325 Made singleton instance static. Otherwise this class would not 21326 be of much use. 21327 (getInstance): Made this method static. 21328 213292005-07-01 Roman Kennke <roman@kennke.org> 21330 21331 * gnu/classpath/ObjectPool.java: 21332 New class. This can and should be used to cache throwaway objects 21333 like Rectangles, Points and Dimensions. Of course the use of 21334 this class is not limited to this cases. 21335 213362005-07-01 Roman Kennke <roman@kennke.org> 21337 21338 * javax/swing/JLayeredPane.java 21339 (getLayer): Also search through the components parents to find 21340 the one that is actually directly contained in the JLayeredPane. 21341 213422005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21343 21344 * java/awt/image/DataBuffer.java: fixed API doc typos; 21345 * java/awt/image/DataBufferByte.java: added description to API docs; 21346 * java/awt/image/DataBufferDouble.java: added description to API docs, 21347 (setElem(int, int)): removed unnecessary cast; 21348 (setElem(int, int, int)): likewise. 21349 * java/awt/image/DataBufferFloat.java: added description to API docs; 21350 (setElem(int, int)): removed unnecessary cast; 21351 (setElem(int, int, int)): likewise. 21352 * java/awt/image/DataBufferInt.java: added description to API docs; 21353 * java/awt/image/DataBufferShort.java: likewise; 21354 * java/awt/image/DataBufferUShort.java: likewise. 21355 213562005-06-30 Roman Kennke <roman@kennke.org> 21357 21358 * javax/swing/plaf/basic/BasicMenuBarUI.java 21359 (installDefaults): Made JMenuBar opaque. 21360 * javax/swing/plaf/basic/BasicOptionPaneUI.java 21361 (installDefaults): Made JOptionPane opaque. 21362 * javax/swing/plaf/basic/BasicPanelUI.java 21363 (installUI): Also call installDefaults(). 21364 (installDefaults): New method. Made JPanel opaque. 21365 * javax/swing/plaf/basic/BasicRootPaneUI.java 21366 (installDefaults): Made JRootPane opaque. 21367 * javax/swing/plaf/basic/BasicSeparatorUI.java 21368 (installDefaults): Made JSeparator opaque. 21369 * javax/swing/plaf/basic/BasicSpinnerUI.java 21370 (installDefaults): Made JSpinner opaque. 21371 * javax/swing/plaf/basic/BasicSplitPaneUI.java 21372 (installDefaults): Made JSplitPane opaque. 21373 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 21374 (installDefaults): Made JSplitPane opaque. 21375 213762005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21377 21378 * javax/swing/plaf/metal/MetalLookAndFeel.java 21379 (isNativeLookAndFeel): fixed return value, 21380 * javax/swing/plaf/metal/MetalTheme.java 21381 (getMenuDisabledForeground): fixed return value. 21382 213832005-07-01 David Gilbert <david.gilbert@object-refinery.com> 21384 21385 * javax/swing/event/TableModelEvent.java: 21386 (TableModelEvent(TableModel): set lastRowIndex to Integer.MAX_VALUE. 21387 213882005-06-30 Aaron Luchko <aluchko@redhat.com> 21389 21390 * gnu/classpath/jdwp/util/JdwpString.java: New file. 21391 213922005-06-30 Chris Burdess <dog@gnu.org> 21393 21394 * gnu/xml/dom/DomDocument.java: Add support for adopting nodes from 21395 other implementations. 21396 * gnu/xml/dom/DomNamedNodeMap.java: Fix for nodes created outside a 21397 namespace context. 21398 * gnu/xml/transform/AbstractNumberNode.java, 21399 gnu/xml/transform/ApplyImportsNode.java, 21400 gnu/xml/transform/ApplyTemplatesNode.java, 21401 gnu/xml/transform/AttributeNode.java, 21402 gnu/xml/transform/CallTemplateNode.java, 21403 gnu/xml/transform/ChooseNode.java, 21404 gnu/xml/transform/CommentNode.java, 21405 gnu/xml/transform/CopyNode.java, 21406 gnu/xml/transform/CopyOfNode.java, 21407 gnu/xml/transform/ElementNode.java, 21408 gnu/xml/transform/ForEachNode.java, 21409 gnu/xml/transform/IfNode.java, 21410 gnu/xml/transform/LiteralNode.java, 21411 gnu/xml/transform/MessageNode.java, 21412 gnu/xml/transform/NodeNumberNode.java, 21413 gnu/xml/transform/NumberNode.java, 21414 gnu/xml/transform/OtherwiseNode.java, 21415 gnu/xml/transform/ParameterNode.java, 21416 gnu/xml/transform/ProcessingInstructionNode.java, 21417 gnu/xml/transform/StreamSerializer.java, 21418 gnu/xml/transform/Stylesheet.java, 21419 gnu/xml/transform/Template.java, 21420 gnu/xml/transform/TemplateNode.java, 21421 gnu/xml/transform/TextNode.java, 21422 gnu/xml/transform/ValueOfNode.java, 21423 gnu/xml/transform/WhenNode.java: Parsing and serialisation design 21424 changes to minimise the number of virtual machine stack frames used. 21425 214262005-06-30 Anthony Balkissoon <abalkiss@redhat.com> 21427 21428 * javax/swing/JTable.java: 21429 (initializeLocalVars): Set dragEnabled to true by default to comply 21430 with reference implementations. 21431 (getSelectionModel): Don't return null if row selection is disabled, 21432 still return selectionModel. This complies with reference 21433 implemenations. 21434 (changeSelection): New method. 21435 * javax/swing/plaf/basic/BasicTableUI.java: Added a MouseMotionListener 21436 so that MouseDragged events register properly. 21437 (MouseInputHandler.updateSelection): Added boolean parameter for 21438 Control being pressed and added functionality for this (multiple 21439 selection). 21440 214412005-06-30 Roman Kennke <roman@kennke.org> 21442 21443 * javax/swing/JComponent.java: 21444 Removed all calls to repaint() and revalidate(). These are likely 21445 causing infinite loops with the RepaintManager. 21446 214472005-06-30 Roman Kennke <roman@kennke.org> 21448 21449 * javax/swing/plaf/basic/BasicListUI.java 21450 (damageLayout): Removed call to revalidate(). This caused an 21451 infinite loop with the RepaintManager and is not necessary. 21452 214532005-06-30 Roman Kennke <roman@kennke.org> 21454 21455 * javax/swing/plaf/basic/BasicScrollBarUI.java: 21456 Removed all calls to layoutContainer() in this file. 21457 (installDefaults): Set this as LayoutManager for the JScrollBar. 21458 This way the layoutContainer() method is called when it should be. 21459 214602005-06-30 Mark Wielaard <mark@klomp.org> 21461 21462 * configure.ac: Set version to 0.16+cvs. 21463 214642005-06-30 Mark Wielaard <mark@klomp.org> 21465 21466 * NEWS: Add 0.16 release date and new features. 21467 * configure.ac: Set version to 0.16. 21468 214692005-06-30 Anthony Balkissoon <abalkiss@redhat.com> 21470 21471 * javax/swing/DefaultListSelectionModel.java: 21472 (addSelectionInterval): Don't clear the selection state if JList's 21473 selection mode is SINGLE_SELECTION_INTERVAL and index0 and index1 21474 correspond to an interval adjacent to an already selected interval. 21475 (removeSelectionInterval): Added check for a middle interval being 21476 removed when selection mode is SINGLE_SELECTION_INTERVAL. 21477 * javax/swing/plaf/basic/BasicListUI.java: 21478 (KeyHandler.keyPressed): Added check for scrolling past bottom of list. 21479 (MouseHandler.mouseClicked): Added check for shift key being 21480 pressed. 21481 214822005-06-30 Keith Seitz <keiths@redhat.com> 21483 21484 * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method. 21485 (myWrite): New abstract method. 21486 (toBytes): Remove. 21487 (myToBytes): Remove. 21488 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New 21489 method. 21490 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New 21491 method. 21492 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use 21493 JdwpPacket.write instead of JdwpPacket.toBytes. 21494 214952005-06-30 Andrew John Hughes <gnu_andrew@member.fsf.org> 21496 21497 * gnu/java/locale/LocaleHelper.java: 21498 Fixed to use new property files. 21499 215002005-06-30 Keith Seitz <keiths@redhat.com> 21501 21502 * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): New 21503 method. 21504 (_bytes): New member. 21505 (_doStream): New member. 21506 (JdwpConnection): Initialize new members. 21507 215082005-06-30 Lillian Angel <langel@redhat.com> 21509 * javax/swing/JTree.java: 21510 (valueChanged): repaint everytime something is selected in the 21511 tree. 21512 (setSelectionModel): set TreeSelectionListeners 21513 (isRowSelected): isRowSelected uses isPathSelected 21514 * javax/swing/plaf/basic/BasicTreeUI.java 21515 (setSelectionModel): works with JTree to set the selection model 21516 (getPathForRow): took out unneeded lines 21517 (mouseClicked): switched if statements, should check if already 21518 selected first. 21519 (paintLeaf): checked selection of Leaf and paint selected 21520 differently than not selected cells 21521 (paintNonLeaf): checked selection of nonLeaf and paint selected 21522 differently than not selected cells 21523 (paintRecursive): updated to work with other paint functions 21524 * javax/swing/tree/DefaultTreeSelectionModel.java: 21525 (addSelectionPath): fire change, so selection is registered to 21526 listener 21527 (addSelectionPaths): fire change, so selection is registered to 21528 listener 21529 (removeSelectionPath): fire change, so selection is registered 21530 to listener 21531 (removeSelectionPaths): fire change, so selection is registered 21532 to listener 21533 (isPathSelected): took out unneeded lines 21534 (getTreeSelectionListeners): made more logical to call 21535 getListeners 21536 (fireValueChanged): fixed loop to be more logical 21537 215382005-06-30 Mark Wielaard <mark@klomp.org> 21539 21540 * javax/swing/JEditorPane.java (getEditorKit): Call 21541 createDefaultEditorKit() and setEditorKit() when editorKit == null. 21542 * javax/swing/JTextPane.java: Call super for all methods where 21543 possible. 21544 215452005-06-29 Thomas Fitzsimmons <fitzsim@redhat.com> 21546 21547 * INSTALL: Drop GTK requirement to 2.4. 21548 * NEWS: Likewise. 21549 * configure.ac: Likewise. 21550 21551 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 21552 Re-add GTK 2.4 support. 21553 215542005-06-29 Christian Thalinger <twisti@complang.tuwien.ac.at> 21555 21556 * native/fdlibm/Makefile.am: Added s_finite.c 21557 * native/fdlibm/s_finite.c: Added 21558 215592005-06-29 Anthony Balkissoon <abalkiss@redhat.com> 21560 21561 * javax/swing/DefaultListSelectionModel.java: 21562 (addSelectionInterval): 21563 (clearSelection): 21564 (removeSelectionInterval): 21565 (setLeadSelectionIndex): 21566 (setSelectionInterval): Check that the selection model actually 21567 changes before calling fireValueChanged. 21568 215692005-06-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21570 21571 NEWS: Corrected note about CORBA status in 1.6 release. 21572 215732005-06-29 Roman Kennke <roman@kennke.org> 21574 21575 * javax/swing/plaf/basic/BasicLabelUI.java 21576 (installDefaults): Do not set the border here. 21577 (uninstallDefaults): Do not unset the border here. 21578 215792005-06-29 Roman Kennke <roman@kennke.org> 21580 21581 * javax/swing/JComponent.java 21582 (getComponentGraphics): Do not replicate the Graphics at this 21583 point. This is moved into paintComponent. 21584 (paintComponent): Replicate the Graphics object before going into 21585 the tree. This makes sure that the state is preserved and is 21586 what is specified in the JDKs API docs. 21587 215882005-06-29 Lillian Angel <langel@redhat.com> 21589 21590 * javax/swing/plaf/basic/BasicTreeUI.java: 21591 (BasicTreeUI): Initalization of listeners and instances. 21592 (createUI): Implementation 21593 (getHashColor): Implementation 21594 (setLeftChildIndent): Implementation 21595 (getLeftChildIndent): Implementation 21596 (setRightChildIndent): Implementation 21597 (getRightChildIndent): Implementation 21598 (setExpandedIcon): Implementation 21599 (getExpandedIcon): Implementation 21600 (setCollapsedIcon): Implementation 21601 (getCollapsedIcon): Implementation 21602 (setLargeModel): Implementation 21603 (isLargeModel): Implementation 21604 (setRowHeight): Implementation 21605 (getRowHeight): Implementation 21606 (setCellRenderer): Implementation 21607 (getCellRenderer): Implementation 21608 (setModel): Implementation 21609 (getModel): Implementation 21610 (setRootVisible): Implementation 21611 (isRootVisible): Implementation 21612 (setShowsRootHandles): Implementation 21613 (getShowsRootHandles): Implementation 21614 (setCellEditor): Implementation 21615 (getCellEditor): Implementation 21616 (setEditable): Implementation 21617 (isEditable): Implementation 21618 (setSelectionModel): Implementation 21619 (getSelectionModel): Implementation 21620 (getPathForRow): Implementation 21621 (getRowForPath): Implementation 21622 (getRowCount): Implementation 21623 (getClosestPathForLocation): Implementation 21624 (createPropertyChangeListener): Implementation 21625 (createMouseListener): Implementation 21626 (createFocusListener): Implementation 21627 (createKeyListener): Implementation 21628 (createSelectionModelPropertyChangeListener): Implementation 21629 (createTreeSelectionListener): Implementation 21630 (createCellEditorListener): Implementation 21631 (createComponentListener): Implementation 21632 (createTreeExpansionListener): Implementation 21633 (createLayoutCache): Implementation 21634 (createCellRendererPane): Implementation 21635 (createDefaultCellEditor): Implementation 21636 (createDefaultCellRenderer): Implementation 21637 (createTreeModelListener): Implementation 21638 (uninstallListeners): Implementation 21639 (getLastChildPath): Implementation 21640 (configureLayoutCache): Implementation 21641 (installDefaults): Implementation 21642 (installListeners): Implementation 21643 (installUI): Implementation 21644 (uninstallDefaults): Implementation 21645 (uninstallUI): Implementation 21646 (paint): moderate changes, so painting works with new changes 21647 (MouseInputHandler.mouseClicked): Implementation 21648 (paintLeaf): made private 21649 (paintNonLeaf): made private 21650 (paintRecursive): made private 21651 Several variables, instances and methods were adding according 21652 to the API. The methods that were added and not in the list 21653 above, have not been implemented yet. All JavaDoc is updated, 21654 as well as formatting. 21655 * javax/swing/JTree.java: 21656 (createChildren): checked that children is not null. 21657 * javax/swing/tree/AbstractLayoutCache.java: 21658 (getNodeDimensions): slight modifications to return initialized 21659 Rectangle when the bounds are null. Implementation not complete. 21660 * javax/swing/tree/DefaultTreeSelectionModel.java: 21661 (addSelectionPath): Implementation 21662 (addSelectionPaths): Implementation 21663 (removeSelectionPath): Implementation 21664 (removeSelectionPaths): Implementation 21665 (getSelectionPaths): returned the selection array 21666 (clearSelection): set the selection array to null 21667 * javax/swing/tree/FixedHeightLayoutCache.java: 21668 (setModel): removed this method because it is defined in the 21669 abstract parent. 21670 (setRootVisible): removed this method because it is defined in 21671 the abstract parent. 21672 (setRowHeight): removed this method because it is defined in 21673 the abstract parent. 21674 Also, some formatting was updated. 21675 * javax/swing/tree/VariableHeightLayoutCache.java: 21676 (setRowHeight): removed this method because it is defined in 21677 the abstract parent. 21678 * javax/swing/tree/DefaultTreeModel.java: 21679 (DefaultTreeModel): Needed to initialize root if it was passed 21680 into the constructor as null. 21681 216822005-06-29 David Gilbert <david.gilbert@object-refinery.com> 21683 21684 * javax/swing/event/TableModelEvent.java: updated API docs all over. 21685 216862005-06-29 Roman Kennke <roman@kennke.org> 21687 21688 * gnu/java/awt/AWTUtilities.java 21689 (VisibleComponentList): Added List implementation that iterates over 21690 the child components of a Container and only returns Components 21691 that are actually visible. 21692 (getVisibleChildren): Now returns a List instead of an array. This 21693 list is cached. This greatly decreases allocations in 21694 LayoutManagers. 21695 * javax/swing/BoxLayout.java: 21696 Updated to use the new AWTUtilities.getVisibleChildren() method. 21697 216982005-06-29 David Gilbert <david.gilbert@object-refinery.com> 21699 21700 * javax/swing/package.html: added package description, 21701 * javax/swing/border/package.html: likewise, 21702 * javax/swing/colorchooser/package.html: likewise, 21703 * javax/swing/event/package.html: likewise, 21704 * javax/swing/filechooser/package.html: likewise, 21705 * javax/swing/plaf/package.html: likewise, 21706 * javax/swing/plaf/basic/package.html: likewise, 21707 * javax/swing/plaf/metal/package.html: likewise, 21708 * javax/swing/tree/package.html: likewise, 21709 * javax/swing/undo/package.html: likewise. 21710 217112005-06-29 David Gilbert <david.gilbert@object-refinery.com> 21712 21713 * java/awt/Font.java: fixed API doc links. 21714 217152005-06-28 David Gilbert <david.gilbert@object-refinery.com> 21716 21717 * java/awt/event/AWTEventListener.java: added imports to fix links 21718 in API docs, 21719 * java/awt/event/AWTEventListenerProxy.java: likewise, 21720 * java/awt/event/InputMethodListener.java: likewise, 21721 * java/awt/event/ItemListener.java: likewise, 21722 * java/awt/event/MouseWheelEvent.java: likewise, 21723 * java/awt/event/TextEvent.java: likewise, 21724 * java/awt/event/WindowEvent.java: likewise, 21725 * java/awt/event/WindowListener.java: likewise. 21726 217272005-06-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21728 21729 * org/omg/CosNaming/BindingIterator.java: Inherit from 21730 BindingIteratorOperations, added specnotes for 1.2 specific methods. 21731 * org/omg/CosNaming/NamingContext.java: Inherit from 21732 NamingContextOperations, added specnotes for 1.2 specific methods. 21733 * org/omg/IOP/Encoding.java, 21734 org/omg/IOP/TaggedComponent.java, 21735 org/omg/IOP/TaggedProfile.java: Inherit from Serializable, added 21736 SerialVersionUID. 21737 org/omg/CosNaming/BindingIteratorOperations.java, 21738 org/omg/Dynamic/Parameter.java: New files. 21739 217402005-06-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21741 21742 * gnu/CORBA/gnuRequest.java (submit): If IOException is 21743 thrown while opening a socket, rethrow MARSHAL. 21744 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): 21745 Fixed regression due that the service started on the wrong port. 21746 217472005-06-28 Mark Wielaard <mark@klomp.org> 21748 21749 From Christian Thalinger 21750 * doc/www.gnu.org/stories.wml: Add CACAO description. 21751 217522005-06-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21753 21754 * org/omg/CORBA/_IDLTypeStub.java: Added SerialVersionUID. 21755 org/omg/CORBA/PolicyTypeHelper.java: New file. 21756 217572005-06-28 David Gilbert <david.gilbert@object-refinery.com> 21758 21759 * javax/swing/table/AbstractTableModel.java: updated API docs, 21760 * javax/swing/table/DefaultTableModel.java: fixed API docs. 21761 217622005-06-28 Jeroen Frijters <jeroen@frijters.net> 21763 21764 * gnu/java/nio/DatagramChannelImpl.java 21765 (getNativeFD): Removed. 21766 * gnu/java/nio/DatagramChannelSelectionKey.java 21767 (getNativeFD): Modified to extract the native fd via the 21768 PlainDatagramSocketImpl. 21769 * gnu/java/nio/ServerSocketChannelImpl.java 21770 (getNativeFD): Removed. 21771 * gnu/java/nio/ServerSocketChannelSelectionKey.java 21772 (getNativeFD): Modified to extract the native fd via the 21773 PlainSocketImpl. 21774 * gnu/java/nio/SocketChannelImpl.java 21775 (getNativeFD): Removed. 21776 * gnu/java/nio/SocketChannelSelectionKey.java 21777 (getNativeFD): Modified to extract the native fd via the 21778 PlainSocketImpl. 21779 217802005-06-28 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21781 21782 NEWS: Added note about CORBA status in 1.6 release. 21783 217842005-06-27 Ziga Mahkovec <ziga.mahkovec@klika.si> 21785 21786 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (constructors): Default to 21787 a transparent background instead of black. 21788 (drawImage): When drawing a raster, pass live data to avoid copying. 21789 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage): Return 21790 a BufferedImage when using Graphics2D. 21791 * javax/swing/JComponent.java (getComponentGraphics): Avoid copying 21792 Graphics2D instances. 21793 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 21794 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_copyState): Copy the pixel 21795 buffer and initialize a new cairo context in MODE_JAVA_ARRAY. 21796 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_drawPixels): Revert 21797 previous transformation patch. 21798 217992005-06-27 Ziga Mahkovec <ziga.mahkovec@klika.si> 21800 21801 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 21802 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_copyState): 21803 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_initState___3III): 21804 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_initState__II): 21805 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_initState__Lgnu_java_awt_peer_gtk_GtkComponentPeer_2): 21806 Remove gdk_cairo_create calls. 21807 Obtain dimension for the cairo surface. 21808 (init_graphics2d_as_renderable): Fix cairo_xlib_surface_create 21809 invocation by passing dimension. 21810 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_drawPixels): Fix translation 21811 matrix sign. 21812 Use cairo_set_source for applying patterns. 21813 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): Fix 21814 cairo_set_source_surface invocation by passing position instead of 21815 dimension. 21816 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_initState___3III): 21817 (begin_drawing_operation): 21818 (end_drawing_operation): In MODE_JAVA_ARRAY mode, only initialize the 21819 cairo context once. Use GetPrimitiveArrayCritical for pinning down 21820 pixel buffers and maintain a buffer copy if necessary. 21821 * native/jni/gtk-peer/gtkcairopeer.h (javabuf_copy): New field. 21822 218232005-06-27 Mark Wielaard <mark@klomp.org> 21824 21825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 21826 (glog_func): New static function. 21827 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Install glog_func as 21828 default log handler. 21829 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LIBADD): Add jcl. 21830 218312005-06-27 Roman Kennke <roman@kennke.org> 21832 21833 * javax/swing/JComponent.java 21834 (getPreferredSize): Don't let the UI replace a manually set preferred 21835 size. 21836 218372005-06-27 Roman Kennke <roman@kennke.org> 21838 21839 * javax/swing/Box.java 21840 (createGlue): Return Short.MAX_VALUE instead of Integer.MAX_VALUE as 21841 dimension in the Filler component. 21842 (createHorizontalGlue): Return a new Filler object with the correct 21843 value instead of relying on createGlue(). The object returned by 21844 createHorizontalGlue must not have a vertical dimension. 21845 218462005-06-27 Roman Kennke <roman@kennke.org> 21847 21848 * javax/swing/BoxLayout.java 21849 (Direction): New inner interface. This abstracts the layout algorithm 21850 from the layout direction. 21851 (Horizontal): Implementation for the above interface for the 21852 horizontal direction. 21853 (Vertical): Implementation for the above interface for the 21854 vertical direction. 21855 (SizeReq): An inner helper class that holds size requirements for 21856 Components that are laid out. This is similar but not equal to 21857 the SizeRequirements class in javax.swing. 21858 (layoutContainer): Removed the actual algorithm into a new method, 21859 using the Direction interface. 21860 (layoutAlgorithm): This is the new layout algorithm. This uses 21861 the Direction interface, so that the algorithm is not duplicated 21862 and can be expressed more readable. 21863 (distributeSpace): A new helper method that distributes excess 21864 space over a set of components. This is the actual 'worker' in 21865 BoxLayout. 21866 218672005-06-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21868 21869 org/omg/DynamicAny/DynAnyPackage/InvalidValue.java, 21870 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java, 21871 org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java, 21872 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java, 21873 org/omg/DynamicAny/DynAnyPackage/package.html, 21874 org/omg/IOP/ComponentIdHelper.java: New files. 21875 218762005-06-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21877 21878 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 21879 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java: 21880 New files. 21881 218822005-06-27 Tom Tromey <tromey@redhat.com> 21883 21884 * java/lang/Integer.java: 21885 (valueOf(int)): Implemented. 21886 (bitCount(int)): Implemented. 21887 (rotateLeft(int,int)): Implemented. 21888 (rotateRight(int,int)): Implemented. 21889 (highestOneBit(int)): Implemented. 21890 (numberOfLeadingZeros(int)): Implemented. 21891 (lowestOneBit(int)): Implemented. 21892 (numberOfTrailingZeros(int)): Implemented. 21893 (signum(int)): Implmented. 21894 (reverseBytes(int)): Implemented. 21895 (reverse(int)): Implemented. 21896 218972005-06-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21898 21899 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java: 21900 New file. 21901 219022005-06-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21903 21904 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 21905 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java, 21906 org/omg/PortableServer/POAManagerPackage/State.java, 21907 org/omg/PortableServer/POAManagerPackage/index.html: New files. 21908 219092005-06-24 David Gilbert <david.gilbert@object-refinery.com> 21910 21911 * javax/swing/plaf/ColorUIResource.java: documented 21912 IllegalArgumentExceptions in constructors; 21913 219142005-06-24 David Gilbert <david.gilbert@object-refinery.com> 21915 21916 * javax/swing/table/AbstractTableModel.java: 21917 (getColumnName): eliminated temp index to fix very minor bug, 21918 (findColumn): throw NullPointerException for null argument, 21919 (fireTableDataChanged): set correct row indices. 21920 * javax/swing/table/DefaultTableModel.java: 21921 (setDataVector): replace null argument with empty vector then call 21922 setColumnIdentifiers() to set up column names, 21923 (setColumnCount): call fireTableStructureChanged() rather than 21924 fireTableDataChanged(), 21925 (addColumn(Object, Object[])): call fireTableStructureChanged() rather 21926 than fireTableDataChanged(), 21927 (addRow(Vector)): fixed row indices in TableModelEvent, 21928 (moveRow): fixed row indices in TableModelEvent, 21929 (getColumnName): for a column index beyond the number of columns in 21930 the model, pass control to the superclass. 21931 219322005-06-24 Anthony Balkissoon <abalkiss@redhat.com> 21933 21934 * java/awt/Container.java: 21935 (LightweightDispatcher.acquireComponentForMouseEvent): 21936 Use temp variable to set lastComponentEntered to null _before_ 21937 dispatching MOUSE_EXITED events to avoid infinite loop. 21938 * javax/swing/plaf/basic/BasicPopupMenuUI.java: 21939 (MouseInputHandler.acquireComponentForMouseEvent): 21940 Use temp variable to set lastComponentEntered to null _before_ 21941 dispatching MOUSE_EXITED events to avoid infinite loop. 21942 219432005-06-24 Anthony Balkissoon <abalkiss@redhat.com> 21944 21945 * javax/swing/JScrollPane.java 21946 (JScrollPane): Add Viewport at index 0 rather than after the 21947 JScrollBars. This complies with reference implementations. 21948 219492005-05-14 Chris Burdess <dog@gnu.org> 21950 21951 * gnu/xml/aelfred2/XmlParser.java: ensure that charset parameter of 21952 external MIME entity is trimmed. 21953 * gnu/xml/dom/DomDocument.java: DomNsNodes retrieved via 21954 createElement/createAttribute should not have localNames. 21955 219562005-06-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21957 21958 org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 21959 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java, 21960 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java, 21961 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java, 21962 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java, 21963 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java, 21964 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java, 21965 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java, 21966 org/omg/PortableServer/POAPackage/NoServantHelper.java, 21967 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java, 21968 org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 21969 org/omg/PortableServer/POAPackage/InvalidPolicy.java, 21970 org/omg/PortableServer/POAPackage/NoServant.java, 21971 org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 21972 org/omg/PortableServer/POAPackage/ObjectNotActive.java, 21973 org/omg/PortableServer/POAPackage/ServantNotActive.java, 21974 org/omg/PortableServer/POAPackage/WrongAdapter.java, 21975 org/omg/PortableServer/POAPackage/WrongPolicy.java, 21976 gnu/CORBA/Poa/InvalidPolicyHolder.java, 21977 org/omg/PortableServer/POAPackage/package.html: New files. 21978 219792005-06-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> 21980 21981 * org/omg/IOP/CodecOperations.java, 21982 org/omg/IOP/Codec.java, 21983 org/omg/IOP/CodecFactory.java, 21984 org/omg/IOP/CodecFactoryHelper.java, 21985 org/omg/IOP/CodecFactoryOperations.java, 21986 gnu/CORBA/cdrEncapsCodec.java, 21987 gnu/CORBA/gnuCodecFactory.java: New files. 21988 * gnu/CORBA/Functional_ORB.java (constructor): 21989 Put "CodecFactory" into initial references. 21990 * gnu/CORBA/holderFactory.java (createHolder): 21991 Removed debug statement. 21992 219932005-06-24 Anthony Balkissoon <abalkiss@redhat.com> 21994 21995 * javax/swing/plaf/basic/BasicInternalFrameUI.java: 21996 (GlassPaneDispatcher.acquireComponentForMouseEvent): Use 21997 temp variable to set lastComponentEntered to null _before_ 21998 dispatching MOUSE_EXITED events, otherwise we get infinite 21999 loop. 22000 220012005-06-24 Roman Kennke <roman@kennke.org> 22002 22003 * gnu/java/awt/AWTUtilities.java: 22004 Added new utility class. This provides a method for fetching 22005 the visible children of a Container. 22006 * javax/swing/BoxLayout.java: 22007 Use AWTUtilities.getVisibleChildren() instead of 22008 Container.getComponents(). LayoutManagers must not layout invisible 22009 children. 22010 220112005-06-24 Roman Kennke <roman@kennke.org> 22012 22013 * javax/swing/JTable.java 22014 (constructor): Call setModel() instead of setting the model directly. 22015 This makes sure that listeners and the columnModel are set up 22016 correctly. 22017 (initializeLocalVars): Set up tableHeader before the columnModel. 22018 This way we already have a tableHeader when setColumnModel is called 22019 and it can be updated accordingly. 22020 (tableChanged): Update the columnModel when the table structure 22021 changes. 22022 (setColumnModel): Also set the columnModel of the tableHeader here. 22023 This is specified in Sun's API documentation. 22024 * javax/swing/table/DefaultTableModel.java 22025 (setDataVector): Fire a structureChanged event, so that the 22026 columnModel and header columnModel are updated correctly. 22027 220282005-06-23 Sven de Marothy <sven@physto.se> 22029 22030 * gnu/java/awt/peer/gtk/GtkImage.java: Don't draw 0 size images. 22031 220322005-06-23 Sven de Marothy <sven@physto.se> 22033 22034 * gnu/java/awt/peer/gtk/GtkImage.java: Add case source size > size. 22035 220362005-06-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22037 22038 * org/omg/CORBA/LocalObject.java: New file. 22039 220402005-06-22 Mark Wielaard <mark@klomp.org> 22041 22042 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java 22043 (pumpBytes): Throws IOException. 22044 (pumpDone): New native method. 22045 (produce): Call pumpDone(). 22046 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Regenerated. 22047 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 22048 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): New method. 22049 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Check for 22050 errors on gdk_pixbuf_loader_write. 22051 220522005-06-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22053 22054 * org/omg/IOP/ProfileIdHelper.java, 22055 omg/IOP/MultipleComponentProfileHelper.java, 22056 omg/IOP/MultipleComponentProfileHolder.java: New files. 22057 220582005-06-22 Anthony Balkissoon <abalkiss@redhat.com> 22059 22060 * javax/swing/plaf/basic/BasicInternalFrameUI.java: 22061 (InternalFramePropertyChangeListener.vetoableChange): 22062 Repaint the JDesktopPane when JInternalFrame is closed. 22063 Also veto the close request, because hiding is not 22064 closing. 22065 220662005-06-22 Anthony Balkissoon <abalkiss@redhat.com> 22067 22068 * javax/swing/SwingUtilities.java: 22069 (layoutCompoundLabel): Added check for multi-line text. 22070 220712005-06-22 Anthony Balkissoon <abalkiss@redhat.com> 22072 22073 * javax/swing/JDialog.java: 22074 (setDefaultCloseOperation): Removed validity check for 22075 operation code. Validity is handled in processWindowEvent. 22076 * javax/swing/JFrame.java: 22077 (setDefaultCloseOperation): Changed error message to be more 22078 descriptive and similar to reference implementation. 22079 * javax/swing/JInternalFrame.java: 22080 (setDefaultCloseOperation): Removed validity check for 22081 operation code. 22082 * javax/swing/plaf/basic/BasicInternalFrameUI.java: 22083 (InternalFramePropertyListener): Added implementation of 22084 VetoableChangeListener. 22085 (InternalFramePropertyListener.vetoableChange): New method. 22086 (InternalFramePropertyListener.propertyChange): Removed 22087 check for JInternalFrame.IS_CLOSED_PROPERTY. This is now 22088 handled in vetoableChange. 22089 (getDesktopManager): Added a check for null pointer from 22090 JInternalFrame.getDesktopPane(). 22091 220922005-06-22 Roman Kennke <roman@kennke.org> 22093 22094 * javax/swing/plaf/basic/BasicLabelUI.java 22095 (installDefaults): JLabels are not opaque by default. 22096 220972005-06-22 Roman Kennke <roman@kennke.org> 22098 22099 * javax/swing/GrayFilter.java 22100 (constructor): Compute factor at initialization time. 22101 (createDisabledImage): Initialize GrayFilter with correct arguments. 22102 (filterRGB): Reworked filter method. This is now compliant with 22103 the JDK behaviour. 22104 221052005-06-22 Mark Wielaard <mark@klomp.org> 22106 22107 Fixes bug #13439 22108 * javax/swing/JScrollPane.java (JScrollPane(Component,int,int)): 22109 Set viewport, view and scrollLostener manually. 22110 221112005-06-22 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22112 22113 * org/omg/IOP/ServiceContextListHolder.java, 22114 org/omg/IOP/ServiceContext.java 22115 org/omg/IOP/ServiceContextHelper.java 22116 org/omg/IOP/ServiceContextHolder.java 22117 org/omg/IOP/ServiceContextListHelper.java 22118 org/omg/IOP/ServiceIdHelper.java: New files. 22119 221202005-06-21 Lillian Angel <langel@redhat.com> 22121 22122 * java/util/logging/Logger.java 22123 (setParent): No lines after throwing an exception are executed 22124 and there is no point to check if the parent is null, because a 22125 NullPointerException would have been thrown earlier. Fixes Bug 22126 #13460. 22127 221282005-06-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22129 22130 * org/omg/IOP/Encoding.java, 22131 org/omg/IOP/IOR.java, 22132 org/omg/IOP/IORHelper.java, 22133 org/omg/IOP/IORHolder.java, 22134 org/omg/IOP/TaggedProfileHolder.java, 22135 org/omg/IOP/TaggedProfile.java, 22136 org/omg/IOP/TaggedProfileHelper.java, 22137 org/omg/IOP/TaggedComponentHolder.java, 22138 org/omg/IOP/TaggedComponent.java, 22139 org/omg/IOP/TaggedComponentHelper.java: New files. 22140 221412005-06-21 Lillian Angel <langel@redhat.com> 22142 22143 * gnu/xml/aelfred2/XmlParser 22144 (parseAttribute): if (type.equals("CDATA") || type == null) 22145 this would always throw a NullPointerException if type is null. 22146 221472005-06-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22148 22149 * gnu/CORBA/Functional_ORB.java (Port): Documentation 22150 update. (setPort): Made static, documentation update. 22151 (getPort): Removed. 22152 * gnu/CORBA/generalTypeCode.java (UNSET): Changed value. 22153 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): 22154 Removed call to init. 22155 221562005-06-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22157 22158 * org/omg/CORBA/CurrentHelper.java, 22159 org/omg/CORBA/CurrentHolder.java: New files. 22160 221612005-06-21 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22162 22163 * org/omg/CORBA/Current.java, 22164 org/omg/CORBA/CurrentOperations.java: Documentation update. 22165 221662005-06-20 Mark Wielaard <mark@klomp.org> 22167 22168 * javax/swing/DefaultDesktopManager.java (getBoundsForIconOf): 22169 Initialize desktopPane before use. 22170 221712005-06-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22172 22173 * javax/swing/text/html/HTML.java: Added public parameterless 22174 constructor for Tag. 22175 221762005-06-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22177 22178 * org/omg/CORBA/PolicyListHolder.java, 22179 org/omg/CORBA/PolicyListHelper.java: New files. 22180 221812005-06-20 Lillian Angel <langel@redhat.com> 22182 22183 * javax/swing/DefaultDesktopManager.java 22184 (getBoundsForIconOf): No reason to check if desktopPane is null 22185 after dereferencing desktopPane in code. Fixes bug #13461. 22186 221872005-06-20 Lillian Angel <langel@redhat.com> 22188 22189 * javax/swing/JScrollPane.java 22190 (JScrollPane): Viewport was not being set when 22191 the view was null. Whenever a view would be added to container 22192 it would not appear. This was changed to use setViewportView. 22193 221942005-06-20 Roman Kennke <roman@kennke.org> 22195 22196 * javax/swing/AbstractButton.java: 22197 * javax/swing/AbstractCellEditor.java: 22198 * javax/swing/Action.java: 22199 * javax/swing/BorderFactory.java: 22200 * javax/swing/ButtonGroup.java: 22201 * javax/swing/CellRendererPane.java: 22202 * javax/swing/DebugGraphics.java: 22203 * javax/swing/DefaultBoundedRangeModel.java: 22204 * javax/swing/DefaultButtonModel.java: 22205 * javax/swing/DefaultCellEditor.java: 22206 * javax/swing/DefaultComboBoxModel.java: 22207 * javax/swing/DefaultDesktopManager.java: 22208 * javax/swing/DefaultFocusManager.java: 22209 * javax/swing/DefaultListCellRenderer.java: 22210 * javax/swing/DefaultListModel.java: 22211 * javax/swing/DefaultListSelectionModel.java: 22212 * javax/swing/FocusManager.java: 22213 * javax/swing/GrayFilter.java: 22214 * javax/swing/ImageIcon.java: 22215 * javax/swing/JButton.java: 22216 * javax/swing/JCheckBoxMenuItem.java: 22217 * javax/swing/JColorChooser.java: 22218 * javax/swing/JComboBox.java: 22219 * javax/swing/JComponent.java: 22220 * javax/swing/JDesktopPane.java: 22221 Reformatted these sourcefiles to better match our coding style. 22222 222232005-06-20 Roman Kennke <roman@kennke.org> 22224 22225 * javax/swing/JComponent.java 22226 (getPreferredSize): Make sure that preferredSize is greater than 22227 minimumSize. 22228 (setMinimumSize): Removed hack to adjust preferredSize. This is moved 22229 into the method getPreferredSize(). 22230 222312005-06-20 Roman Kennke <roman@kennke.org> 22232 22233 * javax/swing/JComponent.java 22234 (setOpaque): Don't revalidate and repaint when the opaque property 22235 is changed (at least not here). 22236 222372005-06-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22238 22239 * javax/swing/text/html/HTMLEditorKit.java: 22240 Inherit from StyledEditorKit, Cloneable, Serializable and adding 22241 string constants. 22242 (handleStartTag): Fixed typo in comment. 22243 222442005-06-20 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22245 22246 * org/omg/CORBA/PolicyHelper.java, 22247 org/omg/CORBA/PolicyHolder.java, 22248 org/omg/CORBA/_PolicyStub.java, 22249 gnu/CORBA/_PolicyImplBase.java: New files. 22250 222512005-06-19 Mark Wielaard <mark@klomp.org> 22252 22253 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c 22254 (gnu_java_awt_peer_gtk_GtkImage_getPixbuf, 22255 gnu_java_awt_peer_gtk_GtkImage_getPixmap, 22256 gnu_java_awt_peer_gtk_GtkImage_isOffScreen): Move declaration to ... 22257 * native/jni/gtk-peer/gtkpeer.h: here. 22258 222592005-06-18 Chris Burdess <dog@bluezoo.org> 22260 22261 * java/util/logging/LogManager.java: Set default level of root 22262 logger to INFO. 22263 222642005-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22265 22266 * org/omg/IOP/TransactionService.java, 22267 org/omg/IOP/CodeSets.java: New files. 22268 222692005-06-17 Jeroen Frijters <jeroen@frijters.net> 22270 22271 * java/lang/ThreadLocal.java, 22272 java/util/TreeMap.java: Fixes to make compiling with Eclipse Java 22273 Compiler SVN HEAD possible. 22274 222752005-06-17 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22276 22277 * org/omg/PortableServer/ID_ASSIGNMENT_POLICY_ID.java, 22278 org/omg/PortableServer/ID_UNIQUENESS_POLICY_ID.java, 22279 org/omg/PortableServer/IMPLICIT_ACTIVATION_POLICY_ID.java, 22280 org/omg/PortableServer/LIFESPAN_POLICY_ID.java, 22281 org/omg/PortableServer/REQUEST_PROCESSING_POLICY_ID.java, 22282 org/omg/PortableServer/SERVANT_RETENTION_POLICY_ID.java, 22283 org/omg/PortableServer/THREAD_POLICY_ID.java, 22284 org/omg/IOP/ENCODING_CDR_ENCAPS.java, 22285 org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java, 22286 org/omg/IOP/TAG_CODE_SETS.java, 22287 org/omg/IOP/TAG_INTERNET_IOP.java, 22288 org/omg/IOP/TAG_JAVA_CODEBASE.java, 22289 org/omg/IOP/TAG_MULTIPLE_COMPONENTS.java, 22290 org/omg/IOP/TAG_ORB_TYPE.java, 22291 org/omg/IOP/TAG_POLICIES.java, 22292 org/omg/PortableInterceptor/LOCATION_FORWARD.java, 22293 org/omg/PortableInterceptor/SUCCESSFUL.java, 22294 org/omg/PortableInterceptor/SYSTEM_EXCEPTION.java, 22295 org/omg/PortableInterceptor/TRANSPORT_RETRY.java, 22296 org/omg/PortableInterceptor/USER_EXCEPTION.java: New files. 22297 222982005-06-17 Tom Tromey <tromey@redhat.com> 22299 22300 * lib/Makefile.am (JAVAC): Use JIKESENCODING. 22301 * m4/acinclude.m4 (CLASSPATH_CHECK_JIKES): Check for -encoding 22302 option to jikes. 22303 (JIKESENCODING): New subst. 22304 223052005-06-17 Keith Seitz <keiths@redhat.com> 22306 22307 * gnu/classpath/jdwp/exception/VmDeadException.java: New file. 22308 * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. 22309 * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New 22310 file. 22311 * gnu/classpath/jdwp/exception/JdwpException.java: New file. 22312 * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New 22313 file. 22314 * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. 22315 * gnu/classpath/jdwp/exception/InvalidStringException.java: New file 22316 * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. 22317 * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New 22318 file. 22319 * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. 22320 * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. 22321 223222005-06-17 Anthony Balkissoon <abalkiss@redhat.com> 22323 22324 * javax/swing/JApplet.java, 22325 javax/swing/JDialog.java, 22326 javax/swing/JFrame.java, 22327 javax/swing/JInternalFrame.java, 22328 javax/swing/JWindow.java: Added support for adding and setting 22329 layout managers directly for these top-level containers tocomply 22330 with J2SE 5.0. Added private boolean initStageDone. 22331 Initialized rootPaneCheckingEnabled to false. 22332 (JDialog.dialogInit): Set initStageDone to true. 22333 (JApplet.JApplet): Set initStageDone to true. 22334 (JFrame.frameInit) : Set initStageDone to true. 22335 (JInternalFrame.JInternalFrame): Set initStageDone to true. 22336 (JWindow.windowInit): Set initStageDone to true. 22337 (addImpl): Added check for direct adds (J2SE 5.0) and directed 22338 them to getContentPane().add. 22339 (setLayout): Added check for direct calls to setLayout. 22340 (remove): Added check for direct calls to remove. 22341 223422005-06-17 Lillian Angel <langel@redhat.com> 22343 22344 * javax/swing/ToolTipManager.java 22345 (mousePressed): Check if currentComponent is null. 22346 If so, it should be equal to the current source. 22347 Fixes Bug #11538. 22348 223492005-06-17 Anthony Balkissoon <abalkiss@redhat.com> 22350 22351 * javax/swing/DefaultListSelectionModel.java: 22352 (addSelectionInterval): Added update to leadSelectionIndex 22353 and anchorSelectionIndex variables. 22354 (removeSelectionInterval): Same as above. 22355 (setSelectionInterval): Same as above. 22356 * javax/swing/JList.java: 22357 (getSelectedIndices): Increased for loop upper bound by 1. 22358 * javax/swing/plaf/basic/BasicListUI.java: 22359 (KeyHandler): New class. 22360 (MouseInputHandler): Moved code from MousePressed to 22361 MouseClicked. 22362 (MouseInputHandler.MouseClicked): Added check for control 22363 key being down. 22364 223652005-06-17 Roman Kennke <roman@kennke.org> 22366 22367 * java/io/DataInputStream.java: 22368 Reverted my patch from 2005-06-15. 22369 223702005-06-16 Robert Schuster <thebohemian@gmx.net> 22371 22372 * gnu/java/nio/charset/Windows1250.java, 22373 gnu/java/nio/charset/Windows1251.java, 22374 gnu/java/nio/charset/Windows1252.java, 22375 gnu/java/nio/charset/Windows1253.java, 22376 gnu/java/nio/charset/Windows1254.java, 22377 gnu/java/nio/charset/Windows1255.java, 22378 gnu/java/nio/charset/Windows1256.java, 22379 gnu/java/nio/charset/Windows1257.java, 22380 gnu/java/nio/charset/Windows1258.java: Fixed canonical NIO 22381 charset name. 22382 223832005-06-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22384 22385 * gnu/CORBA/CDR/uncObjectOutputStream.java, 22386 gnu/CORBA/CDR/uncObjectInputStream.java: Deleted. 22387 223882005-06-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22389 22390 * org/omg/CosNaming/NamingContextPackage/CannotProceed.java, 22391 org/omg/CosNaming/NamingContextPackage/NotEmpty.java, 22392 org/omg/CosNaming/NamingContextPackage/NotFound.java: 22393 Added 1.4 constructors. 22394 * org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java: 22395 Added 1.4 constructors and serialVersionUID. 22396 223972005-06-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22398 22399 * org/omg/ProtableServer/IdAssignmentPolicyValue.java, 22400 org/omg/ProtableServer/IdUniquenessPolicyValue.java, 22401 org/omg/ProtableServer/ImplicitActivationPolicyValue.java, 22402 org/omg/ProtableServer/LifespanPolicyValue.java, 22403 org/omg/ProtableServer/RequestProcessingPolicyValue.java, 22404 org/omg/ProtableServer/ServantRetentionPolicyValue.java: 22405 New files. 22406 224072005-06-16 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22408 22409 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java, 22410 org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java, 22411 org/omg/IOP/CodecPackage/FormatMismatch.java, 22412 org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java, 22413 org/omg/IOP/CodecPackage/TypeMismatch.java, 22414 org/omg/IOP/CodecPackage/TypeMismatchHelper.java, 22415 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java, 22416 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java, 22417 org/omg/PortableServer/CurrentPackage/NoContext.java: New exceptions. 22418 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java, 22419 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java, 22420 org/omg/IOP/CodecPackage/FormatMismatchHelper.java, 22421 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java, 22422 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, 22423 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java, 22424 org/omg/PortableServer/CurrentPackage/NoContextHelper.java: New helpers. 22425 * gnu/CORBA/ObjectCreator.java (readUserException): 22426 Renamed misleading variable. 22427 * gnu/CORBA/DuplicateNameHolder.java, 22428 gnu/CORBA/EmptyExceptionHolder.java: New holders. 22429 224302005-06-15 Goffredo Baroncelli <kreijack@inwind.it> 22431 22432 * gnu/java/net/protocol/http/HTTPURLConnection.java 22433 (getHeaderFieldKey): Check index. 22434 224352005-06-15 Roman Kennke <roman@kennke.org> 22436 22437 * java/io/DataInputStream.java 22438 (readLine): Added checks for InputStream that support have a pos field 22439 for repositioning the stream. 22440 224412005-06-15 Mark Wielaard <mark@klomp.org> 22442 22443 * lib/gen-classlist.sh.in: Remove vm.omit, vm.add and tmp.omit files 22444 after use. 22445 224462005-06-15 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22447 22448 * org/omg/Messaging/SyncScopeHelper.java (write): Made public. 22449 224502005-06-14 Keith Seitz <keiths@redhat.com> 22451 22452 * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file. 22453 * gnu/classpath/jdwp/processor/PacketProcessor.java: New file. 22454 224552005-06-14 Tom Tromey <tromey@redhat.com> 22456 22457 * lib/gen-classlist.sh.in (vm_dirlist): Prune non-existing 22458 directories. 22459 * lib/Makefile.am (genclasses): Pass top_srcdir to 22460 gen-classlist.sh. 22461 * m4/acinclude.m4: Quote default value of vm_classes. 22462 224632005-06-14 Mark Wielaard <mark@klomp.org> 22464 22465 * javax/swing/JComponent.java (setMinimumSize): Only adjust 22466 prefferedSize or maximumSize when they are set. 22467 * javax/swing/JScrollPane.java (JScrollPane(Component,int,int)): 22468 Set viewport and view manually. 22469 224702005-06-14 Tom Tromey <tromey@redhat.com> 22471 22472 * m4/acinclude.m4 (--with-vm-classes): New option. 22473 * lib/gen-classlist.sh.in: Handle 'vm_classes' feature. 22474 * lib/Makefile.am (compile_classpath): Updated for new 22475 classpath-setting approach. 22476 (noinst_DATA): Now unconditional. 22477 224782005-06-14 Ziga Mahkovec <ziga.mahkovec@klika.si> 22479 22480 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (updateBufferedImage): 22481 Fixed pixelBuffer array index. 22482 224832005-06-14 Ziga Mahkovec <ziga.mahkovec@klika.si> 22484 22485 Classpath bug #13353: 22486 * gnu/java/net/protocol/jar/Handler.java (parseURL, toExternalForm): 22487 Append fragments (#ref) to URLs. 22488 224892005-06-14 Mark Wielaard <mark@klomp.org> 22490 22491 * javax/swing/text/InternationalFormatter.java (clone): Disabled. 22492 224932005-06-14 David Gilbert <david.gilbert@object-refinery.com> 22494 22495 * java/text/DecimalFormat.java 22496 (DecimalFormat(String, DecimalFormatSymbols)): store clone of symbols; 22497 (equals): add missing checks; 22498 (getDecimalFormatSymbols): return clone of symbols; 22499 (setDecimalFormatSymbols): store clone of symbols. 22500 225012005-06-14 Mark Wielaard <mark@klomp.org> 22502 22503 * lib/standard.omit: Add gnu/classpath/jdwp. 22504 225052005-06-13 Keith Seitz <keiths@redhat.com> 22506 22507 * gnu/classpath/jdwp/id/ArrayId.java: New file. 22508 * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file. 22509 * gnu/classpath/jdwp/id/ClassLoaderId.java: New file. 22510 * gnu/classpath/jdwp/id/ClassObjectId.java: New file. 22511 * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file. 22512 * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file. 22513 * gnu/classpath/jdwp/id/JdwpId.java: New file. 22514 * gnu/classpath/jdwp/id/ObjectId.java: New file. 22515 * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file. 22516 * gnu/classpath/jdwp/id/StringId.java: New file. 22517 * gnu/classpath/jdwp/id/ThreadGroupId.java: New file. 22518 * gnu/classpath/jdwp/id/ThreadId.java: New file. 22519 * gnu/classpath/jdwp/util/Signature.java: New file. 22520 * gnu/classpath/jdwp/transport/JdwpConnection.java: New file. 22521 * gnu/classpath/jdwp/transport/ITransport.java: New file. 22522 * gnu/classpath/jdwp/transport/SocketTransport.java: New file. 22523 * gnu/classpath/jdwp/transport/TransportFactory.java: New file. 22524 * gnu/classpath/jdwp/transport/TransportException.java: New file. 22525 * gnu/classpath/jdwp/transport/JdwpPacket.java: New file. 22526 * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file. 22527 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file. 22528 225292005-06-13 Ziga Mahkovec <ziga.mahkovec@klika.si> 22530 22531 * java/awt/image/SampleModel.java (getPixels): Fixed array 22532 assignment. 22533 225342005-06-13 Keith Seitz <keiths@redhat.com> 22535 22536 * lib/Makefile.am (metafiles): Exclude directories and CVS files. 22537 225382005-06-13 Ziga Mahkovec <ziga.mahkovec@klika.si> 22539 22540 * java/text/AttributedStringIterator.java (getRunLimit): Fixed the 22541 range of the returned indexes. 22542 225432005-06-13 Roman Kennke <roman@kennke.org> 22544 22545 * javax/swing/plaf/metal/MetalUtils.java: 22546 Added new package-private helper class. 22547 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: 22548 Added new package-private class. This is the divider used 22549 by JSplitPane. 22550 * javax/swing/plaf/metal/MetalScrollBarUI.java 22551 (paintThumb): Use new MetalUtils class for drawing the typical 22552 Metal pattern on the thumb. 22553 * javax/swing/plaf/metal/MetalScrollBarUI.java 22554 (initComponentDefaults): Added color defaults for SplitPane. 22555 * javax/swing/plaf/metal/MetalSplitPaneUI.java: 22556 (createDefaultDivider): Implemented new method. This creates 22557 the Metal divider for JSplitPane. 22558 225592005-06-13 Roman Kennke <roman@kennke.org> 22560 22561 * javax/swing/JSpinner.java 22562 (StubEditor): Removed this inner class. 22563 (DefaultEditor): Implemented this class and its dummy methods. 22564 (DateEditor): Added and implemented this inner class. 22565 225662005-06-13 Roman Kennke <roman@kennke.org> 22567 22568 * javax/swing/JFormattedTextField.java 22569 (setValue): Creates an AbstractFormatter instance based on the type 22570 of the value beeing set. 22571 (createFormatter): New helper method. 22572 225732005-06-13 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22574 22575 * org/omg/SendingContext/Runtime.java: Deleted. 22576 * org/omg/SendingContext/RunTime.java: Added. 22577 225782005-06-13 Roman Kennke <roman@kennke.org> 22579 22580 * javax/swing/text/DateFormatter.java: 22581 Implemented new class. 22582 * javax/swing/JFormattedTextField.java 22583 (setValue): Added conversion from value to text. 22584 225852005-06-12 Ziga Mahkovec <ziga.mahkovec@klika.si> 22586 22587 * java/text/MessageFormat.java (parse): When parsing strings, check 22588 for an empty pattern trailer. 22589 225902005-06-12 Ziga Mahkovec <ziga.mahkovec@klika.si> 22591 22592 PR libgcj/20435: 22593 * gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field. 22594 (static): Add possessive matching to JAVA_1_4 syntax. 22595 * gnu/regexp/RETokenRepeated.java (possessive): New field. 22596 (makePossessive, isPossessive): New methods. 22597 (match): Don't back off during possessive matching. 22598 * gnu/regexp/RE.java (initalize): Accept possessive quantifier. 22599 * java/util/regex/Pattern.java (constructor): Switch syntax from PERL5 22600 to JAVA_1_4. 22601 226022005-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org> 22603 22604 * doc/unicode/Blocks-4.0.0.txt: 22605 New block listings for Unicode 4.0.0. 22606 * java/lang/Character.java: 22607 Added new fields for 1.5, both in Character and UnicodeBlock. 22608 (UnicodeBlock.of(int)): Implemented. 22609 (UnicodeBlock.forName(String)): Implemented. 22610 * java/lang/annotation/ElementType.java: 22611 Corrected serial UID. 22612 * java/lang/annotation/RetentionPolicy.java: 22613 Likewise. 22614 * scripts/unicode-blocks.pl 22615 Updated to handle Unicode 4.0.0. 22616 226172005-06-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22618 22619 * org/omg/CORBA/ORB.java, 22620 org/omg/CORBA/CustomValue.java, 22621 org/omg/CORBA/VM_ABSTRACT.java, 22622 org/omg/CORBA/VM_CUSTOM.java, 22623 org/omg/CORBA/VM_NONE.java, 22624 org/omg/CORBA/VM_TRUNCATABLE.java, 22625 org/omg/CORBA/VM_TRUNCATABLE.java, 22626 org/omg/CORBA/portable/ValueBase.java, 22627 org/omg/CORBA_2_3/portable/package.html: Documentation update. 22628 * org/omg/CORBA_2_3/package.html: New file. 22629 226302005-06-11 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22631 22632 * org/omg/CORBA/portable/StreamableValue.java, 22633 org/omg/CORBA/portable/CustomValue.java, 22634 gnu/CORBA/CDR/Vio.java: New files. 22635 * org/omg/CORBA/ValueBaseHelper.java: Using gnu.CORBA.Vio. 22636 * org/omg/CORBA_2_3/portable/OutputStream.java: Documentatin update. 22637 (write_value): Using gnu.CORBA.Vio. 22638 * org/omg/CORBA_2_3/portable/InputStream.java Documentation update. 22639 (read_value): Using gnu.CORBA.Vio. 22640 * gnu/CORBA/ObjectCreator.java (Idl2class, Idl2Object): New methods. 22641 (toIDL): Do not insert OMG prefix. 22642 * gnu/CORBA/Restricted_ORB.java (create_any): Set ORB for that Any. 22643 (register_value_factory, unregister_value_factory, lookup_value_factory): 22644 New CORBA 2_3 methods. 22645 * gnu/CORBA/gnuAny.java (extract_Value): Use reflection if holder does 22646 not implement ValueBaseHolder. 22647 * gnu/CORBA/CDR/cdrInput.java: Implementing 2_3 stream and 22648 DataInputStream, (read_Value, read_Abstract, read_char_array, 22649 read_wchar_array, ensureArray, read_ulong_array, read_long_array, 22650 read_float_array, read_double_array, read_short_array, read_ushort_array, 22651 read_octet_array, read_longlong_array, read_ulonglong_array, 22652 read_boolean_array, read_any_array, _truncatable_ids): New methods. 22653 * gnu/CORBA/CDR/cdrOutput.java: Implementing 2_3 stream 22654 and DataOutputStream, (write_any_array, _truncatable_ids, write_Abstract, 22655 write_Value): New methods. 22656 * org/omg/CORBA/portable/ValueBase.java: Documentation update. 22657 226582005-06-10 Roman Kennke <roman@kennke.org> 22659 22660 * javax/swing/text/InternationalFormatter.java: 22661 Implemented new class. 22662 226632005-06-10 Roman Kennke <roman@kennke.org> 22664 22665 * javax/swing/plaf/basic/BasicSplitPaneUI.java 22666 (BasicHorizontalLayoutManager.preferredLayoutSize): fixed return 22667 statement. 22668 (BasicVerticalLayoutManager.preferredLayoutSize): Likewise. 22669 226702005-06-10 Roman Kennke <roman@kennke.org> 22671 22672 * javax/swing/JTextArea.java 22673 (getPreferredSize): Implemented new method. This is overridden 22674 in order to support custom set rows and columns. 22675 226762005-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22677 22678 * org/omg/CORBA/SendingContext/package.html, 22679 org/omg/CORBA/SendingContext/Runtime.java, 22680 org/omg/CORBA/SendingContext/RuntimeOperations.java: Removed. 22681 * org/omg/SendingContext/package.html, 22682 org/omg/SendingContext/Runtime.java, 22683 org/omg/SendingContext/RuntimeOperations.java: Added. 22684 226852005-06-10 Sven de Marothy <sven@physto.se> 22686 22687 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 22688 (gdkDrawDrawable): Check if cairo pattern is non-null before 22689 setting its matrix. 22690 226912005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org> 22692 22693 * java/lang/Class.java: 22694 (internalGetClasses()): Use collections with type parameters. 22695 (internalGetFields()): Likewise. 22696 (internalGetMethods()): Likewise. 22697 (getSuperclass()): Changed to new return type. 22698 (asSubclass(Class<U>)): Documented. 22699 (getEnumConstants()): Calls VMClass. 22700 (getAnnotation(Class<?>)): Implemented. 22701 (getAnnotations()): Implemented. 22702 (getCanonicalName()): Implemented. 22703 (getDeclaredAnnotations()): Implemented. 22704 (getEnclosingClass()): Implemented. 22705 (getEnclosingConstructor()): Implemented. 22706 (getEnclosingMethod()): Implemented. 22707 (getGenericInterfaces()): Implemented. 22708 (getGenericSuperclass()): Implemented. 22709 (getTypeParameters()): Implemented. 22710 (isAnnotationPresent(Class<?>)): Implemented. 22711 (isAnonymousClass()): Implemented. 22712 (isLocalClass()): Implemented. 22713 (isMemberClass()): Implemented. 22714 * java/lang/Package.java: 22715 (getAnnotation(Class<?>)): Implemented. 22716 (getAnnotations()): Implemented. 22717 (getDeclaredAnnotations()): Implemented. 22718 (isAnnotationPresent(Class<?>)): Implemented. 22719 * java/lang/annotation/AnnotationTypeMismatchException.java: 22720 Added serial version UID. 22721 * java/lang/annotation/ElementType.java: Likewise. 22722 * java/lang/annotation/RetentionPolicy.java: Likewise. 22723 * java/lang/reflect/AnnotatedElement.java: Documented. 22724 * java/lang/reflect/Modifier.java: 22725 (toString(int)): Switched to using StringBuilder. 22726 (toString(int,StringBuilder)): Likewise. 22727 * vm/reference/java/lang/VMClass.java: 22728 (getSuperClass(Class<T>)): Updated return type. 22729 (getSimpleName(Class<?>)): Use VM methods directly. 22730 (getEnumConstants(Class<T>)): Implementation moved from Class. 22731 (getDeclaredAnnotations(Class<?>)): New native method. 22732 (getCanonicalName(Class<?>)): Implemented. 22733 (getEnclosingClass(Class<?>)): New native method. 22734 (getEnclosingConstructor(Class<?>)): New native method. 22735 (getEnclosingMethod(Class<?>)): New native method. 22736 (getGenericInterfaces(Class<?>)): New native method. 22737 (getGenericSuperclass(Class<?>)): New native method. 22738 (getTypeParameters(Class<T>)): New native method. 22739 (isAnonymousClass(Class<?>)): New native method. 22740 (isLocalClass(Class<?>)): New native method. 22741 (isMemberClass(Class<?>)): New native method. 22742 * vm/reference/java/lang/VMPackage.java: 22743 New VM class corresponding to java.lang.Package. 22744 (getDeclaredAnnotations(Class<?>)): New native method. 22745 * vm/reference/java/lang/VMSystem.java: 22746 Removed unnecessary imports. 22747 * vm/reference/java/lang/reflect/Constructor.java: 22748 (toString()): Changed StringBuffer to StringBuilder. 22749 (getTypeParameters()): Changed to native method. 22750 * vm/reference/java/lang/reflect/Field.java: 22751 (toString()): Changed StringBuffer to StringBuilder. 22752 * vm/reference/java/lang/reflect/Method.java: 22753 (getReturnType()): Updated return type. 22754 (toString()): Changed StringBuffer to StringBuilder. 22755 (invoke(Object,...)): Updated arguments. 22756 227572005-06-09 Thomas Fitzsimmons <fitzsim@redhat.com> 22758 22759 * gnu/java/awt/peer/gtk/GtkPanelPeer.java, 22760 gnu_java_awt_peer_gtk_GtkPanelPeer.c (connectSignals): New method. 22761 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h: Regenerate. 22762 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 22763 (window_focus_in_cb, window_focus_out_cb): Remove FIXMEs. 22764 22765 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 22766 (copyState): Check if cairo pattern is null before copying it. 22767 (drawPixels): Check if cairo pattern is null before retrieving it. 22768 22769 * java/awt/MenuItem.java (label): Initialize to empty string. 22770 227712005-06-08 Bryce McKinlay <mckinlay@redhat.com> 22772 22773 * java/rmi/server/RMIClassLoader.java (getClassLoader): Make public. 22774 From Gary Benson. 22775 227762005-06-08 Thomas Fitzsimmons <fitzsim@redhat.com> 22777 22778 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (cairoSetRGBColor, 22779 cairoSetAlpha): Combine ... 22780 (cairoSetRGBAColor): New method. 22781 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate. 22782 * include/gnu_java_awt_peer_gtk_GtkImage.h: Regenerate. 22783 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Use 22784 Cairo 0.5.0 APIs. 22785 * INSTALL: Document Cairo 0.5.0 requirement. 22786 * NEWS: Likewise. 22787 * configure.ac: Require Cairo 0.5.0. 22788 227892005-06-08 David Gilbert <david.gilbert@object-refinery.com> 22790 22791 * java/awt/image/BandedSampleModel.java 22792 (createBankArray): New method. 22793 (BandedSampleModel(int, int, int, int)): reimplemented. 22794 (BandedSampleModel(int, int, int, int, int[], int[]): 22795 RasterFormatException nearer to start of constructor. 22796 (getPixel): Use band index, not zero. 22797 (getPixels): Fixed loop indices. 22798 (getSamples): Fixed loop indices. 22799 (setDataElements): Use band index, not zero. 22800 228012005-06-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>. 22802 22803 * org/omg/CORBA/CustomValue.java, 22804 org/omg/CORBA/CustomMarshal.java, 22805 org/omg/CORBA/DataOutputStream.java, 22806 org/omg/CORBA/DataInputStream.java: New classes. 22807 228082005-06-08 Roman Kennke <roman@kennke.org> 22809 22810 * javax/swing/text/DefaultFormatter.java 22811 (FormatterDocumentFilter.remove): Added check for valid input. 22812 (FormatterDocumentFilter.insertString): Added check for valid input. 22813 Added support for overwriteMode property. 22814 (FormatterDocumentFilter.replace): Added check for valid input. 22815 (checkValidInput): New helper method to check for valid input 22816 and roll it back if necessary. 22817 228182005-06-08 Roman Kennke <roman@kennke.org> 22819 22820 * javax/swing/JFormattedTextField.java 22821 (getActions): Call super.getActions instead of throwing an exception. 22822 This is safe here. 22823 (processFocusEvent): Likewise. 22824 * javax/swing/plaf/basic/BasicTextUI.java 22825 (createKeymap): Construct new bindings array if UIDefaults does return 22826 a null object for this. 22827 228282005-06-08 Roman Kennke <roman@kennke.org> 22829 22830 * javax/swing/plaf/basic/BasicSplitPaneUI.java 22831 (installDefaults): Call resetLayoutManager() _after_ the divider 22832 is created to prevent NPE. 22833 (paint): Removed check for valid divider location. This is done 22834 in resetComponentAt(index). 22835 (resetLayoutManager): Call layout.updateComponents _after_ the 22836 layout has been installed. Otherwise it has no effect. 22837 228382005-06-08 Roman Kennke <roman@kennke.org> 22839 22840 * javax/swing/JComponent.java 22841 (setMinimumSize): Adjust preferredSize and maximumSize when 22842 minimumSize is greater than preferred or maximumSize. 22843 228442005-06-08 Roman Kennke <roman@kennke.org> 22845 22846 * javax/swing/text/DefaultEditorKit.java: 22847 Added some API documentation. 22848 228492005-06-08 Roman Kennke <roman@kennke.org> 22850 22851 * javax/swing/text/DefaultEditorKit.java 22852 (DefaultKeyTypedAction.actionPerformed): This action 22853 has to filter control characters here. 22854 (InsertBreakAction.actionPerformed): This action inserts 22855 a newline character here. 22856 228572005-06-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>. 22858 22859 * org/omg/CORBA/UnionMemberHelper.java, 22860 org/omg/CORBA/ValueMemberHelper.java, 22861 org/omg/CORBA/StructMemberHelper.java, 22862 org/omg/CORBA/IDLTypeHelper.java, 22863 org/omg/CORBA/_IDLTypeStub.java: New files. 22864 * gnu/CORBA/IOR.java (write_null, _read_no_endian), 22865 gnu/CORBA/CDR/cdrInput.java (read_Object), 22866 gnu/CORBA/CDR/cdrOutput.java (write_Object): 22867 Implemented sending of java null. 22868 228692005-06-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>. 22870 22871 * doc/www.gnu.org/home.wml: Added "omg.org" 22872 228732005-06-07 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22874 22875 * gnu/CORBA/IOR_Delegate.java (release), 22876 gnu/CORBA/IOR_contructed_object.java (finalize): 22877 Close the associated socket if the finalizer is called. 22878 gnu/CORBA/gnuRequest.java (submit), 22879 gnu/CORBA/Functional_ORB.java (serveStep): Try to reuse the opened sockets. 22880 * gnu/CORBA/SocketRepository.java, 22881 gnu/CORBA/GIOP/CloseMessage.java: New files. 22882 228832005-06-06 Sven de Marothy <sven@physto.se> 22884 22885 * javax/swing/JLabel.java 22886 (JLabel): Horizontal justification changed to default to LEADING. 22887 228882005-06-06 Roman Kennke <roman@kennke.org> 22889 22890 * javax/swing/text/DefaultFormatter.java: 22891 Implemented new class. 22892 228932005-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22894 22895 * org/omg/CORBA/CompletionStatusHelper.java (type): New method. 22896 * org/omg/CORBA/Current.java: Inherit from org.omg.portable.IDLEntity. 22897 228982005-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22899 22900 * org/omg/CORBA/StringValueHelper.java, 22901 org/omg/CORBA/WStringValueHelper.java: New helpers. 22902 * org/omg/CORBA/portable/BoxedValueHelper.java: Documentation update. 22903 229042005-06-06 Roman Kennke <roman@kennke.org> 22905 22906 * javax/swing/JFrame.java: 22907 Added the two missing constructors that take 22908 java.awt.GraphicsConfiguration objects as arguments. 22909 229102005-06-06 Roman Kennke <roman@kennke.org> 22911 22912 * javax/swing/JTree.java 22913 (removeDescendantSelectedPaths): Implemented new method. 22914 229152005-06-06 Roman Kennke <roman@kennke.org> 22916 22917 * javax/swing/plaf/basic/BasicButtonListener.java 22918 (focusLost): Don't unarm button on focus lost. This behaviour is 22919 not documented anywhere and disturbs correct event processing 22920 in buttons. 22921 229222005-06-06 Roman Kennke <roman@kennke.org> 22923 22924 * javax/swing/plaf/basic/BasicTextUI.java 22925 (getKeymapName): Removed debug statement. 22926 229272005-06-06 Roman Kennke <roman@kennke.org> 22928 22929 * javax/swing/plaf/basic/BasicTextUI.java 22930 (getKeymapName): Added API documentation comments. 22931 229322005-06-06 Roman Kennke <roman@kennke.org> 22933 22934 * javax/swing/plaf/basic/BasicTextUI.java 22935 (getKeymapName): Reimplemented to return the classname of 22936 itself. This way subclasses don't have to override this 22937 method. 22938 229392005-06-06 Sven de Marothy <sven@physto.se> 22940 22941 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c 22942 (gtkWidgetSetForeground): Avoid setting black-on-black selection color. 22943 229442005-06-05 Tom Tromey <tromey@redhat.com> 22945 22946 * java/lang/Class.java (resourcePath): Reindented. 22947 229482005-06-05 Tom Tromey <tromey@redhat.com> 22949 22950 * scripts/generate-locale-list.sh: Remove redundant 'cd'. 22951 229522005-06-06 Sven de Marothy <sven@physto.se> 22953 22954 * gnu/java/awt/peer/gtk/GtkImage.java 22955 (getSource, deliver): Added null checks. 22956 * java/awt/image/RGBImageFilter.java 22957 (filterRGBPixels): Reimplement. 22958 229592005-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22960 22961 * org/omg/CORBA/VisibilityHelper.java: New helper. 22962 229632005-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22964 22965 * org/omg/stub/java/rmi/_Remote_Stub.java: 22966 Inheriting from Stub, Remote and Serializable. 22967 229682005-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org> 22969 22970 * org\omg\CORBA\portable\ValueFactory.java (read_value): Changed 22971 parameter type to org.omg.CORBA_2_3.portable.InputStream. 22972 * org\omg\CosNaming\_BindingIteratorStub.java, 22973 * org\omg\CosNaming\_NamingContextStub.java: Fixed serialVersionUID. 22974 * org\omg\CORBA_2_3\portable\InputStream.java 22975 (read_value(BoxedValueHelper)): Implemented. 22976 * org\omg\CORBA_2_3\portable\OutputStream.java 22977 (write_abstract_interface): 22978 Changed parameter type to java.lang.Object. 22979 * org\omg\CORBA\portable\BoxedValueHelper.java: 22980 Moved wrongly placed bracket. 22981 * org\omg\CORBA\ParameterMode.java: Inherit from 22982 Serializable, IDLEntity and removing duplicated header. 22983 (_PARAM_IN, _PARAM_OUT, _PARAM_INOUT): Making final. 22984 * org\omg\Messaging\SyncScopeHelper.java (extract, id, insert, 22985 read, type, write): Making public. 22986 229872005-06-05 Ka-Hing Cheung <kahing@javabsp.org> 22988 22989 * javax/swing/event/TreeSelectionEvent.java 22990 (getPaths): Return a cloned copy. 22991 (isAddedPath): Implemented. 22992 (cloneWithSource): Likewise. 22993 229942005-06-05 Ka-Hing Cheung <kahing@javabsp.org> 22995 22996 * javax/swing/event/TreeSelectionEvent.java: 22997 Reformatted. 22998 229992005-06-05 Ka-Hing Cheung <kahing@javabsp.org> 23000 23001 * javax/swing/tree/TreePath.java 23002 (toString): Implemented. 23003 230042005-06-05 Sven de Marothy <sven@physto.se> 23005 23006 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c 23007 (getPixels): Handle pixbufs which don't have alpha. 23008 230092005-06-04 Tom Tromey <tromey@redhat.com> 23010 23011 * javax/swing/plaf/basic/BasicListUI.java (focusListener): Use 23012 correct type. 23013 (listDataListener, listSelectionListener, mouseInputListener, 23014 propertyChangeListener): Likewise. 23015 * javax/swing/plaf/basic/BasicMenuUI.java (ChangeHandler): Now 23016 public and deprecated. 23017 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 23018 (TabbedPaneLayout): Now public. 23019 * javax/swing/plaf/basic/BasicOptionPaneUI.java 23020 (ButtonActionListener): Now public. 23021 (PropertyChangeHandler): Likewise. 23022 (ButtonAreaLayout): Likewise. 23023 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 23024 (TitlePaneLayout): Now public. 23025 (PropertyChangeHandler): Likewise. 23026 * javax/swing/plaf/basic/BasicCheckBoxUI.java 23027 (getPropertyPrefix): New method. 23028 * javax/swing/plaf/basic/BasicProgressBarUI.java (ChangeHandler): 23029 Now public. 23030 * javax/swing/plaf/basic/BasicSliderUI.java (ComponentHandler): 23031 Now public. 23032 * javax/swing/plaf/basic/BasicSplitPaneUI.java 23033 (BasicVerticalLayoutManager): Now public. 23034 (FocusHandler): Likewise. 23035 (BasicHorizontalLayoutManager): Likewise. 23036 * javax/swing/plaf/basic/BasicFileChooserUI.java 23037 (AcceptAllFileFilter): New public constructor. 23038 (BasicFileView): Likewise. 23039 * javax/swing/plaf/basic/BasicInternalFrameUI.java 23040 (BorderListener.RESIZE_NONE): Now final. 23041 230422005-06-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23043 23044 * org/omg/CORBA/DefinitionKindHelper.java, 23045 org/omg/CORBA/FieldNameHelper.java, 23046 org/omg/CORBA/IdentifierHelper.java, 23047 org/omg/CORBA/ParameterMode.java, 23048 org/omg/CORBA/ParameterModeHelper.java, 23049 org/omg/CORBA/ParameterModeHolder.java, 23050 org/omg/CORBA/RepositoryIdHelper.java, 23051 org/omg/CORBA/SetOverrideTypeHelper.java, 23052 org/omg/CORBA/VersionSpecHelper.java, 23053 gnu/CORBA/SetOverrideTypeHolder.java, 23054 gnu/CORBA/DefinitionKindHolder.java: New files. 23055 230562005-06-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23057 23058 * org/omg/stub/java/rmi/_Remote_Stub.java, 23059 org/omg/stub/java/rmi/package.html: New package. 23060 230612005-06-04 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23062 23063 * org/omg/Messaging/SyncScopeHelper.java 23064 org/omg/Messaging/SYNC_WITH_TRANSPORT.java 23065 org/omg/Messaging/package.html: New package. 23066 230672005-06-04 Michael Koch <konqueror@gmx.de> 23068 23069 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c 23070 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): 23071 Fixed method declaration format. 23072 (Java_gnu_java_awt_peer_gtk_GtkImage_drawPixelsScaled): 23073 Likewise. 23074 230752005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23076 23077 * AUTHORS (Roman Kennke): New author. 23078 230792005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23080 23081 * org/omg/CORBA/portable/BoxedValueHelper.java, 23082 org/omg/CORBA_2_3/portable/OutputStream.java, 23083 org/omg/CORBA_2_3/portable/Delegate.java, 23084 org/omg/CORBA_2_3/portable/ObjectImpl.java, 23085 org/omg/CORBA_2_3/portable/package.html: New files. 23086 230872005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23088 23089 * org/omg/CosNaming/NamingContextPackage/AlreadyBound.java, 23090 org/omg/CosNaming/NamingContextPackage/CannotProceed.java, 23091 org/omg/CosNaming/NamingContextPackage/InvalidName.java, 23092 org/omg/CosNaming/NamingContextPackage/NotEmpty.java, 23093 org/omg/CosNaming/NamingContextPackage/NotFound.java, 23094 org/omg/CosNaming/NamingContextPackage/NotFoundReason.java: 23095 Added SerialVersionUID. 23096 230972005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23098 23099 * gnu/CORBA/GIOP/uncObjectInputStream.java, 23100 gnu/CORBA/GIOP/uncObjectInputStream/uncObjectOutputStream.java: 23101 Deleting files. 23102 * gnu/CORBA/CDR/uncObjectInputStream.java, 23103 gnu/CORBA/CDR/uncObjectInputStream/uncObjectOutputStream.java: 23104 Adding files. 23105 231062005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23107 23108 * gnu/CORBA/Functional_ORB.java, 23109 gnu/CORBA/IOR_Delegate.java, 23110 gnu/CORBA/Simple_delegate.java, 23111 gnu/CORBA/universalHolder.java, 23112 gnu/CORBA/CDR/aligningInputStream.java, 23113 gnu/CORBA/CDR/aligningOutputStream.java, 23114 gnu/CORBA/CDR/cdrInput.java, 23115 gnu/CORBA/CDR/cdrOutput.java, 23116 gnu/CORBA/CDR/encapsulatedOutput.java, 23117 gnu/CORBA/GIOP/ErrorMessage.java, 23118 gnu/CORBA/GIOP/MessageHeader.java, 23119 gnu/CORBA/GIOP/cxCodeSet.java, 23120 gnu/CORBA/GIOP/v1_2/RequestHeader.java, 23121 org/omg/CosNaming/BindingIteratorHelper.java, 23122 org/omg/CosNaming/BindingListHelper.java, 23123 org/omg/CosNaming/BindingTypeHelper.java, 23124 org/omg/CosNaming/NameComponentHelper.java, 23125 org/omg/CosNaming/NameHelper.java, 23126 org/omg/CosNaming/NamingContextExtHelper.java, 23127 org/omg/CosNaming/NamingContextHelper.java: 23128 Initialise instances of org.omg.SystemException, thrown 23129 after catching the other exception, with InitCause. 23130 231312005-06-03 Roman Kennke <roman@kennke.org> 23132 23133 * javax/swing/plaf/basic/BasicListUI.java 23134 (damageLayout): Check for list beeing null before revalidating 23135 it. 23136 231372005-06-03 Roman Kennke <roman@kennke.org> 23138 23139 * javax/swing/text/PlainDocument.java 23140 (removeUpdate): Fixed indices in text buffer access. 23141 * javax/swing/text/PlainView.java 23142 (drawLine): Simplified element access. 23143 231442005-06-03 Roman Kennke <roman@kennke.org> 23145 23146 * javax/swing/JTextArea.java 23147 (constructor): Set preferredSize to a sane default. 23148 231492005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23150 23151 * gnu/CORBA/GIOP/uncObjectInputStream.java, 23152 gnu/CORBA/GIOP/uncObjectInputStream/uncObjectOutputStream.java: New streams. 23153 * org/omg/CORBA/ValueBaseHelper.java: Removing inner classes, 23154 using uncObjectInputStream, uncObjectOutputStream instead. 23155 * org/omg/CORBA_2_3/portable.InputStream.java (read_value): 23156 Delegate call to ValueBaseHelper. 23157 231582005-06-03 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23159 23160 * org/omg/CORBA/SendingContext/Runtime.java, 23161 org/omg/CORBA/SendingContext/RunTimeOperations.java: 23162 Fixing the package statement. 23163 231642005-06-03 Roman Kennke <roman@kennke.org> 23165 23166 * javax/swing/SwingUtilites.java 23167 (replaceUIActionMap): Fixed loop again. Now correctly, I hope. 23168 * javax/swing/ActionMap.java 23169 (setParent): Make sure we don't build a loop. 23170 * javax/swing/plaf/basic/BasicTextUI.java 23171 (createActionMap): Create ActionMapUIResource instead of 23172 plain ActionMap. 23173 231742005-06-03 Sven de Marothy <sven@physto.se> 23175 23176 * gnu/java/awt/peer/gtk/GdkGraphics.java: 23177 Removed declarations for the previously removed native methods. 23178 231792005-06-03 Roman Kennke <roman@kennke.org> 23180 23181 * javax/swing/SwingUtilites.java 23182 (replaceUIActionMap): Fixed condition in while loop that caused 23183 infinite looping. 23184 231852005-06-03 Roman Kennke <roman@kennke.org> 23186 23187 * javax/swing/plaf/basic/BasicTableUI.java 23188 (uninstallDefault): Don't set properties to null, this corrupts 23189 component state. 23190 231912005-06-02 Andrew John Hughes <gnu_andrew@member.fsf.org> 23192 23193 * lib/Makefile.am: 23194 Fix permissions problem with creation of META-INF tree. 23195 231962005-06-02 Sven de Marothy <sven@physto.se> 23197 23198 * java/awt/Component.java 23199 (setBackgroundColor): Return if the color equals the existing bgcolor. 23200 232012005-06-02 Sven de Marothy <sven@physto.se> 23202 23203 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: 23204 (drawImage): Remove reference to GtkOffScreenImage. 23205 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: 23206 Add additional comments. 23207 232082005-06-02 Sven de Marothy <sven@physto.se> 23209 23210 * gnu/java/awt/peer/gtk/GdkGraphics.java: 23211 (GdkGraphics): New constructor. 23212 (drawImage): Reimplemented. 23213 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: 23214 (checkImage,createImage): Reimplemented. 23215 (prepareImage): Just call the GdkToolkit method. 23216 * gnu/java/awt/peer/gtk/GtkFramePeer.java: 23217 (setIconImage): Reimplemented. 23218 * gnu/java/awt/peer/gtk/GtkImage.java: Reimplemented. 23219 * gnu/java/awt/peer/gtk/GtkToolkit.java: 23220 (checkImage): Change handling of GtkImage. 23221 (createImage): Reimplemented for GtkImage. 23222 (getColorModel): Return the actual native color model. 23223 (prepareImage): Reimplemented. 23224 * include/Makefile.am, 23225 * native/jni/gtk-peer/Makefile.am: Removed old files, added new ones. 23226 * include/gnu_java_awt_peer_gtk_GdkGraphics.h, 23227 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: 23228 (initFromImage): New method. 23229 (copyPixmap, flip_pixbuf, copyAndScalePixmap): Removed. 23230 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h, 23231 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: 23232 (nativeSetIconImage): New method. 23233 (nativeSetIconImageFromData,nativeSetIconImageFromDecoder): Removed. 23234 * gnu/java/awt/peer/gtk/GtkImageConsumer.java, 23235 * include/gnu_java_awt_peer_gtk_GtkImage.h, 23236 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: 23237 New files. 23238 * gnu/java/awt/peer/gtk/GtkImagePainter.java, 23239 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java, 23240 * include/gnu_java_awt_peer_gtk_GtkImagePainter.h, 23241 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: 23242 Removed files. 23243 232442005-06-01 Tom Tromey <tromey@redhat.com> 23245 23246 * java/io/ObjectInputStream.java (currentLoader): Fixed typo. 23247 232482005-06-01 Tom Tromey <tromey@redhat.com> 23249 23250 * org/omg/CosNaming/IstringHelper.java: Changed non-ascii 23251 characters. 23252 232532005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23254 23255 * org/omg/SendingContext/package.html, 23256 org/omg/SendingContext/RunTimeOperations.java, 23257 org/omg/SendingContext/Runtime.java: New package. 23258 232592005-06-01 Roman Kennke <roman@kennke.org> 23260 23261 * javax/swing/text/DefaultStyledDocument.java 23262 (setLogicalStyle): Implemented this method. 23263 232642005-06-01 Sven de Marothy <sven@physto.se> 23265 23266 * java/util/GregorianCalendar.java 23267 (setTimeInMillis): Recompute time fields. 23268 232692005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23270 23271 * org/omg/CosNaming/BindingType.java, 23272 org/omg/CosNaming/NameComponent.java, 23273 org/omg/CosNaming/_BindingIteratorStub.java, 23274 org/omg/CosNaming/_NamingContextStub.java, 23275 org/omg/CosNaming/_NamingContextExtStub.java, 23276 org/omg/CosNaming/_BindingIteratorImplBase.java, 23277 org/omg/CosNaming/_NamingContextImplBase.java: Added SerialVersionUID. 23278 232792005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23280 23281 * org/omg/CosNaming/IstringHelper.java: New class. 23282 232832005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23284 23285 * gnu/CORBA/CDR/cdrInput.java (read_wstring): Correcting 23286 check for native encoding. 23287 232882005-06-01 Roman Kennke <roman@kennke.org> 23289 23290 * javax/swing/plaf/basic/BasicFileChooserUI.java 23291 (installComponents): Changed layout of main panel from GridBagLayout 23292 to BorderLayout (as is the case in Suns JDK). This fixes 23293 bug#13244. 23294 232952005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23296 23297 * gnu/CORBA/Functional_ORB.java (serveStep), 23298 gnu/CORBA/gnuRequest.java (submit), 23299 gnu/CORBA/CDR/cdrInput.java (read_encapsulation): Correcting 23300 data read loop. 23301 233022005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23303 23304 * gnu/CORBA/Functional_ORG.java (getFreePort): Remember 23305 the port number in the local variable. 23306 233072005-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23308 23309 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/ 23310 communication/ourUserExceptionHelper.java (extract): New method. 23311 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/ 23312 communication/RequestTest.java:Use helper extract method. 23313 233142005-06-01 Roman Kennke <roman@kennke.org> 23315 23316 * javax/swing/JPopupMenu.java 23317 (insert): Do not check for index == -1 at this point, this is done 23318 in java.awt.Container. Catching -1 indices here disturbes the 23319 Container.addImpl which leads to bug #13247 for example. 23320 233212005-06-01 Roman Kennke <roman@kennke.org> 23322 23323 * javax/swing/text/PlainDocument.java 23324 (removeUpdate): Fixed indices in call to rootElement.replace(). 23325 233262005-06-01 Roman Kennke <roman@kennke.org> 23327 23328 * javax/swing/JComponent.java 23329 (processKeyEvent): Call super.processKeyEvent() so that KeyEvents 23330 are delivered to registered KeyListeners. 23331 233322005-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23333 23334 * org/omg/CORBA_2_3/ORB.java, 23335 org/omg/CORBA_2_3/portable/InputStream.java, 23336 org/omg/CORBA/portable/ValueFactory.java: New classes. 23337 233382005-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23339 23340 * org/omg.CORBA/DynValue.java (declaration): Inherit from DynAny, 23341 org.omg.CORBA.Object. (set_members): Declare it may throw InvalidSeq. 23342 233432005-06-01 Sven de Marothy <sven@physto.se> 23344 23345 * java/util/TimeZone (getDefaultTimeZone): Reimplemented. 23346 (parseTime, getDateParams): New private methods. 23347 233482005-06-01 David Gilbert <david.gilbert@object-refinery.com> 23349 23350 * gnu/java/awt/GradientPaintContext.java: New file. 23351 * java/awt/GradientPaint.java: Implemented. 23352 * java/awt/image/IndexColorModel.java: Reimplemented. 23353 233542005-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23355 23356 * gnu/CORBA/CDR/BigEndianInputStream.java, 23357 gnu/CORBA/CDR/BigEndianOutputStream.java, 23358 gnu/CORBA/CDR/LittleEndianInputStream.java, 23359 gnu/CORBA/CDR/LittleEndianOutputStream.java: New streams. 23360 gnu/CORBA/CDR/abstractDataInputStream.java, 23361 gnu/CORBA/CDR/abstractDataOutputStream.java: New interfaces. 23362 * gnu/CORBA/IOR.java: Implemented parsing of the Little 23363 Endian encoded IOR references. 23364 * gnu/CORBA/Functional_ORB.java, 23365 gnu/CORBA/binaryReply.java, 23366 gnu/CORBA/gnuRequest.java, 23367 gnu/CORBA/CDR/cdrInput.java, 23368 gnu/CORBA/CDR/cdrOutput.java, 23369 gnu/CORBA/CDR/encapsulatedOutput.java, 23370 gnu/CORBA/GIOP/MessageHeader.java: Implemented support 23371 for Big and Little Endian. 23372 * org/omg/CORBA/package.html: Documentation update. 23373 233742005-05-31 Jeroen Frijters <jeroen@frijters.net> 23375 23376 * java/net/ServerSocket.java 23377 (bound): Removed. 23378 (local): New field. 23379 (bind): Cache local socket address. 23380 (getInetAddress, getLocalPort, getLocalSocketAddress, isBound): 23381 Use cached local socket address. 23382 (close): bound field was removed. 23383 233842005-05-31 Jeroen Frijters <jeroen@frijters.net> 23385 23386 * gnu/java/nio/channels/FileChannelImpl.java 23387 (FileChannelImpl()): Removed. 23388 (FileChannelImpl(File,int)): Made private. 23389 (create): New method. 23390 * java/io/FileInputStream.java, 23391 java/io/FileOutputStream.java, 23392 java/io/RandomAccessFile.java: 23393 Updated construction of FileChannelImpl instance. 23394 233952005-05-31 Sven de Marothy <sven@physto.se> 23396 23397 * java/awt/image/BufferedImage.java: 23398 (ImageProducer): Use Vector instead of HashMap. 23399 * java/awt/image/DirectColorModel.java: 23400 (getAlpha): Default to 255 (opaque). 23401 234022005-05-30 Roman Kennke <roman@kennke.org> 23403 23404 * javax/swing/JTree.java 23405 (getNextMatch): Implemented new method. 23406 234072005-05-30 Roman Kennke <roman@kennke.org> 23408 23409 * javax/swing/plaf/metal/MetalSplitPaneUI.java: 23410 (createUI): Do not share one instance of MetalSplitPaneUI 23411 between multiple JSplitPanes. 23412 234132005-05-30 Roman Kennke <roman@kennke.org> 23414 23415 * javax/swing/JComponent.java: 23416 Made JComponent.AccessibleJComponent implement 23417 AccessibleExtendedComponent. 23418 234192005-05-30 Roman Kennke <roman@kennke.org> 23420 23421 * javax/swing/JButton.java 23422 (constructor): Set initial actionCommand equal to the buttons label. 23423 234242005-05-30 Roman Kennke <roman@kennke.org> 23425 23426 * javax/swing/JList.java 23427 (getNextMatch): Implemented new method. 23428 (getCellBounds): Implemented new method. 23429 234302005-05-30 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23431 23432 * gnu/CORBA/Functional_ORB.java (serve, portServer, serveStep): 23433 Implemented support for the subsequent invocations reusing the same 23434 socket. 23435 * gnu/CORBA/GIOP/MessageHeader.java (read): throw 23436 NO_IMPLEMENT, not MARSHAL for Little Endian request. 23437 234382005-05-30 Roman Kennke <roman@kennke.org> 23439 23440 * javax/swing/JLayeredPane.java 23441 (putLayer): Implemented new method. 23442 234432005-05-30 Roman Kennke <roman@kennke.org> 23444 23445 * javax/swing/JFileChooser.java: 23446 Fixed values of some constant fields. 23447 234482005-05-30 Roman Kennke <roman@kennke.org> 23449 23450 * javax/swing/SwingUtilities.java: 23451 (getWindowAncestor): This method has to be static instead of 23452 non-static. 23453 234542005-05-29 Michael Koch <konqueror@gmx.de> 23455 23456 * java/util/LinkedHashMap.java (access): Set 'root.pred'. 23457 234582005-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23459 23460 * org/omg/CosNaming/_BindingIteratorImplBase.java , 23461 org/omg/CosNaming/_NamingContextExtImplBase.java, 23462 org/omg/CosNaming/_NamingContextImplBase.java: Inherit from 23463 DynamicImplementation. 23464 * gnu/CORBA/ServiceRequestAdapter.java: New class. 23465 * gnu/CORBA/gnuNVList.java (add, add_item): 23466 Replacing null by constructed instance. 23467 234682005-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23469 23470 * org/omg/CORBA/Functional_ORB.java (serve, useProperties, init): 23471 Implementing the property-configurable time-outs. 23472 234732005-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23474 23475 * gnu/CORBA/gnuRequest.java (p_invoke): Wrap the received UserException into 23476 UnknownUserException. 23477 * gnu/CORBA/streamReadyHolder.java: New wrapper for UserException. 23478 * org/omg/CORBA/UnknownUserException.java: New exception. 23479 234802005-05-27 Roman Kennke <roman@kennke.org> 23481 23482 * javax/swing/AbstractButton.java: 23483 Bumped up serialVersionUID(s) to JDK1.4 compatibility. 23484 * javax/swing/ImageIcon.java: Likewise. 23485 * javax/swing/JFileChooser.java: Likewise. 23486 * javax/swing/JInternalFrame.java: Likewise. 23487 * javax/swing/JMenu.java: Likewise. 23488 * javax/swing/JRadioButton.java: Likewise. 23489 * javax/swing/JScrollPane.java: Likewise. 23490 * javax/swing/JSpinner.java: Likewise. 23491 * javax/swing/JTabbedPane.java: Likewise. 23492 * javax/swing/ImageIcons.java: Likewise. 23493 * javax/swing/JToggleButton.java: Likewise. 23494 * javax/swing/JToolTip.java: Likewise. 23495 * javax/swing/JViewPort.java: Likewise. 23496 * javax/swing/LayoutFocusTraversalPolicy.java: Likewise. 23497 * javax/swing/SpinnerDateModel.java: Likewise. 23498 * javax/swing/TransferHandler.java: Likewise. 23499 235002005-05-27 Thomas Fitzsimmons <fitzsim@redhat.com> 23501 23502 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (setFont): Handle 23503 lightweight peers specially. 23504 235052005-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23506 23507 * omg/org/CORBA/ORB.java (create_recursive_sequence_tc): New method. 23508 235092005-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23510 23511 * omg/org/CORBA/DynValue.java: New interface. 23512 235132005-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23514 23515 * omg/org/CORBA/package.html: Documentation update. 23516 235172005-05-26 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23518 23519 * org/omg/CORBA/ORB.java (create_basic_dyn_any): 23520 Declare it may throw an InconsistentTypeCode. 23521 (create_dyn_any): Remove wrong exception declaration. 23522 (create_operation_list, create_abstract_interface_tc, 23523 create_native_tc, get_service_information): Implementing these methods. 23524 * org/omg/CORBA/ServerRequest.java (result, except, params, op_name): 23525 Marking deprecated. 23526 235272005-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> 23528 23529 * gnu/java/net/protocol/http/HTTPURLConnection.java: 23530 (connect()): Reverted the removal of the exception 23531 with 404s. 23532 235332005-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> 23534 23535 * java/net/URI.java: 23536 (getURIGroup(String)): Correctly handle the difference 23537 between null and undefined optional values. 23538 (relativize(java.net.URI)): Corrected documentation. 23539 235402005-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> 23541 23542 * gnu/xml/transform/StreamSerializer.java: 23543 (serialize(org.w3c.dom.Node,java.io.OutputStream, 23544 boolean)): Add missing 'DOCTYPE' keyword to 23545 DocumentType node output. 23546 235472005-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org> 23548 23549 * gnu/java/net/protocol/http/HTTPURLConnection.java: 23550 (connect()): Fixed a null pointer exception with 304 23551 responses and an inappropriate exception with 404s. 23552 * gnu/java/net/protocol/http/Request.java: 23553 (readResponse(java.io.LineInputStream)): Fixed a 23554 fruitless attempt to read the non-existant body 23555 of a 304 response. 23556 235572005-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org> 23558 23559 * examples/Makefile.am: 23560 Fix command-line options for ecj. 23561 * lib/Makefile.am: 23562 Added a META-INF directory structure to glibj.zip. 23563 * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactory, 23564 resource/META-INF/services/javax.xml.parsers.SAXParserFactory, 23565 resource/META-INF/services/javax.xml.parsers.TransformerFactory, 23566 resource/META-INF/services/org.xml.sax.driver: 23567 Properties for the XML facilities. 23568 235692005-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> 23570 23571 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c 23572 (create): Prevent min == max scrollbars. 23573 (setValues): Likewise. 23574 23575 * java/awt/Component.java (enableInputMethods): Implement. 23576 235772005-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23578 23579 * org/omg/CORBA/TRANSIENT.java (serialVersionUID): Added 1.4 SVUID. 23580 235812005-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23582 23583 * org/omg/CORBA/ValueBaseHelper.java, 23584 org/omg/CORBA/ValueBaseHolder.java, 23585 org/omg/CORBA/portable/ValueBase.java: New files. 23586 * gnu/CORBA/gnuAny.java (insert_Value, extract_Value): 23587 Implemented methods. 23588 235892005-05-25 Thomas Fitzsimmons <fitzsim@redhat.com> 23590 23591 * NEWS: Add entry describing GTK scrollbar peer change. 23592 * INSTALL: Bump GTK requirement to 2.6.x. 23593 235942005-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23595 23596 * org/omg/CORBA/ORB.java (create_dyn_any, create_dyn_array, 23597 create_dyn_enum, create_dyn_sequence, create_dyn_struct, 23598 create_dyn_union, create_policy): Declaring they may throw an 23599 exceptions. 23600 * org/omg/CORBA/DefinitionKind.java: Making fields final and inherit 23601 from IDLEntity, Serializable. 23602 * org/omg/CORBA/IRObject.java: Inherit from 23603 org.omg.CORBA.Object, Serializable, IDLEntity. 23604 236052005-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23606 23607 * gnu/CORBA/Connected_objects.java (cObject, getKey, add, get, 23608 entrySet, remove), 23609 * gnu/CORBA/Functional_ORB.java (portServer, getFreePort, connect, 23610 startService, destroy, disconnect, object_to_string, run, shutdown, 23611 find_connected_object, createIOR, finalize): Implemented 23612 listening on different ports for different objects. 23613 236142005-05-25 Roman Kennke <roman@kennke.org> 23615 23616 * javax/swing/AbstractButton.java: 23617 (constructor): Removed model creation. 23618 * javax/swing/JButton.java: 23619 (constructor): Added model creation. 23620 * javax/swing/JMenuItem.java: 23621 (init): Added model creation. 23622 236232005-05-25 Roman Kennke <roman@kennke.org> 23624 23625 * javax/swing/JLayeredPane.java 23626 (static getLayer): Add cast to force a call to the instance method 23627 getLayer(). 23628 (getLayeredPaneAbove): Added and implemented method. 23629 * javax/swing/JInternalFrame.java 23630 (getLayer): Add cast to force a call to the instance method 23631 getLayer() of JLayeredPane. 23632 236332005-05-25 Roman Kennke <roman@kennke.org> 23634 23635 * javax/swing/plaf/basic/BasicSplitPaneUI.java 23636 (paint): Added check to make sure the split pane divider has 23637 a valid location. 23638 236392005-05-25 Michael Koch <konqueror@gmx.de> 23640 23641 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c 23642 (connetJObject): Removed. 23643 236442005-05-25 Michael Koch <konqueror@gmx.de> 23645 23646 * java/util/Locale.java (getISOStrings): 23647 Re-implemented for locale properties files. 23648 236492005-05-24 Thomas Fitzsimmons <fitzsim@redhat.com> 23650 23651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c 23652 (connectSignals): Connect to new change-value signal. 23653 (post_change_event): Remove signal handler. 23654 (slider_moved_cb): New signal handler. 23655 * configure.ac: Require gtk+-2.0 >= 2.6. 23656 236572005-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23658 23659 * org/omg/CORBA/portable/Delegate.java (equals): Compare parameters. 23660 236612005-05-24 Gary Benson <gbenson@redhat.com> 23662 23663 * java/text/MessageFormat.java (MessageFormatElement.setLocale): 23664 Handle DateFormat.DEFAULT case correctly. 23665 236662005-05-24 Mark Wielaard <mark@klomp.org> 23667 23668 * java/util/regex/Pattern.java (split): Assign value of variable 23669 matched outside while statement. 23670 * gnu/regexp/RE.java (getCharUnit): Assign value of unit.bk variable 23671 outside if statement. 23672 * gnu/CORBA/bufferedResponseHandler.java (createReply): Assign values 23673 from static class type constants. 23674 * gnu/CORBA/IOR.java (_write_no_endian): Likewise. 23675 * gnu/CORBA/Functional_ORB.java (respond_to_client): Likewise. 23676 (serve): Likewise. 23677 236782005-05-23 Mark Wielaard <mark@klomp.org> 23679 23680 * lib/Makefile.am (FOUND_JIKES): Add +Pno-switchcheck. 23681 236822005-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23683 23684 * gnu/CORBA/Asynchron.java: New file. 23685 * org/omg/CORBA/ORB.java (send_multiple_requests_oneway, 23686 send_multiple_requests_deferred, poll_next_response, 23687 get_next_response, perform_work, work_pending): New methods. 23688 * gnu/CORBA/gnuRequest.java (send_deferred, send_oneway): 23689 Launch the submission process in a separate thread. 23690 * org/omg/CORBA/portable/ObjectImpl.java (hashCode): Removing 23691 redundant method. 23692 * gnu/CORBA/Functional_ORB.java (send_multiple_requests_oneway, 23693 send_multiple_requests_deferred, poll_next_response, 23694 get_next_response, perform_work, work_pending): New methods. 23695 * gnu/CORBA/Restricted_ORB.java (send_multiple_requests_oneway, 23696 send_multiple_requests_deferred, poll_next_response, 23697 get_next_response, perform_work, work_pending): New methods. 23698 236992005-05-23 Tom Tromey <tromey@redhat.com> 23700 23701 * doc/hacking.texinfo (Source Code Style Guide): Document UTF-8 23702 use. 23703 * lib/Makefile.am (GCJF): New variable. 23704 (JAVAC): Use it. Add -encoding option where needed. 23705 237062005-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23707 23708 * org/omg/CORBA/NameValuePair.java: Inherit from Serializable, IDLEntity. 23709 * org/omg/CORBA/SetOverrideType.java (constuctor): Making protected. 23710 * org/omg/CORBA/DynFixed.java (set_value): Declare it may throw an 23711 InvalidValue. 23712 237132005-05-23 Roman Kennke <roman@kennke.org> 23714 23715 * javax/swing/text/JTextComponent.java 23716 (getPreferredScrollableViewportSize): Implemented this method. 23717 (getScrollableUnitIncrement): Implemented this method. 23718 (getScrollableBlockIncrement): Implemented this method. 23719 237202005-05-23 Roman Kennke <roman@kennke.org> 23721 23722 * javax/swing/JTextArea.java 23723 (getPreferredScrollableViewportSize): Added and implemented 23724 new method. 23725 (getScrollableUnitIncrement): Added and implemented new 23726 method. 23727 237282005-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23729 23730 * org/omg/CORBA/DefinitionKind.java, 23731 org/omg/CORBA/IRObject.java, 23732 org/omg/CORBA/IRObjectOperations.java, 23733 org/omg/CORBA/IDLTypeOperations.java: New files. 23734 * org/omg/CORBA/IDLType.java: Inherit from IDLTypeOperations. 23735 237362005-05-23 Roman Kennke <roman@kennke.org> 23737 23738 * javax/swing/JLayeredPane.java 23739 (getLayer): Added and implemented new (static) method. 23740 237412005-05-23 Roman Kennke <roman@kennke.org> 23742 23743 * javax/swing/JFileChooser.java 23744 (constructor(String, FileSystemView)): Added constructor. 23745 237462005-05-23 Roman Kennke <roman@kennke.org> 23747 23748 * javax/swing/JViewport.java 23749 (createLayoutManager): Added and implemented new method. 23750 (constructor): Set the LayoutManager that is created by 23751 createLayoutManager(). 23752 * javax/swing/plaf/basic/BasicViewportUI.java 23753 (installUI): Removed setLayout(..). This is moved into 23754 the constructor of JViewport (as the API docs suggest). 23755 237562005-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org> 23757 23758 * org/omg/CORBA/ORB.java (create_context_list, create_basic_dyn_any, 23759 create_dyn_any, create_dyn_array, create_dyn_enum, 23760 create_dyn_sequence, create_dyn_struct, create_dyn_union, 23761 create_policy, get_current): New 23762 methods. 23763 237642005-05-23 Roman Kennke <roman@kennke.org> 23765 23766 * javax/swing/JViewport.java: 23767 (ViewListener): Added and implemented inner class. 23768 (createViewListener): Added and implemented new method. 23769 (setView): Add and remove ViewListener to/from the view component. 23770 237712005-05-23 Roman Kennke <roman@kennke.org> 23772 23773 * javax/swing/DefaultListSelectionModel.java 23774 (fireValueChanged(boolean)): Added and implemented this method. 23775 237762005-05-23 Roman Kennke <roman@kennke.org> 23777 23778 * javax/swing/SwingUtilities.java: 23779 (getWindowAncestor): Added and implemented this method. 23780 237812005-05-23 Roman Kennke <roman@kennke.org> 23782 23783 * javax/swing/JFileChooser.java: 23784 Fixed the values of several public constant fields. 23785 237862005-05-23 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23787 23788 * doc/www.gnu.org/tasks.wml: Improved text of the CORBA task. 23789 237902005-05-23 Roman Kennke <roman@kennke.org> 23791 23792 * javax/swing/plaf/basic/BasicLookAndFeel.java 23793 (initComponentDefaults): Uncommented code that has accidentally 23794 been commented out. 23795 237962005-05-22 Roman Kennke <roman@kennke.org> 23797 23798 * javax/swing/BoxLayout.java 23799 (maximumLayoutSize): Added checks for overflow. This is necessary 23800 because some components have maximumSize of Integer.MAX_VALUE, 23801 that would cause an overflow if summed up. 23802 238032005-05-22 Roman Kennke <roman@kennke.org> 23804 23805 * javax/swing/tree/TreePath.java 23806 (getParentPath): Return null if this path only has no parent. 23807 238082005-05-22 Roman Kennke <roman@kennke.org> 23809 23810 * javax/swing/plaf/basic/BasicTextUI.java: 23811 (getMaximumSize): Fixed comment. 23812 238132005-05-22 Roman Kennke <roman@kennke.org> 23814 23815 * javax/swing/tree/TreePath.java: 23816 Reformatted this file in order to match our coding style. 23817 238182005-05-22 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23819 23820 * org/omg/CORBA/ServerRequest.java, 23821 org/omg/CORBA/DynamicImplementation.java: 23822 New files. 23823 238242005-05-22 Dalibor Topic <robilad@kaffe.org> 23825 23826 * gnu/java/security/provider/SHA1PRNG.java 23827 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of 23828 magic numbers. 23829 (SHA1PRNG) Added documentation. 23830 238312005-05-22 Roman Kennke <roman@kennke.org> 23832 23833 * javax/swing/plaf/basic/BasicTextUI.java 23834 (getMaximumSize): Implemented this method. 23835 238362005-05-22 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23837 23838 * gnu/CORBA/cdrOutput.java (write_octet_array): Removing 23839 redundant loop. 23840 238412005-05-22 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23842 23843 * org/omg/CORBA/ServiceInformation.java, 23844 org/omg/CORBA/ServiceInformationHelper.java, 23845 org/omg/CORBA/ServiceInformationHolder: New files. 23846 238472005-05-22 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23848 23849 * org/omg/CORBA/ServiceDetail.java, 23850 org/omg/CORBA/ServiceDetailHelper.java, 23851 gnu/CORBA/ServiceDetailHolder.java: New files. 23852 238532005-05-21 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23854 23855 * gnu/CORBA/ObjectCreator.java: Use gnu/CORBA namespace. 23856 238572005-05-21 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23858 23859 * gnu/CORBA/universalHolder.java: New file. 23860 * gnu/CORBA/gnuAny.java (create_input_stream, 23861 read_value): Use the universalHolder. 23862 * gnu/CORBA/CDR/aligningInputStream.java 23863 (getBuffer): New method. 23864 238652005-05-21 Andreas Jaeger <aj@suse.de> 23866 23867 * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to 23868 avoid warnings. 23869 238702005-05-21 Archie Cobbs <archie@dellroad.org> 23871 23872 * NEWS: document VM interface changes. 23873 * java/lang/ClassLoader.java: (vmdata): add 23874 * vm/reference/java/lang/VMClass.java: (getModifiers()): add 23875 new parameter ignoreInnerClassesAttrib 23876 * vm/reference/java/lang/VMClassLoader.java: (defineClass()): remove 23877 deprecated version (getPrimitiveClass(String)): remove 23878 (getPrimitiveClass(char)): make native (loadClass()): make native 23879 * vm/reference/java/lang/VMThread.java: (vmdata): add 23880 (countStackFrames()): make native 23881 * vm/reference/java/lang/VMThrowable.java: (vmdata): add 23882 (fillInStackTrace()): make native 23883 (getStackTrace()): make native 23884 * vm/reference/java/lang/reflect/Constructor.java: 23885 (parameterTypes, exceptionTypes): remove 23886 (getParameterTypes(), getExceptionTypes()): make native 23887 238882005-05-21 Michael Koch <konqueror@gmx.de> 23889 23890 * resource/gnu/java/locale/LocaleInformation_as.properties, 23891 resource/gnu/java/locale/LocaleInformation_bg.properties, 23892 resource/gnu/java/locale/LocaleInformation_cs.properties, 23893 resource/gnu/java/locale/LocaleInformation_da.properties, 23894 resource/gnu/java/locale/LocaleInformation_de.properties, 23895 resource/gnu/java/locale/LocaleInformation_dz.properties, 23896 resource/gnu/java/locale/LocaleInformation_en.properties, 23897 resource/gnu/java/locale/LocaleInformation_en_GB.properties, 23898 resource/gnu/java/locale/LocaleInformation_en_IE.properties, 23899 resource/gnu/java/locale/LocaleInformation_en_SG.properties, 23900 resource/gnu/java/locale/LocaleInformation_es.properties, 23901 resource/gnu/java/locale/LocaleInformation_fa.properties, 23902 resource/gnu/java/locale/LocaleInformation_fa_AF.properties, 23903 resource/gnu/java/locale/LocaleInformation_fi.properties, 23904 resource/gnu/java/locale/LocaleInformation_fr.properties, 23905 resource/gnu/java/locale/LocaleInformation_ga.properties, 23906 resource/gnu/java/locale/LocaleInformation_hi.properties, 23907 resource/gnu/java/locale/LocaleInformation_it.properties, 23908 resource/gnu/java/locale/LocaleInformation_ja.properties, 23909 resource/gnu/java/locale/LocaleInformation_ko.properties, 23910 resource/gnu/java/locale/LocaleInformation_mr.properties, 23911 resource/gnu/java/locale/LocaleInformation_mt.properties, 23912 resource/gnu/java/locale/LocaleInformation_nb.properties, 23913 resource/gnu/java/locale/LocaleInformation_nl.properties, 23914 resource/gnu/java/locale/LocaleInformation_ps.properties, 23915 resource/gnu/java/locale/LocaleInformation_pt.properties, 23916 resource/gnu/java/locale/LocaleInformation_sr.properties, 23917 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, 23918 resource/gnu/java/locale/LocaleInformation_sv.properties, 23919 resource/gnu/java/locale/LocaleInformation_sw.properties, 23920 resource/gnu/java/locale/LocaleInformation_ta.properties, 23921 resource/gnu/java/locale/LocaleInformation_uz_AF.properties, 23922 resource/gnu/java/locale/LocaleInformation_zh.properties, 23923 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties: 23924 Regenerated with newer gnu.localegen to fix newline bug. 23925 239262005-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org> 23927 23928 * java/text/DateFormatSymbols.java: 23929 (getStringArray(java.util.ResourceBundle,String)): 23930 Fixed parsing of new property files. 23931 (getZoneStrings(java.util.ResourceBundle)): 23932 Likewise. 23933 239342005-05-21 Dalibor Topic <robilad@kaffe.org> 23935 23936 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 23937 (area_updated): Delete jpixels reference after use to avoid wasting references. 23938 239392005-05-20 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 23940 * doc/www.gnu.org/tasks.wml: Adding CORBA task. 23941 239422005-05-20 Roman Kennke <roman@kennke.org> 23943 23944 * java/awt/DefaultKeyboardFocusManager.java: 23945 Documentation fixes. 23946 239472005-05-20 Roman Kennke <roman@kennke.org> 23948 23949 * javax/swing/text/JTextComponent.java 23950 (CaretBlinkTimer): Added inner class to make caret blinking. 23951 (constructor): Create one instance of CaretBlinkTimer. 23952 (setEditable): Switch caret on and off depending on the editable 23953 property. 23954 (setCare): Register caret with the CaretBlinkTimer. 23955 * javax/swing/text/DefaultCaret.java: 23956 Set a good blink rate of 500ms. 23957 239582005-05-20 Roman Kennke <roman@kennke.org> 23959 23960 * javax/swing/JEditorPane.java: 23961 (processComponentKeyEvent): Removed this method. This blocks 23962 key events from beeing delivered and is not in the API. 23963 (processKeyEvent): Removed this method. This blocks 23964 key events from beeing delivered and is not in the API. 23965 239662005-05-20 Roman Kennke <roman@kennke.org> 23967 23968 * java/awt/DefaultKeyboardFocusManager.java 23969 (processKeyEvent): Properly swallow KEY_TYPED events after 23970 a KEY_PRESSED event for a focusTraversalKey has been received. 23971 Otherwise the focusTraversalKey (e.g. a TAB) would end up 23972 beeing delivered to the focused component. 23973 239742005-05-20 Roman Kennke <roman@kennke.org> 23975 23976 * java/awt/Component.java 23977 (dispatchEventImpl): Let MouseEvents trigger a focus change 23978 on lightweight components. 23979 239802005-05-20 Roman Kennke <roman@kennke.org> 23981 23982 * javax/swing/JTextField.java 23983 (constructor): Set default value for the horizontalAlignment 23984 property. 23985 239862005-05-20 Roman Kennke <roman@kennke.org> 23987 23988 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 23989 (setButtonIcons): Added checks for null references. 23990 239912005-05-20 Roman Kennke <roman@kennke.org> 23992 23993 * javax/swing/JProgressBar.java 23994 (paintBorder): Check if border is null before trying to paint it. 23995 * javax/swing/plaf/basic/BasicProgressBarUI.java 23996 (paint): Don't paint the border here. This would lead to the border 23997 beeing painted twice. 23998 239992005-05-20 Roman Kennke <roman@kennke.org> 24000 24001 * javax/swing/SwingUtilities.java 24002 (convertPoint): Check for visibility of source and destination 24003 before calling convertPointToScreen or convertPointFromScreen. 24004 240052005-05-20 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24006 24007 * org/omg/CORBA/SetOverrideType.java (_ADD_OVERRIDE, _SET_OVERRIDE), 24008 org/omg/CORBA/CompletionStatus.java 24009 (_COMPLETED_YES, _COMPLETED_NO, _COMPLETED_MAYBE): Making public. 24010 * org/omg/CORBA/ValueMember.java: Inherit from 24011 org.omg.CORBA.portable.IDLEntity. 24012 240132005-05-20 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24014 24015 * org/omg/CORBA/portable/ApplicationException.java, 24016 org/omg/CORBA/portable/RemarshalException.java: 24017 Adding serialVersionUID. 24018 *org/omg/CORBA/portable/OutputStream.java(write_Context): 24019 Making concrete. 24020 org/omg/CORBA/portable/ServantObject.java (servant): 24021 Fixing typo in the field name. 24022 240232005-05-20 Michael Koch <konqueror@gmx.de> 24024 24025 * scripts/generate-locale-list.sh: 24026 Use the new locale properties files. 24027 240282005-05-20 Robert Schuster <thebohemian@gmx.net> 24029 24030 * javax/swing/SizeRequirements.java: Removed two non-UTF8 chars. 24031 240322005-05-19 Andrew John Hughes <gnu_andrew@member.fsf.org> 24033 24034 * java/net/URI.java: 24035 Added more documentation. 24036 (RFC2396_MARK): Removed. 24037 (RFC2396_UNRESERVED): Changed to RFC3986_UNRESERVED and updated. 24038 (RFC2396_REG_NAME): Changed to RFC3986_REG_NAME and updated. 24039 (RFC2396_PCHAR): Changed to RFC3986_PCHAR and updated. 24040 (RFC2396_SEGMENT): Changed to RFC3986_SEGMENT and updated. 24041 (RFC2396_PATH_SEGMENTS): Changed to RFC3986_PATH_SEGMENTS. 24042 (RFC3986_UNRESERVED): New field. 24043 (RFC3986_SSP): New field. 24044 (RFC3986_HOST): New field. 24045 (RFC3986_USERINFO): New field. 24046 (static): New initializer to initialize patterns with class. 24047 (parseURI()): Moved authority parsing to parseServerAuthority(). 24048 (unquote(String)): Removed invalid exception for non-ASCII chars. 24049 (quote(String)): Implemented. 24050 (quoteAuthority(String)): Adapted to use new fields. 24051 (quote(String,String)): Moved escaping of characters to another 24052 method. 24053 (quoteHost(String)): Implemented. 24054 (quotePath(String)): Adapted to use new fields. 24055 (quoteUserInfo(String)): Implemented. 24056 (parseServerAuthority()): Implemented. 24057 (normalize()): Implemented. 24058 (normalizePath(String)): Implemented as part of normalize(). 24059 (removeLastSegment(StringBuffer)): Likewise. 24060 (relativize(java.net.URI)): Implemented. 24061 (equals(Object)): Implemented. 24062 (hashCode()): Implemented. 24063 (compareTo(Object)): Implemented. 24064 (compareFragments(java.net.URI)): Implemented. 24065 (toString()): Use fields directly. 24066 (toASCIIString()): Implemented. 24067 (escapeCharacters(String)): Implemented to escape non-ASCII characters. 24068 240692005-05-19 Roman Kennke <roman@kennke.org> 24070 24071 * javax/swing/SizeRequirements.java 24072 (constructors): Implemented. 24073 (getTiledSizeRequirements): Implemented. 24074 (calculateTiledPositions): Implemented. 24075 240762005-05-19 Roman Kennke <roman@kennke.org> 24077 24078 * javax/swing/SizeRequirements.java: 24079 Added API documentation for this class. 24080 240812005-05-19 Roman Kennke <roman@kennke.org> 24082 24083 * javax/swing/SizeRequirements.java: 24084 Reformatted file to meet our coding standards. 24085 240862005-05-19 Roman Kennke <roman@kennke.org> 24087 24088 * javax/swing/SwingUtilities.java 24089 (getUIInputMap): Return the InputMap that has been set by 24090 the UI of the component, not the component's own InputMap. 24091 (getUIActionMap): Return the ActionMap that has been set by 24092 the UI of the component, not the component's own ActionMap. 24093 240942005-05-19 Roman Kennke <roman@kennke.org> 24095 24096 * javax/swing/FocusManager.java: 24097 Reformatted this file to match our coding standard. 24098 240992005-05-19 Roman Kennke <roman@kennke.org> 24100 24101 * javax/swing/plaf/metal/BasicFileChooserUI.java: 24102 (installComponents): Include parents ComboBox. This has been 24103 commented out because ComboBox was broken (see previous entry). 24104 241052005-05-19 Roman Kennke <roman@kennke.org> 24106 24107 * javax/swing/plaf/metal/MetalComboBoxUI.java 24108 (createUI): Do not share instances of this UI class between 24109 different JComboBoxes. 24110 241112005-05-19 Kim Ho <kho@luxsci.net> 24112 24113 * javax/swing/DefaultComboBoxModel.java: 24114 (addElement): Set index to be the element of the added item. 24115 (removeAllElements): Clear before retrieving new size. Use 24116 correct size. 24117 * javax/swing/JFileChooser.java: Implemented. 24118 * javax/swing/filechooser/FileSystemView.java: Implemented. 24119 * javax/swing/filechooser/UnixFileSystemView.java: New file. 24120 Implemented. 24121 * javax/swing/plaf/basic/BasicComboBoxUI.java: 24122 (intervalAdded): Set initial index to start. 24123 * javax/swing/plaf/basic/BasicDirectoryModel.java: New file. 24124 Implemented. 24125 * javax/swing/plaf/basic/BasicFileChooserUI.java: New file. 24126 Implemented. 24127 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add FileChooserUI. 24128 Commented out GIF properties for FileChooser stuff. 24129 241302005-05-19 Michael Koch <konqueror@gmx.de> 24131 24132 * lib/Makefile.am: Remove accidentally commited -nowarn option for 24133 jikes. 24134 241352005-05-19 Michael Koch <konqueror@gmx.de> 24136 24137 * java/text/DateFormatSymbols.java 24138 (getStringArray): New method. 24139 (getZoneStrings): Likewise. 24140 (DateFormatSymbols): Load symbols from properties files. 24141 * java/util/Locale.java 24142 (getDisplayLanguage): Handle new way to load language names. 24143 (getDisplayCountry): Handle new way to load territory names. 24144 (getDisplayVariant): Handle new way to load variant names. 24145 * lib/Makefile.am, lib/gen-classlist.sh.in: 24146 No need to special case classes from gnu.java.locale anymore. 24147 * scripts/generate-locale-list.sh: 24148 Generate list from the new properties files. 24149 * LICENSE: Added license of locale data properties files. 24150 241512005-05-19 Michael Koch <konqueror@gmx.de> 24152 24153 * resource/gnu/java/locale/LocaleInformation_aa_DJ.properties, 24154 resource/gnu/java/locale/LocaleInformation_aa_ER.properties, 24155 resource/gnu/java/locale/LocaleInformation_aa_ER_SAAHO.properties, 24156 resource/gnu/java/locale/LocaleInformation_aa_ET.properties, 24157 resource/gnu/java/locale/LocaleInformation_aa.properties, 24158 resource/gnu/java/locale/LocaleInformation_af.properties, 24159 resource/gnu/java/locale/LocaleInformation_af_ZA.properties, 24160 resource/gnu/java/locale/LocaleInformation_am_ET.properties, 24161 resource/gnu/java/locale/LocaleInformation_am.properties, 24162 resource/gnu/java/locale/LocaleInformation_ar_DZ.properties, 24163 resource/gnu/java/locale/LocaleInformation_ar_IN.properties, 24164 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties, 24165 resource/gnu/java/locale/LocaleInformation_ar_JO.properties, 24166 resource/gnu/java/locale/LocaleInformation_ar_KW.properties, 24167 resource/gnu/java/locale/LocaleInformation_ar_LB.properties, 24168 resource/gnu/java/locale/LocaleInformation_ar_LY.properties, 24169 resource/gnu/java/locale/LocaleInformation_ar_MA.properties, 24170 resource/gnu/java/locale/LocaleInformation_ar.properties, 24171 resource/gnu/java/locale/LocaleInformation_ar_QA.properties, 24172 resource/gnu/java/locale/LocaleInformation_ar_SA.properties, 24173 resource/gnu/java/locale/LocaleInformation_ar_SY.properties, 24174 resource/gnu/java/locale/LocaleInformation_ar_TN.properties, 24175 resource/gnu/java/locale/LocaleInformation_ar_YE.properties, 24176 resource/gnu/java/locale/LocaleInformation_as_IN.properties, 24177 resource/gnu/java/locale/LocaleInformation_as.properties, 24178 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties, 24179 resource/gnu/java/locale/LocaleInformation_be_BY.properties, 24180 resource/gnu/java/locale/LocaleInformation_be.properties, 24181 resource/gnu/java/locale/LocaleInformation_bg_BG.properties, 24182 resource/gnu/java/locale/LocaleInformation_bg.properties, 24183 resource/gnu/java/locale/LocaleInformation_bn_IN.properties, 24184 resource/gnu/java/locale/LocaleInformation_bn.properties, 24185 resource/gnu/java/locale/LocaleInformation_ca_ES.properties, 24186 resource/gnu/java/locale/LocaleInformation_ca.properties, 24187 resource/gnu/java/locale/LocaleInformation_cs_CZ.properties, 24188 resource/gnu/java/locale/LocaleInformation_cs.properties, 24189 resource/gnu/java/locale/LocaleInformation_cy_GB.properties, 24190 resource/gnu/java/locale/LocaleInformation_cy.properties, 24191 resource/gnu/java/locale/LocaleInformation_da_DK.properties, 24192 resource/gnu/java/locale/LocaleInformation_da.properties, 24193 resource/gnu/java/locale/LocaleInformation_de_AT.properties, 24194 resource/gnu/java/locale/LocaleInformation_de_BE.properties, 24195 resource/gnu/java/locale/LocaleInformation_de_CH.properties, 24196 resource/gnu/java/locale/LocaleInformation_de_DE.properties, 24197 resource/gnu/java/locale/LocaleInformation_de_LI.properties, 24198 resource/gnu/java/locale/LocaleInformation_de_LU.properties, 24199 resource/gnu/java/locale/LocaleInformation_de.properties, 24200 resource/gnu/java/locale/LocaleInformation_dv_MV.properties, 24201 resource/gnu/java/locale/LocaleInformation_dv.properties, 24202 resource/gnu/java/locale/LocaleInformation_dz_BT.properties, 24203 resource/gnu/java/locale/LocaleInformation_dz.properties, 24204 resource/gnu/java/locale/LocaleInformation_el_GR.properties, 24205 resource/gnu/java/locale/LocaleInformation_el.properties, 24206 resource/gnu/java/locale/LocaleInformation_en_AS.properties, 24207 resource/gnu/java/locale/LocaleInformation_en_AU.properties, 24208 resource/gnu/java/locale/LocaleInformation_en_BE.properties, 24209 resource/gnu/java/locale/LocaleInformation_en_BW.properties, 24210 resource/gnu/java/locale/LocaleInformation_en_BZ.properties, 24211 resource/gnu/java/locale/LocaleInformation_en_CA.properties, 24212 resource/gnu/java/locale/LocaleInformation_en_GB.properties, 24213 resource/gnu/java/locale/LocaleInformation_en_GU.properties, 24214 resource/gnu/java/locale/LocaleInformation_en_HK.properties, 24215 resource/gnu/java/locale/LocaleInformation_en_IE.properties, 24216 resource/gnu/java/locale/LocaleInformation_en_IN.properties, 24217 resource/gnu/java/locale/LocaleInformation_en_MH.properties, 24218 resource/gnu/java/locale/LocaleInformation_en_MP.properties, 24219 resource/gnu/java/locale/LocaleInformation_en_MT.properties, 24220 resource/gnu/java/locale/LocaleInformation_en_NZ.properties, 24221 resource/gnu/java/locale/LocaleInformation_en_PH.properties, 24222 resource/gnu/java/locale/LocaleInformation_en_PK.properties, 24223 resource/gnu/java/locale/LocaleInformation_en.properties, 24224 resource/gnu/java/locale/LocaleInformation_en_SG.properties, 24225 resource/gnu/java/locale/LocaleInformation_en_UM.properties, 24226 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties, 24227 resource/gnu/java/locale/LocaleInformation_en_US.properties, 24228 resource/gnu/java/locale/LocaleInformation_en_VI.properties, 24229 resource/gnu/java/locale/LocaleInformation_en_ZA.properties, 24230 resource/gnu/java/locale/LocaleInformation_en_ZW.properties, 24231 resource/gnu/java/locale/LocaleInformation_eo.properties, 24232 resource/gnu/java/locale/LocaleInformation_es_AR.properties, 24233 resource/gnu/java/locale/LocaleInformation_es_BO.properties, 24234 resource/gnu/java/locale/LocaleInformation_es_CL.properties, 24235 resource/gnu/java/locale/LocaleInformation_es_CO.properties, 24236 resource/gnu/java/locale/LocaleInformation_es_CR.properties, 24237 resource/gnu/java/locale/LocaleInformation_es_DO.properties, 24238 resource/gnu/java/locale/LocaleInformation_es_EC.properties, 24239 resource/gnu/java/locale/LocaleInformation_es_ES.properties, 24240 resource/gnu/java/locale/LocaleInformation_es_GT.properties, 24241 resource/gnu/java/locale/LocaleInformation_es_HN.properties, 24242 resource/gnu/java/locale/LocaleInformation_es_MX.properties, 24243 resource/gnu/java/locale/LocaleInformation_es_NI.properties, 24244 resource/gnu/java/locale/LocaleInformation_es_PA.properties, 24245 resource/gnu/java/locale/LocaleInformation_es_PE.properties, 24246 resource/gnu/java/locale/LocaleInformation_es.properties, 24247 resource/gnu/java/locale/LocaleInformation_es_PR.properties, 24248 resource/gnu/java/locale/LocaleInformation_es_PY.properties, 24249 resource/gnu/java/locale/LocaleInformation_es_SV.properties, 24250 resource/gnu/java/locale/LocaleInformation_es_US.properties, 24251 resource/gnu/java/locale/LocaleInformation_es_UY.properties, 24252 resource/gnu/java/locale/LocaleInformation_es_VE.properties, 24253 resource/gnu/java/locale/LocaleInformation_et_EE.properties, 24254 resource/gnu/java/locale/LocaleInformation_et.properties, 24255 resource/gnu/java/locale/LocaleInformation_eu_ES.properties, 24256 resource/gnu/java/locale/LocaleInformation_eu.properties, 24257 resource/gnu/java/locale/LocaleInformation_fa_AF.properties, 24258 resource/gnu/java/locale/LocaleInformation_fa_IR.properties, 24259 resource/gnu/java/locale/LocaleInformation_fa.properties, 24260 resource/gnu/java/locale/LocaleInformation_fi_FI.properties, 24261 resource/gnu/java/locale/LocaleInformation_fi.properties, 24262 resource/gnu/java/locale/LocaleInformation_fo_FO.properties, 24263 resource/gnu/java/locale/LocaleInformation_fo.properties, 24264 resource/gnu/java/locale/LocaleInformation_fr_BE.properties, 24265 resource/gnu/java/locale/LocaleInformation_fr_CA.properties, 24266 resource/gnu/java/locale/LocaleInformation_fr_CH.properties, 24267 resource/gnu/java/locale/LocaleInformation_fr_LU.properties, 24268 resource/gnu/java/locale/LocaleInformation_fr.properties, 24269 resource/gnu/java/locale/LocaleInformation_ga_IE.properties, 24270 resource/gnu/java/locale/LocaleInformation_ga.properties, 24271 resource/gnu/java/locale/LocaleInformation_gl_ES.properties, 24272 resource/gnu/java/locale/LocaleInformation_gl.properties, 24273 resource/gnu/java/locale/LocaleInformation_gu_IN.properties, 24274 resource/gnu/java/locale/LocaleInformation_gu.properties, 24275 resource/gnu/java/locale/LocaleInformation_gv_GB.properties, 24276 resource/gnu/java/locale/LocaleInformation_gv.properties, 24277 resource/gnu/java/locale/LocaleInformation_he_IL.properties, 24278 resource/gnu/java/locale/LocaleInformation_he.properties, 24279 resource/gnu/java/locale/LocaleInformation_hi_IN.properties, 24280 resource/gnu/java/locale/LocaleInformation_hi.properties, 24281 resource/gnu/java/locale/LocaleInformation_hr.properties, 24282 resource/gnu/java/locale/LocaleInformation_hu_HU.properties, 24283 resource/gnu/java/locale/LocaleInformation_hu.properties, 24284 resource/gnu/java/locale/LocaleInformation_hy_AM.properties, 24285 resource/gnu/java/locale/LocaleInformation_hy_AM_REVISED.properties, 24286 resource/gnu/java/locale/LocaleInformation_hy.properties, 24287 resource/gnu/java/locale/LocaleInformation_id_ID.properties, 24288 resource/gnu/java/locale/LocaleInformation_id.properties, 24289 resource/gnu/java/locale/LocaleInformation_is_IS.properties, 24290 resource/gnu/java/locale/LocaleInformation_is.properties, 24291 resource/gnu/java/locale/LocaleInformation_it_CH.properties, 24292 resource/gnu/java/locale/LocaleInformation_it_IT.properties, 24293 resource/gnu/java/locale/LocaleInformation_it.properties, 24294 resource/gnu/java/locale/LocaleInformation_iu.properties, 24295 resource/gnu/java/locale/LocaleInformation_ja_JP.properties, 24296 resource/gnu/java/locale/LocaleInformation_ja.properties, 24297 resource/gnu/java/locale/LocaleInformation_ka.properties, 24298 resource/gnu/java/locale/LocaleInformation_kk_KZ.properties, 24299 resource/gnu/java/locale/LocaleInformation_kk.properties, 24300 resource/gnu/java/locale/LocaleInformation_kl_GL.properties, 24301 resource/gnu/java/locale/LocaleInformation_kl.properties, 24302 resource/gnu/java/locale/LocaleInformation_km_KH.properties, 24303 resource/gnu/java/locale/LocaleInformation_km.properties, 24304 resource/gnu/java/locale/LocaleInformation_kn_IN.properties, 24305 resource/gnu/java/locale/LocaleInformation_kn.properties, 24306 resource/gnu/java/locale/LocaleInformation_ko_KR.properties, 24307 resource/gnu/java/locale/LocaleInformation_ko.properties, 24308 resource/gnu/java/locale/LocaleInformation_kw_GB.properties, 24309 resource/gnu/java/locale/LocaleInformation_kw.properties, 24310 resource/gnu/java/locale/LocaleInformation_ky.properties, 24311 resource/gnu/java/locale/LocaleInformation_lo_LA.properties, 24312 resource/gnu/java/locale/LocaleInformation_lo.properties, 24313 resource/gnu/java/locale/LocaleInformation_lt_LT.properties, 24314 resource/gnu/java/locale/LocaleInformation_lt.properties, 24315 resource/gnu/java/locale/LocaleInformation_lv_LV.properties, 24316 resource/gnu/java/locale/LocaleInformation_lv.properties, 24317 resource/gnu/java/locale/LocaleInformation_mk.properties, 24318 resource/gnu/java/locale/LocaleInformation_ml_IN.properties, 24319 resource/gnu/java/locale/LocaleInformation_ml.properties, 24320 resource/gnu/java/locale/LocaleInformation_mn_MN.properties, 24321 resource/gnu/java/locale/LocaleInformation_mn.properties, 24322 resource/gnu/java/locale/LocaleInformation_mr_IN.properties, 24323 resource/gnu/java/locale/LocaleInformation_mr.properties, 24324 resource/gnu/java/locale/LocaleInformation_ms_BN.properties, 24325 resource/gnu/java/locale/LocaleInformation_ms_MY.properties, 24326 resource/gnu/java/locale/LocaleInformation_ms.properties, 24327 resource/gnu/java/locale/LocaleInformation_mt_MT.properties, 24328 resource/gnu/java/locale/LocaleInformation_mt.properties, 24329 resource/gnu/java/locale/LocaleInformation_nb_NO.properties, 24330 resource/gnu/java/locale/LocaleInformation_nb.properties, 24331 resource/gnu/java/locale/LocaleInformation_nl_BE.properties, 24332 resource/gnu/java/locale/LocaleInformation_nl_NL.properties, 24333 resource/gnu/java/locale/LocaleInformation_nl.properties, 24334 resource/gnu/java/locale/LocaleInformation_nn_NO.properties, 24335 resource/gnu/java/locale/LocaleInformation_nn.properties, 24336 resource/gnu/java/locale/LocaleInformation_om_ET.properties, 24337 resource/gnu/java/locale/LocaleInformation_om_KE.properties, 24338 resource/gnu/java/locale/LocaleInformation_om.properties, 24339 resource/gnu/java/locale/LocaleInformation_or_IN.properties, 24340 resource/gnu/java/locale/LocaleInformation_or.properties, 24341 resource/gnu/java/locale/LocaleInformation_pa_IN.properties, 24342 resource/gnu/java/locale/LocaleInformation_pa.properties, 24343 resource/gnu/java/locale/LocaleInformation_pl_PL.properties, 24344 resource/gnu/java/locale/LocaleInformation_pl.properties, 24345 resource/gnu/java/locale/LocaleInformation.properties, 24346 resource/gnu/java/locale/LocaleInformation_ps_AF.properties, 24347 resource/gnu/java/locale/LocaleInformation_ps.properties, 24348 resource/gnu/java/locale/LocaleInformation_pt_BR.properties, 24349 resource/gnu/java/locale/LocaleInformation_pt.properties, 24350 resource/gnu/java/locale/LocaleInformation_pt_PT.properties, 24351 resource/gnu/java/locale/LocaleInformation_ro.properties, 24352 resource/gnu/java/locale/LocaleInformation_ro_RO.properties, 24353 resource/gnu/java/locale/LocaleInformation_ru.properties, 24354 resource/gnu/java/locale/LocaleInformation_ru_RU.properties, 24355 resource/gnu/java/locale/LocaleInformation_ru_UA.properties, 24356 resource/gnu/java/locale/LocaleInformation_sa_IN.properties, 24357 resource/gnu/java/locale/LocaleInformation_sa.properties, 24358 resource/gnu/java/locale/LocaleInformation_sk.properties, 24359 resource/gnu/java/locale/LocaleInformation_sk_SK.properties, 24360 resource/gnu/java/locale/LocaleInformation_sl.properties, 24361 resource/gnu/java/locale/LocaleInformation_so_DJ.properties, 24362 resource/gnu/java/locale/LocaleInformation_so_ET.properties, 24363 resource/gnu/java/locale/LocaleInformation_so_KE.properties, 24364 resource/gnu/java/locale/LocaleInformation_so.properties, 24365 resource/gnu/java/locale/LocaleInformation_so_SO.properties, 24366 resource/gnu/java/locale/LocaleInformation_sq_AL.properties, 24367 resource/gnu/java/locale/LocaleInformation_sq.properties, 24368 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, 24369 resource/gnu/java/locale/LocaleInformation_sr.properties, 24370 resource/gnu/java/locale/LocaleInformation_sv_FI.properties, 24371 resource/gnu/java/locale/LocaleInformation_sv.properties, 24372 resource/gnu/java/locale/LocaleInformation_sv_SE.properties, 24373 resource/gnu/java/locale/LocaleInformation_sw_KE.properties, 24374 resource/gnu/java/locale/LocaleInformation_sw.properties, 24375 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties, 24376 resource/gnu/java/locale/LocaleInformation_ta_IN.properties, 24377 resource/gnu/java/locale/LocaleInformation_ta.properties, 24378 resource/gnu/java/locale/LocaleInformation_te_IN.properties, 24379 resource/gnu/java/locale/LocaleInformation_te.properties, 24380 resource/gnu/java/locale/LocaleInformation_th.properties, 24381 resource/gnu/java/locale/LocaleInformation_th_TH.properties, 24382 resource/gnu/java/locale/LocaleInformation_ti_ER.properties, 24383 resource/gnu/java/locale/LocaleInformation_ti_ET.properties, 24384 resource/gnu/java/locale/LocaleInformation_ti.properties, 24385 resource/gnu/java/locale/LocaleInformation_tr.properties, 24386 resource/gnu/java/locale/LocaleInformation_tr_TR.properties, 24387 resource/gnu/java/locale/LocaleInformation_tt.properties, 24388 resource/gnu/java/locale/LocaleInformation_tt_RU.properties, 24389 resource/gnu/java/locale/LocaleInformation_uk.properties, 24390 resource/gnu/java/locale/LocaleInformation_uk_UA.properties, 24391 resource/gnu/java/locale/LocaleInformation_ur.properties, 24392 resource/gnu/java/locale/LocaleInformation_uz_AF.properties, 24393 resource/gnu/java/locale/LocaleInformation_uz.properties, 24394 resource/gnu/java/locale/LocaleInformation_vi.properties, 24395 resource/gnu/java/locale/LocaleInformation_zh_CN_Hans.properties, 24396 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties, 24397 resource/gnu/java/locale/LocaleInformation_zh_HK_Hant.properties, 24398 resource/gnu/java/locale/LocaleInformation_zh_MO_Hant.properties, 24399 resource/gnu/java/locale/LocaleInformation_zh.properties, 24400 resource/gnu/java/locale/LocaleInformation_zh_SG_Hans.properties, 24401 resource/gnu/java/locale/LocaleInformation_zh_TW_Hant.properties: 24402 New files. 24403 * gnu/java/locale/LocaleInformation_aa_DJ.java, 24404 gnu/java/locale/LocaleInformation_aa_ER.java, 24405 gnu/java/locale/LocaleInformation_aa_ER_SAAHO.java, 24406 gnu/java/locale/LocaleInformation_aa_ET.java, 24407 gnu/java/locale/LocaleInformation_aa.java, 24408 gnu/java/locale/LocaleInformation_af.java, 24409 gnu/java/locale/LocaleInformation_af_ZA.java, 24410 gnu/java/locale/LocaleInformation_am_ET.java, 24411 gnu/java/locale/LocaleInformation_am.java, 24412 gnu/java/locale/LocaleInformation_ar_DZ.java, 24413 gnu/java/locale/LocaleInformation_ar_IN.java, 24414 gnu/java/locale/LocaleInformation_ar_IQ.java, 24415 gnu/java/locale/LocaleInformation_ar.java, 24416 gnu/java/locale/LocaleInformation_ar_JO.java, 24417 gnu/java/locale/LocaleInformation_ar_KW.java, 24418 gnu/java/locale/LocaleInformation_ar_LB.java, 24419 gnu/java/locale/LocaleInformation_ar_LY.java, 24420 gnu/java/locale/LocaleInformation_ar_MA.java, 24421 gnu/java/locale/LocaleInformation_ar_QA.java, 24422 gnu/java/locale/LocaleInformation_ar_SA.java, 24423 gnu/java/locale/LocaleInformation_ar_SY.java, 24424 gnu/java/locale/LocaleInformation_ar_TN.java, 24425 gnu/java/locale/LocaleInformation_ar_YE.java, 24426 gnu/java/locale/LocaleInformation_as_IN.java, 24427 gnu/java/locale/LocaleInformation_as.java, 24428 gnu/java/locale/LocaleInformation_az_Cyrl.java, 24429 gnu/java/locale/LocaleInformation_az.java, 24430 gnu/java/locale/LocaleInformation_be_BY.java, 24431 gnu/java/locale/LocaleInformation_be.java, 24432 gnu/java/locale/LocaleInformation_bg_BG.java, 24433 gnu/java/locale/LocaleInformation_bg.java, 24434 gnu/java/locale/LocaleInformation_bn_IN.java, 24435 gnu/java/locale/LocaleInformation_bn.java, 24436 gnu/java/locale/LocaleInformation_br_FR.java, 24437 gnu/java/locale/LocaleInformation_bs_BA.java, 24438 gnu/java/locale/LocaleInformation_byn_ER.java, 24439 gnu/java/locale/LocaleInformation_byn.java, 24440 gnu/java/locale/LocaleInformation_ca_ES.java, 24441 gnu/java/locale/LocaleInformation_ca.java, 24442 gnu/java/locale/LocaleInformation_cs_CZ.java, 24443 gnu/java/locale/LocaleInformation_cs.java, 24444 gnu/java/locale/LocaleInformation_cy_GB.java, 24445 gnu/java/locale/LocaleInformation_cy.java, 24446 gnu/java/locale/LocaleInformation_da_DK.java, 24447 gnu/java/locale/LocaleInformation_da.java, 24448 gnu/java/locale/LocaleInformation_de_AT.java, 24449 gnu/java/locale/LocaleInformation_de_BE.java, 24450 gnu/java/locale/LocaleInformation_de_CH.java, 24451 gnu/java/locale/LocaleInformation_de_DE.java, 24452 gnu/java/locale/LocaleInformation_de.java, 24453 gnu/java/locale/LocaleInformation_de_LI.java, 24454 gnu/java/locale/LocaleInformation_de_LU.java, 24455 gnu/java/locale/LocaleInformation_dv.java, 24456 gnu/java/locale/LocaleInformation_dv_MV.java, 24457 gnu/java/locale/LocaleInformation_dz_BT.java, 24458 gnu/java/locale/LocaleInformation_dz.java, 24459 gnu/java/locale/LocaleInformation_el_GR.java, 24460 gnu/java/locale/LocaleInformation_el.java, 24461 gnu/java/locale/LocaleInformation_en_AS.java, 24462 gnu/java/locale/LocaleInformation_en_AU.java, 24463 gnu/java/locale/LocaleInformation_en_BE.java, 24464 gnu/java/locale/LocaleInformation_en_BW.java, 24465 gnu/java/locale/LocaleInformation_en_BZ.java, 24466 gnu/java/locale/LocaleInformation_en_CA.java, 24467 gnu/java/locale/LocaleInformation_en_DK.java, 24468 gnu/java/locale/LocaleInformation_en_GB.java, 24469 gnu/java/locale/LocaleInformation_en_GU.java, 24470 gnu/java/locale/LocaleInformation_en_HK.java, 24471 gnu/java/locale/LocaleInformation_en_IE.java, 24472 gnu/java/locale/LocaleInformation_en_IN.java, 24473 gnu/java/locale/LocaleInformation_en.java, 24474 gnu/java/locale/LocaleInformation_en_MH.java, 24475 gnu/java/locale/LocaleInformation_en_MP.java, 24476 gnu/java/locale/LocaleInformation_en_MT.java, 24477 gnu/java/locale/LocaleInformation_en_NZ.java, 24478 gnu/java/locale/LocaleInformation_en_PH.java, 24479 gnu/java/locale/LocaleInformation_en_PK.java, 24480 gnu/java/locale/LocaleInformation_en_SG.java, 24481 gnu/java/locale/LocaleInformation_en_UM.java, 24482 gnu/java/locale/LocaleInformation_en_US.java, 24483 gnu/java/locale/LocaleInformation_en_US_POSIX.java, 24484 gnu/java/locale/LocaleInformation_en_VI.java, 24485 gnu/java/locale/LocaleInformation_en_ZA.java, 24486 gnu/java/locale/LocaleInformation_en_ZW.java, 24487 gnu/java/locale/LocaleInformation_eo.java, 24488 gnu/java/locale/LocaleInformation_es_AR.java, 24489 gnu/java/locale/LocaleInformation_es_BO.java, 24490 gnu/java/locale/LocaleInformation_es_CL.java, 24491 gnu/java/locale/LocaleInformation_es_CO.java, 24492 gnu/java/locale/LocaleInformation_es_CR.java, 24493 gnu/java/locale/LocaleInformation_es_DO.java, 24494 gnu/java/locale/LocaleInformation_es_EC.java, 24495 gnu/java/locale/LocaleInformation_es_ES.java, 24496 gnu/java/locale/LocaleInformation_es_GT.java, 24497 gnu/java/locale/LocaleInformation_es_HN.java, 24498 gnu/java/locale/LocaleInformation_es.java, 24499 gnu/java/locale/LocaleInformation_es_MX.java, 24500 gnu/java/locale/LocaleInformation_es_NI.java, 24501 gnu/java/locale/LocaleInformation_es_PA.java, 24502 gnu/java/locale/LocaleInformation_es_PE.java, 24503 gnu/java/locale/LocaleInformation_es_PR.java, 24504 gnu/java/locale/LocaleInformation_es_PY.java, 24505 gnu/java/locale/LocaleInformation_es_SV.java, 24506 gnu/java/locale/LocaleInformation_es_US.java, 24507 gnu/java/locale/LocaleInformation_es_UY.java, 24508 gnu/java/locale/LocaleInformation_es_VE.java, 24509 gnu/java/locale/LocaleInformation_et_EE.java, 24510 gnu/java/locale/LocaleInformation_et.java, 24511 gnu/java/locale/LocaleInformation_eu_ES.java, 24512 gnu/java/locale/LocaleInformation_eu.java, 24513 gnu/java/locale/LocaleInformation_fa_AF.java, 24514 gnu/java/locale/LocaleInformation_fa_IR.java, 24515 gnu/java/locale/LocaleInformation_fa.java, 24516 gnu/java/locale/LocaleInformation_fi_FI.java, 24517 gnu/java/locale/LocaleInformation_fi.java, 24518 gnu/java/locale/LocaleInformation_fo_FO.java, 24519 gnu/java/locale/LocaleInformation_fo.java, 24520 gnu/java/locale/LocaleInformation_fr_BE.java, 24521 gnu/java/locale/LocaleInformation_fr_CA.java, 24522 gnu/java/locale/LocaleInformation_fr_CH.java, 24523 gnu/java/locale/LocaleInformation_fr.java, 24524 gnu/java/locale/LocaleInformation_fr_LU.java, 24525 gnu/java/locale/LocaleInformation_ga_IE.java, 24526 gnu/java/locale/LocaleInformation_ga.java, 24527 gnu/java/locale/LocaleInformation_gez_ER.java, 24528 gnu/java/locale/LocaleInformation_gez_ET.java, 24529 gnu/java/locale/LocaleInformation_gez.java, 24530 gnu/java/locale/LocaleInformation_gl_ES.java, 24531 gnu/java/locale/LocaleInformation_gl.java, 24532 gnu/java/locale/LocaleInformation_gu_IN.java, 24533 gnu/java/locale/LocaleInformation_gu.java, 24534 gnu/java/locale/LocaleInformation_gv_GB.java, 24535 gnu/java/locale/LocaleInformation_gv.java, 24536 gnu/java/locale/LocaleInformation_haw.java, 24537 gnu/java/locale/LocaleInformation_haw_US.java, 24538 gnu/java/locale/LocaleInformation_he_IL.java, 24539 gnu/java/locale/LocaleInformation_he.java, 24540 gnu/java/locale/LocaleInformation_hi_IN.java, 24541 gnu/java/locale/LocaleInformation_hi.java, 24542 gnu/java/locale/LocaleInformation_hr.java, 24543 gnu/java/locale/LocaleInformation_hu_HU.java, 24544 gnu/java/locale/LocaleInformation_hu.java, 24545 gnu/java/locale/LocaleInformation_hy_AM.java, 24546 gnu/java/locale/LocaleInformation_hy_AM_REVISED.java, 24547 gnu/java/locale/LocaleInformation_hy.java, 24548 gnu/java/locale/LocaleInformation_id_ID.java, 24549 gnu/java/locale/LocaleInformation_id.java, 24550 gnu/java/locale/LocaleInformation_is_IS.java, 24551 gnu/java/locale/LocaleInformation_is.java, 24552 gnu/java/locale/LocaleInformation_it_CH.java, 24553 gnu/java/locale/LocaleInformation_it_IT.java, 24554 gnu/java/locale/LocaleInformation_it.java, 24555 gnu/java/locale/LocaleInformation_iu.java, 24556 gnu/java/locale/LocaleInformation_iw_IL.java, 24557 gnu/java/locale/LocaleInformation_ja.java, 24558 gnu/java/locale/LocaleInformation_ja_JP.java, 24559 gnu/java/locale/LocaleInformation.java, 24560 gnu/java/locale/LocaleInformation_ka.java, 24561 gnu/java/locale/LocaleInformation_kk.java, 24562 gnu/java/locale/LocaleInformation_kk_KZ.java, 24563 gnu/java/locale/LocaleInformation_kl_GL.java, 24564 gnu/java/locale/LocaleInformation_kl.java, 24565 gnu/java/locale/LocaleInformation_km.java, 24566 gnu/java/locale/LocaleInformation_km_KH.java, 24567 gnu/java/locale/LocaleInformation_kn_IN.java, 24568 gnu/java/locale/LocaleInformation_kn.java, 24569 gnu/java/locale/LocaleInformation_ko.java, 24570 gnu/java/locale/LocaleInformation_kok_IN.java, 24571 gnu/java/locale/LocaleInformation_kok.java, 24572 gnu/java/locale/LocaleInformation_ko_KR.java, 24573 gnu/java/locale/LocaleInformation_kw_GB.java, 24574 gnu/java/locale/LocaleInformation_kw.java, 24575 gnu/java/locale/LocaleInformation_ky.java, 24576 gnu/java/locale/LocaleInformation_lo.java, 24577 gnu/java/locale/LocaleInformation_lo_LA.java, 24578 gnu/java/locale/LocaleInformation_lt.java, 24579 gnu/java/locale/LocaleInformation_lt_LT.java, 24580 gnu/java/locale/LocaleInformation_lv.java, 24581 gnu/java/locale/LocaleInformation_lv_LV.java, 24582 gnu/java/locale/LocaleInformation_mk.java, 24583 gnu/java/locale/LocaleInformation_ml_IN.java, 24584 gnu/java/locale/LocaleInformation_ml.java, 24585 gnu/java/locale/LocaleInformation_mn.java, 24586 gnu/java/locale/LocaleInformation_mn_MN.java, 24587 gnu/java/locale/LocaleInformation_mr_IN.java, 24588 gnu/java/locale/LocaleInformation_mr.java, 24589 gnu/java/locale/LocaleInformation_ms_BN.java, 24590 gnu/java/locale/LocaleInformation_ms.java, 24591 gnu/java/locale/LocaleInformation_ms_MY.java, 24592 gnu/java/locale/LocaleInformation_mt.java, 24593 gnu/java/locale/LocaleInformation_mt_MT.java, 24594 gnu/java/locale/LocaleInformation_nb.java, 24595 gnu/java/locale/LocaleInformation_nb_NO.java, 24596 gnu/java/locale/LocaleInformation_nl_BE.java, 24597 gnu/java/locale/LocaleInformation_nl.java, 24598 gnu/java/locale/LocaleInformation_nl_NL.java, 24599 gnu/java/locale/LocaleInformation_nn.java, 24600 gnu/java/locale/LocaleInformation_nn_NO.java, 24601 gnu/java/locale/LocaleInformation_no_NO.java, 24602 gnu/java/locale/LocaleInformation_oc_FR.java, 24603 gnu/java/locale/LocaleInformation_om_ET.java, 24604 gnu/java/locale/LocaleInformation_om.java, 24605 gnu/java/locale/LocaleInformation_om_KE.java, 24606 gnu/java/locale/LocaleInformation_or_IN.java, 24607 gnu/java/locale/LocaleInformation_or.java, 24608 gnu/java/locale/LocaleInformation_pa_IN.java, 24609 gnu/java/locale/LocaleInformation_pa.java, 24610 gnu/java/locale/LocaleInformation_pl.java, 24611 gnu/java/locale/LocaleInformation_pl_PL.java, 24612 gnu/java/locale/LocaleInformation_ps_AF.java, 24613 gnu/java/locale/LocaleInformation_ps.java, 24614 gnu/java/locale/LocaleInformation_pt_BR.java, 24615 gnu/java/locale/LocaleInformation_pt.java, 24616 gnu/java/locale/LocaleInformation_pt_PT.java, 24617 gnu/java/locale/LocaleInformation_ro.java, 24618 gnu/java/locale/LocaleInformation_ro_RO.java, 24619 gnu/java/locale/LocaleInformation_ru.java, 24620 gnu/java/locale/LocaleInformation_ru_RU.java, 24621 gnu/java/locale/LocaleInformation_ru_UA.java, 24622 gnu/java/locale/LocaleInformation_sa_IN.java, 24623 gnu/java/locale/LocaleInformation_sa.java, 24624 gnu/java/locale/LocaleInformation_se_NO.java, 24625 gnu/java/locale/LocaleInformation_sid_ET.java, 24626 gnu/java/locale/LocaleInformation_sid.java, 24627 gnu/java/locale/LocaleInformation_sk.java, 24628 gnu/java/locale/LocaleInformation_sk_SK.java, 24629 gnu/java/locale/LocaleInformation_sl.java, 24630 gnu/java/locale/LocaleInformation_so_DJ.java, 24631 gnu/java/locale/LocaleInformation_so_ET.java, 24632 gnu/java/locale/LocaleInformation_so.java, 24633 gnu/java/locale/LocaleInformation_so_KE.java, 24634 gnu/java/locale/LocaleInformation_so_SO.java, 24635 gnu/java/locale/LocaleInformation_sq_AL.java, 24636 gnu/java/locale/LocaleInformation_sq.java, 24637 gnu/java/locale/LocaleInformation_sr.java, 24638 gnu/java/locale/LocaleInformation_sr_Latn.java, 24639 gnu/java/locale/LocaleInformation_sv_FI.java, 24640 gnu/java/locale/LocaleInformation_sv.java, 24641 gnu/java/locale/LocaleInformation_sv_SE.java, 24642 gnu/java/locale/LocaleInformation_sw.java, 24643 gnu/java/locale/LocaleInformation_sw_KE.java, 24644 gnu/java/locale/LocaleInformation_sw_TZ.java, 24645 gnu/java/locale/LocaleInformation_syr.java, 24646 gnu/java/locale/LocaleInformation_syr_SY.java, 24647 gnu/java/locale/LocaleInformation_ta_IN.java, 24648 gnu/java/locale/LocaleInformation_ta.java, 24649 gnu/java/locale/LocaleInformation_te_IN.java, 24650 gnu/java/locale/LocaleInformation_te.java, 24651 gnu/java/locale/LocaleInformation_tg_TJ.java, 24652 gnu/java/locale/LocaleInformation_th.java, 24653 gnu/java/locale/LocaleInformation_th_TH.java, 24654 gnu/java/locale/LocaleInformation_ti_ER.java, 24655 gnu/java/locale/LocaleInformation_ti_ET.java, 24656 gnu/java/locale/LocaleInformation_tig_ER.java, 24657 gnu/java/locale/LocaleInformation_tig.java, 24658 gnu/java/locale/LocaleInformation_ti.java, 24659 gnu/java/locale/LocaleInformation_tr.java, 24660 gnu/java/locale/LocaleInformation_tr_TR.java, 24661 gnu/java/locale/LocaleInformation_tt.java, 24662 gnu/java/locale/LocaleInformation_tt_RU.java, 24663 gnu/java/locale/LocaleInformation_uk.java, 24664 gnu/java/locale/LocaleInformation_uk_UA.java, 24665 gnu/java/locale/LocaleInformation_ur.java, 24666 gnu/java/locale/LocaleInformation_uz_AF.java, 24667 gnu/java/locale/LocaleInformation_uz.java, 24668 gnu/java/locale/LocaleInformation_vi.java, 24669 gnu/java/locale/LocaleInformation_wal_ET.java, 24670 gnu/java/locale/LocaleInformation_wal.java, 24671 gnu/java/locale/LocaleInformation_zh_CN_Hans.java, 24672 gnu/java/locale/LocaleInformation_zh_Hant.java, 24673 gnu/java/locale/LocaleInformation_zh_HK_Hant.java, 24674 gnu/java/locale/LocaleInformation_zh.java, 24675 gnu/java/locale/LocaleInformation_zh_MO_Hant.java, 24676 gnu/java/locale/LocaleInformation_zh_SG_Hans.java, 24677 gnu/java/locale/LocaleInformation_zh_TW_Hant.java: 24678 Removed. 24679 246802005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> 24681 24682 * java/awt/Window.java (createBufferStrategy): Remove unnecessary 24683 try-catch blocks. 24684 * java/awt/Canvas.java (createBufferStrategy): Likewise. 24685 24686 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: Fix imports. 24687 24688 * gnu/java/security/provider/DSASignature.java: Import updates 24689 from GNU Crypto. 24690 246912005-05-18 Olga Rodimina <rodimina@redhat.com> 24692 24693 * javax/swing/MenuSelectionManager.java 24694 (processMouseEvent): Clear selected path if the mouse was released 24695 over non-menu component. 24696 * javax/swing/plaf/basic/BasicPopupMenuUI.java 24697 (Constructor): Removed initialization of mouseInputListener. 24698 (installListeners): Do not add mouseInputListener to this popup 24699 menu. Instead it will be added to the root container of the popup 24700 menu. 24701 (uninstallListeners): Remove code that removed mouseInputListener 24702 from popupMenu. 24703 (popupMenuWillBecomeInvisible): If this popup menu is the last 24704 menu on the screen, then stop interrupting mouse events through 24705 the glass pane. 24706 (popupMenuWillBecomeVisible): Add mouseInputListener to glass pane 24707 if it was not added before and make glass pane visible in order to 24708 interrupt mouse evevents. 24709 (MouseInputHandler): Close menu hierarchy if the mouse was clicked 24710 on non menu component. 24711 247122005-05-18 Roman Kennke <roman@kennke.org> 24713 24714 * javax/swing/JEditorPane.java 24715 (isManagingFocus): According to Suns API documentation this 24716 method is not implemented in this class. Also the 24717 implementation did not add any value. Removed. 24718 247192005-05-18 Roman Kennke <roman@kennke.org> 24720 24721 * javax/swing/JSeparator.java 24722 (isFocusTraversable): According to Suns API documentation this 24723 method is not implemented in this class. Also the 24724 implementation did not add any value. Removed. 24725 247262005-05-18 Roman Kennke <roman@kennke.org> 24727 24728 * javax/swing/AbstractButton.java 24729 (isFocusTraversable): According to Suns API documentation this 24730 method is not implemented in this class. Also the 24731 implementation did not add any value. Removed. 24732 247332005-05-18 Roman Kennke <roman@kennke.org> 24734 24735 * javax/swing/ImageIcon.java 24736 (AccessibleImageIcon): Added inner class for Accessibility support 24737 in ImageIcon. 24738 (getAccessibleContext): Added method for accessibility support 24739 in ImageIcon. 24740 247412005-05-18 Thomas Fitzsimmons <fitzsim@redhat.com> 24742 24743 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java 24744 (createCompatibleVolatileImage(int,int)): Implement. 24745 (createCompatibleVolatileImage(int,int,ImageCapabilities)): 24746 Likewise. 24747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps): 24748 New fields. 24749 (createVolatileImage): Implement. 24750 (createBuffers): Likewise. 24751 (getBackBuffer): Likewise. 24752 (flip): Likewise. 24753 (destroyBuffers): Likewise. 24754 * gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file. 24755 * java/awt/Canvas.java (CanvasBltBufferStrategy): New class. 24756 (CanvasFlipBufferStrategy): Likewise. 24757 (createBufferStrategy(int)): New method. 24758 (createBufferStrategy(int,BufferCapabilities)): Likewise. 24759 * java/awt/Component.java (BltBufferStrategy): Implement and 24760 document class. 24761 (FlipBufferStrategy): Likewise. 24762 * java/awt/Window.java (WindowBltBufferStrategy): New class. 24763 (WindowFlipBufferStrategy): Likewise. 24764 (createBufferStrategy(int)): New method. 24765 (createBufferStrategy(int,BufferCapabilities)): Likewise. 24766 (getBufferStrategy): Likewise. 24767 * java/awt/BufferCapabilities.java (BufferCapabilities): Rename 24768 front to frontCaps and back to backCaps. 24769 247702005-05-18 Roman Kennke <roman@kennke.org> 24771 24772 * javax/swing/JTable.java: 24773 (BooleanCellRenderer): Added default renderer for Boolean cell values. 24774 (DateCellRenderer): Added default renderer for Date cell values. 24775 (DoubleCellRenderer): Added default renderer for Double cell values. 24776 (FloatCellRenderer): Added default renderer for Float cell values. 24777 (NumberCellRenderer): Added default renderer for Number cell values. 24778 (IconCellRenderer): Added default renderer for Icon cell values. 24779 (createDefaultRenderers): Include new default renderers. 24780 (distributeSpill): Fix algorithm to do a nice layout, if still not 24781 beeing 100% perfect. 24782 (doLayout): Correctly calculate the spill variable. 24783 247842005-05-18 Roman Kennke <roman@kennke.org> 24785 24786 * java/awt/Window.java 24787 (isShowing): A Window can be showing even if its parent is not 24788 showing. 24789 247902005-05-18 Roman Kennke <roman@kennke.org> 24791 24792 * java/util/prefs/AbstractPreferences.java 24793 (flushNode): Changed toArray() call to toArray(new String[0]) call 24794 to avoid casting errors. 24795 247962005-05-18 Roman Kennke <roman@kennke.org> 24797 24798 * javax/swing/text/JTextComponent.java 24799 (constructor): Make text components editable by default. 24800 248012005-05-18 Roman Kennke <roman@kennke.org> 24802 24803 * javax/swing/UIManager.java 24804 (toString): Added method. 24805 248062005-05-18 Roman Kennke <roman@kennke.org> 24807 24808 * javax/swing/SwingUtilities.java 24809 (getUIInputMap): Added method. 24810 (getUIActionMap): Added method. 24811 248122005-05-18 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24813 24814 * org/omg/CORBA/DynAny.java, 24815 org/omg/CORBA/DynArray.java, 24816 org/omg/CORBA/DynSequence.java, 24817 org/omg/CORBA/DynEnum.java, 24818 org/omg/CORBA/DynFixed.java, 24819 org/omg/CORBA/DynStruct.java, 24820 org/omg/CORBA/DynUnion.java: New interfaces. 24821 * org/omg/CORBA/NameValuePair.java, 24822 org/omg/CORBA/NameValuePairHelper.java, 24823 gnu/CORBA/DynAn/NameValuePairHolder.java: 24824 New classes. 24825 248262005-05-18 Roman Kennke <roman@kennke.org> 24827 24828 * javax/swing/JComponent.java 24829 (constructor): Make component requestFocusEnabled by default. 24830 (requestFocusInWindow): Added method. 24831 248322005-05-18 Sven de Marothy <sven@physto.se> 24833 24834 * java/text/SimpleDateFormat.java 24835 (computeOffset): Allow timezone to be first in the parsed String. 24836 248372005-05-18 Sven de Marothy <sven@physto.se> 24838 24839 * javax/swing/table/DefaultTableCellRenderer.java 24840 (getTableCellRendererComponent): Allow table parameter to be null. 24841 248422005-05-17 Jan Roehrich <jan@roehrich.info> 24843 24844 * javax/swing/JTree.java 24845 (getExpandedDescendants): Added method. 24846 248472005-05-17 Roman Kennke <roman@kennke.org> 24848 24849 * javax/swing/JTree.java 24850 (TreeModelHandler): Added inner class. 24851 (TreeSelectionRedirector): Added inner class. 24852 (EmptySelectionModel): Added inner class. 24853 (DynamicUtilTreeNode.getChildAt): Added method. 24854 (constructor(model)): Sets up a model and a selection model. 24855 (setModel): Set up the JTree treeModelListener on newly set 24856 models. 24857 (createModelListener): Added method. 24858 (getDefaultTreeModel): Added method. 24859 (convertValueToText): Added method. 24860 (paramString): Added method. 24861 248622005-05-16 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24863 24864 * org/omg/CORBA/CurrentOperations.java, 24865 org/omg/CORBA/Current.java, 24866 org/omg/CORBA/PolicyError.java, 24867 org/omg/CORBA/NO_RESOURCES.java: New files. 24868 248692005-05-16 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24870 24871 * org/omg/CORBA/ValueMember: Inherit from Serializable and IDLEntity. 24872 * org/omg/CORBA/IDLType: Inherit from org.omg.CORBA.Object. 24873 248742005-05-16 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24875 24876 * org/omg/CORBA/PRIVATE_MEMBER.java, 24877 org/omg/CORBA/PUBLIC_MEMBER.java 24878 (value): Changing the type from int to short. 24879 248802005-05-16 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24881 24882 * org/omg/CORBA/portable/OutputStream.java 24883 (read): Declaring and commenting the IOException. 24884 248852005-05-16 Audrius Meskauskas, <AudriusA@Bioinformatics.org> 24886 24887 * org/omg/CosNaming/BindingIterator.java: Inherit from 24888 Serializable, IDLEntity and org.omg.CORBA.Object. 24889 248902005-05-16 Tom Tromey <tromey@redhat.com> 24891 24892 * java/nio/charset/Charset.java (encode, decode): Synchronize on 24893 'this', not the class. 24894 248952005-05-16 Tom Tromey <tromey@redhat.com> 24896 24897 * gnu/java/net/protocol/http/Headers.java (parse): Include final 24898 character of line. 24899 249002005-05-16 Tom Tromey <tromey@redhat.com> 24901 24902 * java/net/URI.java (unquote): Handle lower-case letters as well. 24903 249042005-05-16 Ziga Mahkovec <ziga.mahkovec@klika.si> 24905 24906 PR libgcj/20504 24907 gnu/regexp/RE.java: Add support for quoting constructs. 24908 249092005-05-15 Tom Tromey <tromey@redhat.com> 24910 24911 * java/lang/String.java (startsWith): Fixed javadoc. 24912 249132005-05-15 Mark Wielaard <mark@klomp.org> 24914 24915 * javax/swing/JComponent.java: Removed invalid char from comment. 24916 249172005-05-15 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org> 24918 24919 * org/omg/CORBA/TestContextList.java, 24920 gnu/CORBA/CDR/testBinaryIO.java: Removing tests from the core. 24921 249222005-05-15 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org> 24923 24924 * gnu/CORBA/Version.java, 24925 gnu/CORBA/IOR.java, 24926 gnu/CORBA/IOR_contructed_object.java, 24927 gnu/CORBA/Restricted_ORB.java, 24928 gnu/CORBA/Functional_ORB.java, 24929 gnu/CORBA/gnuAny.java, 24930 gnu/CORBA/gnuContext.java, 24931 gnu/CORBA/gnuContextList.java, 24932 gnu/CORBA/gnuEnvironment.java, 24933 gnu/CORBA/gnuExceptionList.java, 24934 gnu/CORBA/gnuRequest.java, 24935 gnu/CORBA/gnuNVList.java, 24936 gnu/CORBA/gnuNamedValue.java, 24937 gnu/CORBA/Simple_delegate.java, 24938 gnu/CORBA/BigDecimalHelper.java, 24939 gnu/CORBA/Unexpected.java, 24940 gnu/CORBA/OctetHolder.java, 24941 gnu/CORBA/TypeCodeHelper.java, 24942 gnu/CORBA/corbaArrayList.java, 24943 gnu/CORBA/WCharHolder.java, 24944 gnu/CORBA/WStringHolder.java, 24945 gnu/CORBA/IOR_Delegate.java, 24946 gnu/CORBA/fixedTypeCode.java, 24947 gnu/CORBA/generalTypeCode.java, 24948 gnu/CORBA/holderFactory.java, 24949 gnu/CORBA/recordTypeCode.java, 24950 gnu/CORBA/recursiveTypeCode.java, 24951 gnu/CORBA/stringTypeCode.java, 24952 gnu/CORBA/Connected_objects.java, 24953 gnu/CORBA/ByteArrayComparator.java, 24954 gnu/CORBA/binaryReply.java, 24955 gnu/CORBA/typeNamer.java, 24956 gnu/CORBA/streamRequest.java, 24957 gnu/CORBA/stubFinder.java, 24958 gnu/CORBA/bufferedResponseHandler.java, 24959 gnu/CORBA/ExceptionCreator.java, 24960 gnu/CORBA/ObjectCreator.java, 24961 gnu/CORBA/aliasTypeCode.java: New files. 24962 * org/omg/CORBA/TestContextList.java, 24963 gnu/CORBA/CDR/testBinaryIO.java: New tests. 24964 * gnu/CORBA/NamingService/snConverter.java, 24965 gnu/CORBA/NamingService/Ext.java, 24966 gnu/CORBA/NamingService/cmpNameComponent.java, 24967 gnu/CORBA/NamingService/TransientContext.java, 24968 gnu/CORBA/NamingService/NamingMap.java, 24969 gnu/CORBA/NamingService/Binding_iterator_impl.java, 24970 gnu/CORBA/NamingService/NamingServiceTransient.java, 24971 gnu/CORBA/NamingService/NameValidator.java: New files. 24972 * gnu/CORBA/CDR/aligningInputStream.java, 24973 gnu/CORBA/CDR/aligningOutputStream.java, 24974 gnu/CORBA/CDR/cdrOutput.java, 24975 gnu/CORBA/CDR/cdrInput.java, 24976 gnu/CORBA/CDR/cdrBufOutput.java, 24977 gnu/CORBA/CDR/encapsulatedOutput.java, 24978 gnu/CORBA/CDR/cdrBufInput.java, 24979 gnu/CORBA/CDR/testBinaryIO.java: New files. 24980 * org/omg/CORBA/StringHolder.java, 24981 * org/omg/CORBA/StringSeqHelper.java, 24982 * org/omg/CORBA/StringSeqHolder.java: Read and write string, 24983 not wstring and use stringTypeCode. 24984 * org/omg/CORBA/Any.java: Adding serialVersionUID. 24985 * org/omg/CORBA/FixedHolder: Use fixedTypeCode. 24986 * org/omg/CORBA/UNKNOWN.java: Making constructors public. 24987 * org/omg/CORBA/UserException.java: Inherit 24988 from org.omg.CORBA.portable.IDLEntity. 24989 * org/omg/CORBA/ORB.java, 24990 org/omg/CORBA/Object.java: Replacing empty class 24991 declarations with implementation. 24992 * gnu/CORBA/primitiveTypeCode.java: Exception fixes. 24993 * gnu/CORBA/primitiveArrayTypeCode.java: Adding extra 24994 parameter in constructor. 24995 * gnu/CORBA/GIOP/CancelHeader.java, 24996 gnu/CORBA/GIOP/ErrorMessage.java, 24997 gnu/CORBA/GIOP/MessageHeader.java, 24998 gnu/CORBA/GIOP/ReplyHeader.java, 24999 gnu/CORBA/GIOP/RequestHeader.java, 25000 gnu/CORBA/GIOP/ServiceContext.java, 25001 gnu/CORBA/GIOP/cxCodeSet.java, 25002 gnu/CORBA/GIOP/CharSets_OSF.java, 25003 gnu/CORBA/GIOP/v1_0/CancelHeader.java, 25004 gnu/CORBA/GIOP/v1_0/RequestHeader.java, 25005 gnu/CORBA/GIOP/v1_0/ReplyHeader.java, 25006 gnu/CORBA/GIOP/v1_2/RequestHeader.java, 25007 gnu/CORBA/GIOP/v1_2/ReplyHeader.java: New files. 25008 org/omg/CosNaming/_NamingContextStub.java, 25009 org/omg/CosNaming/_NamingContextImplBase.java, 25010 org/omg/CosNaming/BindingHelper.java, 25011 org/omg/CosNaming/BindingListHelper.java, 25012 org/omg/CosNaming/NameComponentHelper.java, 25013 org/omg/CosNaming/NameHelper.java, 25014 org/omg/CosNaming/BindingTypeHelper.java, 25015 org/omg/CosNaming/NamingContextHelper.java, 25016 org/omg/CosNaming/BindingIteratorHelper.java, 25017 org/omg/CosNaming/_NamingContextExtStub.java, 25018 org/omg/CosNaming/NamingContextExt.java, 25019 org/omg/CosNaming/NamingContextExtHelper.java, 25020 org/omg/CosNaming/NamingContextExtHolder.java, 25021 org/omg/CosNaming/NamingContextExtOperations.java, 25022 org/omg/CosNaming/_NamingContextExtImplBase.java, 25023 org/omg/CosNaming/NamingContextOperations.java, 25024 org/omg/CosNaming/NamingContext.java, 25025 org/omg/CosNaming/NameComponent.java, 25026 org/omg/CosNaming/BindingIterator.java, 25027 org/omg/CosNaming/_BindingIteratorStub.java, 25028 org/omg/CosNaming/Binding.java, 25029 org/omg/CosNaming/BindingType.java, 25030 org/omg/CosNaming/BindingIteratorHolder.java, 25031 org/omg/CosNaming/BindingListHolder.java, 25032 org/omg/CosNaming/BindingHolder.java, 25033 org/omg/CosNaming/BindingTypeHolder.java, 25034 org/omg/CosNaming/NameComponentHolder.java, 25035 org/omg/CosNaming/NameHolder.java, 25036 org/omg/CosNaming/NamingContextHolder.java, 25037 org/omg/CosNaming/_BindingIteratorImplBase.java, 25038 org/omg/CosNaming/package.html, 25039 org/omg/CosNaming/NamingContextExtPackage/InvalidAddress.java, 25040 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java, 25041 org/omg/CosNaming/NamingContextExtPackage/package.html, 25042 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java, 25043 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java, 25044 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java, 25045 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java, 25046 org/omg/CosNaming/NamingContextPackage/NotEmpty.java, 25047 org/omg/CosNaming/NamingContextPackage/NotFound.java, 25048 org/omg/CosNaming/NamingContextPackage/NotFoundReason.java, 25049 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java, 25050 org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java, 25051 org/omg/CosNaming/NamingContextPackage/NotEmptyHolder.java, 25052 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHolder.java, 25053 org/omg/CosNaming/NamingContextPackage/CannotProceedHolder.java, 25054 org/omg/CosNaming/NamingContextPackage/InvalidNameHolder.java, 25055 org/omg/CosNaming/NamingContextPackage/CannotProceed.java, 25056 org/omg/CosNaming/NamingContextPackage/InvalidName.java, 25057 org/omg/CosNaming/NamingContextPackage/AlreadyBound.java, 25058 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java, 25059 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java, 25060 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java, 25061 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java, 25062 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java, 25063 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java, 25064 org/omg/CosNaming/NamingContextPackage/package.html: New files. 25065 * examples/gnu/classpath/examples/CORBA/NamingService/Demo.java, 25066 examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java, 25067 examples/gnu/classpath/examples/CORBA/SimpleCommunication/comServer.java, 25068 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThisHelper.java, 25069 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThisHolder.java, 25070 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThis.java, 25071 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThis.java, 25072 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThisHelper.java, 25073 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThisHolder.java, 25074 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DirectTest.java, 25075 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/RequestTest.java, 25076 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/comServant.java, 25077 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/ourUserException.java, 25078 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/node.java, 25079 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/nodeHelper.java, 25080 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/nodeHolder.java, 25081 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_comTesterStub.java, 25082 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/ourUserExceptionHelper.java, 25083 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_comTesterImplBase.java, 25084 examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/comTester.java: 25085 New IIOP (CORBA) examples. 25086 250872005-05-14 Chris Burdess <dog@gnu.org> 25088 25089 * gnu/xml/dom/DomDocumentBuilder.java, 25090 gnu/xml/dom/transform/XSLUriResolver.java: Handle unqualified 25091 relative URLs. 25092 * gnu/xml/dom/ls/SAXEventSink.java: Ignore XML entities in start/ 25093 end entity callbacks. 25094 250952005-05-13 Roman Kennke <roman@kennke.org> 25096 25097 * javax/swing/JDialog.java 25098 (setDefaultCloseOperation): Don't throw an IllegalArgumentException 25099 but instead accept illegal values as DO_NOTHING_ON_CLOSE. 25100 251012005-05-13 Roman Kennke <roman@kennke.org> 25102 25103 * javax/swing/plaf/basic/BasicOptionPaneUI.java 25104 (createMessageArea): Enabled input components to be used 25105 in OptionPanes. 25106 251072005-05-13 Roman Kennke <roman@kennke.org> 25108 25109 * javax/swing/plaf/basic/BasicProgressBarUI.java 25110 (getPreferredSize): Changed implementation so that getGraphics() 25111 is not used (this triggers a NPE). 25112 251132005-05-13 Roman Kennke <roman@kennke.org> 25114 25115 * javax/swing/ScrollPaneLayout.java 25116 (getViewportBorderBounds): Documented methods. 25117 251182005-05-13 Roman Kennke <roman@kennke.org> 25119 25120 * javax/swing/RepaintManager.java: 25121 (getVolatileOffscreenBuffer): Added methods. 25122 251232005-05-13 Roman Kennke <roman@kennke.org> 25124 25125 * javax/swing/DefaultButtonModel.java: 25126 Removed superfluous semicolon. 25127 251282005-05-13 Roman Kennke <roman@kennke.org> 25129 25130 * javax/swing/AbstractButton.java 25131 (ButtonChangeListener): Added this inner class. 25132 251332005-05-13 Roman Kennke <roman@kennke.org> 25134 25135 * javax/swing/JComponent.java 25136 (requestFocus): Added method. 25137 (requestFocus(boolean)): Added method. 25138 (requestFocusInWindow): Added method. 25139 (addNotify): Added method. 25140 (removeNotify): Added method. 25141 (contains): Added method. 25142 (disable): Added method. 25143 (enable): Added method. 25144 (getGraphics): Added method. 25145 (getX): Added method. 25146 (getY): Added method. 25147 (getHeight): Added method. 25148 (getWidth): Added method. 25149 (getPropertyChangeListener): Added method. 25150 (print): Added method. 25151 (printAll): Added method. 25152 (printComponent): Added method. 25153 (printChildren): Added method. 25154 (printBorder): Added method. 25155 (processMouseMotionEvent): Added method. 25156 (reshape): Added method. 25157 251582005-05-12 Roman Kennke <roman@kennke.org> 25159 25160 * examples/gnu/classpath/examples/swing/Demo.java: 25161 Added a JTable example. 25162 251632005-05-12 Roman Kennke <roman@kennke.org> 25164 25165 * examples/gnu/classpath/examples/swing/Demo.java: 25166 Added Examples menu to menu bar. 25167 Slightly changed the layout of the main panel so that an overlenghty 25168 button panel at the bottom is displayed in a useful way. 25169 251702005-05-12 Roman Kennke <roman@kennke.org> 25171 25172 * examples/gnu/classpath/examples/swing/Demo.java: 25173 Added examples for JEditorPane and JTree. 25174 251752005-05-11 Roman Kennke <roman@kennke.org> 25176 25177 * javax/swing/plaf/basic/DefaultMenuLayout.java: 25178 Added this class. 25179 * javax/swing/plaf/basic/BasicPopupMenuUI.java 25180 (installUI): Use the new DefaultMenuLayout instead of GridBagLayout. 25181 251822005-05-11 Roman Kennke <roman@kennke.org> 25183 25184 * javax/swing/AbstractCellEditor.java 25185 (constructor): Implemented. 25186 (isCellEditable): Implemented. 25187 (shouldSelectCell): Implemented. 25188 (stopCellEditing): Implemented. 25189 (cancelCellEditing): Implemented. 25190 251912005-05-11 Roman Kennke <roman@kennke.org> 25192 25193 * javax/swing/AbstractCellEditor.java: 25194 Documented this class. 25195 251962005-05-11 Roman Kennke <roman@kennke.org> 25197 25198 * javax/swing/AbstractCellEditor.java: 25199 Reformatted this file to our coding style. 25200 252012005-05-11 Roman Kennke <roman@kennke.org> 25202 25203 * javax/swing/plaf/basic/BasicOptionPaneUI.java 25204 (createSeparator): Implemented. Returns a vertical separator with 25205 a height of 17 pixels as recommended in the book Java Look & Feel 25206 Design Guidelines. 25207 (installComponents): Added an empty border around the dialog. 25208 252092005-05-11 Roman Kennke <roman@kennke.org> 25210 25211 * javax/swing/text/View.java 25212 (insertUpdate) Removed a debug println statement. 25213 252142005-05-11 Roman Kennke <roman@kennke.org> 25215 25216 * javax/swing/plaf/basic/BasicTextUI.java 25217 (RootView.insertUpdate): Added. Forwards the update to the real 25218 root view. 25219 (RootView.removeUpdate): Added. Forwards the update to the real 25220 root view. 25221 (RootView.changedUpdate): Added. Forwards the update to the real 25222 root view. 25223 (DocumentHandler): Added. Receives DocumentEvents and forwards 25224 them to the corresponding View methods. 25225 (installDocumentListeners): Installs Document listeners on the 25226 text component's document model. 25227 * javax/swing/plaf/text/FieldView.java 25228 (adjustAllocation): Added. Adjusts the view area so that the 25229 input line is centered vertically and correctly aligned horizontally. 25230 (modelToView): Call adjustAllocation before call to 25231 super.modelToView(..). 25232 (paint): Call adjustAllocation before call to super.paint(..). 25233 (insertUpdate): Added. Calls adjustAllocation before call to 25234 super.insertUpdate(..). 25235 (removeUpdate): Added. Calls adjustAllocation before call to 25236 super.removeUpdate(..). 25237 (changedUpdate): Added. Calls adjustAllocation before call to 25238 super.changedUpdate(..). 25239 * javax/swing/text/JTextComponent.java: 25240 Removed RepaintListener. This is no longer needed and should 25241 instead be handled by the text component's View. 25242 * javax/swing/plaf/text/View.java 25243 (paint): If parent is null, we still need to make sure the 25244 text component is updated through calling revalidate(). 25245 (insertUpdate): Added. Receive notification about changes in the 25246 text document model. 25247 (removeUpdate): Added. Receive notification about changes in the 25248 text document model. 25249 (changedUpdate): Added. Receive notification about changes in the 25250 text document model. 25251 (updateChildren): Added. Updates the list of child Views after 25252 text has been modified. 25253 (forwardUpdate): Added. Forwards the update notification to the 25254 child Views. 25255 (forwardUpdateToView): Added. Actually performs the forwarding of 25256 update events. 25257 (updateLayout): Added. Makes sure that the display is in sync with 25258 the model. 25259 252602005-05-11 Roman Kennke <roman@kennke.org> 25261 25262 * javax/swing/JTextField.java 25263 (createDefaultModel): Create and return a subclass of PlainDocument 25264 to allow newlines to be swallowed. 25265 252662005-05-11 Mark Wielaard <mark@klomp.org> 25267 25268 * doc/www.gnu.org/faq/faq.wml: Update looking at proprietary source 25269 code entry. 25270 252712005-05-10 David Daney <ddaney@avtrex.com> 25272 25273 * java/util/BitSet.java (get(int, int)): Fix breakage when 25274 requested set doesn't start on a multiple of 64. 25275 252762005-05-10 Tom Tromey <tromey@redhat.com> 25277 25278 * configure.ac (CLASSPATH_INCLUDES): Remove quotes in checking 25279 messages. 25280 252812005-05-10 Jeroen Frijters <jeroen@frijters.net> 25282 25283 * java/lang/ClassLoader.java 25284 (defaultGetSystemClassLoader): Refactored in three new methods. 25285 (createExtClassLoader, createSystemClassLoader, 25286 createAuxiliarySystemClassLoader): New methods. 25287 252882005-05-06 Robert Schuster <thebohemian@gmx.net> 25289 25290 * java/awt/Frame.java: 25291 (setUndecorated): Toggled boolean expression. 25292 252932005-05-06 Mark Wielaard <mark@klomp.org> 25294 25295 Reported by Kalle Olavi Niemitalo <kon@iki.fi>. 25296 Workaround for gcj bug #21418 25297 * lib/gen-classlist.sh.in: Set LC_ALL and LANG to C. Sort result of 25298 find. 25299 253002005-05-06 Roman Kennke <roman@kennke.org> 25301 25302 * javax/swing/text/PlainView.java 25303 (getPreferredSpan): Corrected the calculation of the span of 25304 the view. 25305 253062005-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org> 25307 25308 * java/lang/Class.java: 25309 (getSimpleName()): Implemented. 25310 * vm/reference/java/lang/VMClass.java: 25311 (getSimpleName()): Reference implementation. 25312 253132005-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org> 25314 25315 * include/java_lang_VMProcess.h: 25316 Regenerated. 25317 * native/jni/java-lang/java_lang_VMProcess.c: 25318 Added missing #include statement. 25319 253202005-05-05 Chris Burdess <dog@gnu.org> 25321 25322 * gnu/xml/transform/StreamSerializer.java: Produce compact, 25323 human-readable XML for non-UTF/ASCII encodings using NIO. 25324 253252005-05-04 Tom Tromey <tromey@redhat.com> 25326 25327 * native/jni/java-lang/java_lang_VMProcess.c 25328 (Java_java_lang_VMProcess_nativeSpawn): Added 'redirect' 25329 argument. Use defines instead of contents. 25330 * vm/reference/java/lang/VMProcess.java (redirect): New field. 25331 (spawn): Updated. 25332 (setProcessInfo): Updated. 25333 (VMProcess): Added 'redirect' argument. 25334 (nativeSpawn): Likewise. 25335 (exec): New overload. 25336 * java/lang/ProcessBuilder.java: New file. 25337 253382005-05-04 Mark Wielaard <mark@klomp.org> 25339 25340 * java/awt/BufferCapabilities.java (BufferCapabilities): Make 25341 documentation of arguments match code. 25342 253432005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> 25344 25345 * java/awt/image/BufferStrategy.java: Document. 25346 25347 * java/awt/BufferCapabilities.java: Document. 25348 253492005-05-04 Tom Tromey <tromey@redhat.com> 25350 25351 * java/nio/channels/FileLock.java (toString): Entirely avoid 25352 String "+". 25353 253542005-05-04 Andrew Overholt <overholt@redhat.com> 25355 25356 * java/nio/channels/FileLock.java (toString): Re-implement using 25357 StringBuffer. 25358 253592005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com> 25360 25361 * java/awt/ImageCapabilities.java: Document. 25362 25363 * java/awt/image/VolatileImage.java: Unindent copyright header. 25364 253652005-05-04 Roman Kennke <roman@kennke.org> 25366 25367 * javax/swing/text/PlainView.java 25368 (drawUnselectedText): Call Utilities.drawTabbedText() with correct 25369 offset parameter. 25370 * javax/swing/text/Utilities.java 25371 (drawTabbedText): Initilialize local variable pos correctly. 25372 253732005-05-04 Roman Kennke <roman@kennke.org> 25374 25375 * javax/swing/text/AbstractDocument.java 25376 (LeafElement): Made start and end package private fields for 25377 effective reindexing. 25378 * javax/swing/text/PlainDocument.java 25379 (constructor): The field rootElement is always BranchElement, 25380 so we handle it as such. 25381 (removeUpdate): Rewritten reindexing for removeUpdate so that 25382 the actual removal is taken into account. 25383 253842005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> 25385 25386 * java/awt/image/VolatileImage.java: Document. 25387 253882005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> 25389 25390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 25391 (init_glib_threads): Check if threading system is already 25392 initialized. 25393 253942005-05-03 Andrew Overholt <overholt@redhat.com> 25395 25396 * gnu/java/nio/channels/FileChannelImpl.java: Return null if lock 25397 could not be acquired. 25398 * java/nio/channels/FileLock.java (toString): Re-implement to be 25399 in line with other implementations. 25400 254012005-05-03 Roman Kennke <roman@kennke.org> 25402 25403 * javax/swing/text/GapContent.java: 25404 Removed debugging output stuff, which I accidentally left in. 25405 254062005-05-03 Roman Kennke <roman@kennke.org> 25407 25408 * javax/swing/text/GapContent.java: 25409 Implemented a real GapContent. Only the public methods have 25410 been implemented so far and still no UndoableEdit support. 25411 254122005-05-02 David Gilbert <david.gilbert@object-refinery.com> 25413 25414 * java/text/DecimalFormat.java 25415 (hashCode): Reimplemented and added API docs. 25416 254172005-05-02 Michael Koch <konqueror@gmx.de> 25418 25419 * lib/Makefile.am: Delete CVS directories and .cvsignore files 25420 for resources we copy into the release tarball. 25421 254222005-05-01 Tom Tromey <tromey@redhat.com> 25423 25424 * .classpath: Updated. 25425 * .project: Added new builders. 25426 * .externalToolBuilders/Autogen.launch: New file. 25427 * .externalToolBuilders/Configure.launch: New file. 25428 * .settings/org.eclipse.jdt.core.prefs: New file. 25429 * .settings/org.eclipse.jdt.ui.prefs: New file. 25430 254312005-05-01 Andreas Tobler <toa@pop.agri.ch> 25432 25433 * autogen.sh: Use glibtoolize on Darwin. 25434 254352005-05-01 Mark Wielaard <mark@klomp.org> 25436 25437 * configure.ac: Set version to 0.15+cvs. 25438 25439 * doc/www.gnu.org/announce/20050429.wml: New file. 25440 * doc/www.gnu.org/newsitems.txt: Add announcement. 25441 * doc/www.gnu.org/downloads/downloads.wml: Add 0.15 download. 25442 254432005-05-01 Mark Wielaard <mark@klomp.org> 25444 25445 * NEWS: Add 0.15 release date and new features. 25446 * configure.ac: Set version to 0.15. 25447 25448 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: 25449 (window_delete_cb): Don't use C++ style comments. 25450 25451 * doc/api/Makefile.am (clean): Renamed. 25452 (clean-local): Renamed from clean. 25453 254542005-04-30 Mark Wielaard <mark@klomp.org> 25455 25456 * java/io/ObjectInputStream.java 25457 (currentLoader): Don't create SecurityManager, directly call 25458 VMObjectInputStream.currentClassLoader(). 25459 (resolveProxyClass): Use currentLoader(). 25460 * vm/reference/java/io/VMObjectInputStream.java 25461 (currentClassLoader(SecurityManager)): Removed. 25462 (currentClassLoader): New method. 25463 * native/jni/java-io/java_io_VMObjectInputStream.c 25464 (Java_java_io_VMObjectInputStream_currentClassLoader): Removed. 25465 * include/java_io_VMObjectInputStream.h: Regenerated. 25466 25467 * NEWS: Document new interface and reference implementation. 25468 254692005-04-30 Mark Wielaard <mark@klomp.org> 25470 25471 * gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Only prepare 25472 GtkImages. 25473 254742005-04-30 Robert Schuster <thebohemian@gmx.net> 25475 25476 * doc/hacking.texinfo: Added section about dealing with 25477 unrealistic code paths. 25478 254792005-04-30 Robert Schuster <thebohemian@gmx.net> 25480 25481 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Fixed 25482 copyright header. 25483 254842005-04-30 Robert Schuster <thebohemian@gmx.net> 25485 25486 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: 25487 (window_delete_cb): Made the function return TRUE. 25488 254892005-04-30 Robert Schuster <thebohemian@gmx.net> 25490 25491 * NEWS: Documented aadition of 25492 "gnu.classpath.boot.library.path". 25493 254942005-04-29 Dalibor Topic <robilad@kaffe.org> 25495 25496 * java/nio/channels/FileChannelImpl.java 25497 (FileChannelImpl(Sting, int)): Removed. 25498 (FileChannelImpl(File, int)) Added. Check if opened file is a 25499 directory. 25500 25501 * java/io/FileInputStream.java(FileInputStream): Fixed javadocs. 25502 Call FileChannelImpl(File, int). 25503 25504 * java/io/FileOutputStream.java (FileInputStream): Call 25505 FileChannelImpl(File, int). 25506 25507 * java/io/RandomAccessFile.java (RandomAccessFile): 25508 Call FileChannelImpl(File, int). Switched constructors around. 25509 255102005-04-29 Audrius Meskauskas <AudriusA@bluewin.ch> 25511 25512 * org/omg/CORBA/WStringSeqHelper.java, 25513 org/omg/CORBA/AnySeqHelper.java, 25514 org/omg/CORBA/BooleanSeqHelper.java, 25515 org/omg/CORBA/CharSeqHelper.java, 25516 org/omg/CORBA/DoubleSeqHelper.java, 25517 org/omg/CORBA/FloatSeqHelper.java, 25518 org/omg/CORBA/LongLongSeqHelper.java, 25519 org/omg/CORBA/LongSeqHelper.java, 25520 org/omg/CORBA/OctetSeqHelper.java, 25521 org/omg/CORBA/ShortSeqHelper.java, 25522 org/omg/CORBA/StringSeqHelper.java, 25523 org/omg/CORBA/ULongLongSeqHelper.java, 25524 org/omg/CORBA/ULongSeqHelper.java, 25525 org/omg/CORBA/UShortSeqHelper.java, 25526 org/omg/CORBA/WCharSeqHelper.java: 25527 Removing redundant object instantiation. 25528 255292005-04-29 Sven de Marothy <sven@physto.se> 25530 Mark Wielaard <mark@klomp.org> 25531 25532 * java/nio/charset/Charset.java (defaultCharset): Use 25533 SystemProperties. 25534 (provider): Check gnu.classpath.nio.charset.provider.iconv system 25535 property and return the IconvProvider when set. 25536 25537 * NEWS: Document new character encoder framework. 25538 255392005-04-29 Michael Koch <konqueror@gmx.de> 25540 25541 * java/nio/charset/Charset.java 25542 (defaultCharset): Reformatted. 25543 255442005-04-29 Michael Koch <konqueror@gmx.de> 25545 25546 * gnu/java/net/protocol/http/HTTPConnection.java: 25547 (userAgent): Initialize from system properties. 25548 (initUserAgent): Removed. 25549 255502005-04-29 Michael Koch <konqueror@gmx.de> 25551 25552 * java/lang/ClassLoader.java: 25553 Fixed formatting. 25554 255552005-04-29 Michael Koch <konqueror@gmx.de> 25556 25557 * java/net/InetAddress.java 25558 (aton): Fixed javadoc. 25559 255602005-04-28 Robert Schuster <thebohemian@gmx.net> 25561 25562 * NEWS: Documented the Java Beans API fixes. 25563 255642005-04-28 Robert Schuster <thebohemian@gmx.net> 25565 25566 * java/beans/FeatureDescriptor.java: 25567 (getShortDescription): Implemented fallback mechanism and fixed 25568 documentation (fixes bug #12637). 25569 (getDisplayName): Dito. 25570 255712005-04-28 Robert Schuster <thebohemian@gmx.net> 25572 25573 * java/beans/Introspector: Fixed bug #12624, BeanDescriptors 25574 will now be set correctly. 25575 (flushCaches): Now flushes all cached intermediate data. 25576 255772005-04-28 Michael Koch <konqueror@gmx.de> 25578 25579 * javax/swing/JTextArea.java 25580 (replaceRange): Removed error throwing. 25581 255822005-04-28 Michael Koch <konqueror@gmx.de> 25583 25584 * java/security/AccessControlContext.java: 25585 Reformatted. 25586 255872005-04-28 Andreas Tobler <a.tobler@schweiz.ch> 25588 25589 * java/security/Security.java (Security): Silence the warning about no 25590 providers found in the no debug case. 25591 255922005-04-28 Michael Koch <konqueror@gmx.de> 25593 25594 * java/nio/charset/Charset.java 25595 (providers2): Renamed from 'providers'. 25596 255972005-04-27 Roman Kennke <roman@kennke.org> 25598 25599 * javax/swing/plaf/basic/BasicScrollBarUI 25600 (getThumbBounds): Do not make thumb smaller than 25601 minimumThumbSize. 25602 * javax/swing/plaf/metal/MetalLookAndFeel 25603 (initComponentDefaults): Added color defaults for ScrollBar. 25604 * javax/swing/plaf/metal/MetalScrollBarUI 25605 (paintThumb): Added. 25606 (getMinimumThumbSize): Added. 25607 256082005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com> 25609 25610 * java/net/URL.java: Remove org.metastatic.jessie from default 25611 protocol search path. 25612 256132005-04-27 Roman Kennke <roman@kennke.org> 25614 25615 * javax/swing/plaf/metal/MetalLookAndFeel 25616 (initComponentDefaults): Added some default colors. 25617 256182005-04-27 Roman Kennke <roman@kennke.org> 25619 25620 * javax/swing/plaf/basic/BasicScrollBarUI.java 25621 (configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow' 25622 to 'ScrollBar.thumbShadow'. The formes does not exist. 25623 (paintThumb): Use BasicGraphicsUtils for painting the thumb. 25624 256252005-04-27 Chris Burdess <dog@gnu.org> 25626 25627 * java/net/protocol/http/HTTPURLConnection.java (connect): Accept 25628 absolute and relative paths in Location header. 25629 256302005-04-27 Roman Kennke <roman@kennke.org> 25631 25632 * java/awt/MediaTracker.java: Added 2005 to copyright statement. 25633 * javax/swing/BoxLayout.java: Likewise. 25634 * javax/swing/UIManager.java: Likewise. 25635 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise. 25636 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise. 25637 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. 25638 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise. 25639 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise. 25640 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise. 25641 * javax/swing/text/Document.java: Likewise. 25642 * javax/swing/text/GapContent.java: Likewise. 25643 * javax/swing/text/SimpleAttributeSet.java: Likewise. 25644 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise. 25645 256462005-04-26 Tom Tromey <tromey@redhat.com> 25647 25648 * autogen.sh: Use '-I m4'. 25649 * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files. 25650 * m4/pkg.m4, m4/accross.m4, m4/iconv.m4, m4/acinclude.m4: Moved 25651 from... 25652 * pkg.m4, accross.m4, iconv.m4, acinclude.m4: ... here. Removed. 25653 256542005-04-26 Luca Barbieri <luca.barbieri@gmail.com> 25655 25656 * gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass 25657 'false' to native lock(). 25658 (lock): Pass 'true' to native lock(). 25659 256602005-04-26 Tom Tromey <tromey@redhat.com> 25661 25662 * gnu/java/nio/charset/iconv/IconvCharset.java (name): 25663 Removed unused field. 25664 (IconvCharset): Updated. 25665 256662005-04-26 Chris Burdess <dog@gnu.org> 25667 25668 * gnu/java/net/protocol/http/HTTPURLConnection.java: Throw 25669 FileNotFoundException and implement getErrorStream on 404. 25670 256712005-04-26 Tom Tromey <tromey@redhat.com> 25672 25673 * javax/swing/text/html/parser/ParserDelegator.java (callBack, 25674 gnu): Now package-private. 25675 * javax/swing/text/html/parser/DocumentParser.java (parser, 25676 callBack, gnu): Now package-private. 25677 * javax/swing/text/StringContent.java (content, setOffset, 25678 checkLocation): Now package-private. 25679 * javax/swing/text/JTextComponent.java (doc): Now 25680 package-private. 25681 * javax/swing/plaf/basic/BasicToolBarUI.java (owner, 25682 lastGoodOrientation, origParent, borders, cachedBounds, 25683 cachedOrientation, DragWindow): Now package-private. 25684 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton, 25685 decrButton, viewport, panel, currentScrollLocation, layoutManager, 25686 tabAreaRect, contentRect, createIncreaseButton, 25687 createDecreaseButton, findPointForIndex): Now package-private. 25688 * javax/swing/plaf/basic/BasicSplitPaneDivider.java 25689 (currentDividerLocation, moveDividerTo): Now package-private. 25690 * javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now 25691 package-private. 25692 * javax/swing/plaf/basic/BasicScrollBarUI.java 25693 (calculatePreferredSize, valueForYPosition, valueForXPosition): 25694 Now package-private. 25695 * javax/swing/plaf/basic/BasicPopupMenuUI.java 25696 (topWindowListener): Now package-private. 25697 * javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize, 25698 OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants. 25699 (messageAreaContainer, buttonContainer, resetSelectedValue): Now 25700 package-private. 25701 * javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now 25702 package-private. 25703 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title): 25704 Now package-private. 25705 * javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now 25706 package-private. 25707 * javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize, 25708 borderInsets): Now package-private. 25709 (arrowButtonWidth): Likewise. Now a constant. 25710 * javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane, 25711 makeTabs, updatePreviewPanel): Now package-private. 25712 * javax/swing/plaf/basic/BasicArrowButton.java (shadow, 25713 darkShadow, highlight): Now package-private. 25714 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java 25715 (addColorToQueue): Now package-private. 25716 * javax/swing/colorchooser/DefaultRGBChooserPanel.java 25717 (spinnerChange, sliderChange, updateChange, R, G, B, RSpinner, 25718 GSpinner, BSpinner): Now package-private. 25719 * javax/swing/colorchooser/DefaultHSBChooserPanel.java 25720 (gradientImage, trackImage, slider, hRadio, sRadio, bRadio, 25721 hSpinner, sSpinner, bSpinner, gradientPoint, internalChange, 25722 spinnerTrigger, locked, handlingMouse, updateImage, updateSlider, 25723 updateTrack): Now package-private. 25724 * javax/swing/TransferHandler.java (clipboard): Now 25725 package-private. 25726 * javax/swing/ToolTipManager.java (showTip, hideTip): Now 25727 package-private. 25728 * javax/swing/Timer.java (drainEvents, queueEvent): Now 25729 package-private. 25730 * javax/swing/RepaintManager.java (globalManager): Now 25731 package-private. 25732 * javax/swing/JFormattedTextField.java (editValid): Now 25733 package-private. 25734 * javax/swing/JColorChooser.java (makeModal): Now 25735 package-private. 25736 * java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints, 25737 index, path): Now package-private. 25738 * java/awt/geom/Area.java (solids, holes, cubicCubicIntersect, 25739 lineQuadIntersect, lineCubicIntersect, linesIntersect, 25740 pointEquals): Now package-private. 25741 * java/awt/geom/Arc2D.java (type): Now package-private. 25742 * java/awt/Window.java (windowFocusOwner): Now package-private. 25743 * java/awt/TextComponent.java (editable, selectionStart, 25744 selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now 25745 package-private. 25746 * java/awt/MenuItem.java (actionCommand, enabled, label): Now 25747 package-private. 25748 * java/awt/MenuComponent.java (focusListener): Now 25749 package-private. 25750 * java/awt/Frame.java (state): Now package-private. 25751 * java/awt/Choice.java (pItems): Now package-private. 25752 * java/awt/Checkbox.java (state): Now package-private. 25753 * java/awt/Button.java (actionCommand, label): Now 25754 package-private. 25755 * gnu/javax/swing/text/html/parser/support/Parser.java 25756 (attributes, _handleEndTag_remaining, _handleStartTag): Now 25757 package-private. 25758 * gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now 25759 package-private. 25760 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg, 25761 clip, transform, font, comp): Now package-private. 25762 257632005-04-26 Tom Tromey <tromey@redhat.com> 25764 25765 * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a 25766 static way. 25767 257682005-04-26 Roman Kennke <roman@kennke.org> 25769 25770 * javax/swing/plaf/basic/BasicToggleButtonUI.java: 25771 (getPropertyPrefix): Added. 25772 257732005-04-26 Roman Kennke <roman@kennke.org> 25774 25775 * javax/swing/plaf/basic/BasicButtonUI.java 25776 (getPropertyPrefix): Added. 25777 (installDefaults): Use getPropertyPrefix instead of hard-coded 25778 prefix. 25779 257802005-04-26 Roman Kennke <roman@kennke.org> 25781 25782 * javax/swing/JToggleButton.java 25783 (JToggleButton): Removed horizontalAlignment setting, this 25784 was wrong. Added setting of an actionCommand, ToggleButtons 25785 have "" as default actionCommand. 25786 257872005-04-26 David Daney <ddaney@avtrex.com> 25788 25789 * java/net/InetAddress.java (InetAddress): Make a private copy of 25790 the address. 25791 * java/net/Inet4Address.java (getAddress): Return a copy of the 25792 address. 25793 * java/net/Inet6Address.java (Inet6Address): Use private copy of 25794 the address 25795 (getAddress): Return a copy of the address. 25796 (equals): Rewrote. 25797 257982005-04-26 Michael Koch <konqueror@gmx.de> 25799 25800 * javax/swing/ImageIcon.java: 25801 Merged copyright with GCJ. 25802 258032005-04-25 Tom Tromey <tromey@redhat.com> 25804 25805 * java/awt/AWTKeyStroke.java (vktable): Now package-private. 25806 258072005-04-25 Mark Wielaard <mark@klomp.org> 25808 25809 * iconv.m4: New file. 25810 * configure.ac: Use AM_ICONV. 25811 * native/jni/java-nio/Makefile.am (libjavanio_la_LIBADD): 25812 Add LTLIBICONV. 25813 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c: 25814 Include config.h and jcl.h, use if defined(HAVE_ICONV), add new 25815 static variables infid and outfid, add char_union. 25816 (Java_gnu_java_nio_charset_iconv_IconvDecoder_openIconv): 25817 Guard with if defined(HAVE_ICONV), use JCL_jstring_to_cstring, 25818 JCL_free_cstring and JCL_ThrowException, cache inremaining and 25819 outremaining fieldIDs. 25820 (Java_gnu_java_nio_charset_iconv_IconvDecoder_decode): 25821 Guard with if defined(HAVE_ICONV), use ICONV_CONST for iconv 25822 argument, used cached fieldIDs, use char_union. 25823 (Java_gnu_java_nio_charset_iconv_IconvDecoder_closeIconv): 25824 Guard with if defined(HAVE_ICONV). 25825 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c: 25826 Include config.h and jcl.h, use if defined(HAVE_ICONV), add new 25827 static variables infid and outfid, add char_union. 25828 (Java_gnu_java_nio_charset_iconv_IconvEncoder_openIconv): 25829 Guard with if defined(HAVE_ICONV), use JCL_jstring_to_cstring, 25830 JCL_free_cstring and JCL_ThrowException, cache inremaining and 25831 outremaining fieldIDs. 25832 (Java_gnu_java_nio_charset_iconv_IconvEncoder_encode): 25833 Guard with if defined(HAVE_ICONV), use ICONV_CONST for iconv 25834 argument, used cached fieldIDs, use char_union. 25835 (Java_gnu_java_nio_charset_iconv_IconvEncoder_closeIconv): 25836 Guard with if defined(HAVE_ICONV). 25837 * gnu/java/nio/charset/iconv/IconvDecoder.java (dispose): Renamed. 25838 (finalize): Renamed from dispose. 25839 * gnu/java/nio/charset/iconv/IconvEncoder.java (dispose): Renamed. 25840 (finalize): Renamed from dispose. 25841 258422005-04-25 Sven de Marothy <sven@physto.se> 25843 25844 * java/io/InputStreamReader.java: 25845 (InputStreamReader): Always replace invalid chars. 25846 (read): Return -1 if zero bytes are read. 25847 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, 25848 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c: 25849 Correct C pointer arithmetic. 25850 258512005-04-25 David Gilbert <david.gilbert@object-refinery.com> 25852 25853 * java/awt/Transparency.java 25854 (getTransparency): fixed API docs. 25855 258562005-04-25 Roman Kennke <roman@kennke.org> 25857 25858 * javax/swing/plaf/basic/BasicScrollBarUI.java 25859 (initDefaults): Initialize thumb*Color fields correctly. 25860 258612005-04-25 Roman Kennke <roman@kennke.org> 25862 25863 * javax/swing/text/GapContent.java: 25864 Added API comments. 25865 258662005-04-25 Roman Kennke <roman@kennke.org> 25867 25868 * javax/swing/plaf/metal/MetalBorders.java: 25869 Added inner class ScrollPaneBorder. 25870 * javax/swing/plaf/metal/MetalLookAndFeel.java 25871 (initComponentDefaults): Added default for "ScrollPane.border" 25872 to use the new ScrollPaneBorder. 25873 258742005-04-25 Roman Kennke <roman@kennke.org> 25875 25876 * javax/swing/text/AbstractDocument.java: 25877 Added FIXME comments. This class still has to be 25878 implemented thread-safe. 25879 258802005-04-25 Roman Kennke <roman@kennke.org> 25881 25882 * javax/swing/tree/DefaultTreeSelectionModel.java 25883 (DefaultTreeSelectionModel): Initialize listenerList here. 25884 258852005-04-25 Roman Kennke <roman@kennke.org> 25886 25887 * javax/swing/plaf/metal/MetalTextFieldUI.java 25888 (createUI): Return one instance per Component instead of a 25889 shared instance. 25890 258912005-04-24 Tom Tromey <tromey@redhat.com> 25892 25893 * native/jni/Makefile.am (JNIDIRS): New macro. 25894 (SUBDIRS): Use it. 25895 * configure.ac (--enable-core-jni): New option. 25896 * NEWS: Document new option. 25897 258982005-04-24 Tom Tromey <tromey@redhat.com> 25899 25900 * include/jni_md-x86-linux-gnu.h (JNIIMPORT): New define. 25901 (jsize): New typedef. 25902 * include/jni.h: Re-merged with libgcj. 25903 * doc/vmintegration.texinfo (JNI Implementation): New node. 25904 * NEWS: Document the change. 25905 259062005-04-24 Tom Tromey <tromey@redhat.com> 25907 25908 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit): 25909 Now set by configure. 25910 * configure.ac (--enable-default-toolkit): New option. 25911 * NEWS: Document new option. 25912 259132005-04-24 Tom Tromey <tromey@redhat.com> 25914 25915 * configure.ac: Formatting fixes. 25916 259172005-03-22 Mike Stump <mrs@apple.com> 25918 25919 * native/fdlibm/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN. 25920 259212005-04-23 Tom Tromey <tromey@redhat.com> 25922 25923 * javax/swing/text/StyleConstants.java (StyleConstants): Now 25924 package-private. 25925 259262005-04-23 Mark Wielaard <mark@klomp.org> 25927 25928 * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec 25929 to MalformedURLException. 25930 259312005-04-23 Michael Koch <konqueror@gmx.de> 25932 25933 * java/net/ServerSocket.java 25934 (getChannel): Improved javadoc comment. 25935 259362005-04-23 Roman Kennke <roman@kennke.org> 25937 25938 * javax/swing/text/Document.java: 25939 Added API documentation comments. 25940 259412005-04-23 Roman Kennke <roman@kennke.org> 25942 25943 * javax/swing/text/AbstractDocument.java 25944 (getDocumentProperties): Implemented. 25945 (setDocumentProperties): Implemented. 25946 (getProperty): Implemented. 25947 (putProperty): Implemented. 25948 259492005-04-22 Tom Tromey <tromey@redhat.com> 25950 25951 * accross.m4: New file, from gcc. 25952 * configure.ac: Only call AC_C_BIGENDIAN once. Use a single 25953 AC_CHECK_HEADERS call for most headers. Likewise for 25954 AC_CHECK_FUNCS. Use AC_COMPILE_CHECK_SIZEOF. Don't look for 25955 function named 'sizeof'. 25956 259572005-04-22 Thomas Fitzsimmons <fitzsim@redhat.com> 25958 25959 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 25960 (connectSignals): Realize the window widget after connecting 25961 signals. 25962 259632005-04-22 Roman Kennke <roman@kennke.org> 25964 25965 * javax/swing/BoxLayout 25966 (preferredLayoutSize): Fixed computation so that it correctly 25967 adds the top and bottom insets of the container. 25968 259692005-04-22 Roman Kennke <roman@kennke.org> 25970 25971 * javax/swing/plaf/basic/BasicMenuItemUI.java 25972 (paintText): Make use of the 'selectionForeground' UI default 25973 for text painting. 25974 259752005-04-22 Roman Kennke <roman@kennke.org> 25976 25977 * javax/swing/plaf/basic/BasicLookAndFeel.java 25978 (initSystemColorDefaults): Modified colors to match the 25979 BasicLookAndFeel in the reference implementation. 25980 (initComponentDefaults): Likewise. 25981 259822005-04-22 Tom Tromey <tromey@redhat.com> 25983 25984 * doc/vmintegration.texinfo (Introduction): Typo fix. 25985 (Initialization): Removed redundant 'current'. 25986 259872005-04-22 Michael Koch <konqueror@gmx.de> 25988 25989 * gnu/classpath/SystemProperties.java: 25990 Reformatted. 25991 259922005-04-21 Casey Marshall <csm@gnu.org> 25993 25994 * gnu/java/security/der/DERValue.java 25995 (getValueAs): new method. 25996 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java 25997 (<init>): read both dates with 'DERValue.getValueAs', with 25998 'GENERALIZED_TIME' as the argument. 25999 260002005-04-21 Michael Koch <konqueror@gmx.de> 26001 26002 * include/gnu_java_nio_charset_iconv_IconvDecoder.h, 26003 include/gnu_java_nio_charset_iconv_IconvEncoder.h: 26004 Regenerated with gcjh from gcc 4.0 branch. 26005 260062005-04-20 Tom Tromey <tromey@redhat.com> 26007 26008 * .classpath: Updated. 26009 260102005-04-20 Tom Tromey <tromey@redhat.com> 26011 26012 * vm/reference/java/lang/VMThread.java (run): Use thread's 26013 uncaught handler. 26014 * java/lang/Thread.java (defaultHandler): New field. 26015 (setDefaultUncaughtExceptionHandler, 26016 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler, 26017 getUncaughtExceptionHandler): New methods. 26018 * java/lang/ThreadGroup.java (ThreadGroup): Implements 26019 UncaughtExceptionHandler. 26020 (uncaughtException): Use getDefaultUncaughtExceptionHandler. 26021 260222005-04-20 Tom Tromey <tromey@redhat.com> 26023 26024 * java/lang/reflect/MalformedParameterizedTypeException.java: New 26025 file. 26026 260272005-04-20 Tom Tromey <tromey@redhat.com> 26028 26029 * java/util/PriorityQueue.java (PriorityQueue): Implements 26030 Serializable. 26031 (serialVersionUID): New field. 26032 * java/util/EnumMap.java (serialVersionUID): New field. 26033 * java/util/EnumSet.java (serialVersionUID): New field. 26034 260352005-04-20 Tom Tromey <tromey@redhat.com> 26036 26037 * java/util/Arrays.java (hashCode): New methods. 26038 (deepHashCode): New method. 26039 (deepEquals): Likewise. 26040 (toString): New methods. 26041 (deepToString): New method. 26042 260432005-04-20 Tom Tromey <tromey@redhat.com> 26044 26045 * java/util/zip/Inflater.java (getTotalIn): Deprecated. 26046 (getBytesRead): New method 26047 (getTotalOut): Deprecated. 26048 (getBytesWritten): New method. 26049 (totalIn, totalOut): Now 'long'. 26050 * java/util/zip/DeflaterEngine.java (totalIn): Now 'long'. 26051 (getTotalIn): Return 'long'. 26052 * java/util/zip/Deflater.java (totalOut): Now 'long'. 26053 (getTotalOut): Deprecated. 26054 (getBytesWritten): New method. 26055 (getTotalIn): Deprecated. 26056 (getBytesRead): New method. 26057 260582005-04-20 Tom Tromey <tromey@redhat.com> 26059 26060 * java/nio/charset/Charset.java (compareTo): Changed argument 26061 type. 26062 * java/nio/ShortBuffer.java (compareTo): Changed argument type. 26063 * java/nio/LongBuffer.java (compareTo): Changed argument type. 26064 * java/nio/IntBuffer.java (compareTo): Changed argument type. 26065 * java/nio/FloatBuffer.java (compareTo): Changed argument type. 26066 * java/nio/DoubleBuffer.java (compareTo): Changed argument type. 26067 * java/nio/ByteBuffer.java (compareTo): Changed argument type. 26068 * java/nio/CharBuffer.java (CharBuffer): Implements Readable, 26069 Appendable. 26070 (append): New methods. 26071 (compareTo): Changed argument type. 26072 (read): New method. 26073 260742005-04-20 Tom Tromey <tromey@redhat.com> 26075 26076 * java/io/PrintStream.java (append): Don't throw IOException. 26077 * java/io/StringWriter.java (append): New overloads. 26078 * java/io/PrintWriter.java (append): New overloads. 26079 (PrintWriter): New constructors. 26080 * java/io/CharArrayWriter.java (append): New overloads. 26081 * java/io/RandomAccessFile.java (RandomAccessFile): Implements 26082 Closeable. 26083 * java/io/Reader.java (Reader): Implements Readable. 26084 (read): New method. 26085 260862005-04-20 Tom Tromey <tromey@redhat.com> 26087 26088 * java/math/BigInteger.java (TEN): New constant. 26089 * java/math/BigDecimal.java (ZERO, ONE): Now public. 26090 (TEN): New constant. 26091 260922005-04-20 Tom Tromey <tromey@redhat.com> 26093 26094 * java/lang/Short.java (reverseBytes): Argument is 'short'. 26095 260962005-04-20 Tom Tromey <tromey@redhat.com> 26097 26098 * java/lang/ThreadLocal.java (remove): New method. 26099 261002005-04-20 Tom Tromey <tromey@redhat.com> 26101 26102 * java/util/DuplicateFormatFlagsException.java: New file. 26103 * java/util/FormatFlagsConversionMismatchException.java: New 26104 file. 26105 * java/util/FormatterClosedException.java: New file. 26106 * java/util/IllegalFormatCodePointException.java: New file. 26107 * java/util/IllegalFormatConversionException.java: New file. 26108 * java/util/UnknownFormatFlagsException.java: New file. 26109 * java/util/UnknownFormatConversionException.java: New file. 26110 * java/util/MissingFormatWidthException.java: New file. 26111 * java/util/MissingFormatArgumentException.java: New file. 26112 * java/util/InputMismatchException.java: New file. 26113 * java/util/IllegalFormatWidthException.java: New file. 26114 * java/util/IllegalFormatPrecisionException.java: New file. 26115 * java/util/IllegalFormatFlagsException.java: New file. 26116 * java/util/IllegalFormatException.java: New file. 26117 261182005-04-20 Roman Kennke <roman@kennke.org> 26119 26120 * javax/swing/plaf/basic/BasicLookAndFeel.java 26121 (initComponentDefaults): Changed Button.border to be 26122 BasicBorders.getButtonBorder as it should be. 26123 261242005-04-20 Roman Kennke <roman@kennke.org> 26125 26126 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: 26127 (getMaximumSize): Return (Short.MAX_VALUE, Short.MAX_VALUE) as it 26128 should according to a mauve testcase, instead of the preferred 26129 size. 26130 261312005-04-20 Sven de Marothy <sven@physto.se> 26132 26133 * java/io/OutputStreamWriter.java: 26134 (close): Do nothing on multiple closes. 26135 261362005-04-20 Roman Kennke <roman@kennke.org> 26137 26138 * javax/swing/JMenu.java 26139 (add): add(Component) now calls PopupMenu.insert(..) instead of 26140 PopupMenu.add(..). add(..) is not implemented for Component, 26141 so JComponent.add(..) is called instead, adding the component 26142 in the wrong place. 26143 261442005-04-20 Roman Kennke <roman@kennke.org> 26145 26146 * javax/swing/plaf/basic/BasicButtonListener.java 26147 (mousePressed): replaced query to getModifiersEx with getModifiers. 26148 This method relied on faulty behaviour in getModifierEx. 26149 (mouseReleased): replaced query to getModifiersEx with getModifiers. 26150 This method relied on faulty behaviour in getModifierEx. 26151 261522005-04-20 Roman Kennke <roman@kennke.org> 26153 26154 * javax/swing/plaf/metal/MetalLookAndFeel.java 26155 (getDefaults): Call addCustomEntriesToTable on the theme. 26156 261572005-04-20 Roman Kennke <roman@kennke.org> 26158 26159 * javax/swing/tree/DefaultTreeSelectionModel.java 26160 (constructor): Added implementation. 26161 (getRowMapper): Added implementation. 26162 (setSelectionMode): Added implementation. 26163 (getSelectionMode): Added implementation. 26164 (getSelectionPath): Added implementation. 26165 (getSelectionPaths): Added implementation. 26166 (getSelectionCount): Added implementation. 26167 (isSelectionEmpty): Added implementation. 26168 (getSelectionRows): Added implementation. 26169 (getMinSelectionRow): Added implementation. 26170 (getMaxSelectionRow): Added implementation. 26171 (getLeadSelectionRow): Added implementation. 26172 (getLeadSelectionPath): Added implementation. 26173 261742005-04-20 Sven de Marothy <sven@physto.se> 26175 26176 * java/nio/charset/Charset.java: 26177 (defaultCharset()): New method. 26178 Status updated to 1.5 26179 261802005-04-20 Sven de Marothy <sven@physto.se> 26181 26182 * gnu/java/io/EncodingManager.java: Removed charset alias properties. 26183 * gnu/java/io/decode/Decoder.java, 26184 * gnu/java/io/decode/Decoder8859_1.java, 26185 * gnu/java/io/decode/Decoder8859_13.java, 26186 * gnu/java/io/decode/Decoder8859_15.java, 26187 * gnu/java/io/decode/Decoder8859_2.java, 26188 * gnu/java/io/decode/Decoder8859_3.java, 26189 * gnu/java/io/decode/Decoder8859_4.java, 26190 * gnu/java/io/decode/Decoder8859_5.java, 26191 * gnu/java/io/decode/Decoder8859_6.java, 26192 * gnu/java/io/decode/Decoder8859_7.java, 26193 * gnu/java/io/decode/Decoder8859_8.java, 26194 * gnu/java/io/decode/Decoder8859_9.java, 26195 * gnu/java/io/decode/DecoderASCII.java, 26196 * gnu/java/io/decode/DecoderCp1047.java, 26197 * gnu/java/io/decode/DecoderEBCDIC_XML_US.java, 26198 * gnu/java/io/decode/DecoderEightBitLookup.java, 26199 * gnu/java/io/decode/DecoderUTF16BE.java, 26200 * gnu/java/io/decode/DecoderUTF16LE.java, 26201 * gnu/java/io/decode/DecoderUTF32BE.java, 26202 * gnu/java/io/decode/DecoderUTF32LE.java, 26203 * gnu/java/io/decode/DecoderUTF8.java, 26204 * gnu/java/io/decode/DecoderUnicodeBig.java, 26205 * gnu/java/io/decode/DecoderUnicodeLittle.java, 26206 * gnu/java/io/decode/DecoderWindows1250.java, 26207 * gnu/java/io/decode/DecoderWindows1252.java, 26208 * gnu/java/io/decode/package.html 26209 * gnu/java/io/encode/Encoder.java, 26210 * gnu/java/io/encode/Encoder8859_1.java, 26211 * gnu/java/io/encode/Encoder8859_13.java, 26212 * gnu/java/io/encode/Encoder8859_15.java, 26213 * gnu/java/io/encode/Encoder8859_2.java, 26214 * gnu/java/io/encode/Encoder8859_3.java, 26215 * gnu/java/io/encode/Encoder8859_4.java, 26216 * gnu/java/io/encode/Encoder8859_5.java, 26217 * gnu/java/io/encode/Encoder8859_6.java, 26218 * gnu/java/io/encode/Encoder8859_7.java, 26219 * gnu/java/io/encode/Encoder8859_8.java, 26220 * gnu/java/io/encode/Encoder8859_9.java, 26221 * gnu/java/io/encode/EncoderASCII.java, 26222 * gnu/java/io/encode/EncoderCp1047.java, 26223 * gnu/java/io/encode/EncoderEBCDIC_XML_US.java, 26224 * gnu/java/io/encode/EncoderEightBitLookup.java, 26225 * gnu/java/io/encode/EncoderUTF16BE.java, 26226 * gnu/java/io/encode/EncoderUTF16LE.java, 26227 * gnu/java/io/encode/EncoderUTF32BE.java, 26228 * gnu/java/io/encode/EncoderUTF32LE.java, 26229 * gnu/java/io/encode/EncoderUTF8.java, 26230 * gnu/java/io/encode/EncoderUnicodeBig.java, 26231 * gnu/java/io/encode/EncoderUnicodeLittle.java, 26232 * gnu/java/io/encode/EncoderWindows1250.java, 26233 * gnu/java/io/encode/EncoderWindows1252.java, 26234 * gnu/java/io/encode/package.html: 26235 Removed 26236 262372005-04-19 Sven de Marothy <sven@physto.se> 26238 26239 * java/util/Calendar.java: 26240 (compareTo(java.util.Calendar)): Handle instability 26241 in obtaining the milliseconds value. 26242 262432005-04-19 Michael Koch <konqueror@gmx.de> 26244 26245 * java/awt/geom/QuadCurve2D.java: 26246 Fixed Brian Gough's name for real. 26247 262482005-04-19 Roman Kennke <roman@kennke.org> 26249 26250 * javax/swing/plaf/basic/BasicButtonUI.java 26251 (paint): This should not care about margin and insets 26252 at the same time, as insets already include the margin 26253 through the border. 26254 * javax/swing/plaf/basic/BasicGraphicsUtils.java 26255 (getPreferredButtonSize): Likewise. 26256 * javax/swing/plaf/metal/MetalBorders.java 26257 (getBorderInsets): Likewise. 26258 262592005-04-19 Roman Kennke <roman@kennke.org> 26260 26261 * examples/gnu/classpath/examples/swing/Demo.java: 26262 Pulled out GNULookAndFeel so that it can be accessed. 26263 On startup, if the property swing.defaultlaf is not set, 26264 display a message on how to set the L&F for the demo. 26265 Changed font for bottom buttons to normal. 26266 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java: 26267 Pulled out of Demo.java. 26268 262692005-04-19 Roman Kennke <roman@kennke.org> 26270 26271 * javax/swing/plaf/basic/BasicOptionPaneUI.java 26272 (createMessageArea): The JPanel that holds the message area 26273 doesn't need to override getPreferredSize. This prevents some 26274 message components from rendering nicely. 26275 262762005-04-19 Andrew John Hughes <gnu_andrew@member.fsf.org> 26277 26278 * java/net/URL.java: 26279 (toURI()): Implemented. 26280 262812005-04-18 Roman Kennke <roman@kennke.org> 26282 26283 * javax/swing/plaf/metal/MetalInternalFrameUI.java 26284 (createUI): Do not share instances between components. 26285 * javax/swing/plaf/metal/MetalSliderUI.java 26286 (createUI): Do not share instances between components. 26287 262882005-04-18 Roman Kennke <roman@kennke.org> 26289 26290 * javax/swing/plaf/metal/MetalBorders: 26291 (PopupMenuBorder): Added. 26292 * javax/swing/plaf/metal/MetalLookAndFeel 26293 (initComponentDefaults): Added PopupMenuBorder. 26294 262952005-04-18 Sven de Marothy <sven@physto.se> 26296 26297 * java/io/InputStreamReader.java: 26298 (read): Fix several bugs leading to incorrect length being returned. 26299 263002005-04-18 Sven de Marothy <sven@physto.se> 26301 26302 * java/nio/ByteBufferImpl.java: 26303 (putChar): Inlined for speed. 26304 (put, get): Bulk methods can use arraycopy. 26305 * java/nio/CharBufferImpl.java: 26306 (put, get): Bulk methods can use arraycopy. 26307 263082005-04-18 Roman Kennke <roman@kennke.org> 26309 26310 * javax/swing/tree/DefaultTreeSelectionModel.java: 26311 Added API documentation all over the class. 26312 263132005-04-18 Sven de Marothy <sven@physto.se> 26314 26315 * include/Makefile.am, 26316 * native/jni/java-nio/Makefile.am: Added new files. 26317 * gnu/java/nio/charset/iconv/IconvCharset.java, 26318 * gnu/java/nio/charset/iconv/IconvDecoder.java, 26319 * gnu/java/nio/charset/iconv/IconvEncoder.java, 26320 * gnu/java/nio/charset/iconv/IconvMetaData.java, 26321 * gnu/java/nio/charset/iconv/IconvProvider.java, 26322 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, 26323 * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c, 26324 * include/gnu_java_nio_charset_iconv_IconvDecoder.h, 26325 * include/gnu_java_nio_charset_iconv_IconvEncoder.h, 26326 New files. 26327 263282005-04-18 Roman Kennke <roman@kennke.org> 26329 26330 * java/lang/String.java: 26331 Make value, offset and count fields package private instead 26332 of private. 26333 263342005-04-18 Roman Kennke <roman@kennke.org> 26335 26336 * javax/swing/plaf/basic/BasicScrollPaneUI.java 26337 (installDefaults): Link managed JScrollPane in instance field. 26338 (uninstallDefaults): Unlink managed JScrollPane in instance field. 26339 263402005-04-18 Roman Kennke <roman@kennke.org> 26341 26342 * javax/swing/plaf/basic/BasicScrollBarUI.java 26343 (PropertyChangeHandler.propertyChange): Add default 26344 to switch statement to avoid errors with unusual values 26345 for orientation. 26346 (installComponents): Likewise. 26347 263482005-04-18 Roman Kennke <roman@kennke.org> 26349 26350 * javax/swing/plaf/metal/MetalScrollBarUI.java: 26351 (createUI): Instances cannot be shared among JScrollPanes. 26352 263532005-04-18 Sven de Marothy <sven@physto.se> 26354 26355 * java/lang/String.java: Value, offset and count should be private. 26356 263572005-04-18 Roman Kennke <roman@kennke.org> 26358 26359 * javax/swing/plaf/metal/MetalLookAndFeel.java 26360 (initComponentDefaults): Added defaults for Menu, MenuBar 26361 MenuEntry fonts. 26362 263632005-04-18 Roman Kennke <roman@kennke.org> 26364 26365 * javax/swing/plaf/basic/BasicScrollBarUI.java 26366 (installUI): Install listeners after everything all, otherwise 26367 we get strange NPEs in some situations, especially with 26368 custom L&Fs. 26369 (createIncreaseButton): Orientation is expected to be 26370 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not 26371 HORIZONTAL or VERTICAL. 26372 (createDecreaseButton): Orientation is expected to be 26373 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not 26374 HORIZONTAL or VERTICAL. 26375 (installComponents): Orientation for buttons is expected to be 26376 SwingConstants.NORTH, ..SOUTH, ..WEST or ..EAST and not 26377 HORIZONTAL or VERTICAL. 26378 263792005-04-18 Jeroen Frijters <jeroen@frijters.net> 26380 26381 * java/nio/ByteBufferImpl.java (get(), put(byte)): Inlined checks 26382 and field updates. 26383 * java/nio/CharBufferImpl.java 26384 (CharBufferImpl(CharBufferImpl)): Copy array_offset field. 26385 (get(), put(char)): Inlined checks and field updates. Fixed to 26386 take array_offset into account. 26387 (get(int), put(int, char)): Fixed to take array_offset into account. 26388 263892005-04-18 Jeroen Frijters <jeroen@frijters.net> 26390 26391 * java/lang/Class.java (getModifiers, newInstance): Changed 26392 call to VMClass.getModifiers(). 26393 * vm/reference/java/lang/VMClass.java 26394 (getModifiers(Class, boolean)): New method. 26395 263962005-04-18 Jeroen Frijters <jeroen@frijters.net> 26397 26398 * java/awt/GraphicsEnvironment.java 26399 (localGraphicsEnvironment): New field. 26400 (getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv 26401 property. 26402 (isHeadless): Added support for java.awt.headless property. 26403 (isHeadlessInstance): Call headless(). 26404 264052005-04-18 Jeroen Frijters <jeroen@frijters.net> 26406 26407 * gnu/java/beans/IntrospectionIncubator.java 26408 (addToPropertyHash, addToListenerHash): Don't confuse get(), 26409 set(), is(), add() and remove() with properties or events. 26410 264112005-04-18 Roman Kennke <roman@kennke.org> 26412 26413 * javax/swing/JToolBar.java 26414 (addImpl): Adjust added AbstractButtons to look and feel like 26415 toolbar buttons. 26416 * javax/swing/plaf/metal/MetalBorders.java: 26417 Adjusted insets of ButtonBorder. 26418 (RolloverMarginBorder): Added class for toolbar buttons. 26419 (getButtonBorder): Adjusted factory method to return a shared 26420 instance of button border. 26421 (getToolbarButtonBorder): Added factory method to return a shared 26422 instance of toolbar button border. 26423 (getMarginBorder): Added factory method to return a shared 26424 instance of margin border. 26425 * javax/swing/plaf/metal/MetalButtonUI.java 26426 (installDefauls): If button is child of a JToolBar then set 26427 special border on this button. 26428 264292005-04-17 Roman Kennke <roman@kennke.org> 26430 26431 * javax/swing/text/SimpleAttributeSet.java 26432 (addAttribute): Removed null pointer check. 26433 * javax/swing/text/StyleContext.java 26434 (NamedStyle.setResolveParent): Added null pointer check. 26435 264362005-04-17 Roman Kennke <roman@kennke.org> 26437 26438 * examples/gnu/classpath/exammples/swing/Demo.java: 26439 Print a short summary for available values for the property 26440 swing.defaultlaf. 26441 Set MetalLookAndFeel as default. 26442 Pulled out GNULookAndFeel so that it is accessible. 26443 * examples/gnu/classpath/exammples/swing/GNULookAndFeel.java: 26444 Pulled out this class from Demo.java. 26445 264462005-04-17 Roman Kennke <roman@kennke.org> 26447 26448 * javax/swing/UIManager.java: 26449 Make the UIManager respect the swing.defaultlaf system 26450 property. 26451 264522005-04-17 Roman Kennke <roman@kennke.org> 26453 26454 * javax/swing/text/SimpleAttributeSet.java 26455 (addAttribute): Removed null pointer check. 26456 * javax/swing/text/StyleContext.java 26457 (NamedStyle.setResolveParent): Added null pointer check. 26458 264592005-04-17 Roman Kennke <roman@kennke.org> 26460 26461 * examples/gnu/classpath/exammples/swing/Demo.java: 26462 Print a short summary for available values for the property 26463 swing.defaultlaf. 26464 Set MetalLookAndFeel as default. 26465 Pulled out GNULookAndFeel so that it is accessible. 26466 * examples/gnu/classpath/exammples/swing/GNULookAndFeel.java: 26467 Pulled out this class from Demo.java. 26468 264692005-04-17 Roman Kennke <roman@kennke.org> 26470 26471 * javax/swing/UIManager.java: 26472 Make the UIManager respect the swing.defaultlaf system 26473 property. 26474 264752005-04-17 Roman Kennke <roman@kennke.org> 26476 26477 * javax/swing/text/SimpleAttributeSet.java 26478 (addAttribute): Check for null and remove key in that case. 26479 This fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21064 . 26480 264812005-04-16 Ewout Prangsma <ewout@prangsma.net> 26482 26483 * java/util/PriorityQueue.java: 26484 (PriorityQueue(Collection<? extends E>)): Added explicit cast 26485 for comparators. 26486 (PriorityQueue(PriorityQueue<? extends E>)): Likewise. 26487 (PriorityQueue(SortedSet<? extends E>)): Likewise. 26488 * java/util/TreeSet.java: 26489 (TreeSet(SortedSet<? extends T>)): Likewise. 26490 264912005-04-16 Roman Kennke <roman@kennke.org> 26492 26493 * java/awt/BorderLayout.java 26494 (calcSize): Check for overflow when component sizes are added. 26495 264962005-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 26497 26498 * java/rmi/Naming.java: 26499 Added class documentation. 26500 (lookup(String)): Call parseURL and getName. 26501 (bind(String,java.rmi.Remote)): Likewise. 26502 (unbind(String)): Likewise. 26503 (rebind(String, java.rmi.Remote)): Likewise. 26504 (list(String)): Call parseURL. 26505 (parseURL(String)): New method to handle parsing and defaults. 26506 (getName(java.net.URL)): New method to handle finding the service name. 26507 265082005-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 26509 26510 * java/net/URI.java: 26511 Added class documentation. 26512 (parseURI(String)): Only handle scheme-specific parts 26513 if URI is not opaque. Allow for parts that can't be null. 26514 (toString()): Output the scheme-specific part whole, rather 26515 than as its possibly non-existent components. 26516 265172005-04-16 Michael Koch <konqueror@gmx.de> 26518 26519 * java/rmi/server/RemoteObject.java: 26520 Removed unused import statement. 26521 265222005-04-16 Michael Koch <konqueror@gmx.de> 26523 26524 * include/Makefile.am: Removed java_io_ObjectInputStream.h 26525 and added java_io_VMObjectInputStream.h. 26526 * include/java_io_ObjectInputStream.h: Removed. 26527 * include/java_io_VMObjectInputStream.h: New file. 26528 * java/io/ObjectInputStream.java 26529 (currentClassLoader): Removed. 26530 (allocateObject): Likewise. 26531 * native/jni/java-io/Makefile.am: Removed java_io_ObjectInputStream.c 26532 and added java_io_VMObjectInputStream.c. 26533 * native/jni/java-io/java_io_ObjectInputStream.c: Removed. 26534 * native/jni/java-io/java_io_VMObjectInputStream.c: New file. 26535 * vm/reference/java/io/VMObjectInputStream.java: Likewise. 26536 265372005-04-16 Michael Koch <konqueror@gmx.de> 26538 26539 * include/java_lang_Double.h, 26540 include/java_lang_Object.h, 26541 native/jni/java-lang/java_lang_Double.c, 26542 native/jni/java-lang/java_lang_Object.c: Removed. 26543 * include/java_lang_VMDouble.h: Regenerated. 26544 * java/lang/Double.java 26545 (static): Removed. 26546 (toString): Call native method from VMDouble. 26547 (parseDouble): Make non-native and call native method from VMDouble. 26548 (toString): Removed. 26549 * java/lang/Float.java 26550 (toString): Call native method from VMDouble. 26551 * java/lang/Object.java 26552 (getClass): Refactored to call the native in java.lang.VMObject. 26553 * include/Makefile.am: Don't generate java_lang_Double.h and 26554 java_lang_Object.h. 26555 * native/jni/java-lang/Makefile.am: Removed java_lang_Double.c and 26556 java_lang_Object.c. 26557 * native/jni/java-lang/java_lang_VMDouble.c 26558 (initIDs): New method. 26559 (toString): Likewise. 26560 (parseDouble): Likewise. 26561 * vm/reference/java/lang/VMDouble.java 26562 (initIDs): Likewise. 26563 (toString): Likewise. 26564 (parseDouble): Likewise. 26565 * vm/reference/java/lang/VMObject.java 26566 (getClass): Likewise. 26567 265682005-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org> 26569 26570 * java/text/DecimalFormatSymbols.java: 26571 Added retrieval of "XXX" instance in place of null. 26572 * java/util/Currency.java, 26573 (Currency(String)): New constructor for the XXX special case. 26574 (getInstance(String)): Allow special case of "XXX". 26575 265762005-04-15 Roman Kennke <roman@kennke.org> 26577 26578 * javax/swing/plaf/metal/MetalLookAndFeel.java 26579 (initComponentDefaults): Added Label.font. 26580 (initSystemColorDefaults): Added this method and adjusted the 26581 general control color. 26582 265832005-04-15 Roman Kennke <roman@kennke.org> 26584 26585 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: 26586 Added newline between import blocks. Changed Map to 26587 HashMap in field declarations. 26588 265892005-04-15 Sven de Marothy <sven@physto.se> 26590 26591 * gnu/java/nio/charset/EncodingHelper.java: Added method 26592 * java/io/InputStreamReader.java, 26593 * java/io/OutputStreamWriter.java, 26594 * java/lang/String.java: Move to NIO charsets. 26595 * java/io/PrintStream.java: Inline conversion using String. 26596 265972005-04-15 Roman Kennke <roman@kennke.org> 26598 26599 * javax/swing/plaf/metal/MetalBorders.java: 26600 Added. 26601 * javax/swing/plaf/metal/MetalButtonUI.java: 26602 (installDefaults): Install button font. 26603 * javax/swing/plaf/metal/MetalLookAndFeel.java: 26604 (initComponentDefaults): Added button border, font and margin. 26605 Changed components background color to the Metal current themes 26606 standard color. 26607 266082005-04-15 Roman Kennke <roman@kennke.org> 26609 26610 * javax/swing/plaf/metal/MetalTabbedPaneUI.java 26611 (createUI): Create one MetalTabbedPaneUI per Component instead 26612 of sharing one instance. 26613 266142005-04-15 Roman Kennke <roman@kennke.org> 26615 26616 * javax/swing/plaf/metal/MetalLookAndFeel.java 26617 (initComponentDefaults): Added to set Metal specific component 26618 defaults. 26619 266202005-04-14 Chris Burdess <dog@gnu.org> 26621 26622 * java/io/DataOutputStream.java (writeUTF): Use block write for 26623 output. 26624 266252005-04-14 Mark Wielaard <mark@klomp.org> 26626 26627 * javax/swing/plaf/metal/MetalLookAndFeel.java 26628 (initClassDefaults): Call super.initClassDefaults(). 26629 266302005-04-14 Roman Kennke <roman@kennke.org> 26631 26632 * javax/swing/plaf/metal/MetalLookAndFeel.java 26633 (initClassDefaults): Added to include the *UI classes. 26634 266352005-04-14 Roman Kennke <roman@kennke.org> 26636 26637 * javax/swing/plaf/metal/MetalComboBoxUI.java: 26638 Added. 26639 * javax/swing/plaf/metal/MetalDesktopIconUI.java: 26640 Added. 26641 * javax/swing/plaf/metal/MetalInternalFrameUI.java: 26642 Added. 26643 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: 26644 Added. 26645 * javax/swing/plaf/metal/MetalProgressBarUI.java: 26646 Added. 26647 * javax/swing/plaf/metal/MetalRootPaneUI.java: 26648 Added. 26649 * javax/swing/plaf/metal/MetalScrollBarUI.java: 26650 Added. 26651 * javax/swing/plaf/metal/MetalSeparatorUI.java: 26652 Added. 26653 * javax/swing/plaf/metal/MetalSliderUI.java: 26654 Added. 26655 * javax/swing/plaf/metal/MetalSplitPaneUI.java: 26656 Added. 26657 * javax/swing/plaf/metal/MetalTextFieldUI.java: 26658 Added. 26659 * javax/swing/plaf/metal/MetalToggleButtonUI.java: 26660 266612005-04-14 Roman Kennke <roman@kennke.org> 26662 26663 * javax/swing/plaf/metal/MetalButtonUI.java: 26664 Fixed year in copyright notice. 26665 * javax/swing/plaf/metal/MetalCheckBoxUI.java: 26666 Fixed year in copyright notice. 26667 * javax/swing/plaf/metal/MetalLabelUI.java: 26668 Fixed year in copyright notice. 26669 * javax/swing/plaf/metal/MetalRadioButtonUI.java: 26670 Fixed year in copyright notice. 26671 * javax/swing/plaf/metal/MetalScrollPaneUI.java: 26672 Fixed year in copyright notice. 26673 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: 26674 Fixed year in copyright notice. 26675 266762005-04-13 Roman Kennke <roman@kennke.org> 26677 26678 * javax/swing/plaf/metal/MetalButtonUI.java: 26679 Added skeleton class. 26680 * javax/swing/plaf/metal/MetalCheckBoxUI.java: 26681 Added skeleton class. 26682 * javax/swing/plaf/metal/MetalLabelUI.java: 26683 Added skeleton class. 26684 * javax/swing/plaf/metal/MetalRadioButtonUI.java: 26685 Added skeleton class. 26686 * javax/swing/plaf/metal/MetalScrollPaneUI.java: 26687 Added skeleton class. 26688 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: 26689 Added skeleton class. 26690 266912005-04-13 Sven de Marothy <sven@physto.se> 26692 26693 * java/nio/charset/Charset.java: Cached encoders shouldn't be static. 26694 266952005-04-13 Roman Kennke <roman@kennke.org> 26696 26697 * java/awt/MediaTracker.java: 26698 Reindented tabs to spaces. 26699 267002005-04-13 Roman Kennke <roman@kennke.org> 26701 26702 * java/awt/MediaTracker.java 26703 (MediaEntry.imageUpdate): Removed check for SOMEBITS, this 26704 confused the media tracker and lead to lockups. The LOADING 26705 bit is handled on other places. 26706 (addImage): Removed the 'start image tracking' stuff. This 26707 is not necessary and could confuse the media tracker. 26708 (checkAll): Improved the check for image status so that 26709 images that already complete images are detected. Also now 26710 are really all images checked and if necessary loaded. Before 26711 the method bailed out after the first incomplete image. 26712 (statusAll): Detect images that are complete after the 26713 call to Component.prepareImage(..). 26714 (checkID): The same as in checkAll. 26715 (statusID): The same as in statusAll. 26716 267172005-04-12 Roman Kennke <roman@kennke.org> 26718 26719 * java/util/.cvsignore: 26720 Added file and included LocaleDate.java. 26721 * lib/.cvsignore: 26722 Added classes.locale. 26723 * scripts/.cvsignore: 26724 Added classpath.spec. 26725 267262005-04-12 Roman Kennke <roman@kennke.org> 26727 26728 * javax/swing/plaf/basic/BasicMenuUI.java 26729 (getMaximumSize): Now returns preferredSize because JMenu should 26730 never be bigger than that. 26731 * javax/swing/JRootPane 26732 (RootLayout.layoutContainer): Make JMenuBars take the whole width. 26733 267342005-04-12 Roman Kennke <roman@kennke.org> 26735 26736 * javax/swing/plaf/basic/BasicMenuBarUI.java: 26737 Fixed tabs to spaces. 26738 267392005-04-12 Roman Kennke <roman@kennke.org> 26740 26741 * javax/swing/JRootPane.java: 26742 Fixed various tabs to be spaces. 26743 (RootLayout.layoutContainer): Made menubar left aligned. 26744 267452005-04-12 Roman Kennke <roman@kennke.org> 26746 26747 * javax/swing/JComponent.java: 26748 Modified alignmentX and alignmentY to be 0.5 instead of 0.0. 26749 Untabified the file. 26750 267512005-04-12 Roman Kennke <roman@kennke.org> 26752 26753 * javax/swing/BoxLayout.java: 26754 (layoutContainer): Made this layout manager respect the 26755 minimum, maximum and preferred size more correctly. 26756 267572005-04-12 Roman Kennke <roman@kennke.org> 26758 26759 * java/awt/MediaTracker.java 26760 (addImage): Synchronized list access. 26761 (waitForAll): Fixed comparison of time (changed < to >). 26762 (waitForID): Fixed comparison of time (changed < to >). 26763 (removeImage): Synchronized list access. 26764 267652005-04-12 Michael Koch <konqueror@gmx.de> 26766 26767 * java/io/FilePermission.java 26768 (serialVersionUID): Made private. 26769 (ALL_FILES): New constant. 26770 (implies): Handle '<<ALL FILES>>' case. 26771 267722005-04-12 Audrius Meskauskas, Lithuania <AudriusA@Bioinformatics.org> 26773 26774 * javax/swing/text/html/HTMLDocument.java: New file. 26775 267762005-04-12 Michael Koch <konqueror@gmx.de> 26777 26778 * javax/swing/text/html/HTMLFrameHyperlinkEvent.java: 26779 Reformatted. 26780 * javax/swing/text/html/parser/AttributeList.java: 26781 Fixed order of modifiers. 26782 (AttributeList): Made final. 26783 * javax/swing/text/html/parser/ContentModel.java: 26784 Fixed html characters in javadocs. 26785 * javax/swing/text/html/parser/DTD.java 26786 (DTD): Don't implement java.io.Serializable directly. 26787 (getElement): Simplified. 26788 * javax/swing/text/html/parser/DTDConstants.java: 26789 Reformatted file. 26790 * javax/swing/text/html/parser/Element.java: 26791 Fixed order of modifiers. 26792 * javax/swing/text/html/parser/Parser.java: 26793 Reformatted. Don't use fully-qualified class names. 26794 * javax/swing/text/html/parser/ParserDelegator.java: 26795 Fixed order of modifiers. 26796 * javax/swing/text/rtf/RTFParser.java: 26797 Re-ordered import statements. 26798 * javax/swing/text/rtf/RTFScanner.java: 26799 Removed unused import statement. 26800 268012005-04-12 Michael Koch <konqueror@gmx.de> 26802 26803 * java/awt/image/RasterOp.java: 26804 Fixed wrong formatting. 26805 268062005-04-12 Michael Koch <konqueror@gmx.de> 26807 26808 * java/awt/print/PrinterJob.java 26809 (pageDialog): New method. 26810 (printDialog): Implemented. 26811 268122005-04-12 Michael Koch <konqueror@gmx.de> 26813 26814 * java/awt/FontMetrics.java: Reformatted. 26815 (getFontRenderContext): Handle case when java.awt.Graphics context is 26816 given. 26817 268182005-04-12 Michael Koch <konqueror@gmx.de> 26819 26820 * java/awt/FontMetrics.java 26821 (getStringBounds): New methods. 26822 268232005-04-12 Michael Koch <konqueror@gmx.de> 26824 26825 * java/net/NetworkInterface.java 26826 (NetworkInterface): Made constructor package private. 26827 Introduced another constructor for more addresses on one 26828 interface. 26829 268302005-04-12 Michael Koch <konqueror@gmx.de> 26831 26832 * native/jni/java-net/Makefile.am 26833 Compile new files java_net_VMInetAddress.c and 26834 java_net_VMNetworkInterface. 26835 268362005-04-12 Sven de Marothy <sven@physto.se> 26837 26838 * gnu/java/nio/charset/Provider.java: Add UnicodeLittle. 26839 * gnu/java/nio/charset/UnicodeLittle.java: New file. 26840 * gnu/java/nio/charset/UTF_16.java: UnicodeBig is an alias. 26841 * gnu/java/nio/charset/UTF_16BE.java, 26842 * gnu/java/nio/charset/UTF_16LE.java: No byte-order mark. 26843 * gnu/java/nio/charset/UTF_16Encoder.java (encodeLoop): Fixed bug. 26844 268452005-04-11 Michael Koch <konqueror@gmx.de> 26846 26847 * java/net/InetAddress.java 26848 (static): Removed. 26849 (getLocalHostname): Likewise. 26850 (lookupInaddrAny): Likewise. 26851 (getHostByAddr): Likewise. 26852 (getHostByName): Likewise. 26853 * java/net/NetworkInterface.java 26854 (static): Likewise. 26855 (getRealNetworkInterfaces): Likewise. 26856 * native/jni/java-net/java_net_InetAddress.c: Renamed to... 26857 * native/jni/java-net/java_net_VMInetAddress.c: New file. 26858 Renamed from java_net_InetAddress.c. All native methods moved to class 26859 VMInetAddress. 26860 * native/jni/java-net/java_net_NetworkInterface.c: Renamed to... 26861 Renamed from java_net_NetworkInterface.c. All native methods moved to 26862 class VMNetworkInterface. 26863 * native/jni/java-net/java_net_VMNetworkInterface.c: New file. 26864 * vm/reference/java/net/VMInetAddress.java, 26865 vm/reference/java/net/VMNetworkInterface.java: New files. 26866 * include/java_net_InetAddress.h, 26867 include/java_net_NetworkInterface.h: Removed. 26868 * include/java_net_VMInetAddress.h, 26869 include/java_net_VMNetworkInterface.h: New files. 26870 * include/Makefile.am: Build new header files. 26871 268722005-04-11 Roman Kennke <roman@kennke.org> 26873 26874 * javax/swing/ImageIcon.java 26875 Added API documentation. 26876 268772005-04-11 Roman Kennke <roman@kennke.org> 26878 26879 * java/awt/MediaTracker.java 26880 Added API documentation. 26881 268822005-04-11 Michael Koch <konqueror@gmx.de> 26883 26884 * javax/imageio/ImageIO.java (ReaderFormatFilter.filter): 26885 Fixed wrong casting. 26886 268872005-04-11 Andrew John Hughes <gnu_andrew@member.fsf.org> 26888 26889 * org/omg/CORBA/Request.java: 26890 (send_deferred): Added missing 'abstract' keyword. 26891 268922005-04-10 Sven de Marothy <sven@physto.se> 26893 26894 * java/text/SimpleDateFormat.java: 26895 (formatWithAttribute): Pad year before truncating digits. 26896 268972005-04-10 Audrius Meskauskas <audriusa@bluewin.ch> 26898 * org/omg/CORBA/PRIVATE_MEMBER.java, 26899 org/omg/CORBA/PUBLIC_MEMBER.java, 26900 org/omg/CORBA/Request.java, 26901 org/omg/CORBA/StructMember.java, 26902 org/omg/CORBA/UnionMember.java, 26903 org/omg/CORBA/UNSUPPORTED_POLICY.java, 26904 org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java, 26905 org/omg/CORBA/ValueMember.java, 26906 org/omg/CORBA/VM_ABSTRACT.java, 26907 org/omg/CORBA/VM_CUSTOM.java, 26908 org/omg/CORBA/VM_NONE.java, 26909 org/omg/CORBA/VM_TRUNCATABLE.java, 26910 org/omg/CORBA/WrongTransaction.java, 26911 org/omg/CORBA/BAD_POLICY.java, 26912 org/omg/CORBA/BAD_POLICY_TYPE.java, 26913 org/omg/CORBA/BAD_POLICY_VALUE.java, 26914 org/omg/CORBA/Environment.java, 26915 org/omg/CORBA/IDLType.java, 26916 org/omg/CORBA/OMGVMCID.java: new files. 26917 269182005-04-09 Mark Wielaard <mark@klomp.org> 26919 26920 * native/jni/java-lang/java_lang_Double.c: Reindent. 26921 * native/jni/java-lang/java_lang_Math.c: Likewise. 26922 * native/jni/java-lang/java_lang_Object.c: Likewise. 26923 * native/jni/java-lang/java_lang_VMDouble.c: Likewise. 26924 * native/jni/java-lang/java_lang_VMFloat.c: Likewise. 26925 * native/jni/java-lang/java_lang_VMSystem.c: Likewise. 26926 * native/jni/java-lang/java_lang_reflect_Array.c: Likewise. 26927 * native/jni/java-nio/java_nio.c 26928 (Java_gnu_java_nio_FileChannelImpl_nio_1mmap_1file): Removed. 26929 (Java_gnu_java_nio_FileChannelImpl_nio_1unmmap_1file): Likewise. 26930 (Java_gnu_java_nio_SocketChannelImpl_SocketCreate): Likewise. 26931 (Java_gnu_java_nio_SocketChannelImpl_SocketConnect): Likewise. 26932 (Java_gnu_java_nio_SocketChannelImpl_SocketBind): Likewise. 26933 (Java_gnu_java_nio_SocketChannelImpl_SocketListen): Likewise. 26934 (Java_gnu_java_nio_SocketChannelImpl_SocketAvailable): Likewise. 26935 (Java_gnu_java_nio_SocketChannelImpl_SocketClose): Likewise. 26936 (Java_gnu_java_nio_SocketChannelImpl_SocketRead): Likewise. 26937 (Java_gnu_java_nio_SocketChannelImpl_SocketWrite): Likewise. 26938 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c: Reindent. 26939 269402005-04-09 Audrius Meskauskas <audriusa@bluewin.ch> 26941 * org/omg/CORBA/DynAnyPackage/Invalid.java, 26942 org/omg/CORBA/DynAnyPackage/InvalidSeq.java, 26943 org/omg/CORBA/DynAnyPackage/InvalidValue.java, 26944 org/omg/CORBA/DynAnyPackage/TypeMismatch.java, 26945 org/omg/CORBA/DynAnyPackage/package.html: New files. 26946 269472005-04-08 Sven de Marothy <sven@physto.se> 26948 26949 * gnu/java/nio/charset/UTF_8.java 26950 (Decoder): Previous fix was incorrect. Sorry. 26951 * java/nio/charset/Charset.java: Reset cached de/encoders. 26952 * java/nio/charset/CharsetDecoder.java, 26953 java/nio/charset/CharsetEncoder.java: 26954 Resize encoding/decoding result buffers. 26955 269562005-04-08 Sven de Marothy <sven@physto.se> 26957 26958 * gnu/java/nio/charset/Provider.java: Add new charsets. 26959 * gnu/java/nio/charset/UTF_16.java: Default to using BOM. 26960 * gnu/java/nio/charset/UTF_16Decoder.java: Minor fixes. 26961 * gnu/java/nio/charset/UTF_16Encoder.java, 26962 Use NIO's built-in byte-ordering instead. 26963 * gnu/java/nio/charset/UTF_8.java, 26964 (Decoder): Correct values of maximum chars per byte. 26965 (decodeLoop): Handle 4-byte surrogates. 26966 * gnu/java/nio/charset/ByteCharset.java, 26967 gnu/java/nio/charset/Cp424.java, 26968 gnu/java/nio/charset/Cp437.java, 26969 gnu/java/nio/charset/Cp737.java, 26970 gnu/java/nio/charset/Cp775.java, 26971 gnu/java/nio/charset/Cp850.java, 26972 gnu/java/nio/charset/Cp852.java, 26973 gnu/java/nio/charset/Cp855.java, 26974 gnu/java/nio/charset/Cp857.java, 26975 gnu/java/nio/charset/Cp860.java, 26976 gnu/java/nio/charset/Cp861.java, 26977 gnu/java/nio/charset/Cp862.java, 26978 gnu/java/nio/charset/Cp863.java, 26979 gnu/java/nio/charset/Cp864.java, 26980 gnu/java/nio/charset/Cp865.java, 26981 gnu/java/nio/charset/Cp866.java, 26982 gnu/java/nio/charset/Cp869.java, 26983 gnu/java/nio/charset/Cp874.java, 26984 gnu/java/nio/charset/EncodingHelper.java, 26985 gnu/java/nio/charset/ISO_8859_13.java, 26986 gnu/java/nio/charset/ISO_8859_15.java, 26987 gnu/java/nio/charset/ISO_8859_2.java, 26988 gnu/java/nio/charset/ISO_8859_3.java, 26989 gnu/java/nio/charset/ISO_8859_4.java, 26990 gnu/java/nio/charset/ISO_8859_5.java, 26991 gnu/java/nio/charset/ISO_8859_6.java, 26992 gnu/java/nio/charset/ISO_8859_7.java, 26993 gnu/java/nio/charset/ISO_8859_8.java, 26994 gnu/java/nio/charset/ISO_8859_9.java, 26995 gnu/java/nio/charset/KOI_8.java, 26996 gnu/java/nio/charset/MS874.java, 26997 gnu/java/nio/charset/MacCentralEurope.java, 26998 gnu/java/nio/charset/MacCroatian.java, 26999 gnu/java/nio/charset/MacCyrillic.java, 27000 gnu/java/nio/charset/MacDingbat.java, 27001 gnu/java/nio/charset/MacGreek.java, 27002 gnu/java/nio/charset/MacIceland.java, 27003 gnu/java/nio/charset/MacRoman.java, 27004 gnu/java/nio/charset/MacRomania.java, 27005 gnu/java/nio/charset/MacSymbol.java, 27006 gnu/java/nio/charset/MacThai.java, 27007 gnu/java/nio/charset/MacTurkish.java, 27008 gnu/java/nio/charset/Windows1250.java, 27009 gnu/java/nio/charset/Windows1251.java, 27010 gnu/java/nio/charset/Windows1252.java, 27011 gnu/java/nio/charset/Windows1253.java, 27012 gnu/java/nio/charset/Windows1254.java, 27013 gnu/java/nio/charset/Windows1255.java, 27014 gnu/java/nio/charset/Windows1256.java, 27015 gnu/java/nio/charset/Windows1257.java, 27016 gnu/java/nio/charset/Windows1258.java: 27017 New files. 27018 270192005-04-08 Roman Kennke <roman@kennke.org> 27020 27021 * java/awt/MediaTracker.java 27022 (MediaEntry.imageUpdate): Fixed flags. The different flags 27023 must not be ORed together. 27024 (checkAll): Modified to handle different meaning of the flags. 27025 (waitForAll): Fixed so that it waits maximum the 27026 specified amount of milliseconds. 27027 (statusAll): Modified to handle different meaning of the flags. 27028 (waitForID): Fixed so that it waits maximum the 27029 specified amount of milliseconds. 27030 270312005-04-08 Roman Kennke <roman@kennke.org> 27032 27033 * javax/swing/text/ImageIcon.java 27034 (ImageIcon): Use setImage instead of direct assignment. 27035 (setImage): Call loadImage to make sure that the image is loaded. 27036 (loadImage): Waits for the image to complete loading. 27037 (getImageLoadStatus): Added. Returns the load status of the 27038 image. 27039 270402005-04-08 Guilhem Lavaux <guilhem@kaffe.org> 27041 27042 * native/jni/classpath/jcl.h, 27043 native/jni/java-io/java_io_ObjectInputStream.c, 27044 native/jni/java-io/java_io_VMFile.c, 27045 native/jni/java-io/java_io_VMObjectStreamClass.c, 27046 native/jni/java-io/javaio.c, 27047 native/jni/java-lang/java_lang_Double.c, 27048 native/jni/java-lang/java_lang_Math.c, 27049 native/jni/java-lang/java_lang_Object.c, 27050 native/jni/java-lang/java_lang_VMDouble.c, 27051 native/jni/java-lang/java_lang_VMFloat.c, 27052 native/jni/java-lang/java_lang_VMProcess.c, 27053 native/jni/java-lang/java_lang_VMSystem.c, 27054 native/jni/java-lang/java_lang_reflect_Array.c, 27055 native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c, 27056 native/jni/java-net/gnu_java_net_PlainSocketImpl.c, 27057 native/jni/java-net/java_net_InetAddress.c, 27058 native/jni/java-net/java_net_NetworkInterface.c, 27059 native/jni/java-net/javanet.c, 27060 native/jni/java-nio/gnu_java_nio_VMPipe.c, 27061 native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c, 27062 native/jni/java-nio/java_nio.c, 27063 native/jni/java-nio/java_nio_MappedByteBufferImpl.c, 27064 native/jni/java-nio/java_nio_VMDirectByteBuffer.c, 27065 native/jni/java-util/java_util_VMTimeZone.c: Reindented using 27066 GNU indent (GNU style). 27067 270682005-04-08 Roman Kennke <roman@kennke.org> 27069 27070 * javax/swing/text/JTextComponent.java 27071 (JTextComponent): Added repaintListener which issues repaint 27072 requests when the underlying document changes. 27073 (setDocument): Adds repaintListener to document when the 27074 document is changed. 27075 * javax/swing/text/DefaultEditorKit.java: 27076 Removed repaint calls on JTextComponent. This is now handled 27077 through a DocumentListener in JTextComponent that repaints 27078 the component when needed. 27079 270802005-04-07 Chris Burdess <dog@gnu.org> 27081 27082 * gnu/java/net/CRLFInputStream.java: Rewrite to return 27083 CRLF-delimited chunks. 27084 270852005-04-07 Roman Kennke <roman@kennke.org> 27086 27087 * javax/swing/UIDefaults.java: 27088 Added API documentation for all methods. 27089 270902005-04-06 Roman Kennke <roman@kennke.org> 27091 27092 * javax/swing/UIDefaults.java 27093 (put): Now uses new checkAndPut method instead of checking 27094 directly. 27095 (putDefaults): Fixed so that it accepts null-values and 27096 treats them like remove(key). 27097 (checkAndPut): Added. This checks for null-values and calls 27098 put or remove. 27099 271002005-04-06 Audrius Meskauskas <audriusa@bluewin.ch> 27101 27102 * org/omg/CORBA/CTX_RESTRICT_SCOPE.java, 27103 org/omg/CORBA/ExceptionList.java, 27104 org/omg/CORBA/NVList.java, 27105 PrincipalHolder.java: New classes. 27106 * org/omg/CORBA/Context.java: Completing 27107 part, dependent from classes above, 27108 org/omg/CORBA/MARSHAL.java: accessibility fixes. 27109 271102005-04-05 Roman Kennke <roman@kennke.org> 27111 27112 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java 27113 (getDisplayMode): Added. Returns the current display mode. 27114 (isFullScreenSupported): Added. 27115 * java/awt/GraphicsDevice.java 27116 (setFullScreenWindow): Implemented a primitive fullscreen mode. 27117 This resizes and relocates the fullscreen window so that it uses 27118 the whole screen. This is not a fully accelerated fullscreen 27119 exclusive mode. 27120 271212005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org> 27122 27123 * java/lang/Class.java: 27124 (newInstance): Returns an instance of T instead of Object. 27125 (isEnum()): Now calls VMClass for a proper implementation. 27126 (isSynthetic()): New method implemented. 27127 (isAnnotation()): New method implemented. 27128 * vm/reference/java/lang/VMClass.java: 27129 (isEnum()): New native method. 27130 (isSynthetic()): New native method. 27131 (isAnnotation()): New native method. 27132 * vm/reference/java/lang/reflect/Constructor.java: 27133 (newInstance(Object...)): Changed input parameter to a vararg. 27134 271352005-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org> 27136 27137 * java/lang/System.java: 27138 (getenv()): Use Collections.unmodifiableMap to wrap an 27139 EnvironmentMap. 27140 (EnvironmentCollection): Reduced to just String check changes. 27141 (EnvironmentSet): Likewise. 27142 (EnvironmentMap): Likewise. 27143 (EnvironmentIterator): Removed. 27144 271452005-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org> 27146 27147 * java/lang/StringBuilder.java: 27148 Change references to System.arraycopy to 27149 VMSystem.arraycopy. 27150 271512005-04-03 Guilhem Lavaux <guilhem@kaffe.org> 27152 Rei Odaira <ray@is.s.u-tokyo.ac.jp> 27153 27154 * native/jni/java-nio/gnu_java_nio_VMSelector.c 27155 (helper_select): Return the error number. 27156 (Java_gnu_java_nio_VMSelector_select0): If the result is negative 27157 consider it as the error code. This prevents conflicts between EINTR 27158 and the number of filedescriptor particularly. 27159 271602005-04-03 Guilhem Lavaux <guilhem@kaffe.org> 27161 27162 * native/jni/java-nio/gnu_java_nio_VMSelector.c: Reindented. 27163 271642005-04-01 Tom Tromey <tromey@redhat.com> 27165 27166 * java/lang/AssertionError.java: Typo fix. 27167 271682005-04-01 Michael Koch <konqueror@gmx.de> 27169 27170 * java/io/PipedInputStream.java 27171 (read): Make sure a positive byte value is returned. Revised javadoc. 27172 Thanks to Olafur Bragason for reporting these bugs. 27173 271742005-04-01 Guilhem Lavaux <guilhem@kaffe.org> 27175 27176 * java/awt/image/IndexColorModel.java 27177 (getRGB): Check if pixel is negative. 27178 271792005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com> 27180 27181 * javax/swing/text/JTextComponent.java (viewToModel): New method. 27182 271832005-03-31 Audrius Meskauskas <audriusa@bluewin.ch> 27184 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java, 27185 org/omg/CORBA/ORBPackage/InvalidName.java, 27186 org/omg/CORBA/ORBPackage/package.html: New files. 27187 271882005-03-31 Michael Koch <konqueror@gmx.de> 27189 27190 * gnu/java/awt/peer/gtk/GdkGraphics.java 27191 (getClipBounds): Handle clip being null. 27192 (setClip): Likewise. 27193 * java/beans/beancontext/BeanContextSupport.java 27194 (add): Implemented. 27195 (addAll): Likewise. 27196 (clear): Likewise. 27197 (removeAll): Likewise. 27198 (retainAll): Likewise. 27199 272002005-03-30 Sven de Marothy <sven@physto.se> 27201 27202 * gnu/java/awt/peer/gtk/GdkGraphics.java: 27203 (drawImage): Don't notify the image observer for offscreen images. 27204 * gnu/java/awt/peer/gtk/GtkImagePainter.java: 27205 (setPixels): Don't notify the image observer. 27206 272072005-03-30 Michael Koch <konqueror@gmx.de> 27208 27209 * java/beans/beancontext/BeanContextServicesSupport.java 27210 (BeanContextServicesSupport): Reimplemented. 27211 (addBeanContextServicesListener): Implemented. 27212 (initialize): Likewise. 27213 (removeBeanContextServicesListener): Likewise. 27214 * java/beans/beancontext/BeanContextSupport.java 27215 (add): Likewise. 27216 (addBeanContextMembershipListener): Likewise. 27217 (getLocale): Likewise. 27218 (initialize): Likewise. 27219 (iterator): Likewise. 27220 (remove): Likewise. 27221 (toArray): Likewise. 27222 272232005-03-30 Michael Koch <konqueror@gmx.de> 27224 27225 * java/awt/image/ConvolveOp.java: 27226 Removed comment added by eclipse. 27227 272282005-03-30 Michael Koch <konqueror@gmx.de> 27229 27230 * gnu/xml/aelfred2/XmlParser.java: 27231 Revert my typo fix. 27232 272332005-03-30 Michael Koch <konqueror@gmx.de> 27234 27235 * java/awt/geom/CubicCurve2D.java, 27236 java/awt/geom/QuadCurve2D.java: 27237 Fixed typo in name of Brian Cough. 27238 272392005-03-29 Guilhem Lavaux <guilhem@kaffe.org> 27240 27241 * native/jni/java-nio/gnu_java_nio_VMSelector.c 27242 (Java_gnu_java_nio_VMSelector_select): Use GetStaticMethodID 27243 for Thread.interrupted(). 27244 272452005-03-29 Jeroen Frijters <jeroen@frijters.net> 27246 27247 * gnu/classpath/SystemProperties.java (static): Converted encoding 27248 aliases to lower case and removed redudant aliases. 27249 * gnu/java/io/EncodingManager.java 27250 (findEncoderConstructor, findDecoderConstructor): Call new method 27251 resolveAlias(). 27252 (resolveAlias): New method. 27253 * java/lang/System.java (getProperties): Removed uppercase aliases 27254 from comments. 27255 272562005-03-28 Tom Tromey <tromey@redhat.com> 27257 27258 * java/net/URL.java (DEFAULT_SEARCH_PATH): Added 27259 org.metastatic.jessie. 27260 272612005-03-28 Tom Tromey <tromey@redhat.com> 27262 27263 * java/lang/ClassLoader.java (loadClass): Resolve class even if 27264 it was already found. 27265 272662005-03-28 Sven de Marothy <sven@physto.se> 27267 27268 * gnu/java/io/decode/DecoderUnicodeBig.java, 27269 * gnu/java/io/decode/DecoderUnicodeLittle.java, 27270 * gnu/java/io/encode/EncoderUnicodeBig.java, 27271 * gnu/java/io/encode/EncoderUnicodeLittle.java: 27272 New files. 27273 272742005-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org> 27275 27276 * doc/hacking.texinfo: 27277 Added note on reserved word usage. 27278 272792005-03-26 Dalibor Topic <robilad@kaffe.org> 27280 27281 * native/jni/java-nio/gnu_java_nio_VMSelector.c: 27282 Moved include statement for config.h to the top to 27283 fix the build on Darwin6. 27284 27285 Reported by: Riccardo Mottola <zuse@libero.it> 27286 272872005-03-26 Dalibor Topic <robilad@kaffe.org> 27288 27289 * native/jni/java-nio/gnu_java_nio_VMSelector.c: 27290 Include <sys/types.h> to fix build on OS X. 27291 27292 Reported by: Michael Franz <mvfranz@gmail.com> 27293 272942005-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org> 27295 27296 * java/text/DecimalFormat.java (parse): 27297 Check whether the positive suffix matches the pattern. 27298 272992005-03-26 Chris Burdess <dog@gnu.org> 27300 27301 * gnu/xml/dom/DomNode.java (notifyNode): grow listener array as 27302 required. 27303 273042005-03-26 Jeroen Frijters <jeroen@frijters.net> 27305 27306 * javax/imageio/spi/IIORegistry.java (IIORegistry): 27307 Don't assume that awt Toolkit is always ClasspathToolkit. 27308 273092005-03-26 Jeroen Frijters <jeroen@frijters.net> 27310 27311 * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int, 27312 ColorModel,byte[],int,int): Fixed byte to int conversion. 27313 273142005-03-23 Andrew John Hughes <gnu_andrew@member.fsf.org> 27315 27316 * gnu/xml/dom/html2/DomHTMLParser.java: 27317 Changed 'enum' references to become 'enumeration'. 27318 273192005-03-22 Archie Cobbs <archie@dellroad.org> 27320 27321 * configure.ac: Generate scripts/classpath.spec. 27322 * scripts/classpath.spec.in: New file. 27323 273242005-03-21 Audrius Meskauskas <audriusa@bluewin.ch> 27325 27326 * gnu/xml/dom/html2/DomHTMLParser.java: New file. 27327 * gnu/classpath/examples/html/Demo.java: New example. 27328 273292005-03-21 Sven de Marothy <sven@physto.se> 27330 27331 * gnu/classpath/SystemProperties.java: 27332 Add missing aliases for "UnicodeBigUnmarked" and 27333 UnicodeLittleUnmarked". 27334 273352005-03-21 Mark Wielaard <mark@klomp.org> 27336 27337 * doc/www.gnu.org/events/escape_fosdem05.wml: Add link to kaffe 27338 presentation. 27339 273402005-03-21 Andrew John Hughes <gnu_andrew@member.fsf.org> 27341 27342 * java/lang/Class.java: 27343 Implements java.lang.reflect.Type 27344 * java/lang/ClassLoader.java: 27345 (getResources(String)): No longer final. 27346 * java/lang/Enum.java: 27347 Added serialization UID. 27348 * java/lang/Thread.java: 27349 (destroy()): Deprecated. 27350 (Thread.State): Added serialization UID. 27351 273522005-03-19 Archie Cobbs <archie@dellroad.org> 27353 27354 * vm/reference/java/lang/VMClassLoader.java: handle ZIP files 27355 on the boot loader class path in getResources() 27356 273572005-03-19 Audrius Meskauskas <audriusa@bluewin.ch> 27358 27359 * org/omg/CORBA/AnySeqHolder.java, 27360 org/omg/CORBA/AnySeqHelper.java, 27361 org/omg/CORBA/CompletionStatusHelper.java: 27362 New files. 27363 273642005-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org> 27365 27366 * java/lang/IllegalArgumentException: 27367 (IllegalArgumentException(String, Throwable)): 27368 Implemented. 27369 (IllegalArgumentException(Throwable)): Likewise. 27370 (IllegalStateException(String, Throwable)): 27371 Implemented. 27372 (IllegalStateException(Throwable)): Likewise. 27373 (SecurityException(String, Throwable)): 27374 Implemented. 27375 (SecurityException(Throwable)): Likewise. 27376 (UnsupportedOperationException(String, Throwable)): 27377 Implemented. 27378 (UnsupportedOperationException(Throwable)): Likewise. 27379 273802005-03-18 Mark Wielaard <mark@klomp.org> 27381 27382 * doc/www/downloads/downloads.wml: Add 0.14. 27383 * doc/www/announce/20050226.wml: New file. 27384 273852005-03-18 Sven de Marothy <sven@physto.se> 27386 27387 * java/util/zip/GZIPInputStream.java: 27388 (GZIPInputStream): Read header in constructor. 27389 273902005-03-18 Audrius Meskauskas <audriusa@bluewin.ch> 27391 27392 * ChangeLog.usermap: New file (replacing). 27393 273942005-03-18 Audrius Meskauskas <audriusa@bluewin.ch> 27395 27396 * javax/swing/text/html/parser/Entity.java (getType): New method. 27397 * javax/swing/text/html/parser/DocumentParser.java: 27398 Inherit from javax.swing.text.html.parser.Parser. 27399 274002005-03-18 Robert Schuster <thebohemian@gmx> 27401 27402 * native/jni/java-nio/gnu_java_nio_VMSelector.c: Added important 27403 return statement after throwing exception. 27404 274052005-03-18 Robert Schuster <thebohemian@gmx> 27406 27407 * native/jni/java-nio/gnu_java_nio_VMSelector.c: Implemented 27408 Java_gnu_java_nio_VMSelector_select. 27409 * configure.ac: Added check for sys/select.h and strerro_r(). 27410 274112005-03-17 Mark Wielaard <mark@klomp.org> 27412 27413 * doc/www.gnu.org/newsitems.txt: Add 0.14 release announcement 27414 and link for the dead of the gui branch. 27415 274162005-03-17 Chris Burdess <dog@gnu.org> 27417 27418 * gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and 27419 check for HTML/XHTML namespace. 27420 274212005-03-16 Tom Tromey <tromey@redhat.com> 27422 27423 * gnu/java/lang/MainThread.java (MainThread): Load main class 27424 using system class loader. 27425 274262005-03-16 Archie Cobbs <archie@dellroad.org> 27427 27428 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c: use 27429 global native reference to wrap persistent jclass variable. 27430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: 27431 use DeleteLocalRef() to avoid exhausting local native references. 27432 274332005-03-16 Mark Wielaard <mark@klomp.org> 27434 27435 * doc/vmintegration.texinfo: Change input start to \input. 27436 274372005-03-16 Robert Schuster <thebohemian@gmx.net> 27438 27439 * doc/vmintegration.texinfo: Added explanation 27440 of gnu.classpath.boot.library.path property. 27441 274422005-03-16 Robert Schuster <thebohemian@gmx.net> 27443 27444 * java/lang/Runtime.java: Added support for 27445 gnu.classpath.boot.library.path system property. 27446 274472005-03-14 Chris Burdess <dog@gnu.org> 27448 27449 * gnu/xml/dom/DomImpl.java, 27450 gnu/xml/dom/html2/DomHTMLAnchorElement.java, 27451 gnu/xml/dom/html2/DomHTMLDocument.java, 27452 gnu/xml/dom/html2/DomHTMLElement.java, 27453 gnu/xml/dom/html2/DomHTMLFormElement.java, 27454 gnu/xml/dom/html2/DomHTMLFrameElement.java, 27455 gnu/xml/dom/html2/DomHTMLIFrameElement.java, 27456 gnu/xml/dom/html2/DomHTMLImpl.java, 27457 gnu/xml/dom/html2/DomHTMLInputElement.java, 27458 gnu/xml/dom/html2/DomHTMLObjectElement.java, 27459 gnu/xml/dom/html2/DomHTMLOptionElement.java, 27460 gnu/xml/dom/html2/DomHTMLSelectElement.java, 27461 gnu/xml/dom/html2/DomHTMLTableCellElement.java, 27462 gnu/xml/dom/html2/DomHTMLTableElement.java, 27463 gnu/xml/dom/html2/DomHTMLTableRowElement.java, 27464 gnu/xml/dom/html2/DomHTMLTableSectionElement.java, 27465 gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration, 27466 UI events, and tree utility functions. 27467 274682005-03-14 Patrik Reali <reali@acm.org> 27469 27470 * doc/www.gnu.org/newsitems.txt: news on gui branch and calientra 27471 * doc/www.gnu.org/docs/docs.wml: link to the wiki added 27472 * doc/www.gnu.org/faq/faq.wml: entry on tainted developers 27473 274742005-03-14 Audrius Meskauskas <audriusa@bluewin.ch> 27475 27476 * javax/swing/text/html/parser/Parser.java, 27477 javax/swing/text/html/parser/Entity.java: 27478 Inheriting from DTDConstants. 27479 * javax/swing/text/html/parser/AttributeList.java 27480 (getValues): Changed return type. 27481 * javax/swing/text/html/parser/DocumentParser 27482 (parse): Adding the callback parameter that receives 27483 the parsing events. 27484 274852005-03-13 Mark Wielaard <mark@klomp.org> 27486 27487 * configure.ac: Set version to 0.14+cvs. 27488 274892005-03-13 Audrius Meskauskas <audriusa@bluewin.ch> 27490 27491 * org/omg/CORBA/BAD_CONTEXT.java, 27492 org/omg/CORBA/BAD_INV_ORDER.java, 27493 org/omg/CORBA/BAD_OPERATION.java, 27494 org/omg/CORBA/BAD_TYPECODE.java, 27495 org/omg/CORBA/COMM_FAILURE.java, 27496 org/omg/CORBA/DATA_CONVERSION.java, 27497 org/omg/CORBA/FREE_MEM.java, 27498 org/omg/CORBA/IMP_LIMIT.java, 27499 org/omg/CORBA/INITIALIZE.java, 27500 org/omg/CORBA/INTERNAL.java, 27501 org/omg/CORBA/INTF_REPOS.java, 27502 org/omg/CORBA/INVALID_TRANSACTION.java, 27503 org/omg/CORBA/INV_FLAG.java, 27504 org/omg/CORBA/INV_IDENT.java, 27505 org/omg/CORBA/INV_OBJREF.java, 27506 org/omg/CORBA/INV_POLICY.java, 27507 org/omg/CORBA/NO_IMPLEMENT.java, 27508 org/omg/CORBA/NO_MEMORY.java, 27509 org/omg/CORBA/NO_PERMISSION.java, 27510 org/omg/CORBA/NO_RESPONSE.java, 27511 org/omg/CORBA/OBJECT_NOT_EXIST.java, 27512 org/omg/CORBA/OBJ_ADAPTER.java, 27513 org/omg/CORBA/PERSIST_STORE.java, 27514 org/omg/CORBA/TRANSACTION_REQUIRED.java, 27515 org/omg/CORBA/TRANSACTION_ROLLEDBACK.java, 27516 org/omg/CORBA/TRANSIENT.java: making constructors 27517 public. 27518 275192005-03-13 Audrius Meskauskas <audriusa@bluewin.ch> 27520 27521 * org/omg/CORBA/StringSeqHolder.java, 27522 org/omg/CORBA/WStringSeqHolder.java: 27523 replacing replacing CR CR LF by CR LF. 27524 * org/omg/CORBA/BAD_PARAM.java: making constructors 27525 public. 27526 275272005-03-13 Michael Koch <konqueror@gmx.de> 27528 27529 * org/omg/CORBA/ARG_IN.java: Removed redundant modifiers. 27530 * org/omg/CORBA/ARG_INOUT.java: Likewise. 27531 * org/omg/CORBA/ARG_OUT.java: Likewise. 27532 * org/omg/CORBA/Any.java: Fixed HTML tags. 27533 * org/omg/CORBA/Principal.java: Likewise. 27534 * org/omg/CORBA/BAD_PARAM.java: Reordered modifiers. 27535 * org/omg/CORBA/FixedHolder.java: Reworked imports. 27536 * org/omg/CORBA/StringSeqHolder.java: Likewise. 27537 * org/omg/CORBA/TypeCode.java: Likewise. 27538 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise. 27539 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise. 27540 * org/omg/CORBA/WStringSeqHolder.java: Likewise. 27541 * org/omg/CORBA/portable/OutputStream.java: Likewise. 27542 275432005-03-13 Michael Koch <konqueror@gmx.de> 27544 27545 * gnu/java/net/protocol/https/Handler.java: 27546 Reworked import statements. 27547 275482005-03-13 Michael Koch <konqueror@gmx.de> 27549 27550 * gnu/javax/swing/text/html/parser/HTML_401F.java, 27551 gnu/javax/swing/text/html/parser/gnuDTD.java, 27552 gnu/javax/swing/text/html/parser/models/node.java: 27553 Reworked import statements. 27554 275552005-03-13 Michael Koch <konqueror@gmx.de> 27556 27557 * gnu/xml/aelfred2/XmlParser.java: Fixed typo. 27558 275592005-03-13 Andrew John Hughes <gnu_andrew@member.fsf.org> 27560 27561 * gnu/javax/swing/text/html/parser/htmlAttributeSet.java: 27562 (getAttributeNames()): Replaced 'enum' with 'enumeration'. 27563 * gnu/javax/swing/text/html/parser/htmlValidator.java: 27564 (validateParameters(TagElement,htmlAttributeSet)): 27565 Replaced 'enum' with 'enumeration'. 27566 (validateAttribute(TagElement,htmlAttributeSet, 27567 Enumeration,Enumeration)): 27568 Likewise. 27569 275702005-03-12 Audrius Meskauskas <audriusa@bluewin.ch> 27571 27572 * org/omg/CORBA/StringSeqHelper.java, 27573 org/omg/CORBA/WStringSeqHelper.java: New files. 27574 275752005-03-12 Mark Wielaard <mark@klomp.org> 27576 27577 * doc/www.gnu.org/events/escape_fosdem05.wml: Add links to 27578 presentations. 27579 275802005-03-11 Chris Burdess <dog@gnu.org> 27581 27582 * gnu/xml/dom/html2/DomHTMLButtonElement.java, 27583 gnu/xml/dom/html2/DomHTMLCollection.java, 27584 gnu/xml/dom/html2/DomHTMLDocument.java, 27585 gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element 27586 types. 27587 * gnu/xml/dom/html2/DomHTMLDListElement.java, 27588 gnu/xml/dom/html2/DomHTMLDirectoryElement.java, 27589 gnu/xml/dom/html2/DomHTMLDivElement.java, 27590 gnu/xml/dom/html2/DomHTMLFieldSetElement.java, 27591 gnu/xml/dom/html2/DomHTMLFontElement.java, 27592 gnu/xml/dom/html2/DomHTMLFormElement.java, 27593 gnu/xml/dom/html2/DomHTMLFrameElement.java, 27594 gnu/xml/dom/html2/DomHTMLFrameSetElement.java, 27595 gnu/xml/dom/html2/DomHTMLHRElement.java, 27596 gnu/xml/dom/html2/DomHTMLHeadElement.java, 27597 gnu/xml/dom/html2/DomHTMLHeadingElement.java, 27598 gnu/xml/dom/html2/DomHTMLHtmlElement.java, 27599 gnu/xml/dom/html2/DomHTMLIFrameElement.java, 27600 gnu/xml/dom/html2/DomHTMLImageElement.java, 27601 gnu/xml/dom/html2/DomHTMLInputElement.java, 27602 gnu/xml/dom/html2/DomHTMLIsIndexElement.java, 27603 gnu/xml/dom/html2/DomHTMLLIElement.java, 27604 gnu/xml/dom/html2/DomHTMLLabelElement.java, 27605 gnu/xml/dom/html2/DomHTMLLegendElement.java, 27606 gnu/xml/dom/html2/DomHTMLLinkElement.java, 27607 gnu/xml/dom/html2/DomHTMLMapElement.java, 27608 gnu/xml/dom/html2/DomHTMLMenuElement.java, 27609 gnu/xml/dom/html2/DomHTMLMetaElement.java, 27610 gnu/xml/dom/html2/DomHTMLModElement.java, 27611 gnu/xml/dom/html2/DomHTMLOListElement.java, 27612 gnu/xml/dom/html2/DomHTMLObjectElement.java, 27613 gnu/xml/dom/html2/DomHTMLOptGroupElement.java, 27614 gnu/xml/dom/html2/DomHTMLOptionElement.java, 27615 gnu/xml/dom/html2/DomHTMLParagraphElement.java, 27616 gnu/xml/dom/html2/DomHTMLParamElement.java, 27617 gnu/xml/dom/html2/DomHTMLPreElement.java, 27618 gnu/xml/dom/html2/DomHTMLQuoteElement.java, 27619 gnu/xml/dom/html2/DomHTMLScriptElement.java, 27620 gnu/xml/dom/html2/DomHTMLSelectElement.java, 27621 gnu/xml/dom/html2/DomHTMLStyleElement.java, 27622 gnu/xml/dom/html2/DomHTMLTableCaptionElement.java, 27623 gnu/xml/dom/html2/DomHTMLTableCellElement.java, 27624 gnu/xml/dom/html2/DomHTMLTableColElement.java, 27625 gnu/xml/dom/html2/DomHTMLTableElement.java, 27626 gnu/xml/dom/html2/DomHTMLTableRowElement.java, 27627 gnu/xml/dom/html2/DomHTMLTableSectionElement.java, 27628 gnu/xml/dom/html2/DomHTMLTextAreaElement.java, 27629 gnu/xml/dom/html2/DomHTMLTitleElement.java, 27630 gnu/xml/dom/html2/DomHTMLUListElement.java: New files. 27631 276322005-03-11 Chris Burdess <dog@gnu.org> 27633 27634 * gnu/xml/aelfred2/SAXDriver.java: Corrected bug handling URI 27635 warnings. 27636 276372005-03-11 Audrius Meskauskas <audriusa@bluewin.ch> 27638 27639 * org/omg/CORBA/portable/InputStream.java (read_Context): 27640 following API, this must be concrete and unimplemented. 27641 276422005-03-11 Audrius Meskauskas <audriusa@bluewin.ch> 27643 27644 * org/omg/CORBA/BooleanSeqHelper.java, 27645 org/omg/CORBA/CharSeqHelper.java, 27646 org/omg/CORBA/DoubleSeqHelper.java, 27647 org/omg/CORBA/FloatSeqHelper.java, 27648 org/omg/CORBA/LongLongSeqHelper.java, 27649 org/omg/CORBA/LongSeqHelper.java, 27650 org/omg/CORBA/OctetSeqHelper.java, 27651 org/omg/CORBA/ShortSeqHelper.java, 27652 org/omg/CORBA/ULongLongSeqHelper.java, 27653 org/omg/CORBA/ULongSeqHelper.java, 27654 org/omg/CORBA/UShortSeqHelper.java, 27655 org/omg/CORBA/WCharSeqHelper.java, 27656 org/omg/CORBA/StringSeqHelper.java, 27657 org/omg/CORBA/WStringSeqHelper.java: 27658 New sequence holders. 27659 * org/omg/CORBA/StringSeqHelper.java, 27660 org/omg/CORBA/WStringSeqHelper.java: New helpers. 27661 276622005-03-11 Archie Cobbs <archie@dellroad.org> 27663 27664 * native/jni/java-lang/java_lang_VMProcess.c: Fix segfault 27665 in the case that a zero length command array is passed. 27666 276672005-03-11 Andreas Tobler <a.tobler@schweiz.ch> 27668 27669 * native/fdlibm/ieeefp.h: Merge m32r bits from libgcj to keep the diff 27670 minimal. 27671 276722005-03-11 Roman Kennke <roman@kennke.org> 27673 27674 * java/awt/Compmonent.java 27675 (setComponentOrientation): The variable oldOrientation is initialized 27676 too early. This is fixed. 27677 276782005-03-11 Roman Kennke <roman@kennke.org> 27679 27680 * java/awt/Compmonent.java 27681 (setComponentOrientation): Made this property firing a 27682 PropertyChangeEvent. 27683 276842005-03-11 Robert Schuster <thebohemian@gmx.net> 27685 27686 * java/beans/EventHandler.java: Reworked documentation. 27687 (invoke): Fixed behavior to match spec. 27688 276892005-03-11 Jeroen Frijters <jeroen@frijters.net> 27690 27691 * java/lang/Class.java (newInstance): Fixed previous patch. 27692 276932005-03-11 Jeroen Frijters <jeroen@frijters.net> 27694 27695 * java/lang/Class.java (newInstance): Fix bug related to package 27696 private classes. 27697 276982005-03-10 Andrew Haley <aph@redhat.com> 27699 27700 * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom): 27701 New. 27702 (smallTransferTo): New. 27703 (transferFrom): Loop around smallTransferFrom, copying pageSize 27704 bytes each time. 27705 (transferTo): Likewise. 27706 277072005-03-10 Tom Tromey <tromey@redhat.com> 27708 27709 * java/io/InputStreamReader.java: Indentation fixlets. Added 27710 '@since' markers. 27711 277122005-03-10 Chris Burdess <dog@bluezoo.org> 27713 27714 * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if 27715 not currently parsing the DTD. 27716 277172005-03-10 Audrius Meskauskas <audriusa@bluewin.ch> 27718 27719 * testsuite/javax.swing.text.html.parser/ 27720 AllParserTests.java, 27721 testsuite/javax.swing.text.html.parser/ 27722 test/gnu/javax/swing/text/html/HTML_Test.java, 27723 testsuite/javax.swing.text.html.parser/ 27724 test/gnu/javax/swing/text/html/parser/AttributeList_test.java, 27725 testsuite/javax.swing.text.html.parser/ 27726 test/gnu/javax/swing/text/html/parser/DTD_test.java, 27727 testsuite/javax.swing.text.html.parser/ 27728 test/gnu/javax/swing/text/html/parser/Element_Test.java, 27729 testsuite/javax.swing.text.html.parser/ 27730 test/gnu/javax/swing/text/html/parser/Entity_Test.java, 27731 testsuite/javax.swing.text.html.parser/ 27732 test/gnu/javax/swing/text/html/parser/HTML_parsing.java, 27733 testsuite/javax.swing.text.html.parser/ 27734 test/gnu/javax/swing/text/html/parser/HTML_randomTable.java, 27735 testsuite/javax.swing.text.html.parser/ 27736 test/gnu/javax/swing/text/html/parser/parameterDefaulter_Test.java, 27737 testsuite/javax.swing.text.html.parser/ 27738 test/gnu/javax/swing/text/html/parser/Parser_Test.java, 27739 testsuite/javax.swing.text.html.parser/ 27740 test/gnu/javax/swing/text/html/parser/ParserEntityResolverTest.java, 27741 testsuite/javax.swing.text.html.parser/ 27742 test/gnu/javax/swing/text/html/parser/ParserTest.java, 27743 testsuite/javax.swing.text.html.parser/ 27744 test/gnu/javax/swing/text/html/parser/supplementaryNotifications.java, 27745 testsuite/javax.swing.text.html.parser/ 27746 test/gnu/javax/swing/text/html/parser/TagElement_Test.java, 27747 testsuite/javax.swing.text.html.parser/ 27748 test/gnu/javax/swing/text/html/parser/TestCase.java, 27749 testsuite/javax.swing.text.html.parser/ 27750 test/gnu/javax/swing/text/html/parser/Text.java, 27751 testsuite/javax.swing.text.html.parser/ 27752 test/gnu/javax/swing/text/html/parser/textPreProcessor_Test.java, 27753 testsuite/javax.swing.text.html.parser/ 27754 test/gnu/javax/swing/text/html/parser/Token_locations.java, 27755 testsuite/javax.swing.text.html.parser/ 27756 test/gnu/javax/swing/text/html/parser/low/Buffer_Test.java, 27757 testsuite/javax.swing.text.html.parser/ 27758 test/gnu/javax/swing/text/html/parser/low/Constants_Test.java, 27759 testsuite/javax.swing.text.html.parser/ 27760 test/gnu/javax/swing/text/html/parser/low/ReaderTokenizer_Test.java: 27761 New Classpath specific tests for the parser classes in gnu namespace. 27762 277632005-03-10 Audrius Meskauskas <audriusa@bluewin.ch> 27764 27765 * javax/swing/text/ChangedCharSetException.java, 27766 javax/swing/text/html/HTMLEditorKit.java, 27767 javax/swing/text/html/HTMLFrameHyperlinkEvent.java, 27768 javax/swing/text/html/parser/AttributeList.java, 27769 javax/swing/text/html/parser/ContentModel.java, 27770 javax/swing/text/html/parser/DocumentParser.java, 27771 javax/swing/text/html/parser/DTD.java, 27772 javax/swing/text/html/parser/DTDConstants.java, 27773 javax/swing/text/html/parser/Element.java, 27774 javax/swing/text/html/parser/Entity.java, 27775 javax/swing/text/html/parser/Parser.java, 27776 javax/swing/text/html/parser/TagElement.java, 27777 gnu/javax/swing/text/html/package.html, 27778 gnu/javax/swing/text/html/parser/gnuDTD.java, 27779 gnu/javax/swing/text/html/parser/HTML_401F.java, 27780 gnu/javax/swing/text/html/parser/htmlAttributeSet.java, 27781 gnu/javax/swing/text/html/parser/htmlValidator.java, 27782 gnu/javax/swing/text/html/parser/package.html, 27783 gnu/javax/swing/text/html/parser/models/list.java, 27784 gnu/javax/swing/text/html/parser/models/node.java, 27785 gnu/javax/swing/text/html/parser/models/noTagModel.java, 27786 gnu/javax/swing/text/html/parser/models/package.html, 27787 gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java, 27788 gnu/javax/swing/text/html/parser/models/TableRowContentModel.java, 27789 gnu/javax/swing/text/html/parser/models/transformer.java, 27790 gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java, 27791 gnu/javax/swing/text/html/parser/support/package.html, 27792 gnu/javax/swing/text/html/parser/support/parameterDefaulter.java, 27793 gnu/javax/swing/text/html/parser/support/Parser.java, 27794 gnu/javax/swing/text/html/parser/support/textPreProcessor.java, 27795 gnu/javax/swing/text/html/parser/support/low/Buffer.java, 27796 gnu/javax/swing/text/html/parser/support/low/Constants.java, 27797 gnu/javax/swing/text/html/parser/support/low/Location.java, 27798 gnu/javax/swing/text/html/parser/support/low/node.java, 27799 gnu/javax/swing/text/html/parser/support/low/package.html, 27800 gnu/javax/swing/text/html/parser/support/low/ParseException.java, 27801 gnu/javax/swing/text/html/parser/support/low/pattern.java, 27802 gnu/javax/swing/text/html/parser/support/low/Queue.java, 27803 gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java: 27804 New files. 27805 * javax/swing/text/html/HTML.java, 27806 javax/swing/text/html/parser/ParserDelegator.java: 27807 New files (replacing). 27808 * javax/swing/text/html/package.html, 27809 javax/swing/text/html/parser/package.html: Documenting the 27810 packages. 27811 278122005-03-09 Sven de Marothy <sven@physto.se> 27813 27814 * java/util/Calendar.java 27815 (set): Use starting day of week when one is needed if none is given. 27816 * java/text/SimpleDateFormat.java 27817 (parse): Handle 1-12 and 1-24 timestamps correctly. 27818 * java/util/GregorianCalendar 27819 (computeTime, computeFields): HOUR should be in 0-11 format. 27820 (nonLeniencyCheck): Adjust leniency checking to that fact. 27821 278222005-03-09 Sven de Marothy <sven@physto.se> 27823 27824 * gnu/java/locale/Calendar.java, 27825 gnu/java/locale/Calendar_nl.java, 27826 gnu/java/locale/Calendar_de.java, 27827 gnu/java/locale/Calendar_en.java: 27828 Removed. 27829 278302005-03-09 Sven de Marothy <sven@physto.se> 27831 27832 * java/util/Calendar.java: 27833 Updated to use gnu.java.locale.LocaleInformation for locale info. 27834 * java/util/GregorianCalendar.java: 27835 Made gregorianCutover a hard-coded constant. It is not localized. 27836 278372005-03-09 Chris Burdess <dog@gnu.org> 27838 27839 * gnu/xml/dom/html2/DomHTMLAnchorElement.java, 27840 gnu/xml/dom/html2/DomHTMLAppletElement.java, 27841 gnu/xml/dom/html2/DomHTMLAreaElement.java, 27842 gnu/xml/dom/html2/DomHTMLBaseElement.java, 27843 gnu/xml/dom/html2/DomHTMLBaseFontElement.java, 27844 gnu/xml/dom/html2/DomHTMLBodyElement.java, 27845 gnu/xml/dom/html2/DomHTMLBRElement.java, 27846 gnu/xml/dom/html2/DomHTMLButtonElement.java, 27847 gnu/xml/dom/html2/DomHTMLCollection.java, 27848 gnu/xml/dom/html2/DomHTMLDocument.java, 27849 gnu/xml/dom/html2/DomHTMLElement.java: New files. 27850 278512005-03-09 Michael Koch <konqueror@gmx.de> 27852 27853 * gnu/java/locale/LocaleInformation.java, 27854 gnu/java/locale/LocaleInformation_aa.java, 27855 gnu/java/locale/LocaleInformation_aa_DJ.java, 27856 gnu/java/locale/LocaleInformation_aa_ER.java, 27857 gnu/java/locale/LocaleInformation_aa_ER_SAAHO.java, 27858 gnu/java/locale/LocaleInformation_aa_ET.java, 27859 gnu/java/locale/LocaleInformation_af.java, 27860 gnu/java/locale/LocaleInformation_af_ZA.java, 27861 gnu/java/locale/LocaleInformation_am.java, 27862 gnu/java/locale/LocaleInformation_am_ET.java, 27863 gnu/java/locale/LocaleInformation_ar.java, 27864 gnu/java/locale/LocaleInformation_ar_DZ.java, 27865 gnu/java/locale/LocaleInformation_ar_IN.java, 27866 gnu/java/locale/LocaleInformation_ar_IQ.java, 27867 gnu/java/locale/LocaleInformation_ar_JO.java, 27868 gnu/java/locale/LocaleInformation_ar_KW.java, 27869 gnu/java/locale/LocaleInformation_ar_LB.java, 27870 gnu/java/locale/LocaleInformation_ar_LY.java, 27871 gnu/java/locale/LocaleInformation_ar_MA.java, 27872 gnu/java/locale/LocaleInformation_ar_QA.java, 27873 gnu/java/locale/LocaleInformation_ar_SA.java, 27874 gnu/java/locale/LocaleInformation_ar_SY.java, 27875 gnu/java/locale/LocaleInformation_ar_TN.java, 27876 gnu/java/locale/LocaleInformation_ar_YE.java, 27877 gnu/java/locale/LocaleInformation_as.java, 27878 gnu/java/locale/LocaleInformation_as_IN.java, 27879 gnu/java/locale/LocaleInformation_az_Cyrl.java, 27880 gnu/java/locale/LocaleInformation_be.java, 27881 gnu/java/locale/LocaleInformation_be_BY.java, 27882 gnu/java/locale/LocaleInformation_bg.java, 27883 gnu/java/locale/LocaleInformation_bg_BG.java, 27884 gnu/java/locale/LocaleInformation_bn.java, 27885 gnu/java/locale/LocaleInformation_bn_IN.java, 27886 gnu/java/locale/LocaleInformation_ca.java, 27887 gnu/java/locale/LocaleInformation_ca_ES.java, 27888 gnu/java/locale/LocaleInformation_cs.java, 27889 gnu/java/locale/LocaleInformation_cs_CZ.java, 27890 gnu/java/locale/LocaleInformation_cy.java, 27891 gnu/java/locale/LocaleInformation_cy_GB.java, 27892 gnu/java/locale/LocaleInformation_da.java, 27893 gnu/java/locale/LocaleInformation_da_DK.java, 27894 gnu/java/locale/LocaleInformation_de.java, 27895 gnu/java/locale/LocaleInformation_de_AT.java, 27896 gnu/java/locale/LocaleInformation_de_BE.java, 27897 gnu/java/locale/LocaleInformation_de_CH.java, 27898 gnu/java/locale/LocaleInformation_de_DE.java, 27899 gnu/java/locale/LocaleInformation_de_LI.java, 27900 gnu/java/locale/LocaleInformation_de_LU.java, 27901 gnu/java/locale/LocaleInformation_dv.java, 27902 gnu/java/locale/LocaleInformation_dv_MV.java, 27903 gnu/java/locale/LocaleInformation_dz.java, 27904 gnu/java/locale/LocaleInformation_dz_BT.java, 27905 gnu/java/locale/LocaleInformation_el.java, 27906 gnu/java/locale/LocaleInformation_el_GR.java, 27907 gnu/java/locale/LocaleInformation_en.java, 27908 gnu/java/locale/LocaleInformation_en_AS.java, 27909 gnu/java/locale/LocaleInformation_en_AU.java, 27910 gnu/java/locale/LocaleInformation_en_BE.java, 27911 gnu/java/locale/LocaleInformation_en_BW.java, 27912 gnu/java/locale/LocaleInformation_en_BZ.java, 27913 gnu/java/locale/LocaleInformation_en_CA.java, 27914 gnu/java/locale/LocaleInformation_en_GB.java, 27915 gnu/java/locale/LocaleInformation_en_GU.java, 27916 gnu/java/locale/LocaleInformation_en_HK.java, 27917 gnu/java/locale/LocaleInformation_en_IE.java, 27918 gnu/java/locale/LocaleInformation_en_IN.java, 27919 gnu/java/locale/LocaleInformation_en_MH.java, 27920 gnu/java/locale/LocaleInformation_en_MP.java, 27921 gnu/java/locale/LocaleInformation_en_MT.java, 27922 gnu/java/locale/LocaleInformation_en_NZ.java, 27923 gnu/java/locale/LocaleInformation_en_PH.java, 27924 gnu/java/locale/LocaleInformation_en_PK.java, 27925 gnu/java/locale/LocaleInformation_en_SG.java, 27926 gnu/java/locale/LocaleInformation_en_UM.java, 27927 gnu/java/locale/LocaleInformation_en_US.java, 27928 gnu/java/locale/LocaleInformation_en_US_POSIX.java, 27929 gnu/java/locale/LocaleInformation_en_VI.java, 27930 gnu/java/locale/LocaleInformation_en_ZA.java, 27931 gnu/java/locale/LocaleInformation_en_ZW.java, 27932 gnu/java/locale/LocaleInformation_eo.java, 27933 gnu/java/locale/LocaleInformation_es.java, 27934 gnu/java/locale/LocaleInformation_es_AR.java, 27935 gnu/java/locale/LocaleInformation_es_BO.java, 27936 gnu/java/locale/LocaleInformation_es_CL.java, 27937 gnu/java/locale/LocaleInformation_es_CO.java, 27938 gnu/java/locale/LocaleInformation_es_CR.java, 27939 gnu/java/locale/LocaleInformation_es_DO.java, 27940 gnu/java/locale/LocaleInformation_es_EC.java, 27941 gnu/java/locale/LocaleInformation_es_ES.java, 27942 gnu/java/locale/LocaleInformation_es_GT.java, 27943 gnu/java/locale/LocaleInformation_es_HN.java, 27944 gnu/java/locale/LocaleInformation_es_MX.java, 27945 gnu/java/locale/LocaleInformation_es_NI.java, 27946 gnu/java/locale/LocaleInformation_es_PA.java, 27947 gnu/java/locale/LocaleInformation_es_PE.java, 27948 gnu/java/locale/LocaleInformation_es_PR.java, 27949 gnu/java/locale/LocaleInformation_es_PY.java, 27950 gnu/java/locale/LocaleInformation_es_SV.java, 27951 gnu/java/locale/LocaleInformation_es_US.java, 27952 gnu/java/locale/LocaleInformation_es_UY.java, 27953 gnu/java/locale/LocaleInformation_es_VE.java, 27954 gnu/java/locale/LocaleInformation_et.java, 27955 gnu/java/locale/LocaleInformation_et_EE.java, 27956 gnu/java/locale/LocaleInformation_eu.java, 27957 gnu/java/locale/LocaleInformation_eu_ES.java, 27958 gnu/java/locale/LocaleInformation_fa.java, 27959 gnu/java/locale/LocaleInformation_fa_AF.java, 27960 gnu/java/locale/LocaleInformation_fa_IR.java, 27961 gnu/java/locale/LocaleInformation_fi.java, 27962 gnu/java/locale/LocaleInformation_fi_FI.java, 27963 gnu/java/locale/LocaleInformation_fo.java, 27964 gnu/java/locale/LocaleInformation_fo_FO.java, 27965 gnu/java/locale/LocaleInformation_fr.java, 27966 gnu/java/locale/LocaleInformation_fr_BE.java, 27967 gnu/java/locale/LocaleInformation_fr_CA.java, 27968 gnu/java/locale/LocaleInformation_fr_CH.java, 27969 gnu/java/locale/LocaleInformation_fr_LU.java, 27970 gnu/java/locale/LocaleInformation_ga.java, 27971 gnu/java/locale/LocaleInformation_ga_IE.java, 27972 gnu/java/locale/LocaleInformation_gl.java, 27973 gnu/java/locale/LocaleInformation_gl_ES.java, 27974 gnu/java/locale/LocaleInformation_gu.java, 27975 gnu/java/locale/LocaleInformation_gu_IN.java, 27976 gnu/java/locale/LocaleInformation_gv.java, 27977 gnu/java/locale/LocaleInformation_gv_GB.java, 27978 gnujava/locale/LocaleInformation_he.java, 27979 gnu/java/locale/LocaleInformation_he_IL.java, 27980 gnu/java/locale/LocaleInformation_hi.java, 27981 gnu/java/locale/LocaleInformation_hi_IN.java, 27982 gnu/java/locale/LocaleInformation_hr.java, 27983 gnu/java/locale/LocaleInformation_hu.java, 27984 gnu/java/locale/LocaleInformation_hu_HU.java, 27985 gnu/java/locale/LocaleInformation_hy.java, 27986 gnu/java/locale/LocaleInformation_hy_AM.java, 27987 gnu/java/locale/LocaleInformation_hy_AM_REVISED.java, 27988 gnu/java/locale/LocaleInformation_id.java, 27989 gnu/java/locale/LocaleInformation_id_ID.java, 27990 gnu/java/locale/LocaleInformation_is.java, 27991 gnu/java/locale/LocaleInformation_is_IS.java, 27992 gnu/java/locale/LocaleInformation_it.java, 27993 gnu/java/locale/LocaleInformation_it_CH.java, 27994 gnu/java/locale/LocaleInformation_it_IT.java, 27995 gnu/java/locale/LocaleInformation_iu.java, 27996 gnu/java/locale/LocaleInformation_ja.java, 27997 gnu/java/locale/LocaleInformation_ja_JP.java, 27998 gnu/java/locale/LocaleInformation_ka.java, 27999 gnu/java/locale/LocaleInformation_kk.java, 28000 gnu/java/locale/LocaleInformation_kk_KZ.java, 28001 gnu/java/locale/LocaleInformation_kl.java, 28002 gnu/java/locale/LocaleInformation_kl_GL.java, 28003 gnu/java/locale/LocaleInformation_km.java, 28004 gnu/java/locale/LocaleInformation_km_KH.java, 28005 gnu/java/locale/LocaleInformation_kn.java, 28006 gnu/java/locale/LocaleInformation_kn_IN.java, 28007 gnu/java/locale/LocaleInformation_ko.java, 28008 gnu/java/locale/LocaleInformation_ko_KR.java, 28009 gnu/java/locale/LocaleInformation_kw.java, 28010 gnu/java/locale/LocaleInformation_kw_GB.java, 28011 gnu/java/locale/LocaleInformation_ky.java, 28012 gnu/java/locale/LocaleInformation_lo.java, 28013 gnu/java/locale/LocaleInformation_lo_LA.java, 28014 gnu/java/locale/LocaleInformation_lt.java, 28015 gnu/java/locale/LocaleInformation_lt_LT.java, 28016 gnu/java/locale/LocaleInformation_lv.java, 28017 gnu/java/locale/LocaleInformation_lv_LV.java, 28018 gnu/java/locale/LocaleInformation_mk.java, 28019 gnu/java/locale/LocaleInformation_ml.java, 28020 gnu/java/locale/LocaleInformation_ml_IN.java, 28021 gnu/java/locale/LocaleInformation_mn.java, 28022 gnu/java/locale/LocaleInformation_mn_MN.java, 28023 gnu/java/locale/LocaleInformation_mr.java, 28024 gnu/java/locale/LocaleInformation_mr_IN.java, 28025 gnu/java/locale/LocaleInformation_ms.java, 28026 gnu/java/locale/LocaleInformation_ms_BN.java, 28027 gnu/java/locale/LocaleInformation_ms_MY.java, 28028 gnu/java/locale/LocaleInformation_mt.java, 28029 gnu/java/locale/LocaleInformation_mt_MT.java, 28030 gnu/java/locale/LocaleInformation_nb.java, 28031 gnu/java/locale/LocaleInformation_nb_NO.java, 28032 gnu/java/locale/LocaleInformation_nl.java, 28033 gnu/java/locale/LocaleInformation_nl_BE.java, 28034 gnu/java/locale/LocaleInformation_nl_NL.java, 28035 gnu/java/locale/LocaleInformation_nn.java, 28036 gnu/java/locale/LocaleInformation_nn_NO.java, 28037 gnu/java/locale/LocaleInformation_om.java, 28038 gnu/java/locale/LocaleInformation_om_ET.java, 28039 gnu/java/locale/LocaleInformation_om_KE.java, 28040 gnu/java/locale/LocaleInformation_or.java, 28041 gnu/java/locale/LocaleInformation_or_IN.java, 28042 gnu/java/locale/LocaleInformation_pa.java, 28043 gnu/java/locale/LocaleInformation_pa_IN.java, 28044 gnu/java/locale/LocaleInformation_pl.java, 28045 gnu/java/locale/LocaleInformation_pl_PL.java, 28046 gnu/java/locale/LocaleInformation_ps.java, 28047 gnu/java/locale/LocaleInformation_ps_AF.java, 28048 gnu/java/locale/LocaleInformation_pt.java, 28049 gnu/java/locale/LocaleInformation_pt_BR.java, 28050 gnu/java/locale/LocaleInformation_pt_PT.java, 28051 gnu/java/locale/LocaleInformation_ro.java, 28052 gnu/java/locale/LocaleInformation_ro_RO.java, 28053 gnu/java/locale/LocaleInformation_ru.java, 28054 gnu/java/locale/LocaleInformation_ru_RU.java, 28055 gnu/java/locale/LocaleInformation_ru_UA.java, 28056 gnu/java/locale/LocaleInformation_sa.java, 28057 gnu/java/locale/LocaleInformation_sa_IN.java, 28058 gnu/java/locale/LocaleInformation_sk.java, 28059 gnu/java/locale/LocaleInformation_sk_SK.java, 28060 gnu/java/locale/LocaleInformation_sl.java, 28061 gnu/java/locale/LocaleInformation_so.java, 28062 gnu/java/locale/LocaleInformation_so_DJ.java, 28063 gnu/java/locale/LocaleInformation_so_ET.java, 28064 gnu/java/locale/LocaleInformation_so_KE.java, 28065 gnu/java/locale/LocaleInformation_so_SO.java, 28066 gnu/java/locale/LocaleInformation_sq.java, 28067 gnu/java/locale/LocaleInformation_sq_AL.java, 28068 gnu/java/locale/LocaleInformation_sr.java, 28069 gnu/java/locale/LocaleInformation_sr_Latn.java, 28070 gnu/java/locale/LocaleInformation_sv.java, 28071 gnu/java/locale/LocaleInformation_sv_FI.java, 28072 gnu/java/locale/LocaleInformation_sv_SE.java, 28073 gnu/java/locale/LocaleInformation_sw.java, 28074 gnu/java/locale/LocaleInformation_sw_KE.java, 28075 gnu/java/locale/LocaleInformation_sw_TZ.java, 28076 gnu/java/locale/LocaleInformation_ta.java, 28077 gnu/java/locale/LocaleInformation_ta_IN.java, 28078 gnu/java/locale/LocaleInformation_te.java, 28079 gnu/java/locale/LocaleInformation_te_IN.java, 28080 gnu/java/locale/LocaleInformation_th.java, 28081 gnu/java/locale/LocaleInformation_th_TH.java, 28082 gnu/java/locale/LocaleInformation_ti.java, 28083 gnu/java/locale/LocaleInformation_ti_ER.java, 28084 gnu/java/locale/LocaleInformation_ti_ET.java, 28085 gnu/java/locale/LocaleInformation_tr.java, 28086 gnu/java/locale/LocaleInformation_tr_TR.java, 28087 gnu/java/locale/LocaleInformation_tt.java, 28088 gnu/java/locale/LocaleInformation_tt_RU.java, 28089 gnu/java/locale/LocaleInformation_uk.java, 28090 gnu/java/locale/LocaleInformation_uk_UA.java, 28091 gnu/java/locale/LocaleInformation_ur.java, 28092 gnu/java/locale/LocaleInformation_uz.java, 28093 gnu/java/locale/LocaleInformation_uz_AF.java, 28094 gnu/java/locale/LocaleInformation_vi.java, 28095 gnu/java/locale/LocaleInformation_zh.java, 28096 gnu/java/locale/LocaleInformation_zh_CN_Hans.java, 28097 gnu/java/locale/LocaleInformation_zh_HK_Hant.java, 28098 gnu/java/locale/LocaleInformation_zh_Hant.java, 28099 gnu/java/locale/LocaleInformation_zh_MO_Hant.java, 28100 gnu/java/locale/LocaleInformation_zh_SG_Hans.java, 28101 gnu/java/locale/LocaleInformation_zh_TW_Hant.java: 28102 Regenerated with current gnu.localegen. 28103 281042005-03-09 Tom Tromey <tromey@redhat.com> 28105 28106 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'. 28107 (toString): Synchronize. 28108 281092005-03-09 Michael Koch <konqueror@gmx.de> 28110 28111 * org/omg/CORBA/ARG_IN.java, 28112 org/omg/CORBA/ARG_INOUT.java, 28113 org/omg/CORBA/ARG_OUT.java, 28114 org/omg/CORBA/Any.java, 28115 org/omg/CORBA/AnyHolder.java, 28116 org/omg/CORBA/BAD_CONTEXT.java, 28117 org/omg/CORBA/BAD_INV_ORDER.java, 28118 org/omg/CORBA/BAD_OPERATION.java, 28119 org/omg/CORBA/BAD_PARAM.java, 28120 org/omg/CORBA/BAD_TYPECODE.java, 28121 org/omg/CORBA/BooleanHolder.java, 28122 org/omg/CORBA/BooleanSeqHolder.java, 28123 org/omg/CORBA/Bounds.java, 28124 org/omg/CORBA/ByteHolder.java, 28125 org/omg/CORBA/COMM_FAILURE.java, 28126 org/omg/CORBA/CharHolder.java, 28127 org/omg/CORBA/CharSeqHolder.java, 28128 org/omg/CORBA/CompletionStatus.java, 28129 org/omg/CORBA/Context.java, 28130 org/omg/CORBA/ContextList.java, 28131 org/omg/CORBA/DATA_CONVERSION.java, 28132 org/omg/CORBA/DoubleHolder.java, 28133 org/omg/CORBA/DoubleSeqHolder.java, 28134 org/omg/CORBA/FREE_MEM.java, 28135 org/omg/CORBA/FixedHolder.java, 28136 org/omg/CORBA/FloatHolder.java, 28137 org/omg/CORBA/FloatSeqHolder.java, 28138 org/omg/CORBA/IDLEntity.java, 28139 org/omg/CORBA/IMP_LIMIT.java, 28140 org/omg/CORBA/INITIALIZE.java, 28141 org/omg/CORBA/INTERNAL.java, 28142 org/omg/CORBA/INTF_REPOS.java, 28143 org/omg/CORBA/INVALID_TRANSACTION.java, 28144 org/omg/CORBA/INV_FLAG.java, 28145 org/omg/CORBA/INV_IDENT.java, 28146 org/omg/CORBA/INV_OBJREF.java, 28147 org/omg/CORBA/INV_POLICY.java, 28148 org/omg/CORBA/IntHolder.java, 28149 org/omg/CORBA/LongHolder.java, 28150 org/omg/CORBA/LongLongSeqHolder.java, 28151 org/omg/CORBA/LongSeqHolder.java, 28152 org/omg/CORBA/MARSHAL.java, 28153 org/omg/CORBA/NO_IMPLEMENT.java, 28154 org/omg/CORBA/NO_MEMORY.java, 28155 org/omg/CORBA/NO_PERMISSION.java, 28156 org/omg/CORBA/NO_RESPONSE.java, 28157 org/omg/CORBA/NamedValue.java, 28158 org/omg/CORBA/OBJECT_NOT_EXIST.java, 28159 org/omg/CORBA/OBJ_ADAPTER.java, 28160 org/omg/CORBA/ORB.java, 28161 org/omg/CORBA/Object.java, 28162 org/omg/CORBA/OctetSeqHolder.java, 28163 org/omg/CORBA/PERSIST_STORE.java, 28164 org/omg/CORBA/Principal.java, 28165 org/omg/CORBA/ShortHolder.java, 28166 org/omg/CORBA/ShortSeqHolder.java, 28167 org/omg/CORBA/StringHolder.java, 28168 org/omg/CORBA/SystemException.java, 28169 org/omg/CORBA/TCKind.java, 28170 org/omg/CORBA/TRANSACTION_REQUIRED.java, 28171 org/omg/CORBA/TRANSACTION_ROLLEDBACK.java, 28172 org/omg/CORBA/TRANSIENT.java, 28173 org/omg/CORBA/TypeCode.java, 28174 org/omg/CORBA/TypeCodeHolder.java, 28175 org/omg/CORBA/TypeCodePackage/BadKind.java, 28176 org/omg/CORBA/TypeCodePackage/Bounds.java, 28177 org/omg/CORBA/ULongLongSeqHolder.java, 28178 org/omg/CORBA/ULongSeqHolder.java, 28179 org/omg/CORBA/UNKNOWN.java, 28180 org/omg/CORBA/UShortSeqHolder.java, 28181 org/omg/CORBA/UserException.java, 28182 org/omg/CORBA/WCharSeqHolder.java, 28183 org/omg/CORBA/portable/IDLEntity.java, 28184 org/omg/CORBA/portable/InputStream.java, 28185 org/omg/CORBA/portable/OutputStream.java, 28186 org/omg/CORBA/portable/Streamable.java: 28187 Use our standard copyright header. 28188 281892005-03-09 Michael Koch <konqueror@gmx.de> 28190 28191 * org/omg/CORBA/AnyHolder.java: Added missing import. 28192 281932005-03-09 Robert Schuster <thebohemian@gmx.net> 28194 28195 * java/awt/AWTEvent.java (toString): Added case 28196 for source not being an AWT component. 28197 281982005-03-08 Audrius Meskauskas <audriusa@bluewin.ch> 28199 28200 * org/omg/CORBA/BooleanHolder.java, 28201 org/omg/CORBA/ByteHolder.java, 28202 org/omg/CORBA/CharHolder.java, 28203 org/omg/CORBA/DoubleHolder.java, 28204 org/omg/CORBA/FixedHolder.java, 28205 org/omg/CORBA/FloatHolder.java, 28206 org/omg/CORBA/IntHolder.java, 28207 org/omg/CORBA/LongHolder.java, 28208 org/omg/CORBA/ShortHolder.java, 28209 org/omg/CORBA/StringHolder.java, 28210 org/omg/CORBA/TypeCodeHolder.java: 28211 Fixing the _read method. 28212 282132005-03-08 Audrius Meskauskas <audriusa@bluewin.ch> 28214 28215 * org/omg/CORBA/NamedValue.java, 28216 org/omg/CORBA/ARG_IN.java, 28217 org/omg/CORBA/ARG_OUT.java, 28218 org/omg/CORBA/ARG_INOUT.java: 28219 New files. 28220 282212005-03-08 Audrius Meskauskas <audriusa@bluewin.ch> 28222 * org/omg/CORBA/AnyHolder.java: New file. 28223 282242005-03-08 David Gilbert <david.gilbert@object-refinery.com> 28225 28226 * java/awt/Font.java (decode): Handle null argument and allow 28227 space as delimiter. 28228 282292005-03-07 Chris Burdess <dog@gnu.org> 28230 28231 * gnu/java/net/protocol/https/Handler.java: New file. 28232 282332005-03-07 Jeroen Frijters <jeroen@frijters.net> 28234 28235 * java/io/DataInputStream.java (ignoreInitialNewline): Removed 28236 (readLine): Changed newline handling. 28237 282382005-03-07 Jeroen Frijters <jeroen@frijters.net> 28239 28240 * java/net/URI.java (AUTHORITY_REGEXP): Corrected regexp. 28241 (AUTHORITY_USERINFO_GROUP,AUTHORITY_HOST_GROUP,AUTHORITY_PORT_GROUP): 28242 Adjusted to match new regexp. 28243 282442005-03-06 Andrew John Hughes <gnu_andrew@member.fsf.org> 28245 28246 * gnu/CORBA/primitiveArrayTypeCode.java: 28247 Moved from org.omg.CORBA. 28248 * gnu/CORBA/primitiveTypeCode.java: Likewise. 28249 * org/omg/CORBA/BooleanHolder.java, 28250 org/omg/CORBA/ByteHolder.java, 28251 org/omg/CORBA/CharHolder.java, 28252 org/omg/CORBA/DoubleHolder.java, 28253 org/omg/CORBA/FixedHolder.java, 28254 org/omg/CORBA/FloatHolder.java, 28255 org/omg/CORBA/IntHolder.java, 28256 org/omg/CORBA/LongHolder.java, 28257 org/omg/CORBA/ShortHolder.java, 28258 org/omg/CORBA/StringHolder.java, 28259 org/omg/CORBA/TypeCodeHolder.java: 28260 Added necessary imports. 28261 * org/omg/CORBA/BooleanSeqHolder.java, 28262 org/omg/CORBA/CharSeqHolder.java, 28263 org/omg/CORBA/DoubleSeqHolder.java, 28264 org/omg/CORBA/FloatSeqHolder.java, 28265 org/omg/CORBA/LongLongSeqHolder.java, 28266 org/omg/CORBA/LongSeqHolder.java, 28267 org/omg/CORBA/OctetSeqHolder.java, 28268 org/omg/CORBA/ShortSeqHolder.java, 28269 org/omg/CORBA/ULongLongSeqHolder.java, 28270 org/omg/CORBA/ULongSeqHolder.java, 28271 org/omg/CORBA/UShortSeqHolder.java, 28272 org/omg/CORBA/WCharSeqHolder.java: 28273 Likewise and changed direct value 28274 assignments to setValue calls. 28275 282762005-03-06 Andrew John Hughes <gnu_andrew@member.fsf.org> 28277 28278 * org/omg/CORBA/CompletionStatus.java, 28279 org/omg/CORBA/TypeCode.java, 28280 org/omg/CORBA/primitiveTypeCode.java: 28281 Fix references to Bounds and add implementations 28282 of IDLEntity. 28283 282842005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28285 * org/omg/CORBA/TypeCodePackage/BadKind.java, 28286 org/omg/CORBA/SystemException.java, 28287 org/omg/CORBA/TypeCode.java, 28288 org/omg/CORBA/UserException.java, 28289 org/omg/CORBA/CompletionStatus.java: 28290 Documenting that serialVersionUID is from v1.4. 28291 282922005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28293 * org/omg/CORBA/Context.java, 28294 org/omg/CORBA/ContextList.java: New files. 28295 282962005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28297 * org/omg/CORBA/TCKind.java: Making fields final. 28298 282992005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28300 28301 * org/omg/CORBA/Any.java, 28302 org/omg/CORBA/Principal.java, 28303 org/omg/CORBA/TypeCodePackage/Bounds.java, 28304 org/omg/CORBA/TypeCodePackage/package.html: New files. 28305 283062005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28307 28308 * org/omg/CORBA/ULongSeqHolder.java, 28309 org/omg/CORBA/UShortSeqHolder.java, 28310 org/omg/CORBA/WCharSeqHolder.java, 28311 org/omg/CORBA/BooleanSeqHolder.java, 28312 org/omg/CORBA/CharSeqHolder.java, 28313 org/omg/CORBA/DoubleSeqHolder.java, 28314 org/omg/CORBA/FloatSeqHolder.java, 28315 org/omg/CORBA/LongLongSeqHolder.java, 28316 org/omg/CORBA/LongSeqHolder.java, 28317 org/omg/CORBA/OctetSeqHolder.java, 28318 org/omg/CORBA/ShortSeqHolder.java, 28319 org/omg/CORBA/ULongLongSeqHolder.java: New files. 28320 283212005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28322 28323 * org/omg/CORBA/IntHolder.java, 28324 org/omg/CORBA/LongHolder.java, 28325 org/omg/CORBA/ShortHolder.java, 28326 org/omg/CORBA/StringHolder.java, 28327 org/omg/CORBA/TypeCodeHolder.java, 28328 org/omg/CORBA/BooleanHolder.java, 28329 org/omg/CORBA/ByteHolder.java, 28330 org/omg/CORBA/CharHolder.java, 28331 org/omg/CORBA/DoubleHolder.java, 28332 org/omg/CORBA/FixedHolder.java, 28333 org/omg/CORBA/FloatHolder.java, 28334 org/omg/CORBA/primitiveTypeCode.java, 28335 org/omg/CORBA/primitiveArrayTypeCode.java: New files. 28336 283372005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28338 28339 * org/omg/CORBA/portable/InputStream.java, 28340 org/omg/CORBA/portable/OutputStream.java, 28341 org/omg/CORBA/portable/IDLEntity.java, 28342 org/omg/CORBA/portable/Streamable.java: New files. 28343 * org/omg/CORBA/Object.java, 28344 org/omg/CORBA/ORB.java: New files (just to keep code compilable). 28345 283462005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28347 * org/omg/CORBA/TypeCodePackage/BadKind.java, 28348 org/omg/CORBA/SystemException.java, 28349 org/omg/CORBA/TypeCode.java, 28350 org/omg/CORBA/UserException.java, 28351 org/omg/CORBA/CompletionStatus.java: 28352 Replacing serialVersionUID v1.2 into v1.4. 28353 283542005-03-06 Audrius Meskauskas <audriusa@bluewin.ch> 28355 * org/omg/CORBA/TypeCodePackage/BadKind.java, 28356 org/omg/CORBA/SystemException.java, 28357 org/omg/CORBA/TypeCode.java, 28358 org/omg/CORBA/UserException.java, 28359 org/omg/CORBA/CompletionStatus.java: Adding serialVersionUID. 28360 283612005-03-05 Andreas Tobler <a.tobler@schweiz.ch> 28362 28363 * native/fdlibm/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 28364 and spec_case. Initialize pointer mlo. 28365 * native/fdlibm/strtod.c (_strtod_r): Initialize pointers bb, bd, 28366 ds and delta. 28367 * native/fdlibm/e_asin.c (__ieee754_asin): Initialize variable t. 28368 * native/fdlibm/e_exp.c (__ieee754_exp): Initialize variables hi, 28369 lo and k. 28370 * native/fdlibm/e_rem_pio2.c (__ieee754_rem_pio2): Initialize 28371 uninitialized variable z. 28372 283732005-03-05 Audrius Meskauskas <audriusa@bluewin.ch> 28374 * org/omg/CORBA/BAD_OPERATION.java: Formatting change 28375 (replacing CR CR LF by CR LF). 28376 283772005-03-04 Andrew John Hughes <gnu_andrew@member.fsf.org> 28378 28379 * org/omg/CORBA/Bounds.java: New file. 28380 * org/omg/CORBA/TypeCode.java: Commented 28381 out Any to fix build. 28382 From Audrius Meskauskas: 28383 * org/omg/CORBA/BAD_OPERATION.java: New file. 28384 283852005-03-05 Audrius Meskauskas <audriusa@bluewin.ch> 28386 28387 * org/omg/CORBA/INV_POLICY.java, 28388 org/omg/CORBA/NO_PERMISSION.java, 28389 org/omg/CORBA/BAD_INV_ORDER.java, 28390 org/omg/CORBA/INTF_REPOS.java, 28391 org/omg/CORBA/INV_IDENT.java, 28392 org/omg/CORBA/NO_IMPLEMENT.java, 28393 org/omg/CORBA/UNKNOWN.java, 28394 org/omg/CORBA/INV_FLAG.java, 28395 org/omg/CORBA/BAD_TYPECODE.java, 28396 org/omg/CORBA/NO_MEMORY.java, 28397 org/omg/CORBA/INVALID_TRANSACTION.java, 28398 org/omg/CORBA/INTERNAL.java, 28399 org/omg/CORBA/COMM_FAILURE.java, 28400 org/omg/CORBA/PERSIST_STORE.java, 28401 org/omg/CORBA/BAD_CONTEXT.java, 28402 org/omg/CORBA/INV_OBJREF.java, 28403 org/omg/CORBA/TRANSACTION_REQUIRED.java, 28404 org/omg/CORBA/TRANSACTION_ROLLEDBACK.java, 28405 org/omg/CORBA/FREE_MEM.java, 28406 org/omg/CORBA/OBJECT_NOT_EXIST.java, 28407 org/omg/CORBA/TRANSIENT.java, 28408 org/omg/CORBA/OBJ_ADAPTER.java, 28409 org/omg/CORBA/IMP_LIMIT.java, 28410 org/omg/CORBA/INITIALIZE.java, 28411 org/omg/CORBA/NO_RESPONSE.java, 28412 org/omg/CORBA/DATA_CONVERSION.java, 28413 org/omg/CORBA/MARSHAL.java: New files. 28414 284152005-03-04 Roman Kennke <roman@ontographics.com> 28416 28417 * javax/swing/text/rtf/ControlWordToken.java: New file. 28418 * javax/swing/text/rtf/RTFEditorKit.java: New file. 28419 * javax/swing/text/rtf/RTFParseException.java: New file. 28420 * javax/swing/text/rtf/RTFParser.java: New file. 28421 * javax/swing/text/rtf/RTFScanner.java: New file. 28422 * javax/swing/text/rtf/TextToken.java: New file. 28423 * javax/swing/text/rtf/Token.java: New file. 28424 284252005-03-02 Audrius Meskauskas <audriusa@bluewin.ch> 28426 28427 * org/omg/CORBA/TypeCode.java, 28428 org/omg/CORBA/UserException.java, 28429 org/omg/CORBA/TypeCodePackage/BadKind.java: New files. 28430 284312005-03-02 Audrius Meskauskas <audriusa@bluewin.ch> 28432 28433 * org/omg/CORBA/TCKind.java, 28434 org/omg/CORBA/BAD_PARAM.java, 28435 org/omg/CORBA/CompletionStatus.java, 28436 org/omg/CORBA/IDLEntity.java, 28437 org/omg/CORBA/SystemException.java: New files. 28438 284392005-03-03 Roman Kennke <roman@ontographics.com> 28440 28441 * javax/swing/BoxLayout.java: 28442 (preferredLayoutSize,minimumLayoutSize,maximumLayoutSize, 28443 layoutContainer): Make these methods and thereby the 28444 BoxLayout respect the insets (like borders) of the 28445 component that is laid out. 28446 284472005-03-03 Jeroen Frijters <jeroen@frijters.net> 28448 28449 * java/lang/InheritableThreadLocal.java 28450 (threadMap): Removed. 28451 (InheritableThreadLocal): Removed code. 28452 (newChildThread): Changed to use locals map in Thread. 28453 * java/lang/Thread.java 28454 (locals): New field. 28455 (die): Clear locals field. 28456 (getThreadLocals): New method. 28457 * java/lang/ThreadLocal.java 28458 (value): Removed. 28459 (valueMap): Removed. 28460 (get,set): Changed to use locals map in Thread. 28461 284622005-03-03 Jeroen Frijters <jeroen@frijters.net> 28463 28464 * java/io/FileInputStream.java (FileInputStream(File)), 28465 java/io/FileOutputStream.java (FileOutputStream(File)): 28466 Removed unnecessary File.isDirectory() check. 28467 284682005-03-02 Michael Koch <konqueror@gmx.de> 28469 28470 * doc/hacking.texinfo: Improved explanation of our coding style 28471 regarding import statements. 28472 284732005-03-02 Michael Koch <konqueror@gmx.de> 28474 28475 * gnu/java/security/OID.java, 28476 gnu/java/security/der/DERReader.java, 28477 gnu/java/security/provider/CollectionCertStoreImpl.java, 28478 gnu/java/security/provider/DSAParameterGenerator.java, 28479 gnu/java/security/provider/DefaultPolicy.java, 28480 gnu/java/security/provider/EncodedKeyFactory.java, 28481 gnu/java/security/provider/GnuDHPublicKey.java, 28482 gnu/java/security/provider/GnuDSAPrivateKey.java, 28483 gnu/java/security/provider/GnuDSAPublicKey.java, 28484 gnu/java/security/provider/GnuRSAPrivateKey.java, 28485 gnu/java/security/provider/GnuRSAPublicKey.java, 28486 gnu/java/security/provider/PKIXCertPathValidatorImpl.java, 28487 gnu/java/security/provider/RSA.java, 28488 gnu/java/security/provider/SHA1PRNG.java, 28489 gnu/java/security/provider/SHA1withRSA.java, 28490 gnu/java/security/provider/X509CertificateFactory.java, 28491 gnu/java/security/x509/GnuPKIExtension.java, 28492 gnu/java/security/x509/X500DistinguishedName.java, 28493 gnu/java/security/x509/X509CRL.java, 28494 gnu/java/security/x509/X509CRLEntry.java, 28495 gnu/java/security/x509/X509CertPath.java, 28496 gnu/java/security/x509/X509CertSelectorImpl.java, 28497 gnu/java/security/x509/X509Certificate.java, 28498 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java, 28499 gnu/java/security/x509/ext/BasicConstraints.java, 28500 gnu/java/security/x509/ext/CRLNumber.java, 28501 gnu/java/security/x509/ext/CertificatePolicies.java, 28502 gnu/java/security/x509/ext/ExtendedKeyUsage.java, 28503 gnu/java/security/x509/ext/Extension.java, 28504 gnu/java/security/x509/ext/GeneralNames.java, 28505 gnu/java/security/x509/ext/IssuerAlternativeNames.java, 28506 gnu/java/security/x509/ext/KeyUsage.java, 28507 gnu/java/security/x509/ext/PolicyConstraint.java, 28508 gnu/java/security/x509/ext/PolicyMappings.java, 28509 gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java, 28510 gnu/java/security/x509/ext/ReasonCode.java, 28511 gnu/java/security/x509/ext/SubjectAlternativeNames.java, 28512 gnu/java/security/x509/ext/SubjectKeyIdentifier.java: 28513 Reworked import statments to match our style. 28514 285152005-03-02 Michael Koch <konqueror@gmx.de> 28516 28517 * gnu/java/awt/Buffers.java, 28518 gnu/java/awt/ComponentDataBlitOp.java, 28519 gnu/java/awt/EmbeddedWindowSupport.java, 28520 gnu/java/awt/image/ImageDecoder.java, 28521 gnu/java/awt/image/XBMDecoder.java, 28522 gnu/java/awt/peer/ClasspathFontPeer.java, 28523 gnu/java/beans/IntrospectionIncubator.java, 28524 gnu/java/io/EncodingManager.java, 28525 gnu/java/io/decode/DecoderUTF8.java, 28526 gnu/java/io/encode/EncoderEightBitLookup.java, 28527 gnu/java/io/encode/EncoderUTF8.java, 28528 gnu/java/lang/ClassHelper.java, 28529 gnu/java/lang/MainThread.java, 28530 gnu/java/lang/reflect/TypeSignature.java, 28531 gnu/java/locale/LocaleHelper.java, 28532 gnu/java/net/CRLFInputStream.java, 28533 gnu/java/net/EmptyX509TrustManager.java, 28534 gnu/java/net/HeaderFieldHelper.java, 28535 gnu/java/net/LineInputStream.java, 28536 gnu/java/net/PlainSocketImpl.java, 28537 gnu/java/net/URLParseError.java, 28538 gnu/java/net/protocol/file/Connection.java, 28539 gnu/java/net/protocol/file/Handler.java, 28540 gnu/java/net/protocol/ftp/ActiveModeDTP.java, 28541 gnu/java/net/protocol/ftp/BlockInputStream.java, 28542 gnu/java/net/protocol/ftp/CompressedInputStream.java, 28543 gnu/java/net/protocol/ftp/DTP.java, 28544 gnu/java/net/protocol/ftp/DTPInputStream.java, 28545 gnu/java/net/protocol/ftp/FTPConnection.java, 28546 gnu/java/net/protocol/ftp/FTPURLConnection.java, 28547 gnu/java/net/protocol/ftp/PassiveModeDTP.java, 28548 gnu/java/net/protocol/ftp/StreamInputStream.java, 28549 gnu/java/net/protocol/http/ChunkedInputStream.java, 28550 gnu/java/net/protocol/http/HTTPConnection.java, 28551 gnu/java/net/protocol/http/HTTPURLConnection.java, 28552 gnu/java/net/protocol/http/Headers.java, 28553 gnu/java/net/protocol/http/Request.java, 28554 gnu/java/net/protocol/jar/Connection.java, 28555 gnu/java/net/protocol/jar/Handler.java, 28556 gnu/java/nio/ChannelInputStream.java, 28557 gnu/java/nio/ChannelOutputStream.java, 28558 gnu/java/nio/InputStreamChannel.java, 28559 gnu/java/nio/OutputStreamChannel.java, 28560 gnu/java/nio/SelectorProviderImpl.java, 28561 gnu/java/rmi/RMIMarshalledObjectInputStream.java, 28562 gnu/java/rmi/RMIMarshalledObjectOutputStream.java, 28563 gnu/java/rmi/dgc/DGCImpl.java, 28564 gnu/java/rmi/registry/RegistryImpl.java, 28565 gnu/java/rmi/server/ProtocolConstants.java, 28566 gnu/java/rmi/server/RMIDefaultSocketFactory.java, 28567 gnu/java/rmi/server/RMIIncomingThread.java, 28568 gnu/java/rmi/server/RMIObjectInputStream.java, 28569 gnu/java/rmi/server/RMIObjectOutputStream.java, 28570 gnu/java/rmi/server/RMIVoidValue.java, 28571 gnu/java/rmi/server/UnicastConnectionManager.java, 28572 gnu/java/rmi/server/UnicastRef.java, 28573 gnu/java/rmi/server/UnicastRemoteCall.java, 28574 gnu/java/rmi/server/UnicastRemoteStub.java, 28575 gnu/java/rmi/server/UnicastServerRef.java: 28576 Reorganized import statments and fixed some @author tags and html 28577 usage in javadocs. 28578 285792005-03-02 Michael Koch <konqueror@gmx.de> 28580 28581 * gnu/java/awt/color/package.html, 28582 gnu/java/awt/image/package.html, 28583 gnu/java/awt/package.html, 28584 gnu/java/awt/peer/package.html, 28585 gnu/java/beans/decoder/package.html, 28586 gnu/java/beans/editors/package.html, 28587 gnu/java/beans/package.html, 28588 gnu/java/io/decode/package.html, 28589 gnu/java/io/encode/package.html, 28590 gnu/java/io/package.html, 28591 gnu/java/lang/package.html, 28592 gnu/java/lang/reflect/package.html, 28593 gnu/java/locale/package.html, 28594 gnu/java/math/package.html, 28595 gnu/java/net/package.html, 28596 gnu/java/net/protocol/file/package.html, 28597 gnu/java/net/protocol/http/event/package.html, 28598 gnu/java/net/protocol/jar/package.html, 28599 gnu/java/nio/channels/package.html, 28600 gnu/java/nio/charset/package.html, 28601 gnu/java/nio/package.html, 28602 gnu/java/rmi/dgc/package.html, 28603 gnu/java/rmi/package.html, 28604 gnu/java/rmi/registry/package.html, 28605 gnu/java/rmi/server/package.html, 28606 gnu/java/security/action/package.html, 28607 gnu/java/security/ber/package.html, 28608 gnu/java/security/der/package.html, 28609 gnu/java/security/package.html, 28610 gnu/java/security/pkcs/package.html, 28611 gnu/java/security/provider/package.html, 28612 gnu/java/security/util/package.html, 28613 gnu/java/security/x509/ext/package.html, 28614 gnu/java/security/x509/package.html, 28615 gnu/java/text/package.html, 28616 gnu/java/util/package.html, 28617 gnu/java/util/prefs/package.html, 28618 java/lang/annotation/package.html: 28619 New files. 28620 286212005-03-02 Michael Koch <konqueror@gmx.de> 28622 28623 * gnu/java/awt/color/CieXyzConverter.java, 28624 gnu/java/awt/color/ClutProfileConverter.java, 28625 gnu/java/awt/color/ColorLookUpTable.java, 28626 gnu/java/awt/color/ColorSpaceConverter.java, 28627 gnu/java/awt/color/GrayProfileConverter.java, 28628 gnu/java/awt/color/GrayScaleConverter.java, 28629 gnu/java/awt/color/LinearRGBConverter.java, 28630 gnu/java/awt/color/ProfileHeader.java, 28631 gnu/java/awt/color/PyccConverter.java, 28632 gnu/java/awt/color/RgbProfileConverter.java, 28633 gnu/java/awt/color/SrgbConverter.java, 28634 gnu/java/awt/color/TagEntry.java, 28635 gnu/java/awt/color/ToneReproductionCurve.java: 28636 Use standard copyright header. 28637 286382005-03-02 Mark Wielaard <mark@klomp.org> 28639 28640 * doc/www.gnu.org/cp-tools/cp-tools.wml: Fix createlink to 28641 texidoclet.html. 28642 286432005-03-02 Michael Koch <konqueror@gmx.de> 28644 28645 * doc/api/Makefile.am: Remove gjdoc_rawcomment.cache if neccesary. 28646 286472005-02-28 Roman Kennke <roman@ontographics.com> 28648 28649 * examples/gnu/classpath/examples/swing/Demo.java 28650 (mkListPanel,mkButtonBar): Changed JList example so that 28651 the newly added support for JList.HORIZONTAL_WRAP and 28652 JList.VERTICAL_WRAP is shown. 28653 286542005-02-27 Roman Kennke <roman@ontographics.com> 28655 28656 * javax/swing/JList.java 28657 (getPreferredScrollableViewportSize): 28658 The previous implementation was merely guessing the size, 28659 now it respects layoutOrientation, visibleRowCount 28660 and preferredSize. 28661 (getScrollableTracksViewportHeight): 28662 Reimplemented so that layoutOrientation, visibleRowCount 28663 and preferred size are respected. 28664 (getScrollableTracksViewportWidth): 28665 Reimplemented so that layoutOrientation, visibleRowCount 28666 and preferred size are respected. 28667 * javax/swing/plaf/basic/BasicListUI.java 28668 (getPreferredSize): 28669 Improved calculation of preferredSize when JList is 28670 set to HORIZONTAL_WRAP or VERTICAL_WRAP. 28671 (getCellBounds): 28672 The previous implementation assumed a layoutOrientation of 28673 JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and 28674 JList.VERTICAL_WRAP. 28675 286762005-02-27 Roman Kennke <roman@ontographics.com> 28677 28678 * javax/swing/CellRendererPane.java: 28679 implemented all methods of this class. 28680 reformatted all wrong formatted code. 28681 * javax/swing/plaf/basic/BasicListUI.java 28682 (paintCell): use CellRendererPane for painting the cells. 28683 286842005-02-27 Audrius Meskauskas <audriusa@bluewin.ch> 28685 28686 * javax/swing/JComboBox.java (constructors): selecting the 28687 first item if the box was constructed from the provided 28688 non - empty array or vector. 28689 286902005-02-27 Roman Kennke <roman@ontographics.com> 28691 28692 * javax/swing/plaf/basic/BasicListUI: 28693 fixed modifiers of several fields, methods and inner 28694 classes to match the 'spec'. 28695 (getMaximumSize): removed. It's not in the spec and the 28696 implementations was superfluous. 28697 286982005-02-27 Chris Burdess <dog@gnu.org> 28699 28700 * gnu/java/net/protocol/file/Connection.java: Return correct content 28701 length for directory listing. 28702 * java/net/URLClassLoader.java: Correction for URLClassLoader, bug 28703 #11285: return valid URLs for directories. 28704 287052005-02-27 Chris Burdess <dog@gnu.org> 28706 28707 * gnu/xml/aelfred2/JAXPFactory.java, 28708 gnu/xml/aelfred2/SAXDriver.java, 28709 gnu/xml/aelfred2/XmlParser.java, 28710 gnu/xml/aelfred2/XmlReader.java: Applied GNU Classpath source code 28711 formatting conventions. Replaced arrays of Object with struct-like 28712 classes for easier maintainability. Made SAXDriver.stringInterning 28713 package private to allow access from XmlParser inside the loop without 28714 a method call overhead. 28715 287162005-02-27 Roman Kennke <roman@ontographics.com> 28717 28718 * javax/swing/plaf/basic/BasicListUI: 28719 make BasicListUI capable of wrapping lists 28720 (layoutOrientation property of javax.swing.JList) 28721 287222005-02-26 Audrius Meskauskas <audriusa@bluewin.ch> 28723 28724 * javax/swing/Timer.java: documenting and some 28725 formatting. 28726 287272005-02-26 Audrius Meskauskas <audriusa@bluewin.ch> 28728 28729 * javax/swing/JTextArea.java (replaceRange): 28730 Fixing doc.remove(start, length) misinterpretation. 28731 287322005-02-26 Roman Kennke <roman@ontographics.com> 28733 28734 * javax/swing/plaf/basic/BasicListUI 28735 (updateLayoutState,paint): make BasicListUI aware of the 28736 width of the rendered JList 28737 287382005-02-25 Mark Wielaard <mark@klomp.org> 28739 28740 * NEWS: Add 0.14 release date. 28741 * configure.ac: Set version to 0.14. 28742 287432005-02-25 Sven de Marothy <sven@physto.se> 28744 28745 * java/net/InetAddress.java 28746 (toString): Don't print empty hostnames. 28747 Fixes bug #11956 28748 287492005-02-24 Mark Wielaard <mark@klomp.org> 28750 28751 * doc/www.gnu.org/Makefile (SUBDIRS): Add cp-tools. 28752 * doc/www.gnu.org/cp-tools/Makefile: New file. 28753 * doc/www.gnu.org/cp-tools/cp-tools.wml: Likewise. 28754 * doc/www.gnu.org/cp-tools/texidoclet.html: Likewise. 28755 287562005-02-24 Audrius Meskauskas <audriusa@bluewin.ch> 28757 28758 * javax/swing/Timer.java (constructor): assigning initialDelay 28759 287602005-02-24 Audrius Meskauskas <audriusa@bluewin.ch> 28761 28762 * javax/swing/Timer.java (Waker.run): firing the first action 28763 event. 28764 287652005-02-24 Chris Burdess <dog@gnu.org> 28766 28767 * BASE64.java: Truncate encoded byte array. 28768 287692005-02-24 David Gilbert <david.gilbert@object-refinery.com> 28770 28771 * java/awt/font/TextAttribute.java: changed names to lower case; 28772 (readResolve): implemented. 28773 Added doc comments all over. 28774 287752005-02-22 Andrew John Hughes <gnu_andrew@member.fsf.org> 28776 28777 * java/text/SimpleDateFormat.java: 28778 Substitute StringBuilder for the original 28779 StringBuffer. 28780 287812005-02-22 Michael Koch <konqueror@gmx.de> 28782 28783 * gnu/java/security/PolicyFile.java, 28784 gnu/java/security/pkcs/PKCS7SignedData.java, 28785 gnu/java/security/pkcs/SignerInfo.java: 28786 Fixed copyright header. 28787 287882005-02-22 Roman Kennke <roman@ontographics.com> 28789 28790 * javax/swing/plaf/basic/BasicLookAndFeel.java 28791 (initComponentDefaults): Fixed Button left and right margin 28792 287932005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com> 28794 28795 * native/jni/gtk-peer/gthread-jni.c (throw): 28796 Call g_snprintf instead of snprintf. 28797 287982005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com> 28799 28800 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c 28801 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks. 28802 288032005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com> 28804 28805 * gnu/java/awt/peer/gtk/GtkWindowPeer.java, 28806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 28807 (getWidth): New method. 28808 (getHeight): Likewise. 28809 (create): Remove width, height and insets parameters. Move size 28810 setup ... 28811 (realize_cb): ... here. New function. 28812 (connectSignals): Connect realize_cb. 28813 (request_frame_extents): Remove FIXME. Move 28814 postInsetsChangedEvent lookup ... 28815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit): 28816 ... here. Look up GtkWindowPeer getWidth and getHeight methods. 28817 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare 28818 jmethodID. 28819 (windowGetWidthID): Likewise. 28820 (windowGetHeightID): Likewise. 28821 288222005-02-22 Michael Koch <konqueror@gmx.de> 28823 28824 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: 28825 Regenerated. 28826 288272005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com> 28828 28829 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an 28830 empty Runnable. 28831 288322005-02-21 Bryce McKinlay <mckinlay@redhat.com> 28833 28834 * java/io/ObjectInputStream.java (readClassDescriptor): Cache result 28835 of currentLoader() in callersClassLoader field. Check for primitive 28836 type Class names if resolveClass throws a ClassNotFoundException. 28837 (resolveClass): Call currentLoader() only if callersClassLoader is 28838 not set. Cache result of currentLoader(). Don't check for primitive 28839 type Class names here. 28840 (callersClassLoader): New field. 28841 * java/io/ObjectOutputStream.java (writeObject, callWriteMethod): 28842 Whitespace fixes. 28843 288442005-02-22 Robert Schuster <thebohemian@gmx.net> 28845 28846 * java/io/InputStreamReader.java: Fixed compilation 28847 problem. 28848 288492005-02-21 Michael Koch <konqueror@gmx.de> 28850 28851 * java/awt/Checkbox.java 28852 (next_checkbox_number): New static variable. 28853 (generateName): New method. 28854 (getUniqueLong): Likewise. 28855 * java/awt/Window.java 28856 (next_window_number): New static variable. 28857 (generateName): New method. 28858 (getUniqueLong): Likewise. 28859 288602005-02-21 Mark Wielaard <mark@klomp.org> 28861 28862 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry 28863 exists. 28864 288652005-02-21 Robert Schuster <thebohemian@gmx.net> 28866 28867 * gnu/java/nio/ChannelReader: Fixed comments. 28868 288692005-02-21 Robert Schuster <thebohemian@gmx.net> 28870 28871 * java/nio/channels/Channels: Added FIXMEs about 28872 stub method implementation. 28873 (newReader): Implemented. 28874 * java/io/InputStreamReader: 28875 (InputStreamReader(InputStream, Charset)): Implemented. 28876 (InputStreamReader(InputStream, CharsetDecoder)): Implemented. 28877 * gnu/java/nio/ChannelReader: New class. 28878 288792005-02-21 Michael Koch <konqueror@gmx.de> 28880 28881 * include/gnu_java_nio_channels_FileChannelImpl.h: 28882 Regenerated. 28883 288842005-02-21 Michael Koch <konqueror@gmx.de> 28885 28886 * java/lang/Class.java, 28887 java/lang/SecurityManager.java, 28888 java/net/URL.java: 28889 Formatting cleanups. 28890 288912005-02-21 Michael Koch <konqueror@gmx.de> 28892 28893 * java/awt/Button.java, 28894 java/awt/Container.java, 28895 java/awt/Font.java, 28896 java/awt/Frame.java, 28897 java/text/CollationElementIterator.java, 28898 java/text/RuleBasedCollator.java, 28899 java/util/PropertyPermission.java: 28900 Fixed formatting issues all over. 28901 289022005-02-21 Anthony Green <green@redhat.com> 28903 28904 * gnu/java/rmi/registry/RegistryImpl.java: 28905 Change year for '--version' to 2005. 28906 289072005-02-20 Andrew John Hughes <gnu_andrew@member.fsf.org> 28908 28909 * java/io/Closeable.java: Documented. 28910 * java/io/Flushable.java: Documented. 28911 * java/lang/Appendable.java: Corrected line overrun. 28912 * java/lang/Readable.java: Corrected indentation. 28913 * java/lang/TypeNotPresentException.java: Documented. 28914 * java/lang/annotation/AnnotationFormatError.java: Likewise. 28915 * java/lang/annotation/AnnotationTypeMismatchException.java: Likewise. 28916 * java/lang/reflect/GenericArrayType.java: Likewise. 28917 * java/lang/reflect/GenericSignatureFormatError.java: Likewise. 28918 * java/lang/reflect/ParameterizedType.java: Likewise. 28919 * java/lang/reflect/Type.java: Likewise. 28920 * java/lang/reflect/WildcardType.java: Likewise. 28921 289222005-02-20 Mark Wielaard <mark@klomp.org> 28923 28924 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by 28925 taking dstSavings into account. 28926 289272005-02-20 Sven de Marothy <sven@physto.se> 28928 28929 * java/text/SimpleDateFormat.java, 28930 (parse): Set DST_OFFSET to the correct value. 28931 289322005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net> 28933 28934 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias. 28935 289362005-02-20 Mark Wielaard <mark@klomp.org> 28937 28938 * java/text/SimpleDateFormat.java 28939 (SimpleDateFormat(String, DateFormatSymbols)): Throw 28940 NullPointerException when formatData is null. 28941 289422005-02-19 Michael Koch <konqueror@gmx.de> 28943 28944 * gnu/java/locale/LocaleInformation_af.java, 28945 gnu/java/locale/LocaleInformation_am.java, 28946 gnu/java/locale/LocaleInformation_ca.java, 28947 gnu/java/locale/LocaleInformation_cs.java, 28948 gnu/java/locale/LocaleInformation_cy.java, 28949 gnu/java/locale/LocaleInformation_da.java, 28950 gnu/java/locale/LocaleInformation_de.java, 28951 gnu/java/locale/LocaleInformation_el.java, 28952 gnu/java/locale/LocaleInformation_en.java, 28953 gnu/java/locale/LocaleInformation_eo.java, 28954 gnu/java/locale/LocaleInformation_es.java, 28955 gnu/java/locale/LocaleInformation_et.java, 28956 gnu/java/locale/LocaleInformation_eu.java, 28957 gnu/java/locale/LocaleInformation_fa.java, 28958 gnu/java/locale/LocaleInformation_fi.java, 28959 gnu/java/locale/LocaleInformation_fr.java, 28960 gnu/java/locale/LocaleInformation_ga.java, 28961 gnu/java/locale/LocaleInformation_hr.java, 28962 gnu/java/locale/LocaleInformation_hu.java, 28963 gnu/java/locale/LocaleInformation_hy.java, 28964 gnu/java/locale/LocaleInformation_id.java, 28965 gnu/java/locale/LocaleInformation_is.java, 28966 gnu/java/locale/LocaleInformation_it.java, 28967 gnu/java/locale/LocaleInformation_ja.java, 28968 gnu/java/locale/LocaleInformation_ka.java, 28969 gnu/java/locale/LocaleInformation_ko.java, 28970 gnu/java/locale/LocaleInformation_lo.java, 28971 gnu/java/locale/LocaleInformation_lt.java, 28972 gnu/java/locale/LocaleInformation_lv.java, 28973 gnu/java/locale/LocaleInformation_mk.java, 28974 gnu/java/locale/LocaleInformation_mn.java, 28975 gnu/java/locale/LocaleInformation_ms.java, 28976 gnu/java/locale/LocaleInformation_mt.java, 28977 gnu/java/locale/LocaleInformation_nb.java, 28978 gnu/java/locale/LocaleInformation_nl.java, 28979 gnu/java/locale/LocaleInformation_nn.java, 28980 gnu/java/locale/LocaleInformation_pl.java, 28981 gnu/java/locale/LocaleInformation_pt.java, 28982 gnu/java/locale/LocaleInformation_ro.java, 28983 gnu/java/locale/LocaleInformation_ru.java, 28984 gnu/java/locale/LocaleInformation_sk.java, 28985 gnu/java/locale/LocaleInformation_sl.java, 28986 gnu/java/locale/LocaleInformation_sq.java, 28987 gnu/java/locale/LocaleInformation_sv.java, 28988 gnu/java/locale/LocaleInformation_th.java, 28989 gnu/java/locale/LocaleInformation_tr.java, 28990 gnu/java/locale/LocaleInformation_vi.java, 28991 gnu/java/locale/LocaleInformation_zh.java, 28992 gnu/java/locale/LocaleInformation_zh_Hant.java: Updated. 28993 * gnu/java/locale/LocaleInformation_az_Cyrl.java: New file. 28994 289952005-02-19 Archie Cobbs <archie@dellroad.org> 28996 28997 * java/lang/Throwable.java: simplify initializing cause in constructor 28998 289992005-02-19 Michael Koch <konqueror@gmx.de> 29000 29001 * javax/swing/JToggleButton.java: Removed empty line. 29002 290032005-02-18 Bryce McKinlay <mckinlay@redhat.com> 29004 29005 * java/util/LinkedHashMap (addEntry): Call remove() with key argument, 29006 not the HashEntry. Reported by Jean-Marie White. 29007 290082005-02-18 Mark Wielaard <mark@klomp.org> 29009 29010 * doc/www.gnu.org/events/escape_fosdem05.wml: New event. 29011 * doc/www.gnu.org/newsitems.txt: Add Escape the Java Trap. 29012 * doc/www.gnu.org/events/events.wml: Likewise. 290132005-02-20 Mark Wielaard <mark@klomp.org> 29014 29015 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by 29016 taking dstSavings into account. 29017 290182005-02-20 Sven de Marothy <sven@physto.se> 29019 29020 * java/text/SimpleDateFormat.java, 29021 (parse): Set DST_OFFSET to the correct value. 29022 290232005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net> 29024 29025 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias. 29026 290272005-02-20 Mark Wielaard <mark@klomp.org> 29028 29029 * java/text/SimpleDateFormat.java 29030 (SimpleDateFormat(String, DateFormatSymbols)): Throw 29031 NullPointerException when formatData is null. 29032 290332005-02-19 Michael Koch <konqueror@gmx.de> 29034 29035 * gnu/java/locale/LocaleInformation_af.java, 29036 gnu/java/locale/LocaleInformation_am.java, 29037 gnu/java/locale/LocaleInformation_ca.java, 29038 gnu/java/locale/LocaleInformation_cs.java, 29039 gnu/java/locale/LocaleInformation_cy.java, 29040 gnu/java/locale/LocaleInformation_da.java, 29041 gnu/java/locale/LocaleInformation_de.java, 29042 gnu/java/locale/LocaleInformation_el.java, 29043 gnu/java/locale/LocaleInformation_en.java, 29044 gnu/java/locale/LocaleInformation_eo.java, 29045 gnu/java/locale/LocaleInformation_es.java, 29046 gnu/java/locale/LocaleInformation_et.java, 29047 gnu/java/locale/LocaleInformation_eu.java, 29048 gnu/java/locale/LocaleInformation_fa.java, 29049 gnu/java/locale/LocaleInformation_fi.java, 29050 gnu/java/locale/LocaleInformation_fr.java, 29051 gnu/java/locale/LocaleInformation_ga.java, 29052 gnu/java/locale/LocaleInformation_hr.java, 29053 gnu/java/locale/LocaleInformation_hu.java, 29054 gnu/java/locale/LocaleInformation_hy.java, 29055 gnu/java/locale/LocaleInformation_id.java, 29056 gnu/java/locale/LocaleInformation_is.java, 29057 gnu/java/locale/LocaleInformation_it.java, 29058 gnu/java/locale/LocaleInformation_ja.java, 29059 gnu/java/locale/LocaleInformation_ka.java, 29060 gnu/java/locale/LocaleInformation_ko.java, 29061 gnu/java/locale/LocaleInformation_lo.java, 29062 gnu/java/locale/LocaleInformation_lt.java, 29063 gnu/java/locale/LocaleInformation_lv.java, 29064 gnu/java/locale/LocaleInformation_mk.java, 29065 gnu/java/locale/LocaleInformation_mn.java, 29066 gnu/java/locale/LocaleInformation_ms.java, 29067 gnu/java/locale/LocaleInformation_mt.java, 29068 gnu/java/locale/LocaleInformation_nb.java, 29069 gnu/java/locale/LocaleInformation_nl.java, 29070 gnu/java/locale/LocaleInformation_nn.java, 29071 gnu/java/locale/LocaleInformation_pl.java, 29072 gnu/java/locale/LocaleInformation_pt.java, 29073 gnu/java/locale/LocaleInformation_ro.java, 29074 gnu/java/locale/LocaleInformation_ru.java, 29075 gnu/java/locale/LocaleInformation_sk.java, 29076 gnu/java/locale/LocaleInformation_sl.java, 29077 gnu/java/locale/LocaleInformation_sq.java, 29078 gnu/java/locale/LocaleInformation_sv.java, 29079 gnu/java/locale/LocaleInformation_th.java, 29080 gnu/java/locale/LocaleInformation_tr.java, 29081 gnu/java/locale/LocaleInformation_vi.java, 29082 gnu/java/locale/LocaleInformation_zh.java, 29083 gnu/java/locale/LocaleInformation_zh_Hant.java: Updated. 29084 * gnu/java/locale/LocaleInformation_az_Cyrl.java: New file. 29085 290862005-02-19 Archie Cobbs <archie@dellroad.org> 29087 29088 * java/lang/Throwable.java: simplify initializing cause in constructor 29089 290902005-02-19 Michael Koch <konqueror@gmx.de> 29091 29092 * javax/swing/JToggleButton.java: Removed empty line. 29093 290942005-02-18 Bryce McKinlay <mckinlay@redhat.com> 29095 29096 * java/util/LinkedHashMap (addEntry): Call remove() with key argument, 29097 not the HashEntry. Reported by Jean-Marie White. 29098 290992005-02-18 Mark Wielaard <mark@klomp.org> 29100 29101 * doc/www.gnu.org/events/escape_fosdem05.wml: New event. 29102 * doc/www.gnu.org/newsitems.txt: Add Escape the Java Trap. 29103 * doc/www.gnu.org/events/events.wml: Likewise. 29104 291052005-02-18 Sven de Marothy <sven@physto.se> 29106 29107 * java/util/TimeZone.java, 29108 (getDefaultDisplayName): Fix previous fix. 29109 291102005-02-18 David Gilbert <david.gilbert@object-refinery.com> 29111 29112 * java/awt/font/TransformAttribute.java, 29113 (TransformAttribute(AffineTransform)): throw 29114 IllegalArgumentException for null transform. 29115 (getTransform): return a copy of transform. 29116 Added doc comments to all. 29117 291182005-02-18 Sven de Marothy <sven@physto.se> 29119 29120 * java/util/TimeZone.java, 29121 (getDefaultDisplayName): Don't print zero offsets. 29122 291232005-02-18 Robert Schuster <thebohemian@gmx.net> 29124 29125 * java/nio/charset/Charset.java (forName): Throws 29126 IllegalArgumentException when argument is null 29127 and added documentation. 29128 291292005-02-17 Mark Wielaard <mark@klomp.org> 29130 29131 * java/util/SimpleTimeZone.java (checkRule): Throw 29132 IllegalArgumentException when month out of range. 29133 291342005-02-17 Sven de Marothy <sven@physto.se> 29135 29136 * java/util/GregorianCalendar.java, 29137 (add): Don't set fields directly anymore. Use set() 29138 291392005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org> 29140 29141 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)): 29142 Move the position of the source buffer forward. 29143 291442005-02-16 Andrew Haley <aph@redhat.com> 29145 29146 * javax/security/auth/Subject.java (doAsPrivileged): If acc is 29147 null, create a new AccessControlContext. 29148 * java/security/SecureClassLoader.java (protectionDomainCache): 29149 new field. 29150 (defineClass): Create a new protection domain and add it to our 29151 cache. 29152 29153 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call 29154 addStub() to keep track of the stub we've exported. 29155 (unexportObject): Call deleteStub(). 29156 * java/rmi/server/RemoteObject.java (stubs): New field. 29157 (addStub): New method. 29158 (deleteStub): New method. 29159 (toStub): Rewrite. 29160 29161 * java/security/Permissions.java (PermissionsHash.implies): 29162 Iterate over the collection and invoke implies() on each 29163 element. 29164 291652005-02-16 Julian Scheid <julian@sektor37.de> 29166 29167 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to 29168 in.position(). 29169 (encodeLoop): Likewise. 29170 291712005-02-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 29172 29173 * java/util/Locale.java 29174 Added two new String[] arrays for caching. 29175 (getLocale(String)): Documentation. 29176 (getLocale(String, String)): Documentation. 29177 (getLocale(String, String, String)): Documentation. 29178 (getISOCountries()): Now calls getISOStrings() and caches result. 29179 (getISOLanguages()): Now calls getISOStrings() and caches result. 29180 (getISOStrings(String)): Pulls all two-letter keys from the specified 29181 hashtable in our locale information. 29182 291832005-02-16 Sven de Marothy <sven@physto.se> 29184 29185 * java/util/logging/LogManager.java: Reformatted. 29186 (readConfiguration): If a logger for a key is not found, create one. 29187 291882005-02-16 Michael Koch <konqueror@gmx.de> 29189 29190 * scripts/checkstyle-config.xml: Activate JavadocStyle and 29191 IllegalInstantiation tests. 29192 * scripts/checkstyle-suppressions.xml: Suppress some more errors. 29193 291942005-02-16 Michael Koch <konqueror@gmx.de> 29195 29196 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, 29197 gnu/java/awt/peer/gtk/GdkFontPeer.java, 29198 gnu/java/awt/peer/gtk/GdkGlyphVector.java, 29199 gnu/java/awt/peer/gtk/GdkGraphics.java, 29200 gnu/java/awt/peer/gtk/GdkGraphics2D.java, 29201 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java, 29202 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, 29203 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, 29204 gnu/java/awt/peer/gtk/GdkRobotPeer.java, 29205 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, 29206 gnu/java/awt/peer/gtk/GdkTextLayout.java, 29207 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, 29208 gnu/java/awt/peer/gtk/GtkChoicePeer.java, 29209 gnu/java/awt/peer/gtk/GtkClipboard.java, 29210 gnu/java/awt/peer/gtk/GtkComponentPeer.java, 29211 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, 29212 gnu/java/awt/peer/gtk/GtkFontPeer.java, 29213 gnu/java/awt/peer/gtk/GtkLabelPeer.java, 29214 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, 29215 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, 29216 gnu/java/awt/peer/gtk/GtkMenuPeer.java, 29217 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, 29218 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, 29219 gnu/java/awt/peer/gtk/GtkToolkit.java, 29220 gnu/java/awt/peer/gtk/GtkWindowPeer.java: 29221 Made checkstyle clean. 29222 * gnu/java/awt/peer/gtk/package.html: 29223 New file. 29224 292252005-02-16 Michael Koch <konqueror@gmx.de> 29226 29227 * java/awt/geom/Ellipse2D.java, 29228 java/beans/PropertyDescriptor.java, 29229 java/net/NetworkInterface.java, 29230 java/nio/ByteBufferImpl.java, 29231 java/nio/DoubleBufferImpl.java, 29232 java/nio/FloatBufferImpl.java, 29233 java/nio/IntBufferImpl.java, 29234 java/nio/LongBufferImpl.java, 29235 java/nio/ShortBufferImpl.java, 29236 java/nio/channels/Channel.java, 29237 java/util/Calendar.java, 29238 java/util/Comparator.java, 29239 java/util/Date.java, 29240 java/util/SimpleTimeZone.java, 29241 java/util/logging/FileHandler.java, 29242 java/util/prefs/InvalidPreferencesFormatException.java, 29243 java/util/prefs/Preferences.java, 29244 javax/security/auth/callback/ConfirmationCallback.java, 29245 javax/security/sasl/Sasl.java, 29246 javax/security/sasl/SaslServerFactory.java, 29247 javax/swing/JComponent.java, 29248 javax/swing/JList.java, 29249 javax/swing/JProgressBar.java, 29250 javax/swing/JTree.java, 29251 javax/swing/text/JTextComponent.java: 29252 Fixed javadocs to contain valid (X)HTML. 29253 292542005-02-16 Michael Koch <konqueror@gmx.de> 29255 29256 * javax/xml/XMLConstants.java, 29257 javax/xml/datatype/DatatypeConfigurationException.java, 29258 javax/xml/datatype/DatatypeConstants.java, 29259 javax/xml/datatype/DatatypeFactory.java, 29260 javax/xml/datatype/Duration.java, 29261 javax/xml/datatype/XMLGregorianCalendar.java, 29262 javax/xml/namespace/NamespaceContext.java, 29263 javax/xml/namespace/QName.java, 29264 javax/xml/parsers/DocumentBuilder.java, 29265 javax/xml/parsers/DocumentBuilderFactory.java, 29266 javax/xml/parsers/FactoryConfigurationError.java, 29267 javax/xml/parsers/ParserConfigurationException.java, 29268 javax/xml/parsers/SAXParser.java, 29269 javax/xml/parsers/SAXParserFactory.java, 29270 javax/xml/transform/ErrorListener.java, 29271 javax/xml/transform/OutputKeys.java, 29272 javax/xml/transform/Result.java, 29273 javax/xml/transform/Source.java, 29274 javax/xml/transform/SourceLocator.java, 29275 javax/xml/transform/Templates.java, 29276 javax/xml/transform/Transformer.java, 29277 javax/xml/transform/TransformerConfigurationException.java, 29278 javax/xml/transform/TransformerException.java, 29279 javax/xml/transform/TransformerFactory.java, 29280 javax/xml/transform/TransformerFactoryConfigurationError.java, 29281 javax/xml/transform/URIResolver.java, 29282 javax/xml/transform/dom/DOMLocator.java, 29283 javax/xml/transform/dom/DOMResult.java, 29284 javax/xml/transform/dom/DOMSource.java, 29285 javax/xml/transform/sax/SAXResult.java, 29286 javax/xml/transform/sax/SAXSource.java, 29287 javax/xml/transform/sax/SAXTransformerFactory.java, 29288 javax/xml/transform/sax/TemplatesHandler.java, 29289 javax/xml/transform/sax/TransformerHandler.java, 29290 javax/xml/transform/stream/StreamResult.java, 29291 javax/xml/transform/stream/StreamSource.java, 29292 javax/xml/validation/Schema.java, 29293 javax/xml/validation/SchemaFactory.java, 29294 javax/xml/validation/TypeInfoProvider.java, 29295 javax/xml/validation/Validator.java, 29296 javax/xml/validation/ValidatorHandler.java, 29297 javax/xml/xpath/XPathConstants.java, 29298 javax/xml/xpath/XPathException.java, 29299 javax/xml/xpath/XPathExpression.java, 29300 javax/xml/xpath/XPathExpressionException.java, 29301 javax/xml/xpath/XPathFactory.java, 29302 javax/xml/xpath/XPathFactoryConfigurationException.java, 29303 javax/xml/xpath/XPathFunction.java, 29304 javax/xml/xpath/XPathFunctionException.java, 29305 javax/xml/xpath/XPathFunctionResolver.java: 29306 Fixed usage of @author tag. 29307 293082005-02-16 Michael Koch <konqueror@gmx.de> 29309 29310 * javax/XMLConstants.java, 29311 javax/datatype/DatatypeConfigurationException.java, 29312 javax/datatype/DatatypeConstants.java, 29313 javax/datatype/DatatypeFactory.java, 29314 javax/datatype/Duration.java, 29315 javax/datatype/XMLGregorianCalendar.java, 29316 javax/namespace/NamespaceContext.java, 29317 javax/namespace/QName.java, 29318 javax/parsers/DocumentBuilder.java, 29319 javax/parsers/DocumentBuilderFactory.java, 29320 javax/parsers/FactoryConfigurationError.java, 29321 javax/parsers/ParserConfigurationException.java, 29322 javax/parsers/SAXParser.java, 29323 javax/parsers/SAXParserFactory.java, 29324 javax/transform/ErrorListener.java, 29325 javax/transform/OutputKeys.java, 29326 javax/transform/Result.java, 29327 javax/transform/Source.java, 29328 javax/transform/SourceLocator.java, 29329 javax/transform/Templates.java, 29330 javax/transform/Transformer.java, 29331 javax/transform/TransformerConfigurationException.java, 29332 javax/transform/TransformerException.java, 29333 javax/transform/TransformerFactory.java, 29334 javax/transform/TransformerFactoryConfigurationError.java, 29335 javax/transform/URIResolver.java, 29336 javax/transform/dom/DOMLocator.java, 29337 javax/transform/dom/DOMResult.java, 29338 javax/transform/dom/DOMSource.java, 29339 javax/transform/sax/SAXResult.java, 29340 javax/transform/sax/SAXSource.java, 29341 javax/transform/sax/SAXTransformerFactory.java, 29342 javax/transform/sax/TemplatesHandler.java, 29343 javax/transform/sax/TransformerHandler.java, 29344 javax/transform/stream/StreamResult.java, 29345 javax/transform/stream/StreamSource.java, 29346 javax/validation/Schema.java, 29347 javax/validation/SchemaFactory.java, 29348 javax/validation/TypeInfoProvider.java, 29349 javax/validation/Validator.java, 29350 javax/validation/ValidatorHandler.java, 29351 javax/xpath/XPathConstants.java, 29352 javax/xpath/XPathException.java, 29353 javax/xpath/XPathExpression.java, 29354 javax/xpath/XPathExpressionException.java, 29355 javax/xpath/XPathFactory.java, 29356 javax/xpath/XPathFactoryConfigurationException.java, 29357 javax/xpath/XPathFunction.java, 29358 javax/xpath/XPathFunctionException.java, 29359 javax/xpath/XPathFunctionResolver.java: 29360 Fixed usage of @author tag. 29361 293622005-02-16 Michael Koch <konqueror@gmx.de> 29363 29364 * javax/accessibility/Accessible.java, 29365 javax/accessibility/AccessibleAction.java, 29366 javax/accessibility/AccessibleBundle.java, 29367 javax/accessibility/AccessibleComponent.java, 29368 javax/accessibility/AccessibleContext.java, 29369 javax/accessibility/AccessibleEditableText.java, 29370 javax/accessibility/AccessibleExtendedComponent.java, 29371 javax/accessibility/AccessibleExtendedTable.java, 29372 javax/accessibility/AccessibleHyperlink.java, 29373 javax/accessibility/AccessibleHypertext.java, 29374 javax/accessibility/AccessibleIcon.java, 29375 javax/accessibility/AccessibleKeyBinding.java, 29376 javax/accessibility/AccessibleRelation.java, 29377 javax/accessibility/AccessibleRelationSet.java, 29378 javax/accessibility/AccessibleResourceBundle.java, 29379 javax/accessibility/AccessibleRole.java, 29380 javax/accessibility/AccessibleSelection.java, 29381 javax/accessibility/AccessibleState.java, 29382 javax/accessibility/AccessibleStateSet.java, 29383 javax/accessibility/AccessibleTable.java, 29384 javax/accessibility/AccessibleTableModelChange.java, 29385 javax/accessibility/AccessibleText.java, 29386 javax/accessibility/AccessibleValue.java, 29387 javax/imageio/IIOException.java, 29388 javax/imageio/spi/IIOServiceProvider.java, 29389 javax/imageio/spi/ImageInputStreamSpi.java, 29390 javax/imageio/spi/ImageOutputStreamSpi.java, 29391 javax/imageio/spi/ImageReaderWriterSpi.java, 29392 javax/imageio/spi/ImageTranscoderSpi.java, 29393 javax/imageio/spi/RegisterableService.java, 29394 javax/imageio/spi/ServiceRegistry.java, 29395 javax/imageio/stream/IIOByteBuffer.java, 29396 javax/imageio/stream/ImageInputStream.java, 29397 javax/imageio/stream/ImageOutputStream.java, 29398 javax/naming/Binding.java, 29399 javax/naming/CannotProceedException.java, 29400 javax/naming/CompositeName.java, 29401 javax/naming/CompoundName.java, 29402 javax/naming/LinkException.java, 29403 javax/naming/LinkRef.java, 29404 javax/naming/NameClassPair.java, 29405 javax/naming/Reference.java, 29406 javax/naming/ReferralException.java, 29407 javax/naming/directory/Attribute.java, 29408 javax/naming/directory/AttributeModificationException.java, 29409 javax/naming/directory/Attributes.java, 29410 javax/naming/directory/DirContext.java, 29411 javax/naming/directory/ModificationItem.java, 29412 javax/naming/directory/SearchControls.java, 29413 javax/naming/directory/SearchResult.java, 29414 javax/naming/event/EventContext.java, 29415 javax/naming/event/EventDirContext.java, 29416 javax/naming/event/NamespaceChangeListener.java, 29417 javax/naming/event/NamingExceptionEvent.java, 29418 javax/naming/event/NamingListener.java, 29419 javax/naming/event/ObjectChangeListener.java, 29420 javax/naming/ldap/Control.java, 29421 javax/naming/ldap/ExtendedResponse.java, 29422 javax/naming/ldap/HasControls.java, 29423 javax/naming/ldap/LdapContext.java, 29424 javax/naming/ldap/UnsolicitedNotification.java, 29425 javax/naming/ldap/UnsolicitedNotificationEvent.java, 29426 javax/naming/ldap/UnsolicitedNotificationListener.java, 29427 javax/naming/spi/DirectoryManager.java, 29428 javax/naming/spi/ResolveResult.java, 29429 javax/naming/spi/Resolver.java, 29430 javax/swing/DefaultBoundedRangeModel.java, 29431 javax/swing/JRadioButton.java, 29432 javax/swing/JTextArea.java, 29433 javax/swing/JToggleButton.java, 29434 javax/swing/SpinnerListModel.java, 29435 javax/swing/event/EventListenerList.java, 29436 javax/swing/text/Utilities.java, 29437 javax/swing/undo/UndoManager.java, 29438 javax/swing/undo/UndoableEditSupport.java, 29439 javax/transaction/HeuristicCommitException.java, 29440 javax/transaction/HeuristicMixedException.java, 29441 javax/transaction/HeuristicRollbackException.java, 29442 javax/transaction/InvalidTransactionException.java, 29443 javax/transaction/NotSupportedException.java, 29444 javax/transaction/RollbackException.java, 29445 javax/transaction/Status.java, 29446 javax/transaction/Synchronization.java, 29447 javax/transaction/SystemException.java, 29448 javax/transaction/Transaction.java, 29449 javax/transaction/TransactionManager.java, 29450 javax/transaction/TransactionRequiredException.java, 29451 javax/transaction/TransactionRolledbackException.java, 29452 javax/transaction/UserTransaction.java, 29453 javax/transaction/xa/XAException.java, 29454 javax/transaction/xa/XAResource.java, 29455 javax/transaction/xa/Xid.java: 29456 Fixed usage of @author tag all over. 29457 294582005-02-16 Michael Koch <konqueror@gmx.de> 29459 29460 * java/applet/Applet.java, 29461 java/beans/AppletInitializer.java, 29462 java/beans/ExceptionListener.java, 29463 java/beans/PropertyChangeEvent.java, 29464 java/beans/PropertyChangeListenerProxy.java, 29465 java/beans/PropertyChangeSupport.java, 29466 java/beans/PropertyDescriptor.java, 29467 java/beans/VetoableChangeListenerProxy.java, 29468 java/beans/VetoableChangeSupport.java, 29469 java/io/BufferedInputStream.java, 29470 java/io/BufferedReader.java, 29471 java/io/ByteArrayInputStream.java, 29472 java/io/ByteArrayOutputStream.java, 29473 java/io/CharArrayReader.java, 29474 java/io/CharArrayWriter.java, 29475 java/io/CharConversionException.java, 29476 java/io/DataInput.java, 29477 java/io/DataInputStream.java, 29478 java/io/DataOutput.java, 29479 java/io/DataOutputStream.java, 29480 java/io/EOFException.java, 29481 java/io/FileInputStream.java, 29482 java/io/FileNotFoundException.java, 29483 java/io/FileOutputStream.java, 29484 java/io/FilenameFilter.java, 29485 java/io/FilterInputStream.java, 29486 java/io/FilterOutputStream.java, 29487 java/io/FilterReader.java, 29488 java/io/FilterWriter.java, 29489 java/io/IOException.java, 29490 java/io/InputStream.java, 29491 java/io/InputStreamReader.java, 29492 java/io/InterruptedIOException.java, 29493 java/io/LineNumberInputStream.java, 29494 java/io/LineNumberReader.java, 29495 java/io/ObjectStreamException.java, 29496 java/io/OptionalDataException.java, 29497 java/io/OutputStream.java, 29498 java/io/OutputStreamWriter.java, 29499 java/io/PrintStream.java, 29500 java/io/PrintWriter.java, 29501 java/io/PushbackInputStream.java, 29502 java/io/PushbackReader.java, 29503 java/io/RandomAccessFile.java, 29504 java/io/Reader.java, 29505 java/io/SequenceInputStream.java, 29506 java/io/Serializable.java, 29507 java/io/StreamCorruptedException.java, 29508 java/io/StreamTokenizer.java, 29509 java/io/StringBufferInputStream.java, 29510 java/io/StringWriter.java, 29511 java/io/SyncFailedException.java, 29512 java/io/UTFDataFormatException.java, 29513 java/io/UnsupportedEncodingException.java, 29514 java/io/WriteAbortedException.java, 29515 java/io/Writer.java, 29516 java/lang/AbstractMethodError.java, 29517 java/lang/ArithmeticException.java, 29518 java/lang/ArrayIndexOutOfBoundsException.java, 29519 java/lang/ArrayStoreException.java, 29520 java/lang/AssertionError.java, 29521 java/lang/Boolean.java, 29522 java/lang/Byte.java, 29523 java/lang/ClassCastException.java, 29524 java/lang/ClassCircularityError.java, 29525 java/lang/ClassLoader.java, 29526 java/lang/ClassNotFoundException.java, 29527 java/lang/CloneNotSupportedException.java, 29528 java/lang/Cloneable.java, 29529 java/lang/Comparable.java, 29530 java/lang/Compiler.java, 29531 java/lang/Double.java, 29532 java/lang/Error.java, 29533 java/lang/Exception.java, 29534 java/lang/ExceptionInInitializerError.java, 29535 java/lang/Float.java, 29536 java/lang/IllegalAccessError.java, 29537 java/lang/IllegalAccessException.java, 29538 java/lang/IllegalArgumentException.java, 29539 java/lang/IllegalMonitorStateException.java, 29540 java/lang/IllegalStateException.java, 29541 java/lang/IllegalThreadStateException.java, 29542 java/lang/IncompatibleClassChangeError.java, 29543 java/lang/IndexOutOfBoundsException.java, 29544 java/lang/InheritableThreadLocal.java, 29545 java/lang/InstantiationError.java, 29546 java/lang/InstantiationException.java, 29547 java/lang/Integer.java, 29548 java/lang/InternalError.java, 29549 java/lang/InterruptedException.java, 29550 java/lang/LinkageError.java, 29551 java/lang/Long.java, 29552 java/lang/NegativeArraySizeException.java, 29553 java/lang/NoClassDefFoundError.java, 29554 java/lang/NoSuchFieldError.java, 29555 java/lang/NoSuchFieldException.java, 29556 java/lang/NoSuchMethodError.java, 29557 java/lang/NoSuchMethodException.java, 29558 java/lang/NullPointerException.java, 29559 java/lang/Number.java, 29560 java/lang/NumberFormatException.java, 29561 java/lang/OutOfMemoryError.java, 29562 java/lang/Process.java, 29563 java/lang/Runnable.java, 29564 java/lang/Runtime.java, 29565 java/lang/RuntimeException.java, 29566 java/lang/RuntimePermission.java, 29567 java/lang/SecurityException.java, 29568 java/lang/SecurityManager.java, 29569 java/lang/Short.java, 29570 java/lang/StackOverflowError.java, 29571 java/lang/StackTraceElement.java, 29572 java/lang/StringBuffer.java, 29573 java/lang/StringIndexOutOfBoundsException.java, 29574 java/lang/ThreadDeath.java, 29575 java/lang/ThreadGroup.java, 29576 java/lang/Throwable.java, 29577 java/lang/UnsatisfiedLinkError.java, 29578 java/lang/UnsupportedOperationException.java, 29579 java/lang/VerifyError.java, 29580 java/lang/VirtualMachineError.java, 29581 java/lang/reflect/AccessibleObject.java, 29582 java/lang/reflect/Array.java, 29583 java/lang/reflect/InvocationTargetException.java, 29584 java/lang/reflect/Member.java, 29585 java/lang/reflect/Modifier.java, 29586 java/lang/reflect/Proxy.java, 29587 java/lang/reflect/ReflectPermission.java, 29588 java/lang/reflect/UndeclaredThrowableException.java, 29589 java/math/BigInteger.java, 29590 java/nio/ByteBufferHelper.java, 29591 java/nio/channels/IllegalBlockingModeException.java, 29592 java/nio/charset/spi/CharsetProvider.java, 29593 java/security/AccessControlException.java, 29594 java/security/AllPermission.java, 29595 java/security/BasicPermission.java, 29596 java/security/DigestException.java, 29597 java/security/DigestInputStream.java, 29598 java/security/DigestOutputStream.java, 29599 java/security/GeneralSecurityException.java, 29600 java/security/Guard.java, 29601 java/security/GuardedObject.java, 29602 java/security/InvalidAlgorithmParameterException.java, 29603 java/security/InvalidKeyException.java, 29604 java/security/InvalidParameterException.java, 29605 java/security/Key.java, 29606 java/security/KeyException.java, 29607 java/security/KeyManagementException.java, 29608 java/security/KeyStoreException.java, 29609 java/security/MessageDigestSpi.java, 29610 java/security/NoSuchAlgorithmException.java, 29611 java/security/NoSuchProviderException.java, 29612 java/security/Permission.java, 29613 java/security/PermissionCollection.java, 29614 java/security/Permissions.java, 29615 java/security/Principal.java, 29616 java/security/PrivateKey.java, 29617 java/security/PrivilegedActionException.java, 29618 java/security/ProviderException.java, 29619 java/security/PublicKey.java, 29620 java/security/SecureRandom.java, 29621 java/security/SecureRandomSpi.java, 29622 java/security/SignatureException.java, 29623 java/security/SignatureSpi.java, 29624 java/security/SignedObject.java, 29625 java/security/Signer.java, 29626 java/security/UnrecoverableKeyException.java, 29627 java/security/UnresolvedPermission.java, 29628 java/security/acl/AclNotFoundException.java, 29629 java/security/acl/LastOwnerException.java, 29630 java/security/acl/NotOwnerException.java, 29631 java/security/cert/CertPath.java, 29632 java/security/cert/CertPathBuilderException.java, 29633 java/security/cert/CertPathValidatorException.java, 29634 java/security/cert/CertStoreException.java, 29635 java/text/BreakIterator.java, 29636 java/text/ChoiceFormat.java, 29637 java/text/CollationElementIterator.java, 29638 java/text/CollationKey.java, 29639 java/text/Collator.java, 29640 java/text/DateFormat.java, 29641 java/text/DateFormatSymbols.java, 29642 java/text/FieldPosition.java, 29643 java/text/Format.java, 29644 java/text/MessageFormat.java, 29645 java/text/ParseException.java, 29646 java/text/ParsePosition.java, 29647 java/text/StringCharacterIterator.java, 29648 java/util/AbstractCollection.java, 29649 java/util/AbstractList.java, 29650 java/util/AbstractMap.java, 29651 java/util/AbstractSequentialList.java, 29652 java/util/AbstractSet.java, 29653 java/util/ArrayList.java, 29654 java/util/Arrays.java, 29655 java/util/BitSet.java, 29656 java/util/Collection.java, 29657 java/util/Collections.java, 29658 java/util/Comparator.java, 29659 java/util/ConcurrentModificationException.java, 29660 java/util/EmptyStackException.java, 29661 java/util/Enumeration.java, 29662 java/util/EventListener.java, 29663 java/util/EventListenerProxy.java, 29664 java/util/EventObject.java, 29665 java/util/HashMap.java, 29666 java/util/HashSet.java, 29667 java/util/Hashtable.java, 29668 java/util/IdentityHashMap.java, 29669 java/util/Iterator.java, 29670 java/util/LinkedHashSet.java, 29671 java/util/LinkedList.java, 29672 java/util/List.java, 29673 java/util/ListIterator.java, 29674 java/util/ListResourceBundle.java, 29675 java/util/Map.java, 29676 java/util/MissingResourceException.java, 29677 java/util/NoSuchElementException.java, 29678 java/util/Observable.java, 29679 java/util/Observer.java, 29680 java/util/Properties.java, 29681 java/util/PropertyPermissionCollection.java, 29682 java/util/RandomAccess.java, 29683 java/util/Set.java, 29684 java/util/SortedMap.java, 29685 java/util/SortedSet.java, 29686 java/util/Stack.java, 29687 java/util/StringTokenizer.java, 29688 java/util/TooManyListenersException.java, 29689 java/util/TreeMap.java, 29690 java/util/TreeSet.java, 29691 java/util/Vector.java, 29692 java/util/logging/Level.java, 29693 java/util/prefs/BackingStoreException.java: 29694 Fixed @author tag all over. 29695 296962005-02-16 Michael Koch <konqueror@gmx.de> 29697 29698 * java/awt/AWTError.java, 29699 java/awt/AWTEvent.java, 29700 java/awt/AWTEventMulticaster.java, 29701 java/awt/AWTException.java, 29702 java/awt/AWTKeyStroke.java, 29703 java/awt/AWTPermission.java, 29704 java/awt/ActiveEvent.java, 29705 java/awt/Adjustable.java, 29706 java/awt/AlphaComposite.java, 29707 java/awt/AttributeValue.java, 29708 java/awt/BorderLayout.java, 29709 java/awt/BufferCapabilities.java, 29710 java/awt/Button.java, 29711 java/awt/Canvas.java, 29712 java/awt/CheckboxGroup.java, 29713 java/awt/CheckboxMenuItem.java, 29714 java/awt/Color.java, 29715 java/awt/ColorPaintContext.java, 29716 java/awt/Component.java, 29717 java/awt/ComponentOrientation.java, 29718 java/awt/Composite.java, 29719 java/awt/CompositeContext.java, 29720 java/awt/Container.java, 29721 java/awt/ContainerOrderFocusTraversalPolicy.java, 29722 java/awt/DefaultFocusTraversalPolicy.java, 29723 java/awt/Dialog.java, 29724 java/awt/Dimension.java, 29725 java/awt/DisplayMode.java, 29726 java/awt/FileDialog.java, 29727 java/awt/FontFormatException.java, 29728 java/awt/Graphics.java, 29729 java/awt/Graphics2D.java, 29730 java/awt/GraphicsConfigTemplate.java, 29731 java/awt/GraphicsConfiguration.java, 29732 java/awt/GraphicsDevice.java, 29733 java/awt/GridBagLayout.java, 29734 java/awt/GridBagLayoutInfo.java, 29735 java/awt/GridLayout.java, 29736 java/awt/HeadlessException.java, 29737 java/awt/IllegalComponentStateException.java, 29738 java/awt/Image.java, 29739 java/awt/Insets.java, 29740 java/awt/ItemSelectable.java, 29741 java/awt/JobAttributes.java, 29742 java/awt/KeyEventDispatcher.java, 29743 java/awt/KeyEventPostProcessor.java, 29744 java/awt/KeyboardFocusManager.java, 29745 java/awt/Label.java, 29746 java/awt/LayoutManager.java, 29747 java/awt/MenuBar.java, 29748 java/awt/MenuComponent.java, 29749 java/awt/MenuContainer.java, 29750 java/awt/PageAttributes.java, 29751 java/awt/Paint.java, 29752 java/awt/PaintContext.java, 29753 java/awt/Panel.java, 29754 java/awt/Point.java, 29755 java/awt/Polygon.java, 29756 java/awt/PrintGraphics.java, 29757 java/awt/PrintJob.java, 29758 java/awt/Rectangle.java, 29759 java/awt/RenderingHints.java, 29760 java/awt/Shape.java, 29761 java/awt/Stroke.java, 29762 java/awt/SystemColor.java, 29763 java/awt/Toolkit.java, 29764 java/awt/Transparency.java, 29765 java/awt/Window.java, 29766 java/awt/color/CMMException.java, 29767 java/awt/color/ColorSpace.java, 29768 java/awt/color/ICC_ColorSpace.java, 29769 java/awt/color/ICC_Profile.java, 29770 java/awt/color/ProfileDataException.java, 29771 java/awt/datatransfer/FlavorTable.java, 29772 java/awt/datatransfer/MimeTypeParseException.java, 29773 java/awt/datatransfer/Transferable.java, 29774 java/awt/datatransfer/UnsupportedFlavorException.java, 29775 java/awt/dnd/Autoscroll.java, 29776 java/awt/dnd/DnDConstants.java, 29777 java/awt/dnd/DragGestureListener.java, 29778 java/awt/dnd/DragSourceAdapter.java, 29779 java/awt/dnd/DragSourceDropEvent.java, 29780 java/awt/dnd/DragSourceListener.java, 29781 java/awt/dnd/DragSourceMotionListener.java, 29782 java/awt/dnd/DropTargetAdapter.java, 29783 java/awt/dnd/DropTargetContext.java, 29784 java/awt/dnd/DropTargetListener.java, 29785 java/awt/dnd/InvalidDnDOperationException.java, 29786 java/awt/dnd/MouseDragGestureRecognizer.java, 29787 java/awt/dnd/peer/DropTargetContextPeer.java, 29788 java/awt/event/AWTEventListener.java, 29789 java/awt/event/AWTEventListenerProxy.java, 29790 java/awt/event/ActionEvent.java, 29791 java/awt/event/AdjustmentEvent.java, 29792 java/awt/event/AdjustmentListener.java, 29793 java/awt/event/ComponentAdapter.java, 29794 java/awt/event/ComponentEvent.java, 29795 java/awt/event/ComponentListener.java, 29796 java/awt/event/ContainerAdapter.java, 29797 java/awt/event/ContainerEvent.java, 29798 java/awt/event/ContainerListener.java, 29799 java/awt/event/FocusAdapter.java, 29800 java/awt/event/FocusEvent.java, 29801 java/awt/event/FocusListener.java, 29802 java/awt/event/InputEvent.java, 29803 java/awt/event/InputMethodEvent.java, 29804 java/awt/event/InputMethodListener.java, 29805 java/awt/event/InvocationEvent.java, 29806 java/awt/event/ItemEvent.java, 29807 java/awt/event/ItemListener.java, 29808 java/awt/event/KeyAdapter.java, 29809 java/awt/event/KeyEvent.java, 29810 java/awt/event/KeyListener.java, 29811 java/awt/event/MouseAdapter.java, 29812 java/awt/event/MouseEvent.java, 29813 java/awt/event/MouseListener.java, 29814 java/awt/event/MouseMotionAdapter.java, 29815 java/awt/event/MouseMotionListener.java, 29816 java/awt/event/MouseWheelEvent.java, 29817 java/awt/event/MouseWheelListener.java, 29818 java/awt/event/PaintEvent.java, 29819 java/awt/event/TextEvent.java, 29820 java/awt/event/TextListener.java, 29821 java/awt/event/WindowAdapter.java, 29822 java/awt/event/WindowEvent.java, 29823 java/awt/event/WindowFocusListener.java, 29824 java/awt/event/WindowListener.java, 29825 java/awt/event/WindowStateListener.java, 29826 java/awt/font/TextHitInfo.java, 29827 java/awt/geom/CubicCurve2D.java, 29828 java/awt/geom/Dimension2D.java, 29829 java/awt/geom/Ellipse2D.java, 29830 java/awt/geom/IllegalPathStateException.java, 29831 java/awt/geom/Line2D.java, 29832 java/awt/geom/NoninvertibleTransformException.java, 29833 java/awt/geom/PathIterator.java, 29834 java/awt/geom/Point2D.java, 29835 java/awt/geom/QuadCurve2D.java, 29836 java/awt/geom/RectangularShape.java, 29837 java/awt/geom/RoundRectangle2D.java, 29838 java/awt/im/InputContext.java, 29839 java/awt/im/InputMethodHighlight.java, 29840 java/awt/im/InputMethodRequests.java, 29841 java/awt/im/InputSubset.java, 29842 java/awt/im/spi/InputMethod.java, 29843 java/awt/im/spi/InputMethodDescriptor.java, 29844 java/awt/image/BandCombineOp.java, 29845 java/awt/image/BandedSampleModel.java, 29846 java/awt/image/ByteLookupTable.java, 29847 java/awt/image/ComponentSampleModel.java, 29848 java/awt/image/DataBuffer.java, 29849 java/awt/image/DataBufferByte.java, 29850 java/awt/image/DataBufferDouble.java, 29851 java/awt/image/DataBufferFloat.java, 29852 java/awt/image/DataBufferInt.java, 29853 java/awt/image/DataBufferShort.java, 29854 java/awt/image/DataBufferUShort.java, 29855 java/awt/image/ImagingOpException.java, 29856 java/awt/image/Kernel.java, 29857 java/awt/image/LookupTable.java, 29858 java/awt/image/MultiPixelPackedSampleModel.java, 29859 java/awt/image/PackedColorModel.java, 29860 java/awt/image/PixelInterleavedSampleModel.java, 29861 java/awt/image/RGBImageFilter.java, 29862 java/awt/image/Raster.java, 29863 java/awt/image/RasterFormatException.java, 29864 java/awt/image/SampleModel.java, 29865 java/awt/image/ShortLookupTable.java, 29866 java/awt/image/SinglePixelPackedSampleModel.java, 29867 java/awt/image/WritableRaster.java, 29868 java/awt/print/PrinterAbortException.java, 29869 java/awt/print/PrinterException.java, 29870 java/awt/print/PrinterIOException.java: 29871 Fixed @author tag all over. 29872 298732005-02-16 Michael Koch <konqueror@gmx.de> 29874 29875 * java/awt/EventQueue.java: Reworked import statements. 29876 * java/lang/StringBuilder.java 29877 (DEFAULT_CAPACITY): Reordered modifiers. 29878 * java/text/SimpleDateFormat.java: Reworked import statements. 29879 Fixed one littel formatting issue. 29880 (formatData): Removed a useless comment. 29881 * javax/imageio/ImageIO.java: Reworked import statements. 29882 * javax/swing/text/StringContent.java: Likewise. 29883 * javax/swing/JTextField.java: Likewise. 29884 (notifyAction): Added javadoc. 29885 298862005-02-15 Mark Wielaard <mark@klomp.org> 29887 29888 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that 29889 file path elements are separated by spaces. 29890 298912005-02-15 Mark Wielaard <mark@klomp.org> 29892 29893 * javax/net/ssl/SSLContext.java (getInstance): Add exception message 29894 and/or cause before throwing. 29895 298962005-02-15 Mark Wielaard <mark@klomp.org> 29897 29898 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use 29899 space for parsing CLASS_PATH attribute. 29900 299012005-02-15 Andrew Haley <aph@redhat.com> 29902 29903 * java/net/URLClassLoader.java 29904 (URLLoader.getClassPath): New method. 29905 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path" 29906 attribute and add URLs for each entry. 29907 (JarURLLoader.classPath): New field. 29908 (JarURLLoader.getClassPath): New method. 29909 (addURLImpl): Scan through the list of extraUrls in the new 29910 loader, adding them to our urlinfos. 29911 (definePackage, findURLResource, findResources): Use 29912 urlinfos.size(), not urls.size(). 29913 299142005-02-14 Tom Tromey <tromey@redhat.com> 29915 29916 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL, 29917 URL)): New constructor. 29918 299192005-02-14 Mark Wielaard <mark@klomp.org> 29920 29921 * java/net/URLClassLoader.java (findClass): Throw 29922 ClassNotFoundExceptions including urls, plus parent using toString(). 29923 (thisString): New field. 29924 (toString): New method. 29925 29926 * java/lang/ClassLoader (defaultGetSystemClassLoader): Only install 29927 ExtensionClassLoader when there are actual extension URLs. 29928 299292005-02-14 Mark Wielaard <mark@klomp.org> 29930 29931 * native/jni/xmlj/.cvsignore: Add *.o, *.a, *.lo, *.la, .libs, .deps. 29932 299332005-02-14 Sven de Marothy <sven@physto.se> 29934 29935 * java/util/Calendar.java 29936 (Calendar): Constructor should clear fields. 29937 299382005-02-14 Sven de Marothy <sven@physto.se> 29939 29940 * javax/swing/SpinnerDateModel.java: Implemented. 29941 299422005-02-14 Sven de Marothy <sven@physto.se> 29943 29944 * java/util/Calendar.java 29945 (clear): Dates should clear to local time. 29946 29947 * java/util/GregorianCalendar.java 29948 (computeTime): Fix priority problem with DAY_OF_WEEK, 29949 Handle non-sunday-startig weeks and minimumDaysInFirstWeek. 29950 299512005-02-13 Mark Wielaard <mark@klomp.org> 29952 29953 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw 29954 IllegalArgumentException when the given String is null. 29955 29956 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null 29957 when given keystoke sequence cannot be parsed. 29958 29959 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar 29960 if one is installed. Only install the given menubar is not null. 29961 29962 * javax/swing/JViewport.java (getViewSize): Return an empty 29963 Dimension when the view isn't set or preferred component size when 29964 no viewSize is set. 29965 29966 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an 29967 empty Dimension when there is no view set. 29968 (minimumLayoutSize): Likewise. 29969 (layoutContainer): Don't try to layout when there is no view. 29970 299712005-02-13 Mark Wielaard <mark@klomp.org> 29972 29973 # Fixes bug #11957 29974 * java/io/ObjectInputStream.java (resolveClass): Don't check "void" 29975 twice. 29976 299772005-02-13 Tom Tromey <tromey@redhat.com> 29978 29979 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when 29980 attribute index is out of bounds. 29981 299822005-02-12 Mark Wielaard <mark@klomp.org> 29983 29984 Fixes bug #11949 29985 * java/awt/BasicStroke.java (hashCode): Check for null dash. 29986 299872005-02-11 Andrew John Hughes <gnu_andrew@member.fsf.org> 29988 29989 * gnu/java/awt/color/ClutProfileConverter.java, 29990 gnu/java/awt/peer/ClasspathTextLayoutPeer.java, 29991 gnu/java/awt/peer/gtk/GdkFontPeer.java, 29992 gnu/java/awt/peer/gtk/GdkGlyphVector.java, 29993 gnu/java/awt/peer/gtk/GdkGraphics2D.java, 29994 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, 29995 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, 29996 gnu/java/awt/peer/gtk/GdkRobotPeer.java, 29997 gnu/java/awt/peer/gtk/GdkTextLayout.java, 29998 gnu/java/awt/peer/gtk/GtkButtonPeer.java, 29999 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java, 30000 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, 30001 gnu/java/awt/peer/gtk/GtkChoicePeer.java, 30002 gnu/java/awt/peer/gtk/GtkComponentPeer.java, 30003 gnu/java/awt/peer/gtk/GtkContainerPeer.java, 30004 gnu/java/awt/peer/gtk/GtkDialogPeer.java, 30005 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, 30006 gnu/java/awt/peer/gtk/GtkFontPeer.java, 30007 gnu/java/awt/peer/gtk/GtkFramePeer.java, 30008 gnu/java/awt/peer/gtk/GtkLabelPeer.java, 30009 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, 30010 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java, 30011 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, 30012 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java, 30013 gnu/java/awt/peer/gtk/GtkToolkit.java, 30014 gnu/java/awt/peer/gtk/GtkWindowPeer.java, 30015 gnu/java/io/EncodingManager.java, 30016 gnu/java/io/decode/DecoderUTF8.java, 30017 gnu/java/net/protocol/file/Connection.java, 30018 gnu/java/net/protocol/ftp/ActiveModeDTP.java, 30019 gnu/java/net/protocol/ftp/BlockInputStream.java, 30020 gnu/java/net/protocol/ftp/BlockOutputStream.java, 30021 gnu/java/net/protocol/ftp/CompressedOutputStream.java, 30022 gnu/java/net/protocol/ftp/StreamInputStream.java, 30023 gnu/java/net/protocol/ftp/StreamOutputStream.java, 30024 gnu/java/net/protocol/http/Cookie.java, 30025 gnu/java/net/protocol/http/HTTPConnection.java, 30026 gnu/java/net/protocol/http/HTTPDateFormat.java, 30027 gnu/java/net/protocol/http/Request.java, 30028 gnu/java/nio/SelectorImpl.java, 30029 gnu/java/rmi/dgc/DGCImpl.java, 30030 gnu/java/rmi/server/UnicastConnectionManager.java, 30031 gnu/java/security/pkcs/SignerInfo.java, 30032 gnu/java/security/provider/EncodedKeyFactory.java, 30033 gnu/java/security/provider/GnuDHPublicKey.java, 30034 gnu/java/security/provider/PKIXCertPathValidatorImpl.java, 30035 gnu/java/security/x509/X500DistinguishedName.java, 30036 gnu/java/security/x509/X509CRL.java, 30037 gnu/java/security/x509/X509CRLEntry.java, 30038 gnu/java/security/x509/X509Certificate.java, 30039 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java, 30040 gnu/java/security/x509/ext/CertificatePolicies.java, 30041 gnu/java/security/x509/ext/PolicyConstraint.java, 30042 gnu/xml/aelfred2/SAXDriver.java, 30043 gnu/xml/dom/Consumer.java, 30044 gnu/xml/dom/DomCharacterData.java, 30045 gnu/xml/dom/DomDocument.java, 30046 gnu/xml/dom/DomDocumentBuilder.java, 30047 gnu/xml/dom/DomIterator.java, 30048 gnu/xml/dom/DomNode.java, 30049 gnu/xml/dom/DomXPathExpression.java, 30050 gnu/xml/dom/DomXPathResult.java, 30051 gnu/xml/dom/JAXPFactory.java, 30052 gnu/xml/dom/ls/DomLSException.java, 30053 gnu/xml/libxmlj/dom/GnomeDocumentBuilder.java, 30054 gnu/xml/libxmlj/dom/GnomeXPathNodeList.java, 30055 gnu/xml/libxmlj/sax/GnomeXMLReader.java, 30056 gnu/xml/libxmlj/transform/GnomeTransformer.java, 30057 gnu/xml/libxmlj/transform/GnomeTransformerFactory.java, 30058 gnu/xml/libxmlj/util/XMLJ.java, 30059 gnu/xml/pipeline/CallFilter.java, 30060 gnu/xml/pipeline/DomConsumer.java, 30061 gnu/xml/pipeline/LinkFilter.java, 30062 gnu/xml/pipeline/NSFilter.java, 30063 gnu/xml/pipeline/TeeConsumer.java, 30064 gnu/xml/pipeline/ValidationConsumer.java, 30065 gnu/xml/pipeline/WellFormednessFilter.java, 30066 gnu/xml/pipeline/XIncludeFilter.java, 30067 gnu/xml/pipeline/XsltFilter.java, 30068 gnu/xml/transform/ApplyImportsNode.java, 30069 gnu/xml/transform/Bindings.java, 30070 gnu/xml/transform/DocumentFunction.java, 30071 gnu/xml/transform/FormatNumberFunction.java, 30072 gnu/xml/transform/NodeNumberNode.java, 30073 gnu/xml/transform/NumberNode.java, 30074 gnu/xml/transform/Stylesheet.java, 30075 gnu/xml/transform/SystemPropertyFunction.java, 30076 gnu/xml/transform/Template.java, 30077 gnu/xml/transform/TemplatesImpl.java, 30078 gnu/xml/transform/TransformerImpl.java, 30079 gnu/xml/transform/ValueOfNode.java, 30080 gnu/xml/transform/XSLURIResolver.java, 30081 gnu/xml/util/DoParse.java, 30082 gnu/xml/util/Resolver.java, 30083 gnu/xml/xpath/Expr.java, 30084 gnu/xml/xpath/FunctionCall.java, 30085 gnu/xml/xpath/RelationalExpr.java, 30086 gnu/xml/xpath/Selector.java, 30087 gnu/xml/xpath/XPathParser.java, 30088 java/beans/XMLDecoder.java, 30089 java/text/SimpleDateFormat.java, 30090 javax/swing/JPopupMenu.java, 30091 javax/swing/JSpinner.java, 30092 javax/swing/SortingFocusTraversalPolicy.java, 30093 javax/swing/SwingUtilities.java, 30094 javax/swing/plaf/basic/BasicComboBoxEditor.java, 30095 javax/swing/plaf/basic/BasicComboBoxRenderer.java, 30096 javax/swing/tree/DefaultMutableTreeNode.java, 30097 javax/xml/parsers/DocumentBuilder.java, 30098 javax/xml/parsers/DocumentBuilderFactory.java, 30099 javax/xml/transform/sax/SAXTransformerFactory.java, 30100 vm/reference/java/lang/VMClassLoader.java, 30101 vm/reference/java/lang/VMProcess.java, 30102 vm/reference/java/lang/VMRuntime.java, 30103 vm/reference/java/lang/VMSystem.java, 30104 vm/reference/java/security/VMAccessController.java: 30105 Removed unused imports and expanded starred 30106 imports. 30107 301082005-02-12 Michael Koch <konqueror@gmx.de> 30109 30110 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h, 30111 include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: 30112 Regenerated. 30113 301142005-02-12 Graydon Hoare <graydon@redhat.com> 30115 30116 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java: Add. 30117 301182005-02-12 Graydon Hoare <graydon@redhat.com> 30119 30120 * gnu/java/awt/peer/gtk/GdkFontPeer.java 30121 (getGlyphVector): 30122 (getFontMetrics): 30123 (getTextMetrics): New native methods. 30124 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts. 30125 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise. 30126 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: 30127 Hold reference to GtkToolkit. 30128 * gnu/java/awt/peer/gtk/GdkGraphics2D.java 30129 (cairoSetFont): 30130 (cairoDrawGdkTextLayout): 30131 (cairoDrawString): 30132 (getPeerTextMetrics): 30133 (getPeerFontMetrics): Remove. 30134 (setFont): Don't call cairoSetFont. 30135 (cairoDrawGlyphVector): Accept font peer argument. 30136 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector. 30137 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: 30138 (finalize): Call finish from here. 30139 (produce): Not from here. 30140 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: 30141 Hold reference to GdkGraphicsEnvironment. 30142 * gnu/java/awt/peer/gtk/GtkToolkit.java: 30143 (getFontMetrics): Change locking. 30144 (getBounds): New method. 30145 (getLocalGraphicsEnvironment): Pass reference to this. 30146 30147 * include/Makefile.am: Remove entries for GdkFontMetrics, GdkGlyphVector. 30148 * include/gnu_java_awt_peer_gtk_GdkFontMetrics.h: Remove. 30149 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate. 30150 * include/gnu_java_awt_peer_gtk_GdkGlyphVector.h: Remove. 30151 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate. 30152 30153 * native/jni/gtk-peer/Makefile.am 30154 Remove entries for GdkFontMetrics, GdkGlyphVector. 30155 * native/jni/gtk-peer/gdkfont.h: Add #defines, remove struct glyphvec. 30156 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 30157 (ensure_metrics_cairo): 30158 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont): 30159 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString): 30160 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics): 30161 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics): 30162 (metrics_cairo): 30163 (metrics_surface): Remove. 30164 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector): 30165 Pass and install font peer. 30166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: 30167 Release GDK lock while performing upcalls. 30168 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove. 30169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 30170 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector): 30171 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): 30172 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods. 30173 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove. 30174 301752005-02-11 Craig Black <craig.black@aonix.com> 30176 30177 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java 30178 (postMenuActionEvent): Implement to notify ItemListeners. 30179 * java/awt/CheckboxMenuItem.java 30180 (dispatchEventImpl): Update state on ItemEvent. 30181 * java/awt/MenuItem.java 30182 (processActionEvent): Retarget event source. 30183 301842005-02-11 Thomas Fitzsimmons <fitzsim@redhat.com> 30185 30186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create): 30187 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT. 30188 (handle_response): Use GTK_RESPONSE_ACCEPT. 30189 301902005-02-10 Michael Koch <konqueror@gmx.de> 30191 30192 * configure.ac: Define GTK_CAIRO in config.h 30193 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 30194 (gtkInit): Compile Graphics2D stuff conditionally. 30195 301962005-02-10 Chris Burdess <dog@gnu.org> 30197 30198 * gnu/xml/dom/DomAttr.java, 30199 gnu/xml/dom/DomCDATA.java, 30200 gnu/xml/dom/DomCDATASection.java, 30201 gnu/xml/dom/DomCharacterData.java, 30202 gnu/xml/dom/DomDOMException.java, 30203 gnu/xml/dom/DomDoctype.java, 30204 gnu/xml/dom/DomDocument.java, 30205 gnu/xml/dom/DomDocumentConfiguration.java, 30206 gnu/xml/dom/DomDocumentFragment.java, 30207 gnu/xml/dom/DomElement.java, 30208 gnu/xml/dom/DomEx.java, 30209 gnu/xml/dom/DomFragment.java, 30210 gnu/xml/dom/DomImpl.java, 30211 gnu/xml/dom/DomIterator.java, 30212 gnu/xml/dom/DomNamedNodeMap.java, 30213 gnu/xml/dom/DomNode.java, 30214 gnu/xml/dom/DomNsNode.java, 30215 gnu/xml/dom/DomPI.java, 30216 gnu/xml/dom/DomProcessingInstruction.java, 30217 gnu/xml/dom/DomText.java, 30218 gnu/xml/dom/DomLSEx.java, 30219 gnu/xml/dom/DomLSException.java, 30220 gnu/xml/dom/DomLSParser.java, 30221 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM 30222 implementation class names to conform to Classpath guidelines. Make 30223 DomLSException use JDK 1.4+ exception chaining. 30224 * gnu/xml/util/SAXNullTransformerFactory.java, 30225 gnu/xml/xpath/Predicate.java: Use constants relative to declaring 30226 class or interface. 30227 302282005-02-10 Michael Koch <konqueror@gmx.de> 30229 30230 * javax/swing/JTabbedPane.java 30231 (Page.setDisplayedMnemonicIndex): Handle empty menmonic. 30232 302332005-02-10 Graydon Hoare <graydon@redhat.com> 30234 30235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c, 30236 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, 30237 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c, 30238 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: 30239 Release GDK lock during upcalls. 30240 302412005-02-10 Michael Koch <konqueror@gmx.de> 30242 30243 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: 30244 Merged file header from java-gui-20050128-branch. 30245 302462005-02-10 Michael Koch <konqueror@gmx.de> 30247 30248 * java/awt/Container.java (paramString): 30249 If layoutMgr is null just return result of super.paramString(). 30250 302512005-02-10 Jeroen Frijters <jeroen@frijters.net> 30252 30253 * java/text/Collator.java (getInstance(Locale)): 30254 Added default collation pattern to handle case when resource 30255 is missing and throw InternalError instead of returning null 30256 should parsing fail. 30257 302582005-02-09 Mark Wielaard <mark@klomp.org> 30259 30260 * gnu/java/net/protocol/jar/Connection.java (getJarFile): 30261 Rename jar_file to jf. 30262 302632005-02-09 Tom Tromey <tromey@redhat.com> 30264 30265 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open 30266 jar file with OPEN_DELETE. 30267 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when 30268 OPEN_DELETE is used. 30269 302702005-02-09 Michael Koch <konqueror@gmx.de> 30271 30272 * java/awt/Scrollbar.java: Reformatted. 30273 302742005-02-08 Tom Tromey <tromey@redhat.com> 30275 30276 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user 30277 name or port is missing. 30278 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP, 30279 AUTHORITY_PORT_GROUP): Updated. 30280 302812005-02-08 Craig Black <craig.black@aonix.com> 30282 30283 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c 30284 (copyState): Pass a JNI global reference to signal handler. 30285 (realize_cb): Use and free JNI global reference. 30286 30287 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c 30288 (create): Pass a JNI global reference to signal handler. 30289 (selection_changed): Match declaration. 30290 30291 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c 30292 (dispose): Do not remove entries from state tables until after widget is 30293 destroyed. 30294 302952005-02-08 Michael Koch <konqueror@gmx.de> 30296 30297 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c 30298 (NIOGetPointer): Handle case of pointer size != 32 bit. 30299 (NIOGetRawData): Likewise. 30300 (Java_java_nio_VMDirectByteBuffer_init): Likewise. 30301 Fixed asking for primitive type 'long'. 30302 303032005-02-08 Michael Koch <konqueror@gmx.de> 30304 30305 * configure.ac: Define substition variable GTK_CAIRO_ENABLED. 30306 Fix handling of GTK_CAIRO conditional. 30307 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): 30308 New constant. 30309 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (static): 30310 Throw error when Cairo support was not enabled during configure time. 30311 303122005-02-08 Michael Koch <konqueror@gmx.de> 30313 30314 * javax/swing/tree/DefaultMutableTreeNode.java: 30315 Reworked Javadocs all over. 30316 (getPathToRoot): Fixed direction of result array initialization. 30317 303182005-02-07 Mark Wielaard <mark@klomp.org> 30319 30320 * java/util/ResourceBundle.java (getObject): Clarify 30321 MissingResourceException detailed message. 30322 (tryBundle(String,ClassLoader)): Likewise. 30323 303242005-02-07 Craig Black <craig.black@aonix.com> 30325 30326 * native/jni/classpath/native_state.c 30327 (add_node): Update head pointer when moving node to front of list. 30328 303292005-02-07 Andrew John Hughes <gnu_andrew@member.fsf.org> 30330 30331 * acinclude.m4: 30332 (CLASSPATH_FIND_JAVAC): Add ECJ option. 30333 (CLASSPATH_WITH_ECJ): New function. 30334 (CLASSPATH_CHECK_ECJ): New function. 30335 * examples/Makefile.am: 30336 Allow examples to be built with ecj. 30337 * lib/Makefile.am: 30338 Allow Classpath to be built with ecj. 30339 303402005-02-06 Mark Wielaard <mark@klomp.org> 30341 30342 Reported by Timo Lindfors <timo.lindfors@iki.fi> 30343 java/util/regex/Matcher.java (lookingAt): Set position when match 30344 found. 30345 (matches): Implemented through lookingAt(). 30346 303472005-02-06 Mark Wielaard <mark@klomp.org> 30348 30349 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi> 30350 * java/util/regex/Pattern.java (split(CharSequence,int)): 30351 Fix while empties > 0 loops. 30352 303532005-02-05 C. Brian Jones <cbj@gnu.org> 30354 30355 * gnu/java/rmi/registry/: added back to classpath again, used by core library 30356 * gnu/java/rmi/registry/RegistryImpl.java: ditto 30357 * gnu/java/rmi/registry/RegistryImpl_Skel.java: ditto 30358 * gnu/java/rmi/registry/RegistryImpl_Stub.java: ditto 30359 303602005-02-06 Mark Wielaard <mark@klomp.org> 30361 30362 * doc/api/Makefile.am (create_html): Remove gjdoc -public flag. 30363 303642005-02-05 Sven de Marothy <sven@physto.se> 30365 30366 * java/text/SimpleDateFormat.java 30367 (parse): Tweak handling of 2-year dates 30368 * java/util/Calendar.java 30369 (clear): Clear fields to correct value. 30370 * java/util/GregorianCalendar.java 30371 (computeTime): Correct handling of time zones. 30372 Correct field minimum values. 30373 303742005-02-05 C. Brian Jones <cbj@gnu.org> 30375 30376 * gnu/java/rmi/rmic/: added to cp-tools and removed from classpath 30377 * gnu/java/rmi/rmic/Compile_gcj.java: ditto 30378 * gnu/java/rmi/rmic/Compile_jikes.java: ditto 30379 * gnu/java/rmi/rmic/Compile_kjc.java: ditto 30380 * gnu/java/rmi/rmic/Compiler.java: ditto 30381 * gnu/java/rmi/rmic/CompilerProcess.java: ditto 30382 * gnu/java/rmi/rmic/RMICException.java: ditto 30383 * gnu/java/rmi/rmic/RMIC.java: ditto 30384 * gnu/java/rmi/rmic/TabbedWriter.java: ditto 30385 * gnu/java/rmi/registry/: added to cp-tools and removed from classpath 30386 * gnu/java/rmi/registry/RegistryImpl.java: ditto 30387 * gnu/java/rmi/registry/RegistryImpl_Skel.java: ditto 30388 * gnu/java/rmi/registry/RegistryImpl_Stub.java: ditto 30389 303902005-02-05 Mark Wielaard <mark@klomp.org> 30391 30392 * doc/api/Makefile.am (classpathbox): Use class logo and target _top. 30393 303942005-02-04 Chris Burdess <dog@gnu.org> 30395 30396 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of 30397 isDeclared methods. Improved performance of isSpecified methods. 30398 303992005-02-04 Michael Koch <konqueror@gmx.de> 30400 30401 * javax/swing/SortingFocusTraversalPolicy.java 30402 (getSortedCycle): Fixed initialization of set. 30403 304042005-02-03 Robert Schuster <thebohemian@gmx.net> 30405 30406 * gnu/java/nio/charset/ISO_8859_1.java, 30407 gnu/java/nio/charset/US_ASCII.java, 30408 gnu/java/nio/charset/UTF_16.java, 30409 gnu/java/nio/charset/UTF_16_LE.java, 30410 gnu/java/nio/charset/UTF_16_BE.java, 30411 gnu/java/nio/charset/UTF_8.java: Fixed canonical names 30412 and aliases according to 30413 "http://www.iana.org/assignments/character-sets", 30414 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html" 30415 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL". 30416 * gnu/java/nio/charset/Provider.java: Made charset lookup 30417 case-insensitive which fixes bug #11740. 30418 304192005-02-03 Dalibor Topic <robilad@kaffe.org> 30420 30421 * libraries/javalib/gnu/regexp/RE.java, 30422 libraries/javalib/java/io/ObjectInputStream.java, 30423 libraries/javalib/java/io/ObjectStreamClass.java, 30424 libraries/javalib/java/lang/SecurityManager.java, 30425 libraries/javalib/java/security/AllPermission.java, 30426 libraries/javalib/java/security/BasicPermission.java, 30427 libraries/javalib/java/security/Permissions.java, 30428 libraries/javalib/java/text/MessageFormat.java, 30429 libraries/javalib/java/util/AbstractList.java: 30430 Made 'inner' classes real public static inner classes, 30431 and made them final where possible, or removed them 30432 where unused. 30433 304342005-02-03 Michael Koch <konqueror@gmx.de> 30435 30436 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c 30437 Fix includes for cairo 0.3.0 snappshot. 30438 304392005-02-02 Mark Wielaard <mark@klomp.org> 30440 30441 * gnu/java/net/protocol/jar/Connection.java (is_trying): Removed 30442 field. 30443 (get): Don't use or set is_trying. 30444 304452005-02-02 Sven de Marothy <sven@physto.se> 30446 30447 * java/util/Calendar.java 30448 (set) Invalidate all fields on first call to set(). 30449 304502005-02-02 Mark Wielaard <mark@klomp.org> 30451 30452 * vm/reference/java/lang/VMClassLoader.java: Remove SystemClassLoader 30453 import statement. 30454 304552005-02-02 Andrew John Hughes <gnu_andrew@member.fsf.org> 30456 30457 * java/text/SimpleDateFormat.java 30458 Lots of documentation updates. 30459 (readObject(java.io.ObjectInputStream)): Wraps 30460 IllegalArgumentException as specified. 30461 (compileFormat(String)): Uses standardChars 30462 rather than the local pattern characters. 30463 Throws IllegalArgumentException rather than 30464 storing a -1 field. 30465 (toString()): Extended to include all variables 30466 in a better format. 30467 (translateLocalizedPattern(String, String, String)): 30468 Renamed to better define the use of this method. 30469 304702005-02-02 Dalibor Topic <robilad@kaffe.org> 30471 30472 * gnu/java/net/GetSystemPropertyAction.java: 30473 Removed. 30474 * gnu/java/net/protocol/ftp/FTPURLConnection.java: 30475 Use gnu.java.security.action.GetPropertyAction instead 30476 of gnu.java.net.GetSystemPropertyAction. 30477 304782005-02-02 Robert Schuster <thebohemian@gmx.net> 30479 30480 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed 30481 assignment behavior by using java.lang.reflect.Array.set() 30482 directly. 30483 304842005-02-01 Dalibor Topic <robilad@kaffe.org> 30485 30486 * gnu/java/beans/EmptyBeanInfo.java, 30487 gnu/java/beans/info/ComponentBeanInfo.java, 30488 gnu/java/lang/SystemClassLoader.java: 30489 Removed unused files. 30490 304912005-02-01 Sven de Marothy <sven@physto.se> 30492 30493 * java/util/GregorianCalendar.java 30494 (computeTime): Fixed handling of time zones. 30495 304962005-02-01 Sven de Marothy <sven@physto.se> 30497 30498 * java/util/Calendar.java 30499 (clear): Set values to Epoch instead of zero. 30500 (set): Set isSet to the relevant field pattern instead of just the 30501 field. 30502 * java/util/GregorianCalendar.java 30503 (getBundle): Removed. 30504 (getDayOfYear): Removed. 30505 (getFirstDayOfMonth): New private method. 30506 (nonLeniencyCheck): New private method. 30507 (computeTime): Correct handling of insufficient data. 30508 305092005-02-01 Andrew John Hughes <gnu_andrew@member.fsf.org> 30510 30511 * javax/security/auth/callback/Callback.java, 30512 javax/security/auth/callback/CallbackHandler.java, 30513 javax/security/auth/callback/ChoiceCallback.java, 30514 javax/security/auth/callback/ConfirmationCallback.java, 30515 javax/security/auth/callback/LanguageCallback.java, 30516 javax/security/auth/callback/NameCallback.java, 30517 javax/security/auth/callback/PasswordCallback.java, 30518 javax/security/auth/callback/TextInputCallback.java, 30519 javax/security/auth/callback/TextOutputCallback.java, 30520 javax/security/auth/callback/UnsupportedCallbackException.java: 30521 Removed CVS version tags. 30522 305232005-02-01 Andrew John Hughes <gnu_andrew@member.fsf.org> 30524 30525 * java/lang/Appendable.java: 30526 Changed formatting to match HEAD. 30527 * java/text/MessageFormat.java: 30528 Likewise. 30529 * javax/swing/AbstractSet.java, 30530 javax/swing/DefaultCellRenderer.java: 30531 Finally removed. 30532 305332005-01-31 Andrew John Hughes <gnu_andrew@member.fsf.org> 30534 30535 * acinclude.m4: 30536 (CLASSPATH_FIND_JAVAC): Add ECJ option. 30537 (CLASSPATH_WITH_ECJ): New function. 30538 (CLASSPATH_CHECK_ECJ): New function. 30539 * examples/Makefile.am: 30540 Allow examples to be built with ecj. 30541 * lib/Makefile.am: 30542 Allow Classpath to be built with ecj. 30543 305442005-01-31 Andrew John Hughes <gnu_andrew@member.fsf.org> 30545 30546 * gnu/java/locale/LocaleHelper.java: 30547 New utility class. 30548 (getLocalizedString(java.util.Locale, 30549 String, String, boolean, boolean)): 30550 More generic version of what was 30551 java.util.Locale.getDisplayString, now 30552 available to all classes. 30553 * gnu/java/locale/LocaleInformation.java, 30554 gnu/java/locale/LocaleInformation_aa.java, 30555 gnu/java/locale/LocaleInformation_aa_ET.java, 30556 gnu/java/locale/LocaleInformation_af.java, 30557 gnu/java/locale/LocaleInformation_am.java, 30558 gnu/java/locale/LocaleInformation_am_ET.java, 30559 gnu/java/locale/LocaleInformation_ar.java, 30560 gnu/java/locale/LocaleInformation_as.java, 30561 gnu/java/locale/LocaleInformation_az.java, 30562 gnu/java/locale/LocaleInformation_be.java, 30563 gnu/java/locale/LocaleInformation_bg.java, 30564 gnu/java/locale/LocaleInformation_bn.java, 30565 gnu/java/locale/LocaleInformation_byn.java 30566 gnu/java/locale/LocaleInformation_byn_ER.java 30567 gnu/java/locale/LocaleInformation_ca.java, 30568 gnu/java/locale/LocaleInformation_cs.java, 30569 gnu/java/locale/LocaleInformation_cy.java, 30570 gnu/java/locale/LocaleInformation_da.java, 30571 gnu/java/locale/LocaleInformation_de.java, 30572 gnu/java/locale/LocaleInformation_de_AT.java, 30573 gnu/java/locale/LocaleInformation_de_BE.java, 30574 gnu/java/locale/LocaleInformation_de_CH.java, 30575 gnu/java/locale/LocaleInformation_de_LU.java, 30576 gnu/java/locale/LocaleInformation_dv.java, 30577 gnu/java/locale/LocaleInformation_dz.java, 30578 gnu/java/locale/LocaleInformation_dz_BT.java, 30579 gnu/java/locale/LocaleInformation_el.java, 30580 gnu/java/locale/LocaleInformation_el_GR.java, 30581 gnu/java/locale/LocaleInformation_en.java, 30582 gnu/java/locale/LocaleInformation_en_AU.java, 30583 gnu/java/locale/LocaleInformation_en_BE.java, 30584 gnu/java/locale/LocaleInformation_en_CA.java, 30585 gnu/java/locale/LocaleInformation_en_GB.java, 30586 gnu/java/locale/LocaleInformation_en_HK.java, 30587 gnu/java/locale/LocaleInformation_en_IE.java, 30588 gnu/java/locale/LocaleInformation_en_MT.java, 30589 gnu/java/locale/LocaleInformation_en_NZ.java, 30590 gnu/java/locale/LocaleInformation_en_PH.java, 30591 gnu/java/locale/LocaleInformation_en_SG.java, 30592 gnu/java/locale/LocaleInformation_en_US.java, 30593 gnu/java/locale/LocaleInformation_en_ZW.java, 30594 gnu/java/locale/LocaleInformation_eo.java, 30595 gnu/java/locale/LocaleInformation_es.java, 30596 gnu/java/locale/LocaleInformation_es_AR.java, 30597 gnu/java/locale/LocaleInformation_es_CL.java, 30598 gnu/java/locale/LocaleInformation_es_CO.java, 30599 gnu/java/locale/LocaleInformation_es_ES.java, 30600 gnu/java/locale/LocaleInformation_es_MX.java, 30601 gnu/java/locale/LocaleInformation_es_PR.java, 30602 gnu/java/locale/LocaleInformation_et.java, 30603 gnu/java/locale/LocaleInformation_eu.java, 30604 gnu/java/locale/LocaleInformation_fa.java, 30605 gnu/java/locale/LocaleInformation_fa_AF.java, 30606 gnu/java/locale/LocaleInformation_fi.java, 30607 gnu/java/locale/LocaleInformation_fo.java, 30608 gnu/java/locale/LocaleInformation_fr.java, 30609 gnu/java/locale/LocaleInformation_fr_CA.java, 30610 gnu/java/locale/LocaleInformation_fr_LU.java, 30611 gnu/java/locale/LocaleInformation_ga.java, 30612 gnu/java/locale/LocaleInformation_ga_IE.java, 30613 gnu/java/locale/LocaleInformation_gez.java 30614 gnu/java/locale/LocaleInformation_gez_ER.java 30615 gnu/java/locale/LocaleInformation_gez_ET.java 30616 gnu/java/locale/LocaleInformation_gl.java, 30617 gnu/java/locale/LocaleInformation_gu.java, 30618 gnu/java/locale/LocaleInformation_gv.java, 30619 gnu/java/locale/LocaleInformation_haw.java 30620 gnu/java/locale/LocaleInformation_haw_US.java 30621 gnu/java/locale/LocaleInformation_he.java, 30622 gnu/java/locale/LocaleInformation_hi.java, 30623 gnu/java/locale/LocaleInformation_hr.java, 30624 gnu/java/locale/LocaleInformation_hu.java, 30625 gnu/java/locale/LocaleInformation_hy.java, 30626 gnu/java/locale/LocaleInformation_id.java, 30627 gnu/java/locale/LocaleInformation_is.java, 30628 gnu/java/locale/LocaleInformation_it.java, 30629 gnu/java/locale/LocaleInformation_it_IT.java, 30630 gnu/java/locale/LocaleInformation_iu.java, 30631 gnu/java/locale/LocaleInformation_ja.java, 30632 gnu/java/locale/LocaleInformation_ka.java, 30633 gnu/java/locale/LocaleInformation_kk.java, 30634 gnu/java/locale/LocaleInformation_kl.java, 30635 gnu/java/locale/LocaleInformation_km.java, 30636 gnu/java/locale/LocaleInformation_kn.java, 30637 gnu/java/locale/LocaleInformation_ko.java, 30638 gnu/java/locale/LocaleInformation_kok.java 30639 gnu/java/locale/LocaleInformation_kok_IN.java 30640 gnu/java/locale/LocaleInformation_kw.java, 30641 gnu/java/locale/LocaleInformation_ky.java, 30642 gnu/java/locale/LocaleInformation_lo.java, 30643 gnu/java/locale/LocaleInformation_lt.java, 30644 gnu/java/locale/LocaleInformation_lv.java, 30645 gnu/java/locale/LocaleInformation_mk.java, 30646 gnu/java/locale/LocaleInformation_ml.java, 30647 gnu/java/locale/LocaleInformation_mn.java, 30648 gnu/java/locale/LocaleInformation_mn_MN.java, 30649 gnu/java/locale/LocaleInformation_mr.java, 30650 gnu/java/locale/LocaleInformation_ms.java, 30651 gnu/java/locale/LocaleInformation_ms_BN.java, 30652 gnu/java/locale/LocaleInformation_mt.java, 30653 gnu/java/locale/LocaleInformation_nb.java, 30654 gnu/java/locale/LocaleInformation_nl.java, 30655 gnu/java/locale/LocaleInformation_nn.java, 30656 gnu/java/locale/LocaleInformation_om.java, 30657 gnu/java/locale/LocaleInformation_om_ET.java, 30658 gnu/java/locale/LocaleInformation_or.java, 30659 gnu/java/locale/LocaleInformation_pa.java, 30660 gnu/java/locale/LocaleInformation_pl.java, 30661 gnu/java/locale/LocaleInformation_ps.java, 30662 gnu/java/locale/LocaleInformation_pt.java, 30663 gnu/java/locale/LocaleInformation_pt_PT.java, 30664 gnu/java/locale/LocaleInformation_ro.java, 30665 gnu/java/locale/LocaleInformation_ru.java, 30666 gnu/java/locale/LocaleInformation_sa.java, 30667 gnu/java/locale/LocaleInformation_sid.java 30668 gnu/java/locale/LocaleInformation_sid_ET.java 30669 gnu/java/locale/LocaleInformation_sk.java, 30670 gnu/java/locale/LocaleInformation_sl.java, 30671 gnu/java/locale/LocaleInformation_so.java, 30672 gnu/java/locale/LocaleInformation_so_DJ.java, 30673 gnu/java/locale/LocaleInformation_so_ET.java, 30674 gnu/java/locale/LocaleInformation_so_SO.java, 30675 gnu/java/locale/LocaleInformation_sq.java, 30676 gnu/java/locale/LocaleInformation_sr.java, 30677 gnu/java/locale/LocaleInformation_sr_Latn.java, 30678 gnu/java/locale/LocaleInformation_sv.java, 30679 gnu/java/locale/LocaleInformation_sw.java, 30680 gnu/java/locale/LocaleInformation_syr.java 30681 gnu/java/locale/LocaleInformation_syr_SY.java 30682 gnu/java/locale/LocaleInformation_ta.java, 30683 gnu/java/locale/LocaleInformation_te.java, 30684 gnu/java/locale/LocaleInformation_th.java, 30685 gnu/java/locale/LocaleInformation_ti.java, 30686 gnu/java/locale/LocaleInformation_ti_ER.java, 30687 gnu/java/locale/LocaleInformation_ti_ET.java, 30688 gnu/java/locale/LocaleInformation_tig.java 30689 gnu/java/locale/LocaleInformation_tig_ER.java 30690 gnu/java/locale/LocaleInformation_tr.java, 30691 gnu/java/locale/LocaleInformation_tt.java, 30692 gnu/java/locale/LocaleInformation_uk.java, 30693 gnu/java/locale/LocaleInformation_ur.java, 30694 gnu/java/locale/LocaleInformation_uz.java, 30695 gnu/java/locale/LocaleInformation_uz_AF.java, 30696 gnu/java/locale/LocaleInformation_vi.java, 30697 gnu/java/locale/LocaleInformation_wal.java 30698 gnu/java/locale/LocaleInformation_wal_ET.java 30699 gnu/java/locale/LocaleInformation_zh.java, 30700 gnu/java/locale/LocaleInformation_zh_HK_Hant.java, 30701 gnu/java/locale/LocaleInformation_zh_Hant.java, 30702 gnu/java/locale/LocaleInformation_zh_MO_Hant.java, 30703 gnu/java/locale/LocaleInformation_zh_SG_Hans.java, 30704 Locales updated with re-ordered zone strings, 30705 new separator ('|' replaced with \u00A6) and updated 30706 data from the latest CLDR CVS (including 16 new 30707 locales). 30708 * java/util/Currency.java: 30709 (currencySymbol): Removed. 30710 (getCurrencyCode()): Rewritten to call 30711 getCurrencyCode(Locale.getDefault()). 30712 (getCurrencyCode(java.util.Locale)): Rewritten to 30713 lookup localized currency symbol from our locale data. 30714 * java/util/Locale.java: 30715 (getDisplayLanguage(java.util.Locale)): Now calls 30716 method in LocaleHelper. 30717 (getDisplayCountry(java.util.Locale)): Likewise. 30718 (getDisplayVariant(java.util.Locale)): Likewise. 30719 (getDisplayString()): Rewritten in LocaleHelper. 30720 307212005-01-29 Quentin Anciaux <quentin.anciaux@advalvas.be> 30722 30723 * gnu/classpath/SystemProperties.java (static): Add all aliases 30724 for UTF8, UTF16 and UTF32 (Little and Big Endian), US-ASCII, 30725 iso-8859-[1-9], iso-8859-13, iso-8859-15, cp-1250, cp-1252 and 30726 cp1047 to defaultProperties. 30727 * gnu/java/io/decode/Decoder8859_13.java: New class. 30728 * gnu/java/io/decode/Decoder8859_15.java: Likewise. 30729 * gnu/java/io/decode/Decoder8859_6.java: Likewise. 30730 * gnu/java/io/decode/Decoder8859_7.java: Likewise. 30731 * gnu/java/io/decode/Decoder8859_8.java: Likewise. 30732 * gnu/java/io/decode/Decoder8859_9.java: Likewise. 30733 * gnu/java/io/decode/DecoderASCII.java: Likewise. 30734 * gnu/java/io/decode/DecoderCp1047.java: Likewise. 30735 * gnu/java/io/decode/DecoderEBCDIC_XML_US.java: Likewise. 30736 * gnu/java/io/decode/DecoderUTF16BE.java: Likewise. 30737 * gnu/java/io/decode/DecoderUTF16LE.java: Likewise. 30738 * gnu/java/io/decode/DecoderUTF32BE.java: Likewise. 30739 * gnu/java/io/decode/DecoderUTF32LE.java: Likewise. 30740 * gnu/java/io/decode/DecoderWindows1250.java: Likewise. 30741 * gnu/java/io/decode/DecoderWindows1252.java: Likewise. 30742 * gnu/java/io/encode/Encoder8859_13.java: Likewise. 30743 * gnu/java/io/encode/Encoder8859_15.java: Likewise. 30744 * gnu/java/io/encode/Encoder8859_6.java: Likewise. 30745 * gnu/java/io/encode/Encoder8859_7.java: Likewise. 30746 * gnu/java/io/encode/Encoder8859_8.java: Likewise. 30747 * gnu/java/io/encode/Encoder8859_9.java: Likewise. 30748 * gnu/java/io/encode/EncoderASCII.java: Likewise. 30749 * gnu/java/io/encode/EncoderCp1047.java: Likewise. 30750 * gnu/java/io/encode/EncoderEBCDIC_XML_US.java: Likewise. 30751 * gnu/java/io/encode/EncoderUTF16BE.java: Likewise. 30752 * gnu/java/io/encode/EncoderUTF16LE.java: Likewise. 30753 * gnu/java/io/encode/EncoderUTF32BE.java: Likewise. 30754 * gnu/java/io/encode/EncoderUTF32LE.java: Likewise. 30755 * gnu/java/io/encode/EncoderWindows1250.java: Likewise. 30756 * gnu/java/io/encode/EncoderWindows1252.java: Likewise. 30757 307582005-01-29 Steven Augart <augart@watson.ibm.com> 30759 30760 * vm/reference/gnu/classpath/VMStackWalker.java: Doc fix. 30761 307622005-01-29 Ito Kazumitsu <kaz@maczuka.gcd.org> 30763 30764 * java/text/SimpleDateFormat.java: 30765 (parse): Set the DST offset to 0 when parsing 30766 GMT offset timezones. 30767 307682005-01-28 Chris Burdess <dog@gnu.org> 30769 30770 * gnu/xml/DomNode: Correct implementation of getElementsByTagName 30771 etc to return a NodeList that returns consistent results from item 30772 and getLength methods. 30773 307742005-01-28 Mark Wielaard <mark@klomp.org> 30775 30776 * java/util/jar/Attributes.java (Attributes.Name): Add documentation 30777 to describe attributes without a constant field value in this class. 30778 307792005-01-28 Michael Koch <konqueror@gmx.de> 30780 30781 * javax/swing/SwingUtilities.java 30782 (getFontMetrics): Removed. 30783 307842005-01-28 Michael Koch <konqueror@gmx.de> 30785 30786 * java/awt/Container.java 30787 (paramString): Implemented. 30788 * javax/swing/AbstractButton.java 30789 (paramString): Implemented. 30790 * javax/swing/JComponent.java 30791 (paramString): Implemented. 30792 * javax/swing/JMenu.java 30793 (paramString): Implemented. 30794 * javax/swing/JMenuBar.java 30795 (paramString): Implemented. 30796 * javax/swing/JMenuItem.java 30797 (paramString): Implemented. 30798 * javax/swing/JPopupMenu.java 30799 (paramString): Implemented. 30800 308012005-01-28 Michael Koch <konqueror@gmx.de> 30802 30803 * javax/swing/JMenu.java 30804 (uiClassID): Removed. 30805 (JMenu): Set invoker on popup menu. 30806 (getUIClassID): Return id directly. 30807 (getItemCount): Simply return getMenuComponentCount(). 30808 Fixed javadoc. 30809 (isTopLevelMenu): Simplified. 30810 * javax/swing/JMenuItem.java 30811 (uiClassID): Removed. 30812 (getUIClassID): Return id directly. 30813 * javax/swing/JPopupMenu.java 30814 (uiClassID): Removed. 30815 (JPopupMenu): Always initialize correctly. 30816 (getSubElements): Only return components implementing MenuElement 30817 interface. 30818 (HeavyWeightPopup.hide): Removed. 30819 308202005-01-28 Michael Koch <konqueror@gmx.de> 30821 30822 * java/util/jar/Attributes.java 30823 (CREATED_BY, JAVA_BEAN, MAGIC): Removed. 30824 308252005-01-28 Michael Koch <konqueror@gmx.de> 30826 30827 * java/awt/image/ReplicateScaleFilter.java 30828 (replicatePixels): Made private. 30829 * javax/swing/colorchooser/DefaultRGBChooserPanel.java 30830 (DefaultRGBChooserPanel): Made package private. 30831 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java 30832 (RecentSwatchPanel): Likewise. 30833 * javax/swing/event/MouseInputAdapter.java: Reformatted. 30834 (MouseInputAdapter): Made abstract. 30835 * javax/swing/tree/DefaultMutableTreeNode.java 30836 (random): Removed. 30837 (growTree): Likewise. 30838 308392005-01-27 Michael Koch <konqueror@gmx.de> 30840 30841 * java/util/GregorianCalendar.java (getLeniarDay): 30842 Made private. 30843 308442005-01-27 Patrik Reali <reali@acm.org> 30845 30846 * doc/www.gnu.org/faq/faq.wml: type in faq code corrected 30847 308482005-01-27 Michael Koch <konqueror@gmx.de> 30849 30850 * java/awt/dnd/DropTarget.java (addDropTargetListener): 30851 Clarified comments. 30852 308532005-01-27 Graydon Hoare <graydon@redhat.com> 30854 30855 * java/awt/dnd/DropTarget.java 30856 (addDropTargetListener): Despite documentation, do not throw. 30857 * javax/swing/JComponent.java: Set a default DropTarget. 30858 308592005-01-27 Michael Koch <konqueror@gmx.de> 30860 30861 * java/util/zip/ZipFile.java 30862 (ZIP_MAGIC): New constant. 30863 (ZipFile): Check if given file is really a zip file. 30864 (checkZipFile): New method. 30865 (checkClosed): New method. 30866 (entries): Check if file was closed. Return an empty enumeration in 30867 error case. 30868 (getEntries): Use checkClosed(). 30869 (getEntry): Check if file was closed. 30870 (getInputStream): Likewise. 30871 (size): Likewise. 30872 308732005-01-27 Patrik Reali <reali@acm.org> 30874 30875 * doc/www.gnu.org/faq/faq.wml: current command to generate doc 30876 added to the faq 30877 308782005-01-27 Patrik Reali <reali@acm.org> 30879 30880 * doc/www.gnu.org/docs/docs.wml: link to gjdoc-generated docs 30881 308822005-01-27 Andrew John Hughes <gnu_andrew@member.fsf.org> 30883 30884 * javax/swing/SwingUtilities.java: 30885 (getAccessibleAt(java.awt.Component, java.awt.Point)): 30886 Implemented and documented. 30887 (getAccessibleChild(java.awt.Component, int)): Likewise. 30888 (getAccessibleChildrenCount(java.awt.Component)): Likewise. 30889 (getAccessibleIndexInParent(java.awt.Component)): Likewise. 30890 (getAccessibleStateSet(java.awt.Component)): Likewise. 30891 308922005-01-27 Michael Koch <konqueror@gmx.de> 30893 30894 * javax/swing/AbstractAction.java 30895 (ENABLED_PROPERTY): Removed. 30896 (setEnabled): Replaced constant with real string. 30897 * javax/swing/AbstractButton.java 30898 (createActionPropertyChangeListener.propertyChange): Likewise. 30899 * javax/swing/JComboBox.java 30900 (DEFAULT_MAXIMUM_ROW_COUNT): Made private. 30901 (EDITABLE_CHANGED_PROPERTY): Removed. 30902 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise. 30903 (ENABLED_CHANGED_PROPERTY):Likewise. 30904 (RENDERER_CHANGED_PROPERTY):Likewise. 30905 (EDITOR_CHANGED_PROPERTY):Likewise. 30906 (MODEL_CHANGED_PROPERTY):Likewise. 30907 (uiClassID):Likewise. 30908 (getUIClassID): Replaced constant with real string. 30909 (setModel):Likewise. 30910 (setEditable):Likewise. 30911 (setMaximumRowCount):Likewise. 30912 (setRenderer):Likewise. 30913 (setEditor):Likewise. 30914 (setEnabled):Likewise. 30915 * javax/swing/JLabel.java 30916 (DISABLED_ICON_CHANGED_PROPERTY): Removed. 30917 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise. 30918 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise. 30919 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise. 30920 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise. 30921 (ICON_CHANGED_PROPERTY): Likewise. 30922 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise. 30923 (LABEL_FOR_CHANGED_PROPERTY): Likewise. 30924 (TEXT_CHANGED_PROPERTY): Likewise. 30925 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise. 30926 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise. 30927 (setText): Replaced constant with real string. 30928 (setIcon): Likewise. 30929 (setDisabledIcon): Likewise. 30930 (setDisplayedMnemonic): Likewise. 30931 (setIconTextGap): Likewise. 30932 (setVerticalAlignment): Likewise. 30933 (setHorizontalAlignment): Likewise. 30934 (setVerticalTextPosition): Likewise. 30935 (setHorizontalTextPosition): Likewise. 30936 (setLabelFor): Replaced constant with real string. 30937 Fire property change event after property got changed. 30938 * javax/swing/JList.java 30939 (CELL_RENDERER_PROPERTY_CHANGED): Likewise. 30940 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise. 30941 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise. 30942 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise. 30943 (MODEL_PROPERTY_CHANGED): Likewise. 30944 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise. 30945 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise. 30946 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise. 30947 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise. 30948 (setFixedCellWidth): Reimplemented. 30949 (setFixedCellHeight): Exit if new value is identical. 30950 Replaced constant with real string. 30951 (setSelectionBackground): Likewise. 30952 (setSelectionForeground): Likewise. 30953 (setPrototypeCellValue): Likewise. 30954 (setCellRenderer): Replaced constant with real string. 30955 (setModel): Likewise. 30956 (setSelectionModel): Likewise. 30957 * javax/swing/JMenuBar.java 30958 (BORDER_PAINTED_CHANGED_PROPERTY): Removed. 30959 (MODEL_CHANGED_PROPERTY): Likewise. 30960 (MARGIN_CHANGED_PROPERTY): Likewise. 30961 (setBorderPainted): Reimplemented. 30962 (setMargin): Likewise. 30963 (setSelectionModel): Replaced constant with real string. 30964 * javax/swing/JPopupMenu.java 30965 (LABEL_CHANGED_PROPERTY): Removed. 30966 (VISIBLE_CHANGED_PROPERTY): Likewise. 30967 (borderPainted): Likewise. 30968 (setLabel): Replaced constant with real string. 30969 (setVisible): Exit if new value is identical. 30970 Replaced constant with real string. 30971 * javax/swing/JProgressBar.java 30972 (BORDER_PAINTED_CHANGED_PROPERTY): Removed. 30973 (ORIENTATION_CHANGED_PROPERTY): Likewise. 30974 (STRING_CHANGED_PROPERTY): Likewise. 30975 (STRING_PAINTED_CHANGED_PROPERTY): Likewise. 30976 (INDETERMINATE_CHANGED_PROPERTY): Likewise. 30977 (setOrientation): Replaced constant with real string. 30978 (setStringPainted): Likewise. 30979 (setString): Likewise. 30980 (setBorderPainted): Likewise. 30981 (setIndeterminate): Likewise. 30982 * javax/swing/JScrollBar.java 30983 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed. 30984 (MODEL_CHANGED_PROPERTY): Likewise. 30985 (ORIENTATION_CHANGED_PROPERTY): Likewise. 30986 (setOrientation): Replaced constant with real string. 30987 (setModel): Likewise. 30988 (setUnitIncrement): Likewise. 30989 (setBlockIncrement): Likewise. 30990 * javax/swing/JScrollPane.java 30991 (COLUMN_HEADER_CHANGED_PROPERTY): Removed. 30992 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise. 30993 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise. 30994 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise. 30995 (LAYOUT_CHANGED_PROPERTY): Likewise. 30996 (ROW_HEADER_CHANGED_PROPERTY): Likewise. 30997 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise. 30998 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise. 30999 (VIEWPORT_CHANGED_PROPERTY): Likewise. 31000 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise. 31001 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise. 31002 (setComponentOrientation): Replaced constant with real string. 31003 (setColumnHeader): Likewise. 31004 (setHorizontalScrollBar): Likewise. 31005 (setHorizontalScrollBarPolicy): Likewise. 31006 (setRowHeader): Likewise. 31007 (setVerticalScrollBar): Likewise. 31008 (setVerticalScrollBarPolicy): Likewise. 31009 (setWheelScrollingEnabled): Likewise. 31010 (setViewport): Likewise. 31011 (setViewportBorder): Likewise. 31012 * javax/swing/JSlider.java 31013 (INVERTED_CHANGED_PROPERTY): Removed. 31014 (LABEL_TABLE_CHANGED_PROPERTY): Likewise. 31015 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise. 31016 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise. 31017 (MODEL_CHANGED_PROPERTY): Likewise. 31018 (ORIENTATION_CHANGED_PROPERTY): Likewise. 31019 (PAINT_LABELS_CHANGED_PROPERTY): Likewise. 31020 (PAINT_TICKS_CHANGED_PROPERTY): Likewise. 31021 (setModel): Replaced constant with real string. 31022 (setOrientation): Likewise. 31023 (setLabelTable): Likewise. 31024 (setInverted): Likewise. 31025 (setMajorTickSpacing): Likewise. 31026 (setMinorTickSpacing): Likewise. 31027 (setPaintTicks): Likewise. 31028 (setPaintLabels): Likewise. 31029 * javax/swing/JTabbedPane.java 31030 (MODEL_CHANGED_PROPERTY): Removed. 31031 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise. 31032 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise. 31033 (setModel): Replaced constant with real string. 31034 (setTabPlacement): Likewise. 31035 (setTabLayoutPolicy): Likewise. 31036 * javax/swing/JToolBar.java 31037 (ORIENTATION_CHANGED_PROPERTY): Removed. 31038 (FLOATABLE_CHANGED_PROPERTY): Likewise. 31039 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise. 31040 (MARGIN_CHANGED_PROPERTY): Likewise. 31041 (ROLLOVER_CHANGED_PROPERTY): Likewise. 31042 (setRollover): Replaced constant with real string. 31043 (setMargin): Likewise. 31044 (setBorderPainted): Likewise. 31045 (setFloatable): Likewise. 31046 (setOrientation): Likewise. 31047 * javax/swing/plaf/basic/BasicComboBoxUI.java 31048 (PropertyChangeHandler.propertyChange): Likewise. 31049 * javax/swing/plaf/basic/BasicComboPopup.java 31050 (PropertyChangeHandler.propertyChange): Likewise. 31051 * javax/swing/plaf/basic/BasicMenuBarUI.java 31052 (PropertyChangeHandler.propertyChange): Likewise. 31053 * javax/swing/plaf/basic/BasicProgressBarUI.java 31054 (PropertyChangeHandler.propertyChange): Likewise. 31055 * javax/swing/plaf/basic/BasicScrollBarUI.java 31056 (PropertyChangeHandler.propertyChange): Likewise. 31057 * javax/swing/plaf/basic/BasicSliderUI.java 31058 (PropertyChangeHandler.propertyChange): Likewise. 31059 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 31060 (PropertyChangeHandler.propertyChange): Likewise. 31061 * javax/swing/plaf/basic/BasicToolBarUI.java 31062 (PropertyChangeHandler.propertyChange): Likewise. 31063 310642005-01-26 Michael Koch <konqueror@gmx.de> 31065 31066 * javax/swing/DefaultButtonModel.java 31067 (changeState): Made private. 31068 * javax/swing/DefaultDesktopManager.java 31069 (setWasIcon): Fixed second argument to be java.lang.Boolean. 31070 * javax/swing/JLayeredPane.java 31071 (layerToRange): Made private. 31072 (incrLayer): Likewise. 31073 (decrLayer): Likewise. 31074 * javax/swing/JTable.java 31075 (dragEnabled): Likewise. 31076 (preferredViewportSize): Renamed from preferredScrollableViewportSize. 31077 * javax/swing/KeyStroke.java 31078 (Keystroke): Made private. 31079 * javax/swing/TransferHandler.java 31080 (COMMAND_COPY): Likewise. 31081 (COMMAND_CUT): Likewise. 31082 (COMMAND_PASTE): Likewise. 31083 310842005-01-26 Michael Koch <konqueror@gmx.de> 31085 31086 * javax/swing/JTextField.java 31087 (postActionEvent): Use text in field when actionCommand is null. 31088 (getActionCommand): Removed. 31089 310902005-01-26 Michael Koch <konqueror@gmx.de> 31091 31092 * javax/swing/AbstractSet.java: Removed. 31093 310942005-01-26 Michael Koch <konqueror@gmx.de> 31095 31096 * java/awt/Window.java 31097 (AccessibleWindow.getAccessibleStateSet): Fixed method name. 31098 * java/awt/dnd/DnDConstants.java 31099 (DnDConstants): New private constructor. 31100 311012005-01-25 Ito Kazumitsu <kaz@maczuka.gcd.org> 31102 31103 * java/text/SimpleDateFormat.java: 31104 (parse): Use offset to set ZONE_OFFSET 31105 rather than the DST_OFFSET, so that 31106 GMT offset timezones change the right 31107 one. 31108 311092005-01-25 Michael Koch <konqueror@gmx.de> 31110 31111 * javax/swing/DefaultCellRenderer.java: Removed. 31112 311132005-01-25 Michael Koch <konqueror@gmx.de> 31114 31115 * javax/swing/AbstractButton.java 31116 (fireItemStateChanged): Made protected. 31117 (fireActionPerformed): Likewise. 31118 (fireStateChanged): Likewise. 31119 * javax/swing/DefaultButtonModel.java 31120 (fireItemStateChanged): Likewise. 31121 (fireActionPerformed): Likewise. 31122 (fireStateChanged): Likewise. 31123 * javax/swing/JApplet.java 31124 (JApplet): Removed. 31125 (frameInit): Likewise. 31126 (setRootPane): Made protected. 31127 (createRootPane): Likewise. 31128 * javax/swing/JComponent.java 31129 (getClientProperty): Likewise. 31130 (putClientProperty): Likewise. 31131 * javax/swing/JEditorPane.java 31132 (getContentType): Likewise. 31133 (setContentType): Likewise. 31134 * javax/swing/JFrame.java 31135 (setRootPane): Likewise. 31136 (createRootPane): Likewise. 31137 * javax/swing/JInternalFrame.java 31138 (getFocusCycleRootAncestor): Made final. Added @since tag. 31139 (isFocusCycleRoot): Likewise. 31140 (getWarningString): Made final. 31141 * javax/swing/JScrollBar.java 31142 (changeListener): Removed. 31143 (changeEvent): Likewise. 31144 (createChangeListener): Likewise. 31145 (fireStateChanged): Likewise. 31146 (addChangeListener): Likewise. 31147 (removeChangeListener): Likewise. 31148 (getChangeListeners): Likewise. 31149 * javax/swing/JScrollPane.java 31150 (createViewport): Made protected. 31151 * javax/swing/JViewport.java 31152 (addImpl): Likewise. 31153 (setBorder): New method. 31154 * javax/swing/JWindow.java 31155 (setRootPane): Made protected. 31156 (createRootPane): Likewise. 31157 * javax/swing/plaf/basic/BasicButtonUI.java 31158 (installListeners): Likewise. 31159 (uninstallListeners): Likewise. 31160 * javax/swing/plaf/basic/BasicProgressBarUI.java 31161 (incrementAnimationIndex): Likewise. 31162 * javax/swing/plaf/basic/BasicTabbedPaneUI.java 31163 (createLayoutManager): Likewise. 31164 * javax/swing/table/DefaultTableCellRenderer.java 31165 (firePropertyChange): Likewise. 31166 * javax/swing/table/JTableHeader.java 31167 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry): 31168 New constructor. 31169 * javax/swing/text/PlainDocument.java 31170 (reindex): Made private. 31171 * javax/swing/text/PlainView.java 31172 (drawLine): Made protected. 31173 (getTabSize): Likewise. 31174 * javax/swing/text/View.java 31175 (setSize): Removed. 31176 (preferenceChanged): New method. 31177 (getBreakWeight): Likewise. 31178 (breakView): Likewise. 31179 (getViewIndex): Likewise. 31180 311812005-01-24 Michael Koch <konqueror@gmx.de> 31182 31183 * javax/swing/JScrollPane.java 31184 (ScrollBar): Made class protected. 31185 * javax/swing/JSpinner.java 31186 (JSpinner): Added @since tag. 31187 (listenerList): Removed. 31188 * javax/swing/JTable.java 31189 (setValueAt): New method. 31190 (getColumn): Likewise. 31191 * javax/swing/JWindow.java 31192 (rootPaneCheckingEnabled): Renamed from checking. 31193 311942005-01-24 Michael Koch <konqueror@gmx.de> 31195 31196 * javax/swing/plaf/basic/BasicTextUI.java 31197 (RootView.modelToView): Made it public and return a java.awt.Shape. 31198 Handle null subview. 31199 (uninstall): Set textComponent to null when its not possible used 31200 anymore. 31201 * javax/swing/text/View.java 31202 (setParent): Use better argument name. 31203 (getContainer): Get parent via getParent(). 31204 (getViewFactory): Likewise. 31205 (getAttributes): Get element via getElement(). 31206 (getStartOffset): Likewise. 31207 (getEndOffset): Likewise. 31208 (getResizeWeight): New method. 31209 (getMaximumSpan): Likewise. 31210 (getMinimumSpan): Likewise. 31211 (setSize): Likewise. 31212 (getGraphics): Likewise. 31213 312142005-01-24 Graydon Hoare <graydon@redhat.com> 31215 Michael Koch <konqueror@gmx.de> 31216 31217 * javax/swing/LayoutFocusTraversalPolicy.java, 31218 javax/swing/SortingFocusTraversalPolicy.java: 31219 New classes. 31220 312212005-01-23 Sven de Marothy <sven@physto.se> 31222 31223 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: 31224 Reverted to previous version, after a mistake in the previous commit. 31225 312262005-01-23 Sven de Marothy <sven@physto.se> 31227 31228 * java/util/Calendar.java: Invalidate ERA field on setting the YEAR. 31229 * java/util/SimpleTimeZone.java: 31230 (getDaysInMonth): Reimplemented. 31231 * java/util/GregorianCalendar.java: 31232 (getLinearTime): Removed. 31233 (isLeapYear(int,boolean)): Removed. 31234 (before(), after()): Removed. 31235 (computeTime): Reimplemented. 31236 312372005-01-23 Andrew John Hughes <gnu_andrew@member.fsf.org> 31238 31239 * gnu/java/locale/LocaleInformation.java: 31240 Extended localPatternChars string to match root.xml. 31241 * gnu/java/locale/LocaleInformation_en.java: 31242 Removed invalid localPatternChars string. 31243 * gnu/java/locale/LocaleInformation_nl.java: 31244 Likewise. 31245 * java/text/DateFormat.java: 31246 Documented pattern character offset constants and 31247 added new ones. 31248 (Field): Added new static fields for new pattern chars. 31249 * java/text/SimpleDateFormat.java: 31250 (CompiledField): Changed name of FieldSizePair class 31251 to CompiledField after adding the character as an 31252 attribute. Changed fields to private and added 31253 accessors to give encapsulation. 31254 (CompiledField.CompiledField(int,int,char)): Extended 31255 with character field. 31256 (CompiledField.getField()): New accessor method. 31257 (CompiledField.getSize()): New acceessor method. 31258 (CompiledField.getCharacter()): New accessor method. 31259 (CompiledField.toString()): Added primarily for debugging. 31260 (standardChars): Now uses extended 24 character sequence. 31261 (compileFormat(String)): Changed to use CompiledField. 31262 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer, 31263 java.text.FieldPosition)): Changed to use CompiledField. 31264 New handler for RFC 822 timezones added. 31265 312662005-01-22 Andrew John Hughes <gnu_andrew@member.fsf.org> 31267 31268 * java/awt/Checkbox.java: 31269 (AccessibleAWTCheckbox()): Added public constructor 31270 to call superclass. 31271 * java/awt/Choice.java: 31272 (AccessibleAWTChoice): Added class documentation. 31273 (AccessibleAWTChoice()): Added public constructor 31274 to call superclass. 31275 (AccessibleAWTChoice.getAccessibleAction()): Documented. 31276 (AccessibleAWTChoice.getAccessibleRole()): Documented, 31277 and changed role to COMBO_BOX. 31278 (AccessibleAWTChoice.getAccessibleActionCount()): Documented. 31279 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented. 31280 (AccessibleAWTChoice.doAccessibleAction(int)): Documented. 31281 312822005-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org> 31283 31284 * java/text/SimpleDateFormat.java: 31285 (parse(String, java.text.ParsePosition)): 31286 Changed 'E' and 'M' cases to use both 31287 short and long names. Extended 'z' 31288 case to also handle 'Z', and deal 31289 with simple GMT offsets such as +0100. 31290 (computeOffset(String)): New private method, 31291 which converts a GMT offset specification, 31292 such as GMT-0500 to a numeric offset in 31293 milliseconds. 31294 * java/util/TimeZone.java: 31295 (timezones()): Added "CEST", the daylight 31296 savings time version of "CET", or Central 31297 European Time. 31298 312992005-01-21 Sven de Marothy <sven@physto.se> 31300 31301 * java/util/Calendar.java: Reformatted. 31302 * java/util/GregorianCalendar.java: Reformatted. 31303 * java/util/SimpleTimeZon.java: Reformatted. 31304 313052005-01-21 Michael Koch <konqueror@gmx.de> 31306 31307 * javax/swing/DebugGraphics.java: Mostly implemented. 31308 313092005-01-21 Michael Koch <konqueror@gmx.de> 31310 31311 * javax/swing/SwingUtilities.java 31312 (findFocusOwner): New method. 31313 313142005-01-21 Michael Koch <konqueror@gmx.de> 31315 31316 * javax/swing/text/DefaultEditorKit.java 31317 (read): Added '\n' after each line. 31318 * javax/swing/text/PlainView.java 31319 (modelToView): Update metrics. 31320 (drawLine): Use offsets from element. 31321 (paint): Update metrics. Draw all lines. 31322 313232005-01-20 Michael Koch <konqueror@gmx.de> 31324 31325 * java/awt/print/PrinterJob.java 31326 (pageDialog): Throws java.awt.HeadlessException. 31327 (printDialog): Likewise. 31328 313292005-01-20 Michael Koch <konqueror@gmx.de> 31330 31331 * doc/hacking.texinfo: Fixed one typo and the paragraph about time 31332 formats. 31333 313342005-01-20 Michael Koch <konqueror@gmx.de> 31335 31336 * javax/print/attribute/standard/Chromaticity.java 31337 (serialVersionUID): Fixed value. 31338 * javax/print/attribute/standard/Destination.java 31339 (serialVersionUID): Fixed value. 31340 * javax/print/attribute/standard/MediaPrintableArea.java, 31341 javax/print/attribute/standard/MediaSize.java: 31342 New files. 31343 313442005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org> 31345 31346 * include/java_lang_VMSystem.h: 31347 (Java_java_lang_VMSystem_environ): added 31348 * java/lang/System.java: 31349 Added cached environmentMap. 31350 (getenv()): documented and implemented 31351 (EnvironmentCollection): new class for use 31352 by getenv() 31353 (EnvironmentSet): likewise 31354 (EnvironmentIterator): clone of 31355 UnmodifiableIterator from java.util 31356 * native/jni/java-lang/java_lang_VMSystem.c: 31357 (environ(JNIEnv, jclass)): implemented 31358 * vm/reference/java/lang/VMSystem.java: 31359 (getenv()): removed 31360 (environ()): new native method 31361 (getenv(String)): made native like HEAD 31362 313632005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org> 31364 31365 * java/util/Currency.java: 31366 Added new countryMap which maps country codes 31367 to international currency codes. The cache 31368 has been altered to map currency codes to 31369 Currency objects. 31370 (getInstance(java.util.Locale)): adds to both 31371 caches and attempts initial lookup from country map 31372 (getInstance(java.lang.String)): attempts to 31373 use code -> currency map first 31374 313752005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org> 31376 31377 * java/awt/Checkbox.java: 31378 (AccessibleAWTCheckbox): Added class documentation 31379 * java/awt/Scrollbar.java: 31380 (AccessibleAWTScrollBar): typo corrected and docs added 31381 (AccessibleAWTScrollBar.getAccessibleRole()): documented 31382 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise 31383 (AccessibleAWTScrollBar.getAccessibleValue()): likewise 31384 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise 31385 (AccessibleAWTScrollBar.setCurrentAccessibleValue(java.lang.Number)): likewise 31386 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise 31387 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise 31388 (getAccessibleContext()): name of accessible class corrected 31389 313902005-01-20 Mark Wielaard <mark@klomp.org> 31391 31392 * java/util/Currency.java (Currency(Locale)): Add Locale to 31393 IllegalArgumentException message. 31394 313952005-01-20 Mark Wielaard <mark@klomp.org> 31396 31397 * java/awt/BasicStroke.java (hashCode): Implement. 31398 (equals): Document. 31399 314002005-01-20 Michael Koch <konqueror@gmx.de> 31401 31402 * javax/swing/JTable.java 31403 (getValueAt): New method. 31404 * javax/swing/table/JTableHeader.java 31405 (columnAtPoint): New method. 31406 314072005-01-20 Mark Wielaard <mark@klomp.org> 31408 31409 * java/util/Currency.java (Currency(Locale)): Clarify 31410 IllegalArgumentException message. 31411 314122005-01-20 Mark Wielaard <mark@klomp.org> 31413 31414 * javax/naming/directory/BasicAttributes.java (equals): Compare to any 31415 Attributes and attribute order doesn't matter. 31416 (BasicAttributesEnumeration.where): Initialize to zero. 31417 (BasicAttributesEnumeration.nextElement): Update and compare where 31418 appropriately (zero based). 31419 314202005-01-20 Michael Koch <konqueror@gmx.de> 31421 31422 * javax/swing/JTextField.java 31423 (actions): New field. 31424 (static): Initalize actions field. 31425 (getActions): New method. 31426 314272005-01-20 Mark Wielaard <mark@klomp.org> 31428 31429 * native/jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype. 31430 314312005-01-20 Graydon Hoare <graydon@redhat.com> 31432 31433 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 31434 (env_union): Use union to avoid type-punning warning. 31435 314362005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org> 31437 31438 * java/awt/Checkbox.java: 31439 (AccessibleAWTCheckbox): name capitalization corrected 31440 and serialization UID added. 31441 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)): 31442 documented. 31443 (AccessibleAWTCheckbox.getAccessibleAction()): likewise 31444 (AccessibleAWTCheckbox.getAccessibleValue()): likewise 31445 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise 31446 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise 31447 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise 31448 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise 31449 (AccessibleAWTCheckbox.setCurrentAccessibleValue(java.lang.Number)): likewise 31450 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise 31451 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise 31452 (AccessibleAWTCheckbox.getAccessibleRole()): likewise 31453 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and 31454 documented 31455 (getAccessibleContext()): name of accessible class corrected 31456 314572005-01-19 Michael Koch <konqueror@gmx.de> 31458 31459 * javax/swing/DefaultListSelectionModel.java 31460 (clone): New method. 31461 314622005-01-19 Michael Koch <konqueror@gmx.de> 31463 31464 * scripts/check_jni_methods.sh: Call sed with LC_ALL=C. 31465 314662005-01-19 Michael Koch <konqueror@gmx.de> 31467 31468 * gnu/java/awt/ClasspathToolkit.java: 31469 Import statements reworked. 31470 (imageCache): Made it of type java.util.HashMap. 31471 314722005-01-19 Graydon Hoare <graydon@redhat.com> 31473 31474 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c: 31475 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 31476 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: 31477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: 31478 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: 31479 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: 31480 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c: 31481 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c: 31482 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: 31483 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: 31484 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: 31485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: 31486 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c: 31487 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: 31488 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c: 31489 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: 31490 Rewrite uses of extern variable to be function calls. 31491 * native/jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to 31492 function, from extern variable. 31493 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 31494 (gdk_env): Remove variable, add new function. 31495 (java_vm): Add new variable. 31496 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize 31497 java_vm rather than old gdk_env variable. 31498 314992005-01-18 Mark Wielaard <mark@klomp.org> 31500 31501 Fixes bug #11618. 31502 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes 31503 without a super class and us ObjectStreamClass.lookupForClassObject(). 31504 (resolveClass): Check for primitive types. 31505 (lookupClass): Return null when argument is null. 31506 315072005-01-18 David Gilbert <david.gilbert@object-refinery.com> 31508 31509 * javax/swing/DefaultListModel.java 31510 (add): fire correct event, 31511 (addElement): corrected interval indices in event, 31512 (clear): corrected upper bound for interval, only fire event if 31513 list is not empty, 31514 (setSize): fire appropriate event. 31515 315162005-01-18 Jeroen Frijters <jeroen@frijters.net> 31517 31518 * java/io/Externalizable.java, 31519 java/io/Serializable.java 31520 (serialVersionUID): Removed. 31521 * java/rmi/server/RemoteObject.java, 31522 java/rmi/server/UID.java 31523 (serialVersionUID): Made private. 31524 * java/rmi/server/RemoteRef.java, 31525 java/rmi/server/ServerRef.java 31526 (serialVersionUID): Set proper value. 31527 * java/security/interfaces/DSAPrivateKey.java, 31528 java/security/interfaces/DSAPublicKey.java, 31529 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java, 31530 java/security/interfaces/RSAPrivateCrtKey.java, 31531 java/security/interfaces/RSAPrivateKey.java, 31532 java/security/interfaces/RSAPublicKey.java, 31533 javax/crypto/SecretKey.java 31534 (serialVersionUID): Added. 31535 315362005-01-18 Graydon Hoare <graydon@redhat.com> 31537 31538 * gnu/java/awt/ClasspathToolkit.java: Likewise. 31539 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. 31540 * java/awt/EventQueue.java (getNextEvent): 31541 Adjust event loop to switch to native mode after 100ms. 31542 * javax/swing/Timer.java (drainEvents): Reuse Runnable. 31543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c 31544 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose): 31545 Wake up event thread. 31546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c 31547 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue): 31548 Adjust event loop to switch to java mode after 100ms. 31549 315502005-01-18 Michael Koch <konqueror@gmx.de> 31551 31552 * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated. 31553 315542005-01-17 Tom Tromey <tromey@redhat.com> 31555 31556 * java/text/MessageFormat.java (scanString): Changed how quoting 31557 is handled. 31558 (scanFormatElement): Likewise. 31559 315602005-01-17 Mark Wielaard <mark@klomp.org> 31561 31562 * scripts/check_jni_methods.sh: Don't use mktemp for TMPFILEs. 31563 315642005-01-17 Michael Koch <konqueror@gmx.de> 31565 31566 PR libgcj/19444 31567 * java/net/URI.java 31568 (AUTHORITY_REGEXP): New regexp constant. 31569 (AUTHORITY_USERINFO_GROUP): New constant. 31570 (AUTHORITY_HOST_GROUP): Likewise. 31571 (AUTHORITY_PORT_GROUP): Likewise. 31572 (port): Changed default value to -1. 31573 (parseURI): Parse authority part and initialize host, 31574 port and userInfo. 31575 315762005-01-17 Michael Koch <konqueror@gmx.de> 31577 31578 * javax/print/attribute/standard/Chromaticity.java, 31579 javax/print/attribute/standard/Destination.java: 31580 New files. 31581 315822005-01-17 Jerry Quinn <jlquinn@optonline.net> 31583 31584 * javax/imageio/metadata/IIOMetadataNode.java: 31585 Implemented. 31586 * javax/imageio/metadata/IIOAttr.java, 31587 javax/imageio/metadata/IIONamedNodeMap.java, 31588 javax/imageio/metadata/IIONodeList.java: 31589 New files 31590 315912005-01-17 Andrew John Hughes <gnu_andrew@member.fsf.org> 31592 31593 * java/util/IdentityHashMap.java: 31594 added parameteric typing 31595 (entries): generically typed 31596 (IdentityHashMap(Map<? extends K, ? extends V>)): 31597 likewise 31598 (entrySet()): likewise 31599 (entrySet().iterator()): likewise 31600 (get(Object)): likewise 31601 (keySet()): likewise 31602 (keySet().iterator()): likewise 31603 (put(K,V)): likewise 31604 (putAll(Map<? extends K, ? extends V>)): likewise 31605 (remove(Object)): likewise 31606 (values()): likewise 31607 (values().iterator()): likewise 31608 (IdentityIterator): likewise 31609 (IdentityIterator.next()): likewise 31610 (IdentityEntry): likewise 31611 (IdentityEntry.getKey()): likewise 31612 (IdentityEntry.getValue()): likewise 31613 (IdentityEntry.putValue(V)): likewise 31614 (readObject()): appropriate casting 31615 316162005-01-16 Tom Tromey <tromey@redhat.com> 31617 31618 * .classpath: Updated. 31619 316202005-01-17 Andrew John Hughes <gnu_andrew@member.fsf.org> 31621 31622 * java/util/Currency.java: 31623 (getInstance(String)): catch IllegalArgumentException 31624 for locales without countries 31625 316262005-01-16 Mark Wielaard <mark@klomp.org> 31627 31628 Reported by Christian Thalinger <twisti@complang.tuwien.ac.at> 31629 * java/lang/ClassLoader.java (getExtClassLoaderUrls): Add check for 31630 null returned from getFiles(). 31631 316322005-01-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 31633 31634 Final merge of HEAD patches to generics branch 31635 All changes are listed in merged Changelog. 31636 In addition, 31637 * java/lang/System.java: 31638 (getenv()): changed Runtime.securityManager to 31639 SecurityManager.current 31640 (getenv(String)): likewise 31641 (remove(String)): pointed to SystemProperties 31642 * gnu/classpath/SystemProperties.java: 31643 (remove(String)): implemented and documented 31644 316452005-01-15 Tom Tromey <tromey@redhat.com> 31646 31647 * javax/imageo/metadata: Merged from trunk. 31648 316492005-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org> 31650 31651 * java/text/SimpleDateFormat.java: 31652 (getDateFormatSymbols()): return a copy 31653 (setDateFormatSymbols(java.text.DateFormatSymbols)): 31654 throw exception on null input 31655 (clone()): implemented to clone internal fields 31656 316572005-01-15 Mark Wielaard <mark@klomp.org> 31658 31659 Reported by Martin Platter <motse@complang.tuwien.ac.at> 31660 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c 31661 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): 31662 Correct method signature of gtkSetFilename. 31663 316642005-01-14 Sven de Marothy <sven@physto.se> 31665 31666 * java/util/GregorianCalendar.java 31667 (GregorianCalendar): Update fields in the constructor 31668 316692005-01-14 Arnaud Vandyck <avdyk@gnu.org> 31670 31671 * javax/swing/text/StringContent.java: New file. 31672 316732005-01-13 Andrew John Hughes <gnu_andrew@member.fsf.org> 31674 31675 * java/text/SimpleDateFormat.java: 31676 (parse): extend try{} block so all illegal arguments 31677 are caught and returned as null 31678 316792005-01-13 Sven de Marothy <sven@physto.se> 31680 31681 * java/text/SimpleDateFormat.java 31682 (parse): comparison should be case-insensitive, ignore null strings. 31683 316842005-01-13 Jeroen Frijters <jeroen@frijters.net> 31685 31686 * vm/reference/java/nio/channels/VMChannels.java: Class shouldn't 31687 be public. 31688 (newInputStream,newOutputStream): No need to be public. 31689 316902005-01-13 Michael Koch <konqueror@gmx.de> 31691 31692 * scripts/check_jni_methods.sh: Don't use GNU sed specific features. 31693 316942005-01-13 Andrew John Hughes <gnu_andrew@member.fsf.org> 31695 31696 * java/util/Arrays.java: 31697 (sort(T[],int,int,Comparator<? super T>)): Typed 31698 Object[] to T[] 31699 * java/util/Collections.java; 31700 (compare(T,T,<? super T>)): typed generically 31701 (binarySearch(List<? extends T>,T,Comparator<? super T>)): 31702 re-typed and added casts to List<T> 31703 (rotate(List<? super Object>, int)): added (incorrect?) 31704 super type to compile 31705 (shuffle(List<? super Object>): likewise 31706 (shuffle(List<? super Object, Random)): likewise 31707 (entrySet()): singleton version changed for accuracy 31708 (swap(List<? super Object>,int,int)): added (incorrect?) 31709 super type to compile 31710 (entrySet()): unmodifiable version removed invalid 31711 static typing of K and V 31712 * java/util/HashMap.java: 31713 (entries): re-typed to Set<Map.Entry<K,V>> 31714 (putAll(Map<? extends K, ? extends V>)): cast and foreach 31715 statement added 31716 (putAllInternal(Map<? extends K, ? extends V>)): likewise 31717 * java/util/Hashtable.java: 31718 same as for HashMap 31719 * java/util/LinkedHashEntry.java: 31720 (pred,succ): generically typed 31721 (LinkedHashEntry(K,V)): likewise 31722 (cleanup()): likewise 31723 (get(Object)): likewise 31724 (addEntry(K,V,int,boolean)): likewise 31725 * java/util/LinkedList.java: 31726 changed incorrect cast 31727 (LinkedListItr<I>): re-typed to unique I from T 31728 * java/util/TreeSet.java: 31729 cast set to SortedSet<T> before using 31730 317312005-01-12 Andrew John Hughes <gnu_andrew@member.fsf.org> 31732 31733 * java/text/DecimalFormatSymbols.java 31734 (DecimalFormatSymbols(java.util.Locale)): defaults 31735 changed to "?" and "XXX" to match a nuance of Sun's 31736 impl. along with documentation 31737 317382005-01-12 Michael Koch <konqueror@gmx.de> 31739 31740 * gnu/java/security/x509/X509Certificate.java 31741 (parse): Handle val == null case. 31742 317432005-01-12 Michael Koch <konqueror@gmx.de> 31744 31745 * java/nio/channels/Channels.java 31746 (newInputStream(ReadableByteChannel)): 31747 Call VMChannels.newInputStream(ReadableByteChannel). 31748 (newOutputStream(WritableByteChannel): 31749 Call VMChannels.newOutputStream(WritableByteChannel). 31750 (newInputStream(FileChannelImpl)): Removed. 31751 (newOutputStream(FileChannelImpl)): Likewise. 31752 * vm/reference/java/nio/channels/VMChannels.java: Nw file. 31753 * native/jni/java-nio/Makefile.am: 31754 * native/jni/java-nio/java_nio_channels_Channels.c, 31755 include/java_nio_channels_Channels.h: Removed. 31756 * include/Makefile.am: Don't generate java_nio_channels_Channels.h. 31757 Removed java_nio_channels_Channels.c. 31758 317592005-01-12 Michael Koch <konqueror@gmx.de> 31760 31761 * gnu/java/net/PlainSocketImpl.java 31762 (shutdownInput): Made native. Throws IOException. Added Javadoc. 31763 (shutdownOutput): Likewise. 31764 * include/gnu_java_net_PlainSocketImpl.h: Regenerated. 31765 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c 31766 (Java_gnu_java_net_PlainSocketImpl_shutdownInput): New method. 31767 (Java_gnu_java_net_PlainSocketImpl_shutdownOutput): Likewise. 31768 * native/jni/java-net/javanet.c 31769 (_javanet_shutdownInput): Likewise. 31770 (_javanet_shutdownOutput): Likewise. 31771 * native/jni/java-net/javanet.h 31772 (_javanet_shutdownInput): Likewise. 31773 (_javanet_shutdownOutput): Likewise. 31774 317752005-01-12 Michael Koch <konqueror@gmx.de> 31776 31777 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c 31778 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetVisible): 31779 Removed setting of gdk_env. 31780 317812005-01-12 Andrew John Hughes <gnu_andrew@member.fsf.org> 31782 31783 * java/util/Collections.java 31784 all occurences of 31785 (toArray(E[] a)): fixed parameteric type to be different 31786 from collection type 31787 (entrySet()): immutable version retyped to return Map.Entry<K,V> 31788 * java/util/TreeMap.java 31789 Completion of generic typing for all methods and variables 31790 (entries, comparator): generically typed 31791 (TreeMap(Comparator<? super K>): likewise 31792 (TreeMap(Map <? extends K, ? extends V>): likewise 31793 (TreeMap(SortedMap<K, ? extends V> sm): likewise 31794 (comparator()): likewise 31795 (containsKey(Object)): cast to K for getKey() 31796 (entrySet()): generically typed 31797 (get(Object)): cast to K for getKey() 31798 (keySet()): generically typed 31799 (put(K,V)): likewise 31800 (putAll(Map<? extends K, ? extends V>)): likewise 31801 (remove(Object)): removed invalid generic typing 31802 (values()): generically typed 31803 (deleteFixup(Node<K,V>, Node<K,V>)): likewise 31804 (highestLessThan(K)): likewise 31805 (insertFixup(Node<K,V>)): likewise 31806 (lastNode()): likewise 31807 (lowestGreatThan(K, boolean): likewise 31808 (predecessor(Node<K,V>)): likewise 31809 (putKeysLinear(Iterator<K>, int)): likewise and doc 31810 correction 31811 (removeNode(Node<K,V>)): generically typed 31812 (rotateLeft(Node<K,V>)): likewise 31813 (rotateRight(Node<K,V>)): likewise 31814 (sucessor(Node<K,V>)): likewise 31815 (SubMap): generically typed with SK and SV 31816 318172005-01-12 Andrew John Hughes <gnu_andrew@member.fsf.org> 31818 31819 * java/util/EnumMap.java 31820 Corrected comment for accuracy. 31821 * java/util/EnumSet.java 31822 Corrected indenting. 31823 * java/util/Hashtable.java 31824 Corrected bracketing of author. 31825 318262005-01-11 Mark Wielaard <mark@klomp.org> 31827 31828 * acinclude.m4 (CLASSPATH_WITH_GJDOC): Test for gjdoc, not jay. 31829 318302005-01-12 Thomas Fitzsimmons <fitzsim@redhat.com> 31831 31832 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c 31833 (mouseWheel): Call XFlush. 31834 (keyPress): Likewise. 31835 (keyRelease): Likewise. 31836 318372005-01-11 Michael Koch <konqueror@gmx.de> 31838 31839 * javax/swing/UIDefaults.java (UIDefaults): 31840 Fixed typo in javadoc (Thanks to Thomas Zander for reporting) 31841 Fixed HTML entity and removed a redundant comma. 31842 318432005-01-11 Michael Koch <konqueror@gmx.de> 31844 31845 * configure.ac: Check for gdk-pixbuf-2.0. 31846 318472005-01-11 Graydon Hoare <graydon@redhat.com> 31848 31849 * gnu/java/awt/ClasspathToolkit.java 31850 (registerImageIOSpis): New method. 31851 * gnu/java/awt/image/ImageDecoder.java 31852 (imageDecoder): New constructor using InputStream 31853 (startProduction): Handle existing InputStream. 31854 * gnu/java/awt/peer/gtk/GdkGraphics2D.java 31855 (findSimpleIntegerArray): Make public and static. 31856 (updateBufferedImage): Set each pixel, in a loop. 31857 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: 31858 Implement ImageIO SPI classes. 31859 (createBufferedImage): Rewrite in terms of SPI classes. 31860 * gnu/java/awt/peer/gtk/GtkToolkit.java 31861 (registerImageIOSpis): New method. 31862 * java/lang/reflect/natMethod.cc 31863 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk, 31864 which lets JNI call interface methods properly. 31865 * javax/imageio/ImageIO.java 31866 (WriterFormatFilter.filter): Fix copy-and-paste typos. 31867 (WriterMIMETypeFilter.filter): Likewise. 31868 (ImageReaderIterator): Pass extension argument through to SPI. 31869 (getReadersByFilter): Likewise. 31870 (getWritersByFilter): Likewise. 31871 (getImageReadersByFormatName): Likewise. 31872 (getImageReadersByMIMEType): Likewise. 31873 (getImageReadersBySuffix): Likewise. 31874 (getImageWritersByFormatName): Likewise. 31875 (getImageWritersByMIMEType): Likewise. 31876 (getImageWritersBySuffix): Likewise. 31877 (read): Implement. 31878 (write): Implement. 31879 * javax/imageio/ImageReader.java 31880 (progressListeners): Initialize. 31881 (setInput): Implement. 31882 * javax/imageio/ImageWriter.java 31883 (progressListeners): Initialize. 31884 (warningListeners): Likewise. 31885 (warningLocales): Likewise. 31886 (setOutput): Test "isInstance" rather than class equality. 31887 * javax/imageio/spi/IIORegistry.java 31888 (static): Add reader and writer SPIs. 31889 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis. 31890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 31891 (query_formats): New function. 31892 (save_to_stream): Likewise. 31893 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise. 31894 318952005-01-11 Michael Koch <konqueror@gmx.de> 31896 31897 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Regenerated. 31898 318992005-01-11 Michael Koch <konqueror@gmx.de> 31900 31901 * java/net/URL.java (URL): Handle specs like 31902 "/redir?http://domain2.com/index.html" which start with a slash. 31903 319042005-01-11 Steven Augart <augart@watson.ibm.com> 31905 31906 * scripts/check_jni_methods.sh: Portable to the OpenBSD 31907 "mktemp", as used in Red Hat Linux 7.3. 31908 Check whether "mktemp" fails; abort if it does. 31909 319102005-01-11 Andrew John Hughes <gnu_andrew@member.fsf.org> 31911 31912 * java/text/DecimalFormatSymbols.java 31913 (DecimalFormatSymbols(java.util.Locale)): check for 31914 errors in setting the currency and default to null and 31915 empty strings if unavailable 31916 (setCurrency(Currency)): moved assignment to ensure 31917 currency is not accidentally set to null 31918 * java/util/Currency.java 31919 (Currency(java.util.Locale)): throw IllegalArgumentException 31920 for empty country string and NullPointerException for null 31921 locale or country 31922 319232005-01-11 Graydon Hoare <graydon@redhat.com> 31924 31925 * gnu/java/awt/ClasspathToolkit.java 31926 (nativeQueueEmpty) 31927 (wakeNativeQueue) 31928 (iterateNativeQueue): New methods. 31929 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove. 31930 * gnu/java/awt/peer/gtk/GtkToolkit.java 31931 (gtkInit): Absorb from defunct GtkMainThread class. 31932 (static): Run gtkInit in static startup block. 31933 (GtkToolkit): Remove construction of GtkMainThread and queue. 31934 (getSystemEventQueueImpl): Construct queue when requested. 31935 (nativeQueueEmpty) 31936 (wakeNativeQueue) 31937 (iterateNativeQueue): New methods. 31938 * java/awt/Component.java (removeNotify): Remove race. 31939 * java/awt/EventDispatchThread.java 31940 (EventDispatchThread): Don't start on construction. 31941 (run): Remove isInterrupted check. 31942 * java/awt/EventQueue.java (shutdown): New flag. 31943 (isShutdown): New method checking J2SE shutdown condition. 31944 (setShutdown): New method. 31945 (getNextEvent): Restructure to use ClasspathToolkit. 31946 (postEvent): Activate new thread on posting, wake thread on 31947 post of possible shutdown condition event. 31948 * java/awt/Frame.java 31949 (Frame): Call noteFrame in all constructors. 31950 (fireDummyEvent): New helper method. 31951 (addNotify): Fire a dummy event to wake up queue. 31952 (removeNotify): Fire a dummy event to wake up queue. 31953 (noteFrame): New method. 31954 (weakFrames): New static field. 31955 (getFrames): Implement. 31956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: 31957 Remove. 31958 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: 31959 Move everything from GtkMainThread into this file 31960 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue) 31961 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue) 31962 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty): 31963 New functions to implement single-threaded queue semantics. 31964 319652005-01-11 Thomas Fitzsimmons <fitzsim@redhat.com> 31966 31967 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct 31968 references to event queue q with method call q(). 31969 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise. 31970 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise. 31971 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise. 31972 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise. 31973 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise. 31974 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise. 31975 (q): New method. 31976 319772005-01-11 Michael Koch <konqueror@gmx.de> 31978 31979 * native/jni/gtk-peer/Makefile.am: 31980 Removed gnu_java_awt_peer_gtk_GtkMainThread.c. 31981 * include/Makefile.am: 31982 Don't generate gnu_java_awt_peer_gtk_GtkMainThread.h 31983 * include/gnu_java_awt_peer_gtk_GtkMainThread.h: Removed. 31984 319852005-01-11 Michael Koch <konqueror@gmx.de> 31986 31987 * javax/swing/text/DefaultEditorKit.java 31988 (deinstall): Removed. 31989 (install): Likewise. 31990 319912005-01-11 Michael Koch <konqueror@gmx.de> 31992 31993 * javax/swing/UIDefaults.java (put): Handle value of null. 31994 319952005-01-11 Chris Burdess <dog@gnu.org> 31996 31997 * gnu/java/net/protocol/http/HTTPConnection.java: Use correct form of 31998 Host header when using a non-default port number. 31999 320002005-01-11 Chris Burdess <dog@gnu.org> 32001 32002 * javax/net/ssl/HttpsURLConnection.java: Do not request SSLv3 32003 provider during class initialization. 32004 320052005-01-11 Michael Koch <konqueror@gmx.de> 32006 32007 * java/awt/Robot.java, 32008 java/awt/Scrollbar.java, 32009 java/awt/print/PrinterJob.java, 32010 javax/swing/JTable.java, 32011 javax/swing/text/AbstractDocument.java: 32012 Reworked import statements. 32013 320142005-01-11 Michael Koch <konqueror@gmx.de> 32015 32016 * java/beans/XMLDecoder.java: Reworked imports, fixed class javadoc. 32017 * java/io/File.java, 32018 java/lang/System.java, 32019 java/net/Inet4Address.java, 32020 java/util/Currency.java, 32021 java/util/ResourceBundle.java: Reworked imports. 32022 320232005-01-11 Tom Tromey <tromey@redhat.com> 32024 32025 * java/util/AbstractList.java (set, add): Fixed argument types. 32026 * java/util/ArrayList.java: Properly handle generic arrays. 32027 * java/util/Arrays.java (sort): Fixed type of temporary 'elem'. 32028 * java/util/BitSet.java (containsAll): Use correct variable name. 32029 * java/util/Collections.java (copy): Use correct 32030 parameterizations. 32031 (min): Likewise. 32032 (putAll): Likewise. 32033 (compare): Fixed argument types. 32034 (sort): Properly handle generic arrays. 32035 * java/util/EnumSet.java (clone): Ignore 32036 CloneNotSupportedException. 32037 (addAll, contains, containsAll, remove, removeAll, retainAll, 32038 copyOf, complementOf): Don't use generic instanceof. 32039 (copyOf): Cast result of 'clone'. 32040 * java/util/HashMap.java (HashMap): Properly handle generic 32041 arrays. 32042 (clone): Likewise. 32043 (rehash): Likewise. 32044 (readObject): Likewise. 32045 (putAll): Don't use generic instanceof. 32046 (getEntry): Likewise. 32047 (putAllInternal): Use correct parameterizations. 32048 (next): Fixed return type. 32049 * java/util/Hashtable.java (Hashtable): Properly handle generic 32050 arrays. 32051 (clone): Likewise. 32052 (rehash): Likewise. 32053 (readObject): Likewise. 32054 (hash): Fixed argument type. 32055 (getEntry): Don't use generic instanceof. 32056 (next): Cast return values. 32057 (nextElement): Fixed return type. 32058 * java/util/LinkedList.java (toArray): Added cast. 32059 (LinkedListItr): Now generic. 32060 * java/util/TreeMap.java (TreeMap): Now generic. 32061 (Node): Likewise. 32062 (left, right, parent): Updated types. 32063 (firstKey, get, headMap, lastKey, remove, subMap, tailMap, 32064 firstNode, getNode): Updated types. 32065 * java/util/TreeSet.java (TreeSet): Fixed cast. 32066 (clone): Likewise. 32067 (readObject): Likewise. 32068 * java/util/Vector.java (Vector): Properly handle generic arrays. 32069 (trimToSize): Likewise. 32070 (ensureCapacity): Likewise. 32071 (toArray): Likewise. 32072 (addAll): Fixed parameterization. 32073 * java/util/WeakHashMap.java (WeakBucket): Now generic. 32074 (value, next): Updated types. 32075 (WeakEntry): Parameterized superinterface. 32076 (key, getKey, getValue, setValue): Updated types. 32077 (getEntry): Fixed type of local 'key'. 32078 (get): Updated. 32079 (put): Fixed return type. 32080 (remove): Updated. 32081 320822005-01-11 Tom Tromey <tromey@redhat.com> 32083 32084 * .classpath: Updated for Eclipse 3.1. 32085 * .settings/org.eclipse.jdt.core.prefs: New file. 32086 * .settings/org.eclipse.jdt.ui.prefs: New file. 32087 320882005-01-10 Tom Tromey <tromey@redhat.com> 32089 32090 * java/io/BufferedInputStream.java: Fixed indentation. 32091 320922005-01-10 Michael Koch <konqueror@gmx.de> 32093 32094 * javax/swing/JEditorPane.java 32095 (read): Implemented. 32096 (write): Likewise. 32097 * javax/swing/text/DefaultEditorKit.java 32098 (page): Renamed from page_url. Made private. 32099 (editorKit): Renamed from kit. Made private. 32100 (ctype): Removed. 32101 (JEditorPane): All constructors reimplemented. 32102 (getContentType): Use content type from editor kit. 32103 (getEditorKit): Return editorKit. 32104 (getEditorKitForContentType):Likewise. 32105 (getPage): Return page. 32106 (setContentType): Reimplemented. 32107 (setEditorKit): Likewise. 32108 (setEditorKitForContentType): Removed wrong implementation. 32109 (setPage): Implemented. 32110 321112005-01-10 Michael Koch <konqueror@gmx.de> 32112 32113 * scripts/check_jni_methods.sh: Dont ignore 32114 Java_gnu_java_awt_peer_gtk_GtkFramePeer_nativeSetIconImageFromData. 32115 321162005-01-10 Thomas Fitzsimmons <fitzsim@redhat.com> 32117 32118 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c 32119 (nativeSetIconImageFromData): Re-add native implementation. 32120 321212005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org> 32122 32123 * java/util/AbstractMap.java: 32124 (putAll(Map<? extends K, ? extends V>)): added cast to 32125 Map<K,V> 32126 * java/util/EnumMap.java: 32127 Corrected instanceof tests, generic array creation, 32128 use of Enum.getDeclaringClass() and wrong typing 32129 of iterator methods 32130 (clone()): re-written to use the EnumMap(EnumMap) 32131 constructor 32132 321332005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org> 32134 32135 * java/awt/AWTKeyStroke.java: 32136 Typed static cache and vktable generically 32137 (removeEldestEntry(Map.Entry<AWTKeyStroke,AWTKeyStroke>)): 32138 typed generically 32139 (registerSubclass(Class<?>)): typed generically 32140 (readResolve()): removed unnecessary cast 32141 (setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>)): 32142 typed generically 32143 * java/awt/Container.java: 32144 (setFocusTraversalKeys(int, Set<? extends AWTKeyStroke>)): 32145 typed generically 32146 (getFocusTraversalKeys(int)): typed generically 32147 * java/awt/GridBagLayout.java: 32148 comptable, internalcomptable now generically typed 32149 (GridBagLayout()): generic typing 32150 (sortBySpan(Component,int,ArrayList<Component>,boolean)): 32151 typed generically 32152 * java/awt/KeyboardFocusManager.java: 32153 (getDefaultFocusTraversalKeys(int)): typed generically 32154 * java/awt/dnd/DragGestureRecognizer.java: 32155 typed events generically 32156 * java/awt/dnd/DropTargetContext.java: 32157 removed unnecessary import and added serialization UID 32158 * java/awt/im/InputContext.java: 32159 typed descriptors and recent generically 32160 * java/awt/im/spi/InputMethodContext.java: 32161 removed unnecessary import 32162 * java/io/DeleteFileHelper.java: 32163 filesToDelete typed generically 32164 (add(java.io.File)): typed generically 32165 (deleteFiles()): iteration changed to foreach 32166 * java/io/ObjectInputStream.java: 32167 typed objectLookupTable, validators, classLookupTable, oscs 32168 generically 32169 (resolveProxyClass(String[]): typed generically 32170 * java/io/ObjectOutputStream.java: 32171 removed unnecessary import 32172 typed OIDLookupTable generically 32173 * java/io/ObjectStreamClass.java: 32174 typed oscs and classLookupTable generically 32175 * java/io/ObjectStreamField.java: 32176 type typed generically 32177 (getType()): typed generically 32178 (checkFieldType()): typed generically 32179 * java/lang/Byte.java: 32180 (compareTo(Object)): removed as unneeded 32181 * java/lang/Character.java: 32182 (compareTo(Object)): removed as unneeded 32183 * java/lang/Class.java: 32184 Typing changed from K to T in accordance with docs 32185 and semantics (is a type, not a key) 32186 (getEnumConstants()): implemented using reflection 32187 (isEnum()): implemented using reflection 32188 * java/lang/Double.java: 32189 (compareTo(Object)): removed as unneeded 32190 * java/lang/Float.java: 32191 (compareTo(Object)): removed as unneeded 32192 * java/lang/InheritableThreadLocal.java: 32193 removed invalid static generic typing 32194 * java/lang/Integer.java: 32195 (compareTo(Object)): removed as unneeded 32196 * java/lang/Long.java: 32197 (compareTo(Object)): removed as unneeded 32198 * java/lang/Short.java: 32199 (compareTo(Object)): removed as unneeded 32200 * java/util/AbstractQueue.java: 32201 Typing changed from T to E in accordance with docs 32202 and semantics (is primarily a element) 32203 * java/util/Collection.java: 32204 (containsAll(Collection<?> c)): typed generically 32205 * java/util/EnumMap.java: 32206 (EnumMap(Class<K>)): removed invalid array creation 32207 * java/util/LinkedHashMap.java: 32208 Added generic typing 32209 (LinkedHashMap(Map<? extends K, ? extends V>)): added 32210 generics 32211 (get(Object)): returns V instead of Object 32212 (removeEldestEntry(Map.Entry<K,V>)): typed generically 32213 * java/util/PriorityQueue.java: 32214 removed invalid generic instanceof and generic array 32215 creation 32216 (iterator().remove()): added reference to outer class 32217 * java/util/WeakHashMap.java 32218 Added generic typing 32219 (WeakHashMap(Map<? extends K, ? extends V>)): added 32220 generics 32221 (get(Object)): returns V instead of Object 32222 (put(K,V)): generically typed 32223 (remove(Object)): returns V instead of Object 32224 (entrySet()): returns generic set 32225 (keySet()): returns generic set 32226 (putAll(Map<? extends K, ? extends V>)): generically typed 32227 (values()): returns generic collection 32228 322292005-01-09 Mark Wielaard <mark@klomp.org> 32230 32231 * java/security/AlgorithmParameterGenerator.java (getInstance): 32232 Mention provider when throwing NoSuchProviderException. 32233 * java/security/AlgorithmParameters.java (getInstance): Likewise. 32234 * java/security/KeyFactory.java (getInstance): Likewise. 32235 * java/security/KeyStore.java (getInstance): Likewise. 32236 * java/security/SecureRandom.java (getInstance): Likewise. 32237 * java/security/cert/CertificateFactory.java (getInstance): Likewise. 32238 322392005-01-09 Mark Wielaard <mark@klomp.org> 32240 32241 * native/jni/java-io/java_io_VMFile.c 32242 (Java_java_io_VMFile_create): Call JCL_free_cstring() when done with 32243 string. 32244 * native/jni/java-io/javaio.c 32245 (_javaio_open_read): Likewise. 32246 (_javaio_open_readwrite): Likewise. 32247 * native/jni/java-lang/java_lang_VMSystem.c 32248 (Java_java_lang_VMSystem_getenv): Likewise. 32249 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c 32250 (Java_gnu_java_nio_channels_FileChannelImpl_open): Likewise. 32251 322522005-01-09 Mark Wielaard <mark@klomp.org> 32253 32254 * configure.ac: Update version to 0.13+cvs. 32255 322562005-01-09 Mark Wielaard <mark@klomp.org> 32257 32258 * acinclude.m4 (CLASSPATH_WITH_GJDOC): Renamed from 32259 CLASSPATH_ENABLE_GJDOC. Can now take argument to use as gjdoc program. 32260 Doesn't depend on xml tools. 32261 * configure.ac: Use CLASSPATH_WITH_GJDOC. 32262 * INSTALL: Mention --with-gjdoc option. 32263 * NEWS: Add --with-gjdoc addition. 32264 * doc/api/Makefile.am (EXTRA_DIST): Removed. 32265 (sourcepath): New variable. 32266 (htmllist): Removed. 32267 (core): Removed. 32268 (packages): Removed. 32269 (date): Removed. 32270 (clean): Also remove create_html file. 32271 (create_html): Rewritten. 32272 * doc/api/classpath-copyright.xml: Removed. 32273 322742005-01-09 Patrik Reali <reali@acm.org> 32275 32276 * doc/www.gnu.org/newsitems.txt doc/www.gnu.org/announce/20050107.wml 32277 doc/www.gnu.org/downloads/downloads.wml: classpath 0.13 release news 32278 322792005-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org> 32280 32281 * java/nio/charset/Charset.java (providers): 32282 New method to make an array of CharsetProviders defined in 32283 META-INF/services/java.nio.charset.spi.CharsetProvider. 32284 (charsetForName, availableCharsets): Use the 32285 new method providers(). 32286 322872005-01-08 Michael Koch <konqueror@gmx.de> 32288 32289 * java/util/SimpleTimeZone.java (checkRule): 32290 Throw IllegalArgumentException on invalid month values. 32291 322922005-01-08 Michael Koch <konqueror@gmx.de> 32293 32294 * gnu/java/net/protocol/http/HTTPConnection.java 32295 (newRequest): Use "/" as path if no path given in URL. 32296 322972005-01-08 Michael Koch <konqueror@gmx.de> 32298 32299 * resource/Makefile.am: Install classpath.security file. 32300 323012005-01-08 Michael Koch <konqueror@gmx.de> 32302 32303 * resource/java/util/iso639_fr.properties, 32304 resource/java/util/iso3166.properties, 32305 resource/java/util/iso3166_de.properties, 32306 resource/java/util/iso639-a3.properties, 32307 resource/java/util/iso639_de.properties, 32308 resource/java/util/iso639.properties, 32309 resource/java/util/iso639-a2-old.properties, 32310 resource/java/util/iso3166-a3.properties, 32311 resource/java/util/iso639_ga.properties: Removed. 32312 323132005-01-07 Tom Tromey <tromey@redhat.com> 32314 32315 * java/lang/Package.java (getPackages): Use VMClassLoader when 32316 appropriate. 32317 (getPackage): Likewise. 32318 323192005-01-07 Michael Koch <konqueror@gmx.de> 32320 32321 * java/nio/Buffer.java (address): New field. 32322 * java/nio/DirectByteBufferImpl.java (address): Removed. 32323 * java/nio/MappedByteBufferImpl.java (address): Likewise.. 32324 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl): Explicitely 32325 initialize Buffer.address if needed. 32326 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise. 32327 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise. 32328 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise. 32329 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise. 32330 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise. 32331 323322005-01-07 Olga Rodimina <rodimina@redhat.com> 32333 32334 * javax/swing/JTable.java 32335 (columnAtPoint): New Method. Implemented. 32336 (rowAtPoint): Likewise. 32337 (countSelections): Fixed few small count errors. 32338 (getSelections): Likewise. 32339 (setSelectionMode): Set selection mode for column 32340 selection model in addition to row selection model. 32341 * javax/swing/plaf/basic/BasicTableUI.java: 32342 (getRowForPoint): Removed. Replaced by 32343 JTable.rowAtPoint(). 32344 (getColForPoint): Removed. Replaced by 32345 JTable.columnAtPoint(). 32346 (updateSelection): Updated to call JTable.columnAtPoint 32347 and JTable.rowAtPoint. 32348 * javax/swing/table/DefaultTableColumnModel.java: 32349 (getSelectedColumns): Implemented. 32350 (getSelectedColumnCount): Implemented. 32351 323522005-01-07 David Gilbert <david.gilbert@object-refinery.com> 32353 32354 * javax/swing/table/DefaultTableModel.java 32355 (DefaultTableModel()): Added Javadocs. 32356 (DefaultTableModel(int, int)): Fixed implementation. 32357 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException 32358 for negative rowCount. 32359 (DefaultTableModel(Object[], int)): Added Javadocs. 32360 (DefaultTableModel(Vector, Vector)): Likewise. 32361 (DefaultTableModel(Object[][], Object[])): Likewise. 32362 (getDataVector): Likewise. 32363 (setDataVector(Vector, Vector)): Likewise. 32364 (setDataVector(Object[][], Object[])): Likewise. 32365 (newDataAvailable): Likewise. 32366 (newRowsAdded): Likewise. 32367 (rowsRemoved): Likewise. 32368 (setColumnIdentifiers(Vector)): Allow for null argument. 32369 (setColumnIdentifiers(Object[])): Added Javadocs. 32370 (setNumRows): Likewise. 32371 (setRowCount): Adds new rows if necessary, and sends more specific 32372 TableModelEvent. 32373 (setColumnCount): Allow for null columnIdentifiers. 32374 (addColumn(Object)): Added Javadocs. 32375 (addColumn(Object, Vector)): Handle null columnData. 32376 (addColumn(Object, Object[])): Handle columnData with more or less 32377 entries than rows in the table. 32378 (addRow(Vector)): Fire appropriate event. 32379 (addRow(Object[])): Added Javadocs. 32380 (insertRow(int, Vector)): Fire appropriate event. 32381 (insertRow(int, Object[])): Added Javadocs. 32382 (moveRow): Reimplemented. 32383 (removeRow(int)): Fire appropriate event. 32384 (getColumnCount): Allow for null columnIdentifiers. 32385 (getColumnName): Now returns empty string when column index is too 32386 large. 32387 (isCellEditable): Added Javadocs. 32388 (getValueAt): Likewise. 32389 (setValueAt): Fire more specific event. 32390 (convertToVector): Added Javadocs. 32391 * javax/swing/table/TableModel.java 32392 Added Javadocs. 32393 323942005-01-07 Archie Cobbs <archie@dellroad.org> 32395 32396 * NEWS: Document changes. 32397 * java/lang/Class.java (newInstance(), getClassLoader(), 32398 forName(String), forName(String, boolean, ClassLoader)): 32399 Use new VMStackWalker methods. 32400 * java/lang/ClassLoader.java (getParent(), getSystemClassLoader()): 32401 Likewise. 32402 * java/lang/Package.java (getPackages()): Likewise. 32403 * java/lang/SecurityManager.java (getClassContext()): Likewise. 32404 * java/util/ResourceBundle.java (getBundle()): Likewise. 32405 * java/lang/Runtime.java (load(), loadLibrary()): Load the native 32406 library using the calling class' class loader. 32407 * java/lang/System.java (load(), loadLibrary()): Likewise. 32408 (currentClassLoader()): implement via currentLoadedClass(). 32409 * vm/reference/gnu/classpath/VMStackWalker.java: New class. 32410 * vm/reference/java/lang/VMRuntime.java (nativeLoad()): 32411 Add a ClassLoader parameter. 32412 * vm/reference/java/lang/VMSecurityManager.java: Removed. 32413 324142005-01-07 Andrew John Hughes <gnu_andrew@member.fsf.org> 32415 32416 * java/util/SimpleTimeZone.java: 32417 (getOffset): offset end date with daylight savings 32418 324192005-01-07 Andrew John Hughes <gnu_andrew@member.fsf.org> 32420 32421 * java/io/PrintStream.java: 32422 (PrintStream(String, String)): added UnsupportedEncodingException 32423 (PrintStream(File, String)): added UnsupportedEncodingException 32424 * java/lang/Deprecated.java: 32425 Changed import to java.lang.annotation.RetentionPolicy.RUNTIME 32426 * java/lang/InheritableThreadLocal.java: 32427 Corrected typo `Locals' to `Local' 32428 * java/lang/String.java: 32429 (compareTo(Object)): removed 32430 * java/lang/annotation/AnnotationTypeMismatchException.java: 32431 Added import of java.lang.reflect.Method 32432 * java/lang/annotation/Documentation.java: 32433 Added import of java.lang.annotation.RetentionPolicy.RUNTIME 32434 * java/lang/annotation/Inherited.java: 32435 Added import of java.lang.annotation.RetentionPolicy.RUNTIME 32436 Added import of java.lang.annotation.ElementType.ANNOTATION_TYPE 32437 * java/lang/annotation/Retention.java: ditto 32438 * java/lang/annotation/Target.java: ditto 32439 * java/lang/reflect/AnnotatedElement.java: 32440 Added import of java.lang.annotation.Annotation 32441 * java/util/AbstractCollection.java: 32442 (toArray(T[])): converted returned type to T[] from Object[] 32443 * java/util/EnumMap.java: 32444 Added import of java.io.Serializable 32445 * java/util/EnumSet.java: ditto 32446 * java/util/TreeSet.java: 32447 (TreeSet(SortedMap<T,String> backingMap)): type of input parameter 32448 corrected. 32449 * vm/reference/java/lang/VMClass.java: 32450 (cast(Object, Class<K>)): typed method parameterically 32451 324522005-01-06 Tom Tromey <tromey@redhat.com> 32453 32454 * java/lang/ClassLoader.java (findClass): Fixed documentation. 32455 324562005-01-06 Mark Wielaard <mark@klomp.org> 32457 32458 * configure.ac: Update version to 0.13. 32459 * NEWS: Add news about 0.13. 32460 * INSTALL: Mention new dependencies and configure flags. 32461 324622005-01-06 Mark Wielaard <mark@klomp.org> 32463 32464 * configure.ac: Add explicit X and libXtst tests when gtk+ peers are 32465 enabled. 32466 324672005-01-06 Michael Koch <konqueror@gmx.de> 32468 32469 * java/util/TimeZone.java 32470 (setID): Throw NullPointerException if needed. 32471 324722005-01-05 Mark Wielaard <mark@klomp.org> 32473 32474 * lib/gen-classlist.sh.in: Don't split locales in classes.locale1 32475 and classes.locale2. 32476 * lib/Makefile.am (JAVAC): Compile only classes.locale. 32477 (CLEANFILES): Remove classes.locale1 and classes.locale2, 32478 add classes.locale. 32479 324802005-01-05 Tom Tromey <tromey@redhat.com> 32481 32482 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any 32483 argument. 32484 (compressedSize): Now 'long'. Default to -1. 32485 (getCompressedSize): Rewrote. 32486 324872005-01-05 Ranjit Mathew <rmathew@hotmail.com> 32488 32489 * java/util/IdentityHashMap.java (put): Replace mistaken use 32490 of "<<" by "*". 32491 324922005-01-05 Michael Koch <konqueror@gmx.de> 32493 32494 * gnu/java/locale/LocaleInformation_mn_MN.java: 32495 New file. 32496 * gnu/java/locale/LocaleInformation_aa.java, 32497 gnu/java/locale/LocaleInformation_aa_DJ.java, 32498 gnu/java/locale/LocaleInformation_aa_ER.java, 32499 gnu/java/locale/LocaleInformation_aa_ER_SAAHO.java, 32500 gnu/java/locale/LocaleInformation_aa_ET.java, 32501 gnu/java/locale/LocaleInformation_af.java, 32502 gnu/java/locale/LocaleInformation_af_ZA.java, 32503 gnu/java/locale/LocaleInformation_am.java, 32504 gnu/java/locale/LocaleInformation_am_ET.java, 32505 gnu/java/locale/LocaleInformation_ar.java, 32506 gnu/java/locale/LocaleInformation_ar_DZ.java, 32507 gnu/java/locale/LocaleInformation_ar_IN.java, 32508 gnu/java/locale/LocaleInformation_ar_IQ.java, 32509 gnu/java/locale/LocaleInformation_ar_JO.java, 32510 gnu/java/locale/LocaleInformation_ar_KW.java, 32511 gnu/java/locale/LocaleInformation_ar_LB.java, 32512 gnu/java/locale/LocaleInformation_ar_LY.java, 32513 gnu/java/locale/LocaleInformation_ar_MA.java, 32514 gnu/java/locale/LocaleInformation_ar_QA.java, 32515 gnu/java/locale/LocaleInformation_ar_SA.java, 32516 gnu/java/locale/LocaleInformation_ar_SY.java, 32517 gnu/java/locale/LocaleInformation_ar_TN.java, 32518 gnu/java/locale/LocaleInformation_ar_YE.java, 32519 gnu/java/locale/LocaleInformation_as.java, 32520 gnu/java/locale/LocaleInformation_as_IN.java, 32521 gnu/java/locale/LocaleInformation_az.java, 32522 gnu/java/locale/LocaleInformation_be.java, 32523 gnu/java/locale/LocaleInformation_be_BY.java, 32524 gnu/java/locale/LocaleInformation_bg.java, 32525 gnu/java/locale/LocaleInformation_bg_BG.java, 32526 gnu/java/locale/LocaleInformation_bn.java, 32527 gnu/java/locale/LocaleInformation_bn_IN.java, 32528 gnu/java/locale/LocaleInformation_ca.java, 32529 gnu/java/locale/LocaleInformation_ca_ES.java, 32530 gnu/java/locale/LocaleInformation_cs.java, 32531 gnu/java/locale/LocaleInformation_cs_CZ.java, 32532 gnu/java/locale/LocaleInformation_cy.java, 32533 gnu/java/locale/LocaleInformation_cy_GB.java, 32534 gnu/java/locale/LocaleInformation_da.java, 32535 gnu/java/locale/LocaleInformation_da_DK.java, 32536 gnu/java/locale/LocaleInformation_de.java, 32537 gnu/java/locale/LocaleInformation_de_AT.java, 32538 gnu/java/locale/LocaleInformation_de_BE.java, 32539 gnu/java/locale/LocaleInformation_de_CH.java, 32540 gnu/java/locale/LocaleInformation_de_DE.java, 32541 gnu/java/locale/LocaleInformation_de_LI.java, 32542 gnu/java/locale/LocaleInformation_de_LU.java, 32543 gnu/java/locale/LocaleInformation_dv.java, 32544 gnu/java/locale/LocaleInformation_dv_MV.java, 32545 gnu/java/locale/LocaleInformation_dz.java, 32546 gnu/java/locale/LocaleInformation_dz_BT.java, 32547 gnu/java/locale/LocaleInformation_el.java, 32548 gnu/java/locale/LocaleInformation_el_GR.java, 32549 gnu/java/locale/LocaleInformation_en.java, 32550 gnu/java/locale/LocaleInformation_en_AS.java, 32551 gnu/java/locale/LocaleInformation_en_AU.java, 32552 gnu/java/locale/LocaleInformation_en_BE.java, 32553 gnu/java/locale/LocaleInformation_en_BW.java, 32554 gnu/java/locale/LocaleInformation_en_BZ.java, 32555 gnu/java/locale/LocaleInformation_en_CA.java, 32556 gnu/java/locale/LocaleInformation_en_GB.java, 32557 gnu/java/locale/LocaleInformation_en_GU.java, 32558 gnu/java/locale/LocaleInformation_en_HK.java, 32559 gnu/java/locale/LocaleInformation_en_IE.java, 32560 gnu/java/locale/LocaleInformation_en_IN.java, 32561 gnu/java/locale/LocaleInformation_en_MH.java, 32562 gnu/java/locale/LocaleInformation_en_MP.java, 32563 gnu/java/locale/LocaleInformation_en_MT.java, 32564 gnu/java/locale/LocaleInformation_en_NZ.java, 32565 gnu/java/locale/LocaleInformation_en_PH.java, 32566 gnu/java/locale/LocaleInformation_en_PK.java, 32567 gnu/java/locale/LocaleInformation_en_SG.java, 32568 gnu/java/locale/LocaleInformation_en_UM.java, 32569 gnu/java/locale/LocaleInformation_en_US.java, 32570 gnu/java/locale/LocaleInformation_en_US_POSIX.java, 32571 gnu/java/locale/LocaleInformation_en_VI.java, 32572 gnu/java/locale/LocaleInformation_en_ZA.java, 32573 gnu/java/locale/LocaleInformation_en_ZW.java, 32574 gnu/java/locale/LocaleInformation_eo.java, 32575 gnu/java/locale/LocaleInformation_es.java, 32576 gnu/java/locale/LocaleInformation_es_AR.java, 32577 gnu/java/locale/LocaleInformation_es_BO.java, 32578 gnu/java/locale/LocaleInformation_es_CL.java, 32579 gnu/java/locale/LocaleInformation_es_CO.java, 32580 gnu/java/locale/LocaleInformation_es_CR.java, 32581 gnu/java/locale/LocaleInformation_es_DO.java, 32582 gnu/java/locale/LocaleInformation_es_EC.java, 32583 gnu/java/locale/LocaleInformation_es_ES.java, 32584 gnu/java/locale/LocaleInformation_es_GT.java, 32585 gnu/java/locale/LocaleInformation_es_HN.java, 32586 gnu/java/locale/LocaleInformation_es_MX.java, 32587 gnu/java/locale/LocaleInformation_es_NI.java, 32588 gnu/java/locale/LocaleInformation_es_PA.java, 32589 gnu/java/locale/LocaleInformation_es_PE.java, 32590 gnu/java/locale/LocaleInformation_es_PR.java, 32591 gnu/java/locale/LocaleInformation_es_PY.java, 32592 gnu/java/locale/LocaleInformation_es_SV.java, 32593 gnu/java/locale/LocaleInformation_es_US.java, 32594 gnu/java/locale/LocaleInformation_es_UY.java, 32595 gnu/java/locale/LocaleInformation_es_VE.java, 32596 gnu/java/locale/LocaleInformation_et.java, 32597 gnu/java/locale/LocaleInformation_et_EE.java, 32598 gnu/java/locale/LocaleInformation_eu.java, 32599 gnu/java/locale/LocaleInformation_eu_ES.java, 32600 gnu/java/locale/LocaleInformation_fa.java, 32601 gnu/java/locale/LocaleInformation_fa_AF.java, 32602 gnu/java/locale/LocaleInformation_fa_IR.java, 32603 gnu/java/locale/LocaleInformation_fi.java, 32604 gnu/java/locale/LocaleInformation_fi_FI.java, 32605 gnu/java/locale/LocaleInformation_fo.java, 32606 gnu/java/locale/LocaleInformation_fo_FO.java, 32607 gnu/java/locale/LocaleInformation_fr.java, 32608 gnu/java/locale/LocaleInformation_fr_BE.java, 32609 gnu/java/locale/LocaleInformation_fr_CA.java, 32610 gnu/java/locale/LocaleInformation_fr_CH.java, 32611 gnu/java/locale/LocaleInformation_fr_LU.java, 32612 gnu/java/locale/LocaleInformation_ga.java, 32613 gnu/java/locale/LocaleInformation_ga_IE.java, 32614 gnu/java/locale/LocaleInformation_gl.java, 32615 gnu/java/locale/LocaleInformation_gl_ES.java, 32616 gnu/java/locale/LocaleInformation_gu.java, 32617 gnu/java/locale/LocaleInformation_gu_IN.java, 32618 gnu/java/locale/LocaleInformation_gv.java, 32619 gnu/java/locale/LocaleInformation_gv_GB.java, 32620 gnu/java/locale/LocaleInformation_he.java, 32621 gnu/java/locale/LocaleInformation_he_IL.java, 32622 gnu/java/locale/LocaleInformation_hi.java, 32623 gnu/java/locale/LocaleInformation_hi_IN.java, 32624 gnu/java/locale/LocaleInformation_hr.java, 32625 gnu/java/locale/LocaleInformation_hu.java, 32626 gnu/java/locale/LocaleInformation_hu_HU.java, 32627 gnu/java/locale/LocaleInformation_hy.java, 32628 gnu/java/locale/LocaleInformation_hy_AM.java, 32629 gnu/java/locale/LocaleInformation_hy_AM_REVISED.java, 32630 gnu/java/locale/LocaleInformation_id.java, 32631 gnu/java/locale/LocaleInformation_id_ID.java, 32632 gnu/java/locale/LocaleInformation_is.java, 32633 gnu/java/locale/LocaleInformation_is_IS.java, 32634 gnu/java/locale/LocaleInformation_it.java, 32635 gnu/java/locale/LocaleInformation_it_CH.java, 32636 gnu/java/locale/LocaleInformation_it_IT.java, 32637 gnu/java/locale/LocaleInformation_iu.java, 32638 gnu/java/locale/LocaleInformation_ja.java, 32639 gnu/java/locale/LocaleInformation_ja_JP.java, 32640 gnu/java/locale/LocaleInformation_ka.java, 32641 gnu/java/locale/LocaleInformation_kk.java, 32642 gnu/java/locale/LocaleInformation_kk_KZ.java, 32643 gnu/java/locale/LocaleInformation_kl.java, 32644 gnu/java/locale/LocaleInformation_kl_GL.java, 32645 gnu/java/locale/LocaleInformation_km.java, 32646 gnu/java/locale/LocaleInformation_km_KH.java, 32647 gnu/java/locale/LocaleInformation_kn.java, 32648 gnu/java/locale/LocaleInformation_kn_IN.java, 32649 gnu/java/locale/LocaleInformation_ko.java, 32650 gnu/java/locale/LocaleInformation_ko_KR.java, 32651 gnu/java/locale/LocaleInformation_kw.java, 32652 gnu/java/locale/LocaleInformation_kw_GB.java, 32653 gnu/java/locale/LocaleInformation_ky.java, 32654 gnu/java/locale/LocaleInformation_lo.java, 32655 gnu/java/locale/LocaleInformation_lo_LA.java, 32656 gnu/java/locale/LocaleInformation_lt.java, 32657 gnu/java/locale/LocaleInformation_lt_LT.java, 32658 gnu/java/locale/LocaleInformation_lv.java, 32659 gnu/java/locale/LocaleInformation_lv_LV.java, 32660 gnu/java/locale/LocaleInformation_mk.java, 32661 gnu/java/locale/LocaleInformation_ml.java, 32662 gnu/java/locale/LocaleInformation_ml_IN.java, 32663 gnu/java/locale/LocaleInformation_mn.java, 32664 gnu/java/locale/LocaleInformation_mr.java, 32665 gnu/java/locale/LocaleInformation_mr_IN.java, 32666 gnu/java/locale/LocaleInformation_ms.java, 32667 gnu/java/locale/LocaleInformation_ms_BN.java, 32668 gnu/java/locale/LocaleInformation_ms_MY.java, 32669 gnu/java/locale/LocaleInformation_mt.java, 32670 gnu/java/locale/LocaleInformation_mt_MT.java, 32671 gnu/java/locale/LocaleInformation_nb.java, 32672 gnu/java/locale/LocaleInformation_nb_NO.java, 32673 gnu/java/locale/LocaleInformation_nl.java, 32674 gnu/java/locale/LocaleInformation_nl_BE.java, 32675 gnu/java/locale/LocaleInformation_nl_NL.java, 32676 gnu/java/locale/LocaleInformation_nn.java, 32677 gnu/java/locale/LocaleInformation_nn_NO.java, 32678 gnu/java/locale/LocaleInformation_om.java, 32679 gnu/java/locale/LocaleInformation_om_ET.java, 32680 gnu/java/locale/LocaleInformation_om_KE.java, 32681 gnu/java/locale/LocaleInformation_or.java, 32682 gnu/java/locale/LocaleInformation_or_IN.java, 32683 gnu/java/locale/LocaleInformation_pa.java, 32684 gnu/java/locale/LocaleInformation_pa_IN.java, 32685 gnu/java/locale/LocaleInformation_pl.java, 32686 gnu/java/locale/LocaleInformation_pl_PL.java, 32687 gnu/java/locale/LocaleInformation_ps.java, 32688 gnu/java/locale/LocaleInformation_ps_AF.java, 32689 gnu/java/locale/LocaleInformation_pt.java, 32690 gnu/java/locale/LocaleInformation_pt_BR.java, 32691 gnu/java/locale/LocaleInformation_pt_PT.java, 32692 gnu/java/locale/LocaleInformation_ro.java, 32693 gnu/java/locale/LocaleInformation_ro_RO.java, 32694 gnu/java/locale/LocaleInformation_ru.java, 32695 gnu/java/locale/LocaleInformation_ru_RU.java, 32696 gnu/java/locale/LocaleInformation_ru_UA.java, 32697 gnu/java/locale/LocaleInformation_sa.java, 32698 gnu/java/locale/LocaleInformation_sa_IN.java, 32699 gnu/java/locale/LocaleInformation_sk.java, 32700 gnu/java/locale/LocaleInformation_sk_SK.java, 32701 gnu/java/locale/LocaleInformation_sl.java, 32702 gnu/java/locale/LocaleInformation_so.java, 32703 gnu/java/locale/LocaleInformation_so_DJ.java, 32704 gnu/java/locale/LocaleInformation_so_ET.java, 32705 gnu/java/locale/LocaleInformation_so_KE.java, 32706 gnu/java/locale/LocaleInformation_so_SO.java, 32707 gnu/java/locale/LocaleInformation_sq.java, 32708 gnu/java/locale/LocaleInformation_sq_AL.java, 32709 gnu/java/locale/LocaleInformation_sr.java, 32710 gnu/java/locale/LocaleInformation_sr_Latn.java, 32711 gnu/java/locale/LocaleInformation_sv.java, 32712 gnu/java/locale/LocaleInformation_sv_FI.java, 32713 gnu/java/locale/LocaleInformation_sv_SE.java, 32714 gnu/java/locale/LocaleInformation_sw.java, 32715 gnu/java/locale/LocaleInformation_sw_KE.java, 32716 gnu/java/locale/LocaleInformation_sw_TZ.java, 32717 gnu/java/locale/LocaleInformation_ta.java, 32718 gnu/java/locale/LocaleInformation_ta_IN.java, 32719 gnu/java/locale/LocaleInformation_te.java, 32720 gnu/java/locale/LocaleInformation_te_IN.java, 32721 gnu/java/locale/LocaleInformation_th.java, 32722 gnu/java/locale/LocaleInformation_th_TH.java, 32723 gnu/java/locale/LocaleInformation_ti.java, 32724 gnu/java/locale/LocaleInformation_ti_ER.java, 32725 gnu/java/locale/LocaleInformation_ti_ET.java, 32726 gnu/java/locale/LocaleInformation_tr.java, 32727 gnu/java/locale/LocaleInformation_tr_TR.java, 32728 gnu/java/locale/LocaleInformation_tt.java, 32729 gnu/java/locale/LocaleInformation_tt_RU.java, 32730 gnu/java/locale/LocaleInformation_uk.java, 32731 gnu/java/locale/LocaleInformation_uk_UA.java, 32732 gnu/java/locale/LocaleInformation_ur.java, 32733 gnu/java/locale/LocaleInformation_uz.java, 32734 gnu/java/locale/LocaleInformation_uz_AF.java, 32735 gnu/java/locale/LocaleInformation_vi.java, 32736 gnu/java/locale/LocaleInformation_zh.java, 32737 gnu/java/locale/LocaleInformation_zh_CN_Hans.java, 32738 gnu/java/locale/LocaleInformation_zh_HK_Hant.java, 32739 gnu/java/locale/LocaleInformation_zh_Hant.java, 32740 gnu/java/locale/LocaleInformation_zh_MO_Hant.java, 32741 gnu/java/locale/LocaleInformation_zh_SG_Hans.java, 32742 gnu/java/locale/LocaleInformation_zh_TW_Hant.java: 32743 Regenerated. 32744 327452005-01-04 Tom Tromey <tromey@redhat.com> 32746 32747 * vm/reference/java/lang/VMProcess.java (VMProcess): Constructor 32748 now package-private. 32749 (processThread, workList, reapedPid, reapedExitValue, state, cmd, 32750 env, dir, exception, pid, stdin, stdout, stderr, exitValue): Now 32751 package-private. 32752 (nativeSpawn, nativeReap): Likewise. 32753 * vm/reference/java/lang/VMThread.java (currentThread): Reordered 32754 modifiers. 32755 * vm/reference/java/security/VMAccessController.java 32756 (DEFAULT_CONTEXT): Reordered modifiers. 32757 32758 * gnu/java/nio/SelectorImpl.java: Removed unused import. 32759 * gnu/java/security/der/DERWriter.java: Removed unused import. 32760 * gnu/java/net/protocol/http/Connection.java: Removed unused 32761 import. 32762 * gnu/java/nio/PipeImpl.java (read): Reordered modifiers. Fixed 32763 indentation. 32764 (write): Likewise. 32765 * gnu/java/rmi/server/ConnectionRunnerPool.java 32766 (getConnectionRunner): Reordered modifiers. 32767 * gnu/java/text/FormatCharacterIterator.java (debug): Removed 32768 useless `final'. 32769 (dumpTable): Likewise. 32770 * gnu/java/net/PlainDatagramSocketImpl.java (bind): Reordered 32771 modifiers. 32772 (create, setOption, getOption, close, join, leave): Likewise. 32773 * gnu/java/net/PlainSocketImpl.java (create): Reordered 32774 modifiers. 32775 (bind, listen, accept): Likewise. 32776 327772005-01-04 Tom Tromey <tromey@redhat.com> 32778 32779 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004. 32780 327812005-01-04 Robert Schuster <thebohemian@gmx.net> 32782 32783 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation 32784 of AppletStub for java.beans.Beans.instantiate. 32785 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation 32786 of AppletContext. 32787 * java/beans/Beans: Added 1.4 functionality, fixed user documentation 32788 to be conformant with Javadoc guidelines. 32789 (instantiate): Added two more overloaded variants, reworked user 32790 documentation, fixed exception behavior, fixed behavior when 32791 deserializing null. 32792 327932005-01-03 Michael Koch <konqueror@gmx.de> 32794 32795 * javax/swing/plaf/metal/MetalLookAndFeel.java 32796 (getControlTextFont): New method. 32797 (getMenuTextFont): Likewise. 32798 (getSubTextFont): Likewise. 32799 (getSystemTextFont): Likewise. 32800 (getUserTextFont): Likewise. 32801 (getWindowTitleFont): Likewise. 32802 328032005-01-03 Michael Koch <konqueror@gmx.de> 32804 32805 * javax/swing/text/AbstractDocument.java 32806 (documentFilter): New field. 32807 (getDocumentFilter): New method. 32808 (setDocumentFilter): Likewise. 32809 (dump): Likewise. 32810 328112005-01-03 Michael Koch <konqueror@gmx.de> 32812 32813 * javax/swing/JTree.java 32814 (DynamicUtilTreeNode.hasChildren): Clarify javadoc. 32815 328162005-01-03 Thomas Fitzsimmons <fitzsim@redhat.com> 32817 32818 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method. 32819 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java 32820 (getDefaultScreenDevice): Implement. 32821 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file. 32822 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise. 32823 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method. 32824 * java/awt/Robot.java: Implement. 32825 * java/awt/peer/RobotPeer.java: Rename parameters. 32826 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file. 32827 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c 32828 (awt_keycode_to_keysym): Make non-static. 32829 * native/jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK, 32830 AWT_BUTTON3_MASK): Declare constants. 32831 (awt_keycode_to_keysym): Declare. 32832 328332005-01-03 Michael Koch <konqueror@gmx.de> 32834 32835 * configure.ac: Check for X11 stuff when GTK peer is enabled. 32836 * include/Makefile.am: Generate gnu_java_awt_peer_gtk_GdkRobotPeer.h. 32837 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h: New files. 32838 * native/jni/gtk-peer/Makefile.am: Link libXtst. 32839 Added gnu_java_awt_peer_gtk_GdkRobotPeer.c to the build. 32840 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: 32841 Added "__attribute__((__unused__))" all over. 32842 328432005-01-03 Michael Koch <konqueror@gmx.de> 32844 32845 * java/net/InetAddress.java: Made all hexadecimal numbers lowercase. 32846 Fixed typos in javadocs. 32847 (isSiteLocalAddress): Fixed handling of byte values. 32848 (isMCLinkLocal): Likewise. 32849 * java/net/Inet4Address.java 32850 (isMulticastAddress): Call super method. 32851 (isLoopbackAddress): Likewise. 32852 (isAnyLocalAddress): Likewise. 32853 (isLinkLocalAddress): Likewise. 32854 (isSiteLocalAddress): Likewise. 32855 (isMCGlobal): Likewise. 32856 (isMCNodeLocal): Likewise. 32857 (isMCLinkLocal): Likewise. 32858 (isMCSiteLocal): Likewise. 32859 (isMCOrgLocal): Likewise. 32860 (getHostAddress): Likewise. 32861 328622005-01-02 Mark Wielaard <mark@klomp.org> 32863 32864 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for 32865 failing methods. 32866 * gnu/java/beans/decoder/DummyContext.java: Likewise. 32867 328682005-01-02 Robert Schuster <theBohemian@gmx.net> 32869 32870 * gnu/java/beans/decoder/AbstractContext.java, 32871 gnu/java/beans/decoder/AbstractCreatableContext.java, 32872 gnu/java/beans/decoder/AbstractElementHandler.java, 32873 gnu/java/beans/decoder/AbstractObjectContext.java, 32874 gnu/java/beans/decoder/ArrayContext.java, 32875 gnu/java/beans/decoder/ArrayHandler.java, 32876 gnu/java/beans/decoder/BooleanHandler.java, 32877 gnu/java/beans/decoder/ByteHandler.java, 32878 gnu/java/beans/decoder/CharHandler.java, 32879 gnu/java/beans/decoder/ClassHandler.java, 32880 gnu/java/beans/decoder/ConstructorContext.java, 32881 gnu/java/beans/decoder/Context.java, 32882 gnu/java/beans/decoder/DecoderContext.java, 32883 gnu/java/beans/decoder/DefaultExceptionListener.java, 32884 gnu/java/beans/decoder/DoubleHandler.java, 32885 gnu/java/beans/decoder/DummyContext.java, 32886 gnu/java/beans/decoder/DummyHandler.java, 32887 gnu/java/beans/decoder/ElementHandler.java, 32888 gnu/java/beans/decoder/FloatHandler.java, 32889 gnu/java/beans/decoder/GrowableArrayContext.java, 32890 gnu/java/beans/decoder/IndexContext.java, 32891 gnu/java/beans/decoder/IntHandler.java, 32892 gnu/java/beans/decoder/JavaHandler.java, 32893 gnu/java/beans/decoder/LongHandler.java, 32894 gnu/java/beans/decoder/MethodContext.java, 32895 gnu/java/beans/decoder/MethodFinder.java, 32896 gnu/java/beans/decoder/NullHandler.java, 32897 gnu/java/beans/decoder/ObjectContext.java, 32898 gnu/java/beans/decoder/ObjectHandler.java, 32899 gnu/java/beans/decoder/PersistenceParser.java, 32900 gnu/java/beans/decoder/PropertyContext.java, 32901 gnu/java/beans/decoder/ShortHandler.java, 32902 gnu/java/beans/decoder/SimpleHandler.java, 32903 gnu/java/beans/decoder/StaticMethodContext.java, 32904 gnu/java/beans/decoder/StringHandler.java, 32905 gnu/java/beans/decoder/VoidHandler.java: New class 32906 implementing java.beans.XMLDecoder decoding functionality. 32907 * java/beans/XMLDecoder.java: New class. 32908 329092005-01-02 Mark Wielaard <mark@klomp.org> 32910 32911 * acinclude.m4 (REGEN_WITH_JAY): New macro. 32912 * configure.ac: Call REGEN_WITH_JAY. 32913 * lib/Makefile.am (gen-xpath-parser): New rule, depends on 32914 REGEN_PARSER being defined. 32915 (genclasses): Depend on gen-xpath-parser. 32916 329172005-01-02 Archie Cobbs <archie@dellroad.org> 32918 32919 * vm/reference/java/lang/VMThread.java (sleep()): revert behavior 32920 of sleep(0,0) to previous, where we check for InterruptedException. 32921 329222005-01-02 Mark Wielaard <mark@klomp.org> 32923 32924 * ChangeLog.gnujaxp.1: New (historic) ChangeLog file. 32925 * ChangeLog.gnujaxp.2: Likewise. 32926 * ChangeLog.libxmlj: Likewise. 32927 * Makefile.am (EXTRA_DIST): List new ChangeLog files. 32928 * INSTALL: Add libxml2 and libxslt requirements for --enable-xmlj. 32929 * doc/README.jaxp: New file. 32930 * doc/Makefile.am (EXTRA_DIST): List new README.jaxp 32931 * native/jni/xmlj/BUGS: New file. 32932 * native/jni/xmlj/Makefile.am (EXTRA_DIST): List new BUGS file. 32933 329342005-01-02 Mark Wielaard <mark@klomp.org> 32935 32936 * lib/gen-classlist.sh.in: Use test -ef and echo top_srcdir and 32937 top_builddir locations. 32938 329392005-01-02 Mark Wielaard <mark@klomp.org> 32940 32941 * configure.ac: Fix pkg checks for libxml-2.0 and libxslt. 32942 * native/jni/xmlj/Makefile.am (AM_CFLAGS): Add STRICT_WARNING_CFLAGS 32943 but disable ERROR_CFLAGS. 32944 * native/jni/xmlj/xmlj_dom.c: Add __attribute__ ((__unused__)) where 32945 obvious. 32946 * native/jni/xmlj/xmlj_sax.c: Likewise. 32947 * native/jni/xmlj/xmlj_transform.c: Likewise. 32948 * native/jni/xmlj/xmlj_xpath.c: Likewise. 32949 329502005-01-02 Michael Koch <konqueror@gmx.de> 32951 32952 * javax/swing/text/AbstractDocument.java 32953 (AbstractElement.getLength): Fixed off-by-one error. 32954 (AbstractElement.children): Made abstract. 32955 (AbstractElement.getAllowsChildren): Likewise. 32956 (AbstractElement.getElement): Likewise. 32957 (AbstractElement.dumpElement): New private method. 32958 (AbstractElement.dump): New method. 32959 (BranchElememt.getName): Fixed implementation. 32960 (BranchElememt.toString): Likewise. 32961 (BranchElememt.getElement): Fixed arguments. 32962 (LeafElement.getName): Fixed implementation. 32963 (LeafElement.toString): Likewise. 32964 * javax/swing/text/GapContent.java 32965 (GapContent): Put default content into buffer. 32966 * javax/swing/text/PlainDocument.java 32967 (reindex): Use empty attribute sets instead of null. 32968 (createDefaultRoot): Reimplemented. 32969 (insertUpdate): Call super method. 32970 (removeUpdate): Likewise. 32971 (getParagraphElement): Implemented. 32972 329732005-01-02 Tom Tromey <tromey@redhat.com> 32974 32975 * java/io/PrintStream.java: Implement Appendable. 32976 (PrintStream(String)): New constructor. 32977 (PrintStream(String,String)): Likewise. 32978 (PrintStream(File)): New constructor. 32979 (PrintStream(File,String)): Likewise. 32980 (append): New methods. 32981 32982 * java/lang/System.java (getenv): Added @since. 32983 32984 * java/lang/System.java (getenv(String)): Rewrote. 32985 (getenv): New method. 32986 * vm/reference/java/lang/VMSystem.java (getenv): New methods. 32987 329882005-01-01 Michael Koch <konqueror@gmx.de> 32989 32990 * javax/swing/DefaultBoundedRangeModel.java 32991 (fireValueChanged): Fixed off-by-one error. 32992