OSDN Git Service

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