OSDN Git Service

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