OSDN Git Service

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