OSDN Git Service

* src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr instead
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
2
3         * configure.host: Enable the interpreter for mips*-*-linux*.
4
5 2004-11-23  Michael Koch  <konqueror@gmx.de>
6
7         * java/lang/String.java (rehash): Removed.
8         * java/lang/natString.cc (rehash): Made static.
9         (_Jv_NewStringUtf8Const): Use static rehash method.
10
11 2004-11-23  Michael Koch  <konqueror@gmx.de>
12
13         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
14         include/Makefile.in, testsuite/Makefile.in: Regenerated.
15
16 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
17
18         PR target/18444
19         * configure.ac (threading): Accept 'posix95'.
20         * configure: Regenerate.
21
22 2004-11-22  Michael Koch  <konqueror@gmx.de>
23
24         * gnu/java/nio/SocketChannelImpl.java
25         (read): Made check for blocking un-ambiguous.
26         Removed wrong check for data array length.
27
28 2004-11-21  Michael Koch  <konqueror@gmx.de>
29
30         * gnu/java/nio/SocketChannelImpl.java
31         (read): Only return 0 when no bytes for reading available in
32         non-blocking mode.
33         * java/nio/channels/SocketChannel.java:
34         Added some missing @return tags.
35
36 2004-11-21  Michael Koch  <konqueror@gmx.de>
37
38         * java/beans/PropertyChangeSupport.java
39         (propertyChangeSupportSerializedDataVersion): Made static.
40         * java/beans/VetoableChangeSupport.java
41         (propertyChangeSupportSerializedDataVersion): Likewise.
42
43 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
44
45         * java/net/URLStreamHandler.java
46         (parseURL): Fixed file path canonicalisation.
47
48 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
49
50         * java/net/URLStreamHandler.java
51         (parseURL): Fixed file path canonicalisation.
52
53 2004-11-18  Michael Koch  <konqueror@gmx.de>
54
55         * java/net/URLClassLoader.java: Whitespace cleanup.
56
57 2004-11-18  Robert Schuster <address@bogus.example.com>
58
59         Complete 1.4 support
60         * java/beans/PropertyDescriptor.java:
61         (setReadMethod): New method
62         (setWriteMethod): New method
63         (equals): Implemented (1.4)
64         (checkMethods): operates on arguments now (private)
65
66
67 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
68
69         * java/net/Inet6Address.java (getHostAddress): Fix textual
70         representation of IPv6 address with embedded zeroes
71         to conform to RFC 2373.
72
73 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
74
75         * java/lang/StackTraceElement.java: Made final.
76         * java/nio/channels/Channels.java: Added private constructor.
77         * java/rmi/Naming.java: Added private constructor.
78         * java/rmi/registry/LocateRegistry.java: Added private constructor.
79         * java/rmi/server/RMIClassLoader.java: Added private constructor.
80         * java/security/KeyPairGeneratorSpi.java
81         (clone): Made protected and simplified implementation.
82         * java/text/DateFormat.java
83         (allFields): Made package accessible.
84         * java/text/DecimalFormat.java
85         (formatInternal): Made private.
86         * java/text/Format.java
87         (formatInternal): Made private.
88         * java/util/logging/Handler.java: Made constructor protected.
89         * java/util/regex/Matcher.java: Made final.
90         * java/util/regex/Pattern.java: Made final.
91         * javax/crypto/CipherInputStream.java
92         (mark): Corrected mark parameter type (from long to int).
93         * javax/crypto/ExemptionMechanism.java
94         (finalize): Added.
95         * javax/crypto/Mac.java
96         (getMacLength): Made final.
97         (clone): Made final.
98         * javax/imageio/ImageIO.java: Added private constructor.
99         * javax/imageio/stream/ImageInputStreamImpl.java
100         (checkClosed): Made final.
101         * javax/net/ssl/SSLPermission.java: Made final.
102         * javax/print/DocFlavor.java
103         (hostEncoding): Added work-around to prevent the field from being
104         a compile time constant.
105         * javax/print/attribute/AttributeSetUtilities.java: Added private
106         constructor.
107         (UnmodifiableDocAttributeSet): Made private.
108         (UnmodifiablePrintJobAttributeSet): Made private.
109         (UnmodifiablePrintRequestAttributeSet): Made private.
110         (UnmodifiablePrintServiceAttributeSet): Made private.
111         (SynchronizedAttributeSet): Made private.
112         (SynchronizedDocAttributeSet): Made private.
113         (SynchronizedPrintJobAttributeSet): Made private.
114         (SynchronizedPrintRequestAttributeSet): Made private.
115         (SynchronizedPrintServiceAttributeSet): Made private.
116         * javax/security/auth/PrivateCredentialPermission.java: Made final.
117
118 2004-11-18  Craig Black  <craig.black@aonix.com>
119
120         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
121
122 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
123
124         * Makefile.am: Correct friend function declaration.
125         * Makefile.in: Regenerated.
126         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
127         scope to function names.  Declare functions directly.
128         * libjava/java/lang/Class.h
129         (java::lang::Class): Correct friend class declaration.
130         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
131         scope.
132         * libjava/java/lang/Class.h
133         (java::lang::Object): Correct friend class declaration.
134
135 2004-11-17  David Daney  <ddaney@avtrex.com>
136
137         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
138
139 2004-11-17  Michael Koch  <konqueror@gmx.de>
140
141         * java/net/Socket.java (getPort): Return 0 in error case.
142
143 2004-11-17  Michael Koch  <konqueror@gmx.de>
144
145         *  java/nio/DirectByteBufferImpl.java
146         (owner): Updated comment.
147         (allocate): New method.
148
149 2004-11-17  Michael Koch  <konqueror@gmx.de>
150
151         * java/net/URL.java (URL): Handle case when argument is null.
152
153 2004-11-17  Michael Koch  <konqueror@gmx.de>
154
155         * java/beans/Beans.java,
156         java/beans/PropertyChangeEvent.java,
157         java/beans/PropertyEditorSupport.java:
158         Fixed javadocs.
159
160 2004-11-17  Michael Koch  <konqueror@gmx.de>
161
162         * java/util/Timer.java (DEFAULT_SIZE): Made static.
163
164 2004-11-17  Michael Koch  <konqueror@gmx.de>
165
166         * java/net/InetAddress.java (getCanonicalHostName):
167         Support IPv6 addresses.
168
169 2004-11-16  Michael Koch  <konqueror@gmx.de>
170
171         * java/lang/Object.java: Added javadocs all over (merged from GNU
172         classpath).
173
174 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
175
176         * java/security/Security.java (Security): Silence the warning about no
177         providers found in the no debug case.
178
179 2004-11-16  Michael Koch  <konqueror@gmx.de>
180
181         * java/net/InetAddress.java
182         (toString): Merged from GNU classpath.
183
184 2004-11-16  Michael Koch  <konqueror@gmx.de>
185
186         * java/awt/geom/doc-files/Area-1.png,
187         java/awt/geom/doc-files/Ellipse-1.png,
188         java/awt/geom/doc-files/GeneralPath-1.png:
189         New files.
190
191 2004-11-16  Michael Koch  <konqueror@gmx.de>
192
193         * java/util/Currency.java (cache): Fix modifier order.
194
195 2004-11-16  Michael Koch  <konqueror@gmx.de>
196
197         * java/io/BufferedReader.java,
198         java/io/FileInputStream.java,
199         java/io/FileOutputStream.java,
200         java/io/FileWriter.java,
201         java/io/OutputStreamWriter.java,
202         java/io/PipedInputStream.java,
203         java/io/PipedOutputStream.java,
204         java/io/PipedReader.java,
205         java/io/PipedWriter.java,
206         java/io/PrintStream.java,
207         java/io/PushbackInputStream.java,
208         java/io/RandomAccessFile.java,
209         java/io/Reader.java,
210         java/io/StreamTokenizer.java,
211         java/io/StringReader.java,
212         java/net/NetworkInterface.java,
213         java/net/URLClassLoader.java,
214         java/nio/ByteOrder.java,
215         java/nio/channels/Channel.java:
216         Fixed javadocs all over.
217
218 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
219
220         * Makefile.am: Add imported files.
221         * Makefile.in: Regenerate.
222
223         2004-10-24  Casey Marshall  <csm@gnu.org>
224
225         * javax/security/auth/login/LoginContext.java: Implemented.
226         * javax/security/auth/login/Configuration.java (getConfig): New method.
227         * javax/security/auth/spi/LoginModule.java,
228         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
229
230 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
231
232         Import/Merge the X.509 certificate code from Classpath.
233
234         * Makefile.am: Add imported files.
235         * Makefile.in: Regenerate.
236
237         2004-11-07  Casey Marshall  <csm@gnu.org>
238
239         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
240         priviliged action. Add new algorithms.
241         * gnu/java/security/provider/X509CertificateFactory.java
242         (engineGenerateCertificate): Chain exceptions.
243         (engineGenerateCertificates): Likewise.
244         (engineGenerateCRL): Likewise.
245         (engineGenerateCRLs): Likewise.
246         (engineGenerateCertPath): New methods.
247         (generateCert): Throw exception if 'inStream' is null.
248         (generateCRL): Likewise.
249         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
250         version from GNU Crypto CVS.
251         * gnu/java/security/x509/X509CRL.java: Likewise.
252         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
253         * gnu/java/security/x509/X509Certificate.java: Likewise.
254         * java/security/cert/TrustAnchor.java: Call 'toString' and not
255         toRFC2253.
256         * gnu/java/security/provider/CollectionCertStoreImpl.java,
257         * gnu/java/security/provider/EncodedKeyFactory.java,
258         * gnu/java/security/provider/GnuDHPublicKey.java,
259         * gnu/java/security/provider/GnuRSAPrivateKey.java,
260         * gnu/java/security/provider/GnuRSAPublicKey.java,
261         * gnu/java/security/provider/MD2withRSA.java,
262         * gnu/java/security/provider/MD4withRSA.java,
263         * gnu/java/security/provider/MD5withRSA.java,
264         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
265         * gnu/java/security/provider/RSA.java,
266         * gnu/java/security/provider/RSAKeyFactory.java,
267         * gnu/java/security/provider/SHA1withRSA.java,
268         * gnu/java/security/x509/GnuPKIExtension.java,
269         * gnu/java/security/x509/PolicyNodeImpl.java,
270         * gnu/java/security/x509/Util.java,
271         * gnu/java/security/x509/X509CRLSelectorImpl.java,
272         * gnu/java/security/x509/X509CertPath.java,
273         * gnu/java/security/x509/X509CertSelectorImpl.java,
274         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
275         * gnu/java/security/x509/ext/BasicConstraints.java,
276         * gnu/java/security/x509/ext/CRLNumber.java,
277         * gnu/java/security/x509/ext/CertificatePolicies.java,
278         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
279         * gnu/java/security/x509/ext/Extension.java,
280         * gnu/java/security/x509/ext/GeneralNames.java,
281         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
282         * gnu/java/security/x509/ext/KeyUsage.java,
283         * gnu/java/security/x509/ext/PolicyConstraint.java,
284         * gnu/java/security/x509/ext/PolicyMappings.java,
285         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
286         * gnu/java/security/x509/ext/ReasonCode.java,
287         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
288         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
289
290         2004-11-07  Casey Marshall  <csm@gnu.org>
291
292         * gnu/java/security/x509/X509CRL.java:
293         Missed import statements in previous checkin.
294
295         2004-11-07  Casey Marshall  <csm@gnu.org>
296
297         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
298         to 'X509CertificateImpl' from previous checkin.
299
300 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
301
302         PR other/14264
303         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
304
305 2004-11-11  Casey Marshall  <csm@gnu.org>
306
307         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
308         channel is open.
309         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
310         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
311
312 2004-11-11  Robert Schuster <thebohemian@gmx.net>
313
314         Fixed regression:
315         * gnu/java/beans/IntrospectionIncubator.java:
316         (addMethod): Corrected classification of normal and property methods.
317         (capitalize): Added documentation.
318         (DoubleKey): [class] Added documentation.
319
320 2004-11-09  Tom Tromey  <tromey@redhat.com>
321
322         * include/jni.h: Added FIXME.
323
324 2004-11-08  Tom Tromey  <tromey@redhat.com>
325
326         * java/util/GregorianCalendar.java: Removed unused imports.
327         * java/util/Vector.java: Removed unused import.
328
329 2004-11-07  Michael Koch  <konqueror@gmx.de>
330
331         * java/lang/Process.java:
332         Import cleanups.
333
334 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
335
336         * java/util/zip/ZipEntry.java
337         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
338
339 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
340
341         Fixes bug #10908
342         * gnu/java/beans/IntrospectionIncubator.java:
343         (addMethod): static methods are discarded now, too.
344
345 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
346
347         * java/util/GregorianCalendar.java
348         Added/amended documentation.
349
350 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
351
352         * java/util/Collections.java
353         Added documentation.
354         * java/util/SortedMap.java
355         Clarified some method examples.
356         * java/util/SortedSet.java
357         Clarified some method examples.
358
359 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
360
361         * java/util/Currency.java
362         Documented variables and methods more fully.
363         Caches the currency instances, so that a request
364         for a locale, l, only ever returns the same
365         instance (i.e. successive calls to getInstance(l)
366         are reference equivalent (==)).
367
368 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
369
370         * java/util/Date.java
371         Added missing documentation.
372
373 2004-11-06  Michael Koch  <konqueror@gmx.de>
374
375         * java/util/zip/CheckedInputStream.java,
376         java/util/zip/InflaterInputStream.java,
377         java/util/zip/ZipFile.java,
378         java/util/zip/ZipInputStream.java:
379         Import cleanups.
380
381 2004-11-06  Tom Tromey  <tromey@redhat.com>
382
383         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
384         package-private.
385         (connections): Likewise.
386         (scavenger): Likewise.
387         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
388         package-private.
389         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
390         package-private.
391         (ptr): Likewise.
392         * gnu/classpath/ServiceFactory.java (log): Now package-private.
393
394 2004-11-06  Tom Tromey  <tromey@redhat.com>
395
396         * javax/naming/directory/BasicAttributes.java (attributes): Now
397         package-private.
398         * javax/imageio/spi/ServiceRegistry.java (categories): Now
399         package-private.
400
401 2004-11-06  Tom Tromey  <tromey@redhat.com>
402
403         * java/net/URLClassLoader.java (URLClassLoader): Now
404         package-private.
405         * java/nio/charset/CoderResult.java (CoderResult): Now
406         package-private.
407         (get): Likewise.
408         (Cache): Likewise.  Don't synchronize on `this'.
409         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
410         package-private.
411         * java/util/TimeZone.java (timezones): Now package-private.
412
413 2004-11-06  Tom Tromey  <tromey@redhat.com>
414
415         * java/security/Permissions.java (perms): Now package-private.
416         * java/security/UnresolvedPermission.java (permissions): Now
417         package-private.
418
419 2004-11-06  Tom Tromey  <tromey@redhat.com>
420
421         * java/io/FilePermission.java: Reindented.
422
423 2004-11-06  Tom Tromey  <tromey@redhat.com>
424
425         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
426         package-private.
427         (setBlockDataMode): Likewise.
428
429 2004-11-06  Tom Tromey  <tromey@redhat.com>
430
431         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
432         package-private.
433         (Encoder): Likewise.
434         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
435         (Encoder): Likewise.
436         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
437         package-private.
438         (Encoder): Likewise.
439
440 2004-11-06  Mark Wielaard  <mark@klomp.org>
441
442         * Makefile.am: Add new javax.imageio files.
443         * Makefile.in: Regenerated.
444
445 2004-11-06  Michael Koch  <konqueror@gmx.de>
446
447         * javax/imageio/event/IIOReadProgressListener.java,
448         javax/imageio/event/IIOReadUpdateListener.java,
449         javax/imageio/event/IIOReadWarningListener.java,
450         javax/imageio/event/IIOWriteProgressListener.java,
451         javax/imageio/event/IIOWriteWarningListener.java,
452         javax/imageio/metadata/IIOMetadataFormat.java,
453         javax/imageio/stream/FileCacheImageInputStream.java,
454         javax/imageio/stream/FileCacheImageOutputStream.java,
455         javax/imageio/stream/ImageInputStreamImpl.java:
456         Import cleanup.
457         * javax/imageio/metadata/package.html: New file.
458
459 2004-11-06  Michael Koch  <konqueror@gmx.de>
460
461         * javax/imageio/spi/ImageReaderSpi.java
462         (isOwnReader): New method.
463         * javax/imageio/spi/ImageWriterSpi.java
464         (isOwnWriter): Likewise.
465
466 2004-11-06  Michael Koch  <konqueror@gmx.de>
467
468         * javax/imageio/ImageWriter.java
469         (convertImageMetadata): New abstract method.
470         (convertStreamMetadata): Likewise.
471         (write): Likewise.
472         * javax/imageio/stream/FileCacheImageInputStream.java
473         (close): Fixed setting of stream to null.
474         (checkStreamClosed): Throws IOException.
475
476 2004-11-06  Michael Koch  <konqueror@gmx.de>
477
478         * javax/imageio/stream/FileCacheImageInputStream.java,
479         javax/imageio/stream/FileCacheImageOutputStream.java,
480         javax/imageio/stream/FileImageInputStream.java,
481         javax/imageio/stream/FileImageOutputStream.java,
482         javax/imageio/stream/MemoryCacheImageInputStream.java,
483         javax/imageio/stream/MemoryCacheImageOutputStream.java:
484         New files.
485
486 2004-11-06  Michael Koch  <konqueror@gmx.de>
487
488         * javax/imageio/metadata/IIOInvalidTreeException.java,
489         javax/imageio/metadata/IIOMetadataFormatImpl.java,
490         javax/imageio/metadata/IIOMetadataNode.java:
491         New stub files.
492
493 2004-11-06  Michael Koch  <konqueror@gmx.de>
494
495         * javax/imageio/stream/ImageInputStreamImpl.java,
496         javax/imageio/stream/ImageOutputStreamImpl.java:
497         New files.
498
499 2004-11-06  Michael Koch  <konqueror@gmx.de>
500
501         * javax/imageio/ImageIO.java:
502         Added much new methods.
503
504 2004-11-06  Michael Koch  <konqueror@gmx.de>
505
506         * javax/imageio/ImageReader.java,
507         javax/imageio/ImageWriter.java,
508         javax/imageio/spi/ImageWriterSpi.java:
509         Add SOME new methods.
510
511 2004-11-06  Michael Koch  <konqueror@gmx.de>
512
513         * javax/imageio/IIOParam.java,
514         javax/imageio/ImageReadParam.java,
515         javax/imageio/ImageReader.java,
516         javax/imageio/ImageWriter.java:
517         Mostly implemented.
518         * javax/imageio/spi/ImageReaderSpi.java,
519         javax/imageio/spi/ImageWriterSpi.java:
520         New files.
521
522 2004-11-06  Michael Koch  <konqueror@gmx.de>
523
524         * javax/imageio/ImageWriteParam.java,
525         javax/imageio/metadata/IIOMetadataFormat.java:
526         Implemented.
527
528 2004-11-06  Michael Koch  <konqueror@gmx.de>
529
530         * javax/imageio/ImageTypeSpecifier.java:
531         Mostly implemented.
532
533 2004-11-06  Michael Koch  <konqueror@gmx.de>
534
535         * javax/imageio/metadata/IIOMetadata.java:
536         Mostly implemented.
537
538 2004-11-06  Michael Koch  <konqueror@gmx.de>
539
540         * javax/imageio/IIOImage.java,
541         javax/imageio/ImageReadParam.java,
542         javax/imageio/metadata/IIOMetadataController.java,
543         javax/imageio/metadata/IIOMetadataFormat.java:
544         New files.
545         * javax/imageio/stream/ImageOutputStream.java:
546         Implemented.
547
548 2004-11-06  Michael Koch  <konqueror@gmx.de>
549
550         * javax/imageio/IIOParam.java,
551         javax/imageio/IIOParamController.java,
552         javax/imageio/ImageTypeSpecifier.java,
553         javax/imageio/ImageWriteParam.java,
554         javax/imageio/metadata/IIOMetadata.java:
555         New files.
556         * javax/imageio/ImageTranscoder.java:
557         Implemented.
558
559 2004-11-06  Michael Koch  <konqueror@gmx.de>
560
561         * javax/imageio/spi/ImageInputStreamSpi.java,
562         javax/imageio/spi/ImageOutputStreamSpi.java:
563         Reworked import startments.
564         * javax/imageio/spi/ServiceRegistry.java:
565         Reworked import startments. Fixed XHTML in javadocs.
566         (ServiceRegistry): Added @param tag to javadoc.
567         * javax/imageio/stream/ImageInputStream.java
568         (mark): Doesn't throws IOException;
569
570 2004-11-06  Michael Koch  <konqueror@gmx.de>
571
572         * javax/imageio/ImageIO.java:
573         New file.
574
575 2004-11-06  Michael Koch  <konqueror@gmx.de>
576
577         * javax/imageio/spi/IIORegistry.java
578         (static): Don't register ImageReaderSpi.class and
579         ImageWriterSpi.class yet.
580
581 2004-11-06  Michael Koch  <konqueror@gmx.de>
582
583         * javax/imageio/spi/IIORegistry.java:
584         New file.
585
586 2004-11-06  Noa Resare  <noa@resare.com>
587
588         * java/net/Socket.java (getPort): Return 0 instead of -1 on
589         unconnected sockets.
590
591 2004-11-06  Michael Koch  <konqueror@gmx.de>
592
593         * java/lang/StringBuffer.java,
594         java/lang/Throwable.java,
595         java/security/spec/DSAParameterSpec.java,
596         java/util/zip/ZipEntry.java,
597         java/util/zip/ZipFile.java,
598         java/util/zip/ZipInputStream.java,
599         java/util/zip/ZipOutputStream.java:
600         Removed redundant and reordered modifiers.
601
602 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
603
604         * java/io/Vector.java
605         (writeObject): New function to serialized output thread safe.
606
607         * java/io/ObjectOutputStream.java
608         (writeObject): Move the assignment of the class handle to after
609         the assignment of class descriptor handle.
610
611 2004-11-06  Robert Schuster <thebohemian@gmx.net>
612
613         Fixes documentation and indentation
614         * java/beans/PropertyEditorSupport.java:
615         reworked initial API doc
616         (value): changed name from val
617
618 2004-11-06  Robert Schuster <thebohemian@gmx.net>
619
620         Updates to 1.5
621         * java/beans/PropertyEditorSupport.java
622         (PropertyEditorSupport()): Changed modifier to public
623         (PropertyEditorSupport(Object): Changed modifier to public
624         (setSource): New method
625         (getSource): New method
626
627 2004-11-06  Robert Schuster <thebohemian@gmx.net>
628
629         Fixes bug #10799
630         * java/beans/PropertyEditorSupport.java
631         (setValue): Fire property change event
632
633 2004-11-03  Tom Tromey  <tromey@redhat.com>
634
635         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
636         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
637         returns jobjectArray.
638         (_Jv_JNIEnv::NewObjectArray): Likewise.
639
640 2004-11-01  Tom Tromey  <tromey@redhat.com>
641
642         * verify.cc (state::check_no_uninitialized_objects): Removed.
643         (push_jump): Updated.
644         (push_exception_jump): Likewise.
645         (handle_ret_insn): Likewise.
646         (handle_jsr_insn): Likewise.
647
648 2004-10-30  Mark Wielaard  <mark@klomp.org>
649
650         PR libgcj/18234
651         * java/lang/Runtime.java (static): Call init().
652         (Runtime): Remove call to init().
653         (init): Make static.
654
655 2004-10-28  David Daney  <ddaney@avtrex.com>
656
657         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
658         * Makefile.am: Build it.
659         * Makefile.in: Regenerate.
660
661 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
662
663         PR libgcj/18104
664         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
665         colon.
666         * Makefile.in: Regenerate.
667         * configure: Regenerate.
668         * configure.ac (CLASSPATH_SEPARATOR): Define.
669         * gcj/Makefile.in: Regenerate.
670         * include/Makefile.in: Regenerate.
671         * testsuite/Makefile.in: Regenerate.
672         * testsuite/lib/libjava.exp (libjava_arguments): Fix
673         CLASSPATH separator handling for Windows.
674
675 2004-10-26  Michael Koch  <konqueror@gmx.de>
676
677         * gnu/java/net/protocol/http/Connection.java
678         (getOutputStream): Implicitely switch to POST method.
679
680 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
681
682         * libjava/java/lang/Class.h
683         (java::lang::Class): Correct friend class declaration.
684
685 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
686
687         * Makefile.am (DARWIN_CRT_SRC): New.
688         (libgcj_la_SOURCES): Use it.
689         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
690         * darwin.cc: New file.
691         * include/jvm.h (_Jv_RegisterClasses): Constify.
692         (_Jv_RegisterClasses_Counted): New prototype.
693         * java/lang/Class.h: Include stddef.h.  
694         (_Jv_RegisterClasses): Constify.
695         (_Jv_RegisterClasses_Counted): New prototype.
696         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
697         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
698         (_Jv_RegisterClasses_Counted): New function.
699         * configure: Regenerate.
700         * Makefile.in: Regenerate.
701         * gcj/Makefile.in: Regenerate.
702         * include/Makefile.in: Regenerate.
703         * testsuite/Makefile.in: Regenerate.
704
705 2004-10-25  Tom Tromey  <tromey@redhat.com>
706
707         * java/util/ResourceBundle.java (tryBundle): Use
708         Class.isAssignableFrom rather than catching ClassCastException.
709
710 2004-10-25  Tom Tromey  <tromey@redhat.com>
711
712         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
713         initialize `iter'.
714         * gnu/java/text/SentenceBreakIterator.java
715         (SentenceBreakIterator): Don't initialize `iter'.
716         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
717         initialize `iter'.
718         * gnu/java/text/CharacterBreakIterator.java
719         (CharacterBreakIterator): Don't initialize `iter'.
720         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
721         constructor.
722         * java/text/BreakIterator.java: Updated documentation.
723
724 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
725
726         PR other/18138
727         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
728
729 2004-10-23  Michael Koch  <konqueror@gmx.de>
730
731         * javax/print/DocFlavor.java,
732         javax/print/attribute/standard/JobStateReason.java,
733         javax/print/attribute/standard/MultipleDocumentHandling.java:
734         Added missing constants.
735
736 2004-10-22  Tom Tromey  <tromey@redhat.com>
737
738         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
739         typo.
740
741 2004-10-22  Michael Koch  <konqueror@gmx.de>
742
743         PR libjava/14009
744         * gnu/java/net/protocol/http/Connection.java
745         (sendRequest): Handle case when url.getFile() returns an empty string.
746
747 2004-10-22  Michael Koch  <konqueror@gmx.de>
748
749         * java/lang/Math.java,
750         java/lang/StackTraceElement.java,
751         java/nio/Buffer.java,
752         java/nio/ByteBuffer.java,
753         java/nio/CharBuffer.java,
754         java/nio/DoubleBuffer.java,
755         java/nio/FloatBuffer.java,
756         java/nio/IntBuffer.java,
757         java/nio/LongBuffer.java,
758         java/nio/ShortBuffer.java,
759         java/nio/charset/Charset.java,
760         java/rmi/server/RMIClassLoader.java,
761         java/rmi/server/RMISocketFactory.java,
762         java/security/Policy.java,
763         java/text/ChoiceFormat.java,
764         java/text/CollationElementIterator.java,
765         java/text/DateFormat.java,
766         java/text/DecimalFormat.java,
767         java/text/DecimalFormatSymbols.java,
768         java/text/MessageFormat.java,
769         java/text/NumberFormat.java,
770         java/text/RuleBasedCollator.java,
771         java/text/SimpleDateFormat.java,
772         java/util/BitSet.java,
773         java/util/Calendar.java,
774         java/util/Collections.java,
775         java/util/IdentityHashMap.java,
776         java/util/Locale.java,
777         java/util/TreeMap.java,
778         java/util/logging/LogRecord.java,
779         java/util/logging/XMLFormatter.java,
780         java/util/prefs/AbstractPreferences.java,
781         java/util/prefs/Preferences.java,
782         javax/crypto/interfaces/DHPrivateKey.java,
783         javax/crypto/interfaces/DHPublicKey.java,
784         javax/crypto/interfaces/PBEKey.java,
785         javax/net/ssl/HandshakeCompletedEvent.java,
786         javax/security/auth/Subject.java:
787         Removed redundant and reordered modifiers.
788
789 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
790
791         * gnu/java/net/natPlainSocketImplPosix.cc
792         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
793         with 'int *' argument instead of 'long *'.
794
795 2004-10-21  Michael Koch  <konqueror@gmx.de>
796
797         * java/net/NetworkInterface.java,
798         java/text/Format.java,
799         javax/security/auth/x500/X500Principal.java,
800         javax/security/auth/x500/X500PrivateCredential.java,
801         javax/security/cert/X509CertBridge.java,
802         javax/security/sasl/Sasl.java,
803         javax/sql/XAConnection.java:
804         Import cleanup.
805
806 2004-10-21  Michael Koch  <konqueror@gmx.de>
807
808         * javax/net/ssl/HandshakeCompletedEvent.java,
809         javax/net/ssl/KeyManagerFactory.java,
810         javax/net/ssl/SSLContext.java,
811         javax/net/ssl/SSLServerSocketFactory.java,
812         javax/net/ssl/SSLSession.java,
813         javax/net/ssl/SSLSocketFactory.java,
814         javax/net/ssl/TrustManagerFactory.java:
815         Import cleanup.
816
817 2004-10-21  Michael Koch  <konqueror@gmx.de>
818
819         * javax/naming/directory/BasicAttribute.java,
820         javax/naming/directory/BasicAttributes.java,
821         javax/naming/directory/InitialDirContext.java,
822         javax/naming/event/NamingEvent.java,
823         javax/naming/ldap/ControlFactory.java,
824         javax/naming/ldap/ExtendedRequest.java,
825         javax/naming/ldap/InitialLdapContext.java,
826         javax/naming/ldap/LdapReferralException.java,
827         javax/naming/spi/DirObjectFactory.java,
828         javax/naming/spi/DirStateFactory.java,
829         javax/naming/spi/DirectoryManager.java,
830         javax/naming/spi/InitialContextFactory.java,
831         javax/naming/spi/InitialContextFactoryBuilder.java,
832         javax/naming/spi/NamingManager.java,
833         javax/naming/spi/ObjectFactory.java,
834         javax/naming/spi/ObjectFactoryBuilder.java,
835         javax/naming/spi/StateFactory.java:
836         Import cleanup.
837
838 2004-10-21  Michael Koch  <konqueror@gmx.de>
839
840         * javax/crypto/Cipher.java,
841         javax/crypto/EncryptedPrivateKeyInfo.java,
842         javax/crypto/ExemptionMechanism.java,
843         javax/crypto/KeyAgreement.java,
844         javax/crypto/KeyGenerator.java,
845         javax/crypto/Mac.java,
846         javax/crypto/SecretKeyFactory.java,
847         javax/crypto/SecretKeyFactorySpi.java,
848         javax/crypto/spec/SecretKeySpec.java:
849         Import cleanup.
850
851 2004-10-21  Michael Koch  <konqueror@gmx.de>
852
853         * java/security/AlgorithmParameterGenerator.java,
854         java/security/AlgorithmParameters.java,
855         java/security/AlgorithmParametersSpi.java,
856         java/security/AllPermission.java,
857         java/security/BasicPermission.java,
858         java/security/Certificate.java,
859         java/security/CodeSource.java,
860         java/security/DigestInputStream.java,
861         java/security/DigestOutputStream.java,
862         java/security/GuardedObject.java,
863         java/security/KeyFactory.java,
864         java/security/KeyFactorySpi.java,
865         java/security/KeyPairGenerator.java,
866         java/security/KeyStore.java,
867         java/security/KeyStoreSpi.java,
868         java/security/Permissions.java,
869         java/security/Security.java,
870         java/security/Signature.java,
871         java/security/UnresolvedPermission.java,
872         java/security/cert/CertPathBuilder.java,
873         java/security/cert/CertPathValidator.java,
874         java/security/cert/CertStore.java,
875         java/security/cert/Certificate.java,
876         java/security/cert/CertificateFactory.java,
877         java/security/cert/PolicyQualifierInfo.java,
878         java/security/cert/TrustAnchor.java,
879         java/security/cert/X509CRL.java,
880         java/security/cert/X509CRLSelector.java,
881         java/security/cert/X509CertSelector.java:
882         Import cleanup.
883
884 2004-10-21  Michael Koch  <konqueror@gmx.de>
885
886         * java/rmi/MarshalledObject.java,
887         java/rmi/Naming.java,
888         java/rmi/activation/Activatable.java,
889         java/rmi/activation/ActivationGroup.java,
890         java/rmi/activation/ActivationGroupDesc.java,
891         java/rmi/activation/ActivationInstantiator.java,
892         java/rmi/activation/ActivationMonitor.java,
893         java/rmi/activation/ActivationSystem.java,
894         java/rmi/activation/Activator.java,
895         java/rmi/registry/LocateRegistry.java,
896         java/rmi/registry/Registry.java,
897         java/rmi/server/LogStream.java,
898         java/rmi/server/ObjID.java,
899         java/rmi/server/RMIClientSocketFactory.java,
900         java/rmi/server/RMIServerSocketFactory.java,
901         java/rmi/server/RMISocketFactory.java,
902         java/rmi/server/RemoteCall.java,
903         java/rmi/server/RemoteServer.java,
904         java/rmi/server/ServerRef.java,
905         java/rmi/server/UID.java,
906         java/rmi/server/UnicastRemoteObject.java:
907         Import cleanup.
908
909 2004-10-21  Tom Tromey  <tromey@redhat.com>
910
911         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
912         exception if we hit EOF of `in'.
913         (read): Handle case where inflating returns -1.
914
915 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
916
917         * gnu/java/nio/channels/natFileChannelPosix.cc
918         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
919         argument instead of 'long *'.
920
921 2004-10-21  Tom Tromey  <tromey@redhat.com>
922
923         * java/util/ResourceBundle.java (tryBundle): Also ignore
924         ClassCastException.
925
926 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
927
928         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
929         for all sh*-*-linux* targets.
930         * configure: Regenerate.
931         * include/sh-signal.h: New file.
932
933 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
934
935         * java/lang/ieeefp.h: Add m32r support.
936
937 2004-10-20  Andreas Schwab  <schwab@suse.de>
938
939         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
940         to uaddr, not int.
941         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
942         Likewise.
943
944 2004-10-20  Michael Koch  <konqueror@gmx.de>
945
946         * javax/print/attribute/standard/ColorSupported.java,
947         javax/print/attribute/standard/Compression.java,
948         javax/print/attribute/standard/Copies.java,
949         javax/print/attribute/standard/CopiesSupported.java,
950         javax/print/attribute/standard/DateTimeAtCompleted.java,
951         javax/print/attribute/standard/DateTimeAtCreation.java,
952         javax/print/attribute/standard/DateTimeAtProcessing.java,
953         javax/print/attribute/standard/DocumentName.java,
954         javax/print/attribute/standard/Fidelity.java,
955         javax/print/attribute/standard/Finishings.java,
956         javax/print/attribute/standard/JobHoldUntil.java,
957         javax/print/attribute/standard/JobImpressions.java,
958         javax/print/attribute/standard/JobImpressionsCompleted.java,
959         javax/print/attribute/standard/JobImpressionsSupported.java,
960         javax/print/attribute/standard/JobKOctets.java,
961         javax/print/attribute/standard/JobKOctetsProcessed.java,
962         javax/print/attribute/standard/JobKOctetsSupported.java,
963         javax/print/attribute/standard/JobMediaSheets.java,
964         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
965         javax/print/attribute/standard/JobMediaSheetsSupported.java,
966         javax/print/attribute/standard/JobMessageFromOperator.java,
967         javax/print/attribute/standard/JobName.java,
968         javax/print/attribute/standard/JobOriginatingUserName.java,
969         javax/print/attribute/standard/JobPriority.java,
970         javax/print/attribute/standard/JobPrioritySupported.java,
971         javax/print/attribute/standard/JobSheets.java,
972         javax/print/attribute/standard/JobState.java,
973         javax/print/attribute/standard/JobStateReason.java,
974         javax/print/attribute/standard/JobStateReasons.java,
975         javax/print/attribute/standard/Media.java,
976         javax/print/attribute/standard/MultipleDocumentHandling.java,
977         javax/print/attribute/standard/NumberOfDocuments.java,
978         javax/print/attribute/standard/NumberOfInterveningJobs.java,
979         javax/print/attribute/standard/NumberUp.java,
980         javax/print/attribute/standard/NumberUpSupported.java,
981         javax/print/attribute/standard/OrientationRequested.java,
982         javax/print/attribute/standard/OutputDeviceAssigned.java,
983         javax/print/attribute/standard/PDLOverrideSupported.java,
984         javax/print/attribute/standard/PageRanges.java,
985         javax/print/attribute/standard/PagesPerMinute.java,
986         javax/print/attribute/standard/PagesPerMinuteColor.java,
987         javax/print/attribute/standard/PrintQuality.java,
988         javax/print/attribute/standard/PrinterInfo.java,
989         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
990         javax/print/attribute/standard/PrinterLocation.java,
991         javax/print/attribute/standard/PrinterMakeAndModel.java,
992         javax/print/attribute/standard/PrinterMessageFromOperator.java,
993         javax/print/attribute/standard/PrinterMoreInfo.java,
994         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
995         javax/print/attribute/standard/PrinterName.java,
996         javax/print/attribute/standard/PrinterStateReason.java,
997         javax/print/attribute/standard/PrinterStateReasons.java,
998         javax/print/attribute/standard/PrinterURI.java,
999         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1000         javax/print/attribute/standard/RequestingUserName.java:
1001         Reorganized imports and removed redundant final modifiers.
1002
1003 2004-10-20  Michael Koch  <konqueror@gmx.de>
1004
1005         * javax/security/sasl/SaslClient.java,
1006         javax/security/sasl/SaslClientFactory.java,
1007         javax/security/sasl/SaslException.java,
1008         javax/security/sasl/SaslServer.java,
1009         javax/security/sasl/SaslServerFactory.java:
1010         Remvoed CVS tags.
1011
1012 2004-10-20  Michael Koch  <konqueror@gmx.de>
1013
1014         * javax/security/auth/login/NullConfiguration.java,
1015         javax/security/auth/x500/X500Principal.java,
1016         javax/security/cert/X509Certificate.java,
1017         javax/security/sasl/AuthenticationException.java,
1018         javax/security/sasl/AuthorizeCallback.java,
1019         javax/security/sasl/RealmCallback.java,
1020         javax/security/sasl/RealmChoiceCallback.java,
1021         javax/security/sasl/Sasl.java,
1022         javax/security/sasl/SaslClient.java,
1023         javax/security/sasl/SaslClientFactory.java,
1024         javax/security/sasl/SaslException.java,
1025         javax/security/sasl/SaslServer.java,
1026         javax/security/sasl/SaslServerFactory.java:
1027         Cleaned up import statements and copyright notices.
1028
1029 2004-10-20  Michael Koch  <konqueror@gmx.de>
1030
1031         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1032
1033 2004-10-20  Michael Koch  <konqueror@gmx.de>
1034
1035         * java/sql/Timestamp.java,
1036         java/text/AttributedCharacterIterator.java,
1037         java/text/AttributedString.java,
1038         java/util/zip/CheckedOutputStream.java,
1039         java/util/zip/DeflaterOutputStream.java,
1040         java/util/zip/ZipFile.java,
1041         javax/crypto/Cipher.java,
1042         javax/crypto/ExemptionMechanismException.java,
1043         javax/crypto/SecretKey.java,
1044         javax/crypto/SecretKeyFactory.java,
1045         javax/naming/directory/ModificationItem.java,
1046         javax/naming/directory/SearchControls.java,
1047         javax/naming/event/NamingListener.java,
1048         javax/naming/ldap/Control.java,
1049         javax/naming/ldap/ExtendedResponse.java,
1050         javax/net/ssl/SSLSocketFactory.java:
1051         Reorganized imports and fixed copyright headers.
1052
1053 2004-10-20  Michael Koch  <konqueror@gmx.de>
1054
1055         * java/util/logging/ConsoleHandler.java,
1056         java/util/logging/ErrorManager.java,
1057         java/util/logging/FileHandler.java,
1058         java/util/logging/Filter.java,
1059         java/util/logging/Formatter.java,
1060         java/util/logging/Handler.java,
1061         java/util/logging/Level.java,
1062         java/util/logging/LogManager.java,
1063         java/util/logging/LogRecord.java,
1064         java/util/logging/Logger.java,
1065         java/util/logging/LoggingPermission.java,
1066         java/util/logging/MemoryHandler.java,
1067         java/util/logging/SimpleFormatter.java,
1068         java/util/logging/SocketHandler.java,
1069         java/util/logging/StreamHandler.java,
1070         java/util/logging/XMLFormatter.java:
1071         Standardized copyrigth header.
1072
1073 2004-10-20  Michael Koch  <konqueror@gmx.de>
1074
1075         * java/security/AlgorithmParameterGenerator.java,
1076         java/security/AlgorithmParameters.java,
1077         java/security/DigestInputStream.java,
1078         java/security/Identity.java,
1079         java/security/KeyFactory.java,
1080         java/security/KeyPairGenerator.java,
1081         java/security/KeyStore.java,
1082         java/security/MessageDigest.java,
1083         java/security/MessageDigestSpi.java,
1084         java/security/Policy.java,
1085         java/security/SecureRandom.java,
1086         java/security/Security.java,
1087         java/security/Signature.java,
1088         java/security/SignatureSpi.java,
1089         java/security/cert/CertPathBuilder.java,
1090         java/security/cert/CertPathValidator.java,
1091         java/security/cert/CertStore.java,
1092         java/security/cert/Certificate.java,
1093         java/security/cert/CertificateFactory.java,
1094         java/security/cert/PolicyQualifierInfo.java,
1095         java/security/cert/TrustAnchor.java,
1096         java/security/cert/X509CRL.java,
1097         java/security/cert/X509CRLEntry.java,
1098         java/security/cert/X509Certificate.java,
1099         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1100         Import statements reorganized, some little formatting issues,
1101         used java-style array declarations, added comments in empty catch
1102         blocks.
1103
1104 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1105
1106         * java/security/Security.java
1107         (static): Use AccessController.doPrivileged to get system property.
1108
1109 2004-10-18  Sven de Marothy  <sven@physto.se>
1110
1111         * java/nio/ByteBufferHelper.java
1112         (putDouble): Use Double.toRawLongBits instead.
1113
1114 2004-10-18  Mark Wielaard  <mark@klomp.org>
1115         Andrew Haley  <aph@redhat.com>
1116
1117         * testsuite/libjava.lang/ExtraClassLoader.java: New.
1118
1119 2004-10-18  Andrew Haley  <aph@redhat.com>
1120
1121         PR java/18036:
1122         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1123         and correct logic used to find interpreter.
1124         
1125 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1126
1127         * java/util/logging/LogManager.java
1128         (findAncestor): Fixed IndexOutOfBoundsException.
1129
1130 2004-10-18  Michael Koch  <konqueror@gmx.de>
1131
1132         * java/io/BufferedInputStream.java: Fixed @author tag.
1133         (read): Simplified expression.
1134         (read): Merged javadoc a bit more.
1135         (read): Renamed 'remain' to 'totalBytesRead'.
1136         * java/io/DataInputStream.java,
1137         java/io/DataOutputStream.java,
1138         java/io/ObjectInputStream.java,
1139         java/io/ObjectOutputStream.java:
1140         Reworked modifier order.
1141
1142 2004-10-18  Michael Koch  <konqueror@gmx.de>
1143
1144         * java/net/Inet4Address.java: Merged file header and javadocs.
1145         * java/net/Inet6Address.java: Likewise.
1146         * java/net/InetAddress.java
1147         (getCanonicalHostName): Create Inet4Address object instead of
1148         InetAddress and add comment regarding IPv6.
1149         (toString): Simplified.
1150
1151 2004-10-18  Michael Koch  <konqueror@gmx.de>
1152
1153         * gnu/java/net/protocol/http/Connection.java,
1154         java/nio/MappedByteBufferImpl.java,
1155         java/text/RuleBasedCollator.java,
1156         java/util/ResourceBundle.java:
1157         Reworked import statements.
1158
1159 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1160
1161         * java/security/IdentityScope.java
1162         (systemScope): Removed useless initializer.
1163         * java/security/Policy.java
1164         (currentPolicy): Likewise.
1165
1166 2004-10-18  Michael Koch  <konqueror@gmx.de>
1167
1168         * java/lang/System.java: Revert accidential change.
1169
1170 2004-10-18  Michael Koch  <konqueror@gmx.de>
1171
1172         * java/lang/Math.java,
1173         java/lang/Package.java,
1174         java/lang/Runtime.java,
1175         java/lang/StrictMath.java,
1176         java/lang/System.java,
1177         java/lang/Thread.java,
1178         java/lang/ThreadLocal.java,
1179         java/lang/Void.java:
1180         Reworked import statements, HTML in javadocs and modifier orders.
1181
1182 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1183
1184         * java/util/Timer.java
1185         (nr): Removed useless initializer.
1186         * java/util/logging/LogRecord.java
1187         (lastSeqNum): Likewise.
1188         * javax/naming/spi/NamingManager.java
1189         (icfb, ofb): Likewise.
1190
1191 2004-10-18  Michael Koch  <konqueror@gmx.de>
1192
1193         * gnu/java/net/PlainDatagramSocketImpl.java:
1194         Reworked import statements.
1195         * gnu/java/security/provider/DSAParameters.java:
1196         Fixed copyrigth years.
1197         * java/net/JarURLConnection.java:
1198         Fixed HTML in @author tags.
1199         
1200
1201 2004-10-18  Michael Koch  <konqueror@gmx.de>
1202
1203         * java/rmi/activation/ActivationSystem.java
1204         (SYSTEM_PORT): Initialize with correct port number.
1205
1206 2004-10-18  Michael Koch  <konqueror@gmx.de>
1207
1208         * java/lang/reflect/Proxy.java: Improved javadocs.
1209
1210 2004-10-18  Michael Koch  <konqueror@gmx.de>
1211
1212         * java/lang/reflect/AccessibleObject.java
1213         (checkPermission): Removed redundant final modifier.
1214         (secureSetAccessible): Likewise.
1215         * java/lang/reflect/Proxy.java:
1216         Reworked import statements.
1217         (generate): Removed redundant final modifier.
1218         * java/lang/reflect/ReflectPermission.java:
1219         Reorder package declaration and import statement.
1220
1221 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1222
1223         * java/lang/reflect/Proxy.java
1224         (count): Removed useless initializer.
1225
1226 2004-10-17  Michael Koch  <konqueror@gmx.de>
1227
1228         * java/net/BindException.java,
1229         java/net/ConnectException.java,
1230         java/net/ContentHandler.java,
1231         java/net/ContentHandlerFactory.java,
1232         java/net/DatagramPacket.java,
1233         java/net/DatagramSocket.java,
1234         java/net/DatagramSocketImpl.java,
1235         java/net/DatagramSocketImplFactory.java,
1236         java/net/FileNameMap.java,
1237         java/net/HttpURLConnection.java,
1238         java/net/MalformedURLException.java,
1239         java/net/MulticastSocket.java,
1240         java/net/NetworkInterface.java,
1241         java/net/NoRouteToHostException.java,
1242         java/net/PasswordAuthentication.java,
1243         java/net/PortUnreachableException.java,
1244         java/net/ProtocolException.java,
1245         java/net/ServerSocket.java,
1246         java/net/Socket.java,
1247         java/net/SocketException.java,
1248         java/net/SocketImpl.java,
1249         java/net/SocketImplFactory.java,
1250         java/net/SocketOptions.java,
1251         java/net/SocketPermission.java,
1252         java/net/SocketTimeoutException.java,
1253         java/net/URI.java,
1254         java/net/URISyntaxException.java,
1255         java/net/URL.java,
1256         java/net/URLDecoder.java,
1257         java/net/URLEncoder.java,
1258         java/net/URLStreamHandler.java,
1259         java/net/URLStreamHandlerFactory.java,
1260         java/net/UnknownHostException.java,
1261         java/net/UnknownServiceException.java:
1262         Big import statement and @author tag cleanup.
1263
1264 2004-10-17  Michael Koch  <konqueror@gmx.de>
1265
1266         * gnu/java/security/OID.java,
1267         gnu/java/security/provider/DSAParameters.java,
1268         gnu/java/security/provider/DSASignature.java,
1269         gnu/java/security/x509/X500DistinguishedName.java,
1270         gnu/java/security/x509/X509CRL.java:
1271         Import statements cleaned up.
1272
1273 2004-10-16  Michael Koch  <konqueror@gmx.de>
1274
1275         * gnu/java/nio/NIODatagramSocket.java,
1276         gnu/java/nio/ServerSocketChannelImpl.java:
1277         Reorganized import statements.
1278
1279 2004-10-16  Michael Koch  <konqueror@gmx.de>
1280
1281         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1282         gnu/java/rmi/rmic/RMIC.java,
1283         gnu/java/rmi/server/RMIHashes.java,
1284         gnu/java/rmi/server/RMIObjectInputStream.java,
1285         gnu/java/rmi/server/RMIObjectOutputStream.java,
1286         gnu/java/rmi/server/UnicastConnection.java,
1287         gnu/java/rmi/server/UnicastConnectionManager.java,
1288         gnu/java/rmi/server/UnicastRemoteCall.java,
1289         gnu/java/rmi/server/UnicastServer.java,
1290         gnu/java/rmi/server/UnicastServerRef.java,
1291         java/rmi/MarshalledObject.java,
1292         java/rmi/Naming.java,
1293         java/rmi/RMISecurityManager.java,
1294         java/rmi/Remote.java,
1295         java/rmi/activation/Activatable.java,
1296         java/rmi/activation/ActivationDesc.java,
1297         java/rmi/activation/ActivationGroup.java,
1298         java/rmi/activation/ActivationGroupDesc.java,
1299         java/rmi/activation/ActivationGroupID.java,
1300         java/rmi/activation/ActivationID.java,
1301         java/rmi/activation/ActivationInstantiator.java,
1302         java/rmi/activation/ActivationMonitor.java,
1303         java/rmi/activation/ActivationSystem.java,
1304         java/rmi/activation/Activator.java,
1305         java/rmi/dgc/DGC.java,
1306         java/rmi/dgc/Lease.java,
1307         java/rmi/dgc/VMID.java,
1308         java/rmi/registry/LocateRegistry.java,
1309         java/rmi/registry/Registry.java,
1310         java/rmi/registry/RegistryHandler.java,
1311         java/rmi/server/LoaderHandler.java,
1312         java/rmi/server/LogStream.java,
1313         java/rmi/server/ObjID.java,
1314         java/rmi/server/Operation.java,
1315         java/rmi/server/RMIClassLoader.java,
1316         java/rmi/server/RMIClassLoaderSpi.java,
1317         java/rmi/server/RMIClientSocketFactory.java,
1318         java/rmi/server/RMIFailureHandler.java,
1319         java/rmi/server/RMIServerSocketFactory.java,
1320         java/rmi/server/RMISocketFactory.java,
1321         java/rmi/server/RemoteCall.java,
1322         java/rmi/server/RemoteObject.java,
1323         java/rmi/server/RemoteRef.java,
1324         java/rmi/server/RemoteServer.java,
1325         java/rmi/server/RemoteStub.java,
1326         java/rmi/server/ServerRef.java,
1327         java/rmi/server/Skeleton.java,
1328         java/rmi/server/SkeletonMismatchException.java,
1329         java/rmi/server/UID.java,
1330         java/rmi/server/UnicastRemoteObject.java,
1331         java/rmi/server/Unreferenced.java:
1332         File headers and import statements cleaned up.
1333
1334 2004-10-16  Michael Koch  <konqueror@gmx.de>
1335
1336         * libjava/gnu/java/nio/charset/UTF_16.java,
1337         libjava/gnu/java/nio/charset/UTF_16BE.java,
1338         libjava/gnu/java/nio/charset/UTF_16LE.java,
1339         libjava/java/nio/ByteOrder.java,
1340         libjava/java/nio/MappedByteBuffer.java,
1341         libjava/java/nio/channels/Channels.java,
1342         libjava/java/nio/channels/spi/SelectorProvider.java,
1343         libjava/java/nio/charset/Charset.java:
1344         Cleanup.
1345
1346 2004-10-16  Michael Koch  <konqueror@gmx.de>
1347
1348         * gnu/java/nio/charset/UTF_16Encoder.java
1349         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1350
1351 2004-10-16  Michael Koch  <konqueror@gmx.de>
1352
1353         * java/math/BigDecimal.java, java/math/BigInteger.java:
1354         Reorganized import statements, removed redundant and
1355         reorganized modifiers.
1356
1357 2004-10-16  Michael Koch  <konqueror@gmx.de>
1358
1359         * gnu/java/beans/ExplicitBeanInfo.java:
1360         Explicitely import java.awt.Image.
1361         (getIcon): Fixed off-by-one error.
1362
1363 2004-10-15  Andrew Haley  <aph@redhat.com>
1364
1365         * Makefile.am (nat_files, xlib_nat_files): New.
1366         * Makefile.in: Regenerate.
1367
1368 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1369
1370         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1371         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1372
1373 2004-10-13  Andrew Haley  <aph@redhat.com>
1374
1375         * interpret.cc (_Jv_InterpMethod::run): Initialize
1376         _Jv_StartOfInterpreter.
1377         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1378         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1379         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1380         _Unwind_FindEnclosingFunction to discover whether PC is within the
1381         interpreter.
1382
1383 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1384
1385         PR libgcj/17903:
1386         * testsuite/libjava.lang/md5test.java: New file.
1387         * testsuite/libjava.lang/md5test.out: Likewise.
1388         * testsuite/libjava.lang/shatest.java: Likewise.
1389         * testsuite/libjava.lang/shatest.out: Likewise.
1390
1391 2004-10-11  Richard Henderson  <rth@redhat.com>
1392
1393         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1394         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1395
1396 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1397
1398         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1399         field as a DST boundary may have been crossed.
1400         * java/util/GregorianCalendar.java (add): Throw 
1401         IllegalArgumentException on attempt to add to DST_OFFSET or 
1402         ZONE_OFFSET fields. Update javadoc.
1403
1404 2004-10-09  Michael Koch  <konqueror@gmx.de>
1405
1406         * java/io/CharArrayWriter.java
1407         (resize): Removed redundant 'final' modifier.
1408         * java/io/DataInputStream.java
1409         (readFully): Throw IndexOutOfBoundsException of len < 0.
1410         * java/io/FileDescriptor.java,
1411         java/io/FileInputStream.java,
1412         java/io/FileOutputStream.java,
1413         java/io/ObjectOutputStream.java,
1414         java/io/ObjectStreamClass.java,
1415         java/io/PipedInputStream.java,
1416         java/io/RandomAccessFile.java:
1417         Reorganized import statements.
1418
1419 2004-10-09  Michael Koch  <konqueror@gmx.de>
1420
1421         * gnu/java/rmi/rmic/RMIC.java,
1422         gnu/java/rmi/server/RMIHashes.java,
1423         gnu/java/rmi/server/RMIObjectInputStream.java,
1424         gnu/java/rmi/server/UnicastConnection.java,
1425         gnu/java/rmi/server/UnicastConnectionManager.java,
1426         gnu/java/rmi/server/UnicastRemoteCall.java,
1427         gnu/java/rmi/server/UnicastServerRef.java:
1428         Reworked import statements and fixed file headers.
1429
1430 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1431
1432         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1433         emission rule.
1434         * configure: Rebuilt.
1435
1436 2004-09-30  Tom Tromey  <tromey@redhat.com>
1437
1438         * java/text/MessageFormat.java (Field): Constructor now
1439         protected.
1440
1441 2004-09-30  Tom Tromey  <tromey@redhat.com>
1442
1443         * javax/crypto/MacSpi.java: Fixed typo.
1444
1445 2004-09-30  Michael Koch  <konqueror@gmx.de>
1446
1447         * java/net/InetAddress.java: Reformatted.
1448         (loopback): Initialize with Inet4Address object.
1449         (static): Initialize ANY_IF with Inet4Address object.
1450         (InetAddress): Removed unused package-private constructor.
1451
1452 2004-09-30  Michael Koch  <konqueror@gmx.de>
1453
1454         * java/beans/Beans.java,
1455         java/beans/EventHandler.java,
1456         java/beans/EventSetDescriptor.java,
1457         java/beans/Introspector.java,
1458         java/beans/PropertyEditorManager.java,
1459         java/beans/beancontext/BeanContext.java,
1460         java/beans/beancontext/BeanContextChild.java,
1461         java/beans/beancontext/BeanContextChildSupport.java,
1462         java/beans/beancontext/BeanContextMembershipEvent.java:
1463         Reordered import statements and removed redundant modifiers.
1464
1465 2004-09-29  Tom Tromey  <tromey@redhat.com>
1466
1467         PR libgcj/17715:
1468         * Makefile.in: Rebuilt.
1469         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1470         files.
1471         (all_property_files): New macro.
1472
1473         * Makefile.in: Rebuilt.
1474         * Makefile.am (ordinary_java_source_files): Re-sorted.
1475         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1476
1477 2004-09-28  Tom Tromey  <tromey@redhat.com>
1478
1479         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1480
1481         PR libgcj/17222:
1482         * Makefile.am (libgcj.la): Restored.
1483         * Makefile.in: Rebuilt.
1484
1485 2004-09-28  Michael Koch  <konqueror@gmx.de>
1486
1487         * java/net/URLConnection.java: Reformatted.
1488         * java/net/URLClassLoader.java: Reformatted.
1489         (getContent): Reordered return of content.
1490         (getContentHandler): Don't check for null explicitely.
1491
1492 2004-09-27  Michael Koch  <konqueror@gmx.de>
1493
1494         * java/io/BufferedInputStream.java
1495         (BufferedInputStream): Added Jeroen Frijters to authors.
1496         (count): Don't explicitely initialize with default value.
1497         (pos): Likewise.
1498         (marklimit): Likewise.
1499         (read): Changed boolean expression to match GNU classpath' version.
1500         (reset): Add proper message to exception.
1501         (skip): Check for closed stream.
1502         (refill): Likewise.
1503
1504 2004-09-26  Per Bothner  <per@bothner.com>
1505
1506         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1507         avoid warnings in the non-POSIX_VERSION case.
1508         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1509         so place it inside an #if block.
1510         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1511         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1512         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1513         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1514
1515 2004-09-26  Per Bothner  <per@bothner.com>
1516
1517         * prims.cc (process_gcj_properties):  Optimization.
1518
1519 2004-09-26  Per Bothner  <per@bothner.com>
1520
1521         * java/util/Collections.java (sort):  Copy from array in forwards
1522         order, rather than reverse order which may be much less efficient.
1523
1524 2004-09-26  Mark Wielaard  <mark@klomp.org>
1525
1526         * java/lang/System.java (properties): Make package private.
1527         * java/lang/Throwable.java (StaticData.nl): Initialize through
1528         directly accessing System.properties.getProperty().
1529
1530         * java/lang/Throwable.java (nl): Remove static field.
1531         (StaticData): New private static inner class.
1532         (stackTraceStringBuffer): Use StaticData.nl.
1533
1534 2004-09-26  Casey Marshall <csm@gnu.org>
1535
1536         * java/security/ProtectionDomain.java
1537         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1538         `true'.
1539
1540         * java/security/SecureClassLoader.java
1541         (defineClass): make protection domain dynamically bound.
1542         (getPermissions): call `getCurrentPolicy' to avoid permission
1543         check.
1544
1545 2004-09-25  Mark Wielaard  <mark@klomp.org>
1546
1547         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1548         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1549         * Makefile.in: Regenerated.
1550
1551         * gcj/javaprims.h: Regenerated.
1552
1553         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1554         (getDefaultTimeZone): Make package private. Check that GMToffset
1555         contains at least one digit.
1556         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1557         VMTimeZone.
1558         * util/VMTimeZone.java: New file with above methods.
1559
1560         * java/util/natTimeZone.cc: Removed (renamed).
1561         * java/util/natVMTimeZone.cc: Added (renamed).
1562
1563 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1564
1565         * java/util/TimeZone.java
1566         (getDefaultTimeZone): Fixed test to distinguish between hours and
1567         minutes in specified timezone.
1568
1569 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1570
1571         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1572         handling of default package. (generate): Removed confused comments
1573         and code about making Method and Field accessible.
1574
1575 2004-09-25  Tom Tromey  <tromey@redhat.com>
1576
1577         PR java/17500:
1578         * testsuite/libjava.compile/pr17500.java: New file.
1579
1580 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1581             Mark Wielaard  <mark@klomp.org>
1582
1583         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1584         * gnu/regexp/RETokenLookAhead.java: New file.
1585
1586         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1587         * Makefile.in: Regenerated.
1588
1589 2004-09-25  Michael Koch  <konqueror@gmx.de>
1590
1591         * java/io/ObjectStreamField.java:
1592         Removed unused import statement.
1593
1594 2004-09-24  Tom Tromey  <tromey@redhat.com>
1595
1596         PR java/15656:
1597         * testsuite/libjava.compile/pr15656.xfail: New file.
1598         * testsuite/libjava.compile/pr15656.java: new file.
1599
1600         PR java/16789:
1601         * testsuite/libjava.lang/pr16789.out: New file.
1602         * testsuite/libjava.lang/pr16789.java: New file.
1603
1604 2004-09-24  Andrew Haley  <aph@redhat.com>
1605
1606         PR java/16927
1607         * testsuite/libjava.compile/AssertBug.java: New file.
1608
1609 2004-09-24  Casey Marshall <csm@gnu.org>
1610
1611         * java/util/PropertyPermissionCollection.java
1612         (implies): avoid infinite loop.
1613
1614 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1615
1616         * javax/security/auth/PrivateCredentialPermission.java
1617         (PrivateCredentialPermission): added serialization UID
1618
1619
1620 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1621
1622         * gnu/java/rmi/server/UnicastServer.java
1623         (incomingMessageCall): Added code to handle Errors.
1624         * gnu/java/rmi/server/UnicastServerRef.java
1625         (incomingMessageCall): Added code to handle Errors.
1626
1627
1628 2004-09-24  Tom Tromey  <tromey@redhat.com>
1629
1630         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1631         (definedPackages): Likewise.
1632
1633 2004-09-24  Michael Koch  <konqueror@gmx.de>
1634
1635         * java/io/ObjectInputStream.java:
1636         Re-ordered imports.
1637
1638 2004-09-24  Casey Marshall <csm@gnu.org>
1639
1640         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1641         `ClassNotFoundException'.
1642
1643 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1644
1645         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1646         of Externalizable classes to ObjectStreamClass.
1647         * java/io/ObjectStreamClass.java (newInstance): New method to
1648         instantiate Externalizable (while ignoring the accessibility of
1649         the constructor). (constructor): New field to cache the constructor.
1650
1651 2004-09-24  Mark Wielaard  <mark@klomp.org>
1652
1653         * java/net/URL.java (systemClassLoader): New static field.
1654         (getURLStreamHandler): Always use system/application classloader
1655         for finding URLStreamhandler. Remove unecessary instanceof checks.
1656
1657 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1658
1659         * java/net/URL.java
1660         (set): This method now matches the behaviour of the JDK.
1661         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1662
1663 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1664
1665         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1666
1667 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1668
1669         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1670         Don't set authority if host isn't specified.
1671
1672 2004-09-24  Michael Koch  <konqueror@gmx.de>
1673
1674         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1675         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1676         * gnu/java/nio/VMPipe.java,
1677         gnu/java/nio/VMSelector.java:
1678         New files.
1679         * gnu/java/nio/natPipeImplEcos.cc,
1680         gnu/java/nio/natPipeImplPosix.cc,
1681         gnu/java/nio/natPipeImplWin32.cc:
1682         Ported to VMPipe.
1683         * gnu/java/nio/natSelectorImplEcos.cc,
1684         gnu/java/nio/natSelectorImplPosix.cc,
1685         gnu/java/nio/natSelectorImplWin32.cc:
1686         Ported to VMSelector.
1687         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1688         gnu/java/nio/VMSelector.java.
1689         * Makefile.in: Regenerated.
1690
1691 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1692
1693         * java/lang/StackTraceElement.java
1694         (className): Renamed field to declaringClass to be compatible
1695         with Sun serialization format.
1696
1697 2004-09-23  Michael Koch  <konqueror@gmx.de>
1698
1699         * java/applet/AppletContext.java,
1700         java/applet/Applet.java,
1701         java/applet/AppletStub.java,
1702         java/applet/AudioClip.java:
1703         Jalopied and checkstyle clean.
1704
1705 2004-09-23  Mark Wielaard  <mark@klomp.org>
1706
1707         * java/util/Collections.java
1708         (binarySearch(List, Object, Comparator)): Explicitly
1709         reverse direction in list iterator.
1710         (rotate): Just return when list is empty.
1711
1712 2004-09-23  Tom Tromey  <tromey@redhat.com>
1713
1714         PR java/17329:
1715         * testsuite/libjava.compile/pr17329.java: New file.
1716
1717         PR java/17380:
1718         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1719         9.2-implicit-7.
1720
1721 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1722
1723         * Makefile.am: Run aclocal with -I ../config
1724         * acinclude.m4: Delete macros picked up from ../config and tidy.
1725         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1726         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1727         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1728
1729 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1730
1731         * aclocal.m4: Regenerate with aclocal 1.9.2.
1732         * configure: Regenerate.
1733         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1734         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1735
1736 2004-09-22  David Daney  <ddaney@avtrex.com>
1737
1738         PR libgcj/17623
1739         * java/net/URL.java (URL): Copy userInfo from context.
1740         (getUserInfo): Return cached userInfo if present.
1741
1742 2004-09-22  Tom Tromey  <tromey@redhat.com>
1743
1744         PR libgcj/6182:
1745         * mauve-libgcj: Enable java.lang.Character tests.
1746
1747 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1748
1749         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1750         dependencies.
1751         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1752         * Makefile.in: Regenerated.
1753
1754 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1755
1756         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1757         * configure: Regenerate.
1758         * include/config.h.in: Likewise.
1759         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1761         macro to gtkpeer.h.
1762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1763         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1764         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1765         architectures.
1766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1767         Likewise.
1768
1769 2004-09-22  Tom Tromey  <tromey@redhat.com>
1770
1771         PR libgcj/14446:
1772         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1773         when comparing CRCs.
1774         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1775         field.
1776         (read()): New overload.
1777
1778 2004-09-21  Tom Tromey  <tromey@redhat.com>
1779
1780         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1781         Indentation fix.
1782
1783 2004-09-21  Michael Koch  <konqueror@gmx.de>
1784
1785         * java/net/Socket.java
1786         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1787
1788 2004-09-21  Casey Marshall  <csm@gnu.org>
1789
1790         * javax/crypto/MacSpi.java (clone): Provide meaningful
1791         implementation.
1792
1793 2004-09-21  Tom Tromey  <tromey@redhat.com>
1794
1795         PR libgcj/16869:
1796         * Makefile.in: Rebuilt.
1797         * Makefile.am (MOSTLYCLEANFILES): Removed.
1798         (mostlyclean-local): Remove header files.
1799
1800 2004-09-21  Casey Marshall  <csm@gnu.org>
1801
1802         * java/security/cert/X509CRLSelector.java:
1803         (match): remove unreachable try-catch clauses.
1804         Reported by: Dalibor Topic <robilad@kaffe.org>
1805
1806 2004-09-21  Mark Wielaard  <mark@klomp.org>
1807
1808         * java/util/TreeMap.java (root): Don't initialize.
1809         (TreeMap(Comparator)): Call fabricateTree(0).
1810         (fabricateTree): Initialize root and size when count is 0.
1811
1812 2004-09-21  Sven de Marothy <sven@physto.se>
1813
1814         * java/nio/ByteBuffer.java (hashCode): Implemented.
1815         * java/nio/CharBuffer.java: Likewise.
1816         * java/nio/DoubleBuffer.java: Likewise.
1817         * java/nio/FloatBuffer.java: Likewise.
1818         * java/nio/LongBuffer.java: Likewise.
1819         * java/nio/IntBuffer.java: Likewise.
1820         * java/nio/ShortBuffer.java: Likewise.
1821
1822 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1823
1824         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1825
1826 2004-09-21  Michael Koch  <konqueror@gmx.de>
1827
1828         * javax/net/ssl/SSLServerSocket.java:
1829         Removed comment about "Do not edit this file, it's generated.".
1830
1831 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1832
1833         Import the big Crypto/Jessie/Security merge from Classpath.
1834
1835         * Makefile.am: Add imported files.
1836         * Makefile.in: Regenerate.
1837
1838         2004-08-14  Casey Marshall <csm@gnu.org>
1839
1840         The Big Crypto Merge of 2004.
1841
1842         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1843         Crypto's version.
1844
1845         Files imported from GNU Crypto.
1846         * javax/crypto/BadPaddingException.java
1847         * javax/crypto/Cipher.java
1848         * javax/crypto/CipherInputStream.java
1849         * javax/crypto/CipherOutputStream.java
1850         * javax/crypto/CipherSpi.java
1851         * javax/crypto/EncryptedPrivateKeyInfo.java
1852         * javax/crypto/ExemptionMechanism.java
1853         * javax/crypto/ExemptionMechanismException.java
1854         * javax/crypto/ExemptionMechanismSpi.java
1855         * javax/crypto/IllegalBlockSizeException.java
1856         * javax/crypto/KeyAgreement.java
1857         * javax/crypto/KeyAgreementSpi.java
1858         * javax/crypto/KeyGenerator.java
1859         * javax/crypto/KeyGeneratorSpi.java
1860         * javax/crypto/Mac.java
1861         * javax/crypto/MacSpi.java
1862         * javax/crypto/Makefile.am
1863         * javax/crypto/NoSuchPaddingException.java
1864         * javax/crypto/NullCipher.java
1865         * javax/crypto/NullCipherImpl.java
1866         * javax/crypto/SealedObject.java
1867         * javax/crypto/SecretKey.java
1868         * javax/crypto/SecretKeyFactory.java
1869         * javax/crypto/SecretKeyFactorySpi.java
1870         * javax/crypto/ShortBufferException.java
1871         * javax/crypto/interfaces/DHKey.java
1872         * javax/crypto/interfaces/DHPrivateKey.java
1873         * javax/crypto/interfaces/DHPublicKey.java
1874         * javax/crypto/interfaces/PBEKey.java
1875         * javax/crypto/spec/DESKeySpec.java
1876         * javax/crypto/spec/DESedeKeySpec.java
1877         * javax/crypto/spec/DHGenParameterSpec.java
1878         * javax/crypto/spec/DHParameterSpec.java
1879         * javax/crypto/spec/DHPrivateKeySpec.java
1880         * javax/crypto/spec/DHPublicKeySpec.java
1881         * javax/crypto/spec/IvParameterSpec.java
1882         * javax/crypto/spec/PBEKeySpec.java
1883         * javax/crypto/spec/PBEParameterSpec.java
1884         * javax/crypto/spec/RC2ParameterSpec.java
1885         * javax/crypto/spec/RC5ParameterSpec.java
1886         * javax/crypto/spec/SecretKeySpec.java
1887         * javax/security/auth/AuthPermission.java
1888         * javax/security/auth/DestroyFailedException.java
1889         * javax/security/auth/Destroyable.java
1890         * javax/security/auth/Policy.java
1891         * javax/security/auth/PrivateCredentialPermission.java
1892         * javax/security/auth/RefreshFailedException.java
1893         * javax/security/auth/Refreshable.java
1894         * javax/security/auth/Subject.java
1895         * javax/security/auth/SubjectDomainCombiner.java
1896         * javax/security/auth/callback/Callback.java
1897         * javax/security/auth/callback/CallbackHandler.java
1898         * javax/security/auth/callback/ChoiceCallback.java
1899         * javax/security/auth/callback/ConfirmationCallback.java
1900         * javax/security/auth/callback/LanguageCallback.java
1901         * javax/security/auth/callback/NameCallback.java
1902         * javax/security/auth/callback/PasswordCallback.java
1903         * javax/security/auth/callback/TextInputCallback.java
1904         * javax/security/auth/callback/TextOutputCallback.java
1905         * javax/security/auth/callback/UnsupportedCallbackException.java
1906         * javax/security/auth/login/AccountExpiredException.java
1907         * javax/security/auth/login/AppConfigurationEntry.java
1908         * javax/security/auth/login/Configuration.java
1909         * javax/security/auth/login/CredentialExpiredException.java
1910         * javax/security/auth/login/FailedLoginException.java
1911         * javax/security/auth/login/LoginContext.java
1912         * javax/security/auth/login/LoginException.java
1913         * javax/security/auth/login/NullConfiguration.java
1914         * javax/security/auth/x500/X500PrivateCredential.java
1915         * javax/security/sasl/AuthenticationException.java
1916         * javax/security/sasl/AuthorizeCallback.java
1917         * javax/security/sasl/RealmCallback.java
1918         * javax/security/sasl/RealmChoiceCallback.java
1919         * javax/security/sasl/Sasl.java
1920         * javax/security/sasl/SaslClient.java
1921         * javax/security/sasl/SaslClientFactory.java
1922         * javax/security/sasl/SaslException.java
1923         * javax/security/sasl/SaslServer.java
1924         * javax/security/sasl/SaslServerFactory.java
1925         * org/ietf/jgss/ChannelBinding.java
1926         * org/ietf/jgss/GSSContext.java
1927         * org/ietf/jgss/GSSCredential.java
1928         * org/ietf/jgss/GSSException.java
1929         * org/ietf/jgss/GSSManager.java
1930         * org/ietf/jgss/GSSName.java
1931         * org/ietf/jgss/MessageProp.java
1932         * org/ietf/jgss/Oid.java
1933         * org/ietf/jgss/MessagesBundle.properties
1934
1935         Files imported from Jessie <http://www.nongnu.org/jessie/>
1936         * javax/net/ServerSocketFactory.java
1937         * javax/net/SocketFactory.java
1938         * javax/net/VanillaServerSocketFactory.java
1939         * javax/net/VanillaSocketFactory.java
1940         * javax/net/ssl/HandshakeCompletedEvent.java
1941         * javax/net/ssl/HandshakeCompletedListener.java
1942         * javax/net/ssl/HostnameVerifier.java
1943         * javax/net/ssl/HttpsURLConnection.java
1944         * javax/net/ssl/KeyManager.java
1945         * javax/net/ssl/KeyManagerFactory.java
1946         * javax/net/ssl/KeyManagerFactorySpi.java
1947         * javax/net/ssl/ManagerFactoryParameters.java
1948         * javax/net/ssl/SSLContext.java
1949         * javax/net/ssl/SSLContextSpi.java
1950         * javax/net/ssl/SSLException.java
1951         * javax/net/ssl/SSLHandshakeException.java
1952         * javax/net/ssl/SSLKeyException.java
1953         * javax/net/ssl/SSLPeerUnverifiedException.java
1954         * javax/net/ssl/SSLPermission.java
1955         * javax/net/ssl/SSLProtocolException.java
1956         * javax/net/ssl/SSLServerSocket.java
1957         * javax/net/ssl/SSLServerSocketFactory.java
1958         * javax/net/ssl/SSLSession.java
1959         * javax/net/ssl/SSLSessionBindingEvent.java
1960         * javax/net/ssl/SSLSessionBindingListener.java
1961         * javax/net/ssl/SSLSessionContext.java
1962         * javax/net/ssl/SSLSocket.java
1963         * javax/net/ssl/SSLSocketFactory.java
1964         * javax/net/ssl/TrivialHostnameVerifier.java
1965         * javax/net/ssl/TrustManager.java
1966         * javax/net/ssl/TrustManagerFactory.java
1967         * javax/net/ssl/TrustManagerFactorySpi.java
1968         * javax/net/ssl/X509KeyManager.java
1969         * javax/net/ssl/X509TrustManager.java
1970         * javax/security/cert/Certificate.java
1971         * javax/security/cert/CertificateEncodingException.java
1972         * javax/security/cert/CertificateException.java
1973         * javax/security/cert/CertificateExpiredException.java
1974         * javax/security/cert/CertificateNotYetValidException.java
1975         * javax/security/cert/CertificateParsingException.java
1976         * javax/security/cert/X509CertBridge.java
1977         * javax/security/cert/X509Certificate.java
1978
1979         2004-08-20  Casey Marshall  <csm@gnu.org>
1980
1981         * java/security/cert/X509CRLSelector.java: New file.
1982         * java/security/cert/X509CertSelector.java: New file.
1983
1984 2004-09-15  Michael Koch  <konqueror@gmx.de>
1985
1986         * gnu/java/net/protocol/file/Handler.java
1987         (openConnection): Don't throw exception if host part for file: URI is
1988         present. setURL() keeps file: protocol if ftp: protocol is not
1989         available.
1990
1991 2004-09-14  Richard Henderson  <rth@redhat.com>
1992
1993         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1994         value of sigsuspend.
1995
1996 2004-09-12  Tom Tromey  <tromey@redhat.com>
1997
1998         * javax/naming/CompoundName.java (CompoundName): Don't check for
1999         separator in "flat" case.
2000
2001 2004-09-12  Michael Koch  <konqueror@gmx.de>
2002
2003         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2004         AM_CONFIG_HEADER by AC_CONFIG_FILES.
2005         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2006         Regenerate.
2007
2008 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2009
2010         PR libgcj/14751
2011         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2012         handle in newly-allocated _Jv_Thread_t.
2013         (_Jv_ThreadDestroyData): Close thread handle.
2014         (_Jv_ThreadStart): Remove obsolete comment.
2015         Store handle of newly-created thread in _Jv_Thread_t.
2016         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2017         before including <windows.h>
2018         #define _Jv_HaveCondDestroy
2019
2020 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2021
2022         * java/lang/natThread.cc (finalize_native): Destroy
2023         join conditional variable and mutex if these destroy
2024         operations are supported.
2025
2026 2004-09-10  Dalibor Topic <robilad@kaffe.org>
2027
2028         * gnu/java/net/protocol/file/Connection.java (permission): New field.
2029         (DEFAULT_PERMISSION): New constant.
2030         (Connection): Create a FilePermission with permission to read file.
2031
2032 2004-09-10  Michael Koch  <konqueror@gmx.de>
2033
2034         * gnu/java/net/protocol/file/Connection.java
2035         (getLastModified): Moved around.
2036         (getPermission): Return stored permission.
2037
2038 2004-09-10  Michael Koch  <konqueror@gmx.de>
2039
2040         * Makefile.in: Regenerate.
2041
2042 2004-09-10  Michael Koch  <konqueror@gmx.de>
2043
2044         * Makefile.am: Reverted accidently commited stuff.
2045         * configure: Regenerated.
2046
2047 2004-09-10  Michael Koch  <konqueror@gmx.de>
2048
2049         * gnu/java/net/protocol/file/Connection.java
2050         (lineSeparator): Made non-final.
2051         (static): Removed.
2052         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2053         instead of StringBufferInputStream.
2054
2055 2004-09-10  Michael Koch  <konqueror@gmx.de>
2056
2057         * gnu/java/net/protocol/file/Connection.java
2058         (connect): Handle file is a directory case.
2059
2060 2004-09-10  Michael Koch  <konqueror@gmx.de>
2061
2062         * Makefile.am
2063         (xlib_includes): Removed.
2064         (AM_CPPFLAGS): Renamed from INCLUDES.
2065         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2066         * Makefile.in: Regenerate.
2067
2068 2004-09-09  Michael Koch  <konqueror@gmx.de>
2069
2070         * java/security/ProtectionDomain.java,
2071         * java/util/PropertyPermissionCollection.java:
2072         Fixed javadocs all over.
2073
2074 2004-09-09  Sven de Marothy  <sven@physto.se>
2075
2076         Patch from David Gilbert <david.gilbert@object-refinery.com>
2077         * java/lang/Comparable.java: Fixed documentation errors.
2078         * java/util/Arrays.java: Likewise.
2079
2080 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2081
2082         * java/net/Inet4Address.java
2083         (Inet4Address): Added comment to serialization UID.
2084         * java/text/Format.java
2085         (Format): Added comment to serialization UID.
2086
2087 2004-09-09  Michael Koch  <konqueror@gmx.de>
2088
2089         * java/lang/System.java
2090         (err): Fixed javadoci to point to setErr() and not setOut().
2091
2092 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2093
2094         (normalizePath): Added special case for windows systems.
2095
2096 2004-09-09  Michael Koch  <konqueror@gmx.de>
2097
2098         * java/io/File.java
2099         (dupSeparator): Made private.
2100         (File(URI)): New constructor.
2101         (getParentFile): Fixed javadoc.
2102         (createTempFile): Reformated.
2103         (setReadOnly): Added comment.
2104         (deleteOnExit): Merged javadoc with classpath version.
2105
2106 2004-09-09  Michael Koch  <konqueror@gmx.de>
2107
2108         * Makefile.am: Don't try to include deps.mk.
2109         * Makefile.in: Regenerated.
2110
2111 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
2112
2113         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2114         .d files.
2115         * configure: Rebuilt.
2116
2117 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
2118
2119         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2120         Changed pfn from static local to local.
2121
2122 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
2123             H.J. Lu  <hongjiu.lu@intel.com>
2124
2125         PR libgcj/17290
2126         * Makefile.am (GCJCOMPILE): Remove definition.
2127         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2128         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2129         * Makefile.in: Rebuilt.
2130
2131 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
2132
2133         * configure.ac (enable-gc-debug): Update help for new syntax.
2134         * configure: Regenerate.
2135
2136 2004-09-03  David Daney  <ddaney@avtrex.com>
2137
2138         * include/mips-signal.h: Update copyright.
2139
2140 2004-09-03  David Daney  <ddaney@avtrex.com>
2141
2142         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2143         * include/mips-signal.h: Added HANDLE_FPE support.
2144         
2145 2004-08-31  Michael Koch  <konqueror@gmx.de>
2146
2147         * javax/swing/plaf/basic/BasicTextAreaUI.java
2148         (create): New method.
2149         * javax/swing/text/DefaultHighlighter.java
2150         (DefaultHighlightPainter.debugRect): Removed.
2151         * javax/swing/text/StyleContext.java
2152         (DEFAULT_STYLE): New field.
2153
2154 2004-08-31  Michael Koch  <konqueror@gmx.de>
2155
2156         * javax/swing/plaf/basic/BasicLookAndFeel.java
2157         (initComponentDefaults): Add keybindings for selection.backward and
2158         selection-forward for text components.
2159         * javax/swing/plaf/basic/BasicTextUI.java
2160         (paintSafely): Paint highlight only when something is actually
2161         selected.
2162         * javax/swing/text/DefaultCaret.java
2163         (handleHighlight): New method.
2164         (setSelectionVisible): Don't do anything when nothing changes.
2165         Handle highlight.
2166         (moveDot): Reimplemented. Handle highlight.
2167         (setDot): Set mark too. Handle highlight.
2168         (getSelectionPainter): New method.
2169         * javax/swing/text/DefaultEditorKit.java
2170         (defaultActions): Added new actions for text selection.
2171         * javax/swing/text/DefaultHighlighter.java
2172         (DefaultHighlightPainter): New inner class.
2173         (DefaultPainter): New field.
2174         (paint): Implemented.
2175         * javax/swing/text/PlainView.java
2176         (paint): Don't draw background here again.
2177         * javax/swing/text/Utilities.java
2178         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2179         (drawTabbedText): Likewise.
2180
2181 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2182
2183         * javax/swing/JComponent.java
2184         (resetKeyboardActions): Add null checks.
2185
2186 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2187
2188         * javax/swing/DefaultButtonModel.java:
2189         Skip group notification when no group is set.
2190
2191 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2192
2193         * javax/swing/JColorChooser.java: 
2194         Make a couple inner classes static, for jikes.
2195
2196 2004-08-31  Michael Koch  <konqueror@gmx.de>
2197
2198         * javax/swing/plaf/basic/BasicTextUI.java
2199         (RottView.modelToView): New method.
2200         (UpdateHandler): Renamed from EventHandler.
2201         (updateHandler): Renamed from eventHandler.
2202         (modelToView): Implemented.
2203         * javax/swing/text/AbstractDocument.java
2204         (BranchElement.getElement): Return null for non-existing indeces.
2205         (BranchElement.getElementIndex): Return 0 in some corner cases.
2206         * javax/swing/text/FieldView.java
2207         (modelToView): New method.
2208         * javax/swing/text/PlainView.java
2209         (modelToView): Made public.
2210
2211 2004-08-31  Kim Ho  <kho@redhat.com>
2212
2213         * Makefile.am: New files.
2214         * Makefile.in: Regenerate.
2215         * gcj/Makefile.in: Regenerate.
2216         * include/Makefile.in: Regenerate.
2217         * java/awt/Color.java: Fix documentation.
2218         (RGBtoHSB): Use floats for conversions.
2219         * javax/swing/ButtonGroup.java: Run Jalopy.
2220         (setSelected): Reimplement.
2221         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2222         (changeState): Let ButtonGroup know that the button 
2223         is changing state.
2224         * javax/swing/JColorChooser.java: Implement.
2225         * javax/swing/JLabel.java: Run Jalopy.
2226         * javax/swing/JSpinner.java: Run Jalopy.
2227         (setValue): New method.
2228         * javax/swing/JTabbedPane.java: Run Jalopy.
2229         (removeTabAt): Call correct remove method.
2230         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2231         (getPreviousValue): Compare minimum value.
2232         * javax/swing/Timer.java: Run Jalopy.
2233         (run): Comment out println.
2234         * javax/swing/ToolTipManager.java:
2235         (mouseMoved): Get new tooltip text for location.
2236         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2237         Jalopy and Javadoc.
2238         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2239         Implement.
2240         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2241         Run Jalopy.
2242         (setSelectedColor): Fire ChangeEvent.
2243         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2244         New file. Implement.
2245         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2246         Ditto.
2247         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2248         Ditto.
2249         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2250         Ditto.
2251         * javax/swing/plaf/basic/BasicArrowButton.java:
2252         (getArrow): Fix size of upward pointing button.
2253         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2254         Implement.
2255         * javax/swing/plaf/basic/BasicSliderUI.java:
2256         (getWidthOfWidestLabel): Use preferred dimensions.
2257         (getHeightOfTallestLabel): Ditto.
2258         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2259         Run Jalopy.
2260         (mousePressed): Disable changes to spinner if it is not enabled.
2261         * testsuite/Makefile.in: Regenerate.
2262
2263
2264 2004-08-31  Michael Koch  <konqueror@gmx.de>
2265
2266         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2267         javax/swing/plaf/basic/BasicTableUI.java:
2268         Added copyright notice.
2269
2270 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2271
2272         * Makefile.am: Added new files.
2273         * Makefile.in: Regenerate.
2274         * javax/swing/ComboBoxEditor.java: Added javadocs.
2275         * javax/swing/ComboBoxModel.java: Likewise.
2276         * javax/swing/DefaultComboBoxModel.java: Implemented.
2277         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2278         and ran through jalopy to fix formatting style.
2279         (getListCellRendererComponent): Use appropriate border
2280         if renderer has focus and use noFocusBorder when it doesn't.
2281         * javax/swing/JComboBox.java: Implemented.
2282         * javax/swing/JList.java:
2283         (locationToIndex): New Method. Implemented.
2284         (indexToLocation): New Method.
2285         * javax/swing/JPopupMenu.java: 
2286         (visible): New field.
2287         (isVisible): Changed to use new field above.
2288         (setVisible): Likewise.
2289         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2290         * javax/swing/plaf/basic/BasicArrowButton.java: 
2291         (shadow): Changed default color to Color.gray.
2292         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2293         UI delegate for JComboBox.
2294         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2295         Popup menu containing list of JComboBox's items.
2296         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2297         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2298         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2299         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2300         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2301         (popupMenuWillBecomeVisible): Set selected path to the first
2302         element only if it is of type MenuElement. Also fix formatting
2303         style.
2304         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2305         methods signatures.
2306         
2307 2004-08-31  Michael Koch  <konqueror@gmx.de>
2308
2309         * javax/swing/text/AbstractDocument.java
2310         (createBranchElement): Use new constructor of BranchElement.
2311         (createLeafElement): Renamed arguments.
2312         (getRootElements): Implemented.
2313         (BranchElement.start): Removed.
2314         (BranchElement.end): Likewise.
2315         (BranchElement.BranchElement): Fixed arguments.
2316         (BranchElement.getEndOffset): Reimplemented.
2317         (BranchElement.getStartOffset): Likewis.
2318         * javax/swing/text/DefaultCaret.java
2319         (paint): Draw simple vertical line as caret instead of a rectangle.
2320         * javax/swing/text/JTextComponent.java
2321         (setText): Use doc directly.
2322         * javax/swing/text/PlainView.java
2323         (nextTabStop): Implemented.
2324         * javax/swing/text/Utilities.java
2325         (drawTabbedText): nextTabStop() returns an absolute x position.
2326         (getTabbedTextWidth): Likewise.
2327
2328 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2329
2330         * java/awt/Component.java 
2331         (isFocusTraversable): Predicate on isLightweight()
2332         (setFocusable): Set isFocusTraversableOverridden.
2333         (requestFocus): Predicate peer dispatch on !isLightweight()
2334         (requestFocusInWindow): Likewise.
2335         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2336         * java/awt/Container.java
2337         (dispatchEventImpl): Predicate on event mask.
2338         (LightweightDispatcher): Remove focus machinery.
2339         * java/awt/DefaultFocusTraversalPolicy.java
2340         (accept): Expand predicate to include isFocusable(). 
2341         * java/awt/DefaultKeyboardFocusManager.java:
2342         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2343         * java/awt/KeyboardFocusManager.java
2344         (redispatchEvent): Synchronize on event to prevent feedback.
2345         * javax/swing/AbstractButton.java
2346         (ButtonFocusListener): Remove class.
2347         (init): Set focusPainted, focusable.
2348         * javax/swing/ActionMap.java (get): Check parent for null. 
2349         * javax/swing/InputMap.java (get): Likewise. 
2350         * javax/swing/JComponent.java
2351         (inputMap_whenFocused): New InputMap.
2352         (inputMap_whenAncestorOfFocused): Likewise.
2353         (inputMap_whenInFocusedWindow): Likewise.
2354         (getActionForKeyStroke): Rewrite.
2355         (getConditionForKeystroke): Likewise.
2356         (ActionListenerProxy): New private class.
2357         (setInputMap): Implement.
2358         (getInputMap): Likewise.
2359         (setActionMap): Likewise.
2360         (getActionMap): Likewise.
2361         (processComponentKeyEvent): New empty method.
2362         (processKeyEvent): Implement.
2363         (processKeyBinding): Likewise.
2364         (resetKeyboardActions): Rewrite.
2365         * javax/swing/KeyStroke.java: Rewrite.
2366         * javax/swing/SwingUtilities.java
2367         (notifyAction): Implement.
2368         (replaceUIActionMap): Likewise.
2369         (replaceUIInputMap): Likewise.
2370         * javax/swing/plaf/basic/BasicButtonListener.java
2371         (focusGained): Implement.
2372         (focusLost): Repaint if focusPainted().
2373         (installKeyboardActions): Install pressed / released actions.
2374         (uninstallKeyboardActions): Implement.
2375         * javax/swing/plaf/basic/BasicButtonUI.java
2376         (focusColor): New field.
2377         (installDefaults): Load focus color, install input map.
2378         (installKeyboardActions): Implement.
2379         (uninstallKeyboardActions): Likewise.
2380         (paintFocus): Rewrite.
2381         * javax/swing/plaf/basic/BasicLookAndFeel.java
2382         (Button.focus): New default, midPurple. 
2383         * javax/swing/plaf/basic/BasicTextUI.java
2384         (kit): Make static.
2385         (installUI): Get doc from kit, load defaults.
2386         (getKeymapName): Implement.
2387         (createKeymap): Likewise.
2388         (installKeyboardActions): Likewise.
2389         (getInputMap): Likewise.
2390         (getActionMap): Likewise.
2391         (createActionMap): Likewise.
2392         * javax/swing/text/AbstractDocument.java
2393         (getStartPosition): Implement.
2394         (getEndPosition): Likewise.
2395         * javax/swing/text/DefaultEditorKit.java
2396         (CopyAction): New class.
2397         (CutAction): Likewise.
2398         (DefaultKeyTypedAction): Likewise.
2399         (InsertBreakAction): Likewise.
2400         (InsertContentAction): Likewise.
2401         (InsertTabAction): Likewise.
2402         (PasteAction): Likewise.
2403         (defaultActions): New static table.
2404         (createCaret): Implement.
2405         (getActions): Likewise.
2406         * javax/swing/text/JTextComponent.java
2407         (KeymapWrapper): New private class.
2408         (KeymapActionMap): Likewise.
2409         (DefaultKeymap): New class.
2410         (keymaps): New static table.
2411         (keymap): New field.
2412         (getKeymap): Implement.
2413         (removeKeymap): Likewise.
2414         (addKeymap): Likewise.
2415         (setKeymap): Likewise.
2416         (loadKeymap): Likewise.
2417         (getActions): Likewise.
2418         (margin): New field.
2419         (JTextComponent): Build and install default keymap.
2420         * javax/swing/text/TextAction.java
2421         (textAction): Call super properly.
2422         (getTextComponent): Implement.
2423         * javax/swing/text/Utilities.java
2424         (drawTabbedText): Adjust position by ascent.
2425
2426 2004-08-31  David Jee  <djee@redhat.com>
2427
2428         PR AWT/17156
2429
2430         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2431         (setEnabled): Make it a native method.
2432         * java/awt/DefaultKeyboardFocusManager.java
2433         (postProcessKeyEvent): Only post event if the menu item
2434         is active.
2435         * java/awt/MenuItem.java:
2436         Private field 'enabled' should be true by default.
2437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2438         (setEnabled): New function.
2439
2440 2004-08-31  David Jee  <djee@redhat.com>
2441
2442         PR AWT/17059
2443
2444         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2445         (nativeSetHelpMenu): New native method declaration.
2446         (addHelpMenu): Call nativeSetHelpMenu().
2447         (addMenu): Remove.
2448         * java/awt/MenuBar.java
2449         (setHelpMenu): Call addNotify() on the new help menu.
2450         (add): Call addNotify() on the new menu.
2451         (addNotify): Set the help menu if one exists.
2452         * java/awt/peer/MenuBarPeer.java
2453         (addMenu): Remove.
2454         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2455         (nativeSetHelpMenu): New method.
2456
2457 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2458
2459         * Makefile.am: Add new files.
2460         * Makefile.in: Regenerate.
2461         * javax/swing/Box.java: Fix setting of layout in ctor.
2462         * javax/swing/JScrollPane.java: Scroll headers as well.
2463         * javax/swing/JTable.java: Reimplement.
2464         * javax/swing/JViewPort.java: Only add non-null children.
2465         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2466         * javax/swing/Timer.java: Fix stopping null waker.
2467         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2468         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2469         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2470         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2471         * javax/swing/table/DefaultTableModel.java: Clean up.
2472         * javax/swing/table/JTableHeader.java: Implement.
2473
2474 2004-08-31  Mark Wielaard  <mark@klomp.org>
2475
2476         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2477         semi-colon.
2478
2479 2004-08-31  Mark Wielaard  <mark@klomp.org>
2480
2481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2482         Declare variables at top of functions/block.
2483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2484
2485 2004-08-31  Mark Wielaard  <mark@klomp.org>
2486
2487         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2488         first.
2489
2490 2004-08-31  Michael Koch  <konqueror@gmx.de>
2491
2492         * javax/swing/text/PlainView.java
2493         (selectedColor): New field.
2494         (unselectedColor): Likewise.
2495         (font): Likewise.
2496         (updateMetrics): New method.
2497         (lineToRect): Likewise.
2498         (modelToView): Likewise.
2499         (drawSelectedText): Use color from JTextComponent ad draw with
2500         Utilities class.
2501         (drawUnselectedText): Likewise.
2502         (paint): Initialize helper fields.
2503         * javax/swing/text/View.java
2504         (getChildAllocation): New method.
2505         (getViewIndex): Likewise.
2506         (getToolTipText): Likewise.
2507
2508 2004-08-31  Michael Koch  <konqueror@gmx.de>
2509
2510         * javax/swing/text/Utilities.java
2511         (drawTabbedText): Reimplemented.
2512         (getTabbedTextWidth): Likewise.
2513
2514 2004-08-31  Michael Koch  <konqueror@gmx.de>
2515
2516         * javax/swing/plaf/basic/BasicTextUI.java
2517         (installDefaults): Install caret and highlighter.
2518         (modelToView): Use Bias.Forward when calling sibling.
2519         * javax/swing/text/AbstractDocument.java
2520         (ElementEdit): Implements DocumentEvent.ElementChange.
2521         (ElementEdit.ElementEdit): New method.
2522         (ElementEdit.getChildrenAdded): Likewise.
2523         (ElementEdit.getChildrenRemoved): Likewise.
2524         (ElementEdit.getElement): Likewise.
2525         (ElementEdit.getIndex): Likewise.
2526         * javax/swing/text/DefaultCaret.java
2527         (color): Removed.
2528         (textComponent): Renamed from parent, made private.
2529         (selectionVisible): Renamed from vis_sel, made private.
2530         (blinkRate): Renamed from blink, made private.
2531         (magicCaretPosition): Renamed from magic, made private.
2532         (visible): Renamed from vis, made private.
2533         (dot): Made private.
2534         (mark): Likewise.
2535         (deinstall): Remove as MouseMotionListener.
2536         (install): Initialize textComponent first. Add as MouseMotionListener.
2537         (paint): Reimplemented.
2538         * javax/swing/text/JTextComponent.java
2539         (setCaret): Deinstall old caret, install new one and fire property
2540         change after setting property.
2541         (setHighlighter): Deinstall old highlighter, install new one and fire
2542         property change after setting property.
2543         (setCaretColor): Fire property change after setting property.
2544         (setDisabledTextColor): Likewise.
2545         (setSelectedTextColor): Likewise.
2546         (setSelectionColor): Likewise.
2547         (modelToView): New method.
2548
2549 2004-08-31  Michael Koch  <konqueror@gmx.de>
2550
2551         * javax/swing/text/AbstractDocument.java
2552         (getText): Simplified.
2553         * javax/swing/text/Segment.java
2554         (current): New field.
2555         (current): Reimplemented.
2556         (first): Likewise.
2557         (getIndex): Likewise.
2558         (last): Likewise.
2559         (next): Likewise.
2560         (previous): Likewise.
2561         (setIndex): Likewise.
2562
2563 2004-08-31  Michael Koch  <konqueror@gmx.de>
2564
2565         * javax/swing/plaf/basic/BasicButtonUI.java
2566         (defaultTextIconGap): Made protected.
2567         (defaultTextShiftOffset): Likewise.
2568         (textShiftOffset): New field.
2569         (clearTextShiftOffset): New method.
2570         (getTextShiftOffset): Likewise.
2571         (setTextShiftOffset): Likewise.
2572
2573 2004-08-31  Michael Koch  <konqueror@gmx.de>
2574
2575         * javax/swing/plaf/basic/BasicTextUI.java
2576         (installUI): Add eventHandler as property listener.
2577         (uninstallUI): remove eventHandler as propert listener.
2578         (installDefaults): Added comment.
2579         (installListeners): Likewise.
2580         (installKeyboardActions): Likewise.
2581         (uninstallDefaults): Likewise.
2582         (uninstallListeners): Likewise.
2583         (uninstallKeyboardActions): Likewise.
2584
2585 2004-08-31  Michael Koch  <konqueror@gmx.de>
2586
2587         * javax/swing/text/AbstractDocument.java:
2588         Fixed some typos in comments.
2589         (insertString): Reimplemented.
2590         (remove): Likewise.
2591         (replace): New method.
2592         (children): Dont use fully qualified class name.
2593         (DefaultDocumentEvent.offset): Renamed from off.
2594         (DefaultDocumentEvent.length): Renamed from len.
2595         (DefaultDocumentEvent.type): New field.
2596         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2597         (DefaultDocumentEvent.getType): Implemented.
2598
2599 2004-08-31  Michael Koch  <konqueror@gmx.de>
2600
2601         * javax/swing/plaf/basic/BasicTextUI.java
2602         (RootView.textComponent): Removed.
2603         (RootView.RootView): Don't initialize textComponent.
2604         (RootView.getViewFactory): New method.
2605         (EventHandler): New inner class.
2606         (rootView): Initialize at instance creation.
2607         (eventHandler): New field.
2608         (installUI): Don't create view hierarchy directly,
2609         call modelChanged() instead.
2610         (modelChanged): New method.
2611         * javax/swing/text/JTextComponent.java
2612         (setDocument): Fire property change event.
2613
2614 2004-08-31  Michael Koch  <konqueror@gmx.de>
2615
2616         * javax/swing/plaf/basic/BasicTextUI.java
2617         (RootView.paint): Removed debug output.
2618         (paintSafely): Draw highlighter before text.
2619         (paintBackground): Use background color of text component.
2620         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2621         Reformatted.
2622
2623 2004-08-31  Michael Koch  <konqueror@gmx.de>
2624
2625         * javax/swing/plaf/basic/BasicToolBarUI.java
2626         (BasicToolBarUI): Fixed arguments for constructor.
2627         (createUI): Fixed creation of object.
2628
2629 2004-08-31  Michael Koch  <konqueror@gmx.de>
2630
2631         * javax/swing/DefaultListSelectionModel.java
2632         (fireValueChanged): Renamed from fireSelectionValueChanged,
2633         made protected.
2634
2635 2004-08-31  Michael Koch  <konqueror@gmx.de>
2636
2637         * javax/swing/text/TabSet.java
2638         (TabSet): Implements java.io.Serializable.
2639         * javax/swing/text/TabStop.java
2640         (TabStop): Implements java.io.Serializable.
2641         (TabStop): Made public.
2642
2643 2004-08-31  Michael Koch  <konqueror@gmx.de>
2644
2645         * javax/swing/JComponent.java
2646         (setUI): Fire PropertyChange.
2647         * javax/swing/JLabel.java
2648         (text): Renamed from labelText.
2649         (horizontalAlignment): New default vlaue.
2650         (icon): Renamed from activeIcon.
2651         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2652         (displayedMnemonicIndex): Renamed from underlineChar.
2653         (setDisplayedMnemonic): Reimplemented.
2654         * javax/swing/JRadioButton.java
2655         (JRadioButton): New constructors.
2656         * javax/swing/JTextField.java
2657         (JTextField): Throw exception if colums < 0, initialitialz
2658         this.columns directly and initialize document with text conditionally.
2659
2660 2004-08-31  Michael Koch  <konqueror@gmx.de>
2661
2662         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2663         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2664         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2665         * javax/swing/text/FieldView.java
2666         (paint): Just call super method for now.
2667         * Makefile.am: Added new files.
2668         * Makefile.in: Regenerated.
2669
2670 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2671
2672         * javax/swing/AbstractSpinnerModel.java,
2673         javax/swing/JSpinner.java,
2674         javax/swing/SpinnerNumberModel.java,
2675         javax/swing/plaf/basic/BasicSpinnerUI.java:
2676         New files.
2677         * javax/swing/plaf/basic/BasicLookAndFeel.java
2678         (initClassDefaults): Added defaults for BasicSpinnerUI.
2679
2680 2004-08-31  Michael Koch  <konqueror@gmx.de>
2681
2682         * Makefile.am: Added new files.
2683         * Makefile.in: Regenerated.
2684
2685 2004-08-31  Michael Koch  <konqueror@gmx.de>
2686
2687         * javax/swing/TransferHandler.java,
2688         javax/swing/plaf/basic/ComboPopup.java: New files
2689         * Makefile.am: Added javax/swing/TransferHandler.java and
2690         javax/swing/plaf/basic/ComboPopup.java
2691         * Makefile.in: Regenerated.
2692
2693 2004-08-31  Roman Kennke  <roman@ontographics.com>
2694
2695         * javax/swing/text/Utilities.java: New file.
2696
2697 2004-08-31  Michael Koch  <konqueror@gmx.de>
2698
2699         * Makefile.am: Added javax/swing/text/Utilities.java.
2700         * Makefile.in: Regenerated.
2701
2702 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2703
2704         * javax/swing/text/SimpleAttributeSet.java: New file.
2705         * javax/swing/text/StyleConstants.java: New file.
2706         * javax/swing/text/StyleContext.java: New file.
2707         * javax/swing/text/TabSet.java: New file.
2708         * javax/swing/text/TabStop.java: New file.
2709         * javax/swing/text/AbstactDocument.java:
2710         (AbstractElement): Implement attribute support.
2711         * javax/swing/text/AttributeSet.java
2712         (NameAttribute): New static field.
2713         (ResolveAttribute): New static field.
2714         * Makefile.am: Update for new files.
2715         * Makefile.in: Regenerate.
2716
2717 2004-08-31  Craig Black  <craig.black@aonix.com>
2718
2719         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2720         (drawImage): Add support for scaling pixmaps.
2721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2722         (copyAndScalePixmap): New native method.
2723  
2724 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2725
2726         PR AWT/16121
2727         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2728         type-punning compiler warnings using unions.
2729         (throw): Replace bzero with memset.
2730
2731 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2732             Thomas Fitzsimmons  <fitzsim@redhat.com>
2733
2734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2735         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2736         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2738         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2739
2740 2004-08-31  Mark Wielaard  <mark@klomp.org>
2741
2742         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2743         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2744         and stdlib.h, not gtkpeer.h.
2745         (*vm): New static variable.
2746         (areaPreparedID): Make static.
2747         (areaUpdatedID): Likewise.
2748         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2749         (area_prepared): Likewise.
2750         (area_updated): Likewise.
2751         (closed): Likewise.
2752         (initStaticState): Initialize *vm javaVM.
2753         (pumpBytes): Use given env, not global gdk_env.
2754
2755 2004-08-31  Mark Wielaard  <mark@klomp.org>
2756
2757         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2758         comments.
2759
2760 2004-08-31  Sven de Marothy  <sven@physto.se>
2761
2762         * java/awt/geom/CubicCurve2D.java: Reindent.
2763         (contains): Implemented.
2764         (intersects): Implemented.
2765         * java/awt/geom/QuadCurve2D.java: Likewise.
2766         * java/awt/geom/GeneralPath.java: Reindent and document.
2767         Fully (re)implemented using separate xpoints and ypoints
2768         float[] coords.
2769         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2770
2771 2004-08-31  Michael Koch  <konqueror@gmx.de>
2772
2773         * javax/swing/JMenuItem.java
2774         (getMenuDragMouseListeners): New method.
2775         (getMenuKeyListeners): Likewise.
2776
2777 2004-08-31  Michael Koch  <konqueror@gmx.de>
2778
2779         * javax/swing/AbstractButton.java
2780         (model): Made protected.
2781         (actionListener): Likewise.
2782         (changeListener): Likewise.
2783         (itemListener): Likewise.
2784         (multiClickThreshhold): New field.
2785         (getActionListeners): New method.
2786         (getChangeListeners): Likewise.
2787         (getItemListeners): Likewise.
2788         (fireItemStateChanged): Simplified implementation.
2789         (fireActionPerformed): Likewise.
2790         (fireStateChanged): Likewise.
2791         (getMultiClickThreshhold): New method.
2792         (setMultiClickThreshhold): Likewise.
2793
2794 2004-08-31  Tom Tromey  <tromey@redhat.com>
2795
2796         * java/awt/image/Kernel.java (clone): Use super.clone().
2797
2798 2004-08-31  David Jee  <djee@redhat.com>
2799
2800         PR AWT/16682
2801         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2802         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2803         (nativeSetIconImageFromData): New native method declaration.
2804         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2805         * gnu/java/awt/peer/gtk/GtkImage.java
2806         (getPixelCache): New method.
2807         (getColorModel): New method.
2808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2809         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2810         (free_pixbuf_data): New helper function.
2811         (nativeSetIconImageFromData): New function.
2812
2813 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2814
2815         PR SWING/16576
2816         * javax/swing/JLayeredPane.java 
2817         (setLayer): Permit changing layer after addition.
2818         (setPosition): Permit over-length positions.
2819         (layerToRange): Compare intValue()s.
2820         * javax/swing/Box.java (createHorizontalBox): Implement.
2821         (createRigidArea): Likewise.
2822         (createVerticalBox): Likewise.
2823
2824 2004-08-31  Kim Ho  <kho@redhat.com>
2825
2826         * java/awt/Component.java:
2827         (processMouseEvent): Consume event after
2828         listeners process it.
2829         (processMouseMotionEvent): ditto.
2830         (processMouseWheelEvent): ditto.
2831         * java/awt/Container.java:
2832         (acquireComponentForMouseEvent):
2833         Do not dispatch to events that have been
2834         removed from the Container.
2835         (handleEvent): Consume the MouseEvents.
2836         * javax/swing/RepaintManager.java:
2837         (paintDirtyRegions): Do not add to list of 
2838         damaged areas if the component has no root.
2839
2840 2004-08-31  Michael Koch  <konqueror@gmx.de>
2841
2842         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2843
2844 2004-08-31  Mark Wielaard  <mark@klomp.org>
2845
2846         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2847         null when a MissingResourceException is thrown. Should never happen.
2848
2849 2004-08-31  Mark Wielaard  <mark@klomp.org>
2850
2851         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2852         when argument is null.
2853
2854 2004-08-31  Mark Wielaard  <mark@klomp.org>
2855
2856         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2857         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2858         Define hid at start of function.
2859         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2860         Likewise.
2861
2862 2004-08-31  Mark Wielaard  <mark@klomp.org>
2863
2864         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2865         * javax/swing/JButton.java: Reindent.
2866         * javax/swing/JCheckBox.java: Reindent.
2867
2868 2004-08-31  Mark Wielaard  <mark@klomp.org>
2869
2870         * Makefile.am (gtk_c_source_files): Added
2871         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2872         (gtk_awt_peer_sources): Added
2873         gnu/java/awt/peer/gtk/GThreadMutex.java and
2874         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2875         * Makefile.in: Regenerated.
2876
2877 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2878
2879         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2880
2881 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2882
2883         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2884         Added jfieldID, jmethodID.
2885
2886 2004-08-31  Mark Wielaard  <mark@klomp.org>
2887
2888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2889         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2890         gdk_env before calling any gdk or gtk function.
2891
2892         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2893         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2894         (run): Set gtkInitCalled.
2895
2896 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2897
2898         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2899         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2900
2901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2902         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2903         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2904         init_glib_threads. 
2905         (init_glib_threads): New function.
2906
2907 2004-08-31  Mark Wielaard  <mark@klomp.org>
2908
2909         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2910         PRIORITY when not already defined in header file.
2911
2912 2004-08-31  Mark Wielaard  <mark@klomp.org>
2913
2914         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2915         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2916
2917 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2918
2919         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2920         Implemented missing functions for GTK2.
2921         Added error handling.
2922         Renamed static functions out of the g_ namespace.
2923         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2924         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2925         Rewrote global-reference code.
2926         Eliminated cascading errors.
2927         (mutex_trylock_jni_impl) Fully implemented.
2928         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2929         resolution.
2930         (setup_cache) New function.
2931         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2932         bug where they were not unlocking the GMutex associated with the
2933         condition variable during the wait on that condition variable.
2934
2935         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2936         native/jni/gtk-peer/gthread-jni.c,
2937         native/jni/gtk-peer/gthread-jni.h
2938         (g_thread_jni_functions): Renamed to ...
2939         (portable_native_sync_jni_functions): this name.
2940         (gdk_vm): Renamed to...
2941         (the_vm): this name.
2942
2943         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2944         (gdk_vm): Removed duplicate definition.
2945         (gtkInit): Removed stray message to stdout.
2946         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2947         (gtkInit): Fix a const assignment bug.
2948         (gtkInit): Simplified code.
2949
2950         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2951         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2952         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2953         gnu/java/awt/peer/gtk/GThreadMutex.java:
2954         New files.
2955
2956 2004-08-31  Mark Wielaard  <mark@klomp.org>
2957
2958         * javax/swing/Box.java: Put FIXME comment above class declaration.
2959         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2960         * javax/swing/JCheckBox.java: Likewise.
2961         * javax/swing/JDialog.java: Likewise.
2962         * javax/swing/JRadioButton.java: Likewise.
2963         * javax/swing/JToggleButton.java: Likewise.
2964         * javax/swing/UIManager.java: Likewise.
2965         * javax/swing/border/TitledBorder.java: Likewise.
2966         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2967         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2968         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2969         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2970         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2971         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2972         * javax/swing/text/JTextComponent.java: Likewise.
2973
2974 2004-08-31  David Jee  <djee@redhat.com>
2975
2976         PR AWT/16682
2977         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2978         (setIconImage): Add a FIXME for unhandled cases.
2979
2980 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2981
2982         PR AWT/16040
2983         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2984         getModifiers.  Replace old button masks with new ones.
2985         * gnu/awt/xlib/XEventLoop.java: Likewise.
2986         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2987         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2988         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2989         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2990         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2991         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2992         * java/awt/Component.java: Replace old modifier masks with new
2993         ones.
2994         * java/awt/Container.java: Call getModifiersEx, not
2995         getModifiers.
2996         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2997         old modifier masks.
2998         * javax/swing/JMenuItem.java: Replace old button masks with new
2999         ones.
3000         * javax/swing/KeyStroke.java: Call getModifiersEx, not
3001         getModifiers.
3002         * javax/swing/SwingUtilities.java: Likewise.
3003         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3004         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3006         mask macros with new ones.
3007         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3008         macros with new ones representing new masks.
3009
3010 2004-08-31  Craig Black  <craig.black@aonix.com>
3011
3012         * gnu/java/awt/peer/gtk/GdkGraphics.java
3013         (drawRoundRect): Implemented.
3014         (fillRoundRect): Implemented.
3015         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3016         (drawRoundRect): Reimplemented to match GdkGraphics.
3017         (fillRoundRect): Reimplemented to match GdkGraphics.
3018
3019 2004-08-31  Mark Wielaard  <mark@klomp.org>
3020
3021         * Makefile.in: Regenerated.
3022
3023 2004-08-31  Michael Koch  <konqueror@gmx.de>
3024
3025         * gnu/java/awt/EmbeddedWindow.java
3026         (addNotify): Use AccessController to allow execution of privileged
3027         code.
3028
3029 2004-08-31  Michael Koch  <konqueror@gmx.de>
3030
3031         * gnu/java/awt/EmbeddedWindow.java
3032         (static): Removed.
3033         (addNotify): Set peer via reflection.
3034         (setWindowPeer): Removed.
3035         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3036         * Makefile.am (nat_source_files):
3037         Removed gnu/java/awt/natEmbeddedWindow.cc.
3038
3039 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3040
3041         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
3042         and gnu/java/security/action/SetAccessibleAction.java.
3043
3044 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3045
3046         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3047         Renamed from 'setName'. New 2-argument form with default value.
3048         (run): Pass default 'value' parameter to System.getProperty().
3049         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3050         typos.
3051
3052 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3053
3054         * gnu/java/security/action/GetPropertyAction.java: New class.
3055         * gnu/java/security/action/SetAccessibleAction.java: New class.
3056
3057 2004-08-31  David Jee  <djee@redhat.com>
3058
3059         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3060         (setIconImage): Check if image is null.
3061
3062 2004-08-31  David Jee  <djee@redhat.com>
3063
3064         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3065         (create): Set the icon image.
3066         (nativeSetIconImage): New native method declaration.
3067         (setIconImage): Implement.
3068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3069         (nativeSetIconImage): New function.
3070
3071 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3072
3073         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3074         (filenameFilterCallback): Declare local variable accepted before use.
3075
3076 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3077
3078         * gnu/java/awt/ComponentDataBlitOp.java:
3079         Cleaned up imports.
3080
3081 2004-08-31  Tom Tromey  <tromey@redhat.com>
3082
3083         * gnu/java/awt/peer/GLightweightPeer.java,
3084         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3085         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3086         javax/swing/JScrollPane.java: Removed
3087         redundant imports.
3088
3089 2004-08-31  David Jee  <djee@redhat.com>
3090
3091         * java/awt/DefaultKeyboardFocusManager.java
3092         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3093         event.  Fix shift modifier checking.
3094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3095         (accel_attach): Remove.
3096         (setupAccelGroup): Remove calls to accel_attach.
3097
3098 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3099
3100         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3101         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3102
3103         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3104         GtkArgList.java.
3105         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3106         * Makefile.in: Regenerate.
3107         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3108         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3109         (create(String)): New method.
3110         (create): Call new create method.
3111         (getArgs): Remove method.
3112         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3113         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
3114         (nativeCreate): Rename to create.
3115         (gtkSetLabel): Rename to gtkButtonSetLabel.
3116         (gtkToggleButtonSetActive): New method.
3117         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3118         (setState): Replace set call with gtkToggleButtonSetActive.
3119         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3120         (getArgs): Remove method.
3121         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3122         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3123         (gtkWidgetSetSensitive): New method.
3124         (gtkWidgetSetParent): Likewise.
3125         (GtkComponentPeer): Call setParent, setComponentBounds and
3126         setVisibleAndEnabled.
3127         (setParent): New method.
3128         (setComponentBounds): New method.
3129         (setVisibleAndEnabled): New method.
3130         (setEnabled): Call gtkWidgetSetSensitive.
3131         (getArgs): Remove method.
3132         Remove all set methods.
3133         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3134         gtkWindowSetModal, setTitle and setResizable.
3135         (getArgs): Remove method.
3136         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3137         (setComponentBounds): New method.
3138         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3139         Replace set call with gtkWindowSetResizable.
3140         (getArgs): Remove method.
3141         (create): Call setTitle and setResizable.
3142         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3143         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3144         (gtkWindowSetTitle): New method.
3145         (gtkWindowSetResizable): New method.
3146         (gtkWindowSetModal): New method.
3147         (setParent): New method.
3148         (setVisibleAndEnabled): New method.
3149         (getArgs): Remove method.
3150         (setTitle): Call gtkWindowSetTitle.
3151         (setResizable): Call gtkWindowSetResizable.
3152         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3153         and off locking instrumentation.
3154
3155 2004-08-31  Kim Ho  <kho@redhat.com>
3156
3157         * Makefile.am: Add new file.
3158         * Makefile.in: Regenerate.
3159         * gcj/Makefile.in: Regenerate
3160         * include/Makefile.in:
3161         * java/awt/Container.java:
3162         (acquireComponentForMouseEvent): Respect 
3163         the event mask when looking for candidate.
3164         * javax/swing/JComponent.java:
3165         Remove toolTip field.
3166         (createToolTip): Create a tooltip on demand.
3167         (setToolTipText): Register with the ToolTipManager.
3168         (getToolTipText(MouseEvent)): Return getToolTipText().
3169         * javax/swing/JToolTip.java: Implement.
3170         * javax/swing/Timer.java: Jalopy.
3171         (restart): Call stop, then start.
3172         (stop): Interrupt the timer rather than wait for
3173         the timer to come to a stop naturally.
3174         * javax/swing/ToolTipManager.java: Implement.
3175         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3176         Change ToolTip.background color.
3177         * javax/swing/plaf/basic/BasicToolTipUI.java:
3178         Implement.
3179         * testsuite/Makefile.in: Regenerate
3180
3181 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3182
3183         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3184         constructor param comments.
3185
3186 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3187
3188         * java/awt/Component.java: Document AWT 1.0 event handler
3189         methods.
3190
3191 2004-08-31  Roman Kennke  <roman@ontographics.com>
3192
3193         * javax/swing/Box.java:
3194         (createGlue): Implemented
3195         (createHorizontalGlue): Implemented
3196         (createHorizontalStrut): Implemented
3197         (createVerticalGlue): Implemented
3198         (createVerticalStrut): Implemented
3199
3200 2004-08-31  David Jee  <djee@redhat.com>
3201
3202         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3203         (GtkChoicePeer): Do not automatically select first item.
3204         (getHistory): Remove.
3205         (nativeGetSelected): New method.
3206         (nativeRemoveAll): New method.
3207         (add): Use nativeGetSelected() instead of getHistory().
3208         (remove): Likewise.
3209         (removeAll): Call nativeRemoveAll().
3210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3211         (create): Migrate to GtkComboBox.
3212         (append): Likewise.
3213         (nativeAdd): Likewise.
3214         (nativeRemove): Likewise.
3215         (select): Likewise.
3216         (nativeRemoveAll): New method.
3217         (nativeGetSelected): New method.
3218         (selection_changed): New method.
3219         (getHistory): Remove.
3220         (item_activate): Remove.
3221         (item_removed): Remove.
3222         (connect_choice_item_selectable_hook): Remove.
3223
3224 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3225
3226         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3227         variable in setEditable call.
3228
3229         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3230         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3231         (gtkWidgetSetBackground): New method.
3232         (gtkWidgetSetForeground): Likewise.
3233         (create): Set peer's editable state based on awtComponent's.
3234
3235         * java/awt/Button.java (Button()): Use empty string rather than
3236         null in no-label constructor.
3237
3238 2004-08-31  Roman Kennke  <roman@ontographics.com>
3239
3240         * javax/swing/BoxLayout.java: Reimplement.
3241
3242 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3243
3244         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3245         gnu_java_awt_peer_gtk_GdkGraphics.c
3246         (initState(GtkComponentPeer)): Don't return array of colour
3247         values.
3248         (GdkGraphics(int,int)): Set default font to size 12.
3249         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3250         component's foreground colour.
3251         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3252         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3253         (initState(GtkComponentPeer)): Don't return array of colour
3254         values.
3255         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3256         colours to component's colours.
3257         (current_colors_of_widget): Remove function.
3258         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3259         Return a new graphics object.
3260         * java/awt/Font.java (toString): Fix format.
3261         * java/awt/Graphics.java (toString): Likewise.
3262
3263 2004-08-31  Craig Black  <craig.black@aonix.com>
3264
3265         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3266         (addTearOff): New function.
3267         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3268         New native method.
3269         (init): Call addTearOff() when menu.isTearOff().
3270
3271 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3272
3273         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3274         Default implementation.
3275         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3276         Implement using GdkPixbufDecoder.
3277
3278 2004-08-31  David Jee  <djee@redhat.com>
3279
3280         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3281         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3282         setting the size of GtkFileDialogPeers.
3283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3284         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3285         use their default sizes rather than their natural requisitions.
3286
3287 2004-08-31  Michael Koch  <konqueror@gmx.de>
3288
3289         * javax/swing/JFormattedTextField.java
3290         (JFormattedTextField): Implemented.
3291         * javax/swing/text/DefaultEditorKit.java
3292         (BeepAction): New inner class.
3293         * javax/swing/text/Segment.java
3294         (partialReturn): New field.
3295         (setPartialReturn): New method.
3296         (isPartialReturn): Likewise.
3297         * javax/swing/text/View.java
3298         (createFragment): Fixed typo.
3299         (getStartOffset): New method.
3300         (getEndOffset): Likewise.
3301
3302 2004-08-31  Michael Koch  <konqueror@gmx.de>
3303
3304         * javax/swing/table/DefaultTableColumnModel.java
3305         (serialVersionUID): Made private.
3306         (listenerList): Initialize.
3307         (changeEvent): Initialize.
3308         * javax/swing/table/JTableHeader.java
3309         (JTableHeader): New constructors.
3310         (createDefaultColumnModel): New method.
3311         * javax/swing/table/TableColumn.java
3312         (setHeaderRenderer): Simplified code.
3313         (setCellRenderer): Likewise.
3314         (setWidth): Likewise.
3315
3316 2004-08-31  Tom Tromey  <tromey@redhat.com>
3317
3318         * java/text/AttributedString.java (AttributedString): Use
3319         ArrayList to build array of attribute ranges.  Don't use
3320         `attribs' before it is set.
3321
3322 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3323
3324         * HACKING: Remove reference to special automake. No longer needed.
3325
3326 2004-08-30  Tom Tromey  <tromey@redhat.com>
3327
3328         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3329         return result from `add'.
3330
3331 2004-08-30  Tom Tromey  <tromey@redhat.com>
3332
3333         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3334
3335 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3336
3337         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3338
3339 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3340
3341         * java/io/File.java File(String,String): Fixed handling of empty
3342         path.
3343
3344 2004-08-30  Casey Marshall  <csm@gnu.org>
3345
3346         Author e-mail updated for all files.
3347         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3348         instance of OID.
3349         (compareTo): Use `equals'.
3350         * gnu/java/security/der/BitString.java (equals): Test if the
3351         argument is an instance of BitString.
3352         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3353         class final. Made fields private.
3354         (<init>): New constructor.
3355         (skip): New method.
3356         (makeString): Made static; don't use NIO.
3357         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3358         * gnu/java/security/der/DERWriter.java: Fixed imports.
3359         (writeString): Don't use NIO.
3360         (toIso88591, toUtf16Be, toUtf8): New methods.
3361         * gnu/java/security/der/DERValue.java: Formatting changes only.
3362         * gnu/java/security/der/DER.java: Likewise.
3363
3364 2004-08-30  Tom Tromey  <tromey@redhat.com>
3365
3366         * java/nio/CharBuffer.java (put): Fix typo.
3367         * java/nio/DoubleBuffer.java (put): Fix typo.
3368         * java/nio/FloatBuffer.java (put): Fix typo.
3369         * java/nio/IntBuffer.java (put): Fix typo.
3370         * java/nio/LongBuffer.java (put): Fix typo.
3371         * java/nio/ShortBuffer.java (put): Fix typo.
3372
3373 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3374
3375         * java/nio/ByteBuffer.java (put): Fix typo.
3376
3377 2004-08-30  Casey Marshall  <csm@gnu.org>
3378
3379         * java/security/DummyKeyPairGenerator.java (clone): Removed
3380         useless instanceof check.
3381         * java/security/DummyMessageDigest.java (clone): Likewise.
3382         * java/security/DummySignature.java (clone): Likewise.
3383         * java/security/MessageDigest.java (clone): Remove useless
3384         instanceof check.
3385         * java/security/MessageDigestSpi.java (clone): Likewise.
3386         * java/security/Signature.java (clone): Provide meaningful
3387         implementation.
3388         * java/security/SignatureSpi.java (clone): Likewise.
3389
3390 2004-08-29  Mark Wielaard  <mark@klomp.org>
3391
3392         * java/util/Arrays.java
3393         (sort(byte[], int, int)): Check fromIndex < 0.
3394         (sort(char[], int, int)): Likewise.
3395         (sort(short[], int, int)): Likewise.
3396         (sort(int[], int, int)): Likewise.
3397         (sort(long[], int, int)): Likewise.
3398         (sort(float[], int, int)): Likewise.
3399         (sort(double[], int, int)): Likewise.
3400         (sort(Object[], int, int, Comparator)): Likewise.
3401         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3402         (qsort(char[], int, int)): Likewise.
3403         (qsort(short[], int, int)): Likewise.
3404         (qsort(int[], int, int)): Likewise.
3405         (qsort(long[], int, int)): Likewise.
3406         (qsort(float[], int, int)): Likewise.
3407         (qsort(double[], int, int)): Likewise.
3408
3409 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3410
3411         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3412         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3413         java/util/ArrayList.java, java/util/Arrays.java,
3414         java/util/BitSet.java, java/util/Calendar.java,
3415         java/util/Collection.java, java/util/ListIterator.java,
3416         java/util/Map.java, java/util/SortedSet.java:
3417         Added additional exceptions to documentation, along
3418         with some additions and corrections.
3419
3420 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3421
3422         * configure.ac: Handle --enable-gc-debug.
3423         * configure: Regenerate.
3424         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3425         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3426         Rearrange include file order.
3427         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3428         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3429         (disable_gc_mutex): Delete along with all references.
3430         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3431         adjust for debug header size.
3432         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3433         debug case.
3434         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3435         (gcj_describe_type_fn): New.
3436         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3437         Register gcj_describe_type_fn.
3438         * include/boehm-gc.h:
3439         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3440         Don't define, but declare, for debug case.
3441         * java/lang/natObject.cc:
3442         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3443
3444 2004-08-26  Mark Wielaard  <mark@klomp.org>
3445
3446         Fixes PR libgcj/17002:
3447         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3448         a TimeZoneId string and then try to convert that to a TimeZone with
3449         getDefaultSystemTimeZone(String).
3450         (timezones0): Changed type from Hashtable to HashMap.
3451         (timezones): Create HashMap, not Hashtable.
3452         (getDefaultTimeZone): New method, rewritten from CNI version.
3453         (readTimeZoneFile): New method.
3454         (readtzFile): Likewise.
3455         (skipFully): Likewise.
3456         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3457         getDefaultTimeZoneId and rewritten.
3458         (getDefaultTimeZoneId): Rewritten in java.
3459         
3460 2004-08-25  David Daney  <daney@avtrex.com>
3461
3462         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3463         * Makefile.in: Regenerated.
3464
3465 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3466
3467         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3468         only if jvmpi is enabled.
3469         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3470         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3471         (_Jv_AllocString): Likewise.
3472         (_Jv_AllocPtrFreeObject): Likewise.     
3473
3474 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3475
3476         * defineclass.cc: Include <stdio.h>.
3477         * java/lang/natClassLoader.cc: Include <stdio.h>.
3478
3479 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3480             Michael Koch  <konqueror@gmx.de>
3481
3482         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3483         * Makefile.in: Regenerated.
3484
3485 2004-08-20  Michael Koch  <konqueror@gmx.de>
3486
3487         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3488         AC_COMPILE_IFELSE macros.
3489
3490 2004-08-20  Michael Koch  <konqueror@gmx.de>
3491
3492         * configure.in: Renamed to configure.ac.
3493         * configure.ac: New file.
3494         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3495         include/config.h.in, testsuite/Makefile.in: Regenerated.
3496
3497 2004-08-20  Michael Koch  <konqueror@gmx.de>
3498
3499         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3500         * aclocal.m4, configure: Regenerated.
3501
3502 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3503             Michael Koch  <konqueror@gmx.de>
3504
3505         * configure.in, Makefile.am: Ported to automake 1.9.
3506         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3507         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3508         Regenerated.
3509
3510 2004-08-19  Tom Tromey  <tromey@redhat.com>
3511
3512         * java/net/DatagramSocket.java: Fixed typo.
3513
3514 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3515
3516         PR libgcj/17081
3517         * java/net/URI.java (string): New field. Make all other fields
3518         transient.
3519         (readObject): Implemented.
3520         (writeObject): Implemented.
3521         (URI): Set 'string'.
3522
3523 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3524
3525         PR libgcj/17079
3526         * java/util/logging/Handler.java (isLoggable): Accept record if its
3527         log level equals the threshold level. From Robin Green.
3528
3529 2004-08-18  David Daney  <ddaney@avtrex.com>
3530
3531         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3532         instead of sigwait.
3533
3534 2004-08-17  Michael Koch  <konqueror@gmx.de>
3535
3536         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3537         * Makefile.in: Regenerated.
3538
3539 2004-08-16  Tom Tromey  <tromey@redhat.com>
3540
3541         PR java/8473:
3542         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3543
3544 2004-08-16  Michael Koch  <konqueror@gmx.de>
3545
3546         * Makefile.am
3547         (math_c_files): Renamed from c_files.
3548         (math_c_source_files): Renamed from c_source_files.
3549         * Makefile.in,
3550         gcj/Makefile.in,
3551         include/Makefile.in,
3552         testsuite/Makefile.in: Regenerated.
3553
3554 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3555
3556         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3557         to avoid autoconf warning.
3558         * configure: Rebuilt.
3559
3560 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3561
3562         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3563         localhostAddress to loopbackAddress.
3564         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3565
3566 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3567
3568         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3569         boehm-gc's include dirs.
3570         * configure: Rebuilt.
3571         * include/boehm-gc.h: Include gc_config.h.
3572
3573 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3574
3575         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3576         localhostAddress.
3577         (getByName): Return loopback address for null hostname, without
3578         security check. Use lookup(), not getAllByName.
3579         (getAllByName): Return loopback address for null hostname, without
3580         security check.
3581         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3582         check here.
3583
3584 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3585
3586         PR libgcj/17020
3587         Reported by Robin Green.
3588         * defineclass.cc (handleField): Don't throw exception on unrecognised
3589         modifier. Add FIXME comments for spec compliance.
3590         (handleMethod): Likewise.
3591
3592 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3593
3594         PR libgcj/16662
3595         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3596         (Almost everywhere): add LOG calls, fix, add comments.
3597         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3598         Add explicit check for LOCKED bit in slow case (PR 16662).
3599         (_Jv_MonitorExit): Add casts in debug-only code.
3600         Always release LOCKED bit before throwing exception.
3601         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3602         isn't.  Handle easy cases without lock acquisition.
3603         (Object::wait): Use NotifyAll for lock inflation.
3604
3605 2004-08-12  David Daney  <ddaney@avtrex.com>
3606
3607         * testsuite/libjava.lang/Process_1.java: New test.
3608         * testsuite/libjava.lang/Process_2.java: New test.
3609         * testsuite/libjava.lang/Process_3.java: New test.
3610         * testsuite/libjava.lang/Process_4.java: New test.
3611         * testsuite/libjava.lang/Process_5.java: New test.
3612         * testsuite/libjava.lang/Process_6.java: New test.
3613         * testsuite/libjava.lang/Process_1.out: Expected result.
3614         * testsuite/libjava.lang/Process_2.out: Expected result.
3615         * testsuite/libjava.lang/Process_3.out: Expected result.
3616         * testsuite/libjava.lang/Process_4.out: Expected result.
3617         * testsuite/libjava.lang/Process_5.out: Expected result.
3618         * testsuite/libjava.lang/Process_6.out: Expected result.
3619
3620 2004-08-12  David Daney  <ddaney@avtrex.com>
3621
3622         PR libgcj/11801
3623         * java/lang/PosixProcess.java: Rewrote.
3624         * java/lang/natPosixProcess.cc: Rewrote.
3625         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3626         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3627         * posix-threads.cc (block_sigchld) New function.
3628         (_Jv_ThreadRegister) Use it.
3629         (_Jv_ThreadStart) Use it.
3630         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3631         * Makefile.am: ... to specify extra native headers.
3632         * configure: Regenerated.
3633         * include/config.h: Regenerated.
3634         * Makefile.in: Regenerated.
3635         * gcj/Makefile.in: Regenerated.
3636         * include/Makefile.in: Regenerated.
3637         * testsuite/Makefile.in: Regenerated.
3638
3639 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3640
3641         PR tree-optimization/16867
3642         * testsuite/libjava.lang/PR16867.java: New test.
3643
3644 2004-08-09  Per Bothner  <per@bothner.com>
3645
3646         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3647         with private fields and access methods.
3648         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3649         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3650         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3651         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3652         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3653         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3654         * jni.cc: Likewise.
3655         * resolve.cc: Likewise.
3656         * gcj/field.h: Likewise.
3657         * include/jvm.h: Likewise.
3658         * java/lang/Class.h: Likewise.
3659         * java/lang/natClass.cc: Likwise.
3660         * java/lang/natClassLoader.cc: Likewise
3661         * java/lang/reflect/natMethod.cc: Likewise
3662         * verify.cc: Likewise.
3663         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3664         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3665
3666 2004-08-10  Andrew Haley  <aph@redhat.com>
3667
3668         * testsuite/libjava.lang/err14.java: New file.
3669         * testsuite/libjava.lang/err14.out: New file.
3670
3671 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3672
3673         * Makefile.am: Fix missing rename from x_nat_headers to 
3674         xlib_nat_headers.
3675         * Makefile.in: Regenerated.
3676
3677 2004-08-04  Andrew Haley  <aph@redhat.com>
3678
3679         * java/security/BasicPermission.java: Don't check wildcards.
3680
3681 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3682             Michael Koch  <konqueror@gmx.de>
3683
3684         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3685         * configure.in: Replaced all usages of AC_LINK_FILES by
3686         AC_CONFIG_LINKS.
3687         * aclocal.m4,
3688         configure: Regenerated.
3689
3690 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3691             Michael Koch  <konqueror@gmx.de>
3692
3693         * acconfig.h: Removed.
3694         * Makefile.am: Rename variables for xlib peer to include xlib and
3695         gtk_c_headers to gtk_jni_headers.
3696         * Makefile.in: Regenerated.
3697
3698 2004-08-04  Andrew Haley  <aph@redhat.com>
3699
3700         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3701         debugging.
3702
3703 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3704
3705         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3706         Replace most top level 'dnl' comments with '#' comments, conforming
3707         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3708         help strings.
3709         * configure: Rebuilt.
3710
3711 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3712
3713         * acinclude.m4: Include no-executables.m4.
3714         * aclocal.m4: Rebuild.
3715         * configure.in: Convert to the autoconf 2.59 version of
3716         of the no-executables hack, and also of the nonstandard CXX
3717         hack and the multilibbed CC and CXX hack.  Change prerequisite
3718         to autoconf 2.59.
3719         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3720         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3721         testsuite/Makefile.in: Regenerate.
3722
3723 2004-08-03  Tom Tromey  <tromey@redhat.com>
3724
3725         * jni.cc: Reindented.
3726
3727 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3728
3729         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3730
3731 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3732
3733         * testsuite/libjava.compile/PR16701.java: New test.
3734
3735 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3736
3737         * java/util/Collection.java, java/util/List.java,
3738         java/util/Map.java, java/util/Set.java,
3739         java/util/SortedMap.java, java/util/SortedSet.java:
3740         Added additional exceptions to documentation.
3741
3742 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3743
3744         PR libgcj/16814
3745         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3746         * configure. Regenerate.
3747         * include/win32.h: Explicitly include winsock2.h
3748         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3749         Winsock api.
3750
3751 2004-07-30  Michael Koch  <konqueror@gmx.de>
3752
3753         * java/util/zip/GZIPInputStream.java
3754         (GZIPInputStream): Increase buffer size to 4k.
3755         * java/util/zip/GZIPOutputStream.java
3756         (GZIPOutputStream): Likewise.
3757         * java/util/zip/Inflater.java
3758         (setInput): Merged formating with GNU classpath.
3759         * java/util/zip/InflaterInputStream.java
3760         (InflaterInputStream): Increase buffer size to 4k.
3761         (fill): Throw exception if stream ends early.
3762         (read): Merged endless-loop with GNU classpath.
3763         (skip): Increase buffer size to 2k.
3764
3765 2004-07-30  Michael Koch  <konqueror@gmx.de>
3766
3767         * gnu/java/awt/EmbeddedWindow.java
3768         (addNotify): Use AccessController to allow execution of privileged
3769         code.
3770
3771 2004-07-29  Michael Koch  <konqueror@gmx.de>
3772
3773         * gnu/java/lang/MainThread.java:
3774         Explicitely import used classes.
3775         (args): Make it type String[].
3776
3777 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3778
3779         * gnu/java/awt/ComponentDataBlitOp.java,
3780         gnu/java/beans/ExplicitBeanInfo.java,
3781         gnu/java/beans/IntrospectionIncubator.java,
3782         gnu/java/beans/editors/ColorEditor.java,
3783         gnu/java/beans/editors/FontEditor.java,
3784         gnu/java/beans/editors/NativeBooleanEditor.java,
3785         gnu/java/beans/editors/NativeByteEditor.java,
3786         gnu/java/beans/editors/NativeDoubleEditor.java,
3787         gnu/java/beans/editors/NativeFloatEditor.java,
3788         gnu/java/beans/editors/NativeIntEditor.java,
3789         gnu/java/beans/editors/NativeLongEditor.java,
3790         gnu/java/beans/editors/NativeShortEditor.java,
3791         gnu/java/beans/editors/StringEditor.java,
3792         gnu/java/io/ClassLoaderObjectInputStream.java,
3793         gnu/java/io/decode/Decoder.java,
3794         gnu/java/io/encode/Encoder.java,
3795         gnu/java/lang/ClassHelper.java,
3796         gnu/java/locale/Calendar.java,
3797         gnu/java/locale/Calendar_de.java,
3798         gnu/java/locale/Calendar_en.java,
3799         gnu/java/locale/Calendar_nl.java,
3800         gnu/java/locale/LocaleInformation_de.java,
3801         gnu/java/locale/LocaleInformation_en.java,
3802         gnu/java/locale/LocaleInformation_nl.java:
3803         Cleaned up imports.
3804
3805 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3806
3807         * README: Remove obsolete info. Update bug URL.
3808         * THANKS: Updated.
3809         * NEWS: Updated with news up to GCC 3.4 release.
3810
3811 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3812
3813         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3814         Renamed from 'setName'. New 2-argument form with default value.
3815         (run): Pass default 'value' parameter to System.getProperty().
3816         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3817         typos.
3818         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3819         not 'setName'.
3820
3821 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3822
3823         * configure.in: Check for minimum GTK version 2.4 requirement.
3824         * configure: Rebuilt.
3825
3826 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3827
3828         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3829         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3830         Reduce sleep time.
3831         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3832         compiler bug.
3833         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3834         address. Reduce sleep times. Synchronize with target threads before
3835         attempting to interrupt them. Don't try to calibrate yeild count,
3836         instead, always loop for a fixed time.
3837         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3838         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3839         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3840         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3841         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3842         * testsuite/libjava.lang/pr179.java: Likewise.
3843         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3844         time. Remove upper bounds check on sleep time. 
3845
3846 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3847
3848         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3849         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3850
3851 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3852
3853         * java/io/File.java (toURI): Throw RuntimeException, not 
3854         InternalError.
3855         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3856         class name, not instance.
3857
3858 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3859
3860         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3861         and gnu/java/security/action/SetAccessibleAction.java.
3862         * Makefile.in: Rebuilt.
3863
3864 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3865
3866         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3867         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3868         _Jv_InitPrimClass.
3869         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3870         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3871         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3872
3873 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3874
3875         * Makefile.am: Replace jar, rmic and rmiregistry references with
3876         gjar, grmic and grmiregistry.
3877         * configure.in: Likewise.
3878         * Makefile.in: Regenerate.
3879         * configure: Likewise.
3880         * gcj/Makefile.in: Likewise.
3881         * include/Makefile.in: Likewise.
3882         * testsuite/Makefile.in: Likewise.
3883
3884 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3885
3886         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3887         for privileged getProperty calls.
3888         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3889         SetAccessibleAction instead of anonymous class for doPrivileged call.
3890         (getMethod): Likewise.
3891         (setAccessible): New field. PrivilegedAction object to use when
3892         calling setAccessible.
3893         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3894         SetAccessibleAction instead of anonymous class for diPrivileged call.
3895         (setFields): Likewise.
3896         (getClassUID): Likewise.
3897         (findMethod): Likewise.
3898         * gnu/java/security/action/GetPropertyAction.java: New class.
3899         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3900
3901 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3902
3903         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3904         for final fields.
3905         * testsuite/libjava.lang/Serialization.java: New test.
3906         * testsuite/libjava.lang/Serialization.out: New.
3907
3908 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3909
3910         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3911         missed in last commit.
3912
3913 2004-07-23  Mark Wielaard  <mark@klomp.org>
3914
3915         * java/lang/System.java (static): Set http.agent system property when
3916         not yet set.
3917         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3918         from system property inside AccessController.doPrivileged() call.
3919         (proxyPort): Made package private.
3920         (proxyInUse): Likewise.
3921         (proxyHost): Likewise.
3922         (userAgent): Likewise.
3923
3924 2004-07-23  Mark Wielaard  <mark@klomp.org>
3925
3926         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3927         implementation.
3928
3929 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3930
3931         * Makefile.am (ordinary_java_source_files): Add
3932         DefaultContentHandlerFactory.java.
3933         * Makefile.in: Rebuilt.
3934         * java/net/URLConnection.java (defaultFactory): New field.
3935         (getContent): 
3936         (getContentHandler): Renamed from 'setContentHandler'. Try 
3937         defaultFactory after user-set factory, if any. Search for content 
3938         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3939         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3940         Implemented.
3941         (getLastModified): Implemented.
3942         (getPermission): Create file permission here, instead of in
3943         constructor.
3944         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3945         Implemented.
3946         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3947         Implemented.
3948         (getLastModified): Implemented.
3949         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3950         Default implementation.
3951         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3952         Implement using GdkPixbufDecoder.
3953         
3954 2004-07-21  Michael Koch  <konqueror@gmx.de>
3955
3956         * javax/swing/JTextArea.java
3957         (setLineWrap): Fire property change event after new value is set.
3958         (setTabSize): Likewise.
3959
3960 2004-07-21  Michael Koch  <konqueror@gmx.de>
3961
3962         * javax/swing/JTable.java
3963         (autoCreateColumnsFromModel): New field.
3964         (autoResizeMode): Likewise.
3965         (cellEditor): Likewise.
3966         (cellSelectionEnabled): Likewise.
3967         (columnModel): Likewise.
3968         (dataModel): Likewise.
3969         (defaultEditorsByColumnClass): Likewise.
3970         (defaultRenderersByColumnClass): Likewise.
3971         (editingColumn): Likewise.
3972         (editingRow): Likewise.
3973         (gridColor): Likewise.
3974         (preferredViewportSize): Likewise.
3975         (rowHeight): Likewise.
3976         (rowMargin): Likewise.
3977         (rowSelectionAllowed): Likewise.
3978         (selectionBackground): Likewise.
3979         (selectionForeground): Likewise.
3980         (selectionModel): Likewise.
3981         (showHorizontalLines): Likewise.
3982         (showVerticalLines): Likewise.
3983         (tableHeader): Likewise.
3984         (JTable): Implemented.
3985         (getColumnModel): Likewise.
3986         (getSelectedRow): Likewise.
3987         (getSelectionModel): Likewise.
3988         (setModel): Likewise.
3989         (setSelectionModel): Likewise.
3990         (createScrollPaneForTable): New method.
3991         (createDefaultDataModel): Likewise.
3992         (createDefaultListSelectionModel): Likewise.
3993         (getModel): Likewise.
3994         (getTableHeader): Likewise.
3995         (setTableHeader): Likewise.
3996         (getColumnSelectionAllowed): Likewise.
3997         (setColumnSelectionAllowed): Likewise.
3998         (getRowSelectionAllowed): Likewise.
3999         (setRowSelectionAllowed): Likewise.
4000         (getAutoResizeMode): Likewise.
4001         (setAutoResizeMode): Likewise.
4002         (getColumnCount): Likewise.
4003         (getRowCount): Likewise.
4004         (getCellRenderer): Likewise.
4005         * javax/swing/JTree.java
4006         (cellRenderer): New field.
4007         (editable): Likewise.
4008         (rootVisible): Likewise.
4009         (showsRootHandles): Likewise.
4010         (getModel): New method.
4011         (setModel): Likewise.
4012         (isEditable): Likewise.
4013         (setEditable): Likewise.
4014         (isRootVisbile): Likewise.
4015         (setRootVisible): Likewise.
4016         (getShowsRootHandles): Likewise.
4017         (setShowRootHandles): Likewise.
4018         (getCellRenderer): Likewise.
4019         (setCellRenderer): Likewise.
4020
4021 2004-07-21  Michael Koch  <konqueror@gmx.de>
4022
4023         * javax/swing/JFormattedTextField.java
4024         (setDocument): Implemented.
4025         * javax/swing/JRootPane.java:
4026         Fixed javadocs.
4027         * javax/swing/JTable.java
4028         (getDefaultRenderer): New method.
4029         * javax/swing/JTextField.java
4030         (setFont): Likewise.
4031         (getPreferredSize): Likewise.
4032         * javax/swing/JToggleButton.java
4033         (getAccessibleContext): Fix javadoc.
4034         * javax/swing/JTree.java:
4035         Add some javadocs.
4036         * javax/swing/JViewport.java:
4037         Likewise.
4038
4039 2004-07-21  David Jee  <djee@redhat.com>
4040
4041         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4042         Collect all native method declaration at the top.
4043         (create): Set the filename filter if necessary.
4044         (setDirectory): Call nativeSetDirectory().
4045         (setFilenameFilter): Implement.
4046         (filenameFilterCallback): New method.
4047         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4048         (create): Configure dialog to show hidden files.
4049         (filenameFilterCallback): New function. 
4050         (nativeSetFilenameFilter): New function.
4051         (nativeSetDirectory): New function.
4052
4053 2004-07-21  Kim Ho  <kho@redhat.com>
4054
4055         * javax/swing/plaf/basic/BasicSliderUI.java:
4056         Ran Jalopy.
4057         (paintTrack): Fill the track before painting
4058         the borders.
4059
4060 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4061
4062         patch from Roman Kennke <roman@ontographics.com>
4063         * javax/swing/Spring.java: New file.
4064         * javax/swing/SpringLayout.java: New file.
4065         * Makefile.am: Add new files.
4066         * Makefile.in: Regenerate.
4067
4068 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4069
4070         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4071         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4072         * javax/swing/ScrollPaneLayout.java: Likewise.
4073
4074 2004-07-21  Kim Ho  <kho@redhat.com>
4075
4076         * javax/swing/DefaultDesktopManager.java:
4077         (findMinimum): Removed.
4078         (resizeFrame): Trust the UI to pass valid 
4079         bounds.
4080         * javax/swing/JOptionPane.java:
4081         Implemented showInternalXXXDialog methods.
4082         (startModal): New method.
4083         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4084         (BorderListener::mouseDragged): Verify that the new 
4085         bounds are valid before passing them to the DesktopManager.
4086         (preferredLayoutSize): Delegate
4087         to getSize.
4088         (minimumLayoutSize): Ditto.
4089         (getSize): New method.
4090         (GlassPaneDispatcher): Reimplemented by copying 
4091         a stripped down LightweightDispatcher from Container.
4092         (getMinimumSize): Call minimumLayoutSize.
4093         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4094         Ran Jalopy.
4095         (mousePressed): Add ability to properly close 
4096         JInternalFrames.
4097         * javax/swing/plaf/basic/BasicToolBarUI.java:
4098         (DragWindow): Set owner for DragWindow.
4099
4100 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4101
4102         * java/awt/image/ShortLookupTable.java: New file.
4103         * java/awt/image/ByteLookupTable.java: New file.
4104         * Makefile.am: Added new files.
4105         * Makefile.in: Regenerated.
4106
4107 2004-07-21  David Jee  <djee@redhat.com>
4108
4109         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4110         (create(GtkContainerPeer)): New native method.
4111         (create()): Call native create(), passing in the parent frame
4112         as the paramter. Natively set the current file and directory.
4113         (setFile): Construct an absolute filename before passing it to
4114         the native peer.
4115         (nativeGetDirectory): New method.
4116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4117         (window_closed): Removed.
4118         (ok_clicked): Likewise.
4119         (cancel_clicked): Likewise.
4120         (handle_response): New method.
4121         (create): Use GtkFileChooserDialog.
4122         (connectSignals): Connect to handle_response.
4123         (nativeGetDirectory): New method.
4124         (nativeSetFile): Use GtkFileChooserDialog.
4125
4126 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4127
4128         * java/awt/image/LookupTable.java: New file.
4129         * Makefile.am: Added new file.
4130         * Makefile.in: Regenerated.
4131
4132 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4133
4134         * java/awt/image/Kernel.java: New file.
4135         * Makefile.am: Added new file.
4136         * Makefile.in: Regenerated.
4137
4138 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4139
4140         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4141         * javax/swing/JMenu.java: Likewise.
4142         * javax/swing/JMenuBar.java: Likewise.
4143         (MARGIN_CHANGED_PROPERTY): New property.
4144         (setMargin): Implemented.
4145         * javax/swing/JMenuItem.java: Fixed javadocs.
4146         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4147         (LABEL_CHANGED_PROPERTY): New property.
4148         (add): changed to use createActionComponent.
4149         (createActionComponent): Implemented.   
4150         (setLabel): Fire PropertyChangeEvent if label property
4151         changes.
4152         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4153         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4154         (ContainerHandler): Repaint if margin property has changed.
4155         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4156         (installUI): Call installComponents().
4157         (uninstallUI): Call uinstallComponents().
4158         * javax/swing/plaf/basic/BasicMenuUI.java:
4159         Fixed javadocs.
4160         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4161         Likewise.
4162
4163 2004-07-21  Kim Ho  <kho@redhat.com>
4164
4165         * javax/swing/plaf/basic/BasicToolBarUI.java:
4166         (DragWindow): Use the right constructor.
4167
4168 2004-07-21  Kim Ho  <kho@redhat.com>
4169
4170         * javax/swing/JToolBar.java:
4171         (layoutContainer): Use getComponents.
4172         * javax/swing/plaf/basic/BasicToolBarUI.java:
4173         (DragWindow): Don't use SwingUtilities' 
4174         getOwnerFrame
4175         (ToolBarDialog): ditto.
4176
4177 2004-07-21  Kim Ho  <kho@redhat.com>
4178
4179         * javax/swing/JRootPane.java:
4180         Ran jalopy.
4181         (layoutContainer): Set the glasspane's size to 
4182         be the same as the content pane.
4183         (createGlassPane): Set opaque property to false.
4184
4185 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4186
4187         * java/awt/Component.java (requestFocus()): Don't handle Panels
4188         specially.
4189         (requestFocus(boolean)): Likewise.
4190         (requestFocusInWindow(boolean)): Likewise.
4191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4192         Set GTK_CAN_FOCUS flag.
4193
4194 2004-07-21  Kim Ho  <kho@redhat.com>
4195
4196         * Makefile.am: Added new file.
4197         * Makefile.in: Regenerated.
4198         * gcj/Makefile.in: Regenerated.
4199         * include/Makefile.in: Regenerated.
4200         * javax/swing/AbstractButton.java:
4201         Add rollOverEnabled property.
4202         (setRolloverEnabled): Use new property.
4203         (isRolloverEnabled): Use new property.
4204         * javax/swing/JTabbedPane.java:
4205         (setComponent): Remove useless JTabbedPane.this.
4206         * javax/swing/JToolBar.java: Finish implementation.
4207         * javax/swing/plaf/basic/BasicArrowButton.java:
4208         (paint): Moved border painting to a border.
4209         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4210         Change JToolBar look and feel defaults.
4211         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4212         (actionPerformed): Return Integer index instead of name.
4213         (addButtonComponents): Check to see if component is
4214         JButton last.
4215         (createMessageArea): Don't use components that are not
4216         completed yet.
4217         (getIconForType): Use temporary icons.
4218         * javax/swing/plaf/basic/BasicSliderUI.java:
4219         (mousePressed): Do not return if it's on thumb.
4220         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4221         (paintMinorTickForVertSlider): ditto.
4222         (paintMajorTickForHorizSlider): ditto.
4223         (paintMajorTickForVertSlider): ditto.
4224         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4225         Add a border around the SplitPaneDivider.
4226         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4227         Remove comments.
4228         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4229         New file. Implemented.
4230         * javax/swing/plaf/basic/BasicToolBarUI.java:
4231         Implemented.
4232         * testsuite/Makefile.in: Regenerated.
4233
4234 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4235
4236         * javax/swing/Timer.java (run): Queue events each time cycle.
4237
4238 2004-07-21  David Jee  <djee@redhat.com>
4239
4240         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4241         (imageComplete): Call image.imageComplete().
4242         * java/awt/image/MemoryImageSource.java:
4243         Reimplement consumers as a Vector instead of a Hashtable.  This is
4244         because enumeration on a Hashtable is not thread-safe.
4245         (addConsumer): Adapt to Vector consumers.
4246         (isConsumer): Adapt to Vector consumers.
4247         (removeConsumer): Adapt to Vector consumers.
4248         (startProduction): Adapt to Vector consumers. Call imageComplete()
4249         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4250         (newPixels): Adapt to Vector consumers.
4251         (sendPicture): Set the color model of the image consumer.
4252         (newPixels(IIII)): Adapt to Vector consumers.
4253         (newPixels(IIIIB)): Adapt to Vector consumers.
4254
4255 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4256
4257         * java/awt/Component.java (deliverEvent): Implement.
4258         (postEvent): Implement.
4259         (handleEvent): Implement.
4260         (translateEvent): New method.
4261         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4262         * java/awt/Container.java (deliverEvent): Implement.
4263         * java/awt/Event.java (paramString): Fix formatting.
4264         * java/awt/Font.java (toString): Likewise.
4265         * java/awt/Window.java (postEvent): Implement.
4266
4267 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4268
4269         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4270         Set window's focus owner upon receiving a FOCUS_LOST event.
4271         * java/awt/Window.java (Window()): Refocus the previously
4272         focused component within the window when the window regains the
4273         top-level focus.
4274         (setFocusOwner): New method.
4275         * java/awt/Component.java (requestFocus): Add FIXME.
4276
4277         * libgcj.pc.in: Remove library flags.
4278
4279 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4280
4281         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4282         MOUSE_PRESSED event.
4283         * java/awt/Component.java (requestFocus()): Handle Panel
4284         specially.  Post FOCUS_LOST event on opposite component.
4285         (requestFocus(boolean)): Likewise.
4286         (requestFocusInWindow(boolean)): Likewise.
4287         (paramString): Reorder dimension fields.
4288         * java/awt/Container.java (paramString): Fix string format.
4289         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4290         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4291         process key events if the focus owner is non-null.
4292         (dispatchKeyEvent): Likewise.
4293         * java/awt/Frame.java (paramString): Fix formatting.
4294         (generateName): New method.
4295         (getUniqueLong): Likewise.
4296         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4297         the temporary focus owner is null.  If so, return the permanent
4298         focus owner.
4299         * java/awt/Panel.java (generateName): New method.
4300         (getUniqueLong): Likewise.
4301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4302         signal handling to make callbacks more specific.
4303
4304 2004-07-21  Michael Koch  <konqueror@gmx.de>
4305
4306         * javax/swing/text/Position.java
4307         (Bias): Implemented.
4308
4309 2004-07-21  Michael Koch  <konqueror@gmx.de>
4310
4311         * javax/swing/LookAndFeel.java
4312         (provideErrorFeedback): New method.
4313
4314 2004-07-21  Michael Koch  <konqueror@gmx.de>
4315
4316         * javax/swing/JTextArea.java
4317         (tabSize): New field.
4318         (getTabSize): New method.
4319         (setTabSize): Likewise.
4320
4321 2004-07-21  Michael Koch  <konqueror@gmx.de>
4322
4323         * javax/swing/ActionMap.java:
4324         Fixed javadocs all over.
4325         (serialVersionUID): Made private.
4326         (parent): Don't explicitely initialize with default value.
4327         (get): SImplified.
4328         (keys): Reimplemented.
4329         (allKeys): Likewise.
4330         (convertSet): Removed.
4331         * javax/swing/ComponentInputMap.java:
4332         Fixed javadocs all over.
4333         (ComponentInputMap): Implemented.
4334         (put): Likewise.
4335         (clear): Likewise.
4336         (remove): Likewise.
4337         (SetParent): Likewise.
4338         (getComponent): Likewise.
4339         * javax/swing/InputMap.java:
4340         Fixed javadocs all over.
4341         (serialVersionUID): Made private.
4342         (parent): Don't explicitely initialize with default value.
4343         (get): SImplified.
4344         (keys): Reimplemented.
4345         (allKeys): Likewise.
4346         (convertSet): Removed.
4347
4348 2004-07-21  Michael Koch  <konqueror@gmx.de>
4349
4350         * javax/swing/ActionMap.java,
4351         javax/swing/ComponentInputMap.java,
4352         javax/swing/InputMap.java,
4353         javax/swing/table/DefaultTableColumnModel.java,
4354         javax/swing/table/TableColumn.java,
4355         javax/swing/table/TableColumnModel.java,
4356         javax/swing/table/TableModel.java,
4357         javax/swing/text/AbstractDocument.java,
4358         javax/swing/text/TextAction.java:
4359         Reformated.
4360
4361 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4362
4363         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4364         Make method non-static.
4365         * javax/swing/AbstractButton.java:
4366         Rename fields to match property names where possible.
4367         (iconTextGap): New property.
4368         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4369         (init) New method, call from after various constructors.
4370         * javax/swing/JComponent.java (revalidate): 
4371         Invalidate before queueing repair.
4372         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4373         Reimplement in terms of visibleRowCount property.
4374         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4375         * javax/swing/JScrollPane.java (createScrollListener): 
4376         Remove tracing chatter.
4377         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4378         * javax/swing/RepaintManager.java (addInvalidComponent): 
4379         Don't invalidate.
4380         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4381         calculations.
4382         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4383         Mimic sun behavior on top left/right positioning.
4384         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4385         Remove mistaken use of preferredScrollableViewportSize here.
4386         (layoutContainer): Use view's preferred size as basis.
4387         * javax/swing/plaf/basic/BasicButtonUI.java:
4388         Set, get, and use textIconGap property.
4389         (paint) Paint text returned from layout (with ellipsis).
4390         * javax/swing/plaf/basic/BasicListUI.java:
4391         Remove tracing chatter, correct various minor calculations.
4392         (getCellBounds): Update layout state before calculating.
4393         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4394         Use margin default similar to sun's.    
4395         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4396         (createIncreaseIcon): Center icon, minimize margins.
4397         (createDecreaseIcon): Likewise.
4398         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4399         Implement.
4400         (installUI): Call it.
4401         (uninstallDefaults): Implement.
4402         (uninstallUI): Call it.
4403         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4404         Call existing Window constructor.
4405         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4406         Set clip before painting.
4407
4408 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4409         
4410         * javax/swing/JMenuItem.java:
4411         (processMouseEvent): Reimplemented to deal with
4412         mouse drag events.
4413         (createMenuDragMouseEvent): New private helper method.
4414         Creates MenuDragMouseEvent.
4415         * javax/swing/MenuSelectionManager.java
4416         (componentForPoint): Implemented.
4417         (isComponentPartOfCurrentMenu): Made public.
4418         (processMouseEvent): Reimplemented to deal with 
4419         mouse drag events.
4420         (setSelectedPath): Corrected small mistake that caused
4421         path to be set incorrectly.
4422         (getPath): If given component is JMenu then also add this
4423         menu's popup menu to the selected path.
4424         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4425         (getPath): Ditto.
4426         (getPreferredSize): Call getPreferredMenuItemSize().
4427         (getPreferredItemSize): Moved code from getPreferredSize to here.
4428         (installListeners): Install MouseMotionListeners.
4429         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4430         if mouse wasn't released in the bounds of this menu item.
4431         (MenuDragMouseHandler): Implemented.
4432         * javax/swing/plaf/basic/BasicMenuUI.java:
4433         (installListeners): Install MouseMotionListener and 
4434         MenuDrageMouseListener.
4435         (MenuDragMouseHandler): Implemented.
4436         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4437         (uninstallListeners): Implemented.
4438         
4439 2004-07-21  Michael Koch  <konqueror@gmx.de>
4440
4441         * javax/swing/JCheckBox.java: Reformated.
4442         (JCheckBox): Fixed all constructors.
4443         (isBorderPaintedFlat): New method.
4444         (setBorderPaintedFlat): New method.
4445         * javax/swing/JEditorPane.java
4446         (createEditorKitForContentType): Made public.
4447         (scrollToReference): Likewise.
4448         * javax/swing/JTextArea.java
4449         (setLineWrap): Fire property change.
4450         * javax/swing/JToggleButton.java
4451         (JToggleButton): New constructor.
4452         (JToggleButton): Simplified.
4453         * javax/swing/text/AttributeSet.java
4454         (FontAttribute): Renamed from FontCharacterAttribute.
4455         * javax/swing/text/JTextComponent.java
4456         (KeyBinBinding): Added javadoc.
4457         (JTextComponent): Likewise.
4458         (getAccessibleContext): Fixed javadoc.
4459         * javax/swing/text/View.java
4460         (View): Added javadoc.
4461         * javax/swing/text/TabableView.java: New file.
4462         * Makefile.am: Added javax/swing/text/TabableView.java.
4463         * Makefile.in: Regenerated.
4464
4465 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4466
4467         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4468         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4469         (GtkErrorImage): New helper class.
4470         (bufferedImageOrError): New helper method.
4471         (createImage): Use it.
4472
4473 2004-07-21  David Jee  <djee@redhat.com>
4474
4475         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4476         (setCaretPosition): Scroll the text view so the new caret position
4477         is visible on screen.
4478
4479 2004-07-21  David Jee  <djee@redhat.com>
4480
4481         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4482         (setBounds): Do not validate awtComponent here.
4483         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4484         (getPreferredSize): New method.
4485         * java/awt/ScrollPane.java
4486         (ScrollPane): Set default size to 100x100.
4487         (addNotify): If child is not a Panel, wrap it with a new Panel.
4488         (paramString): Implement.
4489
4490 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4491
4492         * javax/swing/JMenu.java:
4493         (setSelected): Display popup menu only if this menu 
4494         is showing on the screen.
4495         * javax/swing/JPopupMenu.java:
4496         (processMouseEvent): Added comment.
4497         (processKeyEvent): Likewise.
4498         * javax/swing/MenuSelectionManager.java:
4499         (clearSelectedPath): Only fireStateChanged() after
4500         selected path was changed, not before.
4501         (setSelectedPath): Likewise.
4502         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4503         (paintMenuItem): Corrected position of menu item's
4504         icon.
4505         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4506         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4507         (popupMenuCanceled): Reimplemented.
4508         (popupMenuWillBecomeVisible): Select first menu item by default 
4509         when displaying free floating popup menus.
4510         (TopWindowListener): Reimplemented.
4511
4512 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4513
4514         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4515         Panel from being painted twice when it is first shown.
4516
4517 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4518
4519         * java/awt/Window.java: Reverted changes from my 
4520         previous patch for creating window without an owner.
4521         * javax/swing/SwingUtilities.java: 
4522         (SwingUtilities.OwnerFrame): made static.
4523         (OwnerFrame.setVisible): New method. Overridden with
4524         empty implementation.
4525         (OwnerFrame.isShowing): New method. Ovverridden
4526         to return always true.
4527
4528 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4529
4530         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4531         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4532         (GtkComponentPeer): Remove temporary try/catch block.
4533         (setVisible): Call show and hide.
4534         (show): Make native.
4535         (hide): Likewise.
4536         (getArgs): Don't add "visible" argument.
4537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4538         (property_notify_predicate): Return Bool instead of int.
4539         (find_layout): New function.
4540         (connectJObject): Call find_layout.
4541         (connectSignals): Likewise.
4542         (moveLayout): Likewise.
4543         (gtkLayoutSetVisible): Likewise.
4544
4545 2004-07-21  Mark Wielaard  <mark@klomp.org>
4546
4547         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4548         on notifier object before calling notifyAll().
4549
4550 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4551
4552         * java/awt/Window.java: Changed constructors to use new
4553         method that is described below. Constructors call this
4554         methods only if newly created window should have an owner.
4555         (setWindowOwner): New method. Implementation for
4556         this method is moved from this(owner,configuration).
4557         * javax/swing/JWindow.java:
4558         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4559         instead of owner.
4560         * javax/swing/SwingUtilities.java:
4561         (ownerFrame): Change type of this field to OwnerFrame.
4562         (getOwnerFrame): Changed to return object of type OwnerFrame.
4563         (SwingUtilities.OwnerFrame): New class. Represents owner
4564         of a Window that is not provided with one.
4565
4566 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4567
4568         *  javax/swing/AbstractButton.java: 
4569         (configurePropertiesFromAction): Set action command
4570         to button's text by default if action command is not 
4571         explicitely specified.
4572         * javax/swing/JMenu.java: Remove unnecessary listener
4573         and methods relevant to it.
4574         (setSelected): Reimplemented.
4575         (menuSelectionChanged): Moved most part of implementation to
4576         setSelected() and call it instead.
4577         * javax/swing/JMenuItem.java: 
4578         (init): Comment out statement that sets paint_border to false.
4579         (configurePropertiesFromAction): Do not set accelerator
4580         for JMenu.
4581         (menuSelectionChanged): Change selected index in the selection
4582         model of menu item's parent.
4583         * javax/swing/JPopupMenu.java:
4584         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4585         instead of GridBagConstraints.HORIZONTAL.
4586         (insert): Likewise.
4587         (createActionChangeListener): Implemented.
4588         (setVisible): Correct location of HeavyWeightMenu and 
4589         don't firePopupMenuCanceled().
4590         (menuSelectionChanged): Implemented.
4591         (ActionChangeListener): New Listener. Implemented.
4592         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4593         (BasicMenuBarUI.ContainerHandler): Implemented.
4594         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4595         (paintMenuItem): Uncommented out code that paints 
4596         icon, now that icons are working properly.
4597         (PropertyChangeListener): Implemented.
4598         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4599         Added javadocs.
4600         (topWindowListener): New field.
4601         (Constructor): initialize topWindowListener.
4602         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4603         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4604         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4605         Implemented.
4606
4607 2004-07-21  Michael Koch  <konqueror@gmx.de>
4608
4609         * javax/swing/plaf/basic/BasicButtonUI.java
4610         (paintFocus): Fixed method signature.
4611         (paintButtonPressed): Likewise.
4612         (paintButtonNormal): Likewise.
4613         (paintText): New method.
4614         * javax/swing/plaf/basic/BasicLabelUI.java
4615         (paint): Re-indented.
4616         * javax/swing/plaf/basic/BasicTextUI.java
4617         (installUI): Set parent textComponent to opaque.
4618         * javax/swing/text/DefaultHighlighter.java
4619         (checkPositions): New helper method.
4620         (addHighlight): Throws BadLocationException, check positions.
4621         (changeHighlight): Likewise.
4622         * javax/swing/text/EditorKit.java
4623         (EditorKit): Implements Serializable.
4624         * javax/swing/text/JTextComponent.java
4625         (getUI): Added javadoc.
4626         (setUI): Likewise.
4627         (upadteUI): Added javadoc, don't revalidate and repaint.
4628
4629 2004-07-21  David Jee  <djee@redhat.com>
4630
4631         * java/awt/GridBagLayout.java
4632         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4633         * javax/swing/AbstractButton.java
4634         (setText): Reindent.
4635         * javax/swing/RepaintManager.java
4636         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4637
4638 2004-07-21  Michael Koch  <konqueror@gmx.de>
4639
4640         * javax/swing/JFormattedTextField.java
4641         (value): New field.
4642         (JFormattedTextField): Implemented.
4643         (getValue): Likewise.
4644         (setValue): Likewise.
4645         * javax/swing/LookAndFeel.java
4646         (getSupportsWindowDecorations): New method.
4647         * javax/swing/UIDefaults.java:
4648         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4649         (addPropertyChangeListener): Made public.
4650         (addResourceBundle): Likewise.
4651         (removeResourceBundle): Likewise.
4652         (setDefaultLocale): Likewise.
4653         * javax/swing/plaf/basic/BasicRootPaneUI.java
4654         (BasicRootPaneUI): Implements PropertyChangeListener.
4655         (propertyChange): New method.
4656         * javax/swing/plaf/basic/BasicTextUI.java
4657         (BasicHighlighter): New inner class.
4658         (createHighlighter): New method.
4659         * javax/swing/plaf/basic/BasicToolBarUI.java
4660         (DragWindow): Extends java.awt.Window.
4661         * javax/swing/text/JTextComponent.java
4662         (getDocument): Removed debug output.
4663         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4664         javax/swing/text/DefaultHighlighter.java,
4665         javax/swing/text/FieldView.java,
4666         javax/swing/text/PlainView.java: New files.
4667         * Makefile.am: Added new files.
4668         * Makefile.in: Regenerated.
4669
4670 2004-07-21  Michael Koch  <konqueror@gmx.de>
4671
4672         * javax/swing/JEditorPane.java
4673         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4674         (createEditorKitForContentType): Likewise.
4675         * javax/swing/text/DefaultEditorKit.java
4676         (serialVersionUID): Added constant field.
4677         (EndOfLineStringPropery): Fixed typo.
4678         (DefaultEditorKit): New constructor.
4679         * javax/swing/text/Segment.java:
4680         Import java.text.CharacterIterator.
4681         * javax/swing/text/CharacterIterator.java,
4682         javax/swing/text/PlainEditorKit.java: Removed.
4683         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4684         javax/swing/text/PlainEditorKit.java.
4685         * Makefile.in: Regenerated.
4686
4687 2004-07-21  Michael Koch  <konqueror@gmx.de>
4688
4689         * javax/swing/JButton.java,
4690         javax/swing/text/DefaultEditorKit.java,
4691         javax/swing/text/EditorKit.java,
4692         javax/swing/text/Segment.java,
4693         javax/swing/text/StyledEditorKit.java:
4694         Reformatted.
4695
4696 2004-07-21  Michael Koch  <konqueror@gmx.de>
4697
4698         * javax/swing/ImageIcon.java
4699         (file): Removed.
4700         (description): Renamed from descr.
4701         (ImageIcon): Added missing constructors.
4702         (setParent): Removed.
4703         (setImageObserver): New method.
4704         (getImageObserver): New method.
4705         (paintIcon): Handle observer = null.
4706         * javax/swing/JButton.java
4707         (removeNotify): Fixed javadoc.
4708         (updateUI): Simplified.
4709         * javax/swing/JRootPane.java
4710         (serialVersionUID): New constant field.
4711         * javax/swing/UIManager.java:
4712         Fixed javadocs all over.
4713         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4714         * javax/swing/text/AbstractDocument.java
4715         (createPosition): Throws BadLocationException.
4716         (getText): Likewise.
4717         (remove): Likewise.
4718         * javax/swing/text/ComponentView.java
4719         (modelToView): Likewise.
4720         * javax/swing/text/DefaultEditorKit.java:
4721         Made all public methods public.
4722         (read): Throws BadLocationException and IOException.
4723         (write): Likewise.
4724         * javax/swing/text/EditorKit.java:
4725         Made all public methods public.
4726         (serialVersionUID): New constant field.
4727         (clone): New method.
4728         (read): Throws BadLocationException and IOException.
4729         (write): Likewise.
4730         * javax/swing/text/Segment.java
4731         (array): Made public.
4732         (count): Likewise.
4733         (offset): Likewise.
4734         (Segment): New constructors.
4735         (clone): Reimplemented.
4736         * javax/swing/text/StyledEditorKit.java
4737         (serialVersionUID): New constant field.
4738
4739 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4740
4741         * java/awt/image/BufferedImage.java 
4742         (getSource): Implement.
4743         * javax/swing/ImageIcon.java 
4744         (ImageIcon): Implement ctor.
4745         * javax/swing/ScrollPaneLayout.java 
4746         (preferredLayoutSize): Be more careful about nulls.
4747
4748 2004-07-21  Michael Koch  <konqueror@gmx.de>
4749
4750         * javax/swing/text/AttributeSet.java
4751         (CharacterAttribute): New interface
4752         (ColorAttribute): Likewise.
4753         (FontCharacterAttribute): Likewise.
4754         (ParagraphAttribute): Likewise.
4755         * javax/swing/text/DefaultCaret.java
4756         (moveCaret): New method.
4757         (positionCaret): Likewise.
4758         (repaint): Made protected.
4759         * javax/swing/text/JTextComponent.java
4760         (KeyBinding): Made it static.
4761         * javax/swing/text/View.java
4762         (getContainer): Honor parent == null.
4763
4764 2004-07-21  Michael Koch  <konqueror@gmx.de>
4765
4766         * javax/swing/text/AbstractDocument.java:
4767         Reformatted.
4768
4769 2004-07-21  Michael Koch  <konqueror@gmx.de>
4770
4771         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4772         Import javax.swing.UIManager explicitely.
4773         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4774         (ScrollingButton): Made it static.
4775
4776 2004-07-21  Michael Koch  <konqueror@gmx.de>
4777
4778         * javax/swing/UIDefaults.java
4779         (ActiveValue): Made public.
4780         (LazyValue): Likewise.
4781         * javax/swing/plaf/basic/BasicTextUI.java
4782         (RootView): Reintroduced.
4783         (view): Removed.
4784         (rootView): New field.
4785         (installUI): Create document if needed, initialize rootView.
4786         (uninstallUI): Hanle rootView.
4787         (paint): Likewise.
4788         (getRootView): Likewise.
4789         (setView): Likewise.
4790         * javax/swing/text/DefaultCaret.java:
4791         Renamed all "evt" variables to "event".
4792
4793 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4794
4795         * libgcj.spec.in: Add -l-java-util-logging.
4796
4797 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4798
4799         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4800         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4801         gtk-xft-dpi can no calculate the right value.
4802         (dpi_changed_cb): Mark *pspec as unsused.
4803
4804 2004-07-21  David Jee  <djee@redhat.com>
4805
4806         * java/awt/Component.java
4807         (move): Delegate to setBounds().
4808         (resize): Likewise.
4809         (reshape): Fix so it repaints parent and self only when necessary.
4810
4811 2004-07-21  David Jee  <djee@redhat.com>
4812
4813         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4814         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4815         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4816         (setVisible): Likewise.
4817         (show): Likewise.
4818         (hide): Likewise.
4819         (getArgs): Likewise.
4820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4821         (property_notify_predicate): Likewise.
4822         (find_layout): Likewise.
4823         (connectJObject): Likewise.
4824         (connectSignals): Likewise.
4825         (moveLayout): Likewise.
4826         (gtkLayoutSetVisible): Likewise.
4827
4828 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4829
4830         * Makefile.am
4831         (jv_convert_LDADD):
4832         (gij_LDADD):
4833         (rmic_LDADD):
4834         (rmiregistry_LDADD): Add lib-java-util-logging.la
4835         * Makefile.in: Regenerate.
4836
4837 2004-07-21  Michael Koch  <konqueror@gmx.de>
4838
4839         * javax/swing/text/AbstractDocument.java
4840         (replace): Dont use protected method of java.util.Vector directly.
4841
4842 2004-07-21  Michael Koch  <konqueror@gmx.de>
4843
4844         * javax/swing/plaf/basic/BasicTextUI.java
4845         (installUI): Call specialized install methods.
4846         (installDefaults): New method.
4847         (installListeners): Likewise.
4848         (installKeyboardActions): Likewise.
4849         (uninstallUI): Likewise.
4850         (uninstallDefaults): New method.
4851         (uninstallListeners): Likewise.
4852         (uninstallKeyboardActions): Likewise.
4853         (getPropertyPrefix): New abstract method.
4854         (paint): Made final, just call paintSafely().
4855         (paintSavely): New method.
4856         (paintBackground): Likewise.
4857         (getVisibleEditorRect): Likewise.
4858         * javax/swing/text/LayeredHighlighter.java,
4859         javax/swing/text/TabExpander.java: New files.
4860         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4861         and javax/swing/text/TabExpander.java.
4862         * Makefile.in: Regenerated.
4863
4864 2004-07-21  Michael Koch  <konqueror@gmx.de>
4865
4866         * javax/swing/plaf/basic/BasicTextUI.java
4867         (BasicTextUI): Made abstract.
4868         (BasicCaret): New inner class.
4869         (view): Don't explicitely initialize with "null".
4870         (textComponent): New field.
4871         (textColor): Removed.
4872         (disabledTextColor): Removed.
4873         (normalBackgroundColor): Removed.
4874         (RootView): Removed commented out inner class.
4875         (createUI): Removed.
4876         (createCaret): New method.
4877         (getComponent): Likewise.
4878         (installUI): Initialize textComponent only.
4879         (getPreferredSize): Use installed JTextComponent.
4880         (setView): New method.
4881         (create): Likewise.
4882         * javax/swing/text/JTextComponent.java
4883         (highlighter): New field.
4884         (caretColor): Likewise.
4885         (disabledTextColor): Likewise.
4886         (seletedTextColor): Likewise.
4887         (selectionColor): Likewise.
4888         (setUI): New method.
4889         (getCaretColor): Likewise.
4890         (setCaretColor): Likewise.
4891         (getDisabledColor): Likewise.
4892         (setDisabledColor): Likewise.
4893         (getSelectedTextColor): Likewise.
4894         (setSelectedTextColor): Likewise.
4895         (getSelectionColor): Likewise.
4896         (setSelectionColor): Likewise.
4897         (getHighlighter): Likewise.
4898         (setHighlighter): Likewise.
4899         (replaceSelection): Likewise.
4900
4901 2004-07-21  Michael Koch  <konqueror@gmx.de>
4902
4903         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4904         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4905         * javax/swing/plaf/basic/BasicToolBarUI.java
4906         (BasicToolBarUI): Implements SwingConstants.
4907
4908 2004-07-21  Michael Koch  <konqueror@gmx.de>
4909
4910         * javax/swing/JPopupMenu.java: Removed CVS tags.
4911         * javax/swing/UIDefaults.java: Reformatted.
4912         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4913         Explicitely import used classes.
4914
4915 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4916
4917         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4918         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4919         (GtkComponentPeer): Remove temporary try/catch block.
4920         (setVisible): Call show and hide.
4921         (show): Make native.
4922         (hide): Likewise.
4923         (getArgs): Don't add "visible" argument.
4924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4925         (property_notify_predicate): Return Bool instead of int.
4926         (find_layout): New function.
4927         (connectJObject): Call find_layout.
4928         (connectSignals): Likewise.
4929         (moveLayout): Likewise.
4930         (gtkLayoutSetVisible): Likewise.
4931
4932 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4933
4934         * javax/swing/AbstractButton.java:
4935         (setDisplayedMnemonicIndex): Check if button
4936         text is not null before checking its length.
4937         * javax/swing/JMenuItem.java:
4938         (processMouseEvent): Disarm menu item if mouse has
4939         exited it.
4940         * javax/swing/plaf/basic/BasicMenuUI.java:
4941         (MouseInputHandler.mouseEntered): Do not raise
4942         popup menu if this menu is already selected.
4943         (MouseInputHandler.mousePressed): Do not fire 
4944         MenuEvents.
4945         (MenuHandler): Implemented.     
4946
4947 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4948
4949         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4950         (getSelectedObjects): Implemented.
4951         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4952         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4953         Added javadoc for few methods.
4954         (processMouseEvent): Made public.
4955         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4956         (processMouseEvent): Likewise.
4957
4958 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4959
4960         * javax/swing/AbstractButton.java:
4961         (init): Set display mnemonic index to -1.
4962         (setMnemonic(char)): Use setMnemonic(int).
4963         (setMnemonic(int)): Set display mnemonic index.
4964         (getDisplayedMnemonicIndex): Change method signature
4965         by removing 'index' parameter.
4966         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4967         Added default for Menu.selectionBackground.     
4968         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4969         (paintMenuItem): Change background color of the selected
4970         menu item.
4971         (paintText): Paint differently when menu item is disabled.
4972         Also paint mnemonic if it appears in the menu item's label.
4973         (paintAccelerator): Paint accelerator differently
4974         if menu item is disabled.
4975         * javax/swing/plaf/basic/BasicMenuUI.java:
4976         (installDefaults): Install defaults for 
4977         selectionForeground and selectionBackground.
4978         (uninstallDefaults): Uninstall defauls for 
4979         selectionForeground and selectionBackground.
4980
4981 2004-07-21  Michael Koch  <konqueror@gmx.de>
4982
4983         * javax/swing/text/AbstractDocument.java
4984         (BranchElement): Implemented.
4985         (LeafElement): Implemented.
4986         * javax/swing/text/DefaultCaret.java:
4987         Import used classes.
4988         (serialVersionUID): New constant.
4989         * javax/swing/text/JTextComponent.java
4990         (AccessibleJTextComponent): Removed dead declaration.
4991         (caretPos): Removed.
4992         (setCaret): New method.
4993         * javax/swing/text/PlainDocument.java
4994         (rootElement): New field.
4995         (PlainDocument): Initialize rootElement.
4996         (createDefaultRoot): New method.
4997         (getDefaultRootElement): Implemented.
4998         * javax/swing/text/View.java: Reformatted.
4999         * javax/swing/text/ViewFactory.java
5000         (create): Added javadoc.
5001
5002 2004-07-21  Michael Koch  <konqueror@gmx.de>
5003
5004         * javax/swing/ToolTipManager.java: Reformatted.
5005
5006 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
5007
5008         * javax/swing/AbstractButton.java
5009         (changeEvent): New field.
5010         (fireItemStateChanged): Change source of the event
5011         to 'this' before firing it to button listeners.
5012         (fireActionPerformed): Likewise.
5013         (fireStateChanged): Likewise.
5014         (createActionListener): Do not set source 
5015         of the event to AbstractButton.                                  
5016         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5017         (ContainerHandler.componentAdded): Removed 
5018         print out statement.
5019         (ContainerHandler.componentRemoved): Likewise.
5020
5021 2004-07-21  Michael Koch  <konqueror@gmx.de>
5022
5023         * javax/swing/text/Highlighter.java: New file.
5024         * Makefile.am: Added javax/swing/text/Highlighter.java.
5025         * Makefile.in: Regenerated.
5026
5027 2004-07-21  Michael Koch  <konqueror@gmx.de>
5028
5029         * javax/swing/ToolTipManager.java
5030         (stillInsideTimerAction): Fixed constructor arguments.
5031         (outsideTimerAction): Likewise.
5032         (insideTimerAction): Likewise.
5033
5034 2004-07-21  Michael Koch  <konqueror@gmx.de>
5035
5036         * javax/swing/JButton.java: Reformatted.
5037         * javax/swing/JFormattedTextField.java
5038         (getUIClassID): Implemented.
5039         * javax/swing/JRootPane.java
5040         (serialVersionUID): New constant.
5041         * javax/swing/JTextField.java
5042         (align): New field.
5043         (JTextField): Simplified.
5044         (getUIClassID): New method.
5045         (getActionListeners): Added @since tag.
5046         (setColumns): Invalidate layout and repaint.
5047         (getHorizontalAlignment): New method.
5048         (setHorizontalAlignment): New method.
5049         (selectAll): Removed.
5050         * javax/swing/SwingUtilities.java
5051         (getAncestorOfClass): Removed redundant @see tag.
5052         (isLeftMouseButton): Fixed implementation.
5053         (isMiddleMouseButton): Likewise.
5054         (isRightMouseButton): Likewise.
5055         * javax/swing/text/AbstractDocument.java
5056         (AttributeContext.addAttribute): New method.
5057         (AttributeContext.addAttributes): New method.
5058         (AttributeContext.getEmptySet): New method.
5059         (AttributeContext.reclaim): New method.
5060         (AttributeContext.removeAttribute): New method.
5061         (AttributeContext.removeAttributes): New method.
5062         * javax/swing/text/Document.java
5063         (createPosition): Throws BadLocationException.
5064         (getText): Likewise.
5065         (remove): Likewise.
5066         * javax/swing/text/JTextComponent.java
5067         (getText): Return null if no document is set. Catch
5068         BadLocationException.
5069         (getUI): Return ui.
5070         (updateUI): Simplified.
5071
5072 2004-07-21  Michael Koch  <konqueror@gmx.de>
5073
5074         * javax/swing/JButton.java
5075         (removeNotify): Fixed javadoc.
5076         (updateUI): Simplified.
5077
5078 2004-07-21  David Jee  <djee@redhat.com>
5079
5080         * gnu/java/awt/image/ImageDecoder.java
5081         (startProduction): Only add consumer if it's not added yet.
5082         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5083         (GdkPixbufDecoder): Don't call initState() here.
5084         (produce): Call initState() here, to ensure area_prepared and
5085         area_updated signals are properly connected.
5086         * gnu/java/awt/peer/gtk/GtkImage.java
5087         (setColorModel): Use equals() to compare ColorModel objects.
5088         (setPixels): Likewise.
5089         * java/awt/image/ColorModel.java
5090         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5091         * java/awt/image/RGBImageFilter.java
5092         (setColorModel): Set consumer's color model.
5093         (setPixels): Use equals() to compare ColorModel objects.
5094
5095 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
5096
5097         * java/net/URLConnection.java (position): New field.
5098         (dateFormat1, dateFormat2, dateFormat3): Removed.
5099         (dateFormats): New field.
5100         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5101         each time instead of re-allocating.
5102         (initializeDateFormats): Initialize 'dateFormats'.
5103
5104 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5105
5106         PR libgcj/16591
5107         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5108         is defined.
5109
5110 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5111
5112         * java/net/Socket.java (getImpl): Now private. Remove comment.
5113
5114 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5115
5116         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5117         of chained Writer when calling super-constructor.
5118         * java/io/FilterWriter.java (FilterWriter): Likewise.
5119         * java/io/PrintWriter.java (PrintWriter): Likewise.
5120
5121 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
5122
5123         * prims.cc (process_gcj_properties): Don't increment i within LHS
5124         of assignment.
5125
5126 2004-07-19  Per Bothner  <per@bothner.com>
5127
5128         Print -verbose:message on "loading", not initialization.
5129         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
5130         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
5131         gcj::verbose_class_flag.
5132         * java/lang/natClass.cc (initializeClass):  Don't print message here.
5133         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
5134         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5135         (_Jv_PrepareCompiledClass):  Likewise.
5136
5137 2004-07-18  Matthias Klose  <doko@debian.org>
5138
5139         * configure.in: Substitute target_noncanonical.
5140         * configure: Regenerate
5141
5142 2004-07-17  Michael Koch  <konqueror@gmx.de>
5143
5144         * java/lang/String.java: Fixed javadocs all over.
5145
5146 2004-07-17  Mark Wielaard  <mark@klomp.org>
5147
5148         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5149         when size is smaller.
5150         * java/io/RandomAccessFile.java (setLength): Use truncate for
5151         shrinking the file and seek plus write for expanding the file.
5152
5153 2004-07-17  Michael Koch  <konqueror@gmx.de>
5154
5155         * gnu/java/nio/channels/natFileChannelPosix.cc
5156         (implTruncate): Always save current position. Only reposition file
5157         pointer to where we started if not beyond new lenght. Reposition file
5158         pointer to file length if it points beyond the end of file.
5159
5160 2004-07-17  Mark Wielaard  <mark@klomp.org>
5161
5162         * javax/swing/Box.java: Put FIXME comment above class declaration.
5163         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5164         * javax/swing/JCheckBox.java: Likewise.
5165         * javax/swing/JDialog.java: Likewise.
5166         * javax/swing/JRadioButton.java: Likewise.
5167         * javax/swing/JToggleButton.java: Likewise.
5168         * javax/swing/UIManager.java: Likewise.
5169         * javax/swing/border/TitledBorder.java: Likewise.
5170         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5171         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5172         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5173         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5174         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5175         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5176         * javax/swing/text/JTextComponent.java: Likewise.
5177
5178 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5179
5180         * java/net/DatagramPacket.java (setAddress): Removed check for
5181         null address.
5182
5183 2004-07-17  Michael Koch  <konqueror@gmx.de>
5184
5185         * java/net/DatagramSocket.java
5186         (getLocalAddress): Check if socket is bound or not.
5187         * java/net/Socket.java
5188         (getLocalAddrss): Check if socket is bound or not.
5189         (getPort): Return -1 when not connected. Dont check getImpl() for
5190         null.
5191         (setReuseAddress): Check if socket is closed.
5192         (isConnected): Check if getImpl() returns null.
5193
5194 2004-07-17  Mark Wielaard  <mark@klomp.org>
5195
5196         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5197         on notifier object before calling notifyAll().
5198
5199 2004-07-17  Michael Koch  <konqueror@gmx.de>
5200
5201         * gnu/java/nio/channels/FileChannelImpl.java
5202         (finalize): Added javadoc.
5203
5204 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5205
5206         * java/text/CollationElementIterator.java
5207         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5208         (setText): Use ArrayList instead of Vector.
5209
5210 2004-07-17  Michael Koch  <konqueror@gmx.de>
5211
5212         * java/nio/ByteOrder.java
5213         (static): Removed. Not needed.
5214         Thanks to Patrick Reali for noticing.
5215         * java/nio/charset/CharsetDecoder.java
5216         (decode): Fix for classpath bug #9177: Reset state before flipping.
5217
5218 2004-07-17  Michael Koch  <konqueror@gmx.de>
5219
5220         * java/security/Security.java: Fixed javadocs all over.
5221
5222 2004-07-17  Michael Koch  <konqueror@gmx.de>
5223
5224         * gnu/java/awt/EmbeddedWindow.java
5225         (static): Removed.
5226         (addNotify): Set peer via reflection.
5227         (setWindowPeer): Removed.
5228         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5229         * Makefile.am (nat_source_files):
5230         Removed gnu/java/awt/natEmbeddedWindow.cc.
5231         * Makefile.in: Regenerated.
5232
5233 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5234
5235         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5236         assignment.
5237         * configure: Regenerated.
5238
5239 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5240
5241         * configure.in: Use build_noncanonical rather than build_alias.
5242         * configure: Rebuild.
5243
5244         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5245         by logic refactoring.  Move default definition of NATIVE closer
5246         to first alternate definition.
5247         * configure: Regenerate.
5248
5249         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5250         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5251         gcj/Makefile.in: Regenerate.
5252         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5253         in AM_CONDITIONAL(NATIVE,...)
5254         * configure: Regenerate.
5255
5256 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5257
5258         * configure.in: Use target_noncanonical rather than
5259         target_alias for forward-compatibility with autoconf 2.59.
5260         * configure: Regenerate.
5261         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5262         testsuite/Makefile.am: Substitute target_noncanonical.
5263         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5264         testsuite/Makefile.in: Regenerate.
5265
5266         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5267         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5268         * acinclude.m4: Include acx.m4.
5269         * aclocal.m4: Regenerate.
5270         * configure: Regenerate.
5271
5272 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5273
5274         PR libgcj/16574
5275         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5276         (decimalFormat): New static variable.
5277         (sbuf): Likewise.
5278         (getTime): New. Override Date.getTime().
5279         (toString): Synchronize. Use decimalFormat to format nanos value
5280         correctly. Truncate extra zeros.
5281         (before): Compare getNanos() only if getTime() is equal.
5282         (after): Likewise.
5283         
5284 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5285
5286         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5287         * configure.in: ...here.
5288         * aclocal.m4: Regenerate.
5289         * configure: Regenerate.
5290
5291         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5292         * configure: Rebuilt with autoconf 2.13.
5293         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5294         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5295
5296 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5297
5298         PR libgcj/16204
5299         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5300         large file support.
5301         * Makefile.in: Rebuilt.
5302         * testsuite/libjava.lang/LargeFile.java: New test case.
5303         * testsuite/libjava.lang/LargeFile.out: New file.
5304
5305 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5306
5307         * java/beans/EventHandler.java: Remove debugging statements.
5308
5309 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5310
5311         * java/beans/EventHandler.java: New file.
5312         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5313         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5314         testsuite/Makefile.in: Regenerate.
5315
5316 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5317
5318         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5319         flag to the gcj_setup.
5320         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5321         the tclsh.
5322         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5323         deprecation flag change. 58 XFAILS removed.
5324
5325 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5326
5327         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5328         -fno-use-divide-subroutine.
5329         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5330         (HANDLE_FPE): Define.
5331         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5332         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5333         (HANDLE_DIVIDE_OVERFLOW): Define.
5334
5335 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5336             Matthias Klose  <doko@debian.org> 
5337
5338         * java/awt/im/InputContext.java: Initialize in, line.
5339
5340 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5341
5342         * interpret.cc (run): Correctly access libffi return values of
5343         integral smaller-than-int type; these are implicitly promoted.
5344
5345 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5346
5347         PR libgcj/7587
5348         * interpret.cc (compile_mutex): New.
5349         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5350         (run): Lock compile_mutex before calling compile() if compilation is
5351         required.
5352         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5353         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5354
5355 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5356
5357         PR libgcj/15713
5358         * include/jvm.h (_Jv_value): New union type.
5359         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5360         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5361         union members.
5362
5363 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5364
5365         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5366         * gnu/awt/xlib/XOffScreenImage.java
5367           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5368           constructor argument. Add constructor using ImageProducer.
5369           (getSource): Implement.
5370           (imageComplete): New method.
5371           (setColorModel): New method.
5372           (setDimensions): New method.
5373           (setHints): New method.
5374           (setPixels): New method.
5375           (setProperties): New method.
5376         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5377         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5378
5379 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5380
5381         PR libgcj/16478 
5382         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5383         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5384         (finalizerReady): Now native.
5385         (run): Likewise.
5386         (runFinalizers): Removed.
5387         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5388         a primitive lock, and don't hold it while running the finalizers.
5389         (runFinalizers): Implement. Don't aquire any Java lock.
5390         (finalizerReady): Use lock primitives to signal finalizer thread.
5391
5392 2004-07-11  Mark Wielaard  <mark@klomp.org>
5393
5394         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5395         * java/net/URLStreamHandler.java (parseURL): When url file part
5396         doesn't contain a '/' just ignore context.
5397
5398 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5399
5400         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5401         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5402         (MAKE_THROW_FRAME): Do not modify PSW address.
5403         (INIT_SEGV): Install SIGINFO-style signal handler.
5404         (INIT_FPE): Likewise.
5405
5406 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5407
5408         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5409         status. 21 xfail's removed, 1 added.
5410
5411 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5412
5413         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5414
5415 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5416
5417         * java/text/MessageFormat.java
5418         (formatInternal): Append "{n}" if argument n is unavailable.
5419         (format(Object, StringBuffer, FieldPosition)): This
5420         should be equivalent to format(Object[],
5421         StringBuffer, FieldPosition).
5422
5423 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5424
5425         * java.util.Calendar.java (cache): New private static field. Cached
5426         mappings of locales->calendar classes.
5427         (ctorArgTypes): New private static field. Singleton argument for
5428         calendar class constructor lookup.
5429         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5430         Optimize by bypassing reflection instantiation for the 
5431         GregorianCalendar case.
5432
5433 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5434
5435         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5436         ResourceBundle.getBundle() calls.
5437         * java/util/GregorianCalendar.java: Likewise.
5438         * java/util/Currency.java: Likewise.
5439         * java/text/BreakIterator.java: Likewise.
5440         * java/text/Collator.java: Likewise.
5441         * java/text/DateFormat.java: Likewise.
5442         * java/text/DateFormatSymbols.java: Likewise.
5443         * java/text/DecimalFormatSymbols.java: Likewise.
5444         * java/text/NumberFormat.java: Likewise.
5445         * java/awt/Window.java: Likewise.       
5446
5447 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5448
5449         * java/util/ResourceBundle.java (bundleCache): Renamed from
5450         resourceBundleCache. Update comments.
5451         (getObject): Don't catch MissingResourceException.
5452         (getBundle(String)): Remove 'final'. Use system classloader if
5453         getCallingClassLoader returned null.
5454         (getBundle(String, Locale)): Likewise.
5455         (BundleKey): New private class. HashMap key for bundle cache lookup.
5456         (lookupKey): New. Singleton instance of BundleKey.
5457         (nullEntry): New. Cache entry to represent failed lookups.
5458         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5459         caching strategy, no-allocation lookup, and new tryBundle methods.
5460         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5461         name using given classloader.
5462         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5463         baseName for given Locale and attempt to load bundle.
5464
5465 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5466
5467         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5468         illegal protected method calls.
5469
5470 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5471
5472         Fix or remove some bogus test cases.
5473         * testsuite/libjava.compile/pr10459_2.java: Removed.
5474         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5475         not Object.clone().
5476         * testsuite/libjava.compile/inner_data.java: Test against its own
5477         protected field.
5478
5479 2004-07-09  Michael Koch  <konqueror@gmx.de>
5480
5481         * scripts/unicode-muncher.pl: Updated to version 2.1
5482         from GNU classpath. Added some clarifications on where to find the
5483         needed files from www.unicode.org.
5484         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5485         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5486         Removed, these can directly be downloaded from www.unicode.org if
5487         needed. 
5488         * gnu/java/lang/CharData.java: Regenerated.
5489         * include/java-chartables.h: Regenerated.
5490         * Makefile.am (ordinary_java_source_files):
5491         Removed gnu/java/lang/CharData.java.
5492         * Makefile.in: Regenerated.
5493
5494 2004-07-09  Michael Koch  <konqueror@gmx.de>
5495
5496         * java/security/AccessControlContext.java,
5497         java/security/SecureClassLoader.java:
5498         Fixed javadocs.
5499
5500 2004-07-09  Michael Koch  <konqueror@gmx.de>
5501
5502         * java/io/ObjectInputStream.java (readFields): Use long datatype
5503         when shifting byte values more then 24 bits left.
5504
5505 2004-07-09  Michael Koch  <konqueror@gmx.de>
5506
5507         * java/util/zip/DeflaterOutputStream.java,
5508         java/util/zip/GZIPInputStream.java,
5509         java/util/zip/GZIPOutputStream.java,
5510         java/util/zip/InflaterInputStream.java:
5511         Reformatted. Added javadocs. Reordered all stuff.
5512         Renamed variables to be more clear.
5513
5514 2004-07-09  Michael Koch  <konqueror@gmx.de>
5515
5516         * javax/imageio/IIOException.java,
5517         javax/imageio/event/IIOReadProgressListener.java,
5518         javax/imageio/event/IIOReadUpdateListener.java,
5519         javax/imageio/event/IIOReadWarningListener.java,
5520         javax/imageio/event/IIOWriteProgressListener.java,
5521         javax/imageio/event/IIOWriteWarningListener.java:
5522         New files.
5523         * Makefile.am: Added new files.
5524         * Makefile.in: Regenerated.
5525
5526 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5527
5528         * java/text/RuleBasedCollator.java
5529         (mergeRules): Use ArrayList instead of Vector.
5530         (subParseString): likewise.
5531         (parseString): likewise.
5532         (buildCollationVector): likewise.
5533         (getCollationKey): likewise.
5534
5535 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5536
5537         * java/text/DateFormat.java (parse):
5538         Improved javadoc. Improved exception message.
5539
5540 2004-07-09  Mark Wielaard  <mark@klomp.org>
5541
5542         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5543         interrupted() method to clear interupt flag of our Thread.
5544
5545 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5546
5547         * java/nio/Buffer.java,
5548         java/nio/ByteBuffer.java,
5549         java/nio/ByteBufferHelper.java,
5550         java/nio/ByteBufferImpl.java,
5551         java/nio/CharBuffer.java,
5552         java/nio/CharBufferImpl.java,
5553         java/nio/CharViewBufferImpl.java,
5554         java/nio/DirectByteBufferImpl.java,
5555         java/nio/DoubleBuffer.java,
5556         java/nio/DoubleBufferImpl.java,
5557         java/nio/DoubleViewBufferImpl.java,
5558         java/nio/FloatBuffer.java,
5559         java/nio/FloatBufferImpl.java,
5560         java/nio/FloatViewBufferImpl.java,
5561         java/nio/IntBuffer.java,
5562         java/nio/IntBufferImpl.java,
5563         java/nio/IntViewBufferImpl.java,
5564         java/nio/LongBuffer.java,
5565         java/nio/LongBufferImpl.java,
5566         java/nio/LongViewBufferImpl.java,
5567         java/nio/MappedByteBufferImpl.java,
5568         java/nio/ShortBuffer.java,
5569         java/nio/ShortBufferImpl.java,
5570         java/nio/ShortViewBufferImpl.java:
5571         Fixed javadocs all over. Improved input error
5572         checking.
5573
5574         * java/nio/Buffer.java
5575         (checkForUnderflow, checkForOverflow, checkIndex,
5576         checkIfReadOnly, checkArraySize): New helper methods
5577         for error checking.
5578
5579         * java/nio/ByteBufferHelper.java
5580         (checkRemainingForRead, checkRemainingForWrite,
5581         checkAvailableForRead, checkAvailableForWrite): Removed
5582         no longer needed methods.
5583
5584 2004-07-09  Michael Koch  <konqueror@gmx.de>
5585
5586         * gnu/regexp/CharIndexedInputStream.java:
5587         Reordered imports to match classpath.
5588
5589 2004-07-09  Michael Koch  <konqueror@gmx.de>
5590
5591         * gnu/java/awt/EmbeddedWindow.java:
5592         Load native library for setWindowPeer method.
5593
5594 2004-07-08  Randolph Chung  <tausq@debian.org>
5595
5596         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5597         * configure: Regenerate.
5598         * configure.host: Set can_unwind_signal for hppa*-linux.
5599         * include/pa-signal.h: New file.
5600
5601 2004-07-07  Per Bothner  <per@bothner.com>
5602
5603         * Makefile.am:  Add rules to build libgij from just gij.cc.
5604
5605         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5606         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5607         (initializeClass):  If verbose_class_flag, print message.
5608         * gij.cc (main):  Handle -verbose:class flag.
5609
5610 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5611
5612         * configure.host: Enable hash synchronization on Darwin.
5613         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5614         ';', since this is a comment on Darwin.
5615         (compare_and_swap_release): Likewise.
5616
5617 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5618
5619         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5620         file portion of URL in addition to spec for file: protocol.
5621
5622 2004-07-05  Anthony Green  <green@redhat.com>
5623
5624         * java/io/File.java (toURI): Merge from Classpath.
5625
5626 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5627
5628         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5629         before passing to URL constructor. Rethrow any MalformedURLException
5630         as a RuntimeException. Catch MalformedURLException specifically, not
5631         all exceptions.
5632
5633 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5634
5635         * java/util/Locale.java (readObject): Intern strings read from object
5636         stream.
5637
5638 2004-07-04  Michael Koch  <konqueror@gmx.de>
5639
5640         * gnu/gcj/runtime/FirstThread.java,
5641         gnu/gcj/runtime/natFirstThread.cc: Removed.
5642         * gnu/java/lang/MainThread.java,
5643         gnu/java/lang/natMainThread.cc: New files.
5644         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5645         * Makefile.am: Added new files and removed deleted ones.
5646         * Makefile.in: Regenerated.
5647
5648 2004-07-03  Mark Wielaard  <mark@klomp.org>
5649             Anthony Green  <green@redhat.com>
5650
5651         * java/net/URL.java (getFile): Clarify return value doc.
5652         (getPath): Return null if file is empty - not empty String.
5653         (set): Convert protocol to lower case before doing anything.
5654         Only change the protocol handler if it's different.
5655
5656 2004-07-03  Anthony Green  <green@redhat.com>
5657
5658         * java/net/URL.java (URL): Convert protocol to lower case before
5659         doing anything, so we getURLStreamHandler() with the proper value.
5660
5661 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5662
5663         * java/util/Locale.java (hashcode): Made transient.
5664         (hashCode): No longer synchronized.
5665         (equals): Remove comment.
5666         (writeObject): No longer synchronized. Implement using writeObject 
5667         calls instead of tweaking hashCode field. Update doc.
5668         (readObject): Implement using readObject calls.
5669
5670 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5671             Andreas Tobler  <a.tobler@schweiz.ch>
5672
5673         * configure.host (powerpc-*-darwin*): New case, define
5674         can_unwind_signal.
5675         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5676         * configure: Regenerate.
5677         * include/darwin-signal.h: New.
5678
5679 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5680
5681         * java/beans/Statement.java (doExecute): Fix formatting.
5682
5683 2004-06-29  Per Bothner  <per@bothner.com>
5684
5685         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5686         etc etc):  Remove needless parenthesis, which causes __stdcall__
5687         attribute on MinGW to get ignored.
5688
5689 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5690
5691         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5692
5693 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5694
5695         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5696
5697 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5698
5699         * java/beans/Expression.java: New file.
5700         * java/beans/Statement.java: New file.
5701         * Makefile.am: Added new files.
5702         * Makefile.in: Re-generate.
5703
5704 2004-06-27 Mark Wielaard  <mark@klomp.org>
5705
5706         * java/io/FilePermission.java (usingPerms): Removed.
5707         (actionsString): Made final.
5708         (cachePerms): Renamed to checkPerms.
5709         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5710         on action String.
5711         (FilePermission): Check arguments, call checkPerms().
5712         (equals): Remove cachePerms() call.
5713         (implies): Likewise.
5714
5715 2004-06-27  Mark Wielaard  <mark@klomp.org>
5716
5717         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5718         final field.
5719         (sendRequest): Use new field in user-agent http agent.
5720
5721 2004-06-27  Mark Wielaard  <mark@klomp.org>
5722
5723         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5724         when argument is null.
5725
5726 2004-06-26  Mark Wielaard  <mark@klomp.org>
5727
5728         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5729         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5730         GetMethodID call.
5731         (cancel_clicked): Likewise.
5732
5733 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5734
5735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5736         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5737         can not calculate the right value.
5738         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5739
5740 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5741
5742         * testsuite/libjava.jacks/jacks.xfail: Remove
5743         15.9.1-qualified-concrete-20.
5744
5745 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5746
5747         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5748         encoding name to iconv.
5749         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5750
5751 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5752
5753         PR libgcj/16134:
5754         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5755         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5756         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5757
5758 2004-06-21  Andrew Haley  <aph@redhat.com>
5759
5760         * java/io/ObjectOutputStream.java: Add DEBUG statements
5761         everywhere.
5762         (dumpElementln): New method.
5763         (depth): New field.
5764         * java/io/ObjectInputStream.java
5765         (currentClassLoader): Make native.
5766         (callersClassLoader): New field.
5767         (depth): New field.
5768         (readObject): ENDBLOCKDATA is generated if the class has a write
5769         method, not if it has a read method.
5770         (readObject): Save and restore this.currentObject and
5771         this.currentObjectStreamClass around calls to callReadMethod().
5772         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5773         method.
5774
5775 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5776
5777         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5778         darwin.
5779
5780 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5781
5782         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5783         if desired, before the default class loader is initialised.
5784         Call INIT_SEGV only if HANDLE_SEGV is defined.
5785
5786 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5787
5788         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5789         directory only if it actually exists.
5790
5791 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5792
5793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5794         Fix up non-ansi comments.
5795
5796 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5797
5798         * javax/swing/text/AbstractDocument.java: Adding missing import
5799         for javax.swing.event.EventListenerList.
5800         * javax/swing/text/DefaultCaret.java: Likewise.
5801
5802 2004-06-17  Michael Koch  <konqueror@gmx.de>
5803
5804         * javax/swing/JToolBar.java
5805         (name): Removed.
5806         (JToolBar): Use Component.setName(String) instead of doing it all
5807         alone.
5808         * javax/swing/Timer.java
5809         (queueEvent): Added missing modifier.
5810
5811 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5812
5813         * Makefile.am: Added new file.
5814         * Makefile.in: Re-generate.
5815         * javax/swing/JMenu.java:
5816         (insertSeparator): Implemented.
5817         * javax/swing/JPopupMenu.java:
5818         (JPopupMenu.Separator): Implemented.
5819         * javax/swing/MenuSelectionManager.java:
5820         (processMouseEvent): Use java.awt.Component 
5821         for event source instead of javax.swing.JComponent. 
5822         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5823         New File. Implemented.
5824         
5825 2004-06-16  David Jee  <djee@redhat.com>
5826
5827         * java/awt/GridBagLayout.java
5828         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5829         Make sure pos_x and pos_y are never negative.
5830
5831 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5832
5833         * Makefile.am: Add new file.
5834         * Makefile.in: Re-generate.     
5835         * javax/swing/JToolBar.java
5836         Partially implemented.
5837         * javax/swing/plaf/basic/BasicToolBarUI.java
5838         New file. Partially implemented.
5839
5840 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5841
5842         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5843         (setComposite): Accept AlphaComposite arguments.
5844         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5845         (createBufferedImage): Add new overloads.
5846         * gnu/java/awt/peer/gtk/GtkToolkit.java
5847         (createImage): Use GdkPixbufDecoder.createBufferedImage
5848         when useGraphics2D() is true.
5849         (getImage): Delegate to createImage.
5850         * javax/swing/JList.java
5851         (isSelectionEmpty):
5852         (getFirstVisibleIndex):
5853         (getLastVisibleIndex):
5854         (setSelectedValue):
5855         (ensureIndexIsVisible): New methods.
5856         * javax/swing/Timer.java: Reimplement.
5857
5858 2004-06-16  Michael Koch  <konqueror@gmx.de>
5859
5860         * javax/swing/text/AbstractDocument.java
5861         (AbstracElement): Made public, implements java.io.Serializable.
5862         (AttributeContext): Made public.
5863         (BranchElement): Likewise.
5864         (Content): Likewise.
5865         (DefaultDocumentEvent): Made public, extends
5866         javax.swing.undo.CompoundEdit.
5867         (ElementEdit): Made public, extends
5868         javax.swing.undo.AbstractUndoableEdit.
5869         (LeafElement): Made public.
5870         (LeafElement.LeafElement): Made public.
5871
5872 2004-06-16  Michael Koch  <konqueror@gmx.de>
5873
5874         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5875         methods (that were obviously never be intended to get included hi this
5876         class. Added some methods too.
5877
5878 2004-06-16  Michael Koch  <konqueror@gmx.de>
5879
5880         * javax/swing/text/PlainDocument.java
5881         (serialVersionUID): New constant.
5882         (lineLimitAttribute): Likewise.
5883         (tabSizeAttribute): Likewise.
5884         (tabSize): New field.
5885         (PlainDocument): Made public.
5886         (PlainDocument): New constructor.
5887
5888 2004-06-16  Michael Koch  <konqueror@gmx.de>
5889
5890         * javax/swing/text/AbstractDocument.java
5891         (insertString): Throws BadLocationException.
5892         * javax/swing/text/Document.java
5893         (insertString): Likewise.
5894         * javax/swing/text/JTextComponent.java:
5895         Javadocs and comments cleaned up.
5896
5897 2004-06-16  Michael Koch  <konqueror@gmx.de>
5898
5899         * javax/swing/event/UndoableEditListener.java: Reformatted.
5900         * javax/swing/text/AbstractDocument.java
5901         (AbstractDocument): Implements java.io.Serializable.
5902         (doc_list): Removed.
5903         (undo_list): Removed.
5904         (AbstractElement.serialVerionUID): New field.
5905         (BranchElement.serialVerionUID): Likewise.
5906         (DefaultDocumentEvent.serialVerionUID): Likewise.
5907         (ElementEdit.serialVerionUID): Likewise.
5908         (LeafElement.serialVerionUID): Likewise.
5909         (serialVerionUID): Likewise.
5910         (BAD_LOCATION): New constant.
5911         (BidiElementName): Likewise.
5912         (ContentElementName): Likewise.
5913         (ParagraphElementName): Likewise.
5914         (SectionElementName): Likewise.
5915         (ElementNameAttribute): Likewise.
5916         (AbstractDocument): Made protected.
5917         (AbstractDocument): New construtor.
5918         (listenerList): New field.
5919         (fireChangedUpdate): Implemented.
5920         (fireInsertUpdate): Likewise.
5921         (fireRemoveUpdate): Likewise.
5922         (fireUndoableEditUpdate): Likewise.
5923         (getListeners): Likewise.
5924         (addDocumentListener): Likewise.
5925         (removeDocumentListener): Likewise.
5926         (addUndoableEditListener): Likewise.
5927         (removeUndoableEditListener): Likewise.
5928         (getDocumentListeners): New method.
5929         (getUndoableEditListeners): Likewise.
5930         (getAsynchronousLoadPriority): Made public.
5931         (getBidiRootElement): Likewise.
5932         (setAsynchronousLoadPriority): Likewise.
5933         (setDocumentProperties): Likewise.
5934         * javax/swing/text/BadLocationException.java
5935         (serialVerionUID): New field.
5936         * javax/swing/text/DefaultCaret.java
5937         (changeEvent): New field.
5938         (listenerList): Likewise.
5939         (changes): Removed.
5940         (addChangeListener): Reimplemented.
5941         (removeChangeListener): Likewise.
5942         (getListeners): New method.
5943         (getChangeListeners): Likwise.
5944         (getComponent): Likewise.
5945         * javax/swing/text/GapContent.java
5946         (GapContent): Implements java.io.Serializable.
5947         (serialVerionUID): New field.
5948
5949 2004-06-16  Michael Koch  <konqueror@gmx.de>
5950
5951         * javax/swing/JTree.java
5952         (treeModel): New field.
5953         (JTree): New constructors, one existing one made public.
5954         (createTreeModel): New method.
5955         (addTreeExpansionListener): Likewise.
5956         (removeTreeExpansionListener): Likewise.
5957         (getTreeExpansionListeners): Likewise.
5958         (fireTreeCollapsed): Likewise.
5959         (fireTreeExpanded): Likewise.
5960         (addTreeSelectionListener): Likewise.
5961         (removeTreeSelectionListener): Likewise.
5962         (getTreeSelectionListeners): Likewise.
5963         (fireValueChanged): Likewise.
5964         (addTreeWillExpandListener): Likewise.
5965         (removeTreeWillExpandListener): Likewise.
5966         (getTreeWillExpandListeners): Likewise.
5967         (fireTreeWillCollapse): Likewise.
5968         (fireTreeWillExpand): Likewise.
5969
5970 2004-06-16  Michael Koch  <konqueror@gmx.de>
5971
5972         * javax/swing/JTree.java: Reformatted.
5973
5974 2004-06-16  Michael Koch  <konqueror@gmx.de>
5975
5976         * javax/swing/JTextArea.java: New file.
5977         * javax/swing/JTextField.java
5978         (actions): Removed.
5979         (notifyAction): New constant.
5980         (columns): New field.
5981         (JTextField): New constructors.
5982         (createDefaultModel): New method.
5983         (addActionListener): Reimplmemented.
5984         (removeActionListener): Reimplemented.
5985         (getActionListeners): New method.
5986         (fireActionPerformed): New method.
5987         (getColumns): New method.
5988         (setColumne): New method.
5989         * javax/swing/text/JTextComponent.java
5990         (AccessibleJTextComponent.serialVersionUID): New field.
5991         (serialVersionUID): Likewise.
5992         (DEFAULT_KEYMAP): Likewise.
5993         (FOCUS_ACCELERATOR_KEY): Likewise.
5994         (doc): Made private.
5995         (icon_gap): Likewise.
5996         (icon): Likewise.
5997         (align): Likewise.
5998         (JTextComponent): Some constructors removed.
5999         (getScrollableTracksViewportHeight): New method.
6000         (getScrollableTracksViewportWidth): Likewise.
6001         * Makefile.am: Added javax/swing/JTextArea.java.
6002         * Makefile.in: Regenerated.
6003
6004 2004-06-15  Graydon Hoare  <graydon@redhat.com>
6005
6006         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6007         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6008         * javax/swing/JViewport.java 
6009         (getExtentSize): Return size rather than preferred size.
6010         (toViewCoordinates): New methods.
6011         (getViewSize): Return size rather than preferred size.
6012         (setViewSize): Note view size as set.
6013         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6014         * javax/swing/plaf/basic/BasicScrollBarUI.java 
6015         (getPreferredSize): Don't redo layout.
6016         * javax/swing/plaf/basic/BasicViewportUI.java 
6017         (paint): Translate image properly and eat exceptions.
6018
6019 2004-06-15  Kim Ho  <kho@redhat.com>
6020
6021         * javax/swing/JTabbedPane.java
6022         (setComponent): Remove old component and
6023         add new component.
6024         (setSelectedIndex): Don't operate on the 
6025         components if they're null. Don't set index
6026         on the model if the index is the same.
6027         (insertTab): Don't add or hide the component
6028         if it's null. Repaint the container.
6029         * javax/swing/plaf/basic/BasicLookAndFeel.java
6030         Change colors for TabbedPane.
6031         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6032         (mousePressed): Re-layout and paint the component.
6033         (layoutContainer): Don't set location on the view.
6034         (ScrollingViewport::paint): Remove.
6035
6036 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6037
6038         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6039         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6040
6041         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6042         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6043         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
6044         critical region.
6045         (drawLine): Call gdk_flush before leaving GDK critical region.
6046         (fillRect): Likewise.
6047         (drawRect): Likewise.
6048         (copyArea): Likewise.
6049         (copyPixmap): Likewise.
6050         (clearRect): Likewise.
6051         (drawArc): Likewise.
6052         (drawPolyline): Likewise.
6053         (drawPolygon): Likewise.
6054         (fillPolygon): Likewise.
6055         (fillArc): Likewise.
6056         (drawOval): Likewise.
6057         (fillOval): Likewise.
6058
6059         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6060         style parameter.
6061         (GdkFontMetrics): Add style argument to initState call.
6062         (stringWidth(String,int,int,String)): Add style parameter.
6063         (stringWidth(String)): Add style argument to stringWidth call.
6064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6065         (initState): Set pango font style and weight based on AWT style
6066         parameter.  Pass default GTK language to
6067         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
6068         simply dividing by PANGO_SCALE.
6069         (stringWidth): Set pango font style and weight based on AWT style
6070         parameter.
6071
6072         * java/awt/Button.java (next_button_number): New field.
6073         (paramString): Change output.
6074         (generateName): New method.
6075         (getUniqueLong): New method.
6076
6077 2004-06-14  Kim Ho  <kho@redhat.com>
6078
6079         * javax/swing/JTabbedPane.java:
6080         (setComponentAt): Set the component, not
6081         the enabled status.
6082         * javax/swing/plaf/basic/BasicDesktopIconUI.java
6083         (actionPerformed): Let deiconize catch exception.
6084
6085 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6086
6087         * javax/swing/JPopupMenu.java:
6088         (setVisible): Corrected location of a 
6089         heavyweight popup menu.
6090
6091 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6092
6093         * javax/swing/MenuSelectionManager.java: 
6094         Ran through jalopy to fix formatting style.
6095
6096 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6097         
6098         * javax/swing/JLayeredPane.java: 
6099         (remove): Revalidate and repaint layered pane after
6100         the component was removed.
6101         javax/swing/JMenu.java:
6102         (setVisible): Display popup menu at the user location,
6103         if one was set by the user.
6104         (setMenuLocation): Reimplemented. Fixed javadoc.
6105         * javax/swing/JMenuBar.java: Added javadoc.
6106         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6107         (MODEL_CHANGED_PROPERTY): New Property.
6108         (isSelected): Implemented.
6109         (setBorderPainted): Fire PropertyChangeEvent
6110         if paintBorder property changes.
6111         (setSelected): Implemented.
6112         (setSelectionModel): Implemented.
6113         * javax/swing/JPopupMenu.java: Added Javadoc
6114         (pack): Implemented.
6115         (setVisible): Reimplemented.
6116         (show): Fixed location.
6117         (JPopupMenu.LigthWeightPopup): Reimplemented to use
6118         Container instead of JPanel.
6119         * javax/swing/MenuSelectionManager.java: Added Javadocs.
6120         (clearSelectedPath): Reimplemented to clear selectedPath
6121         in reverse order.
6122         (processMouseEvent): Reimplemented.
6123         (setSelectedPath): Fire stateChange event indicating that
6124         selected menu path has changed.
6125         (getPath): Change to use ArrayList instead of Vector.
6126         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6127         (installUI): call installKeyboardActions().
6128         (uninstallUI): call uninstallKeyboardActions().
6129
6130 2004-06-13  Michael Koch  <konqueror@gmx.de>
6131
6132         * javax/swing/text/DefaultCaret.java,
6133         javax/swing/text/BadLocationException.java:
6134         Reformatted.
6135
6136 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6137
6138         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6139         DEFAULT_COLS): New variables.
6140         (create): Don't allow 0 rows or 0 columns.  Instead, set the
6141         values to DEFAULT_ROWS or DEFAULT_COLS.
6142         (getMinimumSize): Likewise.
6143         (getPreferredSize): Likewise.
6144         (minimumSize): Likewise.
6145         (preferredSize): Likewise.
6146         (create): Set peer's editable state.
6147         * java/awt/TextArea.java (TextArea()): Set rows and columns to
6148         zero.  Update javadocs.
6149         (TextArea(String)): Likewise.
6150         (TextArea(int,int)): Fix javadocs.
6151         (TextArea(String,int,int,int)): Only throw exception if one of
6152         rows or columns is zero.  Fix javadocs.
6153
6154 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
6155
6156         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6157         addition to Components.
6158
6159         * java/awt/MenuItem.java (dispatchEventImpl): If the event
6160         wasn't consumed by normal processing, send it to the parent
6161         menu.
6162
6163         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6164         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6165         translation.
6166
6167 2004-06-11  David Jee  <djee@redhat.com>
6168
6169         * java/awt/MediaTracker.java
6170         (addImage(Image,int)): Call imageUpdate() to udpate image status.
6171         (addImage(Image,int,int,int)): Likewise.
6172
6173 2004-06-11  Michael Koch  <konqueror@gmx.de>
6174
6175         * javax/swing/text/AbstractDocument.java,
6176         javax/swing/text/Document.java,
6177         javax/swing/text/GapContent.java,
6178         javax/swing/text/JTextComponent.java,
6179         javax/swing/text/PlainDocument.java:
6180         Reformatted.
6181
6182 2004-06-11  Michael Koch  <konqueror@gmx.de>
6183
6184         * javax/swing/JRootPane.java
6185         (AccessibleJRootPane.serialVersionUID): New field.
6186         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6187         (AccessibleJRootPane.getAccessibleRole): New method.
6188         (RootLayout): Implements Serializable.
6189         (RootLayout.serialVersionUID): New field.
6190         (RootLayout.RootLayout): New constructor.
6191         (setJMenuBar): Made public.
6192         (getJMenuBar): Likewise.
6193         (JRootPane): Likewise.
6194         (createContentPane): Likewise.
6195         (createGlassPane): Likewise.
6196         (createLayeredPane): Likewise.
6197
6198 2004-06-11  Michael Koch  <konqueror@gmx.de>
6199
6200         * javax/swing/SwingUtilities.java
6201         (isLeftMouseButton): Fixed javadoc.
6202         (isMiddleMouseButton): Likewise.
6203         (isRightMouseButton): Likewise.
6204
6205 2004-06-11  Michael Koch  <konqueror@gmx.de>
6206
6207         * javax/swing/JScrollPane.java
6208         (serialVersionUID): New field.
6209         (columnHeader): Made protected.
6210         (rowHeader): Likewise.
6211         (lowerLeft): Likewise.
6212         (lowerRight): Likewise.
6213         (upperLeft): Likewise.
6214         (upperRight): Likewise.
6215         (horizontalScrollBar): Likewise.
6216         (horizontalScrollBarPolicy): Likewise.
6217         (verticalScrollBar): Likewise.
6218         (verticalScrollBarPolicy): Likewise.
6219         (viewport): Likewise.
6220
6221 2004-06-11  Michael Koch  <konqueror@gmx.de>
6222
6223         * javax/swing/LookAndFeel.java: Fixed javadocs.
6224
6225 2004-06-11  Michael Koch  <konqueror@gmx.de>
6226
6227         * javax/swing/JEditorPane.java: Fixed javadocs.
6228         (JEditorPane): Removed redundant call to to this().
6229         (fireHyperlinkUpdate): Implemented.
6230
6231 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6232
6233         * javax/swing/JMenu.java: Fixed file name 
6234         in the file comment.
6235
6236 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6237
6238         * javax/swing/JMenu.java: Added javadoc.
6239         (JMenu): Added MenuChangeListener to listen to 
6240         ChangeEvents occuring in menu's model. 
6241         (insert): Throw IllegalArgumentException if 
6242         index is less than 0
6243         (setSelected): Reimplement.
6244         (setPopupMenuVisible): Call menu's model isEnabled()
6245         (setDelay): Throw IllegalArgumentException if 
6246         given amount of delay is less than 0.
6247         (createActionComponent): Implemented.
6248         (createActionChangeListener): Implemented.
6249         (addSeparator): Implemented.
6250         (getItem): Throw IllegalArgumentException if index is 
6251         less than 0.
6252         (getItemCount): Implemented.
6253         (fireMenuSelected): Changed to use menuEvent.
6254         (fireMenuDeselected): Likewise.
6255         (fireMenuCanceled): Likewise.
6256         (setAccelerator): Changed to throw an error if this 
6257         method is used. 
6258         (doClick): Implemented.
6259         (JMenu.ActionChangedListener): New inner class to handle
6260         PropertyChangeEvents occuring in the actions associated with menu.
6261         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6262         (BasicMenuUI): Added PropertyChangeListener to the menu.
6263         (createChangeListener): Implemented.
6264         (createMenuDragMouseListener): Likewise.
6265         (createMenuKeyListener): Likewise.
6266         (createPropertyChangeListener): Likewise.
6267         (uninstallListeners): Likewise.
6268         (BasicMenuUI.MouseInputHandler): Reimplemented.
6269         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6270         (BasicMenuUI.ChangeHandler): Likewise.
6271         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6272         (BasicMenuUI.MenuKeyHandler): Likewise.
6273
6274 2004-06-10  David Jee  <djee@redhat.com>
6275
6276         * java/awt/MediaTracker.java
6277         (imageUpdate): Only do notifyAll() if the image is complete.
6278
6279 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6280
6281         * javax/swing/JApplet.java:
6282         (getJMenuBar): Made public.
6283         (setJMenuBar): Likewise.
6284         * javax/swing/JFrame.java:
6285         (getJMenuBar): Made public.
6286         (setJMenuBar): Likewise.
6287         * javax/swing/JWindow.java:
6288         (getJMenuBar): Removed.
6289         (setJMenuBar): Removed.
6290
6291 2004-06-10  Michael Koch  <konqueror@gmx.de>
6292
6293         * javax/swing/JEditorPane.java
6294         (createEditorKitForContentType): Fixed visibility.
6295         (fireHyperlinkUpdate): Likewise.
6296         (getContentType): Likewise.
6297         (getEditorKit): Likewise.
6298         (getEditorKitForContentType): Likewise.
6299         (getPage): Likewise.
6300         (read): Likewise.
6301         (registerEditorKitForContentTyoe): Likewise.
6302         (replaceSelection): Likewise.
6303         (setContentType): Likewise.
6304         (setEditorKit): Likewise.
6305         (setPage): Likewise.
6306
6307 2004-06-10  Michael Koch  <konqueror@gmx.de>
6308
6309         * javax/swing/Timer.java
6310         (Timer): New constructor.
6311         * javax/swing/plaf/basic/BasicProgressBarUI.java
6312         (animationTimer): Don't initialize at construction.
6313         (startAnimationTimer): Added since tag.
6314         (stopAnimationTimer): Likewise.
6315         (installUI): Use new Timer constructor.
6316         * javax/swing/plaf/basic/BasicScrollBarUI.java
6317         (installUI): Likewise.
6318         * javax/swing/plaf/basic/BasicSliderUI.java
6319         (installUI): Likewise.
6320
6321 2004-06-10  Michael Koch  <konqueror@gmx.de>
6322
6323         * javax/swing/ButtonGroup.java
6324         (serialVersionUID): Made private.
6325         (buttons): Renamed from v, added javadoc.
6326         (sel): Added javadoc.
6327         (ButtonGroup): Likewise.
6328         (add): Likewise.
6329         (remove): Likewise.
6330         (getElements): Likewise.
6331         (getSelection): Likewise.
6332         (setSelected): Likewise.
6333         (isSelected): Likewise.
6334         (getButtonCount): Likewise.
6335
6336 2004-06-10  Michael Koch  <konqueror@gmx.de>
6337
6338         * javax/swing/ButtonGroup.java,
6339         javax/swing/ImageIcon.java,
6340         javax/swing/JEditorPane.java,
6341         javax/swing/JRootPane.java,
6342         javax/swing/JTextField.java,
6343         javax/swing/LookAndFeel.java,
6344         javax/swing/plaf/basic/BasicTextUI.java:
6345         Reindented.
6346
6347 2004-06-10  Michael Koch  <konqueror@gmx.de>
6348
6349         * javax/swing/text/Style.java: Added javadocs.
6350
6351 2004-06-10  Michael Koch  <konqueror@gmx.de>
6352
6353         * javax/swing/JComponent.java
6354         (fireVetoableChange): Removed redundant cast.
6355         * javax/swing/JLabel.java
6356         (getDisabledIcon): Save icon for next call.
6357
6358 2004-06-10  Michael Koch  <konqueror@gmx.de>
6359
6360         * javax/swing/KeyStroke.java
6361         (getKeyStroke(char,boolean)): Marked deprecated.
6362
6363 2004-06-10  Michael Koch  <konqueror@gmx.de>
6364
6365         * javax/swing/DefaultCellEditor.java,
6366         javax/swing/GrayFilter.java,
6367         javax/swing/event/DocumentEvent.java,
6368         javax/swing/text/JTextComponent.java,
6369         javax/swing/text/MutableAttributeSet.java:
6370         Reindented.
6371
6372 2004-06-10  Michael Koch  <konqueror@gmx.de>
6373
6374         * javax/swing/plaf/BorderUIResource.java:
6375         Added serialVersionUID all over.
6376
6377 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6378
6379         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6380
6381 2004-06-10  Michael Koch  <konqueror@gmx.de>
6382
6383         * javax/swing/table/DefaultTableCellRenderer.java
6384         (noFocusBorder): Initialize directly.
6385
6386 2004-06-10  Michael Koch  <konqueror@gmx.de>
6387
6388         * javax/swing/plaf/basic/BasicArrowButton.java
6389         (setDirection): Use method argument.
6390
6391 2004-06-10  Michael Koch  <konqueror@gmx.de>
6392
6393         * javax/swing/plaf/BorderUIResource.java,
6394         javax/swing/plaf/ComponentUI.java,
6395         javax/swing/undo/CompoundEdit.java,
6396         javax/swing/undo/StateEdit.java:
6397         Fixed javadocs all over.
6398
6399 2004-06-10  Michael Koch  <konqueror@gmx.de>
6400
6401         * javax/swing/DefaultButtonModel.java
6402         (ARMED): Made public final, fixed value.
6403         (ENABLED): Likewise.
6404         (PRESSED): Likewise.
6405         (ROLLOVER): Likewise.
6406         (SELECTED): Likewise.
6407         (stateMask): Initialize directly.
6408         (listenerList): Likewise.
6409         (mnemonic): Likewise.
6410         (fireStateChanged): Removed argument, use changeEvent as event.
6411         All places where this method is called are fixed too.
6412         (getActionCommant): Fixed javadoc.
6413         (setGroup): Fixed javadoc.
6414         (getGroup): New method.
6415
6416 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6417
6418         * javax/swing/AbstractButton.java
6419         (AbstractButton): Use init() to initialize the button.
6420         (init): New Method. Initializes AbstractButton.
6421         * javax/swing/JMenuItem.java: Documented.
6422         (JMenuItem): Reimplemented.
6423         (init): Implemented.
6424         (setEnabled): Changed to call super.setEnabled()
6425         (processMouseEvent): Reimplemented.
6426         (fireMenuKeyPressed): Implemented.
6427         (fireMenuKeyReleased): Implemented.
6428         (fireMenuKeyTyped): Implemented.
6429         (menuSelectionChanged): disarm the model if the menu item was
6430         deselected.
6431         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6432         (getPath): Change to use ArrayList instead of Vector.
6433         (getPreferredSize): Renamed variable.
6434         (paintMenuItem): Paint margin area of menu item.
6435         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6436         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6437         menu item's bounds before clearing the selection.       
6438
6439 2004-06-09  David Jee  <djee@redhat.com>
6440
6441         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6442         (GtkTextComponentPeer): Set caret position to 0.
6443         * java/awt/TextComponent.java
6444         (setText): Set caret position to 0.
6445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6446         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6447         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6448         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6449         Likewise.
6450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6451         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6452         visible.
6453
6454 2004-06-09  Kim Ho  <kho@redhat.com>
6455
6456         * Makefile.am: New files
6457         * Makefile.in: Regenerated
6458         * java/awt/Container.java
6459         (getComponentAt): Removed.
6460         * javax/swing/AbstractAction.java
6461         (ENABLED_PROPERTY): New property.
6462         (putValue): Fire PropertyChangeEvents.
6463         (setEnabled): ditto.
6464         (firePropertyChange): Javadoc and implement
6465         convenience method.
6466         * javax/swing/AbstractButton.java
6467         (setAction): Don't create PropertyChangeListener
6468         if new Action is null.
6469         (setIcon): Don't set icon till after comparing
6470         it.
6471         (configurePropertiesFromAction): Check mnemonic
6472         key before calling intValue().
6473         (createActionPropertyChangeListener): Check
6474         properties rather than bulk change.
6475         * javax/swing/DefaultDesktopManager.java:
6476         Implement.
6477         * javax/swing/DesktopManager.java:
6478         Jalopy and javadoc.
6479         * javax/swing/JComponent.java
6480         (fireVetoableChange): Implement.
6481         (paintImmediately): Use root component.
6482         * javax/swing/JDesktopPane.java: Implement
6483         * javax/swing/JInternalFrame.java: Implement
6484         * javax/swing/JLabel.java
6485         (getDisabledIcon): Return grayscaled icon if
6486         no disabled icon specified.
6487         * javax/swing/JMenuBar.java
6488         (getComponentAtIndex): Use getComponent
6489         * javax/swing/JOptionPane.java
6490         (getDesktopPaneForComponent): Use SwingUtilities'
6491         getAncestorOfClass
6492         (getFrameForComponent): ditto.
6493         * javax/swing/JSplitPane.java
6494         (remove): Use getComponent.
6495         * javax/swing/SwingUtilities.java
6496         (convertPoint): Implement.
6497         * javax/swing/plaf/basic/BasicButtonUI.java
6498         (paintButtonNormal): Check opaqueness before
6499         filling background.
6500         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6501         Implement
6502         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6503         Implement.
6504         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6505         Implement.
6506         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6507         Implement.
6508         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6509         Change InternalFrame and Desktop colors.
6510
6511 2004-06-09  David Jee  <djee@redhat.com>
6512
6513         * java/awt/Container.java
6514         (remove): Do not set component to invisible.
6515
6516 2004-06-09  Michael Koch  <konqueror@gmx.de>
6517
6518         * javax/swing/tree/DefaultMutableTreeNode.java
6519         (getLeafCount): Renamed enum to e.
6520
6521 2004-06-09  Michael Koch  <konqueror@gmx.de>
6522
6523         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6524         (positionForMouseEvent): Removed redundant semicolon.
6525         (continueDrag): Use method arguments.
6526
6527 2004-06-09  Michael Koch  <konqueror@gmx.de>
6528
6529         * javax/swing/border/TitledBorder.java,
6530         javax/swing/filechooser/FileSystemView.java,
6531         javax/swing/plaf/basic/BasicButtonListener.java,
6532         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6533         javax/swing/plaf/basic/BasicLabelUI.java,
6534         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6535         javax/swing/plaf/basic/BasicScrollBarUI.java,
6536         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6537         javax/swing/plaf/basic/BasicSliderUI.java,
6538         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6539         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6540         javax/swing/table/JTableHeader.java,
6541         javax/swing/text/AbstractDocument.java,
6542         javax/swing/text/DefaultCaret.java,
6543         javax/swing/text/StyledEditorKit.java,
6544         javax/swing/tree/DefaultTreeCellEditor.java:
6545         Reworked import statements.
6546
6547 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6548
6549         * javax/swing/Box.java: Temporarily comment out code
6550         broken due to visibility bug.
6551
6552 2004-06-09  Michael Koch  <konqueror@gmx.de>
6553
6554         * javax/swing/ImageIcon.java
6555         (ImageIcon): Added missing constructor.
6556
6557 2004-06-08  Michael Koch  <konqueror@gmx.de>
6558
6559         * javax/swing/JToggleButton.java
6560         (JToggleButton): New constructor.
6561         (getAccessibleContext): Moved documentation into javadoc.
6562         (getUIClassID): Likewise.
6563
6564 2004-06-08  Michael Koch  <konqueror@gmx.de>
6565
6566         * javax/swing/AbstractButton.java
6567         (getDisabledIcon): Create disabled icon if none exists yet.
6568
6569 2004-06-08  Michael Koch  <konqueror@gmx.de>
6570
6571         * javax/swing/plaf/basic/BasicLookAndFeel.java
6572         (initClassDefaults): Added FormattedTextFieldUI.
6573         (loadResourceBundle): Renamed enum to e.
6574
6575 2004-06-08  Michael Koch  <konqueror@gmx.de>
6576
6577         * javax/swing/plaf/basic/BasicButtonUI.java
6578         (paintIcon): Simplified.
6579         (paintText): Paint disabled button correctly.
6580
6581 2004-06-08  Michael Koch  <konqueror@gmx.de>
6582
6583         * javax/swing/JComponent.java
6584         (createToolTip): Use official JToolTip API.
6585
6586 2004-06-08  Michael Koch  <konqueror@gmx.de>
6587
6588         * javax/swing/JToolTip.java
6589         (JToolTip): No arguments in API.
6590         (setTipText): New method.
6591
6592 2004-06-08  Michael Koch  <konqueror@gmx.de>
6593
6594         * javax/swing/SwingUtilities.java
6595         (isLeftMouseButton): New method.
6596         (isMiddleMouseButton): New method.
6597         (isRightMouseButton): New method.
6598
6599 2004-06-08  Michael Koch  <konqueror@gmx.de>
6600
6601         * javax/swing/AbstractButton.java,
6602         javax/swing/CellRendererPane.java,
6603         javax/swing/JCheckBoxMenuItem.java,
6604         javax/swing/JColorChooser.java,
6605         javax/swing/JComboBox.java,
6606         javax/swing/JComponent.java,
6607         javax/swing/JDesktopPane.java,
6608         javax/swing/JFileChooser.java,
6609         javax/swing/JMenu.java,
6610         javax/swing/JMenuItem.java,
6611         javax/swing/JOptionPane.java,
6612         javax/swing/JPasswordField.java,
6613         javax/swing/JPopupMenu.java,
6614         javax/swing/JProgressBar.java,
6615         javax/swing/JRadioButtonMenuItem.java,
6616         javax/swing/JScrollBar.java,
6617         javax/swing/JSeparator.java,
6618         javax/swing/JSlider.java,
6619         javax/swing/JSplitPane.java,
6620         javax/swing/JTabbedPane.java,
6621         javax/swing/JTextField.java,
6622         javax/swing/JToolBar.java,
6623         javax/swing/text/JTextComponent.java:
6624         Fixed all constructors of accessibility classes.
6625
6626 2004-06-08  Michael Koch  <konqueror@gmx.de>
6627
6628         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6629         over.
6630
6631 2004-06-08  Michael Koch  <konqueror@gmx.de>
6632
6633         * javax/swing/Box.java
6634         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6635         (AccessibleBoxFiller.serialVersionUID): New member variable.
6636         * javax/swing/DefaultButtonModel.java
6637         (stateMask): Made protected.
6638         (listenerList): Likewise.
6639         (changeEvent): Likewise.
6640         (group): Likewise.
6641         (mnemonic): Likewise.
6642         (actionCommand): Likewise.
6643         (getListeners): New method.
6644         (getActionListeners): New method.
6645         (getItemListeners): New method.
6646         (getChangeListeners): New method.
6647         (fireItemStateChanged): Simplified.
6648         (fireActionPerformed): Simplified.
6649         (fireStateChanged): Simplified.
6650         * javax/swing/JFrame.java
6651         (JFrame): Implements WindowContants.
6652         (HIDE_ON_CLOSE): Removed.
6653         (EXIT_ON_CLOSE): Removed.
6654         (DISPOSE_ON_CLOSE): Removed.
6655         (DO_NOTHING_ON_CLOSE): Removed.
6656         (processWindowEvent): Exit with code 0.
6657         (setDefaultCloseOperation): Do security check before setting value.
6658         * javax/swing/JOptionPane.java
6659         (message): Initialize only in constructor.
6660         * javax/swing/JToolTip.java: Removed unused imports.
6661         * javax/swing/JViewport.java
6662         (serialVersionUID): New member variable.
6663         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6664         (BLIT_SCROLL_MODE): Likewise.
6665         (BACKINGSTORE_SCROLL_MODE): Likewise.
6666         (scrollUnderway): Made protected.
6667         (isViewSizeSet): Likewise.
6668         * javax/swing/ListModel.java: Fixed javadoc.
6669         * javax/swing/Popup.java: Likewise.
6670         * javax/swing/RepaintManager.java
6671         (paintDirtyRegions): Don't use internal classes of
6672         java.util.AbstractMap.
6673         * javax/swing/ScrollPaneConstants.java: Reindented.
6674         * javax/swing/ScrollPaneLayout.java
6675         (viewport): Made protected.
6676         (verticalScrollBar): Made protected, renamed to vsb.
6677         (horizontalScrollBar): Made protected, renamed to hsb.
6678         (rowHeader): Made protected, renamed to rowHead.
6679         (columnHeader): Made protected, renamed to colHead.
6680         (lowerLeft): Made protected.
6681         (lowerRight): Made protected.
6682         (upperLeft): Made protected.
6683         (upperRight): Made protected.
6684         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6685         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6686
6687 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6688
6689         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6690         LOADING if flags has SOMEBITS set.
6691
6692 2004-06-07  Michael Koch  <konqueror@gmx.de>
6693
6694         * javax/swing/AbstractButton.java: Reorganized imports.
6695         * javax/swing/ActionMap.java: Likewise.
6696         * javax/swing/DefaultButtonModel.java: Likewise.
6697         * javax/swing/DefaultListModel.java: Likewise.
6698         * javax/swing/ImageIcon.java: Likewise.
6699         (serialVersionUID): New member variable.
6700         * javax/swing/JComboBox.java: Reorganized imports.
6701         * javax/swing/JComponent.java: Likewise.
6702         (ui): Made protected.
6703         (listenerList): Made protected.
6704         (TOOL_TIP_TEXT_KEY): New constant.
6705         (scrollRectToVisible): Removed redundant null check.
6706         * javax/swing/JFrame.java: Reorganized imports.
6707         * javax/swing/JInternalFrame.java: Reorganized imports.
6708         * javax/swing/JProgressBar.java: Likewise.
6709         * javax/swing/JRootPane.java: Likewise.
6710         * javax/swing/JScrollBar.java: Likewise.
6711         * javax/swing/JSeparator.java: Likewise.
6712         * javax/swing/JSlider.java: Likewise.
6713         * javax/swing/JTabbedPane.java: Likewise.
6714         * javax/swing/JTextField.java: Likewise.
6715         * javax/swing/JToolBar.java: Likewise.
6716         * javax/swing/JTree.java: Likewise.
6717         * javax/swing/JViewport.java: Likewise.
6718         * javax/swing/JWindow.java: Likewise.
6719         * javax/swing/KeyStroke.java: Likewise.
6720         * javax/swing/LookAndFeel.java: Likewise.
6721         * javax/swing/MenuSelectionManager.java: Likewise.
6722         * javax/swing/SwingUtilities.java: Likewise.
6723         * javax/swing/Timer.java: Likewise.
6724         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6725         * javax/swing/JList.java
6726         (HORIZONTAL_WRAP): Made final, fixed value.
6727         (VERTICAL): Likewise.
6728         (VERTICAL_WRAP): Likewise.
6729
6730 2004-06-07  Michael Koch  <konqueror@gmx.de>
6731
6732         * javax/swing/AbstractButton.java
6733         (serialVersionUID): New member variable.
6734         (AccessibleAbstractButton.serialVersionUID): Likewise.
6735         (AbstractButton): Made public.
6736         * javax/swing/Box.java
6737         (AccessibleBox.serialVersionUID): New member variable.
6738         (Filler.serialVersionUID): Likewise.
6739         * javax/swing/DefaultListSelectionModel.java
6740         (serialVersionUID): Likewise.
6741         * javax/swing/JApplet.java
6742         (serialVersionUID): Likewise.
6743         * javax/swing/JCheckBox.java
6744         (serialVersionUID): Likewise.
6745         * javax/swing/JCheckBoxMenuItem.java
6746         (serialVersionUID): Likewise.
6747         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6748         * javax/swing/JColorChooser.java
6749         (serialVersionUID): Likewise.
6750         (AccessibleJColorChooser.serialVersionUID): Likewise.
6751         * javax/swing/JComponent.java
6752         (serialVersionUID): Made private.
6753         (AccessibleJComponent.serialVersionUID): New member variable.
6754         * javax/swing/JDesktopPane.java
6755         (serialVersionUID): Likewise.
6756         * javax/swing/JDialog.java
6757         (serialVersionUID): Likewise.
6758         * javax/swing/JFormattedTextField.java
6759         (serialVersionUID): Fixed value.
6760         * javax/swing/JFrame.java
6761         (serialVersionUID): New member variable.
6762         (getDefaultCloseOpertation): Made public.
6763         * javax/swing/JLayeredPane.java
6764         (serialVersionUID): Likewise.
6765         (LAYER_PROPERTY): Made final, fixed value.
6766         (JLayeredPane): Made public.
6767         * javax/swing/JMenu.java
6768         (AccessibleJMenu.serialVersionUID): New member variable.
6769         (WinListener.serialVersionUID): Likewise.
6770         * javax/swing/JMenuBar.java
6771         (serialVersionUID): Likewise.
6772         (getComponentAtIndex): Added @deprecated tag.
6773         * javax/swing/JMenuItem.java
6774         (serialVersionUID): New member variable.
6775         (AccessibleJMenuItem.serialVersionUID): Likewise.
6776         * javax/swing/JOptionPane.java
6777         (serialVersionUID): Likewise.
6778         (AccessibleJOptionPane.serialVersionUID): Likewise.
6779         * javax/swing/JPopupMenu.java
6780         (serialVersionUID): Likewise.
6781         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6782         (getPopupMenuListeners): New method.
6783         (getComponentAtIndex): Added @deprecated tag.
6784         * javax/swing/JProgressBar.java
6785         (serialVersionUID): New member variable.
6786         (AccessibleJProgressBar.serialVersionUID): Likewise.
6787         * javax/swing/JRadioButton.java
6788         (serialVersionUID): Likewise.
6789         * javax/swing/JRadioButtonMenuItem.java
6790         (serialVersionUID): Likewise.
6791         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6792         * javax/swing/JScrollBar.java
6793         (serialVersionUID): Likewise.
6794         (AccessibleJScrollBar.serialVersionUID): Likewise.
6795         * javax/swing/JSeparator.java
6796         (serialVersionUID): Likewise.
6797         (AccessibleJSeparator.serialVersionUID): Likewise.
6798         * javax/swing/JSlider.java: Fixed javadocs.
6799         (AccessibleJSlider.serialVersionUID): New member variable.
6800         * javax/swing/JSplitPane.java: Added copyright statement.
6801         (serialVersionUID): New member variable.
6802         (AccessibleJSplitPane.serialVersionUID): Likewise.
6803         * javax/swing/JTabbedPane.java
6804         (serialVersionUID): Likewise.
6805         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6806         (ModelListener.serialVersionUID): Likewise.
6807         (ModelListener.ModelListener): New constructor.
6808         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6809         (WRAP_TAB_LAYOUT): Likewise.
6810         * javax/swing/JTable.java
6811         (serialVersionUID): New member variable.
6812         * javax/swing/JToggleButton.java
6813         (serialVersionUID): Likewise.
6814         (ToggleButtonModel): Made static.
6815         (ToggleButtonModel.serialVersionUID): New member variable.
6816         * javax/swing/JToolTip.java
6817         (serialVersionUID): Likewise.
6818         * javax/swing/JTree.java
6819         (serialVersionUID): Likewise.
6820         * javax/swing/JWindow.java
6821         (serialVersionUID): Likewise.
6822         * javax/swing/Timer.java
6823         (serialVersionUID): Likewise.
6824
6825 2004-06-06  Michael Koch  <konqueror@gmx.de>
6826
6827         * javax/swing/SwingConstants.java
6828         (NEXT): New constant.
6829         (PREVIOUS): Likewise.
6830         * javax/swing/UIManager.java
6831         (LookAndFeel): Made public.
6832         (LookAndFeel.getClassName): Likewise.
6833         (LookAndFeel.getName): Likewise.
6834
6835 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6836
6837         * javax/swing/JCheckBoxMenuItem.java:
6838         Removed CVS tags.
6839         * javax/swing/JMenu.java: Likewise.
6840         * javax/swing/JMenuBar.java: Likewise.
6841         * javax/swing/JMenuItem.java: Likewise.
6842         * javax/swing/JPopupMenu.java: Likewise.
6843         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6844         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6845         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6846         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6847         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6848         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6849         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6850
6851 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6852         
6853         * javax/swing/plaf/basic/BasicMenuUI.java:
6854         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6855         Call getPath() from super class instead.
6856
6857 2004-05-31  David Jee  <djee@redhat.com>
6858
6859         * java/awt/Container.java
6860         (remove): Set component visibility to false after removing it.
6861
6862 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6863
6864         * java/awt/Component.java (getForeground): Return SystemColor if
6865         parent is null.
6866         (getBackground): Likewise.
6867
6868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6869         (item_highlighted): New function.
6870         (connectSignals): Set item_highlighted as list's select
6871         function.
6872
6873         * java/applet/Applet.java: Revert changes from 2004-04-29,
6874         2004-03-15 and 2004-03-14.
6875
6876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6877         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6878         factor.
6879
6880         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6881         "Dialog" as the default font.
6882         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6883         Likewise.
6884         * java/awt/Component.java (getFont): Return "Dialog" font by
6885         default.
6886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6887         Multiply size argument to pango_font_description_set_size by the
6888         DPI conversion factor rather than by PANGO_SCALE.
6889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6894         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6898         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6899         Divide baseline y coordinate by DPI conversion factor rather
6900         than by PANGO_SCALE.
6901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6902         (area_prepared): Fix typo.
6903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6904         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6906         (dpi_conversion_factor): New global variable.
6907         (init_dpi_conversion_factor): New function to calculate and
6908         track DPI conversion factor.
6909         (dpi_changed_cb): New callback.
6910         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6911
6912 2004-05-27  David Jee  <djee@redhat.com>
6913
6914         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6915         (getGraphics): Return a new GdkGraphics instance.
6916         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6917         (getGraphics): Call super.getGraphics().
6918
6919 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6920
6921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6922         (setNativeBounds): Clamp width and height values to >= 0.
6923
6924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6925         (find_fg_color_widget): Handle GtkOptionMenu specially.
6926
6927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6928         (pre_event_handler): Only post configure events to visible
6929         top-level windows.
6930
6931 2004-05-26  David Jee  <djee@redhat.com>
6932
6933         * java/awt/BorderLayout.java
6934         (layoutContainer): Fix size calculations.
6935
6936 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6937
6938         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6939         (window_wm_protocols_filter): Remove function.
6940         (create): Remove filter that removes WM_TAKE_FOCUS client
6941         messages.
6942
6943 2004-06-17  Anthony Green  <green@redhat.com>
6944
6945         * java/util/zip/ZipFile.java (getInputStream): Return null if
6946         entry not found.
6947
6948         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6949         directory contents to the class path.
6950
6951 2004-06-15  Andrew Haley  <aph@redhat.com>
6952
6953         * java/lang/natSystem.cc (getenv0): Don't assume environment
6954         variable is Latin 1 coded.
6955
6956 2004-06-14  Andreas Jaeger  <aj@suse.de>
6957
6958         * configure.in: Support --enable-version-specific-runtime-libs.
6959         * configure: Regenerated.
6960
6961 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6962
6963         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6964         to pass ClassLoader argument.
6965         * java/util/GregorianCalendar.java: Likewise.
6966         * java/util/Currency.java: Likewise.
6967         * java/text/BreakIterator.java: Likewise.
6968         * java/text/Collator.java: Likewise.
6969         * java/text/DateFormat.java: Likewise.
6970         * java/text/DateFormatSymbols.java: Likewise.
6971         * java/text/DecimalFormatSymbols.java: Likewise.
6972         * java/text/NumberFormat.java: Likewise.
6973         * java/awt/Window.java: Likewise.
6974
6975 2004-06-14  Andrew Haley  <aph@redhat.com>
6976
6977         * java/lang/System.java: (getenv0): New method.
6978         (getenv): Add security check.  Do the right thing.
6979         * java/lang/natSystem.cc (getenv0): New method.
6980
6981 2004-06-12  Mark Wielaard  <mark@klomp.org>
6982
6983         * javax/swing/RepaintManager.java
6984         (paintDirtyRegions): Use entrySet(), not values().
6985
6986 2004-06-10  Mark Wielaard  <mark@klomp.org>
6987
6988         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6989         NoSuchMethodError.
6990
6991 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6992
6993         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6994         when we already know the answer.
6995         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6996         (setStartRule,setEndRule): Don't take abs of day number.
6997         (getOffset): Clarify docs.  Add argument checks.
6998         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6999         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7000         endTimeMode.
7001
7002 2004-06-10  Tom Tromey  <tromey@redhat.com>
7003
7004         * interpret.cc (run): Handle wide fload.
7005
7006 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
7007
7008         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7009
7010 2004-06-05  Michael Koch  <konqueror@gmx.de>
7011
7012         * javax/swing/SwingConstants.java
7013         (NEXT): New constant.
7014         (PREVIOUS): Likewise.
7015
7016 2004-06-05  Michael Koch  <konqueror@gmx.de>
7017
7018         * javax/swing/UIManager.java
7019         (LookAndFeel): Made public.
7020         (LookAndFeel.getName): Likewise.
7021         (LookAndFeel.getClassName): Likewise.
7022
7023 2004-06-03  Michael Koch  <konqueror@gmx.de>
7024
7025         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7026         (requestFocus): Revert last changes.
7027         (gtkRequestFocus): Removed.
7028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7029         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7030         Renamed to ...
7031         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7032         Reverted last patch.
7033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7034         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7035         Reverted comment change.
7036
7037 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7038
7039         * javax/swing/JCheckBoxMenuItem.java:
7040         Removed CVS tags.
7041         * javax/swing/JMenu.java: Likewise.
7042         * javax/swing/JMenuBar.java: Likewise.
7043         * javax/swing/JMenuItem.java: Likewise.
7044         * javax/swing/JPopupMenu.java: Likewise.
7045         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7046         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7047         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7048         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7049         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7050         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7051         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7052
7053 2004-06-01  Tom Tromey  <tromey@redhat.com>
7054
7055         * java/io/ObjectStreamField.java: Cleaned up imports.
7056
7057 2004-06-01  Michael Koch  <konqueror@gmx.de>
7058
7059         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7060       
7061 2004-06-01  Mark Wielaard  <mark@klomp.org>
7062
7063         * java/io/Writer.java (Writer(Object)): Fixed API doc.
7064
7065 2004-06-01  Michael Koch  <konqueror@gmx.de>
7066
7067         * java/security/Security.java
7068         (insertProviderAt): Use equals() instead of ==.
7069         (removeProvicer): Likewise.
7070         (getProvider): Likewise.
7071         * java/security/Signature.java
7072         (sign): Don't set state to UNINITIALIZED.
7073         (verify): Likewise.
7074
7075 2004-06-01  Mark Wielaard  <mark@klomp.org>
7076
7077         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7078         Implement by calling gtkRequestFocus.
7079         (gtkRequestFocus): New native method.
7080         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7081         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7082         Renamed to ...
7083         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7084         New function name.
7085         (filter_expose_event_handler):
7086         Mark static.
7087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7088         (menu_pos): Mark static.
7089
7090 2004-06-01  Michael Koch  <konqueror@gmx.de>
7091
7092         * java/text/CollationElementIterator.java,
7093         java/text/CollationKey.java,
7094         java/text/RuleBasedCollator.java: New versions from GNU classpath.
7095         * testsuite/libjava.mauve/xfails: Removed all
7096         java.text.CollationElementIterator tests.
7097
7098 2004-06-01  Michael Koch  <konqueror@gmx.de>
7099
7100         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7101         version.
7102         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7103         Java 1.5 keyword usage.
7104
7105 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7106
7107         * javax/swing/plaf/basic/BasicMenuUI.java:
7108         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7109         Call getPath() from super class instead.
7110
7111 2004-05-31  Michael Koch  <konqueror@gmx.de>
7112
7113         * java/io/SequenceInputStream.java:
7114         Rename enum to e because enum is a keyword in Java 1.5.
7115
7116 2004-05-31  Michael Koch  <konqueror@gmx.de>
7117
7118         * gnu/java/rmi/rmic/CompilerProcess.java:
7119         Fixed javadoc to by XHTML compliant.
7120
7121 2004-05-30  Mark Wielaard  <mark@klomp.org>
7122
7123         * java/awt/Toolkit.java (loadSystemColors): Implement.
7124
7125 2004-05-30  Michael Koch  <konqueror@gmx.de>
7126
7127         * java/lang/System.java: Reordered imports.
7128
7129 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
7130
7131         * java/text/DecimalFormat.java
7132         (parse): Fixed parsing of decimal strings. Number of maximum
7133         digits to be read should now work.
7134         * java/text/SimpleDateFormat.java
7135         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7136         formatter. This fixes DateFormatTest.
7137
7138 2004-05-30  Michael Koch  <konqueror@gmx.de>
7139
7140         * java/nio/Buffer.java
7141         (limit): Fixed off by one error.
7142         * java/nio/CharBuffer.java
7143         (wrap): Fixed arguments, added javadocs.
7144
7145 2004-05-30  Michael Koch  <konqueror@gmx.de>
7146
7147         * gnu/java/beans/BeanInfoEmbryo.java,
7148         java/awt/im/InputContext.java,
7149         javax/swing/tree/DefaultMutableTreeNode.java:
7150         Rename enum to e because enum is a keyword in Java 1.5.
7151
7152 2004-05-30  Michael Koch  <konqueror@gmx.de>
7153
7154         * gnu/java/math/MPN.java,
7155         java/awt/geom/Arc2D.java:
7156         Fixed javadocs all over.
7157
7158 2004-05-30  Michael Koch  <konqueror@gmx.de>
7159
7160         * java/awt/DefaultKeyboardFocusManager.java
7161         (dispatchEvent): Call method to get key event dispatchers.
7162         (dispatchKeyEvent): Call method to get key event post processors.
7163         * javax/swing/JComponent.java
7164         (listenerList): Made protected.
7165         * javax/swing/JOptionPane.java
7166         (message): Don't initialize.
7167         (JOptionPane): Set message text.
7168         * javax/swing/JPopupMenu.java
7169         (show): Fixed typo in argument name.
7170         * javax/swing/RepaintManager.java
7171         (paintDirtyRegions): Use public API of java.util.Map.
7172         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7173         (positionForMouseEvent): Removed redundant ';'.
7174         (continueDrag): Use method arguments.
7175
7176 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
7177
7178         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7179         results.
7180
7181 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7182
7183         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7184         _Jv_AllocBytes.
7185         * gnu/gcj/RawDataManaged.java: New file.
7186         * java/lang/Thread.java (data): Declare as RawDataManaged.
7187         * java/lang/natThread.cc (init_native): Cast natThread data to
7188         RawDataManaged, not jobject.
7189         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7190         * Makefile.in: Rebuilt.
7191
7192 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7193
7194         * java/util/SimpleTimeZone.java: Reverting my last change until I
7195         can fix it properly.
7196
7197 2004-05-27  Michael Koch  <konqueror@gmx.de>
7198
7199         * javax/swing/JPopupMenu.java
7200         (isVisible): Do not use visible directly.
7201         (setVisible): Likewise.
7202         * javax/swing/JWindow.java
7203         (JWindow): call accessible constructor.
7204         * javax/swing/RepaintManager.java
7205         (paintDirtyRegions): Use public methods to obtain iterator.
7206
7207 2004-05-25  David Jee  <djee@redhat.com>
7208
7209         * java/awt/Container.java
7210         (remove): Set component's parent to null only after we removed the
7211         component from its parent's layout manager.
7212
7213 2004-05-25  David Jee  <djee@redhat.com>
7214
7215         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7216         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7217         is valid.
7218         * gnu/java/awt/peer/gtk/GtkListPeer.java
7219         (getSize): Change native method declaration.
7220         (minimumSize): Pass visible row count into getSize().
7221         (preferredSize): Likewise.
7222         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7223         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7224         natural size. Use visible row count to determine the final height
7225         value to return.
7226
7227 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7228
7229         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7230         (setClip): Minor correction to order of operations.
7231
7232         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7233         * javax/swing/ScrollPaneLayout.java: Likewise.
7234         * javax/swing/JViewPort.java: Likewise.
7235         * javax/swing/ViewportLayout.java: Likewise.
7236
7237         * javax/swing/JComponent.java: Rewrite.
7238         * javax/swing/RepaintManager.java: Likewise.
7239
7240         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7241         * javax/swing/JList.java 
7242         (setSelectedIndices):
7243         (getSelectedIndices):
7244         (getSelectedValues): New functions.
7245         (getPreferredScrollableViewportSize): Return preferred size.
7246         (getScrollableUnitIncrement):
7247         (getScrollableBlockIncrement): Initial implementations.
7248         * javax/swing/JRootPane.java: Clean up slightly.
7249         (getUI):
7250         (setUI):
7251         (updateUI):
7252         (getUIClassID):
7253         (isValidateRoot): Add overrides from JComponent.
7254         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7255         * javax/swing/UIManager.java (getDimension): Return the dimension.
7256
7257         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7258         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7259         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7260         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7261         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7262         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7263         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7264         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7265         Likewise, and set background.
7266         * javax/swing/plaf/basic/BasicListUI.java: 
7267         Likewise, and improve a bit.
7268         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7269         Likewise, and adjust calculations.
7270         * javax/swing/plaf/basic/BasicViewportUI.java:
7271         Likewise, and improve a bit.
7272         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7273         (Button.margin): Shrink.
7274
7275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7276         Hack to set horizontal always, workaround pango.
7277
7278         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7280         Synchronize more often, check cairo status after ops,
7281         handle changes to cairo pattern API, check for disposal.
7282
7283 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7284
7285         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7286         (BasicMenuItemUI): Create propertyChangeListener.
7287         (getPath):Implemented.
7288         (installListeners): Add propertyChangeListener to menuItem.
7289         (uninstallListeners): Remove propertyChangeListener from menuItem.
7290         (update): Implemented.
7291         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7292         (mouseEntered): Take insets of popup menu into account when
7293         calculating position of popup menu.     
7294         
7295 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7296
7297         * Makefile.am: Added new file. 
7298         * Makefile.in: Regenerate.
7299         * javax/swing/JMenuBar.java:
7300         Started implementation.
7301         * javax/swing/JPopupMenu.java:
7302         (setVisible): Fixed location of lightweight/mediumweight
7303         popup menu.
7304         (show): Fixed location of PopupMenu.
7305         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7306         New file. UI Delegate for JMenuBar.
7307         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7308         (mouseEntered): Corrected position of the submenu.
7309
7310 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7311
7312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7313         to _gtk_accel_group_attach.
7314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7315         Likewise.
7316
7317         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7318         package access.  Don't override setFont.
7319         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7320         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7321         gtkWidgetRequestFocus package access.
7322         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7323         setFont.
7324         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7325         Give gtkWidgetRequestFocus package access.
7326         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7327         gtkWidgetRequestFocus package access.  Don't override setFont.
7328         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7329         setFont.
7330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7331         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7332         region.
7333         (gtkSetFont): Likewise.
7334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7335         Implement.
7336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7337         (gtkSetFont): Whitespace fix.
7338
7339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7340         (gtkWidgetSetUsize): Remove method.
7341
7342 2004-05-18  David Jee  <djee@redhat.com>
7343
7344         * java/awt/image/MemoryImageSource.java
7345         (newPixels(int,int,int,int,boolean)): Set only the specified
7346         rectangle of pixels.
7347         (newPixels(byte[],ColorModel,int,int)): Implement.
7348         (newPixels(int[],ColorModel,int,int)): Implement.
7349
7350 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7351
7352         * Makefile.am: Added new file.
7353         * Makefile.in: Regenerate.
7354         * javax/swing/JMenu.java: Started 
7355         implementation.
7356         * javax/swing/JPopupMenu.java:
7357         (insert): If specified index is -1, then
7358         add component at the end.
7359         (isPopupTrigger): Reimplemented.
7360         (JPopupMenu.LightWeightPopup): setBounds
7361         of the lightWeightPopup before adding it 
7362         to the layeredPane.
7363         (javax/swing/plaf/basic/BasicIconFactory.java):
7364         (getMenuArrowIcon): Implemented.
7365         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7366         (getPreferredSize): Add size of the arrow icon 
7367         if this menu item is instance of JMenu.
7368         (paintMenuItem): Paint arrow icon if this 
7369         menu item is a submenu.
7370         * javax/swing/plaf/basic/BasicMenuUI.java:
7371         New File. UI Delegate for JMenu.
7372
7373 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7374
7375         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7376         Post KEY_TYPED events.
7377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7378         (generates_key_typed_event): Remove function.
7379
7380 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7381
7382         * javax/swing/JRootPane.java
7383         (JRootPane.RootLayout): Reimplemented to 
7384         set bounds of contentPane and menuBar.
7385         (setJMenuBar): Add menu bar to the layered pane.
7386         (createLayeredPane): Set layout of layeredPane
7387         to null.
7388         * javax/swing/JLayeredPane.java:
7389         (addImpl): Calculate index of the component in the
7390         layeredPane according to the specified position within 
7391         the layer.      
7392
7393 2004-05-17  David Jee  <djee@redhat.com>
7394
7395         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7396         (setPixels): Change color model to the default model after
7397         converting pixels.
7398         * java/awt/image/MemoryImageSource.java
7399         (newPixels): Set only the specified rectangle of pixels.
7400
7401 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7402
7403         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7404         -l-java-beans -l-javax-accessibility -l-javax-swing.
7405
7406         * java/awt/AWTEvent.java (toString): Print source's name rather
7407         than the source itself.
7408
7409 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7410
7411         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7412         native.
7413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7414         (gdk_color_to_java_color): New function.
7415         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7416
7417 2004-05-12  David Jee  <djee@redhat.com>
7418
7419         * java/awt/image/RGBImageFilter.java:
7420         Initialize origmodel as null.
7421         (makeColor): Fix pixel component order.
7422         (filterRGBPixels): Fix pixel iteration.
7423         (setPixels): Add extra checks for index color model. Convert pixels
7424         to default color model if necessary.
7425         (convertColorModelToDefault): New override method for byte pixels.
7426         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7427         (makeColorbyDefaultCM): New override method for byte pixels.
7428         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7429         (makeColor): Fix pixel component order.
7430
7431 2004-05-11  Kim Ho  <kho@redhat.com>
7432
7433         * javax/swing/Box.java:
7434         Comment out more parts of Box.Filler.
7435
7436 2004-05-11  Kim Ho  <kho@redhat.com>
7437
7438         * javax/swing/Box.java:
7439         Remove reference to AccessibleAWTComponent so
7440         it compiles again.
7441
7442 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7443
7444         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7445         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7446         implementation of list peer to use GtkTreeView instead of
7447         deprecated GtkCList.
7448
7449 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7450
7451         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7452         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7453         (handleEvent): Remove keyChar argument to
7454         gtkWidgetDispatchKeyEvent calls.
7455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7456         compiler warnings.
7457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7460         Likewise.
7461
7462 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7463
7464         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7465         (gtkWidgetRequestFocus): Mark protected.
7466         (GtkComponentPeer): Only set the peer's bounds if its component
7467         is valid.
7468         * java/awt/Component.java (static): Set the default keyboard
7469         focus manager.
7470         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7471         requestFocusInWindow(temporary)): Don't request focus if the
7472         component is not showing.  Get tree lock before traversing
7473         component hierarchy.
7474         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7475         Only set the global focus owner if it is not a Window.
7476         (processKeyEvent): Consume keystrokes associated with the focus
7477         traversal keystroke.
7478         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7479         downFocusCycle): Call requestFocusInWindow instead of
7480         requestFocus.
7481         * java/awt/EventDispatchThread.java (run): Move setting of
7482         default keyboard focus manager to Component.java.
7483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7484         (awt_keycode_to_keysym): New function.
7485         (gtkWidgetDispatchKeyEvent): Finish implementation.
7486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7487         (pre_event_handler): Add FIXME comment.
7488
7489         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7490         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7491         (gtkWidgetRequestFocus): New method.
7492         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7493         disable Tab and Shift-Tab keystrokes.
7494         (addNotify, appendText, insertText, replaceText): Simplify peer
7495         retrieval code.
7496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7497         (connectSignals): Remove connections to "commit" signals.
7498         Remove C++-style comments.
7499
7500         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7502         (handleEvent): Activate GTK button when the space bar key is
7503         pressed.
7504         (gtkActivate): New method.
7505
7506 2004-05-06  David Jee  <djee@redhat.com>
7507
7508         * java/awt/image/CropImageFilter.java
7509         (setPixels): Implement for byte array pixels.
7510         * java/awt/image/ReplicateScaleFilter.java
7511         (setPixels): Implement for byte array pixels.
7512         (replicatePixels): Overload for byte array pixels.
7513
7514 2004-05-06  Kim Ho  <kho@redhat.com>
7515
7516         * javax/swing/Box.java:
7517         (getAccessibleContext): Return an instance of the 
7518         correct class.
7519
7520 2004-05-05  David Jee  <djee@redhat.com>
7521
7522         * gnu/java/awt/peer/gtk/GdkGraphics.java
7523         (drawImage): When component is null, use SystemColor.window as
7524         the default bgcolor.
7525         * gnu/java/awt/peer/gtk/GtkImage.java
7526         (setPixels): We can avoid iterating through the pixel rows only
7527         when height is 1.
7528         * java/awt/Image.java
7529         (getScaledInstance): Partially implement.
7530         * java/awt/image/CropImageFilter.java
7531         (setProperties): Fix "filter" property.
7532         (setPixels): Implement.
7533         * java/awt/image/ReplicateScaleFilter.java
7534         (setDimensions): Use scaled dimensions.
7535         (setPixels): Implement.
7536         (replicatePixels): New method.
7537
7538 2004-05-05  David Jee  <djee@redhat.com>
7539
7540         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7541         (convertPixels): If either pixels or model is null, return null.
7542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7543         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7544         is null, do nothing and return.
7545
7546 2004-05-03  Kim Ho  <kho@redhat.com>
7547
7548         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7549         (getGraphics): Like GtkFramePeer, the Graphics
7550         object needs to be translate to account for
7551         window decorations.
7552         (postMouseEvent): New method. Account for
7553         translation.
7554         (postExposeEvent): ditto.
7555         * javax/swing/Box.java: Stubbed.
7556         * javax/swing/JDialog.java: Ran through jalopy
7557         to fix indentation.
7558         (JDialog): Call SwingUtilities' getOwnerFrame
7559         for null owners.
7560         (setLayout): Check isRootPaneCheckingEnabled
7561         * javax/swing/JOptionPane.java: Re-implemented.
7562         * javax/swing/SwingUtilities.java:
7563         (getOwnerFrame): Static method to grab a default
7564         owner frame for Dialogs that don't specify owners.
7565         * javax/swing/event/SwingPropertyChangeSupport.java:
7566         (firePropertyChange): Fix early exit condition.
7567         * javax/swing/plaf/basic/BasicLabelUI.java:
7568         (paint): Avoid painting text if it is null 
7569         or empty.
7570         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7571         Implement.
7572
7573 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7574
7575         * Makefile.am: Added new file.
7576         * Makefile.in: Regenerate.
7577         * javax/swing/JPopupMenu.java:
7578         Started implementation.
7579         * javax/swing/JWindow.java
7580         (JWindow): call super() if parent for window
7581         is not specified.
7582         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7583         New File. UI Delegate for JPopupMenu.
7584
7585 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7586
7587         * javax/swing/JApplet.java: Indicated that JApplet
7588         implements RootPaneContainer and made method of this
7589         interface public. 
7590         * javax/swing/JFrame.java: Ditto.
7591         * javax/swing/JWindow.java: Ditto.
7592         
7593 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7594
7595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7596         (nativeSetBounds): Call gdk_window_move in addition to
7597         gtk_window_move.
7598
7599         * java/applet/Applet.java (preferredSize): Call parent's
7600         preferredSize if the applet stub is null.
7601         (minimumSize): Likewise for parent's minimumSize.
7602
7603 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7604
7605         * javax/swing/JMenuItem.java
7606         (createActionPropertyChangeListener): Implemented.
7607         (processMouseEvent): Ditto.
7608         (fireMenuDragMouseEntered): Ditto.
7609         (fireMenuDragMouseExited): Ditto.
7610         (fireMenuDragMouseDragged): Ditto.
7611         (fireMenuDragMouseReleased): Ditto.
7612         (menuSelectionChanged): Ditto.
7613         (getSubElements): Ditto.
7614         (getComponent): Ditto.
7615         (addMenuDragMouseListener): Ditto.
7616         (removeMenuDragMouseListener):Ditto.
7617         (addMenuKeyListener): Ditto.
7618         (removeMenuKeyListener): Ditto.
7619         * javax/swing/plaf/basic/BasicMenuItemUI.java
7620         (doClick): Imlemented.
7621         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7622         Don't handle mouse events here. Pass them to 
7623         MenuSelectionManager.
7624         
7625 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7626         Used correct version of jalopy configuration
7627         file to fix style in the files below.
7628
7629 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7630
7631         * javax/swing/JCheckBoxMenuItem.java: 
7632         Fixed style and removed unnecessary comments.
7633         * javax/swing/JMenuItem.java: Ditto.
7634         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7635         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7636         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7637         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7638
7639 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7640
7641         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7642         C-style.
7643
7644         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7645
7646         * java/awt/ContainerOrderFocusTraversalPolicy.java
7647         (getComponentAfter): Start from current component and work up
7648         the component hierarchy until an acceptable component is found.
7649         Synchronize on tree lock.
7650         (getComponentBefore): Likewise.
7651
7652 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7653
7654         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7655         focus-related debugging messages.
7656         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7657         * java/awt/EventDispatchThread.java: Likewise.
7658         * java/awt/KeyboardFocusManager.java: Likewise.
7659         * java/awt/Window.java: Likewise.
7660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7662
7663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7664         new C++-style comments to C-style comments.
7665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7666
7667         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7668         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7669         (handleEvent): Dispatch key press and key release events to
7670         backing widget.
7671         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7672         (gtkWidgetRequestFocus): New method.
7673         (gtkWidgetDispatchKeyEvent): Likewise.
7674         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7675         requestFocusInWindow, requestFocusInWindow(boolean),
7676         getFocusCycleRootAncestor, nextFocus, transferFocus,
7677         transferFocusBackward, transferFocusUpCycle, hasFocus,
7678         isFocusOwner): Implement and document focus-handling methods.
7679         (setFocusTraversalKeys): Inherit focus traversal keys when
7680         keystrokes argument is null.  Fix focus-handling documentation
7681         throughout class.
7682         * java/awt/Container.java (setFocusTraversalKeys,
7683         getFocusTraversalKeys, areFocusTraversalKeysSet,
7684         isFocusCycleRoot, setFocusTraversalPolicy,
7685         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7686         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7687         Implement and document focus-handling methods.
7688         (transferFocusBackward): Remove method.
7689         (readObject, writeObject): Implement and document serialization
7690         methods.
7691         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7692         and document.
7693         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7694         document.
7695         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7696         partially document.
7697         * java/awt/EventDispatchThread.java (run): Set default keyboard
7698         focus manager.  Attempt to dispatch each event to the keyboard
7699         focus manager before normal dispatch.
7700         * java/awt/KeyboardFocusManager.java: Implement and partially
7701         document.
7702         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7703         (show): Focus initial component when window is shown for the
7704         first time.
7705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7706         (pre_event_handler): Replace complex key press and key release
7707         logic with simple callbacks into GtkComponentPeer.
7708         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7709
7710 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7711
7712         * javax/swing/MenuSelectionManager.java
7713         (componentForPoint): Added new method. 
7714         (defaultManager): New Method. Implemented.
7715         (getSelectedPath): Ditto.
7716         (isComponentPartOfCurrentMenu): Ditto.
7717         (processKeyEvent): Added new method.
7718         (processMouseEvent): New Method. Implemented.
7719         (setSelectedPath): Ditto.
7720         (getPath): Ditto.
7721
7722 2004-04-19  Kim Ho  <kho@redhat.com>
7723
7724         * java/awt/Container.java: 
7725         (remove): Set the component's parent to null.
7726         (getComponentAt): Implement.
7727         * javax/swing/JComponent.java:
7728         (JComponent): Initialize defaultLocale
7729         (getDefaultLocale): Implement.
7730         (setDefaultLocale): ditto.
7731         * javax/swing/JSlider.java:
7732         (JSlider): Fix calculation of value.
7733         * javax/swing/JSplitPane.java: Implement.
7734         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7735         Change SplitPane's default divider size.
7736         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7737         (paint): Remove unused code.
7738         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7739         Added comments and ran through jalopy.
7740         (setBasicSplitPaneUI): Get reference to hidden divider
7741         and set up one touch buttons if necessary.
7742         (setBorder): Fire propertyChangeEvent only if 
7743         borders are different.
7744         (getPreferredSize): Defer to layout manager.
7745         (propertyChange): Implement.
7746         (oneTouchExpandableChanged): ditto.
7747         (createLeftOneTouchButton): Use BasicArrowButton.
7748         (createRightOneTouchButton): ditto.
7749         (moveDividerTo): New method. Moves the divider
7750         to a set location based on the last divider location.
7751         (BasicSplitPaneDivider::MouseHandler): Implement.
7752         (BasicSplitPaneDivider::OneTouchButton): Removed.
7753         (BasicSplitPaneDivider::DragController): Implement.
7754         (BasicSplitPaneDivider::VerticalDragController):
7755         ditto.
7756         (BasicSplitPaneDivider::DividerLayout): ditto.
7757         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7758         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7759         (calculateLayoutInfo): Don't show component if it's
7760         null.
7761         (paintTab): Fix title paint logic.
7762
7763 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7764
7765         PR libgcj/8321
7766         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7767         (setStartRule,setEndRule): Don't take abs of day number.
7768         (getOffset): Clarify docs.  Add argument checks.
7769         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7770         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7771         endTimeMode.
7772         * testsuite/libjava.mauve/xfails
7773         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7774
7775 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7776
7777         Layout interfaces during preparation, not initialization. 
7778         * java/lang/natClass.cc (initializeClass): Move 
7779         _Jv_LayoutInterfaceMethods call...
7780         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7781
7782 2004-05-19  Anthony Green  <green@localhost.localdomain>
7783
7784         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7785         gnu.javax.rmi code.
7786         * Makefile.in: Rebuilt.
7787         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7788         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7789         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7790         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7791         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7792         gnu/javax/rmi/CORBA/DelegateFactory.java,
7793         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7794         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7795         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7796         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7797         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7798         gnu/javax/rmi/PortableServer.java: Remove files.
7799
7800 2004-05-19  Anthony Green  <green@redhat.com>
7801
7802         * Makefile.am: Define JAVA_EXT_DIRS.
7803         * Makefile.in: Rebuilt.
7804         * java/lang/natRuntime.cc (insertSystemProperties): Set
7805         java.ext.dirs property.
7806
7807 2004-05-16  Mark Wielaard  <mark@klomp.org>
7808
7809         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7810
7811 2004-05-15  Mark Wielaard  <mark@klomp.org>
7812
7813         * doc/cni.sgml: Removed, merged into gcj.texi.
7814
7815 2004-05-15  Mark Wielaard  <mark@klomp.org>
7816
7817         * Makefile.am (ordinary_java_source_files): Add new javax.print
7818         classes.
7819         * Makefile.in: Regenerated.
7820
7821 2004-05-15  Michael Koch  <konqueror@gmx.de>
7822
7823         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7824         javax/print/attribute/standard/DateTimeAtCreation.java,
7825         javax/print/attribute/standard/DateTimeAtProcessing.java,
7826         javax/print/attribute/standard/DocumentName.java,
7827         javax/print/attribute/standard/JobHoldUntil.java,
7828         javax/print/attribute/standard/JobImpressionsCompleted.java,
7829         javax/print/attribute/standard/JobMessageFromOperator.java,
7830         javax/print/attribute/standard/JobName.java,
7831         javax/print/attribute/standard/JobOriginatingUserName.java,
7832         javax/print/attribute/standard/JobPriority.java,
7833         javax/print/attribute/standard/JobPrioritySupported.java,
7834         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7835         javax/print/attribute/standard/OutputDeviceAssigned.java,
7836         javax/print/attribute/standard/PrinterInfo.java,
7837         javax/print/attribute/standard/PrinterLocation.java,
7838         javax/print/attribute/standard/PrinterMakeAndModel.java,
7839         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7840         javax/print/attribute/standard/PrinterName.java,
7841         javax/print/attribute/standard/QueuedJobCount.java,
7842         javax/print/attribute/standard/RequestingUserName.java:
7843         Fixed javadocs all over.
7844
7845 2004-05-15  Michael Koch  <konqueror@gmx.de>
7846
7847         * javax/print/DocFlavor.java,
7848         javax/print/attribute/standard/ColorSupported.java,
7849         javax/print/attribute/standard/Compression.java,
7850         javax/print/attribute/standard/CopiesSupported.java,
7851         javax/print/attribute/standard/Fidelity.java,
7852         javax/print/attribute/standard/Finishings.java,
7853         javax/print/attribute/standard/JobImpressionsSupported.java,
7854         javax/print/attribute/standard/JobKOctetsSupported.java,
7855         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7856         javax/print/attribute/standard/JobSheets.java,
7857         javax/print/attribute/standard/JobState.java,
7858         javax/print/attribute/standard/JobStateReason.java,
7859         javax/print/attribute/standard/JobStateReasons.java,
7860         javax/print/attribute/standard/Media.java,
7861         javax/print/attribute/standard/MediaSizeName.java,
7862         javax/print/attribute/standard/MultipleDocumentHandling.java,
7863         javax/print/attribute/standard/NumberUpSupported.java,
7864         javax/print/attribute/standard/OrientationRequested.java,
7865         javax/print/attribute/standard/PDLOverrideSupported.java,
7866         javax/print/attribute/standard/PageRanges.java,
7867         javax/print/attribute/standard/PresentationDirection.java,
7868         javax/print/attribute/standard/PrintQuality.java,
7869         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7870         javax/print/attribute/standard/PrinterMoreInfo.java,
7871         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7872         javax/print/attribute/standard/PrinterResolution.java,
7873         javax/print/attribute/standard/PrinterState.java,
7874         javax/print/attribute/standard/PrinterStateReason.java,
7875         javax/print/attribute/standard/PrinterStateReasons.java,
7876         javax/print/attribute/standard/PrinterURI.java,
7877         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7878         javax/print/attribute/standard/Severity.java,
7879         javax/print/attribute/standard/SheetCollate.java,
7880         javax/print/attribute/standard/Sides.java:
7881         Added serialVersionUID and removed final keyword where it doenst
7882         belong.
7883
7884 2004-05-15  Michael Koch  <konqueror@gmx.de>
7885
7886         * javax/print/PrintServiceLookup.java: New file.
7887
7888 2004-05-15  Michael Koch  <konqueror@gmx.de>
7889
7890         * javax/print/DocFlavor.java:
7891         Implemented all flavor classes.
7892
7893 2004-05-15  Michael Koch  <konqueror@gmx.de>
7894
7895         * javax/print/attribute/standard/ColorSupported.java,
7896         javax/print/attribute/standard/Compression.java,
7897         javax/print/attribute/standard/CopiesSupported.java,
7898         javax/print/attribute/standard/Fidelity.java,
7899         javax/print/attribute/standard/Finishings.java,
7900         javax/print/attribute/standard/JobImpressionsSupported.java,
7901         javax/print/attribute/standard/JobKOctetsSupported.java,
7902         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7903         javax/print/attribute/standard/JobSheets.java,
7904         javax/print/attribute/standard/JobState.java,
7905         javax/print/attribute/standard/JobStateReason.java,
7906         javax/print/attribute/standard/JobStateReasons.java,
7907         javax/print/attribute/standard/Media.java,
7908         javax/print/attribute/standard/MediaSizeName.java,
7909         javax/print/attribute/standard/MultipleDocumentHandling.java,
7910         javax/print/attribute/standard/NumberUpSupported.java,
7911         javax/print/attribute/standard/OrientationRequested.java,
7912         javax/print/attribute/standard/PDLOverrideSupported.java,
7913         javax/print/attribute/standard/PageRanges.java,
7914         javax/print/attribute/standard/PresentationDirection.java,
7915         javax/print/attribute/standard/PrintQuality.java,
7916         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7917         javax/print/attribute/standard/PrinterMoreInfo.java,
7918         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7919         javax/print/attribute/standard/PrinterResolution.java,
7920         javax/print/attribute/standard/PrinterState.java,
7921         javax/print/attribute/standard/PrinterStateReason.java,
7922         javax/print/attribute/standard/PrinterStateReasons.java,
7923         javax/print/attribute/standard/PrinterURI.java,
7924         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7925         javax/print/attribute/standard/Severity.java,
7926         javax/print/attribute/standard/SheetCollate.java,
7927         javax/print/attribute/standard/Sides.java: New files.
7928
7929 2004-05-15  Michael Koch  <konqueror@gmx.de>
7930
7931         * javax/print/Doc.java
7932         (getPrintData): Throws IOException.
7933         (getReaderForText): Likewise.
7934         (getStreamForBytes): Likewise.
7935         * javax/print/DocFlavor.java:
7936         Fixed filename in copyright.
7937         (serialVersionUID): New field.
7938         * javax/print/ServiceUIFactory.java:
7939         Made all constants final.
7940         * javax/print/AttributeException.java
7941         javax/print/MultiDoc.java
7942         javax/print/MultiDocPrintJob.java
7943         javax/print/MultiDocPrintService.java
7944         javax/print/StreamPrintService.java
7945         javax/print/URIException.java: New files.
7946         * javax/print/Makefile.am
7947         (EXTRA_DIST): Added all new files.
7948
7949 2004-05-15  Michael Koch  <konqueror@gmx.de>
7950
7951         * javax/print/attribute/standard/Copies.java,
7952         javax/print/attribute/standard/DateTimeAtCompleted.java,
7953         javax/print/attribute/standard/DateTimeAtCreation.java,
7954         javax/print/attribute/standard/DateTimeAtProcessing.java,
7955         javax/print/attribute/standard/DocumentName.java,
7956         javax/print/attribute/standard/JobHoldUntil.java,
7957         javax/print/attribute/standard/JobImpressions.java,
7958         javax/print/attribute/standard/JobImpressionsCompleted.java,
7959         javax/print/attribute/standard/JobKOctets.java,
7960         javax/print/attribute/standard/JobKOctetsProcessed.java,
7961         javax/print/attribute/standard/JobMediaSheets.java,
7962         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7963         javax/print/attribute/standard/JobMessageFromOperator.java,
7964         javax/print/attribute/standard/JobName.java,
7965         javax/print/attribute/standard/JobOriginatingUserName.java,
7966         javax/print/attribute/standard/JobPriority.java,
7967         javax/print/attribute/standard/JobPrioritySupported.java,
7968         javax/print/attribute/standard/NumberOfDocuments.java,
7969         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7970         javax/print/attribute/standard/NumberUp.java,
7971         javax/print/attribute/standard/OutputDeviceAssigned.java,
7972         javax/print/attribute/standard/PagesPerMinute.java,
7973         javax/print/attribute/standard/PagesPerMinuteColor.java:
7974         Fixed @return tag all over.
7975
7976 2004-05-15  Michael Koch  <konqueror@gmx.de>
7977
7978         * javax/print/attribute/AttributeSetUtilities.java
7979         (verifyCategoryForValue): Fixed typo in javadoc.
7980         * javax/print/attribute/HashAttributeSet.java
7981         (containsKey): Fixed @return tag.
7982         (comtainsValue): Likewise.
7983         (equals): Likewise.
7984         * javax/print/attribute/IntegerSyntax.java
7985         (equals): Likewise.
7986         * javax/print/attribute/ResolutionSyntax.java
7987         (equals): Likewise.
7988         (getCrossFeedResolution): Removed unused code.
7989         (getFeedResolution): Likewise.
7990         * javax/print/attribute/SetOfIntegerSyntax.java
7991         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7992         (equals): Fixed @return tag.
7993         * javax/print/attribute/TextSyntax.java
7994         (TextSyntax): Take locale into account.
7995         (hashCode): Better implementation.
7996
7997 2004-05-15  Michael Koch  <konqueror@gmx.de>
7998
7999         * javax/print/CancelablePrintJob.java,
8000         javax/print/Doc.java,
8001         javax/print/DocFlavor.java,
8002         javax/print/DocPrintJob.java,
8003         javax/print/FlavorException.java,
8004         javax/print/PrintException.java,
8005         javax/print/PrintService.java,
8006         javax/print/ServiceUIFactory.java: New files.
8007
8008 2004-05-15  Mark Wielaard  <mark@klomp.org>
8009
8010         * gnu/regexp/CharIndexedReader.java: Removed.
8011         * gnu/regexp/REFilterReader.java: Likewise.
8012         * gnu/regexp/RETokenLookAhead.java: Likewise.
8013         * Makefile.am (ordinary_java_source_files): Remove above classes.
8014         * Makefile.in: Regenerated.
8015
8016 2004-05-14  Tom Tromey  <tromey@redhat.com>
8017
8018         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8019         not `XGraphicsConfiguration.XOffScreenImage'.
8020
8021 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
8022
8023         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8024
8025 2004-05-14  Steven Augart  <augart@watson.ibm.com>
8026
8027         * include/jni.h (_Jv_func): Removed.
8028         (struct JNINativeInterface): Use `void *' for reserved slots.
8029         (struct JNIInvokeInterface): Likewise.
8030
8031 2004-05-11  Michael Koch  <konqueror@gmx.de>
8032
8033         * gnu/java/net/natPlainSocketImplPosix.cc
8034         (read): Fixed typo in expression.
8035
8036 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
8037
8038         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8039         ld_library_additions. Adjust all calls to libjava_invoke to match
8040         the new argument.
8041
8042         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8043         path to cxxflagslist.
8044         Pass path of libstdc++ to libjava_invoke.
8045
8046         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8047         libjava_invoke arguments.
8048
8049 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
8050
8051         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8052         reality.
8053
8054 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
8055
8056         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8057         main binary against the JNI shared library.
8058
8059 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8060
8061         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8062         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8063         (SimpleTimeZone): Tweak docs.  Add new variation.
8064         (setStartRule,setEndRule): Add new variations.  Use
8065         startTimeMode and endTimeMode.
8066
8067 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8068
8069         * java/util/Calendar.java (getActualMinimum,
8070         getActualMaximum):  Remove abstract.  Implement.
8071
8072 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8073
8074         Run the jni tests using the interpreter.
8075         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8076         options_cxx to shared lib compile command.
8077         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8078         they are used to link the shared lib, not the main binary.
8079         Use libjava_invoke to run gij.
8080
8081 2004-05-06  Michael Koch  <konqueror@gmx.de>
8082
8083         * java/util/logging/Level.java
8084         (parse): Use == instead of String.equals().
8085
8086 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8087
8088         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
8089         verify_field_signature and verify_method_signature, not 
8090         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8091         (_Jv_ClassReader::handleField): Likewise.
8092         (_Jv_ClassReader::handleMethod): Likewise.
8093
8094 2004-05-06  Michael Koch  <konqueror@gmx.de>
8095
8096         * javax/swing/table/TableColumn.java:
8097         Reformated.
8098
8099 2004-05-06  Michael Koch  <konqueror@gmx.de>
8100
8101         * javax/imageio/spi/ImageReaderWriterSpi.java
8102         (ImageReaderWriterSpi): Made it public.
8103         * javax/imageio/stream/ImageInputStream.java:
8104         Clean up imports.
8105
8106 2004-05-06  Michael Koch  <konqueror@gmx.de>
8107
8108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8109         Removed empty line.
8110
8111 2004-05-06  Michael Koch  <konqueror@gmx.de>
8112
8113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8114         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8115         New files.
8116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8117         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8119         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8120         their own source file.
8121         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8122         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8123         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8124         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8125         (create): Define variable on top of function.
8126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8127         (menu_pos): Prototyped.
8128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8129         (setTitle): Removed.
8130         * jni/gtk-peer/gthread-jni.c
8131         (gdk_threads_wake): Removed.
8132         * Makefile.am (gtk_c_source_files): Added new files
8133         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8134         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8135         * Makefile.in: Regenerated.
8136
8137 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
8138
8139         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8140         call.
8141
8142 2004-05-05  Mark Wielaard  <mark@klomp.org>
8143
8144         * javax/swing/AbstractButton.java: Replace special HTML entities with
8145         ASCII equivalent.
8146         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8147         * javax/swing/DefaultButtonModel.java: Likewise.
8148         * javax/swing/DefaultListModel.java: Likewise.
8149         * javax/swing/JList.java: Likewise.
8150         * javax/swing/JSlider.java: Likewise.
8151         * javax/swing/ListModel.java: Likewise.
8152         * javax/swing/Popup.java: Likewise.
8153         * javax/swing/SwingUtilities.java: Likewise.
8154
8155 2004-05-05  Michael Koch  <konqueror@gmx.de>
8156
8157         * javax/swing/AbstractButton.java,
8158         javax/swing/ActionMap.java,
8159         javax/swing/DefaultButtonModel.java,
8160         javax/swing/DefaultListModel.java,
8161         javax/swing/ImageIcon.java,
8162         javax/swing/JComboBox.java,
8163         javax/swing/JComponent.java,
8164         javax/swing/JFrame.java,
8165         javax/swing/JInternalFrame.java,
8166         javax/swing/JMenuBar.java,
8167         javax/swing/JMenuItem.java,
8168         javax/swing/JOptionPane.java,
8169         javax/swing/JProgressBar.java,
8170         javax/swing/JRootPane.java,
8171         javax/swing/JScrollBar.java,
8172         javax/swing/JScrollPane.java,
8173         javax/swing/JSeparator.java,
8174         javax/swing/JSlider.java,
8175         javax/swing/JTabbedPane.java,
8176         javax/swing/JTable.java,
8177         javax/swing/JTextField.java,
8178         javax/swing/JToolBar.java,
8179         javax/swing/JToolTip.java,
8180         javax/swing/JTree.java,
8181         javax/swing/JViewport.java,
8182         javax/swing/JWindow.java,
8183         javax/swing/KeyStroke.java,
8184         javax/swing/LookAndFeel.java,
8185         javax/swing/SwingUtilities.java,
8186         javax/swing/Timer.java,
8187         javax/swing/ToolTipManager.java,
8188         javax/swing/UIDefaults.java,
8189         javax/swing/border/TitledBorder.java,
8190         javax/swing/filechooser/FileSystemView.java,
8191         javax/swing/plaf/basic/BasicButtonListener.java,
8192         javax/swing/plaf/basic/BasicButtonUI.java,
8193         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8194         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8195         javax/swing/plaf/basic/BasicLabelUI.java,
8196         javax/swing/plaf/basic/BasicMenuItemUI.java,
8197         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8198         javax/swing/plaf/basic/BasicRootPaneUI.java,
8199         javax/swing/plaf/basic/BasicScrollBarUI.java,
8200         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8201         javax/swing/plaf/basic/BasicSliderUI.java,
8202         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8203         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8204         javax/swing/table/JTableHeader.java,
8205         javax/swing/text/AbstractDocument.java,
8206         javax/swing/text/DefaultCaret.java,
8207         javax/swing/text/StyledEditorKit.java,
8208         javax/swing/tree/DefaultTreeCellEditor.java:
8209         Cleaned up imports.
8210
8211 2004-05-05  Michael Koch  <konqueror@gmx.de>
8212
8213         * java/util/prefs/AbstractPreferences.java
8214         (AbstractPreferences): Added parenthesis for clarity.
8215         Closes classpath bug #7940.
8216
8217 2004-05-05  Tom Tromey  <tromey@redhat.com>
8218
8219         * javax/naming/CompoundName.java (endsWith): Look at correct
8220         element of source name.
8221
8222 2004-05-05  Mark Wielaard  <mark@klomp.org>
8223
8224         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8225         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8226
8227 2004-05-05  Tom Tromey  <tromey@redhat.com>
8228
8229         * java/io/BufferedReader.java (skip): Removed unused
8230         variable.
8231
8232 2004-05-05  Michael Koch  <konqueror@gmx.de>
8233
8234         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8235
8236 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8237
8238         * java/text/AttributedString.java,
8239         java/text/AttributedStringIterator.java,
8240         java/text/Collator.java,
8241         java/text/DecimalFormatSymbols.java,
8242         java/text/NumberFormat.java,
8243         java/text/RuleBasedCollator.java:
8244         Cleaned up imports.
8245
8246 2004-05-05  Tom Tromey  <tromey@redhat.com>
8247
8248         * java/text/Format.java: Cleaned up imports.
8249         * java/text/DecimalFormat.java: Cleaned up imports.
8250         * java/security/SecureRandom.java: Cleaned up imports.
8251         (SecureRandom): Removed unused variable.
8252         * java/security/UnresolvedPermission.java: Cleaned up imports.
8253         * java/util/Date.java (parse): Removed unused variable.
8254         * java/util/ResourceBundle.java: Cleaned up imports.
8255         (getBundle): Removed unused variable.
8256         (tryBundle): Likewise.
8257         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8258
8259 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8260
8261         * java/text/SimpleDateFormat.java:
8262         (formatWithAttribute): New method. It implements
8263         the formatting process with attributes.
8264         (format): Use formatWithAttribute.
8265         (formatToCharacterIterator): New method. Use
8266         formatWithAttribute.
8267
8268 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8269
8270         * java/text/MessageFormat.java:
8271         (class Field): New class.
8272         (formatToCharacterIterator): New method.
8273         (format): Use formatInternal now.
8274         (formatInternal): New method. String formatter should
8275         be done here (with attributes). Attributes merging supported.
8276         (parse): More documentation.
8277         (getFormatsByArgumentIndex): New method.
8278         (setFormatByArgumentIndex): New method.
8279         (setFormatsByArgumentIndex): New method.
8280
8281 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8282
8283         * java/text/DecimalFormat.java
8284         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8285         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8286         (parse): Fixed handling of exponentiation notation and grouping.
8287
8288 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8289
8290         * java/text/DecimalFormat.java
8291         (scanFix): Build attribute array. Fixed error reporting.
8292         (applyPatternWithSymbols): Store attributes for the prefix and
8293         suffix.
8294         (formatInternal): New method. Changed the way the string is
8295         computed. Implemented attributes. Cleant up rounding in
8296         exponential notation.
8297         (format): Use formatInternal.
8298         (formatToCharacterIterator): New method.
8299         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8300         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8301         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8302         New fields.
8303
8304 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8305
8306         * java/security/interfaces/DSAKeyPairGenerator.java,
8307         java/security/interfaces/DSAPrivateKey.java,
8308         java/security/interfaces/DSAPublicKey.java,
8309         java/security/interfaces/RSAPrivateKey.java,
8310         java/security/interfaces/RSAPublicKey.java:
8311         Cleaned up imports.
8312
8313 2004-05-04  Michael Koch  <konqueror@gmx.de>
8314
8315         * java/nio/ByteBuffer.java,
8316         java/nio/CharBuffer.java,
8317         java/nio/DoubleBuffer.java,
8318         java/nio/FloatBuffer.java,
8319         java/nio/IntBuffer.java,
8320         java/nio/LongBuffer.java,
8321         java/nio/ShortBuffer.java:
8322         (compareTo): Fixed bogus implementation in all buffer classes.
8323
8324 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8325
8326         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8327         32 bit pixels not 8 bit pixels.
8328         (isCompatibleRaster): Added javadoc comment.
8329
8330 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8331
8332         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8333         scanline stride.
8334
8335 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8336
8337         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8338         (getColorModel): Return the actual color model.
8339         (getRaster): Implemented.
8340         (ColorRaster): New inner class.
8341         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8342         a PaintContext.
8343         * java/awt/Color.java (<init>): Make exception more verbose.
8344         (createContext): Use ColorModel when creating a PaintContext.
8345
8346 2004-05-04  Michael Koch  <konqueror@gmx.de>
8347
8348         * gnu/java/text/CharacterBreakIterator.java
8349         (previous): Removed unused variable.
8350
8351 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8352
8353         * gnu/java/text/FormatBuffer.java,
8354         gnu/java/text/AttributedFormatBuffer.java,
8355         gnu/java/text/StringFormatBuffer.java: New classes to implement
8356         attributed iterators in java.text.
8357         * gnu/java/text/FormatCharacterIterator.java: Moved 
8358         from java/text as it is an internal class.
8359         * java/text/FormatCharacterIterator.java: Removed.
8360         * java/text/Format.java:
8361         Import gnu.java.text.FormatCharacterIterator.
8362         * Makefile.am (java_source_files): Added new files.
8363         * Makefile.in: Regenerated.
8364         
8365
8366 2004-05-04  Mark Wielaard  <mark@klomp.org>
8367
8368         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8369
8370 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8371
8372         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8373         * Makefile.in: Rebuilt.
8374
8375 2004-05-03  Mark Wielaard  <mark@klomp.org>
8376
8377         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8378         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8379         * java/net/URL.java
8380         (set(String, String, int, String, String, String, String, String)):
8381         Assign this.file to path or path + "?" + query.
8382         * java/util/Arrays.java: Call static methods staticly.
8383         * java/util/zip/ZipEntry.java: Likewise.
8384         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8385         dir to this.direction.
8386         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8387         Assign static field only once.
8388         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8389
8390 2004-05-03  Mark Wielaard  <mark@klomp.org>
8391
8392         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8393         unused variables hScrollbarHeight and vScrollbarWidth.
8394         (preferredSize): Likewise.
8395         * gnu/java/security/provider/DSAParameters.java (engineToString):
8396         Removed unused call to System.getProperty("line.seperator");
8397         * java/security/Security.java (loadProviders): Return result.
8398
8399 2004-05-03  Tom Tromey  <tromey@redhat.com>
8400
8401         * java/net/URLStreamHandler.java (toExternalForm): Removed
8402         unused variables.
8403         unused constructor.
8404         * java/math/BigDecimal.java (divide): Removed unused variable.
8405         * java/lang/Throwable.java: Cleaned up imports.
8406         * java/lang/ClassLoader.java: Cleaned up imports.
8407         * java/io/FilePermission.java (implies): Removed unused
8408         variable.
8409         * java/awt/TextComponent.java: Removed unused import.
8410         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8411         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8412         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8413         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8414         import.
8415         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8416         * gnu/java/text/CharacterBreakIterator.java: Removed
8417         unused import.
8418         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8419         Cleaned up imports.
8420         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8421         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8422         unused method.
8423         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8424         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8425         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8426         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8427         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8428         (lookupProviders): Removed unused variable.
8429         (loadNextServiceProvider): Likewise.
8430         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8431
8432 2004-05-03  Michael Koch  <konqueror@gmx.de>
8433
8434         Fixes PR libgcj/14695:
8435         * java/net/NetworkInterface.java
8436         (getByName): Return null when no interface was found.
8437
8438 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8439             Tom Tromey  <tromey@redhat.com>
8440
8441         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8442         additional option "-Wmissing-prototypes" for compiling C sources.
8443         Print actual filename for pass/fail rather than $name.c.
8444         * testsuite/libjava.jni/PR15133.java: New testcase file.
8445         * testsuite/libjava.jni/PR15133.c: Likewise.
8446         * testsuite/libjava.jni/PR15133.out: Likewise.
8447
8448 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8449
8450         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8451         ceil and floor.
8452
8453 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8454         
8455         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8456         limit the maximum heap size to avoid unnecessary thrashing.
8457
8458 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8459
8460         * java/text/CollationElementIterator.java (reset): Reset
8461         lookahead variables.
8462
8463 2004-04-23  Mark Wielaard  <mark@klomp.org>
8464
8465         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8466
8467 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8468
8469         * java/sql/DriverManager.java:
8470         Cleaned up imports.
8471
8472 2004-04-23  Michael Koch  <konqueror@gmx.de>
8473
8474         * java/net/URL.java
8475         (hashcode): Don't initialize with default value explicitely.
8476         (getContent): Removed redundant "final" keyword.
8477         (openStream): Likewise.
8478         (getURLStreamHandler): Fixed coding style.
8479         * java/net/URLConnection.java
8480         (defaultAllowUserInteraction): Don't initialize with default value
8481         explicitely.
8482         (connected): Likewise.
8483         (doOutput): Likewise.
8484         (ifModifiedSince): Likewise.
8485         (dateformats_initialized): Likewise.
8486         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8487
8488 2004-04-23  Michael Koch  <konqueror@gmx.de>
8489
8490         * gnu/java/nio/channels/FileChannelImpl.java
8491         (SET, CUR): Unused, removed.
8492         (read): Implement here directly.
8493         (implRead): Removed.
8494         (write): Implement here directly.
8495         (implWrite): Removed.
8496
8497 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8498
8499         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8500         javax/rmi/CORBA/Stub.java,
8501         javax/rmi/CORBA/Util.java,
8502         javax/rmi/CORBA/ValueHandler.java,
8503         javax/rmi/CORBA/ValueHandler.java,
8504         javax/rmi/PortableRemoteObject.java:
8505         Cleaned up imports.
8506
8507 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8508
8509         * java/util/jar/JarFile.java,
8510         java/util/jar/JarInputStream.java,
8511         java/util/jar/JarOutputStream.java,
8512         java/util/jar/Manifest.java:
8513         Cleaned up imports.
8514
8515 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8516
8517         * java/util/ArrayList.java,
8518         java/util/Calendar.java,
8519         java/util/Currency.java,
8520         java/util/HashMap.java,
8521         java/util/HashSet.java,
8522         java/util/Hashtable.java,
8523         java/util/LinkedList.java,
8524         java/util/Properties.java,
8525         java/util/PropertyPermission.java,
8526         java/util/TimeZone.java,
8527         java/util/TreeMap.java,
8528         java/util/TreeSet.java,
8529         java/util/Vector.java,
8530         java/util/WeakHashMap.java:
8531         Cleaned up imports.
8532
8533 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8534
8535         * java/util/logging/FileHandler.java,
8536         java/util/logging/Formatter.java,
8537         java/util/logging/Handler.java,
8538         java/util/logging/Logger.java,
8539         java/util/logging/SimpleFormatter.java,
8540         java/util/logging/XMLFormatter.java:
8541         Cleaned up imports.
8542
8543 2004-04-22  Mark Wielaard  <mark@klomp.org>
8544
8545         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8546         -Wno-long-long flags variable.
8547         (gtk_c_files): Use PEDANTIC_CFLAGS.
8548         * Makefile.in: Regenerated.
8549
8550 2004-04-22  Mark Wielaard  <mark@klomp.org>
8551
8552         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8553         Changed C++ comments into C comments.
8554         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8555         Likewise.
8556
8557 2004-04-22  Michael Koch  <konqueror@gmx.de>
8558
8559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8560         Merged copyright year with GNU classpath.
8561
8562 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8563
8564         * javax/security/auth/x500/X500Principal.java:
8565         Cleaned up imports.
8566
8567 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8568
8569         * javax/swing/JSlider.java:
8570         Fixed HTML tags in comments.
8571
8572 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8573
8574         * javax/accessibility/AccessibleText.java:
8575         Cleaned up imports.
8576
8577 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8578
8579         * java/net/URLStreamHandler.java
8580         (parseURL): Convert the file path to using '/' instead of native
8581         file separator.
8582
8583 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8584
8585         * java/net/URL.java
8586         (userInfo): New field.
8587         (URL): Set authority to the right value.
8588         (setURL): Fixed authority and file initialization.
8589         * java/net/URLStreamHandler.java
8590         (parseURL): Take care of the query tag. Build authority.
8591         (toExternalForm): Fixed URL building using authority.
8592
8593 2004-04-22  Michael Koch  <konqueror@gmx.de>
8594
8595         * java/net/Socket.java
8596         (impl): Made package-private.
8597         * java/net/ServerSocket.java
8598         (implAccept): Access Socket.impl field directly.
8599
8600 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8601
8602         * java/util/prefs/Preferences.java,
8603         java/util/prefs/InvalidPreferencesFormatException.java,
8604         java/util/prefs/BackingStoreException.java,
8605         java/util/prefs/AbstractPreferences.java:
8606         Cleaned up imports.
8607
8608 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8609
8610         * java/util/regex/Matcher.java,
8611         java/util/regex/Pattern.java:
8612         Cleaned up imports.
8613
8614 2004-04-22  Michael Koch  <konqueror@gmx.de>
8615
8616         * java/nio/charset/IllegalCharsetNameException.java
8617         (charsetName): Made private.
8618         (IllegalCharsetNameException): Added @param tag to javadoc.
8619         (getCharsetName): Added @return tag to javadoc.
8620         * java/nio/charset/MalformedInputException.java
8621         (MalformedInputException): Added @param tag to javadoc.
8622         (getInputLength): Revised method description, added @return tag.
8623         (getMessage): Added @return tag.
8624
8625 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8626
8627         * java/awt/Font.java (deriveFont): Implement missing variants.
8628         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8629         missing variants.
8630
8631 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8632
8633         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8634         Set method->index values for interface methods to their itable index.
8635         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8636
8637 2004-04-21  Michael Koch  <konqueror@gmx.de>
8638
8639         * java/nio/DirectByteBufferImpl.java
8640         (shiftDown): Made static, give address as argument and
8641         provide a convenience method that overwrites shiftDown in
8642         ByteBufferImpl and calls the native shiftDown.
8643         * java/nio/MappedByteBufferImpl.java
8644         (): Use optimized method in DirectByteBufferImpl.
8645         * java/nio/natDirectByteBufferImpl.cc
8646         (shiftDown): Changed method signature. Removed usage of array_offset.
8647
8648 2004-04-21  Michael Koch  <konqueror@gmx.de>
8649
8650         * gnu/java/net/natPlainSocketImplPosix.cc
8651         (SocketInputStream::read): Make sure returned data is a byte value.
8652
8653 2004-04-21  Michael Koch  <konqueror@gmx.de>
8654
8655         * gnu/classpath/ServiceFactory.java,
8656         gnu/classpath/ServiceProviderLoadingAction.java,
8657         javax/imageio/ImageReader.java,
8658         javax/imageio/ImageTranscoder.java,
8659         javax/imageio/ImageWriter.java,
8660         javax/imageio/package.html,
8661         javax/imageio/spi/IIOServiceProvider.java,
8662         javax/imageio/spi/ImageInputStreamSpi.java,
8663         javax/imageio/spi/ImageOutputStreamSpi.java,
8664         javax/imageio/spi/ImageReaderWriterSpi.java,
8665         javax/imageio/spi/ImageTranscoderSpi.java,
8666         javax/imageio/spi/RegisterableService.java,
8667         javax/imageio/spi/ServiceRegistry.java,
8668         javax/imageio/spi/package.html,
8669         javax/imageio/stream/IIOByteBuffer.java,
8670         javax/imageio/stream/ImageInputStream.java,
8671         javax/imageio/stream/ImageOutputStream.java,
8672         javax/imageio/stream/package.html:
8673         New files.
8674         * Makefile.am
8675         (ordinary_java_source_files): Added
8676         gnu/classpath/ServiceFactory.java and
8677         gnu/classpath/ServiceProviderLoadingAction.java.
8678         (javax_source_files): Added
8679         javax/imageio/ImageReader.java,
8680         javax/imageio/ImageTranscoder.java,
8681         javax/imageio/ImageWriter.java,
8682         javax/imageio/spi/IIOServiceProvider.java,
8683         javax/imageio/spi/ImageInputStreamSpi.java,
8684         javax/imageio/spi/ImageOutputStreamSpi.java,
8685         javax/imageio/spi/ImageReaderWriterSpi.java,
8686         javax/imageio/spi/ImageTranscoderSpi.java,
8687         javax/imageio/spi/RegisterableService.java,
8688         javax/imageio/spi/ServiceRegistry.java,
8689         javax/imageio/stream/IIOByteBuffer.java,
8690         javax/imageio/stream/ImageInputStream.java and
8691         javax/imageio/stream/ImageOutputStream.java.
8692         * Makefile.in: Regenerated.
8693
8694 2004-04-21  Michael Koch  <konqueror@gmx.de>
8695
8696         * java/util/Properties.java
8697         (load): Fix wrongly merged fix.
8698
8699 2004-04-21  Mark Wielaard  <mark@klomp.org>
8700
8701         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8702         malloc and free buf.
8703
8704 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8705
8706         * javax/naming/AuthenticationException.java,
8707         javax/naming/AuthenticationNotSupportedException.java,
8708         javax/naming/CannotProceedException.java,
8709         javax/naming/CommunicationException.java,
8710         javax/naming/CompoundName.java,
8711         javax/naming/ConfigurationException.java,
8712         javax/naming/ContextNotEmptyException.java,
8713         javax/naming/InitialContext.java,
8714         javax/naming/InsufficientResourcesException.java,
8715         javax/naming/InterruptedNamingException.java,
8716         javax/naming/LimitExceededException.java,
8717         javax/naming/LinkException.java,
8718         javax/naming/LinkLoopException.java,
8719         javax/naming/LinkRef.java,
8720         javax/naming/MalformedLinkException.java,
8721         javax/naming/Name.java,
8722         javax/naming/NameAlreadyBoundException.java,
8723         javax/naming/NameNotFoundException.java,
8724         javax/naming/NamingSecurityException.java,
8725         javax/naming/NoInitialContextException.java,
8726         javax/naming/NoPermissionException.java,
8727         javax/naming/NotContextException.java,
8728         javax/naming/PartialResultException.java,
8729         javax/naming/ReferralException.java,
8730         javax/naming/ServiceUnavailableException.java,
8731         javax/naming/SizeLimitExceededException.java,
8732         javax/naming/TimeLimitExceededException.java,
8733         javax/naming/directory/Attribute.java,
8734         javax/naming/directory/Attributes.java,
8735         javax/naming/directory/SearchResult.java,
8736         javax/naming/event/NamingExceptionEvent.java,
8737         javax/naming/spi/ResolveResult.java:
8738         Cleaned up imports.
8739
8740 2004-04-21  Mark Wielaard  <mark@klomp.org>
8741
8742         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8743         Changed C++ comments into C comments. Removed commented out code.
8744         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8745         Likewise.
8746         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8747         Likewise.
8748         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8749         Likewise.
8750         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8751         Likewise.
8752         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8753         Likewise.
8754         * native/jni/gtk-peer/gthread-jni.c:
8755         Likewise.
8756
8757 2004-04-21  Mark Wielaard  <mark@klomp.org>
8758
8759         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8760         static fields defined in interface.
8761         * javax/awt/JDialog.java: Likewise.
8762         (JDialog): Make constructors public.
8763         (getDefaultCloseOperation): Make public.
8764         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8765         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8766         * javax/swing/JViewport.java (JViewport): Make constructor public.
8767
8768 2004-04-21  Michael Koch  <konqueror@gmx.de>
8769
8770         * java/util/Map.java
8771         (Entry): Removed redundant "static" modifier.
8772         * java/text/AttributedCharacterIterator.java:
8773         Updated copyright year.
8774
8775 2004-04-20  Michael Koch  <konqueror@gmx.de>
8776
8777         * javax/naming/directory/SearchControls.java:
8778         Don't explicitely extend java.lang.Object.
8779         * javax/naming/spi/DirStateFactory.java:
8780         Merged copyright year with GNU classpath.
8781
8782 2004-04-20  Michael Koch  <konqueror@gmx.de>
8783
8784         * java/nio/channels/Channels.java:
8785         Merged coding style with GNU classpath.
8786
8787 2004-04-20  Michael Koch  <konqueror@gmx.de>
8788
8789         * java/net/ServerSocket.java
8790         Merged coding style from GNU classpath.
8791
8792 2004-04-20  Michael Koch  <konqueror@gmx.de>
8793
8794         * java/io/BufferedWriter.java:
8795         Reordered variables to be at top of the class.
8796         (localFlush): Removed redundant final keyword.
8797
8798 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8799
8800         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8801
8802 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8803
8804         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8805         for percent and permill check.
8806
8807 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8808
8809         * java/text/FieldPosition.java
8810         (FieldPosition) Constructor now behaves as it should according
8811         to the java documentation.
8812
8813 2004-04-20  Mark Wielaard  <mark@klomp.org>
8814
8815         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8816         documentation.
8817
8818 2004-04-20  Michael Koch  <konqueror@gmx.de>
8819
8820         * java/nio/Buffer.java,
8821         java/nio/channels/AlreadyConnectedException.java,
8822         java/nio/channels/AsynchronousCloseException.java,
8823         java/nio/channels/ByteChannel.java,
8824         java/nio/channels/CancelledKeyException.java,
8825         java/nio/channels/Channel.java,
8826         java/nio/channels/Channels.java,
8827         java/nio/channels/ClosedByInterruptException.java,
8828         java/nio/channels/ClosedChannelException.java,
8829         java/nio/channels/ClosedSelectorException.java,
8830         java/nio/channels/ConnectionPendingException.java,
8831         java/nio/channels/DatagramChannel.java,
8832         java/nio/channels/FileChannel.java,
8833         java/nio/channels/FileLock.java,
8834         java/nio/channels/FileLockInterruptionException.java,
8835         java/nio/channels/GatheringByteChannel.java,
8836         java/nio/channels/IllegalBlockingModeException.java,
8837         java/nio/channels/IllegalSelectorException.java,
8838         java/nio/channels/InterruptibleChannel.java,
8839         java/nio/channels/NoConnectionPendingException.java,
8840         java/nio/channels/NonReadableChannelException.java,
8841         java/nio/channels/NonWritableChannelException.java,
8842         java/nio/channels/NotYetBoundException.java,
8843         java/nio/channels/NotYetConnectedException.java,
8844         java/nio/channels/OverlappingFileLockException.java,
8845         java/nio/channels/Pipe.java,
8846         java/nio/channels/ReadableByteChannel.java,
8847         java/nio/channels/ScatteringByteChannel.java,
8848         java/nio/channels/SelectableChannel.java,
8849         java/nio/channels/SelectionKey.java,
8850         java/nio/channels/Selector.java,
8851         java/nio/channels/ServerSocketChannel.java,
8852         java/nio/channels/SocketChannel.java,
8853         java/nio/channels/UnresolvedAddressException.java,
8854         java/nio/channels/UnsupportedAddressTypeException.java,
8855         java/nio/channels/WritableByteChannel.java,
8856         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8857         java/nio/channels/spi/AbstractSelectableChannel.java,
8858         java/nio/channels/spi/AbstractSelectionKey.java,
8859         java/nio/channels/spi/AbstractSelector.java,
8860         java/nio/channels/spi/SelectorProvider.java,
8861         java/nio/charset/spi/CharsetProvider.java:
8862         Fixed javadocs and jalopied all over java.nio.
8863
8864 2004-04-20  Michael Koch  <konqueror@gmx.de>
8865
8866         * java/nio/ByteBufferImpl.java,
8867         java/nio/CharBufferImpl.java,
8868         java/nio/DirectByteBufferImpl.java,
8869         java/nio/DoubleBufferImpl.java,
8870         java/nio/DoubleViewBufferImpl.java,
8871         java/nio/FloatBufferImpl.java,
8872         java/nio/FloatViewBufferImpl.java,
8873         java/nio/IntBufferImpl.java,
8874         java/nio/IntViewBufferImpl.java,
8875         java/nio/LongBufferImpl.java,
8876         java/nio/LongViewBufferImpl.java,
8877         java/nio/MappedByteBufferImpl.java,
8878         java/nio/ShortBufferImpl.java,
8879         java/nio/ShortViewBufferImpl.java:
8880         Made sure all classes are final and removed final keyword from all
8881         methods.
8882
8883 2004-04-20  Michael Koch  <konqueror@gmx.de>
8884
8885         * java/rmi/MarshalledObject.java,
8886         java/rmi/Naming.java,
8887         java/rmi/RemoteException.java,
8888         java/rmi/activation/ActivationException.java,
8889         java/rmi/server/ServerCloneException.java,
8890         java/security/AccessController.java,
8891         java/security/AlgorithmParameterGenerator.java,
8892         java/security/AlgorithmParameters.java,
8893         java/security/CodeSource.java,
8894         java/security/Identity.java,
8895         java/security/IdentityScope.java,
8896         java/security/KeyPairGenerator.java,
8897         java/security/KeyStore.java,
8898         java/security/Security.java,
8899         java/security/Signature.java,
8900         java/security/SignatureSpi.java,
8901         java/security/SignedObject.java,
8902         java/security/spec/DSAParameterSpec.java,
8903         java/security/spec/DSAPrivateKeySpec.java,
8904         java/security/spec/DSAPublicKeySpec.java,
8905         java/sql/Array.java,
8906         java/sql/DatabaseMetaData.java,
8907         java/sql/ResultSet.java,
8908         java/text/ChoiceFormat.java,
8909         java/text/CollationElementIterator.java,
8910         java/text/CollationKey.java,
8911         java/text/Collator.java,
8912         java/text/DateFormat.java,
8913         java/text/DateFormatSymbols.java,
8914         java/text/DecimalFormatSymbols.java,
8915         java/text/Format.java,
8916         java/text/ParsePosition.java,
8917         java/text/RuleBasedCollator.java,
8918         java/text/SimpleDateFormat.java,
8919         java/text/StringCharacterIterator.java,
8920         java/util/Collections.java,
8921         java/util/PropertyResourceBundle.java,
8922         java/util/ResourceBundle.java,
8923         java/util/StringTokenizer.java,
8924         java/util/jar/Attributes.java,
8925         java/util/logging/ConsoleHandler.java,
8926         java/util/logging/LogManager.java,
8927         java/util/logging/MemoryHandler.java,
8928         java/util/logging/SocketHandler.java,
8929         javax/naming/NamingException.java:
8930         Fixed javadoc, coding style and argument names all over.
8931
8932 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8933
8934         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8935         constructor. (valid) Added null check.
8936
8937 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8938
8939         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8940         * java/io/FileOutputStream.java
8941         (FileOutputStream) Reorganized constructors. Constructors now
8942         check whether the given path is directory.
8943
8944 2004-04-20  Michael Koch  <konqueror@gmx.de>
8945
8946         * java/net/Authenticator.java,
8947         java/net/BindException.java,
8948         java/net/ConnectException.java,
8949         java/net/ContentHandler.java,
8950         java/net/ContentHandlerFactory.java,
8951         java/net/DatagramPacket.java,
8952         java/net/DatagramSocket.java,
8953         java/net/DatagramSocketImpl.java,
8954         java/net/DatagramSocketImplFactory.java,
8955         java/net/FileNameMap.java,
8956         java/net/HttpURLConnection.java,
8957         java/net/Inet4Address.java,
8958         java/net/Inet6Address.java,
8959         java/net/InetAddress.java,
8960         java/net/InetSocketAddress.java,
8961         java/net/JarURLConnection.java,
8962         java/net/MalformedURLException.java,
8963         java/net/MulticastSocket.java,
8964         java/net/NetPermission.java,
8965         java/net/NetworkInterface.java,
8966         java/net/NoRouteToHostException.java,
8967         java/net/PasswordAuthentication.java,
8968         java/net/PortUnreachableException.java,
8969         java/net/ProtocolException.java,
8970         java/net/ServerSocket.java,
8971         java/net/Socket.java,
8972         java/net/SocketAddress.java,
8973         java/net/SocketException.java,
8974         java/net/SocketImpl.java,
8975         java/net/SocketImplFactory.java,
8976         java/net/SocketOptions.java,
8977         java/net/SocketPermission.java,
8978         java/net/SocketTimeoutException.java,
8979         java/net/URI.java,
8980         java/net/URISyntaxException.java,
8981         java/net/URL.java,
8982         java/net/URLClassLoader.java,
8983         java/net/URLConnection.java,
8984         java/net/URLDecoder.java,
8985         java/net/URLEncoder.java,
8986         java/net/URLStreamHandler.java,
8987         java/net/URLStreamHandlerFactory.java,
8988         java/net/UnknownHostException.java,
8989         java/net/UnknownServiceException.java:
8990         Fixed javadocs, coding style and argument names all over.
8991
8992 2004-04-20  Michael Koch  <konqueror@gmx.de>
8993
8994         * java/lang/Byte.java,
8995         java/lang/CharSequence.java,
8996         java/lang/ClassLoader.java,
8997         java/lang/Compiler.java,
8998         java/lang/Double.java,
8999         java/lang/Float.java,
9000         java/lang/Integer.java,
9001         java/lang/Long.java,
9002         java/lang/Math.java,
9003         java/lang/Number.java,
9004         java/lang/Package.java,
9005         java/lang/Runtime.java,
9006         java/lang/RuntimePermission.java,
9007         java/lang/SecurityManager.java,
9008         java/lang/Short.java,
9009         java/lang/StringBuffer.java,
9010         java/lang/System.java,
9011         java/lang/ThreadGroup.java,
9012         java/lang/Throwable.java,
9013         java/lang/reflect/InvocationHandler.java,
9014         java/lang/reflect/Proxy.java:
9015         Fixed javadocs, coding style and argument names all over.
9016
9017 2004-04-20  Michael Koch  <konqueror@gmx.de>
9018
9019         * java/io/BufferedWriter.java,
9020         java/io/ByteArrayInputStream.java,
9021         java/io/CharArrayWriter.java,
9022         java/io/DataInput.java,
9023         java/io/DataInputStream.java,
9024         java/io/File.java,
9025         java/io/FilterInputStream.java,
9026         java/io/InputStream.java,
9027         java/io/InputStreamReader.java,
9028         java/io/ObjectInputStream.java,
9029         java/io/ObjectStreamClass.java,
9030         java/io/PipedInputStream.java,
9031         java/io/PipedReader.java,
9032         java/io/PushbackInputStream.java,
9033         java/io/PushbackReader.java,
9034         java/io/RandomAccessFile.java,
9035         java/io/SerializablePermission.java,
9036         java/io/StreamTokenizer.java,
9037         java/io/StringWriter.java,
9038         java/io/WriteAbortedException.java,
9039         java/io/Writer.java:
9040         Fixed javadocs all over, rename arguments to match javadocs,
9041         fixed coding style.
9042
9043 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9044
9045         * java/awt/FontMetrics.java:
9046         (charsWidth): fixed accumulation of total_width
9047         (getWidth): simple default implementation
9048         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9049         in Rectangle constructor.
9050         * java/awt/image/Raster.java (toString): Added method. 
9051         * java/awt/image/SampleModel.java (<init>): Added error cause
9052         information to thrown exception.
9053         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9054         New method.
9055         (setDataElements): New method.
9056         (setPixels): New method.
9057         (toString): New method.
9058
9059 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9060
9061         * java/awt/image/ComponentColorModel.java
9062         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9063         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9064         Mauve tests on this method. Improved documentation.
9065
9066 2004-04-20  Michael Koch  <konqueror@gmx.de>
9067
9068         * javax/swing/JLayeredPane.java,
9069         javax/swing/plaf/BorderUIResource.java,
9070         javax/swing/plaf/ComponentUI.java,
9071         javax/swing/undo/CompoundEdit.java,
9072         javax/swing/undo/StateEdit.java:
9073         Fixed HTML tags in javadocs all over.
9074
9075 2004-04-20  Michael Koch  <konqueror@gmx.de>
9076
9077         * javax/print/attribute/EnumSyntax.java
9078         (getOffset): Made protected.
9079         * javax/print/attribute/HashAttributeSet.java
9080         (HashAttributeSet): Likewise.
9081         * javax/print/attribute/ResolutionSyntax.java
9082         (getFeedResolution): Fixed typo in exception name.
9083         (getCrossFeedResolution): Likewise.
9084         * javax/print/attribute/SetOfIntegerSyntax.java
9085         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9086         * javax/print/attribute/TextSyntax.java
9087         (TextSyntax): Handle locale correctly.
9088         (hashCode): Calc better hashcode value.
9089         (equals): Fixed @return tag.
9090         (toString): New method.
9091
9092 2004-04-20  Michael Koch  <konqueror@gmx.de>
9093
9094         * gnu/java/nio/FileLockImpl.java
9095         (static): Removed, not needed anymore.
9096         * gnu/java/nio/channels/FileChannelImpl.java
9097         (FileChannelImpl): Made final.
9098         (mode): Made private.
9099         (READ, WRITE, APPEND): Made public.
9100         (EXCL, SYNC, DSYNC): Likewise.
9101         (static): Load native JNI library, when needed.
9102         (length): Unused, removed.
9103         (available): Made public.
9104         (implPosition): Throws IOException.
9105         (seek): Likewise.
9106         (implTruncate): Likewise.
9107         (unlock): Likewise.
9108         (lock): Likewise.
9109
9110 2004-04-20  Michael Koch  <konqueror@gmx.de>
9111
9112         * java/awt/AWTPermission.java,
9113         java/awt/Component.java,
9114         java/awt/ComponentOrientation.java,,
9115         java/awt/Dialog.java,
9116         java/awt/FontMetrics.java,
9117         java/awt/Graphics.java,
9118         java/awt/datatransfer/DataFlavor.java,
9119         java/beans/Introspector.java,
9120         java/beans/PropertyEditor.java,
9121         java/beans/PropertyEditorManager.java,
9122         java/beans/beancontext/BeanContextServiceProvider.java:
9123         Fixed HTML tags in javadocs all over.
9124
9125 2004-04-20  Mark Wielaard  <mark@klomp.org>
9126
9127         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9128         MissingResourceException is thrown.
9129         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9130         null when a MissingResourceException is thrown. Should never happen.
9131
9132 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9133
9134         * java/awt/image/DataBufferShort.java,
9135         java/awt/image/DataBufferFloat.java,
9136         java/awt/image/DataBufferDouble.java,
9137         java/awt/image/PixelInterleavedSampleModel.java: New files.
9138         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9139         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9140
9141 2004-04-20  Michael Koch  <konqueror@gmx.de>
9142
9143         * Makefile.am (java_source_files): Added
9144         java/awt/image/DataBufferDouble.java,
9145         java/awt/image/DataBufferFloat.java,
9146         java/awt/image/DataBufferShort.java and
9147         java/awt/image/PixelInterleavedSampleModel.java.
9148         * Makefile.in: Regenerated.
9149
9150 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
9151  
9152         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
9153         undocumented CNI calls.
9154         * include/java-interp.h (_Jv_InterpClass): No longer
9155         extends java.lang.Class.
9156         * java/lang/Class.h (Class): Add new field `aux_info'.
9157         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9158         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9159         Use Class->aux_info instead.
9160         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9161         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9162         Use Class->aux_info instead.
9163         * java/io/natObjectInputStream.cc (allocateObject): Use
9164         _Jv_AllocObject.
9165         * java/lang/natClass.cc (newInstance): Likewise.
9166         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9167         * java/lang/natObject.cc (clone): Likewise.
9168         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9169         * java/lang/natVMClassLoader.cc (defineClass): Don't use
9170         JvAllocObject. Allocate klass->aux_info here for interpreted
9171         class.
9172         
9173 2004-04-17  Mark Wielaard  <mark@klomp.org>
9174
9175         * javax/swing/JToggleButton.java (ToggleButtonModel):
9176         Make public static inner class.
9177         * javax/swing/JTabbedPane.java (setComponentAt):
9178         Call Page.setComponent().
9179         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9180         (WRAP_TAB_LAYOUT): Make public, value is 0.
9181         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9182         Make private static inner class.
9183
9184 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9185
9186         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9187         arguments to match new signature. Remove FIXME comments.
9188
9189 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9190
9191         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9192         Remove method.
9193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9194         unused code.
9195
9196 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9197
9198         * Makefile.am: Added new file.
9199         * Makefile.in: Regenerate.
9200         * javax/swing/ImageIcon.java: 
9201         (ImageIcon(file)): set description of the icon 
9202         to the file name
9203         * javax/swing/JCheckBoxMenuItem.java:
9204         Mostly Implemented. Work in progress.
9205         * javax/swing/JRadioButtonMenuItem.java:
9206         Reimplement constructors to use JToggleButtonModel.
9207         * javax/swing/plaf/basic/BasicIconFactory.java:
9208         (getCheckBoxMenuItemIcon): return check box
9209         icon.
9210         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9211         paint menu item selected only when it is armed and 
9212         pressed. 
9213  
9214 2004-04-02  David Jee  <djee@redhat.com>
9215
9216         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9217         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9218         * java/awt/Component.java
9219         (add): Set the parent of the popup as this component.
9220         * java/awt/PopupMenu.java
9221         (addNotify): Create popup menu when peer is null.
9222         (show): Call addNotify() if peer is null.
9223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9224         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9225         argument for gtk_menu_popup() as zero. This causes the popup menu to
9226         respond to any mouse button.
9227
9228 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9229
9230         * Makefile.am: Added new file.
9231         * Makefile.in: Regenerate.
9232         * javax/swing/JRadioButtonMenuItem.java:
9233         Implemented.
9234         * javax/swing/plaf/basic/BasicIconFactory.java:
9235         (getRadioButtonMenuItemIcon): Return
9236         radio button icon.
9237         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9238         (getPreferredSize): Add size of checkIcon if it
9239         exists.
9240         (installDefaults): Don't initialize checkIcon.
9241         It's value will be set in subclasses. 
9242         (uninstallDefaults): remove uninstallation of 
9243         checkIcon.
9244         (paint): Moved code to paintMenuItem().
9245         (paintMenuItem): Implemented.
9246         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9247         UI delegate for JRadioButtonMenuItem.
9248         
9249 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9250
9251         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9252         Corrected position of the accelerator.
9253
9254 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9255
9256         * Makefile.am: Added new file. 
9257         * Makefile.in: Regenerate.
9258         * javax/swing/JMenuItem.java: Partly 
9259         implemented. Work in progress
9260         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9261         Changed default value of acceleratorDelimiter.
9262         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9263         New class. Partly implemented.
9264                 
9265 2004-03-26  Mark Wielaard  <mark@klomp.org>
9266
9267         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9268         (item_activate): Declare label before use.
9269         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9270         (gtkSetFont): Removed unused variable label.
9271         (addExposeFilter): Declare variables before use.
9272         (removeExposeFilter): Likewise.
9273         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9274         (ok_clicked): Declare str_fileName before use.
9275
9276 2004-03-26  David Jee  <djee@redhat.com>
9277
9278         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9279         (addSeparator): Remove.
9280         * java/awt/Menu.java
9281         (separator): Remove static final MenuItem field.
9282         (separatorLabel): New static final String field.
9283         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9284         Use separatorLabel to denote that it is a separator.
9285         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9286         of reusing the static separator instance, because a MenuItem instance
9287         can't be added more than once without being cloned.
9288         * java/awt/peer/MenuPeer.java
9289         (addSeparator): Remove from interface.
9290
9291 2004-03-26  David Jee  <djee@redhat.com>
9292
9293         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9294         (connectSignals): New native method declaration.
9295         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9296         * java/awt/MenuItem.java
9297         (getActionCommand): Return the label if the action command is not set.
9298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9299         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9300         gtk_menu_shell_append().
9301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9302         (item_activate): Fix argument type.
9303         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9304         signal here.
9305         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9306         method.
9307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9308         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9309         given. Add the menu widget's top-level GtkWindow to the global window
9310         group, so it can grab the pointer.
9311         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9312         gtk_menu_shell_append().
9313
9314 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9315
9316         * java/text/AttributedString.java 
9317         (addAttribute): Fix off-by-one.
9318         (getIterator): Likewise.        
9319         * java/text/AttributedStringIterator.java 
9320         (getRunLimit): Correct logic.
9321         (getRunStart): Likewise.
9322         (getAttribute): Fix inequality.
9323         (getAttributes): Likewise.
9324         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9325
9326 2004-03-23  Kim Ho  <kho@redhat.com>
9327
9328         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9329         (calculateSizes): Return real width and height.
9330
9331 2004-03-23  Kim Ho  <kho@redhat.com>
9332
9333         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9334         (calculateTabRects): Set the selectedRun before
9335         trying to rotate tabs.
9336
9337 2004-03-23  Kim Ho  <kho@redhat.com>
9338
9339         * Makefile.am: New file
9340         * Makefile.in: Regenerate
9341         * java/awt/Graphics.java: (drawRect):
9342         Draw to the correct point.
9343         * javax/swing/DefaultSingleSelectionModel.java
9344         (isSelected): Return true if the selected index
9345         is not -1.
9346         * javax/swing/JLabel.java: Do not change mnemonic
9347         index if text is null.
9348         * javax/swing/JProgressBar.java: Use JComponent's
9349         EventListenerList.
9350         * javax/swing/JScrollBar.java: Ditto.
9351         * javax/swing/JSlider.java: Ditto.
9352         * javax/swing/JTabbedPane.java: Reimplement.
9353         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9354         Add defaults for TabbedPane.
9355         * javax/swing/plaf/basic/BasicArrowButton.java:
9356         Implement
9357         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9358         (paintDeterminate): Don't paint String if it's
9359         empty.
9360         (paintIndeterminate): ditto.
9361         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9362         Reimplement.
9363
9364 2004-03-19  Michael Koch  <konqueror@gmx.de>
9365
9366         * java/awt/image/AffineTransformOp.java
9367         (AffineTransformOp): Made public.
9368         * javax/swing/JComponent.java
9369         (listenerList): Made protected.
9370         (accessibleContext): Likewise.
9371         * javax/swing/JList.java
9372         (valueChanged): Dont use internal fields of ListSelectionEvent.
9373         * javax/swing/JViewport.java
9374         (getView): Dont use internal fields of Component.
9375         (addImpl): Likewise.
9376         * javax/swing/Timer.java
9377         (isRunning): Made public.
9378         (start): Likewise.
9379         (stop): Likewise.
9380         * javax/swing/UIDefaults.java
9381         (getInt): Made public.
9382         * javax/swing/plaf/basic/BasicListUI.java
9383         (mousePressed): Dont use internal fields of MouseEvent.
9384         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9385         * javax/swing/plaf/basic/BasicScrollBarUI.java
9386         (arrowIcon): Made static.
9387         * javax/swing/plaf/basic/BasicViewportUI.java
9388         (stateChanged): Dont use internal field on ChangeEvent.
9389         * javax/swing/text/JTextComponent.java
9390         (getUI): Call UIManager.getUI().
9391         (updateUI): Use getUI().
9392
9393 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9394
9395         * javax/swing/JComponent.java: Turn off double buffer by default.
9396         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9398         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9399         Use cairo to copy areas.
9400         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9401         Initialize and set clip region.
9402
9403 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9404
9405         * java/applet/Applet.java (preferredSize): Override deprecated
9406         variant of getPreferredSize.
9407         (minimumSize): Override deprecated variant of getMinimumSize.
9408
9409 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9410
9411         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9412         (drawImage(img,xform,bgcolor,obs)): New Method.
9413         Helper function that every drawImage method will
9414         use.
9415         (drawRaster): Added new parameter, bgcolor. All
9416         transparent pixels are changed to bgcolor before 
9417         image is drawn.
9418         (drawRenderedImage): Fixed to use changed drawRaster().
9419         (drawImage(image,xform,obs): Fixed to use new helper function 
9420         (drawImage(image,op,x,y)): Ditto.
9421         (drawImage (img,x,y,observer)): Ditto.
9422         ((PainterThread) bgcolor): New Field.
9423         ((PainterThread) (setPixels)): Changed all transparent pixels 
9424         to bgcolor.     
9425         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9426         Fixed FIXME - all the transparent pixels are 
9427         changed to the specified bgcolor. 
9428         (drawImage(img, x, y, width, height, observer): Changed to 
9429         use function above.
9430         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9431         Fixed FIXME- changed all transparent pixels to bgcolor.
9432         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9433         Changed to use function above. 
9434
9435 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9436
9437         * java/applet/Applet.java (dimensions): New field.
9438         (getDimensions): New method.
9439         (getPreferredSize): Call getDimensions.
9440         (getMinimumSize): Likewise.
9441
9442 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9443
9444         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9445         * jni/classpath/jnilink.c: Likewise.
9446
9447         * java/applet/Applet.java (getPreferredSize): New method.
9448         (getMinimumSize): New method.
9449
9450 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9451
9452         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9453         (_Jv_AllocObjectNoFinalizer): Likewise.
9454         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9455         (_Jv_AllocPtrFreeObject): Likewise.
9456         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9457         directly even in the JVMPI case.        
9458         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9459         _Jv_AllocObject calls.
9460         * gcj/javaprims.h: Update prototypes.
9461         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9462         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9463         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9464
9465 2004-04-14  Andrew Haley  <aph@redhat.com>
9466             Bryce McKinlay  <mckinlay@redhat.com>
9467
9468         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9469         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9470         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9471
9472         * testsuite/libjava.lang/InvokeInterface.java: New file.
9473         * testsuite/libjava.lang/InvokeInterface.out: New file.
9474
9475 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9476         
9477         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9478         modified lookup().
9479         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9480         StackTraceElement directly.
9481         (newElement): New native helper method to create StackTraceElement
9482         bypassing Java access control.
9483         (createStackTraceElement): Use newElement() instead of directly
9484         calling StackTraceElement's constructor.
9485         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9486
9487 2004-04-01  Michael Koch  <konqueror@gmx.de>
9488
9489         * java/lang/SecurityManager.java
9490         (checkAwtEventQueueAccess): Implemented.
9491
9492 2004-04-01  Gary Benson  <gbenson@redhat.com>
9493
9494         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9495         (_Jv_SearchMethodInClass): Likewise.
9496
9497 2004-03-26  Peter Moon  <peterm@miraculum.com>
9498
9499         * java/text/NumberFormat.java: Fix spelling of setCurrency
9500         method.
9501
9502 2004-03-21  Anthony Green  <green@redhat.com>
9503
9504         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9505         recursion when searching for the system ClassLoader.
9506
9507 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9508
9509         * java/net/ServerSocket.java
9510         (accept): Close the socket when error occured.
9511
9512 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9513
9514         * java/net/URI.java (parseURI): Added unquoting.
9515         (unquote): New method.
9516         (quoteAuthority): Implemented.
9517         (quote(String,String)): New method.
9518         (quotePath): Implemented.
9519         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9520         (getSchemeSpecificPart): Removed FIXME comment.
9521         (getRawAuthority): Return new rawAuthority field.
9522         (getAuthority): Removed FIXME comment.
9523         (getRawUserInfo): Return new rawUserInfo field.
9524         (getUserInfo): Removed FIXME comment.
9525         (getRawPath): Return new rawPath field.
9526         (getPath): Removed FIXME comment.
9527         (getRawQuery): Return new rawQuery field.
9528         (getQuery): Removed FIXME comment.
9529         (getRawFragment): Return new rawFragment field.
9530         (getFragment): Removed FIXME comment.
9531
9532 2004-03-20  Michael Koch  <konqueror@gmx.de>
9533
9534         * java/net/URLConnection.java: Merged copyright year with classpath.
9535
9536 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9537
9538         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9539         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9540         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9541         rmi-message.
9542         (getObjectInputStream): Return object reference, throw IOException if null.
9543         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9544         (getObjectOutputStream): Return object reference, throw IOException if null.
9545         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9546         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9547         (UnicastConnectionManager): Throw RemoteException if port is not available.
9548         (getInstance): Throw RemoteException.
9549         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9550         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9551         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9552         Collect Exceptions which are returned by a rmi-call and fix void returns.
9553         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9554         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9555         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9556         (dispatch): Answer ping messages which are sent by other java implementions.
9557         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9558         for every rmi-message and fix void return problems.
9559         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9560         (UnicastServerRef): Throw RemoteException.
9561         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9562         In some situations it is necessary to export a subclass of the class which has the _Stub.
9563         For instance when the class with has the _Stub is abstract.
9564         (findStubSkelClass): New method which looks for the class which has the _Stub.
9565         (getClientHost): Implementated.
9566         * gcc/libjava/java/rmi/server/RemoteServer.java
9567         (getClientHost): Implementated.
9568         * gcc/libjava/Makefile.am (rmi_java_source_files):
9569         Added gnu/java/rmi/server/RMIIncomingThread.java.
9570         * Makefile.in: Regenerated.
9571
9572 2004-03-20  Michael Koch  <konqueror@gmx.de>
9573
9574         * java/net/InetAddress.java
9575         (getLocalHostname): Added javadoc.
9576
9577 2004-03-19  Per Bothner  <per@bothner.com>
9578
9579         * configure.in: FILE variable  overrides FLATFORM when linking
9580         natFileChannelXXX.cc.
9581
9582         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9583         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9584
9585 2004-03-19  Per Bothner  <per@bothner.com>
9586
9587         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9588         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9589         * Makefile.am:  Update accordingly.
9590         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9591         as aliases for UnicodeLittle and UnicodeBig.
9592
9593 2004-03-20  Mark Wielaard  <mark@klomp.org>
9594
9595         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9596         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9597         Don't access ws when it is null.
9598         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9599         Likewise.
9600
9601 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9602
9603         * java/lang/ThreadGroup.java (list): Changed print to println.
9604
9605 2004-03-19  Mark Wielaard  <mark@klomp.org>
9606
9607         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9608         happy.
9609
9610 2004-02-10  Randolph Chung  <tausq@debian.org>
9611  
9612         * configure.in: Build java for hppa target.
9613         * configure: Regenerate.
9614         * libjava/configure.host (hppa-*): Add target.
9615         * libjava/sysdeps/pa/lock.h: New file.
9616
9617 2004-03-19  Mark Wielaard  <mark@klomp.org>
9618
9619         Reported by Stephen Crawley
9620         * java/io/FilePermission.java (implies): Use String.length() -1 to
9621         access last char of String.
9622
9623 2004-03-19  Michael Koch  <konqueror@gmx.de>
9624
9625         * java/awt/image/AffineTransformOp.java
9626         (AffineTransformOp): Made public.
9627         * javax/swing/JComponent.java
9628         (listenerList): Made protected.
9629         (accessibleContext): Likewise.
9630         * javax/swing/JList.java
9631         (valueChanged): Dont use internal fields of ListSelectionEvent.
9632         * javax/swing/JViewport.java
9633         (getView): Dont use internal fields of Component.
9634         (addImpl): Likewise.
9635         * javax/swing/Timer.java
9636         (isRunning): Made public.
9637         (start): Likewise.
9638         (stop): Likewise.
9639         * javax/swing/UIDefaults.java
9640         (getInt): Made public.
9641         * javax/swing/plaf/basic/BasicListUI.java
9642         (mousePressed): Dont use internal fields of MouseEvent.
9643         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9644         * javax/swing/plaf/basic/BasicScrollBarUI.java
9645         (arrowIcon): Made static.
9646         * javax/swing/plaf/basic/BasicViewportUI.java
9647         (stateChanged): Dont use internal field on ChangeEvent.
9648         * javax/swing/text/JTextComponent.java
9649         (getUI): Call UIManager.getUI().
9650         (updateUI): Use getUI().
9651
9652 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9653
9654         * verify.cc: Undef PC.
9655
9656 2004-03-18  Michael Koch  <konqueror@gmx.de>
9657
9658         * java/nio/channels/spi/AbstractSelectableChannel.java
9659         (keys): Initialize at declaration.
9660         (locate): keys cant be null.
9661         (add): Removed.
9662         (addSelectionKey): New method.
9663         (removeSelectionKey): New method.
9664         * java/nio/channels/spi/AbstractSelectionKey.java
9665         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9666         * java/nio/channels/spi/AbstractSelector.java
9667         (provider): Javadoc added.
9668         (cancelledKeys): Javadoc added.
9669         (cancelKey): Javadoc added, add key to cancelledKeys.
9670         (deregister): Implemented.
9671
9672 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9673
9674         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9675         MAP_FAILED to void *.
9676
9677 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9678
9679         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9680         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9681         * javax/swing/JList.java (ListListener): Revalidate on changes.
9682         * javax/swing/JScrollPane.java: Reimplement.
9683         * javax/swing/JViewport.java: Reimplement.
9684         * javax/swing/ScrollPaneLayout.java: Reimplement.
9685         * javax/swing/ViewportLayout.java: Tidy up.
9686         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9687         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9688         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9689         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9690         backing store only.
9691
9692 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9693
9694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9695         (window_wm_protocols_filter): New function.
9696         (window_focus_in_cb): Remove function.
9697         (window_focus_out_cb): Likewise.
9698         (window_focus_or_active_state_change_cb): New function.
9699         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9700         (connectSignals): Don't attach handlers to focus-in-event or
9701         focus-out-event signals.  Handle notify signal.
9702
9703 2004-03-11  David Jee  <djee@redhat.com>
9704
9705         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9706         (gtkSetLabel): New native method declaration.
9707         (setLabel): Use gtkSetLabel.
9708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9709         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9710
9711 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9712
9713         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9714         black when color argument is null.
9715
9716 2004-03-10  Kim Ho  <kho@redhat.com>
9717
9718         * java/awt/Container.java: Remove check
9719         for drag events.
9720
9721 2004-03-10  Kim Ho  <kho@redhat.com>
9722
9723         * java/awt/Container.java: (visitChild):
9724         Remove candidate clip. Use the component
9725         clip to intersect.
9726         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9727         (handleEvent): Use the PaintEvent's clip.
9728
9729 2004-03-10  Kim Ho  <kho@redhat.com>
9730
9731         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9732         (handleEvent): Don't set the clip for the
9733         Graphics object.
9734
9735 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9736
9737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9738         Fix double <-> fixed macros, reset font transform.
9739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9740         Likewise.
9741
9742 2004-03-09  Kim Ho  <kho@redhat.com>
9743
9744         * java/awt/Container.java: (visitChild): Move
9745         the x and y coordinate of the component rectangle
9746         to correct position.
9747         (handleEvent): Forward drag events to the pressed
9748         component.
9749         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9750         Fix comments.
9751         (ArrowButtonListener::mousePressed): Stop the
9752         existing timer.
9753         (mouseDragged): Implement.
9754         (TrackListener::mousePressed): Only react if
9755         the press doesn't occur on the thumb, otherwise
9756         just set the offset.
9757         (TrackListener::mouseReleased): Unset the isAdjusting
9758         value.
9759         (createIncreaseIcon): Switch icon.
9760         (createDecreaseIcon): Switch icon.
9761         (calculatePreferredSize): Use width.
9762         (getThumbBounds): Use the top as the lower value.
9763         (layoutVScrollBar): Switch the button locations.
9764         (paintIncreaseHighlight): Paint correct side of thumb.
9765         (paintDecreaseHighlight): ditto.
9766         (valueForYPosition): Use top as the lower value.
9767         * javax/swing/plaf/basic/BasicSliderUI.java:
9768         Fix comments.
9769         (mouseDragged): Implement.
9770         (mousePressed): Only react when the thumb isn't
9771         pressed, otherwise just set offset.
9772         (mouseReleased): Handle a release of the thumb.
9773         (scrollDueToClickInTrack): Stop the timer first.
9774         * javax/swing/JProgressBar.java:
9775         (setString): Fix change condition.
9776         * javax/swing/JSeparator.java:
9777         Remove println's.
9778
9779 2004-03-08  David Jee  <djee@redhat.com>
9780
9781         * java/awt/image/AffineTransformOp.java:
9782         (filter): Use Graphics2D interface instead of directly using the
9783         GdkGraphics2D peer.
9784
9785 2004-03-05  David Jee  <djee@redhat.com>
9786
9787         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9788         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9789         * java/awt/Container.java
9790         (acquireComponentForMouseEvent): Fixed.
9791         (handleEvent): Fixed.
9792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9793         (state_to_awt_mods_with_button_states): New method.
9794         (pre_event_handler): Fixed mouse event generation.
9795
9796 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9797
9798         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9799         (GdkGraphics2D (BufferedImage)): Initialize
9800         pixmap associated with specified BufferedImage.
9801         (setPaint): Changed implementation of Texture
9802         Paint to use AffineTransformOp.
9803         * java/awt/image/AffineTransformOp.java
9804         (createCompatibleDestRaster): Throw RasterFormatException 
9805         if resulting width or height of raster is 0.
9806
9807 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9808
9809         * java/awt/image/AffineTransformOp.java:
9810         Removed unnecessary field interpolationType.
9811         Formatted some of the lines to be consistent with 
9812         the GNU style.
9813         (AffineTransformOp): Create new RenderingHints 
9814         containing specified interpolation type.
9815         (createCompatibleDestImage): Implemented.
9816         (createCompatibleDestRaster): Implemented.
9817         (filter): Implemented.
9818         (getBounds2D(BufferedImage)): Implemented.
9819         (getBounds2D(Raster)): Implemented.
9820         (getInterpolationType): Get interpolation value from 
9821         rendering hints.
9822
9823 2004-03-04  David Jee  <djee@redhat.com>
9824
9825         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9826         (setFont): Check if child peers are null.
9827
9828 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9829
9830         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9831         .libs in -L option.
9832         (libjava_arguments): Add new libraries to argument list.
9833
9834 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9835
9836         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9837         * Makefile.in: Re-generated.
9838         * java/awt/image/AffineTransformOp.java: New Class.
9839
9840 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9841
9842         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9843         (setPaint): Interpret correctly TexturePaint's
9844         anchor rectangle.
9845         (drawImage): Fixed scale factors of the affine
9846         transform.
9847
9848 2004-02-27  David Jee  <djee@redhat.com>
9849
9850         * gnu/java/awt/peer/gtk/GdkGraphics.java
9851         (GdkGraphics(Component)): Inherit font from component.
9852         (drawString): Use font style.
9853         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9854         (gtkSetFont): New native method declaration.
9855         (setFont): New method.
9856         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9857         (gtkSetFont): New native method declaration.
9858         (setFont): Call new native method gtkSetFont.
9859         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9860         (setFont): For all child components who do not their fonts set,
9861         set their peers' fonts with this container's font.
9862         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9863         Move all native method declarations to the top for readability.
9864         (gtkSetFont): New native method declaration.
9865         (setFont): New method.
9866         * java/awt/Component.java
9867         (setFont): Invalidate after setting the font.
9868         * java/awt/Container.java
9869         (invalidateTree): New method.
9870         (setFont): Invalidate the container tree after setting the font.
9871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9872         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9874         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9876         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9878         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9879
9880 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9881
9882         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9883         (updateBufferedImage): New helper function.
9884         Updates BufferedImage in memory if it was changed.
9885         (draw): changed to update BufferedImage in memory after
9886         this drawing operation
9887         (fill): Ditto.
9888         (draw3DRect): Ditto.
9889         (fill3DRect): Ditto.
9890         (clearRect): Ditto.
9891         (drawRaster): Ditto.
9892         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9893         no affine transformation.
9894         (drawGlyphVector): Ditto.
9895
9896 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9897
9898         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9899         (isBufferedImageGraphics): New Helper function. 
9900         Returns true if this graphics2d can be used to draw 
9901         into buffered image and false otherwise.
9902         (updateImagePixels): New Helper function. 
9903         Updates pixels in the BufferedImage.
9904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9905         (getImagePixels): New function. Returns pixels
9906         of the buffered image associated with 
9907         this Graphics2D.
9908
9909 2004-02-26  David Jee  <djee@redhat.com>
9910
9911         * java/awt/BorderLayout.java
9912         (layoutContainer): Fix width and height calculations to ensure
9913         that they're non-negative.
9914         * java/awt/Component.java
9915         (setBackground): If c is null, inherit from closest ancestor whose
9916         background color is set.
9917
9918 2004-02-26  Kim Ho  <kho@redhat.com>
9919
9920         * Makefile.am: Add new files.
9921         * Makefile.in: Re-generate.
9922         * javax/swing/JProgressBar.java: 
9923         (JProgressBar(int, int int)): Throw
9924         IllegalArgumentException if orientation is
9925         invalid.
9926         (JProgressBar(BoundedRangeModel)): Create
9927         ChangeListener and register it. UpdateUI.
9928         (getChangeListeners): Implement.
9929         (setModel): Reset ChangeListener.
9930         * javax/swing/JScrollBar.java: Implement.
9931         * javax/swing/JSeparator.java: Implement.
9932         * javax/swing/JSlider.java:
9933         (JSlider(int, int, int, int)): Throw 
9934         IllegalArgumentException if orientation
9935         is invalid.
9936         (getChangeListeners): Fix method name.
9937         * javax/swing/SwingUtilities.java:
9938         (layoutCompoundLabel): If there is no text,
9939         set the text rectangle dimensions to 0.
9940         * javax/swing/plaf/basic/BasicButtonUI.java:
9941         (paint): If there is no text, don't paint it.
9942         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9943         Implement.
9944         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9945         Implement.
9946         * javax/swing/plaf/basic/BasicSliderUI.java: 
9947         (propertyChange): If the model changes, change
9948         the listeners accordingly.
9949
9950 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9951
9952         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9953         * javax/swing/JList.java: Reimplement.
9954         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9955         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9956         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9957         * javax/swing/ListModel.java: Javadoc.
9958         * javax/swing/ListSelectionModel.java: Add missing methods.
9959         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9960         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9961         * javax/swing/ListModel.java: Javadoc and corrections.
9962         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9963
9964 2004-02-25  David Jee  <djee@redhat.com>
9965
9966         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9967         (GtkFontPeer): Change default size to 12.
9968         * gnu/java/awt/peer/gtk/GtkToolkit.java
9969         (getFontPeer): Change default size to 12.
9970         (getClasspathFontPeer): Likewise. Set default name to "Default".
9971         * java/awt/Font.java
9972         (Font(Map)): Call Font(String,Map).
9973         (Font(String,Map)): If attrs is null, initialize it as an empty
9974         HashMap, which will ensure that the Font will get default attributes.
9975
9976 2004-02-25  David Jee  <djee@redhat.com>
9977
9978         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9979         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9980         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9981         * gnu/java/awt/peer/gtk/GtkToolkit.java
9982         (getFontPeer(String,int)): Call the new overload method with size 1.
9983         (getFontPeer(String,int,int)): New method. Overloaded with size
9984         attribute.
9985         (getClasspathFontPeer): Set the size of the font.
9986
9987 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9988
9989         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9990         (bimage): New field.
9991         (GdkGraphics2D): New Constructor. Constructs Graphics
9992         object that can be used to draw into the Buffered Image.
9993         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9994         (GdkGraphicsEnvironment): Fixed to include public 
9995         keyword.
9996         (createGraphics): Implemented.
9997         * gnu/java/awt/peer/gtk/GtkToolkit.java
9998         (getLocalGraphicsEnvironment): Implemented.
9999         * java/awt/GraphicsEnvironment.java:
10000         (getLocalGraphicsEnvironment): Implemented.
10001         * java/awt/image/BufferedImage.java:
10002         (createGraphics): Implemented.
10003                 
10004 2004-02-24  David Jee  <djee@redhat.com>
10005
10006         * java/awt/Component.java
10007         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10008         * java/awt/Container.java
10009         (addNotifyContainerChildren): Fix event enabling.
10010
10011 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
10012
10013         * Makefile.am: Added 
10014         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10015         * Makefile.in: Re-generated.
10016         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10017         New Class. 
10018         
10019 2004-02-19  Kim Ho  <kho@redhat.com>
10020
10021         * Makefile.am: Add BasicProgressBarUI
10022         * Makefile.in: Regenerate.
10023         * javax/swing/JProgressBar.java: 
10024         Re-implement.
10025         * javax/swing/plaf/basic/BasicLookAndFeel.java
10026         Add constants for JProgressBar.
10027         * javax/swing/plaf/basic/BasicProgressBarUI.java
10028         Implement.
10029         * javax/swing/plaf/basic/BasicSliderUI.java
10030         Change comments.
10031         (calculateGeometry): New method
10032         (paint): Remove unnecessary size calculations.
10033
10034 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
10035
10036         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10037         (drawRaster): Fixed small error that caused
10038         imageToUser transformation to be set incorrectly.
10039         (toString): Implemented.
10040
10041 2004-02-18  David Jee  <djee@redhat.com>
10042
10043         * java/awt/CardLayout.java
10044         (addLayoutComponent): Show the first component added as the default.
10045         (removeLayoutComponent): After removing, show the next component.
10046         (gotoComponent): If there is only one component, show it and return.
10047
10048 2004-02-18  Kim Ho  <kho@redhat.com>
10049
10050         * javax/swing/JSlider.java: Re-order
10051         modifiers.
10052         * javax/swing/JLabel.java: Re-order
10053         modifiers.
10054         * javax/swing/JComponent.java: 
10055         (addPropertyChangeListener):
10056         Implement.
10057         (removePropertyChangeListener):
10058         ditto.
10059         (firePropertyChangeEvent):
10060         ditto.
10061
10062 2004-02-17  David Jee  <djee@redhat.com>
10063
10064         * java/awt/Component.java
10065         (show): Dispatch ComponentEvent via system event queue.
10066         (hide): Likewise.
10067         (move): Likewise.
10068         (resize): Likewise.
10069         (reshape): Likewise.
10070         * java/awt/Window.java
10071         (setBoundsCallback): Likewise.
10072
10073 2004-02-17  David Jee  <djee@redhat.com>
10074
10075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10076         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10077         Use gtk_widget_set_size_request() instead of the deprecated
10078         gtk_widget_set_usize().
10079
10080 2004-02-17  Kim Ho  <kho@redhat.com>
10081
10082         * javax/swing/JSlider.java: Fix comments and
10083         make property strings constants.
10084         (createStandardLabels): Use the labels
10085         preferred size as bounds.
10086         * javax/swing/plaf/basic/BasicSliderUI.java
10087         Fix comments.
10088         (ScrollHandler::actionPerformed): Don't
10089         calculate the timer stop value. Let the
10090         MouseListeners find the stop location.
10091         (getPreferredHorizontalSize): Re-implement.
10092         (getPreferredVerticalSize): ditto.
10093         (getMinimumHorizontalSize): ditto.
10094         (getMinimumVerticalSize): ditto.
10095         (getPreferredSize): ditto.
10096         (getMinimumSize): ditto.
10097         (getMaximumSize): ditto.
10098         (paintTicks): Use doubles to find the
10099         tick location.
10100         (paintHorizontalLabel):  Use preferredSize
10101         as initial width and height.
10102         (paintVerticalLabel): ditto.
10103
10104 2004-02-17  Kim Ho  <kho@redhat.com>
10105
10106         * javax/swing/JLabel.java: Changed 
10107         property strings to constants.
10108         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10109         New property.
10110         (setText): Change mnemonic index if
10111         text is too short.
10112         (setDisplayedMnemonicIndex): Fire property
10113         change event.
10114         (getDisplayedMnemonicIndex): Remove check
10115         against short text.
10116
10117 2004-02-17 Olga Rodimina <rodimina@redhat.com>
10118
10119         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10120         (drawImage(img,xform,obs)): Invert xform before
10121         passing the xform to cairo.
10122         (drawImage(img,x,y,bgcolor,obs)): Implemented.
10123         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
10124         implemented.
10125         (drawImage (img,x,y,w,h,obs)): Implemented.
10126         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
10127         bgcolor,obs)): Partly implemented.
10128         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
10129         Implemented.
10130         * java/awt/image/BufferedImage.java:
10131         (copyData): if dest is null, create raster with same
10132         dimensions as the current image.
10133
10134 2004-02-16  Graydon Hoare  <graydon@redhat.com>
10135
10136         * javax/swing/plaf/basic/BasicLabelUI.java 
10137         (getPreferredSize): Use layoutCL.
10138         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10139         (getPreferredButtonSize): Start with empty view rect, layout using
10140         component's preferred alignment.
10141         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10142         List defaults.
10143
10144 2004-02-16  David Jee  <djee@redhat.com>
10145
10146         * java/awt/Component.java
10147         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10148         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10149         (move): Erase old bounds and repaint new bounds. Dispatch
10150         COMPONENT_MOVED ComponentEvent.
10151         (resize): Erase old bounds and repaint new bounds. Dispatch
10152         COMPONENT_RESIZED ComponentEvent.
10153         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10154         ComponentEvents.
10155         * java/awt/Window.java
10156         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10157         ComponentEvents.
10158
10159 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
10160
10161         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10162         (setRenderingHint): Added implementation of 
10163         Interpolation rendering hints.
10164         (setRenderingHints): Ditto.
10165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10166         (drawPixels): fixed to allow user to choose type 
10167         of filtering that should be used when displaying images.
10168         (cairoSurfaceSetFilter): New method. Sets filter type for 
10169         interpolation of pixel values.
10170
10171 2004-02-16  David Jee  <djee@redhat.com>
10172
10173         * java/awt/GridBagLayout.java
10174         (calcCellSizes): Rows or columns with zero sizes should still be
10175         considered for extra space distribution.
10176
10177 2004-02-16  Kim Ho  <kho@redhat.com>
10178
10179         * javax/swing/JLabel.java: Re-implement.
10180         * javax/swing/plaf/basic/BasicLabelUI.java
10181         Re-implement.
10182         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10183         Added constant.
10184
10185 2004-02-16  Kim Ho  <kho@redhat.com>
10186
10187         * javax/swing/JSlider.java: Fix indentation and comments.
10188         (setModel): Remove null check to conform with Sun's.
10189         (setOrientation): Throw exception if not
10190         HORIZONTAL or VERTICAL.
10191         (getInverted): Use private variable instead of 
10192         ComponentOrientation.
10193         (setInverted): ditto.
10194         * javax/swing/plaf/basic/BasicSliderUI.java:
10195         Fix indentation and comments.
10196         (propertyChange): Remove check for inverted slider, handle
10197         in main paint.
10198         (getMinimumSize): Return preferred size.
10199         (getMaximumSize): ditto.
10200         (calculateFocusRect): Don't relocate rectangle.
10201         (drawInverted): Return XOR of the slider's inversion and 
10202         the component's orientation.
10203         (paint): Update leftToRightCache
10204
10205 2004-02-13  David Jee  <djee@redhat.com>
10206
10207         * java/awt/GridBagLayout.java
10208         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10209         code to helper methods.
10210         (sortBySpan): New helper method.
10211         (distributeSizeAndWeight): Likewise.
10212         (calcCellWeights): Likewise.
10213         (calcCellSizes): Add comments.
10214
10215 2004-02-13  David Jee  <djee@redhat.com>
10216
10217         * java/awt/Component.java
10218         (show): Only do something if component is invisible at the moment.
10219         (hide): Only do something if component is visible at the moment.
10220         (reshape): If lightweight, erase old bounds and repaint new bounds.
10221
10222 2004-02-13  Kim Ho  <kho@redhat.com>
10223
10224         * Makefile.am: Updated for new file.
10225         * Makefile.in: Regenerated.
10226         * javax/swing/JSlider.java: Reimplement.
10227         * javax/swing/SwingUtilities.java
10228         (layoutCompoundLabel): Use icon height
10229         instead of width.
10230         (paintComponent): Implement.
10231         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10232         Add JSlider defaults.
10233         * javax/swing/plaf/basic/BasicSliderUI.java:
10234         Implement. New file.
10235
10236 2004-03-17  Michael Koch  <konqueror@gmx.de>
10237
10238         * gnu/java/net/PlainDatagramSocketImpl.java
10239         (RECEIVE_LOCK): New member field.
10240         (SEND_LOCK): New member field.
10241         (send0): New method.
10242         (send): Synchronize on SEND_LOCK.
10243         (receive0): New method.
10244         (receive): Synchronize on RECEIVE_LOCK.
10245         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10246         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10247         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10248         (send0): Renamed from send.
10249         (receive0): Renamed from receive.
10250 2004-03-17  Michael Koch  <konqueror@gmx.de>
10251
10252         * gnu/java/net/natPlainSocketImplPosix.cc
10253         (write): Just call write(jbyteArray, offset, len).
10254         (read): Just call read(jbyteArray, offset, len).
10255
10256 2004-03-16  Michael Koch  <konqueror@gmx.de>
10257
10258         * javax/swing/JTabbedPane.java
10259         (serialVersionUID): New field.
10260
10261 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10262
10263         * java/net/InetAddress.java
10264         (getByName): Handle hostname == "" case.
10265
10266 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10267
10268         Reported by: Adam Heath <doogie@debian.org>
10269         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10270         class loader.
10271
10272 2004-03-15  Michael Koch  <konqueror@gmx.de>
10273
10274         * java/util/Locale.java: Reverting my last patch
10275         and add a comment why the original version was okay.
10276
10277 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10278
10279         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10280         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10281         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10282         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10283
10284 2004-03-12  Michael Koch  <konqueror@gmx.de>
10285
10286         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10287
10288 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10289
10290         * java/net/URI.java (toURL): Implemented.
10291
10292 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10293
10294         * java/net/URI.java
10295         (URI_REGEXP) updated to contain scheme specific part.
10296         (SCHEME_SPEC_PART_GROUP) new constant.
10297         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10298         updated to make room for SCHEME_SPEC_PART_GROUP.
10299         (parseURI) parse scheme specific part.
10300         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10301         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10302         getQuery, getFragment) implemented.
10303
10304 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10305
10306         * libraries/javalib/java/net/URI.java
10307         partially implemented using java.util.regex.
10308         (URI_REGEXP) new constant. Used to parse URIs.
10309         (SCHEME_GROUP) new constant representing index of scheme group
10310         in parsed URI.
10311         (AUTHORITY_GROUP) new constant representing index of authority
10312         group in parsed URI.
10313         (PATH_GROUP) new constant representing index of path group in
10314         parsed URI.
10315         (QUERY_GROUP) new constant representing index of query group in
10316         parsed URI.
10317         (FRAGMENT_GROUP) new constant representing index of fragment
10318         group in parsed URI.
10319         (getURIGroup) new static utility method.
10320         (parseURI) implemented.
10321         (quote) stub for new static utility method.
10322         (quoteAuthority) stub for new static utility method.
10323         (quoteHost) stub for new static utility method.
10324         (quotePath) stub for new static utility method.
10325         (quoteUserInfo) stub for new static utility method.
10326         (URI) implemented.
10327         (create) don't throw URISyntaxException. Implemented.
10328         (toString) implemented.
10329
10330 2004-03-12  Michael Koch  <konqueror@gmx.de>
10331
10332         * java/net/HttpURLConnection.java
10333         (getResponseCode): Fix another typo in javadoc.
10334
10335 2004-03-11  Michael Koch  <konqueror@gmx.de>
10336
10337         * java/util/logging/Level.java
10338         (parse): Use String.equals() instead of ==.
10339
10340 2004-03-11  Michael Koch  <konqueror@gmx.de>
10341
10342         * gnu/java/net/protocol/jar/Connection.java
10343         (getContentLength): New method.
10344
10345 2004-03-11  Michael Koch  <konqueror@gmx.de>
10346
10347         * gnu/java/net/PlainSocketImpl.java:
10348         Reformated to merge better with classpath's version.
10349
10350 2004-03-11  Michael Koch  <konqueror@gmx.de>
10351
10352         * java/util/Locale.java
10353         (getISO3Language): Use String.equals() instead of ==.
10354         (getISO3Country): Likewise.
10355
10356 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10357
10358         * java/text/AttributedString.java
10359         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10360         Use HashMap instead of Hashtable since value can be null, and
10361         you can not store a null value in a Hashtable.
10362
10363 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10364
10365         * java/text/AttributedStringIterator.java
10366         (getAllAttributesKey): Return only keys concerned
10367         by the current iterator.
10368         (getAttributes): Use strict inequality for
10369         end_index. 
10370
10371 2004-03-11  Michael Koch  <konqueror@gmx.de>
10372
10373         * java/net/HttpURLConnection.java:
10374         Fixed typo in javadoc.
10375
10376 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10377
10378         * java/io/BufferedInputStream.java (marktarget): New field for max
10379         mark limit.
10380         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10381         (mark): Use new fields.
10382         (read): Likewise.
10383         (read(byte[],int,int)): Likewise.
10384         (skip): Likewise.
10385         (refill): Likewise.
10386
10387 2004-03-11  Mark Wielaard  <mark@klomp.org>
10388
10389         * java/beans/BeanDescriptor.java (BeanDescriptor):
10390         Set the FeatureDescriptor programmatic name.
10391
10392 2004-03-11  Michael Koch  <konqueror@gmx.de>
10393
10394         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10395         This file was was just copied form java/io/natFileDescriptorEcos.cc
10396         and never changed to compile correctly.
10397
10398 2004-03-11  Michael Koch  <konqueror@gmx.de>
10399
10400         * gnu/java/nio/PipeImpl.java
10401         (SourceChannelImpl): Made final.
10402         (read): Implemented.
10403         (SinkChannelImpl): Made final.
10404         (write): Implemented.
10405
10406 2004-03-11  Michael Koch  <konqueror@gmx.de>
10407
10408         * gnu/java/net/PlainDatagramSocketImpl.java:
10409         Reformated to match classpath's version more.
10410
10411 2004-03-11  Michael Koch  <konqueror@gmx.de>
10412
10413         * gnu/java/awt/peer/ClasspathFontPeer.java:
10414         Fixed javadoc to be correct xhtml.
10415         * gnu/java/awt/peer/gtk/GtkArgList.java
10416         (add): Use Boolean.valueOf() instead of new Boolean().
10417
10418 2004-03-09  Michael Koch  <konqueror@gmx.de>
10419
10420         * java/lang/Thread.java
10421         (runnable): Moved around.
10422         (daemon): Renamed from daemon_flag.
10423         (contextClassLoader): Renamed from context_class_loader.
10424         (Thread): Reordered constructors.
10425         (activeCount): Use group directly.
10426         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10427         (holdsLock): Reworked javadoc.
10428         (setDaemon): Reworked.
10429         * java/lang/natThread.cc
10430         (destroy): Removed.
10431
10432 2004-03-08  Anthony Green  <green@redhat.com>
10433
10434         * Makefile.am: Build property resource files into libgcj.
10435         * Makefile.in: Rebuilt.
10436         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10437         java/util/regex/PatternSyntaxException.java,
10438         gnu/regexp/CharIndexed.java,
10439         gnu/regexp/CharIndexedCharArray.java,
10440         gnu/regexp/CharIndexedInputStream.java,
10441         gnu/regexp/CharIndexedReader.java,
10442         gnu/regexp/CharIndexedString.java,
10443         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10444         gnu/regexp/REException.java,
10445         gnu/regexp/REFilterInputStream.java,
10446         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10447         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10448         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10449         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10450         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10451         gnu/regexp/RETokenLookAhead.java,
10452         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10453         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10454         gnu/regexp/RETokenStart.java,
10455         gnu/regexp/RETokenWordBoundary.java,
10456         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10457
10458 2004-03-03  Per Bothner  <per@bothner.com>
10459
10460         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10461         Optimize when argument is a FileChannelImpl.
10462         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10463         New native methods.
10464         * java/nio/channels/natChannels.cc:  New file for new native methods.
10465         * Makefile.am:  Update accordingly.
10466
10467 2004-03-02  Jan Hubicka  <jh@suse.cz>
10468
10469         * configure.host: Pass -fno-omit-frame-pointer for i386.
10470         * configure.in: Likewise.
10471         * configure: Regenerate.
10472
10473 2004-03-01  Per Bothner  <per@bothner.com>
10474
10475         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10476
10477 2004-02-29  Per Bothner  <per@bothner.com>
10478
10479         * java/nio/channels/FileChannelImpl.java:  Moved to package
10480         gnu/java/nio/channels, since we need to refer to it from java.io.
10481         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10482         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10483         from java/nio/channels.  Don't depend on FileDescriptor.
10484         (in, out, err):  New static fields.
10485         (mode):  New field.
10486         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10487         from FileDescriptor.
10488         (by):  Removed MappedByteBuffer field.
10489         (map):  New working implementation.
10490         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10491         some code "ported" from natFileDescriptoPosix.cc.
10492         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10493         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10494         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10495         Remove native methods.
10496         * Makefile.am, configure.in:  Updated accordingly.
10497
10498         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10499         (ch):  New FileChannelImpl field.  Update constructor to match.
10500         (releaseImpl):  Remove native method.  Instead ...
10501         (release):  Call unlock on channel.
10502         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10503
10504         * java/io/natFileDescriptorEcos.cc:  Remove file.
10505         * java/io/natFileDescriptorPosix.cc:  Remove file.
10506         * java/io/natFileDescriptorWin32.cc:  Remove file.
10507         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10508         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10509         (<init>(FileChannelImpl)):  New package-private constructor.
10510         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10511         (available, close, read, skip):  Implement using FileChannelImpl.
10512         (getFD):  Allocate FileDescriptor if needed.
10513         (getChannel):  Is now trivial.
10514         * java/io/FileOutputStream.java:  Corresponding changes.
10515         * java/io/RandomAccessFile.java:  Corresponding changes.
10516
10517         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10518         unmapImpl):  New dummy methods, to be overridden by subclass.
10519         (finalize, isLoaded, load, force):  New methods.
10520         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10521         Now works, at least for read mapping.
10522
10523         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10524         streams using FileChannelImpl, not FileDescriptor.
10525         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10526
10527 2004-02-28  Michael Koch  <konqueror@gmx.de>
10528
10529         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10530         wrong code.
10531
10532 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10533
10534         * java/io/ObjectInputStream.java
10535         (readClassDescriptor): Keep elements of the mapping non null.
10536         (checkTypeConsistency): New method.
10537         (readFields): Fixed main loop and base logic. Small reindentation.
10538         * java/io/ObjectStreamField.java
10539         (lookupField): New method to update the field reference.
10540         (checkFieldType): New method.
10541         * java/io/ObjectStreamClass.java
10542         (setClass, setFields): Call lookupField when building the field
10543         database. Check the real field type.
10544
10545 2004-02-28  Michael Koch  <konqueror@gmx.de>
10546
10547         * java/nio/ByteOrder.java
10548         (nativeOrder): Use equals() to compare strings.
10549
10550 2004-02-26  Michael Koch  <konqueror@gmx.de>
10551
10552         * gnu/java/nio/FileLockImpl.java
10553         (finalize): Made protected.
10554         * java/nio/channels/FileChannel.java
10555         (MapMode.READ_ONLY): Made final.
10556         (MapMode.READ_WRITE): Made final.
10557         (MapMode.PRIVATE): Made final.
10558         * java/nio/channels/SocketChannel.java
10559         (open): Simplified code.
10560         * java/nio/channels/spi/AbstractSelectableChannel.java
10561         (registered): Unused, removed.
10562         (keyFor): Check channel is open, only locate key
10563         and not add a new one.
10564         (register): Don't delete attachments.
10565
10566 2004-02-26  Michael Koch  <konqueror@gmx.de>
10567
10568         * gnu/java/awt/ComponentDataBlitOp.java
10569         (INSTANCE): Made final.
10570         * gnu/java/awt/image/ImageDecoder.java:
10571         Reworked imports.
10572         (cm): Unused, removed.
10573
10574 2004-02-26  Michael Koch  <konqueror@gmx.de>
10575
10576         * gnu/java/nio/DatagramChannelImpl.java
10577         (send): Check if target address is resolved.
10578
10579 2004-02-26  Michael Koch  <konqueror@gmx.de>
10580
10581         * Makefile.am: Generate and install headers for inner classes in
10582         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10583         * Makefile.in: Regenerated.
10584
10585 2004-02-24  Anthony Green  <green@redhat.com>
10586
10587         * java/lang/StringBuffer.java: No need to NULL out remainder of
10588         buffer since ensureCapacity_unsynchronized will have done this for
10589         us.
10590
10591 2004-02-20  Michael Koch  <konqueror@gmx.de>
10592
10593         * gnu/java/net/protocol/jar/Handler.java
10594         (): Removed unneeded check for file != null. java.net.URL.getFile()
10595         returns an empty string but never null.
10596
10597 2004-02-20  Michael Koch  <konqueror@gmx.de>
10598
10599         * gnu/gcj/convert/Convert.java
10600         (main): Use equals() to compare strings.
10601
10602 2004-02-20  Michael Koch  <konqueror@gmx.de>
10603
10604         * javax/swing/AbstractButton.java: Made several constants final.
10605         (getRolloverSelectedIcon): Made public.
10606         (getSelectedIcon): Made public.
10607
10608 2004-02-16  Per Bothner  <per@bothner.com>
10609
10610         * java/nio/CharBufferImpl.java:  Inline super constructor.
10611         * java/nio/DoubleBufferImpl.java:  Likewise.
10612         * java/nio/FloatBufferImpl.java:  Likewise.
10613         * java/nio/IntBufferImpl.java:  Likewise.
10614         * java/nio/LongBufferImpl.java:  Likewise.
10615         * java/nio/ShortBufferImpl.java:  Likewise.
10616         * java/nio/CharBuffer.java:  Remove unused constructor.
10617         * java/nio/DoubleBuffer.java:  Likewise.
10618         * java/nio/FloatBuffer.java:  Likewise.
10619         * java/nio/IntBuffer.java:  Likewise.
10620         * java/nio/LongBuffer.java:  Likewise.
10621         * java/nio/ShortBuffer.java:  Likewise.
10622         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10623         Fix buggy call to super constructor.
10624         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10625         * java/nio/FloatViewBufferImpl.java:  Likewise.
10626         * java/nio/IntViewBufferImpl.java:  Likewise.
10627         * java/nio/LongViewBufferImpl.java:  Likewise.
10628         * java/nio/ShortViewBufferImpl.java:  Likewise.
10629         
10630         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10631         java.nio classes can inherit it.
10632         (<init>):  Don't bother clearing array_offset.
10633         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10634         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10635         Remove redundant test.
10636
10637         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10638         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10639         Use new XxxViewBufferImpl constructors.
10640         * java/nio/MappedByteBufferImpl.java:  Likewise.
10641         * java/nio/DirectByteBufferImpl.java:  Likewise.
10642
10643         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10644         Inline super in remaining constructor.
10645         * java/nio/ByteBuffer.java:  Remove unused constructor.
10646
10647         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10648
10649         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10650         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10651         (offset):  Remove unused field.
10652         (<init>):  Modify one and add another constructor.  Change callers.
10653         (allocateDirect):  Removed - not used.
10654         (getImpl, putImpl):  Make static and pass address explicitly,
10655         to make them useful for MappedByteBufferImpl.
10656         (get, put):  Check for underflow.  Modify for new getImpl.
10657         (getImpl):  New native method where target is array.
10658         (get(byte[],int,int)):  Use the above.
10659         (adjustAddress):  New static native method.
10660         (slice, duplicate, asReadOnly):  New implementations.
10661         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10662         adjustAddress):  New or updated native methods.
10663
10664 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10665
10666         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10667         overflow of fieldmapping.
10668
10669 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10670
10671         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10672
10673 2004-02-14  Per Bothner  <per@bothner.com>
10674
10675         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10676         Set closed before calling implCloseChannel, as in the spec.
10677
10678 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10679
10680         * javax/swing/ToggleButtonModel.java: Remove dead class.
10681         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10682         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10683         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10684         * Makefile.am: Update for new and removed files.
10685         * Makefile.in: Regenerate.
10686
10687         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10688         * javax/swing/AbstractButton.java 
10689         (AbstractButton): Initialize fields correctly in ctor.
10690         * javax/swing/JCheckbox.java 
10691         (JCheckBox): Override painting flags.
10692         * javax/swing/DefaultButtonModel.java: Conform to sun.
10693         * javax/swing/JComponent.java (paint): Fill with background color
10694         if available.
10695         (processComponentKeyEvent)
10696         (processFocusEvent)
10697         (processKeyEvent)
10698         (processMouseMotionEvent): Remove event-consuming empty methods.
10699         (getUIClassID): Return "ComponentUI" not "JComponent"
10700         * javax/swing/JFrame.java: Remove some debugging chatter.
10701         (JFrame): Subscribe to window events.
10702         * javax/swing/JRadioButton.java 
10703         (JRadioButton): Override painting flags.
10704         * javax/swing/JRootPane.java 
10705         (JRootPane): Set background from UIDefaults.
10706         * javax/swing/JToggleButton.java 
10707         (ToggleButtonModel): New inner class.
10708         (JToggleButton): Override layout alighment.
10709         * javax/swing/SwingUtilities.java:
10710         (getLocalBounds): Return width and height, not x and y.
10711         (calculateInnerArea): Use local bounds, not bounds.
10712         (layoutCompoundLabel): Provide overridden form.
10713         (layoutCompoundLabel): Correct bugs.
10714         * javax/swing/UIDefaults.java: Correct comment.
10715         * javax/swing/plaf/basic/BasicButtonUI.java: 
10716         Move most logic into defaults, external listener.
10717         (paintIcon): Implement icon painting.
10718         (paint): Fix state painting to conform to changes in model.
10719         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10720         Remove most dead/wrong methods.
10721         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10722         * javax/swing/plaf/basic/BasicIconFactory.java:
10723         (DummyIcon): New class.
10724         (getMenuItemCheckIcon)
10725         (getMenuItemArrowIcon) 
10726         (getMenuArrowIcon)
10727         (getCheckBoxMenuItemIcon)
10728         (getRadioButtonMenuItemIcon)
10729         (createEmptyFrameIcon): Return DummyIcons, not null.
10730         (getCheckBoxIcon): Implement an icon that looks like sun's.
10731         (getRadioButtonIcon): Implement an icon that looks like sun's.
10732         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10733         (initComponentDefaults): Fix impossible values, add some missing.
10734         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10735         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10736         Remove most dead/wrong methods.
10737         (icon): New field.
10738         (getDefaultIcon): New method.
10739         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10740         Remove most dead/wrong methods.
10741         * javax/swing/plaf/metal/MetalLookAndFeel.java
10742         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10744         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10745         Implement "clearing" as drawing, when on pixmap drawables.
10746
10747         * javax/swing/JButton.java (getUIClassID): 
10748         * javax/swing/JCheckBox.java (getUIClassID):
10749         * javax/swing/JEditorPane.java (getUIClassID):
10750         * javax/swing/JLabel.java (getUIClassID): 
10751         * javax/swing/JList.java (getUIClassID): 
10752         * javax/swing/JOptionPane.java (getUIClassID): 
10753         * javax/swing/JPanel.java (getUIClassID): 
10754         * javax/swing/JPasswordField.java (uiClassID): 
10755         * javax/swing/JRadioButton.java (getUIClassID): 
10756         * javax/swing/JRootPane.java (getUIClassID): 
10757         * javax/swing/JScrollPane.java (getUIClassID): 
10758         * javax/swing/JTabbedPane.java (getUIClassID): 
10759         * javax/swing/JToggleButton.java (getUIClassID): 
10760         * javax/swing/JTree.java (getUIClassID): 
10761         * javax/swing/JViewport.java (getUIClassID): 
10762         * javax/swing/text/JTextComponent.java (getUIClassID):
10763         Return "fooUI" not "Jfoo"
10764
10765 2004-02-11  Michael Koch  <konqueror@gmx.de>
10766
10767         * java/net/DatagramSocket.java
10768         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10769         Boolean object.
10770         (setBroadcast): Likewise.
10771         * java/net/MulticastSocket.java
10772         (setLoopbackMode): Likewise.
10773         * java/net/ServerSocket.java
10774         (setReuseAddress): Likewise.
10775         * java/net/Socket.java
10776         (setTcpNoDelay): Likewise.
10777         (setSoLinger): Likewise.
10778         (setOOBInline): Likewise.
10779         (setKeepAlive): Likewise.
10780         (setReuseAddress): Likewise.
10781         * java/net/URLConnection.java
10782         (setContentHandler): Replace == with equals().
10783         * java/net/URLStreamHandler.java
10784         (hostSEquals): Fix checking host addresses.
10785         (toExternalForm): Dont check protocol for null. We know already its
10786         not null.
10787
10788 2004-02-10  David Jee  <djee@redhat.com>
10789
10790         * java/awt/BorderLayout.java
10791         (calcCompSize): Invisible components get zero dimensions.
10792         * java/awt/Button.java
10793         (setLabel): Set actionCommand.
10794         * java/awt/Component.java
10795         (show): Invalidate component and parent container.
10796         (hide): Likewise.
10797
10798 2004-02-10  David Jee  <djee@redhat.com>
10799
10800         * java/awt/GridBagLayout.java
10801         (GridBagLayout): New private field, internalcomptable.
10802         (lookupInternalConstraints): New method.
10803         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10804         (GetLayoutInfo): Reimplement.
10805         (calcCellSizes): Ignore rows/columns with size 0.
10806
10807 2004-02-10  Michael Koch  <konqueror@gmx.de>
10808
10809         * gnu/java/awt/EmbeddedWindow.java
10810         (setHandle): Use java.awt.Component.getPeer() instead of
10811         java.awt.Component.peer directly.
10812
10813 2004-02-10  David Jee  <djee@redhat.com>
10814
10815         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10816         (gtkSetLabel): New native method definition.
10817         (setLabel): Use gtkSetLabel.
10818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10819         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10820
10821 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10822
10823         * include/powerpc-signal.h: Revert 2004-01-21 change.
10824         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10825         from syscall for ppc32 versions.
10826
10827 2004-02-08  Per Bothner  <per@bothner.com>
10828
10829         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10830         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10831         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10832         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10833         Pass ByteOrder parameter to most methods, since the underlying
10834         ByteBuffer's order isn't always what we should use.
10835         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10836         * java/nio/DirectByteBufferImpl.java:  Likewise.
10837         Use ByteBufferHelper methods.
10838         * java/nio/MappedByteBufferImpl.java:  Likewise.
10839         (compact):  Use shiftDown.
10840         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10841         (get, put):  Use ByteBufferHelper.
10842         (compact):  Use new shiftDown method.
10843         (duplicate(boolean)):  New helper method.
10844         (duplicate, asReadOnlyBuffer):  Use it.
10845         (order):  Return endian field.
10846         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10847         * java/nio/FloatViewBufferImpl.java:  Likewise.
10848         * java/nio/IntViewBufferImpl.java:  Likewise.
10849         * java/nio/LongViewBufferImpl.java:  Likewise.
10850         * java/nio/ShortViewBufferImpl.java:  Likewise.
10851         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10852         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10853         (compact):  Re-implement using shiftDown.
10854
10855 2004-02-08  Andreas Jaeger  <aj@suse.de>
10856
10857         * include/x86_64-signal.h: Fix typo.
10858
10859 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10860
10861         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10862         qualifier to _regs.
10863         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10864
10865 2004-02-06  Michael Koch  <konqueror@gmx.de>
10866
10867         * java/io/ObjectInputStream.java
10868         (currentClassLoader): Reverted to old version of this method.
10869
10870 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10871
10872         * java/io/ObjectInputStream.java: Made all calls
10873         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10874         use cached info from ObjectStreamClass. (readClassDescriptor):
10875         Cache more information in ObjectStreamClass. (processResolution,
10876         readFields): Use cached info from ObjectStreamClass.
10877         (newObject): Throw exception instead of returning null for failure.
10878         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10879         setCharField, setDoubleField, setFloatField, setIntField,
10880         setLongField, setShortField, setObjectField, readObjectParams):
10881         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10882         check.
10883         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10884         (setClass): Added call to cacheMethods() (findMethod): New method.
10885         (cacheMethods): New method. (ObjectStreamClass): Added call to
10886         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10887         AccessController.doPrivileged to invoke setAccessible.
10888         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10889         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10890         New fields.
10891         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10892         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10893         isPrimitive): Made safe for cases where type == null.
10894         (setBooleanField, setByteField, setCharField, setShortField,
10895         setIntField, setLongField, setFloatField, setDoubleField,
10896         setObjectField): New methods.
10897
10898 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10899
10900         * java/awt/Component.java (getFont): Return a default font
10901         instead of null.
10902
10903         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10904         (Scrollbar (int, int, int, int, int)): Make default page
10905         increment 10.
10906         (setValues): Only call peer.setValues if one of the values has
10907         changed.
10908         (generateName): New method.
10909         (getUniqueLong): New method.
10910         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10911         (range_scrollbar): Remove structure.
10912         (post_adjustment_event): Remove function.
10913         (post_change_event): Accept jobject argument.
10914         (create): Cast jints to gdoubles.  Round scrollbar values to the
10915         nearest integer.  Clamp min, max and value settings.
10916         (connectJObject): Connect hook to widget->window.
10917         (connectSignals): Remove range_scrollbar structure variables.
10918         Remove "move-slider" connection.  Pass global peer reference to
10919         "value-changed" callback.
10920         (setLineIncrement): Cast jint value to gdouble.
10921         (setPageIncrement): Likewise.
10922         (setValues): Likewise.  Clamp min, max and value settings.
10923
10924 2004-02-05  Michael Koch  <konqueror@gmx.de>
10925
10926         * javax/swing/AbstractCellEditor.java
10927         (getCellEditorValue): Removed.
10928         * javax/swing/Box.java: Reformated.
10929         (serialVersionUID): New field.
10930         * javax/swing/ButtonGroup.java:
10931         Removed some weird whitespace.
10932         * javax/swing/CellEditor.java: Reformated.
10933         * javax/swing/CellRendererPane.java
10934         (serialVersionUID): New field.
10935         (AccessibleCellRendererPaneserialVersionUID): New field.
10936         * javax/swing/DefaultListModel.java
10937         (serialVersionUID): New field.
10938         * javax/swing/JEditorPane.java
10939         (serialVersionUID): New field.
10940         (setPage): Throws IOException.
10941         (addHyperlinkListener): Implemented.
10942         (removeHyperlinkListener): Implemented.
10943         (getHyperlinkListener): New method.
10944         * javax/swing/JFileChooser.java
10945         (serialVersionUID): New field.
10946         (AccessibleJFileChooser.serialVersionUID): New field.
10947         (addActionListener): Implemented.
10948         (removeActionListener): Implemented.
10949         (getActionListeners): New method.
10950         * javax/swing/JFormattedTextField.java
10951         (serialVersionUID): New field.
10952         (AbstractFormatter.serialVersionUID): New field.
10953         (clone): Throws CloneNotSupportedException
10954         (setEditValid): Add missing argument.
10955         (stringToValue): Throws ParseExcpetion.
10956         (valueToString): Throws ParseException.
10957         (commitEdit): Throws ParseException.
10958         * javax/swing/JLabel.java
10959         (serialVersionUID): New field.
10960         * javax/swing/JList.java
10961         (serialVersionUID): New field.
10962         (addListSelectionListener): Reformated.
10963         (removeListSelectionListener): Reformated.
10964         (getListSelectionListeners): New method.
10965         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10966         Reformated.
10967         (serialVersionUID): New field.
10968         * javax/swing/table/AbstractTableModel.java
10969         (getValueAt): Removed.
10970         (getColumnCount): Removed.
10971         (getRowCount): Removed.
10972
10973 2004-02-05  Michael Koch  <konqueror@gmx.de>
10974
10975         * java/awt/datatransfer/DataFlavor.java
10976         (imageFlavor): Javadoc added.
10977         (javaJVMLocalObjectType): Fixed.
10978
10979 2004-02-05  Michael Koch  <konqueror@gmx.de>
10980
10981         * java/lang/Thread.java
10982         (Thread): Reordered.
10983         (setContextClassLoader): Fixed javadoc comment.
10984         (setPriority): Reordered.
10985         (yield): Reordered.
10986         (initialize_native): Reordered.
10987         (gen_name): Reordered.
10988
10989 2004-02-05  Michael Koch  <konqueror@gmx.de>
10990
10991         * java/lang/Thread.java: Reordered fields, reformated much code,
10992         no functional changes, some variables renamed, javadoc comments
10993         merged.
10994
10995 2004-02-05  Michael Koch  <konqueror@gmx.de>
10996
10997         * java/util/zip/Deflater.java,
10998         java/util/zip/DeflaterOutputStream.java,
10999         java/util/zip/GZIPInputStream.java:
11000         Reformated and javadoc comments merged from classpath.
11001
11002 2004-02-05  Michael Koch  <konqueror@gmx.de>
11003
11004         * gnu/java/nio/NIOServerSocket.java
11005         (impl): Unused, removed.
11006         * gnu/java/nio/SocketChannelImpl.java
11007         (finnishConnect): Don't throw NoConnectionPendingException if not
11008         connected or no connection pending.
11009
11010 2004-02-02  Graydon Hoare  <graydon@redhat.com>
11011
11012         * javax/swing/SwingUtilities.java: Many new functions.
11013         * java/awt/Container.java (LightweightDispatcher): Reimplement.
11014         * javax/swing/basic/BasicGraphicsUtils.java 
11015         (getPreferredButtonSize): Start layout from top-left corner.
11016
11017 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
11018
11019         * java/awt/geom/AffineTransform.java: 
11020         Corrected comments on the field definitions for
11021         m11 and m10.
11022         (shear): Fixed few errors that caused shear
11023         transformation to be performed incorrectly.
11024         (createInverse): Fixed to return correct
11025         inverse of the given matrix.
11026
11027 2004-02-03  Tom Tromey  <tromey@redhat.com>
11028
11029         * java/lang/natPosixProcess.cc (startProcess): Handle case where
11030         PATH or LD_LIBRARY_PATH is not set in parent environment.
11031
11032 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
11033
11034         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11035         java/awt/BorderLayout.java, java/awt/CardLayout.java,
11036         java/awt/CheckboxGroup.java, java/awt/Choice.java,
11037         java/awt/Component.java, java/awt/Container.java,
11038         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11039         java/awt/LayoutManager2.java, java/awt/List.java,
11040         java/awt/Menu.java, java/awt/MenuBar.java,
11041         java/awt/MenuItem.java, java/awt/Polygon.java,
11042         java/awt/Rectangle.java, java/awt/ScrollPane.java,
11043         java/awt/Scrollbar.java, java/awt/TextArea.java,
11044         java/awt/TextField.java,
11045         java/awt/image/renderable/RenderContext.java,
11046         javax/swing/JApplet.java: Fix handling of alias methods, where a
11047         method has been deprecated in favour of a new one with the same
11048         funtion but a different name.  Put the method implementation in
11049         the deprecated method and have the new method call the
11050         deprecated one.  Make all other code call the new method.
11051
11052 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
11053
11054         * gnu/java/nio/DatagramChannelImpl.java
11055         (inChannelOperation): New field.
11056         (isInChannelOperation): New accessor.
11057         (setInChannelOperation): New modifier.
11058         (receive): Use capacity() - position() of destination
11059         buffer instead of remaining(). Set and reset our "in
11060         channel operation indicator" before and after delegating
11061         the receive to our datagram socket. Removed testing code.
11062         Update destination buffer's current position if it is
11063         backed by a byte array (hasArray() is true).
11064         (send): Set and reset our "in channel operation indicator"
11065         before and after delegating the send to our datagram socket.
11066         Removed testing code. Update source buffer's current position
11067         if it is backed by a byte array (hasArray() is true).
11068         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11069         Use capacity() - position() of destination buffer instead
11070         of remaining().
11071         * java/net/DatagramSocket.java (receive): Don't throw an
11072         IllegalBlockingModeException if we have a non-blocking
11073         channel which initiated this operation.
11074         (send): Likewise.
11075
11076 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
11077
11078         * configure.in: Add pkgconfig check for glib and gthread.
11079         * configure: Regenerate.
11080
11081 2004-02-01  Michael Koch  <konqueror@gmx.de>
11082
11083         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11084         arguments.
11085         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11086         * verify.cc (debug_print): Mark 'fmt' unused.
11087
11088 2004-01-30  Michael Koch  <konqueror@gmx.de>
11089
11090         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11091         * configure: Regenerated.
11092         * glib-2.0.m4: Removed.
11093         * gtk-2.0.m4: Removed.
11094         * libart.m4: Removed.
11095         * pkg.m4: New file.
11096
11097 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
11098
11099         * gnu/java/net/PlainSocketImpl.java 
11100         (inChannelOperation): New field.
11101         (isInChannelOperation): New accessor.
11102         (setInChannelOperation): New modifier.
11103         * gnu/java/nio/ServerSocketChannelImpl.java
11104         (accept): Set and reset our server socket's PlainSocketImpl's
11105         "in channel operation" indicator before and after delegating
11106         the accept to our server socket.
11107         * gnu/java/nio/SocketChannelImpl.java
11108         (connect): Set and reset our socket's PlainSocketImpl's "in channel
11109         operation" indicator before and after delegating the operation to
11110         our socket.
11111         (read): Likewise.
11112         (write): Likewise.
11113         * java/net/ServerSocket.java (implAccept): Don't throw an
11114         IllegalBlockingModeException if we have a non-blocking
11115         channel which initiated this accept operation.
11116         * java/net/Socket.java (connect): Don't throw an
11117         IllegalBlockingModeException if we have a non-blocking
11118         channel which initiated this connect operation.
11119         * java/nio/channels/spi/AbstractSelectableChannel.java
11120         (configureBlocking): Only call implConfigureBlocking() if
11121         the desired blocking mode is different from our current one.
11122
11123 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
11124
11125         * java/io/BufferedReader.java (sbuf): New field.
11126         (readLine): Use String.valueOf instead of new String() as per
11127         Per Bothner's suggestion. Use instance sbuf field instead of a
11128         local StringBuffer instance.
11129         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
11130         caller's buffer to refill().
11131         (read(void)): Pass our internal work buffer to refill if our
11132         input queue is empty.
11133         (refill): Changed return type to int. Use the specified buffer
11134         instead of our work buffer as per Bryce McKinlay's suggestion.
11135         Return the number of characters read or -1 for EOF.
11136
11137 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11138
11139         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11140
11141 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11142
11143         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11144         * Makefile.in: Re-generated.
11145         * gnu/awt/xlib/XFontPeer.java: New file.
11146         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11147         (setClip): Commented out debug printout.
11148         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11149         (getFontPeer): Return XFontPeer.
11150         (getLocalGraphicsEnvironment): New method.
11151         (getClasspathFontPeer): New method.
11152         (createFont): New method.
11153
11154 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11155
11156         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11157         return null. 
11158
11159 2004-01-29  Kim Ho  <kho@redhat.com>
11160
11161         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11162         (gtkLayoutSetVisible): New method
11163         (setMenuBar): Hide layout before setting MenuBar
11164         and reshow it after.
11165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11166         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11167
11168 2004-01-28  Michael Koch  <konqueror@gmx.de>
11169
11170         * gnu/java/lang/ClassHelper.java
11171         (getPackagePortion): Removed.
11172
11173 2004-01-28  Michael Koch  <konqueror@gmx.de>
11174
11175         * javax/swing/JComponent.java
11176         (listenerList): Initalize globally.
11177         (ancestor_list): Removed.
11178         (veto_list): Removed.
11179         (change_list): Removed.
11180         (get_veto_list): Removed.
11181         (get_change_list): Removed.
11182         (get_ancestor_list): Removed.
11183         (removeAncestorListener): Reimplemented.
11184         (removePropertyChangeListener): Likewise.
11185         (removeVetoableChangeListener): Likewise.
11186         (addAncestorListener): Likewise.
11187         (addPropertyChangeListener): Likewise.
11188         (addVetoableChangeListener): Likewise.
11189         (getListeners): New method.
11190         (getAncestorListeners): Likewise.
11191         (getVetoableChangeListeners): Likewise.
11192         (fireVetoableChange): Throws PropertyVetoException.
11193         * javax/swing/JEditorPane.java
11194         (JEditorPane): Throws IOException.
11195
11196 2004-01-28  David Jee  <djee@redhat.com>
11197
11198         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11199         (create): Set the default foreground color to
11200         java.awt.SystemColor.windowText.
11201
11202 2004-01-27  Michael Koch  <konqueror@gmx.de>
11203
11204         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11205         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11206         Reindented to merge with classpath.
11207
11208 2004-01-27  David Jee  <djee@redhat.com>
11209
11210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11211         (addExposeFilter): Handle GtkFramePeer separately.
11212         (removeExposeFilter): Likewise.
11213
11214 2004-01-27  Michael Koch  <konqueror@gmx.de>
11215
11216         * gnu/java/net/protocol/http/Connection.java
11217         (getOutputStream): Fixed typo.
11218
11219 2004-01-27  Michael Koch  <konqueror@gmx.de>
11220
11221         * java/lang/Class.java
11222         (getConstructor): Removed SecurityException from throws clause.
11223         (_getConstructors): Likewise.
11224         (getConstructors): Likewise.
11225         (getDeclaredConstructor): Likewise.
11226         (getDeclaredClasses): Likewise.
11227         (getDeclaredConstructors): Likewise.
11228         (getDeclaredField): Likewise.
11229         (getDeclaredMethod): Likewise.
11230         (getDeclaredMethods): Likewise.
11231         (getField): Likewise.
11232         (getMethod): Likewise.
11233         (getMethods): Likewise.
11234
11235 2004-01-27  Kim Ho  <kho@redhat.com>
11236
11237         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11238         (removeMenuBarPeer): Remove MenuBarPeer argument.
11239         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11240         (dispose): Call native method.
11241         * java/awt/Frame.java (setMenuBar): Create and remove
11242         MenuBar peers only if the Frame has a peer.
11243         (addNotify): Create the MenuBar peer if one exists.
11244         (removeNotify): Remove MenuBar peer if one exists.
11245         * java/awt/Menu.java: Fix imports.
11246         (addNotify): Don't use full class name.
11247         (removeNotify): Call removeNotify on all children.
11248         * java/awt/MenuBar.java (removeNotify): Call
11249         removeNotify on all children.
11250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11251         (removeMenuBarPeer): Remove MenuBarPeer argument.
11252         Iterate through children to find the Frame's MenuBar.
11253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11254         New file.
11255         (dispose): Remove references to the MenuComponent.
11256
11257 2004-01-27  Michael Koch  <konqueror@gmx.de>
11258
11259         * javax/swing/AbstractCellEditor.java: Reformated.
11260         * javax/swing/DefaultListSelectionModel.java
11261         (listenerList): Made protected.
11262         (addListSelectionListener): Javadoc added.
11263         (removeListSelectionListener): Likewise.
11264         (getListeners): Likewise.
11265         (getListSelectionListeners): Likewise.
11266         * javax/swing/JComboBox.java: Merged copyright year.
11267         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11268
11269 2004-01-26  Andrew Haley  <aph@redhat.com>
11270
11271         * javax/swing/table/JTableHeader.java: Extend JComponent
11272
11273 2004-01-26  Kim Ho  <kho@redhat.com>
11274
11275         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11276         Fix spacing.
11277
11278 2004-01-26  Kim Ho  <kho@redhat.com>
11279
11280         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11281         method.
11282         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11283         height and let the Layout Managers readjust anything that
11284         needs to move.
11285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11286         (moveLayout): New method. Shift everything in the Gtk
11287         layout in the Y direction by an offset.
11288
11289 2004-01-26  David Jee  <djee@redhat.com>
11290
11291         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11292         (handleEvent): Implemented. Handles PaintEvents.
11293         (paint): Implemented. Use GTK native methods to queue updates
11294         for this heavyweight peer.
11295         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11296         (handleEvent): Removed.
11297         * java/awt/Component.java
11298         (paint): Implemented. Explictly paint the heavyweight peer.
11299         (update): Clear the background for heavyweight components.
11300         (paintAll): No need to call peer.paint() anymore.
11301         (processEvent): Don't process PaintEvents here. It's now done in
11302         the peer's handleEvent().
11303         (processPaintEvent): Removed.
11304         * java/awt/Container.java
11305         (paint): No need to call super.paint(). Visit heavyweight
11306         children as well.
11307         (update): Don't clear the background here.  It's done in
11308         Component.update().
11309         (visitChildren): Added check to not recurse into Containers.
11310         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11311         (filter_expose_event_handler): New method.  Filter unwanted
11312         expose events while painting heavyweight peers.
11313         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11314         New method. Connect filter and block pre_event_handler.
11315         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11316         New method. Disconnect filter and unblock pre_event_handler.
11317         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11318         New method. Invalidate and update given area.
11319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11320         (pre_event_handler): Add checks for unwanted expose events.
11321
11322 2004-01-26  David Jee  <djee@redhat.com>
11323
11324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11325         (find_bg_color_widget): For GtkButton, return its child.
11326
11327 2004-01-26  Kim Ho  <kho@redhat.com>
11328
11329         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11330         private.
11331         (setMenuBar): Grab MenuBar height and change insets.
11332         (setBounds): Account for MenuBar height.
11333         (postInsetsChangedEvent): Ditto.
11334         (postSizeAllocateEvent): Remove.
11335         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11336         (menubar_resize_cb): Remove
11337         (setMenuBarPeer): Remove callback.
11338         (getMenuBarHeight): Use size requisition instead of
11339         allocation.
11340
11341 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11342
11343         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11344         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11345         when peer is null.
11346         (setColumns): Remove FIXME -- peer will retrieve number of
11347         columns by calling getColumns.
11348         (setRows): Likewise for number of rows.
11349         (next_text_number): New field.
11350         (paramString): Fix param string.
11351         (generateName): New method.
11352         (getUniqueLong): New method.
11353
11354 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11355
11356         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11357         image observer of image loading status.
11358         (getImage (String)): Start image production.
11359         (getImage (URL)): Likewise.
11360
11361 2004-01-25  Michael Koch  <konqueror@gmx.de>
11362
11363         * java/lang/Class.java: Imports reworked, reformated.
11364         (Class): Javadoc added.
11365         (forName): Likewise.
11366         (getClasses): Likewise.
11367         (getClassLoader): Likewise.
11368         (getComponentType): Likewise.
11369         (getConstructor): Likewise.
11370         (getConstructors): Likewise.
11371         (getDeclaredConstructor): Likewise.
11372         (getDeclaredClasses): Likewise.
11373         (getDeclaredConstructors): Likewise.
11374         (getDeclaredField): Likewise.
11375         (getDeclaredMethod): Likewise.
11376         (getDeclaredMethods): Likewise.
11377         (getDeclaringClass): Likewise.
11378         (getField): Likewise.
11379         (getInterfaces): Likewise.
11380         (getMethod): Likewise.
11381         (getMethods): Likewise.
11382         (getModifiers): Likewise.
11383         (getName): Likewise.
11384         (getResource): Likewise.
11385         (getResourceAsStream): Likewise.
11386         (getSigners): Likewise.
11387         (setSigners): Likewise.
11388         (getSuperclass): Likewise.
11389         (isArray): Likewise.
11390         (isAssignableFrom): Likewise.
11391         (isInstance): Likewise.
11392         (isInterface): Likewise.
11393         (isPrimitive): Likewise.
11394         (newInstance): Likewise.
11395         (getProtectionDomain): Likewise.
11396         (toString): Likewise.
11397         (Class): Moved.
11398         (initializeClass): Likewise.
11399         (finalize): Likewise.
11400
11401 2004-01-24  Michael Koch  <konqueror@gmx.de>
11402
11403         * gnu/java/net/protocol/jar/Connection.java
11404         (hdrHash): Removed.
11405         (hdrVec): Removed.
11406         (gotHeaders): Removed.
11407         (getHeaderField): Removed.
11408         (getHeaderFields): Removed.
11409         (getHeaderFieldKey): Removed.
11410         (getKey): Removed.
11411         (getField): Removed.
11412         (getHeaders): Removed.
11413
11414 2004-01-24  Michael Koch  <konqueror@gmx.de>
11415
11416         * Makefile.am: Added library version to gtk peer lib.
11417         * Makefile.in: Regenerated.
11418
11419 2004-01-24  Michael Koch  <konqueror@gmx.de>
11420
11421         * java/util/zip/InflaterInputStream.java: Merged class documentation
11422         with classpath.
11423
11424 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11425
11426         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11427         header.  For __powerpc64__ provide the default-signal.h definitions
11428         for now.
11429         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11430         instead of the dummy definitions.
11431         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11432         (powerpc64*-*): Remove with_libffi_default.
11433         Only add -mminimal-toc for 64-bit compilations.
11434         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11435         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11436         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11437         * configure: Rebuilt.
11438
11439 2004-01-23  Michael Koch  <konqueror@gmx.de>
11440
11441         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11442
11443 2004-01-23  Michael Koch  <konqueror@gmx.de>
11444
11445         * java/lang/VMClassLoader.java: Reworked imports.
11446         
11447 2004-01-23  Michael Koch  <konqueror@gmx.de>
11448
11449         * javax/swing/AbstractAction.java: Reformated.
11450
11451 2004-01-23  Michael Koch  <konqueror@gmx.de>
11452
11453         * java/text/CollationElementIterator.java:
11454         (setText): New method.
11455
11456 2004-01-23  Michael Koch  <konqueror@gmx.de>
11457
11458         * gnu/java/nio/FileLockImpl.java:
11459         Fixed filename in copyright.
11460         (released): Removed.
11461         (finalize): New method.
11462         * gnu/java/nio/natFileLockImpl.cc
11463         (releaseImpl): Implemented.
11464         * java/nio/channels/FileChannelImpl.java:
11465         Reworked imports.
11466         (lock): Implemented.
11467         (lockImpl): New method.
11468         (tryLock): Implemented.
11469         (tryLockImpl): New method.
11470         * java/nio/channels/natFileChannelImpl.cc
11471         (lockImpl): New method.
11472         (tryLockImpl): New method.
11473
11474 2004-01-23  Michael Koch  <konqueror@gmx.de>
11475
11476         * java/io/FileDescriptor.java
11477         (lock): New method.
11478         (tryLock): New method.
11479         (unlock): New method.
11480         * java/io/natFileDescriptorEcos.cc
11481         (lock): New method.
11482         (tryLock): New method.
11483         (unlock): New method.
11484         * java/io/natFileDescriptorPosix.cc
11485         (lock): New method.
11486         (tryLock): New method.
11487         (unlock): New method.
11488         * java/io/natFileDescriptorWin32.cc
11489         (lock): New method.
11490         (tryLock): New method.
11491         (unlock): New method.
11492
11493 2004-01-23  Michael Koch  <konqueror@gmx.de>
11494
11495         * java/io/FileDescriptor.java
11496         (sync): Moved around, added javadoc.
11497         (valid): Likewise.
11498         (open): Likewise.
11499         (write): Likewise.
11500         (close): Likewise.
11501         (setLength): Likewise.
11502         (seek): Likewise.
11503         (getLength): Likewise.
11504         (getFilePointer): Likewise.
11505         (read): Likewise.
11506         (available): Likewise.
11507         (finalize): Likewise.
11508
11509 2004-01-23  Michael Koch  <konqueror@gmx.de>
11510
11511         * javax/swing/AbstractAction.java: Reformated.
11512         (getPropertyChangeListeners): New method.
11513         * javax/swing/AbstractCellEditor.java: Reformated.
11514         (getCellEditorListeners): New method.
11515         * javax/swing/DefaultListSelectionModel.java
11516         (listenerList): New field.
11517         (listeners): Removed.
11518         (get_listeners): Removed.
11519         (addListSelectionListener): Rewritten.
11520         (removeListSelectionListener): Rewritten.
11521         (getListSelectionListeners): New method.
11522         (getListeners): New method.
11523         * javax/swing/JComboBox.java: Imports reworked.
11524         (addActionListener): Implemented.
11525         (removeActionListener): Implemented.
11526         (addItemListener): Implemented.
11527         (removeItemListener): Implemented.
11528         (addPopupMenuListener): Implemented.
11529         (removePopupMenuListener): Implemented.
11530         (getActionListeners): New method.
11531         (getItemListeners): New method.
11532         (getPopupMenuListeners): New method.
11533
11534 2004-01-23  Michael Koch  <konqueror@gmx.de>
11535
11536         * gnu/java/net/protocol/http/Connection.java
11537         (connect): Don't initialize bufferedOutputStream if not needed.
11538         (sendRequest): Set property for content length if content is present.
11539         Write content only if present.
11540         (getOutputStream): Check if already connected, dont connect,
11541         initalize bufferedOutputStream if needed.
11542
11543 2004-01-23  Michael Koch  <konqueror@gmx.de>
11544
11545         * java/io/FileDescriptor.java
11546         (in, out, err): Added javadoc.
11547         (static): Merged loading code.
11548         (fd, position): Moved around.
11549
11550 2004-01-23  Michael Koch  <konqueror@gmx.de>
11551
11552         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11553         New file.
11554
11555 2004-01-23  Michael Koch  <konqueror@gmx.de>
11556
11557         * java/lang/Class.java,
11558         java/lang/Object.java,
11559         java/lang/Thread.java: Merged copyright with classpath.
11560
11561 2004-01-23  Michael Koch  <konqueror@gmx.de>
11562
11563         * java/io/FileDescriptor.java: Merged copyright with classpath to
11564         start merging this class.
11565
11566 2004-01-22  Tom Tromey  <tromey@redhat.com>
11567
11568         PR libgcj/13107:
11569         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11570         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11571         * testsuite/libjava.lang/pr13107_3.java: New file.
11572         * testsuite/libjava.lang/pr13107_3.out: New file.
11573         * testsuite/libjava.lang/pr13107_2.java: New file.
11574         * testsuite/libjava.lang/pr13107_2.out: New file.
11575         * testsuite/libjava.lang/pr13107.java: New file.
11576         * testsuite/libjava.lang/pr13107.out: New file.
11577         * verify.cc (jsr_ptrs): Removed.
11578         (entry_points): Likewise.
11579         (struct subr_info): Likewise.
11580         (struct subr_entry_info): Likewise.
11581         (type_val::unused_by_subroutine_type): Likewise.
11582         (type::merge): Don't handle unused_by_subroutine_type.
11583         (type::print): Likewise.
11584         (state::flags): Removed.
11585         (state::subroutine): Likewise.
11586         (state::seen_subrs): Likewise.
11587         (state::NO_STACK): Likewise.
11588         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11589         (state): Updated all methods.
11590         (state::clean_subrs): Removed.
11591         (state::state): Removed `ret_semantics' flag.
11592         (state::copy): Likewise.
11593         (state::add_subr): Removed.
11594         (state::enter_subroutine): Likewise.
11595         (type::set_return_address): New method.
11596         (handle_jsr_insn): Set return address on the type.  Always
11597         invalidate PC after call.
11598         (check_nonrecursive_call): Removed.
11599         (~_Jv_BytecodeVerifier): Updated.
11600         (branch_prepass): Removed special handling of jsr.
11601         (note_branch_target): Likewise.
11602         (get_subroutine): Removed.
11603         (state::merge): Don't merge subroutines and don't handle
11604         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11605         (state::note_variable): Removed.
11606         (state::is_unmerged_ret_state): Likewise.
11607         (state::print): Updated.
11608         (set_variable): Likewise.
11609         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11610         and jsr_semantics arguments.  Updated for new reverification
11611         list.
11612         (pop_jump): Rewrote.
11613         (construct_primitive_array_type): Updated.
11614         (state::next): Removed.
11615         (INVALID_STATE): New define.
11616         (state::INVALID): Removed.
11617         (state::NO_NEXT): New value.
11618         (state::pc, state::next): New fields.
11619         (state::get_pc): New method.
11620         (next_verify_pc): Removed.
11621         (next_verify_state): New field.
11622         (verify_instructions_0): Always check for falling off end.
11623         (linked): New type.
11624         (linked_utf8): Removed.
11625         (states): Changed type.
11626         (type::state_mergeable_p): New method.
11627         (state::state_mergeable_p): Likewise.
11628         (handle_ret_insn): Removed most code.
11629         (state::reverify): New method.
11630         (add_new_state): Likewise.
11631         (state::set_pc): Likewise.
11632
11633 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11634
11635         PR java/13733
11636         * testsuite/libjava.compile/PR13733.java: New file.
11637         * testsuite/libjava.compile/PR13733.xfail: New file.
11638
11639 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11640             Michael Koch  <konqueror@gmx.de>
11641
11642         * javax/swing/table/DefaultTableCellRenderer.java
11643         (DefaultTableCellRenderer): Added javadoc for the class and for
11644         the constructor, Border instance, create an EmptyBorder.
11645         (UIResource): Removed the comment at the end of the class
11646         (setForeground): New method.
11647         (setBackground): New method.
11648         (updateUI): New method.
11649         (getTableCellRendererComponent): Rewritten with the help of
11650         dvholten and Stephane Meslin-Weber.
11651         (validate): New method.
11652         (repaint): New method.
11653         (firePropertyChange): New method.
11654         (setValue): New method.
11655
11656 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11657
11658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11659         (connectJObject): Replace printf calls with g_assert statements.
11660         Move property-notify-event signal connection to ...
11661         (connectSignals): Connect property-notify-event signal.  Iterate
11662         through the vbox's children to find layout.
11663
11664 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11665         
11666         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11667         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11668         Predicate static initialization on GtkToolkit.useGraphics2D().
11669         * java/awt/Component.java (processPaintEvent): Consume event.
11670         * javax/swing/AbstractButton.java: Reimplement, document.
11671         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11672         * javax/swing/JComponent.java (paint): Use double buffer.
11673         (listenerList): Enable member.
11674         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11675         * javax/swing/JToggleButton.java 
11676         (JToggleButton): Modify model constructor.
11677         * javax/swing/SwingUtilities.java 
11678         (layoutCompoundLabel): Adjust arithmetic.
11679         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11680         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11681         (getPreferredButtonSize): Include margins in calculation.
11682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11683         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11684         Receive up events from subordinate layout component.
11685
11686 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11687
11688         * java/awt/Component.java (show): Set visible to true before
11689         showing the peer.
11690
11691 2004-01-21  Kim Ho  <kho@redhat.com>
11692
11693         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11694         Fix comments.
11695         (removeMenuBarPeer): Make package private.
11696         (setMenuBarPeer): Make package private.
11697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11698         (menubar_resize_cb): Mark attributes unused.
11699         (getMenuBarHeight): ditto.
11700
11701 2004-01-21  David Jee  <djee@redhat.com>
11702
11703         * java/awt/Container.java
11704         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11705         dispatching MOUSE_ENTERED event twice. Translate the point for
11706         the mouse event target before dispatching the event.
11707
11708 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11709
11710         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11711         lib_org_w3c_dom_la_LDFLAGS): New.
11712         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11713         * Makefile.in: Rebuilt.
11714
11715 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11716
11717         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11718         Calculate proper offsets for heavyweight components packed in
11719         lightweight containers.
11720
11721         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11723         (native create): Add width parameter.
11724         (create): Calculate text entry width based on current font's
11725         metrics and number of columns.  Set TextField's font if not
11726         already set.  Call native create.
11727         (gtkEntryGetBorderWidth): New native method.
11728         (gtkEntryGetSize): Remove method.
11729         (getMinimumSize): Call minimumSize.
11730         (getPreferredSize): Call preferredSize.
11731         (minimumSize): Calculate minimum size based on backing
11732         GtkEntry's borders, font metrics and number of columns.
11733         (preferredSize): Likewise for preferred size.
11734         (get_border_width): New static function.
11735
11736         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11737         Override GtkWindowPeer's setResizable method to account for menu
11738         bar height when setting the frame's size.
11739
11740 2004-01-19  Matthias Klose  <doko@debian.org>
11741
11742         * libtool-version: Increased `current' to 6.
11743
11744 2004-01-19  Kim Ho  <kho@redhat.com>
11745
11746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11747         (connectJObject): Iterate through the vbox's children to find layout.
11748
11749 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11750
11751         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11752         isDispatchThread method to replace wrong test condition.
11753
11754 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11755
11756         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11757         events to the queue out of order by acquiring locks in the proper
11758         order and not by releasing one before acquiring the other.
11759
11760 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11761
11762         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11763         visible so that dialog can be reused.
11764
11765 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11766
11767         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11768         events may be handled by any queue in the stack.
11769
11770 2004-01-19  Kim Ho  <kho@redhat.com>
11771
11772         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11773         MenuBarPeer parameter.
11774         (removeMenuBarPeer): New native method.
11775         (setMenuBar): Call remove if menu bar is null. Adjust insets
11776         appropriately.
11777         (postSizeAllocateEvent): New method. Called when menu bar size is
11778         allocated. Adjust insets and redo layout.
11779         (GtkFramePeer): Set menu bar during frame creation.
11780         (postConfigureEvent): Adjust position and size to accomodate
11781         menu bar.
11782         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11783         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11784         (addNotify): Create the peer if it doesn't exist and call addNotify
11785         for the menu's items.
11786         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11787         * java/awt/MenuItem.java (addNotify): Create the peer if it
11788         doesn't exist.
11789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11790         (removeMenuBarPeer): New method. Remove menu bar on the current
11791         frame.
11792         (setMenuBarPeer): Add the menu bar to the current frame and the
11793         callback for size-allocate events on the menu bar.
11794         (getMenuBarHeight): Add menu bar parameter.
11795         (menubar_resize_cb): New callback method for postSizeAllocate events.
11796
11797         Also: Fix indentation on last ChangeLog entry.
11798
11799 2004-01-16  Kim Ho  <kho@redhat.com>
11800
11801         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11802         (gtkWidgetGetDimensions): Remove.
11803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11804         (gtkWidgetGetDimensions): Remove.
11805
11806 2004-01-16  Tom Tromey  <tromey@redhat.com>
11807
11808         * java/awt/Container.java: Typo and indentation fixes.
11809
11810         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11811         * java/lang/natVMClassLoader.cc: ...here.  New file.
11812         * Makefile.in: Rebuilt.
11813         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11814
11815 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11816
11817         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11818         Discard GDK_ENTER_NOTIFY related to ungrabs.
11819
11820 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11821
11822         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11823         is called for an intermediate queue.
11824
11825 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11826
11827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11828         (window_property_changed_cb): Set id_set.
11829
11830 2004-01-16  Kim Ho  <kho@redhat.com>
11831
11832         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11833         it is a FileDialog and has dimensions of 0 by 0, then the initial
11834         size is set to size request plus insets.
11835         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11836         (gtkWidgetGetDimensions): Override method.
11837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11838         (gtkWidgetGetDimensions): Override method. Returns size request plus
11839         insets.
11840
11841 2004-01-16  Andrew Haley  <aph@redhat.com>
11842
11843         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11844         * sysdep/i386/locks.h: Likewise.
11845
11846 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11847
11848         * java/awt/EventDispatchThread.java (run): Stop running when
11849         interrupted.
11850         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11851         Reset the queue after transferring its contents.
11852         (push): Start a new dispatch thread if none is running.
11853
11854 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11855
11856         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11857         (doPolygon): set fill rule of polygon to 
11858         WIND_EVEN_ODD by default.
11859
11860 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11861
11862         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11863         Implemented rendering hints related methods.
11864         (getDefaultHints): New helper method. Returns
11865         default rendering hints.
11866         (walkPath): changed to normalize path if
11867         the KEY_STROKE_CONTROL key is in "normalize" mode.
11868         (draw3DRect): changed coordinates of rectangle by +0.5
11869         if in "normalize" mode.
11870
11871 2004-01-15  Tom Tromey  <tromey@redhat.com>
11872
11873         * Makefile.in: Rebuilt.
11874         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11875         (%.lo: %.java) Filter out StackTrace.lo.
11876
11877 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11878
11879         * configure.in: Add in AC_PREREQ(2.13)
11880         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11881         FIXME comment.
11882
11883 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11884             Tom Tromey  <tromey@redhat.com>
11885
11886         PR libgcj/12001:
11887         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11888         array to superclass.
11889         (init): Changed interface; add URLs here.
11890         (initialize): New static method.
11891         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11892         (_Jv_RunMain): ... not here.
11893
11894 2004-01-14  Michael Koch  <konqueror@gmx.de>
11895
11896         * java/text/MessageFormat.java:
11897         Added descriptions to exceptions.
11898         This fixes PR libgcj/2429.
11899
11900 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11901
11902         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11903         (push): Make sure push is performed at the top of the thread stack.
11904
11905 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11906
11907         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11908         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11909         (native create): Add width and height parameters.  Set text
11910         view's size request according to new parameters.
11911         (create): Calculate text view size based on current font's
11912         metrics and number of rows and columns.  Set TextArea's font if
11913         not already set.  Call native create.
11914         (getMinimumSize): Call minimumSize.
11915         (getPreferredSize): Call preferredSize.
11916         (getHScrollbarHeight): New method.
11917         (getVScrollbarWidth): New method.
11918         (minimumSize): Calculate minimum size based on scrollbar
11919         visibility, scrollbar sizes, font metrics and number of rows and
11920         columns.
11921         (preferredSize): Likewise for preferred size.
11922         (gtkTextGetSize): Remove method.
11923
11924 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11925
11926         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11927         (initializeInsets): Remove method.
11928         (GtkComponentPeer): Initialize insets field.  Remove call to
11929         initializeInsets.
11930         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11931         Remove method.
11932         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11933         Remove method.
11934         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11935         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11936         (latestInsets): Remove field.
11937         (native create): Add insets parameter.  Call
11938         window_get_frame_extents.  Set the window's default size and
11939         size request based on its frame extents.
11940         (create): Initialize insets.
11941         (postInsetsChangedEvent): New method.
11942         (postConfigureEvent): Remove parameters top, left, bottom,
11943         right.  Remove insets-related logic.
11944         (connectJObject): Handle property-notify-event.
11945         (window_get_frame_extents, request_frame_extents,
11946         property_notify_predicate, window_property_changed_cb): New
11947         static functions.
11948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11949         (pre_event_handler): Remove insets-related logic for configure
11950         events.
11951         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11952         Update postConfigureEvent signature.
11953
11954 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11955  
11956         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11957         to handle Window "Closing" events.
11958  
11959 2004-01-13  David Jee  <djee@redhat.com>
11960
11961         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11962         (setBackground): New method. Children with no explicitly-set
11963         background will be repainted with the parent container's new
11964         background color.
11965
11966 2004-01-13  David Jee  <djee@redhat.com>
11967
11968         * Makefile.am: Add BitwiseXORComposite.java.
11969         * Makefile.in: Regenerated.
11970         * gcj/Makefile.in: Regenerated.
11971         * include/Makefile.in: Regenerated.
11972         * testsuite/Makefile.in: Regenerated.
11973
11974 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11975
11976         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11977         not show modal dialogs twice and so that it allows showing a modal
11978         dialog from another modal dialog.
11979
11980 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11981
11982         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11983         and run secondary dispatch thread to process event queue while this
11984         thread is blocked.
11985
11986 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11987
11988         * gnu/java/awt/gtk/GdkGraphics2D.java
11989         (static): Check GtkToolkit before initializing static state.
11990         (Graphics2D): Don't construct transform with 0.5 unit offset.
11991
11992 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11993
11994         * gnu/java/awt/BitwiseXORComposite.java: Add.
11995         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11996         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11997         (BitwiseXORComposite): Remove inner class.
11998
11999 2004-01-11  Michael Koch  <konqueror@gmx.de>
12000
12001         * gnu/java/lang/reflect/TypeSignature.java
12002         (getEncodingOfClass): Documentation fixed.
12003         (getClassForEncoding): Give class loader to Class.forName().
12004         Documentation fixed.
12005
12006 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
12007
12008         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12009
12010 2004-01-11  Michael Koch  <konqueror@gmx.de>
12011
12012         * javax/swing/undo/StateEditable.java
12013         (RCSID): Removed redundant modifiers.
12014
12015 2004-01-10  Michael Koch  <konqueror@gmx.de>
12016
12017         * javax/print/attribute/EnumSyntax.java
12018         (getStringTable): Made protected.
12019         (getEnumValueTable): Likewise.
12020         * javax/print/attribute/standard/JobKOctetsProcessed.java
12021         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12022         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12023         (JobMediaSheetsCompleted): Made class final.
12024         * javax/print/attribute/standard/OutputDeviceAssigned.java
12025         (getName): Fixed typo.
12026         * javax/print/attribute/standard/RequestingUserName.java
12027         (serialVersionUID): Fixed value.
12028
12029 2004-01-10  Michael Koch  <konqueror@gmx.de>
12030
12031         * javax/swing/plaf/basic/BasicButtonUI.java,
12032         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12033         javax/swing/plaf/basic/BasicListUI.java,
12034         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12035         javax/swing/plaf/basic/BasicPanelUI.java,
12036         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12037         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12038         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12039         javax/swing/plaf/basic/BasicViewportUI.java:
12040         Fixed import statements.
12041
12042 2004-01-10  Michael Koch  <konqueror@gmx.de>
12043
12044         * gnu/java/awt/image/ImageDecoder.java
12045         (produce): Made public.
12046         * gnu/java/awt/peer/GLightweightPeer.java,
12047         gnu/java/awt/peer/gtk/GtkToolkit.java:
12048         Reformated.
12049
12050 2004-01-10  Michael Koch  <konqueror@gmx.de>
12051
12052         * javax/swing/JRadioButtonMenuItem.java,
12053         javax/swing/JSeparator.java,
12054         javax/swing/JSplitPane.java,
12055         javax/swing/JTextPane.java,
12056         javax/swing/JToolBar.java,
12057         javax/swing/ListCellRenderer.java,
12058         javax/swing/ListModel.java,
12059         javax/swing/MenuElement.java,
12060         javax/swing/OverlayLayout.java,
12061         javax/swing/ProgressMonitor.java,
12062         javax/swing/ProgressMonitorInputStream.java,
12063         javax/swing/Renderer.java,
12064         javax/swing/RootPaneContainer.java,
12065         javax/swing/Scrollable.java,
12066         javax/swing/SingleSelectionModel.java,
12067         javax/swing/ToolTipManager.java,
12068         javax/swing/ViewportLayout.java,
12069         javax/swing/event/DocumentEvent.java,
12070         javax/swing/event/SwingPropertyChangeSupport.java,
12071         javax/swing/event/TreeSelectionEvent.java,
12072         javax/swing/event/UndoableEditEvent.java,
12073         javax/swing/text/AbstractDocument.java,
12074         javax/swing/text/AttributeSet.java,
12075         javax/swing/text/Caret.java,
12076         javax/swing/text/ComponentView.java,
12077         javax/swing/text/DefaultCaret.java,
12078         javax/swing/text/DefaultEditorKit.java,
12079         javax/swing/text/Document.java,
12080         javax/swing/text/EditorKit.java,
12081         javax/swing/text/GapContent.java,
12082         javax/swing/text/Keymap.java,
12083         javax/swing/text/MutableAttributeSet.java,
12084         javax/swing/text/PlainEditorKit.java,
12085         javax/swing/text/Segment.java,
12086         javax/swing/text/Style.java,
12087         javax/swing/text/StyledDocument.java,
12088         javax/swing/text/StyledEditorKit.java,
12089         javax/swing/text/TextAction.java,
12090         javax/swing/text/View.java: Fixed import statements.
12091
12092 2004-01-08  Graydon Hoare  <graydon@redhat.com>
12093
12094         * javax/swing/JLayeredPane.java: Rewrite to accomodate
12095         djee@redhat.com's recent inverse ordering of Container elements.
12096
12097 2004-01-09  Michael Koch  <konqueror@gmx.de>
12098
12099         * gnu/java/lang/ArrayHelper.java
12100         (equalsArray): Removed.
12101
12102 2004-01-09  Andrew Haley  <aph@redhat.com>
12103
12104         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12105         a Utf8Const field before looking at its class.
12106
12107 2004-01-09  Michael Koch  <konqueror@gmx.de>
12108
12109         * javax/print/attribute/standard/DocumentName.java,
12110         javax/print/attribute/standard/JobHoldUntil.java,
12111         javax/print/attribute/standard/JobMessageFromOperator.java,
12112         javax/print/attribute/standard/JobName.java,
12113         javax/print/attribute/standard/JobOriginatingUserName.java,
12114         javax/print/attribute/standard/OutputDeviceAssigned.java,
12115         javax/print/attribute/standard/PrinterInfo.java,
12116         javax/print/attribute/standard/PrinterLocation.java,
12117         javax/print/attribute/standard/PrinterMakeAndModel.java,
12118         javax/print/attribute/standard/PrinterMessageFromOperator.java,
12119         javax/print/attribute/standard/PrinterName.java,
12120         javax/print/attribute/standard/RequestingUserName.java: New files.
12121         * Makefile.am (javax_source_files): Added new files.
12122         * Makefile.in: Regenerated.
12123
12124 2004-01-09  Michael Koch  <konqueror@gmx.de>
12125
12126         * javax/swing/AbstractAction.java,
12127         javax/swing/AbstractSet.java,
12128         javax/swing/Action.java,
12129         javax/swing/ActionMap.java,
12130         javax/swing/BoundedRangeModel.java,
12131         javax/swing/ButtonModel.java,
12132         javax/swing/CellEditor.java,
12133         javax/swing/CellRendererPane.java,
12134         javax/swing/ComboBoxEditor.java,
12135         javax/swing/DebugGraphics.java,
12136         javax/swing/DefaultCellEditor.java,
12137         javax/swing/DefaultCellRenderer.java,
12138         javax/swing/DefaultComboBoxModel.java,
12139         javax/swing/DefaultDesktopManager.java,
12140         javax/swing/DefaultFocusManager.java,
12141         javax/swing/DefaultListCellRenderer.java,
12142         javax/swing/Icon.java,
12143         javax/swing/JButton.java,
12144         javax/swing/JCheckBoxMenuItem.java,
12145         javax/swing/JDesktopPane.java,
12146         javax/swing/JEditorPane.java,
12147         javax/swing/JMenu.java,
12148         javax/swing/JPanel.java,
12149         javax/swing/JPasswordField.java,
12150         javax/swing/JPopupMenu.java,
12151         javax/swing/JProgressBar.java: Reworked imports.
12152
12153 2004-01-09  Michael Koch  <konqueror@gmx.de>
12154
12155         * java/awt/geom/PathIterator.java
12156         (WIND_EVEN_ODD): Removed redundant modifiers.
12157         (WIND_NON_ZERO): Likewise.
12158         (SEG_MOVETO): Likewise.
12159         (SEG_LINETO): Likewise.
12160         (SEG_QUADTO): Likewise.
12161         (SEG_CUBICTO): Likewise.
12162         (SEG_CLOSE): Likewise.
12163         * java/awt/image/SinglePixelPackedSampleModel.java:
12164         Removed redundant semicolon.
12165         * java/io/ObjectInputStream.java
12166         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12167         * java/util/logging/Filter.java
12168         (isLoggable): Removed redundant modifier.
12169         * java/util/logging/LogManager.java:
12170         Removed redundant semicolon.
12171         * java/util/logging/XMLFormatter.java
12172         (format): Removed unused variable "key".
12173
12174 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
12175
12176         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12177         New name for the former setFile native method.
12178         (setFile): New method.
12179         (setDirectory): Implemented.
12180         (connectSignals): New native method.
12181         (setFilenameFilter): Improve comment.
12182         (getGraphics): Comment.
12183         (gtkHideFileDialog): New method.
12184         (gtkDisposeFileDialog): New method.
12185         (gtkSetFilename): New method.
12186         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12187         for FileDialog for now.
12188         (hide): New method.
12189         (dispose): New method.
12190         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12191         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12192         deprecated creation functions.  Make dialog modal.  Add it to the
12193         window group.
12194         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12195         function.
12196         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12197         Rename to...
12198         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12199         name.
12200         (window_closed): New function.
12201         (ok_clicked): New function.
12202         (cancel_clicked): New function.
12203
12204 2004-01-08  Michael Koch  <konqueror@gmx.de>
12205
12206         * javax/swing/JLayeredPane.java: Revert changes to standard
12207         boilerplate, reworked imports.
12208
12209 2004-01-07  Tom Tromey  <tromey@redhat.com>
12210
12211         PR libgcj/13439:
12212         * verify.cc (state::merge): Copy changed locals out of subroutine
12213         in NO_STACK case.
12214         (state::FLAG_CHANGED): New const.
12215         (state::FLAG_UNUSED): Likewise.
12216         (state::local_changed): Removed.  Updated all users.
12217         (state::flags): New field.
12218         (state::merge): Added jsr_semantics argument, more logic.
12219         (push_jump_merge): Added jsr_semantics argument.
12220         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12221         merging through the jsr instruction.
12222
12223 2004-01-07  Tom Tromey  <tromey@redhat.com>
12224
12225         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12226         backslash-newline.
12227
12228 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12229
12230         * java/awt/Container.java (LightweightDispatcher): Implement.
12231         (visitChild): Reuse graphics object.
12232         (dispatchEventImpl): Optionally dispatch to lightweight.
12233         (addNotifyContainerChildren): Build LightweightDispatcher.
12234
12235 2004-01-07  David Jee  <djee@redhat.com>
12236
12237         * java/awt/Container.java
12238         (update): Clear only the clipped region, instead of clearing the
12239         entire Container.
12240         (visitChildren): Visit children in descending order.
12241
12242 2004-01-07  Michael Koch  <konqueror@gmx.de>
12243
12244         * java/lang/reflect/Array.java: Merged documentation with classpath.
12245
12246 2004-01-07  Michael Koch  <konqueror@gmx.de>
12247
12248         * java/text/CollationElementIterator.java
12249         (textIndex): Renamed from index.
12250         * java/text/CollationKey.java
12251         (collator): New member.
12252         (CollationKey): New argument for parent collator.
12253         (equals): Check for same collator, source string and key array.
12254         * java/text/RuleBasedCollator.java:
12255         Reformated.
12256         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12257         value.
12258         (getCollationElementIterator): Rewritten.
12259         (getCollationKey): Added new argument to CollationKey constructor.
12260
12261 2004-01-07  Michael Koch  <konqueror@gmx.de>
12262
12263         * gnu/java/nio/DatagramChannelImpl.java
12264         (blocking): Removed.
12265         (DatagramChannelImpl): Call configureBlocking().
12266         (implConfigureBlocking): Dont initialize blocking.
12267         * gnu/java/nio/ServerSocketChannelImpl.java
12268         (blocking): Removed.
12269         (ServerSocketChannelImpl): Call configureBlocking().
12270         (implConfigureBlocking): Dont initialize blocking.
12271         * gnu/java/nio/SocketChannelImpl.java
12272         (blocking): Removed.
12273         (SocketChannelImpl): Call configureBlocking().
12274         (implConfigureBlocking): Dont initialize blocking.
12275         (connect): Use isBlocking().
12276         * java/nio/channels/spi/AbstractSelectableChannel.java
12277         (configureBlocking): Use blockingLock() instead of LOCK.
12278         Set blocking after successfully called implConfigureBlocking().
12279         (register): Use blockingLock() instead of LOCK.
12280
12281 2004-01-07  Michael Koch  <konqueror@gmx.de>
12282
12283         * java/net/ServerSocket.java (isBound): Fixed documentation.
12284
12285 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12286
12287         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12288         (changeEvent): Create event object on demand.
12289         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12290         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12291         fireStateChanged): Re-written.
12292         * javax/swing/event/EventListenerList.java: Reformatted, document
12293         typical usage.
12294         (toString): Implemented.
12295         (getListeners): Re-written.
12296         (remove): Re-written.
12297         (add): Re-written.
12298         (NO_LISTENERS): New singleton field.
12299         (listenerList): Declare as transient; document.
12300         (serialVersionUID): Document.
12301         (getListenerCount(Class)): More efficient implementation,
12302         also accepts null argument.  Improve Javadoc.
12303         (getListenerCount()): Remove unnecessary cast; docfix.
12304         * javax/swing/undo/UndoableEditSupport.java:
12305         Re-format, document.
12306         (UndoableEditSupport): Set realSource field. Improve documentation.
12307         (_postEdit): Iterate over cloned listener vector.
12308         (toString): Don't emit realSource.
12309         (beginUpdate, endUpdate): Support nested updates.
12310         (postEdit): Use compound edit if present.
12311
12312 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12313
12314         * java/awt/Container.java (swapComponents): Add forgotten
12315         function, required for JLayeredPane change.
12316
12317 2004-01-06  Michael Koch  <konqueror@gmx.de>
12318
12319         * java/text/CollationElementIterator.java: Reformated.
12320         (CollationElementIterator): Changed order of arguments.
12321         * java/text/RuleBasedCollator.java
12322         (RuleBasedCollator): Merged class documentation.
12323         (CollationElement): Added documentation.
12324         (compare): Reformated, renamed arguments.
12325         (equals): Likewise.
12326         (getCollationElementIterator): Likewise.
12327         (getCollationKey): Likewise.
12328
12329 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12330
12331         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12332
12333 2004-01-06  Michael Koch  <konqueror@gmx.de>
12334
12335         * gnu/java/net/protocol/file/Connection.java:
12336         Reformated copyright.
12337         (hdrHash): Removed.
12338         (hdrVec): Removed.
12339         (gotHeaders): Removed.
12340         (getHeaderField): Removed.
12341         (getHeaderField): Removed.
12342         (getHeaderFieldKey): Removed.
12343         (getKey): Removed.
12344         (getField): Removed.
12345         (getHeaders): Removed.
12346
12347 2004-01-06  Michael Koch  <konqueror@gmx.de>
12348
12349         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12350         javax/print/attribute/standard/DateTimeAtCreation.java,
12351         javax/print/attribute/standard/DateTimeAtProcessing.java,
12352         javax/print/attribute/standard/JobImpressionsCompleted.java,
12353         javax/print/attribute/standard/JobKOctets.java,
12354         javax/print/attribute/standard/JobKOctetsProcessed.java,
12355         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12356         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12357         * Makefile.am (javax_source_files): Added new files.
12358         * Makefile.in: Regenerated.
12359
12360 2004-01-06  Michael Koch  <konqueror@gmx.de>
12361
12362         * java/net/URLConnection.java
12363         (contentHandler): Removed.
12364         (locale): Removed.
12365         (getHeaderFields): Return an empty map instead of null.
12366         (getContent): Connect if needed, renamed "cType" to "type" and
12367         "contentHandler" to "ch" and made it a local variable.
12368         (getPermission): Don't use package in class name.
12369         (setDefaultRequestProperty): Fixed typo in documentation.
12370         (initializeDateFormats): Made locale a local variable.
12371
12372 2004-01-06  Michael Koch  <konqueror@gmx.de>
12373
12374         * java/lang/Package.java
12375         (getPackage): Get the current class loader directly.
12376         * java/lang/SecurityManager.java
12377         (currentLoadedClass): Dont iterate over class contexts.
12378         (classLoaderDepth): Don't check class loaders if everything is allowed.
12379
12380 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12381
12382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12383         (pre_event_handler): Set all insets to 0 when a Configure event
12384         is received for a GtkPlug.
12385         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12386         Make handle long, not int.
12387         (EmbeddedWindow()): New constructor.
12388         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12389         long, not int.
12390         (setHandle): New method.
12391         (getHandle): Return long, not int.
12392         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12393         declaration.
12394         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12395         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12396         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12397         argument to GdkNativeWindow.
12398         (construct): New method.
12399         (embed): New method.
12400
12401         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12403         (create(int, int)): New method.
12404         (create): Call new create method.
12405         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12406         methods.
12407         (childResized): Remove native implementation.  Implement in
12408         Java.
12409         (getHScrollbarHeight, getVScrollbarWidth): Call
12410         gtk_widget_size_request to get scrollbar dimensions.
12411         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12412         call getVScrollbarWidth and getHScrollbarHeight when vertical
12413         and horizontal scrollbars respectively are needed.
12414         (doLayout): Enlarge child if it is smaller than the viewport.
12415
12416 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12417
12418         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12419         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12420         argument as per spec.
12421
12422 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12423
12424         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12425         (insert): Ditto.
12426         (remove): Ditto.  Also, Check for valid argument.
12427         (removeAll): Use peer interface method.
12428         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12429         native add function.
12430         (nativeRemove): New name for native remove function.
12431         (getHistory): New native function.
12432         (constructor): Generate ItemEvent.
12433         (add): Ditto, if selection is changed.
12434         (remove): Ditto, ditto.
12435         (removeAll): Add implementation.
12436         (handleEvent): Remove.  Dead code.
12437         (choicePostItemEvent): Add comment.
12438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12439         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12440         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12441         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12442         comments and fix condition to change selection.
12443         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12444         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12445         remove all capability.
12446         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12447         (item_activate): Add cast to remove compiler warning.
12448
12449 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12450
12451         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12452         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12453         (getPreferredSize): Call preferredSize.
12454         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12455         (getMinimumSize): Call minimumSize.
12456         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12457         (gtkWidgetGetDimensions): Return the peer widget's current size
12458         request.
12459         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12460         natural size request.
12461
12462 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12463
12464         Thanks to Brian Gough <bjg@network-theory.com>
12465         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12466         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12467
12468 2004-01-04  Matthias Klose  <doko@debian.org>
12469
12470         * aclocal.m4: Rebuilt using "aclocal -I .".
12471         * configure: Rebuilt.
12472
12473 2004-01-03  Per Bothner  <per@bothner.com>
12474
12475         * java/util/Date.java (parse):  Fix a number of problems.
12476         (skipParens):  Remove no-longer-needed method.
12477