OSDN Git Service

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