OSDN Git Service

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