OSDN Git Service

2004-11-18 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-18  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/URLClassLoader.java: Whitespace cleanup.
4
5 2004-11-18  Robert Schuster <address@bogus.example.com>
6
7         Complete 1.4 support
8         * java/beans/PropertyDescriptor.java:
9         (setReadMethod): New method
10         (setWriteMethod): New method
11         (equals): Implemented (1.4)
12         (checkMethods): operates on arguments now (private)
13
14
15 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
16
17         * java/net/Inet6Address.java (getHostAddress): Fix textual
18         representation of IPv6 address with embedded zeroes
19         to conform to RFC 2373.
20
21 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
22
23         * java/lang/StackTraceElement.java: Made final.
24         * java/nio/channels/Channels.java: Added private constructor.
25         * java/rmi/Naming.java: Added private constructor.
26         * java/rmi/registry/LocateRegistry.java: Added private constructor.
27         * java/rmi/server/RMIClassLoader.java: Added private constructor.
28         * java/security/KeyPairGeneratorSpi.java
29         (clone): Made protected and simplified implementation.
30         * java/text/DateFormat.java
31         (allFields): Made package accessible.
32         * java/text/DecimalFormat.java
33         (formatInternal): Made private.
34         * java/text/Format.java
35         (formatInternal): Made private.
36         * java/util/logging/Handler.java: Made constructor protected.
37         * java/util/regex/Matcher.java: Made final.
38         * java/util/regex/Pattern.java: Made final.
39         * javax/crypto/CipherInputStream.java
40         (mark): Corrected mark parameter type (from long to int).
41         * javax/crypto/ExemptionMechanism.java
42         (finalize): Added.
43         * javax/crypto/Mac.java
44         (getMacLength): Made final.
45         (clone): Made final.
46         * javax/imageio/ImageIO.java: Added private constructor.
47         * javax/imageio/stream/ImageInputStreamImpl.java
48         (checkClosed): Made final.
49         * javax/net/ssl/SSLPermission.java: Made final.
50         * javax/print/DocFlavor.java
51         (hostEncoding): Added work-around to prevent the field from being
52         a compile time constant.
53         * javax/print/attribute/AttributeSetUtilities.java: Added private
54         constructor.
55         (UnmodifiableDocAttributeSet): Made private.
56         (UnmodifiablePrintJobAttributeSet): Made private.
57         (UnmodifiablePrintRequestAttributeSet): Made private.
58         (UnmodifiablePrintServiceAttributeSet): Made private.
59         (SynchronizedAttributeSet): Made private.
60         (SynchronizedDocAttributeSet): Made private.
61         (SynchronizedPrintJobAttributeSet): Made private.
62         (SynchronizedPrintRequestAttributeSet): Made private.
63         (SynchronizedPrintServiceAttributeSet): Made private.
64         * javax/security/auth/PrivateCredentialPermission.java: Made final.
65
66 2004-11-18  Craig Black  <craig.black@aonix.com>
67
68         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
69
70 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
71
72         * Makefile.am: Correct friend function declaration.
73         * Makefile.in: Regenerated.
74         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
75         scope to function names.  Declare functions directly.
76         * libjava/java/lang/Class.h
77         (java::lang::Class): Correct friend class declaration.
78         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
79         scope.
80         * libjava/java/lang/Class.h
81         (java::lang::Object): Correct friend class declaration.
82
83 2004-11-17  David Daney  <ddaney@avtrex.com>
84
85         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
86
87 2004-11-17  Michael Koch  <konqueror@gmx.de>
88
89         * java/net/Socket.java (getPort): Return 0 in error case.
90
91 2004-11-17  Michael Koch  <konqueror@gmx.de>
92
93         *  java/nio/DirectByteBufferImpl.java
94         (owner): Updated comment.
95         (allocate): New method.
96
97 2004-11-17  Michael Koch  <konqueror@gmx.de>
98
99         * java/net/URL.java (URL): Handle case when argument is null.
100
101 2004-11-17  Michael Koch  <konqueror@gmx.de>
102
103         * java/beans/Beans.java,
104         java/beans/PropertyChangeEvent.java,
105         java/beans/PropertyEditorSupport.java:
106         Fixed javadocs.
107
108 2004-11-17  Michael Koch  <konqueror@gmx.de>
109
110         * java/util/Timer.java (DEFAULT_SIZE): Made static.
111
112 2004-11-17  Michael Koch  <konqueror@gmx.de>
113
114         * java/net/InetAddress.java (getCanonicalHostName):
115         Support IPv6 addresses.
116
117 2004-11-16  Michael Koch  <konqueror@gmx.de>
118
119         * java/lang/Object.java: Added javadocs all over (merged from GNU
120         classpath).
121
122 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
123
124         * java/security/Security.java (Security): Silence the warning about no
125         providers found in the no debug case.
126
127 2004-11-16  Michael Koch  <konqueror@gmx.de>
128
129         * java/net/InetAddress.java
130         (toString): Merged from GNU classpath.
131
132 2004-11-16  Michael Koch  <konqueror@gmx.de>
133
134         * java/awt/geom/doc-files/Area-1.png,
135         java/awt/geom/doc-files/Ellipse-1.png,
136         java/awt/geom/doc-files/GeneralPath-1.png:
137         New files.
138
139 2004-11-16  Michael Koch  <konqueror@gmx.de>
140
141         * java/util/Currency.java (cache): Fix modifier order.
142
143 2004-11-16  Michael Koch  <konqueror@gmx.de>
144
145         * java/io/BufferedReader.java,
146         java/io/FileInputStream.java,
147         java/io/FileOutputStream.java,
148         java/io/FileWriter.java,
149         java/io/OutputStreamWriter.java,
150         java/io/PipedInputStream.java,
151         java/io/PipedOutputStream.java,
152         java/io/PipedReader.java,
153         java/io/PipedWriter.java,
154         java/io/PrintStream.java,
155         java/io/PushbackInputStream.java,
156         java/io/RandomAccessFile.java,
157         java/io/Reader.java,
158         java/io/StreamTokenizer.java,
159         java/io/StringReader.java,
160         java/net/NetworkInterface.java,
161         java/net/URLClassLoader.java,
162         java/nio/ByteOrder.java,
163         java/nio/channels/Channel.java:
164         Fixed javadocs all over.
165
166 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
167
168         * Makefile.am: Add imported files.
169         * Makefile.in: Regenerate.
170
171         2004-10-24  Casey Marshall  <csm@gnu.org>
172
173         * javax/security/auth/login/LoginContext.java: Implemented.
174         * javax/security/auth/login/Configuration.java (getConfig): New method.
175         * javax/security/auth/spi/LoginModule.java,
176         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
177
178 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
179
180         Import/Merge the X.509 certificate code from Classpath.
181
182         * Makefile.am: Add imported files.
183         * Makefile.in: Regenerate.
184
185         2004-11-07  Casey Marshall  <csm@gnu.org>
186
187         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
188         priviliged action. Add new algorithms.
189         * gnu/java/security/provider/X509CertificateFactory.java
190         (engineGenerateCertificate): Chain exceptions.
191         (engineGenerateCertificates): Likewise.
192         (engineGenerateCRL): Likewise.
193         (engineGenerateCRLs): Likewise.
194         (engineGenerateCertPath): New methods.
195         (generateCert): Throw exception if 'inStream' is null.
196         (generateCRL): Likewise.
197         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
198         version from GNU Crypto CVS.
199         * gnu/java/security/x509/X509CRL.java: Likewise.
200         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
201         * gnu/java/security/x509/X509Certificate.java: Likewise.
202         * java/security/cert/TrustAnchor.java: Call 'toString' and not
203         toRFC2253.
204         * gnu/java/security/provider/CollectionCertStoreImpl.java,
205         * gnu/java/security/provider/EncodedKeyFactory.java,
206         * gnu/java/security/provider/GnuDHPublicKey.java,
207         * gnu/java/security/provider/GnuRSAPrivateKey.java,
208         * gnu/java/security/provider/GnuRSAPublicKey.java,
209         * gnu/java/security/provider/MD2withRSA.java,
210         * gnu/java/security/provider/MD4withRSA.java,
211         * gnu/java/security/provider/MD5withRSA.java,
212         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
213         * gnu/java/security/provider/RSA.java,
214         * gnu/java/security/provider/RSAKeyFactory.java,
215         * gnu/java/security/provider/SHA1withRSA.java,
216         * gnu/java/security/x509/GnuPKIExtension.java,
217         * gnu/java/security/x509/PolicyNodeImpl.java,
218         * gnu/java/security/x509/Util.java,
219         * gnu/java/security/x509/X509CRLSelectorImpl.java,
220         * gnu/java/security/x509/X509CertPath.java,
221         * gnu/java/security/x509/X509CertSelectorImpl.java,
222         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
223         * gnu/java/security/x509/ext/BasicConstraints.java,
224         * gnu/java/security/x509/ext/CRLNumber.java,
225         * gnu/java/security/x509/ext/CertificatePolicies.java,
226         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
227         * gnu/java/security/x509/ext/Extension.java,
228         * gnu/java/security/x509/ext/GeneralNames.java,
229         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
230         * gnu/java/security/x509/ext/KeyUsage.java,
231         * gnu/java/security/x509/ext/PolicyConstraint.java,
232         * gnu/java/security/x509/ext/PolicyMappings.java,
233         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
234         * gnu/java/security/x509/ext/ReasonCode.java,
235         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
236         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
237
238         2004-11-07  Casey Marshall  <csm@gnu.org>
239
240         * gnu/java/security/x509/X509CRL.java:
241         Missed import statements in previous checkin.
242
243         2004-11-07  Casey Marshall  <csm@gnu.org>
244
245         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
246         to 'X509CertificateImpl' from previous checkin.
247
248 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
249
250         PR other/14264
251         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
252
253 2004-11-11  Casey Marshall  <csm@gnu.org>
254
255         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
256         channel is open.
257         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
258         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
259
260 2004-11-11  Robert Schuster <thebohemian@gmx.net>
261
262         Fixed regression:
263         * gnu/java/beans/IntrospectionIncubator.java:
264         (addMethod): Corrected classification of normal and property methods.
265         (capitalize): Added documentation.
266         (DoubleKey): [class] Added documentation.
267
268 2004-11-09  Tom Tromey  <tromey@redhat.com>
269
270         * include/jni.h: Added FIXME.
271
272 2004-11-08  Tom Tromey  <tromey@redhat.com>
273
274         * java/util/GregorianCalendar.java: Removed unused imports.
275         * java/util/Vector.java: Removed unused import.
276
277 2004-11-07  Michael Koch  <konqueror@gmx.de>
278
279         * java/lang/Process.java:
280         Import cleanups.
281
282 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
283
284         * java/util/zip/ZipEntry.java
285         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
286
287 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
288
289         Fixes bug #10908
290         * gnu/java/beans/IntrospectionIncubator.java:
291         (addMethod): static methods are discarded now, too.
292
293 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
294
295         * java/util/GregorianCalendar.java
296         Added/amended documentation.
297
298 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
299
300         * java/util/Collections.java
301         Added documentation.
302         * java/util/SortedMap.java
303         Clarified some method examples.
304         * java/util/SortedSet.java
305         Clarified some method examples.
306
307 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
308
309         * java/util/Currency.java
310         Documented variables and methods more fully.
311         Caches the currency instances, so that a request
312         for a locale, l, only ever returns the same
313         instance (i.e. successive calls to getInstance(l)
314         are reference equivalent (==)).
315
316 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
317
318         * java/util/Date.java
319         Added missing documentation.
320
321 2004-11-06  Michael Koch  <konqueror@gmx.de>
322
323         * java/util/zip/CheckedInputStream.java,
324         java/util/zip/InflaterInputStream.java,
325         java/util/zip/ZipFile.java,
326         java/util/zip/ZipInputStream.java:
327         Import cleanups.
328
329 2004-11-06  Tom Tromey  <tromey@redhat.com>
330
331         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
332         package-private.
333         (connections): Likewise.
334         (scavenger): Likewise.
335         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
336         package-private.
337         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
338         package-private.
339         (ptr): Likewise.
340         * gnu/classpath/ServiceFactory.java (log): Now package-private.
341
342 2004-11-06  Tom Tromey  <tromey@redhat.com>
343
344         * javax/naming/directory/BasicAttributes.java (attributes): Now
345         package-private.
346         * javax/imageio/spi/ServiceRegistry.java (categories): Now
347         package-private.
348
349 2004-11-06  Tom Tromey  <tromey@redhat.com>
350
351         * java/net/URLClassLoader.java (URLClassLoader): Now
352         package-private.
353         * java/nio/charset/CoderResult.java (CoderResult): Now
354         package-private.
355         (get): Likewise.
356         (Cache): Likewise.  Don't synchronize on `this'.
357         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
358         package-private.
359         * java/util/TimeZone.java (timezones): Now package-private.
360
361 2004-11-06  Tom Tromey  <tromey@redhat.com>
362
363         * java/security/Permissions.java (perms): Now package-private.
364         * java/security/UnresolvedPermission.java (permissions): Now
365         package-private.
366
367 2004-11-06  Tom Tromey  <tromey@redhat.com>
368
369         * java/io/FilePermission.java: Reindented.
370
371 2004-11-06  Tom Tromey  <tromey@redhat.com>
372
373         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
374         package-private.
375         (setBlockDataMode): Likewise.
376
377 2004-11-06  Tom Tromey  <tromey@redhat.com>
378
379         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
380         package-private.
381         (Encoder): Likewise.
382         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
383         (Encoder): Likewise.
384         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
385         package-private.
386         (Encoder): Likewise.
387
388 2004-11-06  Mark Wielaard  <mark@klomp.org>
389
390         * Makefile.am: Add new javax.imageio files.
391         * Makefile.in: Regenerated.
392
393 2004-11-06  Michael Koch  <konqueror@gmx.de>
394
395         * javax/imageio/event/IIOReadProgressListener.java,
396         javax/imageio/event/IIOReadUpdateListener.java,
397         javax/imageio/event/IIOReadWarningListener.java,
398         javax/imageio/event/IIOWriteProgressListener.java,
399         javax/imageio/event/IIOWriteWarningListener.java,
400         javax/imageio/metadata/IIOMetadataFormat.java,
401         javax/imageio/stream/FileCacheImageInputStream.java,
402         javax/imageio/stream/FileCacheImageOutputStream.java,
403         javax/imageio/stream/ImageInputStreamImpl.java:
404         Import cleanup.
405         * javax/imageio/metadata/package.html: New file.
406
407 2004-11-06  Michael Koch  <konqueror@gmx.de>
408
409         * javax/imageio/spi/ImageReaderSpi.java
410         (isOwnReader): New method.
411         * javax/imageio/spi/ImageWriterSpi.java
412         (isOwnWriter): Likewise.
413
414 2004-11-06  Michael Koch  <konqueror@gmx.de>
415
416         * javax/imageio/ImageWriter.java
417         (convertImageMetadata): New abstract method.
418         (convertStreamMetadata): Likewise.
419         (write): Likewise.
420         * javax/imageio/stream/FileCacheImageInputStream.java
421         (close): Fixed setting of stream to null.
422         (checkStreamClosed): Throws IOException.
423
424 2004-11-06  Michael Koch  <konqueror@gmx.de>
425
426         * javax/imageio/stream/FileCacheImageInputStream.java,
427         javax/imageio/stream/FileCacheImageOutputStream.java,
428         javax/imageio/stream/FileImageInputStream.java,
429         javax/imageio/stream/FileImageOutputStream.java,
430         javax/imageio/stream/MemoryCacheImageInputStream.java,
431         javax/imageio/stream/MemoryCacheImageOutputStream.java:
432         New files.
433
434 2004-11-06  Michael Koch  <konqueror@gmx.de>
435
436         * javax/imageio/metadata/IIOInvalidTreeException.java,
437         javax/imageio/metadata/IIOMetadataFormatImpl.java,
438         javax/imageio/metadata/IIOMetadataNode.java:
439         New stub files.
440
441 2004-11-06  Michael Koch  <konqueror@gmx.de>
442
443         * javax/imageio/stream/ImageInputStreamImpl.java,
444         javax/imageio/stream/ImageOutputStreamImpl.java:
445         New files.
446
447 2004-11-06  Michael Koch  <konqueror@gmx.de>
448
449         * javax/imageio/ImageIO.java:
450         Added much new methods.
451
452 2004-11-06  Michael Koch  <konqueror@gmx.de>
453
454         * javax/imageio/ImageReader.java,
455         javax/imageio/ImageWriter.java,
456         javax/imageio/spi/ImageWriterSpi.java:
457         Add SOME new methods.
458
459 2004-11-06  Michael Koch  <konqueror@gmx.de>
460
461         * javax/imageio/IIOParam.java,
462         javax/imageio/ImageReadParam.java,
463         javax/imageio/ImageReader.java,
464         javax/imageio/ImageWriter.java:
465         Mostly implemented.
466         * javax/imageio/spi/ImageReaderSpi.java,
467         javax/imageio/spi/ImageWriterSpi.java:
468         New files.
469
470 2004-11-06  Michael Koch  <konqueror@gmx.de>
471
472         * javax/imageio/ImageWriteParam.java,
473         javax/imageio/metadata/IIOMetadataFormat.java:
474         Implemented.
475
476 2004-11-06  Michael Koch  <konqueror@gmx.de>
477
478         * javax/imageio/ImageTypeSpecifier.java:
479         Mostly implemented.
480
481 2004-11-06  Michael Koch  <konqueror@gmx.de>
482
483         * javax/imageio/metadata/IIOMetadata.java:
484         Mostly implemented.
485
486 2004-11-06  Michael Koch  <konqueror@gmx.de>
487
488         * javax/imageio/IIOImage.java,
489         javax/imageio/ImageReadParam.java,
490         javax/imageio/metadata/IIOMetadataController.java,
491         javax/imageio/metadata/IIOMetadataFormat.java:
492         New files.
493         * javax/imageio/stream/ImageOutputStream.java:
494         Implemented.
495
496 2004-11-06  Michael Koch  <konqueror@gmx.de>
497
498         * javax/imageio/IIOParam.java,
499         javax/imageio/IIOParamController.java,
500         javax/imageio/ImageTypeSpecifier.java,
501         javax/imageio/ImageWriteParam.java,
502         javax/imageio/metadata/IIOMetadata.java:
503         New files.
504         * javax/imageio/ImageTranscoder.java:
505         Implemented.
506
507 2004-11-06  Michael Koch  <konqueror@gmx.de>
508
509         * javax/imageio/spi/ImageInputStreamSpi.java,
510         javax/imageio/spi/ImageOutputStreamSpi.java:
511         Reworked import startments.
512         * javax/imageio/spi/ServiceRegistry.java:
513         Reworked import startments. Fixed XHTML in javadocs.
514         (ServiceRegistry): Added @param tag to javadoc.
515         * javax/imageio/stream/ImageInputStream.java
516         (mark): Doesn't throws IOException;
517
518 2004-11-06  Michael Koch  <konqueror@gmx.de>
519
520         * javax/imageio/ImageIO.java:
521         New file.
522
523 2004-11-06  Michael Koch  <konqueror@gmx.de>
524
525         * javax/imageio/spi/IIORegistry.java
526         (static): Don't register ImageReaderSpi.class and
527         ImageWriterSpi.class yet.
528
529 2004-11-06  Michael Koch  <konqueror@gmx.de>
530
531         * javax/imageio/spi/IIORegistry.java:
532         New file.
533
534 2004-11-06  Noa Resare  <noa@resare.com>
535
536         * java/net/Socket.java (getPort): Return 0 instead of -1 on
537         unconnected sockets.
538
539 2004-11-06  Michael Koch  <konqueror@gmx.de>
540
541         * java/lang/StringBuffer.java,
542         java/lang/Throwable.java,
543         java/security/spec/DSAParameterSpec.java,
544         java/util/zip/ZipEntry.java,
545         java/util/zip/ZipFile.java,
546         java/util/zip/ZipInputStream.java,
547         java/util/zip/ZipOutputStream.java:
548         Removed redundant and reordered modifiers.
549
550 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
551
552         * java/io/Vector.java
553         (writeObject): New function to serialized output thread safe.
554
555         * java/io/ObjectOutputStream.java
556         (writeObject): Move the assignment of the class handle to after
557         the assignment of class descriptor handle.
558
559 2004-11-06  Robert Schuster <thebohemian@gmx.net>
560
561         Fixes documentation and indentation
562         * java/beans/PropertyEditorSupport.java:
563         reworked initial API doc
564         (value): changed name from val
565
566 2004-11-06  Robert Schuster <thebohemian@gmx.net>
567
568         Updates to 1.5
569         * java/beans/PropertyEditorSupport.java
570         (PropertyEditorSupport()): Changed modifier to public
571         (PropertyEditorSupport(Object): Changed modifier to public
572         (setSource): New method
573         (getSource): New method
574
575 2004-11-06  Robert Schuster <thebohemian@gmx.net>
576
577         Fixes bug #10799
578         * java/beans/PropertyEditorSupport.java
579         (setValue): Fire property change event
580
581 2004-11-03  Tom Tromey  <tromey@redhat.com>
582
583         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
584         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
585         returns jobjectArray.
586         (_Jv_JNIEnv::NewObjectArray): Likewise.
587
588 2004-11-01  Tom Tromey  <tromey@redhat.com>
589
590         * verify.cc (state::check_no_uninitialized_objects): Removed.
591         (push_jump): Updated.
592         (push_exception_jump): Likewise.
593         (handle_ret_insn): Likewise.
594         (handle_jsr_insn): Likewise.
595
596 2004-10-30  Mark Wielaard  <mark@klomp.org>
597
598         PR libgcj/18234
599         * java/lang/Runtime.java (static): Call init().
600         (Runtime): Remove call to init().
601         (init): Make static.
602
603 2004-10-28  David Daney  <ddaney@avtrex.com>
604
605         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
606         * Makefile.am: Build it.
607         * Makefile.in: Regenerate.
608
609 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
610
611         PR libgcj/18104
612         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
613         colon.
614         * Makefile.in: Regenerate.
615         * configure: Regenerate.
616         * configure.ac (CLASSPATH_SEPARATOR): Define.
617         * gcj/Makefile.in: Regenerate.
618         * include/Makefile.in: Regenerate.
619         * testsuite/Makefile.in: Regenerate.
620         * testsuite/lib/libjava.exp (libjava_arguments): Fix
621         CLASSPATH separator handling for Windows.
622
623 2004-10-26  Michael Koch  <konqueror@gmx.de>
624
625         * gnu/java/net/protocol/http/Connection.java
626         (getOutputStream): Implicitely switch to POST method.
627
628 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
629
630         * libjava/java/lang/Class.h
631         (java::lang::Class): Correct friend class declaration.
632
633 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
634
635         * Makefile.am (DARWIN_CRT_SRC): New.
636         (libgcj_la_SOURCES): Use it.
637         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
638         * darwin.cc: New file.
639         * include/jvm.h (_Jv_RegisterClasses): Constify.
640         (_Jv_RegisterClasses_Counted): New prototype.
641         * java/lang/Class.h: Include stddef.h.  
642         (_Jv_RegisterClasses): Constify.
643         (_Jv_RegisterClasses_Counted): New prototype.
644         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
645         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
646         (_Jv_RegisterClasses_Counted): New function.
647         * configure: Regenerate.
648         * Makefile.in: Regenerate.
649         * gcj/Makefile.in: Regenerate.
650         * include/Makefile.in: Regenerate.
651         * testsuite/Makefile.in: Regenerate.
652
653 2004-10-25  Tom Tromey  <tromey@redhat.com>
654
655         * java/util/ResourceBundle.java (tryBundle): Use
656         Class.isAssignableFrom rather than catching ClassCastException.
657
658 2004-10-25  Tom Tromey  <tromey@redhat.com>
659
660         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
661         initialize `iter'.
662         * gnu/java/text/SentenceBreakIterator.java
663         (SentenceBreakIterator): Don't initialize `iter'.
664         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
665         initialize `iter'.
666         * gnu/java/text/CharacterBreakIterator.java
667         (CharacterBreakIterator): Don't initialize `iter'.
668         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
669         constructor.
670         * java/text/BreakIterator.java: Updated documentation.
671
672 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
673
674         PR other/18138
675         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
676
677 2004-10-23  Michael Koch  <konqueror@gmx.de>
678
679         * javax/print/DocFlavor.java,
680         javax/print/attribute/standard/JobStateReason.java,
681         javax/print/attribute/standard/MultipleDocumentHandling.java:
682         Added missing constants.
683
684 2004-10-22  Tom Tromey  <tromey@redhat.com>
685
686         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
687         typo.
688
689 2004-10-22  Michael Koch  <konqueror@gmx.de>
690
691         PR libjava/14009
692         * gnu/java/net/protocol/http/Connection.java
693         (sendRequest): Handle case when url.getFile() returns an empty string.
694
695 2004-10-22  Michael Koch  <konqueror@gmx.de>
696
697         * java/lang/Math.java,
698         java/lang/StackTraceElement.java,
699         java/nio/Buffer.java,
700         java/nio/ByteBuffer.java,
701         java/nio/CharBuffer.java,
702         java/nio/DoubleBuffer.java,
703         java/nio/FloatBuffer.java,
704         java/nio/IntBuffer.java,
705         java/nio/LongBuffer.java,
706         java/nio/ShortBuffer.java,
707         java/nio/charset/Charset.java,
708         java/rmi/server/RMIClassLoader.java,
709         java/rmi/server/RMISocketFactory.java,
710         java/security/Policy.java,
711         java/text/ChoiceFormat.java,
712         java/text/CollationElementIterator.java,
713         java/text/DateFormat.java,
714         java/text/DecimalFormat.java,
715         java/text/DecimalFormatSymbols.java,
716         java/text/MessageFormat.java,
717         java/text/NumberFormat.java,
718         java/text/RuleBasedCollator.java,
719         java/text/SimpleDateFormat.java,
720         java/util/BitSet.java,
721         java/util/Calendar.java,
722         java/util/Collections.java,
723         java/util/IdentityHashMap.java,
724         java/util/Locale.java,
725         java/util/TreeMap.java,
726         java/util/logging/LogRecord.java,
727         java/util/logging/XMLFormatter.java,
728         java/util/prefs/AbstractPreferences.java,
729         java/util/prefs/Preferences.java,
730         javax/crypto/interfaces/DHPrivateKey.java,
731         javax/crypto/interfaces/DHPublicKey.java,
732         javax/crypto/interfaces/PBEKey.java,
733         javax/net/ssl/HandshakeCompletedEvent.java,
734         javax/security/auth/Subject.java:
735         Removed redundant and reordered modifiers.
736
737 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
738
739         * gnu/java/net/natPlainSocketImplPosix.cc
740         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
741         with 'int *' argument instead of 'long *'.
742
743 2004-10-21  Michael Koch  <konqueror@gmx.de>
744
745         * java/net/NetworkInterface.java,
746         java/text/Format.java,
747         javax/security/auth/x500/X500Principal.java,
748         javax/security/auth/x500/X500PrivateCredential.java,
749         javax/security/cert/X509CertBridge.java,
750         javax/security/sasl/Sasl.java,
751         javax/sql/XAConnection.java:
752         Import cleanup.
753
754 2004-10-21  Michael Koch  <konqueror@gmx.de>
755
756         * javax/net/ssl/HandshakeCompletedEvent.java,
757         javax/net/ssl/KeyManagerFactory.java,
758         javax/net/ssl/SSLContext.java,
759         javax/net/ssl/SSLServerSocketFactory.java,
760         javax/net/ssl/SSLSession.java,
761         javax/net/ssl/SSLSocketFactory.java,
762         javax/net/ssl/TrustManagerFactory.java:
763         Import cleanup.
764
765 2004-10-21  Michael Koch  <konqueror@gmx.de>
766
767         * javax/naming/directory/BasicAttribute.java,
768         javax/naming/directory/BasicAttributes.java,
769         javax/naming/directory/InitialDirContext.java,
770         javax/naming/event/NamingEvent.java,
771         javax/naming/ldap/ControlFactory.java,
772         javax/naming/ldap/ExtendedRequest.java,
773         javax/naming/ldap/InitialLdapContext.java,
774         javax/naming/ldap/LdapReferralException.java,
775         javax/naming/spi/DirObjectFactory.java,
776         javax/naming/spi/DirStateFactory.java,
777         javax/naming/spi/DirectoryManager.java,
778         javax/naming/spi/InitialContextFactory.java,
779         javax/naming/spi/InitialContextFactoryBuilder.java,
780         javax/naming/spi/NamingManager.java,
781         javax/naming/spi/ObjectFactory.java,
782         javax/naming/spi/ObjectFactoryBuilder.java,
783         javax/naming/spi/StateFactory.java:
784         Import cleanup.
785
786 2004-10-21  Michael Koch  <konqueror@gmx.de>
787
788         * javax/crypto/Cipher.java,
789         javax/crypto/EncryptedPrivateKeyInfo.java,
790         javax/crypto/ExemptionMechanism.java,
791         javax/crypto/KeyAgreement.java,
792         javax/crypto/KeyGenerator.java,
793         javax/crypto/Mac.java,
794         javax/crypto/SecretKeyFactory.java,
795         javax/crypto/SecretKeyFactorySpi.java,
796         javax/crypto/spec/SecretKeySpec.java:
797         Import cleanup.
798
799 2004-10-21  Michael Koch  <konqueror@gmx.de>
800
801         * java/security/AlgorithmParameterGenerator.java,
802         java/security/AlgorithmParameters.java,
803         java/security/AlgorithmParametersSpi.java,
804         java/security/AllPermission.java,
805         java/security/BasicPermission.java,
806         java/security/Certificate.java,
807         java/security/CodeSource.java,
808         java/security/DigestInputStream.java,
809         java/security/DigestOutputStream.java,
810         java/security/GuardedObject.java,
811         java/security/KeyFactory.java,
812         java/security/KeyFactorySpi.java,
813         java/security/KeyPairGenerator.java,
814         java/security/KeyStore.java,
815         java/security/KeyStoreSpi.java,
816         java/security/Permissions.java,
817         java/security/Security.java,
818         java/security/Signature.java,
819         java/security/UnresolvedPermission.java,
820         java/security/cert/CertPathBuilder.java,
821         java/security/cert/CertPathValidator.java,
822         java/security/cert/CertStore.java,
823         java/security/cert/Certificate.java,
824         java/security/cert/CertificateFactory.java,
825         java/security/cert/PolicyQualifierInfo.java,
826         java/security/cert/TrustAnchor.java,
827         java/security/cert/X509CRL.java,
828         java/security/cert/X509CRLSelector.java,
829         java/security/cert/X509CertSelector.java:
830         Import cleanup.
831
832 2004-10-21  Michael Koch  <konqueror@gmx.de>
833
834         * java/rmi/MarshalledObject.java,
835         java/rmi/Naming.java,
836         java/rmi/activation/Activatable.java,
837         java/rmi/activation/ActivationGroup.java,
838         java/rmi/activation/ActivationGroupDesc.java,
839         java/rmi/activation/ActivationInstantiator.java,
840         java/rmi/activation/ActivationMonitor.java,
841         java/rmi/activation/ActivationSystem.java,
842         java/rmi/activation/Activator.java,
843         java/rmi/registry/LocateRegistry.java,
844         java/rmi/registry/Registry.java,
845         java/rmi/server/LogStream.java,
846         java/rmi/server/ObjID.java,
847         java/rmi/server/RMIClientSocketFactory.java,
848         java/rmi/server/RMIServerSocketFactory.java,
849         java/rmi/server/RMISocketFactory.java,
850         java/rmi/server/RemoteCall.java,
851         java/rmi/server/RemoteServer.java,
852         java/rmi/server/ServerRef.java,
853         java/rmi/server/UID.java,
854         java/rmi/server/UnicastRemoteObject.java:
855         Import cleanup.
856
857 2004-10-21  Tom Tromey  <tromey@redhat.com>
858
859         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
860         exception if we hit EOF of `in'.
861         (read): Handle case where inflating returns -1.
862
863 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
864
865         * gnu/java/nio/channels/natFileChannelPosix.cc
866         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
867         argument instead of 'long *'.
868
869 2004-10-21  Tom Tromey  <tromey@redhat.com>
870
871         * java/util/ResourceBundle.java (tryBundle): Also ignore
872         ClassCastException.
873
874 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
875
876         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
877         for all sh*-*-linux* targets.
878         * configure: Regenerate.
879         * include/sh-signal.h: New file.
880
881 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
882
883         * java/lang/ieeefp.h: Add m32r support.
884
885 2004-10-20  Andreas Schwab  <schwab@suse.de>
886
887         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
888         to uaddr, not int.
889         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
890         Likewise.
891
892 2004-10-20  Michael Koch  <konqueror@gmx.de>
893
894         * javax/print/attribute/standard/ColorSupported.java,
895         javax/print/attribute/standard/Compression.java,
896         javax/print/attribute/standard/Copies.java,
897         javax/print/attribute/standard/CopiesSupported.java,
898         javax/print/attribute/standard/DateTimeAtCompleted.java,
899         javax/print/attribute/standard/DateTimeAtCreation.java,
900         javax/print/attribute/standard/DateTimeAtProcessing.java,
901         javax/print/attribute/standard/DocumentName.java,
902         javax/print/attribute/standard/Fidelity.java,
903         javax/print/attribute/standard/Finishings.java,
904         javax/print/attribute/standard/JobHoldUntil.java,
905         javax/print/attribute/standard/JobImpressions.java,
906         javax/print/attribute/standard/JobImpressionsCompleted.java,
907         javax/print/attribute/standard/JobImpressionsSupported.java,
908         javax/print/attribute/standard/JobKOctets.java,
909         javax/print/attribute/standard/JobKOctetsProcessed.java,
910         javax/print/attribute/standard/JobKOctetsSupported.java,
911         javax/print/attribute/standard/JobMediaSheets.java,
912         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
913         javax/print/attribute/standard/JobMediaSheetsSupported.java,
914         javax/print/attribute/standard/JobMessageFromOperator.java,
915         javax/print/attribute/standard/JobName.java,
916         javax/print/attribute/standard/JobOriginatingUserName.java,
917         javax/print/attribute/standard/JobPriority.java,
918         javax/print/attribute/standard/JobPrioritySupported.java,
919         javax/print/attribute/standard/JobSheets.java,
920         javax/print/attribute/standard/JobState.java,
921         javax/print/attribute/standard/JobStateReason.java,
922         javax/print/attribute/standard/JobStateReasons.java,
923         javax/print/attribute/standard/Media.java,
924         javax/print/attribute/standard/MultipleDocumentHandling.java,
925         javax/print/attribute/standard/NumberOfDocuments.java,
926         javax/print/attribute/standard/NumberOfInterveningJobs.java,
927         javax/print/attribute/standard/NumberUp.java,
928         javax/print/attribute/standard/NumberUpSupported.java,
929         javax/print/attribute/standard/OrientationRequested.java,
930         javax/print/attribute/standard/OutputDeviceAssigned.java,
931         javax/print/attribute/standard/PDLOverrideSupported.java,
932         javax/print/attribute/standard/PageRanges.java,
933         javax/print/attribute/standard/PagesPerMinute.java,
934         javax/print/attribute/standard/PagesPerMinuteColor.java,
935         javax/print/attribute/standard/PrintQuality.java,
936         javax/print/attribute/standard/PrinterInfo.java,
937         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
938         javax/print/attribute/standard/PrinterLocation.java,
939         javax/print/attribute/standard/PrinterMakeAndModel.java,
940         javax/print/attribute/standard/PrinterMessageFromOperator.java,
941         javax/print/attribute/standard/PrinterMoreInfo.java,
942         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
943         javax/print/attribute/standard/PrinterName.java,
944         javax/print/attribute/standard/PrinterStateReason.java,
945         javax/print/attribute/standard/PrinterStateReasons.java,
946         javax/print/attribute/standard/PrinterURI.java,
947         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
948         javax/print/attribute/standard/RequestingUserName.java:
949         Reorganized imports and removed redundant final modifiers.
950
951 2004-10-20  Michael Koch  <konqueror@gmx.de>
952
953         * javax/security/sasl/SaslClient.java,
954         javax/security/sasl/SaslClientFactory.java,
955         javax/security/sasl/SaslException.java,
956         javax/security/sasl/SaslServer.java,
957         javax/security/sasl/SaslServerFactory.java:
958         Remvoed CVS tags.
959
960 2004-10-20  Michael Koch  <konqueror@gmx.de>
961
962         * javax/security/auth/login/NullConfiguration.java,
963         javax/security/auth/x500/X500Principal.java,
964         javax/security/cert/X509Certificate.java,
965         javax/security/sasl/AuthenticationException.java,
966         javax/security/sasl/AuthorizeCallback.java,
967         javax/security/sasl/RealmCallback.java,
968         javax/security/sasl/RealmChoiceCallback.java,
969         javax/security/sasl/Sasl.java,
970         javax/security/sasl/SaslClient.java,
971         javax/security/sasl/SaslClientFactory.java,
972         javax/security/sasl/SaslException.java,
973         javax/security/sasl/SaslServer.java,
974         javax/security/sasl/SaslServerFactory.java:
975         Cleaned up import statements and copyright notices.
976
977 2004-10-20  Michael Koch  <konqueror@gmx.de>
978
979         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
980
981 2004-10-20  Michael Koch  <konqueror@gmx.de>
982
983         * java/sql/Timestamp.java,
984         java/text/AttributedCharacterIterator.java,
985         java/text/AttributedString.java,
986         java/util/zip/CheckedOutputStream.java,
987         java/util/zip/DeflaterOutputStream.java,
988         java/util/zip/ZipFile.java,
989         javax/crypto/Cipher.java,
990         javax/crypto/ExemptionMechanismException.java,
991         javax/crypto/SecretKey.java,
992         javax/crypto/SecretKeyFactory.java,
993         javax/naming/directory/ModificationItem.java,
994         javax/naming/directory/SearchControls.java,
995         javax/naming/event/NamingListener.java,
996         javax/naming/ldap/Control.java,
997         javax/naming/ldap/ExtendedResponse.java,
998         javax/net/ssl/SSLSocketFactory.java:
999         Reorganized imports and fixed copyright headers.
1000
1001 2004-10-20  Michael Koch  <konqueror@gmx.de>
1002
1003         * java/util/logging/ConsoleHandler.java,
1004         java/util/logging/ErrorManager.java,
1005         java/util/logging/FileHandler.java,
1006         java/util/logging/Filter.java,
1007         java/util/logging/Formatter.java,
1008         java/util/logging/Handler.java,
1009         java/util/logging/Level.java,
1010         java/util/logging/LogManager.java,
1011         java/util/logging/LogRecord.java,
1012         java/util/logging/Logger.java,
1013         java/util/logging/LoggingPermission.java,
1014         java/util/logging/MemoryHandler.java,
1015         java/util/logging/SimpleFormatter.java,
1016         java/util/logging/SocketHandler.java,
1017         java/util/logging/StreamHandler.java,
1018         java/util/logging/XMLFormatter.java:
1019         Standardized copyrigth header.
1020
1021 2004-10-20  Michael Koch  <konqueror@gmx.de>
1022
1023         * java/security/AlgorithmParameterGenerator.java,
1024         java/security/AlgorithmParameters.java,
1025         java/security/DigestInputStream.java,
1026         java/security/Identity.java,
1027         java/security/KeyFactory.java,
1028         java/security/KeyPairGenerator.java,
1029         java/security/KeyStore.java,
1030         java/security/MessageDigest.java,
1031         java/security/MessageDigestSpi.java,
1032         java/security/Policy.java,
1033         java/security/SecureRandom.java,
1034         java/security/Security.java,
1035         java/security/Signature.java,
1036         java/security/SignatureSpi.java,
1037         java/security/cert/CertPathBuilder.java,
1038         java/security/cert/CertPathValidator.java,
1039         java/security/cert/CertStore.java,
1040         java/security/cert/Certificate.java,
1041         java/security/cert/CertificateFactory.java,
1042         java/security/cert/PolicyQualifierInfo.java,
1043         java/security/cert/TrustAnchor.java,
1044         java/security/cert/X509CRL.java,
1045         java/security/cert/X509CRLEntry.java,
1046         java/security/cert/X509Certificate.java,
1047         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1048         Import statements reorganized, some little formatting issues,
1049         used java-style array declarations, added comments in empty catch
1050         blocks.
1051
1052 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1053
1054         * java/security/Security.java
1055         (static): Use AccessController.doPrivileged to get system property.
1056
1057 2004-10-18  Sven de Marothy  <sven@physto.se>
1058
1059         * java/nio/ByteBufferHelper.java
1060         (putDouble): Use Double.toRawLongBits instead.
1061
1062 2004-10-18  Mark Wielaard  <mark@klomp.org>
1063         Andrew Haley  <aph@redhat.com>
1064
1065         * testsuite/libjava.lang/ExtraClassLoader.java: New.
1066
1067 2004-10-18  Andrew Haley  <aph@redhat.com>
1068
1069         PR java/18036:
1070         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1071         and correct logic used to find interpreter.
1072         
1073 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1074
1075         * java/util/logging/LogManager.java
1076         (findAncestor): Fixed IndexOutOfBoundsException.
1077
1078 2004-10-18  Michael Koch  <konqueror@gmx.de>
1079
1080         * java/io/BufferedInputStream.java: Fixed @author tag.
1081         (read): Simplified expression.
1082         (read): Merged javadoc a bit more.
1083         (read): Renamed 'remain' to 'totalBytesRead'.
1084         * java/io/DataInputStream.java,
1085         java/io/DataOutputStream.java,
1086         java/io/ObjectInputStream.java,
1087         java/io/ObjectOutputStream.java:
1088         Reworked modifier order.
1089
1090 2004-10-18  Michael Koch  <konqueror@gmx.de>
1091
1092         * java/net/Inet4Address.java: Merged file header and javadocs.
1093         * java/net/Inet6Address.java: Likewise.
1094         * java/net/InetAddress.java
1095         (getCanonicalHostName): Create Inet4Address object instead of
1096         InetAddress and add comment regarding IPv6.
1097         (toString): Simplified.
1098
1099 2004-10-18  Michael Koch  <konqueror@gmx.de>
1100
1101         * gnu/java/net/protocol/http/Connection.java,
1102         java/nio/MappedByteBufferImpl.java,
1103         java/text/RuleBasedCollator.java,
1104         java/util/ResourceBundle.java:
1105         Reworked import statements.
1106
1107 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1108
1109         * java/security/IdentityScope.java
1110         (systemScope): Removed useless initializer.
1111         * java/security/Policy.java
1112         (currentPolicy): Likewise.
1113
1114 2004-10-18  Michael Koch  <konqueror@gmx.de>
1115
1116         * java/lang/System.java: Revert accidential change.
1117
1118 2004-10-18  Michael Koch  <konqueror@gmx.de>
1119
1120         * java/lang/Math.java,
1121         java/lang/Package.java,
1122         java/lang/Runtime.java,
1123         java/lang/StrictMath.java,
1124         java/lang/System.java,
1125         java/lang/Thread.java,
1126         java/lang/ThreadLocal.java,
1127         java/lang/Void.java:
1128         Reworked import statements, HTML in javadocs and modifier orders.
1129
1130 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1131
1132         * java/util/Timer.java
1133         (nr): Removed useless initializer.
1134         * java/util/logging/LogRecord.java
1135         (lastSeqNum): Likewise.
1136         * javax/naming/spi/NamingManager.java
1137         (icfb, ofb): Likewise.
1138
1139 2004-10-18  Michael Koch  <konqueror@gmx.de>
1140
1141         * gnu/java/net/PlainDatagramSocketImpl.java:
1142         Reworked import statements.
1143         * gnu/java/security/provider/DSAParameters.java:
1144         Fixed copyrigth years.
1145         * java/net/JarURLConnection.java:
1146         Fixed HTML in @author tags.
1147         
1148
1149 2004-10-18  Michael Koch  <konqueror@gmx.de>
1150
1151         * java/rmi/activation/ActivationSystem.java
1152         (SYSTEM_PORT): Initialize with correct port number.
1153
1154 2004-10-18  Michael Koch  <konqueror@gmx.de>
1155
1156         * java/lang/reflect/Proxy.java: Improved javadocs.
1157
1158 2004-10-18  Michael Koch  <konqueror@gmx.de>
1159
1160         * java/lang/reflect/AccessibleObject.java
1161         (checkPermission): Removed redundant final modifier.
1162         (secureSetAccessible): Likewise.
1163         * java/lang/reflect/Proxy.java:
1164         Reworked import statements.
1165         (generate): Removed redundant final modifier.
1166         * java/lang/reflect/ReflectPermission.java:
1167         Reorder package declaration and import statement.
1168
1169 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1170
1171         * java/lang/reflect/Proxy.java
1172         (count): Removed useless initializer.
1173
1174 2004-10-17  Michael Koch  <konqueror@gmx.de>
1175
1176         * java/net/BindException.java,
1177         java/net/ConnectException.java,
1178         java/net/ContentHandler.java,
1179         java/net/ContentHandlerFactory.java,
1180         java/net/DatagramPacket.java,
1181         java/net/DatagramSocket.java,
1182         java/net/DatagramSocketImpl.java,
1183         java/net/DatagramSocketImplFactory.java,
1184         java/net/FileNameMap.java,
1185         java/net/HttpURLConnection.java,
1186         java/net/MalformedURLException.java,
1187         java/net/MulticastSocket.java,
1188         java/net/NetworkInterface.java,
1189         java/net/NoRouteToHostException.java,
1190         java/net/PasswordAuthentication.java,
1191         java/net/PortUnreachableException.java,
1192         java/net/ProtocolException.java,
1193         java/net/ServerSocket.java,
1194         java/net/Socket.java,
1195         java/net/SocketException.java,
1196         java/net/SocketImpl.java,
1197         java/net/SocketImplFactory.java,
1198         java/net/SocketOptions.java,
1199         java/net/SocketPermission.java,
1200         java/net/SocketTimeoutException.java,
1201         java/net/URI.java,
1202         java/net/URISyntaxException.java,
1203         java/net/URL.java,
1204         java/net/URLDecoder.java,
1205         java/net/URLEncoder.java,
1206         java/net/URLStreamHandler.java,
1207         java/net/URLStreamHandlerFactory.java,
1208         java/net/UnknownHostException.java,
1209         java/net/UnknownServiceException.java:
1210         Big import statement and @author tag cleanup.
1211
1212 2004-10-17  Michael Koch  <konqueror@gmx.de>
1213
1214         * gnu/java/security/OID.java,
1215         gnu/java/security/provider/DSAParameters.java,
1216         gnu/java/security/provider/DSASignature.java,
1217         gnu/java/security/x509/X500DistinguishedName.java,
1218         gnu/java/security/x509/X509CRL.java:
1219         Import statements cleaned up.
1220
1221 2004-10-16  Michael Koch  <konqueror@gmx.de>
1222
1223         * gnu/java/nio/NIODatagramSocket.java,
1224         gnu/java/nio/ServerSocketChannelImpl.java:
1225         Reorganized import statements.
1226
1227 2004-10-16  Michael Koch  <konqueror@gmx.de>
1228
1229         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1230         gnu/java/rmi/rmic/RMIC.java,
1231         gnu/java/rmi/server/RMIHashes.java,
1232         gnu/java/rmi/server/RMIObjectInputStream.java,
1233         gnu/java/rmi/server/RMIObjectOutputStream.java,
1234         gnu/java/rmi/server/UnicastConnection.java,
1235         gnu/java/rmi/server/UnicastConnectionManager.java,
1236         gnu/java/rmi/server/UnicastRemoteCall.java,
1237         gnu/java/rmi/server/UnicastServer.java,
1238         gnu/java/rmi/server/UnicastServerRef.java,
1239         java/rmi/MarshalledObject.java,
1240         java/rmi/Naming.java,
1241         java/rmi/RMISecurityManager.java,
1242         java/rmi/Remote.java,
1243         java/rmi/activation/Activatable.java,
1244         java/rmi/activation/ActivationDesc.java,
1245         java/rmi/activation/ActivationGroup.java,
1246         java/rmi/activation/ActivationGroupDesc.java,
1247         java/rmi/activation/ActivationGroupID.java,
1248         java/rmi/activation/ActivationID.java,
1249         java/rmi/activation/ActivationInstantiator.java,
1250         java/rmi/activation/ActivationMonitor.java,
1251         java/rmi/activation/ActivationSystem.java,
1252         java/rmi/activation/Activator.java,
1253         java/rmi/dgc/DGC.java,
1254         java/rmi/dgc/Lease.java,
1255         java/rmi/dgc/VMID.java,
1256         java/rmi/registry/LocateRegistry.java,
1257         java/rmi/registry/Registry.java,
1258         java/rmi/registry/RegistryHandler.java,
1259         java/rmi/server/LoaderHandler.java,
1260         java/rmi/server/LogStream.java,
1261         java/rmi/server/ObjID.java,
1262         java/rmi/server/Operation.java,
1263         java/rmi/server/RMIClassLoader.java,
1264         java/rmi/server/RMIClassLoaderSpi.java,
1265         java/rmi/server/RMIClientSocketFactory.java,
1266         java/rmi/server/RMIFailureHandler.java,
1267         java/rmi/server/RMIServerSocketFactory.java,
1268         java/rmi/server/RMISocketFactory.java,
1269         java/rmi/server/RemoteCall.java,
1270         java/rmi/server/RemoteObject.java,
1271         java/rmi/server/RemoteRef.java,
1272         java/rmi/server/RemoteServer.java,
1273         java/rmi/server/RemoteStub.java,
1274         java/rmi/server/ServerRef.java,
1275         java/rmi/server/Skeleton.java,
1276         java/rmi/server/SkeletonMismatchException.java,
1277         java/rmi/server/UID.java,
1278         java/rmi/server/UnicastRemoteObject.java,
1279         java/rmi/server/Unreferenced.java:
1280         File headers and import statements cleaned up.
1281
1282 2004-10-16  Michael Koch  <konqueror@gmx.de>
1283
1284         * libjava/gnu/java/nio/charset/UTF_16.java,
1285         libjava/gnu/java/nio/charset/UTF_16BE.java,
1286         libjava/gnu/java/nio/charset/UTF_16LE.java,
1287         libjava/java/nio/ByteOrder.java,
1288         libjava/java/nio/MappedByteBuffer.java,
1289         libjava/java/nio/channels/Channels.java,
1290         libjava/java/nio/channels/spi/SelectorProvider.java,
1291         libjava/java/nio/charset/Charset.java:
1292         Cleanup.
1293
1294 2004-10-16  Michael Koch  <konqueror@gmx.de>
1295
1296         * gnu/java/nio/charset/UTF_16Encoder.java
1297         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1298
1299 2004-10-16  Michael Koch  <konqueror@gmx.de>
1300
1301         * java/math/BigDecimal.java, java/math/BigInteger.java:
1302         Reorganized import statements, removed redundant and
1303         reorganized modifiers.
1304
1305 2004-10-16  Michael Koch  <konqueror@gmx.de>
1306
1307         * gnu/java/beans/ExplicitBeanInfo.java:
1308         Explicitely import java.awt.Image.
1309         (getIcon): Fixed off-by-one error.
1310
1311 2004-10-15  Andrew Haley  <aph@redhat.com>
1312
1313         * Makefile.am (nat_files, xlib_nat_files): New.
1314         * Makefile.in: Regenerate.
1315
1316 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1317
1318         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1319         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1320
1321 2004-10-13  Andrew Haley  <aph@redhat.com>
1322
1323         * interpret.cc (_Jv_InterpMethod::run): Initialize
1324         _Jv_StartOfInterpreter.
1325         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1326         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1327         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1328         _Unwind_FindEnclosingFunction to discover whether PC is within the
1329         interpreter.
1330
1331 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1332
1333         PR libgcj/17903:
1334         * testsuite/libjava.lang/md5test.java: New file.
1335         * testsuite/libjava.lang/md5test.out: Likewise.
1336         * testsuite/libjava.lang/shatest.java: Likewise.
1337         * testsuite/libjava.lang/shatest.out: Likewise.
1338
1339 2004-10-11  Richard Henderson  <rth@redhat.com>
1340
1341         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1342         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1343
1344 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1345
1346         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1347         field as a DST boundary may have been crossed.
1348         * java/util/GregorianCalendar.java (add): Throw 
1349         IllegalArgumentException on attempt to add to DST_OFFSET or 
1350         ZONE_OFFSET fields. Update javadoc.
1351
1352 2004-10-09  Michael Koch  <konqueror@gmx.de>
1353
1354         * java/io/CharArrayWriter.java
1355         (resize): Removed redundant 'final' modifier.
1356         * java/io/DataInputStream.java
1357         (readFully): Throw IndexOutOfBoundsException of len < 0.
1358         * java/io/FileDescriptor.java,
1359         java/io/FileInputStream.java,
1360         java/io/FileOutputStream.java,
1361         java/io/ObjectOutputStream.java,
1362         java/io/ObjectStreamClass.java,
1363         java/io/PipedInputStream.java,
1364         java/io/RandomAccessFile.java:
1365         Reorganized import statements.
1366
1367 2004-10-09  Michael Koch  <konqueror@gmx.de>
1368
1369         * gnu/java/rmi/rmic/RMIC.java,
1370         gnu/java/rmi/server/RMIHashes.java,
1371         gnu/java/rmi/server/RMIObjectInputStream.java,
1372         gnu/java/rmi/server/UnicastConnection.java,
1373         gnu/java/rmi/server/UnicastConnectionManager.java,
1374         gnu/java/rmi/server/UnicastRemoteCall.java,
1375         gnu/java/rmi/server/UnicastServerRef.java:
1376         Reworked import statements and fixed file headers.
1377
1378 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1379
1380         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1381         emission rule.
1382         * configure: Rebuilt.
1383
1384 2004-09-30  Tom Tromey  <tromey@redhat.com>
1385
1386         * java/text/MessageFormat.java (Field): Constructor now
1387         protected.
1388
1389 2004-09-30  Tom Tromey  <tromey@redhat.com>
1390
1391         * javax/crypto/MacSpi.java: Fixed typo.
1392
1393 2004-09-30  Michael Koch  <konqueror@gmx.de>
1394
1395         * java/net/InetAddress.java: Reformatted.
1396         (loopback): Initialize with Inet4Address object.
1397         (static): Initialize ANY_IF with Inet4Address object.
1398         (InetAddress): Removed unused package-private constructor.
1399
1400 2004-09-30  Michael Koch  <konqueror@gmx.de>
1401
1402         * java/beans/Beans.java,
1403         java/beans/EventHandler.java,
1404         java/beans/EventSetDescriptor.java,
1405         java/beans/Introspector.java,
1406         java/beans/PropertyEditorManager.java,
1407         java/beans/beancontext/BeanContext.java,
1408         java/beans/beancontext/BeanContextChild.java,
1409         java/beans/beancontext/BeanContextChildSupport.java,
1410         java/beans/beancontext/BeanContextMembershipEvent.java:
1411         Reordered import statements and removed redundant modifiers.
1412
1413 2004-09-29  Tom Tromey  <tromey@redhat.com>
1414
1415         PR libgcj/17715:
1416         * Makefile.in: Rebuilt.
1417         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1418         files.
1419         (all_property_files): New macro.
1420
1421         * Makefile.in: Rebuilt.
1422         * Makefile.am (ordinary_java_source_files): Re-sorted.
1423         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1424
1425 2004-09-28  Tom Tromey  <tromey@redhat.com>
1426
1427         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1428
1429         PR libgcj/17222:
1430         * Makefile.am (libgcj.la): Restored.
1431         * Makefile.in: Rebuilt.
1432
1433 2004-09-28  Michael Koch  <konqueror@gmx.de>
1434
1435         * java/net/URLConnection.java: Reformatted.
1436         * java/net/URLClassLoader.java: Reformatted.
1437         (getContent): Reordered return of content.
1438         (getContentHandler): Don't check for null explicitely.
1439
1440 2004-09-27  Michael Koch  <konqueror@gmx.de>
1441
1442         * java/io/BufferedInputStream.java
1443         (BufferedInputStream): Added Jeroen Frijters to authors.
1444         (count): Don't explicitely initialize with default value.
1445         (pos): Likewise.
1446         (marklimit): Likewise.
1447         (read): Changed boolean expression to match GNU classpath' version.
1448         (reset): Add proper message to exception.
1449         (skip): Check for closed stream.
1450         (refill): Likewise.
1451
1452 2004-09-26  Per Bothner  <per@bothner.com>
1453
1454         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1455         avoid warnings in the non-POSIX_VERSION case.
1456         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1457         so place it inside an #if block.
1458         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1459         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1460         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1461         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1462
1463 2004-09-26  Per Bothner  <per@bothner.com>
1464
1465         * prims.cc (process_gcj_properties):  Optimization.
1466
1467 2004-09-26  Per Bothner  <per@bothner.com>
1468
1469         * java/util/Collections.java (sort):  Copy from array in forwards
1470         order, rather than reverse order which may be much less efficient.
1471
1472 2004-09-26  Mark Wielaard  <mark@klomp.org>
1473
1474         * java/lang/System.java (properties): Make package private.
1475         * java/lang/Throwable.java (StaticData.nl): Initialize through
1476         directly accessing System.properties.getProperty().
1477
1478         * java/lang/Throwable.java (nl): Remove static field.
1479         (StaticData): New private static inner class.
1480         (stackTraceStringBuffer): Use StaticData.nl.
1481
1482 2004-09-26  Casey Marshall <csm@gnu.org>
1483
1484         * java/security/ProtectionDomain.java
1485         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1486         `true'.
1487
1488         * java/security/SecureClassLoader.java
1489         (defineClass): make protection domain dynamically bound.
1490         (getPermissions): call `getCurrentPolicy' to avoid permission
1491         check.
1492
1493 2004-09-25  Mark Wielaard  <mark@klomp.org>
1494
1495         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1496         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1497         * Makefile.in: Regenerated.
1498
1499         * gcj/javaprims.h: Regenerated.
1500
1501         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1502         (getDefaultTimeZone): Make package private. Check that GMToffset
1503         contains at least one digit.
1504         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1505         VMTimeZone.
1506         * util/VMTimeZone.java: New file with above methods.
1507
1508         * java/util/natTimeZone.cc: Removed (renamed).
1509         * java/util/natVMTimeZone.cc: Added (renamed).
1510
1511 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1512
1513         * java/util/TimeZone.java
1514         (getDefaultTimeZone): Fixed test to distinguish between hours and
1515         minutes in specified timezone.
1516
1517 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1518
1519         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1520         handling of default package. (generate): Removed confused comments
1521         and code about making Method and Field accessible.
1522
1523 2004-09-25  Tom Tromey  <tromey@redhat.com>
1524
1525         PR java/17500:
1526         * testsuite/libjava.compile/pr17500.java: New file.
1527
1528 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1529             Mark Wielaard  <mark@klomp.org>
1530
1531         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1532         * gnu/regexp/RETokenLookAhead.java: New file.
1533
1534         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1535         * Makefile.in: Regenerated.
1536
1537 2004-09-25  Michael Koch  <konqueror@gmx.de>
1538
1539         * java/io/ObjectStreamField.java:
1540         Removed unused import statement.
1541
1542 2004-09-24  Tom Tromey  <tromey@redhat.com>
1543
1544         PR java/15656:
1545         * testsuite/libjava.compile/pr15656.xfail: New file.
1546         * testsuite/libjava.compile/pr15656.java: new file.
1547
1548         PR java/16789:
1549         * testsuite/libjava.lang/pr16789.out: New file.
1550         * testsuite/libjava.lang/pr16789.java: New file.
1551
1552 2004-09-24  Andrew Haley  <aph@redhat.com>
1553
1554         PR java/16927
1555         * testsuite/libjava.compile/AssertBug.java: New file.
1556
1557 2004-09-24  Casey Marshall <csm@gnu.org>
1558
1559         * java/util/PropertyPermissionCollection.java
1560         (implies): avoid infinite loop.
1561
1562 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1563
1564         * javax/security/auth/PrivateCredentialPermission.java
1565         (PrivateCredentialPermission): added serialization UID
1566
1567
1568 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1569
1570         * gnu/java/rmi/server/UnicastServer.java
1571         (incomingMessageCall): Added code to handle Errors.
1572         * gnu/java/rmi/server/UnicastServerRef.java
1573         (incomingMessageCall): Added code to handle Errors.
1574
1575
1576 2004-09-24  Tom Tromey  <tromey@redhat.com>
1577
1578         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1579         (definedPackages): Likewise.
1580
1581 2004-09-24  Michael Koch  <konqueror@gmx.de>
1582
1583         * java/io/ObjectInputStream.java:
1584         Re-ordered imports.
1585
1586 2004-09-24  Casey Marshall <csm@gnu.org>
1587
1588         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1589         `ClassNotFoundException'.
1590
1591 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1592
1593         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1594         of Externalizable classes to ObjectStreamClass.
1595         * java/io/ObjectStreamClass.java (newInstance): New method to
1596         instantiate Externalizable (while ignoring the accessibility of
1597         the constructor). (constructor): New field to cache the constructor.
1598
1599 2004-09-24  Mark Wielaard  <mark@klomp.org>
1600
1601         * java/net/URL.java (systemClassLoader): New static field.
1602         (getURLStreamHandler): Always use system/application classloader
1603         for finding URLStreamhandler. Remove unecessary instanceof checks.
1604
1605 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1606
1607         * java/net/URL.java
1608         (set): This method now matches the behaviour of the JDK.
1609         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1610
1611 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1612
1613         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1614
1615 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1616
1617         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1618         Don't set authority if host isn't specified.
1619
1620 2004-09-24  Michael Koch  <konqueror@gmx.de>
1621
1622         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1623         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1624         * gnu/java/nio/VMPipe.java,
1625         gnu/java/nio/VMSelector.java:
1626         New files.
1627         * gnu/java/nio/natPipeImplEcos.cc,
1628         gnu/java/nio/natPipeImplPosix.cc,
1629         gnu/java/nio/natPipeImplWin32.cc:
1630         Ported to VMPipe.
1631         * gnu/java/nio/natSelectorImplEcos.cc,
1632         gnu/java/nio/natSelectorImplPosix.cc,
1633         gnu/java/nio/natSelectorImplWin32.cc:
1634         Ported to VMSelector.
1635         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1636         gnu/java/nio/VMSelector.java.
1637         * Makefile.in: Regenerated.
1638
1639 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1640
1641         * java/lang/StackTraceElement.java
1642         (className): Renamed field to declaringClass to be compatible
1643         with Sun serialization format.
1644
1645 2004-09-23  Michael Koch  <konqueror@gmx.de>
1646
1647         * java/applet/AppletContext.java,
1648         java/applet/Applet.java,
1649         java/applet/AppletStub.java,
1650         java/applet/AudioClip.java:
1651         Jalopied and checkstyle clean.
1652
1653 2004-09-23  Mark Wielaard  <mark@klomp.org>
1654
1655         * java/util/Collections.java
1656         (binarySearch(List, Object, Comparator)): Explicitly
1657         reverse direction in list iterator.
1658         (rotate): Just return when list is empty.
1659
1660 2004-09-23  Tom Tromey  <tromey@redhat.com>
1661
1662         PR java/17329:
1663         * testsuite/libjava.compile/pr17329.java: New file.
1664
1665         PR java/17380:
1666         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1667         9.2-implicit-7.
1668
1669 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1670
1671         * Makefile.am: Run aclocal with -I ../config
1672         * acinclude.m4: Delete macros picked up from ../config and tidy.
1673         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1674         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1675         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1676
1677 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1678
1679         * aclocal.m4: Regenerate with aclocal 1.9.2.
1680         * configure: Regenerate.
1681         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1682         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1683
1684 2004-09-22  David Daney  <ddaney@avtrex.com>
1685
1686         PR libgcj/17623
1687         * java/net/URL.java (URL): Copy userInfo from context.
1688         (getUserInfo): Return cached userInfo if present.
1689
1690 2004-09-22  Tom Tromey  <tromey@redhat.com>
1691
1692         PR libgcj/6182:
1693         * mauve-libgcj: Enable java.lang.Character tests.
1694
1695 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1696
1697         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1698         dependencies.
1699         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1700         * Makefile.in: Regenerated.
1701
1702 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1703
1704         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1705         * configure: Regenerate.
1706         * include/config.h.in: Likewise.
1707         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1709         macro to gtkpeer.h.
1710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1711         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1712         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1713         architectures.
1714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1715         Likewise.
1716
1717 2004-09-22  Tom Tromey  <tromey@redhat.com>
1718
1719         PR libgcj/14446:
1720         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1721         when comparing CRCs.
1722         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1723         field.
1724         (read()): New overload.
1725
1726 2004-09-21  Tom Tromey  <tromey@redhat.com>
1727
1728         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1729         Indentation fix.
1730
1731 2004-09-21  Michael Koch  <konqueror@gmx.de>
1732
1733         * java/net/Socket.java
1734         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1735
1736 2004-09-21  Casey Marshall  <csm@gnu.org>
1737
1738         * javax/crypto/MacSpi.java (clone): Provide meaningful
1739         implementation.
1740
1741 2004-09-21  Tom Tromey  <tromey@redhat.com>
1742
1743         PR libgcj/16869:
1744         * Makefile.in: Rebuilt.
1745         * Makefile.am (MOSTLYCLEANFILES): Removed.
1746         (mostlyclean-local): Remove header files.
1747
1748 2004-09-21  Casey Marshall  <csm@gnu.org>
1749
1750         * java/security/cert/X509CRLSelector.java:
1751         (match): remove unreachable try-catch clauses.
1752         Reported by: Dalibor Topic <robilad@kaffe.org>
1753
1754 2004-09-21  Mark Wielaard  <mark@klomp.org>
1755
1756         * java/util/TreeMap.java (root): Don't initialize.
1757         (TreeMap(Comparator)): Call fabricateTree(0).
1758         (fabricateTree): Initialize root and size when count is 0.
1759
1760 2004-09-21  Sven de Marothy <sven@physto.se>
1761
1762         * java/nio/ByteBuffer.java (hashCode): Implemented.
1763         * java/nio/CharBuffer.java: Likewise.
1764         * java/nio/DoubleBuffer.java: Likewise.
1765         * java/nio/FloatBuffer.java: Likewise.
1766         * java/nio/LongBuffer.java: Likewise.
1767         * java/nio/IntBuffer.java: Likewise.
1768         * java/nio/ShortBuffer.java: Likewise.
1769
1770 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1771
1772         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1773
1774 2004-09-21  Michael Koch  <konqueror@gmx.de>
1775
1776         * javax/net/ssl/SSLServerSocket.java:
1777         Removed comment about "Do not edit this file, it's generated.".
1778
1779 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1780
1781         Import the big Crypto/Jessie/Security merge from Classpath.
1782
1783         * Makefile.am: Add imported files.
1784         * Makefile.in: Regenerate.
1785
1786         2004-08-14  Casey Marshall <csm@gnu.org>
1787
1788         The Big Crypto Merge of 2004.
1789
1790         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1791         Crypto's version.
1792
1793         Files imported from GNU Crypto.
1794         * javax/crypto/BadPaddingException.java
1795         * javax/crypto/Cipher.java
1796         * javax/crypto/CipherInputStream.java
1797         * javax/crypto/CipherOutputStream.java
1798         * javax/crypto/CipherSpi.java
1799         * javax/crypto/EncryptedPrivateKeyInfo.java
1800         * javax/crypto/ExemptionMechanism.java
1801         * javax/crypto/ExemptionMechanismException.java
1802         * javax/crypto/ExemptionMechanismSpi.java
1803         * javax/crypto/IllegalBlockSizeException.java
1804         * javax/crypto/KeyAgreement.java
1805         * javax/crypto/KeyAgreementSpi.java
1806         * javax/crypto/KeyGenerator.java
1807         * javax/crypto/KeyGeneratorSpi.java
1808         * javax/crypto/Mac.java
1809         * javax/crypto/MacSpi.java
1810         * javax/crypto/Makefile.am
1811         * javax/crypto/NoSuchPaddingException.java
1812         * javax/crypto/NullCipher.java
1813         * javax/crypto/NullCipherImpl.java
1814         * javax/crypto/SealedObject.java
1815         * javax/crypto/SecretKey.java
1816         * javax/crypto/SecretKeyFactory.java
1817         * javax/crypto/SecretKeyFactorySpi.java
1818         * javax/crypto/ShortBufferException.java
1819         * javax/crypto/interfaces/DHKey.java
1820         * javax/crypto/interfaces/DHPrivateKey.java
1821         * javax/crypto/interfaces/DHPublicKey.java
1822         * javax/crypto/interfaces/PBEKey.java
1823         * javax/crypto/spec/DESKeySpec.java
1824         * javax/crypto/spec/DESedeKeySpec.java
1825         * javax/crypto/spec/DHGenParameterSpec.java
1826         * javax/crypto/spec/DHParameterSpec.java
1827         * javax/crypto/spec/DHPrivateKeySpec.java
1828         * javax/crypto/spec/DHPublicKeySpec.java
1829         * javax/crypto/spec/IvParameterSpec.java
1830         * javax/crypto/spec/PBEKeySpec.java
1831         * javax/crypto/spec/PBEParameterSpec.java
1832         * javax/crypto/spec/RC2ParameterSpec.java
1833         * javax/crypto/spec/RC5ParameterSpec.java
1834         * javax/crypto/spec/SecretKeySpec.java
1835         * javax/security/auth/AuthPermission.java
1836         * javax/security/auth/DestroyFailedException.java
1837         * javax/security/auth/Destroyable.java
1838         * javax/security/auth/Policy.java
1839         * javax/security/auth/PrivateCredentialPermission.java
1840         * javax/security/auth/RefreshFailedException.java
1841         * javax/security/auth/Refreshable.java
1842         * javax/security/auth/Subject.java
1843         * javax/security/auth/SubjectDomainCombiner.java
1844         * javax/security/auth/callback/Callback.java
1845         * javax/security/auth/callback/CallbackHandler.java
1846         * javax/security/auth/callback/ChoiceCallback.java
1847         * javax/security/auth/callback/ConfirmationCallback.java
1848         * javax/security/auth/callback/LanguageCallback.java
1849         * javax/security/auth/callback/NameCallback.java
1850         * javax/security/auth/callback/PasswordCallback.java
1851         * javax/security/auth/callback/TextInputCallback.java
1852         * javax/security/auth/callback/TextOutputCallback.java
1853         * javax/security/auth/callback/UnsupportedCallbackException.java
1854         * javax/security/auth/login/AccountExpiredException.java
1855         * javax/security/auth/login/AppConfigurationEntry.java
1856         * javax/security/auth/login/Configuration.java
1857         * javax/security/auth/login/CredentialExpiredException.java
1858         * javax/security/auth/login/FailedLoginException.java
1859         * javax/security/auth/login/LoginContext.java
1860         * javax/security/auth/login/LoginException.java
1861         * javax/security/auth/login/NullConfiguration.java
1862         * javax/security/auth/x500/X500PrivateCredential.java
1863         * javax/security/sasl/AuthenticationException.java
1864         * javax/security/sasl/AuthorizeCallback.java
1865         * javax/security/sasl/RealmCallback.java
1866         * javax/security/sasl/RealmChoiceCallback.java
1867         * javax/security/sasl/Sasl.java
1868         * javax/security/sasl/SaslClient.java
1869         * javax/security/sasl/SaslClientFactory.java
1870         * javax/security/sasl/SaslException.java
1871         * javax/security/sasl/SaslServer.java
1872         * javax/security/sasl/SaslServerFactory.java
1873         * org/ietf/jgss/ChannelBinding.java
1874         * org/ietf/jgss/GSSContext.java
1875         * org/ietf/jgss/GSSCredential.java
1876         * org/ietf/jgss/GSSException.java
1877         * org/ietf/jgss/GSSManager.java
1878         * org/ietf/jgss/GSSName.java
1879         * org/ietf/jgss/MessageProp.java
1880         * org/ietf/jgss/Oid.java
1881         * org/ietf/jgss/MessagesBundle.properties
1882
1883         Files imported from Jessie <http://www.nongnu.org/jessie/>
1884         * javax/net/ServerSocketFactory.java
1885         * javax/net/SocketFactory.java
1886         * javax/net/VanillaServerSocketFactory.java
1887         * javax/net/VanillaSocketFactory.java
1888         * javax/net/ssl/HandshakeCompletedEvent.java
1889         * javax/net/ssl/HandshakeCompletedListener.java
1890         * javax/net/ssl/HostnameVerifier.java
1891         * javax/net/ssl/HttpsURLConnection.java
1892         * javax/net/ssl/KeyManager.java
1893         * javax/net/ssl/KeyManagerFactory.java
1894         * javax/net/ssl/KeyManagerFactorySpi.java
1895         * javax/net/ssl/ManagerFactoryParameters.java
1896         * javax/net/ssl/SSLContext.java
1897         * javax/net/ssl/SSLContextSpi.java
1898         * javax/net/ssl/SSLException.java
1899         * javax/net/ssl/SSLHandshakeException.java
1900         * javax/net/ssl/SSLKeyException.java
1901         * javax/net/ssl/SSLPeerUnverifiedException.java
1902         * javax/net/ssl/SSLPermission.java
1903         * javax/net/ssl/SSLProtocolException.java
1904         * javax/net/ssl/SSLServerSocket.java
1905         * javax/net/ssl/SSLServerSocketFactory.java
1906         * javax/net/ssl/SSLSession.java
1907         * javax/net/ssl/SSLSessionBindingEvent.java
1908         * javax/net/ssl/SSLSessionBindingListener.java
1909         * javax/net/ssl/SSLSessionContext.java
1910         * javax/net/ssl/SSLSocket.java
1911         * javax/net/ssl/SSLSocketFactory.java
1912         * javax/net/ssl/TrivialHostnameVerifier.java
1913         * javax/net/ssl/TrustManager.java
1914         * javax/net/ssl/TrustManagerFactory.java
1915         * javax/net/ssl/TrustManagerFactorySpi.java
1916         * javax/net/ssl/X509KeyManager.java
1917         * javax/net/ssl/X509TrustManager.java
1918         * javax/security/cert/Certificate.java
1919         * javax/security/cert/CertificateEncodingException.java
1920         * javax/security/cert/CertificateException.java
1921         * javax/security/cert/CertificateExpiredException.java
1922         * javax/security/cert/CertificateNotYetValidException.java
1923         * javax/security/cert/CertificateParsingException.java
1924         * javax/security/cert/X509CertBridge.java
1925         * javax/security/cert/X509Certificate.java
1926
1927         2004-08-20  Casey Marshall  <csm@gnu.org>
1928
1929         * java/security/cert/X509CRLSelector.java: New file.
1930         * java/security/cert/X509CertSelector.java: New file.
1931
1932 2004-09-15  Michael Koch  <konqueror@gmx.de>
1933
1934         * gnu/java/net/protocol/file/Handler.java
1935         (openConnection): Don't throw exception if host part for file: URI is
1936         present. setURL() keeps file: protocol if ftp: protocol is not
1937         available.
1938
1939 2004-09-14  Richard Henderson  <rth@redhat.com>
1940
1941         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1942         value of sigsuspend.
1943
1944 2004-09-12  Tom Tromey  <tromey@redhat.com>
1945
1946         * javax/naming/CompoundName.java (CompoundName): Don't check for
1947         separator in "flat" case.
1948
1949 2004-09-12  Michael Koch  <konqueror@gmx.de>
1950
1951         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1952         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1953         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1954         Regenerate.
1955
1956 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1957
1958         PR libgcj/14751
1959         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1960         handle in newly-allocated _Jv_Thread_t.
1961         (_Jv_ThreadDestroyData): Close thread handle.
1962         (_Jv_ThreadStart): Remove obsolete comment.
1963         Store handle of newly-created thread in _Jv_Thread_t.
1964         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1965         before including <windows.h>
1966         #define _Jv_HaveCondDestroy
1967
1968 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1969
1970         * java/lang/natThread.cc (finalize_native): Destroy
1971         join conditional variable and mutex if these destroy
1972         operations are supported.
1973
1974 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1975
1976         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1977         (DEFAULT_PERMISSION): New constant.
1978         (Connection): Create a FilePermission with permission to read file.
1979
1980 2004-09-10  Michael Koch  <konqueror@gmx.de>
1981
1982         * gnu/java/net/protocol/file/Connection.java
1983         (getLastModified): Moved around.
1984         (getPermission): Return stored permission.
1985
1986 2004-09-10  Michael Koch  <konqueror@gmx.de>
1987
1988         * Makefile.in: Regenerate.
1989
1990 2004-09-10  Michael Koch  <konqueror@gmx.de>
1991
1992         * Makefile.am: Reverted accidently commited stuff.
1993         * configure: Regenerated.
1994
1995 2004-09-10  Michael Koch  <konqueror@gmx.de>
1996
1997         * gnu/java/net/protocol/file/Connection.java
1998         (lineSeparator): Made non-final.
1999         (static): Removed.
2000         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2001         instead of StringBufferInputStream.
2002
2003 2004-09-10  Michael Koch  <konqueror@gmx.de>
2004
2005         * gnu/java/net/protocol/file/Connection.java
2006         (connect): Handle file is a directory case.
2007
2008 2004-09-10  Michael Koch  <konqueror@gmx.de>
2009
2010         * Makefile.am
2011         (xlib_includes): Removed.
2012         (AM_CPPFLAGS): Renamed from INCLUDES.
2013         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2014         * Makefile.in: Regenerate.
2015
2016 2004-09-09  Michael Koch  <konqueror@gmx.de>
2017
2018         * java/security/ProtectionDomain.java,
2019         * java/util/PropertyPermissionCollection.java:
2020         Fixed javadocs all over.
2021
2022 2004-09-09  Sven de Marothy  <sven@physto.se>
2023
2024         Patch from David Gilbert <david.gilbert@object-refinery.com>
2025         * java/lang/Comparable.java: Fixed documentation errors.
2026         * java/util/Arrays.java: Likewise.
2027
2028 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2029
2030         * java/net/Inet4Address.java
2031         (Inet4Address): Added comment to serialization UID.
2032         * java/text/Format.java
2033         (Format): Added comment to serialization UID.
2034
2035 2004-09-09  Michael Koch  <konqueror@gmx.de>
2036
2037         * java/lang/System.java
2038         (err): Fixed javadoci to point to setErr() and not setOut().
2039
2040 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2041
2042         (normalizePath): Added special case for windows systems.
2043
2044 2004-09-09  Michael Koch  <konqueror@gmx.de>
2045
2046         * java/io/File.java
2047         (dupSeparator): Made private.
2048         (File(URI)): New constructor.
2049         (getParentFile): Fixed javadoc.
2050         (createTempFile): Reformated.
2051         (setReadOnly): Added comment.
2052         (deleteOnExit): Merged javadoc with classpath version.
2053
2054 2004-09-09  Michael Koch  <konqueror@gmx.de>
2055
2056         * Makefile.am: Don't try to include deps.mk.
2057         * Makefile.in: Regenerated.
2058
2059 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
2060
2061         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2062         .d files.
2063         * configure: Rebuilt.
2064
2065 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
2066
2067         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2068         Changed pfn from static local to local.
2069
2070 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
2071             H.J. Lu  <hongjiu.lu@intel.com>
2072
2073         PR libgcj/17290
2074         * Makefile.am (GCJCOMPILE): Remove definition.
2075         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2076         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2077         * Makefile.in: Rebuilt.
2078
2079 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
2080
2081         * configure.ac (enable-gc-debug): Update help for new syntax.
2082         * configure: Regenerate.
2083
2084 2004-09-03  David Daney  <ddaney@avtrex.com>
2085
2086         * include/mips-signal.h: Update copyright.
2087
2088 2004-09-03  David Daney  <ddaney@avtrex.com>
2089
2090         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2091         * include/mips-signal.h: Added HANDLE_FPE support.
2092         
2093 2004-08-31  Michael Koch  <konqueror@gmx.de>
2094
2095         * javax/swing/plaf/basic/BasicTextAreaUI.java
2096         (create): New method.
2097         * javax/swing/text/DefaultHighlighter.java
2098         (DefaultHighlightPainter.debugRect): Removed.
2099         * javax/swing/text/StyleContext.java
2100         (DEFAULT_STYLE): New field.
2101
2102 2004-08-31  Michael Koch  <konqueror@gmx.de>
2103
2104         * javax/swing/plaf/basic/BasicLookAndFeel.java
2105         (initComponentDefaults): Add keybindings for selection.backward and
2106         selection-forward for text components.
2107         * javax/swing/plaf/basic/BasicTextUI.java
2108         (paintSafely): Paint highlight only when something is actually
2109         selected.
2110         * javax/swing/text/DefaultCaret.java
2111         (handleHighlight): New method.
2112         (setSelectionVisible): Don't do anything when nothing changes.
2113         Handle highlight.
2114         (moveDot): Reimplemented. Handle highlight.
2115         (setDot): Set mark too. Handle highlight.
2116         (getSelectionPainter): New method.
2117         * javax/swing/text/DefaultEditorKit.java
2118         (defaultActions): Added new actions for text selection.
2119         * javax/swing/text/DefaultHighlighter.java
2120         (DefaultHighlightPainter): New inner class.
2121         (DefaultPainter): New field.
2122         (paint): Implemented.
2123         * javax/swing/text/PlainView.java
2124         (paint): Don't draw background here again.
2125         * javax/swing/text/Utilities.java
2126         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2127         (drawTabbedText): Likewise.
2128
2129 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2130
2131         * javax/swing/JComponent.java
2132         (resetKeyboardActions): Add null checks.
2133
2134 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2135
2136         * javax/swing/DefaultButtonModel.java:
2137         Skip group notification when no group is set.
2138
2139 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2140
2141         * javax/swing/JColorChooser.java: 
2142         Make a couple inner classes static, for jikes.
2143
2144 2004-08-31  Michael Koch  <konqueror@gmx.de>
2145
2146         * javax/swing/plaf/basic/BasicTextUI.java
2147         (RottView.modelToView): New method.
2148         (UpdateHandler): Renamed from EventHandler.
2149         (updateHandler): Renamed from eventHandler.
2150         (modelToView): Implemented.
2151         * javax/swing/text/AbstractDocument.java
2152         (BranchElement.getElement): Return null for non-existing indeces.
2153         (BranchElement.getElementIndex): Return 0 in some corner cases.
2154         * javax/swing/text/FieldView.java
2155         (modelToView): New method.
2156         * javax/swing/text/PlainView.java
2157         (modelToView): Made public.
2158
2159 2004-08-31  Kim Ho  <kho@redhat.com>
2160
2161         * Makefile.am: New files.
2162         * Makefile.in: Regenerate.
2163         * gcj/Makefile.in: Regenerate.
2164         * include/Makefile.in: Regenerate.
2165         * java/awt/Color.java: Fix documentation.
2166         (RGBtoHSB): Use floats for conversions.
2167         * javax/swing/ButtonGroup.java: Run Jalopy.
2168         (setSelected): Reimplement.
2169         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2170         (changeState): Let ButtonGroup know that the button 
2171         is changing state.
2172         * javax/swing/JColorChooser.java: Implement.
2173         * javax/swing/JLabel.java: Run Jalopy.
2174         * javax/swing/JSpinner.java: Run Jalopy.
2175         (setValue): New method.
2176         * javax/swing/JTabbedPane.java: Run Jalopy.
2177         (removeTabAt): Call correct remove method.
2178         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2179         (getPreviousValue): Compare minimum value.
2180         * javax/swing/Timer.java: Run Jalopy.
2181         (run): Comment out println.
2182         * javax/swing/ToolTipManager.java:
2183         (mouseMoved): Get new tooltip text for location.
2184         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2185         Jalopy and Javadoc.
2186         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2187         Implement.
2188         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2189         Run Jalopy.
2190         (setSelectedColor): Fire ChangeEvent.
2191         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2192         New file. Implement.
2193         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2194         Ditto.
2195         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2196         Ditto.
2197         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2198         Ditto.
2199         * javax/swing/plaf/basic/BasicArrowButton.java:
2200         (getArrow): Fix size of upward pointing button.
2201         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2202         Implement.
2203         * javax/swing/plaf/basic/BasicSliderUI.java:
2204         (getWidthOfWidestLabel): Use preferred dimensions.
2205         (getHeightOfTallestLabel): Ditto.
2206         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2207         Run Jalopy.
2208         (mousePressed): Disable changes to spinner if it is not enabled.
2209         * testsuite/Makefile.in: Regenerate.
2210
2211
2212 2004-08-31  Michael Koch  <konqueror@gmx.de>
2213
2214         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2215         javax/swing/plaf/basic/BasicTableUI.java:
2216         Added copyright notice.
2217
2218 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2219
2220         * Makefile.am: Added new files.
2221         * Makefile.in: Regenerate.
2222         * javax/swing/ComboBoxEditor.java: Added javadocs.
2223         * javax/swing/ComboBoxModel.java: Likewise.
2224         * javax/swing/DefaultComboBoxModel.java: Implemented.
2225         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2226         and ran through jalopy to fix formatting style.
2227         (getListCellRendererComponent): Use appropriate border
2228         if renderer has focus and use noFocusBorder when it doesn't.
2229         * javax/swing/JComboBox.java: Implemented.
2230         * javax/swing/JList.java:
2231         (locationToIndex): New Method. Implemented.
2232         (indexToLocation): New Method.
2233         * javax/swing/JPopupMenu.java: 
2234         (visible): New field.
2235         (isVisible): Changed to use new field above.
2236         (setVisible): Likewise.
2237         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2238         * javax/swing/plaf/basic/BasicArrowButton.java: 
2239         (shadow): Changed default color to Color.gray.
2240         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2241         UI delegate for JComboBox.
2242         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2243         Popup menu containing list of JComboBox's items.
2244         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2245         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2246         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2247         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2248         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2249         (popupMenuWillBecomeVisible): Set selected path to the first
2250         element only if it is of type MenuElement. Also fix formatting
2251         style.
2252         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2253         methods signatures.
2254         
2255 2004-08-31  Michael Koch  <konqueror@gmx.de>
2256
2257         * javax/swing/text/AbstractDocument.java
2258         (createBranchElement): Use new constructor of BranchElement.
2259         (createLeafElement): Renamed arguments.
2260         (getRootElements): Implemented.
2261         (BranchElement.start): Removed.
2262         (BranchElement.end): Likewise.
2263         (BranchElement.BranchElement): Fixed arguments.
2264         (BranchElement.getEndOffset): Reimplemented.
2265         (BranchElement.getStartOffset): Likewis.
2266         * javax/swing/text/DefaultCaret.java
2267         (paint): Draw simple vertical line as caret instead of a rectangle.
2268         * javax/swing/text/JTextComponent.java
2269         (setText): Use doc directly.
2270         * javax/swing/text/PlainView.java
2271         (nextTabStop): Implemented.
2272         * javax/swing/text/Utilities.java
2273         (drawTabbedText): nextTabStop() returns an absolute x position.
2274         (getTabbedTextWidth): Likewise.
2275
2276 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2277
2278         * java/awt/Component.java 
2279         (isFocusTraversable): Predicate on isLightweight()
2280         (setFocusable): Set isFocusTraversableOverridden.
2281         (requestFocus): Predicate peer dispatch on !isLightweight()
2282         (requestFocusInWindow): Likewise.
2283         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2284         * java/awt/Container.java
2285         (dispatchEventImpl): Predicate on event mask.
2286         (LightweightDispatcher): Remove focus machinery.
2287         * java/awt/DefaultFocusTraversalPolicy.java
2288         (accept): Expand predicate to include isFocusable(). 
2289         * java/awt/DefaultKeyboardFocusManager.java:
2290         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2291         * java/awt/KeyboardFocusManager.java
2292         (redispatchEvent): Synchronize on event to prevent feedback.
2293         * javax/swing/AbstractButton.java
2294         (ButtonFocusListener): Remove class.
2295         (init): Set focusPainted, focusable.
2296         * javax/swing/ActionMap.java (get): Check parent for null. 
2297         * javax/swing/InputMap.java (get): Likewise. 
2298         * javax/swing/JComponent.java
2299         (inputMap_whenFocused): New InputMap.
2300         (inputMap_whenAncestorOfFocused): Likewise.
2301         (inputMap_whenInFocusedWindow): Likewise.
2302         (getActionForKeyStroke): Rewrite.
2303         (getConditionForKeystroke): Likewise.
2304         (ActionListenerProxy): New private class.
2305         (setInputMap): Implement.
2306         (getInputMap): Likewise.
2307         (setActionMap): Likewise.
2308         (getActionMap): Likewise.
2309         (processComponentKeyEvent): New empty method.
2310         (processKeyEvent): Implement.
2311         (processKeyBinding): Likewise.
2312         (resetKeyboardActions): Rewrite.
2313         * javax/swing/KeyStroke.java: Rewrite.
2314         * javax/swing/SwingUtilities.java
2315         (notifyAction): Implement.
2316         (replaceUIActionMap): Likewise.
2317         (replaceUIInputMap): Likewise.
2318         * javax/swing/plaf/basic/BasicButtonListener.java
2319         (focusGained): Implement.
2320         (focusLost): Repaint if focusPainted().
2321         (installKeyboardActions): Install pressed / released actions.
2322         (uninstallKeyboardActions): Implement.
2323         * javax/swing/plaf/basic/BasicButtonUI.java
2324         (focusColor): New field.
2325         (installDefaults): Load focus color, install input map.
2326         (installKeyboardActions): Implement.
2327         (uninstallKeyboardActions): Likewise.
2328         (paintFocus): Rewrite.
2329         * javax/swing/plaf/basic/BasicLookAndFeel.java
2330         (Button.focus): New default, midPurple. 
2331         * javax/swing/plaf/basic/BasicTextUI.java
2332         (kit): Make static.
2333         (installUI): Get doc from kit, load defaults.
2334         (getKeymapName): Implement.
2335         (createKeymap): Likewise.
2336         (installKeyboardActions): Likewise.
2337         (getInputMap): Likewise.
2338         (getActionMap): Likewise.
2339         (createActionMap): Likewise.
2340         * javax/swing/text/AbstractDocument.java
2341         (getStartPosition): Implement.
2342         (getEndPosition): Likewise.
2343         * javax/swing/text/DefaultEditorKit.java
2344         (CopyAction): New class.
2345         (CutAction): Likewise.
2346         (DefaultKeyTypedAction): Likewise.
2347         (InsertBreakAction): Likewise.
2348         (InsertContentAction): Likewise.
2349         (InsertTabAction): Likewise.
2350         (PasteAction): Likewise.
2351         (defaultActions): New static table.
2352         (createCaret): Implement.
2353         (getActions): Likewise.
2354         * javax/swing/text/JTextComponent.java
2355         (KeymapWrapper): New private class.
2356         (KeymapActionMap): Likewise.
2357         (DefaultKeymap): New class.
2358         (keymaps): New static table.
2359         (keymap): New field.
2360         (getKeymap): Implement.
2361         (removeKeymap): Likewise.
2362         (addKeymap): Likewise.
2363         (setKeymap): Likewise.
2364         (loadKeymap): Likewise.
2365         (getActions): Likewise.
2366         (margin): New field.
2367         (JTextComponent): Build and install default keymap.
2368         * javax/swing/text/TextAction.java
2369         (textAction): Call super properly.
2370         (getTextComponent): Implement.
2371         * javax/swing/text/Utilities.java
2372         (drawTabbedText): Adjust position by ascent.
2373
2374 2004-08-31  David Jee  <djee@redhat.com>
2375
2376         PR AWT/17156
2377
2378         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2379         (setEnabled): Make it a native method.
2380         * java/awt/DefaultKeyboardFocusManager.java
2381         (postProcessKeyEvent): Only post event if the menu item
2382         is active.
2383         * java/awt/MenuItem.java:
2384         Private field 'enabled' should be true by default.
2385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2386         (setEnabled): New function.
2387
2388 2004-08-31  David Jee  <djee@redhat.com>
2389
2390         PR AWT/17059
2391
2392         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2393         (nativeSetHelpMenu): New native method declaration.
2394         (addHelpMenu): Call nativeSetHelpMenu().
2395         (addMenu): Remove.
2396         * java/awt/MenuBar.java
2397         (setHelpMenu): Call addNotify() on the new help menu.
2398         (add): Call addNotify() on the new menu.
2399         (addNotify): Set the help menu if one exists.
2400         * java/awt/peer/MenuBarPeer.java
2401         (addMenu): Remove.
2402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2403         (nativeSetHelpMenu): New method.
2404
2405 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2406
2407         * Makefile.am: Add new files.
2408         * Makefile.in: Regenerate.
2409         * javax/swing/Box.java: Fix setting of layout in ctor.
2410         * javax/swing/JScrollPane.java: Scroll headers as well.
2411         * javax/swing/JTable.java: Reimplement.
2412         * javax/swing/JViewPort.java: Only add non-null children.
2413         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2414         * javax/swing/Timer.java: Fix stopping null waker.
2415         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2416         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2417         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2418         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2419         * javax/swing/table/DefaultTableModel.java: Clean up.
2420         * javax/swing/table/JTableHeader.java: Implement.
2421
2422 2004-08-31  Mark Wielaard  <mark@klomp.org>
2423
2424         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2425         semi-colon.
2426
2427 2004-08-31  Mark Wielaard  <mark@klomp.org>
2428
2429         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2430         Declare variables at top of functions/block.
2431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2432
2433 2004-08-31  Mark Wielaard  <mark@klomp.org>
2434
2435         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2436         first.
2437
2438 2004-08-31  Michael Koch  <konqueror@gmx.de>
2439
2440         * javax/swing/text/PlainView.java
2441         (selectedColor): New field.
2442         (unselectedColor): Likewise.
2443         (font): Likewise.
2444         (updateMetrics): New method.
2445         (lineToRect): Likewise.
2446         (modelToView): Likewise.
2447         (drawSelectedText): Use color from JTextComponent ad draw with
2448         Utilities class.
2449         (drawUnselectedText): Likewise.
2450         (paint): Initialize helper fields.
2451         * javax/swing/text/View.java
2452         (getChildAllocation): New method.
2453         (getViewIndex): Likewise.
2454         (getToolTipText): Likewise.
2455
2456 2004-08-31  Michael Koch  <konqueror@gmx.de>
2457
2458         * javax/swing/text/Utilities.java
2459         (drawTabbedText): Reimplemented.
2460         (getTabbedTextWidth): Likewise.
2461
2462 2004-08-31  Michael Koch  <konqueror@gmx.de>
2463
2464         * javax/swing/plaf/basic/BasicTextUI.java
2465         (installDefaults): Install caret and highlighter.
2466         (modelToView): Use Bias.Forward when calling sibling.
2467         * javax/swing/text/AbstractDocument.java
2468         (ElementEdit): Implements DocumentEvent.ElementChange.
2469         (ElementEdit.ElementEdit): New method.
2470         (ElementEdit.getChildrenAdded): Likewise.
2471         (ElementEdit.getChildrenRemoved): Likewise.
2472         (ElementEdit.getElement): Likewise.
2473         (ElementEdit.getIndex): Likewise.
2474         * javax/swing/text/DefaultCaret.java
2475         (color): Removed.
2476         (textComponent): Renamed from parent, made private.
2477         (selectionVisible): Renamed from vis_sel, made private.
2478         (blinkRate): Renamed from blink, made private.
2479         (magicCaretPosition): Renamed from magic, made private.
2480         (visible): Renamed from vis, made private.
2481         (dot): Made private.
2482         (mark): Likewise.
2483         (deinstall): Remove as MouseMotionListener.
2484         (install): Initialize textComponent first. Add as MouseMotionListener.
2485         (paint): Reimplemented.
2486         * javax/swing/text/JTextComponent.java
2487         (setCaret): Deinstall old caret, install new one and fire property
2488         change after setting property.
2489         (setHighlighter): Deinstall old highlighter, install new one and fire
2490         property change after setting property.
2491         (setCaretColor): Fire property change after setting property.
2492         (setDisabledTextColor): Likewise.
2493         (setSelectedTextColor): Likewise.
2494         (setSelectionColor): Likewise.
2495         (modelToView): New method.
2496
2497 2004-08-31  Michael Koch  <konqueror@gmx.de>
2498
2499         * javax/swing/text/AbstractDocument.java
2500         (getText): Simplified.
2501         * javax/swing/text/Segment.java
2502         (current): New field.
2503         (current): Reimplemented.
2504         (first): Likewise.
2505         (getIndex): Likewise.
2506         (last): Likewise.
2507         (next): Likewise.
2508         (previous): Likewise.
2509         (setIndex): Likewise.
2510
2511 2004-08-31  Michael Koch  <konqueror@gmx.de>
2512
2513         * javax/swing/plaf/basic/BasicButtonUI.java
2514         (defaultTextIconGap): Made protected.
2515         (defaultTextShiftOffset): Likewise.
2516         (textShiftOffset): New field.
2517         (clearTextShiftOffset): New method.
2518         (getTextShiftOffset): Likewise.
2519         (setTextShiftOffset): Likewise.
2520
2521 2004-08-31  Michael Koch  <konqueror@gmx.de>
2522
2523         * javax/swing/plaf/basic/BasicTextUI.java
2524         (installUI): Add eventHandler as property listener.
2525         (uninstallUI): remove eventHandler as propert listener.
2526         (installDefaults): Added comment.
2527         (installListeners): Likewise.
2528         (installKeyboardActions): Likewise.
2529         (uninstallDefaults): Likewise.
2530         (uninstallListeners): Likewise.
2531         (uninstallKeyboardActions): Likewise.
2532
2533 2004-08-31  Michael Koch  <konqueror@gmx.de>
2534
2535         * javax/swing/text/AbstractDocument.java:
2536         Fixed some typos in comments.
2537         (insertString): Reimplemented.
2538         (remove): Likewise.
2539         (replace): New method.
2540         (children): Dont use fully qualified class name.
2541         (DefaultDocumentEvent.offset): Renamed from off.
2542         (DefaultDocumentEvent.length): Renamed from len.
2543         (DefaultDocumentEvent.type): New field.
2544         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2545         (DefaultDocumentEvent.getType): Implemented.
2546
2547 2004-08-31  Michael Koch  <konqueror@gmx.de>
2548
2549         * javax/swing/plaf/basic/BasicTextUI.java
2550         (RootView.textComponent): Removed.
2551         (RootView.RootView): Don't initialize textComponent.
2552         (RootView.getViewFactory): New method.
2553         (EventHandler): New inner class.
2554         (rootView): Initialize at instance creation.
2555         (eventHandler): New field.
2556         (installUI): Don't create view hierarchy directly,
2557         call modelChanged() instead.
2558         (modelChanged): New method.
2559         * javax/swing/text/JTextComponent.java
2560         (setDocument): Fire property change event.
2561
2562 2004-08-31  Michael Koch  <konqueror@gmx.de>
2563
2564         * javax/swing/plaf/basic/BasicTextUI.java
2565         (RootView.paint): Removed debug output.
2566         (paintSafely): Draw highlighter before text.
2567         (paintBackground): Use background color of text component.
2568         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2569         Reformatted.
2570
2571 2004-08-31  Michael Koch  <konqueror@gmx.de>
2572
2573         * javax/swing/plaf/basic/BasicToolBarUI.java
2574         (BasicToolBarUI): Fixed arguments for constructor.
2575         (createUI): Fixed creation of object.
2576
2577 2004-08-31  Michael Koch  <konqueror@gmx.de>
2578
2579         * javax/swing/DefaultListSelectionModel.java
2580         (fireValueChanged): Renamed from fireSelectionValueChanged,
2581         made protected.
2582
2583 2004-08-31  Michael Koch  <konqueror@gmx.de>
2584
2585         * javax/swing/text/TabSet.java
2586         (TabSet): Implements java.io.Serializable.
2587         * javax/swing/text/TabStop.java
2588         (TabStop): Implements java.io.Serializable.
2589         (TabStop): Made public.
2590
2591 2004-08-31  Michael Koch  <konqueror@gmx.de>
2592
2593         * javax/swing/JComponent.java
2594         (setUI): Fire PropertyChange.
2595         * javax/swing/JLabel.java
2596         (text): Renamed from labelText.
2597         (horizontalAlignment): New default vlaue.
2598         (icon): Renamed from activeIcon.
2599         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2600         (displayedMnemonicIndex): Renamed from underlineChar.
2601         (setDisplayedMnemonic): Reimplemented.
2602         * javax/swing/JRadioButton.java
2603         (JRadioButton): New constructors.
2604         * javax/swing/JTextField.java
2605         (JTextField): Throw exception if colums < 0, initialitialz
2606         this.columns directly and initialize document with text conditionally.
2607
2608 2004-08-31  Michael Koch  <konqueror@gmx.de>
2609
2610         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2611         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2612         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2613         * javax/swing/text/FieldView.java
2614         (paint): Just call super method for now.
2615         * Makefile.am: Added new files.
2616         * Makefile.in: Regenerated.
2617
2618 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2619
2620         * javax/swing/AbstractSpinnerModel.java,
2621         javax/swing/JSpinner.java,
2622         javax/swing/SpinnerNumberModel.java,
2623         javax/swing/plaf/basic/BasicSpinnerUI.java:
2624         New files.
2625         * javax/swing/plaf/basic/BasicLookAndFeel.java
2626         (initClassDefaults): Added defaults for BasicSpinnerUI.
2627
2628 2004-08-31  Michael Koch  <konqueror@gmx.de>
2629
2630         * Makefile.am: Added new files.
2631         * Makefile.in: Regenerated.
2632
2633 2004-08-31  Michael Koch  <konqueror@gmx.de>
2634
2635         * javax/swing/TransferHandler.java,
2636         javax/swing/plaf/basic/ComboPopup.java: New files
2637         * Makefile.am: Added javax/swing/TransferHandler.java and
2638         javax/swing/plaf/basic/ComboPopup.java
2639         * Makefile.in: Regenerated.
2640
2641 2004-08-31  Roman Kennke  <roman@ontographics.com>
2642
2643         * javax/swing/text/Utilities.java: New file.
2644
2645 2004-08-31  Michael Koch  <konqueror@gmx.de>
2646
2647         * Makefile.am: Added javax/swing/text/Utilities.java.
2648         * Makefile.in: Regenerated.
2649
2650 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2651
2652         * javax/swing/text/SimpleAttributeSet.java: New file.
2653         * javax/swing/text/StyleConstants.java: New file.
2654         * javax/swing/text/StyleContext.java: New file.
2655         * javax/swing/text/TabSet.java: New file.
2656         * javax/swing/text/TabStop.java: New file.
2657         * javax/swing/text/AbstactDocument.java:
2658         (AbstractElement): Implement attribute support.
2659         * javax/swing/text/AttributeSet.java
2660         (NameAttribute): New static field.
2661         (ResolveAttribute): New static field.
2662         * Makefile.am: Update for new files.
2663         * Makefile.in: Regenerate.
2664
2665 2004-08-31  Craig Black  <craig.black@aonix.com>
2666
2667         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2668         (drawImage): Add support for scaling pixmaps.
2669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2670         (copyAndScalePixmap): New native method.
2671  
2672 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2673
2674         PR AWT/16121
2675         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2676         type-punning compiler warnings using unions.
2677         (throw): Replace bzero with memset.
2678
2679 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2680             Thomas Fitzsimmons  <fitzsim@redhat.com>
2681
2682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2683         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2684         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2686         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2687
2688 2004-08-31  Mark Wielaard  <mark@klomp.org>
2689
2690         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2691         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2692         and stdlib.h, not gtkpeer.h.
2693         (*vm): New static variable.
2694         (areaPreparedID): Make static.
2695         (areaUpdatedID): Likewise.
2696         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2697         (area_prepared): Likewise.
2698         (area_updated): Likewise.
2699         (closed): Likewise.
2700         (initStaticState): Initialize *vm javaVM.
2701         (pumpBytes): Use given env, not global gdk_env.
2702
2703 2004-08-31  Mark Wielaard  <mark@klomp.org>
2704
2705         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2706         comments.
2707
2708 2004-08-31  Sven de Marothy  <sven@physto.se>
2709
2710         * java/awt/geom/CubicCurve2D.java: Reindent.
2711         (contains): Implemented.
2712         (intersects): Implemented.
2713         * java/awt/geom/QuadCurve2D.java: Likewise.
2714         * java/awt/geom/GeneralPath.java: Reindent and document.
2715         Fully (re)implemented using separate xpoints and ypoints
2716         float[] coords.
2717         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2718
2719 2004-08-31  Michael Koch  <konqueror@gmx.de>
2720
2721         * javax/swing/JMenuItem.java
2722         (getMenuDragMouseListeners): New method.
2723         (getMenuKeyListeners): Likewise.
2724
2725 2004-08-31  Michael Koch  <konqueror@gmx.de>
2726
2727         * javax/swing/AbstractButton.java
2728         (model): Made protected.
2729         (actionListener): Likewise.
2730         (changeListener): Likewise.
2731         (itemListener): Likewise.
2732         (multiClickThreshhold): New field.
2733         (getActionListeners): New method.
2734         (getChangeListeners): Likewise.
2735         (getItemListeners): Likewise.
2736         (fireItemStateChanged): Simplified implementation.
2737         (fireActionPerformed): Likewise.
2738         (fireStateChanged): Likewise.
2739         (getMultiClickThreshhold): New method.
2740         (setMultiClickThreshhold): Likewise.
2741
2742 2004-08-31  Tom Tromey  <tromey@redhat.com>
2743
2744         * java/awt/image/Kernel.java (clone): Use super.clone().
2745
2746 2004-08-31  David Jee  <djee@redhat.com>
2747
2748         PR AWT/16682
2749         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2750         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2751         (nativeSetIconImageFromData): New native method declaration.
2752         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2753         * gnu/java/awt/peer/gtk/GtkImage.java
2754         (getPixelCache): New method.
2755         (getColorModel): New method.
2756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2757         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2758         (free_pixbuf_data): New helper function.
2759         (nativeSetIconImageFromData): New function.
2760
2761 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2762
2763         PR SWING/16576
2764         * javax/swing/JLayeredPane.java 
2765         (setLayer): Permit changing layer after addition.
2766         (setPosition): Permit over-length positions.
2767         (layerToRange): Compare intValue()s.
2768         * javax/swing/Box.java (createHorizontalBox): Implement.
2769         (createRigidArea): Likewise.
2770         (createVerticalBox): Likewise.
2771
2772 2004-08-31  Kim Ho  <kho@redhat.com>
2773
2774         * java/awt/Component.java:
2775         (processMouseEvent): Consume event after
2776         listeners process it.
2777         (processMouseMotionEvent): ditto.
2778         (processMouseWheelEvent): ditto.
2779         * java/awt/Container.java:
2780         (acquireComponentForMouseEvent):
2781         Do not dispatch to events that have been
2782         removed from the Container.
2783         (handleEvent): Consume the MouseEvents.
2784         * javax/swing/RepaintManager.java:
2785         (paintDirtyRegions): Do not add to list of 
2786         damaged areas if the component has no root.
2787
2788 2004-08-31  Michael Koch  <konqueror@gmx.de>
2789
2790         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2791
2792 2004-08-31  Mark Wielaard  <mark@klomp.org>
2793
2794         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2795         null when a MissingResourceException is thrown. Should never happen.
2796
2797 2004-08-31  Mark Wielaard  <mark@klomp.org>
2798
2799         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2800         when argument is null.
2801
2802 2004-08-31  Mark Wielaard  <mark@klomp.org>
2803
2804         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2805         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2806         Define hid at start of function.
2807         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2808         Likewise.
2809
2810 2004-08-31  Mark Wielaard  <mark@klomp.org>
2811
2812         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2813         * javax/swing/JButton.java: Reindent.
2814         * javax/swing/JCheckBox.java: Reindent.
2815
2816 2004-08-31  Mark Wielaard  <mark@klomp.org>
2817
2818         * Makefile.am (gtk_c_source_files): Added
2819         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2820         (gtk_awt_peer_sources): Added
2821         gnu/java/awt/peer/gtk/GThreadMutex.java and
2822         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2823         * Makefile.in: Regenerated.
2824
2825 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2826
2827         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2828
2829 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2830
2831         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2832         Added jfieldID, jmethodID.
2833
2834 2004-08-31  Mark Wielaard  <mark@klomp.org>
2835
2836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2837         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2838         gdk_env before calling any gdk or gtk function.
2839
2840         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2841         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2842         (run): Set gtkInitCalled.
2843
2844 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2845
2846         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2847         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2848
2849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2850         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2851         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2852         init_glib_threads. 
2853         (init_glib_threads): New function.
2854
2855 2004-08-31  Mark Wielaard  <mark@klomp.org>
2856
2857         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2858         PRIORITY when not already defined in header file.
2859
2860 2004-08-31  Mark Wielaard  <mark@klomp.org>
2861
2862         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2863         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2864
2865 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2866
2867         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2868         Implemented missing functions for GTK2.
2869         Added error handling.
2870         Renamed static functions out of the g_ namespace.
2871         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2872         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2873         Rewrote global-reference code.
2874         Eliminated cascading errors.
2875         (mutex_trylock_jni_impl) Fully implemented.
2876         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2877         resolution.
2878         (setup_cache) New function.
2879         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2880         bug where they were not unlocking the GMutex associated with the
2881         condition variable during the wait on that condition variable.
2882
2883         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2884         native/jni/gtk-peer/gthread-jni.c,
2885         native/jni/gtk-peer/gthread-jni.h
2886         (g_thread_jni_functions): Renamed to ...
2887         (portable_native_sync_jni_functions): this name.
2888         (gdk_vm): Renamed to...
2889         (the_vm): this name.
2890
2891         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2892         (gdk_vm): Removed duplicate definition.
2893         (gtkInit): Removed stray message to stdout.
2894         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2895         (gtkInit): Fix a const assignment bug.
2896         (gtkInit): Simplified code.
2897
2898         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2899         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2900         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2901         gnu/java/awt/peer/gtk/GThreadMutex.java:
2902         New files.
2903
2904 2004-08-31  Mark Wielaard  <mark@klomp.org>
2905
2906         * javax/swing/Box.java: Put FIXME comment above class declaration.
2907         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2908         * javax/swing/JCheckBox.java: Likewise.
2909         * javax/swing/JDialog.java: Likewise.
2910         * javax/swing/JRadioButton.java: Likewise.
2911         * javax/swing/JToggleButton.java: Likewise.
2912         * javax/swing/UIManager.java: Likewise.
2913         * javax/swing/border/TitledBorder.java: Likewise.
2914         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2915         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2916         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2917         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2918         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2919         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2920         * javax/swing/text/JTextComponent.java: Likewise.
2921
2922 2004-08-31  David Jee  <djee@redhat.com>
2923
2924         PR AWT/16682
2925         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2926         (setIconImage): Add a FIXME for unhandled cases.
2927
2928 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2929
2930         PR AWT/16040
2931         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2932         getModifiers.  Replace old button masks with new ones.
2933         * gnu/awt/xlib/XEventLoop.java: Likewise.
2934         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2935         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2936         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2937         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2938         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2939         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2940         * java/awt/Component.java: Replace old modifier masks with new
2941         ones.
2942         * java/awt/Container.java: Call getModifiersEx, not
2943         getModifiers.
2944         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2945         old modifier masks.
2946         * javax/swing/JMenuItem.java: Replace old button masks with new
2947         ones.
2948         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2949         getModifiers.
2950         * javax/swing/SwingUtilities.java: Likewise.
2951         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2952         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2954         mask macros with new ones.
2955         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2956         macros with new ones representing new masks.
2957
2958 2004-08-31  Craig Black  <craig.black@aonix.com>
2959
2960         * gnu/java/awt/peer/gtk/GdkGraphics.java
2961         (drawRoundRect): Implemented.
2962         (fillRoundRect): Implemented.
2963         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2964         (drawRoundRect): Reimplemented to match GdkGraphics.
2965         (fillRoundRect): Reimplemented to match GdkGraphics.
2966
2967 2004-08-31  Mark Wielaard  <mark@klomp.org>
2968
2969         * Makefile.in: Regenerated.
2970
2971 2004-08-31  Michael Koch  <konqueror@gmx.de>
2972
2973         * gnu/java/awt/EmbeddedWindow.java
2974         (addNotify): Use AccessController to allow execution of privileged
2975         code.
2976
2977 2004-08-31  Michael Koch  <konqueror@gmx.de>
2978
2979         * gnu/java/awt/EmbeddedWindow.java
2980         (static): Removed.
2981         (addNotify): Set peer via reflection.
2982         (setWindowPeer): Removed.
2983         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2984         * Makefile.am (nat_source_files):
2985         Removed gnu/java/awt/natEmbeddedWindow.cc.
2986
2987 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2988
2989         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2990         and gnu/java/security/action/SetAccessibleAction.java.
2991
2992 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2993
2994         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2995         Renamed from 'setName'. New 2-argument form with default value.
2996         (run): Pass default 'value' parameter to System.getProperty().
2997         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2998         typos.
2999
3000 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3001
3002         * gnu/java/security/action/GetPropertyAction.java: New class.
3003         * gnu/java/security/action/SetAccessibleAction.java: New class.
3004
3005 2004-08-31  David Jee  <djee@redhat.com>
3006
3007         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3008         (setIconImage): Check if image is null.
3009
3010 2004-08-31  David Jee  <djee@redhat.com>
3011
3012         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3013         (create): Set the icon image.
3014         (nativeSetIconImage): New native method declaration.
3015         (setIconImage): Implement.
3016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3017         (nativeSetIconImage): New function.
3018
3019 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3020
3021         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3022         (filenameFilterCallback): Declare local variable accepted before use.
3023
3024 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3025
3026         * gnu/java/awt/ComponentDataBlitOp.java:
3027         Cleaned up imports.
3028
3029 2004-08-31  Tom Tromey  <tromey@redhat.com>
3030
3031         * gnu/java/awt/peer/GLightweightPeer.java,
3032         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3033         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3034         javax/swing/JScrollPane.java: Removed
3035         redundant imports.
3036
3037 2004-08-31  David Jee  <djee@redhat.com>
3038
3039         * java/awt/DefaultKeyboardFocusManager.java
3040         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3041         event.  Fix shift modifier checking.
3042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3043         (accel_attach): Remove.
3044         (setupAccelGroup): Remove calls to accel_attach.
3045
3046 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3047
3048         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3049         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3050
3051         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3052         GtkArgList.java.
3053         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3054         * Makefile.in: Regenerate.
3055         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3056         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3057         (create(String)): New method.
3058         (create): Call new create method.
3059         (getArgs): Remove method.
3060         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3061         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
3062         (nativeCreate): Rename to create.
3063         (gtkSetLabel): Rename to gtkButtonSetLabel.
3064         (gtkToggleButtonSetActive): New method.
3065         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3066         (setState): Replace set call with gtkToggleButtonSetActive.
3067         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3068         (getArgs): Remove method.
3069         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3070         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3071         (gtkWidgetSetSensitive): New method.
3072         (gtkWidgetSetParent): Likewise.
3073         (GtkComponentPeer): Call setParent, setComponentBounds and
3074         setVisibleAndEnabled.
3075         (setParent): New method.
3076         (setComponentBounds): New method.
3077         (setVisibleAndEnabled): New method.
3078         (setEnabled): Call gtkWidgetSetSensitive.
3079         (getArgs): Remove method.
3080         Remove all set methods.
3081         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3082         gtkWindowSetModal, setTitle and setResizable.
3083         (getArgs): Remove method.
3084         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3085         (setComponentBounds): New method.
3086         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3087         Replace set call with gtkWindowSetResizable.
3088         (getArgs): Remove method.
3089         (create): Call setTitle and setResizable.
3090         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3091         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3092         (gtkWindowSetTitle): New method.
3093         (gtkWindowSetResizable): New method.
3094         (gtkWindowSetModal): New method.
3095         (setParent): New method.
3096         (setVisibleAndEnabled): New method.
3097         (getArgs): Remove method.
3098         (setTitle): Call gtkWindowSetTitle.
3099         (setResizable): Call gtkWindowSetResizable.
3100         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3101         and off locking instrumentation.
3102
3103 2004-08-31  Kim Ho  <kho@redhat.com>
3104
3105         * Makefile.am: Add new file.
3106         * Makefile.in: Regenerate.
3107         * gcj/Makefile.in: Regenerate
3108         * include/Makefile.in:
3109         * java/awt/Container.java:
3110         (acquireComponentForMouseEvent): Respect 
3111         the event mask when looking for candidate.
3112         * javax/swing/JComponent.java:
3113         Remove toolTip field.
3114         (createToolTip): Create a tooltip on demand.
3115         (setToolTipText): Register with the ToolTipManager.
3116         (getToolTipText(MouseEvent)): Return getToolTipText().
3117         * javax/swing/JToolTip.java: Implement.
3118         * javax/swing/Timer.java: Jalopy.
3119         (restart): Call stop, then start.
3120         (stop): Interrupt the timer rather than wait for
3121         the timer to come to a stop naturally.
3122         * javax/swing/ToolTipManager.java: Implement.
3123         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3124         Change ToolTip.background color.
3125         * javax/swing/plaf/basic/BasicToolTipUI.java:
3126         Implement.
3127         * testsuite/Makefile.in: Regenerate
3128
3129 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3130
3131         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3132         constructor param comments.
3133
3134 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3135
3136         * java/awt/Component.java: Document AWT 1.0 event handler
3137         methods.
3138
3139 2004-08-31  Roman Kennke  <roman@ontographics.com>
3140
3141         * javax/swing/Box.java:
3142         (createGlue): Implemented
3143         (createHorizontalGlue): Implemented
3144         (createHorizontalStrut): Implemented
3145         (createVerticalGlue): Implemented
3146         (createVerticalStrut): Implemented
3147
3148 2004-08-31  David Jee  <djee@redhat.com>
3149
3150         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3151         (GtkChoicePeer): Do not automatically select first item.
3152         (getHistory): Remove.
3153         (nativeGetSelected): New method.
3154         (nativeRemoveAll): New method.
3155         (add): Use nativeGetSelected() instead of getHistory().
3156         (remove): Likewise.
3157         (removeAll): Call nativeRemoveAll().
3158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3159         (create): Migrate to GtkComboBox.
3160         (append): Likewise.
3161         (nativeAdd): Likewise.
3162         (nativeRemove): Likewise.
3163         (select): Likewise.
3164         (nativeRemoveAll): New method.
3165         (nativeGetSelected): New method.
3166         (selection_changed): New method.
3167         (getHistory): Remove.
3168         (item_activate): Remove.
3169         (item_removed): Remove.
3170         (connect_choice_item_selectable_hook): Remove.
3171
3172 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3173
3174         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3175         variable in setEditable call.
3176
3177         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3178         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3179         (gtkWidgetSetBackground): New method.
3180         (gtkWidgetSetForeground): Likewise.
3181         (create): Set peer's editable state based on awtComponent's.
3182
3183         * java/awt/Button.java (Button()): Use empty string rather than
3184         null in no-label constructor.
3185
3186 2004-08-31  Roman Kennke  <roman@ontographics.com>
3187
3188         * javax/swing/BoxLayout.java: Reimplement.
3189
3190 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3191
3192         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3193         gnu_java_awt_peer_gtk_GdkGraphics.c
3194         (initState(GtkComponentPeer)): Don't return array of colour
3195         values.
3196         (GdkGraphics(int,int)): Set default font to size 12.
3197         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3198         component's foreground colour.
3199         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3200         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3201         (initState(GtkComponentPeer)): Don't return array of colour
3202         values.
3203         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3204         colours to component's colours.
3205         (current_colors_of_widget): Remove function.
3206         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3207         Return a new graphics object.
3208         * java/awt/Font.java (toString): Fix format.
3209         * java/awt/Graphics.java (toString): Likewise.
3210
3211 2004-08-31  Craig Black  <craig.black@aonix.com>
3212
3213         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3214         (addTearOff): New function.
3215         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3216         New native method.
3217         (init): Call addTearOff() when menu.isTearOff().
3218
3219 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3220
3221         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3222         Default implementation.
3223         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3224         Implement using GdkPixbufDecoder.
3225
3226 2004-08-31  David Jee  <djee@redhat.com>
3227
3228         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3229         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3230         setting the size of GtkFileDialogPeers.
3231         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3232         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3233         use their default sizes rather than their natural requisitions.
3234
3235 2004-08-31  Michael Koch  <konqueror@gmx.de>
3236
3237         * javax/swing/JFormattedTextField.java
3238         (JFormattedTextField): Implemented.
3239         * javax/swing/text/DefaultEditorKit.java
3240         (BeepAction): New inner class.
3241         * javax/swing/text/Segment.java
3242         (partialReturn): New field.
3243         (setPartialReturn): New method.
3244         (isPartialReturn): Likewise.
3245         * javax/swing/text/View.java
3246         (createFragment): Fixed typo.
3247         (getStartOffset): New method.
3248         (getEndOffset): Likewise.
3249
3250 2004-08-31  Michael Koch  <konqueror@gmx.de>
3251
3252         * javax/swing/table/DefaultTableColumnModel.java
3253         (serialVersionUID): Made private.
3254         (listenerList): Initialize.
3255         (changeEvent): Initialize.
3256         * javax/swing/table/JTableHeader.java
3257         (JTableHeader): New constructors.
3258         (createDefaultColumnModel): New method.
3259         * javax/swing/table/TableColumn.java
3260         (setHeaderRenderer): Simplified code.
3261         (setCellRenderer): Likewise.
3262         (setWidth): Likewise.
3263
3264 2004-08-31  Tom Tromey  <tromey@redhat.com>
3265
3266         * java/text/AttributedString.java (AttributedString): Use
3267         ArrayList to build array of attribute ranges.  Don't use
3268         `attribs' before it is set.
3269
3270 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3271
3272         * HACKING: Remove reference to special automake. No longer needed.
3273
3274 2004-08-30  Tom Tromey  <tromey@redhat.com>
3275
3276         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3277         return result from `add'.
3278
3279 2004-08-30  Tom Tromey  <tromey@redhat.com>
3280
3281         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3282
3283 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3284
3285         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3286
3287 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3288
3289         * java/io/File.java File(String,String): Fixed handling of empty
3290         path.
3291
3292 2004-08-30  Casey Marshall  <csm@gnu.org>
3293
3294         Author e-mail updated for all files.
3295         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3296         instance of OID.
3297         (compareTo): Use `equals'.
3298         * gnu/java/security/der/BitString.java (equals): Test if the
3299         argument is an instance of BitString.
3300         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3301         class final. Made fields private.
3302         (<init>): New constructor.
3303         (skip): New method.
3304         (makeString): Made static; don't use NIO.
3305         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3306         * gnu/java/security/der/DERWriter.java: Fixed imports.
3307         (writeString): Don't use NIO.
3308         (toIso88591, toUtf16Be, toUtf8): New methods.
3309         * gnu/java/security/der/DERValue.java: Formatting changes only.
3310         * gnu/java/security/der/DER.java: Likewise.
3311
3312 2004-08-30  Tom Tromey  <tromey@redhat.com>
3313
3314         * java/nio/CharBuffer.java (put): Fix typo.
3315         * java/nio/DoubleBuffer.java (put): Fix typo.
3316         * java/nio/FloatBuffer.java (put): Fix typo.
3317         * java/nio/IntBuffer.java (put): Fix typo.
3318         * java/nio/LongBuffer.java (put): Fix typo.
3319         * java/nio/ShortBuffer.java (put): Fix typo.
3320
3321 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3322
3323         * java/nio/ByteBuffer.java (put): Fix typo.
3324
3325 2004-08-30  Casey Marshall  <csm@gnu.org>
3326
3327         * java/security/DummyKeyPairGenerator.java (clone): Removed
3328         useless instanceof check.
3329         * java/security/DummyMessageDigest.java (clone): Likewise.
3330         * java/security/DummySignature.java (clone): Likewise.
3331         * java/security/MessageDigest.java (clone): Remove useless
3332         instanceof check.
3333         * java/security/MessageDigestSpi.java (clone): Likewise.
3334         * java/security/Signature.java (clone): Provide meaningful
3335         implementation.
3336         * java/security/SignatureSpi.java (clone): Likewise.
3337
3338 2004-08-29  Mark Wielaard  <mark@klomp.org>
3339
3340         * java/util/Arrays.java
3341         (sort(byte[], int, int)): Check fromIndex < 0.
3342         (sort(char[], int, int)): Likewise.
3343         (sort(short[], int, int)): Likewise.
3344         (sort(int[], int, int)): Likewise.
3345         (sort(long[], int, int)): Likewise.
3346         (sort(float[], int, int)): Likewise.
3347         (sort(double[], int, int)): Likewise.
3348         (sort(Object[], int, int, Comparator)): Likewise.
3349         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3350         (qsort(char[], int, int)): Likewise.
3351         (qsort(short[], int, int)): Likewise.
3352         (qsort(int[], int, int)): Likewise.
3353         (qsort(long[], int, int)): Likewise.
3354         (qsort(float[], int, int)): Likewise.
3355         (qsort(double[], int, int)): Likewise.
3356
3357 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3358
3359         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3360         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3361         java/util/ArrayList.java, java/util/Arrays.java,
3362         java/util/BitSet.java, java/util/Calendar.java,
3363         java/util/Collection.java, java/util/ListIterator.java,
3364         java/util/Map.java, java/util/SortedSet.java:
3365         Added additional exceptions to documentation, along
3366         with some additions and corrections.
3367
3368 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3369
3370         * configure.ac: Handle --enable-gc-debug.
3371         * configure: Regenerate.
3372         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3373         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3374         Rearrange include file order.
3375         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3376         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3377         (disable_gc_mutex): Delete along with all references.
3378         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3379         adjust for debug header size.
3380         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3381         debug case.
3382         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3383         (gcj_describe_type_fn): New.
3384         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3385         Register gcj_describe_type_fn.
3386         * include/boehm-gc.h:
3387         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3388         Don't define, but declare, for debug case.
3389         * java/lang/natObject.cc:
3390         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3391
3392 2004-08-26  Mark Wielaard  <mark@klomp.org>
3393
3394         Fixes PR libgcj/17002:
3395         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3396         a TimeZoneId string and then try to convert that to a TimeZone with
3397         getDefaultSystemTimeZone(String).
3398         (timezones0): Changed type from Hashtable to HashMap.
3399         (timezones): Create HashMap, not Hashtable.
3400         (getDefaultTimeZone): New method, rewritten from CNI version.
3401         (readTimeZoneFile): New method.
3402         (readtzFile): Likewise.
3403         (skipFully): Likewise.
3404         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3405         getDefaultTimeZoneId and rewritten.
3406         (getDefaultTimeZoneId): Rewritten in java.
3407         
3408 2004-08-25  David Daney  <daney@avtrex.com>
3409
3410         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3411         * Makefile.in: Regenerated.
3412
3413 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3414
3415         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3416         only if jvmpi is enabled.
3417         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3418         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3419         (_Jv_AllocString): Likewise.
3420         (_Jv_AllocPtrFreeObject): Likewise.     
3421
3422 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3423
3424         * defineclass.cc: Include <stdio.h>.
3425         * java/lang/natClassLoader.cc: Include <stdio.h>.
3426
3427 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3428             Michael Koch  <konqueror@gmx.de>
3429
3430         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3431         * Makefile.in: Regenerated.
3432
3433 2004-08-20  Michael Koch  <konqueror@gmx.de>
3434
3435         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3436         AC_COMPILE_IFELSE macros.
3437
3438 2004-08-20  Michael Koch  <konqueror@gmx.de>
3439
3440         * configure.in: Renamed to configure.ac.
3441         * configure.ac: New file.
3442         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3443         include/config.h.in, testsuite/Makefile.in: Regenerated.
3444
3445 2004-08-20  Michael Koch  <konqueror@gmx.de>
3446
3447         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3448         * aclocal.m4, configure: Regenerated.
3449
3450 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3451             Michael Koch  <konqueror@gmx.de>
3452
3453         * configure.in, Makefile.am: Ported to automake 1.9.
3454         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3455         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3456         Regenerated.
3457
3458 2004-08-19  Tom Tromey  <tromey@redhat.com>
3459
3460         * java/net/DatagramSocket.java: Fixed typo.
3461
3462 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3463
3464         PR libgcj/17081
3465         * java/net/URI.java (string): New field. Make all other fields
3466         transient.
3467         (readObject): Implemented.
3468         (writeObject): Implemented.
3469         (URI): Set 'string'.
3470
3471 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3472
3473         PR libgcj/17079
3474         * java/util/logging/Handler.java (isLoggable): Accept record if its
3475         log level equals the threshold level. From Robin Green.
3476
3477 2004-08-18  David Daney  <ddaney@avtrex.com>
3478
3479         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3480         instead of sigwait.
3481
3482 2004-08-17  Michael Koch  <konqueror@gmx.de>
3483
3484         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3485         * Makefile.in: Regenerated.
3486
3487 2004-08-16  Tom Tromey  <tromey@redhat.com>
3488
3489         PR java/8473:
3490         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3491
3492 2004-08-16  Michael Koch  <konqueror@gmx.de>
3493
3494         * Makefile.am
3495         (math_c_files): Renamed from c_files.
3496         (math_c_source_files): Renamed from c_source_files.
3497         * Makefile.in,
3498         gcj/Makefile.in,
3499         include/Makefile.in,
3500         testsuite/Makefile.in: Regenerated.
3501
3502 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3503
3504         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3505         to avoid autoconf warning.
3506         * configure: Rebuilt.
3507
3508 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3509
3510         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3511         localhostAddress to loopbackAddress.
3512         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3513
3514 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3515
3516         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3517         boehm-gc's include dirs.
3518         * configure: Rebuilt.
3519         * include/boehm-gc.h: Include gc_config.h.
3520
3521 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3522
3523         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3524         localhostAddress.
3525         (getByName): Return loopback address for null hostname, without
3526         security check. Use lookup(), not getAllByName.
3527         (getAllByName): Return loopback address for null hostname, without
3528         security check.
3529         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3530         check here.
3531
3532 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3533
3534         PR libgcj/17020
3535         Reported by Robin Green.
3536         * defineclass.cc (handleField): Don't throw exception on unrecognised
3537         modifier. Add FIXME comments for spec compliance.
3538         (handleMethod): Likewise.
3539
3540 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3541
3542         PR libgcj/16662
3543         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3544         (Almost everywhere): add LOG calls, fix, add comments.
3545         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3546         Add explicit check for LOCKED bit in slow case (PR 16662).
3547         (_Jv_MonitorExit): Add casts in debug-only code.
3548         Always release LOCKED bit before throwing exception.
3549         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3550         isn't.  Handle easy cases without lock acquisition.
3551         (Object::wait): Use NotifyAll for lock inflation.
3552
3553 2004-08-12  David Daney  <ddaney@avtrex.com>
3554
3555         * testsuite/libjava.lang/Process_1.java: New test.
3556         * testsuite/libjava.lang/Process_2.java: New test.
3557         * testsuite/libjava.lang/Process_3.java: New test.
3558         * testsuite/libjava.lang/Process_4.java: New test.
3559         * testsuite/libjava.lang/Process_5.java: New test.
3560         * testsuite/libjava.lang/Process_6.java: New test.
3561         * testsuite/libjava.lang/Process_1.out: Expected result.
3562         * testsuite/libjava.lang/Process_2.out: Expected result.
3563         * testsuite/libjava.lang/Process_3.out: Expected result.
3564         * testsuite/libjava.lang/Process_4.out: Expected result.
3565         * testsuite/libjava.lang/Process_5.out: Expected result.
3566         * testsuite/libjava.lang/Process_6.out: Expected result.
3567
3568 2004-08-12  David Daney  <ddaney@avtrex.com>
3569
3570         PR libgcj/11801
3571         * java/lang/PosixProcess.java: Rewrote.
3572         * java/lang/natPosixProcess.cc: Rewrote.
3573         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3574         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3575         * posix-threads.cc (block_sigchld) New function.
3576         (_Jv_ThreadRegister) Use it.
3577         (_Jv_ThreadStart) Use it.
3578         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3579         * Makefile.am: ... to specify extra native headers.
3580         * configure: Regenerated.
3581         * include/config.h: Regenerated.
3582         * Makefile.in: Regenerated.
3583         * gcj/Makefile.in: Regenerated.
3584         * include/Makefile.in: Regenerated.
3585         * testsuite/Makefile.in: Regenerated.
3586
3587 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3588
3589         PR tree-optimization/16867
3590         * testsuite/libjava.lang/PR16867.java: New test.
3591
3592 2004-08-09  Per Bothner  <per@bothner.com>
3593
3594         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3595         with private fields and access methods.
3596         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3597         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3598         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3599         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3600         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3601         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3602         * jni.cc: Likewise.
3603         * resolve.cc: Likewise.
3604         * gcj/field.h: Likewise.
3605         * include/jvm.h: Likewise.
3606         * java/lang/Class.h: Likewise.
3607         * java/lang/natClass.cc: Likwise.
3608         * java/lang/natClassLoader.cc: Likewise
3609         * java/lang/reflect/natMethod.cc: Likewise
3610         * verify.cc: Likewise.
3611         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3612         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3613
3614 2004-08-10  Andrew Haley  <aph@redhat.com>
3615
3616         * testsuite/libjava.lang/err14.java: New file.
3617         * testsuite/libjava.lang/err14.out: New file.
3618
3619 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3620
3621         * Makefile.am: Fix missing rename from x_nat_headers to 
3622         xlib_nat_headers.
3623         * Makefile.in: Regenerated.
3624
3625 2004-08-04  Andrew Haley  <aph@redhat.com>
3626
3627         * java/security/BasicPermission.java: Don't check wildcards.
3628
3629 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3630             Michael Koch  <konqueror@gmx.de>
3631
3632         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3633         * configure.in: Replaced all usages of AC_LINK_FILES by
3634         AC_CONFIG_LINKS.
3635         * aclocal.m4,
3636         configure: Regenerated.
3637
3638 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3639             Michael Koch  <konqueror@gmx.de>
3640
3641         * acconfig.h: Removed.
3642         * Makefile.am: Rename variables for xlib peer to include xlib and
3643         gtk_c_headers to gtk_jni_headers.
3644         * Makefile.in: Regenerated.
3645
3646 2004-08-04  Andrew Haley  <aph@redhat.com>
3647
3648         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3649         debugging.
3650
3651 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3652
3653         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3654         Replace most top level 'dnl' comments with '#' comments, conforming
3655         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3656         help strings.
3657         * configure: Rebuilt.
3658
3659 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3660
3661         * acinclude.m4: Include no-executables.m4.
3662         * aclocal.m4: Rebuild.
3663         * configure.in: Convert to the autoconf 2.59 version of
3664         of the no-executables hack, and also of the nonstandard CXX
3665         hack and the multilibbed CC and CXX hack.  Change prerequisite
3666         to autoconf 2.59.
3667         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3668         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3669         testsuite/Makefile.in: Regenerate.
3670
3671 2004-08-03  Tom Tromey  <tromey@redhat.com>
3672
3673         * jni.cc: Reindented.
3674
3675 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3676
3677         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3678
3679 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3680
3681         * testsuite/libjava.compile/PR16701.java: New test.
3682
3683 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3684
3685         * java/util/Collection.java, java/util/List.java,
3686         java/util/Map.java, java/util/Set.java,
3687         java/util/SortedMap.java, java/util/SortedSet.java:
3688         Added additional exceptions to documentation.
3689
3690 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3691
3692         PR libgcj/16814
3693         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3694         * configure. Regenerate.
3695         * include/win32.h: Explicitly include winsock2.h
3696         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3697         Winsock api.
3698
3699 2004-07-30  Michael Koch  <konqueror@gmx.de>
3700
3701         * java/util/zip/GZIPInputStream.java
3702         (GZIPInputStream): Increase buffer size to 4k.
3703         * java/util/zip/GZIPOutputStream.java
3704         (GZIPOutputStream): Likewise.
3705         * java/util/zip/Inflater.java
3706         (setInput): Merged formating with GNU classpath.
3707         * java/util/zip/InflaterInputStream.java
3708         (InflaterInputStream): Increase buffer size to 4k.
3709         (fill): Throw exception if stream ends early.
3710         (read): Merged endless-loop with GNU classpath.
3711         (skip): Increase buffer size to 2k.
3712
3713 2004-07-30  Michael Koch  <konqueror@gmx.de>
3714
3715         * gnu/java/awt/EmbeddedWindow.java
3716         (addNotify): Use AccessController to allow execution of privileged
3717         code.
3718
3719 2004-07-29  Michael Koch  <konqueror@gmx.de>
3720
3721         * gnu/java/lang/MainThread.java:
3722         Explicitely import used classes.
3723         (args): Make it type String[].
3724
3725 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3726
3727         * gnu/java/awt/ComponentDataBlitOp.java,
3728         gnu/java/beans/ExplicitBeanInfo.java,
3729         gnu/java/beans/IntrospectionIncubator.java,
3730         gnu/java/beans/editors/ColorEditor.java,
3731         gnu/java/beans/editors/FontEditor.java,
3732         gnu/java/beans/editors/NativeBooleanEditor.java,
3733         gnu/java/beans/editors/NativeByteEditor.java,
3734         gnu/java/beans/editors/NativeDoubleEditor.java,
3735         gnu/java/beans/editors/NativeFloatEditor.java,
3736         gnu/java/beans/editors/NativeIntEditor.java,
3737         gnu/java/beans/editors/NativeLongEditor.java,
3738         gnu/java/beans/editors/NativeShortEditor.java,
3739         gnu/java/beans/editors/StringEditor.java,
3740         gnu/java/io/ClassLoaderObjectInputStream.java,
3741         gnu/java/io/decode/Decoder.java,
3742         gnu/java/io/encode/Encoder.java,
3743         gnu/java/lang/ClassHelper.java,
3744         gnu/java/locale/Calendar.java,
3745         gnu/java/locale/Calendar_de.java,
3746         gnu/java/locale/Calendar_en.java,
3747         gnu/java/locale/Calendar_nl.java,
3748         gnu/java/locale/LocaleInformation_de.java,
3749         gnu/java/locale/LocaleInformation_en.java,
3750         gnu/java/locale/LocaleInformation_nl.java:
3751         Cleaned up imports.
3752
3753 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3754
3755         * README: Remove obsolete info. Update bug URL.
3756         * THANKS: Updated.
3757         * NEWS: Updated with news up to GCC 3.4 release.
3758
3759 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3760
3761         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3762         Renamed from 'setName'. New 2-argument form with default value.
3763         (run): Pass default 'value' parameter to System.getProperty().
3764         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3765         typos.
3766         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3767         not 'setName'.
3768
3769 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3770
3771         * configure.in: Check for minimum GTK version 2.4 requirement.
3772         * configure: Rebuilt.
3773
3774 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3775
3776         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3777         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3778         Reduce sleep time.
3779         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3780         compiler bug.
3781         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3782         address. Reduce sleep times. Synchronize with target threads before
3783         attempting to interrupt them. Don't try to calibrate yeild count,
3784         instead, always loop for a fixed time.
3785         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3786         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3787         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3788         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3789         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3790         * testsuite/libjava.lang/pr179.java: Likewise.
3791         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3792         time. Remove upper bounds check on sleep time. 
3793
3794 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3795
3796         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3797         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3798
3799 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3800
3801         * java/io/File.java (toURI): Throw RuntimeException, not 
3802         InternalError.
3803         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3804         class name, not instance.
3805
3806 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3807
3808         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3809         and gnu/java/security/action/SetAccessibleAction.java.
3810         * Makefile.in: Rebuilt.
3811
3812 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3813
3814         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3815         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3816         _Jv_InitPrimClass.
3817         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3818         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3819         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3820
3821 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3822
3823         * Makefile.am: Replace jar, rmic and rmiregistry references with
3824         gjar, grmic and grmiregistry.
3825         * configure.in: Likewise.
3826         * Makefile.in: Regenerate.
3827         * configure: Likewise.
3828         * gcj/Makefile.in: Likewise.
3829         * include/Makefile.in: Likewise.
3830         * testsuite/Makefile.in: Likewise.
3831
3832 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3833
3834         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3835         for privileged getProperty calls.
3836         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3837         SetAccessibleAction instead of anonymous class for doPrivileged call.
3838         (getMethod): Likewise.
3839         (setAccessible): New field. PrivilegedAction object to use when
3840         calling setAccessible.
3841         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3842         SetAccessibleAction instead of anonymous class for diPrivileged call.
3843         (setFields): Likewise.
3844         (getClassUID): Likewise.
3845         (findMethod): Likewise.
3846         * gnu/java/security/action/GetPropertyAction.java: New class.
3847         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3848
3849 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3850
3851         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3852         for final fields.
3853         * testsuite/libjava.lang/Serialization.java: New test.
3854         * testsuite/libjava.lang/Serialization.out: New.
3855
3856 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3857
3858         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3859         missed in last commit.
3860
3861 2004-07-23  Mark Wielaard  <mark@klomp.org>
3862
3863         * java/lang/System.java (static): Set http.agent system property when
3864         not yet set.
3865         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3866         from system property inside AccessController.doPrivileged() call.
3867         (proxyPort): Made package private.
3868         (proxyInUse): Likewise.
3869         (proxyHost): Likewise.
3870         (userAgent): Likewise.
3871
3872 2004-07-23  Mark Wielaard  <mark@klomp.org>
3873
3874         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3875         implementation.
3876
3877 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3878
3879         * Makefile.am (ordinary_java_source_files): Add
3880         DefaultContentHandlerFactory.java.
3881         * Makefile.in: Rebuilt.
3882         * java/net/URLConnection.java (defaultFactory): New field.
3883         (getContent): 
3884         (getContentHandler): Renamed from 'setContentHandler'. Try 
3885         defaultFactory after user-set factory, if any. Search for content 
3886         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3887         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3888         Implemented.
3889         (getLastModified): Implemented.
3890         (getPermission): Create file permission here, instead of in
3891         constructor.
3892         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3893         Implemented.
3894         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3895         Implemented.
3896         (getLastModified): Implemented.
3897         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3898         Default implementation.
3899         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3900         Implement using GdkPixbufDecoder.
3901         
3902 2004-07-21  Michael Koch  <konqueror@gmx.de>
3903
3904         * javax/swing/JTextArea.java
3905         (setLineWrap): Fire property change event after new value is set.
3906         (setTabSize): Likewise.
3907
3908 2004-07-21  Michael Koch  <konqueror@gmx.de>
3909
3910         * javax/swing/JTable.java
3911         (autoCreateColumnsFromModel): New field.
3912         (autoResizeMode): Likewise.
3913         (cellEditor): Likewise.
3914         (cellSelectionEnabled): Likewise.
3915         (columnModel): Likewise.
3916         (dataModel): Likewise.
3917         (defaultEditorsByColumnClass): Likewise.
3918         (defaultRenderersByColumnClass): Likewise.
3919         (editingColumn): Likewise.
3920         (editingRow): Likewise.
3921         (gridColor): Likewise.
3922         (preferredViewportSize): Likewise.
3923         (rowHeight): Likewise.
3924         (rowMargin): Likewise.
3925         (rowSelectionAllowed): Likewise.
3926         (selectionBackground): Likewise.
3927         (selectionForeground): Likewise.
3928         (selectionModel): Likewise.
3929         (showHorizontalLines): Likewise.
3930         (showVerticalLines): Likewise.
3931         (tableHeader): Likewise.
3932         (JTable): Implemented.
3933         (getColumnModel): Likewise.
3934         (getSelectedRow): Likewise.
3935         (getSelectionModel): Likewise.
3936         (setModel): Likewise.
3937         (setSelectionModel): Likewise.
3938         (createScrollPaneForTable): New method.
3939         (createDefaultDataModel): Likewise.
3940         (createDefaultListSelectionModel): Likewise.
3941         (getModel): Likewise.
3942         (getTableHeader): Likewise.
3943         (setTableHeader): Likewise.
3944         (getColumnSelectionAllowed): Likewise.
3945         (setColumnSelectionAllowed): Likewise.
3946         (getRowSelectionAllowed): Likewise.
3947         (setRowSelectionAllowed): Likewise.
3948         (getAutoResizeMode): Likewise.
3949         (setAutoResizeMode): Likewise.
3950         (getColumnCount): Likewise.
3951         (getRowCount): Likewise.
3952         (getCellRenderer): Likewise.
3953         * javax/swing/JTree.java
3954         (cellRenderer): New field.
3955         (editable): Likewise.
3956         (rootVisible): Likewise.
3957         (showsRootHandles): Likewise.
3958         (getModel): New method.
3959         (setModel): Likewise.
3960         (isEditable): Likewise.
3961         (setEditable): Likewise.
3962         (isRootVisbile): Likewise.
3963         (setRootVisible): Likewise.
3964         (getShowsRootHandles): Likewise.
3965         (setShowRootHandles): Likewise.
3966         (getCellRenderer): Likewise.
3967         (setCellRenderer): Likewise.
3968
3969 2004-07-21  Michael Koch  <konqueror@gmx.de>
3970
3971         * javax/swing/JFormattedTextField.java
3972         (setDocument): Implemented.
3973         * javax/swing/JRootPane.java:
3974         Fixed javadocs.
3975         * javax/swing/JTable.java
3976         (getDefaultRenderer): New method.
3977         * javax/swing/JTextField.java
3978         (setFont): Likewise.
3979         (getPreferredSize): Likewise.
3980         * javax/swing/JToggleButton.java
3981         (getAccessibleContext): Fix javadoc.
3982         * javax/swing/JTree.java:
3983         Add some javadocs.
3984         * javax/swing/JViewport.java:
3985         Likewise.
3986
3987 2004-07-21  David Jee  <djee@redhat.com>
3988
3989         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3990         Collect all native method declaration at the top.
3991         (create): Set the filename filter if necessary.
3992         (setDirectory): Call nativeSetDirectory().
3993         (setFilenameFilter): Implement.
3994         (filenameFilterCallback): New method.
3995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3996         (create): Configure dialog to show hidden files.
3997         (filenameFilterCallback): New function. 
3998         (nativeSetFilenameFilter): New function.
3999         (nativeSetDirectory): New function.
4000
4001 2004-07-21  Kim Ho  <kho@redhat.com>
4002
4003         * javax/swing/plaf/basic/BasicSliderUI.java:
4004         Ran Jalopy.
4005         (paintTrack): Fill the track before painting
4006         the borders.
4007
4008 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4009
4010         patch from Roman Kennke <roman@ontographics.com>
4011         * javax/swing/Spring.java: New file.
4012         * javax/swing/SpringLayout.java: New file.
4013         * Makefile.am: Add new files.
4014         * Makefile.in: Regenerate.
4015
4016 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4017
4018         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4019         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4020         * javax/swing/ScrollPaneLayout.java: Likewise.
4021
4022 2004-07-21  Kim Ho  <kho@redhat.com>
4023
4024         * javax/swing/DefaultDesktopManager.java:
4025         (findMinimum): Removed.
4026         (resizeFrame): Trust the UI to pass valid 
4027         bounds.
4028         * javax/swing/JOptionPane.java:
4029         Implemented showInternalXXXDialog methods.
4030         (startModal): New method.
4031         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4032         (BorderListener::mouseDragged): Verify that the new 
4033         bounds are valid before passing them to the DesktopManager.
4034         (preferredLayoutSize): Delegate
4035         to getSize.
4036         (minimumLayoutSize): Ditto.
4037         (getSize): New method.
4038         (GlassPaneDispatcher): Reimplemented by copying 
4039         a stripped down LightweightDispatcher from Container.
4040         (getMinimumSize): Call minimumLayoutSize.
4041         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4042         Ran Jalopy.
4043         (mousePressed): Add ability to properly close 
4044         JInternalFrames.
4045         * javax/swing/plaf/basic/BasicToolBarUI.java:
4046         (DragWindow): Set owner for DragWindow.
4047
4048 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4049
4050         * java/awt/image/ShortLookupTable.java: New file.
4051         * java/awt/image/ByteLookupTable.java: New file.
4052         * Makefile.am: Added new files.
4053         * Makefile.in: Regenerated.
4054
4055 2004-07-21  David Jee  <djee@redhat.com>
4056
4057         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4058         (create(GtkContainerPeer)): New native method.
4059         (create()): Call native create(), passing in the parent frame
4060         as the paramter. Natively set the current file and directory.
4061         (setFile): Construct an absolute filename before passing it to
4062         the native peer.
4063         (nativeGetDirectory): New method.
4064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4065         (window_closed): Removed.
4066         (ok_clicked): Likewise.
4067         (cancel_clicked): Likewise.
4068         (handle_response): New method.
4069         (create): Use GtkFileChooserDialog.
4070         (connectSignals): Connect to handle_response.
4071         (nativeGetDirectory): New method.
4072         (nativeSetFile): Use GtkFileChooserDialog.
4073
4074 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4075
4076         * java/awt/image/LookupTable.java: New file.
4077         * Makefile.am: Added new file.
4078         * Makefile.in: Regenerated.
4079
4080 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
4081
4082         * java/awt/image/Kernel.java: New file.
4083         * Makefile.am: Added new file.
4084         * Makefile.in: Regenerated.
4085
4086 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4087
4088         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4089         * javax/swing/JMenu.java: Likewise.
4090         * javax/swing/JMenuBar.java: Likewise.
4091         (MARGIN_CHANGED_PROPERTY): New property.
4092         (setMargin): Implemented.
4093         * javax/swing/JMenuItem.java: Fixed javadocs.
4094         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4095         (LABEL_CHANGED_PROPERTY): New property.
4096         (add): changed to use createActionComponent.
4097         (createActionComponent): Implemented.   
4098         (setLabel): Fire PropertyChangeEvent if label property
4099         changes.
4100         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4101         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4102         (ContainerHandler): Repaint if margin property has changed.
4103         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4104         (installUI): Call installComponents().
4105         (uninstallUI): Call uinstallComponents().
4106         * javax/swing/plaf/basic/BasicMenuUI.java:
4107         Fixed javadocs.
4108         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4109         Likewise.
4110
4111 2004-07-21  Kim Ho  <kho@redhat.com>
4112
4113         * javax/swing/plaf/basic/BasicToolBarUI.java:
4114         (DragWindow): Use the right constructor.
4115
4116 2004-07-21  Kim Ho  <kho@redhat.com>
4117
4118         * javax/swing/JToolBar.java:
4119         (layoutContainer): Use getComponents.
4120         * javax/swing/plaf/basic/BasicToolBarUI.java:
4121         (DragWindow): Don't use SwingUtilities' 
4122         getOwnerFrame
4123         (ToolBarDialog): ditto.
4124
4125 2004-07-21  Kim Ho  <kho@redhat.com>
4126
4127         * javax/swing/JRootPane.java:
4128         Ran jalopy.
4129         (layoutContainer): Set the glasspane's size to 
4130         be the same as the content pane.
4131         (createGlassPane): Set opaque property to false.
4132
4133 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4134
4135         * java/awt/Component.java (requestFocus()): Don't handle Panels
4136         specially.
4137         (requestFocus(boolean)): Likewise.
4138         (requestFocusInWindow(boolean)): Likewise.
4139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4140         Set GTK_CAN_FOCUS flag.
4141
4142 2004-07-21  Kim Ho  <kho@redhat.com>
4143
4144         * Makefile.am: Added new file.
4145         * Makefile.in: Regenerated.
4146         * gcj/Makefile.in: Regenerated.
4147         * include/Makefile.in: Regenerated.
4148         * javax/swing/AbstractButton.java:
4149         Add rollOverEnabled property.
4150         (setRolloverEnabled): Use new property.
4151         (isRolloverEnabled): Use new property.
4152         * javax/swing/JTabbedPane.java:
4153         (setComponent): Remove useless JTabbedPane.this.
4154         * javax/swing/JToolBar.java: Finish implementation.
4155         * javax/swing/plaf/basic/BasicArrowButton.java:
4156         (paint): Moved border painting to a border.
4157         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4158         Change JToolBar look and feel defaults.
4159         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4160         (actionPerformed): Return Integer index instead of name.
4161         (addButtonComponents): Check to see if component is
4162         JButton last.
4163         (createMessageArea): Don't use components that are not
4164         completed yet.
4165         (getIconForType): Use temporary icons.
4166         * javax/swing/plaf/basic/BasicSliderUI.java:
4167         (mousePressed): Do not return if it's on thumb.
4168         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4169         (paintMinorTickForVertSlider): ditto.
4170         (paintMajorTickForHorizSlider): ditto.
4171         (paintMajorTickForVertSlider): ditto.
4172         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4173         Add a border around the SplitPaneDivider.
4174         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4175         Remove comments.
4176         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4177         New file. Implemented.
4178         * javax/swing/plaf/basic/BasicToolBarUI.java:
4179         Implemented.
4180         * testsuite/Makefile.in: Regenerated.
4181
4182 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4183
4184         * javax/swing/Timer.java (run): Queue events each time cycle.
4185
4186 2004-07-21  David Jee  <djee@redhat.com>
4187
4188         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4189         (imageComplete): Call image.imageComplete().
4190         * java/awt/image/MemoryImageSource.java:
4191         Reimplement consumers as a Vector instead of a Hashtable.  This is
4192         because enumeration on a Hashtable is not thread-safe.
4193         (addConsumer): Adapt to Vector consumers.
4194         (isConsumer): Adapt to Vector consumers.
4195         (removeConsumer): Adapt to Vector consumers.
4196         (startProduction): Adapt to Vector consumers. Call imageComplete()
4197         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4198         (newPixels): Adapt to Vector consumers.
4199         (sendPicture): Set the color model of the image consumer.
4200         (newPixels(IIII)): Adapt to Vector consumers.
4201         (newPixels(IIIIB)): Adapt to Vector consumers.
4202
4203 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4204
4205         * java/awt/Component.java (deliverEvent): Implement.
4206         (postEvent): Implement.
4207         (handleEvent): Implement.
4208         (translateEvent): New method.
4209         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4210         * java/awt/Container.java (deliverEvent): Implement.
4211         * java/awt/Event.java (paramString): Fix formatting.
4212         * java/awt/Font.java (toString): Likewise.
4213         * java/awt/Window.java (postEvent): Implement.
4214
4215 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4216
4217         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4218         Set window's focus owner upon receiving a FOCUS_LOST event.
4219         * java/awt/Window.java (Window()): Refocus the previously
4220         focused component within the window when the window regains the
4221         top-level focus.
4222         (setFocusOwner): New method.
4223         * java/awt/Component.java (requestFocus): Add FIXME.
4224
4225         * libgcj.pc.in: Remove library flags.
4226
4227 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4228
4229         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4230         MOUSE_PRESSED event.
4231         * java/awt/Component.java (requestFocus()): Handle Panel
4232         specially.  Post FOCUS_LOST event on opposite component.
4233         (requestFocus(boolean)): Likewise.
4234         (requestFocusInWindow(boolean)): Likewise.
4235         (paramString): Reorder dimension fields.
4236         * java/awt/Container.java (paramString): Fix string format.
4237         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4238         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4239         process key events if the focus owner is non-null.
4240         (dispatchKeyEvent): Likewise.
4241         * java/awt/Frame.java (paramString): Fix formatting.
4242         (generateName): New method.
4243         (getUniqueLong): Likewise.
4244         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4245         the temporary focus owner is null.  If so, return the permanent
4246         focus owner.
4247         * java/awt/Panel.java (generateName): New method.
4248         (getUniqueLong): Likewise.
4249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4250         signal handling to make callbacks more specific.
4251
4252 2004-07-21  Michael Koch  <konqueror@gmx.de>
4253
4254         * javax/swing/text/Position.java
4255         (Bias): Implemented.
4256
4257 2004-07-21  Michael Koch  <konqueror@gmx.de>
4258
4259         * javax/swing/LookAndFeel.java
4260         (provideErrorFeedback): New method.
4261
4262 2004-07-21  Michael Koch  <konqueror@gmx.de>
4263
4264         * javax/swing/JTextArea.java
4265         (tabSize): New field.
4266         (getTabSize): New method.
4267         (setTabSize): Likewise.
4268
4269 2004-07-21  Michael Koch  <konqueror@gmx.de>
4270
4271         * javax/swing/ActionMap.java:
4272         Fixed javadocs all over.
4273         (serialVersionUID): Made private.
4274         (parent): Don't explicitely initialize with default value.
4275         (get): SImplified.
4276         (keys): Reimplemented.
4277         (allKeys): Likewise.
4278         (convertSet): Removed.
4279         * javax/swing/ComponentInputMap.java:
4280         Fixed javadocs all over.
4281         (ComponentInputMap): Implemented.
4282         (put): Likewise.
4283         (clear): Likewise.
4284         (remove): Likewise.
4285         (SetParent): Likewise.
4286         (getComponent): Likewise.
4287         * javax/swing/InputMap.java:
4288         Fixed javadocs all over.
4289         (serialVersionUID): Made private.
4290         (parent): Don't explicitely initialize with default value.
4291         (get): SImplified.
4292         (keys): Reimplemented.
4293         (allKeys): Likewise.
4294         (convertSet): Removed.
4295
4296 2004-07-21  Michael Koch  <konqueror@gmx.de>
4297
4298         * javax/swing/ActionMap.java,
4299         javax/swing/ComponentInputMap.java,
4300         javax/swing/InputMap.java,
4301         javax/swing/table/DefaultTableColumnModel.java,
4302         javax/swing/table/TableColumn.java,
4303         javax/swing/table/TableColumnModel.java,
4304         javax/swing/table/TableModel.java,
4305         javax/swing/text/AbstractDocument.java,
4306         javax/swing/text/TextAction.java:
4307         Reformated.
4308
4309 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4310
4311         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4312         Make method non-static.
4313         * javax/swing/AbstractButton.java:
4314         Rename fields to match property names where possible.
4315         (iconTextGap): New property.
4316         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4317         (init) New method, call from after various constructors.
4318         * javax/swing/JComponent.java (revalidate): 
4319         Invalidate before queueing repair.
4320         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4321         Reimplement in terms of visibleRowCount property.
4322         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4323         * javax/swing/JScrollPane.java (createScrollListener): 
4324         Remove tracing chatter.
4325         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4326         * javax/swing/RepaintManager.java (addInvalidComponent): 
4327         Don't invalidate.
4328         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4329         calculations.
4330         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4331         Mimic sun behavior on top left/right positioning.
4332         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4333         Remove mistaken use of preferredScrollableViewportSize here.
4334         (layoutContainer): Use view's preferred size as basis.
4335         * javax/swing/plaf/basic/BasicButtonUI.java:
4336         Set, get, and use textIconGap property.
4337         (paint) Paint text returned from layout (with ellipsis).
4338         * javax/swing/plaf/basic/BasicListUI.java:
4339         Remove tracing chatter, correct various minor calculations.
4340         (getCellBounds): Update layout state before calculating.
4341         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4342         Use margin default similar to sun's.    
4343         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4344         (createIncreaseIcon): Center icon, minimize margins.
4345         (createDecreaseIcon): Likewise.
4346         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4347         Implement.
4348         (installUI): Call it.
4349         (uninstallDefaults): Implement.
4350         (uninstallUI): Call it.
4351         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4352         Call existing Window constructor.
4353         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4354         Set clip before painting.
4355
4356 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4357         
4358         * javax/swing/JMenuItem.java:
4359         (processMouseEvent): Reimplemented to deal with
4360         mouse drag events.
4361         (createMenuDragMouseEvent): New private helper method.
4362         Creates MenuDragMouseEvent.
4363         * javax/swing/MenuSelectionManager.java
4364         (componentForPoint): Implemented.
4365         (isComponentPartOfCurrentMenu): Made public.
4366         (processMouseEvent): Reimplemented to deal with 
4367         mouse drag events.
4368         (setSelectedPath): Corrected small mistake that caused
4369         path to be set incorrectly.
4370         (getPath): If given component is JMenu then also add this
4371         menu's popup menu to the selected path.
4372         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4373         (getPath): Ditto.
4374         (getPreferredSize): Call getPreferredMenuItemSize().
4375         (getPreferredItemSize): Moved code from getPreferredSize to here.
4376         (installListeners): Install MouseMotionListeners.
4377         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4378         if mouse wasn't released in the bounds of this menu item.
4379         (MenuDragMouseHandler): Implemented.
4380         * javax/swing/plaf/basic/BasicMenuUI.java:
4381         (installListeners): Install MouseMotionListener and 
4382         MenuDrageMouseListener.
4383         (MenuDragMouseHandler): Implemented.
4384         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4385         (uninstallListeners): Implemented.
4386         
4387 2004-07-21  Michael Koch  <konqueror@gmx.de>
4388
4389         * javax/swing/JCheckBox.java: Reformated.
4390         (JCheckBox): Fixed all constructors.
4391         (isBorderPaintedFlat): New method.
4392         (setBorderPaintedFlat): New method.
4393         * javax/swing/JEditorPane.java
4394         (createEditorKitForContentType): Made public.
4395         (scrollToReference): Likewise.
4396         * javax/swing/JTextArea.java
4397         (setLineWrap): Fire property change.
4398         * javax/swing/JToggleButton.java
4399         (JToggleButton): New constructor.
4400         (JToggleButton): Simplified.
4401         * javax/swing/text/AttributeSet.java
4402         (FontAttribute): Renamed from FontCharacterAttribute.
4403         * javax/swing/text/JTextComponent.java
4404         (KeyBinBinding): Added javadoc.
4405         (JTextComponent): Likewise.
4406         (getAccessibleContext): Fixed javadoc.
4407         * javax/swing/text/View.java
4408         (View): Added javadoc.
4409         * javax/swing/text/TabableView.java: New file.
4410         * Makefile.am: Added javax/swing/text/TabableView.java.
4411         * Makefile.in: Regenerated.
4412
4413 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4414
4415         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4416         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4417         (GtkErrorImage): New helper class.
4418         (bufferedImageOrError): New helper method.
4419         (createImage): Use it.
4420
4421 2004-07-21  David Jee  <djee@redhat.com>
4422
4423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4424         (setCaretPosition): Scroll the text view so the new caret position
4425         is visible on screen.
4426
4427 2004-07-21  David Jee  <djee@redhat.com>
4428
4429         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4430         (setBounds): Do not validate awtComponent here.
4431         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4432         (getPreferredSize): New method.
4433         * java/awt/ScrollPane.java
4434         (ScrollPane): Set default size to 100x100.
4435         (addNotify): If child is not a Panel, wrap it with a new Panel.
4436         (paramString): Implement.
4437
4438 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4439
4440         * javax/swing/JMenu.java:
4441         (setSelected): Display popup menu only if this menu 
4442         is showing on the screen.
4443         * javax/swing/JPopupMenu.java:
4444         (processMouseEvent): Added comment.
4445         (processKeyEvent): Likewise.
4446         * javax/swing/MenuSelectionManager.java:
4447         (clearSelectedPath): Only fireStateChanged() after
4448         selected path was changed, not before.
4449         (setSelectedPath): Likewise.
4450         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4451         (paintMenuItem): Corrected position of menu item's
4452         icon.
4453         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4454         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4455         (popupMenuCanceled): Reimplemented.
4456         (popupMenuWillBecomeVisible): Select first menu item by default 
4457         when displaying free floating popup menus.
4458         (TopWindowListener): Reimplemented.
4459
4460 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4461
4462         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4463         Panel from being painted twice when it is first shown.
4464
4465 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4466
4467         * java/awt/Window.java: Reverted changes from my 
4468         previous patch for creating window without an owner.
4469         * javax/swing/SwingUtilities.java: 
4470         (SwingUtilities.OwnerFrame): made static.
4471         (OwnerFrame.setVisible): New method. Overridden with
4472         empty implementation.
4473         (OwnerFrame.isShowing): New method. Ovverridden
4474         to return always true.
4475
4476 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4477
4478         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4479         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4480         (GtkComponentPeer): Remove temporary try/catch block.
4481         (setVisible): Call show and hide.
4482         (show): Make native.
4483         (hide): Likewise.
4484         (getArgs): Don't add "visible" argument.
4485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4486         (property_notify_predicate): Return Bool instead of int.
4487         (find_layout): New function.
4488         (connectJObject): Call find_layout.
4489         (connectSignals): Likewise.
4490         (moveLayout): Likewise.
4491         (gtkLayoutSetVisible): Likewise.
4492
4493 2004-07-21  Mark Wielaard  <mark@klomp.org>
4494
4495         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4496         on notifier object before calling notifyAll().
4497
4498 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4499
4500         * java/awt/Window.java: Changed constructors to use new
4501         method that is described below. Constructors call this
4502         methods only if newly created window should have an owner.
4503         (setWindowOwner): New method. Implementation for
4504         this method is moved from this(owner,configuration).
4505         * javax/swing/JWindow.java:
4506         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4507         instead of owner.
4508         * javax/swing/SwingUtilities.java:
4509         (ownerFrame): Change type of this field to OwnerFrame.
4510         (getOwnerFrame): Changed to return object of type OwnerFrame.
4511         (SwingUtilities.OwnerFrame): New class. Represents owner
4512         of a Window that is not provided with one.
4513
4514 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4515
4516         *  javax/swing/AbstractButton.java: 
4517         (configurePropertiesFromAction): Set action command
4518         to button's text by default if action command is not 
4519         explicitely specified.
4520         * javax/swing/JMenu.java: Remove unnecessary listener
4521         and methods relevant to it.
4522         (setSelected): Reimplemented.
4523         (menuSelectionChanged): Moved most part of implementation to
4524         setSelected() and call it instead.
4525         * javax/swing/JMenuItem.java: 
4526         (init): Comment out statement that sets paint_border to false.
4527         (configurePropertiesFromAction): Do not set accelerator
4528         for JMenu.
4529         (menuSelectionChanged): Change selected index in the selection
4530         model of menu item's parent.
4531         * javax/swing/JPopupMenu.java:
4532         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4533         instead of GridBagConstraints.HORIZONTAL.
4534         (insert): Likewise.
4535         (createActionChangeListener): Implemented.
4536         (setVisible): Correct location of HeavyWeightMenu and 
4537         don't firePopupMenuCanceled().
4538         (menuSelectionChanged): Implemented.
4539         (ActionChangeListener): New Listener. Implemented.
4540         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4541         (BasicMenuBarUI.ContainerHandler): Implemented.
4542         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4543         (paintMenuItem): Uncommented out code that paints 
4544         icon, now that icons are working properly.
4545         (PropertyChangeListener): Implemented.
4546         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4547         Added javadocs.
4548         (topWindowListener): New field.
4549         (Constructor): initialize topWindowListener.
4550         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4551         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4552         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4553         Implemented.
4554
4555 2004-07-21  Michael Koch  <konqueror@gmx.de>
4556
4557         * javax/swing/plaf/basic/BasicButtonUI.java
4558         (paintFocus): Fixed method signature.
4559         (paintButtonPressed): Likewise.
4560         (paintButtonNormal): Likewise.
4561         (paintText): New method.
4562         * javax/swing/plaf/basic/BasicLabelUI.java
4563         (paint): Re-indented.
4564         * javax/swing/plaf/basic/BasicTextUI.java
4565         (installUI): Set parent textComponent to opaque.
4566         * javax/swing/text/DefaultHighlighter.java
4567         (checkPositions): New helper method.
4568         (addHighlight): Throws BadLocationException, check positions.
4569         (changeHighlight): Likewise.
4570         * javax/swing/text/EditorKit.java
4571         (EditorKit): Implements Serializable.
4572         * javax/swing/text/JTextComponent.java
4573         (getUI): Added javadoc.
4574         (setUI): Likewise.
4575         (upadteUI): Added javadoc, don't revalidate and repaint.
4576
4577 2004-07-21  David Jee  <djee@redhat.com>
4578
4579         * java/awt/GridBagLayout.java
4580         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4581         * javax/swing/AbstractButton.java
4582         (setText): Reindent.
4583         * javax/swing/RepaintManager.java
4584         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4585
4586 2004-07-21  Michael Koch  <konqueror@gmx.de>
4587
4588         * javax/swing/JFormattedTextField.java
4589         (value): New field.
4590         (JFormattedTextField): Implemented.
4591         (getValue): Likewise.
4592         (setValue): Likewise.
4593         * javax/swing/LookAndFeel.java
4594         (getSupportsWindowDecorations): New method.
4595         * javax/swing/UIDefaults.java:
4596         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4597         (addPropertyChangeListener): Made public.
4598         (addResourceBundle): Likewise.
4599         (removeResourceBundle): Likewise.
4600         (setDefaultLocale): Likewise.
4601         * javax/swing/plaf/basic/BasicRootPaneUI.java
4602         (BasicRootPaneUI): Implements PropertyChangeListener.
4603         (propertyChange): New method.
4604         * javax/swing/plaf/basic/BasicTextUI.java
4605         (BasicHighlighter): New inner class.
4606         (createHighlighter): New method.
4607         * javax/swing/plaf/basic/BasicToolBarUI.java
4608         (DragWindow): Extends java.awt.Window.
4609         * javax/swing/text/JTextComponent.java
4610         (getDocument): Removed debug output.
4611         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4612         javax/swing/text/DefaultHighlighter.java,
4613         javax/swing/text/FieldView.java,
4614         javax/swing/text/PlainView.java: New files.
4615         * Makefile.am: Added new files.
4616         * Makefile.in: Regenerated.
4617
4618 2004-07-21  Michael Koch  <konqueror@gmx.de>
4619
4620         * javax/swing/JEditorPane.java
4621         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4622         (createEditorKitForContentType): Likewise.
4623         * javax/swing/text/DefaultEditorKit.java
4624         (serialVersionUID): Added constant field.
4625         (EndOfLineStringPropery): Fixed typo.
4626         (DefaultEditorKit): New constructor.
4627         * javax/swing/text/Segment.java:
4628         Import java.text.CharacterIterator.
4629         * javax/swing/text/CharacterIterator.java,
4630         javax/swing/text/PlainEditorKit.java: Removed.
4631         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4632         javax/swing/text/PlainEditorKit.java.
4633         * Makefile.in: Regenerated.
4634
4635 2004-07-21  Michael Koch  <konqueror@gmx.de>
4636
4637         * javax/swing/JButton.java,
4638         javax/swing/text/DefaultEditorKit.java,
4639         javax/swing/text/EditorKit.java,
4640         javax/swing/text/Segment.java,
4641         javax/swing/text/StyledEditorKit.java:
4642         Reformatted.
4643
4644 2004-07-21  Michael Koch  <konqueror@gmx.de>
4645
4646         * javax/swing/ImageIcon.java
4647         (file): Removed.
4648         (description): Renamed from descr.
4649         (ImageIcon): Added missing constructors.
4650         (setParent): Removed.
4651         (setImageObserver): New method.
4652         (getImageObserver): New method.
4653         (paintIcon): Handle observer = null.
4654         * javax/swing/JButton.java
4655         (removeNotify): Fixed javadoc.
4656         (updateUI): Simplified.
4657         * javax/swing/JRootPane.java
4658         (serialVersionUID): New constant field.
4659         * javax/swing/UIManager.java:
4660         Fixed javadocs all over.
4661         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4662         * javax/swing/text/AbstractDocument.java
4663         (createPosition): Throws BadLocationException.
4664         (getText): Likewise.
4665         (remove): Likewise.
4666         * javax/swing/text/ComponentView.java
4667         (modelToView): Likewise.
4668         * javax/swing/text/DefaultEditorKit.java:
4669         Made all public methods public.
4670         (read): Throws BadLocationException and IOException.
4671         (write): Likewise.
4672         * javax/swing/text/EditorKit.java:
4673         Made all public methods public.
4674         (serialVersionUID): New constant field.
4675         (clone): New method.
4676         (read): Throws BadLocationException and IOException.
4677         (write): Likewise.
4678         * javax/swing/text/Segment.java
4679         (array): Made public.
4680         (count): Likewise.
4681         (offset): Likewise.
4682         (Segment): New constructors.
4683         (clone): Reimplemented.
4684         * javax/swing/text/StyledEditorKit.java
4685         (serialVersionUID): New constant field.
4686
4687 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4688
4689         * java/awt/image/BufferedImage.java 
4690         (getSource): Implement.
4691         * javax/swing/ImageIcon.java 
4692         (ImageIcon): Implement ctor.
4693         * javax/swing/ScrollPaneLayout.java 
4694         (preferredLayoutSize): Be more careful about nulls.
4695
4696 2004-07-21  Michael Koch  <konqueror@gmx.de>
4697
4698         * javax/swing/text/AttributeSet.java
4699         (CharacterAttribute): New interface
4700         (ColorAttribute): Likewise.
4701         (FontCharacterAttribute): Likewise.
4702         (ParagraphAttribute): Likewise.
4703         * javax/swing/text/DefaultCaret.java
4704         (moveCaret): New method.
4705         (positionCaret): Likewise.
4706         (repaint): Made protected.
4707         * javax/swing/text/JTextComponent.java
4708         (KeyBinding): Made it static.
4709         * javax/swing/text/View.java
4710         (getContainer): Honor parent == null.
4711
4712 2004-07-21  Michael Koch  <konqueror@gmx.de>
4713
4714         * javax/swing/text/AbstractDocument.java:
4715         Reformatted.
4716
4717 2004-07-21  Michael Koch  <konqueror@gmx.de>
4718
4719         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4720         Import javax.swing.UIManager explicitely.
4721         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4722         (ScrollingButton): Made it static.
4723
4724 2004-07-21  Michael Koch  <konqueror@gmx.de>
4725
4726         * javax/swing/UIDefaults.java
4727         (ActiveValue): Made public.
4728         (LazyValue): Likewise.
4729         * javax/swing/plaf/basic/BasicTextUI.java
4730         (RootView): Reintroduced.
4731         (view): Removed.
4732         (rootView): New field.
4733         (installUI): Create document if needed, initialize rootView.
4734         (uninstallUI): Hanle rootView.
4735         (paint): Likewise.
4736         (getRootView): Likewise.
4737         (setView): Likewise.
4738         * javax/swing/text/DefaultCaret.java:
4739         Renamed all "evt" variables to "event".
4740
4741 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4742
4743         * libgcj.spec.in: Add -l-java-util-logging.
4744
4745 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4746
4747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4748         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4749         gtk-xft-dpi can no calculate the right value.
4750         (dpi_changed_cb): Mark *pspec as unsused.
4751
4752 2004-07-21  David Jee  <djee@redhat.com>
4753
4754         * java/awt/Component.java
4755         (move): Delegate to setBounds().
4756         (resize): Likewise.
4757         (reshape): Fix so it repaints parent and self only when necessary.
4758
4759 2004-07-21  David Jee  <djee@redhat.com>
4760
4761         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4762         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4763         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4764         (setVisible): Likewise.
4765         (show): Likewise.
4766         (hide): Likewise.
4767         (getArgs): Likewise.
4768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4769         (property_notify_predicate): Likewise.
4770         (find_layout): Likewise.
4771         (connectJObject): Likewise.
4772         (connectSignals): Likewise.
4773         (moveLayout): Likewise.
4774         (gtkLayoutSetVisible): Likewise.
4775
4776 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4777
4778         * Makefile.am
4779         (jv_convert_LDADD):
4780         (gij_LDADD):
4781         (rmic_LDADD):
4782         (rmiregistry_LDADD): Add lib-java-util-logging.la
4783         * Makefile.in: Regenerate.
4784
4785 2004-07-21  Michael Koch  <konqueror@gmx.de>
4786
4787         * javax/swing/text/AbstractDocument.java
4788         (replace): Dont use protected method of java.util.Vector directly.
4789
4790 2004-07-21  Michael Koch  <konqueror@gmx.de>
4791
4792         * javax/swing/plaf/basic/BasicTextUI.java
4793         (installUI): Call specialized install methods.
4794         (installDefaults): New method.
4795         (installListeners): Likewise.
4796         (installKeyboardActions): Likewise.
4797         (uninstallUI): Likewise.
4798         (uninstallDefaults): New method.
4799         (uninstallListeners): Likewise.
4800         (uninstallKeyboardActions): Likewise.
4801         (getPropertyPrefix): New abstract method.
4802         (paint): Made final, just call paintSafely().
4803         (paintSavely): New method.
4804         (paintBackground): Likewise.
4805         (getVisibleEditorRect): Likewise.
4806         * javax/swing/text/LayeredHighlighter.java,
4807         javax/swing/text/TabExpander.java: New files.
4808         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4809         and javax/swing/text/TabExpander.java.
4810         * Makefile.in: Regenerated.
4811
4812 2004-07-21  Michael Koch  <konqueror@gmx.de>
4813
4814         * javax/swing/plaf/basic/BasicTextUI.java
4815         (BasicTextUI): Made abstract.
4816         (BasicCaret): New inner class.
4817         (view): Don't explicitely initialize with "null".
4818         (textComponent): New field.
4819         (textColor): Removed.
4820         (disabledTextColor): Removed.
4821         (normalBackgroundColor): Removed.
4822         (RootView): Removed commented out inner class.
4823         (createUI): Removed.
4824         (createCaret): New method.
4825         (getComponent): Likewise.
4826         (installUI): Initialize textComponent only.
4827         (getPreferredSize): Use installed JTextComponent.
4828         (setView): New method.
4829         (create): Likewise.
4830         * javax/swing/text/JTextComponent.java
4831         (highlighter): New field.
4832         (caretColor): Likewise.
4833         (disabledTextColor): Likewise.
4834         (seletedTextColor): Likewise.
4835         (selectionColor): Likewise.
4836         (setUI): New method.
4837         (getCaretColor): Likewise.
4838         (setCaretColor): Likewise.
4839         (getDisabledColor): Likewise.
4840         (setDisabledColor): Likewise.
4841         (getSelectedTextColor): Likewise.
4842         (setSelectedTextColor): Likewise.
4843         (getSelectionColor): Likewise.
4844         (setSelectionColor): Likewise.
4845         (getHighlighter): Likewise.
4846         (setHighlighter): Likewise.
4847         (replaceSelection): Likewise.
4848
4849 2004-07-21  Michael Koch  <konqueror@gmx.de>
4850
4851         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4852         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4853         * javax/swing/plaf/basic/BasicToolBarUI.java
4854         (BasicToolBarUI): Implements SwingConstants.
4855
4856 2004-07-21  Michael Koch  <konqueror@gmx.de>
4857
4858         * javax/swing/JPopupMenu.java: Removed CVS tags.
4859         * javax/swing/UIDefaults.java: Reformatted.
4860         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4861         Explicitely import used classes.
4862
4863 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4864
4865         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4866         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4867         (GtkComponentPeer): Remove temporary try/catch block.
4868         (setVisible): Call show and hide.
4869         (show): Make native.
4870         (hide): Likewise.
4871         (getArgs): Don't add "visible" argument.
4872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4873         (property_notify_predicate): Return Bool instead of int.
4874         (find_layout): New function.
4875         (connectJObject): Call find_layout.
4876         (connectSignals): Likewise.
4877         (moveLayout): Likewise.
4878         (gtkLayoutSetVisible): Likewise.
4879
4880 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4881
4882         * javax/swing/AbstractButton.java:
4883         (setDisplayedMnemonicIndex): Check if button
4884         text is not null before checking its length.
4885         * javax/swing/JMenuItem.java:
4886         (processMouseEvent): Disarm menu item if mouse has
4887         exited it.
4888         * javax/swing/plaf/basic/BasicMenuUI.java:
4889         (MouseInputHandler.mouseEntered): Do not raise
4890         popup menu if this menu is already selected.
4891         (MouseInputHandler.mousePressed): Do not fire 
4892         MenuEvents.
4893         (MenuHandler): Implemented.     
4894
4895 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4896
4897         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4898         (getSelectedObjects): Implemented.
4899         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4900         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4901         Added javadoc for few methods.
4902         (processMouseEvent): Made public.
4903         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4904         (processMouseEvent): Likewise.
4905
4906 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4907
4908         * javax/swing/AbstractButton.java:
4909         (init): Set display mnemonic index to -1.
4910         (setMnemonic(char)): Use setMnemonic(int).
4911         (setMnemonic(int)): Set display mnemonic index.
4912         (getDisplayedMnemonicIndex): Change method signature
4913         by removing 'index' parameter.
4914         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4915         Added default for Menu.selectionBackground.     
4916         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4917         (paintMenuItem): Change background color of the selected
4918         menu item.
4919         (paintText): Paint differently when menu item is disabled.
4920         Also paint mnemonic if it appears in the menu item's label.
4921         (paintAccelerator): Paint accelerator differently
4922         if menu item is disabled.
4923         * javax/swing/plaf/basic/BasicMenuUI.java:
4924         (installDefaults): Install defaults for 
4925         selectionForeground and selectionBackground.
4926         (uninstallDefaults): Uninstall defauls for 
4927         selectionForeground and selectionBackground.
4928
4929 2004-07-21  Michael Koch  <konqueror@gmx.de>
4930
4931         * javax/swing/text/AbstractDocument.java
4932         (BranchElement): Implemented.
4933         (LeafElement): Implemented.
4934         * javax/swing/text/DefaultCaret.java:
4935         Import used classes.
4936         (serialVersionUID): New constant.
4937         * javax/swing/text/JTextComponent.java
4938         (AccessibleJTextComponent): Removed dead declaration.
4939         (caretPos): Removed.
4940         (setCaret): New method.
4941         * javax/swing/text/PlainDocument.java
4942         (rootElement): New field.
4943         (PlainDocument): Initialize rootElement.
4944         (createDefaultRoot): New method.
4945         (getDefaultRootElement): Implemented.
4946         * javax/swing/text/View.java: Reformatted.
4947         * javax/swing/text/ViewFactory.java
4948         (create): Added javadoc.
4949
4950 2004-07-21  Michael Koch  <konqueror@gmx.de>
4951
4952         * javax/swing/ToolTipManager.java: Reformatted.
4953
4954 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4955
4956         * javax/swing/AbstractButton.java
4957         (changeEvent): New field.
4958         (fireItemStateChanged): Change source of the event
4959         to 'this' before firing it to button listeners.
4960         (fireActionPerformed): Likewise.
4961         (fireStateChanged): Likewise.
4962         (createActionListener): Do not set source 
4963         of the event to AbstractButton.                                  
4964         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4965         (ContainerHandler.componentAdded): Removed 
4966         print out statement.
4967         (ContainerHandler.componentRemoved): Likewise.
4968
4969 2004-07-21  Michael Koch  <konqueror@gmx.de>
4970
4971         * javax/swing/text/Highlighter.java: New file.
4972         * Makefile.am: Added javax/swing/text/Highlighter.java.
4973         * Makefile.in: Regenerated.
4974
4975 2004-07-21  Michael Koch  <konqueror@gmx.de>
4976
4977         * javax/swing/ToolTipManager.java
4978         (stillInsideTimerAction): Fixed constructor arguments.
4979         (outsideTimerAction): Likewise.
4980         (insideTimerAction): Likewise.
4981
4982 2004-07-21  Michael Koch  <konqueror@gmx.de>
4983
4984         * javax/swing/JButton.java: Reformatted.
4985         * javax/swing/JFormattedTextField.java
4986         (getUIClassID): Implemented.
4987         * javax/swing/JRootPane.java
4988         (serialVersionUID): New constant.
4989         * javax/swing/JTextField.java
4990         (align): New field.
4991         (JTextField): Simplified.
4992         (getUIClassID): New method.
4993         (getActionListeners): Added @since tag.
4994         (setColumns): Invalidate layout and repaint.
4995         (getHorizontalAlignment): New method.
4996         (setHorizontalAlignment): New method.
4997         (selectAll): Removed.
4998         * javax/swing/SwingUtilities.java
4999         (getAncestorOfClass): Removed redundant @see tag.
5000         (isLeftMouseButton): Fixed implementation.
5001         (isMiddleMouseButton): Likewise.
5002         (isRightMouseButton): Likewise.
5003         * javax/swing/text/AbstractDocument.java
5004         (AttributeContext.addAttribute): New method.
5005         (AttributeContext.addAttributes): New method.
5006         (AttributeContext.getEmptySet): New method.
5007         (AttributeContext.reclaim): New method.
5008         (AttributeContext.removeAttribute): New method.
5009         (AttributeContext.removeAttributes): New method.
5010         * javax/swing/text/Document.java
5011         (createPosition): Throws BadLocationException.
5012         (getText): Likewise.
5013         (remove): Likewise.
5014         * javax/swing/text/JTextComponent.java
5015         (getText): Return null if no document is set. Catch
5016         BadLocationException.
5017         (getUI): Return ui.
5018         (updateUI): Simplified.
5019
5020 2004-07-21  Michael Koch  <konqueror@gmx.de>
5021
5022         * javax/swing/JButton.java
5023         (removeNotify): Fixed javadoc.
5024         (updateUI): Simplified.
5025
5026 2004-07-21  David Jee  <djee@redhat.com>
5027
5028         * gnu/java/awt/image/ImageDecoder.java
5029         (startProduction): Only add consumer if it's not added yet.
5030         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5031         (GdkPixbufDecoder): Don't call initState() here.
5032         (produce): Call initState() here, to ensure area_prepared and
5033         area_updated signals are properly connected.
5034         * gnu/java/awt/peer/gtk/GtkImage.java
5035         (setColorModel): Use equals() to compare ColorModel objects.
5036         (setPixels): Likewise.
5037         * java/awt/image/ColorModel.java
5038         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5039         * java/awt/image/RGBImageFilter.java
5040         (setColorModel): Set consumer's color model.
5041         (setPixels): Use equals() to compare ColorModel objects.
5042
5043 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
5044
5045         * java/net/URLConnection.java (position): New field.
5046         (dateFormat1, dateFormat2, dateFormat3): Removed.
5047         (dateFormats): New field.
5048         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5049         each time instead of re-allocating.
5050         (initializeDateFormats): Initialize 'dateFormats'.
5051
5052 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5053
5054         PR libgcj/16591
5055         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5056         is defined.
5057
5058 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5059
5060         * java/net/Socket.java (getImpl): Now private. Remove comment.
5061
5062 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
5063
5064         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5065         of chained Writer when calling super-constructor.
5066         * java/io/FilterWriter.java (FilterWriter): Likewise.
5067         * java/io/PrintWriter.java (PrintWriter): Likewise.
5068
5069 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
5070
5071         * prims.cc (process_gcj_properties): Don't increment i within LHS
5072         of assignment.
5073
5074 2004-07-19  Per Bothner  <per@bothner.com>
5075
5076         Print -verbose:message on "loading", not initialization.
5077         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
5078         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
5079         gcj::verbose_class_flag.
5080         * java/lang/natClass.cc (initializeClass):  Don't print message here.
5081         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
5082         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5083         (_Jv_PrepareCompiledClass):  Likewise.
5084
5085 2004-07-18  Matthias Klose  <doko@debian.org>
5086
5087         * configure.in: Substitute target_noncanonical.
5088         * configure: Regenerate
5089
5090 2004-07-17  Michael Koch  <konqueror@gmx.de>
5091
5092         * java/lang/String.java: Fixed javadocs all over.
5093
5094 2004-07-17  Mark Wielaard  <mark@klomp.org>
5095
5096         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5097         when size is smaller.
5098         * java/io/RandomAccessFile.java (setLength): Use truncate for
5099         shrinking the file and seek plus write for expanding the file.
5100
5101 2004-07-17  Michael Koch  <konqueror@gmx.de>
5102
5103         * gnu/java/nio/channels/natFileChannelPosix.cc
5104         (implTruncate): Always save current position. Only reposition file
5105         pointer to where we started if not beyond new lenght. Reposition file
5106         pointer to file length if it points beyond the end of file.
5107
5108 2004-07-17  Mark Wielaard  <mark@klomp.org>
5109
5110         * javax/swing/Box.java: Put FIXME comment above class declaration.
5111         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5112         * javax/swing/JCheckBox.java: Likewise.
5113         * javax/swing/JDialog.java: Likewise.
5114         * javax/swing/JRadioButton.java: Likewise.
5115         * javax/swing/JToggleButton.java: Likewise.
5116         * javax/swing/UIManager.java: Likewise.
5117         * javax/swing/border/TitledBorder.java: Likewise.
5118         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5119         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5120         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5121         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5122         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5123         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5124         * javax/swing/text/JTextComponent.java: Likewise.
5125
5126 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5127
5128         * java/net/DatagramPacket.java (setAddress): Removed check for
5129         null address.
5130
5131 2004-07-17  Michael Koch  <konqueror@gmx.de>
5132
5133         * java/net/DatagramSocket.java
5134         (getLocalAddress): Check if socket is bound or not.
5135         * java/net/Socket.java
5136         (getLocalAddrss): Check if socket is bound or not.
5137         (getPort): Return -1 when not connected. Dont check getImpl() for
5138         null.
5139         (setReuseAddress): Check if socket is closed.
5140         (isConnected): Check if getImpl() returns null.
5141
5142 2004-07-17  Mark Wielaard  <mark@klomp.org>
5143
5144         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5145         on notifier object before calling notifyAll().
5146
5147 2004-07-17  Michael Koch  <konqueror@gmx.de>
5148
5149         * gnu/java/nio/channels/FileChannelImpl.java
5150         (finalize): Added javadoc.
5151
5152 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5153
5154         * java/text/CollationElementIterator.java
5155         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5156         (setText): Use ArrayList instead of Vector.
5157
5158 2004-07-17  Michael Koch  <konqueror@gmx.de>
5159
5160         * java/nio/ByteOrder.java
5161         (static): Removed. Not needed.
5162         Thanks to Patrick Reali for noticing.
5163         * java/nio/charset/CharsetDecoder.java
5164         (decode): Fix for classpath bug #9177: Reset state before flipping.
5165
5166 2004-07-17  Michael Koch  <konqueror@gmx.de>
5167
5168         * java/security/Security.java: Fixed javadocs all over.
5169
5170 2004-07-17  Michael Koch  <konqueror@gmx.de>
5171
5172         * gnu/java/awt/EmbeddedWindow.java
5173         (static): Removed.
5174         (addNotify): Set peer via reflection.
5175         (setWindowPeer): Removed.
5176         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5177         * Makefile.am (nat_source_files):
5178         Removed gnu/java/awt/natEmbeddedWindow.cc.
5179         * Makefile.in: Regenerated.
5180
5181 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5182
5183         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5184         assignment.
5185         * configure: Regenerated.
5186
5187 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5188
5189         * configure.in: Use build_noncanonical rather than build_alias.
5190         * configure: Rebuild.
5191
5192         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5193         by logic refactoring.  Move default definition of NATIVE closer
5194         to first alternate definition.
5195         * configure: Regenerate.
5196
5197         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5198         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5199         gcj/Makefile.in: Regenerate.
5200         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5201         in AM_CONDITIONAL(NATIVE,...)
5202         * configure: Regenerate.
5203
5204 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5205
5206         * configure.in: Use target_noncanonical rather than
5207         target_alias for forward-compatibility with autoconf 2.59.
5208         * configure: Regenerate.
5209         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5210         testsuite/Makefile.am: Substitute target_noncanonical.
5211         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5212         testsuite/Makefile.in: Regenerate.
5213
5214         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5215         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5216         * acinclude.m4: Include acx.m4.
5217         * aclocal.m4: Regenerate.
5218         * configure: Regenerate.
5219
5220 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5221
5222         PR libgcj/16574
5223         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5224         (decimalFormat): New static variable.
5225         (sbuf): Likewise.
5226         (getTime): New. Override Date.getTime().
5227         (toString): Synchronize. Use decimalFormat to format nanos value
5228         correctly. Truncate extra zeros.
5229         (before): Compare getNanos() only if getTime() is equal.
5230         (after): Likewise.
5231         
5232 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5233
5234         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5235         * configure.in: ...here.
5236         * aclocal.m4: Regenerate.
5237         * configure: Regenerate.
5238
5239         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5240         * configure: Rebuilt with autoconf 2.13.
5241         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5242         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5243
5244 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5245
5246         PR libgcj/16204
5247         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5248         large file support.
5249         * Makefile.in: Rebuilt.
5250         * testsuite/libjava.lang/LargeFile.java: New test case.
5251         * testsuite/libjava.lang/LargeFile.out: New file.
5252
5253 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5254
5255         * java/beans/EventHandler.java: Remove debugging statements.
5256
5257 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5258
5259         * java/beans/EventHandler.java: New file.
5260         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5261         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5262         testsuite/Makefile.in: Regenerate.
5263
5264 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5265
5266         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5267         flag to the gcj_setup.
5268         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5269         the tclsh.
5270         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5271         deprecation flag change. 58 XFAILS removed.
5272
5273 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5274
5275         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5276         -fno-use-divide-subroutine.
5277         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5278         (HANDLE_FPE): Define.
5279         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5280         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5281         (HANDLE_DIVIDE_OVERFLOW): Define.
5282
5283 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5284             Matthias Klose  <doko@debian.org> 
5285
5286         * java/awt/im/InputContext.java: Initialize in, line.
5287
5288 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5289
5290         * interpret.cc (run): Correctly access libffi return values of
5291         integral smaller-than-int type; these are implicitly promoted.
5292
5293 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5294
5295         PR libgcj/7587
5296         * interpret.cc (compile_mutex): New.
5297         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5298         (run): Lock compile_mutex before calling compile() if compilation is
5299         required.
5300         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5301         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5302
5303 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5304
5305         PR libgcj/15713
5306         * include/jvm.h (_Jv_value): New union type.
5307         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5308         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5309         union members.
5310
5311 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5312
5313         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5314         * gnu/awt/xlib/XOffScreenImage.java
5315           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5316           constructor argument. Add constructor using ImageProducer.
5317           (getSource): Implement.
5318           (imageComplete): New method.
5319           (setColorModel): New method.
5320           (setDimensions): New method.
5321           (setHints): New method.
5322           (setPixels): New method.
5323           (setProperties): New method.
5324         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5325         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5326
5327 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5328
5329         PR libgcj/16478 
5330         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5331         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5332         (finalizerReady): Now native.
5333         (run): Likewise.
5334         (runFinalizers): Removed.
5335         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5336         a primitive lock, and don't hold it while running the finalizers.
5337         (runFinalizers): Implement. Don't aquire any Java lock.
5338         (finalizerReady): Use lock primitives to signal finalizer thread.
5339
5340 2004-07-11  Mark Wielaard  <mark@klomp.org>
5341
5342         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5343         * java/net/URLStreamHandler.java (parseURL): When url file part
5344         doesn't contain a '/' just ignore context.
5345
5346 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5347
5348         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5349         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5350         (MAKE_THROW_FRAME): Do not modify PSW address.
5351         (INIT_SEGV): Install SIGINFO-style signal handler.
5352         (INIT_FPE): Likewise.
5353
5354 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5355
5356         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5357         status. 21 xfail's removed, 1 added.
5358
5359 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5360
5361         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5362
5363 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5364
5365         * java/text/MessageFormat.java
5366         (formatInternal): Append "{n}" if argument n is unavailable.
5367         (format(Object, StringBuffer, FieldPosition)): This
5368         should be equivalent to format(Object[],
5369         StringBuffer, FieldPosition).
5370
5371 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5372
5373         * java.util.Calendar.java (cache): New private static field. Cached
5374         mappings of locales->calendar classes.
5375         (ctorArgTypes): New private static field. Singleton argument for
5376         calendar class constructor lookup.
5377         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5378         Optimize by bypassing reflection instantiation for the 
5379         GregorianCalendar case.
5380
5381 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5382
5383         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5384         ResourceBundle.getBundle() calls.
5385         * java/util/GregorianCalendar.java: Likewise.
5386         * java/util/Currency.java: Likewise.
5387         * java/text/BreakIterator.java: Likewise.
5388         * java/text/Collator.java: Likewise.
5389         * java/text/DateFormat.java: Likewise.
5390         * java/text/DateFormatSymbols.java: Likewise.
5391         * java/text/DecimalFormatSymbols.java: Likewise.
5392         * java/text/NumberFormat.java: Likewise.
5393         * java/awt/Window.java: Likewise.       
5394
5395 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5396
5397         * java/util/ResourceBundle.java (bundleCache): Renamed from
5398         resourceBundleCache. Update comments.
5399         (getObject): Don't catch MissingResourceException.
5400         (getBundle(String)): Remove 'final'. Use system classloader if
5401         getCallingClassLoader returned null.
5402         (getBundle(String, Locale)): Likewise.
5403         (BundleKey): New private class. HashMap key for bundle cache lookup.
5404         (lookupKey): New. Singleton instance of BundleKey.
5405         (nullEntry): New. Cache entry to represent failed lookups.
5406         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5407         caching strategy, no-allocation lookup, and new tryBundle methods.
5408         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5409         name using given classloader.
5410         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5411         baseName for given Locale and attempt to load bundle.
5412
5413 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5414
5415         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5416         illegal protected method calls.
5417
5418 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5419
5420         Fix or remove some bogus test cases.
5421         * testsuite/libjava.compile/pr10459_2.java: Removed.
5422         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5423         not Object.clone().
5424         * testsuite/libjava.compile/inner_data.java: Test against its own
5425         protected field.
5426
5427 2004-07-09  Michael Koch  <konqueror@gmx.de>
5428
5429         * scripts/unicode-muncher.pl: Updated to version 2.1
5430         from GNU classpath. Added some clarifications on where to find the
5431         needed files from www.unicode.org.
5432         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5433         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5434         Removed, these can directly be downloaded from www.unicode.org if
5435         needed. 
5436         * gnu/java/lang/CharData.java: Regenerated.
5437         * include/java-chartables.h: Regenerated.
5438         * Makefile.am (ordinary_java_source_files):
5439         Removed gnu/java/lang/CharData.java.
5440         * Makefile.in: Regenerated.
5441
5442 2004-07-09  Michael Koch  <konqueror@gmx.de>
5443
5444         * java/security/AccessControlContext.java,
5445         java/security/SecureClassLoader.java:
5446         Fixed javadocs.
5447
5448 2004-07-09  Michael Koch  <konqueror@gmx.de>
5449
5450         * java/io/ObjectInputStream.java (readFields): Use long datatype
5451         when shifting byte values more then 24 bits left.
5452
5453 2004-07-09  Michael Koch  <konqueror@gmx.de>
5454
5455         * java/util/zip/DeflaterOutputStream.java,
5456         java/util/zip/GZIPInputStream.java,
5457         java/util/zip/GZIPOutputStream.java,
5458         java/util/zip/InflaterInputStream.java:
5459         Reformatted. Added javadocs. Reordered all stuff.
5460         Renamed variables to be more clear.
5461
5462 2004-07-09  Michael Koch  <konqueror@gmx.de>
5463
5464         * javax/imageio/IIOException.java,
5465         javax/imageio/event/IIOReadProgressListener.java,
5466         javax/imageio/event/IIOReadUpdateListener.java,
5467         javax/imageio/event/IIOReadWarningListener.java,
5468         javax/imageio/event/IIOWriteProgressListener.java,
5469         javax/imageio/event/IIOWriteWarningListener.java:
5470         New files.
5471         * Makefile.am: Added new files.
5472         * Makefile.in: Regenerated.
5473
5474 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5475
5476         * java/text/RuleBasedCollator.java
5477         (mergeRules): Use ArrayList instead of Vector.
5478         (subParseString): likewise.
5479         (parseString): likewise.
5480         (buildCollationVector): likewise.
5481         (getCollationKey): likewise.
5482
5483 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5484
5485         * java/text/DateFormat.java (parse):
5486         Improved javadoc. Improved exception message.
5487
5488 2004-07-09  Mark Wielaard  <mark@klomp.org>
5489
5490         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5491         interrupted() method to clear interupt flag of our Thread.
5492
5493 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5494
5495         * java/nio/Buffer.java,
5496         java/nio/ByteBuffer.java,
5497         java/nio/ByteBufferHelper.java,
5498         java/nio/ByteBufferImpl.java,
5499         java/nio/CharBuffer.java,
5500         java/nio/CharBufferImpl.java,
5501         java/nio/CharViewBufferImpl.java,
5502         java/nio/DirectByteBufferImpl.java,
5503         java/nio/DoubleBuffer.java,
5504         java/nio/DoubleBufferImpl.java,
5505         java/nio/DoubleViewBufferImpl.java,
5506         java/nio/FloatBuffer.java,
5507         java/nio/FloatBufferImpl.java,
5508         java/nio/FloatViewBufferImpl.java,
5509         java/nio/IntBuffer.java,
5510         java/nio/IntBufferImpl.java,
5511         java/nio/IntViewBufferImpl.java,
5512         java/nio/LongBuffer.java,
5513         java/nio/LongBufferImpl.java,
5514         java/nio/LongViewBufferImpl.java,
5515         java/nio/MappedByteBufferImpl.java,
5516         java/nio/ShortBuffer.java,
5517         java/nio/ShortBufferImpl.java,
5518         java/nio/ShortViewBufferImpl.java:
5519         Fixed javadocs all over. Improved input error
5520         checking.
5521
5522         * java/nio/Buffer.java
5523         (checkForUnderflow, checkForOverflow, checkIndex,
5524         checkIfReadOnly, checkArraySize): New helper methods
5525         for error checking.
5526
5527         * java/nio/ByteBufferHelper.java
5528         (checkRemainingForRead, checkRemainingForWrite,
5529         checkAvailableForRead, checkAvailableForWrite): Removed
5530         no longer needed methods.
5531
5532 2004-07-09  Michael Koch  <konqueror@gmx.de>
5533
5534         * gnu/regexp/CharIndexedInputStream.java:
5535         Reordered imports to match classpath.
5536
5537 2004-07-09  Michael Koch  <konqueror@gmx.de>
5538
5539         * gnu/java/awt/EmbeddedWindow.java:
5540         Load native library for setWindowPeer method.
5541
5542 2004-07-08  Randolph Chung  <tausq@debian.org>
5543
5544         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5545         * configure: Regenerate.
5546         * configure.host: Set can_unwind_signal for hppa*-linux.
5547         * include/pa-signal.h: New file.
5548
5549 2004-07-07  Per Bothner  <per@bothner.com>
5550
5551         * Makefile.am:  Add rules to build libgij from just gij.cc.
5552
5553         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5554         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5555         (initializeClass):  If verbose_class_flag, print message.
5556         * gij.cc (main):  Handle -verbose:class flag.
5557
5558 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5559
5560         * configure.host: Enable hash synchronization on Darwin.
5561         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5562         ';', since this is a comment on Darwin.
5563         (compare_and_swap_release): Likewise.
5564
5565 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5566
5567         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5568         file portion of URL in addition to spec for file: protocol.
5569
5570 2004-07-05  Anthony Green  <green@redhat.com>
5571
5572         * java/io/File.java (toURI): Merge from Classpath.
5573
5574 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5575
5576         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5577         before passing to URL constructor. Rethrow any MalformedURLException
5578         as a RuntimeException. Catch MalformedURLException specifically, not
5579         all exceptions.
5580
5581 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5582
5583         * java/util/Locale.java (readObject): Intern strings read from object
5584         stream.
5585
5586 2004-07-04  Michael Koch  <konqueror@gmx.de>
5587
5588         * gnu/gcj/runtime/FirstThread.java,
5589         gnu/gcj/runtime/natFirstThread.cc: Removed.
5590         * gnu/java/lang/MainThread.java,
5591         gnu/java/lang/natMainThread.cc: New files.
5592         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5593         * Makefile.am: Added new files and removed deleted ones.
5594         * Makefile.in: Regenerated.
5595
5596 2004-07-03  Mark Wielaard  <mark@klomp.org>
5597             Anthony Green  <green@redhat.com>
5598
5599         * java/net/URL.java (getFile): Clarify return value doc.
5600         (getPath): Return null if file is empty - not empty String.
5601         (set): Convert protocol to lower case before doing anything.
5602         Only change the protocol handler if it's different.
5603
5604 2004-07-03  Anthony Green  <green@redhat.com>
5605
5606         * java/net/URL.java (URL): Convert protocol to lower case before
5607         doing anything, so we getURLStreamHandler() with the proper value.
5608
5609 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5610
5611         * java/util/Locale.java (hashcode): Made transient.
5612         (hashCode): No longer synchronized.
5613         (equals): Remove comment.
5614         (writeObject): No longer synchronized. Implement using writeObject 
5615         calls instead of tweaking hashCode field. Update doc.
5616         (readObject): Implement using readObject calls.
5617
5618 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5619             Andreas Tobler  <a.tobler@schweiz.ch>
5620
5621         * configure.host (powerpc-*-darwin*): New case, define
5622         can_unwind_signal.
5623         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5624         * configure: Regenerate.
5625         * include/darwin-signal.h: New.
5626
5627 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5628
5629         * java/beans/Statement.java (doExecute): Fix formatting.
5630
5631 2004-06-29  Per Bothner  <per@bothner.com>
5632
5633         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5634         etc etc):  Remove needless parenthesis, which causes __stdcall__
5635         attribute on MinGW to get ignored.
5636
5637 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5638
5639         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5640
5641 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5642
5643         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5644
5645 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5646
5647         * java/beans/Expression.java: New file.
5648         * java/beans/Statement.java: New file.
5649         * Makefile.am: Added new files.
5650         * Makefile.in: Re-generate.
5651
5652 2004-06-27 Mark Wielaard  <mark@klomp.org>
5653
5654         * java/io/FilePermission.java (usingPerms): Removed.
5655         (actionsString): Made final.
5656         (cachePerms): Renamed to checkPerms.
5657         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5658         on action String.
5659         (FilePermission): Check arguments, call checkPerms().
5660         (equals): Remove cachePerms() call.
5661         (implies): Likewise.
5662
5663 2004-06-27  Mark Wielaard  <mark@klomp.org>
5664
5665         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5666         final field.
5667         (sendRequest): Use new field in user-agent http agent.
5668
5669 2004-06-27  Mark Wielaard  <mark@klomp.org>
5670
5671         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5672         when argument is null.
5673
5674 2004-06-26  Mark Wielaard  <mark@klomp.org>
5675
5676         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5677         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5678         GetMethodID call.
5679         (cancel_clicked): Likewise.
5680
5681 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5682
5683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5684         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5685         can not calculate the right value.
5686         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5687
5688 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5689
5690         * testsuite/libjava.jacks/jacks.xfail: Remove
5691         15.9.1-qualified-concrete-20.
5692
5693 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5694
5695         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5696         encoding name to iconv.
5697         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5698
5699 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5700
5701         PR libgcj/16134:
5702         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5703         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5704         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5705
5706 2004-06-21  Andrew Haley  <aph@redhat.com>
5707
5708         * java/io/ObjectOutputStream.java: Add DEBUG statements
5709         everywhere.
5710         (dumpElementln): New method.
5711         (depth): New field.
5712         * java/io/ObjectInputStream.java
5713         (currentClassLoader): Make native.
5714         (callersClassLoader): New field.
5715         (depth): New field.
5716         (readObject): ENDBLOCKDATA is generated if the class has a write
5717         method, not if it has a read method.
5718         (readObject): Save and restore this.currentObject and
5719         this.currentObjectStreamClass around calls to callReadMethod().
5720         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5721         method.
5722
5723 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5724
5725         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5726         darwin.
5727
5728 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5729
5730         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5731         if desired, before the default class loader is initialised.
5732         Call INIT_SEGV only if HANDLE_SEGV is defined.
5733
5734 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5735
5736         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5737         directory only if it actually exists.
5738
5739 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5740
5741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5742         Fix up non-ansi comments.
5743
5744 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5745
5746         * javax/swing/text/AbstractDocument.java: Adding missing import
5747         for javax.swing.event.EventListenerList.
5748         * javax/swing/text/DefaultCaret.java: Likewise.
5749
5750 2004-06-17  Michael Koch  <konqueror@gmx.de>
5751
5752         * javax/swing/JToolBar.java
5753         (name): Removed.
5754         (JToolBar): Use Component.setName(String) instead of doing it all
5755         alone.
5756         * javax/swing/Timer.java
5757         (queueEvent): Added missing modifier.
5758
5759 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5760
5761         * Makefile.am: Added new file.
5762         * Makefile.in: Re-generate.
5763         * javax/swing/JMenu.java:
5764         (insertSeparator): Implemented.
5765         * javax/swing/JPopupMenu.java:
5766         (JPopupMenu.Separator): Implemented.
5767         * javax/swing/MenuSelectionManager.java:
5768         (processMouseEvent): Use java.awt.Component 
5769         for event source instead of javax.swing.JComponent. 
5770         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5771         New File. Implemented.
5772         
5773 2004-06-16  David Jee  <djee@redhat.com>
5774
5775         * java/awt/GridBagLayout.java
5776         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5777         Make sure pos_x and pos_y are never negative.
5778
5779 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5780
5781         * Makefile.am: Add new file.
5782         * Makefile.in: Re-generate.     
5783         * javax/swing/JToolBar.java
5784         Partially implemented.
5785         * javax/swing/plaf/basic/BasicToolBarUI.java
5786         New file. Partially implemented.
5787
5788 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5789
5790         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5791         (setComposite): Accept AlphaComposite arguments.
5792         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5793         (createBufferedImage): Add new overloads.
5794         * gnu/java/awt/peer/gtk/GtkToolkit.java
5795         (createImage): Use GdkPixbufDecoder.createBufferedImage
5796         when useGraphics2D() is true.
5797         (getImage): Delegate to createImage.
5798         * javax/swing/JList.java
5799         (isSelectionEmpty):
5800         (getFirstVisibleIndex):
5801         (getLastVisibleIndex):
5802         (setSelectedValue):
5803         (ensureIndexIsVisible): New methods.
5804         * javax/swing/Timer.java: Reimplement.
5805
5806 2004-06-16  Michael Koch  <konqueror@gmx.de>
5807
5808         * javax/swing/text/AbstractDocument.java
5809         (AbstracElement): Made public, implements java.io.Serializable.
5810         (AttributeContext): Made public.
5811         (BranchElement): Likewise.
5812         (Content): Likewise.
5813         (DefaultDocumentEvent): Made public, extends
5814         javax.swing.undo.CompoundEdit.
5815         (ElementEdit): Made public, extends
5816         javax.swing.undo.AbstractUndoableEdit.
5817         (LeafElement): Made public.
5818         (LeafElement.LeafElement): Made public.
5819
5820 2004-06-16  Michael Koch  <konqueror@gmx.de>
5821
5822         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5823         methods (that were obviously never be intended to get included hi this
5824         class. Added some methods too.
5825
5826 2004-06-16  Michael Koch  <konqueror@gmx.de>
5827
5828         * javax/swing/text/PlainDocument.java
5829         (serialVersionUID): New constant.
5830         (lineLimitAttribute): Likewise.
5831         (tabSizeAttribute): Likewise.
5832         (tabSize): New field.
5833         (PlainDocument): Made public.
5834         (PlainDocument): New constructor.
5835
5836 2004-06-16  Michael Koch  <konqueror@gmx.de>
5837
5838         * javax/swing/text/AbstractDocument.java
5839         (insertString): Throws BadLocationException.
5840         * javax/swing/text/Document.java
5841         (insertString): Likewise.
5842         * javax/swing/text/JTextComponent.java:
5843         Javadocs and comments cleaned up.
5844
5845 2004-06-16  Michael Koch  <konqueror@gmx.de>
5846
5847         * javax/swing/event/UndoableEditListener.java: Reformatted.
5848         * javax/swing/text/AbstractDocument.java
5849         (AbstractDocument): Implements java.io.Serializable.
5850         (doc_list): Removed.
5851         (undo_list): Removed.
5852         (AbstractElement.serialVerionUID): New field.
5853         (BranchElement.serialVerionUID): Likewise.
5854         (DefaultDocumentEvent.serialVerionUID): Likewise.
5855         (ElementEdit.serialVerionUID): Likewise.
5856         (LeafElement.serialVerionUID): Likewise.
5857         (serialVerionUID): Likewise.
5858         (BAD_LOCATION): New constant.
5859         (BidiElementName): Likewise.
5860         (ContentElementName): Likewise.
5861         (ParagraphElementName): Likewise.
5862         (SectionElementName): Likewise.
5863         (ElementNameAttribute): Likewise.
5864         (AbstractDocument): Made protected.
5865         (AbstractDocument): New construtor.
5866         (listenerList): New field.
5867         (fireChangedUpdate): Implemented.
5868         (fireInsertUpdate): Likewise.
5869         (fireRemoveUpdate): Likewise.
5870         (fireUndoableEditUpdate): Likewise.
5871         (getListeners): Likewise.
5872         (addDocumentListener): Likewise.
5873         (removeDocumentListener): Likewise.
5874         (addUndoableEditListener): Likewise.
5875         (removeUndoableEditListener): Likewise.
5876         (getDocumentListeners): New method.
5877         (getUndoableEditListeners): Likewise.
5878         (getAsynchronousLoadPriority): Made public.
5879         (getBidiRootElement): Likewise.
5880         (setAsynchronousLoadPriority): Likewise.
5881         (setDocumentProperties): Likewise.
5882         * javax/swing/text/BadLocationException.java
5883         (serialVerionUID): New field.
5884         * javax/swing/text/DefaultCaret.java
5885         (changeEvent): New field.
5886         (listenerList): Likewise.
5887         (changes): Removed.
5888         (addChangeListener): Reimplemented.
5889         (removeChangeListener): Likewise.
5890         (getListeners): New method.
5891         (getChangeListeners): Likwise.
5892         (getComponent): Likewise.
5893         * javax/swing/text/GapContent.java
5894         (GapContent): Implements java.io.Serializable.
5895         (serialVerionUID): New field.
5896
5897 2004-06-16  Michael Koch  <konqueror@gmx.de>
5898
5899         * javax/swing/JTree.java
5900         (treeModel): New field.
5901         (JTree): New constructors, one existing one made public.
5902         (createTreeModel): New method.
5903         (addTreeExpansionListener): Likewise.
5904         (removeTreeExpansionListener): Likewise.
5905         (getTreeExpansionListeners): Likewise.
5906         (fireTreeCollapsed): Likewise.
5907         (fireTreeExpanded): Likewise.
5908         (addTreeSelectionListener): Likewise.
5909         (removeTreeSelectionListener): Likewise.
5910         (getTreeSelectionListeners): Likewise.
5911         (fireValueChanged): Likewise.
5912         (addTreeWillExpandListener): Likewise.
5913         (removeTreeWillExpandListener): Likewise.
5914         (getTreeWillExpandListeners): Likewise.
5915         (fireTreeWillCollapse): Likewise.
5916         (fireTreeWillExpand): Likewise.
5917
5918 2004-06-16  Michael Koch  <konqueror@gmx.de>
5919
5920         * javax/swing/JTree.java: Reformatted.
5921
5922 2004-06-16  Michael Koch  <konqueror@gmx.de>
5923
5924         * javax/swing/JTextArea.java: New file.
5925         * javax/swing/JTextField.java
5926         (actions): Removed.
5927         (notifyAction): New constant.
5928         (columns): New field.
5929         (JTextField): New constructors.
5930         (createDefaultModel): New method.
5931         (addActionListener): Reimplmemented.
5932         (removeActionListener): Reimplemented.
5933         (getActionListeners): New method.
5934         (fireActionPerformed): New method.
5935         (getColumns): New method.
5936         (setColumne): New method.
5937         * javax/swing/text/JTextComponent.java
5938         (AccessibleJTextComponent.serialVersionUID): New field.
5939         (serialVersionUID): Likewise.
5940         (DEFAULT_KEYMAP): Likewise.
5941         (FOCUS_ACCELERATOR_KEY): Likewise.
5942         (doc): Made private.
5943         (icon_gap): Likewise.
5944         (icon): Likewise.
5945         (align): Likewise.
5946         (JTextComponent): Some constructors removed.
5947         (getScrollableTracksViewportHeight): New method.
5948         (getScrollableTracksViewportWidth): Likewise.
5949         * Makefile.am: Added javax/swing/JTextArea.java.
5950         * Makefile.in: Regenerated.
5951
5952 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5953
5954         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5955         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5956         * javax/swing/JViewport.java 
5957         (getExtentSize): Return size rather than preferred size.
5958         (toViewCoordinates): New methods.
5959         (getViewSize): Return size rather than preferred size.
5960         (setViewSize): Note view size as set.
5961         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5962         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5963         (getPreferredSize): Don't redo layout.
5964         * javax/swing/plaf/basic/BasicViewportUI.java 
5965         (paint): Translate image properly and eat exceptions.
5966
5967 2004-06-15  Kim Ho  <kho@redhat.com>
5968
5969         * javax/swing/JTabbedPane.java
5970         (setComponent): Remove old component and
5971         add new component.
5972         (setSelectedIndex): Don't operate on the 
5973         components if they're null. Don't set index
5974         on the model if the index is the same.
5975         (insertTab): Don't add or hide the component
5976         if it's null. Repaint the container.
5977         * javax/swing/plaf/basic/BasicLookAndFeel.java
5978         Change colors for TabbedPane.
5979         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5980         (mousePressed): Re-layout and paint the component.
5981         (layoutContainer): Don't set location on the view.
5982         (ScrollingViewport::paint): Remove.
5983
5984 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5985
5986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5987         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5988
5989         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5990         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5991         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5992         critical region.
5993         (drawLine): Call gdk_flush before leaving GDK critical region.
5994         (fillRect): Likewise.
5995         (drawRect): Likewise.
5996         (copyArea): Likewise.
5997         (copyPixmap): Likewise.
5998         (clearRect): Likewise.
5999         (drawArc): Likewise.
6000         (drawPolyline): Likewise.
6001         (drawPolygon): Likewise.
6002         (fillPolygon): Likewise.
6003         (fillArc): Likewise.
6004         (drawOval): Likewise.
6005         (fillOval): Likewise.
6006
6007         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6008         style parameter.
6009         (GdkFontMetrics): Add style argument to initState call.
6010         (stringWidth(String,int,int,String)): Add style parameter.
6011         (stringWidth(String)): Add style argument to stringWidth call.
6012         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6013         (initState): Set pango font style and weight based on AWT style
6014         parameter.  Pass default GTK language to
6015         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
6016         simply dividing by PANGO_SCALE.
6017         (stringWidth): Set pango font style and weight based on AWT style
6018         parameter.
6019
6020         * java/awt/Button.java (next_button_number): New field.
6021         (paramString): Change output.
6022         (generateName): New method.
6023         (getUniqueLong): New method.
6024
6025 2004-06-14  Kim Ho  <kho@redhat.com>
6026
6027         * javax/swing/JTabbedPane.java:
6028         (setComponentAt): Set the component, not
6029         the enabled status.
6030         * javax/swing/plaf/basic/BasicDesktopIconUI.java
6031         (actionPerformed): Let deiconize catch exception.
6032
6033 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6034
6035         * javax/swing/JPopupMenu.java:
6036         (setVisible): Corrected location of a 
6037         heavyweight popup menu.
6038
6039 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6040
6041         * javax/swing/MenuSelectionManager.java: 
6042         Ran through jalopy to fix formatting style.
6043
6044 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
6045         
6046         * javax/swing/JLayeredPane.java: 
6047         (remove): Revalidate and repaint layered pane after
6048         the component was removed.
6049         javax/swing/JMenu.java:
6050         (setVisible): Display popup menu at the user location,
6051         if one was set by the user.
6052         (setMenuLocation): Reimplemented. Fixed javadoc.
6053         * javax/swing/JMenuBar.java: Added javadoc.
6054         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6055         (MODEL_CHANGED_PROPERTY): New Property.
6056         (isSelected): Implemented.
6057         (setBorderPainted): Fire PropertyChangeEvent
6058         if paintBorder property changes.
6059         (setSelected): Implemented.
6060         (setSelectionModel): Implemented.
6061         * javax/swing/JPopupMenu.java: Added Javadoc
6062         (pack): Implemented.
6063         (setVisible): Reimplemented.
6064         (show): Fixed location.
6065         (JPopupMenu.LigthWeightPopup): Reimplemented to use
6066         Container instead of JPanel.
6067         * javax/swing/MenuSelectionManager.java: Added Javadocs.
6068         (clearSelectedPath): Reimplemented to clear selectedPath
6069         in reverse order.
6070         (processMouseEvent): Reimplemented.
6071         (setSelectedPath): Fire stateChange event indicating that
6072         selected menu path has changed.
6073         (getPath): Change to use ArrayList instead of Vector.
6074         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6075         (installUI): call installKeyboardActions().
6076         (uninstallUI): call uninstallKeyboardActions().
6077
6078 2004-06-13  Michael Koch  <konqueror@gmx.de>
6079
6080         * javax/swing/text/DefaultCaret.java,
6081         javax/swing/text/BadLocationException.java:
6082         Reformatted.
6083
6084 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6085
6086         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6087         DEFAULT_COLS): New variables.
6088         (create): Don't allow 0 rows or 0 columns.  Instead, set the
6089         values to DEFAULT_ROWS or DEFAULT_COLS.
6090         (getMinimumSize): Likewise.
6091         (getPreferredSize): Likewise.
6092         (minimumSize): Likewise.
6093         (preferredSize): Likewise.
6094         (create): Set peer's editable state.
6095         * java/awt/TextArea.java (TextArea()): Set rows and columns to
6096         zero.  Update javadocs.
6097         (TextArea(String)): Likewise.
6098         (TextArea(int,int)): Fix javadocs.
6099         (TextArea(String,int,int,int)): Only throw exception if one of
6100         rows or columns is zero.  Fix javadocs.
6101
6102 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
6103
6104         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6105         addition to Components.
6106
6107         * java/awt/MenuItem.java (dispatchEventImpl): If the event
6108         wasn't consumed by normal processing, send it to the parent
6109         menu.
6110
6111         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6112         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6113         translation.
6114
6115 2004-06-11  David Jee  <djee@redhat.com>
6116
6117         * java/awt/MediaTracker.java
6118         (addImage(Image,int)): Call imageUpdate() to udpate image status.
6119         (addImage(Image,int,int,int)): Likewise.
6120
6121 2004-06-11  Michael Koch  <konqueror@gmx.de>
6122
6123         * javax/swing/text/AbstractDocument.java,
6124         javax/swing/text/Document.java,
6125         javax/swing/text/GapContent.java,
6126         javax/swing/text/JTextComponent.java,
6127         javax/swing/text/PlainDocument.java:
6128         Reformatted.
6129
6130 2004-06-11  Michael Koch  <konqueror@gmx.de>
6131
6132         * javax/swing/JRootPane.java
6133         (AccessibleJRootPane.serialVersionUID): New field.
6134         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6135         (AccessibleJRootPane.getAccessibleRole): New method.
6136         (RootLayout): Implements Serializable.
6137         (RootLayout.serialVersionUID): New field.
6138         (RootLayout.RootLayout): New constructor.
6139         (setJMenuBar): Made public.
6140         (getJMenuBar): Likewise.
6141         (JRootPane): Likewise.
6142         (createContentPane): Likewise.
6143         (createGlassPane): Likewise.
6144         (createLayeredPane): Likewise.
6145
6146 2004-06-11  Michael Koch  <konqueror@gmx.de>
6147
6148         * javax/swing/SwingUtilities.java
6149         (isLeftMouseButton): Fixed javadoc.
6150         (isMiddleMouseButton): Likewise.
6151         (isRightMouseButton): Likewise.
6152
6153 2004-06-11  Michael Koch  <konqueror@gmx.de>
6154
6155         * javax/swing/JScrollPane.java
6156         (serialVersionUID): New field.
6157         (columnHeader): Made protected.
6158         (rowHeader): Likewise.
6159         (lowerLeft): Likewise.
6160         (lowerRight): Likewise.
6161         (upperLeft): Likewise.
6162         (upperRight): Likewise.
6163         (horizontalScrollBar): Likewise.
6164         (horizontalScrollBarPolicy): Likewise.
6165         (verticalScrollBar): Likewise.
6166         (verticalScrollBarPolicy): Likewise.
6167         (viewport): Likewise.
6168
6169 2004-06-11  Michael Koch  <konqueror@gmx.de>
6170
6171         * javax/swing/LookAndFeel.java: Fixed javadocs.
6172
6173 2004-06-11  Michael Koch  <konqueror@gmx.de>
6174
6175         * javax/swing/JEditorPane.java: Fixed javadocs.
6176         (JEditorPane): Removed redundant call to to this().
6177         (fireHyperlinkUpdate): Implemented.
6178
6179 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6180
6181         * javax/swing/JMenu.java: Fixed file name 
6182         in the file comment.
6183
6184 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6185
6186         * javax/swing/JMenu.java: Added javadoc.
6187         (JMenu): Added MenuChangeListener to listen to 
6188         ChangeEvents occuring in menu's model. 
6189         (insert): Throw IllegalArgumentException if 
6190         index is less than 0
6191         (setSelected): Reimplement.
6192         (setPopupMenuVisible): Call menu's model isEnabled()
6193         (setDelay): Throw IllegalArgumentException if 
6194         given amount of delay is less than 0.
6195         (createActionComponent): Implemented.
6196         (createActionChangeListener): Implemented.
6197         (addSeparator): Implemented.
6198         (getItem): Throw IllegalArgumentException if index is 
6199         less than 0.
6200         (getItemCount): Implemented.
6201         (fireMenuSelected): Changed to use menuEvent.
6202         (fireMenuDeselected): Likewise.
6203         (fireMenuCanceled): Likewise.
6204         (setAccelerator): Changed to throw an error if this 
6205         method is used. 
6206         (doClick): Implemented.
6207         (JMenu.ActionChangedListener): New inner class to handle
6208         PropertyChangeEvents occuring in the actions associated with menu.
6209         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6210         (BasicMenuUI): Added PropertyChangeListener to the menu.
6211         (createChangeListener): Implemented.
6212         (createMenuDragMouseListener): Likewise.
6213         (createMenuKeyListener): Likewise.
6214         (createPropertyChangeListener): Likewise.
6215         (uninstallListeners): Likewise.
6216         (BasicMenuUI.MouseInputHandler): Reimplemented.
6217         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6218         (BasicMenuUI.ChangeHandler): Likewise.
6219         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6220         (BasicMenuUI.MenuKeyHandler): Likewise.
6221
6222 2004-06-10  David Jee  <djee@redhat.com>
6223
6224         * java/awt/MediaTracker.java
6225         (imageUpdate): Only do notifyAll() if the image is complete.
6226
6227 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6228
6229         * javax/swing/JApplet.java:
6230         (getJMenuBar): Made public.
6231         (setJMenuBar): Likewise.
6232         * javax/swing/JFrame.java:
6233         (getJMenuBar): Made public.
6234         (setJMenuBar): Likewise.
6235         * javax/swing/JWindow.java:
6236         (getJMenuBar): Removed.
6237         (setJMenuBar): Removed.
6238
6239 2004-06-10  Michael Koch  <konqueror@gmx.de>
6240
6241         * javax/swing/JEditorPane.java
6242         (createEditorKitForContentType): Fixed visibility.
6243         (fireHyperlinkUpdate): Likewise.
6244         (getContentType): Likewise.
6245         (getEditorKit): Likewise.
6246         (getEditorKitForContentType): Likewise.
6247         (getPage): Likewise.
6248         (read): Likewise.
6249         (registerEditorKitForContentTyoe): Likewise.
6250         (replaceSelection): Likewise.
6251         (setContentType): Likewise.
6252         (setEditorKit): Likewise.
6253         (setPage): Likewise.
6254
6255 2004-06-10  Michael Koch  <konqueror@gmx.de>
6256
6257         * javax/swing/Timer.java
6258         (Timer): New constructor.
6259         * javax/swing/plaf/basic/BasicProgressBarUI.java
6260         (animationTimer): Don't initialize at construction.
6261         (startAnimationTimer): Added since tag.
6262         (stopAnimationTimer): Likewise.
6263         (installUI): Use new Timer constructor.
6264         * javax/swing/plaf/basic/BasicScrollBarUI.java
6265         (installUI): Likewise.
6266         * javax/swing/plaf/basic/BasicSliderUI.java
6267         (installUI): Likewise.
6268
6269 2004-06-10  Michael Koch  <konqueror@gmx.de>
6270
6271         * javax/swing/ButtonGroup.java
6272         (serialVersionUID): Made private.
6273         (buttons): Renamed from v, added javadoc.
6274         (sel): Added javadoc.
6275         (ButtonGroup): Likewise.
6276         (add): Likewise.
6277         (remove): Likewise.
6278         (getElements): Likewise.
6279         (getSelection): Likewise.
6280         (setSelected): Likewise.
6281         (isSelected): Likewise.
6282         (getButtonCount): Likewise.
6283
6284 2004-06-10  Michael Koch  <konqueror@gmx.de>
6285
6286         * javax/swing/ButtonGroup.java,
6287         javax/swing/ImageIcon.java,
6288         javax/swing/JEditorPane.java,
6289         javax/swing/JRootPane.java,
6290         javax/swing/JTextField.java,
6291         javax/swing/LookAndFeel.java,
6292         javax/swing/plaf/basic/BasicTextUI.java:
6293         Reindented.
6294
6295 2004-06-10  Michael Koch  <konqueror@gmx.de>
6296
6297         * javax/swing/text/Style.java: Added javadocs.
6298
6299 2004-06-10  Michael Koch  <konqueror@gmx.de>
6300
6301         * javax/swing/JComponent.java
6302         (fireVetoableChange): Removed redundant cast.
6303         * javax/swing/JLabel.java
6304         (getDisabledIcon): Save icon for next call.
6305
6306 2004-06-10  Michael Koch  <konqueror@gmx.de>
6307
6308         * javax/swing/KeyStroke.java
6309         (getKeyStroke(char,boolean)): Marked deprecated.
6310
6311 2004-06-10  Michael Koch  <konqueror@gmx.de>
6312
6313         * javax/swing/DefaultCellEditor.java,
6314         javax/swing/GrayFilter.java,
6315         javax/swing/event/DocumentEvent.java,
6316         javax/swing/text/JTextComponent.java,
6317         javax/swing/text/MutableAttributeSet.java:
6318         Reindented.
6319
6320 2004-06-10  Michael Koch  <konqueror@gmx.de>
6321
6322         * javax/swing/plaf/BorderUIResource.java:
6323         Added serialVersionUID all over.
6324
6325 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6326
6327         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6328
6329 2004-06-10  Michael Koch  <konqueror@gmx.de>
6330
6331         * javax/swing/table/DefaultTableCellRenderer.java
6332         (noFocusBorder): Initialize directly.
6333
6334 2004-06-10  Michael Koch  <konqueror@gmx.de>
6335
6336         * javax/swing/plaf/basic/BasicArrowButton.java
6337         (setDirection): Use method argument.
6338
6339 2004-06-10  Michael Koch  <konqueror@gmx.de>
6340
6341         * javax/swing/plaf/BorderUIResource.java,
6342         javax/swing/plaf/ComponentUI.java,
6343         javax/swing/undo/CompoundEdit.java,
6344         javax/swing/undo/StateEdit.java:
6345         Fixed javadocs all over.
6346
6347 2004-06-10  Michael Koch  <konqueror@gmx.de>
6348
6349         * javax/swing/DefaultButtonModel.java
6350         (ARMED): Made public final, fixed value.
6351         (ENABLED): Likewise.
6352         (PRESSED): Likewise.
6353         (ROLLOVER): Likewise.
6354         (SELECTED): Likewise.
6355         (stateMask): Initialize directly.
6356         (listenerList): Likewise.
6357         (mnemonic): Likewise.
6358         (fireStateChanged): Removed argument, use changeEvent as event.
6359         All places where this method is called are fixed too.
6360         (getActionCommant): Fixed javadoc.
6361         (setGroup): Fixed javadoc.
6362         (getGroup): New method.
6363
6364 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6365
6366         * javax/swing/AbstractButton.java
6367         (AbstractButton): Use init() to initialize the button.
6368         (init): New Method. Initializes AbstractButton.
6369         * javax/swing/JMenuItem.java: Documented.
6370         (JMenuItem): Reimplemented.
6371         (init): Implemented.
6372         (setEnabled): Changed to call super.setEnabled()
6373         (processMouseEvent): Reimplemented.
6374         (fireMenuKeyPressed): Implemented.
6375         (fireMenuKeyReleased): Implemented.
6376         (fireMenuKeyTyped): Implemented.
6377         (menuSelectionChanged): disarm the model if the menu item was
6378         deselected.
6379         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6380         (getPath): Change to use ArrayList instead of Vector.
6381         (getPreferredSize): Renamed variable.
6382         (paintMenuItem): Paint margin area of menu item.
6383         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6384         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6385         menu item's bounds before clearing the selection.       
6386
6387 2004-06-09  David Jee  <djee@redhat.com>
6388
6389         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6390         (GtkTextComponentPeer): Set caret position to 0.
6391         * java/awt/TextComponent.java
6392         (setText): Set caret position to 0.
6393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6394         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6395         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6396         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6397         Likewise.
6398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6399         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6400         visible.
6401
6402 2004-06-09  Kim Ho  <kho@redhat.com>
6403
6404         * Makefile.am: New files
6405         * Makefile.in: Regenerated
6406         * java/awt/Container.java
6407         (getComponentAt): Removed.
6408         * javax/swing/AbstractAction.java
6409         (ENABLED_PROPERTY): New property.
6410         (putValue): Fire PropertyChangeEvents.
6411         (setEnabled): ditto.
6412         (firePropertyChange): Javadoc and implement
6413         convenience method.
6414         * javax/swing/AbstractButton.java
6415         (setAction): Don't create PropertyChangeListener
6416         if new Action is null.
6417         (setIcon): Don't set icon till after comparing
6418         it.
6419         (configurePropertiesFromAction): Check mnemonic
6420         key before calling intValue().
6421         (createActionPropertyChangeListener): Check
6422         properties rather than bulk change.
6423         * javax/swing/DefaultDesktopManager.java:
6424         Implement.
6425         * javax/swing/DesktopManager.java:
6426         Jalopy and javadoc.
6427         * javax/swing/JComponent.java
6428         (fireVetoableChange): Implement.
6429         (paintImmediately): Use root component.
6430         * javax/swing/JDesktopPane.java: Implement
6431         * javax/swing/JInternalFrame.java: Implement
6432         * javax/swing/JLabel.java
6433         (getDisabledIcon): Return grayscaled icon if
6434         no disabled icon specified.
6435         * javax/swing/JMenuBar.java
6436         (getComponentAtIndex): Use getComponent
6437         * javax/swing/JOptionPane.java
6438         (getDesktopPaneForComponent): Use SwingUtilities'
6439         getAncestorOfClass
6440         (getFrameForComponent): ditto.
6441         * javax/swing/JSplitPane.java
6442         (remove): Use getComponent.
6443         * javax/swing/SwingUtilities.java
6444         (convertPoint): Implement.
6445         * javax/swing/plaf/basic/BasicButtonUI.java
6446         (paintButtonNormal): Check opaqueness before
6447         filling background.
6448         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6449         Implement
6450         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6451         Implement.
6452         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6453         Implement.
6454         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6455         Implement.
6456         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6457         Change InternalFrame and Desktop colors.
6458
6459 2004-06-09  David Jee  <djee@redhat.com>
6460
6461         * java/awt/Container.java
6462         (remove): Do not set component to invisible.
6463
6464 2004-06-09  Michael Koch  <konqueror@gmx.de>
6465
6466         * javax/swing/tree/DefaultMutableTreeNode.java
6467         (getLeafCount): Renamed enum to e.
6468
6469 2004-06-09  Michael Koch  <konqueror@gmx.de>
6470
6471         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6472         (positionForMouseEvent): Removed redundant semicolon.
6473         (continueDrag): Use method arguments.
6474
6475 2004-06-09  Michael Koch  <konqueror@gmx.de>
6476
6477         * javax/swing/border/TitledBorder.java,
6478         javax/swing/filechooser/FileSystemView.java,
6479         javax/swing/plaf/basic/BasicButtonListener.java,
6480         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6481         javax/swing/plaf/basic/BasicLabelUI.java,
6482         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6483         javax/swing/plaf/basic/BasicScrollBarUI.java,
6484         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6485         javax/swing/plaf/basic/BasicSliderUI.java,
6486         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6487         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6488         javax/swing/table/JTableHeader.java,
6489         javax/swing/text/AbstractDocument.java,
6490         javax/swing/text/DefaultCaret.java,
6491         javax/swing/text/StyledEditorKit.java,
6492         javax/swing/tree/DefaultTreeCellEditor.java:
6493         Reworked import statements.
6494
6495 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6496
6497         * javax/swing/Box.java: Temporarily comment out code
6498         broken due to visibility bug.
6499
6500 2004-06-09  Michael Koch  <konqueror@gmx.de>
6501
6502         * javax/swing/ImageIcon.java
6503         (ImageIcon): Added missing constructor.
6504
6505 2004-06-08  Michael Koch  <konqueror@gmx.de>
6506
6507         * javax/swing/JToggleButton.java
6508         (JToggleButton): New constructor.
6509         (getAccessibleContext): Moved documentation into javadoc.
6510         (getUIClassID): Likewise.
6511
6512 2004-06-08  Michael Koch  <konqueror@gmx.de>
6513
6514         * javax/swing/AbstractButton.java
6515         (getDisabledIcon): Create disabled icon if none exists yet.
6516
6517 2004-06-08  Michael Koch  <konqueror@gmx.de>
6518
6519         * javax/swing/plaf/basic/BasicLookAndFeel.java
6520         (initClassDefaults): Added FormattedTextFieldUI.
6521         (loadResourceBundle): Renamed enum to e.
6522
6523 2004-06-08  Michael Koch  <konqueror@gmx.de>
6524
6525         * javax/swing/plaf/basic/BasicButtonUI.java
6526         (paintIcon): Simplified.
6527         (paintText): Paint disabled button correctly.
6528
6529 2004-06-08  Michael Koch  <konqueror@gmx.de>
6530
6531         * javax/swing/JComponent.java
6532         (createToolTip): Use official JToolTip API.
6533
6534 2004-06-08  Michael Koch  <konqueror@gmx.de>
6535
6536         * javax/swing/JToolTip.java
6537         (JToolTip): No arguments in API.
6538         (setTipText): New method.
6539
6540 2004-06-08  Michael Koch  <konqueror@gmx.de>
6541
6542         * javax/swing/SwingUtilities.java
6543         (isLeftMouseButton): New method.
6544         (isMiddleMouseButton): New method.
6545         (isRightMouseButton): New method.
6546
6547 2004-06-08  Michael Koch  <konqueror@gmx.de>
6548
6549         * javax/swing/AbstractButton.java,
6550         javax/swing/CellRendererPane.java,
6551         javax/swing/JCheckBoxMenuItem.java,
6552         javax/swing/JColorChooser.java,
6553         javax/swing/JComboBox.java,
6554         javax/swing/JComponent.java,
6555         javax/swing/JDesktopPane.java,
6556         javax/swing/JFileChooser.java,
6557         javax/swing/JMenu.java,
6558         javax/swing/JMenuItem.java,
6559         javax/swing/JOptionPane.java,
6560         javax/swing/JPasswordField.java,
6561         javax/swing/JPopupMenu.java,
6562         javax/swing/JProgressBar.java,
6563         javax/swing/JRadioButtonMenuItem.java,
6564         javax/swing/JScrollBar.java,
6565         javax/swing/JSeparator.java,
6566         javax/swing/JSlider.java,
6567         javax/swing/JSplitPane.java,
6568         javax/swing/JTabbedPane.java,
6569         javax/swing/JTextField.java,
6570         javax/swing/JToolBar.java,
6571         javax/swing/text/JTextComponent.java:
6572         Fixed all constructors of accessibility classes.
6573
6574 2004-06-08  Michael Koch  <konqueror@gmx.de>
6575
6576         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6577         over.
6578
6579 2004-06-08  Michael Koch  <konqueror@gmx.de>
6580
6581         * javax/swing/Box.java
6582         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6583         (AccessibleBoxFiller.serialVersionUID): New member variable.
6584         * javax/swing/DefaultButtonModel.java
6585         (stateMask): Made protected.
6586         (listenerList): Likewise.
6587         (changeEvent): Likewise.
6588         (group): Likewise.
6589         (mnemonic): Likewise.
6590         (actionCommand): Likewise.
6591         (getListeners): New method.
6592         (getActionListeners): New method.
6593         (getItemListeners): New method.
6594         (getChangeListeners): New method.
6595         (fireItemStateChanged): Simplified.
6596         (fireActionPerformed): Simplified.
6597         (fireStateChanged): Simplified.
6598         * javax/swing/JFrame.java
6599         (JFrame): Implements WindowContants.
6600         (HIDE_ON_CLOSE): Removed.
6601         (EXIT_ON_CLOSE): Removed.
6602         (DISPOSE_ON_CLOSE): Removed.
6603         (DO_NOTHING_ON_CLOSE): Removed.
6604         (processWindowEvent): Exit with code 0.
6605         (setDefaultCloseOperation): Do security check before setting value.
6606         * javax/swing/JOptionPane.java
6607         (message): Initialize only in constructor.
6608         * javax/swing/JToolTip.java: Removed unused imports.
6609         * javax/swing/JViewport.java
6610         (serialVersionUID): New member variable.
6611         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6612         (BLIT_SCROLL_MODE): Likewise.
6613         (BACKINGSTORE_SCROLL_MODE): Likewise.
6614         (scrollUnderway): Made protected.
6615         (isViewSizeSet): Likewise.
6616         * javax/swing/ListModel.java: Fixed javadoc.
6617         * javax/swing/Popup.java: Likewise.
6618         * javax/swing/RepaintManager.java
6619         (paintDirtyRegions): Don't use internal classes of
6620         java.util.AbstractMap.
6621         * javax/swing/ScrollPaneConstants.java: Reindented.
6622         * javax/swing/ScrollPaneLayout.java
6623         (viewport): Made protected.
6624         (verticalScrollBar): Made protected, renamed to vsb.
6625         (horizontalScrollBar): Made protected, renamed to hsb.
6626         (rowHeader): Made protected, renamed to rowHead.
6627         (columnHeader): Made protected, renamed to colHead.
6628         (lowerLeft): Made protected.
6629         (lowerRight): Made protected.
6630         (upperLeft): Made protected.
6631         (upperRight): Made protected.
6632         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6633         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6634
6635 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6636
6637         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6638         LOADING if flags has SOMEBITS set.
6639
6640 2004-06-07  Michael Koch  <konqueror@gmx.de>
6641
6642         * javax/swing/AbstractButton.java: Reorganized imports.
6643         * javax/swing/ActionMap.java: Likewise.
6644         * javax/swing/DefaultButtonModel.java: Likewise.
6645         * javax/swing/DefaultListModel.java: Likewise.
6646         * javax/swing/ImageIcon.java: Likewise.
6647         (serialVersionUID): New member variable.
6648         * javax/swing/JComboBox.java: Reorganized imports.
6649         * javax/swing/JComponent.java: Likewise.
6650         (ui): Made protected.
6651         (listenerList): Made protected.
6652         (TOOL_TIP_TEXT_KEY): New constant.
6653         (scrollRectToVisible): Removed redundant null check.
6654         * javax/swing/JFrame.java: Reorganized imports.
6655         * javax/swing/JInternalFrame.java: Reorganized imports.
6656         * javax/swing/JProgressBar.java: Likewise.
6657         * javax/swing/JRootPane.java: Likewise.
6658         * javax/swing/JScrollBar.java: Likewise.
6659         * javax/swing/JSeparator.java: Likewise.
6660         * javax/swing/JSlider.java: Likewise.
6661         * javax/swing/JTabbedPane.java: Likewise.
6662         * javax/swing/JTextField.java: Likewise.
6663         * javax/swing/JToolBar.java: Likewise.
6664         * javax/swing/JTree.java: Likewise.
6665         * javax/swing/JViewport.java: Likewise.
6666         * javax/swing/JWindow.java: Likewise.
6667         * javax/swing/KeyStroke.java: Likewise.
6668         * javax/swing/LookAndFeel.java: Likewise.
6669         * javax/swing/MenuSelectionManager.java: Likewise.
6670         * javax/swing/SwingUtilities.java: Likewise.
6671         * javax/swing/Timer.java: Likewise.
6672         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6673         * javax/swing/JList.java
6674         (HORIZONTAL_WRAP): Made final, fixed value.
6675         (VERTICAL): Likewise.
6676         (VERTICAL_WRAP): Likewise.
6677
6678 2004-06-07  Michael Koch  <konqueror@gmx.de>
6679
6680         * javax/swing/AbstractButton.java
6681         (serialVersionUID): New member variable.
6682         (AccessibleAbstractButton.serialVersionUID): Likewise.
6683         (AbstractButton): Made public.
6684         * javax/swing/Box.java
6685         (AccessibleBox.serialVersionUID): New member variable.
6686         (Filler.serialVersionUID): Likewise.
6687         * javax/swing/DefaultListSelectionModel.java
6688         (serialVersionUID): Likewise.
6689         * javax/swing/JApplet.java
6690         (serialVersionUID): Likewise.
6691         * javax/swing/JCheckBox.java
6692         (serialVersionUID): Likewise.
6693         * javax/swing/JCheckBoxMenuItem.java
6694         (serialVersionUID): Likewise.
6695         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6696         * javax/swing/JColorChooser.java
6697         (serialVersionUID): Likewise.
6698         (AccessibleJColorChooser.serialVersionUID): Likewise.
6699         * javax/swing/JComponent.java
6700         (serialVersionUID): Made private.
6701         (AccessibleJComponent.serialVersionUID): New member variable.
6702         * javax/swing/JDesktopPane.java
6703         (serialVersionUID): Likewise.
6704         * javax/swing/JDialog.java
6705         (serialVersionUID): Likewise.
6706         * javax/swing/JFormattedTextField.java
6707         (serialVersionUID): Fixed value.
6708         * javax/swing/JFrame.java
6709         (serialVersionUID): New member variable.
6710         (getDefaultCloseOpertation): Made public.
6711         * javax/swing/JLayeredPane.java
6712         (serialVersionUID): Likewise.
6713         (LAYER_PROPERTY): Made final, fixed value.
6714         (JLayeredPane): Made public.
6715         * javax/swing/JMenu.java
6716         (AccessibleJMenu.serialVersionUID): New member variable.
6717         (WinListener.serialVersionUID): Likewise.
6718         * javax/swing/JMenuBar.java
6719         (serialVersionUID): Likewise.
6720         (getComponentAtIndex): Added @deprecated tag.
6721         * javax/swing/JMenuItem.java
6722         (serialVersionUID): New member variable.
6723         (AccessibleJMenuItem.serialVersionUID): Likewise.
6724         * javax/swing/JOptionPane.java
6725         (serialVersionUID): Likewise.
6726         (AccessibleJOptionPane.serialVersionUID): Likewise.
6727         * javax/swing/JPopupMenu.java
6728         (serialVersionUID): Likewise.
6729         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6730         (getPopupMenuListeners): New method.
6731         (getComponentAtIndex): Added @deprecated tag.
6732         * javax/swing/JProgressBar.java
6733         (serialVersionUID): New member variable.
6734         (AccessibleJProgressBar.serialVersionUID): Likewise.
6735         * javax/swing/JRadioButton.java
6736         (serialVersionUID): Likewise.
6737         * javax/swing/JRadioButtonMenuItem.java
6738         (serialVersionUID): Likewise.
6739         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6740         * javax/swing/JScrollBar.java
6741         (serialVersionUID): Likewise.
6742         (AccessibleJScrollBar.serialVersionUID): Likewise.
6743         * javax/swing/JSeparator.java
6744         (serialVersionUID): Likewise.
6745         (AccessibleJSeparator.serialVersionUID): Likewise.
6746         * javax/swing/JSlider.java: Fixed javadocs.
6747         (AccessibleJSlider.serialVersionUID): New member variable.
6748         * javax/swing/JSplitPane.java: Added copyright statement.
6749         (serialVersionUID): New member variable.
6750         (AccessibleJSplitPane.serialVersionUID): Likewise.
6751         * javax/swing/JTabbedPane.java
6752         (serialVersionUID): Likewise.
6753         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6754         (ModelListener.serialVersionUID): Likewise.
6755         (ModelListener.ModelListener): New constructor.
6756         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6757         (WRAP_TAB_LAYOUT): Likewise.
6758         * javax/swing/JTable.java
6759         (serialVersionUID): New member variable.
6760         * javax/swing/JToggleButton.java
6761         (serialVersionUID): Likewise.
6762         (ToggleButtonModel): Made static.
6763         (ToggleButtonModel.serialVersionUID): New member variable.
6764         * javax/swing/JToolTip.java
6765         (serialVersionUID): Likewise.
6766         * javax/swing/JTree.java
6767         (serialVersionUID): Likewise.
6768         * javax/swing/JWindow.java
6769         (serialVersionUID): Likewise.
6770         * javax/swing/Timer.java
6771         (serialVersionUID): Likewise.
6772
6773 2004-06-06  Michael Koch  <konqueror@gmx.de>
6774
6775         * javax/swing/SwingConstants.java
6776         (NEXT): New constant.
6777         (PREVIOUS): Likewise.
6778         * javax/swing/UIManager.java
6779         (LookAndFeel): Made public.
6780         (LookAndFeel.getClassName): Likewise.
6781         (LookAndFeel.getName): Likewise.
6782
6783 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6784
6785         * javax/swing/JCheckBoxMenuItem.java:
6786         Removed CVS tags.
6787         * javax/swing/JMenu.java: Likewise.
6788         * javax/swing/JMenuBar.java: Likewise.
6789         * javax/swing/JMenuItem.java: Likewise.
6790         * javax/swing/JPopupMenu.java: Likewise.
6791         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6792         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6793         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6794         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6795         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6796         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6797         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6798
6799 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6800         
6801         * javax/swing/plaf/basic/BasicMenuUI.java:
6802         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6803         Call getPath() from super class instead.
6804
6805 2004-05-31  David Jee  <djee@redhat.com>
6806
6807         * java/awt/Container.java
6808         (remove): Set component visibility to false after removing it.
6809
6810 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6811
6812         * java/awt/Component.java (getForeground): Return SystemColor if
6813         parent is null.
6814         (getBackground): Likewise.
6815
6816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6817         (item_highlighted): New function.
6818         (connectSignals): Set item_highlighted as list's select
6819         function.
6820
6821         * java/applet/Applet.java: Revert changes from 2004-04-29,
6822         2004-03-15 and 2004-03-14.
6823
6824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6825         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6826         factor.
6827
6828         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6829         "Dialog" as the default font.
6830         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6831         Likewise.
6832         * java/awt/Component.java (getFont): Return "Dialog" font by
6833         default.
6834         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6835         Multiply size argument to pango_font_description_set_size by the
6836         DPI conversion factor rather than by PANGO_SCALE.
6837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6844         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6845         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6846         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6847         Divide baseline y coordinate by DPI conversion factor rather
6848         than by PANGO_SCALE.
6849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6850         (area_prepared): Fix typo.
6851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6852         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6854         (dpi_conversion_factor): New global variable.
6855         (init_dpi_conversion_factor): New function to calculate and
6856         track DPI conversion factor.
6857         (dpi_changed_cb): New callback.
6858         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6859
6860 2004-05-27  David Jee  <djee@redhat.com>
6861
6862         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6863         (getGraphics): Return a new GdkGraphics instance.
6864         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6865         (getGraphics): Call super.getGraphics().
6866
6867 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6868
6869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6870         (setNativeBounds): Clamp width and height values to >= 0.
6871
6872         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6873         (find_fg_color_widget): Handle GtkOptionMenu specially.
6874
6875         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6876         (pre_event_handler): Only post configure events to visible
6877         top-level windows.
6878
6879 2004-05-26  David Jee  <djee@redhat.com>
6880
6881         * java/awt/BorderLayout.java
6882         (layoutContainer): Fix size calculations.
6883
6884 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6885
6886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6887         (window_wm_protocols_filter): Remove function.
6888         (create): Remove filter that removes WM_TAKE_FOCUS client
6889         messages.
6890
6891 2004-06-17  Anthony Green  <green@redhat.com>
6892
6893         * java/util/zip/ZipFile.java (getInputStream): Return null if
6894         entry not found.
6895
6896         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6897         directory contents to the class path.
6898
6899 2004-06-15  Andrew Haley  <aph@redhat.com>
6900
6901         * java/lang/natSystem.cc (getenv0): Don't assume environment
6902         variable is Latin 1 coded.
6903
6904 2004-06-14  Andreas Jaeger  <aj@suse.de>
6905
6906         * configure.in: Support --enable-version-specific-runtime-libs.
6907         * configure: Regenerated.
6908
6909 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6910
6911         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6912         to pass ClassLoader argument.
6913         * java/util/GregorianCalendar.java: Likewise.
6914         * java/util/Currency.java: Likewise.
6915         * java/text/BreakIterator.java: Likewise.
6916         * java/text/Collator.java: Likewise.
6917         * java/text/DateFormat.java: Likewise.
6918         * java/text/DateFormatSymbols.java: Likewise.
6919         * java/text/DecimalFormatSymbols.java: Likewise.
6920         * java/text/NumberFormat.java: Likewise.
6921         * java/awt/Window.java: Likewise.
6922
6923 2004-06-14  Andrew Haley  <aph@redhat.com>
6924
6925         * java/lang/System.java: (getenv0): New method.
6926         (getenv): Add security check.  Do the right thing.
6927         * java/lang/natSystem.cc (getenv0): New method.
6928
6929 2004-06-12  Mark Wielaard  <mark@klomp.org>
6930
6931         * javax/swing/RepaintManager.java
6932         (paintDirtyRegions): Use entrySet(), not values().
6933
6934 2004-06-10  Mark Wielaard  <mark@klomp.org>
6935
6936         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6937         NoSuchMethodError.
6938
6939 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6940
6941         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6942         when we already know the answer.
6943         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6944         (setStartRule,setEndRule): Don't take abs of day number.
6945         (getOffset): Clarify docs.  Add argument checks.
6946         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6947         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6948         endTimeMode.
6949
6950 2004-06-10  Tom Tromey  <tromey@redhat.com>
6951
6952         * interpret.cc (run): Handle wide fload.
6953
6954 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6955
6956         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6957
6958 2004-06-05  Michael Koch  <konqueror@gmx.de>
6959
6960         * javax/swing/SwingConstants.java
6961         (NEXT): New constant.
6962         (PREVIOUS): Likewise.
6963
6964 2004-06-05  Michael Koch  <konqueror@gmx.de>
6965
6966         * javax/swing/UIManager.java
6967         (LookAndFeel): Made public.
6968         (LookAndFeel.getName): Likewise.
6969         (LookAndFeel.getClassName): Likewise.
6970
6971 2004-06-03  Michael Koch  <konqueror@gmx.de>
6972
6973         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6974         (requestFocus): Revert last changes.
6975         (gtkRequestFocus): Removed.
6976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6977         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6978         Renamed to ...
6979         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6980         Reverted last patch.
6981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6982         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6983         Reverted comment change.
6984
6985 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6986
6987         * javax/swing/JCheckBoxMenuItem.java:
6988         Removed CVS tags.
6989         * javax/swing/JMenu.java: Likewise.
6990         * javax/swing/JMenuBar.java: Likewise.
6991         * javax/swing/JMenuItem.java: Likewise.
6992         * javax/swing/JPopupMenu.java: Likewise.
6993         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6994         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6995         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6996         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6997         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6998         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6999         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7000
7001 2004-06-01  Tom Tromey  <tromey@redhat.com>
7002
7003         * java/io/ObjectStreamField.java: Cleaned up imports.
7004
7005 2004-06-01  Michael Koch  <konqueror@gmx.de>
7006
7007         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7008       
7009 2004-06-01  Mark Wielaard  <mark@klomp.org>
7010
7011         * java/io/Writer.java (Writer(Object)): Fixed API doc.
7012
7013 2004-06-01  Michael Koch  <konqueror@gmx.de>
7014
7015         * java/security/Security.java
7016         (insertProviderAt): Use equals() instead of ==.
7017         (removeProvicer): Likewise.
7018         (getProvider): Likewise.
7019         * java/security/Signature.java
7020         (sign): Don't set state to UNINITIALIZED.
7021         (verify): Likewise.
7022
7023 2004-06-01  Mark Wielaard  <mark@klomp.org>
7024
7025         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7026         Implement by calling gtkRequestFocus.
7027         (gtkRequestFocus): New native method.
7028         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7029         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7030         Renamed to ...
7031         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7032         New function name.
7033         (filter_expose_event_handler):
7034         Mark static.
7035         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7036         (menu_pos): Mark static.
7037
7038 2004-06-01  Michael Koch  <konqueror@gmx.de>
7039
7040         * java/text/CollationElementIterator.java,
7041         java/text/CollationKey.java,
7042         java/text/RuleBasedCollator.java: New versions from GNU classpath.
7043         * testsuite/libjava.mauve/xfails: Removed all
7044         java.text.CollationElementIterator tests.
7045
7046 2004-06-01  Michael Koch  <konqueror@gmx.de>
7047
7048         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7049         version.
7050         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7051         Java 1.5 keyword usage.
7052
7053 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
7054
7055         * javax/swing/plaf/basic/BasicMenuUI.java:
7056         (MouseEntered): Do not call getPath() from MenuSelectionManager.
7057         Call getPath() from super class instead.
7058
7059 2004-05-31  Michael Koch  <konqueror@gmx.de>
7060
7061         * java/io/SequenceInputStream.java:
7062         Rename enum to e because enum is a keyword in Java 1.5.
7063
7064 2004-05-31  Michael Koch  <konqueror@gmx.de>
7065
7066         * gnu/java/rmi/rmic/CompilerProcess.java:
7067         Fixed javadoc to by XHTML compliant.
7068
7069 2004-05-30  Mark Wielaard  <mark@klomp.org>
7070
7071         * java/awt/Toolkit.java (loadSystemColors): Implement.
7072
7073 2004-05-30  Michael Koch  <konqueror@gmx.de>
7074
7075         * java/lang/System.java: Reordered imports.
7076
7077 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
7078
7079         * java/text/DecimalFormat.java
7080         (parse): Fixed parsing of decimal strings. Number of maximum
7081         digits to be read should now work.
7082         * java/text/SimpleDateFormat.java
7083         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7084         formatter. This fixes DateFormatTest.
7085
7086 2004-05-30  Michael Koch  <konqueror@gmx.de>
7087
7088         * java/nio/Buffer.java
7089         (limit): Fixed off by one error.
7090         * java/nio/CharBuffer.java
7091         (wrap): Fixed arguments, added javadocs.
7092
7093 2004-05-30  Michael Koch  <konqueror@gmx.de>
7094
7095         * gnu/java/beans/BeanInfoEmbryo.java,
7096         java/awt/im/InputContext.java,
7097         javax/swing/tree/DefaultMutableTreeNode.java:
7098         Rename enum to e because enum is a keyword in Java 1.5.
7099
7100 2004-05-30  Michael Koch  <konqueror@gmx.de>
7101
7102         * gnu/java/math/MPN.java,
7103         java/awt/geom/Arc2D.java:
7104         Fixed javadocs all over.
7105
7106 2004-05-30  Michael Koch  <konqueror@gmx.de>
7107
7108         * java/awt/DefaultKeyboardFocusManager.java
7109         (dispatchEvent): Call method to get key event dispatchers.
7110         (dispatchKeyEvent): Call method to get key event post processors.
7111         * javax/swing/JComponent.java
7112         (listenerList): Made protected.
7113         * javax/swing/JOptionPane.java
7114         (message): Don't initialize.
7115         (JOptionPane): Set message text.
7116         * javax/swing/JPopupMenu.java
7117         (show): Fixed typo in argument name.
7118         * javax/swing/RepaintManager.java
7119         (paintDirtyRegions): Use public API of java.util.Map.
7120         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7121         (positionForMouseEvent): Removed redundant ';'.
7122         (continueDrag): Use method arguments.
7123
7124 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
7125
7126         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7127         results.
7128
7129 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7130
7131         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7132         _Jv_AllocBytes.
7133         * gnu/gcj/RawDataManaged.java: New file.
7134         * java/lang/Thread.java (data): Declare as RawDataManaged.
7135         * java/lang/natThread.cc (init_native): Cast natThread data to
7136         RawDataManaged, not jobject.
7137         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7138         * Makefile.in: Rebuilt.
7139
7140 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7141
7142         * java/util/SimpleTimeZone.java: Reverting my last change until I
7143         can fix it properly.
7144
7145 2004-05-27  Michael Koch  <konqueror@gmx.de>
7146
7147         * javax/swing/JPopupMenu.java
7148         (isVisible): Do not use visible directly.
7149         (setVisible): Likewise.
7150         * javax/swing/JWindow.java
7151         (JWindow): call accessible constructor.
7152         * javax/swing/RepaintManager.java
7153         (paintDirtyRegions): Use public methods to obtain iterator.
7154
7155 2004-05-25  David Jee  <djee@redhat.com>
7156
7157         * java/awt/Container.java
7158         (remove): Set component's parent to null only after we removed the
7159         component from its parent's layout manager.
7160
7161 2004-05-25  David Jee  <djee@redhat.com>
7162
7163         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7164         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7165         is valid.
7166         * gnu/java/awt/peer/gtk/GtkListPeer.java
7167         (getSize): Change native method declaration.
7168         (minimumSize): Pass visible row count into getSize().
7169         (preferredSize): Likewise.
7170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7171         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7172         natural size. Use visible row count to determine the final height
7173         value to return.
7174
7175 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7176
7177         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7178         (setClip): Minor correction to order of operations.
7179
7180         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7181         * javax/swing/ScrollPaneLayout.java: Likewise.
7182         * javax/swing/JViewPort.java: Likewise.
7183         * javax/swing/ViewportLayout.java: Likewise.
7184
7185         * javax/swing/JComponent.java: Rewrite.
7186         * javax/swing/RepaintManager.java: Likewise.
7187
7188         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7189         * javax/swing/JList.java 
7190         (setSelectedIndices):
7191         (getSelectedIndices):
7192         (getSelectedValues): New functions.
7193         (getPreferredScrollableViewportSize): Return preferred size.
7194         (getScrollableUnitIncrement):
7195         (getScrollableBlockIncrement): Initial implementations.
7196         * javax/swing/JRootPane.java: Clean up slightly.
7197         (getUI):
7198         (setUI):
7199         (updateUI):
7200         (getUIClassID):
7201         (isValidateRoot): Add overrides from JComponent.
7202         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7203         * javax/swing/UIManager.java (getDimension): Return the dimension.
7204
7205         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7206         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7207         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7208         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7209         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7210         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7211         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7212         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7213         Likewise, and set background.
7214         * javax/swing/plaf/basic/BasicListUI.java: 
7215         Likewise, and improve a bit.
7216         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7217         Likewise, and adjust calculations.
7218         * javax/swing/plaf/basic/BasicViewportUI.java:
7219         Likewise, and improve a bit.
7220         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7221         (Button.margin): Shrink.
7222
7223         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7224         Hack to set horizontal always, workaround pango.
7225
7226         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7228         Synchronize more often, check cairo status after ops,
7229         handle changes to cairo pattern API, check for disposal.
7230
7231 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7232
7233         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7234         (BasicMenuItemUI): Create propertyChangeListener.
7235         (getPath):Implemented.
7236         (installListeners): Add propertyChangeListener to menuItem.
7237         (uninstallListeners): Remove propertyChangeListener from menuItem.
7238         (update): Implemented.
7239         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7240         (mouseEntered): Take insets of popup menu into account when
7241         calculating position of popup menu.     
7242         
7243 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7244
7245         * Makefile.am: Added new file. 
7246         * Makefile.in: Regenerate.
7247         * javax/swing/JMenuBar.java:
7248         Started implementation.
7249         * javax/swing/JPopupMenu.java:
7250         (setVisible): Fixed location of lightweight/mediumweight
7251         popup menu.
7252         (show): Fixed location of PopupMenu.
7253         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7254         New file. UI Delegate for JMenuBar.
7255         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7256         (mouseEntered): Corrected position of the submenu.
7257
7258 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7259
7260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7261         to _gtk_accel_group_attach.
7262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7263         Likewise.
7264
7265         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7266         package access.  Don't override setFont.
7267         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7268         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7269         gtkWidgetRequestFocus package access.
7270         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7271         setFont.
7272         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7273         Give gtkWidgetRequestFocus package access.
7274         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7275         gtkWidgetRequestFocus package access.  Don't override setFont.
7276         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7277         setFont.
7278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7279         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7280         region.
7281         (gtkSetFont): Likewise.
7282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7283         Implement.
7284         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7285         (gtkSetFont): Whitespace fix.
7286
7287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7288         (gtkWidgetSetUsize): Remove method.
7289
7290 2004-05-18  David Jee  <djee@redhat.com>
7291
7292         * java/awt/image/MemoryImageSource.java
7293         (newPixels(int,int,int,int,boolean)): Set only the specified
7294         rectangle of pixels.
7295         (newPixels(byte[],ColorModel,int,int)): Implement.
7296         (newPixels(int[],ColorModel,int,int)): Implement.
7297
7298 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7299
7300         * Makefile.am: Added new file.
7301         * Makefile.in: Regenerate.
7302         * javax/swing/JMenu.java: Started 
7303         implementation.
7304         * javax/swing/JPopupMenu.java:
7305         (insert): If specified index is -1, then
7306         add component at the end.
7307         (isPopupTrigger): Reimplemented.
7308         (JPopupMenu.LightWeightPopup): setBounds
7309         of the lightWeightPopup before adding it 
7310         to the layeredPane.
7311         (javax/swing/plaf/basic/BasicIconFactory.java):
7312         (getMenuArrowIcon): Implemented.
7313         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7314         (getPreferredSize): Add size of the arrow icon 
7315         if this menu item is instance of JMenu.
7316         (paintMenuItem): Paint arrow icon if this 
7317         menu item is a submenu.
7318         * javax/swing/plaf/basic/BasicMenuUI.java:
7319         New File. UI Delegate for JMenu.
7320
7321 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7322
7323         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7324         Post KEY_TYPED events.
7325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7326         (generates_key_typed_event): Remove function.
7327
7328 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7329
7330         * javax/swing/JRootPane.java
7331         (JRootPane.RootLayout): Reimplemented to 
7332         set bounds of contentPane and menuBar.
7333         (setJMenuBar): Add menu bar to the layered pane.
7334         (createLayeredPane): Set layout of layeredPane
7335         to null.
7336         * javax/swing/JLayeredPane.java:
7337         (addImpl): Calculate index of the component in the
7338         layeredPane according to the specified position within 
7339         the layer.      
7340
7341 2004-05-17  David Jee  <djee@redhat.com>
7342
7343         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7344         (setPixels): Change color model to the default model after
7345         converting pixels.
7346         * java/awt/image/MemoryImageSource.java
7347         (newPixels): Set only the specified rectangle of pixels.
7348
7349 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7350
7351         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7352         -l-java-beans -l-javax-accessibility -l-javax-swing.
7353
7354         * java/awt/AWTEvent.java (toString): Print source's name rather
7355         than the source itself.
7356
7357 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7358
7359         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7360         native.
7361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7362         (gdk_color_to_java_color): New function.
7363         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7364
7365 2004-05-12  David Jee  <djee@redhat.com>
7366
7367         * java/awt/image/RGBImageFilter.java:
7368         Initialize origmodel as null.
7369         (makeColor): Fix pixel component order.
7370         (filterRGBPixels): Fix pixel iteration.
7371         (setPixels): Add extra checks for index color model. Convert pixels
7372         to default color model if necessary.
7373         (convertColorModelToDefault): New override method for byte pixels.
7374         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7375         (makeColorbyDefaultCM): New override method for byte pixels.
7376         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7377         (makeColor): Fix pixel component order.
7378
7379 2004-05-11  Kim Ho  <kho@redhat.com>
7380
7381         * javax/swing/Box.java:
7382         Comment out more parts of Box.Filler.
7383
7384 2004-05-11  Kim Ho  <kho@redhat.com>
7385
7386         * javax/swing/Box.java:
7387         Remove reference to AccessibleAWTComponent so
7388         it compiles again.
7389
7390 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7391
7392         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7393         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7394         implementation of list peer to use GtkTreeView instead of
7395         deprecated GtkCList.
7396
7397 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7398
7399         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7400         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7401         (handleEvent): Remove keyChar argument to
7402         gtkWidgetDispatchKeyEvent calls.
7403         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7404         compiler warnings.
7405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7408         Likewise.
7409
7410 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7411
7412         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7413         (gtkWidgetRequestFocus): Mark protected.
7414         (GtkComponentPeer): Only set the peer's bounds if its component
7415         is valid.
7416         * java/awt/Component.java (static): Set the default keyboard
7417         focus manager.
7418         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7419         requestFocusInWindow(temporary)): Don't request focus if the
7420         component is not showing.  Get tree lock before traversing
7421         component hierarchy.
7422         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7423         Only set the global focus owner if it is not a Window.
7424         (processKeyEvent): Consume keystrokes associated with the focus
7425         traversal keystroke.
7426         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7427         downFocusCycle): Call requestFocusInWindow instead of
7428         requestFocus.
7429         * java/awt/EventDispatchThread.java (run): Move setting of
7430         default keyboard focus manager to Component.java.
7431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7432         (awt_keycode_to_keysym): New function.
7433         (gtkWidgetDispatchKeyEvent): Finish implementation.
7434         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7435         (pre_event_handler): Add FIXME comment.
7436
7437         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7438         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7439         (gtkWidgetRequestFocus): New method.
7440         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7441         disable Tab and Shift-Tab keystrokes.
7442         (addNotify, appendText, insertText, replaceText): Simplify peer
7443         retrieval code.
7444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7445         (connectSignals): Remove connections to "commit" signals.
7446         Remove C++-style comments.
7447
7448         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7449         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7450         (handleEvent): Activate GTK button when the space bar key is
7451         pressed.
7452         (gtkActivate): New method.
7453
7454 2004-05-06  David Jee  <djee@redhat.com>
7455
7456         * java/awt/image/CropImageFilter.java
7457         (setPixels): Implement for byte array pixels.
7458         * java/awt/image/ReplicateScaleFilter.java
7459         (setPixels): Implement for byte array pixels.
7460         (replicatePixels): Overload for byte array pixels.
7461
7462 2004-05-06  Kim Ho  <kho@redhat.com>
7463
7464         * javax/swing/Box.java:
7465         (getAccessibleContext): Return an instance of the 
7466         correct class.
7467
7468 2004-05-05  David Jee  <djee@redhat.com>
7469
7470         * gnu/java/awt/peer/gtk/GdkGraphics.java
7471         (drawImage): When component is null, use SystemColor.window as
7472         the default bgcolor.
7473         * gnu/java/awt/peer/gtk/GtkImage.java
7474         (setPixels): We can avoid iterating through the pixel rows only
7475         when height is 1.
7476         * java/awt/Image.java
7477         (getScaledInstance): Partially implement.
7478         * java/awt/image/CropImageFilter.java
7479         (setProperties): Fix "filter" property.
7480         (setPixels): Implement.
7481         * java/awt/image/ReplicateScaleFilter.java
7482         (setDimensions): Use scaled dimensions.
7483         (setPixels): Implement.
7484         (replicatePixels): New method.
7485
7486 2004-05-05  David Jee  <djee@redhat.com>
7487
7488         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7489         (convertPixels): If either pixels or model is null, return null.
7490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7491         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7492         is null, do nothing and return.
7493
7494 2004-05-03  Kim Ho  <kho@redhat.com>
7495
7496         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7497         (getGraphics): Like GtkFramePeer, the Graphics
7498         object needs to be translate to account for
7499         window decorations.
7500         (postMouseEvent): New method. Account for
7501         translation.
7502         (postExposeEvent): ditto.
7503         * javax/swing/Box.java: Stubbed.
7504         * javax/swing/JDialog.java: Ran through jalopy
7505         to fix indentation.
7506         (JDialog): Call SwingUtilities' getOwnerFrame
7507         for null owners.
7508         (setLayout): Check isRootPaneCheckingEnabled
7509         * javax/swing/JOptionPane.java: Re-implemented.
7510         * javax/swing/SwingUtilities.java:
7511         (getOwnerFrame): Static method to grab a default
7512         owner frame for Dialogs that don't specify owners.
7513         * javax/swing/event/SwingPropertyChangeSupport.java:
7514         (firePropertyChange): Fix early exit condition.
7515         * javax/swing/plaf/basic/BasicLabelUI.java:
7516         (paint): Avoid painting text if it is null 
7517         or empty.
7518         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7519         Implement.
7520
7521 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7522
7523         * Makefile.am: Added new file.
7524         * Makefile.in: Regenerate.
7525         * javax/swing/JPopupMenu.java:
7526         Started implementation.
7527         * javax/swing/JWindow.java
7528         (JWindow): call super() if parent for window
7529         is not specified.
7530         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7531         New File. UI Delegate for JPopupMenu.
7532
7533 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7534
7535         * javax/swing/JApplet.java: Indicated that JApplet
7536         implements RootPaneContainer and made method of this
7537         interface public. 
7538         * javax/swing/JFrame.java: Ditto.
7539         * javax/swing/JWindow.java: Ditto.
7540         
7541 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7542
7543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7544         (nativeSetBounds): Call gdk_window_move in addition to
7545         gtk_window_move.
7546
7547         * java/applet/Applet.java (preferredSize): Call parent's
7548         preferredSize if the applet stub is null.
7549         (minimumSize): Likewise for parent's minimumSize.
7550
7551 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7552
7553         * javax/swing/JMenuItem.java
7554         (createActionPropertyChangeListener): Implemented.
7555         (processMouseEvent): Ditto.
7556         (fireMenuDragMouseEntered): Ditto.
7557         (fireMenuDragMouseExited): Ditto.
7558         (fireMenuDragMouseDragged): Ditto.
7559         (fireMenuDragMouseReleased): Ditto.
7560         (menuSelectionChanged): Ditto.
7561         (getSubElements): Ditto.
7562         (getComponent): Ditto.
7563         (addMenuDragMouseListener): Ditto.
7564         (removeMenuDragMouseListener):Ditto.
7565         (addMenuKeyListener): Ditto.
7566         (removeMenuKeyListener): Ditto.
7567         * javax/swing/plaf/basic/BasicMenuItemUI.java
7568         (doClick): Imlemented.
7569         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7570         Don't handle mouse events here. Pass them to 
7571         MenuSelectionManager.
7572         
7573 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7574         Used correct version of jalopy configuration
7575         file to fix style in the files below.
7576
7577 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7578
7579         * javax/swing/JCheckBoxMenuItem.java: 
7580         Fixed style and removed unnecessary comments.
7581         * javax/swing/JMenuItem.java: Ditto.
7582         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7583         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7584         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7585         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7586
7587 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7588
7589         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7590         C-style.
7591
7592         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7593
7594         * java/awt/ContainerOrderFocusTraversalPolicy.java
7595         (getComponentAfter): Start from current component and work up
7596         the component hierarchy until an acceptable component is found.
7597         Synchronize on tree lock.
7598         (getComponentBefore): Likewise.
7599
7600 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7601
7602         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7603         focus-related debugging messages.
7604         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7605         * java/awt/EventDispatchThread.java: Likewise.
7606         * java/awt/KeyboardFocusManager.java: Likewise.
7607         * java/awt/Window.java: Likewise.
7608         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7610
7611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7612         new C++-style comments to C-style comments.
7613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7614
7615         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7616         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7617         (handleEvent): Dispatch key press and key release events to
7618         backing widget.
7619         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7620         (gtkWidgetRequestFocus): New method.
7621         (gtkWidgetDispatchKeyEvent): Likewise.
7622         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7623         requestFocusInWindow, requestFocusInWindow(boolean),
7624         getFocusCycleRootAncestor, nextFocus, transferFocus,
7625         transferFocusBackward, transferFocusUpCycle, hasFocus,
7626         isFocusOwner): Implement and document focus-handling methods.
7627         (setFocusTraversalKeys): Inherit focus traversal keys when
7628         keystrokes argument is null.  Fix focus-handling documentation
7629         throughout class.
7630         * java/awt/Container.java (setFocusTraversalKeys,
7631         getFocusTraversalKeys, areFocusTraversalKeysSet,
7632         isFocusCycleRoot, setFocusTraversalPolicy,
7633         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7634         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7635         Implement and document focus-handling methods.
7636         (transferFocusBackward): Remove method.
7637         (readObject, writeObject): Implement and document serialization
7638         methods.
7639         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7640         and document.
7641         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7642         document.
7643         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7644         partially document.
7645         * java/awt/EventDispatchThread.java (run): Set default keyboard
7646         focus manager.  Attempt to dispatch each event to the keyboard
7647         focus manager before normal dispatch.
7648         * java/awt/KeyboardFocusManager.java: Implement and partially
7649         document.
7650         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7651         (show): Focus initial component when window is shown for the
7652         first time.
7653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7654         (pre_event_handler): Replace complex key press and key release
7655         logic with simple callbacks into GtkComponentPeer.
7656         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7657
7658 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7659
7660         * javax/swing/MenuSelectionManager.java
7661         (componentForPoint): Added new method. 
7662         (defaultManager): New Method. Implemented.
7663         (getSelectedPath): Ditto.
7664         (isComponentPartOfCurrentMenu): Ditto.
7665         (processKeyEvent): Added new method.
7666         (processMouseEvent): New Method. Implemented.
7667         (setSelectedPath): Ditto.
7668         (getPath): Ditto.
7669
7670 2004-04-19  Kim Ho  <kho@redhat.com>
7671
7672         * java/awt/Container.java: 
7673         (remove): Set the component's parent to null.
7674         (getComponentAt): Implement.
7675         * javax/swing/JComponent.java:
7676         (JComponent): Initialize defaultLocale
7677         (getDefaultLocale): Implement.
7678         (setDefaultLocale): ditto.
7679         * javax/swing/JSlider.java:
7680         (JSlider): Fix calculation of value.
7681         * javax/swing/JSplitPane.java: Implement.
7682         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7683         Change SplitPane's default divider size.
7684         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7685         (paint): Remove unused code.
7686         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7687         Added comments and ran through jalopy.
7688         (setBasicSplitPaneUI): Get reference to hidden divider
7689         and set up one touch buttons if necessary.
7690         (setBorder): Fire propertyChangeEvent only if 
7691         borders are different.
7692         (getPreferredSize): Defer to layout manager.
7693         (propertyChange): Implement.
7694         (oneTouchExpandableChanged): ditto.
7695         (createLeftOneTouchButton): Use BasicArrowButton.
7696         (createRightOneTouchButton): ditto.
7697         (moveDividerTo): New method. Moves the divider
7698         to a set location based on the last divider location.
7699         (BasicSplitPaneDivider::MouseHandler): Implement.
7700         (BasicSplitPaneDivider::OneTouchButton): Removed.
7701         (BasicSplitPaneDivider::DragController): Implement.
7702         (BasicSplitPaneDivider::VerticalDragController):
7703         ditto.
7704         (BasicSplitPaneDivider::DividerLayout): ditto.
7705         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7706         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7707         (calculateLayoutInfo): Don't show component if it's
7708         null.
7709         (paintTab): Fix title paint logic.
7710
7711 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7712
7713         PR libgcj/8321
7714         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7715         (setStartRule,setEndRule): Don't take abs of day number.
7716         (getOffset): Clarify docs.  Add argument checks.
7717         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7718         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7719         endTimeMode.
7720         * testsuite/libjava.mauve/xfails
7721         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7722
7723 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7724
7725         Layout interfaces during preparation, not initialization. 
7726         * java/lang/natClass.cc (initializeClass): Move 
7727         _Jv_LayoutInterfaceMethods call...
7728         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7729
7730 2004-05-19  Anthony Green  <green@localhost.localdomain>
7731
7732         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7733         gnu.javax.rmi code.
7734         * Makefile.in: Rebuilt.
7735         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7736         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7737         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7738         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7739         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7740         gnu/javax/rmi/CORBA/DelegateFactory.java,
7741         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7742         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7743         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7744         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7745         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7746         gnu/javax/rmi/PortableServer.java: Remove files.
7747
7748 2004-05-19  Anthony Green  <green@redhat.com>
7749
7750         * Makefile.am: Define JAVA_EXT_DIRS.
7751         * Makefile.in: Rebuilt.
7752         * java/lang/natRuntime.cc (insertSystemProperties): Set
7753         java.ext.dirs property.
7754
7755 2004-05-16  Mark Wielaard  <mark@klomp.org>
7756
7757         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7758
7759 2004-05-15  Mark Wielaard  <mark@klomp.org>
7760
7761         * doc/cni.sgml: Removed, merged into gcj.texi.
7762
7763 2004-05-15  Mark Wielaard  <mark@klomp.org>
7764
7765         * Makefile.am (ordinary_java_source_files): Add new javax.print
7766         classes.
7767         * Makefile.in: Regenerated.
7768
7769 2004-05-15  Michael Koch  <konqueror@gmx.de>
7770
7771         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7772         javax/print/attribute/standard/DateTimeAtCreation.java,
7773         javax/print/attribute/standard/DateTimeAtProcessing.java,
7774         javax/print/attribute/standard/DocumentName.java,
7775         javax/print/attribute/standard/JobHoldUntil.java,
7776         javax/print/attribute/standard/JobImpressionsCompleted.java,
7777         javax/print/attribute/standard/JobMessageFromOperator.java,
7778         javax/print/attribute/standard/JobName.java,
7779         javax/print/attribute/standard/JobOriginatingUserName.java,
7780         javax/print/attribute/standard/JobPriority.java,
7781         javax/print/attribute/standard/JobPrioritySupported.java,
7782         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7783         javax/print/attribute/standard/OutputDeviceAssigned.java,
7784         javax/print/attribute/standard/PrinterInfo.java,
7785         javax/print/attribute/standard/PrinterLocation.java,
7786         javax/print/attribute/standard/PrinterMakeAndModel.java,
7787         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7788         javax/print/attribute/standard/PrinterName.java,
7789         javax/print/attribute/standard/QueuedJobCount.java,
7790         javax/print/attribute/standard/RequestingUserName.java:
7791         Fixed javadocs all over.
7792
7793 2004-05-15  Michael Koch  <konqueror@gmx.de>
7794
7795         * javax/print/DocFlavor.java,
7796         javax/print/attribute/standard/ColorSupported.java,
7797         javax/print/attribute/standard/Compression.java,
7798         javax/print/attribute/standard/CopiesSupported.java,
7799         javax/print/attribute/standard/Fidelity.java,
7800         javax/print/attribute/standard/Finishings.java,
7801         javax/print/attribute/standard/JobImpressionsSupported.java,
7802         javax/print/attribute/standard/JobKOctetsSupported.java,
7803         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7804         javax/print/attribute/standard/JobSheets.java,
7805         javax/print/attribute/standard/JobState.java,
7806         javax/print/attribute/standard/JobStateReason.java,
7807         javax/print/attribute/standard/JobStateReasons.java,
7808         javax/print/attribute/standard/Media.java,
7809         javax/print/attribute/standard/MediaSizeName.java,
7810         javax/print/attribute/standard/MultipleDocumentHandling.java,
7811         javax/print/attribute/standard/NumberUpSupported.java,
7812         javax/print/attribute/standard/OrientationRequested.java,
7813         javax/print/attribute/standard/PDLOverrideSupported.java,
7814         javax/print/attribute/standard/PageRanges.java,
7815         javax/print/attribute/standard/PresentationDirection.java,
7816         javax/print/attribute/standard/PrintQuality.java,
7817         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7818         javax/print/attribute/standard/PrinterMoreInfo.java,
7819         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7820         javax/print/attribute/standard/PrinterResolution.java,
7821         javax/print/attribute/standard/PrinterState.java,
7822         javax/print/attribute/standard/PrinterStateReason.java,
7823         javax/print/attribute/standard/PrinterStateReasons.java,
7824         javax/print/attribute/standard/PrinterURI.java,
7825         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7826         javax/print/attribute/standard/Severity.java,
7827         javax/print/attribute/standard/SheetCollate.java,
7828         javax/print/attribute/standard/Sides.java:
7829         Added serialVersionUID and removed final keyword where it doenst
7830         belong.
7831
7832 2004-05-15  Michael Koch  <konqueror@gmx.de>
7833
7834         * javax/print/PrintServiceLookup.java: New file.
7835
7836 2004-05-15  Michael Koch  <konqueror@gmx.de>
7837
7838         * javax/print/DocFlavor.java:
7839         Implemented all flavor classes.
7840
7841 2004-05-15  Michael Koch  <konqueror@gmx.de>
7842
7843         * javax/print/attribute/standard/ColorSupported.java,
7844         javax/print/attribute/standard/Compression.java,
7845         javax/print/attribute/standard/CopiesSupported.java,
7846         javax/print/attribute/standard/Fidelity.java,
7847         javax/print/attribute/standard/Finishings.java,
7848         javax/print/attribute/standard/JobImpressionsSupported.java,
7849         javax/print/attribute/standard/JobKOctetsSupported.java,
7850         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7851         javax/print/attribute/standard/JobSheets.java,
7852         javax/print/attribute/standard/JobState.java,
7853         javax/print/attribute/standard/JobStateReason.java,
7854         javax/print/attribute/standard/JobStateReasons.java,
7855         javax/print/attribute/standard/Media.java,
7856         javax/print/attribute/standard/MediaSizeName.java,
7857         javax/print/attribute/standard/MultipleDocumentHandling.java,
7858         javax/print/attribute/standard/NumberUpSupported.java,
7859         javax/print/attribute/standard/OrientationRequested.java,
7860         javax/print/attribute/standard/PDLOverrideSupported.java,
7861         javax/print/attribute/standard/PageRanges.java,
7862         javax/print/attribute/standard/PresentationDirection.java,
7863         javax/print/attribute/standard/PrintQuality.java,
7864         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7865         javax/print/attribute/standard/PrinterMoreInfo.java,
7866         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7867         javax/print/attribute/standard/PrinterResolution.java,
7868         javax/print/attribute/standard/PrinterState.java,
7869         javax/print/attribute/standard/PrinterStateReason.java,
7870         javax/print/attribute/standard/PrinterStateReasons.java,
7871         javax/print/attribute/standard/PrinterURI.java,
7872         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7873         javax/print/attribute/standard/Severity.java,
7874         javax/print/attribute/standard/SheetCollate.java,
7875         javax/print/attribute/standard/Sides.java: New files.
7876
7877 2004-05-15  Michael Koch  <konqueror@gmx.de>
7878
7879         * javax/print/Doc.java
7880         (getPrintData): Throws IOException.
7881         (getReaderForText): Likewise.
7882         (getStreamForBytes): Likewise.
7883         * javax/print/DocFlavor.java:
7884         Fixed filename in copyright.
7885         (serialVersionUID): New field.
7886         * javax/print/ServiceUIFactory.java:
7887         Made all constants final.
7888         * javax/print/AttributeException.java
7889         javax/print/MultiDoc.java
7890         javax/print/MultiDocPrintJob.java
7891         javax/print/MultiDocPrintService.java
7892         javax/print/StreamPrintService.java
7893         javax/print/URIException.java: New files.
7894         * javax/print/Makefile.am
7895         (EXTRA_DIST): Added all new files.
7896
7897 2004-05-15  Michael Koch  <konqueror@gmx.de>
7898
7899         * javax/print/attribute/standard/Copies.java,
7900         javax/print/attribute/standard/DateTimeAtCompleted.java,
7901         javax/print/attribute/standard/DateTimeAtCreation.java,
7902         javax/print/attribute/standard/DateTimeAtProcessing.java,
7903         javax/print/attribute/standard/DocumentName.java,
7904         javax/print/attribute/standard/JobHoldUntil.java,
7905         javax/print/attribute/standard/JobImpressions.java,
7906         javax/print/attribute/standard/JobImpressionsCompleted.java,
7907         javax/print/attribute/standard/JobKOctets.java,
7908         javax/print/attribute/standard/JobKOctetsProcessed.java,
7909         javax/print/attribute/standard/JobMediaSheets.java,
7910         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7911         javax/print/attribute/standard/JobMessageFromOperator.java,
7912         javax/print/attribute/standard/JobName.java,
7913         javax/print/attribute/standard/JobOriginatingUserName.java,
7914         javax/print/attribute/standard/JobPriority.java,
7915         javax/print/attribute/standard/JobPrioritySupported.java,
7916         javax/print/attribute/standard/NumberOfDocuments.java,
7917         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7918         javax/print/attribute/standard/NumberUp.java,
7919         javax/print/attribute/standard/OutputDeviceAssigned.java,
7920         javax/print/attribute/standard/PagesPerMinute.java,
7921         javax/print/attribute/standard/PagesPerMinuteColor.java:
7922         Fixed @return tag all over.
7923
7924 2004-05-15  Michael Koch  <konqueror@gmx.de>
7925
7926         * javax/print/attribute/AttributeSetUtilities.java
7927         (verifyCategoryForValue): Fixed typo in javadoc.
7928         * javax/print/attribute/HashAttributeSet.java
7929         (containsKey): Fixed @return tag.
7930         (comtainsValue): Likewise.
7931         (equals): Likewise.
7932         * javax/print/attribute/IntegerSyntax.java
7933         (equals): Likewise.
7934         * javax/print/attribute/ResolutionSyntax.java
7935         (equals): Likewise.
7936         (getCrossFeedResolution): Removed unused code.
7937         (getFeedResolution): Likewise.
7938         * javax/print/attribute/SetOfIntegerSyntax.java
7939         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7940         (equals): Fixed @return tag.
7941         * javax/print/attribute/TextSyntax.java
7942         (TextSyntax): Take locale into account.
7943         (hashCode): Better implementation.
7944
7945 2004-05-15  Michael Koch  <konqueror@gmx.de>
7946
7947         * javax/print/CancelablePrintJob.java,
7948         javax/print/Doc.java,
7949         javax/print/DocFlavor.java,
7950         javax/print/DocPrintJob.java,
7951         javax/print/FlavorException.java,
7952         javax/print/PrintException.java,
7953         javax/print/PrintService.java,
7954         javax/print/ServiceUIFactory.java: New files.
7955
7956 2004-05-15  Mark Wielaard  <mark@klomp.org>
7957
7958         * gnu/regexp/CharIndexedReader.java: Removed.
7959         * gnu/regexp/REFilterReader.java: Likewise.
7960         * gnu/regexp/RETokenLookAhead.java: Likewise.
7961         * Makefile.am (ordinary_java_source_files): Remove above classes.
7962         * Makefile.in: Regenerated.
7963
7964 2004-05-14  Tom Tromey  <tromey@redhat.com>
7965
7966         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7967         not `XGraphicsConfiguration.XOffScreenImage'.
7968
7969 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7970
7971         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7972
7973 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7974
7975         * include/jni.h (_Jv_func): Removed.
7976         (struct JNINativeInterface): Use `void *' for reserved slots.
7977         (struct JNIInvokeInterface): Likewise.
7978
7979 2004-05-11  Michael Koch  <konqueror@gmx.de>
7980
7981         * gnu/java/net/natPlainSocketImplPosix.cc
7982         (read): Fixed typo in expression.
7983
7984 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7985
7986         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7987         ld_library_additions. Adjust all calls to libjava_invoke to match
7988         the new argument.
7989
7990         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7991         path to cxxflagslist.
7992         Pass path of libstdc++ to libjava_invoke.
7993
7994         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7995         libjava_invoke arguments.
7996
7997 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7998
7999         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8000         reality.
8001
8002 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
8003
8004         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8005         main binary against the JNI shared library.
8006
8007 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8008
8009         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8010         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8011         (SimpleTimeZone): Tweak docs.  Add new variation.
8012         (setStartRule,setEndRule): Add new variations.  Use
8013         startTimeMode and endTimeMode.
8014
8015 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
8016
8017         * java/util/Calendar.java (getActualMinimum,
8018         getActualMaximum):  Remove abstract.  Implement.
8019
8020 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8021
8022         Run the jni tests using the interpreter.
8023         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8024         options_cxx to shared lib compile command.
8025         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8026         they are used to link the shared lib, not the main binary.
8027         Use libjava_invoke to run gij.
8028
8029 2004-05-06  Michael Koch  <konqueror@gmx.de>
8030
8031         * java/util/logging/Level.java
8032         (parse): Use == instead of String.equals().
8033
8034 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
8035
8036         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
8037         verify_field_signature and verify_method_signature, not 
8038         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8039         (_Jv_ClassReader::handleField): Likewise.
8040         (_Jv_ClassReader::handleMethod): Likewise.
8041
8042 2004-05-06  Michael Koch  <konqueror@gmx.de>
8043
8044         * javax/swing/table/TableColumn.java:
8045         Reformated.
8046
8047 2004-05-06  Michael Koch  <konqueror@gmx.de>
8048
8049         * javax/imageio/spi/ImageReaderWriterSpi.java
8050         (ImageReaderWriterSpi): Made it public.
8051         * javax/imageio/stream/ImageInputStream.java:
8052         Clean up imports.
8053
8054 2004-05-06  Michael Koch  <konqueror@gmx.de>
8055
8056         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8057         Removed empty line.
8058
8059 2004-05-06  Michael Koch  <konqueror@gmx.de>
8060
8061         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8062         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8063         New files.
8064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8065         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8067         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8068         their own source file.
8069         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8070         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8071         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8073         (create): Define variable on top of function.
8074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8075         (menu_pos): Prototyped.
8076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8077         (setTitle): Removed.
8078         * jni/gtk-peer/gthread-jni.c
8079         (gdk_threads_wake): Removed.
8080         * Makefile.am (gtk_c_source_files): Added new files
8081         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8082         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8083         * Makefile.in: Regenerated.
8084
8085 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
8086
8087         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8088         call.
8089
8090 2004-05-05  Mark Wielaard  <mark@klomp.org>
8091
8092         * javax/swing/AbstractButton.java: Replace special HTML entities with
8093         ASCII equivalent.
8094         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8095         * javax/swing/DefaultButtonModel.java: Likewise.
8096         * javax/swing/DefaultListModel.java: Likewise.
8097         * javax/swing/JList.java: Likewise.
8098         * javax/swing/JSlider.java: Likewise.
8099         * javax/swing/ListModel.java: Likewise.
8100         * javax/swing/Popup.java: Likewise.
8101         * javax/swing/SwingUtilities.java: Likewise.
8102
8103 2004-05-05  Michael Koch  <konqueror@gmx.de>
8104
8105         * javax/swing/AbstractButton.java,
8106         javax/swing/ActionMap.java,
8107         javax/swing/DefaultButtonModel.java,
8108         javax/swing/DefaultListModel.java,
8109         javax/swing/ImageIcon.java,
8110         javax/swing/JComboBox.java,
8111         javax/swing/JComponent.java,
8112         javax/swing/JFrame.java,
8113         javax/swing/JInternalFrame.java,
8114         javax/swing/JMenuBar.java,
8115         javax/swing/JMenuItem.java,
8116         javax/swing/JOptionPane.java,
8117         javax/swing/JProgressBar.java,
8118         javax/swing/JRootPane.java,
8119         javax/swing/JScrollBar.java,
8120         javax/swing/JScrollPane.java,
8121         javax/swing/JSeparator.java,
8122         javax/swing/JSlider.java,
8123         javax/swing/JTabbedPane.java,
8124         javax/swing/JTable.java,
8125         javax/swing/JTextField.java,
8126         javax/swing/JToolBar.java,
8127         javax/swing/JToolTip.java,
8128         javax/swing/JTree.java,
8129         javax/swing/JViewport.java,
8130         javax/swing/JWindow.java,
8131         javax/swing/KeyStroke.java,
8132         javax/swing/LookAndFeel.java,
8133         javax/swing/SwingUtilities.java,
8134         javax/swing/Timer.java,
8135         javax/swing/ToolTipManager.java,
8136         javax/swing/UIDefaults.java,
8137         javax/swing/border/TitledBorder.java,
8138         javax/swing/filechooser/FileSystemView.java,
8139         javax/swing/plaf/basic/BasicButtonListener.java,
8140         javax/swing/plaf/basic/BasicButtonUI.java,
8141         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8142         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8143         javax/swing/plaf/basic/BasicLabelUI.java,
8144         javax/swing/plaf/basic/BasicMenuItemUI.java,
8145         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8146         javax/swing/plaf/basic/BasicRootPaneUI.java,
8147         javax/swing/plaf/basic/BasicScrollBarUI.java,
8148         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8149         javax/swing/plaf/basic/BasicSliderUI.java,
8150         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8151         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8152         javax/swing/table/JTableHeader.java,
8153         javax/swing/text/AbstractDocument.java,
8154         javax/swing/text/DefaultCaret.java,
8155         javax/swing/text/StyledEditorKit.java,
8156         javax/swing/tree/DefaultTreeCellEditor.java:
8157         Cleaned up imports.
8158
8159 2004-05-05  Michael Koch  <konqueror@gmx.de>
8160
8161         * java/util/prefs/AbstractPreferences.java
8162         (AbstractPreferences): Added parenthesis for clarity.
8163         Closes classpath bug #7940.
8164
8165 2004-05-05  Tom Tromey  <tromey@redhat.com>
8166
8167         * javax/naming/CompoundName.java (endsWith): Look at correct
8168         element of source name.
8169
8170 2004-05-05  Mark Wielaard  <mark@klomp.org>
8171
8172         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8173         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8174
8175 2004-05-05  Tom Tromey  <tromey@redhat.com>
8176
8177         * java/io/BufferedReader.java (skip): Removed unused
8178         variable.
8179
8180 2004-05-05  Michael Koch  <konqueror@gmx.de>
8181
8182         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8183
8184 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8185
8186         * java/text/AttributedString.java,
8187         java/text/AttributedStringIterator.java,
8188         java/text/Collator.java,
8189         java/text/DecimalFormatSymbols.java,
8190         java/text/NumberFormat.java,
8191         java/text/RuleBasedCollator.java:
8192         Cleaned up imports.
8193
8194 2004-05-05  Tom Tromey  <tromey@redhat.com>
8195
8196         * java/text/Format.java: Cleaned up imports.
8197         * java/text/DecimalFormat.java: Cleaned up imports.
8198         * java/security/SecureRandom.java: Cleaned up imports.
8199         (SecureRandom): Removed unused variable.
8200         * java/security/UnresolvedPermission.java: Cleaned up imports.
8201         * java/util/Date.java (parse): Removed unused variable.
8202         * java/util/ResourceBundle.java: Cleaned up imports.
8203         (getBundle): Removed unused variable.
8204         (tryBundle): Likewise.
8205         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8206
8207 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8208
8209         * java/text/SimpleDateFormat.java:
8210         (formatWithAttribute): New method. It implements
8211         the formatting process with attributes.
8212         (format): Use formatWithAttribute.
8213         (formatToCharacterIterator): New method. Use
8214         formatWithAttribute.
8215
8216 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8217
8218         * java/text/MessageFormat.java:
8219         (class Field): New class.
8220         (formatToCharacterIterator): New method.
8221         (format): Use formatInternal now.
8222         (formatInternal): New method. String formatter should
8223         be done here (with attributes). Attributes merging supported.
8224         (parse): More documentation.
8225         (getFormatsByArgumentIndex): New method.
8226         (setFormatByArgumentIndex): New method.
8227         (setFormatsByArgumentIndex): New method.
8228
8229 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8230
8231         * java/text/DecimalFormat.java
8232         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8233         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8234         (parse): Fixed handling of exponentiation notation and grouping.
8235
8236 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8237
8238         * java/text/DecimalFormat.java
8239         (scanFix): Build attribute array. Fixed error reporting.
8240         (applyPatternWithSymbols): Store attributes for the prefix and
8241         suffix.
8242         (formatInternal): New method. Changed the way the string is
8243         computed. Implemented attributes. Cleant up rounding in
8244         exponential notation.
8245         (format): Use formatInternal.
8246         (formatToCharacterIterator): New method.
8247         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8248         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8249         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8250         New fields.
8251
8252 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8253
8254         * java/security/interfaces/DSAKeyPairGenerator.java,
8255         java/security/interfaces/DSAPrivateKey.java,
8256         java/security/interfaces/DSAPublicKey.java,
8257         java/security/interfaces/RSAPrivateKey.java,
8258         java/security/interfaces/RSAPublicKey.java:
8259         Cleaned up imports.
8260
8261 2004-05-04  Michael Koch  <konqueror@gmx.de>
8262
8263         * java/nio/ByteBuffer.java,
8264         java/nio/CharBuffer.java,
8265         java/nio/DoubleBuffer.java,
8266         java/nio/FloatBuffer.java,
8267         java/nio/IntBuffer.java,
8268         java/nio/LongBuffer.java,
8269         java/nio/ShortBuffer.java:
8270         (compareTo): Fixed bogus implementation in all buffer classes.
8271
8272 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8273
8274         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8275         32 bit pixels not 8 bit pixels.
8276         (isCompatibleRaster): Added javadoc comment.
8277
8278 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8279
8280         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8281         scanline stride.
8282
8283 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8284
8285         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8286         (getColorModel): Return the actual color model.
8287         (getRaster): Implemented.
8288         (ColorRaster): New inner class.
8289         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8290         a PaintContext.
8291         * java/awt/Color.java (<init>): Make exception more verbose.
8292         (createContext): Use ColorModel when creating a PaintContext.
8293
8294 2004-05-04  Michael Koch  <konqueror@gmx.de>
8295
8296         * gnu/java/text/CharacterBreakIterator.java
8297         (previous): Removed unused variable.
8298
8299 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8300
8301         * gnu/java/text/FormatBuffer.java,
8302         gnu/java/text/AttributedFormatBuffer.java,
8303         gnu/java/text/StringFormatBuffer.java: New classes to implement
8304         attributed iterators in java.text.
8305         * gnu/java/text/FormatCharacterIterator.java: Moved 
8306         from java/text as it is an internal class.
8307         * java/text/FormatCharacterIterator.java: Removed.
8308         * java/text/Format.java:
8309         Import gnu.java.text.FormatCharacterIterator.
8310         * Makefile.am (java_source_files): Added new files.
8311         * Makefile.in: Regenerated.
8312         
8313
8314 2004-05-04  Mark Wielaard  <mark@klomp.org>
8315
8316         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8317
8318 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8319
8320         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8321         * Makefile.in: Rebuilt.
8322
8323 2004-05-03  Mark Wielaard  <mark@klomp.org>
8324
8325         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8326         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8327         * java/net/URL.java
8328         (set(String, String, int, String, String, String, String, String)):
8329         Assign this.file to path or path + "?" + query.
8330         * java/util/Arrays.java: Call static methods staticly.
8331         * java/util/zip/ZipEntry.java: Likewise.
8332         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8333         dir to this.direction.
8334         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8335         Assign static field only once.
8336         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8337
8338 2004-05-03  Mark Wielaard  <mark@klomp.org>
8339
8340         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8341         unused variables hScrollbarHeight and vScrollbarWidth.
8342         (preferredSize): Likewise.
8343         * gnu/java/security/provider/DSAParameters.java (engineToString):
8344         Removed unused call to System.getProperty("line.seperator");
8345         * java/security/Security.java (loadProviders): Return result.
8346
8347 2004-05-03  Tom Tromey  <tromey@redhat.com>
8348
8349         * java/net/URLStreamHandler.java (toExternalForm): Removed
8350         unused variables.
8351         unused constructor.
8352         * java/math/BigDecimal.java (divide): Removed unused variable.
8353         * java/lang/Throwable.java: Cleaned up imports.
8354         * java/lang/ClassLoader.java: Cleaned up imports.
8355         * java/io/FilePermission.java (implies): Removed unused
8356         variable.
8357         * java/awt/TextComponent.java: Removed unused import.
8358         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8359         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8360         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8361         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8362         import.
8363         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8364         * gnu/java/text/CharacterBreakIterator.java: Removed
8365         unused import.
8366         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8367         Cleaned up imports.
8368         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8369         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8370         unused method.
8371         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8372         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8373         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8374         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8375         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8376         (lookupProviders): Removed unused variable.
8377         (loadNextServiceProvider): Likewise.
8378         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8379
8380 2004-05-03  Michael Koch  <konqueror@gmx.de>
8381
8382         Fixes PR libgcj/14695:
8383         * java/net/NetworkInterface.java
8384         (getByName): Return null when no interface was found.
8385
8386 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8387             Tom Tromey  <tromey@redhat.com>
8388
8389         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8390         additional option "-Wmissing-prototypes" for compiling C sources.
8391         Print actual filename for pass/fail rather than $name.c.
8392         * testsuite/libjava.jni/PR15133.java: New testcase file.
8393         * testsuite/libjava.jni/PR15133.c: Likewise.
8394         * testsuite/libjava.jni/PR15133.out: Likewise.
8395
8396 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8397
8398         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8399         ceil and floor.
8400
8401 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8402         
8403         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8404         limit the maximum heap size to avoid unnecessary thrashing.
8405
8406 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8407
8408         * java/text/CollationElementIterator.java (reset): Reset
8409         lookahead variables.
8410
8411 2004-04-23  Mark Wielaard  <mark@klomp.org>
8412
8413         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8414
8415 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8416
8417         * java/sql/DriverManager.java:
8418         Cleaned up imports.
8419
8420 2004-04-23  Michael Koch  <konqueror@gmx.de>
8421
8422         * java/net/URL.java
8423         (hashcode): Don't initialize with default value explicitely.
8424         (getContent): Removed redundant "final" keyword.
8425         (openStream): Likewise.
8426         (getURLStreamHandler): Fixed coding style.
8427         * java/net/URLConnection.java
8428         (defaultAllowUserInteraction): Don't initialize with default value
8429         explicitely.
8430         (connected): Likewise.
8431         (doOutput): Likewise.
8432         (ifModifiedSince): Likewise.
8433         (dateformats_initialized): Likewise.
8434         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8435
8436 2004-04-23  Michael Koch  <konqueror@gmx.de>
8437
8438         * gnu/java/nio/channels/FileChannelImpl.java
8439         (SET, CUR): Unused, removed.
8440         (read): Implement here directly.
8441         (implRead): Removed.
8442         (write): Implement here directly.
8443         (implWrite): Removed.
8444
8445 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8446
8447         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8448         javax/rmi/CORBA/Stub.java,
8449         javax/rmi/CORBA/Util.java,
8450         javax/rmi/CORBA/ValueHandler.java,
8451         javax/rmi/CORBA/ValueHandler.java,
8452         javax/rmi/PortableRemoteObject.java:
8453         Cleaned up imports.
8454
8455 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8456
8457         * java/util/jar/JarFile.java,
8458         java/util/jar/JarInputStream.java,
8459         java/util/jar/JarOutputStream.java,
8460         java/util/jar/Manifest.java:
8461         Cleaned up imports.
8462
8463 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8464
8465         * java/util/ArrayList.java,
8466         java/util/Calendar.java,
8467         java/util/Currency.java,
8468         java/util/HashMap.java,
8469         java/util/HashSet.java,
8470         java/util/Hashtable.java,
8471         java/util/LinkedList.java,
8472         java/util/Properties.java,
8473         java/util/PropertyPermission.java,
8474         java/util/TimeZone.java,
8475         java/util/TreeMap.java,
8476         java/util/TreeSet.java,
8477         java/util/Vector.java,
8478         java/util/WeakHashMap.java:
8479         Cleaned up imports.
8480
8481 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8482
8483         * java/util/logging/FileHandler.java,
8484         java/util/logging/Formatter.java,
8485         java/util/logging/Handler.java,
8486         java/util/logging/Logger.java,
8487         java/util/logging/SimpleFormatter.java,
8488         java/util/logging/XMLFormatter.java:
8489         Cleaned up imports.
8490
8491 2004-04-22  Mark Wielaard  <mark@klomp.org>
8492
8493         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8494         -Wno-long-long flags variable.
8495         (gtk_c_files): Use PEDANTIC_CFLAGS.
8496         * Makefile.in: Regenerated.
8497
8498 2004-04-22  Mark Wielaard  <mark@klomp.org>
8499
8500         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8501         Changed C++ comments into C comments.
8502         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8503         Likewise.
8504
8505 2004-04-22  Michael Koch  <konqueror@gmx.de>
8506
8507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8508         Merged copyright year with GNU classpath.
8509
8510 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8511
8512         * javax/security/auth/x500/X500Principal.java:
8513         Cleaned up imports.
8514
8515 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8516
8517         * javax/swing/JSlider.java:
8518         Fixed HTML tags in comments.
8519
8520 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8521
8522         * javax/accessibility/AccessibleText.java:
8523         Cleaned up imports.
8524
8525 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8526
8527         * java/net/URLStreamHandler.java
8528         (parseURL): Convert the file path to using '/' instead of native
8529         file separator.
8530
8531 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8532
8533         * java/net/URL.java
8534         (userInfo): New field.
8535         (URL): Set authority to the right value.
8536         (setURL): Fixed authority and file initialization.
8537         * java/net/URLStreamHandler.java
8538         (parseURL): Take care of the query tag. Build authority.
8539         (toExternalForm): Fixed URL building using authority.
8540
8541 2004-04-22  Michael Koch  <konqueror@gmx.de>
8542
8543         * java/net/Socket.java
8544         (impl): Made package-private.
8545         * java/net/ServerSocket.java
8546         (implAccept): Access Socket.impl field directly.
8547
8548 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8549
8550         * java/util/prefs/Preferences.java,
8551         java/util/prefs/InvalidPreferencesFormatException.java,
8552         java/util/prefs/BackingStoreException.java,
8553         java/util/prefs/AbstractPreferences.java:
8554         Cleaned up imports.
8555
8556 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8557
8558         * java/util/regex/Matcher.java,
8559         java/util/regex/Pattern.java:
8560         Cleaned up imports.
8561
8562 2004-04-22  Michael Koch  <konqueror@gmx.de>
8563
8564         * java/nio/charset/IllegalCharsetNameException.java
8565         (charsetName): Made private.
8566         (IllegalCharsetNameException): Added @param tag to javadoc.
8567         (getCharsetName): Added @return tag to javadoc.
8568         * java/nio/charset/MalformedInputException.java
8569         (MalformedInputException): Added @param tag to javadoc.
8570         (getInputLength): Revised method description, added @return tag.
8571         (getMessage): Added @return tag.
8572
8573 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8574
8575         * java/awt/Font.java (deriveFont): Implement missing variants.
8576         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8577         missing variants.
8578
8579 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8580
8581         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8582         Set method->index values for interface methods to their itable index.
8583         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8584
8585 2004-04-21  Michael Koch  <konqueror@gmx.de>
8586
8587         * java/nio/DirectByteBufferImpl.java
8588         (shiftDown): Made static, give address as argument and
8589         provide a convenience method that overwrites shiftDown in
8590         ByteBufferImpl and calls the native shiftDown.
8591         * java/nio/MappedByteBufferImpl.java
8592         (): Use optimized method in DirectByteBufferImpl.
8593         * java/nio/natDirectByteBufferImpl.cc
8594         (shiftDown): Changed method signature. Removed usage of array_offset.
8595
8596 2004-04-21  Michael Koch  <konqueror@gmx.de>
8597
8598         * gnu/java/net/natPlainSocketImplPosix.cc
8599         (SocketInputStream::read): Make sure returned data is a byte value.
8600
8601 2004-04-21  Michael Koch  <konqueror@gmx.de>
8602
8603         * gnu/classpath/ServiceFactory.java,
8604         gnu/classpath/ServiceProviderLoadingAction.java,
8605         javax/imageio/ImageReader.java,
8606         javax/imageio/ImageTranscoder.java,
8607         javax/imageio/ImageWriter.java,
8608         javax/imageio/package.html,
8609         javax/imageio/spi/IIOServiceProvider.java,
8610         javax/imageio/spi/ImageInputStreamSpi.java,
8611         javax/imageio/spi/ImageOutputStreamSpi.java,
8612         javax/imageio/spi/ImageReaderWriterSpi.java,
8613         javax/imageio/spi/ImageTranscoderSpi.java,
8614         javax/imageio/spi/RegisterableService.java,
8615         javax/imageio/spi/ServiceRegistry.java,
8616         javax/imageio/spi/package.html,
8617         javax/imageio/stream/IIOByteBuffer.java,
8618         javax/imageio/stream/ImageInputStream.java,
8619         javax/imageio/stream/ImageOutputStream.java,
8620         javax/imageio/stream/package.html:
8621         New files.
8622         * Makefile.am
8623         (ordinary_java_source_files): Added
8624         gnu/classpath/ServiceFactory.java and
8625         gnu/classpath/ServiceProviderLoadingAction.java.
8626         (javax_source_files): Added
8627         javax/imageio/ImageReader.java,
8628         javax/imageio/ImageTranscoder.java,
8629         javax/imageio/ImageWriter.java,
8630         javax/imageio/spi/IIOServiceProvider.java,
8631         javax/imageio/spi/ImageInputStreamSpi.java,
8632         javax/imageio/spi/ImageOutputStreamSpi.java,
8633         javax/imageio/spi/ImageReaderWriterSpi.java,
8634         javax/imageio/spi/ImageTranscoderSpi.java,
8635         javax/imageio/spi/RegisterableService.java,
8636         javax/imageio/spi/ServiceRegistry.java,
8637         javax/imageio/stream/IIOByteBuffer.java,
8638         javax/imageio/stream/ImageInputStream.java and
8639         javax/imageio/stream/ImageOutputStream.java.
8640         * Makefile.in: Regenerated.
8641
8642 2004-04-21  Michael Koch  <konqueror@gmx.de>
8643
8644         * java/util/Properties.java
8645         (load): Fix wrongly merged fix.
8646
8647 2004-04-21  Mark Wielaard  <mark@klomp.org>
8648
8649         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8650         malloc and free buf.
8651
8652 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8653
8654         * javax/naming/AuthenticationException.java,
8655         javax/naming/AuthenticationNotSupportedException.java,
8656         javax/naming/CannotProceedException.java,
8657         javax/naming/CommunicationException.java,
8658         javax/naming/CompoundName.java,
8659         javax/naming/ConfigurationException.java,
8660         javax/naming/ContextNotEmptyException.java,
8661         javax/naming/InitialContext.java,
8662         javax/naming/InsufficientResourcesException.java,
8663         javax/naming/InterruptedNamingException.java,
8664         javax/naming/LimitExceededException.java,
8665         javax/naming/LinkException.java,
8666         javax/naming/LinkLoopException.java,
8667         javax/naming/LinkRef.java,
8668         javax/naming/MalformedLinkException.java,
8669         javax/naming/Name.java,
8670         javax/naming/NameAlreadyBoundException.java,
8671         javax/naming/NameNotFoundException.java,
8672         javax/naming/NamingSecurityException.java,
8673         javax/naming/NoInitialContextException.java,
8674         javax/naming/NoPermissionException.java,
8675         javax/naming/NotContextException.java,
8676         javax/naming/PartialResultException.java,
8677         javax/naming/ReferralException.java,
8678         javax/naming/ServiceUnavailableException.java,
8679         javax/naming/SizeLimitExceededException.java,
8680         javax/naming/TimeLimitExceededException.java,
8681         javax/naming/directory/Attribute.java,
8682         javax/naming/directory/Attributes.java,
8683         javax/naming/directory/SearchResult.java,
8684         javax/naming/event/NamingExceptionEvent.java,
8685         javax/naming/spi/ResolveResult.java:
8686         Cleaned up imports.
8687
8688 2004-04-21  Mark Wielaard  <mark@klomp.org>
8689
8690         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8691         Changed C++ comments into C comments. Removed commented out code.
8692         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8693         Likewise.
8694         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8695         Likewise.
8696         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8697         Likewise.
8698         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8699         Likewise.
8700         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8701         Likewise.
8702         * native/jni/gtk-peer/gthread-jni.c:
8703         Likewise.
8704
8705 2004-04-21  Mark Wielaard  <mark@klomp.org>
8706
8707         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8708         static fields defined in interface.
8709         * javax/awt/JDialog.java: Likewise.
8710         (JDialog): Make constructors public.
8711         (getDefaultCloseOperation): Make public.
8712         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8713         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8714         * javax/swing/JViewport.java (JViewport): Make constructor public.
8715
8716 2004-04-21  Michael Koch  <konqueror@gmx.de>
8717
8718         * java/util/Map.java
8719         (Entry): Removed redundant "static" modifier.
8720         * java/text/AttributedCharacterIterator.java:
8721         Updated copyright year.
8722
8723 2004-04-20  Michael Koch  <konqueror@gmx.de>
8724
8725         * javax/naming/directory/SearchControls.java:
8726         Don't explicitely extend java.lang.Object.
8727         * javax/naming/spi/DirStateFactory.java:
8728         Merged copyright year with GNU classpath.
8729
8730 2004-04-20  Michael Koch  <konqueror@gmx.de>
8731
8732         * java/nio/channels/Channels.java:
8733         Merged coding style with GNU classpath.
8734
8735 2004-04-20  Michael Koch  <konqueror@gmx.de>
8736
8737         * java/net/ServerSocket.java
8738         Merged coding style from GNU classpath.
8739
8740 2004-04-20  Michael Koch  <konqueror@gmx.de>
8741
8742         * java/io/BufferedWriter.java:
8743         Reordered variables to be at top of the class.
8744         (localFlush): Removed redundant final keyword.
8745
8746 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8747
8748         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8749
8750 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8751
8752         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8753         for percent and permill check.
8754
8755 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8756
8757         * java/text/FieldPosition.java
8758         (FieldPosition) Constructor now behaves as it should according
8759         to the java documentation.
8760
8761 2004-04-20  Mark Wielaard  <mark@klomp.org>
8762
8763         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8764         documentation.
8765
8766 2004-04-20  Michael Koch  <konqueror@gmx.de>
8767
8768         * java/nio/Buffer.java,
8769         java/nio/channels/AlreadyConnectedException.java,
8770         java/nio/channels/AsynchronousCloseException.java,
8771         java/nio/channels/ByteChannel.java,
8772         java/nio/channels/CancelledKeyException.java,
8773         java/nio/channels/Channel.java,
8774         java/nio/channels/Channels.java,
8775         java/nio/channels/ClosedByInterruptException.java,
8776         java/nio/channels/ClosedChannelException.java,
8777         java/nio/channels/ClosedSelectorException.java,
8778         java/nio/channels/ConnectionPendingException.java,
8779         java/nio/channels/DatagramChannel.java,
8780         java/nio/channels/FileChannel.java,
8781         java/nio/channels/FileLock.java,
8782         java/nio/channels/FileLockInterruptionException.java,
8783         java/nio/channels/GatheringByteChannel.java,
8784         java/nio/channels/IllegalBlockingModeException.java,
8785         java/nio/channels/IllegalSelectorException.java,
8786         java/nio/channels/InterruptibleChannel.java,
8787         java/nio/channels/NoConnectionPendingException.java,
8788         java/nio/channels/NonReadableChannelException.java,
8789         java/nio/channels/NonWritableChannelException.java,
8790         java/nio/channels/NotYetBoundException.java,
8791         java/nio/channels/NotYetConnectedException.java,
8792         java/nio/channels/OverlappingFileLockException.java,
8793         java/nio/channels/Pipe.java,
8794         java/nio/channels/ReadableByteChannel.java,
8795         java/nio/channels/ScatteringByteChannel.java,
8796         java/nio/channels/SelectableChannel.java,
8797         java/nio/channels/SelectionKey.java,
8798         java/nio/channels/Selector.java,
8799         java/nio/channels/ServerSocketChannel.java,
8800         java/nio/channels/SocketChannel.java,
8801         java/nio/channels/UnresolvedAddressException.java,
8802         java/nio/channels/UnsupportedAddressTypeException.java,
8803         java/nio/channels/WritableByteChannel.java,
8804         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8805         java/nio/channels/spi/AbstractSelectableChannel.java,
8806         java/nio/channels/spi/AbstractSelectionKey.java,
8807         java/nio/channels/spi/AbstractSelector.java,
8808         java/nio/channels/spi/SelectorProvider.java,
8809         java/nio/charset/spi/CharsetProvider.java:
8810         Fixed javadocs and jalopied all over java.nio.
8811
8812 2004-04-20  Michael Koch  <konqueror@gmx.de>
8813
8814         * java/nio/ByteBufferImpl.java,
8815         java/nio/CharBufferImpl.java,
8816         java/nio/DirectByteBufferImpl.java,
8817         java/nio/DoubleBufferImpl.java,
8818         java/nio/DoubleViewBufferImpl.java,
8819         java/nio/FloatBufferImpl.java,
8820         java/nio/FloatViewBufferImpl.java,
8821         java/nio/IntBufferImpl.java,
8822         java/nio/IntViewBufferImpl.java,
8823         java/nio/LongBufferImpl.java,
8824         java/nio/LongViewBufferImpl.java,
8825         java/nio/MappedByteBufferImpl.java,
8826         java/nio/ShortBufferImpl.java,
8827         java/nio/ShortViewBufferImpl.java:
8828         Made sure all classes are final and removed final keyword from all
8829         methods.
8830
8831 2004-04-20  Michael Koch  <konqueror@gmx.de>
8832
8833         * java/rmi/MarshalledObject.java,
8834         java/rmi/Naming.java,
8835         java/rmi/RemoteException.java,
8836         java/rmi/activation/ActivationException.java,
8837         java/rmi/server/ServerCloneException.java,
8838         java/security/AccessController.java,
8839         java/security/AlgorithmParameterGenerator.java,
8840         java/security/AlgorithmParameters.java,
8841         java/security/CodeSource.java,
8842         java/security/Identity.java,
8843         java/security/IdentityScope.java,
8844         java/security/KeyPairGenerator.java,
8845         java/security/KeyStore.java,
8846         java/security/Security.java,
8847         java/security/Signature.java,
8848         java/security/SignatureSpi.java,
8849         java/security/SignedObject.java,
8850         java/security/spec/DSAParameterSpec.java,
8851         java/security/spec/DSAPrivateKeySpec.java,
8852         java/security/spec/DSAPublicKeySpec.java,
8853         java/sql/Array.java,
8854         java/sql/DatabaseMetaData.java,
8855         java/sql/ResultSet.java,
8856         java/text/ChoiceFormat.java,
8857         java/text/CollationElementIterator.java,
8858         java/text/CollationKey.java,
8859         java/text/Collator.java,
8860         java/text/DateFormat.java,
8861         java/text/DateFormatSymbols.java,
8862         java/text/DecimalFormatSymbols.java,
8863         java/text/Format.java,
8864         java/text/ParsePosition.java,
8865         java/text/RuleBasedCollator.java,
8866         java/text/SimpleDateFormat.java,
8867         java/text/StringCharacterIterator.java,
8868         java/util/Collections.java,
8869         java/util/PropertyResourceBundle.java,
8870         java/util/ResourceBundle.java,
8871         java/util/StringTokenizer.java,
8872         java/util/jar/Attributes.java,
8873         java/util/logging/ConsoleHandler.java,
8874         java/util/logging/LogManager.java,
8875         java/util/logging/MemoryHandler.java,
8876         java/util/logging/SocketHandler.java,
8877         javax/naming/NamingException.java:
8878         Fixed javadoc, coding style and argument names all over.
8879
8880 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8881
8882         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8883         constructor. (valid) Added null check.
8884
8885 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8886
8887         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8888         * java/io/FileOutputStream.java
8889         (FileOutputStream) Reorganized constructors. Constructors now
8890         check whether the given path is directory.
8891
8892 2004-04-20  Michael Koch  <konqueror@gmx.de>
8893
8894         * java/net/Authenticator.java,
8895         java/net/BindException.java,
8896         java/net/ConnectException.java,
8897         java/net/ContentHandler.java,
8898         java/net/ContentHandlerFactory.java,
8899         java/net/DatagramPacket.java,
8900         java/net/DatagramSocket.java,
8901         java/net/DatagramSocketImpl.java,
8902         java/net/DatagramSocketImplFactory.java,
8903         java/net/FileNameMap.java,
8904         java/net/HttpURLConnection.java,
8905         java/net/Inet4Address.java,
8906         java/net/Inet6Address.java,
8907         java/net/InetAddress.java,
8908         java/net/InetSocketAddress.java,
8909         java/net/JarURLConnection.java,
8910         java/net/MalformedURLException.java,
8911         java/net/MulticastSocket.java,
8912         java/net/NetPermission.java,
8913         java/net/NetworkInterface.java,
8914         java/net/NoRouteToHostException.java,
8915         java/net/PasswordAuthentication.java,
8916         java/net/PortUnreachableException.java,
8917         java/net/ProtocolException.java,
8918         java/net/ServerSocket.java,
8919         java/net/Socket.java,
8920         java/net/SocketAddress.java,
8921         java/net/SocketException.java,
8922         java/net/SocketImpl.java,
8923         java/net/SocketImplFactory.java,
8924         java/net/SocketOptions.java,
8925         java/net/SocketPermission.java,
8926         java/net/SocketTimeoutException.java,
8927         java/net/URI.java,
8928         java/net/URISyntaxException.java,
8929         java/net/URL.java,
8930         java/net/URLClassLoader.java,
8931         java/net/URLConnection.java,
8932         java/net/URLDecoder.java,
8933         java/net/URLEncoder.java,
8934         java/net/URLStreamHandler.java,
8935         java/net/URLStreamHandlerFactory.java,
8936         java/net/UnknownHostException.java,
8937         java/net/UnknownServiceException.java:
8938         Fixed javadocs, coding style and argument names all over.
8939
8940 2004-04-20  Michael Koch  <konqueror@gmx.de>
8941
8942         * java/lang/Byte.java,
8943         java/lang/CharSequence.java,
8944         java/lang/ClassLoader.java,
8945         java/lang/Compiler.java,
8946         java/lang/Double.java,
8947         java/lang/Float.java,
8948         java/lang/Integer.java,
8949         java/lang/Long.java,
8950         java/lang/Math.java,
8951         java/lang/Number.java,
8952         java/lang/Package.java,
8953         java/lang/Runtime.java,
8954         java/lang/RuntimePermission.java,
8955         java/lang/SecurityManager.java,
8956         java/lang/Short.java,
8957         java/lang/StringBuffer.java,
8958         java/lang/System.java,
8959         java/lang/ThreadGroup.java,
8960         java/lang/Throwable.java,
8961         java/lang/reflect/InvocationHandler.java,
8962         java/lang/reflect/Proxy.java:
8963         Fixed javadocs, coding style and argument names all over.
8964
8965 2004-04-20  Michael Koch  <konqueror@gmx.de>
8966
8967         * java/io/BufferedWriter.java,
8968         java/io/ByteArrayInputStream.java,
8969         java/io/CharArrayWriter.java,
8970         java/io/DataInput.java,
8971         java/io/DataInputStream.java,
8972         java/io/File.java,
8973         java/io/FilterInputStream.java,
8974         java/io/InputStream.java,
8975         java/io/InputStreamReader.java,
8976         java/io/ObjectInputStream.java,
8977         java/io/ObjectStreamClass.java,
8978         java/io/PipedInputStream.java,
8979         java/io/PipedReader.java,
8980         java/io/PushbackInputStream.java,
8981         java/io/PushbackReader.java,
8982         java/io/RandomAccessFile.java,
8983         java/io/SerializablePermission.java,
8984         java/io/StreamTokenizer.java,
8985         java/io/StringWriter.java,
8986         java/io/WriteAbortedException.java,
8987         java/io/Writer.java:
8988         Fixed javadocs all over, rename arguments to match javadocs,
8989         fixed coding style.
8990
8991 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8992
8993         * java/awt/FontMetrics.java:
8994         (charsWidth): fixed accumulation of total_width
8995         (getWidth): simple default implementation
8996         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8997         in Rectangle constructor.
8998         * java/awt/image/Raster.java (toString): Added method. 
8999         * java/awt/image/SampleModel.java (<init>): Added error cause
9000         information to thrown exception.
9001         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9002         New method.
9003         (setDataElements): New method.
9004         (setPixels): New method.
9005         (toString): New method.
9006
9007 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9008
9009         * java/awt/image/ComponentColorModel.java
9010         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9011         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9012         Mauve tests on this method. Improved documentation.
9013
9014 2004-04-20  Michael Koch  <konqueror@gmx.de>
9015
9016         * javax/swing/JLayeredPane.java,
9017         javax/swing/plaf/BorderUIResource.java,
9018         javax/swing/plaf/ComponentUI.java,
9019         javax/swing/undo/CompoundEdit.java,
9020         javax/swing/undo/StateEdit.java:
9021         Fixed HTML tags in javadocs all over.
9022
9023 2004-04-20  Michael Koch  <konqueror@gmx.de>
9024
9025         * javax/print/attribute/EnumSyntax.java
9026         (getOffset): Made protected.
9027         * javax/print/attribute/HashAttributeSet.java
9028         (HashAttributeSet): Likewise.
9029         * javax/print/attribute/ResolutionSyntax.java
9030         (getFeedResolution): Fixed typo in exception name.
9031         (getCrossFeedResolution): Likewise.
9032         * javax/print/attribute/SetOfIntegerSyntax.java
9033         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9034         * javax/print/attribute/TextSyntax.java
9035         (TextSyntax): Handle locale correctly.
9036         (hashCode): Calc better hashcode value.
9037         (equals): Fixed @return tag.
9038         (toString): New method.
9039
9040 2004-04-20  Michael Koch  <konqueror@gmx.de>
9041
9042         * gnu/java/nio/FileLockImpl.java
9043         (static): Removed, not needed anymore.
9044         * gnu/java/nio/channels/FileChannelImpl.java
9045         (FileChannelImpl): Made final.
9046         (mode): Made private.
9047         (READ, WRITE, APPEND): Made public.
9048         (EXCL, SYNC, DSYNC): Likewise.
9049         (static): Load native JNI library, when needed.
9050         (length): Unused, removed.
9051         (available): Made public.
9052         (implPosition): Throws IOException.
9053         (seek): Likewise.
9054         (implTruncate): Likewise.
9055         (unlock): Likewise.
9056         (lock): Likewise.
9057
9058 2004-04-20  Michael Koch  <konqueror@gmx.de>
9059
9060         * java/awt/AWTPermission.java,
9061         java/awt/Component.java,
9062         java/awt/ComponentOrientation.java,,
9063         java/awt/Dialog.java,
9064         java/awt/FontMetrics.java,
9065         java/awt/Graphics.java,
9066         java/awt/datatransfer/DataFlavor.java,
9067         java/beans/Introspector.java,
9068         java/beans/PropertyEditor.java,
9069         java/beans/PropertyEditorManager.java,
9070         java/beans/beancontext/BeanContextServiceProvider.java:
9071         Fixed HTML tags in javadocs all over.
9072
9073 2004-04-20  Mark Wielaard  <mark@klomp.org>
9074
9075         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9076         MissingResourceException is thrown.
9077         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9078         null when a MissingResourceException is thrown. Should never happen.
9079
9080 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
9081
9082         * java/awt/image/DataBufferShort.java,
9083         java/awt/image/DataBufferFloat.java,
9084         java/awt/image/DataBufferDouble.java,
9085         java/awt/image/PixelInterleavedSampleModel.java: New files.
9086         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9087         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9088
9089 2004-04-20  Michael Koch  <konqueror@gmx.de>
9090
9091         * Makefile.am (java_source_files): Added
9092         java/awt/image/DataBufferDouble.java,
9093         java/awt/image/DataBufferFloat.java,
9094         java/awt/image/DataBufferShort.java and
9095         java/awt/image/PixelInterleavedSampleModel.java.
9096         * Makefile.in: Regenerated.
9097
9098 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
9099  
9100         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
9101         undocumented CNI calls.
9102         * include/java-interp.h (_Jv_InterpClass): No longer
9103         extends java.lang.Class.
9104         * java/lang/Class.h (Class): Add new field `aux_info'.
9105         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9106         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9107         Use Class->aux_info instead.
9108         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9109         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9110         Use Class->aux_info instead.
9111         * java/io/natObjectInputStream.cc (allocateObject): Use
9112         _Jv_AllocObject.
9113         * java/lang/natClass.cc (newInstance): Likewise.
9114         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9115         * java/lang/natObject.cc (clone): Likewise.
9116         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9117         * java/lang/natVMClassLoader.cc (defineClass): Don't use
9118         JvAllocObject. Allocate klass->aux_info here for interpreted
9119         class.
9120         
9121 2004-04-17  Mark Wielaard  <mark@klomp.org>
9122
9123         * javax/swing/JToggleButton.java (ToggleButtonModel):
9124         Make public static inner class.
9125         * javax/swing/JTabbedPane.java (setComponentAt):
9126         Call Page.setComponent().
9127         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9128         (WRAP_TAB_LAYOUT): Make public, value is 0.
9129         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9130         Make private static inner class.
9131
9132 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9133
9134         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9135         arguments to match new signature. Remove FIXME comments.
9136
9137 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9138
9139         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9140         Remove method.
9141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9142         unused code.
9143
9144 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9145
9146         * Makefile.am: Added new file.
9147         * Makefile.in: Regenerate.
9148         * javax/swing/ImageIcon.java: 
9149         (ImageIcon(file)): set description of the icon 
9150         to the file name
9151         * javax/swing/JCheckBoxMenuItem.java:
9152         Mostly Implemented. Work in progress.
9153         * javax/swing/JRadioButtonMenuItem.java:
9154         Reimplement constructors to use JToggleButtonModel.
9155         * javax/swing/plaf/basic/BasicIconFactory.java:
9156         (getCheckBoxMenuItemIcon): return check box
9157         icon.
9158         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9159         paint menu item selected only when it is armed and 
9160         pressed. 
9161  
9162 2004-04-02  David Jee  <djee@redhat.com>
9163
9164         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9165         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9166         * java/awt/Component.java
9167         (add): Set the parent of the popup as this component.
9168         * java/awt/PopupMenu.java
9169         (addNotify): Create popup menu when peer is null.
9170         (show): Call addNotify() if peer is null.
9171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9172         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9173         argument for gtk_menu_popup() as zero. This causes the popup menu to
9174         respond to any mouse button.
9175
9176 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9177
9178         * Makefile.am: Added new file.
9179         * Makefile.in: Regenerate.
9180         * javax/swing/JRadioButtonMenuItem.java:
9181         Implemented.
9182         * javax/swing/plaf/basic/BasicIconFactory.java:
9183         (getRadioButtonMenuItemIcon): Return
9184         radio button icon.
9185         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9186         (getPreferredSize): Add size of checkIcon if it
9187         exists.
9188         (installDefaults): Don't initialize checkIcon.
9189         It's value will be set in subclasses. 
9190         (uninstallDefaults): remove uninstallation of 
9191         checkIcon.
9192         (paint): Moved code to paintMenuItem().
9193         (paintMenuItem): Implemented.
9194         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9195         UI delegate for JRadioButtonMenuItem.
9196         
9197 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9198
9199         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9200         Corrected position of the accelerator.
9201
9202 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9203
9204         * Makefile.am: Added new file. 
9205         * Makefile.in: Regenerate.
9206         * javax/swing/JMenuItem.java: Partly 
9207         implemented. Work in progress
9208         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9209         Changed default value of acceleratorDelimiter.
9210         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9211         New class. Partly implemented.
9212                 
9213 2004-03-26  Mark Wielaard  <mark@klomp.org>
9214
9215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9216         (item_activate): Declare label before use.
9217         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9218         (gtkSetFont): Removed unused variable label.
9219         (addExposeFilter): Declare variables before use.
9220         (removeExposeFilter): Likewise.
9221         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9222         (ok_clicked): Declare str_fileName before use.
9223
9224 2004-03-26  David Jee  <djee@redhat.com>
9225
9226         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9227         (addSeparator): Remove.
9228         * java/awt/Menu.java
9229         (separator): Remove static final MenuItem field.
9230         (separatorLabel): New static final String field.
9231         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9232         Use separatorLabel to denote that it is a separator.
9233         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9234         of reusing the static separator instance, because a MenuItem instance
9235         can't be added more than once without being cloned.
9236         * java/awt/peer/MenuPeer.java
9237         (addSeparator): Remove from interface.
9238
9239 2004-03-26  David Jee  <djee@redhat.com>
9240
9241         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9242         (connectSignals): New native method declaration.
9243         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9244         * java/awt/MenuItem.java
9245         (getActionCommand): Return the label if the action command is not set.
9246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9247         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9248         gtk_menu_shell_append().
9249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9250         (item_activate): Fix argument type.
9251         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9252         signal here.
9253         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9254         method.
9255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9256         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9257         given. Add the menu widget's top-level GtkWindow to the global window
9258         group, so it can grab the pointer.
9259         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9260         gtk_menu_shell_append().
9261
9262 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9263
9264         * java/text/AttributedString.java 
9265         (addAttribute): Fix off-by-one.
9266         (getIterator): Likewise.        
9267         * java/text/AttributedStringIterator.java 
9268         (getRunLimit): Correct logic.
9269         (getRunStart): Likewise.
9270         (getAttribute): Fix inequality.
9271         (getAttributes): Likewise.
9272         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9273
9274 2004-03-23  Kim Ho  <kho@redhat.com>
9275
9276         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9277         (calculateSizes): Return real width and height.
9278
9279 2004-03-23  Kim Ho  <kho@redhat.com>
9280
9281         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9282         (calculateTabRects): Set the selectedRun before
9283         trying to rotate tabs.
9284
9285 2004-03-23  Kim Ho  <kho@redhat.com>
9286
9287         * Makefile.am: New file
9288         * Makefile.in: Regenerate
9289         * java/awt/Graphics.java: (drawRect):
9290         Draw to the correct point.
9291         * javax/swing/DefaultSingleSelectionModel.java
9292         (isSelected): Return true if the selected index
9293         is not -1.
9294         * javax/swing/JLabel.java: Do not change mnemonic
9295         index if text is null.
9296         * javax/swing/JProgressBar.java: Use JComponent's
9297         EventListenerList.
9298         * javax/swing/JScrollBar.java: Ditto.
9299         * javax/swing/JSlider.java: Ditto.
9300         * javax/swing/JTabbedPane.java: Reimplement.
9301         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9302         Add defaults for TabbedPane.
9303         * javax/swing/plaf/basic/BasicArrowButton.java:
9304         Implement
9305         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9306         (paintDeterminate): Don't paint String if it's
9307         empty.
9308         (paintIndeterminate): ditto.
9309         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9310         Reimplement.
9311
9312 2004-03-19  Michael Koch  <konqueror@gmx.de>
9313
9314         * java/awt/image/AffineTransformOp.java
9315         (AffineTransformOp): Made public.
9316         * javax/swing/JComponent.java
9317         (listenerList): Made protected.
9318         (accessibleContext): Likewise.
9319         * javax/swing/JList.java
9320         (valueChanged): Dont use internal fields of ListSelectionEvent.
9321         * javax/swing/JViewport.java
9322         (getView): Dont use internal fields of Component.
9323         (addImpl): Likewise.
9324         * javax/swing/Timer.java
9325         (isRunning): Made public.
9326         (start): Likewise.
9327         (stop): Likewise.
9328         * javax/swing/UIDefaults.java
9329         (getInt): Made public.
9330         * javax/swing/plaf/basic/BasicListUI.java
9331         (mousePressed): Dont use internal fields of MouseEvent.
9332         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9333         * javax/swing/plaf/basic/BasicScrollBarUI.java
9334         (arrowIcon): Made static.
9335         * javax/swing/plaf/basic/BasicViewportUI.java
9336         (stateChanged): Dont use internal field on ChangeEvent.
9337         * javax/swing/text/JTextComponent.java
9338         (getUI): Call UIManager.getUI().
9339         (updateUI): Use getUI().
9340
9341 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9342
9343         * javax/swing/JComponent.java: Turn off double buffer by default.
9344         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9346         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9347         Use cairo to copy areas.
9348         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9349         Initialize and set clip region.
9350
9351 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9352
9353         * java/applet/Applet.java (preferredSize): Override deprecated
9354         variant of getPreferredSize.
9355         (minimumSize): Override deprecated variant of getMinimumSize.
9356
9357 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9358
9359         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9360         (drawImage(img,xform,bgcolor,obs)): New Method.
9361         Helper function that every drawImage method will
9362         use.
9363         (drawRaster): Added new parameter, bgcolor. All
9364         transparent pixels are changed to bgcolor before 
9365         image is drawn.
9366         (drawRenderedImage): Fixed to use changed drawRaster().
9367         (drawImage(image,xform,obs): Fixed to use new helper function 
9368         (drawImage(image,op,x,y)): Ditto.
9369         (drawImage (img,x,y,observer)): Ditto.
9370         ((PainterThread) bgcolor): New Field.
9371         ((PainterThread) (setPixels)): Changed all transparent pixels 
9372         to bgcolor.     
9373         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9374         Fixed FIXME - all the transparent pixels are 
9375         changed to the specified bgcolor. 
9376         (drawImage(img, x, y, width, height, observer): Changed to 
9377         use function above.
9378         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9379         Fixed FIXME- changed all transparent pixels to bgcolor.
9380         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9381         Changed to use function above. 
9382
9383 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9384
9385         * java/applet/Applet.java (dimensions): New field.
9386         (getDimensions): New method.
9387         (getPreferredSize): Call getDimensions.
9388         (getMinimumSize): Likewise.
9389
9390 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9391
9392         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9393         * jni/classpath/jnilink.c: Likewise.
9394
9395         * java/applet/Applet.java (getPreferredSize): New method.
9396         (getMinimumSize): New method.
9397
9398 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9399
9400         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9401         (_Jv_AllocObjectNoFinalizer): Likewise.
9402         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9403         (_Jv_AllocPtrFreeObject): Likewise.
9404         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9405         directly even in the JVMPI case.        
9406         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9407         _Jv_AllocObject calls.
9408         * gcj/javaprims.h: Update prototypes.
9409         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9410         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9411         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9412
9413 2004-04-14  Andrew Haley  <aph@redhat.com>
9414             Bryce McKinlay  <mckinlay@redhat.com>
9415
9416         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9417         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9418         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9419
9420         * testsuite/libjava.lang/InvokeInterface.java: New file.
9421         * testsuite/libjava.lang/InvokeInterface.out: New file.
9422
9423 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9424         
9425         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9426         modified lookup().
9427         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9428         StackTraceElement directly.
9429         (newElement): New native helper method to create StackTraceElement
9430         bypassing Java access control.
9431         (createStackTraceElement): Use newElement() instead of directly
9432         calling StackTraceElement's constructor.
9433         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9434
9435 2004-04-01  Michael Koch  <konqueror@gmx.de>
9436
9437         * java/lang/SecurityManager.java
9438         (checkAwtEventQueueAccess): Implemented.
9439
9440 2004-04-01  Gary Benson  <gbenson@redhat.com>
9441
9442         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9443         (_Jv_SearchMethodInClass): Likewise.
9444
9445 2004-03-26  Peter Moon  <peterm@miraculum.com>
9446
9447         * java/text/NumberFormat.java: Fix spelling of setCurrency
9448         method.
9449
9450 2004-03-21  Anthony Green  <green@redhat.com>
9451
9452         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9453         recursion when searching for the system ClassLoader.
9454
9455 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9456
9457         * java/net/ServerSocket.java
9458         (accept): Close the socket when error occured.
9459
9460 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9461
9462         * java/net/URI.java (parseURI): Added unquoting.
9463         (unquote): New method.
9464         (quoteAuthority): Implemented.
9465         (quote(String,String)): New method.
9466         (quotePath): Implemented.
9467         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9468         (getSchemeSpecificPart): Removed FIXME comment.
9469         (getRawAuthority): Return new rawAuthority field.
9470         (getAuthority): Removed FIXME comment.
9471         (getRawUserInfo): Return new rawUserInfo field.
9472         (getUserInfo): Removed FIXME comment.
9473         (getRawPath): Return new rawPath field.
9474         (getPath): Removed FIXME comment.
9475         (getRawQuery): Return new rawQuery field.
9476         (getQuery): Removed FIXME comment.
9477         (getRawFragment): Return new rawFragment field.
9478         (getFragment): Removed FIXME comment.
9479
9480 2004-03-20  Michael Koch  <konqueror@gmx.de>
9481
9482         * java/net/URLConnection.java: Merged copyright year with classpath.
9483
9484 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9485
9486         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9487         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9488         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9489         rmi-message.
9490         (getObjectInputStream): Return object reference, throw IOException if null.
9491         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9492         (getObjectOutputStream): Return object reference, throw IOException if null.
9493         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9494         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9495         (UnicastConnectionManager): Throw RemoteException if port is not available.
9496         (getInstance): Throw RemoteException.
9497         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9498         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9499         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9500         Collect Exceptions which are returned by a rmi-call and fix void returns.
9501         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9502         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9503         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9504         (dispatch): Answer ping messages which are sent by other java implementions.
9505         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9506         for every rmi-message and fix void return problems.
9507         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9508         (UnicastServerRef): Throw RemoteException.
9509         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9510         In some situations it is necessary to export a subclass of the class which has the _Stub.
9511         For instance when the class with has the _Stub is abstract.
9512         (findStubSkelClass): New method which looks for the class which has the _Stub.
9513         (getClientHost): Implementated.
9514         * gcc/libjava/java/rmi/server/RemoteServer.java
9515         (getClientHost): Implementated.
9516         * gcc/libjava/Makefile.am (rmi_java_source_files):
9517         Added gnu/java/rmi/server/RMIIncomingThread.java.
9518         * Makefile.in: Regenerated.
9519
9520 2004-03-20  Michael Koch  <konqueror@gmx.de>
9521
9522         * java/net/InetAddress.java
9523         (getLocalHostname): Added javadoc.
9524
9525 2004-03-19  Per Bothner  <per@bothner.com>
9526
9527         * configure.in: FILE variable  overrides FLATFORM when linking
9528         natFileChannelXXX.cc.
9529
9530         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9531         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9532
9533 2004-03-19  Per Bothner  <per@bothner.com>
9534
9535         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9536         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9537         * Makefile.am:  Update accordingly.
9538         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9539         as aliases for UnicodeLittle and UnicodeBig.
9540
9541 2004-03-20  Mark Wielaard  <mark@klomp.org>
9542
9543         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9544         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9545         Don't access ws when it is null.
9546         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9547         Likewise.
9548
9549 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9550
9551         * java/lang/ThreadGroup.java (list): Changed print to println.
9552
9553 2004-03-19  Mark Wielaard  <mark@klomp.org>
9554
9555         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9556         happy.
9557
9558 2004-02-10  Randolph Chung  <tausq@debian.org>
9559  
9560         * configure.in: Build java for hppa target.
9561         * configure: Regenerate.
9562         * libjava/configure.host (hppa-*): Add target.
9563         * libjava/sysdeps/pa/lock.h: New file.
9564
9565 2004-03-19  Mark Wielaard  <mark@klomp.org>
9566
9567         Reported by Stephen Crawley
9568         * java/io/FilePermission.java (implies): Use String.length() -1 to
9569         access last char of String.
9570
9571 2004-03-19  Michael Koch  <konqueror@gmx.de>
9572
9573         * java/awt/image/AffineTransformOp.java
9574         (AffineTransformOp): Made public.
9575         * javax/swing/JComponent.java
9576         (listenerList): Made protected.
9577         (accessibleContext): Likewise.
9578         * javax/swing/JList.java
9579         (valueChanged): Dont use internal fields of ListSelectionEvent.
9580         * javax/swing/JViewport.java
9581         (getView): Dont use internal fields of Component.
9582         (addImpl): Likewise.
9583         * javax/swing/Timer.java
9584         (isRunning): Made public.
9585         (start): Likewise.
9586         (stop): Likewise.
9587         * javax/swing/UIDefaults.java
9588         (getInt): Made public.
9589         * javax/swing/plaf/basic/BasicListUI.java
9590         (mousePressed): Dont use internal fields of MouseEvent.
9591         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9592         * javax/swing/plaf/basic/BasicScrollBarUI.java
9593         (arrowIcon): Made static.
9594         * javax/swing/plaf/basic/BasicViewportUI.java
9595         (stateChanged): Dont use internal field on ChangeEvent.
9596         * javax/swing/text/JTextComponent.java
9597         (getUI): Call UIManager.getUI().
9598         (updateUI): Use getUI().
9599
9600 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9601
9602         * verify.cc: Undef PC.
9603
9604 2004-03-18  Michael Koch  <konqueror@gmx.de>
9605
9606         * java/nio/channels/spi/AbstractSelectableChannel.java
9607         (keys): Initialize at declaration.
9608         (locate): keys cant be null.
9609         (add): Removed.
9610         (addSelectionKey): New method.
9611         (removeSelectionKey): New method.
9612         * java/nio/channels/spi/AbstractSelectionKey.java
9613         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9614         * java/nio/channels/spi/AbstractSelector.java
9615         (provider): Javadoc added.
9616         (cancelledKeys): Javadoc added.
9617         (cancelKey): Javadoc added, add key to cancelledKeys.
9618         (deregister): Implemented.
9619
9620 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9621
9622         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9623         MAP_FAILED to void *.
9624
9625 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9626
9627         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9628         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9629         * javax/swing/JList.java (ListListener): Revalidate on changes.
9630         * javax/swing/JScrollPane.java: Reimplement.
9631         * javax/swing/JViewport.java: Reimplement.
9632         * javax/swing/ScrollPaneLayout.java: Reimplement.
9633         * javax/swing/ViewportLayout.java: Tidy up.
9634         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9635         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9636         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9637         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9638         backing store only.
9639
9640 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9641
9642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9643         (window_wm_protocols_filter): New function.
9644         (window_focus_in_cb): Remove function.
9645         (window_focus_out_cb): Likewise.
9646         (window_focus_or_active_state_change_cb): New function.
9647         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9648         (connectSignals): Don't attach handlers to focus-in-event or
9649         focus-out-event signals.  Handle notify signal.
9650
9651 2004-03-11  David Jee  <djee@redhat.com>
9652
9653         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9654         (gtkSetLabel): New native method declaration.
9655         (setLabel): Use gtkSetLabel.
9656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9657         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9658
9659 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9660
9661         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9662         black when color argument is null.
9663
9664 2004-03-10  Kim Ho  <kho@redhat.com>
9665
9666         * java/awt/Container.java: Remove check
9667         for drag events.
9668
9669 2004-03-10  Kim Ho  <kho@redhat.com>
9670
9671         * java/awt/Container.java: (visitChild):
9672         Remove candidate clip. Use the component
9673         clip to intersect.
9674         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9675         (handleEvent): Use the PaintEvent's clip.
9676
9677 2004-03-10  Kim Ho  <kho@redhat.com>
9678
9679         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9680         (handleEvent): Don't set the clip for the
9681         Graphics object.
9682
9683 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9684
9685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9686         Fix double <-> fixed macros, reset font transform.
9687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9688         Likewise.
9689
9690 2004-03-09  Kim Ho  <kho@redhat.com>
9691
9692         * java/awt/Container.java: (visitChild): Move
9693         the x and y coordinate of the component rectangle
9694         to correct position.
9695         (handleEvent): Forward drag events to the pressed
9696         component.
9697         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9698         Fix comments.
9699         (ArrowButtonListener::mousePressed): Stop the
9700         existing timer.
9701         (mouseDragged): Implement.
9702         (TrackListener::mousePressed): Only react if
9703         the press doesn't occur on the thumb, otherwise
9704         just set the offset.
9705         (TrackListener::mouseReleased): Unset the isAdjusting
9706         value.
9707         (createIncreaseIcon): Switch icon.
9708         (createDecreaseIcon): Switch icon.
9709         (calculatePreferredSize): Use width.
9710         (getThumbBounds): Use the top as the lower value.
9711         (layoutVScrollBar): Switch the button locations.
9712         (paintIncreaseHighlight): Paint correct side of thumb.
9713         (paintDecreaseHighlight): ditto.
9714         (valueForYPosition): Use top as the lower value.
9715         * javax/swing/plaf/basic/BasicSliderUI.java:
9716         Fix comments.
9717         (mouseDragged): Implement.
9718         (mousePressed): Only react when the thumb isn't
9719         pressed, otherwise just set offset.
9720         (mouseReleased): Handle a release of the thumb.
9721         (scrollDueToClickInTrack): Stop the timer first.
9722         * javax/swing/JProgressBar.java:
9723         (setString): Fix change condition.
9724         * javax/swing/JSeparator.java:
9725         Remove println's.
9726
9727 2004-03-08  David Jee  <djee@redhat.com>
9728
9729         * java/awt/image/AffineTransformOp.java:
9730         (filter): Use Graphics2D interface instead of directly using the
9731         GdkGraphics2D peer.
9732
9733 2004-03-05  David Jee  <djee@redhat.com>
9734
9735         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9736         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9737         * java/awt/Container.java
9738         (acquireComponentForMouseEvent): Fixed.
9739         (handleEvent): Fixed.
9740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9741         (state_to_awt_mods_with_button_states): New method.
9742         (pre_event_handler): Fixed mouse event generation.
9743
9744 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9745
9746         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9747         (GdkGraphics2D (BufferedImage)): Initialize
9748         pixmap associated with specified BufferedImage.
9749         (setPaint): Changed implementation of Texture
9750         Paint to use AffineTransformOp.
9751         * java/awt/image/AffineTransformOp.java
9752         (createCompatibleDestRaster): Throw RasterFormatException 
9753         if resulting width or height of raster is 0.
9754
9755 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9756
9757         * java/awt/image/AffineTransformOp.java:
9758         Removed unnecessary field interpolationType.
9759         Formatted some of the lines to be consistent with 
9760         the GNU style.
9761         (AffineTransformOp): Create new RenderingHints 
9762         containing specified interpolation type.
9763         (createCompatibleDestImage): Implemented.
9764         (createCompatibleDestRaster): Implemented.
9765         (filter): Implemented.
9766         (getBounds2D(BufferedImage)): Implemented.
9767         (getBounds2D(Raster)): Implemented.
9768         (getInterpolationType): Get interpolation value from 
9769         rendering hints.
9770
9771 2004-03-04  David Jee  <djee@redhat.com>
9772
9773         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9774         (setFont): Check if child peers are null.
9775
9776 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9777
9778         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9779         .libs in -L option.
9780         (libjava_arguments): Add new libraries to argument list.
9781
9782 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9783
9784         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9785         * Makefile.in: Re-generated.
9786         * java/awt/image/AffineTransformOp.java: New Class.
9787
9788 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9789
9790         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9791         (setPaint): Interpret correctly TexturePaint's
9792         anchor rectangle.
9793         (drawImage): Fixed scale factors of the affine
9794         transform.
9795
9796 2004-02-27  David Jee  <djee@redhat.com>
9797
9798         * gnu/java/awt/peer/gtk/GdkGraphics.java
9799         (GdkGraphics(Component)): Inherit font from component.
9800         (drawString): Use font style.
9801         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9802         (gtkSetFont): New native method declaration.
9803         (setFont): New method.
9804         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9805         (gtkSetFont): New native method declaration.
9806         (setFont): Call new native method gtkSetFont.
9807         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9808         (setFont): For all child components who do not their fonts set,
9809         set their peers' fonts with this container's font.
9810         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9811         Move all native method declarations to the top for readability.
9812         (gtkSetFont): New native method declaration.
9813         (setFont): New method.
9814         * java/awt/Component.java
9815         (setFont): Invalidate after setting the font.
9816         * java/awt/Container.java
9817         (invalidateTree): New method.
9818         (setFont): Invalidate the container tree after setting the font.
9819         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9820         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9822         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9824         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9826         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9827
9828 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9829
9830         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9831         (updateBufferedImage): New helper function.
9832         Updates BufferedImage in memory if it was changed.
9833         (draw): changed to update BufferedImage in memory after
9834         this drawing operation
9835         (fill): Ditto.
9836         (draw3DRect): Ditto.
9837         (fill3DRect): Ditto.
9838         (clearRect): Ditto.
9839         (drawRaster): Ditto.
9840         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9841         no affine transformation.
9842         (drawGlyphVector): Ditto.
9843
9844 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9845
9846         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9847         (isBufferedImageGraphics): New Helper function. 
9848         Returns true if this graphics2d can be used to draw 
9849         into buffered image and false otherwise.
9850         (updateImagePixels): New Helper function. 
9851         Updates pixels in the BufferedImage.
9852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9853         (getImagePixels): New function. Returns pixels
9854         of the buffered image associated with 
9855         this Graphics2D.
9856
9857 2004-02-26  David Jee  <djee@redhat.com>
9858
9859         * java/awt/BorderLayout.java
9860         (layoutContainer): Fix width and height calculations to ensure
9861         that they're non-negative.
9862         * java/awt/Component.java
9863         (setBackground): If c is null, inherit from closest ancestor whose
9864         background color is set.
9865
9866 2004-02-26  Kim Ho  <kho@redhat.com>
9867
9868         * Makefile.am: Add new files.
9869         * Makefile.in: Re-generate.
9870         * javax/swing/JProgressBar.java: 
9871         (JProgressBar(int, int int)): Throw
9872         IllegalArgumentException if orientation is
9873         invalid.
9874         (JProgressBar(BoundedRangeModel)): Create
9875         ChangeListener and register it. UpdateUI.
9876         (getChangeListeners): Implement.
9877         (setModel): Reset ChangeListener.
9878         * javax/swing/JScrollBar.java: Implement.
9879         * javax/swing/JSeparator.java: Implement.
9880         * javax/swing/JSlider.java:
9881         (JSlider(int, int, int, int)): Throw 
9882         IllegalArgumentException if orientation
9883         is invalid.
9884         (getChangeListeners): Fix method name.
9885         * javax/swing/SwingUtilities.java:
9886         (layoutCompoundLabel): If there is no text,
9887         set the text rectangle dimensions to 0.
9888         * javax/swing/plaf/basic/BasicButtonUI.java:
9889         (paint): If there is no text, don't paint it.
9890         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9891         Implement.
9892         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9893         Implement.
9894         * javax/swing/plaf/basic/BasicSliderUI.java: 
9895         (propertyChange): If the model changes, change
9896         the listeners accordingly.
9897
9898 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9899
9900         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9901         * javax/swing/JList.java: Reimplement.
9902         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9903         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9904         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9905         * javax/swing/ListModel.java: Javadoc.
9906         * javax/swing/ListSelectionModel.java: Add missing methods.
9907         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9908         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9909         * javax/swing/ListModel.java: Javadoc and corrections.
9910         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9911
9912 2004-02-25  David Jee  <djee@redhat.com>
9913
9914         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9915         (GtkFontPeer): Change default size to 12.
9916         * gnu/java/awt/peer/gtk/GtkToolkit.java
9917         (getFontPeer): Change default size to 12.
9918         (getClasspathFontPeer): Likewise. Set default name to "Default".
9919         * java/awt/Font.java
9920         (Font(Map)): Call Font(String,Map).
9921         (Font(String,Map)): If attrs is null, initialize it as an empty
9922         HashMap, which will ensure that the Font will get default attributes.
9923
9924 2004-02-25  David Jee  <djee@redhat.com>
9925
9926         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9927         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9928         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9929         * gnu/java/awt/peer/gtk/GtkToolkit.java
9930         (getFontPeer(String,int)): Call the new overload method with size 1.
9931         (getFontPeer(String,int,int)): New method. Overloaded with size
9932         attribute.
9933         (getClasspathFontPeer): Set the size of the font.
9934
9935 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9936
9937         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9938         (bimage): New field.
9939         (GdkGraphics2D): New Constructor. Constructs Graphics
9940         object that can be used to draw into the Buffered Image.
9941         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9942         (GdkGraphicsEnvironment): Fixed to include public 
9943         keyword.
9944         (createGraphics): Implemented.
9945         * gnu/java/awt/peer/gtk/GtkToolkit.java
9946         (getLocalGraphicsEnvironment): Implemented.
9947         * java/awt/GraphicsEnvironment.java:
9948         (getLocalGraphicsEnvironment): Implemented.
9949         * java/awt/image/BufferedImage.java:
9950         (createGraphics): Implemented.
9951                 
9952 2004-02-24  David Jee  <djee@redhat.com>
9953
9954         * java/awt/Component.java
9955         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9956         * java/awt/Container.java
9957         (addNotifyContainerChildren): Fix event enabling.
9958
9959 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9960
9961         * Makefile.am: Added 
9962         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9963         * Makefile.in: Re-generated.
9964         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9965         New Class. 
9966         
9967 2004-02-19  Kim Ho  <kho@redhat.com>
9968
9969         * Makefile.am: Add BasicProgressBarUI
9970         * Makefile.in: Regenerate.
9971         * javax/swing/JProgressBar.java: 
9972         Re-implement.
9973         * javax/swing/plaf/basic/BasicLookAndFeel.java
9974         Add constants for JProgressBar.
9975         * javax/swing/plaf/basic/BasicProgressBarUI.java
9976         Implement.
9977         * javax/swing/plaf/basic/BasicSliderUI.java
9978         Change comments.
9979         (calculateGeometry): New method
9980         (paint): Remove unnecessary size calculations.
9981
9982 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9983
9984         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9985         (drawRaster): Fixed small error that caused
9986         imageToUser transformation to be set incorrectly.
9987         (toString): Implemented.
9988
9989 2004-02-18  David Jee  <djee@redhat.com>
9990
9991         * java/awt/CardLayout.java
9992         (addLayoutComponent): Show the first component added as the default.
9993         (removeLayoutComponent): After removing, show the next component.
9994         (gotoComponent): If there is only one component, show it and return.
9995
9996 2004-02-18  Kim Ho  <kho@redhat.com>
9997
9998         * javax/swing/JSlider.java: Re-order
9999         modifiers.
10000         * javax/swing/JLabel.java: Re-order
10001         modifiers.
10002         * javax/swing/JComponent.java: 
10003         (addPropertyChangeListener):
10004         Implement.
10005         (removePropertyChangeListener):
10006         ditto.
10007         (firePropertyChangeEvent):
10008         ditto.
10009
10010 2004-02-17  David Jee  <djee@redhat.com>
10011
10012         * java/awt/Component.java
10013         (show): Dispatch ComponentEvent via system event queue.
10014         (hide): Likewise.
10015         (move): Likewise.
10016         (resize): Likewise.
10017         (reshape): Likewise.
10018         * java/awt/Window.java
10019         (setBoundsCallback): Likewise.
10020
10021 2004-02-17  David Jee  <djee@redhat.com>
10022
10023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10024         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10025         Use gtk_widget_set_size_request() instead of the deprecated
10026         gtk_widget_set_usize().
10027
10028 2004-02-17  Kim Ho  <kho@redhat.com>
10029
10030         * javax/swing/JSlider.java: Fix comments and
10031         make property strings constants.
10032         (createStandardLabels): Use the labels
10033         preferred size as bounds.
10034         * javax/swing/plaf/basic/BasicSliderUI.java
10035         Fix comments.
10036         (ScrollHandler::actionPerformed): Don't
10037         calculate the timer stop value. Let the
10038         MouseListeners find the stop location.
10039         (getPreferredHorizontalSize): Re-implement.
10040         (getPreferredVerticalSize): ditto.
10041         (getMinimumHorizontalSize): ditto.
10042         (getMinimumVerticalSize): ditto.
10043         (getPreferredSize): ditto.
10044         (getMinimumSize): ditto.
10045         (getMaximumSize): ditto.
10046         (paintTicks): Use doubles to find the
10047         tick location.
10048         (paintHorizontalLabel):  Use preferredSize
10049         as initial width and height.
10050         (paintVerticalLabel): ditto.
10051
10052 2004-02-17  Kim Ho  <kho@redhat.com>
10053
10054         * javax/swing/JLabel.java: Changed 
10055         property strings to constants.
10056         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10057         New property.
10058         (setText): Change mnemonic index if
10059         text is too short.
10060         (setDisplayedMnemonicIndex): Fire property
10061         change event.
10062         (getDisplayedMnemonicIndex): Remove check
10063         against short text.
10064
10065 2004-02-17 Olga Rodimina <rodimina@redhat.com>
10066
10067         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10068         (drawImage(img,xform,obs)): Invert xform before
10069         passing the xform to cairo.
10070         (drawImage(img,x,y,bgcolor,obs)): Implemented.
10071         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
10072         implemented.
10073         (drawImage (img,x,y,w,h,obs)): Implemented.
10074         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
10075         bgcolor,obs)): Partly implemented.
10076         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
10077         Implemented.
10078         * java/awt/image/BufferedImage.java:
10079         (copyData): if dest is null, create raster with same
10080         dimensions as the current image.
10081
10082 2004-02-16  Graydon Hoare  <graydon@redhat.com>
10083
10084         * javax/swing/plaf/basic/BasicLabelUI.java 
10085         (getPreferredSize): Use layoutCL.
10086         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10087         (getPreferredButtonSize): Start with empty view rect, layout using
10088         component's preferred alignment.
10089         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10090         List defaults.
10091
10092 2004-02-16  David Jee  <djee@redhat.com>
10093
10094         * java/awt/Component.java
10095         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10096         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10097         (move): Erase old bounds and repaint new bounds. Dispatch
10098         COMPONENT_MOVED ComponentEvent.
10099         (resize): Erase old bounds and repaint new bounds. Dispatch
10100         COMPONENT_RESIZED ComponentEvent.
10101         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10102         ComponentEvents.
10103         * java/awt/Window.java
10104         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10105         ComponentEvents.
10106
10107 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
10108
10109         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10110         (setRenderingHint): Added implementation of 
10111         Interpolation rendering hints.
10112         (setRenderingHints): Ditto.
10113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10114         (drawPixels): fixed to allow user to choose type 
10115         of filtering that should be used when displaying images.
10116         (cairoSurfaceSetFilter): New method. Sets filter type for 
10117         interpolation of pixel values.
10118
10119 2004-02-16  David Jee  <djee@redhat.com>
10120
10121         * java/awt/GridBagLayout.java
10122         (calcCellSizes): Rows or columns with zero sizes should still be
10123         considered for extra space distribution.
10124
10125 2004-02-16  Kim Ho  <kho@redhat.com>
10126
10127         * javax/swing/JLabel.java: Re-implement.
10128         * javax/swing/plaf/basic/BasicLabelUI.java
10129         Re-implement.
10130         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10131         Added constant.
10132
10133 2004-02-16  Kim Ho  <kho@redhat.com>
10134
10135         * javax/swing/JSlider.java: Fix indentation and comments.
10136         (setModel): Remove null check to conform with Sun's.
10137         (setOrientation): Throw exception if not
10138         HORIZONTAL or VERTICAL.
10139         (getInverted): Use private variable instead of 
10140         ComponentOrientation.
10141         (setInverted): ditto.
10142         * javax/swing/plaf/basic/BasicSliderUI.java:
10143         Fix indentation and comments.
10144         (propertyChange): Remove check for inverted slider, handle
10145         in main paint.
10146         (getMinimumSize): Return preferred size.
10147         (getMaximumSize): ditto.
10148         (calculateFocusRect): Don't relocate rectangle.
10149         (drawInverted): Return XOR of the slider's inversion and 
10150         the component's orientation.
10151         (paint): Update leftToRightCache
10152
10153 2004-02-13  David Jee  <djee@redhat.com>
10154
10155         * java/awt/GridBagLayout.java
10156         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10157         code to helper methods.
10158         (sortBySpan): New helper method.
10159         (distributeSizeAndWeight): Likewise.
10160         (calcCellWeights): Likewise.
10161         (calcCellSizes): Add comments.
10162
10163 2004-02-13  David Jee  <djee@redhat.com>
10164
10165         * java/awt/Component.java
10166         (show): Only do something if component is invisible at the moment.
10167         (hide): Only do something if component is visible at the moment.
10168         (reshape): If lightweight, erase old bounds and repaint new bounds.
10169
10170 2004-02-13  Kim Ho  <kho@redhat.com>
10171
10172         * Makefile.am: Updated for new file.
10173         * Makefile.in: Regenerated.
10174         * javax/swing/JSlider.java: Reimplement.
10175         * javax/swing/SwingUtilities.java
10176         (layoutCompoundLabel): Use icon height
10177         instead of width.
10178         (paintComponent): Implement.
10179         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10180         Add JSlider defaults.
10181         * javax/swing/plaf/basic/BasicSliderUI.java:
10182         Implement. New file.
10183
10184 2004-03-17  Michael Koch  <konqueror@gmx.de>
10185
10186         * gnu/java/net/PlainDatagramSocketImpl.java
10187         (RECEIVE_LOCK): New member field.
10188         (SEND_LOCK): New member field.
10189         (send0): New method.
10190         (send): Synchronize on SEND_LOCK.
10191         (receive0): New method.
10192         (receive): Synchronize on RECEIVE_LOCK.
10193         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10194         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10195         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10196         (send0): Renamed from send.
10197         (receive0): Renamed from receive.
10198 2004-03-17  Michael Koch  <konqueror@gmx.de>
10199
10200         * gnu/java/net/natPlainSocketImplPosix.cc
10201         (write): Just call write(jbyteArray, offset, len).
10202         (read): Just call read(jbyteArray, offset, len).
10203
10204 2004-03-16  Michael Koch  <konqueror@gmx.de>
10205
10206         * javax/swing/JTabbedPane.java
10207         (serialVersionUID): New field.
10208
10209 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10210
10211         * java/net/InetAddress.java
10212         (getByName): Handle hostname == "" case.
10213
10214 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10215
10216         Reported by: Adam Heath <doogie@debian.org>
10217         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10218         class loader.
10219
10220 2004-03-15  Michael Koch  <konqueror@gmx.de>
10221
10222         * java/util/Locale.java: Reverting my last patch
10223         and add a comment why the original version was okay.
10224
10225 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10226
10227         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10228         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10229         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10230         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10231
10232 2004-03-12  Michael Koch  <konqueror@gmx.de>
10233
10234         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10235
10236 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10237
10238         * java/net/URI.java (toURL): Implemented.
10239
10240 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10241
10242         * java/net/URI.java
10243         (URI_REGEXP) updated to contain scheme specific part.
10244         (SCHEME_SPEC_PART_GROUP) new constant.
10245         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10246         updated to make room for SCHEME_SPEC_PART_GROUP.
10247         (parseURI) parse scheme specific part.
10248         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10249         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10250         getQuery, getFragment) implemented.
10251
10252 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10253
10254         * libraries/javalib/java/net/URI.java
10255         partially implemented using java.util.regex.
10256         (URI_REGEXP) new constant. Used to parse URIs.
10257         (SCHEME_GROUP) new constant representing index of scheme group
10258         in parsed URI.
10259         (AUTHORITY_GROUP) new constant representing index of authority
10260         group in parsed URI.
10261         (PATH_GROUP) new constant representing index of path group in
10262         parsed URI.
10263         (QUERY_GROUP) new constant representing index of query group in
10264         parsed URI.
10265         (FRAGMENT_GROUP) new constant representing index of fragment
10266         group in parsed URI.
10267         (getURIGroup) new static utility method.
10268         (parseURI) implemented.
10269         (quote) stub for new static utility method.
10270         (quoteAuthority) stub for new static utility method.
10271         (quoteHost) stub for new static utility method.
10272         (quotePath) stub for new static utility method.
10273         (quoteUserInfo) stub for new static utility method.
10274         (URI) implemented.
10275         (create) don't throw URISyntaxException. Implemented.
10276         (toString) implemented.
10277
10278 2004-03-12  Michael Koch  <konqueror@gmx.de>
10279
10280         * java/net/HttpURLConnection.java
10281         (getResponseCode): Fix another typo in javadoc.
10282
10283 2004-03-11  Michael Koch  <konqueror@gmx.de>
10284
10285         * java/util/logging/Level.java
10286         (parse): Use String.equals() instead of ==.
10287
10288 2004-03-11  Michael Koch  <konqueror@gmx.de>
10289
10290         * gnu/java/net/protocol/jar/Connection.java
10291         (getContentLength): New method.
10292
10293 2004-03-11  Michael Koch  <konqueror@gmx.de>
10294
10295         * gnu/java/net/PlainSocketImpl.java:
10296         Reformated to merge better with classpath's version.
10297
10298 2004-03-11  Michael Koch  <konqueror@gmx.de>
10299
10300         * java/util/Locale.java
10301         (getISO3Language): Use String.equals() instead of ==.
10302         (getISO3Country): Likewise.
10303
10304 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10305
10306         * java/text/AttributedString.java
10307         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10308         Use HashMap instead of Hashtable since value can be null, and
10309         you can not store a null value in a Hashtable.
10310
10311 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10312
10313         * java/text/AttributedStringIterator.java
10314         (getAllAttributesKey): Return only keys concerned
10315         by the current iterator.
10316         (getAttributes): Use strict inequality for
10317         end_index. 
10318
10319 2004-03-11  Michael Koch  <konqueror@gmx.de>
10320
10321         * java/net/HttpURLConnection.java:
10322         Fixed typo in javadoc.
10323
10324 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10325
10326         * java/io/BufferedInputStream.java (marktarget): New field for max
10327         mark limit.
10328         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10329         (mark): Use new fields.
10330         (read): Likewise.
10331         (read(byte[],int,int)): Likewise.
10332         (skip): Likewise.
10333         (refill): Likewise.
10334
10335 2004-03-11  Mark Wielaard  <mark@klomp.org>
10336
10337         * java/beans/BeanDescriptor.java (BeanDescriptor):
10338         Set the FeatureDescriptor programmatic name.
10339
10340 2004-03-11  Michael Koch  <konqueror@gmx.de>
10341
10342         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10343         This file was was just copied form java/io/natFileDescriptorEcos.cc
10344         and never changed to compile correctly.
10345
10346 2004-03-11  Michael Koch  <konqueror@gmx.de>
10347
10348         * gnu/java/nio/PipeImpl.java
10349         (SourceChannelImpl): Made final.
10350         (read): Implemented.
10351         (SinkChannelImpl): Made final.
10352         (write): Implemented.
10353
10354 2004-03-11  Michael Koch  <konqueror@gmx.de>
10355
10356         * gnu/java/net/PlainDatagramSocketImpl.java:
10357         Reformated to match classpath's version more.
10358
10359 2004-03-11  Michael Koch  <konqueror@gmx.de>
10360
10361         * gnu/java/awt/peer/ClasspathFontPeer.java:
10362         Fixed javadoc to be correct xhtml.
10363         * gnu/java/awt/peer/gtk/GtkArgList.java
10364         (add): Use Boolean.valueOf() instead of new Boolean().
10365
10366 2004-03-09  Michael Koch  <konqueror@gmx.de>
10367
10368         * java/lang/Thread.java
10369         (runnable): Moved around.
10370         (daemon): Renamed from daemon_flag.
10371         (contextClassLoader): Renamed from context_class_loader.
10372         (Thread): Reordered constructors.
10373         (activeCount): Use group directly.
10374         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10375         (holdsLock): Reworked javadoc.
10376         (setDaemon): Reworked.
10377         * java/lang/natThread.cc
10378         (destroy): Removed.
10379
10380 2004-03-08  Anthony Green  <green@redhat.com>
10381
10382         * Makefile.am: Build property resource files into libgcj.
10383         * Makefile.in: Rebuilt.
10384         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10385         java/util/regex/PatternSyntaxException.java,
10386         gnu/regexp/CharIndexed.java,
10387         gnu/regexp/CharIndexedCharArray.java,
10388         gnu/regexp/CharIndexedInputStream.java,
10389         gnu/regexp/CharIndexedReader.java,
10390         gnu/regexp/CharIndexedString.java,
10391         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10392         gnu/regexp/REException.java,
10393         gnu/regexp/REFilterInputStream.java,
10394         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10395         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10396         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10397         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10398         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10399         gnu/regexp/RETokenLookAhead.java,
10400         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10401         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10402         gnu/regexp/RETokenStart.java,
10403         gnu/regexp/RETokenWordBoundary.java,
10404         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10405
10406 2004-03-03  Per Bothner  <per@bothner.com>
10407
10408         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10409         Optimize when argument is a FileChannelImpl.
10410         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10411         New native methods.
10412         * java/nio/channels/natChannels.cc:  New file for new native methods.
10413         * Makefile.am:  Update accordingly.
10414
10415 2004-03-02  Jan Hubicka  <jh@suse.cz>
10416
10417         * configure.host: Pass -fno-omit-frame-pointer for i386.
10418         * configure.in: Likewise.
10419         * configure: Regenerate.
10420
10421 2004-03-01  Per Bothner  <per@bothner.com>
10422
10423         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10424
10425 2004-02-29  Per Bothner  <per@bothner.com>
10426
10427         * java/nio/channels/FileChannelImpl.java:  Moved to package
10428         gnu/java/nio/channels, since we need to refer to it from java.io.
10429         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10430         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10431         from java/nio/channels.  Don't depend on FileDescriptor.
10432         (in, out, err):  New static fields.
10433         (mode):  New field.
10434         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10435         from FileDescriptor.
10436         (by):  Removed MappedByteBuffer field.
10437         (map):  New working implementation.
10438         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10439         some code "ported" from natFileDescriptoPosix.cc.
10440         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10441         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10442         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10443         Remove native methods.
10444         * Makefile.am, configure.in:  Updated accordingly.
10445
10446         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10447         (ch):  New FileChannelImpl field.  Update constructor to match.
10448         (releaseImpl):  Remove native method.  Instead ...
10449         (release):  Call unlock on channel.
10450         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10451
10452         * java/io/natFileDescriptorEcos.cc:  Remove file.
10453         * java/io/natFileDescriptorPosix.cc:  Remove file.
10454         * java/io/natFileDescriptorWin32.cc:  Remove file.
10455         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10456         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10457         (<init>(FileChannelImpl)):  New package-private constructor.
10458         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10459         (available, close, read, skip):  Implement using FileChannelImpl.
10460         (getFD):  Allocate FileDescriptor if needed.
10461         (getChannel):  Is now trivial.
10462         * java/io/FileOutputStream.java:  Corresponding changes.
10463         * java/io/RandomAccessFile.java:  Corresponding changes.
10464
10465         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10466         unmapImpl):  New dummy methods, to be overridden by subclass.
10467         (finalize, isLoaded, load, force):  New methods.
10468         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10469         Now works, at least for read mapping.
10470
10471         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10472         streams using FileChannelImpl, not FileDescriptor.
10473         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10474
10475 2004-02-28  Michael Koch  <konqueror@gmx.de>
10476
10477         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10478         wrong code.
10479
10480 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10481
10482         * java/io/ObjectInputStream.java
10483         (readClassDescriptor): Keep elements of the mapping non null.
10484         (checkTypeConsistency): New method.
10485         (readFields): Fixed main loop and base logic. Small reindentation.
10486         * java/io/ObjectStreamField.java
10487         (lookupField): New method to update the field reference.
10488         (checkFieldType): New method.
10489         * java/io/ObjectStreamClass.java
10490         (setClass, setFields): Call lookupField when building the field
10491         database. Check the real field type.
10492
10493 2004-02-28  Michael Koch  <konqueror@gmx.de>
10494
10495         * java/nio/ByteOrder.java
10496         (nativeOrder): Use equals() to compare strings.
10497
10498 2004-02-26  Michael Koch  <konqueror@gmx.de>
10499
10500         * gnu/java/nio/FileLockImpl.java
10501         (finalize): Made protected.
10502         * java/nio/channels/FileChannel.java
10503         (MapMode.READ_ONLY): Made final.
10504         (MapMode.READ_WRITE): Made final.
10505         (MapMode.PRIVATE): Made final.
10506         * java/nio/channels/SocketChannel.java
10507         (open): Simplified code.
10508         * java/nio/channels/spi/AbstractSelectableChannel.java
10509         (registered): Unused, removed.
10510         (keyFor): Check channel is open, only locate key
10511         and not add a new one.
10512         (register): Don't delete attachments.
10513
10514 2004-02-26  Michael Koch  <konqueror@gmx.de>
10515
10516         * gnu/java/awt/ComponentDataBlitOp.java
10517         (INSTANCE): Made final.
10518         * gnu/java/awt/image/ImageDecoder.java:
10519         Reworked imports.
10520         (cm): Unused, removed.
10521
10522 2004-02-26  Michael Koch  <konqueror@gmx.de>
10523
10524         * gnu/java/nio/DatagramChannelImpl.java
10525         (send): Check if target address is resolved.
10526
10527 2004-02-26  Michael Koch  <konqueror@gmx.de>
10528
10529         * Makefile.am: Generate and install headers for inner classes in
10530         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10531         * Makefile.in: Regenerated.
10532
10533 2004-02-24  Anthony Green  <green@redhat.com>
10534
10535         * java/lang/StringBuffer.java: No need to NULL out remainder of
10536         buffer since ensureCapacity_unsynchronized will have done this for
10537         us.
10538
10539 2004-02-20  Michael Koch  <konqueror@gmx.de>
10540
10541         * gnu/java/net/protocol/jar/Handler.java
10542         (): Removed unneeded check for file != null. java.net.URL.getFile()
10543         returns an empty string but never null.
10544
10545 2004-02-20  Michael Koch  <konqueror@gmx.de>
10546
10547         * gnu/gcj/convert/Convert.java
10548         (main): Use equals() to compare strings.
10549
10550 2004-02-20  Michael Koch  <konqueror@gmx.de>
10551
10552         * javax/swing/AbstractButton.java: Made several constants final.
10553         (getRolloverSelectedIcon): Made public.
10554         (getSelectedIcon): Made public.
10555
10556 2004-02-16  Per Bothner  <per@bothner.com>
10557
10558         * java/nio/CharBufferImpl.java:  Inline super constructor.
10559         * java/nio/DoubleBufferImpl.java:  Likewise.
10560         * java/nio/FloatBufferImpl.java:  Likewise.
10561         * java/nio/IntBufferImpl.java:  Likewise.
10562         * java/nio/LongBufferImpl.java:  Likewise.
10563         * java/nio/ShortBufferImpl.java:  Likewise.
10564         * java/nio/CharBuffer.java:  Remove unused constructor.
10565         * java/nio/DoubleBuffer.java:  Likewise.
10566         * java/nio/FloatBuffer.java:  Likewise.
10567         * java/nio/IntBuffer.java:  Likewise.
10568         * java/nio/LongBuffer.java:  Likewise.
10569         * java/nio/ShortBuffer.java:  Likewise.
10570         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10571         Fix buggy call to super constructor.
10572         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10573         * java/nio/FloatViewBufferImpl.java:  Likewise.
10574         * java/nio/IntViewBufferImpl.java:  Likewise.
10575         * java/nio/LongViewBufferImpl.java:  Likewise.
10576         * java/nio/ShortViewBufferImpl.java:  Likewise.
10577         
10578         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10579         java.nio classes can inherit it.
10580         (<init>):  Don't bother clearing array_offset.
10581         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10582         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10583         Remove redundant test.
10584
10585         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10586         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10587         Use new XxxViewBufferImpl constructors.
10588         * java/nio/MappedByteBufferImpl.java:  Likewise.
10589         * java/nio/DirectByteBufferImpl.java:  Likewise.
10590
10591         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10592         Inline super in remaining constructor.
10593         * java/nio/ByteBuffer.java:  Remove unused constructor.
10594
10595         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10596
10597         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10598         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10599         (offset):  Remove unused field.
10600         (<init>):  Modify one and add another constructor.  Change callers.
10601         (allocateDirect):  Removed - not used.
10602         (getImpl, putImpl):  Make static and pass address explicitly,
10603         to make them useful for MappedByteBufferImpl.
10604         (get, put):  Check for underflow.  Modify for new getImpl.
10605         (getImpl):  New native method where target is array.
10606         (get(byte[],int,int)):  Use the above.
10607         (adjustAddress):  New static native method.
10608         (slice, duplicate, asReadOnly):  New implementations.
10609         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10610         adjustAddress):  New or updated native methods.
10611
10612 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10613
10614         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10615         overflow of fieldmapping.
10616
10617 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10618
10619         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10620
10621 2004-02-14  Per Bothner  <per@bothner.com>
10622
10623         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10624         Set closed before calling implCloseChannel, as in the spec.
10625
10626 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10627
10628         * javax/swing/ToggleButtonModel.java: Remove dead class.
10629         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10630         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10631         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10632         * Makefile.am: Update for new and removed files.
10633         * Makefile.in: Regenerate.
10634
10635         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10636         * javax/swing/AbstractButton.java 
10637         (AbstractButton): Initialize fields correctly in ctor.
10638         * javax/swing/JCheckbox.java 
10639         (JCheckBox): Override painting flags.
10640         * javax/swing/DefaultButtonModel.java: Conform to sun.
10641         * javax/swing/JComponent.java (paint): Fill with background color
10642         if available.
10643         (processComponentKeyEvent)
10644         (processFocusEvent)
10645         (processKeyEvent)
10646         (processMouseMotionEvent): Remove event-consuming empty methods.
10647         (getUIClassID): Return "ComponentUI" not "JComponent"
10648         * javax/swing/JFrame.java: Remove some debugging chatter.
10649         (JFrame): Subscribe to window events.
10650         * javax/swing/JRadioButton.java 
10651         (JRadioButton): Override painting flags.
10652         * javax/swing/JRootPane.java 
10653         (JRootPane): Set background from UIDefaults.
10654         * javax/swing/JToggleButton.java 
10655         (ToggleButtonModel): New inner class.
10656         (JToggleButton): Override layout alighment.
10657         * javax/swing/SwingUtilities.java:
10658         (getLocalBounds): Return width and height, not x and y.
10659         (calculateInnerArea): Use local bounds, not bounds.
10660         (layoutCompoundLabel): Provide overridden form.
10661         (layoutCompoundLabel): Correct bugs.
10662         * javax/swing/UIDefaults.java: Correct comment.
10663         * javax/swing/plaf/basic/BasicButtonUI.java: 
10664         Move most logic into defaults, external listener.
10665         (paintIcon): Implement icon painting.
10666         (paint): Fix state painting to conform to changes in model.
10667         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10668         Remove most dead/wrong methods.
10669         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10670         * javax/swing/plaf/basic/BasicIconFactory.java:
10671         (DummyIcon): New class.
10672         (getMenuItemCheckIcon)
10673         (getMenuItemArrowIcon) 
10674         (getMenuArrowIcon)
10675         (getCheckBoxMenuItemIcon)
10676         (getRadioButtonMenuItemIcon)
10677         (createEmptyFrameIcon): Return DummyIcons, not null.
10678         (getCheckBoxIcon): Implement an icon that looks like sun's.
10679         (getRadioButtonIcon): Implement an icon that looks like sun's.
10680         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10681         (initComponentDefaults): Fix impossible values, add some missing.
10682         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10683         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10684         Remove most dead/wrong methods.
10685         (icon): New field.
10686         (getDefaultIcon): New method.
10687         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10688         Remove most dead/wrong methods.
10689         * javax/swing/plaf/metal/MetalLookAndFeel.java
10690         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10692         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10693         Implement "clearing" as drawing, when on pixmap drawables.
10694
10695         * javax/swing/JButton.java (getUIClassID): 
10696         * javax/swing/JCheckBox.java (getUIClassID):
10697         * javax/swing/JEditorPane.java (getUIClassID):
10698         * javax/swing/JLabel.java (getUIClassID): 
10699         * javax/swing/JList.java (getUIClassID): 
10700         * javax/swing/JOptionPane.java (getUIClassID): 
10701         * javax/swing/JPanel.java (getUIClassID): 
10702         * javax/swing/JPasswordField.java (uiClassID): 
10703         * javax/swing/JRadioButton.java (getUIClassID): 
10704         * javax/swing/JRootPane.java (getUIClassID): 
10705         * javax/swing/JScrollPane.java (getUIClassID): 
10706         * javax/swing/JTabbedPane.java (getUIClassID): 
10707         * javax/swing/JToggleButton.java (getUIClassID): 
10708         * javax/swing/JTree.java (getUIClassID): 
10709         * javax/swing/JViewport.java (getUIClassID): 
10710         * javax/swing/text/JTextComponent.java (getUIClassID):
10711         Return "fooUI" not "Jfoo"
10712
10713 2004-02-11  Michael Koch  <konqueror@gmx.de>
10714
10715         * java/net/DatagramSocket.java
10716         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10717         Boolean object.
10718         (setBroadcast): Likewise.
10719         * java/net/MulticastSocket.java
10720         (setLoopbackMode): Likewise.
10721         * java/net/ServerSocket.java
10722         (setReuseAddress): Likewise.
10723         * java/net/Socket.java
10724         (setTcpNoDelay): Likewise.
10725         (setSoLinger): Likewise.
10726         (setOOBInline): Likewise.
10727         (setKeepAlive): Likewise.
10728         (setReuseAddress): Likewise.
10729         * java/net/URLConnection.java
10730         (setContentHandler): Replace == with equals().
10731         * java/net/URLStreamHandler.java
10732         (hostSEquals): Fix checking host addresses.
10733         (toExternalForm): Dont check protocol for null. We know already its
10734         not null.
10735
10736 2004-02-10  David Jee  <djee@redhat.com>
10737
10738         * java/awt/BorderLayout.java
10739         (calcCompSize): Invisible components get zero dimensions.
10740         * java/awt/Button.java
10741         (setLabel): Set actionCommand.
10742         * java/awt/Component.java
10743         (show): Invalidate component and parent container.
10744         (hide): Likewise.
10745
10746 2004-02-10  David Jee  <djee@redhat.com>
10747
10748         * java/awt/GridBagLayout.java
10749         (GridBagLayout): New private field, internalcomptable.
10750         (lookupInternalConstraints): New method.
10751         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10752         (GetLayoutInfo): Reimplement.
10753         (calcCellSizes): Ignore rows/columns with size 0.
10754
10755 2004-02-10  Michael Koch  <konqueror@gmx.de>
10756
10757         * gnu/java/awt/EmbeddedWindow.java
10758         (setHandle): Use java.awt.Component.getPeer() instead of
10759         java.awt.Component.peer directly.
10760
10761 2004-02-10  David Jee  <djee@redhat.com>
10762
10763         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10764         (gtkSetLabel): New native method definition.
10765         (setLabel): Use gtkSetLabel.
10766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10767         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10768
10769 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10770
10771         * include/powerpc-signal.h: Revert 2004-01-21 change.
10772         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10773         from syscall for ppc32 versions.
10774
10775 2004-02-08  Per Bothner  <per@bothner.com>
10776
10777         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10778         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10779         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10780         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10781         Pass ByteOrder parameter to most methods, since the underlying
10782         ByteBuffer's order isn't always what we should use.
10783         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10784         * java/nio/DirectByteBufferImpl.java:  Likewise.
10785         Use ByteBufferHelper methods.
10786         * java/nio/MappedByteBufferImpl.java:  Likewise.
10787         (compact):  Use shiftDown.
10788         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10789         (get, put):  Use ByteBufferHelper.
10790         (compact):  Use new shiftDown method.
10791         (duplicate(boolean)):  New helper method.
10792         (duplicate, asReadOnlyBuffer):  Use it.
10793         (order):  Return endian field.
10794         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10795         * java/nio/FloatViewBufferImpl.java:  Likewise.
10796         * java/nio/IntViewBufferImpl.java:  Likewise.
10797         * java/nio/LongViewBufferImpl.java:  Likewise.
10798         * java/nio/ShortViewBufferImpl.java:  Likewise.
10799         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10800         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10801         (compact):  Re-implement using shiftDown.
10802
10803 2004-02-08  Andreas Jaeger  <aj@suse.de>
10804
10805         * include/x86_64-signal.h: Fix typo.
10806
10807 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10808
10809         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10810         qualifier to _regs.
10811         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10812
10813 2004-02-06  Michael Koch  <konqueror@gmx.de>
10814
10815         * java/io/ObjectInputStream.java
10816         (currentClassLoader): Reverted to old version of this method.
10817
10818 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10819
10820         * java/io/ObjectInputStream.java: Made all calls
10821         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10822         use cached info from ObjectStreamClass. (readClassDescriptor):
10823         Cache more information in ObjectStreamClass. (processResolution,
10824         readFields): Use cached info from ObjectStreamClass.
10825         (newObject): Throw exception instead of returning null for failure.
10826         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10827         setCharField, setDoubleField, setFloatField, setIntField,
10828         setLongField, setShortField, setObjectField, readObjectParams):
10829         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10830         check.
10831         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10832         (setClass): Added call to cacheMethods() (findMethod): New method.
10833         (cacheMethods): New method. (ObjectStreamClass): Added call to
10834         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10835         AccessController.doPrivileged to invoke setAccessible.
10836         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10837         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10838         New fields.
10839         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10840         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10841         isPrimitive): Made safe for cases where type == null.
10842         (setBooleanField, setByteField, setCharField, setShortField,
10843         setIntField, setLongField, setFloatField, setDoubleField,
10844         setObjectField): New methods.
10845
10846 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10847
10848         * java/awt/Component.java (getFont): Return a default font
10849         instead of null.
10850
10851         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10852         (Scrollbar (int, int, int, int, int)): Make default page
10853         increment 10.
10854         (setValues): Only call peer.setValues if one of the values has
10855         changed.
10856         (generateName): New method.
10857         (getUniqueLong): New method.
10858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10859         (range_scrollbar): Remove structure.
10860         (post_adjustment_event): Remove function.
10861         (post_change_event): Accept jobject argument.
10862         (create): Cast jints to gdoubles.  Round scrollbar values to the
10863         nearest integer.  Clamp min, max and value settings.
10864         (connectJObject): Connect hook to widget->window.
10865         (connectSignals): Remove range_scrollbar structure variables.
10866         Remove "move-slider" connection.  Pass global peer reference to
10867         "value-changed" callback.
10868         (setLineIncrement): Cast jint value to gdouble.
10869         (setPageIncrement): Likewise.
10870         (setValues): Likewise.  Clamp min, max and value settings.
10871
10872 2004-02-05  Michael Koch  <konqueror@gmx.de>
10873
10874         * javax/swing/AbstractCellEditor.java
10875         (getCellEditorValue): Removed.
10876         * javax/swing/Box.java: Reformated.
10877         (serialVersionUID): New field.
10878         * javax/swing/ButtonGroup.java:
10879         Removed some weird whitespace.
10880         * javax/swing/CellEditor.java: Reformated.
10881         * javax/swing/CellRendererPane.java
10882         (serialVersionUID): New field.
10883         (AccessibleCellRendererPaneserialVersionUID): New field.
10884         * javax/swing/DefaultListModel.java
10885         (serialVersionUID): New field.
10886         * javax/swing/JEditorPane.java
10887         (serialVersionUID): New field.
10888         (setPage): Throws IOException.
10889         (addHyperlinkListener): Implemented.
10890         (removeHyperlinkListener): Implemented.
10891         (getHyperlinkListener): New method.
10892         * javax/swing/JFileChooser.java
10893         (serialVersionUID): New field.
10894         (AccessibleJFileChooser.serialVersionUID): New field.
10895         (addActionListener): Implemented.
10896         (removeActionListener): Implemented.
10897         (getActionListeners): New method.
10898         * javax/swing/JFormattedTextField.java
10899         (serialVersionUID): New field.
10900         (AbstractFormatter.serialVersionUID): New field.
10901         (clone): Throws CloneNotSupportedException
10902         (setEditValid): Add missing argument.
10903         (stringToValue): Throws ParseExcpetion.
10904         (valueToString): Throws ParseException.
10905         (commitEdit): Throws ParseException.
10906         * javax/swing/JLabel.java
10907         (serialVersionUID): New field.
10908         * javax/swing/JList.java
10909         (serialVersionUID): New field.
10910         (addListSelectionListener): Reformated.
10911         (removeListSelectionListener): Reformated.
10912         (getListSelectionListeners): New method.
10913         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10914         Reformated.
10915         (serialVersionUID): New field.
10916         * javax/swing/table/AbstractTableModel.java
10917         (getValueAt): Removed.
10918         (getColumnCount): Removed.
10919         (getRowCount): Removed.
10920
10921 2004-02-05  Michael Koch  <konqueror@gmx.de>
10922
10923         * java/awt/datatransfer/DataFlavor.java
10924         (imageFlavor): Javadoc added.
10925         (javaJVMLocalObjectType): Fixed.
10926
10927 2004-02-05  Michael Koch  <konqueror@gmx.de>
10928
10929         * java/lang/Thread.java
10930         (Thread): Reordered.
10931         (setContextClassLoader): Fixed javadoc comment.
10932         (setPriority): Reordered.
10933         (yield): Reordered.
10934         (initialize_native): Reordered.
10935         (gen_name): Reordered.
10936
10937 2004-02-05  Michael Koch  <konqueror@gmx.de>
10938
10939         * java/lang/Thread.java: Reordered fields, reformated much code,
10940         no functional changes, some variables renamed, javadoc comments
10941         merged.
10942
10943 2004-02-05  Michael Koch  <konqueror@gmx.de>
10944
10945         * java/util/zip/Deflater.java,
10946         java/util/zip/DeflaterOutputStream.java,
10947         java/util/zip/GZIPInputStream.java:
10948         Reformated and javadoc comments merged from classpath.
10949
10950 2004-02-05  Michael Koch  <konqueror@gmx.de>
10951
10952         * gnu/java/nio/NIOServerSocket.java
10953         (impl): Unused, removed.
10954         * gnu/java/nio/SocketChannelImpl.java
10955         (finnishConnect): Don't throw NoConnectionPendingException if not
10956         connected or no connection pending.
10957
10958 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10959
10960         * javax/swing/SwingUtilities.java: Many new functions.
10961         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10962         * javax/swing/basic/BasicGraphicsUtils.java 
10963         (getPreferredButtonSize): Start layout from top-left corner.
10964
10965 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10966
10967         * java/awt/geom/AffineTransform.java: 
10968         Corrected comments on the field definitions for
10969         m11 and m10.
10970         (shear): Fixed few errors that caused shear
10971         transformation to be performed incorrectly.
10972         (createInverse): Fixed to return correct
10973         inverse of the given matrix.
10974
10975 2004-02-03  Tom Tromey  <tromey@redhat.com>
10976
10977         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10978         PATH or LD_LIBRARY_PATH is not set in parent environment.
10979
10980 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10981
10982         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10983         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10984         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10985         java/awt/Component.java, java/awt/Container.java,
10986         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10987         java/awt/LayoutManager2.java, java/awt/List.java,
10988         java/awt/Menu.java, java/awt/MenuBar.java,
10989         java/awt/MenuItem.java, java/awt/Polygon.java,
10990         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10991         java/awt/Scrollbar.java, java/awt/TextArea.java,
10992         java/awt/TextField.java,
10993         java/awt/image/renderable/RenderContext.java,
10994         javax/swing/JApplet.java: Fix handling of alias methods, where a
10995         method has been deprecated in favour of a new one with the same
10996         funtion but a different name.  Put the method implementation in
10997         the deprecated method and have the new method call the
10998         deprecated one.  Make all other code call the new method.
10999
11000 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
11001
11002         * gnu/java/nio/DatagramChannelImpl.java
11003         (inChannelOperation): New field.
11004         (isInChannelOperation): New accessor.
11005         (setInChannelOperation): New modifier.
11006         (receive): Use capacity() - position() of destination
11007         buffer instead of remaining(). Set and reset our "in
11008         channel operation indicator" before and after delegating
11009         the receive to our datagram socket. Removed testing code.
11010         Update destination buffer's current position if it is
11011         backed by a byte array (hasArray() is true).
11012         (send): Set and reset our "in channel operation indicator"
11013         before and after delegating the send to our datagram socket.
11014         Removed testing code. Update source buffer's current position
11015         if it is backed by a byte array (hasArray() is true).
11016         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11017         Use capacity() - position() of destination buffer instead
11018         of remaining().
11019         * java/net/DatagramSocket.java (receive): Don't throw an
11020         IllegalBlockingModeException if we have a non-blocking
11021         channel which initiated this operation.
11022         (send): Likewise.
11023
11024 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
11025
11026         * configure.in: Add pkgconfig check for glib and gthread.
11027         * configure: Regenerate.
11028
11029 2004-02-01  Michael Koch  <konqueror@gmx.de>
11030
11031         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11032         arguments.
11033         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11034         * verify.cc (debug_print): Mark 'fmt' unused.
11035
11036 2004-01-30  Michael Koch  <konqueror@gmx.de>
11037
11038         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11039         * configure: Regenerated.
11040         * glib-2.0.m4: Removed.
11041         * gtk-2.0.m4: Removed.
11042         * libart.m4: Removed.
11043         * pkg.m4: New file.
11044
11045 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
11046
11047         * gnu/java/net/PlainSocketImpl.java 
11048         (inChannelOperation): New field.
11049         (isInChannelOperation): New accessor.
11050         (setInChannelOperation): New modifier.
11051         * gnu/java/nio/ServerSocketChannelImpl.java
11052         (accept): Set and reset our server socket's PlainSocketImpl's
11053         "in channel operation" indicator before and after delegating
11054         the accept to our server socket.
11055         * gnu/java/nio/SocketChannelImpl.java
11056         (connect): Set and reset our socket's PlainSocketImpl's "in channel
11057         operation" indicator before and after delegating the operation to
11058         our socket.
11059         (read): Likewise.
11060         (write): Likewise.
11061         * java/net/ServerSocket.java (implAccept): Don't throw an
11062         IllegalBlockingModeException if we have a non-blocking
11063         channel which initiated this accept operation.
11064         * java/net/Socket.java (connect): Don't throw an
11065         IllegalBlockingModeException if we have a non-blocking
11066         channel which initiated this connect operation.
11067         * java/nio/channels/spi/AbstractSelectableChannel.java
11068         (configureBlocking): Only call implConfigureBlocking() if
11069         the desired blocking mode is different from our current one.
11070
11071 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
11072
11073         * java/io/BufferedReader.java (sbuf): New field.
11074         (readLine): Use String.valueOf instead of new String() as per
11075         Per Bothner's suggestion. Use instance sbuf field instead of a
11076         local StringBuffer instance.
11077         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
11078         caller's buffer to refill().
11079         (read(void)): Pass our internal work buffer to refill if our
11080         input queue is empty.
11081         (refill): Changed return type to int. Use the specified buffer
11082         instead of our work buffer as per Bryce McKinlay's suggestion.
11083         Return the number of characters read or -1 for EOF.
11084
11085 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11086
11087         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11088
11089 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11090
11091         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11092         * Makefile.in: Re-generated.
11093         * gnu/awt/xlib/XFontPeer.java: New file.
11094         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11095         (setClip): Commented out debug printout.
11096         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11097         (getFontPeer): Return XFontPeer.
11098         (getLocalGraphicsEnvironment): New method.
11099         (getClasspathFontPeer): New method.
11100         (createFont): New method.
11101
11102 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11103
11104         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11105         return null. 
11106
11107 2004-01-29  Kim Ho  <kho@redhat.com>
11108
11109         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11110         (gtkLayoutSetVisible): New method
11111         (setMenuBar): Hide layout before setting MenuBar
11112         and reshow it after.
11113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11114         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11115
11116 2004-01-28  Michael Koch  <konqueror@gmx.de>
11117
11118         * gnu/java/lang/ClassHelper.java
11119         (getPackagePortion): Removed.
11120
11121 2004-01-28  Michael Koch  <konqueror@gmx.de>
11122
11123         * javax/swing/JComponent.java
11124         (listenerList): Initalize globally.
11125         (ancestor_list): Removed.
11126         (veto_list): Removed.
11127         (change_list): Removed.
11128         (get_veto_list): Removed.
11129         (get_change_list): Removed.
11130         (get_ancestor_list): Removed.
11131         (removeAncestorListener): Reimplemented.
11132         (removePropertyChangeListener): Likewise.
11133         (removeVetoableChangeListener): Likewise.
11134         (addAncestorListener): Likewise.
11135         (addPropertyChangeListener): Likewise.
11136         (addVetoableChangeListener): Likewise.
11137         (getListeners): New method.
11138         (getAncestorListeners): Likewise.
11139         (getVetoableChangeListeners): Likewise.
11140         (fireVetoableChange): Throws PropertyVetoException.
11141         * javax/swing/JEditorPane.java
11142         (JEditorPane): Throws IOException.
11143
11144 2004-01-28  David Jee  <djee@redhat.com>
11145
11146         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11147         (create): Set the default foreground color to
11148         java.awt.SystemColor.windowText.
11149
11150 2004-01-27  Michael Koch  <konqueror@gmx.de>
11151
11152         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11153         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11154         Reindented to merge with classpath.
11155
11156 2004-01-27  David Jee  <djee@redhat.com>
11157
11158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11159         (addExposeFilter): Handle GtkFramePeer separately.
11160         (removeExposeFilter): Likewise.
11161
11162 2004-01-27  Michael Koch  <konqueror@gmx.de>
11163
11164         * gnu/java/net/protocol/http/Connection.java
11165         (getOutputStream): Fixed typo.
11166
11167 2004-01-27  Michael Koch  <konqueror@gmx.de>
11168
11169         * java/lang/Class.java
11170         (getConstructor): Removed SecurityException from throws clause.
11171         (_getConstructors): Likewise.
11172         (getConstructors): Likewise.
11173         (getDeclaredConstructor): Likewise.
11174         (getDeclaredClasses): Likewise.
11175         (getDeclaredConstructors): Likewise.
11176         (getDeclaredField): Likewise.
11177         (getDeclaredMethod): Likewise.
11178         (getDeclaredMethods): Likewise.
11179         (getField): Likewise.
11180         (getMethod): Likewise.
11181         (getMethods): Likewise.
11182
11183 2004-01-27  Kim Ho  <kho@redhat.com>
11184
11185         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11186         (removeMenuBarPeer): Remove MenuBarPeer argument.
11187         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11188         (dispose): Call native method.
11189         * java/awt/Frame.java (setMenuBar): Create and remove
11190         MenuBar peers only if the Frame has a peer.
11191         (addNotify): Create the MenuBar peer if one exists.
11192         (removeNotify): Remove MenuBar peer if one exists.
11193         * java/awt/Menu.java: Fix imports.
11194         (addNotify): Don't use full class name.
11195         (removeNotify): Call removeNotify on all children.
11196         * java/awt/MenuBar.java (removeNotify): Call
11197         removeNotify on all children.
11198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11199         (removeMenuBarPeer): Remove MenuBarPeer argument.
11200         Iterate through children to find the Frame's MenuBar.
11201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11202         New file.
11203         (dispose): Remove references to the MenuComponent.
11204
11205 2004-01-27  Michael Koch  <konqueror@gmx.de>
11206
11207         * javax/swing/AbstractCellEditor.java: Reformated.
11208         * javax/swing/DefaultListSelectionModel.java
11209         (listenerList): Made protected.
11210         (addListSelectionListener): Javadoc added.
11211         (removeListSelectionListener): Likewise.
11212         (getListeners): Likewise.
11213         (getListSelectionListeners): Likewise.
11214         * javax/swing/JComboBox.java: Merged copyright year.
11215         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11216
11217 2004-01-26  Andrew Haley  <aph@redhat.com>
11218
11219         * javax/swing/table/JTableHeader.java: Extend JComponent
11220
11221 2004-01-26  Kim Ho  <kho@redhat.com>
11222
11223         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11224         Fix spacing.
11225
11226 2004-01-26  Kim Ho  <kho@redhat.com>
11227
11228         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11229         method.
11230         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11231         height and let the Layout Managers readjust anything that
11232         needs to move.
11233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11234         (moveLayout): New method. Shift everything in the Gtk
11235         layout in the Y direction by an offset.
11236
11237 2004-01-26  David Jee  <djee@redhat.com>
11238
11239         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11240         (handleEvent): Implemented. Handles PaintEvents.
11241         (paint): Implemented. Use GTK native methods to queue updates
11242         for this heavyweight peer.
11243         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11244         (handleEvent): Removed.
11245         * java/awt/Component.java
11246         (paint): Implemented. Explictly paint the heavyweight peer.
11247         (update): Clear the background for heavyweight components.
11248         (paintAll): No need to call peer.paint() anymore.
11249         (processEvent): Don't process PaintEvents here. It's now done in
11250         the peer's handleEvent().
11251         (processPaintEvent): Removed.
11252         * java/awt/Container.java
11253         (paint): No need to call super.paint(). Visit heavyweight
11254         children as well.
11255         (update): Don't clear the background here.  It's done in
11256         Component.update().
11257         (visitChildren): Added check to not recurse into Containers.
11258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11259         (filter_expose_event_handler): New method.  Filter unwanted
11260         expose events while painting heavyweight peers.
11261         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11262         New method. Connect filter and block pre_event_handler.
11263         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11264         New method. Disconnect filter and unblock pre_event_handler.
11265         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11266         New method. Invalidate and update given area.
11267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11268         (pre_event_handler): Add checks for unwanted expose events.
11269
11270 2004-01-26  David Jee  <djee@redhat.com>
11271
11272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11273         (find_bg_color_widget): For GtkButton, return its child.
11274
11275 2004-01-26  Kim Ho  <kho@redhat.com>
11276
11277         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11278         private.
11279         (setMenuBar): Grab MenuBar height and change insets.
11280         (setBounds): Account for MenuBar height.
11281         (postInsetsChangedEvent): Ditto.
11282         (postSizeAllocateEvent): Remove.
11283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11284         (menubar_resize_cb): Remove
11285         (setMenuBarPeer): Remove callback.
11286         (getMenuBarHeight): Use size requisition instead of
11287         allocation.
11288
11289 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11290
11291         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11292         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11293         when peer is null.
11294         (setColumns): Remove FIXME -- peer will retrieve number of
11295         columns by calling getColumns.
11296         (setRows): Likewise for number of rows.
11297         (next_text_number): New field.
11298         (paramString): Fix param string.
11299         (generateName): New method.
11300         (getUniqueLong): New method.
11301
11302 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11303
11304         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11305         image observer of image loading status.
11306         (getImage (String)): Start image production.
11307         (getImage (URL)): Likewise.
11308
11309 2004-01-25  Michael Koch  <konqueror@gmx.de>
11310
11311         * java/lang/Class.java: Imports reworked, reformated.
11312         (Class): Javadoc added.
11313         (forName): Likewise.
11314         (getClasses): Likewise.
11315         (getClassLoader): Likewise.
11316         (getComponentType): Likewise.
11317         (getConstructor): Likewise.
11318         (getConstructors): Likewise.
11319         (getDeclaredConstructor): Likewise.
11320         (getDeclaredClasses): Likewise.
11321         (getDeclaredConstructors): Likewise.
11322         (getDeclaredField): Likewise.
11323         (getDeclaredMethod): Likewise.
11324         (getDeclaredMethods): Likewise.
11325         (getDeclaringClass): Likewise.
11326         (getField): Likewise.
11327         (getInterfaces): Likewise.
11328         (getMethod): Likewise.
11329         (getMethods): Likewise.
11330         (getModifiers): Likewise.
11331         (getName): Likewise.
11332         (getResource): Likewise.
11333         (getResourceAsStream): Likewise.
11334         (getSigners): Likewise.
11335         (setSigners): Likewise.
11336         (getSuperclass): Likewise.
11337         (isArray): Likewise.
11338         (isAssignableFrom): Likewise.
11339         (isInstance): Likewise.
11340         (isInterface): Likewise.
11341         (isPrimitive): Likewise.
11342         (newInstance): Likewise.
11343         (getProtectionDomain): Likewise.
11344         (toString): Likewise.
11345         (Class): Moved.
11346         (initializeClass): Likewise.
11347         (finalize): Likewise.
11348
11349 2004-01-24  Michael Koch  <konqueror@gmx.de>
11350
11351         * gnu/java/net/protocol/jar/Connection.java
11352         (hdrHash): Removed.
11353         (hdrVec): Removed.
11354         (gotHeaders): Removed.
11355         (getHeaderField): Removed.
11356         (getHeaderFields): Removed.
11357         (getHeaderFieldKey): Removed.
11358         (getKey): Removed.
11359         (getField): Removed.
11360         (getHeaders): Removed.
11361
11362 2004-01-24  Michael Koch  <konqueror@gmx.de>
11363
11364         * Makefile.am: Added library version to gtk peer lib.
11365         * Makefile.in: Regenerated.
11366
11367 2004-01-24  Michael Koch  <konqueror@gmx.de>
11368
11369         * java/util/zip/InflaterInputStream.java: Merged class documentation
11370         with classpath.
11371
11372 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11373
11374         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11375         header.  For __powerpc64__ provide the default-signal.h definitions
11376         for now.
11377         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11378         instead of the dummy definitions.
11379         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11380         (powerpc64*-*): Remove with_libffi_default.
11381         Only add -mminimal-toc for 64-bit compilations.
11382         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11383         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11384         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11385         * configure: Rebuilt.
11386
11387 2004-01-23  Michael Koch  <konqueror@gmx.de>
11388
11389         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11390
11391 2004-01-23  Michael Koch  <konqueror@gmx.de>
11392
11393         * java/lang/VMClassLoader.java: Reworked imports.
11394         
11395 2004-01-23  Michael Koch  <konqueror@gmx.de>
11396
11397         * javax/swing/AbstractAction.java: Reformated.
11398
11399 2004-01-23  Michael Koch  <konqueror@gmx.de>
11400
11401         * java/text/CollationElementIterator.java:
11402         (setText): New method.
11403
11404 2004-01-23  Michael Koch  <konqueror@gmx.de>
11405
11406         * gnu/java/nio/FileLockImpl.java:
11407         Fixed filename in copyright.
11408         (released): Removed.
11409         (finalize): New method.
11410         * gnu/java/nio/natFileLockImpl.cc
11411         (releaseImpl): Implemented.
11412         * java/nio/channels/FileChannelImpl.java:
11413         Reworked imports.
11414         (lock): Implemented.
11415         (lockImpl): New method.
11416         (tryLock): Implemented.
11417         (tryLockImpl): New method.
11418         * java/nio/channels/natFileChannelImpl.cc
11419         (lockImpl): New method.
11420         (tryLockImpl): New method.
11421
11422 2004-01-23  Michael Koch  <konqueror@gmx.de>
11423
11424         * java/io/FileDescriptor.java
11425         (lock): New method.
11426         (tryLock): New method.
11427         (unlock): New method.
11428         * java/io/natFileDescriptorEcos.cc
11429         (lock): New method.
11430         (tryLock): New method.
11431         (unlock): New method.
11432         * java/io/natFileDescriptorPosix.cc
11433         (lock): New method.
11434         (tryLock): New method.
11435         (unlock): New method.
11436         * java/io/natFileDescriptorWin32.cc
11437         (lock): New method.
11438         (tryLock): New method.
11439         (unlock): New method.
11440
11441 2004-01-23  Michael Koch  <konqueror@gmx.de>
11442
11443         * java/io/FileDescriptor.java
11444         (sync): Moved around, added javadoc.
11445         (valid): Likewise.
11446         (open): Likewise.
11447         (write): Likewise.
11448         (close): Likewise.
11449         (setLength): Likewise.
11450         (seek): Likewise.
11451         (getLength): Likewise.
11452         (getFilePointer): Likewise.
11453         (read): Likewise.
11454         (available): Likewise.
11455         (finalize): Likewise.
11456
11457 2004-01-23  Michael Koch  <konqueror@gmx.de>
11458
11459         * javax/swing/AbstractAction.java: Reformated.
11460         (getPropertyChangeListeners): New method.
11461         * javax/swing/AbstractCellEditor.java: Reformated.
11462         (getCellEditorListeners): New method.
11463         * javax/swing/DefaultListSelectionModel.java
11464         (listenerList): New field.
11465         (listeners): Removed.
11466         (get_listeners): Removed.
11467         (addListSelectionListener): Rewritten.
11468         (removeListSelectionListener): Rewritten.
11469         (getListSelectionListeners): New method.
11470         (getListeners): New method.
11471         * javax/swing/JComboBox.java: Imports reworked.
11472         (addActionListener): Implemented.
11473         (removeActionListener): Implemented.
11474         (addItemListener): Implemented.
11475         (removeItemListener): Implemented.
11476         (addPopupMenuListener): Implemented.
11477         (removePopupMenuListener): Implemented.
11478         (getActionListeners): New method.
11479         (getItemListeners): New method.
11480         (getPopupMenuListeners): New method.
11481
11482 2004-01-23  Michael Koch  <konqueror@gmx.de>
11483
11484         * gnu/java/net/protocol/http/Connection.java
11485         (connect): Don't initialize bufferedOutputStream if not needed.
11486         (sendRequest): Set property for content length if content is present.
11487         Write content only if present.
11488         (getOutputStream): Check if already connected, dont connect,
11489         initalize bufferedOutputStream if needed.
11490
11491 2004-01-23  Michael Koch  <konqueror@gmx.de>
11492
11493         * java/io/FileDescriptor.java
11494         (in, out, err): Added javadoc.
11495         (static): Merged loading code.
11496         (fd, position): Moved around.
11497
11498 2004-01-23  Michael Koch  <konqueror@gmx.de>
11499
11500         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11501         New file.
11502
11503 2004-01-23  Michael Koch  <konqueror@gmx.de>
11504
11505         * java/lang/Class.java,
11506         java/lang/Object.java,
11507         java/lang/Thread.java: Merged copyright with classpath.
11508
11509 2004-01-23  Michael Koch  <konqueror@gmx.de>
11510
11511         * java/io/FileDescriptor.java: Merged copyright with classpath to
11512         start merging this class.
11513
11514 2004-01-22  Tom Tromey  <tromey@redhat.com>
11515
11516         PR libgcj/13107:
11517         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11518         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11519         * testsuite/libjava.lang/pr13107_3.java: New file.
11520         * testsuite/libjava.lang/pr13107_3.out: New file.
11521         * testsuite/libjava.lang/pr13107_2.java: New file.
11522         * testsuite/libjava.lang/pr13107_2.out: New file.
11523         * testsuite/libjava.lang/pr13107.java: New file.
11524         * testsuite/libjava.lang/pr13107.out: New file.
11525         * verify.cc (jsr_ptrs): Removed.
11526         (entry_points): Likewise.
11527         (struct subr_info): Likewise.
11528         (struct subr_entry_info): Likewise.
11529         (type_val::unused_by_subroutine_type): Likewise.
11530         (type::merge): Don't handle unused_by_subroutine_type.
11531         (type::print): Likewise.
11532         (state::flags): Removed.
11533         (state::subroutine): Likewise.
11534         (state::seen_subrs): Likewise.
11535         (state::NO_STACK): Likewise.
11536         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11537         (state): Updated all methods.
11538         (state::clean_subrs): Removed.
11539         (state::state): Removed `ret_semantics' flag.
11540         (state::copy): Likewise.
11541         (state::add_subr): Removed.
11542         (state::enter_subroutine): Likewise.
11543         (type::set_return_address): New method.
11544         (handle_jsr_insn): Set return address on the type.  Always
11545         invalidate PC after call.
11546         (check_nonrecursive_call): Removed.
11547         (~_Jv_BytecodeVerifier): Updated.
11548         (branch_prepass): Removed special handling of jsr.
11549         (note_branch_target): Likewise.
11550         (get_subroutine): Removed.
11551         (state::merge): Don't merge subroutines and don't handle
11552         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11553         (state::note_variable): Removed.
11554         (state::is_unmerged_ret_state): Likewise.
11555         (state::print): Updated.
11556         (set_variable): Likewise.
11557         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11558         and jsr_semantics arguments.  Updated for new reverification
11559         list.
11560         (pop_jump): Rewrote.
11561         (construct_primitive_array_type): Updated.
11562         (state::next): Removed.
11563         (INVALID_STATE): New define.
11564         (state::INVALID): Removed.
11565         (state::NO_NEXT): New value.
11566         (state::pc, state::next): New fields.
11567         (state::get_pc): New method.
11568         (next_verify_pc): Removed.
11569         (next_verify_state): New field.
11570         (verify_instructions_0): Always check for falling off end.
11571         (linked): New type.
11572         (linked_utf8): Removed.
11573         (states): Changed type.
11574         (type::state_mergeable_p): New method.
11575         (state::state_mergeable_p): Likewise.
11576         (handle_ret_insn): Removed most code.
11577         (state::reverify): New method.
11578         (add_new_state): Likewise.
11579         (state::set_pc): Likewise.
11580
11581 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11582
11583         PR java/13733
11584         * testsuite/libjava.compile/PR13733.java: New file.
11585         * testsuite/libjava.compile/PR13733.xfail: New file.
11586
11587 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11588             Michael Koch  <konqueror@gmx.de>
11589
11590         * javax/swing/table/DefaultTableCellRenderer.java
11591         (DefaultTableCellRenderer): Added javadoc for the class and for
11592         the constructor, Border instance, create an EmptyBorder.
11593         (UIResource): Removed the comment at the end of the class
11594         (setForeground): New method.
11595         (setBackground): New method.
11596         (updateUI): New method.
11597         (getTableCellRendererComponent): Rewritten with the help of
11598         dvholten and Stephane Meslin-Weber.
11599         (validate): New method.
11600         (repaint): New method.
11601         (firePropertyChange): New method.
11602         (setValue): New method.
11603
11604 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11605
11606         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11607         (connectJObject): Replace printf calls with g_assert statements.
11608         Move property-notify-event signal connection to ...
11609         (connectSignals): Connect property-notify-event signal.  Iterate
11610         through the vbox's children to find layout.
11611
11612 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11613         
11614         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11615         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11616         Predicate static initialization on GtkToolkit.useGraphics2D().
11617         * java/awt/Component.java (processPaintEvent): Consume event.
11618         * javax/swing/AbstractButton.java: Reimplement, document.
11619         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11620         * javax/swing/JComponent.java (paint): Use double buffer.
11621         (listenerList): Enable member.
11622         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11623         * javax/swing/JToggleButton.java 
11624         (JToggleButton): Modify model constructor.
11625         * javax/swing/SwingUtilities.java 
11626         (layoutCompoundLabel): Adjust arithmetic.
11627         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11628         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11629         (getPreferredButtonSize): Include margins in calculation.
11630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11631         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11632         Receive up events from subordinate layout component.
11633
11634 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11635
11636         * java/awt/Component.java (show): Set visible to true before
11637         showing the peer.
11638
11639 2004-01-21  Kim Ho  <kho@redhat.com>
11640
11641         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11642         Fix comments.
11643         (removeMenuBarPeer): Make package private.
11644         (setMenuBarPeer): Make package private.
11645         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11646         (menubar_resize_cb): Mark attributes unused.
11647         (getMenuBarHeight): ditto.
11648
11649 2004-01-21  David Jee  <djee@redhat.com>
11650
11651         * java/awt/Container.java
11652         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11653         dispatching MOUSE_ENTERED event twice. Translate the point for
11654         the mouse event target before dispatching the event.
11655
11656 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11657
11658         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11659         lib_org_w3c_dom_la_LDFLAGS): New.
11660         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11661         * Makefile.in: Rebuilt.
11662
11663 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11664
11665         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11666         Calculate proper offsets for heavyweight components packed in
11667         lightweight containers.
11668
11669         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11670         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11671         (native create): Add width parameter.
11672         (create): Calculate text entry width based on current font's
11673         metrics and number of columns.  Set TextField's font if not
11674         already set.  Call native create.
11675         (gtkEntryGetBorderWidth): New native method.
11676         (gtkEntryGetSize): Remove method.
11677         (getMinimumSize): Call minimumSize.
11678         (getPreferredSize): Call preferredSize.
11679         (minimumSize): Calculate minimum size based on backing
11680         GtkEntry's borders, font metrics and number of columns.
11681         (preferredSize): Likewise for preferred size.
11682         (get_border_width): New static function.
11683
11684         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11685         Override GtkWindowPeer's setResizable method to account for menu
11686         bar height when setting the frame's size.
11687
11688 2004-01-19  Matthias Klose  <doko@debian.org>
11689
11690         * libtool-version: Increased `current' to 6.
11691
11692 2004-01-19  Kim Ho  <kho@redhat.com>
11693
11694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11695         (connectJObject): Iterate through the vbox's children to find layout.
11696
11697 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11698
11699         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11700         isDispatchThread method to replace wrong test condition.
11701
11702 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11703
11704         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11705         events to the queue out of order by acquiring locks in the proper
11706         order and not by releasing one before acquiring the other.
11707
11708 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11709
11710         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11711         visible so that dialog can be reused.
11712
11713 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11714
11715         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11716         events may be handled by any queue in the stack.
11717
11718 2004-01-19  Kim Ho  <kho@redhat.com>
11719
11720         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11721         MenuBarPeer parameter.
11722         (removeMenuBarPeer): New native method.
11723         (setMenuBar): Call remove if menu bar is null. Adjust insets
11724         appropriately.
11725         (postSizeAllocateEvent): New method. Called when menu bar size is
11726         allocated. Adjust insets and redo layout.
11727         (GtkFramePeer): Set menu bar during frame creation.
11728         (postConfigureEvent): Adjust position and size to accomodate
11729         menu bar.
11730         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11731         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11732         (addNotify): Create the peer if it doesn't exist and call addNotify
11733         for the menu's items.
11734         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11735         * java/awt/MenuItem.java (addNotify): Create the peer if it
11736         doesn't exist.
11737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11738         (removeMenuBarPeer): New method. Remove menu bar on the current
11739         frame.
11740         (setMenuBarPeer): Add the menu bar to the current frame and the
11741         callback for size-allocate events on the menu bar.
11742         (getMenuBarHeight): Add menu bar parameter.
11743         (menubar_resize_cb): New callback method for postSizeAllocate events.
11744
11745         Also: Fix indentation on last ChangeLog entry.
11746
11747 2004-01-16  Kim Ho  <kho@redhat.com>
11748
11749         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11750         (gtkWidgetGetDimensions): Remove.
11751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11752         (gtkWidgetGetDimensions): Remove.
11753
11754 2004-01-16  Tom Tromey  <tromey@redhat.com>
11755
11756         * java/awt/Container.java: Typo and indentation fixes.
11757
11758         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11759         * java/lang/natVMClassLoader.cc: ...here.  New file.
11760         * Makefile.in: Rebuilt.
11761         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11762
11763 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11764
11765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11766         Discard GDK_ENTER_NOTIFY related to ungrabs.
11767
11768 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11769
11770         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11771         is called for an intermediate queue.
11772
11773 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11774
11775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11776         (window_property_changed_cb): Set id_set.
11777
11778 2004-01-16  Kim Ho  <kho@redhat.com>
11779
11780         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11781         it is a FileDialog and has dimensions of 0 by 0, then the initial
11782         size is set to size request plus insets.
11783         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11784         (gtkWidgetGetDimensions): Override method.
11785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11786         (gtkWidgetGetDimensions): Override method. Returns size request plus
11787         insets.
11788
11789 2004-01-16  Andrew Haley  <aph@redhat.com>
11790
11791         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11792         * sysdep/i386/locks.h: Likewise.
11793
11794 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11795
11796         * java/awt/EventDispatchThread.java (run): Stop running when
11797         interrupted.
11798         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11799         Reset the queue after transferring its contents.
11800         (push): Start a new dispatch thread if none is running.
11801
11802 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11803
11804         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11805         (doPolygon): set fill rule of polygon to 
11806         WIND_EVEN_ODD by default.
11807
11808 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11809
11810         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11811         Implemented rendering hints related methods.
11812         (getDefaultHints): New helper method. Returns
11813         default rendering hints.
11814         (walkPath): changed to normalize path if
11815         the KEY_STROKE_CONTROL key is in "normalize" mode.
11816         (draw3DRect): changed coordinates of rectangle by +0.5
11817         if in "normalize" mode.
11818
11819 2004-01-15  Tom Tromey  <tromey@redhat.com>
11820
11821         * Makefile.in: Rebuilt.
11822         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11823         (%.lo: %.java) Filter out StackTrace.lo.
11824
11825 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11826
11827         * configure.in: Add in AC_PREREQ(2.13)
11828         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11829         FIXME comment.
11830
11831 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11832             Tom Tromey  <tromey@redhat.com>
11833
11834         PR libgcj/12001:
11835         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11836         array to superclass.
11837         (init): Changed interface; add URLs here.
11838         (initialize): New static method.
11839         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11840         (_Jv_RunMain): ... not here.
11841
11842 2004-01-14  Michael Koch  <konqueror@gmx.de>
11843
11844         * java/text/MessageFormat.java:
11845         Added descriptions to exceptions.
11846         This fixes PR libgcj/2429.
11847
11848 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11849
11850         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11851         (push): Make sure push is performed at the top of the thread stack.
11852
11853 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11854
11855         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11856         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11857         (native create): Add width and height parameters.  Set text
11858         view's size request according to new parameters.
11859         (create): Calculate text view size based on current font's
11860         metrics and number of rows and columns.  Set TextArea's font if
11861         not already set.  Call native create.
11862         (getMinimumSize): Call minimumSize.
11863         (getPreferredSize): Call preferredSize.
11864         (getHScrollbarHeight): New method.
11865         (getVScrollbarWidth): New method.
11866         (minimumSize): Calculate minimum size based on scrollbar
11867         visibility, scrollbar sizes, font metrics and number of rows and
11868         columns.
11869         (preferredSize): Likewise for preferred size.
11870         (gtkTextGetSize): Remove method.
11871
11872 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11873
11874         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11875         (initializeInsets): Remove method.
11876         (GtkComponentPeer): Initialize insets field.  Remove call to
11877         initializeInsets.
11878         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11879         Remove method.
11880         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11881         Remove method.
11882         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11884         (latestInsets): Remove field.
11885         (native create): Add insets parameter.  Call
11886         window_get_frame_extents.  Set the window's default size and
11887         size request based on its frame extents.
11888         (create): Initialize insets.
11889         (postInsetsChangedEvent): New method.
11890         (postConfigureEvent): Remove parameters top, left, bottom,
11891         right.  Remove insets-related logic.
11892         (connectJObject): Handle property-notify-event.
11893         (window_get_frame_extents, request_frame_extents,
11894         property_notify_predicate, window_property_changed_cb): New
11895         static functions.
11896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11897         (pre_event_handler): Remove insets-related logic for configure
11898         events.
11899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11900         Update postConfigureEvent signature.
11901
11902 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11903  
11904         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11905         to handle Window "Closing" events.
11906  
11907 2004-01-13  David Jee  <djee@redhat.com>
11908
11909         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11910         (setBackground): New method. Children with no explicitly-set
11911         background will be repainted with the parent container's new
11912         background color.
11913
11914 2004-01-13  David Jee  <djee@redhat.com>
11915
11916         * Makefile.am: Add BitwiseXORComposite.java.
11917         * Makefile.in: Regenerated.
11918         * gcj/Makefile.in: Regenerated.
11919         * include/Makefile.in: Regenerated.
11920         * testsuite/Makefile.in: Regenerated.
11921
11922 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11923
11924         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11925         not show modal dialogs twice and so that it allows showing a modal
11926         dialog from another modal dialog.
11927
11928 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11929
11930         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11931         and run secondary dispatch thread to process event queue while this
11932         thread is blocked.
11933
11934 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11935
11936         * gnu/java/awt/gtk/GdkGraphics2D.java
11937         (static): Check GtkToolkit before initializing static state.
11938         (Graphics2D): Don't construct transform with 0.5 unit offset.
11939
11940 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11941
11942         * gnu/java/awt/BitwiseXORComposite.java: Add.
11943         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11944         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11945         (BitwiseXORComposite): Remove inner class.
11946
11947 2004-01-11  Michael Koch  <konqueror@gmx.de>
11948
11949         * gnu/java/lang/reflect/TypeSignature.java
11950         (getEncodingOfClass): Documentation fixed.
11951         (getClassForEncoding): Give class loader to Class.forName().
11952         Documentation fixed.
11953
11954 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11955
11956         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11957
11958 2004-01-11  Michael Koch  <konqueror@gmx.de>
11959
11960         * javax/swing/undo/StateEditable.java
11961         (RCSID): Removed redundant modifiers.
11962
11963 2004-01-10  Michael Koch  <konqueror@gmx.de>
11964
11965         * javax/print/attribute/EnumSyntax.java
11966         (getStringTable): Made protected.
11967         (getEnumValueTable): Likewise.
11968         * javax/print/attribute/standard/JobKOctetsProcessed.java
11969         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11970         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11971         (JobMediaSheetsCompleted): Made class final.
11972         * javax/print/attribute/standard/OutputDeviceAssigned.java
11973         (getName): Fixed typo.
11974         * javax/print/attribute/standard/RequestingUserName.java
11975         (serialVersionUID): Fixed value.
11976
11977 2004-01-10  Michael Koch  <konqueror@gmx.de>
11978
11979         * javax/swing/plaf/basic/BasicButtonUI.java,
11980         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11981         javax/swing/plaf/basic/BasicListUI.java,
11982         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11983         javax/swing/plaf/basic/BasicPanelUI.java,
11984         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11985         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11986         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11987         javax/swing/plaf/basic/BasicViewportUI.java:
11988         Fixed import statements.
11989
11990 2004-01-10  Michael Koch  <konqueror@gmx.de>
11991
11992         * gnu/java/awt/image/ImageDecoder.java
11993         (produce): Made public.
11994         * gnu/java/awt/peer/GLightweightPeer.java,
11995         gnu/java/awt/peer/gtk/GtkToolkit.java:
11996         Reformated.
11997
11998 2004-01-10  Michael Koch  <konqueror@gmx.de>
11999
12000         * javax/swing/JRadioButtonMenuItem.java,
12001         javax/swing/JSeparator.java,
12002         javax/swing/JSplitPane.java,
12003         javax/swing/JTextPane.java,
12004         javax/swing/JToolBar.java,
12005         javax/swing/ListCellRenderer.java,
12006         javax/swing/ListModel.java,
12007         javax/swing/MenuElement.java,
12008         javax/swing/OverlayLayout.java,
12009         javax/swing/ProgressMonitor.java,
12010         javax/swing/ProgressMonitorInputStream.java,
12011         javax/swing/Renderer.java,
12012         javax/swing/RootPaneContainer.java,
12013         javax/swing/Scrollable.java,
12014         javax/swing/SingleSelectionModel.java,
12015         javax/swing/ToolTipManager.java,
12016         javax/swing/ViewportLayout.java,
12017         javax/swing/event/DocumentEvent.java,
12018         javax/swing/event/SwingPropertyChangeSupport.java,
12019         javax/swing/event/TreeSelectionEvent.java,
12020         javax/swing/event/UndoableEditEvent.java,
12021         javax/swing/text/AbstractDocument.java,
12022         javax/swing/text/AttributeSet.java,
12023         javax/swing/text/Caret.java,
12024         javax/swing/text/ComponentView.java,
12025         javax/swing/text/DefaultCaret.java,
12026         javax/swing/text/DefaultEditorKit.java,
12027         javax/swing/text/Document.java,
12028         javax/swing/text/EditorKit.java,
12029         javax/swing/text/GapContent.java,
12030         javax/swing/text/Keymap.java,
12031         javax/swing/text/MutableAttributeSet.java,
12032         javax/swing/text/PlainEditorKit.java,
12033         javax/swing/text/Segment.java,
12034         javax/swing/text/Style.java,
12035         javax/swing/text/StyledDocument.java,
12036         javax/swing/text/StyledEditorKit.java,
12037         javax/swing/text/TextAction.java,
12038         javax/swing/text/View.java: Fixed import statements.
12039
12040 2004-01-08  Graydon Hoare  <graydon@redhat.com>
12041
12042         * javax/swing/JLayeredPane.java: Rewrite to accomodate
12043         djee@redhat.com's recent inverse ordering of Container elements.
12044
12045 2004-01-09  Michael Koch  <konqueror@gmx.de>
12046
12047         * gnu/java/lang/ArrayHelper.java
12048         (equalsArray): Removed.
12049
12050 2004-01-09  Andrew Haley  <aph@redhat.com>
12051
12052         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12053         a Utf8Const field before looking at its class.
12054
12055 2004-01-09  Michael Koch  <konqueror@gmx.de>
12056
12057         * javax/print/attribute/standard/DocumentName.java,
12058         javax/print/attribute/standard/JobHoldUntil.java,
12059         javax/print/attribute/standard/JobMessageFromOperator.java,
12060         javax/print/attribute/standard/JobName.java,
12061         javax/print/attribute/standard/JobOriginatingUserName.java,
12062         javax/print/attribute/standard/OutputDeviceAssigned.java,
12063         javax/print/attribute/standard/PrinterInfo.java,
12064         javax/print/attribute/standard/PrinterLocation.java,
12065         javax/print/attribute/standard/PrinterMakeAndModel.java,
12066         javax/print/attribute/standard/PrinterMessageFromOperator.java,
12067         javax/print/attribute/standard/PrinterName.java,
12068         javax/print/attribute/standard/RequestingUserName.java: New files.
12069         * Makefile.am (javax_source_files): Added new files.
12070         * Makefile.in: Regenerated.
12071
12072 2004-01-09  Michael Koch  <konqueror@gmx.de>
12073
12074         * javax/swing/AbstractAction.java,
12075         javax/swing/AbstractSet.java,
12076         javax/swing/Action.java,
12077         javax/swing/ActionMap.java,
12078         javax/swing/BoundedRangeModel.java,
12079         javax/swing/ButtonModel.java,
12080         javax/swing/CellEditor.java,
12081         javax/swing/CellRendererPane.java,
12082         javax/swing/ComboBoxEditor.java,
12083         javax/swing/DebugGraphics.java,
12084         javax/swing/DefaultCellEditor.java,
12085         javax/swing/DefaultCellRenderer.java,
12086         javax/swing/DefaultComboBoxModel.java,
12087         javax/swing/DefaultDesktopManager.java,
12088         javax/swing/DefaultFocusManager.java,
12089         javax/swing/DefaultListCellRenderer.java,
12090         javax/swing/Icon.java,
12091         javax/swing/JButton.java,
12092         javax/swing/JCheckBoxMenuItem.java,
12093         javax/swing/JDesktopPane.java,
12094         javax/swing/JEditorPane.java,
12095         javax/swing/JMenu.java,
12096         javax/swing/JPanel.java,
12097         javax/swing/JPasswordField.java,
12098         javax/swing/JPopupMenu.java,
12099         javax/swing/JProgressBar.java: Reworked imports.
12100
12101 2004-01-09  Michael Koch  <konqueror@gmx.de>
12102
12103         * java/awt/geom/PathIterator.java
12104         (WIND_EVEN_ODD): Removed redundant modifiers.
12105         (WIND_NON_ZERO): Likewise.
12106         (SEG_MOVETO): Likewise.
12107         (SEG_LINETO): Likewise.
12108         (SEG_QUADTO): Likewise.
12109         (SEG_CUBICTO): Likewise.
12110         (SEG_CLOSE): Likewise.
12111         * java/awt/image/SinglePixelPackedSampleModel.java:
12112         Removed redundant semicolon.
12113         * java/io/ObjectInputStream.java
12114         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12115         * java/util/logging/Filter.java
12116         (isLoggable): Removed redundant modifier.
12117         * java/util/logging/LogManager.java:
12118         Removed redundant semicolon.
12119         * java/util/logging/XMLFormatter.java
12120         (format): Removed unused variable "key".
12121
12122 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
12123
12124         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12125         New name for the former setFile native method.
12126         (setFile): New method.
12127         (setDirectory): Implemented.
12128         (connectSignals): New native method.
12129         (setFilenameFilter): Improve comment.
12130         (getGraphics): Comment.
12131         (gtkHideFileDialog): New method.
12132         (gtkDisposeFileDialog): New method.
12133         (gtkSetFilename): New method.
12134         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12135         for FileDialog for now.
12136         (hide): New method.
12137         (dispose): New method.
12138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12139         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12140         deprecated creation functions.  Make dialog modal.  Add it to the
12141         window group.
12142         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12143         function.
12144         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12145         Rename to...
12146         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12147         name.
12148         (window_closed): New function.
12149         (ok_clicked): New function.
12150         (cancel_clicked): New function.
12151
12152 2004-01-08  Michael Koch  <konqueror@gmx.de>
12153
12154         * javax/swing/JLayeredPane.java: Revert changes to standard
12155         boilerplate, reworked imports.
12156
12157 2004-01-07  Tom Tromey  <tromey@redhat.com>
12158
12159         PR libgcj/13439:
12160         * verify.cc (state::merge): Copy changed locals out of subroutine
12161         in NO_STACK case.
12162         (state::FLAG_CHANGED): New const.
12163         (state::FLAG_UNUSED): Likewise.
12164         (state::local_changed): Removed.  Updated all users.
12165         (state::flags): New field.
12166         (state::merge): Added jsr_semantics argument, more logic.
12167         (push_jump_merge): Added jsr_semantics argument.
12168         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12169         merging through the jsr instruction.
12170
12171 2004-01-07  Tom Tromey  <tromey@redhat.com>
12172
12173         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12174         backslash-newline.
12175
12176 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12177
12178         * java/awt/Container.java (LightweightDispatcher): Implement.
12179         (visitChild): Reuse graphics object.
12180         (dispatchEventImpl): Optionally dispatch to lightweight.
12181         (addNotifyContainerChildren): Build LightweightDispatcher.
12182
12183 2004-01-07  David Jee  <djee@redhat.com>
12184
12185         * java/awt/Container.java
12186         (update): Clear only the clipped region, instead of clearing the
12187         entire Container.
12188         (visitChildren): Visit children in descending order.
12189
12190 2004-01-07  Michael Koch  <konqueror@gmx.de>
12191
12192         * java/lang/reflect/Array.java: Merged documentation with classpath.
12193
12194 2004-01-07  Michael Koch  <konqueror@gmx.de>
12195
12196         * java/text/CollationElementIterator.java
12197         (textIndex): Renamed from index.
12198         * java/text/CollationKey.java
12199         (collator): New member.
12200         (CollationKey): New argument for parent collator.
12201         (equals): Check for same collator, source string and key array.
12202         * java/text/RuleBasedCollator.java:
12203         Reformated.
12204         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12205         value.
12206         (getCollationElementIterator): Rewritten.
12207         (getCollationKey): Added new argument to CollationKey constructor.
12208
12209 2004-01-07  Michael Koch  <konqueror@gmx.de>
12210
12211         * gnu/java/nio/DatagramChannelImpl.java
12212         (blocking): Removed.
12213         (DatagramChannelImpl): Call configureBlocking().
12214         (implConfigureBlocking): Dont initialize blocking.
12215         * gnu/java/nio/ServerSocketChannelImpl.java
12216         (blocking): Removed.
12217         (ServerSocketChannelImpl): Call configureBlocking().
12218         (implConfigureBlocking): Dont initialize blocking.
12219         * gnu/java/nio/SocketChannelImpl.java
12220         (blocking): Removed.
12221         (SocketChannelImpl): Call configureBlocking().
12222         (implConfigureBlocking): Dont initialize blocking.
12223         (connect): Use isBlocking().
12224         * java/nio/channels/spi/AbstractSelectableChannel.java
12225         (configureBlocking): Use blockingLock() instead of LOCK.
12226         Set blocking after successfully called implConfigureBlocking().
12227         (register): Use blockingLock() instead of LOCK.
12228
12229 2004-01-07  Michael Koch  <konqueror@gmx.de>
12230
12231         * java/net/ServerSocket.java (isBound): Fixed documentation.
12232
12233 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12234
12235         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12236         (changeEvent): Create event object on demand.
12237         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12238         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12239         fireStateChanged): Re-written.
12240         * javax/swing/event/EventListenerList.java: Reformatted, document
12241         typical usage.
12242         (toString): Implemented.
12243         (getListeners): Re-written.
12244         (remove): Re-written.
12245         (add): Re-written.
12246         (NO_LISTENERS): New singleton field.
12247         (listenerList): Declare as transient; document.
12248         (serialVersionUID): Document.
12249         (getListenerCount(Class)): More efficient implementation,
12250         also accepts null argument.  Improve Javadoc.
12251         (getListenerCount()): Remove unnecessary cast; docfix.
12252         * javax/swing/undo/UndoableEditSupport.java:
12253         Re-format, document.
12254         (UndoableEditSupport): Set realSource field. Improve documentation.
12255         (_postEdit): Iterate over cloned listener vector.
12256         (toString): Don't emit realSource.
12257         (beginUpdate, endUpdate): Support nested updates.
12258         (postEdit): Use compound edit if present.
12259
12260 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12261
12262         * java/awt/Container.java (swapComponents): Add forgotten
12263         function, required for JLayeredPane change.
12264
12265 2004-01-06  Michael Koch  <konqueror@gmx.de>
12266
12267         * java/text/CollationElementIterator.java: Reformated.
12268         (CollationElementIterator): Changed order of arguments.
12269         * java/text/RuleBasedCollator.java
12270         (RuleBasedCollator): Merged class documentation.
12271         (CollationElement): Added documentation.
12272         (compare): Reformated, renamed arguments.
12273         (equals): Likewise.
12274         (getCollationElementIterator): Likewise.
12275         (getCollationKey): Likewise.
12276
12277 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12278
12279         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12280
12281 2004-01-06  Michael Koch  <konqueror@gmx.de>
12282
12283         * gnu/java/net/protocol/file/Connection.java:
12284         Reformated copyright.
12285         (hdrHash): Removed.
12286         (hdrVec): Removed.
12287         (gotHeaders): Removed.
12288         (getHeaderField): Removed.
12289         (getHeaderField): Removed.
12290         (getHeaderFieldKey): Removed.
12291         (getKey): Removed.
12292         (getField): Removed.
12293         (getHeaders): Removed.
12294
12295 2004-01-06  Michael Koch  <konqueror@gmx.de>
12296
12297         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12298         javax/print/attribute/standard/DateTimeAtCreation.java,
12299         javax/print/attribute/standard/DateTimeAtProcessing.java,
12300         javax/print/attribute/standard/JobImpressionsCompleted.java,
12301         javax/print/attribute/standard/JobKOctets.java,
12302         javax/print/attribute/standard/JobKOctetsProcessed.java,
12303         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12304         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12305         * Makefile.am (javax_source_files): Added new files.
12306         * Makefile.in: Regenerated.
12307
12308 2004-01-06  Michael Koch  <konqueror@gmx.de>
12309
12310         * java/net/URLConnection.java
12311         (contentHandler): Removed.
12312         (locale): Removed.
12313         (getHeaderFields): Return an empty map instead of null.
12314         (getContent): Connect if needed, renamed "cType" to "type" and
12315         "contentHandler" to "ch" and made it a local variable.
12316         (getPermission): Don't use package in class name.
12317         (setDefaultRequestProperty): Fixed typo in documentation.
12318         (initializeDateFormats): Made locale a local variable.
12319
12320 2004-01-06  Michael Koch  <konqueror@gmx.de>
12321
12322         * java/lang/Package.java
12323         (getPackage): Get the current class loader directly.
12324         * java/lang/SecurityManager.java
12325         (currentLoadedClass): Dont iterate over class contexts.
12326         (classLoaderDepth): Don't check class loaders if everything is allowed.
12327
12328 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12329
12330         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12331         (pre_event_handler): Set all insets to 0 when a Configure event
12332         is received for a GtkPlug.
12333         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12334         Make handle long, not int.
12335         (EmbeddedWindow()): New constructor.
12336         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12337         long, not int.
12338         (setHandle): New method.
12339         (getHandle): Return long, not int.
12340         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12341         declaration.
12342         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12343         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12344         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12345         argument to GdkNativeWindow.
12346         (construct): New method.
12347         (embed): New method.
12348
12349         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12350         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12351         (create(int, int)): New method.
12352         (create): Call new create method.
12353         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12354         methods.
12355         (childResized): Remove native implementation.  Implement in
12356         Java.
12357         (getHScrollbarHeight, getVScrollbarWidth): Call
12358         gtk_widget_size_request to get scrollbar dimensions.
12359         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12360         call getVScrollbarWidth and getHScrollbarHeight when vertical
12361         and horizontal scrollbars respectively are needed.
12362         (doLayout): Enlarge child if it is smaller than the viewport.
12363
12364 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12365
12366         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12367         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12368         argument as per spec.
12369
12370 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12371
12372         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12373         (insert): Ditto.
12374         (remove): Ditto.  Also, Check for valid argument.
12375         (removeAll): Use peer interface method.
12376         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12377         native add function.
12378         (nativeRemove): New name for native remove function.
12379         (getHistory): New native function.
12380         (constructor): Generate ItemEvent.
12381         (add): Ditto, if selection is changed.
12382         (remove): Ditto, ditto.
12383         (removeAll): Add implementation.
12384         (handleEvent): Remove.  Dead code.
12385         (choicePostItemEvent): Add comment.
12386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12387         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12388         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12389         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12390         comments and fix condition to change selection.
12391         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12392         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12393         remove all capability.
12394         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12395         (item_activate): Add cast to remove compiler warning.
12396
12397 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12398
12399         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12400         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12401         (getPreferredSize): Call preferredSize.
12402         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12403         (getMinimumSize): Call minimumSize.
12404         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12405         (gtkWidgetGetDimensions): Return the peer widget's current size
12406         request.
12407         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12408         natural size request.
12409
12410 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12411
12412         Thanks to Brian Gough <bjg@network-theory.com>
12413         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12414         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12415
12416 2004-01-04  Matthias Klose  <doko@debian.org>
12417
12418         * aclocal.m4: Rebuilt using "aclocal -I .".
12419         * configure: Rebuilt.
12420
12421 2004-01-03  Per Bothner  <per@bothner.com>
12422
12423         * java/util/Date.java (parse):  Fix a number of problems.
12424         (skipParens):  Remove no-longer-needed method.
12425