OSDN Git Service

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