OSDN Git Service

2004-11-16 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-16  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/InetAddress.java
4         (toString): Merged from GNU classpath.
5
6 2004-11-16  Michael Koch  <konqueror@gmx.de>
7
8         * java/awt/geom/doc-files/Area-1.png,
9         java/awt/geom/doc-files/Ellipse-1.png,
10         java/awt/geom/doc-files/GeneralPath-1.png:
11         New files.
12
13 2004-11-16  Michael Koch  <konqueror@gmx.de>
14
15         * java/util/Currency.java (cache): Fix modifier order.
16
17 2004-11-16  Michael Koch  <konqueror@gmx.de>
18
19         * java/io/BufferedReader.java,
20         java/io/FileInputStream.java,
21         java/io/FileOutputStream.java,
22         java/io/FileWriter.java,
23         java/io/OutputStreamWriter.java,
24         java/io/PipedInputStream.java,
25         java/io/PipedOutputStream.java,
26         java/io/PipedReader.java,
27         java/io/PipedWriter.java,
28         java/io/PrintStream.java,
29         java/io/PushbackInputStream.java,
30         java/io/RandomAccessFile.java,
31         java/io/Reader.java,
32         java/io/StreamTokenizer.java,
33         java/io/StringReader.java,
34         java/net/NetworkInterface.java,
35         java/net/URLClassLoader.java,
36         java/nio/ByteOrder.java,
37         java/nio/channels/Channel.java:
38         Fixed javadocs all over.
39
40 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
41
42         * Makefile.am: Add imported files.
43         * Makefile.in: Regenerate.
44
45         2004-10-24  Casey Marshall  <csm@gnu.org>
46
47         * javax/security/auth/login/LoginContext.java: Implemented.
48         * javax/security/auth/login/Configuration.java (getConfig): New method.
49         * javax/security/auth/spi/LoginModule.java,
50         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
51
52 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
53
54         Import/Merge the X.509 certificate code from Classpath.
55
56         * Makefile.am: Add imported files.
57         * Makefile.in: Regenerate.
58
59         2004-11-07  Casey Marshall  <csm@gnu.org>
60
61         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
62         priviliged action. Add new algorithms.
63         * gnu/java/security/provider/X509CertificateFactory.java
64         (engineGenerateCertificate): Chain exceptions.
65         (engineGenerateCertificates): Likewise.
66         (engineGenerateCRL): Likewise.
67         (engineGenerateCRLs): Likewise.
68         (engineGenerateCertPath): New methods.
69         (generateCert): Throw exception if 'inStream' is null.
70         (generateCRL): Likewise.
71         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
72         version from GNU Crypto CVS.
73         * gnu/java/security/x509/X509CRL.java: Likewise.
74         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
75         * gnu/java/security/x509/X509Certificate.java: Likewise.
76         * java/security/cert/TrustAnchor.java: Call 'toString' and not
77         toRFC2253.
78         * gnu/java/security/provider/CollectionCertStoreImpl.java,
79         * gnu/java/security/provider/EncodedKeyFactory.java,
80         * gnu/java/security/provider/GnuDHPublicKey.java,
81         * gnu/java/security/provider/GnuRSAPrivateKey.java,
82         * gnu/java/security/provider/GnuRSAPublicKey.java,
83         * gnu/java/security/provider/MD2withRSA.java,
84         * gnu/java/security/provider/MD4withRSA.java,
85         * gnu/java/security/provider/MD5withRSA.java,
86         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
87         * gnu/java/security/provider/RSA.java,
88         * gnu/java/security/provider/RSAKeyFactory.java,
89         * gnu/java/security/provider/SHA1withRSA.java,
90         * gnu/java/security/x509/GnuPKIExtension.java,
91         * gnu/java/security/x509/PolicyNodeImpl.java,
92         * gnu/java/security/x509/Util.java,
93         * gnu/java/security/x509/X509CRLSelectorImpl.java,
94         * gnu/java/security/x509/X509CertPath.java,
95         * gnu/java/security/x509/X509CertSelectorImpl.java,
96         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
97         * gnu/java/security/x509/ext/BasicConstraints.java,
98         * gnu/java/security/x509/ext/CRLNumber.java,
99         * gnu/java/security/x509/ext/CertificatePolicies.java,
100         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
101         * gnu/java/security/x509/ext/Extension.java,
102         * gnu/java/security/x509/ext/GeneralNames.java,
103         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
104         * gnu/java/security/x509/ext/KeyUsage.java,
105         * gnu/java/security/x509/ext/PolicyConstraint.java,
106         * gnu/java/security/x509/ext/PolicyMappings.java,
107         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
108         * gnu/java/security/x509/ext/ReasonCode.java,
109         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
110         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
111
112         2004-11-07  Casey Marshall  <csm@gnu.org>
113
114         * gnu/java/security/x509/X509CRL.java:
115         Missed import statements in previous checkin.
116
117         2004-11-07  Casey Marshall  <csm@gnu.org>
118
119         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
120         to 'X509CertificateImpl' from previous checkin.
121
122 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
123
124         PR other/14264
125         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
126
127 2004-11-11  Casey Marshall  <csm@gnu.org>
128
129         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
130         channel is open.
131         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
132         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
133
134 2004-11-11  Robert Schuster <thebohemian@gmx.net>
135
136         Fixed regression:
137         * gnu/java/beans/IntrospectionIncubator.java:
138         (addMethod): Corrected classification of normal and property methods.
139         (capitalize): Added documentation.
140         (DoubleKey): [class] Added documentation.
141
142 2004-11-09  Tom Tromey  <tromey@redhat.com>
143
144         * include/jni.h: Added FIXME.
145
146 2004-11-08  Tom Tromey  <tromey@redhat.com>
147
148         * java/util/GregorianCalendar.java: Removed unused imports.
149         * java/util/Vector.java: Removed unused import.
150
151 2004-11-07  Michael Koch  <konqueror@gmx.de>
152
153         * java/lang/Process.java:
154         Import cleanups.
155
156 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
157
158         * java/util/zip/ZipEntry.java
159         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
160
161 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
162
163         Fixes bug #10908
164         * gnu/java/beans/IntrospectionIncubator.java:
165         (addMethod): static methods are discarded now, too.
166
167 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
168
169         * java/util/GregorianCalendar.java
170         Added/amended documentation.
171
172 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
173
174         * java/util/Collections.java
175         Added documentation.
176         * java/util/SortedMap.java
177         Clarified some method examples.
178         * java/util/SortedSet.java
179         Clarified some method examples.
180
181 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
182
183         * java/util/Currency.java
184         Documented variables and methods more fully.
185         Caches the currency instances, so that a request
186         for a locale, l, only ever returns the same
187         instance (i.e. successive calls to getInstance(l)
188         are reference equivalent (==)).
189
190 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
191
192         * java/util/Date.java
193         Added missing documentation.
194
195 2004-11-06  Michael Koch  <konqueror@gmx.de>
196
197         * java/util/zip/CheckedInputStream.java,
198         java/util/zip/InflaterInputStream.java,
199         java/util/zip/ZipFile.java,
200         java/util/zip/ZipInputStream.java:
201         Import cleanups.
202
203 2004-11-06  Tom Tromey  <tromey@redhat.com>
204
205         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
206         package-private.
207         (connections): Likewise.
208         (scavenger): Likewise.
209         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
210         package-private.
211         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
212         package-private.
213         (ptr): Likewise.
214         * gnu/classpath/ServiceFactory.java (log): Now package-private.
215
216 2004-11-06  Tom Tromey  <tromey@redhat.com>
217
218         * javax/naming/directory/BasicAttributes.java (attributes): Now
219         package-private.
220         * javax/imageio/spi/ServiceRegistry.java (categories): Now
221         package-private.
222
223 2004-11-06  Tom Tromey  <tromey@redhat.com>
224
225         * java/net/URLClassLoader.java (URLClassLoader): Now
226         package-private.
227         * java/nio/charset/CoderResult.java (CoderResult): Now
228         package-private.
229         (get): Likewise.
230         (Cache): Likewise.  Don't synchronize on `this'.
231         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
232         package-private.
233         * java/util/TimeZone.java (timezones): Now package-private.
234
235 2004-11-06  Tom Tromey  <tromey@redhat.com>
236
237         * java/security/Permissions.java (perms): Now package-private.
238         * java/security/UnresolvedPermission.java (permissions): Now
239         package-private.
240
241 2004-11-06  Tom Tromey  <tromey@redhat.com>
242
243         * java/io/FilePermission.java: Reindented.
244
245 2004-11-06  Tom Tromey  <tromey@redhat.com>
246
247         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
248         package-private.
249         (setBlockDataMode): Likewise.
250
251 2004-11-06  Tom Tromey  <tromey@redhat.com>
252
253         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
254         package-private.
255         (Encoder): Likewise.
256         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
257         (Encoder): Likewise.
258         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
259         package-private.
260         (Encoder): Likewise.
261
262 2004-11-06  Mark Wielaard  <mark@klomp.org>
263
264         * Makefile.am: Add new javax.imageio files.
265         * Makefile.in: Regenerated.
266
267 2004-11-06  Michael Koch  <konqueror@gmx.de>
268
269         * javax/imageio/event/IIOReadProgressListener.java,
270         javax/imageio/event/IIOReadUpdateListener.java,
271         javax/imageio/event/IIOReadWarningListener.java,
272         javax/imageio/event/IIOWriteProgressListener.java,
273         javax/imageio/event/IIOWriteWarningListener.java,
274         javax/imageio/metadata/IIOMetadataFormat.java,
275         javax/imageio/stream/FileCacheImageInputStream.java,
276         javax/imageio/stream/FileCacheImageOutputStream.java,
277         javax/imageio/stream/ImageInputStreamImpl.java:
278         Import cleanup.
279         * javax/imageio/metadata/package.html: New file.
280
281 2004-11-06  Michael Koch  <konqueror@gmx.de>
282
283         * javax/imageio/spi/ImageReaderSpi.java
284         (isOwnReader): New method.
285         * javax/imageio/spi/ImageWriterSpi.java
286         (isOwnWriter): Likewise.
287
288 2004-11-06  Michael Koch  <konqueror@gmx.de>
289
290         * javax/imageio/ImageWriter.java
291         (convertImageMetadata): New abstract method.
292         (convertStreamMetadata): Likewise.
293         (write): Likewise.
294         * javax/imageio/stream/FileCacheImageInputStream.java
295         (close): Fixed setting of stream to null.
296         (checkStreamClosed): Throws IOException.
297
298 2004-11-06  Michael Koch  <konqueror@gmx.de>
299
300         * javax/imageio/stream/FileCacheImageInputStream.java,
301         javax/imageio/stream/FileCacheImageOutputStream.java,
302         javax/imageio/stream/FileImageInputStream.java,
303         javax/imageio/stream/FileImageOutputStream.java,
304         javax/imageio/stream/MemoryCacheImageInputStream.java,
305         javax/imageio/stream/MemoryCacheImageOutputStream.java:
306         New files.
307
308 2004-11-06  Michael Koch  <konqueror@gmx.de>
309
310         * javax/imageio/metadata/IIOInvalidTreeException.java,
311         javax/imageio/metadata/IIOMetadataFormatImpl.java,
312         javax/imageio/metadata/IIOMetadataNode.java:
313         New stub files.
314
315 2004-11-06  Michael Koch  <konqueror@gmx.de>
316
317         * javax/imageio/stream/ImageInputStreamImpl.java,
318         javax/imageio/stream/ImageOutputStreamImpl.java:
319         New files.
320
321 2004-11-06  Michael Koch  <konqueror@gmx.de>
322
323         * javax/imageio/ImageIO.java:
324         Added much new methods.
325
326 2004-11-06  Michael Koch  <konqueror@gmx.de>
327
328         * javax/imageio/ImageReader.java,
329         javax/imageio/ImageWriter.java,
330         javax/imageio/spi/ImageWriterSpi.java:
331         Add SOME new methods.
332
333 2004-11-06  Michael Koch  <konqueror@gmx.de>
334
335         * javax/imageio/IIOParam.java,
336         javax/imageio/ImageReadParam.java,
337         javax/imageio/ImageReader.java,
338         javax/imageio/ImageWriter.java:
339         Mostly implemented.
340         * javax/imageio/spi/ImageReaderSpi.java,
341         javax/imageio/spi/ImageWriterSpi.java:
342         New files.
343
344 2004-11-06  Michael Koch  <konqueror@gmx.de>
345
346         * javax/imageio/ImageWriteParam.java,
347         javax/imageio/metadata/IIOMetadataFormat.java:
348         Implemented.
349
350 2004-11-06  Michael Koch  <konqueror@gmx.de>
351
352         * javax/imageio/ImageTypeSpecifier.java:
353         Mostly implemented.
354
355 2004-11-06  Michael Koch  <konqueror@gmx.de>
356
357         * javax/imageio/metadata/IIOMetadata.java:
358         Mostly implemented.
359
360 2004-11-06  Michael Koch  <konqueror@gmx.de>
361
362         * javax/imageio/IIOImage.java,
363         javax/imageio/ImageReadParam.java,
364         javax/imageio/metadata/IIOMetadataController.java,
365         javax/imageio/metadata/IIOMetadataFormat.java:
366         New files.
367         * javax/imageio/stream/ImageOutputStream.java:
368         Implemented.
369
370 2004-11-06  Michael Koch  <konqueror@gmx.de>
371
372         * javax/imageio/IIOParam.java,
373         javax/imageio/IIOParamController.java,
374         javax/imageio/ImageTypeSpecifier.java,
375         javax/imageio/ImageWriteParam.java,
376         javax/imageio/metadata/IIOMetadata.java:
377         New files.
378         * javax/imageio/ImageTranscoder.java:
379         Implemented.
380
381 2004-11-06  Michael Koch  <konqueror@gmx.de>
382
383         * javax/imageio/spi/ImageInputStreamSpi.java,
384         javax/imageio/spi/ImageOutputStreamSpi.java:
385         Reworked import startments.
386         * javax/imageio/spi/ServiceRegistry.java:
387         Reworked import startments. Fixed XHTML in javadocs.
388         (ServiceRegistry): Added @param tag to javadoc.
389         * javax/imageio/stream/ImageInputStream.java
390         (mark): Doesn't throws IOException;
391
392 2004-11-06  Michael Koch  <konqueror@gmx.de>
393
394         * javax/imageio/ImageIO.java:
395         New file.
396
397 2004-11-06  Michael Koch  <konqueror@gmx.de>
398
399         * javax/imageio/spi/IIORegistry.java
400         (static): Don't register ImageReaderSpi.class and
401         ImageWriterSpi.class yet.
402
403 2004-11-06  Michael Koch  <konqueror@gmx.de>
404
405         * javax/imageio/spi/IIORegistry.java:
406         New file.
407
408 2004-11-06  Noa Resare  <noa@resare.com>
409
410         * java/net/Socket.java (getPort): Return 0 instead of -1 on
411         unconnected sockets.
412
413 2004-11-06  Michael Koch  <konqueror@gmx.de>
414
415         * java/lang/StringBuffer.java,
416         java/lang/Throwable.java,
417         java/security/spec/DSAParameterSpec.java,
418         java/util/zip/ZipEntry.java,
419         java/util/zip/ZipFile.java,
420         java/util/zip/ZipInputStream.java,
421         java/util/zip/ZipOutputStream.java:
422         Removed redundant and reordered modifiers.
423
424 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
425
426         * java/io/Vector.java
427         (writeObject): New function to serialized output thread safe.
428
429         * java/io/ObjectOutputStream.java
430         (writeObject): Move the assignment of the class handle to after
431         the assignment of class descriptor handle.
432
433 2004-11-06  Robert Schuster <thebohemian@gmx.net>
434
435         Fixes documentation and indentation
436         * java/beans/PropertyEditorSupport.java:
437         reworked initial API doc
438         (value): changed name from val
439
440 2004-11-06  Robert Schuster <thebohemian@gmx.net>
441
442         Updates to 1.5
443         * java/beans/PropertyEditorSupport.java
444         (PropertyEditorSupport()): Changed modifier to public
445         (PropertyEditorSupport(Object): Changed modifier to public
446         (setSource): New method
447         (getSource): New method
448
449 2004-11-06  Robert Schuster <thebohemian@gmx.net>
450
451         Fixes bug #10799
452         * java/beans/PropertyEditorSupport.java
453         (setValue): Fire property change event
454
455 2004-11-03  Tom Tromey  <tromey@redhat.com>
456
457         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
458         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
459         returns jobjectArray.
460         (_Jv_JNIEnv::NewObjectArray): Likewise.
461
462 2004-11-01  Tom Tromey  <tromey@redhat.com>
463
464         * verify.cc (state::check_no_uninitialized_objects): Removed.
465         (push_jump): Updated.
466         (push_exception_jump): Likewise.
467         (handle_ret_insn): Likewise.
468         (handle_jsr_insn): Likewise.
469
470 2004-10-30  Mark Wielaard  <mark@klomp.org>
471
472         PR libgcj/18234
473         * java/lang/Runtime.java (static): Call init().
474         (Runtime): Remove call to init().
475         (init): Make static.
476
477 2004-10-28  David Daney  <ddaney@avtrex.com>
478
479         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
480         * Makefile.am: Build it.
481         * Makefile.in: Regenerate.
482
483 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
484
485         PR libgcj/18104
486         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
487         colon.
488         * Makefile.in: Regenerate.
489         * configure: Regenerate.
490         * configure.ac (CLASSPATH_SEPARATOR): Define.
491         * gcj/Makefile.in: Regenerate.
492         * include/Makefile.in: Regenerate.
493         * testsuite/Makefile.in: Regenerate.
494         * testsuite/lib/libjava.exp (libjava_arguments): Fix
495         CLASSPATH separator handling for Windows.
496
497 2004-10-26  Michael Koch  <konqueror@gmx.de>
498
499         * gnu/java/net/protocol/http/Connection.java
500         (getOutputStream): Implicitely switch to POST method.
501
502 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
503
504         * libjava/java/lang/Class.h
505         (java::lang::Class): Correct friend class declaration.
506
507 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
508
509         * Makefile.am (DARWIN_CRT_SRC): New.
510         (libgcj_la_SOURCES): Use it.
511         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
512         * darwin.cc: New file.
513         * include/jvm.h (_Jv_RegisterClasses): Constify.
514         (_Jv_RegisterClasses_Counted): New prototype.
515         * java/lang/Class.h: Include stddef.h.  
516         (_Jv_RegisterClasses): Constify.
517         (_Jv_RegisterClasses_Counted): New prototype.
518         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
519         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
520         (_Jv_RegisterClasses_Counted): New function.
521         * configure: Regenerate.
522         * Makefile.in: Regenerate.
523         * gcj/Makefile.in: Regenerate.
524         * include/Makefile.in: Regenerate.
525         * testsuite/Makefile.in: Regenerate.
526
527 2004-10-25  Tom Tromey  <tromey@redhat.com>
528
529         * java/util/ResourceBundle.java (tryBundle): Use
530         Class.isAssignableFrom rather than catching ClassCastException.
531
532 2004-10-25  Tom Tromey  <tromey@redhat.com>
533
534         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
535         initialize `iter'.
536         * gnu/java/text/SentenceBreakIterator.java
537         (SentenceBreakIterator): Don't initialize `iter'.
538         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
539         initialize `iter'.
540         * gnu/java/text/CharacterBreakIterator.java
541         (CharacterBreakIterator): Don't initialize `iter'.
542         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
543         constructor.
544         * java/text/BreakIterator.java: Updated documentation.
545
546 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
547
548         PR other/18138
549         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
550
551 2004-10-23  Michael Koch  <konqueror@gmx.de>
552
553         * javax/print/DocFlavor.java,
554         javax/print/attribute/standard/JobStateReason.java,
555         javax/print/attribute/standard/MultipleDocumentHandling.java:
556         Added missing constants.
557
558 2004-10-22  Tom Tromey  <tromey@redhat.com>
559
560         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
561         typo.
562
563 2004-10-22  Michael Koch  <konqueror@gmx.de>
564
565         PR libjava/14009
566         * gnu/java/net/protocol/http/Connection.java
567         (sendRequest): Handle case when url.getFile() returns an empty string.
568
569 2004-10-22  Michael Koch  <konqueror@gmx.de>
570
571         * java/lang/Math.java,
572         java/lang/StackTraceElement.java,
573         java/nio/Buffer.java,
574         java/nio/ByteBuffer.java,
575         java/nio/CharBuffer.java,
576         java/nio/DoubleBuffer.java,
577         java/nio/FloatBuffer.java,
578         java/nio/IntBuffer.java,
579         java/nio/LongBuffer.java,
580         java/nio/ShortBuffer.java,
581         java/nio/charset/Charset.java,
582         java/rmi/server/RMIClassLoader.java,
583         java/rmi/server/RMISocketFactory.java,
584         java/security/Policy.java,
585         java/text/ChoiceFormat.java,
586         java/text/CollationElementIterator.java,
587         java/text/DateFormat.java,
588         java/text/DecimalFormat.java,
589         java/text/DecimalFormatSymbols.java,
590         java/text/MessageFormat.java,
591         java/text/NumberFormat.java,
592         java/text/RuleBasedCollator.java,
593         java/text/SimpleDateFormat.java,
594         java/util/BitSet.java,
595         java/util/Calendar.java,
596         java/util/Collections.java,
597         java/util/IdentityHashMap.java,
598         java/util/Locale.java,
599         java/util/TreeMap.java,
600         java/util/logging/LogRecord.java,
601         java/util/logging/XMLFormatter.java,
602         java/util/prefs/AbstractPreferences.java,
603         java/util/prefs/Preferences.java,
604         javax/crypto/interfaces/DHPrivateKey.java,
605         javax/crypto/interfaces/DHPublicKey.java,
606         javax/crypto/interfaces/PBEKey.java,
607         javax/net/ssl/HandshakeCompletedEvent.java,
608         javax/security/auth/Subject.java:
609         Removed redundant and reordered modifiers.
610
611 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
612
613         * gnu/java/net/natPlainSocketImplPosix.cc
614         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
615         with 'int *' argument instead of 'long *'.
616
617 2004-10-21  Michael Koch  <konqueror@gmx.de>
618
619         * java/net/NetworkInterface.java,
620         java/text/Format.java,
621         javax/security/auth/x500/X500Principal.java,
622         javax/security/auth/x500/X500PrivateCredential.java,
623         javax/security/cert/X509CertBridge.java,
624         javax/security/sasl/Sasl.java,
625         javax/sql/XAConnection.java:
626         Import cleanup.
627
628 2004-10-21  Michael Koch  <konqueror@gmx.de>
629
630         * javax/net/ssl/HandshakeCompletedEvent.java,
631         javax/net/ssl/KeyManagerFactory.java,
632         javax/net/ssl/SSLContext.java,
633         javax/net/ssl/SSLServerSocketFactory.java,
634         javax/net/ssl/SSLSession.java,
635         javax/net/ssl/SSLSocketFactory.java,
636         javax/net/ssl/TrustManagerFactory.java:
637         Import cleanup.
638
639 2004-10-21  Michael Koch  <konqueror@gmx.de>
640
641         * javax/naming/directory/BasicAttribute.java,
642         javax/naming/directory/BasicAttributes.java,
643         javax/naming/directory/InitialDirContext.java,
644         javax/naming/event/NamingEvent.java,
645         javax/naming/ldap/ControlFactory.java,
646         javax/naming/ldap/ExtendedRequest.java,
647         javax/naming/ldap/InitialLdapContext.java,
648         javax/naming/ldap/LdapReferralException.java,
649         javax/naming/spi/DirObjectFactory.java,
650         javax/naming/spi/DirStateFactory.java,
651         javax/naming/spi/DirectoryManager.java,
652         javax/naming/spi/InitialContextFactory.java,
653         javax/naming/spi/InitialContextFactoryBuilder.java,
654         javax/naming/spi/NamingManager.java,
655         javax/naming/spi/ObjectFactory.java,
656         javax/naming/spi/ObjectFactoryBuilder.java,
657         javax/naming/spi/StateFactory.java:
658         Import cleanup.
659
660 2004-10-21  Michael Koch  <konqueror@gmx.de>
661
662         * javax/crypto/Cipher.java,
663         javax/crypto/EncryptedPrivateKeyInfo.java,
664         javax/crypto/ExemptionMechanism.java,
665         javax/crypto/KeyAgreement.java,
666         javax/crypto/KeyGenerator.java,
667         javax/crypto/Mac.java,
668         javax/crypto/SecretKeyFactory.java,
669         javax/crypto/SecretKeyFactorySpi.java,
670         javax/crypto/spec/SecretKeySpec.java:
671         Import cleanup.
672
673 2004-10-21  Michael Koch  <konqueror@gmx.de>
674
675         * java/security/AlgorithmParameterGenerator.java,
676         java/security/AlgorithmParameters.java,
677         java/security/AlgorithmParametersSpi.java,
678         java/security/AllPermission.java,
679         java/security/BasicPermission.java,
680         java/security/Certificate.java,
681         java/security/CodeSource.java,
682         java/security/DigestInputStream.java,
683         java/security/DigestOutputStream.java,
684         java/security/GuardedObject.java,
685         java/security/KeyFactory.java,
686         java/security/KeyFactorySpi.java,
687         java/security/KeyPairGenerator.java,
688         java/security/KeyStore.java,
689         java/security/KeyStoreSpi.java,
690         java/security/Permissions.java,
691         java/security/Security.java,
692         java/security/Signature.java,
693         java/security/UnresolvedPermission.java,
694         java/security/cert/CertPathBuilder.java,
695         java/security/cert/CertPathValidator.java,
696         java/security/cert/CertStore.java,
697         java/security/cert/Certificate.java,
698         java/security/cert/CertificateFactory.java,
699         java/security/cert/PolicyQualifierInfo.java,
700         java/security/cert/TrustAnchor.java,
701         java/security/cert/X509CRL.java,
702         java/security/cert/X509CRLSelector.java,
703         java/security/cert/X509CertSelector.java:
704         Import cleanup.
705
706 2004-10-21  Michael Koch  <konqueror@gmx.de>
707
708         * java/rmi/MarshalledObject.java,
709         java/rmi/Naming.java,
710         java/rmi/activation/Activatable.java,
711         java/rmi/activation/ActivationGroup.java,
712         java/rmi/activation/ActivationGroupDesc.java,
713         java/rmi/activation/ActivationInstantiator.java,
714         java/rmi/activation/ActivationMonitor.java,
715         java/rmi/activation/ActivationSystem.java,
716         java/rmi/activation/Activator.java,
717         java/rmi/registry/LocateRegistry.java,
718         java/rmi/registry/Registry.java,
719         java/rmi/server/LogStream.java,
720         java/rmi/server/ObjID.java,
721         java/rmi/server/RMIClientSocketFactory.java,
722         java/rmi/server/RMIServerSocketFactory.java,
723         java/rmi/server/RMISocketFactory.java,
724         java/rmi/server/RemoteCall.java,
725         java/rmi/server/RemoteServer.java,
726         java/rmi/server/ServerRef.java,
727         java/rmi/server/UID.java,
728         java/rmi/server/UnicastRemoteObject.java:
729         Import cleanup.
730
731 2004-10-21  Tom Tromey  <tromey@redhat.com>
732
733         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
734         exception if we hit EOF of `in'.
735         (read): Handle case where inflating returns -1.
736
737 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
738
739         * gnu/java/nio/channels/natFileChannelPosix.cc
740         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
741         argument instead of 'long *'.
742
743 2004-10-21  Tom Tromey  <tromey@redhat.com>
744
745         * java/util/ResourceBundle.java (tryBundle): Also ignore
746         ClassCastException.
747
748 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
749
750         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
751         for all sh*-*-linux* targets.
752         * configure: Regenerate.
753         * include/sh-signal.h: New file.
754
755 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
756
757         * java/lang/ieeefp.h: Add m32r support.
758
759 2004-10-20  Andreas Schwab  <schwab@suse.de>
760
761         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
762         to uaddr, not int.
763         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
764         Likewise.
765
766 2004-10-20  Michael Koch  <konqueror@gmx.de>
767
768         * javax/print/attribute/standard/ColorSupported.java,
769         javax/print/attribute/standard/Compression.java,
770         javax/print/attribute/standard/Copies.java,
771         javax/print/attribute/standard/CopiesSupported.java,
772         javax/print/attribute/standard/DateTimeAtCompleted.java,
773         javax/print/attribute/standard/DateTimeAtCreation.java,
774         javax/print/attribute/standard/DateTimeAtProcessing.java,
775         javax/print/attribute/standard/DocumentName.java,
776         javax/print/attribute/standard/Fidelity.java,
777         javax/print/attribute/standard/Finishings.java,
778         javax/print/attribute/standard/JobHoldUntil.java,
779         javax/print/attribute/standard/JobImpressions.java,
780         javax/print/attribute/standard/JobImpressionsCompleted.java,
781         javax/print/attribute/standard/JobImpressionsSupported.java,
782         javax/print/attribute/standard/JobKOctets.java,
783         javax/print/attribute/standard/JobKOctetsProcessed.java,
784         javax/print/attribute/standard/JobKOctetsSupported.java,
785         javax/print/attribute/standard/JobMediaSheets.java,
786         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
787         javax/print/attribute/standard/JobMediaSheetsSupported.java,
788         javax/print/attribute/standard/JobMessageFromOperator.java,
789         javax/print/attribute/standard/JobName.java,
790         javax/print/attribute/standard/JobOriginatingUserName.java,
791         javax/print/attribute/standard/JobPriority.java,
792         javax/print/attribute/standard/JobPrioritySupported.java,
793         javax/print/attribute/standard/JobSheets.java,
794         javax/print/attribute/standard/JobState.java,
795         javax/print/attribute/standard/JobStateReason.java,
796         javax/print/attribute/standard/JobStateReasons.java,
797         javax/print/attribute/standard/Media.java,
798         javax/print/attribute/standard/MultipleDocumentHandling.java,
799         javax/print/attribute/standard/NumberOfDocuments.java,
800         javax/print/attribute/standard/NumberOfInterveningJobs.java,
801         javax/print/attribute/standard/NumberUp.java,
802         javax/print/attribute/standard/NumberUpSupported.java,
803         javax/print/attribute/standard/OrientationRequested.java,
804         javax/print/attribute/standard/OutputDeviceAssigned.java,
805         javax/print/attribute/standard/PDLOverrideSupported.java,
806         javax/print/attribute/standard/PageRanges.java,
807         javax/print/attribute/standard/PagesPerMinute.java,
808         javax/print/attribute/standard/PagesPerMinuteColor.java,
809         javax/print/attribute/standard/PrintQuality.java,
810         javax/print/attribute/standard/PrinterInfo.java,
811         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
812         javax/print/attribute/standard/PrinterLocation.java,
813         javax/print/attribute/standard/PrinterMakeAndModel.java,
814         javax/print/attribute/standard/PrinterMessageFromOperator.java,
815         javax/print/attribute/standard/PrinterMoreInfo.java,
816         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
817         javax/print/attribute/standard/PrinterName.java,
818         javax/print/attribute/standard/PrinterStateReason.java,
819         javax/print/attribute/standard/PrinterStateReasons.java,
820         javax/print/attribute/standard/PrinterURI.java,
821         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
822         javax/print/attribute/standard/RequestingUserName.java:
823         Reorganized imports and removed redundant final modifiers.
824
825 2004-10-20  Michael Koch  <konqueror@gmx.de>
826
827         * javax/security/sasl/SaslClient.java,
828         javax/security/sasl/SaslClientFactory.java,
829         javax/security/sasl/SaslException.java,
830         javax/security/sasl/SaslServer.java,
831         javax/security/sasl/SaslServerFactory.java:
832         Remvoed CVS tags.
833
834 2004-10-20  Michael Koch  <konqueror@gmx.de>
835
836         * javax/security/auth/login/NullConfiguration.java,
837         javax/security/auth/x500/X500Principal.java,
838         javax/security/cert/X509Certificate.java,
839         javax/security/sasl/AuthenticationException.java,
840         javax/security/sasl/AuthorizeCallback.java,
841         javax/security/sasl/RealmCallback.java,
842         javax/security/sasl/RealmChoiceCallback.java,
843         javax/security/sasl/Sasl.java,
844         javax/security/sasl/SaslClient.java,
845         javax/security/sasl/SaslClientFactory.java,
846         javax/security/sasl/SaslException.java,
847         javax/security/sasl/SaslServer.java,
848         javax/security/sasl/SaslServerFactory.java:
849         Cleaned up import statements and copyright notices.
850
851 2004-10-20  Michael Koch  <konqueror@gmx.de>
852
853         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
854
855 2004-10-20  Michael Koch  <konqueror@gmx.de>
856
857         * java/sql/Timestamp.java,
858         java/text/AttributedCharacterIterator.java,
859         java/text/AttributedString.java,
860         java/util/zip/CheckedOutputStream.java,
861         java/util/zip/DeflaterOutputStream.java,
862         java/util/zip/ZipFile.java,
863         javax/crypto/Cipher.java,
864         javax/crypto/ExemptionMechanismException.java,
865         javax/crypto/SecretKey.java,
866         javax/crypto/SecretKeyFactory.java,
867         javax/naming/directory/ModificationItem.java,
868         javax/naming/directory/SearchControls.java,
869         javax/naming/event/NamingListener.java,
870         javax/naming/ldap/Control.java,
871         javax/naming/ldap/ExtendedResponse.java,
872         javax/net/ssl/SSLSocketFactory.java:
873         Reorganized imports and fixed copyright headers.
874
875 2004-10-20  Michael Koch  <konqueror@gmx.de>
876
877         * java/util/logging/ConsoleHandler.java,
878         java/util/logging/ErrorManager.java,
879         java/util/logging/FileHandler.java,
880         java/util/logging/Filter.java,
881         java/util/logging/Formatter.java,
882         java/util/logging/Handler.java,
883         java/util/logging/Level.java,
884         java/util/logging/LogManager.java,
885         java/util/logging/LogRecord.java,
886         java/util/logging/Logger.java,
887         java/util/logging/LoggingPermission.java,
888         java/util/logging/MemoryHandler.java,
889         java/util/logging/SimpleFormatter.java,
890         java/util/logging/SocketHandler.java,
891         java/util/logging/StreamHandler.java,
892         java/util/logging/XMLFormatter.java:
893         Standardized copyrigth header.
894
895 2004-10-20  Michael Koch  <konqueror@gmx.de>
896
897         * java/security/AlgorithmParameterGenerator.java,
898         java/security/AlgorithmParameters.java,
899         java/security/DigestInputStream.java,
900         java/security/Identity.java,
901         java/security/KeyFactory.java,
902         java/security/KeyPairGenerator.java,
903         java/security/KeyStore.java,
904         java/security/MessageDigest.java,
905         java/security/MessageDigestSpi.java,
906         java/security/Policy.java,
907         java/security/SecureRandom.java,
908         java/security/Security.java,
909         java/security/Signature.java,
910         java/security/SignatureSpi.java,
911         java/security/cert/CertPathBuilder.java,
912         java/security/cert/CertPathValidator.java,
913         java/security/cert/CertStore.java,
914         java/security/cert/Certificate.java,
915         java/security/cert/CertificateFactory.java,
916         java/security/cert/PolicyQualifierInfo.java,
917         java/security/cert/TrustAnchor.java,
918         java/security/cert/X509CRL.java,
919         java/security/cert/X509CRLEntry.java,
920         java/security/cert/X509Certificate.java,
921         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
922         Import statements reorganized, some little formatting issues,
923         used java-style array declarations, added comments in empty catch
924         blocks.
925
926 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
927
928         * java/security/Security.java
929         (static): Use AccessController.doPrivileged to get system property.
930
931 2004-10-18  Sven de Marothy  <sven@physto.se>
932
933         * java/nio/ByteBufferHelper.java
934         (putDouble): Use Double.toRawLongBits instead.
935
936 2004-10-18  Mark Wielaard  <mark@klomp.org>
937         Andrew Haley  <aph@redhat.com>
938
939         * testsuite/libjava.lang/ExtraClassLoader.java: New.
940
941 2004-10-18  Andrew Haley  <aph@redhat.com>
942
943         PR java/18036:
944         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
945         and correct logic used to find interpreter.
946         
947 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
948
949         * java/util/logging/LogManager.java
950         (findAncestor): Fixed IndexOutOfBoundsException.
951
952 2004-10-18  Michael Koch  <konqueror@gmx.de>
953
954         * java/io/BufferedInputStream.java: Fixed @author tag.
955         (read): Simplified expression.
956         (read): Merged javadoc a bit more.
957         (read): Renamed 'remain' to 'totalBytesRead'.
958         * java/io/DataInputStream.java,
959         java/io/DataOutputStream.java,
960         java/io/ObjectInputStream.java,
961         java/io/ObjectOutputStream.java:
962         Reworked modifier order.
963
964 2004-10-18  Michael Koch  <konqueror@gmx.de>
965
966         * java/net/Inet4Address.java: Merged file header and javadocs.
967         * java/net/Inet6Address.java: Likewise.
968         * java/net/InetAddress.java
969         (getCanonicalHostName): Create Inet4Address object instead of
970         InetAddress and add comment regarding IPv6.
971         (toString): Simplified.
972
973 2004-10-18  Michael Koch  <konqueror@gmx.de>
974
975         * gnu/java/net/protocol/http/Connection.java,
976         java/nio/MappedByteBufferImpl.java,
977         java/text/RuleBasedCollator.java,
978         java/util/ResourceBundle.java:
979         Reworked import statements.
980
981 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
982
983         * java/security/IdentityScope.java
984         (systemScope): Removed useless initializer.
985         * java/security/Policy.java
986         (currentPolicy): Likewise.
987
988 2004-10-18  Michael Koch  <konqueror@gmx.de>
989
990         * java/lang/System.java: Revert accidential change.
991
992 2004-10-18  Michael Koch  <konqueror@gmx.de>
993
994         * java/lang/Math.java,
995         java/lang/Package.java,
996         java/lang/Runtime.java,
997         java/lang/StrictMath.java,
998         java/lang/System.java,
999         java/lang/Thread.java,
1000         java/lang/ThreadLocal.java,
1001         java/lang/Void.java:
1002         Reworked import statements, HTML in javadocs and modifier orders.
1003
1004 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1005
1006         * java/util/Timer.java
1007         (nr): Removed useless initializer.
1008         * java/util/logging/LogRecord.java
1009         (lastSeqNum): Likewise.
1010         * javax/naming/spi/NamingManager.java
1011         (icfb, ofb): Likewise.
1012
1013 2004-10-18  Michael Koch  <konqueror@gmx.de>
1014
1015         * gnu/java/net/PlainDatagramSocketImpl.java:
1016         Reworked import statements.
1017         * gnu/java/security/provider/DSAParameters.java:
1018         Fixed copyrigth years.
1019         * java/net/JarURLConnection.java:
1020         Fixed HTML in @author tags.
1021         
1022
1023 2004-10-18  Michael Koch  <konqueror@gmx.de>
1024
1025         * java/rmi/activation/ActivationSystem.java
1026         (SYSTEM_PORT): Initialize with correct port number.
1027
1028 2004-10-18  Michael Koch  <konqueror@gmx.de>
1029
1030         * java/lang/reflect/Proxy.java: Improved javadocs.
1031
1032 2004-10-18  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/lang/reflect/AccessibleObject.java
1035         (checkPermission): Removed redundant final modifier.
1036         (secureSetAccessible): Likewise.
1037         * java/lang/reflect/Proxy.java:
1038         Reworked import statements.
1039         (generate): Removed redundant final modifier.
1040         * java/lang/reflect/ReflectPermission.java:
1041         Reorder package declaration and import statement.
1042
1043 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1044
1045         * java/lang/reflect/Proxy.java
1046         (count): Removed useless initializer.
1047
1048 2004-10-17  Michael Koch  <konqueror@gmx.de>
1049
1050         * java/net/BindException.java,
1051         java/net/ConnectException.java,
1052         java/net/ContentHandler.java,
1053         java/net/ContentHandlerFactory.java,
1054         java/net/DatagramPacket.java,
1055         java/net/DatagramSocket.java,
1056         java/net/DatagramSocketImpl.java,
1057         java/net/DatagramSocketImplFactory.java,
1058         java/net/FileNameMap.java,
1059         java/net/HttpURLConnection.java,
1060         java/net/MalformedURLException.java,
1061         java/net/MulticastSocket.java,
1062         java/net/NetworkInterface.java,
1063         java/net/NoRouteToHostException.java,
1064         java/net/PasswordAuthentication.java,
1065         java/net/PortUnreachableException.java,
1066         java/net/ProtocolException.java,
1067         java/net/ServerSocket.java,
1068         java/net/Socket.java,
1069         java/net/SocketException.java,
1070         java/net/SocketImpl.java,
1071         java/net/SocketImplFactory.java,
1072         java/net/SocketOptions.java,
1073         java/net/SocketPermission.java,
1074         java/net/SocketTimeoutException.java,
1075         java/net/URI.java,
1076         java/net/URISyntaxException.java,
1077         java/net/URL.java,
1078         java/net/URLDecoder.java,
1079         java/net/URLEncoder.java,
1080         java/net/URLStreamHandler.java,
1081         java/net/URLStreamHandlerFactory.java,
1082         java/net/UnknownHostException.java,
1083         java/net/UnknownServiceException.java:
1084         Big import statement and @author tag cleanup.
1085
1086 2004-10-17  Michael Koch  <konqueror@gmx.de>
1087
1088         * gnu/java/security/OID.java,
1089         gnu/java/security/provider/DSAParameters.java,
1090         gnu/java/security/provider/DSASignature.java,
1091         gnu/java/security/x509/X500DistinguishedName.java,
1092         gnu/java/security/x509/X509CRL.java:
1093         Import statements cleaned up.
1094
1095 2004-10-16  Michael Koch  <konqueror@gmx.de>
1096
1097         * gnu/java/nio/NIODatagramSocket.java,
1098         gnu/java/nio/ServerSocketChannelImpl.java:
1099         Reorganized import statements.
1100
1101 2004-10-16  Michael Koch  <konqueror@gmx.de>
1102
1103         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1104         gnu/java/rmi/rmic/RMIC.java,
1105         gnu/java/rmi/server/RMIHashes.java,
1106         gnu/java/rmi/server/RMIObjectInputStream.java,
1107         gnu/java/rmi/server/RMIObjectOutputStream.java,
1108         gnu/java/rmi/server/UnicastConnection.java,
1109         gnu/java/rmi/server/UnicastConnectionManager.java,
1110         gnu/java/rmi/server/UnicastRemoteCall.java,
1111         gnu/java/rmi/server/UnicastServer.java,
1112         gnu/java/rmi/server/UnicastServerRef.java,
1113         java/rmi/MarshalledObject.java,
1114         java/rmi/Naming.java,
1115         java/rmi/RMISecurityManager.java,
1116         java/rmi/Remote.java,
1117         java/rmi/activation/Activatable.java,
1118         java/rmi/activation/ActivationDesc.java,
1119         java/rmi/activation/ActivationGroup.java,
1120         java/rmi/activation/ActivationGroupDesc.java,
1121         java/rmi/activation/ActivationGroupID.java,
1122         java/rmi/activation/ActivationID.java,
1123         java/rmi/activation/ActivationInstantiator.java,
1124         java/rmi/activation/ActivationMonitor.java,
1125         java/rmi/activation/ActivationSystem.java,
1126         java/rmi/activation/Activator.java,
1127         java/rmi/dgc/DGC.java,
1128         java/rmi/dgc/Lease.java,
1129         java/rmi/dgc/VMID.java,
1130         java/rmi/registry/LocateRegistry.java,
1131         java/rmi/registry/Registry.java,
1132         java/rmi/registry/RegistryHandler.java,
1133         java/rmi/server/LoaderHandler.java,
1134         java/rmi/server/LogStream.java,
1135         java/rmi/server/ObjID.java,
1136         java/rmi/server/Operation.java,
1137         java/rmi/server/RMIClassLoader.java,
1138         java/rmi/server/RMIClassLoaderSpi.java,
1139         java/rmi/server/RMIClientSocketFactory.java,
1140         java/rmi/server/RMIFailureHandler.java,
1141         java/rmi/server/RMIServerSocketFactory.java,
1142         java/rmi/server/RMISocketFactory.java,
1143         java/rmi/server/RemoteCall.java,
1144         java/rmi/server/RemoteObject.java,
1145         java/rmi/server/RemoteRef.java,
1146         java/rmi/server/RemoteServer.java,
1147         java/rmi/server/RemoteStub.java,
1148         java/rmi/server/ServerRef.java,
1149         java/rmi/server/Skeleton.java,
1150         java/rmi/server/SkeletonMismatchException.java,
1151         java/rmi/server/UID.java,
1152         java/rmi/server/UnicastRemoteObject.java,
1153         java/rmi/server/Unreferenced.java:
1154         File headers and import statements cleaned up.
1155
1156 2004-10-16  Michael Koch  <konqueror@gmx.de>
1157
1158         * libjava/gnu/java/nio/charset/UTF_16.java,
1159         libjava/gnu/java/nio/charset/UTF_16BE.java,
1160         libjava/gnu/java/nio/charset/UTF_16LE.java,
1161         libjava/java/nio/ByteOrder.java,
1162         libjava/java/nio/MappedByteBuffer.java,
1163         libjava/java/nio/channels/Channels.java,
1164         libjava/java/nio/channels/spi/SelectorProvider.java,
1165         libjava/java/nio/charset/Charset.java:
1166         Cleanup.
1167
1168 2004-10-16  Michael Koch  <konqueror@gmx.de>
1169
1170         * gnu/java/nio/charset/UTF_16Encoder.java
1171         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1172
1173 2004-10-16  Michael Koch  <konqueror@gmx.de>
1174
1175         * java/math/BigDecimal.java, java/math/BigInteger.java:
1176         Reorganized import statements, removed redundant and
1177         reorganized modifiers.
1178
1179 2004-10-16  Michael Koch  <konqueror@gmx.de>
1180
1181         * gnu/java/beans/ExplicitBeanInfo.java:
1182         Explicitely import java.awt.Image.
1183         (getIcon): Fixed off-by-one error.
1184
1185 2004-10-15  Andrew Haley  <aph@redhat.com>
1186
1187         * Makefile.am (nat_files, xlib_nat_files): New.
1188         * Makefile.in: Regenerate.
1189
1190 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1191
1192         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1193         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1194
1195 2004-10-13  Andrew Haley  <aph@redhat.com>
1196
1197         * interpret.cc (_Jv_InterpMethod::run): Initialize
1198         _Jv_StartOfInterpreter.
1199         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1200         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1201         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1202         _Unwind_FindEnclosingFunction to discover whether PC is within the
1203         interpreter.
1204
1205 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1206
1207         PR libgcj/17903:
1208         * testsuite/libjava.lang/md5test.java: New file.
1209         * testsuite/libjava.lang/md5test.out: Likewise.
1210         * testsuite/libjava.lang/shatest.java: Likewise.
1211         * testsuite/libjava.lang/shatest.out: Likewise.
1212
1213 2004-10-11  Richard Henderson  <rth@redhat.com>
1214
1215         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1216         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1217
1218 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1219
1220         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1221         field as a DST boundary may have been crossed.
1222         * java/util/GregorianCalendar.java (add): Throw 
1223         IllegalArgumentException on attempt to add to DST_OFFSET or 
1224         ZONE_OFFSET fields. Update javadoc.
1225
1226 2004-10-09  Michael Koch  <konqueror@gmx.de>
1227
1228         * java/io/CharArrayWriter.java
1229         (resize): Removed redundant 'final' modifier.
1230         * java/io/DataInputStream.java
1231         (readFully): Throw IndexOutOfBoundsException of len < 0.
1232         * java/io/FileDescriptor.java,
1233         java/io/FileInputStream.java,
1234         java/io/FileOutputStream.java,
1235         java/io/ObjectOutputStream.java,
1236         java/io/ObjectStreamClass.java,
1237         java/io/PipedInputStream.java,
1238         java/io/RandomAccessFile.java:
1239         Reorganized import statements.
1240
1241 2004-10-09  Michael Koch  <konqueror@gmx.de>
1242
1243         * gnu/java/rmi/rmic/RMIC.java,
1244         gnu/java/rmi/server/RMIHashes.java,
1245         gnu/java/rmi/server/RMIObjectInputStream.java,
1246         gnu/java/rmi/server/UnicastConnection.java,
1247         gnu/java/rmi/server/UnicastConnectionManager.java,
1248         gnu/java/rmi/server/UnicastRemoteCall.java,
1249         gnu/java/rmi/server/UnicastServerRef.java:
1250         Reworked import statements and fixed file headers.
1251
1252 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1253
1254         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1255         emission rule.
1256         * configure: Rebuilt.
1257
1258 2004-09-30  Tom Tromey  <tromey@redhat.com>
1259
1260         * java/text/MessageFormat.java (Field): Constructor now
1261         protected.
1262
1263 2004-09-30  Tom Tromey  <tromey@redhat.com>
1264
1265         * javax/crypto/MacSpi.java: Fixed typo.
1266
1267 2004-09-30  Michael Koch  <konqueror@gmx.de>
1268
1269         * java/net/InetAddress.java: Reformatted.
1270         (loopback): Initialize with Inet4Address object.
1271         (static): Initialize ANY_IF with Inet4Address object.
1272         (InetAddress): Removed unused package-private constructor.
1273
1274 2004-09-30  Michael Koch  <konqueror@gmx.de>
1275
1276         * java/beans/Beans.java,
1277         java/beans/EventHandler.java,
1278         java/beans/EventSetDescriptor.java,
1279         java/beans/Introspector.java,
1280         java/beans/PropertyEditorManager.java,
1281         java/beans/beancontext/BeanContext.java,
1282         java/beans/beancontext/BeanContextChild.java,
1283         java/beans/beancontext/BeanContextChildSupport.java,
1284         java/beans/beancontext/BeanContextMembershipEvent.java:
1285         Reordered import statements and removed redundant modifiers.
1286
1287 2004-09-29  Tom Tromey  <tromey@redhat.com>
1288
1289         PR libgcj/17715:
1290         * Makefile.in: Rebuilt.
1291         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1292         files.
1293         (all_property_files): New macro.
1294
1295         * Makefile.in: Rebuilt.
1296         * Makefile.am (ordinary_java_source_files): Re-sorted.
1297         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1298
1299 2004-09-28  Tom Tromey  <tromey@redhat.com>
1300
1301         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1302
1303         PR libgcj/17222:
1304         * Makefile.am (libgcj.la): Restored.
1305         * Makefile.in: Rebuilt.
1306
1307 2004-09-28  Michael Koch  <konqueror@gmx.de>
1308
1309         * java/net/URLConnection.java: Reformatted.
1310         * java/net/URLClassLoader.java: Reformatted.
1311         (getContent): Reordered return of content.
1312         (getContentHandler): Don't check for null explicitely.
1313
1314 2004-09-27  Michael Koch  <konqueror@gmx.de>
1315
1316         * java/io/BufferedInputStream.java
1317         (BufferedInputStream): Added Jeroen Frijters to authors.
1318         (count): Don't explicitely initialize with default value.
1319         (pos): Likewise.
1320         (marklimit): Likewise.
1321         (read): Changed boolean expression to match GNU classpath' version.
1322         (reset): Add proper message to exception.
1323         (skip): Check for closed stream.
1324         (refill): Likewise.
1325
1326 2004-09-26  Per Bothner  <per@bothner.com>
1327
1328         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1329         avoid warnings in the non-POSIX_VERSION case.
1330         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1331         so place it inside an #if block.
1332         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1333         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1334         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1335         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1336
1337 2004-09-26  Per Bothner  <per@bothner.com>
1338
1339         * prims.cc (process_gcj_properties):  Optimization.
1340
1341 2004-09-26  Per Bothner  <per@bothner.com>
1342
1343         * java/util/Collections.java (sort):  Copy from array in forwards
1344         order, rather than reverse order which may be much less efficient.
1345
1346 2004-09-26  Mark Wielaard  <mark@klomp.org>
1347
1348         * java/lang/System.java (properties): Make package private.
1349         * java/lang/Throwable.java (StaticData.nl): Initialize through
1350         directly accessing System.properties.getProperty().
1351
1352         * java/lang/Throwable.java (nl): Remove static field.
1353         (StaticData): New private static inner class.
1354         (stackTraceStringBuffer): Use StaticData.nl.
1355
1356 2004-09-26  Casey Marshall <csm@gnu.org>
1357
1358         * java/security/ProtectionDomain.java
1359         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1360         `true'.
1361
1362         * java/security/SecureClassLoader.java
1363         (defineClass): make protection domain dynamically bound.
1364         (getPermissions): call `getCurrentPolicy' to avoid permission
1365         check.
1366
1367 2004-09-25  Mark Wielaard  <mark@klomp.org>
1368
1369         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1370         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1371         * Makefile.in: Regenerated.
1372
1373         * gcj/javaprims.h: Regenerated.
1374
1375         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1376         (getDefaultTimeZone): Make package private. Check that GMToffset
1377         contains at least one digit.
1378         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1379         VMTimeZone.
1380         * util/VMTimeZone.java: New file with above methods.
1381
1382         * java/util/natTimeZone.cc: Removed (renamed).
1383         * java/util/natVMTimeZone.cc: Added (renamed).
1384
1385 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1386
1387         * java/util/TimeZone.java
1388         (getDefaultTimeZone): Fixed test to distinguish between hours and
1389         minutes in specified timezone.
1390
1391 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1392
1393         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1394         handling of default package. (generate): Removed confused comments
1395         and code about making Method and Field accessible.
1396
1397 2004-09-25  Tom Tromey  <tromey@redhat.com>
1398
1399         PR java/17500:
1400         * testsuite/libjava.compile/pr17500.java: New file.
1401
1402 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1403             Mark Wielaard  <mark@klomp.org>
1404
1405         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1406         * gnu/regexp/RETokenLookAhead.java: New file.
1407
1408         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1409         * Makefile.in: Regenerated.
1410
1411 2004-09-25  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/io/ObjectStreamField.java:
1414         Removed unused import statement.
1415
1416 2004-09-24  Tom Tromey  <tromey@redhat.com>
1417
1418         PR java/15656:
1419         * testsuite/libjava.compile/pr15656.xfail: New file.
1420         * testsuite/libjava.compile/pr15656.java: new file.
1421
1422         PR java/16789:
1423         * testsuite/libjava.lang/pr16789.out: New file.
1424         * testsuite/libjava.lang/pr16789.java: New file.
1425
1426 2004-09-24  Andrew Haley  <aph@redhat.com>
1427
1428         PR java/16927
1429         * testsuite/libjava.compile/AssertBug.java: New file.
1430
1431 2004-09-24  Casey Marshall <csm@gnu.org>
1432
1433         * java/util/PropertyPermissionCollection.java
1434         (implies): avoid infinite loop.
1435
1436 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1437
1438         * javax/security/auth/PrivateCredentialPermission.java
1439         (PrivateCredentialPermission): added serialization UID
1440
1441
1442 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1443
1444         * gnu/java/rmi/server/UnicastServer.java
1445         (incomingMessageCall): Added code to handle Errors.
1446         * gnu/java/rmi/server/UnicastServerRef.java
1447         (incomingMessageCall): Added code to handle Errors.
1448
1449
1450 2004-09-24  Tom Tromey  <tromey@redhat.com>
1451
1452         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1453         (definedPackages): Likewise.
1454
1455 2004-09-24  Michael Koch  <konqueror@gmx.de>
1456
1457         * java/io/ObjectInputStream.java:
1458         Re-ordered imports.
1459
1460 2004-09-24  Casey Marshall <csm@gnu.org>
1461
1462         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1463         `ClassNotFoundException'.
1464
1465 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1466
1467         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1468         of Externalizable classes to ObjectStreamClass.
1469         * java/io/ObjectStreamClass.java (newInstance): New method to
1470         instantiate Externalizable (while ignoring the accessibility of
1471         the constructor). (constructor): New field to cache the constructor.
1472
1473 2004-09-24  Mark Wielaard  <mark@klomp.org>
1474
1475         * java/net/URL.java (systemClassLoader): New static field.
1476         (getURLStreamHandler): Always use system/application classloader
1477         for finding URLStreamhandler. Remove unecessary instanceof checks.
1478
1479 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1480
1481         * java/net/URL.java
1482         (set): This method now matches the behaviour of the JDK.
1483         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1484
1485 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1486
1487         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1488
1489 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1490
1491         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1492         Don't set authority if host isn't specified.
1493
1494 2004-09-24  Michael Koch  <konqueror@gmx.de>
1495
1496         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1497         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1498         * gnu/java/nio/VMPipe.java,
1499         gnu/java/nio/VMSelector.java:
1500         New files.
1501         * gnu/java/nio/natPipeImplEcos.cc,
1502         gnu/java/nio/natPipeImplPosix.cc,
1503         gnu/java/nio/natPipeImplWin32.cc:
1504         Ported to VMPipe.
1505         * gnu/java/nio/natSelectorImplEcos.cc,
1506         gnu/java/nio/natSelectorImplPosix.cc,
1507         gnu/java/nio/natSelectorImplWin32.cc:
1508         Ported to VMSelector.
1509         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1510         gnu/java/nio/VMSelector.java.
1511         * Makefile.in: Regenerated.
1512
1513 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1514
1515         * java/lang/StackTraceElement.java
1516         (className): Renamed field to declaringClass to be compatible
1517         with Sun serialization format.
1518
1519 2004-09-23  Michael Koch  <konqueror@gmx.de>
1520
1521         * java/applet/AppletContext.java,
1522         java/applet/Applet.java,
1523         java/applet/AppletStub.java,
1524         java/applet/AudioClip.java:
1525         Jalopied and checkstyle clean.
1526
1527 2004-09-23  Mark Wielaard  <mark@klomp.org>
1528
1529         * java/util/Collections.java
1530         (binarySearch(List, Object, Comparator)): Explicitly
1531         reverse direction in list iterator.
1532         (rotate): Just return when list is empty.
1533
1534 2004-09-23  Tom Tromey  <tromey@redhat.com>
1535
1536         PR java/17329:
1537         * testsuite/libjava.compile/pr17329.java: New file.
1538
1539         PR java/17380:
1540         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1541         9.2-implicit-7.
1542
1543 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1544
1545         * Makefile.am: Run aclocal with -I ../config
1546         * acinclude.m4: Delete macros picked up from ../config and tidy.
1547         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1548         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1549         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1550
1551 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1552
1553         * aclocal.m4: Regenerate with aclocal 1.9.2.
1554         * configure: Regenerate.
1555         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1556         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1557
1558 2004-09-22  David Daney  <ddaney@avtrex.com>
1559
1560         PR libgcj/17623
1561         * java/net/URL.java (URL): Copy userInfo from context.
1562         (getUserInfo): Return cached userInfo if present.
1563
1564 2004-09-22  Tom Tromey  <tromey@redhat.com>
1565
1566         PR libgcj/6182:
1567         * mauve-libgcj: Enable java.lang.Character tests.
1568
1569 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1570
1571         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1572         dependencies.
1573         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1574         * Makefile.in: Regenerated.
1575
1576 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1577
1578         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1579         * configure: Regenerate.
1580         * include/config.h.in: Likewise.
1581         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1583         macro to gtkpeer.h.
1584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1585         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1586         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1587         architectures.
1588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1589         Likewise.
1590
1591 2004-09-22  Tom Tromey  <tromey@redhat.com>
1592
1593         PR libgcj/14446:
1594         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1595         when comparing CRCs.
1596         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1597         field.
1598         (read()): New overload.
1599
1600 2004-09-21  Tom Tromey  <tromey@redhat.com>
1601
1602         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1603         Indentation fix.
1604
1605 2004-09-21  Michael Koch  <konqueror@gmx.de>
1606
1607         * java/net/Socket.java
1608         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1609
1610 2004-09-21  Casey Marshall  <csm@gnu.org>
1611
1612         * javax/crypto/MacSpi.java (clone): Provide meaningful
1613         implementation.
1614
1615 2004-09-21  Tom Tromey  <tromey@redhat.com>
1616
1617         PR libgcj/16869:
1618         * Makefile.in: Rebuilt.
1619         * Makefile.am (MOSTLYCLEANFILES): Removed.
1620         (mostlyclean-local): Remove header files.
1621
1622 2004-09-21  Casey Marshall  <csm@gnu.org>
1623
1624         * java/security/cert/X509CRLSelector.java:
1625         (match): remove unreachable try-catch clauses.
1626         Reported by: Dalibor Topic <robilad@kaffe.org>
1627
1628 2004-09-21  Mark Wielaard  <mark@klomp.org>
1629
1630         * java/util/TreeMap.java (root): Don't initialize.
1631         (TreeMap(Comparator)): Call fabricateTree(0).
1632         (fabricateTree): Initialize root and size when count is 0.
1633
1634 2004-09-21  Sven de Marothy <sven@physto.se>
1635
1636         * java/nio/ByteBuffer.java (hashCode): Implemented.
1637         * java/nio/CharBuffer.java: Likewise.
1638         * java/nio/DoubleBuffer.java: Likewise.
1639         * java/nio/FloatBuffer.java: Likewise.
1640         * java/nio/LongBuffer.java: Likewise.
1641         * java/nio/IntBuffer.java: Likewise.
1642         * java/nio/ShortBuffer.java: Likewise.
1643
1644 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1645
1646         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1647
1648 2004-09-21  Michael Koch  <konqueror@gmx.de>
1649
1650         * javax/net/ssl/SSLServerSocket.java:
1651         Removed comment about "Do not edit this file, it's generated.".
1652
1653 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1654
1655         Import the big Crypto/Jessie/Security merge from Classpath.
1656
1657         * Makefile.am: Add imported files.
1658         * Makefile.in: Regenerate.
1659
1660         2004-08-14  Casey Marshall <csm@gnu.org>
1661
1662         The Big Crypto Merge of 2004.
1663
1664         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1665         Crypto's version.
1666
1667         Files imported from GNU Crypto.
1668         * javax/crypto/BadPaddingException.java
1669         * javax/crypto/Cipher.java
1670         * javax/crypto/CipherInputStream.java
1671         * javax/crypto/CipherOutputStream.java
1672         * javax/crypto/CipherSpi.java
1673         * javax/crypto/EncryptedPrivateKeyInfo.java
1674         * javax/crypto/ExemptionMechanism.java
1675         * javax/crypto/ExemptionMechanismException.java
1676         * javax/crypto/ExemptionMechanismSpi.java
1677         * javax/crypto/IllegalBlockSizeException.java
1678         * javax/crypto/KeyAgreement.java
1679         * javax/crypto/KeyAgreementSpi.java
1680         * javax/crypto/KeyGenerator.java
1681         * javax/crypto/KeyGeneratorSpi.java
1682         * javax/crypto/Mac.java
1683         * javax/crypto/MacSpi.java
1684         * javax/crypto/Makefile.am
1685         * javax/crypto/NoSuchPaddingException.java
1686         * javax/crypto/NullCipher.java
1687         * javax/crypto/NullCipherImpl.java
1688         * javax/crypto/SealedObject.java
1689         * javax/crypto/SecretKey.java
1690         * javax/crypto/SecretKeyFactory.java
1691         * javax/crypto/SecretKeyFactorySpi.java
1692         * javax/crypto/ShortBufferException.java
1693         * javax/crypto/interfaces/DHKey.java
1694         * javax/crypto/interfaces/DHPrivateKey.java
1695         * javax/crypto/interfaces/DHPublicKey.java
1696         * javax/crypto/interfaces/PBEKey.java
1697         * javax/crypto/spec/DESKeySpec.java
1698         * javax/crypto/spec/DESedeKeySpec.java
1699         * javax/crypto/spec/DHGenParameterSpec.java
1700         * javax/crypto/spec/DHParameterSpec.java
1701         * javax/crypto/spec/DHPrivateKeySpec.java
1702         * javax/crypto/spec/DHPublicKeySpec.java
1703         * javax/crypto/spec/IvParameterSpec.java
1704         * javax/crypto/spec/PBEKeySpec.java
1705         * javax/crypto/spec/PBEParameterSpec.java
1706         * javax/crypto/spec/RC2ParameterSpec.java
1707         * javax/crypto/spec/RC5ParameterSpec.java
1708         * javax/crypto/spec/SecretKeySpec.java
1709         * javax/security/auth/AuthPermission.java
1710         * javax/security/auth/DestroyFailedException.java
1711         * javax/security/auth/Destroyable.java
1712         * javax/security/auth/Policy.java
1713         * javax/security/auth/PrivateCredentialPermission.java
1714         * javax/security/auth/RefreshFailedException.java
1715         * javax/security/auth/Refreshable.java
1716         * javax/security/auth/Subject.java
1717         * javax/security/auth/SubjectDomainCombiner.java
1718         * javax/security/auth/callback/Callback.java
1719         * javax/security/auth/callback/CallbackHandler.java
1720         * javax/security/auth/callback/ChoiceCallback.java
1721         * javax/security/auth/callback/ConfirmationCallback.java
1722         * javax/security/auth/callback/LanguageCallback.java
1723         * javax/security/auth/callback/NameCallback.java
1724         * javax/security/auth/callback/PasswordCallback.java
1725         * javax/security/auth/callback/TextInputCallback.java
1726         * javax/security/auth/callback/TextOutputCallback.java
1727         * javax/security/auth/callback/UnsupportedCallbackException.java
1728         * javax/security/auth/login/AccountExpiredException.java
1729         * javax/security/auth/login/AppConfigurationEntry.java
1730         * javax/security/auth/login/Configuration.java
1731         * javax/security/auth/login/CredentialExpiredException.java
1732         * javax/security/auth/login/FailedLoginException.java
1733         * javax/security/auth/login/LoginContext.java
1734         * javax/security/auth/login/LoginException.java
1735         * javax/security/auth/login/NullConfiguration.java
1736         * javax/security/auth/x500/X500PrivateCredential.java
1737         * javax/security/sasl/AuthenticationException.java
1738         * javax/security/sasl/AuthorizeCallback.java
1739         * javax/security/sasl/RealmCallback.java
1740         * javax/security/sasl/RealmChoiceCallback.java
1741         * javax/security/sasl/Sasl.java
1742         * javax/security/sasl/SaslClient.java
1743         * javax/security/sasl/SaslClientFactory.java
1744         * javax/security/sasl/SaslException.java
1745         * javax/security/sasl/SaslServer.java
1746         * javax/security/sasl/SaslServerFactory.java
1747         * org/ietf/jgss/ChannelBinding.java
1748         * org/ietf/jgss/GSSContext.java
1749         * org/ietf/jgss/GSSCredential.java
1750         * org/ietf/jgss/GSSException.java
1751         * org/ietf/jgss/GSSManager.java
1752         * org/ietf/jgss/GSSName.java
1753         * org/ietf/jgss/MessageProp.java
1754         * org/ietf/jgss/Oid.java
1755         * org/ietf/jgss/MessagesBundle.properties
1756
1757         Files imported from Jessie <http://www.nongnu.org/jessie/>
1758         * javax/net/ServerSocketFactory.java
1759         * javax/net/SocketFactory.java
1760         * javax/net/VanillaServerSocketFactory.java
1761         * javax/net/VanillaSocketFactory.java
1762         * javax/net/ssl/HandshakeCompletedEvent.java
1763         * javax/net/ssl/HandshakeCompletedListener.java
1764         * javax/net/ssl/HostnameVerifier.java
1765         * javax/net/ssl/HttpsURLConnection.java
1766         * javax/net/ssl/KeyManager.java
1767         * javax/net/ssl/KeyManagerFactory.java
1768         * javax/net/ssl/KeyManagerFactorySpi.java
1769         * javax/net/ssl/ManagerFactoryParameters.java
1770         * javax/net/ssl/SSLContext.java
1771         * javax/net/ssl/SSLContextSpi.java
1772         * javax/net/ssl/SSLException.java
1773         * javax/net/ssl/SSLHandshakeException.java
1774         * javax/net/ssl/SSLKeyException.java
1775         * javax/net/ssl/SSLPeerUnverifiedException.java
1776         * javax/net/ssl/SSLPermission.java
1777         * javax/net/ssl/SSLProtocolException.java
1778         * javax/net/ssl/SSLServerSocket.java
1779         * javax/net/ssl/SSLServerSocketFactory.java
1780         * javax/net/ssl/SSLSession.java
1781         * javax/net/ssl/SSLSessionBindingEvent.java
1782         * javax/net/ssl/SSLSessionBindingListener.java
1783         * javax/net/ssl/SSLSessionContext.java
1784         * javax/net/ssl/SSLSocket.java
1785         * javax/net/ssl/SSLSocketFactory.java
1786         * javax/net/ssl/TrivialHostnameVerifier.java
1787         * javax/net/ssl/TrustManager.java
1788         * javax/net/ssl/TrustManagerFactory.java
1789         * javax/net/ssl/TrustManagerFactorySpi.java
1790         * javax/net/ssl/X509KeyManager.java
1791         * javax/net/ssl/X509TrustManager.java
1792         * javax/security/cert/Certificate.java
1793         * javax/security/cert/CertificateEncodingException.java
1794         * javax/security/cert/CertificateException.java
1795         * javax/security/cert/CertificateExpiredException.java
1796         * javax/security/cert/CertificateNotYetValidException.java
1797         * javax/security/cert/CertificateParsingException.java
1798         * javax/security/cert/X509CertBridge.java
1799         * javax/security/cert/X509Certificate.java
1800
1801         2004-08-20  Casey Marshall  <csm@gnu.org>
1802
1803         * java/security/cert/X509CRLSelector.java: New file.
1804         * java/security/cert/X509CertSelector.java: New file.
1805
1806 2004-09-15  Michael Koch  <konqueror@gmx.de>
1807
1808         * gnu/java/net/protocol/file/Handler.java
1809         (openConnection): Don't throw exception if host part for file: URI is
1810         present. setURL() keeps file: protocol if ftp: protocol is not
1811         available.
1812
1813 2004-09-14  Richard Henderson  <rth@redhat.com>
1814
1815         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1816         value of sigsuspend.
1817
1818 2004-09-12  Tom Tromey  <tromey@redhat.com>
1819
1820         * javax/naming/CompoundName.java (CompoundName): Don't check for
1821         separator in "flat" case.
1822
1823 2004-09-12  Michael Koch  <konqueror@gmx.de>
1824
1825         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1826         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1827         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1828         Regenerate.
1829
1830 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1831
1832         PR libgcj/14751
1833         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1834         handle in newly-allocated _Jv_Thread_t.
1835         (_Jv_ThreadDestroyData): Close thread handle.
1836         (_Jv_ThreadStart): Remove obsolete comment.
1837         Store handle of newly-created thread in _Jv_Thread_t.
1838         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1839         before including <windows.h>
1840         #define _Jv_HaveCondDestroy
1841
1842 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1843
1844         * java/lang/natThread.cc (finalize_native): Destroy
1845         join conditional variable and mutex if these destroy
1846         operations are supported.
1847
1848 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1849
1850         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1851         (DEFAULT_PERMISSION): New constant.
1852         (Connection): Create a FilePermission with permission to read file.
1853
1854 2004-09-10  Michael Koch  <konqueror@gmx.de>
1855
1856         * gnu/java/net/protocol/file/Connection.java
1857         (getLastModified): Moved around.
1858         (getPermission): Return stored permission.
1859
1860 2004-09-10  Michael Koch  <konqueror@gmx.de>
1861
1862         * Makefile.in: Regenerate.
1863
1864 2004-09-10  Michael Koch  <konqueror@gmx.de>
1865
1866         * Makefile.am: Reverted accidently commited stuff.
1867         * configure: Regenerated.
1868
1869 2004-09-10  Michael Koch  <konqueror@gmx.de>
1870
1871         * gnu/java/net/protocol/file/Connection.java
1872         (lineSeparator): Made non-final.
1873         (static): Removed.
1874         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1875         instead of StringBufferInputStream.
1876
1877 2004-09-10  Michael Koch  <konqueror@gmx.de>
1878
1879         * gnu/java/net/protocol/file/Connection.java
1880         (connect): Handle file is a directory case.
1881
1882 2004-09-10  Michael Koch  <konqueror@gmx.de>
1883
1884         * Makefile.am
1885         (xlib_includes): Removed.
1886         (AM_CPPFLAGS): Renamed from INCLUDES.
1887         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1888         * Makefile.in: Regenerate.
1889
1890 2004-09-09  Michael Koch  <konqueror@gmx.de>
1891
1892         * java/security/ProtectionDomain.java,
1893         * java/util/PropertyPermissionCollection.java:
1894         Fixed javadocs all over.
1895
1896 2004-09-09  Sven de Marothy  <sven@physto.se>
1897
1898         Patch from David Gilbert <david.gilbert@object-refinery.com>
1899         * java/lang/Comparable.java: Fixed documentation errors.
1900         * java/util/Arrays.java: Likewise.
1901
1902 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1903
1904         * java/net/Inet4Address.java
1905         (Inet4Address): Added comment to serialization UID.
1906         * java/text/Format.java
1907         (Format): Added comment to serialization UID.
1908
1909 2004-09-09  Michael Koch  <konqueror@gmx.de>
1910
1911         * java/lang/System.java
1912         (err): Fixed javadoci to point to setErr() and not setOut().
1913
1914 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1915
1916         (normalizePath): Added special case for windows systems.
1917
1918 2004-09-09  Michael Koch  <konqueror@gmx.de>
1919
1920         * java/io/File.java
1921         (dupSeparator): Made private.
1922         (File(URI)): New constructor.
1923         (getParentFile): Fixed javadoc.
1924         (createTempFile): Reformated.
1925         (setReadOnly): Added comment.
1926         (deleteOnExit): Merged javadoc with classpath version.
1927
1928 2004-09-09  Michael Koch  <konqueror@gmx.de>
1929
1930         * Makefile.am: Don't try to include deps.mk.
1931         * Makefile.in: Regenerated.
1932
1933 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1934
1935         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1936         .d files.
1937         * configure: Rebuilt.
1938
1939 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1940
1941         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1942         Changed pfn from static local to local.
1943
1944 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1945             H.J. Lu  <hongjiu.lu@intel.com>
1946
1947         PR libgcj/17290
1948         * Makefile.am (GCJCOMPILE): Remove definition.
1949         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1950         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1951         * Makefile.in: Rebuilt.
1952
1953 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1954
1955         * configure.ac (enable-gc-debug): Update help for new syntax.
1956         * configure: Regenerate.
1957
1958 2004-09-03  David Daney  <ddaney@avtrex.com>
1959
1960         * include/mips-signal.h: Update copyright.
1961
1962 2004-09-03  David Daney  <ddaney@avtrex.com>
1963
1964         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1965         * include/mips-signal.h: Added HANDLE_FPE support.
1966         
1967 2004-08-31  Michael Koch  <konqueror@gmx.de>
1968
1969         * javax/swing/plaf/basic/BasicTextAreaUI.java
1970         (create): New method.
1971         * javax/swing/text/DefaultHighlighter.java
1972         (DefaultHighlightPainter.debugRect): Removed.
1973         * javax/swing/text/StyleContext.java
1974         (DEFAULT_STYLE): New field.
1975
1976 2004-08-31  Michael Koch  <konqueror@gmx.de>
1977
1978         * javax/swing/plaf/basic/BasicLookAndFeel.java
1979         (initComponentDefaults): Add keybindings for selection.backward and
1980         selection-forward for text components.
1981         * javax/swing/plaf/basic/BasicTextUI.java
1982         (paintSafely): Paint highlight only when something is actually
1983         selected.
1984         * javax/swing/text/DefaultCaret.java
1985         (handleHighlight): New method.
1986         (setSelectionVisible): Don't do anything when nothing changes.
1987         Handle highlight.
1988         (moveDot): Reimplemented. Handle highlight.
1989         (setDot): Set mark too. Handle highlight.
1990         (getSelectionPainter): New method.
1991         * javax/swing/text/DefaultEditorKit.java
1992         (defaultActions): Added new actions for text selection.
1993         * javax/swing/text/DefaultHighlighter.java
1994         (DefaultHighlightPainter): New inner class.
1995         (DefaultPainter): New field.
1996         (paint): Implemented.
1997         * javax/swing/text/PlainView.java
1998         (paint): Don't draw background here again.
1999         * javax/swing/text/Utilities.java
2000         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2001         (drawTabbedText): Likewise.
2002
2003 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2004
2005         * javax/swing/JComponent.java
2006         (resetKeyboardActions): Add null checks.
2007
2008 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2009
2010         * javax/swing/DefaultButtonModel.java:
2011         Skip group notification when no group is set.
2012
2013 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2014
2015         * javax/swing/JColorChooser.java: 
2016         Make a couple inner classes static, for jikes.
2017
2018 2004-08-31  Michael Koch  <konqueror@gmx.de>
2019
2020         * javax/swing/plaf/basic/BasicTextUI.java
2021         (RottView.modelToView): New method.
2022         (UpdateHandler): Renamed from EventHandler.
2023         (updateHandler): Renamed from eventHandler.
2024         (modelToView): Implemented.
2025         * javax/swing/text/AbstractDocument.java
2026         (BranchElement.getElement): Return null for non-existing indeces.
2027         (BranchElement.getElementIndex): Return 0 in some corner cases.
2028         * javax/swing/text/FieldView.java
2029         (modelToView): New method.
2030         * javax/swing/text/PlainView.java
2031         (modelToView): Made public.
2032
2033 2004-08-31  Kim Ho  <kho@redhat.com>
2034
2035         * Makefile.am: New files.
2036         * Makefile.in: Regenerate.
2037         * gcj/Makefile.in: Regenerate.
2038         * include/Makefile.in: Regenerate.
2039         * java/awt/Color.java: Fix documentation.
2040         (RGBtoHSB): Use floats for conversions.
2041         * javax/swing/ButtonGroup.java: Run Jalopy.
2042         (setSelected): Reimplement.
2043         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2044         (changeState): Let ButtonGroup know that the button 
2045         is changing state.
2046         * javax/swing/JColorChooser.java: Implement.
2047         * javax/swing/JLabel.java: Run Jalopy.
2048         * javax/swing/JSpinner.java: Run Jalopy.
2049         (setValue): New method.
2050         * javax/swing/JTabbedPane.java: Run Jalopy.
2051         (removeTabAt): Call correct remove method.
2052         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2053         (getPreviousValue): Compare minimum value.
2054         * javax/swing/Timer.java: Run Jalopy.
2055         (run): Comment out println.
2056         * javax/swing/ToolTipManager.java:
2057         (mouseMoved): Get new tooltip text for location.
2058         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2059         Jalopy and Javadoc.
2060         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2061         Implement.
2062         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2063         Run Jalopy.
2064         (setSelectedColor): Fire ChangeEvent.
2065         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2066         New file. Implement.
2067         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2068         Ditto.
2069         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2070         Ditto.
2071         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2072         Ditto.
2073         * javax/swing/plaf/basic/BasicArrowButton.java:
2074         (getArrow): Fix size of upward pointing button.
2075         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2076         Implement.
2077         * javax/swing/plaf/basic/BasicSliderUI.java:
2078         (getWidthOfWidestLabel): Use preferred dimensions.
2079         (getHeightOfTallestLabel): Ditto.
2080         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2081         Run Jalopy.
2082         (mousePressed): Disable changes to spinner if it is not enabled.
2083         * testsuite/Makefile.in: Regenerate.
2084
2085
2086 2004-08-31  Michael Koch  <konqueror@gmx.de>
2087
2088         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2089         javax/swing/plaf/basic/BasicTableUI.java:
2090         Added copyright notice.
2091
2092 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2093
2094         * Makefile.am: Added new files.
2095         * Makefile.in: Regenerate.
2096         * javax/swing/ComboBoxEditor.java: Added javadocs.
2097         * javax/swing/ComboBoxModel.java: Likewise.
2098         * javax/swing/DefaultComboBoxModel.java: Implemented.
2099         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2100         and ran through jalopy to fix formatting style.
2101         (getListCellRendererComponent): Use appropriate border
2102         if renderer has focus and use noFocusBorder when it doesn't.
2103         * javax/swing/JComboBox.java: Implemented.
2104         * javax/swing/JList.java:
2105         (locationToIndex): New Method. Implemented.
2106         (indexToLocation): New Method.
2107         * javax/swing/JPopupMenu.java: 
2108         (visible): New field.
2109         (isVisible): Changed to use new field above.
2110         (setVisible): Likewise.
2111         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2112         * javax/swing/plaf/basic/BasicArrowButton.java: 
2113         (shadow): Changed default color to Color.gray.
2114         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2115         UI delegate for JComboBox.
2116         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2117         Popup menu containing list of JComboBox's items.
2118         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2119         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2120         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2121         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2122         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2123         (popupMenuWillBecomeVisible): Set selected path to the first
2124         element only if it is of type MenuElement. Also fix formatting
2125         style.
2126         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2127         methods signatures.
2128         
2129 2004-08-31  Michael Koch  <konqueror@gmx.de>
2130
2131         * javax/swing/text/AbstractDocument.java
2132         (createBranchElement): Use new constructor of BranchElement.
2133         (createLeafElement): Renamed arguments.
2134         (getRootElements): Implemented.
2135         (BranchElement.start): Removed.
2136         (BranchElement.end): Likewise.
2137         (BranchElement.BranchElement): Fixed arguments.
2138         (BranchElement.getEndOffset): Reimplemented.
2139         (BranchElement.getStartOffset): Likewis.
2140         * javax/swing/text/DefaultCaret.java
2141         (paint): Draw simple vertical line as caret instead of a rectangle.
2142         * javax/swing/text/JTextComponent.java
2143         (setText): Use doc directly.
2144         * javax/swing/text/PlainView.java
2145         (nextTabStop): Implemented.
2146         * javax/swing/text/Utilities.java
2147         (drawTabbedText): nextTabStop() returns an absolute x position.
2148         (getTabbedTextWidth): Likewise.
2149
2150 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2151
2152         * java/awt/Component.java 
2153         (isFocusTraversable): Predicate on isLightweight()
2154         (setFocusable): Set isFocusTraversableOverridden.
2155         (requestFocus): Predicate peer dispatch on !isLightweight()
2156         (requestFocusInWindow): Likewise.
2157         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2158         * java/awt/Container.java
2159         (dispatchEventImpl): Predicate on event mask.
2160         (LightweightDispatcher): Remove focus machinery.
2161         * java/awt/DefaultFocusTraversalPolicy.java
2162         (accept): Expand predicate to include isFocusable(). 
2163         * java/awt/DefaultKeyboardFocusManager.java:
2164         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2165         * java/awt/KeyboardFocusManager.java
2166         (redispatchEvent): Synchronize on event to prevent feedback.
2167         * javax/swing/AbstractButton.java
2168         (ButtonFocusListener): Remove class.
2169         (init): Set focusPainted, focusable.
2170         * javax/swing/ActionMap.java (get): Check parent for null. 
2171         * javax/swing/InputMap.java (get): Likewise. 
2172         * javax/swing/JComponent.java
2173         (inputMap_whenFocused): New InputMap.
2174         (inputMap_whenAncestorOfFocused): Likewise.
2175         (inputMap_whenInFocusedWindow): Likewise.
2176         (getActionForKeyStroke): Rewrite.
2177         (getConditionForKeystroke): Likewise.
2178         (ActionListenerProxy): New private class.
2179         (setInputMap): Implement.
2180         (getInputMap): Likewise.
2181         (setActionMap): Likewise.
2182         (getActionMap): Likewise.
2183         (processComponentKeyEvent): New empty method.
2184         (processKeyEvent): Implement.
2185         (processKeyBinding): Likewise.
2186         (resetKeyboardActions): Rewrite.
2187         * javax/swing/KeyStroke.java: Rewrite.
2188         * javax/swing/SwingUtilities.java
2189         (notifyAction): Implement.
2190         (replaceUIActionMap): Likewise.
2191         (replaceUIInputMap): Likewise.
2192         * javax/swing/plaf/basic/BasicButtonListener.java
2193         (focusGained): Implement.
2194         (focusLost): Repaint if focusPainted().
2195         (installKeyboardActions): Install pressed / released actions.
2196         (uninstallKeyboardActions): Implement.
2197         * javax/swing/plaf/basic/BasicButtonUI.java
2198         (focusColor): New field.
2199         (installDefaults): Load focus color, install input map.
2200         (installKeyboardActions): Implement.
2201         (uninstallKeyboardActions): Likewise.
2202         (paintFocus): Rewrite.
2203         * javax/swing/plaf/basic/BasicLookAndFeel.java
2204         (Button.focus): New default, midPurple. 
2205         * javax/swing/plaf/basic/BasicTextUI.java
2206         (kit): Make static.
2207         (installUI): Get doc from kit, load defaults.
2208         (getKeymapName): Implement.
2209         (createKeymap): Likewise.
2210         (installKeyboardActions): Likewise.
2211         (getInputMap): Likewise.
2212         (getActionMap): Likewise.
2213         (createActionMap): Likewise.
2214         * javax/swing/text/AbstractDocument.java
2215         (getStartPosition): Implement.
2216         (getEndPosition): Likewise.
2217         * javax/swing/text/DefaultEditorKit.java
2218         (CopyAction): New class.
2219         (CutAction): Likewise.
2220         (DefaultKeyTypedAction): Likewise.
2221         (InsertBreakAction): Likewise.
2222         (InsertContentAction): Likewise.
2223         (InsertTabAction): Likewise.
2224         (PasteAction): Likewise.
2225         (defaultActions): New static table.
2226         (createCaret): Implement.
2227         (getActions): Likewise.
2228         * javax/swing/text/JTextComponent.java
2229         (KeymapWrapper): New private class.
2230         (KeymapActionMap): Likewise.
2231         (DefaultKeymap): New class.
2232         (keymaps): New static table.
2233         (keymap): New field.
2234         (getKeymap): Implement.
2235         (removeKeymap): Likewise.
2236         (addKeymap): Likewise.
2237         (setKeymap): Likewise.
2238         (loadKeymap): Likewise.
2239         (getActions): Likewise.
2240         (margin): New field.
2241         (JTextComponent): Build and install default keymap.
2242         * javax/swing/text/TextAction.java
2243         (textAction): Call super properly.
2244         (getTextComponent): Implement.
2245         * javax/swing/text/Utilities.java
2246         (drawTabbedText): Adjust position by ascent.
2247
2248 2004-08-31  David Jee  <djee@redhat.com>
2249
2250         PR AWT/17156
2251
2252         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2253         (setEnabled): Make it a native method.
2254         * java/awt/DefaultKeyboardFocusManager.java
2255         (postProcessKeyEvent): Only post event if the menu item
2256         is active.
2257         * java/awt/MenuItem.java:
2258         Private field 'enabled' should be true by default.
2259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2260         (setEnabled): New function.
2261
2262 2004-08-31  David Jee  <djee@redhat.com>
2263
2264         PR AWT/17059
2265
2266         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2267         (nativeSetHelpMenu): New native method declaration.
2268         (addHelpMenu): Call nativeSetHelpMenu().
2269         (addMenu): Remove.
2270         * java/awt/MenuBar.java
2271         (setHelpMenu): Call addNotify() on the new help menu.
2272         (add): Call addNotify() on the new menu.
2273         (addNotify): Set the help menu if one exists.
2274         * java/awt/peer/MenuBarPeer.java
2275         (addMenu): Remove.
2276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2277         (nativeSetHelpMenu): New method.
2278
2279 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2280
2281         * Makefile.am: Add new files.
2282         * Makefile.in: Regenerate.
2283         * javax/swing/Box.java: Fix setting of layout in ctor.
2284         * javax/swing/JScrollPane.java: Scroll headers as well.
2285         * javax/swing/JTable.java: Reimplement.
2286         * javax/swing/JViewPort.java: Only add non-null children.
2287         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2288         * javax/swing/Timer.java: Fix stopping null waker.
2289         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2290         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2291         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2292         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2293         * javax/swing/table/DefaultTableModel.java: Clean up.
2294         * javax/swing/table/JTableHeader.java: Implement.
2295
2296 2004-08-31  Mark Wielaard  <mark@klomp.org>
2297
2298         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2299         semi-colon.
2300
2301 2004-08-31  Mark Wielaard  <mark@klomp.org>
2302
2303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2304         Declare variables at top of functions/block.
2305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2306
2307 2004-08-31  Mark Wielaard  <mark@klomp.org>
2308
2309         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2310         first.
2311
2312 2004-08-31  Michael Koch  <konqueror@gmx.de>
2313
2314         * javax/swing/text/PlainView.java
2315         (selectedColor): New field.
2316         (unselectedColor): Likewise.
2317         (font): Likewise.
2318         (updateMetrics): New method.
2319         (lineToRect): Likewise.
2320         (modelToView): Likewise.
2321         (drawSelectedText): Use color from JTextComponent ad draw with
2322         Utilities class.
2323         (drawUnselectedText): Likewise.
2324         (paint): Initialize helper fields.
2325         * javax/swing/text/View.java
2326         (getChildAllocation): New method.
2327         (getViewIndex): Likewise.
2328         (getToolTipText): Likewise.
2329
2330 2004-08-31  Michael Koch  <konqueror@gmx.de>
2331
2332         * javax/swing/text/Utilities.java
2333         (drawTabbedText): Reimplemented.
2334         (getTabbedTextWidth): Likewise.
2335
2336 2004-08-31  Michael Koch  <konqueror@gmx.de>
2337
2338         * javax/swing/plaf/basic/BasicTextUI.java
2339         (installDefaults): Install caret and highlighter.
2340         (modelToView): Use Bias.Forward when calling sibling.
2341         * javax/swing/text/AbstractDocument.java
2342         (ElementEdit): Implements DocumentEvent.ElementChange.
2343         (ElementEdit.ElementEdit): New method.
2344         (ElementEdit.getChildrenAdded): Likewise.
2345         (ElementEdit.getChildrenRemoved): Likewise.
2346         (ElementEdit.getElement): Likewise.
2347         (ElementEdit.getIndex): Likewise.
2348         * javax/swing/text/DefaultCaret.java
2349         (color): Removed.
2350         (textComponent): Renamed from parent, made private.
2351         (selectionVisible): Renamed from vis_sel, made private.
2352         (blinkRate): Renamed from blink, made private.
2353         (magicCaretPosition): Renamed from magic, made private.
2354         (visible): Renamed from vis, made private.
2355         (dot): Made private.
2356         (mark): Likewise.
2357         (deinstall): Remove as MouseMotionListener.
2358         (install): Initialize textComponent first. Add as MouseMotionListener.
2359         (paint): Reimplemented.
2360         * javax/swing/text/JTextComponent.java
2361         (setCaret): Deinstall old caret, install new one and fire property
2362         change after setting property.
2363         (setHighlighter): Deinstall old highlighter, install new one and fire
2364         property change after setting property.
2365         (setCaretColor): Fire property change after setting property.
2366         (setDisabledTextColor): Likewise.
2367         (setSelectedTextColor): Likewise.
2368         (setSelectionColor): Likewise.
2369         (modelToView): New method.
2370
2371 2004-08-31  Michael Koch  <konqueror@gmx.de>
2372
2373         * javax/swing/text/AbstractDocument.java
2374         (getText): Simplified.
2375         * javax/swing/text/Segment.java
2376         (current): New field.
2377         (current): Reimplemented.
2378         (first): Likewise.
2379         (getIndex): Likewise.
2380         (last): Likewise.
2381         (next): Likewise.
2382         (previous): Likewise.
2383         (setIndex): Likewise.
2384
2385 2004-08-31  Michael Koch  <konqueror@gmx.de>
2386
2387         * javax/swing/plaf/basic/BasicButtonUI.java
2388         (defaultTextIconGap): Made protected.
2389         (defaultTextShiftOffset): Likewise.
2390         (textShiftOffset): New field.
2391         (clearTextShiftOffset): New method.
2392         (getTextShiftOffset): Likewise.
2393         (setTextShiftOffset): Likewise.
2394
2395 2004-08-31  Michael Koch  <konqueror@gmx.de>
2396
2397         * javax/swing/plaf/basic/BasicTextUI.java
2398         (installUI): Add eventHandler as property listener.
2399         (uninstallUI): remove eventHandler as propert listener.
2400         (installDefaults): Added comment.
2401         (installListeners): Likewise.
2402         (installKeyboardActions): Likewise.
2403         (uninstallDefaults): Likewise.
2404         (uninstallListeners): Likewise.
2405         (uninstallKeyboardActions): Likewise.
2406
2407 2004-08-31  Michael Koch  <konqueror@gmx.de>
2408
2409         * javax/swing/text/AbstractDocument.java:
2410         Fixed some typos in comments.
2411         (insertString): Reimplemented.
2412         (remove): Likewise.
2413         (replace): New method.
2414         (children): Dont use fully qualified class name.
2415         (DefaultDocumentEvent.offset): Renamed from off.
2416         (DefaultDocumentEvent.length): Renamed from len.
2417         (DefaultDocumentEvent.type): New field.
2418         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2419         (DefaultDocumentEvent.getType): Implemented.
2420
2421 2004-08-31  Michael Koch  <konqueror@gmx.de>
2422
2423         * javax/swing/plaf/basic/BasicTextUI.java
2424         (RootView.textComponent): Removed.
2425         (RootView.RootView): Don't initialize textComponent.
2426         (RootView.getViewFactory): New method.
2427         (EventHandler): New inner class.
2428         (rootView): Initialize at instance creation.
2429         (eventHandler): New field.
2430         (installUI): Don't create view hierarchy directly,
2431         call modelChanged() instead.
2432         (modelChanged): New method.
2433         * javax/swing/text/JTextComponent.java
2434         (setDocument): Fire property change event.
2435
2436 2004-08-31  Michael Koch  <konqueror@gmx.de>
2437
2438         * javax/swing/plaf/basic/BasicTextUI.java
2439         (RootView.paint): Removed debug output.
2440         (paintSafely): Draw highlighter before text.
2441         (paintBackground): Use background color of text component.
2442         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2443         Reformatted.
2444
2445 2004-08-31  Michael Koch  <konqueror@gmx.de>
2446
2447         * javax/swing/plaf/basic/BasicToolBarUI.java
2448         (BasicToolBarUI): Fixed arguments for constructor.
2449         (createUI): Fixed creation of object.
2450
2451 2004-08-31  Michael Koch  <konqueror@gmx.de>
2452
2453         * javax/swing/DefaultListSelectionModel.java
2454         (fireValueChanged): Renamed from fireSelectionValueChanged,
2455         made protected.
2456
2457 2004-08-31  Michael Koch  <konqueror@gmx.de>
2458
2459         * javax/swing/text/TabSet.java
2460         (TabSet): Implements java.io.Serializable.
2461         * javax/swing/text/TabStop.java
2462         (TabStop): Implements java.io.Serializable.
2463         (TabStop): Made public.
2464
2465 2004-08-31  Michael Koch  <konqueror@gmx.de>
2466
2467         * javax/swing/JComponent.java
2468         (setUI): Fire PropertyChange.
2469         * javax/swing/JLabel.java
2470         (text): Renamed from labelText.
2471         (horizontalAlignment): New default vlaue.
2472         (icon): Renamed from activeIcon.
2473         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2474         (displayedMnemonicIndex): Renamed from underlineChar.
2475         (setDisplayedMnemonic): Reimplemented.
2476         * javax/swing/JRadioButton.java
2477         (JRadioButton): New constructors.
2478         * javax/swing/JTextField.java
2479         (JTextField): Throw exception if colums < 0, initialitialz
2480         this.columns directly and initialize document with text conditionally.
2481
2482 2004-08-31  Michael Koch  <konqueror@gmx.de>
2483
2484         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2485         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2486         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2487         * javax/swing/text/FieldView.java
2488         (paint): Just call super method for now.
2489         * Makefile.am: Added new files.
2490         * Makefile.in: Regenerated.
2491
2492 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2493
2494         * javax/swing/AbstractSpinnerModel.java,
2495         javax/swing/JSpinner.java,
2496         javax/swing/SpinnerNumberModel.java,
2497         javax/swing/plaf/basic/BasicSpinnerUI.java:
2498         New files.
2499         * javax/swing/plaf/basic/BasicLookAndFeel.java
2500         (initClassDefaults): Added defaults for BasicSpinnerUI.
2501
2502 2004-08-31  Michael Koch  <konqueror@gmx.de>
2503
2504         * Makefile.am: Added new files.
2505         * Makefile.in: Regenerated.
2506
2507 2004-08-31  Michael Koch  <konqueror@gmx.de>
2508
2509         * javax/swing/TransferHandler.java,
2510         javax/swing/plaf/basic/ComboPopup.java: New files
2511         * Makefile.am: Added javax/swing/TransferHandler.java and
2512         javax/swing/plaf/basic/ComboPopup.java
2513         * Makefile.in: Regenerated.
2514
2515 2004-08-31  Roman Kennke  <roman@ontographics.com>
2516
2517         * javax/swing/text/Utilities.java: New file.
2518
2519 2004-08-31  Michael Koch  <konqueror@gmx.de>
2520
2521         * Makefile.am: Added javax/swing/text/Utilities.java.
2522         * Makefile.in: Regenerated.
2523
2524 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2525
2526         * javax/swing/text/SimpleAttributeSet.java: New file.
2527         * javax/swing/text/StyleConstants.java: New file.
2528         * javax/swing/text/StyleContext.java: New file.
2529         * javax/swing/text/TabSet.java: New file.
2530         * javax/swing/text/TabStop.java: New file.
2531         * javax/swing/text/AbstactDocument.java:
2532         (AbstractElement): Implement attribute support.
2533         * javax/swing/text/AttributeSet.java
2534         (NameAttribute): New static field.
2535         (ResolveAttribute): New static field.
2536         * Makefile.am: Update for new files.
2537         * Makefile.in: Regenerate.
2538
2539 2004-08-31  Craig Black  <craig.black@aonix.com>
2540
2541         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2542         (drawImage): Add support for scaling pixmaps.
2543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2544         (copyAndScalePixmap): New native method.
2545  
2546 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2547
2548         PR AWT/16121
2549         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2550         type-punning compiler warnings using unions.
2551         (throw): Replace bzero with memset.
2552
2553 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2554             Thomas Fitzsimmons  <fitzsim@redhat.com>
2555
2556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2557         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2558         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2560         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2561
2562 2004-08-31  Mark Wielaard  <mark@klomp.org>
2563
2564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2565         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2566         and stdlib.h, not gtkpeer.h.
2567         (*vm): New static variable.
2568         (areaPreparedID): Make static.
2569         (areaUpdatedID): Likewise.
2570         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2571         (area_prepared): Likewise.
2572         (area_updated): Likewise.
2573         (closed): Likewise.
2574         (initStaticState): Initialize *vm javaVM.
2575         (pumpBytes): Use given env, not global gdk_env.
2576
2577 2004-08-31  Mark Wielaard  <mark@klomp.org>
2578
2579         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2580         comments.
2581
2582 2004-08-31  Sven de Marothy  <sven@physto.se>
2583
2584         * java/awt/geom/CubicCurve2D.java: Reindent.
2585         (contains): Implemented.
2586         (intersects): Implemented.
2587         * java/awt/geom/QuadCurve2D.java: Likewise.
2588         * java/awt/geom/GeneralPath.java: Reindent and document.
2589         Fully (re)implemented using separate xpoints and ypoints
2590         float[] coords.
2591         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2592
2593 2004-08-31  Michael Koch  <konqueror@gmx.de>
2594
2595         * javax/swing/JMenuItem.java
2596         (getMenuDragMouseListeners): New method.
2597         (getMenuKeyListeners): Likewise.
2598
2599 2004-08-31  Michael Koch  <konqueror@gmx.de>
2600
2601         * javax/swing/AbstractButton.java
2602         (model): Made protected.
2603         (actionListener): Likewise.
2604         (changeListener): Likewise.
2605         (itemListener): Likewise.
2606         (multiClickThreshhold): New field.
2607         (getActionListeners): New method.
2608         (getChangeListeners): Likewise.
2609         (getItemListeners): Likewise.
2610         (fireItemStateChanged): Simplified implementation.
2611         (fireActionPerformed): Likewise.
2612         (fireStateChanged): Likewise.
2613         (getMultiClickThreshhold): New method.
2614         (setMultiClickThreshhold): Likewise.
2615
2616 2004-08-31  Tom Tromey  <tromey@redhat.com>
2617
2618         * java/awt/image/Kernel.java (clone): Use super.clone().
2619
2620 2004-08-31  David Jee  <djee@redhat.com>
2621
2622         PR AWT/16682
2623         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2624         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2625         (nativeSetIconImageFromData): New native method declaration.
2626         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2627         * gnu/java/awt/peer/gtk/GtkImage.java
2628         (getPixelCache): New method.
2629         (getColorModel): New method.
2630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2631         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2632         (free_pixbuf_data): New helper function.
2633         (nativeSetIconImageFromData): New function.
2634
2635 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2636
2637         PR SWING/16576
2638         * javax/swing/JLayeredPane.java 
2639         (setLayer): Permit changing layer after addition.
2640         (setPosition): Permit over-length positions.
2641         (layerToRange): Compare intValue()s.
2642         * javax/swing/Box.java (createHorizontalBox): Implement.
2643         (createRigidArea): Likewise.
2644         (createVerticalBox): Likewise.
2645
2646 2004-08-31  Kim Ho  <kho@redhat.com>
2647
2648         * java/awt/Component.java:
2649         (processMouseEvent): Consume event after
2650         listeners process it.
2651         (processMouseMotionEvent): ditto.
2652         (processMouseWheelEvent): ditto.
2653         * java/awt/Container.java:
2654         (acquireComponentForMouseEvent):
2655         Do not dispatch to events that have been
2656         removed from the Container.
2657         (handleEvent): Consume the MouseEvents.
2658         * javax/swing/RepaintManager.java:
2659         (paintDirtyRegions): Do not add to list of 
2660         damaged areas if the component has no root.
2661
2662 2004-08-31  Michael Koch  <konqueror@gmx.de>
2663
2664         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2665
2666 2004-08-31  Mark Wielaard  <mark@klomp.org>
2667
2668         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2669         null when a MissingResourceException is thrown. Should never happen.
2670
2671 2004-08-31  Mark Wielaard  <mark@klomp.org>
2672
2673         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2674         when argument is null.
2675
2676 2004-08-31  Mark Wielaard  <mark@klomp.org>
2677
2678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2679         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2680         Define hid at start of function.
2681         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2682         Likewise.
2683
2684 2004-08-31  Mark Wielaard  <mark@klomp.org>
2685
2686         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2687         * javax/swing/JButton.java: Reindent.
2688         * javax/swing/JCheckBox.java: Reindent.
2689
2690 2004-08-31  Mark Wielaard  <mark@klomp.org>
2691
2692         * Makefile.am (gtk_c_source_files): Added
2693         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2694         (gtk_awt_peer_sources): Added
2695         gnu/java/awt/peer/gtk/GThreadMutex.java and
2696         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2697         * Makefile.in: Regenerated.
2698
2699 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2700
2701         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2702
2703 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2704
2705         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2706         Added jfieldID, jmethodID.
2707
2708 2004-08-31  Mark Wielaard  <mark@klomp.org>
2709
2710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2711         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2712         gdk_env before calling any gdk or gtk function.
2713
2714         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2715         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2716         (run): Set gtkInitCalled.
2717
2718 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2719
2720         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2721         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2722
2723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2724         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2725         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2726         init_glib_threads. 
2727         (init_glib_threads): New function.
2728
2729 2004-08-31  Mark Wielaard  <mark@klomp.org>
2730
2731         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2732         PRIORITY when not already defined in header file.
2733
2734 2004-08-31  Mark Wielaard  <mark@klomp.org>
2735
2736         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2737         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2738
2739 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2740
2741         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2742         Implemented missing functions for GTK2.
2743         Added error handling.
2744         Renamed static functions out of the g_ namespace.
2745         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2746         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2747         Rewrote global-reference code.
2748         Eliminated cascading errors.
2749         (mutex_trylock_jni_impl) Fully implemented.
2750         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2751         resolution.
2752         (setup_cache) New function.
2753         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2754         bug where they were not unlocking the GMutex associated with the
2755         condition variable during the wait on that condition variable.
2756
2757         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2758         native/jni/gtk-peer/gthread-jni.c,
2759         native/jni/gtk-peer/gthread-jni.h
2760         (g_thread_jni_functions): Renamed to ...
2761         (portable_native_sync_jni_functions): this name.
2762         (gdk_vm): Renamed to...
2763         (the_vm): this name.
2764
2765         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2766         (gdk_vm): Removed duplicate definition.
2767         (gtkInit): Removed stray message to stdout.
2768         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2769         (gtkInit): Fix a const assignment bug.
2770         (gtkInit): Simplified code.
2771
2772         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2773         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2774         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2775         gnu/java/awt/peer/gtk/GThreadMutex.java:
2776         New files.
2777
2778 2004-08-31  Mark Wielaard  <mark@klomp.org>
2779
2780         * javax/swing/Box.java: Put FIXME comment above class declaration.
2781         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2782         * javax/swing/JCheckBox.java: Likewise.
2783         * javax/swing/JDialog.java: Likewise.
2784         * javax/swing/JRadioButton.java: Likewise.
2785         * javax/swing/JToggleButton.java: Likewise.
2786         * javax/swing/UIManager.java: Likewise.
2787         * javax/swing/border/TitledBorder.java: Likewise.
2788         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2789         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2790         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2791         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2792         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2793         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2794         * javax/swing/text/JTextComponent.java: Likewise.
2795
2796 2004-08-31  David Jee  <djee@redhat.com>
2797
2798         PR AWT/16682
2799         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2800         (setIconImage): Add a FIXME for unhandled cases.
2801
2802 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2803
2804         PR AWT/16040
2805         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2806         getModifiers.  Replace old button masks with new ones.
2807         * gnu/awt/xlib/XEventLoop.java: Likewise.
2808         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2809         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2811         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2812         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2813         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2814         * java/awt/Component.java: Replace old modifier masks with new
2815         ones.
2816         * java/awt/Container.java: Call getModifiersEx, not
2817         getModifiers.
2818         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2819         old modifier masks.
2820         * javax/swing/JMenuItem.java: Replace old button masks with new
2821         ones.
2822         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2823         getModifiers.
2824         * javax/swing/SwingUtilities.java: Likewise.
2825         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2826         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2828         mask macros with new ones.
2829         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2830         macros with new ones representing new masks.
2831
2832 2004-08-31  Craig Black  <craig.black@aonix.com>
2833
2834         * gnu/java/awt/peer/gtk/GdkGraphics.java
2835         (drawRoundRect): Implemented.
2836         (fillRoundRect): Implemented.
2837         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2838         (drawRoundRect): Reimplemented to match GdkGraphics.
2839         (fillRoundRect): Reimplemented to match GdkGraphics.
2840
2841 2004-08-31  Mark Wielaard  <mark@klomp.org>
2842
2843         * Makefile.in: Regenerated.
2844
2845 2004-08-31  Michael Koch  <konqueror@gmx.de>
2846
2847         * gnu/java/awt/EmbeddedWindow.java
2848         (addNotify): Use AccessController to allow execution of privileged
2849         code.
2850
2851 2004-08-31  Michael Koch  <konqueror@gmx.de>
2852
2853         * gnu/java/awt/EmbeddedWindow.java
2854         (static): Removed.
2855         (addNotify): Set peer via reflection.
2856         (setWindowPeer): Removed.
2857         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2858         * Makefile.am (nat_source_files):
2859         Removed gnu/java/awt/natEmbeddedWindow.cc.
2860
2861 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2862
2863         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2864         and gnu/java/security/action/SetAccessibleAction.java.
2865
2866 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2867
2868         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2869         Renamed from 'setName'. New 2-argument form with default value.
2870         (run): Pass default 'value' parameter to System.getProperty().
2871         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2872         typos.
2873
2874 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2875
2876         * gnu/java/security/action/GetPropertyAction.java: New class.
2877         * gnu/java/security/action/SetAccessibleAction.java: New class.
2878
2879 2004-08-31  David Jee  <djee@redhat.com>
2880
2881         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2882         (setIconImage): Check if image is null.
2883
2884 2004-08-31  David Jee  <djee@redhat.com>
2885
2886         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2887         (create): Set the icon image.
2888         (nativeSetIconImage): New native method declaration.
2889         (setIconImage): Implement.
2890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2891         (nativeSetIconImage): New function.
2892
2893 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2894
2895         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2896         (filenameFilterCallback): Declare local variable accepted before use.
2897
2898 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2899
2900         * gnu/java/awt/ComponentDataBlitOp.java:
2901         Cleaned up imports.
2902
2903 2004-08-31  Tom Tromey  <tromey@redhat.com>
2904
2905         * gnu/java/awt/peer/GLightweightPeer.java,
2906         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2907         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2908         javax/swing/JScrollPane.java: Removed
2909         redundant imports.
2910
2911 2004-08-31  David Jee  <djee@redhat.com>
2912
2913         * java/awt/DefaultKeyboardFocusManager.java
2914         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2915         event.  Fix shift modifier checking.
2916         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2917         (accel_attach): Remove.
2918         (setupAccelGroup): Remove calls to accel_attach.
2919
2920 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2921
2922         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2923         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2924
2925         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2926         GtkArgList.java.
2927         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2928         * Makefile.in: Regenerate.
2929         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2930         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2931         (create(String)): New method.
2932         (create): Call new create method.
2933         (getArgs): Remove method.
2934         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2935         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2936         (nativeCreate): Rename to create.
2937         (gtkSetLabel): Rename to gtkButtonSetLabel.
2938         (gtkToggleButtonSetActive): New method.
2939         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2940         (setState): Replace set call with gtkToggleButtonSetActive.
2941         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2942         (getArgs): Remove method.
2943         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2944         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2945         (gtkWidgetSetSensitive): New method.
2946         (gtkWidgetSetParent): Likewise.
2947         (GtkComponentPeer): Call setParent, setComponentBounds and
2948         setVisibleAndEnabled.
2949         (setParent): New method.
2950         (setComponentBounds): New method.
2951         (setVisibleAndEnabled): New method.
2952         (setEnabled): Call gtkWidgetSetSensitive.
2953         (getArgs): Remove method.
2954         Remove all set methods.
2955         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2956         gtkWindowSetModal, setTitle and setResizable.
2957         (getArgs): Remove method.
2958         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2959         (setComponentBounds): New method.
2960         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2961         Replace set call with gtkWindowSetResizable.
2962         (getArgs): Remove method.
2963         (create): Call setTitle and setResizable.
2964         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2966         (gtkWindowSetTitle): New method.
2967         (gtkWindowSetResizable): New method.
2968         (gtkWindowSetModal): New method.
2969         (setParent): New method.
2970         (setVisibleAndEnabled): New method.
2971         (getArgs): Remove method.
2972         (setTitle): Call gtkWindowSetTitle.
2973         (setResizable): Call gtkWindowSetResizable.
2974         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2975         and off locking instrumentation.
2976
2977 2004-08-31  Kim Ho  <kho@redhat.com>
2978
2979         * Makefile.am: Add new file.
2980         * Makefile.in: Regenerate.
2981         * gcj/Makefile.in: Regenerate
2982         * include/Makefile.in:
2983         * java/awt/Container.java:
2984         (acquireComponentForMouseEvent): Respect 
2985         the event mask when looking for candidate.
2986         * javax/swing/JComponent.java:
2987         Remove toolTip field.
2988         (createToolTip): Create a tooltip on demand.
2989         (setToolTipText): Register with the ToolTipManager.
2990         (getToolTipText(MouseEvent)): Return getToolTipText().
2991         * javax/swing/JToolTip.java: Implement.
2992         * javax/swing/Timer.java: Jalopy.
2993         (restart): Call stop, then start.
2994         (stop): Interrupt the timer rather than wait for
2995         the timer to come to a stop naturally.
2996         * javax/swing/ToolTipManager.java: Implement.
2997         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2998         Change ToolTip.background color.
2999         * javax/swing/plaf/basic/BasicToolTipUI.java:
3000         Implement.
3001         * testsuite/Makefile.in: Regenerate
3002
3003 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3004
3005         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3006         constructor param comments.
3007
3008 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3009
3010         * java/awt/Component.java: Document AWT 1.0 event handler
3011         methods.
3012
3013 2004-08-31  Roman Kennke  <roman@ontographics.com>
3014
3015         * javax/swing/Box.java:
3016         (createGlue): Implemented
3017         (createHorizontalGlue): Implemented
3018         (createHorizontalStrut): Implemented
3019         (createVerticalGlue): Implemented
3020         (createVerticalStrut): Implemented
3021
3022 2004-08-31  David Jee  <djee@redhat.com>
3023
3024         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3025         (GtkChoicePeer): Do not automatically select first item.
3026         (getHistory): Remove.
3027         (nativeGetSelected): New method.
3028         (nativeRemoveAll): New method.
3029         (add): Use nativeGetSelected() instead of getHistory().
3030         (remove): Likewise.
3031         (removeAll): Call nativeRemoveAll().
3032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3033         (create): Migrate to GtkComboBox.
3034         (append): Likewise.
3035         (nativeAdd): Likewise.
3036         (nativeRemove): Likewise.
3037         (select): Likewise.
3038         (nativeRemoveAll): New method.
3039         (nativeGetSelected): New method.
3040         (selection_changed): New method.
3041         (getHistory): Remove.
3042         (item_activate): Remove.
3043         (item_removed): Remove.
3044         (connect_choice_item_selectable_hook): Remove.
3045
3046 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3047
3048         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3049         variable in setEditable call.
3050
3051         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3052         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3053         (gtkWidgetSetBackground): New method.
3054         (gtkWidgetSetForeground): Likewise.
3055         (create): Set peer's editable state based on awtComponent's.
3056
3057         * java/awt/Button.java (Button()): Use empty string rather than
3058         null in no-label constructor.
3059
3060 2004-08-31  Roman Kennke  <roman@ontographics.com>
3061
3062         * javax/swing/BoxLayout.java: Reimplement.
3063
3064 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3065
3066         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3067         gnu_java_awt_peer_gtk_GdkGraphics.c
3068         (initState(GtkComponentPeer)): Don't return array of colour
3069         values.
3070         (GdkGraphics(int,int)): Set default font to size 12.
3071         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3072         component's foreground colour.
3073         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3074         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3075         (initState(GtkComponentPeer)): Don't return array of colour
3076         values.
3077         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3078         colours to component's colours.
3079         (current_colors_of_widget): Remove function.
3080         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3081         Return a new graphics object.
3082         * java/awt/Font.java (toString): Fix format.
3083         * java/awt/Graphics.java (toString): Likewise.
3084
3085 2004-08-31  Craig Black  <craig.black@aonix.com>
3086
3087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3088         (addTearOff): New function.
3089         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3090         New native method.
3091         (init): Call addTearOff() when menu.isTearOff().
3092
3093 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3094
3095         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3096         Default implementation.
3097         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3098         Implement using GdkPixbufDecoder.
3099
3100 2004-08-31  David Jee  <djee@redhat.com>
3101
3102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3103         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3104         setting the size of GtkFileDialogPeers.
3105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3106         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3107         use their default sizes rather than their natural requisitions.
3108
3109 2004-08-31  Michael Koch  <konqueror@gmx.de>
3110
3111         * javax/swing/JFormattedTextField.java
3112         (JFormattedTextField): Implemented.
3113         * javax/swing/text/DefaultEditorKit.java
3114         (BeepAction): New inner class.
3115         * javax/swing/text/Segment.java
3116         (partialReturn): New field.
3117         (setPartialReturn): New method.
3118         (isPartialReturn): Likewise.
3119         * javax/swing/text/View.java
3120         (createFragment): Fixed typo.
3121         (getStartOffset): New method.
3122         (getEndOffset): Likewise.
3123
3124 2004-08-31  Michael Koch  <konqueror@gmx.de>
3125
3126         * javax/swing/table/DefaultTableColumnModel.java
3127         (serialVersionUID): Made private.
3128         (listenerList): Initialize.
3129         (changeEvent): Initialize.
3130         * javax/swing/table/JTableHeader.java
3131         (JTableHeader): New constructors.
3132         (createDefaultColumnModel): New method.
3133         * javax/swing/table/TableColumn.java
3134         (setHeaderRenderer): Simplified code.
3135         (setCellRenderer): Likewise.
3136         (setWidth): Likewise.
3137
3138 2004-08-31  Tom Tromey  <tromey@redhat.com>
3139
3140         * java/text/AttributedString.java (AttributedString): Use
3141         ArrayList to build array of attribute ranges.  Don't use
3142         `attribs' before it is set.
3143
3144 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3145
3146         * HACKING: Remove reference to special automake. No longer needed.
3147
3148 2004-08-30  Tom Tromey  <tromey@redhat.com>
3149
3150         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3151         return result from `add'.
3152
3153 2004-08-30  Tom Tromey  <tromey@redhat.com>
3154
3155         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3156
3157 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3158
3159         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3160
3161 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3162
3163         * java/io/File.java File(String,String): Fixed handling of empty
3164         path.
3165
3166 2004-08-30  Casey Marshall  <csm@gnu.org>
3167
3168         Author e-mail updated for all files.
3169         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3170         instance of OID.
3171         (compareTo): Use `equals'.
3172         * gnu/java/security/der/BitString.java (equals): Test if the
3173         argument is an instance of BitString.
3174         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3175         class final. Made fields private.
3176         (<init>): New constructor.
3177         (skip): New method.
3178         (makeString): Made static; don't use NIO.
3179         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3180         * gnu/java/security/der/DERWriter.java: Fixed imports.
3181         (writeString): Don't use NIO.
3182         (toIso88591, toUtf16Be, toUtf8): New methods.
3183         * gnu/java/security/der/DERValue.java: Formatting changes only.
3184         * gnu/java/security/der/DER.java: Likewise.
3185
3186 2004-08-30  Tom Tromey  <tromey@redhat.com>
3187
3188         * java/nio/CharBuffer.java (put): Fix typo.
3189         * java/nio/DoubleBuffer.java (put): Fix typo.
3190         * java/nio/FloatBuffer.java (put): Fix typo.
3191         * java/nio/IntBuffer.java (put): Fix typo.
3192         * java/nio/LongBuffer.java (put): Fix typo.
3193         * java/nio/ShortBuffer.java (put): Fix typo.
3194
3195 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3196
3197         * java/nio/ByteBuffer.java (put): Fix typo.
3198
3199 2004-08-30  Casey Marshall  <csm@gnu.org>
3200
3201         * java/security/DummyKeyPairGenerator.java (clone): Removed
3202         useless instanceof check.
3203         * java/security/DummyMessageDigest.java (clone): Likewise.
3204         * java/security/DummySignature.java (clone): Likewise.
3205         * java/security/MessageDigest.java (clone): Remove useless
3206         instanceof check.
3207         * java/security/MessageDigestSpi.java (clone): Likewise.
3208         * java/security/Signature.java (clone): Provide meaningful
3209         implementation.
3210         * java/security/SignatureSpi.java (clone): Likewise.
3211
3212 2004-08-29  Mark Wielaard  <mark@klomp.org>
3213
3214         * java/util/Arrays.java
3215         (sort(byte[], int, int)): Check fromIndex < 0.
3216         (sort(char[], int, int)): Likewise.
3217         (sort(short[], int, int)): Likewise.
3218         (sort(int[], int, int)): Likewise.
3219         (sort(long[], int, int)): Likewise.
3220         (sort(float[], int, int)): Likewise.
3221         (sort(double[], int, int)): Likewise.
3222         (sort(Object[], int, int, Comparator)): Likewise.
3223         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3224         (qsort(char[], int, int)): Likewise.
3225         (qsort(short[], int, int)): Likewise.
3226         (qsort(int[], int, int)): Likewise.
3227         (qsort(long[], int, int)): Likewise.
3228         (qsort(float[], int, int)): Likewise.
3229         (qsort(double[], int, int)): Likewise.
3230
3231 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3232
3233         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3234         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3235         java/util/ArrayList.java, java/util/Arrays.java,
3236         java/util/BitSet.java, java/util/Calendar.java,
3237         java/util/Collection.java, java/util/ListIterator.java,
3238         java/util/Map.java, java/util/SortedSet.java:
3239         Added additional exceptions to documentation, along
3240         with some additions and corrections.
3241
3242 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3243
3244         * configure.ac: Handle --enable-gc-debug.
3245         * configure: Regenerate.
3246         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3247         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3248         Rearrange include file order.
3249         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3250         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3251         (disable_gc_mutex): Delete along with all references.
3252         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3253         adjust for debug header size.
3254         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3255         debug case.
3256         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3257         (gcj_describe_type_fn): New.
3258         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3259         Register gcj_describe_type_fn.
3260         * include/boehm-gc.h:
3261         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3262         Don't define, but declare, for debug case.
3263         * java/lang/natObject.cc:
3264         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3265
3266 2004-08-26  Mark Wielaard  <mark@klomp.org>
3267
3268         Fixes PR libgcj/17002:
3269         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3270         a TimeZoneId string and then try to convert that to a TimeZone with
3271         getDefaultSystemTimeZone(String).
3272         (timezones0): Changed type from Hashtable to HashMap.
3273         (timezones): Create HashMap, not Hashtable.
3274         (getDefaultTimeZone): New method, rewritten from CNI version.
3275         (readTimeZoneFile): New method.
3276         (readtzFile): Likewise.
3277         (skipFully): Likewise.
3278         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3279         getDefaultTimeZoneId and rewritten.
3280         (getDefaultTimeZoneId): Rewritten in java.
3281         
3282 2004-08-25  David Daney  <daney@avtrex.com>
3283
3284         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3285         * Makefile.in: Regenerated.
3286
3287 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3288
3289         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3290         only if jvmpi is enabled.
3291         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3292         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3293         (_Jv_AllocString): Likewise.
3294         (_Jv_AllocPtrFreeObject): Likewise.     
3295
3296 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3297
3298         * defineclass.cc: Include <stdio.h>.
3299         * java/lang/natClassLoader.cc: Include <stdio.h>.
3300
3301 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3302             Michael Koch  <konqueror@gmx.de>
3303
3304         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3305         * Makefile.in: Regenerated.
3306
3307 2004-08-20  Michael Koch  <konqueror@gmx.de>
3308
3309         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3310         AC_COMPILE_IFELSE macros.
3311
3312 2004-08-20  Michael Koch  <konqueror@gmx.de>
3313
3314         * configure.in: Renamed to configure.ac.
3315         * configure.ac: New file.
3316         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3317         include/config.h.in, testsuite/Makefile.in: Regenerated.
3318
3319 2004-08-20  Michael Koch  <konqueror@gmx.de>
3320
3321         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3322         * aclocal.m4, configure: Regenerated.
3323
3324 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3325             Michael Koch  <konqueror@gmx.de>
3326
3327         * configure.in, Makefile.am: Ported to automake 1.9.
3328         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3329         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3330         Regenerated.
3331
3332 2004-08-19  Tom Tromey  <tromey@redhat.com>
3333
3334         * java/net/DatagramSocket.java: Fixed typo.
3335
3336 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3337
3338         PR libgcj/17081
3339         * java/net/URI.java (string): New field. Make all other fields
3340         transient.
3341         (readObject): Implemented.
3342         (writeObject): Implemented.
3343         (URI): Set 'string'.
3344
3345 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3346
3347         PR libgcj/17079
3348         * java/util/logging/Handler.java (isLoggable): Accept record if its
3349         log level equals the threshold level. From Robin Green.
3350
3351 2004-08-18  David Daney  <ddaney@avtrex.com>
3352
3353         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3354         instead of sigwait.
3355
3356 2004-08-17  Michael Koch  <konqueror@gmx.de>
3357
3358         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3359         * Makefile.in: Regenerated.
3360
3361 2004-08-16  Tom Tromey  <tromey@redhat.com>
3362
3363         PR java/8473:
3364         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3365
3366 2004-08-16  Michael Koch  <konqueror@gmx.de>
3367
3368         * Makefile.am
3369         (math_c_files): Renamed from c_files.
3370         (math_c_source_files): Renamed from c_source_files.
3371         * Makefile.in,
3372         gcj/Makefile.in,
3373         include/Makefile.in,
3374         testsuite/Makefile.in: Regenerated.
3375
3376 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3377
3378         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3379         to avoid autoconf warning.
3380         * configure: Rebuilt.
3381
3382 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3383
3384         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3385         localhostAddress to loopbackAddress.
3386         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3387
3388 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3389
3390         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3391         boehm-gc's include dirs.
3392         * configure: Rebuilt.
3393         * include/boehm-gc.h: Include gc_config.h.
3394
3395 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3396
3397         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3398         localhostAddress.
3399         (getByName): Return loopback address for null hostname, without
3400         security check. Use lookup(), not getAllByName.
3401         (getAllByName): Return loopback address for null hostname, without
3402         security check.
3403         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3404         check here.
3405
3406 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3407
3408         PR libgcj/17020
3409         Reported by Robin Green.
3410         * defineclass.cc (handleField): Don't throw exception on unrecognised
3411         modifier. Add FIXME comments for spec compliance.
3412         (handleMethod): Likewise.
3413
3414 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3415
3416         PR libgcj/16662
3417         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3418         (Almost everywhere): add LOG calls, fix, add comments.
3419         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3420         Add explicit check for LOCKED bit in slow case (PR 16662).
3421         (_Jv_MonitorExit): Add casts in debug-only code.
3422         Always release LOCKED bit before throwing exception.
3423         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3424         isn't.  Handle easy cases without lock acquisition.
3425         (Object::wait): Use NotifyAll for lock inflation.
3426
3427 2004-08-12  David Daney  <ddaney@avtrex.com>
3428
3429         * testsuite/libjava.lang/Process_1.java: New test.
3430         * testsuite/libjava.lang/Process_2.java: New test.
3431         * testsuite/libjava.lang/Process_3.java: New test.
3432         * testsuite/libjava.lang/Process_4.java: New test.
3433         * testsuite/libjava.lang/Process_5.java: New test.
3434         * testsuite/libjava.lang/Process_6.java: New test.
3435         * testsuite/libjava.lang/Process_1.out: Expected result.
3436         * testsuite/libjava.lang/Process_2.out: Expected result.
3437         * testsuite/libjava.lang/Process_3.out: Expected result.
3438         * testsuite/libjava.lang/Process_4.out: Expected result.
3439         * testsuite/libjava.lang/Process_5.out: Expected result.
3440         * testsuite/libjava.lang/Process_6.out: Expected result.
3441
3442 2004-08-12  David Daney  <ddaney@avtrex.com>
3443
3444         PR libgcj/11801
3445         * java/lang/PosixProcess.java: Rewrote.
3446         * java/lang/natPosixProcess.cc: Rewrote.
3447         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3448         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3449         * posix-threads.cc (block_sigchld) New function.
3450         (_Jv_ThreadRegister) Use it.
3451         (_Jv_ThreadStart) Use it.
3452         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3453         * Makefile.am: ... to specify extra native headers.
3454         * configure: Regenerated.
3455         * include/config.h: Regenerated.
3456         * Makefile.in: Regenerated.
3457         * gcj/Makefile.in: Regenerated.
3458         * include/Makefile.in: Regenerated.
3459         * testsuite/Makefile.in: Regenerated.
3460
3461 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3462
3463         PR tree-optimization/16867
3464         * testsuite/libjava.lang/PR16867.java: New test.
3465
3466 2004-08-09  Per Bothner  <per@bothner.com>
3467
3468         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3469         with private fields and access methods.
3470         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3471         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3472         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3473         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3474         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3475         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3476         * jni.cc: Likewise.
3477         * resolve.cc: Likewise.
3478         * gcj/field.h: Likewise.
3479         * include/jvm.h: Likewise.
3480         * java/lang/Class.h: Likewise.
3481         * java/lang/natClass.cc: Likwise.
3482         * java/lang/natClassLoader.cc: Likewise
3483         * java/lang/reflect/natMethod.cc: Likewise
3484         * verify.cc: Likewise.
3485         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3486         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3487
3488 2004-08-10  Andrew Haley  <aph@redhat.com>
3489
3490         * testsuite/libjava.lang/err14.java: New file.
3491         * testsuite/libjava.lang/err14.out: New file.
3492
3493 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3494
3495         * Makefile.am: Fix missing rename from x_nat_headers to 
3496         xlib_nat_headers.
3497         * Makefile.in: Regenerated.
3498
3499 2004-08-04  Andrew Haley  <aph@redhat.com>
3500
3501         * java/security/BasicPermission.java: Don't check wildcards.
3502
3503 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3504             Michael Koch  <konqueror@gmx.de>
3505
3506         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3507         * configure.in: Replaced all usages of AC_LINK_FILES by
3508         AC_CONFIG_LINKS.
3509         * aclocal.m4,
3510         configure: Regenerated.
3511
3512 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3513             Michael Koch  <konqueror@gmx.de>
3514
3515         * acconfig.h: Removed.
3516         * Makefile.am: Rename variables for xlib peer to include xlib and
3517         gtk_c_headers to gtk_jni_headers.
3518         * Makefile.in: Regenerated.
3519
3520 2004-08-04  Andrew Haley  <aph@redhat.com>
3521
3522         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3523         debugging.
3524
3525 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3526
3527         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3528         Replace most top level 'dnl' comments with '#' comments, conforming
3529         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3530         help strings.
3531         * configure: Rebuilt.
3532
3533 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3534
3535         * acinclude.m4: Include no-executables.m4.
3536         * aclocal.m4: Rebuild.
3537         * configure.in: Convert to the autoconf 2.59 version of
3538         of the no-executables hack, and also of the nonstandard CXX
3539         hack and the multilibbed CC and CXX hack.  Change prerequisite
3540         to autoconf 2.59.
3541         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3542         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3543         testsuite/Makefile.in: Regenerate.
3544
3545 2004-08-03  Tom Tromey  <tromey@redhat.com>
3546
3547         * jni.cc: Reindented.
3548
3549 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3550
3551         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3552
3553 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3554
3555         * testsuite/libjava.compile/PR16701.java: New test.
3556
3557 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3558
3559         * java/util/Collection.java, java/util/List.java,
3560         java/util/Map.java, java/util/Set.java,
3561         java/util/SortedMap.java, java/util/SortedSet.java:
3562         Added additional exceptions to documentation.
3563
3564 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3565
3566         PR libgcj/16814
3567         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3568         * configure. Regenerate.
3569         * include/win32.h: Explicitly include winsock2.h
3570         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3571         Winsock api.
3572
3573 2004-07-30  Michael Koch  <konqueror@gmx.de>
3574
3575         * java/util/zip/GZIPInputStream.java
3576         (GZIPInputStream): Increase buffer size to 4k.
3577         * java/util/zip/GZIPOutputStream.java
3578         (GZIPOutputStream): Likewise.
3579         * java/util/zip/Inflater.java
3580         (setInput): Merged formating with GNU classpath.
3581         * java/util/zip/InflaterInputStream.java
3582         (InflaterInputStream): Increase buffer size to 4k.
3583         (fill): Throw exception if stream ends early.
3584         (read): Merged endless-loop with GNU classpath.
3585         (skip): Increase buffer size to 2k.
3586
3587 2004-07-30  Michael Koch  <konqueror@gmx.de>
3588
3589         * gnu/java/awt/EmbeddedWindow.java
3590         (addNotify): Use AccessController to allow execution of privileged
3591         code.
3592
3593 2004-07-29  Michael Koch  <konqueror@gmx.de>
3594
3595         * gnu/java/lang/MainThread.java:
3596         Explicitely import used classes.
3597         (args): Make it type String[].
3598
3599 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3600
3601         * gnu/java/awt/ComponentDataBlitOp.java,
3602         gnu/java/beans/ExplicitBeanInfo.java,
3603         gnu/java/beans/IntrospectionIncubator.java,
3604         gnu/java/beans/editors/ColorEditor.java,
3605         gnu/java/beans/editors/FontEditor.java,
3606         gnu/java/beans/editors/NativeBooleanEditor.java,
3607         gnu/java/beans/editors/NativeByteEditor.java,
3608         gnu/java/beans/editors/NativeDoubleEditor.java,
3609         gnu/java/beans/editors/NativeFloatEditor.java,
3610         gnu/java/beans/editors/NativeIntEditor.java,
3611         gnu/java/beans/editors/NativeLongEditor.java,
3612         gnu/java/beans/editors/NativeShortEditor.java,
3613         gnu/java/beans/editors/StringEditor.java,
3614         gnu/java/io/ClassLoaderObjectInputStream.java,
3615         gnu/java/io/decode/Decoder.java,
3616         gnu/java/io/encode/Encoder.java,
3617         gnu/java/lang/ClassHelper.java,
3618         gnu/java/locale/Calendar.java,
3619         gnu/java/locale/Calendar_de.java,
3620         gnu/java/locale/Calendar_en.java,
3621         gnu/java/locale/Calendar_nl.java,
3622         gnu/java/locale/LocaleInformation_de.java,
3623         gnu/java/locale/LocaleInformation_en.java,
3624         gnu/java/locale/LocaleInformation_nl.java:
3625         Cleaned up imports.
3626
3627 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3628
3629         * README: Remove obsolete info. Update bug URL.
3630         * THANKS: Updated.
3631         * NEWS: Updated with news up to GCC 3.4 release.
3632
3633 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3634
3635         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3636         Renamed from 'setName'. New 2-argument form with default value.
3637         (run): Pass default 'value' parameter to System.getProperty().
3638         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3639         typos.
3640         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3641         not 'setName'.
3642
3643 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3644
3645         * configure.in: Check for minimum GTK version 2.4 requirement.
3646         * configure: Rebuilt.
3647
3648 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3649
3650         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3651         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3652         Reduce sleep time.
3653         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3654         compiler bug.
3655         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3656         address. Reduce sleep times. Synchronize with target threads before
3657         attempting to interrupt them. Don't try to calibrate yeild count,
3658         instead, always loop for a fixed time.
3659         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3660         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3661         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3662         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3663         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3664         * testsuite/libjava.lang/pr179.java: Likewise.
3665         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3666         time. Remove upper bounds check on sleep time. 
3667
3668 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3669
3670         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3671         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3672
3673 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3674
3675         * java/io/File.java (toURI): Throw RuntimeException, not 
3676         InternalError.
3677         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3678         class name, not instance.
3679
3680 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3681
3682         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3683         and gnu/java/security/action/SetAccessibleAction.java.
3684         * Makefile.in: Rebuilt.
3685
3686 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3687
3688         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3689         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3690         _Jv_InitPrimClass.
3691         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3692         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3693         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3694
3695 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3696
3697         * Makefile.am: Replace jar, rmic and rmiregistry references with
3698         gjar, grmic and grmiregistry.
3699         * configure.in: Likewise.
3700         * Makefile.in: Regenerate.
3701         * configure: Likewise.
3702         * gcj/Makefile.in: Likewise.
3703         * include/Makefile.in: Likewise.
3704         * testsuite/Makefile.in: Likewise.
3705
3706 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3707
3708         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3709         for privileged getProperty calls.
3710         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3711         SetAccessibleAction instead of anonymous class for doPrivileged call.
3712         (getMethod): Likewise.
3713         (setAccessible): New field. PrivilegedAction object to use when
3714         calling setAccessible.
3715         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3716         SetAccessibleAction instead of anonymous class for diPrivileged call.
3717         (setFields): Likewise.
3718         (getClassUID): Likewise.
3719         (findMethod): Likewise.
3720         * gnu/java/security/action/GetPropertyAction.java: New class.
3721         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3722
3723 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3724
3725         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3726         for final fields.
3727         * testsuite/libjava.lang/Serialization.java: New test.
3728         * testsuite/libjava.lang/Serialization.out: New.
3729
3730 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3731
3732         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3733         missed in last commit.
3734
3735 2004-07-23  Mark Wielaard  <mark@klomp.org>
3736
3737         * java/lang/System.java (static): Set http.agent system property when
3738         not yet set.
3739         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3740         from system property inside AccessController.doPrivileged() call.
3741         (proxyPort): Made package private.
3742         (proxyInUse): Likewise.
3743         (proxyHost): Likewise.
3744         (userAgent): Likewise.
3745
3746 2004-07-23  Mark Wielaard  <mark@klomp.org>
3747
3748         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3749         implementation.
3750
3751 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3752
3753         * Makefile.am (ordinary_java_source_files): Add
3754         DefaultContentHandlerFactory.java.
3755         * Makefile.in: Rebuilt.
3756         * java/net/URLConnection.java (defaultFactory): New field.
3757         (getContent): 
3758         (getContentHandler): Renamed from 'setContentHandler'. Try 
3759         defaultFactory after user-set factory, if any. Search for content 
3760         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3761         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3762         Implemented.
3763         (getLastModified): Implemented.
3764         (getPermission): Create file permission here, instead of in
3765         constructor.
3766         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3767         Implemented.
3768         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3769         Implemented.
3770         (getLastModified): Implemented.
3771         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3772         Default implementation.
3773         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3774         Implement using GdkPixbufDecoder.
3775         
3776 2004-07-21  Michael Koch  <konqueror@gmx.de>
3777
3778         * javax/swing/JTextArea.java
3779         (setLineWrap): Fire property change event after new value is set.
3780         (setTabSize): Likewise.
3781
3782 2004-07-21  Michael Koch  <konqueror@gmx.de>
3783
3784         * javax/swing/JTable.java
3785         (autoCreateColumnsFromModel): New field.
3786         (autoResizeMode): Likewise.
3787         (cellEditor): Likewise.
3788         (cellSelectionEnabled): Likewise.
3789         (columnModel): Likewise.
3790         (dataModel): Likewise.
3791         (defaultEditorsByColumnClass): Likewise.
3792         (defaultRenderersByColumnClass): Likewise.
3793         (editingColumn): Likewise.
3794         (editingRow): Likewise.
3795         (gridColor): Likewise.
3796         (preferredViewportSize): Likewise.
3797         (rowHeight): Likewise.
3798         (rowMargin): Likewise.
3799         (rowSelectionAllowed): Likewise.
3800         (selectionBackground): Likewise.
3801         (selectionForeground): Likewise.
3802         (selectionModel): Likewise.
3803         (showHorizontalLines): Likewise.
3804         (showVerticalLines): Likewise.
3805         (tableHeader): Likewise.
3806         (JTable): Implemented.
3807         (getColumnModel): Likewise.
3808         (getSelectedRow): Likewise.
3809         (getSelectionModel): Likewise.
3810         (setModel): Likewise.
3811         (setSelectionModel): Likewise.
3812         (createScrollPaneForTable): New method.
3813         (createDefaultDataModel): Likewise.
3814         (createDefaultListSelectionModel): Likewise.
3815         (getModel): Likewise.
3816         (getTableHeader): Likewise.
3817         (setTableHeader): Likewise.
3818         (getColumnSelectionAllowed): Likewise.
3819         (setColumnSelectionAllowed): Likewise.
3820         (getRowSelectionAllowed): Likewise.
3821         (setRowSelectionAllowed): Likewise.
3822         (getAutoResizeMode): Likewise.
3823         (setAutoResizeMode): Likewise.
3824         (getColumnCount): Likewise.
3825         (getRowCount): Likewise.
3826         (getCellRenderer): Likewise.
3827         * javax/swing/JTree.java
3828         (cellRenderer): New field.
3829         (editable): Likewise.
3830         (rootVisible): Likewise.
3831         (showsRootHandles): Likewise.
3832         (getModel): New method.
3833         (setModel): Likewise.
3834         (isEditable): Likewise.
3835         (setEditable): Likewise.
3836         (isRootVisbile): Likewise.
3837         (setRootVisible): Likewise.
3838         (getShowsRootHandles): Likewise.
3839         (setShowRootHandles): Likewise.
3840         (getCellRenderer): Likewise.
3841         (setCellRenderer): Likewise.
3842
3843 2004-07-21  Michael Koch  <konqueror@gmx.de>
3844
3845         * javax/swing/JFormattedTextField.java
3846         (setDocument): Implemented.
3847         * javax/swing/JRootPane.java:
3848         Fixed javadocs.
3849         * javax/swing/JTable.java
3850         (getDefaultRenderer): New method.
3851         * javax/swing/JTextField.java
3852         (setFont): Likewise.
3853         (getPreferredSize): Likewise.
3854         * javax/swing/JToggleButton.java
3855         (getAccessibleContext): Fix javadoc.
3856         * javax/swing/JTree.java:
3857         Add some javadocs.
3858         * javax/swing/JViewport.java:
3859         Likewise.
3860
3861 2004-07-21  David Jee  <djee@redhat.com>
3862
3863         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3864         Collect all native method declaration at the top.
3865         (create): Set the filename filter if necessary.
3866         (setDirectory): Call nativeSetDirectory().
3867         (setFilenameFilter): Implement.
3868         (filenameFilterCallback): New method.
3869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3870         (create): Configure dialog to show hidden files.
3871         (filenameFilterCallback): New function. 
3872         (nativeSetFilenameFilter): New function.
3873         (nativeSetDirectory): New function.
3874
3875 2004-07-21  Kim Ho  <kho@redhat.com>
3876
3877         * javax/swing/plaf/basic/BasicSliderUI.java:
3878         Ran Jalopy.
3879         (paintTrack): Fill the track before painting
3880         the borders.
3881
3882 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3883
3884         patch from Roman Kennke <roman@ontographics.com>
3885         * javax/swing/Spring.java: New file.
3886         * javax/swing/SpringLayout.java: New file.
3887         * Makefile.am: Add new files.
3888         * Makefile.in: Regenerate.
3889
3890 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3891
3892         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3893         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3894         * javax/swing/ScrollPaneLayout.java: Likewise.
3895
3896 2004-07-21  Kim Ho  <kho@redhat.com>
3897
3898         * javax/swing/DefaultDesktopManager.java:
3899         (findMinimum): Removed.
3900         (resizeFrame): Trust the UI to pass valid 
3901         bounds.
3902         * javax/swing/JOptionPane.java:
3903         Implemented showInternalXXXDialog methods.
3904         (startModal): New method.
3905         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3906         (BorderListener::mouseDragged): Verify that the new 
3907         bounds are valid before passing them to the DesktopManager.
3908         (preferredLayoutSize): Delegate
3909         to getSize.
3910         (minimumLayoutSize): Ditto.
3911         (getSize): New method.
3912         (GlassPaneDispatcher): Reimplemented by copying 
3913         a stripped down LightweightDispatcher from Container.
3914         (getMinimumSize): Call minimumLayoutSize.
3915         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3916         Ran Jalopy.
3917         (mousePressed): Add ability to properly close 
3918         JInternalFrames.
3919         * javax/swing/plaf/basic/BasicToolBarUI.java:
3920         (DragWindow): Set owner for DragWindow.
3921
3922 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3923
3924         * java/awt/image/ShortLookupTable.java: New file.
3925         * java/awt/image/ByteLookupTable.java: New file.
3926         * Makefile.am: Added new files.
3927         * Makefile.in: Regenerated.
3928
3929 2004-07-21  David Jee  <djee@redhat.com>
3930
3931         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3932         (create(GtkContainerPeer)): New native method.
3933         (create()): Call native create(), passing in the parent frame
3934         as the paramter. Natively set the current file and directory.
3935         (setFile): Construct an absolute filename before passing it to
3936         the native peer.
3937         (nativeGetDirectory): New method.
3938         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3939         (window_closed): Removed.
3940         (ok_clicked): Likewise.
3941         (cancel_clicked): Likewise.
3942         (handle_response): New method.
3943         (create): Use GtkFileChooserDialog.
3944         (connectSignals): Connect to handle_response.
3945         (nativeGetDirectory): New method.
3946         (nativeSetFile): Use GtkFileChooserDialog.
3947
3948 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3949
3950         * java/awt/image/LookupTable.java: New file.
3951         * Makefile.am: Added new file.
3952         * Makefile.in: Regenerated.
3953
3954 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3955
3956         * java/awt/image/Kernel.java: New file.
3957         * Makefile.am: Added new file.
3958         * Makefile.in: Regenerated.
3959
3960 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3961
3962         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3963         * javax/swing/JMenu.java: Likewise.
3964         * javax/swing/JMenuBar.java: Likewise.
3965         (MARGIN_CHANGED_PROPERTY): New property.
3966         (setMargin): Implemented.
3967         * javax/swing/JMenuItem.java: Fixed javadocs.
3968         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3969         (LABEL_CHANGED_PROPERTY): New property.
3970         (add): changed to use createActionComponent.
3971         (createActionComponent): Implemented.   
3972         (setLabel): Fire PropertyChangeEvent if label property
3973         changes.
3974         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3975         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3976         (ContainerHandler): Repaint if margin property has changed.
3977         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3978         (installUI): Call installComponents().
3979         (uninstallUI): Call uinstallComponents().
3980         * javax/swing/plaf/basic/BasicMenuUI.java:
3981         Fixed javadocs.
3982         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3983         Likewise.
3984
3985 2004-07-21  Kim Ho  <kho@redhat.com>
3986
3987         * javax/swing/plaf/basic/BasicToolBarUI.java:
3988         (DragWindow): Use the right constructor.
3989
3990 2004-07-21  Kim Ho  <kho@redhat.com>
3991
3992         * javax/swing/JToolBar.java:
3993         (layoutContainer): Use getComponents.
3994         * javax/swing/plaf/basic/BasicToolBarUI.java:
3995         (DragWindow): Don't use SwingUtilities' 
3996         getOwnerFrame
3997         (ToolBarDialog): ditto.
3998
3999 2004-07-21  Kim Ho  <kho@redhat.com>
4000
4001         * javax/swing/JRootPane.java:
4002         Ran jalopy.
4003         (layoutContainer): Set the glasspane's size to 
4004         be the same as the content pane.
4005         (createGlassPane): Set opaque property to false.
4006
4007 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4008
4009         * java/awt/Component.java (requestFocus()): Don't handle Panels
4010         specially.
4011         (requestFocus(boolean)): Likewise.
4012         (requestFocusInWindow(boolean)): Likewise.
4013         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4014         Set GTK_CAN_FOCUS flag.
4015
4016 2004-07-21  Kim Ho  <kho@redhat.com>
4017
4018         * Makefile.am: Added new file.
4019         * Makefile.in: Regenerated.
4020         * gcj/Makefile.in: Regenerated.
4021         * include/Makefile.in: Regenerated.
4022         * javax/swing/AbstractButton.java:
4023         Add rollOverEnabled property.
4024         (setRolloverEnabled): Use new property.
4025         (isRolloverEnabled): Use new property.
4026         * javax/swing/JTabbedPane.java:
4027         (setComponent): Remove useless JTabbedPane.this.
4028         * javax/swing/JToolBar.java: Finish implementation.
4029         * javax/swing/plaf/basic/BasicArrowButton.java:
4030         (paint): Moved border painting to a border.
4031         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4032         Change JToolBar look and feel defaults.
4033         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4034         (actionPerformed): Return Integer index instead of name.
4035         (addButtonComponents): Check to see if component is
4036         JButton last.
4037         (createMessageArea): Don't use components that are not
4038         completed yet.
4039         (getIconForType): Use temporary icons.
4040         * javax/swing/plaf/basic/BasicSliderUI.java:
4041         (mousePressed): Do not return if it's on thumb.
4042         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4043         (paintMinorTickForVertSlider): ditto.
4044         (paintMajorTickForHorizSlider): ditto.
4045         (paintMajorTickForVertSlider): ditto.
4046         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4047         Add a border around the SplitPaneDivider.
4048         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4049         Remove comments.
4050         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4051         New file. Implemented.
4052         * javax/swing/plaf/basic/BasicToolBarUI.java:
4053         Implemented.
4054         * testsuite/Makefile.in: Regenerated.
4055
4056 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4057
4058         * javax/swing/Timer.java (run): Queue events each time cycle.
4059
4060 2004-07-21  David Jee  <djee@redhat.com>
4061
4062         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4063         (imageComplete): Call image.imageComplete().
4064         * java/awt/image/MemoryImageSource.java:
4065         Reimplement consumers as a Vector instead of a Hashtable.  This is
4066         because enumeration on a Hashtable is not thread-safe.
4067         (addConsumer): Adapt to Vector consumers.
4068         (isConsumer): Adapt to Vector consumers.
4069         (removeConsumer): Adapt to Vector consumers.
4070         (startProduction): Adapt to Vector consumers. Call imageComplete()
4071         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4072         (newPixels): Adapt to Vector consumers.
4073         (sendPicture): Set the color model of the image consumer.
4074         (newPixels(IIII)): Adapt to Vector consumers.
4075         (newPixels(IIIIB)): Adapt to Vector consumers.
4076
4077 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4078
4079         * java/awt/Component.java (deliverEvent): Implement.
4080         (postEvent): Implement.
4081         (handleEvent): Implement.
4082         (translateEvent): New method.
4083         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4084         * java/awt/Container.java (deliverEvent): Implement.
4085         * java/awt/Event.java (paramString): Fix formatting.
4086         * java/awt/Font.java (toString): Likewise.
4087         * java/awt/Window.java (postEvent): Implement.
4088
4089 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4090
4091         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4092         Set window's focus owner upon receiving a FOCUS_LOST event.
4093         * java/awt/Window.java (Window()): Refocus the previously
4094         focused component within the window when the window regains the
4095         top-level focus.
4096         (setFocusOwner): New method.
4097         * java/awt/Component.java (requestFocus): Add FIXME.
4098
4099         * libgcj.pc.in: Remove library flags.
4100
4101 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4102
4103         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4104         MOUSE_PRESSED event.
4105         * java/awt/Component.java (requestFocus()): Handle Panel
4106         specially.  Post FOCUS_LOST event on opposite component.
4107         (requestFocus(boolean)): Likewise.
4108         (requestFocusInWindow(boolean)): Likewise.
4109         (paramString): Reorder dimension fields.
4110         * java/awt/Container.java (paramString): Fix string format.
4111         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4112         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4113         process key events if the focus owner is non-null.
4114         (dispatchKeyEvent): Likewise.
4115         * java/awt/Frame.java (paramString): Fix formatting.
4116         (generateName): New method.
4117         (getUniqueLong): Likewise.
4118         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4119         the temporary focus owner is null.  If so, return the permanent
4120         focus owner.
4121         * java/awt/Panel.java (generateName): New method.
4122         (getUniqueLong): Likewise.
4123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4124         signal handling to make callbacks more specific.
4125
4126 2004-07-21  Michael Koch  <konqueror@gmx.de>
4127
4128         * javax/swing/text/Position.java
4129         (Bias): Implemented.
4130
4131 2004-07-21  Michael Koch  <konqueror@gmx.de>
4132
4133         * javax/swing/LookAndFeel.java
4134         (provideErrorFeedback): New method.
4135
4136 2004-07-21  Michael Koch  <konqueror@gmx.de>
4137
4138         * javax/swing/JTextArea.java
4139         (tabSize): New field.
4140         (getTabSize): New method.
4141         (setTabSize): Likewise.
4142
4143 2004-07-21  Michael Koch  <konqueror@gmx.de>
4144
4145         * javax/swing/ActionMap.java:
4146         Fixed javadocs all over.
4147         (serialVersionUID): Made private.
4148         (parent): Don't explicitely initialize with default value.
4149         (get): SImplified.
4150         (keys): Reimplemented.
4151         (allKeys): Likewise.
4152         (convertSet): Removed.
4153         * javax/swing/ComponentInputMap.java:
4154         Fixed javadocs all over.
4155         (ComponentInputMap): Implemented.
4156         (put): Likewise.
4157         (clear): Likewise.
4158         (remove): Likewise.
4159         (SetParent): Likewise.
4160         (getComponent): Likewise.
4161         * javax/swing/InputMap.java:
4162         Fixed javadocs all over.
4163         (serialVersionUID): Made private.
4164         (parent): Don't explicitely initialize with default value.
4165         (get): SImplified.
4166         (keys): Reimplemented.
4167         (allKeys): Likewise.
4168         (convertSet): Removed.
4169
4170 2004-07-21  Michael Koch  <konqueror@gmx.de>
4171
4172         * javax/swing/ActionMap.java,
4173         javax/swing/ComponentInputMap.java,
4174         javax/swing/InputMap.java,
4175         javax/swing/table/DefaultTableColumnModel.java,
4176         javax/swing/table/TableColumn.java,
4177         javax/swing/table/TableColumnModel.java,
4178         javax/swing/table/TableModel.java,
4179         javax/swing/text/AbstractDocument.java,
4180         javax/swing/text/TextAction.java:
4181         Reformated.
4182
4183 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4184
4185         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4186         Make method non-static.
4187         * javax/swing/AbstractButton.java:
4188         Rename fields to match property names where possible.
4189         (iconTextGap): New property.
4190         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4191         (init) New method, call from after various constructors.
4192         * javax/swing/JComponent.java (revalidate): 
4193         Invalidate before queueing repair.
4194         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4195         Reimplement in terms of visibleRowCount property.
4196         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4197         * javax/swing/JScrollPane.java (createScrollListener): 
4198         Remove tracing chatter.
4199         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4200         * javax/swing/RepaintManager.java (addInvalidComponent): 
4201         Don't invalidate.
4202         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4203         calculations.
4204         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4205         Mimic sun behavior on top left/right positioning.
4206         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4207         Remove mistaken use of preferredScrollableViewportSize here.
4208         (layoutContainer): Use view's preferred size as basis.
4209         * javax/swing/plaf/basic/BasicButtonUI.java:
4210         Set, get, and use textIconGap property.
4211         (paint) Paint text returned from layout (with ellipsis).
4212         * javax/swing/plaf/basic/BasicListUI.java:
4213         Remove tracing chatter, correct various minor calculations.
4214         (getCellBounds): Update layout state before calculating.
4215         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4216         Use margin default similar to sun's.    
4217         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4218         (createIncreaseIcon): Center icon, minimize margins.
4219         (createDecreaseIcon): Likewise.
4220         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4221         Implement.
4222         (installUI): Call it.
4223         (uninstallDefaults): Implement.
4224         (uninstallUI): Call it.
4225         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4226         Call existing Window constructor.
4227         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4228         Set clip before painting.
4229
4230 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4231         
4232         * javax/swing/JMenuItem.java:
4233         (processMouseEvent): Reimplemented to deal with
4234         mouse drag events.
4235         (createMenuDragMouseEvent): New private helper method.
4236         Creates MenuDragMouseEvent.
4237         * javax/swing/MenuSelectionManager.java
4238         (componentForPoint): Implemented.
4239         (isComponentPartOfCurrentMenu): Made public.
4240         (processMouseEvent): Reimplemented to deal with 
4241         mouse drag events.
4242         (setSelectedPath): Corrected small mistake that caused
4243         path to be set incorrectly.
4244         (getPath): If given component is JMenu then also add this
4245         menu's popup menu to the selected path.
4246         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4247         (getPath): Ditto.
4248         (getPreferredSize): Call getPreferredMenuItemSize().
4249         (getPreferredItemSize): Moved code from getPreferredSize to here.
4250         (installListeners): Install MouseMotionListeners.
4251         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4252         if mouse wasn't released in the bounds of this menu item.
4253         (MenuDragMouseHandler): Implemented.
4254         * javax/swing/plaf/basic/BasicMenuUI.java:
4255         (installListeners): Install MouseMotionListener and 
4256         MenuDrageMouseListener.
4257         (MenuDragMouseHandler): Implemented.
4258         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4259         (uninstallListeners): Implemented.
4260         
4261 2004-07-21  Michael Koch  <konqueror@gmx.de>
4262
4263         * javax/swing/JCheckBox.java: Reformated.
4264         (JCheckBox): Fixed all constructors.
4265         (isBorderPaintedFlat): New method.
4266         (setBorderPaintedFlat): New method.
4267         * javax/swing/JEditorPane.java
4268         (createEditorKitForContentType): Made public.
4269         (scrollToReference): Likewise.
4270         * javax/swing/JTextArea.java
4271         (setLineWrap): Fire property change.
4272         * javax/swing/JToggleButton.java
4273         (JToggleButton): New constructor.
4274         (JToggleButton): Simplified.
4275         * javax/swing/text/AttributeSet.java
4276         (FontAttribute): Renamed from FontCharacterAttribute.
4277         * javax/swing/text/JTextComponent.java
4278         (KeyBinBinding): Added javadoc.
4279         (JTextComponent): Likewise.
4280         (getAccessibleContext): Fixed javadoc.
4281         * javax/swing/text/View.java
4282         (View): Added javadoc.
4283         * javax/swing/text/TabableView.java: New file.
4284         * Makefile.am: Added javax/swing/text/TabableView.java.
4285         * Makefile.in: Regenerated.
4286
4287 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4288
4289         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4290         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4291         (GtkErrorImage): New helper class.
4292         (bufferedImageOrError): New helper method.
4293         (createImage): Use it.
4294
4295 2004-07-21  David Jee  <djee@redhat.com>
4296
4297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4298         (setCaretPosition): Scroll the text view so the new caret position
4299         is visible on screen.
4300
4301 2004-07-21  David Jee  <djee@redhat.com>
4302
4303         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4304         (setBounds): Do not validate awtComponent here.
4305         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4306         (getPreferredSize): New method.
4307         * java/awt/ScrollPane.java
4308         (ScrollPane): Set default size to 100x100.
4309         (addNotify): If child is not a Panel, wrap it with a new Panel.
4310         (paramString): Implement.
4311
4312 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4313
4314         * javax/swing/JMenu.java:
4315         (setSelected): Display popup menu only if this menu 
4316         is showing on the screen.
4317         * javax/swing/JPopupMenu.java:
4318         (processMouseEvent): Added comment.
4319         (processKeyEvent): Likewise.
4320         * javax/swing/MenuSelectionManager.java:
4321         (clearSelectedPath): Only fireStateChanged() after
4322         selected path was changed, not before.
4323         (setSelectedPath): Likewise.
4324         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4325         (paintMenuItem): Corrected position of menu item's
4326         icon.
4327         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4328         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4329         (popupMenuCanceled): Reimplemented.
4330         (popupMenuWillBecomeVisible): Select first menu item by default 
4331         when displaying free floating popup menus.
4332         (TopWindowListener): Reimplemented.
4333
4334 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4335
4336         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4337         Panel from being painted twice when it is first shown.
4338
4339 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4340
4341         * java/awt/Window.java: Reverted changes from my 
4342         previous patch for creating window without an owner.
4343         * javax/swing/SwingUtilities.java: 
4344         (SwingUtilities.OwnerFrame): made static.
4345         (OwnerFrame.setVisible): New method. Overridden with
4346         empty implementation.
4347         (OwnerFrame.isShowing): New method. Ovverridden
4348         to return always true.
4349
4350 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4351
4352         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4353         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4354         (GtkComponentPeer): Remove temporary try/catch block.
4355         (setVisible): Call show and hide.
4356         (show): Make native.
4357         (hide): Likewise.
4358         (getArgs): Don't add "visible" argument.
4359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4360         (property_notify_predicate): Return Bool instead of int.
4361         (find_layout): New function.
4362         (connectJObject): Call find_layout.
4363         (connectSignals): Likewise.
4364         (moveLayout): Likewise.
4365         (gtkLayoutSetVisible): Likewise.
4366
4367 2004-07-21  Mark Wielaard  <mark@klomp.org>
4368
4369         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4370         on notifier object before calling notifyAll().
4371
4372 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4373
4374         * java/awt/Window.java: Changed constructors to use new
4375         method that is described below. Constructors call this
4376         methods only if newly created window should have an owner.
4377         (setWindowOwner): New method. Implementation for
4378         this method is moved from this(owner,configuration).
4379         * javax/swing/JWindow.java:
4380         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4381         instead of owner.
4382         * javax/swing/SwingUtilities.java:
4383         (ownerFrame): Change type of this field to OwnerFrame.
4384         (getOwnerFrame): Changed to return object of type OwnerFrame.
4385         (SwingUtilities.OwnerFrame): New class. Represents owner
4386         of a Window that is not provided with one.
4387
4388 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4389
4390         *  javax/swing/AbstractButton.java: 
4391         (configurePropertiesFromAction): Set action command
4392         to button's text by default if action command is not 
4393         explicitely specified.
4394         * javax/swing/JMenu.java: Remove unnecessary listener
4395         and methods relevant to it.
4396         (setSelected): Reimplemented.
4397         (menuSelectionChanged): Moved most part of implementation to
4398         setSelected() and call it instead.
4399         * javax/swing/JMenuItem.java: 
4400         (init): Comment out statement that sets paint_border to false.
4401         (configurePropertiesFromAction): Do not set accelerator
4402         for JMenu.
4403         (menuSelectionChanged): Change selected index in the selection
4404         model of menu item's parent.
4405         * javax/swing/JPopupMenu.java:
4406         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4407         instead of GridBagConstraints.HORIZONTAL.
4408         (insert): Likewise.
4409         (createActionChangeListener): Implemented.
4410         (setVisible): Correct location of HeavyWeightMenu and 
4411         don't firePopupMenuCanceled().
4412         (menuSelectionChanged): Implemented.
4413         (ActionChangeListener): New Listener. Implemented.
4414         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4415         (BasicMenuBarUI.ContainerHandler): Implemented.
4416         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4417         (paintMenuItem): Uncommented out code that paints 
4418         icon, now that icons are working properly.
4419         (PropertyChangeListener): Implemented.
4420         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4421         Added javadocs.
4422         (topWindowListener): New field.
4423         (Constructor): initialize topWindowListener.
4424         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4425         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4426         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4427         Implemented.
4428
4429 2004-07-21  Michael Koch  <konqueror@gmx.de>
4430
4431         * javax/swing/plaf/basic/BasicButtonUI.java
4432         (paintFocus): Fixed method signature.
4433         (paintButtonPressed): Likewise.
4434         (paintButtonNormal): Likewise.
4435         (paintText): New method.
4436         * javax/swing/plaf/basic/BasicLabelUI.java
4437         (paint): Re-indented.
4438         * javax/swing/plaf/basic/BasicTextUI.java
4439         (installUI): Set parent textComponent to opaque.
4440         * javax/swing/text/DefaultHighlighter.java
4441         (checkPositions): New helper method.
4442         (addHighlight): Throws BadLocationException, check positions.
4443         (changeHighlight): Likewise.
4444         * javax/swing/text/EditorKit.java
4445         (EditorKit): Implements Serializable.
4446         * javax/swing/text/JTextComponent.java
4447         (getUI): Added javadoc.
4448         (setUI): Likewise.
4449         (upadteUI): Added javadoc, don't revalidate and repaint.
4450
4451 2004-07-21  David Jee  <djee@redhat.com>
4452
4453         * java/awt/GridBagLayout.java
4454         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4455         * javax/swing/AbstractButton.java
4456         (setText): Reindent.
4457         * javax/swing/RepaintManager.java
4458         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4459
4460 2004-07-21  Michael Koch  <konqueror@gmx.de>
4461
4462         * javax/swing/JFormattedTextField.java
4463         (value): New field.
4464         (JFormattedTextField): Implemented.
4465         (getValue): Likewise.
4466         (setValue): Likewise.
4467         * javax/swing/LookAndFeel.java
4468         (getSupportsWindowDecorations): New method.
4469         * javax/swing/UIDefaults.java:
4470         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4471         (addPropertyChangeListener): Made public.
4472         (addResourceBundle): Likewise.
4473         (removeResourceBundle): Likewise.
4474         (setDefaultLocale): Likewise.
4475         * javax/swing/plaf/basic/BasicRootPaneUI.java
4476         (BasicRootPaneUI): Implements PropertyChangeListener.
4477         (propertyChange): New method.
4478         * javax/swing/plaf/basic/BasicTextUI.java
4479         (BasicHighlighter): New inner class.
4480         (createHighlighter): New method.
4481         * javax/swing/plaf/basic/BasicToolBarUI.java
4482         (DragWindow): Extends java.awt.Window.
4483         * javax/swing/text/JTextComponent.java
4484         (getDocument): Removed debug output.
4485         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4486         javax/swing/text/DefaultHighlighter.java,
4487         javax/swing/text/FieldView.java,
4488         javax/swing/text/PlainView.java: New files.
4489         * Makefile.am: Added new files.
4490         * Makefile.in: Regenerated.
4491
4492 2004-07-21  Michael Koch  <konqueror@gmx.de>
4493
4494         * javax/swing/JEditorPane.java
4495         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4496         (createEditorKitForContentType): Likewise.
4497         * javax/swing/text/DefaultEditorKit.java
4498         (serialVersionUID): Added constant field.
4499         (EndOfLineStringPropery): Fixed typo.
4500         (DefaultEditorKit): New constructor.
4501         * javax/swing/text/Segment.java:
4502         Import java.text.CharacterIterator.
4503         * javax/swing/text/CharacterIterator.java,
4504         javax/swing/text/PlainEditorKit.java: Removed.
4505         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4506         javax/swing/text/PlainEditorKit.java.
4507         * Makefile.in: Regenerated.
4508
4509 2004-07-21  Michael Koch  <konqueror@gmx.de>
4510
4511         * javax/swing/JButton.java,
4512         javax/swing/text/DefaultEditorKit.java,
4513         javax/swing/text/EditorKit.java,
4514         javax/swing/text/Segment.java,
4515         javax/swing/text/StyledEditorKit.java:
4516         Reformatted.
4517
4518 2004-07-21  Michael Koch  <konqueror@gmx.de>
4519
4520         * javax/swing/ImageIcon.java
4521         (file): Removed.
4522         (description): Renamed from descr.
4523         (ImageIcon): Added missing constructors.
4524         (setParent): Removed.
4525         (setImageObserver): New method.
4526         (getImageObserver): New method.
4527         (paintIcon): Handle observer = null.
4528         * javax/swing/JButton.java
4529         (removeNotify): Fixed javadoc.
4530         (updateUI): Simplified.
4531         * javax/swing/JRootPane.java
4532         (serialVersionUID): New constant field.
4533         * javax/swing/UIManager.java:
4534         Fixed javadocs all over.
4535         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4536         * javax/swing/text/AbstractDocument.java
4537         (createPosition): Throws BadLocationException.
4538         (getText): Likewise.
4539         (remove): Likewise.
4540         * javax/swing/text/ComponentView.java
4541         (modelToView): Likewise.
4542         * javax/swing/text/DefaultEditorKit.java:
4543         Made all public methods public.
4544         (read): Throws BadLocationException and IOException.
4545         (write): Likewise.
4546         * javax/swing/text/EditorKit.java:
4547         Made all public methods public.
4548         (serialVersionUID): New constant field.
4549         (clone): New method.
4550         (read): Throws BadLocationException and IOException.
4551         (write): Likewise.
4552         * javax/swing/text/Segment.java
4553         (array): Made public.
4554         (count): Likewise.
4555         (offset): Likewise.
4556         (Segment): New constructors.
4557         (clone): Reimplemented.
4558         * javax/swing/text/StyledEditorKit.java
4559         (serialVersionUID): New constant field.
4560
4561 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4562
4563         * java/awt/image/BufferedImage.java 
4564         (getSource): Implement.
4565         * javax/swing/ImageIcon.java 
4566         (ImageIcon): Implement ctor.
4567         * javax/swing/ScrollPaneLayout.java 
4568         (preferredLayoutSize): Be more careful about nulls.
4569
4570 2004-07-21  Michael Koch  <konqueror@gmx.de>
4571
4572         * javax/swing/text/AttributeSet.java
4573         (CharacterAttribute): New interface
4574         (ColorAttribute): Likewise.
4575         (FontCharacterAttribute): Likewise.
4576         (ParagraphAttribute): Likewise.
4577         * javax/swing/text/DefaultCaret.java
4578         (moveCaret): New method.
4579         (positionCaret): Likewise.
4580         (repaint): Made protected.
4581         * javax/swing/text/JTextComponent.java
4582         (KeyBinding): Made it static.
4583         * javax/swing/text/View.java
4584         (getContainer): Honor parent == null.
4585
4586 2004-07-21  Michael Koch  <konqueror@gmx.de>
4587
4588         * javax/swing/text/AbstractDocument.java:
4589         Reformatted.
4590
4591 2004-07-21  Michael Koch  <konqueror@gmx.de>
4592
4593         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4594         Import javax.swing.UIManager explicitely.
4595         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4596         (ScrollingButton): Made it static.
4597
4598 2004-07-21  Michael Koch  <konqueror@gmx.de>
4599
4600         * javax/swing/UIDefaults.java
4601         (ActiveValue): Made public.
4602         (LazyValue): Likewise.
4603         * javax/swing/plaf/basic/BasicTextUI.java
4604         (RootView): Reintroduced.
4605         (view): Removed.
4606         (rootView): New field.
4607         (installUI): Create document if needed, initialize rootView.
4608         (uninstallUI): Hanle rootView.
4609         (paint): Likewise.
4610         (getRootView): Likewise.
4611         (setView): Likewise.
4612         * javax/swing/text/DefaultCaret.java:
4613         Renamed all "evt" variables to "event".
4614
4615 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4616
4617         * libgcj.spec.in: Add -l-java-util-logging.
4618
4619 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4620
4621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4622         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4623         gtk-xft-dpi can no calculate the right value.
4624         (dpi_changed_cb): Mark *pspec as unsused.
4625
4626 2004-07-21  David Jee  <djee@redhat.com>
4627
4628         * java/awt/Component.java
4629         (move): Delegate to setBounds().
4630         (resize): Likewise.
4631         (reshape): Fix so it repaints parent and self only when necessary.
4632
4633 2004-07-21  David Jee  <djee@redhat.com>
4634
4635         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4636         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4637         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4638         (setVisible): Likewise.
4639         (show): Likewise.
4640         (hide): Likewise.
4641         (getArgs): Likewise.
4642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4643         (property_notify_predicate): Likewise.
4644         (find_layout): Likewise.
4645         (connectJObject): Likewise.
4646         (connectSignals): Likewise.
4647         (moveLayout): Likewise.
4648         (gtkLayoutSetVisible): Likewise.
4649
4650 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4651
4652         * Makefile.am
4653         (jv_convert_LDADD):
4654         (gij_LDADD):
4655         (rmic_LDADD):
4656         (rmiregistry_LDADD): Add lib-java-util-logging.la
4657         * Makefile.in: Regenerate.
4658
4659 2004-07-21  Michael Koch  <konqueror@gmx.de>
4660
4661         * javax/swing/text/AbstractDocument.java
4662         (replace): Dont use protected method of java.util.Vector directly.
4663
4664 2004-07-21  Michael Koch  <konqueror@gmx.de>
4665
4666         * javax/swing/plaf/basic/BasicTextUI.java
4667         (installUI): Call specialized install methods.
4668         (installDefaults): New method.
4669         (installListeners): Likewise.
4670         (installKeyboardActions): Likewise.
4671         (uninstallUI): Likewise.
4672         (uninstallDefaults): New method.
4673         (uninstallListeners): Likewise.
4674         (uninstallKeyboardActions): Likewise.
4675         (getPropertyPrefix): New abstract method.
4676         (paint): Made final, just call paintSafely().
4677         (paintSavely): New method.
4678         (paintBackground): Likewise.
4679         (getVisibleEditorRect): Likewise.
4680         * javax/swing/text/LayeredHighlighter.java,
4681         javax/swing/text/TabExpander.java: New files.
4682         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4683         and javax/swing/text/TabExpander.java.
4684         * Makefile.in: Regenerated.
4685
4686 2004-07-21  Michael Koch  <konqueror@gmx.de>
4687
4688         * javax/swing/plaf/basic/BasicTextUI.java
4689         (BasicTextUI): Made abstract.
4690         (BasicCaret): New inner class.
4691         (view): Don't explicitely initialize with "null".
4692         (textComponent): New field.
4693         (textColor): Removed.
4694         (disabledTextColor): Removed.
4695         (normalBackgroundColor): Removed.
4696         (RootView): Removed commented out inner class.
4697         (createUI): Removed.
4698         (createCaret): New method.
4699         (getComponent): Likewise.
4700         (installUI): Initialize textComponent only.
4701         (getPreferredSize): Use installed JTextComponent.
4702         (setView): New method.
4703         (create): Likewise.
4704         * javax/swing/text/JTextComponent.java
4705         (highlighter): New field.
4706         (caretColor): Likewise.
4707         (disabledTextColor): Likewise.
4708         (seletedTextColor): Likewise.
4709         (selectionColor): Likewise.
4710         (setUI): New method.
4711         (getCaretColor): Likewise.
4712         (setCaretColor): Likewise.
4713         (getDisabledColor): Likewise.
4714         (setDisabledColor): Likewise.
4715         (getSelectedTextColor): Likewise.
4716         (setSelectedTextColor): Likewise.
4717         (getSelectionColor): Likewise.
4718         (setSelectionColor): Likewise.
4719         (getHighlighter): Likewise.
4720         (setHighlighter): Likewise.
4721         (replaceSelection): Likewise.
4722
4723 2004-07-21  Michael Koch  <konqueror@gmx.de>
4724
4725         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4726         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4727         * javax/swing/plaf/basic/BasicToolBarUI.java
4728         (BasicToolBarUI): Implements SwingConstants.
4729
4730 2004-07-21  Michael Koch  <konqueror@gmx.de>
4731
4732         * javax/swing/JPopupMenu.java: Removed CVS tags.
4733         * javax/swing/UIDefaults.java: Reformatted.
4734         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4735         Explicitely import used classes.
4736
4737 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4738
4739         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4740         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4741         (GtkComponentPeer): Remove temporary try/catch block.
4742         (setVisible): Call show and hide.
4743         (show): Make native.
4744         (hide): Likewise.
4745         (getArgs): Don't add "visible" argument.
4746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4747         (property_notify_predicate): Return Bool instead of int.
4748         (find_layout): New function.
4749         (connectJObject): Call find_layout.
4750         (connectSignals): Likewise.
4751         (moveLayout): Likewise.
4752         (gtkLayoutSetVisible): Likewise.
4753
4754 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4755
4756         * javax/swing/AbstractButton.java:
4757         (setDisplayedMnemonicIndex): Check if button
4758         text is not null before checking its length.
4759         * javax/swing/JMenuItem.java:
4760         (processMouseEvent): Disarm menu item if mouse has
4761         exited it.
4762         * javax/swing/plaf/basic/BasicMenuUI.java:
4763         (MouseInputHandler.mouseEntered): Do not raise
4764         popup menu if this menu is already selected.
4765         (MouseInputHandler.mousePressed): Do not fire 
4766         MenuEvents.
4767         (MenuHandler): Implemented.     
4768
4769 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4770
4771         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4772         (getSelectedObjects): Implemented.
4773         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4774         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4775         Added javadoc for few methods.
4776         (processMouseEvent): Made public.
4777         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4778         (processMouseEvent): Likewise.
4779
4780 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4781
4782         * javax/swing/AbstractButton.java:
4783         (init): Set display mnemonic index to -1.
4784         (setMnemonic(char)): Use setMnemonic(int).
4785         (setMnemonic(int)): Set display mnemonic index.
4786         (getDisplayedMnemonicIndex): Change method signature
4787         by removing 'index' parameter.
4788         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4789         Added default for Menu.selectionBackground.     
4790         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4791         (paintMenuItem): Change background color of the selected
4792         menu item.
4793         (paintText): Paint differently when menu item is disabled.
4794         Also paint mnemonic if it appears in the menu item's label.
4795         (paintAccelerator): Paint accelerator differently
4796         if menu item is disabled.
4797         * javax/swing/plaf/basic/BasicMenuUI.java:
4798         (installDefaults): Install defaults for 
4799         selectionForeground and selectionBackground.
4800         (uninstallDefaults): Uninstall defauls for 
4801         selectionForeground and selectionBackground.
4802
4803 2004-07-21  Michael Koch  <konqueror@gmx.de>
4804
4805         * javax/swing/text/AbstractDocument.java
4806         (BranchElement): Implemented.
4807         (LeafElement): Implemented.
4808         * javax/swing/text/DefaultCaret.java:
4809         Import used classes.
4810         (serialVersionUID): New constant.
4811         * javax/swing/text/JTextComponent.java
4812         (AccessibleJTextComponent): Removed dead declaration.
4813         (caretPos): Removed.
4814         (setCaret): New method.
4815         * javax/swing/text/PlainDocument.java
4816         (rootElement): New field.
4817         (PlainDocument): Initialize rootElement.
4818         (createDefaultRoot): New method.
4819         (getDefaultRootElement): Implemented.
4820         * javax/swing/text/View.java: Reformatted.
4821         * javax/swing/text/ViewFactory.java
4822         (create): Added javadoc.
4823
4824 2004-07-21  Michael Koch  <konqueror@gmx.de>
4825
4826         * javax/swing/ToolTipManager.java: Reformatted.
4827
4828 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4829
4830         * javax/swing/AbstractButton.java
4831         (changeEvent): New field.
4832         (fireItemStateChanged): Change source of the event
4833         to 'this' before firing it to button listeners.
4834         (fireActionPerformed): Likewise.
4835         (fireStateChanged): Likewise.
4836         (createActionListener): Do not set source 
4837         of the event to AbstractButton.                                  
4838         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4839         (ContainerHandler.componentAdded): Removed 
4840         print out statement.
4841         (ContainerHandler.componentRemoved): Likewise.
4842
4843 2004-07-21  Michael Koch  <konqueror@gmx.de>
4844
4845         * javax/swing/text/Highlighter.java: New file.
4846         * Makefile.am: Added javax/swing/text/Highlighter.java.
4847         * Makefile.in: Regenerated.
4848
4849 2004-07-21  Michael Koch  <konqueror@gmx.de>
4850
4851         * javax/swing/ToolTipManager.java
4852         (stillInsideTimerAction): Fixed constructor arguments.
4853         (outsideTimerAction): Likewise.
4854         (insideTimerAction): Likewise.
4855
4856 2004-07-21  Michael Koch  <konqueror@gmx.de>
4857
4858         * javax/swing/JButton.java: Reformatted.
4859         * javax/swing/JFormattedTextField.java
4860         (getUIClassID): Implemented.
4861         * javax/swing/JRootPane.java
4862         (serialVersionUID): New constant.
4863         * javax/swing/JTextField.java
4864         (align): New field.
4865         (JTextField): Simplified.
4866         (getUIClassID): New method.
4867         (getActionListeners): Added @since tag.
4868         (setColumns): Invalidate layout and repaint.
4869         (getHorizontalAlignment): New method.
4870         (setHorizontalAlignment): New method.
4871         (selectAll): Removed.
4872         * javax/swing/SwingUtilities.java
4873         (getAncestorOfClass): Removed redundant @see tag.
4874         (isLeftMouseButton): Fixed implementation.
4875         (isMiddleMouseButton): Likewise.
4876         (isRightMouseButton): Likewise.
4877         * javax/swing/text/AbstractDocument.java
4878         (AttributeContext.addAttribute): New method.
4879         (AttributeContext.addAttributes): New method.
4880         (AttributeContext.getEmptySet): New method.
4881         (AttributeContext.reclaim): New method.
4882         (AttributeContext.removeAttribute): New method.
4883         (AttributeContext.removeAttributes): New method.
4884         * javax/swing/text/Document.java
4885         (createPosition): Throws BadLocationException.
4886         (getText): Likewise.
4887         (remove): Likewise.
4888         * javax/swing/text/JTextComponent.java
4889         (getText): Return null if no document is set. Catch
4890         BadLocationException.
4891         (getUI): Return ui.
4892         (updateUI): Simplified.
4893
4894 2004-07-21  Michael Koch  <konqueror@gmx.de>
4895
4896         * javax/swing/JButton.java
4897         (removeNotify): Fixed javadoc.
4898         (updateUI): Simplified.
4899
4900 2004-07-21  David Jee  <djee@redhat.com>
4901
4902         * gnu/java/awt/image/ImageDecoder.java
4903         (startProduction): Only add consumer if it's not added yet.
4904         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4905         (GdkPixbufDecoder): Don't call initState() here.
4906         (produce): Call initState() here, to ensure area_prepared and
4907         area_updated signals are properly connected.
4908         * gnu/java/awt/peer/gtk/GtkImage.java
4909         (setColorModel): Use equals() to compare ColorModel objects.
4910         (setPixels): Likewise.
4911         * java/awt/image/ColorModel.java
4912         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4913         * java/awt/image/RGBImageFilter.java
4914         (setColorModel): Set consumer's color model.
4915         (setPixels): Use equals() to compare ColorModel objects.
4916
4917 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4918
4919         * java/net/URLConnection.java (position): New field.
4920         (dateFormat1, dateFormat2, dateFormat3): Removed.
4921         (dateFormats): New field.
4922         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4923         each time instead of re-allocating.
4924         (initializeDateFormats): Initialize 'dateFormats'.
4925
4926 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4927
4928         PR libgcj/16591
4929         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4930         is defined.
4931
4932 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4933
4934         * java/net/Socket.java (getImpl): Now private. Remove comment.
4935
4936 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4937
4938         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4939         of chained Writer when calling super-constructor.
4940         * java/io/FilterWriter.java (FilterWriter): Likewise.
4941         * java/io/PrintWriter.java (PrintWriter): Likewise.
4942
4943 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4944
4945         * prims.cc (process_gcj_properties): Don't increment i within LHS
4946         of assignment.
4947
4948 2004-07-19  Per Bothner  <per@bothner.com>
4949
4950         Print -verbose:message on "loading", not initialization.
4951         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4952         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4953         gcj::verbose_class_flag.
4954         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4955         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4956         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4957         (_Jv_PrepareCompiledClass):  Likewise.
4958
4959 2004-07-18  Matthias Klose  <doko@debian.org>
4960
4961         * configure.in: Substitute target_noncanonical.
4962         * configure: Regenerate
4963
4964 2004-07-17  Michael Koch  <konqueror@gmx.de>
4965
4966         * java/lang/String.java: Fixed javadocs all over.
4967
4968 2004-07-17  Mark Wielaard  <mark@klomp.org>
4969
4970         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4971         when size is smaller.
4972         * java/io/RandomAccessFile.java (setLength): Use truncate for
4973         shrinking the file and seek plus write for expanding the file.
4974
4975 2004-07-17  Michael Koch  <konqueror@gmx.de>
4976
4977         * gnu/java/nio/channels/natFileChannelPosix.cc
4978         (implTruncate): Always save current position. Only reposition file
4979         pointer to where we started if not beyond new lenght. Reposition file
4980         pointer to file length if it points beyond the end of file.
4981
4982 2004-07-17  Mark Wielaard  <mark@klomp.org>
4983
4984         * javax/swing/Box.java: Put FIXME comment above class declaration.
4985         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4986         * javax/swing/JCheckBox.java: Likewise.
4987         * javax/swing/JDialog.java: Likewise.
4988         * javax/swing/JRadioButton.java: Likewise.
4989         * javax/swing/JToggleButton.java: Likewise.
4990         * javax/swing/UIManager.java: Likewise.
4991         * javax/swing/border/TitledBorder.java: Likewise.
4992         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4993         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4994         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4995         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4996         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4997         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4998         * javax/swing/text/JTextComponent.java: Likewise.
4999
5000 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5001
5002         * java/net/DatagramPacket.java (setAddress): Removed check for
5003         null address.
5004
5005 2004-07-17  Michael Koch  <konqueror@gmx.de>
5006
5007         * java/net/DatagramSocket.java
5008         (getLocalAddress): Check if socket is bound or not.
5009         * java/net/Socket.java
5010         (getLocalAddrss): Check if socket is bound or not.
5011         (getPort): Return -1 when not connected. Dont check getImpl() for
5012         null.
5013         (setReuseAddress): Check if socket is closed.
5014         (isConnected): Check if getImpl() returns null.
5015
5016 2004-07-17  Mark Wielaard  <mark@klomp.org>
5017
5018         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5019         on notifier object before calling notifyAll().
5020
5021 2004-07-17  Michael Koch  <konqueror@gmx.de>
5022
5023         * gnu/java/nio/channels/FileChannelImpl.java
5024         (finalize): Added javadoc.
5025
5026 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5027
5028         * java/text/CollationElementIterator.java
5029         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5030         (setText): Use ArrayList instead of Vector.
5031
5032 2004-07-17  Michael Koch  <konqueror@gmx.de>
5033
5034         * java/nio/ByteOrder.java
5035         (static): Removed. Not needed.
5036         Thanks to Patrick Reali for noticing.
5037         * java/nio/charset/CharsetDecoder.java
5038         (decode): Fix for classpath bug #9177: Reset state before flipping.
5039
5040 2004-07-17  Michael Koch  <konqueror@gmx.de>
5041
5042         * java/security/Security.java: Fixed javadocs all over.
5043
5044 2004-07-17  Michael Koch  <konqueror@gmx.de>
5045
5046         * gnu/java/awt/EmbeddedWindow.java
5047         (static): Removed.
5048         (addNotify): Set peer via reflection.
5049         (setWindowPeer): Removed.
5050         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5051         * Makefile.am (nat_source_files):
5052         Removed gnu/java/awt/natEmbeddedWindow.cc.
5053         * Makefile.in: Regenerated.
5054
5055 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5056
5057         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5058         assignment.
5059         * configure: Regenerated.
5060
5061 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5062
5063         * configure.in: Use build_noncanonical rather than build_alias.
5064         * configure: Rebuild.
5065
5066         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5067         by logic refactoring.  Move default definition of NATIVE closer
5068         to first alternate definition.
5069         * configure: Regenerate.
5070
5071         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5072         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5073         gcj/Makefile.in: Regenerate.
5074         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5075         in AM_CONDITIONAL(NATIVE,...)
5076         * configure: Regenerate.
5077
5078 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5079
5080         * configure.in: Use target_noncanonical rather than
5081         target_alias for forward-compatibility with autoconf 2.59.
5082         * configure: Regenerate.
5083         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5084         testsuite/Makefile.am: Substitute target_noncanonical.
5085         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5086         testsuite/Makefile.in: Regenerate.
5087
5088         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5089         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5090         * acinclude.m4: Include acx.m4.
5091         * aclocal.m4: Regenerate.
5092         * configure: Regenerate.
5093
5094 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5095
5096         PR libgcj/16574
5097         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5098         (decimalFormat): New static variable.
5099         (sbuf): Likewise.
5100         (getTime): New. Override Date.getTime().
5101         (toString): Synchronize. Use decimalFormat to format nanos value
5102         correctly. Truncate extra zeros.
5103         (before): Compare getNanos() only if getTime() is equal.
5104         (after): Likewise.
5105         
5106 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5107
5108         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5109         * configure.in: ...here.
5110         * aclocal.m4: Regenerate.
5111         * configure: Regenerate.
5112
5113         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5114         * configure: Rebuilt with autoconf 2.13.
5115         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5116         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5117
5118 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5119
5120         PR libgcj/16204
5121         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5122         large file support.
5123         * Makefile.in: Rebuilt.
5124         * testsuite/libjava.lang/LargeFile.java: New test case.
5125         * testsuite/libjava.lang/LargeFile.out: New file.
5126
5127 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5128
5129         * java/beans/EventHandler.java: Remove debugging statements.
5130
5131 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5132
5133         * java/beans/EventHandler.java: New file.
5134         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5135         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5136         testsuite/Makefile.in: Regenerate.
5137
5138 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5139
5140         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5141         flag to the gcj_setup.
5142         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5143         the tclsh.
5144         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5145         deprecation flag change. 58 XFAILS removed.
5146
5147 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5148
5149         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5150         -fno-use-divide-subroutine.
5151         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5152         (HANDLE_FPE): Define.
5153         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5154         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5155         (HANDLE_DIVIDE_OVERFLOW): Define.
5156
5157 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5158             Matthias Klose  <doko@debian.org> 
5159
5160         * java/awt/im/InputContext.java: Initialize in, line.
5161
5162 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5163
5164         * interpret.cc (run): Correctly access libffi return values of
5165         integral smaller-than-int type; these are implicitly promoted.
5166
5167 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5168
5169         PR libgcj/7587
5170         * interpret.cc (compile_mutex): New.
5171         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5172         (run): Lock compile_mutex before calling compile() if compilation is
5173         required.
5174         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5175         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5176
5177 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5178
5179         PR libgcj/15713
5180         * include/jvm.h (_Jv_value): New union type.
5181         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5182         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5183         union members.
5184
5185 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5186
5187         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5188         * gnu/awt/xlib/XOffScreenImage.java
5189           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5190           constructor argument. Add constructor using ImageProducer.
5191           (getSource): Implement.
5192           (imageComplete): New method.
5193           (setColorModel): New method.
5194           (setDimensions): New method.
5195           (setHints): New method.
5196           (setPixels): New method.
5197           (setProperties): New method.
5198         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5199         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5200
5201 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5202
5203         PR libgcj/16478 
5204         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5205         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5206         (finalizerReady): Now native.
5207         (run): Likewise.
5208         (runFinalizers): Removed.
5209         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5210         a primitive lock, and don't hold it while running the finalizers.
5211         (runFinalizers): Implement. Don't aquire any Java lock.
5212         (finalizerReady): Use lock primitives to signal finalizer thread.
5213
5214 2004-07-11  Mark Wielaard  <mark@klomp.org>
5215
5216         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5217         * java/net/URLStreamHandler.java (parseURL): When url file part
5218         doesn't contain a '/' just ignore context.
5219
5220 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5221
5222         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5223         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5224         (MAKE_THROW_FRAME): Do not modify PSW address.
5225         (INIT_SEGV): Install SIGINFO-style signal handler.
5226         (INIT_FPE): Likewise.
5227
5228 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5229
5230         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5231         status. 21 xfail's removed, 1 added.
5232
5233 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5234
5235         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5236
5237 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5238
5239         * java/text/MessageFormat.java
5240         (formatInternal): Append "{n}" if argument n is unavailable.
5241         (format(Object, StringBuffer, FieldPosition)): This
5242         should be equivalent to format(Object[],
5243         StringBuffer, FieldPosition).
5244
5245 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5246
5247         * java.util.Calendar.java (cache): New private static field. Cached
5248         mappings of locales->calendar classes.
5249         (ctorArgTypes): New private static field. Singleton argument for
5250         calendar class constructor lookup.
5251         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5252         Optimize by bypassing reflection instantiation for the 
5253         GregorianCalendar case.
5254
5255 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5256
5257         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5258         ResourceBundle.getBundle() calls.
5259         * java/util/GregorianCalendar.java: Likewise.
5260         * java/util/Currency.java: Likewise.
5261         * java/text/BreakIterator.java: Likewise.
5262         * java/text/Collator.java: Likewise.
5263         * java/text/DateFormat.java: Likewise.
5264         * java/text/DateFormatSymbols.java: Likewise.
5265         * java/text/DecimalFormatSymbols.java: Likewise.
5266         * java/text/NumberFormat.java: Likewise.
5267         * java/awt/Window.java: Likewise.       
5268
5269 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5270
5271         * java/util/ResourceBundle.java (bundleCache): Renamed from
5272         resourceBundleCache. Update comments.
5273         (getObject): Don't catch MissingResourceException.
5274         (getBundle(String)): Remove 'final'. Use system classloader if
5275         getCallingClassLoader returned null.
5276         (getBundle(String, Locale)): Likewise.
5277         (BundleKey): New private class. HashMap key for bundle cache lookup.
5278         (lookupKey): New. Singleton instance of BundleKey.
5279         (nullEntry): New. Cache entry to represent failed lookups.
5280         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5281         caching strategy, no-allocation lookup, and new tryBundle methods.
5282         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5283         name using given classloader.
5284         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5285         baseName for given Locale and attempt to load bundle.
5286
5287 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5288
5289         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5290         illegal protected method calls.
5291
5292 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5293
5294         Fix or remove some bogus test cases.
5295         * testsuite/libjava.compile/pr10459_2.java: Removed.
5296         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5297         not Object.clone().
5298         * testsuite/libjava.compile/inner_data.java: Test against its own
5299         protected field.
5300
5301 2004-07-09  Michael Koch  <konqueror@gmx.de>
5302
5303         * scripts/unicode-muncher.pl: Updated to version 2.1
5304         from GNU classpath. Added some clarifications on where to find the
5305         needed files from www.unicode.org.
5306         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5307         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5308         Removed, these can directly be downloaded from www.unicode.org if
5309         needed. 
5310         * gnu/java/lang/CharData.java: Regenerated.
5311         * include/java-chartables.h: Regenerated.
5312         * Makefile.am (ordinary_java_source_files):
5313         Removed gnu/java/lang/CharData.java.
5314         * Makefile.in: Regenerated.
5315
5316 2004-07-09  Michael Koch  <konqueror@gmx.de>
5317
5318         * java/security/AccessControlContext.java,
5319         java/security/SecureClassLoader.java:
5320         Fixed javadocs.
5321
5322 2004-07-09  Michael Koch  <konqueror@gmx.de>
5323
5324         * java/io/ObjectInputStream.java (readFields): Use long datatype
5325         when shifting byte values more then 24 bits left.
5326
5327 2004-07-09  Michael Koch  <konqueror@gmx.de>
5328
5329         * java/util/zip/DeflaterOutputStream.java,
5330         java/util/zip/GZIPInputStream.java,
5331         java/util/zip/GZIPOutputStream.java,
5332         java/util/zip/InflaterInputStream.java:
5333         Reformatted. Added javadocs. Reordered all stuff.
5334         Renamed variables to be more clear.
5335
5336 2004-07-09  Michael Koch  <konqueror@gmx.de>
5337
5338         * javax/imageio/IIOException.java,
5339         javax/imageio/event/IIOReadProgressListener.java,
5340         javax/imageio/event/IIOReadUpdateListener.java,
5341         javax/imageio/event/IIOReadWarningListener.java,
5342         javax/imageio/event/IIOWriteProgressListener.java,
5343         javax/imageio/event/IIOWriteWarningListener.java:
5344         New files.
5345         * Makefile.am: Added new files.
5346         * Makefile.in: Regenerated.
5347
5348 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5349
5350         * java/text/RuleBasedCollator.java
5351         (mergeRules): Use ArrayList instead of Vector.
5352         (subParseString): likewise.
5353         (parseString): likewise.
5354         (buildCollationVector): likewise.
5355         (getCollationKey): likewise.
5356
5357 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5358
5359         * java/text/DateFormat.java (parse):
5360         Improved javadoc. Improved exception message.
5361
5362 2004-07-09  Mark Wielaard  <mark@klomp.org>
5363
5364         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5365         interrupted() method to clear interupt flag of our Thread.
5366
5367 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5368
5369         * java/nio/Buffer.java,
5370         java/nio/ByteBuffer.java,
5371         java/nio/ByteBufferHelper.java,
5372         java/nio/ByteBufferImpl.java,
5373         java/nio/CharBuffer.java,
5374         java/nio/CharBufferImpl.java,
5375         java/nio/CharViewBufferImpl.java,
5376         java/nio/DirectByteBufferImpl.java,
5377         java/nio/DoubleBuffer.java,
5378         java/nio/DoubleBufferImpl.java,
5379         java/nio/DoubleViewBufferImpl.java,
5380         java/nio/FloatBuffer.java,
5381         java/nio/FloatBufferImpl.java,
5382         java/nio/FloatViewBufferImpl.java,
5383         java/nio/IntBuffer.java,
5384         java/nio/IntBufferImpl.java,
5385         java/nio/IntViewBufferImpl.java,
5386         java/nio/LongBuffer.java,
5387         java/nio/LongBufferImpl.java,
5388         java/nio/LongViewBufferImpl.java,
5389         java/nio/MappedByteBufferImpl.java,
5390         java/nio/ShortBuffer.java,
5391         java/nio/ShortBufferImpl.java,
5392         java/nio/ShortViewBufferImpl.java:
5393         Fixed javadocs all over. Improved input error
5394         checking.
5395
5396         * java/nio/Buffer.java
5397         (checkForUnderflow, checkForOverflow, checkIndex,
5398         checkIfReadOnly, checkArraySize): New helper methods
5399         for error checking.
5400
5401         * java/nio/ByteBufferHelper.java
5402         (checkRemainingForRead, checkRemainingForWrite,
5403         checkAvailableForRead, checkAvailableForWrite): Removed
5404         no longer needed methods.
5405
5406 2004-07-09  Michael Koch  <konqueror@gmx.de>
5407
5408         * gnu/regexp/CharIndexedInputStream.java:
5409         Reordered imports to match classpath.
5410
5411 2004-07-09  Michael Koch  <konqueror@gmx.de>
5412
5413         * gnu/java/awt/EmbeddedWindow.java:
5414         Load native library for setWindowPeer method.
5415
5416 2004-07-08  Randolph Chung  <tausq@debian.org>
5417
5418         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5419         * configure: Regenerate.
5420         * configure.host: Set can_unwind_signal for hppa*-linux.
5421         * include/pa-signal.h: New file.
5422
5423 2004-07-07  Per Bothner  <per@bothner.com>
5424
5425         * Makefile.am:  Add rules to build libgij from just gij.cc.
5426
5427         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5428         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5429         (initializeClass):  If verbose_class_flag, print message.
5430         * gij.cc (main):  Handle -verbose:class flag.
5431
5432 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5433
5434         * configure.host: Enable hash synchronization on Darwin.
5435         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5436         ';', since this is a comment on Darwin.
5437         (compare_and_swap_release): Likewise.
5438
5439 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5440
5441         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5442         file portion of URL in addition to spec for file: protocol.
5443
5444 2004-07-05  Anthony Green  <green@redhat.com>
5445
5446         * java/io/File.java (toURI): Merge from Classpath.
5447
5448 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5449
5450         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5451         before passing to URL constructor. Rethrow any MalformedURLException
5452         as a RuntimeException. Catch MalformedURLException specifically, not
5453         all exceptions.
5454
5455 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5456
5457         * java/util/Locale.java (readObject): Intern strings read from object
5458         stream.
5459
5460 2004-07-04  Michael Koch  <konqueror@gmx.de>
5461
5462         * gnu/gcj/runtime/FirstThread.java,
5463         gnu/gcj/runtime/natFirstThread.cc: Removed.
5464         * gnu/java/lang/MainThread.java,
5465         gnu/java/lang/natMainThread.cc: New files.
5466         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5467         * Makefile.am: Added new files and removed deleted ones.
5468         * Makefile.in: Regenerated.
5469
5470 2004-07-03  Mark Wielaard  <mark@klomp.org>
5471             Anthony Green  <green@redhat.com>
5472
5473         * java/net/URL.java (getFile): Clarify return value doc.
5474         (getPath): Return null if file is empty - not empty String.
5475         (set): Convert protocol to lower case before doing anything.
5476         Only change the protocol handler if it's different.
5477
5478 2004-07-03  Anthony Green  <green@redhat.com>
5479
5480         * java/net/URL.java (URL): Convert protocol to lower case before
5481         doing anything, so we getURLStreamHandler() with the proper value.
5482
5483 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5484
5485         * java/util/Locale.java (hashcode): Made transient.
5486         (hashCode): No longer synchronized.
5487         (equals): Remove comment.
5488         (writeObject): No longer synchronized. Implement using writeObject 
5489         calls instead of tweaking hashCode field. Update doc.
5490         (readObject): Implement using readObject calls.
5491
5492 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5493             Andreas Tobler  <a.tobler@schweiz.ch>
5494
5495         * configure.host (powerpc-*-darwin*): New case, define
5496         can_unwind_signal.
5497         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5498         * configure: Regenerate.
5499         * include/darwin-signal.h: New.
5500
5501 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5502
5503         * java/beans/Statement.java (doExecute): Fix formatting.
5504
5505 2004-06-29  Per Bothner  <per@bothner.com>
5506
5507         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5508         etc etc):  Remove needless parenthesis, which causes __stdcall__
5509         attribute on MinGW to get ignored.
5510
5511 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5512
5513         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5514
5515 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5516
5517         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5518
5519 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5520
5521         * java/beans/Expression.java: New file.
5522         * java/beans/Statement.java: New file.
5523         * Makefile.am: Added new files.
5524         * Makefile.in: Re-generate.
5525
5526 2004-06-27 Mark Wielaard  <mark@klomp.org>
5527
5528         * java/io/FilePermission.java (usingPerms): Removed.
5529         (actionsString): Made final.
5530         (cachePerms): Renamed to checkPerms.
5531         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5532         on action String.
5533         (FilePermission): Check arguments, call checkPerms().
5534         (equals): Remove cachePerms() call.
5535         (implies): Likewise.
5536
5537 2004-06-27  Mark Wielaard  <mark@klomp.org>
5538
5539         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5540         final field.
5541         (sendRequest): Use new field in user-agent http agent.
5542
5543 2004-06-27  Mark Wielaard  <mark@klomp.org>
5544
5545         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5546         when argument is null.
5547
5548 2004-06-26  Mark Wielaard  <mark@klomp.org>
5549
5550         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5551         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5552         GetMethodID call.
5553         (cancel_clicked): Likewise.
5554
5555 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5556
5557         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5558         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5559         can not calculate the right value.
5560         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5561
5562 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5563
5564         * testsuite/libjava.jacks/jacks.xfail: Remove
5565         15.9.1-qualified-concrete-20.
5566
5567 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5568
5569         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5570         encoding name to iconv.
5571         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5572
5573 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5574
5575         PR libgcj/16134:
5576         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5577         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5578         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5579
5580 2004-06-21  Andrew Haley  <aph@redhat.com>
5581
5582         * java/io/ObjectOutputStream.java: Add DEBUG statements
5583         everywhere.
5584         (dumpElementln): New method.
5585         (depth): New field.
5586         * java/io/ObjectInputStream.java
5587         (currentClassLoader): Make native.
5588         (callersClassLoader): New field.
5589         (depth): New field.
5590         (readObject): ENDBLOCKDATA is generated if the class has a write
5591         method, not if it has a read method.
5592         (readObject): Save and restore this.currentObject and
5593         this.currentObjectStreamClass around calls to callReadMethod().
5594         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5595         method.
5596
5597 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5598
5599         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5600         darwin.
5601
5602 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5603
5604         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5605         if desired, before the default class loader is initialised.
5606         Call INIT_SEGV only if HANDLE_SEGV is defined.
5607
5608 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5609
5610         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5611         directory only if it actually exists.
5612
5613 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5614
5615         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5616         Fix up non-ansi comments.
5617
5618 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5619
5620         * javax/swing/text/AbstractDocument.java: Adding missing import
5621         for javax.swing.event.EventListenerList.
5622         * javax/swing/text/DefaultCaret.java: Likewise.
5623
5624 2004-06-17  Michael Koch  <konqueror@gmx.de>
5625
5626         * javax/swing/JToolBar.java
5627         (name): Removed.
5628         (JToolBar): Use Component.setName(String) instead of doing it all
5629         alone.
5630         * javax/swing/Timer.java
5631         (queueEvent): Added missing modifier.
5632
5633 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5634
5635         * Makefile.am: Added new file.
5636         * Makefile.in: Re-generate.
5637         * javax/swing/JMenu.java:
5638         (insertSeparator): Implemented.
5639         * javax/swing/JPopupMenu.java:
5640         (JPopupMenu.Separator): Implemented.
5641         * javax/swing/MenuSelectionManager.java:
5642         (processMouseEvent): Use java.awt.Component 
5643         for event source instead of javax.swing.JComponent. 
5644         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5645         New File. Implemented.
5646         
5647 2004-06-16  David Jee  <djee@redhat.com>
5648
5649         * java/awt/GridBagLayout.java
5650         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5651         Make sure pos_x and pos_y are never negative.
5652
5653 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5654
5655         * Makefile.am: Add new file.
5656         * Makefile.in: Re-generate.     
5657         * javax/swing/JToolBar.java
5658         Partially implemented.
5659         * javax/swing/plaf/basic/BasicToolBarUI.java
5660         New file. Partially implemented.
5661
5662 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5663
5664         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5665         (setComposite): Accept AlphaComposite arguments.
5666         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5667         (createBufferedImage): Add new overloads.
5668         * gnu/java/awt/peer/gtk/GtkToolkit.java
5669         (createImage): Use GdkPixbufDecoder.createBufferedImage
5670         when useGraphics2D() is true.
5671         (getImage): Delegate to createImage.
5672         * javax/swing/JList.java
5673         (isSelectionEmpty):
5674         (getFirstVisibleIndex):
5675         (getLastVisibleIndex):
5676         (setSelectedValue):
5677         (ensureIndexIsVisible): New methods.
5678         * javax/swing/Timer.java: Reimplement.
5679
5680 2004-06-16  Michael Koch  <konqueror@gmx.de>
5681
5682         * javax/swing/text/AbstractDocument.java
5683         (AbstracElement): Made public, implements java.io.Serializable.
5684         (AttributeContext): Made public.
5685         (BranchElement): Likewise.
5686         (Content): Likewise.
5687         (DefaultDocumentEvent): Made public, extends
5688         javax.swing.undo.CompoundEdit.
5689         (ElementEdit): Made public, extends
5690         javax.swing.undo.AbstractUndoableEdit.
5691         (LeafElement): Made public.
5692         (LeafElement.LeafElement): Made public.
5693
5694 2004-06-16  Michael Koch  <konqueror@gmx.de>
5695
5696         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5697         methods (that were obviously never be intended to get included hi this
5698         class. Added some methods too.
5699
5700 2004-06-16  Michael Koch  <konqueror@gmx.de>
5701
5702         * javax/swing/text/PlainDocument.java
5703         (serialVersionUID): New constant.
5704         (lineLimitAttribute): Likewise.
5705         (tabSizeAttribute): Likewise.
5706         (tabSize): New field.
5707         (PlainDocument): Made public.
5708         (PlainDocument): New constructor.
5709
5710 2004-06-16  Michael Koch  <konqueror@gmx.de>
5711
5712         * javax/swing/text/AbstractDocument.java
5713         (insertString): Throws BadLocationException.
5714         * javax/swing/text/Document.java
5715         (insertString): Likewise.
5716         * javax/swing/text/JTextComponent.java:
5717         Javadocs and comments cleaned up.
5718
5719 2004-06-16  Michael Koch  <konqueror@gmx.de>
5720
5721         * javax/swing/event/UndoableEditListener.java: Reformatted.
5722         * javax/swing/text/AbstractDocument.java
5723         (AbstractDocument): Implements java.io.Serializable.
5724         (doc_list): Removed.
5725         (undo_list): Removed.
5726         (AbstractElement.serialVerionUID): New field.
5727         (BranchElement.serialVerionUID): Likewise.
5728         (DefaultDocumentEvent.serialVerionUID): Likewise.
5729         (ElementEdit.serialVerionUID): Likewise.
5730         (LeafElement.serialVerionUID): Likewise.
5731         (serialVerionUID): Likewise.
5732         (BAD_LOCATION): New constant.
5733         (BidiElementName): Likewise.
5734         (ContentElementName): Likewise.
5735         (ParagraphElementName): Likewise.
5736         (SectionElementName): Likewise.
5737         (ElementNameAttribute): Likewise.
5738         (AbstractDocument): Made protected.
5739         (AbstractDocument): New construtor.
5740         (listenerList): New field.
5741         (fireChangedUpdate): Implemented.
5742         (fireInsertUpdate): Likewise.
5743         (fireRemoveUpdate): Likewise.
5744         (fireUndoableEditUpdate): Likewise.
5745         (getListeners): Likewise.
5746         (addDocumentListener): Likewise.
5747         (removeDocumentListener): Likewise.
5748         (addUndoableEditListener): Likewise.
5749         (removeUndoableEditListener): Likewise.
5750         (getDocumentListeners): New method.
5751         (getUndoableEditListeners): Likewise.
5752         (getAsynchronousLoadPriority): Made public.
5753         (getBidiRootElement): Likewise.
5754         (setAsynchronousLoadPriority): Likewise.
5755         (setDocumentProperties): Likewise.
5756         * javax/swing/text/BadLocationException.java
5757         (serialVerionUID): New field.
5758         * javax/swing/text/DefaultCaret.java
5759         (changeEvent): New field.
5760         (listenerList): Likewise.
5761         (changes): Removed.
5762         (addChangeListener): Reimplemented.
5763         (removeChangeListener): Likewise.
5764         (getListeners): New method.
5765         (getChangeListeners): Likwise.
5766         (getComponent): Likewise.
5767         * javax/swing/text/GapContent.java
5768         (GapContent): Implements java.io.Serializable.
5769         (serialVerionUID): New field.
5770
5771 2004-06-16  Michael Koch  <konqueror@gmx.de>
5772
5773         * javax/swing/JTree.java
5774         (treeModel): New field.
5775         (JTree): New constructors, one existing one made public.
5776         (createTreeModel): New method.
5777         (addTreeExpansionListener): Likewise.
5778         (removeTreeExpansionListener): Likewise.
5779         (getTreeExpansionListeners): Likewise.
5780         (fireTreeCollapsed): Likewise.
5781         (fireTreeExpanded): Likewise.
5782         (addTreeSelectionListener): Likewise.
5783         (removeTreeSelectionListener): Likewise.
5784         (getTreeSelectionListeners): Likewise.
5785         (fireValueChanged): Likewise.
5786         (addTreeWillExpandListener): Likewise.
5787         (removeTreeWillExpandListener): Likewise.
5788         (getTreeWillExpandListeners): Likewise.
5789         (fireTreeWillCollapse): Likewise.
5790         (fireTreeWillExpand): Likewise.
5791
5792 2004-06-16  Michael Koch  <konqueror@gmx.de>
5793
5794         * javax/swing/JTree.java: Reformatted.
5795
5796 2004-06-16  Michael Koch  <konqueror@gmx.de>
5797
5798         * javax/swing/JTextArea.java: New file.
5799         * javax/swing/JTextField.java
5800         (actions): Removed.
5801         (notifyAction): New constant.
5802         (columns): New field.
5803         (JTextField): New constructors.
5804         (createDefaultModel): New method.
5805         (addActionListener): Reimplmemented.
5806         (removeActionListener): Reimplemented.
5807         (getActionListeners): New method.
5808         (fireActionPerformed): New method.
5809         (getColumns): New method.
5810         (setColumne): New method.
5811         * javax/swing/text/JTextComponent.java
5812         (AccessibleJTextComponent.serialVersionUID): New field.
5813         (serialVersionUID): Likewise.
5814         (DEFAULT_KEYMAP): Likewise.
5815         (FOCUS_ACCELERATOR_KEY): Likewise.
5816         (doc): Made private.
5817         (icon_gap): Likewise.
5818         (icon): Likewise.
5819         (align): Likewise.
5820         (JTextComponent): Some constructors removed.
5821         (getScrollableTracksViewportHeight): New method.
5822         (getScrollableTracksViewportWidth): Likewise.
5823         * Makefile.am: Added javax/swing/JTextArea.java.
5824         * Makefile.in: Regenerated.
5825
5826 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5827
5828         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5829         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5830         * javax/swing/JViewport.java 
5831         (getExtentSize): Return size rather than preferred size.
5832         (toViewCoordinates): New methods.
5833         (getViewSize): Return size rather than preferred size.
5834         (setViewSize): Note view size as set.
5835         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5836         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5837         (getPreferredSize): Don't redo layout.
5838         * javax/swing/plaf/basic/BasicViewportUI.java 
5839         (paint): Translate image properly and eat exceptions.
5840
5841 2004-06-15  Kim Ho  <kho@redhat.com>
5842
5843         * javax/swing/JTabbedPane.java
5844         (setComponent): Remove old component and
5845         add new component.
5846         (setSelectedIndex): Don't operate on the 
5847         components if they're null. Don't set index
5848         on the model if the index is the same.
5849         (insertTab): Don't add or hide the component
5850         if it's null. Repaint the container.
5851         * javax/swing/plaf/basic/BasicLookAndFeel.java
5852         Change colors for TabbedPane.
5853         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5854         (mousePressed): Re-layout and paint the component.
5855         (layoutContainer): Don't set location on the view.
5856         (ScrollingViewport::paint): Remove.
5857
5858 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5859
5860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5861         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5862
5863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5864         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5865         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5866         critical region.
5867         (drawLine): Call gdk_flush before leaving GDK critical region.
5868         (fillRect): Likewise.
5869         (drawRect): Likewise.
5870         (copyArea): Likewise.
5871         (copyPixmap): Likewise.
5872         (clearRect): Likewise.
5873         (drawArc): Likewise.
5874         (drawPolyline): Likewise.
5875         (drawPolygon): Likewise.
5876         (fillPolygon): Likewise.
5877         (fillArc): Likewise.
5878         (drawOval): Likewise.
5879         (fillOval): Likewise.
5880
5881         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5882         style parameter.
5883         (GdkFontMetrics): Add style argument to initState call.
5884         (stringWidth(String,int,int,String)): Add style parameter.
5885         (stringWidth(String)): Add style argument to stringWidth call.
5886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5887         (initState): Set pango font style and weight based on AWT style
5888         parameter.  Pass default GTK language to
5889         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5890         simply dividing by PANGO_SCALE.
5891         (stringWidth): Set pango font style and weight based on AWT style
5892         parameter.
5893
5894         * java/awt/Button.java (next_button_number): New field.
5895         (paramString): Change output.
5896         (generateName): New method.
5897         (getUniqueLong): New method.
5898
5899 2004-06-14  Kim Ho  <kho@redhat.com>
5900
5901         * javax/swing/JTabbedPane.java:
5902         (setComponentAt): Set the component, not
5903         the enabled status.
5904         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5905         (actionPerformed): Let deiconize catch exception.
5906
5907 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5908
5909         * javax/swing/JPopupMenu.java:
5910         (setVisible): Corrected location of a 
5911         heavyweight popup menu.
5912
5913 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5914
5915         * javax/swing/MenuSelectionManager.java: 
5916         Ran through jalopy to fix formatting style.
5917
5918 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5919         
5920         * javax/swing/JLayeredPane.java: 
5921         (remove): Revalidate and repaint layered pane after
5922         the component was removed.
5923         javax/swing/JMenu.java:
5924         (setVisible): Display popup menu at the user location,
5925         if one was set by the user.
5926         (setMenuLocation): Reimplemented. Fixed javadoc.
5927         * javax/swing/JMenuBar.java: Added javadoc.
5928         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5929         (MODEL_CHANGED_PROPERTY): New Property.
5930         (isSelected): Implemented.
5931         (setBorderPainted): Fire PropertyChangeEvent
5932         if paintBorder property changes.
5933         (setSelected): Implemented.
5934         (setSelectionModel): Implemented.
5935         * javax/swing/JPopupMenu.java: Added Javadoc
5936         (pack): Implemented.
5937         (setVisible): Reimplemented.
5938         (show): Fixed location.
5939         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5940         Container instead of JPanel.
5941         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5942         (clearSelectedPath): Reimplemented to clear selectedPath
5943         in reverse order.
5944         (processMouseEvent): Reimplemented.
5945         (setSelectedPath): Fire stateChange event indicating that
5946         selected menu path has changed.
5947         (getPath): Change to use ArrayList instead of Vector.
5948         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5949         (installUI): call installKeyboardActions().
5950         (uninstallUI): call uninstallKeyboardActions().
5951
5952 2004-06-13  Michael Koch  <konqueror@gmx.de>
5953
5954         * javax/swing/text/DefaultCaret.java,
5955         javax/swing/text/BadLocationException.java:
5956         Reformatted.
5957
5958 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5959
5960         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5961         DEFAULT_COLS): New variables.
5962         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5963         values to DEFAULT_ROWS or DEFAULT_COLS.
5964         (getMinimumSize): Likewise.
5965         (getPreferredSize): Likewise.
5966         (minimumSize): Likewise.
5967         (preferredSize): Likewise.
5968         (create): Set peer's editable state.
5969         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5970         zero.  Update javadocs.
5971         (TextArea(String)): Likewise.
5972         (TextArea(int,int)): Fix javadocs.
5973         (TextArea(String,int,int,int)): Only throw exception if one of
5974         rows or columns is zero.  Fix javadocs.
5975
5976 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5977
5978         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5979         addition to Components.
5980
5981         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5982         wasn't consumed by normal processing, send it to the parent
5983         menu.
5984
5985         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5986         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5987         translation.
5988
5989 2004-06-11  David Jee  <djee@redhat.com>
5990
5991         * java/awt/MediaTracker.java
5992         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5993         (addImage(Image,int,int,int)): Likewise.
5994
5995 2004-06-11  Michael Koch  <konqueror@gmx.de>
5996
5997         * javax/swing/text/AbstractDocument.java,
5998         javax/swing/text/Document.java,
5999         javax/swing/text/GapContent.java,
6000         javax/swing/text/JTextComponent.java,
6001         javax/swing/text/PlainDocument.java:
6002         Reformatted.
6003
6004 2004-06-11  Michael Koch  <konqueror@gmx.de>
6005
6006         * javax/swing/JRootPane.java
6007         (AccessibleJRootPane.serialVersionUID): New field.
6008         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6009         (AccessibleJRootPane.getAccessibleRole): New method.
6010         (RootLayout): Implements Serializable.
6011         (RootLayout.serialVersionUID): New field.
6012         (RootLayout.RootLayout): New constructor.
6013         (setJMenuBar): Made public.
6014         (getJMenuBar): Likewise.
6015         (JRootPane): Likewise.
6016         (createContentPane): Likewise.
6017         (createGlassPane): Likewise.
6018         (createLayeredPane): Likewise.
6019
6020 2004-06-11  Michael Koch  <konqueror@gmx.de>
6021
6022         * javax/swing/SwingUtilities.java
6023         (isLeftMouseButton): Fixed javadoc.
6024         (isMiddleMouseButton): Likewise.
6025         (isRightMouseButton): Likewise.
6026
6027 2004-06-11  Michael Koch  <konqueror@gmx.de>
6028
6029         * javax/swing/JScrollPane.java
6030         (serialVersionUID): New field.
6031         (columnHeader): Made protected.
6032         (rowHeader): Likewise.
6033         (lowerLeft): Likewise.
6034         (lowerRight): Likewise.
6035         (upperLeft): Likewise.
6036         (upperRight): Likewise.
6037         (horizontalScrollBar): Likewise.
6038         (horizontalScrollBarPolicy): Likewise.
6039         (verticalScrollBar): Likewise.
6040         (verticalScrollBarPolicy): Likewise.
6041         (viewport): Likewise.
6042
6043 2004-06-11  Michael Koch  <konqueror@gmx.de>
6044
6045         * javax/swing/LookAndFeel.java: Fixed javadocs.
6046
6047 2004-06-11  Michael Koch  <konqueror@gmx.de>
6048
6049         * javax/swing/JEditorPane.java: Fixed javadocs.
6050         (JEditorPane): Removed redundant call to to this().
6051         (fireHyperlinkUpdate): Implemented.
6052
6053 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6054
6055         * javax/swing/JMenu.java: Fixed file name 
6056         in the file comment.
6057
6058 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6059
6060         * javax/swing/JMenu.java: Added javadoc.
6061         (JMenu): Added MenuChangeListener to listen to 
6062         ChangeEvents occuring in menu's model. 
6063         (insert): Throw IllegalArgumentException if 
6064         index is less than 0
6065         (setSelected): Reimplement.
6066         (setPopupMenuVisible): Call menu's model isEnabled()
6067         (setDelay): Throw IllegalArgumentException if 
6068         given amount of delay is less than 0.
6069         (createActionComponent): Implemented.
6070         (createActionChangeListener): Implemented.
6071         (addSeparator): Implemented.
6072         (getItem): Throw IllegalArgumentException if index is 
6073         less than 0.
6074         (getItemCount): Implemented.
6075         (fireMenuSelected): Changed to use menuEvent.
6076         (fireMenuDeselected): Likewise.
6077         (fireMenuCanceled): Likewise.
6078         (setAccelerator): Changed to throw an error if this 
6079         method is used. 
6080         (doClick): Implemented.
6081         (JMenu.ActionChangedListener): New inner class to handle
6082         PropertyChangeEvents occuring in the actions associated with menu.
6083         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6084         (BasicMenuUI): Added PropertyChangeListener to the menu.
6085         (createChangeListener): Implemented.
6086         (createMenuDragMouseListener): Likewise.
6087         (createMenuKeyListener): Likewise.
6088         (createPropertyChangeListener): Likewise.
6089         (uninstallListeners): Likewise.
6090         (BasicMenuUI.MouseInputHandler): Reimplemented.
6091         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6092         (BasicMenuUI.ChangeHandler): Likewise.
6093         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6094         (BasicMenuUI.MenuKeyHandler): Likewise.
6095
6096 2004-06-10  David Jee  <djee@redhat.com>
6097
6098         * java/awt/MediaTracker.java
6099         (imageUpdate): Only do notifyAll() if the image is complete.
6100
6101 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6102
6103         * javax/swing/JApplet.java:
6104         (getJMenuBar): Made public.
6105         (setJMenuBar): Likewise.
6106         * javax/swing/JFrame.java:
6107         (getJMenuBar): Made public.
6108         (setJMenuBar): Likewise.
6109         * javax/swing/JWindow.java:
6110         (getJMenuBar): Removed.
6111         (setJMenuBar): Removed.
6112
6113 2004-06-10  Michael Koch  <konqueror@gmx.de>
6114
6115         * javax/swing/JEditorPane.java
6116         (createEditorKitForContentType): Fixed visibility.
6117         (fireHyperlinkUpdate): Likewise.
6118         (getContentType): Likewise.
6119         (getEditorKit): Likewise.
6120         (getEditorKitForContentType): Likewise.
6121         (getPage): Likewise.
6122         (read): Likewise.
6123         (registerEditorKitForContentTyoe): Likewise.
6124         (replaceSelection): Likewise.
6125         (setContentType): Likewise.
6126         (setEditorKit): Likewise.
6127         (setPage): Likewise.
6128
6129 2004-06-10  Michael Koch  <konqueror@gmx.de>
6130
6131         * javax/swing/Timer.java
6132         (Timer): New constructor.
6133         * javax/swing/plaf/basic/BasicProgressBarUI.java
6134         (animationTimer): Don't initialize at construction.
6135         (startAnimationTimer): Added since tag.
6136         (stopAnimationTimer): Likewise.
6137         (installUI): Use new Timer constructor.
6138         * javax/swing/plaf/basic/BasicScrollBarUI.java
6139         (installUI): Likewise.
6140         * javax/swing/plaf/basic/BasicSliderUI.java
6141         (installUI): Likewise.
6142
6143 2004-06-10  Michael Koch  <konqueror@gmx.de>
6144
6145         * javax/swing/ButtonGroup.java
6146         (serialVersionUID): Made private.
6147         (buttons): Renamed from v, added javadoc.
6148         (sel): Added javadoc.
6149         (ButtonGroup): Likewise.
6150         (add): Likewise.
6151         (remove): Likewise.
6152         (getElements): Likewise.
6153         (getSelection): Likewise.
6154         (setSelected): Likewise.
6155         (isSelected): Likewise.
6156         (getButtonCount): Likewise.
6157
6158 2004-06-10  Michael Koch  <konqueror@gmx.de>
6159
6160         * javax/swing/ButtonGroup.java,
6161         javax/swing/ImageIcon.java,
6162         javax/swing/JEditorPane.java,
6163         javax/swing/JRootPane.java,
6164         javax/swing/JTextField.java,
6165         javax/swing/LookAndFeel.java,
6166         javax/swing/plaf/basic/BasicTextUI.java:
6167         Reindented.
6168
6169 2004-06-10  Michael Koch  <konqueror@gmx.de>
6170
6171         * javax/swing/text/Style.java: Added javadocs.
6172
6173 2004-06-10  Michael Koch  <konqueror@gmx.de>
6174
6175         * javax/swing/JComponent.java
6176         (fireVetoableChange): Removed redundant cast.
6177         * javax/swing/JLabel.java
6178         (getDisabledIcon): Save icon for next call.
6179
6180 2004-06-10  Michael Koch  <konqueror@gmx.de>
6181
6182         * javax/swing/KeyStroke.java
6183         (getKeyStroke(char,boolean)): Marked deprecated.
6184
6185 2004-06-10  Michael Koch  <konqueror@gmx.de>
6186
6187         * javax/swing/DefaultCellEditor.java,
6188         javax/swing/GrayFilter.java,
6189         javax/swing/event/DocumentEvent.java,
6190         javax/swing/text/JTextComponent.java,
6191         javax/swing/text/MutableAttributeSet.java:
6192         Reindented.
6193
6194 2004-06-10  Michael Koch  <konqueror@gmx.de>
6195
6196         * javax/swing/plaf/BorderUIResource.java:
6197         Added serialVersionUID all over.
6198
6199 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6200
6201         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6202
6203 2004-06-10  Michael Koch  <konqueror@gmx.de>
6204
6205         * javax/swing/table/DefaultTableCellRenderer.java
6206         (noFocusBorder): Initialize directly.
6207
6208 2004-06-10  Michael Koch  <konqueror@gmx.de>
6209
6210         * javax/swing/plaf/basic/BasicArrowButton.java
6211         (setDirection): Use method argument.
6212
6213 2004-06-10  Michael Koch  <konqueror@gmx.de>
6214
6215         * javax/swing/plaf/BorderUIResource.java,
6216         javax/swing/plaf/ComponentUI.java,
6217         javax/swing/undo/CompoundEdit.java,
6218         javax/swing/undo/StateEdit.java:
6219         Fixed javadocs all over.
6220
6221 2004-06-10  Michael Koch  <konqueror@gmx.de>
6222
6223         * javax/swing/DefaultButtonModel.java
6224         (ARMED): Made public final, fixed value.
6225         (ENABLED): Likewise.
6226         (PRESSED): Likewise.
6227         (ROLLOVER): Likewise.
6228         (SELECTED): Likewise.
6229         (stateMask): Initialize directly.
6230         (listenerList): Likewise.
6231         (mnemonic): Likewise.
6232         (fireStateChanged): Removed argument, use changeEvent as event.
6233         All places where this method is called are fixed too.
6234         (getActionCommant): Fixed javadoc.
6235         (setGroup): Fixed javadoc.
6236         (getGroup): New method.
6237
6238 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6239
6240         * javax/swing/AbstractButton.java
6241         (AbstractButton): Use init() to initialize the button.
6242         (init): New Method. Initializes AbstractButton.
6243         * javax/swing/JMenuItem.java: Documented.
6244         (JMenuItem): Reimplemented.
6245         (init): Implemented.
6246         (setEnabled): Changed to call super.setEnabled()
6247         (processMouseEvent): Reimplemented.
6248         (fireMenuKeyPressed): Implemented.
6249         (fireMenuKeyReleased): Implemented.
6250         (fireMenuKeyTyped): Implemented.
6251         (menuSelectionChanged): disarm the model if the menu item was
6252         deselected.
6253         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6254         (getPath): Change to use ArrayList instead of Vector.
6255         (getPreferredSize): Renamed variable.
6256         (paintMenuItem): Paint margin area of menu item.
6257         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6258         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6259         menu item's bounds before clearing the selection.       
6260
6261 2004-06-09  David Jee  <djee@redhat.com>
6262
6263         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6264         (GtkTextComponentPeer): Set caret position to 0.
6265         * java/awt/TextComponent.java
6266         (setText): Set caret position to 0.
6267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6268         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6269         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6270         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6271         Likewise.
6272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6273         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6274         visible.
6275
6276 2004-06-09  Kim Ho  <kho@redhat.com>
6277
6278         * Makefile.am: New files
6279         * Makefile.in: Regenerated
6280         * java/awt/Container.java
6281         (getComponentAt): Removed.
6282         * javax/swing/AbstractAction.java
6283         (ENABLED_PROPERTY): New property.
6284         (putValue): Fire PropertyChangeEvents.
6285         (setEnabled): ditto.
6286         (firePropertyChange): Javadoc and implement
6287         convenience method.
6288         * javax/swing/AbstractButton.java
6289         (setAction): Don't create PropertyChangeListener
6290         if new Action is null.
6291         (setIcon): Don't set icon till after comparing
6292         it.
6293         (configurePropertiesFromAction): Check mnemonic
6294         key before calling intValue().
6295         (createActionPropertyChangeListener): Check
6296         properties rather than bulk change.
6297         * javax/swing/DefaultDesktopManager.java:
6298         Implement.
6299         * javax/swing/DesktopManager.java:
6300         Jalopy and javadoc.
6301         * javax/swing/JComponent.java
6302         (fireVetoableChange): Implement.
6303         (paintImmediately): Use root component.
6304         * javax/swing/JDesktopPane.java: Implement
6305         * javax/swing/JInternalFrame.java: Implement
6306         * javax/swing/JLabel.java
6307         (getDisabledIcon): Return grayscaled icon if
6308         no disabled icon specified.
6309         * javax/swing/JMenuBar.java
6310         (getComponentAtIndex): Use getComponent
6311         * javax/swing/JOptionPane.java
6312         (getDesktopPaneForComponent): Use SwingUtilities'
6313         getAncestorOfClass
6314         (getFrameForComponent): ditto.
6315         * javax/swing/JSplitPane.java
6316         (remove): Use getComponent.
6317         * javax/swing/SwingUtilities.java
6318         (convertPoint): Implement.
6319         * javax/swing/plaf/basic/BasicButtonUI.java
6320         (paintButtonNormal): Check opaqueness before
6321         filling background.
6322         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6323         Implement
6324         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6325         Implement.
6326         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6327         Implement.
6328         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6329         Implement.
6330         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6331         Change InternalFrame and Desktop colors.
6332
6333 2004-06-09  David Jee  <djee@redhat.com>
6334
6335         * java/awt/Container.java
6336         (remove): Do not set component to invisible.
6337
6338 2004-06-09  Michael Koch  <konqueror@gmx.de>
6339
6340         * javax/swing/tree/DefaultMutableTreeNode.java
6341         (getLeafCount): Renamed enum to e.
6342
6343 2004-06-09  Michael Koch  <konqueror@gmx.de>
6344
6345         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6346         (positionForMouseEvent): Removed redundant semicolon.
6347         (continueDrag): Use method arguments.
6348
6349 2004-06-09  Michael Koch  <konqueror@gmx.de>
6350
6351         * javax/swing/border/TitledBorder.java,
6352         javax/swing/filechooser/FileSystemView.java,
6353         javax/swing/plaf/basic/BasicButtonListener.java,
6354         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6355         javax/swing/plaf/basic/BasicLabelUI.java,
6356         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6357         javax/swing/plaf/basic/BasicScrollBarUI.java,
6358         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6359         javax/swing/plaf/basic/BasicSliderUI.java,
6360         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6361         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6362         javax/swing/table/JTableHeader.java,
6363         javax/swing/text/AbstractDocument.java,
6364         javax/swing/text/DefaultCaret.java,
6365         javax/swing/text/StyledEditorKit.java,
6366         javax/swing/tree/DefaultTreeCellEditor.java:
6367         Reworked import statements.
6368
6369 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6370
6371         * javax/swing/Box.java: Temporarily comment out code
6372         broken due to visibility bug.
6373
6374 2004-06-09  Michael Koch  <konqueror@gmx.de>
6375
6376         * javax/swing/ImageIcon.java
6377         (ImageIcon): Added missing constructor.
6378
6379 2004-06-08  Michael Koch  <konqueror@gmx.de>
6380
6381         * javax/swing/JToggleButton.java
6382         (JToggleButton): New constructor.
6383         (getAccessibleContext): Moved documentation into javadoc.
6384         (getUIClassID): Likewise.
6385
6386 2004-06-08  Michael Koch  <konqueror@gmx.de>
6387
6388         * javax/swing/AbstractButton.java
6389         (getDisabledIcon): Create disabled icon if none exists yet.
6390
6391 2004-06-08  Michael Koch  <konqueror@gmx.de>
6392
6393         * javax/swing/plaf/basic/BasicLookAndFeel.java
6394         (initClassDefaults): Added FormattedTextFieldUI.
6395         (loadResourceBundle): Renamed enum to e.
6396
6397 2004-06-08  Michael Koch  <konqueror@gmx.de>
6398
6399         * javax/swing/plaf/basic/BasicButtonUI.java
6400         (paintIcon): Simplified.
6401         (paintText): Paint disabled button correctly.
6402
6403 2004-06-08  Michael Koch  <konqueror@gmx.de>
6404
6405         * javax/swing/JComponent.java
6406         (createToolTip): Use official JToolTip API.
6407
6408 2004-06-08  Michael Koch  <konqueror@gmx.de>
6409
6410         * javax/swing/JToolTip.java
6411         (JToolTip): No arguments in API.
6412         (setTipText): New method.
6413
6414 2004-06-08  Michael Koch  <konqueror@gmx.de>
6415
6416         * javax/swing/SwingUtilities.java
6417         (isLeftMouseButton): New method.
6418         (isMiddleMouseButton): New method.
6419         (isRightMouseButton): New method.
6420
6421 2004-06-08  Michael Koch  <konqueror@gmx.de>
6422
6423         * javax/swing/AbstractButton.java,
6424         javax/swing/CellRendererPane.java,
6425         javax/swing/JCheckBoxMenuItem.java,
6426         javax/swing/JColorChooser.java,
6427         javax/swing/JComboBox.java,
6428         javax/swing/JComponent.java,
6429         javax/swing/JDesktopPane.java,
6430         javax/swing/JFileChooser.java,
6431         javax/swing/JMenu.java,
6432         javax/swing/JMenuItem.java,
6433         javax/swing/JOptionPane.java,
6434         javax/swing/JPasswordField.java,
6435         javax/swing/JPopupMenu.java,
6436         javax/swing/JProgressBar.java,
6437         javax/swing/JRadioButtonMenuItem.java,
6438         javax/swing/JScrollBar.java,
6439         javax/swing/JSeparator.java,
6440         javax/swing/JSlider.java,
6441         javax/swing/JSplitPane.java,
6442         javax/swing/JTabbedPane.java,
6443         javax/swing/JTextField.java,
6444         javax/swing/JToolBar.java,
6445         javax/swing/text/JTextComponent.java:
6446         Fixed all constructors of accessibility classes.
6447
6448 2004-06-08  Michael Koch  <konqueror@gmx.de>
6449
6450         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6451         over.
6452
6453 2004-06-08  Michael Koch  <konqueror@gmx.de>
6454
6455         * javax/swing/Box.java
6456         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6457         (AccessibleBoxFiller.serialVersionUID): New member variable.
6458         * javax/swing/DefaultButtonModel.java
6459         (stateMask): Made protected.
6460         (listenerList): Likewise.
6461         (changeEvent): Likewise.
6462         (group): Likewise.
6463         (mnemonic): Likewise.
6464         (actionCommand): Likewise.
6465         (getListeners): New method.
6466         (getActionListeners): New method.
6467         (getItemListeners): New method.
6468         (getChangeListeners): New method.
6469         (fireItemStateChanged): Simplified.
6470         (fireActionPerformed): Simplified.
6471         (fireStateChanged): Simplified.
6472         * javax/swing/JFrame.java
6473         (JFrame): Implements WindowContants.
6474         (HIDE_ON_CLOSE): Removed.
6475         (EXIT_ON_CLOSE): Removed.
6476         (DISPOSE_ON_CLOSE): Removed.
6477         (DO_NOTHING_ON_CLOSE): Removed.
6478         (processWindowEvent): Exit with code 0.
6479         (setDefaultCloseOperation): Do security check before setting value.
6480         * javax/swing/JOptionPane.java
6481         (message): Initialize only in constructor.
6482         * javax/swing/JToolTip.java: Removed unused imports.
6483         * javax/swing/JViewport.java
6484         (serialVersionUID): New member variable.
6485         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6486         (BLIT_SCROLL_MODE): Likewise.
6487         (BACKINGSTORE_SCROLL_MODE): Likewise.
6488         (scrollUnderway): Made protected.
6489         (isViewSizeSet): Likewise.
6490         * javax/swing/ListModel.java: Fixed javadoc.
6491         * javax/swing/Popup.java: Likewise.
6492         * javax/swing/RepaintManager.java
6493         (paintDirtyRegions): Don't use internal classes of
6494         java.util.AbstractMap.
6495         * javax/swing/ScrollPaneConstants.java: Reindented.
6496         * javax/swing/ScrollPaneLayout.java
6497         (viewport): Made protected.
6498         (verticalScrollBar): Made protected, renamed to vsb.
6499         (horizontalScrollBar): Made protected, renamed to hsb.
6500         (rowHeader): Made protected, renamed to rowHead.
6501         (columnHeader): Made protected, renamed to colHead.
6502         (lowerLeft): Made protected.
6503         (lowerRight): Made protected.
6504         (upperLeft): Made protected.
6505         (upperRight): Made protected.
6506         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6507         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6508
6509 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6510
6511         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6512         LOADING if flags has SOMEBITS set.
6513
6514 2004-06-07  Michael Koch  <konqueror@gmx.de>
6515
6516         * javax/swing/AbstractButton.java: Reorganized imports.
6517         * javax/swing/ActionMap.java: Likewise.
6518         * javax/swing/DefaultButtonModel.java: Likewise.
6519         * javax/swing/DefaultListModel.java: Likewise.
6520         * javax/swing/ImageIcon.java: Likewise.
6521         (serialVersionUID): New member variable.
6522         * javax/swing/JComboBox.java: Reorganized imports.
6523         * javax/swing/JComponent.java: Likewise.
6524         (ui): Made protected.
6525         (listenerList): Made protected.
6526         (TOOL_TIP_TEXT_KEY): New constant.
6527         (scrollRectToVisible): Removed redundant null check.
6528         * javax/swing/JFrame.java: Reorganized imports.
6529         * javax/swing/JInternalFrame.java: Reorganized imports.
6530         * javax/swing/JProgressBar.java: Likewise.
6531         * javax/swing/JRootPane.java: Likewise.
6532         * javax/swing/JScrollBar.java: Likewise.
6533         * javax/swing/JSeparator.java: Likewise.
6534         * javax/swing/JSlider.java: Likewise.
6535         * javax/swing/JTabbedPane.java: Likewise.
6536         * javax/swing/JTextField.java: Likewise.
6537         * javax/swing/JToolBar.java: Likewise.
6538         * javax/swing/JTree.java: Likewise.
6539         * javax/swing/JViewport.java: Likewise.
6540         * javax/swing/JWindow.java: Likewise.
6541         * javax/swing/KeyStroke.java: Likewise.
6542         * javax/swing/LookAndFeel.java: Likewise.
6543         * javax/swing/MenuSelectionManager.java: Likewise.
6544         * javax/swing/SwingUtilities.java: Likewise.
6545         * javax/swing/Timer.java: Likewise.
6546         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6547         * javax/swing/JList.java
6548         (HORIZONTAL_WRAP): Made final, fixed value.
6549         (VERTICAL): Likewise.
6550         (VERTICAL_WRAP): Likewise.
6551
6552 2004-06-07  Michael Koch  <konqueror@gmx.de>
6553
6554         * javax/swing/AbstractButton.java
6555         (serialVersionUID): New member variable.
6556         (AccessibleAbstractButton.serialVersionUID): Likewise.
6557         (AbstractButton): Made public.
6558         * javax/swing/Box.java
6559         (AccessibleBox.serialVersionUID): New member variable.
6560         (Filler.serialVersionUID): Likewise.
6561         * javax/swing/DefaultListSelectionModel.java
6562         (serialVersionUID): Likewise.
6563         * javax/swing/JApplet.java
6564         (serialVersionUID): Likewise.
6565         * javax/swing/JCheckBox.java
6566         (serialVersionUID): Likewise.
6567         * javax/swing/JCheckBoxMenuItem.java
6568         (serialVersionUID): Likewise.
6569         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6570         * javax/swing/JColorChooser.java
6571         (serialVersionUID): Likewise.
6572         (AccessibleJColorChooser.serialVersionUID): Likewise.
6573         * javax/swing/JComponent.java
6574         (serialVersionUID): Made private.
6575         (AccessibleJComponent.serialVersionUID): New member variable.
6576         * javax/swing/JDesktopPane.java
6577         (serialVersionUID): Likewise.
6578         * javax/swing/JDialog.java
6579         (serialVersionUID): Likewise.
6580         * javax/swing/JFormattedTextField.java
6581         (serialVersionUID): Fixed value.
6582         * javax/swing/JFrame.java
6583         (serialVersionUID): New member variable.
6584         (getDefaultCloseOpertation): Made public.
6585         * javax/swing/JLayeredPane.java
6586         (serialVersionUID): Likewise.
6587         (LAYER_PROPERTY): Made final, fixed value.
6588         (JLayeredPane): Made public.
6589         * javax/swing/JMenu.java
6590         (AccessibleJMenu.serialVersionUID): New member variable.
6591         (WinListener.serialVersionUID): Likewise.
6592         * javax/swing/JMenuBar.java
6593         (serialVersionUID): Likewise.
6594         (getComponentAtIndex): Added @deprecated tag.
6595         * javax/swing/JMenuItem.java
6596         (serialVersionUID): New member variable.
6597         (AccessibleJMenuItem.serialVersionUID): Likewise.
6598         * javax/swing/JOptionPane.java
6599         (serialVersionUID): Likewise.
6600         (AccessibleJOptionPane.serialVersionUID): Likewise.
6601         * javax/swing/JPopupMenu.java
6602         (serialVersionUID): Likewise.
6603         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6604         (getPopupMenuListeners): New method.
6605         (getComponentAtIndex): Added @deprecated tag.
6606         * javax/swing/JProgressBar.java
6607         (serialVersionUID): New member variable.
6608         (AccessibleJProgressBar.serialVersionUID): Likewise.
6609         * javax/swing/JRadioButton.java
6610         (serialVersionUID): Likewise.
6611         * javax/swing/JRadioButtonMenuItem.java
6612         (serialVersionUID): Likewise.
6613         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6614         * javax/swing/JScrollBar.java
6615         (serialVersionUID): Likewise.
6616         (AccessibleJScrollBar.serialVersionUID): Likewise.
6617         * javax/swing/JSeparator.java
6618         (serialVersionUID): Likewise.
6619         (AccessibleJSeparator.serialVersionUID): Likewise.
6620         * javax/swing/JSlider.java: Fixed javadocs.
6621         (AccessibleJSlider.serialVersionUID): New member variable.
6622         * javax/swing/JSplitPane.java: Added copyright statement.
6623         (serialVersionUID): New member variable.
6624         (AccessibleJSplitPane.serialVersionUID): Likewise.
6625         * javax/swing/JTabbedPane.java
6626         (serialVersionUID): Likewise.
6627         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6628         (ModelListener.serialVersionUID): Likewise.
6629         (ModelListener.ModelListener): New constructor.
6630         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6631         (WRAP_TAB_LAYOUT): Likewise.
6632         * javax/swing/JTable.java
6633         (serialVersionUID): New member variable.
6634         * javax/swing/JToggleButton.java
6635         (serialVersionUID): Likewise.
6636         (ToggleButtonModel): Made static.
6637         (ToggleButtonModel.serialVersionUID): New member variable.
6638         * javax/swing/JToolTip.java
6639         (serialVersionUID): Likewise.
6640         * javax/swing/JTree.java
6641         (serialVersionUID): Likewise.
6642         * javax/swing/JWindow.java
6643         (serialVersionUID): Likewise.
6644         * javax/swing/Timer.java
6645         (serialVersionUID): Likewise.
6646
6647 2004-06-06  Michael Koch  <konqueror@gmx.de>
6648
6649         * javax/swing/SwingConstants.java
6650         (NEXT): New constant.
6651         (PREVIOUS): Likewise.
6652         * javax/swing/UIManager.java
6653         (LookAndFeel): Made public.
6654         (LookAndFeel.getClassName): Likewise.
6655         (LookAndFeel.getName): Likewise.
6656
6657 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6658
6659         * javax/swing/JCheckBoxMenuItem.java:
6660         Removed CVS tags.
6661         * javax/swing/JMenu.java: Likewise.
6662         * javax/swing/JMenuBar.java: Likewise.
6663         * javax/swing/JMenuItem.java: Likewise.
6664         * javax/swing/JPopupMenu.java: Likewise.
6665         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6666         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6667         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6668         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6669         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6670         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6671         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6672
6673 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6674         
6675         * javax/swing/plaf/basic/BasicMenuUI.java:
6676         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6677         Call getPath() from super class instead.
6678
6679 2004-05-31  David Jee  <djee@redhat.com>
6680
6681         * java/awt/Container.java
6682         (remove): Set component visibility to false after removing it.
6683
6684 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6685
6686         * java/awt/Component.java (getForeground): Return SystemColor if
6687         parent is null.
6688         (getBackground): Likewise.
6689
6690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6691         (item_highlighted): New function.
6692         (connectSignals): Set item_highlighted as list's select
6693         function.
6694
6695         * java/applet/Applet.java: Revert changes from 2004-04-29,
6696         2004-03-15 and 2004-03-14.
6697
6698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6699         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6700         factor.
6701
6702         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6703         "Dialog" as the default font.
6704         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6705         Likewise.
6706         * java/awt/Component.java (getFont): Return "Dialog" font by
6707         default.
6708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6709         Multiply size argument to pango_font_description_set_size by the
6710         DPI conversion factor rather than by PANGO_SCALE.
6711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6721         Divide baseline y coordinate by DPI conversion factor rather
6722         than by PANGO_SCALE.
6723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6724         (area_prepared): Fix typo.
6725         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6726         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6728         (dpi_conversion_factor): New global variable.
6729         (init_dpi_conversion_factor): New function to calculate and
6730         track DPI conversion factor.
6731         (dpi_changed_cb): New callback.
6732         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6733
6734 2004-05-27  David Jee  <djee@redhat.com>
6735
6736         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6737         (getGraphics): Return a new GdkGraphics instance.
6738         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6739         (getGraphics): Call super.getGraphics().
6740
6741 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6742
6743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6744         (setNativeBounds): Clamp width and height values to >= 0.
6745
6746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6747         (find_fg_color_widget): Handle GtkOptionMenu specially.
6748
6749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6750         (pre_event_handler): Only post configure events to visible
6751         top-level windows.
6752
6753 2004-05-26  David Jee  <djee@redhat.com>
6754
6755         * java/awt/BorderLayout.java
6756         (layoutContainer): Fix size calculations.
6757
6758 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6759
6760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6761         (window_wm_protocols_filter): Remove function.
6762         (create): Remove filter that removes WM_TAKE_FOCUS client
6763         messages.
6764
6765 2004-06-17  Anthony Green  <green@redhat.com>
6766
6767         * java/util/zip/ZipFile.java (getInputStream): Return null if
6768         entry not found.
6769
6770         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6771         directory contents to the class path.
6772
6773 2004-06-15  Andrew Haley  <aph@redhat.com>
6774
6775         * java/lang/natSystem.cc (getenv0): Don't assume environment
6776         variable is Latin 1 coded.
6777
6778 2004-06-14  Andreas Jaeger  <aj@suse.de>
6779
6780         * configure.in: Support --enable-version-specific-runtime-libs.
6781         * configure: Regenerated.
6782
6783 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6784
6785         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6786         to pass ClassLoader argument.
6787         * java/util/GregorianCalendar.java: Likewise.
6788         * java/util/Currency.java: Likewise.
6789         * java/text/BreakIterator.java: Likewise.
6790         * java/text/Collator.java: Likewise.
6791         * java/text/DateFormat.java: Likewise.
6792         * java/text/DateFormatSymbols.java: Likewise.
6793         * java/text/DecimalFormatSymbols.java: Likewise.
6794         * java/text/NumberFormat.java: Likewise.
6795         * java/awt/Window.java: Likewise.
6796
6797 2004-06-14  Andrew Haley  <aph@redhat.com>
6798
6799         * java/lang/System.java: (getenv0): New method.
6800         (getenv): Add security check.  Do the right thing.
6801         * java/lang/natSystem.cc (getenv0): New method.
6802
6803 2004-06-12  Mark Wielaard  <mark@klomp.org>
6804
6805         * javax/swing/RepaintManager.java
6806         (paintDirtyRegions): Use entrySet(), not values().
6807
6808 2004-06-10  Mark Wielaard  <mark@klomp.org>
6809
6810         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6811         NoSuchMethodError.
6812
6813 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6814
6815         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6816         when we already know the answer.
6817         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6818         (setStartRule,setEndRule): Don't take abs of day number.
6819         (getOffset): Clarify docs.  Add argument checks.
6820         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6821         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6822         endTimeMode.
6823
6824 2004-06-10  Tom Tromey  <tromey@redhat.com>
6825
6826         * interpret.cc (run): Handle wide fload.
6827
6828 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6829
6830         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6831
6832 2004-06-05  Michael Koch  <konqueror@gmx.de>
6833
6834         * javax/swing/SwingConstants.java
6835         (NEXT): New constant.
6836         (PREVIOUS): Likewise.
6837
6838 2004-06-05  Michael Koch  <konqueror@gmx.de>
6839
6840         * javax/swing/UIManager.java
6841         (LookAndFeel): Made public.
6842         (LookAndFeel.getName): Likewise.
6843         (LookAndFeel.getClassName): Likewise.
6844
6845 2004-06-03  Michael Koch  <konqueror@gmx.de>
6846
6847         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6848         (requestFocus): Revert last changes.
6849         (gtkRequestFocus): Removed.
6850         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6851         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6852         Renamed to ...
6853         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6854         Reverted last patch.
6855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6856         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6857         Reverted comment change.
6858
6859 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6860
6861         * javax/swing/JCheckBoxMenuItem.java:
6862         Removed CVS tags.
6863         * javax/swing/JMenu.java: Likewise.
6864         * javax/swing/JMenuBar.java: Likewise.
6865         * javax/swing/JMenuItem.java: Likewise.
6866         * javax/swing/JPopupMenu.java: Likewise.
6867         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6868         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6869         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6870         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6871         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6872         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6873         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6874
6875 2004-06-01  Tom Tromey  <tromey@redhat.com>
6876
6877         * java/io/ObjectStreamField.java: Cleaned up imports.
6878
6879 2004-06-01  Michael Koch  <konqueror@gmx.de>
6880
6881         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6882       
6883 2004-06-01  Mark Wielaard  <mark@klomp.org>
6884
6885         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6886
6887 2004-06-01  Michael Koch  <konqueror@gmx.de>
6888
6889         * java/security/Security.java
6890         (insertProviderAt): Use equals() instead of ==.
6891         (removeProvicer): Likewise.
6892         (getProvider): Likewise.
6893         * java/security/Signature.java
6894         (sign): Don't set state to UNINITIALIZED.
6895         (verify): Likewise.
6896
6897 2004-06-01  Mark Wielaard  <mark@klomp.org>
6898
6899         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6900         Implement by calling gtkRequestFocus.
6901         (gtkRequestFocus): New native method.
6902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6903         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6904         Renamed to ...
6905         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6906         New function name.
6907         (filter_expose_event_handler):
6908         Mark static.
6909         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6910         (menu_pos): Mark static.
6911
6912 2004-06-01  Michael Koch  <konqueror@gmx.de>
6913
6914         * java/text/CollationElementIterator.java,
6915         java/text/CollationKey.java,
6916         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6917         * testsuite/libjava.mauve/xfails: Removed all
6918         java.text.CollationElementIterator tests.
6919
6920 2004-06-01  Michael Koch  <konqueror@gmx.de>
6921
6922         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6923         version.
6924         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6925         Java 1.5 keyword usage.
6926
6927 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6928
6929         * javax/swing/plaf/basic/BasicMenuUI.java:
6930         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6931         Call getPath() from super class instead.
6932
6933 2004-05-31  Michael Koch  <konqueror@gmx.de>
6934
6935         * java/io/SequenceInputStream.java:
6936         Rename enum to e because enum is a keyword in Java 1.5.
6937
6938 2004-05-31  Michael Koch  <konqueror@gmx.de>
6939
6940         * gnu/java/rmi/rmic/CompilerProcess.java:
6941         Fixed javadoc to by XHTML compliant.
6942
6943 2004-05-30  Mark Wielaard  <mark@klomp.org>
6944
6945         * java/awt/Toolkit.java (loadSystemColors): Implement.
6946
6947 2004-05-30  Michael Koch  <konqueror@gmx.de>
6948
6949         * java/lang/System.java: Reordered imports.
6950
6951 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6952
6953         * java/text/DecimalFormat.java
6954         (parse): Fixed parsing of decimal strings. Number of maximum
6955         digits to be read should now work.
6956         * java/text/SimpleDateFormat.java
6957         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6958         formatter. This fixes DateFormatTest.
6959
6960 2004-05-30  Michael Koch  <konqueror@gmx.de>
6961
6962         * java/nio/Buffer.java
6963         (limit): Fixed off by one error.
6964         * java/nio/CharBuffer.java
6965         (wrap): Fixed arguments, added javadocs.
6966
6967 2004-05-30  Michael Koch  <konqueror@gmx.de>
6968
6969         * gnu/java/beans/BeanInfoEmbryo.java,
6970         java/awt/im/InputContext.java,
6971         javax/swing/tree/DefaultMutableTreeNode.java:
6972         Rename enum to e because enum is a keyword in Java 1.5.
6973
6974 2004-05-30  Michael Koch  <konqueror@gmx.de>
6975
6976         * gnu/java/math/MPN.java,
6977         java/awt/geom/Arc2D.java:
6978         Fixed javadocs all over.
6979
6980 2004-05-30  Michael Koch  <konqueror@gmx.de>
6981
6982         * java/awt/DefaultKeyboardFocusManager.java
6983         (dispatchEvent): Call method to get key event dispatchers.
6984         (dispatchKeyEvent): Call method to get key event post processors.
6985         * javax/swing/JComponent.java
6986         (listenerList): Made protected.
6987         * javax/swing/JOptionPane.java
6988         (message): Don't initialize.
6989         (JOptionPane): Set message text.
6990         * javax/swing/JPopupMenu.java
6991         (show): Fixed typo in argument name.
6992         * javax/swing/RepaintManager.java
6993         (paintDirtyRegions): Use public API of java.util.Map.
6994         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6995         (positionForMouseEvent): Removed redundant ';'.
6996         (continueDrag): Use method arguments.
6997
6998 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6999
7000         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7001         results.
7002
7003 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7004
7005         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7006         _Jv_AllocBytes.
7007         * gnu/gcj/RawDataManaged.java: New file.
7008         * java/lang/Thread.java (data): Declare as RawDataManaged.
7009         * java/lang/natThread.cc (init_native): Cast natThread data to
7010         RawDataManaged, not jobject.
7011         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7012         * Makefile.in: Rebuilt.
7013
7014 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7015
7016         * java/util/SimpleTimeZone.java: Reverting my last change until I
7017         can fix it properly.
7018
7019 2004-05-27  Michael Koch  <konqueror@gmx.de>
7020
7021         * javax/swing/JPopupMenu.java
7022         (isVisible): Do not use visible directly.
7023         (setVisible): Likewise.
7024         * javax/swing/JWindow.java
7025         (JWindow): call accessible constructor.
7026         * javax/swing/RepaintManager.java
7027         (paintDirtyRegions): Use public methods to obtain iterator.
7028
7029 2004-05-25  David Jee  <djee@redhat.com>
7030
7031         * java/awt/Container.java
7032         (remove): Set component's parent to null only after we removed the
7033         component from its parent's layout manager.
7034
7035 2004-05-25  David Jee  <djee@redhat.com>
7036
7037         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7038         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7039         is valid.
7040         * gnu/java/awt/peer/gtk/GtkListPeer.java
7041         (getSize): Change native method declaration.
7042         (minimumSize): Pass visible row count into getSize().
7043         (preferredSize): Likewise.
7044         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7045         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7046         natural size. Use visible row count to determine the final height
7047         value to return.
7048
7049 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7050
7051         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7052         (setClip): Minor correction to order of operations.
7053
7054         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7055         * javax/swing/ScrollPaneLayout.java: Likewise.
7056         * javax/swing/JViewPort.java: Likewise.
7057         * javax/swing/ViewportLayout.java: Likewise.
7058
7059         * javax/swing/JComponent.java: Rewrite.
7060         * javax/swing/RepaintManager.java: Likewise.
7061
7062         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7063         * javax/swing/JList.java 
7064         (setSelectedIndices):
7065         (getSelectedIndices):
7066         (getSelectedValues): New functions.
7067         (getPreferredScrollableViewportSize): Return preferred size.
7068         (getScrollableUnitIncrement):
7069         (getScrollableBlockIncrement): Initial implementations.
7070         * javax/swing/JRootPane.java: Clean up slightly.
7071         (getUI):
7072         (setUI):
7073         (updateUI):
7074         (getUIClassID):
7075         (isValidateRoot): Add overrides from JComponent.
7076         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7077         * javax/swing/UIManager.java (getDimension): Return the dimension.
7078
7079         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7080         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7081         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7082         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7083         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7084         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7085         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7086         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7087         Likewise, and set background.
7088         * javax/swing/plaf/basic/BasicListUI.java: 
7089         Likewise, and improve a bit.
7090         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7091         Likewise, and adjust calculations.
7092         * javax/swing/plaf/basic/BasicViewportUI.java:
7093         Likewise, and improve a bit.
7094         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7095         (Button.margin): Shrink.
7096
7097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7098         Hack to set horizontal always, workaround pango.
7099
7100         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7102         Synchronize more often, check cairo status after ops,
7103         handle changes to cairo pattern API, check for disposal.
7104
7105 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7106
7107         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7108         (BasicMenuItemUI): Create propertyChangeListener.
7109         (getPath):Implemented.
7110         (installListeners): Add propertyChangeListener to menuItem.
7111         (uninstallListeners): Remove propertyChangeListener from menuItem.
7112         (update): Implemented.
7113         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7114         (mouseEntered): Take insets of popup menu into account when
7115         calculating position of popup menu.     
7116         
7117 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7118
7119         * Makefile.am: Added new file. 
7120         * Makefile.in: Regenerate.
7121         * javax/swing/JMenuBar.java:
7122         Started implementation.
7123         * javax/swing/JPopupMenu.java:
7124         (setVisible): Fixed location of lightweight/mediumweight
7125         popup menu.
7126         (show): Fixed location of PopupMenu.
7127         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7128         New file. UI Delegate for JMenuBar.
7129         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7130         (mouseEntered): Corrected position of the submenu.
7131
7132 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7133
7134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7135         to _gtk_accel_group_attach.
7136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7137         Likewise.
7138
7139         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7140         package access.  Don't override setFont.
7141         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7142         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7143         gtkWidgetRequestFocus package access.
7144         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7145         setFont.
7146         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7147         Give gtkWidgetRequestFocus package access.
7148         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7149         gtkWidgetRequestFocus package access.  Don't override setFont.
7150         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7151         setFont.
7152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7153         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7154         region.
7155         (gtkSetFont): Likewise.
7156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7157         Implement.
7158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7159         (gtkSetFont): Whitespace fix.
7160
7161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7162         (gtkWidgetSetUsize): Remove method.
7163
7164 2004-05-18  David Jee  <djee@redhat.com>
7165
7166         * java/awt/image/MemoryImageSource.java
7167         (newPixels(int,int,int,int,boolean)): Set only the specified
7168         rectangle of pixels.
7169         (newPixels(byte[],ColorModel,int,int)): Implement.
7170         (newPixels(int[],ColorModel,int,int)): Implement.
7171
7172 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7173
7174         * Makefile.am: Added new file.
7175         * Makefile.in: Regenerate.
7176         * javax/swing/JMenu.java: Started 
7177         implementation.
7178         * javax/swing/JPopupMenu.java:
7179         (insert): If specified index is -1, then
7180         add component at the end.
7181         (isPopupTrigger): Reimplemented.
7182         (JPopupMenu.LightWeightPopup): setBounds
7183         of the lightWeightPopup before adding it 
7184         to the layeredPane.
7185         (javax/swing/plaf/basic/BasicIconFactory.java):
7186         (getMenuArrowIcon): Implemented.
7187         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7188         (getPreferredSize): Add size of the arrow icon 
7189         if this menu item is instance of JMenu.
7190         (paintMenuItem): Paint arrow icon if this 
7191         menu item is a submenu.
7192         * javax/swing/plaf/basic/BasicMenuUI.java:
7193         New File. UI Delegate for JMenu.
7194
7195 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7196
7197         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7198         Post KEY_TYPED events.
7199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7200         (generates_key_typed_event): Remove function.
7201
7202 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7203
7204         * javax/swing/JRootPane.java
7205         (JRootPane.RootLayout): Reimplemented to 
7206         set bounds of contentPane and menuBar.
7207         (setJMenuBar): Add menu bar to the layered pane.
7208         (createLayeredPane): Set layout of layeredPane
7209         to null.
7210         * javax/swing/JLayeredPane.java:
7211         (addImpl): Calculate index of the component in the
7212         layeredPane according to the specified position within 
7213         the layer.      
7214
7215 2004-05-17  David Jee  <djee@redhat.com>
7216
7217         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7218         (setPixels): Change color model to the default model after
7219         converting pixels.
7220         * java/awt/image/MemoryImageSource.java
7221         (newPixels): Set only the specified rectangle of pixels.
7222
7223 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7224
7225         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7226         -l-java-beans -l-javax-accessibility -l-javax-swing.
7227
7228         * java/awt/AWTEvent.java (toString): Print source's name rather
7229         than the source itself.
7230
7231 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7232
7233         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7234         native.
7235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7236         (gdk_color_to_java_color): New function.
7237         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7238
7239 2004-05-12  David Jee  <djee@redhat.com>
7240
7241         * java/awt/image/RGBImageFilter.java:
7242         Initialize origmodel as null.
7243         (makeColor): Fix pixel component order.
7244         (filterRGBPixels): Fix pixel iteration.
7245         (setPixels): Add extra checks for index color model. Convert pixels
7246         to default color model if necessary.
7247         (convertColorModelToDefault): New override method for byte pixels.
7248         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7249         (makeColorbyDefaultCM): New override method for byte pixels.
7250         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7251         (makeColor): Fix pixel component order.
7252
7253 2004-05-11  Kim Ho  <kho@redhat.com>
7254
7255         * javax/swing/Box.java:
7256         Comment out more parts of Box.Filler.
7257
7258 2004-05-11  Kim Ho  <kho@redhat.com>
7259
7260         * javax/swing/Box.java:
7261         Remove reference to AccessibleAWTComponent so
7262         it compiles again.
7263
7264 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7265
7266         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7267         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7268         implementation of list peer to use GtkTreeView instead of
7269         deprecated GtkCList.
7270
7271 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7272
7273         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7274         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7275         (handleEvent): Remove keyChar argument to
7276         gtkWidgetDispatchKeyEvent calls.
7277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7278         compiler warnings.
7279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7282         Likewise.
7283
7284 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7285
7286         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7287         (gtkWidgetRequestFocus): Mark protected.
7288         (GtkComponentPeer): Only set the peer's bounds if its component
7289         is valid.
7290         * java/awt/Component.java (static): Set the default keyboard
7291         focus manager.
7292         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7293         requestFocusInWindow(temporary)): Don't request focus if the
7294         component is not showing.  Get tree lock before traversing
7295         component hierarchy.
7296         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7297         Only set the global focus owner if it is not a Window.
7298         (processKeyEvent): Consume keystrokes associated with the focus
7299         traversal keystroke.
7300         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7301         downFocusCycle): Call requestFocusInWindow instead of
7302         requestFocus.
7303         * java/awt/EventDispatchThread.java (run): Move setting of
7304         default keyboard focus manager to Component.java.
7305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7306         (awt_keycode_to_keysym): New function.
7307         (gtkWidgetDispatchKeyEvent): Finish implementation.
7308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7309         (pre_event_handler): Add FIXME comment.
7310
7311         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7312         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7313         (gtkWidgetRequestFocus): New method.
7314         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7315         disable Tab and Shift-Tab keystrokes.
7316         (addNotify, appendText, insertText, replaceText): Simplify peer
7317         retrieval code.
7318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7319         (connectSignals): Remove connections to "commit" signals.
7320         Remove C++-style comments.
7321
7322         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7323         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7324         (handleEvent): Activate GTK button when the space bar key is
7325         pressed.
7326         (gtkActivate): New method.
7327
7328 2004-05-06  David Jee  <djee@redhat.com>
7329
7330         * java/awt/image/CropImageFilter.java
7331         (setPixels): Implement for byte array pixels.
7332         * java/awt/image/ReplicateScaleFilter.java
7333         (setPixels): Implement for byte array pixels.
7334         (replicatePixels): Overload for byte array pixels.
7335
7336 2004-05-06  Kim Ho  <kho@redhat.com>
7337
7338         * javax/swing/Box.java:
7339         (getAccessibleContext): Return an instance of the 
7340         correct class.
7341
7342 2004-05-05  David Jee  <djee@redhat.com>
7343
7344         * gnu/java/awt/peer/gtk/GdkGraphics.java
7345         (drawImage): When component is null, use SystemColor.window as
7346         the default bgcolor.
7347         * gnu/java/awt/peer/gtk/GtkImage.java
7348         (setPixels): We can avoid iterating through the pixel rows only
7349         when height is 1.
7350         * java/awt/Image.java
7351         (getScaledInstance): Partially implement.
7352         * java/awt/image/CropImageFilter.java
7353         (setProperties): Fix "filter" property.
7354         (setPixels): Implement.
7355         * java/awt/image/ReplicateScaleFilter.java
7356         (setDimensions): Use scaled dimensions.
7357         (setPixels): Implement.
7358         (replicatePixels): New method.
7359
7360 2004-05-05  David Jee  <djee@redhat.com>
7361
7362         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7363         (convertPixels): If either pixels or model is null, return null.
7364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7365         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7366         is null, do nothing and return.
7367
7368 2004-05-03  Kim Ho  <kho@redhat.com>
7369
7370         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7371         (getGraphics): Like GtkFramePeer, the Graphics
7372         object needs to be translate to account for
7373         window decorations.
7374         (postMouseEvent): New method. Account for
7375         translation.
7376         (postExposeEvent): ditto.
7377         * javax/swing/Box.java: Stubbed.
7378         * javax/swing/JDialog.java: Ran through jalopy
7379         to fix indentation.
7380         (JDialog): Call SwingUtilities' getOwnerFrame
7381         for null owners.
7382         (setLayout): Check isRootPaneCheckingEnabled
7383         * javax/swing/JOptionPane.java: Re-implemented.
7384         * javax/swing/SwingUtilities.java:
7385         (getOwnerFrame): Static method to grab a default
7386         owner frame for Dialogs that don't specify owners.
7387         * javax/swing/event/SwingPropertyChangeSupport.java:
7388         (firePropertyChange): Fix early exit condition.
7389         * javax/swing/plaf/basic/BasicLabelUI.java:
7390         (paint): Avoid painting text if it is null 
7391         or empty.
7392         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7393         Implement.
7394
7395 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7396
7397         * Makefile.am: Added new file.
7398         * Makefile.in: Regenerate.
7399         * javax/swing/JPopupMenu.java:
7400         Started implementation.
7401         * javax/swing/JWindow.java
7402         (JWindow): call super() if parent for window
7403         is not specified.
7404         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7405         New File. UI Delegate for JPopupMenu.
7406
7407 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7408
7409         * javax/swing/JApplet.java: Indicated that JApplet
7410         implements RootPaneContainer and made method of this
7411         interface public. 
7412         * javax/swing/JFrame.java: Ditto.
7413         * javax/swing/JWindow.java: Ditto.
7414         
7415 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7416
7417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7418         (nativeSetBounds): Call gdk_window_move in addition to
7419         gtk_window_move.
7420
7421         * java/applet/Applet.java (preferredSize): Call parent's
7422         preferredSize if the applet stub is null.
7423         (minimumSize): Likewise for parent's minimumSize.
7424
7425 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7426
7427         * javax/swing/JMenuItem.java
7428         (createActionPropertyChangeListener): Implemented.
7429         (processMouseEvent): Ditto.
7430         (fireMenuDragMouseEntered): Ditto.
7431         (fireMenuDragMouseExited): Ditto.
7432         (fireMenuDragMouseDragged): Ditto.
7433         (fireMenuDragMouseReleased): Ditto.
7434         (menuSelectionChanged): Ditto.
7435         (getSubElements): Ditto.
7436         (getComponent): Ditto.
7437         (addMenuDragMouseListener): Ditto.
7438         (removeMenuDragMouseListener):Ditto.
7439         (addMenuKeyListener): Ditto.
7440         (removeMenuKeyListener): Ditto.
7441         * javax/swing/plaf/basic/BasicMenuItemUI.java
7442         (doClick): Imlemented.
7443         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7444         Don't handle mouse events here. Pass them to 
7445         MenuSelectionManager.
7446         
7447 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7448         Used correct version of jalopy configuration
7449         file to fix style in the files below.
7450
7451 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7452
7453         * javax/swing/JCheckBoxMenuItem.java: 
7454         Fixed style and removed unnecessary comments.
7455         * javax/swing/JMenuItem.java: Ditto.
7456         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7457         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7458         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7459         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7460
7461 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7462
7463         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7464         C-style.
7465
7466         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7467
7468         * java/awt/ContainerOrderFocusTraversalPolicy.java
7469         (getComponentAfter): Start from current component and work up
7470         the component hierarchy until an acceptable component is found.
7471         Synchronize on tree lock.
7472         (getComponentBefore): Likewise.
7473
7474 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7475
7476         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7477         focus-related debugging messages.
7478         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7479         * java/awt/EventDispatchThread.java: Likewise.
7480         * java/awt/KeyboardFocusManager.java: Likewise.
7481         * java/awt/Window.java: Likewise.
7482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7484
7485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7486         new C++-style comments to C-style comments.
7487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7488
7489         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7490         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7491         (handleEvent): Dispatch key press and key release events to
7492         backing widget.
7493         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7494         (gtkWidgetRequestFocus): New method.
7495         (gtkWidgetDispatchKeyEvent): Likewise.
7496         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7497         requestFocusInWindow, requestFocusInWindow(boolean),
7498         getFocusCycleRootAncestor, nextFocus, transferFocus,
7499         transferFocusBackward, transferFocusUpCycle, hasFocus,
7500         isFocusOwner): Implement and document focus-handling methods.
7501         (setFocusTraversalKeys): Inherit focus traversal keys when
7502         keystrokes argument is null.  Fix focus-handling documentation
7503         throughout class.
7504         * java/awt/Container.java (setFocusTraversalKeys,
7505         getFocusTraversalKeys, areFocusTraversalKeysSet,
7506         isFocusCycleRoot, setFocusTraversalPolicy,
7507         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7508         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7509         Implement and document focus-handling methods.
7510         (transferFocusBackward): Remove method.
7511         (readObject, writeObject): Implement and document serialization
7512         methods.
7513         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7514         and document.
7515         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7516         document.
7517         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7518         partially document.
7519         * java/awt/EventDispatchThread.java (run): Set default keyboard
7520         focus manager.  Attempt to dispatch each event to the keyboard
7521         focus manager before normal dispatch.
7522         * java/awt/KeyboardFocusManager.java: Implement and partially
7523         document.
7524         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7525         (show): Focus initial component when window is shown for the
7526         first time.
7527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7528         (pre_event_handler): Replace complex key press and key release
7529         logic with simple callbacks into GtkComponentPeer.
7530         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7531
7532 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7533
7534         * javax/swing/MenuSelectionManager.java
7535         (componentForPoint): Added new method. 
7536         (defaultManager): New Method. Implemented.
7537         (getSelectedPath): Ditto.
7538         (isComponentPartOfCurrentMenu): Ditto.
7539         (processKeyEvent): Added new method.
7540         (processMouseEvent): New Method. Implemented.
7541         (setSelectedPath): Ditto.
7542         (getPath): Ditto.
7543
7544 2004-04-19  Kim Ho  <kho@redhat.com>
7545
7546         * java/awt/Container.java: 
7547         (remove): Set the component's parent to null.
7548         (getComponentAt): Implement.
7549         * javax/swing/JComponent.java:
7550         (JComponent): Initialize defaultLocale
7551         (getDefaultLocale): Implement.
7552         (setDefaultLocale): ditto.
7553         * javax/swing/JSlider.java:
7554         (JSlider): Fix calculation of value.
7555         * javax/swing/JSplitPane.java: Implement.
7556         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7557         Change SplitPane's default divider size.
7558         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7559         (paint): Remove unused code.
7560         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7561         Added comments and ran through jalopy.
7562         (setBasicSplitPaneUI): Get reference to hidden divider
7563         and set up one touch buttons if necessary.
7564         (setBorder): Fire propertyChangeEvent only if 
7565         borders are different.
7566         (getPreferredSize): Defer to layout manager.
7567         (propertyChange): Implement.
7568         (oneTouchExpandableChanged): ditto.
7569         (createLeftOneTouchButton): Use BasicArrowButton.
7570         (createRightOneTouchButton): ditto.
7571         (moveDividerTo): New method. Moves the divider
7572         to a set location based on the last divider location.
7573         (BasicSplitPaneDivider::MouseHandler): Implement.
7574         (BasicSplitPaneDivider::OneTouchButton): Removed.
7575         (BasicSplitPaneDivider::DragController): Implement.
7576         (BasicSplitPaneDivider::VerticalDragController):
7577         ditto.
7578         (BasicSplitPaneDivider::DividerLayout): ditto.
7579         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7580         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7581         (calculateLayoutInfo): Don't show component if it's
7582         null.
7583         (paintTab): Fix title paint logic.
7584
7585 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7586
7587         PR libgcj/8321
7588         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7589         (setStartRule,setEndRule): Don't take abs of day number.
7590         (getOffset): Clarify docs.  Add argument checks.
7591         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7592         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7593         endTimeMode.
7594         * testsuite/libjava.mauve/xfails
7595         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7596
7597 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7598
7599         Layout interfaces during preparation, not initialization. 
7600         * java/lang/natClass.cc (initializeClass): Move 
7601         _Jv_LayoutInterfaceMethods call...
7602         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7603
7604 2004-05-19  Anthony Green  <green@localhost.localdomain>
7605
7606         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7607         gnu.javax.rmi code.
7608         * Makefile.in: Rebuilt.
7609         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7610         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7611         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7612         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7613         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7614         gnu/javax/rmi/CORBA/DelegateFactory.java,
7615         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7616         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7617         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7618         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7619         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7620         gnu/javax/rmi/PortableServer.java: Remove files.
7621
7622 2004-05-19  Anthony Green  <green@redhat.com>
7623
7624         * Makefile.am: Define JAVA_EXT_DIRS.
7625         * Makefile.in: Rebuilt.
7626         * java/lang/natRuntime.cc (insertSystemProperties): Set
7627         java.ext.dirs property.
7628
7629 2004-05-16  Mark Wielaard  <mark@klomp.org>
7630
7631         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7632
7633 2004-05-15  Mark Wielaard  <mark@klomp.org>
7634
7635         * doc/cni.sgml: Removed, merged into gcj.texi.
7636
7637 2004-05-15  Mark Wielaard  <mark@klomp.org>
7638
7639         * Makefile.am (ordinary_java_source_files): Add new javax.print
7640         classes.
7641         * Makefile.in: Regenerated.
7642
7643 2004-05-15  Michael Koch  <konqueror@gmx.de>
7644
7645         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7646         javax/print/attribute/standard/DateTimeAtCreation.java,
7647         javax/print/attribute/standard/DateTimeAtProcessing.java,
7648         javax/print/attribute/standard/DocumentName.java,
7649         javax/print/attribute/standard/JobHoldUntil.java,
7650         javax/print/attribute/standard/JobImpressionsCompleted.java,
7651         javax/print/attribute/standard/JobMessageFromOperator.java,
7652         javax/print/attribute/standard/JobName.java,
7653         javax/print/attribute/standard/JobOriginatingUserName.java,
7654         javax/print/attribute/standard/JobPriority.java,
7655         javax/print/attribute/standard/JobPrioritySupported.java,
7656         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7657         javax/print/attribute/standard/OutputDeviceAssigned.java,
7658         javax/print/attribute/standard/PrinterInfo.java,
7659         javax/print/attribute/standard/PrinterLocation.java,
7660         javax/print/attribute/standard/PrinterMakeAndModel.java,
7661         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7662         javax/print/attribute/standard/PrinterName.java,
7663         javax/print/attribute/standard/QueuedJobCount.java,
7664         javax/print/attribute/standard/RequestingUserName.java:
7665         Fixed javadocs all over.
7666
7667 2004-05-15  Michael Koch  <konqueror@gmx.de>
7668
7669         * javax/print/DocFlavor.java,
7670         javax/print/attribute/standard/ColorSupported.java,
7671         javax/print/attribute/standard/Compression.java,
7672         javax/print/attribute/standard/CopiesSupported.java,
7673         javax/print/attribute/standard/Fidelity.java,
7674         javax/print/attribute/standard/Finishings.java,
7675         javax/print/attribute/standard/JobImpressionsSupported.java,
7676         javax/print/attribute/standard/JobKOctetsSupported.java,
7677         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7678         javax/print/attribute/standard/JobSheets.java,
7679         javax/print/attribute/standard/JobState.java,
7680         javax/print/attribute/standard/JobStateReason.java,
7681         javax/print/attribute/standard/JobStateReasons.java,
7682         javax/print/attribute/standard/Media.java,
7683         javax/print/attribute/standard/MediaSizeName.java,
7684         javax/print/attribute/standard/MultipleDocumentHandling.java,
7685         javax/print/attribute/standard/NumberUpSupported.java,
7686         javax/print/attribute/standard/OrientationRequested.java,
7687         javax/print/attribute/standard/PDLOverrideSupported.java,
7688         javax/print/attribute/standard/PageRanges.java,
7689         javax/print/attribute/standard/PresentationDirection.java,
7690         javax/print/attribute/standard/PrintQuality.java,
7691         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7692         javax/print/attribute/standard/PrinterMoreInfo.java,
7693         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7694         javax/print/attribute/standard/PrinterResolution.java,
7695         javax/print/attribute/standard/PrinterState.java,
7696         javax/print/attribute/standard/PrinterStateReason.java,
7697         javax/print/attribute/standard/PrinterStateReasons.java,
7698         javax/print/attribute/standard/PrinterURI.java,
7699         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7700         javax/print/attribute/standard/Severity.java,
7701         javax/print/attribute/standard/SheetCollate.java,
7702         javax/print/attribute/standard/Sides.java:
7703         Added serialVersionUID and removed final keyword where it doenst
7704         belong.
7705
7706 2004-05-15  Michael Koch  <konqueror@gmx.de>
7707
7708         * javax/print/PrintServiceLookup.java: New file.
7709
7710 2004-05-15  Michael Koch  <konqueror@gmx.de>
7711
7712         * javax/print/DocFlavor.java:
7713         Implemented all flavor classes.
7714
7715 2004-05-15  Michael Koch  <konqueror@gmx.de>
7716
7717         * javax/print/attribute/standard/ColorSupported.java,
7718         javax/print/attribute/standard/Compression.java,
7719         javax/print/attribute/standard/CopiesSupported.java,
7720         javax/print/attribute/standard/Fidelity.java,
7721         javax/print/attribute/standard/Finishings.java,
7722         javax/print/attribute/standard/JobImpressionsSupported.java,
7723         javax/print/attribute/standard/JobKOctetsSupported.java,
7724         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7725         javax/print/attribute/standard/JobSheets.java,
7726         javax/print/attribute/standard/JobState.java,
7727         javax/print/attribute/standard/JobStateReason.java,
7728         javax/print/attribute/standard/JobStateReasons.java,
7729         javax/print/attribute/standard/Media.java,
7730         javax/print/attribute/standard/MediaSizeName.java,
7731         javax/print/attribute/standard/MultipleDocumentHandling.java,
7732         javax/print/attribute/standard/NumberUpSupported.java,
7733         javax/print/attribute/standard/OrientationRequested.java,
7734         javax/print/attribute/standard/PDLOverrideSupported.java,
7735         javax/print/attribute/standard/PageRanges.java,
7736         javax/print/attribute/standard/PresentationDirection.java,
7737         javax/print/attribute/standard/PrintQuality.java,
7738         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7739         javax/print/attribute/standard/PrinterMoreInfo.java,
7740         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7741         javax/print/attribute/standard/PrinterResolution.java,
7742         javax/print/attribute/standard/PrinterState.java,
7743         javax/print/attribute/standard/PrinterStateReason.java,
7744         javax/print/attribute/standard/PrinterStateReasons.java,
7745         javax/print/attribute/standard/PrinterURI.java,
7746         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7747         javax/print/attribute/standard/Severity.java,
7748         javax/print/attribute/standard/SheetCollate.java,
7749         javax/print/attribute/standard/Sides.java: New files.
7750
7751 2004-05-15  Michael Koch  <konqueror@gmx.de>
7752
7753         * javax/print/Doc.java
7754         (getPrintData): Throws IOException.
7755         (getReaderForText): Likewise.
7756         (getStreamForBytes): Likewise.
7757         * javax/print/DocFlavor.java:
7758         Fixed filename in copyright.
7759         (serialVersionUID): New field.
7760         * javax/print/ServiceUIFactory.java:
7761         Made all constants final.
7762         * javax/print/AttributeException.java
7763         javax/print/MultiDoc.java
7764         javax/print/MultiDocPrintJob.java
7765         javax/print/MultiDocPrintService.java
7766         javax/print/StreamPrintService.java
7767         javax/print/URIException.java: New files.
7768         * javax/print/Makefile.am
7769         (EXTRA_DIST): Added all new files.
7770
7771 2004-05-15  Michael Koch  <konqueror@gmx.de>
7772
7773         * javax/print/attribute/standard/Copies.java,
7774         javax/print/attribute/standard/DateTimeAtCompleted.java,
7775         javax/print/attribute/standard/DateTimeAtCreation.java,
7776         javax/print/attribute/standard/DateTimeAtProcessing.java,
7777         javax/print/attribute/standard/DocumentName.java,
7778         javax/print/attribute/standard/JobHoldUntil.java,
7779         javax/print/attribute/standard/JobImpressions.java,
7780         javax/print/attribute/standard/JobImpressionsCompleted.java,
7781         javax/print/attribute/standard/JobKOctets.java,
7782         javax/print/attribute/standard/JobKOctetsProcessed.java,
7783         javax/print/attribute/standard/JobMediaSheets.java,
7784         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7785         javax/print/attribute/standard/JobMessageFromOperator.java,
7786         javax/print/attribute/standard/JobName.java,
7787         javax/print/attribute/standard/JobOriginatingUserName.java,
7788         javax/print/attribute/standard/JobPriority.java,
7789         javax/print/attribute/standard/JobPrioritySupported.java,
7790         javax/print/attribute/standard/NumberOfDocuments.java,
7791         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7792         javax/print/attribute/standard/NumberUp.java,
7793         javax/print/attribute/standard/OutputDeviceAssigned.java,
7794         javax/print/attribute/standard/PagesPerMinute.java,
7795         javax/print/attribute/standard/PagesPerMinuteColor.java:
7796         Fixed @return tag all over.
7797
7798 2004-05-15  Michael Koch  <konqueror@gmx.de>
7799
7800         * javax/print/attribute/AttributeSetUtilities.java
7801         (verifyCategoryForValue): Fixed typo in javadoc.
7802         * javax/print/attribute/HashAttributeSet.java
7803         (containsKey): Fixed @return tag.
7804         (comtainsValue): Likewise.
7805         (equals): Likewise.
7806         * javax/print/attribute/IntegerSyntax.java
7807         (equals): Likewise.
7808         * javax/print/attribute/ResolutionSyntax.java
7809         (equals): Likewise.
7810         (getCrossFeedResolution): Removed unused code.
7811         (getFeedResolution): Likewise.
7812         * javax/print/attribute/SetOfIntegerSyntax.java
7813         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7814         (equals): Fixed @return tag.
7815         * javax/print/attribute/TextSyntax.java
7816         (TextSyntax): Take locale into account.
7817         (hashCode): Better implementation.
7818
7819 2004-05-15  Michael Koch  <konqueror@gmx.de>
7820
7821         * javax/print/CancelablePrintJob.java,
7822         javax/print/Doc.java,
7823         javax/print/DocFlavor.java,
7824         javax/print/DocPrintJob.java,
7825         javax/print/FlavorException.java,
7826         javax/print/PrintException.java,
7827         javax/print/PrintService.java,
7828         javax/print/ServiceUIFactory.java: New files.
7829
7830 2004-05-15  Mark Wielaard  <mark@klomp.org>
7831
7832         * gnu/regexp/CharIndexedReader.java: Removed.
7833         * gnu/regexp/REFilterReader.java: Likewise.
7834         * gnu/regexp/RETokenLookAhead.java: Likewise.
7835         * Makefile.am (ordinary_java_source_files): Remove above classes.
7836         * Makefile.in: Regenerated.
7837
7838 2004-05-14  Tom Tromey  <tromey@redhat.com>
7839
7840         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7841         not `XGraphicsConfiguration.XOffScreenImage'.
7842
7843 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7844
7845         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7846
7847 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7848
7849         * include/jni.h (_Jv_func): Removed.
7850         (struct JNINativeInterface): Use `void *' for reserved slots.
7851         (struct JNIInvokeInterface): Likewise.
7852
7853 2004-05-11  Michael Koch  <konqueror@gmx.de>
7854
7855         * gnu/java/net/natPlainSocketImplPosix.cc
7856         (read): Fixed typo in expression.
7857
7858 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7859
7860         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7861         ld_library_additions. Adjust all calls to libjava_invoke to match
7862         the new argument.
7863
7864         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7865         path to cxxflagslist.
7866         Pass path of libstdc++ to libjava_invoke.
7867
7868         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7869         libjava_invoke arguments.
7870
7871 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7872
7873         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7874         reality.
7875
7876 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7877
7878         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7879         main binary against the JNI shared library.
7880
7881 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7882
7883         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7884         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7885         (SimpleTimeZone): Tweak docs.  Add new variation.
7886         (setStartRule,setEndRule): Add new variations.  Use
7887         startTimeMode and endTimeMode.
7888
7889 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7890
7891         * java/util/Calendar.java (getActualMinimum,
7892         getActualMaximum):  Remove abstract.  Implement.
7893
7894 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7895
7896         Run the jni tests using the interpreter.
7897         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7898         options_cxx to shared lib compile command.
7899         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7900         they are used to link the shared lib, not the main binary.
7901         Use libjava_invoke to run gij.
7902
7903 2004-05-06  Michael Koch  <konqueror@gmx.de>
7904
7905         * java/util/logging/Level.java
7906         (parse): Use == instead of String.equals().
7907
7908 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7909
7910         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7911         verify_field_signature and verify_method_signature, not 
7912         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7913         (_Jv_ClassReader::handleField): Likewise.
7914         (_Jv_ClassReader::handleMethod): Likewise.
7915
7916 2004-05-06  Michael Koch  <konqueror@gmx.de>
7917
7918         * javax/swing/table/TableColumn.java:
7919         Reformated.
7920
7921 2004-05-06  Michael Koch  <konqueror@gmx.de>
7922
7923         * javax/imageio/spi/ImageReaderWriterSpi.java
7924         (ImageReaderWriterSpi): Made it public.
7925         * javax/imageio/stream/ImageInputStream.java:
7926         Clean up imports.
7927
7928 2004-05-06  Michael Koch  <konqueror@gmx.de>
7929
7930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7931         Removed empty line.
7932
7933 2004-05-06  Michael Koch  <konqueror@gmx.de>
7934
7935         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7936         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7937         New files.
7938         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7939         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7941         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7942         their own source file.
7943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7944         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7945         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7946         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7947         (create): Define variable on top of function.
7948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7949         (menu_pos): Prototyped.
7950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7951         (setTitle): Removed.
7952         * jni/gtk-peer/gthread-jni.c
7953         (gdk_threads_wake): Removed.
7954         * Makefile.am (gtk_c_source_files): Added new files
7955         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7956         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7957         * Makefile.in: Regenerated.
7958
7959 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7960
7961         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7962         call.
7963
7964 2004-05-05  Mark Wielaard  <mark@klomp.org>
7965
7966         * javax/swing/AbstractButton.java: Replace special HTML entities with
7967         ASCII equivalent.
7968         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7969         * javax/swing/DefaultButtonModel.java: Likewise.
7970         * javax/swing/DefaultListModel.java: Likewise.
7971         * javax/swing/JList.java: Likewise.
7972         * javax/swing/JSlider.java: Likewise.
7973         * javax/swing/ListModel.java: Likewise.
7974         * javax/swing/Popup.java: Likewise.
7975         * javax/swing/SwingUtilities.java: Likewise.
7976
7977 2004-05-05  Michael Koch  <konqueror@gmx.de>
7978
7979         * javax/swing/AbstractButton.java,
7980         javax/swing/ActionMap.java,
7981         javax/swing/DefaultButtonModel.java,
7982         javax/swing/DefaultListModel.java,
7983         javax/swing/ImageIcon.java,
7984         javax/swing/JComboBox.java,
7985         javax/swing/JComponent.java,
7986         javax/swing/JFrame.java,
7987         javax/swing/JInternalFrame.java,
7988         javax/swing/JMenuBar.java,
7989         javax/swing/JMenuItem.java,
7990         javax/swing/JOptionPane.java,
7991         javax/swing/JProgressBar.java,
7992         javax/swing/JRootPane.java,
7993         javax/swing/JScrollBar.java,
7994         javax/swing/JScrollPane.java,
7995         javax/swing/JSeparator.java,
7996         javax/swing/JSlider.java,
7997         javax/swing/JTabbedPane.java,
7998         javax/swing/JTable.java,
7999         javax/swing/JTextField.java,
8000         javax/swing/JToolBar.java,
8001         javax/swing/JToolTip.java,
8002         javax/swing/JTree.java,
8003         javax/swing/JViewport.java,
8004         javax/swing/JWindow.java,
8005         javax/swing/KeyStroke.java,
8006         javax/swing/LookAndFeel.java,
8007         javax/swing/SwingUtilities.java,
8008         javax/swing/Timer.java,
8009         javax/swing/ToolTipManager.java,
8010         javax/swing/UIDefaults.java,
8011         javax/swing/border/TitledBorder.java,
8012         javax/swing/filechooser/FileSystemView.java,
8013         javax/swing/plaf/basic/BasicButtonListener.java,
8014         javax/swing/plaf/basic/BasicButtonUI.java,
8015         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8016         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8017         javax/swing/plaf/basic/BasicLabelUI.java,
8018         javax/swing/plaf/basic/BasicMenuItemUI.java,
8019         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8020         javax/swing/plaf/basic/BasicRootPaneUI.java,
8021         javax/swing/plaf/basic/BasicScrollBarUI.java,
8022         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8023         javax/swing/plaf/basic/BasicSliderUI.java,
8024         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8025         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8026         javax/swing/table/JTableHeader.java,
8027         javax/swing/text/AbstractDocument.java,
8028         javax/swing/text/DefaultCaret.java,
8029         javax/swing/text/StyledEditorKit.java,
8030         javax/swing/tree/DefaultTreeCellEditor.java:
8031         Cleaned up imports.
8032
8033 2004-05-05  Michael Koch  <konqueror@gmx.de>
8034
8035         * java/util/prefs/AbstractPreferences.java
8036         (AbstractPreferences): Added parenthesis for clarity.
8037         Closes classpath bug #7940.
8038
8039 2004-05-05  Tom Tromey  <tromey@redhat.com>
8040
8041         * javax/naming/CompoundName.java (endsWith): Look at correct
8042         element of source name.
8043
8044 2004-05-05  Mark Wielaard  <mark@klomp.org>
8045
8046         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8047         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8048
8049 2004-05-05  Tom Tromey  <tromey@redhat.com>
8050
8051         * java/io/BufferedReader.java (skip): Removed unused
8052         variable.
8053
8054 2004-05-05  Michael Koch  <konqueror@gmx.de>
8055
8056         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8057
8058 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8059
8060         * java/text/AttributedString.java,
8061         java/text/AttributedStringIterator.java,
8062         java/text/Collator.java,
8063         java/text/DecimalFormatSymbols.java,
8064         java/text/NumberFormat.java,
8065         java/text/RuleBasedCollator.java:
8066         Cleaned up imports.
8067
8068 2004-05-05  Tom Tromey  <tromey@redhat.com>
8069
8070         * java/text/Format.java: Cleaned up imports.
8071         * java/text/DecimalFormat.java: Cleaned up imports.
8072         * java/security/SecureRandom.java: Cleaned up imports.
8073         (SecureRandom): Removed unused variable.
8074         * java/security/UnresolvedPermission.java: Cleaned up imports.
8075         * java/util/Date.java (parse): Removed unused variable.
8076         * java/util/ResourceBundle.java: Cleaned up imports.
8077         (getBundle): Removed unused variable.
8078         (tryBundle): Likewise.
8079         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8080
8081 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8082
8083         * java/text/SimpleDateFormat.java:
8084         (formatWithAttribute): New method. It implements
8085         the formatting process with attributes.
8086         (format): Use formatWithAttribute.
8087         (formatToCharacterIterator): New method. Use
8088         formatWithAttribute.
8089
8090 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8091
8092         * java/text/MessageFormat.java:
8093         (class Field): New class.
8094         (formatToCharacterIterator): New method.
8095         (format): Use formatInternal now.
8096         (formatInternal): New method. String formatter should
8097         be done here (with attributes). Attributes merging supported.
8098         (parse): More documentation.
8099         (getFormatsByArgumentIndex): New method.
8100         (setFormatByArgumentIndex): New method.
8101         (setFormatsByArgumentIndex): New method.
8102
8103 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8104
8105         * java/text/DecimalFormat.java
8106         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8107         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8108         (parse): Fixed handling of exponentiation notation and grouping.
8109
8110 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8111
8112         * java/text/DecimalFormat.java
8113         (scanFix): Build attribute array. Fixed error reporting.
8114         (applyPatternWithSymbols): Store attributes for the prefix and
8115         suffix.
8116         (formatInternal): New method. Changed the way the string is
8117         computed. Implemented attributes. Cleant up rounding in
8118         exponential notation.
8119         (format): Use formatInternal.
8120         (formatToCharacterIterator): New method.
8121         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8122         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8123         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8124         New fields.
8125
8126 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8127
8128         * java/security/interfaces/DSAKeyPairGenerator.java,
8129         java/security/interfaces/DSAPrivateKey.java,
8130         java/security/interfaces/DSAPublicKey.java,
8131         java/security/interfaces/RSAPrivateKey.java,
8132         java/security/interfaces/RSAPublicKey.java:
8133         Cleaned up imports.
8134
8135 2004-05-04  Michael Koch  <konqueror@gmx.de>
8136
8137         * java/nio/ByteBuffer.java,
8138         java/nio/CharBuffer.java,
8139         java/nio/DoubleBuffer.java,
8140         java/nio/FloatBuffer.java,
8141         java/nio/IntBuffer.java,
8142         java/nio/LongBuffer.java,
8143         java/nio/ShortBuffer.java:
8144         (compareTo): Fixed bogus implementation in all buffer classes.
8145
8146 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8147
8148         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8149         32 bit pixels not 8 bit pixels.
8150         (isCompatibleRaster): Added javadoc comment.
8151
8152 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8153
8154         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8155         scanline stride.
8156
8157 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8158
8159         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8160         (getColorModel): Return the actual color model.
8161         (getRaster): Implemented.
8162         (ColorRaster): New inner class.
8163         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8164         a PaintContext.
8165         * java/awt/Color.java (<init>): Make exception more verbose.
8166         (createContext): Use ColorModel when creating a PaintContext.
8167
8168 2004-05-04  Michael Koch  <konqueror@gmx.de>
8169
8170         * gnu/java/text/CharacterBreakIterator.java
8171         (previous): Removed unused variable.
8172
8173 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8174
8175         * gnu/java/text/FormatBuffer.java,
8176         gnu/java/text/AttributedFormatBuffer.java,
8177         gnu/java/text/StringFormatBuffer.java: New classes to implement
8178         attributed iterators in java.text.
8179         * gnu/java/text/FormatCharacterIterator.java: Moved 
8180         from java/text as it is an internal class.
8181         * java/text/FormatCharacterIterator.java: Removed.
8182         * java/text/Format.java:
8183         Import gnu.java.text.FormatCharacterIterator.
8184         * Makefile.am (java_source_files): Added new files.
8185         * Makefile.in: Regenerated.
8186         
8187
8188 2004-05-04  Mark Wielaard  <mark@klomp.org>
8189
8190         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8191
8192 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8193
8194         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8195         * Makefile.in: Rebuilt.
8196
8197 2004-05-03  Mark Wielaard  <mark@klomp.org>
8198
8199         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8200         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8201         * java/net/URL.java
8202         (set(String, String, int, String, String, String, String, String)):
8203         Assign this.file to path or path + "?" + query.
8204         * java/util/Arrays.java: Call static methods staticly.
8205         * java/util/zip/ZipEntry.java: Likewise.
8206         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8207         dir to this.direction.
8208         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8209         Assign static field only once.
8210         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8211
8212 2004-05-03  Mark Wielaard  <mark@klomp.org>
8213
8214         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8215         unused variables hScrollbarHeight and vScrollbarWidth.
8216         (preferredSize): Likewise.
8217         * gnu/java/security/provider/DSAParameters.java (engineToString):
8218         Removed unused call to System.getProperty("line.seperator");
8219         * java/security/Security.java (loadProviders): Return result.
8220
8221 2004-05-03  Tom Tromey  <tromey@redhat.com>
8222
8223         * java/net/URLStreamHandler.java (toExternalForm): Removed
8224         unused variables.
8225         unused constructor.
8226         * java/math/BigDecimal.java (divide): Removed unused variable.
8227         * java/lang/Throwable.java: Cleaned up imports.
8228         * java/lang/ClassLoader.java: Cleaned up imports.
8229         * java/io/FilePermission.java (implies): Removed unused
8230         variable.
8231         * java/awt/TextComponent.java: Removed unused import.
8232         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8233         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8234         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8235         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8236         import.
8237         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8238         * gnu/java/text/CharacterBreakIterator.java: Removed
8239         unused import.
8240         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8241         Cleaned up imports.
8242         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8243         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8244         unused method.
8245         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8246         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8247         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8248         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8249         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8250         (lookupProviders): Removed unused variable.
8251         (loadNextServiceProvider): Likewise.
8252         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8253
8254 2004-05-03  Michael Koch  <konqueror@gmx.de>
8255
8256         Fixes PR libgcj/14695:
8257         * java/net/NetworkInterface.java
8258         (getByName): Return null when no interface was found.
8259
8260 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8261             Tom Tromey  <tromey@redhat.com>
8262
8263         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8264         additional option "-Wmissing-prototypes" for compiling C sources.
8265         Print actual filename for pass/fail rather than $name.c.
8266         * testsuite/libjava.jni/PR15133.java: New testcase file.
8267         * testsuite/libjava.jni/PR15133.c: Likewise.
8268         * testsuite/libjava.jni/PR15133.out: Likewise.
8269
8270 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8271
8272         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8273         ceil and floor.
8274
8275 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8276         
8277         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8278         limit the maximum heap size to avoid unnecessary thrashing.
8279
8280 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8281
8282         * java/text/CollationElementIterator.java (reset): Reset
8283         lookahead variables.
8284
8285 2004-04-23  Mark Wielaard  <mark@klomp.org>
8286
8287         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8288
8289 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8290
8291         * java/sql/DriverManager.java:
8292         Cleaned up imports.
8293
8294 2004-04-23  Michael Koch  <konqueror@gmx.de>
8295
8296         * java/net/URL.java
8297         (hashcode): Don't initialize with default value explicitely.
8298         (getContent): Removed redundant "final" keyword.
8299         (openStream): Likewise.
8300         (getURLStreamHandler): Fixed coding style.
8301         * java/net/URLConnection.java
8302         (defaultAllowUserInteraction): Don't initialize with default value
8303         explicitely.
8304         (connected): Likewise.
8305         (doOutput): Likewise.
8306         (ifModifiedSince): Likewise.
8307         (dateformats_initialized): Likewise.
8308         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8309
8310 2004-04-23  Michael Koch  <konqueror@gmx.de>
8311
8312         * gnu/java/nio/channels/FileChannelImpl.java
8313         (SET, CUR): Unused, removed.
8314         (read): Implement here directly.
8315         (implRead): Removed.
8316         (write): Implement here directly.
8317         (implWrite): Removed.
8318
8319 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8320
8321         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8322         javax/rmi/CORBA/Stub.java,
8323         javax/rmi/CORBA/Util.java,
8324         javax/rmi/CORBA/ValueHandler.java,
8325         javax/rmi/CORBA/ValueHandler.java,
8326         javax/rmi/PortableRemoteObject.java:
8327         Cleaned up imports.
8328
8329 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8330
8331         * java/util/jar/JarFile.java,
8332         java/util/jar/JarInputStream.java,
8333         java/util/jar/JarOutputStream.java,
8334         java/util/jar/Manifest.java:
8335         Cleaned up imports.
8336
8337 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8338
8339         * java/util/ArrayList.java,
8340         java/util/Calendar.java,
8341         java/util/Currency.java,
8342         java/util/HashMap.java,
8343         java/util/HashSet.java,
8344         java/util/Hashtable.java,
8345         java/util/LinkedList.java,
8346         java/util/Properties.java,
8347         java/util/PropertyPermission.java,
8348         java/util/TimeZone.java,
8349         java/util/TreeMap.java,
8350         java/util/TreeSet.java,
8351         java/util/Vector.java,
8352         java/util/WeakHashMap.java:
8353         Cleaned up imports.
8354
8355 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8356
8357         * java/util/logging/FileHandler.java,
8358         java/util/logging/Formatter.java,
8359         java/util/logging/Handler.java,
8360         java/util/logging/Logger.java,
8361         java/util/logging/SimpleFormatter.java,
8362         java/util/logging/XMLFormatter.java:
8363         Cleaned up imports.
8364
8365 2004-04-22  Mark Wielaard  <mark@klomp.org>
8366
8367         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8368         -Wno-long-long flags variable.
8369         (gtk_c_files): Use PEDANTIC_CFLAGS.
8370         * Makefile.in: Regenerated.
8371
8372 2004-04-22  Mark Wielaard  <mark@klomp.org>
8373
8374         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8375         Changed C++ comments into C comments.
8376         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8377         Likewise.
8378
8379 2004-04-22  Michael Koch  <konqueror@gmx.de>
8380
8381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8382         Merged copyright year with GNU classpath.
8383
8384 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8385
8386         * javax/security/auth/x500/X500Principal.java:
8387         Cleaned up imports.
8388
8389 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8390
8391         * javax/swing/JSlider.java:
8392         Fixed HTML tags in comments.
8393
8394 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8395
8396         * javax/accessibility/AccessibleText.java:
8397         Cleaned up imports.
8398
8399 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8400
8401         * java/net/URLStreamHandler.java
8402         (parseURL): Convert the file path to using '/' instead of native
8403         file separator.
8404
8405 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8406
8407         * java/net/URL.java
8408         (userInfo): New field.
8409         (URL): Set authority to the right value.
8410         (setURL): Fixed authority and file initialization.
8411         * java/net/URLStreamHandler.java
8412         (parseURL): Take care of the query tag. Build authority.
8413         (toExternalForm): Fixed URL building using authority.
8414
8415 2004-04-22  Michael Koch  <konqueror@gmx.de>
8416
8417         * java/net/Socket.java
8418         (impl): Made package-private.
8419         * java/net/ServerSocket.java
8420         (implAccept): Access Socket.impl field directly.
8421
8422 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8423
8424         * java/util/prefs/Preferences.java,
8425         java/util/prefs/InvalidPreferencesFormatException.java,
8426         java/util/prefs/BackingStoreException.java,
8427         java/util/prefs/AbstractPreferences.java:
8428         Cleaned up imports.
8429
8430 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8431
8432         * java/util/regex/Matcher.java,
8433         java/util/regex/Pattern.java:
8434         Cleaned up imports.
8435
8436 2004-04-22  Michael Koch  <konqueror@gmx.de>
8437
8438         * java/nio/charset/IllegalCharsetNameException.java
8439         (charsetName): Made private.
8440         (IllegalCharsetNameException): Added @param tag to javadoc.
8441         (getCharsetName): Added @return tag to javadoc.
8442         * java/nio/charset/MalformedInputException.java
8443         (MalformedInputException): Added @param tag to javadoc.
8444         (getInputLength): Revised method description, added @return tag.
8445         (getMessage): Added @return tag.
8446
8447 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8448
8449         * java/awt/Font.java (deriveFont): Implement missing variants.
8450         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8451         missing variants.
8452
8453 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8454
8455         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8456         Set method->index values for interface methods to their itable index.
8457         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8458
8459 2004-04-21  Michael Koch  <konqueror@gmx.de>
8460
8461         * java/nio/DirectByteBufferImpl.java
8462         (shiftDown): Made static, give address as argument and
8463         provide a convenience method that overwrites shiftDown in
8464         ByteBufferImpl and calls the native shiftDown.
8465         * java/nio/MappedByteBufferImpl.java
8466         (): Use optimized method in DirectByteBufferImpl.
8467         * java/nio/natDirectByteBufferImpl.cc
8468         (shiftDown): Changed method signature. Removed usage of array_offset.
8469
8470 2004-04-21  Michael Koch  <konqueror@gmx.de>
8471
8472         * gnu/java/net/natPlainSocketImplPosix.cc
8473         (SocketInputStream::read): Make sure returned data is a byte value.
8474
8475 2004-04-21  Michael Koch  <konqueror@gmx.de>
8476
8477         * gnu/classpath/ServiceFactory.java,
8478         gnu/classpath/ServiceProviderLoadingAction.java,
8479         javax/imageio/ImageReader.java,
8480         javax/imageio/ImageTranscoder.java,
8481         javax/imageio/ImageWriter.java,
8482         javax/imageio/package.html,
8483         javax/imageio/spi/IIOServiceProvider.java,
8484         javax/imageio/spi/ImageInputStreamSpi.java,
8485         javax/imageio/spi/ImageOutputStreamSpi.java,
8486         javax/imageio/spi/ImageReaderWriterSpi.java,
8487         javax/imageio/spi/ImageTranscoderSpi.java,
8488         javax/imageio/spi/RegisterableService.java,
8489         javax/imageio/spi/ServiceRegistry.java,
8490         javax/imageio/spi/package.html,
8491         javax/imageio/stream/IIOByteBuffer.java,
8492         javax/imageio/stream/ImageInputStream.java,
8493         javax/imageio/stream/ImageOutputStream.java,
8494         javax/imageio/stream/package.html:
8495         New files.
8496         * Makefile.am
8497         (ordinary_java_source_files): Added
8498         gnu/classpath/ServiceFactory.java and
8499         gnu/classpath/ServiceProviderLoadingAction.java.
8500         (javax_source_files): Added
8501         javax/imageio/ImageReader.java,
8502         javax/imageio/ImageTranscoder.java,
8503         javax/imageio/ImageWriter.java,
8504         javax/imageio/spi/IIOServiceProvider.java,
8505         javax/imageio/spi/ImageInputStreamSpi.java,
8506         javax/imageio/spi/ImageOutputStreamSpi.java,
8507         javax/imageio/spi/ImageReaderWriterSpi.java,
8508         javax/imageio/spi/ImageTranscoderSpi.java,
8509         javax/imageio/spi/RegisterableService.java,
8510         javax/imageio/spi/ServiceRegistry.java,
8511         javax/imageio/stream/IIOByteBuffer.java,
8512         javax/imageio/stream/ImageInputStream.java and
8513         javax/imageio/stream/ImageOutputStream.java.
8514         * Makefile.in: Regenerated.
8515
8516 2004-04-21  Michael Koch  <konqueror@gmx.de>
8517
8518         * java/util/Properties.java
8519         (load): Fix wrongly merged fix.
8520
8521 2004-04-21  Mark Wielaard  <mark@klomp.org>
8522
8523         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8524         malloc and free buf.
8525
8526 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8527
8528         * javax/naming/AuthenticationException.java,
8529         javax/naming/AuthenticationNotSupportedException.java,
8530         javax/naming/CannotProceedException.java,
8531         javax/naming/CommunicationException.java,
8532         javax/naming/CompoundName.java,
8533         javax/naming/ConfigurationException.java,
8534         javax/naming/ContextNotEmptyException.java,
8535         javax/naming/InitialContext.java,
8536         javax/naming/InsufficientResourcesException.java,
8537         javax/naming/InterruptedNamingException.java,
8538         javax/naming/LimitExceededException.java,
8539         javax/naming/LinkException.java,
8540         javax/naming/LinkLoopException.java,
8541         javax/naming/LinkRef.java,
8542         javax/naming/MalformedLinkException.java,
8543         javax/naming/Name.java,
8544         javax/naming/NameAlreadyBoundException.java,
8545         javax/naming/NameNotFoundException.java,
8546         javax/naming/NamingSecurityException.java,
8547         javax/naming/NoInitialContextException.java,
8548         javax/naming/NoPermissionException.java,
8549         javax/naming/NotContextException.java,
8550         javax/naming/PartialResultException.java,
8551         javax/naming/ReferralException.java,
8552         javax/naming/ServiceUnavailableException.java,
8553         javax/naming/SizeLimitExceededException.java,
8554         javax/naming/TimeLimitExceededException.java,
8555         javax/naming/directory/Attribute.java,
8556         javax/naming/directory/Attributes.java,
8557         javax/naming/directory/SearchResult.java,
8558         javax/naming/event/NamingExceptionEvent.java,
8559         javax/naming/spi/ResolveResult.java:
8560         Cleaned up imports.
8561
8562 2004-04-21  Mark Wielaard  <mark@klomp.org>
8563
8564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8565         Changed C++ comments into C comments. Removed commented out code.
8566         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8567         Likewise.
8568         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8569         Likewise.
8570         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8571         Likewise.
8572         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8573         Likewise.
8574         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8575         Likewise.
8576         * native/jni/gtk-peer/gthread-jni.c:
8577         Likewise.
8578
8579 2004-04-21  Mark Wielaard  <mark@klomp.org>
8580
8581         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8582         static fields defined in interface.
8583         * javax/awt/JDialog.java: Likewise.
8584         (JDialog): Make constructors public.
8585         (getDefaultCloseOperation): Make public.
8586         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8587         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8588         * javax/swing/JViewport.java (JViewport): Make constructor public.
8589
8590 2004-04-21  Michael Koch  <konqueror@gmx.de>
8591
8592         * java/util/Map.java
8593         (Entry): Removed redundant "static" modifier.
8594         * java/text/AttributedCharacterIterator.java:
8595         Updated copyright year.
8596
8597 2004-04-20  Michael Koch  <konqueror@gmx.de>
8598
8599         * javax/naming/directory/SearchControls.java:
8600         Don't explicitely extend java.lang.Object.
8601         * javax/naming/spi/DirStateFactory.java:
8602         Merged copyright year with GNU classpath.
8603
8604 2004-04-20  Michael Koch  <konqueror@gmx.de>
8605
8606         * java/nio/channels/Channels.java:
8607         Merged coding style with GNU classpath.
8608
8609 2004-04-20  Michael Koch  <konqueror@gmx.de>
8610
8611         * java/net/ServerSocket.java
8612         Merged coding style from GNU classpath.
8613
8614 2004-04-20  Michael Koch  <konqueror@gmx.de>
8615
8616         * java/io/BufferedWriter.java:
8617         Reordered variables to be at top of the class.
8618         (localFlush): Removed redundant final keyword.
8619
8620 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8621
8622         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8623
8624 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8625
8626         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8627         for percent and permill check.
8628
8629 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8630
8631         * java/text/FieldPosition.java
8632         (FieldPosition) Constructor now behaves as it should according
8633         to the java documentation.
8634
8635 2004-04-20  Mark Wielaard  <mark@klomp.org>
8636
8637         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8638         documentation.
8639
8640 2004-04-20  Michael Koch  <konqueror@gmx.de>
8641
8642         * java/nio/Buffer.java,
8643         java/nio/channels/AlreadyConnectedException.java,
8644         java/nio/channels/AsynchronousCloseException.java,
8645         java/nio/channels/ByteChannel.java,
8646         java/nio/channels/CancelledKeyException.java,
8647         java/nio/channels/Channel.java,
8648         java/nio/channels/Channels.java,
8649         java/nio/channels/ClosedByInterruptException.java,
8650         java/nio/channels/ClosedChannelException.java,
8651         java/nio/channels/ClosedSelectorException.java,
8652         java/nio/channels/ConnectionPendingException.java,
8653         java/nio/channels/DatagramChannel.java,
8654         java/nio/channels/FileChannel.java,
8655         java/nio/channels/FileLock.java,
8656         java/nio/channels/FileLockInterruptionException.java,
8657         java/nio/channels/GatheringByteChannel.java,
8658         java/nio/channels/IllegalBlockingModeException.java,
8659         java/nio/channels/IllegalSelectorException.java,
8660         java/nio/channels/InterruptibleChannel.java,
8661         java/nio/channels/NoConnectionPendingException.java,
8662         java/nio/channels/NonReadableChannelException.java,
8663         java/nio/channels/NonWritableChannelException.java,
8664         java/nio/channels/NotYetBoundException.java,
8665         java/nio/channels/NotYetConnectedException.java,
8666         java/nio/channels/OverlappingFileLockException.java,
8667         java/nio/channels/Pipe.java,
8668         java/nio/channels/ReadableByteChannel.java,
8669         java/nio/channels/ScatteringByteChannel.java,
8670         java/nio/channels/SelectableChannel.java,
8671         java/nio/channels/SelectionKey.java,
8672         java/nio/channels/Selector.java,
8673         java/nio/channels/ServerSocketChannel.java,
8674         java/nio/channels/SocketChannel.java,
8675         java/nio/channels/UnresolvedAddressException.java,
8676         java/nio/channels/UnsupportedAddressTypeException.java,
8677         java/nio/channels/WritableByteChannel.java,
8678         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8679         java/nio/channels/spi/AbstractSelectableChannel.java,
8680         java/nio/channels/spi/AbstractSelectionKey.java,
8681         java/nio/channels/spi/AbstractSelector.java,
8682         java/nio/channels/spi/SelectorProvider.java,
8683         java/nio/charset/spi/CharsetProvider.java:
8684         Fixed javadocs and jalopied all over java.nio.
8685
8686 2004-04-20  Michael Koch  <konqueror@gmx.de>
8687
8688         * java/nio/ByteBufferImpl.java,
8689         java/nio/CharBufferImpl.java,
8690         java/nio/DirectByteBufferImpl.java,
8691         java/nio/DoubleBufferImpl.java,
8692         java/nio/DoubleViewBufferImpl.java,
8693         java/nio/FloatBufferImpl.java,
8694         java/nio/FloatViewBufferImpl.java,
8695         java/nio/IntBufferImpl.java,
8696         java/nio/IntViewBufferImpl.java,
8697         java/nio/LongBufferImpl.java,
8698         java/nio/LongViewBufferImpl.java,
8699         java/nio/MappedByteBufferImpl.java,
8700         java/nio/ShortBufferImpl.java,
8701         java/nio/ShortViewBufferImpl.java:
8702         Made sure all classes are final and removed final keyword from all
8703         methods.
8704
8705 2004-04-20  Michael Koch  <konqueror@gmx.de>
8706
8707         * java/rmi/MarshalledObject.java,
8708         java/rmi/Naming.java,
8709         java/rmi/RemoteException.java,
8710         java/rmi/activation/ActivationException.java,
8711         java/rmi/server/ServerCloneException.java,
8712         java/security/AccessController.java,
8713         java/security/AlgorithmParameterGenerator.java,
8714         java/security/AlgorithmParameters.java,
8715         java/security/CodeSource.java,
8716         java/security/Identity.java,
8717         java/security/IdentityScope.java,
8718         java/security/KeyPairGenerator.java,
8719         java/security/KeyStore.java,
8720         java/security/Security.java,
8721         java/security/Signature.java,
8722         java/security/SignatureSpi.java,
8723         java/security/SignedObject.java,
8724         java/security/spec/DSAParameterSpec.java,
8725         java/security/spec/DSAPrivateKeySpec.java,
8726         java/security/spec/DSAPublicKeySpec.java,
8727         java/sql/Array.java,
8728         java/sql/DatabaseMetaData.java,
8729         java/sql/ResultSet.java,
8730         java/text/ChoiceFormat.java,
8731         java/text/CollationElementIterator.java,
8732         java/text/CollationKey.java,
8733         java/text/Collator.java,
8734         java/text/DateFormat.java,
8735         java/text/DateFormatSymbols.java,
8736         java/text/DecimalFormatSymbols.java,
8737         java/text/Format.java,
8738         java/text/ParsePosition.java,
8739         java/text/RuleBasedCollator.java,
8740         java/text/SimpleDateFormat.java,
8741         java/text/StringCharacterIterator.java,
8742         java/util/Collections.java,
8743         java/util/PropertyResourceBundle.java,
8744         java/util/ResourceBundle.java,
8745         java/util/StringTokenizer.java,
8746         java/util/jar/Attributes.java,
8747         java/util/logging/ConsoleHandler.java,
8748         java/util/logging/LogManager.java,
8749         java/util/logging/MemoryHandler.java,
8750         java/util/logging/SocketHandler.java,
8751         javax/naming/NamingException.java:
8752         Fixed javadoc, coding style and argument names all over.
8753
8754 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8755
8756         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8757         constructor. (valid) Added null check.
8758
8759 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8760
8761         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8762         * java/io/FileOutputStream.java
8763         (FileOutputStream) Reorganized constructors. Constructors now
8764         check whether the given path is directory.
8765
8766 2004-04-20  Michael Koch  <konqueror@gmx.de>
8767
8768         * java/net/Authenticator.java,
8769         java/net/BindException.java,
8770         java/net/ConnectException.java,
8771         java/net/ContentHandler.java,
8772         java/net/ContentHandlerFactory.java,
8773         java/net/DatagramPacket.java,
8774         java/net/DatagramSocket.java,
8775         java/net/DatagramSocketImpl.java,
8776         java/net/DatagramSocketImplFactory.java,
8777         java/net/FileNameMap.java,
8778         java/net/HttpURLConnection.java,
8779         java/net/Inet4Address.java,
8780         java/net/Inet6Address.java,
8781         java/net/InetAddress.java,
8782         java/net/InetSocketAddress.java,
8783         java/net/JarURLConnection.java,
8784         java/net/MalformedURLException.java,
8785         java/net/MulticastSocket.java,
8786         java/net/NetPermission.java,
8787         java/net/NetworkInterface.java,
8788         java/net/NoRouteToHostException.java,
8789         java/net/PasswordAuthentication.java,
8790         java/net/PortUnreachableException.java,
8791         java/net/ProtocolException.java,
8792         java/net/ServerSocket.java,
8793         java/net/Socket.java,
8794         java/net/SocketAddress.java,
8795         java/net/SocketException.java,
8796         java/net/SocketImpl.java,
8797         java/net/SocketImplFactory.java,
8798         java/net/SocketOptions.java,
8799         java/net/SocketPermission.java,
8800         java/net/SocketTimeoutException.java,
8801         java/net/URI.java,
8802         java/net/URISyntaxException.java,
8803         java/net/URL.java,
8804         java/net/URLClassLoader.java,
8805         java/net/URLConnection.java,
8806         java/net/URLDecoder.java,
8807         java/net/URLEncoder.java,
8808         java/net/URLStreamHandler.java,
8809         java/net/URLStreamHandlerFactory.java,
8810         java/net/UnknownHostException.java,
8811         java/net/UnknownServiceException.java:
8812         Fixed javadocs, coding style and argument names all over.
8813
8814 2004-04-20  Michael Koch  <konqueror@gmx.de>
8815
8816         * java/lang/Byte.java,
8817         java/lang/CharSequence.java,
8818         java/lang/ClassLoader.java,
8819         java/lang/Compiler.java,
8820         java/lang/Double.java,
8821         java/lang/Float.java,
8822         java/lang/Integer.java,
8823         java/lang/Long.java,
8824         java/lang/Math.java,
8825         java/lang/Number.java,
8826         java/lang/Package.java,
8827         java/lang/Runtime.java,
8828         java/lang/RuntimePermission.java,
8829         java/lang/SecurityManager.java,
8830         java/lang/Short.java,
8831         java/lang/StringBuffer.java,
8832         java/lang/System.java,
8833         java/lang/ThreadGroup.java,
8834         java/lang/Throwable.java,
8835         java/lang/reflect/InvocationHandler.java,
8836         java/lang/reflect/Proxy.java:
8837         Fixed javadocs, coding style and argument names all over.
8838
8839 2004-04-20  Michael Koch  <konqueror@gmx.de>
8840
8841         * java/io/BufferedWriter.java,
8842         java/io/ByteArrayInputStream.java,
8843         java/io/CharArrayWriter.java,
8844         java/io/DataInput.java,
8845         java/io/DataInputStream.java,
8846         java/io/File.java,
8847         java/io/FilterInputStream.java,
8848         java/io/InputStream.java,
8849         java/io/InputStreamReader.java,
8850         java/io/ObjectInputStream.java,
8851         java/io/ObjectStreamClass.java,
8852         java/io/PipedInputStream.java,
8853         java/io/PipedReader.java,
8854         java/io/PushbackInputStream.java,
8855         java/io/PushbackReader.java,
8856         java/io/RandomAccessFile.java,
8857         java/io/SerializablePermission.java,
8858         java/io/StreamTokenizer.java,
8859         java/io/StringWriter.java,
8860         java/io/WriteAbortedException.java,
8861         java/io/Writer.java:
8862         Fixed javadocs all over, rename arguments to match javadocs,
8863         fixed coding style.
8864
8865 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8866
8867         * java/awt/FontMetrics.java:
8868         (charsWidth): fixed accumulation of total_width
8869         (getWidth): simple default implementation
8870         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8871         in Rectangle constructor.
8872         * java/awt/image/Raster.java (toString): Added method. 
8873         * java/awt/image/SampleModel.java (<init>): Added error cause
8874         information to thrown exception.
8875         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8876         New method.
8877         (setDataElements): New method.
8878         (setPixels): New method.
8879         (toString): New method.
8880
8881 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8882
8883         * java/awt/image/ComponentColorModel.java
8884         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8885         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8886         Mauve tests on this method. Improved documentation.
8887
8888 2004-04-20  Michael Koch  <konqueror@gmx.de>
8889
8890         * javax/swing/JLayeredPane.java,
8891         javax/swing/plaf/BorderUIResource.java,
8892         javax/swing/plaf/ComponentUI.java,
8893         javax/swing/undo/CompoundEdit.java,
8894         javax/swing/undo/StateEdit.java:
8895         Fixed HTML tags in javadocs all over.
8896
8897 2004-04-20  Michael Koch  <konqueror@gmx.de>
8898
8899         * javax/print/attribute/EnumSyntax.java
8900         (getOffset): Made protected.
8901         * javax/print/attribute/HashAttributeSet.java
8902         (HashAttributeSet): Likewise.
8903         * javax/print/attribute/ResolutionSyntax.java
8904         (getFeedResolution): Fixed typo in exception name.
8905         (getCrossFeedResolution): Likewise.
8906         * javax/print/attribute/SetOfIntegerSyntax.java
8907         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8908         * javax/print/attribute/TextSyntax.java
8909         (TextSyntax): Handle locale correctly.
8910         (hashCode): Calc better hashcode value.
8911         (equals): Fixed @return tag.
8912         (toString): New method.
8913
8914 2004-04-20  Michael Koch  <konqueror@gmx.de>
8915
8916         * gnu/java/nio/FileLockImpl.java
8917         (static): Removed, not needed anymore.
8918         * gnu/java/nio/channels/FileChannelImpl.java
8919         (FileChannelImpl): Made final.
8920         (mode): Made private.
8921         (READ, WRITE, APPEND): Made public.
8922         (EXCL, SYNC, DSYNC): Likewise.
8923         (static): Load native JNI library, when needed.
8924         (length): Unused, removed.
8925         (available): Made public.
8926         (implPosition): Throws IOException.
8927         (seek): Likewise.
8928         (implTruncate): Likewise.
8929         (unlock): Likewise.
8930         (lock): Likewise.
8931
8932 2004-04-20  Michael Koch  <konqueror@gmx.de>
8933
8934         * java/awt/AWTPermission.java,
8935         java/awt/Component.java,
8936         java/awt/ComponentOrientation.java,,
8937         java/awt/Dialog.java,
8938         java/awt/FontMetrics.java,
8939         java/awt/Graphics.java,
8940         java/awt/datatransfer/DataFlavor.java,
8941         java/beans/Introspector.java,
8942         java/beans/PropertyEditor.java,
8943         java/beans/PropertyEditorManager.java,
8944         java/beans/beancontext/BeanContextServiceProvider.java:
8945         Fixed HTML tags in javadocs all over.
8946
8947 2004-04-20  Mark Wielaard  <mark@klomp.org>
8948
8949         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8950         MissingResourceException is thrown.
8951         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8952         null when a MissingResourceException is thrown. Should never happen.
8953
8954 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8955
8956         * java/awt/image/DataBufferShort.java,
8957         java/awt/image/DataBufferFloat.java,
8958         java/awt/image/DataBufferDouble.java,
8959         java/awt/image/PixelInterleavedSampleModel.java: New files.
8960         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8961         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8962
8963 2004-04-20  Michael Koch  <konqueror@gmx.de>
8964
8965         * Makefile.am (java_source_files): Added
8966         java/awt/image/DataBufferDouble.java,
8967         java/awt/image/DataBufferFloat.java,
8968         java/awt/image/DataBufferShort.java and
8969         java/awt/image/PixelInterleavedSampleModel.java.
8970         * Makefile.in: Regenerated.
8971
8972 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8973  
8974         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8975         undocumented CNI calls.
8976         * include/java-interp.h (_Jv_InterpClass): No longer
8977         extends java.lang.Class.
8978         * java/lang/Class.h (Class): Add new field `aux_info'.
8979         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8980         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8981         Use Class->aux_info instead.
8982         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8983         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8984         Use Class->aux_info instead.
8985         * java/io/natObjectInputStream.cc (allocateObject): Use
8986         _Jv_AllocObject.
8987         * java/lang/natClass.cc (newInstance): Likewise.
8988         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8989         * java/lang/natObject.cc (clone): Likewise.
8990         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8991         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8992         JvAllocObject. Allocate klass->aux_info here for interpreted
8993         class.
8994         
8995 2004-04-17  Mark Wielaard  <mark@klomp.org>
8996
8997         * javax/swing/JToggleButton.java (ToggleButtonModel):
8998         Make public static inner class.
8999         * javax/swing/JTabbedPane.java (setComponentAt):
9000         Call Page.setComponent().
9001         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9002         (WRAP_TAB_LAYOUT): Make public, value is 0.
9003         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9004         Make private static inner class.
9005
9006 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9007
9008         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9009         arguments to match new signature. Remove FIXME comments.
9010
9011 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9012
9013         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9014         Remove method.
9015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9016         unused code.
9017
9018 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9019
9020         * Makefile.am: Added new file.
9021         * Makefile.in: Regenerate.
9022         * javax/swing/ImageIcon.java: 
9023         (ImageIcon(file)): set description of the icon 
9024         to the file name
9025         * javax/swing/JCheckBoxMenuItem.java:
9026         Mostly Implemented. Work in progress.
9027         * javax/swing/JRadioButtonMenuItem.java:
9028         Reimplement constructors to use JToggleButtonModel.
9029         * javax/swing/plaf/basic/BasicIconFactory.java:
9030         (getCheckBoxMenuItemIcon): return check box
9031         icon.
9032         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9033         paint menu item selected only when it is armed and 
9034         pressed. 
9035  
9036 2004-04-02  David Jee  <djee@redhat.com>
9037
9038         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9039         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9040         * java/awt/Component.java
9041         (add): Set the parent of the popup as this component.
9042         * java/awt/PopupMenu.java
9043         (addNotify): Create popup menu when peer is null.
9044         (show): Call addNotify() if peer is null.
9045         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9046         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9047         argument for gtk_menu_popup() as zero. This causes the popup menu to
9048         respond to any mouse button.
9049
9050 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9051
9052         * Makefile.am: Added new file.
9053         * Makefile.in: Regenerate.
9054         * javax/swing/JRadioButtonMenuItem.java:
9055         Implemented.
9056         * javax/swing/plaf/basic/BasicIconFactory.java:
9057         (getRadioButtonMenuItemIcon): Return
9058         radio button icon.
9059         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9060         (getPreferredSize): Add size of checkIcon if it
9061         exists.
9062         (installDefaults): Don't initialize checkIcon.
9063         It's value will be set in subclasses. 
9064         (uninstallDefaults): remove uninstallation of 
9065         checkIcon.
9066         (paint): Moved code to paintMenuItem().
9067         (paintMenuItem): Implemented.
9068         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9069         UI delegate for JRadioButtonMenuItem.
9070         
9071 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9072
9073         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9074         Corrected position of the accelerator.
9075
9076 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9077
9078         * Makefile.am: Added new file. 
9079         * Makefile.in: Regenerate.
9080         * javax/swing/JMenuItem.java: Partly 
9081         implemented. Work in progress
9082         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9083         Changed default value of acceleratorDelimiter.
9084         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9085         New class. Partly implemented.
9086                 
9087 2004-03-26  Mark Wielaard  <mark@klomp.org>
9088
9089         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9090         (item_activate): Declare label before use.
9091         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9092         (gtkSetFont): Removed unused variable label.
9093         (addExposeFilter): Declare variables before use.
9094         (removeExposeFilter): Likewise.
9095         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9096         (ok_clicked): Declare str_fileName before use.
9097
9098 2004-03-26  David Jee  <djee@redhat.com>
9099
9100         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9101         (addSeparator): Remove.
9102         * java/awt/Menu.java
9103         (separator): Remove static final MenuItem field.
9104         (separatorLabel): New static final String field.
9105         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9106         Use separatorLabel to denote that it is a separator.
9107         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9108         of reusing the static separator instance, because a MenuItem instance
9109         can't be added more than once without being cloned.
9110         * java/awt/peer/MenuPeer.java
9111         (addSeparator): Remove from interface.
9112
9113 2004-03-26  David Jee  <djee@redhat.com>
9114
9115         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9116         (connectSignals): New native method declaration.
9117         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9118         * java/awt/MenuItem.java
9119         (getActionCommand): Return the label if the action command is not set.
9120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9121         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9122         gtk_menu_shell_append().
9123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9124         (item_activate): Fix argument type.
9125         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9126         signal here.
9127         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9128         method.
9129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9130         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9131         given. Add the menu widget's top-level GtkWindow to the global window
9132         group, so it can grab the pointer.
9133         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9134         gtk_menu_shell_append().
9135
9136 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9137
9138         * java/text/AttributedString.java 
9139         (addAttribute): Fix off-by-one.
9140         (getIterator): Likewise.        
9141         * java/text/AttributedStringIterator.java 
9142         (getRunLimit): Correct logic.
9143         (getRunStart): Likewise.
9144         (getAttribute): Fix inequality.
9145         (getAttributes): Likewise.
9146         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9147
9148 2004-03-23  Kim Ho  <kho@redhat.com>
9149
9150         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9151         (calculateSizes): Return real width and height.
9152
9153 2004-03-23  Kim Ho  <kho@redhat.com>
9154
9155         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9156         (calculateTabRects): Set the selectedRun before
9157         trying to rotate tabs.
9158
9159 2004-03-23  Kim Ho  <kho@redhat.com>
9160
9161         * Makefile.am: New file
9162         * Makefile.in: Regenerate
9163         * java/awt/Graphics.java: (drawRect):
9164         Draw to the correct point.
9165         * javax/swing/DefaultSingleSelectionModel.java
9166         (isSelected): Return true if the selected index
9167         is not -1.
9168         * javax/swing/JLabel.java: Do not change mnemonic
9169         index if text is null.
9170         * javax/swing/JProgressBar.java: Use JComponent's
9171         EventListenerList.
9172         * javax/swing/JScrollBar.java: Ditto.
9173         * javax/swing/JSlider.java: Ditto.
9174         * javax/swing/JTabbedPane.java: Reimplement.
9175         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9176         Add defaults for TabbedPane.
9177         * javax/swing/plaf/basic/BasicArrowButton.java:
9178         Implement
9179         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9180         (paintDeterminate): Don't paint String if it's
9181         empty.
9182         (paintIndeterminate): ditto.
9183         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9184         Reimplement.
9185
9186 2004-03-19  Michael Koch  <konqueror@gmx.de>
9187
9188         * java/awt/image/AffineTransformOp.java
9189         (AffineTransformOp): Made public.
9190         * javax/swing/JComponent.java
9191         (listenerList): Made protected.
9192         (accessibleContext): Likewise.
9193         * javax/swing/JList.java
9194         (valueChanged): Dont use internal fields of ListSelectionEvent.
9195         * javax/swing/JViewport.java
9196         (getView): Dont use internal fields of Component.
9197         (addImpl): Likewise.
9198         * javax/swing/Timer.java
9199         (isRunning): Made public.
9200         (start): Likewise.
9201         (stop): Likewise.
9202         * javax/swing/UIDefaults.java
9203         (getInt): Made public.
9204         * javax/swing/plaf/basic/BasicListUI.java
9205         (mousePressed): Dont use internal fields of MouseEvent.
9206         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9207         * javax/swing/plaf/basic/BasicScrollBarUI.java
9208         (arrowIcon): Made static.
9209         * javax/swing/plaf/basic/BasicViewportUI.java
9210         (stateChanged): Dont use internal field on ChangeEvent.
9211         * javax/swing/text/JTextComponent.java
9212         (getUI): Call UIManager.getUI().
9213         (updateUI): Use getUI().
9214
9215 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9216
9217         * javax/swing/JComponent.java: Turn off double buffer by default.
9218         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9220         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9221         Use cairo to copy areas.
9222         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9223         Initialize and set clip region.
9224
9225 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9226
9227         * java/applet/Applet.java (preferredSize): Override deprecated
9228         variant of getPreferredSize.
9229         (minimumSize): Override deprecated variant of getMinimumSize.
9230
9231 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9232
9233         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9234         (drawImage(img,xform,bgcolor,obs)): New Method.
9235         Helper function that every drawImage method will
9236         use.
9237         (drawRaster): Added new parameter, bgcolor. All
9238         transparent pixels are changed to bgcolor before 
9239         image is drawn.
9240         (drawRenderedImage): Fixed to use changed drawRaster().
9241         (drawImage(image,xform,obs): Fixed to use new helper function 
9242         (drawImage(image,op,x,y)): Ditto.
9243         (drawImage (img,x,y,observer)): Ditto.
9244         ((PainterThread) bgcolor): New Field.
9245         ((PainterThread) (setPixels)): Changed all transparent pixels 
9246         to bgcolor.     
9247         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9248         Fixed FIXME - all the transparent pixels are 
9249         changed to the specified bgcolor. 
9250         (drawImage(img, x, y, width, height, observer): Changed to 
9251         use function above.
9252         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9253         Fixed FIXME- changed all transparent pixels to bgcolor.
9254         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9255         Changed to use function above. 
9256
9257 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9258
9259         * java/applet/Applet.java (dimensions): New field.
9260         (getDimensions): New method.
9261         (getPreferredSize): Call getDimensions.
9262         (getMinimumSize): Likewise.
9263
9264 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9265
9266         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9267         * jni/classpath/jnilink.c: Likewise.
9268
9269         * java/applet/Applet.java (getPreferredSize): New method.
9270         (getMinimumSize): New method.
9271
9272 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9273
9274         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9275         (_Jv_AllocObjectNoFinalizer): Likewise.
9276         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9277         (_Jv_AllocPtrFreeObject): Likewise.
9278         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9279         directly even in the JVMPI case.        
9280         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9281         _Jv_AllocObject calls.
9282         * gcj/javaprims.h: Update prototypes.
9283         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9284         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9285         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9286
9287 2004-04-14  Andrew Haley  <aph@redhat.com>
9288             Bryce McKinlay  <mckinlay@redhat.com>
9289
9290         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9291         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9292         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9293
9294         * testsuite/libjava.lang/InvokeInterface.java: New file.
9295         * testsuite/libjava.lang/InvokeInterface.out: New file.
9296
9297 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9298         
9299         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9300         modified lookup().
9301         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9302         StackTraceElement directly.
9303         (newElement): New native helper method to create StackTraceElement
9304         bypassing Java access control.
9305         (createStackTraceElement): Use newElement() instead of directly
9306         calling StackTraceElement's constructor.
9307         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9308
9309 2004-04-01  Michael Koch  <konqueror@gmx.de>
9310
9311         * java/lang/SecurityManager.java
9312         (checkAwtEventQueueAccess): Implemented.
9313
9314 2004-04-01  Gary Benson  <gbenson@redhat.com>
9315
9316         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9317         (_Jv_SearchMethodInClass): Likewise.
9318
9319 2004-03-26  Peter Moon  <peterm@miraculum.com>
9320
9321         * java/text/NumberFormat.java: Fix spelling of setCurrency
9322         method.
9323
9324 2004-03-21  Anthony Green  <green@redhat.com>
9325
9326         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9327         recursion when searching for the system ClassLoader.
9328
9329 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9330
9331         * java/net/ServerSocket.java
9332         (accept): Close the socket when error occured.
9333
9334 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9335
9336         * java/net/URI.java (parseURI): Added unquoting.
9337         (unquote): New method.
9338         (quoteAuthority): Implemented.
9339         (quote(String,String)): New method.
9340         (quotePath): Implemented.
9341         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9342         (getSchemeSpecificPart): Removed FIXME comment.
9343         (getRawAuthority): Return new rawAuthority field.
9344         (getAuthority): Removed FIXME comment.
9345         (getRawUserInfo): Return new rawUserInfo field.
9346         (getUserInfo): Removed FIXME comment.
9347         (getRawPath): Return new rawPath field.
9348         (getPath): Removed FIXME comment.
9349         (getRawQuery): Return new rawQuery field.
9350         (getQuery): Removed FIXME comment.
9351         (getRawFragment): Return new rawFragment field.
9352         (getFragment): Removed FIXME comment.
9353
9354 2004-03-20  Michael Koch  <konqueror@gmx.de>
9355
9356         * java/net/URLConnection.java: Merged copyright year with classpath.
9357
9358 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9359
9360         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9361         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9362         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9363         rmi-message.
9364         (getObjectInputStream): Return object reference, throw IOException if null.
9365         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9366         (getObjectOutputStream): Return object reference, throw IOException if null.
9367         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9368         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9369         (UnicastConnectionManager): Throw RemoteException if port is not available.
9370         (getInstance): Throw RemoteException.
9371         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9372         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9373         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9374         Collect Exceptions which are returned by a rmi-call and fix void returns.
9375         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9376         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9377         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9378         (dispatch): Answer ping messages which are sent by other java implementions.
9379         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9380         for every rmi-message and fix void return problems.
9381         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9382         (UnicastServerRef): Throw RemoteException.
9383         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9384         In some situations it is necessary to export a subclass of the class which has the _Stub.
9385         For instance when the class with has the _Stub is abstract.
9386         (findStubSkelClass): New method which looks for the class which has the _Stub.
9387         (getClientHost): Implementated.
9388         * gcc/libjava/java/rmi/server/RemoteServer.java
9389         (getClientHost): Implementated.
9390         * gcc/libjava/Makefile.am (rmi_java_source_files):
9391         Added gnu/java/rmi/server/RMIIncomingThread.java.
9392         * Makefile.in: Regenerated.
9393
9394 2004-03-20  Michael Koch  <konqueror@gmx.de>
9395
9396         * java/net/InetAddress.java
9397         (getLocalHostname): Added javadoc.
9398
9399 2004-03-19  Per Bothner  <per@bothner.com>
9400
9401         * configure.in: FILE variable  overrides FLATFORM when linking
9402         natFileChannelXXX.cc.
9403
9404         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9405         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9406
9407 2004-03-19  Per Bothner  <per@bothner.com>
9408
9409         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9410         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9411         * Makefile.am:  Update accordingly.
9412         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9413         as aliases for UnicodeLittle and UnicodeBig.
9414
9415 2004-03-20  Mark Wielaard  <mark@klomp.org>
9416
9417         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9418         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9419         Don't access ws when it is null.
9420         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9421         Likewise.
9422
9423 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9424
9425         * java/lang/ThreadGroup.java (list): Changed print to println.
9426
9427 2004-03-19  Mark Wielaard  <mark@klomp.org>
9428
9429         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9430         happy.
9431
9432 2004-02-10  Randolph Chung  <tausq@debian.org>
9433  
9434         * configure.in: Build java for hppa target.
9435         * configure: Regenerate.
9436         * libjava/configure.host (hppa-*): Add target.
9437         * libjava/sysdeps/pa/lock.h: New file.
9438
9439 2004-03-19  Mark Wielaard  <mark@klomp.org>
9440
9441         Reported by Stephen Crawley
9442         * java/io/FilePermission.java (implies): Use String.length() -1 to
9443         access last char of String.
9444
9445 2004-03-19  Michael Koch  <konqueror@gmx.de>
9446
9447         * java/awt/image/AffineTransformOp.java
9448         (AffineTransformOp): Made public.
9449         * javax/swing/JComponent.java
9450         (listenerList): Made protected.
9451         (accessibleContext): Likewise.
9452         * javax/swing/JList.java
9453         (valueChanged): Dont use internal fields of ListSelectionEvent.
9454         * javax/swing/JViewport.java
9455         (getView): Dont use internal fields of Component.
9456         (addImpl): Likewise.
9457         * javax/swing/Timer.java
9458         (isRunning): Made public.
9459         (start): Likewise.
9460         (stop): Likewise.
9461         * javax/swing/UIDefaults.java
9462         (getInt): Made public.
9463         * javax/swing/plaf/basic/BasicListUI.java
9464         (mousePressed): Dont use internal fields of MouseEvent.
9465         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9466         * javax/swing/plaf/basic/BasicScrollBarUI.java
9467         (arrowIcon): Made static.
9468         * javax/swing/plaf/basic/BasicViewportUI.java
9469         (stateChanged): Dont use internal field on ChangeEvent.
9470         * javax/swing/text/JTextComponent.java
9471         (getUI): Call UIManager.getUI().
9472         (updateUI): Use getUI().
9473
9474 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9475
9476         * verify.cc: Undef PC.
9477
9478 2004-03-18  Michael Koch  <konqueror@gmx.de>
9479
9480         * java/nio/channels/spi/AbstractSelectableChannel.java
9481         (keys): Initialize at declaration.
9482         (locate): keys cant be null.
9483         (add): Removed.
9484         (addSelectionKey): New method.
9485         (removeSelectionKey): New method.
9486         * java/nio/channels/spi/AbstractSelectionKey.java
9487         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9488         * java/nio/channels/spi/AbstractSelector.java
9489         (provider): Javadoc added.
9490         (cancelledKeys): Javadoc added.
9491         (cancelKey): Javadoc added, add key to cancelledKeys.
9492         (deregister): Implemented.
9493
9494 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9495
9496         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9497         MAP_FAILED to void *.
9498
9499 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9500
9501         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9502         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9503         * javax/swing/JList.java (ListListener): Revalidate on changes.
9504         * javax/swing/JScrollPane.java: Reimplement.
9505         * javax/swing/JViewport.java: Reimplement.
9506         * javax/swing/ScrollPaneLayout.java: Reimplement.
9507         * javax/swing/ViewportLayout.java: Tidy up.
9508         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9509         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9510         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9511         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9512         backing store only.
9513
9514 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9515
9516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9517         (window_wm_protocols_filter): New function.
9518         (window_focus_in_cb): Remove function.
9519         (window_focus_out_cb): Likewise.
9520         (window_focus_or_active_state_change_cb): New function.
9521         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9522         (connectSignals): Don't attach handlers to focus-in-event or
9523         focus-out-event signals.  Handle notify signal.
9524
9525 2004-03-11  David Jee  <djee@redhat.com>
9526
9527         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9528         (gtkSetLabel): New native method declaration.
9529         (setLabel): Use gtkSetLabel.
9530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9531         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9532
9533 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9534
9535         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9536         black when color argument is null.
9537
9538 2004-03-10  Kim Ho  <kho@redhat.com>
9539
9540         * java/awt/Container.java: Remove check
9541         for drag events.
9542
9543 2004-03-10  Kim Ho  <kho@redhat.com>
9544
9545         * java/awt/Container.java: (visitChild):
9546         Remove candidate clip. Use the component
9547         clip to intersect.
9548         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9549         (handleEvent): Use the PaintEvent's clip.
9550
9551 2004-03-10  Kim Ho  <kho@redhat.com>
9552
9553         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9554         (handleEvent): Don't set the clip for the
9555         Graphics object.
9556
9557 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9558
9559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9560         Fix double <-> fixed macros, reset font transform.
9561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9562         Likewise.
9563
9564 2004-03-09  Kim Ho  <kho@redhat.com>
9565
9566         * java/awt/Container.java: (visitChild): Move
9567         the x and y coordinate of the component rectangle
9568         to correct position.
9569         (handleEvent): Forward drag events to the pressed
9570         component.
9571         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9572         Fix comments.
9573         (ArrowButtonListener::mousePressed): Stop the
9574         existing timer.
9575         (mouseDragged): Implement.
9576         (TrackListener::mousePressed): Only react if
9577         the press doesn't occur on the thumb, otherwise
9578         just set the offset.
9579         (TrackListener::mouseReleased): Unset the isAdjusting
9580         value.
9581         (createIncreaseIcon): Switch icon.
9582         (createDecreaseIcon): Switch icon.
9583         (calculatePreferredSize): Use width.
9584         (getThumbBounds): Use the top as the lower value.
9585         (layoutVScrollBar): Switch the button locations.
9586         (paintIncreaseHighlight): Paint correct side of thumb.
9587         (paintDecreaseHighlight): ditto.
9588         (valueForYPosition): Use top as the lower value.
9589         * javax/swing/plaf/basic/BasicSliderUI.java:
9590         Fix comments.
9591         (mouseDragged): Implement.
9592         (mousePressed): Only react when the thumb isn't
9593         pressed, otherwise just set offset.
9594         (mouseReleased): Handle a release of the thumb.
9595         (scrollDueToClickInTrack): Stop the timer first.
9596         * javax/swing/JProgressBar.java:
9597         (setString): Fix change condition.
9598         * javax/swing/JSeparator.java:
9599         Remove println's.
9600
9601 2004-03-08  David Jee  <djee@redhat.com>
9602
9603         * java/awt/image/AffineTransformOp.java:
9604         (filter): Use Graphics2D interface instead of directly using the
9605         GdkGraphics2D peer.
9606
9607 2004-03-05  David Jee  <djee@redhat.com>
9608
9609         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9610         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9611         * java/awt/Container.java
9612         (acquireComponentForMouseEvent): Fixed.
9613         (handleEvent): Fixed.
9614         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9615         (state_to_awt_mods_with_button_states): New method.
9616         (pre_event_handler): Fixed mouse event generation.
9617
9618 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9619
9620         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9621         (GdkGraphics2D (BufferedImage)): Initialize
9622         pixmap associated with specified BufferedImage.
9623         (setPaint): Changed implementation of Texture
9624         Paint to use AffineTransformOp.
9625         * java/awt/image/AffineTransformOp.java
9626         (createCompatibleDestRaster): Throw RasterFormatException 
9627         if resulting width or height of raster is 0.
9628
9629 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9630
9631         * java/awt/image/AffineTransformOp.java:
9632         Removed unnecessary field interpolationType.
9633         Formatted some of the lines to be consistent with 
9634         the GNU style.
9635         (AffineTransformOp): Create new RenderingHints 
9636         containing specified interpolation type.
9637         (createCompatibleDestImage): Implemented.
9638         (createCompatibleDestRaster): Implemented.
9639         (filter): Implemented.
9640         (getBounds2D(BufferedImage)): Implemented.
9641         (getBounds2D(Raster)): Implemented.
9642         (getInterpolationType): Get interpolation value from 
9643         rendering hints.
9644
9645 2004-03-04  David Jee  <djee@redhat.com>
9646
9647         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9648         (setFont): Check if child peers are null.
9649
9650 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9651
9652         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9653         .libs in -L option.
9654         (libjava_arguments): Add new libraries to argument list.
9655
9656 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9657
9658         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9659         * Makefile.in: Re-generated.
9660         * java/awt/image/AffineTransformOp.java: New Class.
9661
9662 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9663
9664         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9665         (setPaint): Interpret correctly TexturePaint's
9666         anchor rectangle.
9667         (drawImage): Fixed scale factors of the affine
9668         transform.
9669
9670 2004-02-27  David Jee  <djee@redhat.com>
9671
9672         * gnu/java/awt/peer/gtk/GdkGraphics.java
9673         (GdkGraphics(Component)): Inherit font from component.
9674         (drawString): Use font style.
9675         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9676         (gtkSetFont): New native method declaration.
9677         (setFont): New method.
9678         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9679         (gtkSetFont): New native method declaration.
9680         (setFont): Call new native method gtkSetFont.
9681         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9682         (setFont): For all child components who do not their fonts set,
9683         set their peers' fonts with this container's font.
9684         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9685         Move all native method declarations to the top for readability.
9686         (gtkSetFont): New native method declaration.
9687         (setFont): New method.
9688         * java/awt/Component.java
9689         (setFont): Invalidate after setting the font.
9690         * java/awt/Container.java
9691         (invalidateTree): New method.
9692         (setFont): Invalidate the container tree after setting the font.
9693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9694         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9696         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9698         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9700         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9701
9702 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9703
9704         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9705         (updateBufferedImage): New helper function.
9706         Updates BufferedImage in memory if it was changed.
9707         (draw): changed to update BufferedImage in memory after
9708         this drawing operation
9709         (fill): Ditto.
9710         (draw3DRect): Ditto.
9711         (fill3DRect): Ditto.
9712         (clearRect): Ditto.
9713         (drawRaster): Ditto.
9714         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9715         no affine transformation.
9716         (drawGlyphVector): Ditto.
9717
9718 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9719
9720         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9721         (isBufferedImageGraphics): New Helper function. 
9722         Returns true if this graphics2d can be used to draw 
9723         into buffered image and false otherwise.
9724         (updateImagePixels): New Helper function. 
9725         Updates pixels in the BufferedImage.
9726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9727         (getImagePixels): New function. Returns pixels
9728         of the buffered image associated with 
9729         this Graphics2D.
9730
9731 2004-02-26  David Jee  <djee@redhat.com>
9732
9733         * java/awt/BorderLayout.java
9734         (layoutContainer): Fix width and height calculations to ensure
9735         that they're non-negative.
9736         * java/awt/Component.java
9737         (setBackground): If c is null, inherit from closest ancestor whose
9738         background color is set.
9739
9740 2004-02-26  Kim Ho  <kho@redhat.com>
9741
9742         * Makefile.am: Add new files.
9743         * Makefile.in: Re-generate.
9744         * javax/swing/JProgressBar.java: 
9745         (JProgressBar(int, int int)): Throw
9746         IllegalArgumentException if orientation is
9747         invalid.
9748         (JProgressBar(BoundedRangeModel)): Create
9749         ChangeListener and register it. UpdateUI.
9750         (getChangeListeners): Implement.
9751         (setModel): Reset ChangeListener.
9752         * javax/swing/JScrollBar.java: Implement.
9753         * javax/swing/JSeparator.java: Implement.
9754         * javax/swing/JSlider.java:
9755         (JSlider(int, int, int, int)): Throw 
9756         IllegalArgumentException if orientation
9757         is invalid.
9758         (getChangeListeners): Fix method name.
9759         * javax/swing/SwingUtilities.java:
9760         (layoutCompoundLabel): If there is no text,
9761         set the text rectangle dimensions to 0.
9762         * javax/swing/plaf/basic/BasicButtonUI.java:
9763         (paint): If there is no text, don't paint it.
9764         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9765         Implement.
9766         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9767         Implement.
9768         * javax/swing/plaf/basic/BasicSliderUI.java: 
9769         (propertyChange): If the model changes, change
9770         the listeners accordingly.
9771
9772 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9773
9774         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9775         * javax/swing/JList.java: Reimplement.
9776         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9777         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9778         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9779         * javax/swing/ListModel.java: Javadoc.
9780         * javax/swing/ListSelectionModel.java: Add missing methods.
9781         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9782         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9783         * javax/swing/ListModel.java: Javadoc and corrections.
9784         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9785
9786 2004-02-25  David Jee  <djee@redhat.com>
9787
9788         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9789         (GtkFontPeer): Change default size to 12.
9790         * gnu/java/awt/peer/gtk/GtkToolkit.java
9791         (getFontPeer): Change default size to 12.
9792         (getClasspathFontPeer): Likewise. Set default name to "Default".
9793         * java/awt/Font.java
9794         (Font(Map)): Call Font(String,Map).
9795         (Font(String,Map)): If attrs is null, initialize it as an empty
9796         HashMap, which will ensure that the Font will get default attributes.
9797
9798 2004-02-25  David Jee  <djee@redhat.com>
9799
9800         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9801         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9802         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9803         * gnu/java/awt/peer/gtk/GtkToolkit.java
9804         (getFontPeer(String,int)): Call the new overload method with size 1.
9805         (getFontPeer(String,int,int)): New method. Overloaded with size
9806         attribute.
9807         (getClasspathFontPeer): Set the size of the font.
9808
9809 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9810
9811         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9812         (bimage): New field.
9813         (GdkGraphics2D): New Constructor. Constructs Graphics
9814         object that can be used to draw into the Buffered Image.
9815         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9816         (GdkGraphicsEnvironment): Fixed to include public 
9817         keyword.
9818         (createGraphics): Implemented.
9819         * gnu/java/awt/peer/gtk/GtkToolkit.java
9820         (getLocalGraphicsEnvironment): Implemented.
9821         * java/awt/GraphicsEnvironment.java:
9822         (getLocalGraphicsEnvironment): Implemented.
9823         * java/awt/image/BufferedImage.java:
9824         (createGraphics): Implemented.
9825                 
9826 2004-02-24  David Jee  <djee@redhat.com>
9827
9828         * java/awt/Component.java
9829         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9830         * java/awt/Container.java
9831         (addNotifyContainerChildren): Fix event enabling.
9832
9833 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9834
9835         * Makefile.am: Added 
9836         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9837         * Makefile.in: Re-generated.
9838         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9839         New Class. 
9840         
9841 2004-02-19  Kim Ho  <kho@redhat.com>
9842
9843         * Makefile.am: Add BasicProgressBarUI
9844         * Makefile.in: Regenerate.
9845         * javax/swing/JProgressBar.java: 
9846         Re-implement.
9847         * javax/swing/plaf/basic/BasicLookAndFeel.java
9848         Add constants for JProgressBar.
9849         * javax/swing/plaf/basic/BasicProgressBarUI.java
9850         Implement.
9851         * javax/swing/plaf/basic/BasicSliderUI.java
9852         Change comments.
9853         (calculateGeometry): New method
9854         (paint): Remove unnecessary size calculations.
9855
9856 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9857
9858         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9859         (drawRaster): Fixed small error that caused
9860         imageToUser transformation to be set incorrectly.
9861         (toString): Implemented.
9862
9863 2004-02-18  David Jee  <djee@redhat.com>
9864
9865         * java/awt/CardLayout.java
9866         (addLayoutComponent): Show the first component added as the default.
9867         (removeLayoutComponent): After removing, show the next component.
9868         (gotoComponent): If there is only one component, show it and return.
9869
9870 2004-02-18  Kim Ho  <kho@redhat.com>
9871
9872         * javax/swing/JSlider.java: Re-order
9873         modifiers.
9874         * javax/swing/JLabel.java: Re-order
9875         modifiers.
9876         * javax/swing/JComponent.java: 
9877         (addPropertyChangeListener):
9878         Implement.
9879         (removePropertyChangeListener):
9880         ditto.
9881         (firePropertyChangeEvent):
9882         ditto.
9883
9884 2004-02-17  David Jee  <djee@redhat.com>
9885
9886         * java/awt/Component.java
9887         (show): Dispatch ComponentEvent via system event queue.
9888         (hide): Likewise.
9889         (move): Likewise.
9890         (resize): Likewise.
9891         (reshape): Likewise.
9892         * java/awt/Window.java
9893         (setBoundsCallback): Likewise.
9894
9895 2004-02-17  David Jee  <djee@redhat.com>
9896
9897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9898         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9899         Use gtk_widget_set_size_request() instead of the deprecated
9900         gtk_widget_set_usize().
9901
9902 2004-02-17  Kim Ho  <kho@redhat.com>
9903
9904         * javax/swing/JSlider.java: Fix comments and
9905         make property strings constants.
9906         (createStandardLabels): Use the labels
9907         preferred size as bounds.
9908         * javax/swing/plaf/basic/BasicSliderUI.java
9909         Fix comments.
9910         (ScrollHandler::actionPerformed): Don't
9911         calculate the timer stop value. Let the
9912         MouseListeners find the stop location.
9913         (getPreferredHorizontalSize): Re-implement.
9914         (getPreferredVerticalSize): ditto.
9915         (getMinimumHorizontalSize): ditto.
9916         (getMinimumVerticalSize): ditto.
9917         (getPreferredSize): ditto.
9918         (getMinimumSize): ditto.
9919         (getMaximumSize): ditto.
9920         (paintTicks): Use doubles to find the
9921         tick location.
9922         (paintHorizontalLabel):  Use preferredSize
9923         as initial width and height.
9924         (paintVerticalLabel): ditto.
9925
9926 2004-02-17  Kim Ho  <kho@redhat.com>
9927
9928         * javax/swing/JLabel.java: Changed 
9929         property strings to constants.
9930         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9931         New property.
9932         (setText): Change mnemonic index if
9933         text is too short.
9934         (setDisplayedMnemonicIndex): Fire property
9935         change event.
9936         (getDisplayedMnemonicIndex): Remove check
9937         against short text.
9938
9939 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9940
9941         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9942         (drawImage(img,xform,obs)): Invert xform before
9943         passing the xform to cairo.
9944         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9945         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9946         implemented.
9947         (drawImage (img,x,y,w,h,obs)): Implemented.
9948         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9949         bgcolor,obs)): Partly implemented.
9950         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9951         Implemented.
9952         * java/awt/image/BufferedImage.java:
9953         (copyData): if dest is null, create raster with same
9954         dimensions as the current image.
9955
9956 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9957
9958         * javax/swing/plaf/basic/BasicLabelUI.java 
9959         (getPreferredSize): Use layoutCL.
9960         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9961         (getPreferredButtonSize): Start with empty view rect, layout using
9962         component's preferred alignment.
9963         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9964         List defaults.
9965
9966 2004-02-16  David Jee  <djee@redhat.com>
9967
9968         * java/awt/Component.java
9969         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9970         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9971         (move): Erase old bounds and repaint new bounds. Dispatch
9972         COMPONENT_MOVED ComponentEvent.
9973         (resize): Erase old bounds and repaint new bounds. Dispatch
9974         COMPONENT_RESIZED ComponentEvent.
9975         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9976         ComponentEvents.
9977         * java/awt/Window.java
9978         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9979         ComponentEvents.
9980
9981 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9982
9983         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9984         (setRenderingHint): Added implementation of 
9985         Interpolation rendering hints.
9986         (setRenderingHints): Ditto.
9987         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9988         (drawPixels): fixed to allow user to choose type 
9989         of filtering that should be used when displaying images.
9990         (cairoSurfaceSetFilter): New method. Sets filter type for 
9991         interpolation of pixel values.
9992
9993 2004-02-16  David Jee  <djee@redhat.com>
9994
9995         * java/awt/GridBagLayout.java
9996         (calcCellSizes): Rows or columns with zero sizes should still be
9997         considered for extra space distribution.
9998
9999 2004-02-16  Kim Ho  <kho@redhat.com>
10000
10001         * javax/swing/JLabel.java: Re-implement.
10002         * javax/swing/plaf/basic/BasicLabelUI.java
10003         Re-implement.
10004         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10005         Added constant.
10006
10007 2004-02-16  Kim Ho  <kho@redhat.com>
10008
10009         * javax/swing/JSlider.java: Fix indentation and comments.
10010         (setModel): Remove null check to conform with Sun's.
10011         (setOrientation): Throw exception if not
10012         HORIZONTAL or VERTICAL.
10013         (getInverted): Use private variable instead of 
10014         ComponentOrientation.
10015         (setInverted): ditto.
10016         * javax/swing/plaf/basic/BasicSliderUI.java:
10017         Fix indentation and comments.
10018         (propertyChange): Remove check for inverted slider, handle
10019         in main paint.
10020         (getMinimumSize): Return preferred size.
10021         (getMaximumSize): ditto.
10022         (calculateFocusRect): Don't relocate rectangle.
10023         (drawInverted): Return XOR of the slider's inversion and 
10024         the component's orientation.
10025         (paint): Update leftToRightCache
10026
10027 2004-02-13  David Jee  <djee@redhat.com>
10028
10029         * java/awt/GridBagLayout.java
10030         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10031         code to helper methods.
10032         (sortBySpan): New helper method.
10033         (distributeSizeAndWeight): Likewise.
10034         (calcCellWeights): Likewise.
10035         (calcCellSizes): Add comments.
10036
10037 2004-02-13  David Jee  <djee@redhat.com>
10038
10039         * java/awt/Component.java
10040         (show): Only do something if component is invisible at the moment.
10041         (hide): Only do something if component is visible at the moment.
10042         (reshape): If lightweight, erase old bounds and repaint new bounds.
10043
10044 2004-02-13  Kim Ho  <kho@redhat.com>
10045
10046         * Makefile.am: Updated for new file.
10047         * Makefile.in: Regenerated.
10048         * javax/swing/JSlider.java: Reimplement.
10049         * javax/swing/SwingUtilities.java
10050         (layoutCompoundLabel): Use icon height
10051         instead of width.
10052         (paintComponent): Implement.
10053         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10054         Add JSlider defaults.
10055         * javax/swing/plaf/basic/BasicSliderUI.java:
10056         Implement. New file.
10057
10058 2004-03-17  Michael Koch  <konqueror@gmx.de>
10059
10060         * gnu/java/net/PlainDatagramSocketImpl.java
10061         (RECEIVE_LOCK): New member field.
10062         (SEND_LOCK): New member field.
10063         (send0): New method.
10064         (send): Synchronize on SEND_LOCK.
10065         (receive0): New method.
10066         (receive): Synchronize on RECEIVE_LOCK.
10067         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10068         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10069         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10070         (send0): Renamed from send.
10071         (receive0): Renamed from receive.
10072 2004-03-17  Michael Koch  <konqueror@gmx.de>
10073
10074         * gnu/java/net/natPlainSocketImplPosix.cc
10075         (write): Just call write(jbyteArray, offset, len).
10076         (read): Just call read(jbyteArray, offset, len).
10077
10078 2004-03-16  Michael Koch  <konqueror@gmx.de>
10079
10080         * javax/swing/JTabbedPane.java
10081         (serialVersionUID): New field.
10082
10083 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10084
10085         * java/net/InetAddress.java
10086         (getByName): Handle hostname == "" case.
10087
10088 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10089
10090         Reported by: Adam Heath <doogie@debian.org>
10091         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10092         class loader.
10093
10094 2004-03-15  Michael Koch  <konqueror@gmx.de>
10095
10096         * java/util/Locale.java: Reverting my last patch
10097         and add a comment why the original version was okay.
10098
10099 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10100
10101         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10102         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10103         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10104         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10105
10106 2004-03-12  Michael Koch  <konqueror@gmx.de>
10107
10108         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10109
10110 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10111
10112         * java/net/URI.java (toURL): Implemented.
10113
10114 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10115
10116         * java/net/URI.java
10117         (URI_REGEXP) updated to contain scheme specific part.
10118         (SCHEME_SPEC_PART_GROUP) new constant.
10119         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10120         updated to make room for SCHEME_SPEC_PART_GROUP.
10121         (parseURI) parse scheme specific part.
10122         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10123         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10124         getQuery, getFragment) implemented.
10125
10126 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10127
10128         * libraries/javalib/java/net/URI.java
10129         partially implemented using java.util.regex.
10130         (URI_REGEXP) new constant. Used to parse URIs.
10131         (SCHEME_GROUP) new constant representing index of scheme group
10132         in parsed URI.
10133         (AUTHORITY_GROUP) new constant representing index of authority
10134         group in parsed URI.
10135         (PATH_GROUP) new constant representing index of path group in
10136         parsed URI.
10137         (QUERY_GROUP) new constant representing index of query group in
10138         parsed URI.
10139         (FRAGMENT_GROUP) new constant representing index of fragment
10140         group in parsed URI.
10141         (getURIGroup) new static utility method.
10142         (parseURI) implemented.
10143         (quote) stub for new static utility method.
10144         (quoteAuthority) stub for new static utility method.
10145         (quoteHost) stub for new static utility method.
10146         (quotePath) stub for new static utility method.
10147         (quoteUserInfo) stub for new static utility method.
10148         (URI) implemented.
10149         (create) don't throw URISyntaxException. Implemented.
10150         (toString) implemented.
10151
10152 2004-03-12  Michael Koch  <konqueror@gmx.de>
10153
10154         * java/net/HttpURLConnection.java
10155         (getResponseCode): Fix another typo in javadoc.
10156
10157 2004-03-11  Michael Koch  <konqueror@gmx.de>
10158
10159         * java/util/logging/Level.java
10160         (parse): Use String.equals() instead of ==.
10161
10162 2004-03-11  Michael Koch  <konqueror@gmx.de>
10163
10164         * gnu/java/net/protocol/jar/Connection.java
10165         (getContentLength): New method.
10166
10167 2004-03-11  Michael Koch  <konqueror@gmx.de>
10168
10169         * gnu/java/net/PlainSocketImpl.java:
10170         Reformated to merge better with classpath's version.
10171
10172 2004-03-11  Michael Koch  <konqueror@gmx.de>
10173
10174         * java/util/Locale.java
10175         (getISO3Language): Use String.equals() instead of ==.
10176         (getISO3Country): Likewise.
10177
10178 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10179
10180         * java/text/AttributedString.java
10181         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10182         Use HashMap instead of Hashtable since value can be null, and
10183         you can not store a null value in a Hashtable.
10184
10185 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10186
10187         * java/text/AttributedStringIterator.java
10188         (getAllAttributesKey): Return only keys concerned
10189         by the current iterator.
10190         (getAttributes): Use strict inequality for
10191         end_index. 
10192
10193 2004-03-11  Michael Koch  <konqueror@gmx.de>
10194
10195         * java/net/HttpURLConnection.java:
10196         Fixed typo in javadoc.
10197
10198 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10199
10200         * java/io/BufferedInputStream.java (marktarget): New field for max
10201         mark limit.
10202         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10203         (mark): Use new fields.
10204         (read): Likewise.
10205         (read(byte[],int,int)): Likewise.
10206         (skip): Likewise.
10207         (refill): Likewise.
10208
10209 2004-03-11  Mark Wielaard  <mark@klomp.org>
10210
10211         * java/beans/BeanDescriptor.java (BeanDescriptor):
10212         Set the FeatureDescriptor programmatic name.
10213
10214 2004-03-11  Michael Koch  <konqueror@gmx.de>
10215
10216         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10217         This file was was just copied form java/io/natFileDescriptorEcos.cc
10218         and never changed to compile correctly.
10219
10220 2004-03-11  Michael Koch  <konqueror@gmx.de>
10221
10222         * gnu/java/nio/PipeImpl.java
10223         (SourceChannelImpl): Made final.
10224         (read): Implemented.
10225         (SinkChannelImpl): Made final.
10226         (write): Implemented.
10227
10228 2004-03-11  Michael Koch  <konqueror@gmx.de>
10229
10230         * gnu/java/net/PlainDatagramSocketImpl.java:
10231         Reformated to match classpath's version more.
10232
10233 2004-03-11  Michael Koch  <konqueror@gmx.de>
10234
10235         * gnu/java/awt/peer/ClasspathFontPeer.java:
10236         Fixed javadoc to be correct xhtml.
10237         * gnu/java/awt/peer/gtk/GtkArgList.java
10238         (add): Use Boolean.valueOf() instead of new Boolean().
10239
10240 2004-03-09  Michael Koch  <konqueror@gmx.de>
10241
10242         * java/lang/Thread.java
10243         (runnable): Moved around.
10244         (daemon): Renamed from daemon_flag.
10245         (contextClassLoader): Renamed from context_class_loader.
10246         (Thread): Reordered constructors.
10247         (activeCount): Use group directly.
10248         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10249         (holdsLock): Reworked javadoc.
10250         (setDaemon): Reworked.
10251         * java/lang/natThread.cc
10252         (destroy): Removed.
10253
10254 2004-03-08  Anthony Green  <green@redhat.com>
10255
10256         * Makefile.am: Build property resource files into libgcj.
10257         * Makefile.in: Rebuilt.
10258         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10259         java/util/regex/PatternSyntaxException.java,
10260         gnu/regexp/CharIndexed.java,
10261         gnu/regexp/CharIndexedCharArray.java,
10262         gnu/regexp/CharIndexedInputStream.java,
10263         gnu/regexp/CharIndexedReader.java,
10264         gnu/regexp/CharIndexedString.java,
10265         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10266         gnu/regexp/REException.java,
10267         gnu/regexp/REFilterInputStream.java,
10268         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10269         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10270         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10271         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10272         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10273         gnu/regexp/RETokenLookAhead.java,
10274         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10275         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10276         gnu/regexp/RETokenStart.java,
10277         gnu/regexp/RETokenWordBoundary.java,
10278         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10279
10280 2004-03-03  Per Bothner  <per@bothner.com>
10281
10282         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10283         Optimize when argument is a FileChannelImpl.
10284         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10285         New native methods.
10286         * java/nio/channels/natChannels.cc:  New file for new native methods.
10287         * Makefile.am:  Update accordingly.
10288
10289 2004-03-02  Jan Hubicka  <jh@suse.cz>
10290
10291         * configure.host: Pass -fno-omit-frame-pointer for i386.
10292         * configure.in: Likewise.
10293         * configure: Regenerate.
10294
10295 2004-03-01  Per Bothner  <per@bothner.com>
10296
10297         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10298
10299 2004-02-29  Per Bothner  <per@bothner.com>
10300
10301         * java/nio/channels/FileChannelImpl.java:  Moved to package
10302         gnu/java/nio/channels, since we need to refer to it from java.io.
10303         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10304         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10305         from java/nio/channels.  Don't depend on FileDescriptor.
10306         (in, out, err):  New static fields.
10307         (mode):  New field.
10308         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10309         from FileDescriptor.
10310         (by):  Removed MappedByteBuffer field.
10311         (map):  New working implementation.
10312         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10313         some code "ported" from natFileDescriptoPosix.cc.
10314         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10315         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10316         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10317         Remove native methods.
10318         * Makefile.am, configure.in:  Updated accordingly.
10319
10320         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10321         (ch):  New FileChannelImpl field.  Update constructor to match.
10322         (releaseImpl):  Remove native method.  Instead ...
10323         (release):  Call unlock on channel.
10324         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10325
10326         * java/io/natFileDescriptorEcos.cc:  Remove file.
10327         * java/io/natFileDescriptorPosix.cc:  Remove file.
10328         * java/io/natFileDescriptorWin32.cc:  Remove file.
10329         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10330         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10331         (<init>(FileChannelImpl)):  New package-private constructor.
10332         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10333         (available, close, read, skip):  Implement using FileChannelImpl.
10334         (getFD):  Allocate FileDescriptor if needed.
10335         (getChannel):  Is now trivial.
10336         * java/io/FileOutputStream.java:  Corresponding changes.
10337         * java/io/RandomAccessFile.java:  Corresponding changes.
10338
10339         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10340         unmapImpl):  New dummy methods, to be overridden by subclass.
10341         (finalize, isLoaded, load, force):  New methods.
10342         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10343         Now works, at least for read mapping.
10344
10345         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10346         streams using FileChannelImpl, not FileDescriptor.
10347         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10348
10349 2004-02-28  Michael Koch  <konqueror@gmx.de>
10350
10351         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10352         wrong code.
10353
10354 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10355
10356         * java/io/ObjectInputStream.java
10357         (readClassDescriptor): Keep elements of the mapping non null.
10358         (checkTypeConsistency): New method.
10359         (readFields): Fixed main loop and base logic. Small reindentation.
10360         * java/io/ObjectStreamField.java
10361         (lookupField): New method to update the field reference.
10362         (checkFieldType): New method.
10363         * java/io/ObjectStreamClass.java
10364         (setClass, setFields): Call lookupField when building the field
10365         database. Check the real field type.
10366
10367 2004-02-28  Michael Koch  <konqueror@gmx.de>
10368
10369         * java/nio/ByteOrder.java
10370         (nativeOrder): Use equals() to compare strings.
10371
10372 2004-02-26  Michael Koch  <konqueror@gmx.de>
10373
10374         * gnu/java/nio/FileLockImpl.java
10375         (finalize): Made protected.
10376         * java/nio/channels/FileChannel.java
10377         (MapMode.READ_ONLY): Made final.
10378         (MapMode.READ_WRITE): Made final.
10379         (MapMode.PRIVATE): Made final.
10380         * java/nio/channels/SocketChannel.java
10381         (open): Simplified code.
10382         * java/nio/channels/spi/AbstractSelectableChannel.java
10383         (registered): Unused, removed.
10384         (keyFor): Check channel is open, only locate key
10385         and not add a new one.
10386         (register): Don't delete attachments.
10387
10388 2004-02-26  Michael Koch  <konqueror@gmx.de>
10389
10390         * gnu/java/awt/ComponentDataBlitOp.java
10391         (INSTANCE): Made final.
10392         * gnu/java/awt/image/ImageDecoder.java:
10393         Reworked imports.
10394         (cm): Unused, removed.
10395
10396 2004-02-26  Michael Koch  <konqueror@gmx.de>
10397
10398         * gnu/java/nio/DatagramChannelImpl.java
10399         (send): Check if target address is resolved.
10400
10401 2004-02-26  Michael Koch  <konqueror@gmx.de>
10402
10403         * Makefile.am: Generate and install headers for inner classes in
10404         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10405         * Makefile.in: Regenerated.
10406
10407 2004-02-24  Anthony Green  <green@redhat.com>
10408
10409         * java/lang/StringBuffer.java: No need to NULL out remainder of
10410         buffer since ensureCapacity_unsynchronized will have done this for
10411         us.
10412
10413 2004-02-20  Michael Koch  <konqueror@gmx.de>
10414
10415         * gnu/java/net/protocol/jar/Handler.java
10416         (): Removed unneeded check for file != null. java.net.URL.getFile()
10417         returns an empty string but never null.
10418
10419 2004-02-20  Michael Koch  <konqueror@gmx.de>
10420
10421         * gnu/gcj/convert/Convert.java
10422         (main): Use equals() to compare strings.
10423
10424 2004-02-20  Michael Koch  <konqueror@gmx.de>
10425
10426         * javax/swing/AbstractButton.java: Made several constants final.
10427         (getRolloverSelectedIcon): Made public.
10428         (getSelectedIcon): Made public.
10429
10430 2004-02-16  Per Bothner  <per@bothner.com>
10431
10432         * java/nio/CharBufferImpl.java:  Inline super constructor.
10433         * java/nio/DoubleBufferImpl.java:  Likewise.
10434         * java/nio/FloatBufferImpl.java:  Likewise.
10435         * java/nio/IntBufferImpl.java:  Likewise.
10436         * java/nio/LongBufferImpl.java:  Likewise.
10437         * java/nio/ShortBufferImpl.java:  Likewise.
10438         * java/nio/CharBuffer.java:  Remove unused constructor.
10439         * java/nio/DoubleBuffer.java:  Likewise.
10440         * java/nio/FloatBuffer.java:  Likewise.
10441         * java/nio/IntBuffer.java:  Likewise.
10442         * java/nio/LongBuffer.java:  Likewise.
10443         * java/nio/ShortBuffer.java:  Likewise.
10444         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10445         Fix buggy call to super constructor.
10446         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10447         * java/nio/FloatViewBufferImpl.java:  Likewise.
10448         * java/nio/IntViewBufferImpl.java:  Likewise.
10449         * java/nio/LongViewBufferImpl.java:  Likewise.
10450         * java/nio/ShortViewBufferImpl.java:  Likewise.
10451         
10452         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10453         java.nio classes can inherit it.
10454         (<init>):  Don't bother clearing array_offset.
10455         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10456         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10457         Remove redundant test.
10458
10459         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10460         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10461         Use new XxxViewBufferImpl constructors.
10462         * java/nio/MappedByteBufferImpl.java:  Likewise.
10463         * java/nio/DirectByteBufferImpl.java:  Likewise.
10464
10465         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10466         Inline super in remaining constructor.
10467         * java/nio/ByteBuffer.java:  Remove unused constructor.
10468
10469         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10470
10471         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10472         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10473         (offset):  Remove unused field.
10474         (<init>):  Modify one and add another constructor.  Change callers.
10475         (allocateDirect):  Removed - not used.
10476         (getImpl, putImpl):  Make static and pass address explicitly,
10477         to make them useful for MappedByteBufferImpl.
10478         (get, put):  Check for underflow.  Modify for new getImpl.
10479         (getImpl):  New native method where target is array.
10480         (get(byte[],int,int)):  Use the above.
10481         (adjustAddress):  New static native method.
10482         (slice, duplicate, asReadOnly):  New implementations.
10483         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10484         adjustAddress):  New or updated native methods.
10485
10486 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10487
10488         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10489         overflow of fieldmapping.
10490
10491 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10492
10493         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10494
10495 2004-02-14  Per Bothner  <per@bothner.com>
10496
10497         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10498         Set closed before calling implCloseChannel, as in the spec.
10499
10500 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10501
10502         * javax/swing/ToggleButtonModel.java: Remove dead class.
10503         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10504         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10505         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10506         * Makefile.am: Update for new and removed files.
10507         * Makefile.in: Regenerate.
10508
10509         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10510         * javax/swing/AbstractButton.java 
10511         (AbstractButton): Initialize fields correctly in ctor.
10512         * javax/swing/JCheckbox.java 
10513         (JCheckBox): Override painting flags.
10514         * javax/swing/DefaultButtonModel.java: Conform to sun.
10515         * javax/swing/JComponent.java (paint): Fill with background color
10516         if available.
10517         (processComponentKeyEvent)
10518         (processFocusEvent)
10519         (processKeyEvent)
10520         (processMouseMotionEvent): Remove event-consuming empty methods.
10521         (getUIClassID): Return "ComponentUI" not "JComponent"
10522         * javax/swing/JFrame.java: Remove some debugging chatter.
10523         (JFrame): Subscribe to window events.
10524         * javax/swing/JRadioButton.java 
10525         (JRadioButton): Override painting flags.
10526         * javax/swing/JRootPane.java 
10527         (JRootPane): Set background from UIDefaults.
10528         * javax/swing/JToggleButton.java 
10529         (ToggleButtonModel): New inner class.
10530         (JToggleButton): Override layout alighment.
10531         * javax/swing/SwingUtilities.java:
10532         (getLocalBounds): Return width and height, not x and y.
10533         (calculateInnerArea): Use local bounds, not bounds.
10534         (layoutCompoundLabel): Provide overridden form.
10535         (layoutCompoundLabel): Correct bugs.
10536         * javax/swing/UIDefaults.java: Correct comment.
10537         * javax/swing/plaf/basic/BasicButtonUI.java: 
10538         Move most logic into defaults, external listener.
10539         (paintIcon): Implement icon painting.
10540         (paint): Fix state painting to conform to changes in model.
10541         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10542         Remove most dead/wrong methods.
10543         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10544         * javax/swing/plaf/basic/BasicIconFactory.java:
10545         (DummyIcon): New class.
10546         (getMenuItemCheckIcon)
10547         (getMenuItemArrowIcon) 
10548         (getMenuArrowIcon)
10549         (getCheckBoxMenuItemIcon)
10550         (getRadioButtonMenuItemIcon)
10551         (createEmptyFrameIcon): Return DummyIcons, not null.
10552         (getCheckBoxIcon): Implement an icon that looks like sun's.
10553         (getRadioButtonIcon): Implement an icon that looks like sun's.
10554         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10555         (initComponentDefaults): Fix impossible values, add some missing.
10556         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10557         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10558         Remove most dead/wrong methods.
10559         (icon): New field.
10560         (getDefaultIcon): New method.
10561         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10562         Remove most dead/wrong methods.
10563         * javax/swing/plaf/metal/MetalLookAndFeel.java
10564         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10565         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10566         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10567         Implement "clearing" as drawing, when on pixmap drawables.
10568
10569         * javax/swing/JButton.java (getUIClassID): 
10570         * javax/swing/JCheckBox.java (getUIClassID):
10571         * javax/swing/JEditorPane.java (getUIClassID):
10572         * javax/swing/JLabel.java (getUIClassID): 
10573         * javax/swing/JList.java (getUIClassID): 
10574         * javax/swing/JOptionPane.java (getUIClassID): 
10575         * javax/swing/JPanel.java (getUIClassID): 
10576         * javax/swing/JPasswordField.java (uiClassID): 
10577         * javax/swing/JRadioButton.java (getUIClassID): 
10578         * javax/swing/JRootPane.java (getUIClassID): 
10579         * javax/swing/JScrollPane.java (getUIClassID): 
10580         * javax/swing/JTabbedPane.java (getUIClassID): 
10581         * javax/swing/JToggleButton.java (getUIClassID): 
10582         * javax/swing/JTree.java (getUIClassID): 
10583         * javax/swing/JViewport.java (getUIClassID): 
10584         * javax/swing/text/JTextComponent.java (getUIClassID):
10585         Return "fooUI" not "Jfoo"
10586
10587 2004-02-11  Michael Koch  <konqueror@gmx.de>
10588
10589         * java/net/DatagramSocket.java
10590         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10591         Boolean object.
10592         (setBroadcast): Likewise.
10593         * java/net/MulticastSocket.java
10594         (setLoopbackMode): Likewise.
10595         * java/net/ServerSocket.java
10596         (setReuseAddress): Likewise.
10597         * java/net/Socket.java
10598         (setTcpNoDelay): Likewise.
10599         (setSoLinger): Likewise.
10600         (setOOBInline): Likewise.
10601         (setKeepAlive): Likewise.
10602         (setReuseAddress): Likewise.
10603         * java/net/URLConnection.java
10604         (setContentHandler): Replace == with equals().
10605         * java/net/URLStreamHandler.java
10606         (hostSEquals): Fix checking host addresses.
10607         (toExternalForm): Dont check protocol for null. We know already its
10608         not null.
10609
10610 2004-02-10  David Jee  <djee@redhat.com>
10611
10612         * java/awt/BorderLayout.java
10613         (calcCompSize): Invisible components get zero dimensions.
10614         * java/awt/Button.java
10615         (setLabel): Set actionCommand.
10616         * java/awt/Component.java
10617         (show): Invalidate component and parent container.
10618         (hide): Likewise.
10619
10620 2004-02-10  David Jee  <djee@redhat.com>
10621
10622         * java/awt/GridBagLayout.java
10623         (GridBagLayout): New private field, internalcomptable.
10624         (lookupInternalConstraints): New method.
10625         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10626         (GetLayoutInfo): Reimplement.
10627         (calcCellSizes): Ignore rows/columns with size 0.
10628
10629 2004-02-10  Michael Koch  <konqueror@gmx.de>
10630
10631         * gnu/java/awt/EmbeddedWindow.java
10632         (setHandle): Use java.awt.Component.getPeer() instead of
10633         java.awt.Component.peer directly.
10634
10635 2004-02-10  David Jee  <djee@redhat.com>
10636
10637         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10638         (gtkSetLabel): New native method definition.
10639         (setLabel): Use gtkSetLabel.
10640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10641         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10642
10643 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10644
10645         * include/powerpc-signal.h: Revert 2004-01-21 change.
10646         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10647         from syscall for ppc32 versions.
10648
10649 2004-02-08  Per Bothner  <per@bothner.com>
10650
10651         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10652         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10653         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10654         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10655         Pass ByteOrder parameter to most methods, since the underlying
10656         ByteBuffer's order isn't always what we should use.
10657         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10658         * java/nio/DirectByteBufferImpl.java:  Likewise.
10659         Use ByteBufferHelper methods.
10660         * java/nio/MappedByteBufferImpl.java:  Likewise.
10661         (compact):  Use shiftDown.
10662         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10663         (get, put):  Use ByteBufferHelper.
10664         (compact):  Use new shiftDown method.
10665         (duplicate(boolean)):  New helper method.
10666         (duplicate, asReadOnlyBuffer):  Use it.
10667         (order):  Return endian field.
10668         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10669         * java/nio/FloatViewBufferImpl.java:  Likewise.
10670         * java/nio/IntViewBufferImpl.java:  Likewise.
10671         * java/nio/LongViewBufferImpl.java:  Likewise.
10672         * java/nio/ShortViewBufferImpl.java:  Likewise.
10673         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10674         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10675         (compact):  Re-implement using shiftDown.
10676
10677 2004-02-08  Andreas Jaeger  <aj@suse.de>
10678
10679         * include/x86_64-signal.h: Fix typo.
10680
10681 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10682
10683         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10684         qualifier to _regs.
10685         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10686
10687 2004-02-06  Michael Koch  <konqueror@gmx.de>
10688
10689         * java/io/ObjectInputStream.java
10690         (currentClassLoader): Reverted to old version of this method.
10691
10692 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10693
10694         * java/io/ObjectInputStream.java: Made all calls
10695         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10696         use cached info from ObjectStreamClass. (readClassDescriptor):
10697         Cache more information in ObjectStreamClass. (processResolution,
10698         readFields): Use cached info from ObjectStreamClass.
10699         (newObject): Throw exception instead of returning null for failure.
10700         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10701         setCharField, setDoubleField, setFloatField, setIntField,
10702         setLongField, setShortField, setObjectField, readObjectParams):
10703         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10704         check.
10705         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10706         (setClass): Added call to cacheMethods() (findMethod): New method.
10707         (cacheMethods): New method. (ObjectStreamClass): Added call to
10708         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10709         AccessController.doPrivileged to invoke setAccessible.
10710         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10711         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10712         New fields.
10713         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10714         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10715         isPrimitive): Made safe for cases where type == null.
10716         (setBooleanField, setByteField, setCharField, setShortField,
10717         setIntField, setLongField, setFloatField, setDoubleField,
10718         setObjectField): New methods.
10719
10720 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10721
10722         * java/awt/Component.java (getFont): Return a default font
10723         instead of null.
10724
10725         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10726         (Scrollbar (int, int, int, int, int)): Make default page
10727         increment 10.
10728         (setValues): Only call peer.setValues if one of the values has
10729         changed.
10730         (generateName): New method.
10731         (getUniqueLong): New method.
10732         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10733         (range_scrollbar): Remove structure.
10734         (post_adjustment_event): Remove function.
10735         (post_change_event): Accept jobject argument.
10736         (create): Cast jints to gdoubles.  Round scrollbar values to the
10737         nearest integer.  Clamp min, max and value settings.
10738         (connectJObject): Connect hook to widget->window.
10739         (connectSignals): Remove range_scrollbar structure variables.
10740         Remove "move-slider" connection.  Pass global peer reference to
10741         "value-changed" callback.
10742         (setLineIncrement): Cast jint value to gdouble.
10743         (setPageIncrement): Likewise.
10744         (setValues): Likewise.  Clamp min, max and value settings.
10745
10746 2004-02-05  Michael Koch  <konqueror@gmx.de>
10747
10748         * javax/swing/AbstractCellEditor.java
10749         (getCellEditorValue): Removed.
10750         * javax/swing/Box.java: Reformated.
10751         (serialVersionUID): New field.
10752         * javax/swing/ButtonGroup.java:
10753         Removed some weird whitespace.
10754         * javax/swing/CellEditor.java: Reformated.
10755         * javax/swing/CellRendererPane.java
10756         (serialVersionUID): New field.
10757         (AccessibleCellRendererPaneserialVersionUID): New field.
10758         * javax/swing/DefaultListModel.java
10759         (serialVersionUID): New field.
10760         * javax/swing/JEditorPane.java
10761         (serialVersionUID): New field.
10762         (setPage): Throws IOException.
10763         (addHyperlinkListener): Implemented.
10764         (removeHyperlinkListener): Implemented.
10765         (getHyperlinkListener): New method.
10766         * javax/swing/JFileChooser.java
10767         (serialVersionUID): New field.
10768         (AccessibleJFileChooser.serialVersionUID): New field.
10769         (addActionListener): Implemented.
10770         (removeActionListener): Implemented.
10771         (getActionListeners): New method.
10772         * javax/swing/JFormattedTextField.java
10773         (serialVersionUID): New field.
10774         (AbstractFormatter.serialVersionUID): New field.
10775         (clone): Throws CloneNotSupportedException
10776         (setEditValid): Add missing argument.
10777         (stringToValue): Throws ParseExcpetion.
10778         (valueToString): Throws ParseException.
10779         (commitEdit): Throws ParseException.
10780         * javax/swing/JLabel.java
10781         (serialVersionUID): New field.
10782         * javax/swing/JList.java
10783         (serialVersionUID): New field.
10784         (addListSelectionListener): Reformated.
10785         (removeListSelectionListener): Reformated.
10786         (getListSelectionListeners): New method.
10787         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10788         Reformated.
10789         (serialVersionUID): New field.
10790         * javax/swing/table/AbstractTableModel.java
10791         (getValueAt): Removed.
10792         (getColumnCount): Removed.
10793         (getRowCount): Removed.
10794
10795 2004-02-05  Michael Koch  <konqueror@gmx.de>
10796
10797         * java/awt/datatransfer/DataFlavor.java
10798         (imageFlavor): Javadoc added.
10799         (javaJVMLocalObjectType): Fixed.
10800
10801 2004-02-05  Michael Koch  <konqueror@gmx.de>
10802
10803         * java/lang/Thread.java
10804         (Thread): Reordered.
10805         (setContextClassLoader): Fixed javadoc comment.
10806         (setPriority): Reordered.
10807         (yield): Reordered.
10808         (initialize_native): Reordered.
10809         (gen_name): Reordered.
10810
10811 2004-02-05  Michael Koch  <konqueror@gmx.de>
10812
10813         * java/lang/Thread.java: Reordered fields, reformated much code,
10814         no functional changes, some variables renamed, javadoc comments
10815         merged.
10816
10817 2004-02-05  Michael Koch  <konqueror@gmx.de>
10818
10819         * java/util/zip/Deflater.java,
10820         java/util/zip/DeflaterOutputStream.java,
10821         java/util/zip/GZIPInputStream.java:
10822         Reformated and javadoc comments merged from classpath.
10823
10824 2004-02-05  Michael Koch  <konqueror@gmx.de>
10825
10826         * gnu/java/nio/NIOServerSocket.java
10827         (impl): Unused, removed.
10828         * gnu/java/nio/SocketChannelImpl.java
10829         (finnishConnect): Don't throw NoConnectionPendingException if not
10830         connected or no connection pending.
10831
10832 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10833
10834         * javax/swing/SwingUtilities.java: Many new functions.
10835         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10836         * javax/swing/basic/BasicGraphicsUtils.java 
10837         (getPreferredButtonSize): Start layout from top-left corner.
10838
10839 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10840
10841         * java/awt/geom/AffineTransform.java: 
10842         Corrected comments on the field definitions for
10843         m11 and m10.
10844         (shear): Fixed few errors that caused shear
10845         transformation to be performed incorrectly.
10846         (createInverse): Fixed to return correct
10847         inverse of the given matrix.
10848
10849 2004-02-03  Tom Tromey  <tromey@redhat.com>
10850
10851         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10852         PATH or LD_LIBRARY_PATH is not set in parent environment.
10853
10854 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10855
10856         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10857         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10858         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10859         java/awt/Component.java, java/awt/Container.java,
10860         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10861         java/awt/LayoutManager2.java, java/awt/List.java,
10862         java/awt/Menu.java, java/awt/MenuBar.java,
10863         java/awt/MenuItem.java, java/awt/Polygon.java,
10864         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10865         java/awt/Scrollbar.java, java/awt/TextArea.java,
10866         java/awt/TextField.java,
10867         java/awt/image/renderable/RenderContext.java,
10868         javax/swing/JApplet.java: Fix handling of alias methods, where a
10869         method has been deprecated in favour of a new one with the same
10870         funtion but a different name.  Put the method implementation in
10871         the deprecated method and have the new method call the
10872         deprecated one.  Make all other code call the new method.
10873
10874 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10875
10876         * gnu/java/nio/DatagramChannelImpl.java
10877         (inChannelOperation): New field.
10878         (isInChannelOperation): New accessor.
10879         (setInChannelOperation): New modifier.
10880         (receive): Use capacity() - position() of destination
10881         buffer instead of remaining(). Set and reset our "in
10882         channel operation indicator" before and after delegating
10883         the receive to our datagram socket. Removed testing code.
10884         Update destination buffer's current position if it is
10885         backed by a byte array (hasArray() is true).
10886         (send): Set and reset our "in channel operation indicator"
10887         before and after delegating the send to our datagram socket.
10888         Removed testing code. Update source buffer's current position
10889         if it is backed by a byte array (hasArray() is true).
10890         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10891         Use capacity() - position() of destination buffer instead
10892         of remaining().
10893         * java/net/DatagramSocket.java (receive): Don't throw an
10894         IllegalBlockingModeException if we have a non-blocking
10895         channel which initiated this operation.
10896         (send): Likewise.
10897
10898 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10899
10900         * configure.in: Add pkgconfig check for glib and gthread.
10901         * configure: Regenerate.
10902
10903 2004-02-01  Michael Koch  <konqueror@gmx.de>
10904
10905         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10906         arguments.
10907         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10908         * verify.cc (debug_print): Mark 'fmt' unused.
10909
10910 2004-01-30  Michael Koch  <konqueror@gmx.de>
10911
10912         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10913         * configure: Regenerated.
10914         * glib-2.0.m4: Removed.
10915         * gtk-2.0.m4: Removed.
10916         * libart.m4: Removed.
10917         * pkg.m4: New file.
10918
10919 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10920
10921         * gnu/java/net/PlainSocketImpl.java 
10922         (inChannelOperation): New field.
10923         (isInChannelOperation): New accessor.
10924         (setInChannelOperation): New modifier.
10925         * gnu/java/nio/ServerSocketChannelImpl.java
10926         (accept): Set and reset our server socket's PlainSocketImpl's
10927         "in channel operation" indicator before and after delegating
10928         the accept to our server socket.
10929         * gnu/java/nio/SocketChannelImpl.java
10930         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10931         operation" indicator before and after delegating the operation to
10932         our socket.
10933         (read): Likewise.
10934         (write): Likewise.
10935         * java/net/ServerSocket.java (implAccept): Don't throw an
10936         IllegalBlockingModeException if we have a non-blocking
10937         channel which initiated this accept operation.
10938         * java/net/Socket.java (connect): Don't throw an
10939         IllegalBlockingModeException if we have a non-blocking
10940         channel which initiated this connect operation.
10941         * java/nio/channels/spi/AbstractSelectableChannel.java
10942         (configureBlocking): Only call implConfigureBlocking() if
10943         the desired blocking mode is different from our current one.
10944
10945 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10946
10947         * java/io/BufferedReader.java (sbuf): New field.
10948         (readLine): Use String.valueOf instead of new String() as per
10949         Per Bothner's suggestion. Use instance sbuf field instead of a
10950         local StringBuffer instance.
10951         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10952         caller's buffer to refill().
10953         (read(void)): Pass our internal work buffer to refill if our
10954         input queue is empty.
10955         (refill): Changed return type to int. Use the specified buffer
10956         instead of our work buffer as per Bryce McKinlay's suggestion.
10957         Return the number of characters read or -1 for EOF.
10958
10959 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10960
10961         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10962
10963 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10964
10965         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10966         * Makefile.in: Re-generated.
10967         * gnu/awt/xlib/XFontPeer.java: New file.
10968         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10969         (setClip): Commented out debug printout.
10970         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10971         (getFontPeer): Return XFontPeer.
10972         (getLocalGraphicsEnvironment): New method.
10973         (getClasspathFontPeer): New method.
10974         (createFont): New method.
10975
10976 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10977
10978         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10979         return null. 
10980
10981 2004-01-29  Kim Ho  <kho@redhat.com>
10982
10983         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10984         (gtkLayoutSetVisible): New method
10985         (setMenuBar): Hide layout before setting MenuBar
10986         and reshow it after.
10987         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10988         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10989
10990 2004-01-28  Michael Koch  <konqueror@gmx.de>
10991
10992         * gnu/java/lang/ClassHelper.java
10993         (getPackagePortion): Removed.
10994
10995 2004-01-28  Michael Koch  <konqueror@gmx.de>
10996
10997         * javax/swing/JComponent.java
10998         (listenerList): Initalize globally.
10999         (ancestor_list): Removed.
11000         (veto_list): Removed.
11001         (change_list): Removed.
11002         (get_veto_list): Removed.
11003         (get_change_list): Removed.
11004         (get_ancestor_list): Removed.
11005         (removeAncestorListener): Reimplemented.
11006         (removePropertyChangeListener): Likewise.
11007         (removeVetoableChangeListener): Likewise.
11008         (addAncestorListener): Likewise.
11009         (addPropertyChangeListener): Likewise.
11010         (addVetoableChangeListener): Likewise.
11011         (getListeners): New method.
11012         (getAncestorListeners): Likewise.
11013         (getVetoableChangeListeners): Likewise.
11014         (fireVetoableChange): Throws PropertyVetoException.
11015         * javax/swing/JEditorPane.java
11016         (JEditorPane): Throws IOException.
11017
11018 2004-01-28  David Jee  <djee@redhat.com>
11019
11020         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11021         (create): Set the default foreground color to
11022         java.awt.SystemColor.windowText.
11023
11024 2004-01-27  Michael Koch  <konqueror@gmx.de>
11025
11026         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11027         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11028         Reindented to merge with classpath.
11029
11030 2004-01-27  David Jee  <djee@redhat.com>
11031
11032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11033         (addExposeFilter): Handle GtkFramePeer separately.
11034         (removeExposeFilter): Likewise.
11035
11036 2004-01-27  Michael Koch  <konqueror@gmx.de>
11037
11038         * gnu/java/net/protocol/http/Connection.java
11039         (getOutputStream): Fixed typo.
11040
11041 2004-01-27  Michael Koch  <konqueror@gmx.de>
11042
11043         * java/lang/Class.java
11044         (getConstructor): Removed SecurityException from throws clause.
11045         (_getConstructors): Likewise.
11046         (getConstructors): Likewise.
11047         (getDeclaredConstructor): Likewise.
11048         (getDeclaredClasses): Likewise.
11049         (getDeclaredConstructors): Likewise.
11050         (getDeclaredField): Likewise.
11051         (getDeclaredMethod): Likewise.
11052         (getDeclaredMethods): Likewise.
11053         (getField): Likewise.
11054         (getMethod): Likewise.
11055         (getMethods): Likewise.
11056
11057 2004-01-27  Kim Ho  <kho@redhat.com>
11058
11059         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11060         (removeMenuBarPeer): Remove MenuBarPeer argument.
11061         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11062         (dispose): Call native method.
11063         * java/awt/Frame.java (setMenuBar): Create and remove
11064         MenuBar peers only if the Frame has a peer.
11065         (addNotify): Create the MenuBar peer if one exists.
11066         (removeNotify): Remove MenuBar peer if one exists.
11067         * java/awt/Menu.java: Fix imports.
11068         (addNotify): Don't use full class name.
11069         (removeNotify): Call removeNotify on all children.
11070         * java/awt/MenuBar.java (removeNotify): Call
11071         removeNotify on all children.
11072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11073         (removeMenuBarPeer): Remove MenuBarPeer argument.
11074         Iterate through children to find the Frame's MenuBar.
11075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11076         New file.
11077         (dispose): Remove references to the MenuComponent.
11078
11079 2004-01-27  Michael Koch  <konqueror@gmx.de>
11080
11081         * javax/swing/AbstractCellEditor.java: Reformated.
11082         * javax/swing/DefaultListSelectionModel.java
11083         (listenerList): Made protected.
11084         (addListSelectionListener): Javadoc added.
11085         (removeListSelectionListener): Likewise.
11086         (getListeners): Likewise.
11087         (getListSelectionListeners): Likewise.
11088         * javax/swing/JComboBox.java: Merged copyright year.
11089         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11090
11091 2004-01-26  Andrew Haley  <aph@redhat.com>
11092
11093         * javax/swing/table/JTableHeader.java: Extend JComponent
11094
11095 2004-01-26  Kim Ho  <kho@redhat.com>
11096
11097         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11098         Fix spacing.
11099
11100 2004-01-26  Kim Ho  <kho@redhat.com>
11101
11102         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11103         method.
11104         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11105         height and let the Layout Managers readjust anything that
11106         needs to move.
11107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11108         (moveLayout): New method. Shift everything in the Gtk
11109         layout in the Y direction by an offset.
11110
11111 2004-01-26  David Jee  <djee@redhat.com>
11112
11113         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11114         (handleEvent): Implemented. Handles PaintEvents.
11115         (paint): Implemented. Use GTK native methods to queue updates
11116         for this heavyweight peer.
11117         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11118         (handleEvent): Removed.
11119         * java/awt/Component.java
11120         (paint): Implemented. Explictly paint the heavyweight peer.
11121         (update): Clear the background for heavyweight components.
11122         (paintAll): No need to call peer.paint() anymore.
11123         (processEvent): Don't process PaintEvents here. It's now done in
11124         the peer's handleEvent().
11125         (processPaintEvent): Removed.
11126         * java/awt/Container.java
11127         (paint): No need to call super.paint(). Visit heavyweight
11128         children as well.
11129         (update): Don't clear the background here.  It's done in
11130         Component.update().
11131         (visitChildren): Added check to not recurse into Containers.
11132         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11133         (filter_expose_event_handler): New method.  Filter unwanted
11134         expose events while painting heavyweight peers.
11135         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11136         New method. Connect filter and block pre_event_handler.
11137         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11138         New method. Disconnect filter and unblock pre_event_handler.
11139         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11140         New method. Invalidate and update given area.
11141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11142         (pre_event_handler): Add checks for unwanted expose events.
11143
11144 2004-01-26  David Jee  <djee@redhat.com>
11145
11146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11147         (find_bg_color_widget): For GtkButton, return its child.
11148
11149 2004-01-26  Kim Ho  <kho@redhat.com>
11150
11151         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11152         private.
11153         (setMenuBar): Grab MenuBar height and change insets.
11154         (setBounds): Account for MenuBar height.
11155         (postInsetsChangedEvent): Ditto.
11156         (postSizeAllocateEvent): Remove.
11157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11158         (menubar_resize_cb): Remove
11159         (setMenuBarPeer): Remove callback.
11160         (getMenuBarHeight): Use size requisition instead of
11161         allocation.
11162
11163 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11164
11165         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11166         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11167         when peer is null.
11168         (setColumns): Remove FIXME -- peer will retrieve number of
11169         columns by calling getColumns.
11170         (setRows): Likewise for number of rows.
11171         (next_text_number): New field.
11172         (paramString): Fix param string.
11173         (generateName): New method.
11174         (getUniqueLong): New method.
11175
11176 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11177
11178         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11179         image observer of image loading status.
11180         (getImage (String)): Start image production.
11181         (getImage (URL)): Likewise.
11182
11183 2004-01-25  Michael Koch  <konqueror@gmx.de>
11184
11185         * java/lang/Class.java: Imports reworked, reformated.
11186         (Class): Javadoc added.
11187         (forName): Likewise.
11188         (getClasses): Likewise.
11189         (getClassLoader): Likewise.
11190         (getComponentType): Likewise.
11191         (getConstructor): Likewise.
11192         (getConstructors): Likewise.
11193         (getDeclaredConstructor): Likewise.
11194         (getDeclaredClasses): Likewise.
11195         (getDeclaredConstructors): Likewise.
11196         (getDeclaredField): Likewise.
11197         (getDeclaredMethod): Likewise.
11198         (getDeclaredMethods): Likewise.
11199         (getDeclaringClass): Likewise.
11200         (getField): Likewise.
11201         (getInterfaces): Likewise.
11202         (getMethod): Likewise.
11203         (getMethods): Likewise.
11204         (getModifiers): Likewise.
11205         (getName): Likewise.
11206         (getResource): Likewise.
11207         (getResourceAsStream): Likewise.
11208         (getSigners): Likewise.
11209         (setSigners): Likewise.
11210         (getSuperclass): Likewise.
11211         (isArray): Likewise.
11212         (isAssignableFrom): Likewise.
11213         (isInstance): Likewise.
11214         (isInterface): Likewise.
11215         (isPrimitive): Likewise.
11216         (newInstance): Likewise.
11217         (getProtectionDomain): Likewise.
11218         (toString): Likewise.
11219         (Class): Moved.
11220         (initializeClass): Likewise.
11221         (finalize): Likewise.
11222
11223 2004-01-24  Michael Koch  <konqueror@gmx.de>
11224
11225         * gnu/java/net/protocol/jar/Connection.java
11226         (hdrHash): Removed.
11227         (hdrVec): Removed.
11228         (gotHeaders): Removed.
11229         (getHeaderField): Removed.
11230         (getHeaderFields): Removed.
11231         (getHeaderFieldKey): Removed.
11232         (getKey): Removed.
11233         (getField): Removed.
11234         (getHeaders): Removed.
11235
11236 2004-01-24  Michael Koch  <konqueror@gmx.de>
11237
11238         * Makefile.am: Added library version to gtk peer lib.
11239         * Makefile.in: Regenerated.
11240
11241 2004-01-24  Michael Koch  <konqueror@gmx.de>
11242
11243         * java/util/zip/InflaterInputStream.java: Merged class documentation
11244         with classpath.
11245
11246 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11247
11248         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11249         header.  For __powerpc64__ provide the default-signal.h definitions
11250         for now.
11251         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11252         instead of the dummy definitions.
11253         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11254         (powerpc64*-*): Remove with_libffi_default.
11255         Only add -mminimal-toc for 64-bit compilations.
11256         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11257         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11258         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11259         * configure: Rebuilt.
11260
11261 2004-01-23  Michael Koch  <konqueror@gmx.de>
11262
11263         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11264
11265 2004-01-23  Michael Koch  <konqueror@gmx.de>
11266
11267         * java/lang/VMClassLoader.java: Reworked imports.
11268         
11269 2004-01-23  Michael Koch  <konqueror@gmx.de>
11270
11271         * javax/swing/AbstractAction.java: Reformated.
11272
11273 2004-01-23  Michael Koch  <konqueror@gmx.de>
11274
11275         * java/text/CollationElementIterator.java:
11276         (setText): New method.
11277
11278 2004-01-23  Michael Koch  <konqueror@gmx.de>
11279
11280         * gnu/java/nio/FileLockImpl.java:
11281         Fixed filename in copyright.
11282         (released): Removed.
11283         (finalize): New method.
11284         * gnu/java/nio/natFileLockImpl.cc
11285         (releaseImpl): Implemented.
11286         * java/nio/channels/FileChannelImpl.java:
11287         Reworked imports.
11288         (lock): Implemented.
11289         (lockImpl): New method.
11290         (tryLock): Implemented.
11291         (tryLockImpl): New method.
11292         * java/nio/channels/natFileChannelImpl.cc
11293         (lockImpl): New method.
11294         (tryLockImpl): New method.
11295
11296 2004-01-23  Michael Koch  <konqueror@gmx.de>
11297
11298         * java/io/FileDescriptor.java
11299         (lock): New method.
11300         (tryLock): New method.
11301         (unlock): New method.
11302         * java/io/natFileDescriptorEcos.cc
11303         (lock): New method.
11304         (tryLock): New method.
11305         (unlock): New method.
11306         * java/io/natFileDescriptorPosix.cc
11307         (lock): New method.
11308         (tryLock): New method.
11309         (unlock): New method.
11310         * java/io/natFileDescriptorWin32.cc
11311         (lock): New method.
11312         (tryLock): New method.
11313         (unlock): New method.
11314
11315 2004-01-23  Michael Koch  <konqueror@gmx.de>
11316
11317         * java/io/FileDescriptor.java
11318         (sync): Moved around, added javadoc.
11319         (valid): Likewise.
11320         (open): Likewise.
11321         (write): Likewise.
11322         (close): Likewise.
11323         (setLength): Likewise.
11324         (seek): Likewise.
11325         (getLength): Likewise.
11326         (getFilePointer): Likewise.
11327         (read): Likewise.
11328         (available): Likewise.
11329         (finalize): Likewise.
11330
11331 2004-01-23  Michael Koch  <konqueror@gmx.de>
11332
11333         * javax/swing/AbstractAction.java: Reformated.
11334         (getPropertyChangeListeners): New method.
11335         * javax/swing/AbstractCellEditor.java: Reformated.
11336         (getCellEditorListeners): New method.
11337         * javax/swing/DefaultListSelectionModel.java
11338         (listenerList): New field.
11339         (listeners): Removed.
11340         (get_listeners): Removed.
11341         (addListSelectionListener): Rewritten.
11342         (removeListSelectionListener): Rewritten.
11343         (getListSelectionListeners): New method.
11344         (getListeners): New method.
11345         * javax/swing/JComboBox.java: Imports reworked.
11346         (addActionListener): Implemented.
11347         (removeActionListener): Implemented.
11348         (addItemListener): Implemented.
11349         (removeItemListener): Implemented.
11350         (addPopupMenuListener): Implemented.
11351         (removePopupMenuListener): Implemented.
11352         (getActionListeners): New method.
11353         (getItemListeners): New method.
11354         (getPopupMenuListeners): New method.
11355
11356 2004-01-23  Michael Koch  <konqueror@gmx.de>
11357
11358         * gnu/java/net/protocol/http/Connection.java
11359         (connect): Don't initialize bufferedOutputStream if not needed.
11360         (sendRequest): Set property for content length if content is present.
11361         Write content only if present.
11362         (getOutputStream): Check if already connected, dont connect,
11363         initalize bufferedOutputStream if needed.
11364
11365 2004-01-23  Michael Koch  <konqueror@gmx.de>
11366
11367         * java/io/FileDescriptor.java
11368         (in, out, err): Added javadoc.
11369         (static): Merged loading code.
11370         (fd, position): Moved around.
11371
11372 2004-01-23  Michael Koch  <konqueror@gmx.de>
11373
11374         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11375         New file.
11376
11377 2004-01-23  Michael Koch  <konqueror@gmx.de>
11378
11379         * java/lang/Class.java,
11380         java/lang/Object.java,
11381         java/lang/Thread.java: Merged copyright with classpath.
11382
11383 2004-01-23  Michael Koch  <konqueror@gmx.de>
11384
11385         * java/io/FileDescriptor.java: Merged copyright with classpath to
11386         start merging this class.
11387
11388 2004-01-22  Tom Tromey  <tromey@redhat.com>
11389
11390         PR libgcj/13107:
11391         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11392         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11393         * testsuite/libjava.lang/pr13107_3.java: New file.
11394         * testsuite/libjava.lang/pr13107_3.out: New file.
11395         * testsuite/libjava.lang/pr13107_2.java: New file.
11396         * testsuite/libjava.lang/pr13107_2.out: New file.
11397         * testsuite/libjava.lang/pr13107.java: New file.
11398         * testsuite/libjava.lang/pr13107.out: New file.
11399         * verify.cc (jsr_ptrs): Removed.
11400         (entry_points): Likewise.
11401         (struct subr_info): Likewise.
11402         (struct subr_entry_info): Likewise.
11403         (type_val::unused_by_subroutine_type): Likewise.
11404         (type::merge): Don't handle unused_by_subroutine_type.
11405         (type::print): Likewise.
11406         (state::flags): Removed.
11407         (state::subroutine): Likewise.
11408         (state::seen_subrs): Likewise.
11409         (state::NO_STACK): Likewise.
11410         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11411         (state): Updated all methods.
11412         (state::clean_subrs): Removed.
11413         (state::state): Removed `ret_semantics' flag.
11414         (state::copy): Likewise.
11415         (state::add_subr): Removed.
11416         (state::enter_subroutine): Likewise.
11417         (type::set_return_address): New method.
11418         (handle_jsr_insn): Set return address on the type.  Always
11419         invalidate PC after call.
11420         (check_nonrecursive_call): Removed.
11421         (~_Jv_BytecodeVerifier): Updated.
11422         (branch_prepass): Removed special handling of jsr.
11423         (note_branch_target): Likewise.
11424         (get_subroutine): Removed.
11425         (state::merge): Don't merge subroutines and don't handle
11426         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11427         (state::note_variable): Removed.
11428         (state::is_unmerged_ret_state): Likewise.
11429         (state::print): Updated.
11430         (set_variable): Likewise.
11431         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11432         and jsr_semantics arguments.  Updated for new reverification
11433         list.
11434         (pop_jump): Rewrote.
11435         (construct_primitive_array_type): Updated.
11436         (state::next): Removed.
11437         (INVALID_STATE): New define.
11438         (state::INVALID): Removed.
11439         (state::NO_NEXT): New value.
11440         (state::pc, state::next): New fields.
11441         (state::get_pc): New method.
11442         (next_verify_pc): Removed.
11443         (next_verify_state): New field.
11444         (verify_instructions_0): Always check for falling off end.
11445         (linked): New type.
11446         (linked_utf8): Removed.
11447         (states): Changed type.
11448         (type::state_mergeable_p): New method.
11449         (state::state_mergeable_p): Likewise.
11450         (handle_ret_insn): Removed most code.
11451         (state::reverify): New method.
11452         (add_new_state): Likewise.
11453         (state::set_pc): Likewise.
11454
11455 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11456
11457         PR java/13733
11458         * testsuite/libjava.compile/PR13733.java: New file.
11459         * testsuite/libjava.compile/PR13733.xfail: New file.
11460
11461 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11462             Michael Koch  <konqueror@gmx.de>
11463
11464         * javax/swing/table/DefaultTableCellRenderer.java
11465         (DefaultTableCellRenderer): Added javadoc for the class and for
11466         the constructor, Border instance, create an EmptyBorder.
11467         (UIResource): Removed the comment at the end of the class
11468         (setForeground): New method.
11469         (setBackground): New method.
11470         (updateUI): New method.
11471         (getTableCellRendererComponent): Rewritten with the help of
11472         dvholten and Stephane Meslin-Weber.
11473         (validate): New method.
11474         (repaint): New method.
11475         (firePropertyChange): New method.
11476         (setValue): New method.
11477
11478 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11479
11480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11481         (connectJObject): Replace printf calls with g_assert statements.
11482         Move property-notify-event signal connection to ...
11483         (connectSignals): Connect property-notify-event signal.  Iterate
11484         through the vbox's children to find layout.
11485
11486 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11487         
11488         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11489         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11490         Predicate static initialization on GtkToolkit.useGraphics2D().
11491         * java/awt/Component.java (processPaintEvent): Consume event.
11492         * javax/swing/AbstractButton.java: Reimplement, document.
11493         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11494         * javax/swing/JComponent.java (paint): Use double buffer.
11495         (listenerList): Enable member.
11496         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11497         * javax/swing/JToggleButton.java 
11498         (JToggleButton): Modify model constructor.
11499         * javax/swing/SwingUtilities.java 
11500         (layoutCompoundLabel): Adjust arithmetic.
11501         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11502         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11503         (getPreferredButtonSize): Include margins in calculation.
11504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11505         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11506         Receive up events from subordinate layout component.
11507
11508 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11509
11510         * java/awt/Component.java (show): Set visible to true before
11511         showing the peer.
11512
11513 2004-01-21  Kim Ho  <kho@redhat.com>
11514
11515         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11516         Fix comments.
11517         (removeMenuBarPeer): Make package private.
11518         (setMenuBarPeer): Make package private.
11519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11520         (menubar_resize_cb): Mark attributes unused.
11521         (getMenuBarHeight): ditto.
11522
11523 2004-01-21  David Jee  <djee@redhat.com>
11524
11525         * java/awt/Container.java
11526         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11527         dispatching MOUSE_ENTERED event twice. Translate the point for
11528         the mouse event target before dispatching the event.
11529
11530 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11531
11532         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11533         lib_org_w3c_dom_la_LDFLAGS): New.
11534         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11535         * Makefile.in: Rebuilt.
11536
11537 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11538
11539         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11540         Calculate proper offsets for heavyweight components packed in
11541         lightweight containers.
11542
11543         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11545         (native create): Add width parameter.
11546         (create): Calculate text entry width based on current font's
11547         metrics and number of columns.  Set TextField's font if not
11548         already set.  Call native create.
11549         (gtkEntryGetBorderWidth): New native method.
11550         (gtkEntryGetSize): Remove method.
11551         (getMinimumSize): Call minimumSize.
11552         (getPreferredSize): Call preferredSize.
11553         (minimumSize): Calculate minimum size based on backing
11554         GtkEntry's borders, font metrics and number of columns.
11555         (preferredSize): Likewise for preferred size.
11556         (get_border_width): New static function.
11557
11558         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11559         Override GtkWindowPeer's setResizable method to account for menu
11560         bar height when setting the frame's size.
11561
11562 2004-01-19  Matthias Klose  <doko@debian.org>
11563
11564         * libtool-version: Increased `current' to 6.
11565
11566 2004-01-19  Kim Ho  <kho@redhat.com>
11567
11568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11569         (connectJObject): Iterate through the vbox's children to find layout.
11570
11571 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11572
11573         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11574         isDispatchThread method to replace wrong test condition.
11575
11576 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11577
11578         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11579         events to the queue out of order by acquiring locks in the proper
11580         order and not by releasing one before acquiring the other.
11581
11582 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11583
11584         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11585         visible so that dialog can be reused.
11586
11587 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11588
11589         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11590         events may be handled by any queue in the stack.
11591
11592 2004-01-19  Kim Ho  <kho@redhat.com>
11593
11594         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11595         MenuBarPeer parameter.
11596         (removeMenuBarPeer): New native method.
11597         (setMenuBar): Call remove if menu bar is null. Adjust insets
11598         appropriately.
11599         (postSizeAllocateEvent): New method. Called when menu bar size is
11600         allocated. Adjust insets and redo layout.
11601         (GtkFramePeer): Set menu bar during frame creation.
11602         (postConfigureEvent): Adjust position and size to accomodate
11603         menu bar.
11604         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11605         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11606         (addNotify): Create the peer if it doesn't exist and call addNotify
11607         for the menu's items.
11608         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11609         * java/awt/MenuItem.java (addNotify): Create the peer if it
11610         doesn't exist.
11611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11612         (removeMenuBarPeer): New method. Remove menu bar on the current
11613         frame.
11614         (setMenuBarPeer): Add the menu bar to the current frame and the
11615         callback for size-allocate events on the menu bar.
11616         (getMenuBarHeight): Add menu bar parameter.
11617         (menubar_resize_cb): New callback method for postSizeAllocate events.
11618
11619         Also: Fix indentation on last ChangeLog entry.
11620
11621 2004-01-16  Kim Ho  <kho@redhat.com>
11622
11623         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11624         (gtkWidgetGetDimensions): Remove.
11625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11626         (gtkWidgetGetDimensions): Remove.
11627
11628 2004-01-16  Tom Tromey  <tromey@redhat.com>
11629
11630         * java/awt/Container.java: Typo and indentation fixes.
11631
11632         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11633         * java/lang/natVMClassLoader.cc: ...here.  New file.
11634         * Makefile.in: Rebuilt.
11635         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11636
11637 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11638
11639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11640         Discard GDK_ENTER_NOTIFY related to ungrabs.
11641
11642 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11643
11644         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11645         is called for an intermediate queue.
11646
11647 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11648
11649         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11650         (window_property_changed_cb): Set id_set.
11651
11652 2004-01-16  Kim Ho  <kho@redhat.com>
11653
11654         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11655         it is a FileDialog and has dimensions of 0 by 0, then the initial
11656         size is set to size request plus insets.
11657         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11658         (gtkWidgetGetDimensions): Override method.
11659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11660         (gtkWidgetGetDimensions): Override method. Returns size request plus
11661         insets.
11662
11663 2004-01-16  Andrew Haley  <aph@redhat.com>
11664
11665         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11666         * sysdep/i386/locks.h: Likewise.
11667
11668 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11669
11670         * java/awt/EventDispatchThread.java (run): Stop running when
11671         interrupted.
11672         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11673         Reset the queue after transferring its contents.
11674         (push): Start a new dispatch thread if none is running.
11675
11676 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11677
11678         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11679         (doPolygon): set fill rule of polygon to 
11680         WIND_EVEN_ODD by default.
11681
11682 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11683
11684         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11685         Implemented rendering hints related methods.
11686         (getDefaultHints): New helper method. Returns
11687         default rendering hints.
11688         (walkPath): changed to normalize path if
11689         the KEY_STROKE_CONTROL key is in "normalize" mode.
11690         (draw3DRect): changed coordinates of rectangle by +0.5
11691         if in "normalize" mode.
11692
11693 2004-01-15  Tom Tromey  <tromey@redhat.com>
11694
11695         * Makefile.in: Rebuilt.
11696         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11697         (%.lo: %.java) Filter out StackTrace.lo.
11698
11699 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11700
11701         * configure.in: Add in AC_PREREQ(2.13)
11702         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11703         FIXME comment.
11704
11705 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11706             Tom Tromey  <tromey@redhat.com>
11707
11708         PR libgcj/12001:
11709         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11710         array to superclass.
11711         (init): Changed interface; add URLs here.
11712         (initialize): New static method.
11713         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11714         (_Jv_RunMain): ... not here.
11715
11716 2004-01-14  Michael Koch  <konqueror@gmx.de>
11717
11718         * java/text/MessageFormat.java:
11719         Added descriptions to exceptions.
11720         This fixes PR libgcj/2429.
11721
11722 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11723
11724         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11725         (push): Make sure push is performed at the top of the thread stack.
11726
11727 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11728
11729         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11730         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11731         (native create): Add width and height parameters.  Set text
11732         view's size request according to new parameters.
11733         (create): Calculate text view size based on current font's
11734         metrics and number of rows and columns.  Set TextArea's font if
11735         not already set.  Call native create.
11736         (getMinimumSize): Call minimumSize.
11737         (getPreferredSize): Call preferredSize.
11738         (getHScrollbarHeight): New method.
11739         (getVScrollbarWidth): New method.
11740         (minimumSize): Calculate minimum size based on scrollbar
11741         visibility, scrollbar sizes, font metrics and number of rows and
11742         columns.
11743         (preferredSize): Likewise for preferred size.
11744         (gtkTextGetSize): Remove method.
11745
11746 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11747
11748         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11749         (initializeInsets): Remove method.
11750         (GtkComponentPeer): Initialize insets field.  Remove call to
11751         initializeInsets.
11752         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11753         Remove method.
11754         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11755         Remove method.
11756         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11757         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11758         (latestInsets): Remove field.
11759         (native create): Add insets parameter.  Call
11760         window_get_frame_extents.  Set the window's default size and
11761         size request based on its frame extents.
11762         (create): Initialize insets.
11763         (postInsetsChangedEvent): New method.
11764         (postConfigureEvent): Remove parameters top, left, bottom,
11765         right.  Remove insets-related logic.
11766         (connectJObject): Handle property-notify-event.
11767         (window_get_frame_extents, request_frame_extents,
11768         property_notify_predicate, window_property_changed_cb): New
11769         static functions.
11770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11771         (pre_event_handler): Remove insets-related logic for configure
11772         events.
11773         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11774         Update postConfigureEvent signature.
11775
11776 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11777  
11778         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11779         to handle Window "Closing" events.
11780  
11781 2004-01-13  David Jee  <djee@redhat.com>
11782
11783         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11784         (setBackground): New method. Children with no explicitly-set
11785         background will be repainted with the parent container's new
11786         background color.
11787
11788 2004-01-13  David Jee  <djee@redhat.com>
11789
11790         * Makefile.am: Add BitwiseXORComposite.java.
11791         * Makefile.in: Regenerated.
11792         * gcj/Makefile.in: Regenerated.
11793         * include/Makefile.in: Regenerated.
11794         * testsuite/Makefile.in: Regenerated.
11795
11796 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11797
11798         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11799         not show modal dialogs twice and so that it allows showing a modal
11800         dialog from another modal dialog.
11801
11802 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11803
11804         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11805         and run secondary dispatch thread to process event queue while this
11806         thread is blocked.
11807
11808 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11809
11810         * gnu/java/awt/gtk/GdkGraphics2D.java
11811         (static): Check GtkToolkit before initializing static state.
11812         (Graphics2D): Don't construct transform with 0.5 unit offset.
11813
11814 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11815
11816         * gnu/java/awt/BitwiseXORComposite.java: Add.
11817         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11818         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11819         (BitwiseXORComposite): Remove inner class.
11820
11821 2004-01-11  Michael Koch  <konqueror@gmx.de>
11822
11823         * gnu/java/lang/reflect/TypeSignature.java
11824         (getEncodingOfClass): Documentation fixed.
11825         (getClassForEncoding): Give class loader to Class.forName().
11826         Documentation fixed.
11827
11828 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11829
11830         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11831
11832 2004-01-11  Michael Koch  <konqueror@gmx.de>
11833
11834         * javax/swing/undo/StateEditable.java
11835         (RCSID): Removed redundant modifiers.
11836
11837 2004-01-10  Michael Koch  <konqueror@gmx.de>
11838
11839         * javax/print/attribute/EnumSyntax.java
11840         (getStringTable): Made protected.
11841         (getEnumValueTable): Likewise.
11842         * javax/print/attribute/standard/JobKOctetsProcessed.java
11843         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11844         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11845         (JobMediaSheetsCompleted): Made class final.
11846         * javax/print/attribute/standard/OutputDeviceAssigned.java
11847         (getName): Fixed typo.
11848         * javax/print/attribute/standard/RequestingUserName.java
11849         (serialVersionUID): Fixed value.
11850
11851 2004-01-10  Michael Koch  <konqueror@gmx.de>
11852
11853         * javax/swing/plaf/basic/BasicButtonUI.java,
11854         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11855         javax/swing/plaf/basic/BasicListUI.java,
11856         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11857         javax/swing/plaf/basic/BasicPanelUI.java,
11858         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11859         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11860         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11861         javax/swing/plaf/basic/BasicViewportUI.java:
11862         Fixed import statements.
11863
11864 2004-01-10  Michael Koch  <konqueror@gmx.de>
11865
11866         * gnu/java/awt/image/ImageDecoder.java
11867         (produce): Made public.
11868         * gnu/java/awt/peer/GLightweightPeer.java,
11869         gnu/java/awt/peer/gtk/GtkToolkit.java:
11870         Reformated.
11871
11872 2004-01-10  Michael Koch  <konqueror@gmx.de>
11873
11874         * javax/swing/JRadioButtonMenuItem.java,
11875         javax/swing/JSeparator.java,
11876         javax/swing/JSplitPane.java,
11877         javax/swing/JTextPane.java,
11878         javax/swing/JToolBar.java,
11879         javax/swing/ListCellRenderer.java,
11880         javax/swing/ListModel.java,
11881         javax/swing/MenuElement.java,
11882         javax/swing/OverlayLayout.java,
11883         javax/swing/ProgressMonitor.java,
11884         javax/swing/ProgressMonitorInputStream.java,
11885         javax/swing/Renderer.java,
11886         javax/swing/RootPaneContainer.java,
11887         javax/swing/Scrollable.java,
11888         javax/swing/SingleSelectionModel.java,
11889         javax/swing/ToolTipManager.java,
11890         javax/swing/ViewportLayout.java,
11891         javax/swing/event/DocumentEvent.java,
11892         javax/swing/event/SwingPropertyChangeSupport.java,
11893         javax/swing/event/TreeSelectionEvent.java,
11894         javax/swing/event/UndoableEditEvent.java,
11895         javax/swing/text/AbstractDocument.java,
11896         javax/swing/text/AttributeSet.java,
11897         javax/swing/text/Caret.java,
11898         javax/swing/text/ComponentView.java,
11899         javax/swing/text/DefaultCaret.java,
11900         javax/swing/text/DefaultEditorKit.java,
11901         javax/swing/text/Document.java,
11902         javax/swing/text/EditorKit.java,
11903         javax/swing/text/GapContent.java,
11904         javax/swing/text/Keymap.java,
11905         javax/swing/text/MutableAttributeSet.java,
11906         javax/swing/text/PlainEditorKit.java,
11907         javax/swing/text/Segment.java,
11908         javax/swing/text/Style.java,
11909         javax/swing/text/StyledDocument.java,
11910         javax/swing/text/StyledEditorKit.java,
11911         javax/swing/text/TextAction.java,
11912         javax/swing/text/View.java: Fixed import statements.
11913
11914 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11915
11916         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11917         djee@redhat.com's recent inverse ordering of Container elements.
11918
11919 2004-01-09  Michael Koch  <konqueror@gmx.de>
11920
11921         * gnu/java/lang/ArrayHelper.java
11922         (equalsArray): Removed.
11923
11924 2004-01-09  Andrew Haley  <aph@redhat.com>
11925
11926         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11927         a Utf8Const field before looking at its class.
11928
11929 2004-01-09  Michael Koch  <konqueror@gmx.de>
11930
11931         * javax/print/attribute/standard/DocumentName.java,
11932         javax/print/attribute/standard/JobHoldUntil.java,
11933         javax/print/attribute/standard/JobMessageFromOperator.java,
11934         javax/print/attribute/standard/JobName.java,
11935         javax/print/attribute/standard/JobOriginatingUserName.java,
11936         javax/print/attribute/standard/OutputDeviceAssigned.java,
11937         javax/print/attribute/standard/PrinterInfo.java,
11938         javax/print/attribute/standard/PrinterLocation.java,
11939         javax/print/attribute/standard/PrinterMakeAndModel.java,
11940         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11941         javax/print/attribute/standard/PrinterName.java,
11942         javax/print/attribute/standard/RequestingUserName.java: New files.
11943         * Makefile.am (javax_source_files): Added new files.
11944         * Makefile.in: Regenerated.
11945
11946 2004-01-09  Michael Koch  <konqueror@gmx.de>
11947
11948         * javax/swing/AbstractAction.java,
11949         javax/swing/AbstractSet.java,
11950         javax/swing/Action.java,
11951         javax/swing/ActionMap.java,
11952         javax/swing/BoundedRangeModel.java,
11953         javax/swing/ButtonModel.java,
11954         javax/swing/CellEditor.java,
11955         javax/swing/CellRendererPane.java,
11956         javax/swing/ComboBoxEditor.java,
11957         javax/swing/DebugGraphics.java,
11958         javax/swing/DefaultCellEditor.java,
11959         javax/swing/DefaultCellRenderer.java,
11960         javax/swing/DefaultComboBoxModel.java,
11961         javax/swing/DefaultDesktopManager.java,
11962         javax/swing/DefaultFocusManager.java,
11963         javax/swing/DefaultListCellRenderer.java,
11964         javax/swing/Icon.java,
11965         javax/swing/JButton.java,
11966         javax/swing/JCheckBoxMenuItem.java,
11967         javax/swing/JDesktopPane.java,
11968         javax/swing/JEditorPane.java,
11969         javax/swing/JMenu.java,
11970         javax/swing/JPanel.java,
11971         javax/swing/JPasswordField.java,
11972         javax/swing/JPopupMenu.java,
11973         javax/swing/JProgressBar.java: Reworked imports.
11974
11975 2004-01-09  Michael Koch  <konqueror@gmx.de>
11976
11977         * java/awt/geom/PathIterator.java
11978         (WIND_EVEN_ODD): Removed redundant modifiers.
11979         (WIND_NON_ZERO): Likewise.
11980         (SEG_MOVETO): Likewise.
11981         (SEG_LINETO): Likewise.
11982         (SEG_QUADTO): Likewise.
11983         (SEG_CUBICTO): Likewise.
11984         (SEG_CLOSE): Likewise.
11985         * java/awt/image/SinglePixelPackedSampleModel.java:
11986         Removed redundant semicolon.
11987         * java/io/ObjectInputStream.java
11988         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11989         * java/util/logging/Filter.java
11990         (isLoggable): Removed redundant modifier.
11991         * java/util/logging/LogManager.java:
11992         Removed redundant semicolon.
11993         * java/util/logging/XMLFormatter.java
11994         (format): Removed unused variable "key".
11995
11996 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11997
11998         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11999         New name for the former setFile native method.
12000         (setFile): New method.
12001         (setDirectory): Implemented.
12002         (connectSignals): New native method.
12003         (setFilenameFilter): Improve comment.
12004         (getGraphics): Comment.
12005         (gtkHideFileDialog): New method.
12006         (gtkDisposeFileDialog): New method.
12007         (gtkSetFilename): New method.
12008         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12009         for FileDialog for now.
12010         (hide): New method.
12011         (dispose): New method.
12012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12013         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12014         deprecated creation functions.  Make dialog modal.  Add it to the
12015         window group.
12016         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12017         function.
12018         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12019         Rename to...
12020         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12021         name.
12022         (window_closed): New function.
12023         (ok_clicked): New function.
12024         (cancel_clicked): New function.
12025
12026 2004-01-08  Michael Koch  <konqueror@gmx.de>
12027
12028         * javax/swing/JLayeredPane.java: Revert changes to standard
12029         boilerplate, reworked imports.
12030
12031 2004-01-07  Tom Tromey  <tromey@redhat.com>
12032
12033         PR libgcj/13439:
12034         * verify.cc (state::merge): Copy changed locals out of subroutine
12035         in NO_STACK case.
12036         (state::FLAG_CHANGED): New const.
12037         (state::FLAG_UNUSED): Likewise.
12038         (state::local_changed): Removed.  Updated all users.
12039         (state::flags): New field.
12040         (state::merge): Added jsr_semantics argument, more logic.
12041         (push_jump_merge): Added jsr_semantics argument.
12042         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12043         merging through the jsr instruction.
12044
12045 2004-01-07  Tom Tromey  <tromey@redhat.com>
12046
12047         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12048         backslash-newline.
12049
12050 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12051
12052         * java/awt/Container.java (LightweightDispatcher): Implement.
12053         (visitChild): Reuse graphics object.
12054         (dispatchEventImpl): Optionally dispatch to lightweight.
12055         (addNotifyContainerChildren): Build LightweightDispatcher.
12056
12057 2004-01-07  David Jee  <djee@redhat.com>
12058
12059         * java/awt/Container.java
12060         (update): Clear only the clipped region, instead of clearing the
12061         entire Container.
12062         (visitChildren): Visit children in descending order.
12063
12064 2004-01-07  Michael Koch  <konqueror@gmx.de>
12065
12066         * java/lang/reflect/Array.java: Merged documentation with classpath.
12067
12068 2004-01-07  Michael Koch  <konqueror@gmx.de>
12069
12070         * java/text/CollationElementIterator.java
12071         (textIndex): Renamed from index.
12072         * java/text/CollationKey.java
12073         (collator): New member.
12074         (CollationKey): New argument for parent collator.
12075         (equals): Check for same collator, source string and key array.
12076         * java/text/RuleBasedCollator.java:
12077         Reformated.
12078         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12079         value.
12080         (getCollationElementIterator): Rewritten.
12081         (getCollationKey): Added new argument to CollationKey constructor.
12082
12083 2004-01-07  Michael Koch  <konqueror@gmx.de>
12084
12085         * gnu/java/nio/DatagramChannelImpl.java
12086         (blocking): Removed.
12087         (DatagramChannelImpl): Call configureBlocking().
12088         (implConfigureBlocking): Dont initialize blocking.
12089         * gnu/java/nio/ServerSocketChannelImpl.java
12090         (blocking): Removed.
12091         (ServerSocketChannelImpl): Call configureBlocking().
12092         (implConfigureBlocking): Dont initialize blocking.
12093         * gnu/java/nio/SocketChannelImpl.java
12094         (blocking): Removed.
12095         (SocketChannelImpl): Call configureBlocking().
12096         (implConfigureBlocking): Dont initialize blocking.
12097         (connect): Use isBlocking().
12098         * java/nio/channels/spi/AbstractSelectableChannel.java
12099         (configureBlocking): Use blockingLock() instead of LOCK.
12100         Set blocking after successfully called implConfigureBlocking().
12101         (register): Use blockingLock() instead of LOCK.
12102
12103 2004-01-07  Michael Koch  <konqueror@gmx.de>
12104
12105         * java/net/ServerSocket.java (isBound): Fixed documentation.
12106
12107 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12108
12109         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12110         (changeEvent): Create event object on demand.
12111         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12112         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12113         fireStateChanged): Re-written.
12114         * javax/swing/event/EventListenerList.java: Reformatted, document
12115         typical usage.
12116         (toString): Implemented.
12117         (getListeners): Re-written.
12118         (remove): Re-written.
12119         (add): Re-written.
12120         (NO_LISTENERS): New singleton field.
12121         (listenerList): Declare as transient; document.
12122         (serialVersionUID): Document.
12123         (getListenerCount(Class)): More efficient implementation,
12124         also accepts null argument.  Improve Javadoc.
12125         (getListenerCount()): Remove unnecessary cast; docfix.
12126         * javax/swing/undo/UndoableEditSupport.java:
12127         Re-format, document.
12128         (UndoableEditSupport): Set realSource field. Improve documentation.
12129         (_postEdit): Iterate over cloned listener vector.
12130         (toString): Don't emit realSource.
12131         (beginUpdate, endUpdate): Support nested updates.
12132         (postEdit): Use compound edit if present.
12133
12134 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12135
12136         * java/awt/Container.java (swapComponents): Add forgotten
12137         function, required for JLayeredPane change.
12138
12139 2004-01-06  Michael Koch  <konqueror@gmx.de>
12140
12141         * java/text/CollationElementIterator.java: Reformated.
12142         (CollationElementIterator): Changed order of arguments.
12143         * java/text/RuleBasedCollator.java
12144         (RuleBasedCollator): Merged class documentation.
12145         (CollationElement): Added documentation.
12146         (compare): Reformated, renamed arguments.
12147         (equals): Likewise.
12148         (getCollationElementIterator): Likewise.
12149         (getCollationKey): Likewise.
12150
12151 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12152
12153         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12154
12155 2004-01-06  Michael Koch  <konqueror@gmx.de>
12156
12157         * gnu/java/net/protocol/file/Connection.java:
12158         Reformated copyright.
12159         (hdrHash): Removed.
12160         (hdrVec): Removed.
12161         (gotHeaders): Removed.
12162         (getHeaderField): Removed.
12163         (getHeaderField): Removed.
12164         (getHeaderFieldKey): Removed.
12165         (getKey): Removed.
12166         (getField): Removed.
12167         (getHeaders): Removed.
12168
12169 2004-01-06  Michael Koch  <konqueror@gmx.de>
12170
12171         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12172         javax/print/attribute/standard/DateTimeAtCreation.java,
12173         javax/print/attribute/standard/DateTimeAtProcessing.java,
12174         javax/print/attribute/standard/JobImpressionsCompleted.java,
12175         javax/print/attribute/standard/JobKOctets.java,
12176         javax/print/attribute/standard/JobKOctetsProcessed.java,
12177         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12178         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12179         * Makefile.am (javax_source_files): Added new files.
12180         * Makefile.in: Regenerated.
12181
12182 2004-01-06  Michael Koch  <konqueror@gmx.de>
12183
12184         * java/net/URLConnection.java
12185         (contentHandler): Removed.
12186         (locale): Removed.
12187         (getHeaderFields): Return an empty map instead of null.
12188         (getContent): Connect if needed, renamed "cType" to "type" and
12189         "contentHandler" to "ch" and made it a local variable.
12190         (getPermission): Don't use package in class name.
12191         (setDefaultRequestProperty): Fixed typo in documentation.
12192         (initializeDateFormats): Made locale a local variable.
12193
12194 2004-01-06  Michael Koch  <konqueror@gmx.de>
12195
12196         * java/lang/Package.java
12197         (getPackage): Get the current class loader directly.
12198         * java/lang/SecurityManager.java
12199         (currentLoadedClass): Dont iterate over class contexts.
12200         (classLoaderDepth): Don't check class loaders if everything is allowed.
12201
12202 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12203
12204         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12205         (pre_event_handler): Set all insets to 0 when a Configure event
12206         is received for a GtkPlug.
12207         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12208         Make handle long, not int.
12209         (EmbeddedWindow()): New constructor.
12210         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12211         long, not int.
12212         (setHandle): New method.
12213         (getHandle): Return long, not int.
12214         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12215         declaration.
12216         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12217         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12218         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12219         argument to GdkNativeWindow.
12220         (construct): New method.
12221         (embed): New method.
12222
12223         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12225         (create(int, int)): New method.
12226         (create): Call new create method.
12227         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12228         methods.
12229         (childResized): Remove native implementation.  Implement in
12230         Java.
12231         (getHScrollbarHeight, getVScrollbarWidth): Call
12232         gtk_widget_size_request to get scrollbar dimensions.
12233         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12234         call getVScrollbarWidth and getHScrollbarHeight when vertical
12235         and horizontal scrollbars respectively are needed.
12236         (doLayout): Enlarge child if it is smaller than the viewport.
12237
12238 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12239
12240         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12241         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12242         argument as per spec.
12243
12244 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12245
12246         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12247         (insert): Ditto.
12248         (remove): Ditto.  Also, Check for valid argument.
12249         (removeAll): Use peer interface method.
12250         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12251         native add function.
12252         (nativeRemove): New name for native remove function.
12253         (getHistory): New native function.
12254         (constructor): Generate ItemEvent.
12255         (add): Ditto, if selection is changed.
12256         (remove): Ditto, ditto.
12257         (removeAll): Add implementation.
12258         (handleEvent): Remove.  Dead code.
12259         (choicePostItemEvent): Add comment.
12260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12261         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12262         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12263         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12264         comments and fix condition to change selection.
12265         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12266         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12267         remove all capability.
12268         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12269         (item_activate): Add cast to remove compiler warning.
12270
12271 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12272
12273         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12274         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12275         (getPreferredSize): Call preferredSize.
12276         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12277         (getMinimumSize): Call minimumSize.
12278         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12279         (gtkWidgetGetDimensions): Return the peer widget's current size
12280         request.
12281         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12282         natural size request.
12283
12284 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12285
12286         Thanks to Brian Gough <bjg@network-theory.com>
12287         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12288         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12289
12290 2004-01-04  Matthias Klose  <doko@debian.org>
12291
12292         * aclocal.m4: Rebuilt using "aclocal -I .".
12293         * configure: Rebuilt.
12294
12295 2004-01-03  Per Bothner  <per@bothner.com>
12296
12297         * java/util/Date.java (parse):  Fix a number of problems.
12298         (skipParens):  Remove no-longer-needed method.
12299