OSDN Git Service

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