* java/lang/System.java (static): Set http.agent system property when
[official-gcc.git] / libjava / ChangeLog
blobe9dd6797d3463ada4ce953fabf1782ace6db440b
1 2004-07-23  Mark Wielaard  <mark@klomp.org>
3         * java/lang/System.java (static): Set http.agent system property when
4         not yet set.
5         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
6         from system property inside AccessController.doPrivileged() call.
7         (proxyPort): Made package private.
8         (proxyInUse): Likewise.
9         (proxyHost): Likewise.
10         (userAgent): Likewise.
12 2004-07-23  Mark Wielaard  <mark@klomp.org>
14         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
15         implementation.
17 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
19         * Makefile.am (ordinary_java_source_files): Add
20         DefaultContentHandlerFactory.java.
21         * Makefile.in: Rebuilt.
22         * java/net/URLConnection.java (defaultFactory): New field.
23         (getContent): 
24         (getContentHandler): Renamed from 'setContentHandler'. Try 
25         defaultFactory after user-set factory, if any. Search for content 
26         handler implementations in gnu.java.net.content, not gnu.gcj.content.
27         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
28         Implemented.
29         (getLastModified): Implemented.
30         (getPermission): Create file permission here, instead of in
31         constructor.
32         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
33         Implemented.
34         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
35         Implemented.
36         (getLastModified): Implemented.
37         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
38         Default implementation.
39         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
40         Implement using GdkPixbufDecoder.
41         
42 2004-07-21  Michael Koch  <konqueror@gmx.de>
44         * javax/swing/JTextArea.java
45         (setLineWrap): Fire property change event after new value is set.
46         (setTabSize): Likewise.
48 2004-07-21  Michael Koch  <konqueror@gmx.de>
50         * javax/swing/JTable.java
51         (autoCreateColumnsFromModel): New field.
52         (autoResizeMode): Likewise.
53         (cellEditor): Likewise.
54         (cellSelectionEnabled): Likewise.
55         (columnModel): Likewise.
56         (dataModel): Likewise.
57         (defaultEditorsByColumnClass): Likewise.
58         (defaultRenderersByColumnClass): Likewise.
59         (editingColumn): Likewise.
60         (editingRow): Likewise.
61         (gridColor): Likewise.
62         (preferredViewportSize): Likewise.
63         (rowHeight): Likewise.
64         (rowMargin): Likewise.
65         (rowSelectionAllowed): Likewise.
66         (selectionBackground): Likewise.
67         (selectionForeground): Likewise.
68         (selectionModel): Likewise.
69         (showHorizontalLines): Likewise.
70         (showVerticalLines): Likewise.
71         (tableHeader): Likewise.
72         (JTable): Implemented.
73         (getColumnModel): Likewise.
74         (getSelectedRow): Likewise.
75         (getSelectionModel): Likewise.
76         (setModel): Likewise.
77         (setSelectionModel): Likewise.
78         (createScrollPaneForTable): New method.
79         (createDefaultDataModel): Likewise.
80         (createDefaultListSelectionModel): Likewise.
81         (getModel): Likewise.
82         (getTableHeader): Likewise.
83         (setTableHeader): Likewise.
84         (getColumnSelectionAllowed): Likewise.
85         (setColumnSelectionAllowed): Likewise.
86         (getRowSelectionAllowed): Likewise.
87         (setRowSelectionAllowed): Likewise.
88         (getAutoResizeMode): Likewise.
89         (setAutoResizeMode): Likewise.
90         (getColumnCount): Likewise.
91         (getRowCount): Likewise.
92         (getCellRenderer): Likewise.
93         * javax/swing/JTree.java
94         (cellRenderer): New field.
95         (editable): Likewise.
96         (rootVisible): Likewise.
97         (showsRootHandles): Likewise.
98         (getModel): New method.
99         (setModel): Likewise.
100         (isEditable): Likewise.
101         (setEditable): Likewise.
102         (isRootVisbile): Likewise.
103         (setRootVisible): Likewise.
104         (getShowsRootHandles): Likewise.
105         (setShowRootHandles): Likewise.
106         (getCellRenderer): Likewise.
107         (setCellRenderer): Likewise.
109 2004-07-21  Michael Koch  <konqueror@gmx.de>
111         * javax/swing/JFormattedTextField.java
112         (setDocument): Implemented.
113         * javax/swing/JRootPane.java:
114         Fixed javadocs.
115         * javax/swing/JTable.java
116         (getDefaultRenderer): New method.
117         * javax/swing/JTextField.java
118         (setFont): Likewise.
119         (getPreferredSize): Likewise.
120         * javax/swing/JToggleButton.java
121         (getAccessibleContext): Fix javadoc.
122         * javax/swing/JTree.java:
123         Add some javadocs.
124         * javax/swing/JViewport.java:
125         Likewise.
127 2004-07-21  David Jee  <djee@redhat.com>
129         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
130         Collect all native method declaration at the top.
131         (create): Set the filename filter if necessary.
132         (setDirectory): Call nativeSetDirectory().
133         (setFilenameFilter): Implement.
134         (filenameFilterCallback): New method.
135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
136         (create): Configure dialog to show hidden files.
137         (filenameFilterCallback): New function. 
138         (nativeSetFilenameFilter): New function.
139         (nativeSetDirectory): New function.
141 2004-07-21  Kim Ho  <kho@redhat.com>
143         * javax/swing/plaf/basic/BasicSliderUI.java:
144         Ran Jalopy.
145         (paintTrack): Fill the track before painting
146         the borders.
148 2004-07-21  Graydon Hoare  <graydon@redhat.com>
150         patch from Roman Kennke <roman@ontographics.com>
151         * javax/swing/Spring.java: New file.
152         * javax/swing/SpringLayout.java: New file.
153         * Makefile.am: Add new files.
154         * Makefile.in: Regenerate.
156 2004-07-21  Graydon Hoare  <graydon@redhat.com>
158         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
159         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
160         * javax/swing/ScrollPaneLayout.java: Likewise.
162 2004-07-21  Kim Ho  <kho@redhat.com>
164         * javax/swing/DefaultDesktopManager.java:
165         (findMinimum): Removed.
166         (resizeFrame): Trust the UI to pass valid 
167         bounds.
168         * javax/swing/JOptionPane.java:
169         Implemented showInternalXXXDialog methods.
170         (startModal): New method.
171         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
172         (BorderListener::mouseDragged): Verify that the new 
173         bounds are valid before passing them to the DesktopManager.
174         (preferredLayoutSize): Delegate
175         to getSize.
176         (minimumLayoutSize): Ditto.
177         (getSize): New method.
178         (GlassPaneDispatcher): Reimplemented by copying 
179         a stripped down LightweightDispatcher from Container.
180         (getMinimumSize): Call minimumLayoutSize.
181         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
182         Ran Jalopy.
183         (mousePressed): Add ability to properly close 
184         JInternalFrames.
185         * javax/swing/plaf/basic/BasicToolBarUI.java:
186         (DragWindow): Set owner for DragWindow.
188 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
190         * java/awt/image/ShortLookupTable.java: New file.
191         * java/awt/image/ByteLookupTable.java: New file.
192         * Makefile.am: Added new files.
193         * Makefile.in: Regenerated.
195 2004-07-21  David Jee  <djee@redhat.com>
197         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
198         (create(GtkContainerPeer)): New native method.
199         (create()): Call native create(), passing in the parent frame
200         as the paramter. Natively set the current file and directory.
201         (setFile): Construct an absolute filename before passing it to
202         the native peer.
203         (nativeGetDirectory): New method.
204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
205         (window_closed): Removed.
206         (ok_clicked): Likewise.
207         (cancel_clicked): Likewise.
208         (handle_response): New method.
209         (create): Use GtkFileChooserDialog.
210         (connectSignals): Connect to handle_response.
211         (nativeGetDirectory): New method.
212         (nativeSetFile): Use GtkFileChooserDialog.
214 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
216         * java/awt/image/LookupTable.java: New file.
217         * Makefile.am: Added new file.
218         * Makefile.in: Regenerated.
220 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
222         * java/awt/image/Kernel.java: New file.
223         * Makefile.am: Added new file.
224         * Makefile.in: Regenerated.
226 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
228         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
229         * javax/swing/JMenu.java: Likewise.
230         * javax/swing/JMenuBar.java: Likewise.
231         (MARGIN_CHANGED_PROPERTY): New property.
232         (setMargin): Implemented.
233         * javax/swing/JMenuItem.java: Fixed javadocs.
234         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
235         (LABEL_CHANGED_PROPERTY): New property.
236         (add): changed to use createActionComponent.
237         (createActionComponent): Implemented.   
238         (setLabel): Fire PropertyChangeEvent if label property
239         changes.
240         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
241         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
242         (ContainerHandler): Repaint if margin property has changed.
243         * javax/swing/plaf/basic/BasicMenuItemUI.java:
244         (installUI): Call installComponents().
245         (uninstallUI): Call uinstallComponents().
246         * javax/swing/plaf/basic/BasicMenuUI.java:
247         Fixed javadocs.
248         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
249         Likewise.
251 2004-07-21  Kim Ho  <kho@redhat.com>
253         * javax/swing/plaf/basic/BasicToolBarUI.java:
254         (DragWindow): Use the right constructor.
256 2004-07-21  Kim Ho  <kho@redhat.com>
258         * javax/swing/JToolBar.java:
259         (layoutContainer): Use getComponents.
260         * javax/swing/plaf/basic/BasicToolBarUI.java:
261         (DragWindow): Don't use SwingUtilities' 
262         getOwnerFrame
263         (ToolBarDialog): ditto.
265 2004-07-21  Kim Ho  <kho@redhat.com>
267         * javax/swing/JRootPane.java:
268         Ran jalopy.
269         (layoutContainer): Set the glasspane's size to 
270         be the same as the content pane.
271         (createGlassPane): Set opaque property to false.
273 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
275         * java/awt/Component.java (requestFocus()): Don't handle Panels
276         specially.
277         (requestFocus(boolean)): Likewise.
278         (requestFocusInWindow(boolean)): Likewise.
279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
280         Set GTK_CAN_FOCUS flag.
282 2004-07-21  Kim Ho  <kho@redhat.com>
284         * Makefile.am: Added new file.
285         * Makefile.in: Regenerated.
286         * gcj/Makefile.in: Regenerated.
287         * include/Makefile.in: Regenerated.
288         * javax/swing/AbstractButton.java:
289         Add rollOverEnabled property.
290         (setRolloverEnabled): Use new property.
291         (isRolloverEnabled): Use new property.
292         * javax/swing/JTabbedPane.java:
293         (setComponent): Remove useless JTabbedPane.this.
294         * javax/swing/JToolBar.java: Finish implementation.
295         * javax/swing/plaf/basic/BasicArrowButton.java:
296         (paint): Moved border painting to a border.
297         * javax/swing/plaf/basic/BasicLookAndFeel.java:
298         Change JToolBar look and feel defaults.
299         * javax/swing/plaf/basic/BasicOptionPaneUI.java
300         (actionPerformed): Return Integer index instead of name.
301         (addButtonComponents): Check to see if component is
302         JButton last.
303         (createMessageArea): Don't use components that are not
304         completed yet.
305         (getIconForType): Use temporary icons.
306         * javax/swing/plaf/basic/BasicSliderUI.java:
307         (mousePressed): Do not return if it's on thumb.
308         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
309         (paintMinorTickForVertSlider): ditto.
310         (paintMajorTickForHorizSlider): ditto.
311         (paintMajorTickForVertSlider): ditto.
312         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
313         Add a border around the SplitPaneDivider.
314         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
315         Remove comments.
316         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
317         New file. Implemented.
318         * javax/swing/plaf/basic/BasicToolBarUI.java:
319         Implemented.
320         * testsuite/Makefile.in: Regenerated.
322 2004-07-21  Graydon Hoare  <graydon@redhat.com>
324         * javax/swing/Timer.java (run): Queue events each time cycle.
326 2004-07-21  David Jee  <djee@redhat.com>
328         * gnu/java/awt/peer/gtk/GtkImagePainter.java
329         (imageComplete): Call image.imageComplete().
330         * java/awt/image/MemoryImageSource.java:
331         Reimplement consumers as a Vector instead of a Hashtable.  This is
332         because enumeration on a Hashtable is not thread-safe.
333         (addConsumer): Adapt to Vector consumers.
334         (isConsumer): Adapt to Vector consumers.
335         (removeConsumer): Adapt to Vector consumers.
336         (startProduction): Adapt to Vector consumers. Call imageComplete()
337         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
338         (newPixels): Adapt to Vector consumers.
339         (sendPicture): Set the color model of the image consumer.
340         (newPixels(IIII)): Adapt to Vector consumers.
341         (newPixels(IIIIB)): Adapt to Vector consumers.
343 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
345         * java/awt/Component.java (deliverEvent): Implement.
346         (postEvent): Implement.
347         (handleEvent): Implement.
348         (translateEvent): New method.
349         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
350         * java/awt/Container.java (deliverEvent): Implement.
351         * java/awt/Event.java (paramString): Fix formatting.
352         * java/awt/Font.java (toString): Likewise.
353         * java/awt/Window.java (postEvent): Implement.
355 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
357         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
358         Set window's focus owner upon receiving a FOCUS_LOST event.
359         * java/awt/Window.java (Window()): Refocus the previously
360         focused component within the window when the window regains the
361         top-level focus.
362         (setFocusOwner): New method.
363         * java/awt/Component.java (requestFocus): Add FIXME.
365         * libgcj.pc.in: Remove library flags.
367 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
369         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
370         MOUSE_PRESSED event.
371         * java/awt/Component.java (requestFocus()): Handle Panel
372         specially.  Post FOCUS_LOST event on opposite component.
373         (requestFocus(boolean)): Likewise.
374         (requestFocusInWindow(boolean)): Likewise.
375         (paramString): Reorder dimension fields.
376         * java/awt/Container.java (paramString): Fix string format.
377         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
378         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
379         process key events if the focus owner is non-null.
380         (dispatchKeyEvent): Likewise.
381         * java/awt/Frame.java (paramString): Fix formatting.
382         (generateName): New method.
383         (getUniqueLong): Likewise.
384         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
385         the temporary focus owner is null.  If so, return the permanent
386         focus owner.
387         * java/awt/Panel.java (generateName): New method.
388         (getUniqueLong): Likewise.
389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
390         signal handling to make callbacks more specific.
392 2004-07-21  Michael Koch  <konqueror@gmx.de>
394         * javax/swing/text/Position.java
395         (Bias): Implemented.
397 2004-07-21  Michael Koch  <konqueror@gmx.de>
399         * javax/swing/LookAndFeel.java
400         (provideErrorFeedback): New method.
402 2004-07-21  Michael Koch  <konqueror@gmx.de>
404         * javax/swing/JTextArea.java
405         (tabSize): New field.
406         (getTabSize): New method.
407         (setTabSize): Likewise.
409 2004-07-21  Michael Koch  <konqueror@gmx.de>
411         * javax/swing/ActionMap.java:
412         Fixed javadocs all over.
413         (serialVersionUID): Made private.
414         (parent): Don't explicitely initialize with default value.
415         (get): SImplified.
416         (keys): Reimplemented.
417         (allKeys): Likewise.
418         (convertSet): Removed.
419         * javax/swing/ComponentInputMap.java:
420         Fixed javadocs all over.
421         (ComponentInputMap): Implemented.
422         (put): Likewise.
423         (clear): Likewise.
424         (remove): Likewise.
425         (SetParent): Likewise.
426         (getComponent): Likewise.
427         * javax/swing/InputMap.java:
428         Fixed javadocs all over.
429         (serialVersionUID): Made private.
430         (parent): Don't explicitely initialize with default value.
431         (get): SImplified.
432         (keys): Reimplemented.
433         (allKeys): Likewise.
434         (convertSet): Removed.
436 2004-07-21  Michael Koch  <konqueror@gmx.de>
438         * javax/swing/ActionMap.java,
439         javax/swing/ComponentInputMap.java,
440         javax/swing/InputMap.java,
441         javax/swing/table/DefaultTableColumnModel.java,
442         javax/swing/table/TableColumn.java,
443         javax/swing/table/TableColumnModel.java,
444         javax/swing/table/TableModel.java,
445         javax/swing/text/AbstractDocument.java,
446         javax/swing/text/TextAction.java:
447         Reformated.
449 2004-07-21  Graydon Hoare  <graydon@redhat.com>
451         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
452         Make method non-static.
453         * javax/swing/AbstractButton.java:
454         Rename fields to match property names where possible.
455         (iconTextGap): New property.
456         * javax/swing/JCheckBox.java: Match AbstractButton changes.
457         (init) New method, call from after various constructors.
458         * javax/swing/JComponent.java (revalidate): 
459         Invalidate before queueing repair.
460         * javax/swing/JList.java (getPreferredScrollableViewportSize):
461         Reimplement in terms of visibleRowCount property.
462         * javax/swing/JMenuButton.java: Match AbstractButton changes.
463         * javax/swing/JScrollPane.java (createScrollListener): 
464         Remove tracing chatter.
465         * javax/swing/JToggleButton.java: Match AbstractButton changes.
466         * javax/swing/RepaintManager.java (addInvalidComponent): 
467         Don't invalidate.
468         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
469         calculations.
470         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
471         Mimic sun behavior on top left/right positioning.
472         * javax/swing/ViewportLayout.java (preferredLayoutSize):
473         Remove mistaken use of preferredScrollableViewportSize here.
474         (layoutContainer): Use view's preferred size as basis.
475         * javax/swing/plaf/basic/BasicButtonUI.java:
476         Set, get, and use textIconGap property.
477         (paint) Paint text returned from layout (with ellipsis).
478         * javax/swing/plaf/basic/BasicListUI.java:
479         Remove tracing chatter, correct various minor calculations.
480         (getCellBounds): Update layout state before calculating.
481         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
482         Use margin default similar to sun's.    
483         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
484         (createIncreaseIcon): Center icon, minimize margins.
485         (createDecreaseIcon): Likewise.
486         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
487         Implement.
488         (installUI): Call it.
489         (uninstallDefaults): Implement.
490         (uninstallUI): Call it.
491         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
492         Call existing Window constructor.
493         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
494         Set clip before painting.
496 2004-07-21  Olga Rodimina <rodimina@redhat.com>
497         
498         * javax/swing/JMenuItem.java:
499         (processMouseEvent): Reimplemented to deal with
500         mouse drag events.
501         (createMenuDragMouseEvent): New private helper method.
502         Creates MenuDragMouseEvent.
503         * javax/swing/MenuSelectionManager.java
504         (componentForPoint): Implemented.
505         (isComponentPartOfCurrentMenu): Made public.
506         (processMouseEvent): Reimplemented to deal with 
507         mouse drag events.
508         (setSelectedPath): Corrected small mistake that caused
509         path to be set incorrectly.
510         (getPath): If given component is JMenu then also add this
511         menu's popup menu to the selected path.
512         * javax/swing/plaf/basic/BasicMenuItemUI.java:
513         (getPath): Ditto.
514         (getPreferredSize): Call getPreferredMenuItemSize().
515         (getPreferredItemSize): Moved code from getPreferredSize to here.
516         (installListeners): Install MouseMotionListeners.
517         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
518         if mouse wasn't released in the bounds of this menu item.
519         (MenuDragMouseHandler): Implemented.
520         * javax/swing/plaf/basic/BasicMenuUI.java:
521         (installListeners): Install MouseMotionListener and 
522         MenuDrageMouseListener.
523         (MenuDragMouseHandler): Implemented.
524         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
525         (uninstallListeners): Implemented.
526         
527 2004-07-21  Michael Koch  <konqueror@gmx.de>
529         * javax/swing/JCheckBox.java: Reformated.
530         (JCheckBox): Fixed all constructors.
531         (isBorderPaintedFlat): New method.
532         (setBorderPaintedFlat): New method.
533         * javax/swing/JEditorPane.java
534         (createEditorKitForContentType): Made public.
535         (scrollToReference): Likewise.
536         * javax/swing/JTextArea.java
537         (setLineWrap): Fire property change.
538         * javax/swing/JToggleButton.java
539         (JToggleButton): New constructor.
540         (JToggleButton): Simplified.
541         * javax/swing/text/AttributeSet.java
542         (FontAttribute): Renamed from FontCharacterAttribute.
543         * javax/swing/text/JTextComponent.java
544         (KeyBinBinding): Added javadoc.
545         (JTextComponent): Likewise.
546         (getAccessibleContext): Fixed javadoc.
547         * javax/swing/text/View.java
548         (View): Added javadoc.
549         * javax/swing/text/TabableView.java: New file.
550         * Makefile.am: Added javax/swing/text/TabableView.java.
551         * Makefile.in: Regenerated.
553 2004-07-21  Graydon Hoare  <graydon@redhat.com>
555         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
556         * gnu/java/awt/peer/gtk/GtkToolkit.java 
557         (GtkErrorImage): New helper class.
558         (bufferedImageOrError): New helper method.
559         (createImage): Use it.
561 2004-07-21  David Jee  <djee@redhat.com>
563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
564         (setCaretPosition): Scroll the text view so the new caret position
565         is visible on screen.
567 2004-07-21  David Jee  <djee@redhat.com>
569         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
570         (setBounds): Do not validate awtComponent here.
571         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
572         (getPreferredSize): New method.
573         * java/awt/ScrollPane.java
574         (ScrollPane): Set default size to 100x100.
575         (addNotify): If child is not a Panel, wrap it with a new Panel.
576         (paramString): Implement.
578 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
580         * javax/swing/JMenu.java:
581         (setSelected): Display popup menu only if this menu 
582         is showing on the screen.
583         * javax/swing/JPopupMenu.java:
584         (processMouseEvent): Added comment.
585         (processKeyEvent): Likewise.
586         * javax/swing/MenuSelectionManager.java:
587         (clearSelectedPath): Only fireStateChanged() after
588         selected path was changed, not before.
589         (setSelectedPath): Likewise.
590         * javax/swing/plaf/basic/BasicMenuItemUI.java:
591         (paintMenuItem): Corrected position of menu item's
592         icon.
593         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
594         (installUI): Correct setDefaultLightWeightPopupEnabled call.
595         (popupMenuCanceled): Reimplemented.
596         (popupMenuWillBecomeVisible): Select first menu item by default 
597         when displaying free floating popup menus.
598         (TopWindowListener): Reimplemented.
600 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
602         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
603         Panel from being painted twice when it is first shown.
605 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
607         * java/awt/Window.java: Reverted changes from my 
608         previous patch for creating window without an owner.
609         * javax/swing/SwingUtilities.java: 
610         (SwingUtilities.OwnerFrame): made static.
611         (OwnerFrame.setVisible): New method. Overridden with
612         empty implementation.
613         (OwnerFrame.isShowing): New method. Ovverridden
614         to return always true.
616 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
618         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
619         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
620         (GtkComponentPeer): Remove temporary try/catch block.
621         (setVisible): Call show and hide.
622         (show): Make native.
623         (hide): Likewise.
624         (getArgs): Don't add "visible" argument.
625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
626         (property_notify_predicate): Return Bool instead of int.
627         (find_layout): New function.
628         (connectJObject): Call find_layout.
629         (connectSignals): Likewise.
630         (moveLayout): Likewise.
631         (gtkLayoutSetVisible): Likewise.
633 2004-07-21  Mark Wielaard  <mark@klomp.org>
635         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
636         on notifier object before calling notifyAll().
638 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
640         * java/awt/Window.java: Changed constructors to use new
641         method that is described below. Constructors call this
642         methods only if newly created window should have an owner.
643         (setWindowOwner): New method. Implementation for
644         this method is moved from this(owner,configuration).
645         * javax/swing/JWindow.java:
646         (JWindow): Reimplement to use SwingUtilities.ownerFrame
647         instead of owner.
648         * javax/swing/SwingUtilities.java:
649         (ownerFrame): Change type of this field to OwnerFrame.
650         (getOwnerFrame): Changed to return object of type OwnerFrame.
651         (SwingUtilities.OwnerFrame): New class. Represents owner
652         of a Window that is not provided with one.
654 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
656         *  javax/swing/AbstractButton.java: 
657         (configurePropertiesFromAction): Set action command
658         to button's text by default if action command is not 
659         explicitely specified.
660         * javax/swing/JMenu.java: Remove unnecessary listener
661         and methods relevant to it.
662         (setSelected): Reimplemented.
663         (menuSelectionChanged): Moved most part of implementation to
664         setSelected() and call it instead.
665         * javax/swing/JMenuItem.java: 
666         (init): Comment out statement that sets paint_border to false.
667         (configurePropertiesFromAction): Do not set accelerator
668         for JMenu.
669         (menuSelectionChanged): Change selected index in the selection
670         model of menu item's parent.
671         * javax/swing/JPopupMenu.java:
672         (remove): Set constraints.fill field to GridBagConstraints.BOTH
673         instead of GridBagConstraints.HORIZONTAL.
674         (insert): Likewise.
675         (createActionChangeListener): Implemented.
676         (setVisible): Correct location of HeavyWeightMenu and 
677         don't firePopupMenuCanceled().
678         (menuSelectionChanged): Implemented.
679         (ActionChangeListener): New Listener. Implemented.
680         * javax/swing/plaf/basic/BasicMenuBarUI.java:
681         (BasicMenuBarUI.ContainerHandler): Implemented.
682         * javax/swing/plaf/basic/BasicMenuItemUI.java:
683         (paintMenuItem): Uncommented out code that paints 
684         icon, now that icons are working properly.
685         (PropertyChangeListener): Implemented.
686         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
687         Added javadocs.
688         (topWindowListener): New field.
689         (Constructor): initialize topWindowListener.
690         (BasicPopupMenuUI.TopWindowListener): Implemented.      
691         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
692         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
693         Implemented.
695 2004-07-21  Michael Koch  <konqueror@gmx.de>
697         * javax/swing/plaf/basic/BasicButtonUI.java
698         (paintFocus): Fixed method signature.
699         (paintButtonPressed): Likewise.
700         (paintButtonNormal): Likewise.
701         (paintText): New method.
702         * javax/swing/plaf/basic/BasicLabelUI.java
703         (paint): Re-indented.
704         * javax/swing/plaf/basic/BasicTextUI.java
705         (installUI): Set parent textComponent to opaque.
706         * javax/swing/text/DefaultHighlighter.java
707         (checkPositions): New helper method.
708         (addHighlight): Throws BadLocationException, check positions.
709         (changeHighlight): Likewise.
710         * javax/swing/text/EditorKit.java
711         (EditorKit): Implements Serializable.
712         * javax/swing/text/JTextComponent.java
713         (getUI): Added javadoc.
714         (setUI): Likewise.
715         (upadteUI): Added javadoc, don't revalidate and repaint.
717 2004-07-21  David Jee  <djee@redhat.com>
719         * java/awt/GridBagLayout.java
720         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
721         * javax/swing/AbstractButton.java
722         (setText): Reindent.
723         * javax/swing/RepaintManager.java
724         (addInvalidComponent): Find the first ancestor that isValidateRoot().
726 2004-07-21  Michael Koch  <konqueror@gmx.de>
728         * javax/swing/JFormattedTextField.java
729         (value): New field.
730         (JFormattedTextField): Implemented.
731         (getValue): Likewise.
732         (setValue): Likewise.
733         * javax/swing/LookAndFeel.java
734         (getSupportsWindowDecorations): New method.
735         * javax/swing/UIDefaults.java:
736         Use java.beans.PropertyChangeSupport instead of doing all ourself.
737         (addPropertyChangeListener): Made public.
738         (addResourceBundle): Likewise.
739         (removeResourceBundle): Likewise.
740         (setDefaultLocale): Likewise.
741         * javax/swing/plaf/basic/BasicRootPaneUI.java
742         (BasicRootPaneUI): Implements PropertyChangeListener.
743         (propertyChange): New method.
744         * javax/swing/plaf/basic/BasicTextUI.java
745         (BasicHighlighter): New inner class.
746         (createHighlighter): New method.
747         * javax/swing/plaf/basic/BasicToolBarUI.java
748         (DragWindow): Extends java.awt.Window.
749         * javax/swing/text/JTextComponent.java
750         (getDocument): Removed debug output.
751         * javax/swing/plaf/basic/BasicTextFieldUI.java,
752         javax/swing/text/DefaultHighlighter.java,
753         javax/swing/text/FieldView.java,
754         javax/swing/text/PlainView.java: New files.
755         * Makefile.am: Added new files.
756         * Makefile.in: Regenerated.
758 2004-07-21  Michael Koch  <konqueror@gmx.de>
760         * javax/swing/JEditorPane.java
761         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
762         (createEditorKitForContentType): Likewise.
763         * javax/swing/text/DefaultEditorKit.java
764         (serialVersionUID): Added constant field.
765         (EndOfLineStringPropery): Fixed typo.
766         (DefaultEditorKit): New constructor.
767         * javax/swing/text/Segment.java:
768         Import java.text.CharacterIterator.
769         * javax/swing/text/CharacterIterator.java,
770         javax/swing/text/PlainEditorKit.java: Removed.
771         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
772         javax/swing/text/PlainEditorKit.java.
773         * Makefile.in: Regenerated.
775 2004-07-21  Michael Koch  <konqueror@gmx.de>
777         * javax/swing/JButton.java,
778         javax/swing/text/DefaultEditorKit.java,
779         javax/swing/text/EditorKit.java,
780         javax/swing/text/Segment.java,
781         javax/swing/text/StyledEditorKit.java:
782         Reformatted.
784 2004-07-21  Michael Koch  <konqueror@gmx.de>
786         * javax/swing/ImageIcon.java
787         (file): Removed.
788         (description): Renamed from descr.
789         (ImageIcon): Added missing constructors.
790         (setParent): Removed.
791         (setImageObserver): New method.
792         (getImageObserver): New method.
793         (paintIcon): Handle observer = null.
794         * javax/swing/JButton.java
795         (removeNotify): Fixed javadoc.
796         (updateUI): Simplified.
797         * javax/swing/JRootPane.java
798         (serialVersionUID): New constant field.
799         * javax/swing/UIManager.java:
800         Fixed javadocs all over.
801         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
802         * javax/swing/text/AbstractDocument.java
803         (createPosition): Throws BadLocationException.
804         (getText): Likewise.
805         (remove): Likewise.
806         * javax/swing/text/ComponentView.java
807         (modelToView): Likewise.
808         * javax/swing/text/DefaultEditorKit.java:
809         Made all public methods public.
810         (read): Throws BadLocationException and IOException.
811         (write): Likewise.
812         * javax/swing/text/EditorKit.java:
813         Made all public methods public.
814         (serialVersionUID): New constant field.
815         (clone): New method.
816         (read): Throws BadLocationException and IOException.
817         (write): Likewise.
818         * javax/swing/text/Segment.java
819         (array): Made public.
820         (count): Likewise.
821         (offset): Likewise.
822         (Segment): New constructors.
823         (clone): Reimplemented.
824         * javax/swing/text/StyledEditorKit.java
825         (serialVersionUID): New constant field.
827 2004-07-21  Graydon Hoare  <graydon@redhat.com>
829         * java/awt/image/BufferedImage.java 
830         (getSource): Implement.
831         * javax/swing/ImageIcon.java 
832         (ImageIcon): Implement ctor.
833         * javax/swing/ScrollPaneLayout.java 
834         (preferredLayoutSize): Be more careful about nulls.
836 2004-07-21  Michael Koch  <konqueror@gmx.de>
838         * javax/swing/text/AttributeSet.java
839         (CharacterAttribute): New interface
840         (ColorAttribute): Likewise.
841         (FontCharacterAttribute): Likewise.
842         (ParagraphAttribute): Likewise.
843         * javax/swing/text/DefaultCaret.java
844         (moveCaret): New method.
845         (positionCaret): Likewise.
846         (repaint): Made protected.
847         * javax/swing/text/JTextComponent.java
848         (KeyBinding): Made it static.
849         * javax/swing/text/View.java
850         (getContainer): Honor parent == null.
852 2004-07-21  Michael Koch  <konqueror@gmx.de>
854         * javax/swing/text/AbstractDocument.java:
855         Reformatted.
857 2004-07-21  Michael Koch  <konqueror@gmx.de>
859         * javax/swing/plaf/basic/BasicRootPaneUI.java:
860         Import javax.swing.UIManager explicitely.
861         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
862         (ScrollingButton): Made it static.
864 2004-07-21  Michael Koch  <konqueror@gmx.de>
866         * javax/swing/UIDefaults.java
867         (ActiveValue): Made public.
868         (LazyValue): Likewise.
869         * javax/swing/plaf/basic/BasicTextUI.java
870         (RootView): Reintroduced.
871         (view): Removed.
872         (rootView): New field.
873         (installUI): Create document if needed, initialize rootView.
874         (uninstallUI): Hanle rootView.
875         (paint): Likewise.
876         (getRootView): Likewise.
877         (setView): Likewise.
878         * javax/swing/text/DefaultCaret.java:
879         Renamed all "evt" variables to "event".
881 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
883         * libgcj.spec.in: Add -l-java-util-logging.
885 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
887         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
888         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
889         gtk-xft-dpi can no calculate the right value.
890         (dpi_changed_cb): Mark *pspec as unsused.
892 2004-07-21  David Jee  <djee@redhat.com>
894         * java/awt/Component.java
895         (move): Delegate to setBounds().
896         (resize): Likewise.
897         (reshape): Fix so it repaints parent and self only when necessary.
899 2004-07-21  David Jee  <djee@redhat.com>
901         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
902         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
903         (GtkComponentPeer): Revert previous patch from 2004-06-22.
904         (setVisible): Likewise.
905         (show): Likewise.
906         (hide): Likewise.
907         (getArgs): Likewise.
908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
909         (property_notify_predicate): Likewise.
910         (find_layout): Likewise.
911         (connectJObject): Likewise.
912         (connectSignals): Likewise.
913         (moveLayout): Likewise.
914         (gtkLayoutSetVisible): Likewise.
916 2004-07-21  Graydon Hoare  <graydon@redhat.com>
918         * Makefile.am
919         (jv_convert_LDADD):
920         (gij_LDADD):
921         (rmic_LDADD):
922         (rmiregistry_LDADD): Add lib-java-util-logging.la
923         * Makefile.in: Regenerate.
925 2004-07-21  Michael Koch  <konqueror@gmx.de>
927         * javax/swing/text/AbstractDocument.java
928         (replace): Dont use protected method of java.util.Vector directly.
930 2004-07-21  Michael Koch  <konqueror@gmx.de>
932         * javax/swing/plaf/basic/BasicTextUI.java
933         (installUI): Call specialized install methods.
934         (installDefaults): New method.
935         (installListeners): Likewise.
936         (installKeyboardActions): Likewise.
937         (uninstallUI): Likewise.
938         (uninstallDefaults): New method.
939         (uninstallListeners): Likewise.
940         (uninstallKeyboardActions): Likewise.
941         (getPropertyPrefix): New abstract method.
942         (paint): Made final, just call paintSafely().
943         (paintSavely): New method.
944         (paintBackground): Likewise.
945         (getVisibleEditorRect): Likewise.
946         * javax/swing/text/LayeredHighlighter.java,
947         javax/swing/text/TabExpander.java: New files.
948         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
949         and javax/swing/text/TabExpander.java.
950         * Makefile.in: Regenerated.
952 2004-07-21  Michael Koch  <konqueror@gmx.de>
954         * javax/swing/plaf/basic/BasicTextUI.java
955         (BasicTextUI): Made abstract.
956         (BasicCaret): New inner class.
957         (view): Don't explicitely initialize with "null".
958         (textComponent): New field.
959         (textColor): Removed.
960         (disabledTextColor): Removed.
961         (normalBackgroundColor): Removed.
962         (RootView): Removed commented out inner class.
963         (createUI): Removed.
964         (createCaret): New method.
965         (getComponent): Likewise.
966         (installUI): Initialize textComponent only.
967         (getPreferredSize): Use installed JTextComponent.
968         (setView): New method.
969         (create): Likewise.
970         * javax/swing/text/JTextComponent.java
971         (highlighter): New field.
972         (caretColor): Likewise.
973         (disabledTextColor): Likewise.
974         (seletedTextColor): Likewise.
975         (selectionColor): Likewise.
976         (setUI): New method.
977         (getCaretColor): Likewise.
978         (setCaretColor): Likewise.
979         (getDisabledColor): Likewise.
980         (setDisabledColor): Likewise.
981         (getSelectedTextColor): Likewise.
982         (setSelectedTextColor): Likewise.
983         (getSelectionColor): Likewise.
984         (setSelectionColor): Likewise.
985         (getHighlighter): Likewise.
986         (setHighlighter): Likewise.
987         (replaceSelection): Likewise.
989 2004-07-21  Michael Koch  <konqueror@gmx.de>
991         * javax/swing/plaf/basic/BasicScrollPaneUI.java
992         (BasicScrollPaneUI): Implements ScrollPaneConstants.
993         * javax/swing/plaf/basic/BasicToolBarUI.java
994         (BasicToolBarUI): Implements SwingConstants.
996 2004-07-21  Michael Koch  <konqueror@gmx.de>
998         * javax/swing/JPopupMenu.java: Removed CVS tags.
999         * javax/swing/UIDefaults.java: Reformatted.
1000         * javax/swing/plaf/basic/BasicRootPaneUI.java:
1001         Explicitely import used classes.
1003 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1005         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1006         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1007         (GtkComponentPeer): Remove temporary try/catch block.
1008         (setVisible): Call show and hide.
1009         (show): Make native.
1010         (hide): Likewise.
1011         (getArgs): Don't add "visible" argument.
1012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1013         (property_notify_predicate): Return Bool instead of int.
1014         (find_layout): New function.
1015         (connectJObject): Call find_layout.
1016         (connectSignals): Likewise.
1017         (moveLayout): Likewise.
1018         (gtkLayoutSetVisible): Likewise.
1020 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1022         * javax/swing/AbstractButton.java:
1023         (setDisplayedMnemonicIndex): Check if button
1024         text is not null before checking its length.
1025         * javax/swing/JMenuItem.java:
1026         (processMouseEvent): Disarm menu item if mouse has
1027         exited it.
1028         * javax/swing/plaf/basic/BasicMenuUI.java:
1029         (MouseInputHandler.mouseEntered): Do not raise
1030         popup menu if this menu is already selected.
1031         (MouseInputHandler.mousePressed): Do not fire 
1032         MenuEvents.
1033         (MenuHandler): Implemented.     
1035 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1037         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1038         (getSelectedObjects): Implemented.
1039         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1040         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
1041         Added javadoc for few methods.
1042         (processMouseEvent): Made public.
1043         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1044         (processMouseEvent): Likewise.
1046 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1048         * javax/swing/AbstractButton.java:
1049         (init): Set display mnemonic index to -1.
1050         (setMnemonic(char)): Use setMnemonic(int).
1051         (setMnemonic(int)): Set display mnemonic index.
1052         (getDisplayedMnemonicIndex): Change method signature
1053         by removing 'index' parameter.
1054         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1055         Added default for Menu.selectionBackground.     
1056         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1057         (paintMenuItem): Change background color of the selected
1058         menu item.
1059         (paintText): Paint differently when menu item is disabled.
1060         Also paint mnemonic if it appears in the menu item's label.
1061         (paintAccelerator): Paint accelerator differently
1062         if menu item is disabled.
1063         * javax/swing/plaf/basic/BasicMenuUI.java:
1064         (installDefaults): Install defaults for 
1065         selectionForeground and selectionBackground.
1066         (uninstallDefaults): Uninstall defauls for 
1067         selectionForeground and selectionBackground.
1069 2004-07-21  Michael Koch  <konqueror@gmx.de>
1071         * javax/swing/text/AbstractDocument.java
1072         (BranchElement): Implemented.
1073         (LeafElement): Implemented.
1074         * javax/swing/text/DefaultCaret.java:
1075         Import used classes.
1076         (serialVersionUID): New constant.
1077         * javax/swing/text/JTextComponent.java
1078         (AccessibleJTextComponent): Removed dead declaration.
1079         (caretPos): Removed.
1080         (setCaret): New method.
1081         * javax/swing/text/PlainDocument.java
1082         (rootElement): New field.
1083         (PlainDocument): Initialize rootElement.
1084         (createDefaultRoot): New method.
1085         (getDefaultRootElement): Implemented.
1086         * javax/swing/text/View.java: Reformatted.
1087         * javax/swing/text/ViewFactory.java
1088         (create): Added javadoc.
1090 2004-07-21  Michael Koch  <konqueror@gmx.de>
1092         * javax/swing/ToolTipManager.java: Reformatted.
1094 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
1096         * javax/swing/AbstractButton.java
1097         (changeEvent): New field.
1098         (fireItemStateChanged): Change source of the event
1099         to 'this' before firing it to button listeners.
1100         (fireActionPerformed): Likewise.
1101         (fireStateChanged): Likewise.
1102         (createActionListener): Do not set source 
1103         of the event to AbstractButton.                                  
1104         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1105         (ContainerHandler.componentAdded): Removed 
1106         print out statement.
1107         (ContainerHandler.componentRemoved): Likewise.
1109 2004-07-21  Michael Koch  <konqueror@gmx.de>
1111         * javax/swing/text/Highlighter.java: New file.
1112         * Makefile.am: Added javax/swing/text/Highlighter.java.
1113         * Makefile.in: Regenerated.
1115 2004-07-21  Michael Koch  <konqueror@gmx.de>
1117         * javax/swing/ToolTipManager.java
1118         (stillInsideTimerAction): Fixed constructor arguments.
1119         (outsideTimerAction): Likewise.
1120         (insideTimerAction): Likewise.
1122 2004-07-21  Michael Koch  <konqueror@gmx.de>
1124         * javax/swing/JButton.java: Reformatted.
1125         * javax/swing/JFormattedTextField.java
1126         (getUIClassID): Implemented.
1127         * javax/swing/JRootPane.java
1128         (serialVersionUID): New constant.
1129         * javax/swing/JTextField.java
1130         (align): New field.
1131         (JTextField): Simplified.
1132         (getUIClassID): New method.
1133         (getActionListeners): Added @since tag.
1134         (setColumns): Invalidate layout and repaint.
1135         (getHorizontalAlignment): New method.
1136         (setHorizontalAlignment): New method.
1137         (selectAll): Removed.
1138         * javax/swing/SwingUtilities.java
1139         (getAncestorOfClass): Removed redundant @see tag.
1140         (isLeftMouseButton): Fixed implementation.
1141         (isMiddleMouseButton): Likewise.
1142         (isRightMouseButton): Likewise.
1143         * javax/swing/text/AbstractDocument.java
1144         (AttributeContext.addAttribute): New method.
1145         (AttributeContext.addAttributes): New method.
1146         (AttributeContext.getEmptySet): New method.
1147         (AttributeContext.reclaim): New method.
1148         (AttributeContext.removeAttribute): New method.
1149         (AttributeContext.removeAttributes): New method.
1150         * javax/swing/text/Document.java
1151         (createPosition): Throws BadLocationException.
1152         (getText): Likewise.
1153         (remove): Likewise.
1154         * javax/swing/text/JTextComponent.java
1155         (getText): Return null if no document is set. Catch
1156         BadLocationException.
1157         (getUI): Return ui.
1158         (updateUI): Simplified.
1160 2004-07-21  Michael Koch  <konqueror@gmx.de>
1162         * javax/swing/JButton.java
1163         (removeNotify): Fixed javadoc.
1164         (updateUI): Simplified.
1166 2004-07-21  David Jee  <djee@redhat.com>
1168         * gnu/java/awt/image/ImageDecoder.java
1169         (startProduction): Only add consumer if it's not added yet.
1170         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1171         (GdkPixbufDecoder): Don't call initState() here.
1172         (produce): Call initState() here, to ensure area_prepared and
1173         area_updated signals are properly connected.
1174         * gnu/java/awt/peer/gtk/GtkImage.java
1175         (setColorModel): Use equals() to compare ColorModel objects.
1176         (setPixels): Likewise.
1177         * java/awt/image/ColorModel.java
1178         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1179         * java/awt/image/RGBImageFilter.java
1180         (setColorModel): Set consumer's color model.
1181         (setPixels): Use equals() to compare ColorModel objects.
1183 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
1185         * java/net/URLConnection.java (position): New field.
1186         (dateFormat1, dateFormat2, dateFormat3): Removed.
1187         (dateFormats): New field.
1188         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1189         each time instead of re-allocating.
1190         (initializeDateFormats): Initialize 'dateFormats'.
1192 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1194         PR libgcj/16591
1195         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1196         is defined.
1198 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1200         * java/net/Socket.java (getImpl): Now private. Remove comment.
1202 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1204         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1205         of chained Writer when calling super-constructor.
1206         * java/io/FilterWriter.java (FilterWriter): Likewise.
1207         * java/io/PrintWriter.java (PrintWriter): Likewise.
1209 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
1211         * prims.cc (process_gcj_properties): Don't increment i within LHS
1212         of assignment.
1214 2004-07-19  Per Bothner  <per@bothner.com>
1216         Print -verbose:message on "loading", not initialization.
1217         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
1218         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
1219         gcj::verbose_class_flag.
1220         * java/lang/natClass.cc (initializeClass):  Don't print message here.
1221         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
1222         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1223         (_Jv_PrepareCompiledClass):  Likewise.
1225 2004-07-18  Matthias Klose  <doko@debian.org>
1227         * configure.in: Substitute target_noncanonical.
1228         * configure: Regenerate
1230 2004-07-17  Michael Koch  <konqueror@gmx.de>
1232         * java/lang/String.java: Fixed javadocs all over.
1234 2004-07-17  Mark Wielaard  <mark@klomp.org>
1236         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1237         when size is smaller.
1238         * java/io/RandomAccessFile.java (setLength): Use truncate for
1239         shrinking the file and seek plus write for expanding the file.
1241 2004-07-17  Michael Koch  <konqueror@gmx.de>
1243         * gnu/java/nio/channels/natFileChannelPosix.cc
1244         (implTruncate): Always save current position. Only reposition file
1245         pointer to where we started if not beyond new lenght. Reposition file
1246         pointer to file length if it points beyond the end of file.
1248 2004-07-17  Mark Wielaard  <mark@klomp.org>
1250         * javax/swing/Box.java: Put FIXME comment above class declaration.
1251         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1252         * javax/swing/JCheckBox.java: Likewise.
1253         * javax/swing/JDialog.java: Likewise.
1254         * javax/swing/JRadioButton.java: Likewise.
1255         * javax/swing/JToggleButton.java: Likewise.
1256         * javax/swing/UIManager.java: Likewise.
1257         * javax/swing/border/TitledBorder.java: Likewise.
1258         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1259         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1260         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1261         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1262         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1263         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1264         * javax/swing/text/JTextComponent.java: Likewise.
1266 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
1268         * java/net/DatagramPacket.java (setAddress): Removed check for
1269         null address.
1271 2004-07-17  Michael Koch  <konqueror@gmx.de>
1273         * java/net/DatagramSocket.java
1274         (getLocalAddress): Check if socket is bound or not.
1275         * java/net/Socket.java
1276         (getLocalAddrss): Check if socket is bound or not.
1277         (getPort): Return -1 when not connected. Dont check getImpl() for
1278         null.
1279         (setReuseAddress): Check if socket is closed.
1280         (isConnected): Check if getImpl() returns null.
1282 2004-07-17  Mark Wielaard  <mark@klomp.org>
1284         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1285         on notifier object before calling notifyAll().
1287 2004-07-17  Michael Koch  <konqueror@gmx.de>
1289         * gnu/java/nio/channels/FileChannelImpl.java
1290         (finalize): Added javadoc.
1292 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
1294         * java/text/CollationElementIterator.java
1295         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1296         (setText): Use ArrayList instead of Vector.
1298 2004-07-17  Michael Koch  <konqueror@gmx.de>
1300         * java/nio/ByteOrder.java
1301         (static): Removed. Not needed.
1302         Thanks to Patrick Reali for noticing.
1303         * java/nio/charset/CharsetDecoder.java
1304         (decode): Fix for classpath bug #9177: Reset state before flipping.
1306 2004-07-17  Michael Koch  <konqueror@gmx.de>
1308         * java/security/Security.java: Fixed javadocs all over.
1310 2004-07-17  Michael Koch  <konqueror@gmx.de>
1312         * gnu/java/awt/EmbeddedWindow.java
1313         (static): Removed.
1314         (addNotify): Set peer via reflection.
1315         (setWindowPeer): Removed.
1316         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1317         * Makefile.am (nat_source_files):
1318         Removed gnu/java/awt/natEmbeddedWindow.cc.
1319         * Makefile.in: Regenerated.
1321 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
1323         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1324         assignment.
1325         * configure: Regenerated.
1327 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
1329         * configure.in: Use build_noncanonical rather than build_alias.
1330         * configure: Rebuild.
1332         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1333         by logic refactoring.  Move default definition of NATIVE closer
1334         to first alternate definition.
1335         * configure: Regenerate.
1337         * Makefile.am: Set ZIP and GCJH directly using autoconf.
1338         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1339         gcj/Makefile.in: Regenerate.
1340         * configure.in: Set ZIP and GCJH.  Remove redundant condition
1341         in AM_CONDITIONAL(NATIVE,...)
1342         * configure: Regenerate.
1344 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
1346         * configure.in: Use target_noncanonical rather than
1347         target_alias for forward-compatibility with autoconf 2.59.
1348         * configure: Regenerate.
1349         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1350         testsuite/Makefile.am: Substitute target_noncanonical.
1351         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1352         testsuite/Makefile.in: Regenerate.
1354         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1355         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1356         * acinclude.m4: Include acx.m4.
1357         * aclocal.m4: Regenerate.
1358         * configure: Regenerate.
1360 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
1362         PR libgcj/16574
1363         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1364         (decimalFormat): New static variable.
1365         (sbuf): Likewise.
1366         (getTime): New. Override Date.getTime().
1367         (toString): Synchronize. Use decimalFormat to format nanos value
1368         correctly. Truncate extra zeros.
1369         (before): Compare getNanos() only if getTime() is equal.
1370         (after): Likewise.
1371         
1372 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
1374         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1375         * configure.in: ...here.
1376         * aclocal.m4: Regenerate.
1377         * configure: Regenerate.
1379         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1380         * configure: Rebuilt with autoconf 2.13.
1381         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1382         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1384 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
1386         PR libgcj/16204
1387         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1388         large file support.
1389         * Makefile.in: Rebuilt.
1390         * testsuite/libjava.lang/LargeFile.java: New test case.
1391         * testsuite/libjava.lang/LargeFile.out: New file.
1393 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1395         * java/beans/EventHandler.java: Remove debugging statements.
1397 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1399         * java/beans/EventHandler.java: New file.
1400         * Makefile.am (awt_java_source_files): Add EventHandler.java.
1401         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1402         testsuite/Makefile.in: Regenerate.
1404 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
1406         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1407         flag to the gcj_setup.
1408         (gcj_jacks_run): Check tclsh version and launch jacks directly with
1409         the tclsh.
1410         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1411         deprecation flag change. 58 XFAILS removed.
1413 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
1415         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
1416         -fno-use-divide-subroutine.
1417         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1418         (HANDLE_FPE): Define.
1419         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1420         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1421         (HANDLE_DIVIDE_OVERFLOW): Define.
1423 2004-07-14  Michael Koch  <konqueror@gmx.de> 
1424             Matthias Klose  <doko@debian.org> 
1426         * java/awt/im/InputContext.java: Initialize in, line.
1428 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
1430         * interpret.cc (run): Correctly access libffi return values of
1431         integral smaller-than-int type; these are implicitly promoted.
1433 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
1435         PR libgcj/7587
1436         * interpret.cc (compile_mutex): New.
1437         (_Jv_InitInterpreter): New. Initialize compile_mutex.
1438         (run): Lock compile_mutex before calling compile() if compilation is
1439         required.
1440         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
1441         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
1443 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
1445         PR libgcj/15713
1446         * include/jvm.h (_Jv_value): New union type.
1447         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
1448         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
1449         union members.
1451 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
1453         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
1454         * gnu/awt/xlib/XOffScreenImage.java
1455           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
1456           constructor argument. Add constructor using ImageProducer.
1457           (getSource): Implement.
1458           (imageComplete): New method.
1459           (setColorModel): New method.
1460           (setDimensions): New method.
1461           (setHints): New method.
1462           (setPixels): New method.
1463           (setProperties): New method.
1464         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
1465         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
1467 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
1469         PR libgcj/16478 
1470         * prims.cc (_Jv_CreateJavaVM): Fix comment.
1471         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
1472         (finalizerReady): Now native.
1473         (run): Likewise.
1474         (runFinalizers): Removed.
1475         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
1476         a primitive lock, and don't hold it while running the finalizers.
1477         (runFinalizers): Implement. Don't aquire any Java lock.
1478         (finalizerReady): Use lock primitives to signal finalizer thread.
1480 2004-07-11  Mark Wielaard  <mark@klomp.org>
1482         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
1483         * java/net/URLStreamHandler.java (parseURL): When url file part
1484         doesn't contain a '/' just ignore context.
1486 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
1488         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
1489         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1490         (MAKE_THROW_FRAME): Do not modify PSW address.
1491         (INIT_SEGV): Install SIGINFO-style signal handler.
1492         (INIT_FPE): Likewise.
1494 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
1496         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
1497         status. 21 xfail's removed, 1 added.
1499 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
1501         * gcj/javaprims.h: Regenerate CNI namespace definitions.
1503 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1505         * java/text/MessageFormat.java
1506         (formatInternal): Append "{n}" if argument n is unavailable.
1507         (format(Object, StringBuffer, FieldPosition)): This
1508         should be equivalent to format(Object[],
1509         StringBuffer, FieldPosition).
1511 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1513         * java.util.Calendar.java (cache): New private static field. Cached
1514         mappings of locales->calendar classes.
1515         (ctorArgTypes): New private static field. Singleton argument for
1516         calendar class constructor lookup.
1517         (getInstance): Cache Locale->Calendar class mappings using HashMap.
1518         Optimize by bypassing reflection instantiation for the 
1519         GregorianCalendar case.
1521 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1523         * java/util/Calendar.java: Use getSystemClassLoader as argument for
1524         ResourceBundle.getBundle() calls.
1525         * java/util/GregorianCalendar.java: Likewise.
1526         * java/util/Currency.java: Likewise.
1527         * java/text/BreakIterator.java: Likewise.
1528         * java/text/Collator.java: Likewise.
1529         * java/text/DateFormat.java: Likewise.
1530         * java/text/DateFormatSymbols.java: Likewise.
1531         * java/text/DecimalFormatSymbols.java: Likewise.
1532         * java/text/NumberFormat.java: Likewise.
1533         * java/awt/Window.java: Likewise.       
1535 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1537         * java/util/ResourceBundle.java (bundleCache): Renamed from
1538         resourceBundleCache. Update comments.
1539         (getObject): Don't catch MissingResourceException.
1540         (getBundle(String)): Remove 'final'. Use system classloader if
1541         getCallingClassLoader returned null.
1542         (getBundle(String, Locale)): Likewise.
1543         (BundleKey): New private class. HashMap key for bundle cache lookup.
1544         (lookupKey): New. Singleton instance of BundleKey.
1545         (nullEntry): New. Cache entry to represent failed lookups.
1546         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
1547         caching strategy, no-allocation lookup, and new tryBundle methods.
1548         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
1549         name using given classloader.
1550         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
1551         baseName for given Locale and attempt to load bundle.
1553 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1555         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
1556         illegal protected method calls.
1558 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
1560         Fix or remove some bogus test cases.
1561         * testsuite/libjava.compile/pr10459_2.java: Removed.
1562         * testsuite/libjava.compile/pr10459.java: Test using its own method,
1563         not Object.clone().
1564         * testsuite/libjava.compile/inner_data.java: Test against its own
1565         protected field.
1567 2004-07-09  Michael Koch  <konqueror@gmx.de>
1569         * scripts/unicode-muncher.pl: Updated to version 2.1
1570         from GNU classpath. Added some clarifications on where to find the
1571         needed files from www.unicode.org.
1572         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
1573         gnu/gcj/convert/UnicodeData-3.0.0.txt:
1574         Removed, these can directly be downloaded from www.unicode.org if
1575         needed. 
1576         * gnu/java/lang/CharData.java: Regenerated.
1577         * include/java-chartables.h: Regenerated.
1578         * Makefile.am (ordinary_java_source_files):
1579         Removed gnu/java/lang/CharData.java.
1580         * Makefile.in: Regenerated.
1582 2004-07-09  Michael Koch  <konqueror@gmx.de>
1584         * java/security/AccessControlContext.java,
1585         java/security/SecureClassLoader.java:
1586         Fixed javadocs.
1588 2004-07-09  Michael Koch  <konqueror@gmx.de>
1590         * java/io/ObjectInputStream.java (readFields): Use long datatype
1591         when shifting byte values more then 24 bits left.
1593 2004-07-09  Michael Koch  <konqueror@gmx.de>
1595         * java/util/zip/DeflaterOutputStream.java,
1596         java/util/zip/GZIPInputStream.java,
1597         java/util/zip/GZIPOutputStream.java,
1598         java/util/zip/InflaterInputStream.java:
1599         Reformatted. Added javadocs. Reordered all stuff.
1600         Renamed variables to be more clear.
1602 2004-07-09  Michael Koch  <konqueror@gmx.de>
1604         * javax/imageio/IIOException.java,
1605         javax/imageio/event/IIOReadProgressListener.java,
1606         javax/imageio/event/IIOReadUpdateListener.java,
1607         javax/imageio/event/IIOReadWarningListener.java,
1608         javax/imageio/event/IIOWriteProgressListener.java,
1609         javax/imageio/event/IIOWriteWarningListener.java:
1610         New files.
1611         * Makefile.am: Added new files.
1612         * Makefile.in: Regenerated.
1614 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
1616         * java/text/RuleBasedCollator.java
1617         (mergeRules): Use ArrayList instead of Vector.
1618         (subParseString): likewise.
1619         (parseString): likewise.
1620         (buildCollationVector): likewise.
1621         (getCollationKey): likewise.
1623 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
1625         * java/text/DateFormat.java (parse):
1626         Improved javadoc. Improved exception message.
1628 2004-07-09  Mark Wielaard  <mark@klomp.org>
1630         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
1631         interrupted() method to clear interupt flag of our Thread.
1633 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
1635         * java/nio/Buffer.java,
1636         java/nio/ByteBuffer.java,
1637         java/nio/ByteBufferHelper.java,
1638         java/nio/ByteBufferImpl.java,
1639         java/nio/CharBuffer.java,
1640         java/nio/CharBufferImpl.java,
1641         java/nio/CharViewBufferImpl.java,
1642         java/nio/DirectByteBufferImpl.java,
1643         java/nio/DoubleBuffer.java,
1644         java/nio/DoubleBufferImpl.java,
1645         java/nio/DoubleViewBufferImpl.java,
1646         java/nio/FloatBuffer.java,
1647         java/nio/FloatBufferImpl.java,
1648         java/nio/FloatViewBufferImpl.java,
1649         java/nio/IntBuffer.java,
1650         java/nio/IntBufferImpl.java,
1651         java/nio/IntViewBufferImpl.java,
1652         java/nio/LongBuffer.java,
1653         java/nio/LongBufferImpl.java,
1654         java/nio/LongViewBufferImpl.java,
1655         java/nio/MappedByteBufferImpl.java,
1656         java/nio/ShortBuffer.java,
1657         java/nio/ShortBufferImpl.java,
1658         java/nio/ShortViewBufferImpl.java:
1659         Fixed javadocs all over. Improved input error
1660         checking.
1662         * java/nio/Buffer.java
1663         (checkForUnderflow, checkForOverflow, checkIndex,
1664         checkIfReadOnly, checkArraySize): New helper methods
1665         for error checking.
1667         * java/nio/ByteBufferHelper.java
1668         (checkRemainingForRead, checkRemainingForWrite,
1669         checkAvailableForRead, checkAvailableForWrite): Removed
1670         no longer needed methods.
1672 2004-07-09  Michael Koch  <konqueror@gmx.de>
1674         * gnu/regexp/CharIndexedInputStream.java:
1675         Reordered imports to match classpath.
1677 2004-07-09  Michael Koch  <konqueror@gmx.de>
1679         * gnu/java/awt/EmbeddedWindow.java:
1680         Load native library for setWindowPeer method.
1682 2004-07-08  Randolph Chung  <tausq@debian.org>
1684         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
1685         * configure: Regenerate.
1686         * configure.host: Set can_unwind_signal for hppa*-linux.
1687         * include/pa-signal.h: New file.
1689 2004-07-07  Per Bothner  <per@bothner.com>
1691         * Makefile.am:  Add rules to build libgij from just gij.cc.
1693         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
1694         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
1695         (initializeClass):  If verbose_class_flag, print message.
1696         * gij.cc (main):  Handle -verbose:class flag.
1698 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
1700         * configure.host: Enable hash synchronization on Darwin.
1701         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
1702         ';', since this is a comment on Darwin.
1703         (compare_and_swap_release): Likewise.
1705 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
1707         * java/net/URLStreamHandler.java (parseURL): Canonicalize
1708         file portion of URL in addition to spec for file: protocol.
1710 2004-07-05  Anthony Green  <green@redhat.com>
1712         * java/io/File.java (toURI): Merge from Classpath.
1714 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1716         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
1717         before passing to URL constructor. Rethrow any MalformedURLException
1718         as a RuntimeException. Catch MalformedURLException specifically, not
1719         all exceptions.
1721 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
1723         * java/util/Locale.java (readObject): Intern strings read from object
1724         stream.
1726 2004-07-04  Michael Koch  <konqueror@gmx.de>
1728         * gnu/gcj/runtime/FirstThread.java,
1729         gnu/gcj/runtime/natFirstThread.cc: Removed.
1730         * gnu/java/lang/MainThread.java,
1731         gnu/java/lang/natMainThread.cc: New files.
1732         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
1733         * Makefile.am: Added new files and removed deleted ones.
1734         * Makefile.in: Regenerated.
1736 2004-07-03  Mark Wielaard  <mark@klomp.org>
1737             Anthony Green  <green@redhat.com>
1739         * java/net/URL.java (getFile): Clarify return value doc.
1740         (getPath): Return null if file is empty - not empty String.
1741         (set): Convert protocol to lower case before doing anything.
1742         Only change the protocol handler if it's different.
1744 2004-07-03  Anthony Green  <green@redhat.com>
1746         * java/net/URL.java (URL): Convert protocol to lower case before
1747         doing anything, so we getURLStreamHandler() with the proper value.
1749 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
1751         * java/util/Locale.java (hashcode): Made transient.
1752         (hashCode): No longer synchronized.
1753         (equals): Remove comment.
1754         (writeObject): No longer synchronized. Implement using writeObject 
1755         calls instead of tweaking hashCode field. Update doc.
1756         (readObject): Implement using readObject calls.
1758 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
1759             Andreas Tobler  <a.tobler@schweiz.ch>
1761         * configure.host (powerpc-*-darwin*): New case, define
1762         can_unwind_signal.
1763         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
1764         * configure: Regenerate.
1765         * include/darwin-signal.h: New.
1767 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
1769         * java/beans/Statement.java (doExecute): Fix formatting.
1771 2004-06-29  Per Bothner  <per@bothner.com>
1773         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
1774         etc etc):  Remove needless parenthesis, which causes __stdcall__
1775         attribute on MinGW to get ignored.
1777 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
1779         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
1781 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
1783         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
1785 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
1787         * java/beans/Expression.java: New file.
1788         * java/beans/Statement.java: New file.
1789         * Makefile.am: Added new files.
1790         * Makefile.in: Re-generate.
1792 2004-06-27 Mark Wielaard  <mark@klomp.org>
1794         * java/io/FilePermission.java (usingPerms): Removed.
1795         (actionsString): Made final.
1796         (cachePerms): Renamed to checkPerms.
1797         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
1798         on action String.
1799         (FilePermission): Check arguments, call checkPerms().
1800         (equals): Remove cachePerms() call.
1801         (implies): Likewise.
1803 2004-06-27  Mark Wielaard  <mark@klomp.org>
1805         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
1806         final field.
1807         (sendRequest): Use new field in user-agent http agent.
1809 2004-06-27  Mark Wielaard  <mark@klomp.org>
1811         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1812         when argument is null.
1814 2004-06-26  Mark Wielaard  <mark@klomp.org>
1816         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1817         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
1818         GetMethodID call.
1819         (cancel_clicked): Likewise.
1821 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
1823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1824         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
1825         can not calculate the right value.
1826         (dpi_changed_cb): Likewise. Mark *pspec as unused.
1828 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
1830         * testsuite/libjava.jacks/jacks.xfail: Remove
1831         15.9.1-qualified-concrete-20.
1833 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
1835         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
1836         encoding name to iconv.
1837         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
1839 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
1841         PR libgcj/16134:
1842         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
1843         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
1844         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
1846 2004-06-21  Andrew Haley  <aph@redhat.com>
1848         * java/io/ObjectOutputStream.java: Add DEBUG statements
1849         everywhere.
1850         (dumpElementln): New method.
1851         (depth): New field.
1852         * java/io/ObjectInputStream.java
1853         (currentClassLoader): Make native.
1854         (callersClassLoader): New field.
1855         (depth): New field.
1856         (readObject): ENDBLOCKDATA is generated if the class has a write
1857         method, not if it has a read method.
1858         (readObject): Save and restore this.currentObject and
1859         this.currentObjectStreamClass around calls to callReadMethod().
1860         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
1861         method.
1863 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
1865         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
1866         darwin.
1868 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
1870         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
1871         if desired, before the default class loader is initialised.
1872         Call INIT_SEGV only if HANDLE_SEGV is defined.
1874 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
1876         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
1877         directory only if it actually exists.
1879 2004-06-18  Graydon Hoare  <graydon@redhat.com>
1881         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1882         Fix up non-ansi comments.
1884 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
1886         * javax/swing/text/AbstractDocument.java: Adding missing import
1887         for javax.swing.event.EventListenerList.
1888         * javax/swing/text/DefaultCaret.java: Likewise.
1890 2004-06-17  Michael Koch  <konqueror@gmx.de>
1892         * javax/swing/JToolBar.java
1893         (name): Removed.
1894         (JToolBar): Use Component.setName(String) instead of doing it all
1895         alone.
1896         * javax/swing/Timer.java
1897         (queueEvent): Added missing modifier.
1899 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
1901         * Makefile.am: Added new file.
1902         * Makefile.in: Re-generate.
1903         * javax/swing/JMenu.java:
1904         (insertSeparator): Implemented.
1905         * javax/swing/JPopupMenu.java:
1906         (JPopupMenu.Separator): Implemented.
1907         * javax/swing/MenuSelectionManager.java:
1908         (processMouseEvent): Use java.awt.Component 
1909         for event source instead of javax.swing.JComponent. 
1910         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
1911         New File. Implemented.
1912         
1913 2004-06-16  David Jee  <djee@redhat.com>
1915         * java/awt/GridBagLayout.java
1916         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
1917         Make sure pos_x and pos_y are never negative.
1919 2004-04-16  Andrew Overholt  <overholt@redhat.com>
1921         * Makefile.am: Add new file.
1922         * Makefile.in: Re-generate.     
1923         * javax/swing/JToolBar.java
1924         Partially implemented.
1925         * javax/swing/plaf/basic/BasicToolBarUI.java
1926         New file. Partially implemented.
1928 2004-06-16  Graydon Hoare  <graydon@redhat.com>
1930         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
1931         (setComposite): Accept AlphaComposite arguments.
1932         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1933         (createBufferedImage): Add new overloads.
1934         * gnu/java/awt/peer/gtk/GtkToolkit.java
1935         (createImage): Use GdkPixbufDecoder.createBufferedImage
1936         when useGraphics2D() is true.
1937         (getImage): Delegate to createImage.
1938         * javax/swing/JList.java
1939         (isSelectionEmpty):
1940         (getFirstVisibleIndex):
1941         (getLastVisibleIndex):
1942         (setSelectedValue):
1943         (ensureIndexIsVisible): New methods.
1944         * javax/swing/Timer.java: Reimplement.
1946 2004-06-16  Michael Koch  <konqueror@gmx.de>
1948         * javax/swing/text/AbstractDocument.java
1949         (AbstracElement): Made public, implements java.io.Serializable.
1950         (AttributeContext): Made public.
1951         (BranchElement): Likewise.
1952         (Content): Likewise.
1953         (DefaultDocumentEvent): Made public, extends
1954         javax.swing.undo.CompoundEdit.
1955         (ElementEdit): Made public, extends
1956         javax.swing.undo.AbstractUndoableEdit.
1957         (LeafElement): Made public.
1958         (LeafElement.LeafElement): Made public.
1960 2004-06-16  Michael Koch  <konqueror@gmx.de>
1962         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
1963         methods (that were obviously never be intended to get included hi this
1964         class. Added some methods too.
1966 2004-06-16  Michael Koch  <konqueror@gmx.de>
1968         * javax/swing/text/PlainDocument.java
1969         (serialVersionUID): New constant.
1970         (lineLimitAttribute): Likewise.
1971         (tabSizeAttribute): Likewise.
1972         (tabSize): New field.
1973         (PlainDocument): Made public.
1974         (PlainDocument): New constructor.
1976 2004-06-16  Michael Koch  <konqueror@gmx.de>
1978         * javax/swing/text/AbstractDocument.java
1979         (insertString): Throws BadLocationException.
1980         * javax/swing/text/Document.java
1981         (insertString): Likewise.
1982         * javax/swing/text/JTextComponent.java:
1983         Javadocs and comments cleaned up.
1985 2004-06-16  Michael Koch  <konqueror@gmx.de>
1987         * javax/swing/event/UndoableEditListener.java: Reformatted.
1988         * javax/swing/text/AbstractDocument.java
1989         (AbstractDocument): Implements java.io.Serializable.
1990         (doc_list): Removed.
1991         (undo_list): Removed.
1992         (AbstractElement.serialVerionUID): New field.
1993         (BranchElement.serialVerionUID): Likewise.
1994         (DefaultDocumentEvent.serialVerionUID): Likewise.
1995         (ElementEdit.serialVerionUID): Likewise.
1996         (LeafElement.serialVerionUID): Likewise.
1997         (serialVerionUID): Likewise.
1998         (BAD_LOCATION): New constant.
1999         (BidiElementName): Likewise.
2000         (ContentElementName): Likewise.
2001         (ParagraphElementName): Likewise.
2002         (SectionElementName): Likewise.
2003         (ElementNameAttribute): Likewise.
2004         (AbstractDocument): Made protected.
2005         (AbstractDocument): New construtor.
2006         (listenerList): New field.
2007         (fireChangedUpdate): Implemented.
2008         (fireInsertUpdate): Likewise.
2009         (fireRemoveUpdate): Likewise.
2010         (fireUndoableEditUpdate): Likewise.
2011         (getListeners): Likewise.
2012         (addDocumentListener): Likewise.
2013         (removeDocumentListener): Likewise.
2014         (addUndoableEditListener): Likewise.
2015         (removeUndoableEditListener): Likewise.
2016         (getDocumentListeners): New method.
2017         (getUndoableEditListeners): Likewise.
2018         (getAsynchronousLoadPriority): Made public.
2019         (getBidiRootElement): Likewise.
2020         (setAsynchronousLoadPriority): Likewise.
2021         (setDocumentProperties): Likewise.
2022         * javax/swing/text/BadLocationException.java
2023         (serialVerionUID): New field.
2024         * javax/swing/text/DefaultCaret.java
2025         (changeEvent): New field.
2026         (listenerList): Likewise.
2027         (changes): Removed.
2028         (addChangeListener): Reimplemented.
2029         (removeChangeListener): Likewise.
2030         (getListeners): New method.
2031         (getChangeListeners): Likwise.
2032         (getComponent): Likewise.
2033         * javax/swing/text/GapContent.java
2034         (GapContent): Implements java.io.Serializable.
2035         (serialVerionUID): New field.
2037 2004-06-16  Michael Koch  <konqueror@gmx.de>
2039         * javax/swing/JTree.java
2040         (treeModel): New field.
2041         (JTree): New constructors, one existing one made public.
2042         (createTreeModel): New method.
2043         (addTreeExpansionListener): Likewise.
2044         (removeTreeExpansionListener): Likewise.
2045         (getTreeExpansionListeners): Likewise.
2046         (fireTreeCollapsed): Likewise.
2047         (fireTreeExpanded): Likewise.
2048         (addTreeSelectionListener): Likewise.
2049         (removeTreeSelectionListener): Likewise.
2050         (getTreeSelectionListeners): Likewise.
2051         (fireValueChanged): Likewise.
2052         (addTreeWillExpandListener): Likewise.
2053         (removeTreeWillExpandListener): Likewise.
2054         (getTreeWillExpandListeners): Likewise.
2055         (fireTreeWillCollapse): Likewise.
2056         (fireTreeWillExpand): Likewise.
2058 2004-06-16  Michael Koch  <konqueror@gmx.de>
2060         * javax/swing/JTree.java: Reformatted.
2062 2004-06-16  Michael Koch  <konqueror@gmx.de>
2064         * javax/swing/JTextArea.java: New file.
2065         * javax/swing/JTextField.java
2066         (actions): Removed.
2067         (notifyAction): New constant.
2068         (columns): New field.
2069         (JTextField): New constructors.
2070         (createDefaultModel): New method.
2071         (addActionListener): Reimplmemented.
2072         (removeActionListener): Reimplemented.
2073         (getActionListeners): New method.
2074         (fireActionPerformed): New method.
2075         (getColumns): New method.
2076         (setColumne): New method.
2077         * javax/swing/text/JTextComponent.java
2078         (AccessibleJTextComponent.serialVersionUID): New field.
2079         (serialVersionUID): Likewise.
2080         (DEFAULT_KEYMAP): Likewise.
2081         (FOCUS_ACCELERATOR_KEY): Likewise.
2082         (doc): Made private.
2083         (icon_gap): Likewise.
2084         (icon): Likewise.
2085         (align): Likewise.
2086         (JTextComponent): Some constructors removed.
2087         (getScrollableTracksViewportHeight): New method.
2088         (getScrollableTracksViewportWidth): Likewise.
2089         * Makefile.am: Added javax/swing/JTextArea.java.
2090         * Makefile.in: Regenerated.
2092 2004-06-15  Graydon Hoare  <graydon@redhat.com>
2094         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2095         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2096         * javax/swing/JViewport.java 
2097         (getExtentSize): Return size rather than preferred size.
2098         (toViewCoordinates): New methods.
2099         (getViewSize): Return size rather than preferred size.
2100         (setViewSize): Note view size as set.
2101         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2102         * javax/swing/plaf/basic/BasicScrollBarUI.java 
2103         (getPreferredSize): Don't redo layout.
2104         * javax/swing/plaf/basic/BasicViewportUI.java 
2105         (paint): Translate image properly and eat exceptions.
2107 2004-06-15  Kim Ho  <kho@redhat.com>
2109         * javax/swing/JTabbedPane.java
2110         (setComponent): Remove old component and
2111         add new component.
2112         (setSelectedIndex): Don't operate on the 
2113         components if they're null. Don't set index
2114         on the model if the index is the same.
2115         (insertTab): Don't add or hide the component
2116         if it's null. Repaint the container.
2117         * javax/swing/plaf/basic/BasicLookAndFeel.java
2118         Change colors for TabbedPane.
2119         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2120         (mousePressed): Re-layout and paint the component.
2121         (layoutContainer): Don't set location on the view.
2122         (ScrollingViewport::paint): Remove.
2124 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2127         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2130         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2131         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
2132         critical region.
2133         (drawLine): Call gdk_flush before leaving GDK critical region.
2134         (fillRect): Likewise.
2135         (drawRect): Likewise.
2136         (copyArea): Likewise.
2137         (copyPixmap): Likewise.
2138         (clearRect): Likewise.
2139         (drawArc): Likewise.
2140         (drawPolyline): Likewise.
2141         (drawPolygon): Likewise.
2142         (fillPolygon): Likewise.
2143         (fillArc): Likewise.
2144         (drawOval): Likewise.
2145         (fillOval): Likewise.
2147         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2148         style parameter.
2149         (GdkFontMetrics): Add style argument to initState call.
2150         (stringWidth(String,int,int,String)): Add style parameter.
2151         (stringWidth(String)): Add style argument to stringWidth call.
2152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2153         (initState): Set pango font style and weight based on AWT style
2154         parameter.  Pass default GTK language to
2155         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
2156         simply dividing by PANGO_SCALE.
2157         (stringWidth): Set pango font style and weight based on AWT style
2158         parameter.
2160         * java/awt/Button.java (next_button_number): New field.
2161         (paramString): Change output.
2162         (generateName): New method.
2163         (getUniqueLong): New method.
2165 2004-06-14  Kim Ho  <kho@redhat.com>
2167         * javax/swing/JTabbedPane.java:
2168         (setComponentAt): Set the component, not
2169         the enabled status.
2170         * javax/swing/plaf/basic/BasicDesktopIconUI.java
2171         (actionPerformed): Let deiconize catch exception.
2173 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2175         * javax/swing/JPopupMenu.java:
2176         (setVisible): Corrected location of a 
2177         heavyweight popup menu.
2179 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2181         * javax/swing/MenuSelectionManager.java: 
2182         Ran through jalopy to fix formatting style.
2184 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2185         
2186         * javax/swing/JLayeredPane.java: 
2187         (remove): Revalidate and repaint layered pane after
2188         the component was removed.
2189         javax/swing/JMenu.java:
2190         (setVisible): Display popup menu at the user location,
2191         if one was set by the user.
2192         (setMenuLocation): Reimplemented. Fixed javadoc.
2193         * javax/swing/JMenuBar.java: Added javadoc.
2194         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2195         (MODEL_CHANGED_PROPERTY): New Property.
2196         (isSelected): Implemented.
2197         (setBorderPainted): Fire PropertyChangeEvent
2198         if paintBorder property changes.
2199         (setSelected): Implemented.
2200         (setSelectionModel): Implemented.
2201         * javax/swing/JPopupMenu.java: Added Javadoc
2202         (pack): Implemented.
2203         (setVisible): Reimplemented.
2204         (show): Fixed location.
2205         (JPopupMenu.LigthWeightPopup): Reimplemented to use
2206         Container instead of JPanel.
2207         * javax/swing/MenuSelectionManager.java: Added Javadocs.
2208         (clearSelectedPath): Reimplemented to clear selectedPath
2209         in reverse order.
2210         (processMouseEvent): Reimplemented.
2211         (setSelectedPath): Fire stateChange event indicating that
2212         selected menu path has changed.
2213         (getPath): Change to use ArrayList instead of Vector.
2214         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2215         (installUI): call installKeyboardActions().
2216         (uninstallUI): call uninstallKeyboardActions().
2218 2004-06-13  Michael Koch  <konqueror@gmx.de>
2220         * javax/swing/text/DefaultCaret.java,
2221         javax/swing/text/BadLocationException.java:
2222         Reformatted.
2224 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2226         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2227         DEFAULT_COLS): New variables.
2228         (create): Don't allow 0 rows or 0 columns.  Instead, set the
2229         values to DEFAULT_ROWS or DEFAULT_COLS.
2230         (getMinimumSize): Likewise.
2231         (getPreferredSize): Likewise.
2232         (minimumSize): Likewise.
2233         (preferredSize): Likewise.
2234         (create): Set peer's editable state.
2235         * java/awt/TextArea.java (TextArea()): Set rows and columns to
2236         zero.  Update javadocs.
2237         (TextArea(String)): Likewise.
2238         (TextArea(int,int)): Fix javadocs.
2239         (TextArea(String,int,int,int)): Only throw exception if one of
2240         rows or columns is zero.  Fix javadocs.
2242 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2244         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2245         addition to Components.
2247         * java/awt/MenuItem.java (dispatchEventImpl): If the event
2248         wasn't consumed by normal processing, send it to the parent
2249         menu.
2251         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2252         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2253         translation.
2255 2004-06-11  David Jee  <djee@redhat.com>
2257         * java/awt/MediaTracker.java
2258         (addImage(Image,int)): Call imageUpdate() to udpate image status.
2259         (addImage(Image,int,int,int)): Likewise.
2261 2004-06-11  Michael Koch  <konqueror@gmx.de>
2263         * javax/swing/text/AbstractDocument.java,
2264         javax/swing/text/Document.java,
2265         javax/swing/text/GapContent.java,
2266         javax/swing/text/JTextComponent.java,
2267         javax/swing/text/PlainDocument.java:
2268         Reformatted.
2270 2004-06-11  Michael Koch  <konqueror@gmx.de>
2272         * javax/swing/JRootPane.java
2273         (AccessibleJRootPane.serialVersionUID): New field.
2274         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2275         (AccessibleJRootPane.getAccessibleRole): New method.
2276         (RootLayout): Implements Serializable.
2277         (RootLayout.serialVersionUID): New field.
2278         (RootLayout.RootLayout): New constructor.
2279         (setJMenuBar): Made public.
2280         (getJMenuBar): Likewise.
2281         (JRootPane): Likewise.
2282         (createContentPane): Likewise.
2283         (createGlassPane): Likewise.
2284         (createLayeredPane): Likewise.
2286 2004-06-11  Michael Koch  <konqueror@gmx.de>
2288         * javax/swing/SwingUtilities.java
2289         (isLeftMouseButton): Fixed javadoc.
2290         (isMiddleMouseButton): Likewise.
2291         (isRightMouseButton): Likewise.
2293 2004-06-11  Michael Koch  <konqueror@gmx.de>
2295         * javax/swing/JScrollPane.java
2296         (serialVersionUID): New field.
2297         (columnHeader): Made protected.
2298         (rowHeader): Likewise.
2299         (lowerLeft): Likewise.
2300         (lowerRight): Likewise.
2301         (upperLeft): Likewise.
2302         (upperRight): Likewise.
2303         (horizontalScrollBar): Likewise.
2304         (horizontalScrollBarPolicy): Likewise.
2305         (verticalScrollBar): Likewise.
2306         (verticalScrollBarPolicy): Likewise.
2307         (viewport): Likewise.
2309 2004-06-11  Michael Koch  <konqueror@gmx.de>
2311         * javax/swing/LookAndFeel.java: Fixed javadocs.
2313 2004-06-11  Michael Koch  <konqueror@gmx.de>
2315         * javax/swing/JEditorPane.java: Fixed javadocs.
2316         (JEditorPane): Removed redundant call to to this().
2317         (fireHyperlinkUpdate): Implemented.
2319 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2321         * javax/swing/JMenu.java: Fixed file name 
2322         in the file comment.
2324 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2326         * javax/swing/JMenu.java: Added javadoc.
2327         (JMenu): Added MenuChangeListener to listen to 
2328         ChangeEvents occuring in menu's model. 
2329         (insert): Throw IllegalArgumentException if 
2330         index is less than 0
2331         (setSelected): Reimplement.
2332         (setPopupMenuVisible): Call menu's model isEnabled()
2333         (setDelay): Throw IllegalArgumentException if 
2334         given amount of delay is less than 0.
2335         (createActionComponent): Implemented.
2336         (createActionChangeListener): Implemented.
2337         (addSeparator): Implemented.
2338         (getItem): Throw IllegalArgumentException if index is 
2339         less than 0.
2340         (getItemCount): Implemented.
2341         (fireMenuSelected): Changed to use menuEvent.
2342         (fireMenuDeselected): Likewise.
2343         (fireMenuCanceled): Likewise.
2344         (setAccelerator): Changed to throw an error if this 
2345         method is used. 
2346         (doClick): Implemented.
2347         (JMenu.ActionChangedListener): New inner class to handle
2348         PropertyChangeEvents occuring in the actions associated with menu.
2349         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2350         (BasicMenuUI): Added PropertyChangeListener to the menu.
2351         (createChangeListener): Implemented.
2352         (createMenuDragMouseListener): Likewise.
2353         (createMenuKeyListener): Likewise.
2354         (createPropertyChangeListener): Likewise.
2355         (uninstallListeners): Likewise.
2356         (BasicMenuUI.MouseInputHandler): Reimplemented.
2357         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2358         (BasicMenuUI.ChangeHandler): Likewise.
2359         (BasicMenuUI.MenuDragMouseHandler): Likewise.
2360         (BasicMenuUI.MenuKeyHandler): Likewise.
2362 2004-06-10  David Jee  <djee@redhat.com>
2364         * java/awt/MediaTracker.java
2365         (imageUpdate): Only do notifyAll() if the image is complete.
2367 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2369         * javax/swing/JApplet.java:
2370         (getJMenuBar): Made public.
2371         (setJMenuBar): Likewise.
2372         * javax/swing/JFrame.java:
2373         (getJMenuBar): Made public.
2374         (setJMenuBar): Likewise.
2375         * javax/swing/JWindow.java:
2376         (getJMenuBar): Removed.
2377         (setJMenuBar): Removed.
2379 2004-06-10  Michael Koch  <konqueror@gmx.de>
2381         * javax/swing/JEditorPane.java
2382         (createEditorKitForContentType): Fixed visibility.
2383         (fireHyperlinkUpdate): Likewise.
2384         (getContentType): Likewise.
2385         (getEditorKit): Likewise.
2386         (getEditorKitForContentType): Likewise.
2387         (getPage): Likewise.
2388         (read): Likewise.
2389         (registerEditorKitForContentTyoe): Likewise.
2390         (replaceSelection): Likewise.
2391         (setContentType): Likewise.
2392         (setEditorKit): Likewise.
2393         (setPage): Likewise.
2395 2004-06-10  Michael Koch  <konqueror@gmx.de>
2397         * javax/swing/Timer.java
2398         (Timer): New constructor.
2399         * javax/swing/plaf/basic/BasicProgressBarUI.java
2400         (animationTimer): Don't initialize at construction.
2401         (startAnimationTimer): Added since tag.
2402         (stopAnimationTimer): Likewise.
2403         (installUI): Use new Timer constructor.
2404         * javax/swing/plaf/basic/BasicScrollBarUI.java
2405         (installUI): Likewise.
2406         * javax/swing/plaf/basic/BasicSliderUI.java
2407         (installUI): Likewise.
2409 2004-06-10  Michael Koch  <konqueror@gmx.de>
2411         * javax/swing/ButtonGroup.java
2412         (serialVersionUID): Made private.
2413         (buttons): Renamed from v, added javadoc.
2414         (sel): Added javadoc.
2415         (ButtonGroup): Likewise.
2416         (add): Likewise.
2417         (remove): Likewise.
2418         (getElements): Likewise.
2419         (getSelection): Likewise.
2420         (setSelected): Likewise.
2421         (isSelected): Likewise.
2422         (getButtonCount): Likewise.
2424 2004-06-10  Michael Koch  <konqueror@gmx.de>
2426         * javax/swing/ButtonGroup.java,
2427         javax/swing/ImageIcon.java,
2428         javax/swing/JEditorPane.java,
2429         javax/swing/JRootPane.java,
2430         javax/swing/JTextField.java,
2431         javax/swing/LookAndFeel.java,
2432         javax/swing/plaf/basic/BasicTextUI.java:
2433         Reindented.
2435 2004-06-10  Michael Koch  <konqueror@gmx.de>
2437         * javax/swing/text/Style.java: Added javadocs.
2439 2004-06-10  Michael Koch  <konqueror@gmx.de>
2441         * javax/swing/JComponent.java
2442         (fireVetoableChange): Removed redundant cast.
2443         * javax/swing/JLabel.java
2444         (getDisabledIcon): Save icon for next call.
2446 2004-06-10  Michael Koch  <konqueror@gmx.de>
2448         * javax/swing/KeyStroke.java
2449         (getKeyStroke(char,boolean)): Marked deprecated.
2451 2004-06-10  Michael Koch  <konqueror@gmx.de>
2453         * javax/swing/DefaultCellEditor.java,
2454         javax/swing/GrayFilter.java,
2455         javax/swing/event/DocumentEvent.java,
2456         javax/swing/text/JTextComponent.java,
2457         javax/swing/text/MutableAttributeSet.java:
2458         Reindented.
2460 2004-06-10  Michael Koch  <konqueror@gmx.de>
2462         * javax/swing/plaf/BorderUIResource.java:
2463         Added serialVersionUID all over.
2465 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
2467         * javax/swing/undo/UndoManager.java: Re-written from scratch.
2469 2004-06-10  Michael Koch  <konqueror@gmx.de>
2471         * javax/swing/table/DefaultTableCellRenderer.java
2472         (noFocusBorder): Initialize directly.
2474 2004-06-10  Michael Koch  <konqueror@gmx.de>
2476         * javax/swing/plaf/basic/BasicArrowButton.java
2477         (setDirection): Use method argument.
2479 2004-06-10  Michael Koch  <konqueror@gmx.de>
2481         * javax/swing/plaf/BorderUIResource.java,
2482         javax/swing/plaf/ComponentUI.java,
2483         javax/swing/undo/CompoundEdit.java,
2484         javax/swing/undo/StateEdit.java:
2485         Fixed javadocs all over.
2487 2004-06-10  Michael Koch  <konqueror@gmx.de>
2489         * javax/swing/DefaultButtonModel.java
2490         (ARMED): Made public final, fixed value.
2491         (ENABLED): Likewise.
2492         (PRESSED): Likewise.
2493         (ROLLOVER): Likewise.
2494         (SELECTED): Likewise.
2495         (stateMask): Initialize directly.
2496         (listenerList): Likewise.
2497         (mnemonic): Likewise.
2498         (fireStateChanged): Removed argument, use changeEvent as event.
2499         All places where this method is called are fixed too.
2500         (getActionCommant): Fixed javadoc.
2501         (setGroup): Fixed javadoc.
2502         (getGroup): New method.
2504 2004-06-09  Olga Rodimina <rodimina@redhat.com>
2506         * javax/swing/AbstractButton.java
2507         (AbstractButton): Use init() to initialize the button.
2508         (init): New Method. Initializes AbstractButton.
2509         * javax/swing/JMenuItem.java: Documented.
2510         (JMenuItem): Reimplemented.
2511         (init): Implemented.
2512         (setEnabled): Changed to call super.setEnabled()
2513         (processMouseEvent): Reimplemented.
2514         (fireMenuKeyPressed): Implemented.
2515         (fireMenuKeyReleased): Implemented.
2516         (fireMenuKeyTyped): Implemented.
2517         (menuSelectionChanged): disarm the model if the menu item was
2518         deselected.
2519         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
2520         (getPath): Change to use ArrayList instead of Vector.
2521         (getPreferredSize): Renamed variable.
2522         (paintMenuItem): Paint margin area of menu item.
2523         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
2524         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
2525         menu item's bounds before clearing the selection.       
2527 2004-06-09  David Jee  <djee@redhat.com>
2529         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2530         (GtkTextComponentPeer): Set caret position to 0.
2531         * java/awt/TextComponent.java
2532         (setText): Set caret position to 0.
2533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2534         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2535         Handle GtkScrolledWindow separately. Fix signal handler blocking.
2536         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2537         Likewise.
2538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
2539         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
2540         visible.
2542 2004-06-09  Kim Ho  <kho@redhat.com>
2544         * Makefile.am: New files
2545         * Makefile.in: Regenerated
2546         * java/awt/Container.java
2547         (getComponentAt): Removed.
2548         * javax/swing/AbstractAction.java
2549         (ENABLED_PROPERTY): New property.
2550         (putValue): Fire PropertyChangeEvents.
2551         (setEnabled): ditto.
2552         (firePropertyChange): Javadoc and implement
2553         convenience method.
2554         * javax/swing/AbstractButton.java
2555         (setAction): Don't create PropertyChangeListener
2556         if new Action is null.
2557         (setIcon): Don't set icon till after comparing
2558         it.
2559         (configurePropertiesFromAction): Check mnemonic
2560         key before calling intValue().
2561         (createActionPropertyChangeListener): Check
2562         properties rather than bulk change.
2563         * javax/swing/DefaultDesktopManager.java:
2564         Implement.
2565         * javax/swing/DesktopManager.java:
2566         Jalopy and javadoc.
2567         * javax/swing/JComponent.java
2568         (fireVetoableChange): Implement.
2569         (paintImmediately): Use root component.
2570         * javax/swing/JDesktopPane.java: Implement
2571         * javax/swing/JInternalFrame.java: Implement
2572         * javax/swing/JLabel.java
2573         (getDisabledIcon): Return grayscaled icon if
2574         no disabled icon specified.
2575         * javax/swing/JMenuBar.java
2576         (getComponentAtIndex): Use getComponent
2577         * javax/swing/JOptionPane.java
2578         (getDesktopPaneForComponent): Use SwingUtilities'
2579         getAncestorOfClass
2580         (getFrameForComponent): ditto.
2581         * javax/swing/JSplitPane.java
2582         (remove): Use getComponent.
2583         * javax/swing/SwingUtilities.java
2584         (convertPoint): Implement.
2585         * javax/swing/plaf/basic/BasicButtonUI.java
2586         (paintButtonNormal): Check opaqueness before
2587         filling background.
2588         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
2589         Implement
2590         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
2591         Implement.
2592         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
2593         Implement.
2594         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2595         Implement.
2596         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2597         Change InternalFrame and Desktop colors.
2599 2004-06-09  David Jee  <djee@redhat.com>
2601         * java/awt/Container.java
2602         (remove): Do not set component to invisible.
2604 2004-06-09  Michael Koch  <konqueror@gmx.de>
2606         * javax/swing/tree/DefaultMutableTreeNode.java
2607         (getLeafCount): Renamed enum to e.
2609 2004-06-09  Michael Koch  <konqueror@gmx.de>
2611         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
2612         (positionForMouseEvent): Removed redundant semicolon.
2613         (continueDrag): Use method arguments.
2615 2004-06-09  Michael Koch  <konqueror@gmx.de>
2617         * javax/swing/border/TitledBorder.java,
2618         javax/swing/filechooser/FileSystemView.java,
2619         javax/swing/plaf/basic/BasicButtonListener.java,
2620         javax/swing/plaf/basic/BasicGraphicsUtils.java,
2621         javax/swing/plaf/basic/BasicLabelUI.java,
2622         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2623         javax/swing/plaf/basic/BasicScrollBarUI.java,
2624         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2625         javax/swing/plaf/basic/BasicSliderUI.java,
2626         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2627         javax/swing/plaf/basic/BasicToggleButtonUI.java,
2628         javax/swing/table/JTableHeader.java,
2629         javax/swing/text/AbstractDocument.java,
2630         javax/swing/text/DefaultCaret.java,
2631         javax/swing/text/StyledEditorKit.java,
2632         javax/swing/tree/DefaultTreeCellEditor.java:
2633         Reworked import statements.
2635 2004-06-08  Graydon Hoare  <graydon@redhat.com>
2637         * javax/swing/Box.java: Temporarily comment out code
2638         broken due to visibility bug.
2640 2004-06-09  Michael Koch  <konqueror@gmx.de>
2642         * javax/swing/ImageIcon.java
2643         (ImageIcon): Added missing constructor.
2645 2004-06-08  Michael Koch  <konqueror@gmx.de>
2647         * javax/swing/JToggleButton.java
2648         (JToggleButton): New constructor.
2649         (getAccessibleContext): Moved documentation into javadoc.
2650         (getUIClassID): Likewise.
2652 2004-06-08  Michael Koch  <konqueror@gmx.de>
2654         * javax/swing/AbstractButton.java
2655         (getDisabledIcon): Create disabled icon if none exists yet.
2657 2004-06-08  Michael Koch  <konqueror@gmx.de>
2659         * javax/swing/plaf/basic/BasicLookAndFeel.java
2660         (initClassDefaults): Added FormattedTextFieldUI.
2661         (loadResourceBundle): Renamed enum to e.
2663 2004-06-08  Michael Koch  <konqueror@gmx.de>
2665         * javax/swing/plaf/basic/BasicButtonUI.java
2666         (paintIcon): Simplified.
2667         (paintText): Paint disabled button correctly.
2669 2004-06-08  Michael Koch  <konqueror@gmx.de>
2671         * javax/swing/JComponent.java
2672         (createToolTip): Use official JToolTip API.
2674 2004-06-08  Michael Koch  <konqueror@gmx.de>
2676         * javax/swing/JToolTip.java
2677         (JToolTip): No arguments in API.
2678         (setTipText): New method.
2680 2004-06-08  Michael Koch  <konqueror@gmx.de>
2682         * javax/swing/SwingUtilities.java
2683         (isLeftMouseButton): New method.
2684         (isMiddleMouseButton): New method.
2685         (isRightMouseButton): New method.
2687 2004-06-08  Michael Koch  <konqueror@gmx.de>
2689         * javax/swing/AbstractButton.java,
2690         javax/swing/CellRendererPane.java,
2691         javax/swing/JCheckBoxMenuItem.java,
2692         javax/swing/JColorChooser.java,
2693         javax/swing/JComboBox.java,
2694         javax/swing/JComponent.java,
2695         javax/swing/JDesktopPane.java,
2696         javax/swing/JFileChooser.java,
2697         javax/swing/JMenu.java,
2698         javax/swing/JMenuItem.java,
2699         javax/swing/JOptionPane.java,
2700         javax/swing/JPasswordField.java,
2701         javax/swing/JPopupMenu.java,
2702         javax/swing/JProgressBar.java,
2703         javax/swing/JRadioButtonMenuItem.java,
2704         javax/swing/JScrollBar.java,
2705         javax/swing/JSeparator.java,
2706         javax/swing/JSlider.java,
2707         javax/swing/JSplitPane.java,
2708         javax/swing/JTabbedPane.java,
2709         javax/swing/JTextField.java,
2710         javax/swing/JToolBar.java,
2711         javax/swing/text/JTextComponent.java:
2712         Fixed all constructors of accessibility classes.
2714 2004-06-08  Michael Koch  <konqueror@gmx.de>
2716         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
2717         over.
2719 2004-06-08  Michael Koch  <konqueror@gmx.de>
2721         * javax/swing/Box.java
2722         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
2723         (AccessibleBoxFiller.serialVersionUID): New member variable.
2724         * javax/swing/DefaultButtonModel.java
2725         (stateMask): Made protected.
2726         (listenerList): Likewise.
2727         (changeEvent): Likewise.
2728         (group): Likewise.
2729         (mnemonic): Likewise.
2730         (actionCommand): Likewise.
2731         (getListeners): New method.
2732         (getActionListeners): New method.
2733         (getItemListeners): New method.
2734         (getChangeListeners): New method.
2735         (fireItemStateChanged): Simplified.
2736         (fireActionPerformed): Simplified.
2737         (fireStateChanged): Simplified.
2738         * javax/swing/JFrame.java
2739         (JFrame): Implements WindowContants.
2740         (HIDE_ON_CLOSE): Removed.
2741         (EXIT_ON_CLOSE): Removed.
2742         (DISPOSE_ON_CLOSE): Removed.
2743         (DO_NOTHING_ON_CLOSE): Removed.
2744         (processWindowEvent): Exit with code 0.
2745         (setDefaultCloseOperation): Do security check before setting value.
2746         * javax/swing/JOptionPane.java
2747         (message): Initialize only in constructor.
2748         * javax/swing/JToolTip.java: Removed unused imports.
2749         * javax/swing/JViewport.java
2750         (serialVersionUID): New member variable.
2751         (SIMPLE_SCROLL_MODE): Made final, fixed value.
2752         (BLIT_SCROLL_MODE): Likewise.
2753         (BACKINGSTORE_SCROLL_MODE): Likewise.
2754         (scrollUnderway): Made protected.
2755         (isViewSizeSet): Likewise.
2756         * javax/swing/ListModel.java: Fixed javadoc.
2757         * javax/swing/Popup.java: Likewise.
2758         * javax/swing/RepaintManager.java
2759         (paintDirtyRegions): Don't use internal classes of
2760         java.util.AbstractMap.
2761         * javax/swing/ScrollPaneConstants.java: Reindented.
2762         * javax/swing/ScrollPaneLayout.java
2763         (viewport): Made protected.
2764         (verticalScrollBar): Made protected, renamed to vsb.
2765         (horizontalScrollBar): Made protected, renamed to hsb.
2766         (rowHeader): Made protected, renamed to rowHead.
2767         (columnHeader): Made protected, renamed to colHead.
2768         (lowerLeft): Made protected.
2769         (lowerRight): Made protected.
2770         (upperLeft): Made protected.
2771         (upperRight): Made protected.
2772         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
2773         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
2775 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
2777         * java/awt/MediaTracker.java (imageUpdate): Only set status to
2778         LOADING if flags has SOMEBITS set.
2780 2004-06-07  Michael Koch  <konqueror@gmx.de>
2782         * javax/swing/AbstractButton.java: Reorganized imports.
2783         * javax/swing/ActionMap.java: Likewise.
2784         * javax/swing/DefaultButtonModel.java: Likewise.
2785         * javax/swing/DefaultListModel.java: Likewise.
2786         * javax/swing/ImageIcon.java: Likewise.
2787         (serialVersionUID): New member variable.
2788         * javax/swing/JComboBox.java: Reorganized imports.
2789         * javax/swing/JComponent.java: Likewise.
2790         (ui): Made protected.
2791         (listenerList): Made protected.
2792         (TOOL_TIP_TEXT_KEY): New constant.
2793         (scrollRectToVisible): Removed redundant null check.
2794         * javax/swing/JFrame.java: Reorganized imports.
2795         * javax/swing/JInternalFrame.java: Reorganized imports.
2796         * javax/swing/JProgressBar.java: Likewise.
2797         * javax/swing/JRootPane.java: Likewise.
2798         * javax/swing/JScrollBar.java: Likewise.
2799         * javax/swing/JSeparator.java: Likewise.
2800         * javax/swing/JSlider.java: Likewise.
2801         * javax/swing/JTabbedPane.java: Likewise.
2802         * javax/swing/JTextField.java: Likewise.
2803         * javax/swing/JToolBar.java: Likewise.
2804         * javax/swing/JTree.java: Likewise.
2805         * javax/swing/JViewport.java: Likewise.
2806         * javax/swing/JWindow.java: Likewise.
2807         * javax/swing/KeyStroke.java: Likewise.
2808         * javax/swing/LookAndFeel.java: Likewise.
2809         * javax/swing/MenuSelectionManager.java: Likewise.
2810         * javax/swing/SwingUtilities.java: Likewise.
2811         * javax/swing/Timer.java: Likewise.
2812         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
2813         * javax/swing/JList.java
2814         (HORIZONTAL_WRAP): Made final, fixed value.
2815         (VERTICAL): Likewise.
2816         (VERTICAL_WRAP): Likewise.
2818 2004-06-07  Michael Koch  <konqueror@gmx.de>
2820         * javax/swing/AbstractButton.java
2821         (serialVersionUID): New member variable.
2822         (AccessibleAbstractButton.serialVersionUID): Likewise.
2823         (AbstractButton): Made public.
2824         * javax/swing/Box.java
2825         (AccessibleBox.serialVersionUID): New member variable.
2826         (Filler.serialVersionUID): Likewise.
2827         * javax/swing/DefaultListSelectionModel.java
2828         (serialVersionUID): Likewise.
2829         * javax/swing/JApplet.java
2830         (serialVersionUID): Likewise.
2831         * javax/swing/JCheckBox.java
2832         (serialVersionUID): Likewise.
2833         * javax/swing/JCheckBoxMenuItem.java
2834         (serialVersionUID): Likewise.
2835         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
2836         * javax/swing/JColorChooser.java
2837         (serialVersionUID): Likewise.
2838         (AccessibleJColorChooser.serialVersionUID): Likewise.
2839         * javax/swing/JComponent.java
2840         (serialVersionUID): Made private.
2841         (AccessibleJComponent.serialVersionUID): New member variable.
2842         * javax/swing/JDesktopPane.java
2843         (serialVersionUID): Likewise.
2844         * javax/swing/JDialog.java
2845         (serialVersionUID): Likewise.
2846         * javax/swing/JFormattedTextField.java
2847         (serialVersionUID): Fixed value.
2848         * javax/swing/JFrame.java
2849         (serialVersionUID): New member variable.
2850         (getDefaultCloseOpertation): Made public.
2851         * javax/swing/JLayeredPane.java
2852         (serialVersionUID): Likewise.
2853         (LAYER_PROPERTY): Made final, fixed value.
2854         (JLayeredPane): Made public.
2855         * javax/swing/JMenu.java
2856         (AccessibleJMenu.serialVersionUID): New member variable.
2857         (WinListener.serialVersionUID): Likewise.
2858         * javax/swing/JMenuBar.java
2859         (serialVersionUID): Likewise.
2860         (getComponentAtIndex): Added @deprecated tag.
2861         * javax/swing/JMenuItem.java
2862         (serialVersionUID): New member variable.
2863         (AccessibleJMenuItem.serialVersionUID): Likewise.
2864         * javax/swing/JOptionPane.java
2865         (serialVersionUID): Likewise.
2866         (AccessibleJOptionPane.serialVersionUID): Likewise.
2867         * javax/swing/JPopupMenu.java
2868         (serialVersionUID): Likewise.
2869         (AccessibleJPopupMenu.serialVersionUID): Likewise.
2870         (getPopupMenuListeners): New method.
2871         (getComponentAtIndex): Added @deprecated tag.
2872         * javax/swing/JProgressBar.java
2873         (serialVersionUID): New member variable.
2874         (AccessibleJProgressBar.serialVersionUID): Likewise.
2875         * javax/swing/JRadioButton.java
2876         (serialVersionUID): Likewise.
2877         * javax/swing/JRadioButtonMenuItem.java
2878         (serialVersionUID): Likewise.
2879         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
2880         * javax/swing/JScrollBar.java
2881         (serialVersionUID): Likewise.
2882         (AccessibleJScrollBar.serialVersionUID): Likewise.
2883         * javax/swing/JSeparator.java
2884         (serialVersionUID): Likewise.
2885         (AccessibleJSeparator.serialVersionUID): Likewise.
2886         * javax/swing/JSlider.java: Fixed javadocs.
2887         (AccessibleJSlider.serialVersionUID): New member variable.
2888         * javax/swing/JSplitPane.java: Added copyright statement.
2889         (serialVersionUID): New member variable.
2890         (AccessibleJSplitPane.serialVersionUID): Likewise.
2891         * javax/swing/JTabbedPane.java
2892         (serialVersionUID): Likewise.
2893         (AccessibleJTabbedPane.serialVersionUID): Likewise.
2894         (ModelListener.serialVersionUID): Likewise.
2895         (ModelListener.ModelListener): New constructor.
2896         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
2897         (WRAP_TAB_LAYOUT): Likewise.
2898         * javax/swing/JTable.java
2899         (serialVersionUID): New member variable.
2900         * javax/swing/JToggleButton.java
2901         (serialVersionUID): Likewise.
2902         (ToggleButtonModel): Made static.
2903         (ToggleButtonModel.serialVersionUID): New member variable.
2904         * javax/swing/JToolTip.java
2905         (serialVersionUID): Likewise.
2906         * javax/swing/JTree.java
2907         (serialVersionUID): Likewise.
2908         * javax/swing/JWindow.java
2909         (serialVersionUID): Likewise.
2910         * javax/swing/Timer.java
2911         (serialVersionUID): Likewise.
2913 2004-06-06  Michael Koch  <konqueror@gmx.de>
2915         * javax/swing/SwingConstants.java
2916         (NEXT): New constant.
2917         (PREVIOUS): Likewise.
2918         * javax/swing/UIManager.java
2919         (LookAndFeel): Made public.
2920         (LookAndFeel.getClassName): Likewise.
2921         (LookAndFeel.getName): Likewise.
2923 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
2925         * javax/swing/JCheckBoxMenuItem.java:
2926         Removed CVS tags.
2927         * javax/swing/JMenu.java: Likewise.
2928         * javax/swing/JMenuBar.java: Likewise.
2929         * javax/swing/JMenuItem.java: Likewise.
2930         * javax/swing/JPopupMenu.java: Likewise.
2931         * javax/swing/JRadioButtonMenuItem.java: Likewise.
2932         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
2933         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2934         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
2935         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
2936         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
2937         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
2939 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
2940         
2941         * javax/swing/plaf/basic/BasicMenuUI.java:
2942         (MouseEntered): Do not call getPath() from MenuSelectionManager.
2943         Call getPath() from super class instead.
2945 2004-05-31  David Jee  <djee@redhat.com>
2947         * java/awt/Container.java
2948         (remove): Set component visibility to false after removing it.
2950 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
2952         * java/awt/Component.java (getForeground): Return SystemColor if
2953         parent is null.
2954         (getBackground): Likewise.
2956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
2957         (item_highlighted): New function.
2958         (connectSignals): Set item_highlighted as list's select
2959         function.
2961         * java/applet/Applet.java: Revert changes from 2004-04-29,
2962         2004-03-15 and 2004-03-14.
2964         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2965         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
2966         factor.
2968         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
2969         "Dialog" as the default font.
2970         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
2971         Likewise.
2972         * java/awt/Component.java (getFont): Return "Dialog" font by
2973         default.
2974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
2975         Multiply size argument to pango_font_description_set_size by the
2976         DPI conversion factor rather than by PANGO_SCALE.
2977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
2978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
2979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
2980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
2981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
2983         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
2984         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
2985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
2986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2987         Divide baseline y coordinate by DPI conversion factor rather
2988         than by PANGO_SCALE.
2989         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2990         (area_prepared): Fix typo.
2991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
2992         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
2993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2994         (dpi_conversion_factor): New global variable.
2995         (init_dpi_conversion_factor): New function to calculate and
2996         track DPI conversion factor.
2997         (dpi_changed_cb): New callback.
2998         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3000 2004-05-27  David Jee  <djee@redhat.com>
3002         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3003         (getGraphics): Return a new GdkGraphics instance.
3004         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3005         (getGraphics): Call super.getGraphics().
3007 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3009         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3010         (setNativeBounds): Clamp width and height values to >= 0.
3012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3013         (find_fg_color_widget): Handle GtkOptionMenu specially.
3015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3016         (pre_event_handler): Only post configure events to visible
3017         top-level windows.
3019 2004-05-26  David Jee  <djee@redhat.com>
3021         * java/awt/BorderLayout.java
3022         (layoutContainer): Fix size calculations.
3024 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3027         (window_wm_protocols_filter): Remove function.
3028         (create): Remove filter that removes WM_TAKE_FOCUS client
3029         messages.
3031 2004-06-17  Anthony Green  <green@redhat.com>
3033         * java/util/zip/ZipFile.java (getInputStream): Return null if
3034         entry not found.
3036         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3037         directory contents to the class path.
3039 2004-06-15  Andrew Haley  <aph@redhat.com>
3041         * java/lang/natSystem.cc (getenv0): Don't assume environment
3042         variable is Latin 1 coded.
3044 2004-06-14  Andreas Jaeger  <aj@suse.de>
3046         * configure.in: Support --enable-version-specific-runtime-libs.
3047         * configure: Regenerated.
3049 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
3051         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3052         to pass ClassLoader argument.
3053         * java/util/GregorianCalendar.java: Likewise.
3054         * java/util/Currency.java: Likewise.
3055         * java/text/BreakIterator.java: Likewise.
3056         * java/text/Collator.java: Likewise.
3057         * java/text/DateFormat.java: Likewise.
3058         * java/text/DateFormatSymbols.java: Likewise.
3059         * java/text/DecimalFormatSymbols.java: Likewise.
3060         * java/text/NumberFormat.java: Likewise.
3061         * java/awt/Window.java: Likewise.
3063 2004-06-14  Andrew Haley  <aph@redhat.com>
3065         * java/lang/System.java: (getenv0): New method.
3066         (getenv): Add security check.  Do the right thing.
3067         * java/lang/natSystem.cc (getenv0): New method.
3069 2004-06-12  Mark Wielaard  <mark@klomp.org>
3071         * javax/swing/RepaintManager.java
3072         (paintDirtyRegions): Use entrySet(), not values().
3074 2004-06-10  Mark Wielaard  <mark@klomp.org>
3076         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3077         NoSuchMethodError.
3079 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
3081         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
3082         when we already know the answer.
3083         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3084         (setStartRule,setEndRule): Don't take abs of day number.
3085         (getOffset): Clarify docs.  Add argument checks.
3086         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3087         (equals,hasSameRules,toString,readObject): Use startTimeMode and
3088         endTimeMode.
3090 2004-06-10  Tom Tromey  <tromey@redhat.com>
3092         * interpret.cc (run): Handle wide fload.
3094 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
3096         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3098 2004-06-05  Michael Koch  <konqueror@gmx.de>
3100         * javax/swing/SwingConstants.java
3101         (NEXT): New constant.
3102         (PREVIOUS): Likewise.
3104 2004-06-05  Michael Koch  <konqueror@gmx.de>
3106         * javax/swing/UIManager.java
3107         (LookAndFeel): Made public.
3108         (LookAndFeel.getName): Likewise.
3109         (LookAndFeel.getClassName): Likewise.
3111 2004-06-03  Michael Koch  <konqueror@gmx.de>
3113         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3114         (requestFocus): Revert last changes.
3115         (gtkRequestFocus): Removed.
3116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3117         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3118         Renamed to ...
3119         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3120         Reverted last patch.
3121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3122         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3123         Reverted comment change.
3125 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
3127         * javax/swing/JCheckBoxMenuItem.java:
3128         Removed CVS tags.
3129         * javax/swing/JMenu.java: Likewise.
3130         * javax/swing/JMenuBar.java: Likewise.
3131         * javax/swing/JMenuItem.java: Likewise.
3132         * javax/swing/JPopupMenu.java: Likewise.
3133         * javax/swing/JRadioButtonMenuItem.java: Likewise.
3134         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3135         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3136         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3137         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3138         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3139         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3141 2004-06-01  Tom Tromey  <tromey@redhat.com>
3143         * java/io/ObjectStreamField.java: Cleaned up imports.
3145 2004-06-01  Michael Koch  <konqueror@gmx.de>
3147         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3148       
3149 2004-06-01  Mark Wielaard  <mark@klomp.org>
3151         * java/io/Writer.java (Writer(Object)): Fixed API doc.
3153 2004-06-01  Michael Koch  <konqueror@gmx.de>
3155         * java/security/Security.java
3156         (insertProviderAt): Use equals() instead of ==.
3157         (removeProvicer): Likewise.
3158         (getProvider): Likewise.
3159         * java/security/Signature.java
3160         (sign): Don't set state to UNINITIALIZED.
3161         (verify): Likewise.
3163 2004-06-01  Mark Wielaard  <mark@klomp.org>
3165         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3166         Implement by calling gtkRequestFocus.
3167         (gtkRequestFocus): New native method.
3168         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3169         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3170         Renamed to ...
3171         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3172         New function name.
3173         (filter_expose_event_handler):
3174         Mark static.
3175         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3176         (menu_pos): Mark static.
3178 2004-06-01  Michael Koch  <konqueror@gmx.de>
3180         * java/text/CollationElementIterator.java,
3181         java/text/CollationKey.java,
3182         java/text/RuleBasedCollator.java: New versions from GNU classpath.
3183         * testsuite/libjava.mauve/xfails: Removed all
3184         java.text.CollationElementIterator tests.
3186 2004-06-01  Michael Koch  <konqueror@gmx.de>
3188         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3189         version.
3190         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3191         Java 1.5 keyword usage.
3193 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
3195         * javax/swing/plaf/basic/BasicMenuUI.java:
3196         (MouseEntered): Do not call getPath() from MenuSelectionManager.
3197         Call getPath() from super class instead.
3199 2004-05-31  Michael Koch  <konqueror@gmx.de>
3201         * java/io/SequenceInputStream.java:
3202         Rename enum to e because enum is a keyword in Java 1.5.
3204 2004-05-31  Michael Koch  <konqueror@gmx.de>
3206         * gnu/java/rmi/rmic/CompilerProcess.java:
3207         Fixed javadoc to by XHTML compliant.
3209 2004-05-30  Mark Wielaard  <mark@klomp.org>
3211         * java/awt/Toolkit.java (loadSystemColors): Implement.
3213 2004-05-30  Michael Koch  <konqueror@gmx.de>
3215         * java/lang/System.java: Reordered imports.
3217 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
3219         * java/text/DecimalFormat.java
3220         (parse): Fixed parsing of decimal strings. Number of maximum
3221         digits to be read should now work.
3222         * java/text/SimpleDateFormat.java
3223         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3224         formatter. This fixes DateFormatTest.
3226 2004-05-30  Michael Koch  <konqueror@gmx.de>
3228         * java/nio/Buffer.java
3229         (limit): Fixed off by one error.
3230         * java/nio/CharBuffer.java
3231         (wrap): Fixed arguments, added javadocs.
3233 2004-05-30  Michael Koch  <konqueror@gmx.de>
3235         * gnu/java/beans/BeanInfoEmbryo.java,
3236         java/awt/im/InputContext.java,
3237         javax/swing/tree/DefaultMutableTreeNode.java:
3238         Rename enum to e because enum is a keyword in Java 1.5.
3240 2004-05-30  Michael Koch  <konqueror@gmx.de>
3242         * gnu/java/math/MPN.java,
3243         java/awt/geom/Arc2D.java:
3244         Fixed javadocs all over.
3246 2004-05-30  Michael Koch  <konqueror@gmx.de>
3248         * java/awt/DefaultKeyboardFocusManager.java
3249         (dispatchEvent): Call method to get key event dispatchers.
3250         (dispatchKeyEvent): Call method to get key event post processors.
3251         * javax/swing/JComponent.java
3252         (listenerList): Made protected.
3253         * javax/swing/JOptionPane.java
3254         (message): Don't initialize.
3255         (JOptionPane): Set message text.
3256         * javax/swing/JPopupMenu.java
3257         (show): Fixed typo in argument name.
3258         * javax/swing/RepaintManager.java
3259         (paintDirtyRegions): Use public API of java.util.Map.
3260         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3261         (positionForMouseEvent): Removed redundant ';'.
3262         (continueDrag): Use method arguments.
3264 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
3266         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3267         results.
3269 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
3271         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3272         _Jv_AllocBytes.
3273         * gnu/gcj/RawDataManaged.java: New file.
3274         * java/lang/Thread.java (data): Declare as RawDataManaged.
3275         * java/lang/natThread.cc (init_native): Cast natThread data to
3276         RawDataManaged, not jobject.
3277         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3278         * Makefile.in: Rebuilt.
3280 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
3282         * java/util/SimpleTimeZone.java: Reverting my last change until I
3283         can fix it properly.
3285 2004-05-27  Michael Koch  <konqueror@gmx.de>
3287         * javax/swing/JPopupMenu.java
3288         (isVisible): Do not use visible directly.
3289         (setVisible): Likewise.
3290         * javax/swing/JWindow.java
3291         (JWindow): call accessible constructor.
3292         * javax/swing/RepaintManager.java
3293         (paintDirtyRegions): Use public methods to obtain iterator.
3295 2004-05-25  David Jee  <djee@redhat.com>
3297         * java/awt/Container.java
3298         (remove): Set component's parent to null only after we removed the
3299         component from its parent's layout manager.
3301 2004-05-25  David Jee  <djee@redhat.com>
3303         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3304         (GtkComponentPeer): Set bounds regardless of whether awtComponent
3305         is valid.
3306         * gnu/java/awt/peer/gtk/GtkListPeer.java
3307         (getSize): Change native method declaration.
3308         (minimumSize): Pass visible row count into getSize().
3309         (preferredSize): Likewise.
3310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3311         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3312         natural size. Use visible row count to determine the final height
3313         value to return.
3315 2004-05-21  Graydon Hoare  <graydon@redhat.com>
3317         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
3318         (setClip): Minor correction to order of operations.
3320         * javax/swing/JScrollPane.java: Extend sketchy implementation.
3321         * javax/swing/ScrollPaneLayout.java: Likewise.
3322         * javax/swing/JViewPort.java: Likewise.
3323         * javax/swing/ViewportLayout.java: Likewise.
3325         * javax/swing/JComponent.java: Rewrite.
3326         * javax/swing/RepaintManager.java: Likewise.
3328         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3329         * javax/swing/JList.java 
3330         (setSelectedIndices):
3331         (getSelectedIndices):
3332         (getSelectedValues): New functions.
3333         (getPreferredScrollableViewportSize): Return preferred size.
3334         (getScrollableUnitIncrement):
3335         (getScrollableBlockIncrement): Initial implementations.
3336         * javax/swing/JRootPane.java: Clean up slightly.
3337         (getUI):
3338         (setUI):
3339         (updateUI):
3340         (getUIClassID):
3341         (isValidateRoot): Add overrides from JComponent.
3342         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3343         * javax/swing/UIManager.java (getDimension): Return the dimension.
3345         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3346         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3347         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3348         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3349         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3350         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3351         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3352         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
3353         Likewise, and set background.
3354         * javax/swing/plaf/basic/BasicListUI.java: 
3355         Likewise, and improve a bit.
3356         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
3357         Likewise, and adjust calculations.
3358         * javax/swing/plaf/basic/BasicViewportUI.java:
3359         Likewise, and improve a bit.
3360         * javax/swing/plaf/basic/BasicLookAndFeel.java 
3361         (Button.margin): Shrink.
3363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3364         Hack to set horizontal always, workaround pango.
3366         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3368         Synchronize more often, check cairo status after ops,
3369         handle changes to cairo pattern API, check for disposal.
3371 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
3373         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3374         (BasicMenuItemUI): Create propertyChangeListener.
3375         (getPath):Implemented.
3376         (installListeners): Add propertyChangeListener to menuItem.
3377         (uninstallListeners): Remove propertyChangeListener from menuItem.
3378         (update): Implemented.
3379         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3380         (mouseEntered): Take insets of popup menu into account when
3381         calculating position of popup menu.     
3382         
3383 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
3385         * Makefile.am: Added new file. 
3386         * Makefile.in: Regenerate.
3387         * javax/swing/JMenuBar.java:
3388         Started implementation.
3389         * javax/swing/JPopupMenu.java:
3390         (setVisible): Fixed location of lightweight/mediumweight
3391         popup menu.
3392         (show): Fixed location of PopupMenu.
3393         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3394         New file. UI Delegate for JMenuBar.
3395         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3396         (mouseEntered): Corrected position of the submenu.
3398 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3400         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3401         to _gtk_accel_group_attach.
3402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3403         Likewise.
3405         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3406         package access.  Don't override setFont.
3407         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3408         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3409         gtkWidgetRequestFocus package access.
3410         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3411         setFont.
3412         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3413         Give gtkWidgetRequestFocus package access.
3414         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3415         gtkWidgetRequestFocus package access.  Don't override setFont.
3416         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3417         setFont.
3418         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3419         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3420         region.
3421         (gtkSetFont): Likewise.
3422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
3423         Implement.
3424         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3425         (gtkSetFont): Whitespace fix.
3427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3428         (gtkWidgetSetUsize): Remove method.
3430 2004-05-18  David Jee  <djee@redhat.com>
3432         * java/awt/image/MemoryImageSource.java
3433         (newPixels(int,int,int,int,boolean)): Set only the specified
3434         rectangle of pixels.
3435         (newPixels(byte[],ColorModel,int,int)): Implement.
3436         (newPixels(int[],ColorModel,int,int)): Implement.
3438 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
3440         * Makefile.am: Added new file.
3441         * Makefile.in: Regenerate.
3442         * javax/swing/JMenu.java: Started 
3443         implementation.
3444         * javax/swing/JPopupMenu.java:
3445         (insert): If specified index is -1, then
3446         add component at the end.
3447         (isPopupTrigger): Reimplemented.
3448         (JPopupMenu.LightWeightPopup): setBounds
3449         of the lightWeightPopup before adding it 
3450         to the layeredPane.
3451         (javax/swing/plaf/basic/BasicIconFactory.java):
3452         (getMenuArrowIcon): Implemented.
3453         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3454         (getPreferredSize): Add size of the arrow icon 
3455         if this menu item is instance of JMenu.
3456         (paintMenuItem): Paint arrow icon if this 
3457         menu item is a submenu.
3458         * javax/swing/plaf/basic/BasicMenuUI.java:
3459         New File. UI Delegate for JMenu.
3461 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
3463         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
3464         Post KEY_TYPED events.
3465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3466         (generates_key_typed_event): Remove function.
3468 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
3470         * javax/swing/JRootPane.java
3471         (JRootPane.RootLayout): Reimplemented to 
3472         set bounds of contentPane and menuBar.
3473         (setJMenuBar): Add menu bar to the layered pane.
3474         (createLayeredPane): Set layout of layeredPane
3475         to null.
3476         * javax/swing/JLayeredPane.java:
3477         (addImpl): Calculate index of the component in the
3478         layeredPane according to the specified position within 
3479         the layer.      
3481 2004-05-17  David Jee  <djee@redhat.com>
3483         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3484         (setPixels): Change color model to the default model after
3485         converting pixels.
3486         * java/awt/image/MemoryImageSource.java
3487         (newPixels): Set only the specified rectangle of pixels.
3489 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3491         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
3492         -l-java-beans -l-javax-accessibility -l-javax-swing.
3494         * java/awt/AWTEvent.java (toString): Print source's name rather
3495         than the source itself.
3497 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
3499         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
3500         native.
3501         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
3502         (gdk_color_to_java_color): New function.
3503         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
3505 2004-05-12  David Jee  <djee@redhat.com>
3507         * java/awt/image/RGBImageFilter.java:
3508         Initialize origmodel as null.
3509         (makeColor): Fix pixel component order.
3510         (filterRGBPixels): Fix pixel iteration.
3511         (setPixels): Add extra checks for index color model. Convert pixels
3512         to default color model if necessary.
3513         (convertColorModelToDefault): New override method for byte pixels.
3514         (convertColorModelToDefault): For int pixels, fix pixel iteration.
3515         (makeColorbyDefaultCM): New override method for byte pixels.
3516         (makeColorbyDefaultCM): For int pixel, add color model as argument.
3517         (makeColor): Fix pixel component order.
3519 2004-05-11  Kim Ho  <kho@redhat.com>
3521         * javax/swing/Box.java:
3522         Comment out more parts of Box.Filler.
3524 2004-05-11  Kim Ho  <kho@redhat.com>
3526         * javax/swing/Box.java:
3527         Remove reference to AccessibleAWTComponent so
3528         it compiles again.
3530 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
3532         * gnu/java/awt/peer/gtk/GtkListPeer.java,
3533         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
3534         implementation of list peer to use GtkTreeView instead of
3535         deprecated GtkCList.
3537 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
3539         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3540         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
3541         (handleEvent): Remove keyChar argument to
3542         gtkWidgetDispatchKeyEvent calls.
3543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
3544         compiler warnings.
3545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
3547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
3548         Likewise.
3550 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
3552         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3553         (gtkWidgetRequestFocus): Mark protected.
3554         (GtkComponentPeer): Only set the peer's bounds if its component
3555         is valid.
3556         * java/awt/Component.java (static): Set the default keyboard
3557         focus manager.
3558         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
3559         requestFocusInWindow(temporary)): Don't request focus if the
3560         component is not showing.  Get tree lock before traversing
3561         component hierarchy.
3562         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3563         Only set the global focus owner if it is not a Window.
3564         (processKeyEvent): Consume keystrokes associated with the focus
3565         traversal keystroke.
3566         (focusPreviousComponent, focusNextComponent, upFocusCycle,
3567         downFocusCycle): Call requestFocusInWindow instead of
3568         requestFocus.
3569         * java/awt/EventDispatchThread.java (run): Move setting of
3570         default keyboard focus manager to Component.java.
3571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3572         (awt_keycode_to_keysym): New function.
3573         (gtkWidgetDispatchKeyEvent): Finish implementation.
3574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3575         (pre_event_handler): Add FIXME comment.
3577         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
3578         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3579         (gtkWidgetRequestFocus): New method.
3580         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
3581         disable Tab and Shift-Tab keystrokes.
3582         (addNotify, appendText, insertText, replaceText): Simplify peer
3583         retrieval code.
3584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3585         (connectSignals): Remove connections to "commit" signals.
3586         Remove C++-style comments.
3588         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3589         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3590         (handleEvent): Activate GTK button when the space bar key is
3591         pressed.
3592         (gtkActivate): New method.
3594 2004-05-06  David Jee  <djee@redhat.com>
3596         * java/awt/image/CropImageFilter.java
3597         (setPixels): Implement for byte array pixels.
3598         * java/awt/image/ReplicateScaleFilter.java
3599         (setPixels): Implement for byte array pixels.
3600         (replicatePixels): Overload for byte array pixels.
3602 2004-05-06  Kim Ho  <kho@redhat.com>
3604         * javax/swing/Box.java:
3605         (getAccessibleContext): Return an instance of the 
3606         correct class.
3608 2004-05-05  David Jee  <djee@redhat.com>
3610         * gnu/java/awt/peer/gtk/GdkGraphics.java
3611         (drawImage): When component is null, use SystemColor.window as
3612         the default bgcolor.
3613         * gnu/java/awt/peer/gtk/GtkImage.java
3614         (setPixels): We can avoid iterating through the pixel rows only
3615         when height is 1.
3616         * java/awt/Image.java
3617         (getScaledInstance): Partially implement.
3618         * java/awt/image/CropImageFilter.java
3619         (setProperties): Fix "filter" property.
3620         (setPixels): Implement.
3621         * java/awt/image/ReplicateScaleFilter.java
3622         (setDimensions): Use scaled dimensions.
3623         (setPixels): Implement.
3624         (replicatePixels): New method.
3626 2004-05-05  David Jee  <djee@redhat.com>
3628         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3629         (convertPixels): If either pixels or model is null, return null.
3630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
3631         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
3632         is null, do nothing and return.
3634 2004-05-03  Kim Ho  <kho@redhat.com>
3636         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
3637         (getGraphics): Like GtkFramePeer, the Graphics
3638         object needs to be translate to account for
3639         window decorations.
3640         (postMouseEvent): New method. Account for
3641         translation.
3642         (postExposeEvent): ditto.
3643         * javax/swing/Box.java: Stubbed.
3644         * javax/swing/JDialog.java: Ran through jalopy
3645         to fix indentation.
3646         (JDialog): Call SwingUtilities' getOwnerFrame
3647         for null owners.
3648         (setLayout): Check isRootPaneCheckingEnabled
3649         * javax/swing/JOptionPane.java: Re-implemented.
3650         * javax/swing/SwingUtilities.java:
3651         (getOwnerFrame): Static method to grab a default
3652         owner frame for Dialogs that don't specify owners.
3653         * javax/swing/event/SwingPropertyChangeSupport.java:
3654         (firePropertyChange): Fix early exit condition.
3655         * javax/swing/plaf/basic/BasicLabelUI.java:
3656         (paint): Avoid painting text if it is null 
3657         or empty.
3658         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3659         Implement.
3661 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
3663         * Makefile.am: Added new file.
3664         * Makefile.in: Regenerate.
3665         * javax/swing/JPopupMenu.java:
3666         Started implementation.
3667         * javax/swing/JWindow.java
3668         (JWindow): call super() if parent for window
3669         is not specified.
3670         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3671         New File. UI Delegate for JPopupMenu.
3673 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
3675         * javax/swing/JApplet.java: Indicated that JApplet
3676         implements RootPaneContainer and made method of this
3677         interface public. 
3678         * javax/swing/JFrame.java: Ditto.
3679         * javax/swing/JWindow.java: Ditto.
3680         
3681 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
3683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3684         (nativeSetBounds): Call gdk_window_move in addition to
3685         gtk_window_move.
3687         * java/applet/Applet.java (preferredSize): Call parent's
3688         preferredSize if the applet stub is null.
3689         (minimumSize): Likewise for parent's minimumSize.
3691 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
3693         * javax/swing/JMenuItem.java
3694         (createActionPropertyChangeListener): Implemented.
3695         (processMouseEvent): Ditto.
3696         (fireMenuDragMouseEntered): Ditto.
3697         (fireMenuDragMouseExited): Ditto.
3698         (fireMenuDragMouseDragged): Ditto.
3699         (fireMenuDragMouseReleased): Ditto.
3700         (menuSelectionChanged): Ditto.
3701         (getSubElements): Ditto.
3702         (getComponent): Ditto.
3703         (addMenuDragMouseListener): Ditto.
3704         (removeMenuDragMouseListener):Ditto.
3705         (addMenuKeyListener): Ditto.
3706         (removeMenuKeyListener): Ditto.
3707         * javax/swing/plaf/basic/BasicMenuItemUI.java
3708         (doClick): Imlemented.
3709         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
3710         Don't handle mouse events here. Pass them to 
3711         MenuSelectionManager.
3712         
3713 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
3714         Used correct version of jalopy configuration
3715         file to fix style in the files below.
3717 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
3719         * javax/swing/JCheckBoxMenuItem.java: 
3720         Fixed style and removed unnecessary comments.
3721         * javax/swing/JMenuItem.java: Ditto.
3722         * javax/swing/JRadioButtonMenuItem.java: Ditto.
3723         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
3724         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
3725         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
3727 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3729         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
3730         C-style.
3732         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
3734         * java/awt/ContainerOrderFocusTraversalPolicy.java
3735         (getComponentAfter): Start from current component and work up
3736         the component hierarchy until an acceptable component is found.
3737         Synchronize on tree lock.
3738         (getComponentBefore): Likewise.
3740 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
3742         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
3743         focus-related debugging messages.
3744         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
3745         * java/awt/EventDispatchThread.java: Likewise.
3746         * java/awt/KeyboardFocusManager.java: Likewise.
3747         * java/awt/Window.java: Likewise.
3748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
3752         new C++-style comments to C-style comments.
3753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
3755         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3756         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3757         (handleEvent): Dispatch key press and key release events to
3758         backing widget.
3759         (requestFocus): Post a FOCUS_GAINED event to the event queue.
3760         (gtkWidgetRequestFocus): New method.
3761         (gtkWidgetDispatchKeyEvent): Likewise.
3762         * java/awt/Component.java (requestFocus, requestFocus(boolean),
3763         requestFocusInWindow, requestFocusInWindow(boolean),
3764         getFocusCycleRootAncestor, nextFocus, transferFocus,
3765         transferFocusBackward, transferFocusUpCycle, hasFocus,
3766         isFocusOwner): Implement and document focus-handling methods.
3767         (setFocusTraversalKeys): Inherit focus traversal keys when
3768         keystrokes argument is null.  Fix focus-handling documentation
3769         throughout class.
3770         * java/awt/Container.java (setFocusTraversalKeys,
3771         getFocusTraversalKeys, areFocusTraversalKeysSet,
3772         isFocusCycleRoot, setFocusTraversalPolicy,
3773         getFocusTraversalPolicy, isFocusTraversalPolicySet,
3774         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
3775         Implement and document focus-handling methods.
3776         (transferFocusBackward): Remove method.
3777         (readObject, writeObject): Implement and document serialization
3778         methods.
3779         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
3780         and document.
3781         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
3782         document.
3783         * java/awt/DefaultKeyboardFocusManager.java: Implement and
3784         partially document.
3785         * java/awt/EventDispatchThread.java (run): Set default keyboard
3786         focus manager.  Attempt to dispatch each event to the keyboard
3787         focus manager before normal dispatch.
3788         * java/awt/KeyboardFocusManager.java: Implement and partially
3789         document.
3790         * java/awt/Window.java (Window): Set focusCycleRoot to true.
3791         (show): Focus initial component when window is shown for the
3792         first time.
3793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3794         (pre_event_handler): Replace complex key press and key release
3795         logic with simple callbacks into GtkComponentPeer.
3796         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
3798 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
3800         * javax/swing/MenuSelectionManager.java
3801         (componentForPoint): Added new method. 
3802         (defaultManager): New Method. Implemented.
3803         (getSelectedPath): Ditto.
3804         (isComponentPartOfCurrentMenu): Ditto.
3805         (processKeyEvent): Added new method.
3806         (processMouseEvent): New Method. Implemented.
3807         (setSelectedPath): Ditto.
3808         (getPath): Ditto.
3810 2004-04-19  Kim Ho  <kho@redhat.com>
3812         * java/awt/Container.java: 
3813         (remove): Set the component's parent to null.
3814         (getComponentAt): Implement.
3815         * javax/swing/JComponent.java:
3816         (JComponent): Initialize defaultLocale
3817         (getDefaultLocale): Implement.
3818         (setDefaultLocale): ditto.
3819         * javax/swing/JSlider.java:
3820         (JSlider): Fix calculation of value.
3821         * javax/swing/JSplitPane.java: Implement.
3822         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3823         Change SplitPane's default divider size.
3824         * javax/swing/plaf/basic/BasicScrollBarUI.java:
3825         (paint): Remove unused code.
3826         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3827         Added comments and ran through jalopy.
3828         (setBasicSplitPaneUI): Get reference to hidden divider
3829         and set up one touch buttons if necessary.
3830         (setBorder): Fire propertyChangeEvent only if 
3831         borders are different.
3832         (getPreferredSize): Defer to layout manager.
3833         (propertyChange): Implement.
3834         (oneTouchExpandableChanged): ditto.
3835         (createLeftOneTouchButton): Use BasicArrowButton.
3836         (createRightOneTouchButton): ditto.
3837         (moveDividerTo): New method. Moves the divider
3838         to a set location based on the last divider location.
3839         (BasicSplitPaneDivider::MouseHandler): Implement.
3840         (BasicSplitPaneDivider::OneTouchButton): Removed.
3841         (BasicSplitPaneDivider::DragController): Implement.
3842         (BasicSplitPaneDivider::VerticalDragController):
3843         ditto.
3844         (BasicSplitPaneDivider::DividerLayout): ditto.
3845         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
3846         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
3847         (calculateLayoutInfo): Don't show component if it's
3848         null.
3849         (paintTab): Fix title paint logic.
3851 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
3853         PR libgcj/8321
3854         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3855         (setStartRule,setEndRule): Don't take abs of day number.
3856         (getOffset): Clarify docs.  Add argument checks.
3857         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3858         (equals,hasSameRules,toString,readObject): Use startTimeMode and
3859         endTimeMode.
3860         * testsuite/libjava.mauve/xfails
3861         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
3863 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
3865         Layout interfaces during preparation, not initialization. 
3866         * java/lang/natClass.cc (initializeClass): Move 
3867         _Jv_LayoutInterfaceMethods call...
3868         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
3870 2004-05-19  Anthony Green  <green@localhost.localdomain>
3872         * Makefile.am (awt_java_source_files): Remove javax.rmi and
3873         gnu.javax.rmi code.
3874         * Makefile.in: Rebuilt.
3875         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
3876         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
3877         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
3878         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
3879         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
3880         gnu/javax/rmi/CORBA/DelegateFactory.java,
3881         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
3882         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
3883         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
3884         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
3885         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
3886         gnu/javax/rmi/PortableServer.java: Remove files.
3888 2004-05-19  Anthony Green  <green@redhat.com>
3890         * Makefile.am: Define JAVA_EXT_DIRS.
3891         * Makefile.in: Rebuilt.
3892         * java/lang/natRuntime.cc (insertSystemProperties): Set
3893         java.ext.dirs property.
3895 2004-05-16  Mark Wielaard  <mark@klomp.org>
3897         * java/io/Writer.java (Writer(Object)): Check for null lock object.
3899 2004-05-15  Mark Wielaard  <mark@klomp.org>
3901         * doc/cni.sgml: Removed, merged into gcj.texi.
3903 2004-05-15  Mark Wielaard  <mark@klomp.org>
3905         * Makefile.am (ordinary_java_source_files): Add new javax.print
3906         classes.
3907         * Makefile.in: Regenerated.
3909 2004-05-15  Michael Koch  <konqueror@gmx.de>
3911         * javax/print/attribute/standard/DateTimeAtCompleted.java,
3912         javax/print/attribute/standard/DateTimeAtCreation.java,
3913         javax/print/attribute/standard/DateTimeAtProcessing.java,
3914         javax/print/attribute/standard/DocumentName.java,
3915         javax/print/attribute/standard/JobHoldUntil.java,
3916         javax/print/attribute/standard/JobImpressionsCompleted.java,
3917         javax/print/attribute/standard/JobMessageFromOperator.java,
3918         javax/print/attribute/standard/JobName.java,
3919         javax/print/attribute/standard/JobOriginatingUserName.java,
3920         javax/print/attribute/standard/JobPriority.java,
3921         javax/print/attribute/standard/JobPrioritySupported.java,
3922         javax/print/attribute/standard/NumberOfInterveningJobs.java,
3923         javax/print/attribute/standard/OutputDeviceAssigned.java,
3924         javax/print/attribute/standard/PrinterInfo.java,
3925         javax/print/attribute/standard/PrinterLocation.java,
3926         javax/print/attribute/standard/PrinterMakeAndModel.java,
3927         javax/print/attribute/standard/PrinterMessageFromOperator.java,
3928         javax/print/attribute/standard/PrinterName.java,
3929         javax/print/attribute/standard/QueuedJobCount.java,
3930         javax/print/attribute/standard/RequestingUserName.java:
3931         Fixed javadocs all over.
3933 2004-05-15  Michael Koch  <konqueror@gmx.de>
3935         * javax/print/DocFlavor.java,
3936         javax/print/attribute/standard/ColorSupported.java,
3937         javax/print/attribute/standard/Compression.java,
3938         javax/print/attribute/standard/CopiesSupported.java,
3939         javax/print/attribute/standard/Fidelity.java,
3940         javax/print/attribute/standard/Finishings.java,
3941         javax/print/attribute/standard/JobImpressionsSupported.java,
3942         javax/print/attribute/standard/JobKOctetsSupported.java,
3943         javax/print/attribute/standard/JobMediaSheetsSupported.java,
3944         javax/print/attribute/standard/JobSheets.java,
3945         javax/print/attribute/standard/JobState.java,
3946         javax/print/attribute/standard/JobStateReason.java,
3947         javax/print/attribute/standard/JobStateReasons.java,
3948         javax/print/attribute/standard/Media.java,
3949         javax/print/attribute/standard/MediaSizeName.java,
3950         javax/print/attribute/standard/MultipleDocumentHandling.java,
3951         javax/print/attribute/standard/NumberUpSupported.java,
3952         javax/print/attribute/standard/OrientationRequested.java,
3953         javax/print/attribute/standard/PDLOverrideSupported.java,
3954         javax/print/attribute/standard/PageRanges.java,
3955         javax/print/attribute/standard/PresentationDirection.java,
3956         javax/print/attribute/standard/PrintQuality.java,
3957         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
3958         javax/print/attribute/standard/PrinterMoreInfo.java,
3959         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
3960         javax/print/attribute/standard/PrinterResolution.java,
3961         javax/print/attribute/standard/PrinterState.java,
3962         javax/print/attribute/standard/PrinterStateReason.java,
3963         javax/print/attribute/standard/PrinterStateReasons.java,
3964         javax/print/attribute/standard/PrinterURI.java,
3965         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
3966         javax/print/attribute/standard/Severity.java,
3967         javax/print/attribute/standard/SheetCollate.java,
3968         javax/print/attribute/standard/Sides.java:
3969         Added serialVersionUID and removed final keyword where it doenst
3970         belong.
3972 2004-05-15  Michael Koch  <konqueror@gmx.de>
3974         * javax/print/PrintServiceLookup.java: New file.
3976 2004-05-15  Michael Koch  <konqueror@gmx.de>
3978         * javax/print/DocFlavor.java:
3979         Implemented all flavor classes.
3981 2004-05-15  Michael Koch  <konqueror@gmx.de>
3983         * javax/print/attribute/standard/ColorSupported.java,
3984         javax/print/attribute/standard/Compression.java,
3985         javax/print/attribute/standard/CopiesSupported.java,
3986         javax/print/attribute/standard/Fidelity.java,
3987         javax/print/attribute/standard/Finishings.java,
3988         javax/print/attribute/standard/JobImpressionsSupported.java,
3989         javax/print/attribute/standard/JobKOctetsSupported.java,
3990         javax/print/attribute/standard/JobMediaSheetsSupported.java,
3991         javax/print/attribute/standard/JobSheets.java,
3992         javax/print/attribute/standard/JobState.java,
3993         javax/print/attribute/standard/JobStateReason.java,
3994         javax/print/attribute/standard/JobStateReasons.java,
3995         javax/print/attribute/standard/Media.java,
3996         javax/print/attribute/standard/MediaSizeName.java,
3997         javax/print/attribute/standard/MultipleDocumentHandling.java,
3998         javax/print/attribute/standard/NumberUpSupported.java,
3999         javax/print/attribute/standard/OrientationRequested.java,
4000         javax/print/attribute/standard/PDLOverrideSupported.java,
4001         javax/print/attribute/standard/PageRanges.java,
4002         javax/print/attribute/standard/PresentationDirection.java,
4003         javax/print/attribute/standard/PrintQuality.java,
4004         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
4005         javax/print/attribute/standard/PrinterMoreInfo.java,
4006         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
4007         javax/print/attribute/standard/PrinterResolution.java,
4008         javax/print/attribute/standard/PrinterState.java,
4009         javax/print/attribute/standard/PrinterStateReason.java,
4010         javax/print/attribute/standard/PrinterStateReasons.java,
4011         javax/print/attribute/standard/PrinterURI.java,
4012         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
4013         javax/print/attribute/standard/Severity.java,
4014         javax/print/attribute/standard/SheetCollate.java,
4015         javax/print/attribute/standard/Sides.java: New files.
4017 2004-05-15  Michael Koch  <konqueror@gmx.de>
4019         * javax/print/Doc.java
4020         (getPrintData): Throws IOException.
4021         (getReaderForText): Likewise.
4022         (getStreamForBytes): Likewise.
4023         * javax/print/DocFlavor.java:
4024         Fixed filename in copyright.
4025         (serialVersionUID): New field.
4026         * javax/print/ServiceUIFactory.java:
4027         Made all constants final.
4028         * javax/print/AttributeException.java
4029         javax/print/MultiDoc.java
4030         javax/print/MultiDocPrintJob.java
4031         javax/print/MultiDocPrintService.java
4032         javax/print/StreamPrintService.java
4033         javax/print/URIException.java: New files.
4034         * javax/print/Makefile.am
4035         (EXTRA_DIST): Added all new files.
4037 2004-05-15  Michael Koch  <konqueror@gmx.de>
4039         * javax/print/attribute/standard/Copies.java,
4040         javax/print/attribute/standard/DateTimeAtCompleted.java,
4041         javax/print/attribute/standard/DateTimeAtCreation.java,
4042         javax/print/attribute/standard/DateTimeAtProcessing.java,
4043         javax/print/attribute/standard/DocumentName.java,
4044         javax/print/attribute/standard/JobHoldUntil.java,
4045         javax/print/attribute/standard/JobImpressions.java,
4046         javax/print/attribute/standard/JobImpressionsCompleted.java,
4047         javax/print/attribute/standard/JobKOctets.java,
4048         javax/print/attribute/standard/JobKOctetsProcessed.java,
4049         javax/print/attribute/standard/JobMediaSheets.java,
4050         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
4051         javax/print/attribute/standard/JobMessageFromOperator.java,
4052         javax/print/attribute/standard/JobName.java,
4053         javax/print/attribute/standard/JobOriginatingUserName.java,
4054         javax/print/attribute/standard/JobPriority.java,
4055         javax/print/attribute/standard/JobPrioritySupported.java,
4056         javax/print/attribute/standard/NumberOfDocuments.java,
4057         javax/print/attribute/standard/NumberOfInterveningJobs.java,
4058         javax/print/attribute/standard/NumberUp.java,
4059         javax/print/attribute/standard/OutputDeviceAssigned.java,
4060         javax/print/attribute/standard/PagesPerMinute.java,
4061         javax/print/attribute/standard/PagesPerMinuteColor.java:
4062         Fixed @return tag all over.
4064 2004-05-15  Michael Koch  <konqueror@gmx.de>
4066         * javax/print/attribute/AttributeSetUtilities.java
4067         (verifyCategoryForValue): Fixed typo in javadoc.
4068         * javax/print/attribute/HashAttributeSet.java
4069         (containsKey): Fixed @return tag.
4070         (comtainsValue): Likewise.
4071         (equals): Likewise.
4072         * javax/print/attribute/IntegerSyntax.java
4073         (equals): Likewise.
4074         * javax/print/attribute/ResolutionSyntax.java
4075         (equals): Likewise.
4076         (getCrossFeedResolution): Removed unused code.
4077         (getFeedResolution): Likewise.
4078         * javax/print/attribute/SetOfIntegerSyntax.java
4079         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
4080         (equals): Fixed @return tag.
4081         * javax/print/attribute/TextSyntax.java
4082         (TextSyntax): Take locale into account.
4083         (hashCode): Better implementation.
4085 2004-05-15  Michael Koch  <konqueror@gmx.de>
4087         * javax/print/CancelablePrintJob.java,
4088         javax/print/Doc.java,
4089         javax/print/DocFlavor.java,
4090         javax/print/DocPrintJob.java,
4091         javax/print/FlavorException.java,
4092         javax/print/PrintException.java,
4093         javax/print/PrintService.java,
4094         javax/print/ServiceUIFactory.java: New files.
4096 2004-05-15  Mark Wielaard  <mark@klomp.org>
4098         * gnu/regexp/CharIndexedReader.java: Removed.
4099         * gnu/regexp/REFilterReader.java: Likewise.
4100         * gnu/regexp/RETokenLookAhead.java: Likewise.
4101         * Makefile.am (ordinary_java_source_files): Remove above classes.
4102         * Makefile.in: Regenerated.
4104 2004-05-14  Tom Tromey  <tromey@redhat.com>
4106         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
4107         not `XGraphicsConfiguration.XOffScreenImage'.
4109 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
4111         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
4113 2004-05-14  Steven Augart  <augart@watson.ibm.com>
4115         * include/jni.h (_Jv_func): Removed.
4116         (struct JNINativeInterface): Use `void *' for reserved slots.
4117         (struct JNIInvokeInterface): Likewise.
4119 2004-05-11  Michael Koch  <konqueror@gmx.de>
4121         * gnu/java/net/natPlainSocketImplPosix.cc
4122         (read): Fixed typo in expression.
4124 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
4126         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
4127         ld_library_additions. Adjust all calls to libjava_invoke to match
4128         the new argument.
4130         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
4131         path to cxxflagslist.
4132         Pass path of libstdc++ to libjava_invoke.
4134         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
4135         libjava_invoke arguments.
4137 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
4139         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
4140         reality.
4142 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
4144         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
4145         main binary against the JNI shared library.
4147 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
4149         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
4150         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
4151         (SimpleTimeZone): Tweak docs.  Add new variation.
4152         (setStartRule,setEndRule): Add new variations.  Use
4153         startTimeMode and endTimeMode.
4155 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
4157         * java/util/Calendar.java (getActualMinimum,
4158         getActualMaximum):  Remove abstract.  Implement.
4160 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
4162         Run the jni tests using the interpreter.
4163         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
4164         options_cxx to shared lib compile command.
4165         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
4166         they are used to link the shared lib, not the main binary.
4167         Use libjava_invoke to run gij.
4169 2004-05-06  Michael Koch  <konqueror@gmx.de>
4171         * java/util/logging/Level.java
4172         (parse): Use == instead of String.equals().
4174 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
4176         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
4177         verify_field_signature and verify_method_signature, not 
4178         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
4179         (_Jv_ClassReader::handleField): Likewise.
4180         (_Jv_ClassReader::handleMethod): Likewise.
4182 2004-05-06  Michael Koch  <konqueror@gmx.de>
4184         * javax/swing/table/TableColumn.java:
4185         Reformated.
4187 2004-05-06  Michael Koch  <konqueror@gmx.de>
4189         * javax/imageio/spi/ImageReaderWriterSpi.java
4190         (ImageReaderWriterSpi): Made it public.
4191         * javax/imageio/stream/ImageInputStream.java:
4192         Clean up imports.
4194 2004-05-06  Michael Koch  <konqueror@gmx.de>
4196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4197         Removed empty line.
4199 2004-05-06  Michael Koch  <konqueror@gmx.de>
4201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
4202         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
4203         New files.
4204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
4205         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
4206         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4207         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
4208         their own source file.
4209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4210         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
4211         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
4212         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
4213         (create): Define variable on top of function.
4214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
4215         (menu_pos): Prototyped.
4216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4217         (setTitle): Removed.
4218         * jni/gtk-peer/gthread-jni.c
4219         (gdk_threads_wake): Removed.
4220         * Makefile.am (gtk_c_source_files): Added new files
4221         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
4222         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
4223         * Makefile.in: Regenerated.
4225 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
4227         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
4228         call.
4230 2004-05-05  Mark Wielaard  <mark@klomp.org>
4232         * javax/swing/AbstractButton.java: Replace special HTML entities with
4233         ASCII equivalent.
4234         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
4235         * javax/swing/DefaultButtonModel.java: Likewise.
4236         * javax/swing/DefaultListModel.java: Likewise.
4237         * javax/swing/JList.java: Likewise.
4238         * javax/swing/JSlider.java: Likewise.
4239         * javax/swing/ListModel.java: Likewise.
4240         * javax/swing/Popup.java: Likewise.
4241         * javax/swing/SwingUtilities.java: Likewise.
4243 2004-05-05  Michael Koch  <konqueror@gmx.de>
4245         * javax/swing/AbstractButton.java,
4246         javax/swing/ActionMap.java,
4247         javax/swing/DefaultButtonModel.java,
4248         javax/swing/DefaultListModel.java,
4249         javax/swing/ImageIcon.java,
4250         javax/swing/JComboBox.java,
4251         javax/swing/JComponent.java,
4252         javax/swing/JFrame.java,
4253         javax/swing/JInternalFrame.java,
4254         javax/swing/JMenuBar.java,
4255         javax/swing/JMenuItem.java,
4256         javax/swing/JOptionPane.java,
4257         javax/swing/JProgressBar.java,
4258         javax/swing/JRootPane.java,
4259         javax/swing/JScrollBar.java,
4260         javax/swing/JScrollPane.java,
4261         javax/swing/JSeparator.java,
4262         javax/swing/JSlider.java,
4263         javax/swing/JTabbedPane.java,
4264         javax/swing/JTable.java,
4265         javax/swing/JTextField.java,
4266         javax/swing/JToolBar.java,
4267         javax/swing/JToolTip.java,
4268         javax/swing/JTree.java,
4269         javax/swing/JViewport.java,
4270         javax/swing/JWindow.java,
4271         javax/swing/KeyStroke.java,
4272         javax/swing/LookAndFeel.java,
4273         javax/swing/SwingUtilities.java,
4274         javax/swing/Timer.java,
4275         javax/swing/ToolTipManager.java,
4276         javax/swing/UIDefaults.java,
4277         javax/swing/border/TitledBorder.java,
4278         javax/swing/filechooser/FileSystemView.java,
4279         javax/swing/plaf/basic/BasicButtonListener.java,
4280         javax/swing/plaf/basic/BasicButtonUI.java,
4281         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
4282         javax/swing/plaf/basic/BasicGraphicsUtils.java,
4283         javax/swing/plaf/basic/BasicLabelUI.java,
4284         javax/swing/plaf/basic/BasicMenuItemUI.java,
4285         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
4286         javax/swing/plaf/basic/BasicRootPaneUI.java,
4287         javax/swing/plaf/basic/BasicScrollBarUI.java,
4288         javax/swing/plaf/basic/BasicScrollPaneUI.java,
4289         javax/swing/plaf/basic/BasicSliderUI.java,
4290         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4291         javax/swing/plaf/basic/BasicToggleButtonUI.java,
4292         javax/swing/table/JTableHeader.java,
4293         javax/swing/text/AbstractDocument.java,
4294         javax/swing/text/DefaultCaret.java,
4295         javax/swing/text/StyledEditorKit.java,
4296         javax/swing/tree/DefaultTreeCellEditor.java:
4297         Cleaned up imports.
4299 2004-05-05  Michael Koch  <konqueror@gmx.de>
4301         * java/util/prefs/AbstractPreferences.java
4302         (AbstractPreferences): Added parenthesis for clarity.
4303         Closes classpath bug #7940.
4305 2004-05-05  Tom Tromey  <tromey@redhat.com>
4307         * javax/naming/CompoundName.java (endsWith): Look at correct
4308         element of source name.
4310 2004-05-05  Mark Wielaard  <mark@klomp.org>
4312         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
4313         * java/util/HashMap.java (rehash): Add entry at start of bucket.
4315 2004-05-05  Tom Tromey  <tromey@redhat.com>
4317         * java/io/BufferedReader.java (skip): Removed unused
4318         variable.
4320 2004-05-05  Michael Koch  <konqueror@gmx.de>
4322         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
4324 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
4326         * java/text/AttributedString.java,
4327         java/text/AttributedStringIterator.java,
4328         java/text/Collator.java,
4329         java/text/DecimalFormatSymbols.java,
4330         java/text/NumberFormat.java,
4331         java/text/RuleBasedCollator.java:
4332         Cleaned up imports.
4334 2004-05-05  Tom Tromey  <tromey@redhat.com>
4336         * java/text/Format.java: Cleaned up imports.
4337         * java/text/DecimalFormat.java: Cleaned up imports.
4338         * java/security/SecureRandom.java: Cleaned up imports.
4339         (SecureRandom): Removed unused variable.
4340         * java/security/UnresolvedPermission.java: Cleaned up imports.
4341         * java/util/Date.java (parse): Removed unused variable.
4342         * java/util/ResourceBundle.java: Cleaned up imports.
4343         (getBundle): Removed unused variable.
4344         (tryBundle): Likewise.
4345         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
4347 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4349         * java/text/SimpleDateFormat.java:
4350         (formatWithAttribute): New method. It implements
4351         the formatting process with attributes.
4352         (format): Use formatWithAttribute.
4353         (formatToCharacterIterator): New method. Use
4354         formatWithAttribute.
4356 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4358         * java/text/MessageFormat.java:
4359         (class Field): New class.
4360         (formatToCharacterIterator): New method.
4361         (format): Use formatInternal now.
4362         (formatInternal): New method. String formatter should
4363         be done here (with attributes). Attributes merging supported.
4364         (parse): More documentation.
4365         (getFormatsByArgumentIndex): New method.
4366         (setFormatByArgumentIndex): New method.
4367         (setFormatsByArgumentIndex): New method.
4369 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4371         * java/text/DecimalFormat.java
4372         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
4373         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
4374         (parse): Fixed handling of exponentiation notation and grouping.
4376 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
4378         * java/text/DecimalFormat.java
4379         (scanFix): Build attribute array. Fixed error reporting.
4380         (applyPatternWithSymbols): Store attributes for the prefix and
4381         suffix.
4382         (formatInternal): New method. Changed the way the string is
4383         computed. Implemented attributes. Cleant up rounding in
4384         exponential notation.
4385         (format): Use formatInternal.
4386         (formatToCharacterIterator): New method.
4387         (exponentRound, negativePrefixRanges, positivePrefixRanges,
4388         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
4389         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
4390         New fields.
4392 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
4394         * java/security/interfaces/DSAKeyPairGenerator.java,
4395         java/security/interfaces/DSAPrivateKey.java,
4396         java/security/interfaces/DSAPublicKey.java,
4397         java/security/interfaces/RSAPrivateKey.java,
4398         java/security/interfaces/RSAPublicKey.java:
4399         Cleaned up imports.
4401 2004-05-04  Michael Koch  <konqueror@gmx.de>
4403         * java/nio/ByteBuffer.java,
4404         java/nio/CharBuffer.java,
4405         java/nio/DoubleBuffer.java,
4406         java/nio/FloatBuffer.java,
4407         java/nio/IntBuffer.java,
4408         java/nio/LongBuffer.java,
4409         java/nio/ShortBuffer.java:
4410         (compareTo): Fixed bogus implementation in all buffer classes.
4412 2004-05-04  Ingo Proetel  <proetel@aicas.com>
4414         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
4415         32 bit pixels not 8 bit pixels.
4416         (isCompatibleRaster): Added javadoc comment.
4418 2004-05-04  Ingo Proetel  <proetel@aicas.com>
4420         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
4421         scanline stride.
4423 2004-05-04  Ingo Proetel  <proetel@aicas.com>
4425         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
4426         (getColorModel): Return the actual color model.
4427         (getRaster): Implemented.
4428         (ColorRaster): New inner class.
4429         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
4430         a PaintContext.
4431         * java/awt/Color.java (<init>): Make exception more verbose.
4432         (createContext): Use ColorModel when creating a PaintContext.
4434 2004-05-04  Michael Koch  <konqueror@gmx.de>
4436         * gnu/java/text/CharacterBreakIterator.java
4437         (previous): Removed unused variable.
4439 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
4441         * gnu/java/text/FormatBuffer.java,
4442         gnu/java/text/AttributedFormatBuffer.java,
4443         gnu/java/text/StringFormatBuffer.java: New classes to implement
4444         attributed iterators in java.text.
4445         * gnu/java/text/FormatCharacterIterator.java: Moved 
4446         from java/text as it is an internal class.
4447         * java/text/FormatCharacterIterator.java: Removed.
4448         * java/text/Format.java:
4449         Import gnu.java.text.FormatCharacterIterator.
4450         * Makefile.am (java_source_files): Added new files.
4451         * Makefile.in: Regenerated.
4452         
4454 2004-05-04  Mark Wielaard  <mark@klomp.org>
4456         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
4458 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
4460         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
4461         * Makefile.in: Rebuilt.
4463 2004-05-03  Mark Wielaard  <mark@klomp.org>
4465         * gnu/java/security/der/DERReader.java: Call static methods staticly.
4466         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
4467         * java/net/URL.java
4468         (set(String, String, int, String, String, String, String, String)):
4469         Assign this.file to path or path + "?" + query.
4470         * java/util/Arrays.java: Call static methods staticly.
4471         * java/util/zip/ZipEntry.java: Likewise.
4472         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
4473         dir to this.direction.
4474         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
4475         Assign static field only once.
4476         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
4478 2004-05-03  Mark Wielaard  <mark@klomp.org>
4480         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
4481         unused variables hScrollbarHeight and vScrollbarWidth.
4482         (preferredSize): Likewise.
4483         * gnu/java/security/provider/DSAParameters.java (engineToString):
4484         Removed unused call to System.getProperty("line.seperator");
4485         * java/security/Security.java (loadProviders): Return result.
4487 2004-05-03  Tom Tromey  <tromey@redhat.com>
4489         * java/net/URLStreamHandler.java (toExternalForm): Removed
4490         unused variables.
4491         unused constructor.
4492         * java/math/BigDecimal.java (divide): Removed unused variable.
4493         * java/lang/Throwable.java: Cleaned up imports.
4494         * java/lang/ClassLoader.java: Cleaned up imports.
4495         * java/io/FilePermission.java (implies): Removed unused
4496         variable.
4497         * java/awt/TextComponent.java: Removed unused import.
4498         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
4499         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
4500         * gnu/java/text/WordBreakIterator.java: Removed unused import.
4501         * gnu/java/text/SentenceBreakIterator.java: Removed unused
4502         import.
4503         * gnu/java/text/LineBreakIterator.java: Removed unused import.
4504         * gnu/java/text/CharacterBreakIterator.java: Removed
4505         unused import.
4506         * gnu/java/security/provider/DSAKeyPairGenerator.java:
4507         Cleaned up imports.
4508         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
4509         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
4510         unused method.
4511         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
4512         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
4513         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
4514         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
4515         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
4516         (lookupProviders): Removed unused variable.
4517         (loadNextServiceProvider): Likewise.
4518         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
4520 2004-05-03  Michael Koch  <konqueror@gmx.de>
4522         Fixes PR libgcj/14695:
4523         * java/net/NetworkInterface.java
4524         (getByName): Return null when no interface was found.
4526 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
4527             Tom Tromey  <tromey@redhat.com>
4529         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
4530         additional option "-Wmissing-prototypes" for compiling C sources.
4531         Print actual filename for pass/fail rather than $name.c.
4532         * testsuite/libjava.jni/PR15133.java: New testcase file.
4533         * testsuite/libjava.jni/PR15133.c: Likewise.
4534         * testsuite/libjava.jni/PR15133.out: Likewise.
4536 2004-04-30  Roger Sayle  <roger@eyesopen.com>
4538         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
4539         ceil and floor.
4541 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
4542         
4543         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
4544         limit the maximum heap size to avoid unnecessary thrashing.
4546 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
4548         * java/text/CollationElementIterator.java (reset): Reset
4549         lookahead variables.
4551 2004-04-23  Mark Wielaard  <mark@klomp.org>
4553         * jni/classpath/jcl.c: Changed C++ comments into C comments.
4555 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4557         * java/sql/DriverManager.java:
4558         Cleaned up imports.
4560 2004-04-23  Michael Koch  <konqueror@gmx.de>
4562         * java/net/URL.java
4563         (hashcode): Don't initialize with default value explicitely.
4564         (getContent): Removed redundant "final" keyword.
4565         (openStream): Likewise.
4566         (getURLStreamHandler): Fixed coding style.
4567         * java/net/URLConnection.java
4568         (defaultAllowUserInteraction): Don't initialize with default value
4569         explicitely.
4570         (connected): Likewise.
4571         (doOutput): Likewise.
4572         (ifModifiedSince): Likewise.
4573         (dateformats_initialized): Likewise.
4574         (setURLStreamHander): Use StreamTokenizer where it belongs to.
4576 2004-04-23  Michael Koch  <konqueror@gmx.de>
4578         * gnu/java/nio/channels/FileChannelImpl.java
4579         (SET, CUR): Unused, removed.
4580         (read): Implement here directly.
4581         (implRead): Removed.
4582         (write): Implement here directly.
4583         (implWrite): Removed.
4585 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
4587         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4588         javax/rmi/CORBA/Stub.java,
4589         javax/rmi/CORBA/Util.java,
4590         javax/rmi/CORBA/ValueHandler.java,
4591         javax/rmi/CORBA/ValueHandler.java,
4592         javax/rmi/PortableRemoteObject.java:
4593         Cleaned up imports.
4595 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4597         * java/util/jar/JarFile.java,
4598         java/util/jar/JarInputStream.java,
4599         java/util/jar/JarOutputStream.java,
4600         java/util/jar/Manifest.java:
4601         Cleaned up imports.
4603 2004-04-23 Dalibor Topic <robilad@kaffe.org>
4605         * java/util/ArrayList.java,
4606         java/util/Calendar.java,
4607         java/util/Currency.java,
4608         java/util/HashMap.java,
4609         java/util/HashSet.java,
4610         java/util/Hashtable.java,
4611         java/util/LinkedList.java,
4612         java/util/Properties.java,
4613         java/util/PropertyPermission.java,
4614         java/util/TimeZone.java,
4615         java/util/TreeMap.java,
4616         java/util/TreeSet.java,
4617         java/util/Vector.java,
4618         java/util/WeakHashMap.java:
4619         Cleaned up imports.
4621 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
4623         * java/util/logging/FileHandler.java,
4624         java/util/logging/Formatter.java,
4625         java/util/logging/Handler.java,
4626         java/util/logging/Logger.java,
4627         java/util/logging/SimpleFormatter.java,
4628         java/util/logging/XMLFormatter.java:
4629         Cleaned up imports.
4631 2004-04-22  Mark Wielaard  <mark@klomp.org>
4633         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
4634         -Wno-long-long flags variable.
4635         (gtk_c_files): Use PEDANTIC_CFLAGS.
4636         * Makefile.in: Regenerated.
4638 2004-04-22  Mark Wielaard  <mark@klomp.org>
4640         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4641         Changed C++ comments into C comments.
4642         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
4643         Likewise.
4645 2004-04-22  Michael Koch  <konqueror@gmx.de>
4647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
4648         Merged copyright year with GNU classpath.
4650 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
4652         * javax/security/auth/x500/X500Principal.java:
4653         Cleaned up imports.
4655 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
4657         * javax/swing/JSlider.java:
4658         Fixed HTML tags in comments.
4660 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
4662         * javax/accessibility/AccessibleText.java:
4663         Cleaned up imports.
4665 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
4667         * java/net/URLStreamHandler.java
4668         (parseURL): Convert the file path to using '/' instead of native
4669         file separator.
4671 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
4673         * java/net/URL.java
4674         (userInfo): New field.
4675         (URL): Set authority to the right value.
4676         (setURL): Fixed authority and file initialization.
4677         * java/net/URLStreamHandler.java
4678         (parseURL): Take care of the query tag. Build authority.
4679         (toExternalForm): Fixed URL building using authority.
4681 2004-04-22  Michael Koch  <konqueror@gmx.de>
4683         * java/net/Socket.java
4684         (impl): Made package-private.
4685         * java/net/ServerSocket.java
4686         (implAccept): Access Socket.impl field directly.
4688 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
4690         * java/util/prefs/Preferences.java,
4691         java/util/prefs/InvalidPreferencesFormatException.java,
4692         java/util/prefs/BackingStoreException.java,
4693         java/util/prefs/AbstractPreferences.java:
4694         Cleaned up imports.
4696 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
4698         * java/util/regex/Matcher.java,
4699         java/util/regex/Pattern.java:
4700         Cleaned up imports.
4702 2004-04-22  Michael Koch  <konqueror@gmx.de>
4704         * java/nio/charset/IllegalCharsetNameException.java
4705         (charsetName): Made private.
4706         (IllegalCharsetNameException): Added @param tag to javadoc.
4707         (getCharsetName): Added @return tag to javadoc.
4708         * java/nio/charset/MalformedInputException.java
4709         (MalformedInputException): Added @param tag to javadoc.
4710         (getInputLength): Revised method description, added @return tag.
4711         (getMessage): Added @return tag.
4713 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
4715         * java/awt/Font.java (deriveFont): Implement missing variants.
4716         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
4717         missing variants.
4719 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
4721         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
4722         Set method->index values for interface methods to their itable index.
4723         (initializeClass): Call _Jv_LayoutInterfaceMethods.
4725 2004-04-21  Michael Koch  <konqueror@gmx.de>
4727         * java/nio/DirectByteBufferImpl.java
4728         (shiftDown): Made static, give address as argument and
4729         provide a convenience method that overwrites shiftDown in
4730         ByteBufferImpl and calls the native shiftDown.
4731         * java/nio/MappedByteBufferImpl.java
4732         (): Use optimized method in DirectByteBufferImpl.
4733         * java/nio/natDirectByteBufferImpl.cc
4734         (shiftDown): Changed method signature. Removed usage of array_offset.
4736 2004-04-21  Michael Koch  <konqueror@gmx.de>
4738         * gnu/java/net/natPlainSocketImplPosix.cc
4739         (SocketInputStream::read): Make sure returned data is a byte value.
4741 2004-04-21  Michael Koch  <konqueror@gmx.de>
4743         * gnu/classpath/ServiceFactory.java,
4744         gnu/classpath/ServiceProviderLoadingAction.java,
4745         javax/imageio/ImageReader.java,
4746         javax/imageio/ImageTranscoder.java,
4747         javax/imageio/ImageWriter.java,
4748         javax/imageio/package.html,
4749         javax/imageio/spi/IIOServiceProvider.java,
4750         javax/imageio/spi/ImageInputStreamSpi.java,
4751         javax/imageio/spi/ImageOutputStreamSpi.java,
4752         javax/imageio/spi/ImageReaderWriterSpi.java,
4753         javax/imageio/spi/ImageTranscoderSpi.java,
4754         javax/imageio/spi/RegisterableService.java,
4755         javax/imageio/spi/ServiceRegistry.java,
4756         javax/imageio/spi/package.html,
4757         javax/imageio/stream/IIOByteBuffer.java,
4758         javax/imageio/stream/ImageInputStream.java,
4759         javax/imageio/stream/ImageOutputStream.java,
4760         javax/imageio/stream/package.html:
4761         New files.
4762         * Makefile.am
4763         (ordinary_java_source_files): Added
4764         gnu/classpath/ServiceFactory.java and
4765         gnu/classpath/ServiceProviderLoadingAction.java.
4766         (javax_source_files): Added
4767         javax/imageio/ImageReader.java,
4768         javax/imageio/ImageTranscoder.java,
4769         javax/imageio/ImageWriter.java,
4770         javax/imageio/spi/IIOServiceProvider.java,
4771         javax/imageio/spi/ImageInputStreamSpi.java,
4772         javax/imageio/spi/ImageOutputStreamSpi.java,
4773         javax/imageio/spi/ImageReaderWriterSpi.java,
4774         javax/imageio/spi/ImageTranscoderSpi.java,
4775         javax/imageio/spi/RegisterableService.java,
4776         javax/imageio/spi/ServiceRegistry.java,
4777         javax/imageio/stream/IIOByteBuffer.java,
4778         javax/imageio/stream/ImageInputStream.java and
4779         javax/imageio/stream/ImageOutputStream.java.
4780         * Makefile.in: Regenerated.
4782 2004-04-21  Michael Koch  <konqueror@gmx.de>
4784         * java/util/Properties.java
4785         (load): Fix wrongly merged fix.
4787 2004-04-21  Mark Wielaard  <mark@klomp.org>
4789         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
4790         malloc and free buf.
4792 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
4794         * javax/naming/AuthenticationException.java,
4795         javax/naming/AuthenticationNotSupportedException.java,
4796         javax/naming/CannotProceedException.java,
4797         javax/naming/CommunicationException.java,
4798         javax/naming/CompoundName.java,
4799         javax/naming/ConfigurationException.java,
4800         javax/naming/ContextNotEmptyException.java,
4801         javax/naming/InitialContext.java,
4802         javax/naming/InsufficientResourcesException.java,
4803         javax/naming/InterruptedNamingException.java,
4804         javax/naming/LimitExceededException.java,
4805         javax/naming/LinkException.java,
4806         javax/naming/LinkLoopException.java,
4807         javax/naming/LinkRef.java,
4808         javax/naming/MalformedLinkException.java,
4809         javax/naming/Name.java,
4810         javax/naming/NameAlreadyBoundException.java,
4811         javax/naming/NameNotFoundException.java,
4812         javax/naming/NamingSecurityException.java,
4813         javax/naming/NoInitialContextException.java,
4814         javax/naming/NoPermissionException.java,
4815         javax/naming/NotContextException.java,
4816         javax/naming/PartialResultException.java,
4817         javax/naming/ReferralException.java,
4818         javax/naming/ServiceUnavailableException.java,
4819         javax/naming/SizeLimitExceededException.java,
4820         javax/naming/TimeLimitExceededException.java,
4821         javax/naming/directory/Attribute.java,
4822         javax/naming/directory/Attributes.java,
4823         javax/naming/directory/SearchResult.java,
4824         javax/naming/event/NamingExceptionEvent.java,
4825         javax/naming/spi/ResolveResult.java:
4826         Cleaned up imports.
4828 2004-04-21  Mark Wielaard  <mark@klomp.org>
4830         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
4831         Changed C++ comments into C comments. Removed commented out code.
4832         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4833         Likewise.
4834         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
4835         Likewise.
4836         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
4837         Likewise.
4838         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
4839         Likewise.
4840         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
4841         Likewise.
4842         * native/jni/gtk-peer/gthread-jni.c:
4843         Likewise.
4845 2004-04-21  Mark Wielaard  <mark@klomp.org>
4847         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
4848         static fields defined in interface.
4849         * javax/awt/JDialog.java: Likewise.
4850         (JDialog): Make constructors public.
4851         (getDefaultCloseOperation): Make public.
4852         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
4853         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
4854         * javax/swing/JViewport.java (JViewport): Make constructor public.
4856 2004-04-21  Michael Koch  <konqueror@gmx.de>
4858         * java/util/Map.java
4859         (Entry): Removed redundant "static" modifier.
4860         * java/text/AttributedCharacterIterator.java:
4861         Updated copyright year.
4863 2004-04-20  Michael Koch  <konqueror@gmx.de>
4865         * javax/naming/directory/SearchControls.java:
4866         Don't explicitely extend java.lang.Object.
4867         * javax/naming/spi/DirStateFactory.java:
4868         Merged copyright year with GNU classpath.
4870 2004-04-20  Michael Koch  <konqueror@gmx.de>
4872         * java/nio/channels/Channels.java:
4873         Merged coding style with GNU classpath.
4875 2004-04-20  Michael Koch  <konqueror@gmx.de>
4877         * java/net/ServerSocket.java
4878         Merged coding style from GNU classpath.
4880 2004-04-20  Michael Koch  <konqueror@gmx.de>
4882         * java/io/BufferedWriter.java:
4883         Reordered variables to be at top of the class.
4884         (localFlush): Removed redundant final keyword.
4886 2004-04-20  Ingo Proetel  <proetel@aicas.com>
4888         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
4890 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
4892         * java/text/DecimalFormat.java (scanFix): Removed suffix check
4893         for percent and permill check.
4895 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
4897         * java/text/FieldPosition.java
4898         (FieldPosition) Constructor now behaves as it should according
4899         to the java documentation.
4901 2004-04-20  Mark Wielaard  <mark@klomp.org>
4903         * java/util/Properties.java: Use the word umlaut, not &auml; in api
4904         documentation.
4906 2004-04-20  Michael Koch  <konqueror@gmx.de>
4908         * java/nio/Buffer.java,
4909         java/nio/channels/AlreadyConnectedException.java,
4910         java/nio/channels/AsynchronousCloseException.java,
4911         java/nio/channels/ByteChannel.java,
4912         java/nio/channels/CancelledKeyException.java,
4913         java/nio/channels/Channel.java,
4914         java/nio/channels/Channels.java,
4915         java/nio/channels/ClosedByInterruptException.java,
4916         java/nio/channels/ClosedChannelException.java,
4917         java/nio/channels/ClosedSelectorException.java,
4918         java/nio/channels/ConnectionPendingException.java,
4919         java/nio/channels/DatagramChannel.java,
4920         java/nio/channels/FileChannel.java,
4921         java/nio/channels/FileLock.java,
4922         java/nio/channels/FileLockInterruptionException.java,
4923         java/nio/channels/GatheringByteChannel.java,
4924         java/nio/channels/IllegalBlockingModeException.java,
4925         java/nio/channels/IllegalSelectorException.java,
4926         java/nio/channels/InterruptibleChannel.java,
4927         java/nio/channels/NoConnectionPendingException.java,
4928         java/nio/channels/NonReadableChannelException.java,
4929         java/nio/channels/NonWritableChannelException.java,
4930         java/nio/channels/NotYetBoundException.java,
4931         java/nio/channels/NotYetConnectedException.java,
4932         java/nio/channels/OverlappingFileLockException.java,
4933         java/nio/channels/Pipe.java,
4934         java/nio/channels/ReadableByteChannel.java,
4935         java/nio/channels/ScatteringByteChannel.java,
4936         java/nio/channels/SelectableChannel.java,
4937         java/nio/channels/SelectionKey.java,
4938         java/nio/channels/Selector.java,
4939         java/nio/channels/ServerSocketChannel.java,
4940         java/nio/channels/SocketChannel.java,
4941         java/nio/channels/UnresolvedAddressException.java,
4942         java/nio/channels/UnsupportedAddressTypeException.java,
4943         java/nio/channels/WritableByteChannel.java,
4944         java/nio/channels/spi/AbstractInterruptibleChannel.java,
4945         java/nio/channels/spi/AbstractSelectableChannel.java,
4946         java/nio/channels/spi/AbstractSelectionKey.java,
4947         java/nio/channels/spi/AbstractSelector.java,
4948         java/nio/channels/spi/SelectorProvider.java,
4949         java/nio/charset/spi/CharsetProvider.java:
4950         Fixed javadocs and jalopied all over java.nio.
4952 2004-04-20  Michael Koch  <konqueror@gmx.de>
4954         * java/nio/ByteBufferImpl.java,
4955         java/nio/CharBufferImpl.java,
4956         java/nio/DirectByteBufferImpl.java,
4957         java/nio/DoubleBufferImpl.java,
4958         java/nio/DoubleViewBufferImpl.java,
4959         java/nio/FloatBufferImpl.java,
4960         java/nio/FloatViewBufferImpl.java,
4961         java/nio/IntBufferImpl.java,
4962         java/nio/IntViewBufferImpl.java,
4963         java/nio/LongBufferImpl.java,
4964         java/nio/LongViewBufferImpl.java,
4965         java/nio/MappedByteBufferImpl.java,
4966         java/nio/ShortBufferImpl.java,
4967         java/nio/ShortViewBufferImpl.java:
4968         Made sure all classes are final and removed final keyword from all
4969         methods.
4971 2004-04-20  Michael Koch  <konqueror@gmx.de>
4973         * java/rmi/MarshalledObject.java,
4974         java/rmi/Naming.java,
4975         java/rmi/RemoteException.java,
4976         java/rmi/activation/ActivationException.java,
4977         java/rmi/server/ServerCloneException.java,
4978         java/security/AccessController.java,
4979         java/security/AlgorithmParameterGenerator.java,
4980         java/security/AlgorithmParameters.java,
4981         java/security/CodeSource.java,
4982         java/security/Identity.java,
4983         java/security/IdentityScope.java,
4984         java/security/KeyPairGenerator.java,
4985         java/security/KeyStore.java,
4986         java/security/Security.java,
4987         java/security/Signature.java,
4988         java/security/SignatureSpi.java,
4989         java/security/SignedObject.java,
4990         java/security/spec/DSAParameterSpec.java,
4991         java/security/spec/DSAPrivateKeySpec.java,
4992         java/security/spec/DSAPublicKeySpec.java,
4993         java/sql/Array.java,
4994         java/sql/DatabaseMetaData.java,
4995         java/sql/ResultSet.java,
4996         java/text/ChoiceFormat.java,
4997         java/text/CollationElementIterator.java,
4998         java/text/CollationKey.java,
4999         java/text/Collator.java,
5000         java/text/DateFormat.java,
5001         java/text/DateFormatSymbols.java,
5002         java/text/DecimalFormatSymbols.java,
5003         java/text/Format.java,
5004         java/text/ParsePosition.java,
5005         java/text/RuleBasedCollator.java,
5006         java/text/SimpleDateFormat.java,
5007         java/text/StringCharacterIterator.java,
5008         java/util/Collections.java,
5009         java/util/PropertyResourceBundle.java,
5010         java/util/ResourceBundle.java,
5011         java/util/StringTokenizer.java,
5012         java/util/jar/Attributes.java,
5013         java/util/logging/ConsoleHandler.java,
5014         java/util/logging/LogManager.java,
5015         java/util/logging/MemoryHandler.java,
5016         java/util/logging/SocketHandler.java,
5017         javax/naming/NamingException.java:
5018         Fixed javadoc, coding style and argument names all over.
5020 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
5022         * java/io/FileDescriptor.java: (FileDescriptor) Added public
5023         constructor. (valid) Added null check.
5025 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
5027         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
5028         * java/io/FileOutputStream.java
5029         (FileOutputStream) Reorganized constructors. Constructors now
5030         check whether the given path is directory.
5032 2004-04-20  Michael Koch  <konqueror@gmx.de>
5034         * java/net/Authenticator.java,
5035         java/net/BindException.java,
5036         java/net/ConnectException.java,
5037         java/net/ContentHandler.java,
5038         java/net/ContentHandlerFactory.java,
5039         java/net/DatagramPacket.java,
5040         java/net/DatagramSocket.java,
5041         java/net/DatagramSocketImpl.java,
5042         java/net/DatagramSocketImplFactory.java,
5043         java/net/FileNameMap.java,
5044         java/net/HttpURLConnection.java,
5045         java/net/Inet4Address.java,
5046         java/net/Inet6Address.java,
5047         java/net/InetAddress.java,
5048         java/net/InetSocketAddress.java,
5049         java/net/JarURLConnection.java,
5050         java/net/MalformedURLException.java,
5051         java/net/MulticastSocket.java,
5052         java/net/NetPermission.java,
5053         java/net/NetworkInterface.java,
5054         java/net/NoRouteToHostException.java,
5055         java/net/PasswordAuthentication.java,
5056         java/net/PortUnreachableException.java,
5057         java/net/ProtocolException.java,
5058         java/net/ServerSocket.java,
5059         java/net/Socket.java,
5060         java/net/SocketAddress.java,
5061         java/net/SocketException.java,
5062         java/net/SocketImpl.java,
5063         java/net/SocketImplFactory.java,
5064         java/net/SocketOptions.java,
5065         java/net/SocketPermission.java,
5066         java/net/SocketTimeoutException.java,
5067         java/net/URI.java,
5068         java/net/URISyntaxException.java,
5069         java/net/URL.java,
5070         java/net/URLClassLoader.java,
5071         java/net/URLConnection.java,
5072         java/net/URLDecoder.java,
5073         java/net/URLEncoder.java,
5074         java/net/URLStreamHandler.java,
5075         java/net/URLStreamHandlerFactory.java,
5076         java/net/UnknownHostException.java,
5077         java/net/UnknownServiceException.java:
5078         Fixed javadocs, coding style and argument names all over.
5080 2004-04-20  Michael Koch  <konqueror@gmx.de>
5082         * java/lang/Byte.java,
5083         java/lang/CharSequence.java,
5084         java/lang/ClassLoader.java,
5085         java/lang/Compiler.java,
5086         java/lang/Double.java,
5087         java/lang/Float.java,
5088         java/lang/Integer.java,
5089         java/lang/Long.java,
5090         java/lang/Math.java,
5091         java/lang/Number.java,
5092         java/lang/Package.java,
5093         java/lang/Runtime.java,
5094         java/lang/RuntimePermission.java,
5095         java/lang/SecurityManager.java,
5096         java/lang/Short.java,
5097         java/lang/StringBuffer.java,
5098         java/lang/System.java,
5099         java/lang/ThreadGroup.java,
5100         java/lang/Throwable.java,
5101         java/lang/reflect/InvocationHandler.java,
5102         java/lang/reflect/Proxy.java:
5103         Fixed javadocs, coding style and argument names all over.
5105 2004-04-20  Michael Koch  <konqueror@gmx.de>
5107         * java/io/BufferedWriter.java,
5108         java/io/ByteArrayInputStream.java,
5109         java/io/CharArrayWriter.java,
5110         java/io/DataInput.java,
5111         java/io/DataInputStream.java,
5112         java/io/File.java,
5113         java/io/FilterInputStream.java,
5114         java/io/InputStream.java,
5115         java/io/InputStreamReader.java,
5116         java/io/ObjectInputStream.java,
5117         java/io/ObjectStreamClass.java,
5118         java/io/PipedInputStream.java,
5119         java/io/PipedReader.java,
5120         java/io/PushbackInputStream.java,
5121         java/io/PushbackReader.java,
5122         java/io/RandomAccessFile.java,
5123         java/io/SerializablePermission.java,
5124         java/io/StreamTokenizer.java,
5125         java/io/StringWriter.java,
5126         java/io/WriteAbortedException.java,
5127         java/io/Writer.java:
5128         Fixed javadocs all over, rename arguments to match javadocs,
5129         fixed coding style.
5131 2004-04-20  Ingo Proetel  <proetel@aicas.com>
5133         * java/awt/FontMetrics.java:
5134         (charsWidth): fixed accumulation of total_width
5135         (getWidth): simple default implementation
5136         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
5137         in Rectangle constructor.
5138         * java/awt/image/Raster.java (toString): Added method. 
5139         * java/awt/image/SampleModel.java (<init>): Added error cause
5140         information to thrown exception.
5141         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
5142         New method.
5143         (setDataElements): New method.
5144         (setPixels): New method.
5145         (toString): New method.
5147 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
5149         * java/awt/image/ComponentColorModel.java
5150         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
5151         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
5152         Mauve tests on this method. Improved documentation.
5154 2004-04-20  Michael Koch  <konqueror@gmx.de>
5156         * javax/swing/JLayeredPane.java,
5157         javax/swing/plaf/BorderUIResource.java,
5158         javax/swing/plaf/ComponentUI.java,
5159         javax/swing/undo/CompoundEdit.java,
5160         javax/swing/undo/StateEdit.java:
5161         Fixed HTML tags in javadocs all over.
5163 2004-04-20  Michael Koch  <konqueror@gmx.de>
5165         * javax/print/attribute/EnumSyntax.java
5166         (getOffset): Made protected.
5167         * javax/print/attribute/HashAttributeSet.java
5168         (HashAttributeSet): Likewise.
5169         * javax/print/attribute/ResolutionSyntax.java
5170         (getFeedResolution): Fixed typo in exception name.
5171         (getCrossFeedResolution): Likewise.
5172         * javax/print/attribute/SetOfIntegerSyntax.java
5173         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
5174         * javax/print/attribute/TextSyntax.java
5175         (TextSyntax): Handle locale correctly.
5176         (hashCode): Calc better hashcode value.
5177         (equals): Fixed @return tag.
5178         (toString): New method.
5180 2004-04-20  Michael Koch  <konqueror@gmx.de>
5182         * gnu/java/nio/FileLockImpl.java
5183         (static): Removed, not needed anymore.
5184         * gnu/java/nio/channels/FileChannelImpl.java
5185         (FileChannelImpl): Made final.
5186         (mode): Made private.
5187         (READ, WRITE, APPEND): Made public.
5188         (EXCL, SYNC, DSYNC): Likewise.
5189         (static): Load native JNI library, when needed.
5190         (length): Unused, removed.
5191         (available): Made public.
5192         (implPosition): Throws IOException.
5193         (seek): Likewise.
5194         (implTruncate): Likewise.
5195         (unlock): Likewise.
5196         (lock): Likewise.
5198 2004-04-20  Michael Koch  <konqueror@gmx.de>
5200         * java/awt/AWTPermission.java,
5201         java/awt/Component.java,
5202         java/awt/ComponentOrientation.java,,
5203         java/awt/Dialog.java,
5204         java/awt/FontMetrics.java,
5205         java/awt/Graphics.java,
5206         java/awt/datatransfer/DataFlavor.java,
5207         java/beans/Introspector.java,
5208         java/beans/PropertyEditor.java,
5209         java/beans/PropertyEditorManager.java,
5210         java/beans/beancontext/BeanContextServiceProvider.java:
5211         Fixed HTML tags in javadocs all over.
5213 2004-04-20  Mark Wielaard  <mark@klomp.org>
5215         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
5216         MissingResourceException is thrown.
5217         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
5218         null when a MissingResourceException is thrown. Should never happen.
5220 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
5222         * java/awt/image/DataBufferShort.java,
5223         java/awt/image/DataBufferFloat.java,
5224         java/awt/image/DataBufferDouble.java,
5225         java/awt/image/PixelInterleavedSampleModel.java: New files.
5226         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
5227         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
5229 2004-04-20  Michael Koch  <konqueror@gmx.de>
5231         * Makefile.am (java_source_files): Added
5232         java/awt/image/DataBufferDouble.java,
5233         java/awt/image/DataBufferFloat.java,
5234         java/awt/image/DataBufferShort.java and
5235         java/awt/image/PixelInterleavedSampleModel.java.
5236         * Makefile.in: Regenerated.
5238 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
5240         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
5241         undocumented CNI calls.
5242         * include/java-interp.h (_Jv_InterpClass): No longer
5243         extends java.lang.Class.
5244         * java/lang/Class.h (Class): Add new field `aux_info'.
5245         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
5246         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
5247         Use Class->aux_info instead.
5248         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
5249         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
5250         Use Class->aux_info instead.
5251         * java/io/natObjectInputStream.cc (allocateObject): Use
5252         _Jv_AllocObject.
5253         * java/lang/natClass.cc (newInstance): Likewise.
5254         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
5255         * java/lang/natObject.cc (clone): Likewise.
5256         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
5257         * java/lang/natVMClassLoader.cc (defineClass): Don't use
5258         JvAllocObject. Allocate klass->aux_info here for interpreted
5259         class.
5260         
5261 2004-04-17  Mark Wielaard  <mark@klomp.org>
5263         * javax/swing/JToggleButton.java (ToggleButtonModel):
5264         Make public static inner class.
5265         * javax/swing/JTabbedPane.java (setComponentAt):
5266         Call Page.setComponent().
5267         (SCROLL_TAB_LAYOUT): Make public, value is 1.
5268         (WRAP_TAB_LAYOUT): Make public, value is 0.
5269         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
5270         Make private static inner class.
5272 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
5274         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
5275         arguments to match new signature. Remove FIXME comments.
5277 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
5279         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
5280         Remove method.
5281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
5282         unused code.
5284 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
5286         * Makefile.am: Added new file.
5287         * Makefile.in: Regenerate.
5288         * javax/swing/ImageIcon.java: 
5289         (ImageIcon(file)): set description of the icon 
5290         to the file name
5291         * javax/swing/JCheckBoxMenuItem.java:
5292         Mostly Implemented. Work in progress.
5293         * javax/swing/JRadioButtonMenuItem.java:
5294         Reimplement constructors to use JToggleButtonModel.
5295         * javax/swing/plaf/basic/BasicIconFactory.java:
5296         (getCheckBoxMenuItemIcon): return check box
5297         icon.
5298         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5299         paint menu item selected only when it is armed and 
5300         pressed. 
5302 2004-04-02  David Jee  <djee@redhat.com>
5304         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5305         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
5306         * java/awt/Component.java
5307         (add): Set the parent of the popup as this component.
5308         * java/awt/PopupMenu.java
5309         (addNotify): Create popup menu when peer is null.
5310         (show): Call addNotify() if peer is null.
5311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5312         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
5313         argument for gtk_menu_popup() as zero. This causes the popup menu to
5314         respond to any mouse button.
5316 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
5318         * Makefile.am: Added new file.
5319         * Makefile.in: Regenerate.
5320         * javax/swing/JRadioButtonMenuItem.java:
5321         Implemented.
5322         * javax/swing/plaf/basic/BasicIconFactory.java:
5323         (getRadioButtonMenuItemIcon): Return
5324         radio button icon.
5325         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5326         (getPreferredSize): Add size of checkIcon if it
5327         exists.
5328         (installDefaults): Don't initialize checkIcon.
5329         It's value will be set in subclasses. 
5330         (uninstallDefaults): remove uninstallation of 
5331         checkIcon.
5332         (paint): Moved code to paintMenuItem().
5333         (paintMenuItem): Implemented.
5334         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
5335         UI delegate for JRadioButtonMenuItem.
5336         
5337 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
5339         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5340         Corrected position of the accelerator.
5342 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
5344         * Makefile.am: Added new file. 
5345         * Makefile.in: Regenerate.
5346         * javax/swing/JMenuItem.java: Partly 
5347         implemented. Work in progress
5348         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5349         Changed default value of acceleratorDelimiter.
5350         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5351         New class. Partly implemented.
5352                 
5353 2004-03-26  Mark Wielaard  <mark@klomp.org>
5355         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5356         (item_activate): Declare label before use.
5357         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5358         (gtkSetFont): Removed unused variable label.
5359         (addExposeFilter): Declare variables before use.
5360         (removeExposeFilter): Likewise.
5361         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5362         (ok_clicked): Declare str_fileName before use.
5364 2004-03-26  David Jee  <djee@redhat.com>
5366         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
5367         (addSeparator): Remove.
5368         * java/awt/Menu.java
5369         (separator): Remove static final MenuItem field.
5370         (separatorLabel): New static final String field.
5371         (addSeparator): Do not use peer method; use add(MenuItem) instead.
5372         Use separatorLabel to denote that it is a separator.
5373         (insertSeparator): Create a new MenuItem with separatorLabel, instead
5374         of reusing the static separator instance, because a MenuItem instance
5375         can't be added more than once without being cloned.
5376         * java/awt/peer/MenuPeer.java
5377         (addSeparator): Remove from interface.
5379 2004-03-26  David Jee  <djee@redhat.com>
5381         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
5382         (connectSignals): New native method declaration.
5383         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
5384         * java/awt/MenuItem.java
5385         (getActionCommand): Return the label if the action command is not set.
5386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
5387         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
5388         gtk_menu_shell_append().
5389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
5390         (item_activate): Fix argument type.
5391         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
5392         signal here.
5393         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
5394         method.
5395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
5396         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
5397         given. Add the menu widget's top-level GtkWindow to the global window
5398         group, so it can grab the pointer.
5399         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
5400         gtk_menu_shell_append().
5402 2004-03-23  Graydon Hoare  <graydon@redhat.com>
5404         * java/text/AttributedString.java 
5405         (addAttribute): Fix off-by-one.
5406         (getIterator): Likewise.        
5407         * java/text/AttributedStringIterator.java 
5408         (getRunLimit): Correct logic.
5409         (getRunStart): Likewise.
5410         (getAttribute): Fix inequality.
5411         (getAttributes): Likewise.
5412         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
5414 2004-03-23  Kim Ho  <kho@redhat.com>
5416         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5417         (calculateSizes): Return real width and height.
5419 2004-03-23  Kim Ho  <kho@redhat.com>
5421         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5422         (calculateTabRects): Set the selectedRun before
5423         trying to rotate tabs.
5425 2004-03-23  Kim Ho  <kho@redhat.com>
5427         * Makefile.am: New file
5428         * Makefile.in: Regenerate
5429         * java/awt/Graphics.java: (drawRect):
5430         Draw to the correct point.
5431         * javax/swing/DefaultSingleSelectionModel.java
5432         (isSelected): Return true if the selected index
5433         is not -1.
5434         * javax/swing/JLabel.java: Do not change mnemonic
5435         index if text is null.
5436         * javax/swing/JProgressBar.java: Use JComponent's
5437         EventListenerList.
5438         * javax/swing/JScrollBar.java: Ditto.
5439         * javax/swing/JSlider.java: Ditto.
5440         * javax/swing/JTabbedPane.java: Reimplement.
5441         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5442         Add defaults for TabbedPane.
5443         * javax/swing/plaf/basic/BasicArrowButton.java:
5444         Implement
5445         * javax/swing/plaf/basic/BasicProgressBarUI.java:
5446         (paintDeterminate): Don't paint String if it's
5447         empty.
5448         (paintIndeterminate): ditto.
5449         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
5450         Reimplement.
5452 2004-03-19  Michael Koch  <konqueror@gmx.de>
5454         * java/awt/image/AffineTransformOp.java
5455         (AffineTransformOp): Made public.
5456         * javax/swing/JComponent.java
5457         (listenerList): Made protected.
5458         (accessibleContext): Likewise.
5459         * javax/swing/JList.java
5460         (valueChanged): Dont use internal fields of ListSelectionEvent.
5461         * javax/swing/JViewport.java
5462         (getView): Dont use internal fields of Component.
5463         (addImpl): Likewise.
5464         * javax/swing/Timer.java
5465         (isRunning): Made public.
5466         (start): Likewise.
5467         (stop): Likewise.
5468         * javax/swing/UIDefaults.java
5469         (getInt): Made public.
5470         * javax/swing/plaf/basic/BasicListUI.java
5471         (mousePressed): Dont use internal fields of MouseEvent.
5472         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5473         * javax/swing/plaf/basic/BasicScrollBarUI.java
5474         (arrowIcon): Made static.
5475         * javax/swing/plaf/basic/BasicViewportUI.java
5476         (stateChanged): Dont use internal field on ChangeEvent.
5477         * javax/swing/text/JTextComponent.java
5478         (getUI): Call UIManager.getUI().
5479         (updateUI): Use getUI().
5481 2004-03-19  Graydon Hoare  <graydon@redhat.com>
5483         * javax/swing/JComponent.java: Turn off double buffer by default.
5484         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
5485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5486         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
5487         Use cairo to copy areas.
5488         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
5489         Initialize and set clip region.
5491 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
5493         * java/applet/Applet.java (preferredSize): Override deprecated
5494         variant of getPreferredSize.
5495         (minimumSize): Override deprecated variant of getMinimumSize.
5497 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
5499         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5500         (drawImage(img,xform,bgcolor,obs)): New Method.
5501         Helper function that every drawImage method will
5502         use.
5503         (drawRaster): Added new parameter, bgcolor. All
5504         transparent pixels are changed to bgcolor before 
5505         image is drawn.
5506         (drawRenderedImage): Fixed to use changed drawRaster().
5507         (drawImage(image,xform,obs): Fixed to use new helper function 
5508         (drawImage(image,op,x,y)): Ditto.
5509         (drawImage (img,x,y,observer)): Ditto.
5510         ((PainterThread) bgcolor): New Field.
5511         ((PainterThread) (setPixels)): Changed all transparent pixels 
5512         to bgcolor.     
5513         (drawImage(img,x,y,width,height,bgcolor,observer)): 
5514         Fixed FIXME - all the transparent pixels are 
5515         changed to the specified bgcolor. 
5516         (drawImage(img, x, y, width, height, observer): Changed to 
5517         use function above.
5518         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
5519         Fixed FIXME- changed all transparent pixels to bgcolor.
5520         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
5521         Changed to use function above. 
5523 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5525         * java/applet/Applet.java (dimensions): New field.
5526         (getDimensions): New method.
5527         (getPreferredSize): Call getDimensions.
5528         (getMinimumSize): Likewise.
5530 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
5532         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
5533         * jni/classpath/jnilink.c: Likewise.
5535         * java/applet/Applet.java (getPreferredSize): New method.
5536         (getMinimumSize): New method.
5538 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
5540         * prims.cc (_Jv_AllocObject): Remove `size' argument.
5541         (_Jv_AllocObjectNoFinalizer): Likewise.
5542         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
5543         (_Jv_AllocPtrFreeObject): Likewise.
5544         (_Jv_AllocString): Moved from natString.cc. Call collector interface
5545         directly even in the JVMPI case.        
5546         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
5547         _Jv_AllocObject calls.
5548         * gcj/javaprims.h: Update prototypes.
5549         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
5550         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
5551         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
5553 2004-04-14  Andrew Haley  <aph@redhat.com>
5554             Bryce McKinlay  <mckinlay@redhat.com>
5556         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
5557         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
5558         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
5560         * testsuite/libjava.lang/InvokeInterface.java: New file.
5561         * testsuite/libjava.lang/InvokeInterface.out: New file.
5563 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
5564         
5565         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
5566         modified lookup().
5567         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
5568         StackTraceElement directly.
5569         (newElement): New native helper method to create StackTraceElement
5570         bypassing Java access control.
5571         (createStackTraceElement): Use newElement() instead of directly
5572         calling StackTraceElement's constructor.
5573         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
5575 2004-04-01  Michael Koch  <konqueror@gmx.de>
5577         * java/lang/SecurityManager.java
5578         (checkAwtEventQueueAccess): Implemented.
5580 2004-04-01  Gary Benson  <gbenson@redhat.com>
5582         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
5583         (_Jv_SearchMethodInClass): Likewise.
5585 2004-03-26  Peter Moon  <peterm@miraculum.com>
5587         * java/text/NumberFormat.java: Fix spelling of setCurrency
5588         method.
5590 2004-03-21  Anthony Green  <green@redhat.com>
5592         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
5593         recursion when searching for the system ClassLoader.
5595 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
5597         * java/net/ServerSocket.java
5598         (accept): Close the socket when error occured.
5600 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
5602         * java/net/URI.java (parseURI): Added unquoting.
5603         (unquote): New method.
5604         (quoteAuthority): Implemented.
5605         (quote(String,String)): New method.
5606         (quotePath): Implemented.
5607         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
5608         (getSchemeSpecificPart): Removed FIXME comment.
5609         (getRawAuthority): Return new rawAuthority field.
5610         (getAuthority): Removed FIXME comment.
5611         (getRawUserInfo): Return new rawUserInfo field.
5612         (getUserInfo): Removed FIXME comment.
5613         (getRawPath): Return new rawPath field.
5614         (getPath): Removed FIXME comment.
5615         (getRawQuery): Return new rawQuery field.
5616         (getQuery): Removed FIXME comment.
5617         (getRawFragment): Return new rawFragment field.
5618         (getFragment): Removed FIXME comment.
5620 2004-03-20  Michael Koch  <konqueror@gmx.de>
5622         * java/net/URLConnection.java: Merged copyright year with classpath.
5624 2004-03-20  Norbert Frese  <postfach@nfrese.net>
5626         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
5627         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
5628         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
5629         rmi-message.
5630         (getObjectInputStream): Return object reference, throw IOException if null.
5631         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
5632         (getObjectOutputStream): Return object reference, throw IOException if null.
5633         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
5634         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
5635         (UnicastConnectionManager): Throw RemoteException if port is not available.
5636         (getInstance): Throw RemoteException.
5637         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
5638         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
5639         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5640         Collect Exceptions which are returned by a rmi-call and fix void returns.
5641         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
5642         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
5643         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
5644         (dispatch): Answer ping messages which are sent by other java implementions.
5645         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
5646         for every rmi-message and fix void return problems.
5647         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
5648         (UnicastServerRef): Throw RemoteException.
5649         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
5650         In some situations it is necessary to export a subclass of the class which has the _Stub.
5651         For instance when the class with has the _Stub is abstract.
5652         (findStubSkelClass): New method which looks for the class which has the _Stub.
5653         (getClientHost): Implementated.
5654         * gcc/libjava/java/rmi/server/RemoteServer.java
5655         (getClientHost): Implementated.
5656         * gcc/libjava/Makefile.am (rmi_java_source_files):
5657         Added gnu/java/rmi/server/RMIIncomingThread.java.
5658         * Makefile.in: Regenerated.
5660 2004-03-20  Michael Koch  <konqueror@gmx.de>
5662         * java/net/InetAddress.java
5663         (getLocalHostname): Added javadoc.
5665 2004-03-19  Per Bothner  <per@bothner.com>
5667         * configure.in: FILE variable  overrides FLATFORM when linking
5668         natFileChannelXXX.cc.
5670         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
5671         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
5673 2004-03-19  Per Bothner  <per@bothner.com>
5675         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
5676         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
5677         * Makefile.am:  Update accordingly.
5678         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
5679         as aliases for UnicodeLittle and UnicodeBig.
5681 2004-03-20  Mark Wielaard  <mark@klomp.org>
5683         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5684         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
5685         Don't access ws when it is null.
5686         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
5687         Likewise.
5689 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
5691         * java/lang/ThreadGroup.java (list): Changed print to println.
5693 2004-03-19  Mark Wielaard  <mark@klomp.org>
5695         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
5696         happy.
5698 2004-02-10  Randolph Chung  <tausq@debian.org>
5700         * configure.in: Build java for hppa target.
5701         * configure: Regenerate.
5702         * libjava/configure.host (hppa-*): Add target.
5703         * libjava/sysdeps/pa/lock.h: New file.
5705 2004-03-19  Mark Wielaard  <mark@klomp.org>
5707         Reported by Stephen Crawley
5708         * java/io/FilePermission.java (implies): Use String.length() -1 to
5709         access last char of String.
5711 2004-03-19  Michael Koch  <konqueror@gmx.de>
5713         * java/awt/image/AffineTransformOp.java
5714         (AffineTransformOp): Made public.
5715         * javax/swing/JComponent.java
5716         (listenerList): Made protected.
5717         (accessibleContext): Likewise.
5718         * javax/swing/JList.java
5719         (valueChanged): Dont use internal fields of ListSelectionEvent.
5720         * javax/swing/JViewport.java
5721         (getView): Dont use internal fields of Component.
5722         (addImpl): Likewise.
5723         * javax/swing/Timer.java
5724         (isRunning): Made public.
5725         (start): Likewise.
5726         (stop): Likewise.
5727         * javax/swing/UIDefaults.java
5728         (getInt): Made public.
5729         * javax/swing/plaf/basic/BasicListUI.java
5730         (mousePressed): Dont use internal fields of MouseEvent.
5731         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
5732         * javax/swing/plaf/basic/BasicScrollBarUI.java
5733         (arrowIcon): Made static.
5734         * javax/swing/plaf/basic/BasicViewportUI.java
5735         (stateChanged): Dont use internal field on ChangeEvent.
5736         * javax/swing/text/JTextComponent.java
5737         (getUI): Call UIManager.getUI().
5738         (updateUI): Use getUI().
5740 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5742         * verify.cc: Undef PC.
5744 2004-03-18  Michael Koch  <konqueror@gmx.de>
5746         * java/nio/channels/spi/AbstractSelectableChannel.java
5747         (keys): Initialize at declaration.
5748         (locate): keys cant be null.
5749         (add): Removed.
5750         (addSelectionKey): New method.
5751         (removeSelectionKey): New method.
5752         * java/nio/channels/spi/AbstractSelectionKey.java
5753         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
5754         * java/nio/channels/spi/AbstractSelector.java
5755         (provider): Javadoc added.
5756         (cancelledKeys): Javadoc added.
5757         (cancelKey): Javadoc added, add key to cancelledKeys.
5758         (deregister): Implemented.
5760 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5762         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
5763         MAP_FAILED to void *.
5765 2004-03-12  Graydon Hoare  <graydon@redhat.com>
5767         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
5768         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
5769         * javax/swing/JList.java (ListListener): Revalidate on changes.
5770         * javax/swing/JScrollPane.java: Reimplement.
5771         * javax/swing/JViewport.java: Reimplement.
5772         * javax/swing/ScrollPaneLayout.java: Reimplement.
5773         * javax/swing/ViewportLayout.java: Tidy up.
5774         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
5775         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
5776         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
5777         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
5778         backing store only.
5780 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5783         (window_wm_protocols_filter): New function.
5784         (window_focus_in_cb): Remove function.
5785         (window_focus_out_cb): Likewise.
5786         (window_focus_or_active_state_change_cb): New function.
5787         (create): Add filter that removes WM_TAKE_FOCUS client messages.
5788         (connectSignals): Don't attach handlers to focus-in-event or
5789         focus-out-event signals.  Handle notify signal.
5791 2004-03-11  David Jee  <djee@redhat.com>
5793         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5794         (gtkSetLabel): New native method declaration.
5795         (setLabel): Use gtkSetLabel.
5796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
5797         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
5799 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
5801         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
5802         black when color argument is null.
5804 2004-03-10  Kim Ho  <kho@redhat.com>
5806         * java/awt/Container.java: Remove check
5807         for drag events.
5809 2004-03-10  Kim Ho  <kho@redhat.com>
5811         * java/awt/Container.java: (visitChild):
5812         Remove candidate clip. Use the component
5813         clip to intersect.
5814         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
5815         (handleEvent): Use the PaintEvent's clip.
5817 2004-03-10  Kim Ho  <kho@redhat.com>
5819         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
5820         (handleEvent): Don't set the clip for the
5821         Graphics object.
5823 2004-03-09  Graydon Hoare  <graydon@redhat.com>
5825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
5826         Fix double <-> fixed macros, reset font transform.
5827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
5828         Likewise.
5830 2004-03-09  Kim Ho  <kho@redhat.com>
5832         * java/awt/Container.java: (visitChild): Move
5833         the x and y coordinate of the component rectangle
5834         to correct position.
5835         (handleEvent): Forward drag events to the pressed
5836         component.
5837         * javax/swing/plaf/basic/BasicScrollBarUI.java:
5838         Fix comments.
5839         (ArrowButtonListener::mousePressed): Stop the
5840         existing timer.
5841         (mouseDragged): Implement.
5842         (TrackListener::mousePressed): Only react if
5843         the press doesn't occur on the thumb, otherwise
5844         just set the offset.
5845         (TrackListener::mouseReleased): Unset the isAdjusting
5846         value.
5847         (createIncreaseIcon): Switch icon.
5848         (createDecreaseIcon): Switch icon.
5849         (calculatePreferredSize): Use width.
5850         (getThumbBounds): Use the top as the lower value.
5851         (layoutVScrollBar): Switch the button locations.
5852         (paintIncreaseHighlight): Paint correct side of thumb.
5853         (paintDecreaseHighlight): ditto.
5854         (valueForYPosition): Use top as the lower value.
5855         * javax/swing/plaf/basic/BasicSliderUI.java:
5856         Fix comments.
5857         (mouseDragged): Implement.
5858         (mousePressed): Only react when the thumb isn't
5859         pressed, otherwise just set offset.
5860         (mouseReleased): Handle a release of the thumb.
5861         (scrollDueToClickInTrack): Stop the timer first.
5862         * javax/swing/JProgressBar.java:
5863         (setString): Fix change condition.
5864         * javax/swing/JSeparator.java:
5865         Remove println's.
5867 2004-03-08  David Jee  <djee@redhat.com>
5869         * java/awt/image/AffineTransformOp.java:
5870         (filter): Use Graphics2D interface instead of directly using the
5871         GdkGraphics2D peer.
5873 2004-03-05  David Jee  <djee@redhat.com>
5875         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
5876         (handleEvent): Action events are generated upon MOUSE_RELEASED.
5877         * java/awt/Container.java
5878         (acquireComponentForMouseEvent): Fixed.
5879         (handleEvent): Fixed.
5880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5881         (state_to_awt_mods_with_button_states): New method.
5882         (pre_event_handler): Fixed mouse event generation.
5884 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
5886         gnu/java/awt/peer/gtk/GdkGraphics2D.java
5887         (GdkGraphics2D (BufferedImage)): Initialize
5888         pixmap associated with specified BufferedImage.
5889         (setPaint): Changed implementation of Texture
5890         Paint to use AffineTransformOp.
5891         * java/awt/image/AffineTransformOp.java
5892         (createCompatibleDestRaster): Throw RasterFormatException 
5893         if resulting width or height of raster is 0.
5895 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
5897         * java/awt/image/AffineTransformOp.java:
5898         Removed unnecessary field interpolationType.
5899         Formatted some of the lines to be consistent with 
5900         the GNU style.
5901         (AffineTransformOp): Create new RenderingHints 
5902         containing specified interpolation type.
5903         (createCompatibleDestImage): Implemented.
5904         (createCompatibleDestRaster): Implemented.
5905         (filter): Implemented.
5906         (getBounds2D(BufferedImage)): Implemented.
5907         (getBounds2D(Raster)): Implemented.
5908         (getInterpolationType): Get interpolation value from 
5909         rendering hints.
5911 2004-03-04  David Jee  <djee@redhat.com>
5913         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5914         (setFont): Check if child peers are null.
5916 2004-03-04  Graydon Hoare  <graydon@redhat.com>
5918         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
5919         .libs in -L option.
5920         (libjava_arguments): Add new libraries to argument list.
5922 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
5924         * Makefile.am: Added java/awt/image/AffineTransformOp.java
5925         * Makefile.in: Re-generated.
5926         * java/awt/image/AffineTransformOp.java: New Class.
5928 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
5930         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5931         (setPaint): Interpret correctly TexturePaint's
5932         anchor rectangle.
5933         (drawImage): Fixed scale factors of the affine
5934         transform.
5936 2004-02-27  David Jee  <djee@redhat.com>
5938         * gnu/java/awt/peer/gtk/GdkGraphics.java
5939         (GdkGraphics(Component)): Inherit font from component.
5940         (drawString): Use font style.
5941         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
5942         (gtkSetFont): New native method declaration.
5943         (setFont): New method.
5944         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5945         (gtkSetFont): New native method declaration.
5946         (setFont): Call new native method gtkSetFont.
5947         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5948         (setFont): For all child components who do not their fonts set,
5949         set their peers' fonts with this container's font.
5950         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
5951         Move all native method declarations to the top for readability.
5952         (gtkSetFont): New native method declaration.
5953         (setFont): New method.
5954         * java/awt/Component.java
5955         (setFont): Invalidate after setting the font.
5956         * java/awt/Container.java
5957         (invalidateTree): New method.
5958         (setFont): Invalidate the container tree after setting the font.
5959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5960         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
5961         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
5962         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
5963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5964         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
5965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5966         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
5968 2004-02-27  Olga Rodimina <rodimina@redhat.com>
5970         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5971         (updateBufferedImage): New helper function.
5972         Updates BufferedImage in memory if it was changed.
5973         (draw): changed to update BufferedImage in memory after
5974         this drawing operation
5975         (fill): Ditto.
5976         (draw3DRect): Ditto.
5977         (fill3DRect): Ditto.
5978         (clearRect): Ditto.
5979         (drawRaster): Ditto.
5980         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
5981         no affine transformation.
5982         (drawGlyphVector): Ditto.
5984 2004-02-26  Olga Rodimina <rodimina@redhat.com>
5986         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5987         (isBufferedImageGraphics): New Helper function. 
5988         Returns true if this graphics2d can be used to draw 
5989         into buffered image and false otherwise.
5990         (updateImagePixels): New Helper function. 
5991         Updates pixels in the BufferedImage.
5992         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5993         (getImagePixels): New function. Returns pixels
5994         of the buffered image associated with 
5995         this Graphics2D.
5997 2004-02-26  David Jee  <djee@redhat.com>
5999         * java/awt/BorderLayout.java
6000         (layoutContainer): Fix width and height calculations to ensure
6001         that they're non-negative.
6002         * java/awt/Component.java
6003         (setBackground): If c is null, inherit from closest ancestor whose
6004         background color is set.
6006 2004-02-26  Kim Ho  <kho@redhat.com>
6008         * Makefile.am: Add new files.
6009         * Makefile.in: Re-generate.
6010         * javax/swing/JProgressBar.java: 
6011         (JProgressBar(int, int int)): Throw
6012         IllegalArgumentException if orientation is
6013         invalid.
6014         (JProgressBar(BoundedRangeModel)): Create
6015         ChangeListener and register it. UpdateUI.
6016         (getChangeListeners): Implement.
6017         (setModel): Reset ChangeListener.
6018         * javax/swing/JScrollBar.java: Implement.
6019         * javax/swing/JSeparator.java: Implement.
6020         * javax/swing/JSlider.java:
6021         (JSlider(int, int, int, int)): Throw 
6022         IllegalArgumentException if orientation
6023         is invalid.
6024         (getChangeListeners): Fix method name.
6025         * javax/swing/SwingUtilities.java:
6026         (layoutCompoundLabel): If there is no text,
6027         set the text rectangle dimensions to 0.
6028         * javax/swing/plaf/basic/BasicButtonUI.java:
6029         (paint): If there is no text, don't paint it.
6030         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6031         Implement.
6032         * javax/swing/plaf/basic/BasicSeparatorUI.java:
6033         Implement.
6034         * javax/swing/plaf/basic/BasicSliderUI.java: 
6035         (propertyChange): If the model changes, change
6036         the listeners accordingly.
6038 2004-02-25  Graydon Hoare  <graydon@redhat.com>
6040         * javax/swing/AbstractButton.java: Add "final" qualifiers.
6041         * javax/swing/JList.java: Reimplement.
6042         * javax/swing/DefaultListSelectionModel.java: Reimplement.
6043         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
6044         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
6045         * javax/swing/ListModel.java: Javadoc.
6046         * javax/swing/ListSelectionModel.java: Add missing methods.
6047         * javax/swing/AbstractListModel.java: Javadoc and corrections.
6048         * javax/swing/DefaultListModel.java: Javadoc and corrections.
6049         * javax/swing/ListModel.java: Javadoc and corrections.
6050         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
6052 2004-02-25  David Jee  <djee@redhat.com>
6054         * gnu/java/awt/peer/gtk/GtkFontPeer.java
6055         (GtkFontPeer): Change default size to 12.
6056         * gnu/java/awt/peer/gtk/GtkToolkit.java
6057         (getFontPeer): Change default size to 12.
6058         (getClasspathFontPeer): Likewise. Set default name to "Default".
6059         * java/awt/Font.java
6060         (Font(Map)): Call Font(String,Map).
6061         (Font(String,Map)): If attrs is null, initialize it as an empty
6062         HashMap, which will ensure that the Font will get default attributes.
6064 2004-02-25  David Jee  <djee@redhat.com>
6066         * gnu/java/awt/peer/gtk/GtkFontPeer.java
6067         (GtkFontPeer(String,int)): Call the new constructor with size 1.
6068         (GtkFontPeer(String,int,int)): New constructor with size attribute.
6069         * gnu/java/awt/peer/gtk/GtkToolkit.java
6070         (getFontPeer(String,int)): Call the new overload method with size 1.
6071         (getFontPeer(String,int,int)): New method. Overloaded with size
6072         attribute.
6073         (getClasspathFontPeer): Set the size of the font.
6075 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
6077         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6078         (bimage): New field.
6079         (GdkGraphics2D): New Constructor. Constructs Graphics
6080         object that can be used to draw into the Buffered Image.
6081         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6082         (GdkGraphicsEnvironment): Fixed to include public 
6083         keyword.
6084         (createGraphics): Implemented.
6085         * gnu/java/awt/peer/gtk/GtkToolkit.java
6086         (getLocalGraphicsEnvironment): Implemented.
6087         * java/awt/GraphicsEnvironment.java:
6088         (getLocalGraphicsEnvironment): Implemented.
6089         * java/awt/image/BufferedImage.java:
6090         (createGraphics): Implemented.
6091                 
6092 2004-02-24  David Jee  <djee@redhat.com>
6094         * java/awt/Component.java
6095         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
6096         * java/awt/Container.java
6097         (addNotifyContainerChildren): Fix event enabling.
6099 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
6101         * Makefile.am: Added 
6102         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
6103         * Makefile.in: Re-generated.
6104         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
6105         New Class. 
6106         
6107 2004-02-19  Kim Ho  <kho@redhat.com>
6109         * Makefile.am: Add BasicProgressBarUI
6110         * Makefile.in: Regenerate.
6111         * javax/swing/JProgressBar.java: 
6112         Re-implement.
6113         * javax/swing/plaf/basic/BasicLookAndFeel.java
6114         Add constants for JProgressBar.
6115         * javax/swing/plaf/basic/BasicProgressBarUI.java
6116         Implement.
6117         * javax/swing/plaf/basic/BasicSliderUI.java
6118         Change comments.
6119         (calculateGeometry): New method
6120         (paint): Remove unnecessary size calculations.
6122 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
6124         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6125         (drawRaster): Fixed small error that caused
6126         imageToUser transformation to be set incorrectly.
6127         (toString): Implemented.
6129 2004-02-18  David Jee  <djee@redhat.com>
6131         * java/awt/CardLayout.java
6132         (addLayoutComponent): Show the first component added as the default.
6133         (removeLayoutComponent): After removing, show the next component.
6134         (gotoComponent): If there is only one component, show it and return.
6136 2004-02-18  Kim Ho  <kho@redhat.com>
6138         * javax/swing/JSlider.java: Re-order
6139         modifiers.
6140         * javax/swing/JLabel.java: Re-order
6141         modifiers.
6142         * javax/swing/JComponent.java: 
6143         (addPropertyChangeListener):
6144         Implement.
6145         (removePropertyChangeListener):
6146         ditto.
6147         (firePropertyChangeEvent):
6148         ditto.
6150 2004-02-17  David Jee  <djee@redhat.com>
6152         * java/awt/Component.java
6153         (show): Dispatch ComponentEvent via system event queue.
6154         (hide): Likewise.
6155         (move): Likewise.
6156         (resize): Likewise.
6157         (reshape): Likewise.
6158         * java/awt/Window.java
6159         (setBoundsCallback): Likewise.
6161 2004-02-17  David Jee  <djee@redhat.com>
6163         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6164         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
6165         Use gtk_widget_set_size_request() instead of the deprecated
6166         gtk_widget_set_usize().
6168 2004-02-17  Kim Ho  <kho@redhat.com>
6170         * javax/swing/JSlider.java: Fix comments and
6171         make property strings constants.
6172         (createStandardLabels): Use the labels
6173         preferred size as bounds.
6174         * javax/swing/plaf/basic/BasicSliderUI.java
6175         Fix comments.
6176         (ScrollHandler::actionPerformed): Don't
6177         calculate the timer stop value. Let the
6178         MouseListeners find the stop location.
6179         (getPreferredHorizontalSize): Re-implement.
6180         (getPreferredVerticalSize): ditto.
6181         (getMinimumHorizontalSize): ditto.
6182         (getMinimumVerticalSize): ditto.
6183         (getPreferredSize): ditto.
6184         (getMinimumSize): ditto.
6185         (getMaximumSize): ditto.
6186         (paintTicks): Use doubles to find the
6187         tick location.
6188         (paintHorizontalLabel):  Use preferredSize
6189         as initial width and height.
6190         (paintVerticalLabel): ditto.
6192 2004-02-17  Kim Ho  <kho@redhat.com>
6194         * javax/swing/JLabel.java: Changed 
6195         property strings to constants.
6196         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
6197         New property.
6198         (setText): Change mnemonic index if
6199         text is too short.
6200         (setDisplayedMnemonicIndex): Fire property
6201         change event.
6202         (getDisplayedMnemonicIndex): Remove check
6203         against short text.
6205 2004-02-17 Olga Rodimina <rodimina@redhat.com>
6207         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6208         (drawImage(img,xform,obs)): Invert xform before
6209         passing the xform to cairo.
6210         (drawImage(img,x,y,bgcolor,obs)): Implemented.
6211         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
6212         implemented.
6213         (drawImage (img,x,y,w,h,obs)): Implemented.
6214         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
6215         bgcolor,obs)): Partly implemented.
6216         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
6217         Implemented.
6218         * java/awt/image/BufferedImage.java:
6219         (copyData): if dest is null, create raster with same
6220         dimensions as the current image.
6222 2004-02-16  Graydon Hoare  <graydon@redhat.com>
6224         * javax/swing/plaf/basic/BasicLabelUI.java 
6225         (getPreferredSize): Use layoutCL.
6226         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
6227         (getPreferredButtonSize): Start with empty view rect, layout using
6228         component's preferred alignment.
6229         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
6230         List defaults.
6232 2004-02-16  David Jee  <djee@redhat.com>
6234         * java/awt/Component.java
6235         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
6236         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
6237         (move): Erase old bounds and repaint new bounds. Dispatch
6238         COMPONENT_MOVED ComponentEvent.
6239         (resize): Erase old bounds and repaint new bounds. Dispatch
6240         COMPONENT_RESIZED ComponentEvent.
6241         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6242         ComponentEvents.
6243         * java/awt/Window.java
6244         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
6245         ComponentEvents.
6247 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
6249         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
6250         (setRenderingHint): Added implementation of 
6251         Interpolation rendering hints.
6252         (setRenderingHints): Ditto.
6253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6254         (drawPixels): fixed to allow user to choose type 
6255         of filtering that should be used when displaying images.
6256         (cairoSurfaceSetFilter): New method. Sets filter type for 
6257         interpolation of pixel values.
6259 2004-02-16  David Jee  <djee@redhat.com>
6261         * java/awt/GridBagLayout.java
6262         (calcCellSizes): Rows or columns with zero sizes should still be
6263         considered for extra space distribution.
6265 2004-02-16  Kim Ho  <kho@redhat.com>
6267         * javax/swing/JLabel.java: Re-implement.
6268         * javax/swing/plaf/basic/BasicLabelUI.java
6269         Re-implement.
6270         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6271         Added constant.
6273 2004-02-16  Kim Ho  <kho@redhat.com>
6275         * javax/swing/JSlider.java: Fix indentation and comments.
6276         (setModel): Remove null check to conform with Sun's.
6277         (setOrientation): Throw exception if not
6278         HORIZONTAL or VERTICAL.
6279         (getInverted): Use private variable instead of 
6280         ComponentOrientation.
6281         (setInverted): ditto.
6282         * javax/swing/plaf/basic/BasicSliderUI.java:
6283         Fix indentation and comments.
6284         (propertyChange): Remove check for inverted slider, handle
6285         in main paint.
6286         (getMinimumSize): Return preferred size.
6287         (getMaximumSize): ditto.
6288         (calculateFocusRect): Don't relocate rectangle.
6289         (drawInverted): Return XOR of the slider's inversion and 
6290         the component's orientation.
6291         (paint): Update leftToRightCache
6293 2004-02-13  David Jee  <djee@redhat.com>
6295         * java/awt/GridBagLayout.java
6296         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
6297         code to helper methods.
6298         (sortBySpan): New helper method.
6299         (distributeSizeAndWeight): Likewise.
6300         (calcCellWeights): Likewise.
6301         (calcCellSizes): Add comments.
6303 2004-02-13  David Jee  <djee@redhat.com>
6305         * java/awt/Component.java
6306         (show): Only do something if component is invisible at the moment.
6307         (hide): Only do something if component is visible at the moment.
6308         (reshape): If lightweight, erase old bounds and repaint new bounds.
6310 2004-02-13  Kim Ho  <kho@redhat.com>
6312         * Makefile.am: Updated for new file.
6313         * Makefile.in: Regenerated.
6314         * javax/swing/JSlider.java: Reimplement.
6315         * javax/swing/SwingUtilities.java
6316         (layoutCompoundLabel): Use icon height
6317         instead of width.
6318         (paintComponent): Implement.
6319         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6320         Add JSlider defaults.
6321         * javax/swing/plaf/basic/BasicSliderUI.java:
6322         Implement. New file.
6324 2004-03-17  Michael Koch  <konqueror@gmx.de>
6326         * gnu/java/net/PlainDatagramSocketImpl.java
6327         (RECEIVE_LOCK): New member field.
6328         (SEND_LOCK): New member field.
6329         (send0): New method.
6330         (send): Synchronize on SEND_LOCK.
6331         (receive0): New method.
6332         (receive): Synchronize on RECEIVE_LOCK.
6333         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
6334         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
6335         gnu/java/net/natPlainDatagramSocketImplWin32.cc
6336         (send0): Renamed from send.
6337         (receive0): Renamed from receive.
6338 2004-03-17  Michael Koch  <konqueror@gmx.de>
6340         * gnu/java/net/natPlainSocketImplPosix.cc
6341         (write): Just call write(jbyteArray, offset, len).
6342         (read): Just call read(jbyteArray, offset, len).
6344 2004-03-16  Michael Koch  <konqueror@gmx.de>
6346         * javax/swing/JTabbedPane.java
6347         (serialVersionUID): New field.
6349 2004-03-16  Norbert Frese  <postfach@nfrese.net>
6351         * java/net/InetAddress.java
6352         (getByName): Handle hostname == "" case.
6354 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
6356         Reported by: Adam Heath <doogie@debian.org>
6357         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
6358         class loader.
6360 2004-03-15  Michael Koch  <konqueror@gmx.de>
6362         * java/util/Locale.java: Reverting my last patch
6363         and add a comment why the original version was okay.
6365 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
6367         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
6368         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
6369         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
6370         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
6372 2004-03-12  Michael Koch  <konqueror@gmx.de>
6374         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
6376 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
6378         * java/net/URI.java (toURL): Implemented.
6380 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
6382         * java/net/URI.java
6383         (URI_REGEXP) updated to contain scheme specific part.
6384         (SCHEME_SPEC_PART_GROUP) new constant.
6385         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
6386         updated to make room for SCHEME_SPEC_PART_GROUP.
6387         (parseURI) parse scheme specific part.
6388         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
6389         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
6390         getQuery, getFragment) implemented.
6392 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
6394         * libraries/javalib/java/net/URI.java
6395         partially implemented using java.util.regex.
6396         (URI_REGEXP) new constant. Used to parse URIs.
6397         (SCHEME_GROUP) new constant representing index of scheme group
6398         in parsed URI.
6399         (AUTHORITY_GROUP) new constant representing index of authority
6400         group in parsed URI.
6401         (PATH_GROUP) new constant representing index of path group in
6402         parsed URI.
6403         (QUERY_GROUP) new constant representing index of query group in
6404         parsed URI.
6405         (FRAGMENT_GROUP) new constant representing index of fragment
6406         group in parsed URI.
6407         (getURIGroup) new static utility method.
6408         (parseURI) implemented.
6409         (quote) stub for new static utility method.
6410         (quoteAuthority) stub for new static utility method.
6411         (quoteHost) stub for new static utility method.
6412         (quotePath) stub for new static utility method.
6413         (quoteUserInfo) stub for new static utility method.
6414         (URI) implemented.
6415         (create) don't throw URISyntaxException. Implemented.
6416         (toString) implemented.
6418 2004-03-12  Michael Koch  <konqueror@gmx.de>
6420         * java/net/HttpURLConnection.java
6421         (getResponseCode): Fix another typo in javadoc.
6423 2004-03-11  Michael Koch  <konqueror@gmx.de>
6425         * java/util/logging/Level.java
6426         (parse): Use String.equals() instead of ==.
6428 2004-03-11  Michael Koch  <konqueror@gmx.de>
6430         * gnu/java/net/protocol/jar/Connection.java
6431         (getContentLength): New method.
6433 2004-03-11  Michael Koch  <konqueror@gmx.de>
6435         * gnu/java/net/PlainSocketImpl.java:
6436         Reformated to merge better with classpath's version.
6438 2004-03-11  Michael Koch  <konqueror@gmx.de>
6440         * java/util/Locale.java
6441         (getISO3Language): Use String.equals() instead of ==.
6442         (getISO3Country): Likewise.
6444 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
6446         * java/text/AttributedString.java
6447         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
6448         Use HashMap instead of Hashtable since value can be null, and
6449         you can not store a null value in a Hashtable.
6451 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
6453         * java/text/AttributedStringIterator.java
6454         (getAllAttributesKey): Return only keys concerned
6455         by the current iterator.
6456         (getAttributes): Use strict inequality for
6457         end_index. 
6459 2004-03-11  Michael Koch  <konqueror@gmx.de>
6461         * java/net/HttpURLConnection.java:
6462         Fixed typo in javadoc.
6464 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
6466         * java/io/BufferedInputStream.java (marktarget): New field for max
6467         mark limit.
6468         (CHUNKSIZE): New constant for incremental mark buffer allocation.
6469         (mark): Use new fields.
6470         (read): Likewise.
6471         (read(byte[],int,int)): Likewise.
6472         (skip): Likewise.
6473         (refill): Likewise.
6475 2004-03-11  Mark Wielaard  <mark@klomp.org>
6477         * java/beans/BeanDescriptor.java (BeanDescriptor):
6478         Set the FeatureDescriptor programmatic name.
6480 2004-03-11  Michael Koch  <konqueror@gmx.de>
6482         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
6483         This file was was just copied form java/io/natFileDescriptorEcos.cc
6484         and never changed to compile correctly.
6486 2004-03-11  Michael Koch  <konqueror@gmx.de>
6488         * gnu/java/nio/PipeImpl.java
6489         (SourceChannelImpl): Made final.
6490         (read): Implemented.
6491         (SinkChannelImpl): Made final.
6492         (write): Implemented.
6494 2004-03-11  Michael Koch  <konqueror@gmx.de>
6496         * gnu/java/net/PlainDatagramSocketImpl.java:
6497         Reformated to match classpath's version more.
6499 2004-03-11  Michael Koch  <konqueror@gmx.de>
6501         * gnu/java/awt/peer/ClasspathFontPeer.java:
6502         Fixed javadoc to be correct xhtml.
6503         * gnu/java/awt/peer/gtk/GtkArgList.java
6504         (add): Use Boolean.valueOf() instead of new Boolean().
6506 2004-03-09  Michael Koch  <konqueror@gmx.de>
6508         * java/lang/Thread.java
6509         (runnable): Moved around.
6510         (daemon): Renamed from daemon_flag.
6511         (contextClassLoader): Renamed from context_class_loader.
6512         (Thread): Reordered constructors.
6513         (activeCount): Use group directly.
6514         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
6515         (holdsLock): Reworked javadoc.
6516         (setDaemon): Reworked.
6517         * java/lang/natThread.cc
6518         (destroy): Removed.
6520 2004-03-08  Anthony Green  <green@redhat.com>
6522         * Makefile.am: Build property resource files into libgcj.
6523         * Makefile.in: Rebuilt.
6524         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
6525         java/util/regex/PatternSyntaxException.java,
6526         gnu/regexp/CharIndexed.java,
6527         gnu/regexp/CharIndexedCharArray.java,
6528         gnu/regexp/CharIndexedInputStream.java,
6529         gnu/regexp/CharIndexedReader.java,
6530         gnu/regexp/CharIndexedString.java,
6531         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
6532         gnu/regexp/REException.java,
6533         gnu/regexp/REFilterInputStream.java,
6534         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
6535         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
6536         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
6537         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
6538         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
6539         gnu/regexp/RETokenLookAhead.java,
6540         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
6541         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
6542         gnu/regexp/RETokenStart.java,
6543         gnu/regexp/RETokenWordBoundary.java,
6544         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
6546 2004-03-03  Per Bothner  <per@bothner.com>
6548         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
6549         Optimize when argument is a FileChannelImpl.
6550         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
6551         New native methods.
6552         * java/nio/channels/natChannels.cc:  New file for new native methods.
6553         * Makefile.am:  Update accordingly.
6555 2004-03-02  Jan Hubicka  <jh@suse.cz>
6557         * configure.host: Pass -fno-omit-frame-pointer for i386.
6558         * configure.in: Likewise.
6559         * configure: Regenerate.
6561 2004-03-01  Per Bothner  <per@bothner.com>
6563         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
6565 2004-02-29  Per Bothner  <per@bothner.com>
6567         * java/nio/channels/FileChannelImpl.java:  Moved to package
6568         gnu/java/nio/channels, since we need to refer to it from java.io.
6569         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
6570         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
6571         from java/nio/channels.  Don't depend on FileDescriptor.
6572         (in, out, err):  New static fields.
6573         (mode):  New field.
6574         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
6575         from FileDescriptor.
6576         (by):  Removed MappedByteBuffer field.
6577         (map):  New working implementation.
6578         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
6579         some code "ported" from natFileDescriptoPosix.cc.
6580         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
6581         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
6582         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
6583         Remove native methods.
6584         * Makefile.am, configure.in:  Updated accordingly.
6586         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
6587         (ch):  New FileChannelImpl field.  Update constructor to match.
6588         (releaseImpl):  Remove native method.  Instead ...
6589         (release):  Call unlock on channel.
6590         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
6592         * java/io/natFileDescriptorEcos.cc:  Remove file.
6593         * java/io/natFileDescriptorPosix.cc:  Remove file.
6594         * java/io/natFileDescriptorWin32.cc:  Remove file.
6595         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
6596         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
6597         (<init>(FileChannelImpl)):  New package-private constructor.
6598         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
6599         (available, close, read, skip):  Implement using FileChannelImpl.
6600         (getFD):  Allocate FileDescriptor if needed.
6601         (getChannel):  Is now trivial.
6602         * java/io/FileOutputStream.java:  Corresponding changes.
6603         * java/io/RandomAccessFile.java:  Corresponding changes.
6605         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
6606         unmapImpl):  New dummy methods, to be overridden by subclass.
6607         (finalize, isLoaded, load, force):  New methods.
6608         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
6609         Now works, at least for read mapping.
6611         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
6612         streams using FileChannelImpl, not FileDescriptor.
6613         * java/lang/natWin32Process.cc (startProcess):  Likewise.
6615 2004-02-28  Michael Koch  <konqueror@gmx.de>
6617         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
6618         wrong code.
6620 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
6622         * java/io/ObjectInputStream.java
6623         (readClassDescriptor): Keep elements of the mapping non null.
6624         (checkTypeConsistency): New method.
6625         (readFields): Fixed main loop and base logic. Small reindentation.
6626         * java/io/ObjectStreamField.java
6627         (lookupField): New method to update the field reference.
6628         (checkFieldType): New method.
6629         * java/io/ObjectStreamClass.java
6630         (setClass, setFields): Call lookupField when building the field
6631         database. Check the real field type.
6633 2004-02-28  Michael Koch  <konqueror@gmx.de>
6635         * java/nio/ByteOrder.java
6636         (nativeOrder): Use equals() to compare strings.
6638 2004-02-26  Michael Koch  <konqueror@gmx.de>
6640         * gnu/java/nio/FileLockImpl.java
6641         (finalize): Made protected.
6642         * java/nio/channels/FileChannel.java
6643         (MapMode.READ_ONLY): Made final.
6644         (MapMode.READ_WRITE): Made final.
6645         (MapMode.PRIVATE): Made final.
6646         * java/nio/channels/SocketChannel.java
6647         (open): Simplified code.
6648         * java/nio/channels/spi/AbstractSelectableChannel.java
6649         (registered): Unused, removed.
6650         (keyFor): Check channel is open, only locate key
6651         and not add a new one.
6652         (register): Don't delete attachments.
6654 2004-02-26  Michael Koch  <konqueror@gmx.de>
6656         * gnu/java/awt/ComponentDataBlitOp.java
6657         (INSTANCE): Made final.
6658         * gnu/java/awt/image/ImageDecoder.java:
6659         Reworked imports.
6660         (cm): Unused, removed.
6662 2004-02-26  Michael Koch  <konqueror@gmx.de>
6664         * gnu/java/nio/DatagramChannelImpl.java
6665         (send): Check if target address is resolved.
6667 2004-02-26  Michael Koch  <konqueror@gmx.de>
6669         * Makefile.am: Generate and install headers for inner classes in
6670         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
6671         * Makefile.in: Regenerated.
6673 2004-02-24  Anthony Green  <green@redhat.com>
6675         * java/lang/StringBuffer.java: No need to NULL out remainder of
6676         buffer since ensureCapacity_unsynchronized will have done this for
6677         us.
6679 2004-02-20  Michael Koch  <konqueror@gmx.de>
6681         * gnu/java/net/protocol/jar/Handler.java
6682         (): Removed unneeded check for file != null. java.net.URL.getFile()
6683         returns an empty string but never null.
6685 2004-02-20  Michael Koch  <konqueror@gmx.de>
6687         * gnu/gcj/convert/Convert.java
6688         (main): Use equals() to compare strings.
6690 2004-02-20  Michael Koch  <konqueror@gmx.de>
6692         * javax/swing/AbstractButton.java: Made several constants final.
6693         (getRolloverSelectedIcon): Made public.
6694         (getSelectedIcon): Made public.
6696 2004-02-16  Per Bothner  <per@bothner.com>
6698         * java/nio/CharBufferImpl.java:  Inline super constructor.
6699         * java/nio/DoubleBufferImpl.java:  Likewise.
6700         * java/nio/FloatBufferImpl.java:  Likewise.
6701         * java/nio/IntBufferImpl.java:  Likewise.
6702         * java/nio/LongBufferImpl.java:  Likewise.
6703         * java/nio/ShortBufferImpl.java:  Likewise.
6704         * java/nio/CharBuffer.java:  Remove unused constructor.
6705         * java/nio/DoubleBuffer.java:  Likewise.
6706         * java/nio/FloatBuffer.java:  Likewise.
6707         * java/nio/IntBuffer.java:  Likewise.
6708         * java/nio/LongBuffer.java:  Likewise.
6709         * java/nio/ShortBuffer.java:  Likewise.
6710         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
6711         Fix buggy call to super constructor.
6712         * java/nio/DoubleViewBufferImpl.java:  Likewise.
6713         * java/nio/FloatViewBufferImpl.java:  Likewise.
6714         * java/nio/IntViewBufferImpl.java:  Likewise.
6715         * java/nio/LongViewBufferImpl.java:  Likewise.
6716         * java/nio/ShortViewBufferImpl.java:  Likewise.
6717         
6718         * java/nio/ByteBuffer.java (endian):  Make non-private so other
6719         java.nio classes can inherit it.
6720         (<init>):  Don't bother clearing array_offset.
6721         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
6722         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
6723         Remove redundant test.
6725         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
6726         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
6727         Use new XxxViewBufferImpl constructors.
6728         * java/nio/MappedByteBufferImpl.java:  Likewise.
6729         * java/nio/DirectByteBufferImpl.java:  Likewise.
6731         * java/nio/ByteBufferImpl.java:  Remove one constructor.
6732         Inline super in remaining constructor.
6733         * java/nio/ByteBuffer.java:  Remove unused constructor.
6735         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
6737         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
6738         * java/nio/DirectByteBufferImpl.java (owner):  New field.
6739         (offset):  Remove unused field.
6740         (<init>):  Modify one and add another constructor.  Change callers.
6741         (allocateDirect):  Removed - not used.
6742         (getImpl, putImpl):  Make static and pass address explicitly,
6743         to make them useful for MappedByteBufferImpl.
6744         (get, put):  Check for underflow.  Modify for new getImpl.
6745         (getImpl):  New native method where target is array.
6746         (get(byte[],int,int)):  Use the above.
6747         (adjustAddress):  New static native method.
6748         (slice, duplicate, asReadOnly):  New implementations.
6749         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
6750         adjustAddress):  New or updated native methods.
6752 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6754         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
6755         overflow of fieldmapping.
6757 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
6759         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6761 2004-02-14  Per Bothner  <per@bothner.com>
6763         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
6764         Set closed before calling implCloseChannel, as in the spec.
6766 2004-02-09  Graydon Hoare  <graydon@redhat.com>
6768         * javax/swing/ToggleButtonModel.java: Remove dead class.
6769         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
6770         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
6771         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
6772         * Makefile.am: Update for new and removed files.
6773         * Makefile.in: Regenerate.
6775         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
6776         * javax/swing/AbstractButton.java 
6777         (AbstractButton): Initialize fields correctly in ctor.
6778         * javax/swing/JCheckbox.java 
6779         (JCheckBox): Override painting flags.
6780         * javax/swing/DefaultButtonModel.java: Conform to sun.
6781         * javax/swing/JComponent.java (paint): Fill with background color
6782         if available.
6783         (processComponentKeyEvent)
6784         (processFocusEvent)
6785         (processKeyEvent)
6786         (processMouseMotionEvent): Remove event-consuming empty methods.
6787         (getUIClassID): Return "ComponentUI" not "JComponent"
6788         * javax/swing/JFrame.java: Remove some debugging chatter.
6789         (JFrame): Subscribe to window events.
6790         * javax/swing/JRadioButton.java 
6791         (JRadioButton): Override painting flags.
6792         * javax/swing/JRootPane.java 
6793         (JRootPane): Set background from UIDefaults.
6794         * javax/swing/JToggleButton.java 
6795         (ToggleButtonModel): New inner class.
6796         (JToggleButton): Override layout alighment.
6797         * javax/swing/SwingUtilities.java:
6798         (getLocalBounds): Return width and height, not x and y.
6799         (calculateInnerArea): Use local bounds, not bounds.
6800         (layoutCompoundLabel): Provide overridden form.
6801         (layoutCompoundLabel): Correct bugs.
6802         * javax/swing/UIDefaults.java: Correct comment.
6803         * javax/swing/plaf/basic/BasicButtonUI.java: 
6804         Move most logic into defaults, external listener.
6805         (paintIcon): Implement icon painting.
6806         (paint): Fix state painting to conform to changes in model.
6807         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
6808         Remove most dead/wrong methods.
6809         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
6810         * javax/swing/plaf/basic/BasicIconFactory.java:
6811         (DummyIcon): New class.
6812         (getMenuItemCheckIcon)
6813         (getMenuItemArrowIcon) 
6814         (getMenuArrowIcon)
6815         (getCheckBoxMenuItemIcon)
6816         (getRadioButtonMenuItemIcon)
6817         (createEmptyFrameIcon): Return DummyIcons, not null.
6818         (getCheckBoxIcon): Implement an icon that looks like sun's.
6819         (getRadioButtonIcon): Implement an icon that looks like sun's.
6820         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6821         (initComponentDefaults): Fix impossible values, add some missing.
6822         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
6823         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
6824         Remove most dead/wrong methods.
6825         (icon): New field.
6826         (getDefaultIcon): New method.
6827         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
6828         Remove most dead/wrong methods.
6829         * javax/swing/plaf/metal/MetalLookAndFeel.java
6830         (getDefaults): Return super.getDefaults(), not BasicDefaults.
6831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6832         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
6833         Implement "clearing" as drawing, when on pixmap drawables.
6835         * javax/swing/JButton.java (getUIClassID): 
6836         * javax/swing/JCheckBox.java (getUIClassID):
6837         * javax/swing/JEditorPane.java (getUIClassID):
6838         * javax/swing/JLabel.java (getUIClassID): 
6839         * javax/swing/JList.java (getUIClassID): 
6840         * javax/swing/JOptionPane.java (getUIClassID): 
6841         * javax/swing/JPanel.java (getUIClassID): 
6842         * javax/swing/JPasswordField.java (uiClassID): 
6843         * javax/swing/JRadioButton.java (getUIClassID): 
6844         * javax/swing/JRootPane.java (getUIClassID): 
6845         * javax/swing/JScrollPane.java (getUIClassID): 
6846         * javax/swing/JTabbedPane.java (getUIClassID): 
6847         * javax/swing/JToggleButton.java (getUIClassID): 
6848         * javax/swing/JTree.java (getUIClassID): 
6849         * javax/swing/JViewport.java (getUIClassID): 
6850         * javax/swing/text/JTextComponent.java (getUIClassID):
6851         Return "fooUI" not "Jfoo"
6853 2004-02-11  Michael Koch  <konqueror@gmx.de>
6855         * java/net/DatagramSocket.java
6856         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
6857         Boolean object.
6858         (setBroadcast): Likewise.
6859         * java/net/MulticastSocket.java
6860         (setLoopbackMode): Likewise.
6861         * java/net/ServerSocket.java
6862         (setReuseAddress): Likewise.
6863         * java/net/Socket.java
6864         (setTcpNoDelay): Likewise.
6865         (setSoLinger): Likewise.
6866         (setOOBInline): Likewise.
6867         (setKeepAlive): Likewise.
6868         (setReuseAddress): Likewise.
6869         * java/net/URLConnection.java
6870         (setContentHandler): Replace == with equals().
6871         * java/net/URLStreamHandler.java
6872         (hostSEquals): Fix checking host addresses.
6873         (toExternalForm): Dont check protocol for null. We know already its
6874         not null.
6876 2004-02-10  David Jee  <djee@redhat.com>
6878         * java/awt/BorderLayout.java
6879         (calcCompSize): Invisible components get zero dimensions.
6880         * java/awt/Button.java
6881         (setLabel): Set actionCommand.
6882         * java/awt/Component.java
6883         (show): Invalidate component and parent container.
6884         (hide): Likewise.
6886 2004-02-10  David Jee  <djee@redhat.com>
6888         * java/awt/GridBagLayout.java
6889         (GridBagLayout): New private field, internalcomptable.
6890         (lookupInternalConstraints): New method.
6891         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
6892         (GetLayoutInfo): Reimplement.
6893         (calcCellSizes): Ignore rows/columns with size 0.
6895 2004-02-10  Michael Koch  <konqueror@gmx.de>
6897         * gnu/java/awt/EmbeddedWindow.java
6898         (setHandle): Use java.awt.Component.getPeer() instead of
6899         java.awt.Component.peer directly.
6901 2004-02-10  David Jee  <djee@redhat.com>
6903         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
6904         (gtkSetLabel): New native method definition.
6905         (setLabel): Use gtkSetLabel.
6906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6907         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
6909 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
6911         * include/powerpc-signal.h: Revert 2004-01-21 change.
6912         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
6913         from syscall for ppc32 versions.
6915 2004-02-08  Per Bothner  <per@bothner.com>
6917         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
6918         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
6919         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
6920         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
6921         Pass ByteOrder parameter to most methods, since the underlying
6922         ByteBuffer's order isn't always what we should use.
6923         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
6924         * java/nio/DirectByteBufferImpl.java:  Likewise.
6925         Use ByteBufferHelper methods.
6926         * java/nio/MappedByteBufferImpl.java:  Likewise.
6927         (compact):  Use shiftDown.
6928         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
6929         (get, put):  Use ByteBufferHelper.
6930         (compact):  Use new shiftDown method.
6931         (duplicate(boolean)):  New helper method.
6932         (duplicate, asReadOnlyBuffer):  Use it.
6933         (order):  Return endian field.
6934         * java/nio/DoubleViewBufferImpl.java:  Likewise.
6935         * java/nio/FloatViewBufferImpl.java:  Likewise.
6936         * java/nio/IntViewBufferImpl.java:  Likewise.
6937         * java/nio/LongViewBufferImpl.java:  Likewise.
6938         * java/nio/ShortViewBufferImpl.java:  Likewise.
6939         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
6940         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
6941         (compact):  Re-implement using shiftDown.
6943 2004-02-08  Andreas Jaeger  <aj@suse.de>
6945         * include/x86_64-signal.h: Fix typo.
6947 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
6949         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
6950         qualifier to _regs.
6951         (HANDLE_DIVIDE_OVERFLOW): Likewise.
6953 2004-02-06  Michael Koch  <konqueror@gmx.de>
6955         * java/io/ObjectInputStream.java
6956         (currentClassLoader): Reverted to old version of this method.
6958 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
6960         * java/io/ObjectInputStream.java: Made all calls
6961         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
6962         use cached info from ObjectStreamClass. (readClassDescriptor):
6963         Cache more information in ObjectStreamClass. (processResolution,
6964         readFields): Use cached info from ObjectStreamClass.
6965         (newObject): Throw exception instead of returning null for failure.
6966         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
6967         setCharField, setDoubleField, setFloatField, setIntField,
6968         setLongField, setShortField, setObjectField, readObjectParams):
6969         Removed. (dumpElement, dumpElementln): Removed dump flag condition
6970         check.
6971         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
6972         (setClass): Added call to cacheMethods() (findMethod): New method.
6973         (cacheMethods): New method. (ObjectStreamClass): Added call to
6974         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
6975         AccessController.doPrivileged to invoke setAccessible.
6976         (readObjectMethod, readResolveMethod, realClassIsSerializable,
6977         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
6978         New fields.
6979         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
6980         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
6981         isPrimitive): Made safe for cases where type == null.
6982         (setBooleanField, setByteField, setCharField, setShortField,
6983         setIntField, setLongField, setFloatField, setDoubleField,
6984         setObjectField): New methods.
6986 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
6988         * java/awt/Component.java (getFont): Return a default font
6989         instead of null.
6991         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
6992         (Scrollbar (int, int, int, int, int)): Make default page
6993         increment 10.
6994         (setValues): Only call peer.setValues if one of the values has
6995         changed.
6996         (generateName): New method.
6997         (getUniqueLong): New method.
6998         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6999         (range_scrollbar): Remove structure.
7000         (post_adjustment_event): Remove function.
7001         (post_change_event): Accept jobject argument.
7002         (create): Cast jints to gdoubles.  Round scrollbar values to the
7003         nearest integer.  Clamp min, max and value settings.
7004         (connectJObject): Connect hook to widget->window.
7005         (connectSignals): Remove range_scrollbar structure variables.
7006         Remove "move-slider" connection.  Pass global peer reference to
7007         "value-changed" callback.
7008         (setLineIncrement): Cast jint value to gdouble.
7009         (setPageIncrement): Likewise.
7010         (setValues): Likewise.  Clamp min, max and value settings.
7012 2004-02-05  Michael Koch  <konqueror@gmx.de>
7014         * javax/swing/AbstractCellEditor.java
7015         (getCellEditorValue): Removed.
7016         * javax/swing/Box.java: Reformated.
7017         (serialVersionUID): New field.
7018         * javax/swing/ButtonGroup.java:
7019         Removed some weird whitespace.
7020         * javax/swing/CellEditor.java: Reformated.
7021         * javax/swing/CellRendererPane.java
7022         (serialVersionUID): New field.
7023         (AccessibleCellRendererPaneserialVersionUID): New field.
7024         * javax/swing/DefaultListModel.java
7025         (serialVersionUID): New field.
7026         * javax/swing/JEditorPane.java
7027         (serialVersionUID): New field.
7028         (setPage): Throws IOException.
7029         (addHyperlinkListener): Implemented.
7030         (removeHyperlinkListener): Implemented.
7031         (getHyperlinkListener): New method.
7032         * javax/swing/JFileChooser.java
7033         (serialVersionUID): New field.
7034         (AccessibleJFileChooser.serialVersionUID): New field.
7035         (addActionListener): Implemented.
7036         (removeActionListener): Implemented.
7037         (getActionListeners): New method.
7038         * javax/swing/JFormattedTextField.java
7039         (serialVersionUID): New field.
7040         (AbstractFormatter.serialVersionUID): New field.
7041         (clone): Throws CloneNotSupportedException
7042         (setEditValid): Add missing argument.
7043         (stringToValue): Throws ParseExcpetion.
7044         (valueToString): Throws ParseException.
7045         (commitEdit): Throws ParseException.
7046         * javax/swing/JLabel.java
7047         (serialVersionUID): New field.
7048         * javax/swing/JList.java
7049         (serialVersionUID): New field.
7050         (addListSelectionListener): Reformated.
7051         (removeListSelectionListener): Reformated.
7052         (getListSelectionListeners): New method.
7053         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
7054         Reformated.
7055         (serialVersionUID): New field.
7056         * javax/swing/table/AbstractTableModel.java
7057         (getValueAt): Removed.
7058         (getColumnCount): Removed.
7059         (getRowCount): Removed.
7061 2004-02-05  Michael Koch  <konqueror@gmx.de>
7063         * java/awt/datatransfer/DataFlavor.java
7064         (imageFlavor): Javadoc added.
7065         (javaJVMLocalObjectType): Fixed.
7067 2004-02-05  Michael Koch  <konqueror@gmx.de>
7069         * java/lang/Thread.java
7070         (Thread): Reordered.
7071         (setContextClassLoader): Fixed javadoc comment.
7072         (setPriority): Reordered.
7073         (yield): Reordered.
7074         (initialize_native): Reordered.
7075         (gen_name): Reordered.
7077 2004-02-05  Michael Koch  <konqueror@gmx.de>
7079         * java/lang/Thread.java: Reordered fields, reformated much code,
7080         no functional changes, some variables renamed, javadoc comments
7081         merged.
7083 2004-02-05  Michael Koch  <konqueror@gmx.de>
7085         * java/util/zip/Deflater.java,
7086         java/util/zip/DeflaterOutputStream.java,
7087         java/util/zip/GZIPInputStream.java:
7088         Reformated and javadoc comments merged from classpath.
7090 2004-02-05  Michael Koch  <konqueror@gmx.de>
7092         * gnu/java/nio/NIOServerSocket.java
7093         (impl): Unused, removed.
7094         * gnu/java/nio/SocketChannelImpl.java
7095         (finnishConnect): Don't throw NoConnectionPendingException if not
7096         connected or no connection pending.
7098 2004-02-02  Graydon Hoare  <graydon@redhat.com>
7100         * javax/swing/SwingUtilities.java: Many new functions.
7101         * java/awt/Container.java (LightweightDispatcher): Reimplement.
7102         * javax/swing/basic/BasicGraphicsUtils.java 
7103         (getPreferredButtonSize): Start layout from top-left corner.
7105 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
7107         * java/awt/geom/AffineTransform.java: 
7108         Corrected comments on the field definitions for
7109         m11 and m10.
7110         (shear): Fixed few errors that caused shear
7111         transformation to be performed incorrectly.
7112         (createInverse): Fixed to return correct
7113         inverse of the given matrix.
7115 2004-02-03  Tom Tromey  <tromey@redhat.com>
7117         * java/lang/natPosixProcess.cc (startProcess): Handle case where
7118         PATH or LD_LIBRARY_PATH is not set in parent environment.
7120 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
7122         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7123         java/awt/BorderLayout.java, java/awt/CardLayout.java,
7124         java/awt/CheckboxGroup.java, java/awt/Choice.java,
7125         java/awt/Component.java, java/awt/Container.java,
7126         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
7127         java/awt/LayoutManager2.java, java/awt/List.java,
7128         java/awt/Menu.java, java/awt/MenuBar.java,
7129         java/awt/MenuItem.java, java/awt/Polygon.java,
7130         java/awt/Rectangle.java, java/awt/ScrollPane.java,
7131         java/awt/Scrollbar.java, java/awt/TextArea.java,
7132         java/awt/TextField.java,
7133         java/awt/image/renderable/RenderContext.java,
7134         javax/swing/JApplet.java: Fix handling of alias methods, where a
7135         method has been deprecated in favour of a new one with the same
7136         funtion but a different name.  Put the method implementation in
7137         the deprecated method and have the new method call the
7138         deprecated one.  Make all other code call the new method.
7140 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
7142         * gnu/java/nio/DatagramChannelImpl.java
7143         (inChannelOperation): New field.
7144         (isInChannelOperation): New accessor.
7145         (setInChannelOperation): New modifier.
7146         (receive): Use capacity() - position() of destination
7147         buffer instead of remaining(). Set and reset our "in
7148         channel operation indicator" before and after delegating
7149         the receive to our datagram socket. Removed testing code.
7150         Update destination buffer's current position if it is
7151         backed by a byte array (hasArray() is true).
7152         (send): Set and reset our "in channel operation indicator"
7153         before and after delegating the send to our datagram socket.
7154         Removed testing code. Update source buffer's current position
7155         if it is backed by a byte array (hasArray() is true).
7156         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
7157         Use capacity() - position() of destination buffer instead
7158         of remaining().
7159         * java/net/DatagramSocket.java (receive): Don't throw an
7160         IllegalBlockingModeException if we have a non-blocking
7161         channel which initiated this operation.
7162         (send): Likewise.
7164 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
7166         * configure.in: Add pkgconfig check for glib and gthread.
7167         * configure: Regenerate.
7169 2004-02-01  Michael Koch  <konqueror@gmx.de>
7171         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
7172         arguments.
7173         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
7174         * verify.cc (debug_print): Mark 'fmt' unused.
7176 2004-01-30  Michael Koch  <konqueror@gmx.de>
7178         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
7179         * configure: Regenerated.
7180         * glib-2.0.m4: Removed.
7181         * gtk-2.0.m4: Removed.
7182         * libart.m4: Removed.
7183         * pkg.m4: New file.
7185 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
7187         * gnu/java/net/PlainSocketImpl.java 
7188         (inChannelOperation): New field.
7189         (isInChannelOperation): New accessor.
7190         (setInChannelOperation): New modifier.
7191         * gnu/java/nio/ServerSocketChannelImpl.java
7192         (accept): Set and reset our server socket's PlainSocketImpl's
7193         "in channel operation" indicator before and after delegating
7194         the accept to our server socket.
7195         * gnu/java/nio/SocketChannelImpl.java
7196         (connect): Set and reset our socket's PlainSocketImpl's "in channel
7197         operation" indicator before and after delegating the operation to
7198         our socket.
7199         (read): Likewise.
7200         (write): Likewise.
7201         * java/net/ServerSocket.java (implAccept): Don't throw an
7202         IllegalBlockingModeException if we have a non-blocking
7203         channel which initiated this accept operation.
7204         * java/net/Socket.java (connect): Don't throw an
7205         IllegalBlockingModeException if we have a non-blocking
7206         channel which initiated this connect operation.
7207         * java/nio/channels/spi/AbstractSelectableChannel.java
7208         (configureBlocking): Only call implConfigureBlocking() if
7209         the desired blocking mode is different from our current one.
7211 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
7213         * java/io/BufferedReader.java (sbuf): New field.
7214         (readLine): Use String.valueOf instead of new String() as per
7215         Per Bothner's suggestion. Use instance sbuf field instead of a
7216         local StringBuffer instance.
7217         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
7218         caller's buffer to refill().
7219         (read(void)): Pass our internal work buffer to refill if our
7220         input queue is empty.
7221         (refill): Changed return type to int. Use the specified buffer
7222         instead of our work buffer as per Bryce McKinlay's suggestion.
7223         Return the number of characters read or -1 for EOF.
7225 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
7227         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
7229 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
7231         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
7232         * Makefile.in: Re-generated.
7233         * gnu/awt/xlib/XFontPeer.java: New file.
7234         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
7235         (setClip): Commented out debug printout.
7236         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
7237         (getFontPeer): Return XFontPeer.
7238         (getLocalGraphicsEnvironment): New method.
7239         (getClasspathFontPeer): New method.
7240         (createFont): New method.
7242 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
7244         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
7245         return null. 
7247 2004-01-29  Kim Ho  <kho@redhat.com>
7249         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7250         (gtkLayoutSetVisible): New method
7251         (setMenuBar): Hide layout before setting MenuBar
7252         and reshow it after.
7253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7254         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
7256 2004-01-28  Michael Koch  <konqueror@gmx.de>
7258         * gnu/java/lang/ClassHelper.java
7259         (getPackagePortion): Removed.
7261 2004-01-28  Michael Koch  <konqueror@gmx.de>
7263         * javax/swing/JComponent.java
7264         (listenerList): Initalize globally.
7265         (ancestor_list): Removed.
7266         (veto_list): Removed.
7267         (change_list): Removed.
7268         (get_veto_list): Removed.
7269         (get_change_list): Removed.
7270         (get_ancestor_list): Removed.
7271         (removeAncestorListener): Reimplemented.
7272         (removePropertyChangeListener): Likewise.
7273         (removeVetoableChangeListener): Likewise.
7274         (addAncestorListener): Likewise.
7275         (addPropertyChangeListener): Likewise.
7276         (addVetoableChangeListener): Likewise.
7277         (getListeners): New method.
7278         (getAncestorListeners): Likewise.
7279         (getVetoableChangeListeners): Likewise.
7280         (fireVetoableChange): Throws PropertyVetoException.
7281         * javax/swing/JEditorPane.java
7282         (JEditorPane): Throws IOException.
7284 2004-01-28  David Jee  <djee@redhat.com>
7286         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7287         (create): Set the default foreground color to
7288         java.awt.SystemColor.windowText.
7290 2004-01-27  Michael Koch  <konqueror@gmx.de>
7292         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
7293         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7294         Reindented to merge with classpath.
7296 2004-01-27  David Jee  <djee@redhat.com>
7298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7299         (addExposeFilter): Handle GtkFramePeer separately.
7300         (removeExposeFilter): Likewise.
7302 2004-01-27  Michael Koch  <konqueror@gmx.de>
7304         * gnu/java/net/protocol/http/Connection.java
7305         (getOutputStream): Fixed typo.
7307 2004-01-27  Michael Koch  <konqueror@gmx.de>
7309         * java/lang/Class.java
7310         (getConstructor): Removed SecurityException from throws clause.
7311         (_getConstructors): Likewise.
7312         (getConstructors): Likewise.
7313         (getDeclaredConstructor): Likewise.
7314         (getDeclaredClasses): Likewise.
7315         (getDeclaredConstructors): Likewise.
7316         (getDeclaredField): Likewise.
7317         (getDeclaredMethod): Likewise.
7318         (getDeclaredMethods): Likewise.
7319         (getField): Likewise.
7320         (getMethod): Likewise.
7321         (getMethods): Likewise.
7323 2004-01-27  Kim Ho  <kho@redhat.com>
7325         * gnu/java/awt/peer/gtk/GtkFramePeer.java
7326         (removeMenuBarPeer): Remove MenuBarPeer argument.
7327         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7328         (dispose): Call native method.
7329         * java/awt/Frame.java (setMenuBar): Create and remove
7330         MenuBar peers only if the Frame has a peer.
7331         (addNotify): Create the MenuBar peer if one exists.
7332         (removeNotify): Remove MenuBar peer if one exists.
7333         * java/awt/Menu.java: Fix imports.
7334         (addNotify): Don't use full class name.
7335         (removeNotify): Call removeNotify on all children.
7336         * java/awt/MenuBar.java (removeNotify): Call
7337         removeNotify on all children.
7338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7339         (removeMenuBarPeer): Remove MenuBarPeer argument.
7340         Iterate through children to find the Frame's MenuBar.
7341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
7342         New file.
7343         (dispose): Remove references to the MenuComponent.
7345 2004-01-27  Michael Koch  <konqueror@gmx.de>
7347         * javax/swing/AbstractCellEditor.java: Reformated.
7348         * javax/swing/DefaultListSelectionModel.java
7349         (listenerList): Made protected.
7350         (addListSelectionListener): Javadoc added.
7351         (removeListSelectionListener): Likewise.
7352         (getListeners): Likewise.
7353         (getListSelectionListeners): Likewise.
7354         * javax/swing/JComboBox.java: Merged copyright year.
7355         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
7357 2004-01-26  Andrew Haley  <aph@redhat.com>
7359         * javax/swing/table/JTableHeader.java: Extend JComponent
7361 2004-01-26  Kim Ho  <kho@redhat.com>
7363         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
7364         Fix spacing.
7366 2004-01-26  Kim Ho  <kho@redhat.com>
7368         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
7369         method.
7370         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
7371         height and let the Layout Managers readjust anything that
7372         needs to move.
7373         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7374         (moveLayout): New method. Shift everything in the Gtk
7375         layout in the Y direction by an offset.
7377 2004-01-26  David Jee  <djee@redhat.com>
7379         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7380         (handleEvent): Implemented. Handles PaintEvents.
7381         (paint): Implemented. Use GTK native methods to queue updates
7382         for this heavyweight peer.
7383         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
7384         (handleEvent): Removed.
7385         * java/awt/Component.java
7386         (paint): Implemented. Explictly paint the heavyweight peer.
7387         (update): Clear the background for heavyweight components.
7388         (paintAll): No need to call peer.paint() anymore.
7389         (processEvent): Don't process PaintEvents here. It's now done in
7390         the peer's handleEvent().
7391         (processPaintEvent): Removed.
7392         * java/awt/Container.java
7393         (paint): No need to call super.paint(). Visit heavyweight
7394         children as well.
7395         (update): Don't clear the background here.  It's done in
7396         Component.update().
7397         (visitChildren): Added check to not recurse into Containers.
7398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7399         (filter_expose_event_handler): New method.  Filter unwanted
7400         expose events while painting heavyweight peers.
7401         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
7402         New method. Connect filter and block pre_event_handler.
7403         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
7404         New method. Disconnect filter and unblock pre_event_handler.
7405         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
7406         New method. Invalidate and update given area.
7407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7408         (pre_event_handler): Add checks for unwanted expose events.
7410 2004-01-26  David Jee  <djee@redhat.com>
7412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7413         (find_bg_color_widget): For GtkButton, return its child.
7415 2004-01-26  Kim Ho  <kho@redhat.com>
7417         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
7418         private.
7419         (setMenuBar): Grab MenuBar height and change insets.
7420         (setBounds): Account for MenuBar height.
7421         (postInsetsChangedEvent): Ditto.
7422         (postSizeAllocateEvent): Remove.
7423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7424         (menubar_resize_cb): Remove
7425         (setMenuBarPeer): Remove callback.
7426         (getMenuBarHeight): Use size requisition instead of
7427         allocation.
7429 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
7431         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
7432         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
7433         when peer is null.
7434         (setColumns): Remove FIXME -- peer will retrieve number of
7435         columns by calling getColumns.
7436         (setRows): Likewise for number of rows.
7437         (next_text_number): New field.
7438         (paramString): Fix param string.
7439         (generateName): New method.
7440         (getUniqueLong): New method.
7442 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
7444         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
7445         image observer of image loading status.
7446         (getImage (String)): Start image production.
7447         (getImage (URL)): Likewise.
7449 2004-01-25  Michael Koch  <konqueror@gmx.de>
7451         * java/lang/Class.java: Imports reworked, reformated.
7452         (Class): Javadoc added.
7453         (forName): Likewise.
7454         (getClasses): Likewise.
7455         (getClassLoader): Likewise.
7456         (getComponentType): Likewise.
7457         (getConstructor): Likewise.
7458         (getConstructors): Likewise.
7459         (getDeclaredConstructor): Likewise.
7460         (getDeclaredClasses): Likewise.
7461         (getDeclaredConstructors): Likewise.
7462         (getDeclaredField): Likewise.
7463         (getDeclaredMethod): Likewise.
7464         (getDeclaredMethods): Likewise.
7465         (getDeclaringClass): Likewise.
7466         (getField): Likewise.
7467         (getInterfaces): Likewise.
7468         (getMethod): Likewise.
7469         (getMethods): Likewise.
7470         (getModifiers): Likewise.
7471         (getName): Likewise.
7472         (getResource): Likewise.
7473         (getResourceAsStream): Likewise.
7474         (getSigners): Likewise.
7475         (setSigners): Likewise.
7476         (getSuperclass): Likewise.
7477         (isArray): Likewise.
7478         (isAssignableFrom): Likewise.
7479         (isInstance): Likewise.
7480         (isInterface): Likewise.
7481         (isPrimitive): Likewise.
7482         (newInstance): Likewise.
7483         (getProtectionDomain): Likewise.
7484         (toString): Likewise.
7485         (Class): Moved.
7486         (initializeClass): Likewise.
7487         (finalize): Likewise.
7489 2004-01-24  Michael Koch  <konqueror@gmx.de>
7491         * gnu/java/net/protocol/jar/Connection.java
7492         (hdrHash): Removed.
7493         (hdrVec): Removed.
7494         (gotHeaders): Removed.
7495         (getHeaderField): Removed.
7496         (getHeaderFields): Removed.
7497         (getHeaderFieldKey): Removed.
7498         (getKey): Removed.
7499         (getField): Removed.
7500         (getHeaders): Removed.
7502 2004-01-24  Michael Koch  <konqueror@gmx.de>
7504         * Makefile.am: Added library version to gtk peer lib.
7505         * Makefile.in: Regenerated.
7507 2004-01-24  Michael Koch  <konqueror@gmx.de>
7509         * java/util/zip/InflaterInputStream.java: Merged class documentation
7510         with classpath.
7512 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
7514         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
7515         header.  For __powerpc64__ provide the default-signal.h definitions
7516         for now.
7517         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
7518         instead of the dummy definitions.
7519         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
7520         (powerpc64*-*): Remove with_libffi_default.
7521         Only add -mminimal-toc for 64-bit compilations.
7522         * configure.in: Use powerpc-signal.h on powerpc64 as well.
7523         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
7524         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
7525         * configure: Rebuilt.
7527 2004-01-23  Michael Koch  <konqueror@gmx.de>
7529         * gnu/java/nio/FileLockImpl.java: Compile fixes.
7531 2004-01-23  Michael Koch  <konqueror@gmx.de>
7533         * java/lang/VMClassLoader.java: Reworked imports.
7534         
7535 2004-01-23  Michael Koch  <konqueror@gmx.de>
7537         * javax/swing/AbstractAction.java: Reformated.
7539 2004-01-23  Michael Koch  <konqueror@gmx.de>
7541         * java/text/CollationElementIterator.java:
7542         (setText): New method.
7544 2004-01-23  Michael Koch  <konqueror@gmx.de>
7546         * gnu/java/nio/FileLockImpl.java:
7547         Fixed filename in copyright.
7548         (released): Removed.
7549         (finalize): New method.
7550         * gnu/java/nio/natFileLockImpl.cc
7551         (releaseImpl): Implemented.
7552         * java/nio/channels/FileChannelImpl.java:
7553         Reworked imports.
7554         (lock): Implemented.
7555         (lockImpl): New method.
7556         (tryLock): Implemented.
7557         (tryLockImpl): New method.
7558         * java/nio/channels/natFileChannelImpl.cc
7559         (lockImpl): New method.
7560         (tryLockImpl): New method.
7562 2004-01-23  Michael Koch  <konqueror@gmx.de>
7564         * java/io/FileDescriptor.java
7565         (lock): New method.
7566         (tryLock): New method.
7567         (unlock): New method.
7568         * java/io/natFileDescriptorEcos.cc
7569         (lock): New method.
7570         (tryLock): New method.
7571         (unlock): New method.
7572         * java/io/natFileDescriptorPosix.cc
7573         (lock): New method.
7574         (tryLock): New method.
7575         (unlock): New method.
7576         * java/io/natFileDescriptorWin32.cc
7577         (lock): New method.
7578         (tryLock): New method.
7579         (unlock): New method.
7581 2004-01-23  Michael Koch  <konqueror@gmx.de>
7583         * java/io/FileDescriptor.java
7584         (sync): Moved around, added javadoc.
7585         (valid): Likewise.
7586         (open): Likewise.
7587         (write): Likewise.
7588         (close): Likewise.
7589         (setLength): Likewise.
7590         (seek): Likewise.
7591         (getLength): Likewise.
7592         (getFilePointer): Likewise.
7593         (read): Likewise.
7594         (available): Likewise.
7595         (finalize): Likewise.
7597 2004-01-23  Michael Koch  <konqueror@gmx.de>
7599         * javax/swing/AbstractAction.java: Reformated.
7600         (getPropertyChangeListeners): New method.
7601         * javax/swing/AbstractCellEditor.java: Reformated.
7602         (getCellEditorListeners): New method.
7603         * javax/swing/DefaultListSelectionModel.java
7604         (listenerList): New field.
7605         (listeners): Removed.
7606         (get_listeners): Removed.
7607         (addListSelectionListener): Rewritten.
7608         (removeListSelectionListener): Rewritten.
7609         (getListSelectionListeners): New method.
7610         (getListeners): New method.
7611         * javax/swing/JComboBox.java: Imports reworked.
7612         (addActionListener): Implemented.
7613         (removeActionListener): Implemented.
7614         (addItemListener): Implemented.
7615         (removeItemListener): Implemented.
7616         (addPopupMenuListener): Implemented.
7617         (removePopupMenuListener): Implemented.
7618         (getActionListeners): New method.
7619         (getItemListeners): New method.
7620         (getPopupMenuListeners): New method.
7622 2004-01-23  Michael Koch  <konqueror@gmx.de>
7624         * gnu/java/net/protocol/http/Connection.java
7625         (connect): Don't initialize bufferedOutputStream if not needed.
7626         (sendRequest): Set property for content length if content is present.
7627         Write content only if present.
7628         (getOutputStream): Check if already connected, dont connect,
7629         initalize bufferedOutputStream if needed.
7631 2004-01-23  Michael Koch  <konqueror@gmx.de>
7633         * java/io/FileDescriptor.java
7634         (in, out, err): Added javadoc.
7635         (static): Merged loading code.
7636         (fd, position): Moved around.
7638 2004-01-23  Michael Koch  <konqueror@gmx.de>
7640         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
7641         New file.
7643 2004-01-23  Michael Koch  <konqueror@gmx.de>
7645         * java/lang/Class.java,
7646         java/lang/Object.java,
7647         java/lang/Thread.java: Merged copyright with classpath.
7649 2004-01-23  Michael Koch  <konqueror@gmx.de>
7651         * java/io/FileDescriptor.java: Merged copyright with classpath to
7652         start merging this class.
7654 2004-01-22  Tom Tromey  <tromey@redhat.com>
7656         PR libgcj/13107:
7657         * testsuite/libjava.lang/pr13107_2.xfail: New file.
7658         * testsuite/libjava.lang/pr13107_3.xfail: New file.
7659         * testsuite/libjava.lang/pr13107_3.java: New file.
7660         * testsuite/libjava.lang/pr13107_3.out: New file.
7661         * testsuite/libjava.lang/pr13107_2.java: New file.
7662         * testsuite/libjava.lang/pr13107_2.out: New file.
7663         * testsuite/libjava.lang/pr13107.java: New file.
7664         * testsuite/libjava.lang/pr13107.out: New file.
7665         * verify.cc (jsr_ptrs): Removed.
7666         (entry_points): Likewise.
7667         (struct subr_info): Likewise.
7668         (struct subr_entry_info): Likewise.
7669         (type_val::unused_by_subroutine_type): Likewise.
7670         (type::merge): Don't handle unused_by_subroutine_type.
7671         (type::print): Likewise.
7672         (state::flags): Removed.
7673         (state::subroutine): Likewise.
7674         (state::seen_subrs): Likewise.
7675         (state::NO_STACK): Likewise.
7676         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
7677         (state): Updated all methods.
7678         (state::clean_subrs): Removed.
7679         (state::state): Removed `ret_semantics' flag.
7680         (state::copy): Likewise.
7681         (state::add_subr): Removed.
7682         (state::enter_subroutine): Likewise.
7683         (type::set_return_address): New method.
7684         (handle_jsr_insn): Set return address on the type.  Always
7685         invalidate PC after call.
7686         (check_nonrecursive_call): Removed.
7687         (~_Jv_BytecodeVerifier): Updated.
7688         (branch_prepass): Removed special handling of jsr.
7689         (note_branch_target): Likewise.
7690         (get_subroutine): Removed.
7691         (state::merge): Don't merge subroutines and don't handle
7692         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
7693         (state::note_variable): Removed.
7694         (state::is_unmerged_ret_state): Likewise.
7695         (state::print): Updated.
7696         (set_variable): Likewise.
7697         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
7698         and jsr_semantics arguments.  Updated for new reverification
7699         list.
7700         (pop_jump): Rewrote.
7701         (construct_primitive_array_type): Updated.
7702         (state::next): Removed.
7703         (INVALID_STATE): New define.
7704         (state::INVALID): Removed.
7705         (state::NO_NEXT): New value.
7706         (state::pc, state::next): New fields.
7707         (state::get_pc): New method.
7708         (next_verify_pc): Removed.
7709         (next_verify_state): New field.
7710         (verify_instructions_0): Always check for falling off end.
7711         (linked): New type.
7712         (linked_utf8): Removed.
7713         (states): Changed type.
7714         (type::state_mergeable_p): New method.
7715         (state::state_mergeable_p): Likewise.
7716         (handle_ret_insn): Removed most code.
7717         (state::reverify): New method.
7718         (add_new_state): Likewise.
7719         (state::set_pc): Likewise.
7721 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
7723         PR java/13733
7724         * testsuite/libjava.compile/PR13733.java: New file.
7725         * testsuite/libjava.compile/PR13733.xfail: New file.
7727 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
7728             Michael Koch  <konqueror@gmx.de>
7730         * javax/swing/table/DefaultTableCellRenderer.java
7731         (DefaultTableCellRenderer): Added javadoc for the class and for
7732         the constructor, Border instance, create an EmptyBorder.
7733         (UIResource): Removed the comment at the end of the class
7734         (setForeground): New method.
7735         (setBackground): New method.
7736         (updateUI): New method.
7737         (getTableCellRendererComponent): Rewritten with the help of
7738         dvholten and Stephane Meslin-Weber.
7739         (validate): New method.
7740         (repaint): New method.
7741         (firePropertyChange): New method.
7742         (setValue): New method.
7744 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7747         (connectJObject): Replace printf calls with g_assert statements.
7748         Move property-notify-event signal connection to ...
7749         (connectSignals): Connect property-notify-event signal.  Iterate
7750         through the vbox's children to find layout.
7752 2004-01-22  Graydon Hoare  <graydon@redhat.com>
7753         
7754         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
7755         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
7756         Predicate static initialization on GtkToolkit.useGraphics2D().
7757         * java/awt/Component.java (processPaintEvent): Consume event.
7758         * javax/swing/AbstractButton.java: Reimplement, document.
7759         * javax/swing/DefaultButtonModel.java: Reimplement, document.
7760         * javax/swing/JComponent.java (paint): Use double buffer.
7761         (listenerList): Enable member.
7762         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
7763         * javax/swing/JToggleButton.java 
7764         (JToggleButton): Modify model constructor.
7765         * javax/swing/SwingUtilities.java 
7766         (layoutCompoundLabel): Adjust arithmetic.
7767         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
7768         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
7769         (getPreferredButtonSize): Include margins in calculation.
7770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7771         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
7772         Receive up events from subordinate layout component.
7774 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
7776         * java/awt/Component.java (show): Set visible to true before
7777         showing the peer.
7779 2004-01-21  Kim Ho  <kho@redhat.com>
7781         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
7782         Fix comments.
7783         (removeMenuBarPeer): Make package private.
7784         (setMenuBarPeer): Make package private.
7785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7786         (menubar_resize_cb): Mark attributes unused.
7787         (getMenuBarHeight): ditto.
7789 2004-01-21  David Jee  <djee@redhat.com>
7791         * java/awt/Container.java
7792         (LightweightDispatcher.handleEvent): Add an extra check to avoid
7793         dispatching MOUSE_ENTERED event twice. Translate the point for
7794         the mouse event target before dispatching the event.
7796 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
7798         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
7799         lib_org_w3c_dom_la_LDFLAGS): New.
7800         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
7801         * Makefile.in: Rebuilt.
7803 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
7805         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
7806         Calculate proper offsets for heavyweight components packed in
7807         lightweight containers.
7809         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
7811         (native create): Add width parameter.
7812         (create): Calculate text entry width based on current font's
7813         metrics and number of columns.  Set TextField's font if not
7814         already set.  Call native create.
7815         (gtkEntryGetBorderWidth): New native method.
7816         (gtkEntryGetSize): Remove method.
7817         (getMinimumSize): Call minimumSize.
7818         (getPreferredSize): Call preferredSize.
7819         (minimumSize): Calculate minimum size based on backing
7820         GtkEntry's borders, font metrics and number of columns.
7821         (preferredSize): Likewise for preferred size.
7822         (get_border_width): New static function.
7824         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
7825         Override GtkWindowPeer's setResizable method to account for menu
7826         bar height when setting the frame's size.
7828 2004-01-19  Matthias Klose  <doko@debian.org>
7830         * libtool-version: Increased `current' to 6.
7832 2004-01-19  Kim Ho  <kho@redhat.com>
7834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7835         (connectJObject): Iterate through the vbox's children to find layout.
7837 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
7839         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
7840         isDispatchThread method to replace wrong test condition.
7842 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
7844         * java/awt/EventQueue.java (pop): Prevent racing condition to add
7845         events to the queue out of order by acquiring locks in the proper
7846         order and not by releasing one before acquiring the other.
7848 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
7850         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
7851         visible so that dialog can be reused.
7853 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
7855         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
7856         events may be handled by any queue in the stack.
7858 2004-01-19  Kim Ho  <kho@redhat.com>
7860         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
7861         MenuBarPeer parameter.
7862         (removeMenuBarPeer): New native method.
7863         (setMenuBar): Call remove if menu bar is null. Adjust insets
7864         appropriately.
7865         (postSizeAllocateEvent): New method. Called when menu bar size is
7866         allocated. Adjust insets and redo layout.
7867         (GtkFramePeer): Set menu bar during frame creation.
7868         (postConfigureEvent): Adjust position and size to accomodate
7869         menu bar.
7870         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
7871         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
7872         (addNotify): Create the peer if it doesn't exist and call addNotify
7873         for the menu's items.
7874         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
7875         * java/awt/MenuItem.java (addNotify): Create the peer if it
7876         doesn't exist.
7877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7878         (removeMenuBarPeer): New method. Remove menu bar on the current
7879         frame.
7880         (setMenuBarPeer): Add the menu bar to the current frame and the
7881         callback for size-allocate events on the menu bar.
7882         (getMenuBarHeight): Add menu bar parameter.
7883         (menubar_resize_cb): New callback method for postSizeAllocate events.
7885         Also: Fix indentation on last ChangeLog entry.
7887 2004-01-16  Kim Ho  <kho@redhat.com>
7889         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7890         (gtkWidgetGetDimensions): Remove.
7891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7892         (gtkWidgetGetDimensions): Remove.
7894 2004-01-16  Tom Tromey  <tromey@redhat.com>
7896         * java/awt/Container.java: Typo and indentation fixes.
7898         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
7899         * java/lang/natVMClassLoader.cc: ...here.  New file.
7900         * Makefile.in: Rebuilt.
7901         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
7903 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
7905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
7906         Discard GDK_ENTER_NOTIFY related to ungrabs.
7908 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
7910         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
7911         is called for an intermediate queue.
7913 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
7915         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7916         (window_property_changed_cb): Set id_set.
7918 2004-01-16  Kim Ho  <kho@redhat.com>
7920         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
7921         it is a FileDialog and has dimensions of 0 by 0, then the initial
7922         size is set to size request plus insets.
7923         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7924         (gtkWidgetGetDimensions): Override method.
7925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7926         (gtkWidgetGetDimensions): Override method. Returns size request plus
7927         insets.
7929 2004-01-16  Andrew Haley  <aph@redhat.com>
7931         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
7932         * sysdep/i386/locks.h: Likewise.
7934 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
7936         * java/awt/EventDispatchThread.java (run): Stop running when
7937         interrupted.
7938         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
7939         Reset the queue after transferring its contents.
7940         (push): Start a new dispatch thread if none is running.
7942 2004-01-16  Olga Rodimina <rodimina@redhat.com>
7944         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7945         (doPolygon): set fill rule of polygon to 
7946         WIND_EVEN_ODD by default.
7948 2004-01-15  Olga Rodimina <rodimina@redhat.com>
7950         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
7951         Implemented rendering hints related methods.
7952         (getDefaultHints): New helper method. Returns
7953         default rendering hints.
7954         (walkPath): changed to normalize path if
7955         the KEY_STROKE_CONTROL key is in "normalize" mode.
7956         (draw3DRect): changed coordinates of rectangle by +0.5
7957         if in "normalize" mode.
7959 2004-01-15  Tom Tromey  <tromey@redhat.com>
7961         * Makefile.in: Rebuilt.
7962         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
7963         (%.lo: %.java) Filter out StackTrace.lo.
7965 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
7967         * configure.in: Add in AC_PREREQ(2.13)
7968         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
7969         FIXME comment.
7971 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
7972             Tom Tromey  <tromey@redhat.com>
7974         PR libgcj/12001:
7975         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
7976         array to superclass.
7977         (init): Changed interface; add URLs here.
7978         (initialize): New static method.
7979         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
7980         (_Jv_RunMain): ... not here.
7982 2004-01-14  Michael Koch  <konqueror@gmx.de>
7984         * java/text/MessageFormat.java:
7985         Added descriptions to exceptions.
7986         This fixes PR libgcj/2429.
7988 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
7990         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
7991         (push): Make sure push is performed at the top of the thread stack.
7993 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7995         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7996         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7997         (native create): Add width and height parameters.  Set text
7998         view's size request according to new parameters.
7999         (create): Calculate text view size based on current font's
8000         metrics and number of rows and columns.  Set TextArea's font if
8001         not already set.  Call native create.
8002         (getMinimumSize): Call minimumSize.
8003         (getPreferredSize): Call preferredSize.
8004         (getHScrollbarHeight): New method.
8005         (getVScrollbarWidth): New method.
8006         (minimumSize): Calculate minimum size based on scrollbar
8007         visibility, scrollbar sizes, font metrics and number of rows and
8008         columns.
8009         (preferredSize): Likewise for preferred size.
8010         (gtkTextGetSize): Remove method.
8012 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8014         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8015         (initializeInsets): Remove method.
8016         (GtkComponentPeer): Initialize insets field.  Remove call to
8017         initializeInsets.
8018         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
8019         Remove method.
8020         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
8021         Remove method.
8022         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
8023         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
8024         (latestInsets): Remove field.
8025         (native create): Add insets parameter.  Call
8026         window_get_frame_extents.  Set the window's default size and
8027         size request based on its frame extents.
8028         (create): Initialize insets.
8029         (postInsetsChangedEvent): New method.
8030         (postConfigureEvent): Remove parameters top, left, bottom,
8031         right.  Remove insets-related logic.
8032         (connectJObject): Handle property-notify-event.
8033         (window_get_frame_extents, request_frame_extents,
8034         property_notify_predicate, window_property_changed_cb): New
8035         static functions.
8036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8037         (pre_event_handler): Remove insets-related logic for configure
8038         events.
8039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
8040         Update postConfigureEvent signature.
8042 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
8044         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
8045         to handle Window "Closing" events.
8047 2004-01-13  David Jee  <djee@redhat.com>
8049         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8050         (setBackground): New method. Children with no explicitly-set
8051         background will be repainted with the parent container's new
8052         background color.
8054 2004-01-13  David Jee  <djee@redhat.com>
8056         * Makefile.am: Add BitwiseXORComposite.java.
8057         * Makefile.in: Regenerated.
8058         * gcj/Makefile.in: Regenerated.
8059         * include/Makefile.in: Regenerated.
8060         * testsuite/Makefile.in: Regenerated.
8062 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
8064         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
8065         not show modal dialogs twice and so that it allows showing a modal
8066         dialog from another modal dialog.
8068 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
8070         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
8071         and run secondary dispatch thread to process event queue while this
8072         thread is blocked.
8074 2004-01-12  Graydon Hoare  <graydon@redhat.com>
8076         * gnu/java/awt/gtk/GdkGraphics2D.java
8077         (static): Check GtkToolkit before initializing static state.
8078         (Graphics2D): Don't construct transform with 0.5 unit offset.
8080 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
8082         * gnu/java/awt/BitwiseXORComposite.java: Add.
8083         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8084         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
8085         (BitwiseXORComposite): Remove inner class.
8087 2004-01-11  Michael Koch  <konqueror@gmx.de>
8089         * gnu/java/lang/reflect/TypeSignature.java
8090         (getEncodingOfClass): Documentation fixed.
8091         (getClassForEncoding): Give class loader to Class.forName().
8092         Documentation fixed.
8094 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
8096         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
8098 2004-01-11  Michael Koch  <konqueror@gmx.de>
8100         * javax/swing/undo/StateEditable.java
8101         (RCSID): Removed redundant modifiers.
8103 2004-01-10  Michael Koch  <konqueror@gmx.de>
8105         * javax/print/attribute/EnumSyntax.java
8106         (getStringTable): Made protected.
8107         (getEnumValueTable): Likewise.
8108         * javax/print/attribute/standard/JobKOctetsProcessed.java
8109         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
8110         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
8111         (JobMediaSheetsCompleted): Made class final.
8112         * javax/print/attribute/standard/OutputDeviceAssigned.java
8113         (getName): Fixed typo.
8114         * javax/print/attribute/standard/RequestingUserName.java
8115         (serialVersionUID): Fixed value.
8117 2004-01-10  Michael Koch  <konqueror@gmx.de>
8119         * javax/swing/plaf/basic/BasicButtonUI.java,
8120         javax/swing/plaf/basic/BasicCheckBoxUI.java,
8121         javax/swing/plaf/basic/BasicListUI.java,
8122         javax/swing/plaf/basic/BasicOptionPaneUI.java,
8123         javax/swing/plaf/basic/BasicPanelUI.java,
8124         javax/swing/plaf/basic/BasicRadioButtonUI.java,
8125         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8126         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8127         javax/swing/plaf/basic/BasicViewportUI.java:
8128         Fixed import statements.
8130 2004-01-10  Michael Koch  <konqueror@gmx.de>
8132         * gnu/java/awt/image/ImageDecoder.java
8133         (produce): Made public.
8134         * gnu/java/awt/peer/GLightweightPeer.java,
8135         gnu/java/awt/peer/gtk/GtkToolkit.java:
8136         Reformated.
8138 2004-01-10  Michael Koch  <konqueror@gmx.de>
8140         * javax/swing/JRadioButtonMenuItem.java,
8141         javax/swing/JSeparator.java,
8142         javax/swing/JSplitPane.java,
8143         javax/swing/JTextPane.java,
8144         javax/swing/JToolBar.java,
8145         javax/swing/ListCellRenderer.java,
8146         javax/swing/ListModel.java,
8147         javax/swing/MenuElement.java,
8148         javax/swing/OverlayLayout.java,
8149         javax/swing/ProgressMonitor.java,
8150         javax/swing/ProgressMonitorInputStream.java,
8151         javax/swing/Renderer.java,
8152         javax/swing/RootPaneContainer.java,
8153         javax/swing/Scrollable.java,
8154         javax/swing/SingleSelectionModel.java,
8155         javax/swing/ToolTipManager.java,
8156         javax/swing/ViewportLayout.java,
8157         javax/swing/event/DocumentEvent.java,
8158         javax/swing/event/SwingPropertyChangeSupport.java,
8159         javax/swing/event/TreeSelectionEvent.java,
8160         javax/swing/event/UndoableEditEvent.java,
8161         javax/swing/text/AbstractDocument.java,
8162         javax/swing/text/AttributeSet.java,
8163         javax/swing/text/Caret.java,
8164         javax/swing/text/ComponentView.java,
8165         javax/swing/text/DefaultCaret.java,
8166         javax/swing/text/DefaultEditorKit.java,
8167         javax/swing/text/Document.java,
8168         javax/swing/text/EditorKit.java,
8169         javax/swing/text/GapContent.java,
8170         javax/swing/text/Keymap.java,
8171         javax/swing/text/MutableAttributeSet.java,
8172         javax/swing/text/PlainEditorKit.java,
8173         javax/swing/text/Segment.java,
8174         javax/swing/text/Style.java,
8175         javax/swing/text/StyledDocument.java,
8176         javax/swing/text/StyledEditorKit.java,
8177         javax/swing/text/TextAction.java,
8178         javax/swing/text/View.java: Fixed import statements.
8180 2004-01-08  Graydon Hoare  <graydon@redhat.com>
8182         * javax/swing/JLayeredPane.java: Rewrite to accomodate
8183         djee@redhat.com's recent inverse ordering of Container elements.
8185 2004-01-09  Michael Koch  <konqueror@gmx.de>
8187         * gnu/java/lang/ArrayHelper.java
8188         (equalsArray): Removed.
8190 2004-01-09  Andrew Haley  <aph@redhat.com>
8192         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
8193         a Utf8Const field before looking at its class.
8195 2004-01-09  Michael Koch  <konqueror@gmx.de>
8197         * javax/print/attribute/standard/DocumentName.java,
8198         javax/print/attribute/standard/JobHoldUntil.java,
8199         javax/print/attribute/standard/JobMessageFromOperator.java,
8200         javax/print/attribute/standard/JobName.java,
8201         javax/print/attribute/standard/JobOriginatingUserName.java,
8202         javax/print/attribute/standard/OutputDeviceAssigned.java,
8203         javax/print/attribute/standard/PrinterInfo.java,
8204         javax/print/attribute/standard/PrinterLocation.java,
8205         javax/print/attribute/standard/PrinterMakeAndModel.java,
8206         javax/print/attribute/standard/PrinterMessageFromOperator.java,
8207         javax/print/attribute/standard/PrinterName.java,
8208         javax/print/attribute/standard/RequestingUserName.java: New files.
8209         * Makefile.am (javax_source_files): Added new files.
8210         * Makefile.in: Regenerated.
8212 2004-01-09  Michael Koch  <konqueror@gmx.de>
8214         * javax/swing/AbstractAction.java,
8215         javax/swing/AbstractSet.java,
8216         javax/swing/Action.java,
8217         javax/swing/ActionMap.java,
8218         javax/swing/BoundedRangeModel.java,
8219         javax/swing/ButtonModel.java,
8220         javax/swing/CellEditor.java,
8221         javax/swing/CellRendererPane.java,
8222         javax/swing/ComboBoxEditor.java,
8223         javax/swing/DebugGraphics.java,
8224         javax/swing/DefaultCellEditor.java,
8225         javax/swing/DefaultCellRenderer.java,
8226         javax/swing/DefaultComboBoxModel.java,
8227         javax/swing/DefaultDesktopManager.java,
8228         javax/swing/DefaultFocusManager.java,
8229         javax/swing/DefaultListCellRenderer.java,
8230         javax/swing/Icon.java,
8231         javax/swing/JButton.java,
8232         javax/swing/JCheckBoxMenuItem.java,
8233         javax/swing/JDesktopPane.java,
8234         javax/swing/JEditorPane.java,
8235         javax/swing/JMenu.java,
8236         javax/swing/JPanel.java,
8237         javax/swing/JPasswordField.java,
8238         javax/swing/JPopupMenu.java,
8239         javax/swing/JProgressBar.java: Reworked imports.
8241 2004-01-09  Michael Koch  <konqueror@gmx.de>
8243         * java/awt/geom/PathIterator.java
8244         (WIND_EVEN_ODD): Removed redundant modifiers.
8245         (WIND_NON_ZERO): Likewise.
8246         (SEG_MOVETO): Likewise.
8247         (SEG_LINETO): Likewise.
8248         (SEG_QUADTO): Likewise.
8249         (SEG_CUBICTO): Likewise.
8250         (SEG_CLOSE): Likewise.
8251         * java/awt/image/SinglePixelPackedSampleModel.java:
8252         Removed redundant semicolon.
8253         * java/io/ObjectInputStream.java
8254         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
8255         * java/util/logging/Filter.java
8256         (isLoggable): Removed redundant modifier.
8257         * java/util/logging/LogManager.java:
8258         Removed redundant semicolon.
8259         * java/util/logging/XMLFormatter.java
8260         (format): Removed unused variable "key".
8262 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
8264         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
8265         New name for the former setFile native method.
8266         (setFile): New method.
8267         (setDirectory): Implemented.
8268         (connectSignals): New native method.
8269         (setFilenameFilter): Improve comment.
8270         (getGraphics): Comment.
8271         (gtkHideFileDialog): New method.
8272         (gtkDisposeFileDialog): New method.
8273         (gtkSetFilename): New method.
8274         * java/awt/Dialog.java (show): Block on modal dialogs, but only
8275         for FileDialog for now.
8276         (hide): New method.
8277         (dispose): New method.
8278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8279         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
8280         deprecated creation functions.  Make dialog modal.  Add it to the
8281         window group.
8282         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
8283         function.
8284         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
8285         Rename to...
8286         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
8287         name.
8288         (window_closed): New function.
8289         (ok_clicked): New function.
8290         (cancel_clicked): New function.
8292 2004-01-08  Michael Koch  <konqueror@gmx.de>
8294         * javax/swing/JLayeredPane.java: Revert changes to standard
8295         boilerplate, reworked imports.
8297 2004-01-07  Tom Tromey  <tromey@redhat.com>
8299         PR libgcj/13439:
8300         * verify.cc (state::merge): Copy changed locals out of subroutine
8301         in NO_STACK case.
8302         (state::FLAG_CHANGED): New const.
8303         (state::FLAG_UNUSED): Likewise.
8304         (state::local_changed): Removed.  Updated all users.
8305         (state::flags): New field.
8306         (state::merge): Added jsr_semantics argument, more logic.
8307         (push_jump_merge): Added jsr_semantics argument.
8308         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
8309         merging through the jsr instruction.
8311 2004-01-07  Tom Tromey  <tromey@redhat.com>
8313         * scripts/MakeDefaultMimeTypes.java: Use \n, not
8314         backslash-newline.
8316 2004-01-07  Graydon Hoare  <graydon@redhat.com>
8318         * java/awt/Container.java (LightweightDispatcher): Implement.
8319         (visitChild): Reuse graphics object.
8320         (dispatchEventImpl): Optionally dispatch to lightweight.
8321         (addNotifyContainerChildren): Build LightweightDispatcher.
8323 2004-01-07  David Jee  <djee@redhat.com>
8325         * java/awt/Container.java
8326         (update): Clear only the clipped region, instead of clearing the
8327         entire Container.
8328         (visitChildren): Visit children in descending order.
8330 2004-01-07  Michael Koch  <konqueror@gmx.de>
8332         * java/lang/reflect/Array.java: Merged documentation with classpath.
8334 2004-01-07  Michael Koch  <konqueror@gmx.de>
8336         * java/text/CollationElementIterator.java
8337         (textIndex): Renamed from index.
8338         * java/text/CollationKey.java
8339         (collator): New member.
8340         (CollationKey): New argument for parent collator.
8341         (equals): Check for same collator, source string and key array.
8342         * java/text/RuleBasedCollator.java:
8343         Reformated.
8344         (RuleBasedCollator): Don't re-initialize frenchAccents with default
8345         value.
8346         (getCollationElementIterator): Rewritten.
8347         (getCollationKey): Added new argument to CollationKey constructor.
8349 2004-01-07  Michael Koch  <konqueror@gmx.de>
8351         * gnu/java/nio/DatagramChannelImpl.java
8352         (blocking): Removed.
8353         (DatagramChannelImpl): Call configureBlocking().
8354         (implConfigureBlocking): Dont initialize blocking.
8355         * gnu/java/nio/ServerSocketChannelImpl.java
8356         (blocking): Removed.
8357         (ServerSocketChannelImpl): Call configureBlocking().
8358         (implConfigureBlocking): Dont initialize blocking.
8359         * gnu/java/nio/SocketChannelImpl.java
8360         (blocking): Removed.
8361         (SocketChannelImpl): Call configureBlocking().
8362         (implConfigureBlocking): Dont initialize blocking.
8363         (connect): Use isBlocking().
8364         * java/nio/channels/spi/AbstractSelectableChannel.java
8365         (configureBlocking): Use blockingLock() instead of LOCK.
8366         Set blocking after successfully called implConfigureBlocking().
8367         (register): Use blockingLock() instead of LOCK.
8369 2004-01-07  Michael Koch  <konqueror@gmx.de>
8371         * java/net/ServerSocket.java (isBound): Fixed documentation.
8373 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
8375         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
8376         (changeEvent): Create event object on demand.
8377         (DefaultBoundedRangeModel, toString, setValue, setExtent,
8378         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
8379         fireStateChanged): Re-written.
8380         * javax/swing/event/EventListenerList.java: Reformatted, document
8381         typical usage.
8382         (toString): Implemented.
8383         (getListeners): Re-written.
8384         (remove): Re-written.
8385         (add): Re-written.
8386         (NO_LISTENERS): New singleton field.
8387         (listenerList): Declare as transient; document.
8388         (serialVersionUID): Document.
8389         (getListenerCount(Class)): More efficient implementation,
8390         also accepts null argument.  Improve Javadoc.
8391         (getListenerCount()): Remove unnecessary cast; docfix.
8392         * javax/swing/undo/UndoableEditSupport.java:
8393         Re-format, document.
8394         (UndoableEditSupport): Set realSource field. Improve documentation.
8395         (_postEdit): Iterate over cloned listener vector.
8396         (toString): Don't emit realSource.
8397         (beginUpdate, endUpdate): Support nested updates.
8398         (postEdit): Use compound edit if present.
8400 2004-01-06  Graydon Hoare  <graydon@redhat.com>
8402         * java/awt/Container.java (swapComponents): Add forgotten
8403         function, required for JLayeredPane change.
8405 2004-01-06  Michael Koch  <konqueror@gmx.de>
8407         * java/text/CollationElementIterator.java: Reformated.
8408         (CollationElementIterator): Changed order of arguments.
8409         * java/text/RuleBasedCollator.java
8410         (RuleBasedCollator): Merged class documentation.
8411         (CollationElement): Added documentation.
8412         (compare): Reformated, renamed arguments.
8413         (equals): Likewise.
8414         (getCollationElementIterator): Likewise.
8415         (getCollationKey): Likewise.
8417 2004-01-06  Graydon Hoare  <graydon@redhat.com>
8419         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
8421 2004-01-06  Michael Koch  <konqueror@gmx.de>
8423         * gnu/java/net/protocol/file/Connection.java:
8424         Reformated copyright.
8425         (hdrHash): Removed.
8426         (hdrVec): Removed.
8427         (gotHeaders): Removed.
8428         (getHeaderField): Removed.
8429         (getHeaderField): Removed.
8430         (getHeaderFieldKey): Removed.
8431         (getKey): Removed.
8432         (getField): Removed.
8433         (getHeaders): Removed.
8435 2004-01-06  Michael Koch  <konqueror@gmx.de>
8437         * javax/print/attribute/standard/DateTimeAtCompleted.java,
8438         javax/print/attribute/standard/DateTimeAtCreation.java,
8439         javax/print/attribute/standard/DateTimeAtProcessing.java,
8440         javax/print/attribute/standard/JobImpressionsCompleted.java,
8441         javax/print/attribute/standard/JobKOctets.java,
8442         javax/print/attribute/standard/JobKOctetsProcessed.java,
8443         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8444         javax/print/attribute/standard/JobPrioritySupported.java: New files.
8445         * Makefile.am (javax_source_files): Added new files.
8446         * Makefile.in: Regenerated.
8448 2004-01-06  Michael Koch  <konqueror@gmx.de>
8450         * java/net/URLConnection.java
8451         (contentHandler): Removed.
8452         (locale): Removed.
8453         (getHeaderFields): Return an empty map instead of null.
8454         (getContent): Connect if needed, renamed "cType" to "type" and
8455         "contentHandler" to "ch" and made it a local variable.
8456         (getPermission): Don't use package in class name.
8457         (setDefaultRequestProperty): Fixed typo in documentation.
8458         (initializeDateFormats): Made locale a local variable.
8460 2004-01-06  Michael Koch  <konqueror@gmx.de>
8462         * java/lang/Package.java
8463         (getPackage): Get the current class loader directly.
8464         * java/lang/SecurityManager.java
8465         (currentLoadedClass): Dont iterate over class contexts.
8466         (classLoaderDepth): Don't check class loaders if everything is allowed.
8468 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
8470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8471         (pre_event_handler): Set all insets to 0 when a Configure event
8472         is received for a GtkPlug.
8473         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
8474         Make handle long, not int.
8475         (EmbeddedWindow()): New constructor.
8476         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
8477         long, not int.
8478         (setHandle): New method.
8479         (getHandle): Return long, not int.
8480         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
8481         declaration.
8482         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
8483         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
8484         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
8485         argument to GdkNativeWindow.
8486         (construct): New method.
8487         (embed): New method.
8489         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
8490         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
8491         (create(int, int)): New method.
8492         (create): Call new create method.
8493         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
8494         methods.
8495         (childResized): Remove native implementation.  Implement in
8496         Java.
8497         (getHScrollbarHeight, getVScrollbarWidth): Call
8498         gtk_widget_size_request to get scrollbar dimensions.
8499         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
8500         call getVScrollbarWidth and getHScrollbarHeight when vertical
8501         and horizontal scrollbars respectively are needed.
8502         (doLayout): Enlarge child if it is smaller than the viewport.
8504 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
8506         * java/awt/Dialog.java (constructor): Accept null title as per spec.
8507         * java/awt/FileDialog.java (constructor): Throw exception on invalid
8508         argument as per spec.
8510 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
8512         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
8513         (insert): Ditto.
8514         (remove): Ditto.  Also, Check for valid argument.
8515         (removeAll): Use peer interface method.
8516         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
8517         native add function.
8518         (nativeRemove): New name for native remove function.
8519         (getHistory): New native function.
8520         (constructor): Generate ItemEvent.
8521         (add): Ditto, if selection is changed.
8522         (remove): Ditto, ditto.
8523         (removeAll): Add implementation.
8524         (handleEvent): Remove.  Dead code.
8525         (choicePostItemEvent): Add comment.
8526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8527         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
8528         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
8529         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
8530         comments and fix condition to change selection.
8531         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
8532         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
8533         remove all capability.
8534         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
8535         (item_activate): Add cast to remove compiler warning.
8537 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
8539         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
8540         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8541         (getPreferredSize): Call preferredSize.
8542         (preferredSize): Call gtkWidgetGetPreferredDimensions.
8543         (getMinimumSize): Call minimumSize.
8544         (minimumSize): Call gtkWidgetGetPreferredDimensions.
8545         (gtkWidgetGetDimensions): Return the peer widget's current size
8546         request.
8547         (gtkWidgetGetPreferredDimensions): Return the peer widget's
8548         natural size request.
8550 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
8552         Thanks to Brian Gough <bjg@network-theory.com>
8553         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
8554         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
8556 2004-01-04  Matthias Klose  <doko@debian.org>
8558         * aclocal.m4: Rebuilt using "aclocal -I .".
8559         * configure: Rebuilt.
8561 2004-01-03  Per Bothner  <per@bothner.com>
8563         * java/util/Date.java (parse):  Fix a number of problems.
8564         (skipParens):  Remove no-longer-needed method.