OSDN Git Service

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