OSDN Git Service

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