OSDN Git Service

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