OSDN Git Service

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