OSDN Git Service

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