OSDN Git Service

0679c0219844210584faa9580f71a24d07e7f835
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2
3         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
4
5 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
6
7         * java/io/File.java File(String,String): Fixed handling of empty
8         path.
9
10 2004-08-30  Casey Marshall  <csm@gnu.org>
11
12         Author e-mail updated for all files.
13         * gnu/java/security/OID.java (equals): Test if the aurgment is an
14         instance of OID.
15         (compareTo): Use `equals'.
16         * gnu/java/security/der/BitString.java (equals): Test if the
17         argument is an instance of BitString.
18         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
19         class final. Made fields private.
20         (<init>): New constructor.
21         (skip): New method.
22         (makeString): Made static; don't use NIO.
23         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
24         * gnu/java/security/der/DERWriter.java: Fixed imports.
25         (writeString): Don't use NIO.
26         (toIso88591, toUtf16Be, toUtf8): New methods.
27         * gnu/java/security/der/DERValue.java: Formatting changes only.
28         * gnu/java/security/der/DER.java: Likewise.
29
30 2004-08-30  Tom Tromey  <tromey@redhat.com>
31
32         * java/nio/CharBuffer.java (put): Fix typo.
33         * java/nio/DoubleBuffer.java (put): Fix typo.
34         * java/nio/FloatBuffer.java (put): Fix typo.
35         * java/nio/IntBuffer.java (put): Fix typo.
36         * java/nio/LongBuffer.java (put): Fix typo.
37         * java/nio/ShortBuffer.java (put): Fix typo.
38
39 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
40
41         * java/nio/ByteBuffer.java (put): Fix typo.
42
43 2004-08-30  Casey Marshall  <csm@gnu.org>
44
45         * java/security/DummyKeyPairGenerator.java (clone): Removed
46         useless instanceof check.
47         * java/security/DummyMessageDigest.java (clone): Likewise.
48         * java/security/DummySignature.java (clone): Likewise.
49         * java/security/MessageDigest.java (clone): Remove useless
50         instanceof check.
51         * java/security/MessageDigestSpi.java (clone): Likewise.
52         * java/security/Signature.java (clone): Provide meaningful
53         implementation.
54         * java/security/SignatureSpi.java (clone): Likewise.
55
56 2004-08-29  Mark Wielaard  <mark@klomp.org>
57
58         * java/util/Arrays.java
59         (sort(byte[], int, int)): Check fromIndex < 0.
60         (sort(char[], int, int)): Likewise.
61         (sort(short[], int, int)): Likewise.
62         (sort(int[], int, int)): Likewise.
63         (sort(long[], int, int)): Likewise.
64         (sort(float[], int, int)): Likewise.
65         (sort(double[], int, int)): Likewise.
66         (sort(Object[], int, int, Comparator)): Likewise.
67         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
68         (qsort(char[], int, int)): Likewise.
69         (qsort(short[], int, int)): Likewise.
70         (qsort(int[], int, int)): Likewise.
71         (qsort(long[], int, int)): Likewise.
72         (qsort(float[], int, int)): Likewise.
73         (qsort(double[], int, int)): Likewise.
74
75 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
76
77         * java/util/AbstractCollection.java, java/util/AbstractList.java,
78         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
79         java/util/ArrayList.java, java/util/Arrays.java,
80         java/util/BitSet.java, java/util/Calendar.java,
81         java/util/Collection.java, java/util/ListIterator.java,
82         java/util/Map.java, java/util/SortedSet.java:
83         Added additional exceptions to documentation, along
84         with some additions and corrections.
85
86 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
87
88         * configure.ac: Handle --enable-gc-debug.
89         * configure: Regenerate.
90         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
91         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
92         Rearrange include file order.
93         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
94         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
95         (disable_gc_mutex): Delete along with all references.
96         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
97         adjust for debug header size.
98         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
99         debug case.
100         (_Jv_AllocArray): Declare min_heap_addr only if needed.
101         (gcj_describe_type_fn): New.
102         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
103         Register gcj_describe_type_fn.
104         * include/boehm-gc.h:
105         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
106         Don't define, but declare, for debug case.
107         * java/lang/natObject.cc:
108         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
109
110 2004-08-26  Mark Wielaard  <mark@klomp.org>
111
112         Fixes PR libgcj/17002:
113         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
114         a TimeZoneId string and then try to convert that to a TimeZone with
115         getDefaultSystemTimeZone(String).
116         (timezones0): Changed type from Hashtable to HashMap.
117         (timezones): Create HashMap, not Hashtable.
118         (getDefaultTimeZone): New method, rewritten from CNI version.
119         (readTimeZoneFile): New method.
120         (readtzFile): Likewise.
121         (skipFully): Likewise.
122         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
123         getDefaultTimeZoneId and rewritten.
124         (getDefaultTimeZoneId): Rewritten in java.
125         
126 2004-08-25  David Daney  <daney@avtrex.com>
127
128         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
129         * Makefile.in: Regenerated.
130
131 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
132
133         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
134         only if jvmpi is enabled.
135         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
136         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
137         (_Jv_AllocString): Likewise.
138         (_Jv_AllocPtrFreeObject): Likewise.     
139
140 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
141
142         * defineclass.cc: Include <stdio.h>.
143         * java/lang/natClassLoader.cc: Include <stdio.h>.
144
145 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
146             Michael Koch  <konqueror@gmx.de>
147
148         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
149         * Makefile.in: Regenerated.
150
151 2004-08-20  Michael Koch  <konqueror@gmx.de>
152
153         * configure.ac: Replaced all AC_TRY_COMPILE macros with
154         AC_COMPILE_IFELSE macros.
155
156 2004-08-20  Michael Koch  <konqueror@gmx.de>
157
158         * configure.in: Renamed to configure.ac.
159         * configure.ac: New file.
160         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
161         include/config.h.in, testsuite/Makefile.in: Regenerated.
162
163 2004-08-20  Michael Koch  <konqueror@gmx.de>
164
165         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
166         * aclocal.m4, configure: Regenerated.
167
168 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
169             Michael Koch  <konqueror@gmx.de>
170
171         * configure.in, Makefile.am: Ported to automake 1.9.
172         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
173         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
174         Regenerated.
175
176 2004-08-19  Tom Tromey  <tromey@redhat.com>
177
178         * java/net/DatagramSocket.java: Fixed typo.
179
180 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
181
182         PR libgcj/17081
183         * java/net/URI.java (string): New field. Make all other fields
184         transient.
185         (readObject): Implemented.
186         (writeObject): Implemented.
187         (URI): Set 'string'.
188
189 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
190
191         PR libgcj/17079
192         * java/util/logging/Handler.java (isLoggable): Accept record if its
193         log level equals the threshold level. From Robin Green.
194
195 2004-08-18  David Daney  <ddaney@avtrex.com>
196
197         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
198         instead of sigwait.
199
200 2004-08-17  Michael Koch  <konqueror@gmx.de>
201
202         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
203         * Makefile.in: Regenerated.
204
205 2004-08-16  Tom Tromey  <tromey@redhat.com>
206
207         PR java/8473:
208         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
209
210 2004-08-16  Michael Koch  <konqueror@gmx.de>
211
212         * Makefile.am
213         (math_c_files): Renamed from c_files.
214         (math_c_source_files): Renamed from c_source_files.
215         * Makefile.in,
216         gcj/Makefile.in,
217         include/Makefile.in,
218         testsuite/Makefile.in: Regenerated.
219
220 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
221
222         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
223         to avoid autoconf warning.
224         * configure: Rebuilt.
225
226 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
227
228         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
229         localhostAddress to loopbackAddress.
230         * java/net/natInetAddressWin32.cc (lookup): Likewise.
231
232 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
233
234         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
235         boehm-gc's include dirs.
236         * configure: Rebuilt.
237         * include/boehm-gc.h: Include gc_config.h.
238
239 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
240
241         * java/net/InetAddress.java (loopbackAddress): Renamed from 
242         localhostAddress.
243         (getByName): Return loopback address for null hostname, without
244         security check. Use lookup(), not getAllByName.
245         (getAllByName): Return loopback address for null hostname, without
246         security check.
247         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
248         check here.
249
250 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
251
252         PR libgcj/17020
253         Reported by Robin Green.
254         * defineclass.cc (handleField): Don't throw exception on unrecognised
255         modifier. Add FIXME comments for spec compliance.
256         (handleMethod): Likewise.
257
258 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
259
260         PR libgcj/16662
261         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
262         (Almost everywhere): add LOG calls, fix, add comments.
263         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
264         Add explicit check for LOCKED bit in slow case (PR 16662).
265         (_Jv_MonitorExit): Add casts in debug-only code.
266         Always release LOCKED bit before throwing exception.
267         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
268         isn't.  Handle easy cases without lock acquisition.
269         (Object::wait): Use NotifyAll for lock inflation.
270
271 2004-08-12  David Daney  <ddaney@avtrex.com>
272
273         * testsuite/libjava.lang/Process_1.java: New test.
274         * testsuite/libjava.lang/Process_2.java: New test.
275         * testsuite/libjava.lang/Process_3.java: New test.
276         * testsuite/libjava.lang/Process_4.java: New test.
277         * testsuite/libjava.lang/Process_5.java: New test.
278         * testsuite/libjava.lang/Process_6.java: New test.
279         * testsuite/libjava.lang/Process_1.out: Expected result.
280         * testsuite/libjava.lang/Process_2.out: Expected result.
281         * testsuite/libjava.lang/Process_3.out: Expected result.
282         * testsuite/libjava.lang/Process_4.out: Expected result.
283         * testsuite/libjava.lang/Process_5.out: Expected result.
284         * testsuite/libjava.lang/Process_6.out: Expected result.
285
286 2004-08-12  David Daney  <ddaney@avtrex.com>
287
288         PR libgcj/11801
289         * java/lang/PosixProcess.java: Rewrote.
290         * java/lang/natPosixProcess.cc: Rewrote.
291         * java/lang/Runtime.java (execInternal): Declare throws IOException.
292         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
293         * posix-threads.cc (block_sigchld) New function.
294         (_Jv_ThreadRegister) Use it.
295         (_Jv_ThreadStart) Use it.
296         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
297         * Makefile.am: ... to specify extra native headers.
298         * configure: Regenerated.
299         * include/config.h: Regenerated.
300         * Makefile.in: Regenerated.
301         * gcj/Makefile.in: Regenerated.
302         * include/Makefile.in: Regenerated.
303         * testsuite/Makefile.in: Regenerated.
304
305 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
306
307         PR tree-optimization/16867
308         * testsuite/libjava.lang/PR16867.java: New test.
309
310 2004-08-09  Per Bothner  <per@bothner.com>
311
312         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
313         with private fields and access methods.
314         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
315         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
316         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
317         ( _Jv_makeUtf8Const): Rewrite using new constructors.
318         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
319         * defineclass.cc: Use new _Utf8Const access/convenience methods.
320         * jni.cc: Likewise.
321         * resolve.cc: Likewise.
322         * gcj/field.h: Likewise.
323         * include/jvm.h: Likewise.
324         * java/lang/Class.h: Likewise.
325         * java/lang/natClass.cc: Likwise.
326         * java/lang/natClassLoader.cc: Likewise
327         * java/lang/reflect/natMethod.cc: Likewise
328         * verify.cc: Likewise.
329         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
330         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
331
332 2004-08-10  Andrew Haley  <aph@redhat.com>
333
334         * testsuite/libjava.lang/err14.java: New file.
335         * testsuite/libjava.lang/err14.out: New file.
336
337 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
338
339         * Makefile.am: Fix missing rename from x_nat_headers to 
340         xlib_nat_headers.
341         * Makefile.in: Regenerated.
342
343 2004-08-04  Andrew Haley  <aph@redhat.com>
344
345         * java/security/BasicPermission.java: Don't check wildcards.
346
347 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
348             Michael Koch  <konqueror@gmx.de>
349
350         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
351         * configure.in: Replaced all usages of AC_LINK_FILES by
352         AC_CONFIG_LINKS.
353         * aclocal.m4,
354         configure: Regenerated.
355
356 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
357             Michael Koch  <konqueror@gmx.de>
358
359         * acconfig.h: Removed.
360         * Makefile.am: Rename variables for xlib peer to include xlib and
361         gtk_c_headers to gtk_jni_headers.
362         * Makefile.in: Regenerated.
363
364 2004-08-04  Andrew Haley  <aph@redhat.com>
365
366         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
367         debugging.
368
369 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
370
371         * configure.in: Eliminate uses of changequote (mostly by quoting []).
372         Replace most top level 'dnl' comments with '#' comments, conforming
373         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
374         help strings.
375         * configure: Rebuilt.
376
377 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
378
379         * acinclude.m4: Include no-executables.m4.
380         * aclocal.m4: Rebuild.
381         * configure.in: Convert to the autoconf 2.59 version of
382         of the no-executables hack, and also of the nonstandard CXX
383         hack and the multilibbed CC and CXX hack.  Change prerequisite
384         to autoconf 2.59.
385         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
386         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
387         testsuite/Makefile.in: Regenerate.
388
389 2004-08-03  Tom Tromey  <tromey@redhat.com>
390
391         * jni.cc: Reindented.
392
393 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
394
395         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
396
397 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
398
399         * testsuite/libjava.compile/PR16701.java: New test.
400
401 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
402
403         * java/util/Collection.java, java/util/List.java,
404         java/util/Map.java, java/util/Set.java,
405         java/util/SortedMap.java, java/util/SortedSet.java:
406         Added additional exceptions to documentation.
407
408 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
409
410         PR libgcj/16814
411         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
412         * configure. Regenerate.
413         * include/win32.h: Explicitly include winsock2.h
414         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
415         Winsock api.
416
417 2004-07-30  Michael Koch  <konqueror@gmx.de>
418
419         * java/util/zip/GZIPInputStream.java
420         (GZIPInputStream): Increase buffer size to 4k.
421         * java/util/zip/GZIPOutputStream.java
422         (GZIPOutputStream): Likewise.
423         * java/util/zip/Inflater.java
424         (setInput): Merged formating with GNU classpath.
425         * java/util/zip/InflaterInputStream.java
426         (InflaterInputStream): Increase buffer size to 4k.
427         (fill): Throw exception if stream ends early.
428         (read): Merged endless-loop with GNU classpath.
429         (skip): Increase buffer size to 2k.
430
431 2004-07-30  Michael Koch  <konqueror@gmx.de>
432
433         * gnu/java/awt/EmbeddedWindow.java
434         (addNotify): Use AccessController to allow execution of privileged
435         code.
436
437 2004-07-29  Michael Koch  <konqueror@gmx.de>
438
439         * gnu/java/lang/MainThread.java:
440         Explicitely import used classes.
441         (args): Make it type String[].
442
443 2004-07-29 Dalibor Topic <robilad@kaffe.org>
444
445         * gnu/java/awt/ComponentDataBlitOp.java,
446         gnu/java/beans/ExplicitBeanInfo.java,
447         gnu/java/beans/IntrospectionIncubator.java,
448         gnu/java/beans/editors/ColorEditor.java,
449         gnu/java/beans/editors/FontEditor.java,
450         gnu/java/beans/editors/NativeBooleanEditor.java,
451         gnu/java/beans/editors/NativeByteEditor.java,
452         gnu/java/beans/editors/NativeDoubleEditor.java,
453         gnu/java/beans/editors/NativeFloatEditor.java,
454         gnu/java/beans/editors/NativeIntEditor.java,
455         gnu/java/beans/editors/NativeLongEditor.java,
456         gnu/java/beans/editors/NativeShortEditor.java,
457         gnu/java/beans/editors/StringEditor.java,
458         gnu/java/io/ClassLoaderObjectInputStream.java,
459         gnu/java/io/decode/Decoder.java,
460         gnu/java/io/encode/Encoder.java,
461         gnu/java/lang/ClassHelper.java,
462         gnu/java/locale/Calendar.java,
463         gnu/java/locale/Calendar_de.java,
464         gnu/java/locale/Calendar_en.java,
465         gnu/java/locale/Calendar_nl.java,
466         gnu/java/locale/LocaleInformation_de.java,
467         gnu/java/locale/LocaleInformation_en.java,
468         gnu/java/locale/LocaleInformation_nl.java:
469         Cleaned up imports.
470
471 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
472
473         * README: Remove obsolete info. Update bug URL.
474         * THANKS: Updated.
475         * NEWS: Updated with news up to GCC 3.4 release.
476
477 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
478
479         * gnu/java/security/action/GetPropertyAction.java (setParameters):
480         Renamed from 'setName'. New 2-argument form with default value.
481         (run): Pass default 'value' parameter to System.getProperty().
482         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
483         typos.
484         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
485         not 'setName'.
486
487 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
488
489         * configure.in: Check for minimum GTK version 2.4 requirement.
490         * configure: Rebuilt.
491
492 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
493
494         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
495         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
496         Reduce sleep time.
497         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
498         compiler bug.
499         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
500         address. Reduce sleep times. Synchronize with target threads before
501         attempting to interrupt them. Don't try to calibrate yeild count,
502         instead, always loop for a fixed time.
503         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
504         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
505         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
506         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
507         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
508         * testsuite/libjava.lang/pr179.java: Likewise.
509         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
510         time. Remove upper bounds check on sleep time. 
511
512 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
513
514         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
515         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
516
517 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
518
519         * java/io/File.java (toURI): Throw RuntimeException, not 
520         InternalError.
521         * java/lang/Runtime.java (exit): Qualify static sleep() call with
522         class name, not instance.
523
524 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
525
526         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
527         and gnu/java/security/action/SetAccessibleAction.java.
528         * Makefile.in: Rebuilt.
529
530 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
531
532         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
533         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
534         _Jv_InitPrimClass.
535         (DECLARE_PRIM_TYPE): Don't declare array vtables.
536         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
537         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
538
539 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
540
541         * Makefile.am: Replace jar, rmic and rmiregistry references with
542         gjar, grmic and grmiregistry.
543         * configure.in: Likewise.
544         * Makefile.in: Regenerate.
545         * configure: Likewise.
546         * gcj/Makefile.in: Likewise.
547         * include/Makefile.in: Likewise.
548         * testsuite/Makefile.in: Likewise.
549
550 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
551
552         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
553         for privileged getProperty calls.
554         * java/io/ObjectOutputStream.java (getField): No longer static. Use
555         SetAccessibleAction instead of anonymous class for doPrivileged call.
556         (getMethod): Likewise.
557         (setAccessible): New field. PrivilegedAction object to use when
558         calling setAccessible.
559         * java/io/ObjectStreamClass.java (calculateOffsets): Use
560         SetAccessibleAction instead of anonymous class for diPrivileged call.
561         (setFields): Likewise.
562         (getClassUID): Likewise.
563         (findMethod): Likewise.
564         * gnu/java/security/action/GetPropertyAction.java: New class.
565         * gnu/java/security/action/SetAccessibleAction.java: New class. 
566
567 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
568
569         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
570         for final fields.
571         * testsuite/libjava.lang/Serialization.java: New test.
572         * testsuite/libjava.lang/Serialization.out: New.
573
574 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
575
576         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
577         missed in last commit.
578
579 2004-07-23  Mark Wielaard  <mark@klomp.org>
580
581         * java/lang/System.java (static): Set http.agent system property when
582         not yet set.
583         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
584         from system property inside AccessController.doPrivileged() call.
585         (proxyPort): Made package private.
586         (proxyInUse): Likewise.
587         (proxyHost): Likewise.
588         (userAgent): Likewise.
589
590 2004-07-23  Mark Wielaard  <mark@klomp.org>
591
592         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
593         implementation.
594
595 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
596
597         * Makefile.am (ordinary_java_source_files): Add
598         DefaultContentHandlerFactory.java.
599         * Makefile.in: Rebuilt.
600         * java/net/URLConnection.java (defaultFactory): New field.
601         (getContent): 
602         (getContentHandler): Renamed from 'setContentHandler'. Try 
603         defaultFactory after user-set factory, if any. Search for content 
604         handler implementations in gnu.java.net.content, not gnu.gcj.content.
605         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
606         Implemented.
607         (getLastModified): Implemented.
608         (getPermission): Create file permission here, instead of in
609         constructor.
610         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
611         Implemented.
612         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
613         Implemented.
614         (getLastModified): Implemented.
615         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
616         Default implementation.
617         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
618         Implement using GdkPixbufDecoder.
619         
620 2004-07-21  Michael Koch  <konqueror@gmx.de>
621
622         * javax/swing/JTextArea.java
623         (setLineWrap): Fire property change event after new value is set.
624         (setTabSize): Likewise.
625
626 2004-07-21  Michael Koch  <konqueror@gmx.de>
627
628         * javax/swing/JTable.java
629         (autoCreateColumnsFromModel): New field.
630         (autoResizeMode): Likewise.
631         (cellEditor): Likewise.
632         (cellSelectionEnabled): Likewise.
633         (columnModel): Likewise.
634         (dataModel): Likewise.
635         (defaultEditorsByColumnClass): Likewise.
636         (defaultRenderersByColumnClass): Likewise.
637         (editingColumn): Likewise.
638         (editingRow): Likewise.
639         (gridColor): Likewise.
640         (preferredViewportSize): Likewise.
641         (rowHeight): Likewise.
642         (rowMargin): Likewise.
643         (rowSelectionAllowed): Likewise.
644         (selectionBackground): Likewise.
645         (selectionForeground): Likewise.
646         (selectionModel): Likewise.
647         (showHorizontalLines): Likewise.
648         (showVerticalLines): Likewise.
649         (tableHeader): Likewise.
650         (JTable): Implemented.
651         (getColumnModel): Likewise.
652         (getSelectedRow): Likewise.
653         (getSelectionModel): Likewise.
654         (setModel): Likewise.
655         (setSelectionModel): Likewise.
656         (createScrollPaneForTable): New method.
657         (createDefaultDataModel): Likewise.
658         (createDefaultListSelectionModel): Likewise.
659         (getModel): Likewise.
660         (getTableHeader): Likewise.
661         (setTableHeader): Likewise.
662         (getColumnSelectionAllowed): Likewise.
663         (setColumnSelectionAllowed): Likewise.
664         (getRowSelectionAllowed): Likewise.
665         (setRowSelectionAllowed): Likewise.
666         (getAutoResizeMode): Likewise.
667         (setAutoResizeMode): Likewise.
668         (getColumnCount): Likewise.
669         (getRowCount): Likewise.
670         (getCellRenderer): Likewise.
671         * javax/swing/JTree.java
672         (cellRenderer): New field.
673         (editable): Likewise.
674         (rootVisible): Likewise.
675         (showsRootHandles): Likewise.
676         (getModel): New method.
677         (setModel): Likewise.
678         (isEditable): Likewise.
679         (setEditable): Likewise.
680         (isRootVisbile): Likewise.
681         (setRootVisible): Likewise.
682         (getShowsRootHandles): Likewise.
683         (setShowRootHandles): Likewise.
684         (getCellRenderer): Likewise.
685         (setCellRenderer): Likewise.
686
687 2004-07-21  Michael Koch  <konqueror@gmx.de>
688
689         * javax/swing/JFormattedTextField.java
690         (setDocument): Implemented.
691         * javax/swing/JRootPane.java:
692         Fixed javadocs.
693         * javax/swing/JTable.java
694         (getDefaultRenderer): New method.
695         * javax/swing/JTextField.java
696         (setFont): Likewise.
697         (getPreferredSize): Likewise.
698         * javax/swing/JToggleButton.java
699         (getAccessibleContext): Fix javadoc.
700         * javax/swing/JTree.java:
701         Add some javadocs.
702         * javax/swing/JViewport.java:
703         Likewise.
704
705 2004-07-21  David Jee  <djee@redhat.com>
706
707         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
708         Collect all native method declaration at the top.
709         (create): Set the filename filter if necessary.
710         (setDirectory): Call nativeSetDirectory().
711         (setFilenameFilter): Implement.
712         (filenameFilterCallback): New method.
713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
714         (create): Configure dialog to show hidden files.
715         (filenameFilterCallback): New function. 
716         (nativeSetFilenameFilter): New function.
717         (nativeSetDirectory): New function.
718
719 2004-07-21  Kim Ho  <kho@redhat.com>
720
721         * javax/swing/plaf/basic/BasicSliderUI.java:
722         Ran Jalopy.
723         (paintTrack): Fill the track before painting
724         the borders.
725
726 2004-07-21  Graydon Hoare  <graydon@redhat.com>
727
728         patch from Roman Kennke <roman@ontographics.com>
729         * javax/swing/Spring.java: New file.
730         * javax/swing/SpringLayout.java: New file.
731         * Makefile.am: Add new files.
732         * Makefile.in: Regenerate.
733
734 2004-07-21  Graydon Hoare  <graydon@redhat.com>
735
736         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
737         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
738         * javax/swing/ScrollPaneLayout.java: Likewise.
739
740 2004-07-21  Kim Ho  <kho@redhat.com>
741
742         * javax/swing/DefaultDesktopManager.java:
743         (findMinimum): Removed.
744         (resizeFrame): Trust the UI to pass valid 
745         bounds.
746         * javax/swing/JOptionPane.java:
747         Implemented showInternalXXXDialog methods.
748         (startModal): New method.
749         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
750         (BorderListener::mouseDragged): Verify that the new 
751         bounds are valid before passing them to the DesktopManager.
752         (preferredLayoutSize): Delegate
753         to getSize.
754         (minimumLayoutSize): Ditto.
755         (getSize): New method.
756         (GlassPaneDispatcher): Reimplemented by copying 
757         a stripped down LightweightDispatcher from Container.
758         (getMinimumSize): Call minimumLayoutSize.
759         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
760         Ran Jalopy.
761         (mousePressed): Add ability to properly close 
762         JInternalFrames.
763         * javax/swing/plaf/basic/BasicToolBarUI.java:
764         (DragWindow): Set owner for DragWindow.
765
766 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
767
768         * java/awt/image/ShortLookupTable.java: New file.
769         * java/awt/image/ByteLookupTable.java: New file.
770         * Makefile.am: Added new files.
771         * Makefile.in: Regenerated.
772
773 2004-07-21  David Jee  <djee@redhat.com>
774
775         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
776         (create(GtkContainerPeer)): New native method.
777         (create()): Call native create(), passing in the parent frame
778         as the paramter. Natively set the current file and directory.
779         (setFile): Construct an absolute filename before passing it to
780         the native peer.
781         (nativeGetDirectory): New method.
782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
783         (window_closed): Removed.
784         (ok_clicked): Likewise.
785         (cancel_clicked): Likewise.
786         (handle_response): New method.
787         (create): Use GtkFileChooserDialog.
788         (connectSignals): Connect to handle_response.
789         (nativeGetDirectory): New method.
790         (nativeSetFile): Use GtkFileChooserDialog.
791
792 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
793
794         * java/awt/image/LookupTable.java: New file.
795         * Makefile.am: Added new file.
796         * Makefile.in: Regenerated.
797
798 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
799
800         * java/awt/image/Kernel.java: New file.
801         * Makefile.am: Added new file.
802         * Makefile.in: Regenerated.
803
804 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
805
806         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
807         * javax/swing/JMenu.java: Likewise.
808         * javax/swing/JMenuBar.java: Likewise.
809         (MARGIN_CHANGED_PROPERTY): New property.
810         (setMargin): Implemented.
811         * javax/swing/JMenuItem.java: Fixed javadocs.
812         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
813         (LABEL_CHANGED_PROPERTY): New property.
814         (add): changed to use createActionComponent.
815         (createActionComponent): Implemented.   
816         (setLabel): Fire PropertyChangeEvent if label property
817         changes.
818         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
819         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
820         (ContainerHandler): Repaint if margin property has changed.
821         * javax/swing/plaf/basic/BasicMenuItemUI.java:
822         (installUI): Call installComponents().
823         (uninstallUI): Call uinstallComponents().
824         * javax/swing/plaf/basic/BasicMenuUI.java:
825         Fixed javadocs.
826         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
827         Likewise.
828
829 2004-07-21  Kim Ho  <kho@redhat.com>
830
831         * javax/swing/plaf/basic/BasicToolBarUI.java:
832         (DragWindow): Use the right constructor.
833
834 2004-07-21  Kim Ho  <kho@redhat.com>
835
836         * javax/swing/JToolBar.java:
837         (layoutContainer): Use getComponents.
838         * javax/swing/plaf/basic/BasicToolBarUI.java:
839         (DragWindow): Don't use SwingUtilities' 
840         getOwnerFrame
841         (ToolBarDialog): ditto.
842
843 2004-07-21  Kim Ho  <kho@redhat.com>
844
845         * javax/swing/JRootPane.java:
846         Ran jalopy.
847         (layoutContainer): Set the glasspane's size to 
848         be the same as the content pane.
849         (createGlassPane): Set opaque property to false.
850
851 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
852
853         * java/awt/Component.java (requestFocus()): Don't handle Panels
854         specially.
855         (requestFocus(boolean)): Likewise.
856         (requestFocusInWindow(boolean)): Likewise.
857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
858         Set GTK_CAN_FOCUS flag.
859
860 2004-07-21  Kim Ho  <kho@redhat.com>
861
862         * Makefile.am: Added new file.
863         * Makefile.in: Regenerated.
864         * gcj/Makefile.in: Regenerated.
865         * include/Makefile.in: Regenerated.
866         * javax/swing/AbstractButton.java:
867         Add rollOverEnabled property.
868         (setRolloverEnabled): Use new property.
869         (isRolloverEnabled): Use new property.
870         * javax/swing/JTabbedPane.java:
871         (setComponent): Remove useless JTabbedPane.this.
872         * javax/swing/JToolBar.java: Finish implementation.
873         * javax/swing/plaf/basic/BasicArrowButton.java:
874         (paint): Moved border painting to a border.
875         * javax/swing/plaf/basic/BasicLookAndFeel.java:
876         Change JToolBar look and feel defaults.
877         * javax/swing/plaf/basic/BasicOptionPaneUI.java
878         (actionPerformed): Return Integer index instead of name.
879         (addButtonComponents): Check to see if component is
880         JButton last.
881         (createMessageArea): Don't use components that are not
882         completed yet.
883         (getIconForType): Use temporary icons.
884         * javax/swing/plaf/basic/BasicSliderUI.java:
885         (mousePressed): Do not return if it's on thumb.
886         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
887         (paintMinorTickForVertSlider): ditto.
888         (paintMajorTickForHorizSlider): ditto.
889         (paintMajorTickForVertSlider): ditto.
890         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
891         Add a border around the SplitPaneDivider.
892         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
893         Remove comments.
894         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
895         New file. Implemented.
896         * javax/swing/plaf/basic/BasicToolBarUI.java:
897         Implemented.
898         * testsuite/Makefile.in: Regenerated.
899
900 2004-07-21  Graydon Hoare  <graydon@redhat.com>
901
902         * javax/swing/Timer.java (run): Queue events each time cycle.
903
904 2004-07-21  David Jee  <djee@redhat.com>
905
906         * gnu/java/awt/peer/gtk/GtkImagePainter.java
907         (imageComplete): Call image.imageComplete().
908         * java/awt/image/MemoryImageSource.java:
909         Reimplement consumers as a Vector instead of a Hashtable.  This is
910         because enumeration on a Hashtable is not thread-safe.
911         (addConsumer): Adapt to Vector consumers.
912         (isConsumer): Adapt to Vector consumers.
913         (removeConsumer): Adapt to Vector consumers.
914         (startProduction): Adapt to Vector consumers. Call imageComplete()
915         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
916         (newPixels): Adapt to Vector consumers.
917         (sendPicture): Set the color model of the image consumer.
918         (newPixels(IIII)): Adapt to Vector consumers.
919         (newPixels(IIIIB)): Adapt to Vector consumers.
920
921 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
922
923         * java/awt/Component.java (deliverEvent): Implement.
924         (postEvent): Implement.
925         (handleEvent): Implement.
926         (translateEvent): New method.
927         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
928         * java/awt/Container.java (deliverEvent): Implement.
929         * java/awt/Event.java (paramString): Fix formatting.
930         * java/awt/Font.java (toString): Likewise.
931         * java/awt/Window.java (postEvent): Implement.
932
933 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
934
935         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
936         Set window's focus owner upon receiving a FOCUS_LOST event.
937         * java/awt/Window.java (Window()): Refocus the previously
938         focused component within the window when the window regains the
939         top-level focus.
940         (setFocusOwner): New method.
941         * java/awt/Component.java (requestFocus): Add FIXME.
942
943         * libgcj.pc.in: Remove library flags.
944
945 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
946
947         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
948         MOUSE_PRESSED event.
949         * java/awt/Component.java (requestFocus()): Handle Panel
950         specially.  Post FOCUS_LOST event on opposite component.
951         (requestFocus(boolean)): Likewise.
952         (requestFocusInWindow(boolean)): Likewise.
953         (paramString): Reorder dimension fields.
954         * java/awt/Container.java (paramString): Fix string format.
955         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
956         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
957         process key events if the focus owner is non-null.
958         (dispatchKeyEvent): Likewise.
959         * java/awt/Frame.java (paramString): Fix formatting.
960         (generateName): New method.
961         (getUniqueLong): Likewise.
962         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
963         the temporary focus owner is null.  If so, return the permanent
964         focus owner.
965         * java/awt/Panel.java (generateName): New method.
966         (getUniqueLong): Likewise.
967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
968         signal handling to make callbacks more specific.
969
970 2004-07-21  Michael Koch  <konqueror@gmx.de>
971
972         * javax/swing/text/Position.java
973         (Bias): Implemented.
974
975 2004-07-21  Michael Koch  <konqueror@gmx.de>
976
977         * javax/swing/LookAndFeel.java
978         (provideErrorFeedback): New method.
979
980 2004-07-21  Michael Koch  <konqueror@gmx.de>
981
982         * javax/swing/JTextArea.java
983         (tabSize): New field.
984         (getTabSize): New method.
985         (setTabSize): Likewise.
986
987 2004-07-21  Michael Koch  <konqueror@gmx.de>
988
989         * javax/swing/ActionMap.java:
990         Fixed javadocs all over.
991         (serialVersionUID): Made private.
992         (parent): Don't explicitely initialize with default value.
993         (get): SImplified.
994         (keys): Reimplemented.
995         (allKeys): Likewise.
996         (convertSet): Removed.
997         * javax/swing/ComponentInputMap.java:
998         Fixed javadocs all over.
999         (ComponentInputMap): Implemented.
1000         (put): Likewise.
1001         (clear): Likewise.
1002         (remove): Likewise.
1003         (SetParent): Likewise.
1004         (getComponent): Likewise.
1005         * javax/swing/InputMap.java:
1006         Fixed javadocs all over.
1007         (serialVersionUID): Made private.
1008         (parent): Don't explicitely initialize with default value.
1009         (get): SImplified.
1010         (keys): Reimplemented.
1011         (allKeys): Likewise.
1012         (convertSet): Removed.
1013
1014 2004-07-21  Michael Koch  <konqueror@gmx.de>
1015
1016         * javax/swing/ActionMap.java,
1017         javax/swing/ComponentInputMap.java,
1018         javax/swing/InputMap.java,
1019         javax/swing/table/DefaultTableColumnModel.java,
1020         javax/swing/table/TableColumn.java,
1021         javax/swing/table/TableColumnModel.java,
1022         javax/swing/table/TableModel.java,
1023         javax/swing/text/AbstractDocument.java,
1024         javax/swing/text/TextAction.java:
1025         Reformated.
1026
1027 2004-07-21  Graydon Hoare  <graydon@redhat.com>
1028
1029         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
1030         Make method non-static.
1031         * javax/swing/AbstractButton.java:
1032         Rename fields to match property names where possible.
1033         (iconTextGap): New property.
1034         * javax/swing/JCheckBox.java: Match AbstractButton changes.
1035         (init) New method, call from after various constructors.
1036         * javax/swing/JComponent.java (revalidate): 
1037         Invalidate before queueing repair.
1038         * javax/swing/JList.java (getPreferredScrollableViewportSize):
1039         Reimplement in terms of visibleRowCount property.
1040         * javax/swing/JMenuButton.java: Match AbstractButton changes.
1041         * javax/swing/JScrollPane.java (createScrollListener): 
1042         Remove tracing chatter.
1043         * javax/swing/JToggleButton.java: Match AbstractButton changes.
1044         * javax/swing/RepaintManager.java (addInvalidComponent): 
1045         Don't invalidate.
1046         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
1047         calculations.
1048         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
1049         Mimic sun behavior on top left/right positioning.
1050         * javax/swing/ViewportLayout.java (preferredLayoutSize):
1051         Remove mistaken use of preferredScrollableViewportSize here.
1052         (layoutContainer): Use view's preferred size as basis.
1053         * javax/swing/plaf/basic/BasicButtonUI.java:
1054         Set, get, and use textIconGap property.
1055         (paint) Paint text returned from layout (with ellipsis).
1056         * javax/swing/plaf/basic/BasicListUI.java:
1057         Remove tracing chatter, correct various minor calculations.
1058         (getCellBounds): Update layout state before calculating.
1059         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
1060         Use margin default similar to sun's.    
1061         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
1062         (createIncreaseIcon): Center icon, minimize margins.
1063         (createDecreaseIcon): Likewise.
1064         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
1065         Implement.
1066         (installUI): Call it.
1067         (uninstallDefaults): Implement.
1068         (uninstallUI): Call it.
1069         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
1070         Call existing Window constructor.
1071         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
1072         Set clip before painting.
1073
1074 2004-07-21  Olga Rodimina <rodimina@redhat.com>
1075         
1076         * javax/swing/JMenuItem.java:
1077         (processMouseEvent): Reimplemented to deal with
1078         mouse drag events.
1079         (createMenuDragMouseEvent): New private helper method.
1080         Creates MenuDragMouseEvent.
1081         * javax/swing/MenuSelectionManager.java
1082         (componentForPoint): Implemented.
1083         (isComponentPartOfCurrentMenu): Made public.
1084         (processMouseEvent): Reimplemented to deal with 
1085         mouse drag events.
1086         (setSelectedPath): Corrected small mistake that caused
1087         path to be set incorrectly.
1088         (getPath): If given component is JMenu then also add this
1089         menu's popup menu to the selected path.
1090         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1091         (getPath): Ditto.
1092         (getPreferredSize): Call getPreferredMenuItemSize().
1093         (getPreferredItemSize): Moved code from getPreferredSize to here.
1094         (installListeners): Install MouseMotionListeners.
1095         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
1096         if mouse wasn't released in the bounds of this menu item.
1097         (MenuDragMouseHandler): Implemented.
1098         * javax/swing/plaf/basic/BasicMenuUI.java:
1099         (installListeners): Install MouseMotionListener and 
1100         MenuDrageMouseListener.
1101         (MenuDragMouseHandler): Implemented.
1102         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1103         (uninstallListeners): Implemented.
1104         
1105 2004-07-21  Michael Koch  <konqueror@gmx.de>
1106
1107         * javax/swing/JCheckBox.java: Reformated.
1108         (JCheckBox): Fixed all constructors.
1109         (isBorderPaintedFlat): New method.
1110         (setBorderPaintedFlat): New method.
1111         * javax/swing/JEditorPane.java
1112         (createEditorKitForContentType): Made public.
1113         (scrollToReference): Likewise.
1114         * javax/swing/JTextArea.java
1115         (setLineWrap): Fire property change.
1116         * javax/swing/JToggleButton.java
1117         (JToggleButton): New constructor.
1118         (JToggleButton): Simplified.
1119         * javax/swing/text/AttributeSet.java
1120         (FontAttribute): Renamed from FontCharacterAttribute.
1121         * javax/swing/text/JTextComponent.java
1122         (KeyBinBinding): Added javadoc.
1123         (JTextComponent): Likewise.
1124         (getAccessibleContext): Fixed javadoc.
1125         * javax/swing/text/View.java
1126         (View): Added javadoc.
1127         * javax/swing/text/TabableView.java: New file.
1128         * Makefile.am: Added javax/swing/text/TabableView.java.
1129         * Makefile.in: Regenerated.
1130
1131 2004-07-21  Graydon Hoare  <graydon@redhat.com>
1132
1133         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
1134         * gnu/java/awt/peer/gtk/GtkToolkit.java 
1135         (GtkErrorImage): New helper class.
1136         (bufferedImageOrError): New helper method.
1137         (createImage): Use it.
1138
1139 2004-07-21  David Jee  <djee@redhat.com>
1140
1141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1142         (setCaretPosition): Scroll the text view so the new caret position
1143         is visible on screen.
1144
1145 2004-07-21  David Jee  <djee@redhat.com>
1146
1147         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
1148         (setBounds): Do not validate awtComponent here.
1149         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1150         (getPreferredSize): New method.
1151         * java/awt/ScrollPane.java
1152         (ScrollPane): Set default size to 100x100.
1153         (addNotify): If child is not a Panel, wrap it with a new Panel.
1154         (paramString): Implement.
1155
1156 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1157
1158         * javax/swing/JMenu.java:
1159         (setSelected): Display popup menu only if this menu 
1160         is showing on the screen.
1161         * javax/swing/JPopupMenu.java:
1162         (processMouseEvent): Added comment.
1163         (processKeyEvent): Likewise.
1164         * javax/swing/MenuSelectionManager.java:
1165         (clearSelectedPath): Only fireStateChanged() after
1166         selected path was changed, not before.
1167         (setSelectedPath): Likewise.
1168         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1169         (paintMenuItem): Corrected position of menu item's
1170         icon.
1171         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1172         (installUI): Correct setDefaultLightWeightPopupEnabled call.
1173         (popupMenuCanceled): Reimplemented.
1174         (popupMenuWillBecomeVisible): Select first menu item by default 
1175         when displaying free floating popup menus.
1176         (TopWindowListener): Reimplemented.
1177
1178 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1179
1180         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
1181         Panel from being painted twice when it is first shown.
1182
1183 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1184
1185         * java/awt/Window.java: Reverted changes from my 
1186         previous patch for creating window without an owner.
1187         * javax/swing/SwingUtilities.java: 
1188         (SwingUtilities.OwnerFrame): made static.
1189         (OwnerFrame.setVisible): New method. Overridden with
1190         empty implementation.
1191         (OwnerFrame.isShowing): New method. Ovverridden
1192         to return always true.
1193
1194 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1195
1196         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1197         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1198         (GtkComponentPeer): Remove temporary try/catch block.
1199         (setVisible): Call show and hide.
1200         (show): Make native.
1201         (hide): Likewise.
1202         (getArgs): Don't add "visible" argument.
1203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1204         (property_notify_predicate): Return Bool instead of int.
1205         (find_layout): New function.
1206         (connectJObject): Call find_layout.
1207         (connectSignals): Likewise.
1208         (moveLayout): Likewise.
1209         (gtkLayoutSetVisible): Likewise.
1210
1211 2004-07-21  Mark Wielaard  <mark@klomp.org>
1212
1213         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1214         on notifier object before calling notifyAll().
1215
1216 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1217
1218         * java/awt/Window.java: Changed constructors to use new
1219         method that is described below. Constructors call this
1220         methods only if newly created window should have an owner.
1221         (setWindowOwner): New method. Implementation for
1222         this method is moved from this(owner,configuration).
1223         * javax/swing/JWindow.java:
1224         (JWindow): Reimplement to use SwingUtilities.ownerFrame
1225         instead of owner.
1226         * javax/swing/SwingUtilities.java:
1227         (ownerFrame): Change type of this field to OwnerFrame.
1228         (getOwnerFrame): Changed to return object of type OwnerFrame.
1229         (SwingUtilities.OwnerFrame): New class. Represents owner
1230         of a Window that is not provided with one.
1231
1232 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1233
1234         *  javax/swing/AbstractButton.java: 
1235         (configurePropertiesFromAction): Set action command
1236         to button's text by default if action command is not 
1237         explicitely specified.
1238         * javax/swing/JMenu.java: Remove unnecessary listener
1239         and methods relevant to it.
1240         (setSelected): Reimplemented.
1241         (menuSelectionChanged): Moved most part of implementation to
1242         setSelected() and call it instead.
1243         * javax/swing/JMenuItem.java: 
1244         (init): Comment out statement that sets paint_border to false.
1245         (configurePropertiesFromAction): Do not set accelerator
1246         for JMenu.
1247         (menuSelectionChanged): Change selected index in the selection
1248         model of menu item's parent.
1249         * javax/swing/JPopupMenu.java:
1250         (remove): Set constraints.fill field to GridBagConstraints.BOTH
1251         instead of GridBagConstraints.HORIZONTAL.
1252         (insert): Likewise.
1253         (createActionChangeListener): Implemented.
1254         (setVisible): Correct location of HeavyWeightMenu and 
1255         don't firePopupMenuCanceled().
1256         (menuSelectionChanged): Implemented.
1257         (ActionChangeListener): New Listener. Implemented.
1258         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1259         (BasicMenuBarUI.ContainerHandler): Implemented.
1260         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1261         (paintMenuItem): Uncommented out code that paints 
1262         icon, now that icons are working properly.
1263         (PropertyChangeListener): Implemented.
1264         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1265         Added javadocs.
1266         (topWindowListener): New field.
1267         (Constructor): initialize topWindowListener.
1268         (BasicPopupMenuUI.TopWindowListener): Implemented.      
1269         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
1270         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
1271         Implemented.
1272
1273 2004-07-21  Michael Koch  <konqueror@gmx.de>
1274
1275         * javax/swing/plaf/basic/BasicButtonUI.java
1276         (paintFocus): Fixed method signature.
1277         (paintButtonPressed): Likewise.
1278         (paintButtonNormal): Likewise.
1279         (paintText): New method.
1280         * javax/swing/plaf/basic/BasicLabelUI.java
1281         (paint): Re-indented.
1282         * javax/swing/plaf/basic/BasicTextUI.java
1283         (installUI): Set parent textComponent to opaque.
1284         * javax/swing/text/DefaultHighlighter.java
1285         (checkPositions): New helper method.
1286         (addHighlight): Throws BadLocationException, check positions.
1287         (changeHighlight): Likewise.
1288         * javax/swing/text/EditorKit.java
1289         (EditorKit): Implements Serializable.
1290         * javax/swing/text/JTextComponent.java
1291         (getUI): Added javadoc.
1292         (setUI): Likewise.
1293         (upadteUI): Added javadoc, don't revalidate and repaint.
1294
1295 2004-07-21  David Jee  <djee@redhat.com>
1296
1297         * java/awt/GridBagLayout.java
1298         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
1299         * javax/swing/AbstractButton.java
1300         (setText): Reindent.
1301         * javax/swing/RepaintManager.java
1302         (addInvalidComponent): Find the first ancestor that isValidateRoot().
1303
1304 2004-07-21  Michael Koch  <konqueror@gmx.de>
1305
1306         * javax/swing/JFormattedTextField.java
1307         (value): New field.
1308         (JFormattedTextField): Implemented.
1309         (getValue): Likewise.
1310         (setValue): Likewise.
1311         * javax/swing/LookAndFeel.java
1312         (getSupportsWindowDecorations): New method.
1313         * javax/swing/UIDefaults.java:
1314         Use java.beans.PropertyChangeSupport instead of doing all ourself.
1315         (addPropertyChangeListener): Made public.
1316         (addResourceBundle): Likewise.
1317         (removeResourceBundle): Likewise.
1318         (setDefaultLocale): Likewise.
1319         * javax/swing/plaf/basic/BasicRootPaneUI.java
1320         (BasicRootPaneUI): Implements PropertyChangeListener.
1321         (propertyChange): New method.
1322         * javax/swing/plaf/basic/BasicTextUI.java
1323         (BasicHighlighter): New inner class.
1324         (createHighlighter): New method.
1325         * javax/swing/plaf/basic/BasicToolBarUI.java
1326         (DragWindow): Extends java.awt.Window.
1327         * javax/swing/text/JTextComponent.java
1328         (getDocument): Removed debug output.
1329         * javax/swing/plaf/basic/BasicTextFieldUI.java,
1330         javax/swing/text/DefaultHighlighter.java,
1331         javax/swing/text/FieldView.java,
1332         javax/swing/text/PlainView.java: New files.
1333         * Makefile.am: Added new files.
1334         * Makefile.in: Regenerated.
1335
1336 2004-07-21  Michael Koch  <konqueror@gmx.de>
1337
1338         * javax/swing/JEditorPane.java
1339         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
1340         (createEditorKitForContentType): Likewise.
1341         * javax/swing/text/DefaultEditorKit.java
1342         (serialVersionUID): Added constant field.
1343         (EndOfLineStringPropery): Fixed typo.
1344         (DefaultEditorKit): New constructor.
1345         * javax/swing/text/Segment.java:
1346         Import java.text.CharacterIterator.
1347         * javax/swing/text/CharacterIterator.java,
1348         javax/swing/text/PlainEditorKit.java: Removed.
1349         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
1350         javax/swing/text/PlainEditorKit.java.
1351         * Makefile.in: Regenerated.
1352
1353 2004-07-21  Michael Koch  <konqueror@gmx.de>
1354
1355         * javax/swing/JButton.java,
1356         javax/swing/text/DefaultEditorKit.java,
1357         javax/swing/text/EditorKit.java,
1358         javax/swing/text/Segment.java,
1359         javax/swing/text/StyledEditorKit.java:
1360         Reformatted.
1361
1362 2004-07-21  Michael Koch  <konqueror@gmx.de>
1363
1364         * javax/swing/ImageIcon.java
1365         (file): Removed.
1366         (description): Renamed from descr.
1367         (ImageIcon): Added missing constructors.
1368         (setParent): Removed.
1369         (setImageObserver): New method.
1370         (getImageObserver): New method.
1371         (paintIcon): Handle observer = null.
1372         * javax/swing/JButton.java
1373         (removeNotify): Fixed javadoc.
1374         (updateUI): Simplified.
1375         * javax/swing/JRootPane.java
1376         (serialVersionUID): New constant field.
1377         * javax/swing/UIManager.java:
1378         Fixed javadocs all over.
1379         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
1380         * javax/swing/text/AbstractDocument.java
1381         (createPosition): Throws BadLocationException.
1382         (getText): Likewise.
1383         (remove): Likewise.
1384         * javax/swing/text/ComponentView.java
1385         (modelToView): Likewise.
1386         * javax/swing/text/DefaultEditorKit.java:
1387         Made all public methods public.
1388         (read): Throws BadLocationException and IOException.
1389         (write): Likewise.
1390         * javax/swing/text/EditorKit.java:
1391         Made all public methods public.
1392         (serialVersionUID): New constant field.
1393         (clone): New method.
1394         (read): Throws BadLocationException and IOException.
1395         (write): Likewise.
1396         * javax/swing/text/Segment.java
1397         (array): Made public.
1398         (count): Likewise.
1399         (offset): Likewise.
1400         (Segment): New constructors.
1401         (clone): Reimplemented.
1402         * javax/swing/text/StyledEditorKit.java
1403         (serialVersionUID): New constant field.
1404
1405 2004-07-21  Graydon Hoare  <graydon@redhat.com>
1406
1407         * java/awt/image/BufferedImage.java 
1408         (getSource): Implement.
1409         * javax/swing/ImageIcon.java 
1410         (ImageIcon): Implement ctor.
1411         * javax/swing/ScrollPaneLayout.java 
1412         (preferredLayoutSize): Be more careful about nulls.
1413
1414 2004-07-21  Michael Koch  <konqueror@gmx.de>
1415
1416         * javax/swing/text/AttributeSet.java
1417         (CharacterAttribute): New interface
1418         (ColorAttribute): Likewise.
1419         (FontCharacterAttribute): Likewise.
1420         (ParagraphAttribute): Likewise.
1421         * javax/swing/text/DefaultCaret.java
1422         (moveCaret): New method.
1423         (positionCaret): Likewise.
1424         (repaint): Made protected.
1425         * javax/swing/text/JTextComponent.java
1426         (KeyBinding): Made it static.
1427         * javax/swing/text/View.java
1428         (getContainer): Honor parent == null.
1429
1430 2004-07-21  Michael Koch  <konqueror@gmx.de>
1431
1432         * javax/swing/text/AbstractDocument.java:
1433         Reformatted.
1434
1435 2004-07-21  Michael Koch  <konqueror@gmx.de>
1436
1437         * javax/swing/plaf/basic/BasicRootPaneUI.java:
1438         Import javax.swing.UIManager explicitely.
1439         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
1440         (ScrollingButton): Made it static.
1441
1442 2004-07-21  Michael Koch  <konqueror@gmx.de>
1443
1444         * javax/swing/UIDefaults.java
1445         (ActiveValue): Made public.
1446         (LazyValue): Likewise.
1447         * javax/swing/plaf/basic/BasicTextUI.java
1448         (RootView): Reintroduced.
1449         (view): Removed.
1450         (rootView): New field.
1451         (installUI): Create document if needed, initialize rootView.
1452         (uninstallUI): Hanle rootView.
1453         (paint): Likewise.
1454         (getRootView): Likewise.
1455         (setView): Likewise.
1456         * javax/swing/text/DefaultCaret.java:
1457         Renamed all "evt" variables to "event".
1458
1459 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1460
1461         * libgcj.spec.in: Add -l-java-util-logging.
1462
1463 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
1464
1465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1466         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
1467         gtk-xft-dpi can no calculate the right value.
1468         (dpi_changed_cb): Mark *pspec as unsused.
1469
1470 2004-07-21  David Jee  <djee@redhat.com>
1471
1472         * java/awt/Component.java
1473         (move): Delegate to setBounds().
1474         (resize): Likewise.
1475         (reshape): Fix so it repaints parent and self only when necessary.
1476
1477 2004-07-21  David Jee  <djee@redhat.com>
1478
1479         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1480         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1481         (GtkComponentPeer): Revert previous patch from 2004-06-22.
1482         (setVisible): Likewise.
1483         (show): Likewise.
1484         (hide): Likewise.
1485         (getArgs): Likewise.
1486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1487         (property_notify_predicate): Likewise.
1488         (find_layout): Likewise.
1489         (connectJObject): Likewise.
1490         (connectSignals): Likewise.
1491         (moveLayout): Likewise.
1492         (gtkLayoutSetVisible): Likewise.
1493
1494 2004-07-21  Graydon Hoare  <graydon@redhat.com>
1495
1496         * Makefile.am
1497         (jv_convert_LDADD):
1498         (gij_LDADD):
1499         (rmic_LDADD):
1500         (rmiregistry_LDADD): Add lib-java-util-logging.la
1501         * Makefile.in: Regenerate.
1502
1503 2004-07-21  Michael Koch  <konqueror@gmx.de>
1504
1505         * javax/swing/text/AbstractDocument.java
1506         (replace): Dont use protected method of java.util.Vector directly.
1507
1508 2004-07-21  Michael Koch  <konqueror@gmx.de>
1509
1510         * javax/swing/plaf/basic/BasicTextUI.java
1511         (installUI): Call specialized install methods.
1512         (installDefaults): New method.
1513         (installListeners): Likewise.
1514         (installKeyboardActions): Likewise.
1515         (uninstallUI): Likewise.
1516         (uninstallDefaults): New method.
1517         (uninstallListeners): Likewise.
1518         (uninstallKeyboardActions): Likewise.
1519         (getPropertyPrefix): New abstract method.
1520         (paint): Made final, just call paintSafely().
1521         (paintSavely): New method.
1522         (paintBackground): Likewise.
1523         (getVisibleEditorRect): Likewise.
1524         * javax/swing/text/LayeredHighlighter.java,
1525         javax/swing/text/TabExpander.java: New files.
1526         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
1527         and javax/swing/text/TabExpander.java.
1528         * Makefile.in: Regenerated.
1529
1530 2004-07-21  Michael Koch  <konqueror@gmx.de>
1531
1532         * javax/swing/plaf/basic/BasicTextUI.java
1533         (BasicTextUI): Made abstract.
1534         (BasicCaret): New inner class.
1535         (view): Don't explicitely initialize with "null".
1536         (textComponent): New field.
1537         (textColor): Removed.
1538         (disabledTextColor): Removed.
1539         (normalBackgroundColor): Removed.
1540         (RootView): Removed commented out inner class.
1541         (createUI): Removed.
1542         (createCaret): New method.
1543         (getComponent): Likewise.
1544         (installUI): Initialize textComponent only.
1545         (getPreferredSize): Use installed JTextComponent.
1546         (setView): New method.
1547         (create): Likewise.
1548         * javax/swing/text/JTextComponent.java
1549         (highlighter): New field.
1550         (caretColor): Likewise.
1551         (disabledTextColor): Likewise.
1552         (seletedTextColor): Likewise.
1553         (selectionColor): Likewise.
1554         (setUI): New method.
1555         (getCaretColor): Likewise.
1556         (setCaretColor): Likewise.
1557         (getDisabledColor): Likewise.
1558         (setDisabledColor): Likewise.
1559         (getSelectedTextColor): Likewise.
1560         (setSelectedTextColor): Likewise.
1561         (getSelectionColor): Likewise.
1562         (setSelectionColor): Likewise.
1563         (getHighlighter): Likewise.
1564         (setHighlighter): Likewise.
1565         (replaceSelection): Likewise.
1566
1567 2004-07-21  Michael Koch  <konqueror@gmx.de>
1568
1569         * javax/swing/plaf/basic/BasicScrollPaneUI.java
1570         (BasicScrollPaneUI): Implements ScrollPaneConstants.
1571         * javax/swing/plaf/basic/BasicToolBarUI.java
1572         (BasicToolBarUI): Implements SwingConstants.
1573
1574 2004-07-21  Michael Koch  <konqueror@gmx.de>
1575
1576         * javax/swing/JPopupMenu.java: Removed CVS tags.
1577         * javax/swing/UIDefaults.java: Reformatted.
1578         * javax/swing/plaf/basic/BasicRootPaneUI.java:
1579         Explicitely import used classes.
1580
1581 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
1582
1583         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1584         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1585         (GtkComponentPeer): Remove temporary try/catch block.
1586         (setVisible): Call show and hide.
1587         (show): Make native.
1588         (hide): Likewise.
1589         (getArgs): Don't add "visible" argument.
1590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1591         (property_notify_predicate): Return Bool instead of int.
1592         (find_layout): New function.
1593         (connectJObject): Call find_layout.
1594         (connectSignals): Likewise.
1595         (moveLayout): Likewise.
1596         (gtkLayoutSetVisible): Likewise.
1597
1598 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1599
1600         * javax/swing/AbstractButton.java:
1601         (setDisplayedMnemonicIndex): Check if button
1602         text is not null before checking its length.
1603         * javax/swing/JMenuItem.java:
1604         (processMouseEvent): Disarm menu item if mouse has
1605         exited it.
1606         * javax/swing/plaf/basic/BasicMenuUI.java:
1607         (MouseInputHandler.mouseEntered): Do not raise
1608         popup menu if this menu is already selected.
1609         (MouseInputHandler.mousePressed): Do not fire 
1610         MenuEvents.
1611         (MenuHandler): Implemented.     
1612
1613 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1614
1615         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
1616         (getSelectedObjects): Implemented.
1617         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
1618         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
1619         Added javadoc for few methods.
1620         (processMouseEvent): Made public.
1621         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
1622         (processMouseEvent): Likewise.
1623
1624 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
1625
1626         * javax/swing/AbstractButton.java:
1627         (init): Set display mnemonic index to -1.
1628         (setMnemonic(char)): Use setMnemonic(int).
1629         (setMnemonic(int)): Set display mnemonic index.
1630         (getDisplayedMnemonicIndex): Change method signature
1631         by removing 'index' parameter.
1632         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1633         Added default for Menu.selectionBackground.     
1634         * javax/swing/plaf/basic/BasicMenuItemUI.java:
1635         (paintMenuItem): Change background color of the selected
1636         menu item.
1637         (paintText): Paint differently when menu item is disabled.
1638         Also paint mnemonic if it appears in the menu item's label.
1639         (paintAccelerator): Paint accelerator differently
1640         if menu item is disabled.
1641         * javax/swing/plaf/basic/BasicMenuUI.java:
1642         (installDefaults): Install defaults for 
1643         selectionForeground and selectionBackground.
1644         (uninstallDefaults): Uninstall defauls for 
1645         selectionForeground and selectionBackground.
1646
1647 2004-07-21  Michael Koch  <konqueror@gmx.de>
1648
1649         * javax/swing/text/AbstractDocument.java
1650         (BranchElement): Implemented.
1651         (LeafElement): Implemented.
1652         * javax/swing/text/DefaultCaret.java:
1653         Import used classes.
1654         (serialVersionUID): New constant.
1655         * javax/swing/text/JTextComponent.java
1656         (AccessibleJTextComponent): Removed dead declaration.
1657         (caretPos): Removed.
1658         (setCaret): New method.
1659         * javax/swing/text/PlainDocument.java
1660         (rootElement): New field.
1661         (PlainDocument): Initialize rootElement.
1662         (createDefaultRoot): New method.
1663         (getDefaultRootElement): Implemented.
1664         * javax/swing/text/View.java: Reformatted.
1665         * javax/swing/text/ViewFactory.java
1666         (create): Added javadoc.
1667
1668 2004-07-21  Michael Koch  <konqueror@gmx.de>
1669
1670         * javax/swing/ToolTipManager.java: Reformatted.
1671
1672 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
1673
1674         * javax/swing/AbstractButton.java
1675         (changeEvent): New field.
1676         (fireItemStateChanged): Change source of the event
1677         to 'this' before firing it to button listeners.
1678         (fireActionPerformed): Likewise.
1679         (fireStateChanged): Likewise.
1680         (createActionListener): Do not set source 
1681         of the event to AbstractButton.                                  
1682         * javax/swing/plaf/basic/BasicMenuBarUI.java:
1683         (ContainerHandler.componentAdded): Removed 
1684         print out statement.
1685         (ContainerHandler.componentRemoved): Likewise.
1686
1687 2004-07-21  Michael Koch  <konqueror@gmx.de>
1688
1689         * javax/swing/text/Highlighter.java: New file.
1690         * Makefile.am: Added javax/swing/text/Highlighter.java.
1691         * Makefile.in: Regenerated.
1692
1693 2004-07-21  Michael Koch  <konqueror@gmx.de>
1694
1695         * javax/swing/ToolTipManager.java
1696         (stillInsideTimerAction): Fixed constructor arguments.
1697         (outsideTimerAction): Likewise.
1698         (insideTimerAction): Likewise.
1699
1700 2004-07-21  Michael Koch  <konqueror@gmx.de>
1701
1702         * javax/swing/JButton.java: Reformatted.
1703         * javax/swing/JFormattedTextField.java
1704         (getUIClassID): Implemented.
1705         * javax/swing/JRootPane.java
1706         (serialVersionUID): New constant.
1707         * javax/swing/JTextField.java
1708         (align): New field.
1709         (JTextField): Simplified.
1710         (getUIClassID): New method.
1711         (getActionListeners): Added @since tag.
1712         (setColumns): Invalidate layout and repaint.
1713         (getHorizontalAlignment): New method.
1714         (setHorizontalAlignment): New method.
1715         (selectAll): Removed.
1716         * javax/swing/SwingUtilities.java
1717         (getAncestorOfClass): Removed redundant @see tag.
1718         (isLeftMouseButton): Fixed implementation.
1719         (isMiddleMouseButton): Likewise.
1720         (isRightMouseButton): Likewise.
1721         * javax/swing/text/AbstractDocument.java
1722         (AttributeContext.addAttribute): New method.
1723         (AttributeContext.addAttributes): New method.
1724         (AttributeContext.getEmptySet): New method.
1725         (AttributeContext.reclaim): New method.
1726         (AttributeContext.removeAttribute): New method.
1727         (AttributeContext.removeAttributes): New method.
1728         * javax/swing/text/Document.java
1729         (createPosition): Throws BadLocationException.
1730         (getText): Likewise.
1731         (remove): Likewise.
1732         * javax/swing/text/JTextComponent.java
1733         (getText): Return null if no document is set. Catch
1734         BadLocationException.
1735         (getUI): Return ui.
1736         (updateUI): Simplified.
1737
1738 2004-07-21  Michael Koch  <konqueror@gmx.de>
1739
1740         * javax/swing/JButton.java
1741         (removeNotify): Fixed javadoc.
1742         (updateUI): Simplified.
1743
1744 2004-07-21  David Jee  <djee@redhat.com>
1745
1746         * gnu/java/awt/image/ImageDecoder.java
1747         (startProduction): Only add consumer if it's not added yet.
1748         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
1749         (GdkPixbufDecoder): Don't call initState() here.
1750         (produce): Call initState() here, to ensure area_prepared and
1751         area_updated signals are properly connected.
1752         * gnu/java/awt/peer/gtk/GtkImage.java
1753         (setColorModel): Use equals() to compare ColorModel objects.
1754         (setPixels): Likewise.
1755         * java/awt/image/ColorModel.java
1756         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
1757         * java/awt/image/RGBImageFilter.java
1758         (setColorModel): Set consumer's color model.
1759         (setPixels): Use equals() to compare ColorModel objects.
1760
1761 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
1762
1763         * java/net/URLConnection.java (position): New field.
1764         (dateFormat1, dateFormat2, dateFormat3): Removed.
1765         (dateFormats): New field.
1766         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
1767         each time instead of re-allocating.
1768         (initializeDateFormats): Initialize 'dateFormats'.
1769
1770 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1771
1772         PR libgcj/16591
1773         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
1774         is defined.
1775
1776 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1777
1778         * java/net/Socket.java (getImpl): Now private. Remove comment.
1779
1780 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
1781
1782         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
1783         of chained Writer when calling super-constructor.
1784         * java/io/FilterWriter.java (FilterWriter): Likewise.
1785         * java/io/PrintWriter.java (PrintWriter): Likewise.
1786
1787 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
1788
1789         * prims.cc (process_gcj_properties): Don't increment i within LHS
1790         of assignment.
1791
1792 2004-07-19  Per Bothner  <per@bothner.com>
1793
1794         Print -verbose:message on "loading", not initialization.
1795         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
1796         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
1797         gcj::verbose_class_flag.
1798         * java/lang/natClass.cc (initializeClass):  Don't print message here.
1799         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
1800         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
1801         (_Jv_PrepareCompiledClass):  Likewise.
1802
1803 2004-07-18  Matthias Klose  <doko@debian.org>
1804
1805         * configure.in: Substitute target_noncanonical.
1806         * configure: Regenerate
1807
1808 2004-07-17  Michael Koch  <konqueror@gmx.de>
1809
1810         * java/lang/String.java: Fixed javadocs all over.
1811
1812 2004-07-17  Mark Wielaard  <mark@klomp.org>
1813
1814         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
1815         when size is smaller.
1816         * java/io/RandomAccessFile.java (setLength): Use truncate for
1817         shrinking the file and seek plus write for expanding the file.
1818
1819 2004-07-17  Michael Koch  <konqueror@gmx.de>
1820
1821         * gnu/java/nio/channels/natFileChannelPosix.cc
1822         (implTruncate): Always save current position. Only reposition file
1823         pointer to where we started if not beyond new lenght. Reposition file
1824         pointer to file length if it points beyond the end of file.
1825
1826 2004-07-17  Mark Wielaard  <mark@klomp.org>
1827
1828         * javax/swing/Box.java: Put FIXME comment above class declaration.
1829         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1830         * javax/swing/JCheckBox.java: Likewise.
1831         * javax/swing/JDialog.java: Likewise.
1832         * javax/swing/JRadioButton.java: Likewise.
1833         * javax/swing/JToggleButton.java: Likewise.
1834         * javax/swing/UIManager.java: Likewise.
1835         * javax/swing/border/TitledBorder.java: Likewise.
1836         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1837         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1838         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1839         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1840         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1841         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1842         * javax/swing/text/JTextComponent.java: Likewise.
1843
1844 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
1845
1846         * java/net/DatagramPacket.java (setAddress): Removed check for
1847         null address.
1848
1849 2004-07-17  Michael Koch  <konqueror@gmx.de>
1850
1851         * java/net/DatagramSocket.java
1852         (getLocalAddress): Check if socket is bound or not.
1853         * java/net/Socket.java
1854         (getLocalAddrss): Check if socket is bound or not.
1855         (getPort): Return -1 when not connected. Dont check getImpl() for
1856         null.
1857         (setReuseAddress): Check if socket is closed.
1858         (isConnected): Check if getImpl() returns null.
1859
1860 2004-07-17  Mark Wielaard  <mark@klomp.org>
1861
1862         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
1863         on notifier object before calling notifyAll().
1864
1865 2004-07-17  Michael Koch  <konqueror@gmx.de>
1866
1867         * gnu/java/nio/channels/FileChannelImpl.java
1868         (finalize): Added javadoc.
1869
1870 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
1871
1872         * java/text/CollationElementIterator.java
1873         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
1874         (setText): Use ArrayList instead of Vector.
1875
1876 2004-07-17  Michael Koch  <konqueror@gmx.de>
1877
1878         * java/nio/ByteOrder.java
1879         (static): Removed. Not needed.
1880         Thanks to Patrick Reali for noticing.
1881         * java/nio/charset/CharsetDecoder.java
1882         (decode): Fix for classpath bug #9177: Reset state before flipping.
1883
1884 2004-07-17  Michael Koch  <konqueror@gmx.de>
1885
1886         * java/security/Security.java: Fixed javadocs all over.
1887
1888 2004-07-17  Michael Koch  <konqueror@gmx.de>
1889
1890         * gnu/java/awt/EmbeddedWindow.java
1891         (static): Removed.
1892         (addNotify): Set peer via reflection.
1893         (setWindowPeer): Removed.
1894         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1895         * Makefile.am (nat_source_files):
1896         Removed gnu/java/awt/natEmbeddedWindow.cc.
1897         * Makefile.in: Regenerated.
1898
1899 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
1900
1901         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
1902         assignment.
1903         * configure: Regenerated.
1904
1905 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
1906
1907         * configure.in: Use build_noncanonical rather than build_alias.
1908         * configure: Rebuild.
1909
1910         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
1911         by logic refactoring.  Move default definition of NATIVE closer
1912         to first alternate definition.
1913         * configure: Regenerate.
1914
1915         * Makefile.am: Set ZIP and GCJH directly using autoconf.
1916         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
1917         gcj/Makefile.in: Regenerate.
1918         * configure.in: Set ZIP and GCJH.  Remove redundant condition
1919         in AM_CONDITIONAL(NATIVE,...)
1920         * configure: Regenerate.
1921
1922 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
1923
1924         * configure.in: Use target_noncanonical rather than
1925         target_alias for forward-compatibility with autoconf 2.59.
1926         * configure: Regenerate.
1927         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
1928         testsuite/Makefile.am: Substitute target_noncanonical.
1929         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1930         testsuite/Makefile.in: Regenerate.
1931
1932         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
1933         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
1934         * acinclude.m4: Include acx.m4.
1935         * aclocal.m4: Regenerate.
1936         * configure: Regenerate.
1937
1938 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
1939
1940         PR libgcj/16574
1941         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
1942         (decimalFormat): New static variable.
1943         (sbuf): Likewise.
1944         (getTime): New. Override Date.getTime().
1945         (toString): Synchronize. Use decimalFormat to format nanos value
1946         correctly. Truncate extra zeros.
1947         (before): Compare getNanos() only if getTime() is equal.
1948         (after): Likewise.
1949         
1950 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
1951
1952         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
1953         * configure.in: ...here.
1954         * aclocal.m4: Regenerate.
1955         * configure: Regenerate.
1956
1957         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
1958         * configure: Rebuilt with autoconf 2.13.
1959         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1960         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
1961
1962 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
1963
1964         PR libgcj/16204
1965         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
1966         large file support.
1967         * Makefile.in: Rebuilt.
1968         * testsuite/libjava.lang/LargeFile.java: New test case.
1969         * testsuite/libjava.lang/LargeFile.out: New file.
1970
1971 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1972
1973         * java/beans/EventHandler.java: Remove debugging statements.
1974
1975 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
1976
1977         * java/beans/EventHandler.java: New file.
1978         * Makefile.am (awt_java_source_files): Add EventHandler.java.
1979         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
1980         testsuite/Makefile.in: Regenerate.
1981
1982 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
1983
1984         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
1985         flag to the gcj_setup.
1986         (gcj_jacks_run): Check tclsh version and launch jacks directly with
1987         the tclsh.
1988         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
1989         deprecation flag change. 58 XFAILS removed.
1990
1991 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
1992
1993         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
1994         -fno-use-divide-subroutine.
1995         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
1996         (HANDLE_FPE): Define.
1997         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
1998         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
1999         (HANDLE_DIVIDE_OVERFLOW): Define.
2000
2001 2004-07-14  Michael Koch  <konqueror@gmx.de> 
2002             Matthias Klose  <doko@debian.org> 
2003
2004         * java/awt/im/InputContext.java: Initialize in, line.
2005
2006 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
2007
2008         * interpret.cc (run): Correctly access libffi return values of
2009         integral smaller-than-int type; these are implicitly promoted.
2010
2011 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
2012
2013         PR libgcj/7587
2014         * interpret.cc (compile_mutex): New.
2015         (_Jv_InitInterpreter): New. Initialize compile_mutex.
2016         (run): Lock compile_mutex before calling compile() if compilation is
2017         required.
2018         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
2019         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
2020
2021 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
2022
2023         PR libgcj/15713
2024         * include/jvm.h (_Jv_value): New union type.
2025         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
2026         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
2027         union members.
2028
2029 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
2030
2031         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
2032         * gnu/awt/xlib/XOffScreenImage.java
2033           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
2034           constructor argument. Add constructor using ImageProducer.
2035           (getSource): Implement.
2036           (imageComplete): New method.
2037           (setColorModel): New method.
2038           (setDimensions): New method.
2039           (setHints): New method.
2040           (setPixels): New method.
2041           (setProperties): New method.
2042         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
2043         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
2044
2045 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
2046
2047         PR libgcj/16478 
2048         * prims.cc (_Jv_CreateJavaVM): Fix comment.
2049         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
2050         (finalizerReady): Now native.
2051         (run): Likewise.
2052         (runFinalizers): Removed.
2053         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
2054         a primitive lock, and don't hold it while running the finalizers.
2055         (runFinalizers): Implement. Don't aquire any Java lock.
2056         (finalizerReady): Use lock primitives to signal finalizer thread.
2057
2058 2004-07-11  Mark Wielaard  <mark@klomp.org>
2059
2060         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
2061         * java/net/URLStreamHandler.java (parseURL): When url file part
2062         doesn't contain a '/' just ignore context.
2063
2064 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
2065
2066         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
2067         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
2068         (MAKE_THROW_FRAME): Do not modify PSW address.
2069         (INIT_SEGV): Install SIGINFO-style signal handler.
2070         (INIT_FPE): Likewise.
2071
2072 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
2073
2074         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
2075         status. 21 xfail's removed, 1 added.
2076
2077 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
2078
2079         * gcj/javaprims.h: Regenerate CNI namespace definitions.
2080
2081 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2082
2083         * java/text/MessageFormat.java
2084         (formatInternal): Append "{n}" if argument n is unavailable.
2085         (format(Object, StringBuffer, FieldPosition)): This
2086         should be equivalent to format(Object[],
2087         StringBuffer, FieldPosition).
2088
2089 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
2090
2091         * java.util.Calendar.java (cache): New private static field. Cached
2092         mappings of locales->calendar classes.
2093         (ctorArgTypes): New private static field. Singleton argument for
2094         calendar class constructor lookup.
2095         (getInstance): Cache Locale->Calendar class mappings using HashMap.
2096         Optimize by bypassing reflection instantiation for the 
2097         GregorianCalendar case.
2098
2099 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
2100
2101         * java/util/Calendar.java: Use getSystemClassLoader as argument for
2102         ResourceBundle.getBundle() calls.
2103         * java/util/GregorianCalendar.java: Likewise.
2104         * java/util/Currency.java: Likewise.
2105         * java/text/BreakIterator.java: Likewise.
2106         * java/text/Collator.java: Likewise.
2107         * java/text/DateFormat.java: Likewise.
2108         * java/text/DateFormatSymbols.java: Likewise.
2109         * java/text/DecimalFormatSymbols.java: Likewise.
2110         * java/text/NumberFormat.java: Likewise.
2111         * java/awt/Window.java: Likewise.       
2112
2113 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
2114
2115         * java/util/ResourceBundle.java (bundleCache): Renamed from
2116         resourceBundleCache. Update comments.
2117         (getObject): Don't catch MissingResourceException.
2118         (getBundle(String)): Remove 'final'. Use system classloader if
2119         getCallingClassLoader returned null.
2120         (getBundle(String, Locale)): Likewise.
2121         (BundleKey): New private class. HashMap key for bundle cache lookup.
2122         (lookupKey): New. Singleton instance of BundleKey.
2123         (nullEntry): New. Cache entry to represent failed lookups.
2124         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
2125         caching strategy, no-allocation lookup, and new tryBundle methods.
2126         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
2127         name using given classloader.
2128         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
2129         baseName for given Locale and attempt to load bundle.
2130
2131 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
2132
2133         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
2134         illegal protected method calls.
2135
2136 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
2137
2138         Fix or remove some bogus test cases.
2139         * testsuite/libjava.compile/pr10459_2.java: Removed.
2140         * testsuite/libjava.compile/pr10459.java: Test using its own method,
2141         not Object.clone().
2142         * testsuite/libjava.compile/inner_data.java: Test against its own
2143         protected field.
2144
2145 2004-07-09  Michael Koch  <konqueror@gmx.de>
2146
2147         * scripts/unicode-muncher.pl: Updated to version 2.1
2148         from GNU classpath. Added some clarifications on where to find the
2149         needed files from www.unicode.org.
2150         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
2151         gnu/gcj/convert/UnicodeData-3.0.0.txt:
2152         Removed, these can directly be downloaded from www.unicode.org if
2153         needed. 
2154         * gnu/java/lang/CharData.java: Regenerated.
2155         * include/java-chartables.h: Regenerated.
2156         * Makefile.am (ordinary_java_source_files):
2157         Removed gnu/java/lang/CharData.java.
2158         * Makefile.in: Regenerated.
2159
2160 2004-07-09  Michael Koch  <konqueror@gmx.de>
2161
2162         * java/security/AccessControlContext.java,
2163         java/security/SecureClassLoader.java:
2164         Fixed javadocs.
2165
2166 2004-07-09  Michael Koch  <konqueror@gmx.de>
2167
2168         * java/io/ObjectInputStream.java (readFields): Use long datatype
2169         when shifting byte values more then 24 bits left.
2170
2171 2004-07-09  Michael Koch  <konqueror@gmx.de>
2172
2173         * java/util/zip/DeflaterOutputStream.java,
2174         java/util/zip/GZIPInputStream.java,
2175         java/util/zip/GZIPOutputStream.java,
2176         java/util/zip/InflaterInputStream.java:
2177         Reformatted. Added javadocs. Reordered all stuff.
2178         Renamed variables to be more clear.
2179
2180 2004-07-09  Michael Koch  <konqueror@gmx.de>
2181
2182         * javax/imageio/IIOException.java,
2183         javax/imageio/event/IIOReadProgressListener.java,
2184         javax/imageio/event/IIOReadUpdateListener.java,
2185         javax/imageio/event/IIOReadWarningListener.java,
2186         javax/imageio/event/IIOWriteProgressListener.java,
2187         javax/imageio/event/IIOWriteWarningListener.java:
2188         New files.
2189         * Makefile.am: Added new files.
2190         * Makefile.in: Regenerated.
2191
2192 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
2193
2194         * java/text/RuleBasedCollator.java
2195         (mergeRules): Use ArrayList instead of Vector.
2196         (subParseString): likewise.
2197         (parseString): likewise.
2198         (buildCollationVector): likewise.
2199         (getCollationKey): likewise.
2200
2201 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
2202
2203         * java/text/DateFormat.java (parse):
2204         Improved javadoc. Improved exception message.
2205
2206 2004-07-09  Mark Wielaard  <mark@klomp.org>
2207
2208         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
2209         interrupted() method to clear interupt flag of our Thread.
2210
2211 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
2212
2213         * java/nio/Buffer.java,
2214         java/nio/ByteBuffer.java,
2215         java/nio/ByteBufferHelper.java,
2216         java/nio/ByteBufferImpl.java,
2217         java/nio/CharBuffer.java,
2218         java/nio/CharBufferImpl.java,
2219         java/nio/CharViewBufferImpl.java,
2220         java/nio/DirectByteBufferImpl.java,
2221         java/nio/DoubleBuffer.java,
2222         java/nio/DoubleBufferImpl.java,
2223         java/nio/DoubleViewBufferImpl.java,
2224         java/nio/FloatBuffer.java,
2225         java/nio/FloatBufferImpl.java,
2226         java/nio/FloatViewBufferImpl.java,
2227         java/nio/IntBuffer.java,
2228         java/nio/IntBufferImpl.java,
2229         java/nio/IntViewBufferImpl.java,
2230         java/nio/LongBuffer.java,
2231         java/nio/LongBufferImpl.java,
2232         java/nio/LongViewBufferImpl.java,
2233         java/nio/MappedByteBufferImpl.java,
2234         java/nio/ShortBuffer.java,
2235         java/nio/ShortBufferImpl.java,
2236         java/nio/ShortViewBufferImpl.java:
2237         Fixed javadocs all over. Improved input error
2238         checking.
2239
2240         * java/nio/Buffer.java
2241         (checkForUnderflow, checkForOverflow, checkIndex,
2242         checkIfReadOnly, checkArraySize): New helper methods
2243         for error checking.
2244
2245         * java/nio/ByteBufferHelper.java
2246         (checkRemainingForRead, checkRemainingForWrite,
2247         checkAvailableForRead, checkAvailableForWrite): Removed
2248         no longer needed methods.
2249
2250 2004-07-09  Michael Koch  <konqueror@gmx.de>
2251
2252         * gnu/regexp/CharIndexedInputStream.java:
2253         Reordered imports to match classpath.
2254
2255 2004-07-09  Michael Koch  <konqueror@gmx.de>
2256
2257         * gnu/java/awt/EmbeddedWindow.java:
2258         Load native library for setWindowPeer method.
2259
2260 2004-07-08  Randolph Chung  <tausq@debian.org>
2261
2262         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
2263         * configure: Regenerate.
2264         * configure.host: Set can_unwind_signal for hppa*-linux.
2265         * include/pa-signal.h: New file.
2266
2267 2004-07-07  Per Bothner  <per@bothner.com>
2268
2269         * Makefile.am:  Add rules to build libgij from just gij.cc.
2270
2271         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
2272         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
2273         (initializeClass):  If verbose_class_flag, print message.
2274         * gij.cc (main):  Handle -verbose:class flag.
2275
2276 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
2277
2278         * configure.host: Enable hash synchronization on Darwin.
2279         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
2280         ';', since this is a comment on Darwin.
2281         (compare_and_swap_release): Likewise.
2282
2283 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
2284
2285         * java/net/URLStreamHandler.java (parseURL): Canonicalize
2286         file portion of URL in addition to spec for file: protocol.
2287
2288 2004-07-05  Anthony Green  <green@redhat.com>
2289
2290         * java/io/File.java (toURI): Merge from Classpath.
2291
2292 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2293
2294         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
2295         before passing to URL constructor. Rethrow any MalformedURLException
2296         as a RuntimeException. Catch MalformedURLException specifically, not
2297         all exceptions.
2298
2299 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
2300
2301         * java/util/Locale.java (readObject): Intern strings read from object
2302         stream.
2303
2304 2004-07-04  Michael Koch  <konqueror@gmx.de>
2305
2306         * gnu/gcj/runtime/FirstThread.java,
2307         gnu/gcj/runtime/natFirstThread.cc: Removed.
2308         * gnu/java/lang/MainThread.java,
2309         gnu/java/lang/natMainThread.cc: New files.
2310         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
2311         * Makefile.am: Added new files and removed deleted ones.
2312         * Makefile.in: Regenerated.
2313
2314 2004-07-03  Mark Wielaard  <mark@klomp.org>
2315             Anthony Green  <green@redhat.com>
2316
2317         * java/net/URL.java (getFile): Clarify return value doc.
2318         (getPath): Return null if file is empty - not empty String.
2319         (set): Convert protocol to lower case before doing anything.
2320         Only change the protocol handler if it's different.
2321
2322 2004-07-03  Anthony Green  <green@redhat.com>
2323
2324         * java/net/URL.java (URL): Convert protocol to lower case before
2325         doing anything, so we getURLStreamHandler() with the proper value.
2326
2327 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
2328
2329         * java/util/Locale.java (hashcode): Made transient.
2330         (hashCode): No longer synchronized.
2331         (equals): Remove comment.
2332         (writeObject): No longer synchronized. Implement using writeObject 
2333         calls instead of tweaking hashCode field. Update doc.
2334         (readObject): Implement using readObject calls.
2335
2336 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
2337             Andreas Tobler  <a.tobler@schweiz.ch>
2338
2339         * configure.host (powerpc-*-darwin*): New case, define
2340         can_unwind_signal.
2341         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
2342         * configure: Regenerate.
2343         * include/darwin-signal.h: New.
2344
2345 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
2346
2347         * java/beans/Statement.java (doExecute): Fix formatting.
2348
2349 2004-06-29  Per Bothner  <per@bothner.com>
2350
2351         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
2352         etc etc):  Remove needless parenthesis, which causes __stdcall__
2353         attribute on MinGW to get ignored.
2354
2355 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
2356
2357         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
2358
2359 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
2360
2361         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
2362
2363 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
2364
2365         * java/beans/Expression.java: New file.
2366         * java/beans/Statement.java: New file.
2367         * Makefile.am: Added new files.
2368         * Makefile.in: Re-generate.
2369
2370 2004-06-27 Mark Wielaard  <mark@klomp.org>
2371
2372         * java/io/FilePermission.java (usingPerms): Removed.
2373         (actionsString): Made final.
2374         (cachePerms): Renamed to checkPerms.
2375         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
2376         on action String.
2377         (FilePermission): Check arguments, call checkPerms().
2378         (equals): Remove cachePerms() call.
2379         (implies): Likewise.
2380
2381 2004-06-27  Mark Wielaard  <mark@klomp.org>
2382
2383         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
2384         final field.
2385         (sendRequest): Use new field in user-agent http agent.
2386
2387 2004-06-27  Mark Wielaard  <mark@klomp.org>
2388
2389         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2390         when argument is null.
2391
2392 2004-06-26  Mark Wielaard  <mark@klomp.org>
2393
2394         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2395         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
2396         GetMethodID call.
2397         (cancel_clicked): Likewise.
2398
2399 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
2400
2401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2402         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
2403         can not calculate the right value.
2404         (dpi_changed_cb): Likewise. Mark *pspec as unused.
2405
2406 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
2407
2408         * testsuite/libjava.jacks/jacks.xfail: Remove
2409         15.9.1-qualified-concrete-20.
2410
2411 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
2412
2413         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
2414         encoding name to iconv.
2415         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2416
2417 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
2418
2419         PR libgcj/16134:
2420         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
2421         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
2422         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
2423
2424 2004-06-21  Andrew Haley  <aph@redhat.com>
2425
2426         * java/io/ObjectOutputStream.java: Add DEBUG statements
2427         everywhere.
2428         (dumpElementln): New method.
2429         (depth): New field.
2430         * java/io/ObjectInputStream.java
2431         (currentClassLoader): Make native.
2432         (callersClassLoader): New field.
2433         (depth): New field.
2434         (readObject): ENDBLOCKDATA is generated if the class has a write
2435         method, not if it has a read method.
2436         (readObject): Save and restore this.currentObject and
2437         this.currentObjectStreamClass around calls to callReadMethod().
2438         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
2439         method.
2440
2441 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
2442
2443         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
2444         darwin.
2445
2446 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
2447
2448         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
2449         if desired, before the default class loader is initialised.
2450         Call INIT_SEGV only if HANDLE_SEGV is defined.
2451
2452 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
2453
2454         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
2455         directory only if it actually exists.
2456
2457 2004-06-18  Graydon Hoare  <graydon@redhat.com>
2458
2459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2460         Fix up non-ansi comments.
2461
2462 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
2463
2464         * javax/swing/text/AbstractDocument.java: Adding missing import
2465         for javax.swing.event.EventListenerList.
2466         * javax/swing/text/DefaultCaret.java: Likewise.
2467
2468 2004-06-17  Michael Koch  <konqueror@gmx.de>
2469
2470         * javax/swing/JToolBar.java
2471         (name): Removed.
2472         (JToolBar): Use Component.setName(String) instead of doing it all
2473         alone.
2474         * javax/swing/Timer.java
2475         (queueEvent): Added missing modifier.
2476
2477 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
2478
2479         * Makefile.am: Added new file.
2480         * Makefile.in: Re-generate.
2481         * javax/swing/JMenu.java:
2482         (insertSeparator): Implemented.
2483         * javax/swing/JPopupMenu.java:
2484         (JPopupMenu.Separator): Implemented.
2485         * javax/swing/MenuSelectionManager.java:
2486         (processMouseEvent): Use java.awt.Component 
2487         for event source instead of javax.swing.JComponent. 
2488         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
2489         New File. Implemented.
2490         
2491 2004-06-16  David Jee  <djee@redhat.com>
2492
2493         * java/awt/GridBagLayout.java
2494         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
2495         Make sure pos_x and pos_y are never negative.
2496
2497 2004-04-16  Andrew Overholt  <overholt@redhat.com>
2498
2499         * Makefile.am: Add new file.
2500         * Makefile.in: Re-generate.     
2501         * javax/swing/JToolBar.java
2502         Partially implemented.
2503         * javax/swing/plaf/basic/BasicToolBarUI.java
2504         New file. Partially implemented.
2505
2506 2004-06-16  Graydon Hoare  <graydon@redhat.com>
2507
2508         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
2509         (setComposite): Accept AlphaComposite arguments.
2510         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
2511         (createBufferedImage): Add new overloads.
2512         * gnu/java/awt/peer/gtk/GtkToolkit.java
2513         (createImage): Use GdkPixbufDecoder.createBufferedImage
2514         when useGraphics2D() is true.
2515         (getImage): Delegate to createImage.
2516         * javax/swing/JList.java
2517         (isSelectionEmpty):
2518         (getFirstVisibleIndex):
2519         (getLastVisibleIndex):
2520         (setSelectedValue):
2521         (ensureIndexIsVisible): New methods.
2522         * javax/swing/Timer.java: Reimplement.
2523
2524 2004-06-16  Michael Koch  <konqueror@gmx.de>
2525
2526         * javax/swing/text/AbstractDocument.java
2527         (AbstracElement): Made public, implements java.io.Serializable.
2528         (AttributeContext): Made public.
2529         (BranchElement): Likewise.
2530         (Content): Likewise.
2531         (DefaultDocumentEvent): Made public, extends
2532         javax.swing.undo.CompoundEdit.
2533         (ElementEdit): Made public, extends
2534         javax.swing.undo.AbstractUndoableEdit.
2535         (LeafElement): Made public.
2536         (LeafElement.LeafElement): Made public.
2537
2538 2004-06-16  Michael Koch  <konqueror@gmx.de>
2539
2540         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
2541         methods (that were obviously never be intended to get included hi this
2542         class. Added some methods too.
2543
2544 2004-06-16  Michael Koch  <konqueror@gmx.de>
2545
2546         * javax/swing/text/PlainDocument.java
2547         (serialVersionUID): New constant.
2548         (lineLimitAttribute): Likewise.
2549         (tabSizeAttribute): Likewise.
2550         (tabSize): New field.
2551         (PlainDocument): Made public.
2552         (PlainDocument): New constructor.
2553
2554 2004-06-16  Michael Koch  <konqueror@gmx.de>
2555
2556         * javax/swing/text/AbstractDocument.java
2557         (insertString): Throws BadLocationException.
2558         * javax/swing/text/Document.java
2559         (insertString): Likewise.
2560         * javax/swing/text/JTextComponent.java:
2561         Javadocs and comments cleaned up.
2562
2563 2004-06-16  Michael Koch  <konqueror@gmx.de>
2564
2565         * javax/swing/event/UndoableEditListener.java: Reformatted.
2566         * javax/swing/text/AbstractDocument.java
2567         (AbstractDocument): Implements java.io.Serializable.
2568         (doc_list): Removed.
2569         (undo_list): Removed.
2570         (AbstractElement.serialVerionUID): New field.
2571         (BranchElement.serialVerionUID): Likewise.
2572         (DefaultDocumentEvent.serialVerionUID): Likewise.
2573         (ElementEdit.serialVerionUID): Likewise.
2574         (LeafElement.serialVerionUID): Likewise.
2575         (serialVerionUID): Likewise.
2576         (BAD_LOCATION): New constant.
2577         (BidiElementName): Likewise.
2578         (ContentElementName): Likewise.
2579         (ParagraphElementName): Likewise.
2580         (SectionElementName): Likewise.
2581         (ElementNameAttribute): Likewise.
2582         (AbstractDocument): Made protected.
2583         (AbstractDocument): New construtor.
2584         (listenerList): New field.
2585         (fireChangedUpdate): Implemented.
2586         (fireInsertUpdate): Likewise.
2587         (fireRemoveUpdate): Likewise.
2588         (fireUndoableEditUpdate): Likewise.
2589         (getListeners): Likewise.
2590         (addDocumentListener): Likewise.
2591         (removeDocumentListener): Likewise.
2592         (addUndoableEditListener): Likewise.
2593         (removeUndoableEditListener): Likewise.
2594         (getDocumentListeners): New method.
2595         (getUndoableEditListeners): Likewise.
2596         (getAsynchronousLoadPriority): Made public.
2597         (getBidiRootElement): Likewise.
2598         (setAsynchronousLoadPriority): Likewise.
2599         (setDocumentProperties): Likewise.
2600         * javax/swing/text/BadLocationException.java
2601         (serialVerionUID): New field.
2602         * javax/swing/text/DefaultCaret.java
2603         (changeEvent): New field.
2604         (listenerList): Likewise.
2605         (changes): Removed.
2606         (addChangeListener): Reimplemented.
2607         (removeChangeListener): Likewise.
2608         (getListeners): New method.
2609         (getChangeListeners): Likwise.
2610         (getComponent): Likewise.
2611         * javax/swing/text/GapContent.java
2612         (GapContent): Implements java.io.Serializable.
2613         (serialVerionUID): New field.
2614
2615 2004-06-16  Michael Koch  <konqueror@gmx.de>
2616
2617         * javax/swing/JTree.java
2618         (treeModel): New field.
2619         (JTree): New constructors, one existing one made public.
2620         (createTreeModel): New method.
2621         (addTreeExpansionListener): Likewise.
2622         (removeTreeExpansionListener): Likewise.
2623         (getTreeExpansionListeners): Likewise.
2624         (fireTreeCollapsed): Likewise.
2625         (fireTreeExpanded): Likewise.
2626         (addTreeSelectionListener): Likewise.
2627         (removeTreeSelectionListener): Likewise.
2628         (getTreeSelectionListeners): Likewise.
2629         (fireValueChanged): Likewise.
2630         (addTreeWillExpandListener): Likewise.
2631         (removeTreeWillExpandListener): Likewise.
2632         (getTreeWillExpandListeners): Likewise.
2633         (fireTreeWillCollapse): Likewise.
2634         (fireTreeWillExpand): Likewise.
2635
2636 2004-06-16  Michael Koch  <konqueror@gmx.de>
2637
2638         * javax/swing/JTree.java: Reformatted.
2639
2640 2004-06-16  Michael Koch  <konqueror@gmx.de>
2641
2642         * javax/swing/JTextArea.java: New file.
2643         * javax/swing/JTextField.java
2644         (actions): Removed.
2645         (notifyAction): New constant.
2646         (columns): New field.
2647         (JTextField): New constructors.
2648         (createDefaultModel): New method.
2649         (addActionListener): Reimplmemented.
2650         (removeActionListener): Reimplemented.
2651         (getActionListeners): New method.
2652         (fireActionPerformed): New method.
2653         (getColumns): New method.
2654         (setColumne): New method.
2655         * javax/swing/text/JTextComponent.java
2656         (AccessibleJTextComponent.serialVersionUID): New field.
2657         (serialVersionUID): Likewise.
2658         (DEFAULT_KEYMAP): Likewise.
2659         (FOCUS_ACCELERATOR_KEY): Likewise.
2660         (doc): Made private.
2661         (icon_gap): Likewise.
2662         (icon): Likewise.
2663         (align): Likewise.
2664         (JTextComponent): Some constructors removed.
2665         (getScrollableTracksViewportHeight): New method.
2666         (getScrollableTracksViewportWidth): Likewise.
2667         * Makefile.am: Added javax/swing/JTextArea.java.
2668         * Makefile.in: Regenerated.
2669
2670 2004-06-15  Graydon Hoare  <graydon@redhat.com>
2671
2672         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
2673         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
2674         * javax/swing/JViewport.java 
2675         (getExtentSize): Return size rather than preferred size.
2676         (toViewCoordinates): New methods.
2677         (getViewSize): Return size rather than preferred size.
2678         (setViewSize): Note view size as set.
2679         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
2680         * javax/swing/plaf/basic/BasicScrollBarUI.java 
2681         (getPreferredSize): Don't redo layout.
2682         * javax/swing/plaf/basic/BasicViewportUI.java 
2683         (paint): Translate image properly and eat exceptions.
2684
2685 2004-06-15  Kim Ho  <kho@redhat.com>
2686
2687         * javax/swing/JTabbedPane.java
2688         (setComponent): Remove old component and
2689         add new component.
2690         (setSelectedIndex): Don't operate on the 
2691         components if they're null. Don't set index
2692         on the model if the index is the same.
2693         (insertTab): Don't add or hide the component
2694         if it's null. Repaint the container.
2695         * javax/swing/plaf/basic/BasicLookAndFeel.java
2696         Change colors for TabbedPane.
2697         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2698         (mousePressed): Re-layout and paint the component.
2699         (layoutContainer): Don't set location on the view.
2700         (ScrollingViewport::paint): Remove.
2701
2702 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2703
2704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2705         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
2706
2707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
2708         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
2709         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
2710         critical region.
2711         (drawLine): Call gdk_flush before leaving GDK critical region.
2712         (fillRect): Likewise.
2713         (drawRect): Likewise.
2714         (copyArea): Likewise.
2715         (copyPixmap): Likewise.
2716         (clearRect): Likewise.
2717         (drawArc): Likewise.
2718         (drawPolyline): Likewise.
2719         (drawPolygon): Likewise.
2720         (fillPolygon): Likewise.
2721         (fillArc): Likewise.
2722         (drawOval): Likewise.
2723         (fillOval): Likewise.
2724
2725         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
2726         style parameter.
2727         (GdkFontMetrics): Add style argument to initState call.
2728         (stringWidth(String,int,int,String)): Add style parameter.
2729         (stringWidth(String)): Add style argument to stringWidth call.
2730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
2731         (initState): Set pango font style and weight based on AWT style
2732         parameter.  Pass default GTK language to
2733         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
2734         simply dividing by PANGO_SCALE.
2735         (stringWidth): Set pango font style and weight based on AWT style
2736         parameter.
2737
2738         * java/awt/Button.java (next_button_number): New field.
2739         (paramString): Change output.
2740         (generateName): New method.
2741         (getUniqueLong): New method.
2742
2743 2004-06-14  Kim Ho  <kho@redhat.com>
2744
2745         * javax/swing/JTabbedPane.java:
2746         (setComponentAt): Set the component, not
2747         the enabled status.
2748         * javax/swing/plaf/basic/BasicDesktopIconUI.java
2749         (actionPerformed): Let deiconize catch exception.
2750
2751 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2752
2753         * javax/swing/JPopupMenu.java:
2754         (setVisible): Corrected location of a 
2755         heavyweight popup menu.
2756
2757 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2758
2759         * javax/swing/MenuSelectionManager.java: 
2760         Ran through jalopy to fix formatting style.
2761
2762 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
2763         
2764         * javax/swing/JLayeredPane.java: 
2765         (remove): Revalidate and repaint layered pane after
2766         the component was removed.
2767         javax/swing/JMenu.java:
2768         (setVisible): Display popup menu at the user location,
2769         if one was set by the user.
2770         (setMenuLocation): Reimplemented. Fixed javadoc.
2771         * javax/swing/JMenuBar.java: Added javadoc.
2772         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
2773         (MODEL_CHANGED_PROPERTY): New Property.
2774         (isSelected): Implemented.
2775         (setBorderPainted): Fire PropertyChangeEvent
2776         if paintBorder property changes.
2777         (setSelected): Implemented.
2778         (setSelectionModel): Implemented.
2779         * javax/swing/JPopupMenu.java: Added Javadoc
2780         (pack): Implemented.
2781         (setVisible): Reimplemented.
2782         (show): Fixed location.
2783         (JPopupMenu.LigthWeightPopup): Reimplemented to use
2784         Container instead of JPanel.
2785         * javax/swing/MenuSelectionManager.java: Added Javadocs.
2786         (clearSelectedPath): Reimplemented to clear selectedPath
2787         in reverse order.
2788         (processMouseEvent): Reimplemented.
2789         (setSelectedPath): Fire stateChange event indicating that
2790         selected menu path has changed.
2791         (getPath): Change to use ArrayList instead of Vector.
2792         * javax/swing/plaf/basic/BasicMenuBarUI.java:
2793         (installUI): call installKeyboardActions().
2794         (uninstallUI): call uninstallKeyboardActions().
2795
2796 2004-06-13  Michael Koch  <konqueror@gmx.de>
2797
2798         * javax/swing/text/DefaultCaret.java,
2799         javax/swing/text/BadLocationException.java:
2800         Reformatted.
2801
2802 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
2803
2804         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
2805         DEFAULT_COLS): New variables.
2806         (create): Don't allow 0 rows or 0 columns.  Instead, set the
2807         values to DEFAULT_ROWS or DEFAULT_COLS.
2808         (getMinimumSize): Likewise.
2809         (getPreferredSize): Likewise.
2810         (minimumSize): Likewise.
2811         (preferredSize): Likewise.
2812         (create): Set peer's editable state.
2813         * java/awt/TextArea.java (TextArea()): Set rows and columns to
2814         zero.  Update javadocs.
2815         (TextArea(String)): Likewise.
2816         (TextArea(int,int)): Fix javadocs.
2817         (TextArea(String,int,int,int)): Only throw exception if one of
2818         rows or columns is zero.  Fix javadocs.
2819
2820 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
2821
2822         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
2823         addition to Components.
2824
2825         * java/awt/MenuItem.java (dispatchEventImpl): If the event
2826         wasn't consumed by normal processing, send it to the parent
2827         menu.
2828
2829         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2830         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
2831         translation.
2832
2833 2004-06-11  David Jee  <djee@redhat.com>
2834
2835         * java/awt/MediaTracker.java
2836         (addImage(Image,int)): Call imageUpdate() to udpate image status.
2837         (addImage(Image,int,int,int)): Likewise.
2838
2839 2004-06-11  Michael Koch  <konqueror@gmx.de>
2840
2841         * javax/swing/text/AbstractDocument.java,
2842         javax/swing/text/Document.java,
2843         javax/swing/text/GapContent.java,
2844         javax/swing/text/JTextComponent.java,
2845         javax/swing/text/PlainDocument.java:
2846         Reformatted.
2847
2848 2004-06-11  Michael Koch  <konqueror@gmx.de>
2849
2850         * javax/swing/JRootPane.java
2851         (AccessibleJRootPane.serialVersionUID): New field.
2852         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
2853         (AccessibleJRootPane.getAccessibleRole): New method.
2854         (RootLayout): Implements Serializable.
2855         (RootLayout.serialVersionUID): New field.
2856         (RootLayout.RootLayout): New constructor.
2857         (setJMenuBar): Made public.
2858         (getJMenuBar): Likewise.
2859         (JRootPane): Likewise.
2860         (createContentPane): Likewise.
2861         (createGlassPane): Likewise.
2862         (createLayeredPane): Likewise.
2863
2864 2004-06-11  Michael Koch  <konqueror@gmx.de>
2865
2866         * javax/swing/SwingUtilities.java
2867         (isLeftMouseButton): Fixed javadoc.
2868         (isMiddleMouseButton): Likewise.
2869         (isRightMouseButton): Likewise.
2870
2871 2004-06-11  Michael Koch  <konqueror@gmx.de>
2872
2873         * javax/swing/JScrollPane.java
2874         (serialVersionUID): New field.
2875         (columnHeader): Made protected.
2876         (rowHeader): Likewise.
2877         (lowerLeft): Likewise.
2878         (lowerRight): Likewise.
2879         (upperLeft): Likewise.
2880         (upperRight): Likewise.
2881         (horizontalScrollBar): Likewise.
2882         (horizontalScrollBarPolicy): Likewise.
2883         (verticalScrollBar): Likewise.
2884         (verticalScrollBarPolicy): Likewise.
2885         (viewport): Likewise.
2886
2887 2004-06-11  Michael Koch  <konqueror@gmx.de>
2888
2889         * javax/swing/LookAndFeel.java: Fixed javadocs.
2890
2891 2004-06-11  Michael Koch  <konqueror@gmx.de>
2892
2893         * javax/swing/JEditorPane.java: Fixed javadocs.
2894         (JEditorPane): Removed redundant call to to this().
2895         (fireHyperlinkUpdate): Implemented.
2896
2897 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2898
2899         * javax/swing/JMenu.java: Fixed file name 
2900         in the file comment.
2901
2902 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2903
2904         * javax/swing/JMenu.java: Added javadoc.
2905         (JMenu): Added MenuChangeListener to listen to 
2906         ChangeEvents occuring in menu's model. 
2907         (insert): Throw IllegalArgumentException if 
2908         index is less than 0
2909         (setSelected): Reimplement.
2910         (setPopupMenuVisible): Call menu's model isEnabled()
2911         (setDelay): Throw IllegalArgumentException if 
2912         given amount of delay is less than 0.
2913         (createActionComponent): Implemented.
2914         (createActionChangeListener): Implemented.
2915         (addSeparator): Implemented.
2916         (getItem): Throw IllegalArgumentException if index is 
2917         less than 0.
2918         (getItemCount): Implemented.
2919         (fireMenuSelected): Changed to use menuEvent.
2920         (fireMenuDeselected): Likewise.
2921         (fireMenuCanceled): Likewise.
2922         (setAccelerator): Changed to throw an error if this 
2923         method is used. 
2924         (doClick): Implemented.
2925         (JMenu.ActionChangedListener): New inner class to handle
2926         PropertyChangeEvents occuring in the actions associated with menu.
2927         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
2928         (BasicMenuUI): Added PropertyChangeListener to the menu.
2929         (createChangeListener): Implemented.
2930         (createMenuDragMouseListener): Likewise.
2931         (createMenuKeyListener): Likewise.
2932         (createPropertyChangeListener): Likewise.
2933         (uninstallListeners): Likewise.
2934         (BasicMenuUI.MouseInputHandler): Reimplemented.
2935         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
2936         (BasicMenuUI.ChangeHandler): Likewise.
2937         (BasicMenuUI.MenuDragMouseHandler): Likewise.
2938         (BasicMenuUI.MenuKeyHandler): Likewise.
2939
2940 2004-06-10  David Jee  <djee@redhat.com>
2941
2942         * java/awt/MediaTracker.java
2943         (imageUpdate): Only do notifyAll() if the image is complete.
2944
2945 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
2946
2947         * javax/swing/JApplet.java:
2948         (getJMenuBar): Made public.
2949         (setJMenuBar): Likewise.
2950         * javax/swing/JFrame.java:
2951         (getJMenuBar): Made public.
2952         (setJMenuBar): Likewise.
2953         * javax/swing/JWindow.java:
2954         (getJMenuBar): Removed.
2955         (setJMenuBar): Removed.
2956
2957 2004-06-10  Michael Koch  <konqueror@gmx.de>
2958
2959         * javax/swing/JEditorPane.java
2960         (createEditorKitForContentType): Fixed visibility.
2961         (fireHyperlinkUpdate): Likewise.
2962         (getContentType): Likewise.
2963         (getEditorKit): Likewise.
2964         (getEditorKitForContentType): Likewise.
2965         (getPage): Likewise.
2966         (read): Likewise.
2967         (registerEditorKitForContentTyoe): Likewise.
2968         (replaceSelection): Likewise.
2969         (setContentType): Likewise.
2970         (setEditorKit): Likewise.
2971         (setPage): Likewise.
2972
2973 2004-06-10  Michael Koch  <konqueror@gmx.de>
2974
2975         * javax/swing/Timer.java
2976         (Timer): New constructor.
2977         * javax/swing/plaf/basic/BasicProgressBarUI.java
2978         (animationTimer): Don't initialize at construction.
2979         (startAnimationTimer): Added since tag.
2980         (stopAnimationTimer): Likewise.
2981         (installUI): Use new Timer constructor.
2982         * javax/swing/plaf/basic/BasicScrollBarUI.java
2983         (installUI): Likewise.
2984         * javax/swing/plaf/basic/BasicSliderUI.java
2985         (installUI): Likewise.
2986
2987 2004-06-10  Michael Koch  <konqueror@gmx.de>
2988
2989         * javax/swing/ButtonGroup.java
2990         (serialVersionUID): Made private.
2991         (buttons): Renamed from v, added javadoc.
2992         (sel): Added javadoc.
2993         (ButtonGroup): Likewise.
2994         (add): Likewise.
2995         (remove): Likewise.
2996         (getElements): Likewise.
2997         (getSelection): Likewise.
2998         (setSelected): Likewise.
2999         (isSelected): Likewise.
3000         (getButtonCount): Likewise.
3001
3002 2004-06-10  Michael Koch  <konqueror@gmx.de>
3003
3004         * javax/swing/ButtonGroup.java,
3005         javax/swing/ImageIcon.java,
3006         javax/swing/JEditorPane.java,
3007         javax/swing/JRootPane.java,
3008         javax/swing/JTextField.java,
3009         javax/swing/LookAndFeel.java,
3010         javax/swing/plaf/basic/BasicTextUI.java:
3011         Reindented.
3012
3013 2004-06-10  Michael Koch  <konqueror@gmx.de>
3014
3015         * javax/swing/text/Style.java: Added javadocs.
3016
3017 2004-06-10  Michael Koch  <konqueror@gmx.de>
3018
3019         * javax/swing/JComponent.java
3020         (fireVetoableChange): Removed redundant cast.
3021         * javax/swing/JLabel.java
3022         (getDisabledIcon): Save icon for next call.
3023
3024 2004-06-10  Michael Koch  <konqueror@gmx.de>
3025
3026         * javax/swing/KeyStroke.java
3027         (getKeyStroke(char,boolean)): Marked deprecated.
3028
3029 2004-06-10  Michael Koch  <konqueror@gmx.de>
3030
3031         * javax/swing/DefaultCellEditor.java,
3032         javax/swing/GrayFilter.java,
3033         javax/swing/event/DocumentEvent.java,
3034         javax/swing/text/JTextComponent.java,
3035         javax/swing/text/MutableAttributeSet.java:
3036         Reindented.
3037
3038 2004-06-10  Michael Koch  <konqueror@gmx.de>
3039
3040         * javax/swing/plaf/BorderUIResource.java:
3041         Added serialVersionUID all over.
3042
3043 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
3044
3045         * javax/swing/undo/UndoManager.java: Re-written from scratch.
3046
3047 2004-06-10  Michael Koch  <konqueror@gmx.de>
3048
3049         * javax/swing/table/DefaultTableCellRenderer.java
3050         (noFocusBorder): Initialize directly.
3051
3052 2004-06-10  Michael Koch  <konqueror@gmx.de>
3053
3054         * javax/swing/plaf/basic/BasicArrowButton.java
3055         (setDirection): Use method argument.
3056
3057 2004-06-10  Michael Koch  <konqueror@gmx.de>
3058
3059         * javax/swing/plaf/BorderUIResource.java,
3060         javax/swing/plaf/ComponentUI.java,
3061         javax/swing/undo/CompoundEdit.java,
3062         javax/swing/undo/StateEdit.java:
3063         Fixed javadocs all over.
3064
3065 2004-06-10  Michael Koch  <konqueror@gmx.de>
3066
3067         * javax/swing/DefaultButtonModel.java
3068         (ARMED): Made public final, fixed value.
3069         (ENABLED): Likewise.
3070         (PRESSED): Likewise.
3071         (ROLLOVER): Likewise.
3072         (SELECTED): Likewise.
3073         (stateMask): Initialize directly.
3074         (listenerList): Likewise.
3075         (mnemonic): Likewise.
3076         (fireStateChanged): Removed argument, use changeEvent as event.
3077         All places where this method is called are fixed too.
3078         (getActionCommant): Fixed javadoc.
3079         (setGroup): Fixed javadoc.
3080         (getGroup): New method.
3081
3082 2004-06-09  Olga Rodimina <rodimina@redhat.com>
3083
3084         * javax/swing/AbstractButton.java
3085         (AbstractButton): Use init() to initialize the button.
3086         (init): New Method. Initializes AbstractButton.
3087         * javax/swing/JMenuItem.java: Documented.
3088         (JMenuItem): Reimplemented.
3089         (init): Implemented.
3090         (setEnabled): Changed to call super.setEnabled()
3091         (processMouseEvent): Reimplemented.
3092         (fireMenuKeyPressed): Implemented.
3093         (fireMenuKeyReleased): Implemented.
3094         (fireMenuKeyTyped): Implemented.
3095         (menuSelectionChanged): disarm the model if the menu item was
3096         deselected.
3097         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
3098         (getPath): Change to use ArrayList instead of Vector.
3099         (getPreferredSize): Renamed variable.
3100         (paintMenuItem): Paint margin area of menu item.
3101         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
3102         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
3103         menu item's bounds before clearing the selection.       
3104
3105 2004-06-09  David Jee  <djee@redhat.com>
3106
3107         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
3108         (GtkTextComponentPeer): Set caret position to 0.
3109         * java/awt/TextComponent.java
3110         (setText): Set caret position to 0.
3111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3112         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
3113         Handle GtkScrolledWindow separately. Fix signal handler blocking.
3114         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
3115         Likewise.
3116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
3117         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
3118         visible.
3119
3120 2004-06-09  Kim Ho  <kho@redhat.com>
3121
3122         * Makefile.am: New files
3123         * Makefile.in: Regenerated
3124         * java/awt/Container.java
3125         (getComponentAt): Removed.
3126         * javax/swing/AbstractAction.java
3127         (ENABLED_PROPERTY): New property.
3128         (putValue): Fire PropertyChangeEvents.
3129         (setEnabled): ditto.
3130         (firePropertyChange): Javadoc and implement
3131         convenience method.
3132         * javax/swing/AbstractButton.java
3133         (setAction): Don't create PropertyChangeListener
3134         if new Action is null.
3135         (setIcon): Don't set icon till after comparing
3136         it.
3137         (configurePropertiesFromAction): Check mnemonic
3138         key before calling intValue().
3139         (createActionPropertyChangeListener): Check
3140         properties rather than bulk change.
3141         * javax/swing/DefaultDesktopManager.java:
3142         Implement.
3143         * javax/swing/DesktopManager.java:
3144         Jalopy and javadoc.
3145         * javax/swing/JComponent.java
3146         (fireVetoableChange): Implement.
3147         (paintImmediately): Use root component.
3148         * javax/swing/JDesktopPane.java: Implement
3149         * javax/swing/JInternalFrame.java: Implement
3150         * javax/swing/JLabel.java
3151         (getDisabledIcon): Return grayscaled icon if
3152         no disabled icon specified.
3153         * javax/swing/JMenuBar.java
3154         (getComponentAtIndex): Use getComponent
3155         * javax/swing/JOptionPane.java
3156         (getDesktopPaneForComponent): Use SwingUtilities'
3157         getAncestorOfClass
3158         (getFrameForComponent): ditto.
3159         * javax/swing/JSplitPane.java
3160         (remove): Use getComponent.
3161         * javax/swing/SwingUtilities.java
3162         (convertPoint): Implement.
3163         * javax/swing/plaf/basic/BasicButtonUI.java
3164         (paintButtonNormal): Check opaqueness before
3165         filling background.
3166         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
3167         Implement
3168         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
3169         Implement.
3170         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
3171         Implement.
3172         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3173         Implement.
3174         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3175         Change InternalFrame and Desktop colors.
3176
3177 2004-06-09  David Jee  <djee@redhat.com>
3178
3179         * java/awt/Container.java
3180         (remove): Do not set component to invisible.
3181
3182 2004-06-09  Michael Koch  <konqueror@gmx.de>
3183
3184         * javax/swing/tree/DefaultMutableTreeNode.java
3185         (getLeafCount): Renamed enum to e.
3186
3187 2004-06-09  Michael Koch  <konqueror@gmx.de>
3188
3189         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3190         (positionForMouseEvent): Removed redundant semicolon.
3191         (continueDrag): Use method arguments.
3192
3193 2004-06-09  Michael Koch  <konqueror@gmx.de>
3194
3195         * javax/swing/border/TitledBorder.java,
3196         javax/swing/filechooser/FileSystemView.java,
3197         javax/swing/plaf/basic/BasicButtonListener.java,
3198         javax/swing/plaf/basic/BasicGraphicsUtils.java,
3199         javax/swing/plaf/basic/BasicLabelUI.java,
3200         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
3201         javax/swing/plaf/basic/BasicScrollBarUI.java,
3202         javax/swing/plaf/basic/BasicScrollPaneUI.java,
3203         javax/swing/plaf/basic/BasicSliderUI.java,
3204         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3205         javax/swing/plaf/basic/BasicToggleButtonUI.java,
3206         javax/swing/table/JTableHeader.java,
3207         javax/swing/text/AbstractDocument.java,
3208         javax/swing/text/DefaultCaret.java,
3209         javax/swing/text/StyledEditorKit.java,
3210         javax/swing/tree/DefaultTreeCellEditor.java:
3211         Reworked import statements.
3212
3213 2004-06-08  Graydon Hoare  <graydon@redhat.com>
3214
3215         * javax/swing/Box.java: Temporarily comment out code
3216         broken due to visibility bug.
3217
3218 2004-06-09  Michael Koch  <konqueror@gmx.de>
3219
3220         * javax/swing/ImageIcon.java
3221         (ImageIcon): Added missing constructor.
3222
3223 2004-06-08  Michael Koch  <konqueror@gmx.de>
3224
3225         * javax/swing/JToggleButton.java
3226         (JToggleButton): New constructor.
3227         (getAccessibleContext): Moved documentation into javadoc.
3228         (getUIClassID): Likewise.
3229
3230 2004-06-08  Michael Koch  <konqueror@gmx.de>
3231
3232         * javax/swing/AbstractButton.java
3233         (getDisabledIcon): Create disabled icon if none exists yet.
3234
3235 2004-06-08  Michael Koch  <konqueror@gmx.de>
3236
3237         * javax/swing/plaf/basic/BasicLookAndFeel.java
3238         (initClassDefaults): Added FormattedTextFieldUI.
3239         (loadResourceBundle): Renamed enum to e.
3240
3241 2004-06-08  Michael Koch  <konqueror@gmx.de>
3242
3243         * javax/swing/plaf/basic/BasicButtonUI.java
3244         (paintIcon): Simplified.
3245         (paintText): Paint disabled button correctly.
3246
3247 2004-06-08  Michael Koch  <konqueror@gmx.de>
3248
3249         * javax/swing/JComponent.java
3250         (createToolTip): Use official JToolTip API.
3251
3252 2004-06-08  Michael Koch  <konqueror@gmx.de>
3253
3254         * javax/swing/JToolTip.java
3255         (JToolTip): No arguments in API.
3256         (setTipText): New method.
3257
3258 2004-06-08  Michael Koch  <konqueror@gmx.de>
3259
3260         * javax/swing/SwingUtilities.java
3261         (isLeftMouseButton): New method.
3262         (isMiddleMouseButton): New method.
3263         (isRightMouseButton): New method.
3264
3265 2004-06-08  Michael Koch  <konqueror@gmx.de>
3266
3267         * javax/swing/AbstractButton.java,
3268         javax/swing/CellRendererPane.java,
3269         javax/swing/JCheckBoxMenuItem.java,
3270         javax/swing/JColorChooser.java,
3271         javax/swing/JComboBox.java,
3272         javax/swing/JComponent.java,
3273         javax/swing/JDesktopPane.java,
3274         javax/swing/JFileChooser.java,
3275         javax/swing/JMenu.java,
3276         javax/swing/JMenuItem.java,
3277         javax/swing/JOptionPane.java,
3278         javax/swing/JPasswordField.java,
3279         javax/swing/JPopupMenu.java,
3280         javax/swing/JProgressBar.java,
3281         javax/swing/JRadioButtonMenuItem.java,
3282         javax/swing/JScrollBar.java,
3283         javax/swing/JSeparator.java,
3284         javax/swing/JSlider.java,
3285         javax/swing/JSplitPane.java,
3286         javax/swing/JTabbedPane.java,
3287         javax/swing/JTextField.java,
3288         javax/swing/JToolBar.java,
3289         javax/swing/text/JTextComponent.java:
3290         Fixed all constructors of accessibility classes.
3291
3292 2004-06-08  Michael Koch  <konqueror@gmx.de>
3293
3294         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
3295         over.
3296
3297 2004-06-08  Michael Koch  <konqueror@gmx.de>
3298
3299         * javax/swing/Box.java
3300         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
3301         (AccessibleBoxFiller.serialVersionUID): New member variable.
3302         * javax/swing/DefaultButtonModel.java
3303         (stateMask): Made protected.
3304         (listenerList): Likewise.
3305         (changeEvent): Likewise.
3306         (group): Likewise.
3307         (mnemonic): Likewise.
3308         (actionCommand): Likewise.
3309         (getListeners): New method.
3310         (getActionListeners): New method.
3311         (getItemListeners): New method.
3312         (getChangeListeners): New method.
3313         (fireItemStateChanged): Simplified.
3314         (fireActionPerformed): Simplified.
3315         (fireStateChanged): Simplified.
3316         * javax/swing/JFrame.java
3317         (JFrame): Implements WindowContants.
3318         (HIDE_ON_CLOSE): Removed.
3319         (EXIT_ON_CLOSE): Removed.
3320         (DISPOSE_ON_CLOSE): Removed.
3321         (DO_NOTHING_ON_CLOSE): Removed.
3322         (processWindowEvent): Exit with code 0.
3323         (setDefaultCloseOperation): Do security check before setting value.
3324         * javax/swing/JOptionPane.java
3325         (message): Initialize only in constructor.
3326         * javax/swing/JToolTip.java: Removed unused imports.
3327         * javax/swing/JViewport.java
3328         (serialVersionUID): New member variable.
3329         (SIMPLE_SCROLL_MODE): Made final, fixed value.
3330         (BLIT_SCROLL_MODE): Likewise.
3331         (BACKINGSTORE_SCROLL_MODE): Likewise.
3332         (scrollUnderway): Made protected.
3333         (isViewSizeSet): Likewise.
3334         * javax/swing/ListModel.java: Fixed javadoc.
3335         * javax/swing/Popup.java: Likewise.
3336         * javax/swing/RepaintManager.java
3337         (paintDirtyRegions): Don't use internal classes of
3338         java.util.AbstractMap.
3339         * javax/swing/ScrollPaneConstants.java: Reindented.
3340         * javax/swing/ScrollPaneLayout.java
3341         (viewport): Made protected.
3342         (verticalScrollBar): Made protected, renamed to vsb.
3343         (horizontalScrollBar): Made protected, renamed to hsb.
3344         (rowHeader): Made protected, renamed to rowHead.
3345         (columnHeader): Made protected, renamed to colHead.
3346         (lowerLeft): Made protected.
3347         (lowerRight): Made protected.
3348         (upperLeft): Made protected.
3349         (upperRight): Made protected.
3350         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
3351         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
3352
3353 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
3354
3355         * java/awt/MediaTracker.java (imageUpdate): Only set status to
3356         LOADING if flags has SOMEBITS set.
3357
3358 2004-06-07  Michael Koch  <konqueror@gmx.de>
3359
3360         * javax/swing/AbstractButton.java: Reorganized imports.
3361         * javax/swing/ActionMap.java: Likewise.
3362         * javax/swing/DefaultButtonModel.java: Likewise.
3363         * javax/swing/DefaultListModel.java: Likewise.
3364         * javax/swing/ImageIcon.java: Likewise.
3365         (serialVersionUID): New member variable.
3366         * javax/swing/JComboBox.java: Reorganized imports.
3367         * javax/swing/JComponent.java: Likewise.
3368         (ui): Made protected.
3369         (listenerList): Made protected.
3370         (TOOL_TIP_TEXT_KEY): New constant.
3371         (scrollRectToVisible): Removed redundant null check.
3372         * javax/swing/JFrame.java: Reorganized imports.
3373         * javax/swing/JInternalFrame.java: Reorganized imports.
3374         * javax/swing/JProgressBar.java: Likewise.
3375         * javax/swing/JRootPane.java: Likewise.
3376         * javax/swing/JScrollBar.java: Likewise.
3377         * javax/swing/JSeparator.java: Likewise.
3378         * javax/swing/JSlider.java: Likewise.
3379         * javax/swing/JTabbedPane.java: Likewise.
3380         * javax/swing/JTextField.java: Likewise.
3381         * javax/swing/JToolBar.java: Likewise.
3382         * javax/swing/JTree.java: Likewise.
3383         * javax/swing/JViewport.java: Likewise.
3384         * javax/swing/JWindow.java: Likewise.
3385         * javax/swing/KeyStroke.java: Likewise.
3386         * javax/swing/LookAndFeel.java: Likewise.
3387         * javax/swing/MenuSelectionManager.java: Likewise.
3388         * javax/swing/SwingUtilities.java: Likewise.
3389         * javax/swing/Timer.java: Likewise.
3390         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
3391         * javax/swing/JList.java
3392         (HORIZONTAL_WRAP): Made final, fixed value.
3393         (VERTICAL): Likewise.
3394         (VERTICAL_WRAP): Likewise.
3395
3396 2004-06-07  Michael Koch  <konqueror@gmx.de>
3397
3398         * javax/swing/AbstractButton.java
3399         (serialVersionUID): New member variable.
3400         (AccessibleAbstractButton.serialVersionUID): Likewise.
3401         (AbstractButton): Made public.
3402         * javax/swing/Box.java
3403         (AccessibleBox.serialVersionUID): New member variable.
3404         (Filler.serialVersionUID): Likewise.
3405         * javax/swing/DefaultListSelectionModel.java
3406         (serialVersionUID): Likewise.
3407         * javax/swing/JApplet.java
3408         (serialVersionUID): Likewise.
3409         * javax/swing/JCheckBox.java
3410         (serialVersionUID): Likewise.
3411         * javax/swing/JCheckBoxMenuItem.java
3412         (serialVersionUID): Likewise.
3413         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
3414         * javax/swing/JColorChooser.java
3415         (serialVersionUID): Likewise.
3416         (AccessibleJColorChooser.serialVersionUID): Likewise.
3417         * javax/swing/JComponent.java
3418         (serialVersionUID): Made private.
3419         (AccessibleJComponent.serialVersionUID): New member variable.
3420         * javax/swing/JDesktopPane.java
3421         (serialVersionUID): Likewise.
3422         * javax/swing/JDialog.java
3423         (serialVersionUID): Likewise.
3424         * javax/swing/JFormattedTextField.java
3425         (serialVersionUID): Fixed value.
3426         * javax/swing/JFrame.java
3427         (serialVersionUID): New member variable.
3428         (getDefaultCloseOpertation): Made public.
3429         * javax/swing/JLayeredPane.java
3430         (serialVersionUID): Likewise.
3431         (LAYER_PROPERTY): Made final, fixed value.
3432         (JLayeredPane): Made public.
3433         * javax/swing/JMenu.java
3434         (AccessibleJMenu.serialVersionUID): New member variable.
3435         (WinListener.serialVersionUID): Likewise.
3436         * javax/swing/JMenuBar.java
3437         (serialVersionUID): Likewise.
3438         (getComponentAtIndex): Added @deprecated tag.
3439         * javax/swing/JMenuItem.java
3440         (serialVersionUID): New member variable.
3441         (AccessibleJMenuItem.serialVersionUID): Likewise.
3442         * javax/swing/JOptionPane.java
3443         (serialVersionUID): Likewise.
3444         (AccessibleJOptionPane.serialVersionUID): Likewise.
3445         * javax/swing/JPopupMenu.java
3446         (serialVersionUID): Likewise.
3447         (AccessibleJPopupMenu.serialVersionUID): Likewise.
3448         (getPopupMenuListeners): New method.
3449         (getComponentAtIndex): Added @deprecated tag.
3450         * javax/swing/JProgressBar.java
3451         (serialVersionUID): New member variable.
3452         (AccessibleJProgressBar.serialVersionUID): Likewise.
3453         * javax/swing/JRadioButton.java
3454         (serialVersionUID): Likewise.
3455         * javax/swing/JRadioButtonMenuItem.java
3456         (serialVersionUID): Likewise.
3457         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
3458         * javax/swing/JScrollBar.java
3459         (serialVersionUID): Likewise.
3460         (AccessibleJScrollBar.serialVersionUID): Likewise.
3461         * javax/swing/JSeparator.java
3462         (serialVersionUID): Likewise.
3463         (AccessibleJSeparator.serialVersionUID): Likewise.
3464         * javax/swing/JSlider.java: Fixed javadocs.
3465         (AccessibleJSlider.serialVersionUID): New member variable.
3466         * javax/swing/JSplitPane.java: Added copyright statement.
3467         (serialVersionUID): New member variable.
3468         (AccessibleJSplitPane.serialVersionUID): Likewise.
3469         * javax/swing/JTabbedPane.java
3470         (serialVersionUID): Likewise.
3471         (AccessibleJTabbedPane.serialVersionUID): Likewise.
3472         (ModelListener.serialVersionUID): Likewise.
3473         (ModelListener.ModelListener): New constructor.
3474         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
3475         (WRAP_TAB_LAYOUT): Likewise.
3476         * javax/swing/JTable.java
3477         (serialVersionUID): New member variable.
3478         * javax/swing/JToggleButton.java
3479         (serialVersionUID): Likewise.
3480         (ToggleButtonModel): Made static.
3481         (ToggleButtonModel.serialVersionUID): New member variable.
3482         * javax/swing/JToolTip.java
3483         (serialVersionUID): Likewise.
3484         * javax/swing/JTree.java
3485         (serialVersionUID): Likewise.
3486         * javax/swing/JWindow.java
3487         (serialVersionUID): Likewise.
3488         * javax/swing/Timer.java
3489         (serialVersionUID): Likewise.
3490
3491 2004-06-06  Michael Koch  <konqueror@gmx.de>
3492
3493         * javax/swing/SwingConstants.java
3494         (NEXT): New constant.
3495         (PREVIOUS): Likewise.
3496         * javax/swing/UIManager.java
3497         (LookAndFeel): Made public.
3498         (LookAndFeel.getClassName): Likewise.
3499         (LookAndFeel.getName): Likewise.
3500
3501 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
3502
3503         * javax/swing/JCheckBoxMenuItem.java:
3504         Removed CVS tags.
3505         * javax/swing/JMenu.java: Likewise.
3506         * javax/swing/JMenuBar.java: Likewise.
3507         * javax/swing/JMenuItem.java: Likewise.
3508         * javax/swing/JPopupMenu.java: Likewise.
3509         * javax/swing/JRadioButtonMenuItem.java: Likewise.
3510         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3511         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3512         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3513         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3514         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3515         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3516
3517 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
3518         
3519         * javax/swing/plaf/basic/BasicMenuUI.java:
3520         (MouseEntered): Do not call getPath() from MenuSelectionManager.
3521         Call getPath() from super class instead.
3522
3523 2004-05-31  David Jee  <djee@redhat.com>
3524
3525         * java/awt/Container.java
3526         (remove): Set component visibility to false after removing it.
3527
3528 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
3529
3530         * java/awt/Component.java (getForeground): Return SystemColor if
3531         parent is null.
3532         (getBackground): Likewise.
3533
3534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3535         (item_highlighted): New function.
3536         (connectSignals): Set item_highlighted as list's select
3537         function.
3538
3539         * java/applet/Applet.java: Revert changes from 2004-04-29,
3540         2004-03-15 and 2004-03-14.
3541
3542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3543         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
3544         factor.
3545
3546         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
3547         "Dialog" as the default font.
3548         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
3549         Likewise.
3550         * java/awt/Component.java (getFont): Return "Dialog" font by
3551         default.
3552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
3553         Multiply size argument to pango_font_description_set_size by the
3554         DPI conversion factor rather than by PANGO_SCALE.
3555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
3556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
3557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
3558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
3559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
3561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
3562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
3563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
3564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
3565         Divide baseline y coordinate by DPI conversion factor rather
3566         than by PANGO_SCALE.
3567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3568         (area_prepared): Fix typo.
3569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
3570         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
3571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3572         (dpi_conversion_factor): New global variable.
3573         (init_dpi_conversion_factor): New function to calculate and
3574         track DPI conversion factor.
3575         (dpi_changed_cb): New callback.
3576         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
3577
3578 2004-05-27  David Jee  <djee@redhat.com>
3579
3580         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3581         (getGraphics): Return a new GdkGraphics instance.
3582         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3583         (getGraphics): Call super.getGraphics().
3584
3585 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3586
3587         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3588         (setNativeBounds): Clamp width and height values to >= 0.
3589
3590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3591         (find_fg_color_widget): Handle GtkOptionMenu specially.
3592
3593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
3594         (pre_event_handler): Only post configure events to visible
3595         top-level windows.
3596
3597 2004-05-26  David Jee  <djee@redhat.com>
3598
3599         * java/awt/BorderLayout.java
3600         (layoutContainer): Fix size calculations.
3601
3602 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
3603
3604         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3605         (window_wm_protocols_filter): Remove function.
3606         (create): Remove filter that removes WM_TAKE_FOCUS client
3607         messages.
3608
3609 2004-06-17  Anthony Green  <green@redhat.com>
3610
3611         * java/util/zip/ZipFile.java (getInputStream): Return null if
3612         entry not found.
3613
3614         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
3615         directory contents to the class path.
3616
3617 2004-06-15  Andrew Haley  <aph@redhat.com>
3618
3619         * java/lang/natSystem.cc (getenv0): Don't assume environment
3620         variable is Latin 1 coded.
3621
3622 2004-06-14  Andreas Jaeger  <aj@suse.de>
3623
3624         * configure.in: Support --enable-version-specific-runtime-libs.
3625         * configure: Regenerated.
3626
3627 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
3628
3629         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
3630         to pass ClassLoader argument.
3631         * java/util/GregorianCalendar.java: Likewise.
3632         * java/util/Currency.java: Likewise.
3633         * java/text/BreakIterator.java: Likewise.
3634         * java/text/Collator.java: Likewise.
3635         * java/text/DateFormat.java: Likewise.
3636         * java/text/DateFormatSymbols.java: Likewise.
3637         * java/text/DecimalFormatSymbols.java: Likewise.
3638         * java/text/NumberFormat.java: Likewise.
3639         * java/awt/Window.java: Likewise.
3640
3641 2004-06-14  Andrew Haley  <aph@redhat.com>
3642
3643         * java/lang/System.java: (getenv0): New method.
3644         (getenv): Add security check.  Do the right thing.
3645         * java/lang/natSystem.cc (getenv0): New method.
3646
3647 2004-06-12  Mark Wielaard  <mark@klomp.org>
3648
3649         * javax/swing/RepaintManager.java
3650         (paintDirtyRegions): Use entrySet(), not values().
3651
3652 2004-06-10  Mark Wielaard  <mark@klomp.org>
3653
3654         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
3655         NoSuchMethodError.
3656
3657 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
3658
3659         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
3660         when we already know the answer.
3661         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
3662         (setStartRule,setEndRule): Don't take abs of day number.
3663         (getOffset): Clarify docs.  Add argument checks.
3664         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
3665         (equals,hasSameRules,toString,readObject): Use startTimeMode and
3666         endTimeMode.
3667
3668 2004-06-10  Tom Tromey  <tromey@redhat.com>
3669
3670         * interpret.cc (run): Handle wide fload.
3671
3672 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
3673
3674         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
3675
3676 2004-06-05  Michael Koch  <konqueror@gmx.de>
3677
3678         * javax/swing/SwingConstants.java
3679         (NEXT): New constant.
3680         (PREVIOUS): Likewise.
3681
3682 2004-06-05  Michael Koch  <konqueror@gmx.de>
3683
3684         * javax/swing/UIManager.java
3685         (LookAndFeel): Made public.
3686         (LookAndFeel.getName): Likewise.
3687         (LookAndFeel.getClassName): Likewise.
3688
3689 2004-06-03  Michael Koch  <konqueror@gmx.de>
3690
3691         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3692         (requestFocus): Revert last changes.
3693         (gtkRequestFocus): Removed.
3694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3695         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3696         Renamed to ...
3697         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
3698         Reverted last patch.
3699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3700         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
3701         Reverted comment change.
3702
3703 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
3704
3705         * javax/swing/JCheckBoxMenuItem.java:
3706         Removed CVS tags.
3707         * javax/swing/JMenu.java: Likewise.
3708         * javax/swing/JMenuBar.java: Likewise.
3709         * javax/swing/JMenuItem.java: Likewise.
3710         * javax/swing/JPopupMenu.java: Likewise.
3711         * javax/swing/JRadioButtonMenuItem.java: Likewise.
3712         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
3713         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3714         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3715         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
3716         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
3717         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
3718
3719 2004-06-01  Tom Tromey  <tromey@redhat.com>
3720
3721         * java/io/ObjectStreamField.java: Cleaned up imports.
3722
3723 2004-06-01  Michael Koch  <konqueror@gmx.de>
3724
3725         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
3726       
3727 2004-06-01  Mark Wielaard  <mark@klomp.org>
3728
3729         * java/io/Writer.java (Writer(Object)): Fixed API doc.
3730
3731 2004-06-01  Michael Koch  <konqueror@gmx.de>
3732
3733         * java/security/Security.java
3734         (insertProviderAt): Use equals() instead of ==.
3735         (removeProvicer): Likewise.
3736         (getProvider): Likewise.
3737         * java/security/Signature.java
3738         (sign): Don't set state to UNINITIALIZED.
3739         (verify): Likewise.
3740
3741 2004-06-01  Mark Wielaard  <mark@klomp.org>
3742
3743         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
3744         Implement by calling gtkRequestFocus.
3745         (gtkRequestFocus): New native method.
3746         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3747         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
3748         Renamed to ...
3749         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
3750         New function name.
3751         (filter_expose_event_handler):
3752         Mark static.
3753         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
3754         (menu_pos): Mark static.
3755
3756 2004-06-01  Michael Koch  <konqueror@gmx.de>
3757
3758         * java/text/CollationElementIterator.java,
3759         java/text/CollationKey.java,
3760         java/text/RuleBasedCollator.java: New versions from GNU classpath.
3761         * testsuite/libjava.mauve/xfails: Removed all
3762         java.text.CollationElementIterator tests.
3763
3764 2004-06-01  Michael Koch  <konqueror@gmx.de>
3765
3766         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
3767         version.
3768         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
3769         Java 1.5 keyword usage.
3770
3771 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
3772
3773         * javax/swing/plaf/basic/BasicMenuUI.java:
3774         (MouseEntered): Do not call getPath() from MenuSelectionManager.
3775         Call getPath() from super class instead.
3776
3777 2004-05-31  Michael Koch  <konqueror@gmx.de>
3778
3779         * java/io/SequenceInputStream.java:
3780         Rename enum to e because enum is a keyword in Java 1.5.
3781
3782 2004-05-31  Michael Koch  <konqueror@gmx.de>
3783
3784         * gnu/java/rmi/rmic/CompilerProcess.java:
3785         Fixed javadoc to by XHTML compliant.
3786
3787 2004-05-30  Mark Wielaard  <mark@klomp.org>
3788
3789         * java/awt/Toolkit.java (loadSystemColors): Implement.
3790
3791 2004-05-30  Michael Koch  <konqueror@gmx.de>
3792
3793         * java/lang/System.java: Reordered imports.
3794
3795 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
3796
3797         * java/text/DecimalFormat.java
3798         (parse): Fixed parsing of decimal strings. Number of maximum
3799         digits to be read should now work.
3800         * java/text/SimpleDateFormat.java
3801         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
3802         formatter. This fixes DateFormatTest.
3803
3804 2004-05-30  Michael Koch  <konqueror@gmx.de>
3805
3806         * java/nio/Buffer.java
3807         (limit): Fixed off by one error.
3808         * java/nio/CharBuffer.java
3809         (wrap): Fixed arguments, added javadocs.
3810
3811 2004-05-30  Michael Koch  <konqueror@gmx.de>
3812
3813         * gnu/java/beans/BeanInfoEmbryo.java,
3814         java/awt/im/InputContext.java,
3815         javax/swing/tree/DefaultMutableTreeNode.java:
3816         Rename enum to e because enum is a keyword in Java 1.5.
3817
3818 2004-05-30  Michael Koch  <konqueror@gmx.de>
3819
3820         * gnu/java/math/MPN.java,
3821         java/awt/geom/Arc2D.java:
3822         Fixed javadocs all over.
3823
3824 2004-05-30  Michael Koch  <konqueror@gmx.de>
3825
3826         * java/awt/DefaultKeyboardFocusManager.java
3827         (dispatchEvent): Call method to get key event dispatchers.
3828         (dispatchKeyEvent): Call method to get key event post processors.
3829         * javax/swing/JComponent.java
3830         (listenerList): Made protected.
3831         * javax/swing/JOptionPane.java
3832         (message): Don't initialize.
3833         (JOptionPane): Set message text.
3834         * javax/swing/JPopupMenu.java
3835         (show): Fixed typo in argument name.
3836         * javax/swing/RepaintManager.java
3837         (paintDirtyRegions): Use public API of java.util.Map.
3838         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
3839         (positionForMouseEvent): Removed redundant ';'.
3840         (continueDrag): Use method arguments.
3841
3842 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
3843
3844         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
3845         results.
3846
3847 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
3848
3849         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
3850         _Jv_AllocBytes.
3851         * gnu/gcj/RawDataManaged.java: New file.
3852         * java/lang/Thread.java (data): Declare as RawDataManaged.
3853         * java/lang/natThread.cc (init_native): Cast natThread data to
3854         RawDataManaged, not jobject.
3855         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
3856         * Makefile.in: Rebuilt.
3857
3858 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
3859
3860         * java/util/SimpleTimeZone.java: Reverting my last change until I
3861         can fix it properly.
3862
3863 2004-05-27  Michael Koch  <konqueror@gmx.de>
3864
3865         * javax/swing/JPopupMenu.java
3866         (isVisible): Do not use visible directly.
3867         (setVisible): Likewise.
3868         * javax/swing/JWindow.java
3869         (JWindow): call accessible constructor.
3870         * javax/swing/RepaintManager.java
3871         (paintDirtyRegions): Use public methods to obtain iterator.
3872
3873 2004-05-25  David Jee  <djee@redhat.com>
3874
3875         * java/awt/Container.java
3876         (remove): Set component's parent to null only after we removed the
3877         component from its parent's layout manager.
3878
3879 2004-05-25  David Jee  <djee@redhat.com>
3880
3881         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3882         (GtkComponentPeer): Set bounds regardless of whether awtComponent
3883         is valid.
3884         * gnu/java/awt/peer/gtk/GtkListPeer.java
3885         (getSize): Change native method declaration.
3886         (minimumSize): Pass visible row count into getSize().
3887         (preferredSize): Likewise.
3888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
3889         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
3890         natural size. Use visible row count to determine the final height
3891         value to return.
3892
3893 2004-05-21  Graydon Hoare  <graydon@redhat.com>
3894
3895         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
3896         (setClip): Minor correction to order of operations.
3897
3898         * javax/swing/JScrollPane.java: Extend sketchy implementation.
3899         * javax/swing/ScrollPaneLayout.java: Likewise.
3900         * javax/swing/JViewPort.java: Likewise.
3901         * javax/swing/ViewportLayout.java: Likewise.
3902
3903         * javax/swing/JComponent.java: Rewrite.
3904         * javax/swing/RepaintManager.java: Likewise.
3905
3906         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
3907         * javax/swing/JList.java 
3908         (setSelectedIndices):
3909         (getSelectedIndices):
3910         (getSelectedValues): New functions.
3911         (getPreferredScrollableViewportSize): Return preferred size.
3912         (getScrollableUnitIncrement):
3913         (getScrollableBlockIncrement): Initial implementations.
3914         * javax/swing/JRootPane.java: Clean up slightly.
3915         (getUI):
3916         (setUI):
3917         (updateUI):
3918         (getUIClassID):
3919         (isValidateRoot): Add overrides from JComponent.
3920         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
3921         * javax/swing/UIManager.java (getDimension): Return the dimension.
3922
3923         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
3924         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3925         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
3926         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3927         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3928         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
3929         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3930         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
3931         Likewise, and set background.
3932         * javax/swing/plaf/basic/BasicListUI.java: 
3933         Likewise, and improve a bit.
3934         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
3935         Likewise, and adjust calculations.
3936         * javax/swing/plaf/basic/BasicViewportUI.java:
3937         Likewise, and improve a bit.
3938         * javax/swing/plaf/basic/BasicLookAndFeel.java 
3939         (Button.margin): Shrink.
3940
3941         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
3942         Hack to set horizontal always, workaround pango.
3943
3944         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
3945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3946         Synchronize more often, check cairo status after ops,
3947         handle changes to cairo pattern API, check for disposal.
3948
3949 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
3950
3951         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3952         (BasicMenuItemUI): Create propertyChangeListener.
3953         (getPath):Implemented.
3954         (installListeners): Add propertyChangeListener to menuItem.
3955         (uninstallListeners): Remove propertyChangeListener from menuItem.
3956         (update): Implemented.
3957         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3958         (mouseEntered): Take insets of popup menu into account when
3959         calculating position of popup menu.     
3960         
3961 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
3962
3963         * Makefile.am: Added new file. 
3964         * Makefile.in: Regenerate.
3965         * javax/swing/JMenuBar.java:
3966         Started implementation.
3967         * javax/swing/JPopupMenu.java:
3968         (setVisible): Fixed location of lightweight/mediumweight
3969         popup menu.
3970         (show): Fixed location of PopupMenu.
3971         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3972         New file. UI Delegate for JMenuBar.
3973         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
3974         (mouseEntered): Corrected position of the submenu.
3975
3976 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3977
3978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
3979         to _gtk_accel_group_attach.
3980         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
3981         Likewise.
3982
3983         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
3984         package access.  Don't override setFont.
3985         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
3986         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
3987         gtkWidgetRequestFocus package access.
3988         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
3989         setFont.
3990         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
3991         Give gtkWidgetRequestFocus package access.
3992         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
3993         gtkWidgetRequestFocus package access.  Don't override setFont.
3994         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
3995         setFont.
3996         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3997         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
3998         region.
3999         (gtkSetFont): Likewise.
4000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
4001         Implement.
4002         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4003         (gtkSetFont): Whitespace fix.
4004
4005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4006         (gtkWidgetSetUsize): Remove method.
4007
4008 2004-05-18  David Jee  <djee@redhat.com>
4009
4010         * java/awt/image/MemoryImageSource.java
4011         (newPixels(int,int,int,int,boolean)): Set only the specified
4012         rectangle of pixels.
4013         (newPixels(byte[],ColorModel,int,int)): Implement.
4014         (newPixels(int[],ColorModel,int,int)): Implement.
4015
4016 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
4017
4018         * Makefile.am: Added new file.
4019         * Makefile.in: Regenerate.
4020         * javax/swing/JMenu.java: Started 
4021         implementation.
4022         * javax/swing/JPopupMenu.java:
4023         (insert): If specified index is -1, then
4024         add component at the end.
4025         (isPopupTrigger): Reimplemented.
4026         (JPopupMenu.LightWeightPopup): setBounds
4027         of the lightWeightPopup before adding it 
4028         to the layeredPane.
4029         (javax/swing/plaf/basic/BasicIconFactory.java):
4030         (getMenuArrowIcon): Implemented.
4031         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4032         (getPreferredSize): Add size of the arrow icon 
4033         if this menu item is instance of JMenu.
4034         (paintMenuItem): Paint arrow icon if this 
4035