OSDN Git Service

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