OSDN Git Service

276cb725f2f7a636b1aecc6c698f691e8c466571
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2005-03-22  Mike Stump  <mrs@apple.com>
2
3         * include/posix.h: .dylib is used on all Apple MACH platforms.
4         * java/lang/ieeefp.h: ppc64 is also __IEEE_BIG_ENDIAN.
5
6 2005-03-22  Tom Tromey  <tromey@redhat.com>
7
8         * gnu/gcj/tools/gcj_dbtool/Main.java (usage): Fixed output.
9
10 2005-03-21  Tom Tromey  <tromey@redhat.com>
11
12         * java/lang/VMCompiler.java (static block): Also catch
13         BufferUnderflowException.
14
15 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
16
17         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Do not
18         set tool_include_dir.  In all substitutions, leave $(gcc_version)
19         to be expanded by the Makefile.
20         * aclocal.m4, configure: Regenerate.
21         * Makefile.am: Set gcc_version.  Replace all uses of
22         @gcc_version@ with $(gcc_version).
23         * external/Makefile.am, external/sax/Makefile.am
24         * external/w3c_dom/Makefile.am, gcj/Makefile.am
25         * testsuite/Makefile.am: Set gcc_version.
26         * include/Makefile.am: Set gcc_version and tool_include_dir.
27         * Makefile.in, external/Makefile.in, external/sax/Makefile.in
28         * external/w3c_dom/Makefile.in, gcj/Makefile.in, include/Makefile.in
29         * testsuite/Makefile.in: Regenerate.
30
31 2005-03-17  Andrew Haley  <aph@redhat.com>
32
33         * java/lang/natVMSecurityManager.cc (getClassContext): Add new
34         arg: klass.
35         Pass klass to _Jv_StackTrace::GetClassContext().
36         * java/lang/ClassLoader.java (getParent): Pass class to
37         VMSecurityManager.getClassContext()
38         (getSystemClassLoader): Likewise.
39         * java/lang/Package.java (getPackage): Likewise.
40         (getPackages): Likewise.
41         * java/lang/SecurityManager.java (getClassContext): Likewise.
42         (currentClassLoader): Likewise.
43         * java/lang/VMSecurityManager.java: (getClassContext): Likewise.
44         (currentClassLoader) Add new arg: caller.
45         Pass caller to VMSecurityManager.getClassContext.
46
47         * stacktrace.cc (GetClassContext): Correct calculation of
48         jframe_count.
49
50         * boehm.cc (_Jv_MarkObj): (_Jv_MarkObj): Mark
51         im->source_file_name.
52
53 2005-03-16  Andrew Haley  <aph@redhat.com>
54
55         * boehm.cc (_Jv_MarkObj): Mark the interpreted method line_table.
56
57 2005-03-16  Tom Tromey  <tromey@redhat.com>
58
59         * link.cc (ensure_class_linked): Removed #ifdef.
60         (print_class_loaded): Likewise.
61         (wait_for_state): Likewise.
62         * java/lang/Class.h (_Jv_IsInterpretedClass): Always declare.
63         * include/jvm.h (_Jv_IsInterpretedClass): Moved from...
64         * include/java-interp.h: ... here.
65
66 2005-03-16  Tom Tromey  <tromey@redhat.com>
67
68         * gnu/java/lang/MainThread.java (run): Load main class using
69         system class loader.
70
71 2005-03-16  Andreas Tobler  <a.tobler@schweiz.ch>
72
73         * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Add
74         lgcc_s to the libraries to link for Darwin.
75
76 2005-03-15  Andreas Tobler  <a.tobler@schweiz.ch>
77
78         * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Protect
79         interpreter-specific code with #ifdef INTERPRETER.
80         (_Jv_StackTrace::getLineNumberForFrame): Likewise.
81         (_Jv_StackTrace::FillInFrameInfo): Likewise.
82         (_Jv_StackTrace::non_system_trace_fn): Likewise.
83         * include/java-stack.h (struct _Jv_InterpFrameInfo): Protect with
84         #ifdef INTERPRETER. Also protect declarations that use it.
85         * java/lang/Class.h: Move _Jv_StackTrace friend declaration outside
86         #ifdef INTERPRETER block.
87
88 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
89
90         PR libgcj/20251
91         * Makefile.am (libjawt_la_LIBADD): Add -L$(here)/.libs.
92         * Makefile.in: Rebuilt.
93
94 2005-03-15  David Daney  <ddaney@avtrex.com>
95
96         * gnu/java/net/natPlainSocketImplPosix.cc (read_helper): Handle
97         count == 0 case.
98
99 2005-03-15  David Daney  <ddaney@avtrex.com>
100
101         * java/io/BufferedInputStream.java (available): Use 'in' instead
102         of 'super' for underlying stream access.
103         (close): Ditto.
104         (read(byte[], int, int)): Ditto.
105         (refill): Ditto.
106         (skip): Call skip on underlying stream when possible.
107
108 2005-03-12  Andreas Tobler  <a.tobler@schweiz.ch>
109
110         * stacktrace.cc (GetCallerInfo): Return nothing in case of
111         SJLJ_EXCEPTIONS is defined.
112
113 2005-03-12  Ranjit Mathew  <rmathew@hotmail.com>
114
115         * testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201
116         tests.
117
118 2005-03-11  Andreas Tobler  <a.tobler@schweiz.ch>
119
120         * testsuite/lib/libjava.exp (libjava_init): Use the same target
121         check for Darwin.
122         (libjava_arguments): Likewise.
123
124         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Likewise.
125         (gcj_jni_test_one): Likewise.
126         (gcj_jni_invocation_compile_c_to_binary): Likewise.
127         Add flags to keep the Darwin linker quiet.
128         (gcj_jni_invocation_test_one): Use the same target check for Darwin.
129         Add -liconv for Darwin.
130
131 2005-03-11  Tom Tromey  <tromey@redhat.com>
132
133         * include/jvm.h (GCJ_40_BC_ABI_VERSION): New define.
134         (_Jv_CheckABIVersion): Use it.
135
136 2005-03-11  Tom Tromey  <tromey@redhat.com>
137
138         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Handle '-p'.
139         (usage): Document '-p'.
140         * Makefile.in: Rebuilt.
141         * Makefile.am (dbexecdir): New variable.
142         (db_name): Likewise.
143         (dbexec_DATA): Likewise.
144         ($(db_name)): New target.
145         (AM_CXXFLAGS): Define LIBGCJ_DEFAULT_DATABASE.
146         * java/lang/natRuntime.cc (insertSystemProperties): Set default
147         system database.
148
149 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
150
151         * exception.cc: Remove stray MethodRef.h include.
152         * java/lang/natClass.cc: Likewise.
153         * gnu/gcj/runtime/MethodRef.java: Removed.
154         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
155         gnu/gcj/runtime/natStackTrace.cc: Really removed.
156         * java/lang/natRuntime.cc (_load): Remove unsed variable.
157         * Makefile.am (ordinary_java_source_files): Remove MethodRef.java.
158         * Makefile.in: Rebuilt.
159
160 2005-03-10  Tom Tromey  <tromey@redhat.com>
161
162         * Makefile.in: Rebuilt.
163         * Makefile.am (ordinary_java_source_files): Added MethodRef.java.
164
165 2005-03-10  Chris Burdess  <dog@bluezoo.org>
166
167         * gnu/xml/dom/ls/SAXEventSink.java: Ignore element declarations if
168         not currently parsing the DTD.
169
170 2005-03-10  Bryce McKinlay  <mckinlay@redhat.com>
171
172         New Stack Trace infrastructure.
173         * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
174         (gnu/gcj/runtime/StackTrace.java): Removed.
175         (ordinary_java_source_files): Remove obsolete files.
176         (nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
177         * configure.host (fallback_backtrace_h): Set backtrace header
178         for mingw and cygwin targets.
179         * configure.ac: Make symlink for fallback backtrace headers.
180         * Makefile.in, configure: Rebuilt.
181         * defineclass.cc (_Jv_ClassReader::read_one_code_attribute):
182         Read 'LineNumberTable' attribute.
183         (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile'
184         attribute.
185         (_Jv_ClassReader::handleCodeAttribute): Initialize method line
186         table fields.
187         * exception.cc: Remove unused include.
188         * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h.
189         (SAVE_PC): New macro. Save current PC in the interpreter frame.
190         (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC.
191         (_Jv_InterpMethod::compile): Translate bytecode PC values in the line
192         table to direct threaded instruction values.
193         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed.
194         (_Jv_InterpMethod::run): No longer member function. All
195         callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call
196         is made or where an instruction could throw.
197         (_Jv_InterpMethod::get_source_line): New. Look up source line numbers
198         in line_table.
199         * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME.
200         (catch_fpe): Likewise.
201         * stacktrace.cc: New file. Stack trace code now here.
202         * gnu/gcj/runtime/MethodRef.java:
203         * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply
204         calls addr2line to look up PC addresses in a given binary or shared
205         library.
206         * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc,
207         gnu/gcj/runtime/natStackTrace.cc: Removed.
208         * gnu/java/lang/MainThread.java (call_main): Add comment warning that
209         this function name is specially recognised by the stack trace code
210         and shouldn't be changed.
211         * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here.
212         (struct  _Jv_LineTableEntry, line_table, line_table_len): New.
213         (_Jv_InterpMethod::run): Update declaration.
214         (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer
215         friends.
216         (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field.
217         * include/java-stack.h: New file. Declarations for stack tracing.
218         * include/jvm.h (_Jv_Frame_info): Removed.
219         * java/lang/Class.h: Update friend declarations.
220         * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify
221         exception message.
222         * java/lang/VMThrowable.java (fillInStackTrace): Now native.
223         (getStackTrace): Now native.
224         (data): New RawDataManaged field.
225         * java/lang/natClass.cc: Update includes.
226         (forName): Use _Jv_StackTrace::GetCallingClass for
227         calling-classloader check.
228         (getClassLoader): Likewise.
229         * java/lang/natRuntime.cc: Update includes.
230         (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader.
231         * java/lang/natVMSecurityManager.cc: Update includes.
232         (getClassContext): Use _Jv_StackTrace::GetClassContext.
233         * java/lang/natVMThrowable.cc: New file. Native methods for
234         VMThrowable.
235         * java/lang/reflect/natArray.cc: Update includes.
236         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
237         accessibility check.
238         * java/lang/reflect/natConstructor.cc: Update includes.
239         (newInstance): Use _Jv_StackTrace::GetCallingClass to implement
240         accessibility check.
241         * java/lang/reflect/natField.cc: Update includes.
242         (getAddr): Use _Jv_StackTrace::GetCallingClass to implement
243         accessibility check.
244         * java/lang/reflect/natMethod.cc: Update includes.
245         (invoke): Use _Jv_StackTrace::GetCallingClass to implement
246         accessibility check.
247         * java/util/natResourceBundle.cc: Update includes.
248         (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass.
249         * java/util/logging/natLogger.cc: Update includes. Use
250         _Jv_StackTrace::GetCallerInfo to get call-site info.
251         * sysdep/generic/backtrace.h: Fallback backtrace code. Stub
252         implementation.
253         * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386
254         implementation.
255
256 2005-03-10  Ranjit Mathew  <rmathew@hotmail.com>
257
258         * testsuite/libjava.compile/PR20312.java: New file.
259         * testsuite/libjava.compile/PR20312.xfail: Likewise.
260         * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15.
261
262 2005-03-09  Andrew Haley  <aph@redhat.com>
263
264         * gnu/java/nio/channels/FileChannelImpl.java (smallTransferFrom):
265         New.
266         (smallTransferTo): New.
267         (transferFrom): Loop around smallTransferFrom, copying pageSize
268         bytes each time.
269         (transferTo): Likewise.
270
271 2005-03-09  David Daney  <ddaney@avtrex.com>
272
273         PR libgcj/20389
274         Merge BufferedInputStream from GNU Classpath.
275         * java/io/BufferedInputStream.java (marktarget): Field removed.
276         (CHUNKSIZE): Field removed.
277         (bufferSize): New field.
278         (BufferedInputStream): Initialize fields.
279         (close): Invalidate mark and buffer indexes.
280         (mark):  Rewritten.
281         (read()): Move mark handling code to refill.
282         (read(byte[], int, int)): Ditto.
283         (skip): Ditto and simplify EOF testing.
284         (refill): Rewritten.
285         * java/io/InputStreamReader.java (refill): Removed mark and reset
286         of internal BufferedInputStream.
287
288 2005-03-09  Tom Tromey  <tromey@redhat.com>
289
290         * java/lang/natVMClassLoader.cc (defineClass): Reference
291         'systemClassLoader' field directly.
292         * java/lang/natRuntime.cc (_load): Reference 'systemClassLoader'
293         field directly.
294         * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
295         Reference 'systemClassLoader' field directly.
296         (_Jv_UnregisterInitiatingLoader): Likewise.
297         (_Jv_FindClass): Likewise.
298
299 2005-03-09  Andreas Tobler  <a.tobler@schweiz.ch>
300
301         * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
302
303         * java/lang/mprec.h: Remove commented headers. Fix comment to match
304         the file in GNU Classpath style.
305
306 2005-03-09  Tom Tromey  <tromey@redhat.com>
307
308         * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
309         (toString): Synchronize.
310
311 2005-03-08  Bryce McKinlay  <mckinlay@redhat.com>
312
313         * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
314         * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
315
316 2005-03-07  Tom Tromey  <tromey@redhat.com>
317
318         * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
319         (usage): Document '-f'.
320
321 2005-03-07  Tom Tromey  <tromey@redhat.com>
322
323         * java/lang/VMCompiler.java (md5Digest): New field.
324         (compileClass): Clone md5Digest instead of looking up a new one.
325
326 2005-03-07  Tom Tromey  <tromey@redhat.com>
327
328         PR java/20215:
329         * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
330         * link.cc (find_field_helper): Added 'type' argument.
331         (find_field): Updated.
332
333 2005-04-07  Scott Gilbertson  <scottg@mantatest.com>
334         * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
335         * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
336         throw UnsupportedOperationException, fixed comments.
337         (setFont, setForeground): Fixed comments.
338         * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
339         return type to boolean.
340         (getNextEvent): Fixed javadocs.
341         * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
342         (nativeQueueEmpty): Removed unused code.
343         (iterateNativeQueue): Removed outer loop.
344
345 2005-03-06  Roger Sayle  <roger@eyesopen.com>
346
347         PR libgcj/20155
348         * Makefile.am (libgcj0_convenience.la): Revert last change.
349         * Makefile.in: Regenerate.
350
351 2005-03-05  Anthony Green  <green@redhat.com>
352
353         * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
354         classpath_jawt_lock, classpath_jawt_unlock): New functions.
355         * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
356         (_Jv_GetDrawingSurface): Set visualID.
357         (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
358         (JAWT_GetAWT): Set Lock and Unlock.
359         * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
360         visualID.
361         * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
362         JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
363         JAWT_LOCK_SURFACE_CHANGED): New macros.
364         (struct _JAWT): Add Lock and Unlock.
365
366 2005-03-05  Roger Sayle  <roger@eyesopen.com>
367             Alexandre Oliva  <aoliva@redhat.com>
368             Kelley Cook  <kcook@gcc.gnu.org>
369
370         PR libgcj/20155
371         * Makefile.am (libgcj0_convenience.la): New rule to create a file
372         of the object files to link to avoid exceeding the command line
373         length limits on some platforms.
374         (clean-local): Clean up objectlist files.
375         * Makefile.in: Regenerate.
376
377 2005-03-05  Andreas Tobler  <a.tobler@schweiz.ch>
378
379         * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
380         spec_case. Initialize pointer mlo.
381
382         * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
383         delta.
384
385         * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
386
387         * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
388         and k.
389
390         * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
391         uninitialized variable z.
392
393         * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
394         possible unused variables.
395
396         * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
397
398         * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
399
400 2005-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
401
402         PR libgcj/20292
403         * testsuite/libjava.jni/jni.exp
404         (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
405         flags.
406         (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
407
408 2005-02-23  David Daney  <ddaney@avtrex.com>
409
410         * configure.host: Don't use -mxgot for MIPS builds.
411
412 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
413
414         PR bootstrap/17383
415         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
416         (COMPPATH): Removed.
417         (ZIP, GCJH): Replace it with ../$(host_subdir).
418         (built_gcc_dir): Add $(host_subdir).
419         * configure: Regenerate.
420         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
421         gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
422         external/w3c_dom/Makefile.in: Regenerate.
423
424 2005-02-24  David Gilbert  <david.gilbert@object-refinery.com>
425
426         * java/awt/font/TextAttribute.java: changed names to lower case;
427         (readResolve): implemented.
428         Added doc comments all over.
429
430 2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
431
432         PR libgcj/16923
433         * jni.cc (JNI_CreateJavaVM): Check JNI version.  Cast args to
434         JvVMInitArgs.  Pass args to _Jv_CreateJavaVM and check return
435         value.  Move argument parsing code to prims.cc.
436         * prims.cc (no_properties): Remove.
437         (_Jv_Compiler_Properties): Initialize to NULL.
438         (_Jv_Properties_Count): Initialize to 0.
439         (parse_verbose_args): New function.
440         (parse_init_args): New function.
441         (_Jv_CreateJavaVM): Call parse_init_args.
442         (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
443         * gcj/cni.h (JvVMOption): New struct.
444         (JvVMInitArgs): Likewise.
445         (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
446         void*.
447         * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
448         (_Jv_VMInitArgs): Likewise.
449         * include/java-props.h (_Jv_Properties_Count): Declare.
450         * java/lang/natRuntime.cc (insertSystemProperties): Use
451         _Jv_Properties_Count in for loop exit condition.
452         * testsuite/libjava.jni/jni.exp
453         (gcj_invocation_compile_c_to_binary): New procedure.
454         (gcj_invocation_test_one): Likewise.
455         (gcj_jni_run): Run JNI invocation API tests.
456         * testsuite/libjava.jni/invocation/PR16923.c,
457         testsuite/libjava.jni/invocation/PR16923.java,
458         testsuite/libjava.jni/invocation/PR16923.out: New test.
459
460 2005-02-23  Michael Koch  <konqueror@gmx.de>
461
462         * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
463         * Makefile.in: Regenerated.
464
465 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
466
467         * gnu/java/nio/ChannelReader: Fixed comments.
468
469 2005-02-23  Robert Schuster  <thebohemian@gmx.net>
470
471         * java/nio/channels/Channels: Added FIXMEs about
472         stub method implementation.
473         (newReader): Implemented.
474         * gnu/java/nio/ChannelReader: New class.
475
476 2005-02-23  Michael Koch  <konqueror@gmx.de>
477
478         * java/text/SimpleDateFormat.java:
479         Removed unused import.
480
481 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
482
483         PR libgcj/20029:
484         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
485         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
486         * Makefile.in: Regenerate.
487         * configure.ac: Check for libXtst.
488         * configure: Regenerate.
489
490 2005-02-22  Mark Wielaard  <address@bogus.example.com>
491
492         * java/security/AlgorithmParameterGenerator.java (getInstance):
493         Mention provider when throwing NoSuchProviderException.
494         * java/security/AlgorithmParameters.java (getInstance): Likewise.
495         * java/security/KeyFactory.java (getInstance): Likewise.
496         * java/security/KeyStore.java (getInstance): Likewise.
497         * java/security/SecureRandom.java (getInstance): Likewise.
498         * java/security/cert/CertificateFactory.java (getInstance): Likewise.
499
500 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
501
502         * java/lang/reflect/Proxy.java,
503         java/net/URL.java,
504         java/security/SecureRandom.java,
505         java/util/Timer.java,
506         java/util/prefs/AbstractPreferences.java:
507         Don't catch java.lang.ThreadDeath.
508
509 2005-02-22  David Gilbert  <david.gilbert@object-refinery.com>
510
511         * java/awt/font/TransformAttribute.java,
512         (TransformAttribute(AffineTransform)): throw
513         IllegalArgumentException for null transform.
514         (getTransform): return a copy of transform.
515         Added doc comments to all.
516
517 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
518
519         * java/io/Externalizable.java,
520         java/io/Serializable.java
521         (serialVersionUID): Removed.
522         * java/rmi/server/RemoteObject.java,
523         java/rmi/server/UID.java
524         (serialVersionUID): Made private.
525         * java/rmi/server/RemoteRef.java,
526         java/rmi/server/ServerRef.java
527         (serialVersionUID): Set proper value.
528         * java/security/interfaces/DSAPrivateKey.java,
529         java/security/interfaces/DSAPublicKey.java,
530         java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
531         java/security/interfaces/RSAPrivateCrtKey.java,
532         java/security/interfaces/RSAPrivateKey.java,
533         java/security/interfaces/RSAPublicKey.java,
534         javax/crypto/SecretKey.java
535         (serialVersionUID): Added.
536
537 2005-02-22  Tom Tromey  <tromey@redhat.com>
538
539         * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
540
541 2005-02-22  Tom Tromey  <tromey@redhat.com>
542
543         PR java/20056:
544         * verify.cc (type::EITHER): New constant.
545         (check_field_constant): Use it.
546         (type::compatible): Handle it.
547
548 2005-02-22  Michael Koch  <konqueror@gmx.de>
549
550         * gnu/java/security/PolicyFile.java,
551         gnu/java/security/pkcs/PKCS7SignedData.java,
552         gnu/java/security/pkcs/SignerInfo.java:
553         Fixed copyright header.
554
555 2005-02-22  Jeroen Frijters  <jeroen@frijters.net>
556
557         * java/beans/PropertyDescriptor.java
558         (PropertyDescriptor,setReadMethod): Set propertyType.
559
560 2005-02-22  Michael Koch  <konqueror@gmx.de>
561
562         * java/nio/DirectByteBufferImpl.java
563         (owner): Fixed formatting of javadoc.
564         * java/text/DateFormat.java
565         (getAvailableLocales): Fixed formatting.
566         * java/text/SimpleDateFormat.java:
567         Fixed formatting and import statement order.
568         * java/util/Calendar.java
569         (Calendar): Fixed javadoc to be HTML compliant.
570         * java/util/SimpleTimeZone.java:
571         Fixed javadocs.
572
573 2005-02-22  Roman Kennke <roman@ontographics.com>
574
575         * javax/swing/plaf/basic/BasicLookAndFeel.java
576         (initComponentDefaults): Fixed Button left and right margin.
577
578 2005-02-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
579
580         * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
581         empty Runnable.
582
583         PR libgcj/17952:
584         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
585         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
586         (getWidth): New method.
587         (getHeight): Likewise.
588         (create): Remove width, height and insets parameters.  Move size
589         setup ...
590         (realize_cb): ... here.  New function.
591         (connectSignals): Connect realize_cb.
592         (request_frame_extents): Remove FIXME.  Move
593         postInsetsChangedEvent lookup ...
594         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
595         ... here.  Look up GtkWindowPeer getWidth and getHeight methods.
596         * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
597         jmethodID.
598         (windowGetWidthID): Likewise.
599         (windowGetHeightID): Likewise.
600
601 2005-02-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
602
603         PR libgcj/19842
604         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
605         (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
606
607 2005-02-21  Bryce McKinlay  <mckinlay@redhat.com>
608
609         Merge serialization from GNU Classpath.
610         * gcj/method.h: Add missing #includes.
611         * java/io/ObjectInputStream.java (readClassDescriptor): Check for
612         primitive class IDs on the stream here...
613         (resolveClass): ...not here.
614         * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
615         fields.
616         * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
617         setLongNative, setIntNative, setShortNative, setCharNative,
618         setByteNative, setBooleanNative, setObjectNative): New native methods.
619         * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
620         setLongNative, setIntNative, setShortNative, setCharNative,
621         setByteNative, setBooleanNative, setObjectNative): Implement them.
622         * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
623         from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
624         the constructor here.
625         (callConstructor): Removed.
626         (getCallersClassLoader): Removed.
627         * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
628         setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
629         to control whether setting final field values is permitted. Call
630         getAddr() with checkFinal parameter instead of setAddr().
631         * java/lang/reflect/natField.cc (getType): Lookup and resolve field
632         only if not done already.
633         (getAddr): Add checkFinal parameter. Do the final field check only if
634         checkFinal is set.
635         (setAddr): Removed.
636
637 2005-02-21  Mark Wielaard  <mark@klomp.org>
638
639         # Fixes bug #11957
640         * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
641         twice.
642
643 2005-02-21  Mark Wielaard  <mark@klomp.org>
644
645         Fixes bug #11618.
646         * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
647         without a super class and us ObjectStreamClass.lookupForClassObject().
648         (resolveClass): Check for primitive types.
649         (lookupClass): Return null when argument is null.
650
651 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
652
653         * java/io/ObjectInputStream.java
654         (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
655
656 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
657
658         * java/io/ObjectOutputStream.java
659         (writeObject, callWriteMethod): Replaced reflection with accessing
660         cached info in ObjectStreamClass.
661         (getMethod): Removed.
662         * java/io/ObjectStreamClass.java
663         (findMethod): Added check to make sure the method found has the
664         right modifiers.
665         (cacheMethods): Added writeReplace and writeObject methods.
666         (setFlags): Look at new writeObjectMethod field instead of doing
667         reflection again.
668         (writeReplaceMethod): New field.
669         (writeObjectMethod): New field.
670
671 2005-02-21  Guilhem Lavaux  <guilhem@kaffe.org>
672         Jeroen Frijters  <jeroen@frijters.net>
673
674         * java/io/ObjectInputStream.java
675         (newObject): Changed prototype. Get a constructor reflect object
676         directly.
677         (callConstructor): Removed.
678         (allocateObject): Changed prototype.
679         (readClassDescriptor): Build the constructor reflection directly.
680         (readObject): Invoke newObject using the new prototype.
681
682         * java/io/ObjectStreamClass.java
683         (firstNonSerializableParent): Removed.
684         (firstNonSerializableParentConstructor): Added.
685
686 2005-02-21  Mark Wielaard  <mark@klomp.org>
687
688         * gnu/java/locale/LocaleInformation_en.java: Extend
689         localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
690
691 2005-02-21  Mark Wielaard  <mark@klomp.org>
692
693         * java/text/SimpleDateFormat.java
694         (SimpleDateFormat(String, DateFormatSymbols)): Throw
695         NullPointerException when formatData is null.
696
697 2005-02-21  Mark Wielaard  <mark@klomp.org>
698
699         * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
700         taking dstSavings into account.
701
702 2005-02-21  Sven de Marothy <sven@physto.se>
703
704         * java/text/SimpleDateFormat.java,
705         (parse): Set correct DST_OFFSET to the correct value.
706
707 2005-02-21  Mark Wielaard  <mark@klomp.org>
708
709         * java/util/SimpleTimeZone.java (checkRule): Throw
710         IllegalArgumentException when month out of range.
711
712 2005-02-21  Sven de Marothy  <sven@physto.se>
713
714         * java/util/GregorianCalendar.java,
715         (add): Don't set fields directly anymore. Use set()
716
717 2005-02-21  Mark Wielaard  <mark@klomp.org>
718
719         * java/text/SimpleDateFormat.java (CompiledField.toString):
720         Use StringBuffer, not StringBuilder.
721         (toString): Likewise.
722
723 2005-02-21  Sven de Marothy  <sven@physto.se>
724
725         * java/util/Calendar.java
726         (clear): Dates should clear to local time.
727         * java/util/GregorianCalendar.java
728         (computeTime): Fix priority problem with DAY_OF_WEEK,
729         Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
730
731 2005-02-21  Sven de Marothy  <sven@physto.se>
732
733         * java/util/Calendar.java
734         (Calendar): Constructor should clear fields.
735
736 2005-02-21  Sven de Marothy  <sven@physto.se>
737
738         * java/text/SimpleDateFormat.java
739         (parse): Tweak handling of 2-year dates
740         * java/util/Calendar.java
741         (clear): Clear fields to correct value.
742         * java/util/GregorianCalendar.java
743         (computeTime): Correct handling of time zones.
744         Correct field minimum values.
745
746 2005-02-21  Sven de Marothy  <sven@physto.se>
747
748         * java/util/Calendar.java
749         (set) Invalidate all fields on first call to set().
750
751 2005-02-21  Sven de Marothy  <sven@physto.se>
752
753         * java/util/GregorianCalendar.java
754         (computeTime): Fixed handling of time zones.
755
756 2005-02-21  Sven de Marothy  <sven@physto.se>
757
758         * java/util/Calendar.java
759         (clear): Set values to Epoch instead of zero.
760         (set): Set isSet to the relevant field pattern instead of just
761         the field.
762         * java/util/GregorianCalendar.java
763         (getBundle): Removed.
764         (getDayOfYear): Removed.
765         (getFirstDayOfMonth): New private method.
766         (nonLeniencyCheck): New private method.
767         (computeTime): Correct handling of insufficient data.
768
769 2005-02-21  Sven de Marothy <sven@physto.se>
770
771         * java/util/Calendar.java: Invalidate ERA field on setting
772         the YEAR.
773         * java/util/SimpleTimeZone.java:
774         (getDaysInMonth): Reimplemented.
775         * java/util/GregorianCalendar.java:
776         (getLinearTime): Removed.
777         (isLeapYear(int,boolean)): Removed.
778         (before(), after()): Removed.
779         (computeTime): Reimplemented.
780
781 2005-02-21  Sven de Marothy <sven@physto.se>
782
783         * java/util/Calendar.java: Reformatted.
784         * java/util/GregorianCalendar.java: Reformatted.
785         * java/util/SimpleTimeZone.java: Reformatted.
786
787 2005-02-21  Sven de Marothy <sven@physto.se>
788
789         * java/util/GregorianCalendar.java
790         (GregorianCalendar): Update fields in the constructor
791
792 2005-02-21  Noa Resare  <noa@resare.com>
793
794         * java/util/Calendar.java (explicitDSTOffset): New instance field.
795         (set(int,int)): Set and use new field.
796         (set(int,int,int)): Check new field.
797
798 2005-02-21  Noa Resare  <address@hidden>
799
800         * java/util/Calendar.java(set):
801         Fix for DST related regression.
802
803 2005-02-21  Jeroen Frijters  <jeroen@frijters.net>
804
805         * java/util/Calendar.java
806         (setTimeInMillis): Added call to clear, removed computeFields call.
807         * java/util/Date.java
808         (Date(int,int,int,int,int,int)): Removed workaround for
809         GregorianCalendar bug.
810         * java/util/GregorianCalendar.java
811         (GregorianCalendar): Chained all constructors to a (new)
812         common constructor.
813         (computeTime): Fixed support for lenient month treatment.
814         (getLinearDay): Return long instead of int.
815         (calculateDay): Added fields argument and changed day argument
816         to long.
817
818 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
819
820         * java/text/SimpleDateFormat.java
821         Lots of documentation updates.
822         (readObject(java.io.ObjectInputStream)): Wraps
823         IllegalArgumentException as specified.
824         (compileFormat(String)): Uses standardChars
825         rather than the local pattern characters.
826         Throws IllegalArgumentException rather than
827         storing a -1 field.
828         (toString()): Extended to include all variables
829         in a better format.
830         (translateLocalizedPattern(String, String, String)):
831         Renamed to better define the use of this method.
832
833 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
834
835         * java/text/DateFormat.java:
836         Documented pattern character offset constants and
837         added new ones.
838         (Field): Added new static fields for new pattern chars.
839         * java/text/SimpleDateFormat.java:
840         (CompiledField): Changed name of FieldSizePair class
841         to CompiledField after adding the character as an
842         attribute.  Changed fields to private and added
843         accessors to give encapsulation.
844         (CompiledField.CompiledField(int,int,char)): Extended
845         with character field.
846         (CompiledField.getField()): New accessor method.
847         (CompiledField.getSize()): New acceessor method.
848         (CompiledField.getCharacter()): New accessor method.
849         (CompiledField.toString()): Added primarily for debugging.
850         (standardChars): Now uses extended 24 character sequence.
851         (compileFormat(String)): Changed to use CompiledField.
852         (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
853         java.text.FieldPosition)): Changed to use CompiledField.
854         New handler for RFC 822 timezones added.
855
856 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
857
858         * java/text/SimpleDateFormat.java:
859         (parse(String, java.text.ParsePosition)):
860         Changed 'E' and 'M' cases to use both
861         short and long names.  Extended 'z'
862         case to also handle 'Z', and deal
863         with simple GMT offsets such as +0100.
864         (computeOffset(String)): New private method,
865         which converts a GMT offset specification,
866         such as GMT-0500 to a numeric offset in
867         milliseconds.
868         * java/util/TimeZone.java:
869         (timezones()): Added "CEST", the daylight
870         savings time version of "CET", or Central
871         European Time.
872
873 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
874
875         * java/text/SimpleDateFormat.java:
876         (parse): Set the DST offset to 0 when parsing
877         GMT offset timezones.
878
879 2005-02-21  Ito Kazumitsu  <kaz@maczuka.gcd.org>
880
881         * java/text/SimpleDateFormat.java:
882         (parse): Use offset to set ZONE_OFFSET
883         rather than the DST_OFFSET, so that
884         GMT offset timezones change the right
885         one.
886
887 2005-02-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
888
889         * java/text/SimpleDateFormat.java:
890         (getDateFormatSymbols()): return a copy
891         (setDateFormatSymbols(java.text.DateFormatSymbols)):
892         throw exception on null input
893         (clone()): implemented to clone
894         internal fields
895
896 2005-02-21  Sven de Marothy <sven@physto.se>
897
898         * java/text/SimpleDateFormat.java
899         (parse): comparison should be case-insensitive, ignore null
900         strings.
901
902 2005-02-21  Robert Schuster  <theBohemian@gmx.net>
903
904         * gnu/java/beans/IntrospectionIncubator.java
905         (addMethod) Reverts the patch that ntroduced a regression (see bug
906         https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
907
908 2005-02-21  Michael Koch  <konqueror@gmx.de>
909
910         * java/awt/Checkbox.java
911         (next_checkbox_number): New static variable.
912         (generateName): New method.
913         (getUniqueLong): Likewise.
914         * java/awt/Window.java
915         (next_window_number): New static variable.
916         (generateName): New method.
917         (getUniqueLong): Likewise.
918
919 2005-02-21  Mark Wielaard  <mark@klomp.org>
920
921         * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
922         exists.
923
924 2005-02-21  Andrew Haley  <aph@redhat.com>
925
926         * Makefile.in: Rebuilt.
927         * Makefile.am (nat_source_files): Added natLogger.cc.
928         * java/util/logging/natLogger.cc: New file.
929         * java/util/logging/Logger.java (getCallerStackFrame): Now
930         native.
931
932 2005-02-21  Andreas Tobler  <a.tobler@schweiz.ch>
933
934         * Makefile.am (all_property_files): Remove left over.
935         (classes.stamp): Add stamp for the ONESTEP build, also known as
936         --enable-libgcj-multifile.
937         * Makefile.in: Regenerated.
938
939 2005-02-21  Michael Koch  <konqueror@gmx.de>
940
941         * java/awt/Button.java,
942         java/awt/Container.java,
943         java/awt/Font.java,
944         java/awt/Frame.java,
945         java/text/CollationElementIterator.java,
946         java/text/RuleBasedCollator.java,
947         java/util/PropertyPermission.java:
948         Fixed formatting issues all over.
949
950 2005-02-21  Mark Wielaard  <mark@klomp.org>
951
952         * java/io/FileDescriptor.java (sync): Add real exception to
953         SyncFailedException.
954
955 2005-02-21  Michael Koch  <konqueror@gmx.de>
956
957         * java/io/InputStreamReader.java:
958         Fixed @author tag.
959
960 2005-02-20  Rutger Ovidius  <ovidr@users.sourceforge.net>
961
962         PR libgcj/19728:
963         * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
964
965 2005-02-20  Dalibor Topic  <robilad@kaffe.org>
966
967         * libraries/javalib/gnu/regexp/RE.java,
968         libraries/javalib/java/io/ObjectInputStream.java,
969         libraries/javalib/java/security/AllPermission.java,
970         libraries/javalib/java/security/BasicPermission.java,
971         libraries/javalib/java/security/Permissions.java,
972         libraries/javalib/java/text/MessageFormat.java:
973         Made 'inner' classes real public static inner classes,
974         and made them final where possible, or removed them
975         where unused.
976
977 2005-02-20  Michael Koch  <konqueror@gmx.de>
978
979         * gnu/java/text/FormatCharacterIterator.java:
980         Removed redundant modifiers.
981
982 2005-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
983
984         * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
985         snprintf.
986
987 2005-02-19  Michael Koch  <konqueror@gmx.de>
988
989         * Makefile.am: Added new files in gnu/java/beans and
990         java/beans/XMLDecoder.java.
991         * Makefile.in: Regenerated.
992
993 2005-02-19  Robert Schuster  <thebohemian@gmx.net>
994
995         * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
996         assignment behavior by using java.lang.reflect.Array.set()
997         directly.
998
999 2005-02-19  Dalibor Topic  <robilad@kaffe.org>
1000
1001         * gnu/java/beans/EmptyBeanInfo.java,
1002         gnu/java/beans/info/ComponentBeanInfo.java:
1003         Removed unused files.
1004
1005 2005-02-19  Robert Schuster <thebohemian@gmx.net>
1006
1007         * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
1008         of AppletStub for java.beans.Beans.instantiate.
1009         * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
1010         of AppletContext.
1011         * java/beans/Beans: Added 1.4 functionality, fixed user documentation
1012         to be conformant with Javadoc guidelines.
1013         (instantiate): Added two more overloaded variants, reworked user
1014         documentation, fixed exception behavior, fixed behavior when
1015         deserializing null.
1016
1017 2005-02-19  Mark Wielaard  <mark@klomp.org>
1018
1019         * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
1020         failing methods.
1021         * gnu/java/beans/decoder/DummyContext.java: Likewise.
1022
1023 2005-02-19  Robert Schuster  <theBohemian@gmx.net>
1024
1025         * gnu/java/beans/decoder/AbstractContext.java,
1026         gnu/java/beans/decoder/AbstractCreatableContext.java,
1027         gnu/java/beans/decoder/AbstractElementHandler.java,
1028         gnu/java/beans/decoder/AbstractObjectContext.java,
1029         gnu/java/beans/decoder/ArrayContext.java,
1030         gnu/java/beans/decoder/ArrayHandler.java,
1031         gnu/java/beans/decoder/AssemblyException.java,
1032         gnu/java/beans/decoder/BooleanHandler.java,
1033         gnu/java/beans/decoder/ByteHandler.java,
1034         gnu/java/beans/decoder/CharHandler.java,
1035         gnu/java/beans/decoder/ClassHandler.java,
1036         gnu/java/beans/decoder/ConstructorContext.java,
1037         gnu/java/beans/decoder/Context.java,
1038         gnu/java/beans/decoder/DecoderContext.java,
1039         gnu/java/beans/decoder/DefaultExceptionListener.java,
1040         gnu/java/beans/decoder/DoubleHandler.java,
1041         gnu/java/beans/decoder/DummyContext.java,
1042         gnu/java/beans/decoder/DummyHandler.java,
1043         gnu/java/beans/decoder/ElementHandler.java,
1044         gnu/java/beans/decoder/FloatHandler.java,
1045         gnu/java/beans/decoder/GrowableArrayContext.java,
1046         gnu/java/beans/decoder/IndexContext.java,
1047         gnu/java/beans/decoder/IntHandler.java,
1048         gnu/java/beans/decoder/JavaHandler.java,
1049         gnu/java/beans/decoder/LongHandler.java,
1050         gnu/java/beans/decoder/MethodContext.java,
1051         gnu/java/beans/decoder/MethodFinder.java,
1052         gnu/java/beans/decoder/NullHandler.java,
1053         gnu/java/beans/decoder/ObjectContext.java,
1054         gnu/java/beans/decoder/ObjectHandler.java,
1055         gnu/java/beans/decoder/PersistenceParser.java,
1056         gnu/java/beans/decoder/PropertyContext.java,
1057         gnu/java/beans/decoder/ShortHandler.java,
1058         gnu/java/beans/decoder/SimpleHandler.java,
1059         gnu/java/beans/decoder/StaticMethodContext.java,
1060         gnu/java/beans/decoder/StringHandler.java,
1061         gnu/java/beans/decoder/VoidHandler.java: New class
1062         implementing java.beans.XMLDecoder decoding functionality.
1063         * java/beans/XMLDecoder.java: New class.
1064
1065 2005-02-19  Michael Koch  <konqueror@gmx.de>
1066
1067         * javax/swing/JTextField.java
1068         (notfiyAction): Added javadoc.
1069
1070 2005-02-19  Sven de Marothy  <sven@physto.se>
1071
1072         * javax/swing/SpinnerDateModel.java: Implemented.
1073
1074 2005-02-19  Michael Koch  <konqueror@gmx.de>
1075
1076         * Makefile.am: Added javax/swing/SpinnerDateModel.java.
1077         * Makefile.in: Regenerated.
1078
1079 2005-02-19  Michael Koch  <konqueror@gmx.de>
1080
1081         * gnu/java/nio/SelectorImpl.java:
1082         Reworked import statements.
1083         (register): Removed unused code.
1084         * java/nio/channels/Channels.java: Reformatted.
1085         * java/nio/charset/Charset.java: Likewise.
1086         * java/rmi/server/RemoteObject.java
1087         (serialVersionUID): Made private.
1088         * java/rmi/server/UID.java
1089         (serialVersionUID): Likewise.
1090
1091 2005-02-19  Michael Koch  <konqueror@gmx.de>
1092
1093         * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
1094         gnu/java/net/protocol/ftp/BlockInputStream.java,
1095         gnu/java/net/protocol/ftp/BlockOutputStream.java,
1096         gnu/java/net/protocol/ftp/CompressedInputStream.java,
1097         gnu/java/net/protocol/ftp/CompressedOutputStream.java,
1098         gnu/java/net/protocol/ftp/DTPInputStream.java,
1099         gnu/java/net/protocol/ftp/DTP.java,
1100         gnu/java/net/protocol/ftp/DTPOutputStream.java,
1101         gnu/java/net/protocol/ftp/FTPConnection.java,
1102         gnu/java/net/protocol/ftp/FTPException.java,
1103         gnu/java/net/protocol/ftp/FTPResponse.java,
1104         gnu/java/net/protocol/ftp/FTPURLConnection.java,
1105         gnu/java/net/protocol/ftp/Handler.java,
1106         gnu/java/net/protocol/ftp/PassiveModeDTP.java,
1107         gnu/java/net/protocol/ftp/StreamInputStream.java,
1108         gnu/java/net/protocol/ftp/StreamOutputStream.java,
1109         gnu/java/net/CRLFInputStream.java,
1110         gnu/java/net/CRLFOutputStream.java,
1111         gnu/java/net/GetLocalHostAction.java,
1112         gnu/java/net/protocol/ftp/package.html: New files.
1113         * Makefile.am: Added new files.
1114         * Makefile.in: Regenerated.
1115
1116 2005-02-18  Tom Tromey  <tromey@redhat.com>
1117
1118         * link.cc (make_vtable): Remove abstract method check.
1119         (append_partial_itable): Likewise.
1120
1121         PR java/20056:
1122         * verify.cc (type::equals): Fixed test.
1123         * testsuite/libjava.lang/PR20056.out: New file.
1124         * testsuite/libjava.lang/PR20056.java: New file.
1125
1126 2005-02-18  Bryce McKinlay  <mckinlay@redhat.com>
1127
1128         * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
1129         not the HashEntry. Reported by Jean-Marie White.
1130
1131 2005-02-18  Tom Tromey  <tromey@redhat.com>
1132
1133         PR java/20056:
1134         * include/jvm.h (_Jv_Linker::has_field_p): Declare.
1135         * link.cc (has_field_p): New function.
1136         * verify.cc (check_field_constant): Added 'putfield' argument.
1137         (verify_instructions_0): Updated.
1138         (type::equals): New method.
1139
1140 2005-02-18  Anthony Green  <green@redhat.com>
1141
1142         * NEWS: Draft of libgcj NEWS for 4.0.
1143
1144 2005-02-18  Anthony Green  <green@redhat.com>
1145
1146         * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
1147         architecture names to "i386" for compatibility reasons.  Win32
1148         still uses "x86".
1149
1150 2005-02-18  Anthony Green  <green@redhat.com>
1151
1152         * gij.cc (version): Change year for '--version' to 2005.
1153         * gnu/gcj/convert/Convert.java: Ditto.
1154         * gnu/java/rmi/rmic/RMIC.java: Ditto.
1155         * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
1156
1157         * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
1158         recent copyright year in `--version' output.
1159
1160 2005-02-18  Robert Schuster <thebohemian@gmx.net>
1161
1162         * java/nio/charset/Charset.java (forName): Throws
1163         IllegalArgumentException when argument is null
1164         and added documentation.
1165
1166 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1167
1168         * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
1169         Move the position of the source buffer forward.
1170
1171 2005-02-17  Tom Tromey  <tromey@redhat.com>
1172
1173         * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
1174         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
1175         * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
1176         * link.cc (_Jv_GetMethodString): Added 'derived' argument.
1177         Changed type of second argument.  Rewrote.
1178         (make_vtable): Use it.
1179         (append_partial_itable): Updated.
1180         (layout_vtable_methods): Updated.
1181
1182 2005-02-17  Michael Koch  <konqueror@gmx.de>
1183
1184         * gnu/java/net/PlainSocketImpl.java
1185         (shutdownInput): Added javadoc.
1186         (shutdownOutput): Likewise.
1187
1188 2005-02-17  Michael Koch  <konqueror@gmx.de>
1189
1190         * javax/print/attribute/standard/Chromaticity.java,
1191         javax/print/attribute/standard/Destination.java,
1192         javax/print/attribute/standard/MediaPrintableArea.java,
1193         javax/print/attribute/standard/MediaSize.java: New files.
1194         * Makefile.am: Added new files.
1195         * Makefile.in: Regenerated.
1196
1197 2005-02-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1198             Michael Koch  <konqueror@gmx.de>
1199
1200         * gnu/java/net/protocol/http/Cookie.java,
1201         gnu/java/net/protocol/http/HTTPConnection.java,
1202         gnu/java/net/protocol/http/HTTPDateFormat.java,
1203         gnu/java/net/protocol/http/Request.java,
1204         gnu/java/nio/PipeImpl.java,
1205         gnu/java/rmi/dgc/DGCImpl.java,
1206         gnu/java/rmi/server/ConnectionRunnerPool.java,
1207         gnu/java/rmi/server/UnicastConnectionManager.java,
1208         gnu/java/security/der/DERWriter.java,
1209         gnu/java/security/pkcs/SignerInfo.java,
1210         gnu/java/security/provider/EncodedKeyFactory.java,
1211         gnu/java/security/provider/GnuDHPublicKey.java,
1212         gnu/java/security/provider/GnuDSAPrivateKey.java,
1213         gnu/java/security/provider/GnuDSAPublicKey.java,
1214         gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
1215         gnu/java/security/x509/X500DistinguishedName.java,
1216         gnu/java/security/x509/X509CRL.java,
1217         gnu/java/security/x509/X509CRLEntry.java,
1218         gnu/java/security/x509/X509Certificate.java,
1219         gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
1220         gnu/java/security/x509/ext/CertificatePolicies.java,
1221         gnu/java/security/x509/ext/PolicyConstraint.java,
1222         gnu/xml/dom/Consumer.java,
1223         gnu/xml/dom/DomCharacterData.java,
1224         gnu/xml/dom/DomDocument.java,
1225         gnu/xml/dom/DomDocumentBuilder.java,
1226         gnu/xml/dom/DomIterator.java,
1227         gnu/xml/dom/DomNode.java,
1228         gnu/xml/dom/DomXPathExpression.java,
1229         gnu/xml/dom/DomXPathResult.java,
1230         gnu/xml/dom/JAXPFactory.java,
1231         gnu/xml/pipeline/CallFilter.java,
1232         gnu/xml/pipeline/DomConsumer.java,
1233         gnu/xml/pipeline/LinkFilter.java,
1234         gnu/xml/pipeline/NSFilter.java,
1235         gnu/xml/pipeline/TeeConsumer.java,
1236         gnu/xml/pipeline/ValidationConsumer.java,
1237         gnu/xml/pipeline/WellFormednessFilter.java,
1238         gnu/xml/pipeline/XIncludeFilter.java,
1239         gnu/xml/pipeline/XsltFilter.java,
1240         gnu/xml/transform/ApplyImportsNode.java,
1241         gnu/xml/transform/Bindings.java,
1242         gnu/xml/transform/DocumentFunction.java,
1243         gnu/xml/transform/FormatNumberFunction.java,
1244         gnu/xml/transform/NodeNumberNode.java,
1245         gnu/xml/transform/NumberNode.java,
1246         gnu/xml/transform/Stylesheet.java,
1247         gnu/xml/transform/SystemPropertyFunction.java,
1248         gnu/xml/transform/Template.java,
1249         gnu/xml/transform/TemplatesImpl.java,
1250         gnu/xml/transform/TransformerImpl.java,
1251         gnu/xml/transform/ValueOfNode.java,
1252         gnu/xml/transform/XSLURIResolver.java,
1253         gnu/xml/util/DoParse.java,
1254         gnu/xml/util/Resolver.java,
1255         gnu/xml/xpath/Expr.java,
1256         gnu/xml/xpath/FunctionCall.java,
1257         gnu/xml/xpath/RelationalExpr.java,
1258         gnu/xml/xpath/Selector.java,
1259         gnu/xml/xpath/XPathParser.java:
1260         Reworked import statements, fixed modifier order and some little
1261         formatting issues.
1262
1263 2005-02-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
1264
1265         * java/nio/ByteBufferImpl.java (compact):
1266         Set position and limit even if no bytes were moved.
1267
1268 2005-02-17  Michael Koch  <konqueror@gmx.de>
1269
1270         * java/nio/CharViewBufferImpl.java (compact): Likewise.
1271         * java/nio/DirectByteBufferImpl.java (compact): Likewise.
1272         * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
1273         * java/nio/FloatViewBufferImpl.java (compact): Likewise.
1274         * java/nio/IntViewBufferImpl.java (compact): Likewise.
1275         * java/nio/LongViewBufferImpl.java (compact): Likewise.
1276         * java/nio/MappedByteBufferImpl.java (compact): Likewise.
1277         * java/nio/ShortViewBufferImpl.java (compact): Likewise.
1278         * java/nio/FloatBufferImpl.java (compact): Set position.
1279         * java/nio/CharBufferImpl.java (compact): Likewise.
1280         * java/nio/DoubleBufferImpl.java (compact): Likewise.
1281         * java/nio/IntBufferImpl.java (compact): Likewise.
1282         * java/nio/LongBufferImpl.java (compact): Likewise.
1283         * java/nio/ShortBufferImpl.java (compact): Likewise.
1284
1285 2005-02-17  Jeroen Frijters  <jeroen@frijters.net>
1286
1287         * java/nio/ByteBufferImpl.java,
1288         java/nio/CharBufferImpl.java,
1289         java/nio/DirectByteBufferImpl.java,
1290         java/nio/DoubleBufferImpl.java,
1291         java/nio/FloatBufferImpl.java,
1292         java/nio/IntBufferImpl.java,
1293         java/nio/LongBufferImpl.java,
1294         java/nio/MappedByteBufferImpl.java,
1295         java/nio/ShortBufferImpl.java
1296         (compact): Added explicit read-only check and invalidate mark.
1297
1298 2005-02-17  Michael Koch  <konqueror@gmx.de>
1299
1300         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1301         gnu/java/awt/peer/gtk/GdkFontPeer.java,
1302         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1303         gnu/java/awt/peer/gtk/GdkGraphics.java,
1304         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1305         gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1306         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1307         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1308         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1309         gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1310         gnu/java/awt/peer/gtk/GdkTextLayout.java,
1311         gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1312         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1313         gnu/java/awt/peer/gtk/GtkClipboard.java,
1314         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1315         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1316         gnu/java/awt/peer/gtk/GtkFontPeer.java,
1317         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1318         gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1319         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1320         gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1321         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1322         gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1323         gnu/java/awt/peer/gtk/GtkToolkit.java,
1324         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1325         java/applet/Applet.java,
1326         java/awt/AWTError.java,
1327         java/awt/AWTEvent.java,
1328         java/awt/AWTEventMulticaster.java,
1329         java/awt/AWTException.java,
1330         java/awt/AWTKeyStroke.java,
1331         java/awt/AWTPermission.java,
1332         java/awt/ActiveEvent.java,
1333         java/awt/Adjustable.java,
1334         java/awt/AlphaComposite.java,
1335         java/awt/AttributeValue.java,
1336         java/awt/BorderLayout.java,
1337         java/awt/BufferCapabilities.java,
1338         java/awt/Button.java,
1339         java/awt/Canvas.java,
1340         java/awt/CheckboxGroup.java,
1341         java/awt/CheckboxMenuItem.java,
1342         java/awt/Color.java,
1343         java/awt/ColorPaintContext.java,
1344         java/awt/Component.java,
1345         java/awt/ComponentOrientation.java,
1346         java/awt/Composite.java,
1347         java/awt/CompositeContext.java,
1348         java/awt/Container.java,
1349         java/awt/ContainerOrderFocusTraversalPolicy.java,
1350         java/awt/DefaultFocusTraversalPolicy.java,
1351         java/awt/Dialog.java,
1352         java/awt/Dimension.java,
1353         java/awt/DisplayMode.java,
1354         java/awt/EventQueue.java,
1355         java/awt/FileDialog.java,
1356         java/awt/FontFormatException.java,
1357         java/awt/Graphics.java,
1358         java/awt/Graphics2D.java,
1359         java/awt/GraphicsConfigTemplate.java,
1360         java/awt/GraphicsConfiguration.java,
1361         java/awt/GraphicsDevice.java,
1362         java/awt/GridBagLayout.java,
1363         java/awt/GridBagLayoutInfo.java,
1364         java/awt/GridLayout.java,
1365         java/awt/HeadlessException.java,
1366         java/awt/IllegalComponentStateException.java,
1367         java/awt/Image.java,
1368         java/awt/Insets.java,
1369         java/awt/ItemSelectable.java,
1370         java/awt/JobAttributes.java,
1371         java/awt/KeyEventDispatcher.java,
1372         java/awt/KeyEventPostProcessor.java,
1373         java/awt/KeyboardFocusManager.java,
1374         java/awt/Label.java,
1375         java/awt/LayoutManager.java,
1376         java/awt/MenuBar.java,
1377         java/awt/MenuComponent.java,
1378         java/awt/MenuContainer.java,
1379         java/awt/PageAttributes.java,
1380         java/awt/Paint.java,
1381         java/awt/PaintContext.java,
1382         java/awt/Panel.java,
1383         java/awt/Point.java,
1384         java/awt/Polygon.java,
1385         java/awt/PrintGraphics.java,
1386         java/awt/PrintJob.java,
1387         java/awt/Rectangle.java,
1388         java/awt/RenderingHints.java,
1389         java/awt/Shape.java,
1390         java/awt/Stroke.java,
1391         java/awt/SystemColor.java,
1392         java/awt/Toolkit.java,
1393         java/awt/Transparency.java,
1394         java/awt/Window.java,
1395         java/awt/color/CMMException.java,
1396         java/awt/color/ColorSpace.java,
1397         java/awt/color/ICC_ColorSpace.java,
1398         java/awt/color/ICC_Profile.java,
1399         java/awt/color/ProfileDataException.java,
1400         java/awt/datatransfer/FlavorTable.java,
1401         java/awt/datatransfer/MimeTypeParseException.java,
1402         java/awt/datatransfer/Transferable.java,
1403         java/awt/datatransfer/UnsupportedFlavorException.java,
1404         java/awt/dnd/Autoscroll.java,
1405         java/awt/dnd/DnDConstants.java,
1406         java/awt/dnd/DragGestureListener.java,
1407         java/awt/dnd/DragSourceAdapter.java,
1408         java/awt/dnd/DragSourceDropEvent.java,
1409         java/awt/dnd/DragSourceListener.java,
1410         java/awt/dnd/DragSourceMotionListener.java,
1411         java/awt/dnd/DropTargetAdapter.java,
1412         java/awt/dnd/DropTargetContext.java,
1413         java/awt/dnd/DropTargetListener.java,
1414         java/awt/dnd/InvalidDnDOperationException.java,
1415         java/awt/dnd/MouseDragGestureRecognizer.java,
1416         java/awt/dnd/peer/DropTargetContextPeer.java,
1417         java/awt/event/AWTEventListener.java,
1418         java/awt/event/AWTEventListenerProxy.java,
1419         java/awt/event/ActionEvent.java,
1420         java/awt/event/AdjustmentEvent.java,
1421         java/awt/event/AdjustmentListener.java,
1422         java/awt/event/ComponentAdapter.java,
1423         java/awt/event/ComponentEvent.java,
1424         java/awt/event/ComponentListener.java,
1425         java/awt/event/ContainerAdapter.java,
1426         java/awt/event/ContainerEvent.java,
1427         java/awt/event/ContainerListener.java,
1428         java/awt/event/FocusAdapter.java,
1429         java/awt/event/FocusEvent.java,
1430         java/awt/event/FocusListener.java,
1431         java/awt/event/InputEvent.java,
1432         java/awt/event/InputMethodEvent.java,
1433         java/awt/event/InputMethodListener.java,
1434         java/awt/event/InvocationEvent.java,
1435         java/awt/event/ItemEvent.java,
1436         java/awt/event/ItemListener.java,
1437         java/awt/event/KeyAdapter.java,
1438         java/awt/event/KeyEvent.java,
1439         java/awt/event/KeyListener.java,
1440         java/awt/event/MouseAdapter.java,
1441         java/awt/event/MouseEvent.java,
1442         java/awt/event/MouseListener.java,
1443         java/awt/event/MouseMotionAdapter.java,
1444         java/awt/event/MouseMotionListener.java,
1445         java/awt/event/MouseWheelEvent.java,
1446         java/awt/event/MouseWheelListener.java,
1447         java/awt/event/PaintEvent.java,
1448         java/awt/event/TextEvent.java,
1449         java/awt/event/TextListener.java,
1450         java/awt/event/WindowAdapter.java,
1451         java/awt/event/WindowEvent.java,
1452         java/awt/event/WindowFocusListener.java,
1453         java/awt/event/WindowListener.java,
1454         java/awt/event/WindowStateListener.java,
1455         java/awt/font/TextHitInfo.java,
1456         java/awt/geom/CubicCurve2D.java,
1457         java/awt/geom/Dimension2D.java,
1458         java/awt/geom/Ellipse2D.java,
1459         java/awt/geom/IllegalPathStateException.java,
1460         java/awt/geom/Line2D.java,
1461         java/awt/geom/NoninvertibleTransformException.java,
1462         java/awt/geom/PathIterator.java,
1463         java/awt/geom/Point2D.java,
1464         java/awt/geom/QuadCurve2D.java,
1465         java/awt/geom/RectangularShape.java,
1466         java/awt/geom/RoundRectangle2D.java,
1467         java/awt/im/InputContext.java,
1468         java/awt/im/InputMethodHighlight.java,
1469         java/awt/im/InputMethodRequests.java,
1470         java/awt/im/InputSubset.java,
1471         java/awt/im/spi/InputMethod.java,
1472         java/awt/im/spi/InputMethodDescriptor.java,
1473         java/awt/image/BandCombineOp.java,
1474         java/awt/image/BandedSampleModel.java,
1475         java/awt/image/ByteLookupTable.java,
1476         java/awt/image/ComponentSampleModel.java,
1477         java/awt/image/DataBuffer.java,
1478         java/awt/image/DataBufferByte.java,
1479         java/awt/image/DataBufferDouble.java,
1480         java/awt/image/DataBufferFloat.java,
1481         java/awt/image/DataBufferInt.java,
1482         java/awt/image/DataBufferShort.java,
1483         java/awt/image/DataBufferUShort.java,
1484         java/awt/image/ImagingOpException.java,
1485         java/awt/image/Kernel.java,
1486         java/awt/image/LookupTable.java,
1487         java/awt/image/MultiPixelPackedSampleModel.java,
1488         java/awt/image/PackedColorModel.java,
1489         java/awt/image/PixelInterleavedSampleModel.java,
1490         java/awt/image/RGBImageFilter.java,
1491         java/awt/image/Raster.java,
1492         java/awt/image/RasterFormatException.java,
1493         java/awt/image/SampleModel.java,
1494         java/awt/image/ShortLookupTable.java,
1495         java/awt/image/SinglePixelPackedSampleModel.java,
1496         java/awt/image/WritableRaster.java,
1497         java/awt/print/PrinterAbortException.java,
1498         java/awt/print/PrinterException.java,
1499         java/awt/print/PrinterIOException.java,
1500         java/beans/AppletInitializer.java,
1501         java/beans/ExceptionListener.java,
1502         java/beans/PropertyChangeEvent.java,
1503         java/beans/PropertyChangeListenerProxy.java,
1504         java/beans/PropertyChangeSupport.java,
1505         java/beans/PropertyDescriptor.java,
1506         java/beans/VetoableChangeListenerProxy.java,
1507         java/beans/VetoableChangeSupport.java,
1508         java/io/BufferedReader.java,
1509         java/io/ByteArrayInputStream.java,
1510         java/io/ByteArrayOutputStream.java,
1511         java/io/CharArrayReader.java,
1512         java/io/CharArrayWriter.java,
1513         java/io/CharConversionException.java,
1514         java/io/DataInput.java,
1515         java/io/DataInputStream.java,
1516         java/io/DataOutput.java,
1517         java/io/DataOutputStream.java,
1518         java/io/EOFException.java,
1519         java/io/FileInputStream.java,
1520         java/io/FileNotFoundException.java,
1521         java/io/FileOutputStream.java,
1522         java/io/FilenameFilter.java,
1523         java/io/FilterInputStream.java,
1524         java/io/FilterOutputStream.java,
1525         java/io/FilterReader.java,
1526         java/io/FilterWriter.java,
1527         java/io/IOException.java,
1528         java/io/InputStream.java,
1529         java/io/InterruptedIOException.java,
1530         java/io/LineNumberInputStream.java,
1531         java/io/LineNumberReader.java,
1532         java/io/ObjectInputStream.java,
1533         java/io/ObjectStreamException.java,
1534         java/io/OptionalDataException.java,
1535         java/io/OutputStream.java,
1536         java/io/OutputStreamWriter.java,
1537         java/io/PrintStream.java,
1538         java/io/PrintWriter.java,
1539         java/io/PushbackInputStream.java,
1540         java/io/PushbackReader.java,
1541         java/io/RandomAccessFile.java,
1542         java/io/Reader.java,
1543         java/io/SequenceInputStream.java,
1544         java/io/Serializable.java,
1545         java/io/StreamCorruptedException.java,
1546         java/io/StreamTokenizer.java,
1547         java/io/StringBufferInputStream.java,
1548         java/io/StringWriter.java,
1549         java/io/SyncFailedException.java,
1550         java/io/UTFDataFormatException.java,
1551         java/io/UnsupportedEncodingException.java,
1552         java/io/WriteAbortedException.java,
1553         java/io/Writer.java,
1554         java/lang/AbstractMethodError.java,
1555         java/lang/ArithmeticException.java,
1556         java/lang/ArrayIndexOutOfBoundsException.java,
1557         java/lang/ArrayStoreException.java,
1558         java/lang/AssertionError.java,
1559         java/lang/Boolean.java,
1560         java/lang/Byte.java,
1561         java/lang/Class.java,
1562         java/lang/ClassCastException.java,
1563         java/lang/ClassCircularityError.java,
1564         java/lang/ClassLoader.java,
1565         java/lang/ClassNotFoundException.java,
1566         java/lang/CloneNotSupportedException.java,
1567         java/lang/Cloneable.java,
1568         java/lang/Comparable.java,
1569         java/lang/Compiler.java,
1570         java/lang/Double.java,
1571         java/lang/Error.java,
1572         java/lang/Exception.java,
1573         java/lang/ExceptionInInitializerError.java,
1574         java/lang/Float.java,
1575         java/lang/IllegalAccessError.java,
1576         java/lang/IllegalAccessException.java,
1577         java/lang/IllegalArgumentException.java,
1578         java/lang/IllegalMonitorStateException.java,
1579         java/lang/IllegalStateException.java,
1580         java/lang/IllegalThreadStateException.java,
1581         java/lang/IncompatibleClassChangeError.java,
1582         java/lang/IndexOutOfBoundsException.java,
1583         java/lang/InheritableThreadLocal.java,
1584         java/lang/InstantiationError.java,
1585         java/lang/InstantiationException.java,
1586         java/lang/Integer.java,
1587         java/lang/InternalError.java,
1588         java/lang/InterruptedException.java,
1589         java/lang/LinkageError.java,
1590         java/lang/Long.java,
1591         java/lang/NegativeArraySizeException.java,
1592         java/lang/NoClassDefFoundError.java,
1593         java/lang/NoSuchFieldError.java,
1594         java/lang/NoSuchFieldException.java,
1595         java/lang/NoSuchMethodError.java,
1596         java/lang/NoSuchMethodException.java,
1597         java/lang/NullPointerException.java,
1598         java/lang/Number.java,
1599         java/lang/NumberFormatException.java,
1600         java/lang/OutOfMemoryError.java,
1601         java/lang/Process.java,
1602         java/lang/Runnable.java,
1603         java/lang/Runtime.java,
1604         java/lang/RuntimeException.java,
1605         java/lang/RuntimePermission.java,
1606         java/lang/SecurityException.java,
1607         java/lang/SecurityManager.java,
1608         java/lang/Short.java,
1609         java/lang/StackOverflowError.java,
1610         java/lang/StackTraceElement.java,
1611         java/lang/StringBuffer.java,
1612         java/lang/StringIndexOutOfBoundsException.java,
1613         java/lang/ThreadDeath.java,
1614         java/lang/ThreadGroup.java,
1615         java/lang/Throwable.java,
1616         java/lang/UnsatisfiedLinkError.java,
1617         java/lang/UnsupportedOperationException.java,
1618         java/lang/VerifyError.java,
1619         java/lang/VirtualMachineError.java,
1620         java/lang/reflect/AccessibleObject.java,
1621         java/lang/reflect/Array.java,
1622         java/lang/reflect/InvocationTargetException.java,
1623         java/lang/reflect/Member.java,
1624         java/lang/reflect/Modifier.java,
1625         java/lang/reflect/Proxy.java,
1626         java/lang/reflect/ReflectPermission.java,
1627         java/lang/reflect/UndeclaredThrowableException.java,
1628         java/math/BigInteger.java,
1629         java/net/NetworkInterface.java,
1630         java/nio/ByteBufferHelper.java,
1631         java/nio/ByteBufferImpl.java,
1632         java/nio/DirectByteBufferImpl.java,
1633         java/nio/DoubleBufferImpl.java,
1634         java/nio/FloatBufferImpl.java,
1635         java/nio/IntBufferImpl.java,
1636         java/nio/LongBufferImpl.java,
1637         java/nio/ShortBufferImpl.java,
1638         java/nio/channels/Channel.java,
1639         java/nio/channels/IllegalBlockingModeException.java,
1640         java/nio/charset/spi/CharsetProvider.java,
1641         java/security/AccessControlException.java,
1642         java/security/BasicPermission.java,
1643         java/security/DigestException.java,
1644         java/security/DigestInputStream.java,
1645         java/security/DigestOutputStream.java,
1646         java/security/GeneralSecurityException.java,
1647         java/security/Guard.java,
1648         java/security/GuardedObject.java,
1649         java/security/InvalidAlgorithmParameterException.java,
1650         java/security/InvalidKeyException.java,
1651         java/security/InvalidParameterException.java,
1652         java/security/Key.java,
1653         java/security/KeyException.java,
1654         java/security/KeyManagementException.java,
1655         java/security/KeyStoreException.java,
1656         java/security/MessageDigestSpi.java,
1657         java/security/NoSuchAlgorithmException.java,
1658         java/security/NoSuchProviderException.java,
1659         java/security/Permission.java,
1660         java/security/PermissionCollection.java,
1661         java/security/Permissions.java,
1662         java/security/Principal.java,
1663         java/security/PrivateKey.java,
1664         java/security/PrivilegedActionException.java,
1665         java/security/ProviderException.java,
1666         java/security/PublicKey.java,
1667         java/security/SecureRandom.java,
1668         java/security/SecureRandomSpi.java,
1669         java/security/SignatureException.java,
1670         java/security/SignatureSpi.java,
1671         java/security/SignedObject.java,
1672         java/security/Signer.java,
1673         java/security/UnrecoverableKeyException.java,
1674         java/security/UnresolvedPermission.java,
1675         java/security/acl/AclNotFoundException.java,
1676         java/security/acl/LastOwnerException.java,
1677         java/security/acl/NotOwnerException.java,
1678         java/security/cert/CertPath.java,
1679         java/security/cert/CertPathBuilderException.java,
1680         java/security/cert/CertPathValidatorException.java,
1681         java/security/cert/CertStoreException.java,
1682         java/text/BreakIterator.java,
1683         java/text/ChoiceFormat.java,
1684         java/text/CollationElementIterator.java,
1685         java/text/CollationKey.java,
1686         java/text/Collator.java,
1687         java/text/DateFormat.java,
1688         java/text/DateFormatSymbols.java,
1689         java/text/DecimalFormat.java,
1690         java/text/DecimalFormatSymbols.java,
1691         java/text/FieldPosition.java,
1692         java/text/Format.java,
1693         java/text/NumberFormat.java,
1694         java/text/ParseException.java,
1695         java/text/ParsePosition.java,
1696         java/text/StringCharacterIterator.java,
1697         java/util/AbstractCollection.java,
1698         java/util/AbstractList.java,
1699         java/util/AbstractMap.java,
1700         java/util/AbstractSequentialList.java,
1701         java/util/AbstractSet.java,
1702         java/util/ArrayList.java,
1703         java/util/Arrays.java,
1704         java/util/BitSet.java,
1705         java/util/Collection.java,
1706         java/util/Collections.java,
1707         java/util/Comparator.java,
1708         java/util/ConcurrentModificationException.java,
1709         java/util/Currency.java,
1710         java/util/Date.java,
1711         java/util/EmptyStackException.java,
1712         java/util/Enumeration.java,
1713         java/util/EventListener.java,
1714         java/util/EventListenerProxy.java,
1715         java/util/EventObject.java,
1716         java/util/HashMap.java,
1717         java/util/HashSet.java,
1718         java/util/Hashtable.java,
1719         java/util/IdentityHashMap.java,
1720         java/util/Iterator.java,
1721         java/util/LinkedHashSet.java,
1722         java/util/LinkedList.java,
1723         java/util/List.java,
1724         java/util/ListIterator.java,
1725         java/util/ListResourceBundle.java,
1726         java/util/Map.java,
1727         java/util/MissingResourceException.java,
1728         java/util/NoSuchElementException.java,
1729         java/util/Observable.java,
1730         java/util/Observer.java,
1731         java/util/Properties.java,
1732         java/util/PropertyPermissionCollection.java,
1733         java/util/RandomAccess.java,
1734         java/util/Set.java,
1735         java/util/SortedMap.java,
1736         java/util/SortedSet.java,
1737         java/util/Stack.java,
1738         java/util/StringTokenizer.java,
1739         java/util/TooManyListenersException.java,
1740         java/util/TreeMap.java,
1741         java/util/TreeSet.java,
1742         java/util/Vector.java,
1743         java/util/logging/FileHandler.java,
1744         java/util/logging/Level.java,
1745         java/util/prefs/BackingStoreException.java,
1746         java/util/prefs/InvalidPreferencesFormatException.java,
1747         java/util/prefs/Preferences.java,
1748         javax/accessibility/Accessible.java,
1749         javax/accessibility/AccessibleAction.java,
1750         javax/accessibility/AccessibleBundle.java,
1751         javax/accessibility/AccessibleComponent.java,
1752         javax/accessibility/AccessibleContext.java,
1753         javax/accessibility/AccessibleEditableText.java,
1754         javax/accessibility/AccessibleExtendedComponent.java,
1755         javax/accessibility/AccessibleExtendedTable.java,
1756         javax/accessibility/AccessibleHyperlink.java,
1757         javax/accessibility/AccessibleHypertext.java,
1758         javax/accessibility/AccessibleIcon.java,
1759         javax/accessibility/AccessibleKeyBinding.java,
1760         javax/accessibility/AccessibleRelation.java,
1761         javax/accessibility/AccessibleRelationSet.java,
1762         javax/accessibility/AccessibleResourceBundle.java,
1763         javax/accessibility/AccessibleRole.java,
1764         javax/accessibility/AccessibleSelection.java,
1765         javax/accessibility/AccessibleState.java,
1766         javax/accessibility/AccessibleStateSet.java,
1767         javax/accessibility/AccessibleTable.java,
1768         javax/accessibility/AccessibleTableModelChange.java,
1769         javax/accessibility/AccessibleText.java,
1770         javax/accessibility/AccessibleValue.java,
1771         javax/imageio/IIOException.java,
1772         javax/imageio/ImageIO.java,
1773         javax/imageio/spi/IIOServiceProvider.java,
1774         javax/imageio/spi/ImageInputStreamSpi.java,
1775         javax/imageio/spi/ImageOutputStreamSpi.java,
1776         javax/imageio/spi/ImageReaderWriterSpi.java,
1777         javax/imageio/spi/ImageTranscoderSpi.java,
1778         javax/imageio/spi/RegisterableService.java,
1779         javax/imageio/spi/ServiceRegistry.java,
1780         javax/imageio/stream/IIOByteBuffer.java,
1781         javax/imageio/stream/ImageInputStream.java,
1782         javax/imageio/stream/ImageOutputStream.java,
1783         javax/naming/Binding.java,
1784         javax/naming/CannotProceedException.java,
1785         javax/naming/CompositeName.java,
1786         javax/naming/CompoundName.java,
1787         javax/naming/LinkException.java,
1788         javax/naming/LinkRef.java,
1789         javax/naming/NameClassPair.java,
1790         javax/naming/Reference.java,
1791         javax/naming/ReferralException.java,
1792         javax/naming/directory/Attribute.java,
1793         javax/naming/directory/AttributeModificationException.java,
1794         javax/naming/directory/Attributes.java,
1795         javax/naming/directory/DirContext.java,
1796         javax/naming/directory/ModificationItem.java,
1797         javax/naming/directory/SearchControls.java,
1798         javax/naming/directory/SearchResult.java,
1799         javax/naming/event/EventContext.java,
1800         javax/naming/event/EventDirContext.java,
1801         javax/naming/event/NamespaceChangeListener.java,
1802         javax/naming/event/NamingExceptionEvent.java,
1803         javax/naming/event/NamingListener.java,
1804         javax/naming/event/ObjectChangeListener.java,
1805         javax/naming/ldap/Control.java,
1806         javax/naming/ldap/ExtendedResponse.java,
1807         javax/naming/ldap/HasControls.java,
1808         javax/naming/ldap/LdapContext.java,
1809         javax/naming/ldap/UnsolicitedNotification.java,
1810         javax/naming/ldap/UnsolicitedNotificationEvent.java,
1811         javax/naming/ldap/UnsolicitedNotificationListener.java,
1812         javax/naming/spi/DirectoryManager.java,
1813         javax/naming/spi/ResolveResult.java,
1814         javax/naming/spi/Resolver.java,
1815         javax/security/auth/callback/Callback.java,
1816         javax/security/auth/callback/CallbackHandler.java,
1817         javax/security/auth/callback/ChoiceCallback.java,
1818         javax/security/auth/callback/ConfirmationCallback.java,
1819         javax/security/auth/callback/LanguageCallback.java,
1820         javax/security/auth/callback/NameCallback.java,
1821         javax/security/auth/callback/PasswordCallback.java,
1822         javax/security/auth/callback/TextInputCallback.java,
1823         javax/security/auth/callback/TextOutputCallback.java,
1824         javax/security/auth/callback/UnsupportedCallbackException.java,
1825         javax/security/sasl/Sasl.java,
1826         javax/security/sasl/SaslServerFactory.java,
1827         javax/swing/DefaultBoundedRangeModel.java,
1828         javax/swing/JComponent.java,
1829         javax/swing/JList.java,
1830         javax/swing/JProgressBar.java,
1831         javax/swing/JRadioButton.java,
1832         javax/swing/JTextArea.java,
1833         javax/swing/JTextField.java,
1834         javax/swing/JToggleButton.java,
1835         javax/swing/JTree.java,
1836         javax/swing/SpinnerListModel.java,
1837         javax/swing/event/EventListenerList.java,
1838         javax/swing/text/JTextComponent.java,
1839         javax/swing/text/StringContent.java,
1840         javax/swing/text/Utilities.java,
1841         javax/swing/undo/UndoManager.java,
1842         javax/swing/undo/UndoableEditSupport.java,
1843         javax/transaction/HeuristicCommitException.java,
1844         javax/transaction/HeuristicMixedException.java,
1845         javax/transaction/HeuristicRollbackException.java,
1846         javax/transaction/InvalidTransactionException.java,
1847         javax/transaction/NotSupportedException.java,
1848         javax/transaction/RollbackException.java,
1849         javax/transaction/Status.java,
1850         javax/transaction/Synchronization.java,
1851         javax/transaction/SystemException.java,
1852         javax/transaction/Transaction.java,
1853         javax/transaction/TransactionManager.java,
1854         javax/transaction/TransactionRequiredException.java,
1855         javax/transaction/TransactionRolledbackException.java,
1856         javax/transaction/UserTransaction.java,
1857         javax/transaction/xa/XAException.java,
1858         javax/transaction/xa/XAResource.java,
1859         javax/transaction/xa/Xid.java,
1860         javax/xml/XMLConstants.java,
1861         javax/xml/datatype/DatatypeConfigurationException.java,
1862         javax/xml/datatype/DatatypeConstants.java,
1863         javax/xml/datatype/DatatypeFactory.java,
1864         javax/xml/datatype/Duration.java,
1865         javax/xml/datatype/XMLGregorianCalendar.java,
1866         javax/xml/namespace/NamespaceContext.java,
1867         javax/xml/namespace/QName.java,
1868         javax/xml/parsers/DocumentBuilder.java,
1869         javax/xml/parsers/DocumentBuilderFactory.java,
1870         javax/xml/parsers/FactoryConfigurationError.java,
1871         javax/xml/parsers/ParserConfigurationException.java,
1872         javax/xml/parsers/SAXParser.java,
1873         javax/xml/parsers/SAXParserFactory.java,
1874         javax/xml/transform/ErrorListener.java,
1875         javax/xml/transform/OutputKeys.java,
1876         javax/xml/transform/Result.java,
1877         javax/xml/transform/Source.java,
1878         javax/xml/transform/SourceLocator.java,
1879         javax/xml/transform/Templates.java,
1880         javax/xml/transform/Transformer.java,
1881         javax/xml/transform/TransformerConfigurationException.java,
1882         javax/xml/transform/TransformerException.java,
1883         javax/xml/transform/TransformerFactory.java,
1884         javax/xml/transform/TransformerFactoryConfigurationError.java,
1885         javax/xml/transform/URIResolver.java,
1886         javax/xml/transform/dom/DOMLocator.java,
1887         javax/xml/transform/dom/DOMResult.java,
1888         javax/xml/transform/dom/DOMSource.java,
1889         javax/xml/transform/sax/SAXResult.java,
1890         javax/xml/transform/sax/SAXSource.java,
1891         javax/xml/transform/sax/SAXTransformerFactory.java,
1892         javax/xml/transform/sax/TemplatesHandler.java,
1893         javax/xml/transform/sax/TransformerHandler.java,
1894         javax/xml/transform/stream/StreamResult.java,
1895         javax/xml/transform/stream/StreamSource.java,
1896         javax/xml/validation/Schema.java,
1897         javax/xml/validation/SchemaFactory.java,
1898         javax/xml/validation/TypeInfoProvider.java,
1899         javax/xml/validation/Validator.java,
1900         javax/xml/validation/ValidatorHandler.java,
1901         javax/xml/xpath/XPathConstants.java,
1902         javax/xml/xpath/XPathException.java,
1903         javax/xml/xpath/XPathExpression.java,
1904         javax/xml/xpath/XPathExpressionException.java,
1905         javax/xml/xpath/XPathFactory.java,
1906         javax/xml/xpath/XPathFactoryConfigurationException.java,
1907         javax/xml/xpath/XPathFunction.java,
1908         javax/xml/xpath/XPathFunctionException.java,
1909         javax/xml/xpath/XPathFunctionResolver.java:
1910         Fixed usage of @author tag, reworked import statements,
1911         removed CVS tags, changed the modifier order and fixed
1912         HTML usage in javadocs.
1913
1914 2005-02-16  Julian Scheid  <julian@sektor37.de>
1915
1916         * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
1917         in.position().
1918         (encodeLoop): Likewise.
1919
1920 2005-02-16  Mark Wielaard  <mark@klomp.org>
1921
1922         * Makefile.am (ordinary_java_source_files): Add new files
1923         gnu/java/security/ber/BER.java,
1924         gnu/java/security/ber/BEREncodingException.java,
1925         gnu/java/security/ber/BERReader.java,
1926         gnu/java/security/ber/BERValue.java,
1927         gnu/java/security/pkcs/PKCS7SignedData.java and
1928         gnu/java/security/pkcs/SignerInfo.java.
1929         * Makefile.in: Regenerated.
1930
1931 2005-02-16  Casey Marshall  <csm@gnu.org>
1932
1933         * gnu/java/security/provider/GnuDSAPrivateKey.java
1934         (encodedKey): new field.
1935         (getFormat): return "PKCS#8".
1936         (getEncoded): implemented.
1937         (toString): check for 'null' values.
1938         * gnu/java/security/provider/GnuDSAPublicKey.java
1939         (encodedKey): new field.
1940         (getFormat): return "X.509".
1941         (getEncoded): implemented.
1942         (toString): check for 'null' values.
1943
1944 2005-02-16  Michael Koch  <konqueror@gmx.de>
1945
1946         * java/util/jar/JarFile.java: Imports reworked.
1947
1948 2005-02-16  Mark Wielaard  <mark@klomp.org>
1949
1950         * java/util/jar/JarFile.java (verify): Make package private.
1951         (signaturesRead): Likewise.
1952         (verified): Likewise.
1953         (entryCerts): Likewise.
1954         (DEBUG): Likewise.
1955         (debug): Likewise.
1956         (entries): Construct new JarEnumeration with reference to this.
1957         (JarEnumeration): Make static.
1958         (JarEnumeration.jarfile): New field.
1959         (JarEnumeration.nextElement): Use and synchronize on jarfile.
1960         Compare verified value to Boolean.TRUE or Boolean.False only
1961         when verify is true.
1962         (getEntry): Make synchronized. Compare value of verified to
1963         Boolean.TRUE.
1964         (getInputStream): Construct EntryInputStream with reference to this.
1965         (getManifest): Make synchronized.
1966         (EntryInputStream): Make static.
1967         (EntryInputStream.jarfile): New field.
1968         (EntryInputStream.EntryInputStream): Check if manifest exists,
1969         before getting attributes.
1970         (eof): Synchronize on jarfile.
1971
1972 2005-02-16  Casey Marshall  <csm@gnu.org>
1973
1974         * java/util/jar/JarFile.java (verify): return if the jar is signed
1975         with an unsupported algorithm.
1976
1977 2005-02-16  Mark Wielaard  <mark@klomp.org>
1978
1979         * java/util/jar/JarFile.java (EntryInputStream): Add actual
1980         InputStream as argument.
1981         (getInputStream): Construct a new EntryInputStream with the result of
1982         super.getInputStream(entry).
1983
1984 2005-02-16  Casey Marshall  <csm@gnu.org>
1985
1986         Signed JAR file support.
1987         * java/net/URLClassLoader.java
1988         (JarURLResource.getCertificates): re-read jar entry to ensure
1989         certificates are picked up.
1990         (findClass): fill in class `signers' field, too.
1991         * java/util/jar/JarFile.java (META_INF): new constant.
1992         (PKCS7_DSA_SUFFIX): new constant.
1993         (PKCS7_RSA_SUFFIX): new constant.
1994         (DIGEST_KEY_SUFFIX): new constant.
1995         (SF_SUFFIX): new constant.
1996         (MD2_OID): new constant.
1997         (MD4_OID): new constant.
1998         (MD5_OID): new constant.
1999         (SHA1_OID): new constant.
2000         (DSA_ENCRYPTION_OID): new constant.
2001         (RSA_ENCRYPTION_OID): new constant.
2002         (signaturesRead): new field.
2003         (verified): new field.
2004         (entryCerts): new field.
2005         (DEBUG): new constant.
2006         (debug): new method.
2007         (JarEnumeration.nextElement): fill in entry certificates, read
2008         signatures if they haven't been read.
2009         (getEntry): likewise.
2010         (getInputStream): verify stream if it hasn't been verified yet.
2011         (readSignatures): new method.
2012         (verify): new method.
2013         (verifyHashes): new method.
2014         (readManifestEntry): new method.
2015         (EntryInputStream): new class.
2016         * gnu/java/io/Base64InputStream.java (decode): new class
2017         method.
2018         * gnu/java/security/der/DERReader.java don't make class
2019         final.
2020         (in): made protected.
2021         (encBuf): likewise.
2022         (readLength): likewise.
2023         * gnu/java/security/ber/BER.java,
2024         * gnu/java/security/ber/BEREncodingException.java,
2025         * gnu/java/security/ber/BERReader.java,
2026         * gnu/java/security/ber/BERValue.java,
2027         * gnu/java/security/pkcs/PKCS7SignedData.java,
2028         * gnu/java/security/pkcs/SignerInfo.java:
2029         new files.
2030
2031 2005-02-16  Tom Tromey  <tromey@redhat.com>
2032
2033         * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
2034         copied file on exit.
2035
2036 2005-02-15  Mark Wielaard  <mark@klomp.org>
2037
2038         * java/awt/BasicStroke.java (hashCode): Check for null dash.
2039
2040 2005-02-15  Michael Koch  <konqueror@gmx.de>
2041
2042         * gnu/java/awt/peer/gtk/GtkArg.java,
2043         gnu/java/awt/peer/gtk/GtkArgList.java:
2044         Removed.
2045
2046 2005-02-15  Craig Black  <craig.black@aonix.com>
2047
2048         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
2049         (postMenuActionEvent): Implement to notify ItemListeners.
2050         * java/awt/CheckboxMenuItem.java
2051         (dispatchEventImpl): Update state on ItemEvent.
2052         * java/awt/MenuItem.java
2053         (processActionEvent): Retarget event source.
2054
2055 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2056
2057         * gnu/java/awt/color/ClutProfileConverter.java,
2058         gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
2059         gnu/java/awt/peer/gtk/GdkFontPeer.java,
2060         gnu/java/awt/peer/gtk/GdkGlyphVector.java,
2061         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2062         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
2063         gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
2064         gnu/java/awt/peer/gtk/GdkRobotPeer.java,
2065         gnu/java/awt/peer/gtk/GdkTextLayout.java,
2066         gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2067         gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2068         gnu/java/awt/peer/gtk/GtkChoicePeer.java,
2069         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2070         gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2071         gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2072         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2073         gnu/java/awt/peer/gtk/GtkFontPeer.java,
2074         gnu/java/awt/peer/gtk/GtkFramePeer.java,
2075         gnu/java/awt/peer/gtk/GtkLabelPeer.java,
2076         gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
2077         gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
2078         gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
2079         gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
2080         gnu/java/awt/peer/gtk/GtkToolkit.java,
2081         gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2082         javax/swing/JPopupMenu.java,
2083         javax/swing/JSpinner.java,
2084         javax/swing/SortingFocusTraversalPolicy.java,
2085         javax/swing/SwingUtilities.java,
2086         javax/swing/plaf/basic/BasicComboBoxEditor.java,
2087         javax/swing/plaf/basic/BasicComboBoxRenderer.java,
2088         javax/swing/tree/DefaultMutableTreeNode.java:
2089         Removed unused imports and expanded starred
2090         imports.
2091
2092 2005-02-15  Mark Wielaard  <mark@klomp.org>
2093
2094         * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
2095         IllegalArgumentException when the given String is null.
2096
2097         * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
2098         when given keystoke sequence cannot be parsed.
2099
2100         * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
2101         if one is installed. Only install the given menubar is not null.
2102
2103         * javax/swing/JViewport.java (getViewSize): Return an empty
2104         Dimension when the view isn't set or preferred component size when
2105         no viewSize is set.
2106
2107         * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
2108         empty Dimension when there is no view set.
2109         (minimumLayoutSize): Likewise.
2110         (layoutContainer): Don't try to layout when there is no view.
2111
2112 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2113
2114         * jawt.c: New file.
2115         * include/jawt.h: Likewise.
2116         * include/jawt_md.h: Likewise.
2117         * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
2118         jawt_md.h files.
2119         * jni/classpath/classpath_jawt.h: Likewise.
2120         * jni/gtk-peer/gtk_jawt.c: Likewise.
2121         * Makefile.am: Build libjawt.so.
2122
2123 2005-02-15  Michael Koch  <konqueror@gmx.de>
2124
2125         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
2126         Merged file header with classpath CVS head.
2127         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2128         Merged code formatting with classpath CVS head.
2129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
2130         Removed debug code.
2131         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2132         Handle special JNI strings with 2 '\0' at the end.
2133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2134         Merged file header with classpath CVS head.
2135         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2136         Merged code formatting with classpath CVS head.
2137
2138 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2139
2140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
2141         Use GTK's built-in file system backend.  Use GTK_RESPONSE_ACCEPT.
2142         (handle_response): Use GTK_RESPONSE_ACCEPT.
2143
2144 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2145
2146         * Makefile.am: Fix library build breakage.
2147         * Makefile.in: Regenerate.
2148
2149 2005-02-15  Michael Koch  <konqueror@gmx.de>
2150
2151         * javax/swing/JTabbedPane.java
2152         (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
2153
2154 2005-02-15  Michael Koch  <konqueror@gmx.de>
2155
2156         * javax/swing/tree/DefaultMutableTreeNode.java:
2157         Reworked Javadocs all over.
2158         (getPathToRoot): Fixed direction of result array initialization.
2159
2160 2005-02-15  Michael Koch  <konqueror@gmx.de>
2161
2162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2163          Fix includes for cairo 0.3.0 snappshot.
2164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2165         Merged file header from classpath CVS HEAD.
2166
2167 2005-02-15  Craig Black  <craig.black@aonix.com>
2168
2169         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2170         (copyState): Pass a JNI global reference to signal handler.
2171         (realize_cb): Use and free JNI global reference.
2172         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2173         (create): Pass a JNI global reference to signal handler.
2174         (selection_changed): Match declaration.
2175         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2176         (dispose): Do not remove entries from state tables until after widget is
2177         destroyed.
2178
2179 2005-02-15  Michael Koch  <konqueror@gmx.de>
2180
2181         * java/awt/Container.javai (paramString):
2182         If layoutMgr is null just return result of super.paramString().
2183         * java/awt/Scrollbar.java: Reformatted.
2184         * java/awt/im/InputContext.java (static):
2185         Removed redundant initializations.
2186
2187 2005-02-15  Michael Koch  <konqueror@gmx.de>
2188
2189         * javax/swing/ImageIcon.java,
2190         javax/swing/UIManager.java,
2191         javax/swing/text/EditorKit.java,
2192         javax/swing/text/Segment.java:
2193         More whitespace cleanups.
2194
2195 2005-02-15  Michael Koch  <konqueror@gmx.de>
2196
2197         * gnu/java/awt/EmbeddedWindow.java,
2198         gnu/java/awt/image/ImageDecoder.java,
2199         gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
2200         java/awt/DefaultKeyboardFocusManager.java,
2201         java/awt/Frame.java,
2202         java/awt/image/RGBImageFilter.java,
2203         javax/swing/AbstractButton.java,
2204         javax/swing/ActionMap.java,
2205         javax/swing/ComponentInputMap.java,
2206         javax/swing/DefaultDesktopManager.java,
2207         javax/swing/ImageIcon.java,
2208         javax/swing/InputMap.java,
2209         javax/swing/JButton.java,
2210         javax/swing/JCheckBox.java,
2211         javax/swing/JCheckBoxMenuItem.java,
2212         javax/swing/JEditorPane.java,
2213         javax/swing/JMenu.java,
2214         javax/swing/JMenuItem.java,
2215         javax/swing/JOptionPane.java,
2216         javax/swing/JRootPane.java,
2217         javax/swing/JTable.java,
2218         javax/swing/MenuSelectionManager.java,
2219         javax/swing/RepaintManager.java,
2220         javax/swing/ScrollPaneLayout.java,
2221         javax/swing/SortingFocusTraversalPolicy.java,
2222         javax/swing/UIManager.java,
2223         javax/swing/ViewportLayout.java,
2224         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
2225         javax/swing/plaf/basic/BasicInternalFrameUI.java,
2226         javax/swing/plaf/basic/BasicLabelUI.java,
2227         javax/swing/plaf/basic/BasicListUI.java,
2228         javax/swing/plaf/basic/BasicMenuItemUI.java,
2229         javax/swing/plaf/basic/BasicMenuUI.java,
2230         javax/swing/plaf/basic/BasicOptionPaneUI.java,
2231         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
2232         javax/swing/plaf/basic/BasicRootPaneUI.java,
2233         javax/swing/plaf/basic/BasicScrollPaneUI.java,
2234         javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2235         javax/swing/plaf/basic/BasicTextUI.java,
2236         javax/swing/table/TableColumnModel.java,
2237         javax/swing/text/AbstractDocument.java,
2238         javax/swing/text/EditorKit.java,
2239         javax/swing/text/Position.java,
2240         javax/swing/text/Segment.java,
2241         javax/swing/text/StyledEditorKit.java,
2242         javax/swing/text/ViewFactory.java:
2243         Cleanup whitespace differences to classpath CVS HEAD.
2244
2245 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2246
2247         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2248         (finalize): Call finish from here.
2249         (produce): Not from here.
2250         * Makefile.am (gtk_c_source_files):
2251         Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
2252         * Makefile.in: Regenerate.
2253         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2254         (cairoSetFont):
2255         (cairoDrawGdkTextLayout):
2256         (cairoDrawString):
2257         (getPeerTextMetrics):
2258         (getPeerFontMetrics): Remove.
2259         (setFont): Don't call cairoSetFont.
2260         (cairoDrawGlyphVector): Accept font peer argument.
2261         (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
2262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
2263         (ensure_metrics_cairo):
2264         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
2265         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
2266         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
2267         (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
2268         (metrics_cairo):
2269         (metrics_surface): Remove.
2270         (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
2271         Pass and install font peer.
2272
2273 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2274
2275         * Makefile.am: Create "split library" structure.
2276         * Makefile.in: Regenerate.
2277
2278 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2279
2280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2284         Release GDK lock during upcalls.
2285
2286 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2287
2288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
2289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2290         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
2291         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
2292         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
2293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
2294         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2295         (getGlyphVector):
2296         (getFontMetrics):
2297         (getTextMetrics): New native methods.
2298         * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2299         * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2300         * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2301         * Makefile.in: Regenerate.
2302
2303 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2304
2305         * javax/swing/SwingUtilities.java:
2306         (getAccessibleAt(java.awt.Component, java.awt.Point)):
2307         Implemented and documented.
2308         (getAccessibleChild(java.awt.Component, int)): Likewise.
2309         (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2310         (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2311         (getAccessibleStateSet(java.awt.Component)): Likewise.
2312
2313 2005-02-15  Michael Koch  <konqueror@gmx.de>
2314
2315         * javax/swing/SwingUtilities.java
2316         (getFontMetrics): Removed.
2317
2318 2005-02-15  Michael Koch  <konqueror@gmx.de>
2319
2320         * java/awt/Container.java
2321         (paramString): Implemented.
2322         * javax/swing/AbstractButton.java
2323         (paramString): Implemented.
2324         * javax/swing/JComponent.java
2325         (paramString): Implemented.
2326         * javax/swing/JMenu.java
2327         (paramString): Implemented.
2328         * javax/swing/JMenuBar.java
2329         (paramString): Implemented.
2330         * javax/swing/JMenuItem.java
2331         (paramString): Implemented.
2332         * javax/swing/JPopupMenu.java
2333         (paramString): Implemented.
2334
2335 2005-02-15  Michael Koch  <konqueror@gmx.de>
2336
2337         * javax/swing/JMenu.java
2338         (uiClassID): Removed.
2339         (JMenu): Set invoker on popup menu.
2340         (getUIClassID): Return id directly.
2341         (getItemCount): Simply return getMenuComponentCount().
2342         Fixed javadoc.
2343         (isTopLevelMenu): Simplified.
2344         * javax/swing/JMenuItem.java
2345         (uiClassID): Removed.
2346         (getUIClassID): Return id directly.
2347         * javax/swing/JPopupMenu.java
2348         (uiClassID): Removed.
2349         (JPopupMenu): Always initialize correctly.
2350         (getSubElements): Only return components implementing MenuElement
2351         interface.
2352         (HeavyWeightPopup.hide): Removed.
2353
2354 2005-02-15  Michael Koch  <konqueror@gmx.de>
2355
2356         * java/awt/image/ReplicateScaleFilter.java
2357         (replicatePixels): Made private.
2358         * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2359         (DefaultRGBChooserPanel): Made package private.
2360         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2361         (RecentSwatchPanel): Likewise.
2362         * javax/swing/event/MouseInputAdapter.java: Reformatted.
2363         (MouseInputAdapter): Made abstract.
2364         * javax/swing/tree/DefaultMutableTreeNode.java
2365         (random): Removed.
2366         (growTree): Likewise.
2367
2368 2005-02-15  Michael Koch  <konqueror@gmx.de>
2369
2370         * java/awt/dnd/DropTarget.java (addDropTargetListener):
2371         Clarified comments.
2372
2373 2005-02-15  Michael Koch  <konqueror@gmx.de>
2374
2375         * javax/swing/JComponent.java (getComponentGraphics):
2376         Removed accidently commited code.
2377
2378 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2379
2380         * java/awt/dnd/DropTarget.java
2381         (addDropTargetListener): Despite documentation, do not throw.
2382         * javax/swing/JComponent.java: Set a default DropTarget.
2383
2384 2005-02-15  Michael Koch  <konqueror@gmx.de>
2385
2386         * javax/swing/AbstractAction.java
2387         (ENABLED_PROPERTY): Removed.
2388         (setEnabled): Replaced constant with real string.
2389         * javax/swing/AbstractButton.java
2390         (createActionPropertyChangeListener.propertyChange): Likewise.
2391         * javax/swing/JComboBox.java
2392         (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2393         (EDITABLE_CHANGED_PROPERTY): Removed.
2394         (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2395         (ENABLED_CHANGED_PROPERTY):Likewise.
2396         (RENDERER_CHANGED_PROPERTY):Likewise.
2397         (EDITOR_CHANGED_PROPERTY):Likewise.
2398         (MODEL_CHANGED_PROPERTY):Likewise.
2399         (uiClassID):Likewise.
2400         (getUIClassID): Replaced constant with real string.
2401         (setModel):Likewise.
2402         (setEditable):Likewise.
2403         (setMaximumRowCount):Likewise.
2404         (setRenderer):Likewise.
2405         (setEditor):Likewise.
2406         (setEnabled):Likewise.
2407         * javax/swing/JLabel.java
2408         (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2409         (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2410         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2411         (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2412         (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2413         (ICON_CHANGED_PROPERTY): Likewise.
2414         (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2415         (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2416         (TEXT_CHANGED_PROPERTY): Likewise.
2417         (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2418         (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2419         (setText): Replaced constant with real string.
2420         (setIcon): Likewise.
2421         (setDisabledIcon): Likewise.
2422         (setDisplayedMnemonic): Likewise.
2423         (setIconTextGap): Likewise.
2424         (setVerticalAlignment): Likewise.
2425         (setHorizontalAlignment): Likewise.
2426         (setVerticalTextPosition): Likewise.
2427         (setHorizontalTextPosition): Likewise.
2428         (setLabelFor): Replaced constant with real string.
2429         Fire property change event after property got changed.
2430         * javax/swing/JList.java
2431         (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2432         (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2433         (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2434         (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2435         (MODEL_PROPERTY_CHANGED): Likewise.
2436         (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2437         (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2438         (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2439         (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2440         (setFixedCellWidth): Reimplemented.
2441         (setFixedCellHeight): Exit if new value is identical.
2442         Replaced constant with real string.
2443         (setSelectionBackground): Likewise.
2444         (setSelectionForeground): Likewise.
2445         (setPrototypeCellValue): Likewise.
2446         (setCellRenderer): Replaced constant with real string.
2447         (setModel): Likewise.
2448         (setSelectionModel): Likewise.
2449         * javax/swing/JMenuBar.java
2450         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2451         (MODEL_CHANGED_PROPERTY): Likewise.
2452         (MARGIN_CHANGED_PROPERTY): Likewise.
2453         (setBorderPainted): Reimplemented.
2454         (setMargin): Likewise.
2455         (setSelectionModel): Replaced constant with real string.
2456         * javax/swing/JPopupMenu.java
2457         (LABEL_CHANGED_PROPERTY): Removed.
2458         (VISIBLE_CHANGED_PROPERTY): Likewise.
2459         (borderPainted): Likewise.
2460         (setLabel): Replaced constant with real string.
2461         (setVisible): Exit if new value is identical.
2462         Replaced constant with real string.
2463         * javax/swing/JProgressBar.java
2464         (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2465         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2466         (STRING_CHANGED_PROPERTY): Likewise.
2467         (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2468         (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2469         (setOrientation): Replaced constant with real string.
2470         (setStringPainted): Likewise.
2471         (setString): Likewise.
2472         (setBorderPainted): Likewise.
2473         (setIndeterminate): Likewise.
2474         * javax/swing/JScrollBar.java
2475         (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2476         (MODEL_CHANGED_PROPERTY): Likewise.
2477         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2478         (setOrientation): Replaced constant with real string.
2479         (setModel): Likewise.
2480         (setUnitIncrement): Likewise.
2481         (setBlockIncrement): Likewise.
2482         * javax/swing/JScrollPane.java
2483         (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2484         (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2485         (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2486         (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2487         (LAYOUT_CHANGED_PROPERTY): Likewise.
2488         (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2489         (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2490         (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2491         (VIEWPORT_CHANGED_PROPERTY): Likewise.
2492         (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2493         (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2494         (setComponentOrientation): Replaced constant with real string.
2495         (setColumnHeader): Likewise.
2496         (setHorizontalScrollBar): Likewise.
2497         (setHorizontalScrollBarPolicy): Likewise.
2498         (setRowHeader): Likewise.
2499         (setVerticalScrollBar): Likewise.
2500         (setVerticalScrollBarPolicy): Likewise.
2501         (setWheelScrollingEnabled): Likewise.
2502         (setViewport): Likewise.
2503         (setViewportBorder): Likewise.
2504         * javax/swing/JSlider.java
2505         (INVERTED_CHANGED_PROPERTY): Removed.
2506         (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2507         (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2508         (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2509         (MODEL_CHANGED_PROPERTY): Likewise.
2510         (ORIENTATION_CHANGED_PROPERTY): Likewise.
2511         (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2512         (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2513         (setModel): Replaced constant with real string.
2514         (setOrientation): Likewise.
2515         (setLabelTable): Likewise.
2516         (setInverted): Likewise.
2517         (setMajorTickSpacing): Likewise.
2518         (setMinorTickSpacing): Likewise.
2519         (setPaintTicks): Likewise.
2520         (setPaintLabels): Likewise.
2521         * javax/swing/JTabbedPane.java
2522         (MODEL_CHANGED_PROPERTY): Removed.
2523         (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2524         (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2525         (setModel): Replaced constant with real string.
2526         (setTabPlacement): Likewise.
2527         (setTabLayoutPolicy): Likewise.
2528         * javax/swing/JToolBar.java
2529         (ORIENTATION_CHANGED_PROPERTY): Removed.
2530         (FLOATABLE_CHANGED_PROPERTY): Likewise.
2531         (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2532         (MARGIN_CHANGED_PROPERTY): Likewise.
2533         (ROLLOVER_CHANGED_PROPERTY): Likewise.
2534         (setRollover): Replaced constant with real string.
2535         (setMargin): Likewise.
2536         (setBorderPainted): Likewise.
2537         (setFloatable): Likewise.
2538         (setOrientation): Likewise.
2539         * javax/swing/plaf/basic/BasicComboBoxUI.java
2540         (PropertyChangeHandler.propertyChange): Likewise.
2541         * javax/swing/plaf/basic/BasicComboPopup.java
2542         (PropertyChangeHandler.propertyChange): Likewise.
2543         * javax/swing/plaf/basic/BasicMenuBarUI.java
2544         (PropertyChangeHandler.propertyChange): Likewise.
2545         * javax/swing/plaf/basic/BasicProgressBarUI.java
2546         (PropertyChangeHandler.propertyChange): Likewise.
2547         * javax/swing/plaf/basic/BasicScrollBarUI.java
2548         (PropertyChangeHandler.propertyChange): Likewise.
2549         * javax/swing/plaf/basic/BasicSliderUI.java
2550         (PropertyChangeHandler.propertyChange): Likewise.
2551         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2552         (PropertyChangeHandler.propertyChange): Likewise.
2553         * javax/swing/plaf/basic/BasicToolBarUI.java
2554         (PropertyChangeHandler.propertyChange): Likewise.
2555
2556 2005-02-15  Michael Koch  <konqueror@gmx.de>
2557
2558         * javax/swing/DefaultButtonModel.java
2559         (changeState): Made private.
2560         * javax/swing/DefaultDesktopManager.java
2561         (setWasIcon): Fixed second argument to be java.lang.Boolean.
2562         * javax/swing/JLayeredPane.java
2563         (layerToRange): Made private.
2564         (incrLayer): Likewise.
2565         (decrLayer): Likewise.
2566         * javax/swing/JTable.java
2567         (dragEnabled): Likewise.
2568         (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2569         * javax/swing/KeyStroke.java
2570         (Keystroke): Made private.
2571         * javax/swing/TransferHandler.java
2572         (COMMAND_COPY): Likewise.
2573         (COMMAND_CUT): Likewise.
2574         (COMMAND_PASTE): Likewise.
2575
2576 2005-02-15  Michael Koch  <konqueror@gmx.de>
2577
2578         * javax/swing/JTextField.java
2579         (postActionEvent): Use text in field when actionCommand is null.
2580         (getActionCommand): Removed.
2581
2582 2005-02-15  Michael Koch  <konqueror@gmx.de>
2583
2584         * javax/swing/AbstractSet.java: Removed.
2585         * Makefile.am: Removed javax/swing/AbstractSet.java.
2586         * Makefile.in: Regenerated.
2587
2588 2005-02-15  Michael Koch  <konqueror@gmx.de>
2589
2590         * java/awt/Window.java
2591         (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2592         * java/awt/dnd/DnDConstants.java
2593         (DnDConstants): New private constructor.
2594
2595 2005-02-15  Michael Koch  <konqueror@gmx.de>
2596
2597         * javax/swing/DefaultCellRenderer.java: Removed.
2598         * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2599         * Makefile.in: Regenerated.
2600
2601 2005-02-15  Michael Koch  <konqueror@gmx.de>
2602
2603         * javax/swing/AbstractButton.java
2604         (fireItemStateChanged): Made protected.
2605         (fireActionPerformed): Likewise.
2606         (fireStateChanged): Likewise.
2607         * javax/swing/DefaultButtonModel.java
2608         (fireItemStateChanged): Likewise.
2609         (fireActionPerformed): Likewise.
2610         (fireStateChanged): Likewise.
2611         * javax/swing/JApplet.java
2612         (JApplet): Removed.
2613         (frameInit): Likewise.
2614         (setRootPane): Made protected.
2615         (createRootPane): Likewise.
2616         * javax/swing/JComponent.java
2617         (getClientProperty): Likewise.
2618         (putClientProperty): Likewise.
2619         * javax/swing/JEditorPane.java
2620         (getContentType): Likewise.
2621         (setContentType): Likewise.
2622         * javax/swing/JFrame.java
2623         (setRootPane): Likewise.
2624         (createRootPane): Likewise.
2625         * javax/swing/JInternalFrame.java
2626         (getFocusCycleRootAncestor): Made final. Added @since tag.
2627         (isFocusCycleRoot): Likewise.
2628         (getWarningString): Made final.
2629         * javax/swing/JScrollBar.java
2630         (changeListener): Removed.
2631         (changeEvent): Likewise.
2632         (createChangeListener): Likewise.
2633         (fireStateChanged): Likewise.
2634         (addChangeListener): Likewise.
2635         (removeChangeListener): Likewise.
2636         (getChangeListeners): Likewise.
2637         * javax/swing/JScrollPane.java
2638         (createViewport): Made protected.
2639         * javax/swing/JViewport.java
2640         (addImpl): Likewise.
2641         (setBorder): New method.
2642         * javax/swing/JWindow.java
2643         (setRootPane): Made protected.
2644         (createRootPane): Likewise.
2645         * javax/swing/plaf/basic/BasicButtonUI.java
2646         (installListeners): Likewise.
2647         (uninstallListeners): Likewise.
2648         * javax/swing/plaf/basic/BasicProgressBarUI.java
2649         (incrementAnimationIndex): Likewise.
2650         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2651         (createLayoutManager): Likewise.
2652         * javax/swing/table/DefaultTableCellRenderer.java
2653         (firePropertyChange): Likewise.
2654         * javax/swing/table/JTableHeader.java
2655         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
2656         New constructor.
2657         * javax/swing/text/PlainDocument.java
2658         (reindex): Made private.
2659         * javax/swing/text/PlainView.java
2660         (drawLine): Made protected.
2661         (getTabSize): Likewise.
2662         * javax/swing/text/View.java
2663         (setSize): Removed.
2664         (preferenceChanged): New method.
2665         (getBreakWeight): Likewise.
2666         (breakView): Likewise.
2667         (getViewIndex): Likewise.
2668
2669 2005-02-15  Michael Koch  <konqueror@gmx.de>
2670
2671         * javax/swing/JScrollPane.java
2672         (ScrollBar): Made class protected.
2673         * javax/swing/JSpinner.java
2674         (JSpinner): Added @since tag.
2675         (listenerList): Removed.
2676         * javax/swing/JTable.java
2677         (setValueAt): New method.
2678         (getColumn): Likewise.
2679         * javax/swing/JWindow.java
2680         (rootPaneCheckingEnabled): Renamed from checking.
2681
2682 2005-02-15  Michael Koch  <konqueror@gmx.de>
2683
2684         * javax/swing/plaf/basic/BasicTextUI.java
2685         (RootView.modelToView): Made it public and return a java.awt.Shape.
2686         Handle null subview.
2687         (uninstall): Set textComponent to null when its not possible used
2688         anymore.
2689         * javax/swing/text/View.java
2690         (setParent): Use better argument name.
2691         (getContainer): Get parent via getParent().
2692         (getViewFactory): Likewise.
2693         (getAttributes): Get element via getElement().
2694         (getStartOffset): Likewise.
2695         (getEndOffset): Likewise.
2696         (getResizeWeight): New method.
2697         (getMaximumSpan): Likewise.
2698         (getMinimumSpan): Likewise.
2699         (setSize): Likewise.
2700         (getGraphics): Likewise.
2701
2702 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2703
2704         * java/awt/Checkbox.java:
2705         (AccessibleAWTCheckbox()): Added public constructor
2706         to call superclass.
2707         * java/awt/Choice.java:
2708         (AccessibleAWTChoice): Added class documentation.
2709         (AccessibleAWTChoice()): Added public constructor
2710         to call superclass.
2711         (AccessibleAWTChoice.getAccessibleAction()): Documented.
2712         (AccessibleAWTChoice.getAccessibleRole()): Documented,
2713         and changed role to COMBO_BOX.
2714         (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
2715         (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
2716         (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
2717
2718 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2719             Michael Koch  <konqueror@gmx.de>
2720
2721         * javax/swing/LayoutFocusTraversalPolicy.java,
2722         javax/swing/SortingFocusTraversalPolicy.java:
2723         New classes.
2724         * Makefile.am: Added new classes.
2725         * Makefike.in: Regenerated.
2726
2727
2728 2005-02-15  Michael Koch  <konqueror@gmx.de>
2729
2730         * javax/swing/DebugGraphics.java: Mostly implemented.
2731
2732 2005-02-15  Michael Koch  <konqueror@gmx.de>
2733
2734         * javax/swing/SwingUtilities.java
2735         (findFocusOwner): New method.
2736
2737 2005-02-15  Michael Koch  <konqueror@gmx.de>
2738
2739         * javax/swing/text/DefaultEditorKit.java
2740         (read): Added '\n' after each line.
2741         * javax/swing/text/PlainView.java
2742         (modelToView): Update metrics.
2743         (drawLine): Use offsets from element.
2744         (paint): Update metrics. Draw all lines.
2745
2746 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2747
2748         * java/awt/Checkbox.java:
2749         (AccessibleAWTCheckbox): Added class documentation
2750         * java/awt/Scrollbar.java:
2751         (AccessibleAWTScrollBar): typo corrected and docs added
2752         (AccessibleAWTScrollBar.getAccessibleRole()): documented
2753         (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
2754         (AccessibleAWTScrollBar.getAccessibleValue()): likewise
2755         (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
2756         (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
2757         (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
2758         (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
2759         (getAccessibleContext()): name of accessible class corrected
2760
2761 2005-02-15  Mark Wielaard  <mark@klomp.org>
2762
2763         * java/awt/BasicStroke.java (hashCode): Implement.
2764         (equals): Document.
2765
2766 2005-02-15  Michael Koch  <konqueror@gmx.de>
2767
2768         * java/awt/print/PrinterJob.java
2769         (pageDialog): Throws java.awt.HeadlessException.
2770         (printDialog): Likewise.
2771
2772 2005-02-15  Mark Wielaard  <mark@klomp.org>
2773
2774         * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
2775
2776 2005-02-15  Michael Koch  <konqueror@gmx.de>
2777
2778         * javax/swing/JTable.java
2779         (getValueAt): New method.
2780         * javax/swing/table/JTableHeader.java
2781         (columnAtPoint): New method.
2782
2783 2005-02-15  Michael Koch  <konqueror@gmx.de>
2784
2785         * javax/swing/JTextField.java
2786         (actions): New field.
2787         (static): Initalize actions field.
2788         (getActions): New method.
2789
2790 2005-02-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2791
2792         * java/awt/Checkbox.java:
2793         (AccessibleAWTCheckbox): name capitalization corrected
2794         and serialization UID added.
2795         (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
2796         documented.
2797         (AccessibleAWTCheckbox.getAccessibleAction()): likewise
2798         (AccessibleAWTCheckbox.getAccessibleValue()): likewise
2799         (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
2800         (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
2801         (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
2802         (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
2803         (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
2804         (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
2805         (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
2806         (AccessibleAWTCheckbox.getAccessibleRole()): likewise
2807         (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
2808         documented
2809         (getAccessibleContext()): name of accessible class corrected
2810
2811 2005-02-15  Sven de Marothy  <sven@physto.se>
2812
2813         * java/awt/geom/doc-files/Area-1.png,
2814         java/awt/geom/doc-files/Ellipse-1.png,
2815         java/awt/geom/doc-files/GeneralPath-1.png:
2816         New files.
2817
2818 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2819
2820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
2821         Use union to avoid type-punning warning.
2822
2823 2005-02-15  Michael Koch  <konqueror@gmx.de>
2824
2825         * javax/swing/DefaultListSelectionModel.java
2826         (clone): New method.
2827
2828 2005-02-15  Mark Wielaard  <mark@klomp.org>
2829
2830         Reported by Martin Platter <motse@complang.tuwien.ac.at>
2831         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2832         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
2833         Correct method signature of gtkSetFilename.
2834
2835 2005-02-15  Arnaud Vandyck  <avdyk@gnu.org>
2836
2837         * javax/swing/text/StringContent.java: New file.
2838
2839 2005-02-15  Michael Koch  <konqueror@gmx.de>
2840
2841         * Makefile.am: Added javax/swing/text/StringContent.java.
2842         * Makefile.in: Regenerated.
2843
2844 2005-02-15  Michael Koch  <konqueror@gmx.de>
2845
2846         * gnu/java/awt/ClasspathToolkit.java:
2847         Import statements reworked.
2848         (imageCache): Made it of type java.util.HashMap.
2849
2850 2005-02-15  Michael Koch  <konqueror@gmx.de>
2851
2852         * javax/imageio/stream/MemoryCacheImageInputStream.java:
2853         Reworked import statements.
2854
2855 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2856
2857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
2858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2859         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
2860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
2862         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
2863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
2864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2866         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
2870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2873         Rewrite uses of extern variable to be function calls.
2874         * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
2875         function, from extern variable.
2876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2877         (gdk_env): Remove variable, add new function.
2878         (java_vm): Add new variable.
2879         (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
2880         java_vm rather than old gdk_env variable.
2881
2882 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
2883
2884         * javax/swing/DefaultListModel.java
2885         (add): fire correct event,
2886         (addElement): corrected interval indices in event,
2887         (clear): corrected upper bound for interval, only fire event if
2888         list is not empty,
2889         (setSize): fire appropriate event.
2890
2891 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2892
2893         * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
2894         * gnu/awt/xlib/XToolkit.java: Likewise.
2895         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
2896         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
2897         * gnu/java/awt/ClasspathToolkit.java: Likewise.
2898         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
2899         * java/awt/EventQueue.java (getNextEvent):
2900         Adjust event loop to switch to native mode after 100ms.
2901         * javax/swing/Timer.java (drainEvents): Reuse Runnable.
2902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2903         (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
2904         Wake up event thread.
2905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2906         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
2907         Adjust event loop to switch to java mode after 100ms.
2908
2909 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2910
2911         * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
2912         accidentally removed in last change.
2913
2914 2005-02-15  Michael Koch  <konqueror@gmx.de>
2915
2916         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2917         gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
2918
2919 2005-02-15  Graydon Hoare  <graydon@redhat.com>
2920
2921         * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
2922         * include/jvm.h (_Jv_FreeJNIEnv): Declare.
2923         * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
2924         * jni.cc: Reuse bottom frame between calls, avoid clearing
2925         frame when no local references are made.
2926
2927 2005-02-15  Michael Koch  <konqueror@gmx.de>
2928
2929         * javax/swing/UIDefaults.java (UIDefaults):
2930         Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
2931         Fixed HTML entity and removed a redundant comma.
2932
2933 2005-02-15  Michael Koch  <konqueror@gmx.de>
2934
2935         * javax/swing/text/DefaultEditorKit.java
2936         (deinstall): Removed.
2937         (install): Likewise.
2938
2939 2005-02-15  Michael Koch  <konqueror@gmx.de>
2940
2941         * javax/swing/UIDefaults.java (put): Handle value of null.
2942
2943 2005-02-15  Michael Koch  <konqueror@gmx.de>
2944
2945         * java/awt/Robot.java,
2946         java/awt/Scrollbar.java,
2947         java/awt/print/PrinterJob.java,
2948         javax/swing/JTable.java,
2949         javax/swing/text/AbstractDocument.java:
2950         Reworked import statements.
2951
2952 2005-02-15  Michael Koch  <konqueror@gmx.de>
2953
2954         * javax/swing/JEditorPane.java
2955         (read): Implemented.
2956         (write): Likewise.
2957         * javax/swing/text/DefaultEditorKit.java
2958         (page): Renamed from page_url. Made private.
2959         (editorKit): Renamed from kit. Made private.
2960         (ctype): Removed.
2961         (JEditorPane): All constructors reimplemented.
2962         (getContentType): Use content type from editor kit.
2963         (getEditorKit): Return editorKit.
2964         (getEditorKitForContentType):Likewise.
2965         (getPage): Return page.
2966         (setContentType): Reimplemented.
2967         (setEditorKit): Likewise.
2968         (setEditorKitForContentType): Removed wrong implementation.
2969         (setPage): Implemented.
2970
2971 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
2972
2973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2974         (nativeSetIconImageFromData): Re-add native implementation.
2975
2976 2005-02-15  David Gilbert  <david.gilbert@object-refinery.com>
2977
2978         * javax/swing/table/DefaultTableModel.java
2979         (DefaultTableModel()): Added Javadocs.
2980         (DefaultTableModel(int, int)): Fixed implementation.
2981         (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
2982         for negative rowCount.
2983         (DefaultTableModel(Object[], int)): Added Javadocs.
2984         (DefaultTableModel(Vector, Vector)): Likewise.
2985         (DefaultTableModel(Object[][], Object[])): Likewise.
2986         (getDataVector): Likewise.
2987         (setDataVector(Vector, Vector)): Likewise.
2988         (setDataVector(Object[][], Object[])): Likewise.
2989         (newDataAvailable): Likewise.
2990         (newRowsAdded): Likewise.
2991         (rowsRemoved): Likewise.
2992         (setColumnIdentifiers(Vector)): Allow for null argument.
2993         (setColumnIdentifiers(Object[])): Added Javadocs.
2994         (setNumRows): Likewise.
2995         (setRowCount): Adds new rows if necessary, and sends more specific
2996         TableModelEvent.
2997         (setColumnCount): Allow for null columnIdentifiers.
2998         (addColumn(Object)): Added Javadocs.
2999         (addColumn(Object, Vector)): Handle null columnData.
3000         (addColumn(Object, Object[])): Handle columnData with more or less
3001         entries than rows in the table.
3002         (addRow(Vector)): Fire appropriate event.
3003         (addRow(Object[])): Added Javadocs.
3004         (insertRow(int, Vector)): Fire appropriate event.
3005         (insertRow(int, Object[])): Added Javadocs.
3006         (moveRow): Reimplemented.
3007         (removeRow(int)): Fire appropriate event.
3008         (getColumnCount): Allow for null columnIdentifiers.
3009         (getColumnName): Now returns empty string when column index is too
3010         large.
3011         (isCellEditable): Added Javadocs.
3012         (getValueAt): Likewise.
3013         (setValueAt): Fire more specific event.
3014         (convertToVector): Added Javadocs.
3015         * javax/swing/table/TableModel.java
3016         Added Javadocs.
3017
3018 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3019
3020         * libgcj.spec.in (lib): Add -l-javax-imageio.
3021
3022 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3023
3024         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
3025         references to event queue q with method call q().
3026         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
3027         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
3028         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
3029         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
3030         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
3031         * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
3032         (q): New method.
3033
3034 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3035
3036         * gnu/java/awt/ClasspathToolkit.java
3037         (registerImageIOSpis): New method.
3038         * gnu/java/awt/image/ImageDecoder.java
3039         (imageDecoder): New constructor using InputStream
3040         (startProduction): Handle existing InputStream.
3041         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3042         (findSimpleIntegerArray): Make public and static.
3043         (updateBufferedImage): Set each pixel, in a loop.
3044         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3045         Implement ImageIO SPI classes.
3046         (createBufferedImage): Rewrite in terms of SPI classes.
3047         * gnu/java/awt/peer/gtk/GtkToolkit.java
3048         (registerImageIOSpis): New method.
3049         * java/lang/reflect/natMethod.cc
3050         (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
3051         which lets JNI call interface methods properly.
3052         * javax/imageio/ImageIO.java
3053         (WriterFormatFilter.filter): Fix copy-and-paste typos.
3054         (WriterMIMETypeFilter.filter): Likewise.
3055         (ImageReaderIterator): Pass extension argument through to SPI.
3056         (getReadersByFilter): Likewise.
3057         (getWritersByFilter): Likewise.
3058         (getImageReadersByFormatName): Likewise.
3059         (getImageReadersByMIMEType): Likewise.
3060         (getImageReadersBySuffix): Likewise.
3061         (getImageWritersByFormatName): Likewise.
3062         (getImageWritersByMIMEType): Likewise.
3063         (getImageWritersBySuffix): Likewise.
3064         (read): Implement.
3065         (write): Implement.
3066         * javax/imageio/ImageReader.java
3067         (progressListeners): Initialize.
3068         (setInput): Implement.
3069         * javax/imageio/ImageWriter.java
3070         (progressListeners): Initialize.
3071         (warningListeners): Likewise.
3072         (warningLocales): Likewise.
3073         (setOutput): Test "isInstance" rather than class equality.
3074         * javax/imageio/spi/IIORegistry.java
3075         (static): Add reader and writer SPIs.
3076         (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
3077         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
3078         (query_formats): New function.
3079         (save_to_stream): Likewise.
3080         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
3081
3082 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3083
3084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
3085         Call XFlush.
3086         (keyPress): Likewise.
3087         (keyRelease): Likewise.
3088
3089 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3090
3091         * javax/swing/JTable.java
3092         (columnAtPoint): New Method. Implemented.
3093         (rowAtPoint): Likewise.
3094         (countSelections): Fixed few small count errors.
3095         (getSelections): Likewise.
3096         (setSelectionMode): Set selection mode for column
3097         selection model in addition to row selection model.
3098         * javax/swing/plaf/basic/BasicTableUI.java:
3099         (getRowForPoint): Removed. Replaced by
3100         JTable.rowAtPoint().
3101         (getColForPoint): Removed. Replaced by
3102         JTable.columnAtPoint().
3103         (updateSelection): Updated to call JTable.columnAtPoint
3104         and JTable.rowAtPoint.
3105         * javax/swing/table/DefaultTableColumnModel.java:
3106         (getSelectedColumns): Implemented.
3107         (getSelectedColumnCount): Implemented.
3108
3109 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3110
3111         * Makefile.am
3112         (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
3113         (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
3114         * Makefile.in: Regenerate.
3115         * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
3116         * gnu/awt/xlib/XFramePeer.java: Likewise.
3117         * gnu/awt/xlib/XToolkit.java: Likewise.
3118         * gnu/gcj/xlib/XAnyEvent.java: Likewise.
3119         * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
3120         * gnu/java/awt/ClasspathToolkit.java
3121         (nativeQueueEmpty)
3122         (wakeNativeQueue)
3123         (iterateNativeQueue): New methods.
3124         * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
3125         * gnu/java/awt/peer/gtk/GtkToolkit.java
3126         (gtkInit): Absorb from defunct GtkMainThread class.
3127         (static): Run gtkInit in static startup block.
3128         (GtkToolkit): Remove construction of GtkMainThread and queue.
3129         (getSystemEventQueueImpl): Construct queue when requested.
3130         (nativeQueueEmpty)
3131         (wakeNativeQueue)
3132         (iterateNativeQueue): New methods.
3133         * java/awt/Component.java (removeNotify): Remove race.
3134         * java/awt/EventDispatchThread.java
3135         (EventDispatchThread): Don't start on construction.
3136         (run): Remove isInterrupted check.
3137         * java/awt/EventQueue.java (shutdown): New flag.
3138         (isShutdown): New method checking J2SE shutdown condition.
3139         (setShutdown): New method.
3140         (getNextEvent): Restructure to use ClasspathToolkit.
3141         (postEvent): Activate new thread on posting, wake thread on
3142         post of possible shutdown condition event.
3143         * java/awt/Frame.java
3144         (Frame): Call noteFrame in all constructors.
3145         (fireDummyEvent): New helper method.
3146         (addNotify): Fire a dummy event to wake up queue.
3147         (removeNotify): Fire a dummy event to wake up queue.
3148         (noteFrame): New method.
3149         (weakFrames): New static field.
3150         (getFrames): Implement.
3151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
3152         Remove.
3153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
3154         Move everything from GtkMainThread into this file
3155         (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
3156         (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
3157         (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
3158         New functions to implement single-threaded queue semantics.
3159
3160 2005-02-15  Michael Koch  <konqueror@gmx.de>
3161
3162         * javax/swing/plaf/metal/MetalLookAndFeel.java
3163         (getControlTextFont): New method.
3164         (getMenuTextFont): Likewise.
3165         (getSubTextFont): Likewise.
3166         (getSystemTextFont): Likewise.
3167         (getUserTextFont): Likewise.
3168         (getWindowTitleFont): Likewise.
3169
3170 2005-02-15  Michael Koch  <konqueror@gmx.de>
3171
3172         * javax/swing/text/AbstractDocument.java
3173         (documentFilter): New field.
3174         (getDocumentFilter): New method.
3175         (setDocumentFilter): Likewise.
3176         (dump): Likewise.
3177
3178 2005-02-15  Michael Koch  <konqueror@gmx.de>
3179
3180         * javax/swing/JTree.java
3181         (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
3182
3183 2005-02-15  Michael Koch  <konqueror@gmx.de>
3184
3185         * javax/swing/text/AbstractDocument.java
3186         (AbstractElement.getLength): Fixed off-by-one error.
3187         (AbstractElement.children): Made abstract.
3188         (AbstractElement.getAllowsChildren): Likewise.
3189         (AbstractElement.getElement): Likewise.
3190         (AbstractElement.dumpElement): New private method.
3191         (AbstractElement.dump): New method.
3192         (BranchElememt.getName): Fixed implementation.
3193         (BranchElememt.toString): Likewise.
3194         (BranchElememt.getElement): Fixed arguments.
3195         (LeafElement.getName): Fixed implementation.
3196         (LeafElement.toString): Likewise.
3197         * javax/swing/text/GapContent.java
3198         (GapContent): Put default content into buffer.
3199         * javax/swing/text/PlainDocument.java
3200         (reindex): Use empty attribute sets instead of null.
3201         (createDefaultRoot): Reimplemented.
3202         (insertUpdate): Call super method.
3203         (removeUpdate): Likewise.
3204         (getParagraphElement): Implemented.
3205
3206 2005-02-15  Michael Koch  <konqueror@gmx.de>
3207
3208         * gnu/java/awt/ClasspathToolkit.java
3209         (createRobot): Throws java.awt.AWTException.
3210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
3211         Added '__attribute__((unused))' to all unused method arguments.
3212
3213 2005-02-15  Michael Koch  <konqueror@gmx.de>
3214
3215         * javax/swing/DefaultBoundedRangeModel.java
3216         (fireValueChanged): Fixed off-by-one error.
3217
3218 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3219
3220         * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
3221         (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
3222         GdkRobotPeer.java.
3223         (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
3224         (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
3225         * gnu/awt/xlib/XToolkit.java (createRobot): New method.
3226         * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
3227         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
3228         (getDefaultScreenDevice): Implement.
3229         * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
3230         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
3231         * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
3232         * java/awt/Robot.java: Implement.
3233         * java/awt/peer/RobotPeer.java: Rename parameters.
3234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
3235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3236         (awt_keycode_to_keysym): Make non-static.
3237         * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
3238         AWT_BUTTON3_MASK): Declare constants.
3239         (awt_keycode_to_keysym): Declare.
3240
3241         * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
3242         * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
3243         and is non-empty pass its value to "make check".
3244         (test_mauve_sim): Likewise.
3245
3246 2005-02-15  Michael Koch  <konqueror@gmx.de>
3247
3248         * javax/imageio/IIOParam.java
3249         (setSourceBands): New method.
3250         (setSourceSubsampling): Likewise.
3251         * javax/imageio/ImageReadParam.java
3252         (setDestination): Likewise.
3253         (setDestinationBands): Likewise.
3254         (setSourceProgressivePasses): Likewise.
3255         * javax/imageio/metadata/IIOInvalidTreeException.java
3256         (serialVersionUID): New static field.
3257         * javax/imageio/metadata/IIOMetadataNode.java
3258         (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
3259         (parent): Dont initailize with default value explicitely.
3260         (Object): Likewise.
3261         (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
3262         (removeAttributeNode): Likewise.
3263         (removeAttributeNS): Likewise.
3264         (setAttribute): Likewise.
3265         (setAttributeNode): Likewise.
3266         (setAttributeNodeNS): Likewise.
3267         (setAttributeNS): Likewise.
3268         (appendChild): Likewise.
3269         (getNodeValue): Likewise.
3270         (insertBefore): Likewise.
3271         (removeChild): Likewise.
3272         (replaceChild): Likewise.
3273         (setPrefix): Likewise.
3274
3275 2005-02-15  Michael Koch  <konqueror@gmx.de>
3276
3277         * javax/swing/LookAndFeel.java
3278         (getDesktopPropertyValue): New method.
3279
3280 2005-02-15  Michael Koch  <konqueror@gmx.de>
3281
3282         * javax/swing/JTree.java
3283         (hasChildren): New instance field.
3284
3285 2005-02-15  Michael Koch  <konqueror@gmx.de>
3286
3287         * javax/swing/JComponent.java
3288         (getToolTipText): New method.
3289         (getTitledBorderText): Likewise.
3290         (getAccessibleKeyBinding): Likewise.
3291         (getVerifyInputWhenFocusTarget): Likewise.
3292         (setVerifyInputWhenFocusTarget): Likewise.
3293         (verifyInputWhenFocusTarget): New instance field.
3294
3295 2005-02-15  Michael Koch  <konqueror@gmx.de>
3296
3297         * javax/swing/DefaultListSelectionModel.java
3298         (fireValueChanged): New method.
3299
3300 2005-02-15  Michael Koch  <konqueror@gmx.de>
3301
3302         * javax/swing/DefaultBoundedRangeModel.java:
3303         Fixed javadocs all over.
3304         (fireStateChanged): Simplified.
3305         * javax/swing/BoundedRangeModel.java:
3306         Reformatted.
3307
3308 2005-02-15  Michael Koch  <konqueror@gmx.de>
3309
3310         * javax/swing/JRootPane.java
3311         (setMenuBar): Added @deprecated tag.
3312         (getMenuBar): Likewise.
3313         * javax/swing/JTable.java
3314         (sizeColumnsToFit): Likewise.
3315
3316 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
3317
3318         * javax/swing/ImageIcon.java (setImage): Implemented.
3319
3320 2005-02-15  Michael Koch  <konqueror@gmx.de>
3321
3322         * javax/swing/JTable.java:
3323         Removed unused imports.
3324
3325 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3326
3327         (prepareRenderer): Get column's index in dataModel instead
3328         of column's view index.
3329         (getColumnCount): return count of the columns in ColumnModel,
3330         not in dataModel.
3331         (removeColumn): Implemented.
3332         (moveColumm): Likewise.
3333         (setRowHeight): throw IllegalArgumentException if height is
3334         less then 1.
3335         * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
3336         (DefaultTableColumnModel):Add call to createSelectionModel().
3337         (addColumn): Fire columnAdded event to registered listeners.
3338         (removeColumn): Fire columnRemoved event to registered listeners.
3339         (moveColumn): Fire columnMoved event to registered listeners.
3340         (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
3341         (getColumnIndex): Changed parameter name.
3342         (setColumnSelectionAllowed): Likewise.
3343         (fireColumnAdded): Implemented.
3344         (fireColumnRemoved): Likewise.
3345         (fireColumnMoved): Likewise.
3346         (fireColumnMarginChanged): Likewise.
3347         (getListeners): Changed parameter name.
3348         (propertyChange): Implemented.
3349         (valueChanged): Changed parameter name.
3350         (createSelectionModel): Implemented.
3351
3352 2005-02-15  Michael Koch  <konqueror@gmx.de>
3353
3354         * gnu/java/awt/peer/gtk/GtkToolkit.java:
3355         Explicitely import used classes.
3356         (getLocalGraphicsEnvironment): Simplify.
3357         * java/awt/Window.java (Window):
3358         Enable code to get the default GraphicsConfiguration.
3359
3360 2005-02-15  Michael Koch  <konqueror@gmx.de>
3361
3362         * javax/swing/plaf/metal/DefaultMetalTheme.java
3363         (CONTROL_TEXT_FONT): New static field.
3364         (MENU_TEXT_FONT): Likewise.
3365         (SUB_TEXT_FONT): Likewise.
3366         (SYSTEM_TEXT_FONT): Likewise.
3367         (USER_TEXT_FONT): Likewise.
3368         (WINDOW_TITLE_FONT): Likewise.
3369         (getControlTextFont): New method.
3370         (getMenuTextFont): Likewise.
3371         (getSubTextFont): Likewise.
3372         (getSystemTextFont): Likewise.
3373         (getUserTextFont): Likewise.
3374         (getWindowTitleFont): Likewise.
3375         * javax/swing/plaf/metal/MetalTheme.java
3376         (BLACK): Initialize with Color.BLACK.
3377         (WHITE): Initialize with Color.WHITE.
3378         (getInactiveControlTextColor): Return getControlDisabled().
3379         (getMenuDisabledForeground): Return getSecondary3().
3380         (getControlTextFont): New abstract method.
3381         (getMenuTextFont): Likewise.
3382         (getSubTextFont): Likewise.
3383         (getSystemTextFont): Likewise.
3384         (getUserTextFont): Likewise.
3385         (getWindowTitleFont): Likewise.
3386
3387 2005-02-15  Michael Koch  <konqueror@gmx.de>
3388
3389         * javax/swing/JFormattedTextField.java
3390         (getFocusLostBehavior): Fixed typo in method name.
3391         (setFocusLostBehavior): Likewise.
3392
3393 2005-02-15  Michael Koch  <konqueror@gmx.de>
3394
3395         * javax/swing/TransferHandler.java:
3396         Reworked import statements.
3397
3398 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3399
3400         * java/awt/Button.java,
3401         java/awt/Canvas.java,
3402         java/awt/Checkbox.java,
3403         java/awt/CheckboxMenuItem.java,
3404         java/awt/Choice.java,
3405         java/awt/Dialog.java,
3406         java/awt/Frame.java,
3407         java/awt/Label.java,
3408         java/awt/List.java,
3409         java/awt/Menu.java,
3410         java/awt/MenuBar.java,
3411         java/awt/MenuItem.java,
3412         java/awt/PopupMenu.java,
3413         java/awt/ScrollPane.java,
3414         java/awt/Scrollbar.java,
3415         java/awt/TextArea.java,
3416         java/awt/Window.java (getAccessibleContext): Clean up comments.
3417         Reformat.
3418         * java/awt/Button.java,
3419         java/awt/Checkbox.java,
3420         java/awt/Choice.java,
3421         java/awt/Menu.java,
3422         java/awt/PopupMenu.java,
3423         java/awt/TextArea.java (getAccessibleContext): Only create new
3424         accessible once.
3425         * java/awt/TextComponent.java (getAccessibleContext): Implement.
3426
3427 2005-02-15  Michael Koch  <konqueror@gmx.de>
3428
3429         * java/awt/Button.java,
3430         javax/swing/JApplet.java,
3431         javax/swing/JFormattedTextField.java,
3432         javax/swing/JWindow.java,
3433         javax/swing/JTree.java,
3434         javax/swing/plaf/basic/BasicEditorPaneUI.java,
3435         javax/swing/plaf/basic/BasicTextPaneUI.java,
3436         javax/swing/plaf/basic/BasicTreeUI.java:
3437         Reworked import statements.
3438
3439 2005-02-15  Michael Koch  <konqueror@gmx.de>
3440
3441         * Makefile.am: Put javax.imageio into its own library and link it
3442         against lib-org-w3c-dom.la to fix bootstrapping.
3443         * Makefile.in: Regenerated.
3444
3445 2005-02-15  Michael Koch  <konqueror@gmx.de>
3446
3447         * javax/swing/text/TextAction.java
3448         (getTextComponent): Simplified. Added Javadoc.
3449         (augmentList): Implemented. Added Javadoc.
3450         (getFocusedComponent): Added javadoc.
3451
3452 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3453
3454         * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
3455         getAccessibleContext): Implement.
3456         * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
3457         getAccessibleContext): Implement.
3458
3459 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3460
3461         * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
3462         Implement.
3463         * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
3464         Implement.
3465         * java/awt/Window.java (getAccessibleContext): Fix comment.
3466         Remove extra import.
3467
3468 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3469
3470         * java/awt/Window.java (AccessibleAWTWindow): Implement.
3471         (isActive, isFocused, getAccessibleContext): Implement.
3472
3473 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3474
3475         * java/awt/MenuItem.java (getAccessibleContext): Implement.
3476         * java/awt/MenuComponent.java (accessibleContext): Make package
3477         visible.
3478         * java/awt/CheckboxMenuItem.java (getAccessibleContext,
3479         AccessibleAWTCheckboxMenuItem): Implement.
3480
3481 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3482
3483         * java/awt/List.java: Implement AccessibleAWTList,
3484         AccessibleAWTListChild.
3485
3486 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3487
3488         * java/awt/Choice.java: Add implements declaration for
3489         Accessible.
3490
3491 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3492
3493         * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
3494         instead of Object.
3495
3496 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3497
3498         * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
3499         implemented interface list.
3500
3501 2005-02-15  Jerry Quinn  <jlquinn@optonline.net>
3502
3503         * javax/imageio/metadata/IIOMetadataNode.java: Implement.
3504         * javax/imageio/metadata/IIOAttr.java: New class.
3505         * javax/imageio/metadata/IIONamedNodeMap.java: New class.
3506         * javax/imageio/metadata/IIONodeList.java: New class.
3507         * Makefile.am: Added new files.
3508         * Makefile.in: Regenerated.
3509
3510 2005-02-15  Michael Koch  <konqueror@gmx.de>
3511
3512         * javax/swing/AbstractAction.java,
3513         javax/swing/AbstractCellEditor.java,
3514         javax/swing/AbstractListModel.java,
3515         javax/swing/DefaultBoundedRangeModel.java,
3516         javax/swing/DefaultButtonModel.java,
3517         javax/swing/DefaultCellEditor.java,
3518         javax/swing/DefaultComboBoxModel.java,
3519         javax/swing/DefaultDesktopManager.java,
3520         javax/swing/JMenu.java,
3521         javax/swing/JSlider.java,
3522         javax/swing/KeyStroke.java,
3523         javax/swing/OverlayLayout.java,
3524         javax/swing/ScrollPaneLayout.java,
3525         javax/swing/SizeRequirements.java,
3526         javax/swing/ViewportLayout.java:
3527         Made serialVersionUID private.
3528
3529 2005-02-15  Michael Koch  <konqueror@gmx.de>
3530
3531         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3532         Reformatted.
3533
3534 2005-02-15  Michael Koch  <konqueror@gmx.de>
3535
3536         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3537
3538 2005-02-15  Michael Koch  <konqueror@gmx.de>
3539
3540         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3541
3542 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3543
3544         * java/awt/EventDispatchThread.java,
3545         java/awt/Toolkit.java:
3546         Don't catch java.lang.ThreadDeath.
3547
3548 2005-02-15  Michael Koch  <konqueror@gmx.de>
3549
3550         * javax/swing/text/PasswordView.java
3551         (drawEchoCharacter): Added javadoc.
3552         (drawSelectedText): Likewise.
3553         (drawUnselectedText): Likewise.
3554
3555 2005-02-15  Michael Koch  <konqueror@gmx.de>
3556
3557         * javax/swing/JRootPane.java
3558         (windowDecorationStyle): New field.
3559         (setMenuBar): New method.
3560         (getMenuBar): Likewise.
3561         (getWindowDecorationStyle): Likewise.
3562         (setWindowDecorationStyle): Likewise.
3563
3564 2005-02-15  Michael Koch  <konqueror@gmx.de>
3565
3566         * javax/swing/DefaultListSelectionModel.java
3567         (leadAnchorNotificationEnabled): Made protected.
3568
3569 2005-02-15  Michael Koch  <konqueror@gmx.de>
3570
3571         * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3572         * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3573         * Makefile.in: Regenerated.
3574
3575
3576 2005-02-15  Michael Koch  <konqueror@gmx.de>
3577
3578         * javax/swing/JFormattedTextField.java: Implemented.
3579         * javax/swing/JWindow.java
3580         (JWindow): New constructors.
3581         (initWindow): Renamed from initFrame.
3582         * javax/swing/UIDefaults.java
3583         (ActiveValue): Made interface static.
3584         (LazyValue): Likewise.
3585         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3586         (TitlePaneLayout.TitlePaneLayout): New constructor.
3587         * javax/swing/plaf/basic/BasicSliderUI.java
3588         (ChangeHandler): Made public.
3589         (FocusHandler): Likewise.
3590         (PropertyChangeHandler): Likewise.
3591         (ScrollListener): Likewise.
3592         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3593         (FocusHandler): Likewise.
3594         (MouseHandler): Likewise.
3595         * javax/swing/plaf/basic/BasicTextPaneUI.java
3596         (BasicTextPaneUI): Extend BasicEditorPaneUI.
3597         * javax/swing/plaf/basic/BasicToolBarUI.java
3598         (BasicToolBarUI): Simplified. Reworked javadoc.
3599         (canDock): Simplified. Make public.
3600         (DockingListener): Made public.
3601         * javax/swing/text/JTextComponent.java
3602         (navigationFilter): New field.
3603         (getNavigationFilter): New method.
3604         (setNavigationFilter): Likewise.
3605
3606 2005-02-15  Michael Koch  <konqueror@gmx.de>
3607
3608         * javax/swing/plaf/metal/MetalTheme.java
3609         (getControlTextColor): Return getControlInfo().
3610         (getHighlightedTextColor): Return getControlTextColor().
3611
3612 2005-02-15  Michael Koch  <konqueror@gmx.de>
3613
3614         * javax/swing/plaf/basic/BasicButtonListener.java
3615         (BasicButtonListener): New constructor.
3616         * javax/swing/plaf/basic/BasicButtonUI.java
3617         (createButtonListener): Usw new BasicButtonListener constructor.
3618
3619 2005-02-15  Michael Koch  <konqueror@gmx.de>
3620
3621         * javax/imageio/event/package.html,
3622         javax/imageio/metadata/package.html: New files.
3623
3624 2005-02-15  Michael Koch  <konqueror@gmx.de>
3625
3626         * java/awt/image/MemoryImageSource.java: Reformatted.
3627
3628 2005-02-15  Michael Koch  <konqueror@gmx.de>
3629
3630         * javax/swing/tree/TreeCellEditor.java: Refomatted.
3631
3632 2005-02-15  Jeroen Frijters  <jeroen@frijters.net>
3633
3634         * java/awt/color/ICC_Profile.java
3635         (finalize): Removed pointless field assignments.
3636
3637 2005-02-15  Michael Koch  <konqueror@gmx.de>
3638
3639         * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
3640         * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
3641         * Makefile.in: Regenerated.
3642
3643 2005-02-15  Michael Koch  <konqueror@gmx.de>
3644
3645         * javax/swing/text/DefaultStyledDocument.java: New file.
3646         * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
3647         * Makefile.in: Regenerated.
3648
3649 2005-02-15  Michael Koch  <konqueror@gmx.de>
3650
3651         * javax/swing/JFileChooser.java
3652         (showDialog): Return CANCEL_OPTION for now.
3653         (showOpenDialog): Likewise.
3654         (showSaveDialog): Likewise.
3655
3656 2005-02-15  Michael Koch  <konqueror@gmx.de>
3657
3658         * javax/swing/JApplet.java
3659         (HIDE_ON_CLOSE): Removed.
3660         (EXIT_ON_CLOSE): Likewise.
3661         (DISPOSE_ON_CLOSE): Likewise.
3662         (DO_NOTHING_ON_CLOSE): Likewise.
3663         (close_action): Likewise.
3664         (getDefaultCloseOperation): Likewise.
3665         (setDefaultCloseOperation): Likewise.
3666         (processWindowEvent): Likewise.
3667         (getPreferredSize): Simplified.
3668         * javax/swing/JInternalFrame.java
3669         (setDefaultCloseOperation): Fixed throwing exception on wrong argument
3670         value.
3671         * javax/swing/JWindow.java
3672         (HIDE_ON_CLOSE): Removed.
3673         (EXIT_ON_CLOSE): Likewise.
3674         (DISPOSE_ON_CLOSE): Likewise.
3675         (DO_NOTHING_ON_CLOSE): Likewise.
3676         (close_action): Likewise.
3677         (processKeyEvent): Likewise.
3678         (setDefaultCloseOperation): Likewise.
3679         (getPreferredSize): Simplified.
3680
3681 2005-02-15  Michael Koch  <konqueror@gmx.de>
3682
3683         * javax/swing/JTextField.java
3684         (getPreferredSize): Re-implemented.
3685
3686 2005-02-15  Michael Koch  <konqueror@gmx.de>
3687
3688         * javax/swing/JLabel.java
3689         (setDisplayedMnemonic): Use only upper case characters.
3690         (setDisplayedMnemonicIndex): Handle index == -1 and fire
3691         PropertyChangeEvent after property got set to the new index.
3692
3693 2005-02-15  Robert Schuster <thebohemian@gmx.net>
3694
3695         * javax/swing/JComboBox.java:
3696         (JComboBox): Removed selection of the
3697         first item in the model.
3698
3699 2005-02-15  Robert Schuster <thebohemian@gmx.net>
3700
3701         * javax/swing/JComboBox.java
3702         added support for no item being selected
3703         (JComboBox): select first or nothing depending on element count
3704         (setModel): cleaned up unneeded "this." usage, added more
3705         docs, made exception behavior match that of the JDK
3706         (setLighWeightPopupEnabled): removed unneeded "this." usage
3707         (setEditable): dito
3708         (setMaximumRowCount): dito
3709         (setRenderer): dito
3710         (setPrototypeDisplayValue): dito
3711         (getSelectedItem): simplified, added more user doc
3712         (setSelectedIndex): corrected exception behavior, added more user doc
3713         (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
3714         added performance warning to user doc
3715         (addItem): fixed exception behavior, added user doc
3716         (insertItemAt): dito
3717         (removeItem): dito
3718         (removeItemAt): dito
3719         (removeAll): fixed exception behavior, added user doc, added support
3720         for model not being instance of DefaultComboBoxModel
3721         (getSelectedItemObjects): simplified
3722         (getItemCount): fixed dependency on DefaultComboBoxModel
3723         (getItemAt): fixed dependency on MutableComboBoxModel
3724         * javax/swing/DefaultComboBoxModel.java:
3725         (setSelectedItem): updates selected item only if new
3726         value is null or known (match JDK behavior)
3727         * javax/swing/plaf/basic/BasicComboBoxUI.java:
3728         (paintCurrentValue): renders "" if no item is selected
3729
3730 2005-02-15  Michael Koch  <konqueror@gmx.de>
3731
3732         * javax/swing/plaf/metal/MetalTheme.java,
3733         javax/swing/plaf/metal/DefaultMetalTheme.java:
3734         New files.
3735         * javax/swing/plaf/metal/MetalLookAndFeel.java
3736         * Makefile.am: Added the new files.
3737         * Makefile.in: Regenerated.
3738
3739 2005-02-15  Olga Rodimina  <rodimina@redhat.com>
3740
3741         * javax/swing/JTable.java
3742         (editorComp): New field.
3743         (JTable): Initialize local variables and call updateUI
3744         (selectionBackground): Make protected.
3745         (selectionForeground): Likewise.
3746         (initializeLocalVars): Create default editors and renderers,
3747         initialize editingColumn, editingRow variables.
3748         (createDefaultEditors): New Method.
3749         (createDefaultRenderers): Likewise.
3750         (createDefaultListSelectionModel): Removed
3751         (createDefaultSelectionModel): New Method.
3752         (createDefaultTableHeader): Likewise
3753         (removeColumn): Likewise.
3754         (getEditingColumn): Likewise.
3755         (setEditingColumn): Likewise.
3756         (getEditingRow): Likewise.
3757         (setEditingRow): Likewise.
3758         (getEditorComponent): Likewise.
3759         (isEditing): Likewise.
3760         (setDefaultEditor): Likewise.
3761         (addColumnSelectionInterval): Likewise.
3762         (addRowSelectionInterval): Likewise.
3763         (setColumnSelectionInterval): Likewise.
3764         (setRowSelectionInterval): Likewise.
3765         (removeColumnSelectionInterval): Likewise.
3766         (removeRowSelectionInterval): Likewise.
3767         (isColumnSelected): Likewise.
3768         (isRowSelected): Likewise.
3769         (isCellSelected): Likewise.
3770         (selectAll): Likewise.
3771
3772 2005-02-15  Michael Koch  <konqueror@gmx.de>
3773
3774         * javax/swing/JTable.java
3775         (addColumn): New method.
3776         (getColumnClass): Likewise.
3777         (getColumnName): Likewise.
3778
3779 2005-02-15  Paul Jenner  <psj.home@ntlworld.com>
3780
3781         * javax/swing/TransferHandler.java
3782         (createTransferable): Made protected.
3783
3784 2005-02-15  Michael Koch  <konqueror@gmx.de>
3785
3786         * javax/swing/JTable.java,
3787         javax/swing/plaf/basic/BasicTableHeaderUI.java,
3788         javax/swing/plaf/basic/BasicTableUI.java:
3789         Use fixed get/setIntercellSpacing() methods.
3790
3791 2005-02-15  Michael Koch  <konqueror@gmx.de>
3792
3793         * javax/swing/JTable.java
3794         (getIntercellSpacing): Fixed typo in method name.
3795         (setIntercellSpacing): Likewise.
3796
3797 2005-02-15  Michael Koch  <konqueror@gmx.de>
3798
3799         * javax/swing/text/JTextComponent.java
3800         (focusAccelerator): New variable.
3801         (getFocusAccelerator): New method.
3802         (setFocusAccelerator): Likewise.
3803
3804 2005-02-15  Michael Koch  <konqueror@gmx.de>
3805
3806         * javax/swing/JComponent.java
3807         (setTransferHandler): Made public. Fire property change event.
3808         * javax/swing/TransferHandler.java: Implemented.
3809         * javax/swing/text/JTextComponent.java
3810         (DefaultTransferHandler): New inner class.
3811         (defaultTransferHandler): New variable.
3812         (copy): New method.
3813         (cut): Likewise.
3814         (paste): Likewise.
3815         (doTransferAction): Likewise.
3816
3817 2005-02-15  Michael Koch  <konqueror@gmx.de>
3818
3819         * javax/swing/JTree.java
3820         (collapsePath): New method.
3821         (collapseRow): Likewise.
3822         (expandPath): Likewise.
3823         (expandRow): Likewise.
3824         (checkExpandParents): Likewise.
3825         (doExpandParents): Likewise.
3826         (setExpandedState): Likewise.
3827         (makeVisible): Likewise.
3828
3829 2005-02-15  Michael Koch  <konqueror@gmx.de>
3830
3831         * javax/swing/JPasswordField.java: Updated javadocs.
3832
3833 2005-02-15  Michael Koch  <konqueror@gmx.de>
3834
3835         * javax/swing/JLayeredPane.java
3836         (getLayer): Fixed return type, made public.
3837         (getPosition): Use new getLayer().
3838         (SetPosition): Likewise.
3839         (getIndexOf): Likewise.
3840         (remove): Likewise.
3841         * javax/swing/JInternalFrame.java
3842         (getLayer): Use new JLayeredPane.getLayer().
3843
3844
3845 2005-02-15  Michael Koch  <konqueror@gmx.de>
3846
3847         * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
3848         (setHeaderValue): Simplified. Do nothing when old value == new value.
3849
3850 2005-02-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
3851
3852         * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
3853         against null clip region.
3854         * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
3855         gtkWindowSetResizable.
3856         (postConfigureEvent): Only revalidate if frame size has changed.
3857         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
3858         Only revalidate if frame size has changed.
3859         * java/awt/Component.java (reshape): Only repaint and post
3860         component events if component is showing.
3861         * java/awt/Container.java (addImpl): Only post container event if
3862         container is showing.
3863         (remove): Likewise.
3864         * java/awt/Window.java (setLocationRelativeTo): Implement.
3865         (setBoundsCallback): Only post component events if component is
3866         showing.
3867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
3868         Protect against null graphics structure.  Flush gdk event queue.
3869
3870 2005-02-15  Michael Koch  <konqueror@gmx.de>
3871
3872         * javax/imageio/ImageReader.java,
3873         javax/imageio/ImageTranscoder.java,
3874         javax/imageio/ImageWriter.java,
3875         javax/imageio/spi/ImageInputStreamSpi.java,
3876         javax/imageio/spi/ImageOutputStreamSpi.java,
3877         javax/imageio/spi/ServiceRegistry.java,
3878         javax/imageio/stream/ImageInputStream.java,
3879         javax/imageio/stream/ImageOutputStream.java: Updated.
3880         * javax/imageio/IIOException.java,
3881         javax/imageio/IIOImage.java,
3882         javax/imageio/IIOParam.java,
3883         javax/imageio/IIOParamController.java,
3884         javax/imageio/ImageIO.java,
3885         javax/imageio/ImageReadParam.java,
3886         javax/imageio/ImageTypeSpecifier.java,
3887         javax/imageio/ImageWriteParam.java,
3888         javax/imageio/spi/IIORegistry.java,
3889         javax/imageio/spi/ImageReaderSpi.java,
3890         javax/imageio/spi/ImageWriterSpi.java,
3891         javax/imageio/stream/FileCacheImageInputStream.java,
3892         javax/imageio/stream/FileCacheImageOutputStream.java,
3893         javax/imageio/stream/FileImageInputStream.java,
3894         javax/imageio/stream/FileImageOutputStream.java,
3895         javax/imageio/stream/ImageInputStreamImpl.java,
3896         javax/imageio/stream/ImageOutputStreamImpl.java,
3897         javax/imageio/stream/MemoryCacheImageInputStream.java,
3898         javax/imageio/stream/MemoryCacheImageOutputStream.java,
3899         javax/imageio/event/IIOReadProgressListener.java,
3900         javax/imageio/event/IIOReadUpdateListener.java,
3901         javax/imageio/event/IIOReadWarningListener.java,
3902         javax/imageio/event/IIOWriteProgressListener.java,
3903         javax/imageio/event/IIOWriteWarningListener.java,
3904         javax/imageio/metadata/IIOMetadata.java,
3905         javax/imageio/metadata/IIOMetadataController.java,
3906         javax/imageio/metadata/IIOMetadataFormat.java,
3907         javax/imageio/metadata/IIOInvalidTreeException.java,
3908         javax/imageio/metadata/IIOMetadataFormatImpl.java,
3909         javax/imageio/metadata/IIOMetadataNode.java: New files.
3910         * Makefile.am (javax_source_files): Added new files
3911         * Makefile.in: Regenerated.
3912
3913 2005-02-15  Graydon Hoare  <graydon@redhat.com>
3914
3915         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
3916         Rework painting into BufferedImages
3917         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3918         Construct BufferedImage with alpha only when alpha is
3919         present in colormodel.
3920         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3921         Rework painting into client-side jint arrays.
3922         * jni/gtk-peer/gtkcairopeer.h:
3923         Likewise.
3924
3925 2005-02-15  Michael Koch  <konqueror@gmx.de>
3926
3927         * javax/swing/DefaultListCellRenderer.java
3928         (serialVersionUID): Made private.
3929         (getListCellRendererComponent): Set horizontal alignment.
3930         * javax/swing/JLabel.java
3931         (setVerticalAlignment): Re-implemented.
3932         (setHorizontalAlignment): Do nothing if old value = new value.
3933         * javax/swing/JList.java
3934         (setCellRenderer): Likewise.
3935         (setModel): Re-implemented.
3936         (setSelectionModel): Likewise.
3937
3938 2005-02-15  David Gilbert <david.gilbert@object-refinery.com>
3939
3940         * java/awt/Component.java,
3941         java/awt/geom/Rectangle2D.java:
3942         Javadoc fixes.
3943
3944 2005-02-15  Michael Koch  <konqueror@gmx.de>
3945
3946         * javax/swing/AbstractListModel.java
3947         (fireContentsChanged): Simplified.
3948         (fireIntervalAdded): Likewise.
3949         (fireIntervalRemoved): Likewise.
3950         * javax/swing/DefaultSingleSelectionModel.java:
3951         Reformatted.
3952         (fireStateChanged): Simplified.
3953         * javax/swing/JPopupMenu.java
3954         (setSelectionModel): Set property.
3955
3956 2005-02-15  Michael Koch  <konqueror@gmx.de>
3957
3958         * java/awt/print/Book.java: Reformatted.
3959
3960 2005-02-15  Michael Koch  <konqueror@gmx.de>
3961
3962         * java/awt/geom/Area.java
3963         (QuadSegment.curveArea): Remove unused variables.
3964         (CubicSegment.curveArea): Likewise.
3965
3966 2005-02-15  Michael Koch  <konqueror@gmx.de>
3967
3968         * javax/swing/JTree.java
3969         (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
3970         (LEAD_SELECTION_PATH_PROPERTY): Likewise.
3971         (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
3972         (EXPANDED): New constant.
3973         (COLLAPSED): Likewise.
3974         (nodeStates): New field.
3975         (cellEditor): New method.
3976         (cellRenderer): Likewise.
3977         (selectionModel): Likewise.
3978         (treeModel): Likewise.
3979         (scrollPathToVisible): Likewise.
3980         (scrollRowToVisible): Likewise.
3981         (isCollapsed): Likewise.
3982         (isExpanded): Likewise.
3983         (clearToggledPaths): Likewise.
3984         (getDescendantToggledPaths): Likewise.
3985         (hasBeenExpanded): Likewise.
3986         (isVisible): Likewise.
3987         (isPathEditable): Likewise.
3988
3989 2005-02-15  Michael Koch  <konqueror@gmx.de>
3990
3991         * javax/swing/JLayeredPane.java: Reformatted.
3992
3993 2005-02-15  Michael Koch  <konqueror@gmx.de>
3994
3995         * javax/swing/tree/DefaultMutableTreeNode.java:
3996         Completely Revised.
3997         * javax/swing/tree/MutableTreeNode.java:
3998         Reformatted.
3999
4000 2005-02-15  Michael Koch  <konqueror@gmx.de>
4001
4002         * javax/swing/JFormattedTextField.java
4003         (setDocument): Call setDocument of super class. Don't fire property
4004         change event.
4005
4006 2005-02-15  Sven de Marothy  <sven@physto.se>
4007
4008         * java/awt/image/IndexColorModel.java:
4009         Add FIXME with respect to alpha handling.
4010         (getAlpha): Default to returning opaque pixels.
4011         * java/awt/image/MultiPixelPackedSampleModel.java
4012         (MultiPixelPackedSampleModel): Corrected parameters, order of
4013         bit shifts and masks, stride length off by one.
4014
4015 2005-02-15  Michael Koch  <konqueror@gmx.de>
4016
4017         * javax/swing/JList.java, javax/swing/JTree.java:
4018         Added much new methods and fixed much methods setting bound properties.
4019
4020 2005-02-16  Mark Wielaard  <mark@klomp.org>
4021
4022         * Makefile.am (gnu_xml_source_files): Removed
4023         gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
4024         gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
4025         gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
4026         gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
4027         gnu/xml/dom/DomDocumentFragment.java,
4028         gnu/xml/dom/DomProcessingInstruction.java and
4029         gnu/xml/dom/ls/DomLSException.java.
4030         * Makefile.in: Regenerated.
4031
4032 2005-02-16  Tom Tromey  <tromey@redhat.com>
4033
4034         * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
4035         attribute index is out of bounds.
4036
4037 2005-02-16  Chris Burdess  <dog@gnu.org>
4038
4039         * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
4040         isDeclared methods. Improved performance of isSpecified methods.
4041
4042 2005-02-16  Chris Burdess  <dog@gnu.org>
4043
4044         Fixes bug libgcj/19864
4045         * gnu/xml/dom/DomAttr.java,
4046         gnu/xml/dom/DomCDATA.java,
4047         gnu/xml/dom/DomCDATASection.java,
4048         gnu/xml/dom/DomCharacterData.java,
4049         gnu/xml/dom/DomDOMException.java,
4050         gnu/xml/dom/DomDoctype.java,
4051         gnu/xml/dom/DomDocument.java,
4052         gnu/xml/dom/DomD