OSDN Git Service

2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2
3         * Makefile.am: Replace jar, rmic and rmiregistry references with
4         gjar, grmic and grmiregistry.
5         * configure.in: Likewise.
6         * Makefile.in: Regenerate.
7         * configure: Likewise.
8         * gcj/Makefile.in: Likewise.
9         * include/Makefile.in: Likewise.
10         * testsuite/Makefile.in: Likewise.
11
12 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
13
14         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
15         for privileged getProperty calls.
16         * java/io/ObjectOutputStream.java (getField): No longer static. Use
17         SetAccessibleAction instead of anonymous class for doPrivileged call.
18         (getMethod): Likewise.
19         (setAccessible): New field. PrivilegedAction object to use when
20         calling setAccessible.
21         * java/io/ObjectStreamClass.java (calculateOffsets): Use
22         SetAccessibleAction instead of anonymous class for diPrivileged call.
23         (setFields): Likewise.
24         (getClassUID): Likewise.
25         (findMethod): Likewise.
26         * gnu/java/security/action/GetPropertyAction.java: New class.
27         * gnu/java/security/action/SetAccessibleAction.java: New class. 
28
29 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
30
31         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
32         for final fields.
33         * testsuite/libjava.lang/Serialization.java: New test.
34         * testsuite/libjava.lang/Serialization.out: New.
35
36 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
37
38         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
39         missed in last commit.
40
41 2004-07-23  Mark Wielaard  <mark@klomp.org>
42
43         * java/lang/System.java (static): Set http.agent system property when
44         not yet set.
45         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
46         from system property inside AccessController.doPrivileged() call.
47         (proxyPort): Made package private.
48         (proxyInUse): Likewise.
49         (proxyHost): Likewise.
50         (userAgent): Likewise.
51
52 2004-07-23  Mark Wielaard  <mark@klomp.org>
53
54         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
55         implementation.
56
57 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
58
59         * Makefile.am (ordinary_java_source_files): Add
60         DefaultContentHandlerFactory.java.
61         * Makefile.in: Rebuilt.
62         * java/net/URLConnection.java (defaultFactory): New field.
63         (getContent): 
64         (getContentHandler): Renamed from 'setContentHandler'. Try 
65         defaultFactory after user-set factory, if any. Search for content 
66         handler implementations in gnu.java.net.content, not gnu.gcj.content.
67         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
68         Implemented.
69         (getLastModified): Implemented.
70         (getPermission): Create file permission here, instead of in
71         constructor.
72         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
73         Implemented.
74         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
75         Implemented.
76         (getLastModified): Implemented.
77         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
78         Default implementation.
79         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
80         Implement using GdkPixbufDecoder.
81         
82 2004-07-21  Michael Koch  <konqueror@gmx.de>
83
84         * javax/swing/JTextArea.java
85         (setLineWrap): Fire property change event after new value is set.
86         (setTabSize): Likewise.
87
88 2004-07-21  Michael Koch  <konqueror@gmx.de>
89
90         * javax/swing/JTable.java
91         (autoCreateColumnsFromModel): New field.
92         (autoResizeMode): Likewise.
93         (cellEditor): Likewise.
94         (cellSelectionEnabled): Likewise.
95         (columnModel): Likewise.
96         (dataModel): Likewise.
97         (defaultEditorsByColumnClass): Likewise.
98         (defaultRenderersByColumnClass): Likewise.
99         (editingColumn): Likewise.
100         (editingRow): Likewise.
101         (gridColor): Likewise.
102         (preferredViewportSize): Likewise.
103         (rowHeight): Likewise.
104         (rowMargin): Likewise.
105         (rowSelectionAllowed): Likewise.
106         (selectionBackground): Likewise.
107         (selectionForeground): Likewise.
108         (selectionModel): Likewise.
109         (showHorizontalLines): Likewise.
110         (showVerticalLines): Likewise.
111         (tableHeader): Likewise.
112         (JTable): Implemented.
113         (getColumnModel): Likewise.
114         (getSelectedRow): Likewise.
115         (getSelectionModel): Likewise.
116         (setModel): Likewise.
117         (setSelectionModel): Likewise.
118         (createScrollPaneForTable): New method.
119         (createDefaultDataModel): Likewise.
120         (createDefaultListSelectionModel): Likewise.
121         (getModel): Likewise.
122         (getTableHeader): Likewise.
123         (setTableHeader): Likewise.
124         (getColumnSelectionAllowed): Likewise.
125         (setColumnSelectionAllowed): Likewise.
126         (getRowSelectionAllowed): Likewise.
127         (setRowSelectionAllowed): Likewise.
128         (getAutoResizeMode): Likewise.
129         (setAutoResizeMode): Likewise.
130         (getColumnCount): Likewise.
131         (getRowCount): Likewise.
132         (getCellRenderer): Likewise.
133         * javax/swing/JTree.java
134         (cellRenderer): New field.
135         (editable): Likewise.
136         (rootVisible): Likewise.
137         (showsRootHandles): Likewise.
138         (getModel): New method.
139         (setModel): Likewise.
140         (isEditable): Likewise.
141         (setEditable): Likewise.
142         (isRootVisbile): Likewise.
143         (setRootVisible): Likewise.
144         (getShowsRootHandles): Likewise.
145         (setShowRootHandles): Likewise.
146         (getCellRenderer): Likewise.
147         (setCellRenderer): Likewise.
148
149 2004-07-21  Michael Koch  <konqueror@gmx.de>
150
151         * javax/swing/JFormattedTextField.java
152         (setDocument): Implemented.
153         * javax/swing/JRootPane.java:
154         Fixed javadocs.
155         * javax/swing/JTable.java
156         (getDefaultRenderer): New method.
157         * javax/swing/JTextField.java
158         (setFont): Likewise.
159         (getPreferredSize): Likewise.
160         * javax/swing/JToggleButton.java
161         (getAccessibleContext): Fix javadoc.
162         * javax/swing/JTree.java:
163         Add some javadocs.
164         * javax/swing/JViewport.java:
165         Likewise.
166
167 2004-07-21  David Jee  <djee@redhat.com>
168
169         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
170         Collect all native method declaration at the top.
171         (create): Set the filename filter if necessary.
172         (setDirectory): Call nativeSetDirectory().
173         (setFilenameFilter): Implement.
174         (filenameFilterCallback): New method.
175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
176         (create): Configure dialog to show hidden files.
177         (filenameFilterCallback): New function. 
178         (nativeSetFilenameFilter): New function.
179         (nativeSetDirectory): New function.
180
181 2004-07-21  Kim Ho  <kho@redhat.com>
182
183         * javax/swing/plaf/basic/BasicSliderUI.java:
184         Ran Jalopy.
185         (paintTrack): Fill the track before painting
186         the borders.
187
188 2004-07-21  Graydon Hoare  <graydon@redhat.com>
189
190         patch from Roman Kennke <roman@ontographics.com>
191         * javax/swing/Spring.java: New file.
192         * javax/swing/SpringLayout.java: New file.
193         * Makefile.am: Add new files.
194         * Makefile.in: Regenerate.
195
196 2004-07-21  Graydon Hoare  <graydon@redhat.com>
197
198         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
199         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
200         * javax/swing/ScrollPaneLayout.java: Likewise.
201
202 2004-07-21  Kim Ho  <kho@redhat.com>
203
204         * javax/swing/DefaultDesktopManager.java:
205         (findMinimum): Removed.
206         (resizeFrame): Trust the UI to pass valid 
207         bounds.
208         * javax/swing/JOptionPane.java:
209         Implemented showInternalXXXDialog methods.
210         (startModal): New method.
211         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
212         (BorderListener::mouseDragged): Verify that the new 
213         bounds are valid before passing them to the DesktopManager.
214         (preferredLayoutSize): Delegate
215         to getSize.
216         (minimumLayoutSize): Ditto.
217         (getSize): New method.
218         (GlassPaneDispatcher): Reimplemented by copying 
219         a stripped down LightweightDispatcher from Container.
220         (getMinimumSize): Call minimumLayoutSize.
221         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
222         Ran Jalopy.
223         (mousePressed): Add ability to properly close 
224         JInternalFrames.
225         * javax/swing/plaf/basic/BasicToolBarUI.java:
226         (DragWindow): Set owner for DragWindow.
227
228 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
229
230         * java/awt/image/ShortLookupTable.java: New file.
231         * java/awt/image/ByteLookupTable.java: New file.
232         * Makefile.am: Added new files.
233         * Makefile.in: Regenerated.
234
235 2004-07-21  David Jee  <djee@redhat.com>
236
237         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
238         (create(GtkContainerPeer)): New native method.
239         (create()): Call native create(), passing in the parent frame
240         as the paramter. Natively set the current file and directory.
241         (setFile): Construct an absolute filename before passing it to
242         the native peer.
243         (nativeGetDirectory): New method.
244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
245         (window_closed): Removed.
246         (ok_clicked): Likewise.
247         (cancel_clicked): Likewise.
248         (handle_response): New method.
249         (create): Use GtkFileChooserDialog.
250         (connectSignals): Connect to handle_response.
251         (nativeGetDirectory): New method.
252         (nativeSetFile): Use GtkFileChooserDialog.
253
254 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
255
256         * java/awt/image/LookupTable.java: New file.
257         * Makefile.am: Added new file.
258         * Makefile.in: Regenerated.
259
260 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
261
262         * java/awt/image/Kernel.java: New file.
263         * Makefile.am: Added new file.
264         * Makefile.in: Regenerated.
265
266 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
267
268         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
269         * javax/swing/JMenu.java: Likewise.
270         * javax/swing/JMenuBar.java: Likewise.
271         (MARGIN_CHANGED_PROPERTY): New property.
272         (setMargin): Implemented.
273         * javax/swing/JMenuItem.java: Fixed javadocs.
274         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
275         (LABEL_CHANGED_PROPERTY): New property.
276         (add): changed to use createActionComponent.
277         (createActionComponent): Implemented.   
278         (setLabel): Fire PropertyChangeEvent if label property
279         changes.
280         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
281         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
282         (ContainerHandler): Repaint if margin property has changed.
283         * javax/swing/plaf/basic/BasicMenuItemUI.java:
284         (installUI): Call installComponents().
285         (uninstallUI): Call uinstallComponents().
286         * javax/swing/plaf/basic/BasicMenuUI.java:
287         Fixed javadocs.
288         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
289         Likewise.
290
291 2004-07-21  Kim Ho  <kho@redhat.com>
292
293         * javax/swing/plaf/basic/BasicToolBarUI.java:
294         (DragWindow): Use the right constructor.
295
296 2004-07-21  Kim Ho  <kho@redhat.com>
297
298         * javax/swing/JToolBar.java:
299         (layoutContainer): Use getComponents.
300         * javax/swing/plaf/basic/BasicToolBarUI.java:
301         (DragWindow): Don't use SwingUtilities' 
302         getOwnerFrame
303         (ToolBarDialog): ditto.
304
305 2004-07-21  Kim Ho  <kho@redhat.com>
306
307         * javax/swing/JRootPane.java:
308         Ran jalopy.
309         (layoutContainer): Set the glasspane's size to 
310         be the same as the content pane.
311         (createGlassPane): Set opaque property to false.
312
313 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
314
315         * java/awt/Component.java (requestFocus()): Don't handle Panels
316         specially.
317         (requestFocus(boolean)): Likewise.
318         (requestFocusInWindow(boolean)): Likewise.
319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
320         Set GTK_CAN_FOCUS flag.
321
322 2004-07-21  Kim Ho  <kho@redhat.com>
323
324         * Makefile.am: Added new file.
325         * Makefile.in: Regenerated.
326         * gcj/Makefile.in: Regenerated.
327         * include/Makefile.in: Regenerated.
328         * javax/swing/AbstractButton.java:
329         Add rollOverEnabled property.
330         (setRolloverEnabled): Use new property.
331         (isRolloverEnabled): Use new property.
332         * javax/swing/JTabbedPane.java:
333         (setComponent): Remove useless JTabbedPane.this.
334         * javax/swing/JToolBar.java: Finish implementation.
335         * javax/swing/plaf/basic/BasicArrowButton.java:
336         (paint): Moved border painting to a border.
337         * javax/swing/plaf/basic/BasicLookAndFeel.java:
338         Change JToolBar look and feel defaults.
339         * javax/swing/plaf/basic/BasicOptionPaneUI.java
340         (actionPerformed): Return Integer index instead of name.
341         (addButtonComponents): Check to see if component is
342         JButton last.
343         (createMessageArea): Don't use components that are not
344         completed yet.
345         (getIconForType): Use temporary icons.
346         * javax/swing/plaf/basic/BasicSliderUI.java:
347         (mousePressed): Do not return if it's on thumb.
348         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
349         (paintMinorTickForVertSlider): ditto.
350         (paintMajorTickForHorizSlider): ditto.
351         (paintMajorTickForVertSlider): ditto.
352         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
353         Add a border around the SplitPaneDivider.
354         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
355         Remove comments.
356         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
357         New file. Implemented.
358         * javax/swing/plaf/basic/BasicToolBarUI.java:
359         Implemented.
360         * testsuite/Makefile.in: Regenerated.
361
362 2004-07-21  Graydon Hoare  <graydon@redhat.com>
363
364         * javax/swing/Timer.java (run): Queue events each time cycle.
365
366 2004-07-21  David Jee  <djee@redhat.com>
367
368         * gnu/java/awt/peer/gtk/GtkImagePainter.java
369         (imageComplete): Call image.imageComplete().
370         * java/awt/image/MemoryImageSource.java:
371         Reimplement consumers as a Vector instead of a Hashtable.  This is
372         because enumeration on a Hashtable is not thread-safe.
373         (addConsumer): Adapt to Vector consumers.
374         (isConsumer): Adapt to Vector consumers.
375         (removeConsumer): Adapt to Vector consumers.
376         (startProduction): Adapt to Vector consumers. Call imageComplete()
377         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
378         (newPixels): Adapt to Vector consumers.
379         (sendPicture): Set the color model of the image consumer.
380         (newPixels(IIII)): Adapt to Vector consumers.
381         (newPixels(IIIIB)): Adapt to Vector consumers.
382
383 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
384
385         * java/awt/Component.java (deliverEvent): Implement.
386         (postEvent): Implement.
387         (handleEvent): Implement.
388         (translateEvent): New method.
389         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
390         * java/awt/Container.java (deliverEvent): Implement.
391         * java/awt/Event.java (paramString): Fix formatting.
392         * java/awt/Font.java (toString): Likewise.
393         * java/awt/Window.java (postEvent): Implement.
394
395 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
396
397         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
398         Set window's focus owner upon receiving a FOCUS_LOST event.
399         * java/awt/Window.java (Window()): Refocus the previously
400         focused component within the window when the window regains the
401         top-level focus.
402         (setFocusOwner): New method.
403         * java/awt/Component.java (requestFocus): Add FIXME.
404
405         * libgcj.pc.in: Remove library flags.
406
407 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
408
409         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
410         MOUSE_PRESSED event.
411         * java/awt/Component.java (requestFocus()): Handle Panel
412         specially.  Post FOCUS_LOST event on opposite component.
413         (requestFocus(boolean)): Likewise.
414         (requestFocusInWindow(boolean)): Likewise.
415         (paramString): Reorder dimension fields.
416         * java/awt/Container.java (paramString): Fix string format.
417         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
418         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
419         process key events if the focus owner is non-null.
420         (dispatchKeyEvent): Likewise.
421         * java/awt/Frame.java (paramString): Fix formatting.
422         (generateName): New method.
423         (getUniqueLong): Likewise.
424         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
425         the temporary focus owner is null.  If so, return the permanent
426         focus owner.
427         * java/awt/Panel.java (generateName): New method.
428         (getUniqueLong): Likewise.
429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
430         signal handling to make callbacks more specific.
431
432 2004-07-21  Michael Koch  <konqueror@gmx.de>
433
434         * javax/swing/text/Position.java
435         (Bias): Implemented.
436
437 2004-07-21  Michael Koch  <konqueror@gmx.de>
438
439         * javax/swing/LookAndFeel.java
440         (provideErrorFeedback): New method.
441
442 2004-07-21  Michael Koch  <konqueror@gmx.de>
443
444         * javax/swing/JTextArea.java
445         (tabSize): New field.
446         (getTabSize): New method.
447         (setTabSize): Likewise.
448
449 2004-07-21  Michael Koch  <konqueror@gmx.de>
450
451         * javax/swing/ActionMap.java:
452         Fixed javadocs all over.
453         (serialVersionUID): Made private.
454         (parent): Don't explicitely initialize with default value.
455         (get): SImplified.
456         (keys): Reimplemented.
457         (allKeys): Likewise.
458         (convertSet): Removed.
459         * javax/swing/ComponentInputMap.java:
460         Fixed javadocs all over.
461         (ComponentInputMap): Implemented.
462         (put): Likewise.
463         (clear): Likewise.
464         (remove): Likewise.
465         (SetParent): Likewise.
466         (getComponent): Likewise.
467         * javax/swing/InputMap.java:
468         Fixed javadocs all over.
469         (serialVersionUID): Made private.
470         (parent): Don't explicitely initialize with default value.
471         (get): SImplified.
472         (keys): Reimplemented.
473         (allKeys): Likewise.
474         (convertSet): Removed.
475
476 2004-07-21  Michael Koch  <konqueror@gmx.de>
477
478         * javax/swing/ActionMap.java,
479         javax/swing/ComponentInputMap.java,
480         javax/swing/InputMap.java,
481         javax/swing/table/DefaultTableColumnModel.java,
482         javax/swing/table/TableColumn.java,
483         javax/swing/table/TableColumnModel.java,
484         javax/swing/table/TableModel.java,
485         javax/swing/text/AbstractDocument.java,
486         javax/swing/text/TextAction.java:
487         Reformated.
488
489 2004-07-21  Graydon Hoare  <graydon@redhat.com>
490
491         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
492         Make method non-static.
493         * javax/swing/AbstractButton.java:
494         Rename fields to match property names where possible.
495         (iconTextGap): New property.
496         * javax/swing/JCheckBox.java: Match AbstractButton changes.
497         (init) New method, call from after various constructors.
498         * javax/swing/JComponent.java (revalidate): 
499         Invalidate before queueing repair.
500         * javax/swing/JList.java (getPreferredScrollableViewportSize):
501         Reimplement in terms of visibleRowCount property.
502         * javax/swing/JMenuButton.java: Match AbstractButton changes.
503         * javax/swing/JScrollPane.java (createScrollListener): 
504         Remove tracing chatter.
505         * javax/swing/JToggleButton.java: Match AbstractButton changes.
506         * javax/swing/RepaintManager.java (addInvalidComponent): 
507         Don't invalidate.
508         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
509         calculations.
510         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
511         Mimic sun behavior on top left/right positioning.
512         * javax/swing/ViewportLayout.java (preferredLayoutSize):
513         Remove mistaken use of preferredScrollableViewportSize here.
514         (layoutContainer): Use view's preferred size as basis.
515         * javax/swing/plaf/basic/BasicButtonUI.java:
516         Set, get, and use textIconGap property.
517         (paint) Paint text returned from layout (with ellipsis).
518         * javax/swing/plaf/basic/BasicListUI.java:
519         Remove tracing chatter, correct various minor calculations.
520         (getCellBounds): Update layout state before calculating.
521         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
522         Use margin default similar to sun's.    
523         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
524         (createIncreaseIcon): Center icon, minimize margins.
525         (createDecreaseIcon): Likewise.
526         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
527         Implement.
528         (installUI): Call it.
529         (uninstallDefaults): Implement.
530         (uninstallUI): Call it.
531         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
532         Call existing Window constructor.
533         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
534         Set clip before painting.
535
536 2004-07-21  Olga Rodimina <rodimina@redhat.com>
537         
538         * javax/swing/JMenuItem.java:
539         (processMouseEvent): Reimplemented to deal with
540         mouse drag events.
541         (createMenuDragMouseEvent): New private helper method.
542         Creates MenuDragMouseEvent.
543         * javax/swing/MenuSelectionManager.java
544         (componentForPoint): Implemented.
545         (isComponentPartOfCurrentMenu): Made public.
546         (processMouseEvent): Reimplemented to deal with 
547         mouse drag events.
548         (setSelectedPath): Corrected small mistake that caused
549         path to be set incorrectly.
550         (getPath): If given component is JMenu then also add this
551         menu's popup menu to the selected path.
552         * javax/swing/plaf/basic/BasicMenuItemUI.java:
553         (getPath): Ditto.
554         (getPreferredSize): Call getPreferredMenuItemSize().
555         (getPreferredItemSize): Moved code from getPreferredSize to here.
556         (installListeners): Install MouseMotionListeners.
557         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
558         if mouse wasn't released in the bounds of this menu item.
559         (MenuDragMouseHandler): Implemented.
560         * javax/swing/plaf/basic/BasicMenuUI.java:
561         (installListeners): Install MouseMotionListener and 
562         MenuDrageMouseListener.
563         (MenuDragMouseHandler): Implemented.
564         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
565         (uninstallListeners): Implemented.
566         
567 2004-07-21  Michael Koch  <konqueror@gmx.de>
568
569         * javax/swing/JCheckBox.java: Reformated.
570         (JCheckBox): Fixed all constructors.
571         (isBorderPaintedFlat): New method.
572         (setBorderPaintedFlat): New method.
573         * javax/swing/JEditorPane.java
574         (createEditorKitForContentType): Made public.
575         (scrollToReference): Likewise.
576         * javax/swing/JTextArea.java
577         (setLineWrap): Fire property change.
578         * javax/swing/JToggleButton.java
579         (JToggleButton): New constructor.
580         (JToggleButton): Simplified.
581         * javax/swing/text/AttributeSet.java
582         (FontAttribute): Renamed from FontCharacterAttribute.
583         * javax/swing/text/JTextComponent.java
584         (KeyBinBinding): Added javadoc.
585         (JTextComponent): Likewise.
586         (getAccessibleContext): Fixed javadoc.
587         * javax/swing/text/View.java
588         (View): Added javadoc.
589         * javax/swing/text/TabableView.java: New file.
590         * Makefile.am: Added javax/swing/text/TabableView.java.
591         * Makefile.in: Regenerated.
592
593 2004-07-21  Graydon Hoare  <graydon@redhat.com>
594
595         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
596         * gnu/java/awt/peer/gtk/GtkToolkit.java 
597         (GtkErrorImage): New helper class.
598         (bufferedImageOrError): New helper method.
599         (createImage): Use it.
600
601 2004-07-21  David Jee  <djee@redhat.com>
602
603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
604         (setCaretPosition): Scroll the text view so the new caret position
605         is visible on screen.
606
607 2004-07-21  David Jee  <djee@redhat.com>
608
609         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
610         (setBounds): Do not validate awtComponent here.
611         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
612         (getPreferredSize): New method.
613         * java/awt/ScrollPane.java
614         (ScrollPane): Set default size to 100x100.
615         (addNotify): If child is not a Panel, wrap it with a new Panel.
616         (paramString): Implement.
617
618 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
619
620         * javax/swing/JMenu.java:
621         (setSelected): Display popup menu only if this menu 
622         is showing on the screen.
623         * javax/swing/JPopupMenu.java:
624         (processMouseEvent): Added comment.
625         (processKeyEvent): Likewise.
626         * javax/swing/MenuSelectionManager.java:
627         (clearSelectedPath): Only fireStateChanged() after
628         selected path was changed, not before.
629         (setSelectedPath): Likewise.
630         * javax/swing/plaf/basic/BasicMenuItemUI.java:
631         (paintMenuItem): Corrected position of menu item's
632         icon.
633         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
634         (installUI): Correct setDefaultLightWeightPopupEnabled call.
635         (popupMenuCanceled): Reimplemented.
636         (popupMenuWillBecomeVisible): Select first menu item by default 
637         when displaying free floating popup menus.
638         (TopWindowListener): Reimplemented.
639
640 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
641
642         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
643         Panel from being painted twice when it is first shown.
644
645 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
646
647         * java/awt/Window.java: Reverted changes from my 
648         previous patch for creating window without an owner.
649         * javax/swing/SwingUtilities.java: 
650         (SwingUtilities.OwnerFrame): made static.
651         (OwnerFrame.setVisible): New method. Overridden with
652         empty implementation.
653         (OwnerFrame.isShowing): New method. Ovverridden
654         to return always true.
655
656 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
657
658         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
659         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
660         (GtkComponentPeer): Remove temporary try/catch block.
661         (setVisible): Call show and hide.
662         (show): Make native.
663         (hide): Likewise.
664         (getArgs): Don't add "visible" argument.
665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
666         (property_notify_predicate): Return Bool instead of int.
667         (find_layout): New function.
668         (connectJObject): Call find_layout.
669         (connectSignals): Likewise.
670         (moveLayout): Likewise.
671         (gtkLayoutSetVisible): Likewise.
672
673 2004-07-21  Mark Wielaard  <mark@klomp.org>
674
675         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
676         on notifier object before calling notifyAll().
677
678 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
679
680         * java/awt/Window.java: Changed constructors to use new
681         method that is described below. Constructors call this
682         methods only if newly created window should have an owner.
683         (setWindowOwner): New method. Implementation for
684         this method is moved from this(owner,configuration).
685         * javax/swing/JWindow.java:
686         (JWindow): Reimplement to use SwingUtilities.ownerFrame
687         instead of owner.
688         * javax/swing/SwingUtilities.java:
689         (ownerFrame): Change type of this field to OwnerFrame.
690         (getOwnerFrame): Changed to return object of type OwnerFrame.
691         (SwingUtilities.OwnerFrame): New class. Represents owner
692         of a Window that is not provided with one.
693
694 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
695
696         *  javax/swing/AbstractButton.java: 
697         (configurePropertiesFromAction): Set action command
698         to button's text by default if action command is not 
699         explicitely specified.
700         * javax/swing/JMenu.java: Remove unnecessary listener
701         and methods relevant to it.
702         (setSelected): Reimplemented.
703         (menuSelectionChanged): Moved most part of implementation to
704         setSelected() and call it instead.
705         * javax/swing/JMenuItem.java: 
706         (init): Comment out statement that sets paint_border to false.
707         (configurePropertiesFromAction): Do not set accelerator
708         for JMenu.
709         (menuSelectionChanged): Change selected index in the selection
710         model of menu item's parent.
711         * javax/swing/JPopupMenu.java:
712         (remove): Set constraints.fill field to GridBagConstraints.BOTH
713         instead of GridBagConstraints.HORIZONTAL.
714         (insert): Likewise.
715         (createActionChangeListener): Implemented.
716         (setVisible): Correct location of HeavyWeightMenu and 
717         don't firePopupMenuCanceled().
718         (menuSelectionChanged): Implemented.
719         (ActionChangeListener): New Listener. Implemented.
720         * javax/swing/plaf/basic/BasicMenuBarUI.java:
721         (BasicMenuBarUI.ContainerHandler): Implemented.
722         * javax/swing/plaf/basic/BasicMenuItemUI.java:
723         (paintMenuItem): Uncommented out code that paints 
724         icon, now that icons are working properly.
725         (PropertyChangeListener): Implemented.
726         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
727         Added javadocs.
728         (topWindowListener): New field.
729         (Constructor): initialize topWindowListener.
730         (BasicPopupMenuUI.TopWindowListener): Implemented.      
731         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
732         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
733         Implemented.
734
735 2004-07-21  Michael Koch  <konqueror@gmx.de>
736
737         * javax/swing/plaf/basic/BasicButtonUI.java
738         (paintFocus): Fixed method signature.
739         (paintButtonPressed): Likewise.
740         (paintButtonNormal): Likewise.
741         (paintText): New method.
742         * javax/swing/plaf/basic/BasicLabelUI.java
743         (paint): Re-indented.
744         * javax/swing/plaf/basic/BasicTextUI.java
745         (installUI): Set parent textComponent to opaque.
746         * javax/swing/text/DefaultHighlighter.java
747         (checkPositions): New helper method.
748         (addHighlight): Throws BadLocationException, check positions.
749         (changeHighlight): Likewise.
750         * javax/swing/text/EditorKit.java
751         (EditorKit): Implements Serializable.
752         * javax/swing/text/JTextComponent.java
753         (getUI): Added javadoc.
754         (setUI): Likewise.
755         (upadteUI): Added javadoc, don't revalidate and repaint.
756
757 2004-07-21  David Jee  <djee@redhat.com>
758
759         * java/awt/GridBagLayout.java
760         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
761         * javax/swing/AbstractButton.java
762         (setText): Reindent.
763         * javax/swing/RepaintManager.java
764         (addInvalidComponent): Find the first ancestor that isValidateRoot().
765
766 2004-07-21  Michael Koch  <konqueror@gmx.de>
767
768         * javax/swing/JFormattedTextField.java
769         (value): New field.
770         (JFormattedTextField): Implemented.
771         (getValue): Likewise.
772         (setValue): Likewise.
773         * javax/swing/LookAndFeel.java
774         (getSupportsWindowDecorations): New method.
775         * javax/swing/UIDefaults.java:
776         Use java.beans.PropertyChangeSupport instead of doing all ourself.
777         (addPropertyChangeListener): Made public.
778         (addResourceBundle): Likewise.
779         (removeResourceBundle): Likewise.
780         (setDefaultLocale): Likewise.
781         * javax/swing/plaf/basic/BasicRootPaneUI.java
782         (BasicRootPaneUI): Implements PropertyChangeListener.
783         (propertyChange): New method.
784         * javax/swing/plaf/basic/BasicTextUI.java
785         (BasicHighlighter): New inner class.
786         (createHighlighter): New method.
787         * javax/swing/plaf/basic/BasicToolBarUI.java
788         (DragWindow): Extends java.awt.Window.
789         * javax/swing/text/JTextComponent.java
790         (getDocument): Removed debug output.
791         * javax/swing/plaf/basic/BasicTextFieldUI.java,
792         javax/swing/text/DefaultHighlighter.java,
793         javax/swing/text/FieldView.java,
794         javax/swing/text/PlainView.java: New files.
795         * Makefile.am: Added new files.
796         * Makefile.in: Regenerated.
797
798 2004-07-21  Michael Koch  <konqueror@gmx.de>
799
800         * javax/swing/JEditorPane.java
801         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
802         (createEditorKitForContentType): Likewise.
803         * javax/swing/text/DefaultEditorKit.java
804         (serialVersionUID): Added constant field.
805         (EndOfLineStringPropery): Fixed typo.
806         (DefaultEditorKit): New constructor.
807         * javax/swing/text/Segment.java:
808         Import java.text.CharacterIterator.
809         * javax/swing/text/CharacterIterator.java,
810         javax/swing/text/PlainEditorKit.java: Removed.
811         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
812         javax/swing/text/PlainEditorKit.java.
813         * Makefile.in: Regenerated.
814
815 2004-07-21  Michael Koch  <konqueror@gmx.de>
816
817         * javax/swing/JButton.java,
818         javax/swing/text/DefaultEditorKit.java,
819         javax/swing/text/EditorKit.java,
820         javax/swing/text/Segment.java,
821         javax/swing/text/StyledEditorKit.java:
822         Reformatted.
823
824 2004-07-21  Michael Koch  <konqueror@gmx.de>
825
826         * javax/swing/ImageIcon.java
827         (file): Removed.
828         (description): Renamed from descr.
829         (ImageIcon): Added missing constructors.
830         (setParent): Removed.
831         (setImageObserver): New method.
832         (getImageObserver): New method.
833         (paintIcon): Handle observer = null.
834         * javax/swing/JButton.java
835         (removeNotify): Fixed javadoc.
836         (updateUI): Simplified.
837         * javax/swing/JRootPane.java
838         (serialVersionUID): New constant field.
839         * javax/swing/UIManager.java:
840         Fixed javadocs all over.
841         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
842         * javax/swing/text/AbstractDocument.java
843         (createPosition): Throws BadLocationException.
844         (getText): Likewise.
845         (remove): Likewise.
846         * javax/swing/text/ComponentView.java
847         (modelToView): Likewise.
848         * javax/swing/text/DefaultEditorKit.java:
849         Made all public methods public.
850         (read): Throws BadLocationException and IOException.
851         (write): Likewise.
852         * javax/swing/text/EditorKit.java:
853         Made all public methods public.
854         (serialVersionUID): New constant field.
855         (clone): New method.
856         (read): Throws BadLocationException and IOException.
857         (write): Likewise.
858         * javax/swing/text/Segment.java
859         (array): Made public.
860         (count): Likewise.
861         (offset): Likewise.
862         (Segment): New constructors.
863         (clone): Reimplemented.
864         * javax/swing/text/StyledEditorKit.java
865         (serialVersionUID): New constant field.
866
867 2004-07-21  Graydon Hoare  <graydon@redhat.com>
868
869         * java/awt/image/BufferedImage.java 
870         (getSource): Implement.
871         * javax/swing/ImageIcon.java 
872         (ImageIcon): Implement ctor.
873         * javax/swing/ScrollPaneLayout.java 
874         (preferredLayoutSize): Be more careful about nulls.
875
876 2004-07-21  Michael Koch  <konqueror@gmx.de>
877
878         * javax/swing/text/AttributeSet.java
879         (CharacterAttribute): New interface
880         (ColorAttribute): Likewise.
881         (FontCharacterAttribute): Likewise.
882         (ParagraphAttribute): Likewise.
883         * javax/swing/text/DefaultCaret.java
884         (moveCaret): New method.
885         (positionCaret): Likewise.
886         (repaint): Made protected.
887         * javax/swing/text/JTextComponent.java
888         (KeyBinding): Made it static.
889         * javax/swing/text/View.java
890         (getContainer): Honor parent == null.
891
892 2004-07-21  Michael Koch  <konqueror@gmx.de>
893
894         * javax/swing/text/AbstractDocument.java:
895         Reformatted.
896
897 2004-07-21  Michael Koch  <konqueror@gmx.de>
898
899         * javax/swing/plaf/basic/BasicRootPaneUI.java:
900         Import javax.swing.UIManager explicitely.
901         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
902         (ScrollingButton): Made it static.
903
904 2004-07-21  Michael Koch  <konqueror@gmx.de>
905
906         * javax/swing/UIDefaults.java
907         (ActiveValue): Made public.
908         (LazyValue): Likewise.
909         * javax/swing/plaf/basic/BasicTextUI.java
910         (RootView): Reintroduced.
911         (view): Removed.
912         (rootView): New field.
913         (installUI): Create document if needed, initialize rootView.
914         (uninstallUI): Hanle rootView.
915         (paint): Likewise.
916         (getRootView): Likewise.
917         (setView): Likewise.
918         * javax/swing/text/DefaultCaret.java:
919         Renamed all "evt" variables to "event".
920
921 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
922
923         * libgcj.spec.in: Add -l-java-util-logging.
924
925 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
926
927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
928         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
929         gtk-xft-dpi can no calculate the right value.
930         (dpi_changed_cb): Mark *pspec as unsused.
931
932 2004-07-21  David Jee  <djee@redhat.com>
933
934         * java/awt/Component.java
935         (move): Delegate to setBounds().
936         (resize): Likewise.
937         (reshape): Fix so it repaints parent and self only when necessary.
938
939 2004-07-21  David Jee  <djee@redhat.com>
940
941         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
942         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
943         (GtkComponentPeer): Revert previous patch from 2004-06-22.
944         (setVisible): Likewise.
945         (show): Likewise.
946         (hide): Likewise.
947         (getArgs): Likewise.
948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
949         (property_notify_predicate): Likewise.
950         (find_layout): Likewise.
951         (connectJObject): Likewise.
952         (connectSignals): Likewise.
953         (moveLayout): Likewise.
954         (gtkLayoutSetVisible): Likewise.
955
956 2004-07-21  Graydon Hoare  <graydon@redhat.com>
957
958         * Makefile.am
959         (jv_convert_LDADD):
960         (gij_LDADD):
961         (rmic_LDADD):
962         (rmiregistry_LDADD): Add lib-java-util-logging.la
963         * Makefile.in: Regenerate.
964
965 2004-07-21  Michael Koch  <konqueror@gmx.de>
966
967         * javax/swing/text/AbstractDocument.java
968         (replace): Dont use protected method of java.util.Vector directly.
969
970 2004-07-21  Michael Koch  <konqueror@gmx.de>
971
972         * javax/swing/plaf/basic/BasicTextUI.java
973         (installUI): Call specialized install methods.
974         (installDefaults): New method.
975         (installListeners): Likewise.
976         (installKeyboardActions): Likewise.
977         (uninstallUI): Likewise.
978         (uninstallDefaults): New method.
979         (uninstallListeners): Likewise.
980         (uninstallKeyboardActions): Likewise.
981         (getPropertyPrefix): New abstract method.
982         (paint): Made final, just call paintSafely().
983         (paintSavely): New method.
984         (paintBackground): Likewise.
985         (getVisibleEditorRect): Likewise.
986         * javax/swing/text/LayeredHighlighter.java,
987         javax/swing/text/TabExpander.java: New files.
988         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
989         and javax/swing/text/TabExpander.java.
990         * Makefile.in: Regenerated.
991
992 2004-07-21  Michael Koch  <konqueror@gmx.de>
993
994         * javax/swing/plaf/basic/BasicTextUI.java
995         (BasicTextUI): Made abstract.
996         (BasicCaret): New inner class.
997         (view): Don't explicitely initialize with "null".
998         (textComponent): New field.
999         (textColor): Removed.
1000         (disabledTextColor): Removed.
1001         (normalBackgroundColor): Removed.
1002         (RootView): Removed commented out inner class.
1003         (createUI): Removed.
1004         (createCaret): New method.
1005         (getComponent): Likewise.
1006         (installUI): Initialize textComponent only.
1007         (getPreferredSize): Use installed JTextComponent.
1008         (setView): New method.
1009         (create): Likewise.
1010         * javax/swing/text/JTextComponent.java
1011         (highlighter): New field.
1012         (caretColor): Likewise.
1013         (disabledTextColor): Likewise.
1014         (seletedTextColor): Likewise.
1015         (selectionColor): Likewise.
1016         (setUI): New method.
1017         (getCaretColor): Likewise.
1018         (setCaretColor): Likewise.
1019         (getDisabledColor): Likewise.
1020         (setDisabledColor): Likewise.
1021         (getSelectedTextColor): Likewise.
1022         (setSelectedTextColor): Likewise.
1023         (getSelectionColor): Likewise.
1024         (setSelectionColor): Likewise.
1025         (getHighlighter): Likewise.
1026         (setHighlighter): Likewise.
1027         (replaceSelection): Likewise.
1028
1029 2004-07-21  Michael Koch  <konqueror@gmx.de>
1030
1031         * javax/swing/plaf/basic/BasicScrollPaneUI.java
1032         (BasicScrollPaneUI): Implements ScrollPaneConstants.
1033         * javax/swing/plaf/basic/BasicToolBarUI.java
1034         (BasicToolBarUI): Implements SwingConstants.
1035
1036 2004-07-21  Michael Koch  <konqueror@gmx.de>
1037
1038         * javax/swing/JPopupMenu.java: Removed CVS tags.
1039         * javax/swing/UIDefaults.java: Reformatted.
1040         * javax/swing/plaf/basic/BasicRootPaneUI.java:
1041         Explicitely import used classes.
1042
1043 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1044
1045         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1046         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1047         (GtkComponentPeer): Remove temporary try/catch block.
1048         (setVisible): Call show and hide.
1049         (show): Make native.
1050         (hide): Likewise.
1051         (getArgs): Don't add "visible" argument.
1052         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1053         (property_notify_predicate): Return Bool instead of int.
1054         (find_layout): New function.
1055         (connectJObject): Call find_layout.
1056         (connectSignals): Likewise.
1057         (moveLayout): Likewise.
1058         (gtkLayoutSetVisible): Likewise.
1059
1060 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1061
1062         * javax/swing/AbstractButton.java:
1063         (setDisplayedMnemonicIndex): Check if button
1064         text is not null before checking its length.
1065         * javax/swing/JMenuItem.java:
1066         (processMouseEvent): Disarm menu item if mouse has
1067         exited it.
1068         * javax/swing/plaf/basic/BasicMenuUI.java:
1069         (MouseInputHandler.mouseEntered): Do not raise
1070         popup menu if this menu is already selected.
1071         (MouseInputHandler.mousePressed): Do not fire 
1072         MenuEvents.
1073         (MenuHandler): Implemented.     
1074
1075 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1076
1077         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1078         (getSelectedObjects): Implemented.
1079         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1080         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
1081         Added javadoc for few methods.
1082         (processMouseEvent): Made public.
1083         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1084         (processMouseEvent): Likewise.
1085
1086 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1087
1088         * javax/swing/AbstractButton.java:
1089         (init): Set display mnemonic index to -1.
1090         (setMnemonic(char)): Use setMnemonic(int).
1091         (setMnemonic(int)): Set display mnemonic index.
1092         (getDisplayedMnemonicIndex): Change method signature
1093         by removing 'index' parameter.
1094         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1095         Added default for Menu.selectionBackground.     
1096         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1097         (paintMenuItem): Change background color of the selected
1098         menu item.
1099         (paintText): Paint differently when menu item is disabled.
1100         Also paint mnemonic if it appears in the menu item's label.
1101         (paintAccelerator): Paint accelerator differently
1102         if menu item is disabled.
1103         * javax/swing/plaf/basic/BasicMenuUI.java:
1104         (installDefaults): Install defaults for 
1105         selectionForeground and selectionBackground.
1106         (uninstallDefaults): Uninstall defauls for 
1107         selectionForeground and selectionBackground.
1108
1109 2004-07-21  Michael Koch  <konqueror@gmx.de>
1110
1111         * javax/swing/text/AbstractDocument.java
1112         (BranchElement): Implemented.
1113         (LeafElement): Implemented.
1114         * javax/swing/text/DefaultCaret.java:
1115         Import used classes.
1116         (serialVersionUID): New constant.
1117         * javax/swing/text/JTextComponent.java
1118         (AccessibleJTextComponent): Removed dead declaration.
1119         (caretPos): Removed.
1120         (setCaret): New method.
1121         * javax/swing/text/PlainDocument.java
1122         (rootElement): New field.
1123         (PlainDocument): Initialize rootElement.
1124         (createDefaultRoot): New method.
1125         (getDefaultRootElement): Implemented.
1126         * javax/swing/text/View.java: Reformatted.
1127         * javax/swing/text/ViewFactory.java
1128         (create): Added javadoc.
1129
1130 2004-07-21  Michael Koch  <konqueror@gmx.de>
1131
1132         * javax/swing/ToolTipManager.java: Reformatted.
1133
1134 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
1135
1136         * javax/swing/AbstractButton.java
1137         (changeEvent): New field.
1138         (fireItemStateChanged): Change source of the event
1139         to 'this' before firing it to button listeners.
1140         (fireActionPerformed): Likewise.
1141         (fireStateChanged): Likewise.
1142         (createActionListener): Do not set source 
1143         of the event to AbstractButton.                                  
1144         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1145         (ContainerHandler.componentAdded): Removed 
1146         print out statement.
1147         (ContainerHandler.componentRemoved): Likewise.
1148
1149 2004-07-21  Michael Koch  <konqueror@gmx.de>
1150
1151         * javax/swing/text/Highlighter.java: New file.
1152         * Makefile.am: Added javax/swing/text/Highlighter.java.
1153         * Makefile.in: Regenerated.
1154
1155 2004-07-21  Michael Koch  <konqueror@gmx.de>
1156
1157         * javax/swing/ToolTipManager.java
1158         (stillInsideTimerAction): Fixed constructor arguments.
1159         (outsideTimerAction): Likewise.
1160         (insideTimerAction): Likewise.
1161
1162 2004-07-21  Michael Koch  <konqueror@gmx.de>
1163
1164         * javax/swing/JButton.java: Reformatted.
1165         * javax/swing/JFormattedTextField.java
1166         (getUIClassID): Implemented.
1167         * javax/swing/JRootPane.java
1168         (serialVersionUID): New constant.
1169         * javax/swing/JTextField.java
1170         (align): New field.
1171         (JTextField): Simplified.
1172         (getUIClassID): New method.
1173         (getActionListeners): Added @since tag.
1174         (setColumns): Invalidate layout and repaint.
1175         (getHorizontalAlignment): New method.
1176         (setHorizontalAlignment): New method.
1177         (selectAll): Removed.
1178         * javax/swing/SwingUtilities.java
1179         (getAncestorOfClass): Removed redundant @see tag.
1180         (isLeftMouseButton): Fixed implementation.
1181         (isMiddleMouseButton): Likewise.
1182         (isRightMouseButton): Likewise.
1183         * javax/swing/text/AbstractDocument.java
1184         (AttributeContext.addAttribute): New method.
1185         (AttributeContext.addAttributes): New method.
1186         (AttributeContext.getEmptySet): New method.
1187         (AttributeContext.reclaim): New method.
1188         (AttributeContext.removeAttribute): New method.
1189         (AttributeContext.removeAttributes): New method.
1190         * javax/swing/text/Document.java
1191         (createPosition): Throws BadLocationException.
1192         (getText): Likewise.
1193         (remove): Likewise.
1194         * javax/swing/text/JTextComponent.java
1195         (getText): Return null if no document is set. Catch
1196         BadLocationException.
1197         (getUI): Return ui.
1198         (updateUI): Simplified.
1199
1200 2004-07-21  Michael Koch  <konqueror@gmx.de>
1201
1202         * javax/swing/JButton.java
1203         (removeNotify): Fixed javadoc.
1204         (updateUI): Simplified.
1205
1206 2004-07-21  David Jee  <djee@redhat.com>
1207
1208         * gnu/java/awt/image/ImageDecoder.java
1209         (startProduction): Only add consumer if it's not added yet.
1210         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1211         (GdkPixbufDecoder): Don't call initState() here.
1212         (produce): Call initState() here, to ensure area_prepared and
1213         area_updated signals are properly connected.
1214         * gnu/java/awt/peer/gtk/GtkImage.java
1215         (setColorModel): Use equals() to compare ColorModel objects.
1216         (setPixels): Likewise.
1217         * java/awt/image/ColorModel.java
1218         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1219         * java/awt/image/RGBImageFilter.java
1220         (setColorModel): Set consumer's color model.
1221         (setPixels): Use equals() to compare ColorModel objects.
1222
1223 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
1224
1225         * java/net/URLConnection.java (position): New field.
1226         (dateFormat1, dateFormat2, dateFormat3): Removed.
1227         (dateFormats): New field.
1228         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1229         each time instead of re-allocating.
1230         (initializeDateFormats): Initialize 'dateFormats'.
1231
1232 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1233
1234         PR libgcj/16591
1235         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1236         is defined.
1237
1238 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1239
1240         * java/net/Socket.java (getImpl): Now private. Remove comment.
1241
1242 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1243
1244         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1245         of chained Writer when calling super-constructor.
1246         * java/io/FilterWriter.java (FilterWriter): Likewise.
1247         * java/io/PrintWriter.java (PrintWriter): Likewise.
1248
1249 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
1250
1251         * prims.cc (process_gcj_properties): Don't increment i within LHS
1252         of assignment.
1253
1254 2004-07-19  Per Bothner  <per@bothner.com>
1255
1256         Print -verbose:message on "loading", not initialization.
1257         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
1258         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
1259         gcj::verbose_class_flag.
1260         * java/lang/natClass.cc (initializeClass):  Don't print message here.
1261         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
1262         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1263         (_Jv_PrepareCompiledClass):  Likewise.
1264
1265 2004-07-18  Matthias Klose  <doko@debian.org>
1266
1267         * configure.in: Substitute target_noncanonical.
1268         * configure: Regenerate
1269
1270 2004-07-17  Michael Koch  <konqueror@gmx.de>
1271
1272         * java/lang/String.java: Fixed javadocs all over.
1273
1274 2004-07-17  Mark Wielaard  <mark@klomp.org>
1275
1276         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1277         when size is smaller.
1278         * java/io/RandomAccessFile.java (setLength): Use truncate for
1279         shrinking the file and seek plus write for expanding the file.
1280
1281 2004-07-17  Michael Koch  <konqueror@gmx.de>
1282
1283         * gnu/java/nio/channels/natFileChannelPosix.cc
1284         (implTruncate): Always save current position. Only reposition file
1285         pointer to where we started if not beyond new lenght. Reposition file
1286         pointer to file length if it points beyond the end of file.
1287
1288 2004-07-17  Mark Wielaard  <mark@klomp.org>
1289
1290         * javax/swing/Box.java: Put FIXME comment above class declaration.
1291         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1292         * javax/swing/JCheckBox.java: Likewise.
1293         * javax/swing/JDialog.java: Likewise.
1294         * javax/swing/JRadioButton.java: Likewise.
1295         * javax/swing/JToggleButton.java: Likewise.
1296         * javax/swing/UIManager.java: Likewise.
1297         * javax/swing/border/TitledBorder.java: Likewise.
1298         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1299         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1300         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1301         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1302         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1303         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1304         * javax/swing/text/JTextComponent.java: Likewise.
1305
1306 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
1307
1308         * java/net/DatagramPacket.java (setAddress): Removed check for
1309         null address.
1310
1311 2004-07-17  Michael Koch  <konqueror@gmx.de>
1312
1313         * java/net/DatagramSocket.java
1314         (getLocalAddress): Check if socket is bound or not.
1315         * java/net/Socket.java
1316         (getLocalAddrss): Check if socket is bound or not.
1317         (getPort): Return -1 when not connected. Dont check getImpl() for
1318         null.
1319         (setReuseAddress): Check if socket is closed.
1320         (isConnected): Check if getImpl() returns null.
1321
1322 2004-07-17  Mark Wielaard  <mark@klomp.org>
1323
1324         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1325         on notifier object before calling notifyAll().
1326
1327 2004-07-17  Michael Koch  <konqueror@gmx.de>
1328
1329         * gnu/java/nio/channels/FileChannelImpl.java
1330         (finalize): Added javadoc.
1331
1332 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
1333
1334         * java/text/CollationElementIterator.java
1335         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1336         (setText): Use ArrayList instead of Vector.
1337
1338 2004-07-17  Michael Koch  <konqueror@gmx.de>
1339
1340         * java/nio/ByteOrder.java
1341         (static): Removed. Not needed.
1342         Thanks to Patrick Reali for noticing.
1343         * java/nio/charset/CharsetDecoder.java
1344         (decode): Fix for classpath bug #9177: Reset state before flipping.
1345
1346 2004-07-17  Michael Koch  <konqueror@gmx.de>
1347
1348         * java/security/Security.java: Fixed javadocs all over.
1349
1350 2004-07-17  Michael Koch  <konqueror@gmx.de>
1351
1352         * gnu/java/awt/EmbeddedWindow.java
1353         (static): Removed.
1354         (addNotify): Set peer via reflection.
1355         (setWindowPeer): Removed.
1356         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1357         * Makefile.am (nat_source_files):
1358         Removed gnu/java/awt/natEmbeddedWindow.cc.
1359         * Makefile.in: Regenerated.
1360
1361 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
1362
1363         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1364         assignment.
1365         * configure: Regenerated.
1366
1367 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
1368
1369         * configure.in: Use build_noncanonical rather than build_alias.
1370         * configure: Rebuild.
1371
1372         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1373         by logic refactoring.  Move default definition of NATIVE closer
1374         to first alternate definition.
1375         * configure: Regenerate.
1376
1377         * Makefile.am: Set ZIP and GCJH directly using autoconf.
1378         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1379         gcj/Makefile.in: Regenerate.
1380         * configure.in: Set ZIP and GCJH.  Remove redundant condition
1381         in AM_CONDITIONAL(NATIVE,...)
1382         * configure: Regenerate.
1383
1384 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
1385
1386         * configure.in: Use target_noncanonical rather than
1387         target_alias for forward-compatibility with autoconf 2.59.
1388         * configure: Regenerate.
1389         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1390         testsuite/Makefile.am: Substitute target_noncanonical.
1391         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1392         testsuite/Makefile.in: Regenerate.
1393
1394         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1395         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1396         * acinclude.m4: Include acx.m4.
1397         * aclocal.m4: Regenerate.
1398         * configure: Regenerate.
1399
1400 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
1401
1402         PR libgcj/16574
1403         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1404         (decimalFormat): New static variable.
1405         (sbuf): Likewise.
1406         (getTime): New. Override Date.getTime().
1407         (toString): Synchronize. Use decimalFormat to format nanos value
1408         correctly. Truncate extra zeros.
1409         (before): Compare getNanos() only if getTime() is equal.
1410         (after): Likewise.
1411         
1412 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
1413
1414         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1415         * configure.in: ...here.
1416         * aclocal.m4: Regenerate.
1417         * configure: Regenerate.
1418
1419         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1420         * configure: Rebuilt with autoconf 2.13.
1421         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1422         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1423
1424 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
1425
1426         PR libgcj/16204
1427         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1428         large file support.
1429         * Makefile.in: Rebuilt.
1430         * testsuite/libjava.lang/LargeFile.java: New test case.
1431         * testsuite/libjava.lang/LargeFile.out: New file.
1432
1433 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1434
1435         * java/beans/EventHandler.java: Remove debugging statements.
1436
1437 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1438
1439         * java/beans/EventHandler.java: New file.
1440         * Makefile.am (awt_java_source_files): Add EventHandler.java.
1441         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1442         testsuite/Makefile.in: Regenerate.
1443
1444 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
1445
1446         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1447         flag to the gcj_setup.
1448         (gcj_jacks_run): Check tclsh version and launch jacks directly with
1449         the tclsh.
1450         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1451         deprecation flag change. 58 XFAILS removed.
1452
1453 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
1454
1455         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
1456         -fno-use-divide-subroutine.
1457         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1458         (HANDLE_FPE): Define.
1459         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1460         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1461         (HANDLE_DIVIDE_OVERFLOW): Define.
1462
1463 2004-07-14  Michael Koch  <konqueror@gmx.de> 
1464             Matthias Klose  <doko@debian.org> 
1465
1466         * java/awt/im/InputContext.java: Initialize in, line.
1467
1468 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
1469
1470         * interpret.cc (run): Correctly access libffi return values of
1471         integral smaller-than-int type; these are implicitly promoted.
1472
1473 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
1474
1475         PR libgcj/7587
1476         * interpret.cc (compile_mutex): New.
1477         (_Jv_InitInterpreter): New. Initialize compile_mutex.
1478         (run): Lock compile_mutex before calling compile() if compilation is
1479         required.
1480         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1481         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
1482
1483 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
1484
1485         PR libgcj/15713
1486         * include/jvm.h (_Jv_value): New union type.
1487         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
1488         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
1489         union members.
1490
1491 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
1492
1493         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1494         * gnu/awt/xlib/XOffScreenImage.java
1495           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1496           constructor argument. Add constructor using ImageProducer.
1497           (getSource): Implement.
1498           (imageComplete): New method.
1499           (setColorModel): New method.
1500           (setDimensions): New method.
1501           (setHints): New method.
1502           (setPixels): New method.
1503           (setProperties): New method.
1504         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
1505         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1506
1507 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
1508
1509         PR libgcj/16478 
1510         * prims.cc (_Jv_CreateJavaVM): Fix comment.
1511         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1512         (finalizerReady): Now native.
1513         (run): Likewise.
1514         (runFinalizers): Removed.
1515         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1516         a primitive lock, and don't hold it while running the finalizers.
1517         (runFinalizers): Implement. Don't aquire any Java lock.
1518         (finalizerReady): Use lock primitives to signal finalizer thread.
1519
1520 2004-07-11  Mark Wielaard  <mark@klomp.org>
1521
1522         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1523         * java/net/URLStreamHandler.java (parseURL): When url file part
1524         doesn't contain a '/' just ignore context.
1525
1526 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
1527
1528         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1529         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1530         (MAKE_THROW_FRAME): Do not modify PSW address.
1531         (INIT_SEGV): Install SIGINFO-style signal handler.
1532         (INIT_FPE): Likewise.
1533
1534 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
1535
1536         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1537         status. 21 xfail's removed, 1 added.
1538
1539 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
1540
1541         * gcj/javaprims.h: Regenerate CNI namespace definitions.
1542
1543 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1544
1545         * java/text/MessageFormat.java
1546         (formatInternal): Append "{n}" if argument n is unavailable.
1547         (format(Object, StringBuffer, FieldPosition)): This
1548         should be equivalent to format(Object[],
1549         StringBuffer, FieldPosition).
1550
1551 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1552
1553         * java.util.Calendar.java (cache): New private static field. Cached
1554         mappings of locales->calendar classes.
1555         (ctorArgTypes): New private static field. Singleton argument for
1556         calendar class constructor lookup.
1557         (getInstance): Cache Locale->Calendar class mappings using HashMap.
1558         Optimize by bypassing reflection instantiation for the 
1559         GregorianCalendar case.
1560
1561 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1562
1563         * java/util/Calendar.java: Use getSystemClassLoader as argument for
1564         ResourceBundle.getBundle() calls.
1565         * java/util/GregorianCalendar.java: Likewise.
1566         * java/util/Currency.java: Likewise.
1567         * java/text/BreakIterator.java: Likewise.
1568         * java/text/Collator.java: Likewise.
1569         * java/text/DateFormat.java: Likewise.
1570         * java/text/DateFormatSymbols.java: Likewise.
1571         * java/text/DecimalFormatSymbols.java: Likewise.
1572         * java/text/NumberFormat.java: Likewise.
1573         * java/awt/Window.java: Likewise.       
1574
1575 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1576
1577         * java/util/ResourceBundle.java (bundleCache): Renamed from
1578         resourceBundleCache. Update comments.
1579         (getObject): Don't catch MissingResourceException.
1580         (getBundle(String)): Remove 'final'. Use system classloader if
1581         getCallingClassLoader returned null.
1582         (getBundle(String, Locale)): Likewise.
1583         (BundleKey): New private class. HashMap key for bundle cache lookup.
1584         (lookupKey): New. Singleton instance of BundleKey.
1585         (nullEntry): New. Cache entry to represent failed lookups.
1586         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
1587         caching strategy, no-allocation lookup, and new tryBundle methods.
1588         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
1589         name using given classloader.
1590         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
1591         baseName for given Locale and attempt to load bundle.
1592
1593 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1594
1595         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
1596         illegal protected method calls.
1597
1598 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1599
1600         Fix or remove some bogus test cases.
1601         * testsuite/libjava.compile/pr10459_2.java: Removed.
1602         * testsuite/libjava.compile/pr10459.java: Test using its own method,
1603         not Object.clone().
1604         * testsuite/libjava.compile/inner_data.java: Test against its own
1605         protected field.
1606
1607 2004-07-09  Michael Koch  <konqueror@gmx.de>
1608
1609         * scripts/unicode-muncher.pl: Updated to version 2.1
1610         from GNU classpath. Added some clarifications on where to find the
1611         needed files from www.unicode.org.
1612         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
1613         gnu/gcj/convert/UnicodeData-3.0.0.txt:
1614         Removed, these can directly be downloaded from www.unicode.org if
1615         needed. 
1616         * gnu/java/lang/CharData.java: Regenerated.
1617         * include/java-chartables.h: Regenerated.
1618         * Makefile.am (ordinary_java_source_files):
1619         Removed gnu/java/lang/CharData.java.
1620         * Makefile.in: Regenerated.
1621
1622 2004-07-09  Michael Koch  <konqueror@gmx.de>
1623
1624         * java/security/AccessControlContext.java,
1625         java/security/SecureClassLoader.java:
1626         Fixed javadocs.
1627
1628 2004-07-09  Michael Koch  <konqueror@gmx.de>
1629
1630         * java/io/ObjectInputStream.java (readFields): Use long datatype
1631         when shifting byte values more then 24 bits left.
1632
1633 2004-07-09  Michael Koch  <konqueror@gmx.de>
1634
1635         * java/util/zip/DeflaterOutputStream.java,
1636         java/util/zip/GZIPInputStream.java,
1637         java/util/zip/GZIPOutputStream.java,
1638         java/util/zip/InflaterInputStream.java:
1639         Reformatted. Added javadocs. Reordered all stuff.
1640         Renamed variables to be more clear.
1641
1642 2004-07-09  Michael Koch  <konqueror@gmx.de>
1643
1644         * javax/imageio/IIOException.java,
1645         javax/imageio/event/IIOReadProgressListener.java,
1646         javax/imageio/event/IIOReadUpdateListener.java,
1647         javax/imageio/event/IIOReadWarningListener.java,
1648         javax/imageio/event/IIOWriteProgressListener.java,
1649         javax/imageio/event/IIOWriteWarningListener.java:
1650         New files.
1651         * Makefile.am: Added new files.
1652         * Makefile.in: Regenerated.
1653
1654 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
1655
1656         * java/text/RuleBasedCollator.java
1657         (mergeRules): Use ArrayList instead of Vector.
1658         (subParseString): likewise.
1659         (parseString): likewise.
1660         (buildCollationVector): likewise.
1661         (getCollationKey): likewise.
1662
1663 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
1664
1665         * java/text/DateFormat.java (parse):
1666         Improved javadoc. Improved exception message.
1667
1668 2004-07-09  Mark Wielaard  <mark@klomp.org>
1669
1670         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
1671         interrupted() method to clear interupt flag of our Thread.
1672
1673 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
1674
1675         * java/nio/Buffer.java,
1676         java/nio/ByteBuffer.java,
1677         java/nio/ByteBufferHelper.java,
1678         java/nio/ByteBufferImpl.java,
1679         java/nio/CharBuffer.java,
1680         java/nio/CharBufferImpl.java,
1681         java/nio/CharViewBufferImpl.java,
1682         java/nio/DirectByteBufferImpl.java,
1683         java/nio/DoubleBuffer.java,
1684         java/nio/DoubleBufferImpl.java,
1685         java/nio/DoubleViewBufferImpl.java,
1686         java/nio/FloatBuffer.java,
1687         java/nio/FloatBufferImpl.java,
1688         java/nio/FloatViewBufferImpl.java,
1689         java/nio/IntBuffer.java,
1690         java/nio/IntBufferImpl.java,
1691         java/nio/IntViewBufferImpl.java,
1692         java/nio/LongBuffer.java,
1693         java/nio/LongBufferImpl.java,
1694         java/nio/LongViewBufferImpl.java,
1695         java/nio/MappedByteBufferImpl.java,
1696         java/nio/ShortBuffer.java,
1697         java/nio/ShortBufferImpl.java,
1698         java/nio/ShortViewBufferImpl.java:
1699         Fixed javadocs all over. Improved input error
1700         checking.
1701
1702         * java/nio/Buffer.java
1703         (checkForUnderflow, checkForOverflow, checkIndex,
1704         checkIfReadOnly, checkArraySize): New helper methods
1705         for error checking.
1706
1707         * java/nio/ByteBufferHelper.java
1708         (checkRemainingForRead, checkRemainingForWrite,
1709         checkAvailableForRead, checkAvailableForWrite): Removed
1710         no longer needed methods.
1711
1712 2004-07-09  Michael Koch  <konqueror@gmx.de>
1713
1714         * gnu/regexp/CharIndexedInputStream.java:
1715         Reordered imports to match classpath.
1716
1717 2004-07-09  Michael Koch  <konqueror@gmx.de>
1718
1719         * gnu/java/awt/EmbeddedWindow.java:
1720         Load native library for setWindowPeer method.
1721
1722 2004-07-08  Randolph Chung  <tausq@debian.org>
1723
1724         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
1725         * configure: Regenerate.
1726         * configure.host: Set can_unwind_signal for hppa*-linux.
1727         * include/pa-signal.h: New file.
1728
1729 2004-07-07  Per Bothner  <per@bothner.com>
1730
1731         * Makefile.am:  Add rules to build libgij from just gij.cc.
1732
1733         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
1734         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
1735         (initializeClass):  If verbose_class_flag, print message.
1736         * gij.cc (main):  Handle -verbose:class flag.
1737
1738 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
1739
1740         * configure.host: Enable hash synchronization on Darwin.
1741         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
1742         ';', since this is a comment on Darwin.
1743         (compare_and_swap_release): Likewise.
1744
1745 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
1746
1747         * java/net/URLStreamHandler.java (parseURL): Canonicalize
1748         file portion of URL in addition to spec for file: protocol.
1749
1750 2004-07-05  Anthony Green  <green@redhat.com>
1751
1752         * java/io/File.java (toURI): Merge from Classpath.
1753
1754 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1755
1756         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
1757         before passing to URL constructor. Rethrow any MalformedURLException
1758         as a RuntimeException. Catch MalformedURLException specifically, not
1759         all exceptions.
1760
1761 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1762
1763         * java/util/Locale.java (readObject): Intern strings read from object
1764         stream.
1765
1766 2004-07-04  Michael Koch  <konqueror@gmx.de>
1767
1768         * gnu/gcj/runtime/FirstThread.java,
1769         gnu/gcj/runtime/natFirstThread.cc: Removed.
1770         * gnu/java/lang/MainThread.java,
1771         gnu/java/lang/natMainThread.cc: New files.
1772         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
1773         * Makefile.am: Added new files and removed deleted ones.
1774         * Makefile.in: Regenerated.
1775
1776 2004-07-03  Mark Wielaard  <mark@klomp.org>
1777             Anthony Green  <green@redhat.com>
1778
1779         * java/net/URL.java (getFile): Clarify return value doc.
1780         (getPath): Return null if file is empty - not empty String.
1781         (set): Convert protocol to lower case before doing anything.
1782         Only change the protocol handler if it's different.
1783
1784 2004-07-03  Anthony Green  <green@redhat.com>
1785
1786         * java/net/URL.java (URL): Convert protocol to lower case before
1787         doing anything, so we getURLStreamHandler() with the proper value.
1788
1789 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
1790
1791         * java/util/Locale.java (hashcode): Made transient.
1792         (hashCode): No longer synchronized.
1793         (equals): Remove comment.
1794         (writeObject): No longer synchronized. Implement using writeObject 
1795         calls instead of tweaking hashCode field. Update doc.
1796         (readObject): Implement using readObject calls.
1797
1798 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
1799             Andreas Tobler  <a.tobler@schweiz.ch>
1800
1801         * configure.host (powerpc-*-darwin*): New case, define
1802         can_unwind_signal.
1803         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
1804         * configure: Regenerate.
1805         * include/darwin-signal.h: New.
1806
1807 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
1808
1809         * java/beans/Statement.java (doExecute): Fix formatting.
1810
1811 2004-06-29  Per Bothner  <per@bothner.com>
1812
1813         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
1814         etc etc):  Remove needless parenthesis, which causes __stdcall__
1815         attribute on MinGW to get ignored.
1816
1817 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
1818
1819         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
1820
1821 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
1822
1823         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
1824
1825 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
1826
1827         * java/beans/Expression.java: New file.
1828         * java/beans/Statement.java: New file.
1829         * Makefile.am: Added new files.
1830         * Makefile.in: Re-generate.
1831
1832 2004-06-27 Mark Wielaard  <mark@klomp.org>
1833
1834         * java/io/FilePermission.java (usingPerms): Removed.
1835         (actionsString): Made final.
1836         (cachePerms): Renamed to checkPerms.
1837         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
1838         on action String.
1839         (FilePermission): Check arguments, call checkPerms().
1840         (equals): Remove cachePerms() call.
1841         (implies): Likewise.
1842
1843 2004-06-27  Mark Wielaard  <mark@klomp.org>
1844
1845         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
1846         final field.
1847         (sendRequest): Use new field in user-agent http agent.
1848
1849 2004-06-27  Mark Wielaard  <mark@klomp.org>
1850
1851         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1852         when argument is null.
1853
1854 2004-06-26  Mark Wielaard  <mark@klomp.org>
1855
1856         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1857         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
1858         GetMethodID call.
1859         (cancel_clicked): Likewise.
1860
1861 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1862
1863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1864         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
1865         can not calculate the right value.
1866         (dpi_changed_cb): Likewise. Mark *pspec as unused.
1867
1868 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
1869
1870         * testsuite/libjava.jacks/jacks.xfail: Remove
1871         15.9.1-qualified-concrete-20.
1872
1873 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
1874
1875         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
1876         encoding name to iconv.
1877         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
1878
1879 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
1880
1881         PR libgcj/16134:
1882         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
1883         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
1884         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
1885
1886 2004-06-21  Andrew Haley  <aph@redhat.com>
1887
1888         * java/io/ObjectOutputStream.java: Add DEBUG statements
1889         everywhere.
1890         (dumpElementln): New method.
1891         (depth): New field.
1892         * java/io/ObjectInputStream.java
1893         (currentClassLoader): Make native.
1894         (callersClassLoader): New field.
1895         (depth): New field.
1896         (readObject): ENDBLOCKDATA is generated if the class has a write
1897         method, not if it has a read method.
1898         (readObject): Save and restore this.currentObject and
1899         this.currentObjectStreamClass around calls to callReadMethod().
1900         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
1901         method.
1902
1903 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
1904
1905         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
1906         darwin.
1907
1908 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
1909
1910         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
1911         if desired, before the default class loader is initialised.
1912         Call INIT_SEGV only if HANDLE_SEGV is defined.
1913
1914 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
1915
1916         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
1917         directory only if it actually exists.
1918
1919 2004-06-18  Graydon Hoare  <graydon@redhat.com>
1920
1921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1922         Fix up non-ansi comments.
1923
1924 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
1925
1926         * javax/swing/text/AbstractDocument.java: Adding missing import
1927         for javax.swing.event.EventListenerList.
1928         * javax/swing/text/DefaultCaret.java: Likewise.
1929
1930 2004-06-17  Michael Koch  <konqueror@gmx.de>
1931
1932         * javax/swing/JToolBar.java
1933         (name): Removed.
1934         (JToolBar): Use Component.setName(String) instead of doing it all
1935         alone.
1936         * javax/swing/Timer.java
1937         (queueEvent): Added missing modifier.
1938
1939 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
1940
1941         * Makefile.am: Added new file.
1942         * Makefile.in: Re-generate.
1943         * javax/swing/JMenu.java:
1944         (insertSeparator): Implemented.
1945         * javax/swing/JPopupMenu.java:
1946         (JPopupMenu.Separator): Implemented.
1947         * javax/swing/MenuSelectionManager.java:
1948         (processMouseEvent): Use java.awt.Component 
1949         for event source instead of javax.swing.JComponent. 
1950         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
1951         New File. Implemented.
1952         
1953 2004-06-16  David Jee  <djee@redhat.com>
1954
1955         * java/awt/GridBagLayout.java
1956         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
1957         Make sure pos_x and pos_y are never negative.
1958
1959 2004-04-16  Andrew Overholt  <overholt@redhat.com>
1960
1961         * Makefile.am: Add new file.
1962         * Makefile.in: Re-generate.     
1963         * javax/swing/JToolBar.java
1964         Partially implemented.
1965         * javax/swing/plaf/basic/BasicToolBarUI.java
1966         New file. Partially implemented.
1967
1968 2004-06-16  Graydon Hoare  <graydon@redhat.com>
1969
1970         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
1971         (setComposite): Accept AlphaComposite arguments.
1972         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1973         (createBufferedImage): Add new overloads.
1974         * gnu/java/awt/peer/gtk/GtkToolkit.java
1975         (createImage): Use GdkPixbufDecoder.createBufferedImage
1976         when useGraphics2D() is true.
1977         (getImage): Delegate to createImage.
1978         * javax/swing/JList.java
1979         (isSelectionEmpty):
1980         (getFirstVisibleIndex):
1981         (getLastVisibleIndex):
1982         (setSelectedValue):
1983         (ensureIndexIsVisible): New methods.
1984         * javax/swing/Timer.java: Reimplement.
1985
1986 2004-06-16  Michael Koch  <konqueror@gmx.de>
1987
1988         * javax/swing/text/AbstractDocument.java
1989         (AbstracElement): Made public, implements java.io.Serializable.
1990         (AttributeContext): Made public.
1991         (BranchElement): Likewise.
1992         (Content): Likewise.
1993         (DefaultDocumentEvent): Made public, extends
1994         javax.swing.undo.CompoundEdit.
1995         (ElementEdit): Made public, extends
1996         javax.swing.undo.AbstractUndoableEdit.
1997         (LeafElement): Made public.
1998         (LeafElement.LeafElement): Made public.
1999
2000 2004-06-16  Michael Koch  <konqueror@gmx.de>
2001
2002         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2003         methods (that were obviously never be intended to get included hi this
2004         class. Added some methods too.
2005
2006 2004-06-16  Michael Koch  <konqueror@gmx.de>
2007
2008         * javax/swing/text/PlainDocument.java
2009         (serialVersionUID): New constant.
2010         (lineLimitAttribute): Likewise.
2011         (tabSizeAttribute): Likewise.
2012         (tabSize): New field.
2013         (PlainDocument): Made public.
2014         (PlainDocument): New constructor.
2015
2016 2004-06-16  Michael Koch  <konqueror@gmx.de>
2017
2018         * javax/swing/text/AbstractDocument.java
2019         (insertString): Throws BadLocationException.
2020         * javax/swing/text/Document.java
2021         (insertString): Likewise.
2022         * javax/swing/text/JTextComponent.java:
2023         Javadocs and comments cleaned up.
2024
2025 2004-06-16  Michael Koch  <konqueror@gmx.de>
2026
2027         * javax/swing/event/UndoableEditListener.java: Reformatted.
2028         * javax/swing/text/AbstractDocument.java
2029         (AbstractDocument): Implements java.io.Serializable.
2030         (doc_list): Removed.
2031         (undo_list): Removed.
2032         (AbstractElement.serialVerionUID): New field.
2033         (BranchElement.serialVerionUID): Likewise.
2034         (DefaultDocumentEvent.serialVerionUID): Likewise.
2035         (ElementEdit.serialVerionUID): Likewise.
2036         (LeafElement.serialVerionUID): Likewise.
2037         (serialVerionUID): Likewise.
2038         (BAD_LOCATION): New constant.
2039         (BidiElementName): Likewise.
2040         (ContentElementName): Likewise.
2041         (ParagraphElementName): Likewise.
2042         (SectionElementName): Likewise.
2043         (ElementNameAttribute): Likewise.
2044         (AbstractDocument): Made protected.
2045         (AbstractDocument): New construtor.
2046         (listenerList): New field.
2047         (fireChangedUpdate): Implemented.
2048         (fireInsertUpdate): Likewise.
2049         (fireRemoveUpdate): Likewise.
2050         (fireUndoableEditUpdate): Likewise.
2051         (getListeners): Likewise.
2052         (addDocumentListener): Likewise.
2053         (removeDocumentListener): Likewise.
2054         (addUndoableEditListener): Likewise.
2055         (removeUndoableEditListener): Likewise.
2056         (getDocumentListeners): New method.
2057         (getUndoableEditListeners): Likewise.
2058         (getAsynchronousLoadPriority): Made public.
2059         (getBidiRootElement): Likewise.
2060         (setAsynchronousLoadPriority): Likewise.
2061         (setDocumentProperties): Likewise.
2062         * javax/swing/text/BadLocationException.java
2063         (serialVerionUID): New field.
2064         * javax/swing/text/DefaultCaret.java
2065         (changeEvent): New field.
2066         (listenerList): Likewise.
2067         (changes): Removed.
2068         (addChangeListener): Reimplemented.
2069         (removeChangeListener): Likewise.
2070         (getListeners): New method.
2071         (getChangeListeners): Likwise.
2072         (getComponent): Likewise.
2073         * javax/swing/text/GapContent.java
2074         (GapContent): Implements java.io.Serializable.
2075         (serialVerionUID): New field.
2076
2077 2004-06-16  Michael Koch  <konqueror@gmx.de>
2078
2079         * javax/swing/JTree.java
2080         (treeModel): New field.
2081         (JTree): New constructors, one existing one made public.
2082         (createTreeModel): New method.
2083         (addTreeExpansionListener): Likewise.
2084         (removeTreeExpansionListener): Likewise.
2085         (getTreeExpansionListeners): Likewise.
2086         (fireTreeCollapsed): Likewise.
2087         (fireTreeExpanded): Likewise.
2088         (addTreeSelectionListener): Likewise.
2089         (removeTreeSelectionListener): Likewise.
2090         (getTreeSelectionListeners): Likewise.
2091         (fireValueChanged): Likewise.
2092         (addTreeWillExpandListener): Likewise.
2093         (removeTreeWillExpandListener): Likewise.
2094         (getTreeWillExpandListeners): Likewise.
2095         (fireTreeWillCollapse): Likewise.
2096         (fireTreeWillExpand): Likewise.
2097
2098 2004-06-16  Michael Koch  <konqueror@gmx.de>
2099
2100         * javax/swing/JTree.java: Reformatted.
2101
2102 2004-06-16  Michael Koch  <konqueror@gmx.de>
2103
2104         * javax/swing/JTextArea.java: New file.
2105         * javax/swing/JTextField.java
2106         (actions): Removed.
2107         (notifyAction): New constant.
2108         (columns): New field.
2109         (JTextField): New constructors.
2110         (createDefaultModel): New method.
2111         (addActionListener): Reimplmemented.
2112         (removeActionListener): Reimplemented.
2113         (getActionListeners): New method.
2114         (fireActionPerformed): New method.
2115         (getColumns): New method.
2116         (setColumne): New method.
2117         * javax/swing/text/JTextComponent.java
2118         (AccessibleJTextComponent.serialVersionUID): New field.
2119         (serialVersionUID): Likewise.
2120         (DEFAULT_KEYMAP): Likewise.
2121         (FOCUS_ACCELERATOR_KEY): Likewise.
2122         (doc): Made private.
2123         (icon_gap): Likewise.
2124         (icon): Likewise.
2125         (align): Likewise.
2126         (JTextComponent): Some constructors removed.
2127         (getScrollableTracksViewportHeight): New method.
2128         (getScrollableTracksViewportWidth): Likewise.
2129         * Makefile.am: Added javax/swing/JTextArea.java.
2130         * Makefile.in: Regenerated.
2131
2132 2004-06-15  Graydon Hoare  <graydon@redhat.com>
2133
2134         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2135         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2136         * javax/swing/JViewport.java 
2137         (getExtentSize): Return size rather than preferred size.
2138         (toViewCoordinates): New methods.
2139         (getViewSize): Return size rather than preferred size.
2140         (setViewSize): Note view size as set.
2141         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2142         * javax/swing/plaf/basic/BasicScrollBarUI.java 
2143         (getPreferredSize): Don't redo layout.
2144         * javax/swing/plaf/basic/BasicViewportUI.java 
2145         (paint): Translate image properly and eat exceptions.
2146
2147 2004-06-15  Kim Ho  <kho@redhat.com>
2148
2149         * javax/swing/JTabbedPane.java
2150         (setComponent): Remove old component and
2151         add new component.
2152         (setSelectedIndex): Don't operate on the 
2153         components if they're null. Don't set index
2154         on the model if the index is the same.
2155         (insertTab): Don't add or hide the component
2156         if it's null. Repaint the container.
2157         * javax/swing/plaf/basic/BasicLookAndFeel.java
2158         Change colors for TabbedPane.
2159         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2160         (mousePressed): Re-layout and paint the component.
2161         (layoutContainer): Don't set location on the view.
2162         (ScrollingViewport::paint): Remove.
2163
2164 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2165
2166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2167         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2168
2169         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2170         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2171         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
2172         critical region.
2173         (drawLine): Call gdk_flush before leaving GDK critical region.
2174         (fillRect): Likewise.
2175         (drawRect): Likewise.
2176         (copyArea): Likewise.
2177         (copyPixmap): Likewise.
2178         (clearRect): Likewise.
2179         (drawArc): Likewise.
2180         (drawPolyline): Likewise.
2181         (drawPolygon): Likewise.
2182         (fillPolygon): Likewise.
2183         (fillArc): Likewise.
2184         (drawOval): Likewise.
2185         (fillOval): Likewise.
2186
2187         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2188         style parameter.
2189         (GdkFontMetrics): Add style argument to initState call.
2190         (stringWidth(String,int,int,String)): Add style parameter.
2191         (stringWidth(String)): Add style argument to stringWidth call.
2192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2193         (initState): Set pango font style and weight based on AWT style
2194         parameter.  Pass default GTK language to
2195         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
2196         simply dividing by PANGO_SCALE.
2197         (stringWidth): Set pango font style and weight based on AWT style
2198         parameter.
2199
2200         * java/awt/Button.java (next_button_number): New field.
2201         (paramString): Change output.
2202         (generateName): New method.
2203         (getUniqueLong): New method.
2204
2205 2004-06-14  Kim Ho  <kho@redhat.com>
2206
2207         * javax/swing/JTabbedPane.java:
2208         (setComponentAt): Set the component, not
2209         the enabled status.
2210         * javax/swing/plaf/basic/BasicDesktopIconUI.java
2211         (actionPerformed): Let deiconize catch exception.
2212
2213 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2214
2215         * javax/swing/JPopupMenu.java:
2216         (setVisible): Corrected location of a 
2217         heavyweight popup menu.
2218
2219 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2220
2221         * javax/swing/MenuSelectionManager.java: 
2222         Ran through jalopy to fix formatting style.
2223
2224 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2225         
2226         * javax/swing/JLayeredPane.java: 
2227         (remove): Revalidate and repaint layered pane after
2228         the component was removed.
2229         javax/swing/JMenu.java:
2230         (setVisible): Display popup menu at the user location,
2231         if one was set by the user.
2232         (setMenuLocation): Reimplemented. Fixed javadoc.
2233         * javax/swing/JMenuBar.java: Added javadoc.
2234         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2235         (MODEL_CHANGED_PROPERTY): New Property.
2236         (isSelected): Implemented.
2237         (setBorderPainted): Fire PropertyChangeEvent
2238         if paintBorder property changes.
2239         (setSelected): Implemented.
2240         (setSelectionModel): Implemented.
2241         * javax/swing/JPopupMenu.java: Added Javadoc
2242         (pack): Implemented.
2243         (setVisible): Reimplemented.
2244         (show): Fixed location.
2245         (JPopupMenu.LigthWeightPopup): Reimplemented to use
2246         Container instead of JPanel.
2247         * javax/swing/MenuSelectionManager.java: Added Javadocs.
2248         (clearSelectedPath): Reimplemented to clear selectedPath
2249         in reverse order.
2250         (processMouseEvent): Reimplemented.
2251         (setSelectedPath): Fire stateChange event indicating that
2252         selected menu path has changed.
2253         (getPath): Change to use ArrayList instead of Vector.
2254         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2255         (installUI): call installKeyboardActions().
2256         (uninstallUI): call uninstallKeyboardActions().
2257
2258 2004-06-13  Michael Koch  <konqueror@gmx.de>
2259
2260         * javax/swing/text/DefaultCaret.java,
2261         javax/swing/text/BadLocationException.java:
2262         Reformatted.
2263
2264 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2265
2266         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2267         DEFAULT_COLS): New variables.
2268         (create): Don't allow 0 rows or 0 columns.  Instead, set the
2269         values to DEFAULT_ROWS or DEFAULT_COLS.
2270         (getMinimumSize): Likewise.
2271         (getPreferredSize): Likewise.
2272         (minimumSize): Likewise.
2273         (preferredSize): Likewise.
2274         (create): Set peer's editable state.
2275         * java/awt/TextArea.java (TextArea()): Set rows and columns to
2276         zero.  Update javadocs.
2277         (TextArea(String)): Likewise.
2278         (TextArea(int,int)): Fix javadocs.
2279         (TextArea(String,int,int,int)): Only throw exception if one of
2280         rows or columns is zero.  Fix javadocs.
2281
2282 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2283
2284         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2285         addition to Components.
2286
2287         * java/awt/MenuItem.java (dispatchEventImpl): If the event
2288         wasn't consumed by normal processing, send it to the parent
2289         menu.
2290
2291         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2292         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2293         translation.
2294
2295 2004-06-11  David Jee  <djee@redhat.com>
2296
2297         * java/awt/MediaTracker.java
2298         (addImage(Image,int)): Call imageUpdate() to udpate image status.
2299         (addImage(Image,int,int,int)): Likewise.
2300
2301 2004-06-11  Michael Koch  <konqueror@gmx.de>
2302
2303         * javax/swing/text/AbstractDocument.java,
2304         javax/swing/text/Document.java,
2305         javax/swing/text/GapContent.java,
2306         javax/swing/text/JTextComponent.java,
2307         javax/swing/text/PlainDocument.java:
2308         Reformatted.
2309
2310 2004-06-11  Michael Koch  <konqueror@gmx.de>
2311
2312         * javax/swing/JRootPane.java
2313         (AccessibleJRootPane.serialVersionUID): New field.
2314         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2315         (AccessibleJRootPane.getAccessibleRole): New method.
2316         (RootLayout): Implements Serializable.
2317         (RootLayout.serialVersionUID): New field.
2318         (RootLayout.RootLayout): New constructor.
2319         (setJMenuBar): Made public.
2320         (getJMenuBar): Likewise.
2321         (JRootPane): Likewise.
2322         (createContentPane): Likewise.
2323         (createGlassPane): Likewise.
2324         (createLayeredPane): Likewise.
2325
2326 2004-06-11  Michael Koch  <konqueror@gmx.de>
2327
2328         * javax/swing/SwingUtilities.java
2329         (isLeftMouseButton): Fixed javadoc.
2330         (isMiddleMouseButton): Likewise.
2331         (isRightMouseButton): Likewise.
2332
2333 2004-06-11  Michael Koch  <konqueror@gmx.de>
2334
2335         * javax/swing/JScrollPane.java
2336         (serialVersionUID): New field.
2337         (columnHeader): Made protected.
2338         (rowHeader): Likewise.
2339         (lowerLeft): Likewise.
2340         (lowerRight): Likewise.
2341         (upperLeft): Likewise.
2342         (upperRight): Likewise.
2343         (horizontalScrollBar): Likewise.
2344         (horizontalScrollBarPolicy): Likewise.
2345         (verticalScrollBar): Likewise.
2346         (verticalScrollBarPolicy): Likewise.
2347         (viewport): Likewise.
2348
2349 2004-06-11  Michael Koch  <konqueror@gmx.de>
2350
2351         * javax/swing/LookAndFeel.java: Fixed javadocs.
2352
2353 2004-06-11  Michael Koch  <konqueror@gmx.de>
2354
2355         * javax/swing/JEditorPane.java: Fixed javadocs.
2356         (JEditorPane): Removed redundant call to to this().
2357         (fireHyperlinkUpdate): Implemented.
2358
2359 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2360
2361         * javax/swing/JMenu.java: Fixed file name 
2362         in the file comment.
2363
2364 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2365
2366         * javax/swing/JMenu.java: Added javadoc.
2367         (JMenu): Added MenuChangeListener to listen to 
2368         ChangeEvents occuring in menu's model. 
2369         (insert): Throw IllegalArgumentException if 
2370         index is less than 0
2371         (setSelected): Reimplement.
2372         (setPopupMenuVisible): Call menu's model isEnabled()
2373         (setDelay): Throw IllegalArgumentException if 
2374         given amount of delay is less than 0.
2375         (createActionComponent): Implemented.
2376         (createActionChangeListener): Implemented.
2377         (addSeparator): Implemented.
2378         (getItem): Throw IllegalArgumentException if index is 
2379         less than 0.
2380         (getItemCount): Implemented.
2381         (fireMenuSelected): Changed to use menuEvent.
2382         (fireMenuDeselected): Likewise.
2383         (fireMenuCanceled): Likewise.
2384         (setAccelerator): Changed to throw an error if this 
2385         method is used. 
2386         (doClick): Implemented.
2387         (JMenu.ActionChangedListener): New inner class to handle
2388         PropertyChangeEvents occuring in the actions associated with menu.
2389         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2390         (BasicMenuUI): Added PropertyChangeListener to the menu.
2391         (createChangeListener): Implemented.
2392         (createMenuDragMouseListener): Likewise.
2393         (createMenuKeyListener): Likewise.
2394         (createPropertyChangeListener): Likewise.
2395         (uninstallListeners): Likewise.
2396         (BasicMenuUI.MouseInputHandler): Reimplemented.
2397         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2398         (BasicMenuUI.ChangeHandler): Likewise.
2399         (BasicMenuUI.MenuDragMouseHandler): Likewise.
2400         (BasicMenuUI.MenuKeyHandler): Likewise.
2401
2402 2004-06-10  David Jee  <djee@redhat.com>
2403
2404         * java/awt/MediaTracker.java
2405         (imageUpdate): Only do notifyAll() if the image is complete.
2406
2407 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2408
2409         * javax/swing/JApplet.java:
2410         (getJMenuBar): Made public.
2411         (setJMenuBar): Likewise.
2412         * javax/swing/JFrame.java:
2413         (getJMenuBar): Made public.
2414         (setJMenuBar): Likewise.
2415         * javax/swing/JWindow.java:
2416         (getJMenuBar): Removed.
2417         (setJMenuBar): Removed.
2418
2419 2004-06-10  Michael Koch  <konqueror@gmx.de>
2420
2421         * javax/swing/JEditorPane.java
2422         (createEditorKitForContentType): Fixed visibility.
2423         (fireHyperlinkUpdate): Likewise.
2424         (getContentType): Likewise.
2425         (getEditorKit): Likewise.
2426         (getEditorKitForContentType): Likewise.
2427         (getPage): Likewise.
2428         (read): Likewise.
2429         (registerEditorKitForContentTyoe): Likewise.
2430         (replaceSelection): Likewise.
2431         (setContentType): Likewise.
2432         (setEditorKit): Likewise.
2433         (setPage): Likewise.
2434
2435 2004-06-10  Michael Koch  <konqueror@gmx.de>
2436
2437         * javax/swing/Timer.java
2438         (Timer): New constructor.
2439         * javax/swing/plaf/basic/BasicProgressBarUI.java
2440         (animationTimer): Don't initialize at construction.
2441         (startAnimationTimer): Added since tag.
2442         (stopAnimationTimer): Likewise.
2443         (installUI): Use new Timer constructor.
2444         * javax/swing/plaf/basic/BasicScrollBarUI.java
2445         (installUI): Likewise.
2446         * javax/swing/plaf/basic/BasicSliderUI.java
2447         (installUI): Likewise.
2448
2449 2004-06-10  Michael Koch  <konqueror@gmx.de>
2450
2451         * javax/swing/ButtonGroup.java
2452         (serialVersionUID): Made private.
2453         (buttons): Renamed from v, added javadoc.
2454         (sel): Added javadoc.
2455         (ButtonGroup): Likewise.
2456         (add): Likewise.
2457         (remove): Likewise.
2458         (getElements): Likewise.
2459         (getSelection): Likewise.
2460         (setSelected): Likewise.
2461         (isSelected): Likewise.
2462         (getButtonCount): Likewise.
2463
2464 2004-06-10  Michael Koch  <konqueror@gmx.de>
2465
2466         * javax/swing/ButtonGroup.java,
2467         javax/swing/ImageIcon.java,
2468         javax/swing/JEditorPane.java,
2469         javax/swing/JRootPane.java,
2470         javax/swing/JTextField.java,
2471         javax/swing/LookAndFeel.java,
2472         javax/swing/plaf/basic/BasicTextUI.java:
2473         Reindented.
2474
2475 2004-06-10  Michael Koch  <konqueror@gmx.de>
2476
2477         * javax/swing/text/Style.java: Added javadocs.
2478
2479 2004-06-10  Michael Koch  <konqueror@gmx.de>
2480
2481         * javax/swing/JComponent.java
2482         (fireVetoableChange): Removed redundant cast.
2483         * javax/swing/JLabel.java
2484         (getDisabledIcon): Save icon for next call.
2485
2486 2004-06-10  Michael Koch  <konqueror@gmx.de>
2487
2488         * javax/swing/KeyStroke.java
2489         (getKeyStroke(char,boolean)): Marked deprecated.
2490
2491 2004-06-10  Michael Koch  <konqueror@gmx.de>
2492
2493         * javax/swing/DefaultCellEditor.java,
2494         javax/swing/GrayFilter.java,
2495         javax/swing/event/DocumentEvent.java,
2496         javax/swing/text/JTextComponent.java,
2497         javax/swing/text/MutableAttributeSet.java:
2498         Reindented.
2499
2500 2004-06-10  Michael Koch  <konqueror@gmx.de>
2501
2502         * javax/swing/plaf/BorderUIResource.java:
2503         Added serialVersionUID all over.
2504
2505 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
2506
2507         * javax/swing/undo/UndoManager.java: Re-written from scratch.
2508
2509 2004-06-10  Michael Koch  <konqueror@gmx.de>
2510
2511         * javax/swing/table/DefaultTableCellRenderer.java
2512         (noFocusBorder): Initialize directly.
2513
2514 2004-06-10  Michael Koch  <konqueror@gmx.de>
2515
2516         * javax/swing/plaf/basic/BasicArrowButton.java
2517         (setDirection): Use method argument.
2518
2519 2004-06-10  Michael Koch  <konqueror@gmx.de>
2520
2521         * javax/swing/plaf/BorderUIResource.java,
2522         javax/swing/plaf/ComponentUI.java,
2523         javax/swing/undo/CompoundEdit.java,
2524         javax/swing/undo/StateEdit.java:
2525         Fixed javadocs all over.
2526
2527 2004-06-10  Michael Koch  <konqueror@gmx.de>
2528
2529         * javax/swing/DefaultButtonModel.java
2530         (ARMED): Made public final, fixed value.
2531         (ENABLED): Likewise.
2532         (PRESSED): Likewise.
2533         (ROLLOVER): Likewise.
2534         (SELECTED): Likewise.
2535         (stateMask): Initialize directly.
2536         (listenerList): Likewise.
2537         (mnemonic): Likewise.
2538         (fireStateChanged): Removed argument, use changeEvent as event.
2539         All places where this method is called are fixed too.
2540         (getActionCommant): Fixed javadoc.
2541         (setGroup): Fixed javadoc.
2542         (getGroup): New method.
2543
2544 2004-06-09  Olga Rodimina <rodimina@redhat.com>
2545
2546         * javax/swing/AbstractButton.java
2547         (AbstractButton): Use init() to initialize the button.
2548         (init): New Method. Initializes AbstractButton.
2549         * javax/swing/JMenuItem.java: Documented.
2550         (JMenuItem): Reimplemented.
2551         (init): Implemented.
2552         (setEnabled): Changed to call super.setEnabled()
2553         (processMouseEvent): Reimplemented.
2554         (fireMenuKeyPressed): Implemented.
2555         (fireMenuKeyReleased): Implemented.
2556         (fireMenuKeyTyped): Implemented.
2557         (menuSelectionChanged): disarm the model if the menu item was
2558         deselected.
2559         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2560         (getPath): Change to use ArrayList instead of Vector.
2561         (getPreferredSize): Renamed variable.
2562         (paintMenuItem): Paint margin area of menu item.
2563         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2564         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2565         menu item's bounds before clearing the selection.       
2566
2567 2004-06-09  David Jee  <djee@redhat.com>
2568
2569         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2570         (GtkTextComponentPeer): Set caret position to 0.
2571         * java/awt/TextComponent.java
2572         (setText): Set caret position to 0.
2573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2574         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2575         Handle GtkScrolledWindow separately. Fix signal handler blocking.
2576         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2577         Likewise.
2578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2579         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2580         visible.
2581
2582 2004-06-09  Kim Ho  <kho@redhat.com>
2583
2584         * Makefile.am: New files
2585         * Makefile.in: Regenerated
2586         * java/awt/Container.java
2587         (getComponentAt): Removed.
2588         * javax/swing/AbstractAction.java
2589         (ENABLED_PROPERTY): New property.
2590         (putValue): Fire PropertyChangeEvents.
2591         (setEnabled): ditto.
2592         (firePropertyChange): Javadoc and implement
2593         convenience method.
2594         * javax/swing/AbstractButton.java
2595         (setAction): Don't create PropertyChangeListener
2596         if new Action is null.
2597         (setIcon): Don't set icon till after comparing
2598         it.
2599         (configurePropertiesFromAction): Check mnemonic
2600         key before calling intValue().
2601         (createActionPropertyChangeListener): Check
2602         properties rather than bulk change.
2603         * javax/swing/DefaultDesktopManager.java:
2604         Implement.
2605         * javax/swing/DesktopManager.java:
2606         Jalopy and javadoc.
2607         * javax/swing/JComponent.java
2608         (fireVetoableChange): Implement.
2609         (paintImmediately): Use root component.
2610         * javax/swing/JDesktopPane.java: Implement
2611         * javax/swing/JInternalFrame.java: Implement
2612         * javax/swing/JLabel.java
2613         (getDisabledIcon): Return grayscaled icon if
2614         no disabled icon specified.
2615         * javax/swing/JMenuBar.java
2616         (getComponentAtIndex): Use getComponent
2617         * javax/swing/JOptionPane.java
2618         (getDesktopPaneForComponent): Use SwingUtilities'
2619         getAncestorOfClass
2620         (getFrameForComponent): ditto.
2621         * javax/swing/JSplitPane.java
2622         (remove): Use getComponent.
2623         * javax/swing/SwingUtilities.java
2624         (convertPoint): Implement.
2625         * javax/swing/plaf/basic/BasicButtonUI.java
2626         (paintButtonNormal): Check opaqueness before
2627         filling background.
2628         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
2629         Implement
2630         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
2631         Implement.
2632         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2633         Implement.
2634         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2635         Implement.
2636         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2637         Change InternalFrame and Desktop colors.
2638
2639 2004-06-09  David Jee  <djee@redhat.com>
2640
2641         * java/awt/Container.java
2642         (remove): Do not set component to invisible.
2643
2644 2004-06-09  Michael Koch  <konqueror@gmx.de>
2645
2646         * javax/swing/tree/DefaultMutableTreeNode.java
2647         (getLeafCount): Renamed enum to e.
2648
2649 2004-06-09  Michael Koch  <konqueror@gmx.de>
2650
2651         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2652         (positionForMouseEvent): Removed redundant semicolon.
2653         (continueDrag): Use method arguments.
2654
2655 2004-06-09  Michael Koch  <konqueror@gmx.de>
2656
2657         * javax/swing/border/TitledBorder.java,
2658         javax/swing/filechooser/FileSystemView.java,
2659         javax/swing/plaf/basic/BasicButtonListener.java,
2660         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2661         javax/swing/plaf/basic/BasicLabelUI.java,
2662         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2663         javax/swing/plaf/basic/BasicScrollBarUI.java,
2664         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2665         javax/swing/plaf/basic/BasicSliderUI.java,
2666         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2667         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2668         javax/swing/table/JTableHeader.java,
2669         javax/swing/text/AbstractDocument.java,
2670         javax/swing/text/DefaultCaret.java,
2671         javax/swing/text/StyledEditorKit.java,
2672         javax/swing/tree/DefaultTreeCellEditor.java:
2673         Reworked import statements.
2674
2675 2004-06-08  Graydon Hoare  <graydon@redhat.com>
2676
2677         * javax/swing/Box.java: Temporarily comment out code
2678         broken due to visibility bug.
2679
2680 2004-06-09  Michael Koch  <konqueror@gmx.de>
2681
2682         * javax/swing/ImageIcon.java
2683         (ImageIcon): Added missing constructor.
2684
2685 2004-06-08  Michael Koch  <konqueror@gmx.de>
2686
2687         * javax/swing/JToggleButton.java
2688         (JToggleButton): New constructor.
2689         (getAccessibleContext): Moved documentation into javadoc.
2690         (getUIClassID): Likewise.
2691
2692 2004-06-08  Michael Koch  <konqueror@gmx.de>
2693
2694         * javax/swing/AbstractButton.java
2695         (getDisabledIcon): Create disabled icon if none exists yet.
2696
2697 2004-06-08  Michael Koch  <konqueror@gmx.de>
2698
2699         * javax/swing/plaf/basic/BasicLookAndFeel.java
2700         (initClassDefaults): Added FormattedTextFieldUI.
2701         (loadResourceBundle): Renamed enum to e.
2702
2703 2004-06-08  Michael Koch  <konqueror@gmx.de>
2704
2705         * javax/swing/plaf/basic/BasicButtonUI.java
2706         (paintIcon): Simplified.
2707         (paintText): Paint disabled button correctly.
2708
2709 2004-06-08  Michael Koch  <konqueror@gmx.de>
2710
2711         * javax/swing/JComponent.java
2712         (createToolTip): Use official JToolTip API.
2713
2714 2004-06-08  Michael Koch  <konqueror@gmx.de>
2715
2716         * javax/swing/JToolTip.java
2717         (JToolTip): No arguments in API.
2718         (setTipText): New method.
2719
2720 2004-06-08  Michael Koch  <konqueror@gmx.de>
2721
2722         * javax/swing/SwingUtilities.java
2723         (isLeftMouseButton): New method.
2724         (isMiddleMouseButton): New method.
2725         (isRightMouseButton): New method.
2726
2727 2004-06-08  Michael Koch  <konqueror@gmx.de>
2728
2729         * javax/swing/AbstractButton.java,
2730         javax/swing/CellRendererPane.java,
2731         javax/swing/JCheckBoxMenuItem.java,
2732         javax/swing/JColorChooser.java,
2733         javax/swing/JComboBox.java,
2734         javax/swing/JComponent.java,
2735         javax/swing/JDesktopPane.java,
2736         javax/swing/JFileChooser.java,
2737         javax/swing/JMenu.java,
2738         javax/swing/JMenuItem.java,
2739         javax/swing/JOptionPane.java,
2740         javax/swing/JPasswordField.java,
2741         javax/swing/JPopupMenu.java,
2742         javax/swing/JProgressBar.java,
2743         javax/swing/JRadioButtonMenuItem.java,
2744         javax/swing/JScrollBar.java,
2745         javax/swing/JSeparator.java,
2746         javax/swing/JSlider.java,
2747         javax/swing/JSplitPane.java,
2748         javax/swing/JTabbedPane.java,
2749         javax/swing/JTextField.java,
2750         javax/swing/JToolBar.java,
2751         javax/swing/text/JTextComponent.java:
2752         Fixed all constructors of accessibility classes.
2753
2754 2004-06-08  Michael Koch  <konqueror@gmx.de>
2755
2756         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
2757         over.
2758
2759 2004-06-08  Michael Koch  <konqueror@gmx.de>
2760
2761         * javax/swing/Box.java
2762         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
2763         (AccessibleBoxFiller.serialVersionUID): New member variable.
2764         * javax/swing/DefaultButtonModel.java
2765         (stateMask): Made protected.
2766         (listenerList): Likewise.
2767         (changeEvent): Likewise.
2768         (group): Likewise.
2769         (mnemonic): Likewise.
2770         (actionCommand): Likewise.
2771         (getListeners): New method.
2772         (getActionListeners): New method.
2773         (getItemListeners): New method.
2774         (getChangeListeners): New method.
2775         (fireItemStateChanged): Simplified.
2776         (fireActionPerformed): Simplified.
2777         (fireStateChanged): Simplified.
2778         * javax/swing/JFrame.java
2779         (JFrame): Implements WindowContants.
2780         (HIDE_ON_CLOSE): Removed.
2781         (EXIT_ON_CLOSE): Removed.
2782         (DISPOSE_ON_CLOSE): Removed.
2783         (DO_NOTHING_ON_CLOSE): Removed.
2784         (processWindowEvent): Exit with code 0.
2785         (setDefaultCloseOperation): Do security check before setting value.
2786         * javax/swing/JOptionPane.java
2787         (message): Initialize only in constructor.
2788         * javax/swing/JToolTip.java: Removed unused imports.
2789         * javax/swing/JViewport.java
2790         (serialVersionUID): New member variable.
2791         (SIMPLE_SCROLL_MODE): Made final, fixed value.
2792         (BLIT_SCROLL_MODE): Likewise.
2793         (BACKINGSTORE_SCROLL_MODE): Likewise.
2794         (scrollUnderway): Made protected.
2795         (isViewSizeSet): Likewise.
2796         * javax/swing/ListModel.java: Fixed javadoc.
2797         * javax/swing/Popup.java: Likewise.
2798         * javax/swing/RepaintManager.java
2799         (paintDirtyRegions): Don't use internal classes of
2800         java.util.AbstractMap.
2801         * javax/swing/ScrollPaneConstants.java: Reindented.
2802         * javax/swing/ScrollPaneLayout.java
2803         (viewport): Made protected.
2804         (verticalScrollBar): Made protected, renamed to vsb.
2805         (horizontalScrollBar): Made protected, renamed to hsb.
2806         (rowHeader): Made protected, renamed to rowHead.
2807         (columnHeader): Made protected, renamed to colHead.
2808         (lowerLeft): Made protected.
2809         (lowerRight): Made protected.
2810         (upperLeft): Made protected.
2811         (upperRight): Made protected.
2812         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
2813         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
2814
2815 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
2816
2817         * java/awt/MediaTracker.java (imageUpdate): Only set status to
2818         LOADING if flags has SOMEBITS set.
2819
2820 2004-06-07  Michael Koch  <konqueror@gmx.de>
2821
2822         * javax/swing/AbstractButton.java: Reorganized imports.
2823         * javax/swing/ActionMap.java: Likewise.
2824         * javax/swing/DefaultButtonModel.java: Likewise.
2825         * javax/swing/DefaultListModel.java: Likewise.
2826         * javax/swing/ImageIcon.java: Likewise.
2827         (serialVersionUID): New member variable.
2828         * javax/swing/JComboBox.java: Reorganized imports.
2829         * javax/swing/JComponent.java: Likewise.
2830         (ui): Made protected.
2831         (listenerList): Made protected.
2832         (TOOL_TIP_TEXT_KEY): New constant.
2833         (scrollRectToVisible): Removed redundant null check.
2834         * javax/swing/JFrame.java: Reorganized imports.
2835         * javax/swing/JInternalFrame.java: Reorganized imports.
2836         * javax/swing/JProgressBar.java: Likewise.
2837         * javax/swing/JRootPane.java: Likewise.
2838         * javax/swing/JScrollBar.java: Likewise.
2839         * javax/swing/JSeparator.java: Likewise.
2840         * javax/swing/JSlider.java: Likewise.
2841         * javax/swing/JTabbedPane.java: Likewise.
2842         * javax/swing/JTextField.java: Likewise.
2843         * javax/swing/JToolBar.java: Likewise.
2844         * javax/swing/JTree.java: Likewise.
2845         * javax/swing/JViewport.java: Likewise.
2846         * javax/swing/JWindow.java: Likewise.
2847         * javax/swing/KeyStroke.java: Likewise.
2848         * javax/swing/LookAndFeel.java: Likewise.
2849         * javax/swing/MenuSelectionManager.java: Likewise.
2850         * javax/swing/SwingUtilities.java: Likewise.
2851         * javax/swing/Timer.java: Likewise.
2852         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
2853         * javax/swing/JList.java
2854         (HORIZONTAL_WRAP): Made final, fixed value.
2855         (VERTICAL): Likewise.
2856         (VERTICAL_WRAP): Likewise.
2857
2858 2004-06-07  Michael Koch  <konqueror@gmx.de>
2859
2860         * javax/swing/AbstractButton.java
2861         (serialVersionUID): New member variable.
2862         (AccessibleAbstractButton.serialVersionUID): Likewise.
2863         (AbstractButton): Made public.
2864         * javax/swing/Box.java
2865         (AccessibleBox.serialVersionUID): New member variable.
2866         (Filler.serialVersionUID): Likewise.
2867         * javax/swing/DefaultListSelectionModel.java
2868         (serialVersionUID): Likewise.
2869         * javax/swing/JApplet.java
2870         (serialVersionUID): Likewise.
2871         * javax/swing/JCheckBox.java
2872         (serialVersionUID): Likewise.
2873         * javax/swing/JCheckBoxMenuItem.java
2874         (serialVersionUID): Likewise.
2875         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
2876         * javax/swing/JColorChooser.java
2877         (serialVersionUID): Likewise.
2878         (AccessibleJColorChooser.serialVersionUID): Likewise.
2879         * javax/swing/JComponent.java
2880         (serialVersionUID): Made private.
2881         (AccessibleJComponent.serialVersionUID): New member variable.
2882         * javax/swing/JDesktopPane.java
2883         (serialVersionUID): Likewise.
2884         * javax/swing/JDialog.java
2885         (serialVersionUID): Likewise.
2886         * javax/swing/JFormattedTextField.java
2887         (serialVersionUID): Fixed value.
2888         * javax/swing/JFrame.java
2889         (serialVersionUID): New member variable.
2890         (getDefaultCloseOpertation): Made public.
2891         * javax/swing/JLayeredPane.java
2892         (serialVersionUID): Likewise.
2893         (LAYER_PROPERTY): Made final, fixed value.
2894         (JLayeredPane): Made public.
2895         * javax/swing/JMenu.java
2896         (AccessibleJMenu.serialVersionUID): New member variable.
2897         (WinListener.serialVersionUID): Likewise.
2898         * javax/swing/JMenuBar.java
2899         (serialVersionUID): Likewise.
2900         (getComponentAtIndex): Added @deprecated tag.
2901         * javax/swing/JMenuItem.java
2902         (serialVersionUID): New member variable.
2903         (AccessibleJMenuItem.serialVersionUID): Likewise.
2904         * javax/swing/JOptionPane.java
2905         (serialVersionUID): Likewise.
2906         (AccessibleJOptionPane.serialVersionUID): Likewise.
2907         * javax/swing/JPopupMenu.java
2908         (serialVersionUID): Likewise.
2909         (AccessibleJPopupMenu.serialVersionUID): Likewise.
2910         (getPopupMenuListeners): New method.
2911         (getComponentAtIndex): Added @deprecated tag.
2912         * javax/swing/JProgressBar.java
2913         (serialVersionUID): New member variable.
2914         (AccessibleJProgressBar.serialVersionUID): Likewise.
2915         * javax/swing/JRadioButton.java
2916         (serialVersionUID): Likewise.
2917         * javax/swing/JRadioButtonMenuItem.java
2918         (serialVersionUID): Likewise.
2919         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
2920         * javax/swing/JScrollBar.java
2921         (serialVersionUID): Likewise.
2922         (AccessibleJScrollBar.serialVersionUID): Likewise.
2923         * javax/swing/JSeparator.java
2924         (serialVersionUID): Likewise.
2925         (AccessibleJSeparator.serialVersionUID): Likewise.
2926         * javax/swing/JSlider.java: Fixed javadocs.
2927         (AccessibleJSlider.serialVersionUID): New member variable.
2928         * javax/swing/JSplitPane.java: Added copyright statement.
2929         (serialVersionUID): New member variable.
2930         (AccessibleJSplitPane.serialVersionUID): Likewise.
2931         * javax/swing/JTabbedPane.java
2932         (serialVersionUID): Likewise.
2933         (AccessibleJTabbedPane.serialVersionUID): Likewise.
2934         (ModelListener.serialVersionUID): Likewise.
2935         (ModelListener.ModelListener): New constructor.
2936         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
2937         (WRAP_TAB_LAYOUT): Likewise.
2938         * javax/swing/JTable.java
2939         (serialVersionUID): New member variable.
2940         * javax/swing/JToggleButton.java
2941         (serialVersionUID): Likewise.
2942         (ToggleButtonModel): Made static.
2943         (ToggleButtonModel.serialVersionUID): New member variable.
2944         * javax/swing/JToolTip.java
2945         (serialVersionUID): Likewise.
2946         * javax/swing/JTree.java
2947         (serialVersionUID): Likewise.
2948         * javax/swing/JWindow.java
2949         (serialVersionUID): Likewise.
2950         * javax/swing/Timer.java
2951         (serialVersionUID): Likewise.
2952
2953 2004-06-06  Michael Koch  <konqueror@gmx.de>
2954
2955         * javax/swing/SwingConstants.java
2956         (NEXT): New constant.
2957         (PREVIOUS): Likewise.
2958         * javax/swing/UIManager.java
2959         (LookAndFeel): Made public.
2960         (LookAndFeel.getClassName): Likewise.
2961         (LookAndFeel.getName): Likewise.
2962
2963 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
2964
2965         * javax/swing/JCheckBoxMenuItem.java:
2966         Removed CVS tags.
2967         * javax/swing/JMenu.java: Likewise.
2968         * javax/swing/JMenuBar.java: Likewise.
2969         * javax/swing/JMenuItem.java: Likewise.
2970         * javax/swing/JPopupMenu.java: Likewise.
2971         * javax/swing/JRadioButtonMenuItem.java: Likewise.
2972         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
2973         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2974         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2975         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
2976         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
2977         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
2978
2979 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
2980         
2981         * javax/swing/plaf/basic/BasicMenuUI.java:
2982         (MouseEntered): Do not call getPath() from MenuSelectionManager.
2983         Call getPath() from super class instead.
2984
2985 2004-05-31  David Jee  <djee@redhat.com>
2986
2987         * java/awt/Container.java
2988         (remove): Set component visibility to false after removing it.
2989
2990 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2991
2992         * java/awt/Component.java (getForeground): Return SystemColor if
2993         parent is null.
2994         (getBackground): Likewise.
2995
2996         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2997         (item_highlighted): New function.
2998         (connectSignals): Set item_highlighted as list's select
2999         function.
3000
3001         * java/applet/Applet.java: Revert changes from 2004-04-29,
3002         2004-03-15 and 2004-03-14.
3003
3004         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3005         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3006         factor.
3007
3008         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3009         "Dialog" as the default font.
3010         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3011         Likewise.
3012         * java/awt/Component.java (getFont): Return "Dialog" font by
3013         default.
3014         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3015         Multiply size argument to pango_font_description_set_size by the
3016         DPI conversion factor rather than by PANGO_SCALE.
3017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3018         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3019         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3021         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3024         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3027         Divide baseline y coordinate by DPI conversion factor rather
3028         than by PANGO_SCALE.
3029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3030         (area_prepared): Fix typo.
3031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3032         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3034         (dpi_conversion_factor): New global variable.
3035         (init_dpi_conversion_factor): New function to calculate and
3036         track DPI conversion factor.
3037         (dpi_changed_cb): New callback.
3038         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3039
3040 2004-05-27  David Jee  <djee@redhat.com>
3041
3042         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3043         (getGraphics): Return a new GdkGraphics instance.
3044         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3045         (getGraphics): Call super.getGraphics().
3046
3047 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3048
3049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3050         (setNativeBounds): Clamp width and height values to >= 0.
3051
3052         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3053         (find_fg_color_widget): Handle GtkOptionMenu specially.
3054
3055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3056         (pre_event_handler): Only post configure events to visible
3057         top-level windows.
3058
3059 2004-05-26  David Jee  <djee@redhat.com>
3060
3061         * java/awt/BorderLayout.java
3062         (layoutContainer): Fix size calculations.
3063
3064 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3065
3066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3067         (window_wm_protocols_filter): Remove function.
3068         (create): Remove filter that removes WM_TAKE_FOCUS client
3069         messages.
3070
3071 2004-06-17  Anthony Green  <green@redhat.com>
3072
3073         * java/util/zip/ZipFile.java (getInputStream): Return null if
3074         entry not found.
3075
3076         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3077         directory contents to the class path.
3078
3079 2004-06-15  Andrew Haley  <aph@redhat.com>
3080
3081         * java/lang/natSystem.cc (getenv0): Don't assume environment
3082         variable is Latin 1 coded.
3083
3084 2004-06-14  Andreas Jaeger  <aj@suse.de>
3085
3086         * configure.in: Support --enable-version-specific-runtime-libs.
3087         * configure: Regenerated.
3088
3089 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
3090
3091         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3092         to pass ClassLoader argument.
3093         * java/util/GregorianCalendar.java: Likewise.
3094         * java/util/Currency.java: Likewise.
3095         * java/text/BreakIterator.java: Likewise.
3096         * java/text/Collator.java: Likewise.
3097         * java/text/DateFormat.java: Likewise.
3098         * java/text/DateFormatSymbols.java: Likewise.
3099         * java/text/DecimalFormatSymbols.java: Likewise.
3100         * java/text/NumberFormat.java: Likewise.
3101         * java/awt/Window.java: Likewise.
3102
3103 2004-06-14  Andrew Haley  <aph@redhat.com>
3104
3105         * java/lang/System.java: (getenv0): New method.
3106         (getenv): Add security check.  Do the right thing.
3107         * java/lang/natSystem.cc (getenv0): New method.
3108
3109 2004-06-12  Mark Wielaard  <mark@klomp.org>
3110
3111         * javax/swing/RepaintManager.java
3112         (paintDirtyRegions): Use entrySet(), not values().
3113
3114 2004-06-10  Mark Wielaard  <mark@klomp.org>
3115
3116         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3117         NoSuchMethodError.
3118
3119 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
3120
3121         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
3122         when we already know the answer.
3123         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3124         (setStartRule,setEndRule): Don't take abs of day number.
3125         (getOffset): Clarify docs.  Add argument checks.
3126         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3127         (equals,hasSameRules,toString,readObject): Use startTimeMode and
3128         endTimeMode.
3129
3130 2004-06-10  Tom Tromey  <tromey@redhat.com>
3131
3132         * interpret.cc (run): Handle wide fload.
3133
3134 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
3135
3136         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3137
3138 2004-06-05  Michael Koch  <konqueror@gmx.de>
3139
3140         * javax/swing/SwingConstants.java
3141         (NEXT): New constant.
3142         (PREVIOUS): Likewise.
3143
3144 2004-06-05  Michael Koch  <konqueror@gmx.de>
3145
3146         * javax/swing/UIManager.java
3147         (LookAndFeel): Made public.
3148         (LookAndFeel.getName): Likewise.
3149         (LookAndFeel.getClassName): Likewise.
3150
3151 2004-06-03  Michael Koch  <konqueror@gmx.de>
3152
3153         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3154         (requestFocus): Revert last changes.
3155         (gtkRequestFocus): Removed.
3156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3157         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3158         Renamed to ...
3159         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3160         Reverted last patch.
3161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3162         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3163         Reverted comment change.
3164
3165 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
3166
3167         * javax/swing/JCheckBoxMenuItem.java:
3168         Removed CVS tags.
3169         * javax/swing/JMenu.java: Likewise.
3170         * javax/swing/JMenuBar.java: Likewise.
3171         * javax/swing/JMenuItem.java: Likewise.
3172         * javax/swing/JPopupMenu.java: Likewise.
3173         * javax/swing/JRadioButtonMenuItem.java: Likewise.
3174         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3175         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3176         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3177         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3178         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3179         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3180
3181 2004-06-01  Tom Tromey  <tromey@redhat.com>
3182
3183         * java/io/ObjectStreamField.java: Cleaned up imports.
3184
3185 2004-06-01  Michael Koch  <konqueror@gmx.de>
3186
3187         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3188       
3189 2004-06-01  Mark Wielaard  <mark@klomp.org>
3190
3191         * java/io/Writer.java (Writer(Object)): Fixed API doc.
3192
3193 2004-06-01  Michael Koch  <konqueror@gmx.de>
3194
3195         * java/security/Security.java
3196         (insertProviderAt): Use equals() instead of ==.
3197         (removeProvicer): Likewise.
3198         (getProvider): Likewise.
3199         * java/security/Signature.java
3200         (sign): Don't set state to UNINITIALIZED.
3201         (verify): Likewise.
3202
3203 2004-06-01  Mark Wielaard  <mark@klomp.org>
3204
3205         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3206         Implement by calling gtkRequestFocus.
3207         (gtkRequestFocus): New native method.
3208         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3209         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3210         Renamed to ...
3211         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3212         New function name.
3213         (filter_expose_event_handler):
3214         Mark static.
3215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3216         (menu_pos): Mark static.
3217
3218 2004-06-01  Michael Koch  <konqueror@gmx.de>
3219
3220         * java/text/CollationElementIterator.java,
3221         java/text/CollationKey.java,
3222         java/text/RuleBasedCollator.java: New versions from GNU classpath.
3223         * testsuite/libjava.mauve/xfails: Removed all
3224         java.text.CollationElementIterator tests.
3225
3226 2004-06-01  Michael Koch  <konqueror@gmx.de>
3227
3228         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3229         version.
3230         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3231         Java 1.5 keyword usage.
3232
3233 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
3234
3235         * javax/swing/plaf/basic/BasicMenuUI.java:
3236         (MouseEntered): Do not call getPath() from MenuSelectionManager.
3237         Call getPath() from super class instead.
3238
3239 2004-05-31  Michael Koch  <konqueror@gmx.de>
3240
3241         * java/io/SequenceInputStream.java:
3242         Rename enum to e because enum is a keyword in Java 1.5.
3243
3244 2004-05-31  Michael Koch  <konqueror@gmx.de>
3245
3246         * gnu/java/rmi/rmic/CompilerProcess.java:
3247         Fixed javadoc to by XHTML compliant.
3248
3249 2004-05-30  Mark Wielaard  <mark@klomp.org>
3250
3251         * java/awt/Toolkit.java (loadSystemColors): Implement.
3252
3253 2004-05-30  Michael Koch  <konqueror@gmx.de>
3254
3255         * java/lang/System.java: Reordered imports.
3256
3257 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
3258
3259         * java/text/DecimalFormat.java
3260         (parse): Fixed parsing of decimal strings. Number of maximum
3261         digits to be read should now work.
3262         * java/text/SimpleDateFormat.java
3263         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3264         formatter. This fixes DateFormatTest.
3265
3266 2004-05-30  Michael Koch  <konqueror@gmx.de>
3267
3268         * java/nio/Buffer.java
3269         (limit): Fixed off by one error.
3270         * java/nio/CharBuffer.java
3271         (wrap): Fixed arguments, added javadocs.
3272
3273 2004-05-30  Michael Koch  <konqueror@gmx.de>
3274
3275         * gnu/java/beans/BeanInfoEmbryo.java,
3276         java/awt/im/InputContext.java,
3277         javax/swing/tree/DefaultMutableTreeNode.java:
3278         Rename enum to e because enum is a keyword in Java 1.5.
3279
3280 2004-05-30  Michael Koch  <konqueror@gmx.de>
3281
3282         * gnu/java/math/MPN.java,
3283         java/awt/geom/Arc2D.java:
3284         Fixed javadocs all over.
3285
3286 2004-05-30  Michael Koch  <konqueror@gmx.de>
3287
3288         * java/awt/DefaultKeyboardFocusManager.java
3289         (dispatchEvent): Call method to get key event dispatchers.
3290         (dispatchKeyEvent): Call method to get key event post processors.
3291         * javax/swing/JComponent.java
3292         (listenerList): Made protected.
3293         * javax/swing/JOptionPane.java
3294         (message): Don't initialize.
3295         (JOptionPane): Set message text.
3296         * javax/swing/JPopupMenu.java
3297         (show): Fixed typo in argument name.
3298         * javax/swing/RepaintManager.java
3299         (paintDirtyRegions): Use public API of java.util.Map.
3300         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3301         (positionForMouseEvent): Removed redundant ';'.
3302         (continueDrag): Use method arguments.
3303
3304 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
3305
3306         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3307         results.
3308
3309 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
3310
3311         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3312         _Jv_AllocBytes.
3313         * gnu/gcj/RawDataManaged.java: New file.
3314         * java/lang/Thread.java (data): Declare as RawDataManaged.
3315         * java/lang/natThread.cc (init_native): Cast natThread data to
3316         RawDataManaged, not jobject.
3317         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3318         * Makefile.in: Rebuilt.
3319
3320 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
3321
3322         * java/util/SimpleTimeZone.java: Reverting my last change until I
3323         can fix it properly.
3324
3325 2004-05-27  Michael Koch  <konqueror@gmx.de>
3326
3327         * javax/swing/JPopupMenu.java
3328         (isVisible): Do not use visible directly.
3329         (setVisible): Likewise.
3330         * javax/swing/JWindow.java
3331         (JWindow): call accessible constructor.
3332         * javax/swing/RepaintManager.java
3333         (paintDirtyRegions): Use public methods to obtain iterator.
3334
3335 2004-05-25  David Jee  <djee@redhat.com>
3336
3337         * java/awt/Container.java
3338         (remove): Set component's parent to null only after we removed the
3339         component from its parent's layout manager.
3340
3341 2004-05-25  David Jee  <djee@redhat.com>
3342
3343         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3344         (GtkComponentPeer): Set bounds regardless of whether awtComponent
3345         is valid.
3346         * gnu/java/awt/peer/gtk/GtkListPeer.java
3347         (getSize): Change native method declaration.
3348         (minimumSize): Pass visible row count into getSize().
3349         (preferredSize): Likewise.
3350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3351         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3352         natural size. Use visible row count to determine the final height
3353         value to return.
3354
3355 2004-05-21  Graydon Hoare  <graydon@redhat.com>
3356
3357         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
3358         (setClip): Minor correction to order of operations.
3359
3360         * javax/swing/JScrollPane.java: Extend sketchy implementation.
3361         * javax/swing/ScrollPaneLayout.java: Likewise.
3362         * javax/swing/JViewPort.java: Likewise.
3363         * javax/swing/ViewportLayout.java: Likewise.
3364
3365         * javax/swing/JComponent.java: Rewrite.
3366         * javax/swing/RepaintManager.java: Likewise.
3367
3368         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3369         * javax/swing/JList.java 
3370         (setSelectedIndices):
3371         (getSelectedIndices):
3372         (getSelectedValues): New functions.
3373         (getPreferredScrollableViewportSize): Return preferred size.
3374         (getScrollableUnitIncrement):
3375         (getScrollableBlockIncrement): Initial implementations.
3376         * javax/swing/JRootPane.java: Clean up slightly.
3377         (getUI):
3378         (setUI):
3379         (updateUI):
3380         (getUIClassID):
3381         (isValidateRoot): Add overrides from JComponent.
3382         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3383         * javax/swing/UIManager.java (getDimension): Return the dimension.
3384
3385         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3386         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3387         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3388         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3389         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3390         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3391         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3392         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
3393         Likewise, and set background.
3394         * javax/swing/plaf/basic/BasicListUI.java: 
3395         Likewise, and improve a bit.
3396         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
3397         Likewise, and adjust calculations.
3398         * javax/swing/plaf/basic/BasicViewportUI.java:
3399         Likewise, and improve a bit.
3400         * javax/swing/plaf/basic/BasicLookAndFeel.java 
3401         (Button.margin): Shrink.
3402
3403         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3404         Hack to set horizontal always, workaround pango.
3405
3406         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3408         Synchronize more often, check cairo status after ops,
3409         handle changes to cairo pattern API, check for disposal.
3410
3411 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
3412
3413         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3414         (BasicMenuItemUI): Create propertyChangeListener.
3415         (getPath):Implemented.
3416         (installListeners): Add propertyChangeListener to menuItem.
3417         (uninstallListeners): Remove propertyChangeListener from menuItem.
3418         (update): Implemented.
3419         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3420         (mouseEntered): Take insets of popup menu into account when
3421         calculating position of popup menu.     
3422         
3423 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
3424
3425         * Makefile.am: Added new file. 
3426         * Makefile.in: Regenerate.
3427         * javax/swing/JMenuBar.java:
3428         Started implementation.
3429         * javax/swing/JPopupMenu.java:
3430         (setVisible): Fixed location of lightweight/mediumweight
3431         popup menu.
3432         (show): Fixed location of PopupMenu.
3433         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3434         New file. UI Delegate for JMenuBar.
3435         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3436         (mouseEntered): Corrected position of the submenu.
3437
3438 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3439
3440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3441         to _gtk_accel_group_attach.
3442         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3443         Likewise.
3444
3445         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3446         package access.  Don't override setFont.
3447         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.