1 2006-08-02 Sven de Marothy <sven@physto.se>
3 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
4 (remove): Force event on removing item 0 when it's selected.
5 (handleEvent): Always call Choice.selected().
6 * java/awt/Choice.java:
7 (remove): Simplify and correct.
9 2006-07-30 Sven de Marothy <sven@physto.se>
11 * java/awt/Choice.java:
12 (accessibleAction): Call select() directly.
13 (add, insert, remove): Reimplement.
14 (dispatchEventImpl): Always call super.
15 (processItemEvent): Does not set the index.
16 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
17 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
19 (nativeAdd): Name changed to add.
20 (selection_changed_cb): Simplify callback.
21 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
22 (selected): New field.
23 (add): Replaced with native impl.
24 (handleEvent): New method.
26 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
28 Port to hosts whose 'sort' and 'tail' implementations
29 treat operands with leading '+' as file names, as POSIX
30 has required since 2001. However, make sure the code still
31 works on pre-POSIX hosts.
32 * libjava/classpath/ltmain.sh: Don't assume "sort +2" is
33 equivalent to "sort -k 3", since POSIX 1003.1-2001 no longer
35 This uses the same fix that is already in
36 libjava/libltdl/ltmain.sh.
38 2006-07-04 Peter O'Gorman <peter@pogma.com>
40 * ltconfig: chmod 644 before ranlib during install.
42 2006-08-09 Mark Wielaard <mark@klomp.org>
44 * configure.ac (VERSION): Set to 0.92.
45 * NEWS: Add updates for 0.92 release.
47 2006-08-08 Roman Kennke <kennke@aicas.com>
50 * javax/swing/plaf/basic/BasicMenuBarUI.java
51 (getActionMap): Store ActionMap in MenuBar.actionMap, rather
53 * javax/swing/plaf/basic/BasicTreeUI.java
54 (action): Removed obsolete field.
55 (uninstallKeyboardActions): Removed action field handling.
56 (installKeyboardActions): Removed action field handling.
57 (createDefaultActions): Don't install removed TreeAction.
58 (TreeAction): Removed obsolete inner class.
59 (ActionListenerProxy): Removed obsolete inner class.
60 (MouseHandler.mousePressed): Request focus on JTree component
63 2006-08-08 Roman Kennke <kennke@aicas.com>
65 * javax/swing/plaf/basic/BasicListUI.java
66 (MouseInputHandler.mousePressed): Request focus on list
69 2006-08-08 Roman Kennke <kennke@aicas.com>
71 * javax/swing/plaf/basic/BasicTableUI.java
72 (MouseInputHandler.mousePressed): Request focus on list
75 2006-08-08 Roman Kennke <kennke@aicas.com>
77 * javax/swing/plaf/basic/BasicTextUI.java
78 (damageRange(JTextComponent,int,int)): Call damageRange() with
79 correct biases, rather than null.
80 (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
81 to use simpler modelToView() approach without much special
82 casing. This seems not worth the effort and actually
83 caused problems. Added locking of the document.
84 * javax/swing/text/BoxView.java
85 (requirementsValid): New field.
86 (calculateMajorAxisRequirements): Rewritten without using
87 SizeRequirements. The SizeRequirements algorithms are slightly
88 different and too inefficient.
89 (calculateMinorAxisRequirements): Rewritten without using
90 SizeRequirements. The SizeRequirements algorithms are slightly
91 different and too inefficient.
92 (getAlignment): Simply return the alignment of the cached
94 (getMaximumSpan): Add insets.
95 (getMinimumSpan): Add insets.
96 (getPreferredSpan): Add insets.
97 (layoutMajorAxis): Rewritten without using
98 SizeRequirements. The SizeRequirements algorithms are slightly
99 different and too inefficient.
100 (layoutMinorAxis): Rewritten without using
101 SizeRequirements. The SizeRequirements algorithms are slightly
102 different and too inefficient.
103 (modelToView): Call setSize() rather than layout().
104 (paint): Check clip for more efficient painting.
105 (preferenceChanged): Invalidate requirements here.
106 (replace): Invalidate requirements here.
107 (updateRequirements): Update requirements only when requirements
109 * javax/swing/text/CompositeView.java
110 (modelToView): Added some more checks and handling of corner cases.
111 * javax/swing/text/FlowView.java
112 (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
113 span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
114 * javax/swing/text/IconView.java
115 (getAlignment): Implemented to return 1.0 for vertical alignment.
116 * javax/swing/text/ParagraphView.java
117 (Row.getMaximumSpan): Implemented to let Rows span the whole
119 (getAlignment): Fixed horizontal alignment and vertical alignment
120 for empty paragraphs to be 0.5.
122 2006-08-08 Roman Kennke <kennke@aicas.com>
124 * javax/swing/text/View.java
125 (modelToView): Added special handling for corner case at the end
126 of the view and for multiline views.
128 2006-08-08 Roman Kennke <kennke@aicas.com>
130 * javax/swing/plaf/basic/BasicTextUI.java
131 (modelToView): Read-lock the document. Set size of the
132 root view before fetching the model-to-view mapping.
133 (getViewIndex): Check of the position is inside the range and
134 return -1 if this is not the case.
135 (getViewAtPosition(int,Rectangle): Update child allocation for valid
137 (getViewIndexAtPosition(int)): Delegate the index search to
138 the element since we have a 1:1 mapping between elements and
140 * javax/swing/text/DefaultCaret.java
141 (appear): Ignore BadLocationException.
142 (paint): Ignore BadLocationException.
143 * javax/swing/text/FlowView.java
144 (changedUpdate): Also notify the layoutPool view.
145 (removeUpdate): Also notify the layoutPool view.
146 * javax/swing/text/ParagraphView.java
147 (Row.getViewIndexAtPosition): Overridden to search linearily
148 through the view instead of relying on a 1:1 model to view
150 * javax/swing/text/View.java
151 (removeUpdate): Clear ElementChange object if updateChildren
153 (forwardUpdate): Special handle some boundary cases.
155 2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
157 * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
158 (hasInheritedParameters): New method.
159 (equals): Updated documentation.
160 Take into consideration the outcome of hasInheritedParameters invocation.
161 (toString): Call hasInheritedParameters and adjust the result accordingly.
162 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
163 Updated documentation.
164 Handle case of public keys with null p, q, and g MPIs.
165 (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
167 2006-08-07 Tom Tromey <tromey@redhat.com>
170 * java/nio/channels/SelectionKey.java (attach): Now synchronized.
171 (attachment): Likewise.
172 * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
175 * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
177 (interestOps): Synchronize.
178 (readyOps): Likewise.
179 * gnu/java/nio/SelectorImpl.java (register): Synchronize around
182 2006-08-07 C. Scott Marshall <csm@gnu.org>
185 * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
186 the mark has been set.
187 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
188 (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
191 2006-08-07 Sven de Marothy <sven@physto.se>
193 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
194 (drawGlyphVector): Synchronize against font object when drawing.
195 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
196 (nativeDrawGlyphVector): Use pango locking when drawing.
197 (install_font_peer): Use pango locking when creating the cairo face.
199 2006-08-06 Roman Kennke <kennke@aicas.com>
202 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
203 (getPreferredSize): Renamed method to preferredSize(). That's
204 the one that gets called from java.awt.*.
205 * java/awt/peer/ComponentPeer.java
206 (getPreferredSize): Added specnote about this method never
207 beeing called in the RI.
208 (getMinimumSize): Added specnote about this method never
209 beeing called in the RI.
211 2006-08-06 Sven de Marothy <sven@physto.se>
213 * gnu/java/awt/peer/gtk/ComponentGraphics.java
214 (grab, nativeGrab): New methods.
215 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
217 (nativeGrab): New method.
218 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
220 * java/awt/Component.java
221 (printAll): Should call peer print method.
223 2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
225 * java/net/URL.java (getContent(Class[])): Implement.
227 2006-08-06 Mark Wielaard <mark@klomp.org>
230 Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
231 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
233 * gnu/xml/transform/ForEachNode.java (clone): Check whether
236 2006-08-06 Roman Kennke <kennke@aicas.com>
238 * NEWS: Added note about the X peers.
239 * INSTALL: Added install notes about the X peers.
241 2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
242 Paul Jenner <psj@harker.dyndns.org>
244 * README: Update bug, patches and cvs instructions plus new URLs of
245 various external projects.
247 2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
249 * configure.ac (MOZILLA_FOUND): Fall back to
250 mozilla-firefox-plugin.
252 2006-08-06 Mario Torre <neugens@limasoftware.net>
254 Reported by Raif S. Naffah <raif@swiftdsl.com.au>
255 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
256 g_type_init earlier in function to correctly initialize the
257 type system used by the backend.
259 2006-08-05 Robert Schuster <robertschuster@fsfe.org>
261 Reported by Henrik Gulbrandsen <henrik@gulbra.net>
263 * gnu/xml/dom/DomIterator.java:
264 (successor): Added if-statement.
266 2006-08-03 Roman Kennke <kennke@aicas.com>
269 * javax/swing/plaf/basic/BasicListUI.java
270 (paintCell): Pass row index to cell renderer.
271 * javax/swing/plaf/basic/MetalFileChooserUI.java
272 (DirectoryComboBoxRenderer.indentIcon): New field.
273 (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
274 Initialize indentIcon.
275 (DirectoryComboBoxRenderer.getListCellRendererComponent):
276 Fall back to super and removed standard functionality.
278 (IndentIcon): New class. Wraps and indents another icon.
280 2006-08-03 Roman Kennke <kennke@aicas.com>
283 * javax/swing/JComboBox.java
284 (setSelectedItem): Fire ActionEvent here.
285 * javax/swing/plaf/basic/BasicDirectoryModel.java
286 (directories): Changed to type Vector.
288 (loadThread): New field.
289 (DirectoryLoadThread): New inner class. This loads the contents
290 of directories asynchronously.
291 (getDirectories): Return cached Vector.
292 (getFiles): Return cached Vector.
293 (getSize): Return plain size of contents Vector.
294 (propertyChange): Reread directory also for DIRECTORY_CHANGED,
295 FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
296 (sort): Don't store sorted list in contents. This must be done
297 asynchronously from the EventThread.
298 (validateFileCache): Rewritten for asynchronous reading
299 of directory contents.
300 * javax/swing/plaf/basic/BasicFileChooserUI.java
301 (installListeners): Install model as PropertyChangeListener.
302 (uninstallListeners): Uninstall model as PropertyChangeListener.
303 (createPropertyChangeListener): Return null just like the
306 2006-08-03 Roman Kennke <kennke@aicas.com>
309 * javax/swing/plaf/basic/BasicChooserUI.java
310 (BasicFileView.getName): Fetch the real name from the
311 file chooser's FileSystemView.
312 * javax/swing/plaf/metal/MetalChooserUI.java
313 (DirectoryComboBoxRenderer.getListCellRendererComponent):
314 Set the text fetched from the JFileChooser.getName().
315 * javax/swing/FileSystemView.java
316 (createFileObject): When file is a filesystem root,
317 create a filesystem root object first.
318 (getSystemDisplayName): Return the filename. Added specnote
319 about ShellFolder class that is mentioned in the spec.
320 * javax/swing/UnixFileSystemView.java
321 (getSystemDisplayName): Implemented to return the real name
322 of a file, special handling files like '.' or '..'.
324 2006-08-03 Roman Kennke <kennke@aicas.com>
327 * javax/swing/plaf/basic/BasicOptionPaneUI.java
328 (PropertyChangeHandler.propertyChange): Cleanly reinstall
329 components when visual property chanegs.
331 2006-08-03 Roman Kennke <kennke@aicas.com>
334 * javax/swing/plaf/basic/BasicOptionPaneUI.java
335 (PropertyChangeHandler.propertyChange): Uninstall and reinstall
336 component when visual properties change.
338 2006-08-03 Roman Kennke <kennke@aicas.com>
341 * javax/swing/JTree.java
342 (JTree(TreeModel)): Set cell renderer to null.
343 * javax/swing/plaf/basic/BasicTreeUI.java
344 (setCellRenderer): Finish editing before setting the
345 cell renderer. Refresh the layout. Don't set the
346 currentCellRenderer field here (that's done in updateRenderer).
347 (updateRenderer): Handle createdRenderer field here too.
348 Set renderer to a default handler when the current renderer
349 in the JTree is null.
351 2006-08-03 Mark Wielaard <mark@klomp.org>
353 * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
355 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
357 * scripts/import-cacerts.sh: Batch CA certificates import script.
359 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
362 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
363 (encodePrivateKey): Updated documentation to clarify that RFC-2459
364 states that the parameters field of the AlgorithmIdentifier element
365 MUST be NULL if present. Amended the code to reflect the specs.
366 (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
368 2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
371 * java/security/SecureRandom.java (next): Call nextBytes as per specs.
373 2006-08-03 Thomas Fitzsimmons <fitzsim@redhat.com>
375 * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
377 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
379 * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
381 * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
384 2006-08-03 Thomas Fitzsimmons <fitzsim@redhat.com>
386 * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
389 2006-08-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
391 * examples/gnu/classpath/examples/management/TestBeans.java:
393 * javax/management/MBeanAttributeInfo.java:
394 (toString()): Implemented.
395 * javax/management/MBeanConstructorInfo.java:
396 (toString()): Implemented.
397 * javax/management/MBeanFeatureInfo.java:
398 (toString()): Implemented.
399 * javax/management/MBeanInfo.java:
400 (toString()): Implemented.
401 * javax/management/MBeanNotificationInfo.java:
402 (toString()): Implemented.
403 * javax/management/MBeanOperationInfo.java:
404 (toString()): Implemented.
405 * javax/management/MBeanParameterInfo.java:
406 (toString()): Implemented.
407 * javax/management/StandardMBean.java:
408 (getMBeanInfo()): Fix attribute naming.
410 2006-08-02 Mark Wielaard <mark@klomp.org>
413 * configure.ac (gconf-peer): Check for gdk-2.0.
414 * native/jni/gconf-peer/Makefile.am
415 (AM_LDFLAGS): Use GDK_LIBS.
416 (AM_CFLAGS): Use GDK_CFLAGS.
418 2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
420 * java/security/Provider.java: Updated copyright year.
421 Updated documentation.
423 (put): Updated documentation.
424 Added security manager check.
425 Canonicalize the key before adding its mapping.
426 (get): Override superclass implementation to use canonicalized keys.
427 (remove): Updated documentation.
428 Added security manager check.
429 Canonicalize the key before removing its mapping.
430 (clear): Updated documentation.
431 Added security manager check.
432 (toCanonicalKey): New method.
434 2006-07-30 Matt Wringe <mwringe@redhat.com>
436 * gnu/java/security/Engine.java
437 (getInstance): Ignore self referencing aliases.
439 2006-07-30 Mark Wielaard <mark@klomp.org>
441 * resource/java/security/classpath.security: Add /dev/urandom as
442 default securerandom.source.
444 2006-07-30 Mark Wielaard <mark@klomp.org>
446 * java/util/GregorianCalendar.java (maximums): Months can have up to
448 (nonLeniencyCheck): weeks is either 5 or 6.
450 2006-07-29 Mark Wielaard <mark@klomp.org>
452 * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
453 static field isPaintingDoubleBuffered to not have the same name
456 2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
458 * gnu/java/lang/management/BeanImpl.java:
459 Extended javax.management.StandardMBean.
460 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
461 * gnu/java/lang/management/CompilationMXBeanImpl.java,
462 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
463 * gnu/java/lang/management/MemoryMXBeanImpl.java,
464 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
465 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
466 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
467 * gnu/java/lang/management/RuntimeMXBeanImpl.java,
468 * gnu/java/lang/management/ThreadMXBeanImpl.java:
469 Call the superclass with the appropriate class.
470 * java/lang/management/ManagementFactory.java:
471 (getOperatingSystemMXBean()): Catch exception from
473 (getRuntimeMXBean()): Likewise.
474 (getClassLoadingMXBean()): Likewise.
475 (getThreadMXBean()): Likewise.
476 (getMemoryMXBean()): Likewise.
477 (getCompilationMXBean()): Likewise.
478 (getMemoryPoolMXBeans()): Likewise.
479 (getMemoryManagerMXBeans()): Likewise.
480 (getGarbageCollectorMXBeans()): Likewise.
481 * javax/management/MBeanFeatureInfo.java:
482 (hashCode()): Fixed to check for null values.
484 2006-07-29 Matt Wringe <mwringe@redhat.com>
486 * gnu/java/security/Engine.java
487 (getInstance): Add case insentivity to algorithm names
488 * java/security/Provider.java
489 (put): Stop using canonical key naming
491 (toCanonicalKey): Method removed
492 (get): Method removed, no longer needs to overwrite
493 parent implementation
495 2006-07-29 Sven de Marothy <sven@physto.se>
497 * java/math/BigDecimal.java
498 Adjust copyright date.
499 (divide(BigDecimal): Implement.
500 (precision): Reimplement.
501 (numDigitsInBigInteger, numDigitsInLong): Removed.
502 (toString): Get exponent from string length,
503 fix negative values with exponential form.
504 (toEngineeringString): Same as for toString.
505 (setScale): Throw ArithmeticException if scale < 0.
507 2006-07-27 Francis Kung <fkung@redhat.com>
509 * gnu/java/awt/java2d/CubicSegment.java: Added import.
510 (cp1): Renamed from first().
511 (c2): Renamed from last().
512 (first): Renamed to cp1().
513 (getDisplacedSegments): Implemented.
514 (last): Renamed to cp2().
515 * gnu/java/awt/java2d/LineSegment.java
516 (cp1): Renamed from first().
517 (c2): Renamed from last().
518 (first): Renamed to cp1().
519 (last): Renamed to cp2().
520 * gnu/java/awt/java2d/QuadSegment.java
521 (cp1): Renamed from first().
522 (c2): Renamed from last().
523 (first): Renamed to cp1().
524 (last): Renamed to cp2().
525 * gnu/java/awt/java2d/Segment.java: Added comments.
527 (Segment): Keep track of first element in list.
528 (add): Update first & last element variables.
529 (cp1): Renamed from first().
530 (c2): Renamed from last().
531 (first()): Renamed to cp1() to reduce ambiguity.
532 (last()): Renamed to cp2() to reduce ambiguity.
533 (reverseAll): Update first element variable..
534 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
535 (draw): Remove flattening path iterator.
536 * java/awt/BasicStroke.java: Clarified comments.
537 (addSegments): Refactored some code into joinSegments and
539 (capEnd): Rename of Segment.first() and Segment.end().
540 (joinInnerSegments): New method.
541 (joinOuterSegments): New method.
542 (joinSegments): Refactored some code into joinOuterSegments.
543 (solidStroke): Connect segments together properly.
545 2006-07-27 Tom Tromey <tromey@redhat.com>
548 * java/net/URLStreamHandler.java (equals): Properly handle default
549 port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
551 2006-07-27 Roman Kennke <kennke@aicas.com>
553 * javax/swing/text/AbstractDocument.java
554 (documentCV): Made field private.
555 (bypass): Made field private.
556 (bidiRoot): New field.
557 (AbstractDocument): Initialize bidiRoot.
558 (getBidiRootElement): Return bidiRoot.
559 (getRootElements): Adjusted to also return the bidiRoot element.
560 (BranchElement.startOffset): Removed unneeded field.
561 (BranchElement.endOffset): Removed unneeded field.
562 (BranchElement.BranchElement): Removed unneeded fields.
563 (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
564 done automatically when there's no element left in the array.
565 (BranchElement.getStartOffset): Likewise.
566 (BranchElement.replace): Reordered calculations to avoid double
568 (removeImpl): Silently ignore requests with length <= 0.
569 * javax/swing/text/GapContent.java
570 (createPosition): Removed explicit check for correct offset.
571 This class can deal with offsets outside the document.
572 (shiftEnd): Update all positions, even those outside the
574 (adjustPositionsInRange): Fixed to also adjust positions outside
575 the document boundary.
577 2006-07-18 Kyle Galloway <kgallowa@redhat.com>
579 * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
581 (getParameter): Returns _klass field instead of determining
582 class from _instance.
583 (setCatchLoc): New method.
584 (writeData): Now assumes Location deals with empty locations instead of
586 * gnu/classpath/jdwp/util/Location.java (write): Check for empty
587 locations and write out accordingly.
588 (getEmptyLocation): New method.
590 2006-07-27 Roman Kennke <kennke@aicas.com>
592 * javax/swing/text/SimpleAttributeSet.java
593 (EMPTY): Use EmptyAttributeSet for this field rather than
595 * javax/swing/text/EmptyAttributeSet.java: New class. Implements
596 an empty and immutable AttributeSet.
598 2006-07-27 Roman Kennke <kennke@aicas.com>
600 * java/awt/Component.java
601 (reshape): Invalidate the component itself only when the
602 size has changed. Invalidate the parent always. Fixed
603 repainting. Pulled out the notification into
605 (notifyReshape): New helper method. Notify interested listeners
607 (update): Simply call paint() without clearing the background.
608 This is done in Container.update() if appropriate.
609 (repaint): Delagate the repaint to the nearest heavyweight
610 parent (for lightweights) and send an UPDATE event, rather than
611 calling ComponentPeer.repaint().
612 * java/awt/Container.java
613 (backCleared): Removed field.
614 (paint): Removed handling of backCleared flag.
615 (update): Only paint if the container is actually
616 showing. Removed handling of backCleared flag.
618 2006-07-27 Robert Schuster <robertschuster@fsfe.org>
620 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
622 (NavigateAction): New inner class.
623 (NavigatePageDownAction): New inner class.
624 (NavigatePageUpAction): New inner class.
625 (RequestFocusAction): New inner class.
626 (RequestFocusForVisibleComponentAction): New inner class.
627 (FocusHandler.focusGained): Implemented.
628 (FocusHandler.focusLost): Implemented.
629 (MouseHandler.mouseReleased): Implemented.
630 (MouseHandler.mousePressed): Rewritten.
631 (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
632 currentScrollLocation to 0.
633 (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
634 removed local variables, fixed indentation to stay under 80 column
636 (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
637 one, set selectedIndex to 0 if its negative, corrected start values
638 for normalization, suppressed padding when only one tab run,
639 (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
640 (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
641 80 column limit, corrected the starting value for the bounds fixing
643 (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
644 (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
645 selectedRun, set start index for loop to 0.
646 (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
647 (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
648 (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
649 alignment and visibility handling.
650 (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
652 (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
653 (currentScrollOffset): New field.
654 (tabRuns): Rewritten documentation.
655 (selectedColor): New field.
656 (tempTextRect): New field.
657 (tempIconRect): New field.
658 (scrollTab): New method.
659 (updateButtons): New method.
660 (updateViewPosition): New method.
661 (createLayoutManager): Reordered method calls, predefine new fields,
662 register proper listeners.
663 (uninstallComponents): Implemented.
664 (installDefaults): Corrected property names, fixed indentation,.
665 (uninstallDefaults): Set new fields to null.
666 (uninstallListeners): Remove listeners from components neccessary for
667 scrolling tab layout.
668 (installKeyboardActions): Implemented.
669 (uninstallKeyboardActions): Implemented.
670 (paint): Paint tab area background.
671 (paintTabArea): Fixed indentation, removed usage of local Rectangle
673 (getTabLabelShiftX): Rewritten.
674 (getTabLabelShiftY): Rewritten.
675 (paintFocusIndicator): Reindented.
676 (paintTabBorder): Rewritten.
677 (paintTabBackground): Corrected color usage, rewritten background
679 (paintContentBorderTopEdge): Rewritten.
680 (paintContentBorderBottomEdge): Rewritten.
681 (paintContentBorderLeftEdge): Rewritten.
682 (paintContentBorderRightEdge): Rewritten.
683 (tabForCoordinate): Return selected index when no tab could be
684 found, removed FIXME note.
685 (getRunForTab): Changed return value for first if-statement.
686 (navigateSelectedTab): Fixed last argument for both
687 getTabRunOffset() calls.
688 (selectedNextTabInRun): Added scrolling code.
689 (selectedPreviousTabInRun): Added scrolling code.
690 (selectedNextTab): Added scrolling code.
691 (selectedPreviousTab): Added scrolling code.
692 (selectAdjacentRunTab): Added scrolling code.
693 (getTextViewForTab): Added FIXME note.
694 (calculateTabHeight): Changed FIXME note.
695 (getTabRunOffset): Fixed indentation.
696 (getNextTabIndexInRun): Corrected return value.
697 (rotateInsets): Make TOP case the default in switch-statement.
698 (getActionMap): New method.
699 (createActionMap): New method.
700 * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
701 (createLayoutManager): Rewritten.
702 (paintLeftTabBorder): Do not paint left line when previous tab
703 is selected but current tab is the first in its run, do not paint
704 left line when current tab is selected and is first in its run.
705 (paintRightTabBorder): Added missing setColor() call, fixed color
706 usage, do not paint right line if previous tab is selected but
707 current tab is the first in its run.
708 (paintBottomTabBorder): Do not paint left line if tab is selected
709 and is the first tab in the last run.
710 (paintFocusIndicator): New method.
711 (getLabelShiftX): New method.
712 (getLabelShiftY): New method.
714 2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
716 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
717 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
718 g_assert from unused obj.
719 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
720 obj as unused and remove g_assert on it.
722 2006-07-26 Roman Kennke <kennke@aicas.com>
724 * javax/swing/RepaintManager.java
725 (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
727 (isCompletelyDirty): Consider a component completely dirty
728 when it has a dirty region with Integer.MAX_VALUE.
730 2006-07-26 Roman Kennke <kennke@aicas.com>
732 * java/awt/KeyboardFocusManager.java
733 (getGlobalFocusOwner): Explicitly check for thread security.
734 (getGlobalPermanentFocusOwner): Explicitly check for thread security.
735 (getGlobalFocusedWindow): Explicitly check for thread security.
736 (getGlobalActiveWindow): Explicitly check for thread security.
737 (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
738 (getGlobalObject): Added new argument for specifying if
739 a security check should be performed or not.
740 (setGlobalObject): Don't check for thread security when
741 calling getGlobalObject.
743 2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
745 * javax/management/MBeanConstructorInfo.java:
747 * javax/management/MBeanInfo.java:
748 (MBeanInfo(String,String,MBeanAttributeInfo[],
749 MBeanConstructorInfo[], MBeanOperationInfo[],
750 MBeanNotificationInfo[])): Implemented.
751 (equals(Object)): Likewise.
752 (getAttributes()): Likewise.
753 (getConstructors()): Likewise.
754 (getOperations()): Likewise.
755 (hashCode()): Likewise.
756 * javax/management/MBeanOperationInfo.java,
757 * javax/management/NotCompliantMBeanException.java,
758 * javax/management/StandardMBean.java:
761 2006-07-26 Sven de Marothy <sven@physto.se>
763 * java/awt/geom/GeneralPath.java: Fix severe typo.
765 2006-07-26 Sven de Marothy <sven@physto.se>
767 * include/java_lang_VMSystem.h
768 * vm/reference/java/lang/VMSystem.java
769 * native/jni/java-lang/java_lang_VMSystem.c
770 (nanoTime, currentTimeMillis): Switch the former to native code and
773 2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
775 * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
776 * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
777 * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
778 * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
779 * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
780 * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
781 * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
782 * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
783 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
784 * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
785 * gnu/java/awt/peer/qt/QtImage.java: Likewise.
786 * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
787 * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
788 * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
789 * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
790 * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
791 * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
792 * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
793 * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
794 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
795 * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
797 2006-07-26 Roman Kennke <kennke@aicas.com>
799 * java/awt/KeyboardFocusManager.java
800 (getFocusOwner): Don't check permanent owner.
801 (getGlobalFocusOwner): Don't check permanent owner.
803 2006-07-26 Carsten Neumann <cn-develop@gmx.net>
805 * StrictMath.java (cosh): New method.
807 (EXPM1_Q1): New field.
808 (EXPM1_Q2): Likewise.
809 (EXPM1_Q3): Likewise.
810 (EXPM1_Q4): Likewise.
811 (EXPM1_Q6): Likewise.
813 2006-07-26 Roman Kennke <kennke@aicas.com>
815 * javax/swing/plaf/basic/BasicButtonListener.java
816 (mousePressed): Request focus if appropriate.
817 * javax/swing/text/DefaultCaret.java
818 (mousePressed): Also handle the focus of the text component
819 as specified. Don't consume events.
821 2006-07-26 Roman Kennke <kennke@aicas.com>
823 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
824 (focusRequest): Removed field.
825 (postFocusEvent(int,boolean,Component)): Removed.
826 (postFocusEvent(int,boolean)): Reverted to post event using
827 the heavyweight component.
828 (requestFocus): Post focus event using the heavyweight
830 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
831 (requestFocus): Post focus event using the heavyweight
833 * java/awt/AWTEvent.java
834 (isFocusManagerEvent): New field, indicating if this is
835 an event that is redispatched by the KeyboardFocusManager.
836 * java/awt/Component.java
837 (requestFocusImpl): Register component for
838 heavyweight->lightweight mapping.
839 (dispatchEventImpl): Retarget focus events before dispatching
840 to the KeyboardFocusManager. Use new AWTEvent flag instead
841 of locking hack. Dispatch all events through the
842 KeyboardFocusManager. Don't request focus on lightweight
844 * java/awt/DefaultKeyboardFocusManager.java
845 (dispatchEvent): Pulled out handling of FOCUS_GAINED and
847 (handleFocusGained): Fixed handling of temporary vs permanent
848 focus changes. Added some checks.
849 (handleFocusLost): Fixed handling of temporary vs permanent
850 focus changes. Added some checks.
851 * java/awt/EventDispatchThread.java
852 (run): Don't dispatch to KeyboardFocusManager here. This
853 is done in Component.dispatchEventImpl().
854 * java/awt/KeyboardFocusManager.java
855 (redispatchEvent): Use new AWTEvent flag instead of locking hack.
856 (focusRequests): New field.
857 (retargetFocusEvent): New method. Retargets focus events
858 that come from heavyweights to the correct lightweight component.
859 (addLightweightFocusRequest): New method. Stores a mapping
860 for later retargetting of heavyweight focus events.
861 * java/awt/Window.java
862 (addFocusListener): Removed bogus method. If at all, this
863 should be performed in the KeyboardFocusManager.
864 (Window): Don't install a focus listener on the Window.
866 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
868 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
869 (drawLine): Apply shift to line coordinates.
871 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
873 * java/awt/image/ColorConvertOp.java: Fixed copyright header.
874 (copyimage): Do not call setRenderingHints() when the respective map
876 (filter): Removed code to clone the ColorModel instance.
877 * java/awt/image/ColorModel.java:
878 (cloneColorModel): Removed.
880 2006-07-26 Robert Schuster <robertschuster@fsfe.org>
882 * javax/swing/JTabbedPane.java:
883 (setSelectedIndex): Removed updating of component visibility status,
885 (remove(Component)): Use indexOfComponent() to find whether we have
886 to use super.remove(int) or removeTabAt().
888 2006-07-26 Roman Kennke <kennke@aicas.com>
890 * javax/swing/JOptionPane.java
891 (createDialog): Add property change handler for closing
892 the dialog when the value property changes.
893 (ValuePropertyHandler): New inner helper class.
894 * javax/swing/plaf/basic/BasicOptionPaneUI.java
895 (OptionPaneCloseAction): New class.
896 (messageForeground): Removed field.
897 (messageBorder): Removed field.
898 (buttonBorder): Removed field.
899 (addIcon): Configure the new label.
900 (addMessageComponents): Configure newly created labels.
901 (burstStringInto): Likewise.
902 (createButtonArea): Install border here.
903 (createMessageArea): Install border and foreground here.
904 (createSeparator): Added comment and removed
905 NotImplementedException.
906 (installComponents): Don't install the UI defaults for the
907 message and button area here. This is moved to the
908 corresponding create* methods. Adjusted comment about
910 (installDefaults): Removed initialization of removed fields.
911 (installKeyboardActions): Implemented.
912 (getActionMap): New helper method.
913 (createDefaultActions): New helper method.
914 (uninstallDefaults): Removed de-initialization of removed fields.
915 (uninstallKeyboardActions): Implemented.
916 (configureLabel): New helper method.
917 * javax/swing/plaf/basic/BasicTableUI.java
918 (getActionMap): Fixed the UI property names.
919 * javax/swing/plaf/basic/BasicToolBarUI.java
920 (getActionMap): Fixed the UI property names.
922 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
924 * java/awt/image/BandedSampleModel.java
925 (getDataElements): Check for negative x or y,
926 (getPixels): Likewise,
927 (getSamples): Likewise,
928 (setSamples): Likewise.
930 2006-07-26 Roman Kennke <kennke@aicas.com>
932 * javax/swing/plaf/basic/BasicToolBarUI.java
933 (ToolBarAction): New inner class for handling keyboard
935 (installKeyboardActions): Implemented.
936 (getActionMap): New helper method.
937 (createDefaultActions): New helper method.
938 (installListeners): Install focus listener on toolbar's
939 children, rather than the toolbar itself.
940 (navigateFocusedComp): Implemented.
941 (uninstallKeyboardActions): Implemented.
942 (uninstallListeners): Uninstall focus listener from
943 toolbar's children, rather than the toolbar itself.
944 (ToolBarContListener.componentAdded): Install focus
945 listener on added child.
946 (ToolBarContListener.componentRemoved): Uninstall focus
947 listener from removed child.
948 (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
949 (ToolBarFocusListener.focusGained): Implemented.
950 (ToolBarFocusListener.focusLost): Implemented.
952 2006-07-26 Roman Kennke <kennke@aicas.com>
954 * java/awt/DefaultKeyboardFocusManager.java
955 (dispatchEvent): Notify old focus owner when it has lost
958 2006-07-26 Roman Kennke <kennke@aicas.com>
960 * javax/swing/plaf/basic/BasicTableUI.java
961 (FocusHandler.focusGained): Implemented to refresh the
963 (FocusHandler.focusLost): Implemented to refresh the
965 (FocusHandler.repaintLeadCell): New helper method.
966 (MouseInputHandler.mouseEntered): Do nothing here.
967 (MouseInputHandler.mouseExited): Do nothing here.
968 (MouseInputHandler.mouseMoved): Do nothing here.
969 (installKeyboardActions): Rewritten to use a shared InputMap
970 and ActionMap and correctly install the maps via SwingUtilities
972 (getActionMap): New helper method.
973 (createDefaultActions): New helper method.
974 (ActionListenerProxy): Removed unneeded class.
975 (TableAction): Made class static.
976 (TableAction.actionPerformed): Determine table by fetching
977 the event source. Pass the table to helper methods.
978 Use __command__ hack to determine the action command.
979 (TableAction.getFirstVisibleColumnIndex): Get table as argument.
980 (TableAction.getLastVisibleColumnIndex): Get table as argument.
981 (TableAction.getFirstVisibleRowIndex): Get table as argument.
982 (TableAction.getLastVisibleRowIndex): Get table as argument.
983 (TableAction.advanceMultipleSelection): Get table as argument.
984 (uninstallDefaults): Do nothing here.
985 (uninstallKeyboardActions): Uninstall the keyboard actions.
987 2006-07-26 Roman Kennke <kennke@aicas.com>
989 * javax/swing/JComponent.java
990 (processKeyBinding): Store the action command as property
991 in the Action instance that we call. This allows for
992 improvement on the side of the Action.
994 2006-07-26 Roman Kennke <kennke@aicas.com>
996 * javax/swing/plaf/metal/MetalUtils.java
997 (fillMetalPattern): Use fillRect() instead of drawLine() to
1000 2006-07-26 Roman Kennke <kennke@aicas.com>
1002 * javax/swing/text/GapContent.java
1003 (getChars): Check for negative length and throw
1004 BadLocationException.
1006 2006-07-26 Roman Kennke <kennke@aicas.com>
1008 * javax/swing/plaf/basic/BasicMenuBarUI.java
1009 (FocusAction): Made class static.
1011 2006-07-26 Roman Kennke <kennke@aicas.com>
1013 * javax/swing/plaf/basic/BasicLookAndFeel.java
1014 (initComponentDefaults): Add keyboard bindings for
1017 2006-07-26 Roman Kennke <kennke@aicas.com>
1019 * javax/swing/UIManager.java
1020 (getLookAndFeelDefaults): Return the look and feel defaults.
1021 (setLookAndFeel): Improved exception messsage.
1023 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
1025 * javax/swing/text/StringContent.java
1026 (StringContent): Changed initialLength to 10.
1028 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
1030 * java/util/Vector.java: Fixed API doc typo.
1032 2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
1034 * java/awt/image/BandedSampleModel.java
1035 (createCompatibleSampleModel): Fixed typo in loop increment, set
1036 correct scanlineStride, and updated API docs.
1038 2006-07-25 Roman Kennke <kennke@aicas.com>
1040 * javax/swing/plaf/basic/BasicPopupMenuUI.java
1041 (NavigateAction): New inner class. This is responsible for
1042 keyboard navigation through menus.
1043 (KeyboardHelper): New inner class. This manages the
1044 keyboard mappings and focus when a popup opens or closes.
1045 (keyboardHelper): New static field.
1046 (numPopups): New static field.
1047 (installUI): Create KeyboardHelper for first popup.
1048 Call installKeyboardActions().
1049 (installKeyboardActions): Removed NotImplementedException.
1050 This method is a no-op.
1051 (installKeyboardActionsImpl): New method. Installs keyboard
1052 mapping when a popup is opened.
1053 (getActionMap): New helper method.
1054 (createDefaultActions): New helper method.
1055 (uninstallUI): Uninstall KeyboardHelper when last Popup is
1056 uninstalled. Call uninstallKeyboardActions().
1057 (uninstallKeyboardActions): Removed NotImplementedException.
1058 This method is a no-op.
1059 (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
1060 mapping when a popup is closed.
1062 2006-07-25 Roman Kennke <kennke@aicas.com>
1064 * java/awt/Component.java
1065 (requestFocus()): Reimplemented to use requestFocusImpl().
1066 (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
1067 (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
1068 (requestFocusInWindow(boolean)): Reimplemented to use
1070 (requestFocusImpl): Reimplemented focus request to use
1071 new peer method. Also added some obvious additional checks
1072 for rejecting focus requests early.
1073 * java/awt/ComponentPeer.java
1074 (requestFocus(Component,boolean,boolean,long)): Documented
1076 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1077 (requestFocus): New field.
1078 (gtkWidgetHasFocus): New native method.
1079 (gtkWidgetCanFocus): New native method.
1080 (requestFocus): Replaced with assert false to prevent
1081 usage of obsolete method.
1082 (postFocusEvent(int,boolean,Component)): New overloaded method
1083 for posting the focus event to a specific target.
1084 (postFocusEvent(int,boolean)): Post event to requestFocus
1086 (requestFocus(Component,boolean,boolean,long)): Implemented.
1087 (getWindowFor): New helper method.
1088 (isLightweightDescendant): New helper method.
1089 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1090 (gtkWindowHasFocus): New native method.
1091 (requestFocus(Component,boolean,boolean,long)): New method.
1092 Overrides GtkComponentPeer method to specially handly the
1093 case when a Window receives a focus request for a lightweight
1095 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1096 (gtkWidgetHasFocus): New native method.
1097 (gtkWidgetCanFocus): New native method.
1098 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1099 (gtkWindowHasFocus): New native method.
1100 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
1101 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
1104 2006-07-25 Francis Kung <fkung@redhat.com>
1106 * java/awt/DefaultKeyboardFocusManager.java
1107 (dispatchEvent): Add check for valid component.
1109 2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
1111 * javax/management/MBeanConstructorInfo.java:
1113 * javax/management/MBeanNotificationInfo.java:
1115 * javax/management/MBeanParameterInfo.java:
1118 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
1120 * java/awt/peer/gtk/CairoGraphics.java:
1121 (drawLine): Added special case for 1 pixel lines.
1123 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
1126 * java/awt/peer/gtk/CairoGraphics.java:
1127 (drawLine): Removed calls to shifted().
1129 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
1131 * javax/swing/JTabbedPane.java:
1132 (remove(Component)): Rewritten.
1133 (setSelectedIndex): Implemented updating of component visibility state.
1135 2006-07-25 Sven de Marothy <sven@physto.se>
1137 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
1138 (init): Default to the actual depth in the worst case.
1140 * java/awt/Font.java
1141 (createFont(int, File)): New method.
1143 2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
1146 * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
1148 (RETokenEnd): New constructer to set check_java_line_terminators.
1149 (matchThis): Checck line terminators if check_java_line_terminators.
1150 * gnu/java/util/regex/RETokenStart.java: Likewise.
1151 * gnu/regexp/RE.java(initialize): Use the new constructors for
1152 RETokenEnd and RETokenStart if REG_MULTILINE is set.
1153 * java/util/regex/Pattern.java(Patteren): Changed so that
1154 gnu/regexp/RE.java may use the new the new constructors.
1156 2006-07-25 Roman Kennke <kennke@aicas.com>
1158 * java/awt/Container.java
1159 (focusTraversalPolicyProvider): New field.
1160 (isFocusTraversalPolicyProvider): New method.
1161 (setFocusTraversalPolicyProvider): New method.
1162 * java/awt/ContainerOrderFocusTraversalPolicy.java
1163 (getFirstComponent): Use accept() instead of lengthy checks.
1164 Don't fetch getComponents() to avoid copying of array.
1165 Traverse down the hierarchy to find the first focused component.
1166 * java/awt/DefaultKeyboardFocusManager.java
1167 (dispatchEvent): Let the initial component request focus.
1169 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
1171 * javax/swing/text/Segment.java
1172 (last): Update current index before returning DONE for zero count.
1174 2006-07-24 Mark Wielaard <mark@klomp.org>
1176 * javax/swing/tree/TreePath.java (equals): Swap path equals call.
1178 2006-07-25 Roman Kennke <kennke@aicas.com>
1180 * javax/swing/plaf/basic/BasicMenuBarUI.java
1181 (FocusAction): New inner class. Used to grab focus.
1182 (installKeyboardActions): Implemented.
1183 (uninstallKeyboardActions): Implemented.
1184 (getActionMap): New helper method.
1185 (createDefaultActions): New helper method.
1187 2006-07-25 Robert Schuster <robertschuster@fsfe.org>
1189 * examples/gnu/classpath/examples/swing/Demo.java:
1190 (mkMenuBar): Install instantiable basic look and feel.
1191 (InstantiableBasicLookAndFeel): New inner class.
1193 2006-07-25 Roman Kennke <kennke@aicas.com>
1195 * javax/swing/plaf/basic/BasicInternalFrameUI.java
1196 (GlassPaneDispatcher.dragTarget): New field.
1197 (GlassPaneDispatcher.isDragging): New field.
1198 (GlassPaneDispatcher.pressedComponent): Removed field.
1199 (GlassPaneDispatcher.tempComponent): Removed field.
1200 (GlassPaneDispatcher.pressCount): Removed field.
1201 (GlassPaneDispatcher.mousePressed): Call
1202 borderListener.mousePressed() to activate the frame.
1203 (acquireComponentForMouseEvent): Removed method.
1204 (handleEvent): Rewritten.
1205 (redispatch): New method.
1206 (InternalFramePropertyChangeListener.propertyChange):
1207 Make glasspane invisible when frame is selected, and visible
1208 if it gets deselected.
1210 2006-07-25 Roman Kennke <kennke@aicas.com>
1212 * java/awt/LightweightDispatcher.java
1213 (handleMouseEvent): Dispatch event to real target if
1214 the dragTarget has become invisible in the meantime.
1216 2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
1218 * javax/swing/text/TabSet.java
1219 (equals): New method override for 1.5,
1220 (hashCode): Likewise,
1221 (toString): Added spaces to match reference implementation.
1223 2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1225 * javax/management/IntrospectionException.java,
1226 * javax/management/MBeanAttributeInfo.java:
1228 * javax/management/MBeanNotificationInfo.java:
1229 Documentation cleanups.
1231 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
1233 * javax/swing/text/TabSet.java
1234 (TabSet): Check for null argument,
1235 (getTab): Throw IllegalArgumentException for index out of bounds,
1236 (getTabIndexAfter): Changed test to '<=',
1237 and updated API docs all over,
1238 * javax/swing/text/TabStop.java: Updated API docs.
1240 2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
1242 * javax/swing/text/TabStop.java
1243 (toString): Don't use 'left ' prefix, and added space between tab
1244 location and '(w/leader)' suffix.
1246 2006-07-24 Francis Kung <fkung@redhat.com>
1248 * javax/swing/JComboBox.java
1249 (DefaultKeySelectionManager): Implemented.
1250 (createDefaultKeySelectionManager): Implemented.
1251 (getKeySelectionManager): Implemented.
1252 (processKeyEvent): Removed duplicate code.
1253 * javax/swing/JPopupMenu.java
1254 (selectionModel): Changed visibility.
1255 * javax/swing/plaf/basic/BasicComboBoxUI.java
1256 (KeyHandler.keyPressed): Added navigation keys.
1257 (configureEditor): Add key listener.
1258 (installListeners): Install focus listener to combo box.
1259 (isNavigationKey): Added enter, escape, and tab.
1260 (selectPreviousPossibleValue): Added out of bounds check.
1261 (unconfigureEditor): Remove key listener.
1262 * javax/swing/plaf/metal/MetalComboBoxButton.java
1263 (paintComponent): Highlight combo box when in focus.
1265 2006-07-24 Roman Kennke <kennke@aicas.com>
1267 * javax/swing/SwingUtilities.java
1268 (isLeftMouseButton): Fixed condition.
1269 * java/awt/LightweightDispatcher.java
1270 (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
1273 2006-07-24 Roman Kennke <kennke@aicas.com>
1275 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1276 (setPaint): Fixed scaleX and scaleY.
1278 2006-07-24 Roman Kennke <kennke@aicas.com>
1280 * javax/swing/JTable.java
1281 (handleInsert): Repaint the whole table for variable row
1282 height tables and an optimized region otherwise.
1283 (handleDelete): Likewise.
1284 (handleUpdate): Likewise.
1286 2006-07-24 Mario Torre <neugens@limasoftware.net>
1288 * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
1289 now explicity registerListeners on GtkMouseDragGestureRecognizer
1291 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
1292 (unregisterListeners): new method, overrided from base class
1293 to rise visibility (from protected to public).
1294 (registerListeners): Likewise.
1295 (GtkMouseDragGestureRecognizer): fixed potential threading issue:
1296 removed call to registerListeners from the constructor.
1298 2006-07-23 Mark Wielaard <mark@klomp.org>
1300 * configure.ac: Check for moc and moc-qt4.
1302 2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
1304 * java/awt/image/Kernel.java: API doc updates.
1306 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
1308 * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
1311 2006-07-22 Mark Wielaard <mark@klomp.org>
1313 * java/lang/Iterable.java: Import all of java.util.
1314 * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
1315 * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
1317 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1319 * doc/vmintegration.texinfo:
1320 Document getType(String).
1321 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
1322 * java/lang/management/MemoryPoolMXBean.java:
1323 (getType()): Implemented.
1324 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
1325 (getType(String)): Implemented.
1327 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1329 * doc/vmintegration.texinfo:
1330 Move end of itemization block.
1332 2006-07-22 Robert Schuster <robertschuster@fsfe.org>
1334 * javax/swing/plaf/metal/MetalLookAndFeel.java:
1335 (initComponentDefaults): Added new properties, added comments.
1337 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1339 * doc/vmintegration.texinfo:
1340 Mention callback methods.
1341 * gnu/java/lang/management/MemoryMXBeanImpl.java:
1342 (fireNotification(String,String,long,long,long,long,long)):
1343 Made package-private.
1344 (fireThresholdExceededNotification(String,long,long,long,
1345 long,long)): Likewise.
1346 (fireCollectionThresholdExceededNotification(String,long,
1347 long,long,long,long)): Likewise.
1348 * java/lang/management/MemoryMXBean.java:
1349 Document notifications.
1351 2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
1353 * gnu/java/lang/management/MemoryMXBeanImpl.java:
1354 (fireNotification(String,String,long,long,long,long,long)):
1356 (fireThresholdExceededNotification(String,long,long,long,
1357 long,long)): Likewise.
1358 (fireCollectionThresholdExceededNotification(String,long,
1359 long,long,long,long)): Likewise.
1360 * java/lang/management/MemoryNotificationInfo.java:
1361 Use composite type from MemoryMXBeanImpl.
1362 * javax/management/openmbean/CompositeData.java:
1363 Correct documentation.
1364 * javax/management/openmbean/CompositeDataSupport.java,
1365 * javax/management/openmbean/InvalidKeyException.java:
1368 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
1370 * gnu/java/security/util/IntegerUtil.java: New file.
1372 2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
1375 * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
1376 (KEY_SIZE): Likewise.
1377 (adjustParity(int,byte[],int): New method.
1378 (adjustParity(byte[],int): Call above method with 3 as 1st argument.
1379 (isParityAdjusted(int,byte[],int)): New method.
1380 (isParityAdjusted): Call above method with 3 as 1st argument.
1381 (keySizes): Add 8 and 16 as other valid key sizes.
1382 (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
1384 2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
1386 * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
1387 code for the pixel swap routine to be more efficient.
1389 2006-07-20 Lillian Angel <langel@redhat.com>
1391 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
1392 Removed unused fields.
1393 (GtkMouseDragGestureRecognizer): Removed initializations.
1395 2006-07-20 Lillian Angel <langel@redhat.com>
1397 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
1398 (GtkMouseDragGestureRecognizer): New constructor.
1399 (GtkMouseDragGestureRecognizer): New constructor.
1400 (GtkMouseDragGestureRecognizer): New constructor.
1401 (mouseClicked): Removed FIXME.
1402 (mousePressed): Implemented.
1403 (mouseReleased): Implemented.
1404 (mouseEntered): Implemented.
1405 (mouseDragged): Implemented to check mouse point and trigger origin.
1406 (mouseMoved): Removed FIXME.
1407 (getDropActionFromEvent): New helper function used to convert mouse event
1408 modifiers to a drop action.
1409 * java/awt/dnd/DragSource.java
1410 (getDragThreshold): Changed to return some arbitrary value for testing
1413 2006-07-20 Roman Kennke <kennke@aicas.com>
1415 * java/awt/LightweightDispatcher.java
1416 (findTarget): Also consider components that have their eventMask
1417 set, for compatibility with stonage AWT. Optimized check
1419 (handleMouseEvent): Likewise.
1421 2006-07-20 Roman Kennke <kennke@aicas.com>
1423 * javax/swing/JTable.java
1424 (tableChanged): Split out handling of the event into multiple
1426 (handleCompleteChange): New method. Clear the selection and
1427 check the lead/anchor indices.
1428 (handleInsert): New method. Check the lead/anchor indices.
1429 Optimized repainting.
1430 (handleDelete): New method. Check the lead/anchor indices.
1431 Optimized repainting.
1432 (handleUpdate): New method. Optimized repainting.
1433 (checkSelection): New helper method.
1434 (setSelectionModel): Update lead/anchor indices.
1436 2006-07-20 Lillian Angel <langel@redhat.com>
1439 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1440 (dispose): Reset all fields.
1442 2006-07-20 Roman Kennke <kennke@aicas.com>
1444 * gnu/java/awt/peer/x/XToolkit.java
1445 (createImage(InputStream)): Only copy image to Pixmap if
1446 it's actually opaque. Transparent images are left as
1447 BufferedImage and composited later onto the screen.
1448 * gnu/java/awt/peer/x/XGraphics.java
1449 (XGraphics): Fetch some parameters for image rendering.
1450 (drawImage): Added special handling of transparent images.
1451 (getRGB): New helper method.
1452 (setRGB): New helper method.
1454 2006-07-20 Roman Kennke <kennke@aicas.com>
1456 * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
1457 ImageInputStreams as normal InputStreams.
1458 * gnu/javax/imageio/gif/GIFStream.java:
1459 Moved to gnu/javax/imageio/IIOInputStream.java.
1460 * gnu/javax/imageio/gif/GIFImageReader.java
1461 (readImage): Use IIOInputStream.
1462 * gnu/javax/imageio/gif/GIFImageReaderSpi.java
1463 (canDecodeInput): Use IIOInputStream.
1464 * gnu/javax/imageio/png/PNGException.java: Make subclass
1466 * gnu/javax/imageio/png/PNGImageReader.java: New class.
1467 Implements the ImageIO ImageReader for PNG.
1468 * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
1469 Implements the ImageIO ImageReaderSpi for PNG.
1470 * javax/imageio/spi/IIORegistry.java:
1471 (IIORegistry): Add PNGImageReaderSpi.
1473 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
1475 * java/awt/image/ComponentSampleModel.java
1476 (getPixel): Added argument check,
1477 (getSample): Modified exception message.
1479 2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
1482 * java/awt/image/ConvolveOp.java
1483 (filter(Raster, WritableRaster)): Reimplemented,
1484 (fillEdge): New private method.
1486 2006-07-19 Keith Seitz <keiths@redhat.com>
1488 * include/jvmti.h (JVMTI_VERSION_1_0): Define.
1489 (JVMTI_VERSION): Define.
1491 2006-07-19 Roman Kennke <kennke@aicas.com>
1493 * resource/gnu/regexp/MessagesBundle.properties,
1494 * resource/gnu/regexp/MessagesBundle_fr.properties,
1495 * resource/gnu/regexp/MessagesBundle_it.properties:
1496 Moved to resource/gnu/java/util/regex.
1497 * resource/gnu/java/util/regex/MessagesBundle.properties,
1498 * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
1499 * resource/gnu/java/util/regex/MessagesBundle_it.properties:
1501 * gnu/java/util/regex/RE.java
1502 Use new resource bundle location.
1504 2006-07-19 Roman Kennke <kennke@aicas.com>
1506 * javax/swing/JComponent.java
1507 (paintChildren): Refactored. The paintChildrenOptimized method
1508 has been moved back in here. Added locking of the tree and
1509 only check for completely obscured child components
1510 when not optimized drawing enabled. Use Graphics.create() to
1511 protect from irreversible changes.
1512 (isCompletelyObscured): New helper method.
1513 (paintComponent): Also use Graphics.create() for Graphics2D,
1514 to protect from irreverible changes.
1515 (clipAndTranslateGraphics): Refactored to use more efficient
1516 iterative (vs recursive) approach.
1517 * javax/swing/RepaintManager.java
1518 (getOffscreenBuffer): Create image from root component.
1520 2006-07-19 Roman Kennke <kennke@aicas.com>
1522 * gnu/java/awt/peer/x/XGraphics.java
1523 (translate): Don't set the clip on the X server.
1524 (clipRect): Use setXClip() to set the clip on the X server.
1525 (hitClip): More efficient and correct implementation.
1526 (setClip): Use setXClip() to set the clip on the X server.
1527 (setClip(Shape)): Use setXClip() to set the clip on the X server.
1528 (copyArea): Translate and clip the source rectangle correctly.
1529 (dispose): Only flush when object is not yet disposed.
1530 (clone): Use setXClip() to set the clip on the X server.
1532 2006-07-19 Sven de Marothy <sven@physto.se>
1534 * gnu/javax/imageio/png/PNGChunk.java,
1535 * gnu/javax/imageio/png/PNGData.java,
1536 * gnu/javax/imageio/png/PNGDecoder.java,
1537 * gnu/javax/imageio/png/PNGEncoder.java,
1538 * gnu/javax/imageio/png/PNGException.java,
1539 * gnu/javax/imageio/png/PNGFile.java,
1540 * gnu/javax/imageio/png/PNGFilter.java,
1541 * gnu/javax/imageio/png/PNGGamma.java,
1542 * gnu/javax/imageio/png/PNGHeader.java,
1543 * gnu/javax/imageio/png/PNGICCProfile.java,
1544 * gnu/javax/imageio/png/PNGPalette.java,
1545 * gnu/javax/imageio/png/PNGPhys.java,
1546 * gnu/javax/imageio/png/PNGTime.java:
1549 2006-07-19 Sven de Marothy <sven@physto.se>
1551 * java/net/Inet6Address.java:
1552 (getScopedId, getScopedInterface): New methods.
1554 2006-07-19 Lillian Angel <langel@redhat.com>
1556 * examples/gnu/classpath/examples/awt/Demo.java
1557 (DragDropWindow): Fixed typo in Label text.
1558 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
1559 (GtkDragSourceContextPeer): Removed unneeded initialization for field.
1560 (startDrag): Initialized context field.
1561 (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
1563 (dragEnter): New function.
1564 (dragExit): Likewise.
1565 (dragDropEnd): Likewise.
1566 (dragMouseMoved): Likewise.
1567 (dragOver): Likewise.
1568 (dragActionChanged): Likewise.
1570 2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
1573 * resource/java/security/classpath.security: Updated copyright year.
1574 (auth.login.defaultCallbackHandler): New property; set to our default
1575 callback handler. This is needed by the LoginContext when no callback
1576 handler was specified.
1577 * javax/security/auth/login/LoginContext.java: Updated copyright year.
1578 (LoginContext(4)): Assign passed parameters to local fields before invoking
1581 2006-07-19 Roman Kennke <kennke@aicas.com>
1583 * gnu/java/awt/peer/x/XGraphics.java
1584 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
1585 Fixed ordering of parameters.
1587 2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
1589 * gnu/java/lang/management/MemoryMXBeanImpl.java:
1590 (MemoryMXBeanImpl()): Implemented.
1591 (ListenerData): New private class.
1592 (addNotificationListener(NotificationListener,
1593 NotificationFilter, Object)): Implemented.
1594 (getNotificationInfo()): Likewise.
1595 (removeNotificationListener(NotificationListener)):
1597 (removeNotificationListener(NotificationListener,
1598 NotificationFilter, Object)): Likewise.
1600 2006-07-18 Roman Kennke <kennke@aicas.com>
1602 * gnu/java/awt/peer/x/XFontPeer.java
1603 (encodeFont): Be more flexible with font sizes.
1604 (validSize): New helper method.
1605 * gnu/java/awt/peer/x/XGraphics.java
1606 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
1608 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
1610 * gnu/java/awt/peer/x/XImage.java
1611 (properties): New field.
1612 (getProperty): Implemented.
1613 * resource/gnu/java/awt/peer/x/fonts.properties:
1614 Added copyright header. Fixed font size field.
1616 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
1618 * java/awt/image/BandedSampleModel.java
1619 (createDataBuffer): New method override,
1620 * java/awt/image/ByteLookupTable.java
1621 (ByteLookupTable(int, byte[][])): Create new array to hold references,
1622 (ByteLookuptable(int, byte[])): Check for null array,
1623 * java/awt/image/ComponentSampleModel.java
1624 (createDataBuffer): Removed unnecessary braces,
1625 (getSample): Check (x, y) is within bounds,
1626 * java/awt/image/ShortLookupTable.java
1627 (ShortLookupTable(int, short[][])): Create new array to hold references,
1628 (ShortLookupTable(int, short[])): Check for null array,
1629 (getTable): Added API docs,
1630 (lookupPixel): Source reformatting.
1632 2006-07-18 Tania Bento <tbento@redhat.com>
1634 * java/awt/GridLayout.java
1635 (setHgap): Illegal Argument Exception should not be thrown if
1637 (setVgap): Illegal Argument Exception should not be thrown if
1639 (toString): Opening square braket ([) should appear before hgap
1640 value, not the name of the class.
1642 2006-07-18 Roman Kennke <kennke@aicas.com>
1644 * lib/copy-vmresources.sh.in: Reverted.
1645 * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
1646 * resource/gnu/java/awt/peer/x/fonts.properties: New file.
1648 2006-07-18 Roman Kennke <kennke@aicas.com>
1650 * lib/copy-vmresources.sh.in: Include properties from X peers.
1652 2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
1655 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
1656 certificate validity.
1657 (getIssuerName): New method.
1658 (getSubjectName): Likewise.
1659 (getNotAfterDate): Likewise.
1660 (getNotBeforeDate): Likewise.
1661 * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
1662 messages for newly added messages in SFHelper.
1664 2006-07-18 Roman Kennke <kennke@aicas.com>
1666 * gnu/java/awt/peer/x/XDialogPeer.java: New class.
1667 * gnu/java/awt/peer/x/XEventPump.java
1668 (handleEvent): Cast to XWindowPeer rather than XFramePeer.
1669 * gnu/java/awt/peer/x/XFramePeer.java
1670 Made a subclass of XWindowPeer, rather than SwingFramePeer.
1671 * gnu/java/awt/peer/x/XGraphics.java
1672 Made subclass of Graphics rather than Graphics2D. Removed
1673 all Graphics2D specific method stubs.
1674 (setColor): Map colors using the X color map that is
1676 * gnu/java/awt/peer/x/XToolkit.java
1677 (colorMap): New field.
1678 (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
1680 (createDialog): Implemented.
1681 (createImage(ImageProducer)): Implemented.
1682 (createImage(InputStream)): Use createImage(ImageProducer)
1683 to convert the BufferedImage to an XImage.
1684 * gnu/java/awt/peer/x/XWindowPeer.java
1685 (XWindowPeer): Removed debug output.
1687 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
1689 * java/awt/image/BufferedImageOp.java: API docs added,
1690 * java/awt/image/RasterOp.java: Likewise.
1692 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
1694 * java/awt/Graphics2D.java: API docs updated.
1696 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
1698 * java/awt/image/WritableRaster.java: Added API docs and reformatted
1701 2006-07-18 Sven de Marothy <sven@physto.se>
1703 * java/net/Inet6Address.java:
1704 Add 1.5 serialized fields.
1705 (getByAddress): New methods.
1706 (readObject, writeObject): New methods.
1707 (equals): Reimplement.
1709 2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
1711 * java/awt/image/Raster.java: Added API docs and reformatted source
1714 2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
1716 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
1718 * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
1719 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
1720 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
1721 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
1722 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
1723 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1724 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
1725 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
1726 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
1727 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
1728 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
1729 * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
1730 * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
1731 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
1732 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
1733 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
1734 * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
1735 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
1736 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
1737 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
1738 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
1740 2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
1742 * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
1743 to make it compile again under jikes. Note added.
1745 2006-07-17 Lillian Angel <langel@redhat.com>
1747 * examples/gnu/classpath/examples/awt/Demo.java
1748 (Demo): Added new window for DnD demo.
1749 (DragDropWindow): New class.
1750 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
1751 Added new fields and declarations for native functions.
1752 (GtkDragSourceContextPeer): Implemented.
1753 (getComponentPeer): New function.
1754 (startDrag): Partially implemented.
1755 (getCursor): Implemented.
1756 (setCursor): Implemented.
1757 * include/GtkDragSourceContextPeer.h: New file.
1758 * include/Makefile.am: Added new header file.
1759 * java/awt/Component.java
1760 (addNotify): Added call to the dropTarget's addNotify.
1761 * java/awt/dnd/DragSource.java
1762 (startDrag): Fixed code to use shared instances of peer and
1764 (getDragThreshold): Added stub.
1765 * java/awt/dnd/DropTarget.java
1766 (DropTarget): Implemented fully.
1767 (addNotify): Added code to get the peer of the parent that is
1769 * java/awt/dnd/DropTargetDragEvent.java
1770 (getTransferable): Added stub.
1771 * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
1772 * native/jni/gtk-peer/Makefile.am: Added new c file.
1773 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
1774 Changed to extend GtkGenericPeer.
1775 (GtkDropTargetContextPeer): New constructor.
1776 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
1777 Changed to extend GtkGenericPeer.
1778 (GtkDropTargetContextPeer): New constructor.
1780 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
1782 * java/awt/image/SinglePixelPackedSampleModel.java
1783 (createSubsetSampleModel): Added argument check and API docs.
1785 2006-07-17 Roman Kennke <kennke@aicas.com>
1787 * gnu/java/awt/peer/x/XGraphics.java
1788 (copyArea): Implemented.
1790 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
1792 * java/awt/image/SinglePixelPackedSampleModel.java
1793 (getSampleSize): Return copy of array,
1794 (getOffset): Added API docs,
1795 (getScanlineStride): Likewise,
1796 (hashCode): Implemented.
1798 2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
1800 * java/awt/image/MultiPixelPackedSampleModel.java
1801 (getOffset): Updated API docs and source reformatting,
1802 (getBitOffset): Source reformatting only,
1803 (getDataElements): Likewise,
1804 (getPixel): Likewise,
1805 (getPixels): Removed method override,
1806 (setDataElements): Reimplemented.
1808 2006-07-17 Gary Benson <gbenson@redhat.com>
1810 * resource/META-INF/services/.cvsignore: New file.
1811 * lib/.cvsignore: Updated.
1813 2006-07-17 Roman Kennke <kennke@aicas.com>
1815 * javax/swing/plaf/basic/BasicButtonListener.java
1816 (propertyChange): Only do the text layout caching as long
1817 as the noGraphics2D property isn't set.
1818 * javax/swing/plaf/basic/BasicMenuItemUI.java
1819 (PropertyChangeHandler.propertyChange): Only do the text layout
1820 caching as long as the noGraphics2D property isn't set.
1822 2006-07-17 Roman Kennke <kennke@aicas.com>
1824 * gnu/java/awt/peer/x/XGraphicsEnvironment.java
1825 (XGraphicsEnvironment): Make constructor public so that it
1826 can be called via Class.forName().newInstance().
1827 * gnu/java/awt/peer/x/XImage.java
1828 (XImage): Fetch GraphicsEnvironment via
1829 GraphicsEnvironment.getLocalGraphicsEnvironment() rather
1830 than the XToolkit method, to avoid double instantiation
1831 of the XGraphicsEnvironment.
1832 * gnu/java/awt/peer/x/XToolkit.java
1833 (env): Removed field.
1834 (getLocalGraphicsEnvironment): Removed impl. This method
1835 should not be called since we set the graphicsenv property
1838 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
1840 * java/util/UUID.java:
1841 (compareTo(Object)): Call compareTo(UUID).
1842 (compareTo(UUID)): Implemented.
1844 2006-07-16 Tom Tromey <tromey@redhat.com>
1846 * java/lang/StrictMath.java (cbrt): Added '@since'.
1848 2006-07-16 Carsten Neumann <cn-develop@gmx.net>
1850 * java/lang/StrictMath.java (cbrt): New method.
1851 (getLowDWord): New helper method.
1852 (getHighDWord): Likewise.
1853 (buildDouble): Likewise.
1854 (CBRT_B1): New field.
1855 (CBRT_B2): Likewise.
1862 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
1864 * javax/management/MBeanInfo.java:
1865 (getNotifications()): Implemented.
1866 * javax/management/NotificationBroadcaster.java:
1867 (removeNotificationListener(NotificationListener)):
1868 Renamed from removeListener.
1869 * javax/management/NotificationEmitter.java:
1870 (removeNotificationListener(NotificationListener,
1871 NotificationFilter, Object)): Likewise.
1872 * javax/management/NotificationFilter.java:
1873 Implement Serializable.
1874 * javax/management/NotificationListener.java:
1875 Implement java.util.EventListener.
1876 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
1877 Implement Serializable.
1879 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
1881 * java/lang/management/MemoryNotificationInfo.java:
1884 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1887 * gnu/javax/swing/text/html/parser/htmlValidator.java
1888 (tagIsValidForContext): If it is not possible to insert any tag, but
1889 is possible to insert a P, insert a P.
1890 * gnu/javax/swing/text/html/parser/HTML_401Swing.java
1891 (newInstance): Removed print statement. (getBodyElements):
1892 Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
1893 valid body level tags (will be enclosed into P's).
1895 2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
1897 * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
1898 Condition the creation of .keystore (a default keystore) based on the
1899 createIfNotFound argument as well.
1901 2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
1904 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
1905 Removed heading p tag from the parsing example.
1906 * gnu/javax/swing/text/html/parser/HTML_401F.java:
1907 (createHtmlContentModel): Explained.
1908 (defineElements): Call getBodyElements to get the body
1909 elements. (getBodyElements): New method. (model):
1910 Made protected from private.
1911 * gnu/javax/swing/text/html/parser/htmlValidator.java
1912 (openTag): Mind that current content model may be null.
1913 (tagIsValidForContext): If the tag is PCDATA, and it is not
1914 valid for context, but the paragraph (P) is valid for context,
1915 suggest to insert the P tag here.
1916 * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
1917 HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
1918 implied P tags here.
1919 * javax/swing/text/html/HTMLEditorKit.java (getParser):
1920 Get the custom parser, using HTML_401Swing.java DTD.
1921 * javax/swing/text/html/parser/ParserDelegator.java:
1922 Removed the obsolete note that HTMLEditorKit does not exist.
1923 * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
1924 gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
1926 2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
1928 * javax/management/ListenerNotFoundException.java:
1930 * javax/management/MBeanFeatureInfo.java:
1931 (hashCode()): Use summation instead of multiplication
1932 for consistency with other classes.
1933 * javax/management/MBeanNotificationInfo.java,
1934 * javax/management/Notification.java,
1935 * javax/management/NotificationBroadcaster.java,
1936 * javax/management/NotificationEmitter.java,
1937 * javax/management/NotificationFilter.java,
1938 * javax/management/NotificationListener.java:
1940 * javax/management/OperationsException.java:
1941 (serialVersionUID): Added.
1943 2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
1944 Mark Wielaard <mark@klomp.org>
1946 * java/io/PrintStream.java: Added four constructors, for File and
1947 String describing a filename with or without explicit encoding.
1949 2006-07-16 Sven de Marothy <sven@physto.se>
1951 * javax/rmi/ssl/SslRMIServerSocketFactory.java,
1952 * javax/rmi/ssl/SslRMIClientSocketFactory.java:
1955 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
1958 * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
1960 (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
1961 (setProviderClassNameParam): Made private.
1962 (setKeystoreTypeParam): Likewise.
1963 (setKeyPasswordParam): Likewise
1964 (setKeystorePasswordParam): Likewise.
1965 (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
1966 create or not the keystore if it's not there, and the second is the store's
1967 password to process before loading the keystore. Amended the code
1969 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
1970 setKeyStoreParams(5) with true as its first argument.
1971 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
1972 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
1974 2006-07-16 Sven de Marothy <sven@physto.se>
1976 * java/util/UUID.java: New file.
1978 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
1980 * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
1981 * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
1982 * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
1983 * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
1984 * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
1985 * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
1986 * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
1987 added Key Wrapping Algorithm SPIs.
1989 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
1991 * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
1992 wrapping/unwrapping to invoke their engineGetOutputSize.
1994 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
1996 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
1997 (engineInit): If a SecureRandom was specified then use it.
1998 (nextRandomBytes): New method.
1999 (engineWrap): Use above method.
2000 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
2001 (getDefaultPRNG): New method.
2002 * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
2003 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
2006 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
2008 * gnu/javax/crypto/jce/params/BlockCipherParameters.java
2009 (engineGetParameterSpec): Should be able to return an IvParameterSpec.
2011 2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
2013 * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
2014 offset into consideration.
2016 2006-07-16 Mario Torre <neugens@limasoftware.net>
2018 * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
2019 Fixed comment. This functions now requires to be called
2020 with gdk lock held, the comment states that.
2021 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
2022 Introduces gdk locks around critical regions of code.
2023 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
2025 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
2027 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
2029 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
2031 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
2033 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
2035 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
2037 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
2039 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
2041 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
2042 * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
2044 2006-07-15 Sven de Marothy <sven@physto.se>
2046 * javax/swing/JFileChooser.java
2047 Change default selection mode to FILES_ONLY.
2048 * javax/swing/plaf/basic/BasicDirectoryModel.java
2049 Document, fix selection mode filtering.
2050 (renameFile): Implement
2051 * javax/swing/plaf/basic/BasicFileChooserUI.java
2052 (selectedDir): New field to handle selected directories,
2053 disallow selecting of directories in FILES_ONLY mode.
2054 * javax/swing/plaf/metal/MetalFileChooserUI.java:
2055 (EditingActionListener.actionPerformed):
2056 Stop editing on all actions (e.g. return-key press)
2058 2006-07-15 Mark Wielaard <mark@klomp.org>
2060 * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
2062 (JNI Implementation): Mark JVMTI Implementation as next.
2063 (JVMTI Implementation): Mark JNI Implementation as prev.
2065 2006-07-15 Mark Wielaard <mark@klomp.org>
2067 * include/Makefile.am: Remove
2068 include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
2069 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
2070 * native/jni/gtk-peer/Makefile.am: Remove
2071 gnu_java_awt_peer_gtk_GdkTextLayout.c
2072 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
2075 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
2077 2006-07-15 Mark Wielaard <mark@klomp.org>
2079 * autogen.sh: Recognize autoconf 2.60.
2081 2006-07-15 Keith Seitz <keiths@redhat.com>
2083 * NEWS: Update for JVMTI and jvmti.h.
2084 * doc/vmintegration.texinfo: Likewise.
2085 * include/jvmti.h: New file.
2087 2006-07-15 Mark Wielaard <mark@klomp.org>
2089 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
2090 Removed C++ style comment.
2092 2006-07-15 Sven de Marothy <sven@physto.se>
2094 * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
2095 * java/awt/MouseInfo.java,
2096 * java/awt/PointerInfo.java,
2097 * java/awt/peer/MouseInfoPeer.java:
2100 * java/awt/Image.java
2101 (accelerationPriority): New field.
2102 (setAccelerationPriority, getAccelerationPriority): New methods..
2104 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
2105 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
2106 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
2107 (getMouseCoordinates): New method.
2109 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2110 (updateAlwaysOnTop): Remove stub overload.
2112 * gnu/java/awt/ClasspathToolkit.java,
2113 * gnu/java/awt/peer/gtk/GtkToolkit.java,
2114 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
2115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
2116 (getMouseInfoPeer): New method.
2117 (getMouseNumberOfButtons): New method.
2119 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
2120 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
2121 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2122 (gtkWindowSetAlwaysOnTop): New method.
2123 (updateAlwaysOnTop): Implement.
2125 * java/awt/Toolkit.java,
2126 (getMouseInfoPeer): New method.
2128 * java/awt/Window.java
2129 (alwaysOnTop): New field.
2130 (isAlwaysOnTop, setAlwaysOnTop): New methods.
2132 * java/awt/peer/WindowPeer.java: Doc fix.
2134 2006-07-14 Sven de Marothy <sven@physto.se>
2136 * java/awt/font/TextLayout.java:
2137 (hitTestChar): Stub method.
2138 * java/awt/font/TextMeasurer.java:
2139 (getLayout): Throw exception on invalid argument.
2141 2006-07-14 Sven de Marothy <sven@physto.se>
2143 * java/awt/image/DataBuffer.java
2144 (DataBuffer): Call constructors in the correct order,
2146 2006-07-14 Mark Wielaard <mark@klomp.org>
2148 Revert to previous implementation.
2149 * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
2152 2006-07-14 Roman Kennke <kennke@aicas.com>
2154 * gnu/java/awt/peer/x/XToolkit.java
2155 (XToolkit): Install properties to SystemProperties
2156 rather than System, to avoid SecurityManager.
2157 (getImage(String)): Return error image when string is invalid.
2158 (createImage(URL)): Moved image loading to helper method.
2159 (createImage(ImageProducer)): Implemented.
2160 (createImage(byte[],int,int)): Implemented.
2161 (createImage(InputStream)): New helper method.
2163 2006-07-14 Tania Bento <tbento@redhat.com>
2165 * java/awt/FlowLayout.java
2166 (setHgap): No Excpetion should be thrown if hgap has
2168 (setVgap): No Exception should be thrown if vgap has
2171 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2173 * java/awt/image/MultiPixelPackedSampleModel.java:
2174 Added API docs all over.
2176 2006-07-14 Matt Wringe <mwringe@redhat.com>
2178 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
2179 (engineInit): Throw InvalidAlgorithmParameterException
2180 for invalid IVParameterSpec IV length.
2182 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2184 * java/awt/image/MultiPixelPackedSampleModel.java
2185 (createDataBuffer): Include dataBitOffset in calculating the size for
2188 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2190 * java/awt/image/MultiPixelPackedSampleModel.java
2191 (getSampleSize()): Return a copy of the array,
2192 (getTransferType()): New method override.
2194 2006-07-14 Roman Kennke <kennke@aicas.com>
2196 * java/awt/CardLayout.java
2197 (show): Validate parent to make sure that the layout is
2200 2006-07-14 Roman Kennke <kennke@aicas.com>
2202 * java/awt/Component.java
2203 (enable): Added tree locking.
2204 (disable): Added tree locking.
2205 (show): Added tree locking.
2206 (hide): Added tree locking.
2207 (getLocationOnScreen): Added tree locking.
2208 (reshape): Added tree locking.
2209 (addHierarchyListener): Added tree locking.
2210 (removeHierarchyListener): Added tree locking.
2211 (addHierarchyBoundsListener): Added tree locking.
2212 (removeHierarchyBoundsListener): Added tree locking.
2213 (addNotify): Added tree locking.
2214 (removeNotify): Added tree locking.
2215 * java/awt/Container.java
2216 (invalidateTree): Added tree locking.
2217 (getAlignmentX): Added tree locking.
2218 (getAlignmentY): Added tree locking.
2219 (addNotify): Added tree locking.
2220 (setComponentZOrder): Added tree locking.
2221 (getComponentZOrder): Added tree locking.
2223 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2225 * java/awt/image/MultiPixelPackedSampleModel.java
2226 (createSubsetSampleModel): Restored argument check, but let null
2229 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2231 * java/awt/image/MultiPixelPackedSampleModel.java
2232 (createSubsetSampleModel): Removed argument check.
2234 2006-07-14 Roman Kennke <kennke@aicas.com>
2236 * java/awt/Component.java
2237 (numHierarchyListeners): New field.
2238 (numHierarchyBoundsListeners): New field.
2239 (show): Fire hierarchy events here. Only fire component event
2240 if there is actually a listener for it.
2241 (hide): Fire hierarchy events here. Only fire component event
2242 if there is actually a listener for it.
2243 (reshape): Fire hierarchy events here. Only fire component event
2244 if there is actually a listener for it.
2245 (addHierarchyListeners): Update listener counters.
2246 (removeHierarchyListeners): Update listener counters.
2247 (addHierarchyBoundsListeners): Update listener counters.
2248 (removeHierarchyBoundsListeners): Update listener counters.
2249 (fireHierarchyEvent): New helper method for firing hierarchy
2251 * java/awt/Container.java
2252 (addImpl): Update listener counters. Fire hierarchy event.
2253 (remove): Update listener counters. Fire hierarchy event.
2254 (fireHierarchyEvent): New helper method for firing hierarchy
2256 (updateHierarchyListenerCount): New helper method for
2257 updating the listener counters.
2259 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2261 * java/awt/image/MultiPixelPackedSampleModel.java
2262 (equals): New method override,
2263 (hashCode): Likewise.
2265 2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
2267 * java/awt/image/MultiPixelPackedSampleModel.java
2268 (MultiPixelPackedSampleModel(int, int, int, int, int, int)):
2269 Corrected scanlineStride calculation.
2271 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
2273 * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
2274 (AES_KWA): Likewise.
2275 (AES128_KWA): Likewise.
2276 (AES192_KWA): Likewise.
2277 (AES256_KWA): Likewise.
2278 (RIJNDAEL_KWA): Likewise.
2279 (TRIPLEDES_KWA): Likewise.
2280 (DESEDE_KWA): Likewise.
2281 * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
2282 * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
2283 * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
2284 * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
2285 * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
2286 * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
2288 2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
2290 * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
2291 (PADDING_BLOCK_SIZE): New constant.
2292 (init(Map attributes)): New method.
2293 * gnu/javax/crypto/pad/BasePad.java (init): New method.
2295 2006-07-14 Mario Torre <neugens@limasoftware.net>
2297 * gnu/java/security/OID.java (OID): Private Constructor removed as
2298 it is not needed anymore.
2299 (clone): Fixed. Now uses super.clone instead of the private
2300 constructor as per specification of clone method.
2301 (serialVersionUID): added new field to allow serialization.
2303 2006-07-13 Sven de Marothy <sven@physto.se>
2305 * gnu/javax/imageio/gif/GIFImageReader.java
2306 (read): Remove old debugging trace.
2308 2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
2311 * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
2314 2006-07-13 Roman Kennke <kennke@aicas.com>
2316 * java/awt/Component.java
2317 (DEFAULT_MAX_SIZE): New static constant.
2318 (preferredSize): Return copy of the actual value computed
2319 by new helper method.
2320 (preferredSizeImpl): New helper method. Adds locking and
2321 correct handling of cached value.
2322 (minimumSize): Return copy of the actual value computed
2323 by new helper method.
2324 (minimumSizeImpl): New helper method. Adds locking and
2325 correct handling of cached value.
2326 (getMaximumSize): Return copy of the actual value computed
2327 by new helper method.
2328 (maximumSizeImpl): New helper method. Adds locking and
2329 correct handling of cached value.
2330 (invalidate): Correct handling of cached layout information.
2332 * java/awt/Container.java
2333 (preferredSize): Minimized locking. Corrected handling of cached
2334 values. Return copy of real value.
2335 (minimumSize): Minimized locking. Corrected handling of cached
2336 values. Return copy of real value.
2337 (getMaximumSize): Minimized locking. Corrected handling of cached
2338 values. Return copy of real value.
2340 2006-07-13 Tania Bento <tbento@redhat.com>
2342 * gnu/java/awt/peer/ClasspathFontPeer.java
2343 (isLogicalFontName): Return true if name == default.
2344 (logicalFontNameToFaceName): Check if name == default,
2345 and if so, return "Dialog.plain".
2346 (setStandardAttributes(String, Map)): If name == null,
2347 it should be set to "Default", not "SansSerif".
2348 * java/awt/Canvas.java
2349 (generateName): Fixed documentation.
2350 * java/awt/CheckboxMenuItem.java
2351 Added static variable "next_chkmenuitem_number".
2352 (generateName): Added and implemented method.
2353 (getUniqueLong): Likewise.
2354 * java/awt/Choice.java
2355 Added static variable "next_choice_number".
2356 (generateName): Added and implemented method.
2357 (getUniqueLong): Likewise.
2358 * java/awt/Cursor.java
2359 (Cursor(int)): Set name depending on the type passed.
2360 * java/awt/List.java
2361 Added static variable "next_list_number".
2362 (generateName): Added and implemented method.
2363 (getUniqueLong): Likewise.
2364 * java/awt/Menu.java
2365 Added static variable "next_menu_number".
2366 (generateName): Added and implemented method.
2367 (getUniqueLong): Likewise.
2368 * java/awt/MenuBar.java
2369 Added static variable "next_menubar_number".
2370 (generateName): Added and implemented method.
2371 (getUniqueLong): Likewise.
2372 * java/awt/MenuComponent.java
2373 (getName): Before returning name, check if name == null
2374 and name is not explicity set. If this is the case,
2375 name will be generated.
2376 (generateName): Added and implemented method.
2377 * java/awt/MenuItem.java
2378 Added static variable "next_menuitem_number".
2379 (generateName): Added and implemented method.
2380 (getUniqueLong): Likewise.
2381 * java/awt/PopupMenu.java
2382 Added static variable "next_popup_number".
2383 (generateName): Added and implemented method.
2384 (getUniqueLong): Likewise.
2385 * java/awt/ScrollPane.java
2386 Added static variable "next_scrollpane_number".
2387 (generateName): Added and implemented method.
2388 (getUniqueLong): Likewise.
2389 * java/awt/TextField.java
2390 Added static variable "next_textfield_number".
2391 (generateName): Added and implemented method.
2392 (getUniqueLong): Likewise.
2395 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
2397 * java/awt/image/SinglePixelPackedSampleModel.java
2398 (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
2399 mask correctly as an unsigned integer,
2400 (equals): New method override.
2402 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2404 * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
2405 insertAfterStart, insertBeforeEnd): Removed stub markings.
2407 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
2409 * java/awt/image/BandedSampleModel.java: API doc updates and source
2411 * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
2413 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
2415 * java/awt/image/BandedSampleModel.java: API doc updates.
2417 2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2419 * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
2420 Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
2421 HTMLReader.insertTag, HTMLReader.insertTagEncountered,
2422 HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
2423 (HRMLReader.blockClose): Mind that parser stack may be empty.
2424 (HTMLReader.handeComment, HTMLReader.handleStartTag,
2425 HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
2426 (HTMLReader.shouldInsert): New method. (getElement(String)):
2427 Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
2428 insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
2429 Implemented. (getInsertingReader): New method.
2430 * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2431 Added buttons to demonstrate the work of the insert actions.
2433 2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
2435 * java/awt/image/SampleModel.java: API doc updates and additions,
2436 * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
2438 2006-07-12 Sven de Marothy <sven@physto.se>
2440 * javax/swing/JFileChooser.java:
2441 (createDialog): Close operation should cause a cancel.
2443 2006-07-12 Francis Kung <fkung@redhat.com>
2445 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
2446 (cairoArc): New native method.
2447 (cairoRestore): New native method.
2448 (cairoSave): New native method.
2449 (cairoScale): New native method.
2450 (createPath): New method to centralize code from draw and fill.
2451 (draw): Modified to use createPath method.
2452 (fill): Modified to use createPath method.
2453 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
2454 function declarations.
2455 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2456 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
2458 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
2460 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
2463 2006-07-12 Tom Tromey <tromey@redhat.com>
2466 * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
2467 on PartialInputStream.
2468 (PartialInputStream.dummyByteCount): New field.
2469 (PartialInputStream.fillBuffer): Handle dummy byte.
2470 (PartialInputStream.read): Likewise.
2471 (PartialInputStream.addDummyByte): New method.
2473 2006-07-12 Mario Torre <neugens@limasoftware.net>
2475 * native/jni/gconf-peer/GConfNativePeer.c
2476 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
2477 Fixed C++ style comment.
2479 2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
2481 * java/util/Arrays.java
2482 (asList): Updated API docs.
2484 2006-07-11 Robert Schuster <robertschuster@fsfe.org>
2487 * native/jni/gconf-peer/GConfNativePeer.c:
2488 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
2489 Changed if-expression.
2490 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
2491 Added check for _value not being NULL.
2493 2006-07-11 Roman Kennke <kennke@aicas.com>
2495 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
2496 (read): Use fd when local sockets are disabled to make the
2500 2006-07-11 Roman Kennke <kennke@aicas.com>
2502 * java/awt/image/MultiPixelPackedSampleModel.java
2503 (MultiPixelPackedSampleModel): Substract -1 so that the integer
2504 division gets rounded up.
2506 2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
2508 * java/lang/management/ManageFactory.java:
2509 (getMemoryManagerMXBeans()): Use addAll, not add.
2511 2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
2514 * gnu/classpath/ByteArray.java: Removed (moved).
2515 * gnu/java/security/util/ByteArray.java: New File.
2516 * gnu/javax/crypto/RSACipherImpl.java: Reference
2517 gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
2519 2006-07-11 Roman Kennke <kennke@aicas.com>
2521 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
2522 (available): Pass fd as argument and avoid JNI class/field
2526 * include/gnu_java_net_local_LocalSocketImpl.h:
2528 * gnu/java/net/local/LocalSocketImpl.h
2529 (available): Pass fd as argument and avoid JNI class/field
2534 2006-07-11 Sven de Marothy <sven@physto.se>
2536 * gnu/javax/sound/sampled/AU/AUReader.java:
2537 Correct file extension from .as to .au.
2539 2006-07-11 Sven de Marothy <sven@physto.se>
2541 * gnu/javax/sound/sampled/AU/AUReader.java:
2543 * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
2546 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
2548 * javax/swing/JTable.java
2549 (setRowSelectionAllowed): Fire required PropertyChangeEvent,
2550 (setColumnSelectionAllowed): Likewise.
2552 2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
2555 * gnu/classpath/debug/Simple1LineFormatter.java: Use
2556 AccessController.doPrivileged instead of SystemProperties.getProperty.
2557 * gnu/classpath/debug/SystemLogger.java: Likewise.
2558 * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
2559 repeated getProperty calls for "file.seperator".
2560 (refresh): Since already in privileged block, call System.getProperty
2561 instead of SystemProperties.getProperty.
2562 * gnu/java/security/key/dss/DSSKey.java
2563 (toString): Use AccessController.doPrivileged instead of
2564 SystemProperties.getProperty.
2565 * gnu/java/security/key/dss/DSSPrivateKey.java
2566 (toString): Likewise.
2567 * gnu/java/security/key/dss/DSSPublicKey.java
2568 (toString): Likewise.
2569 * gnu/java/security/key/rsa/GnuRSAKey.java
2570 (toString): Likewise.
2571 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
2572 (toString): Likewise.
2573 * gnu/java/security/key/rsa/GnuRSAPublicKey.java
2574 (toString): Likewise.
2575 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
2576 * gnu/javax/crypto/key/dh/GnuDHKey.java
2577 (toString): Likewise.
2578 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
2579 (toString): Likewise.
2580 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
2581 (toString): Likewise.
2583 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
2585 * javax/swing/AbstractButton.java
2586 (disabledIcon): Fixed name (was 'disabeldIcon'),
2587 (getDisabledIcon): Updated for corrected field name,
2588 (setDisabledIcon): Fire a PropertyChangeEvent.
2590 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
2592 * javax/swing/DefaultBoundedRangeModel.java
2593 (readObject): New private method,
2594 (writeObject): Likewise.
2596 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
2598 * javax/swing/ButtonGroup.java
2599 (add): Ignore null argument,
2600 (remove): Ignore null argument. If removing selected button, clear the
2602 (findButton): Changed case for method name, and documented,
2603 (setSelected): Updated for modification to findButton() method name,
2604 (isSelected): Updated API docs.
2606 2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
2608 * java/awt/image/BufferedImage.java
2609 (BufferedImage(int, int, int)): Use correct color space for
2610 TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
2611 IllegalArgumentException for an unrecognised type.
2613 2006-07-10 Mario Torre <neugens@limasoftware.net>
2615 * java/awt/BasicStroke.java: Removed unused import.
2616 * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
2617 * gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
2618 * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
2620 2006-07-10 Matt Wringe <mwringe@redhat.com>
2623 * javax/crypto/spec/SecretKeySpec.java
2624 (equals): Check object type.
2626 2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2628 * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
2629 communication/StructureToPassHelper.java,
2630 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
2631 communication/StructureToReturnHelper.java,
2632 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
2633 communication/TreeNodeHelper.java,
2634 examples/gnu/classpath/examples/CORBA/SimpleCommunication/
2635 communication/WeThrowThisExceptionHelper.java,
2636 gnu/CORBA/ForwardRequestHelper.java,
2637 org/omg/CORBA/CompletionStatusHelper.java,
2638 org/omg/CORBA/CurrentHelper.java,
2639 org/omg/CORBA/DefinitionKindHelper.java,
2640 org/omg/CORBA/IDLTypeHelper.java,
2641 org/omg/CORBA/NameValuePairHelper.java,
2642 org/omg/CORBA/ObjectHelper.java,
2643 org/omg/CORBA/ParameterModeHelper.java,
2644 org/omg/CORBA/PolicyErrorCodeHelper.java,
2645 org/omg/CORBA/PolicyErrorHelper.java,
2646 org/omg/CORBA/PolicyHelper.java,
2647 org/omg/CORBA/PolicyListHelper.java,
2648 org/omg/CORBA/PolicyTypeHelper.java,
2649 org/omg/CORBA/ServiceDetailHelper.java,
2650 org/omg/CORBA/ServiceInformationHelper.java,
2651 org/omg/CORBA/SetOverrideTypeHelper.java,
2652 org/omg/CORBA/StringValueHelper.java,
2653 org/omg/CORBA/UnionMemberHelper.java,
2654 org/omg/CORBA/UnknownUserExceptionHelper.java,
2655 org/omg/CORBA/VisibilityHelper.java,
2656 org/omg/CORBA/WStringValueHelper.java,
2657 org/omg/CORBA/WrongTransactionHelper.java,
2658 org/omg/CosNaming/BindingHelper.java,
2659 org/omg/CosNaming/BindingIteratorHelper.java,
2660 org/omg/CosNaming/BindingListHelper.java,
2661 org/omg/CosNaming/BindingTypeHelper.java,
2662 org/omg/CosNaming/NameComponentHelper.java,
2663 org/omg/CosNaming/NameHelper.java,
2664 org/omg/CosNaming/NamingContextExtHelper.java,
2665 org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
2666 org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
2667 org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
2668 org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
2669 org/omg/CosNaming/NamingContextHelper.java,
2670 org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
2671 org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
2672 org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
2673 org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
2674 org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
2675 org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
2676 org/omg/DynamicAny/AnySeqHelper.java,
2677 org/omg/DynamicAny/DynAnyFactoryHelper.java,
2678 org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
2679 org/omg/DynamicAny/DynAnyHelper.java,
2680 org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
2681 org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
2682 org/omg/DynamicAny/DynAnySeqHelper.java,
2683 org/omg/DynamicAny/DynArrayHelper.java,
2684 org/omg/DynamicAny/DynEnumHelper.java,
2685 org/omg/DynamicAny/DynFixedHelper.java,
2686 org/omg/DynamicAny/DynSequenceHelper.java,
2687 org/omg/DynamicAny/DynStructHelper.java,
2688 org/omg/DynamicAny/DynUnionHelper.java,
2689 org/omg/DynamicAny/DynValueHelper.java,
2690 org/omg/DynamicAny/NameDynAnyPairHelper.java,
2691 org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
2692 org/omg/DynamicAny/NameValuePairHelper.java,
2693 org/omg/DynamicAny/NameValuePairSeqHelper.java,
2694 org/omg/IOP/CodecFactoryHelper.java,
2695 org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
2696 org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
2697 org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
2698 org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
2699 org/omg/IOP/ComponentIdHelper.java,
2700 org/omg/IOP/IORHelper.java,
2701 org/omg/IOP/MultipleComponentProfileHelper.java,
2702 org/omg/IOP/ProfileIdHelper.java,
2703 org/omg/IOP/ServiceContextHelper.java,
2704 org/omg/IOP/ServiceContextListHelper.java,
2705 org/omg/IOP/ServiceIdHelper.java,
2706 org/omg/IOP/TaggedComponentHelper.java,
2707 org/omg/IOP/TaggedProfileHelper.java,
2708 org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
2709 org/omg/PortableInterceptor/AdapterNameHelper.java,
2710 org/omg/PortableInterceptor/AdapterStateHelper.java,
2711 org/omg/PortableInterceptor/CurrentHelper.java,
2712 org/omg/PortableInterceptor/ForwardRequestHelper.java,
2713 org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
2714 org/omg/PortableInterceptor/InvalidSlotHelper.java,
2715 org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
2716 org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
2717 org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
2718 org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
2719 org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
2720 org/omg/PortableServer/CurrentHelper.java,
2721 org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
2722 org/omg/PortableServer/ForwardRequestHelper.java,
2723 org/omg/PortableServer/POAHelper.java,
2724 org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
2725 org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
2726 org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
2727 org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
2728 org/omg/PortableServer/POAPackage/NoServantHelper.java,
2729 org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
2730 org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
2731 org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
2732 org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
2733 org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
2734 org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
2735 org/omg/PortableServer/ServantActivatorHelper.java,
2736 org/omg/PortableServer/ServantLocatorHelper.java: Remove the
2737 typecode caching and always use OrbRestricted.Singleton.
2739 2006-07-09 Mark Wielaard <mark@klomp.org>
2741 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
2742 New static final boolean field.
2743 (getComponentGraphics): Use hasXRenderExtension.
2744 (setClip): Override method for locking.
2746 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
2748 * javax/swing/AbstractButton.java
2749 (setHorizontalTextPosition): Added check for illegal argument,
2750 (setVerticalTextPosition): Likewise.
2752 2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
2754 * javax/swing/Timer.java
2755 (setDelay): Throw IllegalArgumentException for negative delay,
2756 (setInitialDelay): Likewise,
2757 * javax/swing/ToolTipManager.java
2758 (setInitialDelay): Document IllegalArgumentException,
2759 (setDismissDelay): Likewise,
2760 (setReshowDelay): Likewise.
2762 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2764 * java/lang/management/MemoryUsage.java:
2765 (from(javax.management.openmbean.CompositeData)):
2767 * java/lang/management/ThreadInfo.java:
2768 Changed to use open types throughout for the state.
2769 (ThreadInfo(long,String,String,long,long,String,
2770 long,String,long,long,boolean,StackTraceElement[])):
2772 (checkAttribute(javax.management.openmbean.CompositeType,
2773 String, javax.management.openmbean.OpenType)): New method.
2774 (from(javax.management.openmbean.CompositeData)):
2776 (getLockName()): Fixed to use new variable.
2777 (getLockOwnerId()): Likewise.
2778 (getLockOwnerName()): Likewise.
2779 (getThreadId()): Likewise.
2780 (getThreadName()): Likewise.
2781 (getThreadState()): Likewise.
2782 (toString()): Refactored to use new variables.
2783 * javax/management/openmbean/ArrayType.java:
2785 * javax/management/openmbean/CompositeType.java:
2786 Variables should be transient, not volatile.
2787 * javax/management/openmbean/OpenDataException.java:
2788 (serialVersionUID): Added.
2789 * javax/management/openmbean/SimpleType.java:
2791 * javax/management/openmbean/TabularType.java
2792 Variables should be transient, not volatile.
2794 2006-07-09 Tom Tromey <tromey@redhat.com>
2796 * tools/.cvsignore: Updated for new tools.
2798 2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2800 * javax/management/openmbean/CompositeData.java,
2801 * javax/management/openmbean/CompositeType.java,
2802 * javax/management/openmbean/OpenDataException.java,
2803 * javax/management/openmbean/OpenType.java,
2804 * javax/management/openmbean/TabularData.java,
2805 * javax/management/openmbean/TabularType.java,
2806 * javax/management/openmbean/package.html:
2809 2006-07-09 Mark Wielaard <mark@klomp.org>
2811 * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
2812 * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
2813 * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
2815 2006-07-08 Anthony Green <green@redhat.com>
2817 * gnu/javax/sound/sampled/WAV/WAVReader.java,
2818 resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
2821 2006-07-09 Mario Torre <neugens@limasoftware.net>
2823 * native/jni/gconf-peer/GConfNativePeer.c:
2824 Fixed indentation to be more compliant to the GNU coding
2826 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
2827 Added explicit test for errors in the GConf backend.
2828 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
2829 Added explicit test for errors in the GConf backend.
2830 Fixed Segmentation Fault when non valid key names are given as input.
2831 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
2833 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
2834 Added explicit test for errors in the GConf backend.
2835 * gnu/java/util/prefs/gconf/GConfNativePeer.java:
2836 Added javadoc comments for all native methods.
2837 (nodeExist): removed test to check for valid absolute path name
2839 (startWatchingNode): likewise.
2840 (stopWatchingNode): likewise.
2841 (setString): likewise, plus fixed javadoc comments.
2844 (getKeys): likewise, also fixed javadoc comments.
2845 (getChildrenNodes): likewise.
2846 * gnu/java/util/prefs/GConfBasedPreferences.java:
2847 changed DEFAULT_USER_ROOT to /apps/classpath.
2848 (constructor): Test to check for a valid absolute path for nodes
2849 is now in the contructor for that node, instead of being on
2850 each method of the backend.
2851 (getGConfKey): removed empty new line.
2853 2006-07-08 Mark Wielaard <mark@klomp.org>
2855 * .classpath: Add gnu/java/awt/peer/x/ to excludes.
2857 2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2859 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
2860 Handle the forced break in the same way as exceeding the
2861 available row space.
2862 * javax/swing/text/html/HRuleView.java: Rewritten.
2863 * javax/swing/text/html/HTMLDocument.java
2864 (HTMLReader.addSpecialElement):Reserve two characters for
2865 the special elements.
2866 * examples/gnu/classpath/examples/swing/HtmlDemo.java
2867 (text): Extended the HTML example to parse.
2869 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
2871 * javax/swing/AbstractButton.java
2872 (setHorizontalAlignment): Check for illegal argument,
2873 (setVerticalAlignment): Likewise.
2875 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2877 * javax/swing/text/html/TableView.java
2878 (getStyleSheet): New method. (RowView.getStyleSheet):
2881 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
2883 * javax/swing/AbstractButton.java
2884 (setRolloverIcon): Call setRolloverEnabled(true),
2885 (setRolloverSelectedIcon): Likewise.
2887 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
2889 * javax/swing/border/TitledBorder.java
2890 (setTitlePosition): Added message to exception,
2891 (setTitleJustification): Likewise.
2893 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
2895 * javax/swing/plaf/metal/MetalLookAndFeel.java
2896 (createDefaultTheme): Corrected API docs,
2897 (initComponentDefaults): Added entry for 'TitledBorder.border',
2898 (getCurrentTheme): Initialise theme if it is null.
2900 2006-07-07 Roman Kennke <kennke@aicas.com>
2902 * java/awt/Component.java
2903 (isValid): Return false when component has no peer,
2904 don't query the showing state.
2906 2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
2908 * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
2909 Advance the offset also in the case of the enforced break.
2911 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
2913 * javax/swing/plaf/basic/BasicArrowButton.java
2914 (MAXIMUM_SIZE): Removed field,
2915 (MINIMUM_SIZE): Likewise,
2916 (PREFERRED_SIZE): Likewise,
2917 (getMaximumSize): Return new instance every time,
2918 (getMinimumSize): Likewise,
2919 (getPreferredSize): Likewise.
2921 2006-07-07 Roman Kennke <kennke@aicas.com>
2923 * java/awt/LightweightDispatcher.java
2924 (findTarget): Avoid array copying in
2925 Container.getComponents().
2927 2006-07-07 Roman Kennke <kennke@aicas.com>
2929 * javax/swing/JComponent.java
2930 (paintChildrenWithOverlap): Avoid array copying in
2931 Container.getComponents().
2932 (paintChildrenOptimized): Avoid array copying in
2933 Container.getComponents().
2934 (fireAncestorEvent): Avoid array copying in
2935 Container.getComponents().
2936 (findOverlapFreeParent): Avoid array copying in
2937 Container.getComponents().
2939 2006-07-07 Matt Wringe <mwringe@redhat.com>
2941 * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
2942 (passwordValid): New field.
2943 (setPassword): New method.
2944 (setSalt): Likewise.
2945 (setIterationCount): Likewise.
2946 (setKeyLength): Likewise.
2947 (PBEKeySpec(char[])): Use new setter methods.
2948 (PBEKeySpec(char[], byte[], int)): Likewise.
2949 (PBEKeySpec(char[], byte[], int, int)): Likewise.
2950 (clearPassword): Set passwordValid to false.
2951 (getPassword): Check that clearPassword() was not called earlier.
2952 Return a clone of the password.
2953 (getSalt): Return a clone of the salt if it was not null.
2955 2006-07-07 Roman Kennke <kennke@aicas.com>
2957 * java/awt/Component.java
2958 (isValid): Always return false when component is
2960 (setFont): Always set font, even when setting
2961 the same or equal font again.
2963 2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
2965 * javax/swing/plaf/metal/MetalIconFactory.java
2966 (CheckBoxMenuItemIcon): Implement UIResource,
2967 (FileChooserDetailViewIcon): Likewise,
2968 (FileChooserHomeFolderIcon): Likewise,
2969 (FileChooserListViewIcon): Likewise,
2970 (FileChooserNewFolderIcon): Likewise,
2971 (FileChooserUpFolderIcon): Removed redundant 'implements',
2972 (RadioButtonMenuItemIcon): Implement UIResource,
2973 (HorizontalSliderThumbIcon): Likewise,
2974 (InternalFrameCloseIcon): Likewise,
2975 (InternalFrameDefaultMenuIcon): Likewise,
2976 (InternalFrameAltMaximizeIcon): Likewise,
2977 (InternalFrameMaximizeIcon): Likewise,
2978 (InternalFrameMinimizeIcon): Likewise,
2979 (VerticalSliderThumbIcon): Likewise,
2980 (TreeHardDriveIcon): Likewise,
2981 (TreeFloppyDriveIcon): Likewise,
2982 (TreeComputerIcon): Likewise,
2983 (horizontalSliderThumbIcon): New field,
2984 (verticalSliderThumbIcon): New field,
2985 (getHorizontalSliderThumbIcon): Cache icon,
2986 (getVerticalSliderThumbIcon): Likewise.
2988 2006-07-06 Mark Wielaard <mark@klomp.org>
2990 * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
2991 (DISTCLEANFILES): Add standard.omit.
2992 (clean-local): Remove Makefile.deps, only remove dirs.
2994 2006-07-06 Roman Kennke <kennke@aicas.com>
2996 * java/awt/Component.java
2997 (setFont): Only invalidate when component is valid.
2998 * java/awt/Container.java
2999 (setLayout): Only invalidate when component is valid.
3001 2006-07-06 Lillian Angel <langel@redhat.com>
3003 * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
3004 New class not fully implemented.
3005 * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
3006 New class not fully implemented.
3007 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
3008 New class not fully implemented.
3009 * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
3010 New class not fully implemented.
3011 * nu/java/awt/peer/gtk/GtkToolkit.java:
3013 (createDragSourceContextPeer): Implemented.
3014 (createDragGestureRecognizer): New function to override
3015 java.awt.Toolkit.createDragGestureRecognizer.
3016 * java/awt/dnd/DragSource.java
3017 (NoDragGestureRecognizer): Removed inner class.
3018 (createDragGestureRecognizer): Re-Implemented to
3019 call Toolkit's createDragGestureRecognizer.
3020 (createDefaultDragGestureRecognizer): Re-Implemented to
3021 call Toolkit's createDragGestureRecognizer.
3022 * java/awt/dnd/DropTarget.java
3023 (addNotify): Added check to determine type of peer and call
3025 (removeNotify): Added call to removeDropTarget.
3027 2006-07-06 Tom Tromey <tromey@redhat.com>
3029 * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
3031 (run): Wait on queue, not 'this'.
3033 2006-07-06 Lillian Angel <langel@redhat.com>
3035 * java/awt/dnd/DragSource.java
3036 (startDrag): Implemented. Added comments describing
3037 what the function should do. Removed FIXME.
3039 2006-07-06 Tania Bento <tbento@redhat.com>
3041 * gnu/java/awt/Canvas.java
3042 Added new private variable 'next_canvas_number'.
3043 (generateName): Added.
3044 (getUniqueLong): Added.
3046 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3048 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
3049 (getColor): Made public.
3050 * javax/swing/text/html/StyleSheet.java (stringToColor):
3051 Use CharacterAttributeTranslator.getColor(String)
3053 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3055 * javax/swing/text/html/HTMLEditorKit.java:
3056 (HTMLFactory.createElement): Update reference to the html table view.
3057 * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
3058 * javax/swing/text/html/TableView.java: New file.
3060 2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3062 * javax/swing/text/html/HTMLEditorKit.java:
3063 (HTMLFactory.createElement): Uncomment
3064 code for BRView and HRuleView.
3065 * javax/swing/text/html/BRView.java,
3066 javax/swing/text/html/HRuleView.java: New files.
3068 2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
3071 * doc/vmintegration.texinfo: Likewise.
3072 * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
3073 * examples/gnu/classpath/examples/management/TestMemoryManager.java,
3074 * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
3075 * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
3076 * java/lang/management/GarbageCollectorMXBean.java:
3078 * java/lang/management/ManagementFactory.java:
3079 (getGarbageCollectorMXBeans()): Implemented.
3080 (getMemoryManagerMXBeans()): Likewise.
3081 * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
3082 * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
3084 * vm/reference/java/lang/management/VMManagementFactory.java:
3085 (getMemoryManagerNames()): Added.
3086 (getGarbageCollectorNames()): Added.
3088 2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
3090 * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
3091 from lib_LTLIBRARIES.
3092 (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
3094 2006-07-05 Lillian Angel <langel@redhat.com>
3096 * java/awt/dnd/DragGestureEvent.java:
3098 (DragGestureEvent): Initialized new fields, added to check and
3099 added documentation.
3100 (getSourceAsDragGestureRecognizer): Added documentation and
3101 changed to use getSource.
3102 (getComponent): Added documentation and fixed to return the proper
3104 (getDragSource): Likewise.
3105 (getDragOrigin): Added documentation.
3106 (iterator): Implemented and added documentation.
3107 (toArray): Likewise.
3108 (toArray): Likewise.
3109 (getDragAction): Likewise.
3110 (getTriggerEvent): Likewise.
3111 (startDrag): Likewise.
3112 * java/awt/dnd/DragGestureRecognizer.java
3113 (resetRecognizer): Added FIXME.
3114 * java/awt/dnd/DragSource.java:
3116 (DragSource): Set ds to be null if headless.
3117 (getDefaultDragSource): Added documentation and implemented.
3118 (isDragImageSupported): Marked as unimplemented.
3119 (startDrag): Likewise.
3120 (createDragSourceContext): Implemented.
3121 (NoDragGestureRecognizer): Formatted inner class.
3122 * java/awt/dnd/DropTarget.java
3123 (stop): Marked as unimplemented.
3124 (actionPerformed): Likewise.
3125 (addDropTargetListener): Added code to throw exception.
3126 (removeDropTargetListener): Added check, removed FIXME.
3127 (dragEnter): Implemented.
3128 (dragOver): Implemented.
3129 (dropActionChanged): Implemented.
3130 (dragExit): Implemented.
3131 (drop): Implemented.
3132 (addNotify): Implemented.
3133 (removeNotify): Implemented.
3134 (createDropTargetContext): Implemented.
3135 (createDropTargetAutoScroller): Implemented.
3136 (initializeAutoscrolling): Implemented.
3137 (updateAutoscroll): Implemented.
3138 (clearAutoscroll): Implemented.
3139 * java/awt/dnd/DropTargetContext.java
3140 (dropComplete): Implemented.
3141 (acceptDrag): Implemented.
3142 (rejectDrag): Implemented.
3143 (acceptDrop): Implemented.
3144 (rejectDrop): Implemented.
3145 (getCurrentDataFlavors): Implemented.
3146 (getTransferable): Partially implemented.
3147 * java/awt/dnd/DropTargetDragEvent.java
3148 (getDropAction): Uncommented correct code.
3149 * java/awt/dnd/DropTargetDropEvent.java
3150 (dropComplete) :Implemented.
3151 * java/awt/dnd/InvalidDnDOperationException.java
3152 (InvalidDnDOperationException): Added call to super.
3154 2006-07-05 Robert Schuster <robertschuster@fsfe.org>
3156 * javax/swing/plaf/basic/BasicArrowButton.java:
3157 (paint): Removed getBounds() call, changed center point
3160 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
3162 * javax/swing/InputMap.java
3163 (inputMap): Don't initialize yet,
3164 (InputMap): Removed TODO,
3165 (get): Check for null inputMap,
3166 (put): Return immediately for null keyStroke, check for null inputMap
3167 and initialize if necessary,
3168 (remove): Check for null inputMap,
3172 (allKeys): Likewise,
3173 (writeObject): Removed,
3174 (readObject): Removed.
3176 2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
3178 * gnu/classpath/examples/swing/TabbedPaneDemo.java
3179 (createContent): Use different labels for buttons.
3181 2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
3184 * doc/vmintegration.texinfo: Likewise.
3185 * examples/gnu/classpath/examples/management/TestMemoryPool.java,
3186 * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
3188 * java/lang/management/ManagementFactory.java:
3189 (getMemoryPoolMXBeans()): Implemented.
3190 * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
3191 * vm/reference/java/lang/management/VMManagementFactory.java:
3194 2006-07-04 Lillian Angel <langel@redhat.com>
3196 * java/awt/dnd/DragSourceContext.java:
3197 Removed FIXMEs from fields.
3198 (DragSourceContext): Added code to initialize cursor and sourceActions.
3199 (getDragSource): Added documentation.
3200 (getComponent): Likewise.
3201 (getTrigger): Likewise.
3202 (getSourceActions): Added documentation and implemented.
3203 (setCursor): Implemented. Added documentation.
3204 (getCursor): Implemented. Added documentation.
3205 (dragEnter): Added code to notify DragSource's listeners.
3206 (dragOver): Likewise.
3207 (dragExit): Likewise.
3208 (dropActionChanged): Likewise.
3209 (dragDropEnd): Likewise.
3210 (dragMouseMoved): Implemented.
3211 (getTransferable): Added API documentation.
3212 (updateCurrentCursor): Added API documentation and partially implemented.
3214 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3216 * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
3218 2006-07-04 Lillian Angel <langel@redhat.com>
3220 * java/awt/dnd/DragSourceContext.java
3221 (DragSourceContext): Implemented fully. Fixed API docs.
3222 (transferablesFlavorsChanged): Implemented.
3223 (dragEnter): Implemented.
3224 (dragOver): Implemented.
3225 (dragExit): Implemented.
3226 (dropActionChanged): Implemented.
3227 (dragDropEnd): Implemented.
3229 2006-07-04 Lillian Angel <langel@redhat.com>
3231 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3232 Fixed name of constant.
3233 (getIconWidth): Changed name of constant returned.
3234 (getIconHeight): Likewise.
3236 (createSeparator): Marked as unimplemented.
3237 * javax/swing/plaf/basic/BasicTableUI.java
3238 (focusGained): Marked as unimplemented.
3239 (focusLost): Marked as unimplemented.
3240 (mouseEntered): Likewise.
3241 (mouseMoved): Likewise.
3242 (uninstallDefaults): Likewise.
3243 * javax/swing/plaf/basic/BasicToolBarUI.java
3244 (mouseClicked): Changed comment.
3245 (mouseEntered): Likewise.
3246 (mouseExited): Likewise.
3247 (mouseMoved): Likewise.
3248 (setOrientation): Implemented.
3249 (ToolBarFocusListener): Marked as unimplemented.
3250 (focusGained): Marked as unimplemented.
3251 (focusLost): Marked as unimplemented.
3253 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3256 * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
3257 Mind the effect of the root visibility on the position of the control.
3258 Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
3259 vertical line over first level nodes.
3261 2006-07-04 Lillian Angel <langel@redhat.com>
3263 * javax/swing/plaf/basic/BasicMenuUI.java
3264 (installKeyboardActions): Implemented to call super. Nothing else
3265 needs to be done here.
3266 (setupPostTimer): Marked as unimplemented.
3267 (uninstallKeyboardActions): Implemented to call super. Nothing else
3268 needs to be done here.
3269 (mouseMoved): Removed TODO. Nothing to be done here.
3270 (ChangeHandler): Implemented.
3271 (menuDragMouseExited): Removed TODO. Nothing to be done here.
3272 (menuDragMouseReleased): Removed TODO. Nothing to be done here.
3273 (menuKeyReleased): Removed TODO. Nothing to be done here.
3274 (menuKeyTyped): Marked as unimplemented.
3276 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3279 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
3280 (getDefaults): Set hash color to black.
3281 * javax/swing/plaf/basic/BasicLookAndFeel.java
3282 (initComponentDefaults): Set hash color to grey blue.
3283 * javax/swing/plaf/basic/BasicTreeUI.java
3284 (instellDefaults): Set hash color.
3285 * javax/swing/plaf/metal/MetalIconFactory.java
3286 (TreeControlIcon.paint): Rewritten.
3288 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3291 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
3292 Always cancel the current editing session before doing anything else,
3293 return immediately if this fails.
3294 (TreeHomeAction): Ensure that the lead selection path is visible after
3295 the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
3296 Likewise. TreeTraverseAction: Likewise.
3298 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3301 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
3302 Returned back the code to handle the start of the click-pause-click
3303 editing initiation, explained about this code.
3304 (TreeStartEditingAction): New inner class.
3305 (stopEditingInCompleteEditing): Explained about this field.
3306 (completeEditing(boolean, boolean, boolean): Only return early
3307 if there is no current editing session.
3308 (createDefaultActions): Install TreeStartEditingAction and
3309 TreeCancelEditingAction.
3311 2006-07-04 Mario Torre <neugens@limasoftware.net>
3313 * configure.ac: Added new option --enable-default-preferences-peer
3314 to pass user specified default preference backend.
3315 If the GConf peer is built, GConf become the default backend.
3316 * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
3318 * lib/Makefile.am: excludes files terminating in 'in' from
3320 * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
3321 from copy into META-INF.
3322 * java/util/prefs/Preferences.java: added two new import
3323 classes gnu.classpath.ServiceFactory and java.util.Iterator.
3324 (getFactory): Now try to check for
3325 a system defined default preference backend before to fall back on
3326 FileBasedPreference.
3328 2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
3331 * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
3332 (EXPANDED): Initialise to Boolean.TRUE.
3333 * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
3334 First configure layout cache and then set the assigned value
3335 as row mapper. Set the root visibility property.
3336 (toggleExpandState): Obtains expansion state from the layout cache.
3338 2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
3340 * java/lang/management/MemoryPoolMXBean.java:
3343 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
3345 * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
3347 2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
3349 * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
3350 * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
3351 * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
3352 * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
3353 * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
3354 * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
3355 * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
3356 * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
3357 * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
3358 * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
3359 * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
3360 * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
3361 * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
3362 * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
3363 * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
3364 * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
3365 * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
3366 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
3367 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
3368 * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
3369 * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
3370 * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
3371 * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
3372 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
3373 * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
3374 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
3375 * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
3376 * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
3377 * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
3378 * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
3379 * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
3380 * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
3381 * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
3382 * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
3383 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
3384 * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
3385 * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
3386 * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
3387 * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
3388 * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
3389 * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
3390 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
3391 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
3392 * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
3393 * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
3394 * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
3395 * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
3397 2006-07-02 Anthony Green <green@redhat.com>
3399 * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
3400 sure that every track written ends with an End Of Track meta
3403 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
3405 * java/lang/management/MemoryUsage.java:
3406 (toString()): Fix missing MB for maximum memory usage.
3408 2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
3411 Updated to include VMCompilationMXBeanImpl.
3412 * doc/vmintegration.texinfo:
3413 Likewise, along with update to VMMemoryMXBeanImpl
3415 * examples/gnu/classpath/examples/management/TestCompilation.java,
3416 * gnu/java/lang/management/CompilationMXBeanImpl.java,
3417 * java/lang/management/CompilationMXBeanImpl.java:
3419 * java/lang/management/ManagementFactory.java:
3420 (getCompilationMXBean()): Implemented.
3421 * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
3423 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
3424 (getHeapMemoryUsage()): Added default implementation.
3426 2006-07-02 Anthony Green <green@redhat.com>
3428 * NEWS: Mention MIDI file reader/writer providers.
3430 2006-07-02 Anthony Green <green@redhat.com>
3432 * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
3433 gnu/javax/sound/midi/file/MidiFileWriter.java,
3434 gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
3436 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3439 Updated to include VMMemoryMXBeanImpl.
3440 * doc/vmintegration.texinfo: Likewise.
3441 * examples/gnu/classpath/examples/management/TestMemory.java:
3443 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
3444 Remove redundant import.
3445 * gnu/java/lang/management/MemoryMXBeanImpl.java:
3447 * gnu/java/lang/management/ThreadMXBeanImpl.java:
3448 Remove redundant import.
3449 * java/lang/management/ManagementFactory.java:
3450 (getMemoryMXBean()): Implemented.
3451 * java/lang/management/MemoryMXBean.java,
3452 * java/lang/management/MemoryUsage.java:
3454 * java/lang/management/ThreadInfo.java:
3455 (toString()): Updated documentation.
3456 * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
3459 2006-07-01 Anthony Green <green@redhat.com>
3461 * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
3462 gnu/javax/sound/midi/file/MidiFileReader.java,
3463 gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
3464 gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
3466 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
3468 * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
3469 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
3470 * gnu/javax/crypto/prng/Fortuna.java: Likewise.
3471 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
3472 * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
3473 * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
3474 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
3476 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
3478 * gnu/javax/crypto/pad/BasePad.java: Source formatting.
3479 * gnu/javax/crypto/pad/IPad.java: Likewise.
3480 * gnu/javax/crypto/pad/PadFactory.java: Likewise.
3481 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
3482 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
3483 * gnu/javax/crypto/pad/SSL3.java: Likewise.
3484 * gnu/javax/crypto/pad/TBC.java: Likewise.
3485 * gnu/javax/crypto/pad/TLS1.java: Likewise.
3486 * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
3488 2006-07-01 Anthony Green <green@redhat.com>
3490 * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
3492 (setMessage): Fix it again, in a different setMessage method.
3494 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
3496 * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
3497 * gnu/javax/crypto/mode/CBC.java: Likewise.
3498 * gnu/javax/crypto/mode/CFB.java: Likewise.
3499 * gnu/javax/crypto/mode/CTR.java: Likewise.
3500 * gnu/javax/crypto/mode/EAX.java: Likewise.
3501 * gnu/javax/crypto/mode/ECB.java: Likewise.
3502 * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
3503 * gnu/javax/crypto/mode/ICM.java: Likewise.
3504 * gnu/javax/crypto/mode/IMode.java: Likewise.
3505 * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
3506 * gnu/javax/crypto/mode/OFB.java: Likewise.
3508 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
3510 * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
3511 * gnu/javax/crypto/mac/HMac.java: Likewise.
3512 * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
3513 * gnu/javax/crypto/mac/IMac.java: Likewise.
3514 * gnu/javax/crypto/mac/MacFactory.java: Likewise.
3515 * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
3516 * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
3517 * gnu/javax/crypto/mac/OMAC.java: Likewise.
3518 * gnu/javax/crypto/mac/TMMH16.java: Likewise.
3519 * gnu/javax/crypto/mac/UHash32.java: Likewise.
3520 * gnu/javax/crypto/mac/UMac32.java: Likewise.
3522 2006-07-01 Anthony Green <green@redhat.com>
3524 * javax/sound/midi/Track.java (vector, eventSet): Initialize.
3526 2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
3528 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
3529 * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
3530 * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
3531 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
3532 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
3533 * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
3534 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
3535 * gnu/javax/crypto/keyring/Entry.java: Likewise.
3536 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
3537 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
3538 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
3539 * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
3540 * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
3541 * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
3542 * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
3543 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
3544 * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
3545 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
3546 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
3547 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
3548 * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
3549 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
3550 * gnu/javax/crypto/keyring/Properties.java: Likewise.
3551 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
3553 2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
3555 * javax/swing/AbstractCellEditor.java: Source code formatting,
3556 * javax/swing/AbstractSpinnerModel.java: Likewise,
3557 * javax/swing/Box.java: Likewise,
3558 * javax/swing/BoxLayout.java: Likewise,
3559 * javax/swing/DefaultListModel.java: Likewise,
3560 * javax/swing/GrayFilter.java: Likewise,
3561 * javax/swing/LookAndFeel.java: Likewise,
3562 * javax/swing/ProgressMonitor.java: Likewise,
3563 * javax/swing/ProgressMonitorInputStream.java: Likewise,
3564 * javax/swing/ScrollPaneLayout.java: Likewise,
3565 * javax/swing/SpringLayout.java: Likewise,
3566 * javax/swing/event/EventListenerList.java: Likewise,
3567 * javax/swing/event/MenuEvent.java: Likewise,
3568 * javax/swing/event/TreeExpansionListener.java: Likewise.
3570 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3573 Mention threading bean and getState().
3574 * doc/vmintegration.texinfo:
3575 Update documentation for threading bean and new
3578 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3580 * examples/gnu/classpath/examples/management/TestClassLoading.java,
3581 * examples/gnu/classpath/examples/management/TestOS.java,
3582 * examples/gnu/classpath/examples/management/TestRuntime.java,
3583 * examples/gnu/classpath/examples/management/TestThread.java:
3586 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
3588 * java/lang/ThreadGroup.java
3589 (getThreadFromId, getThreadFromIdImpl): New methods.
3591 2006-07-01 Jeroen Frijters <jeroen@frijters.net>
3593 * java/lang/Thread.java:
3594 Make thread IDs start from 1 in a more efficient way.
3596 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3598 * java/lang/Thread.java:
3599 Make thread IDs start from 1.
3601 2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3603 * gnu/java/lang/management/BeanImpl.java:
3604 New superclass for all bean implementations.
3605 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
3606 Extend BeanImpl and call permission code there.
3607 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
3609 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
3610 Extend BeanImpl and call permission code there.
3611 * gnu/java/lang/management/ThreadMXBeanImpl.java:
3613 * java/lang/management/ManagementFactory.java:
3614 (getThreadMXBean()): Implemented.
3615 * java/lang/management/ThreadInfo.java:
3616 (ThreadInfo(Thread,int)): Replaced...
3617 (ThreadInfo(Thread,long,long,Object,Thread,long,long,
3618 boolean, boolean, StackTraceElement[])): with this.
3619 (getBlockedCount()): Refactored to use local variables.
3620 (getBlockedTime()): Likewise.
3621 (getLockName()): Likewise.
3622 (getLockOwnerId()): Likewise.
3623 (getLockOwnerName()): Likewise.
3624 (getStackTrace()): Likewise.
3625 (getWaitedCount()): Likewise.
3626 (getWaitedTime()): Likewise.
3627 (isInNative()): Likewise.
3628 (isSuspended()): Likewise.
3629 (toString()): Changed to use new local variables.
3630 * java/lang/management/ThreadMXBean.java:
3631 (getThreadInfo(long, int)): Corrected documentation.
3632 (getThreadInfo(long[], int)): Likewise.
3633 * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
3635 * vm/reference/java/lang/management/VMThreadInfo.java:
3638 2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
3640 * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
3641 * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
3642 * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
3643 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
3644 * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
3645 * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
3646 * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
3647 * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
3648 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
3649 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
3650 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
3651 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
3652 * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
3653 * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
3654 * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
3655 * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
3656 * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
3657 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
3658 * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
3659 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
3660 * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
3661 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
3662 * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
3663 * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
3664 * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
3665 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
3666 * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
3667 * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
3668 * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
3669 * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
3670 * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
3671 * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
3673 2006-07-01 Roman Kennke <kennke@aicas.com>
3675 * gnu/java/awt/java2d/AbstractGraphics2D.java
3676 (transform): Make field protected.
3677 (getDestinationRaster): Provide default implementation for
3678 previously abstract method.
3680 2006-06-30 Tania Bento <tbento@redhat.com>
3682 * java/awt/TextArea.java
3683 (TextArea(String, int, int, int)): No longer throws
3684 IllegalArgumentException if rows, columns, or scrollbarVisibility
3686 (TextArea(String, int, int, int)): If rows or columns are < 0,
3687 they get set to 0. If scrollbarVisibility is < 0 or > 4, it
3688 gets set to the default value of 0 (SCROLLBARS_BOTH).
3689 (appendText): Added case when peer = null.
3690 (insertText): Added case when peer == null.
3691 (replaceText): Added case when peer == null.
3692 * java/awt/TextComponent.java
3693 (TextComponent(String)): If text == null, set it to "".
3695 2006-06-30 Lillian Angel <langel@redhat.com>
3697 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
3698 (create): Added synchronized block around groupMap.get calls.
3699 (setCheckboxGroup): Likewise.
3701 2006-06-30 Lillian Angel <langel@redhat.com>
3703 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
3704 (create): Changed to be non-synchronized.
3705 (setLabel): Likewise.
3706 (setCheckboxGroup): Likewise.
3707 (addToGroupMap): Likewise. Added synchronized block around
3709 (dispose): Changed to be non-synchronized.
3711 2006-06-30 Lillian Angel <langel@redhat.com>
3713 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
3714 Changed all return values of native functions to void.
3715 (create): Changed function to be synchronized. Removed
3716 call to put value in groupMap, this is now done from
3718 (setState): Changed function to be synchronized.
3719 (setLabel): Changed function to be synchronized.
3720 (setCheckboxGroup): Changed function to be synchronized. Removed
3721 call to put value in groupMap, this is now done from
3723 (postItemEvent): Changed function to be synchronized.
3724 (addToGroupMap): New function. Called by native code to add
3725 new value to the group.
3726 (dispose): Changed function to be synchronized.
3727 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
3729 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3730 (cp_gtk_checkbox_init_jni): Added code to link to
3732 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
3733 Changed return value to void. Added call
3734 to java function to set pointer in groupMap.
3735 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
3736 changed check to an assert. Also, removed call to set/del pointer.
3737 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
3738 Likewise. Also, added check to determine if native_group should be
3740 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
3742 2006-06-30 Sven de Marothy <sven@physto.se>
3744 * gnu/java/awt/ClasspathToolkit.java,
3745 * gnu/java/awt/peer/x/XToolkit.java,
3746 * gnu/java/awt/peer/qt/QtToolkit.java,
3747 * gnu/java/awt/peer/gtk/GtkToolkit.java,
3748 Remove ClasspathTextLayoutPeer.
3749 * gnu/java/awt/peer/gtk/GdkTextLayout.java,
3750 * gnu/java/awt/peer/ClasspathTextLayoutPeer:
3753 2006-06-30 Sven de Marothy <sven@physto.se>
3755 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
3756 (drawGlyphVector): Don't draw empty vectors.
3758 2006-06-30 Lillian Angel <langel@redhat.com>
3759 Tom Fitzsimmons <fitzsim@redhat.com>
3761 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
3762 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
3763 Added current_group, groupMap fields. Added definitions for
3764 new native functions.
3765 (create): Removed FIXME. Added code to create the check button or
3766 radio button when appropriate. Updated groupMap to contain
3767 pointer to the newly created group.
3768 (setCheckboxGroup): Added code to handle all cases. Removing
3769 a button from a group, adding a button to a group, or changing the
3771 (dispose): Changed to call super.
3772 * include/Makefile.am: Removed reference to
3773 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
3774 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
3775 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
3777 * native/jni/gtk-peer/Makefile.am: Removed reference to
3778 gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
3779 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
3781 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3782 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
3783 Renamed to checkbox_get_widget.
3784 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
3785 Changed to use checkbox_get_widget.
3786 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
3788 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
3789 Changed to use checkbox_get_widget.
3790 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
3792 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
3793 New function. Creates checkbutton without a group.
3794 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
3795 Creates a radio button in a group, using groupPointer. If groupPointer
3796 is 0, then a new group is created.
3797 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
3798 check button to a group, using groupPointer. A radio button is created
3799 in its place. If groupPointer is 0, then a new group is created.
3800 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
3801 radio button is removed from the group. A check button is created in
3803 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
3804 radio button is moved to a new group.
3806 2006-06-30 Mark Wielaard <mark@klomp.org>
3808 * configure.ac: Move standard.omit creation after dirs are created.
3809 Cat standard.omit.in from srcdir. Make exclude regex more explicit.
3810 * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
3811 (clean-local): Remove standard.omit.
3812 * lib/gen-classlist.sh.in: Use omit file in build dir.
3813 * lib/standard.omit.in: Make exclude regex more explicit.
3815 2006-06-30 Roman Kennke <kennke@aicas.com>
3817 * lib/Makefile.am: Added Escher dir/jar to classpath when
3819 * configure.ac: Moved handling of standard.omit to a place
3820 where it actually gets executed.
3822 2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
3824 * java/awt/TextComponent.java: Reformatted source code,
3825 * java/awt/TextField.java: Likewise.
3827 2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
3829 * java/lang/Thread.java:
3830 (getState()): Handle case of no VMThread
3833 2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3835 * java/lang/Thread.java,
3836 * java/lang/VMThread.java:
3837 Reverted patch from 2006-06-28.
3839 2006-06-29 Roman Kennke <kennke@aicas.com>
3841 * gnu/java/awt/peer/x/GLGraphics.java,
3842 * gnu/java/awt/peer/x/ImageConverter.java,
3843 * gnu/java/awt/peer/x/KeyboardMapping.java,
3844 * gnu/java/awt/peer/x/XEventPump.java,
3845 * gnu/java/awt/peer/x/XFontPeer.java,
3846 * gnu/java/awt/peer/x/XFontPeer2.java,
3847 * gnu/java/awt/peer/x/XFramePeer.java,
3848 * gnu/java/awt/peer/x/XGraphics.java,
3849 * gnu/java/awt/peer/x/XGraphics2D.java,
3850 * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
3851 * gnu/java/awt/peer/x/XGraphicsDevice.java,
3852 * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
3853 * gnu/java/awt/peer/x/XImage.java,
3854 * gnu/java/awt/peer/x/XLightweightPeer.java,
3855 * gnu/java/awt/peer/x/XToolkit.java,
3856 * gnu/java/awt/peer/x/XWindowPeer.java,
3857 * gnu/java/awt/peer/x/fonts.properties: New files.
3858 * lib/standard.omit: Removed.
3859 * lib/standard.omit.in: Added.
3860 * configure.ac: Added configure option --with-escher. Added some
3861 configury for omitting gnu.java.awt.peer.x package when
3862 this option is not specified.
3864 2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
3866 * javax/swing/JComponent.java
3867 (JComponent()): Initialize the locale here, not the default locale,
3868 (getDefaultLocale): If null, return Locale.getDefault(),
3869 (setDefaultLocale): Added API docs.
3871 2006-06-29 Tania Bento <tbento@redhat.com>
3873 * java/awt/Container.java
3874 (applyComponentOrientation): Implemented method.
3876 2006-06-29 Gary Benson <gbenson@redhat.com>
3878 * java/io/File.java (listRoots): Merge security checks from libgcj.
3880 2006-06-29 Gary Benson <gbenson@redhat.com>
3882 * java/io/FilePermission.java (implies): Work when path is "/".
3884 2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
3886 * java/lang/Thread.java:
3887 (Thread(ThreadGroup,Runnable,String,long)): Update
3889 (Thread(VMThread,String,int,boolean)): Likewise.
3890 (join(long,int)): Likewise.
3891 (resume()): Likewise.
3892 (sleep(long,int)): Likewise.
3893 (start()): Likewise.
3895 (suspend()): Likewise.
3897 (getState()): Return either state or use VMThread.
3898 * java/lang/VMThread.java:
3899 (getState()): Added default implementation to return
3902 2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
3904 * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
3905 GdkPixbuf correctly on big endian systems. Fix a typo in the little
3906 endian swapping code.
3908 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
3909 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
3910 without alpha information correctly on big endian systems.
3912 2006-06-28 Roman Kennke <kennke@aicas.com>
3914 * gnu/java/net/local/LocalSocket.java
3915 (setSoTimeout): Don't throw exception and ignore request.
3916 (getSoTimeout): Don't throw exception and always return 0.
3918 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
3920 * javax/swing/JComponent.java
3921 (getRegisteredKeyStrokes): Implemented.
3923 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
3925 * javax/swing/JComponent.java
3926 (verifyInputWhenFocusTarget): Initialise to true.
3928 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
3930 * java/beans/VetoableChangeSupport.java
3931 (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
3933 (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
3934 for null property name and/or listener,
3935 * javax/swing/JComponent.java
3936 (getListeners): Handle VetoableChangeListener.class as a special case,
3937 (getVetoableChangeListeners): Fetch these from the
3938 vetoableChangeSupport object.
3940 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
3942 * javax/swing/JComponent.java
3943 (componentPopupMenu): New field,
3944 (inheritsPopupMenu): New field,
3945 (getInheritsPopupMenu): Implemented,
3946 (setInheritsPopupMenu): Likewise,
3947 (getComponentPopupMenu): Likewise,
3948 (setComponentPopupMenu): Likewise,
3949 * javax/swing/JLabel.java
3950 (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
3952 2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
3954 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
3955 (toString): New method.
3956 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
3957 (toString): New method.
3958 * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
3959 (toString): New method.
3960 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
3961 Handle case when Q is null.
3962 (decodePrivateKey): Likewise.
3963 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
3965 (decodePublicKey): Likewise.
3966 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
3967 aliases for all block ciphers.
3968 * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
3969 (engineDoPhase): Compute fully the shared secret.
3970 (checkState): New method.
3972 (engineGenerateSecret()): Reset key-agreement before returning.
3973 (engineGenerateSecret(byte[],int)): Check for short-buffer.
3974 Reset key-agreement before returning.
3975 (engineGenerateSecret(String)): Reset key-agreement before returning.
3976 (engineInit(Key,SecureRandom)): Call reset() before returning.
3977 * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
3978 (engineInit): Replace printing to System.out with conditional logging.
3979 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
3980 When the key-size is not specified, attempt best effort to find a suitable
3981 value among those advertised by the cipher before setting it to the length
3982 of provided key material.
3984 2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
3986 * javax/swing/table/DefaultTableColumnModel.java
3987 (changeEvent): Don't initialize yet, removed FIXME,
3988 (fireColumnModelChanged): Initialize changeEvent if necessary.
3990 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
3992 * java/lang/Thread.java:
3993 (getAllStackTraces()): Implemented.
3994 (getStackTrace()): Likewise.
3996 2006-06-27 Tania Bento <tbento@redhat.com>
3998 * java/awt/Component.java
3999 (setComponentOrientation): NPE should not be thrown.
4001 2006-06-27 Tom Tromey <tromey@redhat.com>
4003 * configure.ac: Create gjar, gnative2ascii, gserialver.
4004 * tools/gappletviewer.in: Quote $@.
4005 * tools/gkeytool.in: Likewise.
4006 * tools/gjarsigner.in: Likewise.
4007 * tools/gjar.in: New file.
4008 * tools/gnative2ascii.in: Likewise.
4009 * tools/gserialver.in: Likewise.
4010 * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
4012 (bin_SCRIPTS): Likewise.
4014 2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
4016 * java/lang/management/ThreadMXBean.java:
4017 (getThreadInfo(long[])): Corrected return type.
4018 (getThreadInfo(long[], int)): Likewise.
4020 2006-06-27 Mark Wielaard <mark@klomp.org>
4022 * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
4023 nothing when listener is null.
4024 (removeFlavorListener): Likewise.
4026 * java/awt/datatransfer/DataFlavor.java
4027 (getRepresentationClassFromMime): Renamed to
4028 getRepresentationClassFromMimeThrows.
4029 (isRepresentationClassInputStream): Use Class.isAssignableFrom().
4030 (isRepresentationClassSerializable): Likewise.
4031 (isFlavorJavaFileListType): Likewise and check primary and
4033 (getParameter): Parameters are separated by semi-colons.
4034 (DataFlavor(Class,String,String)): Do some sanity checks.
4035 (DataFlavor(String,String,ClassLoader)): Call
4036 getRepresentationClassFromMimeThrows.
4037 (DataFlavor(String)): Likewise.
4038 (equals(DataFlavor)): Special case primary type text and charset
4041 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
4043 * java/awt/Component.java
4044 (setName): Fire required PropertyChangeEvent,
4045 * java/awt/Label.java
4046 (getText): Removed redundant brackets,
4047 (generateName): New method (override),
4048 (nextLabelNumber): New field,
4049 (getUniqueLong): New method.
4051 2006-06-27 Roman Kennke <kennke@aicas.com>
4053 * gnu/java/awt/peer/swing/SwingComponentPeer.java
4054 (createImage): Delegate this to the parent.
4055 (handleEvent): Only handle PAINT/UPDATE events when the
4056 component is actually showing.
4057 (hide): Repaint the parent after hiding a component.
4058 (prepareImage): Have only one return point.
4059 (setVisible): Delegate to show() and hide().
4060 (createVolatileImage): Added null check to avoid NPE.
4062 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
4064 * java/awt/Label.java: Reformatted source code.
4066 2006-06-27 Roman Kennke <kennke@aicas.com>
4068 * java/awt/image/BufferedImage.java
4069 (getSource): Use a fixed DirectColorModel to deliver the
4070 RGB pixels to the ImageConsumer.
4072 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
4074 * java/awt/Point.java
4075 (setLocation(double, double)): Round to nearest integer coordinates.
4077 2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
4079 * java/awt/Component.java
4080 (minSizeSet): New field,
4081 (maxSize): Likewise,
4082 (maxSizeSet): Likewise,
4083 (isMaximumSizeSet): Implemented,
4084 (isMinimumSizeSet): Likewise,
4085 (isPreferredSizeSet): Likewise,
4086 (setMaximumSize): Likewise,
4087 (setMinimumSize): Likewise,
4088 (setPreferredSize): Likewise.
4090 2006-06-27 Roman Kennke <kennke@aicas.com>
4092 * javax/imageio/spi/IIORegistry.java
4093 (IIORegistry): Added BMP codec.
4095 2006-06-27 Mark Wielaard <mark@klomp.org>
4097 * javax/swing/JComponent.java
4098 (firePropertyChange(String,char,char)): New override method.
4100 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
4102 * java/lang/Thread.java:
4103 (getState()): New method.
4104 * java/lang/management/ClassLoadingMXBean.java:
4105 Corrected class documentation.
4106 * java/lang/management/ManagementFactory.java:
4107 Added new temporary marked stub to get thread bean.
4108 * java/lang/management/OperatingSystemMXBean.java:
4109 Corrected class documentation.
4110 * java/lang/management/RuntimeMXBean.java:
4111 Corrected class documentation.
4112 * java/lang/management/ThreadInfo.java,
4113 * java/lang/management/ThreadMXBean.java:
4115 * vm/reference/java/lang/VMThread.java:
4116 (getState()): New method.
4117 * vm/reference/java/lang/management/VMThreadInfo.java:
4120 2006-06-26 Sven de Marothy <sven@physto.se>
4122 * gnu/javax/imageio/gif/GIFFile.java
4123 * gnu/javax/imageio/gif/GIFImageReader.java
4124 * gnu/javax/imageio/gif/GIFImageSpi.java
4125 * gnu/javax/imageio/gif/GIFStream.java
4127 * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
4129 2006-06-26 Tania Bento <tbento@redhat.com>
4131 * java/awt/List.java
4132 (List): A list should have at least 4 visible rows.
4133 (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
4134 not an IllegalArgumentException.
4135 (makeVisible): Should not throw an IllegalArgumentException if
4136 the specified index is out of range.
4138 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
4140 * javax/swing/JList.java
4141 (getNextMatch): Reimplemented to perform a circular search for the
4144 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
4146 * javax/swing/JList.java
4147 (init): Set default value for visibleRowCount to 8,
4148 (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
4150 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
4152 * javax/swing/JList.java
4153 (valueIsAdjusting): Removed,
4154 (init): Removed initialization of valueIsAdjusting field,
4155 (getValueIsAdjusting): Fetch value from selection model,
4156 (setValueIsAdjusting): Store value in selection model.
4158 2006-06-26 Roman Kennke <kennke@aicas.com>
4160 * javax/swing/plaf/basic/BasicListUI.java
4161 (installKeyboardActions): Rewritten to fit with the
4162 ActionMap/InputMap architecture.
4163 (uninstallKeyboardActions): Implemented.
4164 (ListAction): Made private. Added TODO for splitting
4165 up this bulk Action.
4166 (ListAction.ListAction): New constructor. This one
4167 takes a cmd parameter to be installed as actionCommand.
4169 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
4171 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
4172 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
4174 2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
4176 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
4177 * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
4178 * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
4179 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
4180 * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
4181 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
4182 * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
4183 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
4184 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
4185 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
4186 * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
4187 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
4188 * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
4189 * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
4190 * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
4191 * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
4192 * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
4193 * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
4194 * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
4195 * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
4196 * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
4197 * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
4198 * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
4199 * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
4200 * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
4201 * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
4202 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
4203 * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
4204 * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
4205 * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
4206 * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
4207 * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
4208 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
4209 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
4210 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
4211 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
4212 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
4213 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
4214 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
4215 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
4216 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
4217 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
4218 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
4219 * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
4220 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
4221 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
4222 * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
4223 * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
4224 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
4225 * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
4226 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
4227 * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
4228 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
4229 * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
4230 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
4231 * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
4232 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
4233 * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
4234 * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
4235 * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
4236 * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
4237 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
4238 * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
4239 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
4240 * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
4241 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
4242 * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
4243 * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
4244 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
4245 * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
4246 * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
4247 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
4248 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
4249 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
4250 * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
4251 * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
4252 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
4253 * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
4254 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
4255 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
4256 * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
4257 * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
4259 2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
4261 * javax/swing/JList.java
4262 (setLayoutOrientation): Check for valid argument.
4264 2006-06-26 Roman Kennke <kennke@aicas.com>
4266 * javax/swing/JComponent.java
4267 (firePropertyChange(String,int,int)): New method. Overrides
4268 Component method and makes it public.
4269 (firePropertyChange(String,boolean,boolean)): Likewise.
4271 2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
4273 * gnu/java/security/.cvsignore: New File.
4274 * gnu/java/security/Configuration.java.in: New File.
4275 * gnu/java/security/Properties.java: Change import from
4276 gnu.classpath.Configuration to gnu.java.security.Configuration.
4277 * gnu/java/security/hash/Whirlpool.java: Likewise.
4278 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
4279 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
4280 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
4281 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
4282 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
4283 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
4284 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
4285 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
4286 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
4287 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
4288 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
4289 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
4290 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
4291 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
4292 * gnu/java/security/util/Base64.java: Likewise.
4293 * gnu/java/security/x509/X509CRL.java: Likewise.
4294 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
4295 * gnu/java/security/x509/ext/Extension.java: Likewise.
4296 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
4297 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
4298 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
4299 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
4300 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
4301 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
4302 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
4303 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
4304 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
4305 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
4306 * gnu/javax/crypto/keyring/Entry.java: Likewise.
4307 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
4308 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
4309 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
4310 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
4311 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
4312 * gnu/javax/crypto/mac/OMAC.java: Likewise.
4313 * gnu/javax/crypto/pad/BasePad.java: Likewise.
4314 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
4315 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
4316 * gnu/javax/crypto/pad/TBC.java: Likewise.
4317 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
4318 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
4319 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
4320 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
4321 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
4322 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
4323 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
4324 * gnu/javax/security/auth/login/GnuConfiguration.java
4325 (getAppConfigurationEntry): Change reference to
4326 gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
4327 (getConfigFromUserHome): Likewise.
4328 (getInputStreamFromURL): Likewise.
4329 (getUserHome): Likewise.
4331 (processSecurityProperties): Likewise.
4332 (processSystemProperty): Likewise.
4333 (processUserHome): Likewise.
4334 * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
4335 * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
4338 2006-06-25 Carsten Neumann <cn-develop@gmx.net>
4340 * javax/swing/text/DefaultCaret.java (isActive): New method.
4342 2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
4344 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
4345 * java/lang/management/ClassLoadingMXBean.java:
4346 (getTotalLoadedClassCount()): Corrected return type.
4347 (getUnloadedClassCount()): Likewise.
4348 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
4349 (getUnloadedClassCount()): Likewise.
4351 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
4353 * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
4354 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
4355 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
4356 * gnu/javax/crypto/cipher/Square.java: Likewise.
4357 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
4358 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
4359 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
4360 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
4361 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
4362 * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
4363 * gnu/javax/crypto/cipher/DES.java: Likewise.
4364 * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
4365 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
4366 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
4367 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
4368 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
4370 2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
4372 * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
4373 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
4374 * gnu/javax/crypto/assembly/Stage.java: Likewise.
4375 * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
4376 * gnu/javax/crypto/assembly/Operation.java: Likewise.
4377 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
4378 * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
4379 * gnu/javax/crypto/assembly/Direction.java: Likewise.
4380 * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
4381 * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
4382 * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
4383 * gnu/javax/crypto/assembly/Cascade.java: Likewise.
4384 * gnu/javax/crypto/assembly/Assembly.java: Likewise.
4386 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
4389 * doc/vmintegration.texinfo:
4390 Updated with information on new VM interface.
4391 * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
4392 * java/lang/management/ClassLoadingMXBean.java:
4393 New files implementing the class loading bean.
4394 * java/lang/management/ManagementFactory.java:
4395 (getClassLoadingMXBean()): Implemented.
4396 * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
4397 New VM interface file.
4399 2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
4401 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
4402 (isBootClassPathSupported()): Use SystemProperties
4403 rather than System.getProperty.
4405 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
4407 * gnu/java/security/Properties.java: Source formatting.
4408 * gnu/java/security/Registry.java: Likewise.
4410 2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
4412 * gnu/java/security/util/Util.java: Source formatting.
4413 * gnu/java/security/util/SimpleList.java: Likewise.
4414 * gnu/java/security/util/Sequence.java: Likewise.
4415 * gnu/java/security/util/PRNG.java: Likewise.
4416 * gnu/java/security/util/ExpirableObject.java: Likewise.
4417 * gnu/java/security/util/Base64.java: Likewise.
4418 * gnu/java/security/sig/SignatureFactory.java: Likewise.
4419 * gnu/java/security/sig/ISignatureCodec.java: Likewise.
4420 * gnu/java/security/sig/ISignature.java: Likewise.
4421 * gnu/java/security/sig/BaseSignature.java: Likewise.
4422 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
4423 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
4424 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
4425 * gnu/java/security/sig/rsa/RSA.java: Likewise.
4426 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
4427 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
4428 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
4429 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
4430 * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
4431 * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
4432 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
4433 * gnu/java/security/provider/Gnu.java: Likewise.
4434 * gnu/java/security/prng/RandomEventListener.java: Likewise.
4435 * gnu/java/security/prng/RandomEvent.java: Likewise.
4436 * gnu/java/security/prng/PRNGFactory.java: Likewise.
4437 * gnu/java/security/prng/MDGenerator.java: Likewise.
4438 * gnu/java/security/prng/LimitReachedException.java: Likewise.
4439 * gnu/java/security/prng/IRandom.java: Likewise.
4440 * gnu/java/security/prng/EntropySource.java: Likewise.
4441 * gnu/java/security/prng/BasePRNG.java: Likewise.
4443 2006-06-23 Francis Kung <fkung@redhat.com>
4445 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
4446 (Harness.actionPerformed): Process additional options.
4447 (J2dBenchmarkWrapper): Defer init call until after options are processed.
4448 (J2dBenchmarkWrapper.setAlias): New method.
4449 (J2dBenchmarkWrapper.setComposite): New method.
4450 (J2dBenchmarkWrapper.setFill): New method.
4451 (J2dBenchmarkWrapper.setRotation): New method.
4452 (J2dBenchmarkWrapper.setShear): New method.
4453 (J2dBenchmarkWrapper.setStroke): New method.
4454 (J2dBenchmarkWrapper.setTranslation): New method.
4455 (run): Add additional options to GUI.
4456 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
4457 Added protected fields for various options.
4458 (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
4459 (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
4460 (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
4461 (getNextColor): Renamed to setRandom.
4462 (init): Load additional image for texturing if needed.
4463 (loadBufferedImage): New method.
4464 (main): Accept additional command-line switches.
4465 (prepareGraphics): New method.
4466 (resetGraphics): New method.
4467 (runTestSuite): Accept additional image-processing options.
4468 (setRandom): Renamed from getNextColor; generate various random options
4469 (test_drawArc): Rename getNextColor to setRandom.
4470 (test_drawCubic): Likewise.
4471 (test_drawEllipse): Likewise.
4472 (test_drawGeneralPath): Likewise.
4473 (test_drawImage): Likewise.
4474 (test_drawLine): Likewise.
4475 (test_drawQuadCurve): Likewise.
4476 (test_drawRectangle): Likewise.
4477 (test_drawRoundRectangle): Likewise.
4478 (test_drawTransparentImage): Likewise.
4479 (test_fillArc): Rename getNextColor to setRandom.
4480 (test_fillEllipse): Likewise.
4481 (test_fillGeneralPath): Likewise.
4482 (test_fillRectangle): Likewise.
4483 (test_fillRoundRectangle): Likewise.
4484 (TestRecorder.getAverage): Round the average time.
4486 2006-06-23 Tom Tromey <tromey@redhat.com>
4488 * java/util/logging/LoggingMXBean.java: New file.
4489 * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
4490 (loggingBean): New field.
4491 (getLoggingMXBean): New method.
4493 2006-06-23 Tania Bento <tbento@redhat.com>
4495 * java/awt/TextField.java
4496 (TextField): Default number of columns should be 0, not 1.
4497 (TextField): Check if number of columns given as argument
4498 is valid (>= 0) and set the number of columns accordingly.
4499 (TextField): Check if the string passed is null. If it is,
4500 set columns to 0, else columns is set to the length of
4503 2006-06-23 Roman Kennke <kennke@aicas.com>
4505 * javax/swing/plaf/basic/BasicInternalFrameUI.java
4506 (InternalFramePropertyChangeListener.propertyChange):
4507 Don't call getPropertyName() repeatedly. Added null checks
4508 to avoid NPEs. Call closeFrame() if the closed property
4511 2006-06-23 Roman Kennke <kennke@aicas.com>
4513 * javax/swing/JInternalFrame.java
4514 (maxTransition): Removed.
4515 (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
4516 Don't initialize storedBounds here.
4517 (dipose): Rewritten to correctly dispose the JInternalFrame.
4518 (getDesktopIcon): Don't initialize desktopIcon here.
4519 (getLayer): Delegate to JLayeredPane.getLayer().
4520 (getNormalBounds): Return bounds when storedBounds == null,
4521 otherwise storedBounds.
4522 (hide): Don't change selection. Also hide the desktopIcon.
4523 (moveToBack): Call getParent() only once.
4524 (moveToFront): Call getParent() only once.
4525 (pack): Call validate() to make sure that the layout is
4526 propagated to the children.
4527 (setClosed): Fire InternalFrameEvent first, before the
4529 (setJMenuBar): Fire PropertyChangeEvent for this property.
4530 (setLayer): Delegate to JLayeredPane.
4531 (setLayeredPane): Check for null and throw IllegalArgumenException.
4532 (setMaximum): Remove handling of maxTransition and normalBounds.
4533 Should probably be done in the UI.
4534 (setNormalBounds): Store Rectangle object directly, not a copy.
4535 (setRootPane): Go into rootPaneCheckingEnabled mode so that
4536 adding the RootPane doesn't add it to the contentPane.
4537 Fire PropertyChangeEvent.
4538 (setSelected): Added condition for when this property must not
4540 (show): Don't ask the DesktopPane to select the frame. Moved
4541 code around to fire InternalFrameEvent before actually calling
4542 super.show(). Also make the desktopIcon visible.
4543 (setTitle): Fire PropertyChangeEvent unconditionally.
4545 2006-06-23 Roman Kennke <kennke@aicas.com>
4547 * javax/swing/JLayeredPane.java
4548 (getPosition): Moved code around to avoid unnecessary method calls.
4549 (setPosition): Delegate to setLayer().
4550 (insertIndexForLayer(int,int)): Delegate to new private helper method.
4551 (insertIndexForLayer(Component,int,int)): New helper method
4552 to support the use of setComponentZOrder() which doesn't remove
4553 the component and thus the insertIndexForLayer must ignore
4554 the component to be moved to get the index right.
4555 (setLayer): Added check to prevent unnecessary execution of
4556 method body. Changed to update the component order here.
4557 Added repaint() to make sure that the update becomes visible.
4558 (addImpl): Call setLayer() only when a constraint has been specified.
4559 Validate and repaint the JLayeredPane.
4561 2006-06-23 Roman Kennke <kennke@aicas.com>
4563 * java/awt/Container.java
4564 (getComponentZOrder): Use ncomponents instead of
4565 component.length so that we don't consider the empty space
4566 after the last component.
4568 2006-06-22 Roman Kennke <kennke@aicas.com>
4570 * javax/swing/JComponent.java
4571 (vetoableChangeSupport): New field.
4572 (removeVetoableChangeListener): Rewritten to use
4573 vetoableChangeSupport.
4574 (addVetoableChangeListener): Rewritten to use
4575 vetoableChangeSupport.
4576 (fireVetoableChange): Rewritten to use
4577 vetoableChangeSupport.
4578 (addPropertyChangeListener): Removed. This is handled in
4580 (firePropertyChange(String,boolean,boolean)): Likewise.
4581 (firePropertyChange(String,char,char)): Likewise.
4582 (firePropertyChange(String,int,int)): Likewise.
4583 (revalidate): Don't do anything when the commponent has no
4586 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
4588 * javax/swing/JLabel.java: Updated API docs.
4590 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
4592 * java/awt/Insets.java: Updated copyright year.
4593 (toString): Changed string, removed a line from the
4596 2006-06-22 Roman Kennke <kennke@aicas.com>
4598 * javax/swing/text/AbstractDocument.java
4599 (AbstractDocument): Set the i18n document property.
4600 (removeImpl): Added checks for correct boundaries.
4602 2006-06-22 Roman Kennke <kennke@aicas.com>
4604 * javax/swing/text/PlainDocument.java
4605 (rootElement): Changed type to Element.
4606 (tabSize): Removed field. This is stored in the document properties
4608 (PlainDocument): Set tabSize property. Init rootElement without
4610 (insertUpdate): Rewritten. The previous implementation did not
4611 handle some corner cases properly and was a mess.
4612 (removeUpdate): Cast rootElement to BranchElement.
4614 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
4616 * javax/swing/plaf/basic/BasicLabelUI.java
4617 (installKeyboardActions): Implemented,
4618 (uninstallKeyboardActions): Implemented,
4619 (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
4622 2006-06-22 Robert Schuster <robertschuster@fsfe.org>
4624 * javax/swing/JMenu.java:
4625 (removeAll): Added check for popupMenu not being null.
4627 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
4629 * javax/swing/JLabel.java
4630 (getText): Updated API docs,
4631 (setText): Corrected the check for an unchanged value, and the update
4632 of the displayedMnemonicIndex.
4634 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
4636 * javax/swing/JLabel.java
4637 (setDisplayedMnemonic(int)): Fire property change event AFTER updating
4639 (setDisplayedMnemonicIndex): Modified argument checking to handle case
4640 where label text is null.
4642 2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
4644 * javax/swing/JLabel.java
4645 (setDisplayedMnemonic): Updated API docs,
4646 (getDisplayedMnemonic): Removed unnecessary type-cast,
4647 (setDisplayedMnemonicIndex): Removed unnecessary validation,
4648 (getDisplayedMnemonicIndex): Updated API docs.
4650 2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
4652 * javax/swing/DefaultListSelectionModel.java
4653 (getSelectionMode): Updated API docs,
4654 (setAnchorSelectionIndex): Added ListSelectionEvent generation,
4655 (addSelectionInterval): If mode is SINGLE_SELECTION, just call
4656 setSelectionInterval(),
4657 (setSelectionInterval): Reimplemented SINGLE_SELECTION and
4658 SINGLE_INTERVAL_SELECTION cases.
4660 2006-06-21 Roman Kennke <kennke@aicas.com>
4662 * javax/swing/text/AbstractDocument.java
4663 (BranchElement.numChildren): New field.
4664 (BranchElement.BranchElement): Initialize children array with
4665 one element (that's the least number of elements that makes sense).
4666 Initialize numChildren.
4667 (BranchElement.children): Use numChildren as boundary.
4668 (BranchElement.getElement): Use numChildren as boundary.
4669 (BranchElement.getElementCount): Use numChildren as boundary.
4670 (BranchElement.getElementIndex): Use numChildren as boundary.
4671 (BranchElement.getEndOffset): Use numChildren as boundary.
4672 (BranchElement.getStartOffset): Use numChildren as boundary.
4673 (BranchElement.positionToElement): Use numChildren as boundary.
4674 (BranchElement.replace): Handle the children array more efficiently
4675 by growing in blocks > 1, and reusing space from removed elements.
4676 (LeafElement.startDelta): Removed.
4677 (LeafElement.endDelta): Removed.
4678 (LeafElement.LeafElement): Removed handling of deltas.
4679 (LeafElement.getEndOffset): Likewise.
4680 (LeafElement.getStartOffset): Likewise.
4681 * javax/swing/text/JTextComponent.java
4682 (setDocument): Added locking of the old document to avoid dangling
4683 notification beeing delivered while the document is beeing
4685 (getScrollableTracksViewportWidth): Fixed condition.
4686 * javax/swing/text/PlainDocument.java
4687 (createDefaultRoot): Create elements without AttributeSet.
4688 * javax/swing/text/rtf/RTFParser.java
4689 (parseFile): Handle slightly incorrect RTF gracefully.
4690 * javax/swing/text/rtf/RTFScanner.java
4691 (lastToken): New field.
4692 (readTokenImpl): New method.
4693 (peekToken): New method.
4694 (readToken): Changed to call readTokenImpl or return the lastToken
4695 if there's one present.
4697 2006-06-21 Tania Bento <tbento@redhat.com>
4699 * javax/swing/JMenu.java
4700 (remove): An IllegalArgumentException should be thrown if
4701 either index < 0 or if index > 0 and there are no menu
4702 components. Also, a check was added that ensures there are
4703 menu components before removing the desired the component.
4705 2006-06-21 Lillian Angel <langel@redhat.com>
4707 * javax/swing/text/DefaultCaret.java
4708 (install): Added check to prevent NPE.
4709 (propertyChange): Added checks to prevent NPEs.
4711 2006-06-21 Tania Bento <tbento@redhat.com>
4713 * javax/swing/JMenu.java
4714 Changed instantiation of popupMenu to null.
4715 (JMenu): Instantiated popupMenu to new JPopupMenu.
4716 (JMenu): Instantiated popupMenu to new JPopupMenu.
4717 (add): Changed popupMenu to getPopupMenu().
4718 (add): Changed popupMenu to getPopupMenu().
4719 (add): Changed popupMenu to getPopupMenu().
4720 (add): Changed popupMenu to getPopupMenu().
4721 (remove): Changed popupMenu to getPopupMenu().
4722 (remove): Changed popupMenu to getPopupMenu().
4723 (insert): Changed popupMenu to getPopupMenu().
4724 (setSelectedHelper): Changed popupMenu to getPopupMenu().
4725 (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
4726 (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
4727 (getMenuComponentCount): Changed popupMenu to getPopupMenu().
4728 (getMenuComponents): Changed popupMenu to getPopupMenu().
4729 (getPopupMenu): Check first if popupMenu is null and if so,
4730 instantiate it to a new JPopupMenu and set the invoker.
4731 * javax/swing/plaf/basic/BasicPopupMenuUI.java
4732 (popupMenuWillBecomeVisible): Component Listener should only
4733 be added to the root container if the root container is not
4734 null. This avoids a null pointer exception.
4736 2006-06-21 Tania Bento <tbento@redhat.com>
4738 * javax/swing/JMenu.java
4739 (JMenu): Delay should be set to 200, not default of 0.
4740 (JMenu): Delay should be set to 200, not default of 0.
4741 (JMenu): Delay should be set to 200, not default of 0.
4742 (JMenu): Delay should be set to 200, not default of 0.
4743 (remove): Added check that index >= 0 before removing
4745 (getItem): Return null if item count equals 0.
4746 (isTearOff): Should throw new error and not return false.
4747 (getMenuComponent): Return null if popupMenu is null or
4748 if there are no menu components.
4750 2006-06-21 Roman Kennke <kennke@aicas.com>
4752 * java/awt/font/FontRenderContext.java:
4753 (equals): Added special conditions for affineTransform beeing
4756 2006-06-21 Roman Kennke <kennke@aicas.com>
4758 * javax/swing/UIManager.java
4759 (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
4760 must not be cleared.
4762 2006-06-21 Roman Kennke <kennke@aicas.com>
4764 * javax/swing/plaf/metal/MetalUtils.java
4765 (paintHorizontalGradient): Use paintHorizontalGradient2D when
4766 Graphics2D is available. Use fillRect instead of drawLine, this
4768 (paintVerticalGradient): Use paintHorizontalGradient2D when
4769 Graphics2D is available. Use fillRect instead of drawLine, this
4771 (paintHorizontalGradient2D): New method. Paints gradient
4772 using Graphics2D functions.
4773 (paintVerticalGradient2D): New method. Paints gradient
4774 using Graphics2D functions.
4776 2006-06-21 Roman Kennke <kennke@aicas.com>
4778 * javax/swing/plaf/basic/BasicButtonListener.java
4779 (propertyChange): Create a TextLayout and store it in the button
4780 when the 'text' property changes.
4781 * javax/swing/plaf/basic/BasicButtonUI.java
4782 (paintText): Call BasicGraphicsUtils utility method for
4783 drawing strings, instead of Graphics.drawString().
4784 * javax/swing/plaf/basic/BasicGraphicsUtils.java
4785 (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
4786 cached text layouts as client properties in JComponents.
4787 (drawString(JComponent,Graphics,String,int,int)): New helper method.
4788 (drawStringUnderlineCharAt): New helper method.
4789 * javax/swing/plaf/basic/BasicMenuItemUI.java
4790 (PropertyChangeHandler.propertyChange): Update cached text layout
4791 when 'text' property changes. Use equals() instead of == for
4793 (paintText): Use new BasicGraphicsUtils methods for painting
4794 the cached text layout.
4795 (installListeners): Call super.installListeners() and remove
4796 the unneeded listener installs.
4797 (uninstallListeners): Call super.uninstallListeners() and remove
4798 the unneeded listener uninstalls.
4800 2006-06-21 Roman Kennke <kennke@aicas.com>
4802 * javax/swing/plaf/basic/BasicTextUI.java
4803 (PropertyChangeHandler.propertyChange): Handle document listener
4805 (background): Removed unneeded fields.
4806 (inactiveBackground): Remove unneeded fields.
4807 (installUI): Install the document listener. Slightly changed
4808 order of operations. Don't trigger modelChanged().
4809 (installDefaults): Only install properties when the
4810 current properties are null or instances of UIResource.
4811 (installListeners): Removed unnecessary listener installs.
4812 (installDocumentListeners): Removed unneeded method.
4813 (uninstallListeners): Removed unnecessary listener uninstalls.
4814 (modelChanged): Removed call to installDocumentListeners().
4815 * javax/swing/plaf/basic/BasicTextFieldUI.java
4816 (propertyChange): Update the colors by fetching them from
4817 SharedUIDefaults. Fixed conditions.
4818 * javax/swing/plaf/basic/SharedUIDefaults.java
4819 (getColor): New method.
4821 2006-06-21 Roman Kennke <kennke@aicas.com>
4823 * javax/swing/SizeSequence.java
4824 (SizeSequence): Initialize array with correct number of entries.
4826 2006-06-21 Roman Kennke <kennke@aicas.com>
4828 * javax/swing/JSplitPane.java
4829 (setDividerLocation): Substract divider size when computing
4832 2006-06-21 Roman Kennke <kennke@aicas.com>
4834 * javax/swing/JComponent.java
4835 (paintChildrenWithOverlap): Determine opaque property by
4836 calling the corresponding Component method, without requiring
4838 (paintChildrenOptimized): Removed old unneeded code.
4839 (paintImmediately): Use JComponent's convertRectangleToAncestor()
4840 method instead of SwingUtilities.convertRectangle(). This is
4843 2006-06-21 Roman Kennke <kennke@aicas.com>
4845 * javax/swing/AbstractButton.java
4846 (init): Call setText() instead of setting the property directly,
4847 so that listeners (especially in the UI) get notified.
4849 2006-06-21 Roman Kennke <kennke@aicas.com>
4851 * javax/swing/UIManager.java
4852 (MultiplexUIDefaults): New inner class.
4853 (currentUIDefaults): Changed type to be MultiplexUIDefaults.
4854 (userUIDefaults): Changed name to be lookAndFeelDefaults.
4855 (<cinit>): Call setLookAndFeel(String) instead of trying to load
4856 directly. Print stacktrace if something goes wrong.
4857 (get): Delegate call to currentUIDefaults.
4858 (getDefaults): If currentUIDefaults is null, then lazily instantiate
4860 (getUI): Delegate call to currentUIDefaults.
4861 (put): Delegate call to currentUIDefaults.
4862 (setLookAndFeel): Initialize currentUIDefaults with
4863 MultiplexUIDefaults. Set lookAndFeelDefaults.
4864 (setLookAndFeel): Use current thread's context classloader for
4867 2006-06-21 Roman Kennke <kennke@aicas.com>
4869 * javax/swing/text/GapContent.java
4870 (GapContentPosition.GapContentPosition): Replace
4871 Collections.binarySearch with call to local search() to make
4872 sure we find the first object that equals the searched object.
4873 (setPositionsInRange): Likewise.
4874 (adjustPositionsInRange): Likewise.
4875 (search): New helper method.
4877 2006-06-21 Gary Benson <gbenson@redhat.com>
4879 * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
4880 * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
4881 * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
4883 2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
4885 * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
4886 APPLETVIEWER_EXECUTABLE to gappletviewer.
4888 2006-06-20 Tom Tromey <tromey@redhat.com>
4891 * java/net/URL.java (URL): Throw MalformedURLException if a
4892 RuntimeException is caught. Chain exceptions.
4894 2006-06-20 Lillian Angel <langel@redhat.com>
4896 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
4897 (create): Added check to prevent Seg Fault. Should not
4898 set the label if it is null.
4899 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
4900 (setText): Changed to be a non-native function. Calls
4901 setNativeText if the String parameter is non-null.
4902 (setNativeText): Replaces old native setText function.
4903 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
4904 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
4905 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
4906 Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
4907 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
4908 Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
4910 2006-06-20 Lillian Angel <langel@redhat.com>
4912 * javax/swing/text/JTextComponent.java
4913 (AccessibleJTextComponent): Rewrote all javadocs
4914 for this inner class.
4916 2006-06-20 Francis Kung <fkung@redhat.com>
4918 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
4919 Changed many members to be protected.
4920 (J2dBenchmark): moved to init() instead.
4922 (main): Call init() after creating object
4923 (testComplete): New method.
4924 (test_drawArc): Use maxTests varialbe instead of constant.
4925 (test_drawCubicCurve): Likewise.
4926 (test_drawEllipse): Likewise.
4927 (test_drawGeneralPath): Likewise.
4928 (test_drawImage): Likewise.
4929 (test_drawLine): Likewise.
4930 (test_drawQuadCurve): Likewise.
4931 (test_drawRectangle): Likewise.
4932 (test_drawRoundRectangle): Likewise.
4933 (test_drawTransparentImage): Likewise.
4934 (test_fillArc): Likewise.
4935 (test_fillEllipse): Likewise.
4936 (test_fillGeneralPath): Likewise.
4937 (test_fillRectangle): Likewise.
4938 (test_fillRoundRectangle): Likewise.
4939 (GraphicsTest.runSetNoClipping): Added runCount parameter.
4940 (GraphicsTest.runSetWithClipping): Likewise.
4941 (GraphicsTest.runSetZeroClipping): Likewise.
4942 (GraphicsTest.run): Added checks for more option flags.
4943 * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
4946 2006-06-20 Roman Kennke <kennke@aicas.com>
4948 * javax/swing/text/GapContent.java
4949 (GapContentPosition.mark): New field.
4950 (GapContentPosition.index): Removed.
4951 (GapContentPosition.GapContentPosition): Changed to take the
4952 real offset as parameter. Added handling of reference counter.
4953 Try to cleanup before creating new instances.
4954 (getOffset): Delegate to the Mark method with same name.
4955 (Mark): New class, encapsulating a mark.
4956 (positionMarks): Removed field.
4957 (numMarks): Removed field.
4959 (queueOfDeath): New field.
4960 (GapContent): Removed init of old fields, added init of new fields.
4961 (createPosition): Added check for validity of arguments.
4962 Create GapContentPosition directly with offset.
4963 (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
4964 (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
4965 (shiftGapStartDown): Call resetMarksAtZero().
4966 (shiftGapEndUp): Call resetMarksAtZero().
4967 (replace): Don't call resetMarksAtZero().
4968 (setPositionInRange): Replaced by simpler algorithm, similar to
4969 adjustPositionsInRange.
4970 (adjustPositionsInRange): Adapted to use of Mark objects.
4971 (resetMarksAtZero): Reset all marks that point to zero instead
4972 of only the first one.
4973 (dumpMarks): Adjusted to dump Mark objects.
4974 (insertMark): Removed.
4975 (garbageCollect): New method. Cleans up the marks list.
4976 (binarySearch): Removed.
4978 2006-06-20 Lillian Angel <langel@redhat.com>
4980 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4981 (drawImage): Added call to updateColor because
4982 Cairo seems to lose the current color.
4984 2006-06-20 Gary Benson <gbenson@redhat.com>
4986 * java/awt/Toolkit.java: Add security check.
4987 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
4988 * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
4990 2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
4992 * gnu/java/security/key/dss/DSSKey.java: Source formatting.
4993 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
4994 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
4995 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
4996 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
4997 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
4998 * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
4999 * gnu/java/security/key/dss/FIPS186.java: Likewise.
5000 * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
5001 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
5002 * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
5003 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
5004 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
5005 * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
5006 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
5007 * gnu/java/security/key/IKeyPairCodec.java: Likewise.
5008 * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
5009 * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
5010 * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
5012 2006-06-19 Lillian Angel <langel@redhat.com>
5014 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5015 (drawImage): Should always use getRGB to get the pixels.
5016 getData returns an incorrect array of pixels.
5018 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
5020 * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
5021 * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
5022 * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
5023 * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
5024 * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
5025 * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
5026 * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
5027 * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
5028 * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
5029 * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
5030 * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
5031 * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
5032 * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
5033 * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
5034 * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
5035 * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
5036 * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
5037 * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
5038 * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
5039 * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
5040 * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
5041 * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
5042 * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
5043 * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
5044 * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
5045 * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
5046 * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
5047 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
5048 * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
5049 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
5050 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
5051 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
5052 * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
5053 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
5054 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
5055 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
5057 2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
5059 * NEWS: Updated (delayed) for security tools and tools.texinfo.
5061 2006-06-19 Roman Kennke <kennke@aicas.com>
5063 * gnu/java/awt/peer/gtk/ComponentGraphics.java
5064 (drawImage): Clip volatile image correctly.
5065 (drawVolatileImage): Added arguments for clipping.
5066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
5067 (drawVolatileImage): Added arguments for clipping. Clip image
5069 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
5071 2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5074 * java/rmi/server/UID.java (constructor): Synchronized
5075 the whole constructor on the UID class.
5077 2006-06-19 Roman Kennke <kennke@aicas.com>
5079 * javax/swing/RepaintManager.java
5080 (addInvalidComponent): Only add component that are displayable,
5081 that have displayable parents and that have a validateRoot.
5082 Also, don't validate components that have a CellRendererPane
5085 2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
5087 * javax/swing/plaf/IconUIResource.java
5088 (IconUIResource): Throw IllegalArgumentException for null icon.
5090 2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
5093 * java/rmi/server/UID.java (constructor): First increment
5094 uidCounter, and then use the value.
5096 2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5098 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
5099 * java/awt/GridBagConstraints.java: Indent.
5101 2006-06-18 Tom Tromey <tromey@redhat.com>
5103 * native/jni/gconf-peer/.cvsignore: New file.
5105 2006-06-18 Tom Tromey <tromey@redhat.com>
5107 * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5108 Also handle short options.
5110 2006-06-18 Jim Huang <jserv@kaffe.org>
5113 * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
5116 2006-06-19 Mark Wielaard <mark@klomp.org>
5118 * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
5119 on gnu/java/util/prefs/gconf/%.class.
5120 * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
5121 chache typo, should be cache.
5122 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
5124 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
5126 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
5127 Don't return a value for void function.
5128 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
5130 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
5131 Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
5133 (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
5134 Mark clazz ad unused.
5136 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
5138 * gnu/java/security/hash/Whirlpool.java: Source formatting.
5139 * gnu/java/security/hash/Tiger.java: Likewise.
5140 * gnu/java/security/hash/Sha512.java: Likewise.
5141 * gnu/java/security/hash/Sha384.java: Likewise.
5142 * gnu/java/security/hash/Sha256.java: Likewise.
5143 * gnu/java/security/hash/Sha160.java: Likewise.
5144 * gnu/java/security/hash/RipeMD160.java: Likewise.
5145 * gnu/java/security/hash/RipeMD128.java: Likewise.
5146 * gnu/java/security/hash/MD5.java: Likewise.
5147 * gnu/java/security/hash/MD4.java: Likewise.
5148 * gnu/java/security/hash/MD2.java: Likewise.
5149 * gnu/java/security/hash/IMessageDigest.java: Likewise.
5150 * gnu/java/security/hash/Haval.java: Likewise.
5151 * gnu/java/security/hash/HashFactory.java: Likewise.
5152 * gnu/java/security/hash/BaseHash.java: Likewise.
5154 2006-06-18 Sven de Marothy <sven@physto.se>
5156 * java/awt/event/KeyEvent.java:
5157 (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
5158 * natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
5159 Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
5161 2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
5163 * gnu/java/security/util/Prime2.java: Removed.
5164 * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
5165 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
5166 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
5167 (generate): Use isProbablePrime() in BigInteger instead of Prime2.
5168 * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
5169 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
5170 * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
5171 (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
5172 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
5173 (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
5174 * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
5175 (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
5177 2006-06-18 Sven de Marothy <sven@physto.se>
5179 * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
5180 * java/awt/font/TextMeasurer.java: Fix copyright date,
5181 remove commented-out code.
5183 2006-06-18 Sven de Marothy <sven@physto.se>
5185 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
5186 (FreetypeGlyphVector, clone): Implement cloning.
5187 (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
5188 * java/awt/font/TextMeasurer.java: Implement.
5189 * java/awt/font/LineBreakMeasurer.java:
5190 Reimplement to use TextMeasurer.
5191 * java/awt/font/TextLayout.java
5193 (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
5194 (getText, getFont): New private static methods.
5195 (setCharIndices): New method.
5196 * java/text/AttributedString.java
5197 (AttributedString): Fix constructor to stop at end point.
5199 2006-06-12 Mario torre <neugens at limasoftware.net>
5201 * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
5202 * gnu/java/util/prefs/GConfBasedFactory.java: new class.
5203 * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
5204 * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
5206 * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
5207 * configure.ac: update to introduce new files. Added options
5208 to build gconf native peer used by the GConf preference backend.
5209 * include/Makefile.am: update to introduce new files.
5210 * native/jni/Makefile.am update to introduce new files.
5211 * scripts/check_jni_methods.sh: added three new ignored file
5213 * native/jni/gconf-peer/Makefile.am: new Makefile needed to
5214 build gconf-peer shared library.
5216 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
5218 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
5219 Use Integer.valueOf() instead of new Integer().
5220 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
5221 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
5222 * gnu/java/security/util/Sequence.java: Likewise.
5223 * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
5224 * gnu/java/security/x509/X509Certificate.java: Likewise.
5225 * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
5226 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
5227 * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
5228 * gnu/javax/crypto/cipher/Cast5.java: Likewise.
5229 * gnu/javax/crypto/cipher/DES.java: Likewise.
5230 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
5231 * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
5232 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
5233 * gnu/javax/crypto/cipher/Serpent.java: Likewise.
5234 * gnu/javax/crypto/cipher/Square.java: Likewise.
5235 * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
5236 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
5237 * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
5238 * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
5239 * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
5240 * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
5241 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
5242 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
5243 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
5244 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
5245 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
5246 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
5247 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
5248 * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
5249 * gnu/javax/crypto/mac/UHash32.java: Likewise.
5250 * gnu/javax/crypto/mac/UMac32.java: Likewise.
5251 * gnu/javax/crypto/mode/BaseMode.java: Likewise.
5252 * gnu/javax/crypto/mode/EAX.java: Likewise.
5253 * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
5254 * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
5255 * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
5256 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
5257 * java/security/cert/X509CertSelector.java: Likewise.
5259 2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
5261 * javax/management/DynamicMBean.java:
5262 (setAttribute): Fixed to return void.
5263 * javax/management/MBeanFeatureInfo.java:
5266 2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
5268 On behalf of Vivek Lakshmanan <vivekl@redhat.com>
5269 * gnu/javax/crypto/jce/cipher/CipherAdapter.java
5270 (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
5271 into engineInitHandler and reuse the code in
5272 engineInit(int, Key, AlgorithmSpec, SecureRandom).
5273 (engineInitHandler): New method.
5274 (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
5275 null, use random or default information when possible.
5277 2006-06-16 Francis Kung <fkung@redhat.com>
5279 * examples/gnu/classpath/examples/swing/Demo.java:
5280 (mkButtonBar): Rename FillRect to JNIOverhead.
5281 (mkMenuBar): Rename FillRect to JNIOverhead.
5282 * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
5283 * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
5284 * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
5285 Moved from old FillRect.
5287 2006-06-16 Tom Tromey <tromey@redhat.com>
5289 * tools/.cvsignore: Added new tool names.
5291 2006-06-16 Tom Tromey <tromey@redhat.com>
5293 * vm/reference/sun/reflect/misc/ReflectUtil.java: Moved...
5294 * vm/reference/sun/misc/ReflectUtil.java: ...from here.
5296 2006-06-16 Keith Seitz <keiths@redhat.com>
5298 * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
5299 instantiation so that EventManager is created when getDefault
5301 * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
5304 2006-06-16 Keith Seitz <keiths@redhat.com>
5306 * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
5307 (_initCount): New field.
5308 (Jdwp): Don't set isDebugging until fully initialized.
5309 (subcomponentInitialized): New method.
5310 (run): Wait for PacketProcessor and JdwpConnection to
5311 startup, then set isDebugging, and then let this thread
5313 * gnu/classpath/jdwp/transport/JdwpConnection.java
5314 (run): Add synchronization notification.
5315 * gnu/classpath/jdwp/processor/PacketProcessor.java
5318 2006-06-16 Tom Tromey <tromey@redhat.com>
5320 * NEWS: Updated for JSR 166.
5321 * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
5323 (getCallerClass): Now static.
5324 * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
5326 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
5328 * gnu/classpath/jdwp/event/ExceptionEvent:
5329 Added Object instance to javadoc in constructor
5330 * gnu/classpath/jdwp/event/MethodEntryEvent:
5332 * gnu/classpath/jdwp/event/MethodExitEvent:
5334 * gnu/classpath/jdwp/event/SingleStepEvent:
5337 2006-06-16 Tom Tromey <tromey@redhat.com>
5339 * external/jsr166: Removed files from cvs trunk.
5341 2006-06-16 Lillian Angel <langel@redhat.com>
5343 * java/awt/FileDialog.java
5344 (FileDialog): Added @since tag to API docs.
5345 (FileDialog): Likewise.
5346 (FileDialog): Likewise.
5347 * java/awt/Font.java:
5348 Added @since tag to TYPE1_FONT field docs.
5349 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5350 (isThumbRollover): Likewise.
5351 (setThumbRollover): Likewise.
5352 (getSupportsAbsolutePositioning): Likewise.
5353 * javax/swing/plaf/basic/BasicSliderUI.java:
5354 (isDragging): Likewise.
5356 2006-06-16 Lillian Angel <langel@redhat.com>
5358 * java/awt/FileDialog.java
5359 (FileDialog): Implemented.
5360 (FileDialog): Implemented.
5361 (FileDialog): Implemented.
5362 * java/awt/Font.java:
5363 Added TYPE1_FONT constant field.
5365 2006-06-16 Lillian Angel <langel@redhat.com>
5367 * java/awt/font/TextLayout.java:
5368 Removed unneeded imports.
5369 * javax/swing/plaf/basic/BasicScrollBarUI.java:
5370 Added new thumbRollover field.
5371 (mouseMoved): Added code to set thumbRollover field.
5372 (isThumbRollover): New function.
5373 (setThumbRollover): New function.
5374 (getSupportsAbsolutePositioning): Implemented. This
5375 needs to be changed once the feature has been
5377 * javax/swing/plaf/basic/BasicSliderUI.java:
5378 Added new dragging field.
5379 (mouseDragged): Initialized dragging field.
5380 (isDragging): New function.
5381 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5382 (focusGained): Marked as not implemented.
5383 (focusLost): Likewise.
5385 2006-06-16 Kyle Galloway <kgallowa@redhat.com>
5387 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
5388 Added check for null ThreadId to avoid null pointer
5391 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
5393 * javax/swing/DefaultComboBoxModel.java
5394 (removeElementAt): Set new selected item by calling setSelectedItem().
5396 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
5398 * javax/swing/DefaultButtonModel.java
5399 (setSelected): Use 'this', not null, for the item in the ItemEvent.
5401 2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
5403 * javax/swing/event/ListDataEvent.java: updated API docs, plus
5404 (ListDataEvent): Handle case where index0 > index1,
5405 (toString): Implemented.
5407 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
5409 * javax/swing/plaf/metal/MetalMenuBarUI.java:
5410 (update): Added subexpression to if-statement.
5412 2006-06-16 Robert Schuster <robertschuster@fsfe.org>
5414 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
5415 (installDefaults): Removed unneccessary code.
5416 (paint): Removed complex if-cascade, revert to default icon if
5417 icon property is not set.
5418 (getPreferredSize): New method.
5420 2006-06-16 Roman Kennke <kennke@aicas.com>
5423 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5424 (drawImage): Don't use setClip() but instead clipRect() to
5425 intersect the current clip with a new one.
5427 2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5429 * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
5430 gjarsigner and keytool to gkeytool.
5431 * doc/tools.texinfo: Add note about tool exectable names.
5432 * tools/Makefile.am: Rename appletviewer to gappletviewer,
5433 jarsigner to gjarsigner and keytool to gkeytool.
5434 * tools/appletviewer.in: Rename ...
5435 * tools/gappletviewer.in: New file.
5436 * tools/jarsigner.in: Rename ...
5437 * tools/gjarsigner.in: New file.
5438 * tools/keytool.in: Rename ...
5439 * tools/gkeytool.in: New file.
5440 * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
5442 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5444 * javax/management/AttributeList.java:
5445 Add serialization UID.
5446 * javax/management/DynamicMBean.java:
5448 * javax/management/JMRuntimeException.java:
5449 Add serialization UID and correct name
5450 of serialized field.
5451 * javax/management/MBeanInfo.java: New file.
5453 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5455 * javax/management/AttributeList.java,
5456 * javax/management/JMRuntimeException.java,
5457 * javax/management/RuntimeOperationsException.java:
5460 2006-06-15 Lillian Angel <langel@redhat.com>
5462 * java/awt/font/TextLayout.java:
5463 DEFAULT_CARET_POLICY changed to be public static final.
5465 2006-06-15 Tania Bento <tbento@redhat.com>
5467 * javax/swing/plaf/metal/MetalScrollButton.java
5468 (MetalScrollButton): Should set 'focusable' to false.
5470 2006-06-15 Tania Bento <tbento@redhat.com>
5472 * javax/swing/plaf/basic/BasicArrowButton.java
5473 (BasicArrowButton): Should set 'focusable' to false.
5474 (BasicArrowButton): Should set 'focusable' to false.
5476 2006-06-15 Mark Wielaard <mark@klomp.org>
5478 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5479 (getGraphicsConfiguration): Return default screen device.
5480 * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
5482 (GtkVolatileImage): Record initiating component.
5483 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
5484 (getDeviceConfiguration): Return configuration of image component.
5486 2006-06-15 Mark Wielaard <mark@klomp.org>
5488 * java/awt/geom/GeneralPath.java (closePath): Return if path already
5491 2006-06-15 Mark Wielaard <mark@klomp.org>
5493 * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
5496 2006-06-15 Kyle Galloway <kgallowa@redhat.com>
5498 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
5499 (matches): Added explicit brackets to return statement.
5501 2006-06-15 Tania Bento <tbento@redhat.com>
5503 * javax/swing/JRadioButtonMenuItem.java
5504 (JRadioButtonMenuItem): Should set 'focusable' to false.
5506 2006-06-15 Tania Bento <tbento@redhat.com>
5508 * javax/swing/JCheckBoxMenuItem.java
5509 (JCheckBoxMenuItem): Should set 'focusable' to false.
5511 2006-06-15 Tania Bento <tbento@redhat.com>
5513 * javax/swing/AbstractButton.java:
5514 (AbstractButton): 'Focusable' should be set to true and not false.
5516 2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
5518 * java/lang/management/ManagementFactory.java:
5519 Add private constructor to prevent instance creation.
5520 * java/lang/management/ManagementPermission.java:
5523 2006-06-15 Francis Kung <fkung@redhat.com>
5525 * javax/swing/plaf/basic/BasicArrowButton.java:
5526 (BasicArrowButton): move client property for not triggering out
5528 * javax/swing/plaf/basic/BasicComboBoxUI.java:
5529 (configureArrowButton): set client property for not triggering
5530 (installUI): set client property for not triggering
5531 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5532 (PopupHelper.mousePressed): check client property for triggering
5534 2006-06-15 Roman Kennke <kennke@aicas.com>
5537 * javax/swing/RepaintManager.java
5538 (blitBuffer): Substract coordinates the other way around.
5540 2006-06-15 Roman Kennke <kennke@aicas.com>
5543 * javax/swing/JComponent.java
5544 (paintImmediately2): Only paint component without double buffering
5545 when all of it's parents have also double buffering disabled.
5546 (isPaintingDoubleBuffered): New helper method.
5548 2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
5550 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5551 (draw(Shape)): Pass null transform to getPathIterator(),
5552 (getClip): Likewise,
5553 * gnu/java/print/PostscriptGraphics2D.java
5554 (drawStringShape): Pass null transform to getPathIterator(),
5555 (writeShape): Likewise,
5556 * java/awt/Shape.java: Small updates to API docs.
5558 2006-06-14 Roman Kennke <kennke@aicas.com>
5560 * javax/swing/plaf/basic/BasicComboBoxUI.java
5561 (getAccessibleChildrenCount): Implemented.
5562 (getAccessibleChild): Implemented.
5563 (isNavigationKey): Implemented.
5564 (KeyHandler.keyPressed): Implemented.
5566 2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
5568 * java/lang/management/ManagementPermission.java:
5569 Added serialization UID.
5570 * javax/management/Attribute.java: Likewise.
5571 * javax/management/MBeanException.java,
5572 * javax/management/ReflectionException.java:
5573 Added serialization UID and changed to extend
5574 javax.management.JMException.
5576 2006-06-14 Lillian Angel <langel@redhat.com>
5578 * java/awt/Component.java
5579 (ignoreOldMouseEvents): Made static.
5580 (translateEvent): Made static.
5581 * java/awt/TextComponent.java
5582 (ignoreOldMouseEvents): Made static.
5584 2006-06-14 Mark Wielaard <mark@klomp.org>
5586 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
5588 (drawRect): Likewise.
5589 (fillRect): Likewise.
5591 2006-06-14 Lillian Angel <langel@redhat.com>
5593 * java/awt/Component.java
5594 (ignoreOldMouseEvents): New helper function.
5595 (translateEvent): Changed to be non-static and use new helper.
5596 * java/awt/TextComponent.java
5597 (ignoreOldMouseEvents): New helper function.
5599 2006-06-14 Roman Kennke <kennke@aicas.com>
5601 * javax/swing/RepaintManager.java
5602 (MERGE_REGIONS): New constant flag.
5603 (commitBuffer): Exclude the merging of regions by default. This
5604 was causing painting artifacts in some applications, especially
5605 when different areas of the GUI are updated synchronously.
5607 2006-06-14 Roman Kennke <kennke@aicas.com>
5609 * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
5610 New file. This is a benchmark for AWT 1.1 style graphics operations.
5611 * examples/gnu/classpath/examples/awt/palme.gif: New file.
5612 * examples/gnu/classpath/examples/awt/aicas.gif: New file.
5614 2006-06-14 Tom Tromey <tromey@redhat.com>
5616 * java/io/File.java (getParent): Javadoc fix.
5618 2006-06-14 Tom Tromey <tromey@redhat.com>
5620 * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
5622 * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
5623 when index entry does not exist.
5625 2006-06-14 Tania Bento <tbento@redhat.com>
5627 * javax/swing/AbstractButton.java
5628 (AbstractButton): Set focusable to false, not true.
5630 2006-06-14 Tania Bento <tbento@redhat.com>
5632 * javax/swing/JMenuItem.java
5633 (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
5635 2006-06-14 Tania Bento <tbento@redhat.com>
5637 * javax/swing/JCheckBoxMenuItem.java
5638 (JCheckBoxMenuItem): Added check to set the selected state.
5640 2006-06-14 Roman Kennke <kennke@aicas.com>
5642 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5643 (cairoDrawLine): New native method.
5644 (cairoDrawRect): New native method.
5645 (cairoFillRect): New native method.
5646 (drawLine): Use special native method.
5647 (drawRect): Use special native method.
5648 (fillRect): Use special native method.
5649 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5650 (cairoDrawLine): New native method.
5651 (cairoDrawRect): New native method.
5652 (cairoFillRect): New native method.
5653 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
5655 2006-06-14 Mark Wielaard <mark@klomp.org>
5657 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
5658 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
5659 cannot be allocated.
5661 2006-06-14 Tom Tromey <tromey@redhat.com>
5664 * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
5665 * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
5667 2006-06-14 Roman Kennke <kennke@aicas.com>
5669 * javax/swing/JComponent.java
5670 (isRepainting): New flag.
5671 (paintImmediately2): Set isRepainting flag.
5672 (getRoot): Removed obsolete method.
5673 (paintDoubleBuffered): Differenciate between paint calls from
5674 RepaintManager and from AWT refresh. Call
5675 RepaintManager.commitBuffer with this and local coordinates.
5676 (findOpaqueParent): Stop searching at heavyweight component. These
5678 (paintChildrenOptimized): Don't paint heavyweight children. These
5679 should care for themselves.
5680 (paintChildrenWithOverlap): Don't paint heavyweight children. These
5681 should care for themselves.
5682 * javax/swing/RepaintManager.java
5683 (getOffscreenBuffer): Associate offscreen buffer with toplevel
5685 (getVolatileOffscreenBuffer): Associate offscreen buffer with
5686 toplevel windows only.
5687 (getRoot): Removed obsolete method.
5688 (commitBuffer): Blit buffer on nearest heavyweight.
5689 (blitBuffer): New helper method.
5690 (getHeavyweightParent): New helper method.
5691 (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
5692 * javax/swing/SwingUtilities.java
5693 (convertRectangleToAncestor): New helper method.
5695 2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
5697 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
5698 Condition all trace/debug code based on Configuration.DEBUG.
5699 Use logger instead of STDOUT and ot STDERR.
5701 2006-06-13 Lillian Angel <langel@redhat.com>
5703 * native/plugin/gcjwebplugin.cc
5704 (NP_Initialize): Removed code to create whitelist file.
5705 (GCJ_New): Added code to create whitelist file.
5706 (plugin_user_trusts_documentbase): Fixed error message.
5708 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
5710 * javax/swing/plaf/metal/MetalIconFactory.java
5711 (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
5712 prevent overwriting border,
5713 (VerticalSliderThumbIcon.gradientMask): Likewise.
5715 2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
5717 * javax/management/AttributeNotFoundException.java,
5718 * javax/management/InvalidAttributeValueException.java,
5719 * javax/management/JMException.java,
5720 * javax/management/MBeanException.java,
5721 * javax/management/OperationsException.java,
5722 * javax/management/ReflectionException.java:
5725 2006-06-13 Roman Kennke <kennke@aicas.com>
5727 * java/awt/Component.java
5728 (dispatchEvent): Handle events even when consumed (this might be
5729 picked up later in the dispatching chain).
5730 * javax/swing/plaf/basic/BasicLookAndFeel.java
5731 (PopupHelper.mousePressed): Don't consume event. Only close popup
5732 when target component isn't flagged as DONT_CANCEL_POPUP.
5733 (DONT_CANCEL_POPUP): New package private constant for flagging
5734 special components that don't trigger popup closing.
5735 * javax/swing/plaf/basic/BasicArrowButton.java
5736 (BasicArrowButton): Set client property for not triggering closing
5739 2006-06-13 Lillian Angel <langel@redhat.com>
5741 * java/awt/image/PixelGrabber.java
5742 (PixelGrabber): Added to API documentation.
5744 2006-06-13 Keith Seitz <keiths@redhat.com>
5746 From Kyle Galloway <kgallowa@redhat.com>:
5747 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
5748 (ExceptionOnlyFilter): Allow null refId.
5750 * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
5751 compatibility with filters.
5752 (getParameter): Modified to allow access to above.
5754 2006-06-13 Sven de Marothy <sven@physto.se>
5756 * gnu/java/awt/peer/gtk/CairoSurface.java
5757 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5758 (create): Use stride in ints.
5760 2006-06-13 Keith Seitz <keiths@redhat.com>
5762 From Kyle Galloway <kgallowa@redhat.com>:
5763 * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
5765 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
5767 * javax/swing/plaf/basic/BasicSliderUI.java
5768 (calculateThumbSize): Removed unnecessary code,
5769 (calculateThumbLocation): Shift position by one,
5770 (calculateTickRect): Shift position by one when ticks are displayed,
5771 (calculateLabelRect): Calculate rect differently according to whether
5772 or not the labels are visible,
5773 (paintTrack): Shift track down one pixel.
5775 2006-06-13 Lillian Angel <langel@redhat.com>
5777 * java/awt/image/PixelGrabber.java
5778 (PixelGrabber): Removed check to throw exception. JDK does
5780 (startGrabbing): Removed line to print stacktrace.
5782 2006-06-13 Mark Wielaard <mark@klomp.org>
5784 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
5785 allocate unused AffineTransform. Add comment about conversion to
5787 * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
5788 Recognize identity transform as "easy". Always convert to
5789 BufferedImage before calling super.
5791 2006-06-13 Roman Kennke <kennke@aicas.com>
5793 * java/awt/Component.java
5794 (getGraphics): Translate child graphics correctly.
5795 (dispatchEvent): Only dispatch event if it hasn't been consumed
5796 yet by the global dispatcher.
5797 * javax/swing/plaf/basic/BasicLookAndFeel.java
5798 Added some API docs.
5799 (PopupHelper.mousePressed): Consume the event after closing
5802 2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
5804 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
5806 * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
5807 * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
5808 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
5809 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
5810 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
5811 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
5812 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
5813 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
5814 * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
5815 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
5816 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
5817 * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
5818 * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
5819 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
5820 * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
5821 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
5823 2006-06-12 Sven de Marothy <sven@physto.se>
5825 * java/awt/font/LineBreakMeasurer.java): Implement.
5827 2006-06-12 Keith Seitz <keiths@redhat.com>
5829 From Kyle Galloway <kgallowa@redhat.com>:
5830 * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
5832 2006-06-12 Keith Seitz <keiths@redhat.com>
5834 From Kyle Galloway <kgallowa@redhat.com>:
5835 * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
5837 * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
5839 2006-06-12 Roman Kennke <kennke@aicas.com>
5841 * javax/swing/JComponent.java
5842 (paintDoubleBuffered): Correctly translate and clip the Graphics
5844 (clipAndTranslateGraphics): New helper method.
5846 2006-06-12 Roman Kennke <kennke@aicas.com>
5848 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5849 (copy): Use getClip() to copy the clip. Make copied transform
5850 null when original transform is null. Set clip here.
5851 (setTransform): Correctly update the clip.
5852 (setTransformImpl): New method. Updates the actual transform for
5854 (transform): Correctly update the clip.
5855 (translate): Correctly update the clip.
5856 (clip): Handle null clip and argument correctly.
5857 (clipRect): Avoid creating new Rectangle objects.
5858 (getClip): Get the correct copy of the clip.
5859 (setClip): Correctly handle null argument.
5860 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
5861 (CairoSurfaceGraphics): Don't set the clip here. The clip can either
5862 be null or whatever has been set in copy().
5863 * gnu/java/awt/peer/gtk/ComponentGraphics.java
5864 (drawImage): Add translation to the image coordinates.
5865 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
5866 (VolatileImageGraphics): Don't set clip here. The clip can either
5867 be null or whatever has been set in copy().
5869 2006-06-12 Keith Seitz <keiths@redhat.com>
5871 From Kyle Galloway <kgallowa@redhat.com>:
5872 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
5873 (forCaught): Removed unused/unnecessary method.
5874 (forUncaught): Likewise.
5875 (matches): Implement.
5877 2006-06-12 Keith Seitz <keiths@redhat.com>
5879 From Kyle Galloway <kgallowa@redhat.com>:
5880 * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
5882 2006-06-12 Keith Seitz <keiths@redhat.com>
5884 From Kyle Galloway <kgallowa@redhat.com>:
5885 * gnu/classpath/jdwp/event/Event.java: Added constants for
5887 (getParameter): Changed parameter type from Class to int.
5888 * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
5889 Changed from Class type to constants.
5890 * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
5892 * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
5894 * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
5896 * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
5898 * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
5900 * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
5902 * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
5904 * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
5906 * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
5909 2006-06-12 Lillian Angel <langel@redhat.com>
5911 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
5912 (StandaloneAppletWindow): Changed title of standalone window.
5914 2006-06-12 Lillian Angel <langel@redhat.com>
5916 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5917 (layoutContainer): Added missing selectedComponent assignment.
5919 2006-06-12 Lillian Angel <langel@redhat.com>
5921 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5922 (layoutContainer): Added check to prevent exception.
5924 2006-06-12 Tom Tromey <tromey@redhat.com>
5926 * java/lang/Thread.java (uncaughtException): Javadoc fix.
5928 2006-06-12 Mark Wielaard <mark@klomp.org>
5930 * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
5935 (draw): Use lock() and unlock().
5937 (drawRenderedImage): Likewise.
5938 (drawImage): Likewise.
5939 (drawGlyphVector): Likewise.
5941 2006-06-12 Roman Kennke <kennke@aicas.com>
5943 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5944 (drawPixels): Include alpha in parameter list.
5945 (cairoFill): Include alpha in parameter list.
5946 (setComposite): Don't modify the color.
5947 (draw(Shape))): Use fill when the current composite has an alpha
5948 of != 1.0, so that the stroked shaped will be composited.
5949 (fill(Shape)): Call cairoFill() with alpha.
5950 (drawImage): Call drawPixels or drawSurface with alpha.
5951 (drawGlyphVector): When composite alpha is != 1.0, render the
5952 outline using fill() to enable compositing for text.
5953 (drawRaster): Call drawPixels with alpha.
5954 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5955 (nativeDrawSurface): Include alpha in parameter list.
5956 (drawSurface): Include alpha in parameter list. Pass it to
5957 nativeDrawSurface().
5958 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5959 * include/gnu_java_awt_peer_gtk_CairoSurface.h:
5961 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5962 (drawPixels): Handle possible alpha for compositing.
5963 (cairoFill): Likewise.
5964 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5965 (nativeDrawSurface): Handle possible alpha for compositing.
5967 2006-06-12 Mark Wielaard <mark@klomp.org>
5969 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
5970 Notify data when completely done. Wait for worker thread to finish.
5971 Rethrow any pending exceptions.
5972 (exception): New field.
5973 (run): Store pending exception.
5975 2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
5977 * java/lang/management/ManagementPermission.java:
5980 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
5982 * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
5984 2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
5986 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
5987 Use String.charAt().
5989 2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5992 (Applet Tools): New chapter.
5993 (appletviewer Tool): New section.
5994 (gcjwebplugin): New section.
5996 2006-06-11 Mark Wielaard <mark@klomp.org>
5998 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
5999 Takes GdkPixbufWriter.
6000 (GdkPixbufWriter): Implements Runnable.
6001 (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
6003 (DATADONE): New static final field.
6005 (write(byte[])): New method.
6007 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6008 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
6009 Get dataOutputWriteID from writeClass.
6010 (stream_save_request): Change stream field to writer.
6011 (save_to_stream): Remove FIXME, call writer.
6012 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
6015 2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
6018 Mention new VM interface and use of properties.
6019 * doc/vmintegration.texinfo:
6020 Update with new gnu.java.lang.management section.
6021 * gnu/java/lang/management/RuntimeMXBeanImpl.java:
6023 * java/lang/management/ManagementFactory.java:
6024 (getRuntimeMXBean()): Implemented.
6025 * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
6026 New VM interface file.
6028 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
6031 * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
6032 debug code based on Configuration.DEBUG.
6033 Use logger instead of STDOUT and ot STDERR.
6034 * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
6035 * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
6036 * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
6037 * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
6038 * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
6039 * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
6040 * gnu/javax/crypto/pad/TBC.java: Likewise.
6041 * gnu/javax/crypto/pad/PKCS7.java: Likewise.
6042 * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
6043 * gnu/javax/crypto/pad/BasePad.java: Likewise.
6044 * gnu/javax/crypto/mac/OMAC.java: Likewise.
6045 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
6046 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
6047 * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
6048 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
6049 * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
6050 * gnu/javax/crypto/keyring/Entry.java: Likewise.
6051 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
6052 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
6053 * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
6054 * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
6055 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
6056 * gnu/javax/crypto/cipher/Twofish.java: Likewise.
6057 * gnu/javax/crypto/cipher/Khazad.java: Likewise.
6058 * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
6059 * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
6060 * gnu/javax/crypto/cipher/Anubis.java: Likewise.
6061 * gnu/java/security/Properties.java: Likewise.
6062 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
6063 * gnu/java/security/x509/X509CRL.java: Likewise.
6064 * gnu/java/security/x509/ext/Extension.java: Likewise.
6065 * gnu/java/security/util/Prime2.java: Likewise.
6066 * gnu/java/security/util/Base64.java: Likewise.
6067 * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
6068 * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
6069 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
6070 * gnu/java/security/pkcs/SignerInfo.java: Likewise.
6071 * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
6072 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
6073 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
6074 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
6075 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
6076 * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
6077 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
6078 * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
6079 * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
6080 * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
6081 * gnu/java/security/hash/Whirlpool.java: Likewise.
6083 2006-06-11 Mark Wielaard <mark@klomp.org>
6085 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
6086 (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
6087 Remove unused variable glyph_index.
6089 2006-06-11 Mark Wielaard <mark@klomp.org>
6091 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
6092 Don't recurse, return false if not an BufferedImage and no image
6094 * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
6095 end_gdk_drawing() to finally block.
6097 (drawRenderedImage): Likewise.
6098 (drawImage): Likewise.
6099 (drawGlyphVector): Likewise.
6101 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
6103 * doc/tools.texinfo: Added text for new -cacert command.
6104 Re-structured sections.
6105 * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
6106 for -cacert command.
6107 * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
6108 (_CACERT): Likewise.
6109 (shutdownThread): New field.
6110 (Main): Install shutdown thread.
6111 (main): Uninstall shutdown thread.
6112 (start): Handle new -cacert command.
6113 (getParser): Likewise.
6114 (teardown): Increased visibility.
6115 (ShutdownHook): New inner class.
6116 * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
6118 2006-06-11 Sven de Marothy <sven@physto.se>
6120 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
6121 (setupGlyphMetrics): New method. Add glyphmetrics caching.
6122 (getOutline): Operate on the shape directly.
6123 * gnu/java/awt/peer/gtk/GdkFontPeer.java
6124 (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
6125 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
6126 (getGlyph renamed getGlyphs)
6127 * java/awt/geom/AffineTransform.java
6128 (getTranslateInstance): Set fields directly.
6129 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
6130 (getGlyphs): Get all glyph codes at once.
6132 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
6135 * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
6137 2006-06-11 Sven de Marothy <sven@physto.se>
6139 * java/awt/font/TextLayout.java
6140 (getLogicalHighlightShape): Add check.
6141 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
6142 (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
6144 2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
6146 * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
6147 Check that every component of 'cn' starts with a valid Java identifier char.
6149 2006-06-10 Tom Tromey <tromey@redhat.com>
6151 * java/io/File.java (pathSeparator): Typo fix.
6153 2006-06-10 Mark Wielaard <mark@klomp.org>
6155 * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
6157 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6158 Mark all unused parameters.
6159 (cp_gtk_get_cairo_t): Removed.
6160 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
6161 Don't mix declerations and statements.
6162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
6163 Mark all unused parameters.
6164 (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
6165 Get cairographics2d pointer directly.
6166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
6167 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
6168 Use jlong to pass pointer.
6169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
6170 Mark all unused parameters.
6171 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
6172 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
6173 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
6174 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
6175 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
6176 * include/java_io_VMFile.h: Regenerated.
6178 2006-06-10 Roman Kennke <kennke@aicas.com>
6180 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
6181 (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
6182 instead of setClip(), so that an already present clip is intersected
6185 2006-06-10 Mark Wielaard <mark@klomp.org>
6187 * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
6188 Call getSize() to avoid accessor method.
6190 2006-06-10 Mark Wielaard <mark@klomp.org>
6192 * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
6193 Qualify ElementSpec.
6195 2006-06-10 Mark Wielaard <mark@klomp.org>
6197 * lib/.cvsignore: Add sun.
6198 * lib/Makefile.am (dist-hook): Likewise.
6200 2006-06-10 Roman Kennke <kennke@aicas.com>
6202 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6203 * gnu/java/awt/peer/gtk/CairoSurface.java
6204 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
6205 * gnu/java/awt/peer/gtk/ComponentGraphics.java
6206 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
6207 * native/jni/gtk-peer/cairographics2d.h
6208 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6209 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6210 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
6211 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
6212 Changed method signatures and calls to pass native pointers directly
6213 into the JNI code, in order to avoid costly lookups on each
6215 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
6216 * include/gnu_java_awt_peer_gtk_CairoSurface.h,
6217 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
6218 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
6221 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6224 * javax/swing/text/DefaultStyledDocument.java
6225 (ElementBuffer.insertContentTag):
6226 Do not recreate leaves and do not remove elements here.
6228 2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6230 * javax/swing/text/html/HTMLDocument.java
6231 (HTMLReader.HiddenAction): Implemented.
6233 2006-06-10 Roman Kennke <kennke@aicas.com>
6235 * javax/swing/RepaintManager.java
6236 (getVolatileOffscreenBuffer): Store the created buffer.
6237 * javax/swing/JComponent.java
6238 (paintDoubleBuffered): Try to use a volatile offscreen buffer
6239 for better performance.
6241 2006-06-10 Roman Kennke <kennke@aicas.com>
6243 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
6244 (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
6246 (getRealBounds): Overridden to return the correct bounds.
6248 2006-06-10 Roman Kennke <kennke@aicas.com>
6250 * javax/swing/plaf/metal/MetalButtonUI.java
6251 (update): Fixed to paint the gradient under the correct conditions.
6252 (updateWidthGradient): Removed.
6253 (isToolbarButton): New helper method.
6254 (isDrawingGradient): New helper method.
6256 2006-06-09 Roman Kennke <kennke@aicas.com>
6258 * javax/swing/JTabbedPane.java
6259 (setSelectedIndex): Don't change the visibility of the components,
6260 this is done by the UI class.
6261 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6262 (TabbedPaneLayout.layoutContainer): Change visibility of component
6263 here, depending on the selected index. Only do this if the new
6264 selected component is not null. Some programs seem to expect
6266 (visibleComponent): New field.
6267 (getVisibleComponent): Changed to return visibleComponent field.
6268 (setVisibleComponent): Changed to set the visibility of
6269 the old and new visible component.
6271 2006-06-09 Roman Kennke <kennke@aicas.com>
6273 * javax/swing/JComponent.java
6274 (paintChildrenOptimized): Paint component with a new Graphics
6275 object to protect the other painting code from modifications
6276 done in that object, and avoid cleanup ops on possibly dispose()ed
6279 2006-06-09 Sven de Marothy <sven@physto.se>
6281 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
6282 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
6283 Use GTK locks while disposing (Xlib) surface.
6285 2006-06-09 Tom Tromey <tromey@redhat.com>
6287 * lib/Makefile.am (install-data-local): Copy 'sun' files.
6288 (uninstall-local): Delete 'sun' directory.
6289 (glibj.zip): Include 'sun' classes.
6290 (clean-local): Delete 'sun' directory.
6291 * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
6293 2006-06-09 Roman Kennke <kennke@aicas.com>
6295 * gnu/java/awt/java2d/AbstractGraphics2D.java
6296 (drawImage): Fixed scaling.
6297 (fillShape): Removed offset handling.
6298 (fillShapeImpl): Limit scanlining to device bounds.
6299 (getSegments): Removed offset handling.
6300 * gnu/java/awt/java2d/PolyEdge.java
6301 (toString): Include isClip flag in output.
6303 2006-06-08 Sven de Marothy <sven@physto.se>
6305 * java/awt/font/TextLayout.java
6306 (getOutline): Allow null transform.
6308 2006-06-08 Sven de Marothy <sven@physto.se>
6310 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6311 (drawString): Use TextLayout instead of GlyphVector.
6313 2006-06-08 Sven de Marothy <sven@physto.se>
6315 * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
6316 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
6317 New constructor for bidirectionality.
6318 (getGlyphMetrics): Return whitespace glyphs.
6319 (getLogicalBounds): Offset rectangles to correct positions.
6320 * gnu/java/awt/peer/gtk/GdkFontPeer.java
6321 (getBaselineFor): Default to ROMAN_BASELINE.
6322 (GdkFontLineMetrics): Guess some values for underline and
6324 (layoutGlyphVector): Use bidirectionality.
6325 * java/awt/font/TextLayout.java: Implement, mostly.
6327 2006-06-09 Anthony Green <green@redhat.com>
6330 * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
6331 * java/util/Collections.java (binarySearch): Use unsigned shift.
6332 * java/util/Arrays.java (binarySearch): Use unsigned shift.
6334 2006-06-09 Tom Tromey <tromey@redhat.com>
6336 * tools/.cvsignore: Added .deps.
6338 2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
6341 * gnu/javax/security/auth/login/ConfigFileParser.java
6342 (validateClassName): Quote '.' in regexp.
6344 2006-06-09 Tom Tromey <tromey@redhat.com>
6347 * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
6349 * native/fdlibm/mprec.c: New version from newlib. Commented out
6350 some includes. Added <assert.h>.
6351 (_reent, _Bigint): New defines.
6352 (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
6353 (__ULong, __Long): New types.
6354 (_calloc_r): New function.
6355 (Balloc): Dynamically add new _freelist entries as needed.
6356 * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
6357 MAX_BIGNUMS to size _x[].
6358 (struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
6359 _allocation_map, num. Added _max_k.
6361 2006-06-09 Roman Kennke <kennke@aicas.com>
6363 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6364 (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
6367 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
6369 * java/awt/image/BufferedImage.java
6370 (BufferedImage(int, int, int)): Added API docs,
6371 (getProperty(String)): Return correct value for undefined properties,
6372 (getPropertyNames()): Added comments and removed FIXME.
6374 2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
6376 * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
6377 (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
6379 2006-06-09 Francis Kung <fkung@redhat.com>
6381 * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
6382 (getPreferredSize): Return correct height for null or empty
6385 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
6387 * java/awt/datatransfer/DataFlavor.java
6388 (readExternal): Mark as stub,
6389 (writeExternal): Likewise,
6390 * java/awt/dnd/DropTargetContext.java
6391 (dropComplete): Mark as stub,
6392 (acceptDrag): Likewise,
6393 (rejectDrag): Likewise,
6394 (acceptDrop): Likewise,
6395 (rejectDrop): Likewise,
6396 (getCurrentDataFlavors): Likewise,
6397 (getTransferable): Likewise,
6398 * java/awt/dnd/DropTargetDropEvent.java
6399 (dropComplete): Mark as stub.
6401 2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6403 * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
6404 (constructor): Do not lowercase the values.
6405 * javax/swing/text/html/HTMLDocument.java
6406 (HTMLReader.addSpecialElement): Implemented.
6407 * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
6409 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
6411 On behalf of Matthew Wringe <mwringe@redhat.com>
6412 * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
6413 * gnu/javax/crypto/pad/ISO10126.java: New class.
6414 * gnu/javax/crypto/pad/PadFactory.java (names): New field.
6415 (getInstance): Added support for ISO-10126 scheme.
6416 (getNames): Likewise.
6417 Cache result for speed.
6419 2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
6421 * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
6422 flexible self-test by sub-classes.
6423 (test1BlockSize): New method.
6425 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
6427 * javax/swing/plaf/basic/BasicLookAndFeel.java
6428 (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
6429 * javax/swing/plaf/basic/BasicScrollBarUI.java
6430 (installKeyboardActions): Implemented,
6431 (uninstallKeyboardActions): Implemented,
6432 (getInputMap): New method,
6433 (getActionMap): New method,
6434 (createActionMap): New method,
6435 (installUI): Call installKeyboardActions(),
6436 (uninstallUI): Call uninstallKeyboardActions().
6438 2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
6440 * javax/swing/plaf/basic/BasicScrollPaneUI.java
6441 (getActionMap): Use correct key to store action map.
6443 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
6445 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
6446 (executeInstruction): Added NOT support.
6448 2006-06-09 Jeroen Frijters <jeroen@frijters.net>
6450 * sun/reflect/annotation/AnnotationInvocationHandler.java:
6453 2006-06-08 Tom Tromey <tromey@redhat.com>
6455 * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
6458 2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
6460 * java/lang/management/RuntimeMXBean.java:
6463 2006-06-08 Lillian Angel <langel@redhat.com>
6465 * native/plugin/gcjwebplugin.cc:
6466 (NP_Shutdown): Freed whitelist_filename.
6468 2006-06-08 Lillian Angel <langel@redhat.com>
6470 * native/plugin/Makefile.am:
6471 Removed DATA_DIRECTORY.
6472 * native/plugin/gcjwebplugin.cc:
6473 Added new global fields for whitelist_file
6474 and data_directory. Removed WHITELIST_FILE.
6475 (NP_Initialize): Initialized new fields. Also,
6476 Changed to use new fields.
6477 (NP_Shutdown): Freed data_directory.
6478 (GCJ_New): Changed to use new fields.
6479 (plugin_ask_user_about_documentbase): Likewise.
6481 2006-06-08 Lillian Angel <langel@redhat.com>
6483 * native/plugin/Makefile.am:
6484 Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
6485 * native/plugin/gcjwebplugin.cc:
6486 Changed all instances of PLUGIN_DATA_DIRECTORY
6489 2006-06-08 Roman Kennke <kennke@aicas.com>
6491 * java/awt/LightweightDispatcher.java
6492 (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
6493 with convertPointToChild(). This is more efficient and avoids
6494 problems with getLocationOnScreen().
6495 (findTarget): Check for component beeing showing() early.
6496 Simplified AWTUtilities.convertPoint() to a simple substraction
6498 (convertPointToChild): New helper method.
6500 2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6502 * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
6505 2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
6506 Lillian Angel <langel@redhat.com>
6508 * native/plugin/gcjwebplugin.cc
6509 (NP_Shutdown): Added code to free plugin mutex and whitelist file.
6510 Also, reset initialized field.
6512 2006-06-08 Lillian Angel <langel@redhat.com>
6514 * javax/swing/plaf/basic/BasicProgressBarUI.java
6515 (paintString): Fixed to paint string at the correct location.
6517 2006-06-08 Roman Kennke <kennke@aicas.com>
6519 * javax/swing/plaf/basic/BasicTreeUI.java
6520 (createDefaultActions): Added new actions.
6521 (TreePageAction.TreePageAction): Set action name.
6522 (TreePageAction.actionPerformed): Implemented.
6523 (TreePageAction.isEnabled): Implemented.
6524 (TreeToggleAction.TreePageAction): Set action name.
6525 (TreeToggleAction.actionPerformed): Implemented.
6526 (TreeToggleAction.isEnabled): Implemented.
6527 (TreeTraverseAction.TreeTraverseAction): Set action name.
6528 (TreeTraverseAction.actionPerformed): Use action name as command.
6529 (TreeTraverseAction.isEnabled): Implemented.
6531 2006-06-08 Roman Kennke <kennke@aicas.com>
6533 * javax/swing/plaf/basic/BasicTreeUI.java
6534 (installKeyboardActions): Rewritten to correctly install the UI
6535 input and action maps.
6536 (getActionMap): New helper method.
6537 (createDefaultActionMap): New helper method.
6538 (TreeHomeAction.TreeHomeAction()): Implemented.
6539 (TreeHomeAction.actionPerformed): Implemented.
6540 (TreeHomeAction.isEnabled): Implemented.
6541 (TreeIncrementAction.TreeIncrementAction()): Implemented.
6542 (TreeIncrementAction.actionPerformed): Use action name as command.
6543 (TreeIncrementAction.isEnabled): Implemented.
6545 2006-06-08 Mark Wielaard <mark@klomp.org>
6548 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
6549 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
6552 2006-06-08 Mark Wielaard <mark@klomp.org>
6554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6555 (attrs): Removed unused static.
6557 2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
6559 * javax/swing/plaf/basic/BasicScrollPaneUI.java
6560 (getInputMap): New method,
6561 (getActionMap): New method,
6562 (createActionMap): New method,
6563 (installKeyboardActions): Implemented,
6564 (uninstallKeyboardActions): Implemented.
6566 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
6568 * javax/swing/border/MatteBorder.java:
6569 (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
6571 (paintBorder): Added if-statement to abort painting early.
6573 2006-06-08 Robert Schuster <robertschuster@fsfe.org>
6576 * gnu/xml/dom/DomIterator.java:
6577 (successor): Changed expression.
6579 2006-06-08 Sven de Marothy <sven@physto.se>
6581 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
6582 (defaultLayout): Do kerning.
6583 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
6584 (getKerning): Correct class name, removed unused variable.
6586 2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6588 * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
6589 libqtpeer.so unconditionally.
6591 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
6593 * java/util/InputMismatchException.java:
6596 2005-04-20 Tom Tromey <tromey@redhat.com>
6598 * java/util/InputMismatchException.java: New file.
6600 2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
6602 * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
6604 2006-06-07 Roman Kennke <kennke@aicas.com>
6606 * javax/swing/plaf/basic/BasicTreeUI.java
6607 (completeUIUninstall): Implemented.
6608 (uninstallUI): Moved some bits to completeUIUninstall(). Complete
6609 editing before uninstalling anything.
6610 (isToggleEvent): Implemented.
6611 (selectPathForEvent): Make use of isToggleEvent().
6612 (ComponentHandler.componentMoved): Implemented.
6613 (ComponentHandler.startTimer): Implemented.
6614 (ComponentHandler.getScrollPane): Implemented.
6615 (ComponentHandler.actionPerformed): Implemented.
6617 2006-06-07 Francis Kung <fkung@redhat.com>
6619 * javax/swing/JMenuBar.java:
6620 (getSubElements): Do not return null values.
6622 2006-06-07 Roman Kennke <kennke@aicas.com>
6625 * gnu/regexp/BacktrackStack.java
6626 * gnu/regexp/CharIndexed.java
6627 * gnu/regexp/CharIndexedCharArray.java
6628 * gnu/regexp/CharIndexedCharSequence.java
6629 * gnu/regexp/CharIndexedInputStream.java
6630 * gnu/regexp/CharIndexedString.java
6631 * gnu/regexp/CharIndexedStringBuffer.java
6632 * gnu/regexp/RE.java
6633 * gnu/regexp/REException.java
6634 * gnu/regexp/REFilterInputStream.java
6635 * gnu/regexp/REMatch.java
6636 * gnu/regexp/REMatchEnumeration.java
6637 * gnu/regexp/RESyntax.java
6638 * gnu/regexp/REToken.java
6639 * gnu/regexp/RETokenAny.java
6640 * gnu/regexp/RETokenBackRef.java
6641 * gnu/regexp/RETokenChar.java
6642 * gnu/regexp/RETokenEnd.java
6643 * gnu/regexp/RETokenEndOfPreviousMatch.java
6644 * gnu/regexp/RETokenEndSub.java
6645 * gnu/regexp/RETokenIndependent.java
6646 * gnu/regexp/RETokenLookAhead.java
6647 * gnu/regexp/RETokenLookBehind.java
6648 * gnu/regexp/RETokenNamedProperty.java
6649 * gnu/regexp/RETokenOneOf.java
6650 * gnu/regexp/RETokenPOSIX.java
6651 * gnu/regexp/RETokenRange.java
6652 * gnu/regexp/RETokenRepeated.java
6653 * gnu/regexp/RETokenStart.java
6654 * gnu/regexp/RETokenWordBoundary.java
6655 * gnu/regexp/UncheckedRE.java
6656 * gnu/java/util/regex/BacktrackStack.java
6657 * gnu/java/util/regex/CharIndexed.java
6658 * gnu/java/util/regex/CharIndexedCharArray.java
6659 * gnu/java/util/regex/CharIndexedCharSequence.java
6660 * gnu/java/util/regex/CharIndexedInputStream.java
6661 * gnu/java/util/regex/CharIndexedString.java
6662 * gnu/java/util/regex/CharIndexedStringBuffer.java
6663 * gnu/java/util/regex/RE.java
6664 * gnu/java/util/regex/REException.java
6665 * gnu/java/util/regex/REFilterInputStream.java
6666 * gnu/java/util/regex/REMatch.java
6667 * gnu/java/util/regex/REMatchEnumeration.java
6668 * gnu/java/util/regex/RESyntax.java
6669 * gnu/java/util/regex/REToken.java
6670 * gnu/java/util/regex/RETokenAny.java
6671 * gnu/java/util/regex/RETokenBackRef.java
6672 * gnu/java/util/regex/RETokenChar.java
6673 * gnu/java/util/regex/RETokenEnd.java
6674 * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
6675 * gnu/java/util/regex/RETokenEndSub.java
6676 * gnu/java/util/regex/RETokenIndependent.java
6677 * gnu/java/util/regex/RETokenLookAhead.java
6678 * gnu/java/util/regex/RETokenLookBehind.java
6679 * gnu/java/util/regex/RETokenNamedProperty.java
6680 * gnu/java/util/regex/RETokenOneOf.java
6681 * gnu/java/util/regex/RETokenPOSIX.java
6682 * gnu/java/util/regex/RETokenRange.java
6683 * gnu/java/util/regex/RETokenRepeated.java
6684 * gnu/java/util/regex/RETokenStart.java
6685 * gnu/java/util/regex/RETokenWordBoundary.java
6686 * gnu/java/util/regex/UncheckedRE.java
6687 Moved gnu.regexp classes to gnu.java.util.regex package.
6688 * java/util/regex/Matcher.java
6689 * java/util/regex/Pattern.java
6690 Adjusted import statements for new package name for gnu regexp.
6692 2006-06-07 Tom Tromey <tromey@redhat.com>
6695 * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
6696 Added missing charsets.
6697 (charsetForName): Don't check 'extendedLoaded'.
6699 2006-06-07 Roman Kennke <kennke@aicas.com>
6702 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6703 (clip(Shape)): Implemented correctly, so that the current shape
6704 gets intersected by the parameter shape.
6706 2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
6708 * java/math/BigDecimal.java:
6709 (compareTo(Object)): Make this call the other
6711 (compareTo(BigDecimal)): Recreated.
6713 2006-06-07 Lillian Angel <langel@redhat.com>
6715 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6716 (getTabBounds): If this method is called with a tab index
6717 that is not in the rects array, we need to re-layout the container
6720 2006-06-07 Lillian Angel <langel@redhat.com>
6722 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
6723 (FreetypeGlyphVector): Removed assignment. Caused compilation error.
6724 * java/lang/String.java
6725 (codePointCount): Fixed check to match API. Shouldn't throw exception
6726 if end == count. end is 1 more than the endIndex, so end == count is
6729 2006-06-07 Gary Benson <gbenson@redhat.com>
6732 * native/jni/java-io/java_io_VMFile.c
6733 (Java_java_io_VMFile_toCanonicalForm): New method.
6734 * configure.ac: Added checks for lstat and readlink.
6735 * include/java_io_VMFile.h: Added new method.
6736 * vm/reference/java/io/VMFile.java: Use new method.
6737 * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
6738 * NEWS: Documented the above.
6739 * java/io/File.java: Javadoc fix.
6741 2006-06-07 Roman Kennke <kennke@aicas.com>
6744 * javax/swing/JTree.java
6745 (JTree()): Initialize with default model.
6746 (JTree(TreeModel)): Clear expanded state hashtable. Added comment
6747 on the updateUI() / setModel() order.
6748 (setModel): Correctly (un-)setup the listeners. Clear the expanded
6750 * javax/swing/plaf/basic/BasicTreeUI.java
6751 (BasicTreeUI()): Initialize listeners in installListeners().
6752 (setModel): Complete editing on model change. Correctly resetup
6753 the listeners. Update the layout cache accordingly.
6754 (setShowRootHandles): Complete editing and update layout. Do not
6755 call back into the JTree, this could cause cycles.
6756 (prepareForUIInstall): Implemented. Moved some init code from
6757 installUI() to this method.
6758 (completeUIInstall): Implemented. Moved some init code from
6759 installUI() to this method.
6760 (createDefaultCellEditor): Check for type of renderer, and install
6761 with null renderer when not DefaultTreeCellRenderer.
6762 (updateLayoutCacheExpandedNodes): Added null check for tree root
6764 (updateRenderer): Call updateEditor().
6765 (installListeners): Initialize the listeners here. Added some null
6766 checks to avoid NPEs.
6767 (installUI): Moved some init code to prepareForUIInstall() and
6768 completeUIInstall().
6769 (completeEditing): Return immediately if editing component is null
6770 or if the setting is to not stop editing on complete editing.
6771 (checkForClickInExpandControl): Call handleExpandControlClick()
6772 instead of toggleExpandState() directly.
6773 (isLocationInExpandControl): Rewritten to correctly determine the
6774 expand click location.
6775 (MouseHandler.mousePressed): Rewritten to make better use of the
6776 instance methods of BasicTreeUI to handle the click.
6777 (PropertyHandler.propertyChange): Handle model and cell renderer
6779 * javax/swing/tree/DefaultTreeCellEditor.java
6780 (DefaultTreeCellEditor): Removed initialization of the icon. This
6781 is done so that the constructor can deal with null renderer as the
6782 RI does. Maybe this needs more fixing.
6783 * javax/swing/tree/TreePath.java
6784 (isDescendant): Fixed this method. The previous version did too
6785 much and compared the wrong things, which lead to a ClassCastException
6787 * javax/swing/tree/VariableHeightLayoutCache.java
6788 (update): Do nothing when model is null.
6789 (setModel): Clear the tables and update the layout. Added null
6790 check to prevent NPE.
6792 2006-06-07 Sven de Marothy <sven@physto.se>
6794 * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
6796 2006-06-07 Sven de Marothy <sven@physto.se>
6798 * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
6799 * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
6800 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
6803 * gnu/java/awt/peer/gtk/GdkFontPeer.java
6804 (getGlyphVector): Removed native method.
6805 (createGlyphVector, getStringBounds): Use new GV class.
6807 * include/Makefile.am
6808 * native/jni/gtk-peer/Makefile.am
6811 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
6812 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
6813 (getGlyphVector): Removed native method.
6815 2006-06-07 Chris Burdess <dog@gnu.org>
6817 * gnu/classpath/debug/TeeInputStream.java,
6818 gnu/classpath/debug/TeeOutputStream.java,
6819 gnu/classpath/debug/TeeReader.java,
6820 gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
6821 * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
6822 read more characters than absolutely necessary in tryRead method.
6824 2006-06-07 Robert Schuster <robertschuster@fsfe.org>
6826 * examples/gnu/classpath/examples/swing/Demo.java:
6827 (mkMenuBar): Put look and feel radio buttons into
6828 appropriate button group.
6830 2006-06-07 Chris Burdess <dog@gnu.org>
6832 * gnu/xml/stream/SAXParser.java,
6833 gnu/xml/stream/XMLParser.java: Add command line options for setting
6834 parsing parameters (for simpler debugging).
6835 * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
6836 closing output stream is propagated to application.
6838 2006-06-06 Mark Wielaard <mark@klomp.org>
6841 * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
6842 * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
6843 call disposeSurface.
6844 (disposeSurface): New native method.
6845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6846 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
6848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6849 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
6850 cairo_pattern_destroy.
6851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
6852 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
6853 New function to destroy the surface.
6854 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
6855 * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
6856 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
6858 2006-06-06 Mark Wielaard <mark@klomp.org>
6860 * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
6863 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
6865 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
6866 (paint): If has focus, paint special background color,
6867 * javax/swing/plaf/basic/BasicSplitPaneUI.java
6868 (FocusHandler.focusGained): Implemented,
6869 (FocusHandler.focusLost): Implemented.
6871 2006-06-06 Tom Tromey <tromey@redhat.com>
6873 * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
6875 (writeAttributeSet): Implemented.
6877 2006-06-06 Tom Tromey <tromey@redhat.com>
6879 * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
6881 (SpecialAction.end): Removed.
6882 (IsindexAction.end): Likewise.
6884 2006-06-06 Tom Tromey <tromey@redhat.com>
6886 * include/jni.h (JDK1_1InitArgs): New struct.
6887 (JDK1_1AttachArgs): Likewise.
6889 2006-06-06 Tom Tromey <tromey@redhat.com>
6891 * java/security/UnresolvedPermission.java (getUnresolvedType): New
6893 (getUnresolvedName): New method.
6894 (getUnresolvedActions): New method.
6895 (getUnresolvedCerts): New method.
6897 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6899 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
6900 (getColor): Removed debugging code.
6902 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6904 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
6905 (getColor): Added support for "rgb(red, green, blue)" notation.
6906 (translateTag): Use Boolean.TRUE, not new Boolean().
6908 2006-06-06 Roman Kennke <kennke@aicas.com>
6911 * javax/swing/JTree.java
6912 (JTree(TreeModel)): Call updateUI() before setModel().
6913 (setModel): Don't call updateUI here.
6915 2006-06-06 Lillian Angel <langel@redhat.com>
6917 * native/plugin/gcjwebplugin.cc:
6918 Fixed failure message and commenting.
6919 (NP_Initialize): Added more comments.
6921 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
6923 * javax/swing/JSplitPane.java
6924 (AccessibleJSplitPane): API doc fixes,
6925 (setDividerLocation): Likewise,
6926 * javax/swing/plaf/basic/BasicLookAndFeel.java
6927 (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
6928 * javax/swing/plaf/basic/BasicSplitPaneUI.java
6929 (getInputMap): New method,
6930 (getActionMap): New method,
6931 (createActionMap): New method,
6932 (installKeyboardActions): Implemented,
6933 (uninstallKeyboardActions): Implemented.
6935 2006-06-06 Roman Kennke <kennke@aicas.com>
6938 * javax/swing/MenuSelectionManager.java
6939 (processKeyEvent): Added check to avoid
6940 ArrayIndexOutOfBoundsException.
6942 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6944 * gnu/javax/swing/text/html/htmlAttributeSet.java
6945 (getAttributeNames): Rewritten
6947 2006-06-06 Chris Burdess <dog@gnu.org>
6949 * gnu/xml/transform/TransformerImpl.java: Check type of created
6950 document (more cases).
6952 2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
6954 * gnu/javax/swing/text/html/htmlAttributeSet.java
6955 (clone): New method. (copyAttributes): New method.
6956 (getResolveParent): Comment fix. (getAttribute):
6957 Rewritten. (addAttribute): Rewritten.
6958 * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
6961 2006-06-06 Roman Kennke <kennke@aicas.com>
6964 * javax/swing/JMenuBar.java
6965 (processKeyBindingHelper): Added null check to prevent NPE.
6967 2006-06-06 Roman Kennke <kennke@aicas.com>
6969 * javax/swing/plaf/basic/BasicInternalFrameUI.java
6970 (ShowSystemMenuAction): New class.
6971 (installKeyboardActions): Implemented.
6972 (uninstallKeyboardActions): Implemented.
6973 * javax/swing/plaf/metal/MetalInternalFrameUI.java
6974 (installKeyboardActions): Overridden to remove showSystemMenu action.
6976 2006-06-06 Chris Burdess <dog@gnu.org>
6978 * gnu/xml/transform/TransformerImpl.java: Check type of created
6981 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
6983 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6984 (getScreenDevices): Added explicit cast.
6986 2006-06-06 Roman Kennke <kennke@aicas.com>
6988 * javax/swing/plaf/basic/BasicTextUI.java
6989 (installKeyboardActions): Use shared input map. Correctly
6990 install the input/action maps in the component's input/action
6992 (getActionMap): New helper method for fetching an ActionMap from
6993 the UIManager or creating a default one if there is none supplied
6995 (createActionMap): Add the TransferHandler's actions here. Made
6997 (getInputMap): Leave out unnecessary method parameter. Load
6999 * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
7001 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
7003 * configure.ac: Added missing [ to expression.
7005 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
7007 * configure.ac: Added missing { to expression.
7009 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
7011 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
7012 * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
7013 * include/Makefile.am: Added
7014 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
7015 * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
7016 (GdkGraphicsConfiguration): Rewritten.
7017 (getColorModel): Rewritten.
7018 (getColorModel(int)): Rewritten.
7019 (getBounds): Rewritten.
7020 (createCompatibleVolatileImage): Implemented.
7021 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
7023 (getDefaultScreenDevice): Rewritten.
7024 (nativeGetDefaultScreenDevice): New method.
7025 (getScreenDevices): Rewritten.
7026 (nativeGetScreenDevices): New method.
7027 (nativeInitState): New method.
7028 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
7030 (X11DisplayMode): New inner class.
7031 * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
7032 gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
7033 * native/jni/gtk-peer/gdkdisplay.h: New file.
7034 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
7035 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
7037 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
7039 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
7040 _nativeGetScreenDevices):
7042 (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
7043 _nativeGetDefaultScreenDevice):
7045 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
7047 * configure.ac: Added check for Xrandr library.
7049 2006-06-06 Roman Kennke <kennke@aicas.com>
7051 * javax/swing/plaf/basic/BasicTableUI.java
7052 (getMaximumSize): Don't return null. Fixed calculation of
7054 (getMinimumSize): Don't return null. Fixed calculation of
7056 (getPreferredSize): Fixed calculation of with and height. Added
7058 (getHeight): New helper method.
7060 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
7062 * javax/swing/JComponent.java
7063 (getInputMap(int)): Throw IllegalArgumentException for unknown
7064 condition argument, and added API docs,
7065 (getInputMap()): Added API docs.
7067 2006-06-06 Robert Schuster <robertschuster@fsfe.org>
7069 * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
7071 2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
7073 * javax/swing/JTable.java
7074 (AccessibleJTableHeaderCell.header): New field,
7075 (AccessibleJTableHeaderCell.columnIndex): Likewise,
7076 (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
7077 (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
7078 (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
7079 (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
7080 (AccessibleJTable.getAccessibleChild(int)): Overridden,
7081 (AccessibleJTable.getAccessibleAt): Reimplemented.
7083 2006-06-05 Sven de Marothy <sven@physto.se>
7085 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
7086 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7087 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7088 (initFromVolatile): New method.
7089 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
7090 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
7092 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
7093 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
7094 (copyArea, drawVolatileImage): New methods.
7096 2006-06-05 Tania Bento <tbento@redhat.com>
7098 * javax/swing/JFrame.java
7099 (frameInit): Set background color and fixed layout parameters.
7101 2006-06-05 Tom Tromey <tromey@redhat.com>
7103 * NEWS: Mention VMURLConnection.
7105 2006-06-05 Lillian Angel <langel@redhat.com>
7107 * native/plugin/gcjwebplugin.cc:
7108 Added new field to keep track of initialization.
7109 (plugin_start_appletviewer): Fixed to return an error value, if
7110 an error was encountered when loading the appletviewer.
7111 (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
7113 (plugin_failed): New helper function. Shows a warning if the appletviewer
7114 has not been installed.
7115 (NP_Initialize): Added code to make sure this function is only called
7118 2006-06-05 Lillian Angel <langel@redhat.com>
7120 * native/plugin/Makefile.am:
7121 Fixed to use a set plugin directory in the .mozilla directory.
7122 All applet logs are now stored here, instead of /tmp.
7123 * native/plugin/gcjwebplugin.cc:
7124 Added new fields for security warning.
7125 (GCJ_NEW): Added code to generate a security warning for all pages
7126 that spawn an appletviewer. This warning asks the user if they trust
7127 the applet and if they would like to add it to a 'whitelist'. This
7128 whitelist keeps track of all the addresses the user would like
7129 to trust indefinitely.
7130 (plugin_user_trusts_documentbase): New helper function.
7131 (plugin_add_documentbase_to_whitelist): New helper function.
7132 (plugin_ask_user_about_documentbase): New helper function.
7133 (plugin_in_pipe_callback): Fixed check to determine if channel_error
7135 (plugin_start_appletviewer): Likewise.
7136 (plugin_create_applet_tag): Reset all fields to null after they have been
7138 (plugin_send_message_to_appletviewer): Fixed all error checks to determine
7139 if channel_error has been set.
7140 (plugin_stop_appletviewer): Likewise.
7141 (NP_Initialize): Likewise. Also, added code to determine if directory and file
7144 2006-06-05 Francis Kung <fkung@redhat.com>
7147 * gnu/java/awt/peer/gtk/GtkImage.java
7148 (getSource): Added check to determine if in
7150 * gnu/java/awt/peer/gtk/GtkToolkit.java
7151 (createImage): Added check to prevent NPE.
7153 2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7155 * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
7156 Create the ImageView, when applicable.
7157 * gnu/javax/swing/text/html/CombinedAttributes.java,
7158 javax/swing/text/html/ImageView.java: New files.
7160 2006-06-05 Roman Kennke <kennke@aicas.com>
7163 * javax/swing/text/GapContent.java
7164 (setPositionsInRange): Compare with startIndex and endIndex
7165 rather than start and end.
7166 (dumpMarks): Only dump real marks.
7168 2006-06-05 Sven de Marothy <sven@physto.se>
7170 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7171 (ComponentGraphics): Use 0,0 as clip origin.
7173 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
7175 * java/util/Formattable.java,
7176 * java/util/FormattableFlags.java,
7177 * java/util/Formatter.java:
7180 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7182 * java/util/Formatter.java:
7183 Make the class final.
7185 2005-09-26 Tom Tromey <tromey@redhat.com>
7187 * java/util/Formatter.java (format): Set fmtLocale.
7188 (applyLocalization): New method.
7189 (basicIntegralConversion): Likewise.
7190 (hexOrOctalConversion): Use it.
7191 (decimalConversion): New method.
7192 (format): Use decimalConversion, dateTimeConversion.
7193 (genericFormat): Upper-case earlier. Justify correctly.
7194 (singleDateTimeConversion): New method.
7195 (dateTimeConversion): Likewise.
7197 2005-09-25 Tom Tromey <tromey@redhat.com>
7199 * java/util/Formatter.java (lineSeparator): Use SystemProperties.
7201 2005-09-24 Tom Tromey <tromey@redhat.com>
7203 * java/util/FormattableFlags.java (PLUS, SPACE, ZERO, COMMA,
7204 PAREN): New constants.
7205 * java/util/Formattable.java: New file.
7206 * java/util/Formatter.java: New file.
7208 2005-08-13 Tom Tromey <tromey@redhat.com>
7210 * java/util/FormattableFlags.java: New file.
7212 2006-06-04 Sven de Marothy <sven@physto.se>
7214 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7215 (createVolatileImage): Pass peer to VolatileImage constructor.
7216 * java/awt/Component.java
7217 (createVolatileImage): Call peer method directly.
7219 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
7221 * java/util/DuplicateFormatFlagsException.java,
7222 * java/util/FormatFlagsConversionMismatchException.java,
7223 * java/util/FormatterClosedException.java,
7224 * java/util/IllegalFormatCodePointException.java,
7225 * java/util/IllegalFormatConversionException.java,
7226 * java/util/IllegalFormatException.java,
7227 * java/util/IllegalFormatFlagsException.java,
7228 * java/util/IllegalFormatPrecisionException.java,
7229 * java/util/IllegalFormatWidthException.java,
7230 * java/util/MissingFormatArgumentException.java,
7231 * java/util/MissingFormatWidthException.java,
7232 * java/util/UnknownFormatConversionException.java,
7233 * java/util/UnknownFormatFlagsException.java:
7236 2005-08-13 Tom Tromey <tromey@redhat.com>
7238 * java/util/UnknownFormatConversionException.java
7239 (serialVersionUID): New field.
7240 (s): Renamed from 'conv' for serialization.
7241 * java/util/MissingFormatWidthException.java (serialVersionUID):
7243 (s): Renamed from 'width' for serialization.
7244 * java/util/MissingFormatArgumentException.java
7245 (serialVersionUID): New field.
7246 (s): Renamed from 'spec' for serialization.
7247 * java/util/IllegalFormatWidthException.java (serialVersionUID):
7249 (w): Renamed from 'width' for serialization.
7250 * java/util/IllegalFormatPrecisionException.java
7251 (serialVersionUID): New field.
7252 (p): Renamed from 'precision' for serialization.
7253 * java/util/IllegalFormatFlagsException.java (serialVersionUID):
7255 * java/util/IllegalFormatConversionException.java
7256 (serialVersionUID): New field.
7257 (c): Renamed from 'conv' for serialization.
7258 (arg): Renamed from 'argClass' for serialization.
7259 * java/util/IllegalFormatCodePointException.java
7260 (serialVersionUID): New field.
7261 (c): Renamed from 'codepoint' for serialization.
7262 * java/util/FormatFlagsConversionMismatchException.java
7263 (serialVersionUID): New field.
7264 (f): Renamed from 'flags' for serialization.
7265 (c): Renamed from 'conversion' for serialization.
7266 * java/util/DuplicateFormatFlagsException.java (serialVersionUID):
7268 * java/util/IllegalFormatException.java (serialVersionUID): New
7270 * java/util/FormatterClosedException.java (serialVersionUID): New
7273 2005-04-20 Tom Tromey <tromey@redhat.com>
7275 * java/util/DuplicateFormatFlagsException.java: New file.
7276 * java/util/FormatFlagsConversionMismatchException.java: New file.
7277 * java/util/FormatterClosedException.java: New file.
7278 * java/util/IllegalFormatCodePointException.java: New file.
7279 * java/util/IllegalFormatConversionException.java: New file.
7280 * java/util/UnknownFormatFlagsException.java: New file.
7281 * java/util/UnknownFormatConversionException.java: New file.
7282 * java/util/MissingFormatWidthException.java: New file.
7283 * java/util/MissingFormatArgumentException.java: New file.
7284 * java/util/IllegalFormatWidthException.java: New file.
7285 * java/util/IllegalFormatPrecisionException.java: New file.
7286 * java/util/IllegalFormatFlagsException.java: New file.
7287 * java/util/IllegalFormatException.java: New file.
7289 2006-06-04 Sven de Marothy <sven@physto.se>
7291 * gnu/java/awt/peer/gtk/CairoSurface.java
7292 (getFlippedBuffer): New method.
7293 (getGtkImage): Renamed method.
7294 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
7295 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
7296 Renamed getSharedImage to getGtkImage.
7297 * include/gnu_java_awt_peer_gtk_CairoSurface.h
7298 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7299 (getFlippedBuffer): New method
7300 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7303 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
7305 * java/lang/System.java:
7306 (nanoTime()): Documented.
7308 2006-03-20 Tom Tromey <tromey@redhat.com>
7310 * java/lang/System.java:
7311 (nanoTime()): Implemented.
7313 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
7315 * java/math/BigDecimal.java:
7316 (precision): Fixed overflow problem with large numbers.
7317 (longValueExact): New method.
7318 (intValueExact): Likewise.
7319 (byteValueExact): Likewise.
7320 (shortValueExact): Likewise.
7322 2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
7324 * java/math/BigDecimal.java:
7325 (remainder(BigDecimal)): New method.
7326 (divideAndRemainder(BigDecimal)): Likewise.
7327 (divideToIntegralValue(BigDecimal)): Likewise.
7328 (floor): New implementation method.
7330 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
7332 * java/math/BigDecimal.java:
7333 (divide(BigDecimal, int, RoundingMode)): New method.
7334 (divide(BigDecimal, RoundingMode)): Likewise.
7335 (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
7336 when the new scale is < 0.
7337 (setScale(int, RoundingMode)): New method.
7340 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
7342 * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
7343 with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
7344 (add(BigDecimal, MathContext)): New method.
7345 (subtract(BigDecimal, MathContext)): Likewise.
7346 (precision): Fixed to correctly handle BigIntegers with more than 19
7348 (pow(int, MathContext)): New method.
7350 2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
7352 * java/math/BigDecimal.java: Added @throws clause to constructors.
7353 (mathContext): Removed this unneeded field.
7354 (BigDecimal(int, MathContext)): New constructor.
7355 (BigDecimal(BigInteger, int, MathContext)): Likewise.
7356 (multiply(BigDecimal, MathContext)): New method.
7357 (negate(MathContext)): Likewise.
7358 (plus(MathContext)): Likewise.
7359 (numDigitsInLong): Fixed to properly handle negatives.
7361 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
7363 * java/math/BigDecimal.java:
7364 (BigDecimal(long, MathContext)): New constructor.
7365 (BigDecimal(BigInteger, MathContext)): Likewise.
7366 (BigDecimal(String, MathContext)): Likewise.
7367 (BigDecimal(double, MathContext)): Likewise.
7368 (round): Fixed a typo where the precision field was used instead of a
7369 call to the precision method, and also store the new precision in the
7370 returned BigDecimal.
7371 (abs(MathContext)): New method.
7373 2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
7375 * java/math/BigDecimal.java
7376 (toBigInteger): Fixed problem where this method couldn't handle
7377 negative values for scale.
7378 (toBigIntegerExact): New method.
7379 (stripTrailingZeros): Likewise.
7381 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
7383 * java/math/BigDecimal.java:
7384 (toString): Fixed a problem where the negative sign was being displayed
7385 twice in the exponent.
7386 (toEngineeringString): New method.
7387 (toPlainString): Likewise.
7390 2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
7392 * java/math/BigDecimal.java:
7393 (toString): Rewrote this method to behave as specified. Added API
7394 comments to explain behaviour.
7395 (scaleByPowerOfTen): New method.
7397 2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
7399 * java/math/BigDecimal.java:
7400 (BigDecimal(char[], int, int, MathContext)): New constructor.
7401 (BigDecimal(char[], MathContext)): Likewise.
7402 (BigDecimal(char[])): Likewise.
7403 (BigDecimal(char[], int, int)): Likewise.
7404 (BigDecimal(String)): Fixed handling of exponent and scale.
7406 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
7408 * java/math/BigDecimal.java:
7409 (mathContext): New field.
7410 (precision): Likewise.
7411 (BigDecimal(int)): New constructor.
7412 (BigDecimal(long)): Likewise.
7413 (BigDecimal(BigInteger)): Added API docs.
7414 (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
7418 (precision): Likewise.
7419 (valueOf): Likewise.
7420 (numDigitsInLong): New implementation method.
7422 2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
7424 * java/math/MathContext.java: New class.
7426 2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
7428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
7429 (drawVolatile): Add casts.
7430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
7431 (getOutline): Add casts.
7432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
7433 Comment out unused prototype.
7434 (getPixels): Add appropriate cast and comment out unused variable.
7436 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
7438 * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
7439 * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
7440 * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
7441 * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
7442 (getSystemInstance): Fix javadoc @link.
7443 (counter): Increased visibility.
7444 * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
7445 * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
7446 * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
7447 * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
7448 * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
7449 * gnu/javax/crypto/mode/CTR.java: Remove unused import.
7450 * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
7451 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
7452 * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
7453 * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
7454 * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
7455 * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
7456 * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
7457 * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
7458 * gnu/javax/crypto/mac/OMAC.java: Likewise.
7459 * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
7460 * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
7461 * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
7462 * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
7463 * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
7464 * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
7465 * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
7466 * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
7467 * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
7468 * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
7469 * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
7470 * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
7471 * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
7472 * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
7473 * gnu/javax/crypto/assembly/Direction.java: Likewise.
7474 * gnu/javax/crypto/assembly/Transformer.java: Likewise.
7476 2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
7478 * gnu/java/security/PolicyFile.java: Updated copyright year.
7479 (logger): Increased visibility.
7480 * gnu/java/security/x509/Util.java: Updated copyright year.
7481 (hexDump): Fix javadoc @link.
7482 * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
7483 Removed unused import.
7484 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
7485 * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
7486 * gnu/java/security/util/ExpirableObject.java: Likewise.
7487 (destroy): Likewise.
7488 * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
7489 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
7490 Updated copyright year.
7491 (checkCRL): Fix javadoc @param.
7493 2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
7495 * java/lang/annotation/IncompleteAnnotationException.java:
7498 2004-08-07 Tom Tromey <tromey@redhat.com>
7500 * java/lang/annotation/IncompleteAnnotationException.java: New
7503 2006-06-02 Sven de Marothy <sven@physto.se>
7505 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7506 (cairoPreserveClip, cairoResetClip): New methods.
7507 (setClip, clip): Reimplement.
7508 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
7509 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
7510 (cairoPreserveClip, cairoResetClip): New methods.
7512 2006-06-02 Sven de Marothy <sven@physto.se>
7514 * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
7515 * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
7516 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
7518 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7519 (drawImage): Overloads for VolatileImage drawing.
7520 (drawVolatile): New method.
7521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7522 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
7523 (drawVolatile): New method.
7524 * gnu/java/awt/peer/gtk/GtkVolatileImage.java
7525 Unstub implementation.
7526 * include/Makefile.am
7527 * native/jni/gtk-peer/Makefile.am
7529 * native/jni/gtk-peer/gtkpeer.h
7532 2006-06-03 Roman Kennke <kennke@aicas.com>
7535 * javax/swing/plaf/basic/BasicTextUI.java
7536 (damageRange): Added null check to avoid NPE.
7538 2006-06-03 Roman Kennke <kennke@aicas.com>
7540 * javax/swing/text/PlainView.java
7541 (updateDamage): Check for valid longestLine and initialize if
7544 2006-06-03 Mark Wielaard <mark@klomp.org>
7546 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
7549 2006-06-02 Sven de Marothy <sven@physto.se>
7552 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7553 (copyArea): Implement.
7554 (copyAreaImpl, getRealBounds): New methods.
7555 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
7556 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7557 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
7558 (copyAreaImpl, getRealBounds): Implement.
7559 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7560 (nativeCopyArea): Reimplement.
7562 2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
7564 * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
7565 (XTEST_LIBS): New, substitute.
7566 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
7568 2006-06-02 Roman Kennke <kennke@aicas.com>
7571 * javax/swing/text/PlainView.java
7572 (updateDamage): Rewritten for correct repainting and revalidating.
7573 (findLongestLine): New helper method.
7574 (getLineLength): New helper method.
7576 2006-06-02 Sven de Marothy <sven@physto.se>
7578 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
7579 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
7580 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7581 (nativeCopyArea): Change stride parameter to use # of ints.
7582 (setPixels): Add checks.
7583 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7584 (ComponentGraphics): Set background, clip.
7585 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7586 (Cairographics2D): Don't set clip.
7587 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7590 2006-06-02 Lillian Angel <langel@redhat.com>
7593 * java/awt/DefaultKeyboardFocusManager.java
7594 (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
7595 to get the focused window.
7597 2006-06-01 Miriam Schuster <schmir11@web.de>
7599 * Makefile.am: Add fallback if "mozilla-plugin" is not available.
7600 Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
7602 2006-06-02 Roman Kennke <kennke@aicas.com>
7604 * javax/swing/JTable.java
7605 (columnSelectionChanged): Don't return when there's only one
7606 column (might still need repainting). Correctly calculate
7608 (valueChanged): Use return value of SwingUtilities.computeUnion
7611 2006-06-01 Keith Seitz <keiths@redhat.com>
7613 From Martin Platter <motse@complang.tuwien.ac.at>:
7614 * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
7615 (executeSet): Fix buffer underflow reading reference ID.
7616 * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
7617 (executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
7618 * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
7619 (executeSuperclass): Handle case of Object with ID zero.
7621 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
7623 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
7624 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
7625 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
7626 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
7627 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
7628 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
7629 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
7630 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
7631 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
7632 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
7633 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
7635 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
7637 * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
7638 (Command): Add the shutdown hook.
7639 (doCommand): Remove the shutdown hook.
7640 (ShutdownHook): New class.
7642 2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
7644 * tools/jarsigner.in: Use @VM_BINARY@.
7645 * tools/keytool.in: Likewise.
7647 2006-06-01 Sven de Marothy <sven@physto.se>
7649 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
7650 (setColor): Update the cairo paint.
7652 2006-06-01 Mark Wielaard <mark@klomp.org>
7654 * java/util/logging/LogManager.java (createInstance): Always add
7655 original exception on warning.
7657 2006-06-01 Lillian Angel <langel@redhat.com>
7659 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
7660 (prependCodebase): Fixed check. No dirname was ever considered to
7661 be a file, so every applet fell into the if-statement causing a lot
7662 of classloading problems with the applets.
7664 2006-06-01 Sven de Marothy <sven@physto.se>
7666 Patch submitted by Boris Dusek.
7667 * native/jni/qt-peer/qtmenupeer.cpp
7670 2006-06-01 Roman Kennke <kennke@aicas.com>
7672 * javax/swing/JTable.java
7673 (AccessibleJTableCell.getAccessibleRow): Added comment explaining
7674 why the behaviour is like it is.
7675 (AccessibleJTableCell.getAccessibleStateSet): Implemented.
7676 (AccessibleJTableHeader): New inner class.
7677 (AccessibleJTableHeaderCell): New inner class.
7678 (AccessibleJTable.lastSelectedRow): New field.
7679 (AccessibleJTable.lastSelectedColumn): New field.
7680 (AccessibleJTable.caption): New field.
7681 (AccessibleJTable.summary): New field.
7682 (AccessibleJTable.rowDescriptions): New field.
7683 (AccessibleJTable.columnDescriptions): New field.
7684 (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
7685 (AccessibleJTable.getAccessibleSelection(int)): Implemented.
7686 (AccessibleJTable.isAccessibleChildSelected): Implemented.
7687 (AccessibleJTable.addAccessibleSelection): Implemented.
7688 (AccessibleJTable.removeAccessibleSelection): Implemented.
7689 (AccessibleJTable.clearAccessibleSelection): Implemented.
7690 (AccessibleJTable.selectAllAccessibleSelection): Implemented.
7691 (AccessibleJTable.valueChange): Implemented.
7692 (AccessibleJTable.tableRowsInserted): Implemented.
7693 (AccessibleJTable.tableRowsDeleted): Implemented.
7694 (AccessibleJTable.handleRowChange): New helper method.
7695 (AccessibleJTable.columnAdded): Implemented.
7696 (AccessibleJTable.columnMarginChanged): Implemented.
7697 (AccessibleJTable.columnMoved): Implemented.
7698 (AccessibleJTable.columnRemoved): Implemented.
7699 (AccessibleJTable.columnSelectionChanged): Implemented.
7700 (AccessibleJTable.handleColumnChange): New helper method.
7701 (AccessibleJTable.editingCanceled): Implemented.
7702 (AccessibleJTable.editingStopped): Implemented.
7703 (AccessibleJTable.getAccessibleRow): Implemented.
7704 (AccessibleJTable.getAccessibleColumn): Implemented.
7705 (AccessibleJTable.getAccessibleIndex): Implemented.
7706 (AccessibleJTable.getAccessibleCaption): Implemented.
7707 (AccessibleJTable.setAccessibleCaption): Implemented.
7708 (AccessibleJTable.getAccessibleSummary): Implemented.
7709 (AccessibleJTable.setAccessibleSummary): Implemented.
7710 (AccessibleJTable.getAccessibleRowCount): Implemented.
7711 (AccessibleJTable.getAccessibleColumnCount): Implemented.
7712 (AccessibleJTable.getAccessibleAt): Implemented.
7713 (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
7714 (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
7715 (AccessibleJTable.getAccessibleRowHeader): Implemented.
7716 (AccessibleJTable.setAccessibleRowHeader): Implemented.
7717 (AccessibleJTable.getAccessibleColumnHeader): Implemented.
7718 (AccessibleJTable.setAccessibleColumnHeader): Implemented.
7719 (AccessibleJTable.getAccessibleRowDescription): Implemented.
7720 (AccessibleJTable.setAccessibleRowDescription): Implemented.
7721 (AccessibleJTable.getAccessibleColumnDescription): Implemented.
7722 (AccessibleJTable.setAccessibleColumnDescription): Implemented.
7723 (AccessibleJTable.isAccessibleSelected): Implemented.
7724 (AccessibleJTable.isAccessibleRowSelected): Implemented.
7725 (AccessibleJTable.isAccessibleColumnSelected): Implemented.
7726 (AccessibleJTable.getSelectedAccessibleRows): Implemented.
7727 (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
7728 (getAccessibleContext): Register listeners for the accessibility
7729 class on the JTable.
7731 2006-06-01 Sven de Marothy <sven@physto.se>
7733 * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
7734 (setPaint): Scale +1 pixel larger.
7736 2006-06-01 Sven de Marothy <sven@physto.se>
7739 * gnu/java/awt/Buffers.java (getData): Reimplement.
7740 * gnu/java/awt/peer/gtk/CairoSurface.java
7741 (getElem, setElem): Call native methods.
7743 2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7745 * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
7747 2006-06-01 Sven de Marothy <sven@physto.se>
7749 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7750 (drawImage): Check for zero size.
7751 * gnu/java/awt/peer/gtk/GdkTextLayout.java:
7752 (setFont): Declare new native method.
7753 (GdkTextLayout): Read some attributes.
7754 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
7755 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
7756 (setFont): New native method.
7758 2006-06-01 Sven de Marothy <sven@physto.se>
7760 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
7761 (updateBufferedImage): Fix some errors.
7763 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
7765 * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
7767 * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
7768 * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
7769 * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
7770 * javax/swing/plaf/basic/BasicListUI.java: Likewise,
7771 * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
7772 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
7773 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
7774 * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
7775 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
7776 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
7778 2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
7780 * javax/swing/JComboBox.java: Minor source code formatting fixes,
7781 * javax/swing/JEditorPane.java: Likewise,
7782 * javax/swing/JFormattedTextField.java: Likewise,
7783 * javax/swing/JLayeredPane.java: Likewise,
7784 * javax/swing/JScrollPane.java: Likewise,
7785 * javax/swing/JSlider.java: Likewise,
7786 * javax/swing/JSpinner.java: Likewise,
7787 * javax/swing/JTree.java: Likewise,
7788 * javax/swing/JViewport.java: Likewise,
7789 * javax/swing/UIDefaults.java: Likewise,
7790 * javax/swing/UIManager.java: Likewise.
7792 2006-06-01 Sven de Marothy <sven@physto.se>
7794 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
7795 (BufferedImageGraphics): Cache surfaces.
7796 (updateBufferedImage): Copy directly for certain color models.
7797 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7798 (drawImage): Reimplement.
7800 2006-06-01 Sven de Marothy <sven@physto.se>
7802 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7803 (setPixels): Don't swap, correct size.
7805 2006-05-31 Anthony Green <green@redhat.com>
7808 * java/net/InetSocketAddress.java: Defer getting the host
7809 name until somebody calls InetSocketAddress.getHostName().
7810 Fix "represenation" typo.
7812 2006-06-01 Sven de Marothy <sven@physto.se>
7814 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
7815 (updateBufferedImage): Simplify.
7816 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7817 (getPixels): Don't swap.
7819 2006-06-01 Sven de Marothy <sven@physto.se>
7821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
7822 (setGradient): Reimplement.
7824 2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
7826 * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
7827 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
7828 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7829 (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
7830 CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
7831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
7832 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
7835 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
7837 * javax/swing/table/JTableHeader.java
7838 (getColumnHeaderRenderer): New method,
7839 (getAccessibleColumnHeaderRenderer): Delegate part to new
7840 getColumnHeaderRenderer() method,
7841 (getLocale): Implemented.
7843 2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
7845 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7846 (cp_gtk_grab_current_drawable): Rename
7847 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
7848 cp_gtk_grab_current_drawable, remove static declaration.
7849 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
7851 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
7852 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
7854 cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
7855 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
7857 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
7858 * native/jni/gtk-peer/gtkpeer.h: Add prototype for
7859 cp_gtk_grab_current_drawable here.
7861 2006-05-31 Sven de Marothy <sven@physto.se>
7864 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
7865 (updateBufferedImage): Keep within image bounds.
7867 2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
7868 Andreas Tobler <a.tobler@schweiz.ch>
7870 * configure.ac: Check for libXrender when the GTK peers are
7871 enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
7873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7874 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
7875 [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
7877 2006-05-31 Lillian Angel <langel@redhat.com>
7879 * javax/swing/plaf/basic/BasicProgressBarUI.java
7880 (paintString): Implemented to paint the string vertically.
7882 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
7884 * javax/swing/JTable.java
7885 (AccessibleJTable.AccessibleJTable()): Check for null editor,
7886 (AccessibleJTable.getAccessibleRole()): Overridden to return correct
7888 (AccessibleJTable.getAccessibleTable()): Likewise,
7889 (getAccessibleContext): Create new context if required.
7891 2006-05-31 Roman Kennke <kennke@aicas.com>
7893 * javax/swing/JTabbedPane.java
7894 (AccessibleJTabbedPane.stateChanged): Implemented.
7895 (Page.getAccessibleStateSet): Implemented.
7896 (Page.getAccessibleIndexInParent): Implemented.
7897 (getAccessibleContext): Add AccessibleJTabbedPane object
7898 as ChangeListener to the JTabbedPane.
7900 2006-05-31 Roman Kennke <kennke@aicas.com>
7902 * javax/swing/JMenuItem.java
7903 (getAccessibleContext): Register accessible object as ChangeListener
7905 (AccessibleJMenuItem.armed): New field.
7906 (AccessibleJMenuItem.focusOwner): New field.
7907 (AccessibleJMenuItem.pressed): New field.
7908 (AccessibleJMenuItem.selected): New field.
7909 (stateChanged): Implemented.
7911 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
7913 * javax/swing/ListSelectionModel.java: Added API docs all over.
7915 2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
7917 * examples/gnu/classpath/examples/swing/FillRect.java
7918 (paintComponent): Optionally paint lines rather than rectangles.
7919 (createContent): Added option to test line painting.
7921 2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
7923 * javax/swing/event/EventListenerList.java
7924 (getListenerList): Updated API docs.
7926 2006-05-30 Sven de Marothy <sven@physto.se>
7928 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7929 (drawImage): Clip scaled image to dest rectangle.
7931 2006-05-30 Sven de Marothy <sven@physto.se>
7933 * gnu/java/awt/peer/gtk/CairoSurface.java:
7934 (CairoSurface): Convert pixels properly.
7935 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7936 Remove commented-out lines.
7938 2006-05-30 Sven de Marothy <sven@physto.se>
7940 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7941 (drawImage): Use Toolkit to convert to BufferedImage.
7942 * gnu/java/awt/peer/gtk/CairoSurface.java
7943 (CairoSurface(GtkImage)): New Constructor.
7944 (getBufferedImage): New method.
7945 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7946 Don't fill background - FIXME.
7947 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
7948 Remove unused methods.
7949 * gnu/java/awt/peer/gtk/GtkImage.java:
7950 (pixbuflock): New field. Methods change to use this lock.
7951 * gnu/java/awt/peer/gtk/GtkToolkit.java
7952 (createImage): Use Cairo-backed surfaces via GtkImage instead of
7954 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7955 (setPixels): Correct length in bytes.
7957 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7959 * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
7960 System.loadLibrary unconditionally.
7961 * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
7962 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
7963 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
7964 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
7966 2006-05-30 Mark Wielaard <mark@klomp.org>
7968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
7969 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
7970 Mark unused parameters, remove unused variables.
7972 2006-05-30 Sven de Marothy <sven@physto.se>
7974 * gnu/java/awt/peer/gtk/ComponentGraphics.java
7975 (copyArea): Implemented.
7976 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
7977 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
7978 (copyAreaNative): New method.
7980 2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
7982 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7983 (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
7984 for non big endian systems.
7985 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
7987 2006-05-30 Roman Kennke <kennke@aicas.com>
7989 * gnu/java/awt/java2d/TexturePaintContext.java: New file.
7990 * java/awt/TexturePaint.java
7991 (createContext): Implemented.
7993 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
7995 * javax/swing/table/DefaultTableMode.java: Initialize dataVector
7998 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
8000 * java/awt/Container.java:
8001 (removeAll): Reimplemented, added note.
8003 2006-05-30 Robert Schuster <robertschuster@fsfe.org>
8005 * java/awt/Container.java:
8006 (removeAll): Implemented different removal mechanism, added note.
8008 2006-05-30 Lillian Angel <langel@redhat.com>
8011 * java/awt/Component.java:
8012 (translateEvent): Added handling to translate WindowEvents
8013 * java/awt/Window.java:
8014 Removed unneeded imports.
8016 2006-05-30 Mark Wielaard <mark@klomp.org>
8018 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
8021 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8023 * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
8025 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8027 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
8028 (clearRect): Do not reuse the fg field, call updateColor.
8029 (drawRaster): Likewise.
8030 (setColor): Call updateColor.
8031 (updateColor): New method.
8033 2006-05-30 Mark Wielaard <mark@klomp.org>
8035 * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
8036 (PTR_TO_JLONG): Likewise.
8037 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
8038 (getPointer): Use new conversion macros.
8039 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
8040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
8041 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
8043 (setNativeObject): Likewise.
8044 (getNativeObject): Likewise.
8045 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
8046 (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
8048 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
8049 Correctly cast XID and pointer values.
8050 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
8051 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
8052 Mark unused variables.
8053 (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
8055 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
8056 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
8057 Remove unused cairographics2d struct.
8058 (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
8059 (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
8060 Use new conversion macros.
8061 * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
8063 2006-05-30 Mark Wielaard <mark@klomp.org>
8065 * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
8067 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8069 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
8070 (copy): Do not reuse the fd field.
8071 (setColor): Do not set the color if the parameter
8073 (translate(double, double): Rewritten to use
8074 AffineTransform.translate.
8076 2006-05-30 Sven de Marothy <sven@physto.se>
8078 * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
8079 * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
8080 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
8082 * include/Makefile.am
8083 * native/jni/gtk-peer/Makefile.am
8085 * gnu/java/awt/peer/gtk/CairoSurface.java
8086 (getSharedGtkImage): New method.
8087 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
8088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
8090 * gnu/java/awt/peer/gtk/ComponentGraphics.java
8091 Support a non-xrender context.
8092 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
8094 * gnu/java/awt/peer/gtk/GtkImage.java
8095 * include/gnu_java_awt_peer_gtk_GtkImage.h
8096 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
8097 (initFromBuffer): New method.
8098 * native/jni/gtk-peer/gtkpeer.h:
8099 Remove declarations of previouslyremoved methods.
8101 2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
8103 * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
8105 2006-05-29 Mark Wielaard <mark@klomp.org>
8107 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
8108 (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
8110 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
8111 (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
8112 early. Remove unused return statement in void function.
8113 (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
8115 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
8116 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
8118 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
8119 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
8121 (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
8124 2006-05-29 Sven de Marothy <sven@physto.se>
8126 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
8127 (setPixels): Remove superfluous return statement.
8129 2006-05-29 Sven de Marothy <sven@physto.se>
8131 * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
8132 * gnu/java/awt/peer/gtk/CairoGraphics2D.java
8133 * gnu/java/awt/peer/gtk/CairoSurface.java
8134 * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
8135 * gnu/java/awt/peer/gtk/ComponentGraphics.java
8136 * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
8137 * include/gnu_java_awt_peer_gtk_CairoSurface.h
8138 * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
8139 * native/jni/gtk-peer/cairographics2d.h
8140 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
8141 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
8144 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8145 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8146 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
8149 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
8150 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
8151 * gnu/java/awt/peer/gtk/GdkFontPeer.java
8152 (releasePeerGraphicsResource): Moved to Font peer class.
8154 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8155 (createGraphics): Use new context classes.
8157 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
8158 Use native BufferedImages where possible.
8160 * gnu/java/awt/peer/gtk/GdkTextLayout.java
8161 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
8162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
8163 Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
8164 renamed to cairoDrawGdkTextLayout.
8166 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8167 (getGraphics): Use ComponentGraphics context.
8168 (createImage): Use native BufferedImage.
8170 * gnu/java/awt/peer/gtk/GtkImage.java:
8171 * include/gnu_java_awt_peer_gtk_GtkImage.h
8172 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
8173 Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
8174 Remove drawing methods.
8176 * gnu/java/awt/print/JavaPrinterGraphics.java:
8177 Use CairoSurface instead of GtkImage.
8179 * include/Makefile.am
8180 * native/jni/gtk-peer/Makefile.am
8181 Update for new files.
8183 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
8184 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
8185 Remove superfluous GtkImage code for GdkPixmaps.
8187 * native/jni/gtk-peer/gtkpeer.h
8188 Remove graphics2d structure.
8190 2006-05-29 Mark Wielaard <mark@klomp.org>
8192 * java/io/ObjectStreamConstants.java: Removed double declaration
8195 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8197 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
8198 Do not reuse fg in the constructor.
8200 2006-05-29 Carsten Neumann <cn-develop@gmx.net>
8202 * java/io/ObjectStreamConstants.java: Added API docs.
8204 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8206 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
8207 Take no action if this color is already set.
8209 2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8211 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
8213 * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
8214 Optionally paint with translation. (createContent): Added option
8215 to test painting with translation
8217 2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
8219 * java/util/logging/FileHandler.java (FileHandler): Set the instance field
8220 pattern to the default value when null.
8221 Pass field pattern, and not parameter with same name to createFileStream.
8223 2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
8225 * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
8226 New class implementing the OS bean.
8227 * gnu/java/lang/management/package.html:
8228 New file to document the gnu.java.lang.management package.
8229 * java/lang/management/ManagementFactory.java:
8230 New class to provide access to the OS bean.
8231 * java/lang/management/OperatingSystemMXBean.java:
8233 * java/lang/management/package.html:
8234 New file to document the java.lang.management package.
8236 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
8238 * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
8241 (SECURITY): Likewise.
8242 (CACERTS): Likewise.
8243 (CACERTS_GKR): Likewise.
8244 (gkrCaCertsPathName): New field.
8245 (jksCaCertsPathName): Likewise.
8246 (selfSignedCertificate): Likewise.
8247 (start): Initialize trusted certificate key stores if -trustcacerts is
8249 (ensureReplyIsOurs): Initialize selfSignedCertificate.
8250 (orderChain): Implemented.
8251 (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
8252 certificate key stores if -trustcacerts option is specified.
8253 (findTrustInCACerts): Removed.
8254 (getCertPathParameters): New method.
8255 (validate): New method.
8256 * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
8258 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
8260 * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
8261 (PATTERN_KEY): Likewise.
8262 (DEFAULT_PATTERN): Likewise.
8263 (LIMIT_KEY): Likewise.
8264 (DEFAULT_LIMIT): Likewise.
8265 (COUNT_KEY): Likewise.
8266 (DEFAULT_COUNT): Likewise.
8267 (APPEND_KEY): Likewise.
8268 (DEFAULT_APPEND): Likewise.
8269 (FileHandler()): Use pattern value as set in logging.properties.
8270 Use constants defined above.
8271 (FileHandler(1)): Use constants defined above.
8272 (FileHandler(2)): Likewise.
8273 (FileHandler(3)): Likewise.
8274 (FileHandler(4)): Likewise.
8275 (createFileStream): Likewise.
8277 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
8279 * java/util/logging/FileHandler.java: Reverted previous patch.
8280 * java/util/logging/LogManager.java: Likewise.
8282 2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
8284 * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
8285 (DEFAULT_PATTERN): Likewise.
8286 (FileHandler()): Use configured pattern property if any; otherwise use a
8287 default value as per RI documentation.
8288 * java/util/logging/LogManager.java (getStringProperty): New method.
8290 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8292 * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
8294 2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8296 * configure.ac (FOUND_CACAO): New automake conditional.
8297 Add --enable-tool-wrappers.
8298 * NEWS: Introduce the --enable-tool-wrappers option.
8299 * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
8300 * tools/appletviewer.c: Remove file. Make tool-indepedent and
8302 * tools/toolwrapper.c: New file.
8304 2006-05-27 Dalibor Topic <robilad@kaffe.org>
8306 * java/awt/Graphics2D.java: Use full class name for
8307 PrinterJob in javadoc.
8309 2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
8311 * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
8312 (callMouseMethod): Likewise.
8314 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
8316 * native/jni/java-net/java_net_VMURLConnection.c:
8317 Fix function declarations to specify unused parameters.
8318 * scripts/check_jni_methods.sh:
8319 Remove copies of the same function using uniq.
8321 2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
8323 * vm/reference/java/net/VMURLConnection.java:
8324 Make package-private and final.
8326 2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8328 * examples/gnu/classpath/examples/swing/TableDemo.java
8329 (TModed): Added editor for the icons column.
8330 (createContent): Increase the row height by 2 px.
8332 2006-05-26 Tom Tromey <tromey@redhat.com>
8335 * java/math/BigInteger.java (modPow): Correctly handle negative
8338 2006-05-26 Tom Tromey <tromey@redhat.com>
8340 * configure.ac: Check for magic.h and -lmagic.
8341 * vm/reference/java/net/VMURLConnection.java: New file.
8342 * include/java_net_VMURLConnection.h: New file.
8343 * include/Makefile.am (H_FILES): Add VMURLConnection.h.
8344 ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
8345 * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
8347 (libjavanet_la_LIBADD): Add $(LIBMAGIC).
8348 * native/jni/java-net/java_net_VMURLConnection.c: New file.
8350 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
8352 * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
8354 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
8356 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
8357 libjawtgnu.la libjawt.la.
8359 2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
8361 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
8364 2006-05-25 Lillian Angel <langel@redhat.com>
8367 * java/awt/Window.java
8368 (Window): Moved code to helper.
8369 (addWindowFocusListener): New function. Handles focus
8370 listener code. Added code to handle focus lost/gained
8373 2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
8376 Make pkg-config check for GTK+ >= 2.8.
8378 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8380 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8381 (flush): Remove debugging printfs.
8383 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8385 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8386 (schedule_flush): New function.
8387 (end_drawing_operation): Call schedule_flush.
8389 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8391 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
8392 paint performance demo.
8393 * examples/gnu/classpath/examples/swing/FillRect.java: New file.
8395 2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8397 * INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
8398 Cairo version requirement. Do not mention --enable-gtk-cairo
8400 * NEWS: Add entry for GdkGraphics2D.
8401 * configure.ac: Remove --enable-gtk-cairo and explicit checks for
8402 Cairo library and headers.
8403 * .externalToolBuilders/Configure.launch: Remove
8404 --enable-gtk-cairo from configure line.
8405 * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
8407 * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
8408 * gnu/java/awt/peer/gtk/GdkFontPeer.java,
8409 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
8410 useGraphics2D references. Always assume Graphics2D is enabled.
8411 * gnu/java/awt/peer/gtk/GdkGraphics.java,
8412 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
8413 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
8414 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
8415 Unlocked method variants. Remove GTK_CAIRO_ENABLED and
8416 useGraphics2D references. Always assume Graphics2D is enabled.
8417 * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
8418 Graphics2D check. Always assume Graphics2D is enabled.
8419 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
8420 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
8421 (realize): Remove method.
8422 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8423 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8424 (isRealized): Remove method.
8425 (realize): Implement as a native method. Remove useGraphics2D
8426 references. Always assume Graphics2D is enabled.
8427 * gnu/java/awt/peer/gtk/GtkImage.java,
8428 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
8429 GdkGraphics references with GdkGraphics2D references.
8430 * gnu/java/awt/peer/gtk/GtkToolkit.java,
8431 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
8432 useGraphics2D references. Always assume Graphics2D is enabled.
8433 * include/Makefile.am (GTKPEER_H_FILES): Remove
8434 gnu_java_awt_peer_gtk_GdkGraphics.h.
8435 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
8436 * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
8437 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
8438 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
8439 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
8440 * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
8441 * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
8442 gnu_java_awt_peer_gtk_GdkGraphics.c. Include
8443 gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
8444 (AM_LDFLAGS): Remove CAIRO_LIBS.
8445 (AM_CFLAGS): Remove CAIRO_CFLAGS.
8446 * native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
8448 * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
8450 2006-05-25 Lillian Angel <langel@redhat.com>
8452 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8453 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
8454 Added check to prevent assertion error. If widget->window is null, then
8455 use the parent widget's window to set the cursor on.
8457 2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8459 * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
8462 2006-05-24 Lillian Angel <langel@redhat.com>
8464 * tools/gnu/classpath/tools/appletviewer/AppletTag.java
8465 (prependCodeBase): Added check to determine if the documentbase
8466 points to a directory or a file.
8468 2006-05-24 Sven de Marothy <sven@physto.se>
8470 * java/awt/dnd/DragGestureRecognizer.java
8471 (resetRecognizer): Implement.
8472 (fireDragGestureRecognized): Implement.
8474 2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
8476 * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
8477 fixed source code formatting.
8479 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8481 * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
8483 2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8485 Reported by Antony Balkisson.
8486 * javax/swing/JTable.java (selectAll): Return without action
8487 if the table is empty.
8489 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8491 * examples/gnu/classpath/examples/swing/TableDemo.java:
8492 (SliderCell): New inner class. (setCustomEditors,
8493 setInformativeHeaders): New fields. (createContent):
8495 * javax/swing/DefaultCellEditor.java
8496 (JComboBoxDelegate.shouldSelectCell): New method.
8497 * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
8498 * javax/swing/plaf/basic/BasicTableUI.java
8499 (MouseInputHandler.mouseClicked): Start editing on a single
8500 click if the cell editor is not a default cell editor.
8502 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8504 * javax/swing/naming/CompositeName.java,
8505 javax/swing/naming/CompoundName.java:
8508 2006-05-23 Archie Cobbs <archie@dellroad.org>
8510 * vm/reference/java/lang/VMClassLoader.java: fix static initializer
8513 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
8515 * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
8516 * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
8517 * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
8518 * javax/swing/tree/DefaultTreeModel.java: Likewise,
8519 * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
8520 * javax/swing/tree/ExpandVetoException.java: Likewise,
8521 * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
8522 * javax/swing/tree/RowMapper.java: Likewise,
8523 * javax/swing/tree/TreeNode.java: Likewise,
8524 * javax/swing/tree/TreeSelectionModel.java: Likewise,
8525 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
8527 2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
8529 * javax/swing/tree/DefaultTreeCellRenderer.java
8530 (DefaultTreeCellRenderer): Changed key for
8531 setBackgroundNonSelectionColor(),
8532 plus API docs all over.
8534 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8537 * javax/swing/JTable.java (booleanInvertingEditor): New field.
8538 (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
8539 Initialise in constructor. (columnMoved): Cancel editing.
8540 (createDefaultEditors): Rewritten. (editCellAt):
8541 Just invert the value if this is a boolean cell.
8542 (initialiseLocalVars): Do not initialise renderer and editor tables.
8543 (setUI): Create editors and renderers here.
8545 2006-05-23 Robert Schuster <robertschuster@fsfe.org>
8547 * examples/gnu/classpath/examples/awt/Demo.java:
8548 (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
8549 instance as subframe.
8550 (ResolutionWindow): New inner class.
8551 (FullscreenWindow): New inner class.
8553 2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8556 * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
8557 Set horizontal alignment to centered.
8559 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
8561 * javax/accessibility/AccessibleContext.java
8562 (getAccessibleComponent): Fixed typo in docs,
8563 * javax/swing/JLabel.java:
8564 (AccessibleJLabel.getAccessibleName): Check for explicit
8566 * javax/swing/JTableHeader.java
8567 (AccessibleJTableHeaderEntry.columnIndex): New field,
8568 (AccessibleJTableHeaderEntry.parent): New field,
8569 (AccessibleJTableHeaderEntry.table): New field,
8570 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
8572 (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
8574 (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
8575 (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
8576 (AccessibleJTableHeaderEntry.contains): Implemented,
8577 (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
8578 (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
8579 (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
8580 (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
8581 (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
8582 (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
8583 (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
8584 (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
8585 (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
8586 (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
8587 (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
8588 (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
8589 (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
8590 (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
8591 (AccessibleJTableHeaderEntry.getBackground): Implemented,
8592 (AccessibleJTableHeaderEntry.getBounds): Implemented,
8593 (AccessibleJTableHeaderEntry.getCursor): Implemented,
8594 (AccessibleJTableHeaderEntry.getFont): Implemented,
8595 (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
8596 (AccessibleJTableHeaderEntry.getForeground): Implemented,
8597 (AccessibleJTableHeaderEntry.getLocation): Implemented,
8598 (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
8599 (AccessibleJTableHeaderEntry.getSize): Implemented,
8600 (AccessibleJTableHeaderEntry.isEnabled): Implemented,
8601 (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
8602 (AccessibleJTableHeaderEntry.isShowing): Implemented,
8603 (AccessibleJTableHeaderEntry.isVisible): Implemented,
8604 (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
8605 (AccessibleJTableHeaderEntry.removePropertyChangeListener):
8607 (AccessibleJTableHeaderEntry.requestFocus): Implemented,
8608 (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
8609 (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
8610 (AccessibleJTableHeaderEntry.setBackground): Implemented,
8611 (AccessibleJTableHeaderEntry.setBounds): Implemented,
8612 (AccessibleJTableHeaderEntry.setCursor): Implemented,
8613 (AccessibleJTableHeaderEntry.setEnabled): Implemented,
8614 (AccessibleJTableHeaderEntry.setFont): Implemented,
8615 (AccessibleJTableHeaderEntry.setForeground): Implemented,
8616 (AccessibleJTableHeaderEntry.setLocation): Implemented,
8617 (AccessibleJTableHeaderEntry.setSize): Implemented,
8618 (AccessibleJTableHeaderEntry.setVisible): Implemented,
8619 (AccessibleJTableHeader.getAccessibleRole): Implemented,
8620 (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
8621 (AccessibleJTableHeader.getAccessibleChild): Implemented,
8622 (AccessibleJTableHeader.getAccessibleAt): Implemented.
8624 2006-05-22 Tom Tromey <tromey@redhat.com>
8628 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
8630 * javax/swing/JLabel.java
8631 (AccessibleJLabel.getAccessibleName): New method (override),
8632 (setLabelFor): Fire 'labelFor' property change event before other
8635 2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
8637 * javax/swing/JLabel.java
8638 (AccessibleJLabel.getAccessibleRole): New method (override).
8640 2006-05-22 Tom Tromey <tromey@redhat.com>
8642 * resource/gnu/classpath/tools/serialver/messages.properties: New
8644 * tools/gnu/classpath/tools/serialver/Messages.java: New file.
8645 * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
8647 (classpath): Likewise.
8650 (addFileURL): New method.
8651 (getClassLoader): Likewise.
8652 (printMessage): Likewise.
8654 2006-05-22 Tom Tromey <tromey@redhat.com>
8656 * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
8658 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8660 * javax/swing/JTable.java (doLayout): In the column
8661 resize mode, only repaing the changed part of the table.
8662 (getLeftResizingBoundary): New method.
8664 2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8666 * javax/naming/spi/InitialContextFactory.java,
8667 javax/naming/spi/InitialContextFactoryBuilder.java,
8668 javax/naming/spi/NamingManager.java,
8669 javax/naming/spi/ObjectFactory.java,
8670 javax/naming/spi/ResolveResult.java,
8671 javax/naming/spi/Resolver.java,
8672 javax/naming/spi/StateFactory.java: Documented.
8674 2006-05-21 Tom Tromey <tromey@redhat.com>
8677 * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
8680 (shouldExtract): Removed.
8682 * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
8683 * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
8686 (allItems): New field.
8687 (run): Initialize it.
8690 2006-05-22 Sven de Marothy <sven@physto.se>
8692 * java/nio/CharBuffer.java
8693 (wrap): Fix bounds checking.
8695 2004-08-26 Tom Tromey <tromey@redhat.com>
8697 * java/io/OutputStream.java
8698 (OutputStream): Implements Closeable, Flushable.
8700 2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
8702 * java/io/ObjectOutputStream.java:
8703 (writeObject(Object)): Added enum support.
8704 (writeClassDescriptor(ObjectStreamClass)): Likewise.
8705 * java/io/ObjectStreamClass.java:
8706 (isEnum()): New package-private method.
8707 (setFlags(Class)): Added enum support.
8708 * java/io/ObjectStreamConstants.java:
8711 2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
8713 * java/io/ObjectInputStream.java:
8714 (parseContent(byte)): Added enum support.
8715 * java/io/ObjectStreamConstants.java:
8717 (TC_MAX): Changed to new maximum, TC_ENUM.
8719 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
8721 * java/beans/beancontext/BeanContextSupport.java:
8722 (instantiateChild(String)): Implemented.
8724 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
8726 * java/beans/beancontext/BeanContextSupport.java:
8727 (add(Object)): Add further documentation.
8728 (isEmpty()): Documented.
8729 (propertyChange(PropertyChangeEvent)): Implemented.
8730 (remove(Object)): Documented.
8731 (remove(Object,boolean)): Documented and implemented.
8732 (vetoableChange(PropertyChangeEvent)): Marked as
8733 implemented (only subclasses appear to need this).
8735 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
8737 * java/beans/beancontext/BeanContextSupport.java:
8738 (add(Object)): Implement support for the child being
8740 (avoidingGui()): Implemented.
8741 (dontUseGui()): Likewise.
8742 (needsGui()): Likewise.
8743 (okToUseGui()): Likewise.
8745 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8747 * javax/naming/Context.java,
8748 javax/naming/ContextNotEmptyException.java,
8749 javax/naming/Reference.java: Documented.
8751 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8753 * javax/swing/text/html/MinimalHTMLWriter.java
8754 (writeComponent, writeImage): Declare that the method
8755 may throw the IOException.
8757 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8760 * javax/naming/InitialContext.java (colon_list): Changed type to
8761 hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
8764 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8766 * javax/naming/InitialContext.java: Documented.
8768 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8770 * javax/naming/NameParser.java,
8771 javax/naming/NamingEnumeration.java,
8772 javax/naming/PartialResultException.java,
8773 javax/naming/SizeLimitExceededException.java,
8774 javax/naming/spi/ObjectFactory.java,
8775 javax/naming/spi/ObjectFactoryBuilder.java: Documented.
8777 2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
8779 * gnu/java/net/loader/JarURLLoader.java:
8780 Use Map.Entry instead of LinkedHashMap.Entry
8782 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8784 * javax/naming/Context.java: Documented.
8786 2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
8788 * javax/naming/Referenceable.java: Documented.
8789 * javax/naming/spi/NamingManager.java: Documented.
8791 2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
8793 * doc/tools.texinfo: Replaced references to MessageBundle.properties
8794 to messages.properties.
8795 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
8796 Renamed to messages.properties.
8797 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
8799 * resource/gnu/classpath/tools/jarsigner/messages.properties:
8800 Renamed from MessageBundle.properties.
8801 Added copyright notice.
8802 * resource/gnu/classpath/tools/keytool/messages.properties:
8804 * tools/gnu/classpath/tools/jarsigner/Messages.java
8805 (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
8806 (getFormattedString): Fixed a spelling mistake.
8807 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
8809 2006-05-20 Sven de Marothy <sven@physto.se>
8811 * gnu/java/awt/font/opentype/NameDecoder.java
8813 (getName): Use getShort instead of getChar(), fix PS name.
8814 (decodeName): New method.
8815 * gnu/java/awt/peer/gtk/GdkFontPeer.java
8816 (getSubFamilyName): Implement.
8817 (getPostScriptName): Use the NameDecoder class instead.
8818 (parsePSName): Removed.
8821 2006-05-20 Sven de Marothy <sven@physto.se>
8823 * gnu/java/awt/peer/gtk/GdkFontPeer.java
8824 (getTrueTypeTable): New native method.
8825 (getPostScriptName): Reimplement.
8826 (parsePSName): New method.
8827 (getNumGlyphs): Implement.
8828 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
8829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
8830 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
8831 New function. File is now explicitly dependent on FT2.
8833 2006-05-20 Tom Tromey <tromey@redhat.com>
8835 * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
8836 * resource/gnu/classpath/tools/native2ascii/messages.properties: New
8838 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
8839 (HandleFile): New class.
8840 (input, output, encoding, reversed): New fields.
8841 (createParser): New method.
8844 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
8845 (notifyFile): Throws OptionException.
8847 2006-05-20 Tom Tromey <tromey@redhat.com>
8849 * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
8852 2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
8854 * native/jni/java-nio/gnu_java_nio_VMChannel.c:
8855 (JCL_print_buffer): Fix to work with -Werror on 64-bit
8858 2006-05-20 Sven de Marothy <sven@physto.se>
8860 * java/awt/Font.java (getNumGlyphs): Call correct peer method.
8862 2006-05-20 Sven de Marothy <sven@physto.se>
8864 * gnu/java/awt/print/JavaPrinterJob.java
8865 (print): Use PostScriptGraphics2D.
8866 * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
8868 2006-05-20 Sven de Marothy <sven@physto.se>
8870 * javax/swing/text/html/MinimalHTMLWriter.java: New file
8872 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
8874 * gnu/java/security/OID.java: Updated copyright year.
8875 (OID): Removed unused Javadoc param tag.
8876 * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
8877 * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
8879 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
8881 * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
8883 Added trace/debug statements.
8884 (engineSetCertificateEntry): Ensure alias is not already used for a Key
8885 Entry. Also ensure that any previous entry for this alias is removed
8886 before a new one is added.
8887 (engineGetKey): Do not trace/log passwords.
8888 Trace key's class name only.
8889 (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
8890 Certificate Entry. Also ensure that previous entry for this alias is
8891 removed before a new one is added.
8892 (engineLoad): Do not trace/log passwords.
8893 (engineStore): Likewise.
8894 (engineSize): Use size of enumeration instead of collection size.
8896 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
8898 * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
8899 (toString): New method.
8900 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
8901 Do not trace/log passwords.
8902 Set masked to false before decoding envelope.
8903 Do not set payload to null.
8904 (encrypt): Set masked to true.
8905 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
8906 Do not trace/log passwords.
8907 Set masked to false before decoding envelope.
8908 Do not set payload to null.
8909 Added trace/debug statements.
8910 (authenticate): Do not trace/log passwords.
8912 Added trace/debug statements.
8913 (getMac): Added trace/debug statements.
8914 * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
8915 (remove(String)): Changed the signature to return a boolean.
8916 (toString): New method.
8917 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
8919 (getCertificate): Likewise.
8920 (putCertificate): Likewise.
8922 Do not trace/log passwords.
8924 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
8925 Do not trace/log passwords.
8926 Added more trace/logging statements.
8927 (putPrivateKey): Do not trace/log passwords.
8928 Trace only key's class name.
8930 (containsPublicKey): Formatting.
8931 (getPublicKey): Likewise.
8932 Trace only key's class name.
8933 (putPublicKey): Trace only key's class name.
8934 (containsCertPath): Formatting.
8935 (getCertPath): Likewise.
8936 (putCertPath): Likewise.
8937 (load): Do not trace/log passwords.
8940 * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
8941 (add): Do not set payload to null.
8942 Added trace/debug statements.
8943 (containsAlias): Added trace/debug statements.
8945 (remove(Entry)): Likewise.
8946 (remove(String)): Likewise.
8947 Changed the signature to return a boolean.
8948 Do not set payload to null unless really removed.
8949 (toString): New method.
8950 (decodeEnvelope): Clear entries before proceeding.
8951 (makeAliasList): Added trace/debug statements.
8952 Ensure only non-null aliases and alias-lists are added.
8953 * gnu/javax/crypto/keyring/Entry.java (log): New field.
8954 (TYPES): New constant.
8955 (toString): New method.
8956 (defaultDecode): Add trace/debug statement.
8958 2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
8960 * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
8961 Increased visibility.
8962 (setup): Do not trace/log passwords.
8963 (parsed): Was not setting correct (rfc) field; fixed.
8964 (print1Chain): Formatting.
8965 * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
8966 Do not trace/log passwords.
8967 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
8968 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
8969 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
8970 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
8971 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
8972 * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
8973 (orderChain): Added FIXME.
8974 * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
8975 Do not trace/log passwords.
8976 Removed commented out code.
8977 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
8978 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
8979 * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
8980 (setKeystoreURLParam): Likewise.
8981 (setKeystorePasswordParam): Do not trace/log passwords.
8982 (saveKeyStore): Likewise.
8984 2006-05-19 Roman Kennke <kennke@aicas.com>
8986 * gnu/java/awt/java2d/AbstractGraphics2D.java
8988 (pixel): Removed obsolete field.
8989 (draw(Shape)): Removed commented out code.
8990 (drawImage): Formatting.
8991 (drawString): Added optimization hook.
8992 (setPaint): Removed rawSetForeground().
8993 (getFontRenderContext): Return context with correct transform.
8994 (drawGlyphVector): Draw complete outline in one go.
8995 (copyArea): Added optimization hook.
8996 (clearRect): Added optimization hook.
8997 (drawImage): Added optimization hook.
8998 (fillShape): (Temporarily) Set antialiasing off by default for
8999 font rendering. Adjust the shape by some bits to improve rendering.
9000 Pass clip bounds to the render methods.
9001 (drawPixel): Removed.
9002 (rawSetPixel): Removed.
9003 (rawSetForeground): Removed.
9004 (rawDrawLine): Default impl calls standard pipeline.
9005 (rawDrawString): New method, calls standard pipeline for rendering.
9006 (rawClearRect): New method, calls standard pipeline for rendering.
9007 (rawFillRect): New method, calls standard pipeline for rendering.
9008 (rawDrawImage): New method, calls standard pipeline for rendering.
9009 (rawCopyArea): New method.
9010 (copyAreaImpl): New method.
9011 (rawFillShape): Renamed to fillShapeImpl(). Small optimization
9013 (fillShapeAntialias): Fixed AA rendering.
9014 (fillScanlineAA): Fixed AA rendering.
9015 (getSegments): Take offset into account.
9017 2006-05-19 Sven de Marothy <sven@physto.se>
9019 * javax/swing/text/AbstractWriter.java
9020 (getText): Fix parameters (start, length) not (start, end).
9022 2006-05-19 Tom Tromey <tromey@redhat.com>
9025 * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
9026 Changed return type.
9027 * java/net/URLClassLoader.java (urlloaders): Removed.
9028 (addURLImpl): Updated.
9029 * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
9030 (indexSet): Likewise.
9031 (classPath): Changed type.
9032 (JarURLLoader): New constructor.
9033 (initialize): New method.
9034 (getResource): Use index set if it exists.
9035 (getClassPath): Updated.
9036 * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
9037 (prefixes): New field.
9039 (IndexListParser): Fill in prefixes.
9040 (clearAll): Clear prefixes.
9041 (getHeaders): Changed return type.
9043 2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9045 * javax/swing/plaf/basic/BasicTableHeaderUI.java
9046 (MouseInputHandler.mouseExitted): No nothing there.
9047 (MouseInputHandler.endDragging): Move column to the
9048 first/last position if released outside the horizontal
9051 2006-05-19 Lillian Angel <langel@redhat.com>
9053 * java/awt/font/GlyphVector.java
9054 (getGlyphCharIndex): Implemented.
9055 (getGlyphCharIndices): Implemented.
9056 (getGlyphOutline): Implemented.
9057 (getGlyphVisualBounds): Implemented.
9058 (getGlyphVisualBounds): Implemented.
9059 (getPixelBounds): Implemented.
9060 (getLayoutFlags): Implemented.
9062 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
9064 * java/awt/LightweightDispatcher.java: Added field dragButton and
9065 documentation for it.
9066 (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
9067 added subexpression to if-clause in MOUSE_RELEASED case.
9069 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
9071 * javax/swing/metal/MetalButtonUI.java:
9072 (update): Removed some subexpression from if-clause and call
9074 (updateWithGradient): New method.
9076 2006-05-19 Roman Kennke <kennke@aicas.com>
9078 * javax/swing/JComponent.java
9079 (findOverlapFreeParent): Implemented algorithm for finding
9080 overlapping in component hierarchy.
9082 2006-05-19 Jeroen Frijters <jeroen@frijters.net>
9084 * java/lang/Thread.java
9085 (contextClassLoaderIsSystemClassLoader): New field.
9086 (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
9087 (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
9088 and set contextClassLoaderIsSystemClassLoader.
9089 (Thread(ThreadGroup,Runnable,String,long)):
9090 Set contextClassLoaderIsSystemClassLoader.
9091 (createAnonymousThreadName): New method.
9092 (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
9093 and fixed security check.
9094 (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
9096 2006-05-19 Robert Schuster <robertschuster@fsfe.org>
9098 * javax/swing/plaf/basic/BasicToolBarUI.java:
9099 (createNonRolloverBorder): Rewritten.
9100 (createRolloverBorder): Rewritten.
9101 (setToNonRolloverBorder): Store old border instance in hashtable.
9102 (setToRolloverBorder): Store old border instance in hashtable, use
9103 AbstractButton instead of JButton in statements.
9104 (setBorderToNormal): Rewritten.
9105 * javax/swing/plaf/metal/MetalLookAndFeel.java:
9106 (initComponentDefaults): Added values for ToolBar.rolloverBorder and
9107 ToolBar.nonrolloverBorder.
9109 2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9111 * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
9112 * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
9114 2006-05-18 Lillian Angel <langel@redhat.com>
9116 * java/awt/font/GlyphMetrics.java
9117 (getLSB): Implemented.
9118 (getRSB): Implemented.
9120 2006-05-18 Lillian Angel <langel@redhat.com>
9122 * java/awt/font/GraphicAttribute.java:
9123 Documented entire class.
9124 (GraphicAttribute): Added check for alignment.
9125 (getBounds): Implemented.
9126 (getJustificationInfo): Implemented.
9128 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
9130 * java/awt/LightweightDispatcher.java:
9131 (handleMouseEvent): Added note, added subexpression to if-statement.
9133 2006-05-18 Robert Schuster <robertschuster@fsfe.org>
9135 * javax/swing/plaf/basic/BasicToolBarUI.java:
9136 (navigateFocusedComp): Marked as stub.
9137 (createRolloverBorder): Create a different Border instance, added note.
9138 * javax/swing/plaf/metal/MetalBorders.java:
9139 (ButtonBorder): Added documentation.
9140 (ButtonBorder.paintDefaultButtonBorder): Added else-block.
9141 (ButtonBorder.paintOceanButtonBorder): Added else-block, added
9142 subexpression into if-else cascade, added note.
9144 2006-05-18 Lillian Angel <langel@redhat.com>
9146 * java/awt/font/ShapeGraphicAttribute.java:
9147 Documented entire class.
9148 (ShapeGraphicAttribute): Initialized bounds field.
9149 (draw): Implemented.
9150 (equals): Implemented.
9151 (getAdvance): Implemented.
9152 (getAscent): Implemented.
9153 (getBounds): Implemented.
9154 (getDescent): Implemented.
9155 (hashCode): Implemented.
9157 2006-05-18 Roman Kennke <kennke@aicas.com>
9159 * javax/swing/CellRendererPane.java
9160 (CellRendererPane): Set CellRendererPane to invisible.
9162 2006-05-18 Roman Kennke <kennke@aicas.com>
9164 * gnu/java/awt/peer/gtk/GdkGraphics.java
9165 (clipRect): Removed old intersection statement.
9167 2006-05-18 Roman Kennke <kennke@aicas.com>
9169 * gnu/java/awt/peer/gtk/GdkGraphics.java
9170 (clipRect): Don't use Rectangle.intersection() to avoid creating
9171 2 unnecessary Rectangle instances and fix a clipping problem.
9172 (computeIntersection): New helper method, adapted from SwingUtilities.
9174 2006-05-18 Roman Kennke <kennke@aicas.com>
9176 * javax/swing/JComponent.java
9177 (isCompletelyDirty): Removed.
9178 (paint): Don't mark children as clean, this is no longer necessary.
9179 (findOverlapFreeParent): Don't stop at Viewports, this breaks
9180 painting when something overlaps the viewport (like a popup/menu).
9181 * javax/swing/RepaintManager.java
9182 (currentRepaintManagers): Made package private to avoid accessor
9184 (dirtyComponents): Made private.
9185 (dirtyComponentsWork): Made private.
9186 (markCompletelyDirty): Fixed bounds of dirtyrect to be
9187 component-local not parent-local. Do not set flag in JComponent.
9188 (markCompletelyClean): Don't set JComponent flag.
9189 (isCompletelyDirty): Rewritten to return true when the complete
9190 component is marked dirty.
9191 (paintDirtyRegions): Improved parent-merging so that the merged-in
9192 components don't get painted too. 'Outsourced' the compilation
9193 of the repaint root components.
9194 (compileRepaintRoots): New helper method.
9196 2006-05-18 Roman Kennke <kennke@aicas.com>
9199 * javax/swing/text/GapContent.java
9200 (GapContentPosition(int)): Use adapted binarySearch method to
9201 allow for having a greater array than number of entries.
9202 (numMarks): New field, holds the end of the marks list.
9203 (GapContent): Initialize positionMarks with size of 10 instead of 0.
9204 (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
9205 (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
9206 (setPositionsInRange): Changed signature to narrow the purpose and
9207 special cases inside. Reimplemented to crunch together equal marks.
9208 (adjustPositionsInRange): Added assertion to make sure we do
9209 not accidentally change the order of the mark. Added some debug
9210 output for a special case of which I don't know if it even exists.
9211 (resetMarksAtZero): Made impl simpler.
9212 (dumpMarks): New debug helper method.
9213 (insertMark): Grow array in bigger chunks to avoid excessive copying.
9214 (binarySearch): New method. An adaption of Arrays.binarySearch()
9215 that allows for an maxIndex parameter.
9217 2006-05-18 Roman Kennke <kennke@aicas.com>
9219 * javax/swing/KeyboardManager.java
9220 (topLevelLookup): Use WeakHashMap to avoid memory leak.
9222 2006-05-18 Jeroen Frijters <jeroen@frijters.net>
9224 * gnu/java/net/loader/JarURLLoader.java
9225 (JarURLLoader): Use a slightly more efficient URL constructor.
9227 2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
9229 * gnu/java/awt/print/JavaPrinterGraphics.java
9230 (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
9231 (drawImage(Image, int, int, ImageObserver)): Likewise,
9232 (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
9233 (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
9234 (drawImage(Image, int, int, int, int, int, int, int, int, Color,
9235 ImageObserver)): Likewise,
9236 (drawImage(Image, int, int, int, int, int, int, int, int,
9237 ImageObserver)): Likewise.
9239 2006-05-17 Tom Tromey <tromey@redhat.com>
9241 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
9244 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
9246 * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
9247 * javax/swing/border/BevelBorder.java: Likewise,
9248 * javax/swing/border/CompoundBorder.java: Likewise,
9249 * javax/swing/border/TitledBorder.java: Likewise.
9251 2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
9253 * javax/swing/table/AbstractTableModel.java: Formatting fixes,
9254 * javax/swing/table/DefaultTableModel.java: Likewise,
9255 * javax/swing/table/TableCellEditor.java: Likewise,
9256 * javax/swing/table/TableCellRenderer.java: Likewise.
9258 2006-05-17 Lillian Angel <langel@redhat.com>
9260 * java/awt/font/ImageGraphicAttribute.java:
9261 Documented entire class.
9262 (ImageGraphicAttribute): Changed to call this.
9263 (ImageGraphicAttribute): Implemented.
9264 (draw): Implemented.
9265 (equals): Implemented.
9266 (getAdvance): Implemented.
9267 (getAscent): Implemented.
9268 (getBounds): Implemented.
9269 (getDescent): Implemented.
9270 (hashCode): Implemented.
9271 * javax/swing/text/html/HTMLDocument.java
9272 (create): Removed. Sufficent enough for
9275 (insertUpdate): Likewise.
9276 (processHTMLFrameHyperlinkEvent): Marked as stub.
9277 (start): Removed FIXME.
9279 (start): Called super.
9280 (end): Called super.
9281 (getElement): removed unneeded code.
9282 (setParagraphAttribute): Removed. Sufficent enough
9283 for super to be called.
9284 (fireChangedUpdate): Likewise.
9285 (fireUndoableEditUpdate): Likewise.
9287 2006-05-17 Lillian Angel <langel@redhat.com>
9289 * java/awt/TexturePaint.java:
9290 Added documentation for class and all functions.
9291 (getTransparency): Implemented.
9293 2006-05-17 Roman Kennke <kennke@aicas.com>
9295 * java/awt/LightweightDispatcher.java
9296 (findTarget): Translate point to child components.
9298 2006-05-17 Roman Kennke <kennke@aicas.com>
9301 * javax/swing/text/GapContent.java
9302 (GapContentPosition): Do no more implement Comparable.
9303 (GapContentPosition.mark): Removed field.
9304 (GapContentPosition.index): New field to hold the index into
9305 the positions array.
9306 (GapContentPosition(int)): Rewritten to use the new indirection
9307 to the positions array.
9308 (GapContentPosition.compareTo): Removed.
9309 (GapContentPosition.getOffset): Synchronized. Fetch mark from
9310 positionMarks array.
9311 (WeakPositionComparator): Removed obsolete class.
9312 (positions): Changed type to WeakHashMap.
9313 (positionMarks): New field, holds the marks of the positions.
9314 (GapContent): Initialize new fields.
9315 (createPosition): Rewritten to use the new indirection
9316 to the positions array.
9317 (getPositionsInRange): Rewritten to use the new indirection
9318 to the positions array.
9319 (setPositionsInRange): Rewritten to use the new indirection
9320 to the positions array.
9321 (adjustPositionsInRange): Rewritten to use the new indirection
9322 to the positions array.
9323 (insertMark): New helper method.
9324 (clearPositionReferences): Removed obsolete methods.
9326 2006-05-17 Lillian Angel <langel@redhat.com>
9328 * java/awt/GraphicsConfiguration.java
9329 (getImageCapabilities): Implemented.
9330 (getBufferCapabilities): Implemented.
9332 2006-05-17 Lillian Angel <langel@redhat.com>
9334 * javax/swing/plaf/basic/BasicSliderUI.java
9335 (focusGained): Implemented.
9336 (focusLost): Implemented.
9337 (paint): Added code to paint the focus.
9338 * javax/swing/plaf/metal/MetalSliderUI.java
9339 (paintThumb): Added code to set the thumbColor.
9340 (paintFocus): Implemented properly.
9342 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9345 * javax/naming/spi/NamingManager.java (getURLContext):
9346 Always search for the factory class in all possible places
9347 and use VMStackWalker.
9348 (forName): New method.
9350 2006-05-17 Roman Kennke <kennke@aicas.com>
9352 * java/awt/LightweightDispatcher.java
9353 (handleMouseEvent): Fixed search algorithm for finding the
9355 (findTarget): Fixed search algorithm for finding the
9358 2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9360 * javax/naming/spi/NamingManager.java: Documented.
9362 2006-05-17 Mark Wielaard <mark@klomp.org>
9364 * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
9365 * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
9366 * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
9367 * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
9369 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
9372 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
9374 (BorderListener.mouseClicked): Detect double-clicks in title pane,
9376 BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
9378 2006-05-17 Robert Schuster <robertschuster@fsfe.org>
9381 * java/awt/LightweightDispatcher.java:
9382 (handleMouseEvent): Moved assignment into switch-block, added notes.
9384 2006-05-16 Lillian Angel <langel@redhat.com>
9386 * javax/swing/text/StyleContext.java:
9387 Changed staticAttributeKeys to be a Hashtable.
9388 (getStaticAttribute): Implemented.
9389 (getStaticAttributeKey): Implemented.
9390 (readAttributeSet): Implemented.
9391 (writeAttributeSet): Added FIXME. Not sure how
9393 (readAttributes): Implemented.
9394 (writeAttributes): Implemented.
9395 (registerStaticAttibuteKey): Fixed to add key to
9398 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
9400 * javax/swing/DefaultButtonModel.java
9401 (setGroup): Removed event notification.
9403 2006-05-16 Lillian Angel <langel@redhat.com>
9405 * javax/swing/plaf/basic/BasicComboBoxUI.java
9406 (installKeyboardActions): Implemented.
9407 (uninstallKeyboardActions): Implemented.
9408 * javax/swing/plaf/basic/BasicComboPopup.java
9409 (uninstallKeyboardActions): Removed FIXME. Nothing
9411 (installKeyboardActions): Likewise.
9412 * javax/swing/plaf/basic/BasicTextUI.java
9413 (uninstallKeyboardActions): Implemented.
9414 * javax/swing/plaf/basic/BasicTreeUI.java:
9415 Added field for hashColor.
9416 Marked stub methods.
9417 (getHashColor): Implemented to use field.
9418 (setHashColor): Likewise.
9419 (getRowX): Implemented.
9420 (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
9422 2006-05-16 Roman Kennke <kennke@aicas.com>
9425 * javax/swing/JTable.java
9426 (rowHeights): New field.
9427 (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
9428 in order to initialize rowHeights correctly.
9429 (tableChanged): Nullify rowHeights when model changes. Only
9430 create default columns from model when corresponding property
9431 is set. Sync table model with rowHeights as appropriate.
9432 (valueChanged): Call repaint with the correct rectangle.
9433 (rowAtPoint): Handle rowHeights.
9434 (getCellRect): Mostly rewritten. Check for boundaries
9435 of model and return (0,0,0,0) or (0,0,width,height) when outside.
9436 Handle component orientation. Round correctly.
9437 (getRowHeight(int)): Implemented for variable row height.
9438 (setRowHeight(int,int)): Implemented for variable row height.
9439 (setRowHeight(int)): Nullify rowHeights.
9440 (setModel): Notify tableChanged().
9441 * javax/swing/plaf/basic/BasicTableUI.java
9442 (installDefaults): Create rendererPane in installUI.
9443 (installUI): Create and install rendererPane.
9444 (uninstallUI): Uninstall rendererPane and nullify rendererPane
9446 (paint): Correctly handle rowMargin.
9448 2006-05-16 Tom Tromey <tromey@redhat.com>
9451 * java/text/NumberFormat.java (getIntegerInstance): Use
9452 "integerFormat", not "numberFormat".
9454 2006-05-16 Lillian Angel <langel@redhat.com>
9456 * javax/swing/JPopupMenu.java
9457 (addMenuKeyListener): Implemented.
9458 (removeMenuKeyListener): Implemented.
9459 (getMenuKeyListeners): Implemented.
9460 * javax/swing/ProgressMonitor.java:
9461 Added new protected field.
9462 (getAccessibleContext): Implemented.
9464 2006-05-16 Lillian Angel <langel@redhat.com>
9466 * javax/swing/JFileChooser.java:
9467 Added new private field.
9468 (setDragEnabled): Implemented.
9469 (getDragEnabled): Implemented.
9471 2006-05-16 Lillian Angel <langel@redhat.com>
9473 * java/awt/Window.java
9474 (applyResourceBundle): Implemented.
9476 2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
9478 * javax/swing/DefaultButtonModel.java
9479 (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
9482 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9484 * javax/swing/JList.java (getSelectedValues):
9485 Ask the value for the indexed array element.
9487 2006-05-16 Roman Kennke <kennke@aicas.com>
9489 * javax/swing/JTable.java
9490 (valueChanged): Also repaint when table has only 1 row. Fixed
9491 repaint rectangle to span the entire changed rows.
9493 2006-05-16 Roman Kennke <kennke@aicas.com>
9496 * javax/swing/JOptionPane.java
9497 (startModal): Rewritten. The events are now dispatched, even
9498 when the event dispatch thread gets blocked by the call
9499 to this method. Also, mouse events get intercepted outside the
9502 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9504 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9505 (BorderListener.mouseDragged):Do not set cursor
9506 if the frame is being dragged.
9508 2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9510 * javax/swing/plaf/basic/BasicInternalFrameUI.java
9511 (BorderListener): Rewritten. (InternalFrameBorder):
9512 Made package private.
9513 (InternalFrameBorder.offset):
9514 Renamed to cornerSize, made package private.
9515 (bSize): Made package private.
9517 2006-05-16 Roman Kennke <kennke@aicas.com>
9519 * javax/swing/JMenu.java
9520 (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
9521 (AccessibleJMenu.getAccessibleChild): Implemented.
9522 (AccessibleJMenu.getAccessibleSelection): Implemented.
9523 (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
9524 (AccessibleJMenu.isAccessibleChildSelected): Implemented.
9525 (AccessibleJMenu.getAccessibleRole): Documented.
9526 (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
9527 (AccessibleJMenu.addAccessibleSelection): Implemented.
9528 (AccessibleJMenu.removeAccessibleSelection): Implemented.
9529 (AccessibleJMenu.clearAccessibleSelection): Implemented.
9530 (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
9531 (createPath): New helper method.
9533 2006-05-15 Tom Tromey <tromey@redhat.com>
9535 * java/net/URLClassLoader.java: Moved inner classes to
9536 gnu.java.net.loader.
9537 (factoryCache): Changed type.
9538 (URL_LOADER_PREFIX): New constant.
9539 (URLClassLoader): Updated for new factoryCache.
9540 (addURLImpl): Use reflection to search for a loader.
9541 (findClass): Use getClass method on URLLoader.
9542 (getURLStreamHandler): Removed.
9543 * gnu/java/net/loader/URLLoader.java: New file, extracted
9544 from URLClassLoader.
9545 * gnu/java/net/loader/Resource.java: Likewise.
9546 * gnu/java/net/loader/FileResource.java: Likewise.
9547 * gnu/java/net/loader/FileURLLoaderjava: Likewise.
9548 * gnu/java/net/loader/JarURLLoader.java: Likewise.
9549 * gnu/java/net/loader/JarURLResource.java: Likewise.
9550 * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
9551 * gnu/java/net/loader/RemoteResource.java: Likewise.
9552 * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
9554 2006-05-15 Sven de Marothy <sven@physto.se>
9556 * native/target/generic/target_generic_network.h:
9557 Add a pair of parenthesis.
9559 2006-05-15 Mark Wielaard <mark@klomp.org>
9561 * java/awt/Graphics2D.java: Remove PrinterJob import.
9563 2006-05-15 Mark Wielaard <mark@klomp.org>
9565 * doc/www.gnu.org/announce/20060515.wml: New file.
9566 * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
9567 * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
9569 2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9571 * NEWS: Announce inclusion of gcjwebplugin.
9572 Announce inclusion of appletviewer.
9573 * INSTALL: Note gcjwebplugin dependencies.
9575 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9577 * javax/swing/RepaintManager.java (paintDirtyRegions):
9578 Break loop as soon as the component repaint is merged
9579 with some parent. (ComponentComparator): Removed.
9580 (comparator): Removed.
9582 2006-05-15 Roman Kennke <kennke@aicas.com>
9584 * javax/swing/border/TitledBorder.java
9585 (paintBorderWithTitle): Fixed indentation.
9587 2006-05-15 Roman Kennke <kennke@aicas.com>
9589 * javax/swing/border/TitledBorder.java
9590 (layoutBorderWithTitle): Fetch border using getBorder() instead
9591 of using the border field directly. Allows for the use of
9592 an UI supplied border in the case when a null border was set.
9593 Fixed component orientation.
9594 (paintBorderWithTitle): Fetch border using getBorder() instead
9595 of using the border field directly. Allows for the use of
9596 an UI supplied border in the case when a null border was set.
9598 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9600 * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
9601 (contains): New method.
9603 2006-05-15 Tom Tromey <tromey@redhat.com>
9605 * resource/gnu/classpath/tools/jar/messages.properties: Fixed
9607 * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
9610 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9612 * javax/swing/JComponent.java (findOverlapParent): Stop loop at
9614 * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
9615 region. (paintDirtyRegions): Rewritten.
9617 2006-05-15 Tom Tromey <tromey@redhat.com>
9619 * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
9621 * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
9623 * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
9624 (run): Use MessageFormat.
9625 * resource/gnu/classpath/tools/jar/messages.properties: New file.
9626 * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
9627 (writeFile): Use MessageFormat.
9629 2006-05-15 Jeroen Frijters <jeroen@frijters.net>
9631 * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
9632 instead of directly calling the class loader.
9634 2006-05-15 Tom Tromey <tromey@redhat.com>
9636 * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
9637 Removed old comment.
9638 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
9639 Externalized strings.
9640 (getVersionString): Use MessageFormat.
9641 * tools/gnu/classpath/tools/getopt/Messages.java: New file.
9642 * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
9643 * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
9644 (getArgument): Use a MessageFormat.
9645 (handleLongOption): Likewise.
9648 2006-05-15 Robert Schuster <robertschuster@fsfe.org>
9651 * javax/swing/text/FieldView.java:
9652 (paint): Calculate intersection between clip and allocation area and
9653 set that as new clip.
9655 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
9657 * javax/swing/text/JTextComponent.java: Marked stub methods.
9659 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
9661 * javax/swing/JTable.java: Marked stub methods.
9663 2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
9665 * tools/gnu/classpath/tools/jarsigner/Main.java:
9666 Increased visibility of fields used by parser anonymous classes.
9667 (KEYTOOL_TOOL): New constant.
9668 (cmdLineParser): Changed type to ToolParser.
9669 (fileAndAlias): new field.
9670 (main): Don't catch OptionException.
9671 (processArgs): Removed validation checks; now handled by ToolParser.
9672 (getParser): Removed.
9673 (ToolParserCallback): New inner class.
9674 (ToolParser): Likewise.
9676 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9678 * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
9681 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9683 * javax/swing/DefaultDesktopManager.java (endDraggingFrame,
9684 endResizingFrame): Do not repaint, unless in the outline mode.
9686 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
9688 * javax/swing/JTabbedPane.java
9689 (AccessibleJTabbedPane.getAccessibleRole): Implemented,
9690 (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
9691 (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
9692 (AccessibleJTabbedPane.getAccessibleAt): Implemented,
9693 (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
9694 (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
9695 (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
9696 (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
9697 (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
9698 (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
9699 (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
9700 (Page.getAccessibleName): Implemented.
9702 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9704 * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
9705 Do not repaint nor revalidate here.
9707 2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
9709 * javax/swing/RepaintManager.java (addDirtyRegion):
9710 If there is a lightweight parent, recursively add the corresponding
9711 region of the parent instead.
9713 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
9715 * java/awt/Graphics2D.java: Added some API doc comments.
9717 2006-05-15 Mark Wielaard <mark@klomp.org>
9719 * NEWS: Add release date and VMClassLoader.getBootPackages()
9722 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
9724 * javax/swing/JTabbedPane.java
9725 (paramString): Reimplemented,
9726 (getAccessibleContext): Added API docs.
9728 2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
9730 * javax/swing/JFileChooser.java
9731 (paramString): Reimplemented,
9732 (getAccessibleContext): Updated API docs,
9733 (AccessibleJFileChooser): Added API docs.
9735 2006-05-14 Tom Tromey <tromey@redhat.com>
9737 * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
9739 * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
9741 * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
9743 * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
9744 validation to JarParser.
9745 * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
9746 (run): Moved validation to JarParser. Don't throw OptionException.
9747 (initializeParser): Create a JarParser.
9748 (main): Don't catch OptionException.
9749 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
9751 (validate): New method.
9752 (parse): Call it. Print '-help' in error message when long-only.
9754 2006-05-14 Tom Tromey <tromey@redhat.com>
9756 * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
9759 2006-05-15 Sven de Marothy <sven@physto.se>
9761 * gnu/java/awt/print/JavaPrinterGraphics.java:
9762 Sweeping changes I can't be bothered to document in detail.
9763 * gnu/java/awt/print/JavaPrinterJob.java
9764 (getPageAttributes): New method.
9765 (setPageable,cancel,isCancelled): Implement.
9767 2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
9769 * README: Added CACAO to list of VMs.
9771 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
9773 * javax/swing/JCheckBoxMenuItem.java
9774 (requestFocus): Fixed typo in API docs,
9775 (paramString): Just call super.paramString(),
9776 (getAccessibleContext): Added API docs,
9777 (AccessibleJCheckBoxMenuItem): Likewise.
9779 2006-05-14 Tom Tromey <tromey@redhat.com>
9781 * tools/gnu/classpath/tools/jar/Indexer.java
9782 (writeCommandLineEntries): Simplify insertion.
9783 * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
9786 2006-05-14 Tom Tromey <tromey@redhat.com>
9789 * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
9791 (JAR_INDEX_VERSION_KEY): Likewise.
9792 (IndexListParser): Updated.
9793 (getVersionInfo): Likewise.
9794 * tools/gnu/classpath/tools/jar/Indexer.java: New file.
9795 * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
9797 * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
9799 (ModeOption): New constructor.
9800 (parsed): Updated. Use setArchiveFile.
9801 (setArchiveFile): New method.
9802 (run): Handle no-argument case.
9803 (main): Emit --help message on option error.
9804 * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
9805 (createManifest): New method.
9806 (run): Updated. Throws OptionException. Correctly copy zip entry.
9807 * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
9809 (writeManifest): Removed.
9810 (outputStream): Now a JarOutputStream.
9811 (writeCommandLineEntries): Changed parameters. Updated callers.
9812 (run): Throws OptionException.
9813 * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
9814 * java/util/jar/Manifest.java (read): Typo fix.
9816 2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
9818 * javax/swing/JMenuItem.java
9819 (paramString): Fixed class name in API doc comment.
9821 2006-05-14 Tom Tromey <tromey@redhat.com>
9823 * native/plugin/.cvsignore: Updated.
9825 2006-05-14 Mark Wielaard <mark@klomp.org>
9827 * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
9830 2006-05-14 Mark Wielaard <mark@klomp.org>
9833 * native/jni/java-net/javanet.c (_javanet_accept): Reset the
9834 inherited timeout on socket.
9836 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
9838 * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
9840 2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
9842 * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
9844 * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
9845 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
9846 Increased visibility of fields used by parser anonymous classes.
9847 (processArgs): Removed.
9848 (getParser): New method.
9849 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
9850 (setup): Mark (Eclipse) strings that need not be externalised.
9852 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
9853 * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
9854 command line option parsing.
9855 * tools/gnu/classpath/tools/keytool/ListCmd.java:
9856 Increased visibility of fields used by parser anonymous classes.
9857 (processArgs): Removed.
9858 (setup): set 'all' local field.
9859 (getParser): New method.
9860 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
9861 Increased visibility of fields used by parser anonymous classes.
9862 (processArgs): Removed.
9863 (getParser): New method.
9864 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
9865 (setNewKeyPassword): Fixed comments.
9866 * tools/gnu/classpath/tools/keytool/ImportCmd.java:
9867 Increased visibility of fields used by parser anonymous classes.
9868 (processArgs): Removed.
9869 (getParser): New method.
9870 (findTrustInCACerts): Mark (Eclipse) strings that need not be
9872 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
9873 Increased visibility of fields used by parser anonymous classes.
9874 (processArgs): Removed.
9875 (setup): Mark (Eclipse) strings that need not be externalised.
9876 (getParser): New method.
9877 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
9878 * tools/gnu/classpath/tools/keytool/DeleteCmd.java:
9879 Increased visibility of fields used by parser anonymous classes.
9880 (processArgs): Removed.
9881 (getParser): New method.
9882 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
9883 (ATTRIBUTES_OPT): New constant.
9884 * tools/gnu/classpath/tools/keytool/ExportCmd.java:
9885 Increased visibility of fields used by parser anonymous classes.
9886 (processArgs): Removed.
9887 (setup): Mark (Eclipse) strings that need not be externalised.
9889 Reduced logging level.
9890 (getParser): New method.
9891 * tools/gnu/classpath/tools/keytool/Command.java
9892 (processArgs): Made it concrete.
9893 (getParser): New abstract method.
9894 * tools/Makefile.am (KEYTOOL_HELPS): Removed.
9896 2006-05-13 Casey Marshall <csm@gnu.org>
9898 Patch by Michael Barker <mike@middlesoft.co.uk>.
9899 * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
9900 * gnu/java/nio/SelectorImpl.java (register): Added condition for
9901 gnu.java.nio.SocketChannelSelectionKeyImpl.
9902 * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
9903 * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
9905 * include/gnu_java_nio_VMChannel.h: new file.
9906 * java/nio/FileChannel.java (read,write): changed to call abstract
9908 * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
9909 * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
9910 `gnu_java_nio_VMChannel.c.'
9911 * vm/reference/gnu/java/nio/VMChannel.java: new file.
9913 2006-05-14 Robert Schuster <robertschuster@fsfe.org>
9915 * javax/swing/text/AbstractDocument.java:
9916 (insertString): Flipped if-expression and its blocks.
9918 (replace): Flipped if-expression and its blocks, added note, invoke
9919 insertString and remove instead of insertStringImpl and removeImpl.
9921 2006-05-13 Tom Tromey <tromey@redhat.com>
9923 * java/nio/ByteBufferImpl.java (compact): Always set position.
9925 2006-05-13 Sven de Marothy <sven@physto.se>
9927 * gnu/java/awt/print/JavaPrinterGraphics.java
9928 (spoolPostScript): Use a faster writer.
9930 2006-05-13 Sven de Marothy <sven@physto.se>
9932 * gnu/java/awt/print/JavaPrinterGraphics.java
9933 (colorTripleHex): Reimplement better.
9935 2006-05-13 Sven de Marothy <sven@physto.se>
9937 * javax/swing/text/html/HTMLDocument.java
9938 (CharacterAction.start): Translate tag to StyleAttribute.
9939 (pushCharacterStyle): Push copy of attributes onto stack.
9940 * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
9943 2006-05-13 Sven de Marothy <sven@physto.se>
9945 * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
9946 * java/awt/print/PrinterJob.java
9947 (getPrinterJob): Return a JavaPrinterJob
9948 (setPrintService,getPrintService): Implement.
9949 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
9950 (getPixels): Gtk_threads_enter required.
9951 * gnu/java/awt/print/JavaPrinterGraphics.java
9952 * gnu/java/awt/print/JavaPrinterJob.java
9953 * gnu/java/awt/print/SpooledDocumet.java:
9956 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
9958 * javax/swing/text/TextAction.java:
9959 (HorizontalMovementAction): New inner class.
9960 (VerticalMovementAction): New inner class.
9961 * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
9962 new inner classes to array 'defaultActions'.
9963 (SelectionBeginWordAction): New inner class.
9964 (SelectionEndWordAction): New inner class.
9965 (BeginWordAction): New inner class.
9966 (EndWordAction): New inner class.
9967 (PreviousWordAction.actionPerformed): Rewritten.
9968 (SelectLineAction): New inner class.
9969 (SelectWordAction): New inner class.
9970 (SelectionDownAction): Rewritten.
9971 (SelectionUpAction): Rewritten.
9972 (DownAction): Rewritten.
9973 (UpAction): Rewritten.
9974 (SelectionForwardAction): Rewritten.
9975 (SelectionBackwardAction): Rewritten.
9976 (ForwardAction): Rewritten.
9977 (BackwardAction): Rewritten.
9978 (BeginAction): New inner class.
9979 (EndAction): New inner class.
9980 (DefaultKeyTypedAction.actionPerformed): Use int variant of
9981 Character.isISOControl.
9983 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
9985 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
9986 (WordFilter.getNextVisualPositionFrom): Added statement to check
9987 for variable pt not being null.
9989 2006-05-13 Robert Schuster <robertschuster@fsfe.org>
9991 * javax/swing/text/Utilities.java:
9992 (getNextWord): Fixed grammar in exception message.
9993 (getPreviousWord): Changed expression in first if-clause, added sub-
9994 expression to if-clause in while-loop.
9995 (getWordStart): Changed expression in if-clause.
9996 getNextVisualPositionFrom): Added package-private helper method.
9998 2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10000 * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
10003 2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
10005 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
10007 * tools/Makefile.am (JARSIGNER_HELPS): Removed.
10008 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
10009 * tools/gnu/classpath/tools/jarsigner/Main.java:
10010 Increased visibility of fields used by parser anonymous classes.
10011 (HELP_PATH): Removed.
10012 (cmdLineParser): New field.
10013 (main): Handle JVM exit status.
10014 Handle command line parsing exceptions.
10015 (processArgs): Use getopt command line parser.
10016 (getParser): New method.
10017 (setupCommonParams): Removed checks now handled by processArgs().
10018 (setupSigningParams): Likewise.
10019 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
10020 Reuse an existing message-bundle constant.
10022 2006-05-12 Tom Tromey <tromey@redhat.com>
10024 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
10025 Explicitly specify class for synchronization.
10027 2006-05-12 Tom Tromey <tromey@redhat.com>
10029 * java/util/logging/Logger.java (resetLogger): Fixed typo.
10031 2006-05-12 Sven de Marothy <sven@physto.se>
10033 * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
10034 * gnu/java/net/protocol/http/HTTPURLConnection.java
10035 (setConnectTimeout): New method.
10036 (getConnection): Add timeout parameter.
10037 * java/net/URLConnection.java
10038 (getConnectTimeout, setConnectTimeout): Implement.
10039 * native/target/generic/target_generic_network.h:
10040 Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
10042 2006-05-12 Sven de Marothy <sven@physto.se>
10044 * gnu/javax/print/CupsServer.java
10045 (CupsServer): Make the Cups host configurable.
10046 * java/lang/System.java: Document the system property.
10048 2006-05-12 Roman Kennke <kennke@aicas.com>
10050 * javax/swing/border/TitledBorder.java
10051 (paintBorder): Rewritten for simplicity and correctness.
10052 (layoutBorderWithTitle): New helper method.
10053 (paintBorderWithTitle): New helper method.
10054 (getBorderInsets): Rewritten.
10055 (getMinimumSize): Rewritten.
10056 (getRealJustification): Removed.
10057 (getMeasurements): Removed.
10058 (Measurements): Removed.
10060 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
10062 * javax/swing/plaf/basic/BasicPanelUI.java
10063 (sharedUI): New field,
10064 (createUI): Return a shared instance rather than a new instance,
10065 (installUI): Reformatted and added API docs,
10066 (installDefaults): Install border if one is defined,
10067 (uninstallDefaults): Uninstall border.
10069 2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
10071 * javax/swing/JProgressBar.java: Updated API docs all over.
10073 2006-05-11 Lillian Angel <langel@redhat.com>
10075 * java/awt/ContainerOrderFocusTraversalPolicy.java
10076 (getComponentAfter): Should not throw exception if
10077 the ancestor is null. Added a check for this.
10078 Also, changed to use new helper function, we should
10079 iterate through all the components at least once.
10080 (getNextAvailableComponent): New helper function.
10081 (getPrevAvailableComponent): New helper function.
10082 (getComponentBefore): Should not throw exception if
10083 the ancestor is null. Added a check for this.
10084 Also, changed to use new helper function, we should
10085 iterate through all the components at least once.
10086 (getFirstComponent): Changed check to manually check
10087 fields. Calling accept() casts the object to a Component,
10088 so different values may be returned.
10089 (getLastComponent): Likewise.
10091 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10093 * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
10094 * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
10095 * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
10096 * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
10097 * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
10098 * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
10099 * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
10100 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
10101 * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
10102 * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
10103 * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
10104 * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
10105 * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
10106 * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
10107 * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
10108 * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
10109 * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
10110 * javax/swing/plaf/metal/MetalUtils.java: Likewise.
10112 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
10114 * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
10115 package-private, added field 'active'.
10116 (PropertyChangeHandler.propertyChange): Added variable 'name', added
10117 cases to update field 'active'.
10118 (mouseDragged): Added documentation, added if-clause to update
10119 selection or caret position.
10120 (mouseClicked): Added early return when text component is disabled.
10121 (focusGained): Moved statements into an if-clause.
10122 (focusLost): Added subexpression to if-clause.
10123 (install): Preset value of 'active'.
10124 (paint): Added subexpression to if-clause.
10125 (isVisible): Extended return expression.
10126 * javax/swing/text/JTextComponent.java:
10127 (copy): Copy only if component is enabled.
10128 (cut): Cut only if component is enabled and editable.
10131 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10133 * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
10134 * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
10135 * javax/swing/plaf/multi/MultiListUI.java: Likewise,
10136 * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
10137 * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
10138 * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
10139 * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
10141 2006-05-11 Roman Kennke <kennke@aicas.com>
10143 * gnu/java/awt/font/GNUGlyphVector.java
10144 (GNUGlyphVector): Don't apply the font renderer context's
10147 2006-05-11 Mark Wielaard <mark@klomp.org>
10149 * java/util/logging/Logger.java (global): Initialize inside static
10152 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10154 * javax/swing/JFrame.java
10155 (EXIT_ON_CLOSE): Added note to API docs,
10156 (close_action): Renamed closeAction,
10157 (JFrame()): Change title to "",
10158 (JFrame(String)): Added API docs,
10159 (getAccessibleContext): Likewise,
10160 (getDefaultCloseOperation): Updated for renamed field, added API docs,
10161 (processWindowEvent): Updated for renamed field,
10162 (setDefaultCloseOperation): Likewise, and updated API docs.
10164 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10166 * javax/swing/JFrame.java
10167 (paramString): Reimplemented,
10168 * javax/swing/SwingUtilities.java
10169 (convertWindowConstantToString): New method.
10171 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10173 * javax/swing/WindowConstants.java: Updated API docs.
10175 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10177 * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
10178 (createUI): Removed 'final' qualifier for parameter,
10179 (paint): Reformatted.
10181 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10183 * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
10184 (createUI): Removed 'final' qualifier on method argument.
10186 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10188 * javax/swing/plaf/basic/BasicCheckBoxUI.java
10189 (getDefaultIcon): Removed this redundant method.
10191 2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
10193 * javax/swing/plaf/basic/BasicRadioButtonUI.java
10194 (paint): Pass component size to paintFocus().
10196 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
10198 * java/awt/Component.java:
10199 (dispatchEventImpl): Added comment.
10201 2006-05-11 Mark Wielaard <mark@klomp.org>
10203 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
10204 Option constructor null argument to String.
10206 2006-05-11 Mark Wielaard <mark@klomp.org>
10208 * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
10209 Fully qualify PathIterator constants
10211 2006-05-11 Robert Schuster <robertschuster@fsfe.org>
10213 * java/awt/Component.java:
10214 (dispatchEventImpl): Added subexpression to if-clause.
10216 2006-05-11 Mark Wielaard <mark@klomp.org>
10218 * java/util/Collections.java (UnmodifiableMapEntry): Qualify
10221 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
10223 * javax/swing/TransferHandler.java: Marked stub methods.
10225 2006-05-10 Roman Kennke <kennke@aicas.com>
10228 * javax/swing/plaf/basic/BasicInternalFrameUI.java
10229 (installDefaults): Set background of content pane to null, if
10230 no custom color has been installed by the application yet.
10232 2006-05-10 Sven de Marothy <sven@physto.se>
10234 * java/awt/print/PrinterJob.java:
10235 (lookupPrintServices): Un-comment-out.
10237 2006-05-10 Roman Kennke <kennke@aicas.com>
10239 * javax/swing/JRootPane.java
10240 (createContentPane): Don't set background to null.
10242 2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
10244 * tools/gnu/classpath/tools/getopt/OptionGroup.java
10245 (FILLER): New constant.
10246 (formatText(PrintStream,String,int)): New method.
10247 (formatText(PrintStream,String,int,Locale)): Likewise.
10248 (printHelp): Use formatText method.
10249 * tools/gnu/classpath/tools/getopt/Parser.java
10250 (MAX_LINE_LENGTH): New constant.
10251 (formatText(PrintStream,String)): New method.
10252 (formatText(PrintStream,String,Locale)): Likewise.
10253 (printHelp): New method.
10254 (printHelp(PrintStream)): Increased visibility to protected.
10255 Use formatText method.
10257 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
10259 * javax/swing/plaf/metal/MetalRadioButtonUI.java
10260 (installDefaults): Use getPropertyPrefix() to allow subclasses to
10261 modify the lookup key.
10263 2006-05-10 Lillian Angel <langel@redhat.com>
10265 * java/util/SimpleTimeZone.java: Reverted patch.
10266 (SimpleTimeZone): Throw exception if startMonth ==
10268 (SimpleTimeZone): Likewise.
10269 (checkRule): Rewritten to properly check all values (more
10271 This code is now more stable, at least less buggy than before.
10272 Fixed API documentation.
10273 (setStartRule): Moved checkRule call to end.
10274 (setStartRule): Likewise.
10275 (setEndRule): Likewise.
10276 (setEndRule): Likewise.
10278 2006-05-10 Roman Kennke <kennke@aicas.com>
10280 * gnu/java/awt/peer/swing/SwingComponent.java:
10281 Some API comment fixlets.
10282 * gnu/java/awt/peer/swing/SwingComponentPeer.java:
10283 (createImage): Create a BufferedImage, not a Toolkit image.
10284 (paint): Removed bogus API comment.
10285 (prepareImage): Added checks to avoid NPE.
10286 * gnu/java/awt/peer/swing/SwingContainerPeer.java:
10287 (getInsets): Added check to avoid NPE.
10288 (handleMouseEvent): Added check to avoid NPE.
10289 * gnu/java/awt/peer/swing/SwingFramePeer.java:
10290 Some API comment fixlets.
10291 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
10292 Some API comment fixlets.
10293 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
10294 Changed start_pos name to startPos.
10295 * gnu/java/awt/peer/swing/SwingWindowPeer.java:
10296 Some API comment fixlets.
10298 2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
10300 * java/awt/BasicStroke.java
10301 (equals): Fixed typo in HTML tag for API doc comment.
10303 2006-05-10 Gary Benson <gbenson@redhat.com>
10305 * java/lang/ThreadGroup.java (parent): Make package-private.
10306 * java/lang/SecurityManager.java (checkAccess(Thread)):
10307 Reference ThreadGroup.parent directly to avoid extra checks.
10308 * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
10311 2006-05-10 Roman Kennke <kennke@aicas.com>
10313 Reported by Ingo Proetel (proetel@aicas.com)
10314 * java/awt/EventDispatchThread.java
10315 (DEFAULT_PRIORITY): New constant field.
10316 (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
10317 system property for adjusting the priority of the event
10320 2006-05-10 Roman Kennke <kennke@aicas.com>
10322 Reported by Ingo Proetel (proetel@aicas.com)
10323 * java/awt/image/ColorModel.java
10324 (S_RGB_MODEL): New constant field.
10325 (getRGBDefault): Return constant SRGBColorModel.
10326 (SRGBColorModel): Specialized color model for sRGB.
10328 2006-05-10 Roman Kennke <kennke@aicas.com>
10330 * java/awt/ColorPaintContext.java
10331 (getRaster): Create Raster with (0,0) as source location.
10333 2006-05-10 Roman Kennke <kennke@aicas.com>
10335 * gnu/java/awt/java2d/AlphaCompositeContext.java
10336 (compose): Don't premultiply alpha to alpha itself.
10338 2006-05-10 Roman Kennke <kennke@aicas.com>
10340 * gnu/java/awt/java2d/AbstractGraphics2D.java
10341 (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
10342 (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
10344 (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
10345 (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
10346 (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
10348 (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
10349 (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
10351 (scale): Inverse transform by doing 1/scale instead of -scale.
10352 (drawImage(Image,int,int,ImageObserver)): Implemented.
10353 (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
10354 (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
10355 (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
10356 (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
10358 (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
10360 (fillScanline): Work on translated destination raster for
10361 correct compositin.
10362 (init): Fetch the clip after the destination raster is initialized.
10363 * gnu/java/awt/java2d/ImagePaint.java: New file.
10364 * gnu/java/awt/java2d/RasterGraphics
10365 (drawImage): Removed.
10367 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
10369 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
10370 Clarify option descriptions.
10371 * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
10372 uppercase for metasyntactic variables.
10374 2006-05-09 Robert Schuster <robertschuster@fsfe.org>
10377 * javax/swing/text/AbstractDocument.java:
10378 (insertString): Added more documentation, added argument check.
10379 (remove): Added more documentation.
10380 (removeImpl): Added argument check.
10381 (replace): Added more documentation, added argument check.
10383 2006-05-09 Tom Tromey <tromey@redhat.com>
10385 * tools/.cvsignore: Added appletviewer.
10387 2006-05-09 Tom Tromey <tromey@redhat.com>
10389 * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
10392 2006-05-09 Tom Tromey <tromey@redhat.com>
10394 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
10395 Special case for '-J'. Use space instead of '='.
10396 * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
10399 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
10401 * configure.ac: Add --disable-plugin and --with-vm options. Check
10402 for plugin support headers and libraries.
10403 * native/Makefile.am: Recurse into plugin directory.
10404 * native/plugin/.cvsignore: New file.
10405 * native/plugin/Makefile.am: New file.
10406 * native/plugin/gcjwebplugin.cc: New file.
10407 * tools/Makefile.am: Install appletviewer wrapper script.
10408 * tools/appletviewer.in: Replace VM location heuristic with
10409 VM_BINARY configure substitution.
10411 2006-05-09 Tom Tromey <tromey@redhat.com>
10413 * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
10414 an initial pass to look for short options. Added 'longOnly' option.
10415 * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
10417 * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
10418 options into final group. Added -J.
10419 (add): Insert new groups before final group.
10420 (printHelp): Updated.
10422 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10425 * tools/gnu/classpath/tools/giop/GRMIC.java (main),
10426 tools/gnu/classpath/tools/rmi/RMIC.java (main):
10427 Expect -classpath option.
10428 * tools/gnu/classpath/tools/rmi/RMIC.txt,
10429 tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
10431 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
10432 (classLoader): New field. (loadClass, setClassPath):
10435 2006-05-09 Roman Kennke <kennke@aicas.com>
10437 * gnu/java/awt/java2d/RasterGraphics.java
10438 (RasterGraphics): Call init() and super().
10439 (drawImage): Temporary drawImage impl until AbstractGraphics2D has
10442 2006-05-09 Gary Benson <gbenson@redhat.com>
10444 * java/lang/Thread.java (Thread): Always perform threadgroup
10445 access checks on thread creation.
10447 2006-05-09 Chris Burdess <dog@gnu.org>
10449 * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
10450 be preserved during cloneNode.
10452 2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10455 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
10456 Do not demand all thrown exceptions to be an instance of RemoteException.
10458 2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
10460 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
10461 Use hash-style comments.
10462 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
10465 2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
10467 * javax/swing/JLabel.java
10468 (paramString): Added more attribute details,
10469 * javax/swing/SwingUtilities.java
10470 (convertHorizontalAlignmentCodeToString): New method,
10471 (convertVerticalAlignmentCodeToString): New method.
10473 2006-05-08 Tom Tromey <tromey@redhat.com>
10475 * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
10476 * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
10477 * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
10480 * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
10482 (run): Use ZipInputStream.
10483 (initSet): New method.
10484 (shouldExtract): Likewise.
10485 (run): Use new methods.
10486 * tools/gnu/classpath/tools/jar/Creator.java
10487 (writeCommandLineEntries): New overload.
10488 (writeFile): Use System.err for verbose.
10489 (writeManifest): New method.
10490 (writtenItems): New field.
10491 (writeFile): Update it.
10492 (writeCommandLineEntries): Return void. Call writeManifest.
10493 (addEntries): Don't add extra '/'.
10494 * NEWS: Mention jar.
10496 2006-05-08 Lillian Angel <langel@redhat.com>
10498 * gnu/java/net/IndexListParser.java: New class.
10499 * java/net/URLClassLoader.java
10500 (JarURLLoader): Fixed code to use new class.
10502 2006-05-08 Roman Kennke <kennke@aicas.com>
10504 * javax/swing/JComboBox.java
10505 (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
10506 (AccessibleJComboBox.getAccessibleChild): Implemented.
10507 (AccessibleJComboBox.getAccessibleSelection()): Implemented.
10508 (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
10509 (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
10510 (AccessibleJComboBox.getAccessibleAction): Implemented.
10511 (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
10512 (AccessibleJComboBox.getAccessibleActionCount): Implemented.
10513 (AccessibleJComboBox.doAccessibleAction): Implemented.
10514 (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
10515 (AccessibleJComboBox.addAccessibleSelection): Implemented.
10516 (AccessibleJComboBox.removeAccessibleSelection): Implemented.
10517 (AccessibleJComboBox.clearAccessibleSelection): Implemented.
10518 (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
10520 2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
10522 * configure.ac: Add support for building appletviewer.
10523 * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
10525 * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
10527 * tools/appletviewer.c: New file.
10528 * tools/appletviewer.in: New file.
10529 * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
10531 * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
10533 * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
10534 * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
10536 * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
10538 * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
10540 * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
10542 * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
10544 * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
10545 * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
10547 * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
10549 * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
10551 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
10553 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
10555 * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
10557 * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
10560 2006-05-08 Tom Tromey <tromey@redhat.com>
10562 * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
10563 * tools/gnu/classpath/tools/jar/Action.java: New file.
10564 * tools/gnu/classpath/tools/jar/Creator.java: New file.
10565 * tools/gnu/classpath/tools/jar/Entry.java: New file.
10566 * tools/gnu/classpath/tools/jar/Extractor.java: New file.
10567 * tools/gnu/classpath/tools/jar/Lister.java: New file.
10568 * tools/gnu/classpath/tools/jar/Main.java: New file.
10569 * tools/gnu/classpath/tools/jar/Updater.java: New file.
10570 * tools/gnu/classpath/tools/getopt/Option.java: New file.
10571 * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
10572 * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
10573 * tools/gnu/classpath/tools/getopt/Parser.java: New file.
10574 * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
10577 2006-05-08 Lillian Angel <langel@redhat.com>
10579 * java/net/URLClassLoader.java
10580 (JarURLLoader): Added check to make sure the INDEX.LIST file
10583 2006-05-08 Roman Kennke <kennke@aicas.com>
10585 * gnu/java/awt/java2d/AbstractGraphics2D.java
10586 (fill): Removed commented out code.
10587 (fillShape): Also determine the outline of the clip and feed
10588 it into the rendering method. Use new helper method for
10589 converting the shapes into lists of segments.
10590 (getUserBounds): Removed obsolete method.
10591 (rawFillShape): Respect the clip when rendering shapes.
10592 (fillShapeAntialias): Adjusted signature for new clipped rendering.
10593 However, the implementation can't clip still.
10594 (getSegments): New helper method for converting a shape into
10595 a list of segments.
10596 (clipShape): Removed obsolete method.
10597 * gnu/java/awt/java2d/PolyEdge.java
10598 (isClip): New field.
10599 (PolyEdge): Added isField argument to constructor.
10601 2006-05-08 Roman Kennke <kennke@aicas.com>
10604 * javax/swing/JRootPane.java
10605 (createContentPane): Set background of the content pane to null,
10606 so that the content pane inherits its background from the
10609 2006-05-08 Roman Kennke <kennke@aicas.com>
10612 * javax/swing/ButtonGroup.java
10613 (add): Check if new button is selected and if so, deselect other
10614 buttons in the group.
10616 2006-05-08 Lillian Angel <langel@redhat.com>
10619 * java/net/URLClassLoader.java
10620 (JarURLLoader): Added code to go through
10621 META-INF/INDEX.LIST file to load all jars listed.
10623 2006-05-08 Roman Kennke <kennke@aicas.com>
10626 * javax/swing/ImageIcon.java
10627 (ImageIcon(URL)): Set description to URL.toString().
10629 2006-05-08 Roman Kennke <kennke@aicas.com>
10632 * javax/swing/JTable.java
10633 (IconCellRenderer.getTableCellRendererComponent): Set icon to
10634 null when cell value is null.
10636 2006-05-08 Roman Kennke <kennke@aicas.com>
10639 * javax/swing/DefaultDesktopManager.java
10640 (closeFrame): Don't perform default close action on the frame
10641 to prevent endless loop.
10643 2006-05-08 Roman Kennke <kennke@aicas.com>
10646 * javax/swing/table/DefaultTableModel.java
10647 (addExtraRows): New helper method.
10648 (checkSize): New helper method.
10649 (setRowCount): Use addExtraRows helper method.
10650 (addColumn): Use addExtraRows helper method.
10651 (getColumnName): Check and adjust size if necessary using
10654 2006-05-08 Roman Kennke <kennke@aicas.com>
10657 * javax/swing/JTable.java
10658 (setValueAt): Allow setting values even when table is editable.
10660 2006-05-08 Tom Tromey <tromey@redhat.com>
10662 * java/text/SimpleDateFormat.java (compileFormat): Added missing
10663 space to error message.
10665 2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
10667 * javax/swing/AbstractButton.java: Fixed comment typos.
10669 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
10671 PR classpath/27435:
10672 * java/util/zip/DeflaterEngine.java:
10673 (deflateFast(boolean,boolean)): Empty buffer when full.
10675 2006-05-07 Sven de Marothy <sven@physto.se>
10678 * java/util/Calendar.java (setTimeZone): Force recalculation.
10680 2006-05-07 Sven de Marothy <sven@physto.se>
10683 * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
10684 (propertyChange): Handle FRAME_ICON_PROPERTY property.
10686 2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
10688 PR classpath/27311:
10689 * gnu/java/text/StringFormatBuffer.java:
10690 (toString()): Implemented so we can see the contents.
10691 * java/text/DecimalFormat.java:
10692 (formatInternal(double,StringFormatBuffer,FieldPosition)):
10693 Don't calculate the exponent when the number is 0 or less.
10694 Also, use log10 instead of log now it's available.
10696 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
10698 * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
10699 Use instance's field creationDate not the constructor's argument.
10700 * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
10701 Removed unused imports.
10704 (decrypt): Added trace/debug/timing statements.
10705 (encrypt): Likewise.
10706 Use PRNG instead of instantiating every time a new SecureRandom.
10707 * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
10708 Removed unused imports.
10711 (verify): Added trace/debug/timing statements.
10712 (authenticate): Likewise.
10713 Use PRNG instead of instantiating every time a new SecureRandom.
10715 2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
10717 * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
10718 (THREAD_FORMAT): Likewise.
10719 (dateFormat): Added field.
10720 (threadFormat): Added field.
10721 (format): Initialize instance fields if null.
10722 Use StringBuilder instead of StringBuffer.
10724 2006-05-07 Roman Kennke <kennke@aicas.com>
10726 * gnu/java/awt/java2d/RasterGraphics.java: New file.
10728 2006-05-07 Roman Kennke <kennke@aicas.com>
10730 * gnu/java/awt/java2d/AbstractGraphics2D.java
10731 (fillShape): Determine user space bounds of shape and feed them
10732 into the actual rendering pipeline.
10733 (rawSetPixel): Made non-abstract for now. Maybe remove later.
10734 (rawSetForeground): Likewise.
10735 (getDestinationColorModel): Removed.
10736 (getDeviceBounds): Made non-abstract. Provide useful default impl.
10737 (rawFillShape): Handle paint context.
10738 (fillScanline): Implement painting and compositing.
10739 (fillShapeAntialias): Handle paint context.
10740 (fillScanlineAA): Implemented preliminary antialiasing based on
10741 composite context. Not working yet.
10742 (fillScanlineAlpha): Removed.
10743 (init): Fetch destination raster.
10744 (getDestinationRaster): New abstract method.
10745 (updateRaster): New backend method.
10747 2006-05-07 Roman Kennke <kennke@aicas.com>
10749 * gnu/java/awt/java2d/AlphaCompositeContext.java
10750 (compose): Fixed loops, conditions and logic to make compositing
10753 2006-05-07 Roman Kennke <kennke@aicas.com>
10755 * java/awt/ColorPaintContext.java
10756 (ColorPaintContext): Fixed filling of the raster.
10758 2006-05-07 Sven de Marothy <sven@physto.se>
10761 * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
10762 * java/awt/Component.java (processMouseEvent):
10763 Do lightweight cursor handling.
10764 * javax/swing/plaf/basic/BasicTableHeaderUI.java
10765 (endResizing,mouseMoved): Save and reset original cursor, not the
10768 2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10771 * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
10772 getNodeDimensions): Mind the size of the node icon. (getRowX):
10773 use totalChildIndent. (TreeExpansionHandler): Set maximal height
10774 to zero on events. (nullIcon): New field. (getCurrentControlIcon):
10775 Return nullIcon if there is no other icon. (getNodeIcon): New method.
10776 (installDefaults): assign totalChildIndent. (installUI): Call
10777 updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
10778 (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
10781 2006-05-06 Sven de Marothy <sven@physto.se>
10784 * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
10785 Check for zero image sizes.
10787 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
10790 * java/util/Calendar.java (clear(int)): Forced internal state
10791 completion before performing a field clearing.
10793 2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
10795 * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
10796 UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
10797 (UnmodifiableMap.UnmodifiableEntrySet.iterator,
10798 UnmodifiableMap.UnmodifiableEntrySet.toArray,
10799 UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
10800 UnmodifiableMapEntry as part of their return value.
10802 2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
10804 * tools/keytool.sh.in: Removed (renamed to keytool.in).
10805 * tools/jarsigner.in: Removed (renamed to jarsigner.in).
10806 * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
10807 Generate jarsigner and keytool scripts.
10808 * tools/keytool.in: New file (renamed from keytool.sh.in).
10809 * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
10810 * tools/.cvsignore: Replaced *.sh with *
10811 * configure.ac: Replaced tools/*.sh with tools/*.
10813 2006-05-05 Roman Kennke <kennke@aicas.com>
10815 * java/awt/image/ColorModel.java
10816 (getNormalizedComponents): Implemented.
10818 2006-05-05 Roman Kennke <kennke@aicas.com>
10820 * javax/swing/plaf/basic/BasicRadioButtonUI.java
10821 (paint): Query the button model for it's state, not the
10824 2006-05-05 Roman Kennke <kennke@aicas.com>
10826 * javax/swing/JTable.java
10827 (tableChanged): Sync selection model with table model changes.
10829 2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10831 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
10832 if there are no visible nodes to paint.
10834 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
10836 * javax/swing/JOptionPane.java: API doc updates.
10838 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
10840 * javax/swing/JToolBar.java
10841 (paramString): Reimplemented.
10843 2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
10845 * javax/swing/JScrollBar.java
10846 (paramString): Reimplemented.
10848 2006-05-04 Tom Tromey <tromey@redhat.com>
10850 PR classpath/27375:
10851 * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
10852 (readEntries): Updated.
10853 (getEntries): Likewise.
10854 (getEntry): Likewise.
10855 (getInputStream): Likewise.
10857 2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
10859 * gnu/javax/imageio/jpeg/DCT.java,
10860 gnu/javax/imageio/jpeg/HuffmanTable.java,
10861 gnu/javax/imageio/jpeg/JPEGComponent.java,
10862 gnu/javax/imageio/jpeg/JPEGDecoder.java,
10863 gnu/javax/imageio/jpeg/JPEGException.java,
10864 gnu/javax/imageio/jpeg/JPEGFrame.java,
10865 gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
10866 gnu/javax/imageio/jpeg/JPEGImageReader.java,
10867 gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
10868 gnu/javax/imageio/jpeg/JPEGMarker.java,
10869 gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
10870 gnu/javax/imageio/jpeg/JPEGScan.java,
10871 gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
10872 gnu/javax/imageio/jpeg/ZigZag.java: New files.
10874 2006-05-04 Lillian Angel <langel@redhat.com>
10876 * javax/swing/JLabel.java
10877 (JLabel): Pass in an empty string for the text parameter.
10878 (JLabel): Likewise.
10879 (JLabel): Likewise.
10881 2006-05-04 Roman Kennke <kennke@aicas.com>
10883 * javax/swing/plaf/basic/BasicButtonListener.java
10884 (mouseEntered): Fixed conditions for changing states.
10886 2006-05-04 Roman Kennke <kennke@aicas.com>
10888 * javax/swing/JOptionPane.java
10889 (AccessibleJOptionPane.getAccessibleRole): Implemented method.
10891 2006-05-04 Roman Kennke <kennke@aicas.com>
10893 * javax/swing/JLabel.java
10894 (AccessibleJLabel.getSelectedText): Return null instead of "".
10895 (AccessibleJLabel.getSelectionStart): Added comment why
10896 return -1 is correct here.
10897 (AccessibleJLabel.getSelectionEnd): Added comment why
10898 return -1 is correct here.
10899 (AccessibleJLabel.getCharacterAttribute): Added comment about what
10901 (AccessibleJLabel.getCharCount): Added comment about what
10903 (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
10904 (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
10905 (paramString): Return super.paramString() here, this provides
10906 a more meaningful output.
10908 2006-05-04 Roman Kennke <kennke@aicas.com>
10910 * javax/swing/JComponent.java
10911 (paint): Added null check to avoid NPE when clip == null.
10913 2006-05-04 Roman Kennke <kennke@aicas.com>
10915 * javax/swing/AbstractButton.java
10916 (addImpl): New method. Installs an OverlayLayout if no
10917 other layout has been installed before.
10918 (setLayout): New method. Detect if a client app installs a custom
10921 2006-05-04 Roman Kennke <kennke@aicas.com>
10923 * javax/swing/table/DefaultTableCellRenderer.java
10924 (noFocusBorder): Fixed width of empty border to 1.
10925 (getTableCellRendererComponent): Don't change the colors for
10926 focuses cells. Fixed border for focused cells.
10928 2006-05-04 Roman Kennke <kennke@aicas.com>
10930 * javax/swing/JTable.java
10931 (moveToCellBeingEdited): Adjust bounding box of editing component
10932 to exactly cover the grid.
10933 * javax/swing/plaf/basic/BasicTableUI.java
10934 (paint): Paint grid to the bottom and right of the cells instead
10935 of left and top. Adjust bounding box of cells accordingly.
10936 * javax/swing/plaf/metal/MetalLookAndFeel.java
10937 (initComponentDefaults): Fixed color of JTable selection border.
10938 * javax/swing/plaf/metal/OceanTheme.java
10939 (addCustomEntriesToTable): Fixed color of JTable selection border.
10941 2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
10943 * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
10944 Use _alias instead of alias.
10946 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
10949 Set version to 0.92-pre.
10951 Add space for 0.92 entries.
10953 2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
10955 * include/Makefile.am:
10956 Added rules for gnu.java.net.local.LocalSocketImpl.h
10957 * include/java_lang_VMSystem.h:
10958 Regenerated correctly.
10960 2006-05-03 Sven de Marothy <sven@physto.se>
10963 * java/awt/Image.java:
10964 (getScaledInstance): Default to AreaAveraging for "smooth",
10965 don't thrown an error on illegal flag values.
10966 * java/awt/image/AreaAveragingScaleFilter.java: Implement.
10968 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
10970 * javax/swing/text/FieldView.java:
10971 (adjustAllocation): Added if-block to return null when shape argument
10973 * javax/swing/text/PlainView.java:
10974 (updateDamage): Added if-block to return early if a is null.
10976 2006-05-03 Robert Schuster <robertschuster@fsfe.org>
10978 * javax/swing/plaf/basic/BasicTextUI.java:
10979 (changeUpdate): Added note.
10980 (removeUpdate): Dito.
10981 (insertUpdate): Dito.
10982 (damageRange): Added if-block to return early.
10983 (modelToView): Added check of getVisibleEditorRect's return value.
10984 (getVisibleEditorRect): Return null instead of empty rectangle.
10985 * javax/swing/text/DefaultCaret.java:
10986 (clearHighlight): Removed if-clause to create a highlight entry if it
10987 did not exist before.
10988 * javax/swing/text/WrappedPlainView.java:
10989 (WrappedLine.modelToView): Throw exception if allocation area is empty,
10990 removed 2nd part of if-expression.
10991 (WrappedLine.updateDamage): Added more documentation, added check
10992 whether allocation area rectangle is null.
10994 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
10996 * javax/swing/JSplitPane.java (setDividerLocation(int)):
10997 Reset to preferred sizes if the argument is negative.
10999 2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
11001 * javax/swing/JList.java: Added/updated API docs.
11003 2006-05-03 Lillian Angel <langel@redhat.com>
11005 * javax/swing/JComponent.java
11006 (getRoot): New private function. Gets the root appropriate
11007 for painting. If an applet exists as a parent, then it is returned.
11008 (paintDoubleBuffered): Changed to use new function.
11009 * javax/swing/RepaintManager.java
11010 (getRoot): New private function. Gets the root appropriate
11011 for painting. If an applet exists as a parent, then it is returned.
11012 (getOffscreenBuffer): Changed to use new function.
11013 * javax/swing/SwingUtilties.java
11014 (getRoot): Reverted last patch to return Window, even if
11017 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
11019 * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
11020 a pair of one public keyring and one private keyring.
11021 * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
11022 (containsCertificate): Added logging.
11023 (getCertificate): Likewise.
11024 (putCertificate): Likewsie.
11027 * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
11028 (containsPrivateKey): Added logging.
11029 (getPrivateKey): Likewise.
11030 (putPrivateKey): Likewise.
11031 (containsPublicKey): Likewise.
11032 (getPublicKey): Likewise.
11033 (putPublicKey): Likewise.
11034 (containsCertPath): Likewise.
11035 (getCertPath): Likewise.
11036 (putCertPath): Likewise.
11040 2006-05-03 Roman Kennke <kennke@aicas.com>
11042 * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
11043 * java/awt/AlphaComposite.java
11044 (createContext): Implemented.
11046 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11048 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
11049 Set the current color again after drawing the raster.
11051 2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11053 * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
11054 Do not check pos < currLineEnd if currLineStart == currLineEnd.
11056 2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
11058 * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
11059 Assign returned value to field handler.
11060 * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
11063 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11065 * javax/swing/ScrollPaneLayout.java (layoutContainer):
11066 Return without action if there is no view in the viewport.
11067 * javax/swing/text/WrappedPlainView.java
11068 (WrappedLine.getPreferredSpan): If metrics == null, update
11070 * javax/swing/tree/DefaultTreeModel.java (constructors):
11071 Do not call setRoot, assign the root node directly.
11073 2006-05-02 Lillian Angel <langel@redhat.com>
11075 * javax/swing/SwingUtilities.java
11076 (getRoot): Should return the Applet if it exists.
11077 Only return the Window if an Applet has not been
11080 2006-05-02 Lillian Angel <langel@redhat.com>
11082 * gnu/javax/swing/text/html/parser/support/Parser.java
11083 (readAttributes): Reverted Audrius' last patch. There is
11084 a slight difference in code between the NUMTOKEN and SLASH case.
11086 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
11088 * javax/swing/text/JTextComponent.java:
11089 (setText): Throw InternalError from catch-block.
11090 * javax/swing/text/GapContent.java:
11091 (removed): Removed if-expression, changed '>' to '>='.
11093 2006-05-02 Roman Kennke <kennke@aicas.com>
11095 * gnu/java/awt/java2d/AbstractGraphics2D.java
11096 (AA_SAMPLING): New constant.
11097 (alpha): New field. Used in the antialiasing renderer.
11098 (edgeTable): New field. Used in the antialiasing renderer.
11099 (AbstractGraphics2D): Initialize rendering hints wrt
11101 (draw): Clip after stroking. Commented out clipping for now,
11102 it seems to be buggy.
11103 (fill): Commented out clipping for now, it seems to be buggy.
11104 (setComposite): Don't create composite context.
11105 (setPaint): Only change paint when parameter is not null.
11106 (translate): Call setClip() so subclasses can update their clip
11108 (clip): Call setClip() so subclasses can update their clip
11110 (drawGlyphVector): Added clipping, but left it commented out
11111 because it's buggy.
11112 (getClipBounds): Returns null when clip is null.
11113 (drawLine): Call rawDrawLine with translation applied.
11114 (filLRect): Call rawFillRect with translation applied.
11115 (fillShape): Added support for anti-aliasing.
11116 (rawSetForeground(int,int,int)): New method.
11117 (rawFillShape): A couple of painting fixes.
11118 (fillScanline): Implemented to call rawDrawLine.
11119 (fillShapeAntialias): New method. Implements an anti-aliasing
11121 (fillScanlineAA): New method. Used for the anti-aliasing
11123 (fillScanlineAlpha): New method. Used for the anti-aliasing
11125 (init): Initialize clip with the device bounds.
11126 (updateOptimization): Fixed the optimization condition.
11128 2006-05-02 Robert Schuster <robertschuster@fsfe.org>
11130 * javax/swing/text/GapContent.java:
11131 (GapContent): Restrict size argument by 2.
11132 (insertString): Changed expression from >= to >.
11133 (remove): Changed right side of expression to 'length - 1', changed
11135 (getChars): Throw exception if where below 0.
11136 (replace): Replaced call to setPositionsInRange() with
11137 resetMarksAtZero(), removed note.
11139 2006-05-02 Roman Kennke <kennke@aicas.com>
11142 * javax/swing/MenuSelectionManager.java
11143 (setSelectedPath): Rewritten.
11145 2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11147 * gnu/javax/swing/text/html/parser/support/Parser.java
11148 (readAttributes): Merge case NUMTOKEN: and case SLASH:
11151 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
11153 * tools/.cvsignore: Added keytool.sh.
11154 * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
11156 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
11158 * doc/tools.texinfo: New file.
11159 * doc/Makefile.am: Generate tools documentation.
11161 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
11163 * tools/keytool.sh.in: New file.
11164 * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
11165 * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
11166 * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
11167 * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
11168 * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
11169 * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
11170 * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
11171 * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
11172 * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
11173 * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
11174 * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
11175 * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
11176 * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
11177 * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
11178 * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
11179 * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
11180 * tools/gnu/classpath/tools/keytool/package.html: Likewise.
11181 * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
11183 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
11185 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
11186 resemble more closely man-page style text.
11187 * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
11188 Mark (Eclipse) strings that need not be externalised.
11189 (writeSF): Likewise.
11190 (writeDSA): Likewise.
11191 Use package-private Messages class to provide i18n-ready strings.
11193 Use package-private Messages class to provide i18n-ready strings.
11194 (updateEntry): Likewise.
11195 Mark (Eclipse) strings that need not be externalised.
11196 (finishSigning): Likewise.
11197 * tools/gnu/classpath/tools/jarsigner/Main.java:
11198 Mark (Eclipse) strings that need not be externalised.
11199 (main): Do not use constant strings as class name.
11200 Use package-private Messages class to provide i18n-ready strings.
11201 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
11202 (processArgs): Do not use constant strings as class name.
11203 Mark (Eclipse) strings that need not be externalised.
11204 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
11205 (start): Do not use constant strings as class name.
11206 (teardown): Likewise.
11208 (setupCommonParams): Do not use constant strings as class name.
11209 Use package-private Messages class to provide i18n-ready strings.
11210 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
11211 (installNewProvider): Do not use constant strings as class name.
11213 (setupSigningParams): Do not use constant strings as class name.
11214 Use package-private Messages class to provide i18n-ready strings.
11215 Mark (Eclipse) strings that need not be externalised.
11216 (getCallbackHandler): Use CallbackUtil.
11217 * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
11218 Use package-private Messages class to provide i18n-ready strings.
11219 Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
11220 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
11221 (verifySF): Likewise.
11222 (verifySFEntries): Do not use constant strings as class name.
11223 Use Boolean.valueOf instead of new Boolean().
11224 (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
11225 * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
11227 * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
11228 * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
11230 2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
11232 * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
11233 * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
11234 * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
11236 2006-05-01 Tom Tromey <tromey@redhat.com>
11238 * java/nio/ByteBufferImpl.java (compact): Don't reset position
11240 * gnu/java/nio/ChannelReader.java (read): Synchronize.
11241 (close): Synchronize.
11242 * java/nio/ShortBufferImpl.java (compact): Rewrote.
11243 * java/nio/LongBufferImpl.java (compact): Rewrote.
11244 * java/nio/IntBufferImpl.java (compact): Rewrote.
11245 * java/nio/FloatBufferImpl.java (compact): Rewrote.
11246 * java/nio/DoubleBufferImpl.java (compact): Rewrote.
11247 * java/nio/CharBufferImpl.java (compact): Rewrote.
11248 * gnu/java/nio/ChannelWriter.java: New file.
11249 * java/nio/channels/Channels.java (newWriter): Implemented.
11251 2006-05-01 Lillian Angel <langel@redhat.com>
11253 * java/util/SimpleTimeZone.java
11254 (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
11255 (SimpleTimeZone): Likewise.
11256 (checkRule): Rewritten to properly check all values (more efficently).
11257 This code is now more stable, at least less buggy than before. Fixed
11259 (setStartRule): Moved checkRule call to end.
11260 (setStartRule): Likewise.
11261 (setEndRule): Likewise.
11262 (setEndRule): Likewise.
11264 2006-05-01 Tom Tromey <tromey@redhat.com>
11266 * lib/.cvsignore: Added classes.2.
11268 2006-05-01 Tom Tromey <tromey@redhat.com>
11270 * java/util/jar/JarFile.java (provider): Now package-private.
11271 * java/lang/Enum.java (compareTo): Javadoc fix.
11272 * java/lang/Boolean.java (compareTo): Javadoc fix.
11274 2006-05-01 Lillian Angel <langel@redhat.com>
11276 * gnu/javax/swing/text/html/parser/support/Parser.java
11277 (readAttributes): Formatted function. Added handling for
11278 SLASH token. The value of an attribute may start with a slash
11279 (i.e. a path). I added handling similar to to the NUMTOKEN code.
11280 We should not be skipping over these type of attributes.
11282 2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
11284 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
11285 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
11286 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
11287 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
11288 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11289 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
11290 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
11291 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
11292 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
11293 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
11294 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
11295 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
11296 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
11297 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
11298 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
11299 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11300 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
11301 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
11302 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
11303 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
11304 * include/gnu_java_awt_peer_gtk_GtkImage.h,
11305 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
11306 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
11307 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
11308 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
11309 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
11310 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
11311 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
11312 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
11313 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
11314 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
11315 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
11316 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
11317 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
11318 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11319 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
11320 * include/gnu_java_awt_peer_qt_MainQtThread.h,
11321 * include/gnu_java_awt_peer_qt_QMatrix.h,
11322 * include/gnu_java_awt_peer_qt_QPainterPath.h,
11323 * include/gnu_java_awt_peer_qt_QPen.h,
11324 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
11325 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
11326 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
11327 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
11328 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
11329 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
11330 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
11331 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
11332 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
11333 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
11334 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
11335 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
11336 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
11337 * include/gnu_java_awt_peer_qt_QtGraphics.h,
11338 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
11339 * include/gnu_java_awt_peer_qt_QtImage.h,
11340 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
11341 * include/gnu_java_awt_peer_qt_QtListPeer.h,
11342 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
11343 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
11344 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
11345 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
11346 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
11347 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
11348 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
11349 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
11350 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
11351 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
11352 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
11353 * include/gnu_java_awt_peer_qt_QtToolkit.h,
11354 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
11355 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
11356 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
11357 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
11358 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
11359 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
11360 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
11361 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
11362 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
11363 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
11364 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
11365 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
11366 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
11367 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
11368 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
11369 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
11370 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
11371 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
11372 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
11373 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
11374 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
11375 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
11376 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
11377 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
11378 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
11379 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
11380 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
11381 * include/java_lang_VMProcess.h:
11383 * native/jni/java-lang/java_lang_VMProcess.c:
11384 Redirect when pipe_count is 2 not 3.
11386 2006-04-30 Sascha Brawer <sascha@brawer.ch>
11388 * gnu/java/awt/font/FontDelegate.java,
11389 * gnu/java/awt/font/FontFactory.java,
11390 * gnu/java/awt/font/GNUGlyphVector.java,
11391 * gnu/java/awt/font/opentype/CharGlyphMap.java,
11392 * gnu/java/awt/font/opentype/GlyphNamer.java,
11393 * gnu/java/awt/font/opentype/MacResourceFork.java,
11394 * gnu/java/awt/font/opentype/NameDecoder.java,
11395 * gnu/java/awt/font/opentype/OpenTypeFont.java,
11396 * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
11397 * gnu/java/awt/font/opentype/Scaler.java,
11398 * gnu/java/awt/font/opentype/truetype/Fixed.java,
11399 * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
11400 * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
11401 * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
11402 * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
11403 * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
11404 * gnu/java/awt/font/opentype/truetype/Zone.java,
11405 * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
11406 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
11407 * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
11408 New files. Imported font framework from:
11409 http://www.brawer.ch/software/fonts/
11411 2006-04-30 Roman Kennke <kennke@aicas.com>
11413 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
11414 (lastTabInRun): Fix calculation of the last tab in a run. This
11415 has caused painting problems sometimes, making the
11416 last tab painted incorrectly.
11418 2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11421 * javax/swing/JComponent.java (paintChildrenWithOverlap):
11422 Use for and not while to prevent the endless loop.
11424 2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
11426 * javax/swing/JList.java
11427 (paramString): Changed from public to protected.
11429 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
11431 * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
11432 (printHelpAndExit): Re-factored to use the above method.
11434 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
11436 * tools/jarsigner.sh.in: Changed license to GPL + Exception.
11437 Use -Xbootclasspath/p instead of -cp when invoking the main class.
11438 * tools/gnu/classpath/tools/jarsigner/Main.java:
11439 Changed license to GPL + Exception.
11440 (handler): New field.
11441 (getCallbackHandler): New method.
11442 (setupSigningParams): Use above method.
11443 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
11444 Changed license to GPL + Exception.
11445 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
11446 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
11447 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
11448 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
11450 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
11452 * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
11453 (handleConfirmation): Use print instead of println.
11454 (handleConfirmation): When case is YES_NO_OPTION, print default option
11456 (handleLanguage): Use print instead of println.
11458 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
11460 * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
11461 (putComponent): Handle O and OU components.
11462 (getDer): Use correct (it2) iterator.
11463 (readAttributeValue): Read next character and break if end-of-stream.
11465 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
11467 * gnu/java/security/provider/Gnu.java (run):
11468 Add "RSA" as an alias to MD5withRSA.
11469 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
11470 Always encode a NULL as the value of an algorithm parameters field.
11471 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
11472 (encodePrivateKey): Added trace/log statements.
11473 (decodePrivateKey): Likewise.
11474 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
11475 (setup): Added trace/log statements.
11476 (generate): Likewise.
11477 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
11478 (toString): New method.
11479 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
11481 (toString): New method.
11482 * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
11483 (getEncoded): Use defaultFormat.
11484 (toString): New method.
11485 * gnu/java/security/key/dss/DSSKey.java (toString):
11486 Include defaultFormat in string.
11487 * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
11488 Break if successfully decoded public key.
11489 (engineGeneratePrivate): Break if successfully decoded private key.
11491 2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
11493 * java/security/Security.java <clinit>: Add our Callback provider.
11494 * resource/java/security/classpath.security: Likewise
11496 2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11499 * javax/swing/ScrollPaneLayout.java (layoutContainer):
11500 Decide about scroll bars from the preferred view size, not
11502 * javax/swing/ViewportLayout.java (layoutContainer):
11503 Do not change returned preferred size. Do not treat JScrollPane
11506 2006-04-28 Sven de Marothy <sven@physto.se>
11508 * java/awt/image/ReplicateScaleFilter.java: Fix comment.
11509 * javax/swing/ProgressMonitor.java (actionPerformed):
11510 Avoid divide-by-zero.
11512 2006-04-28 Sven de Marothy <sven@physto.se>
11514 * javax/swing/JSpinner.java: Fix default text justification.
11515 * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
11517 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
11519 * javax/swing/JList.java
11520 (getMinSelectionIndex): Return correct value, added API docs,
11521 (getMaxSelectionIndex): Added API docs.
11523 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
11525 * javax/swing/JList.java
11526 (JList(Object[])): Pass new model directly to init(),
11527 (JList(Vector)): Likewise,
11528 (JList(ListModel)): Renamed argument and updated API docs,
11529 (init): Throw IllegalArgumentException for null argument,
11530 (setListData(Object[])): Delegate model creation,
11531 (setListData(Vector)): Likewise,
11532 (createListModel(Object[])): New private method,
11533 (createListModel(Vector)): New private method,
11534 (paramString): Implemented.
11536 2006-04-28 Tom Tromey <tromey@redhat.com>
11538 * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
11540 (isSynthetic): Likewise.
11541 (isAnnotation): Likewise.
11542 * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
11543 (isAnnotation): Likewise.
11544 (isEnum): Likewise.
11546 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
11548 * javax/swing/text/View.java:
11549 (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
11552 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
11554 * javax/swing/text/View.java:
11555 (getNextVisualPositionFrom): Rewritten.
11556 * javax/swing/text/CompositeView.java:
11557 (getNextEastWestVisualPositionFrom): Partly implemented.
11558 (getNextNorthSouthVisualPositionFrom): Partly implemented.
11560 2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
11562 * javax/swing/JList.java
11563 (setFixedCellHeight): Use correct property name for event.
11565 2006-04-28 Robert Schuster <robertschuster@fsfe.org>
11567 * javax/swing/text/Utilities.java:
11568 (getNextWord): Use codePointAt instead of charAt, added note, changed
11569 if-expression, added throwing of exception.
11570 (getPreviousWord): Use codePointAt instead of charAt.
11572 2006-04-28 Jeroen Frijters <jeroen@frijters.net>
11574 * java/lang/StringBuilder.java
11575 (ensureCapacity, getChars, append(StringBuffer),
11576 append(char[],int,int), delete, replace, insert(int,char[],int,int),
11577 insert(int,String), insert(int,char), trimToSize): Replaced
11578 System.arraycopy calls with VMSystem.arraycopy.
11580 2006-04-27 Tom Tromey <tromey@redhat.com>
11582 * java/awt/image/renderable/RenderableImageProducer.java
11583 (requestTopDownLeftRightResend): Implemented.
11585 (startProduction): Add new consumer.
11587 2006-04-27 Sven de Marothy <sven@physto.se>
11589 * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
11591 2006-04-27 Roman Kennke <kennke@aicas.com>
11593 * java/awt/LightweightDispatcher.java
11594 Dispatch events only to targets that have a mouselistener
11595 attached. Changed to also handle null targets.
11597 2006-04-27 Roman Kennke <kennke@aicas.com>
11599 * NEWS: Added entries about accessibility support and L&F
11600 window decorations.
11602 2006-04-27 Robert Schuster <robertschuster@fsfe.org>
11604 * javax/swing/text/Utilities.java:
11605 (getTabbedTextOffset): Introduced width variable, rewritten the check
11606 which ends the loop.
11607 (getBreakLocation): Call getTabbedTextOffset with rounding argument set
11610 2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11612 * examples/gnu/classpath/examples/swing/TreeDemo.java
11613 (createContent): Added root visibility and selection listener demos.
11614 * javax/swing/JTree.java (setRootVisible): If false, unselect
11615 the root node, if it is selected.
11616 * javax/swing/plaf/basic/BasicTreeUI.java
11617 (TreeTraverseAction.actionPerformed): Do not select the root if it
11619 * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
11620 removeSelectionPaths): Reset lead to null if the current lead path is
11621 removed from selection.
11622 * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
11623 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
11624 Return the same path regardless is root visible or not. (update):
11625 Reduce the identation if the root is not visible.
11626 * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
11627 Return the same path regardless is root visible or not. (update):
11628 Reduce the identation if the root is not visible.
11630 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
11632 * javax/swing/plaf/basic/BasicTreeUI.java
11633 (TreeAction.actionPerformed):Newly obtain the current lead
11634 path that must stay visible.
11635 (TreeTraverseAction.actionPerformed):Rewritten.
11636 * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
11637 Do not treat root specially. (setModel): Assume the root node
11638 initially expanded.
11639 * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
11640 Do not treat root specially. (setModel): Assume the root node
11641 initially expanded.
11643 2006-04-26 Chris Burdess <dog@gnu.org>
11646 * javax/xml/datatype/DatatypeFactory.java: Use complete
11647 implementation resolution mechanism.
11649 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11651 * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
11653 * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
11654 Removed NoImplementException form the implemented method.
11656 2006-04-26 Tom Tromey <tromey@redhat.com>
11658 * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
11661 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
11663 * javax/swing/DefaultListSelectionModel.java
11664 (clone): Initialise empty listener list,
11665 (setSelectionMode): Throw IllegalArgumentException for bad input.
11667 2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
11669 * javax/swing/DefaultListSelectionModel.java
11670 (clearSelection): Clear the Bitset.
11672 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11674 * javax/swing/JTree.java (setLeadSelectionPath):
11675 Repaint the new and old lead pathes.
11676 * javax/swing/plaf/basic/BasicTreeUI.java
11677 (FocusHandler): Repaint the lead row when focus changes.
11678 (PropertyChangeHandler): Use existing constants, not the
11679 string literals for the property names.
11680 (TreeIncrementAction): Shrink the selection when moving
11681 from the selection edge to the selection anchor.
11682 (TreeSelectionHandler.valueChanged): Repaint the
11683 new and old lead pathes.
11684 (paintRow): Treat row as focused only if it is the lead row.
11685 * javax/swing/tree/DefaultTreeCellRenderer.java
11686 (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
11687 (paint): Rewritten.
11688 * javax/swing/tree/DefaultTreeSelectionModel.java
11689 (addSelectionPath): Event construction fix (old and new lead were
11691 (addSelectionPaths): Likewise.
11692 * javax/swing/JComponent.java (setOpaque): Explained.
11693 * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
11695 * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
11698 2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11700 * examples/gnu/classpath/examples/swing/TreeDemo.java
11701 (createContent): Call DefaultTreeModel.reload(), not the
11702 tree.repaint(). Expand the parent of the added node.
11703 * javax/swing/JTree.java (constructor): Do not call
11704 UpdateUI (and documented why). (treeDidChange):
11705 Added comment, excluding the misinterpretation of this method.
11706 * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
11707 focusListener, keyListener, mouseListener, propertyListener,
11708 selectionModelPropertyChangeListener, treeModelListener,
11709 treeSelectionListener): Made package private.
11710 (PropertyChangeHandler): If the model changes, install the
11711 listener on it. (installUI): Assign treeModel.
11712 * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
11713 comment, excluding misinterpretation.
11714 * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
11715 (reload(TreeNode)): Implemented.
11717 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11719 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
11720 If clicked on the other row, cancel the current editing session.
11722 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11724 * javax/swing/plaf/basic/BasicTreeUI.java
11725 (NodeDimensionsHandler.getRowX): Add half of the icon width.
11726 (paintExpandControl): Always paint in one gap distance from the left
11727 border of the path bounds.
11728 (paintHorizontalPartOfLeg): Rewritted, taking the icon width
11729 into consideration.
11730 (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
11733 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11735 * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
11737 2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11739 * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
11740 Allow slashes (/) in the unquoted parameter value.
11742 2006-04-25 Roman Kennke <kennke@aicas.com>
11744 * gnu/java/awt/java2d/AbstractGraphics2D.java
11745 (drawString(String,int,int)): Implemented.
11746 (drawString(String,float,float)): Implemented.
11747 (drawString(AttributedCharacterIterator,int,int)): Implemented.
11748 (drawString(AttributedCharacterIterator,float,float)): Implemented.
11749 (getFontRenderContext): Implemented.
11750 (drawGlyphVector): Implemented.
11751 (getFont): Implemented.
11752 (setFont): Don't change font setting when null.
11753 (getFontMetrics): Implemented.
11754 (fillShape): Re-written to fill call rawFillShape() with a list
11755 of the edges instead of double arrays.
11756 (rawFillShape): Implemented using a polygon scanline conversion.
11757 (fillScanline): New helper method.
11758 (init): Initialize foreground black. Set font.
11759 * gnu/java/awt/java2d/PolyEdge.java: New file.
11760 * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
11762 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
11764 * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
11766 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
11768 * javax/swing/JTable.java: Fixed API doc tags,
11769 * javax/swing/text/AsyncBoxView.java: Likewise,
11770 * javax/swing/text/FlowView.java: Likewise.
11772 2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
11774 * javax/swing/table/DefaultTableColumnModel.java
11775 (moveColumn): Call fireColumnMoved() not fireColumnAdded.
11777 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
11779 * javax/swing/table/DefaultTableColumnModel.java
11780 (DefaultTableColumnModel): Set selection model field and add 'this' as
11782 (addColumn): Add 'this' as a PropertyChangeListener,
11783 (removeColumn): Remove column before firing event, and remove 'this' as
11784 a PropertyChangeListener,
11785 (setSelectionModel): Remove 'this' as a listener from old model,
11786 (propertyChange): Check for 'width' property rather than
11787 TableColumn.COLUMN_WIDTH_PROPERTY.
11789 2006-04-24 Chris Burdess <dog@gnu.org>
11792 * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
11793 attributes when no doctype exists.
11795 2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
11797 * javax/swing/event/ChangeEvent.java: Updated API docs,
11798 * javax/swing/event/ChangeListener.java: Likewise,
11799 * javax/swing/event/TableColumnModelEventListener.java: Likewise,
11800 * javax/swing/table/DefaultTableColumnModel.java: Likewise,
11801 * javax/swing/table/TableColumnModel.java: Likewise.
11803 2006-04-24 Robert Schuster <robertschuster@fsfe.org>
11805 * javax/swing/text/Utilities.java:
11806 (getBreakLocation): Introduced shift variable, added notes.
11807 * javax/swing/text/WrappedPlainView.java:
11808 (calculateBreakPosition): Decrease allocation area bounds by insets,
11809 added early return when allocation area is empty, provide start offset
11811 (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
11812 (WrappedPlainView.WrappedLine.paint): Added count variable, update
11813 numLines after loop.
11814 (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
11815 (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
11816 (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
11817 decreasing variable end by one, changed break condition in while-loop,
11818 added check for return value.
11819 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
11820 allocation area is empty.
11822 2006-04-24 Sven de Marothy <sven@physto.se>
11824 * gnu/java/awt/java2d/Segment.java: New file.
11825 * gnu/java/awt/java2d/CubicSegment.java: New file.
11826 * gnu/java/awt/java2d/QuadSegment.java: New file.
11827 * gnu/java/awt/java2d/LineSegment.java: New file.
11828 * java/awt/BasicStroke.java
11829 (start): New field.
11831 (createStrokedShape): Implemented.
11832 (solidStroke): New method.
11833 (dashedStroke): New method.
11834 (capEnds): New method.
11835 (convertPath): New method.
11836 (addSegments): New method.
11837 (capEnd): New method.
11838 (lineIntersection): New method.
11839 (joinSegments): New method.
11841 2006-04-24 Roman Kennke <kennke@aicas.com>
11843 * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
11846 (clip): Changed clip to be in user space not in target space.
11847 (isOptimized): Added flag to allow optimized drawing for
11848 primitive operations (e.g. for Swing).
11849 (AbstractGraphics2D()): Set foreground in init() to avoid trouble
11850 with the paint context etc.
11851 (draw): Clip the shape before drawing it.
11852 (fill): Clip the shape before drawing it.
11853 (setComposite): Update isOptimized flag.
11854 (setPaint): Likewise.
11855 (setStroke): Likewise.
11856 (translate): Update the clip.
11857 (rotate): Likewise.
11860 (transform): Likewise.
11861 (setTransform): Likewise.
11862 (clip): Added optimization for rectangle clips.
11863 (create): Implemented.
11864 (clone): New method.
11865 (setFont): Basic implementation.
11866 (setClip): Update opimization flag.
11867 (drawLine): Added possible optimization.
11868 (fillRect): Added possible optimization.
11869 (fillShape): Implemented shape-filling by filling the flattended
11870 shape using polygon fill.
11871 (drawPixel): Added basic painting.
11872 (rawSetPixel): Changed signature to only take coordinates.
11873 (rawSetForeground): New abstract method.
11874 (getUserBounds): Implemented default for this method.
11875 (rawDrawLine): New method.
11876 (rawFillRect): New method.
11877 (rawFillPolygon): New method.
11878 (init): New method.
11879 (updateOptimization): New method.
11880 (computeIntersection): New method.
11881 (updateClip): New method.
11882 (clipShape): New method.
11884 2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
11886 * examples/gnu/classpath/examples/swing/TreeDemo.java:
11887 (createContent): Added check box to swith between single and
11888 multiple selection.
11889 * javax/swing/JTree.java (leadSelectionPath): Removed.
11890 (addSelectionInterval): Explained. (getLeadSelectionPath):
11891 Request the path from model. (getPathsBetweenRows): Explained.
11892 (setLeadSelectionPath): Set the path in model.
11893 * javax/swing/plaf/basic/BasicTreeUI.java
11894 (TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
11895 isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
11896 (MouseHandler.mousePressed): Call selectPathForEvent.
11898 2006-04-23 Roman Kennke <kennke@aicas.com>
11900 * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
11902 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
11904 * NEWS: Added entry about new Package constructor.
11905 * java/lang/Package.java: Added compatibility constructor to ease
11906 VM interface migration.
11908 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
11910 * NEWS: Added information about annotation support.
11911 * java/lang/Class.java: Implement AnnotatedElement.
11912 (equals): Reformatted to match generics branch.
11913 (getEnumConstants): Implemented.
11914 (getAnnotation, getAnnotations, getDeclaredAnnotations,
11915 isAnnotationPresent): Merged from generics branch.
11916 * vm/reference/java/lang/VMClass.java (getDeclaredAnnotations):
11919 2006-04-23 Jeroen Frijters <jeroen@frijters.net>
11921 * java/lang/ClassLoader.java (definePackage): Added argument to
11922 Package constructor.
11923 * java/lang/Package.java (Package): Added ClassLoader argument.
11924 (loader): New field.
11925 (getAnnotation, getAnnotations, getDeclaredAnnotations,
11926 isAnnotationPresent): Merged from generics branch.
11927 * vm/reference/java/lang/VMClassLoader.java (static): Added argument
11928 to Package constructor.
11930 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
11932 * java/lang/ClassLoader
11933 (defineClass(String,byte[],int,int,ProtectionDomain)):
11934 Calls VMClassLoader.defineClassWithTransformers instead
11935 of VMClassLoader.defineClass.
11937 2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
11940 Mention changes to VMProcess and VMSystem.
11941 * doc/vmintegration.texinfo:
11942 Change documentation on VMProcess and VMSystem.
11943 * java/lang/reflect/Modifier.java:
11944 (toString(int,StringBuilder)): Merged from generics
11946 * vm/reference/java/lang/reflect/Constructor.java
11947 (toString()): Use StringBuilder.
11948 (toGenericString()): Likewise.
11949 * vm/reference/java/lang/reflect/Field.java:
11950 (toString()): Use StringBuilder.
11951 (toGenericString()): Likewise.
11952 * vm/reference/java/lang/reflect/Method.java
11953 (toString()): Use StringBuilder.
11954 (toGenericString()): Likewise.
11955 * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
11956 * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
11957 * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
11958 * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
11959 * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11960 * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
11961 * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
11962 * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
11963 * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
11964 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
11965 * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
11966 * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
11967 * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
11968 * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
11969 * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
11970 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11971 * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
11972 * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
11973 * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
11974 * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
11975 * include/gnu_java_awt_peer_gtk_GtkImage.h,
11976 * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
11977 * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
11978 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
11979 * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
11980 * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
11981 * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
11982 * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
11983 * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
11984 * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
11985 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
11986 * include/gnu_java_awt_peer_gtk_GtkSelection.h,
11987 * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
11988 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
11989 * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11990 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
11991 * include/gnu_java_awt_peer_qt_MainQtThread.h,
11992 * include/gnu_java_awt_peer_qt_QMatrix.h,
11993 * include/gnu_java_awt_peer_qt_QPainterPath.h,
11994 * include/gnu_java_awt_peer_qt_QPen.h,
11995 * include/gnu_java_awt_peer_qt_QtAudioClip.h,
11996 * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
11997 * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
11998 * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
11999 * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
12000 * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
12001 * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
12002 * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
12003 * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
12004 * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
12005 * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
12006 * include/gnu_java_awt_peer_qt_QtFontPeer.h,
12007 * include/gnu_java_awt_peer_qt_QtFramePeer.h,
12008 * include/gnu_java_awt_peer_qt_QtGraphics.h,
12009 * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
12010 * include/gnu_java_awt_peer_qt_QtImage.h,
12011 * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
12012 * include/gnu_java_awt_peer_qt_QtListPeer.h,
12013 * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
12014 * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
12015 * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
12016 * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
12017 * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
12018 * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
12019 * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
12020 * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
12021 * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
12022 * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
12023 * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
12024 * include/gnu_java_awt_peer_qt_QtToolkit.h,
12025 * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
12026 * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
12027 * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
12028 * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
12029 * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
12030 * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
12031 * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
12032 * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
12033 * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
12034 * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
12035 * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
12036 * include/gnu_xml_libxmlj_dom_GnomeElement.h,
12037 * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
12038 * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
12039 * include/gnu_xml_libxmlj_dom_GnomeNode.h,
12040 * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
12041 * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
12042 * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
12043 * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
12044 * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
12045 * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
12046 * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
12047 * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
12048 * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
12049 * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
12050 * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
12051 * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
12052 * include/java_lang_VMProcess.h,
12053 * include/java_lang_VMSystem.h:
12054 Regenerated with GCJ 4.1.
12056 2005-12-05 Casey Marshall <csm@gnu.org>
12058 * native/jni/classpath/jcl.h (environ): define, or declare
12060 * native/jni/java-lang/java_lang_VMProcess.c: include <jcl.h>.
12061 Remove 'extern' define.
12062 * native/jni/java-lang/java_lang_VMSystem.c
12063 (Java_java_lang_VMSystem_environ): don't declare 'environ.'
12065 2005-09-25 Jeroen Frijters <jeroen@frijters.net>
12067 * java/lang/System.java,
12068 vm/reference/java/lang/VMSystem.java: Removed generic type
12069 from VMSystem.environ() signature.
12071 2005-05-04 Tom Tromey <tromey@redhat.com>
12073 * native/jni/java-lang/java_lang_VMProcess.c
12074 (Java_java_lang_VMProcess_nativeSpawn): Added 'redirect'
12075 argument. Use defines instead of contents.
12076 * vm/reference/java/lang/VMProcess.java (redirect): New field.
12078 (setProcessInfo): Updated.
12079 (VMProcess): Added 'redirect' argument.
12080 (nativeSpawn): Likewise.
12081 (exec): New overload.
12083 2005-01-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
12085 * include/java_lang_VMSystem.h:
12086 (Java_java_lang_VMSystem_environ): added
12087 * vm/reference/java/lang/VMSystem.java:
12088 (environ()): new native method
12090 2006-04-22 Casey Marshall <csm@gnu.org>
12092 Fixes PR classpath/27228.
12093 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
12094 (initialize): also accept `DHParameterSpec.'
12095 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
12096 handle a passed-in `DHParameterSpec' properly.
12097 (generate): don't check if the random exponent is less than `q -
12098 1' if no `q' was specified.
12100 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12102 * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
12103 Only repaint the patches, speficied in the passed event.
12104 (expandPath): Do nothing if the path is already expanded.
12105 (scrollPathToVisible): Only scroll to visible, do nothing else.
12106 * javax/swing/plaf/basic/BasicTreeUI.java
12107 (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
12108 (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
12109 (TreeTraverseAction.actionPerformed): Collapse the node on the
12110 action "selectParent". (selectPath): Rewritten.
12111 * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
12112 Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
12113 Do not reuse selection array.
12114 * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
12116 * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
12119 2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12121 * javax/swing/tree/DefaultTreeSelectionModel.java
12122 (addSelectionPath): If the path cannot be added, set it.
12123 (addSelectionPaths): Call insureRowContinuity.
12124 (arePathsContiguous): Implemented.
12125 (canPathBeAdded): New private method.
12126 (canPathsBeAdded): Implemented.
12127 (canPathsBeRemoved): Implemented.
12128 (getPath): New private method.
12129 (insureRowContinuity): Implemented.
12130 (removeSelectionPath): Call insureRowContinuity.
12131 (removeSelectionPaths): Call insureRowContinuity.
12132 (resetRowSelection): Removed stub marking, not used in implementation
12133 (nothing to do there).
12134 (selectOne): New private method.
12135 (setSelectionMode) Call insureRowContinuity.
12136 (setSelectionPaths) Remove the current selection by clearing it.
12138 2006-04-22 Carsten Neumann <cn-develop@gmx.net>
12140 * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
12141 parameters consistendly, documented some methods.
12142 * java/sql/Blob.java: Likewise.
12143 * java/sql/CallableStatement.java: Likewise.
12144 * java/sql/Clob.java: Likewise.
12145 * java/sql/Connection.java: Likewise.
12146 * java/sql/DatabaseMetaData.java: Likewise.
12147 * java/sql/Date.java: Likewise.
12148 * java/sql/Driver.java: Likewise.
12149 * java/sql/PreparedStatement.java: Likewise.
12150 * java/sql/ResultSet.java: Likewise.
12151 * java/sql/ResultSetMetaData.java: Likewise.
12152 * java/sql/SQLData.java: Likewise.
12153 * java/sql/SQLOutput.java: Likewise.
12154 * java/sql/SQLWarning.java: Likewise.
12155 * java/sql/Statement.java: Likewise.
12156 * java/sql/Time.java: Likewise.
12157 * java/sql/Timestamp.java: Likewise.
12159 2006-04-21 Tom Tromey <tromey@redhat.com>
12161 PR classpath/27163:
12162 * gnu/java/net/protocol/ftp/FTPConnection.java
12163 (changeWorkingDirectory): Do nothing if path is empty.
12165 2006-04-21 Tom Tromey <tromey@redhat.com>
12168 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
12169 case where no '/' appears in 'location'.
12171 2006-04-21 Tom Tromey <tromey@redhat.com>
12173 * java/security/Security.java (<clinit>): Add all default providers.
12174 * resource/java/security/classpath.security: Added comment.
12176 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12178 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
12179 * javax/swing/SpinnerNumberModel.java: Likewise.
12181 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12183 * javax/swing/SpinnerDateModel.java
12184 (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
12185 checking to call compareTo() on start and end.
12187 2006-04-21 Jeroen Frijters <jeroen@frijters.net>
12189 * java/lang/reflect/AccessibleObject.java:
12190 Implemented AnnotatedElement.
12191 (getAnnotation, getAnnotations, getDeclaredAnnotations,
12192 isAnnotationPresent): New methods.
12194 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12196 * javax/swing/border/AbstractBorder.java: API doc updates,
12197 * javax/swing/border/BevelBorder.java: Likewise,
12198 * javax/swing/border/CompoundBorder.java: Likewise,
12199 * javax/swing/border/EtchedBorder.java: Likewise,
12200 * javax/swing/border/LineBorder.java: Likewise,
12201 * javax/swing/border/MatteBorder.java: Likewise,
12202 * javax/swing/border/TitledBorder.java: Likewise.
12204 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12206 * gnu/javax/crypto/cipher/Anubis.java:
12207 (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
12209 * gnu/javax/crypto/cipher/Blowfish.java:
12210 (selfTest): Likewise,
12211 * gnu/javax/crypto/cipher/Cast5.java:
12212 (selfTest): Likewise,
12213 * gnu/javax/crypto/cipher/Khazad.java:
12214 (selfTest): Likewise,
12215 * gnu/javax/crypto/cipher/Rijndael.java:
12216 (selfTest): Likewise,
12217 * gnu/javax/crypto/cipher/Serpent.java:
12218 (selfTest): Likewise,
12219 * gnu/javax/crypto/cipher/Square.java:
12220 (selfTest): Likewise,
12221 * gnu/javax/crypto/cipher/Twofish.java:
12222 (selfTest): Likewise,
12223 * gnu/javax/crypto/mac/UMac32.java:
12224 (selfTest): Likewise,
12225 * gnu/javax/crypto/prng/CSPRNG.java:
12226 (getSystemInstance): Likewise.
12228 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12230 * gnu/java/security/hash/Haval.java:
12231 (selfTest): Use Boolean.valueOf() to avoid creating new Boolean
12233 * gnu/java/security/hash/MD2.java:
12234 (selfTest): Likewise,
12235 * gnu/java/security/hash/MD4.java:
12236 (selfTest): Likewise,
12237 * gnu/java/security/hash/MD5.java:
12238 (selfTest): Likewise,
12239 * gnu/java/security/hash/RipeMD128.java:
12240 (selfTest): Likewise,
12241 * gnu/java/security/hash/RipeMD160.java:
12242 (selfTest): Likewise,
12243 * gnu/java/security/hash/Sha160.java:
12244 (selfTest): Likewise,
12245 * gnu/java/security/hash/Sha256.java:
12246 (selfTest): Likewise,
12247 * gnu/java/security/hash/Sha384.java:
12248 (selfTest): Likewise,
12249 * gnu/java/security/hash/Sha512.java:
12250 (selfTest): Likewise,
12251 * gnu/java/security/hash/Tiger.java:
12252 (selfTest): Likewise,
12253 * gnu/java/security/hash/Whirlpool.java:
12254 (selfTest): Likewise.
12256 2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12258 * javax/swing/plaf/basic/BasicTreeUI.java
12259 (PropertyChangeHandler.propertyChange): Set the row mapper
12260 for the selection model.
12261 * javax/swing/tree/AbstractLayoutCache.java
12262 (NodeDimensions.getNodeDimensions): Explained.
12263 (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
12264 Implemented. (setRowHeight): Invalidate sizes.
12265 * javax/swing/tree/DefaultTreeSelectionModel.java
12266 (addSelectionPath, addSelectionPaths): Update lead row.
12267 (removeSelectionPath, removeSelectionPaths): Do nothing if
12268 selection is empty.
12269 (clone): Only clone list selection model if it is not null.
12270 (getRow): New method. (isRowSelected, getLeadSelectionRow,
12271 setSelectionPath, setSelectionPaths, toString): Implemented.
12272 * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
12273 Pass the empty rectangle. (isFixedRowHeight): New method.
12274 * javax/swing/tree/VariableHeightLayoutCache.java
12275 (NodeRecord.getBounds): Pass the empty rectangle.
12277 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12279 * gnu/java/security/Properties.java
12280 (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
12282 2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
12284 * gnu/classpath/jdwp/util/Value.java
12285 (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
12286 creating new Boolean instances.
12288 2006-04-20 Mark Wielaard <mark@klomp.org>
12290 * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
12291 PrivilegedAction. Access awt.toolkit through SystemProperties.
12293 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12295 * javax/swing/ActionMap.java: Removed unused imports,
12296 * javax/swing/DefaultListSelectionModel.java
12297 (clearSelection): Removed unused label,
12298 * javax/swing/JScrollPane.java: Removed unused imports,
12299 * javax/swing/UIManager.java: Likewise,
12300 * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
12302 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12304 * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
12305 * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
12306 * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
12307 * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
12308 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
12310 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12312 * java/sql/Array.java: Fixed Eclipse API doc warnings,
12313 * java/sql/Blob.java: Likewise,
12314 * java/sql/CallableStatement.java: Likewise,
12315 * java/sql/Clob.java: Likewise,
12316 * java/sql/Connection.java: Likewise,
12317 * java/sql/DatabaseMetaData.java: Likewise,
12318 * java/sql/Date.java: Likewise,
12319 * java/sql/Driver.java: Likewise,
12320 * java/sql/PreparedStatement.java: Likewise,
12321 * java/sql/ResultSet.java: Likewise,
12322 * java/sql/ResultSetMetaData.java: Likewise,
12323 * java/sql/SQLData.java: Likewise,
12324 * java/sql/SQLOutput.java: Likewise,
12325 * java/sql/SQLWarning.java: Likewise,
12326 * java/sql/Statement.java: Likewise,
12327 * java/sql/Time.java: Likewise,
12328 * java/sql/Timestamp.java: Likewise.
12330 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12332 * java/sql/DriverManager.java
12333 (setLoginTimeout): Use incoming argument,
12334 (setLogStream): Likewise,
12335 (println): Fix API doc comment.
12337 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12339 * javax/swing/JMenuItem.java
12340 (paramString): Updated API docs,
12341 (getAccessibleContext): Added API docs,
12342 (AccessibleJMenuItem.stateChanged): Marked as stub,
12343 (AccessibleJMenuItem.getAccessibleRole): Added API docs,
12344 * javax/swing/JSlider.java
12345 (paramString): Fix for API docs,
12346 * javax/swing/JToolTip.java
12347 (getAccessibleContext): Fix for API docs.
12349 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12351 * javax/swing/JRadioButtonMenuItem.java
12352 (paramString): Reimplemented,
12353 (getAccessibleContext): API docs added,
12354 (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
12356 (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
12358 2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12360 * javax/swing/plaf/basic/BasicTreeUI.java
12361 (finish): Invalidate path bounds.
12362 (getMaxHeight): Set the row height to the layout cache.
12363 (startEditing): Do not request to recalculated
12364 row height and preferred size.
12365 * javax/swing/tree/DefaultTreeCellEditor.java
12366 (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
12368 * javax/swing/tree/FixedHeightLayoutCache.java:
12371 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12373 * javax/swing/JDesktopPane.java
12374 (paramString): Reimplemented,
12375 plus API doc updates in AccessibleJDesktopPane.
12377 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12379 * javax/swing/ImageIcon.java:
12380 (AccessibleImageIcon.getAccessibleStateSet): Return null always,
12381 (AccessibleImageIcon.getLocale): Declared exception and always return
12383 (getAccessibleContext): Updated API docs,
12384 plus updated API docs all over AccessibleImageIcon.
12386 2006-04-20 Roman Kennke <kennke@aicas.com>
12389 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
12390 (paintText): Fetch the ascent only once. Add the ascent to
12391 the text rect also when tabs are disabled.
12393 2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
12395 * java/util/Locale.java (defaultLocale): Set to en_US per
12396 default and use user.country but prioritize user.region if
12398 (getLocale(String language, String country)): Renamed region to
12400 (getLocale(String language, String region, String variant)):
12402 (getAvailableLocales): Likewise.
12404 2006-04-20 Roman Kennke <kennke@aicas.com>
12407 * javax/swing/JList.java
12408 (JList()): Call init() with DefaultListModel instance.
12409 (JList(Object[])): Call init() with null.
12410 (JList(Vector)): Call init() with null.
12411 (JList(ListModel)): Call init() with model.
12412 (init): Changed to take the model as argument. Don't call
12413 setter methods and initialize stuff directly instead.
12414 (getCellBounds): Check if UI is null.
12416 2006-04-20 Robert Schuster <robertschuster@fsfe.org>
12418 * javax/swing/text/WrappedPlainView.java: Initialize
12419 WrappedLine.numLines with -1.
12420 (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
12421 numLines is -1 and reculcalate the value appropriately.
12422 (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
12423 allocation area is empty.
12425 2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
12427 * javax/swing/JTabbedPane.java
12428 (AccessibleJTabbedPane.stateChanged): Marked as stub,
12429 (AccessibleJTabbedPane.getAccessibleRole): Likewise,
12430 (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
12431 (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
12432 (AccessibleJTabbedPane.getAccessibleAt): Likewise,
12433 (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
12434 (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
12435 (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
12436 (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
12437 (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
12438 (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
12439 (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
12440 (Page.getAccessibleStateSet): Likewise,
12441 (Page.getAccessibleIndexInParent): Likewise.
12443 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
12445 * javax/swing/JProgressBar.java
12446 (paramString): Reimplemented.
12448 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
12450 * javax/swing/JButton.java: Updated API docs all over.
12452 2006-04-19 Roman Kennke <kennke@aicas.com>
12454 * java/awt/Toolkit.java
12455 (getDefaultToolkit): Use system classloader to load the
12458 2006-04-19 Robert Schuster <robertschuster@fsfe.org>
12460 * javax/swing/text/DefaultCaret.java:
12461 (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
12462 instead of DefaultCaret.setDot.
12464 2006-04-19 Roman Kennke <kennke@aicas.com>
12466 * native/jni/java-net/local.c
12467 (local_read): Handle EINTR correctly.
12468 (local_write): Likewise.
12470 2006-04-19 Riccardo Mottola <multix@gmail.com>
12472 PR classpath/27062, PR classpath/25650:
12473 * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
12475 2006-04-19 Tom Tromey <tromey@redhat.com>
12477 * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
12478 value of 'pureMinutes'. PR classpath/27189.
12480 2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
12482 * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
12483 boot packages list from the META-INF/INDEX.LIST file if it exists.
12485 2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
12487 Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
12488 * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
12489 (ITERATION_COUNT): Removed modifiers.
12490 (PASSWORD): Likewise.
12492 (PASSWORD_ENCODING): New property.
12493 (DEFAULT_PASSWORD_ENCODING): New constant.
12494 * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
12495 material (bytes) before a password (chars).
12497 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
12499 * javax/swing/JMenu.java
12500 (getAccessibleChildrenCount): Marked as stub,
12501 (getAccessibleChild): Likewise,
12502 (getAccessibleSelection): Likewise,
12503 (getAccessibleSelection(int)): Likewise,
12504 (isAccessibleChildSelected): Likewise,
12505 (getAccessibleSelectionCount): Likewise,
12506 (addAccessibleSelection): Likewise,
12507 (removeAccessibleSelection): Likewise,
12508 (clearAccessibleSelection): Likewise,
12509 (selectAllAccessibleSelection): Likewise.
12511 2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
12513 * javax/swing/JSplitPane.java
12514 (getAccessibleContext): Added API docs,
12515 (paramString): Reimplemented,
12516 (setOrientation): Updated API docs,
12517 (setResizeWeight): Added argument checking and event notification.
12519 2006-04-18 Casey Marshall <csm@gnu.org>
12521 Fixes PR classpath/25673
12522 * java/security/KeyStore.java (getDefaultType): return "gkr" if no
12523 property is set. Update JavaDoc to reflect this.
12525 2006-04-18 Lillian Angel <langel@redhat.com>
12527 * gnu/xml/dom/DomDocument.java
12528 (setCheckingCharacters): New function used to set
12529 checkingCharacters flag.
12530 * gnu/xml/dom/html2/DomHTMLParser.java
12531 (parseDocument): Added call to set checkingCharacters flag
12534 2006-04-18 Lillian Angel <langel@redhat.com>
12536 * gnu/xml/dom/DomDocument.java
12537 (checkNCName): Reverted last patch. Added check for colon at
12538 last position back in.
12540 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
12542 * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
12544 * examples/gnu/classpath/examples/swing/Demo.java:
12545 (mkMenuBar): Added NavigationFilter demo.
12547 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
12549 * javax/swing/JSeparator.java: Updated API docs all over, plus
12550 (setOrientation): Fire PropertyChangeEvent,
12551 (paramString): Reimplemented.
12553 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
12555 * javax/swing/plaf/basic/BasicTextUI.java:
12556 (getNextVisualPositionFrom): Implemented.
12558 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
12560 * javax/swing/JPanel.java: Updated API docs all over, plus
12561 (JPanel(LayoutManager, boolean)): Pass on null layout, set
12562 double-buffer flag.
12564 2006-04-18 Robert Schuster <robertschuster@fsfe.org>
12566 * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
12568 * examples/gnu/classpath/examples/swing/Demo.java:
12569 (mkMenuBar): Added DocumenFilter demo.
12571 2006-04-18 Tom Tromey <tromey@redhat.com>
12573 * doc/www.gnu.org/include/layout.wml: Add FMJ.
12575 2006-04-18 Mark Wielaard <mark@klomp.org>
12577 Reported by John Sullivan (johns@fsf.org)
12578 * doc/www.gnu.org/stories.wml: Update JikesRVM location.
12580 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
12582 * javax/swing/JInternalFrame.java
12583 (JDesktopIcon.getAccessibleContext): Added API docs,
12584 (getDefaultCloseOperation): Likewise,
12585 (paramString): Added 'title' attribute,
12586 (setDefaultCloseOperation): Added API docs.
12588 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
12590 * javax/swing/JSlider.java
12591 (paramString): Reimplemented.
12593 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
12595 * javax/swing/JComboBox.java
12596 (paramString): Reimplemented,
12597 (getAccessibleContext): Added API docs,
12598 (AccessibleJComboBox.getAccessibleRole): Likewise.
12600 2006-04-18 Roman Kennke <kennke@aicas.com>
12602 * javax/swing/RepaintManager.java
12603 (dirtyComponentsWork): New field.
12604 (ComponentComparator): Use dirtyComponentsWork instead of
12606 (RepaintManager): Initialize new field.
12607 (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
12608 and work on the copy.
12610 2006-04-18 Roman Kennke <kennke@aicas.com>
12612 * gnu/java/awt/peer/swing/SwingComponentPeer.java
12613 (setBounds): Call reshape().
12614 * gnu/java/awt/peer/swing/SwingContainerPeer.java
12615 (SwingContainerPeer): Changed argument to be a Component
12616 instead a Container.
12617 (getInsets): Call insets().
12618 (handleMouseEvent): Added null check to avoid NPE.
12619 (handleMouseMotionEvent): Added null check to avoid NPE.
12621 2006-04-18 Roman Kennke <kennke@aicas.com>
12624 * javax/swing/JComponent.java
12625 (paintChildrenWithOverlap): When one child is not opaque, propagate
12626 the dirty rectangles to the next child.
12627 (paintChildrenOptimized): Removed unnecessary 'optimization'.
12628 This actually didn't work right and probably gained nothing.
12630 2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
12632 * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
12633 (moveToCellBeingEdited): Do not clone the rectangle here.
12635 2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
12637 * javax/swing/plaf/basic/BasicSliderUI.java
12638 (getActionMap): Fixed lookup key,
12639 (createActionMap): Modified actions to fetch slider/ui from the event
12642 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
12644 * javax/swing/JToolBar.java
12645 (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
12646 (AccessibleJToolBar.getAccessibleStateSet): Implemented,
12647 (AccessibleJToolBar.getAccessibleRole): Updated API docs,
12648 (getAccessibleContext): Likewise.
12650 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
12652 * java/lang/Enum.java: Documented.
12654 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
12657 Mention merge of instrumentation classes.
12658 * doc/vmintegration.texinfo:
12659 Move instrumentation to correct section.
12661 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
12663 * gnu/java/lang/InstrumentationImpl.java:
12664 Moved from java.lang.
12665 * java/lang/InstrumentationImpl.java:
12667 * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
12668 Moved from java.lang.
12669 * vm/reference/java/lang/VMClassLoader.java:
12670 Corrected reference to InstrumentationImpl.
12671 * vm/reference/java/lang/VMInstrumentationImpl.java:
12674 2005-12-14 Nicolas Geoffray <nicolas.geoffray@menlina.com>
12676 * vm/reference/java/lang/VMClassLoader
12677 (defineClassWithTransformers): New method.
12678 (instrumenter): New Field.
12680 2005-12-04 Nicolas Geoffray <nicolas.geoffray@menlina.com>
12682 * vm/reference/java/lang/VMInstrumentationImpl.java
12683 (redefineClasses): Added an extra parameter of type
12684 java.lang.instrument.Instrument.
12685 * java/lang/InstrumentationImpl.java
12686 (redefineClasses): Added the Instrumentation object
12687 to the arguments of VMInstrumentationImpl.redefineClasses
12690 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
12692 * java/lang/InstrumentationImpl.java:
12694 * vm/reference/java/lang/VMInstrumentationImpl.java:
12697 2006-04-17 Jeroen Frijters <jeroen@frijters.net>
12699 * java/util/Collection.java: Implemented java.lang.Iterable.
12701 2006-04-17 Jeroen Frijters <jeroen@frijters.net>
12703 * java/lang/Boolean.java: Implemented Comparable.
12704 * java/lang/ClassLoader.java
12705 (getResources): Not final anymore in 1.5.
12706 * java/lang/Enum.java, java/lang/Iterable.java:
12707 Copied from generics branch.
12708 * java/lang/Thread.java (destroy): Marked deprecated.
12709 * java/lang/ThreadLocal.java (remove): New method.
12711 2006-04-17 Dalibor Topic <robilad@kaffe.org>
12714 Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
12716 * native/fdlibm/Makefile.am,
12717 native/jni/classpath/Makefile.am:
12718 Don't use -module and -version-info for convenience libraries LDFLAGS.
12719 Fixes libtool warnings.
12721 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
12723 * javax/swing/plaf/basic/BasicComboBoxUI.java:
12724 (installKeyboardActions): Marked as stub,
12725 (uninstallKeyboardActions): Likewise,
12726 * javax/swing/plaf/basic/BasicComboPopup.java:
12727 (installKeyboardActions): Marked as stub,
12728 (uninstallKeyboardActions): Likewise,
12729 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
12730 (installKeyboardActions): Marked as stub,
12731 (uninstallKeyboardActions): Likewise,
12732 * javax/swing/plaf/basic/BasicLabelUI.java:
12733 (installKeyboardActions): Marked as stub,
12734 (uninstallKeyboardActions): Likewise,
12735 * javax/swing/plaf/basic/BasicListUI.java:
12736 (installKeyboardActions): Marked as stub,
12737 (uninstallKeyboardActions): Likewise,
12738 * javax/swing/plaf/basic/BasicMenuBarUI.java:
12739 (installKeyboardActions): Marked as stub,
12740 (uninstallKeyboardActions): Likewise,
12741 * javax/swing/plaf/basic/BasicMenuUI.java:
12742 (installKeyboardActions): Marked as stub,
12743 (uninstallKeyboardActions): Likewise,
12744 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12745 (installKeyboardActions): Marked as stub,
12746 (uninstallKeyboardActions): Likewise,
12747 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12748 (installKeyboardActions): Marked as stub,
12749 (uninstallKeyboardActions): Likewise,
12750 * javax/swing/plaf/basic/BasicScrollBarUI.java:
12751 (installKeyboardActions): Marked as stub,
12752 (uninstallKeyboardActions): Likewise,
12753 * javax/swing/plaf/basic/BasicScrollPaneUI.java:
12754 (installKeyboardActions): Marked as stub,
12755 (uninstallKeyboardActions): Likewise,
12756 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
12757 (installKeyboardActions): Marked as stub,
12758 (uninstallKeyboardActions): Likewise,
12759 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
12760 (installKeyboardActions): Marked as stub,
12761 (uninstallKeyboardActions): Likewise,
12762 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
12763 (installKeyboardActions): Marked as stub,
12764 (uninstallKeyboardActions): Likewise,
12765 * javax/swing/plaf/basic/BasicTableUI.java:
12766 (installKeyboardActions): Marked as stub,
12767 (uninstallKeyboardActions): Likewise,
12768 * javax/swing/plaf/basic/BasicTextUI.java:
12769 (installKeyboardActions): Marked as stub,
12770 (uninstallKeyboardActions): Likewise,
12771 * javax/swing/plaf/basic/BasicToolBarUI.java:
12772 (installKeyboardActions): Marked as stub,
12773 (uninstallKeyboardActions): Likewise.
12775 2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
12777 * javax/swing/plaf/basic/BasicSliderUI.java
12778 (installKeyboardActions): Implemented,
12779 (uninstallKeyboardActions): Implemented,
12780 (scrollByBlock): Accept any value for direction,
12781 (scrollByUnit): Likewise,
12782 (getInputMap): New method,
12783 (getActionMap): New method,
12784 (createActionMap): New method.
12786 2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
12788 * java/lang/annotation/Annotation.java:
12791 2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
12793 * java/lang/reflect/AnnotatedElement.java: Documented.
12795 2005-01-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
12797 * java/lang/reflect/AnnotatedElement.java:
12798 Added import of java.lang.annotation.Annotation
12800 2004-08-26 Tom Tromey <tromey@redhat.com>
12802 * java/lang/reflect/AnnotatedElement.java: New file.
12804 2004-08-07 Tom Tromey <tromey@redhat.com>
12806 * java/lang/annotation/Annotation.java: New file.
12808 2005-12-13 Tom Tromey <tromey@redhat.com>
12810 * java/lang/instrument/ClassDefinition.java: Reformatted.
12811 * java/lang/instrument/UnmodifiableClassException.java: Reformatted.
12812 * java/lang/instrument/IllegalClassFormatException.java: Reformatted.
12814 2005-12-13 Tom Tromey <tromey@redhat.com>
12816 * java/lang/instrument/ClassDefinition.java (ClassDefinition): Now
12819 2005-12-05 Tom Tromey <tromey@redhat.com>
12821 * java/lang/instrument/Instrumentation.java (redefineClasses): Javadoc
12823 * java/lang/instrument/ClassFileTransformer.java (transform): Javadoc
12826 2005-12-03 Nicolas Geoffray <nicolas.geoffray@menlina.com>
12828 * java/lang/instrument: New directory.
12829 * java/lang/instrument/ClassDefinition.java:
12831 * java/lang/instrument/ClassFileTransformer.java:
12833 * java/lang/instrument/IllegalClassFormatException.java:
12835 * java/lang/instrument/Instrumentation.java:
12837 * java/lang/instrument/UnmodifiableClassException.java:
12840 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12842 * doc/vmintegration.texinfo:
12845 2006-04-16 Tom Tromey <tromey@redhat.com>
12847 * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
12849 2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
12852 Mention generics additions to the VM interface.
12853 * doc/vmintegration.texinfo:
12854 Added information on VMClass 1.5 additions and
12857 2006-04-16 Casey Marshall <csm@gnu.org>
12859 * NEWS: add an entry mentioning local socket support.
12861 2006-04-16 Casey Marshall <csm@gnu.org>
12863 * configure.ac (--enable-local-sockets): new enable argument.
12864 (ENABLE_LOCAL_SOCKETS): new define.
12865 * native/jni/java-net/Makefile.am (local_sources): new variable.
12866 (lib_javanet_la_SOURCES): append `local_sources.'
12867 * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
12868 * native/jni/java-net/local.c,
12869 * native/jni/java-net/local.h,
12870 * include/gnu_java_net_local_LocalSocketImpl.h,
12871 * gnu/java/net/local/LocalServerSocket.java,
12872 * gnu/java/net/local/LocalSocket.java,
12873 * gnu/java/net/local/LocalSocketAddress.java,
12874 * gnu/java/net/local/LocalSocketImpl.java: new files.
12876 2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
12878 * javax/accessibility/AccessibleAction.java:
12879 (DECREMENT): Added field.
12880 (INCREMENT): Likewise.
12881 (TOGGLE_EXPAND): Likewise.
12882 * javax/accessibility/AccessibleRole.java:
12883 (EDITBAR): Added field.
12884 (FOOTER): Likewise.
12885 (HEADER): Likewise.
12886 (PARAGRAPH): Likewise.
12887 (PROGRESS_MONITOR): Likewise.
12889 * javax/accessibility/AccessibleState.java:
12890 (INDETERMINATE): Added field.
12891 (MANAGES_DESCENDANTS): Likewise.
12892 (TRUNCATED): Likewise.
12893 * vm/reference/java/lang/reflect/Constructor.java:
12894 Fixed copyright header to match generics branch.
12895 * vm/reference/java/lang/reflect/Field.java:
12896 Fixed copyright header to match generics branch.
12897 (toGenericString()): Ported from generics branch.
12898 (getGenericType()): Likewise.
12899 (getSignature()): Likewise.
12901 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
12903 * javax/swing/text/DefaultCaret.java:
12904 (getBypass): New method.
12905 (moveDot): Rewritten.
12906 (moveDotImpl): New method.
12907 (setDot): Rewritten.
12908 (setDotImpl): New method.
12909 (DefaultCaret.Bypass): New class.
12911 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
12913 * javax/swing/text/AbstractDocument.java:
12914 (getBypass): New method.
12915 (insertString): Rewritten.
12916 (remove): Rewritten.
12917 (replace): Rewritten.
12918 (insertStringImpl): New method.
12919 (removeImpl): New method.
12920 (replaceImpl): New method.
12921 (AbstractDocument.Bypass): New class.
12923 2006-04-14 Casey Marshall <csm@gnu.org>
12925 Fixes PR classpath/24642
12926 * NEWS: add note about SecureRandom changes, and addition of
12928 * java/security/SecureRandom.java (isSeeded): new field.
12929 (setSeed, setSeed): set `isSeeded' to `true.'
12930 (nextBytes): seed this instance if `isSeeded' is false.
12931 (getSeed): call `generateSeed.'
12932 (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
12933 (generateSeed, generateSeed): new methods.
12934 * vm/reference/java/security/VMSecureRandom.java: new file.
12936 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
12938 * javax/swing/text/FieldView.java:
12939 (paint): Apply clipping rectangle of the allocation area
12940 before painting the text.
12941 * javax/swing/text/DefaultHighlighter.java:
12942 (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
12943 compute union and intersection, calculate intersection with allocation
12944 area before painting, adjust x and width when painting multiple lines
12945 by the range of the allocation area.
12947 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
12949 * javax/swing/text/DefaultHighlighter.java:
12950 (paintLayeredHighlights): Marked as stub.
12952 2006-04-14 Robert Schuster <robertschuster@fsfe.org>
12954 * javax/swing/plaf/basic/BasicTextFieldUI.java:
12955 (propertyChanged): Added note, change color only if current background
12956 is a ColorUIResource instance.
12958 2006-04-14 Tom Tromey <tromey@redhat.com>
12960 * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
12964 2006-04-14 Tom Tromey <tromey@redhat.com>
12966 * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
12968 2006-04-14 Mark Wielaard <mark@klomp.org>
12970 * java/lang/Thread.java (getUncaughtExceptionHandler): Return
12971 thread group when exceptionHandler isn't set.
12972 * vm/reference/java/lang/VMThread.java (run): Use result of
12973 thread.getUncaughtExceptionHandler directly.
12975 2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
12977 * javax/swing/JSplitPane.java
12978 (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
12979 (AccessibleJSplitPane.getAccessibleRole): Implemented,
12980 (AccessibleJSplitPane.getAccessibleValue): Implemented,
12981 (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
12982 (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
12983 (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
12984 (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
12986 2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
12988 * gnu/javax/crypto/assembly/Assembly.java,
12989 * gnu/javax/crypto/assembly/Cascade.java,
12990 * gnu/javax/crypto/assembly/CascadeStage.java,
12991 * gnu/javax/crypto/assembly/CascadeTransformer.java,
12992 * gnu/javax/crypto/assembly/Direction.java,
12993 * gnu/javax/crypto/assembly/LoopbackTransformer.java,
12994 * gnu/javax/crypto/assembly/ModeStage.java,
12995 * gnu/javax/crypto/assembly/Operation.java,
12996 * gnu/javax/crypto/assembly/PaddingTransformer.java,
12997 * gnu/javax/crypto/assembly/Stage.java,
12998 * gnu/javax/crypto/assembly/Transformer.java,
12999 * gnu/javax/crypto/cipher/Square.java,
13000 * gnu/javax/crypto/jce/cipher/AESSpi.java,
13001 * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
13002 * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
13003 * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
13004 * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
13005 * gnu/javax/crypto/jce/cipher/DESSpi.java,
13006 * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
13007 * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
13008 * gnu/javax/crypto/jce/cipher/PBES2.java,
13009 * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
13010 * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
13011 * gnu/javax/crypto/jce/cipher/SquareSpi.java,
13012 * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
13013 * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
13014 * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
13015 * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
13016 * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
13017 * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
13018 * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
13019 * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
13020 * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
13021 * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
13022 * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
13023 * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
13024 * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
13025 * gnu/javax/crypto/jce/mac/MacAdapter.java,
13026 * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
13027 * gnu/javax/crypto/jce/mac/UHash32Spi.java,
13028 * gnu/javax/crypto/jce/mac/UMac32Spi.java,
13029 * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
13030 * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
13031 * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
13032 * gnu/javax/crypto/mode/IAuthenticatedMode.java,
13033 * gnu/javax/crypto/pad/WrongPaddingException.java,
13034 * gnu/javax/crypto/prng/ICMGenerator.java,
13035 * gnu/javax/crypto/prng/IPBE.java,
13036 * gnu/javax/crypto/prng/PBKDF2.java,
13037 * gnu/javax/crypto/sasl/ConfidentialityException.java,
13038 * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
13039 * gnu/javax/crypto/sasl/srp/IALG.java,
13040 * gnu/javax/crypto/sasl/srp/SRPServer.java:
13041 Remove CVS revision tags.
13043 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13045 * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
13046 Removed debugging code.
13048 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13050 * javax/swing/JTree.java (getPreferredSize): Return the
13052 * javax/swing/ViewportLayout.java (layoutContainer):
13053 Do not manage the view size and location if the view is
13054 in the scroll pane. Also manage size and location for
13055 Scrollable, if it is not in the scroll pane.
13056 * javax/swing/plaf/basic/BasicTreeUI.java,
13057 * javax/swing/tree/FixedHeightLayoutCache.java,
13058 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
13059 * gnu/javax/swing/tree/GnuPath.java: New file.
13061 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
13063 * javax/swing/JToolBar.java
13064 (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
13066 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
13068 * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
13069 (createCustomColoredPanel): Set background color as demo intends,
13070 changed custom selection color to red.
13071 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
13072 Replaced various single variables with a Compound instance, added
13073 custom highlighter demo.
13074 (TextFieldDemo.DemoHighlightPainter): New class (taken from
13076 (TextFieldDemo.Compound): New class.
13077 (createTextFieldCompound): New method.
13078 (createLeftAlignedPanel): Rewritten.
13079 (createRightAlignedPanel): Rewritten.
13080 (createCenteredPanel): Rewritten.
13081 (createCustomColoredPanel): Removed.
13082 (createCustomColoredPanel1): New method.
13083 (createCustomColoredPanel2): New method.
13084 (createCustomBordersPanel): New method.
13085 (createMiscPanel): Rewritten.
13086 (actionPerformed): Rewritten.
13087 (createContent): Add panels of new compounds to main panel, put
13088 main panel in a JScrollPane.
13089 * examples/gnu/classpath/examples/swing/Demo.java:
13090 (Demo): Put desktop in a scrollpane.
13091 (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
13092 method via reflection.
13094 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
13096 * javax/swing/plaf/metal/MetalDesktopIconUI.java
13097 (createUI): Return new instance rather than shared instance.
13099 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
13101 * javax/swing/text/FieldView.java:
13102 (checkContainer): Call updateVisibility() at the end.
13104 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
13106 * java/awt/event/MouseEvent.java:
13107 (paramString): Add value of 'consumed' variable in string.
13109 2006-04-13 Robert Schuster <robertschuster@fsfe.org>
13112 * javax/swing/JTextField.java: Removed scrollOffset variable.
13113 (JTextField): Moved up initialization of horizontalVisibility field.
13114 (getScrollOffset): Implemented.
13115 (setScrollOffset): Implemented.
13116 (getHorizonztalVisibility): Removed note.
13117 (scrollRectToVisible): New method.
13118 * javax/swing/text/FieldView.java: Added cachedSpan variable.
13119 (checkContainer): New method.
13120 (updateVisibility): New method.
13121 (calculateHorizontalSpan): New method.
13122 (adjustAllocation): Removed unneeded local variables, added code
13123 to handle scrolling.
13124 (getPreferredSpan): Use new method calculateHorizontalSpan,
13125 avoid calculation by returning cached value cachedSpan.
13126 (paint): Added check whether the hosted component is a JTextField.
13127 (insertUpdate): Invalidate cached span value, update visibility
13129 (removeUpdate): Dito.
13130 (changeUpdate): Dito.
13132 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
13134 * javax/swing/JInternalFrame.java
13135 (setTitle): Set old value to 'this.title', not 'title'.
13137 2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
13139 * javax/swing/JInternalFrame.java
13140 (AccessibleJInternalFrame.getAccessibleName): Implemented,
13141 (AccessibleJInternalFrame.getAccessibleRole): Implemented,
13142 (AccessibleJInternalFrame.getAccessibleValue): Implemented,
13143 (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
13144 (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
13145 (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
13146 (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
13147 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
13148 (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
13149 (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
13151 (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
13153 (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
13155 (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
13157 (JInternalFrame()): Use "" for default title,
13158 (getAccessibleContext): Updated API docs,
13159 (getDesktopIcon): Likewise,
13160 (getLayer): Check for layer in client properties, and return
13161 DEFAULT_LAYER if no setting is found,
13162 (getTitle): Updated API docs,
13163 (setDesktopIcon): Fire property change event.
13165 2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13167 * javax/swing/ScrollPaneLayout.java (layoutContainer):
13168 Mind that the presence of one scroll bar may cause the
13171 2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
13173 * gnu/regexp/REToken.java(unicodeAware): New field,
13174 (toLowerCase, toUpperCase): New methods.
13175 * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
13176 gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
13177 Use toLowerCase and toUpperCase defined in REToken instead of
13178 those defined in java.lang.Character.
13179 * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
13180 (initialize): Sets unicodeAware of the generated REToken to false if
13181 REG_ICASE_USASCII is set.
13182 * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
13183 to lower case and keep the original value.
13184 (matchOneString): Use the new method charEquals to compare characters.
13185 (charEquals): New method to compare characters.
13186 * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
13188 2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
13190 * javax/swing/event/InternalFrameEvent.java:
13191 (paramString): Implemented,
13192 updated API docs all over.
13194 2006-04-12 Casey Marshall <csm@gnu.org>
13196 * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
13197 (Generator.setup): call `fillBlock.'
13199 2006-04-12 Casey Marshall <csm@gnu.org>
13201 Fixes PR classpath/24481.
13202 * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
13203 initialize the adaptee.
13204 (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
13205 * gnu/java/security/prng/MDGenerator.java (addRandomByte,
13206 addRandomBytes): new methods.
13208 2006-04-12 Tom Tromey <tromey@redhat.com>
13210 * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
13213 2006-04-12 Lillian Angel <langel@redhat.com>
13215 * gnu/xml/dom/DomDocument.java
13216 (checkNCName): Removed unneeded part of check.
13217 * gnu/xml/dom/DomNode.java
13218 (dispatchEvent): Added code to grow ancestors array
13219 if needed. Changed checks to use depth of node instead.
13220 Fixes an infinite loop and segmentation fault.
13221 * gnu/xml/dom/html2/DomHTMLParser.java
13222 (handleEndTag): No need to use/make a copy of the node.
13223 Causes an infinite loop.
13225 2006-04-12 Tom Tromey <tromey@redhat.com>
13227 PR classpath/27131:
13228 * java/util/BitSet.java (get): Early return if to==from.
13230 2006-04-12 Mark Wielaard <mark@klomp.org>
13232 * java/security/SecureRandom.java (algorithm): New private field.
13233 (SecureRandom): Initialize algorithm.
13234 (SecureRandom(SecureRandomSpi,Provider,String)): New private
13236 (getInstance): Call 3 argument constructor.
13237 (getAlgorithm): New method.
13239 2006-04-12 Mark Wielaard <mark@klomp.org>
13241 Port UncaughtExceptionHandler support from generics branch.
13242 * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
13244 2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
13246 * java/lang/Thread.java:
13247 (setUncaughtExceptionHandler(UncaughtExceptionHandler):
13248 Added docs and security check.
13249 (getUncaughtExceptionHandler()): Documented.
13250 (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
13251 Added docs and security check.
13252 (getDefaultUncaughtExceptionHandler()): Documented.
13253 (getId()): Documented.
13255 2006-04-12 Tom Tromey <tromey@redhat.com>
13257 * vm/reference/java/lang/VMThread.java (run): Use thread's
13259 * java/lang/Thread.java (defaultHandler): New field.
13260 (setDefaultUncaughtExceptionHandler,
13261 getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
13262 getUncaughtExceptionHandler): New methods.
13263 * java/lang/ThreadGroup.java (ThreadGroup): Implements
13264 UncaughtExceptionHandler.
13265 (uncaughtException): Use getDefaultUncaughtExceptionHandler.
13267 2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
13269 * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
13270 buffer. Loop only once to determine Utf8 length when possible. Make
13271 the inner loop bounded by buf.length.
13272 (getUTFlength): New private method.
13273 (buf): New private field.
13275 2006-04-11 Lillian Angel <langel@redhat.com>
13277 * gnu/xml/dom/DomNodeIterator.java
13278 (nextNode): Moved line of code to avoid an infinite loop.
13279 * gnu/xml/dom/html2/DomHTMLAppletElement.java
13280 (getCls): New function.
13281 (setCls): Likewise.
13282 (getSrc): Likewise.
13283 (setSrc): Likewise.
13284 * gnu/xml/dom/html2/DomHTMLDocument.java:
13285 Added DomHTMLEmbedElement to map.
13286 (getApplets): Added node name, 'embed'.
13287 * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
13289 * gnu/xml/dom/html2/DomHTMLObjectElement.java
13290 (getJavaCode): New function.
13291 (setJavaCode): Likewise.
13292 (getObject): Likewise.
13293 (setObject): Likewise.
13294 (getJavaObject): Likewise.
13295 (setJavaObject): Likewise.
13296 (getJavaArchive): Likewise.
13297 (setJavaArchive): Likewise.
13298 (getJavaCodeBase): Likewise.
13299 (setJavaCodeBase): Likewise.
13300 (getJavaType): Likewise.
13301 (setJavaType): Likewise.
13302 (setMayscript): Likewise.
13303 (getMayscript): Likewise.
13304 (setScriptable): Likewise.
13305 (getScriptable): Likewise.
13306 * gnu/xml/dom/html2/DomHTMLParser.java
13307 (parseDocument): Should not check for well formedness
13308 when parsing an html document.
13309 * java/awt/Window.java
13310 (dispatchEvent): Added check to avoid NPE.
13312 2006-04-10 Tom Tromey <tromey@redhat.com>
13314 * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
13316 * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
13317 (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
13319 2006-04-10 Robert Schuster <robertschuster@fsfe.org>
13321 * javax/swing/plaf/basic/BasicTextUI.java:
13322 (getNextVisualPositionFrom): Marked as stub.
13324 2006-04-10 Roman Kennke <kennke@aicas.com>
13326 * javax/swing/plaf/basic/BasicLookAndFeel.java
13327 (initSystemColorDefaults): Changed to use loadSystemColorDefaults
13328 and create the defaults as strings constants.
13329 (loadSystemColors): Implemented stubbed method.
13331 2006-04-10 Tom Tromey <tromey@redhat.com>
13333 * .settings/org.eclipse.core.resources.prefs: Set encoding for
13336 2006-04-10 Tom Tromey <tromey@redhat.com>
13338 * java/io/CharArrayWriter.java (append): Javadoc fix.
13339 (append): Likewise.
13341 2006-04-10 Tom Tromey <tromey@redhat.com>
13343 * javax/accessibility/AccessibleTextSequence.java: New file.
13344 * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
13346 (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
13347 EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
13348 FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
13349 SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
13350 * javax/accessibility/AccessibleExtendedText.java: New file.
13351 * javax/accessibility/AccessibleContext.java
13352 (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
13353 (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
13354 (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
13355 * javax/accessibility/AccessibleAttributeSequence.java: New file.
13356 * javax/accessibility/AccessibleStreamable.java: New file.
13357 * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
13360 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13362 * javax/swing/tree/AbstractLayoutCache.java
13363 (getNodeDimensions, getRowsForPath): Implemented.
13364 * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
13365 * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
13367 2006-04-10 Roman Kennke <kennke@aicas.com>
13369 * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
13371 2006-04-10 Roman Kennke <kennke@aicas.com>
13373 * javax/swing/JInternalFrame.java
13374 (AccessibleJInternalFrame): Marked all stubbed methods as such
13375 by adding throws NotImplementedException.
13377 2006-04-10 Roman Kennke <kennke@aicas.com>
13379 * javax/swing/JFileChooser.java
13380 (getAccessibleContext): Don't create a new instance on each
13381 call, instead store the accessible context in the
13382 accessibleContext field.
13384 2006-04-10 Roman Kennke <kennke@aicas.com>
13386 * javax/swing/JComboBox.java
13387 (AccessibleJComboBox): Marked all stubbed methods as such
13388 by adding throws NotImplementedException.
13390 2006-04-10 Roman Kennke <kennke@aicas.com>
13392 * javax/swing/ActionMap.java
13393 (readObject): Removed.
13394 (writeObject): Removed.
13396 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13398 * javax/swing/tree/DefaultTreeSelectionModel.java
13399 (addSelectionPaths, setSelectionPaths): Call
13400 insureUniqueness. (clone, setRowMapper): Implemented.
13401 * TreePath (path): Marked final.
13403 2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13405 * javax/swing/tree/DefaultTreeSelectionModel.java:
13406 Documented and autoformatted. (insureUniqueness):
13407 Removed stub marking.
13409 2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
13411 * javax/swing/SizeSequence.java
13412 (sizes): Don't initialise here,
13413 (SizeSequence(int, int)): Initialise sizes field,
13414 (SizeSequence(int[])): Clone argument instead of calling setSizes(),
13415 (setSize): Do nothing when index is out of bounds,
13416 (getIndex): Implemented,
13417 (setSizes): Reimplemented,
13418 (getSizes): Likewise,
13419 (insertEntries): Likewise,
13420 (removeEntries): Likewise,
13421 plus added API docs all over.
13423 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
13425 * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
13426 one way message and retry after any IOException.
13428 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13430 * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
13431 Set the byte order.
13433 2006-04-09 Wolfgang Baer <WBaer@gmx.de>
13435 * org/omg/PortableServer/ServantLocatorPOA.java:
13436 (preinvoke, postinvoke): Remove default implementation.
13437 * org/omg/PortableServer/ServantActivatorPOA.java:
13438 (incarnate, etherealize): Remove default implementation.
13439 * org/omg/PortableInterceptor/ObjectReferenceFactory.java:
13440 Extends from ValueBase and not from ObjectReferenceFactoryOperations.
13441 (make_object): Moved method from ObjectReferenceFactoryOperations.
13442 * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
13443 Removed unspecified interface.
13444 * org/omg/DynamicAny/_DynAnyStub.java:
13445 (_DynAnyStub(Delegate)): Removed constructor.
13446 * org/omg/DynamicAny/_DynArrayStub.java,
13447 * org/omg/DynamicAny/_DynAnyFactoryStub.java,
13448 * org/omg/DynamicAny/_DynEnumStub.java,
13449 * org/omg/DynamicAny/_DynFixedStub.java,
13450 * org/omg/DynamicAny/_DynSequenceStub.java,
13451 * org/omg/DynamicAny/_DynStructStub.java,
13452 * org/omg/DynamicAny/_DynUnionStub.java,
13453 * org/omg/DynamicAny/_DynValueStub.java:
13454 Extend from ObjectImpl and not from _DynAnyStub.
13455 (type, next, destroy, copy, rewind, assign, component_count,
13456 current_component, equal, from_any, get_any, get_boolean, get_char,
13457 get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
13458 get_reference, get_short, get_string, get_typecode, get_ulong,
13459 get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
13460 insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
13461 insert_long, insert_longlong, insert_octet, insert_reference,
13462 insert_short, insert_string, insert_typecode, insert_ulong,
13463 insert_ulonglong, insert_ushort, insert_val, insert_wchar,
13464 insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
13465 * org/omg/CosNaming/_BindingIteratorStub.java:
13466 (_BindingIteratorStub(Delegate)): Made package private.
13467 * org/omg/CosNaming/_NamingContextExtStub.java:
13468 (_NamingContextExtStub(Delegate)): Made package private.
13469 * org/omg/CosNaming/_NamingContextStub.java:
13470 (_NamingContextStub(Delegate)): Made package private.
13471 (throw4, throw5): Likewise.
13472 * gnu/CORBA/NamingService/NameParser.java (resolve):
13473 Adapt to package private constructor. Use _set_delegate instead.
13474 * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
13475 * org/omg/CORBA/ORB.java:
13476 (create_recursive_sequence_tc): Made abstract.
13477 (get_default_context): Likewise.
13478 * gnu/CORBA/OrbRestricted.java:
13479 (create_recursive_sequence_tc): New moved method.
13480 (get_default_context): Likewise.
13481 * org/omg/CORBA/ParameterMode.java:
13482 (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
13484 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13486 * gnu/CORBA/GIOP/MessageHeader.java (write):
13487 More informative exception.
13488 * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
13489 * gnu/CORBA/SocketRepository.java (get_socket):
13490 Removed debugging code.
13492 2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13494 * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
13495 one way message, but ignore if EOF was received.
13496 * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
13497 Minor.EOF if the end of file is received instead of the header.
13499 2006-04-09 Roman Kennke <kennke@aicas.com>
13501 * javax/swing/plaf/metal/MetalRootPaneUI.java
13502 (MetalTitlePane.IconifyAction): New inner class.
13503 (MetalTitlePane.MaximizeAction): New inner class.
13504 (MetalTitlePane.createActions): Create iconifyAction and
13506 (MetalRootLayout.titlePane): New field.
13507 (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
13509 (MetalRootLayout.preferredLayoutSize): Changed to not make
13510 assumptions about the actual component order.
13511 (MetalRootLayout.layoutContainer): Changed to not make
13512 assumptions about the actual component order.
13513 (installWindowDecorations): Pass the titlePane as parameter to
13514 the MetalRootLayout constructor.
13515 (uninstallWindowDecorations): Changed to not make
13516 assumptions about the actual component order.
13518 2006-04-08 Roman Kennke <kennke@aicas.com>
13520 * javax/swing/plaf/metal/MetalRootPaneUI.java
13521 (MetalTitlePane.MouseHandler): New inner class to handle dragging
13523 (MetalTitlePane.installListeners): Don't register a focus listener
13524 on the window. This is a potential memory leak and must be
13525 implemented on a different way. Install mouse listener here.
13526 (installWindowDecorations): Fixed assertion condition. Always
13527 insert the window decoration at index#1 in the layered
13530 2006-04-08 Roman Kennke <kennke@aicas.com>
13532 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13533 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
13534 Only resize window if actual width or height value changes.
13535 Avoids nasty flicker when only setLocation() is beeing called
13538 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13540 * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
13541 exception if the magic sequence does not match.
13543 2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
13545 * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
13546 response for the one way messages.
13548 2006-04-08 Roman Kennke <kennke@aicas.com>
13550 * javax/swing/MenuSelectionManager.java
13551 (processKeyEvent): Implemented stub method.
13552 * javax/swing/JMenu.java
13553 (processKeyEvent): Implemented stub method.
13554 * javax/swing/JMenu.java
13555 (processKeyEvent): Implemented stub method.
13556 (processMenuKeyEvent): Implemented stub method.
13558 2006-04-08 Roman Kennke <kennke@aicas.com>
13560 * javax/swing/AbstractAction.java
13561 (readObject): Removed unneeded method.
13562 (writeObject): Removed unneeded method.
13564 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
13566 * javax/swing/plaf/synth/SynthPainter.java:
13567 (paintSplitPaneDividerBorder): Removed.
13569 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
13571 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
13572 (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
13573 No longer constants.
13574 (static_initializer): Added to initialize above fields.
13575 * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
13576 MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
13577 (static_initializer): Added to initialize above fields.
13579 2006-04-08 Wolfgang Baer <WBaer@gmx.de>
13581 * java/awt/Dialog.java: Improved documentation all over.
13582 (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
13583 (Dialog(Dialog)): Likewise.
13585 2006-04-08 Mark Wielaard <mark@klomp.org>
13587 * java/util/jar/JarFile.java (provider): New static field.
13588 (verify, verifyHashes, EntryInputStream.<init>): Pass provider
13591 2006-04-08 Mark Wielaard <mark@klomp.org>
13594 * java/lang/StackTraceElement.java (toString): Don't add space
13595 between type and source indicator.
13597 2006-04-07 Casey Marshall <csm@gnu.org>
13599 Fixes PR classpath/24464
13600 * java/util/jar/JarFile.java (verify, verifyHashes,
13601 EntryInputStream.<init>): pass the Gnu provider directly to
13604 2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
13607 * gnu/java/security/hash/Whirlpool.java: Updated documentation.
13608 (DIGEST0): Use version 3 test vector.
13610 (S_box): New field: Version 3 S-box values.
13611 (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
13612 (transform): Formating.
13613 (padBuffer): Likewise.
13614 (getResult): Likewise.
13615 (selfTest): Likewise.
13617 2006-04-07 Tom Tromey <tromey@redhat.com>
13619 * java/util/InvalidPropertiesFormatException.java
13620 (serialVersionUID): New field.
13621 (readObject, writeObject): New methods.
13622 * java/util/Arrays.java (toString): Javadoc fixes.
13623 * java/net/URLConnection.java: Cleaned up imports.
13624 * java/lang/reflect/ParameterizedType.java: Javadoc fix.
13625 * java/lang/reflect/MalformedParameterizedTypeException.java
13626 (serialVersionUID): New field.
13627 * java/lang/reflect/GenericSignatureFormatError.java
13628 (serialVersionUID): New field.
13629 * java/lang/Class.java (Class): Javado fixes.
13630 (getComponentType): Likewise.
13631 (getGenericInterfaces): Likewise.
13632 (getTypeParameters): Likewise.
13633 * java/io/CharArrayWriter.java (append): Javadoc fixes.
13634 * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
13636 * java/lang/TypeNotPresentException.java (serialVersionUID): New
13638 * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
13641 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
13643 * java/awt/Dialog.java
13644 (AccessibleAWTDialog): Added api docs
13645 (AccessibleAWTDialog.getAccessibleStateSet):
13646 Renamed from getAccessibleState.
13647 * java/awt/Frame.java
13648 (AccessibleAWTFrame): Added api docs
13649 (AccessibleAWTFrame.getAccessibleStateSet):
13650 Renamed from getAccessibleState.
13652 2006-04-07 Wolfgang Baer <WBaer@gmx.de>
13654 * java/awt/Dialog.java: Reformatted.
13656 2006-04-07 Lillian Angel <langel@redhat.com>
13658 * java/awt/Component.java
13659 (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
13660 HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
13662 2006-04-07 Tom Tromey <tromey@redhat.com>
13664 * java/beans/beancontext/BeanContextMembershipEvent.java
13665 (serialVersionUID): New field.
13666 * java/beans/beancontext/BeanContextServicesSupport.java
13667 (addBeanContextServicesListener): Synchronize.
13668 (addService): Implemented.
13669 (createBCSChild): Implemented.
13670 (BCSSChild): Added arguments.
13671 (fireServiceAdded): Implemented.
13672 (fireServiceRevoked): Implemented.
13673 (getCurrentServiceSelectors): Implemented.
13674 (hasService): Implemented.
13675 (removeBeanContextServicesListener): Implemented.
13676 (serviceAvailable): Implemented.
13677 (serviceRevoked): Implemented.
13678 * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
13680 (createBCSChild): Implemented.
13681 (BeanContextSupport):
13682 (addBeanContextMembershipListener): Synchronize.
13683 (fireChildrenAdded): Implemented.
13684 (fireChildrenRemoved): Implemented.
13685 (BeanContextSupport): Use default locale.
13686 (isEmpty): Implemented.
13687 (isDesignTime): Implemented.
13688 (size): Implemented.
13689 (toArray): Synchronized.
13690 (toArray): Likewise.
13691 (iterator): Likewise.
13692 (BCSIterator): Implemented.
13693 (bcsChildren): Implemented.
13694 (validatePendingAdd): Implemented.
13695 (validatePendingRemove): Likewise.
13696 (childJustAddedHook): Implemented.
13697 (childJustRemovedHook): Likewise.
13698 (classEquals): Likewise.
13699 (toArray): Mark as stub.
13700 (setDesignTime): Implemented.
13701 (copyChildren): Implemented.
13702 (containsKey): Implemented.
13703 (contains): Likewise.
13704 (containsAll): Likewise.
13705 (getResource): Implemented.
13706 (getResourceAsStream): Likewise.
13707 (removeBeanContextMembershipListener): Likewise.
13708 * java/beans/beancontext/BeanContextServiceRevokedEvent.java
13709 (serialVersionUID): New field.
13710 * java/beans/beancontext/BeanContextServiceAvailableEvent.java
13711 (serialVersionUID): New field.
13712 * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
13715 2006-04-06 Roman Kennke <kennke@aicas.com>
13718 * javax/swing/MenuSelectionManager.java
13719 (setSelectedPath): Search one more item in the loop.
13721 2006-04-06 Tom Tromey <tromey@redhat.com>
13723 * java/awt/image/renderable/RenderableImageProducer.java
13724 (image, context, consumers): New fields.
13725 (RenderableImageProducer): Implemented.
13726 (setRenderContext): Likewise.
13727 (addConsumer): Likewise.
13728 (isConsumer): Likewise.
13729 (removeConsumer): Likewise.
13730 (startProduction): Likewise.
13732 2006-04-06 Roman Kennke <kennke@aicas.com>
13734 * java/awt/Component.java
13735 (AccessibleAWTComponent.getBounds): Return the component
13736 bounds regardless of its showing state.
13737 (AccessibleAWTComponent.getLocation): Return the component
13738 location regardless of its showing state.
13739 (AccessibleAWTComponent.getSize): Return the component
13740 size regardless of its showing state.
13742 2006-04-06 Roman Kennke <kennke@aicas.com>
13744 * javax/swing/JRootPane.java
13745 (getAccessibleContext): New method. Provides an accessibleContext
13748 2006-04-06 Roman Kennke <kennke@aicas.com>
13750 * java/awt/Toolkit.java
13751 (initAccessibility): Use the 'gnu.classpath.home.url' property
13752 to determine the system confiuration directory.
13753 * java/awt/Component.java
13754 (dispatchEvent): Trigger Toolkit dispatching here.
13755 (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
13756 so it can't be overridden by subclasses and is performed in
13759 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
13761 * javax/naming/Binding.java: Added API docs.
13762 * javax/naming/NameClassPair.java: Added API docs.
13763 (fullName): New field.
13764 (setNameInNamespace): New 1.5 method.
13765 (getNameInNamespace): Likewise.
13767 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
13769 * javax/naming/CompositeName.java:
13770 (readObject): New deserialization method.
13771 (writeObject): New serialization method.
13773 2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
13775 * javax/security/auth/x500/X500Principal.java
13776 (readAttributeValue) Check for separator after quoted value was
13777 failing in all cases.
13779 2006-04-06 Mark Wielaard <mark@klomp.org>
13781 * java/lang/Class.java (getClassLoader): Don't do security check
13782 when loader is null.
13784 2006-04-06 Roman Kennke <kennke@aicas.com>
13786 * java/awt/Toolkit.java
13787 (getDefaultToolkit): Initialize accessibility after setting
13789 (initAccessibility): New helper method to setup accessibility.
13791 2006-04-06 Roman Kennke <kennke@aicas.com>
13793 * javax/swing/AbstractButton.java
13794 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
13795 (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
13797 (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
13798 (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
13799 (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
13800 (AccessibleAbstractButton.getCharCount): Implemented stub.
13801 (AccessibleAbstractButton.getCaretPosition): Implemented stub.
13802 (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
13803 (AccessibleAbstractButton.getSelectionStart): Implemented stub.
13804 (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
13805 (AccessibleAbstractButton.getSelectedText): Implemented stub.
13806 (AccessibleAbstractButton.getTextRectangle): Removed unneeded
13809 2006-04-06 Roman Kennke <kennke@aicas.com>
13811 * java/awt/Component.java
13812 (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
13813 state here. This is only done in JComponent.
13814 * javax/swing/JComponent.java
13815 (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
13817 (getNextFocusableComponent): Implemented stub method.
13818 (grabFocus): Implemented stub method.
13819 (unregisterKeyboardAction): Implemented stub method.
13820 (setNextFocusableComponent): Implemented stub method.
13821 * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
13822 This is a helper class for providing compatibility with the older
13825 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
13828 * javax/naming/directory/BasicAttribute.java,
13829 * javax/naming/directory/BasicAttributes.java:
13830 (readObject): New deserialization method.
13831 (writeObject): New serialization method.
13833 2006-04-06 Wolfgang Baer <WBaer@gmx.de>
13835 * javax/xml/validation/SchemaFactory.java: Corrected since tag.
13836 (getErrorHandler): Made method abstract.
13837 (setErrorHanlder): Likewise.
13838 * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
13839 (getErrorHandler): Implement abstract method from superclass.
13840 (setErrorHandler): Likewise.
13841 (errorHandler): New field.
13842 * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
13843 (getErrorHandler): Implement abstract method from superclass.
13844 (setErrorHandler): Likewise.
13845 (errorHandler): New field.
13846 * javax/xml/XMLConstants.java: Corrected since tag.
13847 (XMLConstants): Added private constructor.
13848 * javax/xml/datatype/Duration.java: Corrected since tag.
13849 (multiply): Made method abstract.
13850 * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
13851 (DatatypeConstants): Added private constructor.
13852 * javax/xml/xpath/XPathConstants.java: Corrected since tag.
13853 (XPathConstants): Added private constructor.
13855 2006-04-05 Tom Tromey <tromey@redhat.com>
13857 * javax/security/auth/kerberos/ServicePermission.java: Now final.
13859 2006-04-05 Tom Tromey <tromey@redhat.com>
13862 * lib/Makefile.am (compile-classes): Touch the output file.
13864 2006-04-05 Roman Kennke <kennke@aicas.com>
13866 * javax/swing/AbstractButton.java
13867 (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
13868 of the focused state. This is already done in AccessibleAWTComponent.
13870 2006-04-05 Roman Kennke <kennke@aicas.com>
13872 * javax/swing/JComponent.java
13873 (accessibleContext): Fixed API doc for this field.
13874 (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
13875 (AccessibleJComponent.AccessibleFocusHandler.focusGained):
13876 Implemented and added API docs.
13877 (AccessibleJComponent.AccessibleFocusHandler.focusLost):
13878 Implemented and added API docs.
13879 (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
13880 (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
13881 Implemented and added API docs.
13882 (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
13883 Implemented and added API docs.
13884 (AccessibleJComponent.accessibleContainerHandler): Added API docs.
13885 (AccessibleJComponent.accessibleFocusHandler): Added API docs.
13886 (AccessibleJComponent.addPropertyChangeListener): Added API docs.
13887 (AccessibleJComponent.removePropertyChangeListener): Added API docs.
13888 (AccessibleJComponent.getAccessibleStateSet): Simply return
13889 super here. Added comment about this.
13891 2006-04-05 Roman Kennke <kennke@aicas.com>
13893 * javax/swing/JComponent.java
13894 (AccessibleJComponent.addPropertyChangeListener): Install
13895 ContainerHandler and FocusHandler here.
13896 (AccessibleJComponent.removePropertyChangeListener): Uninstall
13897 ContainerHandler and FocusHandler here.
13898 (AccessibleJComponent.getAccessibleChildrenCount): Replaced
13899 by super.getAccessibleChildrenCount().
13900 (AccessibleJComponent.getAccessibleChild): Replaced
13901 by super.getAccessibleChild().
13902 (AccessibleJComponent.getAccessibleStateSet): Implemented by
13903 adding OPAQUE to the supported states.
13904 (AccessibleJComponent.getAccessibleName): Added titled border
13905 and label fallbacks.
13906 (AccessibleJComponent.getAccessibleDescription): Added tooltip
13907 and label fallbacks.
13908 (AccessibleJComponent.getAccessibleRole): Removed TODO.
13909 (AccessibleJComponent.getAccessibleKeyBinding): Added comment
13910 explaining why return null seems correct here.
13911 * javax/swing/JLabel.java
13912 (LABEL_PROPERTY): New constant.
13913 (setLabelFor): Store label in labeled component's client properties
13914 for the AccessibleJComponent to read.
13916 2006-04-05 Tom Tromey <tromey@redhat.com>
13918 * java/util/zip/ZipFile.java (available): Defer to super if
13919 entry's size is unknown.
13921 2006-04-05 Tom Tromey <tromey@redhat.com>
13923 * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
13924 property with mime.types name.
13925 * gnu/classpath/SystemProperties.java: Set
13926 gnu.classpath.mime.types.file if not already set.
13927 * java/net/URLConnection.java (defaultFactory): New field.
13928 (guessContentTypeFromStream): Mark as unimplemented.
13929 (getContentHandler): Updated with libgcj's implementation.
13930 * gnu/java/net/DefaultContentHandlerFactory.java: New file,
13933 2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
13937 * java/util/AbstractList.java (hasNext): Don't throw
13938 ConcurrentModificationException. Update Javadoc.
13939 (hasPrevious): Likewise.
13940 (nextIndex): Likewise.
13941 (previousIndex): Likewise.
13942 * java/util/HashMap.java (hasNext): Likewise.
13943 * java/util/Hashtable.java (hasNext): Likewise.
13944 * java/util/IdentityHashMap.java (hasNext): Likewise.
13945 * java/util/LinkedHashMap.java (hasNext): Likewise.
13946 * java/util/LinkedList.java (nextIndex): Likewise.
13947 (previousIndex): Likewise.
13948 (hasNext): Likewise.
13949 (hasPrevious): Likewise.
13950 * java/util/TreeMap.java (hasNext): Likewise.
13951 * java/util/WeakHashMap.java (hasNext): Likewise.
13953 2006-04-05 Roman Kennke <kennke@aicas.com>
13955 * javax/swing/AbstractButton.java
13956 (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
13957 (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
13958 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
13959 (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
13960 (AccessibleAbstractButton.getAccessibleActionDescription):
13962 (AccessibleAbstractButton.getAccessibleText): Implemented stub.
13963 (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
13964 (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
13965 (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
13966 (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
13967 (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
13969 2006-04-05 Roman Kennke <kennke@aicas.com>
13971 * javax/swing/JComboBox.java
13972 (selectWithKeyChar): Implemented stubbed method.
13974 2006-04-05 Roman Kennke <kennke@aicas.com>
13976 * javax/swing/LookAndFeel.java
13977 (installProperty): New method. Allows primitive typed properties
13978 to be handled like UIResources.
13979 * javax/swing/AbstractButton.java
13980 (clientBorderPaintedSet): New field.
13981 (clientRolloverEnabledSet): New field.
13982 (clientIconTextGapSet): New field.
13983 (clientContentAreaFilledSet): New field.
13984 (setRolloverEnabled): Set the client field to true.
13985 (setBorderPainted): Likewise.
13986 (setIconTextGap): Likewise.
13987 (setContentAreaFilled): Likewise.
13988 (setUIProperty): New helper method.
13989 * javax/swing/JComponent.java
13990 (clientOpaqueSet): New field.
13991 (clientAutoscrollsSet): New field.
13992 (setAutoscrolls): Set the client field to true.
13993 (setOpaque): Likewise.
13994 (setUIProperty): New helper method.
13995 * javax/swing/JDesktopPane.java
13996 (clientDragModeSet): New field.
13997 (setDragMode): Set the client field to true.
13998 (setUIProperty): New helper method.
13999 * javax/swing/JSplitPane.java
14000 (clientDividerSizeSet): New field.
14001 (clientOneTouchExpandableSet): New field.
14002 (setDividerSize): Set the client field to true.
14003 (setOneTouchExpandable): Likewise.
14004 (setUIProperty): New helper method.
14005 * javax/swing/JTable.java
14006 (clientRowHeightSet): New field.
14007 (setRowHeight): Set the client field to true.
14008 (setUIProperty): New helper method.
14009 * javax/swing/JTree.java
14010 (clientRowHeightSet): New field.
14011 (clientScrollsOnExpandSet): New field.
14012 (clientShowsRootHandlesSet): New field.
14013 (setRowHeight): Set the client field to true.
14014 (setShowsRootHandles): Likewise.
14015 (setScrollsOnExpand): Likewise.
14016 (setUIProperty): New helper method.
14018 2006-04-05 Roman Kennke <kennke@aicas.com>
14020 * java/awt/Component.java
14021 (getFont): Don't request the font from the peer's graphics. The
14022 graphics should instead get the font from the Component, which might
14024 (getFocusCycleAncestor): Don't special case Window.
14025 (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
14026 to here. Correctly determine the focus cycle root.
14027 (transferFocusBackward): Likewise.
14028 (transferFocusUpCycle): Likewise.
14029 * java/awt/Container.java
14030 (transferFocusDownCycle): Moved implementation from
14031 DefaultKeyboardFocusManager to here.
14032 * java/awt/DefaultKeyboardFocusManager.java
14033 (focusPreviousComponent): Moved implementation to
14034 Component.transferFocusBackward().
14035 (focusNextComponent): Moved implementation to
14036 Component.nextFocus().
14037 (upFocusCycle): Moved implementation to
14038 Component.transferFocusUpCycle().
14039 (downFocusCycle): Moved implementation to
14040 Container.transferFocusDownCycle().
14042 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
14044 * java/awt/image/ComponentSampleModel.java
14045 (equals): Implemented,
14046 (hashCode): Likewise.
14048 2006-04-05 Jeroen Frijters <jeroen@frijters.net>
14050 * java/lang/Class.java
14051 (cast): New method.
14053 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
14055 * java/awt/image/ComponentSampleModel.java
14056 (getBankIndices): Return a copy of the array, not a reference to the
14058 (getBandOffsets): Likewise.
14060 2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
14062 * java/awt/image/ComponentSampleModel.java: Added API docs all over.
14064 2006-04-04 Tom Tromey <tromey@redhat.com>
14066 * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
14068 2006-04-04 Tom Tromey <tromey@redhat.com>
14070 * java/net/MimeTypeMapper.java (mime_types): No longer static.
14071 (MimeTypeMapper): Initialize.
14072 (fillFromFile): New method.
14073 (main): New method.
14074 (mime_strings): Updated.
14076 2006-04-04 Tom Tromey <tromey@redhat.com>
14078 * lib/gen-classlist.sh.in: Correct handle generated files.
14080 2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
14082 * gnu/regexp/CharIndexed.java(setAnchor): New method.
14083 * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
14084 * gnu/regexp/CharIndexedCharSequence.java: New file.
14085 * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
14086 gnu.regexp.CharIndexedCharSequence.
14087 * gnu/regexp/CharIndexedString.java: Likewise.
14088 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
14089 * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
14090 using CharIndexedCharSequence. Use setAnchor when the input
14091 object is already a CharIndexed.
14092 * java/util/regex/Matcher.java(inputCharIndexed): New field
14093 to be used as a parameter of the RE#getMatch.
14095 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
14097 * java/awt/image/SampleModel.java: Reformatted.
14099 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
14101 * java/awt/image/ComponentSampleModel.java
14102 (ComponentSampleModel(int, int, int, int, int[])): Added API
14104 (ComponentSampleModel(int, int, int, int, int[], int[]): Throw
14105 IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
14106 of the bandOffsets and bankIndices arguments, added API documentation,
14107 * java/awt/image/SampleModel.java
14108 (SampleModel(int, int, int, int): Throw IllegalArgumentException for
14109 unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
14110 less than or equal to zero, added API documentation.
14112 2006-04-04 Lillian Angel <langel@redhat.com>
14114 * java/util/zip/ZipFile.java
14115 (getInputStream): Fixed to return size of ZipEntry
14116 minus the total bytes read. This guarantees that the
14117 right value is returned even if some bytes have already
14120 2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
14122 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
14123 Remove static modifier.
14125 2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
14127 * java/awt/image/ComponentSampleModel.java: Reformatted.
14129 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
14131 * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
14132 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
14133 retrieval instructions to javadoc header.
14134 * javax/imageio/ImageWriteParam.java: Fix javadoc for
14135 compressionType field.
14136 * lib/Makefile.am (propertydirs): Add javax directory.
14137 (propertyfiles): Likewise.
14138 * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
14141 2006-04-03 Tom Tromey <tromey@redhat.com>
14143 PR classpath/26971:
14144 * javax/naming/directory/BasicAttribute.java: Added missing @since.
14145 (BasicAttributeEnumeration.where): Initialize to 0.
14146 (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
14148 2006-04-03 Lillian Angel <langel@redhat.com>
14150 PR classpath/24596 and PR classpath/26930
14151 * java/util/zip/ZipFile.java
14152 (getInputStream): Override available function for
14153 InflaterInputStream instance.
14155 2006-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
14157 * gnu/java/lang/reflect/ClassSignatureParser.java,
14158 * gnu/java/lang/reflect/FieldSignatureParser.java,
14159 * gnu/java/lang/reflect/GenericSignatureParser.java,
14160 * gnu/java/lang/reflect/MethodSignatureParser.java,
14161 * gnu/java/lang/reflect/TypeImpl.java,
14162 * java/lang/Class.java,
14163 * java/lang/reflect/GenericDeclaration.java,
14164 * java/lang/reflect/MalformedParameterizedTypeException.java,
14165 * java/lang/reflect/TypeVariable.java,
14166 * java/util/Arrays.java,
14167 * vm/reference/java/lang/VMClass.java,
14168 * vm/reference/java/lang/reflect/Constructor.java,
14169 * vm/reference/java/lang/reflect/Method.java:
14170 Incorporate changes from the generics branch.
14172 2005-10-01 Jeroen Frijters <jeroen@frijters.net>
14174 * vm/reference/java/lang/reflect/Constructor.java
14175 (getSignature): New method.
14176 (getGenericExceptionTypes): New method.
14177 (getGenericParameterTypes): New method.
14178 * vm/reference/java/lang/reflect/Method.java
14179 (getSignature): New method.
14180 (getGenericExceptionTypes): New method.
14181 (getGenericParameterTypes): New method.
14182 (getGenericReturnType): New method.
14184 2005-09-30 Jeroen Frijters <jeroen@frijters.net>
14186 * gnu/java/lang/reflect/FieldSignatureParser.java: New file.
14187 * gnu/java/lang/reflect/ClassSignatureParser.java,
14188 gnu/java/lang/reflect/GenericSignatureParser.java,
14189 gnu/java/lang/reflect/MethodSignatureParser.java:
14190 Finished implementation.
14192 2005-09-25 Jeroen Frijters <jeroen@frijters.net>
14194 * gnu/java/lang/reflect/ClassSignatureParser.java,
14195 gnu/java/lang/reflect/GenericSignatureParser.java,
14196 gnu/java/lang/reflect/MethodSignatureParser.java: New files.
14197 * java/lang/Class.java
14198 (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
14200 * vm/reference/java/lang/VMClass.java
14201 (getSimpleName, getDeclaredAnnotations, getCanonicalName,
14202 getEnclosingClass, getEnclosingConstructor, getEnclosingMethod,
14203 isAnonymousClass, isLocalClass, isMemberClass):
14204 Removed generic types from signatures.
14205 (getGenericInterfaces, getGenericSuperclass, getTypeParameters):
14207 (getClassSignature): New method.
14208 * vm/reference/java/lang/reflect/Constructor.java
14209 (getTypeParameters): Implemented.
14210 * vm/reference/java/lang/reflect/Method.java
14211 (getTypeParameters, getSignature): New methods.
14213 2005-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
14215 * java/lang/Class.java:
14216 (asSubclass(Class)): Documented.
14217 (getCanonicalName()): Implemented.
14218 (getEnclosingClass()): Implemented.
14219 (getEnclosingConstructor()): Implemented.
14220 (getEnclosingMethod()): Implemented.
14221 (getGenericInterfaces()): Implemented.
14222 (getGenericSuperclass()): Implemented.
14223 (getTypeParameters()): Implemented.
14224 (isAnonymousClass()): Implemented.
14225 (isLocalClass()): Implemented.
14226 (isMemberClass()): Implemented.
14227 * vm/reference/java/lang/VMClass.java:
14228 (getSuperClass(Class<?>)): Updated return type.
14229 (getSimpleName(Class<?>)): Use VM methods directly.
14230 (getCanonicalName(Class<?>)): Implemented.
14231 (getEnclosingClass(Class<?>)): New native method.
14232 (getEnclosingConstructor(Class<?>)): New native method.
14233 (getEnclosingMethod(Class<?>)): New native method.
14234 (getGenericInterfaces(Class<?>)): New native method.
14235 (getGenericSuperclass(Class<?>)): New native method.
14236 (getTypeParameters(Class<T>)): New native method.
14237 (isAnonymousClass(Class<?>)): New native method.
14238 (isLocalClass(Class<?>)): New native method.
14239 (isMemberClass(Class<?>)): New native method.
14240 * vm/reference/java/lang/reflect/Constructor.java:
14241 (getTypeParameters()): Changed to native method.
14243 2005-05-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
14245 * java/lang/Class.java:
14246 (getSimpleName()): Implemented.
14247 * vm/reference/java/lang/VMClass.java:
14248 (getSimpleName()): Reference implementation.
14250 2005-04-20 Tom Tromey <tromey@redhat.com>
14252 * java/util/Arrays.java (hashCode): New methods.
14253 (deepHashCode): New method.
14254 (deepEquals): Likewise.
14255 (toString): New methods.
14256 (deepToString): New method.
14258 2005-04-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
14260 * java/lang/Class.java:
14261 (isEnum()): New method implemented.
14262 (isSynthetic()): New method implemented.
14263 (isAnnotation()): New method implemented.
14264 * vm/reference/java/lang/VMClass.java:
14265 (isEnum()): New native method.
14266 (isSynthetic()): New native method.
14267 (isAnnotation()): New native method.
14269 2005-03-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
14271 * java/lang/Class.java:
14272 Implements java.lang.reflect.Type
14274 2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
14276 * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
14278 2006-04-03 Tom Tromey <tromey@redhat.com>
14280 * javax/security/auth/kerberos/ServicePermission.java: New file.
14281 * javax/security/auth/kerberos/DelegationPermission.java: New file.
14282 * javax/security/auth/kerberos/KerberosKey.java: New file.
14283 * javax/security/auth/kerberos/KeyImpl.java: New file.
14284 * javax/security/auth/kerberos/KerberosTicket.java: New file.
14285 * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
14287 2006-04-03 Sven de Marothy <sven@physto.se>
14289 * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
14290 non-GtkImage images.
14292 2006-04-03 Mark Wielaard <mark@klomp.org>
14294 * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
14295 as temporary file name.
14297 2006-04-03 Dalibor Topic <robilad@kaffe.org>
14299 * INSTALL: Documented --with-glibj-zip option.
14301 2006-04-03 Dalibor Topic <robilad@kaffe.org>
14303 Fixed all pscan warnings.
14305 * native/jni/classpath/jcl.c (JCL_ThrowException),
14306 native/jni/classpath/jcl.h (DBG),
14307 native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
14308 native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
14309 Use "%s" format in fprintf and snprintf explicitely when printing a single
14310 string to prevent format string exploits.
14312 * native/jni/java-net/javanet.h (DBG): Removed duplicate
14313 definition. Included jcl.h instead.
14315 2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
14317 * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
14318 (provider): Made it protected.
14319 (providerInstalled): New field.
14320 (Main): Made it a 0-arguments constructor.
14321 Removed throws clasue.
14322 (main): Removed throws clause.
14323 Call processArgs(args) after constructing instance.
14324 Call teardown() before existing.
14325 (processArgs): Added javadoc.
14326 Reduced to throws Exception.
14328 (teardown): New method.
14329 (setupCommonParams): Added javadoc.
14330 Install designated provider if not already installed.
14331 (installNewProvider): New method.
14332 (setupSigningParams): Added javadoc.
14333 Instantiate the KeyStore using type only.
14334 * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
14335 Removed unused imports.
14336 (start): Reduced to throws Exception.
14337 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
14338 * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
14339 Re-organized imports.
14340 * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
14341 Test ignoring case.
14342 (getNames): Add "dsa" as an algorithm provided by this Factory.
14343 (makeInstance): Construct IllegalArgumentException with 2 arguments.
14345 2006-04-03 Roman Kennke <kennke@aicas.com>
14347 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
14348 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
14349 Replaced g_free() with pango_item_free() to avoid problems
14350 with the allocator.
14352 2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
14355 * java/util/logging/Level.java (parse): Document.
14356 * java/util/logging/LogManager.java (rootLogger): Removed.
14357 (LogManager): Just set loggers to new HashMap.
14358 (getLogManager): Make synchronized. Create and init LogManager if it
14360 (static): Removed block.
14361 (MANAGER_PROPERTY): New private final string.
14362 (makeLogManager): Use new property string, move warning to
14363 createInstance() method.
14364 (CONFIG_PROPERTY): New private final string.
14365 (initLogManager): New method.
14366 (addLogger): Use Logger.root, not rootLogger.
14367 (findAncestor): Likewise.
14368 (readConfiguration): Move warning to createInstance() method.
14369 Add handlers directly to Logger.root. Warn about bad level values.
14370 (getClassProperty): Use new locateClass() method.
14371 (getInstanceProperty): Only catch specific newInstance Errors.
14372 (createInstance): Make private and takes a string to use in warning
14373 messages. Use new locateClass() method and generate appropriate
14375 (warn): New methods.
14376 (locateClass): Locates a class through the context class loader and
14377 system class loader as backup.
14378 * java/util/logging/Logger.java (root): New static final field.
14379 (Logger): Set parent to root.
14380 (setParent): Directly check root field.
14382 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
14384 * javax/swing/text/Segment.java:
14385 (setPosition): Make exception message more verbose.
14386 * javax/swing/text/WrappedPlainView.java:
14387 (insertUpdate): Removed unneeded repaint call.
14388 (changeUpdate): Dito.
14389 (removeUpdate): Dito.
14390 (WrappedLine.determineNumLines): Do not return numLines, break
14391 from loop if no new break point has been calculated.
14392 (WrappedLine.updateDamage): Rewritten.
14393 (WrappedLine.insertUpdate): Removed unneeded update code.
14394 (WrappedLine.removeUpdate): Removed unneeded update code, added
14397 2006-04-02 Dalibor Topic <robilad@kaffe.org>
14399 * configure.ac (with-glibj-zip): Added new option.
14401 * examples/Makefile.am,
14403 tools/Makefile.am: Adapted build classpath to use glibj.zip,
14404 in addition to classes in lib directory.
14406 2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14408 * tools/gnu/classpath/tools/giop/GRMIC.java,
14409 tools/gnu/classpath/tools/giop/IorParser.java,
14410 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
14411 tools/gnu/classpath/tools/giop/grmic/Generator.java,
14412 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
14413 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
14414 tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
14415 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
14416 tools/gnu/classpath/tools/rmi/RMIC.java,
14417 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
14418 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
14419 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
14420 linking exception from the licensing header.
14421 * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
14422 Added licensing header.
14424 2006-04-02 Mark Wielaard <mark@klomp.org>
14426 * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
14427 (jarsigner): Removed.
14429 2006-04-02 Dalibor Topic <robilad@kaffe.org>
14431 * configure.ac: don't check for isnan function.
14432 * native/fdlibm/fdlibm.h: Always use the isnan macro.
14434 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
14436 * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
14437 * tools/Makefile.am: Generate jarsigner shell script.
14438 * tools/jarsigner.sh.in: New template.
14439 * tools/.cvsignore: Added jarsigner.sh.
14441 2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
14443 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
14444 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
14445 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
14446 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
14447 * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
14448 Re-organised imports.
14450 2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
14452 PR classpath/25924:
14453 * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
14454 Handle case where alpha==0.
14456 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
14459 * javax/swing/text/Utilities.java:
14460 (getTabbedTextOffset): Added check to decrement pos not below zero,
14461 changed '>' comparison to '>='.
14462 * javax/swing/text/WrappedPlainView.java:
14463 (lineHeight): New field.
14464 (calculateBreakPosition): Throw InternalError in catch block, removed
14465 unneeded brackets, use specific version of
14466 Utilities.getTabbedTextOffset.
14467 (paint): Set various properties neccessary for drawing.
14468 (WrappedLine.paint): Removed code to set field of outer class.
14469 (WrappedLine.modelToView): Removed unneeded expression from
14471 (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
14472 -1 from return statement, copy only a subset into the Segment, removed
14473 special handling of mark value - just return it, simplified
14474 incrementation of currLineStart.
14475 (WrappedLine.insertUpdate): Recalculate numLines, report preference
14476 change to parent view.
14477 (WrappedLine.removeUpdate): Dito.
14479 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
14481 * javax/swing/text/Segment.java:
14482 (toString): Return empty string when array is null.
14484 2006-04-02 Robert Schuster <robertschuster@fsfe.org>
14486 * javax/swing/plaf/basic/BasicTextUI.java:
14487 (damageRange): Use SwingUtilities.computeUnion to avoid
14488 unneccessary Rectangle instantiation.
14490 2006-04-01 Tom Tromey <tromey@redhat.com>
14492 * java/security/cert/Certificate.java (serialVersionUID): Fixed.
14494 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
14496 * javax/swing/text/CompositeView.java: Fixed copyright header.
14497 * javax/swing/text/BoxView.java: Fixed copyright header.
14498 * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
14499 * javax/swing/text/Utilities.java: Fixed copyright header.
14501 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
14503 * javax/swing/text/CompositeView.java:
14504 (modelToView): Throw BadLocationException when no child
14505 view can be found, restructed to throw exception as early
14507 (viewToModel): Use mutable allocation as argument for viewToModel
14508 call on child view.
14509 * javax/swing/text/BoxView.java:
14510 (getViewAtPoint): Call setBounds() r before method returns with
14511 suitable child view.
14512 * javax/swing/text/Utilities.java:
14513 (getPositionBelow): Added try-catch-block around modelToView call,
14514 added method return when BadLocationException was thrown.
14515 * javax/swing/text/WrappedPlainView.java:
14516 (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
14517 added note about meaning of rect.x and rect.width, removed unneeded
14518 checks, added code to not return the last possible document offset.
14520 2006-04-01 Robert Schuster <robertschuster@fsfe.org>
14522 * javax/swing/text/WrappedPlainView.java:
14523 (WrappedLine.viewToModel): Change < to <= in if-statement,
14524 removed addition of currLineStart to return value.
14525 * javax/swing/text/BoxView.java:
14526 (getViewAtPoint): Use copy instead of r for method call
14527 which modifies the second argument.
14529 2006-04-01 Mark Wielaard <mark@klomp.org>
14532 * java/util/jar/Attributes.java: Fully qualify java.util.Map.
14534 2006-03-31 Tom Tromey <tromey@redhat.com>
14536 * lib/split-for-gcj.sh: Updated for multi-field format.
14537 * lib/Makefile.am (CLEANFILES): Added classes.2.
14538 * lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
14539 classes.2 using multiple fields.
14541 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14543 * javax/swing/JTable.java (columnSelectionChanged):
14544 Removed print statement.
14545 * javax/swing/DefaultListSelectionModel.java
14546 (addSelectionInterval, removeSelectionInterval):
14547 Fire the difference between selection. (setLeadSelectionIndex):
14548 Fire the difference and mark current and previous lead
14549 selection indexes for repaint.
14551 2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
14553 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
14554 unnecessary copying.
14555 * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
14557 2006-03-31 Lillian Angel <langel@redhat.com>
14559 * java/awt/Component.java
14560 (translateEvent): oldKey should be the value of the
14563 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14565 * javax/swing/JTable.java (columnSelectionChanged):
14566 Treat second repaint parameter as width.
14568 2006-03-31 Lillian Angel <langel@redhat.com>
14571 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
14572 (realize): New native function.
14573 * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
14574 Added new function declaration.
14575 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
14576 (realize): New function.
14578 2006-03-31 Robert Schuster <robertschuster@fsfe.org>
14580 * javax/swing/text/GapContent.java:
14581 (replace): Move all Position instances from gap's end to
14582 it's start before increasing the gap start.
14583 * javax/swing/plaf/basic/BasicTextAreaUI.java:
14584 (propertyChanged): Update the view only instead of
14585 indicating a document change.
14587 2006-03-31 Roman Kennke <kennke@aicas.com>
14589 * javax/swing/JTextField.java
14590 (fireActionPerformed): Put the textfields text in the action
14591 instead of the action name.
14593 2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
14595 * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
14596 Check for null jar-file argument.
14597 (setupSigningParams): Check for null alias argument.
14599 2006-03-31 Roman Kennke <kennke@aicas.com>
14601 * javax/swing/JComponent.java
14602 (paintChildren): Split up in two cases, depending on the
14603 optimizedDrawingEnabled flag.
14604 (paintChildrenWithOverlap): New method. Paints children when
14605 not optimizedDrawingEnabled. This implements better painting
14606 algorithm for overlapping components, so that the painted
14607 regions are minimized.
14608 (paintChildrenOptimized): New method. Paints children when
14609 when optimizedDrawingEnabled. This implements a painting
14610 algorithm that is optimized for the case when all children
14611 are guaranteed to be tiled.
14613 2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
14615 * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
14616 Attributes.putValue(String,String).
14617 (finishSigning): Likewise.
14618 * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
14619 (SIGNATURE_VERSION): Likewise.
14620 (readSFManifest): Use local string constant.
14621 (readMainSection): Likewise.
14622 (readVersionInfo): Likewise.
14623 * java/util/jar/Attributes.java (MANIFEST_VERSION):
14624 Redefined using JarUtils constant.
14625 (SIGNATURE_VERSION): Likewise.
14626 (putValue(Name,String)): Made it private.
14628 2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14630 * javax/swing/DefaultListSelectionModel.java (fireDifference):
14631 New method. (clearSelection): Rewritten. (setSelectionInterval):
14632 Fire the difference between current and new selection.
14633 * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
14634 Only repaint the region, where selection has been changed.
14635 * javax/swing/plaf/basic/BasicTableUI.java
14636 (TableAction.actionPerformed): Do not change the column selection
14637 when only row selection change is wanted (and in reverse) and
14638 do not call the repaint() here.
14640 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
14643 * javax/swing/DefaultComboBoxModel.java
14644 (DefaultComboBoxModel(Vector)): Call getSize() instead of
14646 (addElement): Call list.addElement() rather than list.add(), and only
14647 update selected item if it is currently null,
14648 (removeElementAt): Update selected item, then remove the element.
14650 2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
14653 * java/awt/geom/Point2D.java
14654 (distanceSq(double, double)): Fixed order of arguments,
14655 (distanceSq(Point2D)): Likewise,
14656 (distance(double, double)): Likewise,
14657 (distance(Point2D)): Likewise.
14659 2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
14661 * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
14662 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
14663 (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
14664 ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
14665 DCLuminanceLengths, DCLuminanceValues): Remove fields.
14667 2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14669 * javax.swing.JTable (constructor): Initialize column
14670 model column margin and table row margin before setting the
14671 table column model. (initialiseLocalVars): Do not call
14672 setIntercellSpacing.
14674 2006-03-30 Chris Burdess <dog@gnu.org>
14676 * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
14678 * javax/xml/validation/SchemaFactoryLoader.java: New file.
14680 2006-03-30 Mark Wielaard <mark@klomp.org>
14683 * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
14684 adjust bounds. On resize invalidate and validate container.
14685 Always pass on ComponentEvents to Container super class.
14686 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
14687 menuBar and pass to GtkWindowPeer super class.
14688 (postConfigureEvent): Adjust menu bar width. Adjust y and height
14689 bounds and pass to GtkWindowPeer super class.
14690 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
14691 New fields for local bounds.
14692 (getX, getY): New methods.
14693 (getWidth): Don't call into awtComponent.
14694 (getHeight): Likewise.
14695 (create): Cache local bounds.
14696 (setLocation): Documented, made protected and just call
14698 (setLocationUnlocked): Removed unused method.
14699 (setBoundsUnlocked): Likewise.
14700 (setBounds): Check whether bounds actually changed and cache local
14702 (setSize): Documented and made protected.
14703 (setResizable): Documented and cache local bounds.
14704 (postConfigureEvent): Update local bounds. Don't call awtComponent
14705 directly but post ComponentEvents.
14706 (show): Cache local bounds.
14707 (getBounds): Override to return cached bounds.
14709 2006-03-30 Lillian Angel <langel@redhat.com>
14711 * gnu/java/awt/peer/gtk/GdkGraphics.java
14712 (drawImage): Added check to prevent NPE.
14713 (drawImage): Likewise.
14714 (drawImage): Likewise.
14715 * java/awt/Choice.java
14716 (dispatchEventImpl): New function. selectedIndex was
14717 not being updated properly otherwise.
14719 2006-03-30 Roman Kennke <kennke@aicas.com>
14721 * javax/swing/JTabbedPane.java
14722 (removeTabAt): Removed debug code.
14724 2006-03-30 Roman Kennke <kennke@aicas.com>
14727 * javax/swing/plaf/basic/BasicTextUI.java
14728 (installKeyboardActions): Simply call getKeymap() and install this.
14729 (createKeymap): Reimplemented to fetch a keymap from the UIManager.
14731 2006-03-30 Roman Kennke <kennke@aicas.com>
14733 * javax/swing/JTabbedPane.java
14734 (removeTabAt): Adjust selection correctly when removing a tab
14735 before the selected tab. Also remove the component from the
14736 container, not only the tab object. Repaint and revalidate the
14737 component after the removal.
14738 (removeAll): Set selection to -1 before removing the tabs.
14740 2006-03-29 Lillian Angel <langel@redhat.com>
14742 Partial fix for bug #26929
14743 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
14744 (updateComponent): Removed. We want to clear the panel
14746 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14747 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
14748 Should set the background to the saved background color.
14750 2006-03-29 Mark Wielaard <mark@klomp.org>
14752 Partial fix for bug #26848 (pack).
14753 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
14754 Always show instances of Window.
14756 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
14758 * javax/swing/JSlider.java
14759 (setPaintLabels): Only create standard labels if labelTable is null,
14760 * javax/swing/plaf/basic/BasicSliderUI.java
14761 (PropertyChangeHandler.propertyChange): Recalculate geometry for
14762 "paintTicks" property change,
14763 (calculateThumbSize): Updated API docs,
14764 (calculateContentRect): Likewise,
14765 (calculateTrackBuffer): Take into account the lowest and highest
14766 labels when calculating buffer space,
14767 (calculateTrackRect): Include labels, if visible, in the calculation of
14768 the trackRect position,
14769 (calculateTickRect): Height is zero if ticks are not painted,
14770 (calculateLabelRect): Use max dimensions of actual labels,
14771 (getWidthOfHighValueLabel): Use preferred size,
14772 (getWidthOfLowValueLabel): Likewise,
14773 (getHeightOfHighValueLabel): Likewise,
14774 (getHeightOfLowValueLabel): Likewise,
14775 (drawInverted): Just return slider setting,
14776 (getHighestValueLabel): Updated API docs,
14777 (paintTicks): Removed redundant (and buggy) code, replaced with calls
14778 to xPositionForValue() and yPositionForValue(),
14779 (paintHorizontalLabel): Removed full qualification of class name,
14780 (paintVerticalLabel): Likewise,
14781 (xPositionForValue): Reimplemented,
14782 (yPositionForValue): Reimplemented,
14783 * javax/swing/plaf/metal/MetalSliderUI.java
14784 (paintTrack): Made track one pixel longer.
14786 2006-03-29 Tom Tromey <tromey@redhat.com>
14789 * tools/Makefile.am (JCOMPILER): Added encoding options.
14790 * examples/Makefile.am (JCOMPILER): Added encoding options.
14792 2006-03-29 Gary Benson <gbenson@redhat.com>
14794 Partial fix for PR classpath/24895
14795 * java/io/FilePermission.java (implies): Canonicalize paths.
14797 2006-03-29 Robert Schuster <robertschuster@fsfe.org>
14800 * javax/swing/text/GapContent.java:
14801 (replace): Added call to resetMarksAtZero.
14803 2006-03-29 Roman Kennke <kennke@aicas.com>
14806 * javax/swing/plaf/basic/BasicMenuItemUI.java
14807 (cachedRect): New field.
14808 (BasicMenuItemUI): Initialize cachedRect field.
14809 (getPreferredMenuItemSize): Use layoutMenuItem() helper method
14810 to determine layout. Store maximum accelerator and text width
14811 in client properties of parent to allow correct alignment
14812 of accelerators among menu items of one menu.
14813 (paintMenuItem): Outsourced menu item layout into layoutMenuItem
14814 method. Align accelerators according to the values calculated
14815 in getPreferredMenuItemSize.
14816 (getAcceleratorString) New helper method.
14817 (layoutMenuItem): New helper method.
14819 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14821 * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
14822 * gnu/java/rmi/activation/BidiTable.java: Rewritten.
14823 * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
14825 * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
14826 readExternal, writeExternal): New methods.
14827 * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
14828 two stages, invokeCommon(Remote, ...) and
14829 invokeCommen(UnicastConnection, ...).
14830 * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
14831 also the ActivatableRef. toString(): Documented.
14832 * gnu/java/rmi/server/ActivatableRef.java,
14833 tools/gnu/classpath/tools/rmi/Persistent.java,
14834 tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
14835 tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
14836 tools/gnu/classpath/tools/rmi/REGISTRY.java,
14837 tools/gnu/classpath/tools/rmi/REGISTRY.txt,
14838 tools/gnu/classpath/tools/rmi/RMID.java,
14839 tools/gnu/classpath/tools/rmi/RMID.txt,
14840 tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
14841 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
14842 tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
14843 tools/gnu/classpath/tools/rmi/registry/package.html,
14844 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
14845 tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
14847 * tools/README: Documented.
14848 * NEWS: Added entry about the activation.
14850 2006-03-29 Roman Kennke <kennke@aicas.com>
14853 * javax/swing/plaf/basic/BasicMenuItemUI.java
14854 (viewRect): New field.
14855 (textRect): New field.
14856 (accelRect): New field.
14857 (iconRect): New field.
14858 (arrowIconRect): New field.
14859 (checkIconRect): New field.
14860 (BasicMenuItemUI): Initialize new fields.
14861 (paintMenuItem): Rewritten to correctly layout and paint
14862 the menu item in a more straightforward way. Use cached rectangle
14863 objects for layout.
14864 (paintAccelerator): Pulled inside the paintMenuItem method.
14866 2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
14868 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
14869 Do not use initCause with UnexpectedException.
14870 * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
14873 2006-03-29 Mark Wielaard <mark@klomp.org>
14875 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14876 (setCursorID): Removed unused static variable.
14878 2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
14880 * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
14882 2006-03-29 Mark Wielaard <mark@klomp.org>
14885 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14886 (gtkWidgetSetCursorUnlocked): Call gdk_flush().
14888 2006-03-28 Roman Kennke <kennke@aicas.com>
14890 * javax/swing/UIManager.java
14891 (installLookAndFeel): Implemented.
14892 (setInstalledLookAndFeels): Implemented.
14894 2006-03-28 Roman Kennke <kennke@aicas.com>
14896 * javax/swing/plaf/metal/MetalButtonUI.java
14897 (update): Paint gradient only when the background color
14898 is not a UIResource and if the button is neither armed nor
14899 pressed and if the button is contentAreaFilled.
14901 2006-03-28 Roman Kennke <kennke@aicas.com>
14903 * javax/swing/JLayeredPane.java
14904 (addImpl): Repaint added component.
14906 2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
14908 * java/util/regex/Matcher.java: Reverted.
14910 2006-03-28 Roman Kennke <kennke@aicas.com>
14912 * javax/swing/text/AsyncBoxView.java
14913 (setEstimatedMajorSpan): Made method protected.
14914 (getEstimatedMajorSpan): Made method protected.
14915 * javax/swing/text/BoxView.java
14916 (flipEastAndWestAtEnds): Fixed typo.
14917 * javax/swing/text/InternationalFormatter.java
14918 (getActions): Made method protected.
14919 * javax/swing/text/Position.java
14920 (Bias): Made class final.
14921 * javax/swing/text/html/HTML.java
14922 (MEDIA): Made field package private. Not specified.
14923 (NOBR): Made field package private. Not specified.
14924 * javax/swing/text/html/NullView.java
14925 Made class package private.
14926 * javax/swing/text/html/parser/Entity.java
14927 Made class non-serializable as specified.
14929 2006-03-28 Roman Kennke <kennke@aicas.com>
14931 * javax/swing/plaf/metal/MetalButtonUI.java
14932 (update): Don't paint gradient if the background color is
14933 no UIResource. Removed double getModel() call. Don't check for
14936 2006-03-28 Roman Kennke <kennke@aicas.com>
14938 * javax/swing/plaf/basic/BasicMenuItemUI.java
14939 (paint): Call paintMenuItem with the selectionBackground as
14941 (paintBackground): Fixed the condition and color for the background
14944 2006-03-28 Roman Kennke <kennke@aicas.com>
14946 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
14947 (tabsOpaque): New field.
14948 (paintLeftTabBorder): Paint some parts only when the tabs are
14949 opaque. Determine the tab background using the paintLeftTabBorder()
14951 (paintRightTabBorder): Likewise.
14952 (installDefaults): Fetch tabsOpaque property from the UIDefaults.
14954 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14956 * java/rmi/activation/ActivationGroup_Stub.java:
14959 2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
14961 * java/io/CharArrayWriter.java:
14962 (append(char)): Documented.
14963 (append(CharSequence)): Likewise.
14964 (append(CharSequence,int,int)): Likewise.
14966 2006-03-27 Tom Tromey <tromey@redhat.com>
14968 * java/io/CharArrayWriter.java (append): New overloads.
14970 2006-03-27 Lillian Angel <langel@redhat.com>
14972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
14973 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
14974 Added check for colormap. Prevents assertion error.
14975 (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
14977 (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
14979 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
14981 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
14983 (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
14986 2006-03-27 Dalibor Topic <robilad@kaffe.org>
14988 * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
14989 AC_MSG_ERROR instead of echoing the error message
14990 that no compiler has been found manually.
14992 2006-03-27 Roman Kennke <kennke@aicas.com>
14994 * javax/swing/RepaintManager.java
14995 (commitBuffer): Use simple drawImage() method instead of the
14998 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
15000 * javax/swing/text/PlainView.java:
15001 (drawLine): Use 'endOffset' instead of 'selectionEnd'
15002 for painting the selected line.
15004 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
15006 * javax/swing/plaf/basic/BasicSliderUI.java
15007 (getThumbSize): Removed TODO and updated API docs.
15009 2006-03-27 Robert Schuster <robertschuster@fsfe.org>
15011 * javax/swing/text/DefaultCaret.java:
15012 (mouseClicked): Word selection rewritten.
15013 (paint): Draw line inside the bounding rectangle.
15014 (damage): Retrieve caret height from line height.
15016 2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
15018 * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
15020 Check for -help option.
15021 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
15023 2006-03-27 Roman Kennke <kennke@aicas.com>
15025 * javax/swing/text/FieldView.java
15026 (getPreferredSpan): Don't include trailing newline in
15028 * javax/swing/text/PlainView.java
15029 (drawLine): Don't include trailing newline.
15030 (determineMaxLineLength): Don't include trailing newline.
15031 (getLineBuffer): Made method final.
15033 2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
15035 * javax/swing/JSlider.java
15036 (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
15037 (AccessibleJSlider.getAccessibleRole): Removed declaration of
15038 NotImplementedException,
15039 (AccessibleJSlider.getAccessibleValue): Updated API docs.
15041 2006-03-26 Tom Tromey <tromey@redhat.com>
15044 * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
15046 (getModifiersInternal): Renamed from getModifiers.
15047 (getModifiers): New method.
15048 (isBridge): Likewise.
15049 (isSynthetic): Likewise.
15050 (isVarArgs): Likewise.
15051 * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
15053 (getModifiersInternal): Renamed from getModifiers.
15054 (getModifiers): New method.
15055 (isSynthetic): Likewise.
15056 (isEnumConstant): Likewise.
15057 * vm/reference/java/lang/reflect/Constructor.java
15058 (getModifiersInternal): Renamed from getModifiers.
15059 (getModifiers): New method
15060 (CONSTRUCTOR_MODIFIERS): New constant.
15061 (isSynthetic): New method.
15062 (isVarArgs): Likewise.
15063 * java/lang/reflect/Member.java (isSynthetic): New method.
15065 2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
15067 * gnu/java/security/jce/hash/HavalSpi.java,
15068 * gnu/java/security/jce/hash/MD2Spi.java,
15069 * gnu/java/security/jce/hash/MD4Spi.java,
15070 * gnu/java/security/jce/hash/MD5Spi.java,
15071 * gnu/java/security/jce/hash/MessageDigestAdapter.java,
15072 * gnu/java/security/jce/hash/RipeMD128Spi.java,
15073 * gnu/java/security/jce/hash/RipeMD160Spi.java,
15074 * gnu/java/security/jce/hash/Sha160Spi.java,
15075 * gnu/java/security/jce/hash/Sha256Spi.java,
15076 * gnu/java/security/jce/hash/Sha384Spi.java,
15077 * gnu/java/security/jce/hash/Sha512Spi.java,
15078 * gnu/java/security/jce/hash/TigerSpi.java,
15079 * gnu/java/security/jce/hash/WhirlpoolSpi.java,
15080 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
15081 * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
15082 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
15083 * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
15084 * gnu/java/security/jce/sig/SignatureAdapter.java,
15085 * gnu/java/security/key/IKeyPairCodec.java,
15086 * gnu/java/security/key/IKeyPairGenerator.java,
15087 * gnu/java/security/key/KeyPairGeneratorFactory.java,
15088 * gnu/java/security/key/dss/DSSKey.java,
15089 * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
15090 * gnu/java/security/key/dss/DSSPrivateKey.java,
15091 * gnu/java/security/key/dss/DSSPublicKey.java,
15092 * gnu/java/security/key/dss/FIPS186.java,
15093 * gnu/java/security/key/rsa/GnuRSAKey.java,
15094 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
15095 * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
15096 * gnu/java/security/sig/ISignature.java,
15097 * gnu/java/security/sig/ISignatureCodec.java,
15098 * gnu/java/security/sig/dss/DSSSignature.java,
15099 * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
15100 * gnu/java/security/sig/rsa/RSAPSSSignature.java,
15101 * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
15102 * gnu/java/security/util/Util.java:
15103 Remove CVS revision tags.
15105 2006-03-26 Tom Tromey <tromey@redhat.com>
15107 * java/io/InputStream.java (InputStream): Implements Closeable.
15109 2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
15111 * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
15113 * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
15114 getAnchor): New methods.
15115 * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
15116 getAnchor): New methods.
15117 * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
15118 getAnchor): New methods.
15119 * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
15120 getAnchor): New methods.
15121 * gnu/regexp/REMatch.java(start1): New field.
15122 * gnu/regexp/RE.java(initialize): Added support for \z and \G,
15123 (match): set the starting position to start1[] instead of start[],
15124 (getMatchImpl): Set the found REMatch to the input,
15125 (makeCharIndexed): Made public.
15126 * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
15127 * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
15128 set the value of start[] copying from start1[].
15129 * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
15131 * java/util/regex/Matcher.java(inputCharIndexed): New field
15132 to be used as a parameter of the RE#getMatch.
15134 2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15136 * gnu/java/rmi/activation/DefaultActivationGroup.java:
15137 Documented the default jre spawning strategy (none).
15138 * java/rmi/activation/ActivationGroup.java (currentGroupId,
15139 getSystem): Obtain the acticivation system from the
15140 DefaultActivationSystem.
15142 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
15144 * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
15145 Ask user for keystore password if one was not provided.
15147 2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
15149 * tools/README: Added Security tools section.
15150 Documented the jarsigner tool.
15152 2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
15154 * javax/swing/JScrollBar.java
15155 (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
15156 (AccessibleJScrollBar.getAccessibleRole): Likewise,
15157 (AccessibleJScrollBar.getAccessibleValue): Likewise,
15158 (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
15159 (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
15160 (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
15161 (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
15162 (getAccessibleContext): Updated API docs.
15164 2006-03-25 Tom Tromey <tromey@redhat.com>
15166 * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
15167 change or if generator script changes.
15169 2006-03-25 Tom Tromey <tromey@redhat.com>
15171 * javax/naming/ldap/StartTlsRequest.java: New file.
15172 * javax/naming/ldap/StartTlsResponse.java: New file.
15174 2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
15176 * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
15177 to validate all components of a resource path.
15178 (FileURLLoader.walkPathComponents): Helper which ensures that we are
15179 allowed to walk through every component of a resource path.
15181 2006-03-25 Michael Koch <konqueror@gmx.de>
15183 * NEWS: Added item for CLDR 1.3 update.
15185 2006-03-25 Michael Koch <konqueror@gmx.de>
15187 * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
15188 resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
15189 resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
15190 resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
15191 resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
15192 resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
15195 2006-03-25 Michael Koch <konqueror@gmx.de>
15197 * resource/gnu/java/locale/LocaleInformation_az.properties,
15198 resource/gnu/java/locale/LocaleInformation_bs.properties,
15199 resource/gnu/java/locale/LocaleInformation_byn.properties,
15200 resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
15201 resource/gnu/java/locale/LocaleInformation_el_CY.properties,
15202 resource/gnu/java/locale/LocaleInformation_gez.properties,
15203 resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
15204 resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
15205 resource/gnu/java/locale/LocaleInformation_haw.properties,
15206 resource/gnu/java/locale/LocaleInformation_haw_US.properties,
15207 resource/gnu/java/locale/LocaleInformation_kok.properties,
15208 resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
15209 resource/gnu/java/locale/LocaleInformation_sid.properties,
15210 resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
15211 resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
15212 resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
15213 resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
15214 resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
15215 resource/gnu/java/locale/LocaleInformation_syr.properties,
15216 resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
15217 resource/gnu/java/locale/LocaleInformation_tig.properties,
15218 resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
15219 resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
15220 resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
15221 resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
15222 resource/gnu/java/locale/LocaleInformation_wal.properties,
15223 resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
15226 2006-03-25 Michael Koch <konqueror@gmx.de>
15228 * resource/gnu/java/locale/LocaleInformation_fa.properties,
15229 resource/gnu/java/locale/LocaleInformation_kn.properties,
15230 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
15231 resource/gnu/java/locale/LocaleInformation_ko.properties,
15232 resource/gnu/java/locale/LocaleInformation_sl.properties,
15233 resource/gnu/java/locale/LocaleInformation_so.properties,
15234 resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
15235 resource/gnu/java/locale/LocaleInformation_so_ET.properties,
15236 resource/gnu/java/locale/LocaleInformation_so_SO.properties,
15237 resource/gnu/java/locale/LocaleInformation_sr.properties:
15238 Random fixes I forgot to commit before.
15240 2006-03-25 Michael Koch <konqueror@gmx.de>
15242 * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
15243 resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
15244 resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
15245 resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
15246 resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
15247 resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
15248 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
15249 resource/gnu/java/locale/LocaleInformation_be_BY.properties,
15250 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
15251 resource/gnu/java/locale/LocaleInformation_en.properties,
15252 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
15253 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
15254 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
15255 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
15256 resource/gnu/java/locale/LocaleInformation_fa.properties,
15257 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
15258 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
15259 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
15260 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
15261 resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
15262 resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
15263 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
15264 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
15265 resource/gnu/java/locale/LocaleInformation_pa.properties,
15266 resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
15267 resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
15268 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
15269 resource/gnu/java/locale/LocaleInformation_sa.properties,
15270 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
15271 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
15272 resource/gnu/java/locale/LocaleInformation_te_IN.properties:
15273 Updated currency formats.
15275 2006-03-25 Roman Kennke <kennke@aicas.com>
15277 * javax/swing/text/AbstractDocument.java
15278 (getAttributeContext): Made method final.
15279 (getCurrentWriter): Likewise.
15280 (getEndPosition): Likewise.
15281 (getProperty): Likewise.
15282 (getStartPosition): Likewise.
15283 (putProperty): Likewise.
15284 (readLock): Likewise.
15285 (readUnlock): Likewise.
15286 (writeLock): Likewise.
15287 (writeUnlock): Likewise.
15289 2006-03-25 Roman Kennke <kennke@aicas.com>
15291 * javax/swing/InputMap.java
15292 (allKeys): Check if parent keys is null.
15293 * javax/swing/KeyboardManager.java
15294 (registerEntireMap): Also register map's parent keys.
15295 * javax/swing/plaf/metal/MetalRootPaneUI.java
15296 (propertyChange): Also call super.propertyChange().
15298 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
15300 * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
15301 * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
15302 * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
15303 * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
15304 * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
15305 * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
15307 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
15309 * gnu/java/util/jar/JarUtils.java: New file.
15310 * java/util/jar/Manifest.java (CRLF): Removed.
15311 (read_main_section): Likewise.
15312 (read_version_info): Likewise.
15313 (expect_header(String,BufferedReader)): Likewise.
15314 (expect_header(String,BufferedReader,String)): Likewise.
15315 (read_header_value): Likewise.
15316 (read_attributes): Likewise.
15317 (read_attribute): Likewise.
15318 (read_individual_sections): Likewise.
15319 (read_section_name): Likewise.
15320 (write_main_section): Likewise.
15321 (write_version_info): Likewise.
15322 (write_header): Likewise.
15323 (write_main_attributes): Likewise.
15324 (write_attribute_entry): Likewise.
15325 (write_individual_sections): Likewise.
15326 (write_entry_attributes): Likewise.
15327 (read): use JarUtils.
15330 2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
15332 * gnu/java/security/pkcs/SignerInfo.java (log): New field.
15335 (SignerInfo(BERReader)): Updated javadoc.
15337 (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
15339 (encode): New method.
15340 * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
15341 (PKCS7_DATA): Removed.
15344 (PKCS7SignedData(BERReader)): Updated javadoc.
15346 (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
15348 (encode): New method.
15349 * gnu/java/security/pkcs/PKCS7Data.java: New file.
15350 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
15351 (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
15352 (decodePrivateKey): Decode x from an OCTET STRING.
15353 * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
15354 (toString): New method.
15355 * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
15357 (toString): New method.
15358 * gnu/java/security/key/dss/DSSKey.java (str): New Field.
15359 (toString): New method.
15360 * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
15362 2006-03-25 Roman Kennke <kennke@aicas.com>
15364 * java/util/GregorianCalender.java
15365 (computeTime): Fix comparison to correctly calculate the
15368 2006-03-25 Wolfgang Baer <WBaer@gmx.de>
15371 * java/awt/Window.java:
15372 (setFocusCycleRoot): New overriden method.
15373 (isFocusCycleRoot): Likewise.
15374 (getFocusCycleRootAncestor): Likewise.
15375 * java/awt/Container.java:
15376 (getFocusTraversalPolicy): Check also for anchestor == null.
15378 2006-03-25 Mark Wielaard <mark@klomp.org>
15380 Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
15381 * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
15384 2006-03-24 Tom Tromey <tromey@redhat.com>
15386 * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
15388 (writeChar): Removed useless cast.
15389 (writeChars(String)): Implemented.
15390 (writeDouble): Rewrote.
15391 (writeFloat): Likewise.
15392 (writeUTF): Implemented.
15393 * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
15396 2006-03-24 Roman Kennke <kennke@aicas.com>
15398 * javax/swing/JButton.java
15399 (def): Replaced field with defaultCapable field.
15400 (is_def): Removed field.
15401 (JButton): Initialize defaultCapable with true.
15402 (isDefaultButton): Documented and implemented method by querying
15403 the button's root pane if present.
15404 (isDefaultCapable): Changed def field to defaultCapable.
15405 Added documentation.
15406 (paramString): Call isDefaultButton() instead of accessing field,
15408 (setDefaultCapable): Changed def field to defaultCapable.
15409 Added documentation.
15410 * javax/swing/JRootPane.java
15411 (setDefaultButton): Only change the default button if the
15412 new button is defaultCapable.
15413 * javax/swing/plaf/basic/BasicRootPaneUI.java
15414 (DefaultPressAction): New class.
15415 (DefaultReleaseAction): New class.
15416 (installKeyboardActions): Implemented.
15417 (uninstallKeyboardActions): Implemented.
15418 (propertyChange): Implemented.
15419 * javax/swing/plaf/metal/MetalBorders.java
15420 (ButtonBorder.paintBorder): 'Outsourced' default theme
15421 painting to paintDefaultButtonBorder().
15422 (ButtonBorder.paintDefaultButtonBorder): New helper method
15423 to paint the border in the default theme. This also fixes
15424 painting of the border for default buttons.
15425 (ButtonBorder.paintOceanButtonBorder): Added support for
15426 default button painting. Fixed border for pressed/default state.
15427 * javax/swing/plaf/metal/MetalButtonUI.java
15428 (update): Only paint gradient when in OceanTheme and when the
15429 button is not armed.
15431 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15433 * gnu/java/rmi/activation/ActivationSystemTransient.java:
15434 Inherit from Activator.
15436 2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15438 * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
15439 Print debug message if debug flag is set.
15440 * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
15441 * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
15442 detail, do not call iniCause(). (exportClass): New method.
15443 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
15444 Ignore null (bootstrap) class loader.
15445 * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
15446 buildMethodHash, findStubSkelClass, getHelperClass): Changed
15447 visibility to protected.
15448 * java/rmi/activation/Activatable.java (export, register): Rewritten.
15449 (toStub): New method.
15450 * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
15451 * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
15452 Explained property java.rmi.activation.port.
15454 2006-03-24 Tom Tromey <tromey@redhat.com>
15456 * .externalToolBuilders/CreateLocaleData.launch: Updated.
15457 * gnu/java/locale/.cvsignore: New file.
15458 * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
15459 * java/util/Locale.java (getAvailableLocales): Clone result.
15460 (getISOCountries): Likewise.
15461 (getISOLanguages): Likewise.
15462 * scripts/generate-locale-list.sh: Make class public. Added new
15464 * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
15465 (getLocaleCount): Likewise.
15466 * java/text/Collator.java (getInstance): Javadoc typo fix.
15467 (getAvailableLocales): Wrote.
15469 2006-03-24 Roman Kennke <kennke@aicas.com>
15471 * javax/swing/JTabbedPane.java
15472 (getSelectedComponent): Return null when no component is
15475 2006-03-24 Mark Wielaard <mark@klomp.org>
15477 * NEWS: Add cursor and selection improvements.
15479 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
15481 * java/awt/Component.java
15482 (getAccessibleName): Just return accessibleName,
15483 * javax/swing/AbstractButton.java
15484 (getAccessibleStateSet): Mark as stub,
15485 (getAccessibleName): Implemented,
15486 (getAcessibleIcon): Mark as stub,
15487 (getAccessibleRelationSet): Likewise,
15488 (getAccessibleAction): Likewise,
15489 (getAccessibleValue): Likewise,
15490 (getAccessibleActionCount): Likewise,
15491 (getAccessibleActionDescription): Likewise,
15492 (doAccessibleAction): Likewise,
15493 (getCurrentAccessibleValue): Likewise,
15494 (setCurrentAccessibleValue): Likewise,
15495 (getMinimumAccessibleValue): Likewise,
15496 (getMaximumAccessibleValue): Likewise,
15497 (getAccessibleText): Likewise,
15498 (getIndexAtPoint): Likewise,
15499 (getCharacterBounds): Likewise,
15500 (getCharCount): Likewise,
15501 (getCaretPosition): Likewise,
15502 (getAtIndex): Likewise,
15503 (getAfterIndex): Likewise,
15504 (getBeforeIndex): Likewise,
15505 (getCharacterAttribute): Likewise,
15506 (getSelectionStart): Likewise,
15507 (getSelectionEnd): Likewise,
15508 (getSelectedText): Likewise,
15509 (getTextRectangle): Likewise,
15510 (setIconTextGap): Fire PropertyChangeEvent, not state changed,
15511 (getIconTextGap): Added @since 1.4,
15512 (setContentAreaFilled): Reordered code to make event sequence match
15513 reference implementation,
15514 * javax/swing/JButton.java
15515 (getSelectedObjects): Removed,
15516 *javax/swing/JComponent.java
15517 (getAccessibleName): Call super.
15519 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
15521 * javax/swing/JProgressBar.java
15522 (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
15523 (AccessibleJProgressBar.getAccessibleRole): Added API docs,
15524 (AccessibleJProgressBar.getAccessibleValue): Implemented,
15525 (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
15526 (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
15527 (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
15528 (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
15529 (getAccessibleContext): Added API docs.
15531 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
15533 * javax/swing/plaf/basic/BasicTextUI.java:
15534 (FocusListener.focusLost): Put current selection into the system
15537 2006-03-23 Robert Schuster <robertschuster@fsfe.org>
15539 * java/awt/Component.java:
15540 (processMouseEvent): Remove call to consume event.
15541 (dispatchEventImpl): Handle specific events first, do focus request
15542 only when mouse event was not yet consumed.
15543 * javax/swing/text/DefaultCaret.java:
15544 (mousePressed): Rewritten.
15545 (setDot): Changed order of operations.
15548 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
15550 * javax/swing/JComponent.java
15551 (AccessibleJComponent.changeSupport): Removed field,
15552 (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
15553 (AccessibleJComponent.addPropertyChangeListener): Call super,
15554 (AccessibleJComponent.removePropertyChangeListener): Likewise,
15555 * javax/swing/JSlider.java
15556 (AccessibleJSlider.getAccessibleStateSet): Implemented,
15557 (AccessibleJSlider.getAccessibleRole): Likewise,
15558 (AccessibleJSlider.getAccessibleValue): Likewise,
15559 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
15560 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
15561 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
15562 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
15563 (getAccessibleContext): Added API docs.
15565 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15567 * gnu/java/rmi/activation/ActivationSystemTransient.java
15568 (debug): Made public. (constructor): Made protected.
15569 (activate, getActivationDesc): Throw more informative exceptions.
15570 * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
15572 * gnu/java/rmi/server/UnicastRef.java (remoteToString):
15574 * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
15576 * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
15578 * java/rmi/activation/Activatable.java (obtainId): Use the activation
15579 system, passed in the activation descriptor field.
15580 * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
15581 * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
15582 to package private final. (equals): Compare uid, not the system.
15583 (hashCode): Forward to uid.hashCode(). toString(): New method.
15584 * java/rmi/activation/ActivationID.java (readObject, writeObject):
15585 Rewritten. (equals): Compare UID only. toString(): New method.
15586 * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
15587 UID (space). (hashCode, toString): Rewritten.
15588 * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
15589 New method. (invoke): Treat null as an empty array for parameters.
15590 * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
15591 Include count, do not include the static machineId.
15593 2006-03-23 Tom Tromey <tromey@redhat.com>
15595 * java/net/URLConnection.java (getContent(Class[])): Implemented.
15597 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15599 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
15600 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
15601 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
15602 (force): New field. (setForce): New method. (compile): Handle -force.
15603 * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
15604 * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
15606 2006-03-23 Roman Kennke <kennke@aicas.com>
15608 * javax/swing/JTabbedPane.java
15609 (Page.getBackground): Return the JTabbedPane's background,
15610 rather than the page's component background.
15611 (Page.getForeground): Return the JTabbedPane's foreground,
15612 rather than the page's component foreground.
15613 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15614 (uninstallUI): Don't set colors to null.
15615 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
15616 (paintTabBackground): Correctly determine the tab background.
15617 (getUnselectedBackground): New helper method to
15618 handle the UI property 'TabbedPane.unselectedBackground'
15621 2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
15623 * javax/swing/plaf/basic/BasicInternalFrameUI.java
15624 (BorderListener.showingResizeCursor): New field.
15625 (BorderListener.mouseMoved, BorderListner.mouseExited):
15628 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
15630 * javax/swing/JComboBox.java
15631 (selectWithKeyChar): Mark as stub,
15632 * javax/swing/JFileChooser.java
15633 (setDragEnabled): Mark as stub,
15634 (getDragEnabled): Likewise,
15635 * javax/swing/JSlider.java
15636 (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
15637 (AccessibleJSlider.getAccessibleRole): Likewise,
15638 (AccessibleJSlider.getAccessibleValue): Likewise,
15639 (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
15640 (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
15641 (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
15642 (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
15643 * javax/swing/UIManager.java
15644 (installLookAndFeel): Mark as stub,
15645 (setInstalledLookAndFeels): Likewise.
15647 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
15649 * javax/swing/filechooser/UnixFileSystemView.java
15650 (getSystemDisplayName): Mark as stub,
15651 (getSystemIcon): Likewise,
15652 (getSystemTypeDescription): Likewise.
15654 2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
15656 * javax/swing/tree/AbstractLayoutCache.java
15657 (getNodeDimensions): Mark as stub,
15658 (getPreferredHeight): Likewise,
15659 (getPreferredWidth): Likewise,
15660 (getRowsForPaths): Likewise,
15661 (isFixedRowHeight): Likewise,
15662 * javax/swing/tree/DefaultTreeModel.java
15663 (reload()): Mark as stub,
15664 (reload(TreeNode)): Likewise,
15665 (nodeStructureChanged): Likewise,
15666 * javax/swing/tree/DefaultTreeSelectionModel.java
15667 (clone): Mark as stub,
15668 (setRowMapper): Likewise,
15669 (setSelectionPaths): Likewise,
15670 (isRowSelected): Likewise,
15671 (resetRowSelection): Likewise,
15672 (insureRowContinuity): Likewise,
15673 (arePathsContiguous): Likewise,
15674 (canPathsBeAdded): Likewise,
15675 (canPathsBeRemoved): Likewise,
15676 (notifyPathChange): Likewise,
15677 (updateLeadIndex): Likewise,
15678 (insureUniqueness): Likewise,
15679 * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
15681 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
15683 2006-03-22 Tom Tromey <tromey@redhat.com>
15685 * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
15687 (getStaticAttributeKey): Likewise.
15688 (readAttributeSet): Likewise.
15689 (writeAttributeSet): Likewise.
15690 (readAttributes): Likewise.
15691 (writeAttributes): Likewise.
15692 * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
15694 * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
15696 (fireChangedUpdate): Likewise.
15699 (handleEndOfLineString): Likewise.
15700 (textAreaContent): Likewise.
15701 (preContent): Likewise.
15702 (addSpecialElement): Likewise.
15703 (setInnerHTML): Likewise.
15704 (setOuterHTML): Likewise.
15705 (insertBeforeStart): Likewise.
15706 (insertBeforeEnd): Likewise.
15707 (insertAfterEnd): Likewise.
15708 (insertAfterStart): Likewise.
15709 * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
15710 Mark all methods as stub.s
15711 * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
15713 (paintHorizontalSeparators): Likewise.
15714 * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
15716 * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
15718 * java/beans/beancontext/BeanContextSupport.java: Mark most methods
15720 * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
15723 2006-03-22 Mark Wielaard <mark@klomp.org>
15725 * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
15727 2006-03-22 Mark Wielaard <mark@klomp.org>
15730 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
15731 Takes GtkImage, x and y coordinates.
15732 (gtkWidgetSetCursorUnlocked): Likewise.
15733 (GtkComponentPeer): Set cursor when set.
15734 (setCursor): Handle GtkCursor.
15735 * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
15737 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15738 (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
15739 (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
15740 * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
15742 2006-03-23 Roman Kennke <kennke@aicas.com>
15745 * gnu/java/security/Registry.java
15746 (PKCS5_PAD): Added pad PKCS#5 algorithm.
15747 * gnu/javax/crypto/pad/PadFactory.java
15748 (getInstance): For PKCS#5, also return PKCS#7 pad
15750 (getNames): Added PKCS#5.
15751 * javax/crypto/KeyGenerator.java
15752 (getInstance): Initialize key generator before returning
15755 2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
15757 * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
15758 (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
15759 * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
15760 if COMMENTS is set.
15762 2006-03-22 Tom Tromey <tromey@redhat.com>
15764 * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
15765 (getBoolean): Likewise.
15766 (getString): Likewise.
15767 (getIcon): Likewise.
15769 2006-03-22 Mark Wielaard <mark@klomp.org>
15772 * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
15773 (GLightweightPeer(Component)): Install MouseListener.
15774 (setCursor): Implement.
15775 (mouseEntered): New method.
15777 2006-03-22 Tom Tromey <tromey@redhat.com>
15779 * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
15781 * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
15783 (getFontForState): Likewise.
15784 (getInsets): Added 'result' argument.
15785 (getPainter): Renamed.
15787 2006-03-22 Tom Tromey <tromey@redhat.com>
15789 * javax/swing/plaf/synth/SynthPainter.java
15790 (paintScrollBarThumbBackground): Added 'orientation' argument.
15791 (paintScrollBarThumbBorder): Likewise.
15792 (paintSliderThumbBackground): Likewise.
15793 (paintSliderThumbBorder): Likewise.
15794 (paintTabbedPaneTabBackground): Added 'index' argument.
15795 (paintTabbedPaneTabBorder): Likewise.
15797 2006-03-22 Tom Tromey <tromey@redhat.com>
15799 * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
15800 (toString): New method.
15802 2006-03-22 Tom Tromey <tromey@redhat.com>
15804 * doc/hacking.texinfo (Source Code Style Guide): Mention
15805 NotImplementedException.
15806 * javax/imageio/stream/MemoryCacheImageOutputStream.java
15807 (flushBefore): Mark as stub.
15809 * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
15811 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
15814 (writeBit): Likewise.
15815 (writeChars): Likewise.
15816 (writeUTF): Likewise.
15817 * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
15820 * java/net/URLConnection.java (getContent): Mark as stub.
15821 * java/awt/Window.java (applyResourceBundle): Mark as stub.
15822 * java/awt/TexturePaint.java (createContext): Mark as stub.
15823 (getTransparency): Mark as stub.
15824 * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
15825 * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
15826 * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
15828 (getImageCapabilities): Likewise.
15829 * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
15830 * java/awt/AlphaComposite.java (createContext): Mark as stub.
15831 * java/awt/image/renderable/RenderableImageProducer.java: Mark all
15833 * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
15834 (getAdvanceBetween): Likewise.
15835 (getLayout): Likewise.
15836 (insertChar): Likewise.
15837 (getLineBreakIndex): Likewise.
15838 * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
15839 (getAdvance): Likewise.
15840 (getAscent): Likewise.
15841 (getDescent): Likewise.
15842 * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
15843 (insertChar): Likewise.
15844 (nextLayout): Likewise.
15845 (nextLayout): Likewise.
15846 (nextOffset): Likewise.
15847 (nextOffset): Likewise.
15848 * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
15849 (equals): Likewise.
15850 (getAdvance): Likewise.
15851 (getAscent): Likewise.
15852 (getBounds): Likewise.
15853 (getDescent): Likewise.
15854 (hashCode): Likewise.
15855 (ImageGraphicAttribute): Likewise.
15856 * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
15857 (getJustificationInfo): Likewise.
15858 * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
15859 (getGlyphCharIndices): Likewise.
15860 (getGlyphOutline): Likewise.
15861 (getGlyphPixelBounds): Likewise.
15862 (getLayoutFlags): Likewise.
15863 (getPixelBounds): Likewise.
15864 * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
15865 (getRSB): Likewise.
15866 * java/nio/channels/Channels.java (newWriter): Mark as stub.
15867 * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
15868 * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
15870 (resetRecognizer): Likewise.
15871 * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
15873 (getNativesForFlavor): Likewise.
15874 * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
15875 * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
15877 (getRegion): Likewise.
15878 (createUI): Likewise.
15879 (initialize): Likewise.
15880 (uninitialize): Likewise.
15881 (getDefaults): Likewise.
15883 (shouldUpdateStyleOnAncestorChanged): Likewise.
15884 * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
15886 (getPreferredSize): Likewise.
15887 (getMaximumSize): Likewise.
15888 (paintText): Likewise.
15889 * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
15891 * java/text/Collator.java (getAvailableLocales): Mark as stub.
15893 2006-03-22 Wolfgang Baer <WBaer@gmx.de>
15895 * java/io/ObjectStreamConstants.java: Added since tag.
15896 (PROTOCOL_VERSION_1): Added javadoc.
15897 (PROTOCOL_VERSION_2): Likewise.
15898 * java/io/ObjectOutputStream.java:
15899 (setDefaultProtocolVersion): Removed.
15900 (useProtocolVersion): Fixed parameter tests. Updated javadoc.
15902 2006-03-21 Lillian Angel <langel@redhat.com>
15904 * gnu/javax/imageio/bmp/BMPInfoHeader.java
15905 (BMPInfoHeader): Removed debug lines.
15906 * gnu/javax/imageio/bmp/EncodeRLE4.java
15907 (encode): Implemented.
15908 (uncompress): New function implemented to
15909 uncompress the image before encoding.
15910 * gnu/javax/imageio/bmp/EncodeRLE8.java
15911 (encode): Implemented.
15912 (uncompress): New function implemented to
15913 uncompress the image before encoding.
15915 2006-03-21 Roman Kennke <kennke@aicas.com>
15917 * javax/swing/text/html/FormView.java
15918 (getImageData): New helper method.
15920 2006-03-21 Tom Tromey <tromey@redhat.com>
15922 * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
15924 (Unsafe): Now final.
15926 2006-03-21 Roman Kennke <kennke@aicas.com>
15928 * javax/swing/text/html/FormView.java
15929 (MouseEventListener): New inner class.
15931 2006-03-21 Roman Kennke <kennke@aicas.com>
15933 * javax/swing/text/html/ListView.java: New file.
15935 2006-03-21 Tom Tromey <tromey@redhat.com>
15937 * java/text/Bidi.java: Completed.
15939 2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
15941 * javax/swing/JTable.java:
15942 (columnAtPoint): Removed the null check, this method should throw a NPE
15943 if the argument is null.
15945 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
15947 * javax/swing/text/DefaultHighlighter.java:
15948 (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
15950 2006-03-21 Robert Schuster <robertschuster@fsfe.org>
15952 * javax/swing/text/DefaultCaret.java: Added class variable denoting
15953 the textcomponent having a selection.
15954 (clearSelection): Clear 'componentWithSelection' variable.
15955 (handleSelection): Clear selection of current component having a
15956 selection before setting a new selection in another component.
15957 (mouseDragged): Only react on left mouse button.
15958 (mouseClicked): Only react on left mouse button.
15960 2006-03-21 Roman Kennke <kennke@aicas.com>
15962 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
15963 (paintContentBorderTopEdge): Implemented.
15964 (paintContentBorderBottomEdge): Implemented.
15965 (paintContentBorderLeftEdge): Implemented.
15966 (paintContentBorderRightEdge): Implemented.
15967 (isLastTabInRun): New helper method.
15969 2006-03-21 Roman Kennke <kennke@aicas.com>
15971 * javax/swing/JTabbedPane.java
15972 (Page.getForeground): Fall back to returning the tabbed pane's
15973 foreground if no foreground has been exclicitly set.
15975 2006-03-21 Roman Kennke <kennke@aicas.com>
15977 * javax/swing/plaf/metal/MetalComboBoxButton.java
15978 (setEnabled): Update colors of button correctly.
15979 * javax/swing/plaf/metal/MetalComboBoxUI.java
15980 (MetalPropertyChangeListener.propertyChange): Update the colors
15981 of the list and the button when any of the color properties
15982 of the ComboBox change.
15984 2006-03-21 Roman Kennke <kennke@aicas.com>
15986 * javax/swing/plaf/basic/BasicButtonUI.java
15987 (uninstallDefaults): Only nullify button colors if they are
15988 not UIResource instances.
15990 2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
15992 * javax/swing/JComponent.java
15993 (AccessibleJComponent.getAccessibleDescription): Call super,
15994 * javax/swing/JToolTip.java: API doc updates all over, plus
15995 (AccessibleJToolTip.getAccessibleDescription): Implemented,
15996 (AccessibleJToolTip.getAccessibleRole): Implemented,
15997 (getAccessibleContext): Implemented,
15998 (paramString): Reimplemented,
15999 (setComponent): Fire PropertyChangeEvent,
16000 (setTipText): Likewise.
16002 2006-03-20 Tom Tromey <tromey@redhat.com>
16004 * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
16005 * java/security/cert/CertStoreSpi.java: Added import for javadoc.
16006 (CertStoreSpi): Updated throws clause.
16007 * java/security/cert/CertPathValidatorSpi.java: Added import for
16009 (engineValidate): Updated 'throws' clause.
16010 * java/security/cert/PKIXParameters.java: Javadoc fix.
16011 * java/security/cert/X509CertSelector.java
16012 (setAuthorityKeyIdentifier): Javadoc fix.
16014 2006-03-20 Tom Tromey <tromey@redhat.com>
16016 * .classpath: Build gnu.javax.swing.plaf.
16018 2006-03-20 Lillian Angel <langel@redhat.com>
16020 * gnu/javax/imageio/bmp/BMPDecoder.java:
16021 Removed unneeded import.
16022 * gnu/javax/imageio/bmp/BMPEncoder.java:
16024 * gnu/javax/imageio/bmp/BMPFileHeader.java
16025 (BMPFileHeader): New constructor used to create info header
16026 for an output stream.
16027 (write): Fixed indexes.
16028 * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
16029 Initialized writerSpiNames field.
16030 * gnu/javax/imageio/bmp/BMPImageWriter.java:
16032 * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
16034 * gnu/javax/imageio/bmp/BMPInfoHeader.java:
16035 Change visibility for fields.
16036 (BMPInfoHeader): New constructor used to create
16037 file header for an output stream.
16038 (intToDWord): New method. Converts an int to a
16040 (intToWord): New method. Converts an int to a word.
16041 * gnu/javax/imageio/bmp/DecodeBF32.java:
16042 Removed unneeded imports.
16043 * gnu/javax/imageio/bmp/EncodeRGB1.java:
16045 * gnu/javax/imageio/bmp/EncodeRGB16.java:
16047 * gnu/javax/imageio/bmp/EncodeRGB24.java:
16049 * gnu/javax/imageio/bmp/EncodeRGB32.java:
16051 * gnu/javax/imageio/bmp/EncodeRGB4.java:
16053 * gnu/javax/imageio/bmp/EncodeRGB8.java:
16055 * gnu/javax/imageio/bmp/EncodeRLE4.java:
16057 * gnu/javax/imageio/bmp/EncodeRLE8.java:
16059 * javax/imageio/ImageIO.java:
16062 2006-03-20 Roman Kennke <kennke@aicas.com>
16064 * javax/swing/plaf/metal/MetalTabbedPaneUI.java
16065 (TabbedPaneLayout.normalizeTabRuns): New method.
16066 (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
16067 (paintTabBorder): Replaced if-else chain with switch.
16068 (paintTopTabBorder): Rewritten to correctly paint tab. Also support
16070 (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
16072 (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
16074 (paintRightTabBorder): Rewritten to correctly paint tab. Also support
16076 (paintTabBackground): Fetch background color from the TabbedPane.
16077 Fixed painting and improved by not using fillPolygon, and instead
16078 using fillRectangle. Replaced if-else chain with switch.
16079 (calculateMaxTabHeight): Added overridden method with FIXME.
16080 (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
16082 (paintContentBorderTopEdge): Added stub with FIXME.
16083 (paintContentBorderBottomEdge): Added stub with FIXME.
16084 (paintContentBorderLeftEdge): Added stub with FIXME.
16085 (paintContentBorderRightEdge): Added stub with FIXME.
16087 2006-03-20 Roman Kennke <kennke@aicas.com>
16089 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16090 (tabsOpaque): New field.
16091 (installDefaults): Fetch tabsOpaque property from UIManager.
16092 (paintTab): Fill tab background when tabsOpaque property is true.
16093 * javax/swing/plaf/basic/BasicLookAndFeel.java
16094 (initComponentDefaults): Added TabbedPane.tabsOpaque property.
16096 2006-03-20 Roman Kennke <kennke@aicas.com>
16098 * javax/swing/JTabbedPane.java
16099 (Pane.getBackground): When no background was explicitly set, return
16100 the JTabbedPane's background.
16102 2006-03-20 Wolfgang Baer <WBaer@gmx.de>
16104 * org/omg/CORBA/ACTIVITY_COMPLETED.java,
16105 * org/omg/CORBA/ACTIVITY_REQUIRED.java,
16106 * org/omg/CORBA/BAD_INV_ORDER.java,
16107 * org/omg/CORBA/BAD_CONTEXT.java,
16108 * org/omg/CORBA/BAD_OPERATION.java,
16109 * org/omg/CORBA/BAD_PARAM.java,
16110 * org/omg/CORBA/BAD_QOS.java,
16111 * org/omg/CORBA/BAD_TYPECODE.java,
16112 * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
16113 * org/omg/CORBA/COMM_FAILURE.java,
16114 * org/omg/CORBA/CurrentHolder.java,
16115 * org/omg/CORBA/DATA_CONVERSION.java,
16116 * org/omg/CORBA/FREE_MEM.java,
16117 * org/omg/CORBA/IMP_LIMIT.java,
16118 * org/omg/CORBA/INITIALIZE.java,
16119 * org/omg/CORBA/INTERNAL.java,
16120 * org/omg/CORBA/INTF_REPOS.java,
16121 * org/omg/CORBA/INVALID_ACTIVITY.java,
16122 * org/omg/CORBA/INVALID_TRANSACTION.java,
16123 * org/omg/CORBA/INV_FLAG.java,
16124 * org/omg/CORBA/INV_IDENT.java,
16125 * org/omg/CORBA/INV_OBJREF.java,
16126 * org/omg/CORBA/INV_POLICY.java,
16127 * org/omg/CORBA/MARSHAL.java,
16128 * org/omg/CORBA/NO_RESOURCES.java,
16129 * org/omg/CORBA/NO_MEMORY.java,
16130 * org/omg/CORBA/NO_IMPLEMENT.java,
16131 * org/omg/CORBA/NO_PERMISSION.java,
16132 * org/omg/CORBA/NO_RESPONSE.java,
16133 * org/omg/CORBA/OBJECT_NOT_EXIST.java,
16134 * org/omg/CORBA/OBJ_ADAPTER.java,
16135 * org/omg/CORBA/ParameterModeHolder.java,
16136 * org/omg/CORBA/PolicyError.java,
16137 * org/omg/CORBA/PolicyErrorHolder.java,
16138 * org/omg/CORBA/PolicyHolder.java,
16139 * org/omg/CORBA/PolicyListHolder.java,
16140 * org/omg/CORBA/REBIND.java,
16141 * org/omg/CORBA/TIMEOUT.java,
16142 * org/omg/CORBA/TRANSACTION_MODE.java,
16143 * org/omg/CORBA/TRANSACTION_REQUIRED.java,
16144 * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
16145 * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
16146 * org/omg/CORBA/TRANSIENT.java,
16147 * org/omg/CORBA/TypeCodeHolder.java,
16148 * org/omg/CORBA/UNKNOWN.java,
16149 * org/omg/CORBA/UnionMember.java,
16150 * org/omg/CORBA/UnknownUserException.java,
16151 * org/omg/CORBA/UnknownUserExceptionHolder.java,
16152 * org/omg/CORBA/WrongTransactionHolder.java,
16153 * org/omg/IOP/IOR.java,
16154 * org/omg/IOP/IORHolder.java,
16155 * org/omg/IOP/MultipleComponentProfileHolder.java,
16156 * org/omg/IOP/ServiceContextHolder.java,
16157 * org/omg/IOP/ServiceContextListHolder.java,
16158 * org/omg/IOP/TaggedComponentHolder.java,
16159 * org/omg/IOP/TaggedProfileHolder.java,
16160 * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
16161 * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
16162 * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
16163 * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
16164 Made class final, various javadoc fixlets.
16165 * org/omg/CORBA/CompletionStatus.java,
16166 * org/omg/CORBA/PERSIST_STORE.java,
16167 * org/omg/CORBA/ValueMember.java,
16168 * org/omg/PortableInterceptor/ForwardRequest.java,
16169 * org/omg/PortableInterceptor/InvalidSlot.java,
16170 * org/omg/IOP/CodecPackage/TypeMismatch.java,
16171 * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
16172 * org/omg/IOP/CodecPackage/FormatMismatch.java,
16173 * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
16174 * org/omg/IOP/Encoding.java,
16175 * org/omg/IOP/TaggedComponent.java,
16176 * org/omg/IOP/TaggedProfile.java: Made class final.
16177 * org/omg/CORBA/SystemException.java: Made class abstract.
16178 * org/omg/CORBA/UserException.java: Made class abstract.
16179 (UserException): Now protected.
16180 (UserException(String)): Likewise.
16181 * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
16182 (typecode): Removed unused private variable.
16184 2006-03-20 Chris Burdess <dog@gnu.org>
16187 * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
16189 2006-03-20 Roman Kennke <kennke@aicas.com>
16191 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16192 (paintTabArea): Look up tab run indices in tabRuns array instead
16193 of using the index directly.
16195 2006-03-20 Roman Kennke <kennke@aicas.com>
16197 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16198 (paintTab): Fixed painting.
16199 (paintText): Fixed text painting.
16200 (paintFocusIndicator): Fixed painting of the focus rectangle.
16201 (paintContentBorder): Fixed painting of the content area.
16203 2006-03-20 Mark Wielaard <mark@klomp.org>
16205 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
16206 static lock Object field.
16207 (produce): Synchronize on pixbufLock when calling initState(),
16208 pumpBytes() and pumpDone().
16209 (finalize): Likewise when calling finish().
16210 (GdkPixbufWriter.write): Likewise when calling streamImage().
16211 * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
16212 when calling loadPixbuf. Chain exception.
16213 (GtkImage(byte[])): Likewise when calling loadImageFromData.
16214 (GtkImage(URL)): Likewise.
16215 (GtkImage(int,int)): Likewise when calling createPixmap().
16216 (GtkImage(GtkImage,int,int,int)): Likewise when calling
16217 createScaledPixmap().
16218 (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
16219 (setImage): Likewise when calling createPixmap() and setPixels().
16220 (getSource): Likewise when calling getPixels().
16221 (flush): Likewise when calling freePixmap().
16222 (finalize): Likewise.
16223 (drawImage): Likewise when calling drawPixelsScaledFlipped() and
16224 drawPixelsScaledFlipped().
16225 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16226 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
16227 gdk_threads_enter/leave().
16228 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
16229 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
16230 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
16231 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
16232 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16233 (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
16234 (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
16235 (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
16236 (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
16237 (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
16238 (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
16239 (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
16240 (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
16242 2006-03-20 Roman Kennke <kennke@aicas.com>
16244 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16245 (calculateTabHeight): Not need to use SwingUtilities here.
16246 (getTabInsets): Do not rotate insets.
16248 2006-03-20 Roman Kennke <kennke@aicas.com>
16250 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16251 (paint): Make sure the layout is valid before painting.
16252 (paintTabArea): Made tab painting more straightforward and efficient.
16254 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16256 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
16257 (getScrollableUnitIncrement): Rewritten.
16258 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
16259 (getScrollableUnitIncrement): Rewritten.
16260 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16261 (ROWS_PER_WHEEL_CLICK): New field.
16262 (MouseWheelHandler.mouseWheelMoved): Rewritten.
16264 2006-03-20 Roman Kennke <kennke@aicas.com>
16266 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16267 (paint): Make sure the layout is valid before painting.
16268 (paintTabArea): Made tab painting more straightforward and efficient.
16270 2006-03-20 Roman Kennke <kennke@aicas.com>
16272 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16273 (MouseHandler.mousePressed): Rewritten for clearer and simpler
16275 (MouseHandler.mouseEntered): Implemented to set the rollover tab.
16276 (MouseHandler.mouseMoved): Implemented to set the rollover tab.
16277 (MouseHandler.mouseExited): Implemented to unset the rollover tab.
16278 (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
16279 bounds here. That is moved into layoutContainer().
16280 (calculateSize): Correctly respect insets. Made code slightly more
16281 clear and efficient.
16282 (calculateTabRects): Rewritten completely. The old code was
16283 not quite right and unstable in some situations.
16284 (layoutContainer): Moved layout of tabbed pane's subcomponents
16286 (tabRunsDirty): New field.
16287 (rolloverTab): New field.
16288 (tabForCoordinate): Rewritten for simplicity and correctness.
16289 (setRolloverTab): New method.
16290 (getRolloverTab): New method.
16292 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16294 * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
16295 * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
16296 (getScrollableUnitIncrement
16297 * javax/swing/Scrollable.java: Documented.
16298 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16299 (MouseWheelHandler):Rewritten.
16301 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
16303 * doc/vmintegration.texinfo:
16304 Updated with gnu.classpath.Unsafe
16306 2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
16309 Updated with VMArray and Unsafe changes.
16311 2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16313 * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
16314 (getScrollableUnitIncrement): Rewritten.
16315 * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
16316 (getScrollableUnitIncrement): Rewritten.
16317 (getScrollableBlockIncrement): Rewritten.
16318 * javax/swing/plaf/basic/BasicScrollPaneUI.java
16319 (MouseWheelHandler): Implemented. (ViewportContainerListener):
16320 New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
16321 New field. (installListeners): Install wheel listeners.
16322 (uninstallListeners): Uninstall wheel listeners.
16323 * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
16324 of the MouseWheelListener. (installListeners): Do not install wheel
16325 listener. (ROWS_PER_WHEEL_CLICK): Removed.
16327 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
16329 * vm/reference/gnu/classpath/Unsafe.java:
16331 (getUnsafe()): Updated to handle security.
16333 2006-03-19 Tom Tromey <tromey@redhat.com>
16335 * vm/reference/gnu/classpath/Unsafe.java:
16336 New class to handle low-level facilities for concurrency.
16338 2006-03-19 Mark Wielaard <mark@klomp.org>
16340 * include/Makefile.am: Rename PlainDatagramSocketImpl to
16341 VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
16342 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
16343 * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
16345 2006-03-19 Mark Wielaard <mark@klomp.org>
16347 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
16349 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
16351 2006-03-19 Michael Koch <konqueror@gmx.de>
16353 * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
16354 resource/gnu/java/locale/LocaleInformation_am.properties,
16355 resource/gnu/java/locale/LocaleInformation_am_ET.properties,
16356 resource/gnu/java/locale/LocaleInformation_as_IN.properties,
16357 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
16358 resource/gnu/java/locale/LocaleInformation_bg.properties,
16359 resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
16360 resource/gnu/java/locale/LocaleInformation_ca.properties,
16361 resource/gnu/java/locale/LocaleInformation_cs.properties,
16362 resource/gnu/java/locale/LocaleInformation_cy.properties,
16363 resource/gnu/java/locale/LocaleInformation_da.properties,
16364 resource/gnu/java/locale/LocaleInformation_de.properties,
16365 resource/gnu/java/locale/LocaleInformation_dv.properties,
16366 resource/gnu/java/locale/LocaleInformation_el.properties,
16367 resource/gnu/java/locale/LocaleInformation_en.properties,
16368 resource/gnu/java/locale/LocaleInformation_en_GB.properties,
16369 resource/gnu/java/locale/LocaleInformation_en_IN.properties,
16370 resource/gnu/java/locale/LocaleInformation_en_PK.properties,
16371 resource/gnu/java/locale/LocaleInformation_en_SG.properties,
16372 resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
16373 resource/gnu/java/locale/LocaleInformation_es.properties,
16374 resource/gnu/java/locale/LocaleInformation_es_AR.properties,
16375 resource/gnu/java/locale/LocaleInformation_es_BO.properties,
16376 resource/gnu/java/locale/LocaleInformation_es_CL.properties,
16377 resource/gnu/java/locale/LocaleInformation_es_CO.properties,
16378 resource/gnu/java/locale/LocaleInformation_es_CR.properties,
16379 resource/gnu/java/locale/LocaleInformation_es_DO.properties,
16380 resource/gnu/java/locale/LocaleInformation_es_EC.properties,
16381 resource/gnu/java/locale/LocaleInformation_es_ES.properties,
16382 resource/gnu/java/locale/LocaleInformation_es_GT.properties,
16383 resource/gnu/java/locale/LocaleInformation_es_HN.properties,
16384 resource/gnu/java/locale/LocaleInformation_es_MX.properties,
16385 resource/gnu/java/locale/LocaleInformation_es_NI.properties,
16386 resource/gnu/java/locale/LocaleInformation_es_PA.properties,
16387 resource/gnu/java/locale/LocaleInformation_es_PE.properties,
16388 resource/gnu/java/locale/LocaleInformation_es_PR.properties,
16389 resource/gnu/java/locale/LocaleInformation_es_PY.properties,
16390 resource/gnu/java/locale/LocaleInformation_es_SV.properties,
16391 resource/gnu/java/locale/LocaleInformation_es_US.properties,
16392 resource/gnu/java/locale/LocaleInformation_es_UY.properties,
16393 resource/gnu/java/locale/LocaleInformation_es_VE.properties,
16394 resource/gnu/java/locale/LocaleInformation_fa.properties,
16395 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
16396 resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
16397 resource/gnu/java/locale/LocaleInformation_fi.properties,
16398 resource/gnu/java/locale/LocaleInformation_fr.properties,
16399 resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
16400 resource/gnu/java/locale/LocaleInformation_ga.properties,
16401 resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
16402 resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
16403 resource/gnu/java/locale/LocaleInformation_hr.properties,
16404 resource/gnu/java/locale/LocaleInformation_hu.properties,
16405 resource/gnu/java/locale/LocaleInformation_id.properties,
16406 resource/gnu/java/locale/LocaleInformation_is.properties,
16407 resource/gnu/java/locale/LocaleInformation_it.properties,
16408 resource/gnu/java/locale/LocaleInformation_ja.properties,
16409 resource/gnu/java/locale/LocaleInformation_kk.properties,
16410 resource/gnu/java/locale/LocaleInformation_kl.properties,
16411 resource/gnu/java/locale/LocaleInformation_km.properties,
16412 resource/gnu/java/locale/LocaleInformation_ky.properties,
16413 resource/gnu/java/locale/LocaleInformation_lo.properties,
16414 resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
16415 resource/gnu/java/locale/LocaleInformation_lt.properties,
16416 resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
16417 resource/gnu/java/locale/LocaleInformation_lv.properties,
16418 resource/gnu/java/locale/LocaleInformation_mk.properties,
16419 resource/gnu/java/locale/LocaleInformation_mn.properties,
16420 resource/gnu/java/locale/LocaleInformation_mr.properties,
16421 resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
16422 resource/gnu/java/locale/LocaleInformation_ms.properties,
16423 resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
16424 resource/gnu/java/locale/LocaleInformation_mt.properties,
16425 resource/gnu/java/locale/LocaleInformation_nb.properties,
16426 resource/gnu/java/locale/LocaleInformation_nl.properties,
16427 resource/gnu/java/locale/LocaleInformation_nn.properties,
16428 resource/gnu/java/locale/LocaleInformation_om_ET.properties,
16429 resource/gnu/java/locale/LocaleInformation_or_IN.properties,
16430 resource/gnu/java/locale/LocaleInformation_pa.properties,
16431 resource/gnu/java/locale/LocaleInformation_pl.properties,
16432 resource/gnu/java/locale/LocaleInformation_pt.properties,
16433 resource/gnu/java/locale/LocaleInformation_ru.properties,
16434 resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
16435 resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
16436 resource/gnu/java/locale/LocaleInformation_sa.properties,
16437 resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
16438 resource/gnu/java/locale/LocaleInformation_sk.properties,
16439 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
16440 resource/gnu/java/locale/LocaleInformation_sv.properties,
16441 resource/gnu/java/locale/LocaleInformation_sw.properties,
16442 resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
16443 resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
16444 resource/gnu/java/locale/LocaleInformation_te.properties,
16445 resource/gnu/java/locale/LocaleInformation_te_IN.properties,
16446 resource/gnu/java/locale/LocaleInformation_th.properties,
16447 resource/gnu/java/locale/LocaleInformation_ti.properties,
16448 resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
16449 resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
16450 resource/gnu/java/locale/LocaleInformation_tr.properties,
16451 resource/gnu/java/locale/LocaleInformation_tt.properties,
16452 resource/gnu/java/locale/LocaleInformation_uk.properties,
16453 resource/gnu/java/locale/LocaleInformation_ur.properties,
16454 resource/gnu/java/locale/LocaleInformation_uz.properties,
16455 resource/gnu/java/locale/LocaleInformation_zh.properties,
16456 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
16457 More updates for CLDR 1.3.
16459 2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
16461 * doc/vmintegration.texinfo:
16462 Updated to include VMArray.
16463 * include/Makefile.am:
16464 Replace java_lang_reflect_Array.h with
16465 java_lang_reflect_VMArray.h
16466 * include/java_lang_reflect_VMArray.h:
16467 New autogenerated header.
16468 * include/java_lang_reflect_Array.h:
16470 * java/lang/reflect/Array.java:
16471 (newInstance(Class,int)): Calls VMArray.
16472 (createMultiArray(Class,int[],int)): Likewise.
16473 (createObjectArray(Class,int)): Removed.
16474 * native/jni/java-lang/Makefile.am:
16475 Replaced java_lang_reflect_Array.c with
16476 java_lang_reflect_VMArray.c
16477 * native/jni/java-lang/java_lang_reflect_VMArray.c:
16478 Renamed from java_lang_reflect_Array.c.
16479 * vm/reference/java/lang/reflect/VMArray.java:
16480 (createObjectArray(Class,int)): Native method moved
16481 from java.lang.reflect.Array.
16483 2006-03-19 Roman Kennke <kennke@aicas.com>
16485 * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
16486 * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
16488 * examples/gnu/classpath/examples/swing/Demo.java
16489 (mkButtonBar): Hook up theme editor.
16490 (mkMenuBar): Hook up theme editor.
16492 2006-03-19 Roman Kennke <kennke@aicas.com>
16494 * javax/swing/plaf/basic/BasicFileChooserUI.java
16495 (ApproveSelectionAction.actionPerformed): Added case for when
16496 nothing has been selected but the user has typed a filename
16497 into the textfield.
16498 (getFileName): Return the value of the text field.
16500 2006-03-19 Roman Kennke <kennke@aicas.com>
16502 * javax/swing/JColorChooser.java
16503 (createDialog): Create JDialog instead of ModalDialog. Make this
16504 dialog modal by calling setModal(true).
16505 (ModalDialog): Removed unnecessary inner class.
16507 2006-03-19 Tom Tromey <tromey@redhat.com>
16509 * java/awt/font/NumericShaper.java: Rewrote.
16511 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16513 * javax/swing/plaf/basic/BasicTableUI.java:
16514 Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
16515 New field. MouseInputHandler.mouseWheelMoved): New method.
16516 (installListeners): Register MouseInputHandler as
16517 wheel listener also.
16519 2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16522 * javax/swing/ViewportLayout.java (layoutContainer):
16523 If Scrollable tracks dimension, set view size to the port size.
16524 If port is larger than the view, move the view to the top/left.
16526 2006-03-19 Roman Kennke <kennke@aicas.com>
16528 * javax/swing/MenuSelectionManager.java
16529 (isComponentPartOfCurrentMenu): Also consider the first element
16530 in a menu selection list. Make a isDescendentFrom check instead
16531 of simple equals to also catch sub components.
16533 2006-03-19 Roman Kennke <kennke@aicas.com>
16535 * javax/swing/JComboBox.java
16536 (actionPerformed): Fetch selected item directly from the editor
16537 instead of trying to get it from the event.
16539 2006-03-19 Roman Kennke <kennke@aicas.com>
16541 * javax/swing/plaf/basic/BasicComboBoxEditor.java
16542 (listener): Removed field.
16543 (BasicComboBoxEditor): Removed initialization of listener field.
16544 (addActionListener): Add listener directly to editor.
16545 (removeActionListener): Remove listener directly from editor.
16546 (ComboBoxEditorListener): Removed class.
16547 * javax/swing/plaf/basic/BasicComboBoxUI.java
16548 (getPreferredSize): Fixed to return the minimumSize.
16549 (getMinimumSize): Improved code for more clearness.
16550 (getMaximumSize): Return (32767,32767) as requested by the mauve test.
16551 (rectangleForCurrentValue): Correctly respect insets.
16552 (getDefaultSize): Return preferredSize here. Dont override height
16554 (getDisplaySize): Moved around code for more clearness. Added
16555 handling of prototype renderer.
16556 (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
16557 arrowButton bounds since the former depends on the latter.
16558 * javax/swing/plaf/metal/MetalComboBoxButton.java:
16559 (MetalComboBoxButton): Make button rollover disabled.
16560 (isFocusTraversable): Return false unconditionally.
16561 * javax/swing/plaf/metal/MetalComboBoxEditor.java:
16562 (EditorTextField): New class. Fixes the size properties.
16563 (MetalComboBoxEditor): Create instance of EditorTextField.
16564 * javax/swing/plaf/metal/MetalComboBoxUI.java:
16565 (getMinimumSize): Fixed editable size.
16567 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16569 * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
16571 2006-03-18 Roman Kennke <kennke@aicas.com>
16573 * javax/swing/plaf/metal/MetalToolBarUI.java
16574 (update): Added overridden method to support OceanTheme.
16576 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16578 * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
16579 Activate the cell editing on character keystroke.
16581 2006-03-18 Mark Wielaard <mark@klomp.org>
16583 * java/awt/Component.java (eventTypeEnabled): Handle
16584 MouseEvent.MOUSE_WHEEL.
16585 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
16586 New callback method.
16587 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
16588 (AWT_MOUSE_WHEEL): New constant.
16589 (AWT_WHEEL_UNIT_SCROLL): Likewise.
16590 (postMouseWheelEventID): New static variable.
16591 (cp_gtk_component_init_jni): Record postMouseWheelEventID.
16592 (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
16593 (button_number): Renamed to ...
16594 (button_number_direction): variable to hold button number or scroll
16596 (component_button_press_cb): Use button_number_direction.
16597 (component_scroll_cb): New static callback function.
16599 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16601 * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
16602 Return without action.
16604 2006-03-18 Mark Wielaard <mark@klomp.org>
16606 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
16607 Don't cast graphics object to GdkGraphics.
16608 (updateComponent): Likewise.
16610 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16612 * examples/gnu/classpath/examples/swing/TableDemo.java
16613 (TModel.getColumnClass): Set second column to Icon.
16614 (TModel.isCellEditable): Say icons are not editable.
16615 (createContent): Fill the in second column with some icons from
16618 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16620 * examples/gnu/classpath/examples/swing/Demo.java
16621 (mkButtonBar): Set maximal button bar height to the preferred height.
16623 2006-03-18 Roman Kennke <kennke@aicas.com>
16625 * javax/swing/plaf/basic/BasicComboPopup.java
16626 (show): Substract insets from scroller width.
16627 (getPopupHeightForRowCount): If height==0, return a default of 100
16628 instead for empty ComboBoxes.
16630 2006-03-18 Roman Kennke <kennke@aicas.com>
16632 * javax/swing/plaf/basic/BasicLookAndFeel.java
16633 (PopupHelper.autoClosePopups): Removed field.
16634 (PopupHelper.mousePressed): Removed processing of registered
16636 (registerForAutoClose): Removed unneeded method.
16637 (autoClosePopups): Removed unneeded method.
16638 (registerForAutoClose): Removed unneeded method.
16640 2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16642 * javax.swing.JTable.java (TableTextField): Set border.
16643 (moveToCellBeingEdited): Do not adjust the editor boundaries
16645 2006-03-18 Michael Koch <konqueror@gmx.de>
16647 * resource/gnu/java/locale/LocaleInformation_aa.properties,
16648 resource/gnu/java/locale/LocaleInformation_af.properties,
16649 resource/gnu/java/locale/LocaleInformation_am.properties,
16650 resource/gnu/java/locale/LocaleInformation_ar.properties,
16651 resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
16652 resource/gnu/java/locale/LocaleInformation_be.properties,
16653 resource/gnu/java/locale/LocaleInformation_bg.properties,
16654 resource/gnu/java/locale/LocaleInformation_bn.properties,
16655 resource/gnu/java/locale/LocaleInformation_ca.properties,
16656 resource/gnu/java/locale/LocaleInformation_cs.properties,
16657 resource/gnu/java/locale/LocaleInformation_cy.properties,
16658 resource/gnu/java/locale/LocaleInformation_da.properties,
16659 resource/gnu/java/locale/LocaleInformation_de.properties,
16660 resource/gnu/java/locale/LocaleInformation_de_CH.properties,
16661 resource/gnu/java/locale/LocaleInformation_dz.properties,
16662 resource/gnu/java/locale/LocaleInformation_en.properties,
16663 resource/gnu/java/locale/LocaleInformation_eo.properties,
16664 resource/gnu/java/locale/LocaleInformation_es.properties,
16665 resource/gnu/java/locale/LocaleInformation_et.properties,
16666 resource/gnu/java/locale/LocaleInformation_eu.properties,
16667 resource/gnu/java/locale/LocaleInformation_fa.properties,
16668 resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
16669 resource/gnu/java/locale/LocaleInformation_fi.properties,
16670 resource/gnu/java/locale/LocaleInformation_fo.properties,
16671 resource/gnu/java/locale/LocaleInformation_fr.properties,
16672 resource/gnu/java/locale/LocaleInformation_ga.properties,
16673 resource/gnu/java/locale/LocaleInformation_gl.properties,
16674 resource/gnu/java/locale/LocaleInformation_gu.properties,
16675 resource/gnu/java/locale/LocaleInformation_he.properties,
16676 resource/gnu/java/locale/LocaleInformation_hi.properties,
16677 resource/gnu/java/locale/LocaleInformation_hr.properties,
16678 resource/gnu/java/locale/LocaleInformation_hu.properties,
16679 resource/gnu/java/locale/LocaleInformation_hy.properties,
16680 resource/gnu/java/locale/LocaleInformation_id.properties,
16681 resource/gnu/java/locale/LocaleInformation_is.properties,
16682 resource/gnu/java/locale/LocaleInformation_it.properties,
16683 resource/gnu/java/locale/LocaleInformation_ja.properties,
16684 resource/gnu/java/locale/LocaleInformation_ka.properties,
16685 resource/gnu/java/locale/LocaleInformation_km.properties,
16686 resource/gnu/java/locale/LocaleInformation_ko.properties,
16687 resource/gnu/java/locale/LocaleInformation_lo.properties,
16688 resource/gnu/java/locale/LocaleInformation_lt.properties,
16689 resource/gnu/java/locale/LocaleInformation_lv.properties,
16690 resource/gnu/java/locale/LocaleInformation_mk.properties,
16691 resource/gnu/java/locale/LocaleInformation_mr.properties,
16692 resource/gnu/java/locale/LocaleInformation_ms.properties,
16693 resource/gnu/java/locale/LocaleInformation_mt.properties,
16694 resource/gnu/java/locale/LocaleInformation_nb.properties,
16695 resource/gnu/java/locale/LocaleInformation_nl.properties,
16696 resource/gnu/java/locale/LocaleInformation_nn.properties,
16697 resource/gnu/java/locale/LocaleInformation_om.properties,
16698 resource/gnu/java/locale/LocaleInformation_pl.properties,
16699 resource/gnu/java/locale/LocaleInformation_ps.properties,
16700 resource/gnu/java/locale/LocaleInformation_pt.properties,
16701 resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
16702 resource/gnu/java/locale/LocaleInformation_ro.properties,
16703 resource/gnu/java/locale/LocaleInformation_ru.properties,
16704 resource/gnu/java/locale/LocaleInformation_sk.properties,
16705 resource/gnu/java/locale/LocaleInformation_sl.properties,
16706 resource/gnu/java/locale/LocaleInformation_so.properties,
16707 resource/gnu/java/locale/LocaleInformation_sq.properties,
16708 resource/gnu/java/locale/LocaleInformation_sr.properties,
16709 resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
16710 resource/gnu/java/locale/LocaleInformation_sv.properties,
16711 resource/gnu/java/locale/LocaleInformation_sw.properties,
16712 resource/gnu/java/locale/LocaleInformation_ta.properties,
16713 resource/gnu/java/locale/LocaleInformation_te.properties,
16714 resource/gnu/java/locale/LocaleInformation_th.properties,
16715 resource/gnu/java/locale/LocaleInformation_tr.properties,
16716 resource/gnu/java/locale/LocaleInformation_uk.properties,
16717 resource/gnu/java/locale/LocaleInformation_uz.properties,
16718 resource/gnu/java/locale/LocaleInformation_vi.properties,
16719 resource/gnu/java/locale/LocaleInformation_zh.properties,
16720 resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
16721 Updated to use the new localized strings for currencies, languages,
16722 variants, territories, etc.
16724 2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
16726 * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
16727 (start, end): Added comment about the negative values of them,
16728 (finish): Saves the input text in matchedCharIndexed,
16729 (toString): If the start or end index is out of bounds of the
16730 matched text, get the substring from matchedCharIndexed.
16731 Added special handlings in case start/end index < -1,
16732 (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
16733 Added special handlings in case start/end index < -1,
16734 * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
16735 found match, but keep the index as the original match.
16736 * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
16737 found match, but keep the index as the original match.
16738 * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
16739 in case start/end index < -1.
16741 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
16743 * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
16746 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
16748 * javax/swing/text/DefaultCaret.java:
16749 (mouseClicked) Use setDot() and moveDot() instead of
16750 JTextComponent.select().
16752 2006-03-17 Roman Kennke <kennke@aicas.com>
16754 * javax/swing/plaf/metal/MetalComboBoxEditor.java
16755 (MetalComboBoxEditorBorder.paintBorder): Implemented special
16756 border painting for the Ocean theme.
16757 (MetalComboBoxEditor): Create editor directly instead of going
16760 2006-03-17 Roman Kennke <kennke@aicas.com>
16762 * javax/swing/text/JTextComponent.java
16763 (JTextComponent): Make text components opaque.
16765 2006-03-17 Roman Kennke <kennke@aicas.com>
16767 * javax/swing/plaf/metal/MetalComboBoxUI.java
16768 (MetalComboBoxLayoutManager.layoutContainer): Forward to
16770 (MetalPropertyChangeListener.propertyChange): Update focusable
16771 flag according to the enable and editable state.
16772 (editablePropertyChanged): Removed unnecessary code.
16773 (getMinimumSize): Rewritten to correctly compute the
16774 size, respecting the insets of the components and the icon,
16775 the visual properties of the combobox, etc.
16776 (configureEditor): Update listeners correctly.
16777 (unconfigureEditor): Update listeners correctly.
16778 (layoutComboBox): Implemented.
16780 2006-03-17 Roman Kennke <kennke@aicas.com>
16782 * javax/swing/plaf/metal/MetalComboBoxEditor.java
16783 (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
16784 instead of Flush3DBorder.
16785 (paintBorder): Fixed border painting.
16786 (editorBorderInsets): Fixed border's insets.
16788 2006-03-17 Roman Kennke <kennke@aicas.com>
16790 * javax/swing/plaf/metal/MetalComboBoxButton.java
16791 (rendererPane): Documented.
16792 (MetalComboBoxButton): Set enabled flag from ComboBox.
16793 Set focusable flag from ComboBox's enabled flag.
16794 (isFocusTraversable): Make button focus traversable if
16795 ComboBox is not editable but enable.
16796 (paintComponent): Fixed painting to correctly adjust
16797 the boxes of the renderer and button.
16799 2006-03-17 Roman Kennke <kennke@aicas.com>
16801 * javax/swing/plaf/basic/BasicButtonUI.java
16802 (installDefaults): Only install UI margin if installed margin.
16803 is null or a UIResource.
16804 (uninstallDefaults): Only uninstall margin if it's
16807 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
16809 * javax/swing/text/DefaultCaret.java:
16810 (mouseClicked) Use setDot() and moveDot() instead of
16811 JTextComponent.select().
16813 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
16815 * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
16816 inner classes into package-private inner classes, added actions
16817 for caret movement and selection to the next and previous word
16818 and an action which selects the whole text.
16820 2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
16822 * javax/swing/Spring.java: Uncomment springdebug methods and
16823 rename them toString.
16824 * javax/swing/SpringLayout.java: Likewise.
16826 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
16828 * javax/swing/text/FieldView.java:
16829 (viewToModel): Added call to adjust allocation area.
16831 2006-03-17 Roman Kennke <kennke@aicas.com>
16833 * javax/swing/plaf/basic/BasicComboBoxUI.java
16834 (mouseListener): Removed field.
16835 (buttonBackground): Removed field.
16836 (buttonShadow): Removed field.
16837 (buttonDarkShadow): Removed field.
16838 (buttonHighlight): Removed field.
16839 (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
16840 (installUI): Initialize and configure renderer and editor here.
16841 (uninstallUI): Close popup before uninitializing.
16842 Message popup that we are uninitializing. Clear layout.
16843 (installDefaults): Install UI border. Don't install colors.
16844 (installListeners): Install listeners fetched from the popup.
16845 Remove handling of mouseListener.
16846 (uninstallDefaults): Uninstall border. Don't handle colors.
16847 (uninstallListeners): Don't handle mouseListener. Uninstall
16848 listener from the popup.
16849 (createMouseListener): Removed method.
16850 (createRenderer): Create UIResource.
16851 (installComponents): Cleaned up.
16852 (uninstallComponents): Only remove renderer when it is
16854 (addEditor): Remove editor before adding new one.
16855 Fetch editor from comboBox.
16856 (removeEditor): Only do something when editor != null. Unconfigure
16857 editor before removing.
16858 (configureEditor): Add key listener. Call comboBox.configureEditor.
16859 (unconfigureEditor): Removed key listener.
16860 (configureArrowButton): Only handle when arrowButton != null.
16861 Add mouse listeners to arrow button.
16862 (unconfigureArrowButton): Remove listeners.
16863 (createArrowButton): Don't handle colors here.
16864 (setPopupVisible): Don't handle focus here.
16865 (paint): Only paint when comboBox is not editable. Update
16867 (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
16868 (getMinimumSize): Respect insets here.
16869 (getMaximumSize): Return preferredSize with width of 32767.
16870 (getInsets): Return ComboBox insets.
16871 (paintCurrentValue): Paint using currentValuePane.
16872 Install correct colors. Don't revalidate.
16873 (paintCurrentValueBackground): Implemented.
16874 (getDefaultSize): Reimplemented using a default renderer.
16875 (getDisplaySize): Reimplemented to use renderer.
16876 (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
16877 (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
16878 (ComboBoxLayoutManager.layoutContainer): Fixed layout.
16879 (FocusHandler.focusGained): Don't invalidate minimumSize.
16880 (FocusHandler.focusLost): Don't invalidate minimumSize.
16881 Only close popup if focus change is not temporary.
16882 (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
16883 Reconfigure editor if not null.
16884 (ListDataHandler.contentsChanged): Revalidate and reconfigure
16885 editor if necessary.
16886 (ListDataHandler.intervalAdded): Fixed updating of the display size.
16887 (ListDataHandler.intervalRemoved): Forward to contentsChanged.
16888 (MouseHandler): Removed unnecessary class.
16890 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
16892 * examples/gnu/classpath/examples/swing/Demo.java:
16893 (Demo): Set default closing operation to shutdown the runtime.
16895 2006-03-17 Roman Kennke <kennke@aicas.com>
16897 * javax/swing/plaf/basic/BasicComboPopup.java
16898 (BasicComboPopup): Create listeners here.
16899 Configure components here.
16900 (show): Correctly calculate bounds using computePopupBounds().
16901 Make scroller fixed-size. Removed special autocloser handling.
16902 (hide): Rewritten to use MenuSelectionHandler.
16903 (createList): Don't set selection mode here.
16904 (configureList): Correctly install colors and fonts and selectionMode.
16905 (createScroller): Set scrollpane policies.
16906 (configureScroller): Make scroller and scrollbar not-focusable.
16907 (configurePopup): Make popup opaque and borderPainted.
16908 (installComboBoxListeners): Don't install mouse listener on ComboBox.
16909 (delegateFocus): Implemented.
16910 (convertMouseEvent): Implemented.
16911 (updateListBoxSelectionForEvent): Implemented to also handle
16913 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
16914 Only open popup on left mouse-click.
16915 (InvocationMouseHandler.mouseReleased): Rewritten.
16916 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
16917 support autoscrolling.
16918 (ItemHandler.itemStateChanged): Implemented to sync selection with
16920 (ListMouseHandler.mouseReleased): Fetch selected index directly
16922 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
16924 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
16925 When model changes, then update listeners correctly.
16926 (uninstallListeners): Don't uninstall list listeners.
16927 (uninstallComboBoxListeners): Don't uninstall mouse listeners
16929 (syncSelection): New helper method.
16931 2006-03-17 Robert Schuster <robertschuster@fsfe.org>
16933 * javax/swing/text/PlainView.java:
16934 (drawLine): Rewritten.
16935 (drawSelectedText): Corrected last argument for
16936 Utilities.drawTabbedText() call.
16937 (paint): Store start and end of selection in object variables,
16938 store constant values of for-loop in local variables.
16939 * javax/swing/text/Utilities.java:
16940 (drawTabbedText): Add 'pixelWidth' to the return value, store
16941 constant value of for-loop in local variable.
16943 2006-03-17 Roman Kennke <kennke@aicas.com>
16945 * javax/swing/plaf/basic/BasicComboPopup.java
16946 (BasicComboPopup): Create listeners here.
16947 Configure components here.
16948 (show): Correctly calculate bounds using computePopupBounds().
16949 Make scroller fixed-size. Removed special autocloser handling.
16950 (hide): Rewritten to use MenuSelectionHandler.
16951 (createList): Don't set selection mode here.
16952 (configureList): Correctly install colors and fonts and selectionMode.
16953 (createScroller): Set scrollpane policies.
16954 (configureScroller): Make scroller and scrollbar not-focusable.
16955 (configurePopup): Make popup opaque and borderPainted.
16956 (installComboBoxListeners): Don't install mouse listener on ComboBox.
16957 (delegateFocus): Implemented.
16958 (convertMouseEvent): Implemented.
16959 (updateListBoxSelectionForEvent): Implemented to also handle
16961 (InvocationMouseHandler.mousePressed): Delegate focus correctly.
16962 Only open popup on left mouse-click.
16963 (InvocationMouseHandler.mouseReleased): Rewritten.
16964 (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
16965 support autoscrolling.
16966 (ItemHandler.itemStateChanged): Implemented to sync selection with
16968 (ListMouseHandler.mouseReleased): Fetch selected index directly
16970 (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
16972 (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
16973 When model changes, then update listeners correctly.
16974 (uninstallListeners): Don't uninstall list listeners.
16975 (uninstallComboBoxListeners): Don't uninstall mouse listeners
16977 (syncSelection): New helper method.
16979 2006-03-17 Roman Kennke <kennke@aicas.com>
16981 * javax/swing/plaf/basic/BasicComboBoxRenderer.java
16982 (noFocusBorder): Make border with insets of (1,1,1,1).
16983 (BasicComboBoxRenderer): Make renderer opaque.
16984 No need to explicitly set alignment.
16985 (getListCellRendererComponent): Rewritten to correctly initialize
16988 2006-03-17 Roman Kennke <kennke@aicas.com>
16990 * javax/swing/JPopupMenu.java
16991 (setVisible): Handle JPopupMenu opening and closing via
16992 the MenuSelectionHandler.
16994 2006-03-17 Wolfgang Baer <WBaer@gmx.de>
16996 * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
16997 * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
16998 * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
17000 * org/omg/CORBA/portable/RemarshalException.java: Likewise
17001 * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
17002 * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
17003 * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
17004 * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
17005 * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
17006 * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
17007 * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
17008 * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
17009 * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
17011 2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17013 * java/rmi/activation/Activatable.java: Implemented.
17014 java/rmi/activation/ActivationDesc.java: Implemented.
17015 java/rmi/activation/ActivationGroup.java: Implemented.
17016 java/rmi/activation/ActivationGroupDesc.java: Implemented.
17017 java/rmi/activation/ActivationID.java: Implemented.
17018 java/rmi/activation/ActivationSystem.java: Implemented.
17019 * gnu/java/rmi/server/UnicastServerRef.java
17020 (exportObject, incommingMessageCall): Documented.
17021 * java/rmi/activation/package.html: Documented.
17022 * java/rmi/server/ObjID.java (objNum, space): Made package
17024 * gnu/java/rmi/server/UnicastServer.java: Rewritten.
17025 * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
17027 * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
17028 gnu/java/rmi/activation/BidiTable.java: New file.
17029 gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
17030 gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
17031 gnu/java/rmi/server/ActivatableServerRef.java: New file.
17033 2006-03-17 Mark Wielaard <mark@klomp.org>
17035 * java/security/BasicPermission.java (BasicPermission): Check
17036 name equals empty string to force NullPointerException.
17038 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
17041 Commit patch by Caolan McNamara <caolanm@redhat.com>
17042 * javax/swing/Spring.java: Complete implementation
17043 * javax/swing/SpringLayout.java: Likewise.
17045 2006-03-16 Keith Seitz <keiths@redhat.com>
17047 * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
17049 (run): Remove catch clause for InterruptedException. It is no
17052 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
17054 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17055 (getFontMetrics): Handle monospaced fonts specially.
17057 2006-03-16 Keith Seitz <keiths@redhat.com>
17059 * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
17060 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
17061 (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
17062 Don't suspend the current thread unless it is not part of the JDWP
17065 2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
17067 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
17069 * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
17070 font metrics through toolkit.
17071 * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
17073 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17074 (getFontMetrics): To calculate Java logical ascent and descent
17075 values, average Pango ink and logical values.
17077 2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
17079 * java/lang/Character.java: Updated header comment.
17081 2006-03-16 Tom Tromey <tromey@redhat.com>
17083 * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
17085 * javax/sound/sampled/FloatControl.java: Now abstract.
17086 * javax/sound/sampled/EnumControl.java: Now abstract.
17087 * javax/sound/sampled/CompoundControl.java: Now abstract.
17088 * javax/sound/sampled/BooleanControl.java: Now abstract.
17090 2006-03-16 Tom Tromey <tromey@redhat.com>
17092 * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
17094 2006-03-16 Roman Kennke <kennke@aicas.com>
17096 * java/util/zip/ZipFile.java
17097 (openFile): New helper method.
17098 (ZipFile): Use new openFile method to ensure the proper
17099 exception is thrown. This applies for all overloaded constructors.
17101 2006-03-16 Roman Kennke <kennke@aicas.com>
17103 * java/text/DateFormatSymbols.java
17104 (setAmPmStrings): Added null check and throw NPE.
17105 (setEras): Likewise.
17106 (setLocalPatternChars): Likewise.
17107 (setMonths): Likewise.
17108 (setShortMonths): Likewise.
17109 (setShortWeekdays): Likewise.
17110 (setWeekdays): Likewise.
17111 (setZoneStrings): Likewise.
17113 2006-03-16 Roman Kennke <kennke@aicas.com>
17115 * javax/swing/DefaultDesktopManager.java
17116 (iconifyFrame): Repaint after removing the frame.
17117 (removeIconFor): Repaint after removing the icon.
17119 2006-03-16 Roman Kennke <kennke@aicas.com>
17121 * javax/swing/JInternalFrame.java
17122 (remove): Respect the rootPaneCheckingEnabled flag here.
17124 2006-03-16 Roman Kennke <kennke@aicas.com>
17126 * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
17127 Moved from examples into gnu.javax.swing.. namespace.
17128 * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
17129 Moved to gnu.javax.swing.. namespace.
17130 * examples/gnu/classpath/examples/swing/Demo.java:
17131 (themesMenu): New field. Used to disable theme switch in
17133 (mkMenuBar): Added L&F menu.
17134 (ChangeThemeAction.actionPerformed): Only switch theme when
17136 (ChangeLAFAction): New class used for changing themes.
17137 * javax/swing/UIManager.java
17138 (installed): Added GNU L&F as installed L&F.
17140 2006-03-16 Mark Wielaard <mark@klomp.org>
17142 * examples/gnu/classpath/examples/swing/badge.png: Removed.
17143 * examples/gnu/classpath/examples/icons/badge.png: Added.
17144 * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
17145 from icon directory.
17147 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
17149 * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
17151 * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
17152 * examples/gnu/classpath/examples/awt/Demo.java: Add
17153 AnimationApplet demo.
17154 * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17157 2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
17160 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
17162 (handleEvent): Likewise.
17163 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
17165 (beginNativeRepaint): Remove method.
17166 (endNativeRepaint): Likewise.
17167 (handleEvent): Call paintComponent and updateComponent.
17168 (paintComponent): New method.
17169 (updateComponent): Likewise.
17170 (repaint): Return early if width or height is less than one.
17171 (postExposeEvent): Remove isInRepaint reference.
17172 * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
17174 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
17175 from GtkWindowPeer.
17176 (postMouseEvent): Likewise.
17177 (postExposeEvent): Likewise.
17178 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
17179 Override to do nothing.
17180 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
17181 from GtkWindowPeer.
17182 (postMouseEvent): Likewise.
17183 (postExposeEvent): Likewise.
17184 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
17185 paint and update handling from GtkComponentPeer.
17186 (updateComponent): Override to call paintComponent.
17187 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
17188 gdk_flush calls with schedule_flush calls.
17189 (flush): New function.
17190 (schedule_flush): Likewise.
17192 2006-03-15 Tom Tromey <tromey@redhat.com>
17194 * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
17196 (BCSIterator): Likewise.
17197 * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
17199 (BCSSProxyServiceProvider): Likewise.
17200 (BCSSServiceProvider): Likewise.
17202 2006-03-15 Tom Tromey <tromey@redhat.com>
17204 * javax/sound/midi/Track.java (Track): New constructor.
17205 (events): Now package-private.
17206 * javax/sound/midi/MidiUnavailableException.java
17207 (MidiUnavailableException): Removed invalid constructors.
17208 * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
17209 * javax/sound/midi/InvalidMidiDataException.java
17210 (InvalidMidiDataException): Removed invalid constructors.
17211 * javax/sound/midi/Sequencer.java (hashCode): Now final.
17212 * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
17213 * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
17214 (SYSTEM_EXCLUSIVE): Removed.
17215 (getDataLength): Updated.
17216 * javax/sound/midi/MidiDevice.java (Info): Now protected.
17217 (equals): Now final
17218 (getName): Now final.
17219 (getVendor): Now final.
17220 (getDescription): Likewise.
17221 (hashCode): Likewise.
17222 (getVersion): Likewise.
17223 (toString): Likewise.
17224 * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
17225 * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
17226 (getEarlyReflectionDelay): Likewise.
17227 (getEarlyReflectionIntensity): Likewise.
17228 (getLateReflectionDelay): Likewise.
17229 (getLateReflectionIntensity): Likewise.
17230 (toString): Likewise.
17231 * javax/sound/sampled/Port.java (toString): Now final.
17232 * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
17233 (getLine): Likewise.
17234 (getType): Likewise.
17235 * javax/sound/sampled/Mixer.java (Info): Now protected.
17236 (getDescription): Now final.
17237 (getName): Likewise.
17238 (getVendor): Likewise.
17239 (getVersion): Likewise.
17240 (toString): Likewise.
17241 * javax/sound/sampled/Control.java: Now abstract.
17242 (Type.toString): Now final.
17244 2006-03-15 Keith Seitz <keiths@redhat.com>
17246 * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
17247 of this redundant variable.
17248 (LineTable): Assert that the number of line numbers and the number of
17249 code indicies is the same.
17251 2006-03-15 Tom Tromey <tromey@redhat.com>
17253 * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
17255 * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
17257 * java/util/zip/ZipFile.java (ENDNRD): New constant.
17258 * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
17259 * java/util/zip/Inflater.java (end): Not deprecated.
17260 * java/util/zip/Deflater.java (end): Not deprecated.
17261 * java/text/Bidi.java (Bidi): Now final.
17262 * java/nio/MappedByteBuffer.java (finalize): Now protected.
17264 2006-03-15 Keith Seitz <keiths@redhat.com>
17266 * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
17267 (Location): Index is a long, not an int.
17268 (getMethod): New method.
17269 (getIndex): New method.
17270 (toString): New method.
17272 2006-03-15 Tom Tromey <tromey@redhat.com>
17274 * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
17275 * java/awt/image/LookupOp.java (filter): Now final.
17276 (getBounds2D): Likewise.
17277 (getPoint2D): Likewise.
17278 (getTable): Likewise.
17279 (getRenderingHints): Likewise.
17280 * java/awt/image/ConvolveOp.java (filter): Now final.
17281 (getBounds2D): Likewise.
17282 (getKernel): Likewise.
17283 (getPoint2D): Likewise.
17284 (getRenderingHints): Likewise.
17285 * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
17286 (getMatrix): Likewise.
17287 (getBounds2D): Likewise.
17288 (getRenderingHints): Likewise.
17289 * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
17290 * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
17292 * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
17294 * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
17296 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
17298 2006-03-15 Keith Seitz <keiths@redhat.com>
17300 * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
17302 (matches): Implement.
17304 2006-03-15 Keith Seitz <keiths@redhat.com>
17306 * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
17308 * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
17310 2006-03-15 Tom Tromey <tromey@redhat.com>
17312 * java/lang/StrictMath.java (signum): New methods.
17314 2006-03-15 Tom Tromey <tromey@redhat.com>
17316 * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
17318 2006-03-15 Lillian Angel <langel@redhat.com>
17321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17322 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
17323 Added check to avoid segmentation fault.
17325 2006-03-15 Lillian Angel <langel@redhat.com>
17327 * java/awt/Container.java
17328 (getComponentAt): Fixed documentation.
17329 (getComponentAt): Likewise.
17331 2006-03-15 Roman Kennke <kennke@aicas.com>
17333 * javax/swing/JComponent.java
17334 (dragBuffer): New field.
17335 (dragBufferInitialized): New field.
17336 (paint): Added facility for buffered dragging of components.
17337 (initializeDragBuffer): New method.
17338 (getConditionForKeyStroke): Removed deprecated flag. Adjusted
17340 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17341 (BorderListener.mouseDragged): Turn on buffered dragging.
17342 (BorderListener.mouseReleased): Turn off buffered dragging.
17344 2006-03-15 Lillian Angel <langel@redhat.com>
17346 * java/awt/Container.java
17347 (getComponentAt): Fixed documentation.
17348 (getComponentAt): Likewise.
17349 (findComponentAt): Likewise.
17350 (findComponentAt): Likewise.
17352 2006-03-15 Roman Kennke <kennke@aicas.com>
17354 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
17355 (PropertyChangeHandler.propertyChange): Call enableActions().
17356 Fixed 'iconable' property name.
17358 2006-03-15 Chris Burdess <dog@gnu.org>
17361 * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
17363 2006-03-15 Roman Kennke <kennke@aicas.com>
17365 * examples/gnu/classpath/examples/swing/Demo.java:
17366 (desktop): New field.
17367 (mkMenuBar): Added new subdemos.
17368 (mkButtonWorld): Removed.
17369 (CheckCellRenderer): Moved to ListDemo.
17370 (LabelCellRenderer): Moved to ListDemo.
17371 (mkTreeWorld): Moved to TreeDemo.
17372 (mkDesktopWorld): Removed.
17373 (mkTabWorld): Moved to TabbedPaneDemo.
17374 (mkTabbedPane): Removed.
17375 (Demo): Replaced 'worlds' tabbed pane with desktop.
17376 (PopupAction): Made class non-static.
17377 (PopupAction.actionPerformed): Bring up subdemos in internal
17379 (mkButtonBar): Added new demos.
17380 (createDesktop): New method.
17381 * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
17382 * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
17383 * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
17384 * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
17385 * examples/gnu/classpath/examples/swing/badge.png: New image file.
17387 2006-03-15 Lillian Angel <langel@redhat.com>
17389 * java/awt/Container.java
17390 (getComponentAt): Fixed mistake in comments.
17391 (getComponentAt): Likewise.
17392 (locate): Likewise. Also, handled lightweight components.
17393 Heavyweights take precedence over lightweights, so we should
17394 iterate through the heavyweights first.
17396 2006-03-15 Lillian Angel <langel@redhat.com>
17398 * java/awt/Container.java
17399 (getComponentAt): Added API documentation.
17400 (getComponentAt): Likewise.
17401 (locate): Likewise. Also, removed lines to ignore
17402 invisible components.
17403 (findComponentAt): Added API documentation.
17404 (findComponentAt): Added API documentation.
17405 (findComponentForMouseEvent): Removed, never used.
17407 2006-03-15 Roman Kennke <kennke@aicas.com>
17409 * javax/swing/Popup.java
17410 (LightweightPopup.show): Repaint the panel after showing it.
17412 2006-03-15 Lillian Angel <langel@redhat.com>
17414 * java/awt/Component.java
17415 (show): repaint should only be called if the component
17416 isShowing and isLightweight.
17418 2006-03-15 Roman Kennke <kennke@aicas.com>
17420 * javax/swing/JInternalFrame.java
17421 (setClosable): Made this property bound.
17422 (setResizable): Made this property bound.
17423 (setIconifiable): Made this property bound.
17424 (setMaximizable): Made this property bound.
17426 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
17428 * javax/swing/table/TableColumn.java
17429 (sizeWidthToFit): Implemented.
17431 2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
17433 * javax/swing/table/TableColumn.java: API docs updated all over, plus
17434 (setIdentifier): Fire required PropertyChangeEvent,
17435 (setCellEditor): Likewise.
17437 2006-03-15 Roman Kennke <kennke@aicas.com>
17439 * examples/gnu/classpath/examples/swing/ButtonDemo.java,
17440 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
17441 * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
17442 * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
17443 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
17444 * examples/gnu/classpath/examples/swing/SliderDemo.java,
17445 * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
17446 * examples/gnu/classpath/examples/swing/TableDemo.java,
17447 * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
17448 * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
17449 Reworked to implemented DemoFactory and lazy loading of Sub-demos.
17450 * examples/gnu/classpath/examples/swing/Demo.java:
17451 Cleaned up. Reworked handling of Sub-demos to load lazily.
17452 * examples/gnu/classpath/examples/swing/DemoFactory.java:
17453 New interface. Used for loading the subdemos lazily.
17455 2006-03-15 Roman Kennke <kennke@aicas.com>
17457 * javax/swing/plaf/basic/BasicToolBarUI.java
17458 (PropertyListener.propertyChange): Added null check to avoid NPE.
17460 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
17462 * javax/swing/table/TableColumn.java
17463 (COLUMN_WIDTH_PROPERTY): Updated API docs,
17465 (minWidth): Likewise,
17466 (preferredWidth): Likewise,
17467 (maxWidth): Likewise,
17468 (headerRenderer): Likewise,
17469 (cellRenderer): Likewise,
17470 (cellEditor): Likewise,
17471 (changeSupport): Likewise,
17472 (firePropertyChange(String, Object, Object)): Removed,
17473 (firePropertyChange(String, int. int)): Likewise,
17474 (firePropertyChange(String, boolean, boolean)): Likewise,
17475 (setModelIndex): Fire property change,
17476 (setHeaderValue): Call changeSupport directly to generate event,
17477 (setHeaderRenderer): Likewise,
17478 (setCellRenderer): Likewise,
17479 (setWidth): Likewise,
17480 (setPreferredWidth): Likewise,
17481 (setMinWidth): Likewise,
17482 (setMaxWidth): Likewise,
17483 (createDefaultHeaderRenderer): Added API docs.
17485 2006-03-14 Roman Kennke <kennke@aicas.com>
17487 * examples/gnu/classpath/examples/swing/Demo.java
17488 Removed static initializer.
17489 (mkMenuBar): Made method non-static. Added themes menu.
17490 (ChangeThemeAction): New inner class, used to change themes.
17492 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
17494 * javax/swing/table/TableColumn.java
17495 (setMaxWidth): Updated width and preferredWidth if necessary,
17496 (getMaxWidth): Updated API docs.
17498 2006-03-14 Roman Kennke <kennke@aicas.com>
17500 * javax/swing/plaf/basic/BasicSliderUI.java
17501 (TrackListener.mouseDragged): Only process event when slider is
17503 (TrackListener.mouseReleased): Only process event when slider is
17505 (TrackListener.mousePressed): Only process event when slider is
17508 2006-03-14 Roman Kennke <kennke@aicas.com>
17510 * NEWS: Added note about OceanTheme support.
17512 2006-03-14 Roman Kennke <kennke@aicas.com>
17514 * javax/swing/plaf/metal/MetalIconFactory.java
17515 (HorizontalSliderThumbIcon.gradientMask): New field
17516 (HorizontalSliderThumbIcon.paintIcon): Added support for the
17518 (VerticalSliderThumbIcon.gradientMask): New field
17519 (VerticalSliderThumbIcon.paintIcon): Added support for the
17521 * javax/swing/plaf/metal/MetalUtils.java
17522 (paintHorizontalGradient): Fixed painting of 'masked' gradients.
17523 (paintVerticalGradient): Fixed painting of 'masked' gradients.
17525 2006-03-14 Mark Wielaard <mark@klomp.org>
17528 * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
17529 of handleMouseEvent.
17530 (handleMouseEvent): Return boolean to indicate whether we handled the
17531 event by passing it to a lightweight.
17533 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
17535 * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
17536 * org/omg/PortableServer/ServantActivatorPOA.java,
17537 * org/omg/PortableServer/ServantLocatorPOA.java:
17538 Make class abstract and minor api docs fixlets.
17539 * org/omg/PortableServer/ForwardRequest.java,
17540 * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
17541 * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
17542 * org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
17543 * org/omg/PortableServer/POAPackage/InvalidPolicy.java,
17544 * org/omg/PortableServer/POAPackage/NoServant.java,
17545 * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
17546 * org/omg/PortableServer/POAPackage/ObjectNotActive.java,
17547 * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
17548 * org/omg/PortableServer/POAPackage/ServantNotActive.java,
17549 * org/omg/PortableServer/POAPackage/WrongAdapter.java,
17550 * org/omg/PortableServer/POAPackage/WrongPolicy.java,
17551 * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
17552 * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
17553 * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
17554 * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
17556 2006-03-14 Wolfgang Baer <WBaer@gmx.de>
17558 * NEWS: Added entry about printing support.
17560 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
17562 * javax/swing/table/TableColumn.java
17563 (COLUMN_WIDTH_PROPERTY): Updated API docs,
17564 (isResizable): Likewise,
17565 (setWidth): Likewise,
17566 (getWidth): Likewise,
17567 (setPreferredWidth): Likewise,
17568 (getPreferredWidth): Likewise,
17569 (setMinWidth): Check for negative argument and update width and
17570 preferredWidth if necessary,
17571 (getMinWidth): Updated API docs.
17573 2006-03-14 Lillian Angel <langel@redhat.com>
17575 * java/awt/Container.java
17576 (addImpl): Removed call to repaint. No need to repaint here.
17578 2006-03-14 Roman Kennke <kennke@aicas.com>
17580 * javax/swing/plaf/metal/MetalSliderUI.java
17581 (paintTrack): Added OceanTheme support.
17583 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
17585 * javax/swing/table/TableColumn.java
17586 (setResizable): Fire PropertyChangeEvent if the flag value changes,
17587 (isResizable): Updated API docs.
17589 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
17591 * javax/swing/LookAndFeel.java: Updated API docs.
17593 2006-03-14 Roman Kennke <kennke@aicas.com>
17595 * javax/swing/plaf/metal/MetalUtils.java
17596 (paintGradient): Added support for 'masked' gradients.
17597 (paintHorizontalGradient): Likewise.
17598 (paintVerticalGradient): Likewise.
17599 * javax/swing/plaf/metal/MetalIconFactory.java
17600 (RadioButtonIcon.gradientMask): New field.
17601 (RadioButtonIcon.paintIcon): Added mask for gradient painting.
17603 2006-03-14 Mark Wielaard <mark@klomp.org>
17606 * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
17608 (removeActionListener): Add listener to ComboBoxEditorListener.
17609 (removeActionListener): Remove listener from ComboBoxEditorListener.
17610 (ComboBoxEditorListener): New static helper class.
17612 2006-03-14 Roman Kennke <kennke@aicas.com>
17614 * javax/swing/plaf/metal/MetalBorders.java
17615 (getToolBarButtonBorder): Don't create a UIResource border
17617 * javax/swing/plaf/metal/MetalToolBarUI.java
17618 (installUI): New overridden method. Installs the rollover property.
17619 (uninstallUI): New overridden method. Resets the rollover property.
17620 * javax/swing/plaf/metal/MetalUtils.java
17621 (paintGradient): Fetch Float values from the UIManager. Adjusted
17622 method signatures accordingly.
17623 (paintHorizontalGradient): Adjusted signature to accept float
17625 (paintVerticalGradient): Adjusted signature to accept float
17627 * javax/swing/plaf/metal/OceanTheme.java
17628 (addCustomEntriesToTable): Added missing UIDefaults entries,
17629 except of Icons. Fixed gradient entries to use Float instead
17632 2006-03-14 Roman Kennke <kennke@aicas.com>
17634 * javax/swing/JInternalFrame.java
17635 (JInternalFrame): Make JInternalFrame opaque.
17636 * javax/swing/JToolBarFrame.java
17637 (JToolBar): Make JToolBar opaque.
17639 2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
17641 * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
17642 * javax/swing/tree/TreePath.java: Likewise.
17644 2006-03-13 Keith Seitz <keiths@redhat.com>
17646 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
17647 (executeMethods): Output number of methods.
17649 2006-03-13 Roman Kennke <kennke@aicas.com>
17651 * javax/swing/plaf/basic/BasicButtonUI.java
17652 (uninstallDefaults): Only uninstall border if it's a UIResource.
17653 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
17654 (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
17655 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17656 (installUI): Don't touch the opaque flag of the glassPane and
17657 the frame. Don't invalidate.
17658 * javax/swing/plaf/basic/BasicInternalFrameUI.java
17659 (installUI): Don't touch the opaque flag of the glassPane.
17660 * javax/swing/plaf/basic/BasicMenuBarUI.java
17661 (properyChangeListener): Made field private.
17662 (ChangeHandler): Made class private.
17663 (ContainerHandler): Made class private.
17664 (PropertyChangeHandler): Made class private.
17665 * javax/swing/plaf/basic/BasicMenuUI.java
17666 (MenuHandler): Made class private.
17667 (PropertyChangeHandler): Removed unneeded class.
17668 (MenuDragMouseHandler): Made class private.
17669 (MenuKeyHandler): Made class private.
17670 * javax/swing/plaf/basic/BasicPanelUI.java
17671 (installDefaults): Made method protected. Don't set opaque
17673 * javax/swing/plaf/basic/BasicScrollBarUI.java
17674 (TrackListener.shouldScroll): Made method private.
17675 * javax/swing/plaf/basic/BasicSplitPaneUI.java
17676 (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
17677 Made constructor package private.
17678 * javax/swing/plaf/basic/BasicTableHeaderUI.java
17679 (cellBorder): Made field private.
17680 * javax/swing/plaf/basic/BasicTextUI.java
17681 (installDefaults): Don't make component opaque.
17682 * javax/swing/plaf/basic/BasicToolBarUI.java
17683 (createNonRollOverBorder): Don't create UIResource border.
17684 (createRollOverBorder): Don't create UIResource border.
17685 (installComponents): Moved setRolloverBorders call here.
17686 (installDefaults): Moved setRolloverBorders call from here.
17687 (installUI): Don't make toolbar opaque.
17688 (setBorderToNonRollover): Handle AbstractButton instead of
17690 (uninstallComponents): Don't nullify class fields here.
17692 2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
17694 * javax/swing/SwingUtilities.java
17695 (calculateInnerArea): handle null component, and replace
17696 getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
17699 2006-03-13 Roman Kennke <kennke@aicas.com>
17701 * javax/swing/JColorChooser.java
17702 (updateUI): Don't call revalidate().
17703 * javax/swing/JComboBox.java
17704 (updateUI): Don't call invalidate().
17705 * javax/swing/JDesktopPane.java
17706 (updateUI): Don't call invalidate().
17707 * javax/swing/JFileChooser.java
17708 (updateUI): Don't call revalidate().
17709 * javax/swing/JMenu.java
17710 (updateUI): Don't call invalidate().
17711 * javax/swing/JMenuBar.java
17712 (updateUI): Don't call invalidate().
17713 * javax/swing/JMenuItem.java
17714 (updateUI): Don't call invalidate().
17715 * javax/swing/JOptionPane.java
17716 (updateUI): Don't call invalidate().
17717 * javax/swing/JPopupMenu.java
17718 (updateUI): Don't call invalidate().
17719 * javax/swing/JProgressBar.java
17720 (updateUI): Don't call invalidate().
17721 * javax/swing/JScrollBar.java
17722 (updateUI): Don't call invalidate() and repaint().
17723 * javax/swing/JScrollPane.java
17724 (updateUI): Rewritten to be like the other updateUI()
17726 * javax/swing/JSlider.java
17727 (updateUI): Don't call invalidate() and repaint().
17728 * javax/swing/JSplitPane.java
17729 (updateUI): Don't call invalidate() and repaint().
17730 * javax/swing/JTabbedPane.java
17731 (updateUI): Don't call invalidate().
17732 * javax/swing/JTable.java
17733 (updateUI): Don't call revalidate() and repaint().
17734 * javax/swing/JToolBar.java
17735 (updateUI): Don't call revalidate() and repaint().
17736 * javax/swing/JToolTip.java
17737 (updateUI): Don't call revalidate() and repaint().
17739 2006-03-13 Roman Kennke <kennke@aicas.com>
17741 * javax/swing/SwingUtilities.java
17742 (updateComponentTreeUI): Rewritten to be more robust. Handling of
17743 menus and non-Swing components is improved.
17744 (updateComponentTreeUIImpl): New helper method.
17745 (replaceUIActionMap): Added check for uiActionMap==parent to
17747 (replaceUIInputMap): Added check for uiInputMap==parent to
17750 2006-03-13 Wolfgang Baer <WBaer@gmx.de>
17752 * gnu/classpath/debug/Component.java:
17753 (IPP) New component for IPP debugging.
17754 (EVERYTHING): Adapted to include IPP.
17755 * javax/print/PrintServiceLookup.java:
17756 (registerServiceProvider): New method.
17757 (registerService): Likewise.
17758 (lookupPrintServices): Likewise.
17759 (lookupMultiDocPrintServices): Likewise.
17760 (lookupDefaultPrintService): Likewise.
17761 (static_initializer): Likewise.
17762 (printServiceLookups): New field for found service providers.
17763 (printServices): New field for application registered providers.
17764 (systemProvider): New field for the system provider.
17765 * javax/print/ServiceUI.java: New file.
17766 * javax/print/package.html: Added more usage content.
17767 * javax/print/event/package.html: Likewise.
17768 * javax/print/attribute/package.html: Likewise.
17769 * javax/print/attribute/standard/package.html: Likewise.
17770 * gnu/javax/print/PrintUriException.java,
17771 gnu/javax/print/PrintFlavorException.java,
17772 gnu/javax/print/PrinterDialog.java,
17773 gnu/javax/print/PrintAttributeException.java,
17774 gnu/javax/print/CupsPrintServiceLookup.java,
17775 gnu/javax/print/CupsServer.java,
17776 gnu/javax/print/CupsPrintService.java,
17777 gnu/javax/print/CupsMediaMapping.java,
17778 gnu/javax/print/CupsIppOperation.java:
17779 New implementation files of the Java Print Service API.
17780 * gnu/javax/print/ipp/IppValueTag.java,
17781 gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
17782 gnu/javax/print/ipp/IppStatusCode.java,
17783 gnu/javax/print/ipp/IppUtilities.java,
17784 gnu/javax/print/ipp/IppResponse.java,
17785 gnu/javax/print/ipp/IppException.java,
17786 gnu/javax/print/ipp/IppPrintService.java,
17787 gnu/javax/print/ipp/IppRequest.java,
17788 gnu/javax/print/ipp/IppMultiDocPrintService.java,
17789 gnu/javax/print/ipp/IppDelimiterTag.java,
17790 gnu/javax/print/ipp/DocPrintJobImpl.java:
17791 New files of the IPP client implementation.
17792 * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
17793 gnu/javax/print/ipp/attribute/StatusMessage.java,
17794 gnu/javax/print/ipp/attribute/RequestedAttributes.java,
17795 gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
17796 gnu/javax/print/ipp/attribute/DocumentAccessError.java,
17797 gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
17798 gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
17799 gnu/javax/print/ipp/attribute/CharsetSyntax.java:
17800 New attribute syntax/role files of the printing implementation.
17801 * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
17802 gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
17803 gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
17804 gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
17805 gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
17806 gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
17807 gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
17808 gnu/javax/print/ipp/attribute/supported/
17809 OrientationRequestedSupported.java,
17810 gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
17811 gnu/javax/print/ipp/attribute/supported/
17812 MultipleDocumentHandlingSupported.java,
17813 gnu/javax/print/ipp/attribute/supported/
17814 MultipleDocumentJobsSupported.java,
17815 gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
17816 gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
17817 gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
17818 gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
17819 gnu/javax/print/ipp/attribute/supported/
17820 GeneratedNaturalLanguageSupported.java,
17821 gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
17822 gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
17823 gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
17824 gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
17825 New supported attribute files.
17826 * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
17827 gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
17828 gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
17829 gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
17830 gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
17831 gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
17832 gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
17833 gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
17834 New printer description attribute files.
17835 * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
17836 gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
17837 gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
17838 gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
17839 gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
17840 gnu/javax/print/ipp/attribute/job/JobId.java,
17841 gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
17842 gnu/javax/print/ipp/attribute/job/JobUri.java,
17843 gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
17844 New job description attribute files.
17845 * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
17846 gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
17847 gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
17848 gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
17849 gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
17850 gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
17851 gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
17852 gnu/javax/print/ipp/attribute/defaults/
17853 MultipleDocumentHandlingDefault.java,
17854 gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
17855 gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
17856 gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
17857 gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
17858 gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
17859 New default printing attribute files.
17860 * resource/gnu/javax/print/PrinterDialog.properties: New file.
17861 * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
17862 * examples/gnu/classpath/examples/print/Demo.java:
17863 New demo application of the current implemented functionality.
17865 2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17867 * java/rmi/activation/ActivationGroupDesc.java: Implemented.
17868 java/rmi/activation/ActivationDesc.java.java,
17869 java/rmi/activation/ActivationGroup.java,
17870 java/rmi/activation/ActivationID.java,
17871 java/rmi/activation/ActivationMonitor.java,
17872 java/rmi/activation/ActivationSystem.java,
17873 java/rmi/activation/package.html: Documenting.
17875 2006-03-13 Roman Kennke <kennke@aicas.com>
17877 * javax/swing/JInternalFrame.java
17878 (setSelected): Repaint frame when it is showing and the selection
17881 2006-03-13 Roman Kennke <kennke@aicas.com>
17883 * javax/swing/AbstractButton.java
17884 (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
17887 2006-03-13 Roman Kennke <kennke@aicas.com>
17889 * javax/accessibility/AccessibleContext.java
17890 (getAccessibleRelationSet): Return empty set instead of null.
17892 2006-03-13 Roman Kennke <kennke@aicas.com>
17894 * javax/swing/ImageIcon.java
17895 (loadImage): Remove completed images from the MediaTracker. This
17896 avoids a potential memory leak.
17898 2006-03-12 Wolfgang Baer <WBaer@gmx.de>
17900 * javax/print/MultiDocPrintService.java,
17901 * javax/print/MultiDocPrintJob.java,
17902 * javax/print/MultiDoc.java: Added and enhanced documentation.
17904 2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
17906 * java/rmi/activation/ActivationID.java (uid): New field.
17907 (writeExternal, readExternal): New methods.
17908 (equals, hashCode): Rewritten.
17909 * java/rmi/activation/ActivationInstantiator.java,
17910 * java/rmi/activation/ActivationSystem.java,
17911 * java/rmi/activation/Activator.java,
17912 * java/rmi/activation/Activatable.java,
17913 * java/rmi/activation/ActivationGroup.java,
17914 * java/rmi/activation/ActivationGroupDesc.java:
17915 Documented and autoformatted.
17916 * java/rmi/activation/package.html: Added content.
17918 2006-03-12 Chris Burdess <dog@gnu.org>
17921 * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
17922 encoding are specified.
17924 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
17926 * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
17927 (changeEvent): Initialise in fireStateChange(),
17928 (setSelectedIndex): Check if change is made before firing event,
17929 (clearSelection): Delegate to setSelectedIndex(),
17930 (fireStateChanged): Initialise changeEvent if necessary,
17931 * javax/swing/SingleSelectionModel.java: API docs all over.
17933 2006-03-11 Tom Tromey <tromey@redhat.com>
17935 * java/util/zip/InflaterInputStream.java: Reverted previous
17938 2006-03-11 Mark Wielaard <mark@klomp.org>
17940 * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
17943 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
17945 * javax/swing/event/TreeSelectionEvent.java
17946 (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
17947 not one of the added/removed paths,
17948 (cloneWithSource): Reformatted.
17950 2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
17952 * javax/swing/tree/TreeCellEditor.java: Added API docs,
17953 * javax/swing/tree/TreeCellRenderer.java: Likewise.
17955 2006-03-10 Casey Marshall <csm@gnu.org>
17958 * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
17960 (doFinal, update): new methods.
17961 (init, init, init, init): initialize `state' after trying the
17962 implementation, which can throw an exception.
17963 * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
17966 2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
17968 * gnu/regexp/BacktrackStack.java: New file.
17969 * gnu/regexp/RE.java(findMatch): New method.
17970 * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
17971 REMatchList): Removed. (backtrackStack): New field.
17972 * gnu/regexp/REToken.java(match): Changed from an abstract
17973 method to an ordinary method defined with the new method
17974 matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
17975 findFixedLengthMatches, backtrack, toString): New methods.
17976 * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
17977 * gnu/regexp/RETokenBackRef.java: Likewise.
17978 * gnu/regexp/RETokenChar.java: Likewise.
17979 * gnu/regexp/RETokenEnd.java: Likewise.
17980 * gnu/regexp/RETokenEndSub.java: Likewise.
17981 * gnu/regexp/RETokenIndependent.java: Likewise.
17982 * gnu/regexp/RETokenLookAhead.java: Likewise.
17983 * gnu/regexp/RETokenLookBehind.java: Likewise.
17984 * gnu/regexp/RETokenNamedProperty.java: Likewise.
17985 * gnu/regexp/RETokenPOSIX.java: Likewise.
17986 * gnu/regexp/RETokenRange.java: Likewise.
17987 * gnu/regexp/RETokenStart.java: Likewise.
17988 * gnu/regexp/RETokenWordBoundary.java: Likewise
17989 * gnu/regexp/RETokenOneOf.java: Rewriten.
17990 * gnu/regexp/RETokenRepeated.java: Rewriten.
17992 2006-03-10 Roman Kennke <kennke@aicas.com>
17994 * javax/swing/plaf/metal/MetalBorders.java
17995 (RolloverButtonBorder.paintBorder): Only call super here.
17996 * javax/swing/plaf/metal/MetalButtonListener.java
17997 (propertyChange): Only call super here.
17998 * javax/swing/plaf/metal/MetalButtonUI.java
17999 (update): Changed condition from isOpaque() to isContentAreaFilled()
18000 for the gradient fill.
18001 * javax/swing/plaf/metal/MetalToggleButtonUI.java
18002 (paintText): API doc fix. Makes paintText not deprecated as specified
18003 but adds comment that this is obsolete.
18004 * javax/swing/plaf/metal/MetalUtils.java
18005 (fillMetalPattern): Fixed condition so that the Java2D is not
18006 used when the noGraphics2D property is set.
18008 2006-03-10 Roman Kennke <kennke@aicas.com>
18010 * javax/swing/plaf/metal/MetalLookAndFeel.java
18011 (createDefaultTheme): Set OceanTheme as default metal theme.
18013 2006-03-10 Roman Kennke <kennke@aicas.com>
18015 * javax/swing/text/WrappedPlainView.java
18016 (metrics): Made field package private to avoid accessor method.
18017 (WrappedLine.paint): Call drawLine with y offset of the font ascent.
18018 The drawLine (righly) interprets the y parameter as the baseline.
18019 * javax/swing/text/Utilities.java
18020 (getBreakLocation): Don't consider the offset. The returned value
18021 for getTabbedTextOffset is already relative to the offset.
18023 2006-03-10 Wolfgang Baer <WBaer@gmx.de>
18025 * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
18026 (dateFormat): Made private.
18027 (put): Replace only the last occurance and the value.
18028 (putAll): Save one iteration. Clarified documentation.
18030 2006-03-10 Tom Tromey <tromey@redhat.com>
18032 * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
18034 * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
18037 2006-03-10 Lillian Angel <langel@redhat.com>
18039 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
18040 (comboboxgroup_get_widget): New function.
18041 (removed): Fixed to use new function to get the correct widget.
18042 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18043 (nativeSetCheckboxGroup): Reverted last patch to use get_widget
18046 2006-03-10 Lillian Angel <langel@redhat.com>
18048 * java/awt/GridBagLayout.java
18049 (ArrangeGrid): Added checks to determine if component
18050 is placed last in a row or column. If so, the location
18051 of the last component should be used to get the location
18052 of the current component.
18054 2006-03-10 Lillian Angel <langel@redhat.com>
18056 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18057 (nativeSetCheckboxGroup): No need to use new function here.
18058 Should just pass in pointer.
18060 2006-03-10 Lillian Angel <langel@redhat.com>
18062 * java/awt/GridBagLayout.java
18063 (distributeSizeAndWeight): Change else if to else. This
18064 allows for components to be added to a new row when
18065 their gridheight is REMAINDER.
18067 2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18069 * java/rmi/activation/ActivationDesc.java,
18070 java/rmi/activation/ActivationGroupID.java,
18071 java/rmi/activation/Activator.java,
18072 java/rmi/server/Operation.java,
18073 java/rmi/server/RemoteServer.java: Documented and formatted.
18075 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
18077 * javax/swing/JToggleButton.java: Fixed API doc tags,
18078 * javax/swing/OverlayLayout.java: Likewise.
18080 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
18082 * javax/swing/DefaultCellEditor.java
18083 (cancelCellEditing): Removed spurious API doc tag.
18085 2006-03-10 Lillian Angel <langel@redhat.com>
18087 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18088 (create): Put checkbox widget into an event box so it paints properly.
18089 (connectSignals): Fixed to use new function.
18090 (nativeSetCheckboxGroup): Likewise.
18091 (gtkToggleButtonSetActive): Likewise.
18092 (gtkWidgetModifyFont): Likewise.
18093 (gtkButtonSetLabel): Likewise.
18094 (combobox_get_widget): New function.
18096 2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
18098 * javax/swing/text/rtf/package.html: New file.
18100 2006-03-10 Roman Kennke <kennke@aicas.com>
18102 * javax/swing/plaf/metal/OceanTheme.java
18103 (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
18104 * javax/swing/plaf/metal/MetalScrollBarUI.java
18105 (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
18106 (paintThumbHorizontal): Added handling of OceanTheme.
18107 (paintThumbVertical): Added handling of OceanTheme.
18109 2006-03-10 Roman Kennke <kennke@aicas.com>
18111 Reported by Fridjof Siebert <siebert@aicas.com>
18112 * java/awt/MediaTracker.java
18113 (removeImage): Only set prev to e when the the images of the
18114 entries are not the same. This avoids a potentially corrupt list.
18116 2006-03-10 Chris Burdess <dog@gnu.org>
18119 * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
18120 checking while reindenting.
18122 2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
18124 * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
18126 2006-03-09 Tom Tromey <tromey@redhat.com>
18128 PR classpath/26585:
18129 * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
18130 subdir. Added README.
18131 (install-data-local): Removed.
18132 (uninstall-local): Likewise.
18133 (EXTRA_DIST): Removed.
18135 2006-03-09 Tom Tromey <tromey@redhat.com>
18137 PR classpath/26623:
18138 * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
18140 * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
18142 * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
18144 * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
18146 * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
18148 * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
18150 * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
18152 * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
18154 * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
18156 * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
18158 * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
18159 * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
18161 2006-03-09 Keith Seitz <keiths@redhat.com>
18163 * gnu/classpath/jdwp/processor/MethodCommandSet.java
18164 (executeVariableTable): Use VMMethod instead of reflection.
18165 (executeLineTable): Likewise.
18166 * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
18167 (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
18168 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
18169 (getLineTable): Removed. Now resides in VMMethod.
18170 (getVarTable): Likewise.
18171 (getAllClassMethods): New method.
18173 2006-03-09 Keith Seitz <keiths@redhat.com>
18175 * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
18176 * gnu/classpath/jdwp/event/ThreadStartEvent.java
18177 (ThreadStartEvent): Likewise.
18178 * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
18179 * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
18180 (ConditionalFilter): Likewise.
18181 * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
18182 (ExceptionOnlyFilter): Likewise.
18183 * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
18184 (FieldOnlyFilter): Likewise.
18185 * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
18186 (getSize): Likewise.
18187 (StepFilter): Likewise.
18188 * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
18189 * gnu/classpath/jdwp/transport/JdwpPacket.java
18190 (JdwpPacket): Likewise.
18191 (fromBytes): Likewise.
18192 * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
18193 (JdwpReplyPacket): Likewise.
18194 * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
18195 * vm/reference/gnu/classpath/jdwp/VMIdManager.java
18196 (getReferenceType): Likewise.
18197 (newObjectId): Likewise.
18198 * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
18199 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
18200 (getFrames): Fix typo in parameter name and update javadoc.
18201 (getClassMethod): Update javadoc.
18203 2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
18205 * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
18206 * javax/swing/event/TreeSelectionListener.java: Likewise.
18208 2006-03-09 Lillian Angel <langel@redhat.com>
18210 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
18211 (getHScrollbarHeight): Fixed property name.
18212 (getVScrollbarHeight): Likewise.
18214 2006-03-09 Lillian Angel <langel@redhat.com>
18216 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18217 (get_widget): New function.
18218 (gtkWidgetSetParent): Changed to use new function.
18219 (gtkWidgetSetCursorUnlocked): Likewise.
18220 (gtkWidgetSetSensitive): Likewise.
18221 (gtkWidgetRequestFocus): Likewise.
18222 (gtkWindowGetLocationOnScreen): Likewise.
18223 (gtkWidgetGetDimensions): Likewise.
18224 (gtkWidgetGetPreferredDimensions): Likewise.
18225 (setNativeBounds): Likewise.
18226 (gtkWidgetGetBackground): Likewise.
18227 (gtkWidgetGetForeground): Likewise.
18228 (gtkWidgetSetBackground): Likewise.
18229 (gtkWidgetSetForeground): Likewise.
18230 (setVisibleNativeUnlocked): Likewise.
18231 (isEnabled): Likewise.
18232 (isRealized): Likewise.
18233 (setNativeEventMask): Likewise.
18235 2006-03-09 Lillian Angel <langel@redhat.com>
18238 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
18239 (create): Added combobox widget to an event box.
18240 (connectSignals): Added call to choice_get_widget to get the
18241 combobox out of the event box.
18242 (append): Likewise.
18243 (nativeRemoveAll): Likewise.
18244 (nativeRemove): Likwise.
18245 (nativeAdd): Likewise.
18246 (selectNative): Likewise.
18247 (choice_get_widget): New function.
18248 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
18249 (create): Added list scroll window widget to an event box.
18250 (connectSignals): Changed call to use new function to get the
18251 correct widget out of the event box.
18252 (getWidgetModifyFont): Likewise.
18253 (getWidgetRequestFocus): Likewise.
18254 (append): Likewise.
18256 (delItems): Likewise.
18257 (select): Likewise.
18258 (deselect): Likewise.
18259 (getSize): Likewise.
18260 (getSelectedIndexes): Likewise.
18261 (makeVisible): Likewise.
18262 (setMultipleMode): Likewise.
18263 (list_get_widget): New function.
18264 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
18265 (create): Added scrollpane to an eventbox.
18266 (setScrollPosition): Changed call to use new function to get the
18267 correct widget out of the event box.
18268 (gtkScrolledWindowSetHScrollIncrement): Likewise.
18269 (gtkScrolledWindowSetVScrollIncrement): Likewise.
18270 (getHScrollbarHeight): Likewise.
18271 (getVScrollbarWidth): Likewise.
18272 (setPolicy): Likewise.
18273 (scrollpane_get_widget): New function.
18274 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
18275 (connectSignals): Changed call to use new function to get the
18276 correct widget out of the event box.
18277 (create): Added scrollbar to an eventbox.
18278 (setLineIncrement): Changed call to use new function to get the
18279 correct widget out of the event box.
18280 (setPageIncrement): Likewise.
18281 (setBarValues): Likewise.
18282 (scrollbar_get_widget): New function.
18283 * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
18284 (create): Added text area scroll window widget to an event box.
18285 (connectSignals): Changed call to use new function to get the
18286 correct widget out of the event box.
18287 (insert): Likewise.
18288 (replaceRange): Likewise.
18289 (gtkWidgetModifyFont): Likewise.
18290 (gtkWidgetRequestFocus): Likewise.
18291 (getHScrollbarHeight): Likewise.
18292 (getVScrollbarWidth): Likewise.
18293 (getCaretPosition): Likewise.
18294 (setCaretPosition):Likewise.
18295 (getSelectionStart): Likewise.
18296 (getSelectionEnd): Likewise.
18297 (select): Likewise.
18298 (setEditable): Likewise.
18299 (getText): Likewise.
18300 (setText): Likewise.
18301 (textarea_get_widget): New function.
18303 2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18305 * java/rmi/dgc/VMID.java:
18306 (equals, hashCode, static initializer): Rewritten.
18307 * java/rmi/dgc/package.html: Documented.
18309 2006-03-09 Mark Wielaard <mark@klomp.org>
18311 * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
18313 (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
18314 (canCache): Likewise.
18315 (GtkClipboard): Take String argument.
18316 (getInstance): Removed.
18317 (getClipboardInstance, getSelectionInstance): New static methods.
18318 (setSystemContents): Make synchronized. Takes boolean argument.
18319 (initNativeState): Add clipboard and selection.
18320 * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
18321 (announceClipboardChange, announcePrimaryChange): New static field.
18322 (announce): Take GtkClipboard as argument.
18323 (run): Check which clipboard to announce change for.
18324 * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
18326 (GtkSelection): Take GtkClipboard as argument.
18327 (requestText, requestImage, requestURIs, requestBytes): Add boolean
18328 clipboard argument.
18329 (requestMimeTypes): Likewise.
18330 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
18332 * java/awt/Toolkit.java (getSystemSelection): Document.
18333 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18334 (cp_gtk_selection_instance): New var.
18335 (current_selection, owner): Removed.
18336 (clipboard_owner_change_cb): Use clipboard argument.
18337 (initNativeState): Store clipboard and selection instances. Cache
18338 setSystemContentsID, provideContentID, provideTextID, provideImageID,
18340 (clipboard_get_func): Use clipboard argument.
18341 (clipboard_clear_func): Likewise. Always call method.
18342 (advertiseContent): Don't cache method ids here. Check whether to
18343 use clpboard or selection. Don't set owner or current_selection.
18344 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
18345 (requestText, requestImage, requestURIs, requestBytes): Use extra
18346 boolean argument to select clipboard.
18347 * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
18348 (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
18349 * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
18350 * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
18352 2006-03-09 Keith Seitz <keiths@redhat.com>
18354 * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
18355 * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
18356 * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
18357 * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
18358 * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
18359 * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
18360 * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
18361 * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
18362 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
18364 2006-03-09 Mark Wielaard <mark@klomp.org>
18366 * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
18367 bounds for index is valid.
18368 * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
18370 (getCellBounds): Update documentation.
18372 2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
18374 * .classpath: added exclude pattern on source folders
18375 (Makefiles, README and .cvsignore)
18377 2006-03-08 Keith Seitz <keiths@redhat.com>
18379 * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
18380 * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
18381 (getClassMethod): New method.
18383 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18385 * java/rmi/server/UID.java (getMachineId): Include the host IP address.
18387 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18389 * java/rmi/server/ObjID.java: Documented and autoformatted.
18391 2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18394 * tools/Makefile.am (install-data-local,
18395 uninstall-local): Install/uninstall the tools/README only.
18396 * tools/gnu/classpath/tools/giop/README: Updated.
18397 * tools/README: New file.
18399 2006-03-08 Lillian Angel <langel@redhat.com>
18401 * java/awt/GridBagLayout.java
18402 (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
18403 then the next item should be set to current_y (not 0).
18405 2006-03-08 Lillian Angel <langel@redhat.com>
18407 * java/awt/GridBagLayout.java
18408 (GetLayoutInfo): If gridy is RELATIVE and there is no component
18409 in the bottom-most spot of the column, we need to place that component
18410 at the y-location of the other components in that row. If there are
18411 no other components in that row, then place it at y = 0.
18413 2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
18415 * javax/swing/ProgressMonitor.java: Updated API docs,
18416 * javax/swing/ProgressMonitorInputStream.java: Likewise.
18418 2006-03-08 Michael Koch <konqueror@gmx.de>
18420 * java/net/InetSocketAddress.java
18421 (InetSocketAddress(String,int,resolve)): New private contructor.
18422 (InetSocketAddress(String,int)): Use new private constructor.
18423 (createUnresolved): New method.
18425 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18427 * java/rmi/server/UID.java (constructor): Assign last and time fields
18430 2006-03-07 Tom Tromey <tromey@redhat.com>
18432 * java/lang/System.java (clearProperty): New method, merged from
18434 (getProperty): Removed 'else'.
18435 (getProperty): Check for empty key.
18436 (setProperty): Likewise.
18437 * gnu/classpath/SystemProperties.java (remove): New method, merged
18438 from generics branch.
18440 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18442 * java/rmi/server/UID.java: New file (replacing).
18444 2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
18446 * java/util/jar/Manifest.java: Removed unused imports.
18447 (CRLF): New constant.
18448 (read): Added method documentation.
18449 Use UTF-8 encoding instead of 8859_1.
18450 (write): Added method documentation.
18451 Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
18452 (write_main_section): Replace PrintWriter arg with OutputStream.
18453 Replace JarException with IOException.
18454 (write_version_info): Likewise.
18455 (write_main_attributes): Likewise.
18456 (write_attribute_entry): Likewise.
18457 (write_individual_sections): Likewise.
18458 (write_entry_attributes): Likewise.
18459 (write_header): Replace PrintWriter arg with OutputStream.
18462 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
18464 * javax/swing/tree/DefaultMutableTreeNode.java
18465 (getFirstChild): Updated API docs,
18466 (getLastChild): Likewise,
18467 (getChildAfter): Likewise,
18468 (getChildBefore): Likewise,
18469 (isNodeSibling): Return true if node == this,
18470 (getSiblingCount): Updated API docs,
18471 (getNextSibling): Likewise,
18472 (getPreviousSibling): Likewise,
18473 (isLeaf): Likewise,
18474 (getFirstLeaf): Likewise,
18475 (getLastLeaf): Likewise,
18476 (getNextLeaf): Implemented,
18477 (getPreviousLeaf): Implemented.
18479 2006-03-07 Tom Tromey <tromey@redhat.com>
18481 * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
18482 * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
18483 * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
18484 * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
18487 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
18489 * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
18490 (clone): Reimplemented,
18491 (add): Throw IllegalArgumentException if child is an ancestor,
18492 (remove(int)): Set child's parent to null,
18493 (remove(MutableTreeNode)): Check arguments and set child's parent to
18495 (insert): Check allowsChildren flag, check for null argument, and
18496 check for a node that is an ancestor,
18497 (getIndex): Throw IllegalArgumentException for null argument,
18498 (setAllowsChildren): If setting to false, remove existing children,
18499 (removeAllChildren): Set parent to null for removed children.
18501 2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
18503 * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
18506 2006-03-06 Tom Tromey <tromey@redhat.com>
18508 * java/lang/StrictMath.java (ulp): New methods.
18509 * java/lang/Math.java (ulp): New methods.
18511 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18513 * gnu/java/rmi/server/UnicastRef.java,
18514 gnu/java/rmi/server/UnicastServer.java: Formatted.
18516 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18518 * gnu/java/rmi/server/CombinedClassLoader.java (findClass,
18519 findLibrary, findResouce, findResources): check all loaders in
18522 2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18525 * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
18526 (RefProtector): new inner class. (dirty): Rewritten.
18527 * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
18528 dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
18529 new methods. (readExternal): Create LeaseRenewingTask if non local.
18530 * gnu/java/rmi/server/UnicastServer.java (objects):
18531 Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
18532 (getExported): New method.
18533 * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
18535 2006-03-06 Mark Wielaard <mark@klomp.org>
18537 * doc/www.gnu.org/announce/20060306.wml: New file.
18538 * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
18539 * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
18541 2006-03-06 Mark Wielaard <mark@klomp.org>
18545 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
18547 * javax/swing/plaf/metal/MetalLookAndFeel.java
18548 (initComponentDefaults): Use Boolean.TRUE for
18549 'CheckBoxMenuItem.borderPainted'.
18551 2006-03-06 Lillian Angel <langel@redhat.com>
18554 * java/awt/List.java
18555 (preferredSize): Return the size of the list if the peer is null.
18556 * gnu/java/awt/peer/gtk/GtkListPeer.java
18557 (preferredSize): Code was returning the minimum size of the list.
18558 Added adjustment to the width of the list so it is a proper size.
18560 2006-03-06 Wolfgang Baer <WBaer@gmx.de>
18562 * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
18563 (getRequestProperty): Remove duplicated null check.
18564 * java/net/URLConnection.java:
18565 (URLConnection): Javadoc fix.
18566 (addRequestProperty): Likewise.
18567 (getDefaultRequestProperty): Likewise.
18568 (getHeaderField): Likewise.
18569 (getHeaderFieldDate): Likewise.
18570 (getHeaderFieldKey): Likewise.
18571 (getHeaderFields): Likewise.
18572 (getRequestProperties): Likewise.
18573 (getRequestProperty): Likewise.
18574 (setDefaultRequestProperty): Likewise.
18575 (setRequestProperty): Likewise.
18577 2006-03-06 Tom Tromey <tromey@redhat.com>
18579 * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
18580 (FORMATTED_TEXT_FIELD): Likewise.
18582 2006-03-06 Tom Tromey <tromey@redhat.com>
18584 * javax/swing/plaf/synth/SynthPainter.java: Finished.
18586 2006-03-06 Mark Wielaard <mark@klomp.org>
18588 Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
18589 * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
18590 (isnan): Define explicitly isnan if it is not a macro.
18592 2006-03-06 Anthony Balkissoon <abalkiss@redhat.com>
18594 * NEWS: Fixed typo.
18596 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
18598 * examples/gnu/classpath/examples/swing/Demo.java:
18599 (mkMenuBar): Added menu entry that will display the VM's name,
18600 version and distributor.
18602 2006-03-06 Tom Tromey <tromey@redhat.com>
18604 * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
18606 (getName): Likewise.
18608 2006-03-06 Mark Wielaard <mark@klomp.org>
18610 * configure.ac (VERSION): Set to 0.91-pre.
18611 * NEWS: Add updates for 0.90 release.
18613 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
18615 * javax/swing/text/PlainDocument.java: Fix copyright header,
18617 (insertUpdate): Do not copy the whole document any more, added some
18618 more variables to prevent needless method calls.
18620 2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
18622 * configure.ac: Check for FREETYPE2. This is a reverted patch and
18623 is required on Darwin.
18624 * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
18625 (AM_CFLAGS): Likewise.
18627 2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
18629 * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
18630 API doc tag warnings,
18631 * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18633 2006-03-06 Dalibor Topic <robilad@kaffe.org>
18635 * gnu/java/net/protocol/file/Connection.java (unquote):
18636 Update position in buffer after decoding a unicode character
18637 outside of the basic plane.
18639 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
18641 * javax/swing/plaf/basic/BasicTextUI.java:
18642 (damageRange): Rewritten if-expressions to correctly identify the
18645 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
18647 * javax/swing/text/DefaultCaret.java:
18648 (mouseDragged): Do selection when shift is pressed.
18649 (mouseClicked): Implemented.
18651 2006-03-06 Dalibor Topic <robilad@kaffe.org>
18653 * libraries/javalib/external/classpath/java/net/URI.java (quote):
18654 Pass Unicode characters outside the basic plane through.
18656 2006-03-06 Robert Schuster <robertschuster@fsfe.org>
18658 * javax/swing/text/PlainDocument.java:
18659 (insertUpdate): Extended if-expression, added
18660 code to generate another Element when newly inserted characters
18661 and old ones will be on the same line.
18663 2006-03-05 Robert Schuster <robertschuster@fsfe.org>
18665 * javax/swing/text/GapContent.java:
18666 (insertString): Throw exception when argument is below
18669 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
18671 * javax/swing/plaf/metal/MetalComboBoxButton.java
18672 (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
18673 JList)): Fixed API doc tag,
18674 * javax/swing/plaf/metal/MetalInternalFrameTitlePane
18675 (createLayout): Fixed API doc warning.
18677 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
18679 * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
18680 * javax/swing/FocusManager.java: Likewise.
18682 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
18684 * javax/swing/undo/StateEditable.java
18685 (restoreState): Fixed bad API doc tag,
18686 * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
18687 AbstractUndoableEdit.java,
18688 * javax/swing/undo/UndoableEditSupport.java
18689 (createCompoundEdit): Fixed bad API doc tag,
18690 * javax/swing/undo/UndoManager.java
18691 (editToBeUndone): Fixed bad API doc tag,
18692 (editToBeRedone): Likewise.
18694 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
18696 * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
18697 and corrected a bad API doc tag.
18699 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
18701 * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
18702 added API docs all over.
18704 2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
18706 * javax/swing/filechooser/FileFilter.java:
18707 (accept): Fixed API doc tag,
18708 (getDescription): Likewise,
18709 * javax/swing/filechooser/FileView.java:
18710 (isTraversable): Fixed API doc tag.
18712 2006-03-05 Tom Tromey <tromey@redhat.com>
18714 * vm/reference/java/lang/reflect/Constructor.java (toString): Use
18715 ClassHelper.getUserName.
18716 * vm/reference/java/lang/reflect/Method.java (toString): Use
18717 ClassHelper.getUserName.
18718 (getUserTypeName): Removed.
18719 * gnu/java/lang/ClassHelper.java (getUserName): New method.
18720 * vm/reference/java/lang/reflect/Field.java (toString): Use
18721 ClassHelper.getUserName.
18723 2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
18726 * java/net/URLClassLoader.java (FileURLLoader.getResource):
18727 Allows directories as valid resources.
18729 2006-03-04 Mark Wielaard <mark@klomp.org>
18731 * configure.ac (VERSION): Set to 0.90-pre.
18733 2006-03-04 Tom Tromey <tromey@redhat.com>
18735 * javax/swing/SpringLayout.java (Constraints): New constructor.
18736 * javax/swing/Spring.java (width): New method.
18737 (height): Likewise.
18740 2006-03-04 Mark Wielaard <mark@klomp.org>
18742 * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
18743 existing connection from pool before returning.
18745 2006-03-04 Mark Wielaard <mark@klomp.org>
18747 * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
18748 exceptions thrown by handlers while cleaning up and rethrow original
18751 2006-03-04 Tom Tromey <tromey@redhat.com>
18753 * java/beans/PropertyDescriptor.java (createPropertyEditor): New
18755 (findConstructor): Likewise.
18756 (instantiateClass): Likewise.
18758 2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
18760 * gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
18761 (dirty): Do not synchronize on Hashtable. Use the passed (requested)
18762 lease value and not always the default one.
18763 (LeaseRecord): Remember the array of objects, marked as dirty.
18764 java/rmi/dgc/Lease.java: Boilerplate fix.
18766 2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
18768 * java/util/jar/Attributes.java (putValue): Made it public and updated
18769 method documentation.
18771 2006-03-04 Mark Wielaard <mark@klomp.org>
18773 * java/awt/Container.java (remove(int)): Always call removeNotify()
18774 on removed Component.
18776 2006-03-04 Mark Wielaard <mark@klomp.org>
18778 Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
18779 * javax/swing/JEditorPane.java (setText): Check for empty String
18780 with equals(), not equality (==).
18782 2006-03-04 Mark Wielaard <mark@klomp.org>
18784 * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
18785 DefaultStyledDocument.ElementSpec for gcj 4.0.x.
18787 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
18789 * javax/swing/text/GapContent.java
18790 (getArray): Mark as final.
18792 2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
18794 * javax/swing/text/StyleConstants.java
18795 (CharacterConstants.Background): Marked final,
18796 (CharacterConstants.BidiLevel): Likewise,
18797 (CharacterConstants.Bold): Likewise,
18798 (CharacterConstants.ComponentAttribute): Likewise,
18799 (CharacterConstants.Family): Likewise,
18800 (CharacterConstants.Size): Likewise,
18801 (CharacterConstants.Foreground): Likewise,
18802 (CharacterConstants.IconAttribute): Likewise,
18803 (CharacterConstants.Italic): Likewise,
18804 (CharacterConstants.StrikeThrough): Likewise,
18805 (CharacterConstants.Subscript): Likewise,
18806 (CharacterConstants.Superscript): Likewise,
18807 (CharacterConstants.Underline): Likewise,
18808 (ColorConstants.Foreground): Likewise,
18809 (ColorConstants.Background): Likewise,
18810 (FontConstants.Bold): Likewise,
18811 (FontConstants.Family): Likewise,
18812 (FontConstants.Italic): Likewise,
18813 (FontConstants.Size): Likewise,
18814 (ParagraphConstants.Alignment): Likewise,
18815 (ParagraphConstants.FirstLineIndent): Likewise,
18816 (ParagraphConstants.LeftIndent): Likewise,
18817 (ParagraphConstants.LineSpacing): Likewise,
18818 (ParagraphConstants.Orientation): Likewise,
18819 (ParagraphConstants.RightIndent): Likewise,
18820 (ParagraphConstants.SpaceAbove): Likewise,
18821 (ParagraphConstants.SpaceBelow): Likewise,
18822 (ParagraphConstants.TabSet): Likewise.
18824 2006-03-03 Tom Tromey <tromey@redhat.com>
18826 * javax/net/ssl/SSLException.java: Added missing @since.
18829 2006-03-03 Tom Tromey <tromey@redhat.com>
18831 * javax/net/ssl/SSLException.java (SSLException): New constructors.
18832 (serialVersionUID): New field.
18834 2006-03-03 Tom Tromey <tromey@redhat.com>
18836 * java/security/spec/InvalidKeySpecException.java
18837 (InvalidKeySpecException): New constructors.
18838 * java/security/cert/CertificateParsingException.java
18839 (CertificateParsingException): New constructors.
18840 * java/security/cert/CertificateEncodingException.java
18841 (CertificateEncodingException): New constructors.
18842 * java/security/cert/CertificateException.java (CertificateException):
18844 * java/security/cert/CRLException.java (CRLException): New
18847 2006-03-03 Tom Tromey <tromey@redhat.com>
18849 * java/security/SignatureException.java (SignatureException): New
18851 * java/security/ProviderException.java (ProviderException): New
18853 * java/security/NoSuchAlgorithmException.java
18854 (NoSuchAlgorithmException): New constructors.
18855 * java/security/KeyStoreException.java (KeyStoreException): New
18857 * java/security/KeyManagementException.java (KeyManagementException):
18859 * java/security/InvalidKeyException.java (InvalidKeyException): New
18861 * java/security/KeyException.java (KeyException): New constructors.
18862 * java/security/InvalidAlgorithmParameterException.java
18863 (InvalidAlgorithmParameterException): New constructors.
18864 * java/security/DigestException.java (DigestException): New
18866 * java/security/GeneralSecurityException.java
18867 (GeneralSecurityException): New constructors.
18869 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
18871 * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
18873 * javax/swing/event/DocumentEvent.java: Likewise,
18874 * javax/swing/event/EventListenerList.java: Likewise,
18875 * javax/swing/event/MenuDragMouseEvent.java: Likewise,
18876 * javax/swing/event/MenuKeyEvent.java: Likewise,
18877 * javax/swing/event/TableColumnModelEvent.java: Likewise,
18878 * javax/swing/event/TreeExpansionEvent.java: Likewise,
18879 * javax/swing/event/TreeModelEvent.java: Likewise,
18880 * javax/swing/event/TreeSelectionEvent.java: Likewise,
18881 * javax/swing/event/UndoableEditEvent.java: Likewise.
18883 2006-03-03 Tom Tromey <tromey@redhat.com>
18885 * java/awt/Insets.java (set): New method.
18886 (equals): Added @since.
18888 2006-03-03 David Daney <ddaney@avtrex.com>
18890 * gnu/java/net/protocol/http/HTTPURLConnection.java
18891 (getRequestProperties): Rewrote.
18892 (addRequestProperty): Rewrote.
18893 (getHeaderFields): Rewrote.
18894 (getHeaderField): Rewrote.
18895 (getHeaderFieldKey): Rewrote.
18896 (getHeaderField): Removed useless cast.
18897 * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
18898 * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
18900 (notifyHeaderHandlers): Use new Headers interface.
18902 2006-03-03 Tom Tromey <tromey@redhat.com>
18904 * javax/naming/NamingException.java (getExplanation): Javadoc fix.
18905 * javax/naming/spi/ResolveResult.java,
18906 javax/naming/event/NamingExceptionEvent.java,
18907 javax/naming/event/NamingEvent.java,
18908 javax/naming/directory/SearchResult.java,
18909 javax/naming/directory/SearchControls.java,
18910 javax/naming/directory/SchemaViolationException.java,
18911 javax/naming/directory/NoSuchAttributeException.java,
18912 javax/naming/directory/ModificationItem.java,
18913 javax/naming/directory/InvalidSearchFilterException.java,
18914 javax/naming/directory/InvalidSearchControlsException.java,
18915 javax/naming/directory/InvalidAttributesException.java,
18916 javax/naming/directory/InvalidAttributeIdentifierException.java,
18917 javax/naming/directory/AttributeModificationException.java,
18918 javax/naming/directory/AttributeInUseException.java,
18919 javax/naming/TimeLimitExceededException.java,
18920 javax/naming/SizeLimitExceededException.java,
18921 javax/naming/PartialResultException.java,
18922 javax/naming/Reference.java,
18923 javax/naming/ServiceUnavailableException.java,
18924 javax/naming/OperationNotSupportedException.java,
18925 javax/naming/NotContextException.java,
18926 javax/naming/NoPermissionException.java,
18927 javax/naming/NoInitialContextException.java,
18928 javax/naming/NameNotFoundException.java,
18929 javax/naming/NameAlreadyBoundException.java,
18930 javax/naming/NameClassPair.java,
18931 javax/naming/MalformedLinkException.java,
18932 javax/naming/LinkLoopException.java,
18933 javax/naming/LinkException.java,
18934 javax/naming/LimitExceededException.java,
18935 javax/naming/InvalidNameException.java,
18936 javax/naming/InterruptedNamingException.java,
18937 javax/naming/InsufficientResourcesException.java,
18938 javax/naming/ContextNotEmptyException.java,
18939 javax/naming/ConfigurationException.java,
18940 javax/naming/CannotProceedException.java,
18941 javax/naming/CommunicationException.java,
18942 javax/naming/Binding.java,
18943 javax/naming/AuthenticationNotSupportedException.java,
18944 javax/naming/AuthenticationException.java: Added serialVersionUID.
18946 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
18948 * javax/swing/event/TableColumnModelEvent.java: Reformatted.
18950 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
18952 * javax/swing/event/TableModelListener.java: Updated API docs.
18954 2006-03-03 Mark Wielaard <mark@klomp.org>
18956 * java/awt/Component.java (addNotify): Expand documentation.
18958 2006-03-03 Mark Wielaard <mark@klomp.org>
18960 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
18961 Always call setParentAndBounds().
18962 (setComponentBounds): Always call setBounds().
18963 (setBounds): Call setVisible().
18964 (setVisible): If no pixels are showing then don't make it visible.
18965 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
18966 to call setParentAndBounds() anymore.
18968 2006-03-03 Roman Kennke <kennke@aicas.com>
18970 * javax/swing/JInternalFrame.java
18971 (JInternalFrame): Set frame invisible.
18972 (show): Reformatted.
18973 * javax/swing/plaf/basic/BasicInternalFrameUI.java
18974 (installDefaults): Do not set invisible here.
18976 2006-03-03 Roman Kennke <kennke@aicas.com>
18978 * java/awt/Toolkit.java
18979 (getScreenInsets): Return (0,0,0,0) here.
18981 2006-03-03 Roman Kennke <kennke@aicas.com>
18983 * javax/swing/text/FlowView.java
18984 (FlowStrategy.layoutRow): Added check for rowCount == 0.
18985 (FlowStrategy.getLogicalView): Made method protected.
18987 2006-03-03 Chris Burdess <dog@gnu.org>
18989 * gnu/xml/validation/relaxng/AnyNameNameClass.java,
18990 gnu/xml/validation/relaxng/AttributePattern.java,
18991 gnu/xml/validation/relaxng/ChoiceNameClass.java,
18992 gnu/xml/validation/relaxng/ChoicePattern.java,
18993 gnu/xml/validation/relaxng/DataPattern.java,
18994 gnu/xml/validation/relaxng/Define.java,
18995 gnu/xml/validation/relaxng/ElementPattern.java,
18996 gnu/xml/validation/relaxng/EmptyPattern.java,
18997 gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
18998 gnu/xml/validation/relaxng/Grammar.java,
18999 gnu/xml/validation/relaxng/GrammarException.java,
19000 gnu/xml/validation/relaxng/GrammarValidator.java,
19001 gnu/xml/validation/relaxng/GroupPattern.java,
19002 gnu/xml/validation/relaxng/InterleavePattern.java,
19003 gnu/xml/validation/relaxng/ListPattern.java,
19004 gnu/xml/validation/relaxng/NSNameNameClass.java,
19005 gnu/xml/validation/relaxng/NameClass.java,
19006 gnu/xml/validation/relaxng/NameNameClass.java,
19007 gnu/xml/validation/relaxng/NotAllowedPattern.java,
19008 gnu/xml/validation/relaxng/OneOrMorePattern.java,
19009 gnu/xml/validation/relaxng/Param.java,
19010 gnu/xml/validation/relaxng/Pattern.java,
19011 gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
19012 gnu/xml/validation/relaxng/RefPattern.java,
19013 gnu/xml/validation/relaxng/TextPattern.java,
19014 gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
19015 builder and data model.
19016 * gnu/xml/validation/xmlschema/AnyAttribute.java,
19017 gnu/xml/validation/xmlschema/AttributeDeclaration.java,
19018 gnu/xml/validation/xmlschema/AttributeUse.java,
19019 gnu/xml/validation/xmlschema/ComplexType.java,
19020 gnu/xml/validation/xmlschema/ElementDeclaration.java,
19021 gnu/xml/validation/xmlschema/Particle.java,
19022 gnu/xml/validation/xmlschema/ValidationException.java,
19023 gnu/xml/validation/xmlschema/XMLSchema.java,
19024 gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
19025 gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
19026 gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
19027 gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
19028 gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
19029 gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
19030 gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
19031 gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
19032 W3C XML Schema builder and schema components.
19033 * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
19034 XML Schema namespace URIs.
19036 2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
19038 * NEWS: Add entry for --enable-collections.
19039 * configure.ac: Add --enable-collections option.
19040 * lib/Makefile.am (collections.jar): New target.
19041 (glibj_DATA): Add $(COLLECTIONS).
19042 * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
19043 configure substitution.
19044 (classpath): Read from command line.
19045 (javautilclasses): Remove BasicMapEntry. Add RandomAccess.
19047 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19049 * javax/swing/SpringLayout.java: Fixed API doc warnings.
19051 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19053 * javax/swing/event/ListSelectionEvent.java
19054 (toString): Implemented,
19055 plus updated API docs all over.
19057 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19059 * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
19061 * javax/swing/event/ListSelectionListener.java: Updated API docs.
19063 2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
19065 * gnu/java/rmi/dgc/DGCImpl.java,
19066 java/rmi/dgc/DGC.java,
19067 java/rmi/dgc/Lease.java: Formatted and commented.
19069 2006-03-03 Roman Kennke <kennke@aicas.com>
19071 * NEWS: Added comment about text highlighting and copy+paste
19074 2006-03-03 Roman Kennke <kennke@aicas.com>
19076 * javax/swing/JTabbedPane.java
19077 (remove(int)): Call super.remove(int) instead of remove(Component).
19078 Avoids a stack overflow.
19080 2006-03-03 Roman Kennke <kennke@aicas.com>
19082 * javax/swing/JTable.java
19083 (distributeSpillResizing): Avoid ArithmeticException by checking
19086 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19088 * javax/swing/text/package.html: Added package description.
19090 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19092 * javax/swing/CellRendererPane.java: Minor API doc fix,
19093 * javax/swing/ComboBoxModel.java: Updated API docs.
19095 2006-03-03 Chris Burdess <dog@gnu.org>
19098 * gnu/xml/stream/EntityReferenceImpl.java,
19099 gnu/xml/stream/FilteredEventReader.java,
19100 gnu/xml/stream/SAXParser.java,
19101 gnu/xml/stream/XIncludeFilter.java,
19102 gnu/xml/stream/XMLEventAllocatorImpl.java,
19103 gnu/xml/stream/XMLEventFactoryImpl.java,
19104 gnu/xml/stream/XMLEventImpl.java,
19105 gnu/xml/stream/XMLEventReaderImpl.java,
19106 gnu/xml/stream/XMLEventWriterImpl.java,
19107 gnu/xml/stream/XMLInputFactoryImpl.java,
19108 gnu/xml/stream/XMLOutputFactoryImpl.java,
19109 gnu/xml/stream/XMLParser.java,
19110 javax/xml/stream/EventFilter.java,
19111 javax/xml/stream/Location.java,
19112 javax/xml/stream/StreamFilter.java,
19113 javax/xml/stream/XMLEventFactory.java,
19114 javax/xml/stream/XMLEventReader.java,
19115 javax/xml/stream/XMLEventWriter.java,
19116 javax/xml/stream/XMLInputFactory.java,
19117 javax/xml/stream/XMLOutputFactory.java,
19118 javax/xml/stream/XMLReporter.java,
19119 javax/xml/stream/XMLResolver.java,
19120 javax/xml/stream/XMLStreamConstants.java,
19121 javax/xml/stream/XMLStreamReader.java,
19122 javax/xml/stream/events/EntityDeclaration.java,
19123 javax/xml/stream/events/EntityReference.java,
19124 javax/xml/stream/events/XMLEvent.java,
19125 javax/xml/stream/util/EventReaderDelegate.java,
19126 javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
19127 StAX API as specified in JWSDP 2.0.
19128 * gnu/xml/stream/EndEntityImpl.java,
19129 gnu/xml/stream/LocationImpl.java,
19130 gnu/xml/stream/StartEntityImpl.java,
19131 gnu/xml/stream/XMLStreamReaderImpl.java,
19132 javax/xml/stream/XMLFilter.java,
19133 javax/xml/stream/XMLIterator.java,
19134 javax/xml/stream/events/EndEntity.java,
19135 javax/xml/stream/events/StartEntity.java: Removed legacy files.
19137 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19139 * javax/swing/CellEditor.java: API doc updates,
19140 * javax/swing/DefaultCellEditor.java: Likewise.
19142 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19144 * javax/swing/AbstractListModel.java:
19145 (AbstractListModel): Added API docs,
19146 (fireContentsChanged): Minor API doc correction,
19147 (fireIntervalAdded): Likewise,
19148 (fireIntervalRemoved): Likewise.
19150 2006-03-03 Roman Kennke <kennke@aicas.com>
19152 * NEWS: Added paragraph about Swing improvements.
19154 2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
19156 * javax/swing/AbstractAction.java: Updated API docs all over,
19157 * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
19158 (stopCellEditing): Minor API doc correction,
19159 * javax/swing/UnsupportedLookAndFeelException.java
19160 (UnsupportedLookAndFeelException): Changed argument name, updated API
19163 2006-03-03 Roman Kennke <kennke@aicas.com>
19165 * javax/swing/plaf/metal/MetalUtils.java
19166 (fillMetalPattern): Added switch to not use Graphics2D methods,
19167 even if they are available.
19169 2006-03-03 Roman Kennke <kennke@aicas.com>
19171 * javax/swing/plaf/basic/BasicHTML.java
19172 (isHTMLString): Check for string beeing null.
19173 * javax/swing/plaf/basic/BasicInternalFrameUI.java
19174 (BasicInternalFrameListener.internalFrameActivated): Implemented.
19175 (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
19176 (InternalFrameLayout): Don't touch the glass pane here.
19177 (installUI): Fix handling of glass pane.
19178 * javax/swing/plaf/basic/BasicLabelUI.java
19182 (BasicLabelUI): Initialize new fields.
19183 (getPreferredSize): Avoid creating new Rectangles by using
19184 SwingUtilities method.
19185 (paint): Avoid creating new Rectangles by reusing
19186 new fields. Added some preliminary handling of HTML inside the
19188 (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
19189 (uninstallComponents): Clear HTML renderer.
19190 (propertyChange): Check for HTML text and install renderer if
19192 * javax/swing/plaf/basic/BasicListUI.java
19193 (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
19195 * javax/swing/plaf/basic/BasicTextUI.java
19196 (RootView.getStartOffset): Implemented.
19197 (RootView.getEndOffset): Implemented.
19198 (RootView.getDocument): Implemented.
19200 2006-03-03 Roman Kennke <kennke@aicas.com>
19202 * javax/swing/text/DefaultStyledDocument.java
19203 (ElementBuffer.inserUpdate): Added check for zero-length
19205 * javax/swing/text/DefaultStyledDocument.java
19206 (setIndex): Improved exception message.
19207 * javax/swing/text/TableView.java
19208 Made class abstract.
19209 (TableRow.replace): Probably extend columnRequirements
19211 (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
19212 of super.layoutMajorAxis.
19213 (columnRequirements): Made field package private.
19214 (TableView): Do not load any child views here.
19215 (layoutColumns): Implemented this method.
19216 (updateColumnRequirements): New helper method.
19217 * javax/swing/text/Utilities.java
19218 (getBreakLocation): Also take offset into account when
19219 finding end location.
19220 * javax/swing/text/html/HTMLDocument.java
19221 (HTMLReader.parseStack): New field.
19222 (HTMLReader.blockOpen): Properly handle p-implied tags.
19223 (HTMLReader.blockClose): Properly handle p-implied and empty tags.
19224 (HTMLReader.addContent): Insert p-implied when adding content to
19226 * javax/swing/text/html/HTMLEditorKit.java
19227 (HTMLFactory.create): Create HTMLTableView for <table> tags and
19228 ParagraphView for TD tags. Print out warning for tags that don't have
19229 matching view yet and create NullView for them.
19230 (read): Only set document base when document != null.
19231 * javax/swing/text/html/HTMLTableView.java:
19234 2006-03-03 Roman Kennke <kennke@aicas.com>
19236 * javax/swing/plaf/basic/BasicHTML.java
19237 (HTMLRootView): New inner class.
19238 (createHTMLView): Embed view inside a HTMLRootView.
19240 2006-03-03 Wolfgang Baer <WBaer@gmx.de>
19242 * gnu/java/net/protocol/jar/Connection.java:
19243 (connect): Throw FileNotFoundException.
19244 (getInputStream): Remove duplicated code.
19246 2006-03-03 Roman Kennke <kennke@aicas.com>
19248 * javax/swing/RepaintManager.java
19249 (commitBuffer): Added null check for clip.
19251 2006-03-02 Lillian Angel <langel@redhat.com>
19253 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
19254 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
19255 to use GtkWidget instead of GTKMenu.
19257 2006-03-02 Lillian Angel <langel@redhat.com>
19259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
19260 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
19261 use the submenu to get the list of children. This now works
19262 in the same way as addItem.
19264 2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
19266 * java/lang/StringBuilder.java:
19267 (codePointAt): New method.
19268 (codePointBefore): Likewise.
19269 (codePointCount): Likewise.
19270 (trimToSize): Likewise.
19272 2006-03-02 Tom Tromey <tromey@redhat.com>
19274 * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
19276 2006-03-02 Tom Tromey <tromey@redhat.com>
19278 * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
19279 (getProviderInstance):
19281 2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
19283 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
19284 Fix regression caused by move to VM variant.
19285 PR classpath/22926.
19287 2006-03-01 Tom Tromey <tromey@redhat.com>
19289 * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
19290 * vm/reference/java/net/VMInetAddress.java: Organized imports.
19291 * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
19292 imports for javadoc.
19293 (getProxyClass): Javadoc fixes.
19294 (getProxyData): Likewise.
19295 (generateProxyClass): Likewise.
19296 * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
19297 (setOut): Likewise.
19298 (setErr): Likewise.
19299 * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
19300 * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
19302 * vm/reference/java/lang/VMClass.java (getComponentType): Import for
19304 (getModifiers): Likewise.
19305 (getDeclaredClasses): Javadoc fix.
19306 (getDeclaredFields): Likewise.
19307 (getDeclaredMethods): Likewise.
19308 (getDeclaredConstructors): Likewise.
19309 * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
19312 2006-03-01 Tom Tromey <tromey@redhat.com>
19314 * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
19315 * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
19316 (getVersion): Javadoc fix.
19318 * gnu/java/net/protocol/http/Headers.java: Organized imports.
19319 * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
19321 2006-03-01 David Daney <ddaney@avtrex.com>
19323 * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
19324 as relative if it contains a colon but no protocol handler can be
19327 2006-03-01 Roman Kennke <kennke@aicas.com>
19329 * javax/swing/text/AbstractDocument.java
19330 (LeafElement.LeafElement): Handle delta with respect to content
19331 length not document length.
19332 * javax/swing/text/CompositeView.java
19333 (getViewIndex): Handle bias correctly.
19334 * javax/swing/text/DefaultCaret.java
19335 (paint): Align caret position to document bounds to avoid trouble
19336 when removing large portions of content.
19337 * javax/swing/text/DefaultStyledDocument.java
19338 (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
19339 (ElementBuffer.createFracture): Copy old childs attribute. The
19340 ElementSpec usually doesn't carry attribute information.
19341 Use pos instead of offset.
19342 (ElementBuffer.insertFracture): Use pos instead of offset.
19343 (createDefaultRootElement): Don't use create* and instead directly
19344 instantiate the elements.
19345 (handleInsertAfterNewline): Compare the paragraphs startOffset
19346 rather than previous paragraphs endOffset.
19347 * javax/swing/text/JTextComponent.java
19348 (getScrollableTracksViewportWidth): Remove unnecessary cast to
19350 (getScrollableTracksViewportHeight): Remove unnecessary cast to
19352 * javax/swing/text/PlainView.java
19353 (damageLineRange): Avoid creating new Rectangle by using
19355 * javax/swing/text/View.java
19356 (forwardUpdate): Correct the use of bias.
19357 (modelToView): Avoid new Rectangles by using SwingUtilities.
19358 (dump): Made (temprorarily) protected for use in BasicTextUI.
19359 (dump(int)): Dump out the element of the view.
19361 2006-03-01 Lillian Angel <langel@redhat.com>
19363 * NEWS: javax.imageio.plugins.bmp implementation.
19365 2006-03-01 Lillian Angel <langel@redhat.com>
19367 * javax/imageio/ImageWriteParam.java:
19368 Added documentation for fields.
19369 * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
19370 New class implemented.
19372 2006-03-01 Tom Tromey <tromey@redhat.com>
19374 * NEWS: Mention java.util.prefs update.
19376 2006-03-01 Tom Tromey <tromey@redhat.com>
19378 * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
19379 * java/nio/charset/UnmappableCharacterException.java:
19380 (serialVersionUID): New field.
19381 * java/nio/charset/MalformedInputException.java:
19382 (serialVersionUID): New field.
19383 * java/nio/charset/CoderMalfunctionError.java:
19384 (serialVersionUID): New field.
19385 * java/nio/charset/CharacterCodingException.java:
19386 (serialVersionUID): New field.
19387 * java/nio/channels/UnsupportedAddressTypeException.java:
19388 (serialVersionUID): New field.
19389 * java/nio/channels/UnresolvedAddressException.java:
19390 (serialVersionUID): New field.
19391 * java/nio/channels/OverlappingFileLockException.java:
19392 (serialVersionUID): New field.
19393 * java/nio/channels/NotYetConnectedException.java:
19394 (serialVersionUID): New field.
19395 * java/nio/channels/NotYetBoundException.java
19396 (serialVersionUID): New field.
19397 * java/nio/channels/NonWritableChannelException.java
19398 (serialVersionUID): New field.
19399 * java/nio/channels/NonReadableChannelException.java
19400 (serialVersionUID): New field.
19401 * java/nio/channels/NoConnectionPendingException.java
19402 (serialVersionUID): New field.
19403 * java/nio/channels/IllegalSelectorException.java
19404 (serialVersionUID): New field.
19405 * java/nio/channels/IllegalBlockingModeException.java
19406 (serialVersionUID): New field.
19407 * java/nio/channels/FileLockInterruptionException.java
19408 (serialVersionUID): New field.
19409 * java/nio/channels/ConnectionPendingException.java
19410 (serialVersionUID): New field.
19411 * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
19413 * java/nio/channels/ClosedChannelException.java (serialVersionUID):
19415 * java/nio/channels/ClosedByInterruptException.java
19416 (serialVersionUID): New field.
19417 * java/nio/channels/CancelledKeyException.java (serialVersionUID):
19419 * java/nio/channels/AsynchronousCloseException.java
19420 (serialVersionUID): New field.
19421 * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
19423 * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
19424 * java/nio/InvalidMarkException.java (serialVersionUID): New field.
19425 * java/nio/BufferUnderflowException.java (serialVersionUID): New
19427 * java/nio/BufferOverflowException.java (serialVersionUID): New field.
19428 * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
19429 Javadoc fix. Added import.
19430 * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
19431 (validOps): Likewise.
19432 * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
19433 * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
19434 * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
19435 * java/nio/channels/Channels.java: Added import.
19436 * java/nio/channels/FileChannel.java (lock): Typo fix.
19437 (tryLock): Likewise.
19439 2006-03-01 Tom Tromey <tromey@redhat.com>
19441 * java/util/prefs/Preferences.java (defaultFactoryClass): Use
19443 * gnu/java/util/prefs/FileBasedPreferences.java: New file.
19444 * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
19446 (putSpi): Likewise.
19447 (newNode): Likewise.
19449 * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
19450 * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
19452 (systemRoot): Use it.
19453 (userPreferences): New field.
19454 (userRoot): Use it.
19456 2006-03-01 Jeroen Frijters <jeroen@frijters.net>
19458 * java/util/ResourceBundle.java
19459 (tryBundle): Catch and ignore all Exceptions.
19461 2006-02-28 Roman Kennke <kennke@aicas.com>
19463 * javax/swing/plaf/basic/BasicScrollBarUI.java
19464 (getPreferredSize): Fixed add a fixed space between the buttons
19465 instead of something related to min/max.
19466 (installComponents): Create and install buttons here.
19467 (installDefaults): Don't create buttons here.
19468 * javax/swing/plaf/metal/MetalScrollBarUI.java
19469 (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
19470 (getPreferredSize): New method.
19472 2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
19474 * examples/gnu/classpath/examples/swing/Demo.java
19475 (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
19476 connected 'Spinner' action to SpinnerDemo,
19477 (mkCheckbox): Removed,
19478 (mkRadio): Likewise,
19479 (mkSpinner): Likewise,
19480 (mkToggle): Likewise,
19481 (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
19482 connected 'Spinner' action to SpinnerDemo.
19484 2006-02-28 Wolfgang Baer <WBaer@gmx.de>
19486 * javax/print/ServiceUIFactory.java: Added documentation to class.
19488 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
19491 * javax/swing/DefaultListSelectionModel.java:
19492 (addSelectionInterval): Return early if either of the arguments is -1.
19493 (removeSelectionInterval): Likewise.
19494 (setSelectionInterval): Likewise.
19496 2006-02-28 Lillian Angel <langel@redhat.com>
19498 * javax/swing/text/DefaultFormatter.java
19499 (stringToValue): Added NPE check.
19501 2006-02-28 Roman Kennke <kennke@aicas.com>
19504 * javax/swing/JList.java
19505 (getPreferredScrollableViewportSize): Restored specified behaviour.
19506 * javax/swing/plaf/metal/MetalFileChooserUI.java
19507 (createList): Set filelist panel's preferredSize, so that it doesn't
19508 get size into infinity for big lists.
19510 2006-02-28 Lillian Angel <langel@redhat.com>
19512 * javax/swing/ViewportLayout.java
19513 (layoutContainer): Should not extend container to be
19514 minimum size. Mauve test shows that the preferred size
19515 and the size of the viewport can be set smaller than
19518 2006-02-28 Lillian Angel <langel@redhat.com>
19521 * javax/swing/JList.java
19522 (getPreferredScrollableViewportSize): Added a check to determine
19523 if orientation is VERTICAL_WRAP. If it is, we should only
19526 2006-02-28 Lillian Angel <langel@redhat.com>
19529 * javax/swing/ViewportLayout.java:
19530 Patch submitted by Audrius Meskauskas
19531 (addLayoutComponent): Added documentation.
19532 (removeLayoutComponent): Likewise.
19533 (preferredLayoutSize): Likewise.
19534 (minimumLayoutSize): Likewise.
19535 (layoutContainer): Fixed code, so view is set
19536 to the right position when inside a scrollpane.
19538 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
19540 * java/math/BigInteger.java:
19541 Committed patch by Rafael:
19542 developer.classpath.org/pipermail/classpath-patches/
19543 2006-February/000473.html
19544 (signum): Return early 0 if words == null and ival == 0.
19545 (readObject): Handle special case of magnitude.length or signum being
19547 (writeObject): If signum is zero return a zero-sized byte[].
19549 2006-02-28 Lillian Angel <langel@redhat.com>
19551 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
19552 (create): Initially set the directory to the current working directory.
19553 (setDirectory): Removed else-if. No need for this check.
19555 2006-02-28 Tom Tromey <tromey@redhat.com>
19557 * .project: Run java builder before header generation.
19559 2006-02-28 Tom Tromey <tromey@redhat.com>
19561 * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
19563 * gnu/java/util/prefs/EventDispatcher.java: New file.
19564 * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
19565 (NodeWriter): Specify UTF-8.
19566 (writeHeader): Emit DOCTYPE.
19567 * java/util/prefs/Preferences.java (getFactory): Add cause to
19569 (exportNode): Documented.
19570 (exportSubtree): Likewise.
19571 (importPreferences): Likewise.
19572 * java/util/prefs/NodeChangeEvent.java (readObject): New method.
19573 (writeObject): Likewise.
19574 * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
19575 (writeObject): Likewise.
19576 * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
19577 (nodeListeners): New field.
19578 (preferenceListeners): Likewise.
19579 (addNodeChangeListener): Implemented.
19580 (addPreferenceChangeListener): Likewise.
19581 (removeNodeChangeListener): Likewise.
19582 (removePreferenceChangeListener): Likewise.
19583 (fire): New methods.
19585 (remove): Likewise.
19586 (purge): Likewise. Fixed synchronization.
19587 (removeNode): Fixed synchronization.
19588 (getNode): Fire event.
19589 (flushNode): Fixed synchronization.
19591 2006-02-28 Roman Kennke <kennke@aicas.com>
19593 * javax/swing/text/BranchElement.java
19594 (startOffset): New field.
19595 (endOffset): New field.
19596 (BranchElement): Initialize new fields.
19597 (getEndOffset): Rewritten to possibly return cached values
19598 if element has no children.
19599 (getStartOffset): Rewritten to possibly return cached values
19600 if element has no children.
19601 * javax/swing/text/LeafElement.java
19602 (startDelta): New field.
19603 (endDelta): New field.
19604 (LeafElement): Handle possible delta of start/endOffset when
19605 these parameters lie outside the document range.
19606 (getStartOffset): Handle possible startDelta.
19607 (getEndOffset): Handle possible startDelta.
19609 2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
19611 * NEWS: Added line about Unicode 4.0.0 support.
19613 2006-02-28 Roman Kennke <kennke@aicas.com>
19615 * javax/swing/SwingUtilities.java
19616 (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
19618 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
19620 * gnu/classpath/debug/Simple1LineFormatter.java: New file.
19622 2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
19624 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
19625 Amended class documentation.
19626 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
19628 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
19629 a BIT STRING construct.
19630 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
19632 (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
19634 (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
19635 a BIT STRING construct.
19636 * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
19637 (engineVerify): Added logging.
19639 2006-02-28 Roman Kennke <kennke@aicas.com>
19641 * java/awt/Component.java
19642 (dispatchEventImpl): Let the Toolkit dispatch global events.
19643 * java/awt/Container.java
19644 (dispatchEventImpl): Let the LightweightDispatcher handle events
19646 * java/awt/EventQueue.java
19647 (dispatchEvent): Don't do the global event dispatching here. This
19648 is moved to the Component.
19649 (globalDispatchEvent): Moved this method to Toolkit.
19650 * java/awt/LightweightDispatcher.java
19651 (instances): New field.
19652 (getInstance): New method. Delivers an instance of
19653 LightweightDispatcher.
19654 (LightweightDispatcher): Made default constructor private.
19655 (dispatchEvent): New method. Replaces the eventDispatched method.
19656 This now returns true when the event was actually dispatched.
19657 (eventDispatched): Replaced by dispatchEvent.
19658 (handleMouseEvent): Send MOUSE_CLICKED to the same component that
19659 received the last MOUSE_RELEASED.
19660 * java/awt/Toolkit.java
19661 (Toolkit): Don't register LightweightDispatcher as global event
19663 (globalDispatchEvent): Moved here from EventQueue.
19665 2006-02-27 David Daney <ddaney@avtrex.com>
19668 * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
19670 (getRequestProperties): Rewrote.
19672 2006-02-27 David Daney <ddaney@avtrex.com>
19675 * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
19677 (ChunkedInputStream): Extend InputStream.
19679 (headers): Moved to top of class.
19680 (constructor): Save referenct to in.
19681 (read(byte[])): Removed method.
19682 (read(byte[], int, int)): Made synchronized and throw IOException
19683 on error parsing chunk header.
19684 (available): New method.
19685 (close): New method.
19687 2006-02-27 David Daney <ddaney@avtrex.com>
19689 * gnu/java/net/protocol/http/HTTPURLConnection.java
19690 (imports): Cleaned up.
19691 (GetHTTPPropertiesAction): Removed, and moved contents to ...
19692 (constructor): ... Here, using SystemProperties instead of System.
19694 2006-02-27 Lillian Angel <langel@redhat.com>
19696 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
19697 (setDirectory): GtkFileChooser requires an absolute directory
19698 name. Added a check to make the directory passed to nativeSetDirectory
19701 2006-02-27 Roman Kennke <kennke@aicas.com>
19703 * javax/swing/SwingUtilities.java
19704 (computeIntersection): Changed to store result in rect, instead of
19705 creating new Rectangle instances. Fixed API docs accordingly.
19706 (computeUnion): Changed to store result in rect, instead of
19707 creating new Rectangle instances. Fixed API docs accordingly.
19709 2006-02-27 Roman Kennke <kennke@aicas.com>
19711 * javax/swing/JViewport.java
19712 (static_init): Changed default scrollmode to BLIT.
19713 (paintSimple): Added some clipping to avoid painting problems.
19714 (paintBlit): Added some clipping to avoid painting problems.
19716 2006-02-27 Roman Kennke <kennke@aicas.com>
19718 * javax/swing/JComponent.java
19719 (rectCache): Made field static to save memory.
19720 (getVisibleRect): Don't use rectCache and create new Rectangle
19722 (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
19723 (repaint(long,int,int,int,int)): Directly call
19724 RepaintManager.addDirtyRegion(). The visibleRect check is now
19725 performed in the RepaintManager.
19727 2006-02-27 Roman Kennke <kennke@aicas.com>
19729 * javax/swing/RepaintManager.java
19730 (currentRepaintManagers): Made field private.
19731 (rectCache): New field.
19732 (addDirtyRegion): Clip dirty rectangle with visible rectangle of
19733 component. Changed Rectangle handling to avoid unnecessary new
19734 Rectangle instances.
19735 (getOffscreenBuffer): Create buffer with size of the root window.
19736 Respect the maximum buffer size here.
19737 (commitBuffer): Align the regions so that they are inside the buffer
19738 image and inside the clip. This avoids problems with a bug in GTKImage.
19739 Fixed Rectangle handling to avoid creation of new Rectangle instances.
19741 2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
19743 * native/fdlibm/e_acos.c,
19744 * native/fdlibm/e_asin.c,
19745 * native/fdlibm/e_atan2.c,
19746 * native/fdlibm/e_cosh.c,
19747 * native/fdlibm/e_exp.c,
19748 * native/fdlibm/e_fmod.c,
19749 * native/fdlibm/e_hypot.c,
19750 * native/fdlibm/e_log.c,
19751 * native/fdlibm/e_log10.c,
19752 * native/fdlibm/e_rem_pio2.c,
19753 * native/fdlibm/e_remainder.c,
19754 * native/fdlibm/e_sinh.c,
19755 * native/fdlibm/e_sqrt.c,
19756 * native/fdlibm/k_cos.c,
19757 * native/fdlibm/k_sin.c,
19758 * native/fdlibm/k_tan.c,
19759 * native/fdlibm/s_atan.c,
19760 * native/fdlibm/s_cbrt.c,
19761 * native/fdlibm/s_ceil.c,
19762 * native/fdlibm/s_copysign.c,
19763 * native/fdlibm/s_cos.c,
19764 * native/fdlibm/s_expm1.c,
19765 * native/fdlibm/s_fabs.c,
19766 * native/fdlibm/s_finite.c,
19767 * native/fdlibm/s_floor.c,
19768 * native/fdlibm/s_log1p.c,
19769 * native/fdlibm/s_rint.c,
19770 * native/fdlibm/s_scalbn.c,
19771 * native/fdlibm/s_sin.c,
19772 * native/fdlibm/s_tan.c,
19773 * native/fdlibm/s_tanh.c:
19774 Fixed to call our macros rather than __HI and __LO.
19775 * native/fdlibm/fdlibm.h:
19776 Reintroduced previous extraction code.
19777 (EXTRACT_WORDS(ix0,ix1,d)): Readded.
19778 (GET_HIGH_WORD(i,d)): Readded.
19779 (GET_LOW_WORD(i,d)): Readded.
19780 (INSERT_WORDS(d,ix0,ix1)): Readded.
19781 (SET_HIGH_WORD(d,i)): Readded.
19782 (SET_LOW_WORD(d,i)): Readded.
19783 * native/jni/gtk-peer/gthread-jni.c:
19784 Use Glib macros to convert integers/pointers portably.
19786 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
19788 * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
19789 as the fallback SPI.
19790 * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
19791 ones referencing GNU-CRYPTO classes.
19792 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
19793 (engineValidate): Use GNU-CRYPTO class.
19794 * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
19795 * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
19796 * gnu/java/security/provider/DSAKeyFactory: Likewise.
19797 * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
19798 * gnu/java/security/provider/DSAParameters: Likewise.
19799 * gnu/java/security/provider/DSASignature: Likewise.
19800 * gnu/java/security/provider/EncodedKeyFactory: Likewise.
19801 * gnu/java/security/provider/GnuDHPublicKey: Likewise.
19802 * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
19803 * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
19804 * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
19805 * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
19806 * gnu/java/security/provider/MD2withRSA: Likewise.
19807 * gnu/java/security/provider/MD4withRSA: Likewise.
19808 * gnu/java/security/provider/MD5: Likewise.
19809 * gnu/java/security/provider/MD5withRSA: Likewise.
19810 * gnu/java/security/provider/RSA: Likewise.
19811 * gnu/java/security/provider/RSAKeyFactory: Likewise.
19812 * gnu/java/security/provider/SHA: Likewise.
19813 * gnu/java/security/provider/SHA1PRNG: Likewise.
19814 * gnu/java/security/provider/SHA1withRSA: Likewise.
19815 * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
19817 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
19819 * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
19820 (engineGeneratePublic): Added logging.
19821 (engineGeneratePrivate): Likewise.
19822 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
19823 (encodePublicKey): Added logging.
19824 Clarified in method documentation that params is optional, but is
19825 always NULL if present.
19826 (decodePublicKey): Added logging.
19827 Handle optional NULL element.
19829 2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
19831 * java/util/logging/FileHandler.java: Fixed a javadoc reference.
19833 2006-02-25 Chris Burdess <dog@gnu.org>
19835 * gnu/java/net/CRLFInputStream.java,
19836 gnu/java/net/LineInputStream.java: Streams that use mark
19837 capabilities on the underlying stream do not expose mark
19838 functionality themselves.
19839 * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
19842 2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
19844 * gnu/regexp/REMatch.java(matchFlags): New int field used as
19845 option flags passed to match methods.
19846 (MF_FIND_ALL): New flag.
19847 * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
19848 do not try other possibilties once a match is found.
19849 * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
19850 so that all possibilities can be found.
19851 (match): Rewritten using new methods matchMinimum and _match.
19852 (_match): New method which performs a depth-first recursive search.
19853 (matchMinimum): New method.
19854 (initVisited), (visitedContains), (addVisited): New methods for
19855 manipulating an array of icharacter positions which _match has
19858 2006-02-24 David Daney <ddaney@avtrex.com>
19861 * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
19863 (Pool): New inner class.
19864 (timeLastUsed): New field.
19865 (setPool): Changed parameter type to Pool.
19866 (release): Moved pool management logic to new class Pool.
19867 * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
19869 (maxConnections) : Removed.
19870 (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
19871 (getConnection): Moved pool management logic to HTTPConnection.Pool.
19873 2006-02-24 Lillian Angel <langel@redhat.com>
19875 * java/awt/Container.java:
19876 Added new field. True if Container has been cleared and
19877 heavyweights need to be repainted.
19878 (paint): Fixed comment. Fixed to use backCleared and
19880 (update): Set backCleared to true after the background
19881 of the container has been cleared.
19883 2006-02-24 Lillian Angel <langel@redhat.com>
19885 * java/awt/TextField.java
19886 (addNotify): Added call to super.
19888 2006-02-24 Lillian Angel <langel@redhat.com>
19890 * java/awt/Component.java
19891 (reshape): Reverted last patch. Should have check here.
19892 (addNotify): Added check. If parent is lightweight, then
19893 initialize listener on the parent.
19894 (HeavyweightInLightweightListener): New class.
19896 2006-02-24 Roman Kennke <kennke@aicas.com>
19898 * javax/swing/plaf/basic/BasicComboPopup.java
19899 (show): Register the popup with the autocloser after it has been
19900 opened completely, by putting the registration on the eventqueue.
19902 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
19904 * gnu/java/security/prng/BasePRNG.java:
19905 (clone()): Added cast of buffer to byte[].
19906 * gnu/javax/crypto/mac/TMMH16.java:
19907 (clone()): Fixed casting of cloned arrays.
19908 * native/fdlibm/fdlibm.h:
19909 Added missing defines from old fdlibm.h needed by Darwin.
19910 (GET_FLOAT_WORD(i,d)): Re-added.
19911 (SET_FLOAT_WORD(d,i)): Re-added.
19913 2006-02-24 Roman Kennke <kennke@aicas.com>
19915 * java/awt/Container.java:
19916 (dispatcher): Removed field.
19917 (dispatchEventImpl): Removed lightweight dispatching.
19918 (addNotifyContainerChildren): Removed LightweightDispatcher
19920 (LightweightDispatcher): Removed class.
19921 * java/awt/LightweightDispatcher.java: New class.
19922 * java/awt/Toolkit.java
19923 (Toolkit): Install LightweightDispatcher in global listener
19926 2006-02-24 Chris Burdess <dog@gnu.org>
19929 * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
19932 2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
19934 * NEWS: Mentions the VMMath runtime changes.
19935 * doc/vmintegration.texinfo: Updated to include
19938 2006-02-24 Roman Kennke <kennke@aicas.com>
19940 * javax/swing/plaf/basic/BasicLookAndFeel.java
19941 (PopupHelper.autoClosePopups): New field.
19942 (PopupHelper.mousePressed): Also autoclose any registered popups.
19943 (PopupHelper.registerForAutoClose): New method.
19944 (PopupHelper.autoClosePopups): New method.
19945 (popupHelper): Changed type of field to PopupHelper.
19946 (registerForAutoClose): New method.
19947 * javax/swing/plaf/basic/BasicComboPopup.java
19948 (show): Register this popup for autoclosing.
19950 2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
19952 * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
19953 * gnu/java/security/prng/MDGenerator.java (clone): New method.
19954 * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
19956 2006-02-24 Roman Kennke <kennke@aicas.com>
19958 Reported by Ingo Proetel <proetel@aicas.com>
19959 * java/util/logging/LogManager.java
19960 (addLogger): Search the parent loggers for log level
19961 configuration and inherit that.
19962 (readConfiguration): Provide minimal default configuration
19963 if no configuration can be found otherwise.
19965 2006-02-23 Roman Kennke <kennke@aicas.com>
19967 * javax/swing/JRootPane.java
19968 (isOptimizedDrawingEnabled): Implemented to return true
19969 when the glassPane is not visible.
19971 2006-02-23 Roman Kennke <kennke@aicas.com>
19973 * javax/swing/plaf/basic/BasicLookAndFeel.java
19974 (PopupHelper): New inner class.
19975 (popupHelper): New field.
19976 (initialize): New method.
19977 (uninitialize): New method.
19978 * javax/swing/plaf/basic/BasicPopupMenuUI.java
19979 (mouseInputListener): Removed field.
19980 (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
19981 handling of GlassPane.
19982 (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
19983 handling of GlassPane.
19984 (MouseInputHandler): Removed class.
19986 2006-02-23 Roman Kennke <kennke@aicas.com>
19988 * java/awt/AWTEvent.java
19989 (eventIdToMask): New utility method.
19990 * java/awt/EventQueue.java
19991 (dispatchEvent): Also globally dispatch events via the toolkit.
19992 (globalDispatchEvent): New method.
19993 * java/awt/Toolkit.java
19994 (awtEventListeners): New field.
19995 (Toolkit()): Initialize new field.
19996 (createComponent): Create GLightweightPeer here.
19997 (addAWTEventListener): Implemented and documented.
19998 (removeAWTEventListener): Implemented and documented.
19999 (getAWTEventListeners): Implemented and documented both method
20001 * java/awt/event/AWTEventListenerProxy.java
20002 (eventDispatched): Don't filter events here.
20004 2006-02-23 Chris Burdess <dog@gnu.org>
20007 * gnu/xml/dom/DomDocumentBuilderFactory.java,
20008 gnu/xml/dom/JAXPFactory.java,
20009 gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
20010 javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
20011 implement DocumentBuilderFactory.get/setFeature methods.
20013 2006-02-23 Lillian Angel <langel@redhat.com>
20015 * gnu/java/awt/peer/GLightweightPeer.java
20016 (repaint): Scott's proposed fix. Send repaint to the
20017 component's parent.
20018 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20019 (setBounds): Removed next_parent, not needed. Removed
20020 lightweightChild, we always need to compensate for the
20022 * java/awt/Component.java
20023 (setBounds): Removed check. Caused lots of problems, because some
20024 components were not being invalidated. Components should be
20025 invalidated when they are resized or moved, and in some cases,
20026 when a parent is resized/moved, the components do not know
20027 about it and do not adjust.
20028 * java/awt/Graphics.java
20029 (hitClip): Scott's proposed fix. Added check to handle a
20032 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
20034 * javax/print/attribute/standard/MediaSize.java:
20035 (media): Field renamed to mediaName for serialization.
20036 (MediaSize): Adapted to new fieldname.
20037 (getMediaSizeName): Likewise.
20038 * javax/print/attribute/HashAttributeSet.java:
20039 (interfaceName): Field renamed to myInterface for serialization.
20040 (HashAttributeSet): Adapted to the new fieldname.
20042 (addAll): Likewise.
20043 (addInternal): Likewise.
20044 (attributeMap): Made transient.
20045 (readObject): New serialization method.
20046 (writeObject): Likewise.
20047 * javax/print/attribute/AttributeSetUtilities.java:
20048 (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
20049 (SynchronizedAttributeSet.add): Adapted to the new fieldname.
20050 (SynchronizedAttributeSet.addAll): Likewise.
20051 (SynchronizedAttributeSet.clear): Likewise.
20052 (SynchronizedAttributeSet.containsKey): Likewise.
20053 (SynchronizedAttributeSet.containsValue): Likewise.
20054 (SynchronizedAttributeSet.equals): Likewise.
20055 (SynchronizedAttributeSet.get): Likewise.
20056 (SynchronizedAttributeSet.hashCode): Likewise.
20057 (SynchronizedAttributeSet.isEmpty): Likewise.
20058 (SynchronizedAttributeSet.remove): Likewise.
20059 (SynchronizedAttributeSet.size): Likewise.
20060 (SynchronizedAttributeSet.toArray): Likewise.
20061 (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
20062 (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
20063 (UnmodifiableAttributeSet.addAll): Likewise.
20064 (UnmodifiableAttributeSet.clear): Likewise.
20065 (UnmodifiableAttributeSet.containsKey): Likewise.
20066 (UnmodifiableAttributeSet.containsValue): Likewise.
20067 (UnmodifiableAttributeSet.equals): Likewise.
20068 (UnmodifiableAttributeSet.get): Likewise.
20069 (UnmodifiableAttributeSet.hashCode): Likewise.
20070 (UnmodifiableAttributeSet.isEmpty): Likewise.
20071 (UnmodifiableAttributeSet.remove): Likewise.
20072 (UnmodifiableAttributeSet.size): Likewise.
20073 (UnmodifiableAttributeSet.toArray): Likewise.
20074 * javax/print/attribute/standard/MediaPrintableArea.java:
20075 (width): Field renamed to w for serialization.
20076 (height): Field renamed to h for serialization.
20077 (MediaPrintableArea): Adapted to the new fieldnames.
20078 (MediaPrintableArea): Likewise.
20079 (equals): Likewise.
20080 (hashCode): Likewise.
20081 (getHeight): Likewise.
20082 (getWidth): Likewise.
20084 2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
20086 * include/java_lang_VMMath.h:
20087 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
20088 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
20089 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
20090 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
20091 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
20092 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
20093 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
20094 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
20095 * java/lang/Math.java:
20096 (cbrt(double)): Implemented.
20097 (cosh(double)): Implemented.
20098 (expm1(double)): Implemented.
20099 (hypot(double,double)): Implemented.
20100 (log10(double)): Implemented.
20101 (log1p(double)): Implemented.
20102 (signum(double)): Implemented.
20103 (signum(float)): Implemented.
20104 (sinh(double)): Implemented.
20105 (tanh(double)): Implemented.
20106 * native/fdlibm/Makefile.am:
20107 Added new files from fdlibm 5.3.
20108 * native/fdlibm/e_acos.c,
20109 * native/fdlibm/e_asin.c,
20110 * native/fdlibm/e_atan2.c,
20111 * native/fdlibm/e_exp.c,
20112 * native/fdlibm/e_fmod.c,
20113 * native/fdlibm/e_log.c,
20114 * native/fdlibm/e_rem_pio2.c,
20115 * native/fdlibm/e_remainder.c,
20116 * native/fdlibm/e_scalb.c,
20117 * native/fdlibm/e_sqrt.c,
20118 * native/fdlibm/k_cos.c,
20119 * native/fdlibm/k_rem_pio2.c,
20120 * native/fdlibm/k_sin.c,
20121 * native/fdlibm/k_tan.c,
20122 * native/fdlibm/s_atan.c,
20123 * native/fdlibm/s_ceil.c,
20124 * native/fdlibm/s_copysign.c,
20125 * native/fdlibm/s_cos.c,
20126 * native/fdlibm/s_fabs.c,
20127 * native/fdlibm/s_finite.c,
20128 * native/fdlibm/s_floor.c,
20129 * native/fdlibm/s_rint.c,
20130 * native/fdlibm/s_scalbn.c,
20131 * native/fdlibm/s_sin.c,
20132 * native/fdlibm/s_tan.c,
20133 * native/fdlibm/w_acos.c,
20134 * native/fdlibm/w_asin.c,
20135 * native/fdlibm/w_atan2.c,
20136 * native/fdlibm/w_acos.c,
20137 * native/fdlibm/w_exp.c,
20138 * native/fdlibm/w_fmod.c,
20139 * native/fdlibm/w_log.c,
20140 * native/fdlibm/w_pow.c,
20141 * native/fdlibm/w_remainder.c,
20142 * native/fdlibm/w_sqrt.c:
20143 Updated to fdlibm 5.3.
20144 * native/fdlibm/e_cosh.c,
20145 * native/fdlibm/e_hypot.c,
20146 * native/fdlibm/e_log10.c,
20147 * native/fdlibm/e_sinh.c,
20148 * native/fdlibm/s_cbrt.c,
20149 * native/fdlibm/s_expm1.c,
20150 * native/fdlibm/s_log1p.c,
20151 * native/fdlibm/s_tanh.c,
20152 * native/fdlibm/w_cosh.c,
20153 * native/fdlibm/w_hypot.c,
20154 * native/fdlibm/w_log10.c,
20155 * native/fdlibm/w_sinh.c:
20156 Imported from fdlibm 5.3.
20157 * native/fdlibm/fdlibm.h:
20158 Imported from fdlibm 5.3 with Classpath additions.
20159 * native/fdlibm/namespace.h:
20160 Updated from new math_symbols file.
20161 * native/jni/java-lang/java_lang_VMMath.c:
20162 (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
20163 (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
20164 (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
20165 (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
20167 (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
20168 (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
20169 (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
20170 (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
20171 * scripts/math_symbols:
20172 Added tanh, expm1, log10 and log1p.
20173 * vm/reference/java/lang/VMMath.java:
20174 (cbrt(double)): Implemented.
20175 (cosh(double)): Implemented.
20176 (expm1(double)): Implemented.
20177 (hypot(double,double)): Implemented.
20178 (log10(double)): Implemented.
20179 (log1p(double)): Implemented.
20180 (sinh(double)): Implemented.
20181 (tanh(double)): Implemented.
20183 2006-02-23 Wolfgang Baer <WBaer@gmx.de>
20185 * javax/print/DocFlavor.java: Added documentation all over.
20186 (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
20187 (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
20188 (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
20189 (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
20190 (URL.TEXT_HTML_HOST): Likewise.
20191 (URL.TEXT_PLAIN_HOST): Likewise.
20192 (hostEncoding): Initialize with host default charset encoding.
20193 (mediaSubtype): Made transient.
20194 (mediaType): Likewise.
20195 (params): Made transient. Changed type to TreeMap.
20196 (className): Removed, changed to myClassName.
20197 (myClassName): New field as defined in serialized form.
20198 (DocFlavor): Adapted to new variable types, names.
20199 (parseMimeType): Reimplemented.
20200 (getParameter): Search with lowercase name.
20201 (getRepresentationClassName): Adapted to changed variable name.
20202 (hashCode): Likewise.
20203 (toString): Reimplemented.
20204 (readObject): New method for serialization.
20205 (writeObject): Likewise.
20207 2006-02-23 Roman Kennke <kennke@aicas.com>
20209 * javax/swing/RepaintManager.java
20210 (commitBuffer): Clip the repaint area with the current clip.
20212 2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
20214 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
20215 (DEFAULT_PRIME_SIZE): Made public.
20216 (DEFAULT_EXPONENT_SIZE): Likewise.
20217 (setup): Handle DHParameterSpec as well.
20218 * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
20219 defaultFormat instead of Raw.
20220 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
20221 (checkIsConstructed): Removed.
20222 (checkIsBigInteger): Likewise.
20223 (decodePublicKey): Use DerUtil.
20224 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
20225 (checkIsConstructed): Removed.
20226 (checkIsBigInteger): Likewise.
20227 (decodePrivateKey): Use DerUtil.
20228 * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
20230 Added mappings for AlgorithmParameters.DH and
20231 AlgorithmParameterGenerator.DH.
20232 * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
20233 * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
20234 * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
20235 * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
20237 (engineGeneratePublic): Likewise.
20238 * gnu/java/security/util/DerUtil.java: New file.
20239 * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
20240 Include only valid RSA PKCS1 (v1.5) signature names.
20241 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
20242 (RSAPKCS1V1_5SignatureX509Codec): Removed.
20243 (checkIsConstructed): Likewise.
20244 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
20245 (checkIsConstructed): Removed.
20246 (checkIsBigInteger): Likewise.
20247 (decodeSignature): Use DerUtil.
20248 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
20249 (checkIsConstructed): Removed.
20250 (checkIsBigInteger): Likewise.
20251 (decodePublicKey): Use DerUtil.
20252 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
20253 (checkIsConstructed): Removed.
20254 (checkIsBigInteger): Likewise.
20255 (decodePrivateKey): Use DerUtil.
20256 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
20257 (checkIsConstructed): Removed.
20258 (checkIsBigInteger): Likewise.
20259 (decodePublicKey): Use DerUtil.
20260 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
20261 (checkIsConstructed): Removed.
20262 (checkIsBigInteger): Likewise.
20263 (decodePrivateKey): Use DerUtil.
20264 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
20265 (DEFAULT_MODULUS_LENGTH): Made it public.
20266 * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
20267 defaultFormat instead of Raw.
20268 * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
20269 * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
20270 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
20272 (engineGeneratePublic): Likewise.
20273 * gnu/javax/crypto/DiffieHellmanImpl: Removed.
20275 2006-02-22 Mark Wielaard <mark@klomp.org>
20277 * java/awt/Checkbox.java (setState): Check that state actually changed
20278 before calling peer.
20279 (dispatchEventImpl): Set new state if ItemEvent.
20280 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
20281 (create): Set currentState.
20282 (setState): Make synchronized, check and set currentState before
20283 calling gtkToggleButtonSetActive.
20284 (postItemEvent): Make synchronized, check and set currentState before
20286 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
20287 (postItemEventID): Method now takes boolean.
20288 (item_toggled_cb): Likewise.
20290 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
20292 * javax/swing/text/DefaultHighlighter.java:
20293 (changeHighlight): Added code to minimize the damaged area.
20295 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
20297 * javax/swing/text/PlainView.java:
20298 (getPreferredSpan): Added missing 'break'.
20299 statement which corrects an unwanted fall through.
20300 (updateDamage): Update maxLineLength correctly when text is
20301 removed, call preferenceChanged accordingly.
20302 (viewToModel): Restrict line number to be within 0 and the
20303 number of elements-1.
20305 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
20307 * javax/swing/text/Utilities.java:
20308 (getPositionAbove): Prefer first value by changing comparison
20310 (getPositionBelow): Dito.
20312 2006-02-22 Robert Schuster <robertschuster@fsfe.org>
20314 * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
20315 behavior when magic caret position is null.
20317 2006-02-22 Roman Kennke <kennke@aicas.com>
20319 * javax/swing/JTextField.java
20320 (isValidateRoot): New method.
20322 2006-02-22 Roman Kennke <kennke@aicas.com>
20324 * javax/swing/JEditorPane.java
20325 (getPreferredSize): Rewritten to behave like the reference impl.
20326 (getScrollableTracksViewportWidth): Likewise.
20327 (getScrollableTracksViewportHeight): Likewise.
20329 2006-02-22 Roman Kennke <kennke@aicas.com>
20331 * javax/swing/RepaintManager.java
20332 (addInvalidComponent): Also consider the component itself.
20334 2006-02-22 Mark Wielaard <mark@klomp.org>
20336 * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
20337 qualify AbstractDocument.AttributeContext.
20338 (blockOpen): Likewise.
20340 2006-02-21 Mark Wielaard <mark@klomp.org>
20342 * java/awt/Component.java (translateEvent): Translate
20343 AdjustmentEvents to 1.0 Events.
20344 * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
20345 Call setValue() before processing event.
20346 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
20347 whether we are currently changing and being called back from the
20348 Scrollbar component.
20349 (setBarValues): New native method.
20350 (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
20351 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
20352 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
20353 Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
20354 * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
20356 2006-02-21 Roman Kennke <kennke@aicas.com>
20358 * javax/swing/text/View.java
20359 (setParent): Set child parent to null when disconnecting
20360 the view from the View hierarchy.
20362 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
20364 * javax/print/StreamPrintService.java: Added and enhanced documentation.
20366 2006-02-21 Roman Kennke <kennke@aicas.com>
20368 * javax/swing/text/WrappedPlainView.java
20369 (calculateBreakPosition): Changed to use the view's allocation instead
20370 of the container's preferredSize.
20372 2006-02-21 Wolfgang Baer <WBaer@gmx.de>
20374 * java/awt/CardLayout.java:
20375 (first): Updated api documentation.
20378 (previous): Likewise.
20379 (show): Clarified api docs. Return if name is null. Throw
20380 IllegalArgumentException if layout of container is not this.
20381 (gotoComponent): Updated api documentation. Throw
20382 IllegalArgumentException if layout of container is not this.
20384 2006-02-21 Roman Kennke <kennke@aicas.com>
20386 * javax/swing/text/NavigationFilter.java
20387 (getNextVisualPositionFrom): New method.
20389 2006-02-21 Roman Kennke <kennke@aicas.com>
20391 * javax/swing/plaf/basic/BasicTextUI.java
20392 (RootView.setView): Call setParent() on the view with this as
20393 argument instead of null.
20394 (setView): Don't set root view's parent here.
20396 2006-02-21 Roman Kennke <kennke@aicas.com>
20398 * javax/swing/text/AbstractDocument.java
20399 (AbstractElement.getAttribute): Use getResolveParent() to fetch
20400 the resolving parent.
20401 (AbstractElement.getResolveParent): Fixed to handle possible null
20403 * javax/swing/text/BoxView.java
20404 (childReqs): New field.
20405 (paint): Added debugging code (commented out).
20406 (getPreferredSpan): Rewritten to use new update* methods.
20407 (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
20408 for the minor axis and preferredSpan for the major axis.
20409 (getMinimumSpan): Rewritten to use new update* methods.
20410 (baselineRequirements): Rewritten to avoid creation of
20411 unnecessary SizeRequirements objects.
20412 (baselineLayout): Rewritten to use new update* methods.
20413 (calculateMajorAxisRequirements): Rewritten to avoid creation of
20414 unnecessary SizeRequirements objects.
20415 (calculateMinorAxisRequirements): Rewritten to avoid creation of
20416 unnecessary SizeRequirements objects.
20417 (layout): Some robustness fixes for the layout. Turned AssertionErrors
20419 (layoutMajorAxis): Rewritten to use new update* methods.
20420 (layoutMinorAxis): Rewritten to use new update* methods.
20421 (getChildRequirements): Replaced by the update* methods.
20422 (getAlignment): Use update* methods.
20423 (updateChildRequirements): New methods. Updates the child requirements
20425 (updateRequirements): New methods. Updates the BoxView requirements
20427 * javax/swing/text/DefaultStyledDocument.java
20428 (ElementBuffer.insert): Added warning for illegal replacement operation.
20429 * javax/swing/text/FlowView.java
20430 (layoutRow): When offset doesn't change, return -1.
20431 (LogicalView): Now subclasses BoxView.
20432 (loadChildren): Let the CompositeView.setParent() load the children
20433 of the logicalView.
20434 (calculateMinorRequirements): New overridden method.
20435 * javax/swing/text/GlyphView.java
20436 (DefaultGlyphPainter.paint): Fixed typo.
20437 (startOffset): Made field private.
20438 (endOffset): Made field private.
20439 (paint): Call getStartOffset() and getEndOffset() instead of the
20441 (isStrikeThrough): Fixed typo.
20442 (breakView): Use Utilities.getBreakLocation() to determine best
20444 (changedUpdate): Call preferencedChange on this instead of parent.
20445 (removeUpdate): Call preferencedChange on this instead of parent.
20446 * javax/swing/text/ParagraphView.java
20447 (Row.getAlignment): For Y_AXIS, call super.
20448 (getAlignment): Likewise.
20449 * javax/swing/text/Utilities.java
20450 (getBreakLocation): Set Segment object directly on the BreakIterator.
20451 * javax/swing/text/html/HTML.java
20452 (Attribute): Made class non-serializable and final as specified.
20453 (Attribute(String)): Made constructor private.
20454 (Attribute.compareTo): Removed.
20455 (Attribute.equals): Removed.
20456 (Attribute.hashCode): Removed.
20457 (Tag): Made class non-comparable and non-serializable as specified.
20458 (Tag.compareTo): Removed.
20459 (Tag.equals): Removed.
20460 (Tag.hashCode): Removed.
20461 * javax/swing/text/html/HTMLDocument.java
20462 (HTMLReader.blockOpen): Add tag as name attribute to element.
20463 * javax/swing/text/html/HTMLEditorKit.java
20464 (HTMLFactory.create): Create NullView for <head> tags, removed unused
20466 * javax/swing/text/html/InlineView.java
20467 (setPropertiesFromAttributes): Call super.
20468 * javax/swing/text/html/NullView.java: New class.
20470 2006-02-21 Roman Kennke <kennke@aicas.com>
20473 * javax/swing/text/GapContent.java
20474 (GapContentPosition): Made class private.
20475 (InsertUndo): Made class private.
20476 (UndoRemove): Made class private.
20477 (WeakPositionComparator): New inner class.
20478 (positions): Made field private.
20479 (createPosition): Clear up GC'ed positions before creating
20480 a new one. Store position as WeakReference.
20481 (getPositionsInRange): Changed to handle WeakReference
20483 (setPositionsInRange): Changed to handle WeakReference
20485 (adjustPositionsInRange): Changed to handle WeakReference
20487 (dumpPositions): Handle WeakReference positions.
20488 (clearPositionReferences): New method.
20490 2006-02-21 Robert Schuster <robertschuster@fsfe.org>
20492 * javax/swing/plaf/basic/BasicTextUI.java:
20493 (paint): Remove unneccessary part of the if-expression.
20494 (damageRange): Added case where the range spans multiple lines.
20495 * javax/swing/text/DefaultCaret.java:
20496 (clearHighlight): New method.
20497 (handleHighlight): Removed unneccessary part of the if-expression.
20498 (setDot): Use clearHighlight method.
20499 * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
20501 (paint): Prevented calling size() on every loop iteration, fixed
20502 calculation of allocation area bounds.
20503 (getHighlights): Implemented.
20504 (removeHighlight): Mark damaged area in textcomponent.
20505 (addHighlight): Mark damaged area in textcomponent.
20506 (changeHighlight): Mark damaged area in textcomponent.
20507 (DefaultHighlighter.HighlightEntry): Made it a real
20508 Highlighter.Highlight implementation.
20509 (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
20512 2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
20514 * java/util/zip/ZipConstants.java
20515 (LOCSIG): Change type to long.
20516 (EXTSIG): Likewise.
20517 (CENSIG): Likewise.
20518 (ENDSIG): Likewise.
20519 * java/util/zip/ZipOutputStream.java
20520 (writeLeInt(long)): New method.
20522 2006-02-21 Michael Koch <konqueror@gmx.de>
20524 * gnu/javax/net/ssl/provider/PRNG.java: Removed.
20526 2006-02-20 Mark Wielaard <mark@klomp.org>
20528 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
20529 (begin_drawing_operation): Output stacktrace and return on bad cairo
20531 (end_drawing_operation): Likewise. And reset cairo_t.
20533 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
20535 * javax/swing/text/DefaultEditorKit.java: Fixed comparison
20536 in backward selection action.
20538 2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
20540 * java/lang/reflect/Proxy.java:
20541 (ProxyData.getProxyData): Skipped overriding of core methods.
20542 (ProxyData.isCoreObjectMethod): New method.
20544 2006-02-20 Mark Wielaard <mark@klomp.org>
20546 * gnu/java/nio/charset/Provider.java (Provider): Package private.
20548 2006-02-20 Roman Kennke <kennke@aicas.com>
20550 * javax/swing/text/html/Option.java: New class.
20552 2006-02-20 Lillian Angel <langel@redhat.com>
20554 * java/swt/Window.java
20555 (show): Calling show() on the owned windows caused problems.
20556 Changed back to get the peer and call setVisible.
20558 2006-02-20 Roman Kennke <kennke@aicas.com>
20560 * javax/swing/plaf/basic/BasicTextUI.java
20561 (damageRange): Implemented this method.
20563 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
20565 * javax/swing/text/GapContent.java:
20566 (shiftGapEndUp): Corrected new mark value.
20567 * javax/swing/text/AbstractDocument.java:
20568 (remove): Changed order of operations.
20570 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
20572 * javax/swing/text/GapContent.java:
20573 (shiftGapEndUp): Reverted.
20574 * javax/swing/text/AbstractDocument.java:
20575 (remove): Reverted.
20577 2006-02-20 Robert Schuster <robertschuster@fsfe.org>
20579 * javax/swing/text/GapContent.java:
20580 (shiftGapEndUp): Corrected new mark value.
20581 * javax/swing/text/AbstractDocument.java:
20582 (remove): Changed order of operations.
20584 2006-02-20 Mark Wielaard <mark@klomp.org>
20586 * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
20588 (insert): Likewise.
20589 (addNotify): Add the item after addNotifying it.
20590 * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
20591 there is a peer. Use getParent() and setParent() to manipulate parent
20593 (add(Menu)): Use getParent() and setParent() to manipulate parent
20594 field. Call addNotify() and addMenu() when there is a peer.
20595 (remove(int)): Call removeNotify() and delMenu() when there is a peer.
20596 (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
20597 when there is a peer.
20598 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
20599 (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
20600 (setFont): Call setFont(Font).
20601 (setFont(Font)): Document. Only set font when not null.
20602 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
20604 (connectSignals): Likewise.
20605 (GtkMenuItemPeer): Document. Don't try to add item. Always call
20607 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
20609 (postMenuActionEvent): Document.
20610 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
20612 (addItem): Document. Made private.
20613 (addTearOff): Made private.
20614 (connectSignals): New protected overridden method.
20615 (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
20616 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
20617 (create): Document.
20618 (addMenu): Made private, take GtkMenuPeer as argument and document.
20619 (GtkMenuBarPeer): Document.
20620 (nativeSetHelpMenu): Removed.
20621 (addHelpMenu): Implement.
20622 (delMenu): Document.
20623 (addMenu): Implement.
20624 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
20625 * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
20626 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
20627 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
20630 2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20632 * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
20633 Expect that proxy interfaces may have different class loaders.
20634 * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
20635 * java/rmi/registry/Registry.java,
20636 * java/rmi/server/UnicastRemoteObject.java:
20637 Documented about proxy stubs.
20638 * gnu/java/rmi/server/CombinedClassLoader.java,
20639 java/rmi/server/RemoteObjectInvocationHandler.java: New files.
20640 * NEWS: Added entry.
20642 2006-02-19 Mark Wielaard <mark@klomp.org>
20644 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
20645 Parent and Bounds of our children if either or parent is showing, or
20646 we are a Window and are showing ourselves now.
20648 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20650 * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
20652 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
20653 Another stub name fix.
20655 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20657 * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
20658 Call convertStubName. (convertStubName): New method.
20659 * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
20660 * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
20661 (convertStubName): New method.
20662 (getMethodHashCode):
20663 Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
20664 * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
20666 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20668 * java/rmi/server/UnicastRemoteObject.java: Documenting.
20670 2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20672 * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
20674 2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20676 * javax/swing/JViewport.java (paintBackingStore): If the component has
20677 not been scrolled, only repaint the buffer part, indicated by
20678 the parameter graphics clip.
20680 2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
20682 * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
20684 (writePrivateKey): Likewise.
20685 (writeKey): New method.
20686 (getKeyType): Likewise.
20687 * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
20689 (readPrivateKey): Likewise.
20690 (getKeyPairCodec): New method.
20691 * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
20692 * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
20693 * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
20694 (RSA_PSS_ENCODING): Likewise..
20695 (RSA_PKCS1_V1_5_ENCODING): Likewise.
20696 (RSA_PSS_SIG): Redefined using other constants.
20697 (RSA_PKCS1_V1_5_SIG): Likewise.
20698 (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
20699 * gnu/java/security/util/FormatUtil.java: New file.
20700 * gnu/java/security/sig/SignatureFactory.java (names): New field.
20701 (getInstance): Let RSASignatureFactory handle RSA signature names.
20702 (getNames): Handle new RSA signature (with format) names.
20703 * gnu/java/security/sig/SignatureCodecFactory.java: New file.
20704 * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
20706 (name): Include hash algorithm name.
20707 * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
20708 * gnu/java/security/sig/rsa/RSAPSSSignature.java
20709 (RSAPSSSignature): Call constructor with IMessageDigest.
20710 (RSAPSSSignature(ImessageDigest,int)): New constructor.
20711 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
20713 * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
20715 * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
20716 (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
20717 (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
20718 * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
20719 hash algorithm name to exception.
20720 * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
20721 * gnu/java/security/key/KeyPairCodecFactory.java
20722 (names): New class field.
20723 (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
20724 (getInstance(String,String)): New method.
20725 (getInstance(String,int)): New method.
20726 (getInstance(byte[])): Removed.
20727 (getInstance(Key)): Handle new formats.
20728 (getNames): Likewise.
20729 (getEncodingName(int)): Moved to FormatUtil.
20730 (getEncodingShortName(int)): Likewise.
20731 (getRawCodec(String)): New method.
20732 (getX509Codec(String)): Likewise.
20733 (getPKCS8Codec(String)): Likewise.
20734 (getRawCodec(Key)): Likewise.
20735 (getX509Codec(Key)): Likewise.
20736 (getPKCS8Codec(Key)): Likewise.
20737 * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
20738 * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
20739 * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
20740 * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
20741 * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
20742 * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
20743 * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
20744 * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
20745 * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
20747 2006-02-18 Mark Wielaard <mark@klomp.org>
20749 * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
20751 (NoDragGestureRecognizer): New static class.
20752 (createDragGestureRecognizer): Return NoDragGestureRecognizer when
20753 Toolkit doesn't support drag and drop.
20755 2006-02-18 Mark Wielaard <mark@klomp.org>
20757 * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
20758 (AbstractAction(String)): Just call putValue() for NAME.
20759 (putValue): Nothing to do is old and new value are both null.
20761 2006-02-18 Mark Wielaard <mark@klomp.org>
20763 * javax/swing/JRootPane.java (layoutContainer): Get contentPane
20764 through getContentPane().
20765 (preferredLayoutSize): Likewise.
20767 2006-02-18 Mark Wielaard <mark@klomp.org>
20769 * javax/swing/JMenuBar.java (paintBorder): Check whether border is
20770 actually set before painting.
20772 2006-02-18 Mark Wielaard <mark@klomp.org>
20774 * javax/swing/text/html/HTMLDocument.java (addContent):
20775 Fully qualify AbstractDocument.AttributeContext and
20776 DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
20778 2006-02-18 Mark Wielaard <mark@klomp.org>
20780 * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
20781 (getRepresentationClassFromMime): Add exception cause to
20782 IllegalArgumentException.
20784 2006-02-17 Lillian Angel <langel@redhat.com>
20786 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
20787 Removed unneeded import.
20788 * gnu/java/awt/peer/gtk/GtkFramePeer.java:
20789 Removed unneeded imports.
20790 * java/awt/BorderLayout.java:
20791 Fixed comment, this is not yet handled in the JDK 1.5.
20792 * java/awt/Container.java:
20793 Removed unneeded import.
20795 2006-02-17 Lillian Angel <langel@redhat.com>
20797 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20798 (setBounds): Removed check. Coordinates should always be changed
20799 to incorporate the parent's coordinates.
20800 * gnu/java/awt/peer/gtk/GtkFramePeer.java
20801 (setMenuBar): Added checks. Don't validate component if it has
20802 not been validated yet, it will be validated later. Only validate
20803 if it has already been validated, in that case it needs to be
20805 * java/awt/Window.java
20806 (show): Added check. If the window is visible, then bring it to the
20807 front. Otherwise, iterate through all its children windows and show them.
20808 No need to do both.
20810 2006-02-17 Roman Kennke <kennke@aicas.com>
20812 * javax/swing/text/html/ParagraphView.java: New file.
20814 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20816 * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
20817 is included. (moveToCellBeingEdited): Adjusted to start editing at the
20818 same location where was the initial text.
20819 * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
20821 2006-02-17 Chris Burdess <dog@gnu.org>
20823 Fixes PRs 26319, 26320, 26321, 26322, 26325
20824 * gnu/xml/stream/SAXParser.java: On error, reset parser before
20825 rethrowing exception.
20826 * gnu/xml/stream/XMLParser.java: Only report "illegal use of
20827 1.1-style prefix unbinding in 1.0 document" error for xmlns
20828 prefixes, not xmlns attributes. Fix a problem with empty namespace
20829 stack at the end of a document. Permit parameter entity references
20830 in element and attribute-list definition name area. Corrected
20831 normalisation of whitespace character entity references in CDATA
20832 attribute values. Fixed number of characters read following a
20833 reset when detecting end of character data with characters after a
20834 Unicode surrogate pair.
20836 2006-02-17 Roman Kennke <kennke@aicas.com>
20838 * javax/swing/text/html/HTMLEditorKit.java
20839 (HTMLFactory.create): Create InlineView for content tags.
20840 * javax/swing/text/html/HTMLDocument.java
20841 (HTMLReader.flush): Call create() on first flush and insert
20842 on subsequent flushes.
20844 2006-02-17 Roman Kennke <kennke@aicas.com>
20846 * javax/swing/text/AbstractDocument.java
20847 (BranchElement.getStartOffset): Implemented workaround for wrong
20849 (BranchElement.getEndOffset): Implemented workaround for wrong
20851 (ElementBuffer.split): Use createBranchElement() instead of
20852 new BranchElement().
20853 (ElementBuffer.insertFracture): Use createBranchElement() instead of
20854 new BranchElement().
20855 (ElementBuffer.recreateAfterFracture): Use createBranchElement()
20856 instead of new BranchElement().
20857 (createDefaultRoot): Use createBranchElement() and createLeafElement
20858 instead of the constructors.
20859 (create): Rewritten.
20861 2006-02-17 Keith Seitz <keiths@redhat.com>
20863 * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
20864 (SIZE): New constant.
20865 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
20866 (executeIDsizes): Use SIZE constant.
20867 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
20868 (SIZE): New constant.
20870 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20872 * javax/swing/JTable.java (IconCellRenderer): Set the component
20873 text to empty string. (createDefaultRenderers): Register
20874 IconCellRenderer also for ImageIcon.
20875 (getCellEditor(int, int), getCellRenderer(int, int)):
20876 Use model index for data model and column index for column model.
20877 (getColumnClass): Convert to model index before requesting class
20880 2006-02-17 Roman Kennke <kennke@aicas.com>
20882 * javax/swing/text/html/HTMLDocument.java
20883 (createDefaultRoot): Implemented.
20884 (createLeafElement): Implemented.
20885 (createBranchElement): Implemented.
20886 (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
20887 (RunElement.getName): Fixed to handle HTML.Tag objects as name.
20888 (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
20889 (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
20890 (HTMLReader.blockOpen): Add name attribute with the current tag.
20891 (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
20893 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20895 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
20897 * javax/swing/table/JTableHeader.java: Documenting related methods.
20899 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
20902 * gnu/java/net/protocol/ftp/FTPURLConnection.java
20903 (connect): Changed to use SystemProperties.
20904 (getInputStream): Try changeWorkingDirectory to figure out if
20905 url is a directory, if not use retrieve.
20906 (getOutputStream): Don't worry about directories, simply always
20909 2006-02-17 Jeroen Frijters <jeroen@frijters.net>
20911 * gnu/java/net/protocol/ftp/ActiveModeDTP.java
20912 (ActiveModeDTP): Mark accept thread as daemon.
20914 2006-02-17 Michael Koch <konqueror@gmx.de>
20916 * tools/.cvsignore: Ignore tools.zip.
20918 2006-02-16 Keith Seitz <keiths@redhat.com>
20920 * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
20921 Set the ID's reference.
20922 (<clinit>): Remove comments for field, method, and frame ID types,
20923 which will not be handled by VMIdManager.
20925 2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20927 * javax/swing/JTable.java (getCellEditor, getCellRenderer):
20928 Use model index, not the column number.
20929 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
20930 Rewritten. (draggingHeaderRect): New field. (paint): Animate column
20931 movement by painting draggingHeaderRect.
20932 * NEWS: Added entry about JTable columns.
20934 2006-02-16 Keith Seitz <keiths@redhat.com>
20936 * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
20937 default size of eight bytes.
20938 * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
20939 * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
20940 * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
20941 (executeIDsizes): Use new static methods.
20942 * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
20945 2006-02-16 David Daney <ddaney@avtrex.com>
20948 * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
20949 return value with 0xff.
20951 2006-02-16 Keith Seitz <keiths@redhat.com>
20953 * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
20954 (matches): Use Iterator instead of ListIterator.
20956 2006-02-16 Keith Seitz <keiths@redhat.com>
20958 * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
20959 processor thread for easier debugging.
20960 (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
20963 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
20965 * javax/swing/JTable.java
20966 (TableColumnPropertyChangeHandler.propertyChange): Return without
20967 action if table header resizing column in not null. (doLayout):
20968 Only repaint the header if it is not null.
20969 * javax/swing/plaf/basic/BasicTableHeaderUI.java
20970 (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
20971 Rewritten. (MouseInputHandler.endResizing): New method.
20973 2006-02-16 Roman Kennke <kennke@aicas.com>
20975 * javax/swing/text/html/InlineView.java: New file.
20977 2006-02-16 Roman Kennke <kennke@aicas.com>
20979 * javax/swing/JTabbedPane.java
20980 (AccessibleJTable.getAccessibleChild): Implemented to return
20981 the Page instance for the specified index.
20982 (Page): Changed to implement Accessible and extend
20984 (Page.getAccessibleContext): New method.
20985 (Page.getAccessibleRole): New method.
20986 (Page.getAccessibleStateSet): New method.
20987 (Page.getAccessibleIndexInParent): New method.
20988 (Page.getAccessibleChildrenCount): New method.
20989 (Page.getAccessibleChild): New methdod.
20990 (Page.getLocale): New method.
20992 2006-02-16 Roman Kennke <kennke@aicas.com>
20994 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
20995 (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
20996 tabCount gets greater than tabRuns.length.
20997 (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
20998 when tabCount gets greater than tabRuns.length.
20999 (paintTabArea): Don't set tabCount == runCount.
21001 2006-02-16 Roman Kennke <kennke@aicas.com>
21003 * javax/swing/plaf/basic/BasicTextUI.java
21004 (installUI): Moved installation of PropertyChangeListener
21005 to installListeners(). Call modelChanged() after everything is
21007 (installListeners): Install PropertyChangeListener here.
21008 (uninstallUI): Moved uninstallation of PropertyChangeListener
21009 to uninstallListeners.
21010 (uninstallListeners): Uninstall PropertyChangeListener here.
21012 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21014 * javax/swing/JTable.java (doLayout):
21015 case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
21017 javax/swing/plaf/basic/BasicTableHeaderUI.java
21018 (MouseInputHandler.mouseDragged): Do not repaint the header.
21020 2006-02-16 Roman Kennke <kennke@aicas.com>
21022 * javax/swing/JViewport.java
21023 (static_initializer): Set default scrollMode to backingstore.
21025 2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21027 * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
21028 returned by getCellRect. To not translate the component.
21030 2006-02-16 Roman Kennke <kennke@aicas.com>
21032 * javax/swing/JComponent.java
21033 (rectCache): Made field non-static to avoid nasty interferences.
21034 (computeVisibleRect): Avoid creation of new Rectangles and double
21035 calculations on ints by using Swing.computeIntersection() instead
21036 of Rectangle2D.intersect().
21037 (repaint): Interect the dirty region with the visible rectangle
21038 of this component to avoid unnecessary painting.
21040 2006-02-16 Gary Benson <gbenson@redhat.com>
21042 * java/lang/Thread.java (stop): Add a missing access check.
21044 2006-02-16 Robert Schuster <robertschuster@fsfe.org>
21046 * javax/swing/text/JTextComponent.java:
21047 (replaceSelection): Added code to update the magic caret position.
21048 * javax/swing/text/DefaultEditorKit.java: Added code to update
21049 the magic caret position of the text component in all relevant
21050 movement actions, make use of the magic caret position in up
21051 and down movements and selections, simplified some actions
21054 2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
21056 * gnu/java/lang/CharData.java: Regenerated from
21057 doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
21058 and scripts/unicode-muncher.pl.
21059 * java/lang/Character.java:
21060 (PrivateUseCharacters): New private static class.
21061 (UnassignedCharacters): Likewise.
21062 (blocks): Changed from char[] to char[][] to reflect the changes in
21063 gnu/java/lang/CharData. There is now one char[] per Unicode code
21066 (numValue): Likewise.
21069 (direction): Likewise.
21070 (readChar): Replaced this method with new method readCodePoint.
21071 (readCodePoint): New method.
21072 (isLowerCase(char)): Redirected to new isLowerCase(int).
21073 (isLowerCase(int)): New method.
21074 (isUpperCase(char)): Redirected to new isUpperCase(int).
21075 (isUpperCase(int)): New method.
21076 (isTitleCase(char)): Redirected to new isTitleCase(int).
21077 (isTitleCase(int)): New method.
21078 (isDigit(char)): Redirected to new isDigit(int).
21079 (isDigit(int)): New method.
21080 (isDefined(char)): Redirected to new isDefined(int).
21081 (isDefined(int)): New method.
21082 (isLetter(char)): Redirected to new isLetter(int).
21083 (isLetter(int)): New method.
21084 (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
21085 (isLetterOrDigit(int)): New method.
21086 (isJavaIdentifierStart(char)): Redirected to new
21087 isJavaIdentifierStart(int).
21088 (isJavaIdentifierStart(int)): New method.
21089 (isJavaIdentifierPart(char)): Redirected to new
21090 isJavaIdentifierPart(int).
21091 (isJavaIdentifierPart(int)): New method.
21092 (isUnicodeIdentifierStart(char)): Redirected to new
21093 isUnicodeIdentifierStart(int).
21094 (isUnicodeIdentifierStart(int)): New method.
21095 (isUnicodeIdentifierPart(char)): Redirected to new
21096 isUnicodeIdentifierPart(int).
21097 (isUnicodeIdentifierPart(int)): New method.
21098 (isIdentifierIgnorable(char)): Redirected to new
21099 isIdentifierIgnorable(int).
21100 (isIdentifierIgnorable(int)): New method.
21101 (toLowerCase(char)): Changed access to lower to correspond with new
21102 char[][] type of lower.
21103 (toLowerCase(int)) New method.
21104 (toUpperCase(char)): Changed access to upper to correspond with new
21105 char[][] type of upper.
21106 (toUpperCase(int)): New method.
21107 (toTitleCase(int)): New method.
21108 (digit(char, int)): Replaced call to readChar with call to
21109 readCodePoint and changed access to numValue to reflect new char[][]
21111 (digit(int, int)): New method.
21112 (getNumericValue(char)): Changed access to numValue to reflect new
21113 char[][] type of numValue.
21114 (getNumericValue(int)): New method.
21115 (isSpaceChar(char)): Redirected to new isSpaceChar(int).
21116 (isSpaceChar(int)): New method.
21117 (isWhitespace(char)): Redirected to new isWhitespace(int).
21118 (isWhitespace(int)): New method.
21119 (isISOControl(char)): Redirected to new isISOControl(int).
21120 (isISOControl(int)): New method.
21121 (getType(char)): Redirected to new getType(int).
21122 (getType(int)): New method.
21123 (getDirectionality(char)): Redirected to new getDirectionality(int).
21124 (getDirectionality(int)): New method.
21125 (isMirrored(char)): Changed call to readChar to readCodePoint.
21126 (isMirrored(int)): New method.
21127 * java/lang/String.java:
21128 (upperCaseExpansion): Changed access to Character.direction to reflect
21129 new char[][] type of direction.
21130 (offsetByCodePoints): New method.
21131 * scripts/unicode-muncher.pl: Adapted this script to handle Unicode
21132 4.0.0 which introduced supplementary character assignments.
21134 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21136 * javax/swing/JTable.java,
21137 javax/swing/plaf/basic/BasicTableHeaderUI.java,
21138 javax/swing/table/DefaultTableModel.java: Documented.
21140 2006-02-15 Lillian Angel <langel@redhat.com>
21142 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
21143 Removed duplicate methods.
21145 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21147 * javax/swing/JTable.java (distributeSpillResizing): New method.
21148 (doLayout): Use distributeSpillResizing when resizing.
21149 * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
21150 Rewritten. (installListeners): Add mouse motion listener.
21151 (uninstallListeners): Remove mouse motion listener.
21153 2006-02-15 Lillian Angel <langel@redhat.com>
21155 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
21156 (setVisible): Removed method.
21157 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
21158 (setLocation): New method.
21159 (setLocationUnlocked): New method.
21160 (show): Changed to use setLocation instead of setBounds.
21161 * java/awt/Component.java
21162 (show): Should call peer.show(), not peer.setVisible(), so the
21163 location of the component is correctly set.
21164 (preferredSize): Added curly braces so else statements are
21165 properly associated with if's.
21166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
21167 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
21169 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
21170 LocationUnlocked): New function.
21171 * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
21172 Added declarations for Java_gnu_java_awt_peer_gtk_
21173 GtkWindowPeer_nativeSetLocation and
21174 Java_gnu_java_awt_peer_gtk_GtkWindowPeer
21175 _nativeSetLocationUnlocked.
21177 2006-02-15 Mark Wielaard <mark@klomp.org>
21179 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
21180 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
21181 Downcast gtk_plug_new result when used.
21183 2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
21185 * java/io/ObjectOutputStream.java (writeClassDescriptor):
21186 Call assignNewHandle() after writing Proxy class.
21188 2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
21191 * java/io/ObjectInputStream.java (readClassDescriptor):
21192 Class doesn't have to be abstract for first_nonserial.
21194 2006-02-15 Roman Kennke <kennke@aicas.com>
21196 * javax/swing/JInternalFrame.java
21197 (setClosed): Call dispose to actually make the frame invisible
21200 2006-02-15 Roman Kennke <kennke@aicas.com>
21202 * javax/swing/JInternalFrame.java
21203 (dispose): Call setVisible(false) instead of hide.
21204 (doDefaultCloseOperation): Likewise.
21206 2006-02-15 Roman Kennke <kennke@aicas.com>
21208 * javax/swing/JComponent.java
21209 (paintChildren): Also check for the visibility of a child component
21210 to avoid artifacts.
21211 (repaint): Simply add this component to the RepaintManager rather than
21212 trying to do useless optimization here.
21214 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
21216 * javax/swing/JSpinner.java
21217 (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
21218 PropertyChangeListener,
21219 (DefaultEditor.getSpinner): Updated API docs,
21220 (DefaultEditor.dismiss): Likewise,
21221 (DefaultEditor.getTextField): Likewise,
21222 (DefaultEditor.layoutContainer): Likewise,
21223 (DefaultEditor.minimumLayoutSize): Likewise,
21224 (DefaultEditor.preferredLayoutSize): Likewise,
21225 (DefaultEditor.propertyChange): Implemented,
21226 (DefaultEditor.stateChanged): Implemented,
21227 (DefaultEditor.removeLayoutComponent): Updated API docs,
21228 (DefaultEditor.addLayoutComponent): Likewise,
21229 (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
21230 (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
21231 (NumberEditor.getFormat): Implemented,
21232 (NumberEditor.getModel): Updated API docs,
21233 (NumberEditorFormatter): New static inner class,
21234 (ListEditor.getModel): Updated API docs,
21235 (DateEditor.dateFormat): Removed,
21236 (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
21237 (DateEditor.DateEditor(JSpinner, String)): Likewise,
21238 (DateEditor.init): Removed,
21239 (DateEditor.getFormat): Reimplemented,
21240 (DateEditorFormatter): New static inner class,
21241 (ModelListener): New inner class,
21242 (model): Updated API docs,
21243 (editor): Likewise,
21244 (listener): Removed,
21245 (JSpinner()): Updated API docs,
21246 (JSpinner(SpinnerModel)): Set up ModelListener,
21247 (setEditor): Fire property change,
21248 (getModel): Updated API docs,
21249 (setModel): Removed check for null editor,
21250 (setValue): Updated API docs,
21251 (getUIClassID): Updated API docs,
21252 (createEditor): Handle SpinnerListModel case,
21253 * javax/swing/plaf/basic/BasicSpinnerUI.java
21254 (createUI): Updated API docs,
21255 (createPropertyChangeListener): Added FIXME,
21256 (installDefaults): Set text field border to null,
21257 (DefaultLayoutManager): Updated API docs,
21258 (DefaultLayoutManager.layoutContainer): Modified layout,
21259 (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
21260 (DefaultLayoutManager.preferredLayoutSize): Likewise,
21261 (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
21262 (DefaultLayoutManager.addLayoutComponent): Likewise,
21263 (DefaultLayoutManager.minSize): Renamed prefSize,
21264 (DefaultLayoutManager.setBounds): Reformatted,
21265 (DefaultLayoutManager.editor): Added API docs,
21266 (DefaultLayoutManager.next): Likewise,
21267 (DefaultLayoutManager.previous): Likewise,
21268 * javax/swing/plaf/metal/MetalLookAndFeel.java
21269 (initComponentDefaults): Added entry for 'Spinner.border',
21270 * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
21272 2006-02-15 Chris Burdess <dog@gnu.org>
21274 * gnu/xml/validation/datatype/BooleanType.java,
21275 gnu/xml/validation/datatype/ByteType.java,
21276 gnu/xml/validation/datatype/DateTimeType.java,
21277 gnu/xml/validation/datatype/DateType.java,
21278 gnu/xml/validation/datatype/DecimalType.java,
21279 gnu/xml/validation/datatype/DoubleType.java,
21280 gnu/xml/validation/datatype/DurationType.java,
21281 gnu/xml/validation/datatype/FloatType.java,
21282 gnu/xml/validation/datatype/GDayType.java,
21283 gnu/xml/validation/datatype/GMonthDayType.java,
21284 gnu/xml/validation/datatype/GMonthType.java,
21285 gnu/xml/validation/datatype/GYearMonthType.java,
21286 gnu/xml/validation/datatype/GYearType.java,
21287 gnu/xml/validation/datatype/IntType.java,
21288 gnu/xml/validation/datatype/IntegerType.java,
21289 gnu/xml/validation/datatype/LongType.java,
21290 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
21291 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
21292 gnu/xml/validation/datatype/MinExclusiveFacet.java,
21293 gnu/xml/validation/datatype/MinInclusiveFacet.java,
21294 gnu/xml/validation/datatype/NegativeIntegerType.java,
21295 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
21296 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
21297 gnu/xml/validation/datatype/PositiveIntegerType.java,
21298 gnu/xml/validation/datatype/ShortType.java,
21299 gnu/xml/validation/datatype/SimpleType.java,
21300 gnu/xml/validation/datatype/TimeType.java,
21301 gnu/xml/validation/datatype/TypeBuilder.java,
21302 gnu/xml/validation/datatype/UnsignedByteType.java,
21303 gnu/xml/validation/datatype/UnsignedIntType.java,
21304 gnu/xml/validation/datatype/UnsignedLongType.java,
21305 gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
21306 objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
21307 minInclusive facets use the value space of the base type, and
21310 2006-02-15 Mark Wielaard <mark@klomp.org>
21312 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
21313 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
21314 gtk_plug_new() returns a GtkWindow.
21316 2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
21318 * javax/swing/SpinnerNumberModel.java
21319 (getNextValue): Check for null maximum,
21320 (getPreviousValue): Check for null minimum.
21322 2006-02-15 Roman Kennke <kennke@aicas.com>
21324 * javax/swing/plaf/basic/BasicTableUI.java
21325 (paint): Paint vertical and horizontal lines one pixel shifted
21328 2006-02-15 Jeroen Frijters <jeroen@frijters.net>
21330 * java/util/zip/ZipFile.java
21331 (checkZipFile): Inlined readLeInt and rewritten for robustness.
21332 (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
21333 readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
21334 (readEntries): Rewritten to use PartialInputStream.
21335 (locBuf, checkLocalHeader): Removed.
21336 (getInputStream): Rewritten to use new PartialInputStream.
21337 (PartialInputStream): Rewritten to do buffering.
21339 2006-02-15 Michael Koch <konqueror@gmx.de>
21341 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
21342 (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
21343 Make sure the embedded window gets no decorations.
21344 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
21345 (window_get_frame_extents): Return early of the window has no
21348 2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21350 * examples/gnu/classpath/examples/swing/TableDemo.java
21351 (TModel, createContent): Explain which value appears in the header.
21352 * javax/swing/JTable.java (setColumnModel): Only set the
21353 column header value if the getHeaderValue() returns null.
21355 2006-02-14 Mark Wielaard <mark@klomp.org>
21358 * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
21359 (getErrorImage): New static method.
21360 * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
21361 (bufferedImageOrError): Renamed to ...
21362 (imageOrError): Renamed from bufferedImageOrError, takes Image.
21363 Returns GtkImage.getErrorImage() when argument null.
21364 (createImage(String)): Always use imageOrError.
21365 (createImage(URL)): Likewise.
21366 (createImage(ImageProducer)): Likewise.
21367 (createImage(byte[],int,int)): Likewise.
21369 2006-02-14 Roman Kennke <kennke@aicas.com>
21371 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
21373 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
21374 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
21375 * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
21376 * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
21377 * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
21379 2006-02-14 Roman Kennke <kennke@aicas.com>
21381 * javax/swing/text/AsyncBoxView.java
21382 (ChildState.locator): Removed wrong field.
21383 (ChildState): Removed initialization of removed field.
21384 (locator): Changed access modifier to be protected as specified.
21386 2006-02-14 Roman Kennke <kennke@aicas.com>
21388 * javax/swing/ToolTipManager.java: Removed unneeded imports.
21389 * javax/swing/Timer.java: Some small reindention.
21390 (task): Made package private to avoid synthetic accessor method.
21392 2006-02-14 Roman Kennke <kennke@aicas.com>
21394 * javax/swing/SwingUtilities.java
21395 (layoutCompoundLabel): Dont set textIconGap to 0 when there is
21398 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21400 * examples/gnu/classpath/examples/swing/TableDemo.java:
21401 Making the columns variable width.
21402 * javax/swing/JTable.java (distributeSpill, doLayout):
21403 Call getPreferredSize and not getSize().
21405 2006-02-14 Roman Kennke <kennke@aicas.com>
21407 * javax/swing/DefaultCellEditor.java
21408 (DefaultCellEditor): API doc fixlet.
21410 2006-02-14 Roman Kennke <kennke@aicas.com>
21412 * javax/swing/JViewport.java
21413 (isPaintRoot): New field.
21414 (repaint): Only call super here. Also added a comment regarding
21415 the diversion from the JDK.
21416 (paintBlit): Implemented real blitting.
21417 (paintImmediately2): New method. Overrides the same package private
21418 method in JComponent.
21420 2006-02-14 Roman Kennke <kennke@aicas.com>
21422 * javax/swing/plaf/basic/BasicTableUI.java
21423 (paint): Check for boundary cases when determining the painting
21426 2006-02-14 Mark Wielaard <mark@klomp.org>
21428 * java/awt/Menu.java (add): Always set parent of item to this. Call
21429 addNotify() on item when we have a MenuPeer already.
21430 (insert): Always adjust parent for item. Call addNotify() on item if
21431 we already have a peer.
21432 (remove(int)): Always clear item parent. Call removeNotify() on item
21435 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21437 * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
21438 row == getRowCount().
21440 2006-02-14 Lillian Angel <langel@redhat.com>
21442 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
21443 (setVisible): New method to override super. Need to set the
21444 native bounds of the component, so it appears at the
21447 2006-02-14 Mark Wielaard <mark@klomp.org>
21449 * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
21450 (remove): If menu component is the current MenuBar remove it,
21451 otherwise call super.remove().
21452 * java/awt/MenuBar.java (frame): Remove field.
21453 * java/awt/MenuComponent.java (postEvent): Use getParent() always.
21455 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21457 * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
21458 to NameServicePersistent.
21459 * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
21460 * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
21462 2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21464 * NEWS: Updated tool status.
21465 * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
21466 (constructor, bind, rebind): Rewritten.
21467 * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
21468 * tools/gnu/classpath/tools/giop/README: Updated.
21469 * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
21470 tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
21471 tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
21472 tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
21473 tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
21476 2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
21478 * javax/swing/JComponent.java
21479 (getListeners): Check for PropertyChangeListener.class and delegate to
21480 getPropertyChangeListeners() for that case.
21482 2006-02-13 Roman Kennke <kennke@aicas.com>
21484 * javax/swing/plaf/basic/BasicTableUI.java
21485 (paint): Determine the cells that need painting based on the
21486 current clip. Use getCellRect() for calculating the cell
21489 2006-02-13 Roman Kennke <kennke@aicas.com>
21491 * javax/swing/JTable.java
21492 (rectCache): New field.
21493 (getCellRect): Returns cached Rectangle instance.
21495 2006-02-13 Roman Kennke <kennke@aicas.com>
21497 * javax/swing/JLayeredPane.java
21498 (removeAll): New method. Avoid potential memory leak.
21499 (isOptimizedDrawingEnabled): Replaced heuristic with accurate
21502 2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
21504 * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
21505 * javax/swing/undo/StateEditable.java (RCSID): Likewise.
21507 2006-02-13 Tom Tromey <tromey@redhat.com>
21509 * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
21510 * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
21512 2006-02-13 Roman Kennke <kennke@aicas.com>
21514 * javax/swing/RepaintManager.java
21515 (offscreenBuffers): New field.
21516 (doubleBuffer): Removed field.
21517 (repaintUnderway): New field.
21518 (commitRequests): New field.
21519 (RepaintManager): Initialize new fields.
21520 (paintDirtyRegions): Handle repaintUnderway flag. Commit
21522 (getOffscreenBuffer): Returns the offscreen buffer for the
21523 corresponding root component.
21524 (commitBuffer): New method.
21525 (commitRemainingBuffers): New method.
21526 * javax/swing/JComponent.java
21527 (paint): Call paintDoubleBuffered with the current clip.
21528 (paintImmediately2): Don't paint on screen here.
21529 (paintDoubleBuffered): Rewritten for real double buffering.
21530 (paintSimple): Draw to screen in this method.
21532 2006-02-13 Roman Kennke <kennke@aicas.com>
21534 * javax/swing/JRootPane.java
21535 (JRootPane): Set opaque property to true.
21537 2006-02-13 Tom Tromey <tromey@redhat.com>
21539 * .classpath: Updated for external/relaxngDatatype.
21541 2006-02-13 Chris Burdess <dog@gnu.org>
21543 * gnu/xml/stream/UnicodeReader.java,
21544 gnu/xml/validation/datatype/Annotation.java,
21545 gnu/xml/validation/datatype/AnySimpleType.java,
21546 gnu/xml/validation/datatype/AnyType.java,
21547 gnu/xml/validation/datatype/AnyURIType.java,
21548 gnu/xml/validation/datatype/AtomicSimpleType.java,
21549 gnu/xml/validation/datatype/Base64BinaryType.java,
21550 gnu/xml/validation/datatype/BooleanType.java,
21551 gnu/xml/validation/datatype/ByteType.java,
21552 gnu/xml/validation/datatype/DateTimeType.java,
21553 gnu/xml/validation/datatype/DateType.java,
21554 gnu/xml/validation/datatype/DecimalType.java,
21555 gnu/xml/validation/datatype/DoubleType.java,
21556 gnu/xml/validation/datatype/DurationType.java,
21557 gnu/xml/validation/datatype/EntitiesType.java,
21558 gnu/xml/validation/datatype/EntityType.java,
21559 gnu/xml/validation/datatype/EnumerationFacet.java,
21560 gnu/xml/validation/datatype/Facet.java,
21561 gnu/xml/validation/datatype/FloatType.java,
21562 gnu/xml/validation/datatype/FractionDigitsFacet.java,
21563 gnu/xml/validation/datatype/GDayType.java,
21564 gnu/xml/validation/datatype/GMonthDayType.java,
21565 gnu/xml/validation/datatype/GMonthType.java,
21566 gnu/xml/validation/datatype/GYearMonthType.java,
21567 gnu/xml/validation/datatype/GYearType.java,
21568 gnu/xml/validation/datatype/HexBinaryType.java,
21569 gnu/xml/validation/datatype/IDRefType.java,
21570 gnu/xml/validation/datatype/IDRefsType.java,
21571 gnu/xml/validation/datatype/IDType.java,
21572 gnu/xml/validation/datatype/IntType.java,
21573 gnu/xml/validation/datatype/IntegerType.java,
21574 gnu/xml/validation/datatype/LanguageType.java,
21575 gnu/xml/validation/datatype/LengthFacet.java,
21576 gnu/xml/validation/datatype/ListSimpleType.java,
21577 gnu/xml/validation/datatype/LongType.java,
21578 gnu/xml/validation/datatype/MaxExclusiveFacet.java,
21579 gnu/xml/validation/datatype/MaxInclusiveFacet.java,
21580 gnu/xml/validation/datatype/MaxLengthFacet.java,
21581 gnu/xml/validation/datatype/MinExclusiveFacet.java,
21582 gnu/xml/validation/datatype/MinInclusiveFacet.java,
21583 gnu/xml/validation/datatype/MinLengthFacet.java,
21584 gnu/xml/validation/datatype/NCNameType.java,
21585 gnu/xml/validation/datatype/NMTokenType.java,
21586 gnu/xml/validation/datatype/NMTokensType.java,
21587 gnu/xml/validation/datatype/NameType.java,
21588 gnu/xml/validation/datatype/NegativeIntegerType.java,
21589 gnu/xml/validation/datatype/NonNegativeIntegerType.java,
21590 gnu/xml/validation/datatype/NonPositiveIntegerType.java,
21591 gnu/xml/validation/datatype/NormalizedStringType.java,
21592 gnu/xml/validation/datatype/NotationType.java,
21593 gnu/xml/validation/datatype/PatternFacet.java,
21594 gnu/xml/validation/datatype/PositiveIntegerType.java,
21595 gnu/xml/validation/datatype/QNameType.java,
21596 gnu/xml/validation/datatype/ShortType.java,
21597 gnu/xml/validation/datatype/SimpleType.java,
21598 gnu/xml/validation/datatype/StringType.java,
21599 gnu/xml/validation/datatype/TimeType.java,
21600 gnu/xml/validation/datatype/TokenType.java,
21601 gnu/xml/validation/datatype/TotalDigitsFacet.java,
21602 gnu/xml/validation/datatype/Type.java,
21603 gnu/xml/validation/datatype/TypeBuilder.java,
21604 gnu/xml/validation/datatype/TypeLibrary.java,
21605 gnu/xml/validation/datatype/TypeLibraryFactory.java,
21606 gnu/xml/validation/datatype/UnionSimpleType.java,
21607 gnu/xml/validation/datatype/UnsignedByteType.java,
21608 gnu/xml/validation/datatype/UnsignedIntType.java,
21609 gnu/xml/validation/datatype/UnsignedLongType.java,
21610 gnu/xml/validation/datatype/UnsignedShortType.java,
21611 gnu/xml/validation/datatype/WhiteSpaceFacet.java,
21612 resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
21613 RELAX NG datatype library implementation for XML Schema Datatypes.
21615 2006-02-13 Chris Burdess <dog@gnu.org>
21621 external/Makefile.am,
21622 external/relaxngDatatype/.cvsignore,
21623 external/relaxngDatatype/Makefile.am,
21624 external/relaxngDatatype/README.txt,
21625 external/relaxngDatatype/copying.txt,
21626 external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
21627 external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
21628 external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
21629 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
21630 external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
21631 external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
21632 external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
21633 external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
21634 external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
21635 external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
21637 lib/gen-classlist.sh.in: Added external RELAX NG pluggable
21638 datatypes library API.
21640 2006-02-13 Mark Wielaard <mark@klomp.org>
21642 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
21644 (gtkWidgetModifyFont(Font)): New protected helper method.
21645 (gtkWidgetModifyFont(String,int,int)): Made protected and document.
21646 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
21647 protected and document.
21648 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
21650 * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
21652 * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
21654 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
21655 (setFont): Removed method. Done in GtkMenuComponent.
21656 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
21657 abstract and protected.
21658 (setFont): Made private, add implementation.
21659 (setFont(Font)): Implemented.
21660 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
21661 Made protected and document.
21662 (create): Made protected.
21663 (setFont): Removed method. Done in GtkMenuComponent.
21664 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
21665 (gtkWidgetModifyFont): Made protected and document.
21666 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
21667 Removed, similar to GtkGenericPeer super class implementation.
21668 * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
21669 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
21670 (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
21673 2006-02-13 Mark Wielaard <mark@klomp.org>
21675 * java/lang/Math.java (static): Explicitly call
21676 System.loadLibrary("javalang").
21678 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
21680 * javax/print/StreamPrintServiceFactory.java: New file.
21682 2006-02-13 Tom Tromey <tromey@redhat.com>
21684 * tools/.cvsignore: Added Makefile.
21686 2006-02-13 Wolfgang Baer <WBaer@gmx.de>
21688 * java/awt/print/PrinterGraphics.java: Reformatted.
21689 * java/awt/print/Paper.java: Likewise.
21690 * java/awt/print/PageFormat.java: Likewise.
21691 * java/awt/print/Pageable.java: Likewise.
21693 2006-02-13 Lillian Angel <langel@redhat.com>
21695 * java/awt/BorderLayout.java
21696 (layoutContainer): Rewrote part of this function to
21697 properly set the bounds of the components.
21698 (setBounds): Removed method, not needed.
21700 2006-02-13 Roman Kennke <kennke@aicas.com>
21702 * javax/swing/text/DefaultStyledDocument.java
21703 (ElementBuffer.clone): Fixed replace call.
21704 (clone): Removed method.
21706 2006-02-13 Roman Kennke <kennke@aicas.com>
21708 * java/rmi/server/UnicastRemoteObject.java: Reformatted.
21710 2006-02-13 Roman Kennke <kennke@aicas.com>
21712 * java/rmi/server/UnicastRemoteObject.java
21713 (exportObject(Remote)): Forward method call to export(Remote,int).
21715 2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
21717 * include/Makefile.am:
21718 Swapped Math.h for VMMath.h
21719 * include/java_lang_Math.h:
21721 * include/java_lang_VMMath.h:
21722 New autogenerated header for the new class.
21723 * java/lang/Math.java:
21724 (sin(double)): Changed to link to VMMath.
21725 (cos(double)): Changed to link to VMMath.
21726 (tan(double)): Changed to link to VMMath.
21727 (asin(double)): Changed to link to VMMath.
21728 (acos(double)): Changed to link to VMMath.
21729 (atan(double)): Changed to link to VMMath.
21730 (atan2(double)): Changed to link to VMMath.
21731 (exp(double)): Changed to link to VMMath.
21732 (log(double)): Changed to link to VMMath.
21733 (sqrt(double)): Changed to link to VMMath.
21734 (pow(double,double)): Changed to link to VMMath.
21735 (IEEEremainder(double,double)): Changed to link to VMMath.
21736 (ceil(double)): Changed to link to VMMath.
21737 (floor(double)): Changed to link to VMMath.
21738 (rint(double)): Changed to link to VMMath.
21739 * native/jni/java-lang/Makefile.am:
21740 Replaced java_lang_Math.c with java_lang_VMMath.c
21741 * native/jni/java-lang/java_lang_Math.c:
21743 * native/jni/java-lang/java_lang_VMMath.c:
21744 Renamed from java_lang_Math.c.
21745 * vm/reference/java/lang/VMMath.java:
21747 (sin(double)): New native method.
21748 (cos(double)): New native method.
21749 (tan(double)): New native method.
21750 (asin(double)): New native method.
21751 (acos(double)): New native method.
21752 (atan(double)): New native method.
21753 (atan2(double)): New native method.
21754 (exp(double)): New native method.
21755 (log(double)): New native method.
21756 (sqrt(double)): New native method.
21757 (pow(double,double)): New native method.
21758 (IEEEremainder(double,double)): New native method.
21759 (ceil(double)): New native method.
21760 (floor(double)): New native method.
21761 (rint(double)): New native method.
21763 2006-02-13 Lillian Angel <langel@redhat.com>
21765 * java/awt/Component.java
21766 (repaint): No need to call isShowing, it is done in the other repaint call.
21767 (repaint): Likewise.
21768 (repaint): Likewise.
21770 2006-02-13 Lillian Angel <langel@redhat.com>
21772 * java/awt/Component.java
21773 (repaint): Reverted last change.
21774 (repaint): Likewise.
21775 (repaint): Likewise.
21777 2006-02-13 Lillian Angel <langel@redhat.com>
21779 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
21780 (handleEvent): Made more efficent by handling paint event and
21781 setting the clip for the graphics.
21782 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
21783 (handleEvent): Likewise.
21784 * java/awt/Component.java
21785 (repaint): No need to call isShowing, it is done in the other repaint call.
21786 (repaint): Likewise.
21787 (repaint): Likewise.
21789 2006-02-13 Roman Kennke <kennke@aicas.com>
21791 * javax/swing/text/AbstractDocument.java
21792 (setParent): Added API docs. Call setParent(null) on children before
21793 disconnecting this view from the View hierarchy.
21795 2006-02-13 Roman Kennke <kennke@aicas.com>
21797 * javax/swing/text/AbstractDocument.java
21798 (readUnlock): Don't attempt to unlock when the current threads also
21799 holds a write lock.
21801 2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
21803 * javax/swing/plaf/metal/MetalBorders.java
21804 (ButtonBorder.getBorderInsets(Component)): Return insets directly,
21805 (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
21807 (Flush3DBorder.borderInsets): New field,
21808 (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
21809 (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
21810 null insets argument, and populate result from borderInsets,
21811 (PaletteBorder.borderInsets): New field,
21812 (PaletteBorder.getBorderInsets(Component)): Return insets directly,
21813 (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
21814 null insets argument, and populate result from borderInsets,
21815 (InternalFrameBorder.borderInsets): New field,
21816 (InternalFrameBorder.getBorderInsets(Component)): Return insets
21818 (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
21819 for null insets argument, and populate result from borderInsets,
21820 (MenuItemBorder.borderInsets): Initialise to correct value.
21822 2006-02-13 Roman Kennke <kennke@aicas.com>
21824 * javax/swing/text/AsyncBoxView.java: New file.
21826 2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
21829 * gnu/regexp/RE.java(initialize): Parsing of character class expression
21830 was moved to a new method parseCharClass.
21831 (parseCharClass): New method originally in initialize. Added parsing
21832 of nested character classes.
21833 (ParseCharClassResult): New inner class used as a return value of
21835 (getCharExpression),(getNamedProperty): Made static.
21836 * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
21837 * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
21838 nested character classes.
21839 (RETokenOneOf): New constructor accepting the Vector addition.
21840 (getMinimumLength), (getMaximumLength): Returns 1 if the token
21841 stands for only one character.
21842 (match): Added the processing of the Vector addition.
21843 (matchN), (matchP): Do not check next token if addition is used.
21845 2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
21847 * AUTHORS: add self.
21849 2006-02-12 Tom Tromey <tromey@redhat.com>
21851 * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
21852 * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
21853 (securityContext): Likewise.
21856 2006-02-12 Dalibor Topic <robilad@kaffe.org>
21860 * gnu/java/net/protocol/file/Connection.java (unquote):
21861 Convert Unicode characters outside basic plane to UTF-8,
21862 rather than throwing an exception.
21864 2006-02-12 Tom Tromey <tromey@redhat.com>
21866 * javax/sound/sampled/LineEvent.java (readObject): New method.
21867 (writeObject): Likewise.
21868 (serialVersionUID): New field.
21870 2006-02-12 Mark Wielaard <mark@klomp.org>
21872 * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
21873 Silently ignores null listener.
21874 (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
21875 (getPropertyChangeListeners): Returns empty PropertyChangeListener
21876 array for null propertyName.
21878 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
21880 * java/rmi/MarshalledObject.java: Added api docs to the class.
21881 * java/rmi/Remote.java: Added interface api docs.
21882 * java/rmi/package.html: Added package description.
21883 * java/rmi/AccessException.java: Minor api doc fixes.
21884 * java/rmi/NoSuchObjectException.java: Likewise.
21885 * java/rmi/AlreadyBoundException.java: Likewise.
21886 * java/rmi/RemoteException.java: Likewise.
21887 * java/rmi/NotBoundException.java: Likewise.
21888 * java/rmi/RMISecurityException.java: Likewise.
21889 * java/rmi/StubNotFoundException.java: Likewise.
21891 2006-02-12 Mark Wielaard <mark@klomp.org>
21893 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
21894 q() to get EventQueue.
21895 * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
21896 (enableQueue): Remove static method.
21897 * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
21898 Don't call GtkGenericPeer.enableQueue().
21900 2006-02-12 Wolfgang Baer <WBaer@gmx.de>
21902 * java/rmi/MarshalledObject.java: Reformatted.
21903 * java/rmi/Naming.java: Likewise.
21905 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
21907 * java/io/InputStream.java
21908 (read(byte[],int,int)): Changed argument validation to prevent
21909 integer overflow. Remove redundant check.
21911 2006-02-12 Jeroen Frijters <jeroen@frijters.net>
21914 * java/io/InputStreamReader.java
21915 (InputStreamReader(InputStream)): Use SystemProperties.
21916 (InputStreamReader(InputStream,Charset)): Corrected @since tag.
21917 Throw NullPointerException if in is null.
21918 Added maxBytesPerChar initialisation.
21919 (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
21920 Throw NullPointerException if in is null.
21922 2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
21924 * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
21925 (GnuDHPublicKey(4)): Call constructor with 5 arguments.
21926 (GnuDHPublicKey): New constructor.
21927 (getEncoded): Removed.
21928 (valueOf): Added support for ASN.1 encoding.
21929 (getEncoded(int)): Likewise.
21930 (equals): New method.
21931 * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
21932 (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
21933 (GnuDHPrivateKey(5)): New constructor.
21934 (getEncoded): Removed.
21935 (valueOf): Added support for ASN.1 encoding.
21936 (getEncoded(int)): Likewise.
21937 (equals): New method.
21938 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
21939 (PREFERRED_ENCODING_FORMAT): New constant.
21940 (DEFAULT_ENCODING_FORMAT): Likewise.
21941 (preferredFormat): New field.
21942 (setup): Handle preferred encoding format identifier.
21943 (generate): Call constructors with format identifier.
21944 * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
21945 (GnuDHKey): Added an int argument.
21946 (getEncoded): New method.
21947 (getFormat): New implementation.
21948 (getEncoded(int)): New abstract method.
21949 * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
21950 * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
21951 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
21952 key-pair generator and key-factory.
21953 * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
21954 * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
21955 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
21956 * gnu/java/security/jce/sig/EncodedKeyFactory.java
21957 (invokeConstructor): New method.
21958 (getConcreteClass): Likewise.
21959 (getConcreteCtor): Likewise.
21960 (invokeValueOf): Likewise.
21961 (getValueOfMethod): Likewise.
21962 (engineGeneratePublic): Add support for DH keys.
21963 (engineGeneratePrivate): Likewise.
21964 (decodeDHPublicKey(DHPublicKeySpec)): New method.
21965 (decodeDHPublicKey(byte[])): Likewise.
21966 (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
21967 (decodeDHPrivateKey(byte[])): Likewise.
21969 2006-02-11 Mark Wielaard <mark@klomp.org>
21971 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
21973 (repaint): Immediately post to queue when tm <= 0, otherwise call
21974 RepaintTimerTask.schedule().
21975 (RepaintTimerTask): Make static.
21976 (RepaintTimerTask.repaintTimer): New static final field.
21977 (RepaintTimerTask.awtComponent): New field.
21978 (schedule): New static method.
21980 2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
21982 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
21983 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
21984 * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
21985 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
21986 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
21988 * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
21990 2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
21992 * gnu/java/security/jce/sig/EncodedKeyFactory.java
21993 (engineGeneratePublic): Added support for raw key-specifications.
21994 (engineGeneratePrivate): Likewise.
21995 (decodeDSSPublicKey): New method.
21996 (decodeRSAPublicKey): Likewise.
21997 (decodeDSSPrivateKey): Likewise.
21998 (decodeRSAPrivateKey): Likewise.
21999 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
22000 (encodePrivateKey): Throw InvalidParameterException.
22001 (decodePublicKey): Likewise.
22002 (decodePrivateKey): Likewise.
22003 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
22004 (encodePublicKey): Likewise.
22005 (encodePrivateKey): Likewise.
22006 (decodePublicKey): Likewise.
22007 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
22008 (encodePrivateKey): Likewise.
22009 (decodePublicKey): Likewise.
22010 (decodePrivateKey): Likewise.
22011 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
22012 (encodePublicKey): Likewise.
22013 (encodePrivateKey): Likewise.
22014 (decodePublicKey): Likewise.
22016 2006-02-10 Roman Kennke <kennke@aicas.com>
22018 * javax/swing/text/StyleContext.java
22019 (registerStaticAttributeKey): New static method.
22021 2006-02-10 Roman Kennke <kennke@aicas.com>
22023 * javax/swing/text/DefaultStyledDocument.java
22024 (ElementBuffer.clone): New method.
22026 2006-02-10 Roman Kennke <kennke@aicas.com>
22028 * javax/swing/text/ParagraphView.java
22029 (findOffsetToCharactersInString): New method.
22030 (getClosestPositionTo): New method.
22031 (getPartialSize): New method.
22032 (getTabBase): New method.
22033 (adjustRow): New method.
22034 (breakView): New method.
22035 (getBreakWeight): New method.
22037 2006-02-10 Roman Kennke <kennke@aicas.com>
22039 * javax/swing/text/GapContent.java
22040 (updateUndoPositions): New method.
22041 * javax/swing/text/StringContent.java
22042 (updateUndoPositions): New method.
22044 2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
22046 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
22048 * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
22049 * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
22050 Added support for encoded key specifications.
22051 (engineGeneratePrivate): Likewise.
22052 (engineGetKeySpec): Likewise.
22053 (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
22055 2006-02-10 Robert Schuster <robertschuster@fsfe.org>
22057 * javax/swing/text/Utilities.java:
22058 (getTabbedTextOffset): Fixed usage of variable p0.
22059 (getPositionAbove): Rewritten.
22060 (getPositionBelow): Rewritten.
22062 2006-02-09 Roman Kennke <kennke@aicas.com>
22064 * javax/swing/text/BoxView.java
22065 (getAxis): Added @since tag.
22066 (setAxis): Added @since tag.
22067 (layoutChanged): Added @since tag.
22068 (isLayoutValid): Added @since tag.
22069 (paint): Don't call setSize here. This is done in RootView already.
22070 (getMaximumSpan): Reimplemented to return the requirements'
22071 maximum size. Added API docs.
22072 (getMinimumSpan): New method.
22073 (layout): Fixed layout order.
22074 (modelToView): Call layout instead of setSize here.
22075 (getResizeWeight): New method.
22076 (getChildAllocation): New method.
22077 (forwardUpdate): New method.
22078 (viewToModel): New method.
22079 (flipEastEndWestEnds): New method.
22080 * javax/swing/text/CompositeView.java
22081 (modelToView): Made this method more robust by returning a default
22082 location if it's not possible to calculate one via the children.
22083 This default location returns the left or right edge of this
22085 (createDefaultLocation): New helper method.
22086 * javax/swing/text/IconView.java
22087 (modelToView): Don't throw BadLocationException. This should
22088 really only be thrown if the position is outside the document
22089 model, not if it's outside the view's boundary.
22091 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22093 * tools/Makefile.am: Handle rmi and giop folders separately.
22095 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
22097 * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22098 * javax/swing/SpinnerNumberModel.java: Likewise.
22100 2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
22102 * javax/swing/SpinnerDateModel.java: Removed tabs,
22103 * javax/swing/SpinnerNumberModel.java: Likewise.
22105 2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
22107 * doc/unicode/SpecialCasing-4.0.0.txt: New file.
22108 * doc/unicode/UnicodeData-4.0.0.txt: New file.
22110 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
22113 * gnu/java/net/protocol/http/HTTPURLConnection.java:
22114 (isRedirect): Removed, moved to Response.java.
22115 (connect): If error condition redirect responseSink to errorSink.
22116 (getInputStream): If error condition throw IOException, for the error
22117 codes 404 and 410 throw a FileNotFoundException.
22118 * gnu/java/net/protocol/http/Response.java (isError): New method.
22119 (isRedirect): New method, moved from HTTPURLConnection.java.
22121 2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22123 * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
22124 * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
22125 * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
22127 * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
22129 * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
22130 AbstractMethodGenerator.
22131 * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
22132 tools/gnu/classpath/tools/rmi/RMIC.java,
22133 tools/gnu/classpath/tools/rmi/RMIC.txt,
22134 tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
22135 tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
22136 tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
22137 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
22138 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
22139 tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
22141 * NEWS: Corrected entry about the tools.
22143 2006-02-09 Lillian Angel <langel@redhat.com>
22145 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
22146 (handleEvent): Added more to check to prevent assertion errors.
22147 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
22148 (handleEvent): Likewise.
22149 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
22150 (handleEvent): Likewise.
22152 2006-02-09 Mark Wielaard <mark@klomp.org>
22154 * javax/swing/JTable.java (tableChanged): Interpret null event as
22155 "everything changed".
22157 2006-02-09 Roman Kennke <kennke@aicas.com>
22159 * javax/swing/text/DefaultCaret.java
22160 (DocumentHandler.removeUpdate): When update policy is
22161 'on eventqueue', and the update doesn't come from the
22162 event queue, check if the current dot location is still
22164 (moveDot): Make sure the new dot location is valid.
22165 (setDot): Set the mark the same as the dot.
22167 2006-02-09 Roman Kennke <kennke@aicas.com>
22169 * javax/swing/text/AbstractDocument.java
22170 (remove): Perform all operations within a write lock and in the
22173 2006-02-09 Mark Wielaard <mark@klomp.org>
22175 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
22176 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
22177 creater than min, adjusting page_size if necessary.
22178 (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
22180 2006-02-09 Lillian Angel <langel@redhat.com>
22182 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
22183 (handleEvent): Added code to handle PaintEvent.UPDATE.
22184 Sun does not call update(Graphics g) on Panels.
22185 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
22186 (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
22187 Sun does not call update(Graphics g) on Panels.
22189 2006-02-09 Roman Kennke <kennke@aicas.com>
22191 * javax/swing/text/BoxView.java
22192 (myAxis): Made field private.
22193 (xLayoutValid): Replaced by layoutValid array.
22194 (yLayoutValid): Replaced by layoutValid array.
22195 (layoutValid): New field.
22196 (spansX): Replaced by spans array.
22197 (spansY): Replaced by spans array.
22198 (spans): New field.
22199 (offsetsX): Replaced by offsets array.
22200 (offsetsY): Replaced by offsets array.
22201 (offsets): New field.
22202 (requirements): New field.
22203 (BoxView): Initialize new fields.
22204 (layoutChanged): Rewritten to use the layoutValid array.
22205 (isLayoutValid): Rewritten to use the layoutValid array.
22206 (replace): Use the new arrays.
22207 (getPreferredSpan): Rewritten to call calculateXXXRequirements
22208 instead of baselineRequirements.
22209 (baselineRequirements): Rewritten to calculate baseline requirements.
22210 (baselineLayout): Rewritten to calculate baseline layout.
22211 (childAllocation): Use new arrays.
22212 (layout): Rewritten. Only update the layout if necessary.
22213 (layoutMajorAxis): Directly set layoutValid.
22214 (layoutMinorAxis): Directly set layoutValid. Use cached size
22216 (getWidth): Use new span array.
22217 (getHeight): Likewise.
22218 (setSize): Rewritten to simply call layout().
22219 (validateLayout): Removed unneeded method.
22220 (getSpan): Use new arrays.
22221 (getOffset): Use new arrays.
22222 (getAlignment): Use cached requirements if possible.
22223 (preferenceChanged): Use new arrays.
22224 * javax/swing/text/FlowView.java
22225 (FlowStrategy.insertUpdate): Do nothing here.
22226 (FlowStrategy.removeUpdate): Do nothing here.
22227 (FlowStrategy.changedUpdate): Do nothing here.
22228 (FlowStrategy.layoutRow): Rewritten.
22229 (FlowStrategy.createView): Rewritten.
22230 (FlowStrategy.adjustRow): New method.
22231 (LogicalView.getViewIndex): Fixed condition for finding child
22233 (layoutDirty): New field indicating the state of the layout.
22234 (FlowView): Initialize new field.
22235 (loadChildren): Set parent on logical view so that preferenceChanges
22236 get propagated upwards.
22237 (layout): Rewritten to match the specs.
22238 (insertUpdate): Set layout to dirty.
22239 (removeUpdate): Set layout to dirty.
22240 (changedUpdate): Set layout to dirty.
22241 * javax/swing/text/GlyphView.java
22242 (getBreakWeight): Rewritten to use the Utilities class. Commented
22243 out though because that is broken.
22244 (insertUpdate): Call preferenceChanged on this object instead of
22246 * javax/swing/text/ParagraphView.java
22247 (Row.loadChildren): Overridden to be a noop to prevent initial
22248 creation of child views. This is carried out by the flow layout.
22249 * javax/swing/text/View.java
22250 (getPreferredSpan): Added API docs.
22251 (getResizeWeight): Added API docs.
22252 (getMaximumSpan): Added API docs. Rewritten to only have one exit
22254 (getMinimumSpan): Added API docs. Rewritten to return 0 when
22255 resizable instead of Integer.MAX_VALUE.
22256 (getAlignment): Added API docs.
22257 (replace): Added API docs.
22258 (forwardUpdate): Rewritten to only notify child views that need to
22261 2006-02-09 Roman Kennke <kennke@aicas.com>
22263 * javax/swing/plaf/basic/BasicTextUI.java
22264 (RootView.paint): Call setSize() before painting the view.
22266 2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
22269 * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
22270 flag which enables backslash escape in a replacement.
22271 (getReplacement): New public static method.
22272 (substituteImpl),(substituteAllImpl): Use getReplacement.
22273 * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
22274 * java/util/regex/Matcher.java(appendReplacement)
22275 Use RE#getReplacement.
22276 (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
22278 2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
22280 * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
22281 * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
22282 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
22283 (PREFERRED_ENCODING_FORMAT): New constant.
22284 (DEFAULT_ENCODING_FORMAT): Likewise.
22285 (preferredFormat): New field.
22286 (setup): Add support for preferred encoding format.
22287 (generate): Call key constructors with explicit format identifier.
22288 * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
22289 Call constructor with 3 arguments..
22290 (GnuRSAPublicKey(3)): New constructor.
22291 (valueOf): Added support for ASN.1 format.
22292 (getEncoded): Likewise.
22293 * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
22294 Call constructor with 5 arguments.
22295 (GnuRSAPrivateKey(5)): New constructor.
22296 (GnuRSAPrivateKey(9)): New constructor.
22297 (valueOf): Added support for ASN.1 format.
22298 (getEncoded): Likewise.
22299 * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
22300 (GnuRSAKey): Modified constructor.
22301 (getFormat): Return preferred format identifier.
22302 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
22303 (decodePrivateKey): Fixed documentation.
22304 Check Version field.
22305 * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
22306 (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
22308 (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
22309 * gnu/java/security/jce/sig/EncodedKeyFactory.java
22310 (engineGeneratePublic): Added support for RSA.
22311 (engineGeneratePrivate): Likewise.
22313 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
22315 * java/net/URLConnection.java:
22316 (setAllowUserInteraction): Throw IllegalStateException if connected.
22317 (getRequestProperty): Document return value if key is null.
22318 * gnu/java/net/protocol/http/HTTPURLConnection.java:
22319 (getRequestProperty): Return null if key is null.
22320 (getRequestProperties): Throw IllegalStateException if connected.
22321 (setRequestProperty): Call super method for exception tests.
22322 (addRequestProperty): Likewise.
22324 2006-02-09 Wolfgang Baer <WBaer@gmx.de>
22326 * gnu/java/net/protocol/http/Request.java:
22327 (Request): Remove initialization of removed field.
22328 (requestBodyNegotiationThreshold): Removed now unused field.
22329 (setRequestBodyNegotiationThreshold): Remove now unused method.
22330 (dispatch): Do not use 'Expect 100-continue' header if content-length
22331 is over a treshold. If user specified 'Expect 100-continue' still
22332 initialize the expectingContinue variable.
22334 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
22336 * javax/swing/SpinnerNumberModel.java
22337 (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
22338 maximum and minimum to take null values,
22339 (setValue): Only fire ChangeEvent if new value is different to old
22341 (setMinimum): Fixed test for updating value,
22342 (setMaximum): Likewise,
22343 (setStepSize): Likewise.
22345 2006-02-08 Tom Tromey <tromey@redhat.com>
22347 * tools/.cvsignore: Added Makefile.in.
22349 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22351 * java/rmi/server/RemoteRef.java,
22352 java/rmi/server/RemoteStub.java: Commented.
22354 2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
22356 * javax/swing/SpinnerDateModel.java
22357 (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
22359 (getPreviousValue): Check result against start, not end,
22360 (setValue): Check that value actually changes before firing
22363 2006-02-08 Lillian Angel <langel@redhat.com>
22365 * java/awt/Choice.java
22366 (select): Fixed up code, added some checks to prevent errors.
22367 (dispatchEventImpl): Removed. This function is not needed. It
22368 causes several assertion errors.
22370 2006-02-08 Roman Kennke <kennke@aicas.com>
22372 * javax/swing/text/PlainView.java
22373 (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
22374 drawing unnecessary characters.
22376 2006-02-08 Lillian Angel <langel@redhat.com>
22378 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
22379 (handleEvent): Fixed check to determine if height or
22380 width is less than 1.
22382 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22384 *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
22386 2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22388 * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
22389 examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
22390 Documenting the code generator.
22391 * gnu/CORBA/IOR.java (toStringFormatted,
22392 CodeSet_component.toStringFormatted): New methods.
22393 * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
22394 * tools/gnu/classpath/tools/giop/README: Rewritten.
22395 * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
22396 (printHelpAndExit): Removed.
22397 *tools/gnu/classpath/tools/giop/IorParser.java,
22398 tools/gnu/classpath/tools/giop/IorParser.txt,
22399 tools/gnu/classpath/tools/giop/NameService.java,
22400 tools/gnu/classpath/tools/giop/NamingService.txt,
22401 tools/gnu/classpath/tools/HelpPrinter.java: New files.
22402 NEWS: Added note about GIOP tools.
22404 2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22406 * .classpath: New source patch (tools).
22407 * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
22408 * configure.ac (AC_CONFIG_FILES): added tools/Makefile
22409 * tools/gnu/classpath/tools/Makefile.am,
22410 tools/gnu/classpath/tools/giop/GRMIC.java
22411 tools/gnu/classpath/tools/giop/GRMIC.txt,
22412 tools/gnu/classpath/tools/giop/README,
22413 tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
22414 tools/gnu/classpath/tools/giop/grmic/Generator.java,
22415 tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
22416 tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
22417 tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
22418 tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
22419 tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
22420 tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
22421 tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
22422 tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
22423 tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
22424 tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
22426 2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
22428 * java/awt/BasicStroke.java: Updated API docs all over,
22429 * java/awt/doc-files/capjoin.png: New file.
22431 2006-02-07 Lillian Angel <langel@redhat.com>
22433 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
22434 (handleEvent): Added check. Should not paint or update the
22435 component if it's width and height are both 0.
22437 2006-02-07 Roman Kennke <kennke@aicas.com>
22439 * javax/swing/text/AbstractDocument.java
22440 (insertString): Enclose locking/unlocking in try-finally block
22441 and also keep locked while notifying the listeners.
22443 2006-02-07 Roman Kennke <kennke@aicas.com>
22445 * javax/swing/text/GlyphView.java
22446 (GlyphView): Initialize startOffset and endOffset with -1 (indicating
22448 (getStartOffset): Return element boundary if startOffset < 0.
22449 (getEndOffset): Return element boundary if endOffset < 0.
22450 (createFragment): Set startOffset and endOffset fields of fragment
22451 if one of p0 or p1 is not at the element boundary.
22453 2006-02-07 Roman Kennke <kennke@aicas.com>
22455 * javax/swing/CellRendererPane.java
22456 (paintComponent): Enclosed painting in try finally to properly
22457 clean up even when throwing an exception.
22459 2006-02-07 Roman Kennke <kennke@aicas.com>
22461 * javax/swing/UIManager.java
22462 (listeners): Made this an instance of
22463 java.beans.PropertyChangeSupport instead of the obsoleted
22464 SwingPropertyChangeSupport.
22466 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
22468 * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
22469 of actions "delete-next" and "delete-previous", added new TextAction
22470 implementations for "selection-begin", "selection-begin-line",
22471 "selection-end" and "selection-end-line".
22473 2006-02-07 Roman Kennke <kennke@aicas.com>
22475 * javax/swing/plaf/basic/BasicTextUI.java
22476 (paint): Acquire read lock on the document before calling
22478 (paintSafely): Added comment about what this method does.
22479 (paintBackground): Implemented to actually paint the background.
22480 (update): Overridden to _not_ paint the background. This is done
22481 in paintBackground in this UI.
22483 2006-02-07 Roman Kennke <kennke@aicas.com>
22485 * javax/swing/text/View.java
22486 (forwardUpdate): Don't notify newly added child views as specified.
22488 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
22490 * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
22492 2006-02-07 Roman Kennke <kennke@aicas.com>
22494 * javax/swing/text/DefaultStyledDocument.java
22495 (ElementBuffer.insert): Only register change when the element
22498 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
22500 * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
22502 (getEncodingShortName): Likewise.
22503 * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
22504 (PKCS8_FORMAT): Likewise.
22505 (ASN1_FORMAT): Likewise.
22506 * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
22507 constructor with 5 arguments.
22508 (DSSPublicKey(5)): New constructor.
22509 (valueOf): Handle ASN.1 encoding.
22510 (getEncoded): Likewise.
22511 * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
22512 constructor with 5 arguments.
22513 (DSSPrivateKey(5)): New constructor.
22514 (valueOf): Handle ASN.1 encoding.
22515 (getEncoded): Likewise.
22516 * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
22517 * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
22518 * gnu/java/security/key/dss/DSSKeyPairGenerator.java
22519 (PREFERRED_ENCODING_FORMAT): New constant.
22520 (DEFAULT_ENCODING_FORMAT): Likewise.
22521 (preferredFormat): New field.
22522 (setup): Handle preferred format ID.
22523 (generate): Use new ctors with 5 arguments.
22524 * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
22525 ID as an additional argument.
22526 (defaultFormat): new field.
22527 (getFormat): Returns the preferred format as a short string.
22528 * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
22529 * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
22531 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
22532 (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
22534 (initialize(int,boolean,SecureRandom)): Likewise.
22535 * gnu/java/security/der/DERWriter.java (writeBitString): Use
22536 writeLength() instead of write().
22537 return buf.length + 1 instead of buf.length.
22539 2006-02-07 Roman Kennke <kennke@aicas.com>
22541 * javax/swing/plaf/basic/BasicTextUI.java
22542 (RootView.preferenceChange): Changed view parameter to view so
22543 that it doesn't hide a field of that class.
22544 (RootView.getViewCount): Rewritten to clean up ECJ warning.
22545 (RootView.modelToView): Removed unnecessary cast from View to View.
22546 (PropertyChangeHandler): Made inner class private.
22547 (updateHandler): Made field private.
22548 (getVisibleEditorRect): Removed unneeded local variable that
22549 shadowed a field with the same name and purpose.
22551 2006-02-07 Robert Schuster <robertschuster@fsfe.org>
22553 * javax/swing/text/JTextComponent.java:
22554 (getSelectedText): Calculate offset and use that as
22557 2006-02-07 Roman Kennke <kennke@aicas.com>
22559 * javax/swing/JTextPane.java
22560 (setCharacterAttributes): Replace input attributes when
22563 2006-02-07 Roman Kennke <kennke@aicas.com>
22565 * java/awt/Component.java
22566 (firePropertyChange(String,byte,byte)): Made method public.
22567 (firePropertyChange(String,char,char)): Made method public.
22568 (firePropertyChange(String,short,short)): Made method public.
22569 (firePropertyChange(String,long,long)): Made method public.
22570 (firePropertyChange(String,float,float)): Made method public.
22571 (firePropertyChange(String,double,double)): Made method public.
22573 2006-02-06 Tom Tromey <tromey@redhat.com>
22575 * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
22577 * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
22579 2006-02-06 Anthony Green <green@redhat.com>
22581 * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
22583 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
22585 * .settings/org.eclipse.jdt.core.prefs:
22586 Force a line split on extends and implements.
22587 Force a white-space after unary operators.
22588 Don't force a new-line after @params.
22589 Add new-line at end-of-file.
22590 * scripts/eclipse-gnu.xml: Export version of the above named GNU.
22592 2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
22594 * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
22596 * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
22598 * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
22600 * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
22602 * gnu/java/security/provider/EncodedKeyFactory.java
22603 (ID_DSA): Redefined in terms of Registry constant.
22604 (ID_DSA): Redefined in terms of Registry constant.
22605 (ID_DH): Redefined in terms of Registry constant.
22606 * gnu/java/security/Registry.java (X509_ENCODING): New constant.
22607 (PKCS8_ENCODING): Likewise.
22608 (ASN1_ENCODING): Likewise.
22609 (RAW_ENCODING_SHORT_NAME): Likewise.
22610 (X509_ENCODING_SORT_NAME): Likewise.
22611 (PKCS8_ENCODING_SHORT_NAME): Likewise.
22612 (ASN1_ENCODING_SHORT_NAME): Likewise.
22613 (X509_ENCODING_ID): Likewise.
22614 (PKCS8_ENCODING_ID): Likewise.
22615 (ASN1_ENCODING_ID): Likewise.
22616 (DSA_OID_STRING): Likewise.
22617 (RSA_OID_STRING): Likewise.
22618 (DH_OID_STRING): Likewise.
22620 2006-02-06 Roman Kennke <kennke@aicas.com>
22622 * javax/swing/text/GlyphView.java:
22623 (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
22624 Only fill background if there is a background set on the view.
22625 Call Utilities.drawTabbedText with the baseline height, rather than
22626 the upper left corner of the view rectangle.
22627 (getBackground): Return null if no background is set.
22628 * javax/swing/text/GlyphView.java:
22629 (setPropertiesFromAttributes): Use null for background when no
22630 background is set. StyleConstants.getBackground() doesn't work
22631 for this, because it returns Color.BLACK in that case.
22633 2006-02-06 Roman Kennke <kennke@aicas.com>
22635 * java/awt/Container.java
22636 (changeSupport): Removed duplicate (from Component) field.
22637 (addPropertyChangeListener): Call super.
22639 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
22641 * java/util/regex/Matcher.java(matches):
22642 set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
22644 2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
22647 * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
22648 * gnu/regexp/CharIndexedCharArray.java
22649 (lookBehind),(length): Implemented.
22650 * gnu/regexp/CharIndexedInputStream.java: Likewise.
22651 * gnu/regexp/CharIndexedString.java: Likewise.
22652 * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
22653 * gnu/regexp/REToken.java(getMaximumLength): New method.
22654 * gnu/regexp/RE.java(internal constructor RE): Added new argument
22656 (initialize): Parse (?<=X), (?<!X), (?>X).
22657 (getMaximumLength): Implemented.
22658 * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
22659 * gnu/regexp/RETokenChar.java: Likewise.
22660 * gnu/regexp/RETokenEnd.java: Likewise.
22661 * gnu/regexp/RETokenEndSub.java: Likewise.
22662 * gnu/regexp/RETokenLookAhead.java: Likewise.
22663 * gnu/regexp/RETokenNamedProperty.java: Likewise.
22664 * gnu/regexp/RETokenOneOf.java: Likewise.
22665 * gnu/regexp/RETokenPOSIX.java: Likewise.
22666 * gnu/regexp/RETokenRange.java: Likewise.
22667 * gnu/regexp/RETokenRepeated.java: Likewise.
22668 * gnu/regexp/RETokenStart.java: Likewise.
22669 * gnu/regexp/RETokenWordBoundary.java: Likewise.
22670 * gnu/regexp/RETokenIndependent.java: New file.
22671 * gnu/regexp/RETokenLookBehind.java: New file.
22673 2006-02-06 Roman Kennke <kennke@aicas.com>
22675 * java/awt/Component.java
22676 (firePropertyChange(String,byte,byte)): New method.
22677 (firePropertyChange(String,char,char)): New method.
22678 (firePropertyChange(String,short,short)): New method.
22679 (firePropertyChange(String,long,long)): New method.
22680 (firePropertyChange(String,float,float)): New method.
22681 (firePropertyChange(String,double,double)): New method.
22683 2006-02-06 Roman Kennke <kennke@aicas.com>
22685 * javax/swing/JComponent.java
22686 (AccessibleJComponent.changeSupport): Changed to be a
22687 java.beans.PropertyChangeSupport rather than
22688 SwingPropertyChangeSupport.
22689 (AccessibleJComponent.AccessibleJComponent()): Change initialization
22691 (changeSupport): Removed unneeded field.
22692 (removePropertyChangeListener): Removed unneeded methods.
22693 (addPropertyChangeListener): Removed unneeded methods.
22694 (getPropertyChangeListeners): Removed unneeded methods.
22695 (firePropertyChange(String,boolean,boolean)): Changed to simply
22696 call super. Added specnote.
22697 (firePropertyChange(String,char,char)): Changed to simply
22698 call super. Added specnote.
22699 (firePropertyChange(String,int,int)): Changed to simply
22700 call super. Added specnote.
22701 (firePropertyChange(String,byte,byte)): Removed.
22702 (firePropertyChange(String,Object,Object)): Removed.
22703 (firePropertyChange(String,double,double)): Removed.
22704 (firePropertyChange(String,float,float)): Removed.
22705 (firePropertyChange(String,long,long)): Removed.
22706 (firePropertyChange(String,short,short)): Removed.
22708 2006-02-06 Roman Kennke <kennke@aicas.com>
22710 * javax/swing/event/SwingPropertyChangeSupport.java
22711 (listeners): Removed field.
22712 (propertyListeners): Removed field.
22713 (source): Removed field.
22714 (SwingPropertyChangeSupport()): Removed initialization of removed
22716 (addPropertyChangeListener): Removed methods.
22717 (removePropertyChangeListener): Removed methods.
22718 (getPropertyChangeListeners): Removed methods.
22719 (firePropertyChange): Removed methods.
22720 (hasListeners): Removed methods.
22722 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
22725 * java/net/InetAddress.java
22726 (readResolve): Implemented.
22728 2006-02-06 Jeroen Frijters <jeroen@frijters.net>
22731 * java/io/ObjectInputStream.java
22732 (readNextBlock()): Handle TC_RESET.
22734 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
22736 * javax/print/attribute/standard/Compression.java,
22737 * javax/print/attribute/standard/Finishings.java,
22738 * javax/print/attribute/standard/JobMediaSheets.java,
22739 * javax/print/attribute/standard/JobSheets.java,
22740 * javax/print/attribute/standard/JobState.java,
22741 * javax/print/attribute/standard/JobStateReason.java,
22742 * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
22743 * javax/print/attribute/standard/PrintQuality.java,
22744 * javax/print/attribute/standard/Media.java,
22745 * javax/print/attribute/standard/MultipleDocumentHandling.java,
22746 * javax/print/attribute/standard/PrinterStateReason.java,
22747 * javax/print/attribute/standard/PDLOverrideSupported.java:
22748 (getName): Make method final.
22749 (getCategory): Likewise.
22750 * javax/print/attribute/standard/MediaSize.java:
22751 (getName): Make method final.
22752 (getCategory): Likewise.
22753 (ISO): Added private default constructor.
22757 (Engineering): Likewise.
22759 2006-02-06 Wolfgang Baer <WBaer@gmx.de>
22761 * native/jni/java-net/javanet.c (_javanet_connect):
22762 Throw ConnectException instead of IOException if connection failed.
22763 * native/jni/java-net/javanet.h:
22764 Add a define for java.net.ConnectException
22766 2006-02-05 Mark Wielaard <mark@klomp.org>
22769 reported by Egon Willighagen <egon.willighagen@gmail.com>
22770 * javax/swing/DefaultListCellRenderer.java
22771 (getListCellRendererComponent): Turn null value into empty string.
22773 2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
22775 * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
22776 a Unicode block if the name starts with "In".
22777 (UnicodeBlockHandler): New inner class.
22779 2006-02-04 Roman Kennke <kennke@aicas.com>
22781 * java/awt/Container.java
22782 (getComponentZOrder): New method.
22783 (setComponentZOrder): New method.
22784 * javax/swing/JLayeredPane.java
22785 (setPosition): Reimplemented to use setComponentZOrder().
22786 (getIndexOf): Reimplemented to use getComponentZOrder().
22787 (addImpl): Pass layerContraint to super call. Important for possibly
22788 installed layout managers.
22789 (swapComponents): Remove unneeded method.
22791 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
22793 * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
22794 DSAKeyPairGenerator.
22795 (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
22796 (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
22798 Surround call to adaptee in a try/catch.
22799 (initialize((DSAParams,SecureRandom)): New method.
22800 (initialize(int,boolean,SecureRandom)): New method.
22801 * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
22802 KeyPairGenerator rather than KeyPairGeneratorSpi.
22803 (KeyPairGeneratorAdapter): Call super with algorithm name.
22805 2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
22807 * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
22808 (getDefaultPRNG): New method.
22809 (parseO): Use method above.
22810 * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
22811 (getDefaultPRNG): New method.
22812 (createO): Use method above.
22813 * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
22814 (nextByte): Use above field.
22815 * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
22816 * gnu/java/security/sig/rsa/RSA.java: New class field.
22817 (newR): Use above field
22818 * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
22819 (encode): Use field.above.
22820 * gnu/java/security/key/dss/FIPS186.java (prng): New field.
22821 (getDefaultPRNG): new method.
22822 (nextRandomBytes): Use above method.
22823 * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
22824 * gnu/java/security/sig/BaseSignature.java: Likewise.
22825 * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
22826 * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
22827 * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
22828 * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
22829 * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
22830 (getDefaultPRNG): new method.
22831 (nextRandomBytes): Use above method.
22832 (STRICT_DEFAULTS): new class field.
22833 (USE_DEFAULTS): more documentation to clarify behavior.
22834 (setup): amended to handle new attribute.
22835 * gnu/java/security/util/PRNG.java: New file.
22837 2006-02-03 Lillian Angel <langel@redhat.com>
22839 * javax/swing/plaf/basic/BasicColorChooserUI.java:
22840 chooser field should be protected, not package-private.
22842 2006-02-03 Lillian Angel <langel@redhat.com>
22844 * javax/swing/text/DefaultStyledDocument.java
22845 (changeUpdate): Cleaned up code.
22847 (insertUpdate): Set offset to be equal to pos after
22848 insertContentTag call.
22849 (insertContentTag): If paragraph has no children, should use
22850 replace instead of Edit.
22851 (insertFracture): Moved around code to prevent any exception. Also,
22852 left side of tree should not be recreated if it has already been
22853 edited. In that case, we should only be creating a new right branch
22855 (getEditForParagraphAndIndex): No need to check index. We should
22856 use the same edit for each paragraph.
22858 2006-02-03 Mark Wielaard <mark@klomp.org>
22860 * javax/swing/event/SwingPropertyChangeSupport.java
22861 (propertyListeners): Change type to HashMap.
22862 (SwingPropertyChangeSupport): Allocate HashMap.
22864 2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
22866 * java/security/KeyPairGenerator.java (getInstance): Test for
22867 instanceof KeyPairGenerator before KeyPairGeneratorSpi.
22869 2006-02-02 Roman Kennke <kennke@aicas.com>
22871 * javax/swing/RepaintManager.java
22872 Made fields private.
22873 (RepaintWorker.run): Enclosed work stuff in try finally block in
22874 order to clean up correctly if invalidation or painting fails,
22875 otherwise we would get no more RepaintWorkers onto the EventQueue.
22876 Also, now the RepaintWorker is marked 'dead' only after it has
22877 finished its work, avoid more than one RepaintWorker on the queue.
22878 (ComponentComparator.compareTo): Compare dirty rectangle sizes
22879 instead of hierarchy depths.
22880 (workDirtyComponents): Removed unused field.
22881 (repaintOrder): Removed unused field.
22882 (workRepaintOrder): Removed unused field.
22883 (workInvalidComponents): Removed unused field.
22884 (RepaintManager()): Removed initialization of removed fields.
22885 (addInvalidComponent): Fine tuned synchronization.
22886 (removeInvalidComponent): Fine tune synchronization.
22887 (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
22888 synchronization. Don't manager repaintOrder here.
22889 (insertRepaintOrder): Removed method.
22890 (markCompletelyClean): Fine tuned synchronization.
22891 (validateInvalidComponents): Dont use a working copy of the
22892 invalidComponents list, instead fine tuned synchronization on this
22893 list. Also, don't search validateRoot, this is already done in
22894 addInvalidComponent().
22895 (paintDirtyRegions): Compute repaint order here, based on size of
22896 damaged regions. Fine tuned synchronization. Avoid use of working
22897 copies of dirtyComponent.
22899 2006-02-02 Lillian Angel <langel@redhat.com>
22901 * javax/swing/text/DefaultStyledDocument.java
22902 (insertUpdate): JoinNextDirection should push the
22903 'next' paragraph on the stack.
22905 2006-02-02 Lillian Angel <langel@redhat.com>
22907 * javax/swing/text/DefaultStyledDocument.java
22908 (insertUpdate): Rewrote code for Originate. This prevents
22909 leaves being created multiple times. If it is on the last
22910 ElementSpec, the leaves need to be created right then;
22911 otherwise, only a branch is created.
22912 (insertContentTag): Rewrote to add new leaf directly if
22913 this is a branch with no children. Otherwise, it
22914 recreates the remainder of the tree as before.
22916 2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
22918 * gnu/regexp/REMatch.java(REMatchList): New inner utility class
22919 for making a list of REMatch instances.
22920 * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
22921 * gnu/regexp/RETokenRepeated.java(findDoables): New method.
22922 (match): Rewritten using REMatchList.
22923 (matchRest): Rewritten using REMatchList.
22925 2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
22927 * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
22928 (friendsMove): Call repaint() only after endOfGame is assigned.
22930 2006-02-02 Mark Wielaard <mark@klomp.org>
22932 Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
22933 * java/util/AbstractCollection.java (toString): Only use Iterator,
22934 check whether collection contains itself.
22936 2006-02-01 Casey Marshall <csm@gnu.org>
22938 Partial fix for PR classpath/25143.
22939 * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
22940 (<init>): fill in `algName,' derive `algOid' from `algName.'
22941 (getOid): new method.
22942 (encode): embed NULL value for parameters if `params' is `null.'
22944 2006-02-01 Casey Marshall <csm@gnu.org>
22946 Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
22947 <monoman@gmail.com>.
22948 * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
22949 check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
22951 2006-02-01 Casey Marshall <csm@gnu.org>
22953 toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
22954 * gnu/java/security/der/DERValue.java
22955 (getLength, getEncoded, getEncodedLength): throw an exception,
22956 don't initialize `encoded' to a bogus value.
22957 (toString): return a more helpful string.
22959 Partial fix for PR classpath/25144.
22960 * gnu/java/security/der/DERWriter.java (write): if the value is
22961 the pseudo-value used for CONSTRUCTED, write the encoded value
22964 2006-02-01 Tom Tromey <tromey@redhat.com>
22966 * java/security/Security.java (loadProviders): Use system class
22969 2006-02-01 Mark Wielaard <mark@klomp.org>
22971 * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
22972 * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
22973 SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
22974 (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
22975 (UnicodeCategoriesHandler): New private static class.
22977 2006-02-01 Lillian Angel <langel@redhat.com>
22979 * javax/swing/text/DefaultStyledDocument.java:
22980 Removed unneeded fields.
22981 (insertUpdate): Removed field initialization.
22982 (insertContentTag): Rewrote part of function. Still
22985 2006-02-01 Lillian Angel <langel@redhat.com>
22987 * javax/swing/text/DefaultStyledDocument.java
22988 (insertParagraph): Cleaned up code.
22989 (insertFirstContentTag): Fixed call to recreateLeaves.
22990 (insertContentTag): Added check to code to determine where
22991 content should be inserted with respect to next element.
22992 (createFracture): Removed check, recreateLeaves is called in
22993 other places when needed.
22994 (recreateLeaves): Added new parameter for paragraph instead
22995 of checking the stack. Removed editing for newBranch, replaced
22996 with a replace call.
22998 2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
23000 * doc/unicode/Blocks-4.0.0.txt: New file.
23001 * java/lang/Character.java: Regenerated inner class UnicodeBlock from
23002 scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
23003 * scripts/unicode-blocks.pl: Copied this over from the generics branch
23004 but replaced some 1.5-only features (such as enum).
23006 2006-01-31 Roman Kennke <kennke@aicas.com>
23008 * javax/swing/text/PasswordView.java
23009 (drawSelectedText): Use drawEchoCharacter() method to draw echo
23011 (drawUnselectedText): Use drawEchoCharacter() method to draw echo
23014 2006-01-31 Roman Kennke <kennke@aicas.com>
23016 * javax/swing/JTextField.java
23017 (getPreferredSize): Also include textfield's insets in width
23020 2006-01-31 Roman Kennke <kennke@aicas.com>
23022 * javax/swing/plaf/basic/BasicTextUI.java
23023 (getPreferredSize): Include the textcomponent's insets in
23026 2006-01-31 Roman Kennke <kennke@aicas.com>
23028 * javax/swing/table/DefaultTableCellRenderer.java
23029 (getTableCellRendererComponent): Moved setting of the value into
23030 setValue(). Removed (bogus) special handling of JTextField values.
23031 (setValue): Made ?: statement more clear by rewriting it
23034 2006-01-31 Roman Kennke <kennke@aicas.com>
23036 * javax/swing/JLayeredPane.java
23037 (insertIndexForLayer): Fixed algorithm to correctly determine
23038 inser index for positions >= 0.
23039 (addImpl): Fixed API docs for the index parameter.
23041 2006-01-31 Mark Wielaard <mark@klomp.org>
23043 * java/net/URI.java (getURIGroup): Check for null to see whether
23044 group actually exists.
23046 2006-01-31 Lillian Angel <langel@redhat.com>
23048 * javax/swing/text/DefaultStyledDocument.java
23049 (changeUpdate): Fixed calls to split to incorporate
23051 (insertParagraph): Likewise. Uses 0 as editIndex
23052 because inserting into a new paragraph.
23053 (insertContentTag): Fixed check to use
23054 recreateLeaves. Added a FIXME comment.
23055 (split): Added a new parameter for edits.
23057 2006-01-31 Roman Kennke <kennke@aicas.com>
23059 * javax/swing/plaf/basic/BasicRootPaneUI.java
23060 (installDefaults): Don't install a background color here.
23062 2006-01-31 Lillian Angel <langel@redhat.com>
23064 * javax/swing/text/DefaultStyledDocument.java
23065 (insert): Removed comment.
23066 (insertUpdate): Added comment.
23067 (recreateLeaves): Removed call to push newBranch onto the
23068 stack. This does not need to be done here.
23070 2006-01-31 Chris Burdess <dog@gnu.org>
23072 * gnu/xml/stream/SAXParser.java,
23073 gnu/xml/stream/UnicodeReader.java,
23074 gnu/xml/stream/XIncludeFilter.java,
23075 gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
23076 only resolved the system ID not the stream. Make some utility methods
23077 public and static for use by other private XML APIs.
23078 * java/lang/ClassNotFoundException.java: Ensure that initCause can be
23079 called without throwing IllegalStateException.
23080 * java/util/logging/SimpleFormatter.java: Write thrown exception if
23083 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
23086 * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
23087 for an invalid index and return null for a skipped group.
23089 2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
23092 * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
23093 (NamedProperty): New inner class.
23094 (getNamedProperty): New method.
23095 (getRETokenNamedProperty): New Method.
23096 * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
23097 * gnu/regexp/RETokenNamedProperty.java: New file.
23099 2006-01-31 Roman Kennke <kennke@aicas.com>
23101 * javax/swing/plaf/PlainView.java
23102 (paint): Call drawLine with baseline coordinates.
23103 (drawLine): Documented and indented this method.
23104 (drawUnselecetedText): Documented and indented this method.
23105 * javax/swing/plaf/text/Utilites.java
23106 (drawTabbedText): The coordinates denote the baseline of the text
23107 not the upper left corner.
23109 2006-01-31 Roman Kennke <kennke@aicas.com>
23111 * javax/swing/plaf/basic/BasicTextUI.java
23112 (createKeymap): Don't store KeyBindings[] as focusInputMap in
23113 UIManager. Added FIXME regarding the implementation of this method.
23115 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
23117 * examples/gnu/classpath/examples/swing/ButtonDemo.java
23118 (ButtonDemo): Move content initialisation to new method,
23119 (initFrameContent): New method,
23120 (main): Call initFrameContent(),
23121 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
23122 * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
23123 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
23124 * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
23125 * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
23127 2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
23129 * examples/gnu/classpath/examples/swing/Demo.java
23130 (Demo): Set frame size,
23131 (mkButtonBar): Removed stacked sub-panels.
23133 2006-01-30 Lillian Angel <langel@redhat.com>
23135 * javax/swing/text/DefaultStyledDocument.java:
23137 (insert): Initialized fields. Removed call to addEdit,
23138 and created ElementEdit instead.
23139 (insertUpdate): Added check for fracturing. If the
23140 fracturing was not successful, we should push the
23141 last element back on the stack.
23142 (insertParagraph): Fixed call to getEditForParagraphAndIndex.
23143 Also, changed replace calls to use Edit.
23144 (insertFirstContentTag): Removed unneeded check and fixed call
23146 (insertContent): Fixed check to use new fields. Added code in
23147 to check if leaves overlap.
23148 (createFracture): Fixed call to recreateLeaves.
23149 (recreateLeaves): Fixed code and cleaned it up a bit.
23150 (insertFracture): Set fracNotCreated field.
23151 (addEdit): Removed, this method is not needed.
23153 2006-01-30 Roman Kennke <kennke@aicas.com>
23155 * javax/swing/JRootPane.java
23156 (RootLayout.prefSize): Removed caching for preferredSize.
23157 (RootLayout.invalidateLayout): Likewise.
23158 (RootLayout.preferredLayoutSize): Likewise.
23160 2006-01-30 Roman Kennke <kennke@aicas.com>
23163 * javax/swing/JFrame.java
23164 (frameInit): Handle the defaultLookAndFeelDecorated flag.
23165 * javax/swing/plaf/metal/MetalRootPaneUI.java
23166 (MetalFrameBorder): New inner class, provides the border for
23167 top level containers with L&F decorations.
23168 (MetalTitlePane): New inner class, provides the title pane for
23169 top level containers with L&F decorations.
23170 (MetalRootLayout): New inner class. Used to layout the root pane
23171 when L&F window decorations are enabled.
23172 (installUI): New method. Handles window decorations.
23173 (uninstallUI): New method. Handles window decorations.
23174 (propertyChange): Handles window decorations.
23175 (installWindowDecorations): New method. Handles window
23177 (uninstallWindowDecorations): New method. Handles window
23179 * javax/swing/plaf/metal/MetalLookAndFeel.java
23180 (getSupportsWindowDecorations): Overridden to return true.
23182 2006-01-30 Mark Wielaard <mark@klomp.org>
23184 * javax/swing/JProgressBar.java (JProgressBar(int)): Document
23185 IllegalArgumentException when orientation is illegal.
23186 (JProgressBar(int, int, int)): Likewise and throw exception.
23187 (setOrientation): Likewise.
23189 2006-01-30 Roman Kennke <kennke@aicas.com>
23191 * javax/swing/ViewportLayout.java
23192 (minimumLayoutSize): Rewritten to unconditionally return (4,4).
23194 2006-01-30 Mark Wielaard <mark@klomp.org>
23196 * javax/swing/JProgressBar.java (orientation): Always set by
23198 (JProgressBar(int)): Document default on 'illegal' value.
23199 (JProgressBar(int, int, int)): Likewise and set orientation to
23200 HORIZONTAL when 'illegal'.
23201 (setOrientation): Likewise.
23203 2006-01-30 Roman Kennke <kennke@aicas.com>
23205 * javax/swing/plaf/basic/BasicListUI.java
23206 (ListDataHandler.contentsChanged): Update the
23207 updateLayoutStateNeeded flag.
23208 (ListDataHandler.intervalAdded): Update the
23209 updateLayoutStateNeeded flag.
23210 (ListDataHandler.intervalRemoved): Update the
23211 updateLayoutStateNeeded flag.
23212 (PropertyChangeHandler.propertyChange): Correctly update the
23213 listeners on new list model.
23214 (maybeUpdateLayoutState): Don't consider the validation state
23217 2006-01-30 Mark Wielaard <mark@klomp.org>
23219 * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
23222 2006-01-30 Roman Kennke <kennke@aicas.com>
23224 * javax/swing/JLayeredPane.java
23225 (insertIndexForLayer): Fixed algorithm to correctly insert
23226 components within different layers and -1 position.
23228 2006-01-30 Mark Wielaard <mark@klomp.org>
23230 * doc/api/Makefile.am (create_html): Add -validhtml.
23232 2006-01-30 Roman Kennke <kennke@aicas.com>
23234 * javax/swing/JLayeredPane.java
23235 (insertIndexForLayer): Fixed algorithm to correctly insert
23236 components within same layer and -1 position.
23238 2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
23241 * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
23242 New execution flag.
23243 (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
23244 implicit RETokenEnd at the end of the regexp chain.
23245 Do not select the longest match, but select the first match.
23246 (match): Do not take care of REMatch.empty.
23247 * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
23248 * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
23249 * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
23250 * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
23251 Do not take care of REMatch.empty. Set and check REMatch.empty
23252 when trying to match the single token.
23254 2006-01-30 Mark Wielaard <mark@klomp.org>
23256 * java/awt/Cursor.java (toString): Include name and type.
23258 2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
23260 * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
23262 * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
23264 2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23267 * javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
23268 Consider the validation state of the list.
23270 2006-01-29 Robert Schuster <robertschuster@fsfe.org>
23272 * gnu/java/beans/DefaultExceptionListener.java: Constant public field
23274 * java/beans/XMLDecoder.java:
23275 (setExceptionListener): Use shared DefaultExceptionListener
23277 * java/beans/Encoder.java:
23278 (setExceptionListener): Use shared DefaultExceptionListener
23281 2006-01-29 Roman Kennke <kennke@aicas.com>
23283 * javax/swing/ScrollPaneLayout.java
23284 (minimumLayoutSize): Rewritten to match JDKs behaviour.
23286 2006-01-29 Mark Wielaard <mark@klomp.org>
23288 * java/net/SocketPermission.java (setActions): Trim and lower case
23291 2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
23293 * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
23294 incorrectly failing primality test for some known primes. Fixed.
23295 (passFermatLittleTheorem): Removed.
23296 (passMillerRabin): Removed.
23297 (isProbablePrime): Cache primes that pass the primality tests.
23298 Use BigInteger.isProbablePrime(int) for primality tests.
23299 (debugBI): New static debugging method.
23301 2006-01-28 Roman Kennke <kennke@aicas.com>
23303 * javax/swing/plaf/basic/BasicListUI.java
23304 (updateLayoutState): Removed unneeded special case for VERTICAL.
23306 2006-01-28 Roman Kennke <kennke@aicas.com>
23308 * javax/swing/plaf/basic/BasicListUI.java
23309 (getCellBounds): Determine correct list width when having a
23310 layoutOrientation of VERTICAL.
23311 (maybeUpdateLayoutState): Don't consider the validation state of
23314 2006-01-28 Mark Wielaard <mark@klomp.org>
23316 Reported by Dimitri Fontaine <dimitri@dalibo.com>
23317 * java/awt/print/NoPrinterJob.java: New (fake) class.
23318 * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
23320 2006-01-28 Mark Wielaard <mark@klomp.org>
23322 * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
23324 2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23326 * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
23327 (addChildren): New method.
23329 2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
23331 * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
23332 constructor for cloning purposes.
23333 (clone): New implementation that ensures cloning.
23334 * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
23335 * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
23338 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23340 * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
23341 Call updateCurrentVisiblePath.
23343 2006-01-27 Roman Kennke <kennke@aicas.com>
23345 * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
23347 2006-01-27 Roman Kennke <kennke@aicas.com>
23349 * examples/gnu/classpath/examples/swing/ButtonDemo.java
23350 (createContent): Only create new content if we don't have one
23352 * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
23353 (createContent): Only create new content if we don't have one
23355 * examples/gnu/classpath/examples/swing/FileChooserDemo.java
23356 (createContent): Only create new content if we don't have one
23358 * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
23359 (createContent): Only create new content if we don't have one
23361 * examples/gnu/classpath/examples/swing/SliderDemo.java
23362 (createContent): Only create new content if we don't have one
23364 * examples/gnu/classpath/examples/swing/TableDemo.java
23365 (createContent): Only create new content if we don't have one
23367 * examples/gnu/classpath/examples/swing/TextFieldDemo.java
23368 (createContent): Only create new content if we don't have one
23371 2006-01-27 Lillian Angel <langel@redhat.com>
23373 * javax/swing/text/DefaultStyledDocument.java
23374 (insertFirstContentTag): Removed check, not needed. This
23375 still needs to be fixed for some cases. Added call to
23377 (createFracture): Added call to recreateLeaves.
23378 (recreateLeaves): New method used to recreate all the
23379 leaves after the initial insertion. This still needs
23381 (handleInsertAfterNewline): Removed else, not needed.
23383 2006-01-27 Roman Kennke <kennke@aicas.com>
23385 * javax/swing/JLayeredPane.java
23386 (inserIndexForLayer): Fixed direction of search.
23388 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23390 * javax/swing/JTree.java (constructor): Put EXPANDED for the root
23391 node into nodeStates.
23393 2006-01-27 Roman Kennke <kennke@aicas.com>
23395 * javax/swing/JLayeredPane.java
23396 (FRAME_CONTENT_LAYER): Made field final.
23397 (componentToLayer): Made field private.
23398 (rectCache): Removed field.
23399 (layers): Removed field.
23400 (JLayeredPane()): Removed initialization of removed fields.
23401 (getLayer): Rewritten to make use of client properties in
23402 JComponents and to be more straighforward.
23403 (static getLayer): Rewritten to make use of client properties in
23405 (layerToRange): Removed method.
23406 (incrLayer): Removed method.
23407 (decrLayer): Removed method.
23408 (highestLayer): Rewritten to be more straightforward.
23409 (lowestLayer): Rewritten to be more straightforward.
23410 (getPosition): Rewritten to be more straightforward.
23411 (getComponentsInLayer): Rewritten to be more straightforward.
23412 (getComponentCountInLayer): Rewritten to be more straightforward.
23413 (getIndexOf): Rewritten to be more straightforward.
23414 (inserIndexForLayer): Rewritten to be more straightforward.
23415 (remove): Rewritten to be more straightforward.
23416 (setLayer): Rewritten to be more straightforward.
23417 (addImpl): Rewritten to be more straightforward.
23418 (putLayer): Rewritten to be more straightforward.
23420 2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
23422 * java/lang/Character.java:
23423 (offsetByCodePoints(CharSequence, int, int)): New API method.
23424 (offsetByCodePoints(char[], int, int, int, int)): Likewise.
23425 (toChars): Throw the Exception that the docs say we throw.
23426 (codePointAt): Fixed an off-by-one error in the bounds of the if
23428 * java/lang/String.java:
23429 (String(int[], int, int)): New API constructor.
23431 2006-01-27 Lillian Angel <langel@redhat.com>
23433 * javax/swing/text/DefaultStyledDocument.java
23434 (insert): Moved this loop to insertUpdate.
23435 (insertUpdate): Likewise. Fixed variable
23436 names. Incremented pos if new paragraph
23438 (split): Changed edits to use replace instead. Prevents
23440 (insertFirstContentTag): Removed else.
23441 (insertContentTag): Implemented else for JoinNextDirection.
23442 (createFracture): Fixed up code, still not fully complete.
23443 (insertFracture): Fixed to use return value from
23444 recreateAfterFracture.
23445 (recreateAfterFracture): Changed to return an array of the
23446 elements to be added. This prevents an assertion error.
23447 (contains): New function checks if an element is already in
23448 the Vector. Vector's contain function was not enough to use.
23449 (addAddedElement): Changed to use new contains function.
23450 (addAddedElements): Likewise.
23451 (addRemovedElement): Likewise.
23452 (addRemovedElements): Likewise.
23454 2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23457 * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
23458 If no user class loaders found on the stack, return the thread
23459 context class loader. (currentClassLoader): Explained.
23461 2006-01-27 Roman Kennke <kennke@aicas.com>
23463 * java/awt/Container.java
23464 (swapComponents): Removed unspecified method.
23465 * javax/swing/JLayeredPane.java
23466 (setPosition): Reimplemented correctly.
23467 (swapComponents): New helper method.
23469 2006-01-27 Mark Wielaard <mark@klomp.org>
23471 * configure.ac: Set version to 0.21-pre.
23473 2006-01-27 Roman Kennke <kennke@aicas.com>
23476 * javax/swing/JComponent.java
23477 (findOverlapFreeParent): Improved the algorithm to make better use
23478 of the optimizedDrawingEnabled flag.
23479 * javax/swing/JLayeredPane.java
23480 (isOptimizedDrawingEnabled): Reimplemented to match the specs.
23481 * javax/swing/JViewport.java
23482 (computeBlit): Fixed check to decide if blitting is possible or not,
23483 so that it doesn't blit if nothing was scrolled (in order to
23484 update the buffer when the view updates itself).
23486 2006-01-27 Roman Kennke <kennke@aicas.com>
23488 * javax/swing/plaf/metal/MetalFileChooserUI.java
23489 (createList): Don't set scrollbar policy.
23491 2006-01-27 Roman Kennke <kennke@aicas.com>
23493 * javax/swing/plaf/basic/BasicPopupMenuUI.java
23494 (PopupMenuHandler.popupMenuWillBecomeInvisible):
23495 Fixed to also handle non-Swing toplevel containers.
23496 (PopupMenuHandler.popupMenuWillBecomeVisible):
23497 Fixed to also handle non-Swing toplevel containers.
23498 * javax/swing/Popup.java
23499 (JWindowPopup.JWindowPopup()): Correctly set parent window on
23502 2006-01-27 Roman Kennke <kennke@aicas.com>
23504 * javax/swing/plaf/basic/BasicInternalFrameUI.java
23505 (InternalFramePropertyChangeListener): Don't implement
23506 VetoableChangeListener.
23507 (InternalFramePropertyChangeListener.vetoableChange): Removed.
23508 (internalFrameVetoableChangeListener): Removed unneeded field.
23509 (installListeners): Don't install vetoableChangeListener.
23510 * javax/swing/event/DocumentEvent.java
23511 (EventType): Made class final.
23513 2006-01-27 Roman Kennke <kennke@aicas.com>
23515 * javax/swing/SwingUtilities.java
23516 (calculateInsetArea): Removed unneeded method. The method
23517 calculateInnerArea has the same purpose and is actually specified.
23518 (calculateInnerArea): Rewritten to not use calculateInsetArea.
23519 * javax/swing/plaf/basic/BasicMenuItemUI.java
23520 (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
23521 of SwingUtilities.calculateInsetArea().
23523 2006-01-27 Roman Kennke <kennke@aicas.com>
23525 * javax/swing/plaf/basic/BasicTreeUI.java
23526 (installDefaults): Removed requestFocusInWindow() call.
23527 * javax/swing/JComponent.java
23528 (requestFocusInWindow(boolean)): Made method protected.
23529 (printComponent): Made method protected.
23530 (printChildren): Made method protected.
23531 (printComponent): Made method protected.
23532 (printBorder): Made method protected.
23534 2006-01-27 Roman Kennke <kennke@aicas.com>
23536 * javax/swing/AbstractButton.java
23537 (ButtonChangeListener.ButtonChangeListener()): Made constructor
23539 * javax/swing/ImageIcon.java
23540 (component): Made field final.
23541 (tracker): Made field final.
23542 * javax/swing/JApplet.java
23543 (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
23544 * javax/swing/JCheckBox.java
23545 (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
23547 * javax/swing/JDialog.java
23548 (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
23549 * javax/swing/JFrame.java
23550 (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
23551 * javax/swing/JLayeredPane.java
23552 (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
23554 (DEFAULT_LAYER): Made field final.
23555 (PALETTE_LAYER): Made field final.
23556 (MODAL_LAYER): Made field final.
23557 (POPUP_LAYER): Made field final.
23558 (DRAG_LAYER): Made field final.
23559 * javax/swing/JMenu.java
23560 (ActionChangeListener): Made class private.
23561 * javax/swing/JOptionPane.java
23562 (UNITITIALIZED_VALUE): Made field final.
23563 * javax/swing/JPanel.java
23564 (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
23565 * javax/swing/JPopupMenu.java
23566 (ActionChangeListener): Made class private.
23567 * javax/swing/JTree.java
23568 (paramString): Made method protected.
23569 * javax/swing/JViewport.java
23570 (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
23571 * javax/swing/JWindow.java
23572 (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
23573 * javax/swing/RepaintManager.java
23574 (RepaintWorker): Made class private.
23576 2006-01-27 Roman Kennke <kennke@aicas.com>
23578 * gnu/java/awt/peer/swing/SwingComponentPeer.java
23579 (handleEvent): Removed debug statement.
23581 2006-01-27 Roman Kennke <kennke@aicas.com>
23583 * java/awt/Component.java
23584 (coalescePaintEvents): Don't try to optimize coalescing. This hurts
23585 more than it helps.
23587 2006-01-26 Lillian Angel <langel@redhat.com>
23589 * javax/swing/text/DefaultStyledDocument.java
23590 (createFracture): Commented out a known problem,
23593 2006-01-26 Lillian Angel <langel@redhat.com>
23595 * javax/swing/text/DefaultStyledDocument.java
23596 (ElementBuffer): Added fields.
23597 (remove): Initialized pos.
23598 (change): Likewise.
23599 (insert): Likewise.
23600 (insertUpdate): Incremented pos. Fixed check, createFracture should
23601 be called on first tag if it is not ContentType.
23602 (insertFirstContentTag): Reworked to use proper offsets and
23603 set offset accordingly. This might need more work in the future.
23604 (insertContentTag): Likewise. Fixed to use pos, instead of
23606 (createFracture): Fixed to recreate other leaves. Still needs
23608 (insertFracture): Reimplemented.
23609 (recreateAfterFracture): New method.
23610 (getParagraphElement): Reimplemented, more efficent.
23612 2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
23614 * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
23615 (doubleToRawLongBits, longBitsToDouble): Swap the byte
23616 ordering for little-endian arms without VFP.
23618 2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
23621 * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
23623 2006-01-26 Mark Wielaard <mark@klomp.org>
23625 Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
23626 * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
23627 Add trailing zeros to the fraction of the decimal with the smallest
23630 2006-01-26 Roman Kennke <kennke@aicas.com>
23632 * javax/swing/text/html/ObjectView.java: New file.
23634 2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
23636 * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
23637 Call startEditing when appropriate.
23638 (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
23639 (startEditing): Always edit if directly ordered from
23640 MouseHandler.mousePressed.
23641 * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
23642 New field. (createTreeCellEditor): Set click count to start.
23643 (getTreeCellEditorComponent): Assing realEditor directly.
23645 2006-01-25 Casey Marshall <csm@gnu.org>
23647 Merging GNU Crypto and Jessie.
23649 * NEWS: mention the merge in the 0.21 notes.
23650 * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
23651 (SSL_RECORD_LAYER): new constants.
23652 * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
23654 * resource/java/security/classpath.security: add new providers.
23655 * gnu/javax/crypto/assembly/Assembly.java,
23656 gnu/javax/crypto/assembly/Cascade.java,
23657 gnu/javax/crypto/assembly/CascadeStage.java,
23658 gnu/javax/crypto/assembly/CascadeTransformer.java,
23659 gnu/javax/crypto/assembly/DeflateTransformer.java,
23660 gnu/javax/crypto/assembly/Direction.java,
23661 gnu/javax/crypto/assembly/LoopbackTransformer.java,
23662 gnu/javax/crypto/assembly/ModeStage.java,
23663 gnu/javax/crypto/assembly/Operation.java,
23664 gnu/javax/crypto/assembly/PaddingTransformer.java,
23665 gnu/javax/crypto/assembly/Stage.java,
23666 gnu/javax/crypto/assembly/Transformer.java,
23667 gnu/javax/crypto/assembly/TransformerException.java,
23668 gnu/javax/crypto/cipher/Anubis.java,
23669 gnu/javax/crypto/cipher/BaseCipher.java,
23670 gnu/javax/crypto/cipher/Blowfish.java,
23671 gnu/javax/crypto/cipher/Cast5.java,
23672 gnu/javax/crypto/cipher/CipherFactory.java,
23673 gnu/javax/crypto/cipher/DES.java,
23674 gnu/javax/crypto/cipher/IBlockCipher.java,
23675 gnu/javax/crypto/cipher/IBlockCipherSpi.java,
23676 gnu/javax/crypto/cipher/Khazad.java,
23677 gnu/javax/crypto/cipher/NullCipher.java,
23678 gnu/javax/crypto/cipher/Rijndael.java,
23679 gnu/javax/crypto/cipher/Serpent.java,
23680 gnu/javax/crypto/cipher/Square.java,
23681 gnu/javax/crypto/cipher/TripleDES.java,
23682 gnu/javax/crypto/cipher/Twofish.java,
23683 gnu/javax/crypto/cipher/WeakKeyException.java,
23684 gnu/javax/crypto/jce/GnuCrypto.java,
23685 gnu/javax/crypto/jce/GnuSasl.java,
23686 gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
23687 gnu/javax/crypto/jce/cipher/AESSpi.java,
23688 gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
23689 gnu/javax/crypto/jce/cipher/AnubisSpi.java,
23690 gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
23691 gnu/javax/crypto/jce/cipher/Cast5Spi.java,
23692 gnu/javax/crypto/jce/cipher/CipherAdapter.java,
23693 gnu/javax/crypto/jce/cipher/DESSpi.java,
23694 gnu/javax/crypto/jce/cipher/KhazadSpi.java,
23695 gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
23696 gnu/javax/crypto/jce/cipher/PBES2.java,
23697 gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
23698 gnu/javax/crypto/jce/cipher/SerpentSpi.java,
23699 gnu/javax/crypto/jce/cipher/SquareSpi.java,
23700 gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
23701 gnu/javax/crypto/jce/cipher/TwofishSpi.java,
23702 gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
23703 gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
23704 gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
23705 gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
23706 gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
23707 gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
23708 gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
23709 gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
23710 gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
23711 gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
23712 gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
23713 gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
23714 gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
23715 gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
23716 gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
23717 gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
23718 gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
23719 gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
23720 gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
23721 gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
23722 gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
23723 gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
23724 gnu/javax/crypto/jce/keyring/GnuKeyring.java,
23725 gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
23726 gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
23727 gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
23728 gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
23729 gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
23730 gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
23731 gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
23732 gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
23733 gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
23734 gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
23735 gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
23736 gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
23737 gnu/javax/crypto/jce/mac/MacAdapter.java,
23738 gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
23739 gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
23740 gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
23741 gnu/javax/crypto/jce/mac/OMacDESImpl.java,
23742 gnu/javax/crypto/jce/mac/OMacImpl.java,
23743 gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
23744 gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
23745 gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
23746 gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
23747 gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
23748 gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
23749 gnu/javax/crypto/jce/mac/TMMH16Spi.java,
23750 gnu/javax/crypto/jce/mac/UHash32Spi.java,
23751 gnu/javax/crypto/jce/mac/UMac32Spi.java,
23752 gnu/javax/crypto/jce/params/BlockCipherParameters.java,
23753 gnu/javax/crypto/jce/params/DEREncodingException.java,
23754 gnu/javax/crypto/jce/params/DERReader.java,
23755 gnu/javax/crypto/jce/params/DERWriter.java,
23756 gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
23757 gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
23758 gnu/javax/crypto/jce/prng/FortunaImpl.java,
23759 gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
23760 gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
23761 gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
23762 gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
23763 gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
23764 gnu/javax/crypto/key/BaseKeyAgreementParty.java,
23765 gnu/javax/crypto/key/GnuSecretKey.java,
23766 gnu/javax/crypto/key/IKeyAgreementParty.java,
23767 gnu/javax/crypto/key/IncomingMessage.java,
23768 gnu/javax/crypto/key/KeyAgreementException.java,
23769 gnu/javax/crypto/key/KeyAgreementFactory.java,
23770 gnu/javax/crypto/key/OutgoingMessage.java,
23771 gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
23772 gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
23773 gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
23774 gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23775 gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
23776 gnu/javax/crypto/key/dh/ElGamalReceiver.java,
23777 gnu/javax/crypto/key/dh/ElGamalSender.java,
23778 gnu/javax/crypto/key/dh/GnuDHKey.java,
23779 gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
23780 gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
23781 gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
23782 gnu/javax/crypto/key/dh/RFC2631.java,
23783 gnu/javax/crypto/key/srp6/SRP6Host.java,
23784 gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
23785 gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
23786 gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
23787 gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
23788 gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23789 gnu/javax/crypto/key/srp6/SRP6User.java,
23790 gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
23791 gnu/javax/crypto/key/srp6/SRPKey.java,
23792 gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
23793 gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
23794 gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
23795 gnu/javax/crypto/key/srp6/SRPPublicKey.java,
23796 gnu/javax/crypto/keyring/AuthenticatedEntry.java,
23797 gnu/javax/crypto/keyring/BaseKeyring.java,
23798 gnu/javax/crypto/keyring/BinaryDataEntry.java,
23799 gnu/javax/crypto/keyring/CertPathEntry.java,
23800 gnu/javax/crypto/keyring/CertificateEntry.java,
23801 gnu/javax/crypto/keyring/CompressedEntry.java,
23802 gnu/javax/crypto/keyring/EncryptedEntry.java,
23803 gnu/javax/crypto/keyring/Entry.java,
23804 gnu/javax/crypto/keyring/EnvelopeEntry.java,
23805 gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
23806 gnu/javax/crypto/keyring/GnuPublicKeyring.java,
23807 gnu/javax/crypto/keyring/IKeyring.java,
23808 gnu/javax/crypto/keyring/IPrivateKeyring.java,
23809 gnu/javax/crypto/keyring/IPublicKeyring.java,
23810 gnu/javax/crypto/keyring/MalformedKeyringException.java,
23811 gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
23812 gnu/javax/crypto/keyring/MeteredInputStream.java,
23813 gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
23814 gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
23815 gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
23816 gnu/javax/crypto/keyring/PrimitiveEntry.java,
23817 gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23818 gnu/javax/crypto/keyring/Properties.java,
23819 gnu/javax/crypto/keyring/PublicKeyEntry.java,
23820 gnu/javax/crypto/mac/BaseMac.java,
23821 gnu/javax/crypto/mac/HMac.java,
23822 gnu/javax/crypto/mac/HMacFactory.java,
23823 gnu/javax/crypto/mac/IMac.java,
23824 gnu/javax/crypto/mac/MacFactory.java,
23825 gnu/javax/crypto/mac/MacInputStream.java,
23826 gnu/javax/crypto/mac/MacOutputStream.java,
23827 gnu/javax/crypto/mac/OMAC.java,
23828 gnu/javax/crypto/mac/TMMH16.java,
23829 gnu/javax/crypto/mac/UHash32.java,
23830 gnu/javax/crypto/mac/UMac32.java,
23831 gnu/javax/crypto/mode/BaseMode.java,
23832 gnu/javax/crypto/mode/CBC.java,
23833 gnu/javax/crypto/mode/CFB.java,
23834 gnu/javax/crypto/mode/CTR.java,
23835 gnu/javax/crypto/mode/EAX.java,
23836 gnu/javax/crypto/mode/ECB.java,
23837 gnu/javax/crypto/mode/IAuthenticatedMode.java,
23838 gnu/javax/crypto/mode/ICM.java,
23839 gnu/javax/crypto/mode/IMode.java,
23840 gnu/javax/crypto/mode/ModeFactory.java,
23841 gnu/javax/crypto/mode/OFB.java,
23842 gnu/javax/crypto/pad/BasePad.java,
23843 gnu/javax/crypto/pad/IPad.java,
23844 gnu/javax/crypto/pad/PKCS1_V1_5.java,
23845 gnu/javax/crypto/pad/PKCS7.java,
23846 gnu/javax/crypto/pad/PadFactory.java,
23847 gnu/javax/crypto/pad/SSL3.java,
23848 gnu/javax/crypto/pad/TBC.java,
23849 gnu/javax/crypto/pad/TLS1.java,
23850 gnu/javax/crypto/pad/WrongPaddingException.java,
23851 gnu/javax/crypto/prng/ARCFour.java,
23852 gnu/javax/crypto/prng/CSPRNG.java,
23853 gnu/javax/crypto/prng/Fortuna.java,
23854 gnu/javax/crypto/prng/ICMGenerator.java,
23855 gnu/javax/crypto/prng/IPBE.java,
23856 gnu/javax/crypto/prng/PBKDF2.java,
23857 gnu/javax/crypto/prng/PRNGFactory.java,
23858 gnu/javax/crypto/prng/UMacGenerator.java,
23859 gnu/javax/crypto/sasl/AuthInfo.java,
23860 gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
23861 gnu/javax/crypto/sasl/ClientFactory.java,
23862 gnu/javax/crypto/sasl/ClientMechanism.java,
23863 gnu/javax/crypto/sasl/ConfidentialityException.java,
23864 gnu/javax/crypto/sasl/IAuthInfoProvider.java,
23865 gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
23866 gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23867 gnu/javax/crypto/sasl/InputBuffer.java,
23868 gnu/javax/crypto/sasl/IntegrityException.java,
23869 gnu/javax/crypto/sasl/NoSuchMechanismException.java,
23870 gnu/javax/crypto/sasl/NoSuchUserException.java,
23871 gnu/javax/crypto/sasl/OutputBuffer.java,
23872 gnu/javax/crypto/sasl/SaslEncodingException.java,
23873 gnu/javax/crypto/sasl/SaslInputStream.java,
23874 gnu/javax/crypto/sasl/SaslOutputStream.java,
23875 gnu/javax/crypto/sasl/SaslUtil.java,
23876 gnu/javax/crypto/sasl/ServerFactory.java,
23877 gnu/javax/crypto/sasl/ServerMechanism.java,
23878 gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
23879 gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
23880 gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
23881 gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
23882 gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
23883 gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
23884 gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
23885 gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
23886 gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
23887 gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
23888 gnu/javax/crypto/sasl/plain/PasswordFile.java,
23889 gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
23890 gnu/javax/crypto/sasl/plain/PlainClient.java,
23891 gnu/javax/crypto/sasl/plain/PlainRegistry.java,
23892 gnu/javax/crypto/sasl/plain/PlainServer.java,
23893 gnu/javax/crypto/sasl/srp/CALG.java,
23894 gnu/javax/crypto/sasl/srp/ClientStore.java,
23895 gnu/javax/crypto/sasl/srp/IALG.java,
23896 gnu/javax/crypto/sasl/srp/KDF.java,
23897 gnu/javax/crypto/sasl/srp/PasswordFile.java,
23898 gnu/javax/crypto/sasl/srp/SRP.java,
23899 gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
23900 gnu/javax/crypto/sasl/srp/SRPClient.java,
23901 gnu/javax/crypto/sasl/srp/SRPRegistry.java,
23902 gnu/javax/crypto/sasl/srp/SRPServer.java,
23903 gnu/javax/crypto/sasl/srp/SecurityContext.java,
23904 gnu/javax/crypto/sasl/srp/ServerStore.java,
23905 gnu/javax/crypto/sasl/srp/StoreEntry.java,
23906 gnu/javax/net/ssl/Base64.java,
23907 gnu/javax/net/ssl/EntropySource.java,
23908 gnu/javax/net/ssl/NullManagerParameters.java,
23909 gnu/javax/net/ssl/PrivateCredentials.java,
23910 gnu/javax/net/ssl/SRPManagerParameters.java,
23911 gnu/javax/net/ssl/SRPTrustManager.java,
23912 gnu/javax/net/ssl/StaticTrustAnchors.java,
23913 gnu/javax/net/ssl/provider/Alert.java,
23914 gnu/javax/net/ssl/provider/AlertException.java,
23915 gnu/javax/net/ssl/provider/Certificate.java,
23916 gnu/javax/net/ssl/provider/CertificateRequest.java,
23917 gnu/javax/net/ssl/provider/CertificateType.java,
23918 gnu/javax/net/ssl/provider/CertificateVerify.java,
23919 gnu/javax/net/ssl/provider/CipherSuite.java,
23920 gnu/javax/net/ssl/provider/ClientHello.java,
23921 gnu/javax/net/ssl/provider/ClientKeyExchange.java,
23922 gnu/javax/net/ssl/provider/CompressionMethod.java,
23923 gnu/javax/net/ssl/provider/Constructed.java,
23924 gnu/javax/net/ssl/provider/ContentType.java,
23925 gnu/javax/net/ssl/provider/Context.java,
23926 gnu/javax/net/ssl/provider/DiffieHellman.java,
23927 gnu/javax/net/ssl/provider/DigestInputStream.java,
23928 gnu/javax/net/ssl/provider/DigestOutputStream.java,
23929 gnu/javax/net/ssl/provider/Enumerated.java,
23930 gnu/javax/net/ssl/provider/Extension.java,
23931 gnu/javax/net/ssl/provider/Extensions.java,
23932 gnu/javax/net/ssl/provider/Finished.java,
23933 gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
23934 gnu/javax/net/ssl/provider/Handshake.java,
23935 gnu/javax/net/ssl/provider/JCESecurityParameters.java,
23936 gnu/javax/net/ssl/provider/JDBCSessionContext.java,
23937 gnu/javax/net/ssl/provider/Jessie.java,
23938 gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
23939 gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
23940 gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
23941 gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
23942 gnu/javax/net/ssl/provider/KeyPool.java,
23943 gnu/javax/net/ssl/provider/MacException.java,
23944 gnu/javax/net/ssl/provider/OverflowException.java,
23945 gnu/javax/net/ssl/provider/PRNG.java,
23946 gnu/javax/net/ssl/provider/ProtocolVersion.java,
23947 gnu/javax/net/ssl/provider/Random.java,
23948 gnu/javax/net/ssl/provider/RecordInput.java,
23949 gnu/javax/net/ssl/provider/RecordInputStream.java,
23950 gnu/javax/net/ssl/provider/RecordOutputStream.java,
23951 gnu/javax/net/ssl/provider/RecordingInputStream.java,
23952 gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
23953 gnu/javax/net/ssl/provider/SSLHMac.java,
23954 gnu/javax/net/ssl/provider/SSLRSASignature.java,
23955 gnu/javax/net/ssl/provider/SSLRandom.java,
23956 gnu/javax/net/ssl/provider/SSLServerSocket.java,
23957 gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
23958 gnu/javax/net/ssl/provider/SSLSocket.java,
23959 gnu/javax/net/ssl/provider/SSLSocketFactory.java,
23960 gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
23961 gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
23962 gnu/javax/net/ssl/provider/SecurityParameters.java,
23963 gnu/javax/net/ssl/provider/ServerHello.java,
23964 gnu/javax/net/ssl/provider/ServerKeyExchange.java,
23965 gnu/javax/net/ssl/provider/Session.java,
23966 gnu/javax/net/ssl/provider/SessionContext.java,
23967 gnu/javax/net/ssl/provider/Signature.java,
23968 gnu/javax/net/ssl/provider/SynchronizedRandom.java,
23969 gnu/javax/net/ssl/provider/TLSHMac.java,
23970 gnu/javax/net/ssl/provider/TLSRandom.java,
23971 gnu/javax/net/ssl/provider/Util.java,
23972 gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
23973 gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
23974 gnu/javax/net/ssl/provider/XMLSessionContext.java,
23975 gnu/javax/security/auth/Password.java,
23976 gnu/javax/security/auth/callback/AWTCallbackHandler.java,
23977 gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
23978 gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
23979 gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
23980 gnu/javax/security/auth/callback/GnuCallbacks.java,
23981 gnu/javax/security/auth/callback/SwingCallbackHandler.java,
23982 gnu/java/security/Registry.java,
23983 gnu/java/security/Properties.java,
23984 gnu/java/security/hash/BaseHash.java,
23985 gnu/java/security/hash/HashFactory.java,
23986 gnu/java/security/hash/Haval.java,
23987 gnu/java/security/hash/IMessageDigest.java,
23988 gnu/java/security/hash/MD2.java,
23989 gnu/java/security/hash/MD4.java,
23990 gnu/java/security/hash/MD5.java,
23991 gnu/java/security/hash/RipeMD128.java,
23992 gnu/java/security/hash/RipeMD160.java,
23993 gnu/java/security/hash/Sha160.java,
23994 gnu/java/security/hash/Sha256.java,
23995 gnu/java/security/hash/Sha384.java,
23996 gnu/java/security/hash/Sha512.java,
23997 gnu/java/security/hash/Tiger.java,
23998 gnu/java/security/hash/Whirlpool.java,
23999 gnu/java/security/jce/hash/HavalSpi.java,
24000 gnu/java/security/jce/hash/MD2Spi.java,
24001 gnu/java/security/jce/hash/MD4Spi.java,
24002 gnu/java/security/jce/hash/MD5Spi.java,
24003 gnu/java/security/jce/hash/MessageDigestAdapter.java,
24004 gnu/java/security/jce/hash/RipeMD128Spi.java,
24005 gnu/java/security/jce/hash/RipeMD160Spi.java,
24006 gnu/java/security/jce/hash/Sha160Spi.java,
24007 gnu/java/security/jce/hash/Sha256Spi.java,
24008 gnu/java/security/jce/hash/Sha384Spi.java,
24009 gnu/java/security/jce/hash/Sha512Spi.java,
24010 gnu/java/security/jce/hash/TigerSpi.java,
24011 gnu/java/security/jce/hash/WhirlpoolSpi.java,
24012 gnu/java/security/jce/prng/HavalRandomSpi.java,
24013 gnu/java/security/jce/prng/MD2RandomSpi.java,
24014 gnu/java/security/jce/prng/MD4RandomSpi.java,
24015 gnu/java/security/jce/prng/MD5RandomSpi.java,
24016 gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
24017 gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
24018 gnu/java/security/jce/prng/SecureRandomAdapter.java,
24019 gnu/java/security/jce/prng/Sha160RandomSpi.java,
24020 gnu/java/security/jce/prng/Sha256RandomSpi.java,
24021 gnu/java/security/jce/prng/Sha384RandomSpi.java,
24022 gnu/java/security/jce/prng/Sha512RandomSpi.java,
24023 gnu/java/security/jce/prng/TigerRandomSpi.java,
24024 gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
24025 gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24026 gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24027 gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24028 gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
24029 gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24030 gnu/java/security/jce/sig/SignatureAdapter.java,
24031 gnu/java/security/key/IKeyPairCodec.java,
24032 gnu/java/security/key/IKeyPairGenerator.java,
24033 gnu/java/security/key/KeyPairCodecFactory.java,
24034 gnu/java/security/key/KeyPairGeneratorFactory.java,
24035 gnu/java/security/key/dss/DSSKey.java,
24036 gnu/java/security/key/dss/DSSKeyPairGenerator.java,
24037 gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24038 gnu/java/security/key/dss/DSSPrivateKey.java,
24039 gnu/java/security/key/dss/DSSPublicKey.java,
24040 gnu/java/security/key/dss/FIPS186.java,
24041 gnu/java/security/key/rsa/GnuRSAKey.java,
24042 gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24043 gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24044 gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
24045 gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
24046 gnu/java/security/prng/BasePRNG.java,
24047 gnu/java/security/prng/EntropySource.java,
24048 gnu/java/security/prng/IRandom.java,
24049 gnu/java/security/prng/LimitReachedException.java,
24050 gnu/java/security/prng/MDGenerator.java,
24051 gnu/java/security/prng/PRNGFactory.java,
24052 gnu/java/security/prng/RandomEvent.java,
24053 gnu/java/security/prng/RandomEventListener.java,
24054 gnu/java/security/sig/BaseSignature.java,
24055 gnu/java/security/sig/ISignature.java,
24056 gnu/java/security/sig/ISignatureCodec.java,
24057 gnu/java/security/sig/SignatureFactory.java,
24058 gnu/java/security/sig/dss/DSSSignature.java,
24059 gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24060 gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
24061 gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
24062 gnu/java/security/sig/rsa/EMSA_PSS.java,
24063 gnu/java/security/sig/rsa/RSA.java,
24064 gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
24065 gnu/java/security/sig/rsa/RSAPSSSignature.java,
24066 gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24067 gnu/java/security/util/Base64.java,
24068 gnu/java/security/util/ExpirableObject.java,
24069 gnu/java/security/util/Prime2.java,
24070 gnu/java/security/util/Sequence.java,
24071 gnu/java/security/util/SimpleList.java,
24072 gnu/java/security/util/Util.java,
24073 resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
24074 new files imported from GNU Crypto and Jessie.
24076 2006-01-25 Tom Tromey <tromey@redhat.com>
24078 * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
24079 Fixed calculation of number of bytes to read.
24080 (size, count, meta, eof): Document.
24082 2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
24084 * java/lang/Character.java:
24085 (codePointCount(char[], int, int)): New API method.
24086 (codePointCount(CharSequence, int, int)): Likewise.
24088 2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24091 * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
24093 * javax/swing/JTree.java (stopEditing, cancelEditing): Return without
24094 action if not editing.
24095 * javax/swing/plaf/basic/BasicTreeUI.java
24096 (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
24097 (CellEditorHandler.editingStopped): Delegate to stopEditing.
24098 (EditorUpdateTimer): Removed.
24099 (TreeAction.actionPerformed): Stop and not cancel the current editing
24100 when starting editing another node.
24101 (editorTimer, newVal): Removed.
24102 (cancelEditing): Do not send the cancel message.
24103 (completeEditing): Obtain the edited value from the editor.
24104 (finish): New method.
24105 (paintRow): Do not paint the editing component here.
24106 (startEditing, stopEditing): Rewritten.
24107 * javax/swing/tree/DefaultTreeCellEditor.java
24108 (DefaultTextField): Added SVUID.
24109 (EditorContainer): Rewritten.
24110 (RealEditorListener): New inner class.
24111 (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
24112 (constructor): Add cell editor listener. Do not instantiate timer.
24113 (actionPerformed): Return without action.
24114 (cancelCellEditing): Rewritten.
24115 (createTreeCellEditor): Add cell editor listener to the editor.
24116 (getCellEditorValue): Request the value from the realEditor.
24117 (isCellEditable): Removed timer management.
24118 (prepareForEditing): Remove all components befor adding the
24120 (startEditingTimer): Start only if it is not null.
24121 (stopCellEditing): Rewritten.
24122 (stopEditingTimer): New method.
24123 (valueChanged): Do not configure editing component here.
24125 2006-01-25 Roman Kennke <kennke@aicas.com>
24127 * javax/swing/text/html/FormView.java: New file.
24129 2006-01-25 Roman Kennke <kennke@aicas.com>
24131 * javax/swing/JSplitPane.java
24132 (addImpl): Call resetToPreferredSizes() when no dividerLocation
24133 has been set in order to set an initial layout.
24134 * javax/swing/plaf/basic/BasicSplitPaneUI.java
24135 (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
24136 layout of the right component.
24137 (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
24138 dividerLocation to the size of the left component.
24139 (createDefaultNonContinuousLayoutDivider): Fetch the color from
24141 (setDividerLocation): Don't validate the location here. Sometimes
24142 the divider needs to be set to an invalid location.
24143 (startDragging): Don't revalidate and repaint here.
24144 (finishDraggingTo): Don't repaint here. Also, don't call
24145 dragDividerTo() here.
24146 * javax/swing/plaf/basic/BasicLookAndFeel.java
24147 (initComponentDefaults): Added SplitPaneDivider.draggingColor
24150 2006-01-25 Roman Kennke <kennke@aicas.com>
24152 * javax/swing/JSplitPane.java
24153 (addImpl): Removed invalidate() and layout() call.
24154 * javax/swing/plaf/basic/BasicSplitPaneUI.java
24155 (PropertyHandler.propertyChange): Remove layoutContainer() and
24158 2006-01-25 Roman Kennke <kennke@aicas.com>
24161 * native/Makefile.am
24162 * native/jni/classpath/Makefile.am
24163 * native/jni/classpath/jcl.c
24164 * native/jni/classpath/jcl.h
24165 * native/jni/classpath/native_state.c
24166 * native/jni/gtk-peer/Makefile.am
24167 * native/jni/java-io/Makefile.am
24168 * native/jni/java-io/java_io_VMFile.c
24169 * native/jni/java-io/java_io_VMObjectStreamClass.c
24170 * native/jni/java-lang/Makefile.am
24171 * native/jni/java-net/Makefile.am
24172 * native/jni/java-net/java_net_VMInetAddress.c
24173 * native/jni/java-net/javanet.c
24174 * native/jni/java-net/javanet.h
24175 * native/jni/java-nio/Makefile.am
24176 * native/jni/java-nio/gnu_java_nio_VMPipe.c
24177 * native/jni/java-nio/gnu_java_nio_VMSelector.c
24178 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
24179 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
24180 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
24181 * native/jni/java-util/Makefile.am
24182 * native/jni/java-util/java_util_VMTimeZone.c
24183 * native/jni/midi-dssi/Makefile.am
24184 * native/jni/xmlj/Makefile.am
24185 * native/target/Makefile.am
24186 * native/target/Linux/target_native_math.h
24187 * native/target/Linux/target_native_memory.h
24188 * native/target/Linux/Makefile.am
24189 * native/target/Linux/target_native_io.h
24190 * native/target/Linux/target_native_math_float.h
24191 * native/target/Linux/target_native_math_int.h
24192 * native/target/generic/target_generic.c
24193 * native/target/generic/target_generic_io.c
24194 * native/target/generic/target_generic_math.h
24195 * native/target/generic/target_generic_memory.h
24196 * native/target/generic/target_generic_misc.c
24197 * native/target/generic/target_generic_network.c
24198 * native/target/generic/Makefile.am
24199 * native/target/generic/target_generic.h
24200 * native/target/generic/target_generic_file.h
24201 * native/target/generic/target_generic_io.h
24202 * native/target/generic/target_generic_math_float.h
24203 * native/target/generic/target_generic_math_int.h
24204 * native/target/generic/target_generic_misc.h
24205 * native/target/generic/target_generic_network.h:
24206 Reverted target native related changes back to the state of the
24208 * native/target/MinGW/.cvsignore
24209 * native/target/MinGW/Makefile.am
24210 * native/target/MinGW/target_native.h
24211 * native/target/MinGW/target_native_file.h
24212 * native/target/MinGW/target_native_io.h
24213 * native/target/MinGW/target_native_math.h
24214 * native/target/MinGW/target_native_memory.h
24215 * native/target/MinGW/target_native_misc.h
24216 * native/target/MinGW/target_native_network.h
24217 * native/target/RTEMS/.cvsignore
24218 * native/target/RTEMS/Makefile.am
24219 * native/target/RTEMS/target_native.h
24220 * native/target/RTEMS/target_native_file.h
24221 * native/target/RTEMS/target_native_io.h
24222 * native/target/RTEMS/target_native_math.h
24223 * native/target/RTEMS/target_native_memory.h
24224 * native/target/RTEMS/target_native_misc.h
24225 * native/target/RTEMS/target_native_network.h
24226 * native/target/SunOS/.cvsignore
24227 * native/target/SunOS/Makefile.am
24228 * native/target/SunOS/target_native.h
24229 * native/target/SunOS/target_native_file.h
24230 * native/target/SunOS/target_native_io.h
24231 * native/target/SunOS/target_native_math.h
24232 * native/target/SunOS/target_native_memory.h
24233 * native/target/SunOS/target_native_misc.h
24234 * native/target/SunOS/target_native_network.h
24235 * native/target/embOS/.cvsignore
24236 * native/target/embOS/Makefile.am
24237 * native/target/embOS/target_native.h
24238 * native/target/embOS/target_native_file.h
24239 * native/target/embOS/target_native_io.c
24240 * native/target/embOS/target_native_io.h
24241 * native/target/embOS/target_native_math.h
24242 * native/target/embOS/target_native_memory.h
24243 * native/target/embOS/target_native_misc.h
24244 * native/target/embOS/target_native_network.h
24245 * native/target/posix/.cvsignore
24246 * native/target/posix/Makefile.am
24247 * native/target/posix/target_posix.c
24248 * native/target/posix/target_posix.h
24249 * native/target/posix/target_posix_file.c
24250 * native/target/posix/target_posix_file.h
24251 * native/target/posix/target_posix_io.c
24252 * native/target/posix/target_posix_io.h
24253 * native/target/posix/target_posix_math.c
24254 * native/target/posix/target_posix_math.h
24255 * native/target/posix/target_posix_memory.c
24256 * native/target/posix/target_posix_memory.h
24257 * native/target/posix/target_posix_misc.c
24258 * native/target/posix/target_posix_misc.h
24259 * native/target/posix/target_posix_network.c
24260 * native/target/posix/target_posix_network.h:
24263 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
24265 * javax/print/PrintService.java,
24266 * javax/print/DocPrintJob.java,
24267 * javax/print/CancelablePrintJob.java:
24268 Added and enhanced api documentation for class and methods.
24270 2006-01-24 Wolfgang Baer <WBaer@gmx.de>
24272 * javax/print/SimpleDoc.java: Make class final.
24273 * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
24274 * javax/print/attribute/DateTimeSyntax.java:
24275 (toString): New overridden method.
24276 * javax/print/attribute/standard/JobStateReasons.java:
24277 (add): Use the super.add method to avoid recursion.
24278 * javax/print/attribute/standard/PrinterStateReasons.java:
24279 (put): Use the super.put method to avoid recursion.
24281 2006-01-24 Robert Schuster <robertschuster@fsfe.org>
24283 * java/beans/XMLEncoder.java:
24284 (writeExpression): Added early return (fixes PR #25941).
24285 (setExceptionListener, anonymous Class): Removed printStackTrace
24287 * java/beans/Encoder: Removed unused imports.
24288 (setupDefaultPersistenceDelegates): Removed unneccessary
24289 PersistenceDelegates for subclasses.
24290 * java/beans/PersistenceDelegate:
24291 (initialize): Use local variable as first argument as it was
24293 * java/beans/DefaultPersistenceDelegate:
24294 (initialize): Added call to superclass' implementation, added
24297 2006-01-24 Tom Tromey <tromey@redhat.com>
24299 * java/util/regex/PatternSyntaxException.java: Added @since.
24300 * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
24301 * java/util/regex/MatchResult.java: New file.
24303 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
24305 * javax/swing/text/StringContent.java: Added API docs all over, plus
24306 minor reformatting.
24308 2006-01-24 Gary Benson <gbenson@redhat.com>
24310 * java/net/SocketPermission.java: Implemented serialization.
24312 2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
24314 * javax/swing/text/StringContent.java
24315 (remove): Modified argument check to prevent removal of last character,
24316 (getChars): Removed null argument check to allow NullPointerException,
24318 (checkLocation): Added API docs and white space.
24320 2006-01-23 Lillian Angel <langel@redhat.com>
24322 * javax/swing/text/DefaultStyledDocument.java
24323 (insertUpdate): Should only call createFracture with
24324 StartTagType. Added check.
24325 (insertContentTag): Should use the tags length for splitting.
24326 Also, added a check to determine if current's start and end offset are
24327 equal to the offset and endOffset. If so, only one leaf element
24329 (createFracture): Removed FIXME. This function is complete.
24330 (split): Added calls to replace. Changed so the child is
24331 added immediately to the paragraph. Prevents NPEs.
24333 2006-01-23 Mark Wielaard <mark@klomp.org>
24335 * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
24337 2006-01-23 Tom Tromey <tromey@redhat.com>
24339 * gnu/java/security/x509/X509Certificate.java (parse):
24340 Unconditionally read value; for version==1 case when reading
24343 2006-01-23 Roman Kennke <kennke@aicas.com>
24345 * javax/swing/plaf/synth/ColorType.java,
24346 * javax/swing/plaf/synth/Region.java,
24347 * javax/swing/plaf/synth/SynthConstants.java,
24348 * javax/swing/plaf/synth/SynthContext.java
24349 * javax/swing/plaf/synth/SynthGraphicsUtils.java,
24350 * javax/swing/plaf/synth/SynthLookAndFeel.java,
24351 * javax/swing/plaf/synth/SynthPainter.java,
24352 * javax/swing/plaf/synth/SynthStyle.java,
24353 * javax/swing/plaf/synth/SynthStyleFactory.java,
24354 * javax/swing/plaf/synth/package.html:
24355 New files. Added the public API and framework classes for the
24356 Synth look and feel.
24358 2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
24360 * javax/swing/text/Segment.java: API docs all over.
24362 2006-01-23 Lillian Angel <langel@redhat.com>
24364 * javax/swing/text/DefaultStyledDocument.java
24365 (split): Should not use createLeafElement and createBranchElement here.
24366 We should just instaniate the LeafElements and BranchElements instead
24367 to avoid the case where create*Element is overridden.
24369 2006-01-23 Lillian Angel <langel@redhat.com>
24371 * javax/swing/text/DefaultStyledDocument.java
24372 (insertFirstContentTag): Moved check outside of if-statement.
24373 This should be checked before creating the new leaf element.
24374 (insertFracture): Fixed check to prevent an NPE. The previous
24375 leaf should only be recreated if it has been created by
24376 insertFirstContentTag. Also, fixed up code: if the endOffset is
24377 greater than the offset, then we need to create a temp leaf
24378 as a place holder. Otherwise, the leaf elements should be
24381 2006-01-23 Gary Benson <gbenson@redhat.com>
24383 * java/net/SocketPermission.java: Almost completely rewritten.
24385 2006-01-23 Lillian Angel <langel@redhat.com>
24387 * javax/swing/text/DefaultStyledDocument.java
24388 (insertFracture): Set temp leaf's attributes to prevent an NPE.
24390 2006-01-23 Lillian Angel <langel@redhat.com>
24392 * javax/swing/text/DefaultStyledDocument.java:
24393 Formatted ElementBuffer and added new fields.
24394 (remove): Added check to determine if length is 0.
24395 (insertFirstContentTag): Initialized firstCreated to the element that is created
24396 by the first tag encountered. Removed check in JoinPreviousDirection case, no
24397 longer needed. In OriginateDirection case, added a loop to remove all old leafs
24398 that have been recreated.
24399 (insertContentTag): Cleaned up code. Removed checks that did not do anything.
24400 (insertFracture): Fixed up code, removed unneeded objects and checks. Added
24401 FIXME tags to the lines that need to be rewritten.
24403 2006-01-23 Mark Wielaard <mark@klomp.org>
24405 * examples/Makefile.am: Add support for fastjar.
24407 2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
24409 * gnu/regexp/REToken.java(empty): Made Cloneable.
24410 * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
24411 Use separate methods matchN and matchP depending on the
24413 (matchN): New method used when negative. Done as before.
24414 (matchP): New method used when not negative. Each token is
24415 tried not by itself but by a clone of it.
24417 2006-01-23 Chris Burdess <dog@gnu.org>
24420 * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
24421 class to avoid getLength method contention.
24422 * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
24424 2006-01-23 Chris Burdess <dog@gnu.org>
24426 * native/jni/java-util/Makefile.am: Include library required
24427 explicitly by BSD systems.
24428 * native/target/generic/target_generic_misc.h: Remove old commented
24430 * native/target/generic/target_generic_network.h: Fallbacks (to
24431 SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
24433 2006-01-22 Tom Tromey <tromey@redhat.com>
24435 * native/target/posix/.cvsignore: Added .deps.
24437 2006-01-22 Mark Wielaard <mark@klomp.org>
24440 reported by James Damour <James.Damour@corp.request.com>
24441 * java/awt/Container.java (addImpl): Use empty string as name when
24442 null constraints for LayoutManager.addLayoutComponent().
24444 2006-01-22 Chris Burdess <dog@gnu.org>
24447 * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
24448 representing current directory as base for relative URLs.
24450 2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
24453 * gnu/regexp/REMatch.java(empty): New boolean indicating
24454 an empty string matched.
24455 * gnu/regexp/RE.java(match): Sets empty flag when an empty
24457 (initialize): Support back reference \10, \11, and so on.
24458 (parseInt): renamed from getEscapedChar and returns int.
24459 * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
24460 when an empty string matched. Fixed a bug of the case where
24461 an empty string matched. Added special handling of {0}.
24462 * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
24463 when an empty string matched. Fixed the case insensitive matching.
24465 2006-01-21 Roman Kennke <kennke@aicas.com>
24467 * javax/swing/plaf/metal/MetalSplitPaneDivider.java
24468 (paint): Added painting of border if one is installed.
24470 2006-01-21 Roman Kennke <kennke@aicas.com>
24472 PR classpath/25843:
24473 * javax/swing/plaf/basic/BasicBorders.java
24474 (getSplitPaneDividerBorder): Use new border constructor
24476 (SplitPaneDividerBorder.highlight): Removed unneeded field.
24477 (SplitPaneDividerBorder.shadow): Removed unneeded field.
24478 (SplitPaneDividerBorder()): Changed constructor to do nothing. The
24479 colors are fetched dynamically in the paintBorder method.
24480 (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
24482 (SplitPaneDividerBorder.isBorderOpaque): Returns true
24484 * javax/swing/plaf/basic/BasicLookAndFeel.java
24485 (initComponentDefaults): Added default for SplitPaneDivider.border.
24486 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
24487 (tmpBorder): Removed unneeded inner class.
24488 (BasicSplitPaneDivider): Removed setting of border.
24489 (setSplitPaneUI): Don't add the mouse handler to the splitpane
24491 * javax/swing/plaf/basic/BasicSplitPaneUI.java
24492 (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
24493 to get behaviour right.
24494 (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
24495 implementation. This must be rewritten since the layout now works
24496 slightly different (basically, it shouldn't modify the sizes[]
24497 here but instead the dividerLocation.
24498 (dividerLocation): New field.
24499 (installDefaults): Initialize border on divider.
24500 (uninstallDefaults): Only remove background color and border from
24501 splitPane if they are instances of UIDefaults (== not set by
24503 (setDividerLocation): Set the dividerLocation field instead of
24504 doing stunt acts here.
24505 (getDividerLocation): Return dividerLocation field.
24506 (getMinimumDividerLocation): Fixed calculation of minimum location.
24508 2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
24511 (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
24513 * lib/Makefile.am: Likewise.
24515 2006-01-21 Roman Kennke <kennke@aicas.com>
24517 * javax/swing/PopupFactory.java
24518 (getPopup): If there is no Swing root found in any way, use a
24519 heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
24520 for the Swing AWT peers.
24522 2006-01-20 Tom Tromey <tromey@redhat.com>
24524 * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
24525 Read response body for redirect.
24527 2006-01-20 Chris Burdess <dog@gnu.org>
24529 * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
24532 2006-01-20 Lillian Angel <langel@redhat.com>
24534 * javax/swing/text/DefaultStyledDocument.java
24535 (pad): Removed, not needed.
24536 (printElements): Likewise.
24537 (printEdit): Likewise.
24539 2006-01-20 Roman Kennke <kennke@aicas.com>
24541 * javax/swing/text/DefaultFormatter.java
24542 (DefaultFormatter): Don't set a value class.
24544 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24546 * javax/swing/DefaultCellEditor.java: Commented.
24548 2006-01-19 Roman Kennke <kennke@aicas.com>
24550 * javax/swing/JOptionPane.java
24551 Added cast to Frame for JDialog constructor.
24553 2006-01-19 Roman Kennke <kennke@aicas.com>
24555 * javax/swing/JWindow.java
24556 (JWindow(Window)): Fixed to accept null owner argument.
24557 (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
24559 * javax/swing/SwingUtilities.java
24560 (getOwnerFrame): Owner parameter and return value are fixed to
24561 be of type Window for compatibity with the above JWindow
24563 * javax/swing/JDialog.java
24564 (JDialog): Added cast to Frame to make sure the correct constructor
24566 * javax/swing/JFileChooser.java
24567 (createDialog): Added cast to Frame for JDialog constructor.
24569 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24571 * javax/swing/JTable.java (rowAtPoint): Rewritten.
24573 2006-01-19 Roman Kennke <kennke@aicas.com>
24575 * javax/swing/JWindow.java: Added API docs to the constructors.
24577 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24579 * javax/swing/JTable.java: Commenting method headers.
24580 (EditorUpdateTimer): Removed.
24582 2006-01-19 Roman Kennke <kennke@aicas.com>
24584 * javax/swing/JDialog.java
24585 (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
24586 (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
24587 SwingUtilities.getOwnerFrame() with the owner argument.
24588 * javax/swing/JFileChooser.java
24589 (showOpenDialog(Component)): Call pack() on the dialog instead of
24590 setting a fixed height.
24591 (showSaveDialog()): Likewise.
24592 (showDialog()): Likewise.
24593 (createDialog): Call SwingUtilities.getOwnerFrame() with null.
24594 * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
24596 * javax/swing/JWindow.java
24597 (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
24598 (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
24600 * javax/swing/SwingUtilities.java
24601 (getOwnerFrame): Changed to take a owner parameter that is returned
24602 as owner frame when not null.
24604 2006-01-19 Roman Kennke <kennke@aicas.com>
24606 * gnu/java/awt/peer/swing/SwingFramePeer.java
24607 (handleMouseEvent): Fixed handling of mouse events.
24608 (handleMouseMotionEvent): Fixed handling of mouse events.
24610 2006-01-19 Roman Kennke <kennke@aicas.com>
24612 * native/target/generic/target_generic_misc.c:
24613 (targetGenericMisc_formatString): Added missing method.
24615 2006-01-19 Wolfgang Baer <WBaer@gmx.de>
24617 * m4/acinclude.m4: Test also for ecj found before exiting configure
24618 with no javac found error message.
24620 2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
24623 * gnu/regexp/RE.java(initialize): Support escaped characters such as
24624 \0123, \x1B, \u1234.
24625 (getEscapedChar): New method.
24626 (CharExpression): New inner class.
24627 (getCharExpression): New Method.
24628 * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
24629 RE_UNICODE_CHAR): New syntax bits.
24631 2006-01-19 Roman Kennke <kennke@aicas.com>
24633 * native/target/Makefile.am: Fixed so that posix stuff is really
24634 only built when requested.
24636 2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
24638 * javax/swing/JTable.java (editingStopped, editingCancelled):
24639 Repaint the edited cell.
24640 (setValueAt): Do not add the value object to this container.
24641 (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
24642 (editingStopped): Use editingRow, editingColumn and not
24643 rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
24644 (doLayout): Move the editor component, if present, into the new
24645 location and call repaint(). (moveToCellBeingEdited): new method.
24646 (TableTextField): new inner class.
24647 (getDefaultEditor): Instantiante TableTextField, not JTextField.
24648 (setValueAt): Repaint the changed segment.
24649 (createDefaultEditors): Implemented.
24650 (BooleanCellRenderer): Center the checkbox and use the default foreground
24651 and background colors.
24652 * javax/swing/plaf/basic/BasicTableUI.java
24653 (paintCell): Do not paint the caret here. Do not accept unused parameters.
24654 (paint): No need to allocate rectangle for each cell.
24655 * javax/swing/DefaultCellEditor.java: Rewritten.
24656 * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
24657 Use TableDemo.java table example.
24658 * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
24660 2006-01-19 Roman Kennke <kennke@aicas.com>
24662 * configure.ac: Added/fixed --enable-posix-layer option to enable
24663 build of posix layer.
24664 * native/target/Makefile.am: Added build for posix layer.
24666 2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
24668 * configure.ac: Set TARGET to Linux per default.
24669 * native/target/Makefile.am (libtarget_la_LIBADD): Removed
24671 * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
24672 * native/target/generic/Makefile.am (INCLUDES): Renamed to
24675 2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
24677 * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
24678 what looked like proprietary documentation with original or new one.
24679 * java/security/spec/PSSParameterSpec.java: Likewise.
24680 * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
24681 * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
24682 * java/security/AlgorithmParameterGenerator.java: Likewise.
24683 * java/security/AlgorithmParameters.java: Likewise.
24684 * java/security/Identity.java: Likewise.
24685 * java/security/IdentityScope.java: Likewise.
24686 * java/security/KeyFactory.java: Likewise.
24687 * java/security/KeyPairGenerator.java: Likewise.
24688 * java/security/MessageDigest.java: Likewise.
24689 * java/security/Policy.java: Likewise.
24690 * java/security/ProtectionDomain.java: Likewise.
24691 * java/security/Security.java: Likewise.
24692 * java/security/Signature.java: Likewise.
24693 * java/security/SignatureSpi.java: Likewise.
24694 * java/security/SignedObject.java: Likewise.
24695 * java/security/Signer.java: Likewise.
24697 2006-01-18 Roman Kennke <kennke@aicas.com>
24699 * configure.ac: Added --enable-posix-layer option to enable
24700 build of the posix target layer.
24702 2006-01-18 Roman Kennke <kennke@aicas.com>
24704 * native/jni/java-net/java_net_VMInetAddress.c
24705 (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
24708 2006-01-18 Roman Kennke <kennke@aicas.com>
24710 * native/jni/java-util/java_util_VMTimeZone.c:
24711 (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
24712 to use target native layer.
24713 (jint_to_charbuf): Removed unneeded helper function.
24715 2006-01-18 Roman Kennke <kennke@aicas.com>
24717 * native/jni/java-nio/gnu_java_nio_VMPipe.c:
24718 Removed unnecessary include.
24719 * native/jni/java-nio/gnu_java_nio_VMSelector.c:
24720 Reorganized includes to only include sys/* headers when available.
24721 * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
24722 (get_pagesize): Return 0 when nothing else works.
24723 (Java_java_nio_MappedByteBufferImpl_unmapImpl):
24724 Replaced munmap() and strerror() with corresponding target macros.
24725 (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
24726 Replaced strerror() with corresponding target macro.
24727 (Java_java_nio_MappedByteBufferImpl_forceImpl):
24728 Replaced strerror() with corresponding target macro.
24729 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
24730 (Java_java_nio_VMDirectByteBuffer_allocate):
24731 Replaced malloc() with the corresponding target macro.
24732 (Java_java_nio_VMDirectByteBuffer_free):
24733 Replaced free() with the corresponding target macro.
24734 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
24735 Add index to pointer when assigning the value.
24736 (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
24737 Replaced memcpy with corresponding target macro. Add index when
24738 doing the memcpy, not when fetching the pointer.
24739 (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
24740 Replaced memcpy with corresponding target macro.
24741 (Java_java_nio_VMDirectByteBuffer_shiftDown):
24742 Replaced memmove with the corresponding target macro.
24744 2006-01-17 Tom Tromey <tromey@redhat.com>
24746 PR classpath/20198:
24747 * java/net/URLClassLoader.java (FileURLLoader): Added argument.
24748 (JarURLLoader): Likewise.
24749 (addURLImpl): Canonicalize file URLs.
24751 2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
24753 * configure.ac: Set TARGET.
24754 * native/Makefile.am, native/jni/classpath/Makefile.am,
24755 native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
24756 native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
24757 native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
24758 native/jni/xmlj/Makefile.am, native/target/Makefile.am,
24759 native/target/Linux/Makefile.am,
24760 native/target/generic/Makefile.am,
24761 native/target/posix/Makefile.am: Build libclasspath.so with jcl
24762 and target stuff linked in and link it against lib*.so libraries.
24764 2006-01-17 Roman Kennke <kennke@aicas.com>
24766 * native/jni/java-net/javanet.c:
24767 (_javanet_connect): Changed type of some local variables to jint.
24768 Fixed error handling to throw a SocketTimeoutException if the
24769 connection attempt times out.
24770 (_javanet_bind): Changed type of some local variables to jint.
24771 (_javanet_accept): Likewise.
24772 (_javanet_recvfrom): Likewise.
24773 (_javanet_sendto): Fixed error handling to throw a
24774 PortUnreachableException when connection is refused.
24775 (_javanet_get_option): Changed type of some local variables to jint.
24776 Implemented SOCKOPT_SO_BROADCAST.
24777 (_javanet_shutdownInput): Replaced shutdown call with corresponding
24778 target native macro.
24779 (_javanet_shutdownOutput): Replaced shutdown call with corresponding
24780 target native macro.
24781 * native/jni/java-net/javanet.h:
24782 Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
24783 SOCKOPT_SO_BROADCAST.
24785 2006-01-17 Lillian Angel <langel@redhat.com>
24787 * javax/swing/text/DefaultStyledDocument.java
24788 (insert): Cleaned up loop. No need to make so many calls
24789 to getAddedElements and getRemovedElements.
24790 (insertFracture): Removed unneeded array.
24792 2006-01-17 Lillian Angel <langel@redhat.com>
24794 * javax/swing/text/JTextComponent.java
24795 (AccessibleJTextComponent): Implemented.
24796 (getCaretPosition): Implemented.
24797 (getSelectedText): Implemented.
24798 (getSelectionStart): Implemented.
24799 (getSelectionEnd): Implemented.
24800 (getSelectionEnd): Implemented.
24801 (getCharCount): Implemented.
24802 (insertTextAtIndex): Implemented.
24803 (getTextRange): Implemented.
24804 (delete): Implemented.
24805 (cut): Implemented.
24806 (paste): Implemented.
24807 (replaceText): Implemented.
24808 (selectText): Implemented.
24810 2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
24812 * javax/swing/text/DefaultStyledDocument.java:
24813 (pad): New debugging method.
24814 (printElements): Likewise.
24815 (printPendingEdits): Likewise.
24816 (printElement): Likewise.
24817 (Edit): Improved docs, moved this class to be an inner class of
24818 ElementBuffer since it only applies within that scope. Changed added
24819 and removed to be Vectors instead of arrays because we need to be able
24820 to add to them after construction.
24821 (ElementBuffer): Updated docs with link to article that helped in this
24822 classes implementation.
24823 (ElementBuffer.Edit.getRemovedElements): New method.
24824 (ElementBuffer.Edit.getAddedElements): Likewise.
24825 (ElementBuffer.Edit.addRemovedElement): Likewise.
24826 (ElementBuffer.Edit.addRemovedElements): Likewise.
24827 (ElementBuffer.Edit.addAddedElement): Likewise.
24828 (ElementBuffer.Edit.addAddedElements): Likewise.
24829 (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
24831 (ElementBuffer.getEditForParagraphAndIndex): New method.
24832 (ElementBuffer.removeUpdate): Changed type of paragraph to
24833 BranchElement. Corrected style of adding the edit to use the new Edit
24835 (ElementBuffer.changeUpdate): Changed style of adding the edit to use
24836 the new Edit facilities.
24837 (ElementBuffer.split): Likewise.
24838 (ElementBuffer.insertParagraph): Likewise.
24839 (ElementBuffer.insertContentTag): Likewise.
24840 (ElementBuffer.insert): Push all BranchElements until the deepest one,
24841 not just the root and the first one. Apply the structural changes to
24842 the tree at the same time as updating the DocumentEvent.
24843 (ElementBuffer.insertUpdate): Fixed docs. Removed the special case
24844 handling of EndTags as the first ElementSpec. Instead have to handle
24845 ContentTags as a special case if they are the first ElementSpec and if
24846 not have to fracture the tree.
24847 (ElementBuffer.createFracture): New method. May not be complete yet.
24848 Added FIXME indicating what may remain to be done.
24849 (ElementBuffer.insertFirstContentTag): New method.
24850 (ElementBuffer.insertFracture): Added FIXME explaining what remains to
24851 be done. Changed the adding of edits to use the new Edit facilities.
24852 Removed the adding of edits for Elements that weren't in the tree prior
24854 (insertUpdate): Removed incorrect condition for setting a StartTag's
24855 direction to JoinNextDirection.
24856 * javax/swing/text/StyleContent.java:
24857 (SmallAttributeSet.toString): Fixed an off-by-one error in the loop
24858 that was causing an ArrayOutOfBoundsException.
24860 2006-01-17 Roman Kennke <kennke@aicas.com>
24862 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
24863 (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
24864 exception messages a little.
24865 (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
24866 alternative implementation for systems without filesystems.
24867 Replaced snprintf with the corresponding target native macro.
24868 (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
24869 Only do something when we have a filesystem.
24870 (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
24871 alternative implementation for systems without filesystems.
24872 (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
24873 alternative implementation for systems without filesystems.
24874 (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
24875 alternative implementation for systems without filesystems.
24876 (Java_gnu_java_nio_channels_FileChannelImpl_seek):
24877 Only do something when we have a filesystem.
24878 (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
24879 Only do something when we have a filesystem.
24880 (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
24881 alternative implementation for systems without filesystems.
24882 (Java_gnu_java_nio_channels_FileChannelImpl_read__):
24883 Replaced ssize_t variables with jint. Provided
24884 alternative implementation for systems without filesystems.
24885 (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
24886 Replaced ssize_t variables with jint. Provided
24887 alternative implementation for systems without filesystems.
24888 (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
24889 Replaced ssize_t variables with jint. Provided
24890 alternative implementation for systems without filesystems.
24891 (Java_gnu_java_nio_channels_FileChannelImpl_force):
24892 Only do something when we have a filesystem.
24893 (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
24894 Replaced ssize_t variables with jint. Provided
24895 alternative implementation for systems without filesystems.
24896 (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
24897 to use the corresponding target native macro.
24898 (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
24899 to use the corresponding target native macro.
24901 2006-01-17 Lillian Angel <langel@redhat.com>
24903 * javax/swing/text/DefaultTextUI.java:
24904 Added deprecated tag.
24905 * javax/swing/text/JTextComponent.java
24906 (AccessibleJTextComponent): Fixed API doc and
24907 partiall9 implemented.
24908 (getCaretPosition): Fixed API doc and implemented.
24909 (getSelectedText): Fixed API doc.
24910 (getSelectionStart): Likewise.
24911 (getSelectionEnd): Likewise.
24912 (caretUpdate): Fixed API doc and
24913 partially implemented.
24914 (getAccessibleStateSet): Likewise.
24915 (getAccessibleRole): Fixed API doc and implemented.
24916 (getAccessibleEditableText): Implemented.
24917 (getAccessibleText): Fixed API doc and implemented.
24918 (insertUpdate): Fixed API doc.
24919 (changedUpdate): Likewise.
24920 (getIndexAtPoint): Likewise.
24921 (getRootEditorRect): Removed.
24922 (getCharacterBounds): Fixed API doc.
24923 (getCharCount): Likewise.
24924 (getCharacterAttribute): Likewise.
24925 (getAtIndex): Likewise.
24926 (getAfterIndex): Likewise.
24927 (getBeforeIndex): Likewise.
24928 (getAccessibleActionCount): Added function stub.
24929 (getAccessibleActionDescription): Added function,
24930 partially implemented.
24931 (doAccessibleAction): Added function stub.
24932 (setTextContents): Likewise.
24933 (insertTextAtIndex): Likewise.
24934 (delete): Likewise.
24937 (replaceText): Likewise.
24938 (selectText): Likewise.
24939 (setAttributes): Likewise.
24940 (getAccessibleContext): Implemented.
24942 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
24945 * gnu/regexp/RETokenRange.java(constructor):
24946 Keep lo and hi as they are.
24947 (match): Changed the case insensitive comparison.
24949 2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
24951 * gnu/regexp/RETokenChar.java(chain):
24952 Do not concatenate tokens whose insens flags are diffent.
24954 2006-01-17 Roman Kennke <kennke@aicas.com>
24956 * native/target/generic/target_generic_network.c:
24957 (targetGenericNetwork_receive): Fixed signature to match the
24958 corresponding .h file.
24959 (targetGenericNetwork_receiveWithAddressPort): Fixed signature
24960 to match the corresponding .h file.
24962 2006-01-17 Roman Kennke <kennke@aicas.com>
24964 * native/jni/classpath/jcl.c:
24965 (JCL_malloc): Replaced calls to malloc with the corresponding
24966 target layer macro.
24967 (JCL_free): Replaced calls to free with the corresponding
24968 target layer macro.
24969 * native/jni/classpath/native_state.c:
24970 (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
24971 calloc with the corresponding target layer macro.
24972 (remove_node): Replaced calls to free with the corresponding
24973 target layer macro.
24974 (add_node): Replaced calls to malloc with the corresponding
24975 target layer macro.
24977 2006-01-17 Roman Kennke <kennke@aicas.com>
24979 * native/jni/java-io/java_io_VMObjectStreamClass.c:
24980 (getFieldReference): Use MALLOC/FREE macros for portability instead
24981 of direct call to malloc() and free().
24983 2006-01-17 Roman Kennke <kennke@aicas.com>
24985 * native/jni/classpath/jcl.c: Added missing imports.
24986 (JCL_realloc): Fixed signature to include oldsize. This is needed
24987 for some targets. Make this function use the MEMORY_REALLOC macro
24989 * native/jni/classpath/jcl.h
24990 (JCL_realloc): Adjusted signature.
24991 * native/jni/java-io/java_io_VMFile.c:
24992 (Java_java_io_VMFile_create): Use target layer macro for handling
24993 errno, for portability.
24994 (Java_java_io_VMFile_length): Release filename string in error cases
24996 (Java_java_io_VMFile_list): Initialize filename variable. Use new
24997 version of JCL_realloc.
24998 * native/jni/java-net/java_net_VMInetAddress.c:
24999 (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
25000 TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
25001 * native/jni/java-net/javanet.c:
25002 (_javanet_bind): Make errorstr variable const to avoid compiler
25004 (_javanet_set_option): Fixed typo.
25005 (_javanet_get_option): Fixed typo.
25006 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
25007 (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
25008 error_string variable const to avoid compiler warning.
25009 * native/target/generic/target_generic_file.h:
25010 Replaced // comments with /* */ comments to avoid compiler warnings.
25011 Added some spaces to make code better readable.
25012 * native/target/generic/target_generic_memory.h:
25013 Replaced // comments with /* */ comments to avoid compiler warnings.
25014 * native/target/generic/target_generic_misc.c:
25015 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
25016 compiler warnings due to use of varargs.
25017 * native/target/generic/target_generic_misc.h:
25018 Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
25019 compiler warnings due to use of varargs.
25020 * native/target/generic/target_generic_network.h:
25021 Replaced // comments with /* */ comments to avoid compiler warnings.
25022 (targetGenericNetwork_receive): Fixed signature to use signed chars
25023 for buffer parameter to avoid warning when passing a jbyte to the
25026 2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
25028 * javax/swing/text/StyleConstants.java
25029 (getAlignment): Removed isDefined() check, so that resolving parent is
25031 (getBackground): Likewise, plus changed default value to Color.BLACK,
25032 (getBidiLevel): Removed isDefined() check,
25033 (getComponent): Likewise,
25034 (getFirstLineIndent): Likewise,
25035 (getFontFamily): Likewise,
25036 (getFontSize): Likewise,
25037 (getForeground): Likewise,
25038 (getIcon): Likewise,
25039 (getLeftIndent): Likewise,
25040 (getLineSpacing): Likewise,
25041 (getRightIndent): Likewise,
25042 (getSpaceAbove): Likewise,
25043 (getSpaceBelow): Likewise,
25044 (getTabSet): Likewise,
25045 (isBold): Likewise,
25046 (isItalic): Likewise,
25047 (isStrikeThrough): Likewise,
25048 (isSubscript): Likewise,
25049 (isSuperscript): Likewise,
25050 (isUnderline): Likewise.
25052 2006-01-17 Gary Benson <gbenson@redhat.com>
25054 * java/lang/System.java (setSecurityManager): Catch
25055 ClassNotFoundException not Throwable.
25057 2006-01-16 Anthony Green <green@redhat.com>
25060 * gnu/java/net/protocol/http/Request.java
25061 (createResponseBodyStream): Remove Content-Encoding for
25062 compressed streams.
25064 2006-01-16 Chris Burdess <dog@gnu.org>
25066 * gnu/xml/stream/XMLParser.java,
25067 gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
25068 XMLStreamWriter arguments for conformance to the XML specifications.
25069 * gnu/xml/transform/Stylesheet.java,
25070 gnu/xml/transform/Template.java,
25071 gnu/xml/transform/TransformerImpl.java,
25072 gnu/xml/xpath/LangFunction.java,
25073 gnu/xml/xpath/Selector.java: better handling of template priorities;
25074 fix indents when pretty-printing; recursive tests for xml:lang.
25075 * gnu/xml/util/XHTMLWriter.java,
25076 gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
25078 2006-01-16 Roman Kennke <kennke@aicas.com>
25080 * native/target/MinGW/.cvsignore: New file.
25081 * native/target/RTEMS/.cvsignore: New file.
25082 * native/target/SunOS/.cvsignore: New file.
25083 * native/target/embOS/.cvsignore: New file.
25084 * native/target/posix/.cvsignore: New file.
25086 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
25088 * javax/swing/text/StyleConstants.java: Updated API docs all over.
25090 2006-01-16 Roman Kennke <kennke@aicas.com>
25092 * configure.ac: Include new target native directories in build.
25094 2006-01-16 Roman Kennke <kennke@aicas.com>
25096 * native/target/generic/target_generic_file.h: Added missing
25098 * native/target/generic/target_generic_network.c: Fixed several
25099 typos and includes.
25100 * native/target/generic/target_generic_network.h: Likewise.
25102 2006-01-16 Roman Kennke <kennke@aicas.com>
25104 * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
25105 to include the new targets.
25106 * native/target/posix/Makefile.am: Fixed filenames.
25108 2006-01-16 Roman Kennke <kennke@aicas.com>
25110 * native/target/Makefile.am: Include new targets.
25111 * native/target/Linux/Makefile.am: Include new memory layer.
25112 * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
25113 * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
25114 * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
25115 * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
25116 * native/target/generic/Makefile.am: Include new memory and math
25118 * native/target/posix/Makefile.am: New file. Includes posix in dist.
25120 2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
25123 * gnu/regexp/RE.java(initialize): Parse embedded flags.
25124 * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
25126 2006-01-16 Roman Kennke <kennke@aicas.com>
25128 * native/target/generic/target_generic_network.c: Fixed typo.
25129 * native/target/generic/target_generic_network.h: Fixed typo.
25131 2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
25133 * doc/vmintegration.texinfo: Updated subsection of the
25134 java.lang.InstrumentationImpl documentation.
25136 2006-01-16 Roman Kennke <kennke@aicas.com>
25138 * native/target/RTEMS/target_native.h,
25139 * native/target/RTEMS/target_native_file.h,
25140 * native/target/RTEMS/target_native_io.h,
25141 * native/target/RTEMS/target_native_math.h,
25142 * native/target/RTEMS/target_native_memory.h,
25143 * native/target/RTEMS/target_native_misc.h,
25144 * native/target/RTEMS/target_native_network.h:
25145 New files. Implement the target native layer for the RTEMS platform.
25147 2006-01-16 Roman Kennke <kennke@aicas.com>
25149 * native/target/SunOS/target_native.h,
25150 * native/target/SunOS/target_native_file.h,
25151 * native/target/SunOS/target_native_io.h,
25152 * native/target/SunOS/target_native_math.h,
25153 * native/target/SunOS/target_native_memory.h,
25154 * native/target/SunOS/target_native_misc.h,
25155 * native/target/SunOS/target_native_network.h:
25156 New files. Implement the target native layer for the SunOS platform.
25158 2006-01-16 Roman Kennke <kennke@aicas.com>
25160 * native/target/MinGW/target_native.h,
25161 * native/target/MinGW/target_native_file.h,
25162 * native/target/MinGW/target_native_io.h,
25163 * native/target/MinGW/target_native_math.h,
25164 * native/target/MinGW/target_native_memory.h,
25165 * native/target/MinGW/target_native_misc.h,
25166 * native/target/MinGW/target_native_network.h:
25167 New files. Implement the target native layer for the MinGW
25170 2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25173 * javax/swing/DefaultCellEditor.java
25174 (delegate): Assign new instance immediately.
25175 (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
25176 (getTableCellEditorComponent): Rewritten.
25177 (prepareAsJTextField):New method (add listener only once).
25178 * javax/swing/JTable.java
25179 (editingCanceled): Rewritten.
25180 (editingStopped ): Rewritten.
25181 (rowAtPoint): Mind row margin.
25182 (getCellRect): Mind row margin.
25183 (getDefaultEditor): Removing JTextComponent border.
25184 (editCellAt): Rewritten.
25185 * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
25186 Activate editing mode by the mouse clicks.
25187 (getMaximumSize): Mind row margin.
25188 (getPreferredSize): Mind row margin.
25189 (TableAction): Added 'stop editing' command.
25191 2006-01-16 Roman Kennke <kennke@aicas.com>
25193 * jni/java-io/java_io_VMFile.c
25194 (Java_java_io_VMFile_list): Use new 4 argument version of
25195 TARGET_NATIVE_FILE_READ_DIR macro.
25196 * target/Linux/target_native_io.h: Fixed comment at #endif.
25197 * target/Linux/target_native_memory.h: New file. Contains
25198 portability macros for memory operations.
25199 * target/generic/target_generic.c: New file. Contains some functions
25201 * target/generic/target_generic.h: Use posix target and shorter macro
25202 names if CP_NEW is set.
25203 * target/generic/target_generic_file.h: Use posix target and shorter
25204 macro names if CP_NEW is set.
25205 (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
25206 * target/generic/target_generic_io.c: New file. Contains some
25207 functions for IO portability.
25208 * target/generic/target_generic_io.h: Use posix target and shorter
25209 macro names if CP_NEW is set.
25210 * target/generic/target_generic_misc.c: New file. Contains some
25211 functions for miscallaneaous portability issues.
25212 * target/generic/target_generic_misc.h: Use posix target and shorter
25213 macro names if CP_NEW is set.
25214 * target/generic/target_generic_network.c: New file. Contains some
25215 functions for networking portability.
25216 * target/generic/target_generic_network.h: Use posix target and
25217 shorter macro names if CP_NEW is set.
25218 * target/posix/Makefile.am,
25219 * target/posix/target_posix.c,
25220 * target/posix/target_posix.h,
25221 * target/posix/target_posix_file.c,
25222 * target/posix/target_posix_file.h,
25223 * target/posix/target_posix_io.c,
25224 * target/posix/target_posix_io.h,
25225 * target/posix/target_posix_math.c,
25226 * target/posix/target_posix_math.h,
25227 * target/posix/target_posix_memory.c,
25228 * target/posix/target_posix_memory.h,
25229 * target/posix/target_posix_misc.c,
25230 * target/posix/target_posix_misc.h,
25231 * target/posix/target_posix_network.c,
25232 * target/posix/target_posix_network.h:
25233 New files. This implements the target native layer macros for
25234 Posix-like systems.
25236 2006-01-16 Gary Benson <gbenson@redhat.com>
25238 * java/net/SocketPermission.java (implies): Fix action checks.
25240 2006-01-16 Roman Kennke <kennke@aicas.com>
25242 * native/target/generic/target_generic_math_float.h: Removed. This
25243 file has been replaced by target_generic_math.h.
25244 * native/target/generic/target_generic_math_int.h: Removed. This
25245 file has been replaced by target_generic_math.h.
25246 * native/target/generic/target_generic_math.h: New file. Replaces
25247 the old _int and _float versions.
25248 * native/target/Linux/target_native_math_float.h: Removed. This
25249 file has been replaced by target_native_math.h.
25250 * native/target/Linux/target_native_math_int.h: Removed. This
25251 file has been replaced by target_native_math.h.
25252 * native/target/Linux/target_native_math.h: New file. Replaces
25253 the old _int and _float versions.
25254 * native/target/Linux/Makefile.am: Adjusted for the changed
25256 * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
25257 instead of target_native_math_int.h.
25258 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
25260 * native/target/generic/target_generic_file.h: Likewise.
25262 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
25264 * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
25266 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
25268 * javax/swing/text/SimpleAttributeSet.java
25269 (SimpleAttributeSet()): Initialise storage directly,
25270 (SimpleAttributeSet(AttributeSet)): Removed null check and documented
25271 NullPointerException,
25272 (containsAttribute): If key is found locally, don't check resolving
25273 parent if the value doesn't match,
25274 (getAttribute): Removed redundant instanceof and cast.
25276 2006-01-16 Gary Benson <gbenson@redhat.com>
25278 * java/lang/System.java (setSecurityManager): Ensure policy
25279 files are loaded before a security manager is put in place.
25281 2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
25283 * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
25285 2006-01-16 Wolfgang Baer <WBaer@gmx.de>
25287 * javax/print/attribute/standard/MediaSize.java:
25288 (static_initializer): Added comment.
25289 (MediaSize): Added javadoc to mention cache registration.
25290 (MediaSize): Likewise.
25291 (MediaSize): Likewise.
25292 (MediaSize): Likewise.
25294 2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
25297 * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
25298 * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
25299 * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
25300 * javax/security/auth/login/AppConfigurationEntry.java: Updated
25302 (toString): Added method implementation.
25303 (LoginModuleControlFlag.toString): Removed class name from result.
25304 * javax/security/auth/login/Configuration.java: Updated copyright year.
25305 (getConfig(): replaced calls to NullConfiguration with
25308 2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25310 * javax/swing/table/DefaultTableCellRenderer.java
25311 (getTableCellRendererComponent): Render null as the empty cell.
25313 2006-01-14 Anthony Green <green@redhat.com>
25315 * java/net/ServerSocket.java (accept): Remove bogus
25317 (implAccept): Add FIXME comment.
25319 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
25322 * javax/print/Doc.java: Added and enhanced documentation.
25323 * javax/print/SimpleDoc.java: New file.
25325 2006-01-14 Wolfgang Baer <WBaer@gmx.de>
25327 * javax/print/attribute/standard/MediaSize.java:
25328 (Other.TABLOID): New MediaSize added in 1.5
25330 2006-01-14 Chris Burdess <dog@gnu.org>
25332 * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
25333 correctly when I/O and runtime exceptions occur during parsing.
25335 2006-01-13 Roman Kennke <kennke@aicas.com>
25337 * gnu/java/awt/peer/swing/SwingButtonPeer.java,
25338 * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
25339 * gnu/java/awt/peer/swing/SwingComponent.java,
25340 * gnu/java/awt/peer/swing/SwingComponentPeer.java,
25341 * gnu/java/awt/peer/swing/SwingContainerPeer.java,
25342 * gnu/java/awt/peer/swing/SwingFramePeer.java,
25343 * gnu/java/awt/peer/swing/SwingLabelPeer.java,
25344 * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
25345 * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
25346 * gnu/java/awt/peer/swing/SwingMenuPeer.java,
25347 * gnu/java/awt/peer/swing/SwingPanelPeer.java,
25348 * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
25349 * gnu/java/awt/peer/swing/SwingToolkit.java,
25350 * gnu/java/awt/peer/swing/SwingWindowPeer.java,
25351 * gnu/java/awt/peer/swing/package.html:
25352 New files. Implemented some basic AWT peers based on Swing.
25354 2006-01-13 Roman Kennke <kennke@aicas.com>
25356 * java/awt/peer/ComponentPeer.java: Added API docs all over.
25358 2006-01-13 Roman Kennke <kennke@aicas.com>
25360 * java/awt/MenuComponent.java: Reformatted to better match our
25363 2006-01-13 Roman Kennke <kennke@aicas.com>
25365 * java/awt/Frame.java: Reformatted to better match our
25368 2006-01-13 Roman Kennke <kennke@aicas.com>
25370 * java/awt/MenuBar.java
25371 (accessibleContext): Removed unnecessary field. This is already
25372 defined in MenuComponent.
25373 (setHelpMenu): Renamed the peer variable to myPeer because it was
25374 hiding a field of MenuComponent.
25375 (addNotify): Removed unnecessary cast.
25377 2006-01-13 Roman Kennke <kennke@aicas.com>
25379 * java/awt/MenuBar.java: Reformatted to better match our
25382 2006-01-13 Roman Kennke <kennke@aicas.com>
25384 * java/awt/MenuBar.java
25385 (frame): New field.
25386 (removeNotify): Clear frame field when beeing removed from the
25388 * java/awt/Frame.java
25389 (setMenuBar): Store a reference of the frame in the MenuBar.
25390 * java/awt/MenuComponent.java
25391 (postEvent): Implemented to forward the call to the parent until
25392 a parent can handle the event.
25393 (dispatchEvent): Moved handling of old style events from
25394 dispatchEventImpl() to here.
25395 (dispatchEventImpl): Moved handling of old style events to
25398 2006-01-13 Roman Kennke <kennke@aicas.com>
25400 * java/awt/Component.java
25401 (dispatchEvent): Moved handling of old style events from
25402 dispatchEventImpl() to this method.
25403 (translateEvent): Removed unnecessary cast.
25404 (dispatchEventImpl): Moved handling of old style events to
25407 2006-01-13 Lillian Angel <langel@redhat.com>
25409 * javax/swing/text/DefaultStyledDocument.java
25410 (createDefaultRoot): Removed FIXME.
25411 (setLogicalStyle): Added fireUndoableEditUpdate call and
25414 2006-01-13 Lillian Angel <langel@redhat.com>
25416 * javax/swing/text/DefaultStyledDocument.java
25417 (Edit): New inner class.
25418 (changeUpdate): Changed addEdit call to add a new
25419 instance of Edit to the edits Vector, so addEdits can
25422 (insertParagraph): Likewise.
25423 (insertFracture): Likewise.
25424 (insertContentTag): Likewise.
25425 (insert): Added loop to go through edits Vector and perform
25426 addEdit on each object.
25428 2006-01-13 Chris Burdess <dog@gnu.org>
25430 * gnu/xml/transform/AbstractNumberNode.java,
25431 gnu/xml/transform/ApplyImportsNode.java,
25432 gnu/xml/transform/ApplyTemplatesNode.java,
25433 gnu/xml/transform/AttributeNode.java,
25434 gnu/xml/transform/CallTemplateNode.java,
25435 gnu/xml/transform/ChooseNode.java,
25436 gnu/xml/transform/CommentNode.java,
25437 gnu/xml/transform/CopyNode.java,
25438 gnu/xml/transform/CopyOfNode.java,
25439 gnu/xml/transform/DocumentFunction.java,
25440 gnu/xml/transform/ElementNode.java,
25441 gnu/xml/transform/ForEachNode.java,
25442 gnu/xml/transform/IfNode.java,
25443 gnu/xml/transform/LiteralNode.java,
25444 gnu/xml/transform/MessageNode.java,
25445 gnu/xml/transform/OtherwiseNode.java,
25446 gnu/xml/transform/ParameterNode.java,
25447 gnu/xml/transform/ProcessingInstructionNode.java,
25448 gnu/xml/transform/Stylesheet.java,
25449 gnu/xml/transform/Template.java,
25450 gnu/xml/transform/TemplateNode.java,
25451 gnu/xml/transform/TextNode.java,
25452 gnu/xml/transform/TransformerImpl.java,
25453 gnu/xml/transform/ValueOfNode.java,
25454 gnu/xml/transform/WhenNode.java,
25455 gnu/xml/xpath/NodeTypeTest.java,
25456 gnu/xml/xpath/Selector.java: simplified debugging output; ignore
25457 with-param parameters when template does not define parameters; apply
25458 conflict resolution for templates; strip whitespace on documents
25459 retrieved via document() function; allow node() to match document
25462 2006-01-13 Mark Wielaard <mark@klomp.org>
25464 * doc/www.gnu.org/announce/20060113.wml: New file.
25465 * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
25466 * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
25468 2006-01-13 Lillian Angel <langel@redhat.com>
25470 * javax/swing/text/DefaultStyledDocument.java:
25471 Removed unused fields.
25472 (insert): Removed unused fields.
25473 (endEdit): Removed, not needed.
25474 (insertUpdate): Removed call to endEdit.
25475 (prepareContentInsertion): Removed, not needed.
25476 (insertContentTag): Removed call to prepareContentInsertion.
25477 (printElements): Removed, not needed.
25478 (attributeSetsAreSame): Removed, not needed.
25480 2006-01-13 Mark Wielaard <mark@klomp.org>
25482 * configure.ac: Set version to 0.20.
25483 * NEWS: Add entries for all the new work done.
25485 2006-01-13 Mark Wielaard <mark@klomp.org>
25487 * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
25489 2006-01-13 Mark Wielaard <mark@klomp.org>
25491 * java/util/regex/Pattern.java (Pattern): Chain REException.
25493 2006-01-13 Chris Burdess <dog@gnu.org>
25495 * gnu/xml/xpath/NameTest.java: Removed debugging output.
25497 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
25499 * java/security/Security.java
25500 (getProperty): Added hack to skip security check when trusted
25501 code is direct caller.
25503 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
25505 * java/io/PrintStream.java
25506 (line_separator, PrintStream(OutputStream,boolean)): Use
25509 2006-01-13 Jeroen Frijters <jeroen@frijters.net>
25511 * gnu/java/nio/charset/Provider.java: Added comment about its
25512 special relation with CharsetProvider.
25514 * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
25515 its special relation with CharsetProvider.
25517 * java/nio/charset/spi/CharsetProvider.java
25518 (CharsetProvider): Add special case to skip security check for
25519 built in providers.
25521 2006-01-13 Mark Wielaard <mark@klomp.org>
25523 * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
25524 name, accel, mnemonic and command are defined before setting.
25526 2006-01-12 Mark Wielaard <mark@klomp.org>
25528 * javax/swing/plaf/metal/MetalFileChooserUI.java
25529 (FileRenderer.getListCellRendererComponent): Set empty name and null
25530 icon when File is null.
25532 2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25534 * gnu/java/rmi/server/UnicastRef.java (newCall):
25535 Throw ConnectException after catching IOException.
25537 2006-01-12 Lillian Angel <langel@redhat.com>
25539 * javax/swing/text/DefaultStyledDocument.java
25540 (insertUpdate): Removed unneeded check.
25542 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
25544 * javax/swing/text/DefaultStyledDocument.java:
25545 (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
25546 and we haven't come immediately after a fracture, adjust the Element
25547 offsets. Added comment explaining the situation.
25548 (insert): Return early if no ElementSpecs passed in. Removed redundant
25549 call to insertUpdate. Fired the UndoableEditUpdate.
25551 2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
25554 * gnu/regexp/RE.java(initialize): Fixed the parsing of
25555 character classes within a subexpression.
25557 2006-12-12 Lillian Angel <langel@redhat.com>
25559 * javax/swing/text/DefaultStyledDocument.java
25560 (insertUpdate): Added check to check if attribute set is
25562 (insertUpdate): Added check to determine if last character
25563 is a newline. If it is, we should not be fracturing.
25564 (insert): Added check to determine if attribute set is empty.
25565 If it is, insertUpdate should not be called.
25567 2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
25569 * configure.ac: Check for isnan.
25571 * native/fdlibm/fdlibm.h: If we have a isnan function then do not
25574 2006-01-12 Chris Burdess <dog@gnu.org>
25576 * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
25577 1.1 character ranges.
25579 2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
25581 * javax/swing/TransferHandler.java:
25582 (TransferAction<init>): Call super constructor. Fixes Mauve regression
25583 gnu/testlet/javax/swing/JTextField/CopyPaste.
25585 2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
25587 * resource/Makefile.am: Install
25588 logging.properties into $(prefix)/lib.
25589 * resource/Makefile.am (securitydir): Changed to
25590 $(prefix)/lib/security.
25592 2006-01-12 Roman Kennke <kennke@aicas.com>
25594 * javax/swing/JTextField.java
25595 (createDefaultModel): Moved installation of the filterNewlines
25596 property to setDocument().
25597 (setDocument): New method. Installs the filterNewlines property
25600 2006-01-12 Chris Burdess <dog@gnu.org>
25602 * gnu/xml/dom/DomNode.java,
25603 gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
25605 * gnu/xml/xpath/NameTest.java,
25606 gnu/xml/xpath/NamespaceTest.java,
25607 gnu/xml/xpath/Selector.java: Fix regression for namespace axis
25609 * gnu/xml/transform/MessageNode.java: Use standard logging system
25610 for outputting messages.
25612 2006-01-12 Tom Tromey <tromey@redhat.com>
25614 * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
25615 (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
25616 (cache_size, cache_period, cache_purge_pct, cache): Likewise.
25617 (static initializer): Removed cache code.
25618 (checkCacheFor, addToCache): Removed.
25619 (getAllByName): Removed cache code.
25620 (lookup_time): Removed.
25621 (InetAddress): Updated.
25623 2006-01-12 Chris Burdess <dog@gnu.org>
25625 * gnu/xml/dom/DomDocument.java,
25626 gnu/xml/dom/DomElement.java,
25627 gnu/xml/dom/DomNode.java,
25628 gnu/xml/stream/XMLParser.java,
25629 gnu/xml/transform/Bindings.java,
25630 gnu/xml/transform/ElementAvailableFunction.java,
25631 gnu/xml/transform/ElementNode.java,
25632 gnu/xml/transform/FunctionAvailableFunction.java,
25633 gnu/xml/transform/NamespaceProxy.java,
25634 gnu/xml/transform/StreamSerializer.java,
25635 gnu/xml/transform/Stylesheet.java,
25636 gnu/xml/transform/TransformerImpl.java,
25637 gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
25638 document and element nodes; correct coalescing semantics when parsing;
25639 attribute-sets can only refer to top-level variables and parameters;
25640 fix namespace retrieval during element-available and
25641 function-available functions; implement xsl:fallback for extension
25642 elements; tokenize whitespace correctly during whitespace stripping;
25643 correct following and previous node axes selectors.
25645 2006-01-12 Roman Kennke <kennke@aicas.com>
25647 * java/util/Hashtable.java
25648 (KeyEnumerator.nextElement): Added null check to avoid NPE.
25649 (ValueEnumerator.nextElement): Added null check to avoid NPE.
25651 2006-01-12 Lillian Angel <langel@redhat.com>
25653 * javax/swing/text/GapContent.java
25654 (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
25656 2006-01-12 Mark Wielaard <mark@klomp.org>
25658 * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
25659 Throw UnknowHostException when name could not be resolved.
25661 2006-01-12 Jeroen Frijters <jeroen@frijters.net>
25663 * java/net/URL.java
25664 (static, getURLStreamHandler): Use SystemProperties.
25666 2006-01-12 Mark Wielaard <mark@klomp.org>
25668 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
25669 Use packet.getLength().
25670 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
25671 (nativeReceive): Check whether the receiver wants zero bytes.
25673 2006-01-12 Mark Wielaard <mark@klomp.org>
25675 * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
25676 other side orderly closed connection.
25677 * vm/reference/gnu/java/net/VMPlainSocketImpl.java
25678 (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
25679 when end of stream reached.
25681 2006-01-12 Mark Wielaard <mark@klomp.org>
25683 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
25685 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
25686 * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
25687 * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
25688 * native/jni/java-net/javanet.c: Likewise.
25690 2006-01-12 Mark Wielaard <mark@klomp.org>
25692 * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
25693 PR classpath/23863.
25695 2006-01-11 Chris Burdess <dog@gnu.org>
25697 * gnu/xml/transform/AttributeNode.java,
25698 gnu/xml/transform/ElementNode.java,
25699 gnu/xml/transform/LiteralNode.java,
25700 gnu/xml/transform/StreamSerializer.java,
25701 gnu/xml/transform/StrippingInstruction.java,
25702 gnu/xml/transform/Stylesheet.java,
25703 gnu/xml/transform/TransformerImpl.java,
25704 gnu/xml/transform/ValueOfNode.java,
25705 gnu/xml/xpath/Expr.java,
25706 gnu/xml/xpath/LocalNameFunction.java,
25707 gnu/xml/xpath/NameFunction.java,
25708 gnu/xml/xpath/NameTest.java,
25709 gnu/xml/xpath/NamespaceUriFunction.java,
25710 gnu/xml/xpath/NodeTypeTest.java,
25711 gnu/xml/xpath/SubstringFunction.java,
25712 javax/xml/namespace/QName.java: don't determine element namespace
25713 from namespace aliases when specified; better namespace handling
25714 when serializing elements; don't create HTML meta element unless
25715 head element exists; correct encoding of CDATA sections containing
25716 ']]>'; encode HTML character entity references; use ISO-Latin-1 as
25717 default encoding for HTML output; rewrite of XSLT
25718 strip-space/preserve-space handling; correct doctype-public and
25719 doctype-system output attributes; insert generated doctype before
25720 document element; fixed result tree whitespace stripping
25721 algorithm; fixed semantics of XPath name, local-name, and
25722 namespace-uri functions; name tests handle XML/XMLNS namespaces
25723 correctly; fixed semantics of processing-instruction node test.
25724 * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
25727 2006-01-11 Lillian Angel <langel@redhat.com>
25729 * javax/swing/text/DefaultStyledDocument.java
25730 (insertFracture): Added calls to addEdit for each time a structure
25731 is changed. addEdit is called on the newBranch, previous, and parent
25734 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
25736 * javax/swing/text/DefaultStyledDocument.java:
25737 (ElementBuffer.insertContentTag): Don't adjust the structure here.
25738 This will have been taken care of in insertFracture. Added a comment
25739 explaining that we need to add edits to the DocumentEvent and that
25740 this may be the place to do it.
25742 2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
25744 * javax/swing/text/DefaultStyledDocument.java:
25745 (ElementBuffer.insertUpdate): Properly recreate Elements if the first
25746 tag is an end tag. Avoid NPE by pushing the proper Element on to the
25747 elementStack when there is a start tag with JoinNextDirection.
25749 2006-01-11 Roman Kennke <kennke@aicas.com>
25751 Reported by: Fridjof Siebert <siebert@aicas.com>
25752 * java/util/Hashtable.java
25753 (KEYS): Removed unneeded field.
25754 (VALUES): Removed unneeded field.
25755 (ENTRIES): Removed unneeded field.
25756 (keys): Return a KeyEnumerator instance.
25757 (elements): Returns a ValueEnumerator instance.
25758 (toString): Use an EntryIterator instance.
25759 (keySet): Return a KeyIterator instance.
25760 (values): Return a ValueIterator instance.
25761 (entrySet): Return an EntryIterator instance.
25762 (hashCode): Use EntryIterator instance.
25763 (rehash): Changed this loop to avoid redundant reads and make
25764 it obvious that null checking is not needed.
25765 (writeObject): Use EntryIterator instance.
25766 (HashIterator): Removed class.
25767 (Enumerator): Removed class.
25768 (EntryIterator): New class.
25769 (KeyIterator): New class.
25770 (ValueIterator): New class.
25771 (EntryEnumerator): New class.
25772 (KeyEnumerator): New class.
25773 (ValueEnumerator): New class.
25775 2006-01-11 Lillian Angel <langel@redhat.com>
25777 * javax/swing/text/DefaultStyledDocument.java
25778 (toString): Shouldn't append the '>' character here.
25779 (createDefaultRoot): Should not set the resolve parent. This
25780 causes problems when comparing attribute sets.
25782 2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
25784 * javax/swing/text/DefaultStyledDocument.java:
25785 (ElementBuffer.insertUpdate): Rewritten to properly handle start and
25787 (ElementBuffer.insertFracture): New method.
25788 (ElementBuffer.insertContentTag): Removed unnecessary case for
25789 JoinFractureDirection - this only applies to start tags, not content
25791 (insertUpdate): Corrected conditions for setting direction to
25794 2006-01-10 Roman Kennke <kennke@aicas.com>
25796 * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
25797 * ChangeLog-2005: New File.
25799 2006-01-10 Roman Kennke <kennke@aicas.com>
25801 * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
25802 (get): Release the array with the correct pointer.
25803 (put): Release the array with the correct pointer. Copy the array
25804 around _before_ releasing it.
25806 2006-01-10 Roman Kennke <kennke@aicas.com>
25808 * javax/swing/ViewportLayout.java
25809 (layoutContainer): Fixed condition, to avoid ClasscastException.
25811 2006-01-10 Roman Kennke <kennke@aicas.com>
25813 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
25814 (MouseHandler.mousePressed): Fixed indendation.
25815 (MouseHandler.mouseDragged): Fixed indendation.
25817 2006-01-10 Roman Kennke <kennke@aicas.com>
25819 * javax/swing/plaf/basic/BasicLookAndFeel.java
25820 (playSound): Added @since 1.4 to the API docs.
25822 2006-01-10 Roman Kennke <kennke@aicas.com>
25824 * javax/swing/plaf/basic/BasicListUI.java
25825 (maybeUpdateLayoutState): Also update the layout state, if the
25826 list has been invalidated since the last update.
25828 2006-01-10 Roman Kennke <kennke@aicas.com>
25830 * javax/swing/plaf/ComponentUI.java
25831 (update): Fixed indendation.
25833 2006-01-10 Roman Kennke <kennke@aicas.com>
25835 * javax/swing/ViewportLayout.java
25836 (layoutContainer): Fixed condition, so that Scrollable components
25837 are always forced to have to Viewport size, when they
25838 return true for getScrollableTracksViewportHeight() and ..Width().
25840 2006-01-10 Roman Kennke <kennke@aicas.com>
25842 * javax/swing/RepaintManager.java
25843 (validateInvalidComponents): Fixed condition to avoid NPE.
25845 2006-01-10 Roman Kennke <kennke@aicas.com>
25847 * javax/swing/JViewport.java:
25848 (static_initializer): Removed unused variable myScrollMode.
25850 2006-01-10 Roman Kennke <kennke@aicas.com>
25852 * javax/swing/JTabbedPane.java:
25853 Cleared API docs a little.
25855 2006-01-10 Roman Kennke <kennke@aicas.com>
25857 * java/util/StringTokenizer.java
25858 (StringTokenizer(String, String, boolean)):
25859 Don't trigger NPE here for conformance with the spec.
25861 2006-01-10 Roman Kennke <kennke@aicas.com>
25863 * java/util/ArrayList.java
25864 (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
25866 2006-01-10 Roman Kennke <kennke@aicas.com>
25868 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
25869 (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
25870 field to avoid NPE.
25872 2006-01-10 Roman Kennke <kennke@aicas.com>
25874 * native/jni/java-net/javanet.c
25875 (_javanet_shutdownOutput): Replaced strerror() with
25876 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
25877 (_javanet_shutdownInput): Replaced strerror() with
25878 TARGET_NATIVE_LAST_ERROR_STRING() for portability.
25880 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
25882 * java/beans/EventSetDescriptor.java: Reformatted and
25885 2006-01-10 Roman Kennke <kennke@aicas.com>
25887 * java/lang/SecurityManager.java
25888 Fully qualified AWT class references in API docs.
25890 2006-01-10 Robert Schuster <robertschuster@fsfe.org>
25892 * java/beans/EventSetDescriptor.java:
25893 (getGetListenerMethod): New method.
25895 2006-01-10 Mark Wielaard <mark@klomp.org>
25897 * lib/Makefile.am (GCJX): Add -g to get linenumber info.
25899 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
25902 * java/util/Hashtable.java
25903 (contains): Call equals on existing value.
25904 (containsKey, get, put, remove): Call equals on existing key.
25905 (getEntry): Call equals on existing entry.
25907 2006-01-10 Jeroen Frijters <jeroen@frijters.net>
25910 * java/util/AbstractMap.java
25911 (equals(Object,Object)): Test for identity first.
25912 * java/util/WeakHashMap.java
25913 (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
25914 (WeakBucket.WeakEntry.toString): Fixed string representation of
25916 (internalGet): Use helper method to determine equality.
25918 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
25920 * java/beans/EventSetDescriptor.java: Implemented the two 1.4
25923 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
25925 * javax/swing/text/PlainDocument.java:
25926 (insertUpdate): Handle special case of an insertion immediately
25927 following a newline character.
25929 2006-01-09 Roman Kennke <kennke@aicas.com>
25931 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
25932 (connect): Added stream parameter to _connect() call.
25933 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
25934 (connect): Added stream parameter to _connect() call.
25935 * native/jni/java-net/javanet.c
25936 (_javanet_create_localfd): Added stream parameter. Look up
25937 fd field based on the stream parameter either in SocketImpl or
25938 in DatagramSocketImpl.
25939 (_javanet_connect): Added stream parameter. Call create_localfd
25940 using this stream parameter. Set localPort field either in
25941 SocketImpl or in DatagramSocketImpl, depending on the stream
25943 * native/jni/java-net/javanet.c
25944 (_javanet_connect): Added stream parameter.
25946 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
25948 * javax.management.Attribute.java: Grammar and
25951 2006-01-09 Mark Wielaard <mark@klomp.org>
25953 * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
25954 exception when channel is not readable or writable.
25955 * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
25956 (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
25957 there is enough space to mmap().
25959 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
25961 * java/beans/Introspector.java:
25962 (getBeanInfo(Class, int)): New method.
25963 (getBeanInfo(Class, Class): Moved common code in a new method.
25964 (merge): New method.
25966 2006-01-09 Robert Schuster <robertschuster@fsfe.org>
25968 * java/beans/XMLEncoder.java: Fix spelling mistakes.
25970 2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
25972 * javax/swing/text/DefaultStyledDocument.java:
25973 (insertUpdate): Removed call to checkForInsertAfterNewline and instead
25974 inlined this method because it needs to change the value of the
25975 finalStartTag and finalStartDirection variables.
25976 (checkForInsertAfterNewline): Removed this method.
25977 (handleInsertAfterNewline): Added case for making the start tag's
25978 direction JoinNextDirection.
25980 2006-01-09 Lillian Angel <langel@redhat.com>
25982 * javax/swing/plaf/basic/BasicTreeUI.java:
25984 (setRowHeight): Row height is set to the max height of
25985 all the nodes, or 20 as a default value.
25986 (getPathBounds): Cleaned up code.
25987 (getMaxHeight): New helper function that gets the max
25988 height of all the rows.
25989 (getClosestPathForLocation): Fixed to use getMaxHeight.
25990 (updateCachedPreferredSize): Likewise.
25991 (installUI): Shouldn't expand tree on startup.
25992 (getNodeDimensions): Fixed to use getMaxHeight.
25994 2006-01-09 Mark Wielaard <mark@klomp.org>
25996 * javax/swing/JList.java (setSelectedIndex): Clear selection when
25997 argument is negative.
25999 2006-01-08 Mark Wielaard <mark@klomp.org>
26001 * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
26003 2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26005 * javax.management.Attribute.java: New file.
26007 2006-01-09 Roman Kennke <kennke@aicas.com>
26009 * java/net/DatagramSocketImpl.java
26010 (localPort): Renamed to localport for correct access from native
26013 2006-01-09 Roman Kennke <kennke@aicas.com>
26015 * javax/swing/Popup.java
26016 (LightweightPopup.hide): Repaint the layered pane when popup is
26019 2006-01-09 Roman Kennke <kennke@aicas.com>
26021 * java/awt/Container.java
26022 (remove): Don't repaint the container here.
26024 2006-01-08 Tom Tromey <tromey@redhat.com>
26026 * java/lang/InheritableThreadLocal.java: Organized imports.
26028 2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
26031 * gnu/regexp/RETokenRepeated.java(match): Optimized the case
26032 when an empty string matched an empty token.
26034 2006-01-08 Chris Burdess <dog@gnu.org>
26036 * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
26037 content models from external entities.
26038 * gnu/xml/stream/UnicodeReader.java: Report error instead of
26039 attempting to continue with unpaired surrogates.
26040 * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
26041 resolving entities with character entity references; better
26042 checking of valid character ranges; don't report an error for URI
26043 fragments in notation declarations; check unbound namespace
26044 prefixes for elements and attributes, including XML 1.1 unbinding
26045 syntax; namespace-aware checking of attribute duplicates.
26047 2006-01-08 Robert Schuster <robertschuster@fsfe.org>
26049 * java/beans/Statement.java: Doc fixes.
26050 (doExecute): Workaround for Class.forName call.
26051 (toString): Made output look more like on the JDK.
26052 * java/beans/Expression.java: Doc fixes.
26053 (toString): Made output look more like on the JDK.
26054 * java/beans/PersistenceDelegate.java,
26055 java/beans/DefaultPersistenceDelegate.java,
26056 java/beans/Encoder.java,
26057 java/beans/XMLEncoder.java: New file.
26058 * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
26059 gnu/java/beans/encoder/ClassPersistenceDelegate.java,
26060 gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
26061 gnu/java/beans/encoder/Context.java,
26062 gnu/java/beans/encoder/GenericScannerState.java,
26063 gnu/java/beans/encoder/IgnoringScannerState.java,
26064 gnu/java/beans/encoder/MapPersistenceDelegate.java,
26065 gnu/java/beans/encoder/ObjectId.java,
26066 gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
26067 gnu/java/beans/encoder/ReportingScannerState.java,
26068 gnu/java/beans/encoder/Root.java,
26069 gnu/java/beans/encoder/ScanEngine.java,
26070 gnu/java/beans/encoder/ScannerState.java,
26071 gnu/java/beans/encoder/StAXWriter.java,
26072 gnu/java/beans/encoder/Writer.java: New file.
26073 * gnu/java/beans/encoder/elements/Array_Get.java,
26074 gnu/java/beans/encoder/elements/Element.java,
26075 gnu/java/beans/encoder/elements/List_Set.java,
26076 gnu/java/beans/encoder/elements/Array_Set.java,
26077 gnu/java/beans/encoder/elements/NullObject.java,
26078 gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
26079 gnu/java/beans/encoder/elements/StaticFieldAccess.java,
26080 gnu/java/beans/encoder/elements/StringReference.java,
26081 gnu/java/beans/encoder/elements/ClassResolution.java,
26082 gnu/java/beans/encoder/elements/ArrayInstantiation.java,
26083 gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
26084 gnu/java/beans/encoder/elements/ObjectReference.java,
26085 gnu/java/beans/encoder/elements/ObjectInstantiation.java,
26086 gnu/java/beans/encoder/elements/List_Get.java,
26087 gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
26089 2006-01-08 Chris Burdess <dog@gnu.org>
26091 * java/lang/Character.java (toChars,toCodePoint): Correct these
26092 methods to use algorithms from Unicode specification.
26094 2006-01-08 Mark Wielaard <mark@klomp.org>
26096 * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
26098 2006-01-07 Paul Jenner <psj@harker.dyndns.org>
26101 * examples/Makefile.am: Corrected DESTDIR install paths.
26103 2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26105 * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
26106 ASCII character (line 46).
26108 2006-01-07 Roman Kennke <kennke@aicas.com>
26110 * javax/swing/text/TableView.java: New file.
26112 2006-01-07 Chris Burdess <dog@gnu.org>
26114 * gnu/xml/stream/BufferedReader.java: Removed commented out code.
26115 * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
26116 * gnu/xml/stream/XMLParser.java: Make additional StAX properties
26117 available; correct handling of unparsed entity references;
26118 absolutize all base URIs; remove commented out code.
26120 2006-01-07 Chris Burdess <dog@gnu.org>
26122 * gnu/xml/stream/SAXParser.java,
26123 gnu/xml/stream/XMLParser.java: Add SAX property to return base
26124 URI of the current event.
26126 2006-01-07 Chris Burdess <dog@gnu.org>
26128 * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
26131 2006-01-07 Chris Burdess <dog@gnu.org>
26133 * gnu/xml/stream/SAXParser.java,
26134 gnu/xml/stream/XIncludeFilter.java,
26135 gnu/xml/stream/XMLParser.java: Updated documentation.
26137 2006-01-07 Chris Burdess <dog@gnu.org>
26139 * AUTHORS: add self.
26141 2006-01-06 Casey Marshall <csm@gnu.org>
26143 * AUTHORS: add myself.
26145 2006-01-06 Casey Marshall <csm@gnu.org>
26148 * javax/crypto/CipherInputStream.java (logger): new constant.
26149 (cipher): make final.
26150 (outLength, inBuffer, inLength): removed.
26151 (isStream): make final.
26152 (VIRGIN, LIVING, DYING, DEAD, state): removed.
26154 (<init>): call `super,' not `this;' remove `inBuffer' and
26155 `outBuffer' initialization; init `eof;' add debug logging.
26156 (<init>): call `this' with a new null cipher.
26157 (available): fix javadoc to reflect the real semantics; if we
26158 don't have a buffer, call `nextBlock.'
26159 (close): synchronize.
26160 (read): synchronize; fix testing for buffered data.
26161 (read): synchronize; add `skip' semantics if first argument is
26162 `null;' decrypt stream cipher data only if there is any; fix tests
26164 (skip): stop using `available' to see how many data are buffered.
26165 (nextBlock): simplify to use cipher-allocated output buffers
26166 instead of internally allocated ones.
26168 2006-01-06 Tom Tromey <tromey@redhat.com>
26170 * java/lang/String.java (codePointCount): Fixed javadoc.
26172 2006-01-06 Tom Tromey <tromey@redhat.com>
26174 * java/lang/String.java (contains): Added @since.
26176 2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
26179 * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
26180 * gnu/regexp/RETokenRepeated.java(match): Break the loop
26181 when an empty string matched an empty token.
26183 2006-01-06 Jeroen Frijters <jeroen@frijters.net>
26186 * gnu/java/util/WeakIdentityHashMap.java: New file.
26187 * java/lang/InheritableThreadLocal.java
26188 (newChildThread): Modified to remove key indirection.
26189 * java/lang/Thread.java
26190 (locals): Changed type to WeakIdentityHashMap.
26191 (getThreadLocals): Instantiate WeakIdentityHashMap instead of
26193 * java/lang/ThreadLocal.java
26194 (key, Key): Removed.
26195 (get, set): Changed to use "this" instead of "key".
26197 2006-01-06 Dalibor Topic <robilad@kaffe.org>
26199 * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
26201 * native/fdlibm/java-assert.h: Removed file.
26203 * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
26204 Replaced use of JvAssert by assert.
26206 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
26208 * javax/swing/text/DefaultCaret.java:
26209 (setDot): Fixed paramater to Math.max to be this.dot and not the
26212 2006-01-05 Roman Kennke <kennke@aicas.com>
26214 * javax/swing/plaf/basic/BasicListUI.java
26215 (getCellHeight): New helper method.
26216 (getCellBounds): Use new helper method for determining the cell
26218 (paint): Don't call list.indexToLocation() but instead call
26219 directly into the same UI method.
26220 (locationToIndex): Fixed calculation of # visible rows and handling
26222 (indexToLocation): Fixed calculation of # visible rows and handling
26225 2006-01-05 Roman Kennke <kennke@aicas.com>
26227 * javax/swing/plaf/metal/MetalFileChooserUI.java
26228 (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
26229 in the file chooser.
26231 2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
26233 * javax/swing/JTextPane.java:
26234 (replaceSelection): If the document is an AbstractDocument, use replace
26235 rather than remove and insert.
26236 * javax/swing/event/EventListenerList.java:
26237 (getListeners): Reversed the order of the listeners to match the
26238 reference implementation.
26239 * javax/swing/text/AbstractDocument.java:
26240 (insertString): Add the UndoableEdit from the content.insertString call
26241 to the DocumentEvent.
26242 (DefaultDocumentEvent.toString): Implemented.
26243 * javax/swing/text/DefaultCaret.java:
26244 (setDot): Make sure dot is > 0 and less than the length of the
26246 * javax/swing/text/DefaultStyledDocument.java:
26247 (ElementBuffer.insertUpdate): Set the modified tag of the document
26248 event when we get start and end tags. This ensures that we create the
26249 proper BranchElements in endEdit().
26250 (ElementBuffer.insertUpdate): Added FIXME to handle
26251 JoinFractureDirection case.
26252 (insertUpdate): Added code to check if we're inserting immediately
26253 after a newline and to handle this case (create start and end tags).
26254 Only change the direction of the first and last tags if they are of
26256 (checkForInsertAfterNewline): New helper method.
26257 (handleInsertAfterNewline): Likewise.
26258 * javax/swing/text/View.java:
26259 (updateLayout): Avoid NPE by checking if shape is null. Repaint
26262 2006-01-05 Mark Wielaard <mark@klomp.org>
26264 * newsitems.txt: Add fosdem meeting.
26265 * events/events.wml: Likewise.
26266 * events/fosdem06.wml: New file.
26268 2006-01-05 Lillian Angel <langel@redhat.com>
26270 * javax/swing/text/GapContent.java
26271 (createPosition): No positions should be created inside the
26272 gap. Fixed check to ensure this does not happen.
26274 2006-01-05 Roman Kennke <kennke@aicas.com>
26276 * javax/swing/RepaintManager.java
26277 (validateInvalidComponents): Search for the validate root
26278 and start validating there.
26280 2006-01-05 Roman Kennke <kennke@aicas.com>
26282 * javax/swing/plaf/basic/BasicListUI.java
26283 (ComponentHandler): Removed unneeded class.
26284 (ListDataHandler.contentsChanged): Revalidate instead of calling
26286 (ListDataHandler.intervalAdded): Revalidate instead of calling
26288 (ListDataHandler.intervalRemoved): Revalidate instead of calling
26290 (PropertyChangeHandler.propertyChange): Or flags together instead
26291 of adding them. Don't call damageLayout().
26292 (componentListener): Removed unnecessary field.
26293 (damageLayout): Removed unnecessary method.
26294 (installListeners): Don't install unnecessary listeners.
26295 (uninstallListeners): Dito.
26296 (getPreferredSize): Don't ask for the real list height and
26297 calculate with the previously calculated list height.
26298 (locationToIndex): Renamed list parameter to l so that it doesn't
26299 shadow the field with the same name.
26300 (indexToLocation): Renamed list parameter to l so that it doesn't
26301 shadow the field with the same name.
26303 2006-01-04 Tom Tromey <tromey@redhat.com>
26305 * include/.cvsignore: Ignore config-int.h.
26307 2006-01-04 Roman Kennke <kennke@aicas.com>
26309 * javax/swing/plaf/basic/BasicListUI.java
26310 (getPreferredSize): Rewritten to match the specs.
26312 2006-01-04 Roman Kennke <kennke@aicas.com>
26314 * javax/swing/JFileChooser.java
26315 (showOpenDialog): Set fixed width on the dialog.
26316 (showSaveDialog): Set fixed width on the dialog.
26317 (showDialog): Set fixed width on the dialog.
26319 2006-01-04 Roman Kennke <kennke@aicas.com>
26321 * javax/swing/plaf/basic/BasicListUI.java
26322 (locationToIndex): Added FIXME about getVisibleRowCount() usage.
26323 Adjusted iteration to not use visibleRowCount and instead iterate
26324 over the real number of elements in cellHeights.
26325 (indexToLocation): Added FIXME about getVisibleRowCount() usage.
26326 Adjusted iteration to not use visibleRowCount and instead iterate
26327 over the real number of elements in cellHeights.
26329 2006-01-04 Roman Kennke <kennke@aicas.com>
26331 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
26332 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
26333 Added __attribute__((__unused__)) macros to avoid gcc warnings.
26335 2006-01-04 Roman Kennke <kennke@aicas.com>
26337 * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
26338 * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
26340 * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
26341 * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
26343 * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
26345 * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
26346 * native/jni/java-net/Makefile.am: Adjusted for new source files.
26347 * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
26348 * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
26349 * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
26350 * include/gnu_java_net_PlainSocketImpl.h: Removed.
26351 * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
26352 * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
26354 2006-01-04 Lillian Angel <langel@redhat.com>
26356 * javax/swing/plaf/metal/MetalFileChooserUI.java
26357 (propertyChange): Fixed to change the combo box label
26358 appropriately. Also, fixed to set the textfield's text
26360 (editFile): Fixed size of editing field.
26361 (installComponents): Correctly aligned all panels.
26362 (installStrings): Fixed to set the label's text
26363 appropriately depending on the dialog type.
26365 2006-01-04 Lillian Angel <langel@redhat.com>
26369 * javax/swing/JTree.java
26370 (JTree): Because some L&F defaults have been updated,
26371 the selectionMode for the tree needed to be set to SINGLE.
26372 * javax/swing/plaf/basic/BasicFileChooserUI.java:
26373 Initialized accessoryPanel.
26374 * javax/swing/plaf/metal/MetalFileChooserUI.java
26375 (installComponents): Added accessoryPanel to the filechooser.
26377 2006-01-04 Dalibor Topic <robilad@kaffe.org>
26379 * configure.ac: Added AX_CREATE_STDINT_H
26381 * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
26383 * m4/ax_create_stdint_h.m4: New file.
26385 * native/fdlibm/mprec.h: Include config-int.h. Removed C99
26386 typedefs. Removed stdint.h and inttypes.h includes.
26388 2006-01-03 Mark Wielaard <mark@klomp.org>
26390 * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
26391 register keyboard action when accelerator is not null.
26392 * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
26393 re-register accelerator if not null.
26394 (installKeyboardActions): Only put accelerator in map when not null.
26396 2006-01-04 Lillian Angel <langel@redhat.com>
26398 * javax/swing/plaf/basic/BasicLookAndFeel.java
26399 (initComponentDefaults): Removed unneeded default.
26400 * javax/swing/plaf/metal/MetalLookAndFeel.java
26401 (initComponentDefaults): Added and fixed several defaults.
26403 2006-01-04 Roman Kennke <kennke@aicas.com>
26405 * javax/swing/plaf/basic/BasicHTML.java: New class.
26407 2006-01-03 Tom Tromey <tromey@redhat.com>
26409 * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
26410 * java/io/InputStreamReader.java (InputStreamReader): Added @since.
26412 2006-01-03 Mark Wielaard <mark@klomp.org>
26414 * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
26416 2006-01-03 Mark Wielaard <mark@klomp.org>
26418 * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
26419 Always call createDefaultTheme().
26420 (createDefaultTheme): Check whether theme is still null.
26422 2006-01-03 Mark Wielaard <mark@klomp.org>
26424 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
26425 Color.WHITE if null.
26427 2006-01-03 Lillian Angel <langel@redhat.com>
26429 * javax/swing/plaf/metal/MetalLookAndFeel.java
26430 (getDescription): Fixed to return the correct string.
26432 (getName): Likewise.
26433 (getDefaults): Added check to avoid NPE.
26434 (getAcceleratorForeground): Likewise.
26435 (getAcceleratorSelectedForeground): Likewise.
26436 (getBlack): Likewise.
26437 (getControl): Likewise.
26438 (getControlDarkShadow): Likewise.
26439 (getControlDisabled): Likewise.
26440 (getControlHighlight): Likewise.
26441 (getControlInfo): Likewise.
26442 (getControlShadow): Likewise.
26443 (getControlTextColor): Likewise.
26444 (getControlTextFont): Likewise.
26445 (getDesktopColor): Likewise.
26446 (getFocusColor): Likewise.
26447 (getHighlightedTextColor): Likewise.
26448 (getInactiveControlTextColor): Likewise.
26449 (getInactiveSystemTextColor): Likewise.
26450 (getMenuBackground): Likewise.
26451 (getMenuDisabledForeground): Likewise.
26452 (getMenuForeground): Likewise.
26453 (getMenuSelectedBackground): Likewise.
26454 (getMenuSelectedForeground): Likewise.
26455 (getMenuTextFont): Likewise.
26456 (getPrimaryControl): Likewise.
26457 (getPrimaryControlDarkShadow): Likewise.
26458 (getPrimaryControlHighlight): Likewise.
26459 (getPrimaryControlInfo): Likewise.
26460 (getPrimaryControlShadow): Likewise.
26461 (getSeparatorBackground): Likewise.
26462 (getSeparatorForeground): Likewise.
26463 (getSubTextFont): Likewise.
26464 (getSystemTextColor): Likewise.
26465 (getSystemTextFont): Likewise.
26466 (getTextHighlightColor): Likewise.
26467 (getUserTextColor): Likewise.
26468 (getUserTextFont): Likewise.
26469 (getWhite): Likewise.
26470 (getWindowBackground): Likewise.
26471 (getWindowTitleBackground): Likewise.
26472 (getWindowTitleFont): Likewise.
26473 (getWindowTitleForeground): Likewise.
26474 (getWindowTitleInactiveBackground): Likewise.
26475 (getWindowTitleInactiveForeground): Likewise.
26477 2006-01-03 Mark Wielaard <mark@klomp.org>
26479 * javax/swing/JTextArea.java
26480 (JTextArea(Document,text,int,int)): Only call setText() when text is
26483 2006-01-03 Lillian Angel <langel@redhat.com>
26485 * javax/swing/plaf/basic/BasicFileChooserUI.java
26486 (installStrings): Fixed installation of defaults that
26487 were changed in BasicLookAndFeel.
26488 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26489 (installDefaults): Fixed installation of defaults that
26490 were changed in BasicLookAndFeel.
26492 2006-01-03 Lillian Angel <langel@redhat.com>
26494 * javax/swing/plaf/basic/BasicLookAndFeel.java
26495 (initComponentDefaults): Fixed several defaults that differed
26498 2006-01-03 Lillian Angel <langel@redhat.com>
26500 * javax/swing/tree/DefaultTreeSelectionModel.java
26501 (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
26503 2006-01-03 Lillian Angel <langel@redhat.com>
26505 * javax/swing/AbstractAction.java
26506 (AbstractAction): Fixed to pass in null. Should not be
26507 an empty string. Removed TODO comment.
26508 (AbstractAction): Removed TODO comment.
26509 * javax/swing/JList.java
26510 (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
26511 * javax/swing/JMenuItem.java
26512 (JMenuItem): Set all defaults if the action passed in is not null.
26513 * javax/swing/JProgressBar.java
26514 (JProgressBar): Added check to prevent NPE.
26516 2006-01-03 Lillian Angel <langel@redhat.com>
26518 * javax/swing/plaf/basic/BasicListUI.java
26519 (getPreferredSize): The JDK adds some extra space to
26520 the list, so we should as well.
26521 * javax/swing/plaf/metal/MetalFileChooserUI.java
26522 (getPreferredSize): Should only take the fileListPanel's
26523 width into account when getting the size. Also, the buttonPanel's
26524 size should not be checked, since it is in the bottomPanel already.
26525 (getMinimumSize): Likewise.
26527 2006-01-03 Lillian Angel <langel@redhat.com>
26529 * javax/swing/JList.java
26530 (init): visibleRowCount should be 7, like the JDK.
26531 * javax/swing/plaf/metal/MetalFileChooserUI.java
26532 (installComponents): No need to add the fileFilterCombo
26533 to a panel. It can be added to the row directly.
26535 2006-01-03 Lillian Angel <langel@redhat.com>
26537 PR classpath/25480 PR classpath/25478
26538 * javax/swing/plaf/basic/BasicScrollPaneUI.java
26539 (updateViewport): Made changes suggested by
26541 * javax/swing/plaf/metal/MetalFileChooserUI.java:
26542 Removed unneeded import.
26543 (createList): Removed comment, JList wrapping
26545 (getPreferredSize): Made changes suggested by
26546 Chris Lansdown. Uses fileListPanel, instead
26548 (getMinimumSize): Uses fileListPanel, instead
26550 * javax/swing/plaf/metal/MetalRadioButtonUI.java
26551 (paintFocus): Fixed height.
26553 2006-01-03 Roman Kennke <kennke@aicas.com>
26555 * javax/swing/plaf/basic/BasicListUI.java
26556 (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
26558 2006-01-03 Roman Kennke <kennke@aicas.com>
26560 * javax/swing/plaf/basic/BasicListUI.java
26561 (locationToIndex): Special case for when variable cell heights
26562 are possible. (cellHeights is used instead of cellHeight).
26563 (indexToLocation): Special case for when variable cell heights
26564 are possible. (cellHeights is used instead of cellHeight).
26566 2006-01-03 Roman Kennke <kennke@aicas.com>
26568 * javax/swing/text/DefaultStyledDocument.java
26569 (ElementBuffer.remove): New method.
26570 (ElementBuffer.removeUpdate): New method.
26571 (removeUpdate): New method.
26573 2006-01-03 Roman Kennke <kennke@aicas.com>
26576 (dist-hook): Preserve attributes of Java sources when copying to
26579 2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
26581 * AUTHORS: Added self.
26582 * java/security/Security.java (getProvider): Ensures provider's name is
26583 not null, not an empty string, and is trimmed before usage.
26585 2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
26587 * gnu/CORBA/Poa/AOM.java (add):
26588 Changed parameter Object into gnuServantObject.
26589 (Obj.object): Changed type to gnuServantObject.
26590 (findObject): Rewritten.
26592 2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
26594 * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
26595 buffering. Ability has gone in Qt-4.1.x.
26597 * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
26598 to have the right include flags.
26600 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
26602 * java/security/MessageDigest.java (getInstance(String,String)):
26603 Use trimmed copy of provider name.
26604 * gnu/java/security/Engine.java
26605 (getInstance(String,String,Provider,Object[])): Use trimmed copy of
26606 service and algorithm names.
26608 2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
26610 * java/net/InetAddress.java (getAllByName): use LOCALHOST if
26611 localhost is null or is an empty string. Trim hostname before