OSDN Git Service

2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2
3         * configure: Regenerate for libtool change.
4
5 2004-11-24  Michael Koch  <konqueror@gmx.de>
6
7         * gnu/java/security/PolicyFile.java: New file.
8         * Makefile.am: Added gnu/java/security/PolicyFile.java.
9         * Makefile.in: Regenerated.
10
11 2004-11-24  Michael Koch  <konqueror@gmx.de>
12
13         * java/lang/Character.java, scripts/unicode-blocks.pl:
14         Reorder "final static" to "static final".
15
16 2004-11-24  Michael Koch  <konqueror@gmx.de>
17
18         * java/util/ResourceBundle.java: Reformatted.
19         (tryBundle): Fixed javadoc.
20
21 2004-11-24  Jeroen Frijters  <jeroen@frijters.net>
22
23         * java/text/MessageFormat.java
24         (formatInternal): Made private.
25
26 2004-11-24  Michael Koch  <konqueror@gmx.de>
27
28         * java/nio/DirectByteBufferImpl.java
29         (ReadWrite.ReadWrite): New constructor.
30         (DirectByteBufferImpl): Likewise.
31         * jni.cc (_Jv_JNI_NewDirectByteBuffer):
32         Use DirectByteBufferImpl.ReadWrite.
33         * Makefile.am:
34         Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
35         * Makefile.in: Rgenerated.
36
37 2004-11-24  Jeroen Frijters  <address@bogus.example.com>
38
39         * java/nio/DirectByteBufferImpl.java
40         (ReadOnly): New inner subclass.
41         (ReadWrite): New inner subclass.
42         (owner): Made final and private.
43         (address): Made final.
44         (DirectByteBufferImpl(int)): New constructor.
45         (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
46         (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
47         (allocate): Modified to instantiate ReadWrite subclass.
48         (finalize): Fixed to only free the buffer, if we own it.
49         (put): Removed read-only check.
50         (slice, duplicate): Modified to instantiate appropriate subclass.
51         (isReadOnly): Removed.
52         * java/nio/MappedByteBufferImpl.java
53         (slice, duplicate): Modified to instantiate appropriate
54         DirectByteBufferImpl subclass.
55
56 2004-11-24  Michael Koch  <konqueror@gmx.de>
57
58         * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
59         * java/nio/DirectByteBufferImpl.java:
60         Moved native methods to java.nio.VMDirectByteBuffer class.
61         * java/nio/MappedByteBufferImpl.java:
62         Use native methods from java.nio.VMDirectByteBuffer class.
63         * java/nio/VMDirectByteBuffer.java: New file,
64         * java/nio/natDirectByteBufferImpl.cc:
65         Moved all methods into java.nio.VMDirectByteBuffer class.
66         * java/nio/channels/spi/AbstractSelectableChannel.java
67         (register): Only re-use valid keys.
68         * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
69         * Makefile.in: Regenerated.
70
71 2004-11-24  Michael Koch  <konqueror@gmx.de>
72
73         * java/nio/DirectByteBufferImpl.java,
74         java/nio/MappedByteBufferImpl.java:
75         Reformatted.
76
77 2004-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
78
79         * testsuite/lib/libjava.exp,
80         testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
81
82 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
83
84         * configure.host: Enable the interpreter for mips*-*-linux*.
85
86 2004-11-23  Michael Koch  <konqueror@gmx.de>
87
88         * java/lang/String.java (rehash): Removed.
89         * java/lang/natString.cc (rehash): Made static.
90         (_Jv_NewStringUtf8Const): Use static rehash method.
91
92 2004-11-23  Michael Koch  <konqueror@gmx.de>
93
94         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
95         include/Makefile.in, testsuite/Makefile.in: Regenerated.
96
97 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
98
99         PR target/18444
100         * configure.ac (threading): Accept 'posix95'.
101         * configure: Regenerate.
102
103 2004-11-22  Michael Koch  <konqueror@gmx.de>
104
105         * gnu/java/nio/SocketChannelImpl.java
106         (read): Made check for blocking un-ambiguous.
107         Removed wrong check for data array length.
108
109 2004-11-21  Michael Koch  <konqueror@gmx.de>
110
111         * gnu/java/nio/SocketChannelImpl.java
112         (read): Only return 0 when no bytes for reading available in
113         non-blocking mode.
114         * java/nio/channels/SocketChannel.java:
115         Added some missing @return tags.
116
117 2004-11-21  Michael Koch  <konqueror@gmx.de>
118
119         * java/beans/PropertyChangeSupport.java
120         (propertyChangeSupportSerializedDataVersion): Made static.
121         * java/beans/VetoableChangeSupport.java
122         (propertyChangeSupportSerializedDataVersion): Likewise.
123
124 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
125
126         * java/net/URLStreamHandler.java
127         (parseURL): Fixed file path canonicalisation.
128
129 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
130
131         * java/net/URLStreamHandler.java
132         (parseURL): Fixed file path canonicalisation.
133
134 2004-11-18  Michael Koch  <konqueror@gmx.de>
135
136         * java/net/URLClassLoader.java: Whitespace cleanup.
137
138 2004-11-18  Robert Schuster <address@bogus.example.com>
139
140         Complete 1.4 support
141         * java/beans/PropertyDescriptor.java:
142         (setReadMethod): New method
143         (setWriteMethod): New method
144         (equals): Implemented (1.4)
145         (checkMethods): operates on arguments now (private)
146
147
148 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
149
150         * java/net/Inet6Address.java (getHostAddress): Fix textual
151         representation of IPv6 address with embedded zeroes
152         to conform to RFC 2373.
153
154 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
155
156         * java/lang/StackTraceElement.java: Made final.
157         * java/nio/channels/Channels.java: Added private constructor.
158         * java/rmi/Naming.java: Added private constructor.
159         * java/rmi/registry/LocateRegistry.java: Added private constructor.
160         * java/rmi/server/RMIClassLoader.java: Added private constructor.
161         * java/security/KeyPairGeneratorSpi.java
162         (clone): Made protected and simplified implementation.
163         * java/text/DateFormat.java
164         (allFields): Made package accessible.
165         * java/text/DecimalFormat.java
166         (formatInternal): Made private.
167         * java/text/Format.java
168         (formatInternal): Made private.
169         * java/util/logging/Handler.java: Made constructor protected.
170         * java/util/regex/Matcher.java: Made final.
171         * java/util/regex/Pattern.java: Made final.
172         * javax/crypto/CipherInputStream.java
173         (mark): Corrected mark parameter type (from long to int).
174         * javax/crypto/ExemptionMechanism.java
175         (finalize): Added.
176         * javax/crypto/Mac.java
177         (getMacLength): Made final.
178         (clone): Made final.
179         * javax/imageio/ImageIO.java: Added private constructor.
180         * javax/imageio/stream/ImageInputStreamImpl.java
181         (checkClosed): Made final.
182         * javax/net/ssl/SSLPermission.java: Made final.
183         * javax/print/DocFlavor.java
184         (hostEncoding): Added work-around to prevent the field from being
185         a compile time constant.
186         * javax/print/attribute/AttributeSetUtilities.java: Added private
187         constructor.
188         (UnmodifiableDocAttributeSet): Made private.
189         (UnmodifiablePrintJobAttributeSet): Made private.
190         (UnmodifiablePrintRequestAttributeSet): Made private.
191         (UnmodifiablePrintServiceAttributeSet): Made private.
192         (SynchronizedAttributeSet): Made private.
193         (SynchronizedDocAttributeSet): Made private.
194         (SynchronizedPrintJobAttributeSet): Made private.
195         (SynchronizedPrintRequestAttributeSet): Made private.
196         (SynchronizedPrintServiceAttributeSet): Made private.
197         * javax/security/auth/PrivateCredentialPermission.java: Made final.
198
199 2004-11-18  Craig Black  <craig.black@aonix.com>
200
201         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
202
203 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
204
205         * Makefile.am: Correct friend function declaration.
206         * Makefile.in: Regenerated.
207         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
208         scope to function names.  Declare functions directly.
209         * libjava/java/lang/Class.h
210         (java::lang::Class): Correct friend class declaration.
211         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
212         scope.
213         * libjava/java/lang/Class.h
214         (java::lang::Object): Correct friend class declaration.
215
216 2004-11-17  David Daney  <ddaney@avtrex.com>
217
218         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
219
220 2004-11-17  Michael Koch  <konqueror@gmx.de>
221
222         * java/net/Socket.java (getPort): Return 0 in error case.
223
224 2004-11-17  Michael Koch  <konqueror@gmx.de>
225
226         *  java/nio/DirectByteBufferImpl.java
227         (owner): Updated comment.
228         (allocate): New method.
229
230 2004-11-17  Michael Koch  <konqueror@gmx.de>
231
232         * java/net/URL.java (URL): Handle case when argument is null.
233
234 2004-11-17  Michael Koch  <konqueror@gmx.de>
235
236         * java/beans/Beans.java,
237         java/beans/PropertyChangeEvent.java,
238         java/beans/PropertyEditorSupport.java:
239         Fixed javadocs.
240
241 2004-11-17  Michael Koch  <konqueror@gmx.de>
242
243         * java/util/Timer.java (DEFAULT_SIZE): Made static.
244
245 2004-11-17  Michael Koch  <konqueror@gmx.de>
246
247         * java/net/InetAddress.java (getCanonicalHostName):
248         Support IPv6 addresses.
249
250 2004-11-16  Michael Koch  <konqueror@gmx.de>
251
252         * java/lang/Object.java: Added javadocs all over (merged from GNU
253         classpath).
254
255 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
256
257         * java/security/Security.java (Security): Silence the warning about no
258         providers found in the no debug case.
259
260 2004-11-16  Michael Koch  <konqueror@gmx.de>
261
262         * java/net/InetAddress.java
263         (toString): Merged from GNU classpath.
264
265 2004-11-16  Michael Koch  <konqueror@gmx.de>
266
267         * java/awt/geom/doc-files/Area-1.png,
268         java/awt/geom/doc-files/Ellipse-1.png,
269         java/awt/geom/doc-files/GeneralPath-1.png:
270         New files.
271
272 2004-11-16  Michael Koch  <konqueror@gmx.de>
273
274         * java/util/Currency.java (cache): Fix modifier order.
275
276 2004-11-16  Michael Koch  <konqueror@gmx.de>
277
278         * java/io/BufferedReader.java,
279         java/io/FileInputStream.java,
280         java/io/FileOutputStream.java,
281         java/io/FileWriter.java,
282         java/io/OutputStreamWriter.java,
283         java/io/PipedInputStream.java,
284         java/io/PipedOutputStream.java,
285         java/io/PipedReader.java,
286         java/io/PipedWriter.java,
287         java/io/PrintStream.java,
288         java/io/PushbackInputStream.java,
289         java/io/RandomAccessFile.java,
290         java/io/Reader.java,
291         java/io/StreamTokenizer.java,
292         java/io/StringReader.java,
293         java/net/NetworkInterface.java,
294         java/net/URLClassLoader.java,
295         java/nio/ByteOrder.java,
296         java/nio/channels/Channel.java:
297         Fixed javadocs all over.
298
299 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
300
301         * Makefile.am: Add imported files.
302         * Makefile.in: Regenerate.
303
304         2004-10-24  Casey Marshall  <csm@gnu.org>
305
306         * javax/security/auth/login/LoginContext.java: Implemented.
307         * javax/security/auth/login/Configuration.java (getConfig): New method.
308         * javax/security/auth/spi/LoginModule.java,
309         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
310
311 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
312
313         Import/Merge the X.509 certificate code from Classpath.
314
315         * Makefile.am: Add imported files.
316         * Makefile.in: Regenerate.
317
318         2004-11-07  Casey Marshall  <csm@gnu.org>
319
320         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
321         priviliged action. Add new algorithms.
322         * gnu/java/security/provider/X509CertificateFactory.java
323         (engineGenerateCertificate): Chain exceptions.
324         (engineGenerateCertificates): Likewise.
325         (engineGenerateCRL): Likewise.
326         (engineGenerateCRLs): Likewise.
327         (engineGenerateCertPath): New methods.
328         (generateCert): Throw exception if 'inStream' is null.
329         (generateCRL): Likewise.
330         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
331         version from GNU Crypto CVS.
332         * gnu/java/security/x509/X509CRL.java: Likewise.
333         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
334         * gnu/java/security/x509/X509Certificate.java: Likewise.
335         * java/security/cert/TrustAnchor.java: Call 'toString' and not
336         toRFC2253.
337         * gnu/java/security/provider/CollectionCertStoreImpl.java,
338         * gnu/java/security/provider/EncodedKeyFactory.java,
339         * gnu/java/security/provider/GnuDHPublicKey.java,
340         * gnu/java/security/provider/GnuRSAPrivateKey.java,
341         * gnu/java/security/provider/GnuRSAPublicKey.java,
342         * gnu/java/security/provider/MD2withRSA.java,
343         * gnu/java/security/provider/MD4withRSA.java,
344         * gnu/java/security/provider/MD5withRSA.java,
345         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
346         * gnu/java/security/provider/RSA.java,
347         * gnu/java/security/provider/RSAKeyFactory.java,
348         * gnu/java/security/provider/SHA1withRSA.java,
349         * gnu/java/security/x509/GnuPKIExtension.java,
350         * gnu/java/security/x509/PolicyNodeImpl.java,
351         * gnu/java/security/x509/Util.java,
352         * gnu/java/security/x509/X509CRLSelectorImpl.java,
353         * gnu/java/security/x509/X509CertPath.java,
354         * gnu/java/security/x509/X509CertSelectorImpl.java,
355         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
356         * gnu/java/security/x509/ext/BasicConstraints.java,
357         * gnu/java/security/x509/ext/CRLNumber.java,
358         * gnu/java/security/x509/ext/CertificatePolicies.java,
359         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
360         * gnu/java/security/x509/ext/Extension.java,
361         * gnu/java/security/x509/ext/GeneralNames.java,
362         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
363         * gnu/java/security/x509/ext/KeyUsage.java,
364         * gnu/java/security/x509/ext/PolicyConstraint.java,
365         * gnu/java/security/x509/ext/PolicyMappings.java,
366         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
367         * gnu/java/security/x509/ext/ReasonCode.java,
368         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
369         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
370
371         2004-11-07  Casey Marshall  <csm@gnu.org>
372
373         * gnu/java/security/x509/X509CRL.java:
374         Missed import statements in previous checkin.
375
376         2004-11-07  Casey Marshall  <csm@gnu.org>
377
378         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
379         to 'X509CertificateImpl' from previous checkin.
380
381 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
382
383         PR other/14264
384         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
385
386 2004-11-11  Casey Marshall  <csm@gnu.org>
387
388         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
389         channel is open.
390         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
391         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
392
393 2004-11-11  Robert Schuster <thebohemian@gmx.net>
394
395         Fixed regression:
396         * gnu/java/beans/IntrospectionIncubator.java:
397         (addMethod): Corrected classification of normal and property methods.
398         (capitalize): Added documentation.
399         (DoubleKey): [class] Added documentation.
400
401 2004-11-09  Tom Tromey  <tromey@redhat.com>
402
403         * include/jni.h: Added FIXME.
404
405 2004-11-08  Tom Tromey  <tromey@redhat.com>
406
407         * java/util/GregorianCalendar.java: Removed unused imports.
408         * java/util/Vector.java: Removed unused import.
409
410 2004-11-07  Michael Koch  <konqueror@gmx.de>
411
412         * java/lang/Process.java:
413         Import cleanups.
414
415 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
416
417         * java/util/zip/ZipEntry.java
418         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
419
420 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
421
422         Fixes bug #10908
423         * gnu/java/beans/IntrospectionIncubator.java:
424         (addMethod): static methods are discarded now, too.
425
426 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
427
428         * java/util/GregorianCalendar.java
429         Added/amended documentation.
430
431 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
432
433         * java/util/Collections.java
434         Added documentation.
435         * java/util/SortedMap.java
436         Clarified some method examples.
437         * java/util/SortedSet.java
438         Clarified some method examples.
439
440 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
441
442         * java/util/Currency.java
443         Documented variables and methods more fully.
444         Caches the currency instances, so that a request
445         for a locale, l, only ever returns the same
446         instance (i.e. successive calls to getInstance(l)
447         are reference equivalent (==)).
448
449 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
450
451         * java/util/Date.java
452         Added missing documentation.
453
454 2004-11-06  Michael Koch  <konqueror@gmx.de>
455
456         * java/util/zip/CheckedInputStream.java,
457         java/util/zip/InflaterInputStream.java,
458         java/util/zip/ZipFile.java,
459         java/util/zip/ZipInputStream.java:
460         Import cleanups.
461
462 2004-11-06  Tom Tromey  <tromey@redhat.com>
463
464         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
465         package-private.
466         (connections): Likewise.
467         (scavenger): Likewise.
468         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
469         package-private.
470         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
471         package-private.
472         (ptr): Likewise.
473         * gnu/classpath/ServiceFactory.java (log): Now package-private.
474
475 2004-11-06  Tom Tromey  <tromey@redhat.com>
476
477         * javax/naming/directory/BasicAttributes.java (attributes): Now
478         package-private.
479         * javax/imageio/spi/ServiceRegistry.java (categories): Now
480         package-private.
481
482 2004-11-06  Tom Tromey  <tromey@redhat.com>
483
484         * java/net/URLClassLoader.java (URLClassLoader): Now
485         package-private.
486         * java/nio/charset/CoderResult.java (CoderResult): Now
487         package-private.
488         (get): Likewise.
489         (Cache): Likewise.  Don't synchronize on `this'.
490         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
491         package-private.
492         * java/util/TimeZone.java (timezones): Now package-private.
493
494 2004-11-06  Tom Tromey  <tromey@redhat.com>
495
496         * java/security/Permissions.java (perms): Now package-private.
497         * java/security/UnresolvedPermission.java (permissions): Now
498         package-private.
499
500 2004-11-06  Tom Tromey  <tromey@redhat.com>
501
502         * java/io/FilePermission.java: Reindented.
503
504 2004-11-06  Tom Tromey  <tromey@redhat.com>
505
506         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
507         package-private.
508         (setBlockDataMode): Likewise.
509
510 2004-11-06  Tom Tromey  <tromey@redhat.com>
511
512         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
513         package-private.
514         (Encoder): Likewise.
515         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
516         (Encoder): Likewise.
517         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
518         package-private.
519         (Encoder): Likewise.
520
521 2004-11-06  Mark Wielaard  <mark@klomp.org>
522
523         * Makefile.am: Add new javax.imageio files.
524         * Makefile.in: Regenerated.
525
526 2004-11-06  Michael Koch  <konqueror@gmx.de>
527
528         * javax/imageio/event/IIOReadProgressListener.java,
529         javax/imageio/event/IIOReadUpdateListener.java,
530         javax/imageio/event/IIOReadWarningListener.java,
531         javax/imageio/event/IIOWriteProgressListener.java,
532         javax/imageio/event/IIOWriteWarningListener.java,
533         javax/imageio/metadata/IIOMetadataFormat.java,
534         javax/imageio/stream/FileCacheImageInputStream.java,
535         javax/imageio/stream/FileCacheImageOutputStream.java,
536         javax/imageio/stream/ImageInputStreamImpl.java:
537         Import cleanup.
538         * javax/imageio/metadata/package.html: New file.
539
540 2004-11-06  Michael Koch  <konqueror@gmx.de>
541
542         * javax/imageio/spi/ImageReaderSpi.java
543         (isOwnReader): New method.
544         * javax/imageio/spi/ImageWriterSpi.java
545         (isOwnWriter): Likewise.
546
547 2004-11-06  Michael Koch  <konqueror@gmx.de>
548
549         * javax/imageio/ImageWriter.java
550         (convertImageMetadata): New abstract method.
551         (convertStreamMetadata): Likewise.
552         (write): Likewise.
553         * javax/imageio/stream/FileCacheImageInputStream.java
554         (close): Fixed setting of stream to null.
555         (checkStreamClosed): Throws IOException.
556
557 2004-11-06  Michael Koch  <konqueror@gmx.de>
558
559         * javax/imageio/stream/FileCacheImageInputStream.java,
560         javax/imageio/stream/FileCacheImageOutputStream.java,
561         javax/imageio/stream/FileImageInputStream.java,
562         javax/imageio/stream/FileImageOutputStream.java,
563         javax/imageio/stream/MemoryCacheImageInputStream.java,
564         javax/imageio/stream/MemoryCacheImageOutputStream.java:
565         New files.
566
567 2004-11-06  Michael Koch  <konqueror@gmx.de>
568
569         * javax/imageio/metadata/IIOInvalidTreeException.java,
570         javax/imageio/metadata/IIOMetadataFormatImpl.java,
571         javax/imageio/metadata/IIOMetadataNode.java:
572         New stub files.
573
574 2004-11-06  Michael Koch  <konqueror@gmx.de>
575
576         * javax/imageio/stream/ImageInputStreamImpl.java,
577         javax/imageio/stream/ImageOutputStreamImpl.java:
578         New files.
579
580 2004-11-06  Michael Koch  <konqueror@gmx.de>
581
582         * javax/imageio/ImageIO.java:
583         Added much new methods.
584
585 2004-11-06  Michael Koch  <konqueror@gmx.de>
586
587         * javax/imageio/ImageReader.java,
588         javax/imageio/ImageWriter.java,
589         javax/imageio/spi/ImageWriterSpi.java:
590         Add SOME new methods.
591
592 2004-11-06  Michael Koch  <konqueror@gmx.de>
593
594         * javax/imageio/IIOParam.java,
595         javax/imageio/ImageReadParam.java,
596         javax/imageio/ImageReader.java,
597         javax/imageio/ImageWriter.java:
598         Mostly implemented.
599         * javax/imageio/spi/ImageReaderSpi.java,
600         javax/imageio/spi/ImageWriterSpi.java:
601         New files.
602
603 2004-11-06  Michael Koch  <konqueror@gmx.de>
604
605         * javax/imageio/ImageWriteParam.java,
606         javax/imageio/metadata/IIOMetadataFormat.java:
607         Implemented.
608
609 2004-11-06  Michael Koch  <konqueror@gmx.de>
610
611         * javax/imageio/ImageTypeSpecifier.java:
612         Mostly implemented.
613
614 2004-11-06  Michael Koch  <konqueror@gmx.de>
615
616         * javax/imageio/metadata/IIOMetadata.java:
617         Mostly implemented.
618
619 2004-11-06  Michael Koch  <konqueror@gmx.de>
620
621         * javax/imageio/IIOImage.java,
622         javax/imageio/ImageReadParam.java,
623         javax/imageio/metadata/IIOMetadataController.java,
624         javax/imageio/metadata/IIOMetadataFormat.java:
625         New files.
626         * javax/imageio/stream/ImageOutputStream.java:
627         Implemented.
628
629 2004-11-06  Michael Koch  <konqueror@gmx.de>
630
631         * javax/imageio/IIOParam.java,
632         javax/imageio/IIOParamController.java,
633         javax/imageio/ImageTypeSpecifier.java,
634         javax/imageio/ImageWriteParam.java,
635         javax/imageio/metadata/IIOMetadata.java:
636         New files.
637         * javax/imageio/ImageTranscoder.java:
638         Implemented.
639
640 2004-11-06  Michael Koch  <konqueror@gmx.de>
641
642         * javax/imageio/spi/ImageInputStreamSpi.java,
643         javax/imageio/spi/ImageOutputStreamSpi.java:
644         Reworked import startments.
645         * javax/imageio/spi/ServiceRegistry.java:
646         Reworked import startments. Fixed XHTML in javadocs.
647         (ServiceRegistry): Added @param tag to javadoc.
648         * javax/imageio/stream/ImageInputStream.java
649         (mark): Doesn't throws IOException;
650
651 2004-11-06  Michael Koch  <konqueror@gmx.de>
652
653         * javax/imageio/ImageIO.java:
654         New file.
655
656 2004-11-06  Michael Koch  <konqueror@gmx.de>
657
658         * javax/imageio/spi/IIORegistry.java
659         (static): Don't register ImageReaderSpi.class and
660         ImageWriterSpi.class yet.
661
662 2004-11-06  Michael Koch  <konqueror@gmx.de>
663
664         * javax/imageio/spi/IIORegistry.java:
665         New file.
666
667 2004-11-06  Noa Resare  <noa@resare.com>
668
669         * java/net/Socket.java (getPort): Return 0 instead of -1 on
670         unconnected sockets.
671
672 2004-11-06  Michael Koch  <konqueror@gmx.de>
673
674         * java/lang/StringBuffer.java,
675         java/lang/Throwable.java,
676         java/security/spec/DSAParameterSpec.java,
677         java/util/zip/ZipEntry.java,
678         java/util/zip/ZipFile.java,
679         java/util/zip/ZipInputStream.java,
680         java/util/zip/ZipOutputStream.java:
681         Removed redundant and reordered modifiers.
682
683 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
684
685         * java/io/Vector.java
686         (writeObject): New function to serialized output thread safe.
687
688         * java/io/ObjectOutputStream.java
689         (writeObject): Move the assignment of the class handle to after
690         the assignment of class descriptor handle.
691
692 2004-11-06  Robert Schuster <thebohemian@gmx.net>
693
694         Fixes documentation and indentation
695         * java/beans/PropertyEditorSupport.java:
696         reworked initial API doc
697         (value): changed name from val
698
699 2004-11-06  Robert Schuster <thebohemian@gmx.net>
700
701         Updates to 1.5
702         * java/beans/PropertyEditorSupport.java
703         (PropertyEditorSupport()): Changed modifier to public
704         (PropertyEditorSupport(Object): Changed modifier to public
705         (setSource): New method
706         (getSource): New method
707
708 2004-11-06  Robert Schuster <thebohemian@gmx.net>
709
710         Fixes bug #10799
711         * java/beans/PropertyEditorSupport.java
712         (setValue): Fire property change event
713
714 2004-11-03  Tom Tromey  <tromey@redhat.com>
715
716         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
717         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
718         returns jobjectArray.
719         (_Jv_JNIEnv::NewObjectArray): Likewise.
720
721 2004-11-01  Tom Tromey  <tromey@redhat.com>
722
723         * verify.cc (state::check_no_uninitialized_objects): Removed.
724         (push_jump): Updated.
725         (push_exception_jump): Likewise.
726         (handle_ret_insn): Likewise.
727         (handle_jsr_insn): Likewise.
728
729 2004-10-30  Mark Wielaard  <mark@klomp.org>
730
731         PR libgcj/18234
732         * java/lang/Runtime.java (static): Call init().
733         (Runtime): Remove call to init().
734         (init): Make static.
735
736 2004-10-28  David Daney  <ddaney@avtrex.com>
737
738         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
739         * Makefile.am: Build it.
740         * Makefile.in: Regenerate.
741
742 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
743
744         PR libgcj/18104
745         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
746         colon.
747         * Makefile.in: Regenerate.
748         * configure: Regenerate.
749         * configure.ac (CLASSPATH_SEPARATOR): Define.
750         * gcj/Makefile.in: Regenerate.
751         * include/Makefile.in: Regenerate.
752         * testsuite/Makefile.in: Regenerate.
753         * testsuite/lib/libjava.exp (libjava_arguments): Fix
754         CLASSPATH separator handling for Windows.
755
756 2004-10-26  Michael Koch  <konqueror@gmx.de>
757
758         * gnu/java/net/protocol/http/Connection.java
759         (getOutputStream): Implicitely switch to POST method.
760
761 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
762
763         * libjava/java/lang/Class.h
764         (java::lang::Class): Correct friend class declaration.
765
766 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
767
768         * Makefile.am (DARWIN_CRT_SRC): New.
769         (libgcj_la_SOURCES): Use it.
770         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
771         * darwin.cc: New file.
772         * include/jvm.h (_Jv_RegisterClasses): Constify.
773         (_Jv_RegisterClasses_Counted): New prototype.
774         * java/lang/Class.h: Include stddef.h.  
775         (_Jv_RegisterClasses): Constify.
776         (_Jv_RegisterClasses_Counted): New prototype.
777         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
778         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
779         (_Jv_RegisterClasses_Counted): New function.
780         * configure: Regenerate.
781         * Makefile.in: Regenerate.
782         * gcj/Makefile.in: Regenerate.
783         * include/Makefile.in: Regenerate.
784         * testsuite/Makefile.in: Regenerate.
785
786 2004-10-25  Tom Tromey  <tromey@redhat.com>
787
788         * java/util/ResourceBundle.java (tryBundle): Use
789         Class.isAssignableFrom rather than catching ClassCastException.
790
791 2004-10-25  Tom Tromey  <tromey@redhat.com>
792
793         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
794         initialize `iter'.
795         * gnu/java/text/SentenceBreakIterator.java
796         (SentenceBreakIterator): Don't initialize `iter'.
797         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
798         initialize `iter'.
799         * gnu/java/text/CharacterBreakIterator.java
800         (CharacterBreakIterator): Don't initialize `iter'.
801         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
802         constructor.
803         * java/text/BreakIterator.java: Updated documentation.
804
805 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
806
807         PR other/18138
808         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
809
810 2004-10-23  Michael Koch  <konqueror@gmx.de>
811
812         * javax/print/DocFlavor.java,
813         javax/print/attribute/standard/JobStateReason.java,
814         javax/print/attribute/standard/MultipleDocumentHandling.java:
815         Added missing constants.
816
817 2004-10-22  Tom Tromey  <tromey@redhat.com>
818
819         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
820         typo.
821
822 2004-10-22  Michael Koch  <konqueror@gmx.de>
823
824         PR libjava/14009
825         * gnu/java/net/protocol/http/Connection.java
826         (sendRequest): Handle case when url.getFile() returns an empty string.
827
828 2004-10-22  Michael Koch  <konqueror@gmx.de>
829
830         * java/lang/Math.java,
831         java/lang/StackTraceElement.java,
832         java/nio/Buffer.java,
833         java/nio/ByteBuffer.java,
834         java/nio/CharBuffer.java,
835         java/nio/DoubleBuffer.java,
836         java/nio/FloatBuffer.java,
837         java/nio/IntBuffer.java,
838         java/nio/LongBuffer.java,
839         java/nio/ShortBuffer.java,
840         java/nio/charset/Charset.java,
841         java/rmi/server/RMIClassLoader.java,
842         java/rmi/server/RMISocketFactory.java,
843         java/security/Policy.java,
844         java/text/ChoiceFormat.java,
845         java/text/CollationElementIterator.java,
846         java/text/DateFormat.java,
847         java/text/DecimalFormat.java,
848         java/text/DecimalFormatSymbols.java,
849         java/text/MessageFormat.java,
850         java/text/NumberFormat.java,
851         java/text/RuleBasedCollator.java,
852         java/text/SimpleDateFormat.java,
853         java/util/BitSet.java,
854         java/util/Calendar.java,
855         java/util/Collections.java,
856         java/util/IdentityHashMap.java,
857         java/util/Locale.java,
858         java/util/TreeMap.java,
859         java/util/logging/LogRecord.java,
860         java/util/logging/XMLFormatter.java,
861         java/util/prefs/AbstractPreferences.java,
862         java/util/prefs/Preferences.java,
863         javax/crypto/interfaces/DHPrivateKey.java,
864         javax/crypto/interfaces/DHPublicKey.java,
865         javax/crypto/interfaces/PBEKey.java,
866         javax/net/ssl/HandshakeCompletedEvent.java,
867         javax/security/auth/Subject.java:
868         Removed redundant and reordered modifiers.
869
870 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
871
872         * gnu/java/net/natPlainSocketImplPosix.cc
873         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
874         with 'int *' argument instead of 'long *'.
875
876 2004-10-21  Michael Koch  <konqueror@gmx.de>
877
878         * java/net/NetworkInterface.java,
879         java/text/Format.java,
880         javax/security/auth/x500/X500Principal.java,
881         javax/security/auth/x500/X500PrivateCredential.java,
882         javax/security/cert/X509CertBridge.java,
883         javax/security/sasl/Sasl.java,
884         javax/sql/XAConnection.java:
885         Import cleanup.
886
887 2004-10-21  Michael Koch  <konqueror@gmx.de>
888
889         * javax/net/ssl/HandshakeCompletedEvent.java,
890         javax/net/ssl/KeyManagerFactory.java,
891         javax/net/ssl/SSLContext.java,
892         javax/net/ssl/SSLServerSocketFactory.java,
893         javax/net/ssl/SSLSession.java,
894         javax/net/ssl/SSLSocketFactory.java,
895         javax/net/ssl/TrustManagerFactory.java:
896         Import cleanup.
897
898 2004-10-21  Michael Koch  <konqueror@gmx.de>
899
900         * javax/naming/directory/BasicAttribute.java,
901         javax/naming/directory/BasicAttributes.java,
902         javax/naming/directory/InitialDirContext.java,
903         javax/naming/event/NamingEvent.java,
904         javax/naming/ldap/ControlFactory.java,
905         javax/naming/ldap/ExtendedRequest.java,
906         javax/naming/ldap/InitialLdapContext.java,
907         javax/naming/ldap/LdapReferralException.java,
908         javax/naming/spi/DirObjectFactory.java,
909         javax/naming/spi/DirStateFactory.java,
910         javax/naming/spi/DirectoryManager.java,
911         javax/naming/spi/InitialContextFactory.java,
912         javax/naming/spi/InitialContextFactoryBuilder.java,
913         javax/naming/spi/NamingManager.java,
914         javax/naming/spi/ObjectFactory.java,
915         javax/naming/spi/ObjectFactoryBuilder.java,
916         javax/naming/spi/StateFactory.java:
917         Import cleanup.
918
919 2004-10-21  Michael Koch  <konqueror@gmx.de>
920
921         * javax/crypto/Cipher.java,
922         javax/crypto/EncryptedPrivateKeyInfo.java,
923         javax/crypto/ExemptionMechanism.java,
924         javax/crypto/KeyAgreement.java,
925         javax/crypto/KeyGenerator.java,
926         javax/crypto/Mac.java,
927         javax/crypto/SecretKeyFactory.java,
928         javax/crypto/SecretKeyFactorySpi.java,
929         javax/crypto/spec/SecretKeySpec.java:
930         Import cleanup.
931
932 2004-10-21  Michael Koch  <konqueror@gmx.de>
933
934         * java/security/AlgorithmParameterGenerator.java,
935         java/security/AlgorithmParameters.java,
936         java/security/AlgorithmParametersSpi.java,
937         java/security/AllPermission.java,
938         java/security/BasicPermission.java,
939         java/security/Certificate.java,
940         java/security/CodeSource.java,
941         java/security/DigestInputStream.java,
942         java/security/DigestOutputStream.java,
943         java/security/GuardedObject.java,
944         java/security/KeyFactory.java,
945         java/security/KeyFactorySpi.java,
946         java/security/KeyPairGenerator.java,
947         java/security/KeyStore.java,
948         java/security/KeyStoreSpi.java,
949         java/security/Permissions.java,
950         java/security/Security.java,
951         java/security/Signature.java,
952         java/security/UnresolvedPermission.java,
953         java/security/cert/CertPathBuilder.java,
954         java/security/cert/CertPathValidator.java,
955         java/security/cert/CertStore.java,
956         java/security/cert/Certificate.java,
957         java/security/cert/CertificateFactory.java,
958         java/security/cert/PolicyQualifierInfo.java,
959         java/security/cert/TrustAnchor.java,
960         java/security/cert/X509CRL.java,
961         java/security/cert/X509CRLSelector.java,
962         java/security/cert/X509CertSelector.java:
963         Import cleanup.
964
965 2004-10-21  Michael Koch  <konqueror@gmx.de>
966
967         * java/rmi/MarshalledObject.java,
968         java/rmi/Naming.java,
969         java/rmi/activation/Activatable.java,
970         java/rmi/activation/ActivationGroup.java,
971         java/rmi/activation/ActivationGroupDesc.java,
972         java/rmi/activation/ActivationInstantiator.java,
973         java/rmi/activation/ActivationMonitor.java,
974         java/rmi/activation/ActivationSystem.java,
975         java/rmi/activation/Activator.java,
976         java/rmi/registry/LocateRegistry.java,
977         java/rmi/registry/Registry.java,
978         java/rmi/server/LogStream.java,
979         java/rmi/server/ObjID.java,
980         java/rmi/server/RMIClientSocketFactory.java,
981         java/rmi/server/RMIServerSocketFactory.java,
982         java/rmi/server/RMISocketFactory.java,
983         java/rmi/server/RemoteCall.java,
984         java/rmi/server/RemoteServer.java,
985         java/rmi/server/ServerRef.java,
986         java/rmi/server/UID.java,
987         java/rmi/server/UnicastRemoteObject.java:
988         Import cleanup.
989
990 2004-10-21  Tom Tromey  <tromey@redhat.com>
991
992         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
993         exception if we hit EOF of `in'.
994         (read): Handle case where inflating returns -1.
995
996 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
997
998         * gnu/java/nio/channels/natFileChannelPosix.cc
999         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
1000         argument instead of 'long *'.
1001
1002 2004-10-21  Tom Tromey  <tromey@redhat.com>
1003
1004         * java/util/ResourceBundle.java (tryBundle): Also ignore
1005         ClassCastException.
1006
1007 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
1008
1009         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
1010         for all sh*-*-linux* targets.
1011         * configure: Regenerate.
1012         * include/sh-signal.h: New file.
1013
1014 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
1015
1016         * java/lang/ieeefp.h: Add m32r support.
1017
1018 2004-10-20  Andreas Schwab  <schwab@suse.de>
1019
1020         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
1021         to uaddr, not int.
1022         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
1023         Likewise.
1024
1025 2004-10-20  Michael Koch  <konqueror@gmx.de>
1026
1027         * javax/print/attribute/standard/ColorSupported.java,
1028         javax/print/attribute/standard/Compression.java,
1029         javax/print/attribute/standard/Copies.java,
1030         javax/print/attribute/standard/CopiesSupported.java,
1031         javax/print/attribute/standard/DateTimeAtCompleted.java,
1032         javax/print/attribute/standard/DateTimeAtCreation.java,
1033         javax/print/attribute/standard/DateTimeAtProcessing.java,
1034         javax/print/attribute/standard/DocumentName.java,
1035         javax/print/attribute/standard/Fidelity.java,
1036         javax/print/attribute/standard/Finishings.java,
1037         javax/print/attribute/standard/JobHoldUntil.java,
1038         javax/print/attribute/standard/JobImpressions.java,
1039         javax/print/attribute/standard/JobImpressionsCompleted.java,
1040         javax/print/attribute/standard/JobImpressionsSupported.java,
1041         javax/print/attribute/standard/JobKOctets.java,
1042         javax/print/attribute/standard/JobKOctetsProcessed.java,
1043         javax/print/attribute/standard/JobKOctetsSupported.java,
1044         javax/print/attribute/standard/JobMediaSheets.java,
1045         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
1046         javax/print/attribute/standard/JobMediaSheetsSupported.java,
1047         javax/print/attribute/standard/JobMessageFromOperator.java,
1048         javax/print/attribute/standard/JobName.java,
1049         javax/print/attribute/standard/JobOriginatingUserName.java,
1050         javax/print/attribute/standard/JobPriority.java,
1051         javax/print/attribute/standard/JobPrioritySupported.java,
1052         javax/print/attribute/standard/JobSheets.java,
1053         javax/print/attribute/standard/JobState.java,
1054         javax/print/attribute/standard/JobStateReason.java,
1055         javax/print/attribute/standard/JobStateReasons.java,
1056         javax/print/attribute/standard/Media.java,
1057         javax/print/attribute/standard/MultipleDocumentHandling.java,
1058         javax/print/attribute/standard/NumberOfDocuments.java,
1059         javax/print/attribute/standard/NumberOfInterveningJobs.java,
1060         javax/print/attribute/standard/NumberUp.java,
1061         javax/print/attribute/standard/NumberUpSupported.java,
1062         javax/print/attribute/standard/OrientationRequested.java,
1063         javax/print/attribute/standard/OutputDeviceAssigned.java,
1064         javax/print/attribute/standard/PDLOverrideSupported.java,
1065         javax/print/attribute/standard/PageRanges.java,
1066         javax/print/attribute/standard/PagesPerMinute.java,
1067         javax/print/attribute/standard/PagesPerMinuteColor.java,
1068         javax/print/attribute/standard/PrintQuality.java,
1069         javax/print/attribute/standard/PrinterInfo.java,
1070         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1071         javax/print/attribute/standard/PrinterLocation.java,
1072         javax/print/attribute/standard/PrinterMakeAndModel.java,
1073         javax/print/attribute/standard/PrinterMessageFromOperator.java,
1074         javax/print/attribute/standard/PrinterMoreInfo.java,
1075         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1076         javax/print/attribute/standard/PrinterName.java,
1077         javax/print/attribute/standard/PrinterStateReason.java,
1078         javax/print/attribute/standard/PrinterStateReasons.java,
1079         javax/print/attribute/standard/PrinterURI.java,
1080         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1081         javax/print/attribute/standard/RequestingUserName.java:
1082         Reorganized imports and removed redundant final modifiers.
1083
1084 2004-10-20  Michael Koch  <konqueror@gmx.de>
1085
1086         * javax/security/sasl/SaslClient.java,
1087         javax/security/sasl/SaslClientFactory.java,
1088         javax/security/sasl/SaslException.java,
1089         javax/security/sasl/SaslServer.java,
1090         javax/security/sasl/SaslServerFactory.java:
1091         Remvoed CVS tags.
1092
1093 2004-10-20  Michael Koch  <konqueror@gmx.de>
1094
1095         * javax/security/auth/login/NullConfiguration.java,
1096         javax/security/auth/x500/X500Principal.java,
1097         javax/security/cert/X509Certificate.java,
1098         javax/security/sasl/AuthenticationException.java,
1099         javax/security/sasl/AuthorizeCallback.java,
1100         javax/security/sasl/RealmCallback.java,
1101         javax/security/sasl/RealmChoiceCallback.java,
1102         javax/security/sasl/Sasl.java,
1103         javax/security/sasl/SaslClient.java,
1104         javax/security/sasl/SaslClientFactory.java,
1105         javax/security/sasl/SaslException.java,
1106         javax/security/sasl/SaslServer.java,
1107         javax/security/sasl/SaslServerFactory.java:
1108         Cleaned up import statements and copyright notices.
1109
1110 2004-10-20  Michael Koch  <konqueror@gmx.de>
1111
1112         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1113
1114 2004-10-20  Michael Koch  <konqueror@gmx.de>
1115
1116         * java/sql/Timestamp.java,
1117         java/text/AttributedCharacterIterator.java,
1118         java/text/AttributedString.java,
1119         java/util/zip/CheckedOutputStream.java,
1120         java/util/zip/DeflaterOutputStream.java,
1121         java/util/zip/ZipFile.java,
1122         javax/crypto/Cipher.java,
1123         javax/crypto/ExemptionMechanismException.java,
1124         javax/crypto/SecretKey.java,
1125         javax/crypto/SecretKeyFactory.java,
1126         javax/naming/directory/ModificationItem.java,
1127         javax/naming/directory/SearchControls.java,
1128         javax/naming/event/NamingListener.java,
1129         javax/naming/ldap/Control.java,
1130         javax/naming/ldap/ExtendedResponse.java,
1131         javax/net/ssl/SSLSocketFactory.java:
1132         Reorganized imports and fixed copyright headers.
1133
1134 2004-10-20  Michael Koch  <konqueror@gmx.de>
1135
1136         * java/util/logging/ConsoleHandler.java,
1137         java/util/logging/ErrorManager.java,
1138         java/util/logging/FileHandler.java,
1139         java/util/logging/Filter.java,
1140         java/util/logging/Formatter.java,
1141         java/util/logging/Handler.java,
1142         java/util/logging/Level.java,
1143         java/util/logging/LogManager.java,
1144         java/util/logging/LogRecord.java,
1145         java/util/logging/Logger.java,
1146         java/util/logging/LoggingPermission.java,
1147         java/util/logging/MemoryHandler.java,
1148         java/util/logging/SimpleFormatter.java,
1149         java/util/logging/SocketHandler.java,
1150         java/util/logging/StreamHandler.java,
1151         java/util/logging/XMLFormatter.java:
1152         Standardized copyrigth header.
1153
1154 2004-10-20  Michael Koch  <konqueror@gmx.de>
1155
1156         * java/security/AlgorithmParameterGenerator.java,
1157         java/security/AlgorithmParameters.java,
1158         java/security/DigestInputStream.java,
1159         java/security/Identity.java,
1160         java/security/KeyFactory.java,
1161         java/security/KeyPairGenerator.java,
1162         java/security/KeyStore.java,
1163         java/security/MessageDigest.java,
1164         java/security/MessageDigestSpi.java,
1165         java/security/Policy.java,
1166         java/security/SecureRandom.java,
1167         java/security/Security.java,
1168         java/security/Signature.java,
1169         java/security/SignatureSpi.java,
1170         java/security/cert/CertPathBuilder.java,
1171         java/security/cert/CertPathValidator.java,
1172         java/security/cert/CertStore.java,
1173         java/security/cert/Certificate.java,
1174         java/security/cert/CertificateFactory.java,
1175         java/security/cert/PolicyQualifierInfo.java,
1176         java/security/cert/TrustAnchor.java,
1177         java/security/cert/X509CRL.java,
1178         java/security/cert/X509CRLEntry.java,
1179         java/security/cert/X509Certificate.java,
1180         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1181         Import statements reorganized, some little formatting issues,
1182         used java-style array declarations, added comments in empty catch
1183         blocks.
1184
1185 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1186
1187         * java/security/Security.java
1188         (static): Use AccessController.doPrivileged to get system property.
1189
1190 2004-10-18  Sven de Marothy  <sven@physto.se>
1191
1192         * java/nio/ByteBufferHelper.java
1193         (putDouble): Use Double.toRawLongBits instead.
1194
1195 2004-10-18  Mark Wielaard  <mark@klomp.org>
1196         Andrew Haley  <aph@redhat.com>
1197
1198         * testsuite/libjava.lang/ExtraClassLoader.java: New.
1199
1200 2004-10-18  Andrew Haley  <aph@redhat.com>
1201
1202         PR java/18036:
1203         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1204         and correct logic used to find interpreter.
1205         
1206 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1207
1208         * java/util/logging/LogManager.java
1209         (findAncestor): Fixed IndexOutOfBoundsException.
1210
1211 2004-10-18  Michael Koch  <konqueror@gmx.de>
1212
1213         * java/io/BufferedInputStream.java: Fixed @author tag.
1214         (read): Simplified expression.
1215         (read): Merged javadoc a bit more.
1216         (read): Renamed 'remain' to 'totalBytesRead'.
1217         * java/io/DataInputStream.java,
1218         java/io/DataOutputStream.java,
1219         java/io/ObjectInputStream.java,
1220         java/io/ObjectOutputStream.java:
1221         Reworked modifier order.
1222
1223 2004-10-18  Michael Koch  <konqueror@gmx.de>
1224
1225         * java/net/Inet4Address.java: Merged file header and javadocs.
1226         * java/net/Inet6Address.java: Likewise.
1227         * java/net/InetAddress.java
1228         (getCanonicalHostName): Create Inet4Address object instead of
1229         InetAddress and add comment regarding IPv6.
1230         (toString): Simplified.
1231
1232 2004-10-18  Michael Koch  <konqueror@gmx.de>
1233
1234         * gnu/java/net/protocol/http/Connection.java,
1235         java/nio/MappedByteBufferImpl.java,
1236         java/text/RuleBasedCollator.java,
1237         java/util/ResourceBundle.java:
1238         Reworked import statements.
1239
1240 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1241
1242         * java/security/IdentityScope.java
1243         (systemScope): Removed useless initializer.
1244         * java/security/Policy.java
1245         (currentPolicy): Likewise.
1246
1247 2004-10-18  Michael Koch  <konqueror@gmx.de>
1248
1249         * java/lang/System.java: Revert accidential change.
1250
1251 2004-10-18  Michael Koch  <konqueror@gmx.de>
1252
1253         * java/lang/Math.java,
1254         java/lang/Package.java,
1255         java/lang/Runtime.java,
1256         java/lang/StrictMath.java,
1257         java/lang/System.java,
1258         java/lang/Thread.java,
1259         java/lang/ThreadLocal.java,
1260         java/lang/Void.java:
1261         Reworked import statements, HTML in javadocs and modifier orders.
1262
1263 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1264
1265         * java/util/Timer.java
1266         (nr): Removed useless initializer.
1267         * java/util/logging/LogRecord.java
1268         (lastSeqNum): Likewise.
1269         * javax/naming/spi/NamingManager.java
1270         (icfb, ofb): Likewise.
1271
1272 2004-10-18  Michael Koch  <konqueror@gmx.de>
1273
1274         * gnu/java/net/PlainDatagramSocketImpl.java:
1275         Reworked import statements.
1276         * gnu/java/security/provider/DSAParameters.java:
1277         Fixed copyrigth years.
1278         * java/net/JarURLConnection.java:
1279         Fixed HTML in @author tags.
1280         
1281
1282 2004-10-18  Michael Koch  <konqueror@gmx.de>
1283
1284         * java/rmi/activation/ActivationSystem.java
1285         (SYSTEM_PORT): Initialize with correct port number.
1286
1287 2004-10-18  Michael Koch  <konqueror@gmx.de>
1288
1289         * java/lang/reflect/Proxy.java: Improved javadocs.
1290
1291 2004-10-18  Michael Koch  <konqueror@gmx.de>
1292
1293         * java/lang/reflect/AccessibleObject.java
1294         (checkPermission): Removed redundant final modifier.
1295         (secureSetAccessible): Likewise.
1296         * java/lang/reflect/Proxy.java:
1297         Reworked import statements.
1298         (generate): Removed redundant final modifier.
1299         * java/lang/reflect/ReflectPermission.java:
1300         Reorder package declaration and import statement.
1301
1302 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1303
1304         * java/lang/reflect/Proxy.java
1305         (count): Removed useless initializer.
1306
1307 2004-10-17  Michael Koch  <konqueror@gmx.de>
1308
1309         * java/net/BindException.java,
1310         java/net/ConnectException.java,
1311         java/net/ContentHandler.java,
1312         java/net/ContentHandlerFactory.java,
1313         java/net/DatagramPacket.java,
1314         java/net/DatagramSocket.java,
1315         java/net/DatagramSocketImpl.java,
1316         java/net/DatagramSocketImplFactory.java,
1317         java/net/FileNameMap.java,
1318         java/net/HttpURLConnection.java,
1319         java/net/MalformedURLException.java,
1320         java/net/MulticastSocket.java,
1321         java/net/NetworkInterface.java,
1322         java/net/NoRouteToHostException.java,
1323         java/net/PasswordAuthentication.java,
1324         java/net/PortUnreachableException.java,
1325         java/net/ProtocolException.java,
1326         java/net/ServerSocket.java,
1327         java/net/Socket.java,
1328         java/net/SocketException.java,
1329         java/net/SocketImpl.java,
1330         java/net/SocketImplFactory.java,
1331         java/net/SocketOptions.java,
1332         java/net/SocketPermission.java,
1333         java/net/SocketTimeoutException.java,
1334         java/net/URI.java,
1335         java/net/URISyntaxException.java,
1336         java/net/URL.java,
1337         java/net/URLDecoder.java,
1338         java/net/URLEncoder.java,
1339         java/net/URLStreamHandler.java,
1340         java/net/URLStreamHandlerFactory.java,
1341         java/net/UnknownHostException.java,
1342         java/net/UnknownServiceException.java:
1343         Big import statement and @author tag cleanup.
1344
1345 2004-10-17  Michael Koch  <konqueror@gmx.de>
1346
1347         * gnu/java/security/OID.java,
1348         gnu/java/security/provider/DSAParameters.java,
1349         gnu/java/security/provider/DSASignature.java,
1350         gnu/java/security/x509/X500DistinguishedName.java,
1351         gnu/java/security/x509/X509CRL.java:
1352         Import statements cleaned up.
1353
1354 2004-10-16  Michael Koch  <konqueror@gmx.de>
1355
1356         * gnu/java/nio/NIODatagramSocket.java,
1357         gnu/java/nio/ServerSocketChannelImpl.java:
1358         Reorganized import statements.
1359
1360 2004-10-16  Michael Koch  <konqueror@gmx.de>
1361
1362         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1363         gnu/java/rmi/rmic/RMIC.java,
1364         gnu/java/rmi/server/RMIHashes.java,
1365         gnu/java/rmi/server/RMIObjectInputStream.java,
1366         gnu/java/rmi/server/RMIObjectOutputStream.java,
1367         gnu/java/rmi/server/UnicastConnection.java,
1368         gnu/java/rmi/server/UnicastConnectionManager.java,
1369         gnu/java/rmi/server/UnicastRemoteCall.java,
1370         gnu/java/rmi/server/UnicastServer.java,
1371         gnu/java/rmi/server/UnicastServerRef.java,
1372         java/rmi/MarshalledObject.java,
1373         java/rmi/Naming.java,
1374         java/rmi/RMISecurityManager.java,
1375         java/rmi/Remote.java,
1376         java/rmi/activation/Activatable.java,
1377         java/rmi/activation/ActivationDesc.java,
1378         java/rmi/activation/ActivationGroup.java,
1379         java/rmi/activation/ActivationGroupDesc.java,
1380         java/rmi/activation/ActivationGroupID.java,
1381         java/rmi/activation/ActivationID.java,
1382         java/rmi/activation/ActivationInstantiator.java,
1383         java/rmi/activation/ActivationMonitor.java,
1384         java/rmi/activation/ActivationSystem.java,
1385         java/rmi/activation/Activator.java,
1386         java/rmi/dgc/DGC.java,
1387         java/rmi/dgc/Lease.java,
1388         java/rmi/dgc/VMID.java,
1389         java/rmi/registry/LocateRegistry.java,
1390         java/rmi/registry/Registry.java,
1391         java/rmi/registry/RegistryHandler.java,
1392         java/rmi/server/LoaderHandler.java,
1393         java/rmi/server/LogStream.java,
1394         java/rmi/server/ObjID.java,
1395         java/rmi/server/Operation.java,
1396         java/rmi/server/RMIClassLoader.java,
1397         java/rmi/server/RMIClassLoaderSpi.java,
1398         java/rmi/server/RMIClientSocketFactory.java,
1399         java/rmi/server/RMIFailureHandler.java,
1400         java/rmi/server/RMIServerSocketFactory.java,
1401         java/rmi/server/RMISocketFactory.java,
1402         java/rmi/server/RemoteCall.java,
1403         java/rmi/server/RemoteObject.java,
1404         java/rmi/server/RemoteRef.java,
1405         java/rmi/server/RemoteServer.java,
1406         java/rmi/server/RemoteStub.java,
1407         java/rmi/server/ServerRef.java,
1408         java/rmi/server/Skeleton.java,
1409         java/rmi/server/SkeletonMismatchException.java,
1410         java/rmi/server/UID.java,
1411         java/rmi/server/UnicastRemoteObject.java,
1412         java/rmi/server/Unreferenced.java:
1413         File headers and import statements cleaned up.
1414
1415 2004-10-16  Michael Koch  <konqueror@gmx.de>
1416
1417         * libjava/gnu/java/nio/charset/UTF_16.java,
1418         libjava/gnu/java/nio/charset/UTF_16BE.java,
1419         libjava/gnu/java/nio/charset/UTF_16LE.java,
1420         libjava/java/nio/ByteOrder.java,
1421         libjava/java/nio/MappedByteBuffer.java,
1422         libjava/java/nio/channels/Channels.java,
1423         libjava/java/nio/channels/spi/SelectorProvider.java,
1424         libjava/java/nio/charset/Charset.java:
1425         Cleanup.
1426
1427 2004-10-16  Michael Koch  <konqueror@gmx.de>
1428
1429         * gnu/java/nio/charset/UTF_16Encoder.java
1430         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1431
1432 2004-10-16  Michael Koch  <konqueror@gmx.de>
1433
1434         * java/math/BigDecimal.java, java/math/BigInteger.java:
1435         Reorganized import statements, removed redundant and
1436         reorganized modifiers.
1437
1438 2004-10-16  Michael Koch  <konqueror@gmx.de>
1439
1440         * gnu/java/beans/ExplicitBeanInfo.java:
1441         Explicitely import java.awt.Image.
1442         (getIcon): Fixed off-by-one error.
1443
1444 2004-10-15  Andrew Haley  <aph@redhat.com>
1445
1446         * Makefile.am (nat_files, xlib_nat_files): New.
1447         * Makefile.in: Regenerate.
1448
1449 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1450
1451         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1452         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1453
1454 2004-10-13  Andrew Haley  <aph@redhat.com>
1455
1456         * interpret.cc (_Jv_InterpMethod::run): Initialize
1457         _Jv_StartOfInterpreter.
1458         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1459         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1460         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1461         _Unwind_FindEnclosingFunction to discover whether PC is within the
1462         interpreter.
1463
1464 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1465
1466         PR libgcj/17903:
1467         * testsuite/libjava.lang/md5test.java: New file.
1468         * testsuite/libjava.lang/md5test.out: Likewise.
1469         * testsuite/libjava.lang/shatest.java: Likewise.
1470         * testsuite/libjava.lang/shatest.out: Likewise.
1471
1472 2004-10-11  Richard Henderson  <rth@redhat.com>
1473
1474         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1475         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1476
1477 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1478
1479         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1480         field as a DST boundary may have been crossed.
1481         * java/util/GregorianCalendar.java (add): Throw 
1482         IllegalArgumentException on attempt to add to DST_OFFSET or 
1483         ZONE_OFFSET fields. Update javadoc.
1484
1485 2004-10-09  Michael Koch  <konqueror@gmx.de>
1486
1487         * java/io/CharArrayWriter.java
1488         (resize): Removed redundant 'final' modifier.
1489         * java/io/DataInputStream.java
1490         (readFully): Throw IndexOutOfBoundsException of len < 0.
1491         * java/io/FileDescriptor.java,
1492         java/io/FileInputStream.java,
1493         java/io/FileOutputStream.java,
1494         java/io/ObjectOutputStream.java,
1495         java/io/ObjectStreamClass.java,
1496         java/io/PipedInputStream.java,
1497         java/io/RandomAccessFile.java:
1498         Reorganized import statements.
1499
1500 2004-10-09  Michael Koch  <konqueror@gmx.de>
1501
1502         * gnu/java/rmi/rmic/RMIC.java,
1503         gnu/java/rmi/server/RMIHashes.java,
1504         gnu/java/rmi/server/RMIObjectInputStream.java,
1505         gnu/java/rmi/server/UnicastConnection.java,
1506         gnu/java/rmi/server/UnicastConnectionManager.java,
1507         gnu/java/rmi/server/UnicastRemoteCall.java,
1508         gnu/java/rmi/server/UnicastServerRef.java:
1509         Reworked import statements and fixed file headers.
1510
1511 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1512
1513         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1514         emission rule.
1515         * configure: Rebuilt.
1516
1517 2004-09-30  Tom Tromey  <tromey@redhat.com>
1518
1519         * java/text/MessageFormat.java (Field): Constructor now
1520         protected.
1521
1522 2004-09-30  Tom Tromey  <tromey@redhat.com>
1523
1524         * javax/crypto/MacSpi.java: Fixed typo.
1525
1526 2004-09-30  Michael Koch  <konqueror@gmx.de>
1527
1528         * java/net/InetAddress.java: Reformatted.
1529         (loopback): Initialize with Inet4Address object.
1530         (static): Initialize ANY_IF with Inet4Address object.
1531         (InetAddress): Removed unused package-private constructor.
1532
1533 2004-09-30  Michael Koch  <konqueror@gmx.de>
1534
1535         * java/beans/Beans.java,
1536         java/beans/EventHandler.java,
1537         java/beans/EventSetDescriptor.java,
1538         java/beans/Introspector.java,
1539         java/beans/PropertyEditorManager.java,
1540         java/beans/beancontext/BeanContext.java,
1541         java/beans/beancontext/BeanContextChild.java,
1542         java/beans/beancontext/BeanContextChildSupport.java,
1543         java/beans/beancontext/BeanContextMembershipEvent.java:
1544         Reordered import statements and removed redundant modifiers.
1545
1546 2004-09-29  Tom Tromey  <tromey@redhat.com>
1547
1548         PR libgcj/17715:
1549         * Makefile.in: Rebuilt.
1550         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1551         files.
1552         (all_property_files): New macro.
1553
1554         * Makefile.in: Rebuilt.
1555         * Makefile.am (ordinary_java_source_files): Re-sorted.
1556         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1557
1558 2004-09-28  Tom Tromey  <tromey@redhat.com>
1559
1560         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1561
1562         PR libgcj/17222:
1563         * Makefile.am (libgcj.la): Restored.
1564         * Makefile.in: Rebuilt.
1565
1566 2004-09-28  Michael Koch  <konqueror@gmx.de>
1567
1568         * java/net/URLConnection.java: Reformatted.
1569         * java/net/URLClassLoader.java: Reformatted.
1570         (getContent): Reordered return of content.
1571         (getContentHandler): Don't check for null explicitely.
1572
1573 2004-09-27  Michael Koch  <konqueror@gmx.de>
1574
1575         * java/io/BufferedInputStream.java
1576         (BufferedInputStream): Added Jeroen Frijters to authors.
1577         (count): Don't explicitely initialize with default value.
1578         (pos): Likewise.
1579         (marklimit): Likewise.
1580         (read): Changed boolean expression to match GNU classpath' version.
1581         (reset): Add proper message to exception.
1582         (skip): Check for closed stream.
1583         (refill): Likewise.
1584
1585 2004-09-26  Per Bothner  <per@bothner.com>
1586
1587         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1588         avoid warnings in the non-POSIX_VERSION case.
1589         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1590         so place it inside an #if block.
1591         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1592         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1593         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1594         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1595
1596 2004-09-26  Per Bothner  <per@bothner.com>
1597
1598         * prims.cc (process_gcj_properties):  Optimization.
1599
1600 2004-09-26  Per Bothner  <per@bothner.com>
1601
1602         * java/util/Collections.java (sort):  Copy from array in forwards
1603         order, rather than reverse order which may be much less efficient.
1604
1605 2004-09-26  Mark Wielaard  <mark@klomp.org>
1606
1607         * java/lang/System.java (properties): Make package private.
1608         * java/lang/Throwable.java (StaticData.nl): Initialize through
1609         directly accessing System.properties.getProperty().
1610
1611         * java/lang/Throwable.java (nl): Remove static field.
1612         (StaticData): New private static inner class.
1613         (stackTraceStringBuffer): Use StaticData.nl.
1614
1615 2004-09-26  Casey Marshall <csm@gnu.org>
1616
1617         * java/security/ProtectionDomain.java
1618         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1619         `true'.
1620
1621         * java/security/SecureClassLoader.java
1622         (defineClass): make protection domain dynamically bound.
1623         (getPermissions): call `getCurrentPolicy' to avoid permission
1624         check.
1625
1626 2004-09-25  Mark Wielaard  <mark@klomp.org>
1627
1628         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1629         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1630         * Makefile.in: Regenerated.
1631
1632         * gcj/javaprims.h: Regenerated.
1633
1634         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1635         (getDefaultTimeZone): Make package private. Check that GMToffset
1636         contains at least one digit.
1637         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1638         VMTimeZone.
1639         * util/VMTimeZone.java: New file with above methods.
1640
1641         * java/util/natTimeZone.cc: Removed (renamed).
1642         * java/util/natVMTimeZone.cc: Added (renamed).
1643
1644 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1645
1646         * java/util/TimeZone.java
1647         (getDefaultTimeZone): Fixed test to distinguish between hours and
1648         minutes in specified timezone.
1649
1650 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1651
1652         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1653         handling of default package. (generate): Removed confused comments
1654         and code about making Method and Field accessible.
1655
1656 2004-09-25  Tom Tromey  <tromey@redhat.com>
1657
1658         PR java/17500:
1659         * testsuite/libjava.compile/pr17500.java: New file.
1660
1661 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1662             Mark Wielaard  <mark@klomp.org>
1663
1664         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1665         * gnu/regexp/RETokenLookAhead.java: New file.
1666
1667         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1668         * Makefile.in: Regenerated.
1669
1670 2004-09-25  Michael Koch  <konqueror@gmx.de>
1671
1672         * java/io/ObjectStreamField.java:
1673         Removed unused import statement.
1674
1675 2004-09-24  Tom Tromey  <tromey@redhat.com>
1676
1677         PR java/15656:
1678         * testsuite/libjava.compile/pr15656.xfail: New file.
1679         * testsuite/libjava.compile/pr15656.java: new file.
1680
1681         PR java/16789:
1682         * testsuite/libjava.lang/pr16789.out: New file.
1683         * testsuite/libjava.lang/pr16789.java: New file.
1684
1685 2004-09-24  Andrew Haley  <aph@redhat.com>
1686
1687         PR java/16927
1688         * testsuite/libjava.compile/AssertBug.java: New file.
1689
1690 2004-09-24  Casey Marshall <csm@gnu.org>
1691
1692         * java/util/PropertyPermissionCollection.java
1693         (implies): avoid infinite loop.
1694
1695 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1696
1697         * javax/security/auth/PrivateCredentialPermission.java
1698         (PrivateCredentialPermission): added serialization UID
1699
1700
1701 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1702
1703         * gnu/java/rmi/server/UnicastServer.java
1704         (incomingMessageCall): Added code to handle Errors.
1705         * gnu/java/rmi/server/UnicastServerRef.java
1706         (incomingMessageCall): Added code to handle Errors.
1707
1708
1709 2004-09-24  Tom Tromey  <tromey@redhat.com>
1710
1711         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1712         (definedPackages): Likewise.
1713
1714 2004-09-24  Michael Koch  <konqueror@gmx.de>
1715
1716         * java/io/ObjectInputStream.java:
1717         Re-ordered imports.
1718
1719 2004-09-24  Casey Marshall <csm@gnu.org>
1720
1721         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1722         `ClassNotFoundException'.
1723
1724 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1725
1726         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1727         of Externalizable classes to ObjectStreamClass.
1728         * java/io/ObjectStreamClass.java (newInstance): New method to
1729         instantiate Externalizable (while ignoring the accessibility of
1730         the constructor). (constructor): New field to cache the constructor.
1731
1732 2004-09-24  Mark Wielaard  <mark@klomp.org>
1733
1734         * java/net/URL.java (systemClassLoader): New static field.
1735         (getURLStreamHandler): Always use system/application classloader
1736         for finding URLStreamhandler. Remove unecessary instanceof checks.
1737
1738 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1739
1740         * java/net/URL.java
1741         (set): This method now matches the behaviour of the JDK.
1742         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1743
1744 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1745
1746         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1747
1748 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1749
1750         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1751         Don't set authority if host isn't specified.
1752
1753 2004-09-24  Michael Koch  <konqueror@gmx.de>
1754
1755         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1756         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1757         * gnu/java/nio/VMPipe.java,
1758         gnu/java/nio/VMSelector.java:
1759         New files.
1760         * gnu/java/nio/natPipeImplEcos.cc,
1761         gnu/java/nio/natPipeImplPosix.cc,
1762         gnu/java/nio/natPipeImplWin32.cc:
1763         Ported to VMPipe.
1764         * gnu/java/nio/natSelectorImplEcos.cc,
1765         gnu/java/nio/natSelectorImplPosix.cc,
1766         gnu/java/nio/natSelectorImplWin32.cc:
1767         Ported to VMSelector.
1768         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1769         gnu/java/nio/VMSelector.java.
1770         * Makefile.in: Regenerated.
1771
1772 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1773
1774         * java/lang/StackTraceElement.java
1775         (className): Renamed field to declaringClass to be compatible
1776         with Sun serialization format.
1777
1778 2004-09-23  Michael Koch  <konqueror@gmx.de>
1779
1780         * java/applet/AppletContext.java,
1781         java/applet/Applet.java,
1782         java/applet/AppletStub.java,
1783         java/applet/AudioClip.java:
1784         Jalopied and checkstyle clean.
1785
1786 2004-09-23  Mark Wielaard  <mark@klomp.org>
1787
1788         * java/util/Collections.java
1789         (binarySearch(List, Object, Comparator)): Explicitly
1790         reverse direction in list iterator.
1791         (rotate): Just return when list is empty.
1792
1793 2004-09-23  Tom Tromey  <tromey@redhat.com>
1794
1795         PR java/17329:
1796         * testsuite/libjava.compile/pr17329.java: New file.
1797
1798         PR java/17380:
1799         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1800         9.2-implicit-7.
1801
1802 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1803
1804         * Makefile.am: Run aclocal with -I ../config
1805         * acinclude.m4: Delete macros picked up from ../config and tidy.
1806         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1807         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1808         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1809
1810 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1811
1812         * aclocal.m4: Regenerate with aclocal 1.9.2.
1813         * configure: Regenerate.
1814         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1815         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1816
1817 2004-09-22  David Daney  <ddaney@avtrex.com>
1818
1819         PR libgcj/17623
1820         * java/net/URL.java (URL): Copy userInfo from context.
1821         (getUserInfo): Return cached userInfo if present.
1822
1823 2004-09-22  Tom Tromey  <tromey@redhat.com>
1824
1825         PR libgcj/6182:
1826         * mauve-libgcj: Enable java.lang.Character tests.
1827
1828 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1829
1830         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1831         dependencies.
1832         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1833         * Makefile.in: Regenerated.
1834
1835 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1836
1837         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1838         * configure: Regenerate.
1839         * include/config.h.in: Likewise.
1840         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1842         macro to gtkpeer.h.
1843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1844         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1845         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1846         architectures.
1847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1848         Likewise.
1849
1850 2004-09-22  Tom Tromey  <tromey@redhat.com>
1851
1852         PR libgcj/14446:
1853         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1854         when comparing CRCs.
1855         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1856         field.
1857         (read()): New overload.
1858
1859 2004-09-21  Tom Tromey  <tromey@redhat.com>
1860
1861         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1862         Indentation fix.
1863
1864 2004-09-21  Michael Koch  <konqueror@gmx.de>
1865
1866         * java/net/Socket.java
1867         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1868
1869 2004-09-21  Casey Marshall  <csm@gnu.org>
1870
1871         * javax/crypto/MacSpi.java (clone): Provide meaningful
1872         implementation.
1873
1874 2004-09-21  Tom Tromey  <tromey@redhat.com>
1875
1876         PR libgcj/16869:
1877         * Makefile.in: Rebuilt.
1878         * Makefile.am (MOSTLYCLEANFILES): Removed.
1879         (mostlyclean-local): Remove header files.
1880
1881 2004-09-21  Casey Marshall  <csm@gnu.org>
1882
1883         * java/security/cert/X509CRLSelector.java:
1884         (match): remove unreachable try-catch clauses.
1885         Reported by: Dalibor Topic <robilad@kaffe.org>
1886
1887 2004-09-21  Mark Wielaard  <mark@klomp.org>
1888
1889         * java/util/TreeMap.java (root): Don't initialize.
1890         (TreeMap(Comparator)): Call fabricateTree(0).
1891         (fabricateTree): Initialize root and size when count is 0.
1892
1893 2004-09-21  Sven de Marothy <sven@physto.se>
1894
1895         * java/nio/ByteBuffer.java (hashCode): Implemented.
1896         * java/nio/CharBuffer.java: Likewise.
1897         * java/nio/DoubleBuffer.java: Likewise.
1898         * java/nio/FloatBuffer.java: Likewise.
1899         * java/nio/LongBuffer.java: Likewise.
1900         * java/nio/IntBuffer.java: Likewise.
1901         * java/nio/ShortBuffer.java: Likewise.
1902
1903 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1904
1905         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1906
1907 2004-09-21  Michael Koch  <konqueror@gmx.de>
1908
1909         * javax/net/ssl/SSLServerSocket.java:
1910         Removed comment about "Do not edit this file, it's generated.".
1911
1912 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1913
1914         Import the big Crypto/Jessie/Security merge from Classpath.
1915
1916         * Makefile.am: Add imported files.
1917         * Makefile.in: Regenerate.
1918
1919         2004-08-14  Casey Marshall <csm@gnu.org>
1920
1921         The Big Crypto Merge of 2004.
1922
1923         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1924         Crypto's version.
1925
1926         Files imported from GNU Crypto.
1927         * javax/crypto/BadPaddingException.java
1928         * javax/crypto/Cipher.java
1929         * javax/crypto/CipherInputStream.java
1930         * javax/crypto/CipherOutputStream.java
1931         * javax/crypto/CipherSpi.java
1932         * javax/crypto/EncryptedPrivateKeyInfo.java
1933         * javax/crypto/ExemptionMechanism.java
1934         * javax/crypto/ExemptionMechanismException.java
1935         * javax/crypto/ExemptionMechanismSpi.java
1936         * javax/crypto/IllegalBlockSizeException.java
1937         * javax/crypto/KeyAgreement.java
1938         * javax/crypto/KeyAgreementSpi.java
1939         * javax/crypto/KeyGenerator.java
1940         * javax/crypto/KeyGeneratorSpi.java
1941         * javax/crypto/Mac.java
1942         * javax/crypto/MacSpi.java
1943         * javax/crypto/Makefile.am
1944         * javax/crypto/NoSuchPaddingException.java
1945         * javax/crypto/NullCipher.java
1946         * javax/crypto/NullCipherImpl.java
1947         * javax/crypto/SealedObject.java
1948         * javax/crypto/SecretKey.java
1949         * javax/crypto/SecretKeyFactory.java
1950         * javax/crypto/SecretKeyFactorySpi.java
1951         * javax/crypto/ShortBufferException.java
1952         * javax/crypto/interfaces/DHKey.java
1953         * javax/crypto/interfaces/DHPrivateKey.java
1954         * javax/crypto/interfaces/DHPublicKey.java
1955         * javax/crypto/interfaces/PBEKey.java
1956         * javax/crypto/spec/DESKeySpec.java
1957         * javax/crypto/spec/DESedeKeySpec.java
1958         * javax/crypto/spec/DHGenParameterSpec.java
1959         * javax/crypto/spec/DHParameterSpec.java
1960         * javax/crypto/spec/DHPrivateKeySpec.java
1961         * javax/crypto/spec/DHPublicKeySpec.java
1962         * javax/crypto/spec/IvParameterSpec.java
1963         * javax/crypto/spec/PBEKeySpec.java
1964         * javax/crypto/spec/PBEParameterSpec.java
1965         * javax/crypto/spec/RC2ParameterSpec.java
1966         * javax/crypto/spec/RC5ParameterSpec.java
1967         * javax/crypto/spec/SecretKeySpec.java
1968         * javax/security/auth/AuthPermission.java
1969         * javax/security/auth/DestroyFailedException.java
1970         * javax/security/auth/Destroyable.java
1971         * javax/security/auth/Policy.java
1972         * javax/security/auth/PrivateCredentialPermission.java
1973         * javax/security/auth/RefreshFailedException.java
1974         * javax/security/auth/Refreshable.java
1975         * javax/security/auth/Subject.java
1976         * javax/security/auth/SubjectDomainCombiner.java
1977         * javax/security/auth/callback/Callback.java
1978         * javax/security/auth/callback/CallbackHandler.java
1979         * javax/security/auth/callback/ChoiceCallback.java
1980         * javax/security/auth/callback/ConfirmationCallback.java
1981         * javax/security/auth/callback/LanguageCallback.java
1982         * javax/security/auth/callback/NameCallback.java
1983         * javax/security/auth/callback/PasswordCallback.java
1984         * javax/security/auth/callback/TextInputCallback.java
1985         * javax/security/auth/callback/TextOutputCallback.java
1986         * javax/security/auth/callback/UnsupportedCallbackException.java
1987         * javax/security/auth/login/AccountExpiredException.java
1988         * javax/security/auth/login/AppConfigurationEntry.java
1989         * javax/security/auth/login/Configuration.java
1990         * javax/security/auth/login/CredentialExpiredException.java
1991         * javax/security/auth/login/FailedLoginException.java
1992         * javax/security/auth/login/LoginContext.java
1993         * javax/security/auth/login/LoginException.java
1994         * javax/security/auth/login/NullConfiguration.java
1995         * javax/security/auth/x500/X500PrivateCredential.java
1996         * javax/security/sasl/AuthenticationException.java
1997         * javax/security/sasl/AuthorizeCallback.java
1998         * javax/security/sasl/RealmCallback.java
1999         * javax/security/sasl/RealmChoiceCallback.java
2000         * javax/security/sasl/Sasl.java
2001         * javax/security/sasl/SaslClient.java
2002         * javax/security/sasl/SaslClientFactory.java
2003         * javax/security/sasl/SaslException.java
2004         * javax/security/sasl/SaslServer.java
2005         * javax/security/sasl/SaslServerFactory.java
2006         * org/ietf/jgss/ChannelBinding.java
2007         * org/ietf/jgss/GSSContext.java
2008         * org/ietf/jgss/GSSCredential.java
2009         * org/ietf/jgss/GSSException.java
2010         * org/ietf/jgss/GSSManager.java
2011         * org/ietf/jgss/GSSName.java
2012         * org/ietf/jgss/MessageProp.java
2013         * org/ietf/jgss/Oid.java
2014         * org/ietf/jgss/MessagesBundle.properties
2015
2016         Files imported from Jessie <http://www.nongnu.org/jessie/>
2017         * javax/net/ServerSocketFactory.java
2018         * javax/net/SocketFactory.java
2019         * javax/net/VanillaServerSocketFactory.java
2020         * javax/net/VanillaSocketFactory.java
2021         * javax/net/ssl/HandshakeCompletedEvent.java
2022         * javax/net/ssl/HandshakeCompletedListener.java
2023         * javax/net/ssl/HostnameVerifier.java
2024         * javax/net/ssl/HttpsURLConnection.java
2025         * javax/net/ssl/KeyManager.java
2026         * javax/net/ssl/KeyManagerFactory.java
2027         * javax/net/ssl/KeyManagerFactorySpi.java
2028         * javax/net/ssl/ManagerFactoryParameters.java
2029         * javax/net/ssl/SSLContext.java
2030         * javax/net/ssl/SSLContextSpi.java
2031         * javax/net/ssl/SSLException.java
2032         * javax/net/ssl/SSLHandshakeException.java
2033         * javax/net/ssl/SSLKeyException.java
2034         * javax/net/ssl/SSLPeerUnverifiedException.java
2035         * javax/net/ssl/SSLPermission.java
2036         * javax/net/ssl/SSLProtocolException.java
2037         * javax/net/ssl/SSLServerSocket.java
2038         * javax/net/ssl/SSLServerSocketFactory.java
2039         * javax/net/ssl/SSLSession.java
2040         * javax/net/ssl/SSLSessionBindingEvent.java
2041         * javax/net/ssl/SSLSessionBindingListener.java
2042         * javax/net/ssl/SSLSessionContext.java
2043         * javax/net/ssl/SSLSocket.java
2044         * javax/net/ssl/SSLSocketFactory.java
2045         * javax/net/ssl/TrivialHostnameVerifier.java
2046         * javax/net/ssl/TrustManager.java
2047         * javax/net/ssl/TrustManagerFactory.java
2048         * javax/net/ssl/TrustManagerFactorySpi.java
2049         * javax/net/ssl/X509KeyManager.java
2050         * javax/net/ssl/X509TrustManager.java
2051         * javax/security/cert/Certificate.java
2052         * javax/security/cert/CertificateEncodingException.java
2053         * javax/security/cert/CertificateException.java
2054         * javax/security/cert/CertificateExpiredException.java
2055         * javax/security/cert/CertificateNotYetValidException.java
2056         * javax/security/cert/CertificateParsingException.java
2057         * javax/security/cert/X509CertBridge.java
2058         * javax/security/cert/X509Certificate.java
2059
2060         2004-08-20  Casey Marshall  <csm@gnu.org>
2061
2062         * java/security/cert/X509CRLSelector.java: New file.
2063         * java/security/cert/X509CertSelector.java: New file.
2064
2065 2004-09-15  Michael Koch  <konqueror@gmx.de>
2066
2067         * gnu/java/net/protocol/file/Handler.java
2068         (openConnection): Don't throw exception if host part for file: URI is
2069         present. setURL() keeps file: protocol if ftp: protocol is not
2070         available.
2071
2072 2004-09-14  Richard Henderson  <rth@redhat.com>
2073
2074         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2075         value of sigsuspend.
2076
2077 2004-09-12  Tom Tromey  <tromey@redhat.com>
2078
2079         * javax/naming/CompoundName.java (CompoundName): Don't check for
2080         separator in "flat" case.
2081
2082 2004-09-12  Michael Koch  <konqueror@gmx.de>
2083
2084         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2085         AM_CONFIG_HEADER by AC_CONFIG_FILES.
2086         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2087         Regenerate.
2088
2089 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2090
2091         PR libgcj/14751
2092         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2093         handle in newly-allocated _Jv_Thread_t.
2094         (_Jv_ThreadDestroyData): Close thread handle.
2095         (_Jv_ThreadStart): Remove obsolete comment.
2096         Store handle of newly-created thread in _Jv_Thread_t.
2097         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2098         before including <windows.h>
2099         #define _Jv_HaveCondDestroy
2100
2101 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2102
2103         * java/lang/natThread.cc (finalize_native): Destroy
2104         join conditional variable and mutex if these destroy
2105         operations are supported.
2106
2107 2004-09-10  Dalibor Topic <robilad@kaffe.org>
2108
2109         * gnu/java/net/protocol/file/Connection.java (permission): New field.
2110         (DEFAULT_PERMISSION): New constant.
2111         (Connection): Create a FilePermission with permission to read file.
2112
2113 2004-09-10  Michael Koch  <konqueror@gmx.de>
2114
2115         * gnu/java/net/protocol/file/Connection.java
2116         (getLastModified): Moved around.
2117         (getPermission): Return stored permission.
2118
2119 2004-09-10  Michael Koch  <konqueror@gmx.de>
2120
2121         * Makefile.in: Regenerate.
2122
2123 2004-09-10  Michael Koch  <konqueror@gmx.de>
2124
2125         * Makefile.am: Reverted accidently commited stuff.
2126         * configure: Regenerated.
2127
2128 2004-09-10  Michael Koch  <konqueror@gmx.de>
2129
2130         * gnu/java/net/protocol/file/Connection.java
2131         (lineSeparator): Made non-final.
2132         (static): Removed.
2133         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2134         instead of StringBufferInputStream.
2135
2136 2004-09-10  Michael Koch  <konqueror@gmx.de>
2137
2138         * gnu/java/net/protocol/file/Connection.java
2139         (connect): Handle file is a directory case.
2140
2141 2004-09-10  Michael Koch  <konqueror@gmx.de>
2142
2143         * Makefile.am
2144         (xlib_includes): Removed.
2145         (AM_CPPFLAGS): Renamed from INCLUDES.
2146         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2147         * Makefile.in: Regenerate.
2148
2149 2004-09-09  Michael Koch  <konqueror@gmx.de>
2150
2151         * java/security/ProtectionDomain.java,
2152         * java/util/PropertyPermissionCollection.java:
2153         Fixed javadocs all over.
2154
2155 2004-09-09  Sven de Marothy  <sven@physto.se>
2156
2157         Patch from David Gilbert <david.gilbert@object-refinery.com>
2158         * java/lang/Comparable.java: Fixed documentation errors.
2159         * java/util/Arrays.java: Likewise.
2160
2161 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2162
2163         * java/net/Inet4Address.java
2164         (Inet4Address): Added comment to serialization UID.
2165         * java/text/Format.java
2166         (Format): Added comment to serialization UID.
2167
2168 2004-09-09  Michael Koch  <konqueror@gmx.de>
2169
2170         * java/lang/System.java
2171         (err): Fixed javadoci to point to setErr() and not setOut().
2172
2173 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2174
2175         (normalizePath): Added special case for windows systems.
2176
2177 2004-09-09  Michael Koch  <konqueror@gmx.de>
2178
2179         * java/io/File.java
2180         (dupSeparator): Made private.
2181         (File(URI)): New constructor.
2182         (getParentFile): Fixed javadoc.
2183         (createTempFile): Reformated.
2184         (setReadOnly): Added comment.
2185         (deleteOnExit): Merged javadoc with classpath version.
2186
2187 2004-09-09  Michael Koch  <konqueror@gmx.de>
2188
2189         * Makefile.am: Don't try to include deps.mk.
2190         * Makefile.in: Regenerated.
2191
2192 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
2193
2194         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2195         .d files.
2196         * configure: Rebuilt.
2197
2198 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
2199
2200         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2201         Changed pfn from static local to local.
2202
2203 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
2204             H.J. Lu  <hongjiu.lu@intel.com>
2205
2206         PR libgcj/17290
2207         * Makefile.am (GCJCOMPILE): Remove definition.
2208         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2209         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2210         * Makefile.in: Rebuilt.
2211
2212 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
2213
2214         * configure.ac (enable-gc-debug): Update help for new syntax.
2215         * configure: Regenerate.
2216
2217 2004-09-03  David Daney  <ddaney@avtrex.com>
2218
2219         * include/mips-signal.h: Update copyright.
2220
2221 2004-09-03  David Daney  <ddaney@avtrex.com>
2222
2223         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2224         * include/mips-signal.h: Added HANDLE_FPE support.
2225         
2226 2004-08-31  Michael Koch  <konqueror@gmx.de>
2227
2228         * javax/swing/plaf/basic/BasicTextAreaUI.java
2229         (create): New method.
2230         * javax/swing/text/DefaultHighlighter.java
2231         (DefaultHighlightPainter.debugRect): Removed.
2232         * javax/swing/text/StyleContext.java
2233         (DEFAULT_STYLE): New field.
2234
2235 2004-08-31  Michael Koch  <konqueror@gmx.de>
2236
2237         * javax/swing/plaf/basic/BasicLookAndFeel.java
2238         (initComponentDefaults): Add keybindings for selection.backward and
2239         selection-forward for text components.
2240         * javax/swing/plaf/basic/BasicTextUI.java
2241         (paintSafely): Paint highlight only when something is actually
2242         selected.
2243         * javax/swing/text/DefaultCaret.java
2244         (handleHighlight): New method.
2245         (setSelectionVisible): Don't do anything when nothing changes.
2246         Handle highlight.
2247         (moveDot): Reimplemented. Handle highlight.
2248         (setDot): Set mark too. Handle highlight.
2249         (getSelectionPainter): New method.
2250         * javax/swing/text/DefaultEditorKit.java
2251         (defaultActions): Added new actions for text selection.
2252         * javax/swing/text/DefaultHighlighter.java
2253         (DefaultHighlightPainter): New inner class.
2254         (DefaultPainter): New field.
2255         (paint): Implemented.
2256         * javax/swing/text/PlainView.java
2257         (paint): Don't draw background here again.
2258         * javax/swing/text/Utilities.java
2259         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2260         (drawTabbedText): Likewise.
2261
2262 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2263
2264         * javax/swing/JComponent.java
2265         (resetKeyboardActions): Add null checks.
2266
2267 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2268
2269         * javax/swing/DefaultButtonModel.java:
2270         Skip group notification when no group is set.
2271
2272 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2273
2274         * javax/swing/JColorChooser.java: 
2275         Make a couple inner classes static, for jikes.
2276
2277 2004-08-31  Michael Koch  <konqueror@gmx.de>
2278
2279         * javax/swing/plaf/basic/BasicTextUI.java
2280         (RottView.modelToView): New method.
2281         (UpdateHandler): Renamed from EventHandler.
2282         (updateHandler): Renamed from eventHandler.
2283         (modelToView): Implemented.
2284         * javax/swing/text/AbstractDocument.java
2285         (BranchElement.getElement): Return null for non-existing indeces.
2286         (BranchElement.getElementIndex): Return 0 in some corner cases.
2287         * javax/swing/text/FieldView.java
2288         (modelToView): New method.
2289         * javax/swing/text/PlainView.java
2290         (modelToView): Made public.
2291
2292 2004-08-31  Kim Ho  <kho@redhat.com>
2293
2294         * Makefile.am: New files.
2295         * Makefile.in: Regenerate.
2296         * gcj/Makefile.in: Regenerate.
2297         * include/Makefile.in: Regenerate.
2298         * java/awt/Color.java: Fix documentation.
2299         (RGBtoHSB): Use floats for conversions.
2300         * javax/swing/ButtonGroup.java: Run Jalopy.
2301         (setSelected): Reimplement.
2302         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2303         (changeState): Let ButtonGroup know that the button 
2304         is changing state.
2305         * javax/swing/JColorChooser.java: Implement.
2306         * javax/swing/JLabel.java: Run Jalopy.
2307         * javax/swing/JSpinner.java: Run Jalopy.
2308         (setValue): New method.
2309         * javax/swing/JTabbedPane.java: Run Jalopy.
2310         (removeTabAt): Call correct remove method.
2311         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2312         (getPreviousValue): Compare minimum value.
2313         * javax/swing/Timer.java: Run Jalopy.
2314         (run): Comment out println.
2315         * javax/swing/ToolTipManager.java:
2316         (mouseMoved): Get new tooltip text for location.
2317         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2318         Jalopy and Javadoc.
2319         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2320         Implement.
2321         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2322         Run Jalopy.
2323         (setSelectedColor): Fire ChangeEvent.
2324         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2325         New file. Implement.
2326         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2327         Ditto.
2328         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2329         Ditto.
2330         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2331         Ditto.
2332         * javax/swing/plaf/basic/BasicArrowButton.java:
2333         (getArrow): Fix size of upward pointing button.
2334         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2335         Implement.
2336         * javax/swing/plaf/basic/BasicSliderUI.java:
2337         (getWidthOfWidestLabel): Use preferred dimensions.
2338         (getHeightOfTallestLabel): Ditto.
2339         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2340         Run Jalopy.
2341         (mousePressed): Disable changes to spinner if it is not enabled.
2342         * testsuite/Makefile.in: Regenerate.
2343
2344
2345 2004-08-31  Michael Koch  <konqueror@gmx.de>
2346
2347         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2348         javax/swing/plaf/basic/BasicTableUI.java:
2349         Added copyright notice.
2350
2351 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2352
2353         * Makefile.am: Added new files.
2354         * Makefile.in: Regenerate.
2355         * javax/swing/ComboBoxEditor.java: Added javadocs.
2356         * javax/swing/ComboBoxModel.java: Likewise.
2357         * javax/swing/DefaultComboBoxModel.java: Implemented.
2358         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2359         and ran through jalopy to fix formatting style.
2360         (getListCellRendererComponent): Use appropriate border
2361         if renderer has focus and use noFocusBorder when it doesn't.
2362         * javax/swing/JComboBox.java: Implemented.
2363         * javax/swing/JList.java:
2364         (locationToIndex): New Method. Implemented.
2365         (indexToLocation): New Method.
2366         * javax/swing/JPopupMenu.java: 
2367         (visible): New field.
2368         (isVisible): Changed to use new field above.
2369         (setVisible): Likewise.
2370         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2371         * javax/swing/plaf/basic/BasicArrowButton.java: 
2372         (shadow): Changed default color to Color.gray.
2373         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2374         UI delegate for JComboBox.
2375         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2376         Popup menu containing list of JComboBox's items.
2377         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2378         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2379         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2380         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2381         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2382         (popupMenuWillBecomeVisible): Set selected path to the first
2383         element only if it is of type MenuElement. Also fix formatting
2384         style.
2385         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2386         methods signatures.
2387         
2388 2004-08-31  Michael Koch  <konqueror@gmx.de>
2389
2390         * javax/swing/text/AbstractDocument.java
2391         (createBranchElement): Use new constructor of BranchElement.
2392         (createLeafElement): Renamed arguments.
2393         (getRootElements): Implemented.
2394         (BranchElement.start): Removed.
2395         (BranchElement.end): Likewise.
2396         (BranchElement.BranchElement): Fixed arguments.
2397         (BranchElement.getEndOffset): Reimplemented.
2398         (BranchElement.getStartOffset): Likewis.
2399         * javax/swing/text/DefaultCaret.java
2400         (paint): Draw simple vertical line as caret instead of a rectangle.
2401         * javax/swing/text/JTextComponent.java
2402         (setText): Use doc directly.
2403         * javax/swing/text/PlainView.java
2404         (nextTabStop): Implemented.
2405         * javax/swing/text/Utilities.java
2406         (drawTabbedText): nextTabStop() returns an absolute x position.
2407         (getTabbedTextWidth): Likewise.
2408
2409 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2410
2411         * java/awt/Component.java 
2412         (isFocusTraversable): Predicate on isLightweight()
2413         (setFocusable): Set isFocusTraversableOverridden.
2414         (requestFocus): Predicate peer dispatch on !isLightweight()
2415         (requestFocusInWindow): Likewise.
2416         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2417         * java/awt/Container.java
2418         (dispatchEventImpl): Predicate on event mask.
2419         (LightweightDispatcher): Remove focus machinery.
2420         * java/awt/DefaultFocusTraversalPolicy.java
2421         (accept): Expand predicate to include isFocusable(). 
2422         * java/awt/DefaultKeyboardFocusManager.java:
2423         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2424         * java/awt/KeyboardFocusManager.java
2425         (redispatchEvent): Synchronize on event to prevent feedback.
2426         * javax/swing/AbstractButton.java
2427         (ButtonFocusListener): Remove class.
2428         (init): Set focusPainted, focusable.
2429         * javax/swing/ActionMap.java (get): Check parent for null. 
2430         * javax/swing/InputMap.java (get): Likewise. 
2431         * javax/swing/JComponent.java
2432         (inputMap_whenFocused): New InputMap.
2433         (inputMap_whenAncestorOfFocused): Likewise.
2434         (inputMap_whenInFocusedWindow): Likewise.
2435         (getActionForKeyStroke): Rewrite.
2436         (getConditionForKeystroke): Likewise.
2437         (ActionListenerProxy): New private class.
2438         (setInputMap): Implement.
2439         (getInputMap): Likewise.
2440         (setActionMap): Likewise.
2441         (getActionMap): Likewise.
2442         (processComponentKeyEvent): New empty method.
2443         (processKeyEvent): Implement.
2444         (processKeyBinding): Likewise.
2445         (resetKeyboardActions): Rewrite.
2446         * javax/swing/KeyStroke.java: Rewrite.
2447         * javax/swing/SwingUtilities.java
2448         (notifyAction): Implement.
2449         (replaceUIActionMap): Likewise.
2450         (replaceUIInputMap): Likewise.
2451         * javax/swing/plaf/basic/BasicButtonListener.java
2452         (focusGained): Implement.
2453         (focusLost): Repaint if focusPainted().
2454         (installKeyboardActions): Install pressed / released actions.
2455         (uninstallKeyboardActions): Implement.
2456         * javax/swing/plaf/basic/BasicButtonUI.java
2457         (focusColor): New field.
2458         (installDefaults): Load focus color, install input map.
2459         (installKeyboardActions): Implement.
2460         (uninstallKeyboardActions): Likewise.
2461         (paintFocus): Rewrite.
2462         * javax/swing/plaf/basic/BasicLookAndFeel.java
2463         (Button.focus): New default, midPurple. 
2464         * javax/swing/plaf/basic/BasicTextUI.java
2465         (kit): Make static.
2466         (installUI): Get doc from kit, load defaults.
2467         (getKeymapName): Implement.
2468         (createKeymap): Likewise.
2469         (installKeyboardActions): Likewise.
2470         (getInputMap): Likewise.
2471         (getActionMap): Likewise.
2472         (createActionMap): Likewise.
2473         * javax/swing/text/AbstractDocument.java
2474         (getStartPosition): Implement.
2475         (getEndPosition): Likewise.
2476         * javax/swing/text/DefaultEditorKit.java
2477         (CopyAction): New class.
2478         (CutAction): Likewise.
2479         (DefaultKeyTypedAction): Likewise.
2480         (InsertBreakAction): Likewise.
2481         (InsertContentAction): Likewise.
2482         (InsertTabAction): Likewise.
2483         (PasteAction): Likewise.
2484         (defaultActions): New static table.
2485         (createCaret): Implement.
2486         (getActions): Likewise.
2487         * javax/swing/text/JTextComponent.java
2488         (KeymapWrapper): New private class.
2489         (KeymapActionMap): Likewise.
2490         (DefaultKeymap): New class.
2491         (keymaps): New static table.
2492         (keymap): New field.
2493         (getKeymap): Implement.
2494         (removeKeymap): Likewise.
2495         (addKeymap): Likewise.
2496         (setKeymap): Likewise.
2497         (loadKeymap): Likewise.
2498         (getActions): Likewise.
2499         (margin): New field.
2500         (JTextComponent): Build and install default keymap.
2501         * javax/swing/text/TextAction.java
2502         (textAction): Call super properly.
2503         (getTextComponent): Implement.
2504         * javax/swing/text/Utilities.java
2505         (drawTabbedText): Adjust position by ascent.
2506
2507 2004-08-31  David Jee  <djee@redhat.com>
2508
2509         PR AWT/17156
2510
2511         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2512         (setEnabled): Make it a native method.
2513         * java/awt/DefaultKeyboardFocusManager.java
2514         (postProcessKeyEvent): Only post event if the menu item
2515         is active.
2516         * java/awt/MenuItem.java:
2517         Private field 'enabled' should be true by default.
2518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2519         (setEnabled): New function.
2520
2521 2004-08-31  David Jee  <djee@redhat.com>
2522
2523         PR AWT/17059
2524
2525         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2526         (nativeSetHelpMenu): New native method declaration.
2527         (addHelpMenu): Call nativeSetHelpMenu().
2528         (addMenu): Remove.
2529         * java/awt/MenuBar.java
2530         (setHelpMenu): Call addNotify() on the new help menu.
2531         (add): Call addNotify() on the new menu.
2532         (addNotify): Set the help menu if one exists.
2533         * java/awt/peer/MenuBarPeer.java
2534         (addMenu): Remove.
2535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2536         (nativeSetHelpMenu): New method.
2537
2538 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2539
2540         * Makefile.am: Add new files.
2541         * Makefile.in: Regenerate.
2542         * javax/swing/Box.java: Fix setting of layout in ctor.
2543         * javax/swing/JScrollPane.java: Scroll headers as well.
2544         * javax/swing/JTable.java: Reimplement.
2545         * javax/swing/JViewPort.java: Only add non-null children.
2546         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2547         * javax/swing/Timer.java: Fix stopping null waker.
2548         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2549         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2550         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2551         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2552         * javax/swing/table/DefaultTableModel.java: Clean up.
2553         * javax/swing/table/JTableHeader.java: Implement.
2554
2555 2004-08-31  Mark Wielaard  <mark@klomp.org>
2556
2557         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2558         semi-colon.
2559
2560 2004-08-31  Mark Wielaard  <mark@klomp.org>
2561
2562         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2563         Declare variables at top of functions/block.
2564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2565
2566 2004-08-31  Mark Wielaard  <mark@klomp.org>
2567
2568         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2569         first.
2570
2571 2004-08-31  Michael Koch  <konqueror@gmx.de>
2572
2573         * javax/swing/text/PlainView.java
2574         (selectedColor): New field.
2575         (unselectedColor): Likewise.
2576         (font): Likewise.
2577         (updateMetrics): New method.
2578         (lineToRect): Likewise.
2579         (modelToView): Likewise.
2580         (drawSelectedText): Use color from JTextComponent ad draw with
2581         Utilities class.
2582         (drawUnselectedText): Likewise.
2583         (paint): Initialize helper fields.
2584         * javax/swing/text/View.java
2585         (getChildAllocation): New method.
2586         (getViewIndex): Likewise.
2587         (getToolTipText): Likewise.
2588
2589 2004-08-31  Michael Koch  <konqueror@gmx.de>
2590
2591         * javax/swing/text/Utilities.java
2592         (drawTabbedText): Reimplemented.
2593         (getTabbedTextWidth): Likewise.
2594
2595 2004-08-31  Michael Koch  <konqueror@gmx.de>
2596
2597         * javax/swing/plaf/basic/BasicTextUI.java
2598         (installDefaults): Install caret and highlighter.
2599         (modelToView): Use Bias.Forward when calling sibling.
2600         * javax/swing/text/AbstractDocument.java
2601         (ElementEdit): Implements DocumentEvent.ElementChange.
2602         (ElementEdit.ElementEdit): New method.
2603         (ElementEdit.getChildrenAdded): Likewise.
2604         (ElementEdit.getChildrenRemoved): Likewise.
2605         (ElementEdit.getElement): Likewise.
2606         (ElementEdit.getIndex): Likewise.
2607         * javax/swing/text/DefaultCaret.java
2608         (color): Removed.
2609         (textComponent): Renamed from parent, made private.
2610         (selectionVisible): Renamed from vis_sel, made private.
2611         (blinkRate): Renamed from blink, made private.
2612         (magicCaretPosition): Renamed from magic, made private.
2613         (visible): Renamed from vis, made private.
2614         (dot): Made private.
2615         (mark): Likewise.
2616         (deinstall): Remove as MouseMotionListener.
2617         (install): Initialize textComponent first. Add as MouseMotionListener.
2618         (paint): Reimplemented.
2619         * javax/swing/text/JTextComponent.java
2620         (setCaret): Deinstall old caret, install new one and fire property
2621         change after setting property.
2622         (setHighlighter): Deinstall old highlighter, install new one and fire
2623         property change after setting property.
2624         (setCaretColor): Fire property change after setting property.
2625         (setDisabledTextColor): Likewise.
2626         (setSelectedTextColor): Likewise.
2627         (setSelectionColor): Likewise.
2628         (modelToView): New method.
2629
2630 2004-08-31  Michael Koch  <konqueror@gmx.de>
2631
2632         * javax/swing/text/AbstractDocument.java
2633         (getText): Simplified.
2634         * javax/swing/text/Segment.java
2635         (current): New field.
2636         (current): Reimplemented.
2637         (first): Likewise.
2638         (getIndex): Likewise.
2639         (last): Likewise.
2640         (next): Likewise.
2641         (previous): Likewise.
2642         (setIndex): Likewise.
2643
2644 2004-08-31  Michael Koch  <konqueror@gmx.de>
2645
2646         * javax/swing/plaf/basic/BasicButtonUI.java
2647         (defaultTextIconGap): Made protected.
2648         (defaultTextShiftOffset): Likewise.
2649         (textShiftOffset): New field.
2650         (clearTextShiftOffset): New method.
2651         (getTextShiftOffset): Likewise.
2652         (setTextShiftOffset): Likewise.
2653
2654 2004-08-31  Michael Koch  <konqueror@gmx.de>
2655
2656         * javax/swing/plaf/basic/BasicTextUI.java
2657         (installUI): Add eventHandler as property listener.
2658         (uninstallUI): remove eventHandler as propert listener.
2659         (installDefaults): Added comment.
2660         (installListeners): Likewise.
2661         (installKeyboardActions): Likewise.
2662         (uninstallDefaults): Likewise.
2663         (uninstallListeners): Likewise.
2664         (uninstallKeyboardActions): Likewise.
2665
2666 2004-08-31  Michael Koch  <konqueror@gmx.de>
2667
2668         * javax/swing/text/AbstractDocument.java:
2669         Fixed some typos in comments.
2670         (insertString): Reimplemented.
2671         (remove): Likewise.
2672         (replace): New method.
2673         (children): Dont use fully qualified class name.
2674         (DefaultDocumentEvent.offset): Renamed from off.
2675         (DefaultDocumentEvent.length): Renamed from len.
2676         (DefaultDocumentEvent.type): New field.
2677         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2678         (DefaultDocumentEvent.getType): Implemented.
2679
2680 2004-08-31  Michael Koch  <konqueror@gmx.de>
2681
2682         * javax/swing/plaf/basic/BasicTextUI.java
2683         (RootView.textComponent): Removed.
2684         (RootView.RootView): Don't initialize textComponent.
2685         (RootView.getViewFactory): New method.
2686         (EventHandler): New inner class.
2687         (rootView): Initialize at instance creation.
2688         (eventHandler): New field.
2689         (installUI): Don't create view hierarchy directly,
2690         call modelChanged() instead.
2691         (modelChanged): New method.
2692         * javax/swing/text/JTextComponent.java
2693         (setDocument): Fire property change event.
2694
2695 2004-08-31  Michael Koch  <konqueror@gmx.de>
2696
2697         * javax/swing/plaf/basic/BasicTextUI.java
2698         (RootView.paint): Removed debug output.
2699         (paintSafely): Draw highlighter before text.
2700         (paintBackground): Use background color of text component.
2701         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2702         Reformatted.
2703
2704 2004-08-31  Michael Koch  <konqueror@gmx.de>
2705
2706         * javax/swing/plaf/basic/BasicToolBarUI.java
2707         (BasicToolBarUI): Fixed arguments for constructor.
2708         (createUI): Fixed creation of object.
2709
2710 2004-08-31  Michael Koch  <konqueror@gmx.de>
2711
2712         * javax/swing/DefaultListSelectionModel.java
2713         (fireValueChanged): Renamed from fireSelectionValueChanged,
2714         made protected.
2715
2716 2004-08-31  Michael Koch  <konqueror@gmx.de>
2717
2718         * javax/swing/text/TabSet.java
2719         (TabSet): Implements java.io.Serializable.
2720         * javax/swing/text/TabStop.java
2721         (TabStop): Implements java.io.Serializable.
2722         (TabStop): Made public.
2723
2724 2004-08-31  Michael Koch  <konqueror@gmx.de>
2725
2726         * javax/swing/JComponent.java
2727         (setUI): Fire PropertyChange.
2728         * javax/swing/JLabel.java
2729         (text): Renamed from labelText.
2730         (horizontalAlignment): New default vlaue.
2731         (icon): Renamed from activeIcon.
2732         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2733         (displayedMnemonicIndex): Renamed from underlineChar.
2734         (setDisplayedMnemonic): Reimplemented.
2735         * javax/swing/JRadioButton.java
2736         (JRadioButton): New constructors.
2737         * javax/swing/JTextField.java
2738         (JTextField): Throw exception if colums < 0, initialitialz
2739         this.columns directly and initialize document with text conditionally.
2740
2741 2004-08-31  Michael Koch  <konqueror@gmx.de>
2742
2743         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2744         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2745         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2746         * javax/swing/text/FieldView.java
2747         (paint): Just call super method for now.
2748         * Makefile.am: Added new files.
2749         * Makefile.in: Regenerated.
2750
2751 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2752
2753         * javax/swing/AbstractSpinnerModel.java,
2754         javax/swing/JSpinner.java,
2755         javax/swing/SpinnerNumberModel.java,
2756         javax/swing/plaf/basic/BasicSpinnerUI.java:
2757         New files.
2758         * javax/swing/plaf/basic/BasicLookAndFeel.java
2759         (initClassDefaults): Added defaults for BasicSpinnerUI.
2760
2761 2004-08-31  Michael Koch  <konqueror@gmx.de>
2762
2763         * Makefile.am: Added new files.
2764         * Makefile.in: Regenerated.
2765
2766 2004-08-31  Michael Koch  <konqueror@gmx.de>
2767
2768         * javax/swing/TransferHandler.java,
2769         javax/swing/plaf/basic/ComboPopup.java: New files
2770         * Makefile.am: Added javax/swing/TransferHandler.java and
2771         javax/swing/plaf/basic/ComboPopup.java
2772         * Makefile.in: Regenerated.
2773
2774 2004-08-31  Roman Kennke  <roman@ontographics.com>
2775
2776         * javax/swing/text/Utilities.java: New file.
2777
2778 2004-08-31  Michael Koch  <konqueror@gmx.de>
2779
2780         * Makefile.am: Added javax/swing/text/Utilities.java.
2781         * Makefile.in: Regenerated.
2782
2783 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2784
2785         * javax/swing/text/SimpleAttributeSet.java: New file.
2786         * javax/swing/text/StyleConstants.java: New file.
2787         * javax/swing/text/StyleContext.java: New file.
2788         * javax/swing/text/TabSet.java: New file.
2789         * javax/swing/text/TabStop.java: New file.
2790         * javax/swing/text/AbstactDocument.java:
2791         (AbstractElement): Implement attribute support.
2792         * javax/swing/text/AttributeSet.java
2793         (NameAttribute): New static field.
2794         (ResolveAttribute): New static field.
2795         * Makefile.am: Update for new files.
2796         * Makefile.in: Regenerate.
2797
2798 2004-08-31  Craig Black  <craig.black@aonix.com>
2799
2800         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2801         (drawImage): Add support for scaling pixmaps.
2802         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2803         (copyAndScalePixmap): New native method.
2804  
2805 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2806
2807         PR AWT/16121
2808         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2809         type-punning compiler warnings using unions.
2810         (throw): Replace bzero with memset.
2811
2812 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2813             Thomas Fitzsimmons  <fitzsim@redhat.com>
2814
2815         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2816         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2817         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2819         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2820
2821 2004-08-31  Mark Wielaard  <mark@klomp.org>
2822
2823         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2824         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2825         and stdlib.h, not gtkpeer.h.
2826         (*vm): New static variable.
2827         (areaPreparedID): Make static.
2828         (areaUpdatedID): Likewise.
2829         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2830         (area_prepared): Likewise.
2831         (area_updated): Likewise.
2832         (closed): Likewise.
2833         (initStaticState): Initialize *vm javaVM.
2834         (pumpBytes): Use given env, not global gdk_env.
2835
2836 2004-08-31  Mark Wielaard  <mark@klomp.org>
2837
2838         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2839         comments.
2840
2841 2004-08-31  Sven de Marothy  <sven@physto.se>
2842
2843         * java/awt/geom/CubicCurve2D.java: Reindent.
2844         (contains): Implemented.
2845         (intersects): Implemented.
2846         * java/awt/geom/QuadCurve2D.java: Likewise.
2847         * java/awt/geom/GeneralPath.java: Reindent and document.
2848         Fully (re)implemented using separate xpoints and ypoints
2849         float[] coords.
2850         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2851
2852 2004-08-31  Michael Koch  <konqueror@gmx.de>
2853
2854         * javax/swing/JMenuItem.java
2855         (getMenuDragMouseListeners): New method.
2856         (getMenuKeyListeners): Likewise.
2857
2858 2004-08-31  Michael Koch  <konqueror@gmx.de>
2859
2860         * javax/swing/AbstractButton.java
2861         (model): Made protected.
2862         (actionListener): Likewise.
2863         (changeListener): Likewise.
2864         (itemListener): Likewise.
2865         (multiClickThreshhold): New field.
2866         (getActionListeners): New method.
2867         (getChangeListeners): Likewise.
2868         (getItemListeners): Likewise.
2869         (fireItemStateChanged): Simplified implementation.
2870         (fireActionPerformed): Likewise.
2871         (fireStateChanged): Likewise.
2872         (getMultiClickThreshhold): New method.
2873         (setMultiClickThreshhold): Likewise.
2874
2875 2004-08-31  Tom Tromey  <tromey@redhat.com>
2876
2877         * java/awt/image/Kernel.java (clone): Use super.clone().
2878
2879 2004-08-31  David Jee  <djee@redhat.com>
2880
2881         PR AWT/16682
2882         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2883         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2884         (nativeSetIconImageFromData): New native method declaration.
2885         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2886         * gnu/java/awt/peer/gtk/GtkImage.java
2887         (getPixelCache): New method.
2888         (getColorModel): New method.
2889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2890         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2891         (free_pixbuf_data): New helper function.
2892         (nativeSetIconImageFromData): New function.
2893
2894 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2895
2896         PR SWING/16576
2897         * javax/swing/JLayeredPane.java 
2898         (setLayer): Permit changing layer after addition.
2899         (setPosition): Permit over-length positions.
2900         (layerToRange): Compare intValue()s.
2901         * javax/swing/Box.java (createHorizontalBox): Implement.
2902         (createRigidArea): Likewise.
2903         (createVerticalBox): Likewise.
2904
2905 2004-08-31  Kim Ho  <kho@redhat.com>
2906
2907         * java/awt/Component.java:
2908         (processMouseEvent): Consume event after
2909         listeners process it.
2910         (processMouseMotionEvent): ditto.
2911         (processMouseWheelEvent): ditto.
2912         * java/awt/Container.java:
2913         (acquireComponentForMouseEvent):
2914         Do not dispatch to events that have been
2915         removed from the Container.
2916         (handleEvent): Consume the MouseEvents.
2917         * javax/swing/RepaintManager.java:
2918         (paintDirtyRegions): Do not add to list of 
2919         damaged areas if the component has no root.
2920
2921 2004-08-31  Michael Koch  <konqueror@gmx.de>
2922
2923         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2924
2925 2004-08-31  Mark Wielaard  <mark@klomp.org>
2926
2927         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2928         null when a MissingResourceException is thrown. Should never happen.
2929
2930 2004-08-31  Mark Wielaard  <mark@klomp.org>
2931
2932         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2933         when argument is null.
2934
2935 2004-08-31  Mark Wielaard  <mark@klomp.org>
2936
2937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2938         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2939         Define hid at start of function.
2940         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2941         Likewise.
2942
2943 2004-08-31  Mark Wielaard  <mark@klomp.org>
2944
2945         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2946         * javax/swing/JButton.java: Reindent.
2947         * javax/swing/JCheckBox.java: Reindent.
2948
2949 2004-08-31  Mark Wielaard  <mark@klomp.org>
2950
2951         * Makefile.am (gtk_c_source_files): Added
2952         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2953         (gtk_awt_peer_sources): Added
2954         gnu/java/awt/peer/gtk/GThreadMutex.java and
2955         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2956         * Makefile.in: Regenerated.
2957
2958 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2959
2960         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2961
2962 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2963
2964         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2965         Added jfieldID, jmethodID.
2966
2967 2004-08-31  Mark Wielaard  <mark@klomp.org>
2968
2969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2970         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2971         gdk_env before calling any gdk or gtk function.
2972
2973         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2974         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2975         (run): Set gtkInitCalled.
2976
2977 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2978
2979         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2980         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2981
2982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2983         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2984         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2985         init_glib_threads. 
2986         (init_glib_threads): New function.
2987
2988 2004-08-31  Mark Wielaard  <mark@klomp.org>
2989
2990         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2991         PRIORITY when not already defined in header file.
2992
2993 2004-08-31  Mark Wielaard  <mark@klomp.org>
2994
2995         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2996         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2997
2998 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2999
3000         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
3001         Implemented missing functions for GTK2.
3002         Added error handling.
3003         Renamed static functions out of the g_ namespace.
3004         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
3005         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
3006         Rewrote global-reference code.
3007         Eliminated cascading errors.
3008         (mutex_trylock_jni_impl) Fully implemented.
3009         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
3010         resolution.
3011         (setup_cache) New function.
3012         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
3013         bug where they were not unlocking the GMutex associated with the
3014         condition variable during the wait on that condition variable.
3015
3016         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
3017         native/jni/gtk-peer/gthread-jni.c,
3018         native/jni/gtk-peer/gthread-jni.h
3019         (g_thread_jni_functions): Renamed to ...
3020         (portable_native_sync_jni_functions): this name.
3021         (gdk_vm): Renamed to...
3022         (the_vm): this name.
3023
3024         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3025         (gdk_vm): Removed duplicate definition.
3026         (gtkInit): Removed stray message to stdout.
3027         (gtkInit): Use g_malloc and g_free instead of malloc and free.
3028         (gtkInit): Fix a const assignment bug.
3029         (gtkInit): Simplified code.
3030
3031         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3032         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
3033         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
3034         gnu/java/awt/peer/gtk/GThreadMutex.java:
3035         New files.
3036
3037 2004-08-31  Mark Wielaard  <mark@klomp.org>
3038
3039         * javax/swing/Box.java: Put FIXME comment above class declaration.
3040         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3041         * javax/swing/JCheckBox.java: Likewise.
3042         * javax/swing/JDialog.java: Likewise.
3043         * javax/swing/JRadioButton.java: Likewise.
3044         * javax/swing/JToggleButton.java: Likewise.
3045         * javax/swing/UIManager.java: Likewise.
3046         * javax/swing/border/TitledBorder.java: Likewise.
3047         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3048         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3049         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3050         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3051         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3052         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3053         * javax/swing/text/JTextComponent.java: Likewise.
3054
3055 2004-08-31  David Jee  <djee@redhat.com>
3056
3057         PR AWT/16682
3058         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3059         (setIconImage): Add a FIXME for unhandled cases.
3060
3061 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3062
3063         PR AWT/16040
3064         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3065         getModifiers.  Replace old button masks with new ones.
3066         * gnu/awt/xlib/XEventLoop.java: Likewise.
3067         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3068         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3069         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3070         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3071         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3072         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3073         * java/awt/Component.java: Replace old modifier masks with new
3074         ones.
3075         * java/awt/Container.java: Call getModifiersEx, not
3076         getModifiers.
3077         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
3078         old modifier masks.
3079         * javax/swing/JMenuItem.java: Replace old button masks with new
3080         ones.
3081         * javax/swing/KeyStroke.java: Call getModifiersEx, not
3082         getModifiers.
3083         * javax/swing/SwingUtilities.java: Likewise.
3084         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3085         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3086         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3087         mask macros with new ones.
3088         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3089         macros with new ones representing new masks.
3090
3091 2004-08-31  Craig Black  <craig.black@aonix.com>
3092
3093         * gnu/java/awt/peer/gtk/GdkGraphics.java
3094         (drawRoundRect): Implemented.
3095         (fillRoundRect): Implemented.
3096         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3097         (drawRoundRect): Reimplemented to match GdkGraphics.
3098         (fillRoundRect): Reimplemented to match GdkGraphics.
3099
3100 2004-08-31  Mark Wielaard  <mark@klomp.org>
3101
3102         * Makefile.in: Regenerated.
3103
3104 2004-08-31  Michael Koch  <konqueror@gmx.de>
3105
3106         * gnu/java/awt/EmbeddedWindow.java
3107         (addNotify): Use AccessController to allow execution of privileged
3108         code.
3109
3110 2004-08-31  Michael Koch  <konqueror@gmx.de>
3111
3112         * gnu/java/awt/EmbeddedWindow.java
3113         (static): Removed.
3114         (addNotify): Set peer via reflection.
3115         (setWindowPeer): Removed.
3116         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3117         * Makefile.am (nat_source_files):
3118         Removed gnu/java/awt/natEmbeddedWindow.cc.
3119
3120 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3121
3122         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
3123         and gnu/java/security/action/SetAccessibleAction.java.
3124
3125 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3126
3127         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3128         Renamed from 'setName'. New 2-argument form with default value.
3129         (run): Pass default 'value' parameter to System.getProperty().
3130         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3131         typos.
3132
3133 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3134
3135         * gnu/java/security/action/GetPropertyAction.java: New class.
3136         * gnu/java/security/action/SetAccessibleAction.java: New class.
3137
3138 2004-08-31  David Jee  <djee@redhat.com>
3139
3140         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3141         (setIconImage): Check if image is null.
3142
3143 2004-08-31  David Jee  <djee@redhat.com>
3144
3145         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3146         (create): Set the icon image.
3147         (nativeSetIconImage): New native method declaration.
3148         (setIconImage): Implement.
3149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3150         (nativeSetIconImage): New function.
3151
3152 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3153
3154         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3155         (filenameFilterCallback): Declare local variable accepted before use.
3156
3157 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3158
3159         * gnu/java/awt/ComponentDataBlitOp.java:
3160         Cleaned up imports.
3161
3162 2004-08-31  Tom Tromey  <tromey@redhat.com>
3163
3164         * gnu/java/awt/peer/GLightweightPeer.java,
3165         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3166         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3167         javax/swing/JScrollPane.java: Removed
3168         redundant imports.
3169
3170 2004-08-31  David Jee  <djee@redhat.com>
3171
3172         * java/awt/DefaultKeyboardFocusManager.java
3173         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3174         event.  Fix shift modifier checking.
3175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3176         (accel_attach): Remove.
3177         (setupAccelGroup): Remove calls to accel_attach.
3178
3179 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3180
3181         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3182         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3183
3184         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3185         GtkArgList.java.
3186         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3187         * Makefile.in: Regenerate.
3188         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3189         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3190         (create(String)): New method.
3191         (create): Call new create method.
3192         (getArgs): Remove method.
3193         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3194         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
3195         (nativeCreate): Rename to create.
3196         (gtkSetLabel): Rename to gtkButtonSetLabel.
3197         (gtkToggleButtonSetActive): New method.
3198         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3199         (setState): Replace set call with gtkToggleButtonSetActive.
3200         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3201         (getArgs): Remove method.
3202         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3203         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3204         (gtkWidgetSetSensitive): New method.
3205         (gtkWidgetSetParent): Likewise.
3206         (GtkComponentPeer): Call setParent, setComponentBounds and
3207         setVisibleAndEnabled.
3208         (setParent): New method.
3209         (setComponentBounds): New method.
3210         (setVisibleAndEnabled): New method.
3211         (setEnabled): Call gtkWidgetSetSensitive.
3212         (getArgs): Remove method.
3213         Remove all set methods.
3214         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3215         gtkWindowSetModal, setTitle and setResizable.
3216         (getArgs): Remove method.
3217         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3218         (setComponentBounds): New method.
3219         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3220         Replace set call with gtkWindowSetResizable.
3221         (getArgs): Remove method.
3222         (create): Call setTitle and setResizable.
3223         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3225         (gtkWindowSetTitle): New method.
3226         (gtkWindowSetResizable): New method.
3227         (gtkWindowSetModal): New method.
3228         (setParent): New method.
3229         (setVisibleAndEnabled): New method.
3230         (getArgs): Remove method.
3231         (setTitle): Call gtkWindowSetTitle.
3232         (setResizable): Call gtkWindowSetResizable.
3233         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3234         and off locking instrumentation.
3235
3236 2004-08-31  Kim Ho  <kho@redhat.com>
3237
3238         * Makefile.am: Add new file.
3239         * Makefile.in: Regenerate.
3240         * gcj/Makefile.in: Regenerate
3241         * include/Makefile.in:
3242         * java/awt/Container.java:
3243         (acquireComponentForMouseEvent): Respect 
3244         the event mask when looking for candidate.
3245         * javax/swing/JComponent.java:
3246         Remove toolTip field.
3247         (createToolTip): Create a tooltip on demand.
3248         (setToolTipText): Register with the ToolTipManager.
3249         (getToolTipText(MouseEvent)): Return getToolTipText().
3250         * javax/swing/JToolTip.java: Implement.
3251         * javax/swing/Timer.java: Jalopy.
3252         (restart): Call stop, then start.
3253         (stop): Interrupt the timer rather than wait for
3254         the timer to come to a stop naturally.
3255         * javax/swing/ToolTipManager.java: Implement.
3256         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3257         Change ToolTip.background color.
3258         * javax/swing/plaf/basic/BasicToolTipUI.java:
3259         Implement.
3260         * testsuite/Makefile.in: Regenerate
3261
3262 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3263
3264         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3265         constructor param comments.
3266
3267 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3268
3269         * java/awt/Component.java: Document AWT 1.0 event handler
3270         methods.
3271
3272 2004-08-31  Roman Kennke  <roman@ontographics.com>
3273
3274         * javax/swing/Box.java:
3275         (createGlue): Implemented
3276         (createHorizontalGlue): Implemented
3277         (createHorizontalStrut): Implemented
3278         (createVerticalGlue): Implemented
3279         (createVerticalStrut): Implemented
3280
3281 2004-08-31  David Jee  <djee@redhat.com>
3282
3283         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3284         (GtkChoicePeer): Do not automatically select first item.
3285         (getHistory): Remove.
3286         (nativeGetSelected): New method.
3287         (nativeRemoveAll): New method.
3288         (add): Use nativeGetSelected() instead of getHistory().
3289         (remove): Likewise.
3290         (removeAll): Call nativeRemoveAll().
3291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3292         (create): Migrate to GtkComboBox.
3293         (append): Likewise.
3294         (nativeAdd): Likewise.
3295         (nativeRemove): Likewise.
3296         (select): Likewise.
3297         (nativeRemoveAll): New method.
3298         (nativeGetSelected): New method.
3299         (selection_changed): New method.
3300         (getHistory): Remove.
3301         (item_activate): Remove.
3302         (item_removed): Remove.
3303         (connect_choice_item_selectable_hook): Remove.
3304
3305 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3306
3307         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3308         variable in setEditable call.
3309
3310         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3311         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3312         (gtkWidgetSetBackground): New method.
3313         (gtkWidgetSetForeground): Likewise.
3314         (create): Set peer's editable state based on awtComponent's.
3315
3316         * java/awt/Button.java (Button()): Use empty string rather than
3317         null in no-label constructor.
3318
3319 2004-08-31  Roman Kennke  <roman@ontographics.com>
3320
3321         * javax/swing/BoxLayout.java: Reimplement.
3322
3323 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3324
3325         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3326         gnu_java_awt_peer_gtk_GdkGraphics.c
3327         (initState(GtkComponentPeer)): Don't return array of colour
3328         values.
3329         (GdkGraphics(int,int)): Set default font to size 12.
3330         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3331         component's foreground colour.
3332         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3333         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3334         (initState(GtkComponentPeer)): Don't return array of colour
3335         values.
3336         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3337         colours to component's colours.
3338         (current_colors_of_widget): Remove function.
3339         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3340         Return a new graphics object.
3341         * java/awt/Font.java (toString): Fix format.
3342         * java/awt/Graphics.java (toString): Likewise.
3343
3344 2004-08-31  Craig Black  <craig.black@aonix.com>
3345
3346         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3347         (addTearOff): New function.
3348         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3349         New native method.
3350         (init): Call addTearOff() when menu.isTearOff().
3351
3352 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3353
3354         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3355         Default implementation.
3356         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3357         Implement using GdkPixbufDecoder.
3358
3359 2004-08-31  David Jee  <djee@redhat.com>
3360
3361         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3362         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3363         setting the size of GtkFileDialogPeers.
3364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3365         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3366         use their default sizes rather than their natural requisitions.
3367
3368 2004-08-31  Michael Koch  <konqueror@gmx.de>
3369
3370         * javax/swing/JFormattedTextField.java
3371         (JFormattedTextField): Implemented.
3372         * javax/swing/text/DefaultEditorKit.java
3373         (BeepAction): New inner class.
3374         * javax/swing/text/Segment.java
3375         (partialReturn): New field.
3376         (setPartialReturn): New method.
3377         (isPartialReturn): Likewise.
3378         * javax/swing/text/View.java
3379         (createFragment): Fixed typo.
3380         (getStartOffset): New method.
3381         (getEndOffset): Likewise.
3382
3383 2004-08-31  Michael Koch  <konqueror@gmx.de>
3384
3385         * javax/swing/table/DefaultTableColumnModel.java
3386         (serialVersionUID): Made private.
3387         (listenerList): Initialize.
3388         (changeEvent): Initialize.
3389         * javax/swing/table/JTableHeader.java
3390         (JTableHeader): New constructors.
3391         (createDefaultColumnModel): New method.
3392         * javax/swing/table/TableColumn.java
3393         (setHeaderRenderer): Simplified code.
3394         (setCellRenderer): Likewise.
3395         (setWidth): Likewise.
3396
3397 2004-08-31  Tom Tromey  <tromey@redhat.com>
3398
3399         * java/text/AttributedString.java (AttributedString): Use
3400         ArrayList to build array of attribute ranges.  Don't use
3401         `attribs' before it is set.
3402
3403 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3404
3405         * HACKING: Remove reference to special automake. No longer needed.
3406
3407 2004-08-30  Tom Tromey  <tromey@redhat.com>
3408
3409         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3410         return result from `add'.
3411
3412 2004-08-30  Tom Tromey  <tromey@redhat.com>
3413
3414         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3415
3416 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3417
3418         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3419
3420 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3421
3422         * java/io/File.java File(String,String): Fixed handling of empty
3423         path.
3424
3425 2004-08-30  Casey Marshall  <csm@gnu.org>
3426
3427         Author e-mail updated for all files.
3428         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3429         instance of OID.
3430         (compareTo): Use `equals'.
3431         * gnu/java/security/der/BitString.java (equals): Test if the
3432         argument is an instance of BitString.
3433         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3434         class final. Made fields private.
3435         (<init>): New constructor.
3436         (skip): New method.
3437         (makeString): Made static; don't use NIO.
3438         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3439         * gnu/java/security/der/DERWriter.java: Fixed imports.
3440         (writeString): Don't use NIO.
3441         (toIso88591, toUtf16Be, toUtf8): New methods.
3442         * gnu/java/security/der/DERValue.java: Formatting changes only.
3443         * gnu/java/security/der/DER.java: Likewise.
3444
3445 2004-08-30  Tom Tromey  <tromey@redhat.com>
3446
3447         * java/nio/CharBuffer.java (put): Fix typo.
3448         * java/nio/DoubleBuffer.java (put): Fix typo.
3449         * java/nio/FloatBuffer.java (put): Fix typo.
3450         * java/nio/IntBuffer.java (put): Fix typo.
3451         * java/nio/LongBuffer.java (put): Fix typo.
3452         * java/nio/ShortBuffer.java (put): Fix typo.
3453
3454 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3455
3456         * java/nio/ByteBuffer.java (put): Fix typo.
3457
3458 2004-08-30  Casey Marshall  <csm@gnu.org>
3459
3460         * java/security/DummyKeyPairGenerator.java (clone): Removed
3461         useless instanceof check.
3462         * java/security/DummyMessageDigest.java (clone): Likewise.
3463         * java/security/DummySignature.java (clone): Likewise.
3464         * java/security/MessageDigest.java (clone): Remove useless
3465         instanceof check.
3466         * java/security/MessageDigestSpi.java (clone): Likewise.
3467         * java/security/Signature.java (clone): Provide meaningful
3468         implementation.
3469         * java/security/SignatureSpi.java (clone): Likewise.
3470
3471 2004-08-29  Mark Wielaard  <mark@klomp.org>
3472
3473         * java/util/Arrays.java
3474         (sort(byte[], int, int)): Check fromIndex < 0.
3475         (sort(char[], int, int)): Likewise.
3476         (sort(short[], int, int)): Likewise.
3477         (sort(int[], int, int)): Likewise.
3478         (sort(long[], int, int)): Likewise.
3479         (sort(float[], int, int)): Likewise.
3480         (sort(double[], int, int)): Likewise.
3481         (sort(Object[], int, int, Comparator)): Likewise.
3482         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3483         (qsort(char[], int, int)): Likewise.
3484         (qsort(short[], int, int)): Likewise.
3485         (qsort(int[], int, int)): Likewise.
3486         (qsort(long[], int, int)): Likewise.
3487         (qsort(float[], int, int)): Likewise.
3488         (qsort(double[], int, int)): Likewise.
3489
3490 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3491
3492         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3493         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3494         java/util/ArrayList.java, java/util/Arrays.java,
3495         java/util/BitSet.java, java/util/Calendar.java,
3496         java/util/Collection.java, java/util/ListIterator.java,
3497         java/util/Map.java, java/util/SortedSet.java:
3498         Added additional exceptions to documentation, along
3499         with some additions and corrections.
3500
3501 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3502
3503         * configure.ac: Handle --enable-gc-debug.
3504         * configure: Regenerate.
3505         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3506         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3507         Rearrange include file order.
3508         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3509         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3510         (disable_gc_mutex): Delete along with all references.
3511         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3512         adjust for debug header size.
3513         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3514         debug case.
3515         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3516         (gcj_describe_type_fn): New.
3517         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3518         Register gcj_describe_type_fn.
3519         * include/boehm-gc.h:
3520         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3521         Don't define, but declare, for debug case.
3522         * java/lang/natObject.cc:
3523         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3524
3525 2004-08-26  Mark Wielaard  <mark@klomp.org>
3526
3527         Fixes PR libgcj/17002:
3528         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3529         a TimeZoneId string and then try to convert that to a TimeZone with
3530         getDefaultSystemTimeZone(String).
3531         (timezones0): Changed type from Hashtable to HashMap.
3532         (timezones): Create HashMap, not Hashtable.
3533         (getDefaultTimeZone): New method, rewritten from CNI version.
3534         (readTimeZoneFile): New method.
3535         (readtzFile): Likewise.
3536         (skipFully): Likewise.
3537         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3538         getDefaultTimeZoneId and rewritten.
3539         (getDefaultTimeZoneId): Rewritten in java.
3540         
3541 2004-08-25  David Daney  <daney@avtrex.com>
3542
3543         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3544         * Makefile.in: Regenerated.
3545
3546 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3547
3548         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3549         only if jvmpi is enabled.
3550         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3551         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3552         (_Jv_AllocString): Likewise.
3553         (_Jv_AllocPtrFreeObject): Likewise.     
3554
3555 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3556
3557         * defineclass.cc: Include <stdio.h>.
3558         * java/lang/natClassLoader.cc: Include <stdio.h>.
3559
3560 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3561             Michael Koch  <konqueror@gmx.de>
3562
3563         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3564         * Makefile.in: Regenerated.
3565
3566 2004-08-20  Michael Koch  <konqueror@gmx.de>
3567
3568         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3569         AC_COMPILE_IFELSE macros.
3570
3571 2004-08-20  Michael Koch  <konqueror@gmx.de>
3572
3573         * configure.in: Renamed to configure.ac.
3574         * configure.ac: New file.
3575         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3576         include/config.h.in, testsuite/Makefile.in: Regenerated.
3577
3578 2004-08-20  Michael Koch  <konqueror@gmx.de>
3579
3580         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3581         * aclocal.m4, configure: Regenerated.
3582
3583 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3584             Michael Koch  <konqueror@gmx.de>
3585
3586         * configure.in, Makefile.am: Ported to automake 1.9.
3587         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3588         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3589         Regenerated.
3590
3591 2004-08-19  Tom Tromey  <tromey@redhat.com>
3592
3593         * java/net/DatagramSocket.java: Fixed typo.
3594
3595 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3596
3597         PR libgcj/17081
3598         * java/net/URI.java (string): New field. Make all other fields
3599         transient.
3600         (readObject): Implemented.
3601         (writeObject): Implemented.
3602         (URI): Set 'string'.
3603
3604 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3605
3606         PR libgcj/17079
3607         * java/util/logging/Handler.java (isLoggable): Accept record if its
3608         log level equals the threshold level. From Robin Green.
3609
3610 2004-08-18  David Daney  <ddaney@avtrex.com>
3611
3612         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3613         instead of sigwait.
3614
3615 2004-08-17  Michael Koch  <konqueror@gmx.de>
3616
3617         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3618         * Makefile.in: Regenerated.
3619
3620 2004-08-16  Tom Tromey  <tromey@redhat.com>
3621
3622         PR java/8473:
3623         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3624
3625 2004-08-16  Michael Koch  <konqueror@gmx.de>
3626
3627         * Makefile.am
3628         (math_c_files): Renamed from c_files.
3629         (math_c_source_files): Renamed from c_source_files.
3630         * Makefile.in,
3631         gcj/Makefile.in,
3632         include/Makefile.in,
3633         testsuite/Makefile.in: Regenerated.
3634
3635 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3636
3637         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3638         to avoid autoconf warning.
3639         * configure: Rebuilt.
3640
3641 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3642
3643         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3644         localhostAddress to loopbackAddress.
3645         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3646
3647 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3648
3649         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3650         boehm-gc's include dirs.
3651         * configure: Rebuilt.
3652         * include/boehm-gc.h: Include gc_config.h.
3653
3654 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3655
3656         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3657         localhostAddress.
3658         (getByName): Return loopback address for null hostname, without
3659         security check. Use lookup(), not getAllByName.
3660         (getAllByName): Return loopback address for null hostname, without
3661         security check.
3662         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3663         check here.
3664
3665 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3666
3667         PR libgcj/17020
3668         Reported by Robin Green.
3669         * defineclass.cc (handleField): Don't throw exception on unrecognised
3670         modifier. Add FIXME comments for spec compliance.
3671         (handleMethod): Likewise.
3672
3673 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3674
3675         PR libgcj/16662
3676         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3677         (Almost everywhere): add LOG calls, fix, add comments.
3678         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3679         Add explicit check for LOCKED bit in slow case (PR 16662).
3680         (_Jv_MonitorExit): Add casts in debug-only code.
3681         Always release LOCKED bit before throwing exception.
3682         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3683         isn't.  Handle easy cases without lock acquisition.
3684         (Object::wait): Use NotifyAll for lock inflation.
3685
3686 2004-08-12  David Daney  <ddaney@avtrex.com>
3687
3688         * testsuite/libjava.lang/Process_1.java: New test.
3689         * testsuite/libjava.lang/Process_2.java: New test.
3690         * testsuite/libjava.lang/Process_3.java: New test.
3691         * testsuite/libjava.lang/Process_4.java: New test.
3692         * testsuite/libjava.lang/Process_5.java: New test.
3693         * testsuite/libjava.lang/Process_6.java: New test.
3694         * testsuite/libjava.lang/Process_1.out: Expected result.
3695         * testsuite/libjava.lang/Process_2.out: Expected result.
3696         * testsuite/libjava.lang/Process_3.out: Expected result.
3697         * testsuite/libjava.lang/Process_4.out: Expected result.
3698         * testsuite/libjava.lang/Process_5.out: Expected result.
3699         * testsuite/libjava.lang/Process_6.out: Expected result.
3700
3701 2004-08-12  David Daney  <ddaney@avtrex.com>
3702
3703         PR libgcj/11801
3704         * java/lang/PosixProcess.java: Rewrote.
3705         * java/lang/natPosixProcess.cc: Rewrote.
3706         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3707         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3708         * posix-threads.cc (block_sigchld) New function.
3709         (_Jv_ThreadRegister) Use it.
3710         (_Jv_ThreadStart) Use it.
3711         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3712         * Makefile.am: ... to specify extra native headers.
3713         * configure: Regenerated.
3714         * include/config.h: Regenerated.
3715         * Makefile.in: Regenerated.
3716         * gcj/Makefile.in: Regenerated.
3717         * include/Makefile.in: Regenerated.
3718         * testsuite/Makefile.in: Regenerated.
3719
3720 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3721
3722         PR tree-optimization/16867
3723         * testsuite/libjava.lang/PR16867.java: New test.
3724
3725 2004-08-09  Per Bothner  <per@bothner.com>
3726
3727         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3728         with private fields and access methods.
3729         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3730         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3731         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3732         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3733         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3734         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3735         * jni.cc: Likewise.
3736         * resolve.cc: Likewise.
3737         * gcj/field.h: Likewise.
3738         * include/jvm.h: Likewise.
3739         * java/lang/Class.h: Likewise.
3740         * java/lang/natClass.cc: Likwise.
3741         * java/lang/natClassLoader.cc: Likewise
3742         * java/lang/reflect/natMethod.cc: Likewise
3743         * verify.cc: Likewise.
3744         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3745         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3746
3747 2004-08-10  Andrew Haley  <aph@redhat.com>
3748
3749         * testsuite/libjava.lang/err14.java: New file.
3750         * testsuite/libjava.lang/err14.out: New file.
3751
3752 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3753
3754         * Makefile.am: Fix missing rename from x_nat_headers to 
3755         xlib_nat_headers.
3756         * Makefile.in: Regenerated.
3757
3758 2004-08-04  Andrew Haley  <aph@redhat.com>
3759
3760         * java/security/BasicPermission.java: Don't check wildcards.
3761
3762 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3763             Michael Koch  <konqueror@gmx.de>
3764
3765         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3766         * configure.in: Replaced all usages of AC_LINK_FILES by
3767         AC_CONFIG_LINKS.
3768         * aclocal.m4,
3769         configure: Regenerated.
3770
3771 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3772             Michael Koch  <konqueror@gmx.de>
3773
3774         * acconfig.h: Removed.
3775         * Makefile.am: Rename variables for xlib peer to include xlib and
3776         gtk_c_headers to gtk_jni_headers.
3777         * Makefile.in: Regenerated.
3778
3779 2004-08-04  Andrew Haley  <aph@redhat.com>
3780
3781         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3782         debugging.
3783
3784 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3785
3786         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3787         Replace most top level 'dnl' comments with '#' comments, conforming
3788         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3789         help strings.
3790         * configure: Rebuilt.
3791
3792 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3793
3794         * acinclude.m4: Include no-executables.m4.
3795         * aclocal.m4: Rebuild.
3796         * configure.in: Convert to the autoconf 2.59 version of
3797         of the no-executables hack, and also of the nonstandard CXX
3798         hack and the multilibbed CC and CXX hack.  Change prerequisite
3799         to autoconf 2.59.
3800         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3801         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3802         testsuite/Makefile.in: Regenerate.
3803
3804 2004-08-03  Tom Tromey  <tromey@redhat.com>
3805
3806         * jni.cc: Reindented.
3807
3808 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3809
3810         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3811
3812 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3813
3814         * testsuite/libjava.compile/PR16701.java: New test.
3815
3816 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3817
3818         * java/util/Collection.java, java/util/List.java,
3819         java/util/Map.java, java/util/Set.java,
3820         java/util/SortedMap.java, java/util/SortedSet.java:
3821         Added additional exceptions to documentation.
3822
3823 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3824
3825         PR libgcj/16814
3826         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3827         * configure. Regenerate.
3828         * include/win32.h: Explicitly include winsock2.h
3829         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3830         Winsock api.
3831
3832 2004-07-30  Michael Koch  <konqueror@gmx.de>
3833
3834         * java/util/zip/GZIPInputStream.java
3835         (GZIPInputStream): Increase buffer size to 4k.
3836         * java/util/zip/GZIPOutputStream.java
3837         (GZIPOutputStream): Likewise.
3838         * java/util/zip/Inflater.java
3839         (setInput): Merged formating with GNU classpath.
3840         * java/util/zip/InflaterInputStream.java
3841         (InflaterInputStream): Increase buffer size to 4k.
3842         (fill): Throw exception if stream ends early.
3843         (read): Merged endless-loop with GNU classpath.
3844         (skip): Increase buffer size to 2k.
3845
3846 2004-07-30  Michael Koch  <konqueror@gmx.de>
3847
3848         * gnu/java/awt/EmbeddedWindow.java
3849         (addNotify): Use AccessController to allow execution of privileged
3850         code.
3851
3852 2004-07-29  Michael Koch  <konqueror@gmx.de>
3853
3854         * gnu/java/lang/MainThread.java:
3855         Explicitely import used classes.
3856         (args): Make it type String[].
3857
3858 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3859
3860         * gnu/java/awt/ComponentDataBlitOp.java,
3861         gnu/java/beans/ExplicitBeanInfo.java,
3862         gnu/java/beans/IntrospectionIncubator.java,
3863         gnu/java/beans/editors/ColorEditor.java,
3864         gnu/java/beans/editors/FontEditor.java,
3865         gnu/java/beans/editors/NativeBooleanEditor.java,
3866         gnu/java/beans/editors/NativeByteEditor.java,
3867         gnu/java/beans/editors/NativeDoubleEditor.java,
3868         gnu/java/beans/editors/NativeFloatEditor.java,
3869         gnu/java/beans/editors/NativeIntEditor.java,
3870         gnu/java/beans/editors/NativeLongEditor.java,
3871         gnu/java/beans/editors/NativeShortEditor.java,
3872         gnu/java/beans/editors/StringEditor.java,
3873         gnu/java/io/ClassLoaderObjectInputStream.java,
3874         gnu/java/io/decode/Decoder.java,
3875         gnu/java/io/encode/Encoder.java,
3876         gnu/java/lang/ClassHelper.java,
3877         gnu/java/locale/Calendar.java,
3878         gnu/java/locale/Calendar_de.java,
3879         gnu/java/locale/Calendar_en.java,
3880         gnu/java/locale/Calendar_nl.java,
3881         gnu/java/locale/LocaleInformation_de.java,
3882         gnu/java/locale/LocaleInformation_en.java,
3883         gnu/java/locale/LocaleInformation_nl.java:
3884         Cleaned up imports.
3885
3886 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3887
3888         * README: Remove obsolete info. Update bug URL.
3889         * THANKS: Updated.
3890         * NEWS: Updated with news up to GCC 3.4 release.
3891
3892 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3893
3894         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3895         Renamed from 'setName'. New 2-argument form with default value.
3896         (run): Pass default 'value' parameter to System.getProperty().
3897         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3898         typos.
3899         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3900         not 'setName'.
3901
3902 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3903
3904         * configure.in: Check for minimum GTK version 2.4 requirement.
3905         * configure: Rebuilt.
3906
3907 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3908
3909         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3910         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3911         Reduce sleep time.
3912         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3913         compiler bug.
3914         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3915         address. Reduce sleep times. Synchronize with target threads before
3916         attempting to interrupt them. Don't try to calibrate yeild count,
3917         instead, always loop for a fixed time.
3918         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3919         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3920         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3921         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3922         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3923         * testsuite/libjava.lang/pr179.java: Likewise.
3924         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3925         time. Remove upper bounds check on sleep time. 
3926
3927 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3928
3929         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3930         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3931
3932 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3933
3934         * java/io/File.java (toURI): Throw RuntimeException, not 
3935         InternalError.
3936         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3937         class name, not instance.
3938
3939 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3940
3941         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3942         and gnu/java/security/action/SetAccessibleAction.java.
3943         * Makefile.in: Rebuilt.
3944
3945 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3946
3947         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3948         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3949         _Jv_InitPrimClass.
3950         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3951         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3952         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3953
3954 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3955
3956         * Makefile.am: Replace jar, rmic and rmiregistry references with
3957         gjar, grmic and grmiregistry.
3958         * configure.in: Likewise.
3959         * Makefile.in: Regenerate.
3960         * configure: Likewise.
3961         * gcj/Makefile.in: Likewise.
3962         * include/Makefile.in: Likewise.
3963         * testsuite/Makefile.in: Likewise.
3964
3965 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3966
3967         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3968         for privileged getProperty calls.
3969         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3970         SetAccessibleAction instead of anonymous class for doPrivileged call.
3971         (getMethod): Likewise.
3972         (setAccessible): New field. PrivilegedAction object to use when
3973         calling setAccessible.
3974         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3975         SetAccessibleAction instead of anonymous class for diPrivileged call.
3976         (setFields): Likewise.
3977         (getClassUID): Likewise.
3978         (findMethod): Likewise.
3979         * gnu/java/security/action/GetPropertyAction.java: New class.
3980         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3981
3982 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3983
3984         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3985         for final fields.
3986         * testsuite/libjava.lang/Serialization.java: New test.
3987         * testsuite/libjava.lang/Serialization.out: New.
3988
3989 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3990
3991         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3992         missed in last commit.
3993
3994 2004-07-23  Mark Wielaard  <mark@klomp.org>
3995
3996         * java/lang/System.java (static): Set http.agent system property when
3997         not yet set.
3998         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3999         from system property inside AccessController.doPrivileged() call.
4000         (proxyPort): Made package private.
4001         (proxyInUse): Likewise.
4002         (proxyHost): Likewise.
4003         (userAgent): Likewise.
4004
4005 2004-07-23  Mark Wielaard  <mark@klomp.org>
4006
4007         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
4008         implementation.
4009
4010 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
4011
4012         * Makefile.am (ordinary_java_source_files): Add
4013         DefaultContentHandlerFactory.java.
4014         * Makefile.in: Rebuilt.
4015         * java/net/URLConnection.java (defaultFactory): New field.
4016         (getContent): 
4017         (getContentHandler): Renamed from 'setContentHandler'. Try 
4018         defaultFactory after user-set factory, if any. Search for content 
4019         handler implementations in gnu.java.net.content, not gnu.gcj.content.
4020         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
4021         Implemented.
4022         (getLastModified): Implemented.
4023         (getPermission): Create file permission here, instead of in
4024         constructor.
4025         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
4026         Implemented.
4027         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
4028         Implemented.
4029         (getLastModified): Implemented.
4030         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4031         Default implementation.
4032         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4033         Implement using GdkPixbufDecoder.
4034         
4035 2004-07-21  Michael Koch  <konqueror@gmx.de>
4036
4037         * javax/swing/JTextArea.java
4038         (setLineWrap): Fire property change event after new value is set.
4039         (setTabSize): Likewise.
4040
4041 2004-07-21  Michael Koch  <konqueror@gmx.de>
4042
4043         * javax/swing/JTable.java
4044         (autoCreateColumnsFromModel): New field.
4045         (autoResizeMode): Likewise.
4046         (cellEditor): Likewise.
4047         (cellSelectionEnabled): Likewise.
4048         (columnModel): Likewise.
4049         (dataModel): Likewise.
4050         (defaultEditorsByColumnClass): Likewise.
4051         (defaultRenderersByColumnClass): Likewise.
4052         (editingColumn): Likewise.
4053         (editingRow): Likewise.
4054         (gridColor): Likewise.
4055         (preferredViewportSize): Likewise.
4056         (rowHeight): Likewise.
4057         (rowMargin): Likewise.
4058         (rowSelectionAllowed): Likewise.
4059         (selectionBackground): Likewise.
4060         (selectionForeground): Likewise.
4061         (selectionModel): Likewise.
4062         (showHorizontalLines): Likewise.
4063         (showVerticalLines): Likewise.
4064         (tableHeader): Likewise.
4065         (JTable): Implemented.
4066         (getColumnModel): Likewise.
4067         (getSelectedRow): Likewise.
4068         (getSelectionModel): Likewise.
4069         (setModel): Likewise.
4070         (setSelectionModel): Likewise.
4071         (createScrollPaneForTable): New method.
4072         (createDefaultDataModel): Likewise.
4073         (createDefaultListSelectionModel): Likewise.
4074         (getModel): Likewise.
4075         (getTableHeader): Likewise.
4076         (setTableHeader): Likewise.
4077         (getColumnSelectionAllowed): Likewise.
4078         (setColumnSelectionAllowed): Likewise.
4079         (getRowSelectionAllowed): Likewise.
4080         (setRowSelectionAllowed): Likewise.
4081         (getAutoResizeMode): Likewise.
4082         (setAutoResizeMode): Likewise.
4083         (getColumnCount): Likewise.
4084         (getRowCount): Likewise.
4085         (getCellRenderer): Likewise.
4086         * javax/swing/JTree.java
4087         (cellRenderer): New field.
4088         (editable): Likewise.
4089         (rootVisible): Likewise.
4090         (showsRootHandles): Likewise.
4091         (getModel): New method.
4092         (setModel): Likewise.
4093         (isEditable): Likewise.
4094         (setEditable): Likewise.
4095         (isRootVisbile): Likewise.
4096         (setRootVisible): Likewise.
4097         (getShowsRootHandles): Likewise.
4098         (setShowRootHandles): Likewise.
4099         (getCellRenderer): Likewise.
4100         (setCellRenderer): Likewise.
4101
4102 2004-07-21  Michael Koch  <konqueror@gmx.de>
4103
4104         * javax/swing/JFormattedTextField.java
4105         (setDocument): Implemented.
4106         * javax/swing/JRootPane.java:
4107         Fixed javadocs.
4108         * javax/swing/JTable.java
4109         (getDefaultRenderer): New method.
4110         * javax/swing/JTextField.java
4111         (setFont): Likewise.
4112         (getPreferredSize): Likewise.
4113         * javax/swing/JToggleButton.java
4114         (getAccessibleContext): Fix javadoc.
4115         * javax/swing/JTree.java:
4116         Add some javadocs.
4117         * javax/swing/JViewport.java:
4118         Likewise.
4119
4120 2004-07-21  David Jee  <djee@redhat.com>
4121
4122         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4123         Collect all native method declaration at the top.
4124         (create): Set the filename filter if necessary.
4125         (setDirectory): Call nativeSetDirectory().
4126         (setFilenameFilter): Implement.
4127         (filenameFilterCallback): New method.
4128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4129         (create): Configure dialog to show hidden files.
4130         (filenameFilterCallback): New function. 
4131         (nativeSetFilenameFilter): New function.
4132         (nativeSetDirectory): New function.
4133
4134 2004-07-21  Kim Ho  <kho@redhat.com>
4135
4136         * javax/swing/plaf/basic/BasicSliderUI.java:
4137         Ran Jalopy.
4138         (paintTrack): Fill the track before painting
4139         the borders.
4140
4141 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4142
4143         patch from Roman Kennke <roman@ontographics.com>
4144         * javax/swing/Spring.java: New file.
4145         * javax/swing/SpringLayout.java: New file.
4146         * Makefile.am: Add new files.
4147         * Makefile.in: Regenerate.
4148
4149 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4150
4151         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4152         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4153         * javax/swing/ScrollPaneLayout.java: Likewise.
4154
4155 2004-07-21  Kim Ho  <kho@redhat.com>
4156
4157         * javax/swing/DefaultDesktopManager.java:
4158         (findMinimum): Removed.
4159         (resizeFrame): Trust the UI to pass valid 
4160         bounds.
4161         * javax/swing/JOptionPane.java:
4162         Implemented showInternalXXXDialog methods.
4163         (startModal): New method.
4164         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4165         (BorderListener::mouseDragged): Verify that the new 
4166         bounds are valid before passing them to the DesktopManager.
4167         (preferredLayoutSize): Delegate
4168         to getSize.
4169         (minimumLayoutSize): Ditto.
4170         (getSize): New method.
4171         (GlassPaneDispatcher): Reimplemented by copying 
4172         a stripped down LightweightDispatcher from Container.
4173         (getMinimumSize): Call minimumLayoutSize.
4174         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4175         Ran Jalopy.
4176         (mousePressed): Add ability to properly close 
4177         JInternalFrames.
4178         * javax/swing/plaf/basic/BasicToolBarUI.java:
4179         (DragWindow): Set owner for DragWindow.
4180
4181 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4182
4183         * java/awt/image/ShortLookupTable.java: New file.
4184         * java/awt/image/ByteLookupTable.java: New file.
4185         * Makefile.am: Added new files.
4186         * Makefile.in: Regenerated.
4187
4188 2004-07-21  David Jee  <djee@redhat.com>
4189
4190         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4191         (create(GtkContainerPeer)): New native method.
4192         (create()): Call native create(), passing in the parent frame
4193         as the paramter. Natively set the current file and directory.
4194         (setFile): Construct an absolute filename before passing it to
4195         the native peer.
4196         (nativeGetDirectory): New method.
4197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4198         (window_closed): Removed.
4199         (ok_clicked): Likewise.
4200         (cancel_clicked): Likewise.
4201         (handle_response): New method.
4202         (create): Use GtkFileChooserDialog.
4203         (connectSignals): Connect to handle_response.
4204         (nativeGetDirectory): New method.
4205         (nativeSetFile): Use GtkFileChooserDialog.
4206
4207 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4208
4209         * java/awt/image/LookupTable.java: New file.
4210         * Makefile.am: Added new file.
4211         * Makefile.in: Regenerated.
4212
4213 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4214
4215         * java/awt/image/Kernel.java: New file.
4216         * Makefile.am: Added new file.
4217         * Makefile.in: Regenerated.
4218
4219 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4220
4221         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4222         * javax/swing/JMenu.java: Likewise.
4223         * javax/swing/JMenuBar.java: Likewise.
4224         (MARGIN_CHANGED_PROPERTY): New property.
4225         (setMargin): Implemented.
4226         * javax/swing/JMenuItem.java: Fixed javadocs.
4227         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4228         (LABEL_CHANGED_PROPERTY): New property.
4229         (add): changed to use createActionComponent.
4230         (createActionComponent): Implemented.   
4231         (setLabel): Fire PropertyChangeEvent if label property
4232         changes.
4233         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4234         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4235         (ContainerHandler): Repaint if margin property has changed.
4236         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4237         (installUI): Call installComponents().
4238         (uninstallUI): Call uinstallComponents().
4239         * javax/swing/plaf/basic/BasicMenuUI.java:
4240         Fixed javadocs.
4241         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4242         Likewise.
4243
4244 2004-07-21  Kim Ho  <kho@redhat.com>
4245
4246         * javax/swing/plaf/basic/BasicToolBarUI.java:
4247         (DragWindow): Use the right constructor.
4248
4249 2004-07-21  Kim Ho  <kho@redhat.com>
4250
4251         * javax/swing/JToolBar.java:
4252         (layoutContainer): Use getComponents.
4253         * javax/swing/plaf/basic/BasicToolBarUI.java:
4254         (DragWindow): Don't use SwingUtilities' 
4255         getOwnerFrame
4256         (ToolBarDialog): ditto.
4257
4258 2004-07-21  Kim Ho  <kho@redhat.com>
4259
4260         * javax/swing/JRootPane.java:
4261         Ran jalopy.
4262         (layoutContainer): Set the glasspane's size to 
4263         be the same as the content pane.
4264         (createGlassPane): Set opaque property to false.
4265
4266 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4267
4268         * java/awt/Component.java (requestFocus()): Don't handle Panels
4269         specially.
4270         (requestFocus(boolean)): Likewise.
4271         (requestFocusInWindow(boolean)): Likewise.
4272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4273         Set GTK_CAN_FOCUS flag.
4274
4275 2004-07-21  Kim Ho  <kho@redhat.com>
4276
4277         * Makefile.am: Added new file.
4278         * Makefile.in: Regenerated.
4279         * gcj/Makefile.in: Regenerated.
4280         * include/Makefile.in: Regenerated.
4281         * javax/swing/AbstractButton.java:
4282         Add rollOverEnabled property.
4283         (setRolloverEnabled): Use new property.
4284         (isRolloverEnabled): Use new property.
4285         * javax/swing/JTabbedPane.java:
4286         (setComponent): Remove useless JTabbedPane.this.
4287         * javax/swing/JToolBar.java: Finish implementation.
4288         * javax/swing/plaf/basic/BasicArrowButton.java:
4289         (paint): Moved border painting to a border.
4290         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4291         Change JToolBar look and feel defaults.
4292         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4293         (actionPerformed): Return Integer index instead of name.
4294         (addButtonComponents): Check to see if component is
4295         JButton last.
4296         (createMessageArea): Don't use components that are not
4297         completed yet.
4298         (getIconForType): Use temporary icons.
4299         * javax/swing/plaf/basic/BasicSliderUI.java:
4300         (mousePressed): Do not return if it's on thumb.
4301         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4302         (paintMinorTickForVertSlider): ditto.
4303         (paintMajorTickForHorizSlider): ditto.
4304         (paintMajorTickForVertSlider): ditto.
4305         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4306         Add a border around the SplitPaneDivider.
4307         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4308         Remove comments.
4309         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4310         New file. Implemented.
4311         * javax/swing/plaf/basic/BasicToolBarUI.java:
4312         Implemented.
4313         * testsuite/Makefile.in: Regenerated.
4314
4315 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4316
4317         * javax/swing/Timer.java (run): Queue events each time cycle.
4318
4319 2004-07-21  David Jee  <djee@redhat.com>
4320
4321         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4322         (imageComplete): Call image.imageComplete().
4323         * java/awt/image/MemoryImageSource.java:
4324         Reimplement consumers as a Vector instead of a Hashtable.  This is
4325         because enumeration on a Hashtable is not thread-safe.
4326         (addConsumer): Adapt to Vector consumers.
4327         (isConsumer): Adapt to Vector consumers.
4328         (removeConsumer): Adapt to Vector consumers.
4329         (startProduction): Adapt to Vector consumers. Call imageComplete()
4330         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4331         (newPixels): Adapt to Vector consumers.
4332         (sendPicture): Set the color model of the image consumer.
4333         (newPixels(IIII)): Adapt to Vector consumers.
4334         (newPixels(IIIIB)): Adapt to Vector consumers.
4335
4336 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4337
4338         * java/awt/Component.java (deliverEvent): Implement.
4339         (postEvent): Implement.
4340         (handleEvent): Implement.
4341         (translateEvent): New method.
4342         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4343         * java/awt/Container.java (deliverEvent): Implement.
4344         * java/awt/Event.java (paramString): Fix formatting.
4345         * java/awt/Font.java (toString): Likewise.
4346         * java/awt/Window.java (postEvent): Implement.
4347
4348 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4349
4350         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4351         Set window's focus owner upon receiving a FOCUS_LOST event.
4352         * java/awt/Window.java (Window()): Refocus the previously
4353         focused component within the window when the window regains the
4354         top-level focus.
4355         (setFocusOwner): New method.
4356         * java/awt/Component.java (requestFocus): Add FIXME.
4357
4358         * libgcj.pc.in: Remove library flags.
4359
4360 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4361
4362         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4363         MOUSE_PRESSED event.
4364         * java/awt/Component.java (requestFocus()): Handle Panel
4365         specially.  Post FOCUS_LOST event on opposite component.
4366         (requestFocus(boolean)): Likewise.
4367         (requestFocusInWindow(boolean)): Likewise.
4368         (paramString): Reorder dimension fields.
4369         * java/awt/Container.java (paramString): Fix string format.
4370         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4371         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4372         process key events if the focus owner is non-null.
4373         (dispatchKeyEvent): Likewise.
4374         * java/awt/Frame.java (paramString): Fix formatting.
4375         (generateName): New method.
4376         (getUniqueLong): Likewise.
4377         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4378         the temporary focus owner is null.  If so, return the permanent
4379         focus owner.
4380         * java/awt/Panel.java (generateName): New method.
4381         (getUniqueLong): Likewise.
4382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4383         signal handling to make callbacks more specific.
4384
4385 2004-07-21  Michael Koch  <konqueror@gmx.de>
4386
4387         * javax/swing/text/Position.java
4388         (Bias): Implemented.
4389
4390 2004-07-21  Michael Koch  <konqueror@gmx.de>
4391
4392         * javax/swing/LookAndFeel.java
4393         (provideErrorFeedback): New method.
4394
4395 2004-07-21  Michael Koch  <konqueror@gmx.de>
4396
4397         * javax/swing/JTextArea.java
4398         (tabSize): New field.
4399         (getTabSize): New method.
4400         (setTabSize): Likewise.
4401
4402 2004-07-21  Michael Koch  <konqueror@gmx.de>
4403
4404         * javax/swing/ActionMap.java:
4405         Fixed javadocs all over.
4406         (serialVersionUID): Made private.
4407         (parent): Don't explicitely initialize with default value.
4408         (get): SImplified.
4409         (keys): Reimplemented.
4410         (allKeys): Likewise.
4411         (convertSet): Removed.
4412         * javax/swing/ComponentInputMap.java:
4413         Fixed javadocs all over.
4414         (ComponentInputMap): Implemented.
4415         (put): Likewise.
4416         (clear): Likewise.
4417         (remove): Likewise.
4418         (SetParent): Likewise.
4419         (getComponent): Likewise.
4420         * javax/swing/InputMap.java:
4421         Fixed javadocs all over.
4422         (serialVersionUID): Made private.
4423         (parent): Don't explicitely initialize with default value.
4424         (get): SImplified.
4425         (keys): Reimplemented.
4426         (allKeys): Likewise.
4427         (convertSet): Removed.
4428
4429 2004-07-21  Michael Koch  <konqueror@gmx.de>
4430
4431         * javax/swing/ActionMap.java,
4432         javax/swing/ComponentInputMap.java,
4433         javax/swing/InputMap.java,
4434         javax/swing/table/DefaultTableColumnModel.java,
4435         javax/swing/table/TableColumn.java,
4436         javax/swing/table/TableColumnModel.java,
4437         javax/swing/table/TableModel.java,
4438         javax/swing/text/AbstractDocument.java,
4439         javax/swing/text/TextAction.java:
4440         Reformated.
4441
4442 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4443
4444         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4445         Make method non-static.
4446         * javax/swing/AbstractButton.java:
4447         Rename fields to match property names where possible.
4448         (iconTextGap): New property.
4449         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4450         (init) New method, call from after various constructors.
4451         * javax/swing/JComponent.java (revalidate): 
4452         Invalidate before queueing repair.
4453         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4454         Reimplement in terms of visibleRowCount property.
4455         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4456         * javax/swing/JScrollPane.java (createScrollListener): 
4457         Remove tracing chatter.
4458         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4459         * javax/swing/RepaintManager.java (addInvalidComponent): 
4460         Don't invalidate.
4461         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4462         calculations.
4463         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4464         Mimic sun behavior on top left/right positioning.
4465         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4466         Remove mistaken use of preferredScrollableViewportSize here.
4467         (layoutContainer): Use view's preferred size as basis.
4468         * javax/swing/plaf/basic/BasicButtonUI.java:
4469         Set, get, and use textIconGap property.
4470         (paint) Paint text returned from layout (with ellipsis).
4471         * javax/swing/plaf/basic/BasicListUI.java:
4472         Remove tracing chatter, correct various minor calculations.
4473         (getCellBounds): Update layout state before calculating.
4474         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4475         Use margin default similar to sun's.    
4476         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4477         (createIncreaseIcon): Center icon, minimize margins.
4478         (createDecreaseIcon): Likewise.
4479         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4480         Implement.
4481         (installUI): Call it.
4482         (uninstallDefaults): Implement.
4483         (uninstallUI): Call it.
4484         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4485         Call existing Window constructor.
4486         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4487         Set clip before painting.
4488
4489 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4490         
4491         * javax/swing/JMenuItem.java:
4492         (processMouseEvent): Reimplemented to deal with
4493         mouse drag events.
4494         (createMenuDragMouseEvent): New private helper method.
4495         Creates MenuDragMouseEvent.
4496         * javax/swing/MenuSelectionManager.java
4497         (componentForPoint): Implemented.
4498         (isComponentPartOfCurrentMenu): Made public.
4499         (processMouseEvent): Reimplemented to deal with 
4500         mouse drag events.
4501         (setSelectedPath): Corrected small mistake that caused
4502         path to be set incorrectly.
4503         (getPath): If given component is JMenu then also add this
4504         menu's popup menu to the selected path.
4505         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4506         (getPath): Ditto.
4507         (getPreferredSize): Call getPreferredMenuItemSize().
4508         (getPreferredItemSize): Moved code from getPreferredSize to here.
4509         (installListeners): Install MouseMotionListeners.
4510         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4511         if mouse wasn't released in the bounds of this menu item.
4512         (MenuDragMouseHandler): Implemented.
4513         * javax/swing/plaf/basic/BasicMenuUI.java:
4514         (installListeners): Install MouseMotionListener and 
4515         MenuDrageMouseListener.
4516         (MenuDragMouseHandler): Implemented.
4517         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4518         (uninstallListeners): Implemented.
4519         
4520 2004-07-21  Michael Koch  <konqueror@gmx.de>
4521
4522         * javax/swing/JCheckBox.java: Reformated.
4523         (JCheckBox): Fixed all constructors.
4524         (isBorderPaintedFlat): New method.
4525         (setBorderPaintedFlat): New method.
4526         * javax/swing/JEditorPane.java
4527         (createEditorKitForContentType): Made public.
4528         (scrollToReference): Likewise.
4529         * javax/swing/JTextArea.java
4530         (setLineWrap): Fire property change.
4531         * javax/swing/JToggleButton.java
4532         (JToggleButton): New constructor.
4533         (JToggleButton): Simplified.
4534         * javax/swing/text/AttributeSet.java
4535         (FontAttribute): Renamed from FontCharacterAttribute.
4536         * javax/swing/text/JTextComponent.java
4537         (KeyBinBinding): Added javadoc.
4538         (JTextComponent): Likewise.
4539         (getAccessibleContext): Fixed javadoc.
4540         * javax/swing/text/View.java
4541         (View): Added javadoc.
4542         * javax/swing/text/TabableView.java: New file.
4543         * Makefile.am: Added javax/swing/text/TabableView.java.
4544         * Makefile.in: Regenerated.
4545
4546 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4547
4548         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4549         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4550         (GtkErrorImage): New helper class.
4551         (bufferedImageOrError): New helper method.
4552         (createImage): Use it.
4553
4554 2004-07-21  David Jee  <djee@redhat.com>
4555
4556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4557         (setCaretPosition): Scroll the text view so the new caret position
4558         is visible on screen.
4559
4560 2004-07-21  David Jee  <djee@redhat.com>
4561
4562         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4563         (setBounds): Do not validate awtComponent here.
4564         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4565         (getPreferredSize): New method.
4566         * java/awt/ScrollPane.java
4567         (ScrollPane): Set default size to 100x100.
4568         (addNotify): If child is not a Panel, wrap it with a new Panel.
4569         (paramString): Implement.
4570
4571 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4572
4573         * javax/swing/JMenu.java:
4574         (setSelected): Display popup menu only if this menu 
4575         is showing on the screen.
4576         * javax/swing/JPopupMenu.java:
4577         (processMouseEvent): Added comment.
4578         (processKeyEvent): Likewise.
4579         * javax/swing/MenuSelectionManager.java:
4580         (clearSelectedPath): Only fireStateChanged() after
4581         selected path was changed, not before.
4582         (setSelectedPath): Likewise.
4583         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4584         (paintMenuItem): Corrected position of menu item's
4585         icon.
4586         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4587         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4588         (popupMenuCanceled): Reimplemented.
4589         (popupMenuWillBecomeVisible): Select first menu item by default 
4590         when displaying free floating popup menus.
4591         (TopWindowListener): Reimplemented.
4592
4593 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4594
4595         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4596         Panel from being painted twice when it is first shown.
4597
4598 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4599
4600         * java/awt/Window.java: Reverted changes from my 
4601         previous patch for creating window without an owner.
4602         * javax/swing/SwingUtilities.java: 
4603         (SwingUtilities.OwnerFrame): made static.
4604         (OwnerFrame.setVisible): New method. Overridden with
4605         empty implementation.
4606         (OwnerFrame.isShowing): New method. Ovverridden
4607         to return always true.
4608
4609 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4610
4611         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4612         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4613         (GtkComponentPeer): Remove temporary try/catch block.
4614         (setVisible): Call show and hide.
4615         (show): Make native.
4616         (hide): Likewise.
4617         (getArgs): Don't add "visible" argument.
4618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4619         (property_notify_predicate): Return Bool instead of int.
4620         (find_layout): New function.
4621         (connectJObject): Call find_layout.
4622         (connectSignals): Likewise.
4623         (moveLayout): Likewise.
4624         (gtkLayoutSetVisible): Likewise.
4625
4626 2004-07-21  Mark Wielaard  <mark@klomp.org>
4627
4628         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4629         on notifier object before calling notifyAll().
4630
4631 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4632
4633         * java/awt/Window.java: Changed constructors to use new
4634         method that is described below. Constructors call this
4635         methods only if newly created window should have an owner.
4636         (setWindowOwner): New method. Implementation for
4637         this method is moved from this(owner,configuration).
4638         * javax/swing/JWindow.java:
4639         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4640         instead of owner.
4641         * javax/swing/SwingUtilities.java:
4642         (ownerFrame): Change type of this field to OwnerFrame.
4643         (getOwnerFrame): Changed to return object of type OwnerFrame.
4644         (SwingUtilities.OwnerFrame): New class. Represents owner
4645         of a Window that is not provided with one.
4646
4647 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4648
4649         *  javax/swing/AbstractButton.java: 
4650         (configurePropertiesFromAction): Set action command
4651         to button's text by default if action command is not 
4652         explicitely specified.
4653         * javax/swing/JMenu.java: Remove unnecessary listener
4654         and methods relevant to it.
4655         (setSelected): Reimplemented.
4656         (menuSelectionChanged): Moved most part of implementation to
4657         setSelected() and call it instead.
4658         * javax/swing/JMenuItem.java: 
4659         (init): Comment out statement that sets paint_border to false.
4660         (configurePropertiesFromAction): Do not set accelerator
4661         for JMenu.
4662         (menuSelectionChanged): Change selected index in the selection
4663         model of menu item's parent.
4664         * javax/swing/JPopupMenu.java:
4665         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4666         instead of GridBagConstraints.HORIZONTAL.
4667         (insert): Likewise.
4668         (createActionChangeListener): Implemented.
4669         (setVisible): Correct location of HeavyWeightMenu and 
4670         don't firePopupMenuCanceled().
4671         (menuSelectionChanged): Implemented.
4672         (ActionChangeListener): New Listener. Implemented.
4673         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4674         (BasicMenuBarUI.ContainerHandler): Implemented.
4675         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4676         (paintMenuItem): Uncommented out code that paints 
4677         icon, now that icons are working properly.
4678         (PropertyChangeListener): Implemented.
4679         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4680         Added javadocs.
4681         (topWindowListener): New field.
4682         (Constructor): initialize topWindowListener.
4683         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4684         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4685         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4686         Implemented.
4687
4688 2004-07-21  Michael Koch  <konqueror@gmx.de>
4689
4690         * javax/swing/plaf/basic/BasicButtonUI.java
4691         (paintFocus): Fixed method signature.
4692         (paintButtonPressed): Likewise.
4693         (paintButtonNormal): Likewise.
4694         (paintText): New method.
4695         * javax/swing/plaf/basic/BasicLabelUI.java
4696         (paint): Re-indented.
4697         * javax/swing/plaf/basic/BasicTextUI.java
4698         (installUI): Set parent textComponent to opaque.
4699         * javax/swing/text/DefaultHighlighter.java
4700         (checkPositions): New helper method.
4701         (addHighlight): Throws BadLocationException, check positions.
4702         (changeHighlight): Likewise.
4703         * javax/swing/text/EditorKit.java
4704         (EditorKit): Implements Serializable.
4705         * javax/swing/text/JTextComponent.java
4706         (getUI): Added javadoc.
4707         (setUI): Likewise.
4708         (upadteUI): Added javadoc, don't revalidate and repaint.
4709
4710 2004-07-21  David Jee  <djee@redhat.com>
4711
4712         * java/awt/GridBagLayout.java
4713         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4714         * javax/swing/AbstractButton.java
4715         (setText): Reindent.
4716         * javax/swing/RepaintManager.java
4717         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4718
4719 2004-07-21  Michael Koch  <konqueror@gmx.de>
4720
4721         * javax/swing/JFormattedTextField.java
4722         (value): New field.
4723         (JFormattedTextField): Implemented.
4724         (getValue): Likewise.
4725         (setValue): Likewise.
4726         * javax/swing/LookAndFeel.java
4727         (getSupportsWindowDecorations): New method.
4728         * javax/swing/UIDefaults.java:
4729         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4730         (addPropertyChangeListener): Made public.
4731         (addResourceBundle): Likewise.
4732         (removeResourceBundle): Likewise.
4733         (setDefaultLocale): Likewise.
4734         * javax/swing/plaf/basic/BasicRootPaneUI.java
4735         (BasicRootPaneUI): Implements PropertyChangeListener.
4736         (propertyChange): New method.
4737         * javax/swing/plaf/basic/BasicTextUI.java
4738         (BasicHighlighter): New inner class.
4739         (createHighlighter): New method.
4740         * javax/swing/plaf/basic/BasicToolBarUI.java
4741         (DragWindow): Extends java.awt.Window.
4742         * javax/swing/text/JTextComponent.java
4743         (getDocument): Removed debug output.
4744         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4745         javax/swing/text/DefaultHighlighter.java,
4746         javax/swing/text/FieldView.java,
4747         javax/swing/text/PlainView.java: New files.
4748         * Makefile.am: Added new files.
4749         * Makefile.in: Regenerated.
4750
4751 2004-07-21  Michael Koch  <konqueror@gmx.de>
4752
4753         * javax/swing/JEditorPane.java
4754         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4755         (createEditorKitForContentType): Likewise.
4756         * javax/swing/text/DefaultEditorKit.java
4757         (serialVersionUID): Added constant field.
4758         (EndOfLineStringPropery): Fixed typo.
4759         (DefaultEditorKit): New constructor.
4760         * javax/swing/text/Segment.java:
4761         Import java.text.CharacterIterator.
4762         * javax/swing/text/CharacterIterator.java,
4763         javax/swing/text/PlainEditorKit.java: Removed.
4764         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4765         javax/swing/text/PlainEditorKit.java.
4766         * Makefile.in: Regenerated.
4767
4768 2004-07-21  Michael Koch  <konqueror@gmx.de>
4769
4770         * javax/swing/JButton.java,
4771         javax/swing/text/DefaultEditorKit.java,
4772         javax/swing/text/EditorKit.java,
4773         javax/swing/text/Segment.java,
4774         javax/swing/text/StyledEditorKit.java:
4775         Reformatted.
4776
4777 2004-07-21  Michael Koch  <konqueror@gmx.de>
4778
4779         * javax/swing/ImageIcon.java
4780         (file): Removed.
4781         (description): Renamed from descr.
4782         (ImageIcon): Added missing constructors.
4783         (setParent): Removed.
4784         (setImageObserver): New method.
4785         (getImageObserver): New method.
4786         (paintIcon): Handle observer = null.
4787         * javax/swing/JButton.java
4788         (removeNotify): Fixed javadoc.
4789         (updateUI): Simplified.
4790         * javax/swing/JRootPane.java
4791         (serialVersionUID): New constant field.
4792         * javax/swing/UIManager.java:
4793         Fixed javadocs all over.
4794         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4795         * javax/swing/text/AbstractDocument.java
4796         (createPosition): Throws BadLocationException.
4797         (getText): Likewise.
4798         (remove): Likewise.
4799         * javax/swing/text/ComponentView.java
4800         (modelToView): Likewise.
4801         * javax/swing/text/DefaultEditorKit.java:
4802         Made all public methods public.
4803         (read): Throws BadLocationException and IOException.
4804         (write): Likewise.
4805         * javax/swing/text/EditorKit.java:
4806         Made all public methods public.
4807         (serialVersionUID): New constant field.
4808         (clone): New method.
4809         (read): Throws BadLocationException and IOException.
4810         (write): Likewise.
4811         * javax/swing/text/Segment.java
4812         (array): Made public.
4813         (count): Likewise.
4814         (offset): Likewise.
4815         (Segment): New constructors.
4816         (clone): Reimplemented.
4817         * javax/swing/text/StyledEditorKit.java
4818         (serialVersionUID): New constant field.
4819
4820 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4821
4822         * java/awt/image/BufferedImage.java 
4823         (getSource): Implement.
4824         * javax/swing/ImageIcon.java 
4825         (ImageIcon): Implement ctor.
4826         * javax/swing/ScrollPaneLayout.java 
4827         (preferredLayoutSize): Be more careful about nulls.
4828
4829 2004-07-21  Michael Koch  <konqueror@gmx.de>
4830
4831         * javax/swing/text/AttributeSet.java
4832         (CharacterAttribute): New interface
4833         (ColorAttribute): Likewise.
4834         (FontCharacterAttribute): Likewise.
4835         (ParagraphAttribute): Likewise.
4836         * javax/swing/text/DefaultCaret.java
4837         (moveCaret): New method.
4838         (positionCaret): Likewise.
4839         (repaint): Made protected.
4840         * javax/swing/text/JTextComponent.java
4841         (KeyBinding): Made it static.
4842         * javax/swing/text/View.java
4843         (getContainer): Honor parent == null.
4844
4845 2004-07-21  Michael Koch  <konqueror@gmx.de>
4846
4847         * javax/swing/text/AbstractDocument.java:
4848         Reformatted.
4849
4850 2004-07-21  Michael Koch  <konqueror@gmx.de>
4851
4852         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4853         Import javax.swing.UIManager explicitely.
4854         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4855         (ScrollingButton): Made it static.
4856
4857 2004-07-21  Michael Koch  <konqueror@gmx.de>
4858
4859         * javax/swing/UIDefaults.java
4860         (ActiveValue): Made public.
4861         (LazyValue): Likewise.
4862         * javax/swing/plaf/basic/BasicTextUI.java
4863         (RootView): Reintroduced.
4864         (view): Removed.
4865         (rootView): New field.
4866         (installUI): Create document if needed, initialize rootView.
4867         (uninstallUI): Hanle rootView.
4868         (paint): Likewise.
4869         (getRootView): Likewise.
4870         (setView): Likewise.
4871         * javax/swing/text/DefaultCaret.java:
4872         Renamed all "evt" variables to "event".
4873
4874 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4875
4876         * libgcj.spec.in: Add -l-java-util-logging.
4877
4878 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4879
4880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4881         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4882         gtk-xft-dpi can no calculate the right value.
4883         (dpi_changed_cb): Mark *pspec as unsused.
4884
4885 2004-07-21  David Jee  <djee@redhat.com>
4886
4887         * java/awt/Component.java
4888         (move): Delegate to setBounds().
4889         (resize): Likewise.
4890         (reshape): Fix so it repaints parent and self only when necessary.
4891
4892 2004-07-21  David Jee  <djee@redhat.com>
4893
4894         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4895         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4896         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4897         (setVisible): Likewise.
4898         (show): Likewise.
4899         (hide): Likewise.
4900         (getArgs): Likewise.
4901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4902         (property_notify_predicate): Likewise.
4903         (find_layout): Likewise.
4904         (connectJObject): Likewise.
4905         (connectSignals): Likewise.
4906         (moveLayout): Likewise.
4907         (gtkLayoutSetVisible): Likewise.
4908
4909 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4910
4911         * Makefile.am
4912         (jv_convert_LDADD):
4913         (gij_LDADD):
4914         (rmic_LDADD):
4915         (rmiregistry_LDADD): Add lib-java-util-logging.la
4916         * Makefile.in: Regenerate.
4917
4918 2004-07-21  Michael Koch  <konqueror@gmx.de>
4919
4920         * javax/swing/text/AbstractDocument.java
4921         (replace): Dont use protected method of java.util.Vector directly.
4922
4923 2004-07-21  Michael Koch  <konqueror@gmx.de>
4924
4925         * javax/swing/plaf/basic/BasicTextUI.java
4926         (installUI): Call specialized install methods.
4927         (installDefaults): New method.
4928         (installListeners): Likewise.
4929         (installKeyboardActions): Likewise.
4930         (uninstallUI): Likewise.
4931         (uninstallDefaults): New method.
4932         (uninstallListeners): Likewise.
4933         (uninstallKeyboardActions): Likewise.
4934         (getPropertyPrefix): New abstract method.
4935         (paint): Made final, just call paintSafely().
4936         (paintSavely): New method.
4937         (paintBackground): Likewise.
4938         (getVisibleEditorRect): Likewise.
4939         * javax/swing/text/LayeredHighlighter.java,
4940         javax/swing/text/TabExpander.java: New files.
4941         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4942         and javax/swing/text/TabExpander.java.
4943         * Makefile.in: Regenerated.
4944
4945 2004-07-21  Michael Koch  <konqueror@gmx.de>
4946
4947         * javax/swing/plaf/basic/BasicTextUI.java
4948         (BasicTextUI): Made abstract.
4949         (BasicCaret): New inner class.
4950         (view): Don't explicitely initialize with "null".
4951         (textComponent): New field.
4952         (textColor): Removed.
4953         (disabledTextColor): Removed.
4954         (normalBackgroundColor): Removed.
4955         (RootView): Removed commented out inner class.
4956         (createUI): Removed.
4957         (createCaret): New method.
4958         (getComponent): Likewise.
4959         (installUI): Initialize textComponent only.
4960         (getPreferredSize): Use installed JTextComponent.
4961         (setView): New method.
4962         (create): Likewise.
4963         * javax/swing/text/JTextComponent.java
4964         (highlighter): New field.
4965         (caretColor): Likewise.
4966         (disabledTextColor): Likewise.
4967         (seletedTextColor): Likewise.
4968         (selectionColor): Likewise.
4969         (setUI): New method.
4970         (getCaretColor): Likewise.
4971         (setCaretColor): Likewise.
4972         (getDisabledColor): Likewise.
4973         (setDisabledColor): Likewise.
4974         (getSelectedTextColor): Likewise.
4975         (setSelectedTextColor): Likewise.
4976         (getSelectionColor): Likewise.
4977         (setSelectionColor): Likewise.
4978         (getHighlighter): Likewise.
4979         (setHighlighter): Likewise.
4980         (replaceSelection): Likewise.
4981
4982 2004-07-21  Michael Koch  <konqueror@gmx.de>
4983
4984         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4985         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4986         * javax/swing/plaf/basic/BasicToolBarUI.java
4987         (BasicToolBarUI): Implements SwingConstants.
4988
4989 2004-07-21  Michael Koch  <konqueror@gmx.de>
4990
4991         * javax/swing/JPopupMenu.java: Removed CVS tags.
4992         * javax/swing/UIDefaults.java: Reformatted.
4993         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4994         Explicitely import used classes.
4995
4996 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4997
4998         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4999         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5000         (GtkComponentPeer): Remove temporary try/catch block.
5001         (setVisible): Call show and hide.
5002         (show): Make native.
5003         (hide): Likewise.
5004         (getArgs): Don't add "visible" argument.
5005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5006         (property_notify_predicate): Return Bool instead of int.
5007         (find_layout): New function.
5008         (connectJObject): Call find_layout.
5009         (connectSignals): Likewise.
5010         (moveLayout): Likewise.
5011         (gtkLayoutSetVisible): Likewise.
5012
5013 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5014
5015         * javax/swing/AbstractButton.java:
5016         (setDisplayedMnemonicIndex): Check if button
5017         text is not null before checking its length.
5018         * javax/swing/JMenuItem.java:
5019         (processMouseEvent): Disarm menu item if mouse has
5020         exited it.
5021         * javax/swing/plaf/basic/BasicMenuUI.java:
5022         (MouseInputHandler.mouseEntered): Do not raise
5023         popup menu if this menu is already selected.
5024         (MouseInputHandler.mousePressed): Do not fire 
5025         MenuEvents.
5026         (MenuHandler): Implemented.     
5027
5028 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5029
5030         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
5031         (getSelectedObjects): Implemented.
5032         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
5033         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
5034         Added javadoc for few methods.
5035         (processMouseEvent): Made public.
5036         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
5037         (processMouseEvent): Likewise.
5038
5039 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
5040
5041         * javax/swing/AbstractButton.java:
5042         (init): Set display mnemonic index to -1.
5043         (setMnemonic(char)): Use setMnemonic(int).
5044         (setMnemonic(int)): Set display mnemonic index.
5045         (getDisplayedMnemonicIndex): Change method signature
5046         by removing 'index' parameter.
5047         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5048         Added default for Menu.selectionBackground.     
5049         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5050         (paintMenuItem): Change background color of the selected
5051         menu item.
5052         (paintText): Paint differently when menu item is disabled.
5053         Also paint mnemonic if it appears in the menu item's label.
5054         (paintAccelerator): Paint accelerator differently
5055         if menu item is disabled.
5056         * javax/swing/plaf/basic/BasicMenuUI.java:
5057         (installDefaults): Install defaults for 
5058         selectionForeground and selectionBackground.
5059         (uninstallDefaults): Uninstall defauls for 
5060         selectionForeground and selectionBackground.
5061
5062 2004-07-21  Michael Koch  <konqueror@gmx.de>
5063
5064         * javax/swing/text/AbstractDocument.java
5065         (BranchElement): Implemented.
5066         (LeafElement): Implemented.
5067         * javax/swing/text/DefaultCaret.java:
5068         Import used classes.
5069         (serialVersionUID): New constant.
5070         * javax/swing/text/JTextComponent.java
5071         (AccessibleJTextComponent): Removed dead declaration.
5072         (caretPos): Removed.
5073         (setCaret): New method.
5074         * javax/swing/text/PlainDocument.java
5075         (rootElement): New field.
5076         (PlainDocument): Initialize rootElement.
5077         (createDefaultRoot): New method.
5078         (getDefaultRootElement): Implemented.
5079         * javax/swing/text/View.java: Reformatted.
5080         * javax/swing/text/ViewFactory.java
5081         (create): Added javadoc.
5082
5083 2004-07-21  Michael Koch  <konqueror@gmx.de>
5084
5085         * javax/swing/ToolTipManager.java: Reformatted.
5086
5087 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
5088
5089         * javax/swing/AbstractButton.java
5090         (changeEvent): New field.
5091         (fireItemStateChanged): Change source of the event
5092         to 'this' before firing it to button listeners.
5093         (fireActionPerformed): Likewise.
5094         (fireStateChanged): Likewise.
5095         (createActionListener): Do not set source 
5096         of the event to AbstractButton.                                  
5097         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5098         (ContainerHandler.componentAdded): Removed 
5099         print out statement.
5100         (ContainerHandler.componentRemoved): Likewise.
5101
5102 2004-07-21  Michael Koch  <konqueror@gmx.de>
5103
5104         * javax/swing/text/Highlighter.java: New file.
5105         * Makefile.am: Added javax/swing/text/Highlighter.java.
5106         * Makefile.in: Regenerated.
5107
5108 2004-07-21  Michael Koch  <konqueror@gmx.de>
5109
5110         * javax/swing/ToolTipManager.java
5111         (stillInsideTimerAction): Fixed constructor arguments.
5112         (outsideTimerAction): Likewise.
5113         (insideTimerAction): Likewise.
5114
5115 2004-07-21  Michael Koch  <konqueror@gmx.de>
5116
5117         * javax/swing/JButton.java: Reformatted.
5118         * javax/swing/JFormattedTextField.java
5119         (getUIClassID): Implemented.
5120         * javax/swing/JRootPane.java
5121         (serialVersionUID): New constant.
5122         * javax/swing/JTextField.java
5123         (align): New field.
5124         (JTextField): Simplified.
5125         (getUIClassID): New method.
5126         (getActionListeners): Added @since tag.
5127         (setColumns): Invalidate layout and repaint.
5128         (getHorizontalAlignment): New method.
5129         (setHorizontalAlignment): New method.
5130         (selectAll): Removed.
5131         * javax/swing/SwingUtilities.java
5132         (getAncestorOfClass): Removed redundant @see tag.
5133         (isLeftMouseButton): Fixed implementation.
5134         (isMiddleMouseButton): Likewise.
5135         (isRightMouseButton): Likewise.
5136         * javax/swing/text/AbstractDocument.java
5137         (AttributeContext.addAttribute): New method.
5138         (AttributeContext.addAttributes): New method.
5139         (AttributeContext.getEmptySet): New method.
5140         (AttributeContext.reclaim): New method.
5141         (AttributeContext.removeAttribute): New method.
5142         (AttributeContext.removeAttributes): New method.
5143         * javax/swing/text/Document.java
5144         (createPosition): Throws BadLocationException.
5145         (getText): Likewise.
5146         (remove): Likewise.
5147         * javax/swing/text/JTextComponent.java
5148         (getText): Return null if no document is set. Catch
5149         BadLocationException.
5150         (getUI): Return ui.
5151         (updateUI): Simplified.
5152
5153 2004-07-21  Michael Koch  <konqueror@gmx.de>
5154
5155         * javax/swing/JButton.java
5156         (removeNotify): Fixed javadoc.
5157         (updateUI): Simplified.
5158
5159 2004-07-21  David Jee  <djee@redhat.com>
5160
5161         * gnu/java/awt/image/ImageDecoder.java
5162         (startProduction): Only add consumer if it's not added yet.
5163         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5164         (GdkPixbufDecoder): Don't call initState() here.
5165         (produce): Call initState() here, to ensure area_prepared and
5166         area_updated signals are properly connected.
5167         * gnu/java/awt/peer/gtk/GtkImage.java
5168         (setColorModel): Use equals() to compare ColorModel objects.
5169         (setPixels): Likewise.
5170         * java/awt/image/ColorModel.java
5171         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5172         * java/awt/image/RGBImageFilter.java
5173         (setColorModel): Set consumer's color model.
5174         (setPixels): Use equals() to compare ColorModel objects.
5175
5176 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
5177
5178         * java/net/URLConnection.java (position): New field.
5179         (dateFormat1, dateFormat2, dateFormat3): Removed.
5180         (dateFormats): New field.
5181         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5182         each time instead of re-allocating.
5183         (initializeDateFormats): Initialize 'dateFormats'.
5184
5185 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5186
5187         PR libgcj/16591
5188         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5189         is defined.
5190
5191 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5192
5193         * java/net/Socket.java (getImpl): Now private. Remove comment.
5194
5195 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5196
5197         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5198         of chained Writer when calling super-constructor.
5199         * java/io/FilterWriter.java (FilterWriter): Likewise.
5200         * java/io/PrintWriter.java (PrintWriter): Likewise.
5201
5202 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
5203
5204         * prims.cc (process_gcj_properties): Don't increment i within LHS
5205         of assignment.
5206
5207 2004-07-19  Per Bothner  <per@bothner.com>
5208
5209         Print -verbose:message on "loading", not initialization.
5210         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
5211         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
5212         gcj::verbose_class_flag.
5213         * java/lang/natClass.cc (initializeClass):  Don't print message here.
5214         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
5215         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5216         (_Jv_PrepareCompiledClass):  Likewise.
5217
5218 2004-07-18  Matthias Klose  <doko@debian.org>
5219
5220         * configure.in: Substitute target_noncanonical.
5221         * configure: Regenerate
5222
5223 2004-07-17  Michael Koch  <konqueror@gmx.de>
5224
5225         * java/lang/String.java: Fixed javadocs all over.
5226
5227 2004-07-17  Mark Wielaard  <mark@klomp.org>
5228
5229         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5230         when size is smaller.
5231         * java/io/RandomAccessFile.java (setLength): Use truncate for
5232         shrinking the file and seek plus write for expanding the file.
5233
5234 2004-07-17  Michael Koch  <konqueror@gmx.de>
5235
5236         * gnu/java/nio/channels/natFileChannelPosix.cc
5237         (implTruncate): Always save current position. Only reposition file
5238         pointer to where we started if not beyond new lenght. Reposition file
5239         pointer to file length if it points beyond the end of file.
5240
5241 2004-07-17  Mark Wielaard  <mark@klomp.org>
5242
5243         * javax/swing/Box.java: Put FIXME comment above class declaration.
5244         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5245         * javax/swing/JCheckBox.java: Likewise.
5246         * javax/swing/JDialog.java: Likewise.
5247         * javax/swing/JRadioButton.java: Likewise.
5248         * javax/swing/JToggleButton.java: Likewise.
5249         * javax/swing/UIManager.java: Likewise.
5250         * javax/swing/border/TitledBorder.java: Likewise.
5251         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5252         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5253         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5254         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5255         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5256         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5257         * javax/swing/text/JTextComponent.java: Likewise.
5258
5259 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5260
5261         * java/net/DatagramPacket.java (setAddress): Removed check for
5262         null address.
5263
5264 2004-07-17  Michael Koch  <konqueror@gmx.de>
5265
5266         * java/net/DatagramSocket.java
5267         (getLocalAddress): Check if socket is bound or not.
5268         * java/net/Socket.java
5269         (getLocalAddrss): Check if socket is bound or not.
5270         (getPort): Return -1 when not connected. Dont check getImpl() for
5271         null.
5272         (setReuseAddress): Check if socket is closed.
5273         (isConnected): Check if getImpl() returns null.
5274
5275 2004-07-17  Mark Wielaard  <mark@klomp.org>
5276
5277         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5278         on notifier object before calling notifyAll().
5279
5280 2004-07-17  Michael Koch  <konqueror@gmx.de>
5281
5282         * gnu/java/nio/channels/FileChannelImpl.java
5283         (finalize): Added javadoc.
5284
5285 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5286
5287         * java/text/CollationElementIterator.java
5288         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5289         (setText): Use ArrayList instead of Vector.
5290
5291 2004-07-17  Michael Koch  <konqueror@gmx.de>
5292
5293         * java/nio/ByteOrder.java
5294         (static): Removed. Not needed.
5295         Thanks to Patrick Reali for noticing.
5296         * java/nio/charset/CharsetDecoder.java
5297         (decode): Fix for classpath bug #9177: Reset state before flipping.
5298
5299 2004-07-17  Michael Koch  <konqueror@gmx.de>
5300
5301         * java/security/Security.java: Fixed javadocs all over.
5302
5303 2004-07-17  Michael Koch  <konqueror@gmx.de>
5304
5305         * gnu/java/awt/EmbeddedWindow.java
5306         (static): Removed.
5307         (addNotify): Set peer via reflection.
5308         (setWindowPeer): Removed.
5309         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5310         * Makefile.am (nat_source_files):
5311         Removed gnu/java/awt/natEmbeddedWindow.cc.
5312         * Makefile.in: Regenerated.
5313
5314 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5315
5316         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5317         assignment.
5318         * configure: Regenerated.
5319
5320 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5321
5322         * configure.in: Use build_noncanonical rather than build_alias.
5323         * configure: Rebuild.
5324
5325         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5326         by logic refactoring.  Move default definition of NATIVE closer
5327         to first alternate definition.
5328         * configure: Regenerate.
5329
5330         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5331         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5332         gcj/Makefile.in: Regenerate.
5333         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5334         in AM_CONDITIONAL(NATIVE,...)
5335         * configure: Regenerate.
5336
5337 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5338
5339         * configure.in: Use target_noncanonical rather than
5340         target_alias for forward-compatibility with autoconf 2.59.
5341         * configure: Regenerate.
5342         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5343         testsuite/Makefile.am: Substitute target_noncanonical.
5344         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5345         testsuite/Makefile.in: Regenerate.
5346
5347         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5348         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5349         * acinclude.m4: Include acx.m4.
5350         * aclocal.m4: Regenerate.
5351         * configure: Regenerate.
5352
5353 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5354
5355         PR libgcj/16574
5356         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5357         (decimalFormat): New static variable.
5358         (sbuf): Likewise.
5359         (getTime): New. Override Date.getTime().
5360         (toString): Synchronize. Use decimalFormat to format nanos value
5361         correctly. Truncate extra zeros.
5362         (before): Compare getNanos() only if getTime() is equal.
5363         (after): Likewise.
5364         
5365 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5366
5367         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5368         * configure.in: ...here.
5369         * aclocal.m4: Regenerate.
5370         * configure: Regenerate.
5371
5372         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5373         * configure: Rebuilt with autoconf 2.13.
5374         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5375         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5376
5377 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5378
5379         PR libgcj/16204
5380         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5381         large file support.
5382         * Makefile.in: Rebuilt.
5383         * testsuite/libjava.lang/LargeFile.java: New test case.
5384         * testsuite/libjava.lang/LargeFile.out: New file.
5385
5386 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5387
5388         * java/beans/EventHandler.java: Remove debugging statements.
5389
5390 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5391
5392         * java/beans/EventHandler.java: New file.
5393         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5394         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5395         testsuite/Makefile.in: Regenerate.
5396
5397 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5398
5399         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5400         flag to the gcj_setup.
5401         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5402         the tclsh.
5403         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5404         deprecation flag change. 58 XFAILS removed.
5405
5406 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5407
5408         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5409         -fno-use-divide-subroutine.
5410         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5411         (HANDLE_FPE): Define.
5412         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5413         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5414         (HANDLE_DIVIDE_OVERFLOW): Define.
5415
5416 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5417             Matthias Klose  <doko@debian.org> 
5418
5419         * java/awt/im/InputContext.java: Initialize in, line.
5420
5421 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5422
5423         * interpret.cc (run): Correctly access libffi return values of
5424         integral smaller-than-int type; these are implicitly promoted.
5425
5426 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5427
5428         PR libgcj/7587
5429         * interpret.cc (compile_mutex): New.
5430         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5431         (run): Lock compile_mutex before calling compile() if compilation is
5432         required.
5433         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5434         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5435
5436 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5437
5438         PR libgcj/15713
5439         * include/jvm.h (_Jv_value): New union type.
5440         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5441         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5442         union members.
5443
5444 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5445
5446         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5447         * gnu/awt/xlib/XOffScreenImage.java
5448           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5449           constructor argument. Add constructor using ImageProducer.
5450           (getSource): Implement.
5451           (imageComplete): New method.
5452           (setColorModel): New method.
5453           (setDimensions): New method.
5454           (setHints): New method.
5455           (setPixels): New method.
5456           (setProperties): New method.
5457         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5458         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5459
5460 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5461
5462         PR libgcj/16478 
5463         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5464         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5465         (finalizerReady): Now native.
5466         (run): Likewise.
5467         (runFinalizers): Removed.
5468         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5469         a primitive lock, and don't hold it while running the finalizers.
5470         (runFinalizers): Implement. Don't aquire any Java lock.
5471         (finalizerReady): Use lock primitives to signal finalizer thread.
5472
5473 2004-07-11  Mark Wielaard  <mark@klomp.org>
5474
5475         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5476         * java/net/URLStreamHandler.java (parseURL): When url file part
5477         doesn't contain a '/' just ignore context.
5478
5479 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5480
5481         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5482         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5483         (MAKE_THROW_FRAME): Do not modify PSW address.
5484         (INIT_SEGV): Install SIGINFO-style signal handler.
5485         (INIT_FPE): Likewise.
5486
5487 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5488
5489         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5490         status. 21 xfail's removed, 1 added.
5491
5492 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5493
5494         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5495
5496 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5497
5498         * java/text/MessageFormat.java
5499         (formatInternal): Append "{n}" if argument n is unavailable.
5500         (format(Object, StringBuffer, FieldPosition)): This
5501         should be equivalent to format(Object[],
5502         StringBuffer, FieldPosition).
5503
5504 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5505
5506         * java.util.Calendar.java (cache): New private static field. Cached
5507         mappings of locales->calendar classes.
5508         (ctorArgTypes): New private static field. Singleton argument for
5509         calendar class constructor lookup.
5510         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5511         Optimize by bypassing reflection instantiation for the 
5512         GregorianCalendar case.
5513
5514 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5515
5516         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5517         ResourceBundle.getBundle() calls.
5518         * java/util/GregorianCalendar.java: Likewise.
5519         * java/util/Currency.java: Likewise.
5520         * java/text/BreakIterator.java: Likewise.
5521         * java/text/Collator.java: Likewise.
5522         * java/text/DateFormat.java: Likewise.
5523         * java/text/DateFormatSymbols.java: Likewise.
5524         * java/text/DecimalFormatSymbols.java: Likewise.
5525         * java/text/NumberFormat.java: Likewise.
5526         * java/awt/Window.java: Likewise.       
5527
5528 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5529
5530         * java/util/ResourceBundle.java (bundleCache): Renamed from
5531         resourceBundleCache. Update comments.
5532         (getObject): Don't catch MissingResourceException.
5533         (getBundle(String)): Remove 'final'. Use system classloader if
5534         getCallingClassLoader returned null.
5535         (getBundle(String, Locale)): Likewise.
5536         (BundleKey): New private class. HashMap key for bundle cache lookup.
5537         (lookupKey): New. Singleton instance of BundleKey.
5538         (nullEntry): New. Cache entry to represent failed lookups.
5539         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5540         caching strategy, no-allocation lookup, and new tryBundle methods.
5541         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5542         name using given classloader.
5543         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5544         baseName for given Locale and attempt to load bundle.
5545
5546 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5547
5548         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5549         illegal protected method calls.
5550
5551 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5552
5553         Fix or remove some bogus test cases.
5554         * testsuite/libjava.compile/pr10459_2.java: Removed.
5555         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5556         not Object.clone().
5557         * testsuite/libjava.compile/inner_data.java: Test against its own
5558         protected field.
5559
5560 2004-07-09  Michael Koch  <konqueror@gmx.de>
5561
5562         * scripts/unicode-muncher.pl: Updated to version 2.1
5563         from GNU classpath. Added some clarifications on where to find the
5564         needed files from www.unicode.org.
5565         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5566         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5567         Removed, these can directly be downloaded from www.unicode.org if
5568         needed. 
5569         * gnu/java/lang/CharData.java: Regenerated.
5570         * include/java-chartables.h: Regenerated.
5571         * Makefile.am (ordinary_java_source_files):
5572         Removed gnu/java/lang/CharData.java.
5573         * Makefile.in: Regenerated.
5574
5575 2004-07-09  Michael Koch  <konqueror@gmx.de>
5576
5577         * java/security/AccessControlContext.java,
5578         java/security/SecureClassLoader.java:
5579         Fixed javadocs.
5580
5581 2004-07-09  Michael Koch  <konqueror@gmx.de>
5582
5583         * java/io/ObjectInputStream.java (readFields): Use long datatype
5584         when shifting byte values more then 24 bits left.
5585
5586 2004-07-09  Michael Koch  <konqueror@gmx.de>
5587
5588         * java/util/zip/DeflaterOutputStream.java,
5589         java/util/zip/GZIPInputStream.java,
5590         java/util/zip/GZIPOutputStream.java,
5591         java/util/zip/InflaterInputStream.java:
5592         Reformatted. Added javadocs. Reordered all stuff.
5593         Renamed variables to be more clear.
5594
5595 2004-07-09  Michael Koch  <konqueror@gmx.de>
5596
5597         * javax/imageio/IIOException.java,
5598         javax/imageio/event/IIOReadProgressListener.java,
5599         javax/imageio/event/IIOReadUpdateListener.java,
5600         javax/imageio/event/IIOReadWarningListener.java,
5601         javax/imageio/event/IIOWriteProgressListener.java,
5602         javax/imageio/event/IIOWriteWarningListener.java:
5603         New files.
5604         * Makefile.am: Added new files.
5605         * Makefile.in: Regenerated.
5606
5607 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5608
5609         * java/text/RuleBasedCollator.java
5610         (mergeRules): Use ArrayList instead of Vector.
5611         (subParseString): likewise.
5612         (parseString): likewise.
5613         (buildCollationVector): likewise.
5614         (getCollationKey): likewise.
5615
5616 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5617
5618         * java/text/DateFormat.java (parse):
5619         Improved javadoc. Improved exception message.
5620
5621 2004-07-09  Mark Wielaard  <mark@klomp.org>
5622
5623         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5624         interrupted() method to clear interupt flag of our Thread.
5625
5626 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5627
5628         * java/nio/Buffer.java,
5629         java/nio/ByteBuffer.java,
5630         java/nio/ByteBufferHelper.java,
5631         java/nio/ByteBufferImpl.java,
5632         java/nio/CharBuffer.java,
5633         java/nio/CharBufferImpl.java,
5634         java/nio/CharViewBufferImpl.java,
5635         java/nio/DirectByteBufferImpl.java,
5636         java/nio/DoubleBuffer.java,
5637         java/nio/DoubleBufferImpl.java,
5638         java/nio/DoubleViewBufferImpl.java,
5639         java/nio/FloatBuffer.java,
5640         java/nio/FloatBufferImpl.java,
5641         java/nio/FloatViewBufferImpl.java,
5642         java/nio/IntBuffer.java,
5643         java/nio/IntBufferImpl.java,
5644         java/nio/IntViewBufferImpl.java,
5645         java/nio/LongBuffer.java,
5646         java/nio/LongBufferImpl.java,
5647         java/nio/LongViewBufferImpl.java,
5648         java/nio/MappedByteBufferImpl.java,
5649         java/nio/ShortBuffer.java,
5650         java/nio/ShortBufferImpl.java,
5651         java/nio/ShortViewBufferImpl.java:
5652         Fixed javadocs all over. Improved input error
5653         checking.
5654
5655         * java/nio/Buffer.java
5656         (checkForUnderflow, checkForOverflow, checkIndex,
5657         checkIfReadOnly, checkArraySize): New helper methods
5658         for error checking.
5659
5660         * java/nio/ByteBufferHelper.java
5661         (checkRemainingForRead, checkRemainingForWrite,
5662         checkAvailableForRead, checkAvailableForWrite): Removed
5663         no longer needed methods.
5664
5665 2004-07-09  Michael Koch  <konqueror@gmx.de>
5666
5667         * gnu/regexp/CharIndexedInputStream.java:
5668         Reordered imports to match classpath.
5669
5670 2004-07-09  Michael Koch  <konqueror@gmx.de>
5671
5672         * gnu/java/awt/EmbeddedWindow.java:
5673         Load native library for setWindowPeer method.
5674
5675 2004-07-08  Randolph Chung  <tausq@debian.org>
5676
5677         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5678         * configure: Regenerate.
5679         * configure.host: Set can_unwind_signal for hppa*-linux.
5680         * include/pa-signal.h: New file.
5681
5682 2004-07-07  Per Bothner  <per@bothner.com>
5683
5684         * Makefile.am:  Add rules to build libgij from just gij.cc.
5685
5686         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5687         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5688         (initializeClass):  If verbose_class_flag, print message.
5689         * gij.cc (main):  Handle -verbose:class flag.
5690
5691 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5692
5693         * configure.host: Enable hash synchronization on Darwin.
5694         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5695         ';', since this is a comment on Darwin.
5696         (compare_and_swap_release): Likewise.
5697
5698 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5699
5700         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5701         file portion of URL in addition to spec for file: protocol.
5702
5703 2004-07-05  Anthony Green  <green@redhat.com>
5704
5705         * java/io/File.java (toURI): Merge from Classpath.
5706
5707 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5708
5709         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5710         before passing to URL constructor. Rethrow any MalformedURLException
5711         as a RuntimeException. Catch MalformedURLException specifically, not
5712         all exceptions.
5713
5714 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5715
5716         * java/util/Locale.java (readObject): Intern strings read from object
5717         stream.
5718
5719 2004-07-04  Michael Koch  <konqueror@gmx.de>
5720
5721         * gnu/gcj/runtime/FirstThread.java,
5722         gnu/gcj/runtime/natFirstThread.cc: Removed.
5723         * gnu/java/lang/MainThread.java,
5724         gnu/java/lang/natMainThread.cc: New files.
5725         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5726         * Makefile.am: Added new files and removed deleted ones.
5727         * Makefile.in: Regenerated.
5728
5729 2004-07-03  Mark Wielaard  <mark@klomp.org>
5730             Anthony Green  <green@redhat.com>
5731
5732         * java/net/URL.java (getFile): Clarify return value doc.
5733         (getPath): Return null if file is empty - not empty String.
5734         (set): Convert protocol to lower case before doing anything.
5735         Only change the protocol handler if it's different.
5736
5737 2004-07-03  Anthony Green  <green@redhat.com>
5738
5739         * java/net/URL.java (URL): Convert protocol to lower case before
5740         doing anything, so we getURLStreamHandler() with the proper value.
5741
5742 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5743
5744         * java/util/Locale.java (hashcode): Made transient.
5745         (hashCode): No longer synchronized.
5746         (equals): Remove comment.
5747         (writeObject): No longer synchronized. Implement using writeObject 
5748         calls instead of tweaking hashCode field. Update doc.
5749         (readObject): Implement using readObject calls.
5750
5751 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5752             Andreas Tobler  <a.tobler@schweiz.ch>
5753
5754         * configure.host (powerpc-*-darwin*): New case, define
5755         can_unwind_signal.
5756         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5757         * configure: Regenerate.
5758         * include/darwin-signal.h: New.
5759
5760 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5761
5762         * java/beans/Statement.java (doExecute): Fix formatting.
5763
5764 2004-06-29  Per Bothner  <per@bothner.com>
5765
5766         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5767         etc etc):  Remove needless parenthesis, which causes __stdcall__
5768         attribute on MinGW to get ignored.
5769
5770 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5771
5772         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5773
5774 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5775
5776         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5777
5778 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5779
5780         * java/beans/Expression.java: New file.
5781         * java/beans/Statement.java: New file.
5782         * Makefile.am: Added new files.
5783         * Makefile.in: Re-generate.
5784
5785 2004-06-27 Mark Wielaard  <mark@klomp.org>
5786
5787         * java/io/FilePermission.java (usingPerms): Removed.
5788         (actionsString): Made final.
5789         (cachePerms): Renamed to checkPerms.
5790         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5791         on action String.
5792         (FilePermission): Check arguments, call checkPerms().
5793         (equals): Remove cachePerms() call.
5794         (implies): Likewise.
5795
5796 2004-06-27  Mark Wielaard  <mark@klomp.org>
5797
5798         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5799         final field.
5800         (sendRequest): Use new field in user-agent http agent.
5801
5802 2004-06-27  Mark Wielaard  <mark@klomp.org>
5803
5804         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5805         when argument is null.
5806
5807 2004-06-26  Mark Wielaard  <mark@klomp.org>
5808
5809         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5810         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5811         GetMethodID call.
5812         (cancel_clicked): Likewise.
5813
5814 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5815
5816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5817         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5818         can not calculate the right value.
5819         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5820
5821 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5822
5823         * testsuite/libjava.jacks/jacks.xfail: Remove
5824         15.9.1-qualified-concrete-20.
5825
5826 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5827
5828         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5829         encoding name to iconv.
5830         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5831
5832 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5833
5834         PR libgcj/16134:
5835         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5836         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5837         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5838
5839 2004-06-21  Andrew Haley  <aph@redhat.com>
5840
5841         * java/io/ObjectOutputStream.java: Add DEBUG statements
5842         everywhere.
5843         (dumpElementln): New method.
5844         (depth): New field.
5845         * java/io/ObjectInputStream.java
5846         (currentClassLoader): Make native.
5847         (callersClassLoader): New field.
5848         (depth): New field.
5849         (readObject): ENDBLOCKDATA is generated if the class has a write
5850         method, not if it has a read method.
5851         (readObject): Save and restore this.currentObject and
5852         this.currentObjectStreamClass around calls to callReadMethod().
5853         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5854         method.
5855
5856 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5857
5858         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5859         darwin.
5860
5861 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5862
5863         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5864         if desired, before the default class loader is initialised.
5865         Call INIT_SEGV only if HANDLE_SEGV is defined.
5866
5867 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5868
5869         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5870         directory only if it actually exists.
5871
5872 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5873
5874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5875         Fix up non-ansi comments.
5876
5877 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5878
5879         * javax/swing/text/AbstractDocument.java: Adding missing import
5880         for javax.swing.event.EventListenerList.
5881         * javax/swing/text/DefaultCaret.java: Likewise.
5882
5883 2004-06-17  Michael Koch  <konqueror@gmx.de>
5884
5885         * javax/swing/JToolBar.java
5886         (name): Removed.
5887         (JToolBar): Use Component.setName(String) instead of doing it all
5888         alone.
5889         * javax/swing/Timer.java
5890         (queueEvent): Added missing modifier.
5891
5892 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5893
5894         * Makefile.am: Added new file.
5895         * Makefile.in: Re-generate.
5896         * javax/swing/JMenu.java:
5897         (insertSeparator): Implemented.
5898         * javax/swing/JPopupMenu.java:
5899         (JPopupMenu.Separator): Implemented.
5900         * javax/swing/MenuSelectionManager.java:
5901         (processMouseEvent): Use java.awt.Component 
5902         for event source instead of javax.swing.JComponent. 
5903         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5904         New File. Implemented.
5905         
5906 2004-06-16  David Jee  <djee@redhat.com>
5907
5908         * java/awt/GridBagLayout.java
5909         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5910         Make sure pos_x and pos_y are never negative.
5911
5912 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5913
5914         * Makefile.am: Add new file.
5915         * Makefile.in: Re-generate.     
5916         * javax/swing/JToolBar.java
5917         Partially implemented.
5918         * javax/swing/plaf/basic/BasicToolBarUI.java
5919         New file. Partially implemented.
5920
5921 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5922
5923         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5924         (setComposite): Accept AlphaComposite arguments.
5925         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5926         (createBufferedImage): Add new overloads.
5927         * gnu/java/awt/peer/gtk/GtkToolkit.java
5928         (createImage): Use GdkPixbufDecoder.createBufferedImage
5929         when useGraphics2D() is true.
5930         (getImage): Delegate to createImage.
5931         * javax/swing/JList.java
5932         (isSelectionEmpty):
5933         (getFirstVisibleIndex):
5934         (getLastVisibleIndex):
5935         (setSelectedValue):
5936         (ensureIndexIsVisible): New methods.
5937         * javax/swing/Timer.java: Reimplement.
5938
5939 2004-06-16  Michael Koch  <konqueror@gmx.de>
5940
5941         * javax/swing/text/AbstractDocument.java
5942         (AbstracElement): Made public, implements java.io.Serializable.
5943         (AttributeContext): Made public.
5944         (BranchElement): Likewise.
5945         (Content): Likewise.
5946         (DefaultDocumentEvent): Made public, extends
5947         javax.swing.undo.CompoundEdit.
5948         (ElementEdit): Made public, extends
5949         javax.swing.undo.AbstractUndoableEdit.
5950         (LeafElement): Made public.
5951         (LeafElement.LeafElement): Made public.
5952
5953 2004-06-16  Michael Koch  <konqueror@gmx.de>
5954
5955         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5956         methods (that were obviously never be intended to get included hi this
5957         class. Added some methods too.
5958
5959 2004-06-16  Michael Koch  <konqueror@gmx.de>
5960
5961         * javax/swing/text/PlainDocument.java
5962         (serialVersionUID): New constant.
5963         (lineLimitAttribute): Likewise.
5964         (tabSizeAttribute): Likewise.
5965         (tabSize): New field.
5966         (PlainDocument): Made public.
5967         (PlainDocument): New constructor.
5968
5969 2004-06-16  Michael Koch  <konqueror@gmx.de>
5970
5971         * javax/swing/text/AbstractDocument.java
5972         (insertString): Throws BadLocationException.
5973         * javax/swing/text/Document.java
5974         (insertString): Likewise.
5975         * javax/swing/text/JTextComponent.java:
5976         Javadocs and comments cleaned up.
5977
5978 2004-06-16  Michael Koch  <konqueror@gmx.de>
5979
5980         * javax/swing/event/UndoableEditListener.java: Reformatted.
5981         * javax/swing/text/AbstractDocument.java
5982         (AbstractDocument): Implements java.io.Serializable.
5983         (doc_list): Removed.
5984         (undo_list): Removed.
5985         (AbstractElement.serialVerionUID): New field.
5986         (BranchElement.serialVerionUID): Likewise.
5987         (DefaultDocumentEvent.serialVerionUID): Likewise.
5988         (ElementEdit.serialVerionUID): Likewise.
5989         (LeafElement.serialVerionUID): Likewise.
5990         (serialVerionUID): Likewise.
5991         (BAD_LOCATION): New constant.
5992         (BidiElementName): Likewise.
5993         (ContentElementName): Likewise.
5994         (ParagraphElementName): Likewise.
5995         (SectionElementName): Likewise.
5996         (ElementNameAttribute): Likewise.
5997         (AbstractDocument): Made protected.
5998         (AbstractDocument): New construtor.
5999         (listenerList): New field.
6000         (fireChangedUpdate): Implemented.
6001         (fireInsertUpdate): Likewise.
6002         (fireRemoveUpdate): Likewise.
6003         (fireUndoableEditUpdate): Likewise.
6004         (getListeners): Likewise.
6005         (addDocumentListener): Likewise.
6006         (removeDocumentListener): Likewise.
6007         (addUndoableEditListener): Likewise.
6008         (removeUndoableEditListener): Likewise.
6009         (getDocumentListeners): New method.
6010         (getUndoableEditListeners): Likewise.
6011         (getAsynchronousLoadPriority): Made public.
6012         (getBidiRootElement): Likewise.
6013         (setAsynchronousLoadPriority): Likewise.
6014         (setDocumentProperties): Likewise.
6015         * javax/swing/text/BadLocationException.java
6016         (serialVerionUID): New field.
6017         * javax/swing/text/DefaultCaret.java
6018         (changeEvent): New field.
6019         (listenerList): Likewise.
6020         (changes): Removed.
6021         (addChangeListener): Reimplemented.
6022         (removeChangeListener): Likewise.
6023         (getListeners): New method.
6024         (getChangeListeners): Likwise.
6025         (getComponent): Likewise.
6026         * javax/swing/text/GapContent.java
6027         (GapContent): Implements java.io.Serializable.
6028         (serialVerionUID): New field.
6029
6030 2004-06-16  Michael Koch  <konqueror@gmx.de>
6031
6032         * javax/swing/JTree.java
6033         (treeModel): New field.
6034         (JTree): New constructors, one existing one made public.
6035         (createTreeModel): New method.
6036         (addTreeExpansionListener): Likewise.
6037         (removeTreeExpansionListener): Likewise.
6038         (getTreeExpansionListeners): Likewise.
6039         (fireTreeCollapsed): Likewise.
6040         (fireTreeExpanded): Likewise.
6041         (addTreeSelectionListener): Likewise.
6042         (removeTreeSelectionListener): Likewise.
6043         (getTreeSelectionListeners): Likewise.
6044         (fireValueChanged): Likewise.
6045         (addTreeWillExpandListener): Likewise.
6046         (removeTreeWillExpandListener): Likewise.
6047         (getTreeWillExpandListeners): Likewise.
6048         (fireTreeWillCollapse): Likewise.
6049         (fireTreeWillExpand): Likewise.
6050
6051 2004-06-16  Michael Koch  <konqueror@gmx.de>
6052
6053         * javax/swing/JTree.java: Reformatted.
6054
6055 2004-06-16  Michael Koch  <konqueror@gmx.de>
6056
6057         * javax/swing/JTextArea.java: New file.
6058         * javax/swing/JTextField.java
6059         (actions): Removed.
6060         (notifyAction): New constant.
6061         (columns): New field.
6062         (JTextField): New constructors.
6063         (createDefaultModel): New method.
6064         (addActionListener): Reimplmemented.
6065         (removeActionListener): Reimplemented.
6066         (getActionListeners): New method.
6067         (fireActionPerformed): New method.
6068         (getColumns): New method.
6069         (setColumne): New method.
6070         * javax/swing/text/JTextComponent.java
6071         (AccessibleJTextComponent.serialVersionUID): New field.
6072         (serialVersionUID): Likewise.
6073         (DEFAULT_KEYMAP): Likewise.
6074         (FOCUS_ACCELERATOR_KEY): Likewise.
6075         (doc): Made private.
6076         (icon_gap): Likewise.
6077         (icon): Likewise.
6078         (align): Likewise.
6079         (JTextComponent): Some constructors removed.
6080         (getScrollableTracksViewportHeight): New method.
6081         (getScrollableTracksViewportWidth): Likewise.
6082         * Makefile.am: Added javax/swing/JTextArea.java.
6083         * Makefile.in: Regenerated.
6084
6085 2004-06-15  Graydon Hoare  <graydon@redhat.com>
6086
6087         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6088         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6089         * javax/swing/JViewport.java 
6090         (getExtentSize): Return size rather than preferred size.
6091         (toViewCoordinates): New methods.
6092         (getViewSize): Return size rather than preferred size.
6093         (setViewSize): Note view size as set.
6094         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6095         * javax/swing/plaf/basic/BasicScrollBarUI.java 
6096         (getPreferredSize): Don't redo layout.
6097         * javax/swing/plaf/basic/BasicViewportUI.java 
6098         (paint): Translate image properly and eat exceptions.
6099
6100 2004-06-15  Kim Ho  <kho@redhat.com>
6101
6102         * javax/swing/JTabbedPane.java
6103         (setComponent): Remove old component and
6104         add new component.
6105         (setSelectedIndex): Don't operate on the 
6106         components if they're null. Don't set index
6107         on the model if the index is the same.
6108         (insertTab): Don't add or hide the component
6109         if it's null. Repaint the container.
6110         * javax/swing/plaf/basic/BasicLookAndFeel.java
6111         Change colors for TabbedPane.
6112         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6113         (mousePressed): Re-layout and paint the component.
6114         (layoutContainer): Don't set location on the view.
6115         (ScrollingViewport::paint): Remove.
6116
6117 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
6118
6119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6120         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6121
6122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6123         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6124         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
6125         critical region.
6126         (drawLine): Call gdk_flush before leaving GDK critical region.
6127         (fillRect): Likewise.
6128         (drawRect): Likewise.
6129         (copyArea): Likewise.
6130         (copyPixmap): Likewise.
6131         (clearRect): Likewise.
6132         (drawArc): Likewise.
6133         (drawPolyline): Likewise.
6134         (drawPolygon): Likewise.
6135         (fillPolygon): Likewise.
6136         (fillArc): Likewise.
6137         (drawOval): Likewise.
6138         (fillOval): Likewise.
6139
6140         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6141         style parameter.
6142         (GdkFontMetrics): Add style argument to initState call.
6143         (stringWidth(String,int,int,String)): Add style parameter.
6144         (stringWidth(String)): Add style argument to stringWidth call.
6145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6146         (initState): Set pango font style and weight based on AWT style
6147         parameter.  Pass default GTK language to
6148         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
6149         simply dividing by PANGO_SCALE.
6150         (stringWidth): Set pango font style and weight based on AWT style
6151         parameter.
6152
6153         * java/awt/Button.java (next_button_number): New field.
6154         (paramString): Change output.
6155         (generateName): New method.
6156         (getUniqueLong): New method.
6157
6158 2004-06-14  Kim Ho  <kho@redhat.com>
6159
6160         * javax/swing/JTabbedPane.java:
6161         (setComponentAt): Set the component, not
6162         the enabled status.
6163         * javax/swing/plaf/basic/BasicDesktopIconUI.java
6164         (actionPerformed): Let deiconize catch exception.
6165
6166 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6167
6168         * javax/swing/JPopupMenu.java:
6169         (setVisible): Corrected location of a 
6170         heavyweight popup menu.
6171
6172 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6173
6174         * javax/swing/MenuSelectionManager.java: 
6175         Ran through jalopy to fix formatting style.
6176
6177 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6178         
6179         * javax/swing/JLayeredPane.java: 
6180         (remove): Revalidate and repaint layered pane after
6181         the component was removed.
6182         javax/swing/JMenu.java:
6183         (setVisible): Display popup menu at the user location,
6184         if one was set by the user.
6185         (setMenuLocation): Reimplemented. Fixed javadoc.
6186         * javax/swing/JMenuBar.java: Added javadoc.
6187         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6188         (MODEL_CHANGED_PROPERTY): New Property.
6189         (isSelected): Implemented.
6190         (setBorderPainted): Fire PropertyChangeEvent
6191         if paintBorder property changes.
6192         (setSelected): Implemented.
6193         (setSelectionModel): Implemented.
6194         * javax/swing/JPopupMenu.java: Added Javadoc
6195         (pack): Implemented.
6196         (setVisible): Reimplemented.
6197         (show): Fixed location.
6198         (JPopupMenu.LigthWeightPopup): Reimplemented to use
6199         Container instead of JPanel.
6200         * javax/swing/MenuSelectionManager.java: Added Javadocs.
6201         (clearSelectedPath): Reimplemented to clear selectedPath
6202         in reverse order.
6203         (processMouseEvent): Reimplemented.
6204         (setSelectedPath): Fire stateChange event indicating that
6205         selected menu path has changed.
6206         (getPath): Change to use ArrayList instead of Vector.
6207         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6208         (installUI): call installKeyboardActions().
6209         (uninstallUI): call uninstallKeyboardActions().
6210
6211 2004-06-13  Michael Koch  <konqueror@gmx.de>
6212
6213         * javax/swing/text/DefaultCaret.java,
6214         javax/swing/text/BadLocationException.java:
6215         Reformatted.
6216
6217 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6218
6219         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6220         DEFAULT_COLS): New variables.
6221         (create): Don't allow 0 rows or 0 columns.  Instead, set the
6222         values to DEFAULT_ROWS or DEFAULT_COLS.
6223         (getMinimumSize): Likewise.
6224         (getPreferredSize): Likewise.
6225         (minimumSize): Likewise.
6226         (preferredSize): Likewise.
6227         (create): Set peer's editable state.
6228         * java/awt/TextArea.java (TextArea()): Set rows and columns to
6229         zero.  Update javadocs.
6230         (TextArea(String)): Likewise.
6231         (TextArea(int,int)): Fix javadocs.
6232         (TextArea(String,int,int,int)): Only throw exception if one of
6233         rows or columns is zero.  Fix javadocs.
6234
6235 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
6236
6237         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6238         addition to Components.
6239
6240         * java/awt/MenuItem.java (dispatchEventImpl): If the event
6241         wasn't consumed by normal processing, send it to the parent
6242         menu.
6243
6244         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6245         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6246         translation.
6247
6248 2004-06-11  David Jee  <djee@redhat.com>
6249
6250         * java/awt/MediaTracker.java
6251         (addImage(Image,int)): Call imageUpdate() to udpate image status.
6252         (addImage(Image,int,int,int)): Likewise.
6253
6254 2004-06-11  Michael Koch  <konqueror@gmx.de>
6255
6256         * javax/swing/text/AbstractDocument.java,
6257         javax/swing/text/Document.java,
6258         javax/swing/text/GapContent.java,
6259         javax/swing/text/JTextComponent.java,
6260         javax/swing/text/PlainDocument.java:
6261         Reformatted.
6262
6263 2004-06-11  Michael Koch  <konqueror@gmx.de>
6264
6265         * javax/swing/JRootPane.java
6266         (AccessibleJRootPane.serialVersionUID): New field.
6267         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6268         (AccessibleJRootPane.getAccessibleRole): New method.
6269         (RootLayout): Implements Serializable.
6270         (RootLayout.serialVersionUID): New field.
6271         (RootLayout.RootLayout): New constructor.
6272         (setJMenuBar): Made public.
6273         (getJMenuBar): Likewise.
6274         (JRootPane): Likewise.
6275         (createContentPane): Likewise.
6276         (createGlassPane): Likewise.
6277         (createLayeredPane): Likewise.
6278
6279 2004-06-11  Michael Koch  <konqueror@gmx.de>
6280
6281         * javax/swing/SwingUtilities.java
6282         (isLeftMouseButton): Fixed javadoc.
6283         (isMiddleMouseButton): Likewise.
6284         (isRightMouseButton): Likewise.
6285
6286 2004-06-11  Michael Koch  <konqueror@gmx.de>
6287
6288         * javax/swing/JScrollPane.java
6289         (serialVersionUID): New field.
6290         (columnHeader): Made protected.
6291         (rowHeader): Likewise.
6292         (lowerLeft): Likewise.
6293         (lowerRight): Likewise.
6294         (upperLeft): Likewise.
6295         (upperRight): Likewise.
6296         (horizontalScrollBar): Likewise.
6297         (horizontalScrollBarPolicy): Likewise.
6298         (verticalScrollBar): Likewise.
6299         (verticalScrollBarPolicy): Likewise.
6300         (viewport): Likewise.
6301
6302 2004-06-11  Michael Koch  <konqueror@gmx.de>
6303
6304         * javax/swing/LookAndFeel.java: Fixed javadocs.
6305
6306 2004-06-11  Michael Koch  <konqueror@gmx.de>
6307
6308         * javax/swing/JEditorPane.java: Fixed javadocs.
6309         (JEditorPane): Removed redundant call to to this().
6310         (fireHyperlinkUpdate): Implemented.
6311
6312 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6313
6314         * javax/swing/JMenu.java: Fixed file name 
6315         in the file comment.
6316
6317 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6318
6319         * javax/swing/JMenu.java: Added javadoc.
6320         (JMenu): Added MenuChangeListener to listen to 
6321         ChangeEvents occuring in menu's model. 
6322         (insert): Throw IllegalArgumentException if 
6323         index is less than 0
6324         (setSelected): Reimplement.
6325         (setPopupMenuVisible): Call menu's model isEnabled()
6326         (setDelay): Throw IllegalArgumentException if 
6327         given amount of delay is less than 0.
6328         (createActionComponent): Implemented.
6329         (createActionChangeListener): Implemented.
6330         (addSeparator): Implemented.
6331         (getItem): Throw IllegalArgumentException if index is 
6332         less than 0.
6333         (getItemCount): Implemented.
6334         (fireMenuSelected): Changed to use menuEvent.
6335         (fireMenuDeselected): Likewise.
6336         (fireMenuCanceled): Likewise.
6337         (setAccelerator): Changed to throw an error if this 
6338         method is used. 
6339         (doClick): Implemented.
6340         (JMenu.ActionChangedListener): New inner class to handle
6341         PropertyChangeEvents occuring in the actions associated with menu.
6342         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6343         (BasicMenuUI): Added PropertyChangeListener to the menu.
6344         (createChangeListener): Implemented.
6345         (createMenuDragMouseListener): Likewise.
6346         (createMenuKeyListener): Likewise.
6347         (createPropertyChangeListener): Likewise.
6348         (uninstallListeners): Likewise.
6349         (BasicMenuUI.MouseInputHandler): Reimplemented.
6350         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6351         (BasicMenuUI.ChangeHandler): Likewise.
6352         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6353         (BasicMenuUI.MenuKeyHandler): Likewise.
6354
6355 2004-06-10  David Jee  <djee@redhat.com>
6356
6357         * java/awt/MediaTracker.java
6358         (imageUpdate): Only do notifyAll() if the image is complete.
6359
6360 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6361
6362         * javax/swing/JApplet.java:
6363         (getJMenuBar): Made public.
6364         (setJMenuBar): Likewise.
6365         * javax/swing/JFrame.java:
6366         (getJMenuBar): Made public.
6367         (setJMenuBar): Likewise.
6368         * javax/swing/JWindow.java:
6369         (getJMenuBar): Removed.
6370         (setJMenuBar): Removed.
6371
6372 2004-06-10  Michael Koch  <konqueror@gmx.de>
6373
6374         * javax/swing/JEditorPane.java
6375         (createEditorKitForContentType): Fixed visibility.
6376         (fireHyperlinkUpdate): Likewise.
6377         (getContentType): Likewise.
6378         (getEditorKit): Likewise.
6379         (getEditorKitForContentType): Likewise.
6380         (getPage): Likewise.
6381         (read): Likewise.
6382         (registerEditorKitForContentTyoe): Likewise.
6383         (replaceSelection): Likewise.
6384         (setContentType): Likewise.
6385         (setEditorKit): Likewise.
6386         (setPage): Likewise.
6387
6388 2004-06-10  Michael Koch  <konqueror@gmx.de>
6389
6390         * javax/swing/Timer.java
6391         (Timer): New constructor.
6392         * javax/swing/plaf/basic/BasicProgressBarUI.java
6393         (animationTimer): Don't initialize at construction.
6394         (startAnimationTimer): Added since tag.
6395         (stopAnimationTimer): Likewise.
6396         (installUI): Use new Timer constructor.
6397         * javax/swing/plaf/basic/BasicScrollBarUI.java
6398         (installUI): Likewise.
6399         * javax/swing/plaf/basic/BasicSliderUI.java
6400         (installUI): Likewise.
6401
6402 2004-06-10  Michael Koch  <konqueror@gmx.de>
6403
6404         * javax/swing/ButtonGroup.java
6405         (serialVersionUID): Made private.
6406         (buttons): Renamed from v, added javadoc.
6407         (sel): Added javadoc.
6408         (ButtonGroup): Likewise.
6409         (add): Likewise.
6410         (remove): Likewise.
6411         (getElements): Likewise.
6412         (getSelection): Likewise.
6413         (setSelected): Likewise.
6414         (isSelected): Likewise.
6415         (getButtonCount): Likewise.
6416
6417 2004-06-10  Michael Koch  <konqueror@gmx.de>
6418
6419         * javax/swing/ButtonGroup.java,
6420         javax/swing/ImageIcon.java,
6421         javax/swing/JEditorPane.java,
6422         javax/swing/JRootPane.java,
6423         javax/swing/JTextField.java,
6424         javax/swing/LookAndFeel.java,
6425         javax/swing/plaf/basic/BasicTextUI.java:
6426         Reindented.
6427
6428 2004-06-10  Michael Koch  <konqueror@gmx.de>
6429
6430         * javax/swing/text/Style.java: Added javadocs.
6431
6432 2004-06-10  Michael Koch  <konqueror@gmx.de>
6433
6434         * javax/swing/JComponent.java
6435         (fireVetoableChange): Removed redundant cast.
6436         * javax/swing/JLabel.java
6437         (getDisabledIcon): Save icon for next call.
6438
6439 2004-06-10  Michael Koch  <konqueror@gmx.de>
6440
6441         * javax/swing/KeyStroke.java
6442         (getKeyStroke(char,boolean)): Marked deprecated.
6443
6444 2004-06-10  Michael Koch  <konqueror@gmx.de>
6445
6446         * javax/swing/DefaultCellEditor.java,
6447         javax/swing/GrayFilter.java,
6448         javax/swing/event/DocumentEvent.java,
6449         javax/swing/text/JTextComponent.java,
6450         javax/swing/text/MutableAttributeSet.java:
6451         Reindented.
6452
6453 2004-06-10  Michael Koch  <konqueror@gmx.de>
6454
6455         * javax/swing/plaf/BorderUIResource.java:
6456         Added serialVersionUID all over.
6457
6458 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6459
6460         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6461
6462 2004-06-10  Michael Koch  <konqueror@gmx.de>
6463
6464         * javax/swing/table/DefaultTableCellRenderer.java
6465         (noFocusBorder): Initialize directly.
6466
6467 2004-06-10  Michael Koch  <konqueror@gmx.de>
6468
6469         * javax/swing/plaf/basic/BasicArrowButton.java
6470         (setDirection): Use method argument.
6471
6472 2004-06-10  Michael Koch  <konqueror@gmx.de>
6473
6474         * javax/swing/plaf/BorderUIResource.java,
6475         javax/swing/plaf/ComponentUI.java,
6476         javax/swing/undo/CompoundEdit.java,
6477         javax/swing/undo/StateEdit.java:
6478         Fixed javadocs all over.
6479
6480 2004-06-10  Michael Koch  <konqueror@gmx.de>
6481
6482         * javax/swing/DefaultButtonModel.java
6483         (ARMED): Made public final, fixed value.
6484         (ENABLED): Likewise.
6485         (PRESSED): Likewise.
6486         (ROLLOVER): Likewise.
6487         (SELECTED): Likewise.
6488         (stateMask): Initialize directly.
6489         (listenerList): Likewise.
6490         (mnemonic): Likewise.
6491         (fireStateChanged): Removed argument, use changeEvent as event.
6492         All places where this method is called are fixed too.
6493         (getActionCommant): Fixed javadoc.
6494         (setGroup): Fixed javadoc.
6495         (getGroup): New method.
6496
6497 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6498
6499         * javax/swing/AbstractButton.java
6500         (AbstractButton): Use init() to initialize the button.
6501         (init): New Method. Initializes AbstractButton.
6502         * javax/swing/JMenuItem.java: Documented.
6503         (JMenuItem): Reimplemented.
6504         (init): Implemented.
6505         (setEnabled): Changed to call super.setEnabled()
6506         (processMouseEvent): Reimplemented.
6507         (fireMenuKeyPressed): Implemented.
6508         (fireMenuKeyReleased): Implemented.
6509         (fireMenuKeyTyped): Implemented.
6510         (menuSelectionChanged): disarm the model if the menu item was
6511         deselected.
6512         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6513         (getPath): Change to use ArrayList instead of Vector.
6514         (getPreferredSize): Renamed variable.
6515         (paintMenuItem): Paint margin area of menu item.
6516         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6517         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6518         menu item's bounds before clearing the selection.       
6519
6520 2004-06-09  David Jee  <djee@redhat.com>
6521
6522         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6523         (GtkTextComponentPeer): Set caret position to 0.
6524         * java/awt/TextComponent.java
6525         (setText): Set caret position to 0.
6526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6527         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6528         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6529         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6530         Likewise.
6531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6532         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6533         visible.
6534
6535 2004-06-09  Kim Ho  <kho@redhat.com>
6536
6537         * Makefile.am: New files
6538         * Makefile.in: Regenerated
6539         * java/awt/Container.java
6540         (getComponentAt): Removed.
6541         * javax/swing/AbstractAction.java
6542         (ENABLED_PROPERTY): New property.
6543         (putValue): Fire PropertyChangeEvents.
6544         (setEnabled): ditto.
6545         (firePropertyChange): Javadoc and implement
6546         convenience method.
6547         * javax/swing/AbstractButton.java
6548         (setAction): Don't create PropertyChangeListener
6549         if new Action is null.
6550         (setIcon): Don't set icon till after comparing
6551         it.
6552         (configurePropertiesFromAction): Check mnemonic
6553         key before calling intValue().
6554         (createActionPropertyChangeListener): Check
6555         properties rather than bulk change.
6556         * javax/swing/DefaultDesktopManager.java:
6557         Implement.
6558         * javax/swing/DesktopManager.java:
6559         Jalopy and javadoc.
6560         * javax/swing/JComponent.java
6561         (fireVetoableChange): Implement.
6562         (paintImmediately): Use root component.
6563         * javax/swing/JDesktopPane.java: Implement
6564         * javax/swing/JInternalFrame.java: Implement
6565         * javax/swing/JLabel.java
6566         (getDisabledIcon): Return grayscaled icon if
6567         no disabled icon specified.
6568         * javax/swing/JMenuBar.java
6569         (getComponentAtIndex): Use getComponent
6570         * javax/swing/JOptionPane.java
6571         (getDesktopPaneForComponent): Use SwingUtilities'
6572         getAncestorOfClass
6573         (getFrameForComponent): ditto.
6574         * javax/swing/JSplitPane.java
6575         (remove): Use getComponent.
6576         * javax/swing/SwingUtilities.java
6577         (convertPoint): Implement.
6578         * javax/swing/plaf/basic/BasicButtonUI.java
6579         (paintButtonNormal): Check opaqueness before
6580         filling background.
6581         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6582         Implement
6583         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6584         Implement.
6585         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6586         Implement.
6587         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6588         Implement.
6589         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6590         Change InternalFrame and Desktop colors.
6591
6592 2004-06-09  David Jee  <djee@redhat.com>
6593
6594         * java/awt/Container.java
6595         (remove): Do not set component to invisible.
6596
6597 2004-06-09  Michael Koch  <konqueror@gmx.de>
6598
6599         * javax/swing/tree/DefaultMutableTreeNode.java
6600         (getLeafCount): Renamed enum to e.
6601
6602 2004-06-09  Michael Koch  <konqueror@gmx.de>
6603
6604         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6605         (positionForMouseEvent): Removed redundant semicolon.
6606         (continueDrag): Use method arguments.
6607
6608 2004-06-09  Michael Koch  <konqueror@gmx.de>
6609
6610         * javax/swing/border/TitledBorder.java,
6611         javax/swing/filechooser/FileSystemView.java,
6612         javax/swing/plaf/basic/BasicButtonListener.java,
6613         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6614         javax/swing/plaf/basic/BasicLabelUI.java,
6615         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6616         javax/swing/plaf/basic/BasicScrollBarUI.java,
6617         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6618         javax/swing/plaf/basic/BasicSliderUI.java,
6619         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6620         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6621         javax/swing/table/JTableHeader.java,
6622         javax/swing/text/AbstractDocument.java,
6623         javax/swing/text/DefaultCaret.java,
6624         javax/swing/text/StyledEditorKit.java,
6625         javax/swing/tree/DefaultTreeCellEditor.java:
6626         Reworked import statements.
6627
6628 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6629
6630         * javax/swing/Box.java: Temporarily comment out code
6631         broken due to visibility bug.
6632
6633 2004-06-09  Michael Koch  <konqueror@gmx.de>
6634
6635         * javax/swing/ImageIcon.java
6636         (ImageIcon): Added missing constructor.
6637
6638 2004-06-08  Michael Koch  <konqueror@gmx.de>
6639
6640         * javax/swing/JToggleButton.java
6641         (JToggleButton): New constructor.
6642         (getAccessibleContext): Moved documentation into javadoc.
6643         (getUIClassID): Likewise.
6644
6645 2004-06-08  Michael Koch  <konqueror@gmx.de>
6646
6647         * javax/swing/AbstractButton.java
6648         (getDisabledIcon): Create disabled icon if none exists yet.
6649
6650 2004-06-08  Michael Koch  <konqueror@gmx.de>
6651
6652         * javax/swing/plaf/basic/BasicLookAndFeel.java
6653         (initClassDefaults): Added FormattedTextFieldUI.
6654         (loadResourceBundle): Renamed enum to e.
6655
6656 2004-06-08  Michael Koch  <konqueror@gmx.de>
6657
6658         * javax/swing/plaf/basic/BasicButtonUI.java
6659         (paintIcon): Simplified.
6660         (paintText): Paint disabled button correctly.
6661
6662 2004-06-08  Michael Koch  <konqueror@gmx.de>
6663
6664         * javax/swing/JComponent.java
6665         (createToolTip): Use official JToolTip API.
6666
6667 2004-06-08  Michael Koch  <konqueror@gmx.de>
6668
6669         * javax/swing/JToolTip.java
6670         (JToolTip): No arguments in API.
6671         (setTipText): New method.
6672
6673 2004-06-08  Michael Koch  <konqueror@gmx.de>
6674
6675         * javax/swing/SwingUtilities.java
6676         (isLeftMouseButton): New method.
6677         (isMiddleMouseButton): New method.
6678         (isRightMouseButton): New method.
6679
6680 2004-06-08  Michael Koch  <konqueror@gmx.de>
6681
6682         * javax/swing/AbstractButton.java,
6683         javax/swing/CellRendererPane.java,
6684         javax/swing/JCheckBoxMenuItem.java,
6685         javax/swing/JColorChooser.java,
6686         javax/swing/JComboBox.java,
6687         javax/swing/JComponent.java,
6688         javax/swing/JDesktopPane.java,
6689         javax/swing/JFileChooser.java,
6690         javax/swing/JMenu.java,
6691         javax/swing/JMenuItem.java,
6692         javax/swing/JOptionPane.java,
6693         javax/swing/JPasswordField.java,
6694         javax/swing/JPopupMenu.java,
6695         javax/swing/JProgressBar.java,
6696         javax/swing/JRadioButtonMenuItem.java,
6697         javax/swing/JScrollBar.java,
6698         javax/swing/JSeparator.java,
6699         javax/swing/JSlider.java,
6700         javax/swing/JSplitPane.java,
6701         javax/swing/JTabbedPane.java,
6702         javax/swing/JTextField.java,
6703         javax/swing/JToolBar.java,
6704         javax/swing/text/JTextComponent.java:
6705         Fixed all constructors of accessibility classes.
6706
6707 2004-06-08  Michael Koch  <konqueror@gmx.de>
6708
6709         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6710         over.
6711
6712 2004-06-08  Michael Koch  <konqueror@gmx.de>
6713
6714         * javax/swing/Box.java
6715         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6716         (AccessibleBoxFiller.serialVersionUID): New member variable.
6717         * javax/swing/DefaultButtonModel.java
6718         (stateMask): Made protected.
6719         (listenerList): Likewise.
6720         (changeEvent): Likewise.
6721         (group): Likewise.
6722         (mnemonic): Likewise.
6723         (actionCommand): Likewise.
6724         (getListeners): New method.
6725         (getActionListeners): New method.
6726         (getItemListeners): New method.
6727         (getChangeListeners): New method.
6728         (fireItemStateChanged): Simplified.
6729         (fireActionPerformed): Simplified.
6730         (fireStateChanged): Simplified.
6731         * javax/swing/JFrame.java
6732         (JFrame): Implements WindowContants.
6733         (HIDE_ON_CLOSE): Removed.
6734         (EXIT_ON_CLOSE): Removed.
6735         (DISPOSE_ON_CLOSE): Removed.
6736         (DO_NOTHING_ON_CLOSE): Removed.
6737         (processWindowEvent): Exit with code 0.
6738         (setDefaultCloseOperation): Do security check before setting value.
6739         * javax/swing/JOptionPane.java
6740         (message): Initialize only in constructor.
6741         * javax/swing/JToolTip.java: Removed unused imports.
6742         * javax/swing/JViewport.java
6743         (serialVersionUID): New member variable.
6744         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6745         (BLIT_SCROLL_MODE): Likewise.
6746         (BACKINGSTORE_SCROLL_MODE): Likewise.
6747         (scrollUnderway): Made protected.
6748         (isViewSizeSet): Likewise.
6749         * javax/swing/ListModel.java: Fixed javadoc.
6750         * javax/swing/Popup.java: Likewise.
6751         * javax/swing/RepaintManager.java
6752         (paintDirtyRegions): Don't use internal classes of
6753         java.util.AbstractMap.
6754         * javax/swing/ScrollPaneConstants.java: Reindented.
6755         * javax/swing/ScrollPaneLayout.java
6756         (viewport): Made protected.
6757         (verticalScrollBar): Made protected, renamed to vsb.
6758         (horizontalScrollBar): Made protected, renamed to hsb.
6759         (rowHeader): Made protected, renamed to rowHead.
6760         (columnHeader): Made protected, renamed to colHead.
6761         (lowerLeft): Made protected.
6762         (lowerRight): Made protected.
6763         (upperLeft): Made protected.
6764         (upperRight): Made protected.
6765         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6766         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6767
6768 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6769
6770         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6771         LOADING if flags has SOMEBITS set.
6772
6773 2004-06-07  Michael Koch  <konqueror@gmx.de>
6774
6775         * javax/swing/AbstractButton.java: Reorganized imports.
6776         * javax/swing/ActionMap.java: Likewise.
6777         * javax/swing/DefaultButtonModel.java: Likewise.
6778         * javax/swing/DefaultListModel.java: Likewise.
6779         * javax/swing/ImageIcon.java: Likewise.
6780         (serialVersionUID): New member variable.
6781         * javax/swing/JComboBox.java: Reorganized imports.
6782         * javax/swing/JComponent.java: Likewise.
6783         (ui): Made protected.
6784         (listenerList): Made protected.
6785         (TOOL_TIP_TEXT_KEY): New constant.
6786         (scrollRectToVisible): Removed redundant null check.
6787         * javax/swing/JFrame.java: Reorganized imports.
6788         * javax/swing/JInternalFrame.java: Reorganized imports.
6789         * javax/swing/JProgressBar.java: Likewise.
6790         * javax/swing/JRootPane.java: Likewise.
6791         * javax/swing/JScrollBar.java: Likewise.
6792         * javax/swing/JSeparator.java: Likewise.
6793         * javax/swing/JSlider.java: Likewise.
6794         * javax/swing/JTabbedPane.java: Likewise.
6795         * javax/swing/JTextField.java: Likewise.
6796         * javax/swing/JToolBar.java: Likewise.
6797         * javax/swing/JTree.java: Likewise.
6798         * javax/swing/JViewport.java: Likewise.
6799         * javax/swing/JWindow.java: Likewise.
6800         * javax/swing/KeyStroke.java: Likewise.
6801         * javax/swing/LookAndFeel.java: Likewise.
6802         * javax/swing/MenuSelectionManager.java: Likewise.
6803         * javax/swing/SwingUtilities.java: Likewise.
6804         * javax/swing/Timer.java: Likewise.
6805         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6806         * javax/swing/JList.java
6807         (HORIZONTAL_WRAP): Made final, fixed value.
6808         (VERTICAL): Likewise.
6809         (VERTICAL_WRAP): Likewise.
6810
6811 2004-06-07  Michael Koch  <konqueror@gmx.de>
6812
6813         * javax/swing/AbstractButton.java
6814         (serialVersionUID): New member variable.
6815         (AccessibleAbstractButton.serialVersionUID): Likewise.
6816         (AbstractButton): Made public.
6817         * javax/swing/Box.java
6818         (AccessibleBox.serialVersionUID): New member variable.
6819         (Filler.serialVersionUID): Likewise.
6820         * javax/swing/DefaultListSelectionModel.java
6821         (serialVersionUID): Likewise.
6822         * javax/swing/JApplet.java
6823         (serialVersionUID): Likewise.
6824         * javax/swing/JCheckBox.java
6825         (serialVersionUID): Likewise.
6826         * javax/swing/JCheckBoxMenuItem.java
6827         (serialVersionUID): Likewise.
6828         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6829         * javax/swing/JColorChooser.java
6830         (serialVersionUID): Likewise.
6831         (AccessibleJColorChooser.serialVersionUID): Likewise.
6832         * javax/swing/JComponent.java
6833         (serialVersionUID): Made private.
6834         (AccessibleJComponent.serialVersionUID): New member variable.
6835         * javax/swing/JDesktopPane.java
6836         (serialVersionUID): Likewise.
6837         * javax/swing/JDialog.java
6838         (serialVersionUID): Likewise.
6839         * javax/swing/JFormattedTextField.java
6840         (serialVersionUID): Fixed value.
6841         * javax/swing/JFrame.java
6842         (serialVersionUID): New member variable.
6843         (getDefaultCloseOpertation): Made public.
6844         * javax/swing/JLayeredPane.java
6845         (serialVersionUID): Likewise.
6846         (LAYER_PROPERTY): Made final, fixed value.
6847         (JLayeredPane): Made public.
6848         * javax/swing/JMenu.java
6849         (AccessibleJMenu.serialVersionUID): New member variable.
6850         (WinListener.serialVersionUID): Likewise.
6851         * javax/swing/JMenuBar.java
6852         (serialVersionUID): Likewise.
6853         (getComponentAtIndex): Added @deprecated tag.
6854         * javax/swing/JMenuItem.java
6855         (serialVersionUID): New member variable.
6856         (AccessibleJMenuItem.serialVersionUID): Likewise.
6857         * javax/swing/JOptionPane.java
6858         (serialVersionUID): Likewise.
6859         (AccessibleJOptionPane.serialVersionUID): Likewise.
6860         * javax/swing/JPopupMenu.java
6861         (serialVersionUID): Likewise.
6862         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6863         (getPopupMenuListeners): New method.
6864         (getComponentAtIndex): Added @deprecated tag.
6865         * javax/swing/JProgressBar.java
6866         (serialVersionUID): New member variable.
6867         (AccessibleJProgressBar.serialVersionUID): Likewise.
6868         * javax/swing/JRadioButton.java
6869         (serialVersionUID): Likewise.
6870         * javax/swing/JRadioButtonMenuItem.java
6871         (serialVersionUID): Likewise.
6872         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6873         * javax/swing/JScrollBar.java
6874         (serialVersionUID): Likewise.
6875         (AccessibleJScrollBar.serialVersionUID): Likewise.
6876         * javax/swing/JSeparator.java
6877         (serialVersionUID): Likewise.
6878         (AccessibleJSeparator.serialVersionUID): Likewise.
6879         * javax/swing/JSlider.java: Fixed javadocs.
6880         (AccessibleJSlider.serialVersionUID): New member variable.
6881         * javax/swing/JSplitPane.java: Added copyright statement.
6882         (serialVersionUID): New member variable.
6883         (AccessibleJSplitPane.serialVersionUID): Likewise.
6884         * javax/swing/JTabbedPane.java
6885         (serialVersionUID): Likewise.
6886         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6887         (ModelListener.serialVersionUID): Likewise.
6888         (ModelListener.ModelListener): New constructor.
6889         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6890         (WRAP_TAB_LAYOUT): Likewise.
6891         * javax/swing/JTable.java
6892         (serialVersionUID): New member variable.
6893         * javax/swing/JToggleButton.java
6894         (serialVersionUID): Likewise.
6895         (ToggleButtonModel): Made static.
6896         (ToggleButtonModel.serialVersionUID): New member variable.
6897         * javax/swing/JToolTip.java
6898         (serialVersionUID): Likewise.
6899         * javax/swing/JTree.java
6900         (serialVersionUID): Likewise.
6901         * javax/swing/JWindow.java
6902         (serialVersionUID): Likewise.
6903         * javax/swing/Timer.java
6904         (serialVersionUID): Likewise.
6905
6906 2004-06-06  Michael Koch  <konqueror@gmx.de>
6907
6908         * javax/swing/SwingConstants.java
6909         (NEXT): New constant.
6910         (PREVIOUS): Likewise.
6911         * javax/swing/UIManager.java
6912         (LookAndFeel): Made public.
6913         (LookAndFeel.getClassName): Likewise.
6914         (LookAndFeel.getName): Likewise.
6915
6916 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6917
6918         * javax/swing/JCheckBoxMenuItem.java:
6919         Removed CVS tags.
6920         * javax/swing/JMenu.java: Likewise.
6921         * javax/swing/JMenuBar.java: Likewise.
6922         * javax/swing/JMenuItem.java: Likewise.
6923         * javax/swing/JPopupMenu.java: Likewise.
6924         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6925         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6926         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6927         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6928         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6929         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6930         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6931
6932 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6933         
6934         * javax/swing/plaf/basic/BasicMenuUI.java:
6935         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6936         Call getPath() from super class instead.
6937
6938 2004-05-31  David Jee  <djee@redhat.com>
6939
6940         * java/awt/Container.java
6941         (remove): Set component visibility to false after removing it.
6942
6943 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6944
6945         * java/awt/Component.java (getForeground): Return SystemColor if
6946         parent is null.
6947         (getBackground): Likewise.
6948
6949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6950         (item_highlighted): New function.
6951         (connectSignals): Set item_highlighted as list's select
6952         function.
6953
6954         * java/applet/Applet.java: Revert changes from 2004-04-29,
6955         2004-03-15 and 2004-03-14.
6956
6957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6958         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6959         factor.
6960
6961         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6962         "Dialog" as the default font.
6963         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6964         Likewise.
6965         * java/awt/Component.java (getFont): Return "Dialog" font by
6966         default.
6967         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6968         Multiply size argument to pango_font_description_set_size by the
6969         DPI conversion factor rather than by PANGO_SCALE.
6970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6971         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6980         Divide baseline y coordinate by DPI conversion factor rather
6981         than by PANGO_SCALE.
6982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6983         (area_prepared): Fix typo.
6984         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6985         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6987         (dpi_conversion_factor): New global variable.
6988         (init_dpi_conversion_factor): New function to calculate and
6989         track DPI conversion factor.
6990         (dpi_changed_cb): New callback.
6991         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6992
6993 2004-05-27  David Jee  <djee@redhat.com>
6994
6995         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6996         (getGraphics): Return a new GdkGraphics instance.
6997         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6998         (getGraphics): Call super.getGraphics().
6999
7000 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7001
7002         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7003         (setNativeBounds): Clamp width and height values to >= 0.
7004
7005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7006         (find_fg_color_widget): Handle GtkOptionMenu specially.
7007
7008         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7009         (pre_event_handler): Only post configure events to visible
7010         top-level windows.
7011
7012 2004-05-26  David Jee  <djee@redhat.com>
7013
7014         * java/awt/BorderLayout.java
7015         (layoutContainer): Fix size calculations.
7016
7017 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
7018
7019         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7020         (window_wm_protocols_filter): Remove function.
7021         (create): Remove filter that removes WM_TAKE_FOCUS client
7022         messages.
7023
7024 2004-06-17  Anthony Green  <green@redhat.com>
7025
7026         * java/util/zip/ZipFile.java (getInputStream): Return null if
7027         entry not found.
7028
7029         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
7030         directory contents to the class path.
7031
7032 2004-06-15  Andrew Haley  <aph@redhat.com>
7033
7034         * java/lang/natSystem.cc (getenv0): Don't assume environment
7035         variable is Latin 1 coded.
7036
7037 2004-06-14  Andreas Jaeger  <aj@suse.de>
7038
7039         * configure.in: Support --enable-version-specific-runtime-libs.
7040         * configure: Regenerated.
7041
7042 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
7043
7044         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
7045         to pass ClassLoader argument.
7046         * java/util/GregorianCalendar.java: Likewise.
7047         * java/util/Currency.java: Likewise.
7048         * java/text/BreakIterator.java: Likewise.
7049         * java/text/Collator.java: Likewise.
7050         * java/text/DateFormat.java: Likewise.
7051         * java/text/DateFormatSymbols.java: Likewise.
7052         * java/text/DecimalFormatSymbols.java: Likewise.
7053         * java/text/NumberFormat.java: Likewise.
7054         * java/awt/Window.java: Likewise.
7055
7056 2004-06-14  Andrew Haley  <aph@redhat.com>
7057
7058         * java/lang/System.java: (getenv0): New method.
7059         (getenv): Add security check.  Do the right thing.
7060         * java/lang/natSystem.cc (getenv0): New method.
7061
7062 2004-06-12  Mark Wielaard  <mark@klomp.org>
7063
7064         * javax/swing/RepaintManager.java
7065         (paintDirtyRegions): Use entrySet(), not values().
7066
7067 2004-06-10  Mark Wielaard  <mark@klomp.org>
7068
7069         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7070         NoSuchMethodError.
7071
7072 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
7073
7074         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
7075         when we already know the answer.
7076         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7077         (setStartRule,setEndRule): Don't take abs of day number.
7078         (getOffset): Clarify docs.  Add argument checks.
7079         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7080         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7081         endTimeMode.
7082
7083 2004-06-10  Tom Tromey  <tromey@redhat.com>
7084
7085         * interpret.cc (run): Handle wide fload.
7086
7087 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
7088
7089         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7090
7091 2004-06-05  Michael Koch  <konqueror@gmx.de>
7092
7093         * javax/swing/SwingConstants.java
7094         (NEXT): New constant.
7095         (PREVIOUS): Likewise.
7096
7097 2004-06-05  Michael Koch  <konqueror@gmx.de>
7098
7099         * javax/swing/UIManager.java
7100         (LookAndFeel): Made public.
7101         (LookAndFeel.getName): Likewise.
7102         (LookAndFeel.getClassName): Likewise.
7103
7104 2004-06-03  Michael Koch  <konqueror@gmx.de>
7105
7106         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7107         (requestFocus): Revert last changes.
7108         (gtkRequestFocus): Removed.
7109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7110         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7111         Renamed to ...
7112         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7113         Reverted last patch.
7114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7115         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7116         Reverted comment change.
7117
7118 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
7119
7120         * javax/swing/JCheckBoxMenuItem.java:
7121         Removed CVS tags.
7122         * javax/swing/JMenu.java: Likewise.
7123         * javax/swing/JMenuBar.java: Likewise.
7124         * javax/swing/JMenuItem.java: Likewise.
7125         * javax/swing/JPopupMenu.java: Likewise.
7126         * javax/swing/JRadioButtonMenuItem.java: Likewise.
7127         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7128         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7129         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7130         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7131         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7132         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7133
7134 2004-06-01  Tom Tromey  <tromey@redhat.com>
7135
7136         * java/io/ObjectStreamField.java: Cleaned up imports.
7137
7138 2004-06-01  Michael Koch  <konqueror@gmx.de>
7139
7140         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7141       
7142 2004-06-01  Mark Wielaard  <mark@klomp.org>
7143
7144         * java/io/Writer.java (Writer(Object)): Fixed API doc.
7145
7146 2004-06-01  Michael Koch  <konqueror@gmx.de>
7147
7148         * java/security/Security.java
7149         (insertProviderAt): Use equals() instead of ==.
7150         (removeProvicer): Likewise.
7151         (getProvider): Likewise.
7152         * java/security/Signature.java
7153         (sign): Don't set state to UNINITIALIZED.
7154         (verify): Likewise.
7155
7156 2004-06-01  Mark Wielaard  <mark@klomp.org>
7157
7158         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7159         Implement by calling gtkRequestFocus.
7160         (gtkRequestFocus): New native method.
7161         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7162         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7163         Renamed to ...
7164         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7165         New function name.
7166         (filter_expose_event_handler):
7167         Mark static.
7168         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7169         (menu_pos): Mark static.
7170
7171 2004-06-01  Michael Koch  <konqueror@gmx.de>
7172
7173         * java/text/CollationElementIterator.java,
7174         java/text/CollationKey.java,
7175         java/text/RuleBasedCollator.java: New versions from GNU classpath.
7176         * testsuite/libjava.mauve/xfails: Removed all
7177         java.text.CollationElementIterator tests.
7178
7179 2004-06-01  Michael Koch  <konqueror@gmx.de>
7180
7181         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7182         version.
7183         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7184         Java 1.5 keyword usage.
7185
7186 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7187
7188         * javax/swing/plaf/basic/BasicMenuUI.java:
7189         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7190         Call getPath() from super class instead.
7191
7192 2004-05-31  Michael Koch  <konqueror@gmx.de>
7193
7194         * java/io/SequenceInputStream.java:
7195         Rename enum to e because enum is a keyword in Java 1.5.
7196
7197 2004-05-31  Michael Koch  <konqueror@gmx.de>
7198
7199         * gnu/java/rmi/rmic/CompilerProcess.java:
7200         Fixed javadoc to by XHTML compliant.
7201
7202 2004-05-30  Mark Wielaard  <mark@klomp.org>
7203
7204         * java/awt/Toolkit.java (loadSystemColors): Implement.
7205
7206 2004-05-30  Michael Koch  <konqueror@gmx.de>
7207
7208         * java/lang/System.java: Reordered imports.
7209
7210 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
7211
7212         * java/text/DecimalFormat.java
7213         (parse): Fixed parsing of decimal strings. Number of maximum
7214         digits to be read should now work.
7215         * java/text/SimpleDateFormat.java
7216         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7217         formatter. This fixes DateFormatTest.
7218
7219 2004-05-30  Michael Koch  <konqueror@gmx.de>
7220
7221         * java/nio/Buffer.java
7222         (limit): Fixed off by one error.
7223         * java/nio/CharBuffer.java
7224         (wrap): Fixed arguments, added javadocs.
7225
7226 2004-05-30  Michael Koch  <konqueror@gmx.de>
7227
7228         * gnu/java/beans/BeanInfoEmbryo.java,
7229         java/awt/im/InputContext.java,
7230         javax/swing/tree/DefaultMutableTreeNode.java:
7231         Rename enum to e because enum is a keyword in Java 1.5.
7232
7233 2004-05-30  Michael Koch  <konqueror@gmx.de>
7234
7235         * gnu/java/math/MPN.java,
7236         java/awt/geom/Arc2D.java:
7237         Fixed javadocs all over.
7238
7239 2004-05-30  Michael Koch  <konqueror@gmx.de>
7240
7241         * java/awt/DefaultKeyboardFocusManager.java
7242         (dispatchEvent): Call method to get key event dispatchers.
7243         (dispatchKeyEvent): Call method to get key event post processors.
7244         * javax/swing/JComponent.java
7245         (listenerList): Made protected.
7246         * javax/swing/JOptionPane.java
7247         (message): Don't initialize.
7248         (JOptionPane): Set message text.
7249         * javax/swing/JPopupMenu.java
7250         (show): Fixed typo in argument name.
7251         * javax/swing/RepaintManager.java
7252         (paintDirtyRegions): Use public API of java.util.Map.
7253         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7254         (positionForMouseEvent): Removed redundant ';'.
7255         (continueDrag): Use method arguments.
7256
7257 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
7258
7259         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7260         results.
7261
7262 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7263
7264         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7265         _Jv_AllocBytes.
7266         * gnu/gcj/RawDataManaged.java: New file.
7267         * java/lang/Thread.java (data): Declare as RawDataManaged.
7268         * java/lang/natThread.cc (init_native): Cast natThread data to
7269         RawDataManaged, not jobject.
7270         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7271         * Makefile.in: Rebuilt.
7272
7273 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7274
7275         * java/util/SimpleTimeZone.java: Reverting my last change until I
7276         can fix it properly.
7277
7278 2004-05-27  Michael Koch  <konqueror@gmx.de>
7279
7280         * javax/swing/JPopupMenu.java
7281         (isVisible): Do not use visible directly.
7282         (setVisible): Likewise.
7283         * javax/swing/JWindow.java
7284         (JWindow): call accessible constructor.
7285         * javax/swing/RepaintManager.java
7286         (paintDirtyRegions): Use public methods to obtain iterator.
7287
7288 2004-05-25  David Jee  <djee@redhat.com>
7289
7290         * java/awt/Container.java
7291         (remove): Set component's parent to null only after we removed the
7292         component from its parent's layout manager.
7293
7294 2004-05-25  David Jee  <djee@redhat.com>
7295
7296         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7297         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7298         is valid.
7299         * gnu/java/awt/peer/gtk/GtkListPeer.java
7300         (getSize): Change native method declaration.
7301         (minimumSize): Pass visible row count into getSize().
7302         (preferredSize): Likewise.
7303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7304         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7305         natural size. Use visible row count to determine the final height
7306         value to return.
7307
7308 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7309
7310         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7311         (setClip): Minor correction to order of operations.
7312
7313         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7314         * javax/swing/ScrollPaneLayout.java: Likewise.
7315         * javax/swing/JViewPort.java: Likewise.
7316         * javax/swing/ViewportLayout.java: Likewise.
7317
7318         * javax/swing/JComponent.java: Rewrite.
7319         * javax/swing/RepaintManager.java: Likewise.
7320
7321         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7322         * javax/swing/JList.java 
7323         (setSelectedIndices):
7324         (getSelectedIndices):
7325         (getSelectedValues): New functions.
7326         (getPreferredScrollableViewportSize): Return preferred size.
7327         (getScrollableUnitIncrement):
7328         (getScrollableBlockIncrement): Initial implementations.
7329         * javax/swing/JRootPane.java: Clean up slightly.
7330         (getUI):
7331         (setUI):
7332         (updateUI):
7333         (getUIClassID):
7334         (isValidateRoot): Add overrides from JComponent.
7335         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7336         * javax/swing/UIManager.java (getDimension): Return the dimension.
7337
7338         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7339         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7340         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7341         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7342         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7343         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7344         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7345         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7346         Likewise, and set background.
7347         * javax/swing/plaf/basic/BasicListUI.java: 
7348         Likewise, and improve a bit.
7349         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7350         Likewise, and adjust calculations.
7351         * javax/swing/plaf/basic/BasicViewportUI.java:
7352         Likewise, and improve a bit.
7353         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7354         (Button.margin): Shrink.
7355
7356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7357         Hack to set horizontal always, workaround pango.
7358
7359         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7360         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7361         Synchronize more often, check cairo status after ops,
7362         handle changes to cairo pattern API, check for disposal.
7363
7364 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7365
7366         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7367         (BasicMenuItemUI): Create propertyChangeListener.
7368         (getPath):Implemented.
7369         (installListeners): Add propertyChangeListener to menuItem.
7370         (uninstallListeners): Remove propertyChangeListener from menuItem.
7371         (update): Implemented.
7372         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7373         (mouseEntered): Take insets of popup menu into account when
7374         calculating position of popup menu.     
7375         
7376 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7377
7378         * Makefile.am: Added new file. 
7379         * Makefile.in: Regenerate.
7380         * javax/swing/JMenuBar.java:
7381         Started implementation.
7382         * javax/swing/JPopupMenu.java:
7383         (setVisible): Fixed location of lightweight/mediumweight
7384         popup menu.
7385         (show): Fixed location of PopupMenu.
7386         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7387         New file. UI Delegate for JMenuBar.
7388         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7389         (mouseEntered): Corrected position of the submenu.
7390
7391 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7392
7393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7394         to _gtk_accel_group_attach.
7395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7396         Likewise.
7397
7398         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7399         package access.  Don't override setFont.
7400         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7401         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7402         gtkWidgetRequestFocus package access.
7403         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7404         setFont.
7405         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7406         Give gtkWidgetRequestFocus package access.
7407         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7408         gtkWidgetRequestFocus package access.  Don't override setFont.
7409         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7410         setFont.
7411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7412         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7413         region.
7414         (gtkSetFont): Likewise.
7415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7416         Implement.
7417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7418         (gtkSetFont): Whitespace fix.
7419
7420         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7421         (gtkWidgetSetUsize): Remove method.
7422
7423 2004-05-18  David Jee  <djee@redhat.com>
7424
7425         * java/awt/image/MemoryImageSource.java
7426         (newPixels(int,int,int,int,boolean)): Set only the specified
7427         rectangle of pixels.
7428         (newPixels(byte[],ColorModel,int,int)): Implement.
7429         (newPixels(int[],ColorModel,int,int)): Implement.
7430
7431 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7432
7433         * Makefile.am: Added new file.
7434         * Makefile.in: Regenerate.
7435         * javax/swing/JMenu.java: Started 
7436         implementation.
7437         * javax/swing/JPopupMenu.java:
7438         (insert): If specified index is -1, then
7439         add component at the end.
7440         (isPopupTrigger): Reimplemented.
7441         (JPopupMenu.LightWeightPopup): setBounds
7442         of the lightWeightPopup before adding it 
7443         to the layeredPane.
7444         (javax/swing/plaf/basic/BasicIconFactory.java):
7445         (getMenuArrowIcon): Implemented.
7446         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7447         (getPreferredSize): Add size of the arrow icon 
7448         if this menu item is instance of JMenu.
7449         (paintMenuItem): Paint arrow icon if this 
7450         menu item is a submenu.
7451         * javax/swing/plaf/basic/BasicMenuUI.java:
7452         New File. UI Delegate for JMenu.
7453
7454 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7455
7456         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7457         Post KEY_TYPED events.
7458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7459         (generates_key_typed_event): Remove function.
7460
7461 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7462
7463         * javax/swing/JRootPane.java
7464         (JRootPane.RootLayout): Reimplemented to 
7465         set bounds of contentPane and menuBar.
7466         (setJMenuBar): Add menu bar to the layered pane.
7467         (createLayeredPane): Set layout of layeredPane
7468         to null.
7469         * javax/swing/JLayeredPane.java:
7470         (addImpl): Calculate index of the component in the
7471         layeredPane according to the specified position within 
7472         the layer.      
7473
7474 2004-05-17  David Jee  <djee@redhat.com>
7475
7476         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7477         (setPixels): Change color model to the default model after
7478         converting pixels.
7479         * java/awt/image/MemoryImageSource.java
7480         (newPixels): Set only the specified rectangle of pixels.
7481
7482 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7483
7484         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7485         -l-java-beans -l-javax-accessibility -l-javax-swing.
7486
7487         * java/awt/AWTEvent.java (toString): Print source's name rather
7488         than the source itself.
7489
7490 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7491
7492         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7493         native.
7494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7495         (gdk_color_to_java_color): New function.
7496         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7497
7498 2004-05-12  David Jee  <djee@redhat.com>
7499
7500         * java/awt/image/RGBImageFilter.java:
7501         Initialize origmodel as null.
7502         (makeColor): Fix pixel component order.
7503         (filterRGBPixels): Fix pixel iteration.
7504         (setPixels): Add extra checks for index color model. Convert pixels
7505         to default color model if necessary.
7506         (convertColorModelToDefault): New override method for byte pixels.
7507         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7508         (makeColorbyDefaultCM): New override method for byte pixels.
7509         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7510         (makeColor): Fix pixel component order.
7511
7512 2004-05-11  Kim Ho  <kho@redhat.com>
7513
7514         * javax/swing/Box.java:
7515         Comment out more parts of Box.Filler.
7516
7517 2004-05-11  Kim Ho  <kho@redhat.com>
7518
7519         * javax/swing/Box.java:
7520         Remove reference to AccessibleAWTComponent so
7521         it compiles again.
7522
7523 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7524
7525         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7526         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7527         implementation of list peer to use GtkTreeView instead of
7528         deprecated GtkCList.
7529
7530 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7531
7532         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7533         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7534         (handleEvent): Remove keyChar argument to
7535         gtkWidgetDispatchKeyEvent calls.
7536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7537         compiler warnings.
7538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7541         Likewise.
7542
7543 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7544
7545         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7546         (gtkWidgetRequestFocus): Mark protected.
7547         (GtkComponentPeer): Only set the peer's bounds if its component
7548         is valid.
7549         * java/awt/Component.java (static): Set the default keyboard
7550         focus manager.
7551         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7552         requestFocusInWindow(temporary)): Don't request focus if the
7553         component is not showing.  Get tree lock before traversing
7554         component hierarchy.
7555         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7556         Only set the global focus owner if it is not a Window.
7557         (processKeyEvent): Consume keystrokes associated with the focus
7558         traversal keystroke.
7559         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7560         downFocusCycle): Call requestFocusInWindow instead of
7561         requestFocus.
7562         * java/awt/EventDispatchThread.java (run): Move setting of
7563         default keyboard focus manager to Component.java.
7564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7565         (awt_keycode_to_keysym): New function.
7566         (gtkWidgetDispatchKeyEvent): Finish implementation.
7567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7568         (pre_event_handler): Add FIXME comment.
7569
7570         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7571         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7572         (gtkWidgetRequestFocus): New method.
7573         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7574         disable Tab and Shift-Tab keystrokes.
7575         (addNotify, appendText, insertText, replaceText): Simplify peer
7576         retrieval code.
7577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7578         (connectSignals): Remove connections to "commit" signals.
7579         Remove C++-style comments.
7580
7581         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7582         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7583         (handleEvent): Activate GTK button when the space bar key is
7584         pressed.
7585         (gtkActivate): New method.
7586
7587 2004-05-06  David Jee  <djee@redhat.com>
7588
7589         * java/awt/image/CropImageFilter.java
7590         (setPixels): Implement for byte array pixels.
7591         * java/awt/image/ReplicateScaleFilter.java
7592         (setPixels): Implement for byte array pixels.
7593         (replicatePixels): Overload for byte array pixels.
7594
7595 2004-05-06  Kim Ho  <kho@redhat.com>
7596
7597         * javax/swing/Box.java:
7598         (getAccessibleContext): Return an instance of the 
7599         correct class.
7600
7601 2004-05-05  David Jee  <djee@redhat.com>
7602
7603         * gnu/java/awt/peer/gtk/GdkGraphics.java
7604         (drawImage): When component is null, use SystemColor.window as
7605         the default bgcolor.
7606         * gnu/java/awt/peer/gtk/GtkImage.java
7607         (setPixels): We can avoid iterating through the pixel rows only
7608         when height is 1.
7609         * java/awt/Image.java
7610         (getScaledInstance): Partially implement.
7611         * java/awt/image/CropImageFilter.java
7612         (setProperties): Fix "filter" property.
7613         (setPixels): Implement.
7614         * java/awt/image/ReplicateScaleFilter.java
7615         (setDimensions): Use scaled dimensions.
7616         (setPixels): Implement.
7617         (replicatePixels): New method.
7618
7619 2004-05-05  David Jee  <djee@redhat.com>
7620
7621         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7622         (convertPixels): If either pixels or model is null, return null.
7623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7624         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7625         is null, do nothing and return.
7626
7627 2004-05-03  Kim Ho  <kho@redhat.com>
7628
7629         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7630         (getGraphics): Like GtkFramePeer, the Graphics
7631         object needs to be translate to account for
7632         window decorations.
7633         (postMouseEvent): New method. Account for
7634         translation.
7635         (postExposeEvent): ditto.
7636         * javax/swing/Box.java: Stubbed.
7637         * javax/swing/JDialog.java: Ran through jalopy
7638         to fix indentation.
7639         (JDialog): Call SwingUtilities' getOwnerFrame
7640         for null owners.
7641         (setLayout): Check isRootPaneCheckingEnabled
7642         * javax/swing/JOptionPane.java: Re-implemented.
7643         * javax/swing/SwingUtilities.java:
7644         (getOwnerFrame): Static method to grab a default
7645         owner frame for Dialogs that don't specify owners.
7646         * javax/swing/event/SwingPropertyChangeSupport.java:
7647         (firePropertyChange): Fix early exit condition.
7648         * javax/swing/plaf/basic/BasicLabelUI.java:
7649         (paint): Avoid painting text if it is null 
7650         or empty.
7651         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7652         Implement.
7653
7654 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7655
7656         * Makefile.am: Added new file.
7657         * Makefile.in: Regenerate.
7658         * javax/swing/JPopupMenu.java:
7659         Started implementation.
7660         * javax/swing/JWindow.java
7661         (JWindow): call super() if parent for window
7662         is not specified.
7663         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7664         New File. UI Delegate for JPopupMenu.
7665
7666 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7667
7668         * javax/swing/JApplet.java: Indicated that JApplet
7669         implements RootPaneContainer and made method of this
7670         interface public. 
7671         * javax/swing/JFrame.java: Ditto.
7672         * javax/swing/JWindow.java: Ditto.
7673         
7674 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7675
7676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7677         (nativeSetBounds): Call gdk_window_move in addition to
7678         gtk_window_move.
7679
7680         * java/applet/Applet.java (preferredSize): Call parent's
7681         preferredSize if the applet stub is null.
7682         (minimumSize): Likewise for parent's minimumSize.
7683
7684 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7685
7686         * javax/swing/JMenuItem.java
7687         (createActionPropertyChangeListener): Implemented.
7688         (processMouseEvent): Ditto.
7689         (fireMenuDragMouseEntered): Ditto.
7690         (fireMenuDragMouseExited): Ditto.
7691         (fireMenuDragMouseDragged): Ditto.
7692         (fireMenuDragMouseReleased): Ditto.
7693         (menuSelectionChanged): Ditto.
7694         (getSubElements): Ditto.
7695         (getComponent): Ditto.
7696         (addMenuDragMouseListener): Ditto.
7697         (removeMenuDragMouseListener):Ditto.
7698         (addMenuKeyListener): Ditto.
7699         (removeMenuKeyListener): Ditto.
7700         * javax/swing/plaf/basic/BasicMenuItemUI.java
7701         (doClick): Imlemented.
7702         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7703         Don't handle mouse events here. Pass them to 
7704         MenuSelectionManager.
7705         
7706 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7707         Used correct version of jalopy configuration
7708         file to fix style in the files below.
7709
7710 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7711
7712         * javax/swing/JCheckBoxMenuItem.java: 
7713         Fixed style and removed unnecessary comments.
7714         * javax/swing/JMenuItem.java: Ditto.
7715         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7716         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7717         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7718         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7719
7720 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7721
7722         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7723         C-style.
7724
7725         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7726
7727         * java/awt/ContainerOrderFocusTraversalPolicy.java
7728         (getComponentAfter): Start from current component and work up
7729         the component hierarchy until an acceptable component is found.
7730         Synchronize on tree lock.
7731         (getComponentBefore): Likewise.
7732
7733 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7734
7735         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7736         focus-related debugging messages.
7737         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7738         * java/awt/EventDispatchThread.java: Likewise.
7739         * java/awt/KeyboardFocusManager.java: Likewise.
7740         * java/awt/Window.java: Likewise.
7741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7743
7744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7745         new C++-style comments to C-style comments.
7746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7747
7748         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7749         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7750         (handleEvent): Dispatch key press and key release events to
7751         backing widget.
7752         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7753         (gtkWidgetRequestFocus): New method.
7754         (gtkWidgetDispatchKeyEvent): Likewise.
7755         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7756         requestFocusInWindow, requestFocusInWindow(boolean),
7757         getFocusCycleRootAncestor, nextFocus, transferFocus,
7758         transferFocusBackward, transferFocusUpCycle, hasFocus,
7759         isFocusOwner): Implement and document focus-handling methods.
7760         (setFocusTraversalKeys): Inherit focus traversal keys when
7761         keystrokes argument is null.  Fix focus-handling documentation
7762         throughout class.
7763         * java/awt/Container.java (setFocusTraversalKeys,
7764         getFocusTraversalKeys, areFocusTraversalKeysSet,
7765         isFocusCycleRoot, setFocusTraversalPolicy,
7766         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7767         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7768         Implement and document focus-handling methods.
7769         (transferFocusBackward): Remove method.
7770         (readObject, writeObject): Implement and document serialization
7771         methods.
7772         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7773         and document.
7774         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7775         document.
7776         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7777         partially document.
7778         * java/awt/EventDispatchThread.java (run): Set default keyboard
7779         focus manager.  Attempt to dispatch each event to the keyboard
7780         focus manager before normal dispatch.
7781         * java/awt/KeyboardFocusManager.java: Implement and partially
7782         document.
7783         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7784         (show): Focus initial component when window is shown for the
7785         first time.
7786         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7787         (pre_event_handler): Replace complex key press and key release
7788         logic with simple callbacks into GtkComponentPeer.
7789         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7790
7791 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7792
7793         * javax/swing/MenuSelectionManager.java
7794         (componentForPoint): Added new method. 
7795         (defaultManager): New Method. Implemented.
7796         (getSelectedPath): Ditto.
7797         (isComponentPartOfCurrentMenu): Ditto.
7798         (processKeyEvent): Added new method.
7799         (processMouseEvent): New Method. Implemented.
7800         (setSelectedPath): Ditto.
7801         (getPath): Ditto.
7802
7803 2004-04-19  Kim Ho  <kho@redhat.com>
7804
7805         * java/awt/Container.java: 
7806         (remove): Set the component's parent to null.
7807         (getComponentAt): Implement.
7808         * javax/swing/JComponent.java:
7809         (JComponent): Initialize defaultLocale
7810         (getDefaultLocale): Implement.
7811         (setDefaultLocale): ditto.
7812         * javax/swing/JSlider.java:
7813         (JSlider): Fix calculation of value.
7814         * javax/swing/JSplitPane.java: Implement.
7815         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7816         Change SplitPane's default divider size.
7817         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7818         (paint): Remove unused code.
7819         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7820         Added comments and ran through jalopy.
7821         (setBasicSplitPaneUI): Get reference to hidden divider
7822         and set up one touch buttons if necessary.
7823         (setBorder): Fire propertyChangeEvent only if 
7824         borders are different.
7825         (getPreferredSize): Defer to layout manager.
7826         (propertyChange): Implement.
7827         (oneTouchExpandableChanged): ditto.
7828         (createLeftOneTouchButton): Use BasicArrowButton.
7829         (createRightOneTouchButton): ditto.
7830         (moveDividerTo): New method. Moves the divider
7831         to a set location based on the last divider location.
7832         (BasicSplitPaneDivider::MouseHandler): Implement.
7833         (BasicSplitPaneDivider::OneTouchButton): Removed.
7834         (BasicSplitPaneDivider::DragController): Implement.
7835         (BasicSplitPaneDivider::VerticalDragController):
7836         ditto.
7837         (BasicSplitPaneDivider::DividerLayout): ditto.
7838         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7839         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7840         (calculateLayoutInfo): Don't show component if it's
7841         null.
7842         (paintTab): Fix title paint logic.
7843
7844 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7845
7846         PR libgcj/8321
7847         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7848         (setStartRule,setEndRule): Don't take abs of day number.
7849         (getOffset): Clarify docs.  Add argument checks.
7850         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7851         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7852         endTimeMode.
7853         * testsuite/libjava.mauve/xfails
7854         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7855
7856 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7857
7858         Layout interfaces during preparation, not initialization. 
7859         * java/lang/natClass.cc (initializeClass): Move 
7860         _Jv_LayoutInterfaceMethods call...
7861         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7862
7863 2004-05-19  Anthony Green  <green@localhost.localdomain>
7864
7865         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7866         gnu.javax.rmi code.
7867         * Makefile.in: Rebuilt.
7868         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7869         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7870         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7871         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7872         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7873         gnu/javax/rmi/CORBA/DelegateFactory.java,
7874         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7875         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7876         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7877         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7878         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7879         gnu/javax/rmi/PortableServer.java: Remove files.
7880
7881 2004-05-19  Anthony Green  <green@redhat.com>
7882
7883         * Makefile.am: Define JAVA_EXT_DIRS.
7884         * Makefile.in: Rebuilt.
7885         * java/lang/natRuntime.cc (insertSystemProperties): Set
7886         java.ext.dirs property.
7887
7888 2004-05-16  Mark Wielaard  <mark@klomp.org>
7889
7890         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7891
7892 2004-05-15  Mark Wielaard  <mark@klomp.org>
7893
7894         * doc/cni.sgml: Removed, merged into gcj.texi.
7895
7896 2004-05-15  Mark Wielaard  <mark@klomp.org>
7897
7898         * Makefile.am (ordinary_java_source_files): Add new javax.print
7899         classes.
7900         * Makefile.in: Regenerated.
7901
7902 2004-05-15  Michael Koch  <konqueror@gmx.de>
7903
7904         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7905         javax/print/attribute/standard/DateTimeAtCreation.java,
7906         javax/print/attribute/standard/DateTimeAtProcessing.java,
7907         javax/print/attribute/standard/DocumentName.java,
7908         javax/print/attribute/standard/JobHoldUntil.java,
7909         javax/print/attribute/standard/JobImpressionsCompleted.java,
7910         javax/print/attribute/standard/JobMessageFromOperator.java,
7911         javax/print/attribute/standard/JobName.java,
7912         javax/print/attribute/standard/JobOriginatingUserName.java,
7913         javax/print/attribute/standard/JobPriority.java,
7914         javax/print/attribute/standard/JobPrioritySupported.java,
7915         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7916         javax/print/attribute/standard/OutputDeviceAssigned.java,
7917         javax/print/attribute/standard/PrinterInfo.java,
7918         javax/print/attribute/standard/PrinterLocation.java,
7919         javax/print/attribute/standard/PrinterMakeAndModel.java,
7920         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7921         javax/print/attribute/standard/PrinterName.java,
7922         javax/print/attribute/standard/QueuedJobCount.java,
7923         javax/print/attribute/standard/RequestingUserName.java:
7924         Fixed javadocs all over.
7925
7926 2004-05-15  Michael Koch  <konqueror@gmx.de>
7927
7928         * javax/print/DocFlavor.java,
7929         javax/print/attribute/standard/ColorSupported.java,
7930         javax/print/attribute/standard/Compression.java,
7931         javax/print/attribute/standard/CopiesSupported.java,
7932         javax/print/attribute/standard/Fidelity.java,
7933         javax/print/attribute/standard/Finishings.java,
7934         javax/print/attribute/standard/JobImpressionsSupported.java,
7935         javax/print/attribute/standard/JobKOctetsSupported.java,
7936         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7937         javax/print/attribute/standard/JobSheets.java,
7938         javax/print/attribute/standard/JobState.java,
7939         javax/print/attribute/standard/JobStateReason.java,
7940         javax/print/attribute/standard/JobStateReasons.java,
7941         javax/print/attribute/standard/Media.java,
7942         javax/print/attribute/standard/MediaSizeName.java,
7943         javax/print/attribute/standard/MultipleDocumentHandling.java,
7944         javax/print/attribute/standard/NumberUpSupported.java,
7945         javax/print/attribute/standard/OrientationRequested.java,
7946         javax/print/attribute/standard/PDLOverrideSupported.java,
7947         javax/print/attribute/standard/PageRanges.java,
7948         javax/print/attribute/standard/PresentationDirection.java,
7949         javax/print/attribute/standard/PrintQuality.java,
7950         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7951         javax/print/attribute/standard/PrinterMoreInfo.java,
7952         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7953         javax/print/attribute/standard/PrinterResolution.java,
7954         javax/print/attribute/standard/PrinterState.java,
7955         javax/print/attribute/standard/PrinterStateReason.java,
7956         javax/print/attribute/standard/PrinterStateReasons.java,
7957         javax/print/attribute/standard/PrinterURI.java,
7958         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7959         javax/print/attribute/standard/Severity.java,
7960         javax/print/attribute/standard/SheetCollate.java,
7961         javax/print/attribute/standard/Sides.java:
7962         Added serialVersionUID and removed final keyword where it doenst
7963         belong.
7964
7965 2004-05-15  Michael Koch  <konqueror@gmx.de>
7966
7967         * javax/print/PrintServiceLookup.java: New file.
7968
7969 2004-05-15  Michael Koch  <konqueror@gmx.de>
7970
7971         * javax/print/DocFlavor.java:
7972         Implemented all flavor classes.
7973
7974 2004-05-15  Michael Koch  <konqueror@gmx.de>
7975
7976         * javax/print/attribute/standard/ColorSupported.java,
7977         javax/print/attribute/standard/Compression.java,
7978         javax/print/attribute/standard/CopiesSupported.java,
7979         javax/print/attribute/standard/Fidelity.java,
7980         javax/print/attribute/standard/Finishings.java,
7981         javax/print/attribute/standard/JobImpressionsSupported.java,
7982         javax/print/attribute/standard/JobKOctetsSupported.java,
7983         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7984         javax/print/attribute/standard/JobSheets.java,
7985         javax/print/attribute/standard/JobState.java,
7986         javax/print/attribute/standard/JobStateReason.java,
7987         javax/print/attribute/standard/JobStateReasons.java,
7988         javax/print/attribute/standard/Media.java,
7989         javax/print/attribute/standard/MediaSizeName.java,
7990         javax/print/attribute/standard/MultipleDocumentHandling.java,
7991         javax/print/attribute/standard/NumberUpSupported.java,
7992         javax/print/attribute/standard/OrientationRequested.java,
7993         javax/print/attribute/standard/PDLOverrideSupported.java,
7994         javax/print/attribute/standard/PageRanges.java,
7995         javax/print/attribute/standard/PresentationDirection.java,
7996         javax/print/attribute/standard/PrintQuality.java,
7997         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7998         javax/print/attribute/standard/PrinterMoreInfo.java,
7999         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
8000         javax/print/attribute/standard/PrinterResolution.java,
8001         javax/print/attribute/standard/PrinterState.java,
8002         javax/print/attribute/standard/PrinterStateReason.java,
8003         javax/print/attribute/standard/PrinterStateReasons.java,
8004         javax/print/attribute/standard/PrinterURI.java,
8005         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
8006         javax/print/attribute/standard/Severity.java,
8007         javax/print/attribute/standard/SheetCollate.java,
8008         javax/print/attribute/standard/Sides.java: New files.
8009
8010 2004-05-15  Michael Koch  <konqueror@gmx.de>
8011
8012         * javax/print/Doc.java
8013         (getPrintData): Throws IOException.
8014         (getReaderForText): Likewise.
8015         (getStreamForBytes): Likewise.
8016         * javax/print/DocFlavor.java:
8017         Fixed filename in copyright.
8018         (serialVersionUID): New field.
8019         * javax/print/ServiceUIFactory.java:
8020         Made all constants final.
8021         * javax/print/AttributeException.java
8022         javax/print/MultiDoc.java
8023         javax/print/MultiDocPrintJob.java
8024         javax/print/MultiDocPrintService.java
8025         javax/print/StreamPrintService.java
8026         javax/print/URIException.java: New files.
8027         * javax/print/Makefile.am
8028         (EXTRA_DIST): Added all new files.
8029
8030 2004-05-15  Michael Koch  <konqueror@gmx.de>
8031
8032         * javax/print/attribute/standard/Copies.java,
8033         javax/print/attribute/standard/DateTimeAtCompleted.java,
8034         javax/print/attribute/standard/DateTimeAtCreation.java,
8035         javax/print/attribute/standard/DateTimeAtProcessing.java,
8036         javax/print/attribute/standard/DocumentName.java,
8037         javax/print/attribute/standard/JobHoldUntil.java,
8038         javax/print/attribute/standard/JobImpressions.java,
8039         javax/print/attribute/standard/JobImpressionsCompleted.java,
8040         javax/print/attribute/standard/JobKOctets.java,
8041         javax/print/attribute/standard/JobKOctetsProcessed.java,
8042         javax/print/attribute/standard/JobMediaSheets.java,
8043         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8044         javax/print/attribute/standard/JobMessageFromOperator.java,
8045         javax/print/attribute/standard/JobName.java,
8046         javax/print/attribute/standard/JobOriginatingUserName.java,
8047         javax/print/attribute/standard/JobPriority.java,
8048         javax/print/attribute/standard/JobPrioritySupported.java,
8049         javax/print/attribute/standard/NumberOfDocuments.java,
8050         javax/print/attribute/standard/NumberOfInterveningJobs.java,
8051         javax/print/attribute/standard/NumberUp.java,
8052         javax/print/attribute/standard/OutputDeviceAssigned.java,
8053         javax/print/attribute/standard/PagesPerMinute.java,
8054         javax/print/attribute/standard/PagesPerMinuteColor.java:
8055         Fixed @return tag all over.
8056
8057 2004-05-15  Michael Koch  <konqueror@gmx.de>
8058
8059         * javax/print/attribute/AttributeSetUtilities.java
8060         (verifyCategoryForValue): Fixed typo in javadoc.
8061         * javax/print/attribute/HashAttributeSet.java
8062         (containsKey): Fixed @return tag.
8063         (comtainsValue): Likewise.
8064         (equals): Likewise.
8065         * javax/print/attribute/IntegerSyntax.java
8066         (equals): Likewise.
8067         * javax/print/attribute/ResolutionSyntax.java
8068         (equals): Likewise.
8069         (getCrossFeedResolution): Removed unused code.
8070         (getFeedResolution): Likewise.
8071         * javax/print/attribute/SetOfIntegerSyntax.java
8072         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8073         (equals): Fixed @return tag.
8074         * javax/print/attribute/TextSyntax.java
8075         (TextSyntax): Take locale into account.
8076         (hashCode): Better implementation.
8077
8078 2004-05-15  Michael Koch  <konqueror@gmx.de>
8079
8080         * javax/print/CancelablePrintJob.java,
8081         javax/print/Doc.java,
8082         javax/print/DocFlavor.java,
8083         javax/print/DocPrintJob.java,
8084         javax/print/FlavorException.java,
8085         javax/print/PrintException.java,
8086         javax/print/PrintService.java,
8087         javax/print/ServiceUIFactory.java: New files.
8088
8089 2004-05-15  Mark Wielaard  <mark@klomp.org>
8090
8091         * gnu/regexp/CharIndexedReader.java: Removed.
8092         * gnu/regexp/REFilterReader.java: Likewise.
8093         * gnu/regexp/RETokenLookAhead.java: Likewise.
8094         * Makefile.am (ordinary_java_source_files): Remove above classes.
8095         * Makefile.in: Regenerated.
8096
8097 2004-05-14  Tom Tromey  <tromey@redhat.com>
8098
8099         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8100         not `XGraphicsConfiguration.XOffScreenImage'.
8101
8102 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
8103
8104         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8105
8106 2004-05-14  Steven Augart  <augart@watson.ibm.com>
8107
8108         * include/jni.h (_Jv_func): Removed.
8109         (struct JNINativeInterface): Use `void *' for reserved slots.
8110         (struct JNIInvokeInterface): Likewise.
8111
8112 2004-05-11  Michael Koch  <konqueror@gmx.de>
8113
8114         * gnu/java/net/natPlainSocketImplPosix.cc
8115         (read): Fixed typo in expression.
8116
8117 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
8118
8119         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8120         ld_library_additions. Adjust all calls to libjava_invoke to match
8121         the new argument.
8122
8123         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8124         path to cxxflagslist.
8125         Pass path of libstdc++ to libjava_invoke.
8126
8127         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8128         libjava_invoke arguments.
8129
8130 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
8131
8132         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8133         reality.
8134
8135 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
8136
8137         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8138         main binary against the JNI shared library.
8139
8140 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8141
8142         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8143         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8144         (SimpleTimeZone): Tweak docs.  Add new variation.
8145         (setStartRule,setEndRule): Add new variations.  Use
8146         startTimeMode and endTimeMode.
8147
8148 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8149
8150         * java/util/Calendar.java (getActualMinimum,
8151         getActualMaximum):  Remove abstract.  Implement.
8152
8153 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8154
8155         Run the jni tests using the interpreter.
8156         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8157         options_cxx to shared lib compile command.
8158         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8159         they are used to link the shared lib, not the main binary.
8160         Use libjava_invoke to run gij.
8161
8162 2004-05-06  Michael Koch  <konqueror@gmx.de>
8163
8164         * java/util/logging/Level.java
8165         (parse): Use == instead of String.equals().
8166
8167 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8168
8169         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
8170         verify_field_signature and verify_method_signature, not 
8171         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8172         (_Jv_ClassReader::handleField): Likewise.
8173         (_Jv_ClassReader::handleMethod): Likewise.
8174
8175 2004-05-06  Michael Koch  <konqueror@gmx.de>
8176
8177         * javax/swing/table/TableColumn.java:
8178         Reformated.
8179
8180 2004-05-06  Michael Koch  <konqueror@gmx.de>
8181
8182         * javax/imageio/spi/ImageReaderWriterSpi.java
8183         (ImageReaderWriterSpi): Made it public.
8184         * javax/imageio/stream/ImageInputStream.java:
8185         Clean up imports.
8186
8187 2004-05-06  Michael Koch  <konqueror@gmx.de>
8188
8189         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8190         Removed empty line.
8191
8192 2004-05-06  Michael Koch  <konqueror@gmx.de>
8193
8194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8195         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8196         New files.
8197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8198         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8200         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8201         their own source file.
8202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8203         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8204         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8206         (create): Define variable on top of function.
8207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8208         (menu_pos): Prototyped.
8209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8210         (setTitle): Removed.
8211         * jni/gtk-peer/gthread-jni.c
8212         (gdk_threads_wake): Removed.
8213         * Makefile.am (gtk_c_source_files): Added new files
8214         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8215         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8216         * Makefile.in: Regenerated.
8217
8218 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
8219
8220         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8221         call.
8222
8223 2004-05-05  Mark Wielaard  <mark@klomp.org>
8224
8225         * javax/swing/AbstractButton.java: Replace special HTML entities with
8226         ASCII equivalent.
8227         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8228         * javax/swing/DefaultButtonModel.java: Likewise.
8229         * javax/swing/DefaultListModel.java: Likewise.
8230         * javax/swing/JList.java: Likewise.
8231         * javax/swing/JSlider.java: Likewise.
8232         * javax/swing/ListModel.java: Likewise.
8233         * javax/swing/Popup.java: Likewise.
8234         * javax/swing/SwingUtilities.java: Likewise.
8235
8236 2004-05-05  Michael Koch  <konqueror@gmx.de>
8237
8238         * javax/swing/AbstractButton.java,
8239         javax/swing/ActionMap.java,
8240         javax/swing/DefaultButtonModel.java,
8241         javax/swing/DefaultListModel.java,
8242         javax/swing/ImageIcon.java,
8243         javax/swing/JComboBox.java,
8244         javax/swing/JComponent.java,
8245         javax/swing/JFrame.java,
8246         javax/swing/JInternalFrame.java,
8247         javax/swing/JMenuBar.java,
8248         javax/swing/JMenuItem.java,
8249         javax/swing/JOptionPane.java,
8250         javax/swing/JProgressBar.java,
8251         javax/swing/JRootPane.java,
8252         javax/swing/JScrollBar.java,
8253         javax/swing/JScrollPane.java,
8254         javax/swing/JSeparator.java,
8255         javax/swing/JSlider.java,
8256         javax/swing/JTabbedPane.java,
8257         javax/swing/JTable.java,
8258         javax/swing/JTextField.java,
8259         javax/swing/JToolBar.java,
8260         javax/swing/JToolTip.java,
8261         javax/swing/JTree.java,
8262         javax/swing/JViewport.java,
8263         javax/swing/JWindow.java,
8264         javax/swing/KeyStroke.java,
8265         javax/swing/LookAndFeel.java,
8266         javax/swing/SwingUtilities.java,
8267         javax/swing/Timer.java,
8268         javax/swing/ToolTipManager.java,
8269         javax/swing/UIDefaults.java,
8270         javax/swing/border/TitledBorder.java,
8271         javax/swing/filechooser/FileSystemView.java,
8272         javax/swing/plaf/basic/BasicButtonListener.java,
8273         javax/swing/plaf/basic/BasicButtonUI.java,
8274         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8275         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8276         javax/swing/plaf/basic/BasicLabelUI.java,
8277         javax/swing/plaf/basic/BasicMenuItemUI.java,
8278         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8279         javax/swing/plaf/basic/BasicRootPaneUI.java,
8280         javax/swing/plaf/basic/BasicScrollBarUI.java,
8281         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8282         javax/swing/plaf/basic/BasicSliderUI.java,
8283         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8284         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8285         javax/swing/table/JTableHeader.java,
8286         javax/swing/text/AbstractDocument.java,
8287         javax/swing/text/DefaultCaret.java,
8288         javax/swing/text/StyledEditorKit.java,
8289         javax/swing/tree/DefaultTreeCellEditor.java:
8290         Cleaned up imports.
8291
8292 2004-05-05  Michael Koch  <konqueror@gmx.de>
8293
8294         * java/util/prefs/AbstractPreferences.java
8295         (AbstractPreferences): Added parenthesis for clarity.
8296         Closes classpath bug #7940.
8297
8298 2004-05-05  Tom Tromey  <tromey@redhat.com>
8299
8300         * javax/naming/CompoundName.java (endsWith): Look at correct
8301         element of source name.
8302
8303 2004-05-05  Mark Wielaard  <mark@klomp.org>
8304
8305         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8306         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8307
8308 2004-05-05  Tom Tromey  <tromey@redhat.com>
8309
8310         * java/io/BufferedReader.java (skip): Removed unused
8311         variable.
8312
8313 2004-05-05  Michael Koch  <konqueror@gmx.de>
8314
8315         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8316
8317 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8318
8319         * java/text/AttributedString.java,
8320         java/text/AttributedStringIterator.java,
8321         java/text/Collator.java,
8322         java/text/DecimalFormatSymbols.java,
8323         java/text/NumberFormat.java,
8324         java/text/RuleBasedCollator.java:
8325         Cleaned up imports.
8326
8327 2004-05-05  Tom Tromey  <tromey@redhat.com>
8328
8329         * java/text/Format.java: Cleaned up imports.
8330         * java/text/DecimalFormat.java: Cleaned up imports.
8331         * java/security/SecureRandom.java: Cleaned up imports.
8332         (SecureRandom): Removed unused variable.
8333         * java/security/UnresolvedPermission.java: Cleaned up imports.
8334         * java/util/Date.java (parse): Removed unused variable.
8335         * java/util/ResourceBundle.java: Cleaned up imports.
8336         (getBundle): Removed unused variable.
8337         (tryBundle): Likewise.
8338         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8339
8340 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8341
8342         * java/text/SimpleDateFormat.java:
8343         (formatWithAttribute): New method. It implements
8344         the formatting process with attributes.
8345         (format): Use formatWithAttribute.
8346         (formatToCharacterIterator): New method. Use
8347         formatWithAttribute.
8348
8349 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8350
8351         * java/text/MessageFormat.java:
8352         (class Field): New class.
8353         (formatToCharacterIterator): New method.
8354         (format): Use formatInternal now.
8355         (formatInternal): New method. String formatter should
8356         be done here (with attributes). Attributes merging supported.
8357         (parse): More documentation.
8358         (getFormatsByArgumentIndex): New method.
8359         (setFormatByArgumentIndex): New method.
8360         (setFormatsByArgumentIndex): New method.
8361
8362 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8363
8364         * java/text/DecimalFormat.java
8365         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8366         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8367         (parse): Fixed handling of exponentiation notation and grouping.
8368
8369 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8370
8371         * java/text/DecimalFormat.java
8372         (scanFix): Build attribute array. Fixed error reporting.
8373         (applyPatternWithSymbols): Store attributes for the prefix and
8374         suffix.
8375         (formatInternal): New method. Changed the way the string is
8376         computed. Implemented attributes. Cleant up rounding in
8377         exponential notation.
8378         (format): Use formatInternal.
8379         (formatToCharacterIterator): New method.
8380         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8381         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8382         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8383         New fields.
8384
8385 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8386
8387         * java/security/interfaces/DSAKeyPairGenerator.java,
8388         java/security/interfaces/DSAPrivateKey.java,
8389         java/security/interfaces/DSAPublicKey.java,
8390         java/security/interfaces/RSAPrivateKey.java,
8391         java/security/interfaces/RSAPublicKey.java:
8392         Cleaned up imports.
8393
8394 2004-05-04  Michael Koch  <konqueror@gmx.de>
8395
8396         * java/nio/ByteBuffer.java,
8397         java/nio/CharBuffer.java,
8398         java/nio/DoubleBuffer.java,
8399         java/nio/FloatBuffer.java,
8400         java/nio/IntBuffer.java,
8401         java/nio/LongBuffer.java,
8402         java/nio/ShortBuffer.java:
8403         (compareTo): Fixed bogus implementation in all buffer classes.
8404
8405 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8406
8407         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8408         32 bit pixels not 8 bit pixels.
8409         (isCompatibleRaster): Added javadoc comment.
8410
8411 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8412
8413         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8414         scanline stride.
8415
8416 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8417
8418         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8419         (getColorModel): Return the actual color model.
8420         (getRaster): Implemented.
8421         (ColorRaster): New inner class.
8422         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8423         a PaintContext.
8424         * java/awt/Color.java (<init>): Make exception more verbose.
8425         (createContext): Use ColorModel when creating a PaintContext.
8426
8427 2004-05-04  Michael Koch  <konqueror@gmx.de>
8428
8429         * gnu/java/text/CharacterBreakIterator.java
8430         (previous): Removed unused variable.
8431
8432 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8433
8434         * gnu/java/text/FormatBuffer.java,
8435         gnu/java/text/AttributedFormatBuffer.java,
8436         gnu/java/text/StringFormatBuffer.java: New classes to implement
8437         attributed iterators in java.text.
8438         * gnu/java/text/FormatCharacterIterator.java: Moved 
8439         from java/text as it is an internal class.
8440         * java/text/FormatCharacterIterator.java: Removed.
8441         * java/text/Format.java:
8442         Import gnu.java.text.FormatCharacterIterator.
8443         * Makefile.am (java_source_files): Added new files.
8444         * Makefile.in: Regenerated.
8445         
8446
8447 2004-05-04  Mark Wielaard  <mark@klomp.org>
8448
8449         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8450
8451 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8452
8453         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8454         * Makefile.in: Rebuilt.
8455
8456 2004-05-03  Mark Wielaard  <mark@klomp.org>
8457
8458         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8459         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8460         * java/net/URL.java
8461         (set(String, String, int, String, String, String, String, String)):
8462         Assign this.file to path or path + "?" + query.
8463         * java/util/Arrays.java: Call static methods staticly.
8464         * java/util/zip/ZipEntry.java: Likewise.
8465         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8466         dir to this.direction.
8467         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8468         Assign static field only once.
8469         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8470
8471 2004-05-03  Mark Wielaard  <mark@klomp.org>
8472
8473         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8474         unused variables hScrollbarHeight and vScrollbarWidth.
8475         (preferredSize): Likewise.
8476         * gnu/java/security/provider/DSAParameters.java (engineToString):
8477         Removed unused call to System.getProperty("line.seperator");
8478         * java/security/Security.java (loadProviders): Return result.
8479
8480 2004-05-03  Tom Tromey  <tromey@redhat.com>
8481
8482         * java/net/URLStreamHandler.java (toExternalForm): Removed
8483         unused variables.
8484         unused constructor.
8485         * java/math/BigDecimal.java (divide): Removed unused variable.
8486         * java/lang/Throwable.java: Cleaned up imports.
8487         * java/lang/ClassLoader.java: Cleaned up imports.
8488         * java/io/FilePermission.java (implies): Removed unused
8489         variable.
8490         * java/awt/TextComponent.java: Removed unused import.
8491         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8492         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8493         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8494         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8495         import.
8496         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8497         * gnu/java/text/CharacterBreakIterator.java: Removed
8498         unused import.
8499         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8500         Cleaned up imports.
8501         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8502         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8503         unused method.
8504         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8505         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8506         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8507         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8508         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8509         (lookupProviders): Removed unused variable.
8510         (loadNextServiceProvider): Likewise.
8511         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8512
8513 2004-05-03  Michael Koch  <konqueror@gmx.de>
8514
8515         Fixes PR libgcj/14695:
8516         * java/net/NetworkInterface.java
8517         (getByName): Return null when no interface was found.
8518
8519 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8520             Tom Tromey  <tromey@redhat.com>
8521
8522         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8523         additional option "-Wmissing-prototypes" for compiling C sources.
8524         Print actual filename for pass/fail rather than $name.c.
8525         * testsuite/libjava.jni/PR15133.java: New testcase file.
8526         * testsuite/libjava.jni/PR15133.c: Likewise.
8527         * testsuite/libjava.jni/PR15133.out: Likewise.
8528
8529 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8530
8531         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8532         ceil and floor.
8533
8534 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8535         
8536         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8537         limit the maximum heap size to avoid unnecessary thrashing.
8538
8539 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8540
8541         * java/text/CollationElementIterator.java (reset): Reset
8542         lookahead variables.
8543
8544 2004-04-23  Mark Wielaard  <mark@klomp.org>
8545
8546         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8547
8548 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8549
8550         * java/sql/DriverManager.java:
8551         Cleaned up imports.
8552
8553 2004-04-23  Michael Koch  <konqueror@gmx.de>
8554
8555         * java/net/URL.java
8556         (hashcode): Don't initialize with default value explicitely.
8557         (getContent): Removed redundant "final" keyword.
8558         (openStream): Likewise.
8559         (getURLStreamHandler): Fixed coding style.
8560         * java/net/URLConnection.java
8561         (defaultAllowUserInteraction): Don't initialize with default value
8562         explicitely.
8563         (connected): Likewise.
8564         (doOutput): Likewise.
8565         (ifModifiedSince): Likewise.
8566         (dateformats_initialized): Likewise.
8567         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8568
8569 2004-04-23  Michael Koch  <konqueror@gmx.de>
8570
8571         * gnu/java/nio/channels/FileChannelImpl.java
8572         (SET, CUR): Unused, removed.
8573         (read): Implement here directly.
8574         (implRead): Removed.
8575         (write): Implement here directly.
8576         (implWrite): Removed.
8577
8578 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8579
8580         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8581         javax/rmi/CORBA/Stub.java,
8582         javax/rmi/CORBA/Util.java,
8583         javax/rmi/CORBA/ValueHandler.java,
8584         javax/rmi/CORBA/ValueHandler.java,
8585         javax/rmi/PortableRemoteObject.java:
8586         Cleaned up imports.
8587
8588 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8589
8590         * java/util/jar/JarFile.java,
8591         java/util/jar/JarInputStream.java,
8592         java/util/jar/JarOutputStream.java,
8593         java/util/jar/Manifest.java:
8594         Cleaned up imports.
8595
8596 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8597
8598         * java/util/ArrayList.java,
8599         java/util/Calendar.java,
8600         java/util/Currency.java,
8601         java/util/HashMap.java,
8602         java/util/HashSet.java,
8603         java/util/Hashtable.java,
8604         java/util/LinkedList.java,
8605         java/util/Properties.java,
8606         java/util/PropertyPermission.java,
8607         java/util/TimeZone.java,
8608         java/util/TreeMap.java,
8609         java/util/TreeSet.java,
8610         java/util/Vector.java,
8611         java/util/WeakHashMap.java:
8612         Cleaned up imports.
8613
8614 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8615
8616         * java/util/logging/FileHandler.java,
8617         java/util/logging/Formatter.java,
8618         java/util/logging/Handler.java,
8619         java/util/logging/Logger.java,
8620         java/util/logging/SimpleFormatter.java,
8621         java/util/logging/XMLFormatter.java:
8622         Cleaned up imports.
8623
8624 2004-04-22  Mark Wielaard  <mark@klomp.org>
8625
8626         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8627         -Wno-long-long flags variable.
8628         (gtk_c_files): Use PEDANTIC_CFLAGS.
8629         * Makefile.in: Regenerated.
8630
8631 2004-04-22  Mark Wielaard  <mark@klomp.org>
8632
8633         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8634         Changed C++ comments into C comments.
8635         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8636         Likewise.
8637
8638 2004-04-22  Michael Koch  <konqueror@gmx.de>
8639
8640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8641         Merged copyright year with GNU classpath.
8642
8643 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8644
8645         * javax/security/auth/x500/X500Principal.java:
8646         Cleaned up imports.
8647
8648 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8649
8650         * javax/swing/JSlider.java:
8651         Fixed HTML tags in comments.
8652
8653 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8654
8655         * javax/accessibility/AccessibleText.java:
8656         Cleaned up imports.
8657
8658 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8659
8660         * java/net/URLStreamHandler.java
8661         (parseURL): Convert the file path to using '/' instead of native
8662         file separator.
8663
8664 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8665
8666         * java/net/URL.java
8667         (userInfo): New field.
8668         (URL): Set authority to the right value.
8669         (setURL): Fixed authority and file initialization.
8670         * java/net/URLStreamHandler.java
8671         (parseURL): Take care of the query tag. Build authority.
8672         (toExternalForm): Fixed URL building using authority.
8673
8674 2004-04-22  Michael Koch  <konqueror@gmx.de>
8675
8676         * java/net/Socket.java
8677         (impl): Made package-private.
8678         * java/net/ServerSocket.java
8679         (implAccept): Access Socket.impl field directly.
8680
8681 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8682
8683         * java/util/prefs/Preferences.java,
8684         java/util/prefs/InvalidPreferencesFormatException.java,
8685         java/util/prefs/BackingStoreException.java,
8686         java/util/prefs/AbstractPreferences.java:
8687         Cleaned up imports.
8688
8689 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8690
8691         * java/util/regex/Matcher.java,
8692         java/util/regex/Pattern.java:
8693         Cleaned up imports.
8694
8695 2004-04-22  Michael Koch  <konqueror@gmx.de>
8696
8697         * java/nio/charset/IllegalCharsetNameException.java
8698         (charsetName): Made private.
8699         (IllegalCharsetNameException): Added @param tag to javadoc.
8700         (getCharsetName): Added @return tag to javadoc.
8701         * java/nio/charset/MalformedInputException.java
8702         (MalformedInputException): Added @param tag to javadoc.
8703         (getInputLength): Revised method description, added @return tag.
8704         (getMessage): Added @return tag.
8705
8706 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8707
8708         * java/awt/Font.java (deriveFont): Implement missing variants.
8709         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8710         missing variants.
8711
8712 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8713
8714         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8715         Set method->index values for interface methods to their itable index.
8716         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8717
8718 2004-04-21  Michael Koch  <konqueror@gmx.de>
8719
8720         * java/nio/DirectByteBufferImpl.java
8721         (shiftDown): Made static, give address as argument and
8722         provide a convenience method that overwrites shiftDown in
8723         ByteBufferImpl and calls the native shiftDown.
8724         * java/nio/MappedByteBufferImpl.java
8725         (): Use optimized method in DirectByteBufferImpl.
8726         * java/nio/natDirectByteBufferImpl.cc
8727         (shiftDown): Changed method signature. Removed usage of array_offset.
8728
8729 2004-04-21  Michael Koch  <konqueror@gmx.de>
8730
8731         * gnu/java/net/natPlainSocketImplPosix.cc
8732         (SocketInputStream::read): Make sure returned data is a byte value.
8733
8734 2004-04-21  Michael Koch  <konqueror@gmx.de>
8735
8736         * gnu/classpath/ServiceFactory.java,
8737         gnu/classpath/ServiceProviderLoadingAction.java,
8738         javax/imageio/ImageReader.java,
8739         javax/imageio/ImageTranscoder.java,
8740         javax/imageio/ImageWriter.java,
8741         javax/imageio/package.html,
8742         javax/imageio/spi/IIOServiceProvider.java,
8743         javax/imageio/spi/ImageInputStreamSpi.java,
8744         javax/imageio/spi/ImageOutputStreamSpi.java,
8745         javax/imageio/spi/ImageReaderWriterSpi.java,
8746         javax/imageio/spi/ImageTranscoderSpi.java,
8747         javax/imageio/spi/RegisterableService.java,
8748         javax/imageio/spi/ServiceRegistry.java,
8749         javax/imageio/spi/package.html,
8750         javax/imageio/stream/IIOByteBuffer.java,
8751         javax/imageio/stream/ImageInputStream.java,
8752         javax/imageio/stream/ImageOutputStream.java,
8753         javax/imageio/stream/package.html:
8754         New files.
8755         * Makefile.am
8756         (ordinary_java_source_files): Added
8757         gnu/classpath/ServiceFactory.java and
8758         gnu/classpath/ServiceProviderLoadingAction.java.
8759         (javax_source_files): Added
8760         javax/imageio/ImageReader.java,
8761         javax/imageio/ImageTranscoder.java,
8762         javax/imageio/ImageWriter.java,
8763         javax/imageio/spi/IIOServiceProvider.java,
8764         javax/imageio/spi/ImageInputStreamSpi.java,
8765         javax/imageio/spi/ImageOutputStreamSpi.java,
8766         javax/imageio/spi/ImageReaderWriterSpi.java,
8767         javax/imageio/spi/ImageTranscoderSpi.java,
8768         javax/imageio/spi/RegisterableService.java,
8769         javax/imageio/spi/ServiceRegistry.java,
8770         javax/imageio/stream/IIOByteBuffer.java,
8771         javax/imageio/stream/ImageInputStream.java and
8772         javax/imageio/stream/ImageOutputStream.java.
8773         * Makefile.in: Regenerated.
8774
8775 2004-04-21  Michael Koch  <konqueror@gmx.de>
8776
8777         * java/util/Properties.java
8778         (load): Fix wrongly merged fix.
8779
8780 2004-04-21  Mark Wielaard  <mark@klomp.org>
8781
8782         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8783         malloc and free buf.
8784
8785 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8786
8787         * javax/naming/AuthenticationException.java,
8788         javax/naming/AuthenticationNotSupportedException.java,
8789         javax/naming/CannotProceedException.java,
8790         javax/naming/CommunicationException.java,
8791         javax/naming/CompoundName.java,
8792         javax/naming/ConfigurationException.java,
8793         javax/naming/ContextNotEmptyException.java,
8794         javax/naming/InitialContext.java,
8795         javax/naming/InsufficientResourcesException.java,
8796         javax/naming/InterruptedNamingException.java,
8797         javax/naming/LimitExceededException.java,
8798         javax/naming/LinkException.java,
8799         javax/naming/LinkLoopException.java,
8800         javax/naming/LinkRef.java,
8801         javax/naming/MalformedLinkException.java,
8802         javax/naming/Name.java,
8803         javax/naming/NameAlreadyBoundException.java,
8804         javax/naming/NameNotFoundException.java,
8805         javax/naming/NamingSecurityException.java,
8806         javax/naming/NoInitialContextException.java,
8807         javax/naming/NoPermissionException.java,
8808         javax/naming/NotContextException.java,
8809         javax/naming/PartialResultException.java,
8810         javax/naming/ReferralException.java,
8811         javax/naming/ServiceUnavailableException.java,
8812         javax/naming/SizeLimitExceededException.java,
8813         javax/naming/TimeLimitExceededException.java,
8814         javax/naming/directory/Attribute.java,
8815         javax/naming/directory/Attributes.java,
8816         javax/naming/directory/SearchResult.java,
8817         javax/naming/event/NamingExceptionEvent.java,
8818         javax/naming/spi/ResolveResult.java:
8819         Cleaned up imports.
8820
8821 2004-04-21  Mark Wielaard  <mark@klomp.org>
8822
8823         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8824         Changed C++ comments into C comments. Removed commented out code.
8825         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8826         Likewise.
8827         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8828         Likewise.
8829         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8830         Likewise.
8831         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8832         Likewise.
8833         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8834         Likewise.
8835         * native/jni/gtk-peer/gthread-jni.c:
8836         Likewise.
8837
8838 2004-04-21  Mark Wielaard  <mark@klomp.org>
8839
8840         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8841         static fields defined in interface.
8842         * javax/awt/JDialog.java: Likewise.
8843         (JDialog): Make constructors public.
8844         (getDefaultCloseOperation): Make public.
8845         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8846         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8847         * javax/swing/JViewport.java (JViewport): Make constructor public.
8848
8849 2004-04-21  Michael Koch  <konqueror@gmx.de>
8850
8851         * java/util/Map.java
8852         (Entry): Removed redundant "static" modifier.
8853         * java/text/AttributedCharacterIterator.java:
8854         Updated copyright year.
8855
8856 2004-04-20  Michael Koch  <konqueror@gmx.de>
8857
8858         * javax/naming/directory/SearchControls.java:
8859         Don't explicitely extend java.lang.Object.
8860         * javax/naming/spi/DirStateFactory.java:
8861         Merged copyright year with GNU classpath.
8862
8863 2004-04-20  Michael Koch  <konqueror@gmx.de>
8864
8865         * java/nio/channels/Channels.java:
8866         Merged coding style with GNU classpath.
8867
8868 2004-04-20  Michael Koch  <konqueror@gmx.de>
8869
8870         * java/net/ServerSocket.java
8871         Merged coding style from GNU classpath.
8872
8873 2004-04-20  Michael Koch  <konqueror@gmx.de>
8874
8875         * java/io/BufferedWriter.java:
8876         Reordered variables to be at top of the class.
8877         (localFlush): Removed redundant final keyword.
8878
8879 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8880
8881         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8882
8883 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8884
8885         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8886         for percent and permill check.
8887
8888 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8889
8890         * java/text/FieldPosition.java
8891         (FieldPosition) Constructor now behaves as it should according
8892         to the java documentation.
8893
8894 2004-04-20  Mark Wielaard  <mark@klomp.org>
8895
8896         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8897         documentation.
8898
8899 2004-04-20  Michael Koch  <konqueror@gmx.de>
8900
8901         * java/nio/Buffer.java,
8902         java/nio/channels/AlreadyConnectedException.java,
8903         java/nio/channels/AsynchronousCloseException.java,
8904         java/nio/channels/ByteChannel.java,
8905         java/nio/channels/CancelledKeyException.java,
8906         java/nio/channels/Channel.java,
8907         java/nio/channels/Channels.java,
8908         java/nio/channels/ClosedByInterruptException.java,
8909         java/nio/channels/ClosedChannelException.java,
8910         java/nio/channels/ClosedSelectorException.java,
8911         java/nio/channels/ConnectionPendingException.java,
8912         java/nio/channels/DatagramChannel.java,
8913         java/nio/channels/FileChannel.java,
8914         java/nio/channels/FileLock.java,
8915         java/nio/channels/FileLockInterruptionException.java,
8916         java/nio/channels/GatheringByteChannel.java,
8917         java/nio/channels/IllegalBlockingModeException.java,
8918         java/nio/channels/IllegalSelectorException.java,
8919         java/nio/channels/InterruptibleChannel.java,
8920         java/nio/channels/NoConnectionPendingException.java,
8921         java/nio/channels/NonReadableChannelException.java,
8922         java/nio/channels/NonWritableChannelException.java,
8923         java/nio/channels/NotYetBoundException.java,
8924         java/nio/channels/NotYetConnectedException.java,
8925         java/nio/channels/OverlappingFileLockException.java,
8926         java/nio/channels/Pipe.java,
8927         java/nio/channels/ReadableByteChannel.java,
8928         java/nio/channels/ScatteringByteChannel.java,
8929         java/nio/channels/SelectableChannel.java,
8930         java/nio/channels/SelectionKey.java,
8931         java/nio/channels/Selector.java,
8932         java/nio/channels/ServerSocketChannel.java,
8933         java/nio/channels/SocketChannel.java,
8934         java/nio/channels/UnresolvedAddressException.java,
8935         java/nio/channels/UnsupportedAddressTypeException.java,
8936         java/nio/channels/WritableByteChannel.java,
8937         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8938         java/nio/channels/spi/AbstractSelectableChannel.java,
8939         java/nio/channels/spi/AbstractSelectionKey.java,
8940         java/nio/channels/spi/AbstractSelector.java,
8941         java/nio/channels/spi/SelectorProvider.java,
8942         java/nio/charset/spi/CharsetProvider.java:
8943         Fixed javadocs and jalopied all over java.nio.
8944
8945 2004-04-20  Michael Koch  <konqueror@gmx.de>
8946
8947         * java/nio/ByteBufferImpl.java,
8948         java/nio/CharBufferImpl.java,
8949         java/nio/DirectByteBufferImpl.java,
8950         java/nio/DoubleBufferImpl.java,
8951         java/nio/DoubleViewBufferImpl.java,
8952         java/nio/FloatBufferImpl.java,
8953         java/nio/FloatViewBufferImpl.java,
8954         java/nio/IntBufferImpl.java,
8955         java/nio/IntViewBufferImpl.java,
8956         java/nio/LongBufferImpl.java,
8957         java/nio/LongViewBufferImpl.java,
8958         java/nio/MappedByteBufferImpl.java,
8959         java/nio/ShortBufferImpl.java,
8960         java/nio/ShortViewBufferImpl.java:
8961         Made sure all classes are final and removed final keyword from all
8962         methods.
8963
8964 2004-04-20  Michael Koch  <konqueror@gmx.de>
8965
8966         * java/rmi/MarshalledObject.java,
8967         java/rmi/Naming.java,
8968         java/rmi/RemoteException.java,
8969         java/rmi/activation/ActivationException.java,
8970         java/rmi/server/ServerCloneException.java,
8971         java/security/AccessController.java,
8972         java/security/AlgorithmParameterGenerator.java,
8973         java/security/AlgorithmParameters.java,
8974         java/security/CodeSource.java,
8975         java/security/Identity.java,
8976         java/security/IdentityScope.java,
8977         java/security/KeyPairGenerator.java,
8978         java/security/KeyStore.java,
8979         java/security/Security.java,
8980         java/security/Signature.java,
8981         java/security/SignatureSpi.java,
8982         java/security/SignedObject.java,
8983         java/security/spec/DSAParameterSpec.java,
8984         java/security/spec/DSAPrivateKeySpec.java,
8985         java/security/spec/DSAPublicKeySpec.java,
8986         java/sql/Array.java,
8987         java/sql/DatabaseMetaData.java,
8988         java/sql/ResultSet.java,
8989         java/text/ChoiceFormat.java,
8990         java/text/CollationElementIterator.java,
8991         java/text/CollationKey.java,
8992         java/text/Collator.java,
8993         java/text/DateFormat.java,
8994         java/text/DateFormatSymbols.java,
8995         java/text/DecimalFormatSymbols.java,
8996         java/text/Format.java,
8997         java/text/ParsePosition.java,
8998         java/text/RuleBasedCollator.java,
8999         java/text/SimpleDateFormat.java,
9000         java/text/StringCharacterIterator.java,
9001         java/util/Collections.java,
9002         java/util/PropertyResourceBundle.java,
9003         java/util/ResourceBundle.java,
9004         java/util/StringTokenizer.java,
9005         java/util/jar/Attributes.java,
9006         java/util/logging/ConsoleHandler.java,
9007         java/util/logging/LogManager.java,
9008         java/util/logging/MemoryHandler.java,
9009         java/util/logging/SocketHandler.java,
9010         javax/naming/NamingException.java:
9011         Fixed javadoc, coding style and argument names all over.
9012
9013 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
9014
9015         * java/io/FileDescriptor.java: (FileDescriptor) Added public
9016         constructor. (valid) Added null check.
9017
9018 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
9019
9020         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
9021         * java/io/FileOutputStream.java
9022         (FileOutputStream) Reorganized constructors. Constructors now
9023         check whether the given path is directory.
9024
9025 2004-04-20  Michael Koch  <konqueror@gmx.de>
9026
9027         * java/net/Authenticator.java,
9028         java/net/BindException.java,
9029         java/net/ConnectException.java,
9030         java/net/ContentHandler.java,
9031         java/net/ContentHandlerFactory.java,
9032         java/net/DatagramPacket.java,
9033         java/net/DatagramSocket.java,
9034         java/net/DatagramSocketImpl.java,
9035         java/net/DatagramSocketImplFactory.java,
9036         java/net/FileNameMap.java,
9037         java/net/HttpURLConnection.java,
9038         java/net/Inet4Address.java,
9039         java/net/Inet6Address.java,
9040         java/net/InetAddress.java,
9041         java/net/InetSocketAddress.java,
9042         java/net/JarURLConnection.java,
9043         java/net/MalformedURLException.java,
9044         java/net/MulticastSocket.java,
9045         java/net/NetPermission.java,
9046         java/net/NetworkInterface.java,
9047         java/net/NoRouteToHostException.java,
9048         java/net/PasswordAuthentication.java,
9049         java/net/PortUnreachableException.java,
9050         java/net/ProtocolException.java,
9051         java/net/ServerSocket.java,
9052         java/net/Socket.java,
9053         java/net/SocketAddress.java,
9054         java/net/SocketException.java,
9055         java/net/SocketImpl.java,
9056         java/net/SocketImplFactory.java,
9057         java/net/SocketOptions.java,
9058         java/net/SocketPermission.java,
9059         java/net/SocketTimeoutException.java,
9060         java/net/URI.java,
9061         java/net/URISyntaxException.java,
9062         java/net/URL.java,
9063         java/net/URLClassLoader.java,
9064         java/net/URLConnection.java,
9065         java/net/URLDecoder.java,
9066         java/net/URLEncoder.java,
9067         java/net/URLStreamHandler.java,
9068         java/net/URLStreamHandlerFactory.java,
9069         java/net/UnknownHostException.java,
9070         java/net/UnknownServiceException.java:
9071         Fixed javadocs, coding style and argument names all over.
9072
9073 2004-04-20  Michael Koch  <konqueror@gmx.de>
9074
9075         * java/lang/Byte.java,
9076         java/lang/CharSequence.java,
9077         java/lang/ClassLoader.java,
9078         java/lang/Compiler.java,
9079         java/lang/Double.java,
9080         java/lang/Float.java,
9081         java/lang/Integer.java,
9082         java/lang/Long.java,
9083         java/lang/Math.java,
9084         java/lang/Number.java,
9085         java/lang/Package.java,
9086         java/lang/Runtime.java,
9087         java/lang/RuntimePermission.java,
9088         java/lang/SecurityManager.java,
9089         java/lang/Short.java,
9090         java/lang/StringBuffer.java,
9091         java/lang/System.java,
9092         java/lang/ThreadGroup.java,
9093         java/lang/Throwable.java,
9094         java/lang/reflect/InvocationHandler.java,
9095         java/lang/reflect/Proxy.java:
9096         Fixed javadocs, coding style and argument names all over.
9097
9098 2004-04-20  Michael Koch  <konqueror@gmx.de>
9099
9100         * java/io/BufferedWriter.java,
9101         java/io/ByteArrayInputStream.java,
9102         java/io/CharArrayWriter.java,
9103         java/io/DataInput.java,
9104         java/io/DataInputStream.java,
9105         java/io/File.java,
9106         java/io/FilterInputStream.java,
9107         java/io/InputStream.java,
9108         java/io/InputStreamReader.java,
9109         java/io/ObjectInputStream.java,
9110         java/io/ObjectStreamClass.java,
9111         java/io/PipedInputStream.java,
9112         java/io/PipedReader.java,
9113         java/io/PushbackInputStream.java,
9114         java/io/PushbackReader.java,
9115         java/io/RandomAccessFile.java,
9116         java/io/SerializablePermission.java,
9117         java/io/StreamTokenizer.java,
9118         java/io/StringWriter.java,
9119         java/io/WriteAbortedException.java,
9120         java/io/Writer.java:
9121         Fixed javadocs all over, rename arguments to match javadocs,
9122         fixed coding style.
9123
9124 2004-04-20  Ingo Proetel  <proetel@aicas.com>
9125
9126         * java/awt/FontMetrics.java:
9127         (charsWidth): fixed accumulation of total_width
9128         (getWidth): simple default implementation
9129         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9130         in Rectangle constructor.
9131         * java/awt/image/Raster.java (toString): Added method. 
9132         * java/awt/image/SampleModel.java (<init>): Added error cause
9133         information to thrown exception.
9134         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9135         New method.
9136         (setDataElements): New method.
9137         (setPixels): New method.
9138         (toString): New method.
9139
9140 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9141
9142         * java/awt/image/ComponentColorModel.java
9143         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9144         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9145         Mauve tests on this method. Improved documentation.
9146
9147 2004-04-20  Michael Koch  <konqueror@gmx.de>
9148
9149         * javax/swing/JLayeredPane.java,
9150         javax/swing/plaf/BorderUIResource.java,
9151         javax/swing/plaf/ComponentUI.java,
9152         javax/swing/undo/CompoundEdit.java,
9153         javax/swing/undo/StateEdit.java:
9154         Fixed HTML tags in javadocs all over.
9155
9156 2004-04-20  Michael Koch  <konqueror@gmx.de>
9157
9158         * javax/print/attribute/EnumSyntax.java
9159         (getOffset): Made protected.
9160         * javax/print/attribute/HashAttributeSet.java
9161         (HashAttributeSet): Likewise.
9162         * javax/print/attribute/ResolutionSyntax.java
9163         (getFeedResolution): Fixed typo in exception name.
9164         (getCrossFeedResolution): Likewise.
9165         * javax/print/attribute/SetOfIntegerSyntax.java
9166         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9167         * javax/print/attribute/TextSyntax.java
9168         (TextSyntax): Handle locale correctly.
9169         (hashCode): Calc better hashcode value.
9170         (equals): Fixed @return tag.
9171         (toString): New method.
9172
9173 2004-04-20  Michael Koch  <konqueror@gmx.de>
9174
9175         * gnu/java/nio/FileLockImpl.java
9176         (static): Removed, not needed anymore.
9177         * gnu/java/nio/channels/FileChannelImpl.java
9178         (FileChannelImpl): Made final.
9179         (mode): Made private.
9180         (READ, WRITE, APPEND): Made public.
9181         (EXCL, SYNC, DSYNC): Likewise.
9182         (static): Load native JNI library, when needed.
9183         (length): Unused, removed.
9184         (available): Made public.
9185         (implPosition): Throws IOException.
9186         (seek): Likewise.
9187         (implTruncate): Likewise.
9188         (unlock): Likewise.
9189         (lock): Likewise.
9190
9191 2004-04-20  Michael Koch  <konqueror@gmx.de>
9192
9193         * java/awt/AWTPermission.java,
9194         java/awt/Component.java,
9195         java/awt/ComponentOrientation.java,,
9196         java/awt/Dialog.java,
9197         java/awt/FontMetrics.java,
9198         java/awt/Graphics.java,
9199         java/awt/datatransfer/DataFlavor.java,
9200         java/beans/Introspector.java,
9201         java/beans/PropertyEditor.java,
9202         java/beans/PropertyEditorManager.java,
9203         java/beans/beancontext/BeanContextServiceProvider.java:
9204         Fixed HTML tags in javadocs all over.
9205
9206 2004-04-20  Mark Wielaard  <mark@klomp.org>
9207
9208         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9209         MissingResourceException is thrown.
9210         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9211         null when a MissingResourceException is thrown. Should never happen.
9212
9213 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9214
9215         * java/awt/image/DataBufferShort.java,
9216         java/awt/image/DataBufferFloat.java,
9217         java/awt/image/DataBufferDouble.java,
9218         java/awt/image/PixelInterleavedSampleModel.java: New files.
9219         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9220         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9221
9222 2004-04-20  Michael Koch  <konqueror@gmx.de>
9223
9224         * Makefile.am (java_source_files): Added
9225         java/awt/image/DataBufferDouble.java,
9226         java/awt/image/DataBufferFloat.java,
9227         java/awt/image/DataBufferShort.java and
9228         java/awt/image/PixelInterleavedSampleModel.java.
9229         * Makefile.in: Regenerated.
9230
9231 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
9232  
9233         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
9234         undocumented CNI calls.
9235         * include/java-interp.h (_Jv_InterpClass): No longer
9236         extends java.lang.Class.
9237         * java/lang/Class.h (Class): Add new field `aux_info'.
9238         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9239         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9240         Use Class->aux_info instead.
9241         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9242         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9243         Use Class->aux_info instead.
9244         * java/io/natObjectInputStream.cc (allocateObject): Use
9245         _Jv_AllocObject.
9246         * java/lang/natClass.cc (newInstance): Likewise.
9247         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9248         * java/lang/natObject.cc (clone): Likewise.
9249         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9250         * java/lang/natVMClassLoader.cc (defineClass): Don't use
9251         JvAllocObject. Allocate klass->aux_info here for interpreted
9252         class.
9253         
9254 2004-04-17  Mark Wielaard  <mark@klomp.org>
9255
9256         * javax/swing/JToggleButton.java (ToggleButtonModel):
9257         Make public static inner class.
9258         * javax/swing/JTabbedPane.java (setComponentAt):
9259         Call Page.setComponent().
9260         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9261         (WRAP_TAB_LAYOUT): Make public, value is 0.
9262         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9263         Make private static inner class.
9264
9265 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9266
9267         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9268         arguments to match new signature. Remove FIXME comments.
9269
9270 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9271
9272         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9273         Remove method.
9274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9275         unused code.
9276
9277 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9278
9279         * Makefile.am: Added new file.
9280         * Makefile.in: Regenerate.
9281         * javax/swing/ImageIcon.java: 
9282         (ImageIcon(file)): set description of the icon 
9283         to the file name
9284         * javax/swing/JCheckBoxMenuItem.java:
9285         Mostly Implemented. Work in progress.
9286         * javax/swing/JRadioButtonMenuItem.java:
9287         Reimplement constructors to use JToggleButtonModel.
9288         * javax/swing/plaf/basic/BasicIconFactory.java:
9289         (getCheckBoxMenuItemIcon): return check box
9290         icon.
9291         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9292         paint menu item selected only when it is armed and 
9293         pressed. 
9294  
9295 2004-04-02  David Jee  <djee@redhat.com>
9296
9297         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9298         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9299         * java/awt/Component.java
9300         (add): Set the parent of the popup as this component.
9301         * java/awt/PopupMenu.java
9302         (addNotify): Create popup menu when peer is null.
9303         (show): Call addNotify() if peer is null.
9304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9305         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9306         argument for gtk_menu_popup() as zero. This causes the popup menu to
9307         respond to any mouse button.
9308
9309 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9310
9311         * Makefile.am: Added new file.
9312         * Makefile.in: Regenerate.
9313         * javax/swing/JRadioButtonMenuItem.java:
9314         Implemented.
9315         * javax/swing/plaf/basic/BasicIconFactory.java:
9316         (getRadioButtonMenuItemIcon): Return
9317         radio button icon.
9318         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9319         (getPreferredSize): Add size of checkIcon if it
9320         exists.
9321         (installDefaults): Don't initialize checkIcon.
9322         It's value will be set in subclasses. 
9323         (uninstallDefaults): remove uninstallation of 
9324         checkIcon.
9325         (paint): Moved code to paintMenuItem().
9326         (paintMenuItem): Implemented.
9327         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9328         UI delegate for JRadioButtonMenuItem.
9329         
9330 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9331
9332         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9333         Corrected position of the accelerator.
9334
9335 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9336
9337         * Makefile.am: Added new file. 
9338         * Makefile.in: Regenerate.
9339         * javax/swing/JMenuItem.java: Partly 
9340         implemented. Work in progress
9341         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9342         Changed default value of acceleratorDelimiter.
9343         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9344         New class. Partly implemented.
9345                 
9346 2004-03-26  Mark Wielaard  <mark@klomp.org>
9347
9348         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9349         (item_activate): Declare label before use.
9350         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9351         (gtkSetFont): Removed unused variable label.
9352         (addExposeFilter): Declare variables before use.
9353         (removeExposeFilter): Likewise.
9354         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9355         (ok_clicked): Declare str_fileName before use.
9356
9357 2004-03-26  David Jee  <djee@redhat.com>
9358
9359         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9360         (addSeparator): Remove.
9361         * java/awt/Menu.java
9362         (separator): Remove static final MenuItem field.
9363         (separatorLabel): New static final String field.
9364         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9365         Use separatorLabel to denote that it is a separator.
9366         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9367         of reusing the static separator instance, because a MenuItem instance
9368         can't be added more than once without being cloned.
9369         * java/awt/peer/MenuPeer.java
9370         (addSeparator): Remove from interface.
9371
9372 2004-03-26  David Jee  <djee@redhat.com>
9373
9374         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9375         (connectSignals): New native method declaration.
9376         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9377         * java/awt/MenuItem.java
9378         (getActionCommand): Return the label if the action command is not set.
9379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9380         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9381         gtk_menu_shell_append().
9382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9383         (item_activate): Fix argument type.
9384         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9385         signal here.
9386         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9387         method.
9388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9389         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9390         given. Add the menu widget's top-level GtkWindow to the global window
9391         group, so it can grab the pointer.
9392         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9393         gtk_menu_shell_append().
9394
9395 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9396
9397         * java/text/AttributedString.java 
9398         (addAttribute): Fix off-by-one.
9399         (getIterator): Likewise.        
9400         * java/text/AttributedStringIterator.java 
9401         (getRunLimit): Correct logic.
9402         (getRunStart): Likewise.
9403         (getAttribute): Fix inequality.
9404         (getAttributes): Likewise.
9405         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9406
9407 2004-03-23  Kim Ho  <kho@redhat.com>
9408
9409         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9410         (calculateSizes): Return real width and height.
9411
9412 2004-03-23  Kim Ho  <kho@redhat.com>
9413
9414         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9415         (calculateTabRects): Set the selectedRun before
9416         trying to rotate tabs.
9417
9418 2004-03-23  Kim Ho  <kho@redhat.com>
9419
9420         * Makefile.am: New file
9421         * Makefile.in: Regenerate
9422         * java/awt/Graphics.java: (drawRect):
9423         Draw to the correct point.
9424         * javax/swing/DefaultSingleSelectionModel.java
9425         (isSelected): Return true if the selected index
9426         is not -1.
9427         * javax/swing/JLabel.java: Do not change mnemonic
9428         index if text is null.
9429         * javax/swing/JProgressBar.java: Use JComponent's
9430         EventListenerList.
9431         * javax/swing/JScrollBar.java: Ditto.
9432         * javax/swing/JSlider.java: Ditto.
9433         * javax/swing/JTabbedPane.java: Reimplement.
9434         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9435         Add defaults for TabbedPane.
9436         * javax/swing/plaf/basic/BasicArrowButton.java:
9437         Implement
9438         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9439         (paintDeterminate): Don't paint String if it's
9440         empty.
9441         (paintIndeterminate): ditto.
9442         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9443         Reimplement.
9444
9445 2004-03-19  Michael Koch  <konqueror@gmx.de>
9446
9447         * java/awt/image/AffineTransformOp.java
9448         (AffineTransformOp): Made public.
9449         * javax/swing/JComponent.java
9450         (listenerList): Made protected.
9451         (accessibleContext): Likewise.
9452         * javax/swing/JList.java
9453         (valueChanged): Dont use internal fields of ListSelectionEvent.
9454         * javax/swing/JViewport.java
9455         (getView): Dont use internal fields of Component.
9456         (addImpl): Likewise.
9457         * javax/swing/Timer.java
9458         (isRunning): Made public.
9459         (start): Likewise.
9460         (stop): Likewise.
9461         * javax/swing/UIDefaults.java
9462         (getInt): Made public.
9463         * javax/swing/plaf/basic/BasicListUI.java
9464         (mousePressed): Dont use internal fields of MouseEvent.
9465         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9466         * javax/swing/plaf/basic/BasicScrollBarUI.java
9467         (arrowIcon): Made static.
9468         * javax/swing/plaf/basic/BasicViewportUI.java
9469         (stateChanged): Dont use internal field on ChangeEvent.
9470         * javax/swing/text/JTextComponent.java
9471         (getUI): Call UIManager.getUI().
9472         (updateUI): Use getUI().
9473
9474 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9475
9476         * javax/swing/JComponent.java: Turn off double buffer by default.
9477         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9479         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9480         Use cairo to copy areas.
9481         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9482         Initialize and set clip region.
9483
9484 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9485
9486         * java/applet/Applet.java (preferredSize): Override deprecated
9487         variant of getPreferredSize.
9488         (minimumSize): Override deprecated variant of getMinimumSize.
9489
9490 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9491
9492         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9493         (drawImage(img,xform,bgcolor,obs)): New Method.
9494         Helper function that every drawImage method will
9495         use.
9496         (drawRaster): Added new parameter, bgcolor. All
9497         transparent pixels are changed to bgcolor before 
9498         image is drawn.
9499         (drawRenderedImage): Fixed to use changed drawRaster().
9500         (drawImage(image,xform,obs): Fixed to use new helper function 
9501         (drawImage(image,op,x,y)): Ditto.
9502         (drawImage (img,x,y,observer)): Ditto.
9503         ((PainterThread) bgcolor): New Field.
9504         ((PainterThread) (setPixels)): Changed all transparent pixels 
9505         to bgcolor.     
9506         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9507         Fixed FIXME - all the transparent pixels are 
9508         changed to the specified bgcolor. 
9509         (drawImage(img, x, y, width, height, observer): Changed to 
9510         use function above.
9511         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9512         Fixed FIXME- changed all transparent pixels to bgcolor.
9513         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9514         Changed to use function above. 
9515
9516 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9517
9518         * java/applet/Applet.java (dimensions): New field.
9519         (getDimensions): New method.
9520         (getPreferredSize): Call getDimensions.
9521         (getMinimumSize): Likewise.
9522
9523 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9524
9525         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9526         * jni/classpath/jnilink.c: Likewise.
9527
9528         * java/applet/Applet.java (getPreferredSize): New method.
9529         (getMinimumSize): New method.
9530
9531 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9532
9533         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9534         (_Jv_AllocObjectNoFinalizer): Likewise.
9535         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9536         (_Jv_AllocPtrFreeObject): Likewise.
9537         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9538         directly even in the JVMPI case.        
9539         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9540         _Jv_AllocObject calls.
9541         * gcj/javaprims.h: Update prototypes.
9542         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9543         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9544         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9545
9546 2004-04-14  Andrew Haley  <aph@redhat.com>
9547             Bryce McKinlay  <mckinlay@redhat.com>
9548
9549         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9550         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9551         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9552
9553         * testsuite/libjava.lang/InvokeInterface.java: New file.
9554         * testsuite/libjava.lang/InvokeInterface.out: New file.
9555
9556 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9557         
9558         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9559         modified lookup().
9560         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9561         StackTraceElement directly.
9562         (newElement): New native helper method to create StackTraceElement
9563         bypassing Java access control.
9564         (createStackTraceElement): Use newElement() instead of directly
9565         calling StackTraceElement's constructor.
9566         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9567
9568 2004-04-01  Michael Koch  <konqueror@gmx.de>
9569
9570         * java/lang/SecurityManager.java
9571         (checkAwtEventQueueAccess): Implemented.
9572
9573 2004-04-01  Gary Benson  <gbenson@redhat.com>
9574
9575         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9576         (_Jv_SearchMethodInClass): Likewise.
9577
9578 2004-03-26  Peter Moon  <peterm@miraculum.com>
9579
9580         * java/text/NumberFormat.java: Fix spelling of setCurrency
9581         method.
9582
9583 2004-03-21  Anthony Green  <green@redhat.com>
9584
9585         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9586         recursion when searching for the system ClassLoader.
9587
9588 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9589
9590         * java/net/ServerSocket.java
9591         (accept): Close the socket when error occured.
9592
9593 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9594
9595         * java/net/URI.java (parseURI): Added unquoting.
9596         (unquote): New method.
9597         (quoteAuthority): Implemented.
9598         (quote(String,String)): New method.
9599         (quotePath): Implemented.
9600         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9601         (getSchemeSpecificPart): Removed FIXME comment.
9602         (getRawAuthority): Return new rawAuthority field.
9603         (getAuthority): Removed FIXME comment.
9604         (getRawUserInfo): Return new rawUserInfo field.
9605         (getUserInfo): Removed FIXME comment.
9606         (getRawPath): Return new rawPath field.
9607         (getPath): Removed FIXME comment.
9608         (getRawQuery): Return new rawQuery field.
9609         (getQuery): Removed FIXME comment.
9610         (getRawFragment): Return new rawFragment field.
9611         (getFragment): Removed FIXME comment.
9612
9613 2004-03-20  Michael Koch  <konqueror@gmx.de>
9614
9615         * java/net/URLConnection.java: Merged copyright year with classpath.
9616
9617 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9618
9619         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9620         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9621         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9622         rmi-message.
9623         (getObjectInputStream): Return object reference, throw IOException if null.
9624         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9625         (getObjectOutputStream): Return object reference, throw IOException if null.
9626         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9627         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9628         (UnicastConnectionManager): Throw RemoteException if port is not available.
9629         (getInstance): Throw RemoteException.
9630         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9631         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9632         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9633         Collect Exceptions which are returned by a rmi-call and fix void returns.
9634         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9635         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9636         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9637         (dispatch): Answer ping messages which are sent by other java implementions.
9638         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9639         for every rmi-message and fix void return problems.
9640         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9641         (UnicastServerRef): Throw RemoteException.
9642         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9643         In some situations it is necessary to export a subclass of the class which has the _Stub.
9644         For instance when the class with has the _Stub is abstract.
9645         (findStubSkelClass): New method which looks for the class which has the _Stub.
9646         (getClientHost): Implementated.
9647         * gcc/libjava/java/rmi/server/RemoteServer.java
9648         (getClientHost): Implementated.
9649         * gcc/libjava/Makefile.am (rmi_java_source_files):
9650         Added gnu/java/rmi/server/RMIIncomingThread.java.
9651         * Makefile.in: Regenerated.
9652
9653 2004-03-20  Michael Koch  <konqueror@gmx.de>
9654
9655         * java/net/InetAddress.java
9656         (getLocalHostname): Added javadoc.
9657
9658 2004-03-19  Per Bothner  <per@bothner.com>
9659
9660         * configure.in: FILE variable  overrides FLATFORM when linking
9661         natFileChannelXXX.cc.
9662
9663         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9664         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9665
9666 2004-03-19  Per Bothner  <per@bothner.com>
9667
9668         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9669         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9670         * Makefile.am:  Update accordingly.
9671         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9672         as aliases for UnicodeLittle and UnicodeBig.
9673
9674 2004-03-20  Mark Wielaard  <mark@klomp.org>
9675
9676         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9677         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9678         Don't access ws when it is null.
9679         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9680         Likewise.
9681
9682 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9683
9684         * java/lang/ThreadGroup.java (list): Changed print to println.
9685
9686 2004-03-19  Mark Wielaard  <mark@klomp.org>
9687
9688         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9689         happy.
9690
9691 2004-02-10  Randolph Chung  <tausq@debian.org>
9692  
9693         * configure.in: Build java for hppa target.
9694         * configure: Regenerate.
9695         * libjava/configure.host (hppa-*): Add target.
9696         * libjava/sysdeps/pa/lock.h: New file.
9697
9698 2004-03-19  Mark Wielaard  <mark@klomp.org>
9699
9700         Reported by Stephen Crawley
9701         * java/io/FilePermission.java (implies): Use String.length() -1 to
9702         access last char of String.
9703
9704 2004-03-19  Michael Koch  <konqueror@gmx.de>
9705
9706         * java/awt/image/AffineTransformOp.java
9707         (AffineTransformOp): Made public.
9708         * javax/swing/JComponent.java
9709         (listenerList): Made protected.
9710         (accessibleContext): Likewise.
9711         * javax/swing/JList.java
9712         (valueChanged): Dont use internal fields of ListSelectionEvent.
9713         * javax/swing/JViewport.java
9714         (getView): Dont use internal fields of Component.
9715         (addImpl): Likewise.
9716         * javax/swing/Timer.java
9717         (isRunning): Made public.
9718         (start): Likewise.
9719         (stop): Likewise.
9720         * javax/swing/UIDefaults.java
9721         (getInt): Made public.
9722         * javax/swing/plaf/basic/BasicListUI.java
9723         (mousePressed): Dont use internal fields of MouseEvent.
9724         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9725         * javax/swing/plaf/basic/BasicScrollBarUI.java
9726         (arrowIcon): Made static.
9727         * javax/swing/plaf/basic/BasicViewportUI.java
9728         (stateChanged): Dont use internal field on ChangeEvent.
9729         * javax/swing/text/JTextComponent.java
9730         (getUI): Call UIManager.getUI().
9731         (updateUI): Use getUI().
9732
9733 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9734
9735         * verify.cc: Undef PC.
9736
9737 2004-03-18  Michael Koch  <konqueror@gmx.de>
9738
9739         * java/nio/channels/spi/AbstractSelectableChannel.java
9740         (keys): Initialize at declaration.
9741         (locate): keys cant be null.
9742         (add): Removed.
9743         (addSelectionKey): New method.
9744         (removeSelectionKey): New method.
9745         * java/nio/channels/spi/AbstractSelectionKey.java
9746         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9747         * java/nio/channels/spi/AbstractSelector.java
9748         (provider): Javadoc added.
9749         (cancelledKeys): Javadoc added.
9750         (cancelKey): Javadoc added, add key to cancelledKeys.
9751         (deregister): Implemented.
9752
9753 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9754
9755         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9756         MAP_FAILED to void *.
9757
9758 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9759
9760         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9761         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9762         * javax/swing/JList.java (ListListener): Revalidate on changes.
9763         * javax/swing/JScrollPane.java: Reimplement.
9764         * javax/swing/JViewport.java: Reimplement.
9765         * javax/swing/ScrollPaneLayout.java: Reimplement.
9766         * javax/swing/ViewportLayout.java: Tidy up.
9767         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9768         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9769         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9770         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9771         backing store only.
9772
9773 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9774
9775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9776         (window_wm_protocols_filter): New function.
9777         (window_focus_in_cb): Remove function.
9778         (window_focus_out_cb): Likewise.
9779         (window_focus_or_active_state_change_cb): New function.
9780         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9781         (connectSignals): Don't attach handlers to focus-in-event or
9782         focus-out-event signals.  Handle notify signal.
9783
9784 2004-03-11  David Jee  <djee@redhat.com>
9785
9786         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9787         (gtkSetLabel): New native method declaration.
9788         (setLabel): Use gtkSetLabel.
9789         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9790         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9791
9792 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9793
9794         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9795         black when color argument is null.
9796
9797 2004-03-10  Kim Ho  <kho@redhat.com>
9798
9799         * java/awt/Container.java: Remove check
9800         for drag events.
9801
9802 2004-03-10  Kim Ho  <kho@redhat.com>
9803
9804         * java/awt/Container.java: (visitChild):
9805         Remove candidate clip. Use the component
9806         clip to intersect.
9807         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9808         (handleEvent): Use the PaintEvent's clip.
9809
9810 2004-03-10  Kim Ho  <kho@redhat.com>
9811
9812         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9813         (handleEvent): Don't set the clip for the
9814         Graphics object.
9815
9816 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9817
9818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9819         Fix double <-> fixed macros, reset font transform.
9820         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9821         Likewise.
9822
9823 2004-03-09  Kim Ho  <kho@redhat.com>
9824
9825         * java/awt/Container.java: (visitChild): Move
9826         the x and y coordinate of the component rectangle
9827         to correct position.
9828         (handleEvent): Forward drag events to the pressed
9829         component.
9830         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9831         Fix comments.
9832         (ArrowButtonListener::mousePressed): Stop the
9833         existing timer.
9834         (mouseDragged): Implement.
9835         (TrackListener::mousePressed): Only react if
9836         the press doesn't occur on the thumb, otherwise
9837         just set the offset.
9838         (TrackListener::mouseReleased): Unset the isAdjusting
9839         value.
9840         (createIncreaseIcon): Switch icon.
9841         (createDecreaseIcon): Switch icon.
9842         (calculatePreferredSize): Use width.
9843         (getThumbBounds): Use the top as the lower value.
9844         (layoutVScrollBar): Switch the button locations.
9845         (paintIncreaseHighlight): Paint correct side of thumb.
9846         (paintDecreaseHighlight): ditto.
9847         (valueForYPosition): Use top as the lower value.
9848         * javax/swing/plaf/basic/BasicSliderUI.java:
9849         Fix comments.
9850         (mouseDragged): Implement.
9851         (mousePressed): Only react when the thumb isn't
9852         pressed, otherwise just set offset.
9853         (mouseReleased): Handle a release of the thumb.
9854         (scrollDueToClickInTrack): Stop the timer first.
9855         * javax/swing/JProgressBar.java:
9856         (setString): Fix change condition.
9857         * javax/swing/JSeparator.java:
9858         Remove println's.
9859
9860 2004-03-08  David Jee  <djee@redhat.com>
9861
9862         * java/awt/image/AffineTransformOp.java:
9863         (filter): Use Graphics2D interface instead of directly using the
9864         GdkGraphics2D peer.
9865
9866 2004-03-05  David Jee  <djee@redhat.com>
9867
9868         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9869         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9870         * java/awt/Container.java
9871         (acquireComponentForMouseEvent): Fixed.
9872         (handleEvent): Fixed.
9873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9874         (state_to_awt_mods_with_button_states): New method.
9875         (pre_event_handler): Fixed mouse event generation.
9876
9877 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9878
9879         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9880         (GdkGraphics2D (BufferedImage)): Initialize
9881         pixmap associated with specified BufferedImage.
9882         (setPaint): Changed implementation of Texture
9883         Paint to use AffineTransformOp.
9884         * java/awt/image/AffineTransformOp.java
9885         (createCompatibleDestRaster): Throw RasterFormatException 
9886         if resulting width or height of raster is 0.
9887
9888 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9889
9890         * java/awt/image/AffineTransformOp.java:
9891         Removed unnecessary field interpolationType.
9892         Formatted some of the lines to be consistent with 
9893         the GNU style.
9894         (AffineTransformOp): Create new RenderingHints 
9895         containing specified interpolation type.
9896         (createCompatibleDestImage): Implemented.
9897         (createCompatibleDestRaster): Implemented.
9898         (filter): Implemented.
9899         (getBounds2D(BufferedImage)): Implemented.
9900         (getBounds2D(Raster)): Implemented.
9901         (getInterpolationType): Get interpolation value from 
9902         rendering hints.
9903
9904 2004-03-04  David Jee  <djee@redhat.com>
9905
9906         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9907         (setFont): Check if child peers are null.
9908
9909 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9910
9911         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9912         .libs in -L option.
9913         (libjava_arguments): Add new libraries to argument list.
9914
9915 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9916
9917         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9918         * Makefile.in: Re-generated.
9919         * java/awt/image/AffineTransformOp.java: New Class.
9920
9921 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9922
9923         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9924         (setPaint): Interpret correctly TexturePaint's
9925         anchor rectangle.
9926         (drawImage): Fixed scale factors of the affine
9927         transform.
9928
9929 2004-02-27  David Jee  <djee@redhat.com>
9930
9931         * gnu/java/awt/peer/gtk/GdkGraphics.java
9932         (GdkGraphics(Component)): Inherit font from component.
9933         (drawString): Use font style.
9934         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9935         (gtkSetFont): New native method declaration.
9936         (setFont): New method.
9937         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9938         (gtkSetFont): New native method declaration.
9939         (setFont): Call new native method gtkSetFont.
9940         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9941         (setFont): For all child components who do not their fonts set,
9942         set their peers' fonts with this container's font.
9943         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9944         Move all native method declarations to the top for readability.
9945         (gtkSetFont): New native method declaration.
9946         (setFont): New method.
9947         * java/awt/Component.java
9948         (setFont): Invalidate after setting the font.
9949         * java/awt/Container.java
9950         (invalidateTree): New method.
9951         (setFont): Invalidate the container tree after setting the font.
9952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9953         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9955         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9957         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9959         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9960
9961 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9962
9963         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9964         (updateBufferedImage): New helper function.
9965         Updates BufferedImage in memory if it was changed.
9966         (draw): changed to update BufferedImage in memory after
9967         this drawing operation
9968         (fill): Ditto.
9969         (draw3DRect): Ditto.
9970         (fill3DRect): Ditto.
9971         (clearRect): Ditto.
9972         (drawRaster): Ditto.
9973         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9974         no affine transformation.
9975         (drawGlyphVector): Ditto.
9976
9977 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9978
9979         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9980         (isBufferedImageGraphics): New Helper function. 
9981         Returns true if this graphics2d can be used to draw 
9982         into buffered image and false otherwise.
9983         (updateImagePixels): New Helper function. 
9984         Updates pixels in the BufferedImage.
9985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9986         (getImagePixels): New function. Returns pixels
9987         of the buffered image associated with 
9988         this Graphics2D.
9989
9990 2004-02-26  David Jee  <djee@redhat.com>
9991
9992         * java/awt/BorderLayout.java
9993         (layoutContainer): Fix width and height calculations to ensure
9994         that they're non-negative.
9995         * java/awt/Component.java
9996         (setBackground): If c is null, inherit from closest ancestor whose
9997         background color is set.
9998
9999 2004-02-26  Kim Ho  <kho@redhat.com>
10000
10001         * Makefile.am: Add new files.
10002         * Makefile.in: Re-generate.
10003         * javax/swing/JProgressBar.java: 
10004         (JProgressBar(int, int int)): Throw
10005         IllegalArgumentException if orientation is
10006         invalid.
10007         (JProgressBar(BoundedRangeModel)): Create
10008         ChangeListener and register it. UpdateUI.
10009         (getChangeListeners): Implement.
10010         (setModel): Reset ChangeListener.
10011         * javax/swing/JScrollBar.java: Implement.
10012         * javax/swing/JSeparator.java: Implement.
10013         * javax/swing/JSlider.java:
10014         (JSlider(int, int, int, int)): Throw 
10015         IllegalArgumentException if orientation
10016         is invalid.
10017         (getChangeListeners): Fix method name.
10018         * javax/swing/SwingUtilities.java:
10019         (layoutCompoundLabel): If there is no text,
10020         set the text rectangle dimensions to 0.
10021         * javax/swing/plaf/basic/BasicButtonUI.java:
10022         (paint): If there is no text, don't paint it.
10023         * javax/swing/plaf/basic/BasicScrollBarUI.java:
10024         Implement.
10025         * javax/swing/plaf/basic/BasicSeparatorUI.java:
10026         Implement.
10027         * javax/swing/plaf/basic/BasicSliderUI.java: 
10028         (propertyChange): If the model changes, change
10029         the listeners accordingly.
10030
10031 2004-02-25  Graydon Hoare  <graydon@redhat.com>
10032
10033         * javax/swing/AbstractButton.java: Add "final" qualifiers.
10034         * javax/swing/JList.java: Reimplement.
10035         * javax/swing/DefaultListSelectionModel.java: Reimplement.
10036         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
10037         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
10038         * javax/swing/ListModel.java: Javadoc.
10039         * javax/swing/ListSelectionModel.java: Add missing methods.
10040         * javax/swing/AbstractListModel.java: Javadoc and corrections.
10041         * javax/swing/DefaultListModel.java: Javadoc and corrections.
10042         * javax/swing/ListModel.java: Javadoc and corrections.
10043         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
10044
10045 2004-02-25  David Jee  <djee@redhat.com>
10046
10047         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10048         (GtkFontPeer): Change default size to 12.
10049         * gnu/java/awt/peer/gtk/GtkToolkit.java
10050         (getFontPeer): Change default size to 12.
10051         (getClasspathFontPeer): Likewise. Set default name to "Default".
10052         * java/awt/Font.java
10053         (Font(Map)): Call Font(String,Map).
10054         (Font(String,Map)): If attrs is null, initialize it as an empty
10055         HashMap, which will ensure that the Font will get default attributes.
10056
10057 2004-02-25  David Jee  <djee@redhat.com>
10058
10059         * gnu/java/awt/peer/gtk/GtkFontPeer.java
10060         (GtkFontPeer(String,int)): Call the new constructor with size 1.
10061         (GtkFontPeer(String,int,int)): New constructor with size attribute.
10062         * gnu/java/awt/peer/gtk/GtkToolkit.java
10063         (getFontPeer(String,int)): Call the new overload method with size 1.
10064         (getFontPeer(String,int,int)): New method. Overloaded with size
10065         attribute.
10066         (getClasspathFontPeer): Set the size of the font.
10067
10068 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
10069
10070         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10071         (bimage): New field.
10072         (GdkGraphics2D): New Constructor. Constructs Graphics
10073         object that can be used to draw into the Buffered Image.
10074         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10075         (GdkGraphicsEnvironment): Fixed to include public 
10076         keyword.
10077         (createGraphics): Implemented.
10078         * gnu/java/awt/peer/gtk/GtkToolkit.java
10079         (getLocalGraphicsEnvironment): Implemented.
10080         * java/awt/GraphicsEnvironment.java:
10081         (getLocalGraphicsEnvironment): Implemented.
10082         * java/awt/image/BufferedImage.java:
10083         (createGraphics): Implemented.
10084                 
10085 2004-02-24  David Jee  <djee@redhat.com>
10086
10087         * java/awt/Component.java
10088         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10089         * java/awt/Container.java
10090         (addNotifyContainerChildren): Fix event enabling.
10091
10092 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
10093
10094         * Makefile.am: Added 
10095         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10096         * Makefile.in: Re-generated.
10097         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10098         New Class. 
10099         
10100 2004-02-19  Kim Ho  <kho@redhat.com>
10101
10102         * Makefile.am: Add BasicProgressBarUI
10103         * Makefile.in: Regenerate.
10104         * javax/swing/JProgressBar.java: 
10105         Re-implement.
10106         * javax/swing/plaf/basic/BasicLookAndFeel.java
10107         Add constants for JProgressBar.
10108         * javax/swing/plaf/basic/BasicProgressBarUI.java
10109         Implement.
10110         * javax/swing/plaf/basic/BasicSliderUI.java
10111         Change comments.
10112         (calculateGeometry): New method
10113         (paint): Remove unnecessary size calculations.
10114
10115 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
10116
10117         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10118         (drawRaster): Fixed small error that caused
10119         imageToUser transformation to be set incorrectly.
10120         (toString): Implemented.
10121
10122 2004-02-18  David Jee  <djee@redhat.com>
10123
10124         * java/awt/CardLayout.java
10125         (addLayoutComponent): Show the first component added as the default.
10126         (removeLayoutComponent): After removing, show the next component.
10127         (gotoComponent): If there is only one component, show it and return.
10128
10129 2004-02-18  Kim Ho  <kho@redhat.com>
10130
10131         * javax/swing/JSlider.java: Re-order
10132         modifiers.
10133         * javax/swing/JLabel.java: Re-order
10134         modifiers.
10135         * javax/swing/JComponent.java: 
10136         (addPropertyChangeListener):
10137         Implement.
10138         (removePropertyChangeListener):
10139         ditto.
10140         (firePropertyChangeEvent):
10141         ditto.
10142
10143 2004-02-17  David Jee  <djee@redhat.com>
10144
10145         * java/awt/Component.java
10146         (show): Dispatch ComponentEvent via system event queue.
10147         (hide): Likewise.
10148         (move): Likewise.
10149         (resize): Likewise.
10150         (reshape): Likewise.
10151         * java/awt/Window.java
10152         (setBoundsCallback): Likewise.
10153
10154 2004-02-17  David Jee  <djee@redhat.com>
10155
10156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10157         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10158         Use gtk_widget_set_size_request() instead of the deprecated
10159         gtk_widget_set_usize().
10160
10161 2004-02-17  Kim Ho  <kho@redhat.com>
10162
10163         * javax/swing/JSlider.java: Fix comments and
10164         make property strings constants.
10165         (createStandardLabels): Use the labels
10166         preferred size as bounds.
10167         * javax/swing/plaf/basic/BasicSliderUI.java
10168         Fix comments.
10169         (ScrollHandler::actionPerformed): Don't
10170         calculate the timer stop value. Let the
10171         MouseListeners find the stop location.
10172         (getPreferredHorizontalSize): Re-implement.
10173         (getPreferredVerticalSize): ditto.
10174         (getMinimumHorizontalSize): ditto.
10175         (getMinimumVerticalSize): ditto.
10176         (getPreferredSize): ditto.
10177         (getMinimumSize): ditto.
10178         (getMaximumSize): ditto.
10179         (paintTicks): Use doubles to find the
10180         tick location.
10181         (paintHorizontalLabel):  Use preferredSize
10182         as initial width and height.
10183         (paintVerticalLabel): ditto.
10184
10185 2004-02-17  Kim Ho  <kho@redhat.com>
10186
10187         * javax/swing/JLabel.java: Changed 
10188         property strings to constants.
10189         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10190         New property.
10191         (setText): Change mnemonic index if
10192         text is too short.
10193         (setDisplayedMnemonicIndex): Fire property
10194         change event.
10195         (getDisplayedMnemonicIndex): Remove check
10196         against short text.
10197
10198 2004-02-17 Olga Rodimina <rodimina@redhat.com>
10199
10200         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10201         (drawImage(img,xform,obs)): Invert xform before
10202         passing the xform to cairo.
10203         (drawImage(img,x,y,bgcolor,obs)): Implemented.
10204         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
10205         implemented.
10206         (drawImage (img,x,y,w,h,obs)): Implemented.
10207         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
10208         bgcolor,obs)): Partly implemented.
10209         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
10210         Implemented.
10211         * java/awt/image/BufferedImage.java:
10212         (copyData): if dest is null, create raster with same
10213         dimensions as the current image.
10214
10215 2004-02-16  Graydon Hoare  <graydon@redhat.com>
10216
10217         * javax/swing/plaf/basic/BasicLabelUI.java 
10218         (getPreferredSize): Use layoutCL.
10219         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10220         (getPreferredButtonSize): Start with empty view rect, layout using
10221         component's preferred alignment.
10222         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10223         List defaults.
10224
10225 2004-02-16  David Jee  <djee@redhat.com>
10226
10227         * java/awt/Component.java
10228         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10229         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10230         (move): Erase old bounds and repaint new bounds. Dispatch
10231         COMPONENT_MOVED ComponentEvent.
10232         (resize): Erase old bounds and repaint new bounds. Dispatch
10233         COMPONENT_RESIZED ComponentEvent.
10234         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10235         ComponentEvents.
10236         * java/awt/Window.java
10237         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10238         ComponentEvents.
10239
10240 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
10241
10242         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10243         (setRenderingHint): Added implementation of 
10244         Interpolation rendering hints.
10245         (setRenderingHints): Ditto.
10246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10247         (drawPixels): fixed to allow user to choose type 
10248         of filtering that should be used when displaying images.
10249         (cairoSurfaceSetFilter): New method. Sets filter type for 
10250         interpolation of pixel values.
10251
10252 2004-02-16  David Jee  <djee@redhat.com>
10253
10254         * java/awt/GridBagLayout.java
10255         (calcCellSizes): Rows or columns with zero sizes should still be
10256         considered for extra space distribution.
10257
10258 2004-02-16  Kim Ho  <kho@redhat.com>
10259
10260         * javax/swing/JLabel.java: Re-implement.
10261         * javax/swing/plaf/basic/BasicLabelUI.java
10262         Re-implement.
10263         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10264         Added constant.
10265
10266 2004-02-16  Kim Ho  <kho@redhat.com>
10267
10268         * javax/swing/JSlider.java: Fix indentation and comments.
10269         (setModel): Remove null check to conform with Sun's.
10270         (setOrientation): Throw exception if not
10271         HORIZONTAL or VERTICAL.
10272         (getInverted): Use private variable instead of 
10273         ComponentOrientation.
10274         (setInverted): ditto.
10275         * javax/swing/plaf/basic/BasicSliderUI.java:
10276         Fix indentation and comments.
10277         (propertyChange): Remove check for inverted slider, handle
10278         in main paint.
10279         (getMinimumSize): Return preferred size.
10280         (getMaximumSize): ditto.
10281         (calculateFocusRect): Don't relocate rectangle.
10282         (drawInverted): Return XOR of the slider's inversion and 
10283         the component's orientation.
10284         (paint): Update leftToRightCache
10285
10286 2004-02-13  David Jee  <djee@redhat.com>
10287
10288         * java/awt/GridBagLayout.java
10289         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10290         code to helper methods.
10291         (sortBySpan): New helper method.
10292         (distributeSizeAndWeight): Likewise.
10293         (calcCellWeights): Likewise.
10294         (calcCellSizes): Add comments.
10295
10296 2004-02-13  David Jee  <djee@redhat.com>
10297
10298         * java/awt/Component.java
10299         (show): Only do something if component is invisible at the moment.
10300         (hide): Only do something if component is visible at the moment.
10301         (reshape): If lightweight, erase old bounds and repaint new bounds.
10302
10303 2004-02-13  Kim Ho  <kho@redhat.com>
10304
10305         * Makefile.am: Updated for new file.
10306         * Makefile.in: Regenerated.
10307         * javax/swing/JSlider.java: Reimplement.
10308         * javax/swing/SwingUtilities.java
10309         (layoutCompoundLabel): Use icon height
10310         instead of width.
10311         (paintComponent): Implement.
10312         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10313         Add JSlider defaults.
10314         * javax/swing/plaf/basic/BasicSliderUI.java:
10315         Implement. New file.
10316
10317 2004-03-17  Michael Koch  <konqueror@gmx.de>
10318
10319         * gnu/java/net/PlainDatagramSocketImpl.java
10320         (RECEIVE_LOCK): New member field.
10321         (SEND_LOCK): New member field.
10322         (send0): New method.
10323         (send): Synchronize on SEND_LOCK.
10324         (receive0): New method.
10325         (receive): Synchronize on RECEIVE_LOCK.
10326         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10327         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10328         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10329         (send0): Renamed from send.
10330         (receive0): Renamed from receive.
10331 2004-03-17  Michael Koch  <konqueror@gmx.de>
10332
10333         * gnu/java/net/natPlainSocketImplPosix.cc
10334         (write): Just call write(jbyteArray, offset, len).
10335         (read): Just call read(jbyteArray, offset, len).
10336
10337 2004-03-16  Michael Koch  <konqueror@gmx.de>
10338
10339         * javax/swing/JTabbedPane.java
10340         (serialVersionUID): New field.
10341
10342 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10343
10344         * java/net/InetAddress.java
10345         (getByName): Handle hostname == "" case.
10346
10347 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10348
10349         Reported by: Adam Heath <doogie@debian.org>
10350         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10351         class loader.
10352
10353 2004-03-15  Michael Koch  <konqueror@gmx.de>
10354
10355         * java/util/Locale.java: Reverting my last patch
10356         and add a comment why the original version was okay.
10357
10358 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10359
10360         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10361         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10362         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10363         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10364
10365 2004-03-12  Michael Koch  <konqueror@gmx.de>
10366
10367         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10368
10369 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10370
10371         * java/net/URI.java (toURL): Implemented.
10372
10373 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10374
10375         * java/net/URI.java
10376         (URI_REGEXP) updated to contain scheme specific part.
10377         (SCHEME_SPEC_PART_GROUP) new constant.
10378         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10379         updated to make room for SCHEME_SPEC_PART_GROUP.
10380         (parseURI) parse scheme specific part.
10381         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10382         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10383         getQuery, getFragment) implemented.
10384
10385 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10386
10387         * libraries/javalib/java/net/URI.java
10388         partially implemented using java.util.regex.
10389         (URI_REGEXP) new constant. Used to parse URIs.
10390         (SCHEME_GROUP) new constant representing index of scheme group
10391         in parsed URI.
10392         (AUTHORITY_GROUP) new constant representing index of authority
10393         group in parsed URI.
10394         (PATH_GROUP) new constant representing index of path group in
10395         parsed URI.
10396         (QUERY_GROUP) new constant representing index of query group in
10397         parsed URI.
10398         (FRAGMENT_GROUP) new constant representing index of fragment
10399         group in parsed URI.
10400         (getURIGroup) new static utility method.
10401         (parseURI) implemented.
10402         (quote) stub for new static utility method.
10403         (quoteAuthority) stub for new static utility method.
10404         (quoteHost) stub for new static utility method.
10405         (quotePath) stub for new static utility method.
10406         (quoteUserInfo) stub for new static utility method.
10407         (URI) implemented.
10408         (create) don't throw URISyntaxException. Implemented.
10409         (toString) implemented.
10410
10411 2004-03-12  Michael Koch  <konqueror@gmx.de>
10412
10413         * java/net/HttpURLConnection.java
10414         (getResponseCode): Fix another typo in javadoc.
10415
10416 2004-03-11  Michael Koch  <konqueror@gmx.de>
10417
10418         * java/util/logging/Level.java
10419         (parse): Use String.equals() instead of ==.
10420
10421 2004-03-11  Michael Koch  <konqueror@gmx.de>
10422
10423         * gnu/java/net/protocol/jar/Connection.java
10424         (getContentLength): New method.
10425
10426 2004-03-11  Michael Koch  <konqueror@gmx.de>
10427
10428         * gnu/java/net/PlainSocketImpl.java:
10429         Reformated to merge better with classpath's version.
10430
10431 2004-03-11  Michael Koch  <konqueror@gmx.de>
10432
10433         * java/util/Locale.java
10434         (getISO3Language): Use String.equals() instead of ==.
10435         (getISO3Country): Likewise.
10436
10437 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10438
10439         * java/text/AttributedString.java
10440         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10441         Use HashMap instead of Hashtable since value can be null, and
10442         you can not store a null value in a Hashtable.
10443
10444 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10445
10446         * java/text/AttributedStringIterator.java
10447         (getAllAttributesKey): Return only keys concerned
10448         by the current iterator.
10449         (getAttributes): Use strict inequality for
10450         end_index. 
10451
10452 2004-03-11  Michael Koch  <konqueror@gmx.de>
10453
10454         * java/net/HttpURLConnection.java:
10455         Fixed typo in javadoc.
10456
10457 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10458
10459         * java/io/BufferedInputStream.java (marktarget): New field for max
10460         mark limit.
10461         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10462         (mark): Use new fields.
10463         (read): Likewise.
10464         (read(byte[],int,int)): Likewise.
10465         (skip): Likewise.
10466         (refill): Likewise.
10467
10468 2004-03-11  Mark Wielaard  <mark@klomp.org>
10469
10470         * java/beans/BeanDescriptor.java (BeanDescriptor):
10471         Set the FeatureDescriptor programmatic name.
10472
10473 2004-03-11  Michael Koch  <konqueror@gmx.de>
10474
10475         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10476         This file was was just copied form java/io/natFileDescriptorEcos.cc
10477         and never changed to compile correctly.
10478
10479 2004-03-11  Michael Koch  <konqueror@gmx.de>
10480
10481         * gnu/java/nio/PipeImpl.java
10482         (SourceChannelImpl): Made final.
10483         (read): Implemented.
10484         (SinkChannelImpl): Made final.
10485         (write): Implemented.
10486
10487 2004-03-11  Michael Koch  <konqueror@gmx.de>
10488
10489         * gnu/java/net/PlainDatagramSocketImpl.java:
10490         Reformated to match classpath's version more.
10491
10492 2004-03-11  Michael Koch  <konqueror@gmx.de>
10493
10494         * gnu/java/awt/peer/ClasspathFontPeer.java:
10495         Fixed javadoc to be correct xhtml.
10496         * gnu/java/awt/peer/gtk/GtkArgList.java
10497         (add): Use Boolean.valueOf() instead of new Boolean().
10498
10499 2004-03-09  Michael Koch  <konqueror@gmx.de>
10500
10501         * java/lang/Thread.java
10502         (runnable): Moved around.
10503         (daemon): Renamed from daemon_flag.
10504         (contextClassLoader): Renamed from context_class_loader.
10505         (Thread): Reordered constructors.
10506         (activeCount): Use group directly.
10507         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10508         (holdsLock): Reworked javadoc.
10509         (setDaemon): Reworked.
10510         * java/lang/natThread.cc
10511         (destroy): Removed.
10512
10513 2004-03-08  Anthony Green  <green@redhat.com>
10514
10515         * Makefile.am: Build property resource files into libgcj.
10516         * Makefile.in: Rebuilt.
10517         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10518         java/util/regex/PatternSyntaxException.java,
10519         gnu/regexp/CharIndexed.java,
10520         gnu/regexp/CharIndexedCharArray.java,
10521         gnu/regexp/CharIndexedInputStream.java,
10522         gnu/regexp/CharIndexedReader.java,
10523         gnu/regexp/CharIndexedString.java,
10524         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10525         gnu/regexp/REException.java,
10526         gnu/regexp/REFilterInputStream.java,
10527         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10528         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10529         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10530         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10531         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10532         gnu/regexp/RETokenLookAhead.java,
10533         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10534         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10535         gnu/regexp/RETokenStart.java,
10536         gnu/regexp/RETokenWordBoundary.java,
10537         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10538
10539 2004-03-03  Per Bothner  <per@bothner.com>
10540
10541         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10542         Optimize when argument is a FileChannelImpl.
10543         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10544         New native methods.
10545         * java/nio/channels/natChannels.cc:  New file for new native methods.
10546         * Makefile.am:  Update accordingly.
10547
10548 2004-03-02  Jan Hubicka  <jh@suse.cz>
10549
10550         * configure.host: Pass -fno-omit-frame-pointer for i386.
10551         * configure.in: Likewise.
10552         * configure: Regenerate.
10553
10554 2004-03-01  Per Bothner  <per@bothner.com>
10555
10556         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10557
10558 2004-02-29  Per Bothner  <per@bothner.com>
10559
10560         * java/nio/channels/FileChannelImpl.java:  Moved to package
10561         gnu/java/nio/channels, since we need to refer to it from java.io.
10562         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10563         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10564         from java/nio/channels.  Don't depend on FileDescriptor.
10565         (in, out, err):  New static fields.
10566         (mode):  New field.
10567         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10568         from FileDescriptor.
10569         (by):  Removed MappedByteBuffer field.
10570         (map):  New working implementation.
10571         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10572         some code "ported" from natFileDescriptoPosix.cc.
10573         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10574         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10575         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10576         Remove native methods.
10577         * Makefile.am, configure.in:  Updated accordingly.
10578
10579         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10580         (ch):  New FileChannelImpl field.  Update constructor to match.
10581         (releaseImpl):  Remove native method.  Instead ...
10582         (release):  Call unlock on channel.
10583         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10584
10585         * java/io/natFileDescriptorEcos.cc:  Remove file.
10586         * java/io/natFileDescriptorPosix.cc:  Remove file.
10587         * java/io/natFileDescriptorWin32.cc:  Remove file.
10588         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10589         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10590         (<init>(FileChannelImpl)):  New package-private constructor.
10591         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10592         (available, close, read, skip):  Implement using FileChannelImpl.
10593         (getFD):  Allocate FileDescriptor if needed.
10594         (getChannel):  Is now trivial.
10595         * java/io/FileOutputStream.java:  Corresponding changes.
10596         * java/io/RandomAccessFile.java:  Corresponding changes.
10597
10598         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10599         unmapImpl):  New dummy methods, to be overridden by subclass.
10600         (finalize, isLoaded, load, force):  New methods.
10601         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10602         Now works, at least for read mapping.
10603
10604         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10605         streams using FileChannelImpl, not FileDescriptor.
10606         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10607
10608 2004-02-28  Michael Koch  <konqueror@gmx.de>
10609
10610         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10611         wrong code.
10612
10613 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10614
10615         * java/io/ObjectInputStream.java
10616         (readClassDescriptor): Keep elements of the mapping non null.
10617         (checkTypeConsistency): New method.
10618         (readFields): Fixed main loop and base logic. Small reindentation.
10619         * java/io/ObjectStreamField.java
10620         (lookupField): New method to update the field reference.
10621         (checkFieldType): New method.
10622         * java/io/ObjectStreamClass.java
10623         (setClass, setFields): Call lookupField when building the field
10624         database. Check the real field type.
10625
10626 2004-02-28  Michael Koch  <konqueror@gmx.de>
10627
10628         * java/nio/ByteOrder.java
10629         (nativeOrder): Use equals() to compare strings.
10630
10631 2004-02-26  Michael Koch  <konqueror@gmx.de>
10632
10633         * gnu/java/nio/FileLockImpl.java
10634         (finalize): Made protected.
10635         * java/nio/channels/FileChannel.java
10636         (MapMode.READ_ONLY): Made final.
10637         (MapMode.READ_WRITE): Made final.
10638         (MapMode.PRIVATE): Made final.
10639         * java/nio/channels/SocketChannel.java
10640         (open): Simplified code.
10641         * java/nio/channels/spi/AbstractSelectableChannel.java
10642         (registered): Unused, removed.
10643         (keyFor): Check channel is open, only locate key
10644         and not add a new one.
10645         (register): Don't delete attachments.
10646
10647 2004-02-26  Michael Koch  <konqueror@gmx.de>
10648
10649         * gnu/java/awt/ComponentDataBlitOp.java
10650         (INSTANCE): Made final.
10651         * gnu/java/awt/image/ImageDecoder.java:
10652         Reworked imports.
10653         (cm): Unused, removed.
10654
10655 2004-02-26  Michael Koch  <konqueror@gmx.de>
10656
10657         * gnu/java/nio/DatagramChannelImpl.java
10658         (send): Check if target address is resolved.
10659
10660 2004-02-26  Michael Koch  <konqueror@gmx.de>
10661
10662         * Makefile.am: Generate and install headers for inner classes in
10663         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10664         * Makefile.in: Regenerated.
10665
10666 2004-02-24  Anthony Green  <green@redhat.com>
10667
10668         * java/lang/StringBuffer.java: No need to NULL out remainder of
10669         buffer since ensureCapacity_unsynchronized will have done this for
10670         us.
10671
10672 2004-02-20  Michael Koch  <konqueror@gmx.de>
10673
10674         * gnu/java/net/protocol/jar/Handler.java
10675         (): Removed unneeded check for file != null. java.net.URL.getFile()
10676         returns an empty string but never null.
10677
10678 2004-02-20  Michael Koch  <konqueror@gmx.de>
10679
10680         * gnu/gcj/convert/Convert.java
10681         (main): Use equals() to compare strings.
10682
10683 2004-02-20  Michael Koch  <konqueror@gmx.de>
10684
10685         * javax/swing/AbstractButton.java: Made several constants final.
10686         (getRolloverSelectedIcon): Made public.
10687         (getSelectedIcon): Made public.
10688
10689 2004-02-16  Per Bothner  <per@bothner.com>
10690
10691         * java/nio/CharBufferImpl.java:  Inline super constructor.
10692         * java/nio/DoubleBufferImpl.java:  Likewise.
10693         * java/nio/FloatBufferImpl.java:  Likewise.
10694         * java/nio/IntBufferImpl.java:  Likewise.
10695         * java/nio/LongBufferImpl.java:  Likewise.
10696         * java/nio/ShortBufferImpl.java:  Likewise.
10697         * java/nio/CharBuffer.java:  Remove unused constructor.
10698         * java/nio/DoubleBuffer.java:  Likewise.
10699         * java/nio/FloatBuffer.java:  Likewise.
10700         * java/nio/IntBuffer.java:  Likewise.
10701         * java/nio/LongBuffer.java:  Likewise.
10702         * java/nio/ShortBuffer.java:  Likewise.
10703         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10704         Fix buggy call to super constructor.
10705         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10706         * java/nio/FloatViewBufferImpl.java:  Likewise.
10707         * java/nio/IntViewBufferImpl.java:  Likewise.
10708         * java/nio/LongViewBufferImpl.java:  Likewise.
10709         * java/nio/ShortViewBufferImpl.java:  Likewise.
10710         
10711         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10712         java.nio classes can inherit it.
10713         (<init>):  Don't bother clearing array_offset.
10714         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10715         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10716         Remove redundant test.
10717
10718         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10719         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10720         Use new XxxViewBufferImpl constructors.
10721         * java/nio/MappedByteBufferImpl.java:  Likewise.
10722         * java/nio/DirectByteBufferImpl.java:  Likewise.
10723
10724         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10725         Inline super in remaining constructor.
10726         * java/nio/ByteBuffer.java:  Remove unused constructor.
10727
10728         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10729
10730         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10731         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10732         (offset):  Remove unused field.
10733         (<init>):  Modify one and add another constructor.  Change callers.
10734         (allocateDirect):  Removed - not used.
10735         (getImpl, putImpl):  Make static and pass address explicitly,
10736         to make them useful for MappedByteBufferImpl.
10737         (get, put):  Check for underflow.  Modify for new getImpl.
10738         (getImpl):  New native method where target is array.
10739         (get(byte[],int,int)):  Use the above.
10740         (adjustAddress):  New static native method.
10741         (slice, duplicate, asReadOnly):  New implementations.
10742         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10743         adjustAddress):  New or updated native methods.
10744
10745 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10746
10747         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10748         overflow of fieldmapping.
10749
10750 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10751
10752         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10753
10754 2004-02-14  Per Bothner  <per@bothner.com>
10755
10756         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10757         Set closed before calling implCloseChannel, as in the spec.
10758
10759 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10760
10761         * javax/swing/ToggleButtonModel.java: Remove dead class.
10762         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10763         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10764         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10765         * Makefile.am: Update for new and removed files.
10766         * Makefile.in: Regenerate.
10767
10768         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10769         * javax/swing/AbstractButton.java 
10770         (AbstractButton): Initialize fields correctly in ctor.
10771         * javax/swing/JCheckbox.java 
10772         (JCheckBox): Override painting flags.
10773         * javax/swing/DefaultButtonModel.java: Conform to sun.
10774         * javax/swing/JComponent.java (paint): Fill with background color
10775         if available.
10776         (processComponentKeyEvent)
10777         (processFocusEvent)
10778         (processKeyEvent)
10779         (processMouseMotionEvent): Remove event-consuming empty methods.
10780         (getUIClassID): Return "ComponentUI" not "JComponent"
10781         * javax/swing/JFrame.java: Remove some debugging chatter.
10782         (JFrame): Subscribe to window events.
10783         * javax/swing/JRadioButton.java 
10784         (JRadioButton): Override painting flags.
10785         * javax/swing/JRootPane.java 
10786         (JRootPane): Set background from UIDefaults.
10787         * javax/swing/JToggleButton.java 
10788         (ToggleButtonModel): New inner class.
10789         (JToggleButton): Override layout alighment.
10790         * javax/swing/SwingUtilities.java:
10791         (getLocalBounds): Return width and height, not x and y.
10792         (calculateInnerArea): Use local bounds, not bounds.
10793         (layoutCompoundLabel): Provide overridden form.
10794         (layoutCompoundLabel): Correct bugs.
10795         * javax/swing/UIDefaults.java: Correct comment.
10796         * javax/swing/plaf/basic/BasicButtonUI.java: 
10797         Move most logic into defaults, external listener.
10798         (paintIcon): Implement icon painting.
10799         (paint): Fix state painting to conform to changes in model.
10800         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10801         Remove most dead/wrong methods.
10802         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10803         * javax/swing/plaf/basic/BasicIconFactory.java:
10804         (DummyIcon): New class.
10805         (getMenuItemCheckIcon)
10806         (getMenuItemArrowIcon) 
10807         (getMenuArrowIcon)
10808         (getCheckBoxMenuItemIcon)
10809         (getRadioButtonMenuItemIcon)
10810         (createEmptyFrameIcon): Return DummyIcons, not null.
10811         (getCheckBoxIcon): Implement an icon that looks like sun's.
10812         (getRadioButtonIcon): Implement an icon that looks like sun's.
10813         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10814         (initComponentDefaults): Fix impossible values, add some missing.
10815         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10816         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10817         Remove most dead/wrong methods.
10818         (icon): New field.
10819         (getDefaultIcon): New method.
10820         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10821         Remove most dead/wrong methods.
10822         * javax/swing/plaf/metal/MetalLookAndFeel.java
10823         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10825         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10826         Implement "clearing" as drawing, when on pixmap drawables.
10827
10828         * javax/swing/JButton.java (getUIClassID): 
10829         * javax/swing/JCheckBox.java (getUIClassID):
10830         * javax/swing/JEditorPane.java (getUIClassID):
10831         * javax/swing/JLabel.java (getUIClassID): 
10832         * javax/swing/JList.java (getUIClassID): 
10833         * javax/swing/JOptionPane.java (getUIClassID): 
10834         * javax/swing/JPanel.java (getUIClassID): 
10835         * javax/swing/JPasswordField.java (uiClassID): 
10836         * javax/swing/JRadioButton.java (getUIClassID): 
10837         * javax/swing/JRootPane.java (getUIClassID): 
10838         * javax/swing/JScrollPane.java (getUIClassID): 
10839         * javax/swing/JTabbedPane.java (getUIClassID): 
10840         * javax/swing/JToggleButton.java (getUIClassID): 
10841         * javax/swing/JTree.java (getUIClassID): 
10842         * javax/swing/JViewport.java (getUIClassID): 
10843         * javax/swing/text/JTextComponent.java (getUIClassID):
10844         Return "fooUI" not "Jfoo"
10845
10846 2004-02-11  Michael Koch  <konqueror@gmx.de>
10847
10848         * java/net/DatagramSocket.java
10849         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10850         Boolean object.
10851         (setBroadcast): Likewise.
10852         * java/net/MulticastSocket.java
10853         (setLoopbackMode): Likewise.
10854         * java/net/ServerSocket.java
10855         (setReuseAddress): Likewise.
10856         * java/net/Socket.java
10857         (setTcpNoDelay): Likewise.
10858         (setSoLinger): Likewise.
10859         (setOOBInline): Likewise.
10860         (setKeepAlive): Likewise.
10861         (setReuseAddress): Likewise.
10862         * java/net/URLConnection.java
10863         (setContentHandler): Replace == with equals().
10864         * java/net/URLStreamHandler.java
10865         (hostSEquals): Fix checking host addresses.
10866         (toExternalForm): Dont check protocol for null. We know already its
10867         not null.
10868
10869 2004-02-10  David Jee  <djee@redhat.com>
10870
10871         * java/awt/BorderLayout.java
10872         (calcCompSize): Invisible components get zero dimensions.
10873         * java/awt/Button.java
10874         (setLabel): Set actionCommand.
10875         * java/awt/Component.java
10876         (show): Invalidate component and parent container.
10877         (hide): Likewise.
10878
10879 2004-02-10  David Jee  <djee@redhat.com>
10880
10881         * java/awt/GridBagLayout.java
10882         (GridBagLayout): New private field, internalcomptable.
10883         (lookupInternalConstraints): New method.
10884         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10885         (GetLayoutInfo): Reimplement.
10886         (calcCellSizes): Ignore rows/columns with size 0.
10887
10888 2004-02-10  Michael Koch  <konqueror@gmx.de>
10889
10890         * gnu/java/awt/EmbeddedWindow.java
10891         (setHandle): Use java.awt.Component.getPeer() instead of
10892         java.awt.Component.peer directly.
10893
10894 2004-02-10  David Jee  <djee@redhat.com>
10895
10896         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10897         (gtkSetLabel): New native method definition.
10898         (setLabel): Use gtkSetLabel.
10899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10900         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10901
10902 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10903
10904         * include/powerpc-signal.h: Revert 2004-01-21 change.
10905         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10906         from syscall for ppc32 versions.
10907
10908 2004-02-08  Per Bothner  <per@bothner.com>
10909
10910         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10911         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10912         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10913         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10914         Pass ByteOrder parameter to most methods, since the underlying
10915         ByteBuffer's order isn't always what we should use.
10916         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10917         * java/nio/DirectByteBufferImpl.java:  Likewise.
10918         Use ByteBufferHelper methods.
10919         * java/nio/MappedByteBufferImpl.java:  Likewise.
10920         (compact):  Use shiftDown.
10921         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10922         (get, put):  Use ByteBufferHelper.
10923         (compact):  Use new shiftDown method.
10924         (duplicate(boolean)):  New helper method.
10925         (duplicate, asReadOnlyBuffer):  Use it.
10926         (order):  Return endian field.
10927         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10928         * java/nio/FloatViewBufferImpl.java:  Likewise.
10929         * java/nio/IntViewBufferImpl.java:  Likewise.
10930         * java/nio/LongViewBufferImpl.java:  Likewise.
10931         * java/nio/ShortViewBufferImpl.java:  Likewise.
10932         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10933         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10934         (compact):  Re-implement using shiftDown.
10935
10936 2004-02-08  Andreas Jaeger  <aj@suse.de>
10937
10938         * include/x86_64-signal.h: Fix typo.
10939
10940 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10941
10942         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10943         qualifier to _regs.
10944         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10945
10946 2004-02-06  Michael Koch  <konqueror@gmx.de>
10947
10948         * java/io/ObjectInputStream.java
10949         (currentClassLoader): Reverted to old version of this method.
10950
10951 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10952
10953         * java/io/ObjectInputStream.java: Made all calls
10954         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10955         use cached info from ObjectStreamClass. (readClassDescriptor):
10956         Cache more information in ObjectStreamClass. (processResolution,
10957         readFields): Use cached info from ObjectStreamClass.
10958         (newObject): Throw exception instead of returning null for failure.
10959         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10960         setCharField, setDoubleField, setFloatField, setIntField,
10961         setLongField, setShortField, setObjectField, readObjectParams):
10962         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10963         check.
10964         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10965         (setClass): Added call to cacheMethods() (findMethod): New method.
10966         (cacheMethods): New method. (ObjectStreamClass): Added call to
10967         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10968         AccessController.doPrivileged to invoke setAccessible.
10969         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10970         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10971         New fields.
10972         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10973         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10974         isPrimitive): Made safe for cases where type == null.
10975         (setBooleanField, setByteField, setCharField, setShortField,
10976         setIntField, setLongField, setFloatField, setDoubleField,
10977         setObjectField): New methods.
10978
10979 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10980
10981         * java/awt/Component.java (getFont): Return a default font
10982         instead of null.
10983
10984         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10985         (Scrollbar (int, int, int, int, int)): Make default page
10986         increment 10.
10987         (setValues): Only call peer.setValues if one of the values has
10988         changed.
10989         (generateName): New method.
10990         (getUniqueLong): New method.
10991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10992         (range_scrollbar): Remove structure.
10993         (post_adjustment_event): Remove function.
10994         (post_change_event): Accept jobject argument.
10995         (create): Cast jints to gdoubles.  Round scrollbar values to the
10996         nearest integer.  Clamp min, max and value settings.
10997         (connectJObject): Connect hook to widget->window.
10998         (connectSignals): Remove range_scrollbar structure variables.
10999         Remove "move-slider" connection.  Pass global peer reference to
11000         "value-changed" callback.
11001         (setLineIncrement): Cast jint value to gdouble.
11002         (setPageIncrement): Likewise.
11003         (setValues): Likewise.  Clamp min, max and value settings.
11004
11005 2004-02-05  Michael Koch  <konqueror@gmx.de>
11006
11007         * javax/swing/AbstractCellEditor.java
11008         (getCellEditorValue): Removed.
11009         * javax/swing/Box.java: Reformated.
11010         (serialVersionUID): New field.
11011         * javax/swing/ButtonGroup.java:
11012         Removed some weird whitespace.
11013         * javax/swing/CellEditor.java: Reformated.
11014         * javax/swing/CellRendererPane.java
11015         (serialVersionUID): New field.
11016         (AccessibleCellRendererPaneserialVersionUID): New field.
11017         * javax/swing/DefaultListModel.java
11018         (serialVersionUID): New field.
11019         * javax/swing/JEditorPane.java
11020         (serialVersionUID): New field.
11021         (setPage): Throws IOException.
11022         (addHyperlinkListener): Implemented.
11023         (removeHyperlinkListener): Implemented.
11024         (getHyperlinkListener): New method.
11025         * javax/swing/JFileChooser.java
11026         (serialVersionUID): New field.
11027         (AccessibleJFileChooser.serialVersionUID): New field.
11028         (addActionListener): Implemented.
11029         (removeActionListener): Implemented.
11030         (getActionListeners): New method.
11031         * javax/swing/JFormattedTextField.java
11032         (serialVersionUID): New field.
11033         (AbstractFormatter.serialVersionUID): New field.
11034         (clone): Throws CloneNotSupportedException
11035         (setEditValid): Add missing argument.
11036         (stringToValue): Throws ParseExcpetion.
11037         (valueToString): Throws ParseException.
11038         (commitEdit): Throws ParseException.
11039         * javax/swing/JLabel.java
11040         (serialVersionUID): New field.
11041         * javax/swing/JList.java
11042         (serialVersionUID): New field.
11043         (addListSelectionListener): Reformated.
11044         (removeListSelectionListener): Reformated.
11045         (getListSelectionListeners): New method.
11046         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11047         Reformated.
11048         (serialVersionUID): New field.
11049         * javax/swing/table/AbstractTableModel.java
11050         (getValueAt): Removed.
11051         (getColumnCount): Removed.
11052         (getRowCount): Removed.
11053
11054 2004-02-05  Michael Koch  <konqueror@gmx.de>
11055
11056         * java/awt/datatransfer/DataFlavor.java
11057         (imageFlavor): Javadoc added.
11058         (javaJVMLocalObjectType): Fixed.
11059
11060 2004-02-05  Michael Koch  <konqueror@gmx.de>
11061
11062         * java/lang/Thread.java
11063         (Thread): Reordered.
11064         (setContextClassLoader): Fixed javadoc comment.
11065         (setPriority): Reordered.
11066         (yield): Reordered.
11067         (initialize_native): Reordered.
11068         (gen_name): Reordered.
11069
11070 2004-02-05  Michael Koch  <konqueror@gmx.de>
11071
11072         * java/lang/Thread.java: Reordered fields, reformated much code,
11073         no functional changes, some variables renamed, javadoc comments
11074         merged.
11075
11076 2004-02-05  Michael Koch  <konqueror@gmx.de>
11077
11078         * java/util/zip/Deflater.java,
11079         java/util/zip/DeflaterOutputStream.java,
11080         java/util/zip/GZIPInputStream.java:
11081         Reformated and javadoc comments merged from classpath.
11082
11083 2004-02-05  Michael Koch  <konqueror@gmx.de>
11084
11085         * gnu/java/nio/NIOServerSocket.java
11086         (impl): Unused, removed.
11087         * gnu/java/nio/SocketChannelImpl.java
11088         (finnishConnect): Don't throw NoConnectionPendingException if not
11089         connected or no connection pending.
11090
11091 2004-02-02  Graydon Hoare  <graydon@redhat.com>
11092
11093         * javax/swing/SwingUtilities.java: Many new functions.
11094         * java/awt/Container.java (LightweightDispatcher): Reimplement.
11095         * javax/swing/basic/BasicGraphicsUtils.java 
11096         (getPreferredButtonSize): Start layout from top-left corner.
11097
11098 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
11099
11100         * java/awt/geom/AffineTransform.java: 
11101         Corrected comments on the field definitions for
11102         m11 and m10.
11103         (shear): Fixed few errors that caused shear
11104         transformation to be performed incorrectly.
11105         (createInverse): Fixed to return correct
11106         inverse of the given matrix.
11107
11108 2004-02-03  Tom Tromey  <tromey@redhat.com>
11109
11110         * java/lang/natPosixProcess.cc (startProcess): Handle case where
11111         PATH or LD_LIBRARY_PATH is not set in parent environment.
11112
11113 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
11114
11115         * gnu/java/awt/peer/gtk/GtkListPeer.java,
11116         java/awt/BorderLayout.java, java/awt/CardLayout.java,
11117         java/awt/CheckboxGroup.java, java/awt/Choice.java,
11118         java/awt/Component.java, java/awt/Container.java,
11119         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11120         java/awt/LayoutManager2.java, java/awt/List.java,
11121         java/awt/Menu.java, java/awt/MenuBar.java,
11122         java/awt/MenuItem.java, java/awt/Polygon.java,
11123         java/awt/Rectangle.java, java/awt/ScrollPane.java,
11124         java/awt/Scrollbar.java, java/awt/TextArea.java,
11125         java/awt/TextField.java,
11126         java/awt/image/renderable/RenderContext.java,
11127         javax/swing/JApplet.java: Fix handling of alias methods, where a
11128         method has been deprecated in favour of a new one with the same
11129         funtion but a different name.  Put the method implementation in
11130         the deprecated method and have the new method call the
11131         deprecated one.  Make all other code call the new method.
11132
11133 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
11134
11135         * gnu/java/nio/DatagramChannelImpl.java
11136         (inChannelOperation): New field.
11137         (isInChannelOperation): New accessor.
11138         (setInChannelOperation): New modifier.
11139         (receive): Use capacity() - position() of destination
11140         buffer instead of remaining(). Set and reset our "in
11141         channel operation indicator" before and after delegating
11142         the receive to our datagram socket. Removed testing code.
11143         Update destination buffer's current position if it is
11144         backed by a byte array (hasArray() is true).
11145         (send): Set and reset our "in channel operation indicator"
11146         before and after delegating the send to our datagram socket.
11147         Removed testing code. Update source buffer's current position
11148         if it is backed by a byte array (hasArray() is true).
11149         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11150         Use capacity() - position() of destination buffer instead
11151         of remaining().
11152         * java/net/DatagramSocket.java (receive): Don't throw an
11153         IllegalBlockingModeException if we have a non-blocking
11154         channel which initiated this operation.
11155         (send): Likewise.
11156
11157 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
11158
11159         * configure.in: Add pkgconfig check for glib and gthread.
11160         * configure: Regenerate.
11161
11162 2004-02-01  Michael Koch  <konqueror@gmx.de>
11163
11164         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11165         arguments.
11166         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11167         * verify.cc (debug_print): Mark 'fmt' unused.
11168
11169 2004-01-30  Michael Koch  <konqueror@gmx.de>
11170
11171         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11172         * configure: Regenerated.
11173         * glib-2.0.m4: Removed.
11174         * gtk-2.0.m4: Removed.
11175         * libart.m4: Removed.
11176         * pkg.m4: New file.
11177
11178 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
11179
11180         * gnu/java/net/PlainSocketImpl.java 
11181         (inChannelOperation): New field.
11182         (isInChannelOperation): New accessor.
11183         (setInChannelOperation): New modifier.
11184         * gnu/java/nio/ServerSocketChannelImpl.java
11185         (accept): Set and reset our server socket's PlainSocketImpl's
11186         "in channel operation" indicator before and after delegating
11187         the accept to our server socket.
11188         * gnu/java/nio/SocketChannelImpl.java
11189         (connect): Set and reset our socket's PlainSocketImpl's "in channel
11190         operation" indicator before and after delegating the operation to
11191         our socket.
11192         (read): Likewise.
11193         (write): Likewise.
11194         * java/net/ServerSocket.java (implAccept): Don't throw an
11195         IllegalBlockingModeException if we have a non-blocking
11196         channel which initiated this accept operation.
11197         * java/net/Socket.java (connect): Don't throw an
11198         IllegalBlockingModeException if we have a non-blocking
11199         channel which initiated this connect operation.
11200         * java/nio/channels/spi/AbstractSelectableChannel.java
11201         (configureBlocking): Only call implConfigureBlocking() if
11202         the desired blocking mode is different from our current one.
11203
11204 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
11205
11206         * java/io/BufferedReader.java (sbuf): New field.
11207         (readLine): Use String.valueOf instead of new String() as per
11208         Per Bothner's suggestion. Use instance sbuf field instead of a
11209         local StringBuffer instance.
11210         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
11211         caller's buffer to refill().
11212         (read(void)): Pass our internal work buffer to refill if our
11213         input queue is empty.
11214         (refill): Changed return type to int. Use the specified buffer
11215         instead of our work buffer as per Bryce McKinlay's suggestion.
11216         Return the number of characters read or -1 for EOF.
11217
11218 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11219
11220         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11221
11222 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11223
11224         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11225         * Makefile.in: Re-generated.
11226         * gnu/awt/xlib/XFontPeer.java: New file.
11227         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11228         (setClip): Commented out debug printout.
11229         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11230         (getFontPeer): Return XFontPeer.
11231         (getLocalGraphicsEnvironment): New method.
11232         (getClasspathFontPeer): New method.
11233         (createFont): New method.
11234
11235 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11236
11237         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11238         return null. 
11239
11240 2004-01-29  Kim Ho  <kho@redhat.com>
11241
11242         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11243         (gtkLayoutSetVisible): New method
11244         (setMenuBar): Hide layout before setting MenuBar
11245         and reshow it after.
11246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11247         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11248
11249 2004-01-28  Michael Koch  <konqueror@gmx.de>
11250
11251         * gnu/java/lang/ClassHelper.java
11252         (getPackagePortion): Removed.
11253
11254 2004-01-28  Michael Koch  <konqueror@gmx.de>
11255
11256         * javax/swing/JComponent.java
11257         (listenerList): Initalize globally.
11258         (ancestor_list): Removed.
11259         (veto_list): Removed.
11260         (change_list): Removed.
11261         (get_veto_list): Removed.
11262         (get_change_list): Removed.
11263         (get_ancestor_list): Removed.
11264         (removeAncestorListener): Reimplemented.
11265         (removePropertyChangeListener): Likewise.
11266         (removeVetoableChangeListener): Likewise.
11267         (addAncestorListener): Likewise.
11268         (addPropertyChangeListener): Likewise.
11269         (addVetoableChangeListener): Likewise.
11270         (getListeners): New method.
11271         (getAncestorListeners): Likewise.
11272         (getVetoableChangeListeners): Likewise.
11273         (fireVetoableChange): Throws PropertyVetoException.
11274         * javax/swing/JEditorPane.java
11275         (JEditorPane): Throws IOException.
11276
11277 2004-01-28  David Jee  <djee@redhat.com>
11278
11279         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11280         (create): Set the default foreground color to
11281         java.awt.SystemColor.windowText.
11282
11283 2004-01-27  Michael Koch  <konqueror@gmx.de>
11284
11285         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11286         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11287         Reindented to merge with classpath.
11288
11289 2004-01-27  David Jee  <djee@redhat.com>
11290
11291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11292         (addExposeFilter): Handle GtkFramePeer separately.
11293         (removeExposeFilter): Likewise.
11294
11295 2004-01-27  Michael Koch  <konqueror@gmx.de>
11296
11297         * gnu/java/net/protocol/http/Connection.java
11298         (getOutputStream): Fixed typo.
11299
11300 2004-01-27  Michael Koch  <konqueror@gmx.de>
11301
11302         * java/lang/Class.java
11303         (getConstructor): Removed SecurityException from throws clause.
11304         (_getConstructors): Likewise.
11305         (getConstructors): Likewise.
11306         (getDeclaredConstructor): Likewise.
11307         (getDeclaredClasses): Likewise.
11308         (getDeclaredConstructors): Likewise.
11309         (getDeclaredField): Likewise.
11310         (getDeclaredMethod): Likewise.
11311         (getDeclaredMethods): Likewise.
11312         (getField): Likewise.
11313         (getMethod): Likewise.
11314         (getMethods): Likewise.
11315
11316 2004-01-27  Kim Ho  <kho@redhat.com>
11317
11318         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11319         (removeMenuBarPeer): Remove MenuBarPeer argument.
11320         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11321         (dispose): Call native method.
11322         * java/awt/Frame.java (setMenuBar): Create and remove
11323         MenuBar peers only if the Frame has a peer.
11324         (addNotify): Create the MenuBar peer if one exists.
11325         (removeNotify): Remove MenuBar peer if one exists.
11326         * java/awt/Menu.java: Fix imports.
11327         (addNotify): Don't use full class name.
11328         (removeNotify): Call removeNotify on all children.
11329         * java/awt/MenuBar.java (removeNotify): Call
11330         removeNotify on all children.
11331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11332         (removeMenuBarPeer): Remove MenuBarPeer argument.
11333         Iterate through children to find the Frame's MenuBar.
11334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11335         New file.
11336         (dispose): Remove references to the MenuComponent.
11337
11338 2004-01-27  Michael Koch  <konqueror@gmx.de>
11339
11340         * javax/swing/AbstractCellEditor.java: Reformated.
11341         * javax/swing/DefaultListSelectionModel.java
11342         (listenerList): Made protected.
11343         (addListSelectionListener): Javadoc added.
11344         (removeListSelectionListener): Likewise.
11345         (getListeners): Likewise.
11346         (getListSelectionListeners): Likewise.
11347         * javax/swing/JComboBox.java: Merged copyright year.
11348         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11349
11350 2004-01-26  Andrew Haley  <aph@redhat.com>
11351
11352         * javax/swing/table/JTableHeader.java: Extend JComponent
11353
11354 2004-01-26  Kim Ho  <kho@redhat.com>
11355
11356         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11357         Fix spacing.
11358
11359 2004-01-26  Kim Ho  <kho@redhat.com>
11360
11361         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11362         method.
11363         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11364         height and let the Layout Managers readjust anything that
11365         needs to move.
11366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11367         (moveLayout): New method. Shift everything in the Gtk
11368         layout in the Y direction by an offset.
11369
11370 2004-01-26  David Jee  <djee@redhat.com>
11371
11372         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11373         (handleEvent): Implemented. Handles PaintEvents.
11374         (paint): Implemented. Use GTK native methods to queue updates
11375         for this heavyweight peer.
11376         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11377         (handleEvent): Removed.
11378         * java/awt/Component.java
11379         (paint): Implemented. Explictly paint the heavyweight peer.
11380         (update): Clear the background for heavyweight components.
11381         (paintAll): No need to call peer.paint() anymore.
11382         (processEvent): Don't process PaintEvents here. It's now done in
11383         the peer's handleEvent().
11384         (processPaintEvent): Removed.
11385         * java/awt/Container.java
11386         (paint): No need to call super.paint(). Visit heavyweight
11387         children as well.
11388         (update): Don't clear the background here.  It's done in
11389         Component.update().
11390         (visitChildren): Added check to not recurse into Containers.
11391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11392         (filter_expose_event_handler): New method.  Filter unwanted
11393         expose events while painting heavyweight peers.
11394         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11395         New method. Connect filter and block pre_event_handler.
11396         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11397         New method. Disconnect filter and unblock pre_event_handler.
11398         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11399         New method. Invalidate and update given area.
11400         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11401         (pre_event_handler): Add checks for unwanted expose events.
11402
11403 2004-01-26  David Jee  <djee@redhat.com>
11404
11405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11406         (find_bg_color_widget): For GtkButton, return its child.
11407
11408 2004-01-26  Kim Ho  <kho@redhat.com>
11409
11410         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11411         private.
11412         (setMenuBar): Grab MenuBar height and change insets.
11413         (setBounds): Account for MenuBar height.
11414         (postInsetsChangedEvent): Ditto.
11415         (postSizeAllocateEvent): Remove.
11416         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11417         (menubar_resize_cb): Remove
11418         (setMenuBarPeer): Remove callback.
11419         (getMenuBarHeight): Use size requisition instead of
11420         allocation.
11421
11422 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11423
11424         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11425         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11426         when peer is null.
11427         (setColumns): Remove FIXME -- peer will retrieve number of
11428         columns by calling getColumns.
11429         (setRows): Likewise for number of rows.
11430         (next_text_number): New field.
11431         (paramString): Fix param string.
11432         (generateName): New method.
11433         (getUniqueLong): New method.
11434
11435 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11436
11437         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11438         image observer of image loading status.
11439         (getImage (String)): Start image production.
11440         (getImage (URL)): Likewise.
11441
11442 2004-01-25  Michael Koch  <konqueror@gmx.de>
11443
11444         * java/lang/Class.java: Imports reworked, reformated.
11445         (Class): Javadoc added.
11446         (forName): Likewise.
11447         (getClasses): Likewise.
11448         (getClassLoader): Likewise.
11449         (getComponentType): Likewise.
11450         (getConstructor): Likewise.
11451         (getConstructors): Likewise.
11452         (getDeclaredConstructor): Likewise.
11453         (getDeclaredClasses): Likewise.
11454         (getDeclaredConstructors): Likewise.
11455         (getDeclaredField): Likewise.
11456         (getDeclaredMethod): Likewise.
11457         (getDeclaredMethods): Likewise.
11458         (getDeclaringClass): Likewise.
11459         (getField): Likewise.
11460         (getInterfaces): Likewise.
11461         (getMethod): Likewise.
11462         (getMethods): Likewise.
11463         (getModifiers): Likewise.
11464         (getName): Likewise.
11465         (getResource): Likewise.
11466         (getResourceAsStream): Likewise.
11467         (getSigners): Likewise.
11468         (setSigners): Likewise.
11469         (getSuperclass): Likewise.
11470         (isArray): Likewise.
11471         (isAssignableFrom): Likewise.
11472         (isInstance): Likewise.
11473         (isInterface): Likewise.
11474         (isPrimitive): Likewise.
11475         (newInstance): Likewise.
11476         (getProtectionDomain): Likewise.
11477         (toString): Likewise.
11478         (Class): Moved.
11479         (initializeClass): Likewise.
11480         (finalize): Likewise.
11481
11482 2004-01-24  Michael Koch  <konqueror@gmx.de>
11483
11484         * gnu/java/net/protocol/jar/Connection.java
11485         (hdrHash): Removed.
11486         (hdrVec): Removed.
11487         (gotHeaders): Removed.
11488         (getHeaderField): Removed.
11489         (getHeaderFields): Removed.
11490         (getHeaderFieldKey): Removed.
11491         (getKey): Removed.
11492         (getField): Removed.
11493         (getHeaders): Removed.
11494
11495 2004-01-24  Michael Koch  <konqueror@gmx.de>
11496
11497         * Makefile.am: Added library version to gtk peer lib.
11498         * Makefile.in: Regenerated.
11499
11500 2004-01-24  Michael Koch  <konqueror@gmx.de>
11501
11502         * java/util/zip/InflaterInputStream.java: Merged class documentation
11503         with classpath.
11504
11505 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11506
11507         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11508         header.  For __powerpc64__ provide the default-signal.h definitions
11509         for now.
11510         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11511         instead of the dummy definitions.
11512         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11513         (powerpc64*-*): Remove with_libffi_default.
11514         Only add -mminimal-toc for 64-bit compilations.
11515         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11516         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11517         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11518         * configure: Rebuilt.
11519
11520 2004-01-23  Michael Koch  <konqueror@gmx.de>
11521
11522         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11523
11524 2004-01-23  Michael Koch  <konqueror@gmx.de>
11525
11526         * java/lang/VMClassLoader.java: Reworked imports.
11527         
11528 2004-01-23  Michael Koch  <konqueror@gmx.de>
11529
11530         * javax/swing/AbstractAction.java: Reformated.
11531
11532 2004-01-23  Michael Koch  <konqueror@gmx.de>
11533
11534         * java/text/CollationElementIterator.java:
11535         (setText): New method.
11536
11537 2004-01-23  Michael Koch  <konqueror@gmx.de>
11538
11539         * gnu/java/nio/FileLockImpl.java:
11540         Fixed filename in copyright.
11541         (released): Removed.
11542         (finalize): New method.
11543         * gnu/java/nio/natFileLockImpl.cc
11544         (releaseImpl): Implemented.
11545         * java/nio/channels/FileChannelImpl.java:
11546         Reworked imports.
11547         (lock): Implemented.
11548         (lockImpl): New method.
11549         (tryLock): Implemented.
11550         (tryLockImpl): New method.
11551         * java/nio/channels/natFileChannelImpl.cc
11552         (lockImpl): New method.
11553         (tryLockImpl): New method.
11554
11555 2004-01-23  Michael Koch  <konqueror@gmx.de>
11556
11557         * java/io/FileDescriptor.java
11558         (lock): New method.
11559         (tryLock): New method.
11560         (unlock): New method.
11561         * java/io/natFileDescriptorEcos.cc
11562         (lock): New method.
11563         (tryLock): New method.
11564         (unlock): New method.
11565         * java/io/natFileDescriptorPosix.cc
11566         (lock): New method.
11567         (tryLock): New method.
11568         (unlock): New method.
11569         * java/io/natFileDescriptorWin32.cc
11570         (lock): New method.
11571         (tryLock): New method.
11572         (unlock): New method.
11573
11574 2004-01-23  Michael Koch  <konqueror@gmx.de>
11575
11576         * java/io/FileDescriptor.java
11577         (sync): Moved around, added javadoc.
11578         (valid): Likewise.
11579         (open): Likewise.
11580         (write): Likewise.
11581         (close): Likewise.
11582         (setLength): Likewise.
11583         (seek): Likewise.
11584         (getLength): Likewise.
11585         (getFilePointer): Likewise.
11586         (read): Likewise.
11587         (available): Likewise.
11588         (finalize): Likewise.
11589
11590 2004-01-23  Michael Koch  <konqueror@gmx.de>
11591
11592         * javax/swing/AbstractAction.java: Reformated.
11593         (getPropertyChangeListeners): New method.
11594         * javax/swing/AbstractCellEditor.java: Reformated.
11595         (getCellEditorListeners): New method.
11596         * javax/swing/DefaultListSelectionModel.java
11597         (listenerList): New field.
11598         (listeners): Removed.
11599         (get_listeners): Removed.
11600         (addListSelectionListener): Rewritten.
11601         (removeListSelectionListener): Rewritten.
11602         (getListSelectionListeners): New method.
11603         (getListeners): New method.
11604         * javax/swing/JComboBox.java: Imports reworked.
11605         (addActionListener): Implemented.
11606         (removeActionListener): Implemented.
11607         (addItemListener): Implemented.
11608         (removeItemListener): Implemented.
11609         (addPopupMenuListener): Implemented.
11610         (removePopupMenuListener): Implemented.
11611         (getActionListeners): New method.
11612         (getItemListeners): New method.
11613         (getPopupMenuListeners): New method.
11614
11615 2004-01-23  Michael Koch  <konqueror@gmx.de>
11616
11617         * gnu/java/net/protocol/http/Connection.java
11618         (connect): Don't initialize bufferedOutputStream if not needed.
11619         (sendRequest): Set property for content length if content is present.
11620         Write content only if present.
11621         (getOutputStream): Check if already connected, dont connect,
11622         initalize bufferedOutputStream if needed.
11623
11624 2004-01-23  Michael Koch  <konqueror@gmx.de>
11625
11626         * java/io/FileDescriptor.java
11627         (in, out, err): Added javadoc.
11628         (static): Merged loading code.
11629         (fd, position): Moved around.
11630
11631 2004-01-23  Michael Koch  <konqueror@gmx.de>
11632
11633         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11634         New file.
11635
11636 2004-01-23  Michael Koch  <konqueror@gmx.de>
11637
11638         * java/lang/Class.java,
11639         java/lang/Object.java,
11640         java/lang/Thread.java: Merged copyright with classpath.
11641
11642 2004-01-23  Michael Koch  <konqueror@gmx.de>
11643
11644         * java/io/FileDescriptor.java: Merged copyright with classpath to
11645         start merging this class.
11646
11647 2004-01-22  Tom Tromey  <tromey@redhat.com>
11648
11649         PR libgcj/13107:
11650         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11651         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11652         * testsuite/libjava.lang/pr13107_3.java: New file.
11653         * testsuite/libjava.lang/pr13107_3.out: New file.
11654         * testsuite/libjava.lang/pr13107_2.java: New file.
11655         * testsuite/libjava.lang/pr13107_2.out: New file.
11656         * testsuite/libjava.lang/pr13107.java: New file.
11657         * testsuite/libjava.lang/pr13107.out: New file.
11658         * verify.cc (jsr_ptrs): Removed.
11659         (entry_points): Likewise.
11660         (struct subr_info): Likewise.
11661         (struct subr_entry_info): Likewise.
11662         (type_val::unused_by_subroutine_type): Likewise.
11663         (type::merge): Don't handle unused_by_subroutine_type.
11664         (type::print): Likewise.
11665         (state::flags): Removed.
11666         (state::subroutine): Likewise.
11667         (state::seen_subrs): Likewise.
11668         (state::NO_STACK): Likewise.
11669         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11670         (state): Updated all methods.
11671         (state::clean_subrs): Removed.
11672         (state::state): Removed `ret_semantics' flag.
11673         (state::copy): Likewise.
11674         (state::add_subr): Removed.
11675         (state::enter_subroutine): Likewise.
11676         (type::set_return_address): New method.
11677         (handle_jsr_insn): Set return address on the type.  Always
11678         invalidate PC after call.
11679         (check_nonrecursive_call): Removed.
11680         (~_Jv_BytecodeVerifier): Updated.
11681         (branch_prepass): Removed special handling of jsr.
11682         (note_branch_target): Likewise.
11683         (get_subroutine): Removed.
11684         (state::merge): Don't merge subroutines and don't handle
11685         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11686         (state::note_variable): Removed.
11687         (state::is_unmerged_ret_state): Likewise.
11688         (state::print): Updated.
11689         (set_variable): Likewise.
11690         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11691         and jsr_semantics arguments.  Updated for new reverification
11692         list.
11693         (pop_jump): Rewrote.
11694         (construct_primitive_array_type): Updated.
11695         (state::next): Removed.
11696         (INVALID_STATE): New define.
11697         (state::INVALID): Removed.
11698         (state::NO_NEXT): New value.
11699         (state::pc, state::next): New fields.
11700         (state::get_pc): New method.
11701         (next_verify_pc): Removed.
11702         (next_verify_state): New field.
11703         (verify_instructions_0): Always check for falling off end.
11704         (linked): New type.
11705         (linked_utf8): Removed.
11706         (states): Changed type.
11707         (type::state_mergeable_p): New method.
11708         (state::state_mergeable_p): Likewise.
11709         (handle_ret_insn): Removed most code.
11710         (state::reverify): New method.
11711         (add_new_state): Likewise.
11712         (state::set_pc): Likewise.
11713
11714 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11715
11716         PR java/13733
11717         * testsuite/libjava.compile/PR13733.java: New file.
11718         * testsuite/libjava.compile/PR13733.xfail: New file.
11719
11720 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11721             Michael Koch  <konqueror@gmx.de>
11722
11723         * javax/swing/table/DefaultTableCellRenderer.java
11724         (DefaultTableCellRenderer): Added javadoc for the class and for
11725         the constructor, Border instance, create an EmptyBorder.
11726         (UIResource): Removed the comment at the end of the class
11727         (setForeground): New method.
11728         (setBackground): New method.
11729         (updateUI): New method.
11730         (getTableCellRendererComponent): Rewritten with the help of
11731         dvholten and Stephane Meslin-Weber.
11732         (validate): New method.
11733         (repaint): New method.
11734         (firePropertyChange): New method.
11735         (setValue): New method.
11736
11737 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11738
11739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11740         (connectJObject): Replace printf calls with g_assert statements.
11741         Move property-notify-event signal connection to ...
11742         (connectSignals): Connect property-notify-event signal.  Iterate
11743         through the vbox's children to find layout.
11744
11745 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11746         
11747         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11748         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11749         Predicate static initialization on GtkToolkit.useGraphics2D().
11750         * java/awt/Component.java (processPaintEvent): Consume event.
11751         * javax/swing/AbstractButton.java: Reimplement, document.
11752         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11753         * javax/swing/JComponent.java (paint): Use double buffer.
11754         (listenerList): Enable member.
11755         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11756         * javax/swing/JToggleButton.java 
11757         (JToggleButton): Modify model constructor.
11758         * javax/swing/SwingUtilities.java 
11759         (layoutCompoundLabel): Adjust arithmetic.
11760         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11761         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11762         (getPreferredButtonSize): Include margins in calculation.
11763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11764         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11765         Receive up events from subordinate layout component.
11766
11767 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11768
11769         * java/awt/Component.java (show): Set visible to true before
11770         showing the peer.
11771
11772 2004-01-21  Kim Ho  <kho@redhat.com>
11773
11774         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11775         Fix comments.
11776         (removeMenuBarPeer): Make package private.
11777         (setMenuBarPeer): Make package private.
11778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11779         (menubar_resize_cb): Mark attributes unused.
11780         (getMenuBarHeight): ditto.
11781
11782 2004-01-21  David Jee  <djee@redhat.com>
11783
11784         * java/awt/Container.java
11785         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11786         dispatching MOUSE_ENTERED event twice. Translate the point for
11787         the mouse event target before dispatching the event.
11788
11789 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11790
11791         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11792         lib_org_w3c_dom_la_LDFLAGS): New.
11793         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11794         * Makefile.in: Rebuilt.
11795
11796 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11797
11798         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11799         Calculate proper offsets for heavyweight components packed in
11800         lightweight containers.
11801
11802         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11804         (native create): Add width parameter.
11805         (create): Calculate text entry width based on current font's
11806         metrics and number of columns.  Set TextField's font if not
11807         already set.  Call native create.
11808         (gtkEntryGetBorderWidth): New native method.
11809         (gtkEntryGetSize): Remove method.
11810         (getMinimumSize): Call minimumSize.
11811         (getPreferredSize): Call preferredSize.
11812         (minimumSize): Calculate minimum size based on backing
11813         GtkEntry's borders, font metrics and number of columns.
11814         (preferredSize): Likewise for preferred size.
11815         (get_border_width): New static function.
11816
11817         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11818         Override GtkWindowPeer's setResizable method to account for menu
11819         bar height when setting the frame's size.
11820
11821 2004-01-19  Matthias Klose  <doko@debian.org>
11822
11823         * libtool-version: Increased `current' to 6.
11824
11825 2004-01-19  Kim Ho  <kho@redhat.com>
11826
11827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11828         (connectJObject): Iterate through the vbox's children to find layout.
11829
11830 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11831
11832         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11833         isDispatchThread method to replace wrong test condition.
11834
11835 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11836
11837         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11838         events to the queue out of order by acquiring locks in the proper
11839         order and not by releasing one before acquiring the other.
11840
11841 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11842
11843         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11844         visible so that dialog can be reused.
11845
11846 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11847
11848         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11849         events may be handled by any queue in the stack.
11850
11851 2004-01-19  Kim Ho  <kho@redhat.com>
11852
11853         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11854         MenuBarPeer parameter.
11855         (removeMenuBarPeer): New native method.
11856         (setMenuBar): Call remove if menu bar is null. Adjust insets
11857         appropriately.
11858         (postSizeAllocateEvent): New method. Called when menu bar size is
11859         allocated. Adjust insets and redo layout.
11860         (GtkFramePeer): Set menu bar during frame creation.
11861         (postConfigureEvent): Adjust position and size to accomodate
11862         menu bar.
11863         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11864         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11865         (addNotify): Create the peer if it doesn't exist and call addNotify
11866         for the menu's items.
11867         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11868         * java/awt/MenuItem.java (addNotify): Create the peer if it
11869         doesn't exist.
11870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11871         (removeMenuBarPeer): New method. Remove menu bar on the current
11872         frame.
11873         (setMenuBarPeer): Add the menu bar to the current frame and the
11874         callback for size-allocate events on the menu bar.
11875         (getMenuBarHeight): Add menu bar parameter.
11876         (menubar_resize_cb): New callback method for postSizeAllocate events.
11877
11878         Also: Fix indentation on last ChangeLog entry.
11879
11880 2004-01-16  Kim Ho  <kho@redhat.com>
11881
11882         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11883         (gtkWidgetGetDimensions): Remove.
11884         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11885         (gtkWidgetGetDimensions): Remove.
11886
11887 2004-01-16  Tom Tromey  <tromey@redhat.com>
11888
11889         * java/awt/Container.java: Typo and indentation fixes.
11890
11891         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11892         * java/lang/natVMClassLoader.cc: ...here.  New file.
11893         * Makefile.in: Rebuilt.
11894         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11895
11896 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11897
11898         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11899         Discard GDK_ENTER_NOTIFY related to ungrabs.
11900
11901 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11902
11903         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11904         is called for an intermediate queue.
11905
11906 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11907
11908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11909         (window_property_changed_cb): Set id_set.
11910
11911 2004-01-16  Kim Ho  <kho@redhat.com>
11912
11913         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11914         it is a FileDialog and has dimensions of 0 by 0, then the initial
11915         size is set to size request plus insets.
11916         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11917         (gtkWidgetGetDimensions): Override method.
11918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11919         (gtkWidgetGetDimensions): Override method. Returns size request plus
11920         insets.
11921
11922 2004-01-16  Andrew Haley  <aph@redhat.com>
11923
11924         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11925         * sysdep/i386/locks.h: Likewise.
11926
11927 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11928
11929         * java/awt/EventDispatchThread.java (run): Stop running when
11930         interrupted.
11931         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11932         Reset the queue after transferring its contents.
11933         (push): Start a new dispatch thread if none is running.
11934
11935 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11936
11937         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11938         (doPolygon): set fill rule of polygon to 
11939         WIND_EVEN_ODD by default.
11940
11941 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11942
11943         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11944         Implemented rendering hints related methods.
11945         (getDefaultHints): New helper method. Returns
11946         default rendering hints.
11947         (walkPath): changed to normalize path if
11948         the KEY_STROKE_CONTROL key is in "normalize" mode.
11949         (draw3DRect): changed coordinates of rectangle by +0.5
11950         if in "normalize" mode.
11951
11952 2004-01-15  Tom Tromey  <tromey@redhat.com>
11953
11954         * Makefile.in: Rebuilt.
11955         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11956         (%.lo: %.java) Filter out StackTrace.lo.
11957
11958 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11959
11960         * configure.in: Add in AC_PREREQ(2.13)
11961         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11962         FIXME comment.
11963
11964 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11965             Tom Tromey  <tromey@redhat.com>
11966
11967         PR libgcj/12001:
11968         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11969         array to superclass.
11970         (init): Changed interface; add URLs here.
11971         (initialize): New static method.
11972         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11973         (_Jv_RunMain): ... not here.
11974
11975 2004-01-14  Michael Koch  <konqueror@gmx.de>
11976
11977         * java/text/MessageFormat.java:
11978         Added descriptions to exceptions.
11979         This fixes PR libgcj/2429.
11980
11981 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11982
11983         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11984         (push): Make sure push is performed at the top of the thread stack.
11985
11986 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11987
11988         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11989         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11990         (native create): Add width and height parameters.  Set text
11991         view's size request according to new parameters.
11992         (create): Calculate text view size based on current font's
11993         metrics and number of rows and columns.  Set TextArea's font if
11994         not already set.  Call native create.
11995         (getMinimumSize): Call minimumSize.
11996         (getPreferredSize): Call preferredSize.
11997         (getHScrollbarHeight): New method.
11998         (getVScrollbarWidth): New method.
11999         (minimumSize): Calculate minimum size based on scrollbar
12000         visibility, scrollbar sizes, font metrics and number of rows and
12001         columns.
12002         (preferredSize): Likewise for preferred size.
12003         (gtkTextGetSize): Remove method.
12004
12005 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
12006
12007         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
12008         (initializeInsets): Remove method.
12009         (GtkComponentPeer): Initialize insets field.  Remove call to
12010         initializeInsets.
12011         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
12012         Remove method.
12013         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
12014         Remove method.
12015         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
12016         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
12017         (latestInsets): Remove field.
12018         (native create): Add insets parameter.  Call
12019         window_get_frame_extents.  Set the window's default size and
12020         size request based on its frame extents.
12021         (create): Initialize insets.
12022         (postInsetsChangedEvent): New method.
12023         (postConfigureEvent): Remove parameters top, left, bottom,
12024         right.  Remove insets-related logic.
12025         (connectJObject): Handle property-notify-event.
12026         (window_get_frame_extents, request_frame_extents,
12027         property_notify_predicate, window_property_changed_cb): New
12028         static functions.
12029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12030         (pre_event_handler): Remove insets-related logic for configure
12031         events.
12032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
12033         Update postConfigureEvent signature.
12034
12035 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
12036  
12037         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
12038         to handle Window "Closing" events.
12039  
12040 2004-01-13  David Jee  <djee@redhat.com>
12041
12042         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12043         (setBackground): New method. Children with no explicitly-set
12044         background will be repainted with the parent container's new
12045         background color.
12046
12047 2004-01-13  David Jee  <djee@redhat.com>
12048
12049         * Makefile.am: Add BitwiseXORComposite.java.
12050         * Makefile.in: Regenerated.
12051         * gcj/Makefile.in: Regenerated.
12052         * include/Makefile.in: Regenerated.
12053         * testsuite/Makefile.in: Regenerated.
12054
12055 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12056
12057         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12058         not show modal dialogs twice and so that it allows showing a modal
12059         dialog from another modal dialog.
12060
12061 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
12062
12063         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12064         and run secondary dispatch thread to process event queue while this
12065         thread is blocked.
12066
12067 2004-01-12  Graydon Hoare  <graydon@redhat.com>
12068
12069         * gnu/java/awt/gtk/GdkGraphics2D.java
12070         (static): Check GtkToolkit before initializing static state.
12071         (Graphics2D): Don't construct transform with 0.5 unit offset.
12072
12073 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
12074
12075         * gnu/java/awt/BitwiseXORComposite.java: Add.
12076         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12077         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12078         (BitwiseXORComposite): Remove inner class.
12079
12080 2004-01-11  Michael Koch  <konqueror@gmx.de>
12081
12082         * gnu/java/lang/reflect/TypeSignature.java
12083         (getEncodingOfClass): Documentation fixed.
12084         (getClassForEncoding): Give class loader to Class.forName().
12085         Documentation fixed.
12086
12087 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
12088
12089         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12090
12091 2004-01-11  Michael Koch  <konqueror@gmx.de>
12092
12093         * javax/swing/undo/StateEditable.java
12094         (RCSID): Removed redundant modifiers.
12095
12096 2004-01-10  Michael Koch  <konqueror@gmx.de>
12097
12098         * javax/print/attribute/EnumSyntax.java
12099         (getStringTable): Made protected.
12100         (getEnumValueTable): Likewise.
12101         * javax/print/attribute/standard/JobKOctetsProcessed.java
12102         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12103         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12104         (JobMediaSheetsCompleted): Made class final.
12105         * javax/print/attribute/standard/OutputDeviceAssigned.java
12106         (getName): Fixed typo.
12107         * javax/print/attribute/standard/RequestingUserName.java
12108         (serialVersionUID): Fixed value.
12109
12110 2004-01-10  Michael Koch  <konqueror@gmx.de>
12111
12112         * javax/swing/plaf/basic/BasicButtonUI.java,
12113         javax/swing/plaf/basic/BasicCheckBoxUI.java,
12114         javax/swing/plaf/basic/BasicListUI.java,
12115         javax/swing/plaf/basic/BasicOptionPaneUI.java,
12116         javax/swing/plaf/basic/BasicPanelUI.java,
12117         javax/swing/plaf/basic/BasicRadioButtonUI.java,
12118         javax/swing/plaf/basic/BasicScrollPaneUI.java,
12119         javax/swing/plaf/basic/BasicToggleButtonUI.java,
12120         javax/swing/plaf/basic/BasicViewportUI.java:
12121         Fixed import statements.
12122
12123 2004-01-10  Michael Koch  <konqueror@gmx.de>
12124
12125         * gnu/java/awt/image/ImageDecoder.java
12126         (produce): Made public.
12127         * gnu/java/awt/peer/GLightweightPeer.java,
12128         gnu/java/awt/peer/gtk/GtkToolkit.java:
12129         Reformated.
12130
12131 2004-01-10  Michael Koch  <konqueror@gmx.de>
12132
12133         * javax/swing/JRadioButtonMenuItem.java,
12134         javax/swing/JSeparator.java,
12135         javax/swing/JSplitPane.java,
12136         javax/swing/JTextPane.java,
12137         javax/swing/JToolBar.java,
12138         javax/swing/ListCellRenderer.java,
12139         javax/swing/ListModel.java,
12140         javax/swing/MenuElement.java,
12141         javax/swing/OverlayLayout.java,
12142         javax/swing/ProgressMonitor.java,
12143         javax/swing/ProgressMonitorInputStream.java,
12144         javax/swing/Renderer.java,
12145         javax/swing/RootPaneContainer.java,
12146         javax/swing/Scrollable.java,
12147         javax/swing/SingleSelectionModel.java,
12148         javax/swing/ToolTipManager.java,
12149         javax/swing/ViewportLayout.java,
12150         javax/swing/event/DocumentEvent.java,
12151         javax/swing/event/SwingPropertyChangeSupport.java,
12152         javax/swing/event/TreeSelectionEvent.java,
12153         javax/swing/event/UndoableEditEvent.java,
12154         javax/swing/text/AbstractDocument.java,
12155         javax/swing/text/AttributeSet.java,
12156         javax/swing/text/Caret.java,
12157         javax/swing/text/ComponentView.java,
12158         javax/swing/text/DefaultCaret.java,
12159         javax/swing/text/DefaultEditorKit.java,
12160         javax/swing/text/Document.java,
12161         javax/swing/text/EditorKit.java,
12162         javax/swing/text/GapContent.java,
12163         javax/swing/text/Keymap.java,
12164         javax/swing/text/MutableAttributeSet.java,
12165         javax/swing/text/PlainEditorKit.java,
12166         javax/swing/text/Segment.java,
12167         javax/swing/text/Style.java,
12168         javax/swing/text/StyledDocument.java,
12169         javax/swing/text/StyledEditorKit.java,
12170         javax/swing/text/TextAction.java,
12171         javax/swing/text/View.java: Fixed import statements.
12172
12173 2004-01-08  Graydon Hoare  <graydon@redhat.com>
12174
12175         * javax/swing/JLayeredPane.java: Rewrite to accomodate
12176         djee@redhat.com's recent inverse ordering of Container elements.
12177
12178 2004-01-09  Michael Koch  <konqueror@gmx.de>
12179
12180         * gnu/java/lang/ArrayHelper.java
12181         (equalsArray): Removed.
12182
12183 2004-01-09  Andrew Haley  <aph@redhat.com>
12184
12185         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12186         a Utf8Const field before looking at its class.
12187
12188 2004-01-09  Michael Koch  <konqueror@gmx.de>
12189
12190         * javax/print/attribute/standard/DocumentName.java,
12191         javax/print/attribute/standard/JobHoldUntil.java,
12192         javax/print/attribute/standard/JobMessageFromOperator.java,
12193         javax/print/attribute/standard/JobName.java,
12194         javax/print/attribute/standard/JobOriginatingUserName.java,
12195         javax/print/attribute/standard/OutputDeviceAssigned.java,
12196         javax/print/attribute/standard/PrinterInfo.java,
12197         javax/print/attribute/standard/PrinterLocation.java,
12198         javax/print/attribute/standard/PrinterMakeAndModel.java,
12199         javax/print/attribute/standard/PrinterMessageFromOperator.java,
12200         javax/print/attribute/standard/PrinterName.java,
12201         javax/print/attribute/standard/RequestingUserName.java: New files.
12202         * Makefile.am (javax_source_files): Added new files.
12203         * Makefile.in: Regenerated.
12204
12205 2004-01-09  Michael Koch  <konqueror@gmx.de>
12206
12207         * javax/swing/AbstractAction.java,
12208         javax/swing/AbstractSet.java,
12209         javax/swing/Action.java,
12210         javax/swing/ActionMap.java,
12211         javax/swing/BoundedRangeModel.java,
12212         javax/swing/ButtonModel.java,
12213         javax/swing/CellEditor.java,
12214         javax/swing/CellRendererPane.java,
12215         javax/swing/ComboBoxEditor.java,
12216         javax/swing/DebugGraphics.java,
12217         javax/swing/DefaultCellEditor.java,
12218         javax/swing/DefaultCellRenderer.java,
12219         javax/swing/DefaultComboBoxModel.java,
12220         javax/swing/DefaultDesktopManager.java,
12221         javax/swing/DefaultFocusManager.java,
12222         javax/swing/DefaultListCellRenderer.java,
12223         javax/swing/Icon.java,
12224         javax/swing/JButton.java,
12225         javax/swing/JCheckBoxMenuItem.java,
12226         javax/swing/JDesktopPane.java,
12227         javax/swing/JEditorPane.java,
12228         javax/swing/JMenu.java,
12229         javax/swing/JPanel.java,
12230         javax/swing/JPasswordField.java,
12231         javax/swing/JPopupMenu.java,
12232         javax/swing/JProgressBar.java: Reworked imports.
12233
12234 2004-01-09  Michael Koch  <konqueror@gmx.de>
12235
12236         * java/awt/geom/PathIterator.java
12237         (WIND_EVEN_ODD): Removed redundant modifiers.
12238         (WIND_NON_ZERO): Likewise.
12239         (SEG_MOVETO): Likewise.
12240         (SEG_LINETO): Likewise.
12241         (SEG_QUADTO): Likewise.
12242         (SEG_CUBICTO): Likewise.
12243         (SEG_CLOSE): Likewise.
12244         * java/awt/image/SinglePixelPackedSampleModel.java:
12245         Removed redundant semicolon.
12246         * java/io/ObjectInputStream.java
12247         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12248         * java/util/logging/Filter.java
12249         (isLoggable): Removed redundant modifier.
12250         * java/util/logging/LogManager.java:
12251         Removed redundant semicolon.
12252         * java/util/logging/XMLFormatter.java
12253         (format): Removed unused variable "key".
12254
12255 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
12256
12257         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12258         New name for the former setFile native method.
12259         (setFile): New method.
12260         (setDirectory): Implemented.
12261         (connectSignals): New native method.
12262         (setFilenameFilter): Improve comment.
12263         (getGraphics): Comment.
12264         (gtkHideFileDialog): New method.
12265         (gtkDisposeFileDialog): New method.
12266         (gtkSetFilename): New method.
12267         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12268         for FileDialog for now.
12269         (hide): New method.
12270         (dispose): New method.
12271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12272         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12273         deprecated creation functions.  Make dialog modal.  Add it to the
12274         window group.
12275         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12276         function.
12277         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12278         Rename to...
12279         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12280         name.
12281         (window_closed): New function.
12282         (ok_clicked): New function.
12283         (cancel_clicked): New function.
12284
12285 2004-01-08  Michael Koch  <konqueror@gmx.de>
12286
12287         * javax/swing/JLayeredPane.java: Revert changes to standard
12288         boilerplate, reworked imports.
12289
12290 2004-01-07  Tom Tromey  <tromey@redhat.com>
12291
12292         PR libgcj/13439:
12293         * verify.cc (state::merge): Copy changed locals out of subroutine
12294         in NO_STACK case.
12295         (state::FLAG_CHANGED): New const.
12296         (state::FLAG_UNUSED): Likewise.
12297         (state::local_changed): Removed.  Updated all users.
12298         (state::flags): New field.
12299         (state::merge): Added jsr_semantics argument, more logic.
12300         (push_jump_merge): Added jsr_semantics argument.
12301         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12302         merging through the jsr instruction.
12303
12304 2004-01-07  Tom Tromey  <tromey@redhat.com>
12305
12306         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12307         backslash-newline.
12308
12309 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12310
12311         * java/awt/Container.java (LightweightDispatcher): Implement.
12312         (visitChild): Reuse graphics object.
12313         (dispatchEventImpl): Optionally dispatch to lightweight.
12314         (addNotifyContainerChildren): Build LightweightDispatcher.
12315
12316 2004-01-07  David Jee  <djee@redhat.com>
12317
12318         * java/awt/Container.java
12319         (update): Clear only the clipped region, instead of clearing the
12320         entire Container.
12321         (visitChildren): Visit children in descending order.
12322
12323 2004-01-07  Michael Koch  <konqueror@gmx.de>
12324
12325         * java/lang/reflect/Array.java: Merged documentation with classpath.
12326
12327 2004-01-07  Michael Koch  <konqueror@gmx.de>
12328
12329         * java/text/CollationElementIterator.java
12330         (textIndex): Renamed from index.
12331         * java/text/CollationKey.java
12332         (collator): New member.
12333         (CollationKey): New argument for parent collator.
12334         (equals): Check for same collator, source string and key array.
12335         * java/text/RuleBasedCollator.java:
12336         Reformated.
12337         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12338         value.
12339         (getCollationElementIterator): Rewritten.
12340         (getCollationKey): Added new argument to CollationKey constructor.
12341
12342 2004-01-07  Michael Koch  <konqueror@gmx.de>
12343
12344         * gnu/java/nio/DatagramChannelImpl.java
12345         (blocking): Removed.
12346         (DatagramChannelImpl): Call configureBlocking().
12347         (implConfigureBlocking): Dont initialize blocking.
12348         * gnu/java/nio/ServerSocketChannelImpl.java
12349         (blocking): Removed.
12350         (ServerSocketChannelImpl): Call configureBlocking().
12351         (implConfigureBlocking): Dont initialize blocking.
12352         * gnu/java/nio/SocketChannelImpl.java
12353         (blocking): Removed.
12354         (SocketChannelImpl): Call configureBlocking().
12355         (implConfigureBlocking): Dont initialize blocking.
12356         (connect): Use isBlocking().
12357         * java/nio/channels/spi/AbstractSelectableChannel.java
12358         (configureBlocking): Use blockingLock() instead of LOCK.
12359         Set blocking after successfully called implConfigureBlocking().
12360         (register): Use blockingLock() instead of LOCK.
12361
12362 2004-01-07  Michael Koch  <konqueror@gmx.de>
12363
12364         * java/net/ServerSocket.java (isBound): Fixed documentation.
12365
12366 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12367
12368         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12369         (changeEvent): Create event object on demand.
12370         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12371         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12372         fireStateChanged): Re-written.
12373         * javax/swing/event/EventListenerList.java: Reformatted, document
12374         typical usage.
12375         (toString): Implemented.
12376         (getListeners): Re-written.
12377         (remove): Re-written.
12378         (add): Re-written.
12379         (NO_LISTENERS): New singleton field.
12380         (listenerList): Declare as transient; document.
12381         (serialVersionUID): Document.
12382         (getListenerCount(Class)): More efficient implementation,
12383         also accepts null argument.  Improve Javadoc.
12384         (getListenerCount()): Remove unnecessary cast; docfix.
12385         * javax/swing/undo/UndoableEditSupport.java:
12386         Re-format, document.
12387         (UndoableEditSupport): Set realSource field. Improve documentation.
12388         (_postEdit): Iterate over cloned listener vector.
12389         (toString): Don't emit realSource.
12390         (beginUpdate, endUpdate): Support nested updates.
12391         (postEdit): Use compound edit if present.
12392
12393 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12394
12395         * java/awt/Container.java (swapComponents): Add forgotten
12396         function, required for JLayeredPane change.
12397
12398 2004-01-06  Michael Koch  <konqueror@gmx.de>
12399
12400         * java/text/CollationElementIterator.java: Reformated.
12401         (CollationElementIterator): Changed order of arguments.
12402         * java/text/RuleBasedCollator.java
12403         (RuleBasedCollator): Merged class documentation.
12404         (CollationElement): Added documentation.
12405         (compare): Reformated, renamed arguments.
12406         (equals): Likewise.
12407         (getCollationElementIterator): Likewise.
12408         (getCollationKey): Likewise.
12409
12410 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12411
12412         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12413
12414 2004-01-06  Michael Koch  <konqueror@gmx.de>
12415
12416         * gnu/java/net/protocol/file/Connection.java:
12417         Reformated copyright.
12418         (hdrHash): Removed.
12419         (hdrVec): Removed.
12420         (gotHeaders): Removed.
12421         (getHeaderField): Removed.
12422         (getHeaderField): Removed.
12423         (getHeaderFieldKey): Removed.
12424         (getKey): Removed.
12425         (getField): Removed.
12426         (getHeaders): Removed.
12427
12428 2004-01-06  Michael Koch  <konqueror@gmx.de>
12429
12430         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12431         javax/print/attribute/standard/DateTimeAtCreation.java,
12432         javax/print/attribute/standard/DateTimeAtProcessing.java,
12433         javax/print/attribute/standard/JobImpressionsCompleted.java,
12434         javax/print/attribute/standard/JobKOctets.java,
12435         javax/print/attribute/standard/JobKOctetsProcessed.java,
12436         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12437         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12438         * Makefile.am (javax_source_files): Added new files.
12439         * Makefile.in: Regenerated.
12440
12441 2004-01-06  Michael Koch  <konqueror@gmx.de>
12442
12443         * java/net/URLConnection.java
12444         (contentHandler): Removed.
12445         (locale): Removed.
12446         (getHeaderFields): Return an empty map instead of null.
12447         (getContent): Connect if needed, renamed "cType" to "type" and
12448         "contentHandler" to "ch" and made it a local variable.
12449         (getPermission): Don't use package in class name.
12450         (setDefaultRequestProperty): Fixed typo in documentation.
12451         (initializeDateFormats): Made locale a local variable.
12452
12453 2004-01-06  Michael Koch  <konqueror@gmx.de>
12454
12455         * java/lang/Package.java
12456         (getPackage): Get the current class loader directly.
12457         * java/lang/SecurityManager.java
12458         (currentLoadedClass): Dont iterate over class contexts.
12459         (classLoaderDepth): Don't check class loaders if everything is allowed.
12460
12461 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12462
12463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12464         (pre_event_handler): Set all insets to 0 when a Configure event
12465         is received for a GtkPlug.
12466         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12467         Make handle long, not int.
12468         (EmbeddedWindow()): New constructor.
12469         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12470         long, not int.
12471         (setHandle): New method.
12472         (getHandle): Return long, not int.
12473         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12474         declaration.
12475         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12476         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12477         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12478         argument to GdkNativeWindow.
12479         (construct): New method.
12480         (embed): New method.
12481
12482         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12483         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12484         (create(int, int)): New method.
12485         (create): Call new create method.
12486         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12487         methods.
12488         (childResized): Remove native implementation.  Implement in
12489         Java.
12490         (getHScrollbarHeight, getVScrollbarWidth): Call
12491         gtk_widget_size_request to get scrollbar dimensions.
12492         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12493         call getVScrollbarWidth and getHScrollbarHeight when vertical
12494         and horizontal scrollbars respectively are needed.
12495         (doLayout): Enlarge child if it is smaller than the viewport.
12496
12497 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12498
12499         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12500         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12501         argument as per spec.
12502
12503 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12504
12505         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12506         (insert): Ditto.
12507         (remove): Ditto.  Also, Check for valid argument.
12508         (removeAll): Use peer interface method.
12509         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12510         native add function.
12511         (nativeRemove): New name for native remove function.
12512         (getHistory): New native function.
12513         (constructor): Generate ItemEvent.
12514         (add): Ditto, if selection is changed.
12515         (remove): Ditto, ditto.
12516         (removeAll): Add implementation.
12517         (handleEvent): Remove.  Dead code.
12518         (choicePostItemEvent): Add comment.
12519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12520         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12521         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12522         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12523         comments and fix condition to change selection.
12524         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12525         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12526         remove all capability.
12527         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12528         (item_activate): Add cast to remove compiler warning.
12529
12530 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12531
12532         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12533         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12534         (getPreferredSize): Call preferredSize.
12535         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12536         (getMinimumSize): Call minimumSize.
12537         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12538         (gtkWidgetGetDimensions): Return the peer widget's current size
12539         request.
12540         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12541         natural size request.
12542
12543 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12544
12545         Thanks to Brian Gough <bjg@network-theory.com>
12546         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12547         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12548
12549 2004-01-04  Matthias Klose  <doko@debian.org>
12550
12551         * aclocal.m4: Rebuilt using "aclocal -I .".
12552         * configure: Rebuilt.
12553
12554 2004-01-03  Per Bothner  <per@bothner.com>
12555
12556         * java/util/Date.java (parse):  Fix a number of problems.
12557         (skipParens):  Remove no-longer-needed method.
12558