OSDN Git Service

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